@multiversx/sdk-dapp 4.3.8 → 4.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1003) hide show
  1. package/UI/DappModal/components/DappModal.js +1 -1
  2. package/UI/DappModal/components/index.js +1 -1
  3. package/UI/DappModal/index.js +1 -1
  4. package/UI/Denominate/index.js +1 -1
  5. package/UI/ExplorerLink/ExplorerLink.js +1 -1
  6. package/UI/ExplorerLink/index.js +1 -1
  7. package/UI/FormatAmount/FormatAmount.js +1 -1
  8. package/UI/FormatAmount/index.js +1 -1
  9. package/UI/ModalContainer/ModalContainer.js +1 -1
  10. package/UI/ModalContainer/index.js +1 -1
  11. package/UI/NotificationModal/NotificationModal.js +1 -1
  12. package/UI/NotificationModal/index.js +1 -1
  13. package/UI/Pagination/Pagination.js +1 -1
  14. package/UI/Pagination/helpers/getPagination/getPagination.js +1 -1
  15. package/UI/Pagination/helpers/getPagination/getPagination.spec.js +1 -1
  16. package/UI/Pagination/helpers/getPagination/index.js +1 -1
  17. package/UI/Pagination/helpers/index.js +1 -1
  18. package/UI/Pagination/index.js +1 -1
  19. package/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/GasDetails.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/index.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/index.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  45. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  46. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  47. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  48. package/UI/SignTransactionsModals/SignWithIframeModal/SignWithIframeModal.js +1 -1
  49. package/UI/SignTransactionsModals/SignWithIframeModal/index.js +1 -1
  50. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  51. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  52. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  53. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  54. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  55. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  56. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  57. package/UI/SignTransactionsModals/SignWithPasskeyModal/SignWithPasskeyModal.js +1 -1
  58. package/UI/SignTransactionsModals/SignWithPasskeyModal/index.js +1 -1
  59. package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
  60. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  61. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  62. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  63. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  64. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  65. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  66. package/UI/SignTransactionsModals/components/index.js +1 -1
  67. package/UI/SignTransactionsModals/index.js +1 -1
  68. package/UI/TokenDetails/index.js +1 -1
  69. package/UI/TransactionData/TransactionData.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/TransactionToastGuard.js +1 -1
  198. package/UI/TransactionsToastList/components/index.js +1 -1
  199. package/UI/TransactionsToastList/index.js +1 -1
  200. package/UI/Trim/Trim.js +1 -1
  201. package/UI/Trim/index.js +1 -1
  202. package/UI/UsdValue/UsdValue.js +1 -1
  203. package/UI/UsdValue/index.js +1 -1
  204. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  205. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  206. package/UI/iframe/IframeLoginButton/IframeButton.js +1 -1
  207. package/UI/iframe/IframeLoginButton/index.js +1 -1
  208. package/UI/index.js +1 -1
  209. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  210. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  211. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  212. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  213. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  214. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  215. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  216. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
  217. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
  218. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  219. package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
  220. package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
  221. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  222. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  223. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  224. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  225. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  226. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  227. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  228. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  229. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  230. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  231. package/UI/ledger/index.js +1 -1
  232. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  233. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  234. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  235. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  236. package/UI/pages/UnlockPage/index.js +1 -1
  237. package/UI/pages/index.js +1 -1
  238. package/UI/passkey/PasskeyLoginButton/PasskeyLoginButton.js +1 -1
  239. package/UI/passkey/PasskeyLoginButton/index.js +1 -1
  240. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  241. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  242. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  243. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  244. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  245. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  246. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  247. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  248. package/UI/walletConnect/index.js +1 -1
  249. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  250. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  251. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  252. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  253. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  254. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  255. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  256. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  257. package/__chunks__/{chunk-ONPSFCTV.js → chunk-25PUNEEX.js} +2 -2
  258. package/__chunks__/{chunk-GIGCXV7J.js → chunk-27IYALAE.js} +2 -2
  259. package/__chunks__/{chunk-J3DDHC55.js → chunk-27JDCY6N.js} +2 -2
  260. package/__chunks__/chunk-2AKXNZJH.js +2 -0
  261. package/__chunks__/chunk-2ERU3TK6.js +2 -0
  262. package/__chunks__/{chunk-57NKMENC.js → chunk-2GY2SPXS.js} +2 -2
  263. package/__chunks__/{chunk-CFQX4Q47.js → chunk-2JJ2JMSK.js} +2 -2
  264. package/__chunks__/{chunk-4WQDFUQL.js → chunk-2MANWM6P.js} +2 -2
  265. package/__chunks__/{chunk-EO5I4NIQ.js → chunk-2N57GJZU.js} +2 -2
  266. package/__chunks__/{chunk-Y34LUZWU.js → chunk-2PKQYYCJ.js} +2 -2
  267. package/__chunks__/chunk-2SINVI7X.js +2 -0
  268. package/__chunks__/{chunk-L4BVTA2X.js → chunk-2UXGRWWT.js} +2 -2
  269. package/__chunks__/chunk-2VUK7Q6P.js +2 -0
  270. package/__chunks__/{chunk-IBW4M7F6.js → chunk-2WH6HSHH.js} +2 -2
  271. package/__chunks__/{chunk-KD43WGBT.js → chunk-2XVA7OUR.js} +2 -2
  272. package/__chunks__/{chunk-27SDDTEP.js → chunk-32EJDSI6.js} +2 -2
  273. package/__chunks__/{chunk-LNJ2ESD6.js → chunk-34DYHXOM.js} +2 -2
  274. package/__chunks__/{chunk-OQDSQ6KP.js → chunk-3COO3CCQ.js} +2 -2
  275. package/__chunks__/{chunk-WDCFULOA.js → chunk-3CYQBT2V.js} +2 -2
  276. package/__chunks__/{chunk-CUDRLJKU.js → chunk-3DZDWNPD.js} +2 -2
  277. package/__chunks__/{chunk-57JTBKWX.js → chunk-3GSJVOE4.js} +2 -2
  278. package/__chunks__/{chunk-UEBPEAXS.js → chunk-3JAG5ZBQ.js} +2 -2
  279. package/__chunks__/{chunk-NDGQRWGG.js → chunk-3JT52THZ.js} +2 -2
  280. package/__chunks__/{chunk-I2WSQAX7.js → chunk-3L55GLSV.js} +2 -2
  281. package/__chunks__/{chunk-KS73JB4C.js → chunk-3OFFUO4M.js} +2 -2
  282. package/__chunks__/{chunk-YL4VSTZ6.js → chunk-3U2WKWGT.js} +2 -2
  283. package/__chunks__/{chunk-F67O65RO.js → chunk-3Z6UE5WP.js} +2 -2
  284. package/__chunks__/{chunk-USZAOZKI.js → chunk-44F65KGN.js} +2 -2
  285. package/__chunks__/{chunk-UWTRKFPN.js → chunk-4BW4335R.js} +2 -2
  286. package/__chunks__/{chunk-XKHL55QA.js → chunk-4GNBROVW.js} +2 -2
  287. package/__chunks__/{chunk-X7FSKSTD.js → chunk-4HEWOOFB.js} +2 -2
  288. package/__chunks__/{chunk-QDHCBNKC.js → chunk-4KPC2NSE.js} +2 -2
  289. package/__chunks__/{chunk-RHV5V76U.js → chunk-4OYLYXBI.js} +2 -2
  290. package/__chunks__/{chunk-AOMLJRM6.js → chunk-4SDTXI7S.js} +2 -2
  291. package/__chunks__/chunk-4UU3WLNO.js +2 -0
  292. package/__chunks__/{chunk-N5C35AU6.js → chunk-4VHJDZ5N.js} +2 -2
  293. package/__chunks__/{chunk-EUPK7FG7.js → chunk-53MYHAVO.js} +2 -2
  294. package/__chunks__/chunk-5DMPA7NW.js +2 -0
  295. package/__chunks__/chunk-5FXAEUQX.js +2 -0
  296. package/__chunks__/{chunk-UAPGF6RD.js → chunk-5HRIOOJK.js} +2 -2
  297. package/__chunks__/{chunk-YTNIIUBE.js → chunk-5KGSTXWM.js} +2 -2
  298. package/__chunks__/chunk-5M6V46NZ.js +2 -0
  299. package/__chunks__/{chunk-MRZZD7DD.js → chunk-5MUIATG5.js} +2 -2
  300. package/__chunks__/chunk-5OB3KSNE.js +2 -0
  301. package/__chunks__/chunk-5OFK66QH.js +2 -0
  302. package/__chunks__/{chunk-LHUCH2PK.js → chunk-63GGSIG7.js} +2 -2
  303. package/__chunks__/{chunk-7K6UN5H7.js → chunk-6BGNIHSZ.js} +2 -2
  304. package/__chunks__/chunk-6IZMELTP.js +2 -0
  305. package/__chunks__/chunk-6LBP37IO.js +2 -0
  306. package/__chunks__/{chunk-BDO4MQGV.js → chunk-6LXBZZVS.js} +2 -2
  307. package/__chunks__/{chunk-XPWGNULK.js → chunk-6NTXE5OT.js} +2 -2
  308. package/__chunks__/{chunk-BO6QR34Y.js → chunk-6OASFGVD.js} +2 -2
  309. package/__chunks__/{chunk-72MMRQJL.js → chunk-6PFOAJEL.js} +2 -2
  310. package/__chunks__/{chunk-BKI3GTXZ.js → chunk-6RUVB3FL.js} +2 -2
  311. package/__chunks__/chunk-6SX4CF2B.js +2 -0
  312. package/__chunks__/{chunk-TJXAVYSJ.js → chunk-6U6ILNWG.js} +2 -2
  313. package/__chunks__/{chunk-AFK66SZQ.js → chunk-6VSR5UNN.js} +2 -2
  314. package/__chunks__/{chunk-TZNRDE75.js → chunk-74VYQEFV.js} +2 -2
  315. package/__chunks__/{chunk-JNYT3VYR.js → chunk-74WLYOUY.js} +2 -2
  316. package/__chunks__/{chunk-VKTWX6MQ.js → chunk-752TVK2K.js} +2 -2
  317. package/__chunks__/{chunk-F5WZMEGV.js → chunk-75AX2XNV.js} +2 -2
  318. package/__chunks__/{chunk-FUQUJC3C.js → chunk-77MQ7D24.js} +2 -2
  319. package/__chunks__/{chunk-VEW4IHK6.js → chunk-7F5NV55Y.js} +2 -2
  320. package/__chunks__/{chunk-CJNIF63S.js → chunk-7FZBZ3IJ.js} +2 -2
  321. package/__chunks__/{chunk-5QOIH4IV.js → chunk-7HZDRK3Y.js} +2 -2
  322. package/__chunks__/{chunk-QTS3WPCA.js → chunk-7M6JGWNT.js} +2 -2
  323. package/__chunks__/chunk-7MKLEAEN.js +2 -0
  324. package/__chunks__/{chunk-PP6OZ5Y7.js → chunk-7NS4U7K2.js} +2 -2
  325. package/__chunks__/{chunk-YDPJ2QTB.js → chunk-7OJRV2GG.js} +2 -2
  326. package/__chunks__/{chunk-VSSEII7E.js → chunk-7P3DGS2K.js} +2 -2
  327. package/__chunks__/chunk-7VHQGH2S.js +2 -0
  328. package/__chunks__/{chunk-2RYI33IM.js → chunk-7XQ2Y5UW.js} +2 -2
  329. package/__chunks__/{chunk-AWILSAKM.js → chunk-7Z5JUXI7.js} +2 -2
  330. package/__chunks__/chunk-7ZG324OC.js +2 -0
  331. package/__chunks__/chunk-7ZRV4VC3.js +2 -0
  332. package/__chunks__/{chunk-G2UPB5M4.js → chunk-A3T4LRCR.js} +2 -2
  333. package/__chunks__/chunk-A7O7JVDC.js +2 -0
  334. package/__chunks__/{chunk-WULSUJYN.js → chunk-AAPLYECN.js} +2 -2
  335. package/__chunks__/{chunk-GP6AMF5H.js → chunk-AARE5MCK.js} +2 -2
  336. package/__chunks__/{chunk-ZMVGXYPM.js → chunk-ACZENB3U.js} +2 -2
  337. package/__chunks__/{chunk-AVJGF54J.js → chunk-AD432JPX.js} +2 -2
  338. package/__chunks__/{chunk-QSGQR7IP.js → chunk-ALJNXAQH.js} +2 -2
  339. package/__chunks__/{chunk-JDPLO66T.js → chunk-AQX2IZBD.js} +2 -2
  340. package/__chunks__/{chunk-JNTVOVXN.js → chunk-ARNXKM4W.js} +2 -2
  341. package/__chunks__/{chunk-2BTQ3K4M.js → chunk-AYDWCLFR.js} +2 -2
  342. package/__chunks__/{chunk-GNLQBWXM.js → chunk-B6ERE4UA.js} +2 -2
  343. package/__chunks__/{chunk-GS4QDO2X.js → chunk-BAQAA5IZ.js} +2 -2
  344. package/__chunks__/{chunk-BA4R2JB5.js → chunk-BBZGKXPN.js} +2 -2
  345. package/__chunks__/{chunk-FTCXCB6J.js → chunk-BF2GYHYI.js} +2 -2
  346. package/__chunks__/{chunk-HZNHTVA4.js → chunk-BFCXCCVG.js} +2 -2
  347. package/__chunks__/{chunk-YSX5PU5Q.js → chunk-BH53HLJ5.js} +2 -2
  348. package/__chunks__/{chunk-EX33HEDG.js → chunk-BT3JFS5A.js} +2 -2
  349. package/__chunks__/{chunk-ZW6DXTV6.js → chunk-BTJFXBL2.js} +2 -2
  350. package/__chunks__/{chunk-CWKYM2OK.js → chunk-BUBBNGOU.js} +2 -2
  351. package/__chunks__/{chunk-UDA77ERR.js → chunk-BUW24JCF.js} +2 -2
  352. package/__chunks__/{chunk-UIERW7SK.js → chunk-BX7UC63H.js} +2 -2
  353. package/__chunks__/{chunk-O4EEMPMY.js → chunk-C7IQPNPU.js} +2 -2
  354. package/__chunks__/chunk-C7SSDJTY.js +2 -0
  355. package/__chunks__/{chunk-WZWNIDMC.js → chunk-CW6VR2ZU.js} +2 -2
  356. package/__chunks__/chunk-D4N5TW2V.js +2 -0
  357. package/__chunks__/{chunk-SXXAWHEJ.js → chunk-D5VZ2JQG.js} +2 -2
  358. package/__chunks__/{chunk-TA265BUT.js → chunk-D5WLUHSS.js} +2 -2
  359. package/__chunks__/chunk-D6LKRDN3.js +2 -0
  360. package/__chunks__/{chunk-AJB4WKR6.js → chunk-D72ZE4NU.js} +2 -2
  361. package/__chunks__/{chunk-DCP2MZOT.js → chunk-DAVPOMGW.js} +2 -2
  362. package/__chunks__/chunk-DEOGKEN3.js +2 -0
  363. package/__chunks__/{chunk-W4NHMRXD.js → chunk-DHBJHLBG.js} +2 -2
  364. package/__chunks__/{chunk-JA7Q5K7W.js → chunk-DMKIOL4I.js} +2 -2
  365. package/__chunks__/{chunk-WIX2FW6L.js → chunk-DOFGT5N3.js} +2 -2
  366. package/__chunks__/{chunk-557MP7HS.js → chunk-DU2XTTOT.js} +2 -2
  367. package/__chunks__/{chunk-GM63WUTV.js → chunk-DYYHJNGJ.js} +2 -2
  368. package/__chunks__/{chunk-6DBZEVIU.js → chunk-ES7INKQX.js} +2 -2
  369. package/__chunks__/chunk-ESDIUIUK.js +2 -0
  370. package/__chunks__/{chunk-SUYKWCC5.js → chunk-EVOSHAPQ.js} +2 -2
  371. package/__chunks__/{chunk-AL4DUKLT.js → chunk-EWZPP623.js} +2 -2
  372. package/__chunks__/{chunk-22Y4B5C3.js → chunk-EYCCXZ5I.js} +2 -2
  373. package/__chunks__/{chunk-4SAIESK5.js → chunk-EYGJT63Q.js} +2 -2
  374. package/__chunks__/{chunk-A67AUB3N.js → chunk-EZGXIMFA.js} +2 -2
  375. package/__chunks__/{chunk-Z6Y27WIS.js → chunk-F3HFVZO6.js} +2 -2
  376. package/__chunks__/{chunk-ATNOQKMV.js → chunk-F46AMJ5E.js} +2 -2
  377. package/__chunks__/{chunk-WAKFZG3B.js → chunk-F7EFOEKA.js} +2 -2
  378. package/__chunks__/chunk-FBG6YXQN.js +2 -0
  379. package/__chunks__/{chunk-WHO2OZ3D.js → chunk-FC2CFQ4W.js} +2 -2
  380. package/__chunks__/{chunk-I6LOUUUW.js → chunk-FF6DDY6N.js} +2 -2
  381. package/__chunks__/{chunk-FJFLHEZY.js → chunk-FICS64XF.js} +2 -2
  382. package/__chunks__/{chunk-4JGGBFTJ.js → chunk-FKGSTJMN.js} +2 -2
  383. package/__chunks__/{chunk-33SNIHSU.js → chunk-FP6OIG5I.js} +2 -2
  384. package/__chunks__/{chunk-FX3BI4GS.js → chunk-FQXIGO23.js} +2 -2
  385. package/__chunks__/{chunk-XM7LTKH3.js → chunk-FS6I42V7.js} +2 -2
  386. package/__chunks__/{chunk-DHUIQIEC.js → chunk-FYOACWD3.js} +2 -2
  387. package/__chunks__/{chunk-7CE26ENT.js → chunk-FZOQVKVP.js} +2 -2
  388. package/__chunks__/{chunk-TO6CPCOL.js → chunk-G2EN56U6.js} +2 -2
  389. package/__chunks__/{chunk-BSZI2FDX.js → chunk-G2TBKPDB.js} +2 -2
  390. package/__chunks__/{chunk-AKE75ULE.js → chunk-G5HNSXBH.js} +2 -2
  391. package/__chunks__/{chunk-I7TILN5N.js → chunk-G72LKXCI.js} +2 -2
  392. package/__chunks__/{chunk-PXYDYFQL.js → chunk-G7AS43E5.js} +2 -2
  393. package/__chunks__/{chunk-EXKWBZ3W.js → chunk-GAGP5P5R.js} +2 -2
  394. package/__chunks__/{chunk-6JKCWTR7.js → chunk-GHLUGLRL.js} +2 -2
  395. package/__chunks__/{chunk-MQXBSBNN.js → chunk-GII5NK5T.js} +2 -2
  396. package/__chunks__/{chunk-D6ZP6WE6.js → chunk-GKEQITC5.js} +2 -2
  397. package/__chunks__/{chunk-5PXPFW6L.js → chunk-GKI5ZQAP.js} +2 -2
  398. package/__chunks__/chunk-GM4KJNWX.js +2 -0
  399. package/__chunks__/{chunk-BSEHOL2J.js → chunk-GMJME5RX.js} +2 -2
  400. package/__chunks__/{chunk-U6BEWXRJ.js → chunk-GTPXC4LZ.js} +2 -2
  401. package/__chunks__/{chunk-ZPUB3SRN.js → chunk-H277KX2H.js} +2 -2
  402. package/__chunks__/{chunk-ULKZRPXC.js → chunk-H33EUPBV.js} +2 -2
  403. package/__chunks__/chunk-H36X4KPA.js +2 -0
  404. package/__chunks__/{chunk-NAA7ZUHY.js → chunk-H44MG7TY.js} +2 -2
  405. package/__chunks__/{chunk-V5RFIF7Q.js → chunk-H7YDQB36.js} +2 -2
  406. package/__chunks__/{chunk-HQ5CG3FS.js → chunk-HCFJVL4K.js} +2 -2
  407. package/__chunks__/chunk-HCYTXSAA.js +2 -0
  408. package/__chunks__/{chunk-LVIOL46M.js → chunk-HEOEIKQY.js} +2 -2
  409. package/__chunks__/{chunk-EUBRMAIJ.js → chunk-HJLTTBCH.js} +2 -2
  410. package/__chunks__/{chunk-ADW2SG72.js → chunk-HNW7G3SZ.js} +2 -2
  411. package/__chunks__/{chunk-JWPOPO4X.js → chunk-HOB7C4ZZ.js} +2 -2
  412. package/__chunks__/{chunk-74OGSUC7.js → chunk-HQXXDQAY.js} +2 -2
  413. package/__chunks__/{chunk-KMFDIMKZ.js → chunk-HQYRV4ML.js} +2 -2
  414. package/__chunks__/{chunk-J7L5RB2X.js → chunk-HRL7LZAA.js} +2 -2
  415. package/__chunks__/{chunk-RKSBRX44.js → chunk-HVIJH6ES.js} +2 -2
  416. package/__chunks__/{chunk-DXSJE6QV.js → chunk-HWAIHLNS.js} +2 -2
  417. package/__chunks__/chunk-HWBNGVN4.js +2 -0
  418. package/__chunks__/chunk-HWC7P56Z.js +2 -0
  419. package/__chunks__/{chunk-H3YDNRFO.js → chunk-HZ7GHA7F.js} +2 -2
  420. package/__chunks__/{chunk-NWOFOUPU.js → chunk-I2BIXL2N.js} +2 -2
  421. package/__chunks__/chunk-I7VIFP2B.js +2 -0
  422. package/__chunks__/{chunk-OWBOSGQM.js → chunk-IACQ5PC4.js} +2 -2
  423. package/__chunks__/{chunk-TS53BW3D.js → chunk-IDSBORVX.js} +2 -2
  424. package/__chunks__/{chunk-FKRQLT2F.js → chunk-IG5UYRE5.js} +2 -2
  425. package/__chunks__/{chunk-ASEW3XEB.js → chunk-IIKYUE3I.js} +2 -2
  426. package/__chunks__/{chunk-N3A4VYYH.js → chunk-ILITE5KL.js} +2 -2
  427. package/__chunks__/{chunk-HY5JE52G.js → chunk-ILYDPZPR.js} +2 -2
  428. package/__chunks__/{chunk-VCNSYMNT.js → chunk-IXISLIVH.js} +2 -2
  429. package/__chunks__/{chunk-5KTVWIAY.js → chunk-IXLDCCRQ.js} +2 -2
  430. package/__chunks__/{chunk-3KY75KC5.js → chunk-IYEE4S6X.js} +2 -2
  431. package/__chunks__/{chunk-JGLVMKUU.js → chunk-J2DC5BBM.js} +2 -2
  432. package/__chunks__/{chunk-6QRIQYGS.js → chunk-J5GDUONO.js} +2 -2
  433. package/__chunks__/chunk-J7IL54TK.js +2 -0
  434. package/__chunks__/chunk-JBIQ4Z35.js +2 -0
  435. package/__chunks__/{chunk-FENLFXZD.js → chunk-JISNB3YD.js} +2 -2
  436. package/__chunks__/{chunk-QL5KIKHA.js → chunk-JJ5LBIYX.js} +2 -2
  437. package/__chunks__/chunk-JLYCQ4O6.js +2 -0
  438. package/__chunks__/{chunk-SESPAARH.js → chunk-JM2VB7SE.js} +2 -2
  439. package/__chunks__/{chunk-QA5OP6JQ.js → chunk-JXGQ5FD2.js} +2 -2
  440. package/__chunks__/{chunk-UG6WET5H.js → chunk-K6IWAHVZ.js} +2 -2
  441. package/__chunks__/{chunk-SMWCHM5I.js → chunk-KAJ4YGRH.js} +2 -2
  442. package/__chunks__/chunk-KHRWWG3S.js +2 -0
  443. package/__chunks__/{chunk-3NXSGQFL.js → chunk-KHUBILAW.js} +2 -2
  444. package/__chunks__/chunk-KHVOC6BU.js +2 -0
  445. package/__chunks__/chunk-KII2TFXB.js +2 -0
  446. package/__chunks__/{chunk-IUXPX3AU.js → chunk-KRU5YRVR.js} +2 -2
  447. package/__chunks__/{chunk-7TGE3KPS.js → chunk-KYCJYA2I.js} +2 -2
  448. package/__chunks__/{chunk-VGQWRNTN.js → chunk-L534GK5Y.js} +2 -2
  449. package/__chunks__/{chunk-PWPXTHQG.js → chunk-L5N7SW2Y.js} +2 -2
  450. package/__chunks__/{chunk-WCPB2I4O.js → chunk-L74YEZPK.js} +2 -2
  451. package/__chunks__/{chunk-XMIURR5F.js → chunk-L7CBYNWU.js} +2 -2
  452. package/__chunks__/{chunk-PFFTQSP5.js → chunk-L7TSFVJG.js} +2 -2
  453. package/__chunks__/{chunk-D5D3LGBD.js → chunk-LCR2W3JD.js} +2 -2
  454. package/__chunks__/{chunk-DTTVFO7B.js → chunk-LCTRUXEN.js} +2 -2
  455. package/__chunks__/{chunk-O7XH2EUK.js → chunk-LEHTPMXZ.js} +2 -2
  456. package/__chunks__/{chunk-7JAEEM57.js → chunk-LFMHNDLZ.js} +2 -2
  457. package/__chunks__/{chunk-UUZFKUK5.js → chunk-LID4IVSH.js} +2 -2
  458. package/__chunks__/{chunk-VMCP7KGT.js → chunk-LLMP74HX.js} +2 -2
  459. package/__chunks__/{chunk-DBTIWKKE.js → chunk-LM6TQDIL.js} +2 -2
  460. package/__chunks__/chunk-LOG5VVPB.js +2 -0
  461. package/__chunks__/chunk-LQK6QKEX.js +2 -0
  462. package/__chunks__/{chunk-3IMYJ7DB.js → chunk-LV4ZIOND.js} +2 -2
  463. package/__chunks__/{chunk-6XTH5W6C.js → chunk-LXLAA6LD.js} +2 -2
  464. package/__chunks__/{chunk-27PR5AI3.js → chunk-LYGGLKGV.js} +2 -2
  465. package/__chunks__/{chunk-BV3RTZBM.js → chunk-M3NUHETT.js} +2 -2
  466. package/__chunks__/{chunk-C2Z5XOGB.js → chunk-M4TLVR6Y.js} +2 -2
  467. package/__chunks__/{chunk-6FJC4KO2.js → chunk-M4UEGMTD.js} +2 -2
  468. package/__chunks__/{chunk-HSVBGUJS.js → chunk-M6GVPVE4.js} +2 -2
  469. package/__chunks__/{chunk-SHZGPPBN.js → chunk-MBEO6S6H.js} +2 -2
  470. package/__chunks__/{chunk-N3RWWBEY.js → chunk-MHOL3AT7.js} +2 -2
  471. package/__chunks__/{chunk-R2BJHBRB.js → chunk-MLS5THWN.js} +2 -2
  472. package/__chunks__/{chunk-T77GKZGR.js → chunk-MQ2KGP5G.js} +2 -2
  473. package/__chunks__/{chunk-HTIZ6L5A.js → chunk-MQBRLK4M.js} +2 -2
  474. package/__chunks__/chunk-MS42UKDS.js +2 -0
  475. package/__chunks__/{chunk-EFEZXOGV.js → chunk-MUKZKVFM.js} +2 -2
  476. package/__chunks__/{chunk-AYLTSUFY.js → chunk-MUNAHKV2.js} +2 -2
  477. package/__chunks__/{chunk-P7AZBS7D.js → chunk-N4G7L3CK.js} +2 -2
  478. package/__chunks__/{chunk-3A4W3X3E.js → chunk-N4Q3AAUG.js} +2 -2
  479. package/__chunks__/{chunk-RNUJOXEI.js → chunk-N62S7G43.js} +2 -2
  480. package/__chunks__/{chunk-WUASCION.js → chunk-N6SU4PLO.js} +2 -2
  481. package/__chunks__/{chunk-TG3MSE2P.js → chunk-N74SYR5K.js} +2 -2
  482. package/__chunks__/{chunk-NVNBNHGF.js → chunk-NBV7D3HA.js} +2 -2
  483. package/__chunks__/{chunk-6IWFHJQN.js → chunk-NDV675A3.js} +2 -2
  484. package/__chunks__/{chunk-W7WUXTEE.js → chunk-NGQFUVA5.js} +2 -2
  485. package/__chunks__/{chunk-UFXN2FH4.js → chunk-NIYGVJ43.js} +2 -2
  486. package/__chunks__/{chunk-QRU7ZWS4.js → chunk-NKUHDM5B.js} +2 -2
  487. package/__chunks__/chunk-NMZUZYN7.js +2 -0
  488. package/__chunks__/chunk-NNONYRAM.js +2 -0
  489. package/__chunks__/{chunk-C3Y2EOXA.js → chunk-NPKKN7QP.js} +2 -2
  490. package/__chunks__/{chunk-R7MFF64R.js → chunk-NZ275V3D.js} +2 -2
  491. package/__chunks__/{chunk-URPSD3TX.js → chunk-NZFC6XDH.js} +2 -2
  492. package/__chunks__/{chunk-A6IHNAFB.js → chunk-O4J34CRC.js} +2 -2
  493. package/__chunks__/{chunk-KBZ3G4TA.js → chunk-OAEDW2L7.js} +2 -2
  494. package/__chunks__/{chunk-27VQMGJQ.js → chunk-OAQ44APY.js} +2 -2
  495. package/__chunks__/{chunk-YH6EXSTB.js → chunk-OAQTC23P.js} +2 -2
  496. package/__chunks__/{chunk-RQA267KF.js → chunk-OB7DPY5E.js} +2 -2
  497. package/__chunks__/{chunk-S5ZREJ2P.js → chunk-OBZSUHHG.js} +2 -2
  498. package/__chunks__/{chunk-IH76W3VA.js → chunk-OFNQN7EN.js} +2 -2
  499. package/__chunks__/{chunk-7ER7XRZR.js → chunk-OI6RWBDL.js} +2 -2
  500. package/__chunks__/{chunk-PTBE4J3V.js → chunk-OOUZEXW5.js} +2 -2
  501. package/__chunks__/{chunk-LTSVYMYP.js → chunk-OP7DXK43.js} +2 -2
  502. package/__chunks__/chunk-OPFI5C2N.js +2 -0
  503. package/__chunks__/{chunk-AXYMNVZQ.js → chunk-OQDXTTF6.js} +2 -2
  504. package/__chunks__/chunk-ORULNS4D.js +2 -0
  505. package/__chunks__/{chunk-XREMKZP5.js → chunk-OS74HGFW.js} +2 -2
  506. package/__chunks__/{chunk-LFYY6STB.js → chunk-OWYIW4XP.js} +2 -2
  507. package/__chunks__/{chunk-2NM2EI3D.js → chunk-OXIVZGIN.js} +2 -2
  508. package/__chunks__/{chunk-WFQGYVHS.js → chunk-P3IWKQQB.js} +2 -2
  509. package/__chunks__/{chunk-6GDNZ4X3.js → chunk-P6EK2PSL.js} +2 -2
  510. package/__chunks__/{chunk-KKAT7JHV.js → chunk-P7RSH75S.js} +2 -2
  511. package/__chunks__/{chunk-NTTGQ7M2.js → chunk-P7V5PEE2.js} +2 -2
  512. package/__chunks__/{chunk-65GIT53X.js → chunk-PALXTBIB.js} +2 -2
  513. package/__chunks__/{chunk-K6MIDLGS.js → chunk-PBQLETO6.js} +2 -2
  514. package/__chunks__/{chunk-YIA3LDNQ.js → chunk-PDEGPJ6W.js} +2 -2
  515. package/__chunks__/{chunk-TLWOMT7Y.js → chunk-PGIAF55G.js} +2 -2
  516. package/__chunks__/{chunk-X2W7W4CS.js → chunk-PGLIWGGG.js} +2 -2
  517. package/__chunks__/{chunk-NAR73BS3.js → chunk-PMM2XATI.js} +2 -2
  518. package/__chunks__/chunk-PNTA6WMV.js +2 -0
  519. package/__chunks__/{chunk-XPZGFZG6.js → chunk-PQXRPENT.js} +2 -2
  520. package/__chunks__/{chunk-FXNUE2CK.js → chunk-Q6DUUVFA.js} +2 -2
  521. package/__chunks__/chunk-QB5J373P.js +2 -0
  522. package/__chunks__/chunk-QHK7MASJ.js +2 -0
  523. package/__chunks__/chunk-QIWTMB2Y.js +2 -0
  524. package/__chunks__/{chunk-3BG5VG6J.js → chunk-QLCKX4MD.js} +2 -2
  525. package/__chunks__/{chunk-YBOGQZBI.js → chunk-QMP5U4MJ.js} +2 -2
  526. package/__chunks__/{chunk-7WTG3LMV.js → chunk-QR44RT32.js} +2 -2
  527. package/__chunks__/{chunk-7UKTC7IZ.js → chunk-QR6WDI4A.js} +2 -2
  528. package/__chunks__/{chunk-RI2V2QJM.js → chunk-QSX6SVEE.js} +2 -2
  529. package/__chunks__/{chunk-NMUN2XJC.js → chunk-QV47TPXA.js} +2 -2
  530. package/__chunks__/{chunk-YJXG7S53.js → chunk-QVRIASTV.js} +2 -2
  531. package/__chunks__/{chunk-WZCPPT4H.js → chunk-R6ENPWCH.js} +2 -2
  532. package/__chunks__/chunk-R7DPHSKU.js +2 -0
  533. package/__chunks__/{chunk-JNVUX2AC.js → chunk-RFH5JS2I.js} +2 -2
  534. package/__chunks__/{chunk-WKL2YY6R.js → chunk-RM2PWO7F.js} +2 -2
  535. package/__chunks__/{chunk-ETCNDJIL.js → chunk-RMAZPQ7Q.js} +2 -2
  536. package/__chunks__/{chunk-23RUUZVV.js → chunk-RR2MMIFW.js} +2 -2
  537. package/__chunks__/{chunk-PJBX2OGT.js → chunk-RS6MF4WX.js} +2 -2
  538. package/__chunks__/{chunk-Q5ZPA4NI.js → chunk-RX7QRDUG.js} +2 -2
  539. package/__chunks__/{chunk-5POBKG5C.js → chunk-RXSJC66U.js} +2 -2
  540. package/__chunks__/chunk-S4ORDCAQ.js +2 -0
  541. package/__chunks__/{chunk-2A5QAE5F.js → chunk-S5YMYRNX.js} +2 -2
  542. package/__chunks__/{chunk-FLCO2ZFZ.js → chunk-S6VJK3NK.js} +2 -2
  543. package/__chunks__/chunk-SDKHFJMI.js +2 -0
  544. package/__chunks__/chunk-SE5PZTQQ.js +2 -0
  545. package/__chunks__/chunk-SFELN7ZQ.js +2 -0
  546. package/__chunks__/chunk-SIHZL7QL.js +2 -0
  547. package/__chunks__/{chunk-LAF2IDWX.js → chunk-SNEG7Z2W.js} +2 -2
  548. package/__chunks__/{chunk-C2Z24SQO.js → chunk-SSHYHB5P.js} +2 -2
  549. package/__chunks__/{chunk-YFVC7UCY.js → chunk-SWHWML6W.js} +2 -2
  550. package/__chunks__/{chunk-SBG5INOK.js → chunk-TAVFHYUO.js} +2 -2
  551. package/__chunks__/{chunk-CZ3OVNYN.js → chunk-THSZIDBY.js} +2 -2
  552. package/__chunks__/{chunk-YRJGHDVR.js → chunk-TLBKR2TE.js} +2 -2
  553. package/__chunks__/{chunk-K25KWMWL.js → chunk-TLUQE53L.js} +2 -2
  554. package/__chunks__/chunk-TQYA5MIO.js +2 -0
  555. package/__chunks__/{chunk-PLEVYRQV.js → chunk-TUDRMNHR.js} +2 -2
  556. package/__chunks__/{chunk-S5JPQRRR.js → chunk-TVEQ75U7.js} +2 -2
  557. package/__chunks__/{chunk-2TTH3GW4.js → chunk-TWKVKU4R.js} +2 -2
  558. package/__chunks__/chunk-TX5AEQE7.js +2 -0
  559. package/__chunks__/{chunk-ZWCOE432.js → chunk-TZRKGU46.js} +2 -2
  560. package/__chunks__/{chunk-EQ63QIDM.js → chunk-U2AY6TVH.js} +2 -2
  561. package/__chunks__/{chunk-FQV54AV7.js → chunk-U7VNZTSJ.js} +2 -2
  562. package/__chunks__/{chunk-S7CRF37T.js → chunk-U7YUCH76.js} +2 -2
  563. package/__chunks__/{chunk-6TTVGEUY.js → chunk-UAJJ4KAC.js} +2 -2
  564. package/__chunks__/{chunk-EPNPICRG.js → chunk-UKTJXVVY.js} +2 -2
  565. package/__chunks__/{chunk-GAGSYKJN.js → chunk-UMOSGSMO.js} +2 -2
  566. package/__chunks__/{chunk-4FNYVG4J.js → chunk-UMVY262I.js} +2 -2
  567. package/__chunks__/{chunk-VMNEBS6M.js → chunk-URBU5PM5.js} +2 -2
  568. package/__chunks__/chunk-UVPB6BB7.js +2 -0
  569. package/__chunks__/chunk-UWEMWTPB.js +2 -0
  570. package/__chunks__/{chunk-PS2V5XKS.js → chunk-UXX7VNS7.js} +2 -2
  571. package/__chunks__/{chunk-AV3NDNWA.js → chunk-V3RA4NEA.js} +2 -2
  572. package/__chunks__/{chunk-NJ6B4DQ5.js → chunk-VAHHFMKM.js} +2 -2
  573. package/__chunks__/{chunk-2HDQUL2Z.js → chunk-VD7FU3T5.js} +2 -2
  574. package/__chunks__/{chunk-22LCFRAO.js → chunk-VWTCFYVZ.js} +2 -2
  575. package/__chunks__/chunk-VYYJ7CPP.js +2 -0
  576. package/__chunks__/{chunk-ZJMQB32B.js → chunk-W4IEQ73K.js} +2 -2
  577. package/__chunks__/{chunk-BRGRGQWY.js → chunk-WAC7EZOU.js} +2 -2
  578. package/__chunks__/chunk-WC7TRR55.js +2 -0
  579. package/__chunks__/chunk-WDJC2WWV.js +2 -0
  580. package/__chunks__/{chunk-HQS5OI35.js → chunk-WECFQ2BC.js} +2 -2
  581. package/__chunks__/{chunk-PLGVRJR5.js → chunk-WFMDGRO6.js} +2 -2
  582. package/__chunks__/{chunk-M2DONB3O.js → chunk-WO7LZE6B.js} +2 -2
  583. package/__chunks__/{chunk-HSAEFT5H.js → chunk-WSJDKR2I.js} +2 -2
  584. package/__chunks__/{chunk-2FVU77J2.js → chunk-WT24ZUMA.js} +2 -2
  585. package/__chunks__/{chunk-PL5BKLZZ.js → chunk-WWNTQPR5.js} +2 -2
  586. package/__chunks__/{chunk-5AYAA6DU.js → chunk-WZJCQGHL.js} +2 -2
  587. package/__chunks__/{chunk-ORPFAVYR.js → chunk-X2FOANHP.js} +2 -2
  588. package/__chunks__/{chunk-SWNWXXN6.js → chunk-X5JFTI62.js} +2 -2
  589. package/__chunks__/{chunk-L3SGTEQI.js → chunk-XBRBVMGN.js} +2 -2
  590. package/__chunks__/{chunk-FXGNKSQR.js → chunk-XBSLA7H6.js} +2 -2
  591. package/__chunks__/{chunk-3NOXSB7O.js → chunk-XFD5AL6L.js} +2 -2
  592. package/__chunks__/{chunk-5F4HV4EU.js → chunk-XHO4LNGD.js} +2 -2
  593. package/__chunks__/{chunk-7X7SBJXG.js → chunk-XLY466ZF.js} +2 -2
  594. package/__chunks__/{chunk-RFWUDGQU.js → chunk-XTAKGLJJ.js} +2 -2
  595. package/__chunks__/{chunk-77IC2JIS.js → chunk-XTHAJENL.js} +2 -2
  596. package/__chunks__/{chunk-HF3HZIGC.js → chunk-XX5FXHEA.js} +2 -2
  597. package/__chunks__/chunk-XY64MYV3.js +2 -0
  598. package/__chunks__/{chunk-626BIAFP.js → chunk-XZAVYJ56.js} +2 -2
  599. package/__chunks__/{chunk-5AKDOBP2.js → chunk-YAUJ6FFL.js} +2 -2
  600. package/__chunks__/chunk-YD6GC6NW.js +2 -0
  601. package/__chunks__/{chunk-JH5ZUP5O.js → chunk-YKEGR2LH.js} +2 -2
  602. package/__chunks__/{chunk-SNP5VFT5.js → chunk-YXWUHLJK.js} +2 -2
  603. package/__chunks__/{chunk-7OQLEL4E.js → chunk-Z3H7GL3O.js} +2 -2
  604. package/__chunks__/chunk-Z7P6IKIO.js +2 -0
  605. package/__chunks__/chunk-ZBM5EDKK.js +2 -0
  606. package/__chunks__/{chunk-ELOPOPT6.js → chunk-ZFBZ263R.js} +2 -2
  607. package/__chunks__/{chunk-3D6EJYIP.js → chunk-ZFTFQLPG.js} +2 -2
  608. package/__chunks__/{chunk-HWDAK7DD.js → chunk-ZGTBFWPX.js} +2 -2
  609. package/__chunks__/{chunk-QMLH2VE5.js → chunk-ZIBQ4VNZ.js} +2 -2
  610. package/__chunks__/{chunk-TP2KZQH6.js → chunk-ZP27SWMA.js} +2 -2
  611. package/__chunks__/{chunk-TZRX6CMC.js → chunk-ZSVJXQEI.js} +2 -2
  612. package/__chunks__/chunk-ZUAJBJ6U.js +2 -0
  613. package/__chunks__/{chunk-FAK2TPXV.js → chunk-ZUFN6Q3F.js} +2 -2
  614. package/__chunks__/{chunk-C6OJA7AH.js → chunk-ZURTVRBE.js} +2 -2
  615. package/__commonjs/UI/NotificationModal/NotificationModal.js +4 -4
  616. package/__commonjs/UI/NotificationModal/index.js +4 -4
  617. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +29 -29
  618. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  619. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +25 -25
  620. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +5 -5
  621. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +5 -5
  622. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/GasDetails.js +4 -4
  623. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/GasDetails/index.js +4 -4
  624. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/components/index.js +4 -4
  625. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +25 -25
  626. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  627. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  628. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +27 -27
  629. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +27 -27
  630. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +25 -25
  631. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +25 -25
  632. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  633. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  634. package/__commonjs/UI/SignTransactionsModals/index.js +29 -29
  635. package/__commonjs/UI/TransactionsToastList/TransactionsToastList.js +13 -13
  636. package/__commonjs/UI/TransactionsToastList/index.js +13 -13
  637. package/__commonjs/UI/index.js +27 -27
  638. package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +4 -4
  639. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +4 -4
  640. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +7 -7
  641. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/index.js +7 -7
  642. package/__commonjs/UI/ledger/index.js +3 -3
  643. package/__commonjs/UI/pages/UnlockPage/index.js +27 -27
  644. package/__commonjs/UI/pages/index.js +27 -27
  645. package/__commonjs/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +3 -3
  646. package/__commonjs/UI/webWallet/CrossWindowLoginButton/index.js +3 -3
  647. package/__commonjs/__mocks__/index.js +3 -3
  648. package/__commonjs/__mocks__/utils/index.js +3 -3
  649. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  650. package/__commonjs/constants/index.js +1 -1
  651. package/__commonjs/hooks/index.js +4 -4
  652. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  653. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  654. package/__commonjs/hooks/transactions/index.js +3 -3
  655. package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +3 -3
  656. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  657. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +3 -3
  658. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +3 -3
  659. package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  660. package/__commonjs/utils/index.js +1 -1
  661. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  662. package/__commonjs/utils/transactions/index.js +1 -1
  663. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  664. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  665. package/__commonjs/wrappers/index.js +2 -2
  666. package/__mocks__/index.js +1 -1
  667. package/__mocks__/utils/index.js +1 -1
  668. package/__mocks__/utils/renderWithProvider.js +1 -1
  669. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  670. package/apiCalls/accounts/index.js +1 -1
  671. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  672. package/apiCalls/configuration/getGasStationMetadata.js +1 -1
  673. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  674. package/apiCalls/configuration/index.js +1 -1
  675. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  676. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  677. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  678. package/apiCalls/economics/index.js +1 -1
  679. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  680. package/apiCalls/index.js +1 -1
  681. package/apiCalls/tokens/getPersistedToken.js +1 -1
  682. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  683. package/apiCalls/transactions/index.js +1 -1
  684. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  685. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  686. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  687. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  688. package/apiCalls/utils/getScamAddressData.js +1 -1
  689. package/apiCalls/utils/index.js +1 -1
  690. package/apiCalls/utils/useApiFetch.js +1 -1
  691. package/components/LogoutListener/LogoutListener.js +1 -1
  692. package/components/LogoutListener/helpers/index.js +1 -1
  693. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  694. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  695. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  696. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  697. package/components/LogoutListener/index.js +1 -1
  698. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  699. package/components/ProviderInitializer/helpers/handleGuardianWarning.js +1 -1
  700. package/components/ProviderInitializer/helpers/index.js +1 -1
  701. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  702. package/components/ProviderInitializer/hooks/index.js +1 -1
  703. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  704. package/components/ProviderInitializer/index.js +1 -1
  705. package/components/TransactionSender/TransactionSender.js +1 -1
  706. package/components/TransactionSender/index.js +1 -1
  707. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  708. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  709. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  710. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  711. package/components/TransactionsTracker/index.js +1 -1
  712. package/constants/index.js +1 -1
  713. package/hooks/account/index.js +1 -1
  714. package/hooks/account/useGetAccount.js +1 -1
  715. package/hooks/account/useGetAccountInfo.js +1 -1
  716. package/hooks/account/useGetAccountProvider.js +1 -1
  717. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  718. package/hooks/account/useGetIsLoggedIn.js +1 -1
  719. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  720. package/hooks/account/useGetLoginInfo.js +1 -1
  721. package/hooks/account/useGetWebsocketEvent.js +1 -1
  722. package/hooks/economics/index.js +1 -1
  723. package/hooks/economics/useGetEgldPrice.js +1 -1
  724. package/hooks/index.js +1 -1
  725. package/hooks/login/index.js +1 -1
  726. package/hooks/login/useCrossWindowLogin.js +1 -1
  727. package/hooks/login/useExtensionLogin.js +1 -1
  728. package/hooks/login/useGetModalLoginMethods.js +1 -1
  729. package/hooks/login/useIframeLogin.js +1 -1
  730. package/hooks/login/useLedgerLogin.js +1 -1
  731. package/hooks/login/useLoginService.js +1 -1
  732. package/hooks/login/useMetamaskLogin.js +1 -1
  733. package/hooks/login/useOperaLogin.js +1 -1
  734. package/hooks/login/usePasskeyLogin.js +1 -1
  735. package/hooks/login/useWalletConnectV2Login.js +1 -1
  736. package/hooks/login/useWebViewLogin.js +1 -1
  737. package/hooks/login/useWebWalletLogin.js +1 -1
  738. package/hooks/login/useXaliasLogin.js +1 -1
  739. package/hooks/signMessage/index.js +1 -1
  740. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  741. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  742. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  743. package/hooks/signMessage/useSignMessage.js +1 -1
  744. package/hooks/toasts/index.js +1 -1
  745. package/hooks/toasts/useGetToasts.js +1 -1
  746. package/hooks/toasts/useTransactionsToasts.js +1 -1
  747. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  748. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  749. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  750. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  751. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  752. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  753. package/hooks/transactions/batch/useGetBatches.js +1 -1
  754. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  755. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  756. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  757. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  758. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  759. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  760. package/hooks/transactions/helpers/index.js +1 -1
  761. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  762. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  763. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  764. package/hooks/transactions/index.js +1 -1
  765. package/hooks/transactions/useCancelActionAndDispose.js +1 -1
  766. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  767. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  768. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  769. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  770. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  771. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  772. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  773. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  774. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  775. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  776. package/hooks/transactions/useGetPollingInterval.js +1 -1
  777. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  778. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  779. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  780. package/hooks/transactions/useGetTokenDetails.js +1 -1
  781. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  782. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  783. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  784. package/hooks/transactions/useSignTransactions.js +1 -1
  785. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  786. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  787. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  788. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  789. package/hooks/transactions/useTransactionsTracker/index.js +1 -1
  790. package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
  791. package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
  792. package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
  793. package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
  794. package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
  795. package/hooks/useGetNetworkConfig.js +1 -1
  796. package/hooks/useGetNotification.js +1 -1
  797. package/hooks/websocketListener/index.js +1 -1
  798. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  799. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  800. package/models/index.js +1 -1
  801. package/models/newTransaction.js +1 -1
  802. package/package.json +1 -1
  803. package/providers/accountProvider.js +1 -1
  804. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  805. package/providers/experimentalWebViewProvider/index.js +1 -1
  806. package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  807. package/providers/index.js +1 -1
  808. package/providers/utils.js +1 -1
  809. package/providers/webviewProvider/index.js +1 -1
  810. package/providers/webviewProvider/requestMethods.js +1 -1
  811. package/providers/webviewProvider/webviewProvider.js +1 -1
  812. package/reduxStore/DappProviderContext.js +1 -1
  813. package/reduxStore/commonActions.js +1 -1
  814. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  815. package/reduxStore/persistConfig.js +1 -1
  816. package/reduxStore/persistedRootReducer.js +1 -1
  817. package/reduxStore/reducers.js +1 -1
  818. package/reduxStore/rootReducer.js +1 -1
  819. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  820. package/reduxStore/selectors/index.js +1 -1
  821. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  822. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  823. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  824. package/reduxStore/slices/accountInfoSlice.js +1 -1
  825. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  826. package/reduxStore/slices/dappConfigSlice.js +1 -1
  827. package/reduxStore/slices/index.js +1 -1
  828. package/reduxStore/slices/loginInfoSlice.js +1 -1
  829. package/reduxStore/slices/modalsSlice.js +1 -1
  830. package/reduxStore/slices/networkConfigSlice.js +1 -1
  831. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  832. package/reduxStore/slices/toastsSlice.js +1 -1
  833. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  834. package/reduxStore/slices/transactionsSlice.js +1 -1
  835. package/reduxStore/store.js +1 -1
  836. package/services/index.js +1 -1
  837. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  838. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  839. package/services/nativeAuth/helpers/index.js +1 -1
  840. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  841. package/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
  842. package/services/transactions/clearTransactions.js +1 -1
  843. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  844. package/services/transactions/getTransactionsDetails.js +1 -1
  845. package/services/transactions/index.js +1 -1
  846. package/services/transactions/isCrossShardTransaction.js +1 -1
  847. package/services/transactions/sendBatchTransactions.js +1 -1
  848. package/services/transactions/sendBatchTransactions.test.js +1 -1
  849. package/services/transactions/sendTransactions.js +1 -1
  850. package/services/transactions/signTransactions.js +1 -1
  851. package/services/transactions/transformAndSignTransactions.js +1 -1
  852. package/services/transactions/updateSignedTransactions.js +1 -1
  853. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  854. package/services/transactions/utils.js +1 -1
  855. package/utils/account/getAccount.js +1 -1
  856. package/utils/account/getAccountBalance.js +1 -1
  857. package/utils/account/getAccountProviderType.js +1 -1
  858. package/utils/account/getAccountShard.js +1 -1
  859. package/utils/account/getAddress.js +1 -1
  860. package/utils/account/getIsProviderEqualTo.js +1 -1
  861. package/utils/account/getLatestNonce.js +1 -1
  862. package/utils/account/getShardOfAddress.js +1 -1
  863. package/utils/account/getWebviewToken.js +1 -1
  864. package/utils/account/index.js +1 -1
  865. package/utils/account/loginWithExternalProvider.js +1 -1
  866. package/utils/account/refreshAccount.js +1 -1
  867. package/utils/account/setNonce.js +1 -1
  868. package/utils/account/signMessage.js +1 -1
  869. package/utils/getIsLoggedIn.js +1 -1
  870. package/utils/index.js +1 -1
  871. package/utils/logout.js +1 -1
  872. package/utils/network/getChainID.js +1 -1
  873. package/utils/network/getEgldLabel.js +1 -1
  874. package/utils/network/getNetworkConfig.js +1 -1
  875. package/utils/network/index.js +1 -1
  876. package/utils/operations/calculateFeeInFiat.js +1 -1
  877. package/utils/operations/calculateFeeLimit.js +1 -1
  878. package/utils/operations/denominate.js +1 -1
  879. package/utils/operations/formatAmount.js +1 -1
  880. package/utils/operations/index.js +1 -1
  881. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  882. package/utils/operations/ledger/index.js +1 -1
  883. package/utils/operations/nominate.js +1 -1
  884. package/utils/operations/parseAmount.js +1 -1
  885. package/utils/toasts/customToastsActions.js +1 -1
  886. package/utils/toasts/index.js +1 -1
  887. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  888. package/utils/transactions/builtCallbackUrl.js +1 -1
  889. package/utils/transactions/getAllTransactionsLink.js +1 -1
  890. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  891. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  892. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  893. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  894. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  895. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  896. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  897. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  898. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  899. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  900. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  901. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  902. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  903. package/utils/transactions/getOperationsDetails.js +1 -1
  904. package/utils/transactions/getTransactionLink.js +1 -1
  905. package/utils/transactions/index.js +1 -1
  906. package/utils/transactions/isGuardianTx.js +1 -1
  907. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  908. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  909. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  910. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  911. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  912. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  913. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  914. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  915. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  916. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  917. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  918. package/utils/validation/index.js +1 -1
  919. package/utils/validation/maxDecimals.js +1 -1
  920. package/utils/validation/stringIsFloat.js +1 -1
  921. package/utils/waitForChainID.js +1 -1
  922. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  923. package/web/hooks/index.js +1 -1
  924. package/web/hooks/useIdleTimer.js +1 -1
  925. package/web/index.js +1 -1
  926. package/wrappers/AppInitializer.js +1 -1
  927. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  928. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  929. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  930. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  931. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  932. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  933. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  934. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  935. package/wrappers/DappProvider/CustomComponents.js +1 -1
  936. package/wrappers/DappProvider/DappProvider.js +1 -1
  937. package/wrappers/DappProvider/index.js +1 -1
  938. package/wrappers/index.js +1 -1
  939. package/__chunks__/chunk-2WUDN65N.js +0 -2
  940. package/__chunks__/chunk-37ZLRBDW.js +0 -2
  941. package/__chunks__/chunk-4BS3GOQN.js +0 -2
  942. package/__chunks__/chunk-4GZDYCJM.js +0 -2
  943. package/__chunks__/chunk-4P22GMBO.js +0 -2
  944. package/__chunks__/chunk-4VCP3MSC.js +0 -2
  945. package/__chunks__/chunk-5IILM2SW.js +0 -2
  946. package/__chunks__/chunk-6J4BFEPF.js +0 -2
  947. package/__chunks__/chunk-7TLVFKZA.js +0 -2
  948. package/__chunks__/chunk-7TX756L5.js +0 -2
  949. package/__chunks__/chunk-7XGKHV54.js +0 -2
  950. package/__chunks__/chunk-A2XTMKUH.js +0 -2
  951. package/__chunks__/chunk-BC4ROBO7.js +0 -2
  952. package/__chunks__/chunk-BP4WYGW7.js +0 -2
  953. package/__chunks__/chunk-BPYZDYPZ.js +0 -2
  954. package/__chunks__/chunk-CTEOKUR7.js +0 -2
  955. package/__chunks__/chunk-DM62WMOD.js +0 -2
  956. package/__chunks__/chunk-DN2Q5WUM.js +0 -2
  957. package/__chunks__/chunk-DQHOJ6WA.js +0 -2
  958. package/__chunks__/chunk-DQQHCPCP.js +0 -2
  959. package/__chunks__/chunk-E2Q3UR6J.js +0 -2
  960. package/__chunks__/chunk-FUV6XFGJ.js +0 -2
  961. package/__chunks__/chunk-GFPHLQZL.js +0 -2
  962. package/__chunks__/chunk-GJ56DOYP.js +0 -2
  963. package/__chunks__/chunk-HRL64TAE.js +0 -2
  964. package/__chunks__/chunk-IBNI75SR.js +0 -2
  965. package/__chunks__/chunk-IHEKHUUS.js +0 -2
  966. package/__chunks__/chunk-IIONZAPY.js +0 -2
  967. package/__chunks__/chunk-ITWE4OB4.js +0 -2
  968. package/__chunks__/chunk-IV3V3COR.js +0 -2
  969. package/__chunks__/chunk-IWMKZLU2.js +0 -2
  970. package/__chunks__/chunk-K7I2OTRG.js +0 -2
  971. package/__chunks__/chunk-LCOAX2YR.js +0 -2
  972. package/__chunks__/chunk-LGXDTLDO.js +0 -2
  973. package/__chunks__/chunk-LZIGNQR7.js +0 -2
  974. package/__chunks__/chunk-M4T73AAH.js +0 -2
  975. package/__chunks__/chunk-N7JFDFVU.js +0 -2
  976. package/__chunks__/chunk-NFSVEDAK.js +0 -2
  977. package/__chunks__/chunk-OLFII25V.js +0 -2
  978. package/__chunks__/chunk-OMML4YXL.js +0 -2
  979. package/__chunks__/chunk-OP6H47GD.js +0 -2
  980. package/__chunks__/chunk-OZUW5PP7.js +0 -2
  981. package/__chunks__/chunk-PQ6Z2YCK.js +0 -2
  982. package/__chunks__/chunk-QQOI3ONU.js +0 -2
  983. package/__chunks__/chunk-QS4OXWG5.js +0 -2
  984. package/__chunks__/chunk-RAYVSJIY.js +0 -2
  985. package/__chunks__/chunk-RZZIBTSM.js +0 -2
  986. package/__chunks__/chunk-S3JN6YLY.js +0 -2
  987. package/__chunks__/chunk-SGYNBRTF.js +0 -2
  988. package/__chunks__/chunk-SHNKEHGJ.js +0 -2
  989. package/__chunks__/chunk-SM663YH2.js +0 -2
  990. package/__chunks__/chunk-SQLT2HSQ.js +0 -2
  991. package/__chunks__/chunk-TKTLU7ZY.js +0 -2
  992. package/__chunks__/chunk-TPBLXFUX.js +0 -2
  993. package/__chunks__/chunk-U2CZS663.js +0 -2
  994. package/__chunks__/chunk-UCX2X5DD.js +0 -2
  995. package/__chunks__/chunk-UDLEKDLT.js +0 -2
  996. package/__chunks__/chunk-UUVAPZMV.js +0 -2
  997. package/__chunks__/chunk-VOAUV5OA.js +0 -2
  998. package/__chunks__/chunk-X2LRGINL.js +0 -2
  999. package/__chunks__/chunk-XYD4D7IV.js +0 -2
  1000. package/__chunks__/chunk-YC2PHRWO.js +0 -2
  1001. package/__chunks__/chunk-YFPRDRGY.js +0 -2
  1002. package/__chunks__/chunk-ZRXRDVEU.js +0 -2
  1003. package/__chunks__/chunk-ZWJNVJAL.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Zd=Object.create;var _n=Object.defineProperty,Jd=Object.defineProperties,Qd=Object.getOwnPropertyDescriptor,el=Object.getOwnPropertyDescriptors,ol=Object.getOwnPropertyNames,Gn=Object.getOwnPropertySymbols,nl=Object.getPrototypeOf,jt=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable;var Oa=(e,o,t)=>o in e?_n(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))jt.call(o,t)&&Oa(e,t,o[t]);if(Gn)for(var t of Gn(o))Ba.call(o,t)&&Oa(e,t,o[t]);return e},w=(e,o)=>Jd(e,el(o));var Ye=(e,o)=>{var t={};for(var s in e)jt.call(e,s)&&o.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&Gn)for(var s of Gn(e))o.indexOf(s)<0&&Ba.call(e,s)&&(t[s]=e[s]);return t};var h=(e,o)=>()=>(e&&(o=e(e=0)),o);var S=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),xe=(e,o)=>{for(var t in o)_n(e,t,{get:o[t],enumerable:!0})},Fa=(e,o,t,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of ol(o))!jt.call(e,c)&&c!==t&&_n(e,c,{get:()=>o[c],enumerable:!(s=Qd(o,c))||s.enumerable});return e};var x=(e,o,t)=>(t=e!=null?Zd(nl(e)):{},Fa(o||!e||!e.__esModule?_n(t,"default",{value:e,enumerable:!0}):t,e)),de=e=>Fa(_n({},"__esModule",{value:!0}),e);var g=(e,o,t)=>new Promise((s,c)=>{var p=_=>{try{d(t.next(_))}catch(T){c(T)}},m=_=>{try{d(t.throw(_))}catch(T){c(T)}},d=_=>_.done?s(_.value):Promise.resolve(_.value).then(p,m);d((t=t.apply(e,o)).next())});var Ga=S(Hn=>{"use strict";n();Hn.byteLength=rl;Hn.toByteArray=il;Hn.fromByteArray=pl;var we=[],ue=[],tl=typeof Uint8Array!="undefined"?Uint8Array:Array,zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(po=0,Wa=zt.length;po<Wa;++po)we[po]=zt[po],ue[zt.charCodeAt(po)]=po;var po,Wa;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Ua(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var s=t===o?0:4-t%4;return[t,s]}function rl(e){var o=Ua(e),t=o[0],s=o[1];return(t+s)*3/4-s}function al(e,o,t){return(o+t)*3/4-t}function il(e){var o,t=Ua(e),s=t[0],c=t[1],p=new tl(al(e,s,c)),m=0,d=c>0?s-4:s,_;for(_=0;_<d;_+=4)o=ue[e.charCodeAt(_)]<<18|ue[e.charCodeAt(_+1)]<<12|ue[e.charCodeAt(_+2)]<<6|ue[e.charCodeAt(_+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=ue[e.charCodeAt(_)]<<2|ue[e.charCodeAt(_+1)]>>4,p[m++]=o&255),c===1&&(o=ue[e.charCodeAt(_)]<<10|ue[e.charCodeAt(_+1)]<<4|ue[e.charCodeAt(_+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function sl(e){return we[e>>18&63]+we[e>>12&63]+we[e>>6&63]+we[e&63]}function cl(e,o,t){for(var s,c=[],p=o;p<t;p+=3)s=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(sl(s));return c.join("")}function pl(e){for(var o,t=e.length,s=t%3,c=[],p=16383,m=0,d=t-s;m<d;m+=p)c.push(cl(e,m,m+p>d?d:m+p));return s===1?(o=e[t-1],c.push(we[o>>2]+we[o<<4&63]+"==")):s===2&&(o=(e[t-2]<<8)+e[t-1],c.push(we[o>>10]+we[o>>4&63]+we[o<<2&63]+"=")),c.join("")}});var Ha=S(Kt=>{n();Kt.read=function(e,o,t,s,c){var p,m,d=c*8-s-1,_=(1<<d)-1,T=_>>1,f=-7,b=t?c-1:0,P=t?-1:1,L=e[o+b];for(b+=P,p=L&(1<<-f)-1,L>>=-f,f+=d;f>0;p=p*256+e[o+b],b+=P,f-=8);for(m=p&(1<<-f)-1,p>>=-f,f+=s;f>0;m=m*256+e[o+b],b+=P,f-=8);if(p===0)p=1-T;else{if(p===_)return m?NaN:(L?-1:1)*(1/0);m=m+Math.pow(2,s),p=p-T}return(L?-1:1)*m*Math.pow(2,p-s)};Kt.write=function(e,o,t,s,c,p){var m,d,_,T=p*8-c-1,f=(1<<T)-1,b=f>>1,P=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=s?0:p-1,E=s?1:-1,Y=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(d=isNaN(o)?1:0,m=f):(m=Math.floor(Math.log(o)/Math.LN2),o*(_=Math.pow(2,-m))<1&&(m--,_*=2),m+b>=1?o+=P/_:o+=P*Math.pow(2,1-b),o*_>=2&&(m++,_/=2),m+b>=f?(d=0,m=f):m+b>=1?(d=(o*_-1)*Math.pow(2,c),m=m+b):(d=o*Math.pow(2,b-1)*Math.pow(2,c),m=0));c>=8;e[t+L]=d&255,L+=E,d/=256,c-=8);for(m=m<<c|d,T+=c;T>0;e[t+L]=m&255,L+=E,m/=256,T-=8);e[t+L-E]|=Y*128}});var oi=S(Mo=>{"use strict";n();var Xt=Ga(),Do=Ha(),Va=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Mo.Buffer=l;Mo.SlowBuffer=gl;Mo.INSPECT_MAX_BYTES=50;var Vn=2147483647;Mo.kMaxLength=Vn;l.TYPED_ARRAY_SUPPORT=ml();!l.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 ml(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function Oe(e){if(e>Vn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,l.prototype),o}function l(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Qt(e)}return ja(e,o,t)}l.poolSize=8192;function ja(e,o,t){if(typeof e=="string")return ll(e,o);if(ArrayBuffer.isView(e))return _l(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(ve(e,ArrayBuffer)||e&&ve(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(ve(e,SharedArrayBuffer)||e&&ve(e.buffer,SharedArrayBuffer)))return Zt(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var s=e.valueOf&&e.valueOf();if(s!=null&&s!==e)return l.from(s,o,t);var c=ul(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return l.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}l.from=function(e,o,t){return ja(e,o,t)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function za(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 dl(e,o,t){return za(e),e<=0?Oe(e):o!==void 0?typeof t=="string"?Oe(e).fill(o,t):Oe(e).fill(o):Oe(e)}l.alloc=function(e,o,t){return dl(e,o,t)};function Qt(e){return za(e),Oe(e<0?0:er(e)|0)}l.allocUnsafe=function(e){return Qt(e)};l.allocUnsafeSlow=function(e){return Qt(e)};function ll(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=Ka(e,o)|0,s=Oe(t),c=s.write(e,o);return c!==t&&(s=s.slice(0,c)),s}function Yt(e){for(var o=e.length<0?0:er(e.length)|0,t=Oe(o),s=0;s<o;s+=1)t[s]=e[s]&255;return t}function _l(e){if(ve(e,Uint8Array)){var o=new Uint8Array(e);return Zt(o.buffer,o.byteOffset,o.byteLength)}return Yt(e)}function Zt(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var s;return o===void 0&&t===void 0?s=new Uint8Array(e):t===void 0?s=new Uint8Array(e,o):s=new Uint8Array(e,o,t),Object.setPrototypeOf(s,l.prototype),s}function ul(e){if(l.isBuffer(e)){var o=er(e.length)|0,t=Oe(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||or(e.length)?Oe(0):Yt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Yt(e.data)}function er(e){if(e>=Vn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Vn.toString(16)+" bytes");return e|0}function gl(e){return+e!=e&&(e=0),l.alloc(+e)}l.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==l.prototype};l.compare=function(o,t){if(ve(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),ve(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(o)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var s=o.length,c=t.length,p=0,m=Math.min(s,c);p<m;++p)if(o[p]!==t[p]){s=o[p],c=t[p];break}return s<c?-1:c<s?1:0};l.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return l.alloc(0);var s;if(t===void 0)for(t=0,s=0;s<o.length;++s)t+=o[s].length;var c=l.allocUnsafe(t),p=0;for(s=0;s<o.length;++s){var m=o[s];if(ve(m,Uint8Array))p+m.length>c.length?l.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(l.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function Ka(e,o){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ve(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,s=arguments.length>2&&arguments[2]===!0;if(!s&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Jt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ei(e).length;default:if(c)return s?-1:Jt(e).length;o=(""+o).toLowerCase(),c=!0}}l.byteLength=Ka;function fl(e,o,t){var s=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Il(this,o,t);case"utf8":case"utf-8":return Ya(this,o,t);case"ascii":return vl(this,o,t);case"latin1":case"binary":return Al(this,o,t);case"base64":return bl(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kl(this,o,t);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}l.prototype._isBuffer=!0;function mo(e,o,t){var s=e[o];e[o]=e[t],e[t]=s}l.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)mo(this,t,t+1);return this};l.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)mo(this,t,t+3),mo(this,t+1,t+2);return this};l.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)mo(this,t,t+7),mo(this,t+1,t+6),mo(this,t+2,t+5),mo(this,t+3,t+4);return this};l.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Ya(this,0,o):fl.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(o){if(!l.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:l.compare(this,o)===0};l.prototype.inspect=function(){var o="",t=Mo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};Va&&(l.prototype[Va]=l.prototype.inspect);l.prototype.compare=function(o,t,s,c,p){if(ve(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),!l.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),s===void 0&&(s=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||s>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=s)return 0;if(c>=p)return-1;if(t>=s)return 1;if(t>>>=0,s>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=s-t,_=Math.min(m,d),T=this.slice(c,p),f=o.slice(t,s),b=0;b<_;++b)if(T[b]!==f[b]){m=T[b],d=f[b];break}return m<d?-1:d<m?1:0};function Xa(e,o,t,s,c){if(e.length===0)return-1;if(typeof t=="string"?(s=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,or(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=l.from(o,s)),l.isBuffer(o))return o.length===0?-1:$a(e,o,t,s,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):$a(e,[o],t,s,c);throw new TypeError("val must be string, number or Buffer")}function $a(e,o,t,s,c){var p=1,m=e.length,d=o.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,t/=2}function _(L,E){return p===1?L[E]:L.readUInt16BE(E*p)}var T;if(c){var f=-1;for(T=t;T<m;T++)if(_(e,T)===_(o,f===-1?0:T-f)){if(f===-1&&(f=T),T-f+1===d)return f*p}else f!==-1&&(T-=T-f),f=-1}else for(t+d>m&&(t=m-d),T=t;T>=0;T--){for(var b=!0,P=0;P<d;P++)if(_(e,T+P)!==_(o,P)){b=!1;break}if(b)return T}return-1}l.prototype.includes=function(o,t,s){return this.indexOf(o,t,s)!==-1};l.prototype.indexOf=function(o,t,s){return Xa(this,o,t,s,!0)};l.prototype.lastIndexOf=function(o,t,s){return Xa(this,o,t,s,!1)};function Tl(e,o,t,s){t=Number(t)||0;var c=e.length-t;s?(s=Number(s),s>c&&(s=c)):s=c;var p=o.length;s>p/2&&(s=p/2);for(var m=0;m<s;++m){var d=parseInt(o.substr(m*2,2),16);if(or(d))return m;e[t+m]=d}return m}function hl(e,o,t,s){return $n(Jt(o,e.length-t),e,t,s)}function xl(e,o,t,s){return $n(Pl(o),e,t,s)}function yl(e,o,t,s){return $n(ei(o),e,t,s)}function Sl(e,o,t,s){return $n(Cl(o,e.length-t),e,t,s)}l.prototype.write=function(o,t,s,c){if(t===void 0)c="utf8",s=this.length,t=0;else if(s===void 0&&typeof t=="string")c=t,s=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(s)?(s=s>>>0,c===void 0&&(c="utf8")):(c=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((s===void 0||s>p)&&(s=p),o.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return Tl(this,o,t,s);case"utf8":case"utf-8":return hl(this,o,t,s);case"ascii":case"latin1":case"binary":return xl(this,o,t,s);case"base64":return yl(this,o,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sl(this,o,t,s);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bl(e,o,t){return o===0&&t===e.length?Xt.fromByteArray(e):Xt.fromByteArray(e.slice(o,t))}function Ya(e,o,t){t=Math.min(e.length,t);for(var s=[],c=o;c<t;){var p=e[c],m=null,d=p>239?4:p>223?3:p>191?2:1;if(c+d<=t){var _,T,f,b;switch(d){case 1:p<128&&(m=p);break;case 2:_=e[c+1],(_&192)===128&&(b=(p&31)<<6|_&63,b>127&&(m=b));break;case 3:_=e[c+1],T=e[c+2],(_&192)===128&&(T&192)===128&&(b=(p&15)<<12|(_&63)<<6|T&63,b>2047&&(b<55296||b>57343)&&(m=b));break;case 4:_=e[c+1],T=e[c+2],f=e[c+3],(_&192)===128&&(T&192)===128&&(f&192)===128&&(b=(p&15)<<18|(_&63)<<12|(T&63)<<6|f&63,b>65535&&b<1114112&&(m=b))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,s.push(m>>>10&1023|55296),m=56320|m&1023),s.push(m),c+=d}return wl(s)}var qa=4096;function wl(e){var o=e.length;if(o<=qa)return String.fromCharCode.apply(String,e);for(var t="",s=0;s<o;)t+=String.fromCharCode.apply(String,e.slice(s,s+=qa));return t}function vl(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]&127);return s}function Al(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]);return s}function Il(e,o,t){var s=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>s)&&(t=s);for(var c="",p=o;p<t;++p)c+=Nl[e[p]];return c}function kl(e,o,t){for(var s=e.slice(o,t),c="",p=0;p<s.length-1;p+=2)c+=String.fromCharCode(s[p]+s[p+1]*256);return c}l.prototype.slice=function(o,t){var s=this.length;o=~~o,t=t===void 0?s:~~t,o<0?(o+=s,o<0&&(o=0)):o>s&&(o=s),t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,l.prototype),c};function $(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};l.prototype.readUintBE=l.prototype.readUIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};l.prototype.readUint8=l.prototype.readUInt8=function(o,t){return o=o>>>0,t||$(o,1,this.length),this[o]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||$(o,2,this.length),this[o]|this[o+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||$(o,2,this.length),this[o]<<8|this[o+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||$(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};l.prototype.readIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};l.prototype.readIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};l.prototype.readInt8=function(o,t){return o=o>>>0,t||$(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};l.prototype.readInt16LE=function(o,t){o=o>>>0,t||$(o,2,this.length);var s=this[o]|this[o+1]<<8;return s&32768?s|4294901760:s};l.prototype.readInt16BE=function(o,t){o=o>>>0,t||$(o,2,this.length);var s=this[o+1]|this[o]<<8;return s&32768?s|4294901760:s};l.prototype.readInt32LE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};l.prototype.readInt32BE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};l.prototype.readFloatLE=function(o,t){return o=o>>>0,t||$(o,4,this.length),Do.read(this,o,!0,23,4)};l.prototype.readFloatBE=function(o,t){return o=o>>>0,t||$(o,4,this.length),Do.read(this,o,!1,23,4)};l.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Do.read(this,o,!0,52,8)};l.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Do.read(this,o,!1,52,8)};function te(e,o,t,s,c,p){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+s>e.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;te(this,o,t,s,p,0)}var m=1,d=0;for(this[t]=o&255;++d<s&&(m*=256);)this[t+d]=o/m&255;return t+s};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;te(this,o,t,s,p,0)}var m=s-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+s};l.prototype.writeUint8=l.prototype.writeUInt8=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,1,255,0),this[t]=o&255,t+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};l.prototype.writeIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);te(this,o,t,s,p-1,-p)}var m=0,d=1,_=0;for(this[t]=o&255;++m<s&&(d*=256);)o<0&&_===0&&this[t+m-1]!==0&&(_=1),this[t+m]=(o/d>>0)-_&255;return t+s};l.prototype.writeIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);te(this,o,t,s,p-1,-p)}var m=s-1,d=1,_=0;for(this[t+m]=o&255;--m>=0&&(d*=256);)o<0&&_===0&&this[t+m+1]!==0&&(_=1),this[t+m]=(o/d>>0)-_&255;return t+s};l.prototype.writeInt8=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};l.prototype.writeInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};l.prototype.writeInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};l.prototype.writeInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};l.prototype.writeInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function Za(e,o,t,s,c,p){if(t+s>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Ja(e,o,t,s,c){return o=+o,t=t>>>0,c||Za(e,o,t,4,34028234663852886e22,-34028234663852886e22),Do.write(e,o,t,s,23,4),t+4}l.prototype.writeFloatLE=function(o,t,s){return Ja(this,o,t,!0,s)};l.prototype.writeFloatBE=function(o,t,s){return Ja(this,o,t,!1,s)};function Qa(e,o,t,s,c){return o=+o,t=t>>>0,c||Za(e,o,t,8,17976931348623157e292,-17976931348623157e292),Do.write(e,o,t,s,52,8),t+8}l.prototype.writeDoubleLE=function(o,t,s){return Qa(this,o,t,!0,s)};l.prototype.writeDoubleBE=function(o,t,s){return Qa(this,o,t,!1,s)};l.prototype.copy=function(o,t,s,c){if(!l.isBuffer(o))throw new TypeError("argument should be a Buffer");if(s||(s=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<s&&(c=s),c===s||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-s&&(c=o.length-t+s);var p=c-s;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,s,c):Uint8Array.prototype.set.call(o,this.subarray(s,c),t),p};l.prototype.fill=function(o,t,s,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,s=this.length):typeof s=="string"&&(c=s,s=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!l.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;t=t>>>0,s=s===void 0?this.length:s>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<s;++m)this[m]=o;else{var d=l.isBuffer(o)?o:l.from(o,c),_=d.length;if(_===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<s-t;++m)this[m+t]=d[m%_]}return this};var Ll=/[^+/0-9A-Za-z-_]/g;function El(e){if(e=e.split("=")[0],e=e.trim().replace(Ll,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Jt(e,o){o=o||1/0;for(var t,s=e.length,c=null,p=[],m=0;m<s;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===s){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function Pl(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function Cl(e,o){for(var t,s,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),s=t>>8,c=t%256,p.push(c),p.push(s);return p}function ei(e){return Xt.toByteArray(El(e))}function $n(e,o,t,s){for(var c=0;c<s&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function ve(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function or(e){return e!==e}var Nl=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var s=t*16,c=0;c<16;++c)o[s+c]=e[t]+e[c];return o}()});var ii=S((zx,ai)=>{n();var W=ai.exports={},Ae,Ie;function nr(){throw new Error("setTimeout has not been defined")}function tr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ae=setTimeout:Ae=nr}catch(e){Ae=nr}try{typeof clearTimeout=="function"?Ie=clearTimeout:Ie=tr}catch(e){Ie=tr}})();function ni(e){if(Ae===setTimeout)return setTimeout(e,0);if((Ae===nr||!Ae)&&setTimeout)return Ae=setTimeout,setTimeout(e,0);try{return Ae(e,0)}catch(o){try{return Ae.call(null,e,0)}catch(t){return Ae.call(this,e,0)}}}function Rl(e){if(Ie===clearTimeout)return clearTimeout(e);if((Ie===tr||!Ie)&&clearTimeout)return Ie=clearTimeout,clearTimeout(e);try{return Ie(e)}catch(o){try{return Ie.call(null,e)}catch(t){return Ie.call(this,e)}}}var Be=[],Oo=!1,lo,qn=-1;function Dl(){!Oo||!lo||(Oo=!1,lo.length?Be=lo.concat(Be):qn=-1,Be.length&&ti())}function ti(){if(!Oo){var e=ni(Dl);Oo=!0;for(var o=Be.length;o;){for(lo=Be,Be=[];++qn<o;)lo&&lo[qn].run();qn=-1,o=Be.length}lo=null,Oo=!1,Rl(e)}}W.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];Be.push(new ri(e,o)),Be.length===1&&!Oo&&ni(ti)};function ri(e,o){this.fun=e,this.array=o}ri.prototype.run=function(){this.fun.apply(null,this.array)};W.title="browser";W.browser=!0;W.env={};W.argv=[];W.version="";W.versions={};function Fe(){}W.on=Fe;W.addListener=Fe;W.once=Fe;W.off=Fe;W.removeListener=Fe;W.removeAllListeners=Fe;W.emit=Fe;W.prependListener=Fe;W.prependOnceListener=Fe;W.listeners=function(e){return[]};W.binding=function(e){throw new Error("process.binding is not supported")};W.cwd=function(){return"/"};W.chdir=function(e){throw new Error("process.chdir is not supported")};W.umask=function(){return 0}});var r,i,Ml,a,n=h(()=>{r=x(oi()),i=x(ii()),Ml=function(e){function o(){var s=this||self;return delete e.prototype.__magic__,s}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),a=Ml});var si=h(()=>{"use strict";n()});var ci,Ze,pi,rr,mi,di,jn,ke=h(()=>{"use strict";n();ci="error when signing",Ze="Transaction canceled",pi="error signing transaction",rr="provider not initialized",mi="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",di="Undefined transaction status",jn="You cannot sign transactions from a different account"});var li=h(()=>{"use strict";n()});var ar,_i=h(()=>{"use strict";n();ar=(s=>(s.SetGuardian="SetGuardian",s.GuardAccount="GuardAccount",s.UnGuardAccount="UnGuardAccount",s))(ar||{})});var ui=h(()=>{"use strict";n()});var ir=h(()=>{"use strict";n()});var gi=h(()=>{"use strict";n()});var sr,cr=h(()=>{"use strict";n();sr=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(sr||{})});var fi=h(()=>{"use strict";n()});var Ti=h(()=>{"use strict";n()});var ee,Bo,Je=h(()=>{"use strict";n();ee=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Bo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var hi,ay,xi,iy,R=h(()=>{"use strict";n();Je();hi=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hi||{}),ay=u(u({},Bo.WindowProviderRequestEnums),hi),xi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(xi||{}),iy=u(u({},Bo.WindowProviderResponseEnums),xi)});var yi=h(()=>{"use strict";n()});var Si=h(()=>{"use strict";n()});var re=h(()=>{"use strict";n()});var bi=h(()=>{"use strict";n()});var wi=h(()=>{"use strict";n()});var vi=h(()=>{"use strict";n()});var U=h(()=>{"use strict";n();cr();fi();Ti();R();yi();Si();re();bi();wi();vi()});var _o,Ai,wy,Ii,vy,ki,Ay,Iy,Li,Fo=h(()=>{"use strict";n();U();_o={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Ai,egldLabel:wy}=_o["devnet"],{chainId:Ii,egldLabel:vy}=_o["testnet"],{chainId:ki,egldLabel:Ay}=_o["mainnet"],Iy={["devnet"]:Ai,["testnet"]:Ii,["mainnet"]:ki},Li={[Ai]:"devnet",[Ii]:"testnet",[ki]:"mainnet"}});var Ei,un=h(()=>{"use strict";n();Ei="cancel-transaction-toast"});var Le,Pi=h(()=>{"use strict";n();Le=require("@multiversx/sdk-web-wallet-provider")});var Ee,uo=h(()=>{"use strict";n();Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Ci,Ni,pr,Ny,Ry,mr=h(()=>{"use strict";n();uo();pr=String((Ni=(Ci=Ee.safeWindow)==null?void 0:Ci.navigator)==null?void 0:Ni.userAgent),Ny=/^((?!chrome|android).)*safari/i.test(pr),Ry=/firefox/i.test(pr)&&/windows/i.test(pr)});var zn,Kn,Ri,Di,Pe,Xn,Mi,Yn,Oi,Wo,I=h(()=>{"use strict";n();si();ke();li();_i();ui();ir();gi();Fo();un();Pi();mr();zn=5e4,Kn=1e9,Ri=1,Di="/dapp/init",Pe="signSession",Xn="sdk-dapp-version",Mi="4.3.8",Yn="logout",Oi="login",Wo="0"});var gn,Zn=h(()=>{"use strict";n();gn=()=>Date.now()/1e3});var Bi=h(()=>{"use strict";n()});var Fi=h(()=>{"use strict";n()});var dr=h(()=>{"use strict";n();Zn();Bi();Fi()});var lr={};xe(lr,{clear:()=>Wl,getItem:()=>Bl,localStorageKeys:()=>We,removeItem:()=>Fl,setItem:()=>Ol});var We,Jn,Ol,Bl,Fl,Wl,go=h(()=>{"use strict";n();dr();We={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Jn=typeof localStorage!="undefined",Ol=({key:e,data:o,expires:t})=>{!Jn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Bl=e=>{if(!Jn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:gn()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Fl=e=>{!Jn||localStorage.removeItem(String(e))},Wl=()=>{!Jn||localStorage.clear()}});var _r={};xe(_r,{clear:()=>Hi,getItem:()=>Ui,removeItem:()=>Gi,sessionStorageKeys:()=>Ul,setItem:()=>Wi,storage:()=>Gl});var Ul,Wi,Ui,Gi,Hi,Gl,Vi=h(()=>{"use strict";n();Ul={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},Wi=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Ui=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},Gi=e=>sessionStorage.removeItem(String(e)),Hi=()=>sessionStorage.clear(),Gl={setItem:Wi,getItem:Ui,removeItem:Gi,clear:Hi}});var Qe,fo=h(()=>{"use strict";n();go();Vi();Qe={session:_r,local:lr}});var ur,D,ae,M=h(()=>{"use strict";n();ur=require("@reduxjs/toolkit");I();D=(0,ur.createAction)(Yn),ae=(0,ur.createAction)(Oi,e=>({payload:e}))});var fr,$i,qi,ge,gr,ji,ye,eo,Tr,mS,Hl,Vl,dS,lS,_S,$l,ql,Qn,et=h(()=>{"use strict";n();fr=require("@multiversx/sdk-core"),$i=require("@reduxjs/toolkit"),qi=require("redux-persist");I();fo();go();M();ge={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Wo},gr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":ge},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ji=(0,$i.createSlice)({name:"accountInfoSlice",initialState:gr,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new fr.Address(t).hex():""},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:ge},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(D,()=>(Qe.local.removeItem(We.loginExpiresAt),gr)),e.addCase(ae,(o,t)=>{let{address:s}=t.payload;o.address=s,o.publicKey=new fr.Address(s).toHex()}),e.addCase(qi.REHYDRATE,(o,t)=>{var T;if(!((T=t.payload)!=null&&T.account))return;let{account:s}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=s;o.address=c,o.shard=p;let _=m&&c in m;o.accounts=_?m:gr.accounts,o.publicKey=d})}}),{setAccount:ye,setAddress:eo,setAccountNonce:Tr,setAccountShard:mS,setLedgerAccount:Hl,updateLedgerAccount:Vl,setWalletConnectAccount:dS,setIsAccountLoading:lS,setAccountLoadingError:_S,setWebsocketEvent:$l,setWebsocketBatchEvent:ql}=ji.actions,Qn=ji.reducer});function fn(){return new Date().setHours(new Date().getHours()+24)}function Tn(e){Qe.local.setItem({key:We.loginExpiresAt,data:e,expires:e})}var hr=h(()=>{"use strict";n();fo();go()});var Ki,zi,Xi,wS,jl,zl,xr,vS,Kl,Yi,AS,IS,kS,ot,nt=h(()=>{"use strict";n();Ki=require("@reduxjs/toolkit");hr();R();M();zi={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Xi=(0,Ki.createSlice)({name:"loginInfoSlice",initialState:zi,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},setWebviewLogin:(e,o)=>{e.webviewLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload},setIsWalletConnectV2Initialized:(e,o)=>{e.isWalletConnectV2Initialized=o.payload}},extraReducers:e=>{e.addCase(D,()=>zi),e.addCase(ae,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,Tn(fn())})}}),{setLoginMethod:wS,setWalletConnectLogin:jl,setLedgerLogin:zl,setTokenLogin:xr,setTokenLoginSignature:vS,setWalletLogin:Kl,invalidateLoginSession:Yi,setLogoutRoute:AS,setIsWalletConnectV2Initialized:IS,setWebviewLogin:kS}=Xi.actions,ot=Xi.reducer});var Ji,Zi,Qi,CS,Xl,NS,Yl,tt,rt=h(()=>{"use strict";n();Ji=require("@reduxjs/toolkit");M();Zi={},Qi=(0,Ji.createSlice)({name:"modalsSlice",initialState:Zi,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(D,()=>Zi)}}),{setTxSubmittedModal:CS,setNotificationModal:Xl,clearTxSubmittedModal:NS,clearNotificationModal:Yl}=Qi.actions,tt=Qi.reducer});var Ue,Uo=h(()=>{"use strict";n();Ue=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,X=h(()=>{"use strict";n();Uo();N=()=>{if(!Ue())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:s,href:c,search:p}}=window;return{pathname:o,hash:t,origin:s,href:c,search:p}}});var es=h(()=>{"use strict";n();X()});var To,os=h(()=>{"use strict";n();Z();To=()=>{let{pathname:e,search:o,hash:t}=N();return`${e!=null?e:""}${o!=null?o:""}${t!=null?t:""}`}});var ns=h(()=>{"use strict";n();uo()});var Z=h(()=>{"use strict";n();es();os();X();ns()});var hn=h(()=>{"use strict";n();Z()});var rs=h(()=>{"use strict";n();hn()});function as(e){return e[Math.floor(Math.random()*e.length)]}var is=h(()=>{"use strict";n()});var yr=h(()=>{"use strict";n();ir()});var Ge=h(()=>{"use strict";n();rs();is();yr()});var ss,cs,ps,Sr,Jl,ms,db,lb,ds,at,it=h(()=>{"use strict";n();ss=require("@reduxjs/toolkit"),cs=x(require("lodash.omit")),ps=require("redux-persist");un();M();Ge();Sr={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},Jl={network:Sr},ms=(0,ss.createSlice)({name:"appConfig",initialState:Jl,reducers:{initializeNetworkConfig:(e,o)=>{let t=as(o.payload.walletConnectV2RelayAddresses),s=(0,cs.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(u(u({},e.network),s),{walletConnectV2RelayAddress:t})},updateNetworkConfig:(e,o)=>{e.network=u(u({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(D,o=>{o.network.customWalletAddress=void 0}),e.addCase(ps.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:s}}=t.payload;o.network.customWalletAddress=s})}}),{initializeNetworkConfig:db,updateNetworkConfig:lb,setCustomWalletAddress:ds}=ms.actions,at=ms.reducer});var ls,br,_s,hb,xb,yb,st,ct=h(()=>{"use strict";n();ls=require("@reduxjs/toolkit");U();M();br={isSigning:!1,signedSessions:{}},_s=(0,ls.createSlice)({name:"signedMessageInfoSliceState",initialState:br,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:s,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=s.status==="pending",e.signedSessions[t]=u(u({},e.signedSessions[t]),s)},setSignSessionState:(e,o)=>u(u({},e),o.payload),clearSignedMessageInfo:()=>br},extraReducers:e=>{e.addCase(D,()=>br)}}),{setSignSession:hb,clearSignedMessageInfo:xb,setSignSessionState:yb}=_s.actions,st=_s.reducer});var gs,fs,us,Ts,wr,Ql,kb,e_,pt,mt=h(()=>{"use strict";n();gs=require("@reduxjs/toolkit"),fs=require("redux-persist");U();Zn();M();us={customToasts:[],transactionToasts:[]},Ts=(0,gs.createSlice)({name:"toastsSlice",initialState:us,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,s=e.customToasts.findIndex(c=>c.toastId===t);if(s!==-1){e.customToasts[s]=w(u(u({},e.customToasts[s]),o.payload),{type:"custom",toastId:t});return}e.customToasts.push(w(u({},o.payload),{type:"custom",toastId:t}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:gn(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(D,()=>us),e.addCase(fs.REHYDRATE,(o,t)=>{var c,p;let s=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=s})}}),{addCustomToast:wr,removeCustomToast:Ql,addTransactionToast:kb,removeTransactionToast:e_}=Ts.actions,pt=Ts.reducer});var hs,Ar,Ir,kr,o_,vr,xs,Cb,n_,xn,dt,lt=h(()=>{"use strict";n();hs=require("@reduxjs/toolkit");M();Ar="Transaction failed",Ir="Transaction successful",kr="Processing transaction",o_="Transaction submitted",vr={},xs=(0,hs.createSlice)({name:"transactionsInfo",initialState:vr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:s}=o.payload;t!=null&&(e[t]={errorMessage:(s==null?void 0:s.errorMessage)||Ar,successMessage:(s==null?void 0:s.successMessage)||Ir,processingMessage:(s==null?void 0:s.processingMessage)||kr,submittedMessage:(s==null?void 0:s.submittedMessage)||o_,transactionDuration:s==null?void 0:s.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>vr},extraReducers:e=>{e.addCase(D,()=>vr)}}),{clearTransactionsInfo:Cb,setTransactionsDisplayInfo:n_,clearTransactionsInfoForSessionId:xn}=xs.actions,dt=xs.reducer});function Ho(e){return e!=null&&(l_(e)||T_(e))}function Vo(e){return e!=null&&(__(e)||h_(e))}function $o(e){return e!=null&&(u_(e)||x_(e))}function ys(e){return e!=null&&(g_(e)||y_(e))}function Lr(e){return e!=null&&f_(e)}function l_(e){return e!=null&&t_.includes(e)}function __(e){return e!=null&&r_.includes(e)}function u_(e){return e!=null&&a_.includes(e)}function g_(e){return e!=null&&i_.includes(e)}function f_(e){return e!=null&&s_.includes(e)}function T_(e){return e!=null&&c_.includes(e)}function h_(e){return e!=null&&p_.includes(e)}function x_(e){return e!=null&&m_.includes(e)}function y_(e){return e!=null&&d_.includes(e)}var t_,r_,a_,i_,s_,c_,p_,m_,d_,qo=h(()=>{"use strict";n();R();t_=["sent"],r_=["success"],a_=["fail","cancelled","timedOut"],i_=["invalid"],s_=["timedOut"],c_=["pending"],p_=["success"],m_=["fail","invalid"],d_=["not executed"]});var Ss,bs,yn,S_,ws,vs,As,b_,ho,w_,v_,Ub,A_,no,to,Gb,_t,ut=h(()=>{"use strict";n();Ss=require("@reduxjs/toolkit"),bs=require("redux-persist");R();qo();M();yn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},S_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},ws=(0,Ss.createSlice)({name:"transactionsSlice",initialState:yn,reducers:{moveTransactionsToSignedState:(e,o)=>{var _,T;let{sessionId:t,transactions:s,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=u(u(u({},S_),((_=e.signedTransactions[t])==null?void 0:_.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:s,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:u(u({},e.customTransactionInformationForSessionId[t]),d!=null?d:{})},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===t&&(e.transactionsToSign=yn.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=u(u({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:s,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=s,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var T,f,b,P,L,E,Y,O;let{sessionId:t,status:s,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,_=(f=(T=e.signedTransactions)==null?void 0:T[t])==null?void 0:f.transactions;if(_!=null){e.signedTransactions[t].transactions=_.map(B=>B.hash===p?w(u(u({},m!=null?m:{}),B),{status:s,errorMessage:c,inTransit:d}):B);let q=(P=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:P.every(B=>Vo(B.status)),oe=(E=(L=e.signedTransactions[t])==null?void 0:L.transactions)==null?void 0:E.some(B=>$o(B.status)),Te=(O=(Y=e.signedTransactions[t])==null?void 0:Y.transactions)==null?void 0:O.every(B=>ys(B.status));q&&(e.signedTransactions[t].status="success"),oe&&(e.signedTransactions[t].status="fail"),Te&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:s}=o.payload;e.customTransactionInformationForSessionId[t]=s,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=yn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=yn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:s}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=u(u({},e.signedTransactions[t].customTransactionInformation),s))}},extraReducers:e=>{e.addCase(D,()=>yn),e.addCase(bs.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:s,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(s).reduce((d,[_,T])=>{let f=new Date(_),b=new Date;return b.setHours(b.getHours()+5),b-f>0||(d[_]=T),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),s!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:vs,updateSignedTransactions:As,setTransactionsToSign:b_,clearAllTransactionsToSign:ho,clearAllSignedTransactions:w_,clearSignedTransaction:v_,clearTransactionToSign:Ub,setSignTransactionsError:A_,setSignTransactionsCancelMessage:no,moveTransactionsToSignedState:to,updateSignedTransactionsCustomTransactionInformation:Gb}=ws.actions,_t=ws.reducer});var Is,Er,ks,qb,jb,I_,zb,gt,ft=h(()=>{"use strict";n();Is=require("@reduxjs/toolkit");M();Er={},ks=(0,Is.createSlice)({name:"batchTransactionsSlice",initialState:Er,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Er},extraReducers:e=>{e.addCase(D,()=>Er)}}),{setBatchTransactions:qb,updateBatchTransactions:jb,clearBatchTransactions:I_,clearAllBatchTransactions:zb}=ks.actions,gt=ks.reducer});var Es,Ls,Ps,Zb,Cs,Pr=h(()=>{"use strict";n();Es=require("@reduxjs/toolkit");M();Ls={},Ps=(0,Es.createSlice)({name:"dappConfigSlice",initialState:Ls,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(D,()=>Ls)}}),{setDappConfig:Zb}=Ps.actions,Cs=Ps.reducer});var k=h(()=>{"use strict";n();et();nt();rt();it();ct();mt();lt();ut();ft();Pr()});var Cr=h(()=>{"use strict";n()});var Ds,P_,C_,xo,xt=h(()=>{"use strict";n();Ds=require("@reduxjs/toolkit");Cr();et();ft();Pr();nt();rt();it();ct();mt();lt();ut();P_={["account"]:Qn,["dappConfig"]:Cs,["loginInfo"]:ot,["modals"]:tt,["networkConfig"]:at,["signedMessageInfo"]:st,["toasts"]:pt,["transactionsInfo"]:dt,["transactions"]:_t,["batchTransactions"]:gt},C_=(e={})=>(0,Ds.combineReducers)(u(u({},P_),e)),xo=C_});var Fs={};xe(Fs,{default:()=>z_,sessionStorageReducers:()=>Nr});function He(e,o=[]){return{key:e,version:1,storage:Os.default,blacklist:o}}var ie,Ms,Os,N_,Sn,R_,D_,M_,O_,B_,F_,W_,U_,G_,H_,Bs,V_,Nr,$_,q_,j_,z_,Ws=h(()=>{"use strict";n();ie=require("redux-persist"),Ms=x(require("redux-persist/lib/storage")),Os=x(require("redux-persist/lib/storage/session"));xt();k();et();ft();nt();rt();it();ct();mt();lt();ut();Cr();N_={persistReducersStorageType:"localStorage"},Sn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},R_=He(Sn["account"]),D_=He(Sn["loginInfo"]),M_=He(Sn["modals"]),O_=He(Sn["networkConfig"]),B_={2:e=>w(u({},e),{networkConfig:Sr})};F_=He("sdk-dapp-transactionsInfo"),W_=He("sdk-dapp-transactions",["transactionsToSign"]),U_=He("sdk-dapp-batchTransactions",["batchTransactions"]),G_=He("sdk-dapp-toasts"),H_=He("sdk-dapp-signedMessageInfo"),Bs={key:"sdk-dapp-store",version:2,storage:Ms.default,whitelist:Object.keys(Sn),migrate:(0,ie.createMigrate)(B_,{debug:!1})},V_=w(u({},Bs),{whitelist:[]}),Nr={["toasts"]:(0,ie.persistReducer)(G_,pt),["transactions"]:(0,ie.persistReducer)(W_,_t),["transactionsInfo"]:(0,ie.persistReducer)(F_,dt),["batchTransactions"]:(0,ie.persistReducer)(U_,gt),["signedMessageInfo"]:(0,ie.persistReducer)(H_,st)},$_=w(u({},Nr),{["account"]:(0,ie.persistReducer)(R_,Qn),["loginInfo"]:(0,ie.persistReducer)(D_,ot),["modals"]:(0,ie.persistReducer)(M_,tt),["networkConfig"]:(0,ie.persistReducer)(O_,at)}),q_=N_.persistReducersStorageType==="localStorage",j_=q_?(0,ie.persistReducer)(Bs,xo(Nr)):(0,ie.persistReducer)(V_,xo($_)),z_=j_});var Us={};xe(Us,{default:()=>K_});var K_,Gs=h(()=>{"use strict";n();xt();K_=xo()});var Hs={};xe(Hs,{default:()=>Y_});var fe,X_,Y_,Vs=h(()=>{"use strict";n();fe=require("redux-persist"),X_=[fe.FLUSH,fe.REHYDRATE,fe.PAUSE,fe.PERSIST,fe.PURGE,fe.REGISTER],Y_=X_});var js={};xe(js,{default:()=>qs});function qs(e){return(0,$s.persistStore)(e)}var $s,zs=h(()=>{"use strict";n();$s=require("redux-persist")});var tp=S((V2,np)=>{n();var Ng=typeof a=="object"&&a&&a.Object===Object&&a;np.exports=Ng});var Ln=S(($2,rp)=>{n();var Rg=tp(),Dg=typeof self=="object"&&self&&self.Object===Object&&self,Mg=Rg||Dg||Function("return this")();rp.exports=Mg});var na=S((q2,ap)=>{n();var Og=Ln(),Bg=Og.Symbol;ap.exports=Bg});var pp=S((j2,cp)=>{n();var ip=na(),sp=Object.prototype,Fg=sp.hasOwnProperty,Wg=sp.toString,En=ip?ip.toStringTag:void 0;function Ug(e){var o=Fg.call(e,En),t=e[En];try{e[En]=void 0;var s=!0}catch(p){}var c=Wg.call(e);return s&&(o?e[En]=t:delete e[En]),c}cp.exports=Ug});var dp=S((z2,mp)=>{n();var Gg=Object.prototype,Hg=Gg.toString;function Vg(e){return Hg.call(e)}mp.exports=Vg});var ta=S((K2,up)=>{n();var lp=na(),$g=pp(),qg=dp(),jg="[object Null]",zg="[object Undefined]",_p=lp?lp.toStringTag:void 0;function Kg(e){return e==null?e===void 0?zg:jg:_p&&_p in Object(e)?$g(e):qg(e)}up.exports=Kg});var fp=S((X2,gp)=>{n();var Xg=Array.isArray;gp.exports=Xg});var hp=S((Y2,Tp)=>{n();function Yg(e){return e!=null&&typeof e=="object"}Tp.exports=Yg});var yp=S((Z2,xp)=>{n();var Zg=ta(),Jg=fp(),Qg=hp(),ef="[object String]";function of(e){return typeof e=="string"||!Jg(e)&&Qg(e)&&Zg(e)==ef}xp.exports=of});var ia={};xe(ia,{css:()=>Ip,default:()=>mf});var Ip,mf,sa=h(()=>{"use strict";n();Ip=`.dapp-core-component__main__link-style {
1
+ "use strict";var Zd=Object.create;var _n=Object.defineProperty,Jd=Object.defineProperties,Qd=Object.getOwnPropertyDescriptor,el=Object.getOwnPropertyDescriptors,ol=Object.getOwnPropertyNames,Gn=Object.getOwnPropertySymbols,nl=Object.getPrototypeOf,jt=Object.prototype.hasOwnProperty,Ba=Object.prototype.propertyIsEnumerable;var Oa=(e,o,t)=>o in e?_n(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))jt.call(o,t)&&Oa(e,t,o[t]);if(Gn)for(var t of Gn(o))Ba.call(o,t)&&Oa(e,t,o[t]);return e},w=(e,o)=>Jd(e,el(o));var Ye=(e,o)=>{var t={};for(var s in e)jt.call(e,s)&&o.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&Gn)for(var s of Gn(e))o.indexOf(s)<0&&Ba.call(e,s)&&(t[s]=e[s]);return t};var h=(e,o)=>()=>(e&&(o=e(e=0)),o);var S=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),xe=(e,o)=>{for(var t in o)_n(e,t,{get:o[t],enumerable:!0})},Fa=(e,o,t,s)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of ol(o))!jt.call(e,c)&&c!==t&&_n(e,c,{get:()=>o[c],enumerable:!(s=Qd(o,c))||s.enumerable});return e};var x=(e,o,t)=>(t=e!=null?Zd(nl(e)):{},Fa(o||!e||!e.__esModule?_n(t,"default",{value:e,enumerable:!0}):t,e)),de=e=>Fa(_n({},"__esModule",{value:!0}),e);var g=(e,o,t)=>new Promise((s,c)=>{var p=_=>{try{d(t.next(_))}catch(T){c(T)}},m=_=>{try{d(t.throw(_))}catch(T){c(T)}},d=_=>_.done?s(_.value):Promise.resolve(_.value).then(p,m);d((t=t.apply(e,o)).next())});var Ga=S(Hn=>{"use strict";n();Hn.byteLength=rl;Hn.toByteArray=il;Hn.fromByteArray=pl;var we=[],ue=[],tl=typeof Uint8Array!="undefined"?Uint8Array:Array,zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(po=0,Wa=zt.length;po<Wa;++po)we[po]=zt[po],ue[zt.charCodeAt(po)]=po;var po,Wa;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Ua(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var s=t===o?0:4-t%4;return[t,s]}function rl(e){var o=Ua(e),t=o[0],s=o[1];return(t+s)*3/4-s}function al(e,o,t){return(o+t)*3/4-t}function il(e){var o,t=Ua(e),s=t[0],c=t[1],p=new tl(al(e,s,c)),m=0,d=c>0?s-4:s,_;for(_=0;_<d;_+=4)o=ue[e.charCodeAt(_)]<<18|ue[e.charCodeAt(_+1)]<<12|ue[e.charCodeAt(_+2)]<<6|ue[e.charCodeAt(_+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=ue[e.charCodeAt(_)]<<2|ue[e.charCodeAt(_+1)]>>4,p[m++]=o&255),c===1&&(o=ue[e.charCodeAt(_)]<<10|ue[e.charCodeAt(_+1)]<<4|ue[e.charCodeAt(_+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function sl(e){return we[e>>18&63]+we[e>>12&63]+we[e>>6&63]+we[e&63]}function cl(e,o,t){for(var s,c=[],p=o;p<t;p+=3)s=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(sl(s));return c.join("")}function pl(e){for(var o,t=e.length,s=t%3,c=[],p=16383,m=0,d=t-s;m<d;m+=p)c.push(cl(e,m,m+p>d?d:m+p));return s===1?(o=e[t-1],c.push(we[o>>2]+we[o<<4&63]+"==")):s===2&&(o=(e[t-2]<<8)+e[t-1],c.push(we[o>>10]+we[o>>4&63]+we[o<<2&63]+"=")),c.join("")}});var Ha=S(Kt=>{n();Kt.read=function(e,o,t,s,c){var p,m,d=c*8-s-1,_=(1<<d)-1,T=_>>1,f=-7,b=t?c-1:0,P=t?-1:1,L=e[o+b];for(b+=P,p=L&(1<<-f)-1,L>>=-f,f+=d;f>0;p=p*256+e[o+b],b+=P,f-=8);for(m=p&(1<<-f)-1,p>>=-f,f+=s;f>0;m=m*256+e[o+b],b+=P,f-=8);if(p===0)p=1-T;else{if(p===_)return m?NaN:(L?-1:1)*(1/0);m=m+Math.pow(2,s),p=p-T}return(L?-1:1)*m*Math.pow(2,p-s)};Kt.write=function(e,o,t,s,c,p){var m,d,_,T=p*8-c-1,f=(1<<T)-1,b=f>>1,P=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,L=s?0:p-1,E=s?1:-1,Y=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(d=isNaN(o)?1:0,m=f):(m=Math.floor(Math.log(o)/Math.LN2),o*(_=Math.pow(2,-m))<1&&(m--,_*=2),m+b>=1?o+=P/_:o+=P*Math.pow(2,1-b),o*_>=2&&(m++,_/=2),m+b>=f?(d=0,m=f):m+b>=1?(d=(o*_-1)*Math.pow(2,c),m=m+b):(d=o*Math.pow(2,b-1)*Math.pow(2,c),m=0));c>=8;e[t+L]=d&255,L+=E,d/=256,c-=8);for(m=m<<c|d,T+=c;T>0;e[t+L]=m&255,L+=E,m/=256,T-=8);e[t+L-E]|=Y*128}});var oi=S(Mo=>{"use strict";n();var Xt=Ga(),Do=Ha(),Va=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Mo.Buffer=l;Mo.SlowBuffer=gl;Mo.INSPECT_MAX_BYTES=50;var Vn=2147483647;Mo.kMaxLength=Vn;l.TYPED_ARRAY_SUPPORT=ml();!l.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 ml(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.buffer}});Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(!!l.isBuffer(this))return this.byteOffset}});function Oe(e){if(e>Vn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,l.prototype),o}function l(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Qt(e)}return ja(e,o,t)}l.poolSize=8192;function ja(e,o,t){if(typeof e=="string")return ll(e,o);if(ArrayBuffer.isView(e))return _l(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(ve(e,ArrayBuffer)||e&&ve(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(ve(e,SharedArrayBuffer)||e&&ve(e.buffer,SharedArrayBuffer)))return Zt(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var s=e.valueOf&&e.valueOf();if(s!=null&&s!==e)return l.from(s,o,t);var c=ul(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return l.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}l.from=function(e,o,t){return ja(e,o,t)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function za(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 dl(e,o,t){return za(e),e<=0?Oe(e):o!==void 0?typeof t=="string"?Oe(e).fill(o,t):Oe(e).fill(o):Oe(e)}l.alloc=function(e,o,t){return dl(e,o,t)};function Qt(e){return za(e),Oe(e<0?0:er(e)|0)}l.allocUnsafe=function(e){return Qt(e)};l.allocUnsafeSlow=function(e){return Qt(e)};function ll(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=Ka(e,o)|0,s=Oe(t),c=s.write(e,o);return c!==t&&(s=s.slice(0,c)),s}function Yt(e){for(var o=e.length<0?0:er(e.length)|0,t=Oe(o),s=0;s<o;s+=1)t[s]=e[s]&255;return t}function _l(e){if(ve(e,Uint8Array)){var o=new Uint8Array(e);return Zt(o.buffer,o.byteOffset,o.byteLength)}return Yt(e)}function Zt(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var s;return o===void 0&&t===void 0?s=new Uint8Array(e):t===void 0?s=new Uint8Array(e,o):s=new Uint8Array(e,o,t),Object.setPrototypeOf(s,l.prototype),s}function ul(e){if(l.isBuffer(e)){var o=er(e.length)|0,t=Oe(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||or(e.length)?Oe(0):Yt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Yt(e.data)}function er(e){if(e>=Vn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Vn.toString(16)+" bytes");return e|0}function gl(e){return+e!=e&&(e=0),l.alloc(+e)}l.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==l.prototype};l.compare=function(o,t){if(ve(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),ve(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(o)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var s=o.length,c=t.length,p=0,m=Math.min(s,c);p<m;++p)if(o[p]!==t[p]){s=o[p],c=t[p];break}return s<c?-1:c<s?1:0};l.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};l.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return l.alloc(0);var s;if(t===void 0)for(t=0,s=0;s<o.length;++s)t+=o[s].length;var c=l.allocUnsafe(t),p=0;for(s=0;s<o.length;++s){var m=o[s];if(ve(m,Uint8Array))p+m.length>c.length?l.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(l.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function Ka(e,o){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||ve(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,s=arguments.length>2&&arguments[2]===!0;if(!s&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Jt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return ei(e).length;default:if(c)return s?-1:Jt(e).length;o=(""+o).toLowerCase(),c=!0}}l.byteLength=Ka;function fl(e,o,t){var s=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Il(this,o,t);case"utf8":case"utf-8":return Ya(this,o,t);case"ascii":return vl(this,o,t);case"latin1":case"binary":return Al(this,o,t);case"base64":return bl(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return kl(this,o,t);default:if(s)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}l.prototype._isBuffer=!0;function mo(e,o,t){var s=e[o];e[o]=e[t],e[t]=s}l.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)mo(this,t,t+1);return this};l.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)mo(this,t,t+3),mo(this,t+1,t+2);return this};l.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)mo(this,t,t+7),mo(this,t+1,t+6),mo(this,t+2,t+5),mo(this,t+3,t+4);return this};l.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?Ya(this,0,o):fl.apply(this,arguments)};l.prototype.toLocaleString=l.prototype.toString;l.prototype.equals=function(o){if(!l.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:l.compare(this,o)===0};l.prototype.inspect=function(){var o="",t=Mo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};Va&&(l.prototype[Va]=l.prototype.inspect);l.prototype.compare=function(o,t,s,c,p){if(ve(o,Uint8Array)&&(o=l.from(o,o.offset,o.byteLength)),!l.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),s===void 0&&(s=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||s>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=s)return 0;if(c>=p)return-1;if(t>=s)return 1;if(t>>>=0,s>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=s-t,_=Math.min(m,d),T=this.slice(c,p),f=o.slice(t,s),b=0;b<_;++b)if(T[b]!==f[b]){m=T[b],d=f[b];break}return m<d?-1:d<m?1:0};function Xa(e,o,t,s,c){if(e.length===0)return-1;if(typeof t=="string"?(s=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,or(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=l.from(o,s)),l.isBuffer(o))return o.length===0?-1:$a(e,o,t,s,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):$a(e,[o],t,s,c);throw new TypeError("val must be string, number or Buffer")}function $a(e,o,t,s,c){var p=1,m=e.length,d=o.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,t/=2}function _(L,E){return p===1?L[E]:L.readUInt16BE(E*p)}var T;if(c){var f=-1;for(T=t;T<m;T++)if(_(e,T)===_(o,f===-1?0:T-f)){if(f===-1&&(f=T),T-f+1===d)return f*p}else f!==-1&&(T-=T-f),f=-1}else for(t+d>m&&(t=m-d),T=t;T>=0;T--){for(var b=!0,P=0;P<d;P++)if(_(e,T+P)!==_(o,P)){b=!1;break}if(b)return T}return-1}l.prototype.includes=function(o,t,s){return this.indexOf(o,t,s)!==-1};l.prototype.indexOf=function(o,t,s){return Xa(this,o,t,s,!0)};l.prototype.lastIndexOf=function(o,t,s){return Xa(this,o,t,s,!1)};function Tl(e,o,t,s){t=Number(t)||0;var c=e.length-t;s?(s=Number(s),s>c&&(s=c)):s=c;var p=o.length;s>p/2&&(s=p/2);for(var m=0;m<s;++m){var d=parseInt(o.substr(m*2,2),16);if(or(d))return m;e[t+m]=d}return m}function hl(e,o,t,s){return $n(Jt(o,e.length-t),e,t,s)}function xl(e,o,t,s){return $n(Pl(o),e,t,s)}function yl(e,o,t,s){return $n(ei(o),e,t,s)}function Sl(e,o,t,s){return $n(Cl(o,e.length-t),e,t,s)}l.prototype.write=function(o,t,s,c){if(t===void 0)c="utf8",s=this.length,t=0;else if(s===void 0&&typeof t=="string")c=t,s=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(s)?(s=s>>>0,c===void 0&&(c="utf8")):(c=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((s===void 0||s>p)&&(s=p),o.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return Tl(this,o,t,s);case"utf8":case"utf-8":return hl(this,o,t,s);case"ascii":case"latin1":case"binary":return xl(this,o,t,s);case"base64":return yl(this,o,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sl(this,o,t,s);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function bl(e,o,t){return o===0&&t===e.length?Xt.fromByteArray(e):Xt.fromByteArray(e.slice(o,t))}function Ya(e,o,t){t=Math.min(e.length,t);for(var s=[],c=o;c<t;){var p=e[c],m=null,d=p>239?4:p>223?3:p>191?2:1;if(c+d<=t){var _,T,f,b;switch(d){case 1:p<128&&(m=p);break;case 2:_=e[c+1],(_&192)===128&&(b=(p&31)<<6|_&63,b>127&&(m=b));break;case 3:_=e[c+1],T=e[c+2],(_&192)===128&&(T&192)===128&&(b=(p&15)<<12|(_&63)<<6|T&63,b>2047&&(b<55296||b>57343)&&(m=b));break;case 4:_=e[c+1],T=e[c+2],f=e[c+3],(_&192)===128&&(T&192)===128&&(f&192)===128&&(b=(p&15)<<18|(_&63)<<12|(T&63)<<6|f&63,b>65535&&b<1114112&&(m=b))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,s.push(m>>>10&1023|55296),m=56320|m&1023),s.push(m),c+=d}return wl(s)}var qa=4096;function wl(e){var o=e.length;if(o<=qa)return String.fromCharCode.apply(String,e);for(var t="",s=0;s<o;)t+=String.fromCharCode.apply(String,e.slice(s,s+=qa));return t}function vl(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]&127);return s}function Al(e,o,t){var s="";t=Math.min(e.length,t);for(var c=o;c<t;++c)s+=String.fromCharCode(e[c]);return s}function Il(e,o,t){var s=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>s)&&(t=s);for(var c="",p=o;p<t;++p)c+=Nl[e[p]];return c}function kl(e,o,t){for(var s=e.slice(o,t),c="",p=0;p<s.length-1;p+=2)c+=String.fromCharCode(s[p]+s[p+1]*256);return c}l.prototype.slice=function(o,t){var s=this.length;o=~~o,t=t===void 0?s:~~t,o<0?(o+=s,o<0&&(o=0)):o>s&&(o=s),t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,l.prototype),c};function $(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};l.prototype.readUintBE=l.prototype.readUIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};l.prototype.readUint8=l.prototype.readUInt8=function(o,t){return o=o>>>0,t||$(o,1,this.length),this[o]};l.prototype.readUint16LE=l.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||$(o,2,this.length),this[o]|this[o+1]<<8};l.prototype.readUint16BE=l.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||$(o,2,this.length),this[o]<<8|this[o+1]};l.prototype.readUint32LE=l.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||$(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};l.prototype.readUint32BE=l.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};l.prototype.readIntLE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};l.prototype.readIntBE=function(o,t,s){o=o>>>0,t=t>>>0,s||$(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};l.prototype.readInt8=function(o,t){return o=o>>>0,t||$(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};l.prototype.readInt16LE=function(o,t){o=o>>>0,t||$(o,2,this.length);var s=this[o]|this[o+1]<<8;return s&32768?s|4294901760:s};l.prototype.readInt16BE=function(o,t){o=o>>>0,t||$(o,2,this.length);var s=this[o+1]|this[o]<<8;return s&32768?s|4294901760:s};l.prototype.readInt32LE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};l.prototype.readInt32BE=function(o,t){return o=o>>>0,t||$(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};l.prototype.readFloatLE=function(o,t){return o=o>>>0,t||$(o,4,this.length),Do.read(this,o,!0,23,4)};l.prototype.readFloatBE=function(o,t){return o=o>>>0,t||$(o,4,this.length),Do.read(this,o,!1,23,4)};l.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Do.read(this,o,!0,52,8)};l.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Do.read(this,o,!1,52,8)};function te(e,o,t,s,c,p){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+s>e.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;te(this,o,t,s,p,0)}var m=1,d=0;for(this[t]=o&255;++d<s&&(m*=256);)this[t+d]=o/m&255;return t+s};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,s=s>>>0,!c){var p=Math.pow(2,8*s)-1;te(this,o,t,s,p,0)}var m=s-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+s};l.prototype.writeUint8=l.prototype.writeUInt8=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,1,255,0),this[t]=o&255,t+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};l.prototype.writeIntLE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);te(this,o,t,s,p-1,-p)}var m=0,d=1,_=0;for(this[t]=o&255;++m<s&&(d*=256);)o<0&&_===0&&this[t+m-1]!==0&&(_=1),this[t+m]=(o/d>>0)-_&255;return t+s};l.prototype.writeIntBE=function(o,t,s,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*s-1);te(this,o,t,s,p-1,-p)}var m=s-1,d=1,_=0;for(this[t+m]=o&255;--m>=0&&(d*=256);)o<0&&_===0&&this[t+m+1]!==0&&(_=1),this[t+m]=(o/d>>0)-_&255;return t+s};l.prototype.writeInt8=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};l.prototype.writeInt16LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};l.prototype.writeInt16BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};l.prototype.writeInt32LE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};l.prototype.writeInt32BE=function(o,t,s){return o=+o,t=t>>>0,s||te(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function Za(e,o,t,s,c,p){if(t+s>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Ja(e,o,t,s,c){return o=+o,t=t>>>0,c||Za(e,o,t,4,34028234663852886e22,-34028234663852886e22),Do.write(e,o,t,s,23,4),t+4}l.prototype.writeFloatLE=function(o,t,s){return Ja(this,o,t,!0,s)};l.prototype.writeFloatBE=function(o,t,s){return Ja(this,o,t,!1,s)};function Qa(e,o,t,s,c){return o=+o,t=t>>>0,c||Za(e,o,t,8,17976931348623157e292,-17976931348623157e292),Do.write(e,o,t,s,52,8),t+8}l.prototype.writeDoubleLE=function(o,t,s){return Qa(this,o,t,!0,s)};l.prototype.writeDoubleBE=function(o,t,s){return Qa(this,o,t,!1,s)};l.prototype.copy=function(o,t,s,c){if(!l.isBuffer(o))throw new TypeError("argument should be a Buffer");if(s||(s=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<s&&(c=s),c===s||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-s&&(c=o.length-t+s);var p=c-s;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,s,c):Uint8Array.prototype.set.call(o,this.subarray(s,c),t),p};l.prototype.fill=function(o,t,s,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,s=this.length):typeof s=="string"&&(c=s,s=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!l.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;t=t>>>0,s=s===void 0?this.length:s>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<s;++m)this[m]=o;else{var d=l.isBuffer(o)?o:l.from(o,c),_=d.length;if(_===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<s-t;++m)this[m+t]=d[m%_]}return this};var Ll=/[^+/0-9A-Za-z-_]/g;function El(e){if(e=e.split("=")[0],e=e.trim().replace(Ll,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Jt(e,o){o=o||1/0;for(var t,s=e.length,c=null,p=[],m=0;m<s;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===s){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function Pl(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function Cl(e,o){for(var t,s,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),s=t>>8,c=t%256,p.push(c),p.push(s);return p}function ei(e){return Xt.toByteArray(El(e))}function $n(e,o,t,s){for(var c=0;c<s&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function ve(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function or(e){return e!==e}var Nl=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var s=t*16,c=0;c<16;++c)o[s+c]=e[t]+e[c];return o}()});var ii=S((zx,ai)=>{n();var W=ai.exports={},Ae,Ie;function nr(){throw new Error("setTimeout has not been defined")}function tr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ae=setTimeout:Ae=nr}catch(e){Ae=nr}try{typeof clearTimeout=="function"?Ie=clearTimeout:Ie=tr}catch(e){Ie=tr}})();function ni(e){if(Ae===setTimeout)return setTimeout(e,0);if((Ae===nr||!Ae)&&setTimeout)return Ae=setTimeout,setTimeout(e,0);try{return Ae(e,0)}catch(o){try{return Ae.call(null,e,0)}catch(t){return Ae.call(this,e,0)}}}function Rl(e){if(Ie===clearTimeout)return clearTimeout(e);if((Ie===tr||!Ie)&&clearTimeout)return Ie=clearTimeout,clearTimeout(e);try{return Ie(e)}catch(o){try{return Ie.call(null,e)}catch(t){return Ie.call(this,e)}}}var Be=[],Oo=!1,lo,qn=-1;function Dl(){!Oo||!lo||(Oo=!1,lo.length?Be=lo.concat(Be):qn=-1,Be.length&&ti())}function ti(){if(!Oo){var e=ni(Dl);Oo=!0;for(var o=Be.length;o;){for(lo=Be,Be=[];++qn<o;)lo&&lo[qn].run();qn=-1,o=Be.length}lo=null,Oo=!1,Rl(e)}}W.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];Be.push(new ri(e,o)),Be.length===1&&!Oo&&ni(ti)};function ri(e,o){this.fun=e,this.array=o}ri.prototype.run=function(){this.fun.apply(null,this.array)};W.title="browser";W.browser=!0;W.env={};W.argv=[];W.version="";W.versions={};function Fe(){}W.on=Fe;W.addListener=Fe;W.once=Fe;W.off=Fe;W.removeListener=Fe;W.removeAllListeners=Fe;W.emit=Fe;W.prependListener=Fe;W.prependOnceListener=Fe;W.listeners=function(e){return[]};W.binding=function(e){throw new Error("process.binding is not supported")};W.cwd=function(){return"/"};W.chdir=function(e){throw new Error("process.chdir is not supported")};W.umask=function(){return 0}});var r,i,Ml,a,n=h(()=>{r=x(oi()),i=x(ii()),Ml=function(e){function o(){var s=this||self;return delete e.prototype.__magic__,s}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),a=Ml});var si=h(()=>{"use strict";n()});var ci,Ze,pi,rr,mi,di,jn,ke=h(()=>{"use strict";n();ci="error when signing",Ze="Transaction canceled",pi="error signing transaction",rr="provider not initialized",mi="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",di="Undefined transaction status",jn="You cannot sign transactions from a different account"});var li=h(()=>{"use strict";n()});var ar,_i=h(()=>{"use strict";n();ar=(s=>(s.SetGuardian="SetGuardian",s.GuardAccount="GuardAccount",s.UnGuardAccount="UnGuardAccount",s))(ar||{})});var ui=h(()=>{"use strict";n()});var ir=h(()=>{"use strict";n()});var gi=h(()=>{"use strict";n()});var sr,cr=h(()=>{"use strict";n();sr=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(sr||{})});var fi=h(()=>{"use strict";n()});var Ti=h(()=>{"use strict";n()});var ee,Bo,Je=h(()=>{"use strict";n();ee=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Bo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var hi,ay,xi,iy,R=h(()=>{"use strict";n();Je();hi=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(hi||{}),ay=u(u({},Bo.WindowProviderRequestEnums),hi),xi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(xi||{}),iy=u(u({},Bo.WindowProviderResponseEnums),xi)});var yi=h(()=>{"use strict";n()});var Si=h(()=>{"use strict";n()});var re=h(()=>{"use strict";n()});var bi=h(()=>{"use strict";n()});var wi=h(()=>{"use strict";n()});var vi=h(()=>{"use strict";n()});var U=h(()=>{"use strict";n();cr();fi();Ti();R();yi();Si();re();bi();wi();vi()});var _o,Ai,wy,Ii,vy,ki,Ay,Iy,Li,Fo=h(()=>{"use strict";n();U();_o={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Ai,egldLabel:wy}=_o["devnet"],{chainId:Ii,egldLabel:vy}=_o["testnet"],{chainId:ki,egldLabel:Ay}=_o["mainnet"],Iy={["devnet"]:Ai,["testnet"]:Ii,["mainnet"]:ki},Li={[Ai]:"devnet",[Ii]:"testnet",[ki]:"mainnet"}});var Ei,un=h(()=>{"use strict";n();Ei="cancel-transaction-toast"});var Le,Pi=h(()=>{"use strict";n();Le=require("@multiversx/sdk-web-wallet-provider")});var Ee,uo=h(()=>{"use strict";n();Ee=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Ci,Ni,pr,Ny,Ry,mr=h(()=>{"use strict";n();uo();pr=String((Ni=(Ci=Ee.safeWindow)==null?void 0:Ci.navigator)==null?void 0:Ni.userAgent),Ny=/^((?!chrome|android).)*safari/i.test(pr),Ry=/firefox/i.test(pr)&&/windows/i.test(pr)});var zn,Kn,Ri,Di,Pe,Xn,Mi,Yn,Oi,Wo,I=h(()=>{"use strict";n();si();ke();li();_i();ui();ir();gi();Fo();un();Pi();mr();zn=5e4,Kn=1e9,Ri=1,Di="/dapp/init",Pe="signSession",Xn="sdk-dapp-version",Mi="4.3.9",Yn="logout",Oi="login",Wo="0"});var gn,Zn=h(()=>{"use strict";n();gn=()=>Date.now()/1e3});var Bi=h(()=>{"use strict";n()});var Fi=h(()=>{"use strict";n()});var dr=h(()=>{"use strict";n();Zn();Bi();Fi()});var lr={};xe(lr,{clear:()=>Wl,getItem:()=>Bl,localStorageKeys:()=>We,removeItem:()=>Fl,setItem:()=>Ol});var We,Jn,Ol,Bl,Fl,Wl,go=h(()=>{"use strict";n();dr();We={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Jn=typeof localStorage!="undefined",Ol=({key:e,data:o,expires:t})=>{!Jn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Bl=e=>{if(!Jn)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:gn()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Fl=e=>{!Jn||localStorage.removeItem(String(e))},Wl=()=>{!Jn||localStorage.clear()}});var _r={};xe(_r,{clear:()=>Hi,getItem:()=>Ui,removeItem:()=>Gi,sessionStorageKeys:()=>Ul,setItem:()=>Wi,storage:()=>Gl});var Ul,Wi,Ui,Gi,Hi,Gl,Vi=h(()=>{"use strict";n();Ul={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},Wi=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Ui=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},Gi=e=>sessionStorage.removeItem(String(e)),Hi=()=>sessionStorage.clear(),Gl={setItem:Wi,getItem:Ui,removeItem:Gi,clear:Hi}});var Qe,fo=h(()=>{"use strict";n();go();Vi();Qe={session:_r,local:lr}});var ur,D,ae,M=h(()=>{"use strict";n();ur=require("@reduxjs/toolkit");I();D=(0,ur.createAction)(Yn),ae=(0,ur.createAction)(Oi,e=>({payload:e}))});var fr,$i,qi,ge,gr,ji,ye,eo,Tr,mS,Hl,Vl,dS,lS,_S,$l,ql,Qn,et=h(()=>{"use strict";n();fr=require("@multiversx/sdk-core"),$i=require("@reduxjs/toolkit"),qi=require("redux-persist");I();fo();go();M();ge={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Wo},gr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":ge},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ji=(0,$i.createSlice)({name:"accountInfoSlice",initialState:gr,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new fr.Address(t).hex():""},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:ge},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(D,()=>(Qe.local.removeItem(We.loginExpiresAt),gr)),e.addCase(ae,(o,t)=>{let{address:s}=t.payload;o.address=s,o.publicKey=new fr.Address(s).toHex()}),e.addCase(qi.REHYDRATE,(o,t)=>{var T;if(!((T=t.payload)!=null&&T.account))return;let{account:s}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=s;o.address=c,o.shard=p;let _=m&&c in m;o.accounts=_?m:gr.accounts,o.publicKey=d})}}),{setAccount:ye,setAddress:eo,setAccountNonce:Tr,setAccountShard:mS,setLedgerAccount:Hl,updateLedgerAccount:Vl,setWalletConnectAccount:dS,setIsAccountLoading:lS,setAccountLoadingError:_S,setWebsocketEvent:$l,setWebsocketBatchEvent:ql}=ji.actions,Qn=ji.reducer});function fn(){return new Date().setHours(new Date().getHours()+24)}function Tn(e){Qe.local.setItem({key:We.loginExpiresAt,data:e,expires:e})}var hr=h(()=>{"use strict";n();fo();go()});var Ki,zi,Xi,wS,jl,zl,xr,vS,Kl,Yi,AS,IS,kS,ot,nt=h(()=>{"use strict";n();Ki=require("@reduxjs/toolkit");hr();R();M();zi={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Xi=(0,Ki.createSlice)({name:"loginInfoSlice",initialState:zi,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},setWebviewLogin:(e,o)=>{e.webviewLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload},setIsWalletConnectV2Initialized:(e,o)=>{e.isWalletConnectV2Initialized=o.payload}},extraReducers:e=>{e.addCase(D,()=>zi),e.addCase(ae,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,Tn(fn())})}}),{setLoginMethod:wS,setWalletConnectLogin:jl,setLedgerLogin:zl,setTokenLogin:xr,setTokenLoginSignature:vS,setWalletLogin:Kl,invalidateLoginSession:Yi,setLogoutRoute:AS,setIsWalletConnectV2Initialized:IS,setWebviewLogin:kS}=Xi.actions,ot=Xi.reducer});var Ji,Zi,Qi,CS,Xl,NS,Yl,tt,rt=h(()=>{"use strict";n();Ji=require("@reduxjs/toolkit");M();Zi={},Qi=(0,Ji.createSlice)({name:"modalsSlice",initialState:Zi,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(D,()=>Zi)}}),{setTxSubmittedModal:CS,setNotificationModal:Xl,clearTxSubmittedModal:NS,clearNotificationModal:Yl}=Qi.actions,tt=Qi.reducer});var Ue,Uo=h(()=>{"use strict";n();Ue=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,X=h(()=>{"use strict";n();Uo();N=()=>{if(!Ue())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:s,href:c,search:p}}=window;return{pathname:o,hash:t,origin:s,href:c,search:p}}});var es=h(()=>{"use strict";n();X()});var To,os=h(()=>{"use strict";n();Z();To=()=>{let{pathname:e,search:o,hash:t}=N();return`${e!=null?e:""}${o!=null?o:""}${t!=null?t:""}`}});var ns=h(()=>{"use strict";n();uo()});var Z=h(()=>{"use strict";n();es();os();X();ns()});var hn=h(()=>{"use strict";n();Z()});var rs=h(()=>{"use strict";n();hn()});function as(e){return e[Math.floor(Math.random()*e.length)]}var is=h(()=>{"use strict";n()});var yr=h(()=>{"use strict";n();ir()});var Ge=h(()=>{"use strict";n();rs();is();yr()});var ss,cs,ps,Sr,Jl,ms,db,lb,ds,at,it=h(()=>{"use strict";n();ss=require("@reduxjs/toolkit"),cs=x(require("lodash.omit")),ps=require("redux-persist");un();M();Ge();Sr={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},Jl={network:Sr},ms=(0,ss.createSlice)({name:"appConfig",initialState:Jl,reducers:{initializeNetworkConfig:(e,o)=>{let t=as(o.payload.walletConnectV2RelayAddresses),s=(0,cs.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(u(u({},e.network),s),{walletConnectV2RelayAddress:t})},updateNetworkConfig:(e,o)=>{e.network=u(u({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(D,o=>{o.network.customWalletAddress=void 0}),e.addCase(ps.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:s}}=t.payload;o.network.customWalletAddress=s})}}),{initializeNetworkConfig:db,updateNetworkConfig:lb,setCustomWalletAddress:ds}=ms.actions,at=ms.reducer});var ls,br,_s,hb,xb,yb,st,ct=h(()=>{"use strict";n();ls=require("@reduxjs/toolkit");U();M();br={isSigning:!1,signedSessions:{}},_s=(0,ls.createSlice)({name:"signedMessageInfoSliceState",initialState:br,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:s,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=s.status==="pending",e.signedSessions[t]=u(u({},e.signedSessions[t]),s)},setSignSessionState:(e,o)=>u(u({},e),o.payload),clearSignedMessageInfo:()=>br},extraReducers:e=>{e.addCase(D,()=>br)}}),{setSignSession:hb,clearSignedMessageInfo:xb,setSignSessionState:yb}=_s.actions,st=_s.reducer});var gs,fs,us,Ts,wr,Ql,kb,e_,pt,mt=h(()=>{"use strict";n();gs=require("@reduxjs/toolkit"),fs=require("redux-persist");U();Zn();M();us={customToasts:[],transactionToasts:[]},Ts=(0,gs.createSlice)({name:"toastsSlice",initialState:us,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,s=e.customToasts.findIndex(c=>c.toastId===t);if(s!==-1){e.customToasts[s]=w(u(u({},e.customToasts[s]),o.payload),{type:"custom",toastId:t});return}e.customToasts.push(w(u({},o.payload),{type:"custom",toastId:t}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:gn(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(D,()=>us),e.addCase(fs.REHYDRATE,(o,t)=>{var c,p;let s=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=s})}}),{addCustomToast:wr,removeCustomToast:Ql,addTransactionToast:kb,removeTransactionToast:e_}=Ts.actions,pt=Ts.reducer});var hs,Ar,Ir,kr,o_,vr,xs,Cb,n_,xn,dt,lt=h(()=>{"use strict";n();hs=require("@reduxjs/toolkit");M();Ar="Transaction failed",Ir="Transaction successful",kr="Processing transaction",o_="Transaction submitted",vr={},xs=(0,hs.createSlice)({name:"transactionsInfo",initialState:vr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:s}=o.payload;t!=null&&(e[t]={errorMessage:(s==null?void 0:s.errorMessage)||Ar,successMessage:(s==null?void 0:s.successMessage)||Ir,processingMessage:(s==null?void 0:s.processingMessage)||kr,submittedMessage:(s==null?void 0:s.submittedMessage)||o_,transactionDuration:s==null?void 0:s.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>vr},extraReducers:e=>{e.addCase(D,()=>vr)}}),{clearTransactionsInfo:Cb,setTransactionsDisplayInfo:n_,clearTransactionsInfoForSessionId:xn}=xs.actions,dt=xs.reducer});function Ho(e){return e!=null&&(l_(e)||T_(e))}function Vo(e){return e!=null&&(__(e)||h_(e))}function $o(e){return e!=null&&(u_(e)||x_(e))}function ys(e){return e!=null&&(g_(e)||y_(e))}function Lr(e){return e!=null&&f_(e)}function l_(e){return e!=null&&t_.includes(e)}function __(e){return e!=null&&r_.includes(e)}function u_(e){return e!=null&&a_.includes(e)}function g_(e){return e!=null&&i_.includes(e)}function f_(e){return e!=null&&s_.includes(e)}function T_(e){return e!=null&&c_.includes(e)}function h_(e){return e!=null&&p_.includes(e)}function x_(e){return e!=null&&m_.includes(e)}function y_(e){return e!=null&&d_.includes(e)}var t_,r_,a_,i_,s_,c_,p_,m_,d_,qo=h(()=>{"use strict";n();R();t_=["sent"],r_=["success"],a_=["fail","cancelled","timedOut"],i_=["invalid"],s_=["timedOut"],c_=["pending"],p_=["success"],m_=["fail","invalid"],d_=["not executed"]});var Ss,bs,yn,S_,ws,vs,As,b_,ho,w_,v_,Ub,A_,no,to,Gb,_t,ut=h(()=>{"use strict";n();Ss=require("@reduxjs/toolkit"),bs=require("redux-persist");R();qo();M();yn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},S_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},ws=(0,Ss.createSlice)({name:"transactionsSlice",initialState:yn,reducers:{moveTransactionsToSignedState:(e,o)=>{var _,T;let{sessionId:t,transactions:s,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=u(u(u({},S_),((_=e.signedTransactions[t])==null?void 0:_.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:s,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:u(u({},e.customTransactionInformationForSessionId[t]),d!=null?d:{})},((T=e==null?void 0:e.transactionsToSign)==null?void 0:T.sessionId)===t&&(e.transactionsToSign=yn.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=u(u({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:s,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=s,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var T,f,b,P,L,E,Y,O;let{sessionId:t,status:s,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,_=(f=(T=e.signedTransactions)==null?void 0:T[t])==null?void 0:f.transactions;if(_!=null){e.signedTransactions[t].transactions=_.map(B=>B.hash===p?w(u(u({},m!=null?m:{}),B),{status:s,errorMessage:c,inTransit:d}):B);let q=(P=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:P.every(B=>Vo(B.status)),oe=(E=(L=e.signedTransactions[t])==null?void 0:L.transactions)==null?void 0:E.some(B=>$o(B.status)),Te=(O=(Y=e.signedTransactions[t])==null?void 0:Y.transactions)==null?void 0:O.every(B=>ys(B.status));q&&(e.signedTransactions[t].status="success"),oe&&(e.signedTransactions[t].status="fail"),Te&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:s}=o.payload;e.customTransactionInformationForSessionId[t]=s,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=yn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=yn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:s}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=u(u({},e.signedTransactions[t].customTransactionInformation),s))}},extraReducers:e=>{e.addCase(D,()=>yn),e.addCase(bs.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:s,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(s).reduce((d,[_,T])=>{let f=new Date(_),b=new Date;return b.setHours(b.getHours()+5),b-f>0||(d[_]=T),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),s!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:vs,updateSignedTransactions:As,setTransactionsToSign:b_,clearAllTransactionsToSign:ho,clearAllSignedTransactions:w_,clearSignedTransaction:v_,clearTransactionToSign:Ub,setSignTransactionsError:A_,setSignTransactionsCancelMessage:no,moveTransactionsToSignedState:to,updateSignedTransactionsCustomTransactionInformation:Gb}=ws.actions,_t=ws.reducer});var Is,Er,ks,qb,jb,I_,zb,gt,ft=h(()=>{"use strict";n();Is=require("@reduxjs/toolkit");M();Er={},ks=(0,Is.createSlice)({name:"batchTransactionsSlice",initialState:Er,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Er},extraReducers:e=>{e.addCase(D,()=>Er)}}),{setBatchTransactions:qb,updateBatchTransactions:jb,clearBatchTransactions:I_,clearAllBatchTransactions:zb}=ks.actions,gt=ks.reducer});var Es,Ls,Ps,Zb,Cs,Pr=h(()=>{"use strict";n();Es=require("@reduxjs/toolkit");M();Ls={},Ps=(0,Es.createSlice)({name:"dappConfigSlice",initialState:Ls,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(D,()=>Ls)}}),{setDappConfig:Zb}=Ps.actions,Cs=Ps.reducer});var k=h(()=>{"use strict";n();et();nt();rt();it();ct();mt();lt();ut();ft();Pr()});var Cr=h(()=>{"use strict";n()});var Ds,P_,C_,xo,xt=h(()=>{"use strict";n();Ds=require("@reduxjs/toolkit");Cr();et();ft();Pr();nt();rt();it();ct();mt();lt();ut();P_={["account"]:Qn,["dappConfig"]:Cs,["loginInfo"]:ot,["modals"]:tt,["networkConfig"]:at,["signedMessageInfo"]:st,["toasts"]:pt,["transactionsInfo"]:dt,["transactions"]:_t,["batchTransactions"]:gt},C_=(e={})=>(0,Ds.combineReducers)(u(u({},P_),e)),xo=C_});var Fs={};xe(Fs,{default:()=>z_,sessionStorageReducers:()=>Nr});function He(e,o=[]){return{key:e,version:1,storage:Os.default,blacklist:o}}var ie,Ms,Os,N_,Sn,R_,D_,M_,O_,B_,F_,W_,U_,G_,H_,Bs,V_,Nr,$_,q_,j_,z_,Ws=h(()=>{"use strict";n();ie=require("redux-persist"),Ms=x(require("redux-persist/lib/storage")),Os=x(require("redux-persist/lib/storage/session"));xt();k();et();ft();nt();rt();it();ct();mt();lt();ut();Cr();N_={persistReducersStorageType:"localStorage"},Sn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},R_=He(Sn["account"]),D_=He(Sn["loginInfo"]),M_=He(Sn["modals"]),O_=He(Sn["networkConfig"]),B_={2:e=>w(u({},e),{networkConfig:Sr})};F_=He("sdk-dapp-transactionsInfo"),W_=He("sdk-dapp-transactions",["transactionsToSign"]),U_=He("sdk-dapp-batchTransactions",["batchTransactions"]),G_=He("sdk-dapp-toasts"),H_=He("sdk-dapp-signedMessageInfo"),Bs={key:"sdk-dapp-store",version:2,storage:Ms.default,whitelist:Object.keys(Sn),migrate:(0,ie.createMigrate)(B_,{debug:!1})},V_=w(u({},Bs),{whitelist:[]}),Nr={["toasts"]:(0,ie.persistReducer)(G_,pt),["transactions"]:(0,ie.persistReducer)(W_,_t),["transactionsInfo"]:(0,ie.persistReducer)(F_,dt),["batchTransactions"]:(0,ie.persistReducer)(U_,gt),["signedMessageInfo"]:(0,ie.persistReducer)(H_,st)},$_=w(u({},Nr),{["account"]:(0,ie.persistReducer)(R_,Qn),["loginInfo"]:(0,ie.persistReducer)(D_,ot),["modals"]:(0,ie.persistReducer)(M_,tt),["networkConfig"]:(0,ie.persistReducer)(O_,at)}),q_=N_.persistReducersStorageType==="localStorage",j_=q_?(0,ie.persistReducer)(Bs,xo(Nr)):(0,ie.persistReducer)(V_,xo($_)),z_=j_});var Us={};xe(Us,{default:()=>K_});var K_,Gs=h(()=>{"use strict";n();xt();K_=xo()});var Hs={};xe(Hs,{default:()=>Y_});var fe,X_,Y_,Vs=h(()=>{"use strict";n();fe=require("redux-persist"),X_=[fe.FLUSH,fe.REHYDRATE,fe.PAUSE,fe.PERSIST,fe.PURGE,fe.REGISTER],Y_=X_});var js={};xe(js,{default:()=>qs});function qs(e){return(0,$s.persistStore)(e)}var $s,zs=h(()=>{"use strict";n();$s=require("redux-persist")});var tp=S((V2,np)=>{n();var Ng=typeof a=="object"&&a&&a.Object===Object&&a;np.exports=Ng});var Ln=S(($2,rp)=>{n();var Rg=tp(),Dg=typeof self=="object"&&self&&self.Object===Object&&self,Mg=Rg||Dg||Function("return this")();rp.exports=Mg});var na=S((q2,ap)=>{n();var Og=Ln(),Bg=Og.Symbol;ap.exports=Bg});var pp=S((j2,cp)=>{n();var ip=na(),sp=Object.prototype,Fg=sp.hasOwnProperty,Wg=sp.toString,En=ip?ip.toStringTag:void 0;function Ug(e){var o=Fg.call(e,En),t=e[En];try{e[En]=void 0;var s=!0}catch(p){}var c=Wg.call(e);return s&&(o?e[En]=t:delete e[En]),c}cp.exports=Ug});var dp=S((z2,mp)=>{n();var Gg=Object.prototype,Hg=Gg.toString;function Vg(e){return Hg.call(e)}mp.exports=Vg});var ta=S((K2,up)=>{n();var lp=na(),$g=pp(),qg=dp(),jg="[object Null]",zg="[object Undefined]",_p=lp?lp.toStringTag:void 0;function Kg(e){return e==null?e===void 0?zg:jg:_p&&_p in Object(e)?$g(e):qg(e)}up.exports=Kg});var fp=S((X2,gp)=>{n();var Xg=Array.isArray;gp.exports=Xg});var hp=S((Y2,Tp)=>{n();function Yg(e){return e!=null&&typeof e=="object"}Tp.exports=Yg});var yp=S((Z2,xp)=>{n();var Zg=ta(),Jg=fp(),Qg=hp(),ef="[object String]";function of(e){return typeof e=="string"||!Jg(e)&&Qg(e)&&Zg(e)==ef}xp.exports=of});var ia={};xe(ia,{css:()=>Ip,default:()=>mf});var Ip,mf,sa=h(()=>{"use strict";n();Ip=`.dapp-core-component__main__link-style {
2
2
  color: #1392ff;
3
3
  }
4
4
 
@@ -1,4 +1,4 @@
1
- "use strict";var yl=Object.create;var fn=Object.defineProperty,Sl=Object.defineProperties,bl=Object.getOwnPropertyDescriptor,wl=Object.getOwnPropertyDescriptors,vl=Object.getOwnPropertyNames,jn=Object.getOwnPropertySymbols,Al=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty,ei=Object.prototype.propertyIsEnumerable;var Qa=(e,o,t)=>o in e?fn(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))er.call(o,t)&&Qa(e,t,o[t]);if(jn)for(var t of jn(o))ei.call(o,t)&&Qa(e,t,o[t]);return e},w=(e,o)=>Sl(e,wl(o));var eo=(e,o)=>{var t={};for(var a in e)er.call(e,a)&&o.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&jn)for(var a of jn(e))o.indexOf(a)<0&&ei.call(e,a)&&(t[a]=e[a]);return t};var y=(e,o)=>()=>(e&&(o=e(e=0)),o);var b=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),_e=(e,o)=>{for(var t in o)fn(e,t,{get:o[t],enumerable:!0})},oi=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of vl(o))!er.call(e,c)&&c!==t&&fn(e,c,{get:()=>o[c],enumerable:!(a=bl(o,c))||a.enumerable});return e};var h=(e,o,t)=>(t=e!=null?yl(Al(e)):{},oi(o||!e||!e.__esModule?fn(t,"default",{value:e,enumerable:!0}):t,e)),oe=e=>oi(fn({},"__esModule",{value:!0}),e);var f=(e,o,t)=>new Promise((a,c)=>{var p=l=>{try{d(t.next(l))}catch(g){c(g)}},m=l=>{try{d(t.throw(l))}catch(g){c(g)}},d=l=>l.done?a(l.value):Promise.resolve(l.value).then(p,m);d((t=t.apply(e,o)).next())});var ri=b(zn=>{"use strict";n();zn.byteLength=kl;zn.toByteArray=Pl;zn.fromByteArray=Nl;var Ae=[],fe=[],Il=typeof Uint8Array!="undefined"?Uint8Array:Array,or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(uo=0,ni=or.length;uo<ni;++uo)Ae[uo]=or[uo],fe[or.charCodeAt(uo)]=uo;var uo,ni;fe["-".charCodeAt(0)]=62;fe["_".charCodeAt(0)]=63;function ti(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var a=t===o?0:4-t%4;return[t,a]}function kl(e){var o=ti(e),t=o[0],a=o[1];return(t+a)*3/4-a}function Ll(e,o,t){return(o+t)*3/4-t}function Pl(e){var o,t=ti(e),a=t[0],c=t[1],p=new Il(Ll(e,a,c)),m=0,d=c>0?a-4:a,l;for(l=0;l<d;l+=4)o=fe[e.charCodeAt(l)]<<18|fe[e.charCodeAt(l+1)]<<12|fe[e.charCodeAt(l+2)]<<6|fe[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=fe[e.charCodeAt(l)]<<2|fe[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=fe[e.charCodeAt(l)]<<10|fe[e.charCodeAt(l+1)]<<4|fe[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function El(e){return Ae[e>>18&63]+Ae[e>>12&63]+Ae[e>>6&63]+Ae[e&63]}function Cl(e,o,t){for(var a,c=[],p=o;p<t;p+=3)a=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(El(a));return c.join("")}function Nl(e){for(var o,t=e.length,a=t%3,c=[],p=16383,m=0,d=t-a;m<d;m+=p)c.push(Cl(e,m,m+p>d?d:m+p));return a===1?(o=e[t-1],c.push(Ae[o>>2]+Ae[o<<4&63]+"==")):a===2&&(o=(e[t-2]<<8)+e[t-1],c.push(Ae[o>>10]+Ae[o>>4&63]+Ae[o<<2&63]+"=")),c.join("")}});var ai=b(nr=>{n();nr.read=function(e,o,t,a,c){var p,m,d=c*8-a-1,l=(1<<d)-1,g=l>>1,T=-7,x=t?c-1:0,L=t?-1:1,I=e[o+x];for(x+=L,p=I&(1<<-T)-1,I>>=-T,T+=d;T>0;p=p*256+e[o+x],x+=L,T-=8);for(m=p&(1<<-T)-1,p>>=-T,T+=a;T>0;m=m*256+e[o+x],x+=L,T-=8);if(p===0)p=1-g;else{if(p===l)return m?NaN:(I?-1:1)*(1/0);m=m+Math.pow(2,a),p=p-g}return(I?-1:1)*m*Math.pow(2,p-a)};nr.write=function(e,o,t,a,c,p){var m,d,l,g=p*8-c-1,T=(1<<g)-1,x=T>>1,L=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,I=a?0:p-1,E=a?1:-1,$=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(d=isNaN(o)?1:0,m=T):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+x>=1?o+=L/l:o+=L*Math.pow(2,1-x),o*l>=2&&(m++,l/=2),m+x>=T?(d=0,m=T):m+x>=1?(d=(o*l-1)*Math.pow(2,c),m=m+x):(d=o*Math.pow(2,x-1)*Math.pow(2,c),m=0));c>=8;e[t+I]=d&255,I+=E,d/=256,c-=8);for(m=m<<c|d,g+=c;g>0;e[t+I]=m&255,I+=E,m/=256,g-=8);e[t+I-E]|=$*128}});var hi=b(Wo=>{"use strict";n();var tr=ri(),Oo=ai(),ii=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Wo.Buffer=_;Wo.SlowBuffer=Bl;Wo.INSPECT_MAX_BYTES=50;var Kn=2147483647;Wo.kMaxLength=Kn;_.TYPED_ARRAY_SUPPORT=Rl();!_.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 Rl(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.buffer}});Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.byteOffset}});function We(e){if(e>Kn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,_.prototype),o}function _(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return sr(e)}return pi(e,o,t)}_.poolSize=8192;function pi(e,o,t){if(typeof e=="string")return Ml(e,o);if(ArrayBuffer.isView(e))return Ol(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(Ie(e,ArrayBuffer)||e&&Ie(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Ie(e,SharedArrayBuffer)||e&&Ie(e.buffer,SharedArrayBuffer)))return ar(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=e.valueOf&&e.valueOf();if(a!=null&&a!==e)return _.from(a,o,t);var c=Wl(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return _.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}_.from=function(e,o,t){return pi(e,o,t)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function mi(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 Dl(e,o,t){return mi(e),e<=0?We(e):o!==void 0?typeof t=="string"?We(e).fill(o,t):We(e).fill(o):We(e)}_.alloc=function(e,o,t){return Dl(e,o,t)};function sr(e){return mi(e),We(e<0?0:cr(e)|0)}_.allocUnsafe=function(e){return sr(e)};_.allocUnsafeSlow=function(e){return sr(e)};function Ml(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!_.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=di(e,o)|0,a=We(t),c=a.write(e,o);return c!==t&&(a=a.slice(0,c)),a}function rr(e){for(var o=e.length<0?0:cr(e.length)|0,t=We(o),a=0;a<o;a+=1)t[a]=e[a]&255;return t}function Ol(e){if(Ie(e,Uint8Array)){var o=new Uint8Array(e);return ar(o.buffer,o.byteOffset,o.byteLength)}return rr(e)}function ar(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var a;return o===void 0&&t===void 0?a=new Uint8Array(e):t===void 0?a=new Uint8Array(e,o):a=new Uint8Array(e,o,t),Object.setPrototypeOf(a,_.prototype),a}function Wl(e){if(_.isBuffer(e)){var o=cr(e.length)|0,t=We(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||pr(e.length)?We(0):rr(e);if(e.type==="Buffer"&&Array.isArray(e.data))return rr(e.data)}function cr(e){if(e>=Kn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Kn.toString(16)+" bytes");return e|0}function Bl(e){return+e!=e&&(e=0),_.alloc(+e)}_.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==_.prototype};_.compare=function(o,t){if(Ie(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),Ie(t,Uint8Array)&&(t=_.from(t,t.offset,t.byteLength)),!_.isBuffer(o)||!_.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var a=o.length,c=t.length,p=0,m=Math.min(a,c);p<m;++p)if(o[p]!==t[p]){a=o[p],c=t[p];break}return a<c?-1:c<a?1:0};_.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};_.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return _.alloc(0);var a;if(t===void 0)for(t=0,a=0;a<o.length;++a)t+=o[a].length;var c=_.allocUnsafe(t),p=0;for(a=0;a<o.length;++a){var m=o[a];if(Ie(m,Uint8Array))p+m.length>c.length?_.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(_.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function di(e,o){if(_.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Ie(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return ir(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Ti(e).length;default:if(c)return a?-1:ir(e).length;o=(""+o).toLowerCase(),c=!0}}_.byteLength=di;function Fl(e,o,t){var a=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Xl(this,o,t);case"utf8":case"utf-8":return _i(this,o,t);case"ascii":return zl(this,o,t);case"latin1":case"binary":return Kl(this,o,t);case"base64":return ql(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yl(this,o,t);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}_.prototype._isBuffer=!0;function go(e,o,t){var a=e[o];e[o]=e[t],e[t]=a}_.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)go(this,t,t+1);return this};_.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)go(this,t,t+3),go(this,t+1,t+2);return this};_.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)go(this,t,t+7),go(this,t+1,t+6),go(this,t+2,t+5),go(this,t+3,t+4);return this};_.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?_i(this,0,o):Fl.apply(this,arguments)};_.prototype.toLocaleString=_.prototype.toString;_.prototype.equals=function(o){if(!_.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:_.compare(this,o)===0};_.prototype.inspect=function(){var o="",t=Wo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};ii&&(_.prototype[ii]=_.prototype.inspect);_.prototype.compare=function(o,t,a,c,p){if(Ie(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),!_.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),a===void 0&&(a=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||a>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=a)return 0;if(c>=p)return-1;if(t>=a)return 1;if(t>>>=0,a>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=a-t,l=Math.min(m,d),g=this.slice(c,p),T=o.slice(t,a),x=0;x<l;++x)if(g[x]!==T[x]){m=g[x],d=T[x];break}return m<d?-1:d<m?1:0};function li(e,o,t,a,c){if(e.length===0)return-1;if(typeof t=="string"?(a=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,pr(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=_.from(o,a)),_.isBuffer(o))return o.length===0?-1:si(e,o,t,a,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):si(e,[o],t,a,c);throw new TypeError("val must be string, number or Buffer")}function si(e,o,t,a,c){var p=1,m=e.length,d=o.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,t/=2}function l(I,E){return p===1?I[E]:I.readUInt16BE(E*p)}var g;if(c){var T=-1;for(g=t;g<m;g++)if(l(e,g)===l(o,T===-1?0:g-T)){if(T===-1&&(T=g),g-T+1===d)return T*p}else T!==-1&&(g-=g-T),T=-1}else for(t+d>m&&(t=m-d),g=t;g>=0;g--){for(var x=!0,L=0;L<d;L++)if(l(e,g+L)!==l(o,L)){x=!1;break}if(x)return g}return-1}_.prototype.includes=function(o,t,a){return this.indexOf(o,t,a)!==-1};_.prototype.indexOf=function(o,t,a){return li(this,o,t,a,!0)};_.prototype.lastIndexOf=function(o,t,a){return li(this,o,t,a,!1)};function Ul(e,o,t,a){t=Number(t)||0;var c=e.length-t;a?(a=Number(a),a>c&&(a=c)):a=c;var p=o.length;a>p/2&&(a=p/2);for(var m=0;m<a;++m){var d=parseInt(o.substr(m*2,2),16);if(pr(d))return m;e[t+m]=d}return m}function Gl(e,o,t,a){return Xn(ir(o,e.length-t),e,t,a)}function Hl(e,o,t,a){return Xn(Ql(o),e,t,a)}function Vl(e,o,t,a){return Xn(Ti(o),e,t,a)}function $l(e,o,t,a){return Xn(e_(o,e.length-t),e,t,a)}_.prototype.write=function(o,t,a,c){if(t===void 0)c="utf8",a=this.length,t=0;else if(a===void 0&&typeof t=="string")c=t,a=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(a)?(a=a>>>0,c===void 0&&(c="utf8")):(c=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((a===void 0||a>p)&&(a=p),o.length>0&&(a<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return Ul(this,o,t,a);case"utf8":case"utf-8":return Gl(this,o,t,a);case"ascii":case"latin1":case"binary":return Hl(this,o,t,a);case"base64":return Vl(this,o,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $l(this,o,t,a);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ql(e,o,t){return o===0&&t===e.length?tr.fromByteArray(e):tr.fromByteArray(e.slice(o,t))}function _i(e,o,t){t=Math.min(e.length,t);for(var a=[],c=o;c<t;){var p=e[c],m=null,d=p>239?4:p>223?3:p>191?2:1;if(c+d<=t){var l,g,T,x;switch(d){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(x=(p&31)<<6|l&63,x>127&&(m=x));break;case 3:l=e[c+1],g=e[c+2],(l&192)===128&&(g&192)===128&&(x=(p&15)<<12|(l&63)<<6|g&63,x>2047&&(x<55296||x>57343)&&(m=x));break;case 4:l=e[c+1],g=e[c+2],T=e[c+3],(l&192)===128&&(g&192)===128&&(T&192)===128&&(x=(p&15)<<18|(l&63)<<12|(g&63)<<6|T&63,x>65535&&x<1114112&&(m=x))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,a.push(m>>>10&1023|55296),m=56320|m&1023),a.push(m),c+=d}return jl(a)}var ci=4096;function jl(e){var o=e.length;if(o<=ci)return String.fromCharCode.apply(String,e);for(var t="",a=0;a<o;)t+=String.fromCharCode.apply(String,e.slice(a,a+=ci));return t}function zl(e,o,t){var a="";t=Math.min(e.length,t);for(var c=o;c<t;++c)a+=String.fromCharCode(e[c]&127);return a}function Kl(e,o,t){var a="";t=Math.min(e.length,t);for(var c=o;c<t;++c)a+=String.fromCharCode(e[c]);return a}function Xl(e,o,t){var a=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>a)&&(t=a);for(var c="",p=o;p<t;++p)c+=o_[e[p]];return c}function Yl(e,o,t){for(var a=e.slice(o,t),c="",p=0;p<a.length-1;p+=2)c+=String.fromCharCode(a[p]+a[p+1]*256);return c}_.prototype.slice=function(o,t){var a=this.length;o=~~o,t=t===void 0?a:~~t,o<0?(o+=a,o<0&&(o=0)):o>a&&(o=a),t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,_.prototype),c};function z(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}_.prototype.readUintLE=_.prototype.readUIntLE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};_.prototype.readUintBE=_.prototype.readUIntBE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};_.prototype.readUint8=_.prototype.readUInt8=function(o,t){return o=o>>>0,t||z(o,1,this.length),this[o]};_.prototype.readUint16LE=_.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||z(o,2,this.length),this[o]|this[o+1]<<8};_.prototype.readUint16BE=_.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||z(o,2,this.length),this[o]<<8|this[o+1]};_.prototype.readUint32LE=_.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||z(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};_.prototype.readUint32BE=_.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};_.prototype.readIntLE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};_.prototype.readIntBE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};_.prototype.readInt8=function(o,t){return o=o>>>0,t||z(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};_.prototype.readInt16LE=function(o,t){o=o>>>0,t||z(o,2,this.length);var a=this[o]|this[o+1]<<8;return a&32768?a|4294901760:a};_.prototype.readInt16BE=function(o,t){o=o>>>0,t||z(o,2,this.length);var a=this[o+1]|this[o]<<8;return a&32768?a|4294901760:a};_.prototype.readInt32LE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};_.prototype.readInt32BE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};_.prototype.readFloatLE=function(o,t){return o=o>>>0,t||z(o,4,this.length),Oo.read(this,o,!0,23,4)};_.prototype.readFloatBE=function(o,t){return o=o>>>0,t||z(o,4,this.length),Oo.read(this,o,!1,23,4)};_.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Oo.read(this,o,!0,52,8)};_.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Oo.read(this,o,!1,52,8)};function ie(e,o,t,a,c,p){if(!_.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+a>e.length)throw new RangeError("Index out of range")}_.prototype.writeUintLE=_.prototype.writeUIntLE=function(o,t,a,c){if(o=+o,t=t>>>0,a=a>>>0,!c){var p=Math.pow(2,8*a)-1;ie(this,o,t,a,p,0)}var m=1,d=0;for(this[t]=o&255;++d<a&&(m*=256);)this[t+d]=o/m&255;return t+a};_.prototype.writeUintBE=_.prototype.writeUIntBE=function(o,t,a,c){if(o=+o,t=t>>>0,a=a>>>0,!c){var p=Math.pow(2,8*a)-1;ie(this,o,t,a,p,0)}var m=a-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+a};_.prototype.writeUint8=_.prototype.writeUInt8=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,1,255,0),this[t]=o&255,t+1};_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};_.prototype.writeIntLE=function(o,t,a,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*a-1);ie(this,o,t,a,p-1,-p)}var m=0,d=1,l=0;for(this[t]=o&255;++m<a&&(d*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/d>>0)-l&255;return t+a};_.prototype.writeIntBE=function(o,t,a,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*a-1);ie(this,o,t,a,p-1,-p)}var m=a-1,d=1,l=0;for(this[t+m]=o&255;--m>=0&&(d*=256);)o<0&&l===0&&this[t+m+1]!==0&&(l=1),this[t+m]=(o/d>>0)-l&255;return t+a};_.prototype.writeInt8=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};_.prototype.writeInt16LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeInt16BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeInt32LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};_.prototype.writeInt32BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function ui(e,o,t,a,c,p){if(t+a>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function gi(e,o,t,a,c){return o=+o,t=t>>>0,c||ui(e,o,t,4,34028234663852886e22,-34028234663852886e22),Oo.write(e,o,t,a,23,4),t+4}_.prototype.writeFloatLE=function(o,t,a){return gi(this,o,t,!0,a)};_.prototype.writeFloatBE=function(o,t,a){return gi(this,o,t,!1,a)};function fi(e,o,t,a,c){return o=+o,t=t>>>0,c||ui(e,o,t,8,17976931348623157e292,-17976931348623157e292),Oo.write(e,o,t,a,52,8),t+8}_.prototype.writeDoubleLE=function(o,t,a){return fi(this,o,t,!0,a)};_.prototype.writeDoubleBE=function(o,t,a){return fi(this,o,t,!1,a)};_.prototype.copy=function(o,t,a,c){if(!_.isBuffer(o))throw new TypeError("argument should be a Buffer");if(a||(a=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<a&&(c=a),c===a||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(a<0||a>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-a&&(c=o.length-t+a);var p=c-a;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,a,c):Uint8Array.prototype.set.call(o,this.subarray(a,c),t),p};_.prototype.fill=function(o,t,a,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,a=this.length):typeof a=="string"&&(c=a,a=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!_.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<a)throw new RangeError("Out of range index");if(a<=t)return this;t=t>>>0,a=a===void 0?this.length:a>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<a;++m)this[m]=o;else{var d=_.isBuffer(o)?o:_.from(o,c),l=d.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<a-t;++m)this[m+t]=d[m%l]}return this};var Zl=/[^+/0-9A-Za-z-_]/g;function Jl(e){if(e=e.split("=")[0],e=e.trim().replace(Zl,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function ir(e,o){o=o||1/0;for(var t,a=e.length,c=null,p=[],m=0;m<a;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===a){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function Ql(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function e_(e,o){for(var t,a,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),a=t>>8,c=t%256,p.push(c),p.push(a);return p}function Ti(e){return tr.toByteArray(Jl(e))}function Xn(e,o,t,a){for(var c=0;c<a&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function Ie(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function pr(e){return e!==e}var o_=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var a=t*16,c=0;c<16;++c)o[a+c]=e[t]+e[c];return o}()});var wi=b((by,bi)=>{n();var U=bi.exports={},ke,Le;function mr(){throw new Error("setTimeout has not been defined")}function dr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ke=setTimeout:ke=mr}catch(e){ke=mr}try{typeof clearTimeout=="function"?Le=clearTimeout:Le=dr}catch(e){Le=dr}})();function xi(e){if(ke===setTimeout)return setTimeout(e,0);if((ke===mr||!ke)&&setTimeout)return ke=setTimeout,setTimeout(e,0);try{return ke(e,0)}catch(o){try{return ke.call(null,e,0)}catch(t){return ke.call(this,e,0)}}}function n_(e){if(Le===clearTimeout)return clearTimeout(e);if((Le===dr||!Le)&&clearTimeout)return Le=clearTimeout,clearTimeout(e);try{return Le(e)}catch(o){try{return Le.call(null,e)}catch(t){return Le.call(this,e)}}}var Be=[],Bo=!1,fo,Yn=-1;function t_(){!Bo||!fo||(Bo=!1,fo.length?Be=fo.concat(Be):Yn=-1,Be.length&&yi())}function yi(){if(!Bo){var e=xi(t_);Bo=!0;for(var o=Be.length;o;){for(fo=Be,Be=[];++Yn<o;)fo&&fo[Yn].run();Yn=-1,o=Be.length}fo=null,Bo=!1,n_(e)}}U.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];Be.push(new Si(e,o)),Be.length===1&&!Bo&&xi(yi)};function Si(e,o){this.fun=e,this.array=o}Si.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function Fe(){}U.on=Fe;U.addListener=Fe;U.once=Fe;U.off=Fe;U.removeListener=Fe;U.removeAllListeners=Fe;U.emit=Fe;U.prependListener=Fe;U.prependOnceListener=Fe;U.listeners=function(e){return[]};U.binding=function(e){throw new Error("process.binding is not supported")};U.cwd=function(){return"/"};U.chdir=function(e){throw new Error("process.chdir is not supported")};U.umask=function(){return 0}});var r,s,r_,i,n=y(()=>{r=h(hi()),s=h(wi()),r_=function(e){function o(){var a=this||self;return delete e.prototype.__magic__,a}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),i=r_});var vi=y(()=>{"use strict";n()});var Ai,Ue,Ii,lr,ki,Li,Zn,Pe=y(()=>{"use strict";n();Ai="error when signing",Ue="Transaction canceled",Ii="error signing transaction",lr="provider not initialized",ki="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",Li="Undefined transaction status",Zn="You cannot sign transactions from a different account"});var Pi=y(()=>{"use strict";n()});var _r,Ei=y(()=>{"use strict";n();_r=(a=>(a.SetGuardian="SetGuardian",a.GuardAccount="GuardAccount",a.UnGuardAccount="UnGuardAccount",a))(_r||{})});var Ci=y(()=>{"use strict";n()});var ur=y(()=>{"use strict";n()});var Ni=y(()=>{"use strict";n()});var gr,fr=y(()=>{"use strict";n();gr=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(gr||{})});var Ri=y(()=>{"use strict";n()});var Di=y(()=>{"use strict";n()});var ne,Fo,oo=y(()=>{"use strict";n();ne=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Fo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Mi,Dy,Oi,My,R=y(()=>{"use strict";n();oo();Mi=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(Mi||{}),Dy=u(u({},Fo.WindowProviderRequestEnums),Mi),Oi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Oi||{}),My=u(u({},Fo.WindowProviderResponseEnums),Oi)});var Wi=y(()=>{"use strict";n()});var Bi=y(()=>{"use strict";n()});var se=y(()=>{"use strict";n()});var Fi=y(()=>{"use strict";n()});var Ui=y(()=>{"use strict";n()});var Gi=y(()=>{"use strict";n()});var O=y(()=>{"use strict";n();fr();Ri();Di();R();Wi();Bi();se();Fi();Ui();Gi()});var To,Hi,Jy,Vi,Qy,$i,eS,oS,qi,Uo=y(()=>{"use strict";n();O();To={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Hi,egldLabel:Jy}=To["devnet"],{chainId:Vi,egldLabel:Qy}=To["testnet"],{chainId:$i,egldLabel:eS}=To["mainnet"],oS={["devnet"]:Hi,["testnet"]:Vi,["mainnet"]:$i},qi={[Hi]:"devnet",[Vi]:"testnet",[$i]:"mainnet"}});var ji,Tn=y(()=>{"use strict";n();ji="cancel-transaction-toast"});var Ee,zi=y(()=>{"use strict";n();Ee=require("@multiversx/sdk-web-wallet-provider")});var Ce,ho=y(()=>{"use strict";n();Ce=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Ki,Xi,Tr,sS,cS,hr=y(()=>{"use strict";n();ho();Tr=String((Xi=(Ki=Ce.safeWindow)==null?void 0:Ki.navigator)==null?void 0:Xi.userAgent),sS=/^((?!chrome|android).)*safari/i.test(Tr),cS=/firefox/i.test(Tr)&&/windows/i.test(Tr)});var Jn,Qn,Yi,Zi,Ne,et,Ji,ot,Qi,Go,k=y(()=>{"use strict";n();vi();Pe();Pi();Ei();Ci();ur();Ni();Uo();Tn();zi();hr();Jn=5e4,Qn=1e9,Yi=1,Zi="/dapp/init",Ne="signSession",et="sdk-dapp-version",Ji="4.3.8",ot="logout",Qi="login",Go="0"});var hn,nt=y(()=>{"use strict";n();hn=()=>Date.now()/1e3});var es=y(()=>{"use strict";n()});var os=y(()=>{"use strict";n()});var xr=y(()=>{"use strict";n();nt();es();os()});var yr={};_e(yr,{clear:()=>c_,getItem:()=>i_,localStorageKeys:()=>Ge,removeItem:()=>s_,setItem:()=>a_});var Ge,tt,a_,i_,s_,c_,xo=y(()=>{"use strict";n();xr();Ge={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},tt=typeof localStorage!="undefined",a_=({key:e,data:o,expires:t})=>{!tt||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},i_=e=>{if(!tt)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:hn()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},s_=e=>{!tt||localStorage.removeItem(String(e))},c_=()=>{!tt||localStorage.clear()}});var Sr={};_e(Sr,{clear:()=>as,getItem:()=>ts,removeItem:()=>rs,sessionStorageKeys:()=>p_,setItem:()=>ns,storage:()=>m_});var p_,ns,ts,rs,as,m_,is=y(()=>{"use strict";n();p_={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},ns=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},ts=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},rs=e=>sessionStorage.removeItem(String(e)),as=()=>sessionStorage.clear(),m_={setItem:ns,getItem:ts,removeItem:rs,clear:as}});var no,yo=y(()=>{"use strict";n();xo();is();no={session:Sr,local:yr}});var br,M,ce,W=y(()=>{"use strict";n();br=require("@reduxjs/toolkit");k();M=(0,br.createAction)(ot),ce=(0,br.createAction)(Qi,e=>({payload:e}))});var vr,ss,cs,Te,wr,ps,Se,to,Ar,FS,d_,l_,US,GS,HS,__,u_,rt,at=y(()=>{"use strict";n();vr=require("@multiversx/sdk-core"),ss=require("@reduxjs/toolkit"),cs=require("redux-persist");k();yo();xo();W();Te={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Go},wr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Te},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ps=(0,ss.createSlice)({name:"accountInfoSlice",initialState:wr,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new vr.Address(t).hex():""},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:Te},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(M,()=>(no.local.removeItem(Ge.loginExpiresAt),wr)),e.addCase(ce,(o,t)=>{let{address:a}=t.payload;o.address=a,o.publicKey=new vr.Address(a).toHex()}),e.addCase(cs.REHYDRATE,(o,t)=>{var g;if(!((g=t.payload)!=null&&g.account))return;let{account:a}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=a;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:wr.accounts,o.publicKey=d})}}),{setAccount:Se,setAddress:to,setAccountNonce:Ar,setAccountShard:FS,setLedgerAccount:d_,updateLedgerAccount:l_,setWalletConnectAccount:US,setIsAccountLoading:GS,setAccountLoadingError:HS,setWebsocketEvent:__,setWebsocketBatchEvent:u_}=ps.actions,rt=ps.reducer});function xn(){return new Date().setHours(new Date().getHours()+24)}function yn(e){no.local.setItem({key:Ge.loginExpiresAt,data:e,expires:e})}var Ir=y(()=>{"use strict";n();yo();xo()});var ds,ms,ls,JS,g_,f_,kr,QS,T_,_s,eb,ob,nb,it,st=y(()=>{"use strict";n();ds=require("@reduxjs/toolkit");Ir();R();W();ms={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},ls=(0,ds.createSlice)({name:"loginInfoSlice",initialState:ms,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},setWebviewLogin:(e,o)=>{e.webviewLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload},setIsWalletConnectV2Initialized:(e,o)=>{e.isWalletConnectV2Initialized=o.payload}},extraReducers:e=>{e.addCase(M,()=>ms),e.addCase(ce,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,yn(xn())})}}),{setLoginMethod:JS,setWalletConnectLogin:g_,setLedgerLogin:f_,setTokenLogin:kr,setTokenLoginSignature:QS,setWalletLogin:T_,invalidateLoginSession:_s,setLogoutRoute:eb,setIsWalletConnectV2Initialized:ob,setWebviewLogin:nb}=ls.actions,it=ls.reducer});var gs,us,fs,ib,h_,sb,x_,ct,pt=y(()=>{"use strict";n();gs=require("@reduxjs/toolkit");W();us={},fs=(0,gs.createSlice)({name:"modalsSlice",initialState:us,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(M,()=>us)}}),{setTxSubmittedModal:ib,setNotificationModal:h_,clearTxSubmittedModal:sb,clearNotificationModal:x_}=fs.actions,ct=fs.reducer});var He,Ho=y(()=>{"use strict";n();He=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,J=y(()=>{"use strict";n();Ho();N=()=>{if(!He())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:a,href:c,search:p}}=window;return{pathname:o,hash:t,origin:a,href:c,search:p}}});var Ts=y(()=>{"use strict";n();J()});var Ve,hs=y(()=>{"use strict";n();Q();Ve=()=>{let{pathname:e,search:o,hash:t}=N();return`${e!=null?e:""}${o!=null?o:""}${t!=null?t:""}`}});var xs=y(()=>{"use strict";n();ho()});var Q=y(()=>{"use strict";n();Ts();hs();J();xs()});var Sn=y(()=>{"use strict";n();Q()});var Ss=y(()=>{"use strict";n();Sn()});function bs(e){return e[Math.floor(Math.random()*e.length)]}var ws=y(()=>{"use strict";n()});var Lr=y(()=>{"use strict";n();ur()});var $e=y(()=>{"use strict";n();Ss();ws();Lr()});var vs,As,Is,Pr,S_,ks,Ub,Gb,Ls,mt,dt=y(()=>{"use strict";n();vs=require("@reduxjs/toolkit"),As=h(require("lodash.omit")),Is=require("redux-persist");Tn();W();$e();Pr={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},S_={network:Pr},ks=(0,vs.createSlice)({name:"appConfig",initialState:S_,reducers:{initializeNetworkConfig:(e,o)=>{let t=bs(o.payload.walletConnectV2RelayAddresses),a=(0,As.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(u(u({},e.network),a),{walletConnectV2RelayAddress:t})},updateNetworkConfig:(e,o)=>{e.network=u(u({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(M,o=>{o.network.customWalletAddress=void 0}),e.addCase(Is.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:a}}=t.payload;o.network.customWalletAddress=a})}}),{initializeNetworkConfig:Ub,updateNetworkConfig:Gb,setCustomWalletAddress:Ls}=ks.actions,mt=ks.reducer});var Ps,Er,Es,zb,Kb,Xb,lt,_t=y(()=>{"use strict";n();Ps=require("@reduxjs/toolkit");O();W();Er={isSigning:!1,signedSessions:{}},Es=(0,Ps.createSlice)({name:"signedMessageInfoSliceState",initialState:Er,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:a,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=a.status==="pending",e.signedSessions[t]=u(u({},e.signedSessions[t]),a)},setSignSessionState:(e,o)=>u(u({},e),o.payload),clearSignedMessageInfo:()=>Er},extraReducers:e=>{e.addCase(M,()=>Er)}}),{setSignSession:zb,clearSignedMessageInfo:Kb,setSignSessionState:Xb}=Es.actions,lt=Es.reducer});var Ns,Rs,Cs,Ds,Cr,b_,n0,w_,ut,gt=y(()=>{"use strict";n();Ns=require("@reduxjs/toolkit"),Rs=require("redux-persist");O();nt();W();Cs={customToasts:[],transactionToasts:[]},Ds=(0,Ns.createSlice)({name:"toastsSlice",initialState:Cs,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,a=e.customToasts.findIndex(c=>c.toastId===t);if(a!==-1){e.customToasts[a]=w(u(u({},e.customToasts[a]),o.payload),{type:"custom",toastId:t});return}e.customToasts.push(w(u({},o.payload),{type:"custom",toastId:t}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:hn(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(M,()=>Cs),e.addCase(Rs.REHYDRATE,(o,t)=>{var c,p;let a=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=a})}}),{addCustomToast:Cr,removeCustomToast:b_,addTransactionToast:n0,removeTransactionToast:w_}=Ds.actions,ut=Ds.reducer});var Ms,Rr,Dr,Mr,v_,Nr,Os,i0,A_,Vo,ft,Tt=y(()=>{"use strict";n();Ms=require("@reduxjs/toolkit");W();Rr="Transaction failed",Dr="Transaction successful",Mr="Processing transaction",v_="Transaction submitted",Nr={},Os=(0,Ms.createSlice)({name:"transactionsInfo",initialState:Nr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:a}=o.payload;t!=null&&(e[t]={errorMessage:(a==null?void 0:a.errorMessage)||Rr,successMessage:(a==null?void 0:a.successMessage)||Dr,processingMessage:(a==null?void 0:a.processingMessage)||Mr,submittedMessage:(a==null?void 0:a.submittedMessage)||v_,transactionDuration:a==null?void 0:a.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Nr},extraReducers:e=>{e.addCase(M,()=>Nr)}}),{clearTransactionsInfo:i0,setTransactionsDisplayInfo:A_,clearTransactionsInfoForSessionId:Vo}=Os.actions,ft=Os.reducer});function qo(e){return e!=null&&(M_(e)||U_(e))}function jo(e){return e!=null&&(O_(e)||G_(e))}function zo(e){return e!=null&&(W_(e)||H_(e))}function Ws(e){return e!=null&&(B_(e)||V_(e))}function Or(e){return e!=null&&F_(e)}function M_(e){return e!=null&&I_.includes(e)}function O_(e){return e!=null&&k_.includes(e)}function W_(e){return e!=null&&L_.includes(e)}function B_(e){return e!=null&&P_.includes(e)}function F_(e){return e!=null&&E_.includes(e)}function U_(e){return e!=null&&C_.includes(e)}function G_(e){return e!=null&&N_.includes(e)}function H_(e){return e!=null&&R_.includes(e)}function V_(e){return e!=null&&D_.includes(e)}var I_,k_,L_,P_,E_,C_,N_,R_,D_,Ko=y(()=>{"use strict";n();R();I_=["sent"],k_=["success"],L_=["fail","cancelled","timedOut"],P_=["invalid"],E_=["timedOut"],C_=["pending"],N_=["success"],R_=["fail","invalid"],D_=["not executed"]});var Bs,Fs,bn,$_,Us,Gs,Hs,q_,ao,j_,z_,g0,K_,qe,io,f0,ht,xt=y(()=>{"use strict";n();Bs=require("@reduxjs/toolkit"),Fs=require("redux-persist");R();Ko();W();bn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},$_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Us=(0,Bs.createSlice)({name:"transactionsSlice",initialState:bn,reducers:{moveTransactionsToSignedState:(e,o)=>{var l,g;let{sessionId:t,transactions:a,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=u(u(u({},$_),((l=e.signedTransactions[t])==null?void 0:l.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:a,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:u(u({},e.customTransactionInformationForSessionId[t]),d!=null?d:{})},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===t&&(e.transactionsToSign=bn.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=u(u({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:a,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=a,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var g,T,x,L,I,E,$,D;let{sessionId:t,status:a,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,l=(T=(g=e.signedTransactions)==null?void 0:g[t])==null?void 0:T.transactions;if(l!=null){e.signedTransactions[t].transactions=l.map(B=>B.hash===p?w(u(u({},m!=null?m:{}),B),{status:a,errorMessage:c,inTransit:d}):B);let G=(L=(x=e.signedTransactions[t])==null?void 0:x.transactions)==null?void 0:L.every(B=>jo(B.status)),re=(E=(I=e.signedTransactions[t])==null?void 0:I.transactions)==null?void 0:E.some(B=>zo(B.status)),xe=(D=($=e.signedTransactions[t])==null?void 0:$.transactions)==null?void 0:D.every(B=>Ws(B.status));G&&(e.signedTransactions[t].status="success"),re&&(e.signedTransactions[t].status="fail"),xe&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:a}=o.payload;e.customTransactionInformationForSessionId[t]=a,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=bn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=bn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:a}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=u(u({},e.signedTransactions[t].customTransactionInformation),a))}},extraReducers:e=>{e.addCase(M,()=>bn),e.addCase(Fs.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:a,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(a).reduce((d,[l,g])=>{let T=new Date(l),x=new Date;return x.setHours(x.getHours()+5),x-T>0||(d[l]=g),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),a!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Gs,updateSignedTransactions:Hs,setTransactionsToSign:q_,clearAllTransactionsToSign:ao,clearAllSignedTransactions:j_,clearSignedTransaction:z_,clearTransactionToSign:g0,setSignTransactionsError:K_,setSignTransactionsCancelMessage:qe,moveTransactionsToSignedState:io,updateSignedTransactionsCustomTransactionInformation:f0}=Us.actions,ht=Us.reducer});var Vs,Wr,$s,y0,S0,X_,b0,yt,St=y(()=>{"use strict";n();Vs=require("@reduxjs/toolkit");W();Wr={},$s=(0,Vs.createSlice)({name:"batchTransactionsSlice",initialState:Wr,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Wr},extraReducers:e=>{e.addCase(M,()=>Wr)}}),{setBatchTransactions:y0,updateBatchTransactions:S0,clearBatchTransactions:X_,clearAllBatchTransactions:b0}=$s.actions,yt=$s.reducer});var js,qs,zs,I0,Ks,Br=y(()=>{"use strict";n();js=require("@reduxjs/toolkit");W();qs={},zs=(0,js.createSlice)({name:"dappConfigSlice",initialState:qs,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(M,()=>qs)}}),{setDappConfig:I0}=zs.actions,Ks=zs.reducer});var P=y(()=>{"use strict";n();at();st();pt();dt();_t();gt();Tt();xt();St();Br()});var Fr=y(()=>{"use strict";n()});var Zs,Q_,eu,So,vt=y(()=>{"use strict";n();Zs=require("@reduxjs/toolkit");Fr();at();St();Br();st();pt();dt();_t();gt();Tt();xt();Q_={["account"]:rt,["dappConfig"]:Ks,["loginInfo"]:it,["modals"]:ct,["networkConfig"]:mt,["signedMessageInfo"]:lt,["toasts"]:ut,["transactionsInfo"]:ft,["transactions"]:ht,["batchTransactions"]:yt},eu=(e={})=>(0,Zs.combineReducers)(u(u({},Q_),e)),So=eu});var oc={};_e(oc,{default:()=>fu,sessionStorageReducers:()=>Ur});function je(e,o=[]){return{key:e,version:1,storage:Qs.default,blacklist:o}}var pe,Js,Qs,ou,wn,nu,tu,ru,au,iu,su,cu,pu,mu,du,ec,lu,Ur,_u,uu,gu,fu,nc=y(()=>{"use strict";n();pe=require("redux-persist"),Js=h(require("redux-persist/lib/storage")),Qs=h(require("redux-persist/lib/storage/session"));vt();P();at();St();st();pt();dt();_t();gt();Tt();xt();Fr();ou={persistReducersStorageType:"localStorage"},wn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},nu=je(wn["account"]),tu=je(wn["loginInfo"]),ru=je(wn["modals"]),au=je(wn["networkConfig"]),iu={2:e=>w(u({},e),{networkConfig:Pr})};su=je("sdk-dapp-transactionsInfo"),cu=je("sdk-dapp-transactions",["transactionsToSign"]),pu=je("sdk-dapp-batchTransactions",["batchTransactions"]),mu=je("sdk-dapp-toasts"),du=je("sdk-dapp-signedMessageInfo"),ec={key:"sdk-dapp-store",version:2,storage:Js.default,whitelist:Object.keys(wn),migrate:(0,pe.createMigrate)(iu,{debug:!1})},lu=w(u({},ec),{whitelist:[]}),Ur={["toasts"]:(0,pe.persistReducer)(mu,ut),["transactions"]:(0,pe.persistReducer)(cu,ht),["transactionsInfo"]:(0,pe.persistReducer)(su,ft),["batchTransactions"]:(0,pe.persistReducer)(pu,yt),["signedMessageInfo"]:(0,pe.persistReducer)(du,lt)},_u=w(u({},Ur),{["account"]:(0,pe.persistReducer)(nu,rt),["loginInfo"]:(0,pe.persistReducer)(tu,it),["modals"]:(0,pe.persistReducer)(ru,ct),["networkConfig"]:(0,pe.persistReducer)(au,mt)}),uu=ou.persistReducersStorageType==="localStorage",gu=uu?(0,pe.persistReducer)(ec,So(Ur)):(0,pe.persistReducer)(lu,So(_u)),fu=gu});var tc={};_e(tc,{default:()=>Tu});var Tu,rc=y(()=>{"use strict";n();vt();Tu=So()});var ac={};_e(ac,{default:()=>xu});var he,hu,xu,ic=y(()=>{"use strict";n();he=require("redux-persist"),hu=[he.FLUSH,he.REHYDRATE,he.PAUSE,he.PERSIST,he.PURGE,he.REGISTER],xu=hu});var pc={};_e(pc,{default:()=>cc});function cc(e){return(0,sc.persistStore)(e)}var sc,mc=y(()=>{"use strict";n();sc=require("redux-persist")});var xp=b((TM,hp)=>{n();var of=typeof i=="object"&&i&&i.Object===Object&&i;hp.exports=of});var En=b((hM,yp)=>{n();var nf=xp(),tf=typeof self=="object"&&self&&self.Object===Object&&self,rf=nf||tf||Function("return this")();yp.exports=rf});var da=b((xM,Sp)=>{n();var af=En(),sf=af.Symbol;Sp.exports=sf});var Ap=b((yM,vp)=>{n();var bp=da(),wp=Object.prototype,cf=wp.hasOwnProperty,pf=wp.toString,Cn=bp?bp.toStringTag:void 0;function mf(e){var o=cf.call(e,Cn),t=e[Cn];try{e[Cn]=void 0;var a=!0}catch(p){}var c=pf.call(e);return a&&(o?e[Cn]=t:delete e[Cn]),c}vp.exports=mf});var kp=b((SM,Ip)=>{n();var df=Object.prototype,lf=df.toString;function _f(e){return lf.call(e)}Ip.exports=_f});var la=b((bM,Ep)=>{n();var Lp=da(),uf=Ap(),gf=kp(),ff="[object Null]",Tf="[object Undefined]",Pp=Lp?Lp.toStringTag:void 0;function hf(e){return e==null?e===void 0?Tf:ff:Pp&&Pp in Object(e)?uf(e):gf(e)}Ep.exports=hf});var Np=b((wM,Cp)=>{n();var xf=Array.isArray;Cp.exports=xf});var Dp=b((vM,Rp)=>{n();function yf(e){return e!=null&&typeof e=="object"}Rp.exports=yf});var Op=b((AM,Mp)=>{n();var Sf=la(),bf=Np(),wf=Dp(),vf="[object String]";function Af(e){return typeof e=="string"||!bf(e)&&wf(e)&&Sf(e)==vf}Mp.exports=Af});var ga={};_e(ga,{css:()=>Hp,default:()=>Rf});var Hp,Rf,fa=y(()=>{"use strict";n();Hp=`.dapp-core-component__main__link-style {
1
+ "use strict";var yl=Object.create;var fn=Object.defineProperty,Sl=Object.defineProperties,bl=Object.getOwnPropertyDescriptor,wl=Object.getOwnPropertyDescriptors,vl=Object.getOwnPropertyNames,jn=Object.getOwnPropertySymbols,Al=Object.getPrototypeOf,er=Object.prototype.hasOwnProperty,ei=Object.prototype.propertyIsEnumerable;var Qa=(e,o,t)=>o in e?fn(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))er.call(o,t)&&Qa(e,t,o[t]);if(jn)for(var t of jn(o))ei.call(o,t)&&Qa(e,t,o[t]);return e},w=(e,o)=>Sl(e,wl(o));var eo=(e,o)=>{var t={};for(var a in e)er.call(e,a)&&o.indexOf(a)<0&&(t[a]=e[a]);if(e!=null&&jn)for(var a of jn(e))o.indexOf(a)<0&&ei.call(e,a)&&(t[a]=e[a]);return t};var y=(e,o)=>()=>(e&&(o=e(e=0)),o);var b=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),_e=(e,o)=>{for(var t in o)fn(e,t,{get:o[t],enumerable:!0})},oi=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of vl(o))!er.call(e,c)&&c!==t&&fn(e,c,{get:()=>o[c],enumerable:!(a=bl(o,c))||a.enumerable});return e};var h=(e,o,t)=>(t=e!=null?yl(Al(e)):{},oi(o||!e||!e.__esModule?fn(t,"default",{value:e,enumerable:!0}):t,e)),oe=e=>oi(fn({},"__esModule",{value:!0}),e);var f=(e,o,t)=>new Promise((a,c)=>{var p=l=>{try{d(t.next(l))}catch(g){c(g)}},m=l=>{try{d(t.throw(l))}catch(g){c(g)}},d=l=>l.done?a(l.value):Promise.resolve(l.value).then(p,m);d((t=t.apply(e,o)).next())});var ri=b(zn=>{"use strict";n();zn.byteLength=kl;zn.toByteArray=Pl;zn.fromByteArray=Nl;var Ae=[],fe=[],Il=typeof Uint8Array!="undefined"?Uint8Array:Array,or="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(uo=0,ni=or.length;uo<ni;++uo)Ae[uo]=or[uo],fe[or.charCodeAt(uo)]=uo;var uo,ni;fe["-".charCodeAt(0)]=62;fe["_".charCodeAt(0)]=63;function ti(e){var o=e.length;if(o%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=o);var a=t===o?0:4-t%4;return[t,a]}function kl(e){var o=ti(e),t=o[0],a=o[1];return(t+a)*3/4-a}function Ll(e,o,t){return(o+t)*3/4-t}function Pl(e){var o,t=ti(e),a=t[0],c=t[1],p=new Il(Ll(e,a,c)),m=0,d=c>0?a-4:a,l;for(l=0;l<d;l+=4)o=fe[e.charCodeAt(l)]<<18|fe[e.charCodeAt(l+1)]<<12|fe[e.charCodeAt(l+2)]<<6|fe[e.charCodeAt(l+3)],p[m++]=o>>16&255,p[m++]=o>>8&255,p[m++]=o&255;return c===2&&(o=fe[e.charCodeAt(l)]<<2|fe[e.charCodeAt(l+1)]>>4,p[m++]=o&255),c===1&&(o=fe[e.charCodeAt(l)]<<10|fe[e.charCodeAt(l+1)]<<4|fe[e.charCodeAt(l+2)]>>2,p[m++]=o>>8&255,p[m++]=o&255),p}function El(e){return Ae[e>>18&63]+Ae[e>>12&63]+Ae[e>>6&63]+Ae[e&63]}function Cl(e,o,t){for(var a,c=[],p=o;p<t;p+=3)a=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(El(a));return c.join("")}function Nl(e){for(var o,t=e.length,a=t%3,c=[],p=16383,m=0,d=t-a;m<d;m+=p)c.push(Cl(e,m,m+p>d?d:m+p));return a===1?(o=e[t-1],c.push(Ae[o>>2]+Ae[o<<4&63]+"==")):a===2&&(o=(e[t-2]<<8)+e[t-1],c.push(Ae[o>>10]+Ae[o>>4&63]+Ae[o<<2&63]+"=")),c.join("")}});var ai=b(nr=>{n();nr.read=function(e,o,t,a,c){var p,m,d=c*8-a-1,l=(1<<d)-1,g=l>>1,T=-7,x=t?c-1:0,L=t?-1:1,I=e[o+x];for(x+=L,p=I&(1<<-T)-1,I>>=-T,T+=d;T>0;p=p*256+e[o+x],x+=L,T-=8);for(m=p&(1<<-T)-1,p>>=-T,T+=a;T>0;m=m*256+e[o+x],x+=L,T-=8);if(p===0)p=1-g;else{if(p===l)return m?NaN:(I?-1:1)*(1/0);m=m+Math.pow(2,a),p=p-g}return(I?-1:1)*m*Math.pow(2,p-a)};nr.write=function(e,o,t,a,c,p){var m,d,l,g=p*8-c-1,T=(1<<g)-1,x=T>>1,L=c===23?Math.pow(2,-24)-Math.pow(2,-77):0,I=a?0:p-1,E=a?1:-1,$=o<0||o===0&&1/o<0?1:0;for(o=Math.abs(o),isNaN(o)||o===1/0?(d=isNaN(o)?1:0,m=T):(m=Math.floor(Math.log(o)/Math.LN2),o*(l=Math.pow(2,-m))<1&&(m--,l*=2),m+x>=1?o+=L/l:o+=L*Math.pow(2,1-x),o*l>=2&&(m++,l/=2),m+x>=T?(d=0,m=T):m+x>=1?(d=(o*l-1)*Math.pow(2,c),m=m+x):(d=o*Math.pow(2,x-1)*Math.pow(2,c),m=0));c>=8;e[t+I]=d&255,I+=E,d/=256,c-=8);for(m=m<<c|d,g+=c;g>0;e[t+I]=m&255,I+=E,m/=256,g-=8);e[t+I-E]|=$*128}});var hi=b(Wo=>{"use strict";n();var tr=ri(),Oo=ai(),ii=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Wo.Buffer=_;Wo.SlowBuffer=Bl;Wo.INSPECT_MAX_BYTES=50;var Kn=2147483647;Wo.kMaxLength=Kn;_.TYPED_ARRAY_SUPPORT=Rl();!_.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 Rl(){try{var e=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(e,o),e.foo()===42}catch(t){return!1}}Object.defineProperty(_.prototype,"parent",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.buffer}});Object.defineProperty(_.prototype,"offset",{enumerable:!0,get:function(){if(!!_.isBuffer(this))return this.byteOffset}});function We(e){if(e>Kn)throw new RangeError('The value "'+e+'" is invalid for option "size"');var o=new Uint8Array(e);return Object.setPrototypeOf(o,_.prototype),o}function _(e,o,t){if(typeof e=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return sr(e)}return pi(e,o,t)}_.poolSize=8192;function pi(e,o,t){if(typeof e=="string")return Ml(e,o);if(ArrayBuffer.isView(e))return Ol(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(Ie(e,ArrayBuffer)||e&&Ie(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Ie(e,SharedArrayBuffer)||e&&Ie(e.buffer,SharedArrayBuffer)))return ar(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var a=e.valueOf&&e.valueOf();if(a!=null&&a!==e)return _.from(a,o,t);var c=Wl(e);if(c)return c;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return _.from(e[Symbol.toPrimitive]("string"),o,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}_.from=function(e,o,t){return pi(e,o,t)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function mi(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 Dl(e,o,t){return mi(e),e<=0?We(e):o!==void 0?typeof t=="string"?We(e).fill(o,t):We(e).fill(o):We(e)}_.alloc=function(e,o,t){return Dl(e,o,t)};function sr(e){return mi(e),We(e<0?0:cr(e)|0)}_.allocUnsafe=function(e){return sr(e)};_.allocUnsafeSlow=function(e){return sr(e)};function Ml(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!_.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=di(e,o)|0,a=We(t),c=a.write(e,o);return c!==t&&(a=a.slice(0,c)),a}function rr(e){for(var o=e.length<0?0:cr(e.length)|0,t=We(o),a=0;a<o;a+=1)t[a]=e[a]&255;return t}function Ol(e){if(Ie(e,Uint8Array)){var o=new Uint8Array(e);return ar(o.buffer,o.byteOffset,o.byteLength)}return rr(e)}function ar(e,o,t){if(o<0||e.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<o+(t||0))throw new RangeError('"length" is outside of buffer bounds');var a;return o===void 0&&t===void 0?a=new Uint8Array(e):t===void 0?a=new Uint8Array(e,o):a=new Uint8Array(e,o,t),Object.setPrototypeOf(a,_.prototype),a}function Wl(e){if(_.isBuffer(e)){var o=cr(e.length)|0,t=We(o);return t.length===0||e.copy(t,0,0,o),t}if(e.length!==void 0)return typeof e.length!="number"||pr(e.length)?We(0):rr(e);if(e.type==="Buffer"&&Array.isArray(e.data))return rr(e.data)}function cr(e){if(e>=Kn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Kn.toString(16)+" bytes");return e|0}function Bl(e){return+e!=e&&(e=0),_.alloc(+e)}_.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==_.prototype};_.compare=function(o,t){if(Ie(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),Ie(t,Uint8Array)&&(t=_.from(t,t.offset,t.byteLength)),!_.isBuffer(o)||!_.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===t)return 0;for(var a=o.length,c=t.length,p=0,m=Math.min(a,c);p<m;++p)if(o[p]!==t[p]){a=o[p],c=t[p];break}return a<c?-1:c<a?1:0};_.isEncoding=function(o){switch(String(o).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};_.concat=function(o,t){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return _.alloc(0);var a;if(t===void 0)for(t=0,a=0;a<o.length;++a)t+=o[a].length;var c=_.allocUnsafe(t),p=0;for(a=0;a<o.length;++a){var m=o[a];if(Ie(m,Uint8Array))p+m.length>c.length?_.from(m).copy(c,p):Uint8Array.prototype.set.call(c,m,p);else if(_.isBuffer(m))m.copy(c,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=m.length}return c};function di(e,o){if(_.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||Ie(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,a=arguments.length>2&&arguments[2]===!0;if(!a&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return ir(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Ti(e).length;default:if(c)return a?-1:ir(e).length;o=(""+o).toLowerCase(),c=!0}}_.byteLength=di;function Fl(e,o,t){var a=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,o>>>=0,t<=o))return"";for(e||(e="utf8");;)switch(e){case"hex":return Xl(this,o,t);case"utf8":case"utf-8":return _i(this,o,t);case"ascii":return zl(this,o,t);case"latin1":case"binary":return Kl(this,o,t);case"base64":return ql(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Yl(this,o,t);default:if(a)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),a=!0}}_.prototype._isBuffer=!0;function go(e,o,t){var a=e[o];e[o]=e[t],e[t]=a}_.prototype.swap16=function(){var o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<o;t+=2)go(this,t,t+1);return this};_.prototype.swap32=function(){var o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<o;t+=4)go(this,t,t+3),go(this,t+1,t+2);return this};_.prototype.swap64=function(){var o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<o;t+=8)go(this,t,t+7),go(this,t+1,t+6),go(this,t+2,t+5),go(this,t+3,t+4);return this};_.prototype.toString=function(){var o=this.length;return o===0?"":arguments.length===0?_i(this,0,o):Fl.apply(this,arguments)};_.prototype.toLocaleString=_.prototype.toString;_.prototype.equals=function(o){if(!_.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:_.compare(this,o)===0};_.prototype.inspect=function(){var o="",t=Wo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};ii&&(_.prototype[ii]=_.prototype.inspect);_.prototype.compare=function(o,t,a,c,p){if(Ie(o,Uint8Array)&&(o=_.from(o,o.offset,o.byteLength)),!_.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(t===void 0&&(t=0),a===void 0&&(a=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||a>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=a)return 0;if(c>=p)return-1;if(t>=a)return 1;if(t>>>=0,a>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=a-t,l=Math.min(m,d),g=this.slice(c,p),T=o.slice(t,a),x=0;x<l;++x)if(g[x]!==T[x]){m=g[x],d=T[x];break}return m<d?-1:d<m?1:0};function li(e,o,t,a,c){if(e.length===0)return-1;if(typeof t=="string"?(a=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,pr(t)&&(t=c?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(c)return-1;t=e.length-1}else if(t<0)if(c)t=0;else return-1;if(typeof o=="string"&&(o=_.from(o,a)),_.isBuffer(o))return o.length===0?-1:si(e,o,t,a,c);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?c?Uint8Array.prototype.indexOf.call(e,o,t):Uint8Array.prototype.lastIndexOf.call(e,o,t):si(e,[o],t,a,c);throw new TypeError("val must be string, number or Buffer")}function si(e,o,t,a,c){var p=1,m=e.length,d=o.length;if(a!==void 0&&(a=String(a).toLowerCase(),a==="ucs2"||a==="ucs-2"||a==="utf16le"||a==="utf-16le")){if(e.length<2||o.length<2)return-1;p=2,m/=2,d/=2,t/=2}function l(I,E){return p===1?I[E]:I.readUInt16BE(E*p)}var g;if(c){var T=-1;for(g=t;g<m;g++)if(l(e,g)===l(o,T===-1?0:g-T)){if(T===-1&&(T=g),g-T+1===d)return T*p}else T!==-1&&(g-=g-T),T=-1}else for(t+d>m&&(t=m-d),g=t;g>=0;g--){for(var x=!0,L=0;L<d;L++)if(l(e,g+L)!==l(o,L)){x=!1;break}if(x)return g}return-1}_.prototype.includes=function(o,t,a){return this.indexOf(o,t,a)!==-1};_.prototype.indexOf=function(o,t,a){return li(this,o,t,a,!0)};_.prototype.lastIndexOf=function(o,t,a){return li(this,o,t,a,!1)};function Ul(e,o,t,a){t=Number(t)||0;var c=e.length-t;a?(a=Number(a),a>c&&(a=c)):a=c;var p=o.length;a>p/2&&(a=p/2);for(var m=0;m<a;++m){var d=parseInt(o.substr(m*2,2),16);if(pr(d))return m;e[t+m]=d}return m}function Gl(e,o,t,a){return Xn(ir(o,e.length-t),e,t,a)}function Hl(e,o,t,a){return Xn(Ql(o),e,t,a)}function Vl(e,o,t,a){return Xn(Ti(o),e,t,a)}function $l(e,o,t,a){return Xn(e_(o,e.length-t),e,t,a)}_.prototype.write=function(o,t,a,c){if(t===void 0)c="utf8",a=this.length,t=0;else if(a===void 0&&typeof t=="string")c=t,a=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(a)?(a=a>>>0,c===void 0&&(c="utf8")):(c=a,a=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((a===void 0||a>p)&&(a=p),o.length>0&&(a<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");c||(c="utf8");for(var m=!1;;)switch(c){case"hex":return Ul(this,o,t,a);case"utf8":case"utf-8":return Gl(this,o,t,a);case"ascii":case"latin1":case"binary":return Hl(this,o,t,a);case"base64":return Vl(this,o,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $l(this,o,t,a);default:if(m)throw new TypeError("Unknown encoding: "+c);c=(""+c).toLowerCase(),m=!0}};_.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ql(e,o,t){return o===0&&t===e.length?tr.fromByteArray(e):tr.fromByteArray(e.slice(o,t))}function _i(e,o,t){t=Math.min(e.length,t);for(var a=[],c=o;c<t;){var p=e[c],m=null,d=p>239?4:p>223?3:p>191?2:1;if(c+d<=t){var l,g,T,x;switch(d){case 1:p<128&&(m=p);break;case 2:l=e[c+1],(l&192)===128&&(x=(p&31)<<6|l&63,x>127&&(m=x));break;case 3:l=e[c+1],g=e[c+2],(l&192)===128&&(g&192)===128&&(x=(p&15)<<12|(l&63)<<6|g&63,x>2047&&(x<55296||x>57343)&&(m=x));break;case 4:l=e[c+1],g=e[c+2],T=e[c+3],(l&192)===128&&(g&192)===128&&(T&192)===128&&(x=(p&15)<<18|(l&63)<<12|(g&63)<<6|T&63,x>65535&&x<1114112&&(m=x))}}m===null?(m=65533,d=1):m>65535&&(m-=65536,a.push(m>>>10&1023|55296),m=56320|m&1023),a.push(m),c+=d}return jl(a)}var ci=4096;function jl(e){var o=e.length;if(o<=ci)return String.fromCharCode.apply(String,e);for(var t="",a=0;a<o;)t+=String.fromCharCode.apply(String,e.slice(a,a+=ci));return t}function zl(e,o,t){var a="";t=Math.min(e.length,t);for(var c=o;c<t;++c)a+=String.fromCharCode(e[c]&127);return a}function Kl(e,o,t){var a="";t=Math.min(e.length,t);for(var c=o;c<t;++c)a+=String.fromCharCode(e[c]);return a}function Xl(e,o,t){var a=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>a)&&(t=a);for(var c="",p=o;p<t;++p)c+=o_[e[p]];return c}function Yl(e,o,t){for(var a=e.slice(o,t),c="",p=0;p<a.length-1;p+=2)c+=String.fromCharCode(a[p]+a[p+1]*256);return c}_.prototype.slice=function(o,t){var a=this.length;o=~~o,t=t===void 0?a:~~t,o<0?(o+=a,o<0&&(o=0)):o>a&&(o=a),t<0?(t+=a,t<0&&(t=0)):t>a&&(t=a),t<o&&(t=o);var c=this.subarray(o,t);return Object.setPrototypeOf(c,_.prototype),c};function z(e,o,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+o>t)throw new RangeError("Trying to access beyond buffer length")}_.prototype.readUintLE=_.prototype.readUIntLE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return c};_.prototype.readUintBE=_.prototype.readUIntBE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o+--t],p=1;t>0&&(p*=256);)c+=this[o+--t]*p;return c};_.prototype.readUint8=_.prototype.readUInt8=function(o,t){return o=o>>>0,t||z(o,1,this.length),this[o]};_.prototype.readUint16LE=_.prototype.readUInt16LE=function(o,t){return o=o>>>0,t||z(o,2,this.length),this[o]|this[o+1]<<8};_.prototype.readUint16BE=_.prototype.readUInt16BE=function(o,t){return o=o>>>0,t||z(o,2,this.length),this[o]<<8|this[o+1]};_.prototype.readUint32LE=_.prototype.readUInt32LE=function(o,t){return o=o>>>0,t||z(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216};_.prototype.readUint32BE=_.prototype.readUInt32BE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])};_.prototype.readIntLE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=this[o],p=1,m=0;++m<t&&(p*=256);)c+=this[o+m]*p;return p*=128,c>=p&&(c-=Math.pow(2,8*t)),c};_.prototype.readIntBE=function(o,t,a){o=o>>>0,t=t>>>0,a||z(o,t,this.length);for(var c=t,p=1,m=this[o+--c];c>0&&(p*=256);)m+=this[o+--c]*p;return p*=128,m>=p&&(m-=Math.pow(2,8*t)),m};_.prototype.readInt8=function(o,t){return o=o>>>0,t||z(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]};_.prototype.readInt16LE=function(o,t){o=o>>>0,t||z(o,2,this.length);var a=this[o]|this[o+1]<<8;return a&32768?a|4294901760:a};_.prototype.readInt16BE=function(o,t){o=o>>>0,t||z(o,2,this.length);var a=this[o+1]|this[o]<<8;return a&32768?a|4294901760:a};_.prototype.readInt32LE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24};_.prototype.readInt32BE=function(o,t){return o=o>>>0,t||z(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]};_.prototype.readFloatLE=function(o,t){return o=o>>>0,t||z(o,4,this.length),Oo.read(this,o,!0,23,4)};_.prototype.readFloatBE=function(o,t){return o=o>>>0,t||z(o,4,this.length),Oo.read(this,o,!1,23,4)};_.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Oo.read(this,o,!0,52,8)};_.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Oo.read(this,o,!1,52,8)};function ie(e,o,t,a,c,p){if(!_.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>c||o<p)throw new RangeError('"value" argument is out of bounds');if(t+a>e.length)throw new RangeError("Index out of range")}_.prototype.writeUintLE=_.prototype.writeUIntLE=function(o,t,a,c){if(o=+o,t=t>>>0,a=a>>>0,!c){var p=Math.pow(2,8*a)-1;ie(this,o,t,a,p,0)}var m=1,d=0;for(this[t]=o&255;++d<a&&(m*=256);)this[t+d]=o/m&255;return t+a};_.prototype.writeUintBE=_.prototype.writeUIntBE=function(o,t,a,c){if(o=+o,t=t>>>0,a=a>>>0,!c){var p=Math.pow(2,8*a)-1;ie(this,o,t,a,p,0)}var m=a-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+a};_.prototype.writeUint8=_.prototype.writeUInt8=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,1,255,0),this[t]=o&255,t+1};_.prototype.writeUint16LE=_.prototype.writeUInt16LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,65535,0),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeUint16BE=_.prototype.writeUInt16BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,65535,0),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeUint32LE=_.prototype.writeUInt32LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,4294967295,0),this[t+3]=o>>>24,this[t+2]=o>>>16,this[t+1]=o>>>8,this[t]=o&255,t+4};_.prototype.writeUint32BE=_.prototype.writeUInt32BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,4294967295,0),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};_.prototype.writeIntLE=function(o,t,a,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*a-1);ie(this,o,t,a,p-1,-p)}var m=0,d=1,l=0;for(this[t]=o&255;++m<a&&(d*=256);)o<0&&l===0&&this[t+m-1]!==0&&(l=1),this[t+m]=(o/d>>0)-l&255;return t+a};_.prototype.writeIntBE=function(o,t,a,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*a-1);ie(this,o,t,a,p-1,-p)}var m=a-1,d=1,l=0;for(this[t+m]=o&255;--m>=0&&(d*=256);)o<0&&l===0&&this[t+m+1]!==0&&(l=1),this[t+m]=(o/d>>0)-l&255;return t+a};_.prototype.writeInt8=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,1,127,-128),o<0&&(o=255+o+1),this[t]=o&255,t+1};_.prototype.writeInt16LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};_.prototype.writeInt16BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};_.prototype.writeInt32LE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,2147483647,-2147483648),this[t]=o&255,this[t+1]=o>>>8,this[t+2]=o>>>16,this[t+3]=o>>>24,t+4};_.prototype.writeInt32BE=function(o,t,a){return o=+o,t=t>>>0,a||ie(this,o,t,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[t]=o>>>24,this[t+1]=o>>>16,this[t+2]=o>>>8,this[t+3]=o&255,t+4};function ui(e,o,t,a,c,p){if(t+a>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function gi(e,o,t,a,c){return o=+o,t=t>>>0,c||ui(e,o,t,4,34028234663852886e22,-34028234663852886e22),Oo.write(e,o,t,a,23,4),t+4}_.prototype.writeFloatLE=function(o,t,a){return gi(this,o,t,!0,a)};_.prototype.writeFloatBE=function(o,t,a){return gi(this,o,t,!1,a)};function fi(e,o,t,a,c){return o=+o,t=t>>>0,c||ui(e,o,t,8,17976931348623157e292,-17976931348623157e292),Oo.write(e,o,t,a,52,8),t+8}_.prototype.writeDoubleLE=function(o,t,a){return fi(this,o,t,!0,a)};_.prototype.writeDoubleBE=function(o,t,a){return fi(this,o,t,!1,a)};_.prototype.copy=function(o,t,a,c){if(!_.isBuffer(o))throw new TypeError("argument should be a Buffer");if(a||(a=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<a&&(c=a),c===a||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(a<0||a>=this.length)throw new RangeError("Index out of range");if(c<0)throw new RangeError("sourceEnd out of bounds");c>this.length&&(c=this.length),o.length-t<c-a&&(c=o.length-t+a);var p=c-a;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,a,c):Uint8Array.prototype.set.call(o,this.subarray(a,c),t),p};_.prototype.fill=function(o,t,a,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,a=this.length):typeof a=="string"&&(c=a,a=this.length),c!==void 0&&typeof c!="string")throw new TypeError("encoding must be a string");if(typeof c=="string"&&!_.isEncoding(c))throw new TypeError("Unknown encoding: "+c);if(o.length===1){var p=o.charCodeAt(0);(c==="utf8"&&p<128||c==="latin1")&&(o=p)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(t<0||this.length<t||this.length<a)throw new RangeError("Out of range index");if(a<=t)return this;t=t>>>0,a=a===void 0?this.length:a>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<a;++m)this[m]=o;else{var d=_.isBuffer(o)?o:_.from(o,c),l=d.length;if(l===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(m=0;m<a-t;++m)this[m+t]=d[m%l]}return this};var Zl=/[^+/0-9A-Za-z-_]/g;function Jl(e){if(e=e.split("=")[0],e=e.trim().replace(Zl,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function ir(e,o){o=o||1/0;for(var t,a=e.length,c=null,p=[],m=0;m<a;++m){if(t=e.charCodeAt(m),t>55295&&t<57344){if(!c){if(t>56319){(o-=3)>-1&&p.push(239,191,189);continue}else if(m+1===a){(o-=3)>-1&&p.push(239,191,189);continue}c=t;continue}if(t<56320){(o-=3)>-1&&p.push(239,191,189),c=t;continue}t=(c-55296<<10|t-56320)+65536}else c&&(o-=3)>-1&&p.push(239,191,189);if(c=null,t<128){if((o-=1)<0)break;p.push(t)}else if(t<2048){if((o-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((o-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((o-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function Ql(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function e_(e,o){for(var t,a,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),a=t>>8,c=t%256,p.push(c),p.push(a);return p}function Ti(e){return tr.toByteArray(Jl(e))}function Xn(e,o,t,a){for(var c=0;c<a&&!(c+t>=o.length||c>=e.length);++c)o[c+t]=e[c];return c}function Ie(e,o){return e instanceof o||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===o.name}function pr(e){return e!==e}var o_=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var a=t*16,c=0;c<16;++c)o[a+c]=e[t]+e[c];return o}()});var wi=b((by,bi)=>{n();var U=bi.exports={},ke,Le;function mr(){throw new Error("setTimeout has not been defined")}function dr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ke=setTimeout:ke=mr}catch(e){ke=mr}try{typeof clearTimeout=="function"?Le=clearTimeout:Le=dr}catch(e){Le=dr}})();function xi(e){if(ke===setTimeout)return setTimeout(e,0);if((ke===mr||!ke)&&setTimeout)return ke=setTimeout,setTimeout(e,0);try{return ke(e,0)}catch(o){try{return ke.call(null,e,0)}catch(t){return ke.call(this,e,0)}}}function n_(e){if(Le===clearTimeout)return clearTimeout(e);if((Le===dr||!Le)&&clearTimeout)return Le=clearTimeout,clearTimeout(e);try{return Le(e)}catch(o){try{return Le.call(null,e)}catch(t){return Le.call(this,e)}}}var Be=[],Bo=!1,fo,Yn=-1;function t_(){!Bo||!fo||(Bo=!1,fo.length?Be=fo.concat(Be):Yn=-1,Be.length&&yi())}function yi(){if(!Bo){var e=xi(t_);Bo=!0;for(var o=Be.length;o;){for(fo=Be,Be=[];++Yn<o;)fo&&fo[Yn].run();Yn=-1,o=Be.length}fo=null,Bo=!1,n_(e)}}U.nextTick=function(e){var o=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)o[t-1]=arguments[t];Be.push(new Si(e,o)),Be.length===1&&!Bo&&xi(yi)};function Si(e,o){this.fun=e,this.array=o}Si.prototype.run=function(){this.fun.apply(null,this.array)};U.title="browser";U.browser=!0;U.env={};U.argv=[];U.version="";U.versions={};function Fe(){}U.on=Fe;U.addListener=Fe;U.once=Fe;U.off=Fe;U.removeListener=Fe;U.removeAllListeners=Fe;U.emit=Fe;U.prependListener=Fe;U.prependOnceListener=Fe;U.listeners=function(e){return[]};U.binding=function(e){throw new Error("process.binding is not supported")};U.cwd=function(){return"/"};U.chdir=function(e){throw new Error("process.chdir is not supported")};U.umask=function(){return 0}});var r,s,r_,i,n=y(()=>{r=h(hi()),s=h(wi()),r_=function(e){function o(){var a=this||self;return delete e.prototype.__magic__,a}if(typeof globalThis=="object")return globalThis;if(this)return o();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:o});var t=__magic__;return t}(Object),i=r_});var vi=y(()=>{"use strict";n()});var Ai,Ue,Ii,lr,ki,Li,Zn,Pe=y(()=>{"use strict";n();Ai="error when signing",Ue="Transaction canceled",Ii="error signing transaction",lr="provider not initialized",ki="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",Li="Undefined transaction status",Zn="You cannot sign transactions from a different account"});var Pi=y(()=>{"use strict";n()});var _r,Ei=y(()=>{"use strict";n();_r=(a=>(a.SetGuardian="SetGuardian",a.GuardAccount="GuardAccount",a.UnGuardAccount="UnGuardAccount",a))(_r||{})});var Ci=y(()=>{"use strict";n()});var ur=y(()=>{"use strict";n()});var Ni=y(()=>{"use strict";n()});var gr,fr=y(()=>{"use strict";n();gr=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(gr||{})});var Ri=y(()=>{"use strict";n()});var Di=y(()=>{"use strict";n()});var ne,Fo,oo=y(()=>{"use strict";n();ne=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Fo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Mi,Dy,Oi,My,R=y(()=>{"use strict";n();oo();Mi=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(Mi||{}),Dy=u(u({},Fo.WindowProviderRequestEnums),Mi),Oi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Oi||{}),My=u(u({},Fo.WindowProviderResponseEnums),Oi)});var Wi=y(()=>{"use strict";n()});var Bi=y(()=>{"use strict";n()});var se=y(()=>{"use strict";n()});var Fi=y(()=>{"use strict";n()});var Ui=y(()=>{"use strict";n()});var Gi=y(()=>{"use strict";n()});var O=y(()=>{"use strict";n();fr();Ri();Di();R();Wi();Bi();se();Fi();Ui();Gi()});var To,Hi,Jy,Vi,Qy,$i,eS,oS,qi,Uo=y(()=>{"use strict";n();O();To={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",extrasApiAddress:"https://devnet-extras-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://devnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",extrasApiAddress:"https://testnet-extras-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",metamaskSnapWalletAddress:"https://testnet-iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",extrasApiAddress:"https://extras-api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",metamaskSnapWalletAddress:"https://iframe-wallet.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:Hi,egldLabel:Jy}=To["devnet"],{chainId:Vi,egldLabel:Qy}=To["testnet"],{chainId:$i,egldLabel:eS}=To["mainnet"],oS={["devnet"]:Hi,["testnet"]:Vi,["mainnet"]:$i},qi={[Hi]:"devnet",[Vi]:"testnet",[$i]:"mainnet"}});var ji,Tn=y(()=>{"use strict";n();ji="cancel-transaction-toast"});var Ee,zi=y(()=>{"use strict";n();Ee=require("@multiversx/sdk-web-wallet-provider")});var Ce,ho=y(()=>{"use strict";n();Ce=require("@multiversx/sdk-dapp-utils/out/constants/browserConstants")});var Ki,Xi,Tr,sS,cS,hr=y(()=>{"use strict";n();ho();Tr=String((Xi=(Ki=Ce.safeWindow)==null?void 0:Ki.navigator)==null?void 0:Xi.userAgent),sS=/^((?!chrome|android).)*safari/i.test(Tr),cS=/firefox/i.test(Tr)&&/windows/i.test(Tr)});var Jn,Qn,Yi,Zi,Ne,et,Ji,ot,Qi,Go,k=y(()=>{"use strict";n();vi();Pe();Pi();Ei();Ci();ur();Ni();Uo();Tn();zi();hr();Jn=5e4,Qn=1e9,Yi=1,Zi="/dapp/init",Ne="signSession",et="sdk-dapp-version",Ji="4.3.9",ot="logout",Qi="login",Go="0"});var hn,nt=y(()=>{"use strict";n();hn=()=>Date.now()/1e3});var es=y(()=>{"use strict";n()});var os=y(()=>{"use strict";n()});var xr=y(()=>{"use strict";n();nt();es();os()});var yr={};_e(yr,{clear:()=>c_,getItem:()=>i_,localStorageKeys:()=>Ge,removeItem:()=>s_,setItem:()=>a_});var Ge,tt,a_,i_,s_,c_,xo=y(()=>{"use strict";n();xr();Ge={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},tt=typeof localStorage!="undefined",a_=({key:e,data:o,expires:t})=>{!tt||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},i_=e=>{if(!tt)return;let o=localStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:hn()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},s_=e=>{!tt||localStorage.removeItem(String(e))},c_=()=>{!tt||localStorage.clear()}});var Sr={};_e(Sr,{clear:()=>as,getItem:()=>ts,removeItem:()=>rs,sessionStorageKeys:()=>p_,setItem:()=>ns,storage:()=>m_});var p_,ns,ts,rs,as,m_,is=y(()=>{"use strict";n();p_={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},ns=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},ts=e=>{let o=sessionStorage.getItem(String(e));if(!o)return null;let t=JSON.parse(o);return!t||!t.hasOwnProperty("expires")||!t.hasOwnProperty("data")?null:Date.now()>=t.expires?(sessionStorage.removeItem(String(e)),null):t.data},rs=e=>sessionStorage.removeItem(String(e)),as=()=>sessionStorage.clear(),m_={setItem:ns,getItem:ts,removeItem:rs,clear:as}});var no,yo=y(()=>{"use strict";n();xo();is();no={session:Sr,local:yr}});var br,M,ce,W=y(()=>{"use strict";n();br=require("@reduxjs/toolkit");k();M=(0,br.createAction)(ot),ce=(0,br.createAction)(Qi,e=>({payload:e}))});var vr,ss,cs,Te,wr,ps,Se,to,Ar,FS,d_,l_,US,GS,HS,__,u_,rt,at=y(()=>{"use strict";n();vr=require("@multiversx/sdk-core"),ss=require("@reduxjs/toolkit"),cs=require("redux-persist");k();yo();xo();W();Te={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Go},wr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Te},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},ps=(0,ss.createSlice)({name:"accountInfoSlice",initialState:wr,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new vr.Address(t).hex():""},setAccount:(e,o)=>{let t=e.address===o.payload.address;e.accounts={[e.address]:t?o.payload:Te},e.shard=o.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,o)=>{let{address:t}=e;e.accounts[t].nonce=o.payload},setAccountShard:(e,o)=>{e.shard=o.payload},setLedgerAccount:(e,o)=>{e.ledgerAccount=o.payload},updateLedgerAccount:(e,o)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=o.payload.index,e.ledgerAccount.address=o.payload.address)},setWalletConnectAccount:(e,o)=>{e.walletConnectAccount=o.payload},setIsAccountLoading:(e,o)=>{e.isAccountLoading=o.payload,e.accountLoadingError=null},setAccountLoadingError:(e,o)=>{e.accountLoadingError=o.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,o)=>{e.websocketEvent={timestamp:Date.now(),message:o.payload}},setWebsocketBatchEvent:(e,o)=>{e.websocketBatchEvent={timestamp:Date.now(),data:o.payload}}},extraReducers:e=>{e.addCase(M,()=>(no.local.removeItem(Ge.loginExpiresAt),wr)),e.addCase(ce,(o,t)=>{let{address:a}=t.payload;o.address=a,o.publicKey=new vr.Address(a).toHex()}),e.addCase(cs.REHYDRATE,(o,t)=>{var g;if(!((g=t.payload)!=null&&g.account))return;let{account:a}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=a;o.address=c,o.shard=p;let l=m&&c in m;o.accounts=l?m:wr.accounts,o.publicKey=d})}}),{setAccount:Se,setAddress:to,setAccountNonce:Ar,setAccountShard:FS,setLedgerAccount:d_,updateLedgerAccount:l_,setWalletConnectAccount:US,setIsAccountLoading:GS,setAccountLoadingError:HS,setWebsocketEvent:__,setWebsocketBatchEvent:u_}=ps.actions,rt=ps.reducer});function xn(){return new Date().setHours(new Date().getHours()+24)}function yn(e){no.local.setItem({key:Ge.loginExpiresAt,data:e,expires:e})}var Ir=y(()=>{"use strict";n();yo();xo()});var ds,ms,ls,JS,g_,f_,kr,QS,T_,_s,eb,ob,nb,it,st=y(()=>{"use strict";n();ds=require("@reduxjs/toolkit");Ir();R();W();ms={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},ls=(0,ds.createSlice)({name:"loginInfoSlice",initialState:ms,reducers:{setLoginMethod:(e,o)=>{e.loginMethod=o.payload},setTokenLogin:(e,o)=>{e.tokenLogin=o.payload},setTokenLoginSignature:(e,o)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=o.payload)},setWalletLogin:(e,o)=>{e.walletLogin=o.payload},setWalletConnectLogin:(e,o)=>{e.walletConnectLogin=o.payload},setLedgerLogin:(e,o)=>{e.ledgerLogin=o.payload},setWebviewLogin:(e,o)=>{e.webviewLogin=o.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,o)=>{e.logoutRoute=o.payload},setIsWalletConnectV2Initialized:(e,o)=>{e.isWalletConnectV2Initialized=o.payload}},extraReducers:e=>{e.addCase(M,()=>ms),e.addCase(ce,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,yn(xn())})}}),{setLoginMethod:JS,setWalletConnectLogin:g_,setLedgerLogin:f_,setTokenLogin:kr,setTokenLoginSignature:QS,setWalletLogin:T_,invalidateLoginSession:_s,setLogoutRoute:eb,setIsWalletConnectV2Initialized:ob,setWebviewLogin:nb}=ls.actions,it=ls.reducer});var gs,us,fs,ib,h_,sb,x_,ct,pt=y(()=>{"use strict";n();gs=require("@reduxjs/toolkit");W();us={},fs=(0,gs.createSlice)({name:"modalsSlice",initialState:us,reducers:{setTxSubmittedModal:(e,o)=>{e.txSubmittedModal=o.payload},setNotificationModal:(e,o)=>{e.notificationModal=o.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(M,()=>us)}}),{setTxSubmittedModal:ib,setNotificationModal:h_,clearTxSubmittedModal:sb,clearNotificationModal:x_}=fs.actions,ct=fs.reducer});var He,Ho=y(()=>{"use strict";n();He=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,J=y(()=>{"use strict";n();Ho();N=()=>{if(!He())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:a,href:c,search:p}}=window;return{pathname:o,hash:t,origin:a,href:c,search:p}}});var Ts=y(()=>{"use strict";n();J()});var Ve,hs=y(()=>{"use strict";n();Q();Ve=()=>{let{pathname:e,search:o,hash:t}=N();return`${e!=null?e:""}${o!=null?o:""}${t!=null?t:""}`}});var xs=y(()=>{"use strict";n();ho()});var Q=y(()=>{"use strict";n();Ts();hs();J();xs()});var Sn=y(()=>{"use strict";n();Q()});var Ss=y(()=>{"use strict";n();Sn()});function bs(e){return e[Math.floor(Math.random()*e.length)]}var ws=y(()=>{"use strict";n()});var Lr=y(()=>{"use strict";n();ur()});var $e=y(()=>{"use strict";n();Ss();ws();Lr()});var vs,As,Is,Pr,S_,ks,Ub,Gb,Ls,mt,dt=y(()=>{"use strict";n();vs=require("@reduxjs/toolkit"),As=h(require("lodash.omit")),Is=require("redux-persist");Tn();W();$e();Pr={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},S_={network:Pr},ks=(0,vs.createSlice)({name:"appConfig",initialState:S_,reducers:{initializeNetworkConfig:(e,o)=>{let t=bs(o.payload.walletConnectV2RelayAddresses),a=(0,As.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(u(u({},e.network),a),{walletConnectV2RelayAddress:t})},updateNetworkConfig:(e,o)=>{e.network=u(u({},e.network),o.payload)},setCustomWalletAddress:(e,o)=>{e.network.customWalletAddress=o.payload}},extraReducers:e=>{e.addCase(M,o=>{o.network.customWalletAddress=void 0}),e.addCase(Is.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:a}}=t.payload;o.network.customWalletAddress=a})}}),{initializeNetworkConfig:Ub,updateNetworkConfig:Gb,setCustomWalletAddress:Ls}=ks.actions,mt=ks.reducer});var Ps,Er,Es,zb,Kb,Xb,lt,_t=y(()=>{"use strict";n();Ps=require("@reduxjs/toolkit");O();W();Er={isSigning:!1,signedSessions:{}},Es=(0,Ps.createSlice)({name:"signedMessageInfoSliceState",initialState:Er,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:a,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=a.status==="pending",e.signedSessions[t]=u(u({},e.signedSessions[t]),a)},setSignSessionState:(e,o)=>u(u({},e),o.payload),clearSignedMessageInfo:()=>Er},extraReducers:e=>{e.addCase(M,()=>Er)}}),{setSignSession:zb,clearSignedMessageInfo:Kb,setSignSessionState:Xb}=Es.actions,lt=Es.reducer});var Ns,Rs,Cs,Ds,Cr,b_,n0,w_,ut,gt=y(()=>{"use strict";n();Ns=require("@reduxjs/toolkit"),Rs=require("redux-persist");O();nt();W();Cs={customToasts:[],transactionToasts:[]},Ds=(0,Ns.createSlice)({name:"toastsSlice",initialState:Cs,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,a=e.customToasts.findIndex(c=>c.toastId===t);if(a!==-1){e.customToasts[a]=w(u(u({},e.customToasts[a]),o.payload),{type:"custom",toastId:t});return}e.customToasts.push(w(u({},o.payload),{type:"custom",toastId:t}))},removeCustomToast:(e,o)=>{e.customToasts=e.customToasts.filter(t=>t.toastId!==o.payload)},addTransactionToast:(e,o)=>{e.transactionToasts.push({type:"transaction",startTimestamp:hn(),toastId:o.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,o)=>{e.transactionToasts=e.transactionToasts.filter(t=>t.toastId!==o.payload)}},extraReducers:e=>{e.addCase(M,()=>Cs),e.addCase(Rs.REHYDRATE,(o,t)=>{var c,p;let a=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=a})}}),{addCustomToast:Cr,removeCustomToast:b_,addTransactionToast:n0,removeTransactionToast:w_}=Ds.actions,ut=Ds.reducer});var Ms,Rr,Dr,Mr,v_,Nr,Os,i0,A_,Vo,ft,Tt=y(()=>{"use strict";n();Ms=require("@reduxjs/toolkit");W();Rr="Transaction failed",Dr="Transaction successful",Mr="Processing transaction",v_="Transaction submitted",Nr={},Os=(0,Ms.createSlice)({name:"transactionsInfo",initialState:Nr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:a}=o.payload;t!=null&&(e[t]={errorMessage:(a==null?void 0:a.errorMessage)||Rr,successMessage:(a==null?void 0:a.successMessage)||Dr,processingMessage:(a==null?void 0:a.processingMessage)||Mr,submittedMessage:(a==null?void 0:a.submittedMessage)||v_,transactionDuration:a==null?void 0:a.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Nr},extraReducers:e=>{e.addCase(M,()=>Nr)}}),{clearTransactionsInfo:i0,setTransactionsDisplayInfo:A_,clearTransactionsInfoForSessionId:Vo}=Os.actions,ft=Os.reducer});function qo(e){return e!=null&&(M_(e)||U_(e))}function jo(e){return e!=null&&(O_(e)||G_(e))}function zo(e){return e!=null&&(W_(e)||H_(e))}function Ws(e){return e!=null&&(B_(e)||V_(e))}function Or(e){return e!=null&&F_(e)}function M_(e){return e!=null&&I_.includes(e)}function O_(e){return e!=null&&k_.includes(e)}function W_(e){return e!=null&&L_.includes(e)}function B_(e){return e!=null&&P_.includes(e)}function F_(e){return e!=null&&E_.includes(e)}function U_(e){return e!=null&&C_.includes(e)}function G_(e){return e!=null&&N_.includes(e)}function H_(e){return e!=null&&R_.includes(e)}function V_(e){return e!=null&&D_.includes(e)}var I_,k_,L_,P_,E_,C_,N_,R_,D_,Ko=y(()=>{"use strict";n();R();I_=["sent"],k_=["success"],L_=["fail","cancelled","timedOut"],P_=["invalid"],E_=["timedOut"],C_=["pending"],N_=["success"],R_=["fail","invalid"],D_=["not executed"]});var Bs,Fs,bn,$_,Us,Gs,Hs,q_,ao,j_,z_,g0,K_,qe,io,f0,ht,xt=y(()=>{"use strict";n();Bs=require("@reduxjs/toolkit"),Fs=require("redux-persist");R();Ko();W();bn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},$_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Us=(0,Bs.createSlice)({name:"transactionsSlice",initialState:bn,reducers:{moveTransactionsToSignedState:(e,o)=>{var l,g;let{sessionId:t,transactions:a,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=u(u(u({},$_),((l=e.signedTransactions[t])==null?void 0:l.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:a,status:p,errorMessage:c,redirectRoute:m,customTransactionInformation:u(u({},e.customTransactionInformationForSessionId[t]),d!=null?d:{})},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===t&&(e.transactionsToSign=bn.transactionsToSign)},clearSignedTransaction:(e,o)=>{e.signedTransactions[o.payload]&&delete e.signedTransactions[o.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,o)=>{e.signedTransactions=u(u({},e.signedTransactions),o.payload)},updateSignedTransactions:(e,o)=>{let{sessionId:t,status:a,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=a,c!=null&&(e.signedTransactions[t].errorMessage=c),p!=null&&(e.signedTransactions[t].transactions=p))},updateSignedTransactionStatus:(e,o)=>{var g,T,x,L,I,E,$,D;let{sessionId:t,status:a,errorMessage:c,transactionHash:p,serverTransaction:m,inTransit:d}=o.payload,l=(T=(g=e.signedTransactions)==null?void 0:g[t])==null?void 0:T.transactions;if(l!=null){e.signedTransactions[t].transactions=l.map(B=>B.hash===p?w(u(u({},m!=null?m:{}),B),{status:a,errorMessage:c,inTransit:d}):B);let G=(L=(x=e.signedTransactions[t])==null?void 0:x.transactions)==null?void 0:L.every(B=>jo(B.status)),re=(E=(I=e.signedTransactions[t])==null?void 0:I.transactions)==null?void 0:E.some(B=>zo(B.status)),xe=(D=($=e.signedTransactions[t])==null?void 0:$.transactions)==null?void 0:D.every(B=>Ws(B.status));G&&(e.signedTransactions[t].status="success"),re&&(e.signedTransactions[t].status="fail"),xe&&(e.signedTransactions[t].status="invalid")}},setTransactionsToSign:(e,o)=>{e.transactionsToSign=o.payload;let{sessionId:t,customTransactionInformation:a}=o.payload;e.customTransactionInformationForSessionId[t]=a,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=bn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=bn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:a}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=u(u({},e.signedTransactions[t].customTransactionInformation),a))}},extraReducers:e=>{e.addCase(M,()=>bn),e.addCase(Fs.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:a,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(a).reduce((d,[l,g])=>{let T=new Date(l),x=new Date;return x.setHours(x.getHours()+5),x-T>0||(d[l]=g),d},{});c!=null&&(o.customTransactionInformationForSessionId=c),a!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:Gs,updateSignedTransactions:Hs,setTransactionsToSign:q_,clearAllTransactionsToSign:ao,clearAllSignedTransactions:j_,clearSignedTransaction:z_,clearTransactionToSign:g0,setSignTransactionsError:K_,setSignTransactionsCancelMessage:qe,moveTransactionsToSignedState:io,updateSignedTransactionsCustomTransactionInformation:f0}=Us.actions,ht=Us.reducer});var Vs,Wr,$s,y0,S0,X_,b0,yt,St=y(()=>{"use strict";n();Vs=require("@reduxjs/toolkit");W();Wr={},$s=(0,Vs.createSlice)({name:"batchTransactionsSlice",initialState:Wr,reducers:{setBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},updateBatchTransactions:(e,o)=>{e[o.payload.id]=o.payload},clearBatchTransactions:(e,o)=>{delete e[o.payload.batchId]},clearAllBatchTransactions:()=>Wr},extraReducers:e=>{e.addCase(M,()=>Wr)}}),{setBatchTransactions:y0,updateBatchTransactions:S0,clearBatchTransactions:X_,clearAllBatchTransactions:b0}=$s.actions,yt=$s.reducer});var js,qs,zs,I0,Ks,Br=y(()=>{"use strict";n();js=require("@reduxjs/toolkit");W();qs={},zs=(0,js.createSlice)({name:"dappConfigSlice",initialState:qs,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(M,()=>qs)}}),{setDappConfig:I0}=zs.actions,Ks=zs.reducer});var P=y(()=>{"use strict";n();at();st();pt();dt();_t();gt();Tt();xt();St();Br()});var Fr=y(()=>{"use strict";n()});var Zs,Q_,eu,So,vt=y(()=>{"use strict";n();Zs=require("@reduxjs/toolkit");Fr();at();St();Br();st();pt();dt();_t();gt();Tt();xt();Q_={["account"]:rt,["dappConfig"]:Ks,["loginInfo"]:it,["modals"]:ct,["networkConfig"]:mt,["signedMessageInfo"]:lt,["toasts"]:ut,["transactionsInfo"]:ft,["transactions"]:ht,["batchTransactions"]:yt},eu=(e={})=>(0,Zs.combineReducers)(u(u({},Q_),e)),So=eu});var oc={};_e(oc,{default:()=>fu,sessionStorageReducers:()=>Ur});function je(e,o=[]){return{key:e,version:1,storage:Qs.default,blacklist:o}}var pe,Js,Qs,ou,wn,nu,tu,ru,au,iu,su,cu,pu,mu,du,ec,lu,Ur,_u,uu,gu,fu,nc=y(()=>{"use strict";n();pe=require("redux-persist"),Js=h(require("redux-persist/lib/storage")),Qs=h(require("redux-persist/lib/storage/session"));vt();P();at();St();st();pt();dt();_t();gt();Tt();xt();Fr();ou={persistReducersStorageType:"localStorage"},wn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},nu=je(wn["account"]),tu=je(wn["loginInfo"]),ru=je(wn["modals"]),au=je(wn["networkConfig"]),iu={2:e=>w(u({},e),{networkConfig:Pr})};su=je("sdk-dapp-transactionsInfo"),cu=je("sdk-dapp-transactions",["transactionsToSign"]),pu=je("sdk-dapp-batchTransactions",["batchTransactions"]),mu=je("sdk-dapp-toasts"),du=je("sdk-dapp-signedMessageInfo"),ec={key:"sdk-dapp-store",version:2,storage:Js.default,whitelist:Object.keys(wn),migrate:(0,pe.createMigrate)(iu,{debug:!1})},lu=w(u({},ec),{whitelist:[]}),Ur={["toasts"]:(0,pe.persistReducer)(mu,ut),["transactions"]:(0,pe.persistReducer)(cu,ht),["transactionsInfo"]:(0,pe.persistReducer)(su,ft),["batchTransactions"]:(0,pe.persistReducer)(pu,yt),["signedMessageInfo"]:(0,pe.persistReducer)(du,lt)},_u=w(u({},Ur),{["account"]:(0,pe.persistReducer)(nu,rt),["loginInfo"]:(0,pe.persistReducer)(tu,it),["modals"]:(0,pe.persistReducer)(ru,ct),["networkConfig"]:(0,pe.persistReducer)(au,mt)}),uu=ou.persistReducersStorageType==="localStorage",gu=uu?(0,pe.persistReducer)(ec,So(Ur)):(0,pe.persistReducer)(lu,So(_u)),fu=gu});var tc={};_e(tc,{default:()=>Tu});var Tu,rc=y(()=>{"use strict";n();vt();Tu=So()});var ac={};_e(ac,{default:()=>xu});var he,hu,xu,ic=y(()=>{"use strict";n();he=require("redux-persist"),hu=[he.FLUSH,he.REHYDRATE,he.PAUSE,he.PERSIST,he.PURGE,he.REGISTER],xu=hu});var pc={};_e(pc,{default:()=>cc});function cc(e){return(0,sc.persistStore)(e)}var sc,mc=y(()=>{"use strict";n();sc=require("redux-persist")});var xp=b((TM,hp)=>{n();var of=typeof i=="object"&&i&&i.Object===Object&&i;hp.exports=of});var En=b((hM,yp)=>{n();var nf=xp(),tf=typeof self=="object"&&self&&self.Object===Object&&self,rf=nf||tf||Function("return this")();yp.exports=rf});var da=b((xM,Sp)=>{n();var af=En(),sf=af.Symbol;Sp.exports=sf});var Ap=b((yM,vp)=>{n();var bp=da(),wp=Object.prototype,cf=wp.hasOwnProperty,pf=wp.toString,Cn=bp?bp.toStringTag:void 0;function mf(e){var o=cf.call(e,Cn),t=e[Cn];try{e[Cn]=void 0;var a=!0}catch(p){}var c=pf.call(e);return a&&(o?e[Cn]=t:delete e[Cn]),c}vp.exports=mf});var kp=b((SM,Ip)=>{n();var df=Object.prototype,lf=df.toString;function _f(e){return lf.call(e)}Ip.exports=_f});var la=b((bM,Ep)=>{n();var Lp=da(),uf=Ap(),gf=kp(),ff="[object Null]",Tf="[object Undefined]",Pp=Lp?Lp.toStringTag:void 0;function hf(e){return e==null?e===void 0?Tf:ff:Pp&&Pp in Object(e)?uf(e):gf(e)}Ep.exports=hf});var Np=b((wM,Cp)=>{n();var xf=Array.isArray;Cp.exports=xf});var Dp=b((vM,Rp)=>{n();function yf(e){return e!=null&&typeof e=="object"}Rp.exports=yf});var Op=b((AM,Mp)=>{n();var Sf=la(),bf=Np(),wf=Dp(),vf="[object String]";function Af(e){return typeof e=="string"||!bf(e)&&wf(e)&&Sf(e)==vf}Mp.exports=Af});var ga={};_e(ga,{css:()=>Hp,default:()=>Rf});var Hp,Rf,fa=y(()=>{"use strict";n();Hp=`.dapp-core-component__main__link-style {
2
2
  color: #1392ff;
3
3
  }
4
4