@multiversx/sdk-dapp 2.28.7-alpha.21 → 2.28.7-alpha.22

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 (1005) 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/ConfirmAmountNftSft/ConfirmAmountNftSft.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/index.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/ConfirmReceiver.js +1 -1
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmReceiver/index.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/index.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  41. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  42. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  43. package/UI/SignTransactionsModals/SignWithWalletConnectModal/SignWithWalletConnectModal.js +1 -1
  44. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  45. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  46. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  47. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  48. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  49. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  50. package/UI/SignTransactionsModals/components/index.js +1 -1
  51. package/UI/SignTransactionsModals/index.js +1 -1
  52. package/UI/TokenDetails/index.js +1 -1
  53. package/UI/TransactionData/TransactionData.js +1 -1
  54. package/UI/TransactionData/index.js +1 -1
  55. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  56. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  57. package/UI/TransactionDetails/components/index.js +1 -1
  58. package/UI/TransactionDetails/index.js +1 -1
  59. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  60. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  61. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  62. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  63. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  64. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  65. package/UI/TransactionInfo/components/DataField/components/ModalLink/ModalLink.js +1 -1
  66. package/UI/TransactionInfo/components/DataField/components/ModalLink/index.js +1 -1
  67. package/UI/TransactionInfo/components/DataField/components/index.js +1 -1
  68. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  69. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  70. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  71. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  72. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  73. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  74. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  75. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  76. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  77. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  78. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  79. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  80. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  81. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  82. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  83. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  84. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  85. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  86. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  87. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  88. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  89. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  90. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  91. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  92. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  93. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  94. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  95. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  96. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  97. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  98. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  99. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  100. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  101. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  102. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  103. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  104. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  105. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  106. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  107. package/UI/TransactionInfo/components/index.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  122. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  123. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  131. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  134. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  135. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  136. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  137. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  138. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  139. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  140. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  141. package/UI/TransactionInfo/index.js +1 -1
  142. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  143. package/UI/TransactionsTable/components/AccountName.js +1 -1
  144. package/UI/TransactionsTable/components/FailedTransactions.js +1 -1
  145. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  146. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  147. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  148. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  149. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  150. package/UI/TransactionsTable/components/TransactionMethod.js +1 -1
  151. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  152. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  153. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  154. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  155. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  156. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  157. package/UI/TransactionsTable/components/index.js +1 -1
  158. package/UI/TransactionsTable/index.js +1 -1
  159. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  160. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  161. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  162. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  163. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  164. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  165. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  166. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  167. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  168. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  169. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  170. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  171. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  172. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  173. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  174. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  175. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  176. package/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  177. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  178. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  179. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  180. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  181. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  182. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  183. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  184. package/UI/TransactionsToastList/components/index.js +1 -1
  185. package/UI/TransactionsToastList/index.js +1 -1
  186. package/UI/Trim/Trim.js +1 -1
  187. package/UI/Trim/index.js +1 -1
  188. package/UI/UsdValue/UsdValue.js +1 -1
  189. package/UI/UsdValue/index.js +1 -1
  190. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  191. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  192. package/UI/index.js +1 -1
  193. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  194. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  195. package/UI/ledger/LedgerLoginContainer/AddressRow/AddressRow.js +1 -1
  196. package/UI/ledger/LedgerLoginContainer/AddressRow/index.js +1 -1
  197. package/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +1 -1
  198. package/UI/ledger/LedgerLoginContainer/AddressTable/index.js +1 -1
  199. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/ConfirmAddress.js +1 -1
  200. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/getAuthTokenText.js +1 -1
  201. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/helpers/index.js +1 -1
  202. package/UI/ledger/LedgerLoginContainer/ConfirmAddress/index.js +1 -1
  203. package/UI/ledger/LedgerLoginContainer/LedgerConnect/LedgerConnect.js +1 -1
  204. package/UI/ledger/LedgerLoginContainer/LedgerConnect/index.js +1 -1
  205. package/UI/ledger/LedgerLoginContainer/LedgerLoading/LedgerLoading.js +1 -1
  206. package/UI/ledger/LedgerLoginContainer/LedgerLoading/index.js +1 -1
  207. package/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +1 -1
  208. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/LedgerLoginContent.js +1 -1
  209. package/UI/ledger/LedgerLoginContainer/LedgerLoginContent/index.js +1 -1
  210. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/LedgerLoginContentBody.js +1 -1
  211. package/UI/ledger/LedgerLoginContainer/LedgerLoginContentBody/index.js +1 -1
  212. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/LedgerScamPhishingAlert.js +1 -1
  213. package/UI/ledger/LedgerLoginContainer/LedgerScamPhishingAlert/index.js +1 -1
  214. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  215. package/UI/ledger/index.js +1 -1
  216. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  217. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  218. package/UI/pages/UnlockPage/index.js +1 -1
  219. package/UI/pages/index.js +1 -1
  220. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  221. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  222. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  223. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  224. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContainer.js +1 -1
  225. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/WalletConnectLoginContent.js +1 -1
  226. package/UI/walletConnect/WalletConnectLoginContainer/WalletConnectLoginContent/index.js +1 -1
  227. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  228. package/UI/walletConnect/index.js +1 -1
  229. package/UI/webWallet/CrossWindowLoginButton/CrossWindowLoginButton.js +1 -1
  230. package/UI/webWallet/CrossWindowLoginButton/index.js +1 -1
  231. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  232. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  233. package/UI/webWallet/XaliasLoginButton/XaliasLoginButton.js +1 -1
  234. package/UI/webWallet/XaliasLoginButton/index.js +1 -1
  235. package/__chunks__/{chunk-LYPYXUJV.js → chunk-2ERYD4ZD.js} +2 -2
  236. package/__chunks__/{chunk-WLJZR6MI.js → chunk-2FI2XFEB.js} +2 -2
  237. package/__chunks__/{chunk-JQUIPCY5.js → chunk-2MX5NY6P.js} +2 -2
  238. package/__chunks__/{chunk-FJT4NIX5.js → chunk-2OSEQDFR.js} +2 -2
  239. package/__chunks__/{chunk-B5D55AUB.js → chunk-2R3SDGLV.js} +2 -2
  240. package/__chunks__/chunk-2SGND5VW.js +2 -0
  241. package/__chunks__/{chunk-UH74TE5S.js → chunk-32OEQS2D.js} +2 -2
  242. package/__chunks__/{chunk-LKP6MFXK.js → chunk-35Q3N5XX.js} +2 -2
  243. package/__chunks__/{chunk-P62RAJK6.js → chunk-3GYEUMHL.js} +2 -2
  244. package/__chunks__/chunk-3JT5VCHV.js +2 -0
  245. package/__chunks__/{chunk-WINVVAR2.js → chunk-3OAVJKGK.js} +2 -2
  246. package/__chunks__/{chunk-J6T2EE5S.js → chunk-3Q6F2HJ6.js} +2 -2
  247. package/__chunks__/{chunk-45KS7MHU.js → chunk-3RUGJIXL.js} +2 -2
  248. package/__chunks__/chunk-3WMTU7D6.js +2 -0
  249. package/__chunks__/chunk-43EXZCW2.js +2 -0
  250. package/__chunks__/{chunk-TKDQ67OU.js → chunk-45WWKRVA.js} +2 -2
  251. package/__chunks__/{chunk-WRHAGDVV.js → chunk-4B3MOWFW.js} +2 -2
  252. package/__chunks__/{chunk-2I3SIP7I.js → chunk-4HKT77ZD.js} +2 -2
  253. package/__chunks__/{chunk-JUXUKQXA.js → chunk-4RYF5VPZ.js} +2 -2
  254. package/__chunks__/{chunk-JC4R6MW6.js → chunk-4SPYBRWY.js} +2 -2
  255. package/__chunks__/chunk-4U5X73LG.js +2 -0
  256. package/__chunks__/chunk-52I2BI6Z.js +2 -0
  257. package/__chunks__/{chunk-LNWKWD36.js → chunk-53D66PL3.js} +2 -2
  258. package/__chunks__/{chunk-BDNFTUNX.js → chunk-55WOWFKB.js} +2 -2
  259. package/__chunks__/chunk-5BRAFDAC.js +2 -0
  260. package/__chunks__/{chunk-YEW2MY76.js → chunk-5EJX6WW5.js} +2 -2
  261. package/__chunks__/{chunk-NCHTNS4A.js → chunk-5HHZDE2P.js} +2 -2
  262. package/__chunks__/{chunk-2TKLBHNZ.js → chunk-5MZU2OXW.js} +2 -2
  263. package/__chunks__/{chunk-DKNSMNAR.js → chunk-5N2CDJQ4.js} +2 -2
  264. package/__chunks__/chunk-5SYUFB4T.js +2 -0
  265. package/__chunks__/{chunk-CQZQ6E5V.js → chunk-5UOPDZ6E.js} +2 -2
  266. package/__chunks__/{chunk-YA3IK5HD.js → chunk-5VIHCVAC.js} +2 -2
  267. package/__chunks__/{chunk-IJIOWKDI.js → chunk-5WHZXANI.js} +2 -2
  268. package/__chunks__/{chunk-KOHZDKJE.js → chunk-5XHXBLRW.js} +2 -2
  269. package/__chunks__/chunk-67GE423Z.js +2 -0
  270. package/__chunks__/{chunk-6ULNLMEQ.js → chunk-6DKE6XGL.js} +2 -2
  271. package/__chunks__/chunk-6JVK3U3P.js +2 -0
  272. package/__chunks__/{chunk-5TJ3HDWX.js → chunk-6QKDH7BO.js} +2 -2
  273. package/__chunks__/{chunk-QSUM5QNK.js → chunk-6WIVTBKC.js} +2 -2
  274. package/__chunks__/chunk-75EWJ2IY.js +2 -0
  275. package/__chunks__/{chunk-TYLSUIT3.js → chunk-7AK6HBWA.js} +2 -2
  276. package/__chunks__/{chunk-QYSSH5NX.js → chunk-7BG7OJFY.js} +2 -2
  277. package/__chunks__/{chunk-L6BRJFR6.js → chunk-7CJEB4QU.js} +2 -2
  278. package/__chunks__/{chunk-YV52CXDT.js → chunk-7D5RMPCM.js} +2 -2
  279. package/__chunks__/{chunk-W7IEFYKT.js → chunk-7G2PG2HJ.js} +2 -2
  280. package/__chunks__/{chunk-WMRN2SKZ.js → chunk-7G3N5UXY.js} +2 -2
  281. package/__chunks__/{chunk-D7OEA777.js → chunk-7IHUWBE2.js} +2 -2
  282. package/__chunks__/{chunk-RKI72TMN.js → chunk-7J5FLOSX.js} +2 -2
  283. package/__chunks__/{chunk-LWG2223P.js → chunk-7LSQ7ACU.js} +2 -2
  284. package/__chunks__/{chunk-OOZM2I42.js → chunk-7NDTJX2Q.js} +2 -2
  285. package/__chunks__/{chunk-S4ISWHOB.js → chunk-7NZRWTON.js} +2 -2
  286. package/__chunks__/{chunk-ZT67ERD5.js → chunk-7Q65CTX4.js} +2 -2
  287. package/__chunks__/chunk-7SWQCGUR.js +2 -0
  288. package/__chunks__/{chunk-JDBSIMC3.js → chunk-7VMQ5PJC.js} +2 -2
  289. package/__chunks__/{chunk-T4CD54EC.js → chunk-7WYYZIP7.js} +2 -2
  290. package/__chunks__/chunk-7X7AHJNX.js +2 -0
  291. package/__chunks__/{chunk-S4GJX4XN.js → chunk-7ZGFUH4M.js} +2 -2
  292. package/__chunks__/{chunk-LH6BCDIW.js → chunk-A2BS44NX.js} +2 -2
  293. package/__chunks__/{chunk-FVY4PX7G.js → chunk-AD5GF3EO.js} +2 -2
  294. package/__chunks__/chunk-AFSFP2AH.js +2 -0
  295. package/__chunks__/{chunk-UHYGR5YC.js → chunk-AGWE3CA7.js} +2 -2
  296. package/__chunks__/{chunk-EQSL3LHM.js → chunk-AHQKUBGT.js} +2 -2
  297. package/__chunks__/chunk-AJK4FD6T.js +2 -0
  298. package/__chunks__/{chunk-P2ULBRHU.js → chunk-ANJIBOLB.js} +2 -2
  299. package/__chunks__/{chunk-DRMJ7OYY.js → chunk-ANVS3LWC.js} +2 -2
  300. package/__chunks__/{chunk-RLSKTSOC.js → chunk-APUPP3SO.js} +2 -2
  301. package/__chunks__/{chunk-OMD6VJ7Q.js → chunk-APW4UMNQ.js} +2 -2
  302. package/__chunks__/{chunk-OZZBMCJB.js → chunk-ARUR4UYT.js} +2 -2
  303. package/__chunks__/chunk-ATPARQD4.js +2 -0
  304. package/__chunks__/{chunk-3HKLQO3N.js → chunk-AYFYNNWF.js} +2 -2
  305. package/__chunks__/{chunk-4WGPSXLR.js → chunk-B7KPSMKH.js} +2 -2
  306. package/__chunks__/{chunk-U2E5WIJJ.js → chunk-BA56LBTO.js} +2 -2
  307. package/__chunks__/chunk-BB7Y5RUP.js +2 -0
  308. package/__chunks__/{chunk-GZBGMN6S.js → chunk-BBAQDTOC.js} +2 -2
  309. package/__chunks__/{chunk-N6GP5UZH.js → chunk-BCHXOUUJ.js} +2 -2
  310. package/__chunks__/chunk-BDWKIY35.js +2 -0
  311. package/__chunks__/{chunk-MCS4VY23.js → chunk-BECO26VQ.js} +2 -2
  312. package/__chunks__/{chunk-RMO53XUM.js → chunk-BHY3Z3ET.js} +2 -2
  313. package/__chunks__/{chunk-MNANJF37.js → chunk-BOS6J3XK.js} +2 -2
  314. package/__chunks__/{chunk-HEJFGYB4.js → chunk-BQWEKJQY.js} +2 -2
  315. package/__chunks__/{chunk-ALRWYKJ3.js → chunk-BVA74VPG.js} +2 -2
  316. package/__chunks__/{chunk-6PBH3KEW.js → chunk-BXA5P6LR.js} +2 -2
  317. package/__chunks__/chunk-BZYN5SVI.js +2 -0
  318. package/__chunks__/{chunk-R2M2NREB.js → chunk-C3DRE3XL.js} +2 -2
  319. package/__chunks__/{chunk-FTUA3HTU.js → chunk-C4HPD3DA.js} +2 -2
  320. package/__chunks__/{chunk-UKITMGU5.js → chunk-C5VMAZGA.js} +2 -2
  321. package/__chunks__/{chunk-CT4XGGLM.js → chunk-CEDKTHSG.js} +2 -2
  322. package/__chunks__/{chunk-MDYH3TAR.js → chunk-CGGFQR3H.js} +2 -2
  323. package/__chunks__/{chunk-XXN2SRRE.js → chunk-CHMNM54S.js} +2 -2
  324. package/__chunks__/{chunk-K2OPPBXN.js → chunk-CIXIB66V.js} +2 -2
  325. package/__chunks__/{chunk-4KOQ4XPF.js → chunk-CKGPXFPI.js} +2 -2
  326. package/__chunks__/{chunk-SSYG5MZ3.js → chunk-CP3KWVXW.js} +2 -2
  327. package/__chunks__/{chunk-IZU4L5ZT.js → chunk-CQAZBUMQ.js} +2 -2
  328. package/__chunks__/{chunk-OMJE5LZ5.js → chunk-CZJYZVFY.js} +2 -2
  329. package/__chunks__/{chunk-H7M2MJO2.js → chunk-D2ORSE3O.js} +2 -2
  330. package/__chunks__/{chunk-MRQXI6BL.js → chunk-D2ZNJPI4.js} +2 -2
  331. package/__chunks__/{chunk-D5WNZ2KW.js → chunk-D5PW6PC2.js} +2 -2
  332. package/__chunks__/{chunk-ROKSIDG4.js → chunk-DCY6S64L.js} +2 -2
  333. package/__chunks__/chunk-DEDBLRRQ.js +2 -0
  334. package/__chunks__/{chunk-S3RQVME5.js → chunk-DEQUL5OZ.js} +2 -2
  335. package/__chunks__/{chunk-EYBL2DZQ.js → chunk-DGFIEGKE.js} +2 -2
  336. package/__chunks__/{chunk-6I4KDAEC.js → chunk-DGJGGAFC.js} +2 -2
  337. package/__chunks__/{chunk-LJDUUEVE.js → chunk-DGWY723D.js} +2 -2
  338. package/__chunks__/{chunk-6SDN6VYU.js → chunk-DH6UKHV7.js} +2 -2
  339. package/__chunks__/chunk-DMNVYUZI.js +2 -0
  340. package/__chunks__/chunk-DSBFDCAY.js +2 -0
  341. package/__chunks__/{chunk-SPUHV23C.js → chunk-DVMRHYP2.js} +2 -2
  342. package/__chunks__/{chunk-PTNZZ33O.js → chunk-DWKHF6GZ.js} +2 -2
  343. package/__chunks__/{chunk-NJKH2I7A.js → chunk-E7QFSJPE.js} +2 -2
  344. package/__chunks__/{chunk-5MVZTGDS.js → chunk-EHHJWFN7.js} +2 -2
  345. package/__chunks__/{chunk-HXGWOGYH.js → chunk-EMGL6ISD.js} +2 -2
  346. package/__chunks__/{chunk-J3UC3VZX.js → chunk-EOATHPT6.js} +2 -2
  347. package/__chunks__/{chunk-776CE2KN.js → chunk-EOSAEMI2.js} +2 -2
  348. package/__chunks__/chunk-ESLS6YRW.js +2 -0
  349. package/__chunks__/{chunk-44ZY2IG5.js → chunk-ET2LB4HU.js} +2 -2
  350. package/__chunks__/{chunk-QWMOQ7N7.js → chunk-EVOOEQLP.js} +2 -2
  351. package/__chunks__/{chunk-VUE4762S.js → chunk-EVYMXGHI.js} +2 -2
  352. package/__chunks__/chunk-EW6DK2M3.js +2 -0
  353. package/__chunks__/{chunk-FZHLZFLL.js → chunk-F7YI44JE.js} +2 -2
  354. package/__chunks__/{chunk-XYS3N3TZ.js → chunk-FA42PZCG.js} +2 -2
  355. package/__chunks__/{chunk-63CVVKHG.js → chunk-FGLQLS5G.js} +2 -2
  356. package/__chunks__/{chunk-BDKGJYTU.js → chunk-FK7TQ6GT.js} +2 -2
  357. package/__chunks__/{chunk-JV7XSR2M.js → chunk-FNO4BWIV.js} +2 -2
  358. package/__chunks__/{chunk-WQJYO2YY.js → chunk-FRP2DBXW.js} +2 -2
  359. package/__chunks__/{chunk-CNBYHU7O.js → chunk-FSFSGXZX.js} +2 -2
  360. package/__chunks__/{chunk-IEJ6UMAD.js → chunk-FX253HDQ.js} +2 -2
  361. package/__chunks__/chunk-FY2SAUJP.js +2 -0
  362. package/__chunks__/{chunk-OJ3JMAGT.js → chunk-GG6P5SOY.js} +2 -2
  363. package/__chunks__/{chunk-R7OX4IST.js → chunk-GGTG3OLU.js} +2 -2
  364. package/__chunks__/{chunk-C3KHOLAQ.js → chunk-GKSD5MXQ.js} +2 -2
  365. package/__chunks__/{chunk-Y7OU5KIO.js → chunk-GLPZTVJR.js} +2 -2
  366. package/__chunks__/{chunk-BU52W6U4.js → chunk-GLXTHXQZ.js} +2 -2
  367. package/__chunks__/{chunk-K6T7FXKT.js → chunk-GVMVOVZM.js} +2 -2
  368. package/__chunks__/{chunk-HVBPAKEW.js → chunk-GWJZAREP.js} +2 -2
  369. package/__chunks__/{chunk-PSDFAMAR.js → chunk-GXZFUOIZ.js} +2 -2
  370. package/__chunks__/{chunk-UOEDTZAI.js → chunk-GZACSDSD.js} +2 -2
  371. package/__chunks__/{chunk-HUUAZE4W.js → chunk-H3CUGDQT.js} +2 -2
  372. package/__chunks__/{chunk-NEUTOONN.js → chunk-H6HVGNKL.js} +2 -2
  373. package/__chunks__/chunk-H7NWEHKK.js +2 -0
  374. package/__chunks__/chunk-HCMZNSGG.js +2 -0
  375. package/__chunks__/{chunk-UBV5MZTH.js → chunk-HF2BVD7V.js} +2 -2
  376. package/__chunks__/chunk-HFAS7WJT.js +2 -0
  377. package/__chunks__/{chunk-BO4I7TU7.js → chunk-HINPJG36.js} +2 -2
  378. package/__chunks__/chunk-HITYUHEV.js +2 -0
  379. package/__chunks__/{chunk-PWNTLE7O.js → chunk-HJVL63AM.js} +2 -2
  380. package/__chunks__/{chunk-ZEKSL6RM.js → chunk-HLXMCLRD.js} +2 -2
  381. package/__chunks__/{chunk-26PNCEN6.js → chunk-HOYGFWRN.js} +2 -2
  382. package/__chunks__/{chunk-LUKXK4PJ.js → chunk-HPZDSCI6.js} +2 -2
  383. package/__chunks__/{chunk-TYN4NL7P.js → chunk-HQVA6BN4.js} +2 -2
  384. package/__chunks__/{chunk-K24Q7A25.js → chunk-HTRWR64S.js} +2 -2
  385. package/__chunks__/{chunk-Z7CXRSOE.js → chunk-HXC6OQ62.js} +2 -2
  386. package/__chunks__/{chunk-OB343ORN.js → chunk-HXG6DPBV.js} +2 -2
  387. package/__chunks__/{chunk-K5ZKFH4M.js → chunk-I5LCH7GI.js} +2 -2
  388. package/__chunks__/chunk-IBXG3FTQ.js +2 -0
  389. package/__chunks__/{chunk-5VEXZKXZ.js → chunk-IG63UBHO.js} +2 -2
  390. package/__chunks__/{chunk-QKAGGKMZ.js → chunk-IH6XL5SK.js} +2 -2
  391. package/__chunks__/{chunk-QV7H3KVT.js → chunk-IJBNOFRU.js} +2 -2
  392. package/__chunks__/{chunk-M72NGQGD.js → chunk-ITGCTIQR.js} +2 -2
  393. package/__chunks__/{chunk-6S7QMZNK.js → chunk-IXE232G2.js} +2 -2
  394. package/__chunks__/chunk-IZFMBOQX.js +2 -0
  395. package/__chunks__/chunk-IZVUCFGS.js +2 -0
  396. package/__chunks__/{chunk-SYQOUCPR.js → chunk-J2ZVGV5V.js} +2 -2
  397. package/__chunks__/{chunk-FOXLWZNI.js → chunk-JBUYDFLY.js} +2 -2
  398. package/__chunks__/{chunk-D3WFE5YS.js → chunk-JCY3XPSZ.js} +2 -2
  399. package/__chunks__/{chunk-IC6Q4EU4.js → chunk-JGP7DL5H.js} +2 -2
  400. package/__chunks__/{chunk-6AGOAZNP.js → chunk-JHMCLNLR.js} +2 -2
  401. package/__chunks__/{chunk-ZBEKS6PS.js → chunk-JIKTTFUV.js} +2 -2
  402. package/__chunks__/chunk-JRUHJBQL.js +2 -0
  403. package/__chunks__/chunk-JSZLJIB6.js +2 -0
  404. package/__chunks__/{chunk-V2VRYADK.js → chunk-JX5HWH4J.js} +2 -2
  405. package/__chunks__/{chunk-GSY5IELC.js → chunk-JY6OL6ND.js} +2 -2
  406. package/__chunks__/{chunk-37ID6NXL.js → chunk-JZTWJVWG.js} +2 -2
  407. package/__chunks__/{chunk-VOCTSFNO.js → chunk-K77PSVIN.js} +2 -2
  408. package/__chunks__/{chunk-5SSLY5Y3.js → chunk-KAYJGVHY.js} +2 -2
  409. package/__chunks__/chunk-KCZPUQMS.js +2 -0
  410. package/__chunks__/{chunk-U6EQKACI.js → chunk-KMW3NDPZ.js} +2 -2
  411. package/__chunks__/{chunk-6PYKJOPZ.js → chunk-KNT7OBR5.js} +2 -2
  412. package/__chunks__/chunk-KOQMQ6NG.js +2 -0
  413. package/__chunks__/chunk-KTH3M5IT.js +2 -0
  414. package/__chunks__/{chunk-SKBIXZTQ.js → chunk-KUHSL5X5.js} +2 -2
  415. package/__chunks__/{chunk-PEHW2ZJ4.js → chunk-KWOUJGVB.js} +2 -2
  416. package/__chunks__/{chunk-MEZ7Y2GV.js → chunk-KWYZG2KO.js} +2 -2
  417. package/__chunks__/{chunk-APIHXAWO.js → chunk-KXNGKRWN.js} +2 -2
  418. package/__chunks__/chunk-KZG6ZKUF.js +2 -0
  419. package/__chunks__/chunk-L76ZGHEN.js +2 -0
  420. package/__chunks__/chunk-L7K7RJH7.js +2 -0
  421. package/__chunks__/chunk-LAKQHUPZ.js +2 -0
  422. package/__chunks__/{chunk-3WHZ33T5.js → chunk-LFEKSKQ2.js} +2 -2
  423. package/__chunks__/{chunk-PE3D2MZ6.js → chunk-LH4MJYLH.js} +2 -2
  424. package/__chunks__/{chunk-7ZMQL73G.js → chunk-LLRPL7VG.js} +2 -2
  425. package/__chunks__/{chunk-PY3TMMVZ.js → chunk-LM4U25YU.js} +2 -2
  426. package/__chunks__/{chunk-SIWZ2PMD.js → chunk-LU3YKJFB.js} +2 -2
  427. package/__chunks__/{chunk-PVA7E7LL.js → chunk-LY4FYJ4C.js} +2 -2
  428. package/__chunks__/{chunk-QPPB6FZN.js → chunk-MCXTDL7M.js} +2 -2
  429. package/__chunks__/{chunk-ZQ37SRMI.js → chunk-MGE5DV6U.js} +2 -2
  430. package/__chunks__/{chunk-B7PYBZU4.js → chunk-MQIDJN7U.js} +2 -2
  431. package/__chunks__/{chunk-2MP2EF4U.js → chunk-MRJ4QW6X.js} +2 -2
  432. package/__chunks__/chunk-MTTVEC3D.js +2 -0
  433. package/__chunks__/{chunk-K3M27SZ4.js → chunk-MVKLXKTF.js} +2 -2
  434. package/__chunks__/{chunk-N7OBCE6V.js → chunk-MVUDZB34.js} +2 -2
  435. package/__chunks__/chunk-MWQ7RWF2.js +2 -0
  436. package/__chunks__/{chunk-YUUAC2ZS.js → chunk-MYGVPVCS.js} +2 -2
  437. package/__chunks__/{chunk-XTMENGRC.js → chunk-MZ5SG35I.js} +2 -2
  438. package/__chunks__/{chunk-2WUN7ZR2.js → chunk-N5RGN6AW.js} +2 -2
  439. package/__chunks__/{chunk-LZJ3KLAE.js → chunk-N6LQOJNC.js} +2 -2
  440. package/__chunks__/{chunk-FWX5LT3Y.js → chunk-N6NXFMIH.js} +2 -2
  441. package/__chunks__/{chunk-26N2EF27.js → chunk-N6PWQZFC.js} +2 -2
  442. package/__chunks__/{chunk-TUOZQXHC.js → chunk-N6QOVYEG.js} +2 -2
  443. package/__chunks__/{chunk-JWM347Y4.js → chunk-NANP63QY.js} +2 -2
  444. package/__chunks__/{chunk-IEVWAPRT.js → chunk-NAODEQRI.js} +2 -2
  445. package/__chunks__/{chunk-IBZVKTPJ.js → chunk-NH72OC6D.js} +2 -2
  446. package/__chunks__/chunk-NMGQUARD.js +2 -0
  447. package/__chunks__/{chunk-OBIDQER4.js → chunk-NST37LLV.js} +2 -2
  448. package/__chunks__/{chunk-FZWTKNRZ.js → chunk-NTQMD3HJ.js} +2 -2
  449. package/__chunks__/{chunk-FAWBFUEX.js → chunk-NW5FJ6T6.js} +2 -2
  450. package/__chunks__/{chunk-J24KOCLN.js → chunk-NY2AEE55.js} +2 -2
  451. package/__chunks__/{chunk-MREKWZJ5.js → chunk-O3BM5GVO.js} +2 -2
  452. package/__chunks__/{chunk-3AK2QRZU.js → chunk-O4ES6T7Q.js} +2 -2
  453. package/__chunks__/{chunk-VHZNGPYU.js → chunk-O5ARJAY2.js} +2 -2
  454. package/__chunks__/{chunk-3TGDWC4B.js → chunk-O6R4VP27.js} +2 -2
  455. package/__chunks__/{chunk-6FZZOEGT.js → chunk-O7PO2TJD.js} +2 -2
  456. package/__chunks__/{chunk-BNP5ANPK.js → chunk-ODTGXHHX.js} +2 -2
  457. package/__chunks__/{chunk-RKRZ3GJI.js → chunk-OL2TMWZ3.js} +2 -2
  458. package/__chunks__/{chunk-LAOQIQ3S.js → chunk-OM2PBUXL.js} +2 -2
  459. package/__chunks__/{chunk-RNFUGVZR.js → chunk-OME7FKGA.js} +2 -2
  460. package/__chunks__/{chunk-ERWYH4Q3.js → chunk-OQDYMJP6.js} +2 -2
  461. package/__chunks__/{chunk-CNCN56C4.js → chunk-OQQHKPP3.js} +2 -2
  462. package/__chunks__/{chunk-RCTXKYF2.js → chunk-OREAUDQO.js} +2 -2
  463. package/__chunks__/{chunk-3JXPYC67.js → chunk-OWCZQ7VV.js} +2 -2
  464. package/__chunks__/chunk-OXPUAJQT.js +2 -0
  465. package/__chunks__/{chunk-KLESNFXM.js → chunk-OYQ32WMZ.js} +2 -2
  466. package/__chunks__/{chunk-QOHPZQIO.js → chunk-P2GUUP3M.js} +2 -2
  467. package/__chunks__/{chunk-LXUXSM3O.js → chunk-P5YT37CB.js} +2 -2
  468. package/__chunks__/chunk-P65Y7FVM.js +2 -0
  469. package/__chunks__/{chunk-6PIL672R.js → chunk-PENF3NVS.js} +2 -2
  470. package/__chunks__/{chunk-XW4GS322.js → chunk-PI3UCK7W.js} +2 -2
  471. package/__chunks__/{chunk-HNLGRL3D.js → chunk-PL3OTX5V.js} +2 -2
  472. package/__chunks__/{chunk-DCQDEXLU.js → chunk-PMOBF2HP.js} +2 -2
  473. package/__chunks__/{chunk-BQ5SL7X6.js → chunk-PMUWC3LS.js} +2 -2
  474. package/__chunks__/chunk-PP4TDQ6A.js +2 -0
  475. package/__chunks__/chunk-PPWYTKX5.js +2 -0
  476. package/__chunks__/{chunk-W6W7PAHO.js → chunk-PZM3RIMM.js} +2 -2
  477. package/__chunks__/{chunk-7HRT7DOR.js → chunk-Q4RVW24P.js} +2 -2
  478. package/__chunks__/{chunk-KIIXBWPE.js → chunk-Q6INIDZK.js} +2 -2
  479. package/__chunks__/{chunk-34GEGF5Y.js → chunk-Q7K6WI67.js} +2 -2
  480. package/__chunks__/{chunk-A22MS5SV.js → chunk-QCC45LJR.js} +2 -2
  481. package/__chunks__/{chunk-SV7VIM6Y.js → chunk-QE6ERRDA.js} +2 -2
  482. package/__chunks__/{chunk-WEYBWJHQ.js → chunk-QHFOHQUF.js} +2 -2
  483. package/__chunks__/{chunk-KO4BXGXX.js → chunk-QIXTNSSF.js} +2 -2
  484. package/__chunks__/chunk-QN565FYS.js +2 -0
  485. package/__chunks__/{chunk-FBL3RDGV.js → chunk-QOSVZC6E.js} +2 -2
  486. package/__chunks__/chunk-QP2M2C7R.js +2 -0
  487. package/__chunks__/chunk-QRS362VB.js +2 -0
  488. package/__chunks__/{chunk-DZMN32EC.js → chunk-QSXZEDPY.js} +2 -2
  489. package/__chunks__/{chunk-YKFSAHDW.js → chunk-QT4WN7AI.js} +2 -2
  490. package/__chunks__/chunk-QTLUMJZZ.js +2 -0
  491. package/__chunks__/{chunk-SYRCA6PM.js → chunk-R2W2U2DE.js} +2 -2
  492. package/__chunks__/{chunk-W52B4DN5.js → chunk-R3D7OGJ4.js} +2 -2
  493. package/__chunks__/{chunk-LYR3NXVH.js → chunk-R6JVITNR.js} +2 -2
  494. package/__chunks__/{chunk-PZRXFWXQ.js → chunk-RDLHGENA.js} +2 -2
  495. package/__chunks__/chunk-RGPCH3U7.js +2 -0
  496. package/__chunks__/chunk-RGVBDNCQ.js +2 -0
  497. package/__chunks__/{chunk-PV6TLW3J.js → chunk-RKBWHASN.js} +2 -2
  498. package/__chunks__/chunk-RPAZXC2F.js +2 -0
  499. package/__chunks__/{chunk-ICGF3OUL.js → chunk-RRGE6Q5M.js} +2 -2
  500. package/__chunks__/{chunk-R27H6XH2.js → chunk-RSSKXLYT.js} +2 -2
  501. package/__chunks__/{chunk-ZX4PHT7S.js → chunk-RV633TYI.js} +2 -2
  502. package/__chunks__/chunk-RX2NGJSD.js +2 -0
  503. package/__chunks__/{chunk-L4PN3IXM.js → chunk-S2AYGEWF.js} +2 -2
  504. package/__chunks__/chunk-S3KD5KK2.js +2 -0
  505. package/__chunks__/{chunk-A5L2WT53.js → chunk-S7N4ISBJ.js} +2 -2
  506. package/__chunks__/{chunk-BAGNFQBH.js → chunk-SGXU64BV.js} +2 -2
  507. package/__chunks__/{chunk-ATZ4IWH3.js → chunk-SHLZDPET.js} +2 -2
  508. package/__chunks__/{chunk-5UARG2MD.js → chunk-SIYAGK7F.js} +2 -2
  509. package/__chunks__/{chunk-4T6VXNQ2.js → chunk-SJJVXAIR.js} +2 -2
  510. package/__chunks__/{chunk-7K6OV53X.js → chunk-SO7GR5JK.js} +2 -2
  511. package/__chunks__/{chunk-UPEPL6SX.js → chunk-SQ5WG7US.js} +2 -2
  512. package/__chunks__/{chunk-4CWAT63N.js → chunk-SQ7M7N35.js} +2 -2
  513. package/__chunks__/chunk-SRHRU7FN.js +2 -0
  514. package/__chunks__/{chunk-XOVZT32V.js → chunk-SRWKZ2NL.js} +2 -2
  515. package/__chunks__/{chunk-QKXJD4A3.js → chunk-SUMSAHEJ.js} +2 -2
  516. package/__chunks__/{chunk-VIAWGYHZ.js → chunk-SZSOMMLZ.js} +2 -2
  517. package/__chunks__/chunk-T63IP2TZ.js +2 -0
  518. package/__chunks__/{chunk-DJENMVSO.js → chunk-TAAADPTZ.js} +2 -2
  519. package/__chunks__/{chunk-WMIVV347.js → chunk-TBQRWNZE.js} +2 -2
  520. package/__chunks__/chunk-TFIPRE2I.js +2 -0
  521. package/__chunks__/chunk-U4VASFRN.js +2 -0
  522. package/__chunks__/{chunk-Y4N6ZKFU.js → chunk-UDKFBMCS.js} +2 -2
  523. package/__chunks__/{chunk-PLCDAHXF.js → chunk-UET5NZUD.js} +2 -2
  524. package/__chunks__/{chunk-OCV7NNTI.js → chunk-UFIQJELD.js} +2 -2
  525. package/__chunks__/{chunk-5Q6I6ZSP.js → chunk-ULFF6SZM.js} +2 -2
  526. package/__chunks__/{chunk-XF2JZN2T.js → chunk-UPXLULNI.js} +2 -2
  527. package/__chunks__/{chunk-D3FW5S76.js → chunk-UTXHFTRR.js} +2 -2
  528. package/__chunks__/{chunk-JVQSZJWT.js → chunk-V6JNDMAV.js} +2 -2
  529. package/__chunks__/{chunk-4WSTU7EL.js → chunk-V7EWDPEH.js} +2 -2
  530. package/__chunks__/{chunk-UCIKNUQ5.js → chunk-VG2N5QZN.js} +2 -2
  531. package/__chunks__/{chunk-GCPFA5DS.js → chunk-VNDWQVPX.js} +2 -2
  532. package/__chunks__/chunk-VSLTOYD7.js +2 -0
  533. package/__chunks__/{chunk-5QWM46KI.js → chunk-VT4AOWMZ.js} +2 -2
  534. package/__chunks__/{chunk-Q3MPXHVT.js → chunk-VWU2KLAH.js} +2 -2
  535. package/__chunks__/{chunk-UWXFBSC4.js → chunk-W6UGF3HH.js} +2 -2
  536. package/__chunks__/{chunk-GCJYHTRG.js → chunk-W7O4NHIZ.js} +2 -2
  537. package/__chunks__/{chunk-T5NSPA2G.js → chunk-WAZQLWQR.js} +2 -2
  538. package/__chunks__/{chunk-Q7IG7FVX.js → chunk-WBJOW4A3.js} +2 -2
  539. package/__chunks__/{chunk-VULOUSUG.js → chunk-WBRILQOH.js} +2 -2
  540. package/__chunks__/{chunk-NJV5SUG7.js → chunk-WDPVE2XW.js} +2 -2
  541. package/__chunks__/{chunk-RBKZGMZL.js → chunk-WE3UEXTW.js} +2 -2
  542. package/__chunks__/chunk-WGXCA2WQ.js +2 -0
  543. package/__chunks__/{chunk-Z4NTTIYC.js → chunk-WLT7RNJI.js} +2 -2
  544. package/__chunks__/{chunk-WO6QZHE6.js → chunk-WS7UERKL.js} +2 -2
  545. package/__chunks__/{chunk-XYZQOUPZ.js → chunk-WWNFE6GO.js} +2 -2
  546. package/__chunks__/{chunk-BVAHQTJA.js → chunk-X4XJKUDS.js} +2 -2
  547. package/__chunks__/{chunk-W73YZCYP.js → chunk-X55LBY4T.js} +2 -2
  548. package/__chunks__/{chunk-3S2KZLIA.js → chunk-X5N4DDKX.js} +2 -2
  549. package/__chunks__/{chunk-D4SIPVFT.js → chunk-X7B7HGQH.js} +2 -2
  550. package/__chunks__/{chunk-X5V7KMPK.js → chunk-XCRCY2N2.js} +2 -2
  551. package/__chunks__/{chunk-W22VDMHZ.js → chunk-XGCZQQL6.js} +2 -2
  552. package/__chunks__/chunk-XHJBHORZ.js +2 -0
  553. package/__chunks__/{chunk-HCBCQSLR.js → chunk-XJCZNTZG.js} +2 -2
  554. package/__chunks__/{chunk-HPP6QB6F.js → chunk-XMQ2X44K.js} +2 -2
  555. package/__chunks__/{chunk-ENPJSPIZ.js → chunk-XQX65RBG.js} +2 -2
  556. package/__chunks__/{chunk-HPDIREBZ.js → chunk-XRBJHWQX.js} +2 -2
  557. package/__chunks__/{chunk-PMEKOZBG.js → chunk-XS5UHSTJ.js} +2 -2
  558. package/__chunks__/{chunk-IOXCV3K2.js → chunk-XVDAFFMR.js} +2 -2
  559. package/__chunks__/{chunk-FMBAMOHT.js → chunk-XZJMSDFH.js} +2 -2
  560. package/__chunks__/{chunk-FRRFZ4DE.js → chunk-Y52GGTVY.js} +2 -2
  561. package/__chunks__/{chunk-QRP7IHAC.js → chunk-YBWO3VVO.js} +2 -2
  562. package/__chunks__/{chunk-HQBTZQC4.js → chunk-YDE4SQGZ.js} +2 -2
  563. package/__chunks__/{chunk-BMUXABC4.js → chunk-YJMMSAIM.js} +2 -2
  564. package/__chunks__/chunk-YNSLXCXD.js +2 -0
  565. package/__chunks__/{chunk-WLI45HHV.js → chunk-YOHOCUV2.js} +2 -2
  566. package/__chunks__/{chunk-DZ3L4OD5.js → chunk-YRTHW4UH.js} +2 -2
  567. package/__chunks__/{chunk-U7BRR2HV.js → chunk-YWEI7PTS.js} +2 -2
  568. package/__chunks__/chunk-YYXZECKA.js +2 -0
  569. package/__chunks__/chunk-Z2FY7RSN.js +2 -0
  570. package/__chunks__/{chunk-3QB5E2I7.js → chunk-Z3XCW7WY.js} +2 -2
  571. package/__chunks__/{chunk-HGL3VDIT.js → chunk-ZAX7SBAA.js} +2 -2
  572. package/__chunks__/{chunk-H5I4F6FF.js → chunk-ZERI3KFG.js} +2 -2
  573. package/__chunks__/{chunk-GG7AAYXE.js → chunk-ZGYFH7QB.js} +2 -2
  574. package/__chunks__/{chunk-S4WC5U6P.js → chunk-ZHN6UHDQ.js} +2 -2
  575. package/__chunks__/{chunk-C74JA23D.js → chunk-ZKNJEXUK.js} +2 -2
  576. package/__chunks__/{chunk-INV22AP7.js → chunk-ZLJKAQJC.js} +2 -2
  577. package/__chunks__/{chunk-B3BGTTGQ.js → chunk-ZLLO4S7S.js} +2 -2
  578. package/__chunks__/{chunk-H47XIPVZ.js → chunk-ZNTXKKKO.js} +2 -2
  579. package/__chunks__/{chunk-EKUV2K5K.js → chunk-ZS72PCLB.js} +2 -2
  580. package/__chunks__/chunk-ZTTE3F5O.js +2 -0
  581. package/__chunks__/{chunk-IBLFHVWI.js → chunk-ZUP7EEJG.js} +2 -2
  582. package/__chunks__/{chunk-ASGKLYIR.js → chunk-ZWAD6DXX.js} +2 -2
  583. package/__chunks__/{chunk-24CUGG55.js → chunk-ZWQBM3X3.js} +2 -2
  584. package/__chunks__/chunk-ZYEB2QZV.js +2 -0
  585. package/__chunks__/{chunk-NVNHGKKE.js → chunk-ZYRGHDFE.js} +2 -2
  586. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +5 -5
  587. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +1 -1
  588. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +4 -4
  589. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +3 -3
  590. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/ConfirmAmountNftSft.js +3 -3
  591. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/components/ConfirmAmountNftSft/index.js +3 -3
  592. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +3 -3
  593. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +4 -4
  594. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  595. package/__commonjs/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  596. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +21 -21
  597. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +21 -21
  598. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +2 -2
  599. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +2 -2
  600. package/__commonjs/UI/SignTransactionsModals/components/index.js +1 -1
  601. package/__commonjs/UI/SignTransactionsModals/index.js +5 -5
  602. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +3 -3
  603. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +3 -3
  604. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +10 -10
  605. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +10 -10
  606. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +4 -4
  607. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/index.js +4 -4
  608. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +20 -20
  609. package/__commonjs/UI/TransactionInfo/components/TransactionLogs/index.js +20 -20
  610. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +3 -3
  611. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +3 -3
  612. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +22 -22
  613. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +22 -22
  614. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/index.js +4 -4
  615. package/__commonjs/UI/TransactionsTable/components/AccountName.js +4 -4
  616. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +2 -2
  617. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +2 -2
  618. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/components/DefaultToastDeleteButton.js +1 -1
  619. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  620. package/__commonjs/UI/index.js +20 -20
  621. package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +20 -20
  622. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/AddressTable.js +4 -4
  623. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable/index.js +4 -4
  624. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerLoginContainer.js +20 -20
  625. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +20 -20
  626. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +2 -2
  627. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +2 -2
  628. package/__commonjs/UI/walletConnect/index.js +2 -2
  629. package/__commonjs/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +2 -2
  630. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogout.js +2 -2
  631. package/__commonjs/components/ProviderInitializer/hooks/index.js +1 -1
  632. package/__commonjs/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  633. package/__commonjs/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  634. package/__commonjs/hooks/economics/index.js +1 -1
  635. package/__commonjs/hooks/economics/useGetEgldPrice.js +1 -1
  636. package/__commonjs/hooks/index.js +3 -3
  637. package/__commonjs/hooks/transactions/batch/useGetBatches.js +1 -1
  638. package/__commonjs/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  639. package/__commonjs/hooks/transactions/helpers/getAreAllTransactionsSignedByGuardian.js +1 -1
  640. package/__commonjs/hooks/transactions/helpers/index.js +1 -1
  641. package/__commonjs/hooks/transactions/index.js +1 -1
  642. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  643. package/__commonjs/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  644. package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
  645. package/__commonjs/hooks/transactions/useSignTransactions.js +1 -1
  646. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.d.ts +1 -1
  647. package/__commonjs/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  648. package/__commonjs/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  649. package/__commonjs/hooks/transactions/useTransactionsTracker.js +2 -2
  650. package/__commonjs/reduxStore/slices/toastsSlice.js +1 -1
  651. package/__commonjs/services/transactions/getBatchTransactionsStatus.js +1 -1
  652. package/__commonjs/services/transactions/utils.js +1 -1
  653. package/__commonjs/types/index.js +1 -1
  654. package/__commonjs/types/transactions.types.d.ts +1 -1
  655. package/__commonjs/utils/account/getShardOfAddress.js +1 -1
  656. package/__commonjs/utils/index.js +1 -1
  657. package/__commonjs/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  658. package/__commonjs/utils/operations/ledger/index.js +1 -1
  659. package/__commonjs/utils/transactions/builtCallbackUrl.js +1 -1
  660. package/__commonjs/utils/transactions/index.js +1 -1
  661. package/__commonjs/wrappers/DappProvider/DappProvider.js +3 -3
  662. package/__mocks__/accountConfig.js +1 -1
  663. package/__mocks__/index.js +1 -1
  664. package/__mocks__/server.js +1 -1
  665. package/__mocks__/utils/index.js +1 -1
  666. package/__mocks__/utils/renderWithProvider.js +1 -1
  667. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  668. package/apiCalls/accounts/index.js +1 -1
  669. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  670. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  671. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  672. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  673. package/apiCalls/configuration/index.js +1 -1
  674. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  675. package/apiCalls/economics/index.js +1 -1
  676. package/apiCalls/getScamAddressData.js +1 -1
  677. package/apiCalls/index.js +1 -1
  678. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  679. package/apiCalls/transactions/index.js +1 -1
  680. package/apiCalls/transactions/sendSignedBatchTransactions.js +1 -1
  681. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  682. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  683. package/apiCalls/utils/index.js +1 -1
  684. package/components/LogoutListener/LogoutListener.js +1 -1
  685. package/components/LogoutListener/helpers/index.js +1 -1
  686. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  687. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  688. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  689. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  690. package/components/LogoutListener/index.js +1 -1
  691. package/components/ProviderInitializer/ProviderInitializer.js +1 -1
  692. package/components/ProviderInitializer/helpers/index.js +1 -1
  693. package/components/ProviderInitializer/helpers/processMultisigAccount.js +1 -1
  694. package/components/ProviderInitializer/hooks/index.js +1 -1
  695. package/components/ProviderInitializer/hooks/useSetLedgerProvider.js +1 -1
  696. package/components/ProviderInitializer/index.js +1 -1
  697. package/components/TransactionSender/TransactionSender.js +1 -1
  698. package/components/TransactionSender/index.js +1 -1
  699. package/components/TransactionSender/utils/handleSendBatchTransactionsErrors.js +1 -1
  700. package/components/TransactionSender/utils/handleSendTransactionsErrors.js +1 -1
  701. package/components/TransactionSender/utils/invokeSendTransactions.js +1 -1
  702. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  703. package/components/TransactionsTracker/index.js +1 -1
  704. package/constants/index.js +1 -1
  705. package/constants/network.js +1 -1
  706. package/hooks/account/index.js +1 -1
  707. package/hooks/account/useGetAccount.js +1 -1
  708. package/hooks/account/useGetAccountFromApi.js +1 -1
  709. package/hooks/account/useGetAccountInfo.js +1 -1
  710. package/hooks/account/useGetAccountProvider.js +1 -1
  711. package/hooks/account/useGetIsLoggedIn.js +1 -1
  712. package/hooks/account/useGetIsWalletConnectV2Initialized.js +1 -1
  713. package/hooks/account/useGetLoginInfo.js +1 -1
  714. package/hooks/account/useGetWebsocketEvent.js +1 -1
  715. package/hooks/economics/index.js +1 -1
  716. package/hooks/economics/useGetEgldPrice.js +1 -1
  717. package/hooks/index.js +1 -1
  718. package/hooks/login/index.js +1 -1
  719. package/hooks/login/useCrossWindowLogin.js +1 -1
  720. package/hooks/login/useExtensionLogin.js +1 -1
  721. package/hooks/login/useGetModalLoginMethods.js +1 -1
  722. package/hooks/login/useLedgerLogin.js +1 -1
  723. package/hooks/login/useLoginService.js +1 -1
  724. package/hooks/login/useOperaLogin.js +1 -1
  725. package/hooks/login/useWalletConnectV2Login.js +1 -1
  726. package/hooks/login/useWebViewLogin.js +1 -1
  727. package/hooks/login/useWebWalletLogin.js +1 -1
  728. package/hooks/login/useXaliasLogin.js +1 -1
  729. package/hooks/signMessage/index.js +1 -1
  730. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  731. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  732. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  733. package/hooks/signMessage/useSignMessage.js +1 -1
  734. package/hooks/toasts/index.js +1 -1
  735. package/hooks/toasts/useGetToasts.js +1 -1
  736. package/hooks/toasts/useTransactionsToasts.js +1 -1
  737. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  738. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  739. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  740. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  741. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  742. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  743. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  744. package/hooks/transactions/batch/useGetBatches.js +1 -1
  745. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  746. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  747. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  748. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  749. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  750. package/hooks/transactions/helpers/getAreAllTransactionsSignedByGuardian.js +1 -1
  751. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  752. package/hooks/transactions/helpers/index.js +1 -1
  753. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  754. package/hooks/transactions/helpers/useGetLedgerProvider.js +1 -1
  755. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  756. package/hooks/transactions/index.js +1 -1
  757. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  758. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  759. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  760. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  761. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  762. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  763. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  764. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  765. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  766. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  767. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  768. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  769. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  770. package/hooks/transactions/useGetTokenDetails.js +1 -1
  771. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  772. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  773. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  774. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  775. package/hooks/transactions/useSignTransactions.js +1 -1
  776. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  777. package/hooks/transactions/useSignTransactionsWithDevice.d.ts +1 -1
  778. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  779. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  780. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  781. package/hooks/transactions/useTransactionsTracker.js +1 -1
  782. package/hooks/useGetNetworkConfig.js +1 -1
  783. package/hooks/useGetNotification.js +1 -1
  784. package/hooks/websocketListener/index.js +1 -1
  785. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  786. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  787. package/models/index.js +1 -1
  788. package/models/newTransaction.js +1 -1
  789. package/package.json +1 -1
  790. package/providers/accountProvider.js +1 -1
  791. package/providers/experimentalWebViewProvider/ExperimentalWebviewProvider.js +1 -1
  792. package/providers/experimentalWebViewProvider/index.js +1 -1
  793. package/providers/index.js +1 -1
  794. package/providers/utils.js +1 -1
  795. package/providers/webviewProvider/index.js +1 -1
  796. package/providers/webviewProvider/requestMethods.js +1 -1
  797. package/providers/webviewProvider/webviewProvider.js +1 -1
  798. package/reduxStore/DappProviderContext.js +1 -1
  799. package/reduxStore/commonActions.js +1 -1
  800. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  801. package/reduxStore/persistConfig.js +1 -1
  802. package/reduxStore/persistedRootReducer.js +1 -1
  803. package/reduxStore/reducers.js +1 -1
  804. package/reduxStore/rootReducer.js +1 -1
  805. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  806. package/reduxStore/selectors/index.js +1 -1
  807. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  808. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  809. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  810. package/reduxStore/slices/accountInfoSlice.js +1 -1
  811. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  812. package/reduxStore/slices/dappConfigSlice.js +1 -1
  813. package/reduxStore/slices/index.js +1 -1
  814. package/reduxStore/slices/loginInfoSlice.js +1 -1
  815. package/reduxStore/slices/modalsSlice.js +1 -1
  816. package/reduxStore/slices/networkConfigSlice.js +1 -1
  817. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  818. package/reduxStore/slices/toastsSlice.js +1 -1
  819. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  820. package/reduxStore/slices/transactionsSlice.js +1 -1
  821. package/reduxStore/store.js +1 -1
  822. package/services/index.js +1 -1
  823. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  824. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  825. package/services/nativeAuth/helpers/index.js +1 -1
  826. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  827. package/services/transactions/clearTransactions.js +1 -1
  828. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  829. package/services/transactions/getTransactionsDetails.js +1 -1
  830. package/services/transactions/index.js +1 -1
  831. package/services/transactions/isCrossShardTransaction.js +1 -1
  832. package/services/transactions/sendBatchTransactions.js +1 -1
  833. package/services/transactions/sendBatchTransactions.test.js +1 -1
  834. package/services/transactions/sendTransactions.js +1 -1
  835. package/services/transactions/signTransactions.js +1 -1
  836. package/services/transactions/transformAndSignTransactions.js +1 -1
  837. package/services/transactions/updateSignedTransactions.js +1 -1
  838. package/services/transactions/utils/transformTransactionsToSign.js +1 -1
  839. package/services/transactions/utils.js +1 -1
  840. package/types/index.js +1 -1
  841. package/types/transactions.types.d.ts +1 -1
  842. package/types/transactions.types.js +1 -1
  843. package/utils/account/getAccount.js +1 -1
  844. package/utils/account/getAccountBalance.js +1 -1
  845. package/utils/account/getAccountProviderType.js +1 -1
  846. package/utils/account/getAccountShard.js +1 -1
  847. package/utils/account/getAddress.js +1 -1
  848. package/utils/account/getIsProviderEqualTo.js +1 -1
  849. package/utils/account/getLatestNonce.js +1 -1
  850. package/utils/account/getShardOfAddress.js +1 -1
  851. package/utils/account/index.js +1 -1
  852. package/utils/account/loginWithExternalProvider.js +1 -1
  853. package/utils/account/refreshAccount.js +1 -1
  854. package/utils/account/setNonce.js +1 -1
  855. package/utils/account/signMessage.js +1 -1
  856. package/utils/getIsLoggedIn.js +1 -1
  857. package/utils/index.js +1 -1
  858. package/utils/logout.js +1 -1
  859. package/utils/network/getChainID.js +1 -1
  860. package/utils/network/getEgldLabel.js +1 -1
  861. package/utils/network/getNetworkConfig.js +1 -1
  862. package/utils/network/index.js +1 -1
  863. package/utils/operations/calculateFeeInFiat.js +1 -1
  864. package/utils/operations/calculateFeeLimit.js +1 -1
  865. package/utils/operations/denominate.js +1 -1
  866. package/utils/operations/formatAmount.js +1 -1
  867. package/utils/operations/index.js +1 -1
  868. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  869. package/utils/operations/ledger/index.js +1 -1
  870. package/utils/operations/nominate.js +1 -1
  871. package/utils/operations/parseAmount.js +1 -1
  872. package/utils/smartContracts.js +1 -1
  873. package/utils/toasts/customToastsActions.js +1 -1
  874. package/utils/toasts/index.js +1 -1
  875. package/utils/transactions/batch/getTransactionsStatus.js +1 -1
  876. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  877. package/utils/transactions/builtCallbackUrl.js +1 -1
  878. package/utils/transactions/getAllTransactionsLink.js +1 -1
  879. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  880. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  881. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  882. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  883. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  884. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  885. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  886. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  887. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  888. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  889. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  890. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  891. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  892. package/utils/transactions/getTransactionLink.js +1 -1
  893. package/utils/transactions/index.js +1 -1
  894. package/utils/transactions/isGuardianTx.js +1 -1
  895. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  896. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  897. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  898. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  899. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  900. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  901. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  902. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  903. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  904. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  905. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  906. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  907. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  908. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  909. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  910. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  911. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  912. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  913. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  914. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  915. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  916. package/utils/validation/index.js +1 -1
  917. package/utils/validation/maxDecimals.js +1 -1
  918. package/utils/validation/stringIsFloat.js +1 -1
  919. package/utils/waitForChainID.js +1 -1
  920. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  921. package/web/hooks/index.js +1 -1
  922. package/web/hooks/useIdleTimer.js +1 -1
  923. package/web/index.js +1 -1
  924. package/wrappers/AppInitializer.js +1 -1
  925. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  926. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  927. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  928. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  929. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  930. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  931. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  932. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  933. package/wrappers/DappProvider/CustomComponents.js +1 -1
  934. package/wrappers/DappProvider/DappProvider.js +1 -1
  935. package/wrappers/DappProvider/index.js +1 -1
  936. package/wrappers/index.js +1 -1
  937. package/__chunks__/chunk-2EICWYAO.js +0 -2
  938. package/__chunks__/chunk-2PO5SHSC.js +0 -2
  939. package/__chunks__/chunk-35SGKCOU.js +0 -2
  940. package/__chunks__/chunk-3STJCHFZ.js +0 -2
  941. package/__chunks__/chunk-3YL7HPLO.js +0 -2
  942. package/__chunks__/chunk-4BNKFRT5.js +0 -2
  943. package/__chunks__/chunk-4ERO36BQ.js +0 -2
  944. package/__chunks__/chunk-55BMTC73.js +0 -2
  945. package/__chunks__/chunk-5GKGLG3C.js +0 -2
  946. package/__chunks__/chunk-5IRTJ2IS.js +0 -2
  947. package/__chunks__/chunk-5ISZDK75.js +0 -2
  948. package/__chunks__/chunk-5KIGTVMH.js +0 -2
  949. package/__chunks__/chunk-5V357D2K.js +0 -2
  950. package/__chunks__/chunk-6HDFHW3U.js +0 -2
  951. package/__chunks__/chunk-77CAR527.js +0 -2
  952. package/__chunks__/chunk-7CIEG4KL.js +0 -2
  953. package/__chunks__/chunk-A4KPR7JI.js +0 -2
  954. package/__chunks__/chunk-B7IDIKYC.js +0 -2
  955. package/__chunks__/chunk-BURMO7Y7.js +0 -2
  956. package/__chunks__/chunk-CNHB7DKN.js +0 -2
  957. package/__chunks__/chunk-CSMH53OE.js +0 -2
  958. package/__chunks__/chunk-CUKBB747.js +0 -2
  959. package/__chunks__/chunk-DE7DTRFZ.js +0 -2
  960. package/__chunks__/chunk-DN6SQKAR.js +0 -2
  961. package/__chunks__/chunk-DZFSWLDH.js +0 -2
  962. package/__chunks__/chunk-EOZZODLX.js +0 -2
  963. package/__chunks__/chunk-F3QMVJM2.js +0 -2
  964. package/__chunks__/chunk-FAQPQFJT.js +0 -2
  965. package/__chunks__/chunk-FN5FS6KR.js +0 -2
  966. package/__chunks__/chunk-G3NHQGLA.js +0 -2
  967. package/__chunks__/chunk-GOWBQDOK.js +0 -2
  968. package/__chunks__/chunk-H5MXJ4SU.js +0 -2
  969. package/__chunks__/chunk-HDRHCVHT.js +0 -2
  970. package/__chunks__/chunk-IBH7CXIG.js +0 -2
  971. package/__chunks__/chunk-IE2CKCF5.js +0 -2
  972. package/__chunks__/chunk-IYF2OKIK.js +0 -2
  973. package/__chunks__/chunk-JCSZQ6SA.js +0 -2
  974. package/__chunks__/chunk-JMUMAHF6.js +0 -2
  975. package/__chunks__/chunk-K363HEWE.js +0 -2
  976. package/__chunks__/chunk-K5FX4M4S.js +0 -2
  977. package/__chunks__/chunk-KM7D7NWH.js +0 -2
  978. package/__chunks__/chunk-MHB6ADVS.js +0 -2
  979. package/__chunks__/chunk-MPOTFCAH.js +0 -2
  980. package/__chunks__/chunk-MPSUTQ7H.js +0 -2
  981. package/__chunks__/chunk-NOCIL3TW.js +0 -2
  982. package/__chunks__/chunk-NYI44NMA.js +0 -2
  983. package/__chunks__/chunk-OCVLDPJK.js +0 -2
  984. package/__chunks__/chunk-OKRWYL74.js +0 -2
  985. package/__chunks__/chunk-OP55X3A3.js +0 -2
  986. package/__chunks__/chunk-PKZOVMST.js +0 -2
  987. package/__chunks__/chunk-Q43FJCOB.js +0 -2
  988. package/__chunks__/chunk-QTU5BZ7I.js +0 -2
  989. package/__chunks__/chunk-QVZZKOJL.js +0 -2
  990. package/__chunks__/chunk-QWJKKWKY.js +0 -2
  991. package/__chunks__/chunk-RC3L4FCU.js +0 -2
  992. package/__chunks__/chunk-RRE2WE74.js +0 -2
  993. package/__chunks__/chunk-UCGMOEJJ.js +0 -2
  994. package/__chunks__/chunk-UGDCNGU4.js +0 -2
  995. package/__chunks__/chunk-UJ3S465K.js +0 -2
  996. package/__chunks__/chunk-UJYUCC3G.js +0 -2
  997. package/__chunks__/chunk-UUYNGUKK.js +0 -2
  998. package/__chunks__/chunk-V2KD2K5B.js +0 -2
  999. package/__chunks__/chunk-VGR7NDCB.js +0 -2
  1000. package/__chunks__/chunk-VPLXJILL.js +0 -2
  1001. package/__chunks__/chunk-WE7GDLUF.js +0 -2
  1002. package/__chunks__/chunk-WLQGSC3V.js +0 -2
  1003. package/__chunks__/chunk-XTOXUHOV.js +0 -2
  1004. package/__chunks__/chunk-XUH2HPCH.js +0 -2
  1005. package/__chunks__/chunk-XXYLPTR7.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var Tr=Object.create;var b=Object.defineProperty;var Ir=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var Cr=Object.getPrototypeOf,Sr=Object.prototype.hasOwnProperty;var Lr=(e,r)=>()=>(e&&(r=e(e=0)),r);var N=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Rr=(e,r)=>{for(var t in r)b(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of dr(r))!Sr.call(e,n)&&n!==t&&b(e,n,{get:()=>r[n],enumerable:!(i=Ir(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Tr(Cr(e)):{},rr(r||!e||!e.__esModule?b(t,"default",{value:e,enumerable:!0}):t,e)),_r=e=>rr(b({},"__esModule",{value:!0}),e);var nr=N(G=>{"use strict";F();G.byteLength=kr;G.toByteArray=br;G.fromByteArray=Wr;var g=[],m=[],Mr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(d=0,er=X.length;d<er;++d)g[d]=X[d],m[X.charCodeAt(d)]=d;var d,er;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function kr(e){var r=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function Dr(e,r,t){return(r+t)*3/4-t}function br(e){var r,t=ir(e),i=t[0],n=t[1],o=new Mr(Dr(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=m[e.charCodeAt(f)]<<18|m[e.charCodeAt(f+1)]<<12|m[e.charCodeAt(f+2)]<<6|m[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=m[e.charCodeAt(f)]<<2|m[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=m[e.charCodeAt(f)]<<10|m[e.charCodeAt(f+1)]<<4|m[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Nr(e){return g[e>>18&63]+g[e>>12&63]+g[e>>6&63]+g[e&63]}function Gr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(Nr(i));return n.join("")}function Wr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(Gr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(g[r>>2]+g[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(g[r>>10]+g[r>>4&63]+g[r<<2&63]+"=")),n.join("")}});var or=N(z=>{F();z.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?n-1:0,E=t?-1:1,x=e[r+p];for(p+=E,o=x&(1<<-l)-1,x>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+e[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(x?-1:1)*u*Math.pow(2,o-i)};z.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,l=(1<<c)-1,p=l>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,L=i?1:-1,Ur=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=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=E/f:r+=E*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+x]=h&255,x+=L,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+x]=u&255,x+=L,u/=256,c-=8);e[t+x-L]|=Ur*128}});var Er=N(_=>{"use strict";F();var J=nr(),R=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=a;_.SlowBuffer=Jr;_.INSPECT_MAX_BYTES=50;var Y=2147483647;_.kMaxLength=Y;a.TYPED_ARRAY_SUPPORT=Yr();!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 Yr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){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 U(e){if(e>Y)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(e)}return fr(e,r,t)}a.poolSize=8192;function fr(e,r,t){if(typeof e=="string")return Hr(e,r);if(ArrayBuffer.isView(e))return Xr(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(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return V(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=zr(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 qr(e,r,t){return pr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return qr(e,r,t)};function O(e){return pr(e),U(e<0?0:Z(e)|0)}a.allocUnsafe=function(e){return O(e)};a.allocUnsafeSlow=function(e){return O(e)};function Hr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=U(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function Q(e){for(var r=e.length<0?0:Z(e.length)|0,t=U(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Xr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return V(r.buffer,r.byteOffset,r.byteLength)}return Q(e)}function V(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function zr(e){if(a.isBuffer(e)){var r=Z(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||$(e.length)?U(0):Q(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Q(e.data)}function Z(e){if(e>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return e|0}function Jr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?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,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(B(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:K(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Qr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return et(this,r,t);case"utf8":case"utf-8":return sr(this,r,t);case"ascii":return rt(this,r,t);case"latin1":case"binary":return tt(this,r,t);case"base64":return Pr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function C(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}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 t=0;t<r;t+=2)C(this,t,t+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 t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+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 t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Qr.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="",t=_.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(B(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(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),l=r.slice(t,i),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,$(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(x,L){return o===1?x[L]:x.readUInt16BE(L*o)}var c;if(n){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,E=0;E<h;E++)if(f(e,c+E)!==f(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function Vr(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if($(h))return u;e[t+u]=h}return u}function Kr(e,r,t,i){return q(K(r,e.length-t),e,t,i)}function Or(e,r,t,i){return q(ut(r),e,t,i)}function Zr(e,r,t,i){return q(mr(r),e,t,i)}function $r(e,r,t,i){return q(at(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Vr(this,r,t,i);case"utf8":case"utf-8":return Kr(this,r,t,i);case"ascii":case"latin1":case"binary":return Or(this,r,t,i);case"base64":return Zr(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $r(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pr(e,r,t){return r===0&&t===e.length?J.fromByteArray(e):J.fromByteArray(e.slice(r,t))}function sr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],l=e[n+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return jr(i)}var hr=4096;function jr(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}function rt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function tt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function et(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=ht[e[o]];return n}function it(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||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,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!1,52,8)};function y(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function wr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function yr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),R.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return yr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return yr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),R.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var nt=/[^+/0-9A-Za-z-_]/g;function ot(e){if(e=e.split("=")[0],e=e.trim().replace(nt,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function K(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function ut(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function at(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function mr(e){return J.toByteArray(ot(e))}function q(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function $(e){return e!==e}var ht=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var vr=N((mt,Ar)=>{F();var s=Ar.exports={},A,v;function P(){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=P}catch(e){A=P}try{typeof clearTimeout=="function"?v=clearTimeout:v=j}catch(e){v=j}})();function Fr(e){if(A===setTimeout)return setTimeout(e,0);if((A===P||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function ft(e){if(v===clearTimeout)return clearTimeout(e);if((v===j||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var T=[],M=!1,S,H=-1;function pt(){!M||!S||(M=!1,S.length?T=S.concat(T):H=-1,T.length&&gr())}function gr(){if(!M){var e=Fr(pt);M=!0;for(var r=T.length;r;){for(S=T,T=[];++H<r;)S&&S[H].run();H=-1,r=T.length}S=null,M=!1,ft(e)}}s.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];T.push(new Br(e,r)),T.length===1&&!M&&Fr(gr)};function Br(e,r){this.fun=e,this.array=r}Br.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function I(){}s.on=I;s.addListener=I;s.once=I;s.off=I;s.removeListener=I;s.removeAllListeners=I;s.emit=I;s.prependListener=I;s.prependOnceListener=I;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var k,D,Et,F=Lr(()=>{k=tr(Er()),D=tr(vr()),Et=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var lt={};Rr(lt,{getAreAllTransactionsSignedByGuardian:()=>ct});module.exports=_r(lt);F();var ct=({transactions:e,isGuarded:r})=>r?e.every(i=>Boolean(i.getGuardianSignature().toString("hex"))):!0;0&&(module.exports={getAreAllTransactionsSignedByGuardian});
1
+ "use strict";var Tr=Object.create;var b=Object.defineProperty;var Ir=Object.getOwnPropertyDescriptor;var dr=Object.getOwnPropertyNames;var Cr=Object.getPrototypeOf,Sr=Object.prototype.hasOwnProperty;var Lr=(e,r)=>()=>(e&&(r=e(e=0)),r);var N=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Rr=(e,r)=>{for(var t in r)b(e,t,{get:r[t],enumerable:!0})},rr=(e,r,t,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of dr(r))!Sr.call(e,n)&&n!==t&&b(e,n,{get:()=>r[n],enumerable:!(i=Ir(r,n))||i.enumerable});return e};var tr=(e,r,t)=>(t=e!=null?Tr(Cr(e)):{},rr(r||!e||!e.__esModule?b(t,"default",{value:e,enumerable:!0}):t,e)),_r=e=>rr(b({},"__esModule",{value:!0}),e);var nr=N(W=>{"use strict";F();W.byteLength=kr;W.toByteArray=br;W.fromByteArray=Gr;var g=[],m=[],Mr=typeof Uint8Array!="undefined"?Uint8Array:Array,X="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(d=0,er=X.length;d<er;++d)g[d]=X[d],m[X.charCodeAt(d)]=d;var d,er;m["-".charCodeAt(0)]=62;m["_".charCodeAt(0)]=63;function ir(e){var r=e.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var t=e.indexOf("=");t===-1&&(t=r);var i=t===r?0:4-t%4;return[t,i]}function kr(e){var r=ir(e),t=r[0],i=r[1];return(t+i)*3/4-i}function Dr(e,r,t){return(r+t)*3/4-t}function br(e){var r,t=ir(e),i=t[0],n=t[1],o=new Mr(Dr(e,i,n)),u=0,h=n>0?i-4:i,f;for(f=0;f<h;f+=4)r=m[e.charCodeAt(f)]<<18|m[e.charCodeAt(f+1)]<<12|m[e.charCodeAt(f+2)]<<6|m[e.charCodeAt(f+3)],o[u++]=r>>16&255,o[u++]=r>>8&255,o[u++]=r&255;return n===2&&(r=m[e.charCodeAt(f)]<<2|m[e.charCodeAt(f+1)]>>4,o[u++]=r&255),n===1&&(r=m[e.charCodeAt(f)]<<10|m[e.charCodeAt(f+1)]<<4|m[e.charCodeAt(f+2)]>>2,o[u++]=r>>8&255,o[u++]=r&255),o}function Nr(e){return g[e>>18&63]+g[e>>12&63]+g[e>>6&63]+g[e&63]}function Wr(e,r,t){for(var i,n=[],o=r;o<t;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(e[o+2]&255),n.push(Nr(i));return n.join("")}function Gr(e){for(var r,t=e.length,i=t%3,n=[],o=16383,u=0,h=t-i;u<h;u+=o)n.push(Wr(e,u,u+o>h?h:u+o));return i===1?(r=e[t-1],n.push(g[r>>2]+g[r<<4&63]+"==")):i===2&&(r=(e[t-2]<<8)+e[t-1],n.push(g[r>>10]+g[r>>4&63]+g[r<<2&63]+"=")),n.join("")}});var or=N(z=>{F();z.read=function(e,r,t,i,n){var o,u,h=n*8-i-1,f=(1<<h)-1,c=f>>1,l=-7,p=t?n-1:0,E=t?-1:1,x=e[r+p];for(p+=E,o=x&(1<<-l)-1,x>>=-l,l+=h;l>0;o=o*256+e[r+p],p+=E,l-=8);for(u=o&(1<<-l)-1,o>>=-l,l+=i;l>0;u=u*256+e[r+p],p+=E,l-=8);if(o===0)o=1-c;else{if(o===f)return u?NaN:(x?-1:1)*(1/0);u=u+Math.pow(2,i),o=o-c}return(x?-1:1)*u*Math.pow(2,o-i)};z.write=function(e,r,t,i,n,o){var u,h,f,c=o*8-n-1,l=(1<<c)-1,p=l>>1,E=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=i?0:o-1,L=i?1:-1,Ur=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=l):(u=Math.floor(Math.log(r)/Math.LN2),r*(f=Math.pow(2,-u))<1&&(u--,f*=2),u+p>=1?r+=E/f:r+=E*Math.pow(2,1-p),r*f>=2&&(u++,f/=2),u+p>=l?(h=0,u=l):u+p>=1?(h=(r*f-1)*Math.pow(2,n),u=u+p):(h=r*Math.pow(2,p-1)*Math.pow(2,n),u=0));n>=8;e[t+x]=h&255,x+=L,h/=256,n-=8);for(u=u<<n|h,c+=n;c>0;e[t+x]=u&255,x+=L,u/=256,c-=8);e[t+x-L]|=Ur*128}});var Er=N(_=>{"use strict";F();var J=nr(),R=or(),ur=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=a;_.SlowBuffer=Jr;_.INSPECT_MAX_BYTES=50;var Y=2147483647;_.kMaxLength=Y;a.TYPED_ARRAY_SUPPORT=Yr();!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 Yr(){try{var e=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(e,r),e.foo()===42}catch(t){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 U(e){if(e>Y)throw new RangeError('The value "'+e+'" is invalid for option "size"');var r=new Uint8Array(e);return Object.setPrototypeOf(r,a.prototype),r}function a(e,r,t){if(typeof e=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(e)}return fr(e,r,t)}a.poolSize=8192;function fr(e,r,t){if(typeof e=="string")return Hr(e,r);if(ArrayBuffer.isView(e))return Xr(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(B(e,ArrayBuffer)||e&&B(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(B(e,SharedArrayBuffer)||e&&B(e.buffer,SharedArrayBuffer)))return V(e,r,t);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var i=e.valueOf&&e.valueOf();if(i!=null&&i!==e)return a.from(i,r,t);var n=zr(e);if(n)return n;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return a.from(e[Symbol.toPrimitive]("string"),r,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}a.from=function(e,r,t){return fr(e,r,t)};Object.setPrototypeOf(a.prototype,Uint8Array.prototype);Object.setPrototypeOf(a,Uint8Array);function pr(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 qr(e,r,t){return pr(e),e<=0?U(e):r!==void 0?typeof t=="string"?U(e).fill(r,t):U(e).fill(r):U(e)}a.alloc=function(e,r,t){return qr(e,r,t)};function O(e){return pr(e),U(e<0?0:Z(e)|0)}a.allocUnsafe=function(e){return O(e)};a.allocUnsafeSlow=function(e){return O(e)};function Hr(e,r){if((typeof r!="string"||r==="")&&(r="utf8"),!a.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var t=cr(e,r)|0,i=U(t),n=i.write(e,r);return n!==t&&(i=i.slice(0,n)),i}function Q(e){for(var r=e.length<0?0:Z(e.length)|0,t=U(r),i=0;i<r;i+=1)t[i]=e[i]&255;return t}function Xr(e){if(B(e,Uint8Array)){var r=new Uint8Array(e);return V(r.buffer,r.byteOffset,r.byteLength)}return Q(e)}function V(e,r,t){if(r<0||e.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<r+(t||0))throw new RangeError('"length" is outside of buffer bounds');var i;return r===void 0&&t===void 0?i=new Uint8Array(e):t===void 0?i=new Uint8Array(e,r):i=new Uint8Array(e,r,t),Object.setPrototypeOf(i,a.prototype),i}function zr(e){if(a.isBuffer(e)){var r=Z(e.length)|0,t=U(r);return t.length===0||e.copy(t,0,0,r),t}if(e.length!==void 0)return typeof e.length!="number"||$(e.length)?U(0):Q(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Q(e.data)}function Z(e){if(e>=Y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Y.toString(16)+" bytes");return e|0}function Jr(e){return+e!=e&&(e=0),a.alloc(+e)}a.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==a.prototype};a.compare=function(r,t){if(B(r,Uint8Array)&&(r=a.from(r,r.offset,r.byteLength)),B(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(r)||!a.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===t)return 0;for(var i=r.length,n=t.length,o=0,u=Math.min(i,n);o<u;++o)if(r[o]!==t[o]){i=r[o],n=t[o];break}return i<n?-1:n<i?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,t){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return a.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<r.length;++i)t+=r[i].length;var n=a.allocUnsafe(t),o=0;for(i=0;i<r.length;++i){var u=r[i];if(B(u,Uint8Array))o+u.length>n.length?a.from(u).copy(n,o):Uint8Array.prototype.set.call(n,u,o);else if(a.isBuffer(u))u.copy(n,o);else throw new TypeError('"list" argument must be an Array of Buffers');o+=u.length}return n};function cr(e,r){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||B(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var t=e.length,i=arguments.length>2&&arguments[2]===!0;if(!i&&t===0)return 0;for(var n=!1;;)switch(r){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return K(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return mr(e).length;default:if(n)return i?-1:K(e).length;r=(""+r).toLowerCase(),n=!0}}a.byteLength=cr;function Qr(e,r,t){var i=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,r>>>=0,t<=r))return"";for(e||(e="utf8");;)switch(e){case"hex":return et(this,r,t);case"utf8":case"utf-8":return sr(this,r,t);case"ascii":return rt(this,r,t);case"latin1":case"binary":return tt(this,r,t);case"base64":return Pr(this,r,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return it(this,r,t);default:if(i)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),i=!0}}a.prototype._isBuffer=!0;function C(e,r,t){var i=e[r];e[r]=e[t],e[t]=i}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 t=0;t<r;t+=2)C(this,t,t+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 t=0;t<r;t+=4)C(this,t,t+3),C(this,t+1,t+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 t=0;t<r;t+=8)C(this,t,t+7),C(this,t+1,t+6),C(this,t+2,t+5),C(this,t+3,t+4);return this};a.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?sr(this,0,r):Qr.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="",t=_.INSPECT_MAX_BYTES;return r=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(r+=" ... "),"<Buffer "+r+">"};ur&&(a.prototype[ur]=a.prototype.inspect);a.prototype.compare=function(r,t,i,n,o){if(B(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(t===void 0&&(t=0),i===void 0&&(i=r?r.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>r.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===r)return 0;for(var u=o-n,h=i-t,f=Math.min(u,h),c=this.slice(n,o),l=r.slice(t,i),p=0;p<f;++p)if(c[p]!==l[p]){u=c[p],h=l[p];break}return u<h?-1:h<u?1:0};function lr(e,r,t,i,n){if(e.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,$(t)&&(t=n?0:e.length-1),t<0&&(t=e.length+t),t>=e.length){if(n)return-1;t=e.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof r=="string"&&(r=a.from(r,i)),a.isBuffer(r))return r.length===0?-1:ar(e,r,t,i,n);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(e,r,t):Uint8Array.prototype.lastIndexOf.call(e,r,t):ar(e,[r],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ar(e,r,t,i,n){var o=1,u=e.length,h=r.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(e.length<2||r.length<2)return-1;o=2,u/=2,h/=2,t/=2}function f(x,L){return o===1?x[L]:x.readUInt16BE(L*o)}var c;if(n){var l=-1;for(c=t;c<u;c++)if(f(e,c)===f(r,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===h)return l*o}else l!==-1&&(c-=c-l),l=-1}else for(t+h>u&&(t=u-h),c=t;c>=0;c--){for(var p=!0,E=0;E<h;E++)if(f(e,c+E)!==f(r,E)){p=!1;break}if(p)return c}return-1}a.prototype.includes=function(r,t,i){return this.indexOf(r,t,i)!==-1};a.prototype.indexOf=function(r,t,i){return lr(this,r,t,i,!0)};a.prototype.lastIndexOf=function(r,t,i){return lr(this,r,t,i,!1)};function Vr(e,r,t,i){t=Number(t)||0;var n=e.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=r.length;i>o/2&&(i=o/2);for(var u=0;u<i;++u){var h=parseInt(r.substr(u*2,2),16);if($(h))return u;e[t+u]=h}return u}function Kr(e,r,t,i){return q(K(r,e.length-t),e,t,i)}function Or(e,r,t,i){return q(ut(r),e,t,i)}function Zr(e,r,t,i){return q(mr(r),e,t,i)}function $r(e,r,t,i){return q(at(r,e.length-t),e,t,i)}a.prototype.write=function(r,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(i)?(i=i>>>0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),r.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var u=!1;;)switch(n){case"hex":return Vr(this,r,t,i);case"utf8":case"utf-8":return Kr(this,r,t,i);case"ascii":case"latin1":case"binary":return Or(this,r,t,i);case"base64":return Zr(this,r,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $r(this,r,t,i);default:if(u)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),u=!0}};a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Pr(e,r,t){return r===0&&t===e.length?J.fromByteArray(e):J.fromByteArray(e.slice(r,t))}function sr(e,r,t){t=Math.min(e.length,t);for(var i=[],n=r;n<t;){var o=e[n],u=null,h=o>239?4:o>223?3:o>191?2:1;if(n+h<=t){var f,c,l,p;switch(h){case 1:o<128&&(u=o);break;case 2:f=e[n+1],(f&192)===128&&(p=(o&31)<<6|f&63,p>127&&(u=p));break;case 3:f=e[n+1],c=e[n+2],(f&192)===128&&(c&192)===128&&(p=(o&15)<<12|(f&63)<<6|c&63,p>2047&&(p<55296||p>57343)&&(u=p));break;case 4:f=e[n+1],c=e[n+2],l=e[n+3],(f&192)===128&&(c&192)===128&&(l&192)===128&&(p=(o&15)<<18|(f&63)<<12|(c&63)<<6|l&63,p>65535&&p<1114112&&(u=p))}}u===null?(u=65533,h=1):u>65535&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|u&1023),i.push(u),n+=h}return jr(i)}var hr=4096;function jr(e){var r=e.length;if(r<=hr)return String.fromCharCode.apply(String,e);for(var t="",i=0;i<r;)t+=String.fromCharCode.apply(String,e.slice(i,i+=hr));return t}function rt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]&127);return i}function tt(e,r,t){var i="";t=Math.min(e.length,t);for(var n=r;n<t;++n)i+=String.fromCharCode(e[n]);return i}function et(e,r,t){var i=e.length;(!r||r<0)&&(r=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=r;o<t;++o)n+=ht[e[o]];return n}function it(e,r,t){for(var i=e.slice(r,t),n="",o=0;o<i.length-1;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}a.prototype.slice=function(r,t){var i=this.length;r=~~r,t=t===void 0?i:~~t,r<0?(r+=i,r<0&&(r=0)):r>i&&(r=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<r&&(t=r);var n=this.subarray(r,t);return Object.setPrototypeOf(n,a.prototype),n};function w(e,r,t){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+r>t)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return n};a.prototype.readUintBE=a.prototype.readUIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r+--t],o=1;t>0&&(o*=256);)n+=this[r+--t]*o;return n};a.prototype.readUint8=a.prototype.readUInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]};a.prototype.readUint16LE=a.prototype.readUInt16LE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]|this[r+1]<<8};a.prototype.readUint16BE=a.prototype.readUInt16BE=function(r,t){return r=r>>>0,t||w(r,2,this.length),this[r]<<8|this[r+1]};a.prototype.readUint32LE=a.prototype.readUInt32LE=function(r,t){return r=r>>>0,t||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,t){return r=r>>>0,t||w(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};a.prototype.readIntLE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=this[r],o=1,u=0;++u<t&&(o*=256);)n+=this[r+u]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};a.prototype.readIntBE=function(r,t,i){r=r>>>0,t=t>>>0,i||w(r,t,this.length);for(var n=t,o=1,u=this[r+--n];n>0&&(o*=256);)u+=this[r+--n]*o;return o*=128,u>=o&&(u-=Math.pow(2,8*t)),u};a.prototype.readInt8=function(r,t){return r=r>>>0,t||w(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};a.prototype.readInt16LE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r]|this[r+1]<<8;return i&32768?i|4294901760:i};a.prototype.readInt16BE=function(r,t){r=r>>>0,t||w(r,2,this.length);var i=this[r+1]|this[r]<<8;return i&32768?i|4294901760:i};a.prototype.readInt32LE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};a.prototype.readInt32BE=function(r,t){return r=r>>>0,t||w(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};a.prototype.readFloatLE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!0,23,4)};a.prototype.readFloatBE=function(r,t){return r=r>>>0,t||w(r,4,this.length),R.read(this,r,!1,23,4)};a.prototype.readDoubleLE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!0,52,8)};a.prototype.readDoubleBE=function(r,t){return r=r>>>0,t||w(r,8,this.length),R.read(this,r,!1,52,8)};function y(e,r,t,i,n,o){if(!a.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>n||r<o)throw new RangeError('"value" argument is out of bounds');if(t+i>e.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=1,h=0;for(this[t]=r&255;++h<i&&(u*=256);)this[t+h]=r/u&255;return t+i};a.prototype.writeUintBE=a.prototype.writeUIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,i=i>>>0,!n){var o=Math.pow(2,8*i)-1;y(this,r,t,i,o,0)}var u=i-1,h=1;for(this[t+u]=r&255;--u>=0&&(h*=256);)this[t+u]=r/h&255;return t+i};a.prototype.writeUint8=a.prototype.writeUInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,255,0),this[t]=r&255,t+1};a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,65535,0),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t+3]=r>>>24,this[t+2]=r>>>16,this[t+1]=r>>>8,this[t]=r&255,t+4};a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,4294967295,0),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};a.prototype.writeIntLE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=0,h=1,f=0;for(this[t]=r&255;++u<i&&(h*=256);)r<0&&f===0&&this[t+u-1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeIntBE=function(r,t,i,n){if(r=+r,t=t>>>0,!n){var o=Math.pow(2,8*i-1);y(this,r,t,i,o-1,-o)}var u=i-1,h=1,f=0;for(this[t+u]=r&255;--u>=0&&(h*=256);)r<0&&f===0&&this[t+u+1]!==0&&(f=1),this[t+u]=(r/h>>0)-f&255;return t+i};a.prototype.writeInt8=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,1,127,-128),r<0&&(r=255+r+1),this[t]=r&255,t+1};a.prototype.writeInt16LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r&255,this[t+1]=r>>>8,t+2};a.prototype.writeInt16BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,2,32767,-32768),this[t]=r>>>8,this[t+1]=r&255,t+2};a.prototype.writeInt32LE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),this[t]=r&255,this[t+1]=r>>>8,this[t+2]=r>>>16,this[t+3]=r>>>24,t+4};a.prototype.writeInt32BE=function(r,t,i){return r=+r,t=t>>>0,i||y(this,r,t,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[t]=r>>>24,this[t+1]=r>>>16,this[t+2]=r>>>8,this[t+3]=r&255,t+4};function wr(e,r,t,i,n,o){if(t+i>e.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function yr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,4,34028234663852886e22,-34028234663852886e22),R.write(e,r,t,i,23,4),t+4}a.prototype.writeFloatLE=function(r,t,i){return yr(this,r,t,!0,i)};a.prototype.writeFloatBE=function(r,t,i){return yr(this,r,t,!1,i)};function xr(e,r,t,i,n){return r=+r,t=t>>>0,n||wr(e,r,t,8,17976931348623157e292,-17976931348623157e292),R.write(e,r,t,i,52,8),t+8}a.prototype.writeDoubleLE=function(r,t,i){return xr(this,r,t,!0,i)};a.prototype.writeDoubleBE=function(r,t,i){return xr(this,r,t,!1,i)};a.prototype.copy=function(r,t,i,n){if(!a.isBuffer(r))throw new TypeError("argument should be a Buffer");if(i||(i=0),!n&&n!==0&&(n=this.length),t>=r.length&&(t=r.length),t||(t=0),n>0&&n<i&&(n=i),n===i||r.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),r.length-t<n-i&&(n=r.length-t+i);var o=n-i;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,i,n):Uint8Array.prototype.set.call(r,this.subarray(i,n),t),o};a.prototype.fill=function(r,t,i,n){if(typeof r=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!a.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(r.length===1){var o=r.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(r=o)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,r||(r=0);var u;if(typeof r=="number")for(u=t;u<i;++u)this[u]=r;else{var h=a.isBuffer(r)?r:a.from(r,n),f=h.length;if(f===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(u=0;u<i-t;++u)this[u+t]=h[u%f]}return this};var nt=/[^+/0-9A-Za-z-_]/g;function ot(e){if(e=e.split("=")[0],e=e.trim().replace(nt,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function K(e,r){r=r||1/0;for(var t,i=e.length,n=null,o=[],u=0;u<i;++u){if(t=e.charCodeAt(u),t>55295&&t<57344){if(!n){if(t>56319){(r-=3)>-1&&o.push(239,191,189);continue}else if(u+1===i){(r-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(r-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(r-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((r-=1)<0)break;o.push(t)}else if(t<2048){if((r-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((r-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((r-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function ut(e){for(var r=[],t=0;t<e.length;++t)r.push(e.charCodeAt(t)&255);return r}function at(e,r){for(var t,i,n,o=[],u=0;u<e.length&&!((r-=2)<0);++u)t=e.charCodeAt(u),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function mr(e){return J.toByteArray(ot(e))}function q(e,r,t,i){for(var n=0;n<i&&!(n+t>=r.length||n>=e.length);++n)r[n+t]=e[n];return n}function B(e,r){return e instanceof r||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===r.name}function $(e){return e!==e}var ht=function(){for(var e="0123456789abcdef",r=new Array(256),t=0;t<16;++t)for(var i=t*16,n=0;n<16;++n)r[i+n]=e[t]+e[n];return r}()});var vr=N((mt,Ar)=>{F();var s=Ar.exports={},A,v;function P(){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=P}catch(e){A=P}try{typeof clearTimeout=="function"?v=clearTimeout:v=j}catch(e){v=j}})();function Fr(e){if(A===setTimeout)return setTimeout(e,0);if((A===P||!A)&&setTimeout)return A=setTimeout,setTimeout(e,0);try{return A(e,0)}catch(r){try{return A.call(null,e,0)}catch(t){return A.call(this,e,0)}}}function ft(e){if(v===clearTimeout)return clearTimeout(e);if((v===j||!v)&&clearTimeout)return v=clearTimeout,clearTimeout(e);try{return v(e)}catch(r){try{return v.call(null,e)}catch(t){return v.call(this,e)}}}var T=[],M=!1,S,H=-1;function pt(){!M||!S||(M=!1,S.length?T=S.concat(T):H=-1,T.length&&gr())}function gr(){if(!M){var e=Fr(pt);M=!0;for(var r=T.length;r;){for(S=T,T=[];++H<r;)S&&S[H].run();H=-1,r=T.length}S=null,M=!1,ft(e)}}s.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];T.push(new Br(e,r)),T.length===1&&!M&&Fr(gr)};function Br(e,r){this.fun=e,this.array=r}Br.prototype.run=function(){this.fun.apply(null,this.array)};s.title="browser";s.browser=!0;s.env={};s.argv=[];s.version="";s.versions={};function I(){}s.on=I;s.addListener=I;s.once=I;s.off=I;s.removeListener=I;s.removeAllListeners=I;s.emit=I;s.prependListener=I;s.prependOnceListener=I;s.listeners=function(e){return[]};s.binding=function(e){throw new Error("process.binding is not supported")};s.cwd=function(){return"/"};s.chdir=function(e){throw new Error("process.chdir is not supported")};s.umask=function(){return 0}});var k,D,Et,F=Lr(()=>{k=tr(Er()),D=tr(vr()),Et=function(e){function r(){var i=this||self;return delete e.prototype.__magic__,i}if(typeof globalThis=="object")return globalThis;if(this)return r();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:r});var t=__magic__;return t}(Object)});var lt={};Rr(lt,{getAreAllTransactionsSignedByGuardian:()=>ct});module.exports=_r(lt);F();var ct=({transactions:e,isGuarded:r})=>r?e.length===0?!1:e.every(t=>Boolean(t.getGuardianSignature().toString("hex"))):!0;0&&(module.exports={getAreAllTransactionsSignedByGuardian});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Xi=Object.create;var ve=Object.defineProperty,Zi=Object.defineProperties,Ji=Object.getOwnPropertyDescriptor,Qi=Object.getOwnPropertyDescriptors,ea=Object.getOwnPropertyNames,We=Object.getOwnPropertySymbols,ta=Object.getPrototypeOf,Dt=Object.prototype.hasOwnProperty,Gr=Object.prototype.propertyIsEnumerable;var $r=(e,t,r)=>t in e?ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))Dt.call(t,r)&&$r(e,r,t[r]);if(We)for(var r of We(t))Gr.call(t,r)&&$r(e,r,t[r]);return e},S=(e,t)=>Zi(e,Qi(t));var _t=(e,t)=>{var r={};for(var o in e)Dt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&We)for(var o of We(e))t.indexOf(o)<0&&Gr.call(e,o)&&(r[o]=e[o]);return r};var y=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ve=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ie=(e,t)=>{for(var r in t)ve(e,r,{get:t[r],enumerable:!0})},Hr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ea(t))!Dt.call(e,i)&&i!==r&&ve(e,i,{get:()=>t[i],enumerable:!(o=Ji(t,i))||o.enumerable});return e};var v=(e,t,r)=>(r=e!=null?Xi(ta(e)):{},Hr(t||!e||!e.__esModule?ve(r,"default",{value:e,enumerable:!0}):r,e)),be=e=>Hr(ve({},"__esModule",{value:!0}),e);var w=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(g){i(g)}},p=d=>{try{m(r.throw(d))}catch(g){i(g)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var zr=Ve($e=>{"use strict";n();$e.byteLength=na;$e.toByteArray=ia;$e.fromByteArray=ca;var $=[],U=[],ra=typeof Uint8Array!="undefined"?Uint8Array:Array,Ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ae=0,qr=Ot.length;ae<qr;++ae)$[ae]=Ot[ae],U[Ot.charCodeAt(ae)]=ae;var ae,qr;U["-".charCodeAt(0)]=62;U["_".charCodeAt(0)]=63;function jr(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 na(e){var t=jr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function oa(e,t,r){return(t+r)*3/4-r}function ia(e){var t,r=jr(e),o=r[0],i=r[1],l=new ra(oa(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=U[e.charCodeAt(d)]<<18|U[e.charCodeAt(d+1)]<<12|U[e.charCodeAt(d+2)]<<6|U[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=U[e.charCodeAt(d)]<<2|U[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=U[e.charCodeAt(d)]<<10|U[e.charCodeAt(d+1)]<<4|U[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function aa(e){return $[e>>18&63]+$[e>>12&63]+$[e>>6&63]+$[e&63]}function sa(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(aa(o));return i.join("")}function ca(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(sa(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push($[t>>2]+$[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push($[t>>10]+$[t>>4&63]+$[t<<2&63]+"=")),i.join("")}});var Kr=Ve(Mt=>{n();Mt.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,g=d>>1,x=-7,h=r?i-1:0,I=r?-1:1,k=e[t+h];for(h+=I,l=k&(1<<-x)-1,k>>=-x,x+=m;x>0;l=l*256+e[t+h],h+=I,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=I,x-=8);if(l===0)l=1-g;else{if(l===d)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(k?-1:1)*p*Math.pow(2,l-o)};Mt.write=function(e,t,r,o,i,l){var p,m,d,g=l*8-i-1,x=(1<<g)-1,h=x>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,R=o?1:-1,me=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+=I/d:t+=I*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+k]=m&255,k+=R,m/=256,i-=8);for(p=p<<i|m,g+=i;g>0;e[r+k]=p&255,k+=R,p/=256,g-=8);e[r+k-R]|=me*128}});var cn=Ve(fe=>{"use strict";n();var Ft=zr(),ge=Kr(),Yr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;fe.Buffer=u;fe.SlowBuffer=ga;fe.INSPECT_MAX_BYTES=50;var Ge=2147483647;fe.kMaxLength=Ge;u.TYPED_ARRAY_SUPPORT=la();!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 la(){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 Z(e){if(e>Ge)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 Vt(e)}return Jr(e,t,r)}u.poolSize=8192;function Jr(e,t,r){if(typeof e=="string")return ua(e,t);if(ArrayBuffer.isView(e))return da(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 Bt(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=ma(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Jr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Qr(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 pa(e,t,r){return Qr(e),e<=0?Z(e):t!==void 0?typeof r=="string"?Z(e).fill(t,r):Z(e).fill(t):Z(e)}u.alloc=function(e,t,r){return pa(e,t,r)};function Vt(e){return Qr(e),Z(e<0?0:$t(e)|0)}u.allocUnsafe=function(e){return Vt(e)};u.allocUnsafeSlow=function(e){return Vt(e)};function ua(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=en(e,t)|0,o=Z(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Ut(e){for(var t=e.length<0?0:$t(e.length)|0,r=Z(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function da(e){if(G(e,Uint8Array)){var t=new Uint8Array(e);return Bt(t.buffer,t.byteOffset,t.byteLength)}return Ut(e)}function Bt(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 ma(e){if(u.isBuffer(e)){var t=$t(e.length)|0,r=Z(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Gt(e.length)?Z(0):Ut(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ut(e.data)}function $t(e){if(e>=Ge)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ge.toString(16)+" bytes");return e|0}function ga(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 en(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 Wt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return sn(e).length;default:if(i)return o?-1:Wt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=en;function fa(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 Ia(this,t,r);case"utf8":case"utf-8":return rn(this,t,r);case"ascii":return va(this,t,r);case"latin1":case"binary":return ba(this,t,r);case"base64":return wa(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ka(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function se(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)se(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)se(this,r,r+3),se(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)se(this,r,r+7),se(this,r+1,r+6),se(this,r+2,r+5),se(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?rn(this,0,t):fa.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=fe.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Yr&&(u.prototype[Yr]=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),g=this.slice(i,l),x=t.slice(r,o),h=0;h<d;++h)if(g[h]!==x[h]){p=g[h],m=x[h];break}return p<m?-1:m<p?1:0};function tn(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,Gt(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:Xr(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):Xr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Xr(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(k,R){return l===1?k[R]:k.readUInt16BE(R*l)}var g;if(i){var x=-1;for(g=r;g<p;g++)if(d(e,g)===d(t,x===-1?0:g-x)){if(x===-1&&(x=g),g-x+1===m)return x*l}else x!==-1&&(g-=g-x),x=-1}else for(r+m>p&&(r=p-m),g=r;g>=0;g--){for(var h=!0,I=0;I<m;I++)if(d(e,g+I)!==d(t,I)){h=!1;break}if(h)return g}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return tn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return tn(this,t,r,o,!1)};function Ta(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(Gt(m))return p;e[r+p]=m}return p}function ya(e,t,r,o){return He(Wt(t,e.length-r),e,r,o)}function ha(e,t,r,o){return He(Pa(t),e,r,o)}function xa(e,t,r,o){return He(sn(t),e,r,o)}function Sa(e,t,r,o){return He(Ra(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 Ta(this,t,r,o);case"utf8":case"utf-8":return ya(this,t,r,o);case"ascii":case"latin1":case"binary":return ha(this,t,r,o);case"base64":return xa(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sa(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function wa(e,t,r){return t===0&&r===e.length?Ft.fromByteArray(e):Ft.fromByteArray(e.slice(t,r))}function rn(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,g,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],g=e[i+2],(d&192)===128&&(g&192)===128&&(h=(l&15)<<12|(d&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:d=e[i+1],g=e[i+2],x=e[i+3],(d&192)===128&&(g&192)===128&&(x&192)===128&&(h=(l&15)<<18|(d&63)<<12|(g&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 Aa(o)}var Zr=4096;function Aa(e){var t=e.length;if(t<=Zr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Zr));return r}function va(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 ba(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 Ia(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+=Na[e[l]];return i}function ka(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 P(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||P(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||P(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||P(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||P(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||P(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||P(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||P(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||P(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||P(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||P(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||P(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||P(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||P(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||P(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||P(t,4,this.length),ge.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||P(t,4,this.length),ge.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||P(t,8,this.length),ge.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||P(t,8,this.length),ge.read(this,t,!1,52,8)};function C(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;C(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;C(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||C(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||C(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||C(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||C(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||C(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);C(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);C(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||C(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||C(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||C(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||C(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||C(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 nn(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 on(e,t,r,o,i){return t=+t,r=r>>>0,i||nn(e,t,r,4,34028234663852886e22,-34028234663852886e22),ge.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return on(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return on(this,t,r,!1,o)};function an(e,t,r,o,i){return t=+t,r=r>>>0,i||nn(e,t,r,8,17976931348623157e292,-17976931348623157e292),ge.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return an(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return an(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 Ea=/[^+/0-9A-Za-z-_]/g;function La(e){if(e=e.split("=")[0],e=e.trim().replace(Ea,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Wt(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 Pa(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ra(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 sn(e){return Ft.toByteArray(La(e))}function He(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 Gt(e){return e!==e}var Na=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 mn=Ve((Bc,dn)=>{n();var E=dn.exports={},H,q;function Ht(){throw new Error("setTimeout has not been defined")}function qt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?H=setTimeout:H=Ht}catch(e){H=Ht}try{typeof clearTimeout=="function"?q=clearTimeout:q=qt}catch(e){q=qt}})();function ln(e){if(H===setTimeout)return setTimeout(e,0);if((H===Ht||!H)&&setTimeout)return H=setTimeout,setTimeout(e,0);try{return H(e,0)}catch(t){try{return H.call(null,e,0)}catch(r){return H.call(this,e,0)}}}function Ca(e){if(q===clearTimeout)return clearTimeout(e);if((q===qt||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(e);try{return q(e)}catch(t){try{return q.call(null,e)}catch(r){return q.call(this,e)}}}var J=[],Te=!1,ce,qe=-1;function Da(){!Te||!ce||(Te=!1,ce.length?J=ce.concat(J):qe=-1,J.length&&pn())}function pn(){if(!Te){var e=ln(Da);Te=!0;for(var t=J.length;t;){for(ce=J,J=[];++qe<t;)ce&&ce[qe].run();qe=-1,t=J.length}ce=null,Te=!1,Ca(e)}}E.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];J.push(new un(e,t)),J.length===1&&!Te&&ln(pn)};function un(e,t){this.fun=e,this.array=t}un.prototype.run=function(){this.fun.apply(null,this.array)};E.title="browser";E.browser=!0;E.env={};E.argv=[];E.version="";E.versions={};function Q(){}E.on=Q;E.addListener=Q;E.once=Q;E.off=Q;E.removeListener=Q;E.removeAllListeners=Q;E.emit=Q;E.prependListener=Q;E.prependOnceListener=Q;E.listeners=function(e){return[]};E.binding=function(e){throw new Error("process.binding is not supported")};E.cwd=function(){return"/"};E.chdir=function(e){throw new Error("process.chdir is not supported")};E.umask=function(){return 0}});var a,s,Wc,n=y(()=>{a=v(cn()),s=v(mn()),Wc=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 gn=y(()=>{"use strict";n()});var fn=y(()=>{"use strict";n()});var Tn=y(()=>{"use strict";n()});var jt,yn=y(()=>{"use strict";n();jt=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(jt||{})});var hn=y(()=>{"use strict";n()});var zt=y(()=>{"use strict";n()});var xn=y(()=>{"use strict";n()});var Sn=y(()=>{"use strict";n()});var wn=y(()=>{"use strict";n()});var An=y(()=>{"use strict";n()});var je,vn,Zc,bn,Jc,W=y(()=>{"use strict";n();je=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types"),vn=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(vn||{}),Zc=T(T({},je.CrossWindowProviderRequestEnums),vn),bn=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(bn||{}),Jc=T(T({},je.CrossWindowProviderResponseEnums),bn)});var In=y(()=>{"use strict";n()});var kn=y(()=>{"use strict";n()});var D=y(()=>{"use strict";n()});var En=y(()=>{"use strict";n()});var Ln=y(()=>{"use strict";n()});var Pn=y(()=>{"use strict";n()});var O=y(()=>{"use strict";n();Sn();wn();An();W();In();kn();D();En();Ln();Pn()});var le,Rn,fl,Nn,Tl,Cn,yl,hl,Dn,Ie=y(()=>{"use strict";n();O();le={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"},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"},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"}},{chainId:Rn,egldLabel:fl}=le["devnet"],{chainId:Nn,egldLabel:Tl}=le["testnet"],{chainId:Cn,egldLabel:yl}=le["mainnet"],hl={["devnet"]:Rn,["testnet"]:Nn,["mainnet"]:Cn},Dn={[Rn]:"devnet",[Nn]:"testnet",[Cn]:"mainnet"}});var _n=y(()=>{"use strict";n()});var j,On=y(()=>{"use strict";n();j=require("@multiversx/sdk-web-wallet-provider")});var Kt,Yt,Mn,Fn,Xt,Zt,ze,Un,ye,A=y(()=>{"use strict";n();gn();fn();Tn();yn();hn();zt();xn();Ie();_n();On();Kt=5e4,Yt=1e9,Mn=1,Fn=1,Xt="signSession",Zt="sdk-dapp-version",ze="logout",Un="login",ye="0"});var Ke,Jt=y(()=>{"use strict";n();Ke=()=>Date.now()/1e3});var Bn=y(()=>{"use strict";n()});var Wn=y(()=>{"use strict";n()});var Vn=y(()=>{"use strict";n();Jt();Bn();Wn()});var Qt={};ie(Qt,{clear:()=>Ua,getItem:()=>Ma,localStorageKeys:()=>V,removeItem:()=>Fa,setItem:()=>Oa});var V,Ye,Oa,Ma,Fa,Ua,he=y(()=>{"use strict";n();Vn();V={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ye=typeof localStorage!="undefined",Oa=({key:e,data:t,expires:r})=>{!Ye||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ma=e=>{if(!Ye)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Ke()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Fa=e=>{!Ye||localStorage.removeItem(String(e))},Ua=()=>{!Ye||localStorage.clear()}});var er={};ie(er,{clear:()=>qn,getItem:()=>Gn,removeItem:()=>Hn,setItem:()=>$n,storage:()=>Ba});var $n,Gn,Hn,qn,Ba,jn=y(()=>{"use strict";n();$n=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Gn=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},Hn=e=>sessionStorage.removeItem(String(e)),qn=()=>sessionStorage.clear(),Ba={setItem:$n,getItem:Gn,removeItem:Hn,clear:qn}});var z,ke=y(()=>{"use strict";n();he();jn();z={session:er,local:Qt}});var tr,b,Ee,M=y(()=>{"use strict";n();tr=require("@reduxjs/toolkit");A();b=(0,tr.createAction)(ze),Ee=(0,tr.createAction)(Un,e=>({payload:e}))});var nr,zn,Kn,Xe,rr,Yn,or,Xl,ir,Zl,Jl,Ql,ep,tp,rp,np,op,Ze,Je=y(()=>{"use strict";n();nr=require("@multiversx/sdk-core"),zn=require("@reduxjs/toolkit"),Kn=require("redux-persist");A();ke();he();M();Xe={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ye},rr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Xe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Yn=(0,zn.createSlice)({name:"accountInfoSlice",initialState:rr,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new nr.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Xe},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(b,()=>(z.local.removeItem(V.loginExpiresAt),rr)),e.addCase(Ee,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new nr.Address(o).hex()}),e.addCase(Kn.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:rr.accounts,t.publicKey=m})}}),{setAccount:or,setAddress:Xl,setAccountNonce:ir,setAccountShard:Zl,setLedgerAccount:Jl,updateLedgerAccount:Ql,setWalletConnectAccount:ep,setIsAccountLoading:tp,setAccountLoadingError:rp,setWebsocketEvent:np,setWebsocketBatchEvent:op}=Yn.actions,Ze=Yn.reducer});function Le(){return new Date().setHours(new Date().getHours()+24)}function Pe(e){z.local.setItem({key:V.loginExpiresAt,data:e,expires:e})}var ar=y(()=>{"use strict";n();ke();he()});var Zn,Xn,Jn,gp,fp,Tp,yp,hp,xp,Qn,Sp,wp,et,tt=y(()=>{"use strict";n();Zn=require("@reduxjs/toolkit");ar();W();M();Xn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,isLoginSessionInvalid:!1},Jn=(0,Zn.createSlice)({name:"loginInfoSlice",initialState:Xn,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},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(b,()=>Xn),e.addCase(Ee,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,Pe(Le())})}}),{setLoginMethod:gp,setWalletConnectLogin:fp,setLedgerLogin:Tp,setTokenLogin:yp,setTokenLoginSignature:hp,setWalletLogin:xp,invalidateLoginSession:Qn,setLogoutRoute:Sp,setIsWalletConnectV2Initialized:wp}=Jn.actions,et=Jn.reducer});var to,eo,ro,Ip,kp,Ep,Lp,rt,nt=y(()=>{"use strict";n();to=require("@reduxjs/toolkit");M();eo={},ro=(0,to.createSlice)({name:"modalsSlice",initialState:eo,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(b,()=>eo)}}),{setTxSubmittedModal:Ip,setNotificationModal:kp,clearTxSubmittedModal:Ep,clearNotificationModal:Lp}=ro.actions,rt=ro.reducer});var no,oo,sr,cr=y(()=>{"use strict";n();no=!1,oo=(e=!0)=>{no=e},sr=({timeout:e=0,url:t})=>{no||setTimeout(()=>{if(!!window)return window.location.assign(t)},e)}});var io=y(()=>{"use strict";n();cr()});function ao(e){return e[Math.floor(Math.random()*e.length)]}var so=y(()=>{"use strict";n()});var co=y(()=>{"use strict";n();zt()});var lo=y(()=>{"use strict";n();io();so();co()});var po,uo,mo,lr,Wa,go,Hp,qp,jp,ot,it=y(()=>{"use strict";n();po=require("@reduxjs/toolkit"),uo=v(require("lodash.omit")),mo=require("redux-persist");M();lo();lr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Wa={network:lr,chainID:"-1"},go=(0,po.createSlice)({name:"appConfig",initialState:Wa,reducers:{initializeNetworkConfig:(e,t)=>{let r=ao(t.payload.walletConnectV2RelayAddresses),o=(0,uo.default)(t.payload,"walletConnectV2RelayAddresses");e.network=S(T(T({},e.network),o),{walletConnectV2RelayAddress:r})},setChainID:(e,t)=>{e.chainID=t.payload},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(b,t=>{t.network.customWalletAddress=void 0}),e.addCase(mo.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:Hp,setChainID:qp,setCustomWalletAddress:jp}=go.actions,ot=go.reducer});var fo,pr,To,Jp,Qp,eu,at,st=y(()=>{"use strict";n();fo=require("@reduxjs/toolkit");O();M();pr={isSigning:!1,signedSessions:{}},To=(0,fo.createSlice)({name:"signedMessageInfoSliceState",initialState:pr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=T(T({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>T(T({},e),t.payload),clearSignedMessageInfo:()=>pr},extraReducers:e=>{e.addCase(b,()=>pr)}}),{setSignSession:Jp,clearSignedMessageInfo:Qp,setSignSessionState:eu}=To.actions,at=To.reducer});var ho,xo,yo,So,su,cu,lu,pu,ct,lt=y(()=>{"use strict";n();ho=require("@reduxjs/toolkit"),xo=require("redux-persist");O();Jt();M();yo={customToasts:[],transactionToasts:[]},So=(0,ho.createSlice)({name:"toastsSlice",initialState:yo,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]=S(T(T({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(S(T({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Ke(),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(b,()=>yo),e.addCase(xo.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:su,removeCustomToast:cu,addTransactionToast:lu,removeTransactionToast:pu}=So.actions,ct=So.reducer});var wo,dr,mr,gr,Va,ur,Ao,gu,fu,Tu,pt,ut=y(()=>{"use strict";n();wo=require("@reduxjs/toolkit");M();dr="Transaction failed",mr="Transaction successful",gr="Processing transaction",Va="Transaction submitted",ur={},Ao=(0,wo.createSlice)({name:"transactionsInfo",initialState:ur,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||dr,successMessage:(o==null?void 0:o.successMessage)||mr,processingMessage:(o==null?void 0:o.processingMessage)||gr,submittedMessage:(o==null?void 0:o.submittedMessage)||Va,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>ur},extraReducers:e=>{e.addCase(b,()=>ur)}}),{clearTransactionsInfo:gu,setTransactionsDisplayInfo:fu,clearTransactionsInfoForSessionId:Tu}=Ao.actions,pt=Ao.reducer});function vo(e){return e!=null&&(Ja(e)||ns(e))}function dt(e){return e!=null&&(Qa(e)||os(e))}function mt(e){return e!=null&&(es(e)||is(e))}function bo(e){return e!=null&&(ts(e)||as(e))}function Io(e){return e!=null&&rs(e)}function Ja(e){return e!=null&&Ga.includes(e)}function Qa(e){return e!=null&&Ha.includes(e)}function es(e){return e!=null&&qa.includes(e)}function ts(e){return e!=null&&ja.includes(e)}function rs(e){return e!=null&&za.includes(e)}function ns(e){return e!=null&&Ka.includes(e)}function os(e){return e!=null&&Ya.includes(e)}function is(e){return e!=null&&Xa.includes(e)}function as(e){return e!=null&&Za.includes(e)}var Ga,Ha,qa,ja,za,Ka,Ya,Xa,Za,Tr=y(()=>{"use strict";n();W();Ga=["sent"],Ha=["success"],qa=["fail","cancelled","timedOut"],ja=["invalid"],za=["timedOut"],Ka=["pending"],Ya=["success"],Xa=["fail","invalid"],Za=["not executed"]});var ko,Eo,Re,ss,Lo,Iu,ku,Eu,Lu,Pu,Ru,Nu,Cu,Du,_u,Ou,gt,ft=y(()=>{"use strict";n();ko=require("@reduxjs/toolkit"),Eo=require("redux-persist");W();Tr();M();Re={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ss={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Lo=(0,ko.createSlice)({name:"transactionsSlice",initialState:Re,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:m}=t.payload;e.customTransactionInformationForSessionId[r]=T(T(T({},ss),((d=e.signedTransactions[r])==null?void 0:d.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:T(T({},e.customTransactionInformationForSessionId[r]),m!=null?m:{})},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=Re.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=T(T({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var d,g,x,h,I,k,R,me;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,inTransit:p}=t.payload,m=(g=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:g.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(X=>X.hash===l?S(T({},X),{status:o,errorMessage:i,inTransit:p}):X);let Ct=(h=(x=e.signedTransactions[r])==null?void 0:x.transactions)==null?void 0:h.every(X=>dt(X.status)),Ki=(k=(I=e.signedTransactions[r])==null?void 0:I.transactions)==null?void 0:k.every(X=>mt(X.status)),Yi=(me=(R=e.signedTransactions[r])==null?void 0:R.transactions)==null?void 0:me.every(X=>bo(X.status));Ct&&(e.signedTransactions[r].status="success"),Ki&&(e.signedTransactions[r].status="fail"),Yi&&(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=Re.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Re.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=T(T({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(b,()=>Re),e.addCase(Eo.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,g])=>{let x=new Date(d),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(m[d]=g),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Iu,updateSignedTransactions:ku,setTransactionsToSign:Eu,clearAllTransactionsToSign:Lu,clearAllSignedTransactions:Pu,clearSignedTransaction:Ru,clearTransactionToSign:Nu,setSignTransactionsError:Cu,setSignTransactionsCancelMessage:Du,moveTransactionsToSignedState:_u,updateSignedTransactionsCustomTransactionInformation:Ou}=Lo.actions,gt=Lo.reducer});var Po,yr,Ro,Bu,Wu,Vu,$u,Tt,yt=y(()=>{"use strict";n();Po=require("@reduxjs/toolkit");M();yr={},Ro=(0,Po.createSlice)({name:"batchTransactionsSlice",initialState:yr,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:()=>yr},extraReducers:e=>{e.addCase(b,()=>yr)}}),{setBatchTransactions:Bu,updateBatchTransactions:Wu,clearBatchTransactions:Vu,clearAllBatchTransactions:$u}=Ro.actions,Tt=Ro.reducer});var Co,No,Do,ju,_o,hr=y(()=>{"use strict";n();Co=require("@reduxjs/toolkit");M();No={},Do=(0,Co.createSlice)({name:"dappConfigSlice",initialState:No,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(b,()=>No)}}),{setDappConfig:ju}=Do.actions,_o=Do.reducer});var oe=y(()=>{"use strict";n();Je();tt();nt();it();st();lt();ut();ft();yt();hr()});var Ar=y(()=>{"use strict";n()});var Yo,Ts,ys,de,It=y(()=>{"use strict";n();Yo=require("@reduxjs/toolkit");Ar();Je();yt();hr();tt();nt();it();st();lt();ut();ft();Ts={["account"]:Ze,["dappConfig"]:_o,["loginInfo"]:et,["modals"]:rt,["networkConfig"]:ot,["signedMessageInfo"]:at,["toasts"]:ct,["transactionsInfo"]:pt,["transactions"]:gt,["batchTransactions"]:Tt},ys=(e={})=>(0,Yo.combineReducers)(T(T({},Ts),e)),de=ys});var Qo={};ie(Qo,{default:()=>Ds,sessionStorageReducers:()=>vr});function te(e,t=[]){return{key:e,version:1,storage:Zo.default,blacklist:t}}var _,Xo,Zo,hs,Ce,xs,Ss,ws,As,vs,bs,Is,ks,Es,Ls,Jo,Ps,vr,Rs,Ns,Cs,Ds,ei=y(()=>{"use strict";n();_=require("redux-persist"),Xo=v(require("redux-persist/lib/storage")),Zo=v(require("redux-persist/lib/storage/session"));It();oe();Je();yt();tt();nt();it();st();lt();ut();ft();Ar();hs={persistReducersStorageType:"localStorage"},Ce={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},xs=te(Ce["account"]),Ss=te(Ce["loginInfo"]),ws=te(Ce["modals"]),As=te(Ce["networkConfig"]),vs={2:e=>S(T({},e),{networkConfig:lr})};bs=te("sdk-dapp-transactionsInfo"),Is=te("sdk-dapp-transactions",["transactionsToSign"]),ks=te("sdk-dapp-batchTransactions",["batchTransactions"]),Es=te("sdk-dapp-toasts"),Ls=te("sdk-dapp-signedMessageInfo"),Jo={key:"sdk-dapp-store",version:2,storage:Xo.default,whitelist:Object.keys(Ce),migrate:(0,_.createMigrate)(vs,{debug:!1})},Ps=S(T({},Jo),{whitelist:[]}),vr={["toasts"]:(0,_.persistReducer)(Es,ct),["transactions"]:(0,_.persistReducer)(Is,gt),["transactionsInfo"]:(0,_.persistReducer)(bs,pt),["batchTransactions"]:(0,_.persistReducer)(ks,Tt),["signedMessageInfo"]:(0,_.persistReducer)(Ls,at)},Rs=S(T({},vr),{["account"]:(0,_.persistReducer)(xs,Ze),["loginInfo"]:(0,_.persistReducer)(Ss,et),["modals"]:(0,_.persistReducer)(ws,rt),["networkConfig"]:(0,_.persistReducer)(As,ot)}),Ns=hs.persistReducersStorageType==="localStorage",Cs=Ns?(0,_.persistReducer)(Jo,de(vr)):(0,_.persistReducer)(Ps,de(Rs)),Ds=Cs});var ti={};ie(ti,{default:()=>_s});var _s,ri=y(()=>{"use strict";n();It();_s=de()});var ni={};ie(ni,{default:()=>Ms});var B,Os,Ms,oi=y(()=>{"use strict";n();B=require("redux-persist"),Os=[B.FLUSH,B.REHYDRATE,B.PAUSE,B.PERSIST,B.PURGE,B.REGISTER],Ms=Os});var si={};ie(si,{default:()=>ai});function ai(e){return(0,ii.persistStore)(e)}var ii,ci=y(()=>{"use strict";n();ii=require("redux-persist")});var _c={};ie(_c,{checkIsValidSender:()=>_a,checkNeedsGuardianSigning:()=>Lc,getAreAllTransactionsSignedByGuardian:()=>Mr,getShouldMoveTransactionsToSignedState:()=>hc,useGetLedgerProvider:()=>Dc,useSetTransactionNonces:()=>bc});module.exports=be(_c);n();n();var _a=(e,t)=>e?Array.isArray(t)?t.some(r=>e.address===r||e.activeGuardianAddress===r):e.address===t||e.activeGuardianAddress===t:!0;n();n();n();oe();n();var Oo=v(require("lodash.isequal")),ht=require("reselect"),f=(0,ht.createSelectorCreator)(ht.defaultMemoize,Oo.default);var K=e=>e.account,pe=f(K,e=>e.address),xt=f(K,pe,(e,t)=>t in e.accounts?e.accounts[t]:Xe),cd=f(K,xt,(e,t)=>{let i=e,{accounts:r}=i,o=_t(i,["accounts"]);return S(T({},o),{account:t})}),ld=f(xt,e=>e.balance),Mo=f(xt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),pd=f(K,e=>e.shard),ud=f(K,e=>e.ledgerAccount),dd=f(K,e=>e.walletConnectAccount),md=f(K,e=>e.isAccountLoading),gd=f(K,e=>e.accountLoadingError),fd=f(K,e=>e.websocketEvent),Td=f(K,e=>e.websocketBatchEvent);n();var cs=e=>e.dappConfig,xd=f(cs,e=>e.shouldUseWebViewProvider);n();var ee=e=>e.loginInfo,vd=f(ee,e=>e.loginMethod),St=f(ee,pe,(e,t)=>Boolean(t)),bd=f(ee,e=>e.walletConnectLogin),Fo=f(ee,e=>e.ledgerLogin),Uo=f(ee,e=>e.walletLogin),Id=f(ee,e=>e.isLoginSessionInvalid),kd=f(ee,e=>e.tokenLogin),Bo=f(ee,e=>e.logoutRoute),Ed=f(ee,e=>e.isWalletConnectV2Initialized);n();var Wo=e=>e.modals,Rd=f(Wo,e=>e.txSubmittedModal),Nd=f(Wo,e=>e.notificationModal);n();var ue=e=>e.networkConfig,_d=f(ue,e=>e.chainID),Od=f(ue,e=>e.network.walletConnectBridgeAddress),Md=f(ue,e=>e.network.walletConnectV2RelayAddress),Fd=f(ue,e=>e.network.walletConnectV2ProjectId),Ud=f(ue,e=>e.network.walletConnectV2Options),Bd=f(ue,e=>e.network.walletConnectDeepLink),Ne=f(ue,e=>e.network),Vo=f(Ne,e=>e.apiAddress),$o=f(Ne,e=>e.explorerAddress),Wd=f(Ne,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Vd=f(Ne,e=>e.xAliasAddress),$d=f(Ne,e=>e.egldLabel);n();var wt=e=>e.signedMessageInfo,qd=f(wt,e=>e.isSigning),jd=f(wt,e=>e.errorMessage),zd=f(wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Kd=f(wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Go=e=>e.toasts,Zd=f(Go,e=>e.customToasts),Jd=f(Go,e=>e.transactionToasts);n();oe();var Ho={errorMessage:dr,successMessage:mr,processingMessage:gr},ls=e=>e.transactionsInfo,rm=f(ls,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Ho);n();n();var Y=require("@multiversx/sdk-core");A();n();var Sr=require("@multiversx/sdk-core/out");n();n();function xr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}n();n();n();n();var qo=e=>{let t=e!=null?e:"";return xr(t)?Sr.TransactionPayload.fromEncoded(t):new Sr.TransactionPayload(t)};n();A();var At=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(jt).some(r=>e.startsWith(r)):!1;function wr(e){var o,i,l;let t=Object.assign({},e);At({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new Y.Transaction(T(T(S(T(S(T({value:t.value.valueOf(),data:qo(t.data),nonce:t.nonce.valueOf(),receiver:new Y.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new Y.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Kt,gasPrice:(i=t.gasPrice.valueOf())!=null?i:Yt,chainID:t.chainID.valueOf(),version:new Y.TransactionVersion((l=t.version)!=null?l:Mn)}),t.options?{options:new Y.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new Y.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(a.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(a.Buffer.from(t.signature,"hex")),r}n();n();A();function us(e,t){let r=new URLSearchParams(e),o=Object.fromEntries(r);return{nextUrlParams:new URLSearchParams(T(T({},o),t)).toString(),params:o}}var ds="2.28.7-alpha.21";function jo({callbackUrl:e,urlParams:t={}}){let r=e;if(Object.entries(t).length>0)try{let{search:o,origin:i,pathname:l,hash:p}=new URL(e),m=S(T({},t),{[Zt]:ds}),{nextUrlParams:d}=us(o,m);r=`${i}${l}?${d}${p}`}catch(o){return console.error("Unable to construct URL from: ",e,o),r}return r}n();n();var br=require("@reduxjs/toolkit"),di=require("react-redux/lib/utils/Subscription");oe();n();var zo=v(require("lodash.throttle"));A();oe();ar();ke();he();var ms=[ze],vt=!1,gs=(0,zo.default)(()=>{Pe(Le())},5e3),Ko=e=>t=>r=>{if(ms.includes(r.type))return t(r);let o=e.getState(),i=z.local.getItem(V.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Pe(Le());let p=Date.now();return i-p<0&&!vt?setTimeout(()=>{vt=!0,e.dispatch(Qn())},1e3):(vt&&(vt=!1),gs()),t(r)};n();n();function bt(){return typeof sessionStorage!="undefined"}var li=bt()?(ei(),be(Qo)).default:(ri(),be(ti)).default,pi=bt()?(oi(),be(ni)).default:[],ui=bt()?(ci(),be(si)).default:e=>e;It();var L=(0,br.configureStore)({reducer:li,middleware:e=>e({serializableCheck:{ignoredActions:[...pi,ir.type,or.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Ko)}),mi=(0,di.createSubscription)(L),ug=ui(L),dg=(0,br.configureStore)({reducer:de});n();n();var Us=require("@multiversx/sdk-core/out");n();A();n();var fi=require("@multiversx/sdk-core");O();n();var gi=require("@multiversx/sdk-core");function Bs(e){try{let t=new gi.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function De(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&Bs(e)}n();n();n();var Ws=require("@multiversx/sdk-core"),Vs=v(require("bignumber.js"));W();n();n();n();var Ir="accounts";n();n();n();n();D();n();n();D();n();n();n();var zs=v(require("bignumber.js"));A();n();var js=require("@multiversx/sdk-core"),kr=v(require("bignumber.js"));A();n();var Hs=v(require("bignumber.js"));n();kr.default.config({ROUNDING_MODE:kr.default.ROUND_FLOOR});n();n();n();A();n();n();n();n();A();n();A();n();var Ks=require("@multiversx/sdk-core");A();n();var Oe=require("@multiversx/sdk-core"),Xs=v(require("bignumber.js"));A();n();n();var Ys=v(require("bignumber.js"));A();n();A();n();n();n();n();n();n();A();n();A();n();A();n();D();var Js=["reDelegateRewards","claimRewards","unBond"],Qs=["wrapEgld","unwrapEgld"],ec=["unStake"],tc=["unDelegate"];n();n();n();A();n();var oc=v(require("bignumber.js"));n();n();D();n();var ic=v(require("bignumber.js"));n();n();n();n();var sc=v(require("bignumber.js"));O();n();n();n();n();W();n();var pc=require("@multiversx/sdk-web-wallet-provider");A();n();var lc=v(require("qs"));n();n();n();n();n();var Me=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var N=()=>{if(!Me())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}};var Pr=(e="")=>{let t=N(),r=e.startsWith("http")||e.startsWith("www.");return!t.origin||e.startsWith(t.origin)||r?e:`${t.origin}/${e.replace("/","")}`};n();n();var Wh={search:Me()?window.location.search:"",removeParams:[]};n();n();n();n();D();n();n();n();var uc=v(require("linkifyjs"));n();A();n();var dc=v(require("bignumber.js"));n();O();n();n();W();n();W();n();n();n();D();n();D();n();var mc=v(require("bignumber.js"));A();D();n();D();n();var wi=require("react");O();n();n();D();n();n();var gc=require("@multiversx/sdk-core/out"),fc=v(require("bignumber.js"));D();n();O();n();n();O();var DS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Ai=require("react");O();n();var yc=require("react");D();var VS=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Tr();var Lt=e=>e.transactions,Fe=f(Lt,e=>e.signedTransactions),Lw=f(Lt,e=>e.signTransactionsError),Pw=f(Lt,e=>e.signTransactionsCancelMessage),Pt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Rw=f(Fe,Pt(vo)),Nw=f(Fe,Pt(dt)),Cw=f(Fe,Pt(mt)),Dw=f(Fe,Pt(Io)),vi=f(Lt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:S(T({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>wr(r)))||[]})}),_w=f(Fe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});function hc(e){let t=vi(L.getState()),r=Object.keys(e).length===(t==null?void 0:t.transactions.length);return e&&(e&&r)}n();n();var bi=require("react"),xe=require("react-redux");var xc={store:L,subscription:mi},Rr=(0,bi.createContext)(xc),Zw=(0,xe.createStoreHook)(Rr),Jw=(0,xe.createDispatchHook)(Rr),Se=(0,xe.createSelectorHook)(Rr);n();n();n();var Ii=require("@lifeomic/axios-fetch"),Nr=v(require("axios")),Cr=(0,Ii.buildAxiosFetch)(Nr.default),Dr=(e,t)=>w(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function Sc(e,t,r){return w(this,null,function*(){try{let o=yield Cr(e,T({method:"POST",body:t?JSON.stringify(t):void 0,headers:T({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return Dr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function wc(e,t){return w(this,null,function*(){try{let r=yield Cr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return Dr(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function Ac(e,t,r){return w(this,null,function*(){try{let o=yield Cr(e,T({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return Dr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var Ue=Nr.default.create();Ue.get=wc;Ue.post=Sc;Ue.patch=Ac;n();n();var _r=e=>{let t=e!=null?e:Vo(L.getState());return t.endsWith("/")?t.slice(0,-1):t};var vc=e=>{let r=`${_r()}/${Ir}/${e}?withGuardianInfo=true`;return Ue.get(r)};function ki(e){return w(this,null,function*(){if(!e)return null;try{let{data:t}=yield vc(e);return t}catch(t){console.error("error fetching configuration for ",e)}return null})}function Rt(e){return w(this,null,function*(){return yield ki(e)})}n();function Or(e){let t=L.getState(),r=Mo(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();n();var Ei=({accountNonce:e,transactionNonce:t})=>t&&t>e?t:e;var Li=({latestNonce:e,transactions:t})=>t.length===0?t:t.map((r,o)=>{let i=e+o,l=r.getNonce().valueOf(),p=Ei({accountNonce:i,transactionNonce:l});return r.setNonce(p),r});var bc=()=>{let e=Se(pe);return t=>w(void 0,null,function*(){let r=yield Rt(e),o=Or(r);return Li({latestNonce:o,transactions:t})})};n();var Mr=({transactions:e,isGuarded:t})=>t?e.every(o=>Boolean(o.getGuardianSignature().toString("hex"))):!0;n();n();n();Ie();n();var Ic=v(require("axios"));n();var kc=v(require("axios"));n();Ie();n();Ie();function Fr(e){return Dn[e]}A();n();var Ci=require("@multiversx/sdk-extension-provider"),Di=require("@multiversx/sdk-hw-provider"),_i=require("@multiversx/sdk-opera-provider"),Oi=require("@multiversx/sdk-web-wallet-cross-window-provider"),Br=require("@multiversx/sdk-web-wallet-provider");A();W();n();n();n();var Pi=Ur;function Ri(e){Pi=e}function F(){return Pi||Ur}var Ni=we;var Ec="/dapp/init",Ae=e=>{switch(e==null?void 0:e.constructor){case Br.WalletProvider:return"wallet";case Ni:return"walletconnectv2";case Di.HWProvider:return"ledger";case Ci.ExtensionProvider:return"extension";case _i.OperaProvider:return"opera";case Oi.CrossWindowProvider:return"crossWindow";case we:return"";default:return"extra"}},Mi=e=>new Br.WalletProvider(`${e}${Ec}`),Fi=e=>w(void 0,null,function*(){if(!e.isInitialized())throw new Error("Unable to get version. Provider not initialized");let t=e.hwApp,{contractData:r,version:o}=yield t.getAppConfiguration();return{version:o,dataEnabled:r===Fn}}),ne=e=>`Unable to perform ${e}, Provider not initialized`,we=class{init(){return Promise.resolve(!1)}login(t){throw new Error(ne(`login with options: ${t}`))}logout(t){throw new Error(ne(`logout with options: ${t}`))}getAddress(){throw new Error(ne("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(ne(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(ne(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(ne(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(ne(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(ne(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(ne(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Ur=new we;var Lc=({transactions:e,hasGuardianScreen:t,callbackRoute:r,sessionId:o,walletAddress:i,isGuarded:l})=>{let p=Mr({isGuarded:l,transactions:e});return{needs2FaSigning:l?!t&&!p&&o:!1,sendTransactionsToGuardian:()=>{let g=e[0].getChainID().valueOf(),x=Fr(g),h=i!=null?i:le[x].walletAddress,I=Mi(h),k={[Xt]:String(o)},{origin:R}=N(),me=window!=null&&window.location?`${R}${r}`:`${r}`,Ct=jo({callbackUrl:me,urlParams:k});I.guardTransactions(e,{callbackUrl:encodeURIComponent(Ct)})}}};n();n();n();var qi=require("react"),Vr=require("@multiversx/sdk-hw-provider");n();n();var Ui=()=>{let{search:e}=N(),t=new URLSearchParams(e),r=Object.fromEntries(t),o=r==null?void 0:r.address;return De(o)?o:null};n();n();function Bi(){let e=F();return Ae(e)}n();W();n();function Be(e){return Bi()===e}function Nt(){let e=L.getState(),t=F(),r=pe(e),o=St(e),i=Uo(e);if(!t)throw"provider not initialized";return Be("ledger")&&o?new Promise(l=>{l(r)}):!Be("")&&!Be("wallet")&&!Be("extra")?t.getAddress():new Promise(l=>{let p=Ui();i!=null&&p&&l(p),o&&l(r),l("")})}n();var Wi=()=>{let{search:e}=N(),t=new URLSearchParams(e),r=Object.fromEntries(t);return r==null?void 0:r.accessToken};n();M();O();n();oe();n();oe();n();var Vi=require("@multiversx/sdk-core");n();M();O();n();function $i(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function Gi(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=Pc(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let l=i[0],p=l.replace(/(.)\/+$/,"$1"),m=i.slice(1);return{params:o.reduce((g,x,h)=>{if(x==="*"){let I=m[h]||"";p=l.slice(0,l.length-I.length).replace(/(.)\/+$/,"$1")}return g[x]=Rc(m[h]||"",x),g},{}),pathname:l,pathnameBase:p,pattern:e}}function Pc(e,t=!1,r=!0){$i(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(p,m)=>(o.push(m),"([^\\/]+)"));return e.endsWith("*")?(o.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),o]}function Rc(e,t){try{return decodeURIComponent(e)}catch(r){return $i(!1,`The value for the URL param "${t}" will not be decoded because the string "${e}" is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}cr();ke();he();var Hi=({callbackUrl:e,onRedirect:t})=>{typeof t=="function"?t(e):e&&sr({url:e})},Nc=e=>{let t=z.local.getItem(V.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(z.local.setItem({key:V.logoutEvent,data:e,expires:0}),z.local.removeItem(V.logoutEvent))},Cc=500;function Wr(o,i){return w(this,arguments,function*(e,t,r=Boolean(Wi())){var k;let l="",p=F(),d=Ae(p)==="wallet",g=((k=p==null?void 0:p.isInitialized)==null?void 0:k.call(p))===!0;if(r&&(p==null?void 0:p.relogin)!=null)return p.relogin();try{l=yield Nt(),Nc(l)}catch(R){console.error("error fetching logout address",R)}let x=Pr(e),h=N(),I=new URL(x).pathname;if((Gi(h.pathname,I)||d&&g)&&oo(),!l&&!g)return Hi({callbackUrl:x,onRedirect:t});try{if(L.dispatch(b()),d)return setTimeout(()=>{p.logout({callbackUrl:x})},Cc);yield p.logout({callbackUrl:x})}catch(R){console.error("error logging out",R)}finally{Hi({callbackUrl:x,onRedirect:t})}})}var ji=()=>{let e=Se(Bo),t=Se(St),r=Se(Fo),o=F(),[i,l]=(0,qi.useState)(),p=()=>w(void 0,null,function*(){let d=(r==null?void 0:r.index)!=null;try{if(o instanceof Vr.HWProvider&&o.isInitialized())return d&&(yield o.setAddressIndex(r.index)),o;let g=new Vr.HWProvider;return(yield g.init())?(d&&(yield g.setAddressIndex(r.index)),g):null}catch(g){return console.error("Failed to initialise Ledger Provider"),null}});function m(d){return w(this,null,function*(){let g,x=t&&!(d!=null&&d.isRelogin);try{if(g=yield p(),!g){console.warn("Could not initialise ledger app"),x&&Wr(e);return}let h=yield Fi(g);return Ri(g),l(h),g}catch(h){console.error("Could not initialise ledger app",h),x&&Wr(e)}return null})}return{setLedgerProvider:m,ledgerData:i}};n();var zi=()=>{let e=F(),t=Ae(e);return{provider:e,providerType:t}};var Dc=()=>{let{provider:e}=zi(),{setLedgerProvider:t}=ji();return function(){return w(this,null,function*(){let o;try{let l=yield e.getAddress();o=Boolean(l)}catch(l){o=!1}if(o)return e;let i=yield t({isRelogin:!0});return i||e})}};0&&(module.exports={checkIsValidSender,checkNeedsGuardianSigning,getAreAllTransactionsSignedByGuardian,getShouldMoveTransactionsToSignedState,useGetLedgerProvider,useSetTransactionNonces});
1
+ "use strict";var Xi=Object.create;var ve=Object.defineProperty,Zi=Object.defineProperties,Ji=Object.getOwnPropertyDescriptor,Qi=Object.getOwnPropertyDescriptors,ea=Object.getOwnPropertyNames,We=Object.getOwnPropertySymbols,ta=Object.getPrototypeOf,Dt=Object.prototype.hasOwnProperty,Gr=Object.prototype.propertyIsEnumerable;var $r=(e,t,r)=>t in e?ve(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,T=(e,t)=>{for(var r in t||(t={}))Dt.call(t,r)&&$r(e,r,t[r]);if(We)for(var r of We(t))Gr.call(t,r)&&$r(e,r,t[r]);return e},S=(e,t)=>Zi(e,Qi(t));var _t=(e,t)=>{var r={};for(var o in e)Dt.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&We)for(var o of We(e))t.indexOf(o)<0&&Gr.call(e,o)&&(r[o]=e[o]);return r};var y=(e,t)=>()=>(e&&(t=e(e=0)),t);var Ve=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ie=(e,t)=>{for(var r in t)ve(e,r,{get:t[r],enumerable:!0})},Hr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ea(t))!Dt.call(e,i)&&i!==r&&ve(e,i,{get:()=>t[i],enumerable:!(o=Ji(t,i))||o.enumerable});return e};var v=(e,t,r)=>(r=e!=null?Xi(ta(e)):{},Hr(t||!e||!e.__esModule?ve(r,"default",{value:e,enumerable:!0}):r,e)),be=e=>Hr(ve({},"__esModule",{value:!0}),e);var w=(e,t,r)=>new Promise((o,i)=>{var l=d=>{try{m(r.next(d))}catch(g){i(g)}},p=d=>{try{m(r.throw(d))}catch(g){i(g)}},m=d=>d.done?o(d.value):Promise.resolve(d.value).then(l,p);m((r=r.apply(e,t)).next())});var zr=Ve($e=>{"use strict";n();$e.byteLength=na;$e.toByteArray=ia;$e.fromByteArray=ca;var $=[],U=[],ra=typeof Uint8Array!="undefined"?Uint8Array:Array,Ot="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(ae=0,qr=Ot.length;ae<qr;++ae)$[ae]=Ot[ae],U[Ot.charCodeAt(ae)]=ae;var ae,qr;U["-".charCodeAt(0)]=62;U["_".charCodeAt(0)]=63;function jr(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 na(e){var t=jr(e),r=t[0],o=t[1];return(r+o)*3/4-o}function oa(e,t,r){return(t+r)*3/4-r}function ia(e){var t,r=jr(e),o=r[0],i=r[1],l=new ra(oa(e,o,i)),p=0,m=i>0?o-4:o,d;for(d=0;d<m;d+=4)t=U[e.charCodeAt(d)]<<18|U[e.charCodeAt(d+1)]<<12|U[e.charCodeAt(d+2)]<<6|U[e.charCodeAt(d+3)],l[p++]=t>>16&255,l[p++]=t>>8&255,l[p++]=t&255;return i===2&&(t=U[e.charCodeAt(d)]<<2|U[e.charCodeAt(d+1)]>>4,l[p++]=t&255),i===1&&(t=U[e.charCodeAt(d)]<<10|U[e.charCodeAt(d+1)]<<4|U[e.charCodeAt(d+2)]>>2,l[p++]=t>>8&255,l[p++]=t&255),l}function aa(e){return $[e>>18&63]+$[e>>12&63]+$[e>>6&63]+$[e&63]}function sa(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(aa(o));return i.join("")}function ca(e){for(var t,r=e.length,o=r%3,i=[],l=16383,p=0,m=r-o;p<m;p+=l)i.push(sa(e,p,p+l>m?m:p+l));return o===1?(t=e[r-1],i.push($[t>>2]+$[t<<4&63]+"==")):o===2&&(t=(e[r-2]<<8)+e[r-1],i.push($[t>>10]+$[t>>4&63]+$[t<<2&63]+"=")),i.join("")}});var Kr=Ve(Mt=>{n();Mt.read=function(e,t,r,o,i){var l,p,m=i*8-o-1,d=(1<<m)-1,g=d>>1,x=-7,h=r?i-1:0,I=r?-1:1,k=e[t+h];for(h+=I,l=k&(1<<-x)-1,k>>=-x,x+=m;x>0;l=l*256+e[t+h],h+=I,x-=8);for(p=l&(1<<-x)-1,l>>=-x,x+=o;x>0;p=p*256+e[t+h],h+=I,x-=8);if(l===0)l=1-g;else{if(l===d)return p?NaN:(k?-1:1)*(1/0);p=p+Math.pow(2,o),l=l-g}return(k?-1:1)*p*Math.pow(2,l-o)};Mt.write=function(e,t,r,o,i,l){var p,m,d,g=l*8-i-1,x=(1<<g)-1,h=x>>1,I=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,k=o?0:l-1,R=o?1:-1,me=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+=I/d:t+=I*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+k]=m&255,k+=R,m/=256,i-=8);for(p=p<<i|m,g+=i;g>0;e[r+k]=p&255,k+=R,p/=256,g-=8);e[r+k-R]|=me*128}});var cn=Ve(fe=>{"use strict";n();var Ft=zr(),ge=Kr(),Yr=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;fe.Buffer=u;fe.SlowBuffer=ga;fe.INSPECT_MAX_BYTES=50;var Ge=2147483647;fe.kMaxLength=Ge;u.TYPED_ARRAY_SUPPORT=la();!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 la(){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 Z(e){if(e>Ge)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 Vt(e)}return Jr(e,t,r)}u.poolSize=8192;function Jr(e,t,r){if(typeof e=="string")return ua(e,t);if(ArrayBuffer.isView(e))return da(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 Bt(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=ma(e);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return u.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}u.from=function(e,t,r){return Jr(e,t,r)};Object.setPrototypeOf(u.prototype,Uint8Array.prototype);Object.setPrototypeOf(u,Uint8Array);function Qr(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 pa(e,t,r){return Qr(e),e<=0?Z(e):t!==void 0?typeof r=="string"?Z(e).fill(t,r):Z(e).fill(t):Z(e)}u.alloc=function(e,t,r){return pa(e,t,r)};function Vt(e){return Qr(e),Z(e<0?0:$t(e)|0)}u.allocUnsafe=function(e){return Vt(e)};u.allocUnsafeSlow=function(e){return Vt(e)};function ua(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!u.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=en(e,t)|0,o=Z(r),i=o.write(e,t);return i!==r&&(o=o.slice(0,i)),o}function Ut(e){for(var t=e.length<0?0:$t(e.length)|0,r=Z(t),o=0;o<t;o+=1)r[o]=e[o]&255;return r}function da(e){if(G(e,Uint8Array)){var t=new Uint8Array(e);return Bt(t.buffer,t.byteOffset,t.byteLength)}return Ut(e)}function Bt(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 ma(e){if(u.isBuffer(e)){var t=$t(e.length)|0,r=Z(t);return r.length===0||e.copy(r,0,0,t),r}if(e.length!==void 0)return typeof e.length!="number"||Gt(e.length)?Z(0):Ut(e);if(e.type==="Buffer"&&Array.isArray(e.data))return Ut(e.data)}function $t(e){if(e>=Ge)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Ge.toString(16)+" bytes");return e|0}function ga(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 en(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 Wt(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return sn(e).length;default:if(i)return o?-1:Wt(e).length;t=(""+t).toLowerCase(),i=!0}}u.byteLength=en;function fa(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 Ia(this,t,r);case"utf8":case"utf-8":return rn(this,t,r);case"ascii":return va(this,t,r);case"latin1":case"binary":return ba(this,t,r);case"base64":return wa(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ka(this,t,r);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}u.prototype._isBuffer=!0;function se(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)se(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)se(this,r,r+3),se(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)se(this,r,r+7),se(this,r+1,r+6),se(this,r+2,r+5),se(this,r+3,r+4);return this};u.prototype.toString=function(){var t=this.length;return t===0?"":arguments.length===0?rn(this,0,t):fa.apply(this,arguments)};u.prototype.toLocaleString=u.prototype.toString;u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:u.compare(this,t)===0};u.prototype.inspect=function(){var t="",r=fe.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"};Yr&&(u.prototype[Yr]=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),g=this.slice(i,l),x=t.slice(r,o),h=0;h<d;++h)if(g[h]!==x[h]){p=g[h],m=x[h];break}return p<m?-1:m<p?1:0};function tn(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,Gt(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:Xr(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):Xr(e,[t],r,o,i);throw new TypeError("val must be string, number or Buffer")}function Xr(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(k,R){return l===1?k[R]:k.readUInt16BE(R*l)}var g;if(i){var x=-1;for(g=r;g<p;g++)if(d(e,g)===d(t,x===-1?0:g-x)){if(x===-1&&(x=g),g-x+1===m)return x*l}else x!==-1&&(g-=g-x),x=-1}else for(r+m>p&&(r=p-m),g=r;g>=0;g--){for(var h=!0,I=0;I<m;I++)if(d(e,g+I)!==d(t,I)){h=!1;break}if(h)return g}return-1}u.prototype.includes=function(t,r,o){return this.indexOf(t,r,o)!==-1};u.prototype.indexOf=function(t,r,o){return tn(this,t,r,o,!0)};u.prototype.lastIndexOf=function(t,r,o){return tn(this,t,r,o,!1)};function Ta(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(Gt(m))return p;e[r+p]=m}return p}function ya(e,t,r,o){return He(Wt(t,e.length-r),e,r,o)}function ha(e,t,r,o){return He(Pa(t),e,r,o)}function xa(e,t,r,o){return He(sn(t),e,r,o)}function Sa(e,t,r,o){return He(Ra(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 Ta(this,t,r,o);case"utf8":case"utf-8":return ya(this,t,r,o);case"ascii":case"latin1":case"binary":return ha(this,t,r,o);case"base64":return xa(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Sa(this,t,r,o);default:if(p)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),p=!0}};u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function wa(e,t,r){return t===0&&r===e.length?Ft.fromByteArray(e):Ft.fromByteArray(e.slice(t,r))}function rn(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,g,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],g=e[i+2],(d&192)===128&&(g&192)===128&&(h=(l&15)<<12|(d&63)<<6|g&63,h>2047&&(h<55296||h>57343)&&(p=h));break;case 4:d=e[i+1],g=e[i+2],x=e[i+3],(d&192)===128&&(g&192)===128&&(x&192)===128&&(h=(l&15)<<18|(d&63)<<12|(g&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 Aa(o)}var Zr=4096;function Aa(e){var t=e.length;if(t<=Zr)return String.fromCharCode.apply(String,e);for(var r="",o=0;o<t;)r+=String.fromCharCode.apply(String,e.slice(o,o+=Zr));return r}function va(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 ba(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 Ia(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+=Na[e[l]];return i}function ka(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 P(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||P(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||P(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||P(t,1,this.length),this[t]};u.prototype.readUint16LE=u.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||P(t,2,this.length),this[t]|this[t+1]<<8};u.prototype.readUint16BE=u.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||P(t,2,this.length),this[t]<<8|this[t+1]};u.prototype.readUint32LE=u.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||P(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||P(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||P(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||P(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||P(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};u.prototype.readInt16LE=function(t,r){t=t>>>0,r||P(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||P(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||P(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||P(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||P(t,4,this.length),ge.read(this,t,!0,23,4)};u.prototype.readFloatBE=function(t,r){return t=t>>>0,r||P(t,4,this.length),ge.read(this,t,!1,23,4)};u.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||P(t,8,this.length),ge.read(this,t,!0,52,8)};u.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||P(t,8,this.length),ge.read(this,t,!1,52,8)};function C(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;C(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;C(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||C(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||C(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||C(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||C(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||C(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);C(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);C(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||C(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||C(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||C(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||C(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||C(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 nn(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 on(e,t,r,o,i){return t=+t,r=r>>>0,i||nn(e,t,r,4,34028234663852886e22,-34028234663852886e22),ge.write(e,t,r,o,23,4),r+4}u.prototype.writeFloatLE=function(t,r,o){return on(this,t,r,!0,o)};u.prototype.writeFloatBE=function(t,r,o){return on(this,t,r,!1,o)};function an(e,t,r,o,i){return t=+t,r=r>>>0,i||nn(e,t,r,8,17976931348623157e292,-17976931348623157e292),ge.write(e,t,r,o,52,8),r+8}u.prototype.writeDoubleLE=function(t,r,o){return an(this,t,r,!0,o)};u.prototype.writeDoubleBE=function(t,r,o){return an(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 Ea=/[^+/0-9A-Za-z-_]/g;function La(e){if(e=e.split("=")[0],e=e.trim().replace(Ea,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function Wt(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 Pa(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function Ra(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 sn(e){return Ft.toByteArray(La(e))}function He(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 Gt(e){return e!==e}var Na=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 mn=Ve((Bc,dn)=>{n();var E=dn.exports={},H,q;function Ht(){throw new Error("setTimeout has not been defined")}function qt(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?H=setTimeout:H=Ht}catch(e){H=Ht}try{typeof clearTimeout=="function"?q=clearTimeout:q=qt}catch(e){q=qt}})();function ln(e){if(H===setTimeout)return setTimeout(e,0);if((H===Ht||!H)&&setTimeout)return H=setTimeout,setTimeout(e,0);try{return H(e,0)}catch(t){try{return H.call(null,e,0)}catch(r){return H.call(this,e,0)}}}function Ca(e){if(q===clearTimeout)return clearTimeout(e);if((q===qt||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(e);try{return q(e)}catch(t){try{return q.call(null,e)}catch(r){return q.call(this,e)}}}var J=[],Te=!1,ce,qe=-1;function Da(){!Te||!ce||(Te=!1,ce.length?J=ce.concat(J):qe=-1,J.length&&pn())}function pn(){if(!Te){var e=ln(Da);Te=!0;for(var t=J.length;t;){for(ce=J,J=[];++qe<t;)ce&&ce[qe].run();qe=-1,t=J.length}ce=null,Te=!1,Ca(e)}}E.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];J.push(new un(e,t)),J.length===1&&!Te&&ln(pn)};function un(e,t){this.fun=e,this.array=t}un.prototype.run=function(){this.fun.apply(null,this.array)};E.title="browser";E.browser=!0;E.env={};E.argv=[];E.version="";E.versions={};function Q(){}E.on=Q;E.addListener=Q;E.once=Q;E.off=Q;E.removeListener=Q;E.removeAllListeners=Q;E.emit=Q;E.prependListener=Q;E.prependOnceListener=Q;E.listeners=function(e){return[]};E.binding=function(e){throw new Error("process.binding is not supported")};E.cwd=function(){return"/"};E.chdir=function(e){throw new Error("process.chdir is not supported")};E.umask=function(){return 0}});var a,s,Wc,n=y(()=>{a=v(cn()),s=v(mn()),Wc=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 gn=y(()=>{"use strict";n()});var fn=y(()=>{"use strict";n()});var Tn=y(()=>{"use strict";n()});var jt,yn=y(()=>{"use strict";n();jt=(o=>(o.SetGuardian="SetGuardian",o.GuardAccount="GuardAccount",o.UnGuardAccount="UnGuardAccount",o))(jt||{})});var hn=y(()=>{"use strict";n()});var zt=y(()=>{"use strict";n()});var xn=y(()=>{"use strict";n()});var Sn=y(()=>{"use strict";n()});var wn=y(()=>{"use strict";n()});var An=y(()=>{"use strict";n()});var je,vn,Zc,bn,Jc,W=y(()=>{"use strict";n();je=require("@multiversx/sdk-web-wallet-cross-window-provider/out/types"),vn=(r=>(r.signTransactionsWithGuardianResponse="SIGN_TRANSACTIONS_WITH_GUARDIAN_RESPONSE",r.reloginRequest="RELOGIN_REQUEST",r))(vn||{}),Zc=T(T({},je.CrossWindowProviderRequestEnums),vn),bn=(t=>(t.reloginResponse="RELOGIN_RESPONSE",t))(bn||{}),Jc=T(T({},je.CrossWindowProviderResponseEnums),bn)});var In=y(()=>{"use strict";n()});var kn=y(()=>{"use strict";n()});var D=y(()=>{"use strict";n()});var En=y(()=>{"use strict";n()});var Ln=y(()=>{"use strict";n()});var Pn=y(()=>{"use strict";n()});var O=y(()=>{"use strict";n();Sn();wn();An();W();In();kn();D();En();Ln();Pn()});var le,Rn,fl,Nn,Tl,Cn,yl,hl,Dn,Ie=y(()=>{"use strict";n();O();le={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"},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"},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"}},{chainId:Rn,egldLabel:fl}=le["devnet"],{chainId:Nn,egldLabel:Tl}=le["testnet"],{chainId:Cn,egldLabel:yl}=le["mainnet"],hl={["devnet"]:Rn,["testnet"]:Nn,["mainnet"]:Cn},Dn={[Rn]:"devnet",[Nn]:"testnet",[Cn]:"mainnet"}});var _n=y(()=>{"use strict";n()});var j,On=y(()=>{"use strict";n();j=require("@multiversx/sdk-web-wallet-provider")});var Kt,Yt,Mn,Fn,Xt,Zt,ze,Un,ye,A=y(()=>{"use strict";n();gn();fn();Tn();yn();hn();zt();xn();Ie();_n();On();Kt=5e4,Yt=1e9,Mn=1,Fn=1,Xt="signSession",Zt="sdk-dapp-version",ze="logout",Un="login",ye="0"});var Ke,Jt=y(()=>{"use strict";n();Ke=()=>Date.now()/1e3});var Bn=y(()=>{"use strict";n()});var Wn=y(()=>{"use strict";n()});var Vn=y(()=>{"use strict";n();Jt();Bn();Wn()});var Qt={};ie(Qt,{clear:()=>Ua,getItem:()=>Ma,localStorageKeys:()=>V,removeItem:()=>Fa,setItem:()=>Oa});var V,Ye,Oa,Ma,Fa,Ua,he=y(()=>{"use strict";n();Vn();V={loginExpiresAt:"sdk-dapp-login-expires-at",logoutEvent:"sdk-dapp-logout-event"},Ye=typeof localStorage!="undefined",Oa=({key:e,data:t,expires:r})=>{!Ye||localStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Ma=e=>{if(!Ye)return;let t=localStorage.getItem(String(e));if(!t)return null;let r=JSON.parse(t);return!r||!r.hasOwnProperty("expires")||!r.hasOwnProperty("data")?null:Ke()>=r.expires?(localStorage.removeItem(String(e)),null):r.data},Fa=e=>{!Ye||localStorage.removeItem(String(e))},Ua=()=>{!Ye||localStorage.clear()}});var er={};ie(er,{clear:()=>qn,getItem:()=>Gn,removeItem:()=>Hn,setItem:()=>$n,storage:()=>Ba});var $n,Gn,Hn,qn,Ba,jn=y(()=>{"use strict";n();$n=({key:e,data:t,expires:r})=>{sessionStorage.setItem(String(e),JSON.stringify({expires:r,data:t}))},Gn=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},Hn=e=>sessionStorage.removeItem(String(e)),qn=()=>sessionStorage.clear(),Ba={setItem:$n,getItem:Gn,removeItem:Hn,clear:qn}});var z,ke=y(()=>{"use strict";n();he();jn();z={session:er,local:Qt}});var tr,b,Ee,M=y(()=>{"use strict";n();tr=require("@reduxjs/toolkit");A();b=(0,tr.createAction)(ze),Ee=(0,tr.createAction)(Un,e=>({payload:e}))});var nr,zn,Kn,Xe,rr,Yn,or,Xl,ir,Zl,Jl,Ql,ep,tp,rp,np,op,Ze,Je=y(()=>{"use strict";n();nr=require("@multiversx/sdk-core"),zn=require("@reduxjs/toolkit"),Kn=require("redux-persist");A();ke();he();M();Xe={balance:"...",address:"",isGuarded:!1,nonce:0,txCount:0,scrCount:0,claimableRewards:ye},rr={address:"",websocketEvent:null,websocketBatchEvent:null,accounts:{"":Xe},ledgerAccount:null,publicKey:"",walletConnectAccount:null,isAccountLoading:!0,accountLoadingError:null},Yn=(0,zn.createSlice)({name:"accountInfoSlice",initialState:rr,reducers:{setAddress:(e,t)=>{let r=t.payload;e.address=r,e.publicKey=new nr.Address(r).hex()},setAccount:(e,t)=>{let r=e.address===t.payload.address;e.accounts={[e.address]:r?t.payload:Xe},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(b,()=>(z.local.removeItem(V.loginExpiresAt),rr)),e.addCase(Ee,(t,r)=>{let{address:o}=r.payload;t.address=o,t.publicKey=new nr.Address(o).hex()}),e.addCase(Kn.REHYDRATE,(t,r)=>{var g;if(!((g=r.payload)!=null&&g.account))return;let{account:o}=r.payload,{address:i,shard:l,accounts:p,publicKey:m}=o;t.address=i,t.shard=l;let d=p&&i in p;t.accounts=d?p:rr.accounts,t.publicKey=m})}}),{setAccount:or,setAddress:Xl,setAccountNonce:ir,setAccountShard:Zl,setLedgerAccount:Jl,updateLedgerAccount:Ql,setWalletConnectAccount:ep,setIsAccountLoading:tp,setAccountLoadingError:rp,setWebsocketEvent:np,setWebsocketBatchEvent:op}=Yn.actions,Ze=Yn.reducer});function Le(){return new Date().setHours(new Date().getHours()+24)}function Pe(e){z.local.setItem({key:V.loginExpiresAt,data:e,expires:e})}var ar=y(()=>{"use strict";n();ke();he()});var Zn,Xn,Jn,gp,fp,Tp,yp,hp,xp,Qn,Sp,wp,et,tt=y(()=>{"use strict";n();Zn=require("@reduxjs/toolkit");ar();W();M();Xn={loginMethod:"",walletConnectLogin:null,ledgerLogin:null,tokenLogin:null,walletLogin:null,extensionLogin:null,operaLogin:null,crossWindowLogin:null,isLoginSessionInvalid:!1},Jn=(0,Zn.createSlice)({name:"loginInfoSlice",initialState:Xn,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},invalidateLoginSession:e=>{e.isLoginSessionInvalid=!0},setLogoutRoute:(e,t)=>{e.logoutRoute=t.payload},setIsWalletConnectV2Initialized:(e,t)=>{e.isWalletConnectV2Initialized=t.payload}},extraReducers:e=>{e.addCase(b,()=>Xn),e.addCase(Ee,(t,r)=>{t.isLoginSessionInvalid=!1,t.loginMethod=r.payload.loginMethod,Pe(Le())})}}),{setLoginMethod:gp,setWalletConnectLogin:fp,setLedgerLogin:Tp,setTokenLogin:yp,setTokenLoginSignature:hp,setWalletLogin:xp,invalidateLoginSession:Qn,setLogoutRoute:Sp,setIsWalletConnectV2Initialized:wp}=Jn.actions,et=Jn.reducer});var to,eo,ro,Ip,kp,Ep,Lp,rt,nt=y(()=>{"use strict";n();to=require("@reduxjs/toolkit");M();eo={},ro=(0,to.createSlice)({name:"modalsSlice",initialState:eo,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(b,()=>eo)}}),{setTxSubmittedModal:Ip,setNotificationModal:kp,clearTxSubmittedModal:Ep,clearNotificationModal:Lp}=ro.actions,rt=ro.reducer});var no,oo,sr,cr=y(()=>{"use strict";n();no=!1,oo=(e=!0)=>{no=e},sr=({timeout:e=0,url:t})=>{no||setTimeout(()=>{if(!!window)return window.location.assign(t)},e)}});var io=y(()=>{"use strict";n();cr()});function ao(e){return e[Math.floor(Math.random()*e.length)]}var so=y(()=>{"use strict";n()});var co=y(()=>{"use strict";n();zt()});var lo=y(()=>{"use strict";n();io();so();co()});var po,uo,mo,lr,Wa,go,Hp,qp,jp,ot,it=y(()=>{"use strict";n();po=require("@reduxjs/toolkit"),uo=v(require("lodash.omit")),mo=require("redux-persist");M();lo();lr={id:"not-configured",chainId:"",name:"NOT CONFIGURED",egldLabel:"",decimals:"18",digits:"4",gasPerDataByte:"1500",walletConnectDeepLink:"",walletConnectBridgeAddress:"",walletConnectV2RelayAddress:"",walletConnectV2ProjectId:"",walletConnectV2Options:{},walletAddress:"",apiAddress:"",explorerAddress:"",apiTimeout:"4000"},Wa={network:lr,chainID:"-1"},go=(0,po.createSlice)({name:"appConfig",initialState:Wa,reducers:{initializeNetworkConfig:(e,t)=>{let r=ao(t.payload.walletConnectV2RelayAddresses),o=(0,uo.default)(t.payload,"walletConnectV2RelayAddresses");e.network=S(T(T({},e.network),o),{walletConnectV2RelayAddress:r})},setChainID:(e,t)=>{e.chainID=t.payload},setCustomWalletAddress:(e,t)=>{e.network.customWalletAddress=t.payload}},extraReducers:e=>{e.addCase(b,t=>{t.network.customWalletAddress=void 0}),e.addCase(mo.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:Hp,setChainID:qp,setCustomWalletAddress:jp}=go.actions,ot=go.reducer});var fo,pr,To,Jp,Qp,eu,at,st=y(()=>{"use strict";n();fo=require("@reduxjs/toolkit");O();M();pr={isSigning:!1,signedSessions:{}},To=(0,fo.createSlice)({name:"signedMessageInfoSliceState",initialState:pr,reducers:{setSignSession:(e,t)=>{let{sessionId:r,signedSession:o,errorMessage:i}=t.payload;i&&(e.errorMessage=i),e.isSigning=o.status==="pending",e.signedSessions[r]=T(T({},e.signedSessions[r]),o)},setSignSessionState:(e,t)=>T(T({},e),t.payload),clearSignedMessageInfo:()=>pr},extraReducers:e=>{e.addCase(b,()=>pr)}}),{setSignSession:Jp,clearSignedMessageInfo:Qp,setSignSessionState:eu}=To.actions,at=To.reducer});var ho,xo,yo,So,su,cu,lu,pu,ct,lt=y(()=>{"use strict";n();ho=require("@reduxjs/toolkit"),xo=require("redux-persist");O();Jt();M();yo={customToasts:[],transactionToasts:[]},So=(0,ho.createSlice)({name:"toastsSlice",initialState:yo,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]=S(T(T({},e.customToasts[o]),t.payload),{type:"custom",toastId:r});return}e.customToasts.push(S(T({},t.payload),{type:"custom",toastId:r}))},removeCustomToast:(e,t)=>{e.customToasts=e.customToasts.filter(r=>r.toastId!==t.payload)},addTransactionToast:(e,t)=>{e.transactionToasts.push({type:"transaction",startTimestamp:Ke(),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(b,()=>yo),e.addCase(xo.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:su,removeCustomToast:cu,addTransactionToast:lu,removeTransactionToast:pu}=So.actions,ct=So.reducer});var wo,dr,mr,gr,Va,ur,Ao,gu,fu,Tu,pt,ut=y(()=>{"use strict";n();wo=require("@reduxjs/toolkit");M();dr="Transaction failed",mr="Transaction successful",gr="Processing transaction",Va="Transaction submitted",ur={},Ao=(0,wo.createSlice)({name:"transactionsInfo",initialState:ur,reducers:{setTransactionsDisplayInfo(e,t){let{sessionId:r,transactionsDisplayInfo:o}=t.payload;r!=null&&(e[r]={errorMessage:(o==null?void 0:o.errorMessage)||dr,successMessage:(o==null?void 0:o.successMessage)||mr,processingMessage:(o==null?void 0:o.processingMessage)||gr,submittedMessage:(o==null?void 0:o.submittedMessage)||Va,transactionDuration:o==null?void 0:o.transactionDuration})},clearTransactionsInfoForSessionId(e,t){t.payload!=null&&delete e[t.payload]},clearTransactionsInfo:()=>ur},extraReducers:e=>{e.addCase(b,()=>ur)}}),{clearTransactionsInfo:gu,setTransactionsDisplayInfo:fu,clearTransactionsInfoForSessionId:Tu}=Ao.actions,pt=Ao.reducer});function vo(e){return e!=null&&(Ja(e)||ns(e))}function dt(e){return e!=null&&(Qa(e)||os(e))}function mt(e){return e!=null&&(es(e)||is(e))}function bo(e){return e!=null&&(ts(e)||as(e))}function Io(e){return e!=null&&rs(e)}function Ja(e){return e!=null&&Ga.includes(e)}function Qa(e){return e!=null&&Ha.includes(e)}function es(e){return e!=null&&qa.includes(e)}function ts(e){return e!=null&&ja.includes(e)}function rs(e){return e!=null&&za.includes(e)}function ns(e){return e!=null&&Ka.includes(e)}function os(e){return e!=null&&Ya.includes(e)}function is(e){return e!=null&&Xa.includes(e)}function as(e){return e!=null&&Za.includes(e)}var Ga,Ha,qa,ja,za,Ka,Ya,Xa,Za,Tr=y(()=>{"use strict";n();W();Ga=["sent"],Ha=["success"],qa=["fail","cancelled","timedOut"],ja=["invalid"],za=["timedOut"],Ka=["pending"],Ya=["success"],Xa=["fail","invalid"],Za=["not executed"]});var ko,Eo,Re,ss,Lo,Iu,ku,Eu,Lu,Pu,Ru,Nu,Cu,Du,_u,Ou,gt,ft=y(()=>{"use strict";n();ko=require("@reduxjs/toolkit"),Eo=require("redux-persist");W();Tr();M();Re={signedTransactions:{},transactionsToSign:null,signTransactionsError:null,signTransactionsCancelMessage:null,customTransactionInformationForSessionId:{}},ss={signWithoutSending:!1,sessionInformation:null,redirectAfterSign:!1},Lo=(0,ko.createSlice)({name:"transactionsSlice",initialState:Re,reducers:{moveTransactionsToSignedState:(e,t)=>{var d,g;let{sessionId:r,transactions:o,errorMessage:i,status:l,redirectRoute:p,customTransactionInformation:m}=t.payload;e.customTransactionInformationForSessionId[r]=T(T(T({},ss),((d=e.signedTransactions[r])==null?void 0:d.customTransactionInformation)||{}),e.customTransactionInformationForSessionId[r]||{}),e.signedTransactions[r]={transactions:o,status:l,errorMessage:i,redirectRoute:p,customTransactionInformation:T(T({},e.customTransactionInformationForSessionId[r]),m!=null?m:{})},((g=e==null?void 0:e.transactionsToSign)==null?void 0:g.sessionId)===r&&(e.transactionsToSign=Re.transactionsToSign)},clearSignedTransaction:(e,t)=>{e.signedTransactions[t.payload]&&delete e.signedTransactions[t.payload]},clearTransactionToSign:e=>{e!=null&&e.transactionsToSign&&(e.transactionsToSign=null)},updateSignedTransaction:(e,t)=>{e.signedTransactions=T(T({},e.signedTransactions),t.payload)},updateSignedTransactions:(e,t)=>{let{sessionId:r,status:o,errorMessage:i,transactions:l}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].status=o,i!=null&&(e.signedTransactions[r].errorMessage=i),l!=null&&(e.signedTransactions[r].transactions=l))},updateSignedTransactionStatus:(e,t)=>{var d,g,x,h,I,k,R,me;let{sessionId:r,status:o,errorMessage:i,transactionHash:l,inTransit:p}=t.payload,m=(g=(d=e.signedTransactions)==null?void 0:d[r])==null?void 0:g.transactions;if(m!=null){e.signedTransactions[r].transactions=m.map(X=>X.hash===l?S(T({},X),{status:o,errorMessage:i,inTransit:p}):X);let Ct=(h=(x=e.signedTransactions[r])==null?void 0:x.transactions)==null?void 0:h.every(X=>dt(X.status)),Ki=(k=(I=e.signedTransactions[r])==null?void 0:I.transactions)==null?void 0:k.every(X=>mt(X.status)),Yi=(me=(R=e.signedTransactions[r])==null?void 0:R.transactions)==null?void 0:me.every(X=>bo(X.status));Ct&&(e.signedTransactions[r].status="success"),Ki&&(e.signedTransactions[r].status="fail"),Yi&&(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=Re.transactionsToSign,e.signTransactionsError=null},clearAllSignedTransactions:e=>{e.signedTransactions=Re.signedTransactions},setSignTransactionsError:(e,t)=>{e.signTransactionsError=t.payload},setSignTransactionsCancelMessage:(e,t)=>{e.signTransactionsCancelMessage=t.payload},updateSignedTransactionsCustomTransactionInformation:(e,t)=>{let{sessionId:r,customTransactionInformationOverrides:o}=t.payload;e.signedTransactions[r]!=null&&(e.signedTransactions[r].customTransactionInformation=T(T({},e.signedTransactions[r].customTransactionInformation),o))}},extraReducers:e=>{e.addCase(b,()=>Re),e.addCase(Eo.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,g])=>{let x=new Date(d),h=new Date;return h.setHours(h.getHours()+5),h-x>0||(m[d]=g),m},{});i!=null&&(t.customTransactionInformationForSessionId=i),o!=null&&(t.signedTransactions=l)})}}),{updateSignedTransactionStatus:Iu,updateSignedTransactions:ku,setTransactionsToSign:Eu,clearAllTransactionsToSign:Lu,clearAllSignedTransactions:Pu,clearSignedTransaction:Ru,clearTransactionToSign:Nu,setSignTransactionsError:Cu,setSignTransactionsCancelMessage:Du,moveTransactionsToSignedState:_u,updateSignedTransactionsCustomTransactionInformation:Ou}=Lo.actions,gt=Lo.reducer});var Po,yr,Ro,Bu,Wu,Vu,$u,Tt,yt=y(()=>{"use strict";n();Po=require("@reduxjs/toolkit");M();yr={},Ro=(0,Po.createSlice)({name:"batchTransactionsSlice",initialState:yr,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:()=>yr},extraReducers:e=>{e.addCase(b,()=>yr)}}),{setBatchTransactions:Bu,updateBatchTransactions:Wu,clearBatchTransactions:Vu,clearAllBatchTransactions:$u}=Ro.actions,Tt=Ro.reducer});var Co,No,Do,ju,_o,hr=y(()=>{"use strict";n();Co=require("@reduxjs/toolkit");M();No={},Do=(0,Co.createSlice)({name:"dappConfigSlice",initialState:No,reducers:{setDappConfig:(e,t)=>t.payload},extraReducers:e=>{e.addCase(b,()=>No)}}),{setDappConfig:ju}=Do.actions,_o=Do.reducer});var oe=y(()=>{"use strict";n();Je();tt();nt();it();st();lt();ut();ft();yt();hr()});var Ar=y(()=>{"use strict";n()});var Yo,Ts,ys,de,It=y(()=>{"use strict";n();Yo=require("@reduxjs/toolkit");Ar();Je();yt();hr();tt();nt();it();st();lt();ut();ft();Ts={["account"]:Ze,["dappConfig"]:_o,["loginInfo"]:et,["modals"]:rt,["networkConfig"]:ot,["signedMessageInfo"]:at,["toasts"]:ct,["transactionsInfo"]:pt,["transactions"]:gt,["batchTransactions"]:Tt},ys=(e={})=>(0,Yo.combineReducers)(T(T({},Ts),e)),de=ys});var Qo={};ie(Qo,{default:()=>Ds,sessionStorageReducers:()=>vr});function te(e,t=[]){return{key:e,version:1,storage:Zo.default,blacklist:t}}var _,Xo,Zo,hs,Ce,xs,Ss,ws,As,vs,bs,Is,ks,Es,Ls,Jo,Ps,vr,Rs,Ns,Cs,Ds,ei=y(()=>{"use strict";n();_=require("redux-persist"),Xo=v(require("redux-persist/lib/storage")),Zo=v(require("redux-persist/lib/storage/session"));It();oe();Je();yt();tt();nt();it();st();lt();ut();ft();Ar();hs={persistReducersStorageType:"localStorage"},Ce={["account"]:"sdk-dapp-account",["loginInfo"]:"sdk-dapp-login-info",["modals"]:"sdk-dapp-modals",["networkConfig"]:"sdk-dapp-network-config"},xs=te(Ce["account"]),Ss=te(Ce["loginInfo"]),ws=te(Ce["modals"]),As=te(Ce["networkConfig"]),vs={2:e=>S(T({},e),{networkConfig:lr})};bs=te("sdk-dapp-transactionsInfo"),Is=te("sdk-dapp-transactions",["transactionsToSign"]),ks=te("sdk-dapp-batchTransactions",["batchTransactions"]),Es=te("sdk-dapp-toasts"),Ls=te("sdk-dapp-signedMessageInfo"),Jo={key:"sdk-dapp-store",version:2,storage:Xo.default,whitelist:Object.keys(Ce),migrate:(0,_.createMigrate)(vs,{debug:!1})},Ps=S(T({},Jo),{whitelist:[]}),vr={["toasts"]:(0,_.persistReducer)(Es,ct),["transactions"]:(0,_.persistReducer)(Is,gt),["transactionsInfo"]:(0,_.persistReducer)(bs,pt),["batchTransactions"]:(0,_.persistReducer)(ks,Tt),["signedMessageInfo"]:(0,_.persistReducer)(Ls,at)},Rs=S(T({},vr),{["account"]:(0,_.persistReducer)(xs,Ze),["loginInfo"]:(0,_.persistReducer)(Ss,et),["modals"]:(0,_.persistReducer)(ws,rt),["networkConfig"]:(0,_.persistReducer)(As,ot)}),Ns=hs.persistReducersStorageType==="localStorage",Cs=Ns?(0,_.persistReducer)(Jo,de(vr)):(0,_.persistReducer)(Ps,de(Rs)),Ds=Cs});var ti={};ie(ti,{default:()=>_s});var _s,ri=y(()=>{"use strict";n();It();_s=de()});var ni={};ie(ni,{default:()=>Ms});var B,Os,Ms,oi=y(()=>{"use strict";n();B=require("redux-persist"),Os=[B.FLUSH,B.REHYDRATE,B.PAUSE,B.PERSIST,B.PURGE,B.REGISTER],Ms=Os});var si={};ie(si,{default:()=>ai});function ai(e){return(0,ii.persistStore)(e)}var ii,ci=y(()=>{"use strict";n();ii=require("redux-persist")});var _c={};ie(_c,{checkIsValidSender:()=>_a,checkNeedsGuardianSigning:()=>Lc,getAreAllTransactionsSignedByGuardian:()=>Mr,getShouldMoveTransactionsToSignedState:()=>hc,useGetLedgerProvider:()=>Dc,useSetTransactionNonces:()=>bc});module.exports=be(_c);n();n();var _a=(e,t)=>e?Array.isArray(t)?t.some(r=>e.address===r||e.activeGuardianAddress===r):e.address===t||e.activeGuardianAddress===t:!0;n();n();n();oe();n();var Oo=v(require("lodash.isequal")),ht=require("reselect"),f=(0,ht.createSelectorCreator)(ht.defaultMemoize,Oo.default);var K=e=>e.account,pe=f(K,e=>e.address),xt=f(K,pe,(e,t)=>t in e.accounts?e.accounts[t]:Xe),cd=f(K,xt,(e,t)=>{let i=e,{accounts:r}=i,o=_t(i,["accounts"]);return S(T({},o),{account:t})}),ld=f(xt,e=>e.balance),Mo=f(xt,e=>{var t;return((t=e==null?void 0:e.nonce)==null?void 0:t.valueOf())||0}),pd=f(K,e=>e.shard),ud=f(K,e=>e.ledgerAccount),dd=f(K,e=>e.walletConnectAccount),md=f(K,e=>e.isAccountLoading),gd=f(K,e=>e.accountLoadingError),fd=f(K,e=>e.websocketEvent),Td=f(K,e=>e.websocketBatchEvent);n();var cs=e=>e.dappConfig,xd=f(cs,e=>e.shouldUseWebViewProvider);n();var ee=e=>e.loginInfo,vd=f(ee,e=>e.loginMethod),St=f(ee,pe,(e,t)=>Boolean(t)),bd=f(ee,e=>e.walletConnectLogin),Fo=f(ee,e=>e.ledgerLogin),Uo=f(ee,e=>e.walletLogin),Id=f(ee,e=>e.isLoginSessionInvalid),kd=f(ee,e=>e.tokenLogin),Bo=f(ee,e=>e.logoutRoute),Ed=f(ee,e=>e.isWalletConnectV2Initialized);n();var Wo=e=>e.modals,Rd=f(Wo,e=>e.txSubmittedModal),Nd=f(Wo,e=>e.notificationModal);n();var ue=e=>e.networkConfig,_d=f(ue,e=>e.chainID),Od=f(ue,e=>e.network.walletConnectBridgeAddress),Md=f(ue,e=>e.network.walletConnectV2RelayAddress),Fd=f(ue,e=>e.network.walletConnectV2ProjectId),Ud=f(ue,e=>e.network.walletConnectV2Options),Bd=f(ue,e=>e.network.walletConnectDeepLink),Ne=f(ue,e=>e.network),Vo=f(Ne,e=>e.apiAddress),$o=f(Ne,e=>e.explorerAddress),Wd=f(Ne,e=>{var t;return(t=e.customWalletAddress)!=null?t:e.walletAddress}),Vd=f(Ne,e=>e.xAliasAddress),$d=f(Ne,e=>e.egldLabel);n();var wt=e=>e.signedMessageInfo,qd=f(wt,e=>e.isSigning),jd=f(wt,e=>e.errorMessage),zd=f(wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return e.signedSessions[t[r-1]]}),Kd=f(wt,e=>{let t=Object.keys(e.signedSessions),r=t.length;return t.length>0?t[r-1]:""});n();var Go=e=>e.toasts,Zd=f(Go,e=>e.customToasts),Jd=f(Go,e=>e.transactionToasts);n();oe();var Ho={errorMessage:dr,successMessage:mr,processingMessage:gr},ls=e=>e.transactionsInfo,rm=f(ls,(e,t)=>t,(e,t)=>t!=null&&(e==null?void 0:e[Number(t)])||Ho);n();n();var Y=require("@multiversx/sdk-core");A();n();var Sr=require("@multiversx/sdk-core/out");n();n();function xr(e){try{let t=atob(e),r=btoa(t),o=a.Buffer.from(e,"base64").toString(),i=a.Buffer.from(o).toString("base64");if(e===r&&e===i||t===o)return!0}catch(t){return!1}return!1}n();n();n();n();var qo=e=>{let t=e!=null?e:"";return xr(t)?Sr.TransactionPayload.fromEncoded(t):new Sr.TransactionPayload(t)};n();A();var At=({data:e,onlySetGuardian:t})=>e?t?e.startsWith("SetGuardian"):Object.values(jt).some(r=>e.startsWith(r)):!1;function wr(e){var o,i,l;let t=Object.assign({},e);At({data:t.data,onlySetGuardian:!0})&&(delete t.senderUsername,delete t.receiverUsername);let r=new Y.Transaction(T(T(S(T(S(T({value:t.value.valueOf(),data:qo(t.data),nonce:t.nonce.valueOf(),receiver:new Y.Address(t.receiver)},t.receiverUsername?{receiverUsername:t.receiverUsername}:{}),{sender:new Y.Address(t.sender)}),t.senderUsername?{senderUsername:t.senderUsername}:{}),{gasLimit:(o=t.gasLimit.valueOf())!=null?o:Kt,gasPrice:(i=t.gasPrice.valueOf())!=null?i:Yt,chainID:t.chainID.valueOf(),version:new Y.TransactionVersion((l=t.version)!=null?l:Mn)}),t.options?{options:new Y.TransactionOptions(t.options)}:{}),t.guardian?{guardian:new Y.Address(t.guardian)}:{}));return t.guardianSignature&&r.applyGuardianSignature(a.Buffer.from(t.guardianSignature,"hex")),t.signature&&r.applySignature(a.Buffer.from(t.signature,"hex")),r}n();n();A();function us(e,t){let r=new URLSearchParams(e),o=Object.fromEntries(r);return{nextUrlParams:new URLSearchParams(T(T({},o),t)).toString(),params:o}}var ds="2.28.7-alpha.22";function jo({callbackUrl:e,urlParams:t={}}){let r=e;if(Object.entries(t).length>0)try{let{search:o,origin:i,pathname:l,hash:p}=new URL(e),m=S(T({},t),{[Zt]:ds}),{nextUrlParams:d}=us(o,m);r=`${i}${l}?${d}${p}`}catch(o){return console.error("Unable to construct URL from: ",e,o),r}return r}n();n();var br=require("@reduxjs/toolkit"),di=require("react-redux/lib/utils/Subscription");oe();n();var zo=v(require("lodash.throttle"));A();oe();ar();ke();he();var ms=[ze],vt=!1,gs=(0,zo.default)(()=>{Pe(Le())},5e3),Ko=e=>t=>r=>{if(ms.includes(r.type))return t(r);let o=e.getState(),i=z.local.getItem(V.loginExpiresAt);if(!Boolean(o==null?void 0:o.account.address))return t(r);if(i==null)return Pe(Le());let p=Date.now();return i-p<0&&!vt?setTimeout(()=>{vt=!0,e.dispatch(Qn())},1e3):(vt&&(vt=!1),gs()),t(r)};n();n();function bt(){return typeof sessionStorage!="undefined"}var li=bt()?(ei(),be(Qo)).default:(ri(),be(ti)).default,pi=bt()?(oi(),be(ni)).default:[],ui=bt()?(ci(),be(si)).default:e=>e;It();var L=(0,br.configureStore)({reducer:li,middleware:e=>e({serializableCheck:{ignoredActions:[...pi,ir.type,or.type],ignoredPaths:["payload.nonce","account.account.nonce","providers.accountProvider"]}}).concat(Ko)}),mi=(0,di.createSubscription)(L),ug=ui(L),dg=(0,br.configureStore)({reducer:de});n();n();var Us=require("@multiversx/sdk-core/out");n();A();n();var fi=require("@multiversx/sdk-core");O();n();var gi=require("@multiversx/sdk-core");function Bs(e){try{let t=new gi.Address(e);return Boolean(t.bech32())}catch(t){return!1}}function De(e){return(e==null?void 0:e.startsWith("erd"))&&e.length===62&&/^\w+$/.test(e)&&Bs(e)}n();n();n();var Ws=require("@multiversx/sdk-core"),Vs=v(require("bignumber.js"));W();n();n();n();var Ir="accounts";n();n();n();n();D();n();n();D();n();n();n();var zs=v(require("bignumber.js"));A();n();var js=require("@multiversx/sdk-core"),kr=v(require("bignumber.js"));A();n();var Hs=v(require("bignumber.js"));n();kr.default.config({ROUNDING_MODE:kr.default.ROUND_FLOOR});n();n();n();A();n();n();n();n();A();n();A();n();var Ks=require("@multiversx/sdk-core");A();n();var Oe=require("@multiversx/sdk-core"),Xs=v(require("bignumber.js"));A();n();n();var Ys=v(require("bignumber.js"));A();n();A();n();n();n();n();n();n();A();n();A();n();A();n();D();var Js=["reDelegateRewards","claimRewards","unBond"],Qs=["wrapEgld","unwrapEgld"],ec=["unStake"],tc=["unDelegate"];n();n();n();A();n();var oc=v(require("bignumber.js"));n();n();D();n();var ic=v(require("bignumber.js"));n();n();n();n();var sc=v(require("bignumber.js"));O();n();n();n();n();W();n();var pc=require("@multiversx/sdk-web-wallet-provider");A();n();var lc=v(require("qs"));n();n();n();n();n();var Me=()=>typeof window!="undefined"&&typeof(window==null?void 0:window.location)!="undefined";var N=()=>{if(!Me())return{pathname:"",hash:"",origin:"",href:"",search:""};let{location:{pathname:t,hash:r,origin:o,href:i,search:l}}=window;return{pathname:t,hash:r,origin:o,href:i,search:l}};var Pr=(e="")=>{let t=N(),r=e.startsWith("http")||e.startsWith("www.");return!t.origin||e.startsWith(t.origin)||r?e:`${t.origin}/${e.replace("/","")}`};n();n();var Wh={search:Me()?window.location.search:"",removeParams:[]};n();n();n();n();D();n();n();n();var uc=v(require("linkifyjs"));n();A();n();var dc=v(require("bignumber.js"));n();O();n();n();W();n();W();n();n();n();D();n();D();n();var mc=v(require("bignumber.js"));A();D();n();D();n();var wi=require("react");O();n();n();D();n();n();var gc=require("@multiversx/sdk-core/out"),fc=v(require("bignumber.js"));D();n();O();n();n();O();var DS=[{label:"Raw",value:"raw"},{label:"Text",value:"text"},{label:"Decimal",value:"decimal"},{label:"Smart",value:"smart"}];n();var Ai=require("react");O();n();var yc=require("react");D();var VS=["create","localMint","ESDTLocalMint","addQuantity","burn","localBurn","ESDTLocalBurn","wipe","writeLog","signalError"];Tr();var Lt=e=>e.transactions,Fe=f(Lt,e=>e.signedTransactions),Lw=f(Lt,e=>e.signTransactionsError),Pw=f(Lt,e=>e.signTransactionsCancelMessage),Pt=e=>t=>Object.entries(t).reduce((r,[o,i])=>(e(i.status)&&(r[o]=i),r),{}),Rw=f(Fe,Pt(vo)),Nw=f(Fe,Pt(dt)),Cw=f(Fe,Pt(mt)),Dw=f(Fe,Pt(Io)),vi=f(Lt,e=>{var t;return(e==null?void 0:e.transactionsToSign)==null?null:S(T({},e.transactionsToSign),{transactions:((t=e==null?void 0:e.transactionsToSign)==null?void 0:t.transactions.map(r=>wr(r)))||[]})}),_w=f(Fe,(e,t)=>t,(e,t)=>t!=null?(e==null?void 0:e[t])||{}:{});function hc(e){let t=vi(L.getState()),r=Object.keys(e).length===(t==null?void 0:t.transactions.length);return e&&(e&&r)}n();n();var bi=require("react"),xe=require("react-redux");var xc={store:L,subscription:mi},Rr=(0,bi.createContext)(xc),Zw=(0,xe.createStoreHook)(Rr),Jw=(0,xe.createDispatchHook)(Rr),Se=(0,xe.createSelectorHook)(Rr);n();n();n();var Ii=require("@lifeomic/axios-fetch"),Nr=v(require("axios")),Cr=(0,Ii.buildAxiosFetch)(Nr.default),Dr=(e,t)=>w(void 0,null,function*(){if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);let o=e.clone().json(),[i]=yield Promise.all([o]);return{data:i,status:e.status,statusText:e.statusText,headers:e.headers,config:t}});function Sc(e,t,r){return w(this,null,function*(){try{let o=yield Cr(e,T({method:"POST",body:t?JSON.stringify(t):void 0,headers:T({"Content-Type":"application/json"},(r==null?void 0:r.headers)||{})},r));return Dr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}function wc(e,t){return w(this,null,function*(){try{let r=yield Cr(e,t);if(!r.ok)throw new Error(`HTTP error! Status: ${r.status}`);return Dr(r,t)}catch(r){throw console.error("Fetch Error:",r),r}})}function Ac(e,t,r){return w(this,null,function*(){try{let o=yield Cr(e,T({method:"PATCH",body:t?JSON.stringify(t):void 0,headers:(r==null?void 0:r.headers)||{}},r));if(!o.ok)throw new Error(`HTTP error! Status: ${o.status}`);return Dr(o,r)}catch(o){throw console.error("Fetch Error:",o),o}})}var Ue=Nr.default.create();Ue.get=wc;Ue.post=Sc;Ue.patch=Ac;n();n();var _r=e=>{let t=e!=null?e:Vo(L.getState());return t.endsWith("/")?t.slice(0,-1):t};var vc=e=>{let r=`${_r()}/${Ir}/${e}?withGuardianInfo=true`;return Ue.get(r)};function ki(e){return w(this,null,function*(){if(!e)return null;try{let{data:t}=yield vc(e);return t}catch(t){console.error("error fetching configuration for ",e)}return null})}function Rt(e){return w(this,null,function*(){return yield ki(e)})}n();function Or(e){let t=L.getState(),r=Mo(t);return e?r&&!isNaN(r)?Math.max(r,e.nonce):e.nonce:r}n();n();var Ei=({accountNonce:e,transactionNonce:t})=>t&&t>e?t:e;var Li=({latestNonce:e,transactions:t})=>t.length===0?t:t.map((r,o)=>{let i=e+o,l=r.getNonce().valueOf(),p=Ei({accountNonce:i,transactionNonce:l});return r.setNonce(p),r});var bc=()=>{let e=Se(pe);return t=>w(void 0,null,function*(){let r=yield Rt(e),o=Or(r);return Li({latestNonce:o,transactions:t})})};n();var Mr=({transactions:e,isGuarded:t})=>t?e.length===0?!1:e.every(r=>Boolean(r.getGuardianSignature().toString("hex"))):!0;n();n();n();Ie();n();var Ic=v(require("axios"));n();var kc=v(require("axios"));n();Ie();n();Ie();function Fr(e){return Dn[e]}A();n();var Ci=require("@multiversx/sdk-extension-provider"),Di=require("@multiversx/sdk-hw-provider"),_i=require("@multiversx/sdk-opera-provider"),Oi=require("@multiversx/sdk-web-wallet-cross-window-provider"),Br=require("@multiversx/sdk-web-wallet-provider");A();W();n();n();n();var Pi=Ur;function Ri(e){Pi=e}function F(){return Pi||Ur}var Ni=we;var Ec="/dapp/init",Ae=e=>{switch(e==null?void 0:e.constructor){case Br.WalletProvider:return"wallet";case Ni:return"walletconnectv2";case Di.HWProvider:return"ledger";case Ci.ExtensionProvider:return"extension";case _i.OperaProvider:return"opera";case Oi.CrossWindowProvider:return"crossWindow";case we:return"";default:return"extra"}},Mi=e=>new Br.WalletProvider(`${e}${Ec}`),Fi=e=>w(void 0,null,function*(){if(!e.isInitialized())throw new Error("Unable to get version. Provider not initialized");let t=e.hwApp,{contractData:r,version:o}=yield t.getAppConfiguration();return{version:o,dataEnabled:r===Fn}}),ne=e=>`Unable to perform ${e}, Provider not initialized`,we=class{init(){return Promise.resolve(!1)}login(t){throw new Error(ne(`login with options: ${t}`))}logout(t){throw new Error(ne(`logout with options: ${t}`))}getAddress(){throw new Error(ne("getAddress"))}isInitialized(){return!1}isConnected(){return Promise.resolve(!1)}sendTransaction(t,r){throw new Error(ne(`sendTransaction with transactions: ${t} options: ${r}`))}signTransaction(t,r){throw new Error(ne(`signTransaction with transactions: ${t} options: ${r}`))}signTransactions(t,r){throw new Error(ne(`signTransactions with transactions: ${t} options: ${r}`))}signMessage(t,r){throw new Error(ne(`signTransactions with ${t} and options ${r}`))}sendCustomMessage({method:t,params:r}){throw new Error(ne(`sendCustomMessage with method: ${t} params: ${r}`))}sendCustomRequest(t){throw new Error(ne(`sendSessionEvent with options: ${t}`))}ping(){return Promise.resolve(!1)}},Ur=new we;var Lc=({transactions:e,hasGuardianScreen:t,callbackRoute:r,sessionId:o,walletAddress:i,isGuarded:l})=>{let p=Mr({isGuarded:l,transactions:e});return{needs2FaSigning:l?!t&&!p&&o:!1,sendTransactionsToGuardian:()=>{let g=e[0].getChainID().valueOf(),x=Fr(g),h=i!=null?i:le[x].walletAddress,I=Mi(h),k={[Xt]:String(o)},{origin:R}=N(),me=window!=null&&window.location?`${R}${r}`:`${r}`,Ct=jo({callbackUrl:me,urlParams:k});I.guardTransactions(e,{callbackUrl:encodeURIComponent(Ct)})}}};n();n();n();var qi=require("react"),Vr=require("@multiversx/sdk-hw-provider");n();n();var Ui=()=>{let{search:e}=N(),t=new URLSearchParams(e),r=Object.fromEntries(t),o=r==null?void 0:r.address;return De(o)?o:null};n();n();function Bi(){let e=F();return Ae(e)}n();W();n();function Be(e){return Bi()===e}function Nt(){let e=L.getState(),t=F(),r=pe(e),o=St(e),i=Uo(e);if(!t)throw"provider not initialized";return Be("ledger")&&o?new Promise(l=>{l(r)}):!Be("")&&!Be("wallet")&&!Be("extra")?t.getAddress():new Promise(l=>{let p=Ui();i!=null&&p&&l(p),o&&l(r),l("")})}n();var Wi=()=>{let{search:e}=N(),t=new URLSearchParams(e),r=Object.fromEntries(t);return r==null?void 0:r.accessToken};n();M();O();n();oe();n();oe();n();var Vi=require("@multiversx/sdk-core");n();M();O();n();function $i(e,t){if(!e){typeof console!="undefined"&&console.warn(t);try{throw new Error(t)}catch(r){}}}function Gi(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,o]=Pc(e.path,e.caseSensitive,e.end),i=t.match(r);if(!i)return null;let l=i[0],p=l.replace(/(.)\/+$/,"$1"),m=i.slice(1);return{params:o.reduce((g,x,h)=>{if(x==="*"){let I=m[h]||"";p=l.slice(0,l.length-I.length).replace(/(.)\/+$/,"$1")}return g[x]=Rc(m[h]||"",x),g},{}),pathname:l,pathnameBase:p,pattern:e}}function Pc(e,t=!1,r=!0){$i(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let o=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^$?{}|()[\]]/g,"\\$&").replace(/:(\w+)/g,(p,m)=>(o.push(m),"([^\\/]+)"));return e.endsWith("*")?(o.push("*"),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i+=r?"\\/*$":"(?:(?=[.~-]|%[0-9A-F]{2})|\\b|\\/|$)",[new RegExp(i,t?void 0:"i"),o]}function Rc(e,t){try{return decodeURIComponent(e)}catch(r){return $i(!1,`The value for the URL param "${t}" will not be decoded because the string "${e}" is a malformed URL segment. This is probably due to a bad percent encoding (${r}).`),e}}cr();ke();he();var Hi=({callbackUrl:e,onRedirect:t})=>{typeof t=="function"?t(e):e&&sr({url:e})},Nc=e=>{let t=z.local.getItem(V.logoutEvent),{data:r}=t?JSON.parse(t):{data:e};e===r&&(z.local.setItem({key:V.logoutEvent,data:e,expires:0}),z.local.removeItem(V.logoutEvent))},Cc=500;function Wr(o,i){return w(this,arguments,function*(e,t,r=Boolean(Wi())){var k;let l="",p=F(),d=Ae(p)==="wallet",g=((k=p==null?void 0:p.isInitialized)==null?void 0:k.call(p))===!0;if(r&&(p==null?void 0:p.relogin)!=null)return p.relogin();try{l=yield Nt(),Nc(l)}catch(R){console.error("error fetching logout address",R)}let x=Pr(e),h=N(),I=new URL(x).pathname;if((Gi(h.pathname,I)||d&&g)&&oo(),!l&&!g)return Hi({callbackUrl:x,onRedirect:t});try{if(L.dispatch(b()),d)return setTimeout(()=>{p.logout({callbackUrl:x})},Cc);yield p.logout({callbackUrl:x})}catch(R){console.error("error logging out",R)}finally{Hi({callbackUrl:x,onRedirect:t})}})}var ji=()=>{let e=Se(Bo),t=Se(St),r=Se(Fo),o=F(),[i,l]=(0,qi.useState)(),p=()=>w(void 0,null,function*(){let d=(r==null?void 0:r.index)!=null;try{if(o instanceof Vr.HWProvider&&o.isInitialized())return d&&(yield o.setAddressIndex(r.index)),o;let g=new Vr.HWProvider;return(yield g.init())?(d&&(yield g.setAddressIndex(r.index)),g):null}catch(g){return console.error("Failed to initialise Ledger Provider"),null}});function m(d){return w(this,null,function*(){let g,x=t&&!(d!=null&&d.isRelogin);try{if(g=yield p(),!g){console.warn("Could not initialise ledger app"),x&&Wr(e);return}let h=yield Fi(g);return Ri(g),l(h),g}catch(h){console.error("Could not initialise ledger app",h),x&&Wr(e)}return null})}return{setLedgerProvider:m,ledgerData:i}};n();var zi=()=>{let e=F(),t=Ae(e);return{provider:e,providerType:t}};var Dc=()=>{let{provider:e}=zi(),{setLedgerProvider:t}=ji();return function(){return w(this,null,function*(){let o;try{let l=yield e.getAddress();o=Boolean(l)}catch(l){o=!1}if(o)return e;let i=yield t({isRelogin:!0});return i||e})}};0&&(module.exports={checkIsValidSender,checkNeedsGuardianSigning,getAreAllTransactionsSignedByGuardian,getShouldMoveTransactionsToSignedState,useGetLedgerProvider,useSetTransactionNonces});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *