@multiversx/sdk-dapp 2.38.1-alpha.1 → 2.38.1-alpha.2

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 (1085) 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/SignTransactionsModals/SignTransactionsModals.js +1 -1
  14. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/SignWithCrossWindowWalletModal.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithCrossWindowWalletModal/index.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/ConfirmAmountData.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountData/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/ConfirmAmountLabel.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountLabel/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithMetamaskModal/SignWithMetamaskModal.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithMetamaskModal/index.js +1 -1
  45. package/UI/SignTransactionsModals/SignWithMetamaskProxyModal/SignWithMetamaskProxyModal.js +1 -1
  46. package/UI/SignTransactionsModals/SignWithMetamaskProxyModal/index.js +1 -1
  47. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  48. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  49. package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
  50. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  51. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  52. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  53. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  54. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  55. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  56. package/UI/SignTransactionsModals/components/index.js +1 -1
  57. package/UI/SignTransactionsModals/index.js +1 -1
  58. package/UI/TokenDetails/index.js +1 -1
  59. package/UI/TransactionData/TransactionData.js +1 -1
  60. package/UI/TransactionData/index.js +1 -1
  61. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  62. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  63. package/UI/TransactionDetails/components/index.js +1 -1
  64. package/UI/TransactionDetails/index.js +1 -1
  65. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  66. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  67. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  68. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  69. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  70. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  71. package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
  72. package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
  73. package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
  74. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  75. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  76. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  77. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  78. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  79. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  80. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  81. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  82. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  83. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  84. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  85. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  86. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  87. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  88. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  89. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  90. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  91. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  92. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  93. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  94. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  95. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  96. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  97. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  98. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  99. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  100. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  101. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  102. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  103. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  104. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  105. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  106. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  107. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  108. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  109. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  110. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  111. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  112. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  113. package/UI/TransactionInfo/components/index.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  122. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  123. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  131. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  134. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  135. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  136. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  137. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  138. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  139. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  140. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  141. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  142. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  143. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  144. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  145. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  146. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  147. package/UI/TransactionInfo/index.js +1 -1
  148. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  149. package/UI/TransactionsTable/components/AccountName.js +1 -1
  150. package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
  151. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  152. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  153. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  154. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  155. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  156. package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
  157. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  158. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  159. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  160. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  161. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  162. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  163. package/UI/TransactionsTable/components/index.js +1 -1
  164. package/UI/TransactionsTable/index.js +1 -1
  165. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  166. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  167. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  168. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  169. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  170. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  171. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  172. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  173. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  174. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  175. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  176. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  177. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  178. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  179. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  180. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  181. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  182. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  183. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  184. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  185. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  186. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  187. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  188. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  189. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  190. package/UI/TransactionsToastList/components/index.js +1 -1
  191. package/UI/TransactionsToastList/index.js +1 -1
  192. package/UI/Trim/Trim.js +1 -1
  193. package/UI/Trim/index.js +1 -1
  194. package/UI/UsdValue/UsdValue.js +1 -1
  195. package/UI/UsdValue/index.js +1 -1
  196. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  197. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  198. package/UI/index.js +1 -1
  199. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  200. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  201. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  202. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  203. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  204. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  205. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  206. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
  207. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
  208. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  209. package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
  210. package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
  211. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  212. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  213. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  214. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  215. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  216. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  217. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  218. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  219. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  220. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  221. package/UI/ledger/index.js +1 -1
  222. package/UI/metamask/MetamaskLoginButton/MetamaskLoginButton.js +1 -1
  223. package/UI/metamask/MetamaskLoginButton/index.js +1 -1
  224. package/UI/metamaskProxy/MetamaskProxyLoginButton/MetamaskProxyButton.js +1 -1
  225. package/UI/metamaskProxy/MetamaskProxyLoginButton/index.js +1 -1
  226. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  227. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  228. package/UI/pages/UnlockPage/index.js +1 -1
  229. package/UI/pages/index.js +1 -1
  230. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  231. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  232. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  233. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  234. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  235. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  236. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  237. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  238. package/UI/walletConnect/index.js +1 -1
  239. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  240. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  241. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  242. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  243. package/UI/webWallet/XaliasCrossWindowLoginButton/XaliasCrossWindowLoginButton.js +1 -1
  244. package/UI/webWallet/XaliasCrossWindowLoginButton/index.js +1 -1
  245. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  246. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  247. package/__chunks__/chunk-25ONWZV3.js +2 -0
  248. package/__chunks__/{chunk-UVW43JTP.js → chunk-2A3OOO4N.js} +2 -2
  249. package/__chunks__/{chunk-QAE2QX2I.js → chunk-2KBILVBP.js} +2 -2
  250. package/__chunks__/chunk-2LZQZV6T.js +2 -0
  251. package/__chunks__/{chunk-YS4BB3WI.js → chunk-2NIPW24L.js} +2 -2
  252. package/__chunks__/{chunk-77IGYVJY.js → chunk-2NSN26TH.js} +2 -2
  253. package/__chunks__/{chunk-AW3P44VD.js → chunk-2QIMN7EA.js} +2 -2
  254. package/__chunks__/{chunk-KF5NQSQP.js → chunk-2TNGJ23Z.js} +2 -2
  255. package/__chunks__/chunk-2XHD6T57.js +2 -0
  256. package/__chunks__/{chunk-5QUDLTVY.js → chunk-334WX6O3.js} +2 -2
  257. package/__chunks__/{chunk-6I5HHMDP.js → chunk-377D4Y6P.js} +2 -2
  258. package/__chunks__/{chunk-BACF4TMO.js → chunk-37FNY4AD.js} +2 -2
  259. package/__chunks__/{chunk-IYQ52O3I.js → chunk-3E24I2YQ.js} +2 -2
  260. package/__chunks__/{chunk-KOKVKIKU.js → chunk-3GXJYKHZ.js} +2 -2
  261. package/__chunks__/{chunk-LVNXGFKU.js → chunk-3K5QWNBO.js} +2 -2
  262. package/__chunks__/{chunk-QAMHCADN.js → chunk-3UCLRDEE.js} +2 -2
  263. package/__chunks__/{chunk-2TEBOHE5.js → chunk-3YUD7SXH.js} +2 -2
  264. package/__chunks__/{chunk-O5Y5Y67Q.js → chunk-3Z6EMFV2.js} +2 -2
  265. package/__chunks__/chunk-42MX672P.js +2 -0
  266. package/__chunks__/{chunk-GGSYV7LB.js → chunk-4BGBEYTB.js} +2 -2
  267. package/__chunks__/{chunk-F542MKCU.js → chunk-4BLQM6RD.js} +2 -2
  268. package/__chunks__/{chunk-HALDRIKD.js → chunk-4BSNKW7K.js} +2 -2
  269. package/__chunks__/{chunk-RRXYXHRZ.js → chunk-4BWE4OVW.js} +2 -2
  270. package/__chunks__/{chunk-3APJNLJK.js → chunk-4CAZFQRQ.js} +2 -2
  271. package/__chunks__/{chunk-GYWAS4V7.js → chunk-4G7IMJUN.js} +2 -2
  272. package/__chunks__/{chunk-DBWZHSCN.js → chunk-4H6HHTGW.js} +2 -2
  273. package/__chunks__/{chunk-ZNZID5SD.js → chunk-4LGXF7Y4.js} +2 -2
  274. package/__chunks__/{chunk-UJJVNOF2.js → chunk-4PZP6U5I.js} +2 -2
  275. package/__chunks__/{chunk-VGQ2YSZH.js → chunk-4S3FP6JL.js} +2 -2
  276. package/__chunks__/{chunk-V4SRXP3T.js → chunk-4VALQR5B.js} +2 -2
  277. package/__chunks__/{chunk-AL5XHZ2U.js → chunk-4VR5XZ73.js} +2 -2
  278. package/__chunks__/{chunk-4ZTT5OYY.js → chunk-4WG65CBQ.js} +2 -2
  279. package/__chunks__/{chunk-IPZXOD7N.js → chunk-4YUBQMGV.js} +2 -2
  280. package/__chunks__/chunk-55F7NN3S.js +2 -0
  281. package/__chunks__/{chunk-NO6XXY3B.js → chunk-57OXPOPV.js} +2 -2
  282. package/__chunks__/{chunk-RIPPDT75.js → chunk-57SFKXD6.js} +2 -2
  283. package/__chunks__/{chunk-RFMMECAT.js → chunk-57WFFPUJ.js} +2 -2
  284. package/__chunks__/{chunk-R5GPFABR.js → chunk-5BPNXNME.js} +2 -2
  285. package/__chunks__/{chunk-3O274UD2.js → chunk-5CLFZFKR.js} +2 -2
  286. package/__chunks__/{chunk-SCZUPWQM.js → chunk-5CVFQATZ.js} +2 -2
  287. package/__chunks__/{chunk-I7EZXIQ2.js → chunk-5F74LPEE.js} +2 -2
  288. package/__chunks__/chunk-5GGMWJQY.js +2 -0
  289. package/__chunks__/{chunk-IMIFRJSU.js → chunk-5H37FDFI.js} +2 -2
  290. package/__chunks__/chunk-5K7LTNIX.js +2 -0
  291. package/__chunks__/{chunk-VDGC6MKD.js → chunk-5PTO3OMZ.js} +2 -2
  292. package/__chunks__/{chunk-UZQHQWKT.js → chunk-5R25CR6H.js} +2 -2
  293. package/__chunks__/{chunk-MLYF4FZT.js → chunk-5ROD3CWT.js} +2 -2
  294. package/__chunks__/{chunk-4532UP56.js → chunk-5SFQC42Y.js} +2 -2
  295. package/__chunks__/chunk-64BHWALL.js +2 -0
  296. package/__chunks__/{chunk-4NO6VCQ5.js → chunk-64GSDGPL.js} +2 -2
  297. package/__chunks__/chunk-64OKYPRN.js +2 -0
  298. package/__chunks__/{chunk-UQWKMU76.js → chunk-64ZVG7CY.js} +2 -2
  299. package/__chunks__/{chunk-WIINEKTU.js → chunk-6ACKIDAI.js} +2 -2
  300. package/__chunks__/chunk-6BTTI33M.js +2 -0
  301. package/__chunks__/{chunk-B2NOH53Y.js → chunk-6CBK72WF.js} +2 -2
  302. package/__chunks__/{chunk-6RQ7VNTO.js → chunk-6CWSMG4U.js} +2 -2
  303. package/__chunks__/{chunk-45MICGHL.js → chunk-6EVQ7XOI.js} +2 -2
  304. package/__chunks__/{chunk-7FPT772H.js → chunk-6FQBNOV5.js} +2 -2
  305. package/__chunks__/{chunk-MBPEHWKN.js → chunk-6LD3BWLP.js} +2 -2
  306. package/__chunks__/chunk-6RLGJ42T.js +2 -0
  307. package/__chunks__/{chunk-DQMGVIQY.js → chunk-6SWH5D44.js} +2 -2
  308. package/__chunks__/{chunk-F5J5SZ6U.js → chunk-6VOHYVOG.js} +2 -2
  309. package/__chunks__/{chunk-BJRN4GCT.js → chunk-72EUQY4V.js} +2 -2
  310. package/__chunks__/{chunk-74WSGSPA.js → chunk-76F4VLB5.js} +2 -2
  311. package/__chunks__/{chunk-JYQSFGDG.js → chunk-7EKMGDOK.js} +2 -2
  312. package/__chunks__/chunk-7HH4ZUYP.js +2 -0
  313. package/__chunks__/{chunk-6GZQXKKP.js → chunk-7O7SVFV4.js} +2 -2
  314. package/__chunks__/chunk-7R2QNBH6.js +2 -0
  315. package/__chunks__/chunk-7RFEXF75.js +2 -0
  316. package/__chunks__/{chunk-VOULDEW6.js → chunk-7TRJXA5X.js} +2 -2
  317. package/__chunks__/{chunk-SXQGRKKN.js → chunk-7UG4ZGYG.js} +2 -2
  318. package/__chunks__/{chunk-RJFZ2ZAG.js → chunk-7UTFZX7S.js} +2 -2
  319. package/__chunks__/{chunk-PS5OLCVD.js → chunk-7YEBE7DP.js} +2 -2
  320. package/__chunks__/{chunk-ZWN5N7RD.js → chunk-A2LF4UUO.js} +2 -2
  321. package/__chunks__/chunk-A2VVPYTH.js +2 -0
  322. package/__chunks__/{chunk-SSC5QKGX.js → chunk-A7S3UL3M.js} +2 -2
  323. package/__chunks__/{chunk-I6O733I4.js → chunk-AC77W52F.js} +2 -2
  324. package/__chunks__/{chunk-LKYUEF5X.js → chunk-ADGU3NYQ.js} +2 -2
  325. package/__chunks__/{chunk-Q7DHQD52.js → chunk-AFDSBE7E.js} +2 -2
  326. package/__chunks__/{chunk-3TBLOHW2.js → chunk-ALBUHGFU.js} +2 -2
  327. package/__chunks__/{chunk-V65QHBEM.js → chunk-AO636GH7.js} +2 -2
  328. package/__chunks__/{chunk-GGK4GRDZ.js → chunk-AOOGOFWR.js} +2 -2
  329. package/__chunks__/{chunk-YQ3CL4HT.js → chunk-ASPF6WFC.js} +2 -2
  330. package/__chunks__/{chunk-YRLJRPEH.js → chunk-ASU3JS26.js} +2 -2
  331. package/__chunks__/{chunk-Z5WSW2RI.js → chunk-ATS33IZA.js} +2 -2
  332. package/__chunks__/chunk-AVMOJPGK.js +2 -0
  333. package/__chunks__/{chunk-TXI3TAS7.js → chunk-AXFWQ323.js} +2 -2
  334. package/__chunks__/{chunk-2XNAPH2G.js → chunk-AYJMXZTY.js} +2 -2
  335. package/__chunks__/{chunk-5JZLYVUE.js → chunk-B2XBO6J7.js} +2 -2
  336. package/__chunks__/{chunk-ZYG7H2C5.js → chunk-B3NALJL3.js} +2 -2
  337. package/__chunks__/chunk-BFNMSQSZ.js +2 -0
  338. package/__chunks__/{chunk-TLIOQGNF.js → chunk-BGENICOG.js} +2 -2
  339. package/__chunks__/{chunk-FUHJVNTO.js → chunk-BII77MYK.js} +2 -2
  340. package/__chunks__/{chunk-7BOJVVO6.js → chunk-BMT5DX4S.js} +2 -2
  341. package/__chunks__/{chunk-GHYNSO5S.js → chunk-BPBM3SZP.js} +2 -2
  342. package/__chunks__/{chunk-EOWCAK4X.js → chunk-C3Q74FNK.js} +2 -2
  343. package/__chunks__/{chunk-HUYBBECK.js → chunk-C3W2OC7P.js} +2 -2
  344. package/__chunks__/{chunk-JIVDJCJR.js → chunk-C6WY5M7E.js} +2 -2
  345. package/__chunks__/chunk-CBUKBPBN.js +2 -0
  346. package/__chunks__/{chunk-UYQATNAW.js → chunk-CI4U22RB.js} +2 -2
  347. package/__chunks__/{chunk-DV3NKQH7.js → chunk-CIB45TY5.js} +2 -2
  348. package/__chunks__/chunk-CK3N34LI.js +2 -0
  349. package/__chunks__/{chunk-GKW6OD2Z.js → chunk-CO7NDIWJ.js} +2 -2
  350. package/__chunks__/{chunk-7OKD5EXC.js → chunk-CPPO4BO6.js} +2 -2
  351. package/__chunks__/{chunk-OX3T35EN.js → chunk-CRCMKVOE.js} +2 -2
  352. package/__chunks__/chunk-CYYQ2EPG.js +2 -0
  353. package/__chunks__/{chunk-DH242RQG.js → chunk-D2MMWBDZ.js} +2 -2
  354. package/__chunks__/{chunk-VL6TZUKH.js → chunk-D7LI7EOY.js} +2 -2
  355. package/__chunks__/{chunk-WTS6EQVW.js → chunk-DBCEW46F.js} +2 -2
  356. package/__chunks__/{chunk-HYN6QKJ4.js → chunk-DBMZD7TQ.js} +2 -2
  357. package/__chunks__/{chunk-HLHIKDIM.js → chunk-DE7GN3TT.js} +2 -2
  358. package/__chunks__/{chunk-U4E25A42.js → chunk-DIPR3EVQ.js} +2 -2
  359. package/__chunks__/{chunk-ORU2ZC7X.js → chunk-DOWTGNNF.js} +2 -2
  360. package/__chunks__/{chunk-SNMLPRE5.js → chunk-DPSYNXWL.js} +2 -2
  361. package/__chunks__/{chunk-EGJVF2EB.js → chunk-DR3GKR3S.js} +2 -2
  362. package/__chunks__/chunk-DRSK26QN.js +2 -0
  363. package/__chunks__/{chunk-XSAZTF3E.js → chunk-DWYFS7YA.js} +2 -2
  364. package/__chunks__/{chunk-OAJWGA6J.js → chunk-DX6MXOL3.js} +2 -2
  365. package/__chunks__/chunk-E2DVYVFL.js +2 -0
  366. package/__chunks__/{chunk-ZHD5OA4B.js → chunk-E4RJANC6.js} +2 -2
  367. package/__chunks__/{chunk-CPHA2PYU.js → chunk-E4VMFULQ.js} +2 -2
  368. package/__chunks__/{chunk-V4PXI5AW.js → chunk-E6RMSDGP.js} +2 -2
  369. package/__chunks__/{chunk-HYAXG4WF.js → chunk-EAJF3LOQ.js} +2 -2
  370. package/__chunks__/{chunk-2BN2GIOS.js → chunk-EBL4F6EG.js} +2 -2
  371. package/__chunks__/chunk-EEUP6SQL.js +2 -0
  372. package/__chunks__/{chunk-LCNEHLPG.js → chunk-EI4M3YNV.js} +2 -2
  373. package/__chunks__/chunk-EJY2WU2T.js +2 -0
  374. package/__chunks__/{chunk-55GCUERG.js → chunk-EPU2S4NS.js} +2 -2
  375. package/__chunks__/{chunk-UELCKWMT.js → chunk-EQ7JSMKL.js} +2 -2
  376. package/__chunks__/{chunk-JGNG3BZZ.js → chunk-EXF6JCAS.js} +2 -2
  377. package/__chunks__/{chunk-IAD2HOAO.js → chunk-F2VSNGKP.js} +2 -2
  378. package/__chunks__/{chunk-YMIM5HZU.js → chunk-F3SCLSHV.js} +2 -2
  379. package/__chunks__/{chunk-KT5ZGPMN.js → chunk-F622Q4WG.js} +2 -2
  380. package/__chunks__/chunk-FDCTVCCL.js +2 -0
  381. package/__chunks__/{chunk-Y3PV5ZKU.js → chunk-FDKBWYTB.js} +2 -2
  382. package/__chunks__/{chunk-CD3CPTHP.js → chunk-FJKUQCOD.js} +2 -2
  383. package/__chunks__/{chunk-6TWPFLGB.js → chunk-FWSQESPG.js} +2 -2
  384. package/__chunks__/chunk-G4JUZ6ZV.js +2 -0
  385. package/__chunks__/{chunk-ZQVTKOB7.js → chunk-G5HESV24.js} +2 -2
  386. package/__chunks__/chunk-G64JHCEP.js +2 -0
  387. package/__chunks__/chunk-G653YYXG.js +2 -0
  388. package/__chunks__/{chunk-QE4J7WNW.js → chunk-G67HBKAM.js} +2 -2
  389. package/__chunks__/{chunk-Y5YN66ZM.js → chunk-GGCF6MCD.js} +2 -2
  390. package/__chunks__/{chunk-SQL4D5SJ.js → chunk-GM4WOP3D.js} +2 -2
  391. package/__chunks__/{chunk-DK7ASQKB.js → chunk-GNJ5XM4X.js} +2 -2
  392. package/__chunks__/{chunk-HF6N63PN.js → chunk-GO2ZDGAQ.js} +2 -2
  393. package/__chunks__/{chunk-CZ6GQ7OP.js → chunk-GQW5H33I.js} +2 -2
  394. package/__chunks__/{chunk-C2EOMFFG.js → chunk-GR7SKQTT.js} +2 -2
  395. package/__chunks__/{chunk-ONOLWZ55.js → chunk-GREPLCAU.js} +2 -2
  396. package/__chunks__/chunk-GSVWLVPH.js +2 -0
  397. package/__chunks__/{chunk-ZJHZLWLP.js → chunk-GVZCDPSU.js} +2 -2
  398. package/__chunks__/{chunk-DZUQSQJC.js → chunk-H5Z33SMT.js} +2 -2
  399. package/__chunks__/{chunk-T7TLDQQM.js → chunk-H6NIROGY.js} +2 -2
  400. package/__chunks__/{chunk-HW64BUNG.js → chunk-HAJ6WC45.js} +2 -2
  401. package/__chunks__/{chunk-ZSPIPZH4.js → chunk-HEV32P3T.js} +2 -2
  402. package/__chunks__/{chunk-63YEMGRV.js → chunk-HJOCOWHY.js} +2 -2
  403. package/__chunks__/{chunk-YQ7Q3UO2.js → chunk-HYLRSP34.js} +2 -2
  404. package/__chunks__/chunk-I3W6QJGL.js +2 -0
  405. package/__chunks__/{chunk-5XL4MKTV.js → chunk-I3YDBPLE.js} +2 -2
  406. package/__chunks__/chunk-I6EPBIXX.js +2 -0
  407. package/__chunks__/{chunk-ZLRZLINX.js → chunk-I6PHK6EZ.js} +2 -2
  408. package/__chunks__/{chunk-7S7AJZBG.js → chunk-IACFRPXB.js} +2 -2
  409. package/__chunks__/{chunk-74IRUNXU.js → chunk-IHDSJSAF.js} +2 -2
  410. package/__chunks__/{chunk-MS63MM74.js → chunk-IKRY7BAV.js} +2 -2
  411. package/__chunks__/chunk-IKVFBSKP.js +2 -0
  412. package/__chunks__/{chunk-TJPTLBVO.js → chunk-IWH754PM.js} +2 -2
  413. package/__chunks__/{chunk-JDSLDQYY.js → chunk-IYNM4XCP.js} +2 -2
  414. package/__chunks__/{chunk-ZUPVYE33.js → chunk-IZ4L6YPR.js} +2 -2
  415. package/__chunks__/chunk-IZR3MD5I.js +2 -0
  416. package/__chunks__/{chunk-YETUJKNY.js → chunk-J5RC5FOI.js} +2 -2
  417. package/__chunks__/{chunk-QALBKVT2.js → chunk-JALFN6WM.js} +2 -2
  418. package/__chunks__/{chunk-GBFY546A.js → chunk-JEHMSMO2.js} +2 -2
  419. package/__chunks__/{chunk-SBBFPMW4.js → chunk-JFC3UEZC.js} +2 -2
  420. package/__chunks__/{chunk-WHMVNDZ7.js → chunk-JGEHKKCH.js} +2 -2
  421. package/__chunks__/{chunk-WOXES4SE.js → chunk-JLVJEWGI.js} +2 -2
  422. package/__chunks__/{chunk-WZJR6U36.js → chunk-JXEAX4VM.js} +2 -2
  423. package/__chunks__/chunk-JYKPCMVJ.js +2 -0
  424. package/__chunks__/{chunk-I7R7VBQN.js → chunk-K3OG7MQM.js} +2 -2
  425. package/__chunks__/{chunk-DYA4BHPN.js → chunk-K7UTI2NA.js} +2 -2
  426. package/__chunks__/chunk-KC4XJ5AH.js +2 -0
  427. package/__chunks__/{chunk-4PGLIZK3.js → chunk-KEZEYBSU.js} +2 -2
  428. package/__chunks__/{chunk-7EA2KGSK.js → chunk-KG3PV2YV.js} +2 -2
  429. package/__chunks__/{chunk-ZHO7WZDD.js → chunk-KPTSOEKT.js} +2 -2
  430. package/__chunks__/{chunk-JBMRJD3U.js → chunk-KSVNY63E.js} +2 -2
  431. package/__chunks__/{chunk-SBYCT2MO.js → chunk-KT2USGB2.js} +2 -2
  432. package/__chunks__/chunk-KT5RRFJS.js +2 -0
  433. package/__chunks__/{chunk-BPDKFUZP.js → chunk-KVQGMANS.js} +2 -2
  434. package/__chunks__/{chunk-2VBBPK4E.js → chunk-L47LF4QT.js} +2 -2
  435. package/__chunks__/chunk-L5FU5MHG.js +2 -0
  436. package/__chunks__/{chunk-ZGFCWHWH.js → chunk-LGF5FN36.js} +2 -2
  437. package/__chunks__/{chunk-TRE7RNOF.js → chunk-LHB2JQTW.js} +2 -2
  438. package/__chunks__/{chunk-4XBC5W2B.js → chunk-LI7Q7BYH.js} +2 -2
  439. package/__chunks__/{chunk-R7C77BLV.js → chunk-LIFMIKHQ.js} +2 -2
  440. package/__chunks__/{chunk-CEATH2VD.js → chunk-LKTSVK5C.js} +2 -2
  441. package/__chunks__/{chunk-DVVWEADA.js → chunk-LPCM3UFK.js} +2 -2
  442. package/__chunks__/{chunk-E5BCAOXF.js → chunk-LPYPYPVB.js} +2 -2
  443. package/__chunks__/{chunk-6YUF54YB.js → chunk-LRENECQC.js} +2 -2
  444. package/__chunks__/chunk-LSZOIFVE.js +2 -0
  445. package/__chunks__/chunk-LYZAXA4R.js +2 -0
  446. package/__chunks__/{chunk-RPGSJCVE.js → chunk-M57SBHEH.js} +2 -2
  447. package/__chunks__/{chunk-UCWACLHR.js → chunk-M5SWFZ7X.js} +2 -2
  448. package/__chunks__/{chunk-35XITYXP.js → chunk-MDF4BEOL.js} +2 -2
  449. package/__chunks__/chunk-MRLBS4QM.js +2 -0
  450. package/__chunks__/chunk-MSRHA3BD.js +2 -0
  451. package/__chunks__/{chunk-NN7NMPYL.js → chunk-MZSO7FDC.js} +2 -2
  452. package/__chunks__/{chunk-VWUY66YN.js → chunk-N2UHQG5V.js} +2 -2
  453. package/__chunks__/{chunk-YV6XVIQ6.js → chunk-N2ZJQHPK.js} +2 -2
  454. package/__chunks__/{chunk-Y53GOAF2.js → chunk-N3CCST3N.js} +2 -2
  455. package/__chunks__/{chunk-HFE2NNRQ.js → chunk-NCNKHB5C.js} +2 -2
  456. package/__chunks__/{chunk-24EKLZVH.js → chunk-NJ6MU2EU.js} +2 -2
  457. package/__chunks__/chunk-NNFDBY7D.js +2 -0
  458. package/__chunks__/{chunk-3XKQJT3Q.js → chunk-NQEXKQ7B.js} +2 -2
  459. package/__chunks__/{chunk-5WBV7V5C.js → chunk-NQWKBYCD.js} +2 -2
  460. package/__chunks__/{chunk-FEC5AZSS.js → chunk-NRGPVOVC.js} +2 -2
  461. package/__chunks__/{chunk-VT23WB4O.js → chunk-OBJ5MLS3.js} +2 -2
  462. package/__chunks__/{chunk-HZDSREVW.js → chunk-OBXVMKUP.js} +1 -1
  463. package/__chunks__/{chunk-K3FVG3VC.js → chunk-OKV44XY7.js} +2 -2
  464. package/__chunks__/chunk-OPHIUK5C.js +2 -0
  465. package/__chunks__/{chunk-FPBPYIFI.js → chunk-OUAANZJZ.js} +2 -2
  466. package/__chunks__/{chunk-Y3VJPFZS.js → chunk-OUUBZVL7.js} +2 -2
  467. package/__chunks__/{chunk-7MCOOH2E.js → chunk-OWTOOSJF.js} +2 -2
  468. package/__chunks__/{chunk-C4UYVG6H.js → chunk-OYRIANVB.js} +2 -2
  469. package/__chunks__/{chunk-CAFBEVOA.js → chunk-PA4TELOT.js} +2 -2
  470. package/__chunks__/{chunk-ZGVVZZNZ.js → chunk-PAUXCIY4.js} +2 -2
  471. package/__chunks__/{chunk-CI3CDAFI.js → chunk-PBPLOFZI.js} +2 -2
  472. package/__chunks__/{chunk-NO2BLAZP.js → chunk-PFLLSLLZ.js} +2 -2
  473. package/__chunks__/{chunk-ABJOAZ4W.js → chunk-PITYHD7S.js} +2 -2
  474. package/__chunks__/{chunk-UCG3KP2Z.js → chunk-PKPVUD5L.js} +2 -2
  475. package/__chunks__/{chunk-BRGHJFL4.js → chunk-PLYJHLE6.js} +2 -2
  476. package/__chunks__/{chunk-36YM4J3O.js → chunk-PMCWQ7AY.js} +2 -2
  477. package/__chunks__/{chunk-2WCSKO6I.js → chunk-PMIP26KN.js} +2 -2
  478. package/__chunks__/{chunk-3LFMJ4J4.js → chunk-PMROE73H.js} +2 -2
  479. package/__chunks__/{chunk-QJEUHRZC.js → chunk-PNQXOSM5.js} +2 -2
  480. package/__chunks__/{chunk-YRLVEGZZ.js → chunk-PR7P2ULH.js} +2 -2
  481. package/__chunks__/chunk-PTRGD3CU.js +2 -0
  482. package/__chunks__/chunk-PXHO3BEJ.js +2 -0
  483. package/__chunks__/chunk-PZVZZFPY.js +2 -0
  484. package/__chunks__/{chunk-6O4TSLEB.js → chunk-Q5KITURU.js} +2 -2
  485. package/__chunks__/{chunk-UYREKEXP.js → chunk-Q5NNBQAV.js} +2 -2
  486. package/__chunks__/{chunk-OJ6ZKEKH.js → chunk-Q5W5AFGS.js} +2 -2
  487. package/__chunks__/chunk-Q627GIUA.js +2 -0
  488. package/__chunks__/chunk-QACG53JG.js +2 -0
  489. package/__chunks__/{chunk-V7AFF4JI.js → chunk-QAT6C25N.js} +2 -2
  490. package/__chunks__/{chunk-TUG7YY33.js → chunk-QCHR5HEG.js} +2 -2
  491. package/__chunks__/{chunk-E63JPJZK.js → chunk-QDAVZ7OA.js} +2 -2
  492. package/__chunks__/chunk-QDHF4SER.js +2 -0
  493. package/__chunks__/{chunk-SSXLVERH.js → chunk-QDV4ZP2M.js} +2 -2
  494. package/__chunks__/{chunk-IAXMRUR5.js → chunk-QGCBUZMI.js} +2 -2
  495. package/__chunks__/{chunk-RKINNYL5.js → chunk-QHAENUJB.js} +2 -2
  496. package/__chunks__/{chunk-EJA6DPVS.js → chunk-QIKU3HHV.js} +2 -2
  497. package/__chunks__/{chunk-UUKOZZQ3.js → chunk-QJKF6GHP.js} +2 -2
  498. package/__chunks__/chunk-QL24CJTQ.js +2 -0
  499. package/__chunks__/{chunk-DM3ARLHC.js → chunk-QMPEJJVN.js} +2 -2
  500. package/__chunks__/{chunk-LOYED3BS.js → chunk-QRM43PJ7.js} +2 -2
  501. package/__chunks__/{chunk-GMRMYYT3.js → chunk-QS2J5Y5S.js} +2 -2
  502. package/__chunks__/chunk-QZONUVAE.js +2 -0
  503. package/__chunks__/chunk-R5ZSOXWN.js +2 -0
  504. package/__chunks__/{chunk-IHYLEJ2Y.js → chunk-RCWJYPHG.js} +2 -2
  505. package/__chunks__/chunk-RFJ5GESB.js +2 -0
  506. package/__chunks__/{chunk-T5LLSLIS.js → chunk-RFV2ZX42.js} +2 -2
  507. package/__chunks__/{chunk-6WYIWDO6.js → chunk-RHLPZKDL.js} +2 -2
  508. package/__chunks__/{chunk-5RHZGVRM.js → chunk-RLA3KS3C.js} +2 -2
  509. package/__chunks__/{chunk-KCY6PM5H.js → chunk-RMRB4PG7.js} +2 -2
  510. package/__chunks__/{chunk-KAPHRPVZ.js → chunk-RQEQNDPR.js} +2 -2
  511. package/__chunks__/{chunk-FW22ZABE.js → chunk-RURHW26N.js} +2 -2
  512. package/__chunks__/{chunk-JGB3LPUJ.js → chunk-RZA2QVJJ.js} +2 -2
  513. package/__chunks__/{chunk-HIUR254L.js → chunk-SAU3GV5S.js} +2 -2
  514. package/__chunks__/{chunk-LFOZOY7D.js → chunk-SCF2X64R.js} +2 -2
  515. package/__chunks__/chunk-SEG5HF52.js +2 -0
  516. package/__chunks__/{chunk-4HXZGUCY.js → chunk-SIWOU7VR.js} +2 -2
  517. package/__chunks__/chunk-SP4QKH32.js +2 -0
  518. package/__chunks__/{chunk-P3DCKAUJ.js → chunk-ST2RCY5I.js} +2 -2
  519. package/__chunks__/{chunk-7MI5MVOV.js → chunk-STH5LUWT.js} +2 -2
  520. package/__chunks__/{chunk-GYPY6DJT.js → chunk-SUJVWOKE.js} +2 -2
  521. package/__chunks__/{chunk-EALKP26X.js → chunk-SUYGYV6S.js} +2 -2
  522. package/__chunks__/{chunk-4V227JGD.js → chunk-SWLNOKJR.js} +2 -2
  523. package/__chunks__/{chunk-2GQOBC7J.js → chunk-SXGN3IUH.js} +2 -2
  524. package/__chunks__/{chunk-CQP4T6OW.js → chunk-SXMVV4S4.js} +2 -2
  525. package/__chunks__/{chunk-74M7H363.js → chunk-SYID4H73.js} +2 -2
  526. package/__chunks__/{chunk-DGO6OSB5.js → chunk-T42QAHB6.js} +2 -2
  527. package/__chunks__/chunk-T55HUATV.js +2 -0
  528. package/__chunks__/{chunk-WP7JGJT6.js → chunk-TCPXGP5C.js} +2 -2
  529. package/__chunks__/{chunk-ZWHTJQU3.js → chunk-TI4J3CAV.js} +2 -2
  530. package/__chunks__/{chunk-FOODUX53.js → chunk-TMIXNEEZ.js} +2 -2
  531. package/__chunks__/{chunk-ZBSSK6EE.js → chunk-TUIBLRVN.js} +2 -2
  532. package/__chunks__/{chunk-24A5WUDO.js → chunk-TW3JWVIN.js} +2 -2
  533. package/__chunks__/chunk-TXGE7LK5.js +2 -0
  534. package/__chunks__/chunk-U2MQ2NIR.js +2 -0
  535. package/__chunks__/{chunk-GO5IJGSN.js → chunk-U6Q5QMWK.js} +2 -2
  536. package/__chunks__/{chunk-QBRKIE2K.js → chunk-UHFUVOIC.js} +2 -2
  537. package/__chunks__/{chunk-ZUTF5TKZ.js → chunk-UIE5UGIX.js} +2 -2
  538. package/__chunks__/{chunk-DHDTIRKF.js → chunk-UMX3Z2Z3.js} +2 -2
  539. package/__chunks__/{chunk-44ILNGCJ.js → chunk-UPEB63DH.js} +2 -2
  540. package/__chunks__/{chunk-PYOG57YQ.js → chunk-UQTM2ZQV.js} +2 -2
  541. package/__chunks__/{chunk-SENC42SX.js → chunk-UXL76O4N.js} +2 -2
  542. package/__chunks__/{chunk-MDZTAYV3.js → chunk-V3PBXWHW.js} +2 -2
  543. package/__chunks__/{chunk-CPOITXSZ.js → chunk-VCLJHKKN.js} +2 -2
  544. package/__chunks__/chunk-VEK7KCUM.js +2 -0
  545. package/__chunks__/{chunk-7QD6A3WA.js → chunk-VFIW3ER2.js} +2 -2
  546. package/__chunks__/{chunk-JXKRW7Q2.js → chunk-VHPWTNZY.js} +2 -2
  547. package/__chunks__/{chunk-5AXQ4E5C.js → chunk-VIHVI5XJ.js} +2 -2
  548. package/__chunks__/{chunk-UF3IVPHW.js → chunk-VINXWKBD.js} +2 -2
  549. package/__chunks__/{chunk-X3G46H4K.js → chunk-VLM35UCP.js} +2 -2
  550. package/__chunks__/chunk-VQBPXNF2.js +2 -0
  551. package/__chunks__/{chunk-XGCL5XNF.js → chunk-VQMFXLQK.js} +2 -2
  552. package/__chunks__/{chunk-M56IOFGM.js → chunk-VQSVDLAN.js} +2 -2
  553. package/__chunks__/{chunk-ZYECSDDT.js → chunk-VSKTYG2D.js} +2 -2
  554. package/__chunks__/{chunk-WO7J73MR.js → chunk-VVOQAMMU.js} +2 -2
  555. package/__chunks__/{chunk-75HYUZKE.js → chunk-VZSENX24.js} +2 -2
  556. package/__chunks__/chunk-W3JGVHNE.js +2 -0
  557. package/__chunks__/{chunk-3O7X7LN3.js → chunk-W5FSOXAZ.js} +2 -2
  558. package/__chunks__/{chunk-VOF2ZG4V.js → chunk-W6ZILZNE.js} +2 -2
  559. package/__chunks__/{chunk-GV72WDLK.js → chunk-W73UU7Y7.js} +2 -2
  560. package/__chunks__/{chunk-SRGHVLIJ.js → chunk-WB4FYIDB.js} +2 -2
  561. package/__chunks__/{chunk-DR3247LH.js → chunk-WB536AFQ.js} +2 -2
  562. package/__chunks__/{chunk-2NFWONSO.js → chunk-WCDQECOZ.js} +2 -2
  563. package/__chunks__/{chunk-7CRWRYXT.js → chunk-WCOEJXIQ.js} +2 -2
  564. package/__chunks__/{chunk-PLXPG432.js → chunk-WDYQ7MCZ.js} +2 -2
  565. package/__chunks__/{chunk-Z6VTM6SV.js → chunk-WEWVNK3P.js} +2 -2
  566. package/__chunks__/{chunk-IFWV76SP.js → chunk-WFMW6BEJ.js} +2 -2
  567. package/__chunks__/{chunk-AIUO5JWY.js → chunk-WFOUUCRH.js} +2 -2
  568. package/__chunks__/chunk-WJEQNUAL.js +2 -0
  569. package/__chunks__/chunk-WKZA3HHK.js +2 -0
  570. package/__chunks__/{chunk-VAIXGPA2.js → chunk-WLJQ5F4Q.js} +2 -2
  571. package/__chunks__/{chunk-YPOQHBKB.js → chunk-WMEDQ4UN.js} +2 -2
  572. package/__chunks__/{chunk-A2EWZWIA.js → chunk-WOE2F5QC.js} +2 -2
  573. package/__chunks__/chunk-WQZOIG6J.js +2 -0
  574. package/__chunks__/{chunk-NO7L5F75.js → chunk-WRQUUQP7.js} +2 -2
  575. package/__chunks__/{chunk-DKKQ4PJR.js → chunk-WVBEDWEP.js} +2 -2
  576. package/__chunks__/chunk-X57YN4T7.js +2 -0
  577. package/__chunks__/{chunk-WID7W5E4.js → chunk-XB52F5LP.js} +2 -2
  578. package/__chunks__/{chunk-BVS3UC7Y.js → chunk-XBTVUOHE.js} +2 -2
  579. package/__chunks__/{chunk-YFU6WUEB.js → chunk-XCCJS4FI.js} +2 -2
  580. package/__chunks__/{chunk-EBENIERS.js → chunk-XE4RMOGX.js} +2 -2
  581. package/__chunks__/{chunk-YMOBP752.js → chunk-XE5BTZIL.js} +2 -2
  582. package/__chunks__/{chunk-R5YLDIFZ.js → chunk-XNMEPYLW.js} +2 -2
  583. package/__chunks__/{chunk-46FDO47N.js → chunk-XP4XFIWP.js} +2 -2
  584. package/__chunks__/chunk-XT3QFIFF.js +2 -0
  585. package/__chunks__/{chunk-HQ67ZLOD.js → chunk-XTFF6G4Q.js} +2 -2
  586. package/__chunks__/{chunk-RGNSDRWU.js → chunk-XU3W2FES.js} +2 -2
  587. package/__chunks__/chunk-XUF4W5KE.js +2 -0
  588. package/__chunks__/chunk-XXD5XRR7.js +2 -0
  589. package/__chunks__/chunk-XZCW7JHJ.js +2 -0
  590. package/__chunks__/{chunk-4D5UWOVI.js → chunk-XZIJNAWV.js} +2 -2
  591. package/__chunks__/{chunk-QPR5I2H4.js → chunk-Y4QS7CQT.js} +2 -2
  592. package/__chunks__/{chunk-YWM62O2B.js → chunk-Y74LAEH5.js} +2 -2
  593. package/__chunks__/{chunk-MCUFKNBQ.js → chunk-YBNFTO5N.js} +2 -2
  594. package/__chunks__/{chunk-NAJ3XHWI.js → chunk-YMPN4N2M.js} +2 -2
  595. package/__chunks__/chunk-YMT4ZUYK.js +2 -0
  596. package/__chunks__/{chunk-EKXGKN5W.js → chunk-YNHECQ3O.js} +2 -2
  597. package/__chunks__/{chunk-GCK3W6HO.js → chunk-YPVIFNXR.js} +2 -2
  598. package/__chunks__/{chunk-YEELKGXG.js → chunk-YRF7TVLD.js} +2 -2
  599. package/__chunks__/{chunk-26MDEIIP.js → chunk-YZYYJF52.js} +2 -2
  600. package/__chunks__/{chunk-H57J7HDK.js → chunk-Z3IAFUDX.js} +2 -2
  601. package/__chunks__/{chunk-MPPXC32I.js → chunk-Z4QCHI6K.js} +2 -2
  602. package/__chunks__/{chunk-4S2JPO6R.js → chunk-Z6O3W5SA.js} +2 -2
  603. package/__chunks__/{chunk-ZYARFROL.js → chunk-ZCIKETKE.js} +2 -2
  604. package/__chunks__/{chunk-Z5QNZWPF.js → chunk-ZDKXRSOJ.js} +2 -2
  605. package/__chunks__/{chunk-A57CFVMI.js → chunk-ZEBB6JN4.js} +2 -2
  606. package/__chunks__/{chunk-XZ36INBS.js → chunk-ZHRMN7JE.js} +2 -2
  607. package/__chunks__/{chunk-O45WIZLC.js → chunk-ZIKUXOGF.js} +2 -2
  608. package/__chunks__/{chunk-RZRO4ZNS.js → chunk-ZK7IKT5K.js} +2 -2
  609. package/__chunks__/{chunk-S3VWIED2.js → chunk-ZLVHNYWH.js} +2 -2
  610. package/__chunks__/{chunk-JSNZD3UN.js → chunk-ZNDF6L3J.js} +2 -2
  611. package/__chunks__/{chunk-QVLXNXDC.js → chunk-ZRGPYVWH.js} +2 -2
  612. package/__chunks__/{chunk-BH5RQMPG.js → chunk-ZUE2JTL5.js} +2 -2
  613. package/__chunks__/chunk-ZX4ZQJIT.js +2 -0
  614. package/__chunks__/{chunk-4SH36YOD.js → chunk-ZY6TBGCN.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/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
  619. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  620. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  621. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  622. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  623. package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +3 -3
  624. package/__commonjs/UI/SignTransactionsModals/SignWithOperaModal/index.js +3 -3
  625. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  626. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  627. package/__commonjs/UI/SignTransactionsModals/index.js +1 -1
  628. package/__commonjs/UI/TransactionData/TransactionData.js +2 -2
  629. package/__commonjs/UI/TransactionData/index.js +2 -2
  630. package/__commonjs/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  631. package/__commonjs/UI/TransactionDetails/components/index.js +1 -1
  632. package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +2 -2
  633. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +2 -2
  634. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +3 -3
  635. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +3 -3
  636. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +11 -11
  637. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +15 -15
  638. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/index.js +11 -11
  639. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  640. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  641. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +3 -3
  642. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +3 -3
  643. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +11 -11
  644. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +11 -11
  645. package/__commonjs/UI/TransactionsTable/components/ShardSpan.js +1 -1
  646. package/__commonjs/UI/TransactionsTable/components/TransactionMethod.js +2 -2
  647. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +4 -4
  648. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +4 -4
  649. package/__commonjs/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  650. package/__commonjs/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +7 -7
  651. package/__commonjs/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  652. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +6 -6
  653. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  654. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/index.js +6 -6
  655. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  656. package/__commonjs/UI/TransactionsToastList/components/TransactionToastGuard.js +7 -7
  657. package/__commonjs/UI/index.js +81 -81
  658. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +14 -14
  659. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +14 -14
  660. package/__commonjs/UI/metamaskProxy/MetamaskProxyLoginButton/MetamaskProxyButton.js +4 -4
  661. package/__commonjs/UI/metamaskProxy/MetamaskProxyLoginButton/index.js +4 -4
  662. package/__commonjs/UI/pages/UnlockPage/index.js +23 -23
  663. package/__commonjs/UI/pages/index.js +23 -23
  664. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +2 -2
  665. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +2 -2
  666. package/__commonjs/__mocks__/index.js +2 -2
  667. package/__commonjs/__mocks__/server.js +1 -1
  668. package/__commonjs/__mocks__/utils/index.js +1 -1
  669. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  670. package/__commonjs/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  671. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +3 -3
  672. package/__commonjs/components/ProviderInitializer/ProviderInitializer.js +1 -1
  673. package/__commonjs/components/ProviderInitializer/index.js +1 -1
  674. package/__commonjs/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  675. package/__commonjs/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  676. package/__commonjs/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  677. package/__commonjs/hooks/account/useGetWebsocketEvent.js +1 -1
  678. package/__commonjs/hooks/index.js +1 -1
  679. package/__commonjs/hooks/login/useMetamaskProxyLogin.js +1 -1
  680. package/__commonjs/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  681. package/__commonjs/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  682. package/__commonjs/hooks/transactions/helpers/buildBatchId.js +1 -1
  683. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  684. package/__commonjs/hooks/transactions/helpers/extractSessionId.js +1 -1
  685. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  686. package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  687. package/__commonjs/hooks/transactions/index.js +1 -1
  688. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  689. package/__commonjs/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  690. package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  691. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  692. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  693. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  694. package/__commonjs/hooks/websocketListener/index.js +1 -1
  695. package/__commonjs/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  696. package/__commonjs/reduxStore/DappProviderContext.js +1 -1
  697. package/__commonjs/reduxStore/slices/batchTransactionsSlice.js +1 -1
  698. package/__commonjs/services/transactions/sendBatchTransactions.test.js +1 -1
  699. package/__commonjs/types/network.types.d.ts +2 -0
  700. package/__commonjs/types/network.types.js +1 -1
  701. package/__commonjs/utils/account/loginWithExternalProvider.js +1 -1
  702. package/__commonjs/utils/account/setNonce.js +1 -1
  703. package/__commonjs/utils/index.js +1 -1
  704. package/__commonjs/utils/smartContracts.js +1 -1
  705. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  706. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +2 -2
  707. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  708. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +2 -2
  709. package/__commonjs/utils/transactions/index.js +1 -1
  710. package/__commonjs/utils/transactions/isGuardianTx.js +1 -1
  711. package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  712. package/__commonjs/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  713. package/__commonjs/utils/transactions/parseTransactionAfterSigning.js +1 -1
  714. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +3 -3
  715. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +3 -3
  716. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  717. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  718. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  719. package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  720. package/__commonjs/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  721. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  722. package/__commonjs/utils/validation/index.js +1 -1
  723. package/__commonjs/utils/validation/maxDecimals.js +1 -1
  724. package/__commonjs/utils/validation/stringIsFloat.js +1 -1
  725. package/__commonjs/wrappers/AppInitializer.js +1 -1
  726. package/__commonjs/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  727. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  728. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  729. package/__commonjs/wrappers/index.js +1 -1
  730. package/__mocks__/accountConfig.js +1 -1
  731. package/__mocks__/index.js +1 -1
  732. package/__mocks__/server.js +1 -1
  733. package/__mocks__/utils/index.js +1 -1
  734. package/__mocks__/utils/renderWithProvider.js +1 -1
  735. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  736. package/apiCalls/accounts/index.js +1 -1
  737. package/apiCalls/accounts/useGetAccountFromApi.js +1 -1
  738. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  739. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  740. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  741. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  742. package/apiCalls/configuration/index.js +1 -1
  743. package/apiCalls/configuration/useGetNetworkConfigFromApi.js +1 -1
  744. package/apiCalls/configuration/useGetServerConfigurationFromApi.js +1 -1
  745. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  746. package/apiCalls/economics/index.js +1 -1
  747. package/apiCalls/economics/useGetEconomicsInfoFromApi.js +1 -1
  748. package/apiCalls/index.js +1 -1
  749. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  750. package/apiCalls/transactions/index.js +1 -1
  751. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  752. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  753. package/apiCalls/transactions/useGetTransactionsFromApi.js +1 -1
  754. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  755. package/apiCalls/utils/getScamAddressData.js +1 -1
  756. package/apiCalls/utils/index.js +1 -1
  757. package/apiCalls/utils/useApiFetch.js +1 -1
  758. package/components/LogoutListener/LogoutListener.js +1 -1
  759. package/components/LogoutListener/helpers/index.js +1 -1
  760. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  761. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  762. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  763. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  764. package/components/LogoutListener/index.js +1 -1
  765. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  766. package/components/ProviderInitializer/helpers/index.js +1 -1
  767. package/components/ProviderInitializer/helpers/processModifiedAccount.js +1 -1
  768. package/components/ProviderInitializer/hooks/index.js +1 -1
  769. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  770. package/components/ProviderInitializer/index.js +1 -1
  771. package/components/TransactionSender/TransactionSender.js +1 -1
  772. package/components/TransactionSender/index.js +1 -1
  773. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  774. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  775. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  776. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  777. package/components/TransactionsTracker/index.js +1 -1
  778. package/constants/index.js +1 -1
  779. package/constants/network.js +1 -1
  780. package/hooks/account/index.js +1 -1
  781. package/hooks/account/useGetAccount.js +1 -1
  782. package/hooks/account/useGetAccountInfo.js +1 -1
  783. package/hooks/account/useGetAccountProvider.js +1 -1
  784. package/hooks/account/useGetBatchWebsocketEvent.js +1 -1
  785. package/hooks/account/useGetIsLoggedIn.js +1 -1
  786. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  787. package/hooks/account/useGetLoginInfo.js +1 -1
  788. package/hooks/account/useGetWebsocketEvent.js +1 -1
  789. package/hooks/economics/index.js +1 -1
  790. package/hooks/economics/useGetEgldPrice.js +1 -1
  791. package/hooks/index.js +1 -1
  792. package/hooks/login/index.js +1 -1
  793. package/hooks/login/useCrossWindowLogin.js +1 -1
  794. package/hooks/login/useExtensionLogin.js +1 -1
  795. package/hooks/login/useGetModalLoginMethods.js +1 -1
  796. package/hooks/login/useLedgerLogin.js +1 -1
  797. package/hooks/login/useLoginService.js +1 -1
  798. package/hooks/login/useMetamaskLogin.js +1 -1
  799. package/hooks/login/useMetamaskProxyLogin.js +1 -1
  800. package/hooks/login/useOperaLogin.js +1 -1
  801. package/hooks/login/useWalletConnectV2Login.js +1 -1
  802. package/hooks/login/useWebViewLogin.js +1 -1
  803. package/hooks/login/useWebWalletLogin.js +1 -1
  804. package/hooks/login/useXaliasLogin.js +1 -1
  805. package/hooks/signMessage/index.js +1 -1
  806. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  807. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  808. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  809. package/hooks/signMessage/useSignMessage.js +1 -1
  810. package/hooks/toasts/index.js +1 -1
  811. package/hooks/toasts/useGetToasts.js +1 -1
  812. package/hooks/toasts/useTransactionsToasts.js +1 -1
  813. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  814. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  815. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  816. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  817. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  818. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  819. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  820. package/hooks/transactions/batch/useGetBatches.js +1 -1
  821. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  822. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  823. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  824. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  825. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  826. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  827. package/hooks/transactions/helpers/index.js +1 -1
  828. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  829. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  830. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  831. package/hooks/transactions/index.js +1 -1
  832. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  833. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  834. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  835. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  836. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  837. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  838. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  839. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  840. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  841. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  842. package/hooks/transactions/useGetPollingInterval.js +1 -1
  843. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  844. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  845. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  846. package/hooks/transactions/useGetTokenDetails.js +1 -1
  847. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  848. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  849. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  850. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  851. package/hooks/transactions/useSignTransactions.js +1 -1
  852. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  853. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  854. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  855. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  856. package/hooks/transactions/useTransactionsTracker.js +1 -1
  857. package/hooks/useGetNetworkConfig.js +1 -1
  858. package/hooks/useGetNotification.js +1 -1
  859. package/hooks/websocketListener/index.js +1 -1
  860. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  861. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  862. package/models/index.js +1 -1
  863. package/models/newTransaction.js +1 -1
  864. package/package.json +2 -2
  865. package/providers/accountProvider.js +1 -1
  866. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  867. package/providers/experimentalWebViewProvider/index.js +1 -1
  868. package/providers/index.js +1 -1
  869. package/providers/utils.js +1 -1
  870. package/providers/webviewProvider/index.js +1 -1
  871. package/providers/webviewProvider/requestMethods.js +1 -1
  872. package/providers/webviewProvider/webviewProvider.js +1 -1
  873. package/reduxStore/DappProviderContext.js +1 -1
  874. package/reduxStore/commonActions.js +1 -1
  875. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  876. package/reduxStore/persistConfig.js +1 -1
  877. package/reduxStore/persistedRootReducer.js +1 -1
  878. package/reduxStore/reducers.js +1 -1
  879. package/reduxStore/rootReducer.js +1 -1
  880. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  881. package/reduxStore/selectors/index.js +1 -1
  882. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  883. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  884. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  885. package/reduxStore/slices/accountInfoSlice.js +1 -1
  886. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  887. package/reduxStore/slices/dappConfigSlice.js +1 -1
  888. package/reduxStore/slices/index.js +1 -1
  889. package/reduxStore/slices/loginInfoSlice.js +1 -1
  890. package/reduxStore/slices/modalsSlice.js +1 -1
  891. package/reduxStore/slices/networkConfigSlice.js +1 -1
  892. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  893. package/reduxStore/slices/toastsSlice.js +1 -1
  894. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  895. package/reduxStore/slices/transactionsSlice.js +1 -1
  896. package/reduxStore/store.js +1 -1
  897. package/services/index.js +1 -1
  898. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  899. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  900. package/services/nativeAuth/helpers/index.js +1 -1
  901. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  902. package/services/transactions/clearTransactions.js +1 -1
  903. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  904. package/services/transactions/getTransactionsDetails.js +1 -1
  905. package/services/transactions/index.js +1 -1
  906. package/services/transactions/isCrossShardTransaction.js +1 -1
  907. package/services/transactions/sendBatchTransactions.js +1 -1
  908. package/services/transactions/sendBatchTransactions.test.js +1 -1
  909. package/services/transactions/sendTransactions.js +1 -1
  910. package/services/transactions/signTransactions.js +1 -1
  911. package/services/transactions/transformAndSignTransactions.js +1 -1
  912. package/services/transactions/updateSignedTransactions.js +1 -1
  913. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  914. package/services/transactions/utils.js +1 -1
  915. package/types/index.js +1 -1
  916. package/types/network.types.d.ts +2 -0
  917. package/types/network.types.js +1 -1
  918. package/utils/account/getAccount.js +1 -1
  919. package/utils/account/getAccountBalance.js +1 -1
  920. package/utils/account/getAccountProviderType.js +1 -1
  921. package/utils/account/getAccountShard.js +1 -1
  922. package/utils/account/getAddress.js +1 -1
  923. package/utils/account/getIsProviderEqualTo.js +1 -1
  924. package/utils/account/getLatestNonce.js +1 -1
  925. package/utils/account/getShardOfAddress.js +1 -1
  926. package/utils/account/getWebviewToken.js +1 -1
  927. package/utils/account/index.js +1 -1
  928. package/utils/account/loginWithExternalProvider.js +1 -1
  929. package/utils/account/refreshAccount.js +1 -1
  930. package/utils/account/setNonce.js +1 -1
  931. package/utils/account/signMessage.js +1 -1
  932. package/utils/getIsLoggedIn.js +1 -1
  933. package/utils/index.js +1 -1
  934. package/utils/logout.js +1 -1
  935. package/utils/network/getChainID.js +1 -1
  936. package/utils/network/getEgldLabel.js +1 -1
  937. package/utils/network/getNetworkConfig.js +1 -1
  938. package/utils/network/index.js +1 -1
  939. package/utils/operations/calculateFeeInFiat.js +1 -1
  940. package/utils/operations/calculateFeeLimit.js +1 -1
  941. package/utils/operations/denominate.js +1 -1
  942. package/utils/operations/formatAmount.js +1 -1
  943. package/utils/operations/index.js +1 -1
  944. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  945. package/utils/operations/ledger/index.js +1 -1
  946. package/utils/operations/nominate.js +1 -1
  947. package/utils/operations/parseAmount.js +1 -1
  948. package/utils/smartContracts.js +1 -1
  949. package/utils/toasts/customToastsActions.js +1 -1
  950. package/utils/toasts/index.js +1 -1
  951. package/utils/transactions/batch/getTransactionsStatus.js +1 -1
  952. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  953. package/utils/transactions/builtCallbackUrl.js +1 -1
  954. package/utils/transactions/getAllTransactionsLink.js +1 -1
  955. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  956. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  957. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  958. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  959. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  960. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  961. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  962. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  963. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  964. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  965. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  966. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  967. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  968. package/utils/transactions/getOperationsDetails.js +1 -1
  969. package/utils/transactions/getTransactionLink.js +1 -1
  970. package/utils/transactions/index.js +1 -1
  971. package/utils/transactions/isGuardianTx.js +1 -1
  972. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  973. package/utils/transactions/parseMultiEsdtTransferDataForMultipleTransactions.js +1 -1
  974. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  975. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  976. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  977. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  978. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  979. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  980. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  981. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  982. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  983. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  984. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  985. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  986. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  987. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  988. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  989. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  990. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  991. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  992. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  993. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  994. package/utils/validation/index.js +1 -1
  995. package/utils/validation/maxDecimals.js +1 -1
  996. package/utils/validation/stringIsFloat.js +1 -1
  997. package/utils/waitForChainID.js +1 -1
  998. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  999. package/web/hooks/index.js +1 -1
  1000. package/web/hooks/useIdleTimer.js +1 -1
  1001. package/web/index.js +1 -1
  1002. package/wrappers/AppInitializer.js +1 -1
  1003. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  1004. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  1005. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  1006. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  1007. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  1008. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  1009. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  1010. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  1011. package/wrappers/DappProvider/CustomComponents.js +1 -1
  1012. package/wrappers/DappProvider/DappProvider.js +1 -1
  1013. package/wrappers/DappProvider/index.js +1 -1
  1014. package/wrappers/index.js +1 -1
  1015. package/__chunks__/chunk-2CY5GUK2.js +0 -2
  1016. package/__chunks__/chunk-2FL7QR5T.js +0 -2
  1017. package/__chunks__/chunk-2R5BODN3.js +0 -2
  1018. package/__chunks__/chunk-2ZJSD44I.js +0 -2
  1019. package/__chunks__/chunk-3DTWVXOA.js +0 -2
  1020. package/__chunks__/chunk-3OHJNWGX.js +0 -2
  1021. package/__chunks__/chunk-4VIGZBCO.js +0 -2
  1022. package/__chunks__/chunk-5CZ2ELHD.js +0 -2
  1023. package/__chunks__/chunk-5GBGYHG4.js +0 -2
  1024. package/__chunks__/chunk-7FUNECIK.js +0 -2
  1025. package/__chunks__/chunk-7GQYWSWO.js +0 -2
  1026. package/__chunks__/chunk-7MECGIFH.js +0 -2
  1027. package/__chunks__/chunk-7NIJSSAX.js +0 -2
  1028. package/__chunks__/chunk-A7ZJS5KP.js +0 -2
  1029. package/__chunks__/chunk-AQR42WCN.js +0 -2
  1030. package/__chunks__/chunk-CEVP5XYQ.js +0 -2
  1031. package/__chunks__/chunk-CL33WWUP.js +0 -2
  1032. package/__chunks__/chunk-CUSOGIOX.js +0 -2
  1033. package/__chunks__/chunk-DUZUYHDS.js +0 -2
  1034. package/__chunks__/chunk-DXRT4CRT.js +0 -2
  1035. package/__chunks__/chunk-ELCUZ75F.js +0 -2
  1036. package/__chunks__/chunk-EQFSC6TK.js +0 -2
  1037. package/__chunks__/chunk-FFT6WXEW.js +0 -2
  1038. package/__chunks__/chunk-FOAITZEO.js +0 -2
  1039. package/__chunks__/chunk-GKNYCTOB.js +0 -2
  1040. package/__chunks__/chunk-GU35CEXE.js +0 -2
  1041. package/__chunks__/chunk-H24VHWQP.js +0 -2
  1042. package/__chunks__/chunk-HKWLUGC6.js +0 -2
  1043. package/__chunks__/chunk-HVPDUMWF.js +0 -2
  1044. package/__chunks__/chunk-I76LZZTZ.js +0 -2
  1045. package/__chunks__/chunk-IRKBX6DD.js +0 -2
  1046. package/__chunks__/chunk-JGSAQGXP.js +0 -2
  1047. package/__chunks__/chunk-JJ4XECYP.js +0 -2
  1048. package/__chunks__/chunk-KALBDWE6.js +0 -2
  1049. package/__chunks__/chunk-KN5PVI4K.js +0 -2
  1050. package/__chunks__/chunk-KYHRJQM5.js +0 -2
  1051. package/__chunks__/chunk-LJ2T33E3.js +0 -2
  1052. package/__chunks__/chunk-LNJ3HFWD.js +0 -2
  1053. package/__chunks__/chunk-LPQI66S3.js +0 -2
  1054. package/__chunks__/chunk-LQNCXVJM.js +0 -2
  1055. package/__chunks__/chunk-LSY2HJTQ.js +0 -2
  1056. package/__chunks__/chunk-MIWBUGWY.js +0 -2
  1057. package/__chunks__/chunk-ML542R3V.js +0 -2
  1058. package/__chunks__/chunk-MLX5UI5O.js +0 -2
  1059. package/__chunks__/chunk-NT2T6JKO.js +0 -2
  1060. package/__chunks__/chunk-NVWTNDEE.js +0 -2
  1061. package/__chunks__/chunk-PI5NXZUX.js +0 -2
  1062. package/__chunks__/chunk-RHOHFJ43.js +0 -2
  1063. package/__chunks__/chunk-RPANWBS7.js +0 -2
  1064. package/__chunks__/chunk-RWDCF23E.js +0 -2
  1065. package/__chunks__/chunk-SC4K7A34.js +0 -2
  1066. package/__chunks__/chunk-STSR7UIJ.js +0 -2
  1067. package/__chunks__/chunk-SUC4JB2Y.js +0 -2
  1068. package/__chunks__/chunk-TFARS2WQ.js +0 -2
  1069. package/__chunks__/chunk-TTJRL2R5.js +0 -2
  1070. package/__chunks__/chunk-UIN4P36H.js +0 -2
  1071. package/__chunks__/chunk-VA3DUEFD.js +0 -2
  1072. package/__chunks__/chunk-VEXNJK4I.js +0 -2
  1073. package/__chunks__/chunk-VHJ72XE6.js +0 -2
  1074. package/__chunks__/chunk-VR5CNK6P.js +0 -2
  1075. package/__chunks__/chunk-VVNFK6FB.js +0 -2
  1076. package/__chunks__/chunk-WD225GVR.js +0 -2
  1077. package/__chunks__/chunk-WO76YEG3.js +0 -2
  1078. package/__chunks__/chunk-XG5ZIYZZ.js +0 -2
  1079. package/__chunks__/chunk-XGEGWTM5.js +0 -2
  1080. package/__chunks__/chunk-XLP5ARGZ.js +0 -2
  1081. package/__chunks__/chunk-Z6XFR3LH.js +0 -2
  1082. package/__chunks__/chunk-Z7R3Q3JG.js +0 -2
  1083. package/__chunks__/chunk-ZGHWOPQ6.js +0 -2
  1084. package/__chunks__/chunk-ZNU6QK2M.js +0 -2
  1085. package/__chunks__/chunk-ZR5DOV7T.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var wi=Object.create;var we=Object.defineProperty,Ai=Object.defineProperties,bi=Object.getOwnPropertyDescriptor,vi=Object.getOwnPropertyDescriptors,Ii=Object.getOwnPropertyNames,Me=Object.getOwnPropertySymbols,ki=Object.getPrototypeOf,Nt=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable;var Lr=(e,t,r)=>t in e?we(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))Nt.call(t,r)&&Lr(e,r,t[r]);if(Me)for(var r of Me(t))Nr.call(t,r)&&Lr(e,r,t[r]);return e},w=(e,t)=>Ai(e,vi(t));var Rr=(e,t)=>{var r={};for(var o in e)Nt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Me)for(var o of Me(e))t.indexOf(o)<0&&Nr.call(e,o)&&(r[o]=e[o]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var Fe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ue=(e,t)=>{for(var r in t)we(e,r,{get:t[r],enumerable:!0})},Cr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ii(t))!Nt.call(e,i)&&i!==r&&we(e,i,{get:()=>t[i],enumerable:!(o=bi(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?wi(ki(e)):{},Cr(t||!e||!e.__esModule?we(r,"default",{value:e,enumerable:!0}):r,e)),Be=e=>Cr(we({},"__esModule",{value:!0}),e);var L=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(y){i(y)}},p=d=>{try{m(r.throw(d))}catch(y){i(y)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var _r=Fe(Ue=>{"use strict";n();Ue.byteLength=Li;Ue.toByteArray=Ri;Ue.fromByteArray=Pi;var W=[],_=[],Ei=typeof Uint8Array!="undefined"?Uint8Array:Array,Rt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ne=0,Dr=Rt.length;ne<Dr;++ne)W[ne]=Rt[ne],_[Rt.charCodeAt(ne)]=ne;var ne,Dr;_["-".charCodeAt(0)]=62;_["_".charCodeAt(0)]=63;function Pr(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function Li(e){var t=Pr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Ni(e,t,r){return(t+r)*3/4-r}function Ri(e){var t,r=Pr(e),o=r[0],i=r[1],l=new Ei(Ni(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=_[e.charCodeAt(d)]<<18|_[e.charCodeAt(d+1)]<<12|_[e.charCodeAt(d+2)]<<6|_[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=_[e.charCodeAt(d)]<<2|_[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=_[e.charCodeAt(d)]<<10|_[e.charCodeAt(d+1)]<<4|_[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Ci(e){return W[e>>18&63]+W[e>>12&63]+W[e>>6&63]+W[e&63]}function Di(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(Ci(o));return i.join("")}function Pi(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(Di(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push(W[t>>2]+W[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(W[t>>10]+W[t>>4&63]+W[t<<2&63]+"=")),i.join("")}});var Or=Fe(Ct=>{n();Ct.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,y=d>>1,x=-7,h=r?i-1:0,S=r?-1:1,v=e[t+h];for(h+=S,l=v&(1<<-x)-1,v>>=-x,x+=m;x>0;l=l*256+e[t+h],h+=S,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=S,x-=8);if(l===0)l=1-y;else{if(l===d)return p?NaN:(v?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(v?-1:1)*p*Math.pow(2,l-o)};Ct.write=function(e,t,r,o,i,l){var p,m,d,y=l*8-i-1,x=(1<<y)-1,h=x>>1,S=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=o?0:l-1,P=o?1:-1,re=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+h>=1?t+=S/d:t+=S*Math.pow(2,1-h),t*d>=2&&(p++,d/=2),p+h>=x?(m=0,p=x):p+h>=1?(m=(t*d-1)*Math.pow(2,i),p=p+h):(m=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+v]=m&255,v+=P,m/=256,i-=8);for(p=p<<i|m,y+=i;y>0;e[r+v]=p&255,v+=P,p/=256,y-=8);e[r+v-P]|=re*128}});var Kr=Fe(me=>{"use strict";n();var Dt=_r(),de=Or(),Mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;me.Buffer=u;me.SlowBuffer=Ui;me.INSPECT_MAX_BYTES=50;var Ve=2147483647;me.kMaxLength=Ve;u.TYPED_ARRAY_SUPPORT=_i();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function _i(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function K(e){if(e>Ve)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Mt(e)}return Ur(e,t,r)}u.poolSize=8192;function Ur(e,t,r){if(typeof e=="string")return Mi(e,t);if(ArrayBuffer.isView(e))return Fi(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(G(e,ArrayBuffer)||e&&G(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(G(e,SharedArrayBuffer)||e&&G(e.buffer,SharedArrayBuffer)))return _t(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Bi(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Ur(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Vr(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 Oi(e,t,r){return Vr(e),e<=0?K(e):t!==void 0?typeof r=="string"?K(e).fill(t,r):K(e).fill(t):K(e)}u.alloc=function(e,t,r){return Oi(e,t,r)};function Mt(e){return Vr(e),K(e<0?0:Ft(e)|0)}u.allocUnsafe=function(e){return Mt(e)};u.allocUnsafeSlow=function(e){return Mt(e)};function Mi(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Wr(e,t)|0,o=K(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Pt(e){for(var t=e.length<0?0:Ft(e.length)|0,r=K(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Fi(e){if(G(e,Uint8Array)){var t=new Uint8Array(e);return _t(t.buffer,t.byteOffset,t.byteLength)}return Pt(e)}function _t(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Bi(e){if(u.isBuffer(e)){var t=Ft(e.length)|0,r=K(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Bt(e.length)?K(0):Pt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Pt(e.data)}function Ft(e){if(e>=Ve)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ve.toString(16)+" bytes");return e|0}function Ui(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(G(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),G(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(G(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function Wr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||G(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Ot(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return zr(e).length;default:if(i)return o?-1:Ot(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Wr;function Vi(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Yi(this,t,r);case"utf8":case"utf-8":return $r(this,t,r);case"ascii":return Ki(this,t,r);case"latin1":case"binary":return Xi(this,t,r);case"base64":return qi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zi(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function oe(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)oe(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)oe(this,r,r+3),oe(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)oe(this,r,r+7),oe(this,r+1,r+6),oe(this,r+2,r+5),oe(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?$r(this,0,t):Vi.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=me.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Mr&&(u.prototype[Mr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(G(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=o-r,d=Math.min(p,m),y=this.slice(i,l),x=t.slice(r,o),h=0;h<d;++h)if(y[h]!==x[h]){p=y[h],m=x[h];break}return p<m?-1:m<p?1:0};function Gr(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Bt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Fr(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Fr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Fr(e,t,r,o,i){var l=1,p=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,m/=2,r/=2}function d(v,P){return l===1?v[P]:v.readUInt16BE(P*l)}var y;if(i){var x=-1;for(y=r;y<p;y++)if(d(e,y)===d(t,x===-1?0:y-x)){if(x===-1&&(x=y),y-x+1===m)return x*l}else x!==-1&&(y-=y-x),x=-1}else for(r+m>p&&(r=p-m),y=r;y>=0;y--){for(var h=!0,S=0;S<m;S++)if(d(e,y+S)!==d(t,S)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Gr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Gr(this,t,r,o,!1)};function Wi(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var m=parseInt(t.substr(p*2,2),16);if(Bt(m))return p;e[r+p]=m}return p}function Gi(e,t,r,o){return We(Ot(t,e.length-r),e,r,o)}function $i(e,t,r,o){return We(ea(t),e,r,o)}function Hi(e,t,r,o){return We(zr(t),e,r,o)}function ji(e,t,r,o){return We(ta(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Wi(this,t,r,o);case"utf8":case"utf-8":return Gi(this,t,r,o);case"ascii":case"latin1":case"binary":return $i(this,t,r,o);case"base64":return Hi(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ji(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function qi(e,t,r){return t===0&&r===e.length?Dt.fromByteArray(e):Dt.fromByteArray(e.slice(t,r))}function $r(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,y,x,h;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(h=(l&31)<<6|d&63,h>127&&(p=h));break;case 3:d=e[i+1],y=e[i+2],(d&192)===128&&(y&192)===128&&(h=(l&15)<<12|(d&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:d=e[i+1],y=e[i+2],x=e[i+3],(d&192)===128&&(y&192)===128&&(x&192)===128&&(h=(l&15)<<18|(d&63)<<12|(y&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=m}return zi(o)}var Br=4096;function zi(e){var t=e.length;if(t<=Br)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Br));return r}function Ki(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Xi(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Yi(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=ra[e[l]];return i}function Zi(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function N(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||N(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||N(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||N(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||N(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||N(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||N(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||N(t,4,this.length),de.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||N(t,4,this.length),de.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||N(t,8,this.length),de.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||N(t,8,this.length),de.read(this,t,!1,52,8)};function R(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;R(this,t,r,o,l,0)}var p=1,m=0;for(this[r]=t&255;++m<o&&(p*=256);)this[r+m]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;R(this,t,r,o,l,0)}var p=o-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);R(this,t,r,o,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<o&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);R(this,t,r,o,l-1,-l)}var p=o-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Hr(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function jr(e,t,r,o,i){return t=+t,r=r>>>0,i||Hr(e,t,r,4,34028234663852886e22,-34028234663852886e22),de.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return jr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return jr(this,t,r,!1,o)};function qr(e,t,r,o,i){return t=+t,r=r>>>0,i||Hr(e,t,r,8,17976931348623157e292,-17976931348623157e292),de.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return qr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return qr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=m[p%d]}return this};var Ji=/[^+/0-9A-Za-z-_]/g;function Qi(e){if(e=e.split("=")[0],e=e.trim().replace(Ji,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Ot(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function ea(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ta(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function zr(e){return Dt.toByteArray(Qi(e))}function We(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function G(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Bt(e){return e!==e}var ra=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Qr=Fe((ec,Jr)=>{n();var k=Jr.exports={},$,H;function Ut(){throw new Error("setTimeout has not been defined")}function Vt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?$=setTimeout:$=Ut}catch(e){$=Ut}try{typeof clearTimeout=="function"?H=clearTimeout:H=Vt}catch(e){H=Vt}})();function Xr(e){if($===setTimeout)return setTimeout(e,0);if(($===Ut||!$)&&setTimeout)return $=setTimeout,setTimeout(e,0);try{return $(e,0)}catch(t){try{return $.call(null,e,0)}catch(r){return $.call(this,e,0)}}}function na(e){if(H===clearTimeout)return clearTimeout(e);if((H===Vt||!H)&&clearTimeout)return H=clearTimeout,clearTimeout(e);try{return H(e)}catch(t){try{return H.call(null,e)}catch(r){return H.call(this,e)}}}var X=[],ge=!1,ie,Ge=-1;function oa(){!ge||!ie||(ge=!1,ie.length?X=ie.concat(X):Ge=-1,X.length&&Yr())}function Yr(){if(!ge){var e=Xr(oa);ge=!0;for(var t=X.length;t;){for(ie=X,X=[];++Ge<t;)ie&&ie[Ge].run();Ge=-1,t=X.length}ie=null,ge=!1,na(e)}}k.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];X.push(new Zr(e,t)),X.length===1&&!ge&&Xr(Yr)};function Zr(e,t){this.fun=e,this.array=t}Zr.prototype.run=function(){this.fun.apply(null,this.array)};k.title="browser";k.browser=!0;k.env={};k.argv=[];k.version="";k.versions={};function Y(){}k.on=Y;k.addListener=Y;k.once=Y;k.off=Y;k.removeListener=Y;k.removeAllListeners=Y;k.emit=Y;k.prependListener=Y;k.prependOnceListener=Y;k.listeners=function(e){return[]};k.binding=function(e){throw new Error("process.binding is not supported")};k.cwd=function(){return"/"};k.chdir=function(e){throw new Error("process.chdir is not supported")};k.umask=function(){return 0}});var a,s,tc,n=T(()=>{a=A(Kr()),s=A(Qr()),tc=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var en=T(()=>{"use strict";n()});var tn=T(()=>{"use strict";n()});var rn=T(()=>{"use strict";n()});var Wt,nn=T(()=>{"use strict";n();Wt=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(Wt||{})});var on=T(()=>{"use strict";n()});var Gt=T(()=>{"use strict";n()});var an=T(()=>{"use strict";n()});var sn=T(()=>{"use strict";n()});var cn=T(()=>{"use strict";n()});var ln=T(()=>{"use strict";n()});var $t,fe,Ht=T(()=>{"use strict";n();$t=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),fe=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums")});var pn,mc,un,gc,Z=T(()=>{"use strict";n();Ht();pn=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(pn||{}),mc=f(f({},fe.CrossWindowProviderRequestEnums),pn),un=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(un||{}),gc=f(f({},fe.CrossWindowProviderResponseEnums),un)});var dn=T(()=>{"use strict";n()});var mn=T(()=>{"use strict";n()});var C=T(()=>{"use strict";n()});var gn=T(()=>{"use strict";n()});var fn=T(()=>{"use strict";n()});var Tn=T(()=>{"use strict";n()});var O=T(()=>{"use strict";n();sn();cn();ln();Z();dn();mn();C();gn();fn();Tn()});var jt,yn,Cc,hn,Dc,xn,Pc,_c,Oc,Sn=T(()=>{"use strict";n();O();jt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:yn,egldLabel:Cc}=jt["devnet"],{chainId:hn,egldLabel:Dc}=jt["testnet"],{chainId:xn,egldLabel:Pc}=jt["mainnet"],_c={["devnet"]:yn,["testnet"]:hn,["mainnet"]:xn},Oc={[yn]:"devnet",[hn]:"testnet",[xn]:"mainnet"}});var qt=T(()=>{"use strict";n()});var j,wn=T(()=>{"use strict";n();j=require("@multiversx/sdk-web-wallet-provider")});var An,bn,zt,Vc,Wc,vn=T(()=>{"use strict";n();Ht();zt=String((bn=(An=$t.safeWindow)==null?void 0:An.navigator)==null?void 0:bn.userAgent),Vc=/^((?!chrome|android).)*safari/i.test(zt),Wc=/firefox/i.test(zt)&&/windows/i.test(zt)});var In,Ae,Kt,be,kn,$e,En,Te,b=T(()=>{"use strict";n();en();tn();rn();nn();on();Gt();an();Sn();qt();wn();vn();In=1500,Ae=5e4,Kt=5e4,be=1e9,kn=1,$e="logout",En="login",Te="0"});var He,Xt=T(()=>{"use strict";n();He=()=>Date.now()/1e3});var Ln=T(()=>{"use strict";n()});var Nn=T(()=>{"use strict";n()});var Rn=T(()=>{"use strict";n();Xt();Ln();Nn()});var Yt={};ue(Yt,{clear:()=>ca,getItem:()=>aa,localStorageKeys:()=>ae,removeItem:()=>sa,setItem:()=>ia});var ae,je,ia,aa,sa,ca,ve=T(()=>{"use strict";n();Rn();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},je=typeof localStorage!="undefined",ia=({key:e,data:t,expires:r})=>{!je||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},aa=e=>{if(!je)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:He()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},sa=e=>{!je||localStorage.removeItem(String(e))},ca=()=>{!je||localStorage.clear()}});var Zt={};ue(Zt,{clear:()=>_n,getItem:()=>Dn,removeItem:()=>Pn,setItem:()=>Cn,storage:()=>la});var Cn,Dn,Pn,_n,la,On=T(()=>{"use strict";n();Cn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Dn=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},Pn=e=>sessionStorage.removeItem(String(e)),_n=()=>sessionStorage.clear(),la={setItem:Cn,getItem:Dn,removeItem:Pn,clear:_n}});var ye,qe=T(()=>{"use strict";n();ve();On();ye={session:Zt,local:Yt}});var Jt,E,ze,B=T(()=>{"use strict";n();Jt=require("@reduxjs/toolkit");b();E=(0,Jt.createAction)($e),ze=(0,Jt.createAction)(En,e=>({payload:e}))});var er,Mn,Fn,Ke,Qt,Bn,Un,hl,Vn,xl,Sl,wl,Al,bl,vl,Il,kl,Xe,Ye=T(()=>{"use strict";n();er=require("@multiversx/sdk-core"),Mn=require("@reduxjs/toolkit"),Fn=require("redux-persist");b();qe();ve();B();Ke={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Te},Qt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ke},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Bn=(0,Mn.createSlice)({name:"accountInfoSlice",initialState:Qt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new er.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ke},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(E,()=>(ye.local.removeItem(ae.loginExpiresAt),Qt)),e.addCase(ze,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new er.Address(o).hex()}),e.addCase(Fn.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:Qt.accounts,t.publicKey=m})}}),{setAccount:Un,setAddress:hl,setAccountNonce:Vn,setAccountShard:xl,setLedgerAccount:Sl,updateLedgerAccount:wl,setWalletConnectAccount:Al,setIsAccountLoading:bl,setAccountLoadingError:vl,setWebsocketEvent:Il,setWebsocketBatchEvent:kl}=Bn.actions,Xe=Bn.reducer});function Ie(){return new Date().setHours(new Date().getHours()+24)}function ke(e){ye.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var tr=T(()=>{"use strict";n();qe();ve()});var Gn,Wn,$n,Fl,Bl,Ul,Vl,Wl,Gl,Hn,$l,Hl,jl,Ze,Je=T(()=>{"use strict";n();Gn=require("@reduxjs/toolkit");tr();Z();B();Wn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,metamaskProxyWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},$n=(0,Gn.createSlice)({name:"loginInfoSlice",initialState:Wn,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},setWebviewLogin:(e,t)=>{e.webviewLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(E,()=>Wn),e.addCase(ze,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,ke(Ie())})}}),{setLoginMethod:Fl,setWalletConnectLogin:Bl,setLedgerLogin:Ul,setTokenLogin:Vl,setTokenLoginSignature:Wl,setWalletLogin:Gl,invalidateLoginSession:Hn,setLogoutRoute:$l,setIsWalletConnectV2Initialized:Hl,setWebviewLogin:jl}=$n.actions,Ze=$n.reducer});var qn,jn,zn,Xl,Kn,Yl,Zl,Qe,et=T(()=>{"use strict";n();qn=require("@reduxjs/toolkit");B();jn={},zn=(0,qn.createSlice)({name:"modalsSlice",initialState:jn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(E,()=>jn)}}),{setTxSubmittedModal:Xl,setNotificationModal:Kn,clearTxSubmittedModal:Yl,clearNotificationModal:Zl}=zn.actions,Qe=zn.reducer});var Xn=T(()=>{"use strict";n()});var Yn=T(()=>{"use strict";n();Xn()});function Zn(e){return e[Math.floor(Math.random()*e.length)]}var Jn=T(()=>{"use strict";n()});var Qn=T(()=>{"use strict";n();Gt()});var eo=T(()=>{"use strict";n();Yn();Jn();Qn()});var to,ro,no,rr,ua,oo,fp,Tp,yp,tt,rt=T(()=>{"use strict";n();to=require("@reduxjs/toolkit"),ro=A(require("lodash.omit")),no=require("redux-persist");qt();B();eo();rr={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},ua={network:rr},oo=(0,to.createSlice)({name:"appConfig",initialState:ua,reducers:{initializeNetworkConfig:(e,t)=>{let r=Zn(t.payload.walletConnectV2RelayAddresses),o=(0,ro.default)(t.payload,"walletConnectV2RelayAddresses");e.network=w(f(f({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=f(f({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(E,t=>{t.network.customWalletAddress=void 0}),e.addCase(no.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:fp,updateNetworkConfig:Tp,setCustomWalletAddress:yp}=oo.actions,tt=oo.reducer});var io,nr,ao,bp,vp,Ip,nt,ot=T(()=>{"use strict";n();io=require("@reduxjs/toolkit");O();B();nr={isSigning:!1,signedSessions:{}},ao=(0,io.createSlice)({name:"signedMessageInfoSliceState",initialState:nr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=f(f({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>f(f({},e),t.payload),clearSignedMessageInfo:()=>nr},extraReducers:e=>{e.addCase(E,()=>nr)}}),{setSignSession:bp,clearSignedMessageInfo:vp,setSignSessionState:Ip}=ao.actions,nt=ao.reducer});var co,lo,so,po,Dp,Pp,_p,Op,at,st=T(()=>{"use strict";n();co=require("@reduxjs/toolkit"),lo=require("redux-persist");O();Xt();B();so={customToasts:[],transactionToasts:[]},po=(0,co.createSlice)({name:"toastsSlice",initialState:so,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=w(f(f({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(w(f({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:He(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(E,()=>so),e.addCase(lo.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Dp,removeCustomToast:Pp,addTransactionToast:_p,removeTransactionToast:Op}=po.actions,at=po.reducer});var uo,ir,ar,sr,da,or,mo,Up,go,Vp,ct,lt=T(()=>{"use strict";n();uo=require("@reduxjs/toolkit");B();ir="Transaction failed",ar="Transaction successful",sr="Processing transaction",da="Transaction submitted",or={},mo=(0,uo.createSlice)({name:"transactionsInfo",initialState:or,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||ir,successMessage:(o==null?void 0:o.successMessage)||ar,processingMessage:(o==null?void 0:o.processingMessage)||sr,submittedMessage:(o==null?void 0:o.submittedMessage)||da,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>or},extraReducers:e=>{e.addCase(E,()=>or)}}),{clearTransactionsInfo:Up,setTransactionsDisplayInfo:go,clearTransactionsInfoForSessionId:Vp}=mo.actions,ct=mo.reducer});function fo(e){return e!=null&&(ba(e)||La(e))}function pt(e){return e!=null&&(va(e)||Na(e))}function ut(e){return e!=null&&(Ia(e)||Ra(e))}function To(e){return e!=null&&(ka(e)||Ca(e))}function yo(e){return e!=null&&Ea(e)}function ba(e){return e!=null&&ga.includes(e)}function va(e){return e!=null&&fa.includes(e)}function Ia(e){return e!=null&&Ta.includes(e)}function ka(e){return e!=null&&ya.includes(e)}function Ea(e){return e!=null&&ha.includes(e)}function La(e){return e!=null&&xa.includes(e)}function Na(e){return e!=null&&Sa.includes(e)}function Ra(e){return e!=null&&wa.includes(e)}function Ca(e){return e!=null&&Aa.includes(e)}var ga,fa,Ta,ya,ha,xa,Sa,wa,Aa,lr=T(()=>{"use strict";n();Z();ga=["sent"],fa=["success"],Ta=["fail","cancelled","timedOut"],ya=["invalid"],ha=["timedOut"],xa=["pending"],Sa=["success"],wa=["fail","invalid"],Aa=["not executed"]});var ho,xo,Ee,Da,So,Xp,Yp,wo,Zp,Jp,Qp,eu,tu,Ao,ru,nu,dt,mt=T(()=>{"use strict";n();ho=require("@reduxjs/toolkit"),xo=require("redux-persist");Z();lr();B();Ee={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Da={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},So=(0,ho.createSlice)({name:"transactionsSlice",initialState:Ee,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:m}=t.payload;e.customTransactionInformationForSessionId[r]=f(f(f({},Da),((d=e.signedTransactions[r])==null?void 0:d.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:f(f({},e.customTransactionInformationForSessionId[r]),m!=null?m:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=Ee.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=f(f({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var y,x,h,S,v,P,re,pe;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:m}=t.payload,d=(x=(y=e.signedTransactions)==null?void 0:y[r])==null?void 0:x.transactions;if(d!=null){e.signedTransactions[r].transactions=d.map(F=>F.hash===l?w(f(f({},p!=null?p:{}),F),{status:o,errorMessage:i,inTransit:m}):F);let Oe=(S=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:S.every(F=>pt(F.status)),Et=(P=(v=e.signedTransactions[r])==null?void 0:v.transactions)==null?void 0:P.some(F=>ut(F.status)),Lt=(pe=(re=e.signedTransactions[r])==null?void 0:re.transactions)==null?void 0:pe.every(F=>To(F.status));Oe&&(e.signedTransactions[r].status="success"),Et&&(e.signedTransactions[r].status="fail"),Lt&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Ee.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ee.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=f(f({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(E,()=>Ee),e.addCase(xo.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((m,[d,y])=>{let x=new Date(d),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(m[d]=y),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Xp,updateSignedTransactions:Yp,setTransactionsToSign:wo,clearAllTransactionsToSign:Zp,clearAllSignedTransactions:Jp,clearSignedTransaction:Qp,clearTransactionToSign:eu,setSignTransactionsError:tu,setSignTransactionsCancelMessage:Ao,moveTransactionsToSignedState:ru,updateSignedTransactionsCustomTransactionInformation:nu}=So.actions,dt=So.reducer});var bo,pr,vo,su,cu,lu,pu,gt,ft=T(()=>{"use strict";n();bo=require("@reduxjs/toolkit");B();pr={},vo=(0,bo.createSlice)({name:"batchTransactionsSlice",initialState:pr,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>pr},extraReducers:e=>{e.addCase(E,()=>pr)}}),{setBatchTransactions:su,updateBatchTransactions:cu,clearBatchTransactions:lu,clearAllBatchTransactions:pu}=vo.actions,gt=vo.reducer});var ko,Io,Eo,gu,Lo,ur=T(()=>{"use strict";n();ko=require("@reduxjs/toolkit");B();Io={},Eo=(0,ko.createSlice)({name:"dappConfigSlice",initialState:Io,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(E,()=>Io)}}),{setDappConfig:gu}=Eo.actions,Lo=Eo.reducer});var se=T(()=>{"use strict";n();Ye();Je();et();rt();ot();st();lt();mt();ft();ur()});var fr=T(()=>{"use strict";n()});var Uo,Va,Wa,ce,wt=T(()=>{"use strict";n();Uo=require("@reduxjs/toolkit");fr();Ye();ft();ur();Je();et();rt();ot();st();lt();mt();Va={["account"]:Xe,["dappConfig"]:Lo,["loginInfo"]:Ze,["modals"]:Qe,["networkConfig"]:tt,["signedMessageInfo"]:nt,["toasts"]:at,["transactionsInfo"]:ct,["transactions"]:dt,["batchTransactions"]:gt},Wa=(e={})=>(0,Uo.combineReducers)(f(f({},Va),e)),ce=Wa});var $o={};ue($o,{default:()=>ns,sessionStorageReducers:()=>Tr});function ee(e,t=[]){return{key:e,version:1,storage:Wo.default,blacklist:t}}var D,Vo,Wo,Ga,Re,$a,Ha,ja,qa,za,Ka,Xa,Ya,Za,Ja,Go,Qa,Tr,es,ts,rs,ns,Ho=T(()=>{"use strict";n();D=require("redux-persist"),Vo=A(require("redux-persist/lib/storage")),Wo=A(require("redux-persist/lib/storage/session"));wt();se();Ye();ft();Je();et();rt();ot();st();lt();mt();fr();Ga={persistReducersStorageType:"localStorage"},Re={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},$a=ee(Re["account"]),Ha=ee(Re["loginInfo"]),ja=ee(Re["modals"]),qa=ee(Re["networkConfig"]),za={2:e=>w(f({},e),{networkConfig:rr})};Ka=ee("sdk-dapp-transactionsInfo"),Xa=ee("sdk-dapp-transactions",["transactionsToSign"]),Ya=ee("sdk-dapp-batchTransactions",["batchTransactions"]),Za=ee("sdk-dapp-toasts"),Ja=ee("sdk-dapp-signedMessageInfo"),Go={key:"sdk-dapp-store",version:2,storage:Vo.default,whitelist:Object.keys(Re),migrate:(0,D.createMigrate)(za,{debug:!1})},Qa=w(f({},Go),{whitelist:[]}),Tr={["toasts"]:(0,D.persistReducer)(Za,at),["transactions"]:(0,D.persistReducer)(Xa,dt),["transactionsInfo"]:(0,D.persistReducer)(Ka,ct),["batchTransactions"]:(0,D.persistReducer)(Ya,gt),["signedMessageInfo"]:(0,D.persistReducer)(Ja,nt)},es=w(f({},Tr),{["account"]:(0,D.persistReducer)($a,Xe),["loginInfo"]:(0,D.persistReducer)(Ha,Ze),["modals"]:(0,D.persistReducer)(ja,Qe),["networkConfig"]:(0,D.persistReducer)(qa,tt)}),ts=Ga.persistReducersStorageType==="localStorage",rs=ts?(0,D.persistReducer)(Go,ce(Tr)):(0,D.persistReducer)(Qa,ce(es)),ns=rs});var jo={};ue(jo,{default:()=>os});var os,qo=T(()=>{"use strict";n();wt();os=ce()});var zo={};ue(zo,{default:()=>as});var M,is,as,Ko=T(()=>{"use strict";n();M=require("redux-persist"),is=[M.FLUSH,M.REHYDRATE,M.PAUSE,M.PERSIST,M.PURGE,M.REGISTER],as=is});var Zo={};ue(Zo,{default:()=>Yo});function Yo(e){return(0,Xo.persistStore)(e)}var Xo,Jo=T(()=>{"use strict";n();Xo=require("redux-persist")});n();n();n();se();n();var No=A(require("lodash.isequal")),Tt=require("reselect"),g=(0,Tt.createSelectorCreator)(Tt.defaultMemoize,No.default);var q=e=>e.account,U=g(q,e=>e.address),dr=g(q,U,(e,t)=>t in e.accounts?e.accounts[t]:Ke),Ru=g(q,dr,(e,t)=>{let i=e,{accounts:r}=i,o=Rr(i,["accounts"]);return w(f({},o),{address:t.address,account:t})}),Cu=g(dr,e=>e.balance),Ro=g(dr,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Du=g(q,e=>e.shard),Pu=g(q,e=>e.ledgerAccount),_u=g(q,e=>e.walletConnectAccount),Ou=g(q,e=>e.isAccountLoading),Mu=g(q,e=>e.accountLoadingError),Fu=g(q,e=>e.websocketEvent),Bu=g(q,e=>e.websocketBatchEvent);n();var Pa=e=>e.dappConfig,Wu=g(Pa,e=>e.shouldUseWebViewProvider);n();var J=e=>e.loginInfo,ju=g(J,e=>e.loginMethod),qu=g(J,U,(e,t)=>Boolean(t)),zu=g(J,e=>e.walletConnectLogin),Ku=g(J,e=>e.ledgerLogin),Xu=g(J,e=>e.walletLogin),Yu=g(J,e=>e.isLoginSessionInvalid),Zu=g(J,e=>e.tokenLogin),Ju=g(J,e=>e.logoutRoute),Qu=g(J,e=>e.isWalletConnectV2Initialized);n();var Co=e=>e.modals,rd=g(Co,e=>e.txSubmittedModal),nd=g(Co,e=>e.notificationModal);n();var Q=e=>e.networkConfig,yt=g(Q,e=>e.network.chainId),ad=g(Q,e=>e.network.roundDuration),sd=g(Q,e=>e.network.walletConnectBridgeAddress),cd=g(Q,e=>e.network.walletConnectV2RelayAddress),ld=g(Q,e=>e.network.walletConnectV2ProjectId),pd=g(Q,e=>e.network.walletConnectV2Options),ud=g(Q,e=>e.network.walletConnectDeepLink),Le=g(Q,e=>e.network),Do=g(Le,e=>e.apiAddress),Po=g(Le,e=>e.explorerAddress),dd=g(Le,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),md=g(Le,e=>e.xAliasAddress),gd=g(Le,e=>e.egldLabel);n();var ht=e=>e.signedMessageInfo,yd=g(ht,e=>e.isSigning),hd=g(ht,e=>e.errorMessage),xd=g(ht,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Sd=g(ht,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var _o=e=>e.toasts,bd=g(_o,e=>e.customToasts),vd=g(_o,e=>e.transactionToasts);n();se();var Oo={errorMessage:ir,successMessage:ar,processingMessage:sr},_a=e=>e.transactionsInfo,Ld=g(_a,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Oo);n();n();var z=require("@multiversx/sdk-core");b();n();var gr=require("@multiversx/sdk-core/out");n();n();function mr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}n();n();n();n();var Mo=e=>{let t=e!=null?e:"";return mr(t)?gr.TransactionPayload.fromEncoded(t):new gr.TransactionPayload(t)};n();b();var he=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(Wt).some(r=>e.startsWith(r)):!1;function Ne(e){var o,i,l;let t=f({},e);he({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new z.Transaction(f(f(w(f(w(f({value:t.value.valueOf(),data:Mo(t.data),nonce:t.nonce.valueOf(),receiver:new z.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new z.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Ae,gasPrice:(i=t.gasPrice.valueOf())!=null?i:be,chainID:t.chainID.valueOf(),version:new z.TransactionVersion((l=t.version)!=null?l:kn)}),t.options?{options:new z.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new z.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(a.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(a.Buffer.from(t.signature,"hex")),r}n();n();b();n();n();var yr=require("@reduxjs/toolkit"),ri=require("react-redux/lib/utils/Subscription");se();n();var Fo=A(require("lodash.throttle"));b();se();tr();qe();ve();var Fa=[$e],xt=!1,Ba=(0,Fo.default)(()=>{ke(Ie())},5e3),Bo=e=>t=>r=>{if(Fa.includes(r.type))return t(r);let o=e.getState(),i=ye.local.getItem(ae.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return ke(Ie());let p=Date.now();return i-p<0&&!xt?setTimeout(()=>{xt=!0,e.dispatch(Hn())},1e3):(xt&&(xt=!1),Ba()),t(r)};n();n();function St(){return typeof sessionStorage!="undefined"}var Qo=St()?(Ho(),Be($o)).default:(qo(),Be(jo)).default,ei=St()?(Ko(),Be(zo)).default:[],ti=St()?(Jo(),Be(Zo)).default:e=>e;wt();var I=(0,yr.configureStore)({reducer:Qo,middleware:e=>e({serializableCheck:{ignoredActions:[...ei,Vn.type,Un.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Bo)}),Fm=(0,ri.createSubscription)(I),Bm=ti(I),Um=(0,yr.configureStore)({reducer:ce});n();n();var cs=require("@multiversx/sdk-core/out");n();b();n();var oi=require("@multiversx/sdk-core");O();n();var ls=require("@multiversx/sdk-core");n();n();n();var ps=require("@multiversx/sdk-core"),us=A(require("bignumber.js"));Z();n();n();n();var At="accounts";n();n();n();n();C();n();n();C();n();n();n();var ys=A(require("bignumber.js"));b();n();var Ts=require("@multiversx/sdk-core"),hr=A(require("bignumber.js"));b();n();var gs=A(require("bignumber.js"));n();hr.default.config({ROUNDING_MODE:hr.default.ROUND_FLOOR});n();n();n();b();n();n();n();n();b();n();b();n();var hs=require("@multiversx/sdk-core");b();n();var De=require("@multiversx/sdk-core"),Ss=A(require("bignumber.js"));b();n();n();var xs=A(require("bignumber.js"));b();n();b();n();n();n();n();n();n();b();n();b();n();b();n();C();var As=["reDelegateRewards","claimRewards","unBond"],bs=["wrapEgld","unwrapEgld"],vs=["unStake"],Is=["unDelegate"];n();n();n();b();n();var Ls=A(require("bignumber.js"));n();n();C();n();var Rs=A(require("bignumber.js"));n();n();n();n();var Ds=A(require("bignumber.js"));O();n();n();n();n();Z();n();var Os=require("@multiversx/sdk-web-wallet-provider");b();n();var _s=A(require("qs"));n();n();n();n();n();var Pe=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var V=()=>{if(!Pe())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}};n();var li=()=>{let{pathname:e,search:t,hash:r}=V();return`${e!=null?e:""}${t!=null?t:""}${r!=null?r:""}`};n();var dh={search:Pe()?window.location.search:"",removeParams:[]};n();n();n();n();C();n();n();n();var Ms=A(require("linkifyjs"));n();b();n();var Fs=A(require("bignumber.js"));n();O();n();n();Z();n();Z();n();n();n();C();n();C();n();var Bs=A(require("bignumber.js"));b();C();n();C();n();var ui=require("react");O();n();n();C();n();n();var Us=require("@multiversx/sdk-core/out"),Vs=A(require("bignumber.js"));C();n();O();n();n();O();var aS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var di=require("react");O();n();var Gs=require("react");C();var gS=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];lr();n();var It=e=>e.transactions,_e=g(It,e=>e.signedTransactions),ow=g(It,e=>e.signTransactionsError),iw=g(It,e=>e.signTransactionsCancelMessage),kt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),aw=g(_e,kt(fo)),sw=g(_e,kt(pt)),cw=g(_e,kt(ut)),lw=g(_e,kt(yo)),pw=g(It,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(f({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Ne(r)))||[]})}),uw=g(_e,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();n();var mi=e=>{let t=0;return e.map(r=>r.map(()=>t++))};n();se();O();function le(i){return L(this,arguments,function*({transactions:e,callbackRoute:t,customTransactionInformation:r,transactionsDisplayInfo:o}){var h;let l=I.getState(),p=Date.now().toString(),m=yt(l),d=Array.isArray(e)?e:[e];if(!(d==null?void 0:d.every(S=>S.getChainID().valueOf()===m.valueOf()))){let S={type:"warning",iconClassName:"text-warning",title:"Network change detected",description:"The application tried to change the transaction network"};return I.dispatch(Kn(S)),{error:"Invalid ChainID",sessionId:null}}let x={sessionId:p,callbackRoute:t,customTransactionInformation:w(f({},r!=null?r:{}),{signWithoutSending:(h=r==null?void 0:r.signWithoutSending)!=null?h:!0}),transactions:d.map(S=>{let v=S.toPlainObject();return he({data:v.data,onlySetGuardian:!0})?v:w(f({},v),{senderUsername:S.getSenderUsername().valueOf(),receiverUsername:S.getReceiverUsername().valueOf()})})};return I.dispatch(Ao(null)),I.dispatch(wo(x)),I.dispatch(go({sessionId:p,transactionsDisplayInfo:o})),{sessionId:p}})}n();n();var Ir=require("@multiversx/sdk-core"),kr=A(require("bignumber.js"));b();n();n();n();n();n();var gi=require("@lifeomic/axios-fetch"),wr=A(require("axios")),Ar=(0,gi.buildAxiosFetch)(wr.default),br=(e,t)=>L(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function $s(e,t,r){return L(this,null,function*(){try{let o=yield Ar(e,f({method:"POST",body:t?JSON.stringify(t):void 0,headers:f({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return br(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function Hs(e,t){return L(this,null,function*(){try{let r=yield Ar(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return br(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function js(e,t,r){return L(this,null,function*(){try{let o=yield Ar(e,f({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return br(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var xe=wr.default.create();xe.get=Hs;xe.post=$s;xe.patch=js;n();var vr=e=>{let t=e!=null?e:Do(I.getState());return t.endsWith("/")?t.slice(0,-1):t};n();var qs=A(require("axios"));n();var zs=A(require("swr"));var Ks=e=>{let r=`${vr()}/${At}/${e}?withGuardianInfo=true`;return xe.get(r)},fi=e=>L(void 0,null,function*(){if(!e)return null;try{let{data:t}=yield Ks(e);return t}catch(t){console.error("error fetching configuration for ",e,t)}return null});var Ti=e=>fi(e);n();function yi(e){let t=I.getState(),r=Ro(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();var hi=({accountNonce:e,transactionNonce:t})=>t&&t>e?t:e;function Xs({data:e,isGuarded:t}){let r=t?Kt:0,o=new kr.default(Ae).plus(r),i=new kr.default(In),l=e?i.times(a.Buffer.from(e).length):0;return o.plus(l).toString(10)}function xi(t){return L(this,arguments,function*({transactions:e}){let r=U(I.getState()),o=yield Ti(r),i=yi(o);return e.map(l=>{let{value:p,receiver:m,data:d="",chainID:y,version:x=1,options:h,gasPrice:S=be,gasLimit:v=Xs({data:l.data,isGuarded:o==null?void 0:o.isGuarded}),guardian:P,guardianSignature:re,nonce:pe=0}=l,Oe=m;try{Oe=new Ir.Address(m).hex()}catch(Si){throw"Invalid Receiver address"}let Et=hi({accountNonce:i,transactionNonce:pe}),Lt=yt(I.getState()).valueOf().toString(),F=y||Lt;return Ne({value:p,receiver:Oe,data:d,gasPrice:S,gasLimit:Number(v),nonce:Number(Et.valueOf().toString()),sender:new Ir.Address(r).hex(),chainID:F,version:x,options:h,guardian:P,guardianSignature:re})})})}var Se=r=>L(void 0,[r],function*({transactions:e,minGasLimit:t}){let o=e.every(l=>Object.getPrototypeOf(l).toPlainObject!=null),i=e;return o||(i=yield xi({transactions:e,minGasLimit:t})),i});function Er(x){return L(this,arguments,function*({transactions:e,transactionsDisplayInfo:t,redirectAfterSign:r=!0,callbackRoute:o=li(),signWithoutSending:i=!1,completedTransactionsDelay:l,sessionInformation:p,skipGuardian:m,hasConsentPopup:d,minGasLimit:y}){try{let h=U(I.getState()),S=e.flat(),v=yield Se({transactions:S,minGasLimit:y}),P=mi(e),{sessionId:re,error:pe}=yield le({transactions:v,minGasLimit:y,callbackRoute:o,transactionsDisplayInfo:t,customTransactionInformation:{grouping:P,redirectAfterSign:r,completedTransactionsDelay:l,sessionInformation:p,skipGuardian:m,signWithoutSending:i,hasConsentPopup:d}});return{error:pe,batchId:`${re}-${h}`}}catch(h){return console.error("error signing transaction",h),{error:h,batchId:null}}})}jest.mock("reduxStore/selectors",()=>({addressSelector:jest.fn()}));jest.mock("reduxStore/store",()=>({store:{getState:jest.fn()}}));jest.mock("utils/window/getWindowLocation",()=>({getWindowLocation:jest.fn()}));jest.mock("./signTransactions",()=>({signTransactions:jest.fn()}));jest.mock("./utils/transformTransactionsToSign",()=>({transformTransactionsToSign:jest.fn()}));describe("sendBatchTransactions",()=>{beforeEach(()=>{jest.clearAllMocks()}),it("should call all the dependencies and return the expected result",()=>L(exports,null,function*(){let e="erd1axhx4kenjlae6sknq7zjg2g4fvzavv979r2fg425p62wkl84avtqsf7vvv",t="12345",r=[[{receiver:e,sender:e,value:"0",data:"1"},{receiver:e,sender:e,value:"0",data:"2"}],[{receiver:e,sender:e,value:"0",data:"3"}],[{receiver:e,sender:e,value:"0",data:"4"},{receiver:e,sender:e,value:"0",data:"5"},{receiver:e,sender:e,value:"0",data:"6"}]],o={},i="/callback",l=21e3;U.mockReturnValue(e),I.getState.mockReturnValue(()=>{}),V.mockReturnValue({pathname:i}),le.mockResolvedValue({sessionId:t}),Se.mockResolvedValue([]);let p=yield Er({transactions:r,transactionsDisplayInfo:o,minGasLimit:l});expect(U).toHaveBeenCalled(),expect(I.getState).toHaveBeenCalled(),expect(V).toHaveBeenCalled(),expect(Se).toHaveBeenCalledWith({transactions:expect.any(Array),minGasLimit:l}),expect(le).toHaveBeenCalledWith({transactions:expect.any(Array),minGasLimit:l,callbackRoute:i,transactionsDisplayInfo:o,customTransactionInformation:{grouping:expect.any(Array),redirectAfterSign:!0,completedTransactionsDelay:void 0,sessionInformation:void 0,skipGuardian:void 0,signWithoutSending:!1}}),expect(p).toEqual({error:void 0,batchId:`${t}-${e}`})})),it("should prepare the grouping field with the indexes from the flat transactions array",()=>L(exports,null,function*(){let e="erd1axhx4kenjlae6sknq7zjg2g4fvzavv979r2fg425p62wkl84avtqsf7vvv",t="12345",r=[[{receiver:e,sender:e,value:"0",data:"1"},{receiver:e,sender:e,value:"0",data:"2"}],[{receiver:e,sender:e,value:"0",data:"3"}],[{receiver:e,sender:e,value:"0",data:"4"},{receiver:e,sender:e,value:"0",data:"5"},{receiver:e,sender:e,value:"0",data:"6"}]],o={},i="/callback",l=21e3;U.mockReturnValue(e),I.getState.mockReturnValue({}),V.mockReturnValue({pathname:i}),le.mockResolvedValue({sessionId:t}),Se.mockResolvedValue(r),yield Er({transactions:r,transactionsDisplayInfo:o,minGasLimit:l}),expect(le).toHaveBeenCalledWith({transactions:r,minGasLimit:l,callbackRoute:i,transactionsDisplayInfo:o,customTransactionInformation:{grouping:[[0,1],[2],[3,4,5]],redirectAfterSign:!0,completedTransactionsDelay:void 0,sessionInformation:void 0,skipGuardian:void 0,signWithoutSending:!1}})}))});
1
+ "use strict";var wi=Object.create;var we=Object.defineProperty,Ai=Object.defineProperties,bi=Object.getOwnPropertyDescriptor,vi=Object.getOwnPropertyDescriptors,Ii=Object.getOwnPropertyNames,Me=Object.getOwnPropertySymbols,ki=Object.getPrototypeOf,Nt=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable;var Lr=(e,t,r)=>t in e?we(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t)=>{for(var r in t||(t={}))Nt.call(t,r)&&Lr(e,r,t[r]);if(Me)for(var r of Me(t))Nr.call(t,r)&&Lr(e,r,t[r]);return e},w=(e,t)=>Ai(e,vi(t));var Rr=(e,t)=>{var r={};for(var o in e)Nt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&Me)for(var o of Me(e))t.indexOf(o)<0&&Nr.call(e,o)&&(r[o]=e[o]);return r};var T=(e,t)=>()=>(e&&(t=e(e=0)),t);var Fe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ue=(e,t)=>{for(var r in t)we(e,r,{get:t[r],enumerable:!0})},Cr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ii(t))!Nt.call(e,i)&&i!==r&&we(e,i,{get:()=>t[i],enumerable:!(o=bi(t,i))||o.enumerable});return e};var A=(e,t,r)=>(r=e!=null?wi(ki(e)):{},Cr(t||!e||!e.__esModule?we(r,"default",{value:e,enumerable:!0}):r,e)),Be=e=>Cr(we({},"__esModule",{value:!0}),e);var L=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(y){i(y)}},p=d=>{try{m(r.throw(d))}catch(y){i(y)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var _r=Fe(Ue=>{"use strict";n();Ue.byteLength=Li;Ue.toByteArray=Ri;Ue.fromByteArray=Pi;var V=[],_=[],Ei=typeof Uint8Array!="undefined"?Uint8Array:Array,Rt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ne=0,Dr=Rt.length;ne<Dr;++ne)V[ne]=Rt[ne],_[Rt.charCodeAt(ne)]=ne;var ne,Dr;_["-".charCodeAt(0)]=62;_["_".charCodeAt(0)]=63;function Pr(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var o=r===t?0:4-r%4;return[r,o]}function Li(e){var t=Pr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function Ni(e,t,r){return(t+r)*3/4-r}function Ri(e){var t,r=Pr(e),o=r[0],i=r[1],l=new Ei(Ni(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=_[e.charCodeAt(d)]<<18|_[e.charCodeAt(d+1)]<<12|_[e.charCodeAt(d+2)]<<6|_[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=_[e.charCodeAt(d)]<<2|_[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=_[e.charCodeAt(d)]<<10|_[e.charCodeAt(d+1)]<<4|_[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function Ci(e){return V[e>>18&63]+V[e>>12&63]+V[e>>6&63]+V[e&63]}function Di(e,t,r){for(var o,i=[],l=t;l<r;l+=3)o=(e[l]<<16&16711680)+(e[l+1]<<8&65280)+(e[l+2]&255),i.push(Ci(o));return i.join("")}function Pi(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(Di(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push(V[t>>2]+V[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push(V[t>>10]+V[t>>4&63]+V[t<<2&63]+"=")),i.join("")}});var Or=Fe(Ct=>{n();Ct.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,y=d>>1,x=-7,h=r?i-1:0,S=r?-1:1,v=e[t+h];for(h+=S,l=v&(1<<-x)-1,v>>=-x,x+=m;x>0;l=l*256+e[t+h],h+=S,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=S,x-=8);if(l===0)l=1-y;else{if(l===d)return p?NaN:(v?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-y}return(v?-1:1)*p*Math.pow(2,l-o)};Ct.write=function(e,t,r,o,i,l){var p,m,d,y=l*8-i-1,x=(1<<y)-1,h=x>>1,S=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=o?0:l-1,P=o?1:-1,re=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(m=isNaN(t)?1:0,p=x):(p=Math.floor(Math.log(t)/Math.LN2),t*(d=Math.pow(2,-p))<1&&(p--,d*=2),p+h>=1?t+=S/d:t+=S*Math.pow(2,1-h),t*d>=2&&(p++,d/=2),p+h>=x?(m=0,p=x):p+h>=1?(m=(t*d-1)*Math.pow(2,i),p=p+h):(m=t*Math.pow(2,h-1)*Math.pow(2,i),p=0));i>=8;e[r+v]=m&255,v+=P,m/=256,i-=8);for(p=p<<i|m,y+=i;y>0;e[r+v]=p&255,v+=P,p/=256,y-=8);e[r+v-P]|=re*128}});var Kr=Fe(me=>{"use strict";n();var Dt=_r(),de=Or(),Mr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;me.Buffer=u;me.SlowBuffer=Ui;me.INSPECT_MAX_BYTES=50;var We=2147483647;me.kMaxLength=We;u.TYPED_ARRAY_SUPPORT=_i();!u.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function _i(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch(r){return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.buffer}});Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(!!u.isBuffer(this))return this.byteOffset}});function K(e){if(e>We)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Mt(e)}return Ur(e,t,r)}u.poolSize=8192;function Ur(e,t,r){if(typeof e=="string")return Mi(e,t);if(ArrayBuffer.isView(e))return Fi(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(G(e,ArrayBuffer)||e&&G(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(G(e,SharedArrayBuffer)||e&&G(e.buffer,SharedArrayBuffer)))return _t(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(o!=null&&o!==e)return u.from(o,t,r);var i=Bi(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Ur(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Wr(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 Oi(e,t,r){return Wr(e),e<=0?K(e):t!==void 0?typeof r=="string"?K(e).fill(t,r):K(e).fill(t):K(e)}u.alloc=function(e,t,r){return Oi(e,t,r)};function Mt(e){return Wr(e),K(e<0?0:Ft(e)|0)}u.allocUnsafe=function(e){return Mt(e)};u.allocUnsafeSlow=function(e){return Mt(e)};function Mi(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=Vr(e,t)|0,o=K(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Pt(e){for(var t=e.length<0?0:Ft(e.length)|0,r=K(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function Fi(e){if(G(e,Uint8Array)){var t=new Uint8Array(e);return _t(t.buffer,t.byteOffset,t.byteLength)}return Pt(e)}function _t(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var o;return t===void 0&&r===void 0?o=new Uint8Array(e):r===void 0?o=new Uint8Array(e,t):o=new Uint8Array(e,t,r),Object.setPrototypeOf(o,u.prototype),o}function Bi(e){if(u.isBuffer(e)){var t=Ft(e.length)|0,r=K(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Bt(e.length)?K(0):Pt(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Pt(e.data)}function Ft(e){if(e>=We)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+We.toString(16)+" bytes");return e|0}function Ui(e){return+e!=e&&(e=0),u.alloc(+e)}u.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==u.prototype};u.compare=function(t,r){if(G(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),G(r,Uint8Array)&&(r=u.from(r,r.offset,r.byteLength)),!u.isBuffer(t)||!u.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;for(var o=t.length,i=r.length,l=0,p=Math.min(o,i);l<p;++l)if(t[l]!==r[l]){o=t[l],i=r[l];break}return o<i?-1:i<o?1:0};u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};u.concat=function(t,r){if(!Array.isArray(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return u.alloc(0);var o;if(r===void 0)for(r=0,o=0;o<t.length;++o)r+=t[o].length;var i=u.allocUnsafe(r),l=0;for(o=0;o<t.length;++o){var p=t[o];if(G(p,Uint8Array))l+p.length>i.length?u.from(p).copy(i,l):Uint8Array.prototype.set.call(i,p,l);else if(u.isBuffer(p))p.copy(i,l);else throw new TypeError('"list" argument must be an Array of Buffers');l+=p.length}return i};function Vr(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||G(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,o=arguments.length>2&&arguments[2]===!0;if(!o&&r===0)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return Ot(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return zr(e).length;default:if(i)return o?-1:Ot(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=Vr;function Wi(e,t,r){var o=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return Yi(this,t,r);case"utf8":case"utf-8":return $r(this,t,r);case"ascii":return Ki(this,t,r);case"latin1":case"binary":return Xi(this,t,r);case"base64":return qi(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zi(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function oe(e,t,r){var o=e[t];e[t]=e[r],e[r]=o}u.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)oe(this,r,r+1);return this};u.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)oe(this,r,r+3),oe(this,r+1,r+2);return this};u.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)oe(this,r,r+7),oe(this,r+1,r+6),oe(this,r+2,r+5),oe(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?$r(this,0,t):Wi.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=me.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Mr&&(u.prototype[Mr]=u.prototype.inspect);u.prototype.compare=function(t,r,o,i,l){if(G(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),i===void 0&&(i=0),l===void 0&&(l=this.length),r<0||o>t.length||i<0||l>this.length)throw new RangeError("out of range index");if(i>=l&&r>=o)return 0;if(i>=l)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,i>>>=0,l>>>=0,this===t)return 0;for(var p=l-i,m=o-r,d=Math.min(p,m),y=this.slice(i,l),x=t.slice(r,o),h=0;h<d;++h)if(y[h]!==x[h]){p=y[h],m=x[h];break}return p<m?-1:m<p?1:0};function Gr(e,t,r,o,i){if(e.length===0)return-1;if(typeof r=="string"?(o=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Bt(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof t=="string"&&(t=u.from(t,o)),u.isBuffer(t))return t.length===0?-1:Fr(e,t,r,o,i);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Fr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Fr(e,t,r,o,i){var l=1,p=e.length,m=t.length;if(o!==void 0&&(o=String(o).toLowerCase(),o==="ucs2"||o==="ucs-2"||o==="utf16le"||o==="utf-16le")){if(e.length<2||t.length<2)return-1;l=2,p/=2,m/=2,r/=2}function d(v,P){return l===1?v[P]:v.readUInt16BE(P*l)}var y;if(i){var x=-1;for(y=r;y<p;y++)if(d(e,y)===d(t,x===-1?0:y-x)){if(x===-1&&(x=y),y-x+1===m)return x*l}else x!==-1&&(y-=y-x),x=-1}else for(r+m>p&&(r=p-m),y=r;y>=0;y--){for(var h=!0,S=0;S<m;S++)if(d(e,y+S)!==d(t,S)){h=!1;break}if(h)return y}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return Gr(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return Gr(this,t,r,o,!1)};function Vi(e,t,r,o){r=Number(r)||0;var i=e.length-r;o?(o=Number(o),o>i&&(o=i)):o=i;var l=t.length;o>l/2&&(o=l/2);for(var p=0;p<o;++p){var m=parseInt(t.substr(p*2,2),16);if(Bt(m))return p;e[r+p]=m}return p}function Gi(e,t,r,o){return Ve(Ot(t,e.length-r),e,r,o)}function $i(e,t,r,o){return Ve(ea(t),e,r,o)}function Hi(e,t,r,o){return Ve(zr(t),e,r,o)}function ji(e,t,r,o){return Ve(ta(t,e.length-r),e,r,o)}u.prototype.write=function(t,r,o,i){if(r===void 0)i="utf8",o=this.length,r=0;else if(o===void 0&&typeof r=="string")i=r,o=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(o)?(o=o>>>0,i===void 0&&(i="utf8")):(i=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var l=this.length-r;if((o===void 0||o>l)&&(o=l),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var p=!1;;)switch(i){case"hex":return Vi(this,t,r,o);case"utf8":case"utf-8":return Gi(this,t,r,o);case"ascii":case"latin1":case"binary":return $i(this,t,r,o);case"base64":return Hi(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ji(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function qi(e,t,r){return t===0&&r===e.length?Dt.fromByteArray(e):Dt.fromByteArray(e.slice(t,r))}function $r(e,t,r){r=Math.min(e.length,r);for(var o=[],i=t;i<r;){var l=e[i],p=null,m=l>239?4:l>223?3:l>191?2:1;if(i+m<=r){var d,y,x,h;switch(m){case 1:l<128&&(p=l);break;case 2:d=e[i+1],(d&192)===128&&(h=(l&31)<<6|d&63,h>127&&(p=h));break;case 3:d=e[i+1],y=e[i+2],(d&192)===128&&(y&192)===128&&(h=(l&15)<<12|(d&63)<<6|y&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:d=e[i+1],y=e[i+2],x=e[i+3],(d&192)===128&&(y&192)===128&&(x&192)===128&&(h=(l&15)<<18|(d&63)<<12|(y&63)<<6|x&63,h>65535&&h<1114112&&(p=h))}}p===null?(p=65533,m=1):p>65535&&(p-=65536,o.push(p>>>10&1023|55296),p=56320|p&1023),o.push(p),i+=m}return zi(o)}var Br=4096;function zi(e){var t=e.length;if(t<=Br)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Br));return r}function Ki(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]&127);return o}function Xi(e,t,r){var o="";r=Math.min(e.length,r);for(var i=t;i<r;++i)o+=String.fromCharCode(e[i]);return o}function Yi(e,t,r){var o=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>o)&&(r=o);for(var i="",l=t;l<r;++l)i+=ra[e[l]];return i}function Zi(e,t,r){for(var o=e.slice(t,r),i="",l=0;l<o.length-1;l+=2)i+=String.fromCharCode(o[l]+o[l+1]*256);return i}u.prototype.slice=function(t,r){var o=this.length;t=~~t,r=r===void 0?o:~~r,t<0?(t+=o,t<0&&(t=0)):t>o&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),r<t&&(r=t);var i=this.subarray(t,r);return Object.setPrototypeOf(i,u.prototype),i};function N(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return i};u.prototype.readUintBE=u.prototype.readUIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t+--r],l=1;r>0&&(l*=256);)i+=this[t+--r]*l;return i};u.prototype.readUint8=u.prototype.readUInt8=function(t,r){return t=t>>>0,r||N(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||N(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||N(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||N(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};u.prototype.readUint32BE=u.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};u.prototype.readIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=this[t],l=1,p=0;++p<r&&(l*=256);)i+=this[t+p]*l;return l*=128,i>=l&&(i-=Math.pow(2,8*r)),i};u.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||N(t,r,this.length);for(var i=r,l=1,p=this[t+--i];i>0&&(l*=256);)p+=this[t+--i]*l;return l*=128,p>=l&&(p-=Math.pow(2,8*r)),p};u.prototype.readInt8=function(t,r){return t=t>>>0,r||N(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||N(t,2,this.length);var o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o};u.prototype.readInt16BE=function(t,r){t=t>>>0,r||N(t,2,this.length);var o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o};u.prototype.readInt32LE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};u.prototype.readInt32BE=function(t,r){return t=t>>>0,r||N(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};u.prototype.readFloatLE=function(t,r){return t=t>>>0,r||N(t,4,this.length),de.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||N(t,4,this.length),de.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||N(t,8,this.length),de.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||N(t,8,this.length),de.read(this,t,!1,52,8)};function R(e,t,r,o,i,l){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw new RangeError('"value" argument is out of bounds');if(r+o>e.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;R(this,t,r,o,l,0)}var p=1,m=0;for(this[r]=t&255;++m<o&&(p*=256);)this[r+m]=t/p&255;return r+o};u.prototype.writeUintBE=u.prototype.writeUIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,o=o>>>0,!i){var l=Math.pow(2,8*o)-1;R(this,t,r,o,l,0)}var p=o-1,m=1;for(this[r+p]=t&255;--p>=0&&(m*=256);)this[r+p]=t/m&255;return r+o};u.prototype.writeUint8=u.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,1,255,0),this[r]=t&255,r+1};u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};u.prototype.writeIntLE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);R(this,t,r,o,l-1,-l)}var p=0,m=1,d=0;for(this[r]=t&255;++p<o&&(m*=256);)t<0&&d===0&&this[r+p-1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeIntBE=function(t,r,o,i){if(t=+t,r=r>>>0,!i){var l=Math.pow(2,8*o-1);R(this,t,r,o,l-1,-l)}var p=o-1,m=1,d=0;for(this[r+p]=t&255;--p>=0&&(m*=256);)t<0&&d===0&&this[r+p+1]!==0&&(d=1),this[r+p]=(t/m>>0)-d&255;return r+o};u.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};u.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};u.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};u.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};u.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||R(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function Hr(e,t,r,o,i,l){if(r+o>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function jr(e,t,r,o,i){return t=+t,r=r>>>0,i||Hr(e,t,r,4,34028234663852886e22,-34028234663852886e22),de.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return jr(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return jr(this,t,r,!1,o)};function qr(e,t,r,o,i){return t=+t,r=r>>>0,i||Hr(e,t,r,8,17976931348623157e292,-17976931348623157e292),de.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return qr(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return qr(this,t,r,!1,o)};u.prototype.copy=function(t,r,o,i){if(!u.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!i&&i!==0&&(i=this.length),r>=t.length&&(r=t.length),r||(r=0),i>0&&i<o&&(i=o),i===o||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(o<0||o>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-r<i-o&&(i=t.length-r+o);var l=i-o;return this===t&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,o,i):Uint8Array.prototype.set.call(t,this.subarray(o,i),r),l};u.prototype.fill=function(t,r,o,i){if(typeof t=="string"){if(typeof r=="string"?(i=r,r=0,o=this.length):typeof o=="string"&&(i=o,o=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!u.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(t.length===1){var l=t.charCodeAt(0);(i==="utf8"&&l<128||i==="latin1")&&(t=l)}}else typeof t=="number"?t=t&255:typeof t=="boolean"&&(t=Number(t));if(r<0||this.length<r||this.length<o)throw new RangeError("Out of range index");if(o<=r)return this;r=r>>>0,o=o===void 0?this.length:o>>>0,t||(t=0);var p;if(typeof t=="number")for(p=r;p<o;++p)this[p]=t;else{var m=u.isBuffer(t)?t:u.from(t,i),d=m.length;if(d===0)throw new TypeError('The value "'+t+'" is invalid for argument "value"');for(p=0;p<o-r;++p)this[p+r]=m[p%d]}return this};var Ji=/[^+/0-9A-Za-z-_]/g;function Qi(e){if(e=e.split("=")[0],e=e.trim().replace(Ji,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Ot(e,t){t=t||1/0;for(var r,o=e.length,i=null,l=[],p=0;p<o;++p){if(r=e.charCodeAt(p),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&l.push(239,191,189);continue}else if(p+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&l.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;l.push(r)}else if(r<2048){if((t-=2)<0)break;l.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;l.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;l.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return l}function ea(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function ta(e,t){for(var r,o,i,l=[],p=0;p<e.length&&!((t-=2)<0);++p)r=e.charCodeAt(p),o=r>>8,i=r%256,l.push(i),l.push(o);return l}function zr(e){return Dt.toByteArray(Qi(e))}function Ve(e,t,r,o){for(var i=0;i<o&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function G(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Bt(e){return e!==e}var ra=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var o=r*16,i=0;i<16;++i)t[o+i]=e[r]+e[i];return t}()});var Qr=Fe((ec,Jr)=>{n();var k=Jr.exports={},$,H;function Ut(){throw new Error("setTimeout has not been defined")}function Wt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?$=setTimeout:$=Ut}catch(e){$=Ut}try{typeof clearTimeout=="function"?H=clearTimeout:H=Wt}catch(e){H=Wt}})();function Xr(e){if($===setTimeout)return setTimeout(e,0);if(($===Ut||!$)&&setTimeout)return $=setTimeout,setTimeout(e,0);try{return $(e,0)}catch(t){try{return $.call(null,e,0)}catch(r){return $.call(this,e,0)}}}function na(e){if(H===clearTimeout)return clearTimeout(e);if((H===Wt||!H)&&clearTimeout)return H=clearTimeout,clearTimeout(e);try{return H(e)}catch(t){try{return H.call(null,e)}catch(r){return H.call(this,e)}}}var X=[],ge=!1,ie,Ge=-1;function oa(){!ge||!ie||(ge=!1,ie.length?X=ie.concat(X):Ge=-1,X.length&&Yr())}function Yr(){if(!ge){var e=Xr(oa);ge=!0;for(var t=X.length;t;){for(ie=X,X=[];++Ge<t;)ie&&ie[Ge].run();Ge=-1,t=X.length}ie=null,ge=!1,na(e)}}k.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];X.push(new Zr(e,t)),X.length===1&&!ge&&Xr(Yr)};function Zr(e,t){this.fun=e,this.array=t}Zr.prototype.run=function(){this.fun.apply(null,this.array)};k.title="browser";k.browser=!0;k.env={};k.argv=[];k.version="";k.versions={};function Y(){}k.on=Y;k.addListener=Y;k.once=Y;k.off=Y;k.removeListener=Y;k.removeAllListeners=Y;k.emit=Y;k.prependListener=Y;k.prependOnceListener=Y;k.listeners=function(e){return[]};k.binding=function(e){throw new Error("process.binding is not supported")};k.cwd=function(){return"/"};k.chdir=function(e){throw new Error("process.chdir is not supported")};k.umask=function(){return 0}});var a,s,tc,n=T(()=>{a=A(Kr()),s=A(Qr()),tc=function(e){function t(){var o=this||self;return delete e.prototype.__magic__,o}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var r=__magic__;return r}(Object)});var en=T(()=>{"use strict";n()});var tn=T(()=>{"use strict";n()});var rn=T(()=>{"use strict";n()});var Vt,nn=T(()=>{"use strict";n();Vt=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(Vt||{})});var on=T(()=>{"use strict";n()});var Gt=T(()=>{"use strict";n()});var an=T(()=>{"use strict";n()});var sn=T(()=>{"use strict";n()});var cn=T(()=>{"use strict";n()});var ln=T(()=>{"use strict";n()});var $t,fe,Ht=T(()=>{"use strict";n();$t=require("@multiversx/sdk-dapp-utils/out/constants/crossWindowProviderConstants"),fe=require("@multiversx/sdk-dapp-utils/out/enums/crossWindowProviderEnums")});var pn,mc,un,gc,Z=T(()=>{"use strict";n();Ht();pn=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(pn||{}),mc=f(f({},fe.CrossWindowProviderRequestEnums),pn),un=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(un||{}),gc=f(f({},fe.CrossWindowProviderResponseEnums),un)});var dn=T(()=>{"use strict";n()});var mn=T(()=>{"use strict";n()});var C=T(()=>{"use strict";n()});var gn=T(()=>{"use strict";n()});var fn=T(()=>{"use strict";n()});var Tn=T(()=>{"use strict";n()});var O=T(()=>{"use strict";n();sn();cn();ln();Z();dn();mn();C();gn();fn();Tn()});var jt,yn,Cc,hn,Dc,xn,Pc,_c,Oc,Sn=T(()=>{"use strict";n();O();jt={devnet:{id:"devnet",chainId:"D",name:"Devnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://devnet-wallet.multiversx.com",xAliasAddress:"https://devnet.xalias.com",apiAddress:"https://devnet-api.multiversx.com",explorerAddress:"http://devnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},testnet:{id:"testnet",chainId:"T",name:"Testnet",egldLabel:"xEGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://testnet-wallet.multiversx.com",xAliasAddress:"https://testnet.xalias.com",apiAddress:"https://testnet-api.multiversx.com",explorerAddress:"http://testnet-explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3},mainnet:{id:"mainnet",chainId:"1",name:"Mainnet",egldLabel:"EGLD",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"https://maiar.page.link/?apn=com.elrond.maiar.wallet&isi=1519405832&ibi=com.elrond.maiar.wallet&link=https://xportal.com/",walletConnectBridgeAddresses:["https://bridge.walletconnect.org"],walletConnectV2RelayAddresses:["wss://relay.walletconnect.com"],walletAddress:"https://wallet.multiversx.com",xAliasAddress:"https://xalias.com",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000",roundDuration:6e3}},{chainId:yn,egldLabel:Cc}=jt["devnet"],{chainId:hn,egldLabel:Dc}=jt["testnet"],{chainId:xn,egldLabel:Pc}=jt["mainnet"],_c={["devnet"]:yn,["testnet"]:hn,["mainnet"]:xn},Oc={[yn]:"devnet",[hn]:"testnet",[xn]:"mainnet"}});var qt=T(()=>{"use strict";n()});var j,wn=T(()=>{"use strict";n();j=require("@multiversx/sdk-web-wallet-provider")});var An,bn,zt,Wc,Vc,vn=T(()=>{"use strict";n();Ht();zt=String((bn=(An=$t.safeWindow)==null?void 0:An.navigator)==null?void 0:bn.userAgent),Wc=/^((?!chrome|android).)*safari/i.test(zt),Vc=/firefox/i.test(zt)&&/windows/i.test(zt)});var In,Ae,Kt,be,kn,$e,En,Te,b=T(()=>{"use strict";n();en();tn();rn();nn();on();Gt();an();Sn();qt();wn();vn();In=1500,Ae=5e4,Kt=5e4,be=1e9,kn=1,$e="logout",En="login",Te="0"});var He,Xt=T(()=>{"use strict";n();He=()=>Date.now()/1e3});var Ln=T(()=>{"use strict";n()});var Nn=T(()=>{"use strict";n()});var Rn=T(()=>{"use strict";n();Xt();Ln();Nn()});var Yt={};ue(Yt,{clear:()=>ca,getItem:()=>aa,localStorageKeys:()=>ae,removeItem:()=>sa,setItem:()=>ia});var ae,je,ia,aa,sa,ca,ve=T(()=>{"use strict";n();Rn();ae={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},je=typeof localStorage!="undefined",ia=({key:e,data:t,expires:r})=>{!je||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},aa=e=>{if(!je)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:He()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},sa=e=>{!je||localStorage.removeItem(String(e))},ca=()=>{!je||localStorage.clear()}});var Zt={};ue(Zt,{clear:()=>_n,getItem:()=>Dn,removeItem:()=>Pn,setItem:()=>Cn,storage:()=>la});var Cn,Dn,Pn,_n,la,On=T(()=>{"use strict";n();Cn=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Dn=e=>{let t=sessionStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Date.now()>=r.expires?(sessionStorage.removeItem(String(e)),null):r.data},Pn=e=>sessionStorage.removeItem(String(e)),_n=()=>sessionStorage.clear(),la={setItem:Cn,getItem:Dn,removeItem:Pn,clear:_n}});var ye,qe=T(()=>{"use strict";n();ve();On();ye={session:Zt,local:Yt}});var Jt,E,ze,B=T(()=>{"use strict";n();Jt=require("@reduxjs/toolkit");b();E=(0,Jt.createAction)($e),ze=(0,Jt.createAction)(En,e=>({payload:e}))});var er,Mn,Fn,Ke,Qt,Bn,Un,hl,Wn,xl,Sl,wl,Al,bl,vl,Il,kl,Xe,Ye=T(()=>{"use strict";n();er=require("@multiversx/sdk-core"),Mn=require("@reduxjs/toolkit"),Fn=require("redux-persist");b();qe();ve();B();Ke={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:Te},Qt={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Ke},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Bn=(0,Mn.createSlice)({name:"accountInfoSlice",initialState:Qt,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=r?new er.Address(r).hex():""},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Ke},e.shard=t.payload.shard,e.isAccountLoading=!1,e.accountLoadingError=null},setAccountNonce:(e,t)=>{let{address:r}=e;e.accounts[r].nonce=t.payload},setAccountShard:(e,t)=>{e.shard=t.payload},setLedgerAccount:(e,t)=>{e.ledgerAccount=t.payload},updateLedgerAccount:(e,t)=>{e.ledgerAccount!=null&&(e.ledgerAccount.index=t.payload.index,e.ledgerAccount.address=t.payload.address)},setWalletConnectAccount:(e,t)=>{e.walletConnectAccount=t.payload},setIsAccountLoading:(e,t)=>{e.isAccountLoading=t.payload,e.accountLoadingError=null},setAccountLoadingError:(e,t)=>{e.accountLoadingError=t.payload,e.isAccountLoading=!1},setWebsocketEvent:(e,t)=>{e.websocketEvent={timestamp:Date.now(),message:t.payload}},setWebsocketBatchEvent:(e,t)=>{e.websocketBatchEvent={timestamp:Date.now(),data:t.payload}}},extraReducers:e=>{e.addCase(E,()=>(ye.local.removeItem(ae.loginExpiresAt),Qt)),e.addCase(ze,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new er.Address(o).hex()}),e.addCase(Fn.REHYDRATE,(t,r)=>{var y;if(!((y=r.payload)!=null&&y.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:Qt.accounts,t.publicKey=m})}}),{setAccount:Un,setAddress:hl,setAccountNonce:Wn,setAccountShard:xl,setLedgerAccount:Sl,updateLedgerAccount:wl,setWalletConnectAccount:Al,setIsAccountLoading:bl,setAccountLoadingError:vl,setWebsocketEvent:Il,setWebsocketBatchEvent:kl}=Bn.actions,Xe=Bn.reducer});function Ie(){return new Date().setHours(new Date().getHours()+24)}function ke(e){ye.local.setItem({key:ae.loginExpiresAt,data:e,expires:e})}var tr=T(()=>{"use strict";n();qe();ve()});var Gn,Vn,$n,Fl,Bl,Ul,Wl,Vl,Gl,Hn,$l,Hl,jl,Ze,Je=T(()=>{"use strict";n();Gn=require("@reduxjs/toolkit");tr();Z();B();Vn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,metamaskProxyWindowLogin:null,isLoginSessionInvalid:!1,webviewLogin:null},$n=(0,Gn.createSlice)({name:"loginInfoSlice",initialState:Vn,reducers:{setLoginMethod:(e,t)=>{e.loginMethod=t.payload},setTokenLogin:(e,t)=>{e.tokenLogin=t.payload},setTokenLoginSignature:(e,t)=>{(e==null?void 0:e.tokenLogin)!=null&&(e.tokenLogin.signature=t.payload)},setWalletLogin:(e,t)=>{e.walletLogin=t.payload},setWalletConnectLogin:(e,t)=>{e.walletConnectLogin=t.payload},setLedgerLogin:(e,t)=>{e.ledgerLogin=t.payload},setWebviewLogin:(e,t)=>{e.webviewLogin=t.payload},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(E,()=>Vn),e.addCase(ze,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,ke(Ie())})}}),{setLoginMethod:Fl,setWalletConnectLogin:Bl,setLedgerLogin:Ul,setTokenLogin:Wl,setTokenLoginSignature:Vl,setWalletLogin:Gl,invalidateLoginSession:Hn,setLogoutRoute:$l,setIsWalletConnectV2Initialized:Hl,setWebviewLogin:jl}=$n.actions,Ze=$n.reducer});var qn,jn,zn,Xl,Kn,Yl,Zl,Qe,et=T(()=>{"use strict";n();qn=require("@reduxjs/toolkit");B();jn={},zn=(0,qn.createSlice)({name:"modalsSlice",initialState:jn,reducers:{setTxSubmittedModal:(e,t)=>{e.txSubmittedModal=t.payload},setNotificationModal:(e,t)=>{e.notificationModal=t.payload},clearTxSubmittedModal:e=>{e.txSubmittedModal=void 0},clearNotificationModal:e=>{e.notificationModal=void 0}},extraReducers:e=>{e.addCase(E,()=>jn)}}),{setTxSubmittedModal:Xl,setNotificationModal:Kn,clearTxSubmittedModal:Yl,clearNotificationModal:Zl}=zn.actions,Qe=zn.reducer});var Xn=T(()=>{"use strict";n()});var Yn=T(()=>{"use strict";n();Xn()});function Zn(e){return e[Math.floor(Math.random()*e.length)]}var Jn=T(()=>{"use strict";n()});var Qn=T(()=>{"use strict";n();Gt()});var eo=T(()=>{"use strict";n();Yn();Jn();Qn()});var to,ro,no,rr,ua,oo,fp,Tp,yp,tt,rt=T(()=>{"use strict";n();to=require("@reduxjs/toolkit"),ro=A(require("lodash.omit")),no=require("redux-persist");qt();B();eo();rr={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},ua={network:rr},oo=(0,to.createSlice)({name:"appConfig",initialState:ua,reducers:{initializeNetworkConfig:(e,t)=>{let r=Zn(t.payload.walletConnectV2RelayAddresses),o=(0,ro.default)(t.payload,"walletConnectV2RelayAddresses");e.network=w(f(f({},e.network),o),{walletConnectV2RelayAddress:r})},updateNetworkConfig:(e,t)=>{e.network=f(f({},e.network),t.payload)},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(E,t=>{t.network.customWalletAddress=void 0}),e.addCase(no.REHYDRATE,(t,r)=>{var i,l;if(!((l=(i=r.payload)==null?void 0:i.network)!=null&&l.customWalletAddress))return;let{network:{customWalletAddress:o}}=r.payload;t.network.customWalletAddress=o})}}),{initializeNetworkConfig:fp,updateNetworkConfig:Tp,setCustomWalletAddress:yp}=oo.actions,tt=oo.reducer});var io,nr,ao,bp,vp,Ip,nt,ot=T(()=>{"use strict";n();io=require("@reduxjs/toolkit");O();B();nr={isSigning:!1,signedSessions:{}},ao=(0,io.createSlice)({name:"signedMessageInfoSliceState",initialState:nr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=f(f({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>f(f({},e),t.payload),clearSignedMessageInfo:()=>nr},extraReducers:e=>{e.addCase(E,()=>nr)}}),{setSignSession:bp,clearSignedMessageInfo:vp,setSignSessionState:Ip}=ao.actions,nt=ao.reducer});var co,lo,so,po,Dp,Pp,_p,Op,at,st=T(()=>{"use strict";n();co=require("@reduxjs/toolkit"),lo=require("redux-persist");O();Xt();B();so={customToasts:[],transactionToasts:[]},po=(0,co.createSlice)({name:"toastsSlice",initialState:so,reducers:{addCustomToast:(e,t)=>{let r=t.payload.toastId||`custom-toast-${e.customToasts.length+1}`,o=e.customToasts.findIndex(i=>i.toastId===r);if(o!==-1){e.customToasts[o]=w(f(f({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(w(f({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:He(),toastId:t.payload||`custom-toast-${e.transactionToasts.length+1}`})},removeTransactionToast:(e,t)=>{e.transactionToasts=e.transactionToasts.filter(r=>r.toastId!==t.payload)}},extraReducers:e=>{e.addCase(E,()=>so),e.addCase(lo.REHYDRATE,(t,r)=>{var i,l;let o=(l=(i=r.customToasts)==null?void 0:i.filter(p=>!("component"in p)))!=null?l:[];t.customToasts=o})}}),{addCustomToast:Dp,removeCustomToast:Pp,addTransactionToast:_p,removeTransactionToast:Op}=po.actions,at=po.reducer});var uo,ir,ar,sr,da,or,mo,Up,go,Wp,ct,lt=T(()=>{"use strict";n();uo=require("@reduxjs/toolkit");B();ir="Transaction failed",ar="Transaction successful",sr="Processing transaction",da="Transaction submitted",or={},mo=(0,uo.createSlice)({name:"transactionsInfo",initialState:or,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||ir,successMessage:(o==null?void 0:o.successMessage)||ar,processingMessage:(o==null?void 0:o.processingMessage)||sr,submittedMessage:(o==null?void 0:o.submittedMessage)||da,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>or},extraReducers:e=>{e.addCase(E,()=>or)}}),{clearTransactionsInfo:Up,setTransactionsDisplayInfo:go,clearTransactionsInfoForSessionId:Wp}=mo.actions,ct=mo.reducer});function fo(e){return e!=null&&(ba(e)||La(e))}function pt(e){return e!=null&&(va(e)||Na(e))}function ut(e){return e!=null&&(Ia(e)||Ra(e))}function To(e){return e!=null&&(ka(e)||Ca(e))}function yo(e){return e!=null&&Ea(e)}function ba(e){return e!=null&&ga.includes(e)}function va(e){return e!=null&&fa.includes(e)}function Ia(e){return e!=null&&Ta.includes(e)}function ka(e){return e!=null&&ya.includes(e)}function Ea(e){return e!=null&&ha.includes(e)}function La(e){return e!=null&&xa.includes(e)}function Na(e){return e!=null&&Sa.includes(e)}function Ra(e){return e!=null&&wa.includes(e)}function Ca(e){return e!=null&&Aa.includes(e)}var ga,fa,Ta,ya,ha,xa,Sa,wa,Aa,lr=T(()=>{"use strict";n();Z();ga=["sent"],fa=["success"],Ta=["fail","cancelled","timedOut"],ya=["invalid"],ha=["timedOut"],xa=["pending"],Sa=["success"],wa=["fail","invalid"],Aa=["not executed"]});var ho,xo,Ee,Da,So,Xp,Yp,wo,Zp,Jp,Qp,eu,tu,Ao,ru,nu,dt,mt=T(()=>{"use strict";n();ho=require("@reduxjs/toolkit"),xo=require("redux-persist");Z();lr();B();Ee={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},Da={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},So=(0,ho.createSlice)({name:"transactionsSlice",initialState:Ee,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,y;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:m}=t.payload;e.customTransactionInformationForSessionId[r]=f(f(f({},Da),((d=e.signedTransactions[r])==null?void 0:d.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:f(f({},e.customTransactionInformationForSessionId[r]),m!=null?m:{})},((y=e==null?void 0:e.transactionsToSign)==null?void 0:y.sessionId)===r&&(e.transactionsToSign=Ee.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=f(f({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var y,x,h,S,v,P,re,pe;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,serverTransaction:p,inTransit:m}=t.payload,d=(x=(y=e.signedTransactions)==null?void 0:y[r])==null?void 0:x.transactions;if(d!=null){e.signedTransactions[r].transactions=d.map(F=>F.hash===l?w(f(f({},p!=null?p:{}),F),{status:o,errorMessage:i,inTransit:m}):F);let Oe=(S=(h=e.signedTransactions[r])==null?void 0:h.transactions)==null?void 0:S.every(F=>pt(F.status)),Et=(P=(v=e.signedTransactions[r])==null?void 0:v.transactions)==null?void 0:P.some(F=>ut(F.status)),Lt=(pe=(re=e.signedTransactions[r])==null?void 0:re.transactions)==null?void 0:pe.every(F=>To(F.status));Oe&&(e.signedTransactions[r].status="success"),Et&&(e.signedTransactions[r].status="fail"),Lt&&(e.signedTransactions[r].status="invalid")}},setTransactionsToSign:(e,t)=>{e.transactionsToSign=t.payload;let{sessionId:r,customTransactionInformation:o}=t.payload;e.customTransactionInformationForSessionId[r]=o,e.signTransactionsError=null},clearAllTransactionsToSign:e=>{e.transactionsToSign=Ee.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Ee.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=f(f({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(E,()=>Ee),e.addCase(xo.REHYDRATE,(t,r)=>{var p;if(t.signTransactionsCancelMessage=null,!((p=r.payload)!=null&&p.transactions))return;let{signedTransactions:o,customTransactionInformationForSessionId:i}=r.payload.transactions,l=Object.entries(o).reduce((m,[d,y])=>{let x=new Date(d),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(m[d]=y),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Xp,updateSignedTransactions:Yp,setTransactionsToSign:wo,clearAllTransactionsToSign:Zp,clearAllSignedTransactions:Jp,clearSignedTransaction:Qp,clearTransactionToSign:eu,setSignTransactionsError:tu,setSignTransactionsCancelMessage:Ao,moveTransactionsToSignedState:ru,updateSignedTransactionsCustomTransactionInformation:nu}=So.actions,dt=So.reducer});var bo,pr,vo,su,cu,lu,pu,gt,ft=T(()=>{"use strict";n();bo=require("@reduxjs/toolkit");B();pr={},vo=(0,bo.createSlice)({name:"batchTransactionsSlice",initialState:pr,reducers:{setBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},updateBatchTransactions:(e,t)=>{e[t.payload.id]=t.payload},clearBatchTransactions:(e,t)=>{delete e[t.payload.batchId]},clearAllBatchTransactions:()=>pr},extraReducers:e=>{e.addCase(E,()=>pr)}}),{setBatchTransactions:su,updateBatchTransactions:cu,clearBatchTransactions:lu,clearAllBatchTransactions:pu}=vo.actions,gt=vo.reducer});var ko,Io,Eo,gu,Lo,ur=T(()=>{"use strict";n();ko=require("@reduxjs/toolkit");B();Io={},Eo=(0,ko.createSlice)({name:"dappConfigSlice",initialState:Io,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(E,()=>Io)}}),{setDappConfig:gu}=Eo.actions,Lo=Eo.reducer});var se=T(()=>{"use strict";n();Ye();Je();et();rt();ot();st();lt();mt();ft();ur()});var fr=T(()=>{"use strict";n()});var Uo,Wa,Va,ce,wt=T(()=>{"use strict";n();Uo=require("@reduxjs/toolkit");fr();Ye();ft();ur();Je();et();rt();ot();st();lt();mt();Wa={["account"]:Xe,["dappConfig"]:Lo,["loginInfo"]:Ze,["modals"]:Qe,["networkConfig"]:tt,["signedMessageInfo"]:nt,["toasts"]:at,["transactionsInfo"]:ct,["transactions"]:dt,["batchTransactions"]:gt},Va=(e={})=>(0,Uo.combineReducers)(f(f({},Wa),e)),ce=Va});var $o={};ue($o,{default:()=>ns,sessionStorageReducers:()=>Tr});function ee(e,t=[]){return{key:e,version:1,storage:Vo.default,blacklist:t}}var D,Wo,Vo,Ga,Re,$a,Ha,ja,qa,za,Ka,Xa,Ya,Za,Ja,Go,Qa,Tr,es,ts,rs,ns,Ho=T(()=>{"use strict";n();D=require("redux-persist"),Wo=A(require("redux-persist/lib/storage")),Vo=A(require("redux-persist/lib/storage/session"));wt();se();Ye();ft();Je();et();rt();ot();st();lt();mt();fr();Ga={persistReducersStorageType:"localStorage"},Re={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},$a=ee(Re["account"]),Ha=ee(Re["loginInfo"]),ja=ee(Re["modals"]),qa=ee(Re["networkConfig"]),za={2:e=>w(f({},e),{networkConfig:rr})};Ka=ee("sdk-dapp-transactionsInfo"),Xa=ee("sdk-dapp-transactions",["transactionsToSign"]),Ya=ee("sdk-dapp-batchTransactions",["batchTransactions"]),Za=ee("sdk-dapp-toasts"),Ja=ee("sdk-dapp-signedMessageInfo"),Go={key:"sdk-dapp-store",version:2,storage:Wo.default,whitelist:Object.keys(Re),migrate:(0,D.createMigrate)(za,{debug:!1})},Qa=w(f({},Go),{whitelist:[]}),Tr={["toasts"]:(0,D.persistReducer)(Za,at),["transactions"]:(0,D.persistReducer)(Xa,dt),["transactionsInfo"]:(0,D.persistReducer)(Ka,ct),["batchTransactions"]:(0,D.persistReducer)(Ya,gt),["signedMessageInfo"]:(0,D.persistReducer)(Ja,nt)},es=w(f({},Tr),{["account"]:(0,D.persistReducer)($a,Xe),["loginInfo"]:(0,D.persistReducer)(Ha,Ze),["modals"]:(0,D.persistReducer)(ja,Qe),["networkConfig"]:(0,D.persistReducer)(qa,tt)}),ts=Ga.persistReducersStorageType==="localStorage",rs=ts?(0,D.persistReducer)(Go,ce(Tr)):(0,D.persistReducer)(Qa,ce(es)),ns=rs});var jo={};ue(jo,{default:()=>os});var os,qo=T(()=>{"use strict";n();wt();os=ce()});var zo={};ue(zo,{default:()=>as});var M,is,as,Ko=T(()=>{"use strict";n();M=require("redux-persist"),is=[M.FLUSH,M.REHYDRATE,M.PAUSE,M.PERSIST,M.PURGE,M.REGISTER],as=is});var Zo={};ue(Zo,{default:()=>Yo});function Yo(e){return(0,Xo.persistStore)(e)}var Xo,Jo=T(()=>{"use strict";n();Xo=require("redux-persist")});n();n();n();se();n();var No=A(require("lodash.isequal")),Tt=require("reselect"),g=(0,Tt.createSelectorCreator)(Tt.defaultMemoize,No.default);var q=e=>e.account,U=g(q,e=>e.address),dr=g(q,U,(e,t)=>t in e.accounts?e.accounts[t]:Ke),Ru=g(q,dr,(e,t)=>{let i=e,{accounts:r}=i,o=Rr(i,["accounts"]);return w(f({},o),{address:t.address,account:t})}),Cu=g(dr,e=>e.balance),Ro=g(dr,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),Du=g(q,e=>e.shard),Pu=g(q,e=>e.ledgerAccount),_u=g(q,e=>e.walletConnectAccount),Ou=g(q,e=>e.isAccountLoading),Mu=g(q,e=>e.accountLoadingError),Fu=g(q,e=>e.websocketEvent),Bu=g(q,e=>e.websocketBatchEvent);n();var Pa=e=>e.dappConfig,Vu=g(Pa,e=>e.shouldUseWebViewProvider);n();var J=e=>e.loginInfo,ju=g(J,e=>e.loginMethod),qu=g(J,U,(e,t)=>Boolean(t)),zu=g(J,e=>e.walletConnectLogin),Ku=g(J,e=>e.ledgerLogin),Xu=g(J,e=>e.walletLogin),Yu=g(J,e=>e.isLoginSessionInvalid),Zu=g(J,e=>e.tokenLogin),Ju=g(J,e=>e.logoutRoute),Qu=g(J,e=>e.isWalletConnectV2Initialized);n();var Co=e=>e.modals,rd=g(Co,e=>e.txSubmittedModal),nd=g(Co,e=>e.notificationModal);n();var Q=e=>e.networkConfig,yt=g(Q,e=>e.network.chainId),ad=g(Q,e=>e.network.roundDuration),sd=g(Q,e=>e.network.walletConnectBridgeAddress),cd=g(Q,e=>e.network.walletConnectV2RelayAddress),ld=g(Q,e=>e.network.walletConnectV2ProjectId),pd=g(Q,e=>e.network.walletConnectV2Options),ud=g(Q,e=>e.network.walletConnectDeepLink),Le=g(Q,e=>e.network),Do=g(Le,e=>e.apiAddress),Po=g(Le,e=>e.explorerAddress),dd=g(Le,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),md=g(Le,e=>e.xAliasAddress),gd=g(Le,e=>e.egldLabel);n();var ht=e=>e.signedMessageInfo,yd=g(ht,e=>e.isSigning),hd=g(ht,e=>e.errorMessage),xd=g(ht,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Sd=g(ht,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var _o=e=>e.toasts,bd=g(_o,e=>e.customToasts),vd=g(_o,e=>e.transactionToasts);n();se();var Oo={errorMessage:ir,successMessage:ar,processingMessage:sr},_a=e=>e.transactionsInfo,Ld=g(_a,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Oo);n();n();var z=require("@multiversx/sdk-core");b();n();var gr=require("@multiversx/sdk-core/out");n();n();function mr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64"),l=e===r||r.startsWith(e),p=e===i||i.startsWith(e);if(l&&p)return!0}catch(t){return!1}return!1}n();n();n();n();var Mo=e=>{let t=e!=null?e:"";return mr(t)?gr.TransactionPayload.fromEncoded(t):new gr.TransactionPayload(t)};n();b();var he=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(Vt).some(r=>e.startsWith(r)):!1;function Ne(e){var o,i,l;let t=f({},e);he({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new z.Transaction(f(f(w(f(w(f({value:t.value.valueOf(),data:Mo(t.data),nonce:t.nonce.valueOf(),receiver:new z.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new z.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Ae,gasPrice:(i=t.gasPrice.valueOf())!=null?i:be,chainID:t.chainID.valueOf(),version:new z.TransactionVersion((l=t.version)!=null?l:kn)}),t.options?{options:new z.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new z.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(a.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(a.Buffer.from(t.signature,"hex")),r}n();n();b();n();n();var yr=require("@reduxjs/toolkit"),ri=require("react-redux/lib/utils/Subscription");se();n();var Fo=A(require("lodash.throttle"));b();se();tr();qe();ve();var Fa=[$e],xt=!1,Ba=(0,Fo.default)(()=>{ke(Ie())},5e3),Bo=e=>t=>r=>{if(Fa.includes(r.type))return t(r);let o=e.getState(),i=ye.local.getItem(ae.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return ke(Ie());let p=Date.now();return i-p<0&&!xt?setTimeout(()=>{xt=!0,e.dispatch(Hn())},1e3):(xt&&(xt=!1),Ba()),t(r)};n();n();function St(){return typeof sessionStorage!="undefined"}var Qo=St()?(Ho(),Be($o)).default:(qo(),Be(jo)).default,ei=St()?(Ko(),Be(zo)).default:[],ti=St()?(Jo(),Be(Zo)).default:e=>e;wt();var I=(0,yr.configureStore)({reducer:Qo,middleware:e=>e({serializableCheck:{ignoredActions:[...ei,Wn.type,Un.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Bo)}),Fm=(0,ri.createSubscription)(I),Bm=ti(I),Um=(0,yr.configureStore)({reducer:ce});n();n();var cs=require("@multiversx/sdk-core/out");n();b();n();var oi=require("@multiversx/sdk-core");O();n();var ls=require("@multiversx/sdk-core");n();n();n();var ps=require("@multiversx/sdk-core"),us=A(require("bignumber.js"));Z();n();n();n();var At="accounts";n();n();n();n();C();n();n();C();n();n();n();var ys=A(require("bignumber.js"));b();n();var Ts=require("@multiversx/sdk-core"),hr=A(require("bignumber.js"));b();n();var gs=A(require("bignumber.js"));n();hr.default.config({ROUNDING_MODE:hr.default.ROUND_FLOOR});n();n();n();b();n();n();n();n();b();n();b();n();var hs=require("@multiversx/sdk-core");b();n();var De=require("@multiversx/sdk-core"),Ss=A(require("bignumber.js"));b();n();n();var xs=A(require("bignumber.js"));b();n();b();n();n();n();n();n();n();b();n();b();n();b();n();C();var As=["reDelegateRewards","claimRewards","unBond"],bs=["wrapEgld","unwrapEgld"],vs=["unStake"],Is=["unDelegate"];n();n();n();b();n();var Ls=A(require("bignumber.js"));n();n();C();n();var Rs=A(require("bignumber.js"));n();n();n();n();var Ds=A(require("bignumber.js"));O();n();n();n();n();Z();n();var Os=require("@multiversx/sdk-web-wallet-provider");b();n();var _s=A(require("qs"));n();n();n();n();n();var Pe=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var W=()=>{if(!Pe())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}};n();var li=()=>{let{pathname:e,search:t,hash:r}=W();return`${e!=null?e:""}${t!=null?t:""}${r!=null?r:""}`};n();var dh={search:Pe()?window.location.search:"",removeParams:[]};n();n();n();n();C();n();n();n();var Ms=A(require("linkifyjs"));n();b();n();var Fs=A(require("bignumber.js"));n();O();n();n();Z();n();Z();n();n();n();C();n();C();n();var Bs=A(require("bignumber.js"));b();C();n();C();n();var ui=require("react");O();n();n();C();n();n();var Us=require("@multiversx/sdk-core/out"),Ws=A(require("bignumber.js"));C();n();O();n();n();O();var aS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var di=require("react");O();n();var Gs=require("react");C();var gS=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];lr();n();var It=e=>e.transactions,_e=g(It,e=>e.signedTransactions),ow=g(It,e=>e.signTransactionsError),iw=g(It,e=>e.signTransactionsCancelMessage),kt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),aw=g(_e,kt(fo)),sw=g(_e,kt(pt)),cw=g(_e,kt(ut)),lw=g(_e,kt(yo)),pw=g(It,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:w(f({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>Ne(r)))||[]})}),uw=g(_e,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});n();n();var mi=e=>{let t=0;return e.map(r=>r.map(()=>t++))};n();se();O();function le(i){return L(this,arguments,function*({transactions:e,callbackRoute:t,customTransactionInformation:r,transactionsDisplayInfo:o}){var h;let l=I.getState(),p=Date.now().toString(),m=yt(l),d=Array.isArray(e)?e:[e];if(!(d==null?void 0:d.every(S=>S.getChainID().valueOf()===m.valueOf()))){let S={type:"warning",iconClassName:"text-warning",title:"Network change detected",description:"The application tried to change the transaction network"};return I.dispatch(Kn(S)),{error:"Invalid ChainID",sessionId:null}}let x={sessionId:p,callbackRoute:t,customTransactionInformation:w(f({},r!=null?r:{}),{signWithoutSending:(h=r==null?void 0:r.signWithoutSending)!=null?h:!0}),transactions:d.map(S=>{let v=S.toPlainObject();return he({data:v.data,onlySetGuardian:!0})?v:w(f({},v),{senderUsername:S.getSenderUsername().valueOf(),receiverUsername:S.getReceiverUsername().valueOf()})})};return I.dispatch(Ao(null)),I.dispatch(wo(x)),I.dispatch(go({sessionId:p,transactionsDisplayInfo:o})),{sessionId:p}})}n();n();var Ir=require("@multiversx/sdk-core"),kr=A(require("bignumber.js"));b();n();n();n();n();n();var gi=require("@lifeomic/axios-fetch"),wr=A(require("axios")),Ar=(0,gi.buildAxiosFetch)(wr.default),br=(e,t)=>L(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function $s(e,t,r){return L(this,null,function*(){try{let o=yield Ar(e,f({method:"POST",body:t?JSON.stringify(t):void 0,headers:f({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return br(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function Hs(e,t){return L(this,null,function*(){try{let r=yield Ar(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return br(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function js(e,t,r){return L(this,null,function*(){try{let o=yield Ar(e,f({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return br(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var xe=wr.default.create();xe.get=Hs;xe.post=$s;xe.patch=js;n();var vr=e=>{let t=e!=null?e:Do(I.getState());return t.endsWith("/")?t.slice(0,-1):t};n();var qs=A(require("axios"));n();var zs=A(require("swr"));var Ks=e=>{let r=`${vr()}/${At}/${e}?withGuardianInfo=true`;return xe.get(r)},fi=e=>L(void 0,null,function*(){if(!e)return null;try{let{data:t}=yield Ks(e);return t}catch(t){console.error("error fetching configuration for ",e,t)}return null});var Ti=e=>fi(e);n();function yi(e){let t=I.getState(),r=Ro(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();var hi=({accountNonce:e,transactionNonce:t})=>t&&t>e?t:e;function Xs({data:e,isGuarded:t}){let r=t?Kt:0,o=new kr.default(Ae).plus(r),i=new kr.default(In),l=e?i.times(a.Buffer.from(e).length):0;return o.plus(l).toString(10)}function xi(t){return L(this,arguments,function*({transactions:e}){let r=U(I.getState()),o=yield Ti(r),i=yi(o);return e.map(l=>{let{value:p,receiver:m,data:d="",chainID:y,version:x=1,options:h,gasPrice:S=be,gasLimit:v=Xs({data:l.data,isGuarded:o==null?void 0:o.isGuarded}),guardian:P,guardianSignature:re,nonce:pe=0}=l,Oe=m;try{Oe=new Ir.Address(m).hex()}catch(Si){throw"Invalid Receiver address"}let Et=hi({accountNonce:i,transactionNonce:pe}),Lt=yt(I.getState()).valueOf().toString(),F=y||Lt;return Ne({value:p,receiver:Oe,data:d,gasPrice:S,gasLimit:Number(v),nonce:Number(Et.valueOf().toString()),sender:new Ir.Address(r).hex(),chainID:F,version:x,options:h,guardian:P,guardianSignature:re})})})}var Se=r=>L(void 0,[r],function*({transactions:e,minGasLimit:t}){let o=e.every(l=>Object.getPrototypeOf(l).toPlainObject!=null),i=e;return o||(i=yield xi({transactions:e,minGasLimit:t})),i});function Er(x){return L(this,arguments,function*({transactions:e,transactionsDisplayInfo:t,redirectAfterSign:r=!0,callbackRoute:o=li(),signWithoutSending:i=!1,completedTransactionsDelay:l,sessionInformation:p,skipGuardian:m,hasConsentPopup:d,minGasLimit:y}){try{let h=U(I.getState()),S=e.flat(),v=yield Se({transactions:S,minGasLimit:y}),P=mi(e),{sessionId:re,error:pe}=yield le({transactions:v,minGasLimit:y,callbackRoute:o,transactionsDisplayInfo:t,customTransactionInformation:{grouping:P,redirectAfterSign:r,completedTransactionsDelay:l,sessionInformation:p,skipGuardian:m,signWithoutSending:i,hasConsentPopup:d}});return{error:pe,batchId:`${re}-${h}`}}catch(h){return console.error("error signing transaction",h),{error:h,batchId:null}}})}jest.mock("reduxStore/selectors",()=>({addressSelector:jest.fn()}));jest.mock("reduxStore/store",()=>({store:{getState:jest.fn()}}));jest.mock("utils/window/getWindowLocation",()=>({getWindowLocation:jest.fn()}));jest.mock("./signTransactions",()=>({signTransactions:jest.fn()}));jest.mock("./utils/transformTransactionsToSign",()=>({transformTransactionsToSign:jest.fn()}));describe("sendBatchTransactions",()=>{beforeEach(()=>{jest.clearAllMocks()}),it("should call all the dependencies and return the expected result",()=>L(exports,null,function*(){let e="erd1axhx4kenjlae6sknq7zjg2g4fvzavv979r2fg425p62wkl84avtqsf7vvv",t="12345",r=[[{receiver:e,sender:e,value:"0",data:"1"},{receiver:e,sender:e,value:"0",data:"2"}],[{receiver:e,sender:e,value:"0",data:"3"}],[{receiver:e,sender:e,value:"0",data:"4"},{receiver:e,sender:e,value:"0",data:"5"},{receiver:e,sender:e,value:"0",data:"6"}]],o={},i="/callback",l=21e3;U.mockReturnValue(e),I.getState.mockReturnValue(()=>{}),W.mockReturnValue({pathname:i}),le.mockResolvedValue({sessionId:t}),Se.mockResolvedValue([]);let p=yield Er({transactions:r,transactionsDisplayInfo:o,minGasLimit:l});expect(U).toHaveBeenCalled(),expect(I.getState).toHaveBeenCalled(),expect(W).toHaveBeenCalled(),expect(Se).toHaveBeenCalledWith({transactions:expect.any(Array),minGasLimit:l}),expect(le).toHaveBeenCalledWith({transactions:expect.any(Array),minGasLimit:l,callbackRoute:i,transactionsDisplayInfo:o,customTransactionInformation:{grouping:expect.any(Array),redirectAfterSign:!0,completedTransactionsDelay:void 0,sessionInformation:void 0,skipGuardian:void 0,signWithoutSending:!1}}),expect(p).toEqual({error:void 0,batchId:`${t}-${e}`})})),it("should prepare the grouping field with the indexes from the flat transactions array",()=>L(exports,null,function*(){let e="erd1axhx4kenjlae6sknq7zjg2g4fvzavv979r2fg425p62wkl84avtqsf7vvv",t="12345",r=[[{receiver:e,sender:e,value:"0",data:"1"},{receiver:e,sender:e,value:"0",data:"2"}],[{receiver:e,sender:e,value:"0",data:"3"}],[{receiver:e,sender:e,value:"0",data:"4"},{receiver:e,sender:e,value:"0",data:"5"},{receiver:e,sender:e,value:"0",data:"6"}]],o={},i="/callback",l=21e3;U.mockReturnValue(e),I.getState.mockReturnValue({}),W.mockReturnValue({pathname:i}),le.mockResolvedValue({sessionId:t}),Se.mockResolvedValue(r),yield Er({transactions:r,transactionsDisplayInfo:o,minGasLimit:l}),expect(le).toHaveBeenCalledWith({transactions:r,minGasLimit:l,callbackRoute:i,transactionsDisplayInfo:o,customTransactionInformation:{grouping:[[0,1],[2],[3,4,5]],redirectAfterSign:!0,completedTransactionsDelay:void 0,sessionInformation:void 0,skipGuardian:void 0,signWithoutSending:!1}})}))});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -15,6 +15,7 @@ export interface BaseNetworkType {
15
15
  walletConnectV2Options?: Record<string, any>;
16
16
  xAliasAddress?: string;
17
17
  roundDuration: number;
18
+ metamaskSnapWalletAddress?: string;
18
19
  }
19
20
  export interface AccountInfoSliceNetworkType extends BaseNetworkType {
20
21
  walletConnectBridgeAddress: string;
@@ -42,6 +43,7 @@ export interface CustomNetworkType {
42
43
  apiTimeout?: string | number;
43
44
  walletConnectV2ProjectId?: string;
44
45
  walletConnectV2Options?: any;
46
+ metamaskSnapWalletAddress?: string;
45
47
  }
46
48
  export interface ApiNetworkConfigType {
47
49
  erd_chain_id: string;
@@ -1,4 +1,4 @@
1
- "use strict";var vr=Object.create;var z=Object.defineProperty;var Tr=Object.getOwnPropertyDescriptor;var Ur=Object.getOwnPropertyNames;var Ir=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var br=(t,r)=>()=>(t&&(r=t(t=0)),r);var D=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports);var rr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Ur(r))!Cr.call(t,i)&&i!==e&&z(t,i,{get:()=>r[i],enumerable:!(n=Tr(r,i))||n.enumerable});return t};var er=(t,r,e)=>(e=t!=null?vr(Ir(t)):{},rr(r||!t||!t.__esModule?z(e,"default",{value:t,enumerable:!0}):e,t)),Lr=t=>rr(z({},"__esModule",{value:!0}),t);var ir=D(N=>{"use strict";E();N.byteLength=kr;N.toByteArray=Mr;N.fromByteArray=Vr;var d=[],m=[],Sr=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,tr=H.length;U<tr;++U)d[U]=H[U],m[H.charCodeAt(U)]=U;var U,tr;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function nr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function kr(t){var r=nr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Rr(t,r,e){return(r+e)*3/4-e}function Mr(t){var r,e=nr(t),n=e[0],i=e[1],o=new Sr(Rr(t,n,i)),u=0,h=i>0?n-4:n,f;for(f=0;f<h;f+=4)r=m[t.charCodeAt(f)]<<18|m[t.charCodeAt(f+1)]<<12|m[t.charCodeAt(f+2)]<<6|m[t.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=m[t.charCodeAt(f)]<<2|m[t.charCodeAt(f+1)]>>4,o[u++]=r&255),i===1&&(r=m[t.charCodeAt(f)]<<10|m[t.charCodeAt(f+1)]<<4|m[t.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Dr(t){return d[t>>18&63]+d[t>>12&63]+d[t>>6&63]+d[t&63]}function Nr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Dr(n));return i.join("")}function Vr(t){for(var r,e=t.length,n=e%3,i=[],o=16383,u=0,h=e-n;u<h;u+=o)i.push(Nr(t,u,u+o>h?h:u+o));return n===1?(r=t[e-1],i.push(d[r>>2]+d[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(d[r>>10]+d[r>>4&63]+d[r<<2&63]+"=")),i.join("")}});var or=D(X=>{E();X.read=function(t,r,e,n,i){var o,u,h=i*8-n-1,f=(1<<h)-1,s=f>>1,c=-7,p=e?i-1:0,g=e?-1:1,x=t[r+p];for(p+=g,o=x&(1<<-c)-1,x>>=-c,c+=h;c>0;o=o*256+t[r+p],p+=g,c-=8);for(u=o&(1<<-c)-1,o>>=-c,c+=n;c>0;u=u*256+t[r+p],p+=g,c-=8);if(o===0)o=1-s;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-s}return(x?-1:1)*u*Math.pow(2,o-n)};X.write=function(t,r,e,n,i,o){var u,h,f,s=o*8-i-1,c=(1<<s)-1,p=c>>1,g=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:o-1,b=n?1:-1,_r=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=c):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=g/f:r+=g*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=c?(h=0,u=c):u+p>=1?(h=(r*f-1)*Math.pow(2,i),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,i),u=0));i>=8;t[e+x]=h&255,x+=b,h/=256,i-=8);for(u=u<<i|h,s+=i;s>0;t[e+x]=u&255,x+=b,u/=256,s-=8);t[e+x-b]|=_r*128}});var gr=D(S=>{"use strict";E();var G=ir(),L=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;S.Buffer=a;S.SlowBuffer=Xr;S.INSPECT_MAX_BYTES=50;var W=2147483647;S.kMaxLength=W;a.TYPED_ARRAY_SUPPORT=Wr();!a.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 Wr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function _(t){if(t>W)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(t)}return fr(t,r,e)}a.poolSize=8192;function fr(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return zr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(F(t,ArrayBuffer)||t&&F(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(t,SharedArrayBuffer)||t&&F(t.buffer,SharedArrayBuffer)))return J(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return a.from(n,r,e);var i=Hr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return fr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Yr(t,r,e){return pr(t),t<=0?_(t):r!==void 0?typeof e=="string"?_(t).fill(r,e):_(t).fill(r):_(t)}a.alloc=function(t,r,e){return Yr(t,r,e)};function K(t){return pr(t),_(t<0?0:Z(t)|0)}a.allocUnsafe=function(t){return K(t)};a.allocUnsafeSlow=function(t){return K(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=sr(t,r)|0,n=_(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function O(t){for(var r=t.length<0?0:Z(t.length)|0,e=_(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function zr(t){if(F(t,Uint8Array)){var r=new Uint8Array(t);return J(r.buffer,r.byteOffset,r.byteLength)}return O(t)}function J(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,a.prototype),n}function Hr(t){if(a.isBuffer(t)){var r=Z(t.length)|0,e=_(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||P(t.length)?_(0):O(t);if(t.type==="Buffer"&&Array.isArray(t.data))return O(t.data)}function Z(t){if(t>=W)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+W.toString(16)+" bytes");return t|0}function Xr(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(F(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};a.isEncoding=function(r){switch(String(r).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}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=a.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var u=r[n];if(F(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function sr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||F(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return mr(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=sr;function Gr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ee(this,r,e);case"utf8":case"utf-8":return lr(this,r,e);case"ascii":return jr(this,r,e);case"latin1":case"binary":return re(this,r,e);case"base64":return Pr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function I(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)I(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)I(this,e,e+3),I(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)I(this,e,e+7),I(this,e+1,e+6),I(this,e+2,e+5),I(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?lr(this,0,r):Gr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=S.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,e,n,i,o){if(F(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,h=n-e,f=Math.min(u,h),s=this.slice(i,o),c=r.slice(e,n),p=0;p<f;++p)if(s[p]!==c[p]){u=s[p],h=c[p];break}return u<h?-1:h<u?1:0};function cr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,P(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:ar(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):ar(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function ar(t,r,e,n,i){var o=1,u=t.length,h=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,h/=2,e/=2}function f(x,b){return o===1?x[b]:x.readUInt16BE(b*o)}var s;if(i){var c=-1;for(s=e;s<u;s++)if(f(t,s)===f(r,c===-1?0:s-c)){if(c===-1&&(c=s),s-c+1===h)return c*o}else c!==-1&&(s-=s-c),c=-1}else for(e+h>u&&(e=u-h),s=e;s>=0;s--){for(var p=!0,g=0;g<h;g++)if(f(t,s+g)!==f(r,g)){p=!1;break}if(p)return s}return-1}a.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};a.prototype.indexOf=function(r,e,n){return cr(this,r,e,n,!0)};a.prototype.lastIndexOf=function(r,e,n){return cr(this,r,e,n,!1)};function Or(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var h=parseInt(r.substr(u*2,2),16);if(P(h))return u;t[e+u]=h}return u}function Jr(t,r,e,n){return Y(Q(r,t.length-e),t,e,n)}function Qr(t,r,e,n){return Y(oe(r),t,e,n)}function Kr(t,r,e,n){return Y(mr(r),t,e,n)}function Zr(t,r,e,n){return Y(ue(r,t.length-e),t,e,n)}a.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return Or(this,r,e,n);case"utf8":case"utf-8":return Jr(this,r,e,n);case"ascii":case"latin1":case"binary":return Qr(this,r,e,n);case"base64":return Kr(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zr(this,r,e,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pr(t,r,e){return r===0&&e===t.length?G.fromByteArray(t):G.fromByteArray(t.slice(r,e))}function lr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],u=null,h=o>239?4:o>223?3:o>191?2:1;if(i+h<=e){var f,s,c,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=t[i+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=t[i+1],s=t[i+2],(f&192)===128&&(s&192)===128&&(p=(o&15)<<12|(f&63)<<6|s&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=t[i+1],s=t[i+2],c=t[i+3],(f&192)===128&&(s&192)===128&&(c&192)===128&&(p=(o&15)<<18|(f&63)<<12|(s&63)<<6|c&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=h}return $r(n)}var hr=4096;function $r(t){var r=t.length;if(r<=hr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=hr));return e}function jr(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function re(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function ee(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=ae[t[o]];return i}function te(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,a.prototype),i};function w(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||w(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||w(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||w(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};a.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||w(r,e,this.length);for(var i=e,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||w(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||w(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||w(r,4,this.length),L.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||w(r,4,this.length),L.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||w(r,8,this.length),L.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||w(r,8,this.length),L.read(this,r,!1,52,8)};function y(t,r,e,n,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=1,h=0;for(this[e]=r&255;++h<n&&(u*=256);)this[e+h]=r/u&255;return e+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=n-1,h=1;for(this[e+u]=r&255;--u>=0&&(h*=256);)this[e+u]=r/h&255;return e+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=0,h=1,f=0;for(this[e]=r&255;++u<n&&(h*=256);)r<0&&f===0&&this[e+u-1]!==0&&(f=1),this[e+u]=(r/h>>0)-f&255;return e+n};a.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=n-1,h=1,f=0;for(this[e+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[e+u+1]!==0&&(f=1),this[e+u]=(r/h>>0)-f&255;return e+n};a.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function wr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}a.prototype.writeFloatLE=function(r,e,n){return yr(this,r,e,!0,n)};a.prototype.writeFloatBE=function(r,e,n){return yr(this,r,e,!1,n)};function xr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,n){return xr(this,r,e,!0,n)};a.prototype.writeDoubleBE=function(r,e,n){return xr(this,r,e,!1,n)};a.prototype.copy=function(r,e,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};a.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<n;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,i),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-e;++u)this[u+e]=h[u%f]}return this};var ne=/[^+/0-9A-Za-z-_]/g;function ie(t){if(t=t.split("=")[0],t=t.trim().replace(ne,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],u=0;u<n;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function oe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ue(t,r){for(var e,n,i,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function mr(t){return G.toByteArray(ie(t))}function Y(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function F(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function P(t){return t!==t}var ae=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Br=D((ye,Ar)=>{E();var l=Ar.exports={},A,B;function $(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=$}catch(t){A=$}try{typeof clearTimeout=="function"?B=clearTimeout:B=j}catch(t){B=j}})();function Er(t){if(A===setTimeout)return setTimeout(t,0);if((A===$||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(r){try{return A.call(null,t,0)}catch(e){return A.call(this,t,0)}}}function he(t){if(B===clearTimeout)return clearTimeout(t);if((B===j||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(t);try{return B(t)}catch(r){try{return B.call(null,t)}catch(e){return B.call(this,t)}}}var v=[],k=!1,C,q=-1;function fe(){!k||!C||(k=!1,C.length?v=C.concat(v):q=-1,v.length&&dr())}function dr(){if(!k){var t=Er(fe);k=!0;for(var r=v.length;r;){for(C=v,v=[];++q<r;)C&&C[q].run();q=-1,r=v.length}C=null,k=!1,he(t)}}l.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];v.push(new Fr(t,r)),v.length===1&&!k&&Er(dr)};function Fr(t,r){this.fun=t,this.array=r}Fr.prototype.run=function(){this.fun.apply(null,this.array)};l.title="browser";l.browser=!0;l.env={};l.argv=[];l.version="";l.versions={};function T(){}l.on=T;l.addListener=T;l.once=T;l.off=T;l.removeListener=T;l.removeAllListeners=T;l.emit=T;l.prependListener=T;l.prependOnceListener=T;l.listeners=function(t){return[]};l.binding=function(t){throw new Error("process.binding is not supported")};l.cwd=function(){return"/"};l.chdir=function(t){throw new Error("process.chdir is not supported")};l.umask=function(){return 0}});var R,M,xe,E=br(()=>{R=er(gr()),M=er(Br()),xe=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var pe={};module.exports=Lr(pe);E();
1
+ "use strict";var vr=Object.create;var z=Object.defineProperty;var Tr=Object.getOwnPropertyDescriptor;var Ur=Object.getOwnPropertyNames;var Ir=Object.getPrototypeOf,Cr=Object.prototype.hasOwnProperty;var br=(t,r)=>()=>(t&&(r=t(t=0)),r);var D=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports);var rr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Ur(r))!Cr.call(t,i)&&i!==e&&z(t,i,{get:()=>r[i],enumerable:!(n=Tr(r,i))||n.enumerable});return t};var er=(t,r,e)=>(e=t!=null?vr(Ir(t)):{},rr(r||!t||!t.__esModule?z(e,"default",{value:t,enumerable:!0}):e,t)),Lr=t=>rr(z({},"__esModule",{value:!0}),t);var ir=D(N=>{"use strict";d();N.byteLength=kr;N.toByteArray=Mr;N.fromByteArray=Wr;var E=[],m=[],Sr=typeof Uint8Array!="undefined"?Uint8Array:Array,H="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(U=0,tr=H.length;U<tr;++U)E[U]=H[U],m[H.charCodeAt(U)]=U;var U,tr;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function nr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function kr(t){var r=nr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Rr(t,r,e){return(r+e)*3/4-e}function Mr(t){var r,e=nr(t),n=e[0],i=e[1],o=new Sr(Rr(t,n,i)),u=0,h=i>0?n-4:n,f;for(f=0;f<h;f+=4)r=m[t.charCodeAt(f)]<<18|m[t.charCodeAt(f+1)]<<12|m[t.charCodeAt(f+2)]<<6|m[t.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return i===2&&(r=m[t.charCodeAt(f)]<<2|m[t.charCodeAt(f+1)]>>4,o[u++]=r&255),i===1&&(r=m[t.charCodeAt(f)]<<10|m[t.charCodeAt(f+1)]<<4|m[t.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Dr(t){return E[t>>18&63]+E[t>>12&63]+E[t>>6&63]+E[t&63]}function Nr(t,r,e){for(var n,i=[],o=r;o<e;o+=3)n=(t[o]<<16&16711680)+(t[o+1]<<8&65280)+(t[o+2]&255),i.push(Dr(n));return i.join("")}function Wr(t){for(var r,e=t.length,n=e%3,i=[],o=16383,u=0,h=e-n;u<h;u+=o)i.push(Nr(t,u,u+o>h?h:u+o));return n===1?(r=t[e-1],i.push(E[r>>2]+E[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(E[r>>10]+E[r>>4&63]+E[r<<2&63]+"=")),i.join("")}});var or=D(X=>{d();X.read=function(t,r,e,n,i){var o,u,h=i*8-n-1,f=(1<<h)-1,s=f>>1,c=-7,p=e?i-1:0,g=e?-1:1,x=t[r+p];for(p+=g,o=x&(1<<-c)-1,x>>=-c,c+=h;c>0;o=o*256+t[r+p],p+=g,c-=8);for(u=o&(1<<-c)-1,o>>=-c,c+=n;c>0;u=u*256+t[r+p],p+=g,c-=8);if(o===0)o=1-s;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,n),o=o-s}return(x?-1:1)*u*Math.pow(2,o-n)};X.write=function(t,r,e,n,i,o){var u,h,f,s=o*8-i-1,c=(1<<s)-1,p=c>>1,g=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=n?0:o-1,b=n?1:-1,_r=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(h=isNaN(r)?1:0,u=c):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=g/f:r+=g*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=c?(h=0,u=c):u+p>=1?(h=(r*f-1)*Math.pow(2,i),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,i),u=0));i>=8;t[e+x]=h&255,x+=b,h/=256,i-=8);for(u=u<<i|h,s+=i;s>0;t[e+x]=u&255,x+=b,u/=256,s-=8);t[e+x-b]|=_r*128}});var gr=D(S=>{"use strict";d();var G=ir(),L=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;S.Buffer=a;S.SlowBuffer=Xr;S.INSPECT_MAX_BYTES=50;var V=2147483647;S.kMaxLength=V;a.TYPED_ARRAY_SUPPORT=Vr();!a.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 Vr(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.buffer}});Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(!!a.isBuffer(this))return this.byteOffset}});function _(t){if(t>V)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,a.prototype),r}function a(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(t)}return fr(t,r,e)}a.poolSize=8192;function fr(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return zr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(F(t,ArrayBuffer)||t&&F(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(F(t,SharedArrayBuffer)||t&&F(t.buffer,SharedArrayBuffer)))return J(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return a.from(n,r,e);var i=Hr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return a.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}a.from=function(t,r,e){return fr(t,r,e)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Yr(t,r,e){return pr(t),t<=0?_(t):r!==void 0?typeof e=="string"?_(t).fill(r,e):_(t).fill(r):_(t)}a.alloc=function(t,r,e){return Yr(t,r,e)};function K(t){return pr(t),_(t<0?0:Z(t)|0)}a.allocUnsafe=function(t){return K(t)};a.allocUnsafeSlow=function(t){return K(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=sr(t,r)|0,n=_(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function O(t){for(var r=t.length<0?0:Z(t.length)|0,e=_(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function zr(t){if(F(t,Uint8Array)){var r=new Uint8Array(t);return J(r.buffer,r.byteOffset,r.byteLength)}return O(t)}function J(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,a.prototype),n}function Hr(t){if(a.isBuffer(t)){var r=Z(t.length)|0,e=_(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||P(t.length)?_(0):O(t);if(t.type==="Buffer"&&Array.isArray(t.data))return O(t.data)}function Z(t){if(t>=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return t|0}function Xr(t){return+t!=t&&(t=0),a.alloc(+t)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,e){if(F(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(r)||!a.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,o=0,u=Math.min(n,i);o<u;++o)if(r[o]!==e[o]){n=r[o],i=e[o];break}return n<i?-1:i<n?1:0};a.isEncoding=function(r){switch(String(r).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}};a.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=a.allocUnsafe(e),o=0;for(n=0;n<r.length;++n){var u=r[n];if(F(u,Uint8Array))o+u.length>i.length?a.from(u).copy(i,o):Uint8Array.prototype.set.call(i,u,o);else if(a.isBuffer(u))u.copy(i,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return i};function sr(t,r){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||F(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return Q(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return mr(t).length;default:if(i)return n?-1:Q(t).length;r=(""+r).toLowerCase(),i=!0}}a.byteLength=sr;function Gr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return ee(this,r,e);case"utf8":case"utf-8":return lr(this,r,e);case"ascii":return jr(this,r,e);case"latin1":case"binary":return re(this,r,e);case"base64":return Pr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}a.prototype._isBuffer=!0;function I(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}a.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)I(this,e,e+1);return this};a.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)I(this,e,e+3),I(this,e+1,e+2);return this};a.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)I(this,e,e+7),I(this,e+1,e+6),I(this,e+2,e+5),I(this,e+3,e+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?lr(this,0,r):Gr.apply(this,arguments)};a.prototype.toLocaleString=a.prototype.toString;a.prototype.equals=function(r){if(!a.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:a.compare(this,r)===0};a.prototype.inspect=function(){var r="",e=S.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,e,n,i,o){if(F(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),!a.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),o===void 0&&(o=this.length),e<0||n>r.length||i<0||o>this.length)throw new RangeError("out of range index");if(i>=o&&e>=n)return 0;if(i>=o)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,o>>>=0,this===r)return 0;for(var u=o-i,h=n-e,f=Math.min(u,h),s=this.slice(i,o),c=r.slice(e,n),p=0;p<f;++p)if(s[p]!==c[p]){u=s[p],h=c[p];break}return u<h?-1:h<u?1:0};function cr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,P(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=a.from(r,n)),a.isBuffer(r))return r.length===0?-1:ar(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):ar(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function ar(t,r,e,n,i){var o=1,u=t.length,h=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;o=2,u/=2,h/=2,e/=2}function f(x,b){return o===1?x[b]:x.readUInt16BE(b*o)}var s;if(i){var c=-1;for(s=e;s<u;s++)if(f(t,s)===f(r,c===-1?0:s-c)){if(c===-1&&(c=s),s-c+1===h)return c*o}else c!==-1&&(s-=s-c),c=-1}else for(e+h>u&&(e=u-h),s=e;s>=0;s--){for(var p=!0,g=0;g<h;g++)if(f(t,s+g)!==f(r,g)){p=!1;break}if(p)return s}return-1}a.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};a.prototype.indexOf=function(r,e,n){return cr(this,r,e,n,!0)};a.prototype.lastIndexOf=function(r,e,n){return cr(this,r,e,n,!1)};function Or(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var o=r.length;n>o/2&&(n=o/2);for(var u=0;u<n;++u){var h=parseInt(r.substr(u*2,2),16);if(P(h))return u;t[e+u]=h}return u}function Jr(t,r,e,n){return Y(Q(r,t.length-e),t,e,n)}function Qr(t,r,e,n){return Y(oe(r),t,e,n)}function Kr(t,r,e,n){return Y(mr(r),t,e,n)}function Zr(t,r,e,n){return Y(ue(r,t.length-e),t,e,n)}a.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-e;if((n===void 0||n>o)&&(n=o),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var u=!1;;)switch(i){case"hex":return Or(this,r,e,n);case"utf8":case"utf-8":return Jr(this,r,e,n);case"ascii":case"latin1":case"binary":return Qr(this,r,e,n);case"base64":return Kr(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Zr(this,r,e,n);default:if(u)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pr(t,r,e){return r===0&&e===t.length?G.fromByteArray(t):G.fromByteArray(t.slice(r,e))}function lr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var o=t[i],u=null,h=o>239?4:o>223?3:o>191?2:1;if(i+h<=e){var f,s,c,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=t[i+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=t[i+1],s=t[i+2],(f&192)===128&&(s&192)===128&&(p=(o&15)<<12|(f&63)<<6|s&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=t[i+1],s=t[i+2],c=t[i+3],(f&192)===128&&(s&192)===128&&(c&192)===128&&(p=(o&15)<<18|(f&63)<<12|(s&63)<<6|c&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|u&1023),n.push(u),i+=h}return $r(n)}var hr=4096;function $r(t){var r=t.length;if(r<=hr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=hr));return e}function jr(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function re(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function ee(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",o=r;o<e;++o)i+=ae[t[o]];return i}function te(t,r,e){for(var n=t.slice(r,e),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+n[o+1]*256);return i}a.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,a.prototype),i};function w(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||w(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return i};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||w(r,e,this.length);for(var i=this[r+--e],o=1;e>0&&(o*=256);)i+=this[r+--e]*o;return i};a.prototype.readUint8=a.prototype.readUInt8=function(r,e){return r=r>>>0,e||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||w(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};a.prototype.readUint32BE=a.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||w(r,e,this.length);for(var i=this[r],o=1,u=0;++u<e&&(o*=256);)i+=this[r+u]*o;return o*=128,i>=o&&(i-=Math.pow(2,8*e)),i};a.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||w(r,e,this.length);for(var i=e,o=1,u=this[r+--i];i>0&&(o*=256);)u+=this[r+--i]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*e)),u};a.prototype.readInt8=function(r,e){return r=r>>>0,e||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,e){r=r>>>0,e||w(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};a.prototype.readInt16BE=function(r,e){r=r>>>0,e||w(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};a.prototype.readInt32LE=function(r,e){return r=r>>>0,e||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,e){return r=r>>>0,e||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,e){return r=r>>>0,e||w(r,4,this.length),L.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,e){return r=r>>>0,e||w(r,4,this.length),L.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||w(r,8,this.length),L.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||w(r,8,this.length),L.read(this,r,!1,52,8)};function y(t,r,e,n,i,o){if(!a.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<o)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=1,h=0;for(this[e]=r&255;++h<n&&(u*=256);)this[e+h]=r/u&255;return e+n};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var o=Math.pow(2,8*n)-1;y(this,r,e,n,o,0)}var u=n-1,h=1;for(this[e+u]=r&255;--u>=0&&(h*=256);)this[e+u]=r/h&255;return e+n};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,255,0),this[e]=r&255,e+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};a.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=0,h=1,f=0;for(this[e]=r&255;++u<n&&(h*=256);)r<0&&f===0&&this[e+u-1]!==0&&(f=1),this[e+u]=(r/h>>0)-f&255;return e+n};a.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var o=Math.pow(2,8*n-1);y(this,r,e,n,o-1,-o)}var u=n-1,h=1,f=0;for(this[e+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[e+u+1]!==0&&(f=1),this[e+u]=(r/h>>0)-f&255;return e+n};a.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};a.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};a.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};a.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};a.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||y(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function wr(t,r,e,n,i,o){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,4,34028234663852886e22,-34028234663852886e22),L.write(t,r,e,n,23,4),e+4}a.prototype.writeFloatLE=function(r,e,n){return yr(this,r,e,!0,n)};a.prototype.writeFloatBE=function(r,e,n){return yr(this,r,e,!1,n)};function xr(t,r,e,n,i){return r=+r,e=e>>>0,i||wr(t,r,e,8,17976931348623157e292,-17976931348623157e292),L.write(t,r,e,n,52,8),e+8}a.prototype.writeDoubleLE=function(r,e,n){return xr(this,r,e,!0,n)};a.prototype.writeDoubleBE=function(r,e,n){return xr(this,r,e,!1,n)};a.prototype.copy=function(r,e,n,i){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var o=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),o};a.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!a.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var o=r.charCodeAt(0);(i==="utf8"&&o<128||i==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var u;if(typeof r=="number")for(u=e;u<n;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,i),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<n-e;++u)this[u+e]=h[u%f]}return this};var ne=/[^+/0-9A-Za-z-_]/g;function ie(t){if(t=t.split("=")[0],t=t.trim().replace(ne,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function Q(t,r){r=r||1/0;for(var e,n=t.length,i=null,o=[],u=0;u<n;++u){if(e=t.charCodeAt(u),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===n){(r-=3)>-1&&o.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&o.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&o.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;o.push(e)}else if(e<2048){if((r-=2)<0)break;o.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;o.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;o.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return o}function oe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function ue(t,r){for(var e,n,i,o=[],u=0;u<t.length&&!((r-=2)<0);++u)e=t.charCodeAt(u),n=e>>8,i=e%256,o.push(i),o.push(n);return o}function mr(t){return G.toByteArray(ie(t))}function Y(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function F(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function P(t){return t!==t}var ae=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var Br=D((ye,Ar)=>{d();var l=Ar.exports={},A,B;function $(){throw new Error("setTimeout has not been defined")}function j(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?A=setTimeout:A=$}catch(t){A=$}try{typeof clearTimeout=="function"?B=clearTimeout:B=j}catch(t){B=j}})();function dr(t){if(A===setTimeout)return setTimeout(t,0);if((A===$||!A)&&setTimeout)return A=setTimeout,setTimeout(t,0);try{return A(t,0)}catch(r){try{return A.call(null,t,0)}catch(e){return A.call(this,t,0)}}}function he(t){if(B===clearTimeout)return clearTimeout(t);if((B===j||!B)&&clearTimeout)return B=clearTimeout,clearTimeout(t);try{return B(t)}catch(r){try{return B.call(null,t)}catch(e){return B.call(this,t)}}}var v=[],k=!1,C,q=-1;function fe(){!k||!C||(k=!1,C.length?v=C.concat(v):q=-1,v.length&&Er())}function Er(){if(!k){var t=dr(fe);k=!0;for(var r=v.length;r;){for(C=v,v=[];++q<r;)C&&C[q].run();q=-1,r=v.length}C=null,k=!1,he(t)}}l.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];v.push(new Fr(t,r)),v.length===1&&!k&&dr(Er)};function Fr(t,r){this.fun=t,this.array=r}Fr.prototype.run=function(){this.fun.apply(null,this.array)};l.title="browser";l.browser=!0;l.env={};l.argv=[];l.version="";l.versions={};function T(){}l.on=T;l.addListener=T;l.once=T;l.off=T;l.removeListener=T;l.removeAllListeners=T;l.emit=T;l.prependListener=T;l.prependOnceListener=T;l.listeners=function(t){return[]};l.binding=function(t){throw new Error("process.binding is not supported")};l.cwd=function(){return"/"};l.chdir=function(t){throw new Error("process.chdir is not supported")};l.umask=function(){return 0}});var R,M,xe,d=br(()=>{R=er(gr()),M=er(Br()),xe=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var pe={};module.exports=Lr(pe);d();
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *