@multiversx/sdk-dapp 4.5.0 → 4.5.1

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 (997) 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-Z3BHYWI2.js → chunk-2K2I7POW.js} +2 -2
  258. package/__chunks__/{chunk-YVDQRW6Z.js → chunk-2NDFZFFA.js} +2 -2
  259. package/__chunks__/{chunk-JQOAJCEE.js → chunk-2OMXS33B.js} +2 -2
  260. package/__chunks__/{chunk-NMQOTJVE.js → chunk-2UPRUAJD.js} +2 -2
  261. package/__chunks__/{chunk-5NLDE2M6.js → chunk-2WK27JLL.js} +2 -2
  262. package/__chunks__/{chunk-IU4XYDFL.js → chunk-35IMGEGS.js} +2 -2
  263. package/__chunks__/{chunk-753ZKERX.js → chunk-36J2YD36.js} +2 -2
  264. package/__chunks__/{chunk-E445ZLFG.js → chunk-3ASMFH3M.js} +2 -2
  265. package/__chunks__/chunk-3DLCJJT3.js +2 -0
  266. package/__chunks__/{chunk-XY2ADFOV.js → chunk-3FLBDMZL.js} +2 -2
  267. package/__chunks__/{chunk-23YQWJ53.js → chunk-3ITNC4BR.js} +2 -2
  268. package/__chunks__/{chunk-N2YFQIHN.js → chunk-3LI4G6J5.js} +2 -2
  269. package/__chunks__/{chunk-OMUZRB52.js → chunk-3LNZUSHQ.js} +2 -2
  270. package/__chunks__/{chunk-NW3NUEH4.js → chunk-3MH6BOK2.js} +2 -2
  271. package/__chunks__/{chunk-53MJS2UN.js → chunk-3OFQJ5EE.js} +2 -2
  272. package/__chunks__/{chunk-LYQHJMVE.js → chunk-3XJAG4WD.js} +2 -2
  273. package/__chunks__/{chunk-35DEXYGI.js → chunk-44CRUFPA.js} +2 -2
  274. package/__chunks__/{chunk-3WQ4IBE4.js → chunk-4AYROJTH.js} +2 -2
  275. package/__chunks__/{chunk-N6D4CBS3.js → chunk-4EMLN6H7.js} +2 -2
  276. package/__chunks__/{chunk-INLSUUDL.js → chunk-4FDCZ72Q.js} +2 -2
  277. package/__chunks__/{chunk-VPRAZBFT.js → chunk-4GTSITDA.js} +2 -2
  278. package/__chunks__/{chunk-BMQ2D6AI.js → chunk-4HDJTTN5.js} +2 -2
  279. package/__chunks__/{chunk-IFCVOGBC.js → chunk-4IRXMJL2.js} +2 -2
  280. package/__chunks__/{chunk-MC3NWM2P.js → chunk-4KDGJ5YP.js} +2 -2
  281. package/__chunks__/{chunk-WF2453OL.js → chunk-4NLJWHH4.js} +2 -2
  282. package/__chunks__/{chunk-WBYKDP4P.js → chunk-4QF3Q4BD.js} +2 -2
  283. package/__chunks__/{chunk-IPF5D5U6.js → chunk-4SU4BMTK.js} +2 -2
  284. package/__chunks__/{chunk-KXVWXU7X.js → chunk-4TYYEUKJ.js} +2 -2
  285. package/__chunks__/{chunk-VDKCS5XV.js → chunk-4VUQ6AJV.js} +2 -2
  286. package/__chunks__/{chunk-7MD6JYSE.js → chunk-4X4YGCNU.js} +2 -2
  287. package/__chunks__/{chunk-YC4PYJSV.js → chunk-4X7CLN37.js} +2 -2
  288. package/__chunks__/chunk-54HQEPKH.js +2 -0
  289. package/__chunks__/{chunk-CTZRMAIE.js → chunk-56WHADDT.js} +2 -2
  290. package/__chunks__/{chunk-SYNQCYKY.js → chunk-5AA4GXNY.js} +2 -2
  291. package/__chunks__/{chunk-WHY4HSMI.js → chunk-5EV3AWHZ.js} +2 -2
  292. package/__chunks__/chunk-5F4AET3X.js +2 -0
  293. package/__chunks__/{chunk-OMINC7E6.js → chunk-5JW5RYZG.js} +2 -2
  294. package/__chunks__/chunk-5OVPPTAT.js +2 -0
  295. package/__chunks__/{chunk-CBB3SAMO.js → chunk-5QQBGBO6.js} +2 -2
  296. package/__chunks__/{chunk-IAMOD6DB.js → chunk-5VZ37H4A.js} +2 -2
  297. package/__chunks__/{chunk-BLWQF7RV.js → chunk-66LBGFRZ.js} +2 -2
  298. package/__chunks__/chunk-6BIBC3R3.js +2 -0
  299. package/__chunks__/chunk-6G4W7Y3U.js +2 -0
  300. package/__chunks__/{chunk-YSH7GZ72.js → chunk-6PGMCNST.js} +2 -2
  301. package/__chunks__/{chunk-CAQE3LB5.js → chunk-6SJCQU3L.js} +2 -2
  302. package/__chunks__/{chunk-AO5NJUJ5.js → chunk-6USVZZ6Q.js} +2 -2
  303. package/__chunks__/{chunk-KIVUCBDI.js → chunk-6WFSCYTL.js} +2 -2
  304. package/__chunks__/{chunk-LLYCQY4F.js → chunk-6Z4IIJB3.js} +2 -2
  305. package/__chunks__/{chunk-5UWMFB5V.js → chunk-75CVQ6GE.js} +2 -2
  306. package/__chunks__/{chunk-CNJYC4ME.js → chunk-7M5GCSH6.js} +2 -2
  307. package/__chunks__/chunk-7SBQ3LEX.js +2 -0
  308. package/__chunks__/{chunk-OEYDXF7S.js → chunk-7UCDGHRA.js} +2 -2
  309. package/__chunks__/{chunk-XLZEJFGA.js → chunk-7ULKRQFD.js} +2 -2
  310. package/__chunks__/{chunk-FLHFOQWH.js → chunk-7XFQ6AIO.js} +2 -2
  311. package/__chunks__/{chunk-WRFRJHHT.js → chunk-7YK3453O.js} +2 -2
  312. package/__chunks__/chunk-AAHCQZFX.js +2 -0
  313. package/__chunks__/{chunk-4J7T3ITM.js → chunk-AB5HSFHR.js} +2 -2
  314. package/__chunks__/{chunk-YXCA6OWH.js → chunk-AD2G7ML2.js} +2 -2
  315. package/__chunks__/{chunk-UMMDHDDK.js → chunk-ADEFMXJL.js} +2 -2
  316. package/__chunks__/{chunk-S7A5K4N6.js → chunk-AFSN2BHB.js} +2 -2
  317. package/__chunks__/chunk-AIOEYTOG.js +2 -0
  318. package/__chunks__/chunk-AOBYVG7C.js +2 -0
  319. package/__chunks__/{chunk-QQBLDHHX.js → chunk-APCIKBV6.js} +2 -2
  320. package/__chunks__/{chunk-WVFNSSLI.js → chunk-APGVNXFV.js} +2 -2
  321. package/__chunks__/{chunk-ZCBY7D6F.js → chunk-ARM7CW7F.js} +2 -2
  322. package/__chunks__/{chunk-FDHEJ7TD.js → chunk-ATPOT5O4.js} +2 -2
  323. package/__chunks__/chunk-AW5DF4SB.js +2 -0
  324. package/__chunks__/chunk-B6SRZVD4.js +2 -0
  325. package/__chunks__/{chunk-7JHWHHOA.js → chunk-B6SZ3LU7.js} +2 -2
  326. package/__chunks__/{chunk-IN2RGX66.js → chunk-B75YSVLP.js} +2 -2
  327. package/__chunks__/{chunk-HZXRDHWZ.js → chunk-BECPO6EF.js} +2 -2
  328. package/__chunks__/{chunk-H36F2DC6.js → chunk-BF657KHL.js} +2 -2
  329. package/__chunks__/chunk-BGQFAV2J.js +2 -0
  330. package/__chunks__/chunk-BGT54OVS.js +2 -0
  331. package/__chunks__/{chunk-DPE6LMNH.js → chunk-BIUS2EVV.js} +2 -2
  332. package/__chunks__/{chunk-NT7GWM46.js → chunk-BJ5NMDKV.js} +2 -2
  333. package/__chunks__/{chunk-ZBMS25W3.js → chunk-BJ6C74OV.js} +2 -2
  334. package/__chunks__/{chunk-MTKIP56T.js → chunk-BLUCNNR2.js} +2 -2
  335. package/__chunks__/{chunk-THPXO2GZ.js → chunk-BPGX25LY.js} +2 -2
  336. package/__chunks__/{chunk-ZPLBE5I4.js → chunk-BU7GTULJ.js} +2 -2
  337. package/__chunks__/{chunk-G6RECRW4.js → chunk-BVOVWN5Y.js} +2 -2
  338. package/__chunks__/{chunk-AIS2COIW.js → chunk-BWGLODP6.js} +2 -2
  339. package/__chunks__/{chunk-GRQGQ3NE.js → chunk-BWX4676R.js} +2 -2
  340. package/__chunks__/chunk-BXKSPPIC.js +2 -0
  341. package/__chunks__/{chunk-2KKODEHE.js → chunk-CB4GEA4S.js} +2 -2
  342. package/__chunks__/chunk-CFRLFYAV.js +2 -0
  343. package/__chunks__/{chunk-P23Q3D4G.js → chunk-CGXJFVZM.js} +2 -2
  344. package/__chunks__/{chunk-7G3HPM22.js → chunk-CH3C53AO.js} +2 -2
  345. package/__chunks__/chunk-CINXL6S6.js +2 -0
  346. package/__chunks__/chunk-CMT2YLHS.js +2 -0
  347. package/__chunks__/{chunk-3DAQVHZA.js → chunk-COIOGDTJ.js} +2 -2
  348. package/__chunks__/{chunk-AWMNYB42.js → chunk-CPEXDCSU.js} +2 -2
  349. package/__chunks__/chunk-CQVG7IY4.js +2 -0
  350. package/__chunks__/{chunk-USAAXM5Q.js → chunk-CT2QI4K2.js} +2 -2
  351. package/__chunks__/{chunk-QTDF6V5P.js → chunk-CUGUE4LD.js} +2 -2
  352. package/__chunks__/chunk-CUKB5INY.js +2 -0
  353. package/__chunks__/{chunk-NLJWAMY7.js → chunk-CWN2QGRT.js} +2 -2
  354. package/__chunks__/{chunk-FYNDKXBZ.js → chunk-CX6KTHP5.js} +2 -2
  355. package/__chunks__/{chunk-X3JHZFAE.js → chunk-CX7KCL5H.js} +2 -2
  356. package/__chunks__/{chunk-QKFY3IKC.js → chunk-D3MHXO7L.js} +2 -2
  357. package/__chunks__/{chunk-4D6NBDW2.js → chunk-DDWRCCCZ.js} +2 -2
  358. package/__chunks__/{chunk-CJWOZ7WH.js → chunk-DG4FPIVJ.js} +2 -2
  359. package/__chunks__/{chunk-6XXPSZN5.js → chunk-DGEGNXMM.js} +2 -2
  360. package/__chunks__/chunk-DKU4VSVV.js +2 -0
  361. package/__chunks__/{chunk-YYHAWMRH.js → chunk-DM4BJXEM.js} +2 -2
  362. package/__chunks__/{chunk-UWNULMVI.js → chunk-DMULRVRA.js} +2 -2
  363. package/__chunks__/{chunk-7KAAWHQR.js → chunk-DRS3U275.js} +2 -2
  364. package/__chunks__/{chunk-H2LOTPFT.js → chunk-DZSMQIIA.js} +2 -2
  365. package/__chunks__/{chunk-BLDYFAMF.js → chunk-E6Q2Y3W3.js} +2 -2
  366. package/__chunks__/{chunk-KPLDAPRZ.js → chunk-E6TYN2RW.js} +2 -2
  367. package/__chunks__/{chunk-DQZ5XI37.js → chunk-EMLCTW7A.js} +2 -2
  368. package/__chunks__/{chunk-HKXLCM7L.js → chunk-EMVCPTHR.js} +2 -2
  369. package/__chunks__/{chunk-EREZSUUB.js → chunk-EO6HXDCR.js} +2 -2
  370. package/__chunks__/{chunk-OKHUJ6CT.js → chunk-EPVNC46A.js} +2 -2
  371. package/__chunks__/{chunk-ZYLKUSOM.js → chunk-EYQC3ENH.js} +2 -2
  372. package/__chunks__/{chunk-6UTDKIJQ.js → chunk-F3NQDSS7.js} +2 -2
  373. package/__chunks__/chunk-FC4AKO7M.js +2 -0
  374. package/__chunks__/{chunk-L2OZR2CY.js → chunk-FDIU3DMA.js} +2 -2
  375. package/__chunks__/{chunk-IHMIYIXV.js → chunk-FEFMKBHU.js} +2 -2
  376. package/__chunks__/{chunk-KZSL52ES.js → chunk-FIU4IYCF.js} +2 -2
  377. package/__chunks__/{chunk-C6OAICVO.js → chunk-FJ3NU4RP.js} +2 -2
  378. package/__chunks__/{chunk-R7PG4CX5.js → chunk-FZDOJFOW.js} +2 -2
  379. package/__chunks__/{chunk-OADCTH2V.js → chunk-G2JNPFUT.js} +2 -2
  380. package/__chunks__/chunk-G36Z3MYL.js +2 -0
  381. package/__chunks__/{chunk-HOTZHU6C.js → chunk-GDVUBIAA.js} +2 -2
  382. package/__chunks__/chunk-GEEKB72J.js +2 -0
  383. package/__chunks__/{chunk-SWUZLNZF.js → chunk-GFTHBT5S.js} +2 -2
  384. package/__chunks__/{chunk-OUI3PAS7.js → chunk-GGVRPC44.js} +2 -2
  385. package/__chunks__/{chunk-V45PX7SK.js → chunk-GI4FSMXP.js} +2 -2
  386. package/__chunks__/chunk-GIORI2OH.js +2 -0
  387. package/__chunks__/{chunk-VIIMPGHZ.js → chunk-GSEUOARU.js} +2 -2
  388. package/__chunks__/{chunk-RK4EFPVI.js → chunk-GXB2HDQT.js} +2 -2
  389. package/__chunks__/{chunk-6BWEAQYK.js → chunk-H2OAZP4M.js} +2 -2
  390. package/__chunks__/{chunk-OMEZRPYI.js → chunk-H3SVFYNB.js} +2 -2
  391. package/__chunks__/{chunk-KTHN7K4J.js → chunk-H6MUJD4E.js} +2 -2
  392. package/__chunks__/{chunk-5HE26PEM.js → chunk-HAQS3VTI.js} +2 -2
  393. package/__chunks__/{chunk-TFYCUHSH.js → chunk-HBPDRU2X.js} +2 -2
  394. package/__chunks__/{chunk-ORUY525X.js → chunk-HCSOTX7M.js} +2 -2
  395. package/__chunks__/{chunk-PIBSWY65.js → chunk-HJ365HGN.js} +2 -2
  396. package/__chunks__/{chunk-OB7A2DQB.js → chunk-HJS7UPLA.js} +2 -2
  397. package/__chunks__/{chunk-WT53PGGK.js → chunk-HNQE3MUU.js} +2 -2
  398. package/__chunks__/chunk-HU3KKNCO.js +2 -0
  399. package/__chunks__/chunk-HZG4VDTB.js +2 -0
  400. package/__chunks__/{chunk-D2FZ3AY6.js → chunk-IBRCVMB3.js} +2 -2
  401. package/__chunks__/{chunk-ONSQEJQ7.js → chunk-ICBJRFED.js} +2 -2
  402. package/__chunks__/{chunk-5GOVGL5F.js → chunk-IOB7ZE6S.js} +2 -2
  403. package/__chunks__/{chunk-U6ZMO2NF.js → chunk-IPFJF54U.js} +2 -2
  404. package/__chunks__/{chunk-K2REVJW5.js → chunk-IS5TGR57.js} +2 -2
  405. package/__chunks__/{chunk-MSC3X6UJ.js → chunk-IY32SQ2N.js} +2 -2
  406. package/__chunks__/{chunk-4EH75OYN.js → chunk-IZ326AFU.js} +2 -2
  407. package/__chunks__/{chunk-45IK7E3E.js → chunk-J2WDVSN3.js} +2 -2
  408. package/__chunks__/{chunk-EOADUL42.js → chunk-J3YUJE2R.js} +2 -2
  409. package/__chunks__/{chunk-VHE5W3LK.js → chunk-J4F5N3ZT.js} +2 -2
  410. package/__chunks__/{chunk-HRI3IU3O.js → chunk-J5V3BK3K.js} +2 -2
  411. package/__chunks__/{chunk-XLIHKENR.js → chunk-JEEIA3PW.js} +2 -2
  412. package/__chunks__/{chunk-2ILBLRYP.js → chunk-JICIOSCH.js} +2 -2
  413. package/__chunks__/{chunk-PUKSSL4B.js → chunk-JKZAYYS7.js} +2 -2
  414. package/__chunks__/{chunk-AWTCUL56.js → chunk-JLILH67N.js} +2 -2
  415. package/__chunks__/{chunk-KNR666GN.js → chunk-JNLAZTS4.js} +2 -2
  416. package/__chunks__/{chunk-NBRXKEWE.js → chunk-JOWEGCWE.js} +2 -2
  417. package/__chunks__/chunk-JQJQ7LHF.js +2 -0
  418. package/__chunks__/{chunk-OWQN4SST.js → chunk-JQXPZ6QT.js} +2 -2
  419. package/__chunks__/chunk-JR45NQ66.js +2 -0
  420. package/__chunks__/{chunk-CNMPGSI4.js → chunk-K2S5LXYA.js} +2 -2
  421. package/__chunks__/{chunk-4UI7AJUB.js → chunk-K2X5ELXZ.js} +2 -2
  422. package/__chunks__/{chunk-2TNJWI6O.js → chunk-K7ZPCXVP.js} +2 -2
  423. package/__chunks__/chunk-KBJOYGV3.js +2 -0
  424. package/__chunks__/{chunk-CLMEZF3T.js → chunk-KIAMT7PX.js} +2 -2
  425. package/__chunks__/{chunk-C6FWOIAJ.js → chunk-KLOCMESI.js} +2 -2
  426. package/__chunks__/chunk-KR4AUSGR.js +2 -0
  427. package/__chunks__/{chunk-AUTX2AU4.js → chunk-KSQBMD6F.js} +2 -2
  428. package/__chunks__/{chunk-2Q2YI5BP.js → chunk-KUWKJTM3.js} +2 -2
  429. package/__chunks__/{chunk-PB26C735.js → chunk-KWB3CSYB.js} +2 -2
  430. package/__chunks__/{chunk-AUV2YMMV.js → chunk-KWQEBYAL.js} +2 -2
  431. package/__chunks__/chunk-KYNY6J5Y.js +2 -0
  432. package/__chunks__/chunk-LE6GU2X4.js +2 -0
  433. package/__chunks__/{chunk-CZU5I22H.js → chunk-LIELXMI3.js} +2 -2
  434. package/__chunks__/chunk-LK3GLF7O.js +2 -0
  435. package/__chunks__/{chunk-XJUJRMW2.js → chunk-LLGTKTPK.js} +2 -2
  436. package/__chunks__/{chunk-A2IGIV7E.js → chunk-LLZNCZE6.js} +2 -2
  437. package/__chunks__/{chunk-W4VJ6KST.js → chunk-LNSE5XNM.js} +2 -2
  438. package/__chunks__/{chunk-KEG5V3YK.js → chunk-LOQ76KHF.js} +2 -2
  439. package/__chunks__/chunk-LQBB552V.js +2 -0
  440. package/__chunks__/chunk-LS7ZYS4M.js +2 -0
  441. package/__chunks__/{chunk-MN6IA7DE.js → chunk-LZWGCXQS.js} +2 -2
  442. package/__chunks__/{chunk-DB3X3DBS.js → chunk-M3EARCD3.js} +2 -2
  443. package/__chunks__/{chunk-LAHEZYF6.js → chunk-M5JEB3JX.js} +2 -2
  444. package/__chunks__/chunk-M5OD2X65.js +2 -0
  445. package/__chunks__/{chunk-SBAXVPVV.js → chunk-MDG6MATJ.js} +2 -2
  446. package/__chunks__/chunk-MELVLLHR.js +2 -0
  447. package/__chunks__/{chunk-ISO2AWEE.js → chunk-MGO2OJJR.js} +2 -2
  448. package/__chunks__/{chunk-4SDU6RPN.js → chunk-MJQLD33A.js} +2 -2
  449. package/__chunks__/chunk-MNWCBW5Y.js +2 -0
  450. package/__chunks__/{chunk-MYKHD6TD.js → chunk-MR4F7VN3.js} +2 -2
  451. package/__chunks__/{chunk-QAHRORZG.js → chunk-MTUOEG4L.js} +2 -2
  452. package/__chunks__/chunk-MXGXIZED.js +2 -0
  453. package/__chunks__/{chunk-BXJIXZFJ.js → chunk-MYCI2XL6.js} +2 -2
  454. package/__chunks__/{chunk-BSTV7EXM.js → chunk-N3BJ42WD.js} +2 -2
  455. package/__chunks__/{chunk-FBN5LHMU.js → chunk-N3S4PVNK.js} +2 -2
  456. package/__chunks__/{chunk-ZTQDAQIB.js → chunk-N7SQSNMP.js} +2 -2
  457. package/__chunks__/chunk-NDVYP4GL.js +2 -0
  458. package/__chunks__/{chunk-B5J4WVB2.js → chunk-NGKIF246.js} +2 -2
  459. package/__chunks__/chunk-NIGPIPSW.js +2 -0
  460. package/__chunks__/chunk-NJMDHZIK.js +2 -0
  461. package/__chunks__/{chunk-NPJOOCZ7.js → chunk-NMKEUZS6.js} +2 -2
  462. package/__chunks__/{chunk-LHPFWKUO.js → chunk-NO5JSFSP.js} +2 -2
  463. package/__chunks__/{chunk-67WBRVY5.js → chunk-NRGXWLE3.js} +2 -2
  464. package/__chunks__/chunk-NT56YZIX.js +2 -0
  465. package/__chunks__/{chunk-HTJUWOTH.js → chunk-NTXARDKH.js} +2 -2
  466. package/__chunks__/chunk-NXPG6E4S.js +2 -0
  467. package/__chunks__/{chunk-I23RFGCU.js → chunk-NXSIIFLS.js} +2 -2
  468. package/__chunks__/{chunk-T6BGDGI4.js → chunk-O2K6SRXS.js} +2 -2
  469. package/__chunks__/{chunk-WCES5BZL.js → chunk-O2WWOVAA.js} +2 -2
  470. package/__chunks__/{chunk-ZX34BIQY.js → chunk-O77TEM5H.js} +2 -2
  471. package/__chunks__/{chunk-6CHMDMOI.js → chunk-OBKZA6WE.js} +2 -2
  472. package/__chunks__/{chunk-PHMNM5J6.js → chunk-ODFJ4D3P.js} +2 -2
  473. package/__chunks__/{chunk-WH3DQSON.js → chunk-OEMMQBND.js} +2 -2
  474. package/__chunks__/{chunk-D6GAS366.js → chunk-OGWPFO2E.js} +2 -2
  475. package/__chunks__/{chunk-5YBHFKIF.js → chunk-OJJCYG3B.js} +2 -2
  476. package/__chunks__/{chunk-OTLA6FLL.js → chunk-OJXKCUI6.js} +2 -2
  477. package/__chunks__/{chunk-L6HAFP2H.js → chunk-OKDLNCLS.js} +2 -2
  478. package/__chunks__/{chunk-QZT2SFMM.js → chunk-OLTIGYTD.js} +2 -2
  479. package/__chunks__/chunk-OLXMTV3K.js +2 -0
  480. package/__chunks__/{chunk-5BDF4YMO.js → chunk-ORKOMULF.js} +2 -2
  481. package/__chunks__/{chunk-AB3PZCYE.js → chunk-OUQUVMP5.js} +2 -2
  482. package/__chunks__/{chunk-SXKWSF42.js → chunk-OVQY55MU.js} +2 -2
  483. package/__chunks__/{chunk-FKXDLGWC.js → chunk-P3OIVL6D.js} +2 -2
  484. package/__chunks__/chunk-P3WBUHDD.js +2 -0
  485. package/__chunks__/{chunk-HGPBGLTH.js → chunk-P563BKWF.js} +2 -2
  486. package/__chunks__/{chunk-AFCV3QID.js → chunk-PDA5OY3Q.js} +2 -2
  487. package/__chunks__/{chunk-LBWDM2WS.js → chunk-PG2EUCFN.js} +2 -2
  488. package/__chunks__/{chunk-YG27VNDE.js → chunk-PIW74OD5.js} +2 -2
  489. package/__chunks__/{chunk-BX5HH547.js → chunk-PNHQ2N3L.js} +2 -2
  490. package/__chunks__/{chunk-H5T2IEFD.js → chunk-PPIRVTWC.js} +2 -2
  491. package/__chunks__/{chunk-TKVDUKJ5.js → chunk-PRFA6SXP.js} +2 -2
  492. package/__chunks__/{chunk-TGYN752O.js → chunk-PRSAX766.js} +2 -2
  493. package/__chunks__/{chunk-BHSNVNQO.js → chunk-PSWY5DES.js} +2 -2
  494. package/__chunks__/{chunk-YG7UA67K.js → chunk-Q4F7QCMB.js} +2 -2
  495. package/__chunks__/{chunk-W4GHVZZI.js → chunk-Q74F5K2H.js} +2 -2
  496. package/__chunks__/{chunk-SZEUI4OR.js → chunk-Q74FEJZV.js} +2 -2
  497. package/__chunks__/chunk-Q76COMSQ.js +2 -0
  498. package/__chunks__/{chunk-ON5LP6JP.js → chunk-Q7VFYYE6.js} +2 -2
  499. package/__chunks__/chunk-QC2HODGU.js +2 -0
  500. package/__chunks__/{chunk-3VM4WTSL.js → chunk-QCXE5MDH.js} +2 -2
  501. package/__chunks__/{chunk-GUYURVJK.js → chunk-QG55NZL3.js} +2 -2
  502. package/__chunks__/{chunk-BC3IQLZJ.js → chunk-QGOMOCS5.js} +2 -2
  503. package/__chunks__/{chunk-ZTEUU5H5.js → chunk-QOD57VGA.js} +2 -2
  504. package/__chunks__/{chunk-AFWXD6D2.js → chunk-QU32YKRN.js} +2 -2
  505. package/__chunks__/{chunk-IIIUTIXU.js → chunk-QVC437DJ.js} +2 -2
  506. package/__chunks__/{chunk-US37PFYF.js → chunk-QVN57DZM.js} +2 -2
  507. package/__chunks__/{chunk-3S44WZ6S.js → chunk-QYYRMYZZ.js} +2 -2
  508. package/__chunks__/{chunk-DGJNZAH7.js → chunk-R5JHOYMG.js} +2 -2
  509. package/__chunks__/{chunk-XHESHVFW.js → chunk-RKOYLBHX.js} +2 -2
  510. package/__chunks__/{chunk-5RMZNCGN.js → chunk-RLJQFYZO.js} +2 -2
  511. package/__chunks__/{chunk-YLCNB656.js → chunk-RNKMCLKC.js} +2 -2
  512. package/__chunks__/{chunk-CDDW2IBX.js → chunk-RNR7TM4C.js} +2 -2
  513. package/__chunks__/{chunk-Y5MSFSID.js → chunk-RPLMYIHO.js} +2 -2
  514. package/__chunks__/{chunk-I3KUOXAQ.js → chunk-RV5MR57H.js} +2 -2
  515. package/__chunks__/{chunk-GCIT5EQL.js → chunk-RWM2DX2N.js} +2 -2
  516. package/__chunks__/{chunk-QTEMRGTF.js → chunk-RWRE7J6C.js} +2 -2
  517. package/__chunks__/{chunk-IIVIW4IU.js → chunk-S35OO5TF.js} +2 -2
  518. package/__chunks__/chunk-S3LHPV2C.js +2 -0
  519. package/__chunks__/{chunk-EIOQ4AZU.js → chunk-S42LSTGT.js} +2 -2
  520. package/__chunks__/{chunk-AUCWY6HH.js → chunk-S44ARFAW.js} +2 -2
  521. package/__chunks__/{chunk-OWLKFN3L.js → chunk-S67USAUD.js} +2 -2
  522. package/__chunks__/{chunk-BVHM5RCS.js → chunk-SITMCCOG.js} +2 -2
  523. package/__chunks__/{chunk-747W4CCW.js → chunk-SP4WXLGN.js} +2 -2
  524. package/__chunks__/{chunk-QAILRCL2.js → chunk-SUFG3P2I.js} +2 -2
  525. package/__chunks__/{chunk-7O6FTRXC.js → chunk-T3ZE2WFR.js} +2 -2
  526. package/__chunks__/{chunk-K6Z6FB2Z.js → chunk-T6XTMCQC.js} +2 -2
  527. package/__chunks__/{chunk-TRHXE2FH.js → chunk-TC2WVD6T.js} +2 -2
  528. package/__chunks__/chunk-TCEQHR33.js +2 -0
  529. package/__chunks__/{chunk-J55FTVT5.js → chunk-TDHAGKBY.js} +2 -2
  530. package/__chunks__/chunk-TGYMSW3J.js +2 -0
  531. package/__chunks__/{chunk-HYAP5S7Y.js → chunk-TIJP4PS7.js} +2 -2
  532. package/__chunks__/chunk-TOKNON6B.js +2 -0
  533. package/__chunks__/{chunk-2YJ77Q6U.js → chunk-TPTPBUTP.js} +2 -2
  534. package/__chunks__/{chunk-2AFSONSG.js → chunk-TR2WXKZY.js} +2 -2
  535. package/__chunks__/{chunk-H466TX27.js → chunk-TUQKHHOA.js} +2 -2
  536. package/__chunks__/{chunk-J2Y6GBC2.js → chunk-TZ5PMIJ3.js} +2 -2
  537. package/__chunks__/{chunk-22SSNQZC.js → chunk-TZIVVSS6.js} +2 -2
  538. package/__chunks__/{chunk-N77RIXSH.js → chunk-U2KLQAGM.js} +2 -2
  539. package/__chunks__/{chunk-TAQCSBSJ.js → chunk-U32PX6NF.js} +2 -2
  540. package/__chunks__/{chunk-2L4SILFQ.js → chunk-U3XBUPXD.js} +2 -2
  541. package/__chunks__/{chunk-AWKMJ6BH.js → chunk-U4CDBI6P.js} +2 -2
  542. package/__chunks__/{chunk-25Z4RRV2.js → chunk-U62E2JHZ.js} +2 -2
  543. package/__chunks__/chunk-UBSBJF3A.js +2 -0
  544. package/__chunks__/{chunk-XDWFAAXF.js → chunk-UDJZII4B.js} +2 -2
  545. package/__chunks__/{chunk-5ERYPF64.js → chunk-UGJQKACR.js} +2 -2
  546. package/__chunks__/chunk-UNR5DH2P.js +2 -0
  547. package/__chunks__/chunk-UNV565VI.js +2 -0
  548. package/__chunks__/{chunk-AC6CKWKK.js → chunk-UOF2PVU3.js} +2 -2
  549. package/__chunks__/{chunk-ZZC6YAK2.js → chunk-UQSSY2CE.js} +2 -2
  550. package/__chunks__/chunk-UZGZ2ISZ.js +2 -0
  551. package/__chunks__/{chunk-XCYTLFVY.js → chunk-UZYWNRXB.js} +2 -2
  552. package/__chunks__/{chunk-FOMXUSAM.js → chunk-VCDU5F5F.js} +2 -2
  553. package/__chunks__/chunk-VH5LM3UB.js +2 -0
  554. package/__chunks__/{chunk-CJNQHFTG.js → chunk-VKH7RCJZ.js} +2 -2
  555. package/__chunks__/{chunk-GZERAGVT.js → chunk-VKL3IX6D.js} +2 -2
  556. package/__chunks__/{chunk-6OW2H4GX.js → chunk-VLKMA43H.js} +2 -2
  557. package/__chunks__/{chunk-67RP574Q.js → chunk-VOLV2VKJ.js} +2 -2
  558. package/__chunks__/{chunk-PSPRNXGD.js → chunk-VSI5CFOL.js} +2 -2
  559. package/__chunks__/{chunk-KXEIICKC.js → chunk-VX22PWSV.js} +2 -2
  560. package/__chunks__/{chunk-UZXHNLYR.js → chunk-VZZWVSGN.js} +2 -2
  561. package/__chunks__/{chunk-KT55VLK7.js → chunk-W6OHCIBK.js} +2 -2
  562. package/__chunks__/chunk-WBABHHWB.js +2 -0
  563. package/__chunks__/{chunk-2OXZHY47.js → chunk-WG6VCGOH.js} +2 -2
  564. package/__chunks__/{chunk-KQLXRMEE.js → chunk-WHCSXRYV.js} +2 -2
  565. package/__chunks__/{chunk-2C47U57W.js → chunk-WJ2GENHB.js} +2 -2
  566. package/__chunks__/{chunk-M45Q3B6D.js → chunk-WOWQGT7T.js} +2 -2
  567. package/__chunks__/{chunk-6IRIYBXO.js → chunk-WPDQHXZM.js} +2 -2
  568. package/__chunks__/{chunk-LQ4H4XMZ.js → chunk-WSG6OJID.js} +2 -2
  569. package/__chunks__/{chunk-SNG6AUN5.js → chunk-WSJ4FZAD.js} +2 -2
  570. package/__chunks__/{chunk-XSJL7C5B.js → chunk-WXMF242R.js} +2 -2
  571. package/__chunks__/{chunk-OITS4WSY.js → chunk-WYIOA2CW.js} +2 -2
  572. package/__chunks__/{chunk-QHH3TL5J.js → chunk-WZEXDOL3.js} +2 -2
  573. package/__chunks__/{chunk-LC7VM2V2.js → chunk-X2LMCP63.js} +2 -2
  574. package/__chunks__/{chunk-3KBIJZ5B.js → chunk-X3OARZY4.js} +2 -2
  575. package/__chunks__/{chunk-XRF5BC57.js → chunk-X65KMBSX.js} +2 -2
  576. package/__chunks__/{chunk-CZ67K2JP.js → chunk-XBWMKBSN.js} +2 -2
  577. package/__chunks__/{chunk-AN4EQXPW.js → chunk-XDNPLITT.js} +2 -2
  578. package/__chunks__/{chunk-KZYHCUBK.js → chunk-XFSTF6UC.js} +2 -2
  579. package/__chunks__/chunk-XH77T23W.js +2 -0
  580. package/__chunks__/{chunk-UOALD6V5.js → chunk-XNLN42WC.js} +2 -2
  581. package/__chunks__/{chunk-A7SBHPK3.js → chunk-XOBLTJNU.js} +2 -2
  582. package/__chunks__/{chunk-NJG4RGRY.js → chunk-XSFCMLI3.js} +2 -2
  583. package/__chunks__/{chunk-46Q4JMMY.js → chunk-XT6L5CMF.js} +2 -2
  584. package/__chunks__/{chunk-B77YM2QS.js → chunk-XU33WKHX.js} +2 -2
  585. package/__chunks__/{chunk-ZI35GMEV.js → chunk-XUEPSM7T.js} +2 -2
  586. package/__chunks__/{chunk-2UHZELCK.js → chunk-XXISC3KD.js} +2 -2
  587. package/__chunks__/{chunk-L23BUP6N.js → chunk-XXSB4UGQ.js} +2 -2
  588. package/__chunks__/{chunk-ZPCED2P2.js → chunk-XXWCVDZO.js} +2 -2
  589. package/__chunks__/{chunk-Z2KDG7AO.js → chunk-YBPRSVO6.js} +2 -2
  590. package/__chunks__/{chunk-Z6OXO2BW.js → chunk-YC2CGRNI.js} +2 -2
  591. package/__chunks__/chunk-YH6HFGXF.js +2 -0
  592. package/__chunks__/{chunk-XCVB7MGI.js → chunk-YIWF5JW6.js} +2 -2
  593. package/__chunks__/{chunk-TRTXE3Z7.js → chunk-YK7LH7KM.js} +2 -2
  594. package/__chunks__/{chunk-CDI4B37I.js → chunk-YQ6NUZ2W.js} +2 -2
  595. package/__chunks__/chunk-YQDDOHUJ.js +2 -0
  596. package/__chunks__/{chunk-46Z23CL7.js → chunk-YSRVOBZJ.js} +2 -2
  597. package/__chunks__/chunk-YV4AGZES.js +2 -0
  598. package/__chunks__/{chunk-BKTFKAC4.js → chunk-YY6PRNL7.js} +2 -2
  599. package/__chunks__/{chunk-LSQTYC7X.js → chunk-Z32YFOTU.js} +2 -2
  600. package/__chunks__/{chunk-RQQPHH3S.js → chunk-Z4ETRVIP.js} +2 -2
  601. package/__chunks__/{chunk-WSN6FXFB.js → chunk-Z4QVA43D.js} +2 -2
  602. package/__chunks__/{chunk-NXXPLTPH.js → chunk-Z6OTYTVD.js} +2 -2
  603. package/__chunks__/{chunk-DBKTZD7C.js → chunk-ZDLS2ROS.js} +2 -2
  604. package/__chunks__/{chunk-Q6A7MYXT.js → chunk-ZFM3AKZB.js} +2 -2
  605. package/__chunks__/{chunk-QTYHDB7M.js → chunk-ZJYZLU6I.js} +2 -2
  606. package/__chunks__/{chunk-V5XLW2QX.js → chunk-ZNZM64XX.js} +2 -2
  607. package/__chunks__/{chunk-KFAAZM3U.js → chunk-ZOF7RQG3.js} +2 -2
  608. package/__chunks__/{chunk-BQNKL3NQ.js → chunk-ZR4MYNG7.js} +2 -2
  609. package/__chunks__/{chunk-YDRJBGVE.js → chunk-ZRQ2S7FV.js} +2 -2
  610. package/__chunks__/{chunk-FCFDUSOQ.js → chunk-ZSFQJ5ZZ.js} +2 -2
  611. package/__chunks__/{chunk-66GRGLZZ.js → chunk-ZSXLZAFD.js} +2 -2
  612. package/__chunks__/chunk-ZU2IKIWJ.js +2 -0
  613. package/__chunks__/{chunk-XBWZHLBR.js → chunk-ZU6LWXRY.js} +2 -2
  614. package/__chunks__/{chunk-2EBHEIPK.js → chunk-ZWVTQKFC.js} +2 -2
  615. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +1 -1
  616. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  617. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  618. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  619. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  620. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +2 -2
  621. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +2 -2
  622. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  623. package/__commonjs/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  624. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  625. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  626. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  627. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +12 -12
  628. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +5 -5
  629. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +5 -5
  630. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +3 -3
  631. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +3 -3
  632. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +8 -8
  633. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +8 -8
  634. package/__commonjs/UI/index.js +1 -1
  635. package/__commonjs/__mocks__/index.js +1 -1
  636. package/__commonjs/__mocks__/utils/index.js +1 -1
  637. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  638. package/__commonjs/constants/index.js +1 -1
  639. package/__commonjs/hooks/account/index.js +1 -1
  640. package/__commonjs/hooks/index.js +1 -1
  641. package/__commonjs/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  642. package/__commonjs/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  643. package/__commonjs/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  644. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  645. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  646. package/__commonjs/hooks/transactions/index.js +1 -1
  647. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  648. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  649. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  650. package/__commonjs/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  651. package/__commonjs/utils/index.js +1 -1
  652. package/__commonjs/utils/operations/index.js +1 -1
  653. package/__commonjs/utils/operations/nominate.js +1 -1
  654. package/__commonjs/utils/operations/parseAmount.js +1 -1
  655. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  656. package/__commonjs/utils/transactions/index.js +1 -1
  657. package/__commonjs/wrappers/AppInitializer.js +1 -1
  658. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  659. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  660. package/__commonjs/wrappers/index.js +1 -1
  661. package/__mocks__/index.js +1 -1
  662. package/__mocks__/utils/index.js +1 -1
  663. package/__mocks__/utils/renderWithProvider.js +1 -1
  664. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  665. package/apiCalls/accounts/index.js +1 -1
  666. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  667. package/apiCalls/configuration/getGasStationMetadata.js +1 -1
  668. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  669. package/apiCalls/configuration/index.js +1 -1
  670. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  671. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  672. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  673. package/apiCalls/economics/index.js +1 -1
  674. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  675. package/apiCalls/index.js +1 -1
  676. package/apiCalls/tokens/getPersistedToken.js +1 -1
  677. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  678. package/apiCalls/transactions/index.js +1 -1
  679. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  680. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  681. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  682. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  683. package/apiCalls/utils/getScamAddressData.js +1 -1
  684. package/apiCalls/utils/index.js +1 -1
  685. package/apiCalls/utils/useApiFetch.js +1 -1
  686. package/components/LogoutListener/LogoutListener.js +1 -1
  687. package/components/LogoutListener/helpers/index.js +1 -1
  688. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  689. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  690. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  691. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  692. package/components/LogoutListener/index.js +1 -1
  693. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  694. package/components/ProviderInitializer/helpers/handleGuardianWarning.js +1 -1
  695. package/components/ProviderInitializer/helpers/index.js +1 -1
  696. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  697. package/components/ProviderInitializer/hooks/index.js +1 -1
  698. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  699. package/components/ProviderInitializer/index.js +1 -1
  700. package/components/TransactionSender/TransactionSender.js +1 -1
  701. package/components/TransactionSender/index.js +1 -1
  702. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  703. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  704. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  705. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  706. package/components/TransactionsTracker/index.js +1 -1
  707. package/constants/index.js +1 -1
  708. package/hooks/account/index.js +1 -1
  709. package/hooks/account/useGetAccount.js +1 -1
  710. package/hooks/account/useGetAccountInfo.js +1 -1
  711. package/hooks/account/useGetAccountProvider.js +1 -1
  712. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  713. package/hooks/account/useGetIsLoggedIn.js +1 -1
  714. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  715. package/hooks/account/useGetLoginInfo.js +1 -1
  716. package/hooks/account/useGetWebsocketEvent.js +1 -1
  717. package/hooks/economics/index.js +1 -1
  718. package/hooks/economics/useGetEgldPrice.js +1 -1
  719. package/hooks/index.js +1 -1
  720. package/hooks/login/index.js +1 -1
  721. package/hooks/login/useCrossWindowLogin.js +1 -1
  722. package/hooks/login/useExtensionLogin.js +1 -1
  723. package/hooks/login/useGetModalLoginMethods.js +1 -1
  724. package/hooks/login/useIframeLogin.js +1 -1
  725. package/hooks/login/useLedgerLogin.js +1 -1
  726. package/hooks/login/useLoginService.js +1 -1
  727. package/hooks/login/useMetamaskLogin.js +1 -1
  728. package/hooks/login/useOperaLogin.js +1 -1
  729. package/hooks/login/usePasskeyLogin.js +1 -1
  730. package/hooks/login/useWalletConnectV2Login.js +1 -1
  731. package/hooks/login/useWebViewLogin.js +1 -1
  732. package/hooks/login/useWebWalletLogin.js +1 -1
  733. package/hooks/login/useXaliasLogin.js +1 -1
  734. package/hooks/signMessage/index.js +1 -1
  735. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  736. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  737. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  738. package/hooks/signMessage/useSignMessage.js +1 -1
  739. package/hooks/toasts/index.js +1 -1
  740. package/hooks/toasts/useGetToasts.js +1 -1
  741. package/hooks/toasts/useTransactionsToasts.js +1 -1
  742. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  743. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  744. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  745. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  746. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  747. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  748. package/hooks/transactions/batch/useGetBatches.js +1 -1
  749. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  750. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  751. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  752. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  753. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  754. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  755. package/hooks/transactions/helpers/index.js +1 -1
  756. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  757. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  758. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  759. package/hooks/transactions/index.js +1 -1
  760. package/hooks/transactions/useCancelActionAndDispose.js +1 -1
  761. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  762. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  763. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  764. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  765. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  766. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  767. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  768. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  769. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  770. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  771. package/hooks/transactions/useGetPollingInterval.js +1 -1
  772. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  773. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  774. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  775. package/hooks/transactions/useGetTokenDetails.js +1 -1
  776. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  777. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  778. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  779. package/hooks/transactions/useSignTransactions.js +1 -1
  780. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  781. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  782. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  783. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  784. package/hooks/transactions/useTransactionsTracker/index.js +1 -1
  785. package/hooks/transactions/useTransactionsTracker/useCheckHangingTransactionsFallback.js +1 -1
  786. package/hooks/transactions/useTransactionsTracker/useCheckTransactionOnWsFailureFallback.js +1 -1
  787. package/hooks/transactions/useTransactionsTracker/useTransactionsTracker.js +1 -1
  788. package/hooks/transactions/useTransactionsTracker/useUpdateTrackedTransactions.js +1 -1
  789. package/hooks/transactions/useTransactionsTracker/useWebsocketPollingFallback.js +1 -1
  790. package/hooks/useGetNetworkConfig.js +1 -1
  791. package/hooks/useGetNotification.js +1 -1
  792. package/hooks/websocketListener/index.js +1 -1
  793. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  794. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  795. package/models/index.js +1 -1
  796. package/models/newTransaction.js +1 -1
  797. package/package.json +1 -1
  798. package/providers/accountProvider.js +1 -1
  799. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  800. package/providers/experimentalWebViewProvider/index.js +1 -1
  801. package/providers/experimentalWebViewProvider/useInitiateExperimentalWebviewLogin.js +1 -1
  802. package/providers/index.js +1 -1
  803. package/providers/utils.js +1 -1
  804. package/providers/webviewProvider/index.js +1 -1
  805. package/providers/webviewProvider/requestMethods.js +1 -1
  806. package/providers/webviewProvider/webviewProvider.js +1 -1
  807. package/reduxStore/DappProviderContext.js +1 -1
  808. package/reduxStore/commonActions.js +1 -1
  809. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  810. package/reduxStore/persistConfig.js +1 -1
  811. package/reduxStore/persistedRootReducer.js +1 -1
  812. package/reduxStore/reducers.js +1 -1
  813. package/reduxStore/rootReducer.js +1 -1
  814. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  815. package/reduxStore/selectors/index.js +1 -1
  816. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  817. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  818. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  819. package/reduxStore/slices/accountInfoSlice.js +1 -1
  820. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  821. package/reduxStore/slices/dappConfigSlice.js +1 -1
  822. package/reduxStore/slices/index.js +1 -1
  823. package/reduxStore/slices/loginInfoSlice.js +1 -1
  824. package/reduxStore/slices/modalsSlice.js +1 -1
  825. package/reduxStore/slices/networkConfigSlice.js +1 -1
  826. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  827. package/reduxStore/slices/toastsSlice.js +1 -1
  828. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  829. package/reduxStore/slices/transactionsSlice.js +1 -1
  830. package/reduxStore/store.js +1 -1
  831. package/services/index.js +1 -1
  832. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  833. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  834. package/services/nativeAuth/helpers/index.js +1 -1
  835. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  836. package/services/transactions/__tests__/transformAndSignTransactions.test.js +1 -1
  837. package/services/transactions/clearTransactions.js +1 -1
  838. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  839. package/services/transactions/getTransactionsDetails.js +1 -1
  840. package/services/transactions/index.js +1 -1
  841. package/services/transactions/isCrossShardTransaction.js +1 -1
  842. package/services/transactions/sendBatchTransactions.js +1 -1
  843. package/services/transactions/sendBatchTransactions.test.js +1 -1
  844. package/services/transactions/sendTransactions.js +1 -1
  845. package/services/transactions/signTransactions.js +1 -1
  846. package/services/transactions/transformAndSignTransactions.js +1 -1
  847. package/services/transactions/updateSignedTransactions.js +1 -1
  848. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  849. package/services/transactions/utils.js +1 -1
  850. package/utils/account/getAccount.js +1 -1
  851. package/utils/account/getAccountBalance.js +1 -1
  852. package/utils/account/getAccountProviderType.js +1 -1
  853. package/utils/account/getAccountShard.js +1 -1
  854. package/utils/account/getAddress.js +1 -1
  855. package/utils/account/getIsProviderEqualTo.js +1 -1
  856. package/utils/account/getLatestNonce.js +1 -1
  857. package/utils/account/getShardOfAddress.js +1 -1
  858. package/utils/account/getWebviewToken.js +1 -1
  859. package/utils/account/index.js +1 -1
  860. package/utils/account/loginWithExternalProvider.js +1 -1
  861. package/utils/account/refreshAccount.js +1 -1
  862. package/utils/account/setNonce.js +1 -1
  863. package/utils/account/signMessage.js +1 -1
  864. package/utils/getIsLoggedIn.js +1 -1
  865. package/utils/index.js +1 -1
  866. package/utils/logout.js +1 -1
  867. package/utils/network/getChainID.js +1 -1
  868. package/utils/network/getEgldLabel.js +1 -1
  869. package/utils/network/getNetworkConfig.js +1 -1
  870. package/utils/network/index.js +1 -1
  871. package/utils/operations/calculateFeeInFiat.js +1 -1
  872. package/utils/operations/calculateFeeLimit.js +1 -1
  873. package/utils/operations/denominate.js +1 -1
  874. package/utils/operations/formatAmount.js +1 -1
  875. package/utils/operations/index.js +1 -1
  876. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  877. package/utils/operations/ledger/index.js +1 -1
  878. package/utils/operations/nominate.js +1 -1
  879. package/utils/operations/parseAmount.js +1 -1
  880. package/utils/toasts/customToastsActions.js +1 -1
  881. package/utils/toasts/index.js +1 -1
  882. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  883. package/utils/transactions/builtCallbackUrl.js +1 -1
  884. package/utils/transactions/getAllTransactionsLink.js +1 -1
  885. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  886. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  887. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  888. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  889. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  890. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  891. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  892. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  893. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  894. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  895. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  896. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  897. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  898. package/utils/transactions/getOperationsDetails.js +1 -1
  899. package/utils/transactions/getTransactionLink.js +1 -1
  900. package/utils/transactions/index.js +1 -1
  901. package/utils/transactions/isGuardianTx.js +1 -1
  902. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  903. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  904. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  905. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  906. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  907. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  908. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  909. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  910. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  911. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  912. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  913. package/utils/validation/index.js +1 -1
  914. package/utils/validation/maxDecimals.js +1 -1
  915. package/utils/validation/stringIsFloat.js +1 -1
  916. package/utils/waitForChainID.js +1 -1
  917. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  918. package/web/hooks/index.js +1 -1
  919. package/web/hooks/useIdleTimer.js +1 -1
  920. package/web/index.js +1 -1
  921. package/wrappers/AppInitializer.js +1 -1
  922. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  923. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  924. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  925. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  926. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  927. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  928. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  929. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  930. package/wrappers/DappProvider/CustomComponents.js +1 -1
  931. package/wrappers/DappProvider/DappProvider.js +1 -1
  932. package/wrappers/DappProvider/index.js +1 -1
  933. package/wrappers/index.js +1 -1
  934. package/__chunks__/chunk-2Q5VPGVR.js +0 -2
  935. package/__chunks__/chunk-3Q2QS7OH.js +0 -2
  936. package/__chunks__/chunk-53QQTAG7.js +0 -2
  937. package/__chunks__/chunk-54N4RLY7.js +0 -2
  938. package/__chunks__/chunk-5K4MPEY2.js +0 -2
  939. package/__chunks__/chunk-5WAZ3K6U.js +0 -2
  940. package/__chunks__/chunk-5XWVSVRW.js +0 -2
  941. package/__chunks__/chunk-67G3XPT7.js +0 -2
  942. package/__chunks__/chunk-6FE2EYKS.js +0 -2
  943. package/__chunks__/chunk-6MTDG7G3.js +0 -2
  944. package/__chunks__/chunk-6T4AZFRE.js +0 -2
  945. package/__chunks__/chunk-6TPYTRCS.js +0 -2
  946. package/__chunks__/chunk-7BOOLJNP.js +0 -2
  947. package/__chunks__/chunk-A5IPDDY2.js +0 -2
  948. package/__chunks__/chunk-APJUXVK5.js +0 -2
  949. package/__chunks__/chunk-B3CXC2BR.js +0 -2
  950. package/__chunks__/chunk-B3PWB73S.js +0 -2
  951. package/__chunks__/chunk-BOAI2G6O.js +0 -2
  952. package/__chunks__/chunk-CAL3BHAI.js +0 -2
  953. package/__chunks__/chunk-CN3FGBRK.js +0 -2
  954. package/__chunks__/chunk-DVINHABK.js +0 -2
  955. package/__chunks__/chunk-E6AIPJSA.js +0 -2
  956. package/__chunks__/chunk-E6BNKX7K.js +0 -2
  957. package/__chunks__/chunk-EARJ52RB.js +0 -2
  958. package/__chunks__/chunk-EDFVHYJF.js +0 -2
  959. package/__chunks__/chunk-EDK6INJL.js +0 -2
  960. package/__chunks__/chunk-EJ2CBRFF.js +0 -2
  961. package/__chunks__/chunk-EUCMN4BM.js +0 -2
  962. package/__chunks__/chunk-EXEWFABM.js +0 -2
  963. package/__chunks__/chunk-FRJB4JTM.js +0 -2
  964. package/__chunks__/chunk-G2A36HG2.js +0 -2
  965. package/__chunks__/chunk-GMNKJ4ZS.js +0 -2
  966. package/__chunks__/chunk-GTSTSF47.js +0 -2
  967. package/__chunks__/chunk-HEAKSCAP.js +0 -2
  968. package/__chunks__/chunk-I4Y3IIJO.js +0 -2
  969. package/__chunks__/chunk-I63Y245T.js +0 -2
  970. package/__chunks__/chunk-IMZUYKG4.js +0 -2
  971. package/__chunks__/chunk-JHDN4BLB.js +0 -2
  972. package/__chunks__/chunk-JQATXIEX.js +0 -2
  973. package/__chunks__/chunk-KLEOGM4X.js +0 -2
  974. package/__chunks__/chunk-LGWKMXIO.js +0 -2
  975. package/__chunks__/chunk-M3MIM7GR.js +0 -2
  976. package/__chunks__/chunk-M5VRMICG.js +0 -2
  977. package/__chunks__/chunk-MOKL3ZOL.js +0 -2
  978. package/__chunks__/chunk-MOPJUB6Q.js +0 -2
  979. package/__chunks__/chunk-NSWJUNJF.js +0 -2
  980. package/__chunks__/chunk-OADTUICJ.js +0 -2
  981. package/__chunks__/chunk-OXWCW7XG.js +0 -2
  982. package/__chunks__/chunk-PNP2BH4R.js +0 -2
  983. package/__chunks__/chunk-QMKFQ6ZQ.js +0 -2
  984. package/__chunks__/chunk-SRH7RK7R.js +0 -2
  985. package/__chunks__/chunk-THUOPOUB.js +0 -2
  986. package/__chunks__/chunk-TKGTFJEU.js +0 -2
  987. package/__chunks__/chunk-TS7WMZBR.js +0 -2
  988. package/__chunks__/chunk-TSXGHSFO.js +0 -2
  989. package/__chunks__/chunk-U636KPVK.js +0 -2
  990. package/__chunks__/chunk-UAKBMT2M.js +0 -2
  991. package/__chunks__/chunk-USRAPINT.js +0 -2
  992. package/__chunks__/chunk-V7GRT5JW.js +0 -2
  993. package/__chunks__/chunk-WMMWWMRE.js +0 -2
  994. package/__chunks__/chunk-WYYEOAV7.js +0 -2
  995. package/__chunks__/chunk-XDTJMHQJ.js +0 -2
  996. package/__chunks__/chunk-YWPMLMPE.js +0 -2
  997. package/__chunks__/chunk-ZTTCSRY7.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Jd=Object.create;var ln=Object.defineProperty,Qd=Object.defineProperties,el=Object.getOwnPropertyDescriptor,ol=Object.getOwnPropertyDescriptors,nl=Object.getOwnPropertyNames,Gn=Object.getOwnPropertySymbols,tl=Object.getPrototypeOf,qt=Object.prototype.hasOwnProperty,Oa=Object.prototype.propertyIsEnumerable;var Ma=(e,o,t)=>o in e?ln(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))qt.call(o,t)&&Ma(e,t,o[t]);if(Gn)for(var t of Gn(o))Oa.call(o,t)&&Ma(e,t,o[t]);return e},w=(e,o)=>Qd(e,ol(o));var Ye=(e,o)=>{var t={};for(var i in e)qt.call(e,i)&&o.indexOf(i)<0&&(t[i]=e[i]);if(e!=null&&Gn)for(var i of Gn(e))o.indexOf(i)<0&&Oa.call(e,i)&&(t[i]=e[i]);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)ln(e,t,{get:o[t],enumerable:!0})},Ba=(e,o,t,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of nl(o))!qt.call(e,c)&&c!==t&&ln(e,c,{get:()=>o[c],enumerable:!(i=el(o,c))||i.enumerable});return e};var x=(e,o,t)=>(t=e!=null?Jd(tl(e)):{},Ba(o||!e||!e.__esModule?ln(t,"default",{value:e,enumerable:!0}):t,e)),de=e=>Ba(ln({},"__esModule",{value:!0}),e);var g=(e,o,t)=>new Promise((i,c)=>{var p=_=>{try{d(t.next(_))}catch(T){c(T)}},m=_=>{try{d(t.throw(_))}catch(T){c(T)}},d=_=>_.done?i(_.value):Promise.resolve(_.value).then(p,m);d((t=t.apply(e,o)).next())});var Ua=S(Hn=>{"use strict";n();Hn.byteLength=al;Hn.toByteArray=sl;Hn.fromByteArray=ml;var we=[],ue=[],rl=typeof Uint8Array!="undefined"?Uint8Array:Array,jt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(po=0,Fa=jt.length;po<Fa;++po)we[po]=jt[po],ue[jt.charCodeAt(po)]=po;var po,Fa;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Wa(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 i=t===o?0:4-t%4;return[t,i]}function al(e){var o=Wa(e),t=o[0],i=o[1];return(t+i)*3/4-i}function il(e,o,t){return(o+t)*3/4-t}function sl(e){var o,t=Wa(e),i=t[0],c=t[1],p=new rl(il(e,i,c)),m=0,d=c>0?i-4:i,_;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 cl(e){return we[e>>18&63]+we[e>>12&63]+we[e>>6&63]+we[e&63]}function pl(e,o,t){for(var i,c=[],p=o;p<t;p+=3)i=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(cl(i));return c.join("")}function ml(e){for(var o,t=e.length,i=t%3,c=[],p=16383,m=0,d=t-i;m<d;m+=p)c.push(pl(e,m,m+p>d?d:m+p));return i===1?(o=e[t-1],c.push(we[o>>2]+we[o<<4&63]+"==")):i===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 Ga=S(zt=>{n();zt.read=function(e,o,t,i,c){var p,m,d=c*8-i-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+=i;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,i),p=p-T}return(L?-1:1)*m*Math.pow(2,p-i)};zt.write=function(e,o,t,i,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=i?0:p-1,E=i?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 ei=S(Do=>{"use strict";n();var Kt=Ua(),Ro=Ga(),Ha=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Do.Buffer=l;Do.SlowBuffer=fl;Do.INSPECT_MAX_BYTES=50;var Vn=2147483647;Do.kMaxLength=Vn;l.TYPED_ARRAY_SUPPORT=dl();!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 dl(){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 Jt(e)}return qa(e,o,t)}l.poolSize=8192;function qa(e,o,t){if(typeof e=="string")return _l(e,o);if(ArrayBuffer.isView(e))return ul(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 Yt(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return l.from(i,o,t);var c=gl(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 qa(e,o,t)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function ja(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 ll(e,o,t){return ja(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 ll(e,o,t)};function Jt(e){return ja(e),Oe(e<0?0:Qt(e)|0)}l.allocUnsafe=function(e){return Jt(e)};l.allocUnsafeSlow=function(e){return Jt(e)};function _l(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=za(e,o)|0,i=Oe(t),c=i.write(e,o);return c!==t&&(i=i.slice(0,c)),i}function Xt(e){for(var o=e.length<0?0:Qt(e.length)|0,t=Oe(o),i=0;i<o;i+=1)t[i]=e[i]&255;return t}function ul(e){if(ve(e,Uint8Array)){var o=new Uint8Array(e);return Yt(o.buffer,o.byteOffset,o.byteLength)}return Xt(e)}function Yt(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 i;return o===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,o):i=new Uint8Array(e,o,t),Object.setPrototypeOf(i,l.prototype),i}function gl(e){if(l.isBuffer(e)){var o=Qt(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"||er(e.length)?Oe(0):Xt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Xt(e.data)}function Qt(e){if(e>=Vn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Vn.toString(16)+" bytes");return e|0}function fl(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 i=o.length,c=t.length,p=0,m=Math.min(i,c);p<m;++p)if(o[p]!==t[p]){i=o[p],c=t[p];break}return i<c?-1:c<i?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 i;if(t===void 0)for(t=0,i=0;i<o.length;++i)t+=o[i].length;var c=l.allocUnsafe(t),p=0;for(i=0;i<o.length;++i){var m=o[i];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 za(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,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Zt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Qa(e).length;default:if(c)return i?-1:Zt(e).length;o=(""+o).toLowerCase(),c=!0}}l.byteLength=za;function Tl(e,o,t){var i=!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 kl(this,o,t);case"utf8":case"utf-8":return Xa(this,o,t);case"ascii":return Al(this,o,t);case"latin1":case"binary":return Il(this,o,t);case"base64":return wl(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ll(this,o,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}l.prototype._isBuffer=!0;function mo(e,o,t){var i=e[o];e[o]=e[t],e[t]=i}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?Xa(this,0,o):Tl.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=Do.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};Ha&&(l.prototype[Ha]=l.prototype.inspect);l.prototype.compare=function(o,t,i,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),i===void 0&&(i=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||i>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=i)return 0;if(c>=p)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=i-t,_=Math.min(m,d),T=this.slice(c,p),f=o.slice(t,i),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 Ka(e,o,t,i,c){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,er(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,i)),l.isBuffer(o))return o.length===0?-1:Va(e,o,t,i,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):Va(e,[o],t,i,c);throw new TypeError("val must be string, number or Buffer")}function Va(e,o,t,i,c){var p=1,m=e.length,d=o.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="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,i){return this.indexOf(o,t,i)!==-1};l.prototype.indexOf=function(o,t,i){return Ka(this,o,t,i,!0)};l.prototype.lastIndexOf=function(o,t,i){return Ka(this,o,t,i,!1)};function hl(e,o,t,i){t=Number(t)||0;var c=e.length-t;i?(i=Number(i),i>c&&(i=c)):i=c;var p=o.length;i>p/2&&(i=p/2);for(var m=0;m<i;++m){var d=parseInt(o.substr(m*2,2),16);if(er(d))return m;e[t+m]=d}return m}function xl(e,o,t,i){return $n(Zt(o,e.length-t),e,t,i)}function yl(e,o,t,i){return $n(Cl(o),e,t,i)}function Sl(e,o,t,i){return $n(Qa(o),e,t,i)}function bl(e,o,t,i){return $n(Nl(o,e.length-t),e,t,i)}l.prototype.write=function(o,t,i,c){if(t===void 0)c="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")c=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,c===void 0&&(c="utf8")):(c=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((i===void 0||i>p)&&(i=p),o.length>0&&(i<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 hl(this,o,t,i);case"utf8":case"utf-8":return xl(this,o,t,i);case"ascii":case"latin1":case"binary":return yl(this,o,t,i);case"base64":return Sl(this,o,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bl(this,o,t,i);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 wl(e,o,t){return o===0&&t===e.length?Kt.fromByteArray(e):Kt.fromByteArray(e.slice(o,t))}function Xa(e,o,t){t=Math.min(e.length,t);for(var i=[],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,i.push(m>>>10&1023|55296),m=56320|m&1023),i.push(m),c+=d}return vl(i)}var $a=4096;function vl(e){var o=e.length;if(o<=$a)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<o;)t+=String.fromCharCode.apply(String,e.slice(i,i+=$a));return t}function Al(e,o,t){var i="";t=Math.min(e.length,t);for(var c=o;c<t;++c)i+=String.fromCharCode(e[c]&127);return i}function Il(e,o,t){var i="";t=Math.min(e.length,t);for(var c=o;c<t;++c)i+=String.fromCharCode(e[c]);return i}function kl(e,o,t){var i=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>i)&&(t=i);for(var c="",p=o;p<t;++p)c+=Rl[e[p]];return c}function Ll(e,o,t){for(var i=e.slice(o,t),c="",p=0;p<i.length-1;p+=2)c+=String.fromCharCode(i[p]+i[p+1]*256);return c}l.prototype.slice=function(o,t){var i=this.length;o=~~o,t=t===void 0?i:~~t,o<0?(o+=i,o<0&&(o=0)):o>i&&(o=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),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,i){o=o>>>0,t=t>>>0,i||$(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,i){o=o>>>0,t=t>>>0,i||$(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,i){o=o>>>0,t=t>>>0,i||$(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,i){o=o>>>0,t=t>>>0,i||$(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 i=this[o]|this[o+1]<<8;return i&32768?i|4294901760:i};l.prototype.readInt16BE=function(o,t){o=o>>>0,t||$(o,2,this.length);var i=this[o+1]|this[o]<<8;return i&32768?i|4294901760:i};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),Ro.read(this,o,!0,23,4)};l.prototype.readFloatBE=function(o,t){return o=o>>>0,t||$(o,4,this.length),Ro.read(this,o,!1,23,4)};l.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Ro.read(this,o,!0,52,8)};l.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Ro.read(this,o,!1,52,8)};function te(e,o,t,i,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+i>e.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(o,t,i,c){if(o=+o,t=t>>>0,i=i>>>0,!c){var p=Math.pow(2,8*i)-1;te(this,o,t,i,p,0)}var m=1,d=0;for(this[t]=o&255;++d<i&&(m*=256);)this[t+d]=o/m&255;return t+i};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(o,t,i,c){if(o=+o,t=t>>>0,i=i>>>0,!c){var p=Math.pow(2,8*i)-1;te(this,o,t,i,p,0)}var m=i-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+i};l.prototype.writeUint8=l.prototype.writeUInt8=function(o,t,i){return o=+o,t=t>>>0,i||te(this,o,t,1,255,0),this[t]=o&255,t+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(o,t,i){return o=+o,t=t>>>0,i||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,i){return o=+o,t=t>>>0,i||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,i){return o=+o,t=t>>>0,i||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,i){return o=+o,t=t>>>0,i||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,i,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*i-1);te(this,o,t,i,p-1,-p)}var m=0,d=1,_=0;for(this[t]=o&255;++m<i&&(d*=256);)o<0&&_===0&&this[t+m-1]!==0&&(_=1),this[t+m]=(o/d>>0)-_&255;return t+i};l.prototype.writeIntBE=function(o,t,i,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*i-1);te(this,o,t,i,p-1,-p)}var m=i-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+i};l.prototype.writeInt8=function(o,t,i){return o=+o,t=t>>>0,i||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,i){return o=+o,t=t>>>0,i||te(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};l.prototype.writeInt16BE=function(o,t,i){return o=+o,t=t>>>0,i||te(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};l.prototype.writeInt32LE=function(o,t,i){return o=+o,t=t>>>0,i||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,i){return o=+o,t=t>>>0,i||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 Ya(e,o,t,i,c,p){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Za(e,o,t,i,c){return o=+o,t=t>>>0,c||Ya(e,o,t,4,34028234663852886e22,-34028234663852886e22),Ro.write(e,o,t,i,23,4),t+4}l.prototype.writeFloatLE=function(o,t,i){return Za(this,o,t,!0,i)};l.prototype.writeFloatBE=function(o,t,i){return Za(this,o,t,!1,i)};function Ja(e,o,t,i,c){return o=+o,t=t>>>0,c||Ya(e,o,t,8,17976931348623157e292,-17976931348623157e292),Ro.write(e,o,t,i,52,8),t+8}l.prototype.writeDoubleLE=function(o,t,i){return Ja(this,o,t,!0,i)};l.prototype.writeDoubleBE=function(o,t,i){return Ja(this,o,t,!1,i)};l.prototype.copy=function(o,t,i,c){if(!l.isBuffer(o))throw new TypeError("argument should be a Buffer");if(i||(i=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<i&&(c=i),c===i||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=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-i&&(c=o.length-t+i);var p=c-i;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,c):Uint8Array.prototype.set.call(o,this.subarray(i,c),t),p};l.prototype.fill=function(o,t,i,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,i=this.length):typeof i=="string"&&(c=i,i=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<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<i;++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<i-t;++m)this[m+t]=d[m%_]}return this};var El=/[^+/0-9A-Za-z-_]/g;function Pl(e){if(e=e.split("=")[0],e=e.trim().replace(El,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Zt(e,o){o=o||1/0;for(var t,i=e.length,c=null,p=[],m=0;m<i;++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===i){(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 Cl(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function Nl(e,o){for(var t,i,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),i=t>>8,c=t%256,p.push(c),p.push(i);return p}function Qa(e){return Kt.toByteArray(Pl(e))}function $n(e,o,t,i){for(var c=0;c<i&&!(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 er(e){return e!==e}var Rl=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var i=t*16,c=0;c<16;++c)o[i+c]=e[t]+e[c];return o}()});var ai=S((jx,ri)=>{n();var W=ri.exports={},Ae,Ie;function or(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ae=setTimeout:Ae=or}catch(e){Ae=or}try{typeof clearTimeout=="function"?Ie=clearTimeout:Ie=nr}catch(e){Ie=nr}})();function oi(e){if(Ae===setTimeout)return setTimeout(e,0);if((Ae===or||!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 Dl(e){if(Ie===clearTimeout)return clearTimeout(e);if((Ie===nr||!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=[],Mo=!1,lo,qn=-1;function Ml(){!Mo||!lo||(Mo=!1,lo.length?Be=lo.concat(Be):qn=-1,Be.length&&ni())}function ni(){if(!Mo){var e=oi(Ml);Mo=!0;for(var o=Be.length;o;){for(lo=Be,Be=[];++qn<o;)lo&&lo[qn].run();qn=-1,o=Be.length}lo=null,Mo=!1,Dl(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 ti(e,o)),Be.length===1&&!Mo&&oi(ni)};function ti(e,o){this.fun=e,this.array=o}ti.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,s,Ol,a,n=h(()=>{r=x(ei()),s=x(ai()),Ol=function(e){function o(){var i=this||self;return delete e.prototype.__magic__,i}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=Ol});var ii=h(()=>{"use strict";n()});var si,Ze,ci,tr,pi,mi,jn,ke=h(()=>{"use strict";n();si="error when signing",Ze="Transaction canceled",ci="error signing transaction",tr="provider not initialized",pi="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",mi="Undefined transaction status",jn="You cannot sign transactions from a different account"});var di=h(()=>{"use strict";n()});var rr,li=h(()=>{"use strict";n();rr=(i=>(i.SetGuardian="SetGuardian",i.GuardAccount="GuardAccount",i.UnGuardAccount="UnGuardAccount",i))(rr||{})});var _i=h(()=>{"use strict";n()});var ar=h(()=>{"use strict";n()});var ui=h(()=>{"use strict";n()});var ir,sr=h(()=>{"use strict";n();ir=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(ir||{})});var gi=h(()=>{"use strict";n()});var fi=h(()=>{"use strict";n()});var ee,Oo,Je=h(()=>{"use strict";n();ee=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Oo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Ti,ry,hi,ay,R=h(()=>{"use strict";n();Je();Ti=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(Ti||{}),ry=u(u({},Oo.WindowProviderRequestEnums),Ti),hi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(hi||{}),ay=u(u({},Oo.WindowProviderResponseEnums),hi)});var xi=h(()=>{"use strict";n()});var yi=h(()=>{"use strict";n()});var re=h(()=>{"use strict";n()});var Si=h(()=>{"use strict";n()});var bi=h(()=>{"use strict";n()});var wi=h(()=>{"use strict";n()});var U=h(()=>{"use strict";n();sr();gi();fi();R();xi();yi();re();Si();bi();wi()});var _o,vi,by,Ai,wy,Ii,vy,Ay,ki,Bo=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:vi,egldLabel:by}=_o["devnet"],{chainId:Ai,egldLabel:wy}=_o["testnet"],{chainId:Ii,egldLabel:vy}=_o["mainnet"],Ay={["devnet"]:vi,["testnet"]:Ai,["mainnet"]:Ii},ki={[vi]:"devnet",[Ai]:"testnet",[Ii]:"mainnet"}});var Li,_n=h(()=>{"use strict";n();Li="cancel-transaction-toast"});var Le,Ei=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 Pi,Ci,cr,Cy,Ny,pr=h(()=>{"use strict";n();uo();cr=String((Ci=(Pi=Ee.safeWindow)==null?void 0:Pi.navigator)==null?void 0:Ci.userAgent),Cy=/^((?!chrome|android).)*safari/i.test(cr),Ny=/firefox/i.test(cr)&&/windows/i.test(cr)});var zn,Kn,Ni,Ri,Pe,Xn,Di,Yn,Mi,Fo,I=h(()=>{"use strict";n();ii();ke();di();li();_i();ar();ui();Bo();_n();Ei();pr();zn=5e4,Kn=1e9,Ni=1,Ri="/dapp/init",Pe="signSession",Xn="sdk-dapp-version",Di="4.5.0",Yn="logout",Mi="login",Fo="0"});var un,Zn=h(()=>{"use strict";n();un=()=>Date.now()/1e3});var Oi=h(()=>{"use strict";n()});var Bi=h(()=>{"use strict";n()});var mr=h(()=>{"use strict";n();Zn();Oi();Bi()});var dr={};xe(dr,{clear:()=>Ul,getItem:()=>Fl,localStorageKeys:()=>We,removeItem:()=>Wl,setItem:()=>Bl});var We,Jn,Bl,Fl,Wl,Ul,go=h(()=>{"use strict";n();mr();We={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Jn=typeof localStorage!="undefined",Bl=({key:e,data:o,expires:t})=>{!Jn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Fl=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:un()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Wl=e=>{!Jn||localStorage.removeItem(String(e))},Ul=()=>{!Jn||localStorage.clear()}});var lr={};xe(lr,{clear:()=>Gi,getItem:()=>Wi,removeItem:()=>Ui,sessionStorageKeys:()=>Gl,setItem:()=>Fi,storage:()=>Hl});var Gl,Fi,Wi,Ui,Gi,Hl,Hi=h(()=>{"use strict";n();Gl={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},Fi=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Wi=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},Ui=e=>sessionStorage.removeItem(String(e)),Gi=()=>sessionStorage.clear(),Hl={setItem:Fi,getItem:Wi,removeItem:Ui,clear:Gi}});var Qe,fo=h(()=>{"use strict";n();go();Hi();Qe={session:lr,local:dr}});var _r,D,ae,M=h(()=>{"use strict";n();_r=require("@reduxjs/toolkit");I();D=(0,_r.createAction)(Yn),ae=(0,_r.createAction)(Mi,e=>({payload:e}))});var gr,Vi,$i,ge,ur,qi,ye,eo,fr,pS,Vl,$l,mS,dS,lS,ql,jl,Qn,et=h(()=>{"use strict";n();gr=require("@multiversx/sdk-core"),Vi=require("@reduxjs/toolkit"),$i=require("redux-persist");I();fo();go();M();ge={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Fo},ur={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":ge},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},qi=(0,Vi.createSlice)({name:"accountInfoSlice",initialState:ur,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new gr.Address(t).toHex():""},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),ur)),e.addCase(ae,(o,t)=>{let{address:i}=t.payload;o.address=i,o.publicKey=new gr.Address(i).toHex()}),e.addCase($i.REHYDRATE,(o,t)=>{var T;if(!((T=t.payload)!=null&&T.account))return;let{account:i}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=i;o.address=c,o.shard=p;let _=m&&c in m;o.accounts=_?m:ur.accounts,o.publicKey=d})}}),{setAccount:ye,setAddress:eo,setAccountNonce:fr,setAccountShard:pS,setLedgerAccount:Vl,updateLedgerAccount:$l,setWalletConnectAccount:mS,setIsAccountLoading:dS,setAccountLoadingError:lS,setWebsocketEvent:ql,setWebsocketBatchEvent:jl}=qi.actions,Qn=qi.reducer});function gn(){return new Date().setHours(new Date().getHours()+24)}function fn(e){Qe.local.setItem({key:We.loginExpiresAt,data:e,expires:e})}var Tr=h(()=>{"use strict";n();fo();go()});var zi,ji,Ki,bS,zl,Kl,hr,wS,Xl,Xi,vS,AS,IS,ot,nt=h(()=>{"use strict";n();zi=require("@reduxjs/toolkit");Tr();R();M();ji={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Ki=(0,zi.createSlice)({name:"loginInfoSlice",initialState:ji,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,()=>ji),e.addCase(ae,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,fn(gn())})}}),{setLoginMethod:bS,setWalletConnectLogin:zl,setLedgerLogin:Kl,setTokenLogin:hr,setTokenLoginSignature:wS,setWalletLogin:Xl,invalidateLoginSession:Xi,setLogoutRoute:vS,setIsWalletConnectV2Initialized:AS,setWebviewLogin:IS}=Ki.actions,ot=Ki.reducer});var Zi,Yi,Ji,PS,Yl,CS,Zl,tt,rt=h(()=>{"use strict";n();Zi=require("@reduxjs/toolkit");M();Yi={},Ji=(0,Zi.createSlice)({name:"modalsSlice",initialState:Yi,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,()=>Yi)}}),{setTxSubmittedModal:PS,setNotificationModal:Yl,clearTxSubmittedModal:CS,clearNotificationModal:Zl}=Ji.actions,tt=Ji.reducer});var Ue,Wo=h(()=>{"use strict";n();Ue=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,X=h(()=>{"use strict";n();Wo();N=()=>{if(!Ue())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:i,href:c,search:p}}=window;return{pathname:o,hash:t,origin:i,href:c,search:p}}});var Qi=h(()=>{"use strict";n();X()});var To,es=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 os=h(()=>{"use strict";n();uo()});var Z=h(()=>{"use strict";n();Qi();es();X();os()});var Tn=h(()=>{"use strict";n();Z()});var ts=h(()=>{"use strict";n();Tn()});function rs(e){return e[Math.floor(Math.random()*e.length)]}var as=h(()=>{"use strict";n()});var xr=h(()=>{"use strict";n();ar()});var Ge=h(()=>{"use strict";n();ts();as();xr()});var is,ss,cs,yr,Ql,ps,mb,db,ms,at,it=h(()=>{"use strict";n();is=require("@reduxjs/toolkit"),ss=x(require("lodash.omit")),cs=require("redux-persist");_n();M();Ge();yr={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},Ql={network:yr},ps=(0,is.createSlice)({name:"appConfig",initialState:Ql,reducers:{initializeNetworkConfig:(e,o)=>{let t=rs(o.payload.walletConnectV2RelayAddresses),i=(0,ss.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(u(u({},e.network),i),{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(cs.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:i}}=t.payload;o.network.customWalletAddress=i})}}),{initializeNetworkConfig:mb,updateNetworkConfig:db,setCustomWalletAddress:ms}=ps.actions,at=ps.reducer});var ds,Sr,ls,Tb,hb,xb,st,ct=h(()=>{"use strict";n();ds=require("@reduxjs/toolkit");U();M();Sr={isSigning:!1,signedSessions:{}},ls=(0,ds.createSlice)({name:"signedMessageInfoSliceState",initialState:Sr,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:i,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=i.status==="pending",e.signedSessions[t]=u(u({},e.signedSessions[t]),i)},setSignSessionState:(e,o)=>u(u({},e),o.payload),clearSignedMessageInfo:()=>Sr},extraReducers:e=>{e.addCase(D,()=>Sr)}}),{setSignSession:Tb,clearSignedMessageInfo:hb,setSignSessionState:xb}=ls.actions,st=ls.reducer});var us,gs,_s,fs,br,e_,Ib,o_,pt,mt=h(()=>{"use strict";n();us=require("@reduxjs/toolkit"),gs=require("redux-persist");U();Zn();M();_s={customToasts:[],transactionToasts:[]},fs=(0,us.createSlice)({name:"toastsSlice",initialState:_s,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,i=e.customToasts.findIndex(c=>c.toastId===t);if(i!==-1){e.customToasts[i]=w(u(u({},e.customToasts[i]),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:un(),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,()=>_s),e.addCase(gs.REHYDRATE,(o,t)=>{var c,p;let i=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=i})}}),{addCustomToast:br,removeCustomToast:e_,addTransactionToast:Ib,removeTransactionToast:o_}=fs.actions,pt=fs.reducer});var Ts,vr,Ar,Ir,n_,wr,hs,Pb,t_,hn,dt,lt=h(()=>{"use strict";n();Ts=require("@reduxjs/toolkit");M();vr="Transaction failed",Ar="Transaction successful",Ir="Processing transaction",n_="Transaction submitted",wr={},hs=(0,Ts.createSlice)({name:"transactionsInfo",initialState:wr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:i}=o.payload;t!=null&&(e[t]={errorMessage:(i==null?void 0:i.errorMessage)||vr,successMessage:(i==null?void 0:i.successMessage)||Ar,processingMessage:(i==null?void 0:i.processingMessage)||Ir,submittedMessage:(i==null?void 0:i.submittedMessage)||n_,transactionDuration:i==null?void 0:i.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>wr},extraReducers:e=>{e.addCase(D,()=>wr)}}),{clearTransactionsInfo:Pb,setTransactionsDisplayInfo:t_,clearTransactionsInfoForSessionId:hn}=hs.actions,dt=hs.reducer});function Go(e){return e!=null&&(__(e)||h_(e))}function Ho(e){return e!=null&&(u_(e)||x_(e))}function Vo(e){return e!=null&&(g_(e)||y_(e))}function xs(e){return e!=null&&(f_(e)||S_(e))}function kr(e){return e!=null&&T_(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)}function S_(e){return e!=null&&l_.includes(e)}var r_,a_,i_,s_,c_,p_,m_,d_,l_,$o=h(()=>{"use strict";n();R();r_=["sent"],a_=["success"],i_=["fail","cancelled","timedOut"],s_=["invalid"],c_=["timedOut"],p_=["pending"],m_=["success"],d_=["fail","invalid"],l_=["not executed"]});var ys,Ss,xn,b_,bs,ws,vs,w_,ho,v_,A_,Wb,I_,no,to,Ub,_t,ut=h(()=>{"use strict";n();ys=require("@reduxjs/toolkit"),Ss=require("redux-persist");R();$o();M();xn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},b_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},bs=(0,ys.createSlice)({name:"transactionsSlice",initialState:xn,reducers:{moveTransactionsToSignedState:(e,o)=>{var _,T;let{sessionId:t,transactions:i,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=u(u(u({},b_),((_=e.signedTransactions[t])==null?void 0:_.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:i,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=xn.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:i,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=i,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:i,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:i,errorMessage:c,inTransit:d}):B);let q=(P=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:P.every(B=>Ho(B.status)),oe=(E=(L=e.signedTransactions[t])==null?void 0:L.transactions)==null?void 0:E.some(B=>Vo(B.status)),Te=(O=(Y=e.signedTransactions[t])==null?void 0:Y.transactions)==null?void 0:O.every(B=>xs(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:i}=o.payload;e.customTransactionInformationForSessionId[t]=i,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=xn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=xn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:i}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=u(u({},e.signedTransactions[t].customTransactionInformation),i))}},extraReducers:e=>{e.addCase(D,()=>xn),e.addCase(Ss.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:i,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(i).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),i!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:ws,updateSignedTransactions:vs,setTransactionsToSign:w_,clearAllTransactionsToSign:ho,clearAllSignedTransactions:v_,clearSignedTransaction:A_,clearTransactionToSign:Wb,setSignTransactionsError:I_,setSignTransactionsCancelMessage:no,moveTransactionsToSignedState:to,updateSignedTransactionsCustomTransactionInformation:Ub}=bs.actions,_t=bs.reducer});var As,Lr,Is,$b,qb,k_,jb,gt,ft=h(()=>{"use strict";n();As=require("@reduxjs/toolkit");M();Lr={},Is=(0,As.createSlice)({name:"batchTransactionsSlice",initialState:Lr,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:()=>Lr},extraReducers:e=>{e.addCase(D,()=>Lr)}}),{setBatchTransactions:$b,updateBatchTransactions:qb,clearBatchTransactions:k_,clearAllBatchTransactions:jb}=Is.actions,gt=Is.reducer});var Ls,ks,Es,Yb,Ps,Er=h(()=>{"use strict";n();Ls=require("@reduxjs/toolkit");M();ks={},Es=(0,Ls.createSlice)({name:"dappConfigSlice",initialState:ks,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(D,()=>ks)}}),{setDappConfig:Yb}=Es.actions,Ps=Es.reducer});var k=h(()=>{"use strict";n();et();nt();rt();it();ct();mt();lt();ut();ft();Er()});var Pr=h(()=>{"use strict";n()});var Rs,C_,N_,yn,Cr=h(()=>{"use strict";n();Rs=require("@reduxjs/toolkit");Pr();et();ft();Er();nt();rt();it();ct();mt();lt();ut();C_={["account"]:Qn,["dappConfig"]:Ps,["loginInfo"]:ot,["modals"]:tt,["networkConfig"]:at,["signedMessageInfo"]:st,["toasts"]:pt,["transactionsInfo"]:dt,["transactions"]:_t,["batchTransactions"]:gt},N_=(e={})=>(0,Rs.combineReducers)(u(u({},C_),e)),yn=N_});var Bs={};xe(Bs,{default:()=>K_,sessionStorageReducers:()=>Nr});function He(e,o=[]){return{key:e,version:1,storage:Ms.default,blacklist:o}}var ie,Ds,Ms,R_,Sn,D_,M_,O_,B_,F_,W_,U_,G_,H_,V_,Os,$_,Nr,q_,j_,z_,K_,Fs=h(()=>{"use strict";n();ie=require("redux-persist"),Ds=x(require("redux-persist/lib/storage")),Ms=x(require("redux-persist/lib/storage/session"));Cr();k();et();ft();nt();rt();it();ct();mt();lt();ut();Pr();R_={persistReducersStorageType:"localStorage"},Sn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},D_=He(Sn["account"]),M_=He(Sn["loginInfo"]),O_=He(Sn["modals"]),B_=He(Sn["networkConfig"]),F_={2:e=>w(u({},e),{networkConfig:yr})};W_=He("sdk-dapp-transactionsInfo"),U_=He("sdk-dapp-transactions",["transactionsToSign"]),G_=He("sdk-dapp-batchTransactions",["batchTransactions"]),H_=He("sdk-dapp-toasts"),V_=He("sdk-dapp-signedMessageInfo"),Os={key:"sdk-dapp-store",version:2,storage:Ds.default,whitelist:Object.keys(Sn),migrate:(0,ie.createMigrate)(F_,{debug:!1})},$_=w(u({},Os),{whitelist:[]}),Nr={["toasts"]:(0,ie.persistReducer)(H_,pt),["transactions"]:(0,ie.persistReducer)(U_,_t),["transactionsInfo"]:(0,ie.persistReducer)(W_,dt),["batchTransactions"]:(0,ie.persistReducer)(G_,gt),["signedMessageInfo"]:(0,ie.persistReducer)(V_,st)},q_=w(u({},Nr),{["account"]:(0,ie.persistReducer)(D_,Qn),["loginInfo"]:(0,ie.persistReducer)(M_,ot),["modals"]:(0,ie.persistReducer)(O_,tt),["networkConfig"]:(0,ie.persistReducer)(B_,at)}),j_=R_.persistReducersStorageType==="localStorage",z_=j_?(0,ie.persistReducer)(Os,yn(Nr)):(0,ie.persistReducer)($_,yn(q_)),K_=z_});var Ws={};xe(Ws,{default:()=>X_});var X_,Us=h(()=>{"use strict";n();Cr();X_=yn()});var Gs={};xe(Gs,{default:()=>Z_});var fe,Y_,Z_,Hs=h(()=>{"use strict";n();fe=require("redux-persist"),Y_=[fe.FLUSH,fe.REHYDRATE,fe.PAUSE,fe.PERSIST,fe.PURGE,fe.REGISTER],Z_=Y_});var qs={};xe(qs,{default:()=>$s});function $s(e){return(0,Vs.persistStore)(e)}var Vs,js=h(()=>{"use strict";n();Vs=require("redux-persist")});var rp=S((U2,tp)=>{n();var Cg=typeof a=="object"&&a&&a.Object===Object&&a;tp.exports=Cg});var Ln=S((G2,ap)=>{n();var Ng=rp(),Rg=typeof self=="object"&&self&&self.Object===Object&&self,Dg=Ng||Rg||Function("return this")();ap.exports=Dg});var oa=S((H2,ip)=>{n();var Mg=Ln(),Og=Mg.Symbol;ip.exports=Og});var mp=S((V2,pp)=>{n();var sp=oa(),cp=Object.prototype,Bg=cp.hasOwnProperty,Fg=cp.toString,En=sp?sp.toStringTag:void 0;function Wg(e){var o=Bg.call(e,En),t=e[En];try{e[En]=void 0;var i=!0}catch(p){}var c=Fg.call(e);return i&&(o?e[En]=t:delete e[En]),c}pp.exports=Wg});var lp=S(($2,dp)=>{n();var Ug=Object.prototype,Gg=Ug.toString;function Hg(e){return Gg.call(e)}dp.exports=Hg});var na=S((q2,gp)=>{n();var _p=oa(),Vg=mp(),$g=lp(),qg="[object Null]",jg="[object Undefined]",up=_p?_p.toStringTag:void 0;function zg(e){return e==null?e===void 0?jg:qg:up&&up in Object(e)?Vg(e):$g(e)}gp.exports=zg});var Tp=S((j2,fp)=>{n();var Kg=Array.isArray;fp.exports=Kg});var xp=S((z2,hp)=>{n();function Xg(e){return e!=null&&typeof e=="object"}hp.exports=Xg});var Sp=S((K2,yp)=>{n();var Yg=na(),Zg=Tp(),Jg=xp(),Qg="[object String]";function ef(e){return typeof e=="string"||!Zg(e)&&Jg(e)&&Yg(e)==Qg}yp.exports=ef});var aa={};xe(aa,{css:()=>kp,default:()=>pf});var kp,pf,ia=h(()=>{"use strict";n();kp=`.dapp-core-component__main__link-style {
1
+ "use strict";var Jd=Object.create;var ln=Object.defineProperty,Qd=Object.defineProperties,el=Object.getOwnPropertyDescriptor,ol=Object.getOwnPropertyDescriptors,nl=Object.getOwnPropertyNames,Gn=Object.getOwnPropertySymbols,tl=Object.getPrototypeOf,qt=Object.prototype.hasOwnProperty,Oa=Object.prototype.propertyIsEnumerable;var Ma=(e,o,t)=>o in e?ln(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))qt.call(o,t)&&Ma(e,t,o[t]);if(Gn)for(var t of Gn(o))Oa.call(o,t)&&Ma(e,t,o[t]);return e},w=(e,o)=>Qd(e,ol(o));var Ye=(e,o)=>{var t={};for(var i in e)qt.call(e,i)&&o.indexOf(i)<0&&(t[i]=e[i]);if(e!=null&&Gn)for(var i of Gn(e))o.indexOf(i)<0&&Oa.call(e,i)&&(t[i]=e[i]);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)ln(e,t,{get:o[t],enumerable:!0})},Ba=(e,o,t,i)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of nl(o))!qt.call(e,c)&&c!==t&&ln(e,c,{get:()=>o[c],enumerable:!(i=el(o,c))||i.enumerable});return e};var x=(e,o,t)=>(t=e!=null?Jd(tl(e)):{},Ba(o||!e||!e.__esModule?ln(t,"default",{value:e,enumerable:!0}):t,e)),de=e=>Ba(ln({},"__esModule",{value:!0}),e);var g=(e,o,t)=>new Promise((i,c)=>{var p=_=>{try{d(t.next(_))}catch(T){c(T)}},m=_=>{try{d(t.throw(_))}catch(T){c(T)}},d=_=>_.done?i(_.value):Promise.resolve(_.value).then(p,m);d((t=t.apply(e,o)).next())});var Ua=S(Hn=>{"use strict";n();Hn.byteLength=al;Hn.toByteArray=sl;Hn.fromByteArray=ml;var we=[],ue=[],rl=typeof Uint8Array!="undefined"?Uint8Array:Array,jt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(po=0,Fa=jt.length;po<Fa;++po)we[po]=jt[po],ue[jt.charCodeAt(po)]=po;var po,Fa;ue["-".charCodeAt(0)]=62;ue["_".charCodeAt(0)]=63;function Wa(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 i=t===o?0:4-t%4;return[t,i]}function al(e){var o=Wa(e),t=o[0],i=o[1];return(t+i)*3/4-i}function il(e,o,t){return(o+t)*3/4-t}function sl(e){var o,t=Wa(e),i=t[0],c=t[1],p=new rl(il(e,i,c)),m=0,d=c>0?i-4:i,_;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 cl(e){return we[e>>18&63]+we[e>>12&63]+we[e>>6&63]+we[e&63]}function pl(e,o,t){for(var i,c=[],p=o;p<t;p+=3)i=(e[p]<<16&16711680)+(e[p+1]<<8&65280)+(e[p+2]&255),c.push(cl(i));return c.join("")}function ml(e){for(var o,t=e.length,i=t%3,c=[],p=16383,m=0,d=t-i;m<d;m+=p)c.push(pl(e,m,m+p>d?d:m+p));return i===1?(o=e[t-1],c.push(we[o>>2]+we[o<<4&63]+"==")):i===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 Ga=S(zt=>{n();zt.read=function(e,o,t,i,c){var p,m,d=c*8-i-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+=i;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,i),p=p-T}return(L?-1:1)*m*Math.pow(2,p-i)};zt.write=function(e,o,t,i,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=i?0:p-1,E=i?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 ei=S(Do=>{"use strict";n();var Kt=Ua(),Ro=Ga(),Ha=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Do.Buffer=l;Do.SlowBuffer=fl;Do.INSPECT_MAX_BYTES=50;var Vn=2147483647;Do.kMaxLength=Vn;l.TYPED_ARRAY_SUPPORT=dl();!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 dl(){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 Jt(e)}return qa(e,o,t)}l.poolSize=8192;function qa(e,o,t){if(typeof e=="string")return _l(e,o);if(ArrayBuffer.isView(e))return ul(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 Yt(e,o,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return l.from(i,o,t);var c=gl(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 qa(e,o,t)};Object.setPrototypeOf(l.prototype,Uint8Array.prototype);Object.setPrototypeOf(l,Uint8Array);function ja(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 ll(e,o,t){return ja(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 ll(e,o,t)};function Jt(e){return ja(e),Oe(e<0?0:Qt(e)|0)}l.allocUnsafe=function(e){return Jt(e)};l.allocUnsafeSlow=function(e){return Jt(e)};function _l(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!l.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=za(e,o)|0,i=Oe(t),c=i.write(e,o);return c!==t&&(i=i.slice(0,c)),i}function Xt(e){for(var o=e.length<0?0:Qt(e.length)|0,t=Oe(o),i=0;i<o;i+=1)t[i]=e[i]&255;return t}function ul(e){if(ve(e,Uint8Array)){var o=new Uint8Array(e);return Yt(o.buffer,o.byteOffset,o.byteLength)}return Xt(e)}function Yt(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 i;return o===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,o):i=new Uint8Array(e,o,t),Object.setPrototypeOf(i,l.prototype),i}function gl(e){if(l.isBuffer(e)){var o=Qt(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"||er(e.length)?Oe(0):Xt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Xt(e.data)}function Qt(e){if(e>=Vn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Vn.toString(16)+" bytes");return e|0}function fl(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 i=o.length,c=t.length,p=0,m=Math.min(i,c);p<m;++p)if(o[p]!==t[p]){i=o[p],c=t[p];break}return i<c?-1:c<i?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 i;if(t===void 0)for(t=0,i=0;i<o.length;++i)t+=o[i].length;var c=l.allocUnsafe(t),p=0;for(i=0;i<o.length;++i){var m=o[i];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 za(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,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var c=!1;;)switch(o){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return Zt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Qa(e).length;default:if(c)return i?-1:Zt(e).length;o=(""+o).toLowerCase(),c=!0}}l.byteLength=za;function Tl(e,o,t){var i=!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 kl(this,o,t);case"utf8":case"utf-8":return Xa(this,o,t);case"ascii":return Al(this,o,t);case"latin1":case"binary":return Il(this,o,t);case"base64":return wl(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ll(this,o,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}l.prototype._isBuffer=!0;function mo(e,o,t){var i=e[o];e[o]=e[t],e[t]=i}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?Xa(this,0,o):Tl.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=Do.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};Ha&&(l.prototype[Ha]=l.prototype.inspect);l.prototype.compare=function(o,t,i,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),i===void 0&&(i=o?o.length:0),c===void 0&&(c=0),p===void 0&&(p=this.length),t<0||i>o.length||c<0||p>this.length)throw new RangeError("out of range index");if(c>=p&&t>=i)return 0;if(c>=p)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,c>>>=0,p>>>=0,this===o)return 0;for(var m=p-c,d=i-t,_=Math.min(m,d),T=this.slice(c,p),f=o.slice(t,i),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 Ka(e,o,t,i,c){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,er(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,i)),l.isBuffer(o))return o.length===0?-1:Va(e,o,t,i,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):Va(e,[o],t,i,c);throw new TypeError("val must be string, number or Buffer")}function Va(e,o,t,i,c){var p=1,m=e.length,d=o.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="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,i){return this.indexOf(o,t,i)!==-1};l.prototype.indexOf=function(o,t,i){return Ka(this,o,t,i,!0)};l.prototype.lastIndexOf=function(o,t,i){return Ka(this,o,t,i,!1)};function hl(e,o,t,i){t=Number(t)||0;var c=e.length-t;i?(i=Number(i),i>c&&(i=c)):i=c;var p=o.length;i>p/2&&(i=p/2);for(var m=0;m<i;++m){var d=parseInt(o.substr(m*2,2),16);if(er(d))return m;e[t+m]=d}return m}function xl(e,o,t,i){return $n(Zt(o,e.length-t),e,t,i)}function yl(e,o,t,i){return $n(Cl(o),e,t,i)}function Sl(e,o,t,i){return $n(Qa(o),e,t,i)}function bl(e,o,t,i){return $n(Nl(o,e.length-t),e,t,i)}l.prototype.write=function(o,t,i,c){if(t===void 0)c="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")c=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,c===void 0&&(c="utf8")):(c=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var p=this.length-t;if((i===void 0||i>p)&&(i=p),o.length>0&&(i<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 hl(this,o,t,i);case"utf8":case"utf-8":return xl(this,o,t,i);case"ascii":case"latin1":case"binary":return yl(this,o,t,i);case"base64":return Sl(this,o,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return bl(this,o,t,i);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 wl(e,o,t){return o===0&&t===e.length?Kt.fromByteArray(e):Kt.fromByteArray(e.slice(o,t))}function Xa(e,o,t){t=Math.min(e.length,t);for(var i=[],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,i.push(m>>>10&1023|55296),m=56320|m&1023),i.push(m),c+=d}return vl(i)}var $a=4096;function vl(e){var o=e.length;if(o<=$a)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<o;)t+=String.fromCharCode.apply(String,e.slice(i,i+=$a));return t}function Al(e,o,t){var i="";t=Math.min(e.length,t);for(var c=o;c<t;++c)i+=String.fromCharCode(e[c]&127);return i}function Il(e,o,t){var i="";t=Math.min(e.length,t);for(var c=o;c<t;++c)i+=String.fromCharCode(e[c]);return i}function kl(e,o,t){var i=e.length;(!o||o<0)&&(o=0),(!t||t<0||t>i)&&(t=i);for(var c="",p=o;p<t;++p)c+=Rl[e[p]];return c}function Ll(e,o,t){for(var i=e.slice(o,t),c="",p=0;p<i.length-1;p+=2)c+=String.fromCharCode(i[p]+i[p+1]*256);return c}l.prototype.slice=function(o,t){var i=this.length;o=~~o,t=t===void 0?i:~~t,o<0?(o+=i,o<0&&(o=0)):o>i&&(o=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),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,i){o=o>>>0,t=t>>>0,i||$(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,i){o=o>>>0,t=t>>>0,i||$(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,i){o=o>>>0,t=t>>>0,i||$(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,i){o=o>>>0,t=t>>>0,i||$(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 i=this[o]|this[o+1]<<8;return i&32768?i|4294901760:i};l.prototype.readInt16BE=function(o,t){o=o>>>0,t||$(o,2,this.length);var i=this[o+1]|this[o]<<8;return i&32768?i|4294901760:i};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),Ro.read(this,o,!0,23,4)};l.prototype.readFloatBE=function(o,t){return o=o>>>0,t||$(o,4,this.length),Ro.read(this,o,!1,23,4)};l.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Ro.read(this,o,!0,52,8)};l.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||$(o,8,this.length),Ro.read(this,o,!1,52,8)};function te(e,o,t,i,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+i>e.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(o,t,i,c){if(o=+o,t=t>>>0,i=i>>>0,!c){var p=Math.pow(2,8*i)-1;te(this,o,t,i,p,0)}var m=1,d=0;for(this[t]=o&255;++d<i&&(m*=256);)this[t+d]=o/m&255;return t+i};l.prototype.writeUintBE=l.prototype.writeUIntBE=function(o,t,i,c){if(o=+o,t=t>>>0,i=i>>>0,!c){var p=Math.pow(2,8*i)-1;te(this,o,t,i,p,0)}var m=i-1,d=1;for(this[t+m]=o&255;--m>=0&&(d*=256);)this[t+m]=o/d&255;return t+i};l.prototype.writeUint8=l.prototype.writeUInt8=function(o,t,i){return o=+o,t=t>>>0,i||te(this,o,t,1,255,0),this[t]=o&255,t+1};l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(o,t,i){return o=+o,t=t>>>0,i||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,i){return o=+o,t=t>>>0,i||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,i){return o=+o,t=t>>>0,i||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,i){return o=+o,t=t>>>0,i||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,i,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*i-1);te(this,o,t,i,p-1,-p)}var m=0,d=1,_=0;for(this[t]=o&255;++m<i&&(d*=256);)o<0&&_===0&&this[t+m-1]!==0&&(_=1),this[t+m]=(o/d>>0)-_&255;return t+i};l.prototype.writeIntBE=function(o,t,i,c){if(o=+o,t=t>>>0,!c){var p=Math.pow(2,8*i-1);te(this,o,t,i,p-1,-p)}var m=i-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+i};l.prototype.writeInt8=function(o,t,i){return o=+o,t=t>>>0,i||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,i){return o=+o,t=t>>>0,i||te(this,o,t,2,32767,-32768),this[t]=o&255,this[t+1]=o>>>8,t+2};l.prototype.writeInt16BE=function(o,t,i){return o=+o,t=t>>>0,i||te(this,o,t,2,32767,-32768),this[t]=o>>>8,this[t+1]=o&255,t+2};l.prototype.writeInt32LE=function(o,t,i){return o=+o,t=t>>>0,i||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,i){return o=+o,t=t>>>0,i||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 Ya(e,o,t,i,c,p){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Za(e,o,t,i,c){return o=+o,t=t>>>0,c||Ya(e,o,t,4,34028234663852886e22,-34028234663852886e22),Ro.write(e,o,t,i,23,4),t+4}l.prototype.writeFloatLE=function(o,t,i){return Za(this,o,t,!0,i)};l.prototype.writeFloatBE=function(o,t,i){return Za(this,o,t,!1,i)};function Ja(e,o,t,i,c){return o=+o,t=t>>>0,c||Ya(e,o,t,8,17976931348623157e292,-17976931348623157e292),Ro.write(e,o,t,i,52,8),t+8}l.prototype.writeDoubleLE=function(o,t,i){return Ja(this,o,t,!0,i)};l.prototype.writeDoubleBE=function(o,t,i){return Ja(this,o,t,!1,i)};l.prototype.copy=function(o,t,i,c){if(!l.isBuffer(o))throw new TypeError("argument should be a Buffer");if(i||(i=0),!c&&c!==0&&(c=this.length),t>=o.length&&(t=o.length),t||(t=0),c>0&&c<i&&(c=i),c===i||o.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=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-i&&(c=o.length-t+i);var p=c-i;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,c):Uint8Array.prototype.set.call(o,this.subarray(i,c),t),p};l.prototype.fill=function(o,t,i,c){if(typeof o=="string"){if(typeof t=="string"?(c=t,t=0,i=this.length):typeof i=="string"&&(c=i,i=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<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,o||(o=0);var m;if(typeof o=="number")for(m=t;m<i;++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<i-t;++m)this[m+t]=d[m%_]}return this};var El=/[^+/0-9A-Za-z-_]/g;function Pl(e){if(e=e.split("=")[0],e=e.trim().replace(El,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Zt(e,o){o=o||1/0;for(var t,i=e.length,c=null,p=[],m=0;m<i;++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===i){(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 Cl(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function Nl(e,o){for(var t,i,c,p=[],m=0;m<e.length&&!((o-=2)<0);++m)t=e.charCodeAt(m),i=t>>8,c=t%256,p.push(c),p.push(i);return p}function Qa(e){return Kt.toByteArray(Pl(e))}function $n(e,o,t,i){for(var c=0;c<i&&!(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 er(e){return e!==e}var Rl=function(){for(var e="0123456789abcdef",o=new Array(256),t=0;t<16;++t)for(var i=t*16,c=0;c<16;++c)o[i+c]=e[t]+e[c];return o}()});var ai=S((jx,ri)=>{n();var W=ri.exports={},Ae,Ie;function or(){throw new Error("setTimeout has not been defined")}function nr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Ae=setTimeout:Ae=or}catch(e){Ae=or}try{typeof clearTimeout=="function"?Ie=clearTimeout:Ie=nr}catch(e){Ie=nr}})();function oi(e){if(Ae===setTimeout)return setTimeout(e,0);if((Ae===or||!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 Dl(e){if(Ie===clearTimeout)return clearTimeout(e);if((Ie===nr||!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=[],Mo=!1,lo,qn=-1;function Ml(){!Mo||!lo||(Mo=!1,lo.length?Be=lo.concat(Be):qn=-1,Be.length&&ni())}function ni(){if(!Mo){var e=oi(Ml);Mo=!0;for(var o=Be.length;o;){for(lo=Be,Be=[];++qn<o;)lo&&lo[qn].run();qn=-1,o=Be.length}lo=null,Mo=!1,Dl(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 ti(e,o)),Be.length===1&&!Mo&&oi(ni)};function ti(e,o){this.fun=e,this.array=o}ti.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,s,Ol,a,n=h(()=>{r=x(ei()),s=x(ai()),Ol=function(e){function o(){var i=this||self;return delete e.prototype.__magic__,i}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=Ol});var ii=h(()=>{"use strict";n()});var si,Ze,ci,tr,pi,mi,jn,ke=h(()=>{"use strict";n();si="error when signing",Ze="Transaction canceled",ci="error signing transaction",tr="provider not initialized",pi="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",mi="Undefined transaction status",jn="You cannot sign transactions from a different account"});var di=h(()=>{"use strict";n()});var rr,li=h(()=>{"use strict";n();rr=(i=>(i.SetGuardian="SetGuardian",i.GuardAccount="GuardAccount",i.UnGuardAccount="UnGuardAccount",i))(rr||{})});var _i=h(()=>{"use strict";n()});var ar=h(()=>{"use strict";n()});var ui=h(()=>{"use strict";n()});var ir,sr=h(()=>{"use strict";n();ir=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(ir||{})});var gi=h(()=>{"use strict";n()});var fi=h(()=>{"use strict";n()});var ee,Oo,Je=h(()=>{"use strict";n();ee=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Oo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Ti,ry,hi,ay,R=h(()=>{"use strict";n();Je();Ti=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(Ti||{}),ry=u(u({},Oo.WindowProviderRequestEnums),Ti),hi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(hi||{}),ay=u(u({},Oo.WindowProviderResponseEnums),hi)});var xi=h(()=>{"use strict";n()});var yi=h(()=>{"use strict";n()});var re=h(()=>{"use strict";n()});var Si=h(()=>{"use strict";n()});var bi=h(()=>{"use strict";n()});var wi=h(()=>{"use strict";n()});var U=h(()=>{"use strict";n();sr();gi();fi();R();xi();yi();re();Si();bi();wi()});var _o,vi,by,Ai,wy,Ii,vy,Ay,ki,Bo=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:vi,egldLabel:by}=_o["devnet"],{chainId:Ai,egldLabel:wy}=_o["testnet"],{chainId:Ii,egldLabel:vy}=_o["mainnet"],Ay={["devnet"]:vi,["testnet"]:Ai,["mainnet"]:Ii},ki={[vi]:"devnet",[Ai]:"testnet",[Ii]:"mainnet"}});var Li,_n=h(()=>{"use strict";n();Li="cancel-transaction-toast"});var Le,Ei=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 Pi,Ci,cr,Cy,Ny,pr=h(()=>{"use strict";n();uo();cr=String((Ci=(Pi=Ee.safeWindow)==null?void 0:Pi.navigator)==null?void 0:Ci.userAgent),Cy=/^((?!chrome|android).)*safari/i.test(cr),Ny=/firefox/i.test(cr)&&/windows/i.test(cr)});var zn,Kn,Ni,Ri,Pe,Xn,Di,Yn,Mi,Fo,I=h(()=>{"use strict";n();ii();ke();di();li();_i();ar();ui();Bo();_n();Ei();pr();zn=5e4,Kn=1e9,Ni=1,Ri="/dapp/init",Pe="signSession",Xn="sdk-dapp-version",Di="4.5.1",Yn="logout",Mi="login",Fo="0"});var un,Zn=h(()=>{"use strict";n();un=()=>Date.now()/1e3});var Oi=h(()=>{"use strict";n()});var Bi=h(()=>{"use strict";n()});var mr=h(()=>{"use strict";n();Zn();Oi();Bi()});var dr={};xe(dr,{clear:()=>Ul,getItem:()=>Fl,localStorageKeys:()=>We,removeItem:()=>Wl,setItem:()=>Bl});var We,Jn,Bl,Fl,Wl,Ul,go=h(()=>{"use strict";n();mr();We={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},Jn=typeof localStorage!="undefined",Bl=({key:e,data:o,expires:t})=>{!Jn||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Fl=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:un()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},Wl=e=>{!Jn||localStorage.removeItem(String(e))},Ul=()=>{!Jn||localStorage.clear()}});var lr={};xe(lr,{clear:()=>Gi,getItem:()=>Wi,removeItem:()=>Ui,sessionStorageKeys:()=>Gl,setItem:()=>Fi,storage:()=>Hl});var Gl,Fi,Wi,Ui,Gi,Hl,Hi=h(()=>{"use strict";n();Gl={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},Fi=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},Wi=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},Ui=e=>sessionStorage.removeItem(String(e)),Gi=()=>sessionStorage.clear(),Hl={setItem:Fi,getItem:Wi,removeItem:Ui,clear:Gi}});var Qe,fo=h(()=>{"use strict";n();go();Hi();Qe={session:lr,local:dr}});var _r,D,ae,M=h(()=>{"use strict";n();_r=require("@reduxjs/toolkit");I();D=(0,_r.createAction)(Yn),ae=(0,_r.createAction)(Mi,e=>({payload:e}))});var gr,Vi,$i,ge,ur,qi,ye,eo,fr,pS,Vl,$l,mS,dS,lS,ql,jl,Qn,et=h(()=>{"use strict";n();gr=require("@multiversx/sdk-core"),Vi=require("@reduxjs/toolkit"),$i=require("redux-persist");I();fo();go();M();ge={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Fo},ur={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":ge},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},qi=(0,Vi.createSlice)({name:"accountInfoSlice",initialState:ur,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new gr.Address(t).toHex():""},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),ur)),e.addCase(ae,(o,t)=>{let{address:i}=t.payload;o.address=i,o.publicKey=new gr.Address(i).toHex()}),e.addCase($i.REHYDRATE,(o,t)=>{var T;if(!((T=t.payload)!=null&&T.account))return;let{account:i}=t.payload,{address:c,shard:p,accounts:m,publicKey:d}=i;o.address=c,o.shard=p;let _=m&&c in m;o.accounts=_?m:ur.accounts,o.publicKey=d})}}),{setAccount:ye,setAddress:eo,setAccountNonce:fr,setAccountShard:pS,setLedgerAccount:Vl,updateLedgerAccount:$l,setWalletConnectAccount:mS,setIsAccountLoading:dS,setAccountLoadingError:lS,setWebsocketEvent:ql,setWebsocketBatchEvent:jl}=qi.actions,Qn=qi.reducer});function gn(){return new Date().setHours(new Date().getHours()+24)}function fn(e){Qe.local.setItem({key:We.loginExpiresAt,data:e,expires:e})}var Tr=h(()=>{"use strict";n();fo();go()});var zi,ji,Ki,bS,zl,Kl,hr,wS,Xl,Xi,vS,AS,IS,ot,nt=h(()=>{"use strict";n();zi=require("@reduxjs/toolkit");Tr();R();M();ji={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},Ki=(0,zi.createSlice)({name:"loginInfoSlice",initialState:ji,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,()=>ji),e.addCase(ae,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,fn(gn())})}}),{setLoginMethod:bS,setWalletConnectLogin:zl,setLedgerLogin:Kl,setTokenLogin:hr,setTokenLoginSignature:wS,setWalletLogin:Xl,invalidateLoginSession:Xi,setLogoutRoute:vS,setIsWalletConnectV2Initialized:AS,setWebviewLogin:IS}=Ki.actions,ot=Ki.reducer});var Zi,Yi,Ji,PS,Yl,CS,Zl,tt,rt=h(()=>{"use strict";n();Zi=require("@reduxjs/toolkit");M();Yi={},Ji=(0,Zi.createSlice)({name:"modalsSlice",initialState:Yi,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,()=>Yi)}}),{setTxSubmittedModal:PS,setNotificationModal:Yl,clearTxSubmittedModal:CS,clearNotificationModal:Zl}=Ji.actions,tt=Ji.reducer});var Ue,Wo=h(()=>{"use strict";n();Ue=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,X=h(()=>{"use strict";n();Wo();N=()=>{if(!Ue())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:o,hash:t,origin:i,href:c,search:p}}=window;return{pathname:o,hash:t,origin:i,href:c,search:p}}});var Qi=h(()=>{"use strict";n();X()});var To,es=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 os=h(()=>{"use strict";n();uo()});var Z=h(()=>{"use strict";n();Qi();es();X();os()});var Tn=h(()=>{"use strict";n();Z()});var ts=h(()=>{"use strict";n();Tn()});function rs(e){return e[Math.floor(Math.random()*e.length)]}var as=h(()=>{"use strict";n()});var xr=h(()=>{"use strict";n();ar()});var Ge=h(()=>{"use strict";n();ts();as();xr()});var is,ss,cs,yr,Ql,ps,mb,db,ms,at,it=h(()=>{"use strict";n();is=require("@reduxjs/toolkit"),ss=x(require("lodash.omit")),cs=require("redux-persist");_n();M();Ge();yr={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},Ql={network:yr},ps=(0,is.createSlice)({name:"appConfig",initialState:Ql,reducers:{initializeNetworkConfig:(e,o)=>{let t=rs(o.payload.walletConnectV2RelayAddresses),i=(0,ss.default)(o.payload,"walletConnectV2RelayAddresses");e.network=w(u(u({},e.network),i),{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(cs.REHYDRATE,(o,t)=>{var c,p;if(!((p=(c=t.payload)==null?void 0:c.network)!=null&&p.customWalletAddress))return;let{network:{customWalletAddress:i}}=t.payload;o.network.customWalletAddress=i})}}),{initializeNetworkConfig:mb,updateNetworkConfig:db,setCustomWalletAddress:ms}=ps.actions,at=ps.reducer});var ds,Sr,ls,Tb,hb,xb,st,ct=h(()=>{"use strict";n();ds=require("@reduxjs/toolkit");U();M();Sr={isSigning:!1,signedSessions:{}},ls=(0,ds.createSlice)({name:"signedMessageInfoSliceState",initialState:Sr,reducers:{setSignSession:(e,o)=>{let{sessionId:t,signedSession:i,errorMessage:c}=o.payload;c&&(e.errorMessage=c),e.isSigning=i.status==="pending",e.signedSessions[t]=u(u({},e.signedSessions[t]),i)},setSignSessionState:(e,o)=>u(u({},e),o.payload),clearSignedMessageInfo:()=>Sr},extraReducers:e=>{e.addCase(D,()=>Sr)}}),{setSignSession:Tb,clearSignedMessageInfo:hb,setSignSessionState:xb}=ls.actions,st=ls.reducer});var us,gs,_s,fs,br,e_,Ib,o_,pt,mt=h(()=>{"use strict";n();us=require("@reduxjs/toolkit"),gs=require("redux-persist");U();Zn();M();_s={customToasts:[],transactionToasts:[]},fs=(0,us.createSlice)({name:"toastsSlice",initialState:_s,reducers:{addCustomToast:(e,o)=>{let t=o.payload.toastId||`custom-toast-${e.customToasts.length+1}`,i=e.customToasts.findIndex(c=>c.toastId===t);if(i!==-1){e.customToasts[i]=w(u(u({},e.customToasts[i]),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:un(),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,()=>_s),e.addCase(gs.REHYDRATE,(o,t)=>{var c,p;let i=(p=(c=t.customToasts)==null?void 0:c.filter(m=>!("component"in m)))!=null?p:[];o.customToasts=i})}}),{addCustomToast:br,removeCustomToast:e_,addTransactionToast:Ib,removeTransactionToast:o_}=fs.actions,pt=fs.reducer});var Ts,vr,Ar,Ir,n_,wr,hs,Pb,t_,hn,dt,lt=h(()=>{"use strict";n();Ts=require("@reduxjs/toolkit");M();vr="Transaction failed",Ar="Transaction successful",Ir="Processing transaction",n_="Transaction submitted",wr={},hs=(0,Ts.createSlice)({name:"transactionsInfo",initialState:wr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:i}=o.payload;t!=null&&(e[t]={errorMessage:(i==null?void 0:i.errorMessage)||vr,successMessage:(i==null?void 0:i.successMessage)||Ar,processingMessage:(i==null?void 0:i.processingMessage)||Ir,submittedMessage:(i==null?void 0:i.submittedMessage)||n_,transactionDuration:i==null?void 0:i.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>wr},extraReducers:e=>{e.addCase(D,()=>wr)}}),{clearTransactionsInfo:Pb,setTransactionsDisplayInfo:t_,clearTransactionsInfoForSessionId:hn}=hs.actions,dt=hs.reducer});function Go(e){return e!=null&&(__(e)||h_(e))}function Ho(e){return e!=null&&(u_(e)||x_(e))}function Vo(e){return e!=null&&(g_(e)||y_(e))}function xs(e){return e!=null&&(f_(e)||S_(e))}function kr(e){return e!=null&&T_(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)}function S_(e){return e!=null&&l_.includes(e)}var r_,a_,i_,s_,c_,p_,m_,d_,l_,$o=h(()=>{"use strict";n();R();r_=["sent"],a_=["success"],i_=["fail","cancelled","timedOut"],s_=["invalid"],c_=["timedOut"],p_=["pending"],m_=["success"],d_=["fail","invalid"],l_=["not executed"]});var ys,Ss,xn,b_,bs,ws,vs,w_,ho,v_,A_,Wb,I_,no,to,Ub,_t,ut=h(()=>{"use strict";n();ys=require("@reduxjs/toolkit"),Ss=require("redux-persist");R();$o();M();xn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},b_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},bs=(0,ys.createSlice)({name:"transactionsSlice",initialState:xn,reducers:{moveTransactionsToSignedState:(e,o)=>{var _,T;let{sessionId:t,transactions:i,errorMessage:c,status:p,redirectRoute:m,customTransactionInformation:d}=o.payload;e.customTransactionInformationForSessionId[t]=u(u(u({},b_),((_=e.signedTransactions[t])==null?void 0:_.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[t]||{}),e.signedTransactions[t]={transactions:i,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=xn.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:i,errorMessage:c,transactions:p}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].status=i,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:i,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:i,errorMessage:c,inTransit:d}):B);let q=(P=(b=e.signedTransactions[t])==null?void 0:b.transactions)==null?void 0:P.every(B=>Ho(B.status)),oe=(E=(L=e.signedTransactions[t])==null?void 0:L.transactions)==null?void 0:E.some(B=>Vo(B.status)),Te=(O=(Y=e.signedTransactions[t])==null?void 0:Y.transactions)==null?void 0:O.every(B=>xs(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:i}=o.payload;e.customTransactionInformationForSessionId[t]=i,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=xn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=xn.signedTransactions},setSignTransactionsError:(e,o)=>{e.signTransactionsError=o.payload},setSignTransactionsCancelMessage:(e,o)=>{e.signTransactionsCancelMessage=o.payload},updateSignedTransactionsCustomTransactionInformation:(e,o)=>{let{sessionId:t,customTransactionInformationOverrides:i}=o.payload;e.signedTransactions[t]!=null&&(e.signedTransactions[t].customTransactionInformation=u(u({},e.signedTransactions[t].customTransactionInformation),i))}},extraReducers:e=>{e.addCase(D,()=>xn),e.addCase(Ss.REHYDRATE,(o,t)=>{var m;if(o.signTransactionsCancelMessage=null,!((m=t.payload)!=null&&m.transactions))return;let{signedTransactions:i,customTransactionInformationForSessionId:c}=t.payload.transactions,p=Object.entries(i).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),i!=null&&(o.signedTransactions=p)})}}),{updateSignedTransactionStatus:ws,updateSignedTransactions:vs,setTransactionsToSign:w_,clearAllTransactionsToSign:ho,clearAllSignedTransactions:v_,clearSignedTransaction:A_,clearTransactionToSign:Wb,setSignTransactionsError:I_,setSignTransactionsCancelMessage:no,moveTransactionsToSignedState:to,updateSignedTransactionsCustomTransactionInformation:Ub}=bs.actions,_t=bs.reducer});var As,Lr,Is,$b,qb,k_,jb,gt,ft=h(()=>{"use strict";n();As=require("@reduxjs/toolkit");M();Lr={},Is=(0,As.createSlice)({name:"batchTransactionsSlice",initialState:Lr,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:()=>Lr},extraReducers:e=>{e.addCase(D,()=>Lr)}}),{setBatchTransactions:$b,updateBatchTransactions:qb,clearBatchTransactions:k_,clearAllBatchTransactions:jb}=Is.actions,gt=Is.reducer});var Ls,ks,Es,Yb,Ps,Er=h(()=>{"use strict";n();Ls=require("@reduxjs/toolkit");M();ks={},Es=(0,Ls.createSlice)({name:"dappConfigSlice",initialState:ks,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(D,()=>ks)}}),{setDappConfig:Yb}=Es.actions,Ps=Es.reducer});var k=h(()=>{"use strict";n();et();nt();rt();it();ct();mt();lt();ut();ft();Er()});var Pr=h(()=>{"use strict";n()});var Rs,C_,N_,yn,Cr=h(()=>{"use strict";n();Rs=require("@reduxjs/toolkit");Pr();et();ft();Er();nt();rt();it();ct();mt();lt();ut();C_={["account"]:Qn,["dappConfig"]:Ps,["loginInfo"]:ot,["modals"]:tt,["networkConfig"]:at,["signedMessageInfo"]:st,["toasts"]:pt,["transactionsInfo"]:dt,["transactions"]:_t,["batchTransactions"]:gt},N_=(e={})=>(0,Rs.combineReducers)(u(u({},C_),e)),yn=N_});var Bs={};xe(Bs,{default:()=>K_,sessionStorageReducers:()=>Nr});function He(e,o=[]){return{key:e,version:1,storage:Ms.default,blacklist:o}}var ie,Ds,Ms,R_,Sn,D_,M_,O_,B_,F_,W_,U_,G_,H_,V_,Os,$_,Nr,q_,j_,z_,K_,Fs=h(()=>{"use strict";n();ie=require("redux-persist"),Ds=x(require("redux-persist/lib/storage")),Ms=x(require("redux-persist/lib/storage/session"));Cr();k();et();ft();nt();rt();it();ct();mt();lt();ut();Pr();R_={persistReducersStorageType:"localStorage"},Sn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},D_=He(Sn["account"]),M_=He(Sn["loginInfo"]),O_=He(Sn["modals"]),B_=He(Sn["networkConfig"]),F_={2:e=>w(u({},e),{networkConfig:yr})};W_=He("sdk-dapp-transactionsInfo"),U_=He("sdk-dapp-transactions",["transactionsToSign"]),G_=He("sdk-dapp-batchTransactions",["batchTransactions"]),H_=He("sdk-dapp-toasts"),V_=He("sdk-dapp-signedMessageInfo"),Os={key:"sdk-dapp-store",version:2,storage:Ds.default,whitelist:Object.keys(Sn),migrate:(0,ie.createMigrate)(F_,{debug:!1})},$_=w(u({},Os),{whitelist:[]}),Nr={["toasts"]:(0,ie.persistReducer)(H_,pt),["transactions"]:(0,ie.persistReducer)(U_,_t),["transactionsInfo"]:(0,ie.persistReducer)(W_,dt),["batchTransactions"]:(0,ie.persistReducer)(G_,gt),["signedMessageInfo"]:(0,ie.persistReducer)(V_,st)},q_=w(u({},Nr),{["account"]:(0,ie.persistReducer)(D_,Qn),["loginInfo"]:(0,ie.persistReducer)(M_,ot),["modals"]:(0,ie.persistReducer)(O_,tt),["networkConfig"]:(0,ie.persistReducer)(B_,at)}),j_=R_.persistReducersStorageType==="localStorage",z_=j_?(0,ie.persistReducer)(Os,yn(Nr)):(0,ie.persistReducer)($_,yn(q_)),K_=z_});var Ws={};xe(Ws,{default:()=>X_});var X_,Us=h(()=>{"use strict";n();Cr();X_=yn()});var Gs={};xe(Gs,{default:()=>Z_});var fe,Y_,Z_,Hs=h(()=>{"use strict";n();fe=require("redux-persist"),Y_=[fe.FLUSH,fe.REHYDRATE,fe.PAUSE,fe.PERSIST,fe.PURGE,fe.REGISTER],Z_=Y_});var qs={};xe(qs,{default:()=>$s});function $s(e){return(0,Vs.persistStore)(e)}var Vs,js=h(()=>{"use strict";n();Vs=require("redux-persist")});var rp=S((U2,tp)=>{n();var Cg=typeof a=="object"&&a&&a.Object===Object&&a;tp.exports=Cg});var Ln=S((G2,ap)=>{n();var Ng=rp(),Rg=typeof self=="object"&&self&&self.Object===Object&&self,Dg=Ng||Rg||Function("return this")();ap.exports=Dg});var oa=S((H2,ip)=>{n();var Mg=Ln(),Og=Mg.Symbol;ip.exports=Og});var mp=S((V2,pp)=>{n();var sp=oa(),cp=Object.prototype,Bg=cp.hasOwnProperty,Fg=cp.toString,En=sp?sp.toStringTag:void 0;function Wg(e){var o=Bg.call(e,En),t=e[En];try{e[En]=void 0;var i=!0}catch(p){}var c=Fg.call(e);return i&&(o?e[En]=t:delete e[En]),c}pp.exports=Wg});var lp=S(($2,dp)=>{n();var Ug=Object.prototype,Gg=Ug.toString;function Hg(e){return Gg.call(e)}dp.exports=Hg});var na=S((q2,gp)=>{n();var _p=oa(),Vg=mp(),$g=lp(),qg="[object Null]",jg="[object Undefined]",up=_p?_p.toStringTag:void 0;function zg(e){return e==null?e===void 0?jg:qg:up&&up in Object(e)?Vg(e):$g(e)}gp.exports=zg});var Tp=S((j2,fp)=>{n();var Kg=Array.isArray;fp.exports=Kg});var xp=S((z2,hp)=>{n();function Xg(e){return e!=null&&typeof e=="object"}hp.exports=Xg});var Sp=S((K2,yp)=>{n();var Yg=na(),Zg=Tp(),Jg=xp(),Qg="[object String]";function ef(e){return typeof e=="string"||!Zg(e)&&Jg(e)&&Yg(e)==Qg}yp.exports=ef});var aa={};xe(aa,{css:()=>kp,default:()=>pf});var kp,pf,ia=h(()=>{"use strict";n();kp=`.dapp-core-component__main__link-style {
2
2
  color: #1392ff;
3
3
  }
4
4
 
@@ -1,4 +1,4 @@
1
- "use strict";var Sl=Object.create;var gn=Object.defineProperty,bl=Object.defineProperties,wl=Object.getOwnPropertyDescriptor,vl=Object.getOwnPropertyDescriptors,Al=Object.getOwnPropertyNames,jn=Object.getOwnPropertySymbols,Il=Object.getPrototypeOf,Qt=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable;var Ja=(e,o,t)=>o in e?gn(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))Qt.call(o,t)&&Ja(e,t,o[t]);if(jn)for(var t of jn(o))Qa.call(o,t)&&Ja(e,t,o[t]);return e},w=(e,o)=>bl(e,vl(o));var eo=(e,o)=>{var t={};for(var a in e)Qt.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&&Qa.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)gn(e,t,{get:o[t],enumerable:!0})},ei=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of Al(o))!Qt.call(e,c)&&c!==t&&gn(e,c,{get:()=>o[c],enumerable:!(a=wl(o,c))||a.enumerable});return e};var h=(e,o,t)=>(t=e!=null?Sl(Il(e)):{},ei(o||!e||!e.__esModule?gn(t,"default",{value:e,enumerable:!0}):t,e)),oe=e=>ei(gn({},"__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 ti=b(zn=>{"use strict";n();zn.byteLength=Ll;zn.toByteArray=El;zn.fromByteArray=Rl;var Ae=[],fe=[],kl=typeof Uint8Array!="undefined"?Uint8Array:Array,er="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(uo=0,oi=er.length;uo<oi;++uo)Ae[uo]=er[uo],fe[er.charCodeAt(uo)]=uo;var uo,oi;fe["-".charCodeAt(0)]=62;fe["_".charCodeAt(0)]=63;function ni(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 Ll(e){var o=ni(e),t=o[0],a=o[1];return(t+a)*3/4-a}function Pl(e,o,t){return(o+t)*3/4-t}function El(e){var o,t=ni(e),a=t[0],c=t[1],p=new kl(Pl(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 Cl(e){return Ae[e>>18&63]+Ae[e>>12&63]+Ae[e>>6&63]+Ae[e&63]}function Nl(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(Cl(a));return c.join("")}function Rl(e){for(var o,t=e.length,a=t%3,c=[],p=16383,m=0,d=t-a;m<d;m+=p)c.push(Nl(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 ri=b(or=>{n();or.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)};or.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 Ti=b(Oo=>{"use strict";n();var nr=ti(),Mo=ri(),ai=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Oo.Buffer=_;Oo.SlowBuffer=Fl;Oo.INSPECT_MAX_BYTES=50;var Kn=2147483647;Oo.kMaxLength=Kn;_.TYPED_ARRAY_SUPPORT=Dl();!_.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 Dl(){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 ir(e)}return ci(e,o,t)}_.poolSize=8192;function ci(e,o,t){if(typeof e=="string")return Ol(e,o);if(ArrayBuffer.isView(e))return Wl(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 rr(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=Bl(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 ci(e,o,t)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function pi(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 Ml(e,o,t){return pi(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 Ml(e,o,t)};function ir(e){return pi(e),We(e<0?0:sr(e)|0)}_.allocUnsafe=function(e){return ir(e)};_.allocUnsafeSlow=function(e){return ir(e)};function Ol(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!_.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=mi(e,o)|0,a=We(t),c=a.write(e,o);return c!==t&&(a=a.slice(0,c)),a}function tr(e){for(var o=e.length<0?0:sr(e.length)|0,t=We(o),a=0;a<o;a+=1)t[a]=e[a]&255;return t}function Wl(e){if(Ie(e,Uint8Array)){var o=new Uint8Array(e);return rr(o.buffer,o.byteOffset,o.byteLength)}return tr(e)}function rr(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 Bl(e){if(_.isBuffer(e)){var o=sr(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"||cr(e.length)?We(0):tr(e);if(e.type==="Buffer"&&Array.isArray(e.data))return tr(e.data)}function sr(e){if(e>=Kn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Kn.toString(16)+" bytes");return e|0}function Fl(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 mi(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 ar(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return fi(e).length;default:if(c)return a?-1:ar(e).length;o=(""+o).toLowerCase(),c=!0}}_.byteLength=mi;function Ul(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 Yl(this,o,t);case"utf8":case"utf-8":return li(this,o,t);case"ascii":return Kl(this,o,t);case"latin1":case"binary":return Xl(this,o,t);case"base64":return jl(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zl(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?li(this,0,o):Ul.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=Oo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};ai&&(_.prototype[ai]=_.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 di(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,cr(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:ii(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):ii(e,[o],t,a,c);throw new TypeError("val must be string, number or Buffer")}function ii(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 di(this,o,t,a,!0)};_.prototype.lastIndexOf=function(o,t,a){return di(this,o,t,a,!1)};function Gl(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(cr(d))return m;e[t+m]=d}return m}function Hl(e,o,t,a){return Xn(ar(o,e.length-t),e,t,a)}function Vl(e,o,t,a){return Xn(e_(o),e,t,a)}function $l(e,o,t,a){return Xn(fi(o),e,t,a)}function ql(e,o,t,a){return Xn(o_(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 Gl(this,o,t,a);case"utf8":case"utf-8":return Hl(this,o,t,a);case"ascii":case"latin1":case"binary":return Vl(this,o,t,a);case"base64":return $l(this,o,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ql(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 jl(e,o,t){return o===0&&t===e.length?nr.fromByteArray(e):nr.fromByteArray(e.slice(o,t))}function li(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 zl(a)}var si=4096;function zl(e){var o=e.length;if(o<=si)return String.fromCharCode.apply(String,e);for(var t="",a=0;a<o;)t+=String.fromCharCode.apply(String,e.slice(a,a+=si));return t}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]&127);return a}function Xl(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 Yl(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+=n_[e[p]];return c}function Zl(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),Mo.read(this,o,!0,23,4)};_.prototype.readFloatBE=function(o,t){return o=o>>>0,t||z(o,4,this.length),Mo.read(this,o,!1,23,4)};_.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Mo.read(this,o,!0,52,8)};_.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Mo.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 _i(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 ui(e,o,t,a,c){return o=+o,t=t>>>0,c||_i(e,o,t,4,34028234663852886e22,-34028234663852886e22),Mo.write(e,o,t,a,23,4),t+4}_.prototype.writeFloatLE=function(o,t,a){return ui(this,o,t,!0,a)};_.prototype.writeFloatBE=function(o,t,a){return ui(this,o,t,!1,a)};function gi(e,o,t,a,c){return o=+o,t=t>>>0,c||_i(e,o,t,8,17976931348623157e292,-17976931348623157e292),Mo.write(e,o,t,a,52,8),t+8}_.prototype.writeDoubleLE=function(o,t,a){return gi(this,o,t,!0,a)};_.prototype.writeDoubleBE=function(o,t,a){return gi(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 Jl=/[^+/0-9A-Za-z-_]/g;function Ql(e){if(e=e.split("=")[0],e=e.trim().replace(Jl,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function ar(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 e_(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function o_(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 fi(e){return nr.toByteArray(Ql(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 cr(e){return e!==e}var n_=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 bi=b((Sy,Si)=>{n();var U=Si.exports={},ke,Le;function pr(){throw new Error("setTimeout has not been defined")}function mr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ke=setTimeout:ke=pr}catch(e){ke=pr}try{typeof clearTimeout=="function"?Le=clearTimeout:Le=mr}catch(e){Le=mr}})();function hi(e){if(ke===setTimeout)return setTimeout(e,0);if((ke===pr||!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 t_(e){if(Le===clearTimeout)return clearTimeout(e);if((Le===mr||!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=[],Wo=!1,fo,Yn=-1;function r_(){!Wo||!fo||(Wo=!1,fo.length?Be=fo.concat(Be):Yn=-1,Be.length&&xi())}function xi(){if(!Wo){var e=hi(r_);Wo=!0;for(var o=Be.length;o;){for(fo=Be,Be=[];++Yn<o;)fo&&fo[Yn].run();Yn=-1,o=Be.length}fo=null,Wo=!1,t_(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 yi(e,o)),Be.length===1&&!Wo&&hi(xi)};function yi(e,o){this.fun=e,this.array=o}yi.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,a_,i,n=y(()=>{r=h(Ti()),s=h(bi()),a_=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=a_});var wi=y(()=>{"use strict";n()});var vi,Ue,Ai,dr,Ii,ki,Zn,Pe=y(()=>{"use strict";n();vi="error when signing",Ue="Transaction canceled",Ai="error signing transaction",dr="provider not initialized",Ii="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",ki="Undefined transaction status",Zn="You cannot sign transactions from a different account"});var Li=y(()=>{"use strict";n()});var lr,Pi=y(()=>{"use strict";n();lr=(a=>(a.SetGuardian="SetGuardian",a.GuardAccount="GuardAccount",a.UnGuardAccount="UnGuardAccount",a))(lr||{})});var Ei=y(()=>{"use strict";n()});var _r=y(()=>{"use strict";n()});var Ci=y(()=>{"use strict";n()});var ur,gr=y(()=>{"use strict";n();ur=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(ur||{})});var Ni=y(()=>{"use strict";n()});var Ri=y(()=>{"use strict";n()});var ne,Bo,oo=y(()=>{"use strict";n();ne=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Bo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Di,Ry,Mi,Dy,R=y(()=>{"use strict";n();oo();Di=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(Di||{}),Ry=u(u({},Bo.WindowProviderRequestEnums),Di),Mi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Mi||{}),Dy=u(u({},Bo.WindowProviderResponseEnums),Mi)});var Oi=y(()=>{"use strict";n()});var Wi=y(()=>{"use strict";n()});var se=y(()=>{"use strict";n()});var Bi=y(()=>{"use strict";n()});var Fi=y(()=>{"use strict";n()});var Ui=y(()=>{"use strict";n()});var O=y(()=>{"use strict";n();gr();Ni();Ri();R();Oi();Wi();se();Bi();Fi();Ui()});var To,Gi,Zy,Hi,Jy,Vi,Qy,eS,$i,Fo=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:Gi,egldLabel:Zy}=To["devnet"],{chainId:Hi,egldLabel:Jy}=To["testnet"],{chainId:Vi,egldLabel:Qy}=To["mainnet"],eS={["devnet"]:Gi,["testnet"]:Hi,["mainnet"]:Vi},$i={[Gi]:"devnet",[Hi]:"testnet",[Vi]:"mainnet"}});var qi,fn=y(()=>{"use strict";n();qi="cancel-transaction-toast"});var Ee,ji=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 zi,Ki,fr,iS,sS,Tr=y(()=>{"use strict";n();ho();fr=String((Ki=(zi=Ce.safeWindow)==null?void 0:zi.navigator)==null?void 0:Ki.userAgent),iS=/^((?!chrome|android).)*safari/i.test(fr),sS=/firefox/i.test(fr)&&/windows/i.test(fr)});var Jn,Qn,Xi,Yi,Ne,et,Zi,ot,Ji,Uo,k=y(()=>{"use strict";n();wi();Pe();Li();Pi();Ei();_r();Ci();Fo();fn();ji();Tr();Jn=5e4,Qn=1e9,Xi=1,Yi="/dapp/init",Ne="signSession",et="sdk-dapp-version",Zi="4.5.0",ot="logout",Ji="login",Uo="0"});var Tn,nt=y(()=>{"use strict";n();Tn=()=>Date.now()/1e3});var Qi=y(()=>{"use strict";n()});var es=y(()=>{"use strict";n()});var hr=y(()=>{"use strict";n();nt();Qi();es()});var xr={};_e(xr,{clear:()=>p_,getItem:()=>s_,localStorageKeys:()=>Ge,removeItem:()=>c_,setItem:()=>i_});var Ge,tt,i_,s_,c_,p_,xo=y(()=>{"use strict";n();hr();Ge={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},tt=typeof localStorage!="undefined",i_=({key:e,data:o,expires:t})=>{!tt||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},s_=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:Tn()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},c_=e=>{!tt||localStorage.removeItem(String(e))},p_=()=>{!tt||localStorage.clear()}});var yr={};_e(yr,{clear:()=>rs,getItem:()=>ns,removeItem:()=>ts,sessionStorageKeys:()=>m_,setItem:()=>os,storage:()=>d_});var m_,os,ns,ts,rs,d_,as=y(()=>{"use strict";n();m_={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},os=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},ns=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},ts=e=>sessionStorage.removeItem(String(e)),rs=()=>sessionStorage.clear(),d_={setItem:os,getItem:ns,removeItem:ts,clear:rs}});var no,yo=y(()=>{"use strict";n();xo();as();no={session:yr,local:xr}});var Sr,M,ce,W=y(()=>{"use strict";n();Sr=require("@reduxjs/toolkit");k();M=(0,Sr.createAction)(ot),ce=(0,Sr.createAction)(Ji,e=>({payload:e}))});var wr,is,ss,Te,br,cs,Se,to,vr,BS,l_,__,FS,US,GS,u_,g_,rt,at=y(()=>{"use strict";n();wr=require("@multiversx/sdk-core"),is=require("@reduxjs/toolkit"),ss=require("redux-persist");k();yo();xo();W();Te={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Uo},br={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Te},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},cs=(0,is.createSlice)({name:"accountInfoSlice",initialState:br,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new wr.Address(t).toHex():""},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),br)),e.addCase(ce,(o,t)=>{let{address:a}=t.payload;o.address=a,o.publicKey=new wr.Address(a).toHex()}),e.addCase(ss.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:br.accounts,o.publicKey=d})}}),{setAccount:Se,setAddress:to,setAccountNonce:vr,setAccountShard:BS,setLedgerAccount:l_,updateLedgerAccount:__,setWalletConnectAccount:FS,setIsAccountLoading:US,setAccountLoadingError:GS,setWebsocketEvent:u_,setWebsocketBatchEvent:g_}=cs.actions,rt=cs.reducer});function hn(){return new Date().setHours(new Date().getHours()+24)}function xn(e){no.local.setItem({key:Ge.loginExpiresAt,data:e,expires:e})}var Ar=y(()=>{"use strict";n();yo();xo()});var ms,ps,ds,ZS,f_,T_,Ir,JS,h_,ls,QS,eb,ob,it,st=y(()=>{"use strict";n();ms=require("@reduxjs/toolkit");Ar();R();W();ps={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},ds=(0,ms.createSlice)({name:"loginInfoSlice",initialState:ps,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,()=>ps),e.addCase(ce,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,xn(hn())})}}),{setLoginMethod:ZS,setWalletConnectLogin:f_,setLedgerLogin:T_,setTokenLogin:Ir,setTokenLoginSignature:JS,setWalletLogin:h_,invalidateLoginSession:ls,setLogoutRoute:QS,setIsWalletConnectV2Initialized:eb,setWebviewLogin:ob}=ds.actions,it=ds.reducer});var us,_s,gs,ab,x_,ib,y_,ct,pt=y(()=>{"use strict";n();us=require("@reduxjs/toolkit");W();_s={},gs=(0,us.createSlice)({name:"modalsSlice",initialState:_s,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,()=>_s)}}),{setTxSubmittedModal:ab,setNotificationModal:x_,clearTxSubmittedModal:ib,clearNotificationModal:y_}=gs.actions,ct=gs.reducer});var He,Go=y(()=>{"use strict";n();He=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,J=y(()=>{"use strict";n();Go();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 fs=y(()=>{"use strict";n();J()});var Ve,Ts=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 hs=y(()=>{"use strict";n();ho()});var Q=y(()=>{"use strict";n();fs();Ts();J();hs()});var yn=y(()=>{"use strict";n();Q()});var ys=y(()=>{"use strict";n();yn()});function Ss(e){return e[Math.floor(Math.random()*e.length)]}var bs=y(()=>{"use strict";n()});var kr=y(()=>{"use strict";n();_r()});var $e=y(()=>{"use strict";n();ys();bs();kr()});var ws,vs,As,Lr,b_,Is,Fb,Ub,ks,mt,dt=y(()=>{"use strict";n();ws=require("@reduxjs/toolkit"),vs=h(require("lodash.omit")),As=require("redux-persist");fn();W();$e();Lr={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},b_={network:Lr},Is=(0,ws.createSlice)({name:"appConfig",initialState:b_,reducers:{initializeNetworkConfig:(e,o)=>{let t=Ss(o.payload.walletConnectV2RelayAddresses),a=(0,vs.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(As.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:Fb,updateNetworkConfig:Ub,setCustomWalletAddress:ks}=Is.actions,mt=Is.reducer});var Ls,Pr,Ps,jb,zb,Kb,lt,_t=y(()=>{"use strict";n();Ls=require("@reduxjs/toolkit");O();W();Pr={isSigning:!1,signedSessions:{}},Ps=(0,Ls.createSlice)({name:"signedMessageInfoSliceState",initialState:Pr,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:()=>Pr},extraReducers:e=>{e.addCase(M,()=>Pr)}}),{setSignSession:jb,clearSignedMessageInfo:zb,setSignSessionState:Kb}=Ps.actions,lt=Ps.reducer});var Cs,Ns,Es,Rs,Er,w_,o0,v_,ut,gt=y(()=>{"use strict";n();Cs=require("@reduxjs/toolkit"),Ns=require("redux-persist");O();nt();W();Es={customToasts:[],transactionToasts:[]},Rs=(0,Cs.createSlice)({name:"toastsSlice",initialState:Es,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:Tn(),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,()=>Es),e.addCase(Ns.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:Er,removeCustomToast:w_,addTransactionToast:o0,removeTransactionToast:v_}=Rs.actions,ut=Rs.reducer});var Ds,Nr,Rr,Dr,A_,Cr,Ms,a0,I_,Ho,ft,Tt=y(()=>{"use strict";n();Ds=require("@reduxjs/toolkit");W();Nr="Transaction failed",Rr="Transaction successful",Dr="Processing transaction",A_="Transaction submitted",Cr={},Ms=(0,Ds.createSlice)({name:"transactionsInfo",initialState:Cr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:a}=o.payload;t!=null&&(e[t]={errorMessage:(a==null?void 0:a.errorMessage)||Nr,successMessage:(a==null?void 0:a.successMessage)||Rr,processingMessage:(a==null?void 0:a.processingMessage)||Dr,submittedMessage:(a==null?void 0:a.submittedMessage)||A_,transactionDuration:a==null?void 0:a.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Cr},extraReducers:e=>{e.addCase(M,()=>Cr)}}),{clearTransactionsInfo:a0,setTransactionsDisplayInfo:I_,clearTransactionsInfoForSessionId:Ho}=Ms.actions,ft=Ms.reducer});function $o(e){return e!=null&&(O_(e)||G_(e))}function qo(e){return e!=null&&(W_(e)||H_(e))}function jo(e){return e!=null&&(B_(e)||V_(e))}function Os(e){return e!=null&&(F_(e)||$_(e))}function Mr(e){return e!=null&&U_(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)}function $_(e){return e!=null&&M_.includes(e)}var k_,L_,P_,E_,C_,N_,R_,D_,M_,zo=y(()=>{"use strict";n();R();k_=["sent"],L_=["success"],P_=["fail","cancelled","timedOut"],E_=["invalid"],C_=["timedOut"],N_=["pending"],R_=["success"],D_=["fail","invalid"],M_=["not executed"]});var Ws,Bs,Sn,q_,Fs,Us,Gs,j_,ao,z_,K_,u0,X_,qe,io,g0,ht,xt=y(()=>{"use strict";n();Ws=require("@reduxjs/toolkit"),Bs=require("redux-persist");R();zo();W();Sn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},q_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Fs=(0,Ws.createSlice)({name:"transactionsSlice",initialState:Sn,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({},q_),((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=Sn.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=>qo(B.status)),re=(E=(I=e.signedTransactions[t])==null?void 0:I.transactions)==null?void 0:E.some(B=>jo(B.status)),xe=(D=($=e.signedTransactions[t])==null?void 0:$.transactions)==null?void 0:D.every(B=>Os(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=Sn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Sn.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,()=>Sn),e.addCase(Bs.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:Us,updateSignedTransactions:Gs,setTransactionsToSign:j_,clearAllTransactionsToSign:ao,clearAllSignedTransactions:z_,clearSignedTransaction:K_,clearTransactionToSign:u0,setSignTransactionsError:X_,setSignTransactionsCancelMessage:qe,moveTransactionsToSignedState:io,updateSignedTransactionsCustomTransactionInformation:g0}=Fs.actions,ht=Fs.reducer});var Hs,Or,Vs,x0,y0,Y_,S0,yt,St=y(()=>{"use strict";n();Hs=require("@reduxjs/toolkit");W();Or={},Vs=(0,Hs.createSlice)({name:"batchTransactionsSlice",initialState:Or,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:()=>Or},extraReducers:e=>{e.addCase(M,()=>Or)}}),{setBatchTransactions:x0,updateBatchTransactions:y0,clearBatchTransactions:Y_,clearAllBatchTransactions:S0}=Vs.actions,yt=Vs.reducer});var qs,$s,js,A0,zs,Wr=y(()=>{"use strict";n();qs=require("@reduxjs/toolkit");W();$s={},js=(0,qs.createSlice)({name:"dappConfigSlice",initialState:$s,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(M,()=>$s)}}),{setDappConfig:A0}=js.actions,zs=js.reducer});var P=y(()=>{"use strict";n();at();st();pt();dt();_t();gt();Tt();xt();St();Wr()});var Br=y(()=>{"use strict";n()});var Ys,eu,ou,bn,Fr=y(()=>{"use strict";n();Ys=require("@reduxjs/toolkit");Br();at();St();Wr();st();pt();dt();_t();gt();Tt();xt();eu={["account"]:rt,["dappConfig"]:zs,["loginInfo"]:it,["modals"]:ct,["networkConfig"]:mt,["signedMessageInfo"]:lt,["toasts"]:ut,["transactionsInfo"]:ft,["transactions"]:ht,["batchTransactions"]:yt},ou=(e={})=>(0,Ys.combineReducers)(u(u({},eu),e)),bn=ou});var ec={};_e(ec,{default:()=>Tu,sessionStorageReducers:()=>Ur});function je(e,o=[]){return{key:e,version:1,storage:Js.default,blacklist:o}}var pe,Zs,Js,nu,wn,tu,ru,au,iu,su,cu,pu,mu,du,lu,Qs,_u,Ur,uu,gu,fu,Tu,oc=y(()=>{"use strict";n();pe=require("redux-persist"),Zs=h(require("redux-persist/lib/storage")),Js=h(require("redux-persist/lib/storage/session"));Fr();P();at();St();st();pt();dt();_t();gt();Tt();xt();Br();nu={persistReducersStorageType:"localStorage"},wn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},tu=je(wn["account"]),ru=je(wn["loginInfo"]),au=je(wn["modals"]),iu=je(wn["networkConfig"]),su={2:e=>w(u({},e),{networkConfig:Lr})};cu=je("sdk-dapp-transactionsInfo"),pu=je("sdk-dapp-transactions",["transactionsToSign"]),mu=je("sdk-dapp-batchTransactions",["batchTransactions"]),du=je("sdk-dapp-toasts"),lu=je("sdk-dapp-signedMessageInfo"),Qs={key:"sdk-dapp-store",version:2,storage:Zs.default,whitelist:Object.keys(wn),migrate:(0,pe.createMigrate)(su,{debug:!1})},_u=w(u({},Qs),{whitelist:[]}),Ur={["toasts"]:(0,pe.persistReducer)(du,ut),["transactions"]:(0,pe.persistReducer)(pu,ht),["transactionsInfo"]:(0,pe.persistReducer)(cu,ft),["batchTransactions"]:(0,pe.persistReducer)(mu,yt),["signedMessageInfo"]:(0,pe.persistReducer)(lu,lt)},uu=w(u({},Ur),{["account"]:(0,pe.persistReducer)(tu,rt),["loginInfo"]:(0,pe.persistReducer)(ru,it),["modals"]:(0,pe.persistReducer)(au,ct),["networkConfig"]:(0,pe.persistReducer)(iu,mt)}),gu=nu.persistReducersStorageType==="localStorage",fu=gu?(0,pe.persistReducer)(Qs,bn(Ur)):(0,pe.persistReducer)(_u,bn(uu)),Tu=fu});var nc={};_e(nc,{default:()=>hu});var hu,tc=y(()=>{"use strict";n();Fr();hu=bn()});var rc={};_e(rc,{default:()=>yu});var he,xu,yu,ac=y(()=>{"use strict";n();he=require("redux-persist"),xu=[he.FLUSH,he.REHYDRATE,he.PAUSE,he.PERSIST,he.PURGE,he.REGISTER],yu=xu});var cc={};_e(cc,{default:()=>sc});function sc(e){return(0,ic.persistStore)(e)}var ic,pc=y(()=>{"use strict";n();ic=require("redux-persist")});var yp=b((uM,xp)=>{n();var ef=typeof i=="object"&&i&&i.Object===Object&&i;xp.exports=ef});var En=b((gM,Sp)=>{n();var of=yp(),nf=typeof self=="object"&&self&&self.Object===Object&&self,tf=of||nf||Function("return this")();Sp.exports=tf});var ma=b((fM,bp)=>{n();var rf=En(),af=rf.Symbol;bp.exports=af});var Ip=b((TM,Ap)=>{n();var wp=ma(),vp=Object.prototype,sf=vp.hasOwnProperty,cf=vp.toString,Cn=wp?wp.toStringTag:void 0;function pf(e){var o=sf.call(e,Cn),t=e[Cn];try{e[Cn]=void 0;var a=!0}catch(p){}var c=cf.call(e);return a&&(o?e[Cn]=t:delete e[Cn]),c}Ap.exports=pf});var Lp=b((hM,kp)=>{n();var mf=Object.prototype,df=mf.toString;function lf(e){return df.call(e)}kp.exports=lf});var da=b((xM,Cp)=>{n();var Pp=ma(),_f=Ip(),uf=Lp(),gf="[object Null]",ff="[object Undefined]",Ep=Pp?Pp.toStringTag:void 0;function Tf(e){return e==null?e===void 0?ff:gf:Ep&&Ep in Object(e)?_f(e):uf(e)}Cp.exports=Tf});var Rp=b((yM,Np)=>{n();var hf=Array.isArray;Np.exports=hf});var Mp=b((SM,Dp)=>{n();function xf(e){return e!=null&&typeof e=="object"}Dp.exports=xf});var Wp=b((bM,Op)=>{n();var yf=da(),Sf=Rp(),bf=Mp(),wf="[object String]";function vf(e){return typeof e=="string"||!Sf(e)&&bf(e)&&yf(e)==wf}Op.exports=vf});var ua={};_e(ua,{css:()=>Vp,default:()=>Nf});var Vp,Nf,ga=y(()=>{"use strict";n();Vp=`.dapp-core-component__main__link-style {
1
+ "use strict";var Sl=Object.create;var gn=Object.defineProperty,bl=Object.defineProperties,wl=Object.getOwnPropertyDescriptor,vl=Object.getOwnPropertyDescriptors,Al=Object.getOwnPropertyNames,jn=Object.getOwnPropertySymbols,Il=Object.getPrototypeOf,Qt=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable;var Ja=(e,o,t)=>o in e?gn(e,o,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[o]=t,u=(e,o)=>{for(var t in o||(o={}))Qt.call(o,t)&&Ja(e,t,o[t]);if(jn)for(var t of jn(o))Qa.call(o,t)&&Ja(e,t,o[t]);return e},w=(e,o)=>bl(e,vl(o));var eo=(e,o)=>{var t={};for(var a in e)Qt.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&&Qa.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)gn(e,t,{get:o[t],enumerable:!0})},ei=(e,o,t,a)=>{if(o&&typeof o=="object"||typeof o=="function")for(let c of Al(o))!Qt.call(e,c)&&c!==t&&gn(e,c,{get:()=>o[c],enumerable:!(a=wl(o,c))||a.enumerable});return e};var h=(e,o,t)=>(t=e!=null?Sl(Il(e)):{},ei(o||!e||!e.__esModule?gn(t,"default",{value:e,enumerable:!0}):t,e)),oe=e=>ei(gn({},"__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 ti=b(zn=>{"use strict";n();zn.byteLength=Ll;zn.toByteArray=El;zn.fromByteArray=Rl;var Ae=[],fe=[],kl=typeof Uint8Array!="undefined"?Uint8Array:Array,er="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(uo=0,oi=er.length;uo<oi;++uo)Ae[uo]=er[uo],fe[er.charCodeAt(uo)]=uo;var uo,oi;fe["-".charCodeAt(0)]=62;fe["_".charCodeAt(0)]=63;function ni(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 Ll(e){var o=ni(e),t=o[0],a=o[1];return(t+a)*3/4-a}function Pl(e,o,t){return(o+t)*3/4-t}function El(e){var o,t=ni(e),a=t[0],c=t[1],p=new kl(Pl(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 Cl(e){return Ae[e>>18&63]+Ae[e>>12&63]+Ae[e>>6&63]+Ae[e&63]}function Nl(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(Cl(a));return c.join("")}function Rl(e){for(var o,t=e.length,a=t%3,c=[],p=16383,m=0,d=t-a;m<d;m+=p)c.push(Nl(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 ri=b(or=>{n();or.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)};or.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 Ti=b(Oo=>{"use strict";n();var nr=ti(),Mo=ri(),ai=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Oo.Buffer=_;Oo.SlowBuffer=Fl;Oo.INSPECT_MAX_BYTES=50;var Kn=2147483647;Oo.kMaxLength=Kn;_.TYPED_ARRAY_SUPPORT=Dl();!_.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 Dl(){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 ir(e)}return ci(e,o,t)}_.poolSize=8192;function ci(e,o,t){if(typeof e=="string")return Ol(e,o);if(ArrayBuffer.isView(e))return Wl(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 rr(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=Bl(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 ci(e,o,t)};Object.setPrototypeOf(_.prototype,Uint8Array.prototype);Object.setPrototypeOf(_,Uint8Array);function pi(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 Ml(e,o,t){return pi(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 Ml(e,o,t)};function ir(e){return pi(e),We(e<0?0:sr(e)|0)}_.allocUnsafe=function(e){return ir(e)};_.allocUnsafeSlow=function(e){return ir(e)};function Ol(e,o){if((typeof o!="string"||o==="")&&(o="utf8"),!_.isEncoding(o))throw new TypeError("Unknown encoding: "+o);var t=mi(e,o)|0,a=We(t),c=a.write(e,o);return c!==t&&(a=a.slice(0,c)),a}function tr(e){for(var o=e.length<0?0:sr(e.length)|0,t=We(o),a=0;a<o;a+=1)t[a]=e[a]&255;return t}function Wl(e){if(Ie(e,Uint8Array)){var o=new Uint8Array(e);return rr(o.buffer,o.byteOffset,o.byteLength)}return tr(e)}function rr(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 Bl(e){if(_.isBuffer(e)){var o=sr(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"||cr(e.length)?We(0):tr(e);if(e.type==="Buffer"&&Array.isArray(e.data))return tr(e.data)}function sr(e){if(e>=Kn)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Kn.toString(16)+" bytes");return e|0}function Fl(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 mi(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 ar(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return fi(e).length;default:if(c)return a?-1:ar(e).length;o=(""+o).toLowerCase(),c=!0}}_.byteLength=mi;function Ul(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 Yl(this,o,t);case"utf8":case"utf-8":return li(this,o,t);case"ascii":return Kl(this,o,t);case"latin1":case"binary":return Xl(this,o,t);case"base64":return jl(this,o,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zl(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?li(this,0,o):Ul.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=Oo.INSPECT_MAX_BYTES;return o=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(o+=" ... "),"<Buffer "+o+">"};ai&&(_.prototype[ai]=_.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 di(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,cr(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:ii(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):ii(e,[o],t,a,c);throw new TypeError("val must be string, number or Buffer")}function ii(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 di(this,o,t,a,!0)};_.prototype.lastIndexOf=function(o,t,a){return di(this,o,t,a,!1)};function Gl(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(cr(d))return m;e[t+m]=d}return m}function Hl(e,o,t,a){return Xn(ar(o,e.length-t),e,t,a)}function Vl(e,o,t,a){return Xn(e_(o),e,t,a)}function $l(e,o,t,a){return Xn(fi(o),e,t,a)}function ql(e,o,t,a){return Xn(o_(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 Gl(this,o,t,a);case"utf8":case"utf-8":return Hl(this,o,t,a);case"ascii":case"latin1":case"binary":return Vl(this,o,t,a);case"base64":return $l(this,o,t,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ql(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 jl(e,o,t){return o===0&&t===e.length?nr.fromByteArray(e):nr.fromByteArray(e.slice(o,t))}function li(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 zl(a)}var si=4096;function zl(e){var o=e.length;if(o<=si)return String.fromCharCode.apply(String,e);for(var t="",a=0;a<o;)t+=String.fromCharCode.apply(String,e.slice(a,a+=si));return t}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]&127);return a}function Xl(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 Yl(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+=n_[e[p]];return c}function Zl(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),Mo.read(this,o,!0,23,4)};_.prototype.readFloatBE=function(o,t){return o=o>>>0,t||z(o,4,this.length),Mo.read(this,o,!1,23,4)};_.prototype.readDoubleLE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Mo.read(this,o,!0,52,8)};_.prototype.readDoubleBE=function(o,t){return o=o>>>0,t||z(o,8,this.length),Mo.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 _i(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 ui(e,o,t,a,c){return o=+o,t=t>>>0,c||_i(e,o,t,4,34028234663852886e22,-34028234663852886e22),Mo.write(e,o,t,a,23,4),t+4}_.prototype.writeFloatLE=function(o,t,a){return ui(this,o,t,!0,a)};_.prototype.writeFloatBE=function(o,t,a){return ui(this,o,t,!1,a)};function gi(e,o,t,a,c){return o=+o,t=t>>>0,c||_i(e,o,t,8,17976931348623157e292,-17976931348623157e292),Mo.write(e,o,t,a,52,8),t+8}_.prototype.writeDoubleLE=function(o,t,a){return gi(this,o,t,!0,a)};_.prototype.writeDoubleBE=function(o,t,a){return gi(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 Jl=/[^+/0-9A-Za-z-_]/g;function Ql(e){if(e=e.split("=")[0],e=e.trim().replace(Jl,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function ar(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 e_(e){for(var o=[],t=0;t<e.length;++t)o.push(e.charCodeAt(t)&255);return o}function o_(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 fi(e){return nr.toByteArray(Ql(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 cr(e){return e!==e}var n_=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 bi=b((Sy,Si)=>{n();var U=Si.exports={},ke,Le;function pr(){throw new Error("setTimeout has not been defined")}function mr(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?ke=setTimeout:ke=pr}catch(e){ke=pr}try{typeof clearTimeout=="function"?Le=clearTimeout:Le=mr}catch(e){Le=mr}})();function hi(e){if(ke===setTimeout)return setTimeout(e,0);if((ke===pr||!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 t_(e){if(Le===clearTimeout)return clearTimeout(e);if((Le===mr||!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=[],Wo=!1,fo,Yn=-1;function r_(){!Wo||!fo||(Wo=!1,fo.length?Be=fo.concat(Be):Yn=-1,Be.length&&xi())}function xi(){if(!Wo){var e=hi(r_);Wo=!0;for(var o=Be.length;o;){for(fo=Be,Be=[];++Yn<o;)fo&&fo[Yn].run();Yn=-1,o=Be.length}fo=null,Wo=!1,t_(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 yi(e,o)),Be.length===1&&!Wo&&hi(xi)};function yi(e,o){this.fun=e,this.array=o}yi.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,a_,i,n=y(()=>{r=h(Ti()),s=h(bi()),a_=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=a_});var wi=y(()=>{"use strict";n()});var vi,Ue,Ai,dr,Ii,ki,Zn,Pe=y(()=>{"use strict";n();vi="error when signing",Ue="Transaction canceled",Ai="error signing transaction",dr="provider not initialized",Ii="You need a signer/valid signer to send a transaction,use either WalletProvider, LedgerProvider or WalletConnect",ki="Undefined transaction status",Zn="You cannot sign transactions from a different account"});var Li=y(()=>{"use strict";n()});var lr,Pi=y(()=>{"use strict";n();lr=(a=>(a.SetGuardian="SetGuardian",a.GuardAccount="GuardAccount",a.UnGuardAccount="UnGuardAccount",a))(lr||{})});var Ei=y(()=>{"use strict";n()});var _r=y(()=>{"use strict";n()});var Ci=y(()=>{"use strict";n()});var ur,gr=y(()=>{"use strict";n();ur=(c=>(c.signature="signature",c.sessionId="sessionId",c.status="status",c.address="address",c))(ur||{})});var Ni=y(()=>{"use strict";n()});var Ri=y(()=>{"use strict";n()});var ne,Bo,oo=y(()=>{"use strict";n();ne=require("@multiversx/sdk-web-wallet-cross-window-provider/out/CrossWindowProvider/CrossWindowProvider"),Bo=require("@multiversx/sdk-web-wallet-cross-window-provider/out/enums")});var Di,Ry,Mi,Dy,R=y(()=>{"use strict";n();oo();Di=(t=>(t.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",t.reloginRequest="RELOGIN_REQUEST",t))(Di||{}),Ry=u(u({},Bo.WindowProviderRequestEnums),Di),Mi=(o=>(o.reloginResponse="RELOGIN_RESPONSE",o))(Mi||{}),Dy=u(u({},Bo.WindowProviderResponseEnums),Mi)});var Oi=y(()=>{"use strict";n()});var Wi=y(()=>{"use strict";n()});var se=y(()=>{"use strict";n()});var Bi=y(()=>{"use strict";n()});var Fi=y(()=>{"use strict";n()});var Ui=y(()=>{"use strict";n()});var O=y(()=>{"use strict";n();gr();Ni();Ri();R();Oi();Wi();se();Bi();Fi();Ui()});var To,Gi,Zy,Hi,Jy,Vi,Qy,eS,$i,Fo=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:Gi,egldLabel:Zy}=To["devnet"],{chainId:Hi,egldLabel:Jy}=To["testnet"],{chainId:Vi,egldLabel:Qy}=To["mainnet"],eS={["devnet"]:Gi,["testnet"]:Hi,["mainnet"]:Vi},$i={[Gi]:"devnet",[Hi]:"testnet",[Vi]:"mainnet"}});var qi,fn=y(()=>{"use strict";n();qi="cancel-transaction-toast"});var Ee,ji=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 zi,Ki,fr,iS,sS,Tr=y(()=>{"use strict";n();ho();fr=String((Ki=(zi=Ce.safeWindow)==null?void 0:zi.navigator)==null?void 0:Ki.userAgent),iS=/^((?!chrome|android).)*safari/i.test(fr),sS=/firefox/i.test(fr)&&/windows/i.test(fr)});var Jn,Qn,Xi,Yi,Ne,et,Zi,ot,Ji,Uo,k=y(()=>{"use strict";n();wi();Pe();Li();Pi();Ei();_r();Ci();Fo();fn();ji();Tr();Jn=5e4,Qn=1e9,Xi=1,Yi="/dapp/init",Ne="signSession",et="sdk-dapp-version",Zi="4.5.1",ot="logout",Ji="login",Uo="0"});var Tn,nt=y(()=>{"use strict";n();Tn=()=>Date.now()/1e3});var Qi=y(()=>{"use strict";n()});var es=y(()=>{"use strict";n()});var hr=y(()=>{"use strict";n();nt();Qi();es()});var xr={};_e(xr,{clear:()=>p_,getItem:()=>s_,localStorageKeys:()=>Ge,removeItem:()=>c_,setItem:()=>i_});var Ge,tt,i_,s_,c_,p_,xo=y(()=>{"use strict";n();hr();Ge={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event",guardianBreachToastDismissTimestamp:"sdk-dapp-guardian-breach-toast-dismiss-timestamp"},tt=typeof localStorage!="undefined",i_=({key:e,data:o,expires:t})=>{!tt||localStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},s_=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:Tn()>=t.expires?(localStorage.removeItem(String(e)),null):t.data},c_=e=>{!tt||localStorage.removeItem(String(e))},p_=()=>{!tt||localStorage.clear()}});var yr={};_e(yr,{clear:()=>rs,getItem:()=>ns,removeItem:()=>ts,sessionStorageKeys:()=>m_,setItem:()=>os,storage:()=>d_});var m_,os,ns,ts,rs,d_,as=y(()=>{"use strict";n();m_={address:"address",shard:"shard",toasts:"toasts",toastProgress:"toastProgress"},os=({key:e,data:o,expires:t})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:t,data:o}))},ns=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},ts=e=>sessionStorage.removeItem(String(e)),rs=()=>sessionStorage.clear(),d_={setItem:os,getItem:ns,removeItem:ts,clear:rs}});var no,yo=y(()=>{"use strict";n();xo();as();no={session:yr,local:xr}});var Sr,M,ce,W=y(()=>{"use strict";n();Sr=require("@reduxjs/toolkit");k();M=(0,Sr.createAction)(ot),ce=(0,Sr.createAction)(Ji,e=>({payload:e}))});var wr,is,ss,Te,br,cs,Se,to,vr,BS,l_,__,FS,US,GS,u_,g_,rt,at=y(()=>{"use strict";n();wr=require("@multiversx/sdk-core"),is=require("@reduxjs/toolkit"),ss=require("redux-persist");k();yo();xo();W();Te={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Uo},br={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Te},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},cs=(0,is.createSlice)({name:"accountInfoSlice",initialState:br,reducers:{setAddress:(e,o)=>{let t=o.payload;e.address=t,e.publicKey=t?new wr.Address(t).toHex():""},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),br)),e.addCase(ce,(o,t)=>{let{address:a}=t.payload;o.address=a,o.publicKey=new wr.Address(a).toHex()}),e.addCase(ss.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:br.accounts,o.publicKey=d})}}),{setAccount:Se,setAddress:to,setAccountNonce:vr,setAccountShard:BS,setLedgerAccount:l_,updateLedgerAccount:__,setWalletConnectAccount:FS,setIsAccountLoading:US,setAccountLoadingError:GS,setWebsocketEvent:u_,setWebsocketBatchEvent:g_}=cs.actions,rt=cs.reducer});function hn(){return new Date().setHours(new Date().getHours()+24)}function xn(e){no.local.setItem({key:Ge.loginExpiresAt,data:e,expires:e})}var Ar=y(()=>{"use strict";n();yo();xo()});var ms,ps,ds,ZS,f_,T_,Ir,JS,h_,ls,QS,eb,ob,it,st=y(()=>{"use strict";n();ms=require("@reduxjs/toolkit");Ar();R();W();ps={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,passkeyLogin:null,operaLogin:null,crossWindowLogin:null,iframeWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},ds=(0,ms.createSlice)({name:"loginInfoSlice",initialState:ps,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,()=>ps),e.addCase(ce,(o,t)=>{o.isLoginSessionInvalid=!1,o.loginMethod=t.payload.loginMethod,o.iframeLoginType=t.payload.iframeLoginType,xn(hn())})}}),{setLoginMethod:ZS,setWalletConnectLogin:f_,setLedgerLogin:T_,setTokenLogin:Ir,setTokenLoginSignature:JS,setWalletLogin:h_,invalidateLoginSession:ls,setLogoutRoute:QS,setIsWalletConnectV2Initialized:eb,setWebviewLogin:ob}=ds.actions,it=ds.reducer});var us,_s,gs,ab,x_,ib,y_,ct,pt=y(()=>{"use strict";n();us=require("@reduxjs/toolkit");W();_s={},gs=(0,us.createSlice)({name:"modalsSlice",initialState:_s,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,()=>_s)}}),{setTxSubmittedModal:ab,setNotificationModal:x_,clearTxSubmittedModal:ib,clearNotificationModal:y_}=gs.actions,ct=gs.reducer});var He,Go=y(()=>{"use strict";n();He=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined"});var N,J=y(()=>{"use strict";n();Go();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 fs=y(()=>{"use strict";n();J()});var Ve,Ts=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 hs=y(()=>{"use strict";n();ho()});var Q=y(()=>{"use strict";n();fs();Ts();J();hs()});var yn=y(()=>{"use strict";n();Q()});var ys=y(()=>{"use strict";n();yn()});function Ss(e){return e[Math.floor(Math.random()*e.length)]}var bs=y(()=>{"use strict";n()});var kr=y(()=>{"use strict";n();_r()});var $e=y(()=>{"use strict";n();ys();bs();kr()});var ws,vs,As,Lr,b_,Is,Fb,Ub,ks,mt,dt=y(()=>{"use strict";n();ws=require("@reduxjs/toolkit"),vs=h(require("lodash.omit")),As=require("redux-persist");fn();W();$e();Lr={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},b_={network:Lr},Is=(0,ws.createSlice)({name:"appConfig",initialState:b_,reducers:{initializeNetworkConfig:(e,o)=>{let t=Ss(o.payload.walletConnectV2RelayAddresses),a=(0,vs.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(As.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:Fb,updateNetworkConfig:Ub,setCustomWalletAddress:ks}=Is.actions,mt=Is.reducer});var Ls,Pr,Ps,jb,zb,Kb,lt,_t=y(()=>{"use strict";n();Ls=require("@reduxjs/toolkit");O();W();Pr={isSigning:!1,signedSessions:{}},Ps=(0,Ls.createSlice)({name:"signedMessageInfoSliceState",initialState:Pr,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:()=>Pr},extraReducers:e=>{e.addCase(M,()=>Pr)}}),{setSignSession:jb,clearSignedMessageInfo:zb,setSignSessionState:Kb}=Ps.actions,lt=Ps.reducer});var Cs,Ns,Es,Rs,Er,w_,o0,v_,ut,gt=y(()=>{"use strict";n();Cs=require("@reduxjs/toolkit"),Ns=require("redux-persist");O();nt();W();Es={customToasts:[],transactionToasts:[]},Rs=(0,Cs.createSlice)({name:"toastsSlice",initialState:Es,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:Tn(),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,()=>Es),e.addCase(Ns.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:Er,removeCustomToast:w_,addTransactionToast:o0,removeTransactionToast:v_}=Rs.actions,ut=Rs.reducer});var Ds,Nr,Rr,Dr,A_,Cr,Ms,a0,I_,Ho,ft,Tt=y(()=>{"use strict";n();Ds=require("@reduxjs/toolkit");W();Nr="Transaction failed",Rr="Transaction successful",Dr="Processing transaction",A_="Transaction submitted",Cr={},Ms=(0,Ds.createSlice)({name:"transactionsInfo",initialState:Cr,reducers:{setTransactionsDisplayInfo(e,o){let{sessionId:t,transactionsDisplayInfo:a}=o.payload;t!=null&&(e[t]={errorMessage:(a==null?void 0:a.errorMessage)||Nr,successMessage:(a==null?void 0:a.successMessage)||Rr,processingMessage:(a==null?void 0:a.processingMessage)||Dr,submittedMessage:(a==null?void 0:a.submittedMessage)||A_,transactionDuration:a==null?void 0:a.transactionDuration})},clearTransactionsInfoForSessionId(e,o){o.payload!=null&&delete e[o.payload]},clearTransactionsInfo:()=>Cr},extraReducers:e=>{e.addCase(M,()=>Cr)}}),{clearTransactionsInfo:a0,setTransactionsDisplayInfo:I_,clearTransactionsInfoForSessionId:Ho}=Ms.actions,ft=Ms.reducer});function $o(e){return e!=null&&(O_(e)||G_(e))}function qo(e){return e!=null&&(W_(e)||H_(e))}function jo(e){return e!=null&&(B_(e)||V_(e))}function Os(e){return e!=null&&(F_(e)||$_(e))}function Mr(e){return e!=null&&U_(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)}function $_(e){return e!=null&&M_.includes(e)}var k_,L_,P_,E_,C_,N_,R_,D_,M_,zo=y(()=>{"use strict";n();R();k_=["sent"],L_=["success"],P_=["fail","cancelled","timedOut"],E_=["invalid"],C_=["timedOut"],N_=["pending"],R_=["success"],D_=["fail","invalid"],M_=["not executed"]});var Ws,Bs,Sn,q_,Fs,Us,Gs,j_,ao,z_,K_,u0,X_,qe,io,g0,ht,xt=y(()=>{"use strict";n();Ws=require("@reduxjs/toolkit"),Bs=require("redux-persist");R();zo();W();Sn={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},q_={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Fs=(0,Ws.createSlice)({name:"transactionsSlice",initialState:Sn,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({},q_),((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=Sn.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=>qo(B.status)),re=(E=(I=e.signedTransactions[t])==null?void 0:I.transactions)==null?void 0:E.some(B=>jo(B.status)),xe=(D=($=e.signedTransactions[t])==null?void 0:$.transactions)==null?void 0:D.every(B=>Os(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=Sn.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Sn.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,()=>Sn),e.addCase(Bs.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:Us,updateSignedTransactions:Gs,setTransactionsToSign:j_,clearAllTransactionsToSign:ao,clearAllSignedTransactions:z_,clearSignedTransaction:K_,clearTransactionToSign:u0,setSignTransactionsError:X_,setSignTransactionsCancelMessage:qe,moveTransactionsToSignedState:io,updateSignedTransactionsCustomTransactionInformation:g0}=Fs.actions,ht=Fs.reducer});var Hs,Or,Vs,x0,y0,Y_,S0,yt,St=y(()=>{"use strict";n();Hs=require("@reduxjs/toolkit");W();Or={},Vs=(0,Hs.createSlice)({name:"batchTransactionsSlice",initialState:Or,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:()=>Or},extraReducers:e=>{e.addCase(M,()=>Or)}}),{setBatchTransactions:x0,updateBatchTransactions:y0,clearBatchTransactions:Y_,clearAllBatchTransactions:S0}=Vs.actions,yt=Vs.reducer});var qs,$s,js,A0,zs,Wr=y(()=>{"use strict";n();qs=require("@reduxjs/toolkit");W();$s={},js=(0,qs.createSlice)({name:"dappConfigSlice",initialState:$s,reducers:{setDappConfig:(e,o)=>o.payload},extraReducers:e=>{e.addCase(M,()=>$s)}}),{setDappConfig:A0}=js.actions,zs=js.reducer});var P=y(()=>{"use strict";n();at();st();pt();dt();_t();gt();Tt();xt();St();Wr()});var Br=y(()=>{"use strict";n()});var Ys,eu,ou,bn,Fr=y(()=>{"use strict";n();Ys=require("@reduxjs/toolkit");Br();at();St();Wr();st();pt();dt();_t();gt();Tt();xt();eu={["account"]:rt,["dappConfig"]:zs,["loginInfo"]:it,["modals"]:ct,["networkConfig"]:mt,["signedMessageInfo"]:lt,["toasts"]:ut,["transactionsInfo"]:ft,["transactions"]:ht,["batchTransactions"]:yt},ou=(e={})=>(0,Ys.combineReducers)(u(u({},eu),e)),bn=ou});var ec={};_e(ec,{default:()=>Tu,sessionStorageReducers:()=>Ur});function je(e,o=[]){return{key:e,version:1,storage:Js.default,blacklist:o}}var pe,Zs,Js,nu,wn,tu,ru,au,iu,su,cu,pu,mu,du,lu,Qs,_u,Ur,uu,gu,fu,Tu,oc=y(()=>{"use strict";n();pe=require("redux-persist"),Zs=h(require("redux-persist/lib/storage")),Js=h(require("redux-persist/lib/storage/session"));Fr();P();at();St();st();pt();dt();_t();gt();Tt();xt();Br();nu={persistReducersStorageType:"localStorage"},wn={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},tu=je(wn["account"]),ru=je(wn["loginInfo"]),au=je(wn["modals"]),iu=je(wn["networkConfig"]),su={2:e=>w(u({},e),{networkConfig:Lr})};cu=je("sdk-dapp-transactionsInfo"),pu=je("sdk-dapp-transactions",["transactionsToSign"]),mu=je("sdk-dapp-batchTransactions",["batchTransactions"]),du=je("sdk-dapp-toasts"),lu=je("sdk-dapp-signedMessageInfo"),Qs={key:"sdk-dapp-store",version:2,storage:Zs.default,whitelist:Object.keys(wn),migrate:(0,pe.createMigrate)(su,{debug:!1})},_u=w(u({},Qs),{whitelist:[]}),Ur={["toasts"]:(0,pe.persistReducer)(du,ut),["transactions"]:(0,pe.persistReducer)(pu,ht),["transactionsInfo"]:(0,pe.persistReducer)(cu,ft),["batchTransactions"]:(0,pe.persistReducer)(mu,yt),["signedMessageInfo"]:(0,pe.persistReducer)(lu,lt)},uu=w(u({},Ur),{["account"]:(0,pe.persistReducer)(tu,rt),["loginInfo"]:(0,pe.persistReducer)(ru,it),["modals"]:(0,pe.persistReducer)(au,ct),["networkConfig"]:(0,pe.persistReducer)(iu,mt)}),gu=nu.persistReducersStorageType==="localStorage",fu=gu?(0,pe.persistReducer)(Qs,bn(Ur)):(0,pe.persistReducer)(_u,bn(uu)),Tu=fu});var nc={};_e(nc,{default:()=>hu});var hu,tc=y(()=>{"use strict";n();Fr();hu=bn()});var rc={};_e(rc,{default:()=>yu});var he,xu,yu,ac=y(()=>{"use strict";n();he=require("redux-persist"),xu=[he.FLUSH,he.REHYDRATE,he.PAUSE,he.PERSIST,he.PURGE,he.REGISTER],yu=xu});var cc={};_e(cc,{default:()=>sc});function sc(e){return(0,ic.persistStore)(e)}var ic,pc=y(()=>{"use strict";n();ic=require("redux-persist")});var yp=b((uM,xp)=>{n();var ef=typeof i=="object"&&i&&i.Object===Object&&i;xp.exports=ef});var En=b((gM,Sp)=>{n();var of=yp(),nf=typeof self=="object"&&self&&self.Object===Object&&self,tf=of||nf||Function("return this")();Sp.exports=tf});var ma=b((fM,bp)=>{n();var rf=En(),af=rf.Symbol;bp.exports=af});var Ip=b((TM,Ap)=>{n();var wp=ma(),vp=Object.prototype,sf=vp.hasOwnProperty,cf=vp.toString,Cn=wp?wp.toStringTag:void 0;function pf(e){var o=sf.call(e,Cn),t=e[Cn];try{e[Cn]=void 0;var a=!0}catch(p){}var c=cf.call(e);return a&&(o?e[Cn]=t:delete e[Cn]),c}Ap.exports=pf});var Lp=b((hM,kp)=>{n();var mf=Object.prototype,df=mf.toString;function lf(e){return df.call(e)}kp.exports=lf});var da=b((xM,Cp)=>{n();var Pp=ma(),_f=Ip(),uf=Lp(),gf="[object Null]",ff="[object Undefined]",Ep=Pp?Pp.toStringTag:void 0;function Tf(e){return e==null?e===void 0?ff:gf:Ep&&Ep in Object(e)?_f(e):uf(e)}Cp.exports=Tf});var Rp=b((yM,Np)=>{n();var hf=Array.isArray;Np.exports=hf});var Mp=b((SM,Dp)=>{n();function xf(e){return e!=null&&typeof e=="object"}Dp.exports=xf});var Wp=b((bM,Op)=>{n();var yf=da(),Sf=Rp(),bf=Mp(),wf="[object String]";function vf(e){return typeof e=="string"||!Sf(e)&&bf(e)&&yf(e)==wf}Op.exports=vf});var ua={};_e(ua,{css:()=>Vp,default:()=>Nf});var Vp,Nf,ga=y(()=>{"use strict";n();Vp=`.dapp-core-component__main__link-style {
2
2
  color: #1392ff;
3
3
  }
4
4