@multiversx/sdk-dapp 2.18.2 → 2.18.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1018) hide show
  1. package/UI/DappModal/hooks/index.js +1 -1
  2. package/UI/DappModal/hooks/useDappModal.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/SignWithDeviceModal/SignStep.js +1 -1
  15. package/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +1 -1
  16. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.d.ts +1 -1
  17. package/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +1 -1
  18. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/ConfirmAmount.js +1 -1
  19. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmAmount/index.js +1 -1
  20. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/ConfirmFee.js +1 -1
  21. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/ConfirmFee/index.js +1 -1
  22. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/NftSftPreviewComponent.js +1 -1
  23. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/NftSftPreviewComponent/index.js +1 -1
  24. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  25. package/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  26. package/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +1 -1
  27. package/UI/SignTransactionsModals/SignWithDeviceModal/index.js +1 -1
  28. package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.d.ts +2 -2
  29. package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
  30. package/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModalStyles.js +1 -1
  31. package/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  32. package/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  33. package/UI/SignTransactionsModals/SignWithExtraModal/SignWithExtraModal.js +1 -1
  34. package/UI/SignTransactionsModals/SignWithExtraModal/index.js +1 -1
  35. package/UI/SignTransactionsModals/SignWithLedgerModal/LedgerGuardianSigningModalError.js +1 -1
  36. package/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +1 -1
  37. package/UI/SignTransactionsModals/SignWithLedgerModal/index.js +1 -1
  38. package/UI/SignTransactionsModals/SignWithOperaModal/SignWithOperaModal.js +1 -1
  39. package/UI/SignTransactionsModals/SignWithOperaModal/index.js +1 -1
  40. package/UI/SignTransactionsModals/SignWithWalletConnectModal/index.js +1 -1
  41. package/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  42. package/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +1 -1
  43. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/SignWaitingScreenModal.js +1 -1
  44. package/UI/SignTransactionsModals/components/SignWaitingScreenModal/index.js +1 -1
  45. package/UI/SignTransactionsModals/components/TransactionStatusToast.js +1 -1
  46. package/UI/SignTransactionsModals/components/index.js +1 -1
  47. package/UI/SignTransactionsModals/index.js +1 -1
  48. package/UI/TokenDetails/index.js +1 -1
  49. package/UI/TransactionData/TransactionData.js +1 -1
  50. package/UI/TransactionData/index.js +1 -1
  51. package/UI/TransactionDetails/TransactionDetails.js +1 -1
  52. package/UI/TransactionDetails/components/TransactionDetailsBody.js +1 -1
  53. package/UI/TransactionDetails/components/index.js +1 -1
  54. package/UI/TransactionDetails/index.js +1 -1
  55. package/UI/TransactionInfo/TransactionInfo.js +1 -1
  56. package/UI/TransactionInfo/components/AddressDetailItem/AddressDetailitem.js +1 -1
  57. package/UI/TransactionInfo/components/AddressDetailItem/index.js +1 -1
  58. package/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  59. package/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  60. package/UI/TransactionInfo/components/DataField/DataField.js +1 -1
  61. package/UI/TransactionInfo/components/DataField/index.js +1 -1
  62. package/UI/TransactionInfo/components/EventsList/EventsList.js +1 -1
  63. package/UI/TransactionInfo/components/EventsList/index.js +1 -1
  64. package/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +1 -1
  65. package/UI/TransactionInfo/components/NonceMessage/index.js +1 -1
  66. package/UI/TransactionInfo/components/OperationsList/OperationList.js +1 -1
  67. package/UI/TransactionInfo/components/OperationsList/components/DetailedItem.js +1 -1
  68. package/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +1 -1
  69. package/UI/TransactionInfo/components/OperationsList/components/OperationRow.js +1 -1
  70. package/UI/TransactionInfo/components/OperationsList/components/OperationText.js +1 -1
  71. package/UI/TransactionInfo/components/OperationsList/components/OperationToken.js +1 -1
  72. package/UI/TransactionInfo/components/OperationsList/components/index.js +1 -1
  73. package/UI/TransactionInfo/components/OperationsList/index.js +1 -1
  74. package/UI/TransactionInfo/components/ScResultsList/ScResultsList.js +1 -1
  75. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  76. package/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  77. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/ResultHash.js +1 -1
  78. package/UI/TransactionInfo/components/ScResultsList/components/ResultHash/index.js +1 -1
  79. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/ResultReceiver.js +1 -1
  80. package/UI/TransactionInfo/components/ScResultsList/components/ResultReceiver/index.js +1 -1
  81. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/ResultSender.js +1 -1
  82. package/UI/TransactionInfo/components/ScResultsList/components/ResultSender/index.js +1 -1
  83. package/UI/TransactionInfo/components/ScResultsList/index.js +1 -1
  84. package/UI/TransactionInfo/components/ScrDetailItem/ScrDetailItem.js +1 -1
  85. package/UI/TransactionInfo/components/ScrDetailItem/index.js +1 -1
  86. package/UI/TransactionInfo/components/TransactionAction/TransactionAction.js +1 -1
  87. package/UI/TransactionInfo/components/TransactionAction/components/ActionText/index.js +1 -1
  88. package/UI/TransactionInfo/components/TransactionAction/components/ActionToken.js +1 -1
  89. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionCollection.js +1 -1
  90. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionNft.js +1 -1
  91. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/TransactionActionToken.js +1 -1
  92. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/components/index.js +1 -1
  93. package/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +1 -1
  94. package/UI/TransactionInfo/components/TransactionAction/components/index.js +1 -1
  95. package/UI/TransactionInfo/components/TransactionAction/index.js +1 -1
  96. package/UI/TransactionInfo/components/TransactionLogs/TransactionLogs.js +1 -1
  97. package/UI/TransactionInfo/components/TransactionLogs/index.js +1 -1
  98. package/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +1 -1
  99. package/UI/TransactionInfo/components/TransactionStatus/index.js +1 -1
  100. package/UI/TransactionInfo/components/index.js +1 -1
  101. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/TransactionInfoAge.js +1 -1
  102. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoAge/index.js +1 -1
  103. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/TransactionInfoEgldPrice.js +1 -1
  104. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoEgldPrice/index.js +1 -1
  105. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/TransactionInfoFee.js +1 -1
  106. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFee/index.js +1 -1
  107. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/TransactionInfoFrom.js +1 -1
  108. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoFrom/index.js +1 -1
  109. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/TransactionInfoGasLimit.js +1 -1
  110. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasLimit/index.js +1 -1
  111. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  112. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  113. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/TransactionInfoGasUsed.js +1 -1
  114. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasUsed/index.js +1 -1
  115. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +1 -1
  116. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +1 -1
  117. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/TransactionInfoMethod.js +1 -1
  118. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMethod/index.js +1 -1
  119. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +1 -1
  120. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +1 -1
  121. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/TransactionInfoNonce.js +1 -1
  122. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoNonce/index.js +1 -1
  123. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/TransactionInfoScResults.js +1 -1
  124. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoScResults/index.js +1 -1
  125. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/TransactionInfoStatus.js +1 -1
  126. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoStatus/index.js +1 -1
  127. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/TransactionInfoTo.js +1 -1
  128. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTo/index.js +1 -1
  129. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/TransactionInfoTokenOperations.js +1 -1
  130. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoTokenOperations/index.js +1 -1
  131. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/TransactionInfoValue.js +1 -1
  132. package/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoValue/index.js +1 -1
  133. package/UI/TransactionInfo/components/transactionInfoFields/index.js +1 -1
  134. package/UI/TransactionInfo/index.js +1 -1
  135. package/UI/TransactionsTable/TransactionsTable.js +1 -1
  136. package/UI/TransactionsTable/components/AccountName.js +1 -1
  137. package/UI/TransactionsTable/components/LockedTokenAddressIcon.js +1 -1
  138. package/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  139. package/UI/TransactionsTable/components/ShardSpan.js +1 -1
  140. package/UI/TransactionsTable/components/TransactionHash.js +1 -1
  141. package/UI/TransactionsTable/components/TransactionIcon.js +1 -1
  142. package/UI/TransactionsTable/components/TransactionReceiver.js +1 -1
  143. package/UI/TransactionsTable/components/TransactionRow.js +1 -1
  144. package/UI/TransactionsTable/components/TransactionSender.js +1 -1
  145. package/UI/TransactionsTable/components/TransactionShardsTransition.js +1 -1
  146. package/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +1 -1
  147. package/UI/TransactionsTable/components/TransactionValue/index.js +1 -1
  148. package/UI/TransactionsTable/components/index.js +1 -1
  149. package/UI/TransactionsTable/index.js +1 -1
  150. package/UI/TransactionsToastList/TransactionsToastList.js +1 -1
  151. package/UI/TransactionsToastList/components/CustomToast/CustomToast.js +1 -1
  152. package/UI/TransactionsToastList/components/CustomToast/components/CustomComponentToast.js +1 -1
  153. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/IconToast.js +1 -1
  154. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/IconToastFooter.js +1 -1
  155. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/ComponentToastFooter.js +1 -1
  156. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/TransactionToastFooter.js +1 -1
  157. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/components/index.js +1 -1
  158. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/components/IconToastFooter/index.js +1 -1
  159. package/UI/TransactionsToastList/components/CustomToast/components/IconToast/index.js +1 -1
  160. package/UI/TransactionsToastList/components/CustomToast/components/SimpleToast.js +1 -1
  161. package/UI/TransactionsToastList/components/CustomToast/components/index.js +1 -1
  162. package/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  163. package/UI/TransactionsToastList/components/CustomToast/helpers/index.js +1 -1
  164. package/UI/TransactionsToastList/components/CustomToast/helpers/useMemoizedCloseButton.js +1 -1
  165. package/UI/TransactionsToastList/components/CustomToast/index.js +1 -1
  166. package/UI/TransactionsToastList/components/TransactionToast/TransactionToast.js +1 -1
  167. package/UI/TransactionsToastList/components/TransactionToast/components/TransactionToastContent.js +1 -1
  168. package/UI/TransactionsToastList/components/TransactionToast/components/index.js +1 -1
  169. package/UI/TransactionsToastList/components/TransactionToast/hooks/useTransactionToast.js +1 -1
  170. package/UI/TransactionsToastList/components/TransactionToast/index.js +1 -1
  171. package/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  172. package/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  173. package/UI/TransactionsToastList/components/TransactionToastGuard.js +1 -1
  174. package/UI/TransactionsToastList/components/index.js +1 -1
  175. package/UI/TransactionsToastList/index.js +1 -1
  176. package/UI/Trim/Trim.js +1 -1
  177. package/UI/Trim/index.js +1 -1
  178. package/UI/UsdValue/UsdValue.js +1 -1
  179. package/UI/UsdValue/index.js +1 -1
  180. package/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +1 -1
  181. package/UI/extension/ExtensionLoginButton/index.js +1 -1
  182. package/UI/index.js +1 -1
  183. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.d.ts +3 -3
  184. package/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +1 -1
  185. package/UI/ledger/LedgerLoginButton/index.js +1 -1
  186. package/UI/ledger/LedgerLoginContainer/AddressRow.d.ts +1 -1
  187. package/UI/ledger/LedgerLoginContainer/AddressRow.js +1 -1
  188. package/UI/ledger/LedgerLoginContainer/AddressTable.d.ts +1 -1
  189. package/UI/ledger/LedgerLoginContainer/AddressTable.js +1 -1
  190. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.d.ts +1 -1
  191. package/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  192. package/UI/ledger/LedgerLoginContainer/LedgerConnect.d.ts +1 -1
  193. package/UI/ledger/LedgerLoginContainer/LedgerConnect.js +1 -1
  194. package/UI/ledger/LedgerLoginContainer/index.d.ts +1 -1
  195. package/UI/ledger/LedgerLoginContainer/index.js +1 -1
  196. package/UI/ledger/LedgerLoginContainer/types.d.ts +5 -5
  197. package/UI/ledger/index.js +1 -1
  198. package/UI/operaWallet/OperaWalletLoginButton/OperaWalletLoginButton.js +1 -1
  199. package/UI/operaWallet/OperaWalletLoginButton/index.js +1 -1
  200. package/UI/pages/UnlockPage/index.js +1 -1
  201. package/UI/pages/index.js +1 -1
  202. package/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  203. package/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  204. package/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +1 -1
  205. package/UI/walletConnect/WalletConnectLoginButton/index.js +1 -1
  206. package/UI/walletConnect/WalletConnectLoginContainer/PairingList.d.ts +1 -1
  207. package/UI/walletConnect/WalletConnectLoginContainer/PairingList.js +1 -1
  208. package/UI/walletConnect/WalletConnectLoginContainer/index.js +1 -1
  209. package/UI/walletConnect/index.js +1 -1
  210. package/UI/walletConnect/types.d.ts +1 -1
  211. package/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  212. package/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  213. package/__chunks__/{chunk-CQOPKBJ4.js → chunk-22VC4R7K.js} +2 -2
  214. package/__chunks__/{chunk-ZTNNSC7R.js → chunk-24J53LEC.js} +2 -2
  215. package/__chunks__/chunk-2C72KP6A.js +2 -0
  216. package/__chunks__/{chunk-LIW4PCNY.js → chunk-2CDW64DN.js} +2 -2
  217. package/__chunks__/{chunk-UQKM2HDK.js → chunk-2E6WPVY6.js} +2 -2
  218. package/__chunks__/chunk-2IMZOT2H.js +2 -0
  219. package/__chunks__/{chunk-6IQAWU35.js → chunk-2NDCTBEG.js} +2 -2
  220. package/__chunks__/{chunk-YYHL4BAK.js → chunk-2WVVDD2C.js} +2 -2
  221. package/__chunks__/{chunk-JOBNULEY.js → chunk-344IHPAB.js} +2 -2
  222. package/__chunks__/{chunk-SFZ5MFHL.js → chunk-34ENQWAT.js} +2 -2
  223. package/__chunks__/{chunk-57M2FVBQ.js → chunk-367PU443.js} +2 -2
  224. package/__chunks__/{chunk-63XOH7YD.js → chunk-36LXLVUV.js} +2 -2
  225. package/__chunks__/{chunk-MLWZMX2V.js → chunk-3HWAP6C6.js} +2 -2
  226. package/__chunks__/{chunk-G5EN47O4.js → chunk-3MI3U7YW.js} +2 -2
  227. package/__chunks__/{chunk-65WMZH4Q.js → chunk-3XAWW3EJ.js} +2 -2
  228. package/__chunks__/chunk-42MUHTN7.js +2 -0
  229. package/__chunks__/{chunk-6NO6QNNN.js → chunk-42XYV6ZQ.js} +2 -2
  230. package/__chunks__/{chunk-PVH3J453.js → chunk-47KSXGYA.js} +2 -2
  231. package/__chunks__/{chunk-L6D42VTI.js → chunk-4DSQACOH.js} +2 -2
  232. package/__chunks__/chunk-4ENWA37J.js +2 -0
  233. package/__chunks__/{chunk-DINIVACL.js → chunk-4G3TKNEU.js} +2 -2
  234. package/__chunks__/{chunk-FHJNRJBL.js → chunk-4G76SVVZ.js} +2 -2
  235. package/__chunks__/{chunk-CHENOWBR.js → chunk-4LDC6QPX.js} +2 -2
  236. package/__chunks__/chunk-4NZTOFHX.js +2 -0
  237. package/__chunks__/{chunk-VSFHBAPB.js → chunk-4O4HJWLO.js} +2 -2
  238. package/__chunks__/chunk-4TKU2AT7.js +2 -0
  239. package/__chunks__/{chunk-2LMVCI6Z.js → chunk-4TUDKHKW.js} +2 -2
  240. package/__chunks__/{chunk-U7WL5TLN.js → chunk-4YCXAYUS.js} +2 -2
  241. package/__chunks__/{chunk-XT4WAJCA.js → chunk-565ANTQJ.js} +2 -2
  242. package/__chunks__/{chunk-IXIWVP4B.js → chunk-5ARWYACS.js} +2 -2
  243. package/__chunks__/{chunk-SHQLVF2Z.js → chunk-5CEAXF3F.js} +2 -2
  244. package/__chunks__/{chunk-G4PNB37E.js → chunk-5E4CODUZ.js} +2 -2
  245. package/__chunks__/{chunk-UHBGZA5B.js → chunk-5EPRUJGX.js} +2 -2
  246. package/__chunks__/{chunk-OTKIU24A.js → chunk-5EXDJ436.js} +2 -2
  247. package/__chunks__/chunk-5IKI535G.js +2 -0
  248. package/__chunks__/{chunk-EWJHR55O.js → chunk-5J2WQIQP.js} +2 -2
  249. package/__chunks__/{chunk-ESCZOLEU.js → chunk-5KKZKMH3.js} +2 -2
  250. package/__chunks__/{chunk-F2UTR4BA.js → chunk-5VVOLVDM.js} +2 -2
  251. package/__chunks__/{chunk-6JRB3XNG.js → chunk-5ZVLIN32.js} +2 -2
  252. package/__chunks__/{chunk-SK3TX2JW.js → chunk-66C4TL75.js} +2 -2
  253. package/__chunks__/{chunk-JZB3RV5G.js → chunk-6AFQMMDN.js} +2 -2
  254. package/__chunks__/{chunk-OQYYJNPS.js → chunk-6CPFEOVO.js} +2 -2
  255. package/__chunks__/{chunk-V7HQL44Z.js → chunk-6DPNKAL3.js} +2 -2
  256. package/__chunks__/{chunk-4XWYF5MO.js → chunk-6FODTBJG.js} +2 -2
  257. package/__chunks__/{chunk-XJTC4BDE.js → chunk-6J3K7V46.js} +2 -2
  258. package/__chunks__/{chunk-42EH3TV6.js → chunk-6KCQ4IGK.js} +2 -2
  259. package/__chunks__/{chunk-HNYK75C6.js → chunk-6MF7U6SR.js} +2 -2
  260. package/__chunks__/chunk-6NCOJHJV.js +2 -0
  261. package/__chunks__/{chunk-7AHAWNZL.js → chunk-6TPQI6Z7.js} +2 -2
  262. package/__chunks__/{chunk-FIUVSWMG.js → chunk-6VSN353O.js} +2 -2
  263. package/__chunks__/chunk-6XKQ65JS.js +2 -0
  264. package/__chunks__/chunk-6YZRWV5E.js +2 -0
  265. package/__chunks__/{chunk-LLQTU6K6.js → chunk-6ZGHOE63.js} +2 -2
  266. package/__chunks__/{chunk-WZYJYVJB.js → chunk-74ZC3R6O.js} +2 -2
  267. package/__chunks__/chunk-7AXGCLMA.js +2 -0
  268. package/__chunks__/{chunk-5ZM7EFKY.js → chunk-7GFFC4SB.js} +2 -2
  269. package/__chunks__/{chunk-M7OMVMLA.js → chunk-7IITRMJ2.js} +2 -2
  270. package/__chunks__/{chunk-FON3HS2N.js → chunk-7LDB4QLC.js} +2 -2
  271. package/__chunks__/{chunk-PPFK5IIV.js → chunk-7M7XNPLL.js} +2 -2
  272. package/__chunks__/{chunk-UOCHSWSL.js → chunk-7Z4WI5WW.js} +2 -2
  273. package/__chunks__/{chunk-JSL4BMMU.js → chunk-A5DTA43U.js} +2 -2
  274. package/__chunks__/{chunk-EIFPQY36.js → chunk-A5QVCEFM.js} +2 -2
  275. package/__chunks__/{chunk-GYCPQZWA.js → chunk-AH67IENR.js} +2 -2
  276. package/__chunks__/{chunk-6YL2FMI2.js → chunk-AMAOFO4W.js} +2 -2
  277. package/__chunks__/chunk-AUWLQIRR.js +2 -0
  278. package/__chunks__/{chunk-MMR3BO5R.js → chunk-AWEMOQRC.js} +2 -2
  279. package/__chunks__/chunk-B4YCZXOZ.js +2 -0
  280. package/__chunks__/{chunk-F7LGWJLQ.js → chunk-B5HXMUGG.js} +2 -2
  281. package/__chunks__/{chunk-7OFVONHP.js → chunk-BA3RHK6Z.js} +2 -2
  282. package/__chunks__/{chunk-UYPUC3XT.js → chunk-BAAEUEII.js} +2 -2
  283. package/__chunks__/{chunk-ATDPWP3U.js → chunk-BNJSY7J5.js} +2 -2
  284. package/__chunks__/{chunk-I2QYCKTV.js → chunk-BXHTHOZR.js} +2 -2
  285. package/__chunks__/{chunk-R5V5OC25.js → chunk-BZTA2YRU.js} +2 -2
  286. package/__chunks__/{chunk-UHHLAXLL.js → chunk-C4BRHKXX.js} +2 -2
  287. package/__chunks__/{chunk-UEG6KXTS.js → chunk-C4LP5M5T.js} +2 -2
  288. package/__chunks__/{chunk-YEGZ5ICO.js → chunk-C6DYQAVM.js} +2 -2
  289. package/__chunks__/{chunk-IDMAUEZK.js → chunk-C6YOZHYR.js} +2 -2
  290. package/__chunks__/chunk-CITPVV7J.js +2 -0
  291. package/__chunks__/{chunk-JERJ3WUA.js → chunk-CL4FKRMX.js} +2 -2
  292. package/__chunks__/{chunk-BSL3SGZO.js → chunk-CPWIJX6B.js} +2 -2
  293. package/__chunks__/{chunk-KJW77TAP.js → chunk-CYPIH3WR.js} +2 -2
  294. package/__chunks__/{chunk-JBLSND4R.js → chunk-D24GB3MY.js} +2 -2
  295. package/__chunks__/{chunk-X44DH45Y.js → chunk-D3EPGPZZ.js} +2 -2
  296. package/__chunks__/{chunk-YP2XJKSG.js → chunk-D67YA73L.js} +2 -2
  297. package/__chunks__/{chunk-T7WCFDWM.js → chunk-DLFRO7LS.js} +2 -2
  298. package/__chunks__/{chunk-4JZIP4MZ.js → chunk-DPS3V6AF.js} +2 -2
  299. package/__chunks__/{chunk-R45OANTD.js → chunk-DQFDGC6B.js} +2 -2
  300. package/__chunks__/{chunk-VJKIGLYI.js → chunk-DTKMFSCW.js} +2 -2
  301. package/__chunks__/{chunk-6RINLDWT.js → chunk-E5D5O36P.js} +2 -2
  302. package/__chunks__/{chunk-IYKDEKFD.js → chunk-EAQVUEUM.js} +2 -2
  303. package/__chunks__/{chunk-2HAQT3SN.js → chunk-EBW4NNXZ.js} +2 -2
  304. package/__chunks__/{chunk-J3S4T7LR.js → chunk-EC3WSDRD.js} +2 -2
  305. package/__chunks__/{chunk-YIJYMGI3.js → chunk-EDQXUTZB.js} +2 -2
  306. package/__chunks__/{chunk-5U5YNFCY.js → chunk-EEV7NHTP.js} +2 -2
  307. package/__chunks__/{chunk-HOIFE66X.js → chunk-EFH7TKF4.js} +2 -2
  308. package/__chunks__/{chunk-PQWMWOCC.js → chunk-EHHQ7RCD.js} +2 -2
  309. package/__chunks__/{chunk-EALUHBYZ.js → chunk-EK34NSS7.js} +2 -2
  310. package/__chunks__/chunk-ERUKHBY5.js +2 -0
  311. package/__chunks__/{chunk-HRVVHIY5.js → chunk-EYJ2WVZX.js} +2 -2
  312. package/__chunks__/chunk-F34P34C2.js +2 -0
  313. package/__chunks__/{chunk-PM4TNZQ4.js → chunk-F65KGKAM.js} +2 -2
  314. package/__chunks__/{chunk-QIPOHLCA.js → chunk-FBFBUGZD.js} +2 -2
  315. package/__chunks__/{chunk-37OUENR6.js → chunk-FEUC2YSR.js} +2 -2
  316. package/__chunks__/chunk-FGSX7QMZ.js +2 -0
  317. package/__chunks__/{chunk-I27O7XAY.js → chunk-FHT2MFKD.js} +2 -2
  318. package/__chunks__/{chunk-5P6Y2T3Q.js → chunk-FKHPEWIA.js} +2 -2
  319. package/__chunks__/{chunk-D7LBBB6O.js → chunk-FPGLS3WS.js} +2 -2
  320. package/__chunks__/chunk-FXIZNFYO.js +2 -0
  321. package/__chunks__/{chunk-H57TVETW.js → chunk-FZHHZPGL.js} +2 -2
  322. package/__chunks__/chunk-FZRXZ642.js +2 -0
  323. package/__chunks__/chunk-G2XN6I7I.js +2 -0
  324. package/__chunks__/{chunk-ZCZRGT22.js → chunk-G54WHQ2U.js} +2 -2
  325. package/__chunks__/{chunk-OMZJPLBB.js → chunk-G7JGUBNV.js} +2 -2
  326. package/__chunks__/chunk-GA4MZQ5Q.js +2 -0
  327. package/__chunks__/{chunk-6EPF475O.js → chunk-GB2ERK5H.js} +2 -2
  328. package/__chunks__/chunk-GBQBTT2B.js +2 -0
  329. package/__chunks__/{chunk-OZW4OPS3.js → chunk-GBSPF2TY.js} +2 -2
  330. package/__chunks__/{chunk-F7PQBE5R.js → chunk-GGBLCTWH.js} +2 -2
  331. package/__chunks__/{chunk-75QHQTC6.js → chunk-GLF56QW4.js} +2 -2
  332. package/__chunks__/chunk-GLFCQ5ZP.js +2 -0
  333. package/__chunks__/{chunk-XUMRFXCP.js → chunk-GMEIQXNN.js} +2 -2
  334. package/__chunks__/{chunk-ZK4SSPBE.js → chunk-GT6C6CGD.js} +2 -2
  335. package/__chunks__/{chunk-7LEJP2LZ.js → chunk-GUZNQYXM.js} +2 -2
  336. package/__chunks__/{chunk-NSAHDTP4.js → chunk-GWFK42XY.js} +2 -2
  337. package/__chunks__/{chunk-HC3M22M5.js → chunk-H4ZUV52J.js} +2 -2
  338. package/__chunks__/chunk-HADT7GVE.js +2 -0
  339. package/__chunks__/{chunk-T2HFFFMD.js → chunk-HD5YQBXJ.js} +2 -2
  340. package/__chunks__/chunk-HDNZDBP3.js +2 -0
  341. package/__chunks__/chunk-HEUT7DZW.js +2 -0
  342. package/__chunks__/{chunk-S2UUP44S.js → chunk-HKFCYCAA.js} +2 -2
  343. package/__chunks__/{chunk-GYQ23MTM.js → chunk-HMCEFQG2.js} +2 -2
  344. package/__chunks__/{chunk-VOLFB77F.js → chunk-HPELT2OT.js} +2 -2
  345. package/__chunks__/{chunk-BRWO3B7M.js → chunk-HYFXV43S.js} +2 -2
  346. package/__chunks__/{chunk-IHWFSKBE.js → chunk-I3E4R7IN.js} +2 -2
  347. package/__chunks__/chunk-I4XNWAAW.js +2 -0
  348. package/__chunks__/{chunk-ALGFU3C4.js → chunk-IAPOUKV7.js} +2 -2
  349. package/__chunks__/{chunk-ZQIMVWAJ.js → chunk-IC6GQL3I.js} +2 -2
  350. package/__chunks__/{chunk-IPO2V7K6.js → chunk-ILDXWYV6.js} +2 -2
  351. package/__chunks__/{chunk-XXCWWWCV.js → chunk-IOYWE2MY.js} +2 -2
  352. package/__chunks__/chunk-IXHE4AK7.js +2 -0
  353. package/__chunks__/{chunk-3SQ7VNRQ.js → chunk-IYBA436S.js} +2 -2
  354. package/__chunks__/{chunk-FV3LSSPU.js → chunk-IYRMVZSK.js} +2 -2
  355. package/__chunks__/chunk-J4XLLDCU.js +2 -0
  356. package/__chunks__/{chunk-TIMBF64K.js → chunk-J57A4ZIV.js} +2 -2
  357. package/__chunks__/{chunk-6VBMKOXT.js → chunk-JGJJ3BAQ.js} +2 -2
  358. package/__chunks__/chunk-JLRRZLZW.js +2 -0
  359. package/__chunks__/{chunk-RMJM7N27.js → chunk-JMEN2BT6.js} +2 -2
  360. package/__chunks__/chunk-JNACYY4M.js +2 -0
  361. package/__chunks__/{chunk-K2YLAIKJ.js → chunk-JWOME4UV.js} +2 -2
  362. package/__chunks__/{chunk-NV5J2IHR.js → chunk-JYG4LB4L.js} +46 -2
  363. package/__chunks__/{chunk-JCP5VZIV.js → chunk-KB4HPG7K.js} +2 -2
  364. package/__chunks__/{chunk-VJ7EJTDT.js → chunk-KCIEHHK5.js} +2 -2
  365. package/__chunks__/{chunk-HWWZC2PJ.js → chunk-KGXAVPBN.js} +2 -2
  366. package/__chunks__/{chunk-O55ZEHYK.js → chunk-KO4JTE3R.js} +2 -2
  367. package/__chunks__/{chunk-H7ZDHPZS.js → chunk-KPTYCZ6X.js} +2 -2
  368. package/__chunks__/{chunk-JCAVKQCB.js → chunk-KQ6RHOUO.js} +2 -2
  369. package/__chunks__/{chunk-3EQ6PEPQ.js → chunk-KRAIIDVX.js} +2 -2
  370. package/__chunks__/{chunk-AGTFCXAF.js → chunk-KRTYTZWA.js} +2 -2
  371. package/__chunks__/{chunk-YL5SQL7A.js → chunk-KSAN5HHI.js} +2 -2
  372. package/__chunks__/{chunk-5DWSRIQ7.js → chunk-KXAQKQJ5.js} +2 -2
  373. package/__chunks__/{chunk-NXSPVF5F.js → chunk-L42M4ADI.js} +2 -2
  374. package/__chunks__/{chunk-5X2CUGXD.js → chunk-L6334IP4.js} +2 -2
  375. package/__chunks__/{chunk-K4OPGDIM.js → chunk-L66B6R36.js} +2 -2
  376. package/__chunks__/{chunk-P4Q7TRB7.js → chunk-LGDRHD5B.js} +2 -2
  377. package/__chunks__/{chunk-AROY756B.js → chunk-LK3U6VTM.js} +2 -2
  378. package/__chunks__/{chunk-OW2HARSM.js → chunk-LVLP56D3.js} +2 -2
  379. package/__chunks__/{chunk-JBOPJBHK.js → chunk-LVXGESWC.js} +2 -2
  380. package/__chunks__/{chunk-LLCFR6J2.js → chunk-LZ62MPUN.js} +2 -2
  381. package/__chunks__/{chunk-3NRFYI4L.js → chunk-LZIBKKGS.js} +2 -2
  382. package/__chunks__/chunk-M3AIC2VT.js +2 -0
  383. package/__chunks__/{chunk-CN4WMJ52.js → chunk-MEO3W33N.js} +2 -2
  384. package/__chunks__/{chunk-GLFSVBC3.js → chunk-MHIININZ.js} +2 -2
  385. package/__chunks__/{chunk-UGZMPK43.js → chunk-MI7XDXAY.js} +2 -2
  386. package/__chunks__/{chunk-HNTAU5RY.js → chunk-ML2ZA4N6.js} +2 -2
  387. package/__chunks__/{chunk-BCJ44OTW.js → chunk-MQRODDA2.js} +2 -2
  388. package/__chunks__/chunk-MWTBI345.js +2 -0
  389. package/__chunks__/{chunk-NXGU54SJ.js → chunk-MZSZYWJ4.js} +2 -2
  390. package/__chunks__/{chunk-JDNBXQS6.js → chunk-N7P7SN7L.js} +2 -2
  391. package/__chunks__/{chunk-NFMPXZDD.js → chunk-NA4KDV5C.js} +2 -2
  392. package/__chunks__/chunk-NB6A4R4P.js +2 -0
  393. package/__chunks__/{chunk-CCLMUL26.js → chunk-NBSDDDTS.js} +2 -2
  394. package/__chunks__/{chunk-CEZBTLKK.js → chunk-NDXT6B2G.js} +2 -2
  395. package/__chunks__/chunk-NETFZ33D.js +2 -0
  396. package/__chunks__/{chunk-G6P2ZSMV.js → chunk-NHQ7EJNH.js} +2 -2
  397. package/__chunks__/{chunk-AI5SVQMB.js → chunk-NJZGBPRS.js} +2 -2
  398. package/__chunks__/{chunk-HKZ3OASA.js → chunk-NKWGWB3J.js} +2 -2
  399. package/__chunks__/{chunk-BVJM6KBC.js → chunk-NQKVORAZ.js} +2 -2
  400. package/__chunks__/{chunk-K3ARAMEQ.js → chunk-NW5WYYVG.js} +2 -2
  401. package/__chunks__/{chunk-46ZOIIE2.js → chunk-O2A77OUA.js} +2 -2
  402. package/__chunks__/{chunk-VOH7HY47.js → chunk-O5SMSRMP.js} +2 -2
  403. package/__chunks__/{chunk-6J3IQQMO.js → chunk-OCXK564F.js} +2 -2
  404. package/__chunks__/chunk-ODMKQFPP.js +2 -0
  405. package/__chunks__/chunk-OSHWSKDM.js +2 -0
  406. package/__chunks__/chunk-OW5T4A3R.js +2 -0
  407. package/__chunks__/{chunk-TQI3XDG2.js → chunk-P2DADEQZ.js} +2 -2
  408. package/__chunks__/{chunk-5A5HL7VW.js → chunk-PGMLETW5.js} +2 -2
  409. package/__chunks__/{chunk-2WA2XC2F.js → chunk-PQBJB6BB.js} +2 -2
  410. package/__chunks__/chunk-PTLMCW33.js +2 -0
  411. package/__chunks__/chunk-PX36FZNY.js +2 -0
  412. package/__chunks__/{chunk-Y2XNU4N4.js → chunk-PZ55H2QS.js} +2 -2
  413. package/__chunks__/chunk-Q65BFOED.js +2 -0
  414. package/__chunks__/{chunk-CS2HR42U.js → chunk-QDMQFE7W.js} +2 -2
  415. package/__chunks__/{chunk-VZRSR4NG.js → chunk-QF23CR5L.js} +2 -2
  416. package/__chunks__/{chunk-O6ORWBIB.js → chunk-QGLM7F4A.js} +2 -2
  417. package/__chunks__/{chunk-25NFBJIK.js → chunk-QNL7U235.js} +2 -2
  418. package/__chunks__/{chunk-HJBXC7VN.js → chunk-QPQXLUA6.js} +1 -1
  419. package/__chunks__/{chunk-3LJKDWEF.js → chunk-QRKFS3YO.js} +2 -2
  420. package/__chunks__/{chunk-3T4KMDIW.js → chunk-R24Z2WHQ.js} +2 -2
  421. package/__chunks__/{chunk-7PDOXYNN.js → chunk-R4DM5IU4.js} +2 -2
  422. package/__chunks__/{chunk-2M53UG2E.js → chunk-R4OOGXMR.js} +2 -2
  423. package/__chunks__/{chunk-PQITXGBS.js → chunk-R4UQUGAB.js} +2 -2
  424. package/__chunks__/{chunk-6K6QJDS7.js → chunk-R5PP42IR.js} +2 -2
  425. package/__chunks__/chunk-RAJU6AAU.js +2 -0
  426. package/__chunks__/{chunk-WKW26PAR.js → chunk-RDJ4UFVR.js} +2 -2
  427. package/__chunks__/{chunk-NMDTBSPF.js → chunk-RHXO6KIS.js} +2 -2
  428. package/__chunks__/{chunk-OYUCK56S.js → chunk-RJMI4S65.js} +2 -2
  429. package/__chunks__/{chunk-UBLWOKN3.js → chunk-RL6ZMM3N.js} +2 -2
  430. package/__chunks__/{chunk-4GIFJMNL.js → chunk-RNSZOQME.js} +2 -2
  431. package/__chunks__/{chunk-ADWG3HJE.js → chunk-RPZLC2JA.js} +2 -2
  432. package/__chunks__/chunk-RR2RGZB3.js +2 -0
  433. package/__chunks__/{chunk-TTD4P2V2.js → chunk-RUKBHCZM.js} +2 -2
  434. package/__chunks__/{chunk-S2YSMYSV.js → chunk-RUV2IWSN.js} +2 -2
  435. package/__chunks__/{chunk-E3SDJWHV.js → chunk-RVJA4EYX.js} +2 -2
  436. package/__chunks__/{chunk-XYS7YPNU.js → chunk-RXLDQEIN.js} +2 -2
  437. package/__chunks__/{chunk-BTTZKFDB.js → chunk-RYKCWUDH.js} +2 -2
  438. package/__chunks__/chunk-S2KIEAKC.js +2 -0
  439. package/__chunks__/{chunk-YBVWKTOL.js → chunk-S3FQJPU2.js} +2 -2
  440. package/__chunks__/chunk-SDEIU7G7.js +2 -0
  441. package/__chunks__/chunk-SIW5FBP6.js +2 -0
  442. package/__chunks__/{chunk-AVSJFZUN.js → chunk-SKLNEX4G.js} +2 -2
  443. package/__chunks__/chunk-SMBTXKSN.js +2 -0
  444. package/__chunks__/{chunk-DQSHRAPQ.js → chunk-STC7SLYY.js} +2 -2
  445. package/__chunks__/{chunk-TH4T2ZT7.js → chunk-SY7QIZKW.js} +2 -2
  446. package/__chunks__/{chunk-T6CIHLJK.js → chunk-SZFGQMVV.js} +2 -2
  447. package/__chunks__/{chunk-KJPXC3CM.js → chunk-T35AJVML.js} +2 -2
  448. package/__chunks__/{chunk-VZ7DKDDV.js → chunk-T37AEPPG.js} +2 -2
  449. package/__chunks__/{chunk-CZDVI6KD.js → chunk-TAMP6EDO.js} +2 -2
  450. package/__chunks__/chunk-TAX3ODCH.js +2 -0
  451. package/__chunks__/{chunk-NQH2WPI4.js → chunk-TDBWE6B2.js} +2 -2
  452. package/__chunks__/{chunk-IZRCTDAE.js → chunk-TFKCXXAI.js} +2 -2
  453. package/__chunks__/{chunk-MQXG2QCL.js → chunk-TLNFPKZB.js} +2 -2
  454. package/__chunks__/{chunk-6DUDX3ZV.js → chunk-TQTMBYQP.js} +2 -2
  455. package/__chunks__/{chunk-KNDRZIUU.js → chunk-TWWOI7AE.js} +2 -2
  456. package/__chunks__/{chunk-JECEXPH4.js → chunk-TZG6KWPN.js} +2 -2
  457. package/__chunks__/{chunk-OF6TZTAD.js → chunk-U2K4RKN7.js} +2 -2
  458. package/__chunks__/chunk-U2NXGZNM.js +2 -0
  459. package/__chunks__/{chunk-6YSS3HKB.js → chunk-U4WAD2T2.js} +2 -2
  460. package/__chunks__/{chunk-DZL4ZTPK.js → chunk-UCHVI5OI.js} +2 -2
  461. package/__chunks__/{chunk-P4QD76XE.js → chunk-UDHFC4IE.js} +2 -2
  462. package/__chunks__/{chunk-JXRUBWRJ.js → chunk-UGLRI536.js} +2 -2
  463. package/__chunks__/{chunk-H3UGBWZ2.js → chunk-UGROT4II.js} +2 -2
  464. package/__chunks__/chunk-UHAV56KW.js +2 -0
  465. package/__chunks__/{chunk-TT3I5FG3.js → chunk-UHAZOWDF.js} +2 -2
  466. package/__chunks__/{chunk-F7BHLRXX.js → chunk-UMOZ6GXE.js} +2 -2
  467. package/__chunks__/{chunk-6UFTA2KE.js → chunk-UNNAJ64B.js} +2 -2
  468. package/__chunks__/{chunk-42RZZ2DN.js → chunk-UO5ZX6GN.js} +2 -2
  469. package/__chunks__/{chunk-F2EL7SI2.js → chunk-URV5VGR7.js} +2 -2
  470. package/__chunks__/{chunk-HVKIRZGI.js → chunk-UX6MKUWK.js} +2 -2
  471. package/__chunks__/{chunk-G3CGA6EN.js → chunk-UXT7LULZ.js} +2 -2
  472. package/__chunks__/{chunk-KLLMBYT2.js → chunk-VETI3GLW.js} +2 -2
  473. package/__chunks__/{chunk-IBBOWJQH.js → chunk-VHJ7CFJZ.js} +2 -2
  474. package/__chunks__/{chunk-6IC7HFGE.js → chunk-VIXP2HNX.js} +2 -2
  475. package/__chunks__/{chunk-Y75UFRU5.js → chunk-VNDKOOCB.js} +2 -2
  476. package/__chunks__/{chunk-II7EL2IW.js → chunk-VODRG26V.js} +2 -2
  477. package/__chunks__/{chunk-XJ7YVMAF.js → chunk-VT5BQUXE.js} +2 -2
  478. package/__chunks__/{chunk-2YD2X3HX.js → chunk-VTR6BXNR.js} +2 -2
  479. package/__chunks__/{chunk-PRWSMDU3.js → chunk-VWVMHICH.js} +2 -2
  480. package/__chunks__/chunk-W3TLFROK.js +2 -0
  481. package/__chunks__/{chunk-6MYAIIWI.js → chunk-W45IIKO4.js} +2 -2
  482. package/__chunks__/{chunk-YPFQX2L6.js → chunk-W5S4FBX3.js} +2 -2
  483. package/__chunks__/chunk-WADVQNZT.js +2 -0
  484. package/__chunks__/{chunk-5WP5EPQZ.js → chunk-WBGBZHG2.js} +2 -2
  485. package/__chunks__/{chunk-MJ5K23DD.js → chunk-WFSUDBMF.js} +2 -2
  486. package/__chunks__/{chunk-ZEIRAELP.js → chunk-WIT24GHQ.js} +2 -2
  487. package/__chunks__/{chunk-2EUGIZCD.js → chunk-WJZALUDQ.js} +2 -2
  488. package/__chunks__/{chunk-JHJYOCPK.js → chunk-WM2IQT5N.js} +2 -2
  489. package/__chunks__/{chunk-ZJ6GRZFP.js → chunk-WNROMTCY.js} +2 -2
  490. package/__chunks__/{chunk-2HGT5HUY.js → chunk-WPVECUGW.js} +2 -2
  491. package/__chunks__/{chunk-Y2ELF2XF.js → chunk-WRKQSJH4.js} +2 -2
  492. package/__chunks__/{chunk-ORYKT3AW.js → chunk-WXHFC2J6.js} +2 -2
  493. package/__chunks__/chunk-X2EWMY52.js +2 -0
  494. package/__chunks__/chunk-X7OUQZ64.js +2 -0
  495. package/__chunks__/{chunk-A7GRGXCZ.js → chunk-XDDNMEGZ.js} +2 -2
  496. package/__chunks__/{chunk-BT63GVIQ.js → chunk-XFYNMPLT.js} +2 -2
  497. package/__chunks__/{chunk-BPRFT4DY.js → chunk-XGA62SYU.js} +2 -2
  498. package/__chunks__/chunk-XIIHH5KJ.js +2 -0
  499. package/__chunks__/{chunk-GJZGEJB4.js → chunk-XKMCBLTW.js} +2 -2
  500. package/__chunks__/{chunk-A5VG4EB6.js → chunk-XOHUSHAE.js} +2 -2
  501. package/__chunks__/{chunk-AOH524ES.js → chunk-XQF3PREW.js} +2 -2
  502. package/__chunks__/{chunk-5A3G5NYW.js → chunk-XUIL4YVL.js} +2 -2
  503. package/__chunks__/{chunk-GN25ROQN.js → chunk-XW3URHSM.js} +2 -2
  504. package/__chunks__/{chunk-KV7MHI3X.js → chunk-XY6X72WE.js} +2 -2
  505. package/__chunks__/{chunk-D24QW6HX.js → chunk-XZCUB6I2.js} +2 -2
  506. package/__chunks__/{chunk-WRRXSW7G.js → chunk-Y263UO4L.js} +2 -2
  507. package/__chunks__/{chunk-ZFEJ5B2I.js → chunk-Y6ZQV6HJ.js} +2 -2
  508. package/__chunks__/chunk-YA46ZLAD.js +2 -0
  509. package/__chunks__/{chunk-IGYLTHBH.js → chunk-YC52HABJ.js} +2 -2
  510. package/__chunks__/{chunk-M2ZYFY4G.js → chunk-YEOGYQXP.js} +2 -2
  511. package/__chunks__/{chunk-EXLR262L.js → chunk-YEX42YX6.js} +2 -2
  512. package/__chunks__/{chunk-EDKQPABI.js → chunk-YINMDBB3.js} +2 -2
  513. package/__chunks__/{chunk-EYGEG2GI.js → chunk-YNE2MWFP.js} +2 -2
  514. package/__chunks__/chunk-YRTXAFVR.js +2 -0
  515. package/__chunks__/{chunk-NZTFDG6J.js → chunk-ZF46JJJ3.js} +2 -2
  516. package/__chunks__/{chunk-74MWN6L2.js → chunk-ZGWNHYWV.js} +2 -2
  517. package/__chunks__/{chunk-27R37OWX.js → chunk-ZLMOGDRX.js} +2 -2
  518. package/__chunks__/{chunk-3PP7DN5Q.js → chunk-ZP25LDCV.js} +2 -2
  519. package/__chunks__/{chunk-IMTOYSHP.js → chunk-ZSCIALZ4.js} +2 -2
  520. package/__chunks__/{chunk-OEEFIMER.js → chunk-ZTOSK6JE.js} +2 -2
  521. package/__chunks__/chunk-ZU64TNDV.js +2 -0
  522. package/__chunks__/{chunk-UXZSFWHY.js → chunk-ZXHO3MQD.js} +2 -2
  523. package/__commonjs/UI/DappModal/index.js +1 -1
  524. package/__commonjs/UI/SignTransactionsModals/SignTransactionsModals.js +64 -20
  525. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignStep.js +59 -15
  526. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/SignWithDeviceModal.js +60 -16
  527. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.d.ts +1 -1
  528. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/SignStepBody.js +8 -8
  529. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/TokenAvatar.js +1 -1
  530. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/components/TokenAvatar/index.js +1 -1
  531. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/components/index.js +8 -8
  532. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/index.js +60 -16
  533. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.d.ts +2 -2
  534. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModal.types.js +1 -1
  535. package/__commonjs/UI/SignTransactionsModals/SignWithDeviceModal/signWithDeviceModalStyles.js +46 -2
  536. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/SignWithExtensionModal.js +1 -1
  537. package/__commonjs/UI/SignTransactionsModals/SignWithExtensionModal/index.js +1 -1
  538. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/SignWithLedgerModal.js +63 -19
  539. package/__commonjs/UI/SignTransactionsModals/SignWithLedgerModal/index.js +63 -19
  540. package/__commonjs/UI/SignTransactionsModals/components/ConfirmationScreen.js +1 -1
  541. package/__commonjs/UI/SignTransactionsModals/components/DeviceConfirmationScreen.js +2 -2
  542. package/__commonjs/UI/SignTransactionsModals/index.js +64 -20
  543. package/__commonjs/UI/TransactionData/TransactionData.js +3 -3
  544. package/__commonjs/UI/TransactionData/index.js +3 -3
  545. package/__commonjs/UI/TransactionInfo/components/DataDecode/DataDecode.js +1 -1
  546. package/__commonjs/UI/TransactionInfo/components/DataDecode/index.js +1 -1
  547. package/__commonjs/UI/TransactionInfo/components/NonceMessage/NonceMessage.js +2 -2
  548. package/__commonjs/UI/TransactionInfo/components/NonceMessage/index.js +2 -2
  549. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationBlock.js +8 -8
  550. package/__commonjs/UI/TransactionInfo/components/OperationsList/components/OperationText.js +9 -9
  551. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/ResultData.js +1 -1
  552. package/__commonjs/UI/TransactionInfo/components/ScResultsList/components/ResultData/index.js +1 -1
  553. package/__commonjs/UI/TransactionInfo/components/TransactionAction/components/TransactionActionBlock/index.js +3 -3
  554. package/__commonjs/UI/TransactionInfo/components/TransactionStatus/TransactionStatus.js +2 -2
  555. package/__commonjs/UI/TransactionInfo/components/TransactionStatus/index.js +2 -2
  556. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/TransactionInfoGasPrice.js +1 -1
  557. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoGasPrice/index.js +1 -1
  558. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/TransactionInfoInputData.js +5 -5
  559. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoInputData/index.js +5 -5
  560. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/TransactionInfoMiniblock.js +7 -7
  561. package/__commonjs/UI/TransactionInfo/components/transactionInfoFields/TransactionInfoMiniblock/index.js +7 -7
  562. package/__commonjs/UI/TransactionsTable/components/ScAddressIcon.js +1 -1
  563. package/__commonjs/UI/TransactionsTable/components/ShardSpan.js +1 -1
  564. package/__commonjs/UI/TransactionsTable/components/TransactionIcon.js +10 -10
  565. package/__commonjs/UI/TransactionsTable/components/TransactionReceiver.js +5 -5
  566. package/__commonjs/UI/TransactionsTable/components/TransactionSender.js +5 -5
  567. package/__commonjs/UI/TransactionsTable/components/TransactionValue/TransactionValue.js +3 -3
  568. package/__commonjs/UI/TransactionsTable/components/TransactionValue/index.js +3 -3
  569. package/__commonjs/UI/TransactionsToastList/components/CustomToast/helpers/getIsTransaction.js +1 -1
  570. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/getToastDataStateByStatus.js +1 -1
  571. package/__commonjs/UI/TransactionsToastList/components/TransactionToast/utils/index.js +1 -1
  572. package/__commonjs/UI/extension/ExtensionLoginButton/ExtensionLoginButton.js +3 -3
  573. package/__commonjs/UI/extension/ExtensionLoginButton/index.js +3 -3
  574. package/__commonjs/UI/index.js +126 -82
  575. package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.d.ts +3 -3
  576. package/__commonjs/UI/ledger/LedgerLoginButton/LedgerLoginButton.js +6 -6
  577. package/__commonjs/UI/ledger/LedgerLoginButton/index.js +6 -6
  578. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow.d.ts +1 -1
  579. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressRow.js +5 -5
  580. package/__commonjs/UI/ledger/LedgerLoginContainer/AddressTable.d.ts +1 -1
  581. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.d.ts +1 -1
  582. package/__commonjs/UI/ledger/LedgerLoginContainer/ConfirmAddress.js +1 -1
  583. package/__commonjs/UI/ledger/LedgerLoginContainer/LedgerConnect.d.ts +1 -1
  584. package/__commonjs/UI/ledger/LedgerLoginContainer/index.d.ts +1 -1
  585. package/__commonjs/UI/ledger/LedgerLoginContainer/index.js +6 -6
  586. package/__commonjs/UI/ledger/LedgerLoginContainer/types.d.ts +5 -5
  587. package/__commonjs/UI/ledger/LedgerLoginContainer/types.js +1 -1
  588. package/__commonjs/UI/ledger/index.js +6 -6
  589. package/__commonjs/UI/pages/UnlockPage/index.js +13 -13
  590. package/__commonjs/UI/pages/index.js +13 -13
  591. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/WalletConnectConnectionStatus.js +1 -1
  592. package/__commonjs/UI/walletConnect/WalletConnectConnectionStatus/index.js +1 -1
  593. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/WalletConnectLoginButton.js +5 -5
  594. package/__commonjs/UI/walletConnect/WalletConnectLoginButton/index.js +5 -5
  595. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/PairingList.d.ts +1 -1
  596. package/__commonjs/UI/walletConnect/WalletConnectLoginContainer/index.js +6 -6
  597. package/__commonjs/UI/walletConnect/index.js +5 -5
  598. package/__commonjs/UI/walletConnect/types.d.ts +1 -1
  599. package/__commonjs/UI/walletConnect/types.js +1 -1
  600. package/__commonjs/UI/webWallet/WebWalletLoginButton/WebWalletLoginButton.js +1 -1
  601. package/__commonjs/UI/webWallet/WebWalletLoginButton/index.js +1 -1
  602. package/__commonjs/__mocks__/index.js +1 -1
  603. package/__commonjs/__mocks__/server.js +1 -1
  604. package/__commonjs/__mocks__/utils/index.js +1 -1
  605. package/__commonjs/__mocks__/utils/renderWithProvider.js +1 -1
  606. package/__commonjs/components/BatchTransactionsSender/BatchTransactionsSender.js +1 -1
  607. package/__commonjs/components/BatchTransactionsSender/index.js +1 -1
  608. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  609. package/__commonjs/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  610. package/__commonjs/components/ProviderInitializer.js +1 -1
  611. package/__commonjs/components/TransactionSender/TransactionSender.js +1 -1
  612. package/__commonjs/components/TransactionSender/index.js +1 -1
  613. package/__commonjs/components/TransactionsTracker/TransactionTracker.js +1 -1
  614. package/__commonjs/components/TransactionsTracker/index.js +1 -1
  615. package/__commonjs/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  616. package/__commonjs/hooks/account/useGetAccountProvider.js +1 -1
  617. package/__commonjs/hooks/index.js +1 -1
  618. package/__commonjs/hooks/login/index.js +1 -1
  619. package/__commonjs/hooks/login/useWalletConnectV2Login.js +1 -1
  620. package/__commonjs/hooks/login/useWebWalletLogin.js +1 -1
  621. package/__commonjs/hooks/signMessage/index.js +1 -1
  622. package/__commonjs/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  623. package/__commonjs/hooks/transactions/helpers/buildBatchId.js +1 -1
  624. package/__commonjs/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  625. package/__commonjs/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  626. package/__commonjs/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  627. package/__commonjs/hooks/transactions/useParseSignedTransactions.js +1 -1
  628. package/__commonjs/hooks/transactions/useSignMultipleTransactions.js +1 -1
  629. package/__commonjs/hooks/useGetNetworkConfig.js +1 -1
  630. package/__commonjs/models/index.js +1 -1
  631. package/__commonjs/models/newTransaction.js +1 -1
  632. package/__commonjs/providers/accountProvider.js +1 -1
  633. package/__commonjs/providers/index.js +1 -1
  634. package/__commonjs/providers/utils.js +1 -1
  635. package/__commonjs/providers/webviewProvider/index.js +1 -1
  636. package/__commonjs/providers/webviewProvider/requestMethods.js +1 -1
  637. package/__commonjs/providers/webviewProvider/webviewProvider.js +1 -1
  638. package/__commonjs/reduxStore/persistedRootReducer.js +1 -1
  639. package/__commonjs/reduxStore/selectors/batchTransactionsSelectors.js +1 -1
  640. package/__commonjs/reduxStore/selectors/dappConfigSelector.js +1 -1
  641. package/__commonjs/reduxStore/selectors/dappModalsSelectors.js +1 -1
  642. package/__commonjs/reduxStore/selectors/modalsSelectors.js +1 -1
  643. package/__commonjs/reduxStore/selectors/networkConfigSelectors.js +1 -1
  644. package/__commonjs/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  645. package/__commonjs/reduxStore/selectors/toastsSelectors.js +1 -1
  646. package/__commonjs/reduxStore/slices/accountInfoSlice.js +1 -1
  647. package/__commonjs/reduxStore/slices/loginInfoSlice.js +1 -1
  648. package/__commonjs/reduxStore/slices/modalsSlice.js +1 -1
  649. package/__commonjs/reduxStore/slices/transactionsInfoSlice.js +1 -1
  650. package/__commonjs/services/nativeAuth/helpers/getAuthorizationInfo.d.ts +3 -1
  651. package/__commonjs/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  652. package/__commonjs/services/nativeAuth/helpers/index.js +1 -1
  653. package/__commonjs/services/transactions/getTransactionsDetails.js +1 -1
  654. package/__commonjs/services/transactions/signTransactions.js +1 -1
  655. package/__commonjs/services/transactions/utils.js +1 -1
  656. package/__commonjs/types/index.js +1 -1
  657. package/__commonjs/types/transactions.types.d.ts +6 -6
  658. package/__commonjs/types/transactions.types.js +1 -1
  659. package/__commonjs/utils/account/getAccountProviderType.js +1 -1
  660. package/__commonjs/utils/account/refreshAccount.js +1 -1
  661. package/__commonjs/utils/logout.js +1 -1
  662. package/__commonjs/utils/network/getChainID.js +1 -1
  663. package/__commonjs/utils/operations/calculateFeeInFiat.js +1 -1
  664. package/__commonjs/utils/operations/calculateFeeLimit.js +1 -1
  665. package/__commonjs/utils/operations/denominate.js +1 -1
  666. package/__commonjs/utils/operations/formatAmount.js +1 -1
  667. package/__commonjs/utils/operations/index.js +1 -1
  668. package/__commonjs/utils/transactions/batch/getTransactionsStatus.js +1 -1
  669. package/__commonjs/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  670. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  671. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  672. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  673. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  674. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  675. package/__commonjs/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +2 -2
  676. package/__commonjs/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  677. package/__commonjs/utils/transactions/parseTransactionAfterSigning.js +1 -1
  678. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +2 -2
  679. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  680. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  681. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  682. package/__commonjs/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  683. package/__commonjs/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  684. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  685. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  686. package/__commonjs/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  687. package/__commonjs/utils/transactions/transactionInfoHelpers/index.js +1 -1
  688. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecode.js +3 -3
  689. package/__commonjs/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  690. package/__commonjs/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  691. package/__commonjs/wrappers/AppInitializer.js +1 -1
  692. package/__commonjs/wrappers/DappProvider/CustomComponents.js +1 -1
  693. package/__commonjs/wrappers/DappProvider/DappProvider.js +1 -1
  694. package/__commonjs/wrappers/DappProvider/index.js +1 -1
  695. package/__commonjs/wrappers/index.js +1 -1
  696. package/__mocks__/accountConfig.js +1 -1
  697. package/__mocks__/index.js +1 -1
  698. package/__mocks__/server.js +1 -1
  699. package/__mocks__/utils/index.js +1 -1
  700. package/__mocks__/utils/renderWithProvider.js +1 -1
  701. package/apiCalls/accounts/getAccountFromApi.js +1 -1
  702. package/apiCalls/accounts/index.js +1 -1
  703. package/apiCalls/configuration/getApiAddressForChainId.js +1 -1
  704. package/apiCalls/configuration/getEnvironmentForChainId.js +1 -1
  705. package/apiCalls/configuration/getNetworkConfig.js +1 -1
  706. package/apiCalls/configuration/getServerConfigurationForEnvironment.js +1 -1
  707. package/apiCalls/configuration/index.js +1 -1
  708. package/apiCalls/economics/getEconomicsInfo.js +1 -1
  709. package/apiCalls/economics/index.js +1 -1
  710. package/apiCalls/getScamAddressData.js +1 -1
  711. package/apiCalls/index.js +1 -1
  712. package/apiCalls/transactions/getTransactionsByHashes.js +1 -1
  713. package/apiCalls/transactions/index.js +1 -1
  714. package/apiCalls/transactions/sendSignedTransactions.js +1 -1
  715. package/apiCalls/utils/getCleanApiAddress.js +1 -1
  716. package/apiCalls/utils/index.js +1 -1
  717. package/components/BatchTransactionsSender/BatchTransactionsSender.js +1 -1
  718. package/components/BatchTransactionsSender/index.js +1 -1
  719. package/components/BatchTransactionsTracker/BatchTransactionsTracker.js +1 -1
  720. package/components/LogoutListener/LogoutListener.js +1 -1
  721. package/components/LogoutListener/helpers/index.js +1 -1
  722. package/components/LogoutListener/helpers/useLogoutFromMultipleTabs.js +1 -1
  723. package/components/LogoutListener/helpers/useNativeAuthLogout.js +1 -1
  724. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/index.js +1 -1
  725. package/components/LogoutListener/helpers/useNativeAuthLogoutWarning/useNativeAuthLogoutWarning.js +1 -1
  726. package/components/LogoutListener/index.js +1 -1
  727. package/components/ProviderInitializer.js +1 -1
  728. package/components/TransactionSender/TransactionSender.js +1 -1
  729. package/components/TransactionSender/index.js +1 -1
  730. package/components/TransactionsTracker/TransactionTracker.js +1 -1
  731. package/components/TransactionsTracker/index.js +1 -1
  732. package/components/TransactionsTracker/useTransactionsTracker.js +1 -1
  733. package/constants/index.js +1 -1
  734. package/constants/network.js +1 -1
  735. package/hooks/account/index.js +1 -1
  736. package/hooks/account/useGetAccount.js +1 -1
  737. package/hooks/account/useGetAccountInfo.js +1 -1
  738. package/hooks/account/useGetAccountProvider.js +1 -1
  739. package/hooks/account/useGetIsLoggedIn.js +1 -1
  740. package/hooks/account/useGetLoginInfo.js +1 -1
  741. package/hooks/account/useGetWebsocketEvent.js +1 -1
  742. package/hooks/economics/index.js +1 -1
  743. package/hooks/economics/useGetEgldPrice.js +1 -1
  744. package/hooks/index.js +1 -1
  745. package/hooks/login/index.js +1 -1
  746. package/hooks/login/useExtensionLogin.js +1 -1
  747. package/hooks/login/useLedgerLogin.js +1 -1
  748. package/hooks/login/useLoginService.js +1 -1
  749. package/hooks/login/useOperaLogin.js +1 -1
  750. package/hooks/login/useWalletConnectV2Login.js +1 -1
  751. package/hooks/login/useWebViewLogin.js +1 -1
  752. package/hooks/login/useWebWalletLogin.js +1 -1
  753. package/hooks/signMessage/index.js +1 -1
  754. package/hooks/signMessage/useGetLastSignedMessageSession.js +1 -1
  755. package/hooks/signMessage/useGetSignMessageSession.js +1 -1
  756. package/hooks/signMessage/useGetSignedMessageStatus.js +1 -1
  757. package/hooks/signMessage/useSignMessage.js +1 -1
  758. package/hooks/toasts/index.js +1 -1
  759. package/hooks/toasts/useGetToasts.js +1 -1
  760. package/hooks/toasts/useTransactionsToasts.js +1 -1
  761. package/hooks/transactions/batch/tracker/useBatchTransactionsTracker.js +1 -1
  762. package/hooks/transactions/batch/tracker/useCheckBatch.js +1 -1
  763. package/hooks/transactions/batch/tracker/useCheckBatchesOnWsFailureFallback.js +1 -1
  764. package/hooks/transactions/batch/tracker/useCheckHangingBatchesFallback.js +1 -1
  765. package/hooks/transactions/batch/tracker/useUpdateBatch.js +1 -1
  766. package/hooks/transactions/batch/tracker/useVerifyBatchStatus.js +1 -1
  767. package/hooks/transactions/batch/useGetBatchStatus.js +1 -1
  768. package/hooks/transactions/batch/useGetBatches.js +1 -1
  769. package/hooks/transactions/batch/useResolveBatchStatusResponse.js +1 -1
  770. package/hooks/transactions/batch/useSendBatchTransactions.js +1 -1
  771. package/hooks/transactions/helpers/buildBatchId.js +1 -1
  772. package/hooks/transactions/helpers/checkNeedsGuardianSigning.js +1 -1
  773. package/hooks/transactions/helpers/extractSessionId.js +1 -1
  774. package/hooks/transactions/helpers/getShouldMoveTransactionsToSignedState.js +1 -1
  775. package/hooks/transactions/helpers/index.js +1 -1
  776. package/hooks/transactions/helpers/useClearTransactionsToSignWithWarning.js +1 -1
  777. package/hooks/transactions/helpers/useSetTransactionNonces.js +1 -1
  778. package/hooks/transactions/index.js +1 -1
  779. package/hooks/transactions/useCancelWalletConnectAction.js +1 -1
  780. package/hooks/transactions/useCheckTransactionStatus/checkBatch.js +1 -1
  781. package/hooks/transactions/useCheckTransactionStatus/index.js +1 -1
  782. package/hooks/transactions/useCheckTransactionStatus/manageFailedTransactions.js +1 -1
  783. package/hooks/transactions/useCheckTransactionStatus/manageTimedOutTransactions.js +1 -1
  784. package/hooks/transactions/useCheckTransactionStatus/useCheckTransactionStatus.js +1 -1
  785. package/hooks/transactions/useGetActiveTransactionsStatus.js +1 -1
  786. package/hooks/transactions/useGetFailedTransactions.js +1 -1
  787. package/hooks/transactions/useGetLastPendingTransactionHash.js +1 -1
  788. package/hooks/transactions/useGetPendingTransactions.js +1 -1
  789. package/hooks/transactions/useGetSignTransactionsError.js +1 -1
  790. package/hooks/transactions/useGetSignedTransactions.js +1 -1
  791. package/hooks/transactions/useGetSuccessfulTransactions.js +1 -1
  792. package/hooks/transactions/useGetTokenDetails.js +1 -1
  793. package/hooks/transactions/useGetTransactionDisplayInfo.js +1 -1
  794. package/hooks/transactions/useParseMultiEsdtTransferData.js +1 -1
  795. package/hooks/transactions/useParseSignedTransactions.js +1 -1
  796. package/hooks/transactions/useSignMultipleTransactions.js +1 -1
  797. package/hooks/transactions/useSignTransactions.js +1 -1
  798. package/hooks/transactions/useSignTransactionsCommonData.js +1 -1
  799. package/hooks/transactions/useSignTransactionsWithDevice.js +1 -1
  800. package/hooks/transactions/useSignTransactionsWithLedger.js +1 -1
  801. package/hooks/transactions/useTrackTransactionStatus.js +1 -1
  802. package/hooks/useGetNetworkConfig.js +1 -1
  803. package/hooks/useGetNotification.js +1 -1
  804. package/hooks/userInterface/index.js +1 -1
  805. package/hooks/userInterface/useIsDappModalVisible.js +1 -1
  806. package/hooks/websocketListener/index.js +1 -1
  807. package/hooks/websocketListener/useInitializeWebsocketConnection.js +1 -1
  808. package/hooks/websocketListener/useRegisterWebsocketListener.js +1 -1
  809. package/models/index.js +1 -1
  810. package/models/newTransaction.js +1 -1
  811. package/package.json +2 -2
  812. package/providers/accountProvider.js +1 -1
  813. package/providers/index.js +1 -1
  814. package/providers/utils.js +1 -1
  815. package/providers/webviewProvider/index.js +1 -1
  816. package/providers/webviewProvider/requestMethods.js +1 -1
  817. package/providers/webviewProvider/webviewProvider.js +1 -1
  818. package/reduxStore/DappProviderContext.js +1 -1
  819. package/reduxStore/commonActions.js +1 -1
  820. package/reduxStore/middlewares/loginSessionMiddleware.js +1 -1
  821. package/reduxStore/persistConfig.js +1 -1
  822. package/reduxStore/persistedRootReducer.js +1 -1
  823. package/reduxStore/reducers.js +1 -1
  824. package/reduxStore/rootReducer.js +1 -1
  825. package/reduxStore/selectors/accountInfoSelectors.js +1 -1
  826. package/reduxStore/selectors/batchTransactionsSelectors.js +1 -1
  827. package/reduxStore/selectors/dappConfigSelector.js +1 -1
  828. package/reduxStore/selectors/dappModalsSelectors.js +1 -1
  829. package/reduxStore/selectors/helpers.js +1 -1
  830. package/reduxStore/selectors/index.js +1 -1
  831. package/reduxStore/selectors/loginInfoSelectors.js +1 -1
  832. package/reduxStore/selectors/modalsSelectors.js +1 -1
  833. package/reduxStore/selectors/networkConfigSelectors.js +1 -1
  834. package/reduxStore/selectors/signedMessageInfoSelectors.js +1 -1
  835. package/reduxStore/selectors/toastsSelectors.js +1 -1
  836. package/reduxStore/selectors/transactionsInfoSelectors.js +1 -1
  837. package/reduxStore/selectors/transactionsSelectors.js +1 -1
  838. package/reduxStore/slices/accountInfoSlice.js +1 -1
  839. package/reduxStore/slices/batchTransactionsSlice.js +1 -1
  840. package/reduxStore/slices/dappConfigSlice.js +1 -1
  841. package/reduxStore/slices/dappModalsSlice.js +1 -1
  842. package/reduxStore/slices/index.js +1 -1
  843. package/reduxStore/slices/loginInfoSlice.js +1 -1
  844. package/reduxStore/slices/modalsSlice.js +1 -1
  845. package/reduxStore/slices/signedMessageInfoSlice.js +1 -1
  846. package/reduxStore/slices/toastsSlice.js +1 -1
  847. package/reduxStore/slices/transactionsInfoSlice.js +1 -1
  848. package/reduxStore/slices/transactionsSlice.js +1 -1
  849. package/reduxStore/store.js +1 -1
  850. package/services/index.js +1 -1
  851. package/services/nativeAuth/helpers/getAuthorizationInfo.d.ts +3 -1
  852. package/services/nativeAuth/helpers/getAuthorizationInfo.js +1 -1
  853. package/services/nativeAuth/helpers/getIsNativeAuthSingingForbidden.js +1 -1
  854. package/services/nativeAuth/helpers/index.js +1 -1
  855. package/services/nativeAuth/helpers/loginWithNativeAuthToken.js +1 -1
  856. package/services/transactions/clearTransactions.js +1 -1
  857. package/services/transactions/getBatchTransactionsStatus.js +1 -1
  858. package/services/transactions/getTransactionsDetails.js +1 -1
  859. package/services/transactions/index.js +1 -1
  860. package/services/transactions/isCrossShardTransaction.js +1 -1
  861. package/services/transactions/sendBatchTransactions.js +1 -1
  862. package/services/transactions/sendTransactions.js +1 -1
  863. package/services/transactions/signTransactions.js +1 -1
  864. package/services/transactions/transformAndSignTransactions.js +1 -1
  865. package/services/transactions/updateSignedTransactions.js +1 -1
  866. package/services/transactions/utils.js +1 -1
  867. package/types/index.js +1 -1
  868. package/types/transactions.types.d.ts +6 -6
  869. package/types/transactions.types.js +1 -1
  870. package/utils/account/getAccount.js +1 -1
  871. package/utils/account/getAccountBalance.js +1 -1
  872. package/utils/account/getAccountProviderType.js +1 -1
  873. package/utils/account/getAccountShard.js +1 -1
  874. package/utils/account/getAddress.js +1 -1
  875. package/utils/account/getIsProviderEqualTo.js +1 -1
  876. package/utils/account/getLatestNonce.js +1 -1
  877. package/utils/account/getShardOfAddress.js +1 -1
  878. package/utils/account/index.js +1 -1
  879. package/utils/account/loginWithExternalProvider.js +1 -1
  880. package/utils/account/refreshAccount.js +1 -1
  881. package/utils/account/setNonce.js +1 -1
  882. package/utils/account/signMessage.js +1 -1
  883. package/utils/getIsLoggedIn.js +1 -1
  884. package/utils/index.js +1 -1
  885. package/utils/logout.js +1 -1
  886. package/utils/network/getChainID.js +1 -1
  887. package/utils/network/getEgldLabel.js +1 -1
  888. package/utils/network/getNetworkConfig.js +1 -1
  889. package/utils/network/index.js +1 -1
  890. package/utils/operations/calculateFeeInFiat.js +1 -1
  891. package/utils/operations/calculateFeeLimit.js +1 -1
  892. package/utils/operations/denominate.js +1 -1
  893. package/utils/operations/formatAmount.js +1 -1
  894. package/utils/operations/index.js +1 -1
  895. package/utils/operations/ledger/getLedgerVersionOptions.js +1 -1
  896. package/utils/operations/ledger/index.js +1 -1
  897. package/utils/operations/nominate.js +1 -1
  898. package/utils/operations/parseAmount.js +1 -1
  899. package/utils/smartContracts.js +1 -1
  900. package/utils/toasts/customToastsActions.js +1 -1
  901. package/utils/toasts/index.js +1 -1
  902. package/utils/transactions/batch/getTransactionsStatus.js +1 -1
  903. package/utils/transactions/batch/updateBatchTransactionsStatuses.js +1 -1
  904. package/utils/transactions/getAllTransactionsLink.js +1 -1
  905. package/utils/transactions/getAreTransactionsOnSameShard.js +1 -1
  906. package/utils/transactions/getInterpretedTransaction/getInterpretedTransaction.js +1 -1
  907. package/utils/transactions/getInterpretedTransaction/helpers/getReceiptMessage.js +1 -1
  908. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/getTransactionValue.js +1 -1
  909. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getEgldValueData.js +1 -1
  910. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getTitleText.js +1 -1
  911. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromActions.js +1 -1
  912. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromDataField.js +1 -1
  913. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/getValueFromOperations.js +1 -1
  914. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/helpers/index.js +1 -1
  915. package/utils/transactions/getInterpretedTransaction/helpers/getTransactionValue/index.js +1 -1
  916. package/utils/transactions/getInterpretedTransaction/helpers/index.js +1 -1
  917. package/utils/transactions/getInterpretedTransaction/index.js +1 -1
  918. package/utils/transactions/getTransactionLink.js +1 -1
  919. package/utils/transactions/index.js +1 -1
  920. package/utils/transactions/parseMultiEsdtTransferData.js +1 -1
  921. package/utils/transactions/parseTransactionAfterSigning.js +1 -1
  922. package/utils/transactions/removeTransactionParamsFromUrl.js +1 -1
  923. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/decodeForDisplay.js +1 -1
  924. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getDisplayValueAndValidationWarnings.js +1 -1
  925. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/getSmartDecodedParts.js +1 -1
  926. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/helpers/index.js +1 -1
  927. package/utils/transactions/transactionInfoHelpers/decodeForDisplay/index.js +1 -1
  928. package/utils/transactions/transactionInfoHelpers/getScResultsInitialDecodeMethod.js +1 -1
  929. package/utils/transactions/transactionInfoHelpers/getShardText.js +1 -1
  930. package/utils/transactions/transactionInfoHelpers/getTransactionActionNftText.js +1 -1
  931. package/utils/transactions/transactionInfoHelpers/getTransactionActionTokenText.js +1 -1
  932. package/utils/transactions/transactionInfoHelpers/getTransactionLinkWithLabel.js +1 -1
  933. package/utils/transactions/transactionInfoHelpers/getTransactionMessages.js +1 -1
  934. package/utils/transactions/transactionInfoHelpers/index.js +1 -1
  935. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/index.js +1 -1
  936. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/helpers/mexUnwrapper.js +1 -1
  937. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/index.js +1 -1
  938. package/utils/transactions/transactionInfoHelpers/transactionActionUnwrapper/transactionActionUnwrapper.js +1 -1
  939. package/utils/transactions/transactionInfoHelpers/useDataDecode.js +1 -1
  940. package/utils/transactions/transactionInfoHelpers/useDataDecodeMethod.js +1 -1
  941. package/utils/validation/index.js +1 -1
  942. package/utils/validation/maxDecimals.js +1 -1
  943. package/utils/validation/stringIsFloat.js +1 -1
  944. package/utils/walletconnect/__mocks__/sdkWalletconnectProvider.js +1 -1
  945. package/web/hooks/index.js +1 -1
  946. package/web/hooks/useIdleTimer.js +1 -1
  947. package/web/index.js +1 -1
  948. package/wrappers/AppInitializer.js +1 -1
  949. package/wrappers/AuthenticatedRoutesWrapper/AuthenticatedRoutesWrapper.js +1 -1
  950. package/wrappers/AuthenticatedRoutesWrapper/index.js +1 -1
  951. package/wrappers/AxiosInterceptorContext/AxiosInterceptorContext.js +1 -1
  952. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptor.js +1 -1
  953. package/wrappers/AxiosInterceptorContext/components/AxiosInterceptorContextProvider.js +1 -1
  954. package/wrappers/AxiosInterceptorContext/components/LoginInfoListener.js +1 -1
  955. package/wrappers/AxiosInterceptorContext/components/index.js +1 -1
  956. package/wrappers/AxiosInterceptorContext/index.js +1 -1
  957. package/wrappers/DappProvider/CustomComponents.js +1 -1
  958. package/wrappers/DappProvider/DappProvider.js +1 -1
  959. package/wrappers/DappProvider/index.js +1 -1
  960. package/wrappers/index.js +1 -1
  961. package/__chunks__/chunk-35R5C7MN.js +0 -2
  962. package/__chunks__/chunk-3D32MGEE.js +0 -2
  963. package/__chunks__/chunk-3N6RH2JP.js +0 -2
  964. package/__chunks__/chunk-4VYUVWRW.js +0 -2
  965. package/__chunks__/chunk-7EHJK4G5.js +0 -2
  966. package/__chunks__/chunk-7RZUXOAZ.js +0 -2
  967. package/__chunks__/chunk-7WDUJALV.js +0 -2
  968. package/__chunks__/chunk-7WXFKNGH.js +0 -2
  969. package/__chunks__/chunk-BBXYGJKH.js +0 -2
  970. package/__chunks__/chunk-BJLU7HHL.js +0 -2
  971. package/__chunks__/chunk-C2NOKDGC.js +0 -2
  972. package/__chunks__/chunk-CPPYQ4DW.js +0 -2
  973. package/__chunks__/chunk-D2MKQ72N.js +0 -2
  974. package/__chunks__/chunk-DJWISBYW.js +0 -2
  975. package/__chunks__/chunk-ERRY7ECK.js +0 -2
  976. package/__chunks__/chunk-G37Y2HTH.js +0 -2
  977. package/__chunks__/chunk-GHIV4OIN.js +0 -2
  978. package/__chunks__/chunk-GJUSLKBO.js +0 -2
  979. package/__chunks__/chunk-GTAYGLQG.js +0 -2
  980. package/__chunks__/chunk-H46576BP.js +0 -2
  981. package/__chunks__/chunk-HMBMLPSS.js +0 -2
  982. package/__chunks__/chunk-IQD6BWUI.js +0 -2
  983. package/__chunks__/chunk-JPEA7JXL.js +0 -2
  984. package/__chunks__/chunk-JXF4EKNE.js +0 -2
  985. package/__chunks__/chunk-KBCK5CHZ.js +0 -2
  986. package/__chunks__/chunk-KGO3ICZY.js +0 -2
  987. package/__chunks__/chunk-KTN7SO2W.js +0 -2
  988. package/__chunks__/chunk-L42V2WLU.js +0 -2
  989. package/__chunks__/chunk-LXRSQCN2.js +0 -2
  990. package/__chunks__/chunk-M4L54IJ7.js +0 -2
  991. package/__chunks__/chunk-ME25HVH2.js +0 -2
  992. package/__chunks__/chunk-NGLTVQ5W.js +0 -2
  993. package/__chunks__/chunk-NN66LYBZ.js +0 -2
  994. package/__chunks__/chunk-O44B4VMC.js +0 -2
  995. package/__chunks__/chunk-PFCRTAA6.js +0 -2
  996. package/__chunks__/chunk-QN5222E2.js +0 -2
  997. package/__chunks__/chunk-QREIFWU7.js +0 -2
  998. package/__chunks__/chunk-R3FZPYHO.js +0 -2
  999. package/__chunks__/chunk-R3MQV5EP.js +0 -2
  1000. package/__chunks__/chunk-RLRUMCN5.js +0 -2
  1001. package/__chunks__/chunk-SKJVWOJX.js +0 -2
  1002. package/__chunks__/chunk-UE4TVM3M.js +0 -2
  1003. package/__chunks__/chunk-UH6MS3HS.js +0 -2
  1004. package/__chunks__/chunk-UKSSLKD2.js +0 -2
  1005. package/__chunks__/chunk-UX7ABBNS.js +0 -2
  1006. package/__chunks__/chunk-UZAJTVD3.js +0 -2
  1007. package/__chunks__/chunk-VBEHPPLP.js +0 -2
  1008. package/__chunks__/chunk-VMJA5EFW.js +0 -2
  1009. package/__chunks__/chunk-VSMZ25WQ.js +0 -2
  1010. package/__chunks__/chunk-W7OGWII2.js +0 -2
  1011. package/__chunks__/chunk-WF3V7QEW.js +0 -2
  1012. package/__chunks__/chunk-WJKELUT6.js +0 -2
  1013. package/__chunks__/chunk-WNO2O7HO.js +0 -2
  1014. package/__chunks__/chunk-WU6J2NHX.js +0 -2
  1015. package/__chunks__/chunk-X4STGR6Y.js +0 -2
  1016. package/__chunks__/chunk-XAWYPY67.js +0 -2
  1017. package/__chunks__/chunk-Z2KZXMKO.js +0 -2
  1018. package/__chunks__/chunk-ZT6BNCEC.js +0 -2
@@ -1,4 +1,4 @@
1
- "use strict";var gr=Object.create;var Q=Object.defineProperty;var fr=Object.getOwnPropertyDescriptor;var mr=Object.getOwnPropertyNames;var hr=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty;var xr=(t,e)=>()=>(t&&(e=t(t=0)),e);var J=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),wr=(t,e)=>{for(var r in e)Q(t,r,{get:e[r],enumerable:!0})},ke=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mr(e))!yr.call(t,i)&&i!==r&&Q(t,i,{get:()=>e[i],enumerable:!(n=fr(e,i))||n.enumerable});return t};var j=(t,e,r)=>(r=t!=null?gr(hr(t)):{},ke(e||!t||!t.__esModule?Q(r,"default",{value:t,enumerable:!0}):r,t)),Tr=t=>ke(Q({},"__esModule",{value:!0}),t);var Se=J(ee=>{"use strict";l();ee.byteLength=vr;ee.toByteArray=_r;ee.fromByteArray=Ar;var A=[],v=[],br=typeof Uint8Array!="undefined"?Uint8Array:Array,ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(O=0,Ee=ae.length;O<Ee;++O)A[O]=ae[O],v[ae.charCodeAt(O)]=O;var O,Ee;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function Ae(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function vr(t){var e=Ae(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Ir(t,e,r){return(e+r)*3/4-r}function _r(t){var e,r=Ae(t),n=r[0],i=r[1],a=new br(Ir(t,n,i)),o=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[o++]=e&255),i===1&&(e=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function kr(t){return A[t>>18&63]+A[t>>12&63]+A[t>>6&63]+A[t&63]}function Er(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(kr(n));return i.join("")}function Ar(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(Er(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(A[e>>2]+A[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(A[e>>10]+A[e>>4&63]+A[e<<2&63]+"=")),i.join("")}});var Re=J(oe=>{l();oe.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,u=(1<<c)-1,p=u>>1,m=-7,d=r?i-1:0,y=r?-1:1,w=t[e+d];for(d+=y,a=w&(1<<-m)-1,w>>=-m,m+=c;m>0;a=a*256+t[e+d],d+=y,m-=8);for(o=a&(1<<-m)-1,a>>=-m,m+=n;m>0;o=o*256+t[e+d],d+=y,m-=8);if(a===0)a=1-p;else{if(a===u)return o?NaN:(w?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-p}return(w?-1:1)*o*Math.pow(2,a-n)};oe.write=function(t,e,r,n,i,a){var o,c,u,p=a*8-i-1,m=(1<<p)-1,d=m>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,E=n?1:-1,X=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=m):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+d>=1?e+=y/u:e+=y*Math.pow(2,1-d),e*u>=2&&(o++,u/=2),o+d>=m?(c=0,o=m):o+d>=1?(c=(e*u-1)*Math.pow(2,i),o=o+d):(c=e*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;t[r+w]=c&255,w+=E,c/=256,i-=8);for(o=o<<i|c,p+=i;p>0;t[r+w]=o&255,w+=E,o/=256,p-=8);t[r+w-E]|=X*128}});var He=J(H=>{"use strict";l();var se=Se(),V=Re(),Ne=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;H.Buffer=s;H.SlowBuffer=Fr;H.INSPECT_MAX_BYTES=50;var re=2147483647;H.kMaxLength=re;s.TYPED_ARRAY_SUPPORT=Sr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Sr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function F(t){if(t>re)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return pe(t)}return Fe(t,e,r)}s.poolSize=8192;function Fe(t,e,r){if(typeof t=="string")return Nr(t,e);if(ArrayBuffer.isView(t))return Lr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(S(t,ArrayBuffer)||t&&S(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(t,SharedArrayBuffer)||t&&S(t.buffer,SharedArrayBuffer)))return ce(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=Dr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return Fe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Ce(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Rr(t,e,r){return Ce(t),t<=0?F(t):e!==void 0?typeof r=="string"?F(t).fill(e,r):F(t).fill(e):F(t)}s.alloc=function(t,e,r){return Rr(t,e,r)};function pe(t){return Ce(t),F(t<0?0:de(t)|0)}s.allocUnsafe=function(t){return pe(t)};s.allocUnsafeSlow=function(t){return pe(t)};function Nr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ue(t,e)|0,n=F(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function le(t){for(var e=t.length<0?0:de(t.length)|0,r=F(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Lr(t){if(S(t,Uint8Array)){var e=new Uint8Array(t);return ce(e.buffer,e.byteOffset,e.byteLength)}return le(t)}function ce(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function Dr(t){if(s.isBuffer(t)){var e=de(t.length)|0,r=F(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ge(t.length)?F(0):le(t);if(t.type==="Buffer"&&Array.isArray(t.data))return le(t.data)}function de(t){if(t>=re)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+re.toString(16)+" bytes");return t|0}function Fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(S(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function Ue(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||S(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return ue(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ve(t).length;default:if(i)return n?-1:ue(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Ue;function Cr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return qr(this,e,r);case"utf8":case"utf-8":return Oe(this,e,r);case"ascii":return Hr(this,e,r);case"latin1":case"binary":return Wr(this,e,r);case"base64":return Gr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function B(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)B(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)B(this,r,r+3),B(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)B(this,r,r+7),B(this,r+1,r+6),B(this,r+2,r+5),B(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Oe(this,0,e):Cr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=H.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Ne&&(s.prototype[Ne]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,u=Math.min(o,c),p=this.slice(i,a),m=e.slice(r,n),d=0;d<u;++d)if(p[d]!==m[d]){o=p[d],c=m[d];break}return o<c?-1:c<o?1:0};function Me(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ge(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:Le(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Le(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Le(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function u(w,E){return a===1?w[E]:w.readUInt16BE(E*a)}var p;if(i){var m=-1;for(p=r;p<o;p++)if(u(t,p)===u(e,m===-1?0:p-m)){if(m===-1&&(m=p),p-m+1===c)return m*a}else m!==-1&&(p-=p-m),m=-1}else for(r+c>o&&(r=o-c),p=r;p>=0;p--){for(var d=!0,y=0;y<c;y++)if(u(t,p+y)!==u(e,y)){d=!1;break}if(d)return p}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Me(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Me(this,e,r,n,!1)};function Ur(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(ge(c))return o;t[r+o]=c}return o}function Mr(t,e,r,n){return te(ue(e,t.length-r),t,r,n)}function Or(t,e,r,n){return te(Xr(e),t,r,n)}function Br(t,e,r,n){return te(Ve(e),t,r,n)}function Pr(t,e,r,n){return te(Yr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Ur(this,e,r,n);case"utf8":case"utf-8":return Mr(this,e,r,n);case"ascii":case"latin1":case"binary":return Or(this,e,r,n);case"base64":return Br(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Gr(t,e,r){return e===0&&r===t.length?se.fromByteArray(t):se.fromByteArray(t.slice(e,r))}function Oe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var u,p,m,d;switch(c){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(d=(a&31)<<6|u&63,d>127&&(o=d));break;case 3:u=t[i+1],p=t[i+2],(u&192)===128&&(p&192)===128&&(d=(a&15)<<12|(u&63)<<6|p&63,d>2047&&(d<55296||d>57343)&&(o=d));break;case 4:u=t[i+1],p=t[i+2],m=t[i+3],(u&192)===128&&(p&192)===128&&(m&192)===128&&(d=(a&15)<<18|(u&63)<<12|(p&63)<<6|m&63,d>65535&&d<1114112&&(o=d))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return Vr(n)}var De=4096;function Vr(t){var e=t.length;if(e<=De)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=De));return r}function Hr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Wr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function qr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Zr[t[a]];return i}function zr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function T(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||T(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||T(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||T(e,4,this.length),V.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||T(e,4,this.length),V.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||T(e,8,this.length),V.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||T(e,8,this.length),V.read(this,e,!1,52,8)};function b(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,r,n,a-1,-a)}var o=0,c=1,u=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&u===0&&this[r+o-1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,r,n,a-1,-a)}var o=n-1,c=1,u=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&u===0&&this[r+o+1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Be(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Pe(t,e,r,n,i){return e=+e,r=r>>>0,i||Be(t,e,r,4,34028234663852886e22,-34028234663852886e22),V.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Pe(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Pe(this,e,r,!1,n)};function Ge(t,e,r,n,i){return e=+e,r=r>>>0,i||Be(t,e,r,8,17976931348623157e292,-17976931348623157e292),V.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ge(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ge(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%u]}return this};var jr=/[^+/0-9A-Za-z-_]/g;function $r(t){if(t=t.split("=")[0],t=t.trim().replace(jr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ue(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function Xr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Yr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Ve(t){return se.toByteArray($r(t))}function te(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function S(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ge(t){return t!==t}var Zr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var $e=J((ht,je)=>{l();var x=je.exports={},R,N;function fe(){throw new Error("setTimeout has not been defined")}function me(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?R=setTimeout:R=fe}catch(t){R=fe}try{typeof clearTimeout=="function"?N=clearTimeout:N=me}catch(t){N=me}})();function We(t){if(R===setTimeout)return setTimeout(t,0);if((R===fe||!R)&&setTimeout)return R=setTimeout,setTimeout(t,0);try{return R(t,0)}catch(e){try{return R.call(null,t,0)}catch(r){return R.call(this,t,0)}}}function Kr(t){if(N===clearTimeout)return clearTimeout(t);if((N===me||!N)&&clearTimeout)return N=clearTimeout,clearTimeout(t);try{return N(t)}catch(e){try{return N.call(null,t)}catch(r){return N.call(this,t)}}}var C=[],W=!1,P,ne=-1;function Qr(){!W||!P||(W=!1,P.length?C=P.concat(C):ne=-1,C.length&&qe())}function qe(){if(!W){var t=We(Qr);W=!0;for(var e=C.length;e;){for(P=C,C=[];++ne<e;)P&&P[ne].run();ne=-1,e=C.length}P=null,W=!1,Kr(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];C.push(new ze(t,e)),C.length===1&&!W&&We(qe)};function ze(t,e){this.fun=t,this.array=e}ze.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function U(){}x.on=U;x.addListener=U;x.once=U;x.off=U;x.removeListener=U;x.removeAllListeners=U;x.emit=U;x.prependListener=U;x.prependOnceListener=U;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var g,f,yt,l=xr(()=>{g=j(He()),f=j($e()),yt=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var ut={};wr(ut,{calculateFeeInFiat:()=>ct,calculateFeeLimit:()=>rt,denominate:()=>Jr,formatAmount:()=>$,getLedgerVersionOptions:()=>lt,getRemainingTime:()=>_e,getUsdValue:()=>Ie,nominate:()=>et,parseAmount:()=>ve,pipe:()=>D,timeAgo:()=>at,timeRemaining:()=>nt,truncate:()=>ot});module.exports=Tr(ut);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var he={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",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",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",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Xe,egldLabel:Ot}=he["devnet"],{chainId:Ye,egldLabel:Bt}=he["testnet"],{chainId:Ze,egldLabel:Pt}=he["mainnet"];var Gt={["devnet"]:Xe,["testnet"]:Ye,["mainnet"]:Ze},Vt={[Xe]:"devnet",[Ye]:"testnet",[Ze]:"mainnet"};l();l();l();l();var L=require("@multiversx/sdk-web-wallet-provider");l();l();var ye="1.0.8",xe="1.0.11",we="1.0.15",Te="1.0.17",be="1.0.22";var Ke=5e4;var Qe=1e9,_=18,G=4;var q="0";l();var er=require("@multiversx/sdk-core"),M=j(require("bignumber.js"));l();var Je=j(require("bignumber.js")),ie=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new Je.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();function D(t){return{if:function(e){return e?{then:r=>r instanceof Function?D(r(t)):D(r)}:{then:()=>D(t)}},then:e=>e instanceof Function?D(e(t)):D(e),valueOf:function(){return t}}}M.default.config({ROUNDING_MODE:M.default.ROUND_FLOOR});function $({input:t,decimals:e=_,digits:r=G,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!ie(t,!1))throw new Error("Invalid input");let o=new M.default(t).isNegative(),c=t;return o&&(c=t.substring(1)),D(c).then(()=>er.TokenTransfer.fungibleFromBigInteger("",c,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(u=>{let p=new M.default(u);if(p.isZero())return q;let m=p.toString(10),[d,y]=m.split("."),w=new M.default(y||0),E=D(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(w.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),X=y&&r>=1&&r<=y.length&&w.isGreaterThan(0)&&new M.default(y.substring(0,r)).isZero(),ur=p.toFormat(E);return D(m).if(a).then(ur).if(Boolean(X)).then(Y=>{let z=new M.default(d).isZero(),[I,Z]=Y.split("."),K=new Array(r-1).fill(0),pr=[...K,0].join(""),dr=[...K,1].join("");return z?i?`<${I}.${dr}`:n?`${I}.${Z}`:I:`${I}.${pr}`}).if(Boolean(!X&&y)).then(Y=>{let[z]=Y.split("."),I=y.substring(0,E);if(n){let Z=r-I.length;if(Z>0){let K=Array(Z).fill(0).join("");return I=`${I}${K}`,`${z}.${I}`}return Y}return I?`${z}.${I}`:z}).valueOf()}).if(o).then(u=>`-${u}`).valueOf()}var rr=!1;function Jr({input:t,denomination:e=_,decimals:r=G,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){return rr||(console.warn('!!! Be aware !!! The "denominate" function is deprecated. Please use "formatAmount" instead.'),rr=!0),$({input:t,decimals:e,addCommas:a,digits:r,showIsLessThanDecimalsLabel:i,showLastNonZeroDecimal:n})}l();l();var tr=require("@multiversx/sdk-core");function ve(t,e=_){return tr.TokenPayment.fungibleFromAmount("",t,e).toString()}var nr=!1;function et(t,e=_){return nr||(console.warn('!!! Be aware !!! The "nominate" function is deprecated. Please use "parseAmount" instead.'),nr=!0),ve(t,e)}l();var k=require("@multiversx/sdk-core"),sr=require("@multiversx/sdk-network-providers");l();l();var ir=j(require("bignumber.js"));var ar=t=>{if(isNaN(t)||t==null||String(t).includes("Infinity"))return!1;let[e,r]=t.split(".");if(r)for(;r.charAt(r.length-1)===q;)r=r.slice(0,-1);let n=r?[e,r].join("."):e,i=new ir.default(n);return i.toString(10)===n&&i.comparedTo(0)>=0};l();l();var or={from:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa",to:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa"};function rt({minGasLimit:t=String(Ke),gasLimit:e,gasPrice:r,data:n,gasPerDataByte:i,gasPriceModifier:a,defaultGasPrice:o=String(Qe),chainId:c}){let u=n||"",p=ie(e)?e:t,m=ar(r)?r:o,d=new k.Transaction({nonce:0,value:k.TokenPayment.egldFromAmount("0"),receiver:new k.Address(or.to),sender:new k.Address(or.to),gasPrice:parseInt(m),gasLimit:parseInt(p),data:new k.TransactionPayload(u.trim()),chainID:c,version:new k.TransactionVersion(1)}),y=new sr.NetworkConfig;y.MinGasLimit=parseInt(t),y.GasPerDataByte=parseInt(i),y.GasPriceModifier=parseFloat(a);try{return d.computeFee(y).toString(10)}catch(w){return q}}l();var Ie=({amount:t,usd:e,decimals:r=2,addEqualSign:n})=>{let i=(parseFloat(t)*e).toFixed(r),a=parseFloat(i).toLocaleString("en",{maximumFractionDigits:r,minimumFractionDigits:r}),o=parseFloat(t)>0?"\u2248":"=";return`${n?`${o} `:""}$${a}`};l();function _e(t){let e=Math.floor(t/864e5),r=t%(24*60*60*1e3),n=Math.floor(r/(60*60*1e3)),i=r%(60*60*1e3),a=Math.floor(i/(60*1e3)),o=i%(60*1e3),c=Math.floor(o/1e3),u=c+" sec",p=a+" min",m=n+" hr",d=e+" day";if(c>1&&(u=c+" sec"),a>1&&(p=a+" min"),n>1&&(m=n+" hrs"),e>1&&(d=e+" days"),e>=1)return d+" "+m;if(n>=1){let y=a===0?"":" "+p;return m+y}if(a>=1){let y=c===0?"":" "+u;return p+y}return u}function cr(t){let e=t.split(" ");return e.length>1?`${e[0]} ${e[1]}`:t}var lr=(t=new Date,e=0)=>Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()+e,t.getUTCMilliseconds());function tt(t){let e=new Date,r=lr(e),n=lr(e,t);return Math.max(n-r,0)}function nt(t,e=!0){let r=tt(t),n=_e(r);return e?cr(n):n}function it(t){let r=new Date().getTime()-t;return Math.max(r,0)}function at(t,e=!0){let r=it(t),n=_e(r);return e?cr(n):n}l();function ot(t,e,r="..."){return isNaN(e)&&(e=10),r||(r="..."),t!=null&&(t.length<=e||t.length-r.length<=e)?t:String(t).substring(0,e-r.length)+r}l();l();function st(t,e){let r,n,i=/(\.0+)+$/,a=t.replace(i,"").split("."),o=e.replace(i,"").split("."),c=Math.min(a.length,o.length);for(r=0;r<c;r++)if(n=parseInt(a[r],10)-parseInt(o[r],10),n)return n;return a.length-o.length}function lt(t){let e=[ye,xe,we,Te,be,t].sort((u,p)=>st(u,p)),r=e.indexOf(ye),n=e.indexOf(xe),i=e.indexOf(we),a=e.indexOf(Te),o=e.indexOf(be),c=e.indexOf(t);return{ledgerWithMultiAccount:c>=r,ledgerWithHashSign:c>=n,ledgerWithSignAuthToken:c>=i,ledgerWithWhitelistedTokens:c>=a,ledgerWithGuardians:c>=o}}l();var ct=({feeLimit:t,egldPriceInUsd:e})=>{let r=$({input:t,decimals:_,digits:G,showLastNonZeroDecimal:!0});return`\u2248 ${Ie({amount:r,usd:e,decimals:G})}`};0&&(module.exports={calculateFeeInFiat,calculateFeeLimit,denominate,formatAmount,getLedgerVersionOptions,getRemainingTime,getUsdValue,nominate,parseAmount,pipe,timeAgo,timeRemaining,truncate});
1
+ "use strict";var gr=Object.create;var Q=Object.defineProperty;var fr=Object.getOwnPropertyDescriptor;var mr=Object.getOwnPropertyNames;var hr=Object.getPrototypeOf,yr=Object.prototype.hasOwnProperty;var xr=(t,e)=>()=>(t&&(e=t(t=0)),e);var J=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),wr=(t,e)=>{for(var r in e)Q(t,r,{get:e[r],enumerable:!0})},ke=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of mr(e))!yr.call(t,i)&&i!==r&&Q(t,i,{get:()=>e[i],enumerable:!(n=fr(e,i))||n.enumerable});return t};var j=(t,e,r)=>(r=t!=null?gr(hr(t)):{},ke(e||!t||!t.__esModule?Q(r,"default",{value:t,enumerable:!0}):r,t)),Tr=t=>ke(Q({},"__esModule",{value:!0}),t);var Se=J(ee=>{"use strict";l();ee.byteLength=vr;ee.toByteArray=_r;ee.fromByteArray=Ar;var A=[],v=[],br=typeof Uint8Array!="undefined"?Uint8Array:Array,ae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(B=0,Ee=ae.length;B<Ee;++B)A[B]=ae[B],v[ae.charCodeAt(B)]=B;var B,Ee;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function Ae(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function vr(t){var e=Ae(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Ir(t,e,r){return(e+r)*3/4-r}function _r(t){var e,r=Ae(t),n=r[0],i=r[1],a=new br(Ir(t,n,i)),o=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=v[t.charCodeAt(u)]<<18|v[t.charCodeAt(u+1)]<<12|v[t.charCodeAt(u+2)]<<6|v[t.charCodeAt(u+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=v[t.charCodeAt(u)]<<2|v[t.charCodeAt(u+1)]>>4,a[o++]=e&255),i===1&&(e=v[t.charCodeAt(u)]<<10|v[t.charCodeAt(u+1)]<<4|v[t.charCodeAt(u+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function kr(t){return A[t>>18&63]+A[t>>12&63]+A[t>>6&63]+A[t&63]}function Er(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(kr(n));return i.join("")}function Ar(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(Er(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(A[e>>2]+A[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(A[e>>10]+A[e>>4&63]+A[e<<2&63]+"=")),i.join("")}});var Re=J(oe=>{l();oe.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,u=(1<<c)-1,p=u>>1,m=-7,d=r?i-1:0,y=r?-1:1,w=t[e+d];for(d+=y,a=w&(1<<-m)-1,w>>=-m,m+=c;m>0;a=a*256+t[e+d],d+=y,m-=8);for(o=a&(1<<-m)-1,a>>=-m,m+=n;m>0;o=o*256+t[e+d],d+=y,m-=8);if(a===0)a=1-p;else{if(a===u)return o?NaN:(w?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-p}return(w?-1:1)*o*Math.pow(2,a-n)};oe.write=function(t,e,r,n,i,a){var o,c,u,p=a*8-i-1,m=(1<<p)-1,d=m>>1,y=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,E=n?1:-1,X=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=m):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+d>=1?e+=y/u:e+=y*Math.pow(2,1-d),e*u>=2&&(o++,u/=2),o+d>=m?(c=0,o=m):o+d>=1?(c=(e*u-1)*Math.pow(2,i),o=o+d):(c=e*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;t[r+w]=c&255,w+=E,c/=256,i-=8);for(o=o<<i|c,p+=i;p>0;t[r+w]=o&255,w+=E,o/=256,p-=8);t[r+w-E]|=X*128}});var He=J(H=>{"use strict";l();var se=Se(),V=Re(),Ne=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;H.Buffer=s;H.SlowBuffer=Fr;H.INSPECT_MAX_BYTES=50;var re=2147483647;H.kMaxLength=re;s.TYPED_ARRAY_SUPPORT=Sr();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Sr(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function F(t){if(t>re)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return pe(t)}return Fe(t,e,r)}s.poolSize=8192;function Fe(t,e,r){if(typeof t=="string")return Nr(t,e);if(ArrayBuffer.isView(t))return Lr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(S(t,ArrayBuffer)||t&&S(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(t,SharedArrayBuffer)||t&&S(t.buffer,SharedArrayBuffer)))return ce(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=Dr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return Fe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function Ce(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Rr(t,e,r){return Ce(t),t<=0?F(t):e!==void 0?typeof r=="string"?F(t).fill(e,r):F(t).fill(e):F(t)}s.alloc=function(t,e,r){return Rr(t,e,r)};function pe(t){return Ce(t),F(t<0?0:de(t)|0)}s.allocUnsafe=function(t){return pe(t)};s.allocUnsafeSlow=function(t){return pe(t)};function Nr(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=Ue(t,e)|0,n=F(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function le(t){for(var e=t.length<0?0:de(t.length)|0,r=F(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function Lr(t){if(S(t,Uint8Array)){var e=new Uint8Array(t);return ce(e.buffer,e.byteOffset,e.byteLength)}return le(t)}function ce(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function Dr(t){if(s.isBuffer(t)){var e=de(t.length)|0,r=F(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||ge(t.length)?F(0):le(t);if(t.type==="Buffer"&&Array.isArray(t.data))return le(t.data)}function de(t){if(t>=re)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+re.toString(16)+" bytes");return t|0}function Fr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(S(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function Ue(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||S(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return ue(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Ve(t).length;default:if(i)return n?-1:ue(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=Ue;function Cr(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return qr(this,e,r);case"utf8":case"utf-8":return Be(this,e,r);case"ascii":return Hr(this,e,r);case"latin1":case"binary":return Wr(this,e,r);case"base64":return Gr(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return zr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function M(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)M(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)M(this,r,r+3),M(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)M(this,r,r+7),M(this,r+1,r+6),M(this,r+2,r+5),M(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?Be(this,0,e):Cr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=H.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};Ne&&(s.prototype[Ne]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,u=Math.min(o,c),p=this.slice(i,a),m=e.slice(r,n),d=0;d<u;++d)if(p[d]!==m[d]){o=p[d],c=m[d];break}return o<c?-1:c<o?1:0};function Oe(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,ge(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:Le(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Le(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function Le(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function u(w,E){return a===1?w[E]:w.readUInt16BE(E*a)}var p;if(i){var m=-1;for(p=r;p<o;p++)if(u(t,p)===u(e,m===-1?0:p-m)){if(m===-1&&(m=p),p-m+1===c)return m*a}else m!==-1&&(p-=p-m),m=-1}else for(r+c>o&&(r=o-c),p=r;p>=0;p--){for(var d=!0,y=0;y<c;y++)if(u(t,p+y)!==u(e,y)){d=!1;break}if(d)return p}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return Oe(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return Oe(this,e,r,n,!1)};function Ur(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(ge(c))return o;t[r+o]=c}return o}function Or(t,e,r,n){return te(ue(e,t.length-r),t,r,n)}function Br(t,e,r,n){return te(Xr(e),t,r,n)}function Mr(t,e,r,n){return te(Ve(e),t,r,n)}function Pr(t,e,r,n){return te(Yr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Ur(this,e,r,n);case"utf8":case"utf-8":return Or(this,e,r,n);case"ascii":case"latin1":case"binary":return Br(this,e,r,n);case"base64":return Mr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Pr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Gr(t,e,r){return e===0&&r===t.length?se.fromByteArray(t):se.fromByteArray(t.slice(e,r))}function Be(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var u,p,m,d;switch(c){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(d=(a&31)<<6|u&63,d>127&&(o=d));break;case 3:u=t[i+1],p=t[i+2],(u&192)===128&&(p&192)===128&&(d=(a&15)<<12|(u&63)<<6|p&63,d>2047&&(d<55296||d>57343)&&(o=d));break;case 4:u=t[i+1],p=t[i+2],m=t[i+3],(u&192)===128&&(p&192)===128&&(m&192)===128&&(d=(a&15)<<18|(u&63)<<12|(p&63)<<6|m&63,d>65535&&d<1114112&&(o=d))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return Vr(n)}var De=4096;function Vr(t){var e=t.length;if(e<=De)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=De));return r}function Hr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function Wr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function qr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Zr[t[a]];return i}function zr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function T(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||T(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||T(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||T(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||T(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||T(e,4,this.length),V.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||T(e,4,this.length),V.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||T(e,8,this.length),V.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||T(e,8,this.length),V.read(this,e,!1,52,8)};function b(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;b(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,r,n,a-1,-a)}var o=0,c=1,u=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&u===0&&this[r+o-1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);b(this,e,r,n,a-1,-a)}var o=n-1,c=1,u=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&u===0&&this[r+o+1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||b(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function Me(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Pe(t,e,r,n,i){return e=+e,r=r>>>0,i||Me(t,e,r,4,34028234663852886e22,-34028234663852886e22),V.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Pe(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Pe(this,e,r,!1,n)};function Ge(t,e,r,n,i){return e=+e,r=r>>>0,i||Me(t,e,r,8,17976931348623157e292,-17976931348623157e292),V.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return Ge(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return Ge(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%u]}return this};var jr=/[^+/0-9A-Za-z-_]/g;function $r(t){if(t=t.split("=")[0],t=t.trim().replace(jr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ue(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function Xr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function Yr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function Ve(t){return se.toByteArray($r(t))}function te(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function S(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function ge(t){return t!==t}var Zr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var $e=J((ht,je)=>{l();var x=je.exports={},R,N;function fe(){throw new Error("setTimeout has not been defined")}function me(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?R=setTimeout:R=fe}catch(t){R=fe}try{typeof clearTimeout=="function"?N=clearTimeout:N=me}catch(t){N=me}})();function We(t){if(R===setTimeout)return setTimeout(t,0);if((R===fe||!R)&&setTimeout)return R=setTimeout,setTimeout(t,0);try{return R(t,0)}catch(e){try{return R.call(null,t,0)}catch(r){return R.call(this,t,0)}}}function Kr(t){if(N===clearTimeout)return clearTimeout(t);if((N===me||!N)&&clearTimeout)return N=clearTimeout,clearTimeout(t);try{return N(t)}catch(e){try{return N.call(null,t)}catch(r){return N.call(this,t)}}}var C=[],W=!1,P,ne=-1;function Qr(){!W||!P||(W=!1,P.length?C=P.concat(C):ne=-1,C.length&&qe())}function qe(){if(!W){var t=We(Qr);W=!0;for(var e=C.length;e;){for(P=C,C=[];++ne<e;)P&&P[ne].run();ne=-1,e=C.length}P=null,W=!1,Kr(t)}}x.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];C.push(new ze(t,e)),C.length===1&&!W&&We(qe)};function ze(t,e){this.fun=t,this.array=e}ze.prototype.run=function(){this.fun.apply(null,this.array)};x.title="browser";x.browser=!0;x.env={};x.argv=[];x.version="";x.versions={};function U(){}x.on=U;x.addListener=U;x.once=U;x.off=U;x.removeListener=U;x.removeAllListeners=U;x.emit=U;x.prependListener=U;x.prependOnceListener=U;x.listeners=function(t){return[]};x.binding=function(t){throw new Error("process.binding is not supported")};x.cwd=function(){return"/"};x.chdir=function(t){throw new Error("process.chdir is not supported")};x.umask=function(){return 0}});var g,f,yt,l=xr(()=>{g=j(He()),f=j($e()),yt=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var ut={};wr(ut,{calculateFeeInFiat:()=>ct,calculateFeeLimit:()=>rt,denominate:()=>Jr,formatAmount:()=>$,getLedgerVersionOptions:()=>lt,getRemainingTime:()=>_e,getUsdValue:()=>Ie,nominate:()=>et,parseAmount:()=>ve,pipe:()=>D,timeAgo:()=>at,timeRemaining:()=>nt,truncate:()=>ot});module.exports=Tr(ut);l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var he={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",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",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",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Xe,egldLabel:Bt}=he["devnet"],{chainId:Ye,egldLabel:Mt}=he["testnet"],{chainId:Ze,egldLabel:Pt}=he["mainnet"];var Gt={["devnet"]:Xe,["testnet"]:Ye,["mainnet"]:Ze},Vt={[Xe]:"devnet",[Ye]:"testnet",[Ze]:"mainnet"};l();l();l();l();var L=require("@multiversx/sdk-web-wallet-provider");l();l();var ye="1.0.8",xe="1.0.11",we="1.0.15",Te="1.0.17",be="1.0.22";var Ke=5e4;var Qe=1e9,_=18,G=4;var q="0";l();var er=require("@multiversx/sdk-core"),O=j(require("bignumber.js"));l();var Je=j(require("bignumber.js")),ie=(t,e=!0)=>{let r=String(t);if(!r.match(/^[-]?\d+$/))return!1;let n=new Je.default(r),i=e?0:-1;return n.toString(10)===r&&n.comparedTo(0)>=i};l();function D(t){return{if:function(e){return e?{then:r=>r instanceof Function?D(r(t)):D(r)}:{then:()=>D(t)}},then:e=>e instanceof Function?D(e(t)):D(e),valueOf:function(){return t}}}O.default.config({ROUNDING_MODE:O.default.ROUND_FLOOR});function $({input:t,decimals:e=_,digits:r=G,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){if(!ie(t,!1))throw new Error("Invalid input");let o=new O.default(t).isNegative(),c=t;return o&&(c=t.substring(1)),D(c).then(()=>er.TokenTransfer.fungibleFromBigInteger("",c,e).amountAsBigInteger.shiftedBy(-e).toFixed(e)).then(u=>{let p=new O.default(u);if(p.isZero())return q;let m=p.toString(10),[d,y]=m.split("."),w=new O.default(y||0),E=D(0).if(Boolean(y&&n)).then(()=>Math.max(y.length,r)).if(w.isZero()&&!n).then(0).if(Boolean(y&&!n)).then(()=>Math.min(y.length,r)).valueOf(),X=y&&r>=1&&r<=y.length&&w.isGreaterThan(0)&&new O.default(y.substring(0,r)).isZero(),ur=p.toFormat(E);return D(m).if(a).then(ur).if(Boolean(X)).then(Y=>{let z=new O.default(d).isZero(),[I,Z]=Y.split("."),K=new Array(r-1).fill(0),pr=[...K,0].join(""),dr=[...K,1].join("");return z?i?`<${I}.${dr}`:n?`${I}.${Z}`:I:`${I}.${pr}`}).if(Boolean(!X&&y)).then(Y=>{let[z]=Y.split("."),I=y.substring(0,E);if(n){let Z=r-I.length;if(Z>0){let K=Array(Z).fill(0).join("");return I=`${I}${K}`,`${z}.${I}`}return Y}return I?`${z}.${I}`:z}).valueOf()}).if(o).then(u=>`-${u}`).valueOf()}var rr=!1;function Jr({input:t,denomination:e=_,decimals:r=G,showLastNonZeroDecimal:n=!0,showIsLessThanDecimalsLabel:i=!1,addCommas:a=!1}){return rr||(console.warn('!!! Be aware !!! The "denominate" function is deprecated. Please use "formatAmount" instead.'),rr=!0),$({input:t,decimals:e,addCommas:a,digits:r,showIsLessThanDecimalsLabel:i,showLastNonZeroDecimal:n})}l();l();var tr=require("@multiversx/sdk-core");function ve(t,e=_){return tr.TokenPayment.fungibleFromAmount("",t,e).toString()}var nr=!1;function et(t,e=_){return nr||(console.warn('!!! Be aware !!! The "nominate" function is deprecated. Please use "parseAmount" instead.'),nr=!0),ve(t,e)}l();var k=require("@multiversx/sdk-core"),sr=require("@multiversx/sdk-network-providers");l();l();var ir=j(require("bignumber.js"));var ar=t=>{if(isNaN(t)||t==null||String(t).includes("Infinity"))return!1;let[e,r]=t.split(".");if(r)for(;r.charAt(r.length-1)===q;)r=r.slice(0,-1);let n=r?[e,r].join("."):e,i=new ir.default(n);return i.toString(10)===n&&i.comparedTo(0)>=0};l();l();var or={from:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa",to:"erd12dnfhej64s6c56ka369gkyj3hwv5ms0y5rxgsk2k7hkd2vuk7rvqxkalsa"};function rt({minGasLimit:t=String(Ke),gasLimit:e,gasPrice:r,data:n,gasPerDataByte:i,gasPriceModifier:a,defaultGasPrice:o=String(Qe),chainId:c}){let u=n||"",p=ie(e)?e:t,m=ar(r)?r:o,d=new k.Transaction({nonce:0,value:k.TokenPayment.egldFromAmount("0"),receiver:new k.Address(or.to),sender:new k.Address(or.to),gasPrice:parseInt(m),gasLimit:parseInt(p),data:new k.TransactionPayload(u.trim()),chainID:c,version:new k.TransactionVersion(1)}),y=new sr.NetworkConfig;y.MinGasLimit=parseInt(t),y.GasPerDataByte=parseInt(i),y.GasPriceModifier=parseFloat(a);try{return d.computeFee(y).toString(10)}catch(w){return q}}l();var Ie=({amount:t,usd:e,decimals:r=2,addEqualSign:n})=>{let i=(parseFloat(t)*e).toFixed(r),a=parseFloat(i).toLocaleString("en",{maximumFractionDigits:r,minimumFractionDigits:r}),o=parseFloat(t)>0?"\u2248":"=";return`${n?`${o} `:""}$${a}`};l();function _e(t){let e=Math.floor(t/864e5),r=t%(24*60*60*1e3),n=Math.floor(r/(60*60*1e3)),i=r%(60*60*1e3),a=Math.floor(i/(60*1e3)),o=i%(60*1e3),c=Math.floor(o/1e3),u=c+" sec",p=a+" min",m=n+" hr",d=e+" day";if(c>1&&(u=c+" sec"),a>1&&(p=a+" min"),n>1&&(m=n+" hrs"),e>1&&(d=e+" days"),e>=1)return d+" "+m;if(n>=1){let y=a===0?"":" "+p;return m+y}if(a>=1){let y=c===0?"":" "+u;return p+y}return u}function cr(t){let e=t.split(" ");return e.length>1?`${e[0]} ${e[1]}`:t}var lr=(t=new Date,e=0)=>Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate(),t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds()+e,t.getUTCMilliseconds());function tt(t){let e=new Date,r=lr(e),n=lr(e,t);return Math.max(n-r,0)}function nt(t,e=!0){let r=tt(t),n=_e(r);return e?cr(n):n}function it(t){let r=new Date().getTime()-t;return Math.max(r,0)}function at(t,e=!0){let r=it(t),n=_e(r);return e?cr(n):n}l();function ot(t,e,r="..."){return isNaN(e)&&(e=10),r||(r="..."),t!=null&&(t.length<=e||t.length-r.length<=e)?t:String(t).substring(0,e-r.length)+r}l();l();function st(t,e){let r,n,i=/(\.0+)+$/,a=t.replace(i,"").split("."),o=e.replace(i,"").split("."),c=Math.min(a.length,o.length);for(r=0;r<c;r++)if(n=parseInt(a[r],10)-parseInt(o[r],10),n)return n;return a.length-o.length}function lt(t){let e=[ye,xe,we,Te,be,t].sort((u,p)=>st(u,p)),r=e.indexOf(ye),n=e.indexOf(xe),i=e.indexOf(we),a=e.indexOf(Te),o=e.indexOf(be),c=e.indexOf(t);return{ledgerWithMultiAccount:c>=r,ledgerWithHashSign:c>=n,ledgerWithSignAuthToken:c>=i,ledgerWithWhitelistedTokens:c>=a,ledgerWithGuardians:c>=o}}l();var ct=({feeLimit:t,egldPriceInUsd:e})=>{let r=$({input:t,decimals:_,digits:G,showLastNonZeroDecimal:!0});return`\u2248 ${Ie({amount:r,usd:e,decimals:G})}`};0&&(module.exports={calculateFeeInFiat,calculateFeeLimit,denominate,formatAmount,getLedgerVersionOptions,getRemainingTime,getUsdValue,nominate,parseAmount,pipe,timeAgo,timeRemaining,truncate});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Ir=Object.create;var P=Object.defineProperty;var br=Object.getOwnPropertyDescriptor;var Rr=Object.getOwnPropertyNames;var Br=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty;var _r=(t,r)=>()=>(t&&(r=t(t=0)),r);var M=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Lr=(t,r)=>{for(var e in r)P(t,e,{get:r[e],enumerable:!0})},rr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Rr(r))!Ar.call(t,i)&&i!==e&&P(t,i,{get:()=>r[i],enumerable:!(n=br(r,i))||n.enumerable});return t};var er=(t,r,e)=>(e=t!=null?Ir(Br(t)):{},rr(r||!t||!t.__esModule?P(e,"default",{value:t,enumerable:!0}):e,t)),Ur=t=>rr(P({},"__esModule",{value:!0}),t);var ir=M(G=>{"use strict";l();G.byteLength=Er;G.toByteArray=Nr;G.fromByteArray=Gr;var k=[],v=[],Cr=typeof Uint8Array!="undefined"?Uint8Array:Array,W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_=0,tr=W.length;_<tr;++_)k[_]=W[_],v[W.charCodeAt(_)]=_;var _,tr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function nr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Er(t){var r=nr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Dr(t,r,e){return(r+e)*3/4-e}function Nr(t){var r,e=nr(t),n=e[0],i=e[1],a=new Cr(Dr(t,n,i)),o=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Pr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Mr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Pr(n));return i.join("")}function Gr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,u=e-n;o<u;o+=a)i.push(Mr(t,o,o+a>u?u:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var ar=M(Y=>{l();Y.read=function(t,r,e,n,i){var a,o,u=i*8-n-1,p=(1<<u)-1,f=p>>1,g=-7,c=e?i-1:0,F=e?-1:1,w=t[r+c];for(c+=F,a=w&(1<<-g)-1,w>>=-g,g+=u;g>0;a=a*256+t[r+c],c+=F,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+c],c+=F,g-=8);if(a===0)a=1-f;else{if(a===p)return o?NaN:(w?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(w?-1:1)*o*Math.pow(2,a-n)};Y.write=function(t,r,e,n,i,a){var o,u,p,f=a*8-i-1,g=(1<<f)-1,c=g>>1,F=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,C=n?1:-1,Sr=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+c>=1?r+=F/p:r+=F*Math.pow(2,1-c),r*p>=2&&(o++,p/=2),o+c>=g?(u=0,o=g):o+c>=1?(u=(r*p-1)*Math.pow(2,i),o=o+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+w]=u&255,w+=C,u/=256,i-=8);for(o=o<<i|u,f+=i;f>0;t[e+w]=o&255,w+=C,o/=256,f-=8);t[e+w-C]|=Sr*128}});var mr=M(D=>{"use strict";l();var z=ir(),E=ar(),or=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=zr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Or();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Or(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return ur(t,r,e)}s.poolSize=8192;function ur(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return Wr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(S(t,ArrayBuffer)||t&&S(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(S(t,SharedArrayBuffer)||t&&S(t.buffer,SharedArrayBuffer)))return X(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=Yr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return ur(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function cr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Hr(t,r,e){return cr(t),t<=0?R(t):r!==void 0?typeof e=="string"?R(t).fill(r,e):R(t).fill(r):R(t)}s.alloc=function(t,r,e){return Hr(t,r,e)};function j(t){return cr(t),R(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=lr(t,r)|0,n=R(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Q(t){for(var r=t.length<0?0:K(t.length)|0,e=R(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Wr(t){if(S(t,Uint8Array)){var r=new Uint8Array(t);return X(r.buffer,r.byteOffset,r.byteLength)}return Q(t)}function X(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function Yr(t){if(s.isBuffer(t)){var r=K(t.length)|0,e=R(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||V(t.length)?R(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function K(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function zr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),S(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.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}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(S(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function lr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||S(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return xr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=lr;function Qr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return te(this,r,e);case"utf8":case"utf-8":return gr(this,r,e);case"ascii":return re(this,r,e);case"latin1":case"binary":return ee(this,r,e);case"base64":return Zr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?gr(this,0,r):Qr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};or&&(s.prototype[or]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(S(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=n-e,p=Math.min(o,u),f=this.slice(i,a),g=r.slice(e,n),c=0;c<p;++c)if(f[c]!==g[c]){o=f[c],u=g[c];break}return o<u?-1:u<o?1:0};function fr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,V(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:sr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):sr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(t,r,e,n,i){var a=1,o=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,u/=2,e/=2}function p(w,C){return a===1?w[C]:w.readUInt16BE(C*a)}var f;if(i){var g=-1;for(f=e;f<o;f++)if(p(t,f)===p(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+u>o&&(e=o-u),f=e;f>=0;f--){for(var c=!0,F=0;F<u;F++)if(p(t,f+F)!==p(r,F)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return fr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return fr(this,r,e,n,!1)};function Xr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var u=parseInt(r.substr(o*2,2),16);if(V(u))return o;t[e+o]=u}return o}function Jr(t,r,e,n){return H(J(r,t.length-e),t,e,n)}function jr(t,r,e,n){return H(oe(r),t,e,n)}function Kr(t,r,e,n){return H(xr(r),t,e,n)}function Vr(t,r,e,n){return H(se(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Xr(this,r,e,n);case"utf8":case"utf-8":return Jr(this,r,e,n);case"ascii":case"latin1":case"binary":return jr(this,r,e,n);case"base64":return Kr(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vr(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Zr(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function gr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=e){var p,f,g,c;switch(u){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(c=(a&31)<<6|p&63,c>127&&(o=c));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(c=(a&15)<<12|(p&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:p=t[i+1],f=t[i+2],g=t[i+3],(p&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(p&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=u}return $r(n)}var pr=4096;function $r(t){var r=t.length;if(r<=pr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=pr));return e}function re(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ee(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function te(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=pe[t[a]];return i}function ne(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function d(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||d(r,4,this.length),E.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||d(r,4,this.length),E.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||d(r,8,this.length),E.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||d(r,8,this.length),E.read(this,r,!1,52,8)};function T(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=1,u=0;for(this[e]=r&255;++u<n&&(o*=256);)this[e+u]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=n-1,u=1;for(this[e+o]=r&255;--o>=0&&(u*=256);)this[e+o]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=0,u=1,p=0;for(this[e]=r&255;++o<n&&(u*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=n-1,u=1,p=0;for(this[e+o]=r&255;--o>=0&&(u*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function hr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function dr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,4,34028234663852886e22,-34028234663852886e22),E.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return dr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return dr(this,r,e,!1,n)};function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,8,17976931348623157e292,-17976931348623157e292),E.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return yr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return yr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=u[o%p]}return this};var ie=/[^+/0-9A-Za-z-_]/g;function ae(t){if(t=t.split("=")[0],t=t.trim().replace(ie,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function oe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function se(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function xr(t){return z.toByteArray(ae(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function S(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function V(t){return t!==t}var pe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var kr=M((xe,Fr)=>{l();var h=Fr.exports={},I,b;function Z(){throw new Error("setTimeout has not been defined")}function $(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?I=setTimeout:I=Z}catch(t){I=Z}try{typeof clearTimeout=="function"?b=clearTimeout:b=$}catch(t){b=$}})();function Tr(t){if(I===setTimeout)return setTimeout(t,0);if((I===Z||!I)&&setTimeout)return I=setTimeout,setTimeout(t,0);try{return I(t,0)}catch(r){try{return I.call(null,t,0)}catch(e){return I.call(this,t,0)}}}function ue(t){if(b===clearTimeout)return clearTimeout(t);if((b===$||!b)&&clearTimeout)return b=clearTimeout,clearTimeout(t);try{return b(t)}catch(r){try{return b.call(null,t)}catch(e){return b.call(this,t)}}}var B=[],N=!1,U,q=-1;function ce(){!N||!U||(N=!1,U.length?B=U.concat(B):q=-1,B.length&&wr())}function wr(){if(!N){var t=Tr(ce);N=!0;for(var r=B.length;r;){for(U=B,B=[];++q<r;)U&&U[q].run();q=-1,r=B.length}U=null,N=!1,ue(t)}}h.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new vr(t,r)),B.length===1&&!N&&Tr(wr)};function vr(t,r){this.fun=t,this.array=r}vr.prototype.run=function(){this.fun.apply(null,this.array)};h.title="browser";h.browser=!0;h.env={};h.argv=[];h.version="";h.versions={};function A(){}h.on=A;h.addListener=A;h.once=A;h.off=A;h.removeListener=A;h.removeAllListeners=A;h.emit=A;h.prependListener=A;h.prependOnceListener=A;h.listeners=function(t){return[]};h.binding=function(t){throw new Error("process.binding is not supported")};h.cwd=function(){return"/"};h.chdir=function(t){throw new Error("process.chdir is not supported")};h.umask=function(){return 0}});var y,x,me,l=_r(()=>{y=er(mr()),x=er(kr()),me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var fe={};Lr(fe,{getTransactionsStatus:()=>le});module.exports=Ur(fe);l();l();l();l();l();l();l();l();l();l();l();l();var le=({transactions:t,hasUnrelatedTransactions:r})=>{let e=t.every(({status:p})=>p==="fail"),n=t.some(({status:p})=>p==="fail"),i=t.some(({status:p})=>p==="pending"),a=t.every(({status:p})=>p==="success"),o=r&&Boolean(!i&&!e&&n);return{isPending:i,isSuccessful:a,isFailed:r?o?!1:e:n,isIncompleteFailed:o}};0&&(module.exports={getTransactionsStatus});
1
+ "use strict";var Sr=Object.create;var P=Object.defineProperty;var br=Object.getOwnPropertyDescriptor;var Rr=Object.getOwnPropertyNames;var Br=Object.getPrototypeOf,Ar=Object.prototype.hasOwnProperty;var _r=(t,r)=>()=>(t&&(r=t(t=0)),r);var M=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Lr=(t,r)=>{for(var e in r)P(t,e,{get:r[e],enumerable:!0})},rr=(t,r,e,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Rr(r))!Ar.call(t,i)&&i!==e&&P(t,i,{get:()=>r[i],enumerable:!(n=br(r,i))||n.enumerable});return t};var er=(t,r,e)=>(e=t!=null?Sr(Br(t)):{},rr(r||!t||!t.__esModule?P(e,"default",{value:t,enumerable:!0}):e,t)),Ur=t=>rr(P({},"__esModule",{value:!0}),t);var ir=M(G=>{"use strict";l();G.byteLength=Er;G.toByteArray=Nr;G.fromByteArray=Gr;var k=[],v=[],Cr=typeof Uint8Array!="undefined"?Uint8Array:Array,W="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(_=0,tr=W.length;_<tr;++_)k[_]=W[_],v[W.charCodeAt(_)]=_;var _,tr;v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function nr(t){var r=t.length;if(r%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var e=t.indexOf("=");e===-1&&(e=r);var n=e===r?0:4-e%4;return[e,n]}function Er(t){var r=nr(t),e=r[0],n=r[1];return(e+n)*3/4-n}function Dr(t,r,e){return(r+e)*3/4-e}function Nr(t){var r,e=nr(t),n=e[0],i=e[1],a=new Cr(Dr(t,n,i)),o=0,u=i>0?n-4:n,p;for(p=0;p<u;p+=4)r=v[t.charCodeAt(p)]<<18|v[t.charCodeAt(p+1)]<<12|v[t.charCodeAt(p+2)]<<6|v[t.charCodeAt(p+3)],a[o++]=r>>16&255,a[o++]=r>>8&255,a[o++]=r&255;return i===2&&(r=v[t.charCodeAt(p)]<<2|v[t.charCodeAt(p+1)]>>4,a[o++]=r&255),i===1&&(r=v[t.charCodeAt(p)]<<10|v[t.charCodeAt(p+1)]<<4|v[t.charCodeAt(p+2)]>>2,a[o++]=r>>8&255,a[o++]=r&255),a}function Pr(t){return k[t>>18&63]+k[t>>12&63]+k[t>>6&63]+k[t&63]}function Mr(t,r,e){for(var n,i=[],a=r;a<e;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Pr(n));return i.join("")}function Gr(t){for(var r,e=t.length,n=e%3,i=[],a=16383,o=0,u=e-n;o<u;o+=a)i.push(Mr(t,o,o+a>u?u:o+a));return n===1?(r=t[e-1],i.push(k[r>>2]+k[r<<4&63]+"==")):n===2&&(r=(t[e-2]<<8)+t[e-1],i.push(k[r>>10]+k[r>>4&63]+k[r<<2&63]+"=")),i.join("")}});var ar=M(Y=>{l();Y.read=function(t,r,e,n,i){var a,o,u=i*8-n-1,p=(1<<u)-1,f=p>>1,g=-7,c=e?i-1:0,F=e?-1:1,w=t[r+c];for(c+=F,a=w&(1<<-g)-1,w>>=-g,g+=u;g>0;a=a*256+t[r+c],c+=F,g-=8);for(o=a&(1<<-g)-1,a>>=-g,g+=n;g>0;o=o*256+t[r+c],c+=F,g-=8);if(a===0)a=1-f;else{if(a===p)return o?NaN:(w?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-f}return(w?-1:1)*o*Math.pow(2,a-n)};Y.write=function(t,r,e,n,i,a){var o,u,p,f=a*8-i-1,g=(1<<f)-1,c=g>>1,F=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=n?0:a-1,C=n?1:-1,Ir=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(u=isNaN(r)?1:0,o=g):(o=Math.floor(Math.log(r)/Math.LN2),r*(p=Math.pow(2,-o))<1&&(o--,p*=2),o+c>=1?r+=F/p:r+=F*Math.pow(2,1-c),r*p>=2&&(o++,p/=2),o+c>=g?(u=0,o=g):o+c>=1?(u=(r*p-1)*Math.pow(2,i),o=o+c):(u=r*Math.pow(2,c-1)*Math.pow(2,i),o=0));i>=8;t[e+w]=u&255,w+=C,u/=256,i-=8);for(o=o<<i|u,f+=i;f>0;t[e+w]=o&255,w+=C,o/=256,f-=8);t[e+w-C]|=Ir*128}});var mr=M(D=>{"use strict";l();var z=ir(),E=ar(),or=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;D.Buffer=s;D.SlowBuffer=zr;D.INSPECT_MAX_BYTES=50;var O=2147483647;D.kMaxLength=O;s.TYPED_ARRAY_SUPPORT=Or();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Or(){try{var t=new Uint8Array(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,Uint8Array.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch(e){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function R(t){if(t>O)throw new RangeError('The value "'+t+'" is invalid for option "size"');var r=new Uint8Array(t);return Object.setPrototypeOf(r,s.prototype),r}function s(t,r,e){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return j(t)}return ur(t,r,e)}s.poolSize=8192;function ur(t,r,e){if(typeof t=="string")return qr(t,r);if(ArrayBuffer.isView(t))return Wr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return X(t,r,e);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,r,e);var i=Yr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),r,e);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,r,e){return ur(t,r,e)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function cr(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function Hr(t,r,e){return cr(t),t<=0?R(t):r!==void 0?typeof e=="string"?R(t).fill(r,e):R(t).fill(r):R(t)}s.alloc=function(t,r,e){return Hr(t,r,e)};function j(t){return cr(t),R(t<0?0:K(t)|0)}s.allocUnsafe=function(t){return j(t)};s.allocUnsafeSlow=function(t){return j(t)};function qr(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!s.isEncoding(r))throw new TypeError("Unknown encoding: "+r);var e=lr(t,r)|0,n=R(e),i=n.write(t,r);return i!==e&&(n=n.slice(0,i)),n}function Q(t){for(var r=t.length<0?0:K(t.length)|0,e=R(r),n=0;n<r;n+=1)e[n]=t[n]&255;return e}function Wr(t){if(I(t,Uint8Array)){var r=new Uint8Array(t);return X(r.buffer,r.byteOffset,r.byteLength)}return Q(t)}function X(t,r,e){if(r<0||t.byteLength<r)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<r+(e||0))throw new RangeError('"length" is outside of buffer bounds');var n;return r===void 0&&e===void 0?n=new Uint8Array(t):e===void 0?n=new Uint8Array(t,r):n=new Uint8Array(t,r,e),Object.setPrototypeOf(n,s.prototype),n}function Yr(t){if(s.isBuffer(t)){var r=K(t.length)|0,e=R(r);return e.length===0||t.copy(e,0,0,r),e}if(t.length!==void 0)return typeof t.length!="number"||V(t.length)?R(0):Q(t);if(t.type==="Buffer"&&Array.isArray(t.data))return Q(t.data)}function K(t){if(t>=O)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+O.toString(16)+" bytes");return t|0}function zr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(r){return r!=null&&r._isBuffer===!0&&r!==s.prototype};s.compare=function(r,e){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(r)||!s.isBuffer(e))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(r===e)return 0;for(var n=r.length,i=e.length,a=0,o=Math.min(n,i);a<o;++a)if(r[a]!==e[a]){n=r[a],i=e[a];break}return n<i?-1:i<n?1:0};s.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}};s.concat=function(r,e){if(!Array.isArray(r))throw new TypeError('"list" argument must be an Array of Buffers');if(r.length===0)return s.alloc(0);var n;if(e===void 0)for(e=0,n=0;n<r.length;++n)e+=r[n].length;var i=s.allocUnsafe(e),a=0;for(n=0;n<r.length;++n){var o=r[n];if(I(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function lr(t,r){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var e=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&e===0)return 0;for(var i=!1;;)switch(r){case"ascii":case"latin1":case"binary":return e;case"utf8":case"utf-8":return J(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return e*2;case"hex":return e>>>1;case"base64":return xr(t).length;default:if(i)return n?-1:J(t).length;r=(""+r).toLowerCase(),i=!0}}s.byteLength=lr;function Qr(t,r,e){var n=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((e===void 0||e>this.length)&&(e=this.length),e<=0)||(e>>>=0,r>>>=0,e<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return te(this,r,e);case"utf8":case"utf-8":return gr(this,r,e);case"ascii":return re(this,r,e);case"latin1":case"binary":return ee(this,r,e);case"base64":return Zr(this,r,e);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ne(this,r,e);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function L(t,r,e){var n=t[r];t[r]=t[e],t[e]=n}s.prototype.swap16=function(){var r=this.length;if(r%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<r;e+=2)L(this,e,e+1);return this};s.prototype.swap32=function(){var r=this.length;if(r%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<r;e+=4)L(this,e,e+3),L(this,e+1,e+2);return this};s.prototype.swap64=function(){var r=this.length;if(r%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<r;e+=8)L(this,e,e+7),L(this,e+1,e+6),L(this,e+2,e+5),L(this,e+3,e+4);return this};s.prototype.toString=function(){var r=this.length;return r===0?"":arguments.length===0?gr(this,0,r):Qr.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(r){if(!s.isBuffer(r))throw new TypeError("Argument must be a Buffer");return this===r?!0:s.compare(this,r)===0};s.prototype.inspect=function(){var r="",e=D.INSPECT_MAX_BYTES;return r=this.toString("hex",0,e).replace(/(.{2})/g,"$1 ").trim(),this.length>e&&(r+=" ... "),"<Buffer "+r+">"};or&&(s.prototype[or]=s.prototype.inspect);s.prototype.compare=function(r,e,n,i,a){if(I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(r))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof r);if(e===void 0&&(e=0),n===void 0&&(n=r?r.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),e<0||n>r.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&e>=n)return 0;if(i>=a)return-1;if(e>=n)return 1;if(e>>>=0,n>>>=0,i>>>=0,a>>>=0,this===r)return 0;for(var o=a-i,u=n-e,p=Math.min(o,u),f=this.slice(i,a),g=r.slice(e,n),c=0;c<p;++c)if(f[c]!==g[c]){o=f[c],u=g[c];break}return o<u?-1:u<o?1:0};function fr(t,r,e,n,i){if(t.length===0)return-1;if(typeof e=="string"?(n=e,e=0):e>2147483647?e=2147483647:e<-2147483648&&(e=-2147483648),e=+e,V(e)&&(e=i?0:t.length-1),e<0&&(e=t.length+e),e>=t.length){if(i)return-1;e=t.length-1}else if(e<0)if(i)e=0;else return-1;if(typeof r=="string"&&(r=s.from(r,n)),s.isBuffer(r))return r.length===0?-1:sr(t,r,e,n,i);if(typeof r=="number")return r=r&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,r,e):Uint8Array.prototype.lastIndexOf.call(t,r,e):sr(t,[r],e,n,i);throw new TypeError("val must be string, number or Buffer")}function sr(t,r,e,n,i){var a=1,o=t.length,u=r.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||r.length<2)return-1;a=2,o/=2,u/=2,e/=2}function p(w,C){return a===1?w[C]:w.readUInt16BE(C*a)}var f;if(i){var g=-1;for(f=e;f<o;f++)if(p(t,f)===p(r,g===-1?0:f-g)){if(g===-1&&(g=f),f-g+1===u)return g*a}else g!==-1&&(f-=f-g),g=-1}else for(e+u>o&&(e=o-u),f=e;f>=0;f--){for(var c=!0,F=0;F<u;F++)if(p(t,f+F)!==p(r,F)){c=!1;break}if(c)return f}return-1}s.prototype.includes=function(r,e,n){return this.indexOf(r,e,n)!==-1};s.prototype.indexOf=function(r,e,n){return fr(this,r,e,n,!0)};s.prototype.lastIndexOf=function(r,e,n){return fr(this,r,e,n,!1)};function Xr(t,r,e,n){e=Number(e)||0;var i=t.length-e;n?(n=Number(n),n>i&&(n=i)):n=i;var a=r.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var u=parseInt(r.substr(o*2,2),16);if(V(u))return o;t[e+o]=u}return o}function Jr(t,r,e,n){return H(J(r,t.length-e),t,e,n)}function jr(t,r,e,n){return H(oe(r),t,e,n)}function Kr(t,r,e,n){return H(xr(r),t,e,n)}function Vr(t,r,e,n){return H(se(r,t.length-e),t,e,n)}s.prototype.write=function(r,e,n,i){if(e===void 0)i="utf8",n=this.length,e=0;else if(n===void 0&&typeof e=="string")i=e,n=this.length,e=0;else if(isFinite(e))e=e>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-e;if((n===void 0||n>a)&&(n=a),r.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Xr(this,r,e,n);case"utf8":case"utf-8":return Jr(this,r,e,n);case"ascii":case"latin1":case"binary":return jr(this,r,e,n);case"base64":return Kr(this,r,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Vr(this,r,e,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Zr(t,r,e){return r===0&&e===t.length?z.fromByteArray(t):z.fromByteArray(t.slice(r,e))}function gr(t,r,e){e=Math.min(t.length,e);for(var n=[],i=r;i<e;){var a=t[i],o=null,u=a>239?4:a>223?3:a>191?2:1;if(i+u<=e){var p,f,g,c;switch(u){case 1:a<128&&(o=a);break;case 2:p=t[i+1],(p&192)===128&&(c=(a&31)<<6|p&63,c>127&&(o=c));break;case 3:p=t[i+1],f=t[i+2],(p&192)===128&&(f&192)===128&&(c=(a&15)<<12|(p&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(o=c));break;case 4:p=t[i+1],f=t[i+2],g=t[i+3],(p&192)===128&&(f&192)===128&&(g&192)===128&&(c=(a&15)<<18|(p&63)<<12|(f&63)<<6|g&63,c>65535&&c<1114112&&(o=c))}}o===null?(o=65533,u=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=u}return $r(n)}var pr=4096;function $r(t){var r=t.length;if(r<=pr)return String.fromCharCode.apply(String,t);for(var e="",n=0;n<r;)e+=String.fromCharCode.apply(String,t.slice(n,n+=pr));return e}function re(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]&127);return n}function ee(t,r,e){var n="";e=Math.min(t.length,e);for(var i=r;i<e;++i)n+=String.fromCharCode(t[i]);return n}function te(t,r,e){var n=t.length;(!r||r<0)&&(r=0),(!e||e<0||e>n)&&(e=n);for(var i="",a=r;a<e;++a)i+=pe[t[a]];return i}function ne(t,r,e){for(var n=t.slice(r,e),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(r,e){var n=this.length;r=~~r,e=e===void 0?n:~~e,r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),e<r&&(e=r);var i=this.subarray(r,e);return Object.setPrototypeOf(i,s.prototype),i};function d(t,r,e){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+r>e)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r+--e],a=1;e>0&&(a*=256);)i+=this[r+--e]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]|this[r+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(r,e){return r=r>>>0,e||d(r,2,this.length),this[r]<<8|this[r+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),(this[r]|this[r+1]<<8|this[r+2]<<16)+this[r+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]*16777216+(this[r+1]<<16|this[r+2]<<8|this[r+3])};s.prototype.readIntLE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=this[r],a=1,o=0;++o<e&&(a*=256);)i+=this[r+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*e)),i};s.prototype.readIntBE=function(r,e,n){r=r>>>0,e=e>>>0,n||d(r,e,this.length);for(var i=e,a=1,o=this[r+--i];i>0&&(a*=256);)o+=this[r+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*e)),o};s.prototype.readInt8=function(r,e){return r=r>>>0,e||d(r,1,this.length),this[r]&128?(255-this[r]+1)*-1:this[r]};s.prototype.readInt16LE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r]|this[r+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(r,e){r=r>>>0,e||d(r,2,this.length);var n=this[r+1]|this[r]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]|this[r+1]<<8|this[r+2]<<16|this[r+3]<<24};s.prototype.readInt32BE=function(r,e){return r=r>>>0,e||d(r,4,this.length),this[r]<<24|this[r+1]<<16|this[r+2]<<8|this[r+3]};s.prototype.readFloatLE=function(r,e){return r=r>>>0,e||d(r,4,this.length),E.read(this,r,!0,23,4)};s.prototype.readFloatBE=function(r,e){return r=r>>>0,e||d(r,4,this.length),E.read(this,r,!1,23,4)};s.prototype.readDoubleLE=function(r,e){return r=r>>>0,e||d(r,8,this.length),E.read(this,r,!0,52,8)};s.prototype.readDoubleBE=function(r,e){return r=r>>>0,e||d(r,8,this.length),E.read(this,r,!1,52,8)};function T(t,r,e,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>i||r<a)throw new RangeError('"value" argument is out of bounds');if(e+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=1,u=0;for(this[e]=r&255;++u<n&&(o*=256);)this[e+u]=r/o&255;return e+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;T(this,r,e,n,a,0)}var o=n-1,u=1;for(this[e+o]=r&255;--o>=0&&(u*=256);)this[e+o]=r/u&255;return e+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,255,0),this[e]=r&255,e+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,65535,0),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e+3]=r>>>24,this[e+2]=r>>>16,this[e+1]=r>>>8,this[e]=r&255,e+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,4294967295,0),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};s.prototype.writeIntLE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=0,u=1,p=0;for(this[e]=r&255;++o<n&&(u*=256);)r<0&&p===0&&this[e+o-1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeIntBE=function(r,e,n,i){if(r=+r,e=e>>>0,!i){var a=Math.pow(2,8*n-1);T(this,r,e,n,a-1,-a)}var o=n-1,u=1,p=0;for(this[e+o]=r&255;--o>=0&&(u*=256);)r<0&&p===0&&this[e+o+1]!==0&&(p=1),this[e+o]=(r/u>>0)-p&255;return e+n};s.prototype.writeInt8=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,1,127,-128),r<0&&(r=255+r+1),this[e]=r&255,e+1};s.prototype.writeInt16LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r&255,this[e+1]=r>>>8,e+2};s.prototype.writeInt16BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,2,32767,-32768),this[e]=r>>>8,this[e+1]=r&255,e+2};s.prototype.writeInt32LE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),this[e]=r&255,this[e+1]=r>>>8,this[e+2]=r>>>16,this[e+3]=r>>>24,e+4};s.prototype.writeInt32BE=function(r,e,n){return r=+r,e=e>>>0,n||T(this,r,e,4,2147483647,-2147483648),r<0&&(r=4294967295+r+1),this[e]=r>>>24,this[e+1]=r>>>16,this[e+2]=r>>>8,this[e+3]=r&255,e+4};function hr(t,r,e,n,i,a){if(e+n>t.length)throw new RangeError("Index out of range");if(e<0)throw new RangeError("Index out of range")}function dr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,4,34028234663852886e22,-34028234663852886e22),E.write(t,r,e,n,23,4),e+4}s.prototype.writeFloatLE=function(r,e,n){return dr(this,r,e,!0,n)};s.prototype.writeFloatBE=function(r,e,n){return dr(this,r,e,!1,n)};function yr(t,r,e,n,i){return r=+r,e=e>>>0,i||hr(t,r,e,8,17976931348623157e292,-17976931348623157e292),E.write(t,r,e,n,52,8),e+8}s.prototype.writeDoubleLE=function(r,e,n){return yr(this,r,e,!0,n)};s.prototype.writeDoubleBE=function(r,e,n){return yr(this,r,e,!1,n)};s.prototype.copy=function(r,e,n,i){if(!s.isBuffer(r))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),e>=r.length&&(e=r.length),e||(e=0),i>0&&i<n&&(i=n),i===n||r.length===0||this.length===0)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),r.length-e<i-n&&(i=r.length-e+n);var a=i-n;return this===r&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(e,n,i):Uint8Array.prototype.set.call(r,this.subarray(n,i),e),a};s.prototype.fill=function(r,e,n,i){if(typeof r=="string"){if(typeof e=="string"?(i=e,e=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(r.length===1){var a=r.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(r=a)}}else typeof r=="number"?r=r&255:typeof r=="boolean"&&(r=Number(r));if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;e=e>>>0,n=n===void 0?this.length:n>>>0,r||(r=0);var o;if(typeof r=="number")for(o=e;o<n;++o)this[o]=r;else{var u=s.isBuffer(r)?r:s.from(r,i),p=u.length;if(p===0)throw new TypeError('The value "'+r+'" is invalid for argument "value"');for(o=0;o<n-e;++o)this[o+e]=u[o%p]}return this};var ie=/[^+/0-9A-Za-z-_]/g;function ae(t){if(t=t.split("=")[0],t=t.trim().replace(ie,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function J(t,r){r=r||1/0;for(var e,n=t.length,i=null,a=[],o=0;o<n;++o){if(e=t.charCodeAt(o),e>55295&&e<57344){if(!i){if(e>56319){(r-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(r-=3)>-1&&a.push(239,191,189);continue}i=e;continue}if(e<56320){(r-=3)>-1&&a.push(239,191,189),i=e;continue}e=(i-55296<<10|e-56320)+65536}else i&&(r-=3)>-1&&a.push(239,191,189);if(i=null,e<128){if((r-=1)<0)break;a.push(e)}else if(e<2048){if((r-=2)<0)break;a.push(e>>6|192,e&63|128)}else if(e<65536){if((r-=3)<0)break;a.push(e>>12|224,e>>6&63|128,e&63|128)}else if(e<1114112){if((r-=4)<0)break;a.push(e>>18|240,e>>12&63|128,e>>6&63|128,e&63|128)}else throw new Error("Invalid code point")}return a}function oe(t){for(var r=[],e=0;e<t.length;++e)r.push(t.charCodeAt(e)&255);return r}function se(t,r){for(var e,n,i,a=[],o=0;o<t.length&&!((r-=2)<0);++o)e=t.charCodeAt(o),n=e>>8,i=e%256,a.push(i),a.push(n);return a}function xr(t){return z.toByteArray(ae(t))}function H(t,r,e,n){for(var i=0;i<n&&!(i+e>=r.length||i>=t.length);++i)r[i+e]=t[i];return i}function I(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function V(t){return t!==t}var pe=function(){for(var t="0123456789abcdef",r=new Array(256),e=0;e<16;++e)for(var n=e*16,i=0;i<16;++i)r[n+i]=t[e]+t[i];return r}()});var kr=M((xe,Fr)=>{l();var h=Fr.exports={},S,b;function Z(){throw new Error("setTimeout has not been defined")}function $(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?S=setTimeout:S=Z}catch(t){S=Z}try{typeof clearTimeout=="function"?b=clearTimeout:b=$}catch(t){b=$}})();function Tr(t){if(S===setTimeout)return setTimeout(t,0);if((S===Z||!S)&&setTimeout)return S=setTimeout,setTimeout(t,0);try{return S(t,0)}catch(r){try{return S.call(null,t,0)}catch(e){return S.call(this,t,0)}}}function ue(t){if(b===clearTimeout)return clearTimeout(t);if((b===$||!b)&&clearTimeout)return b=clearTimeout,clearTimeout(t);try{return b(t)}catch(r){try{return b.call(null,t)}catch(e){return b.call(this,t)}}}var B=[],N=!1,U,q=-1;function ce(){!N||!U||(N=!1,U.length?B=U.concat(B):q=-1,B.length&&wr())}function wr(){if(!N){var t=Tr(ce);N=!0;for(var r=B.length;r;){for(U=B,B=[];++q<r;)U&&U[q].run();q=-1,r=B.length}U=null,N=!1,ue(t)}}h.nextTick=function(t){var r=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)r[e-1]=arguments[e];B.push(new vr(t,r)),B.length===1&&!N&&Tr(wr)};function vr(t,r){this.fun=t,this.array=r}vr.prototype.run=function(){this.fun.apply(null,this.array)};h.title="browser";h.browser=!0;h.env={};h.argv=[];h.version="";h.versions={};function A(){}h.on=A;h.addListener=A;h.once=A;h.off=A;h.removeListener=A;h.removeAllListeners=A;h.emit=A;h.prependListener=A;h.prependOnceListener=A;h.listeners=function(t){return[]};h.binding=function(t){throw new Error("process.binding is not supported")};h.cwd=function(){return"/"};h.chdir=function(t){throw new Error("process.chdir is not supported")};h.umask=function(){return 0}});var y,x,me,l=_r(()=>{y=er(mr()),x=er(kr()),me=function(t){function r(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return r();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:r});var e=__magic__;return e}(Object)});var fe={};Lr(fe,{getTransactionsStatus:()=>le});module.exports=Ur(fe);l();l();l();l();l();l();l();l();l();l();l();l();var le=({transactions:t,hasUnrelatedTransactions:r})=>{let e=t.every(({status:p})=>p==="fail"),n=t.some(({status:p})=>p==="fail"),i=t.some(({status:p})=>p==="pending"),a=t.every(({status:p})=>p==="success"),o=r&&Boolean(!i&&!e&&n);return{isPending:i,isSuccessful:a,isFailed:r?o?!1:e:n,isIncompleteFailed:o}};0&&(module.exports={getTransactionsStatus});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *
@@ -1,4 +1,4 @@
1
- "use strict";var Oe=Object.create;var M=Object.defineProperty;var Me=Object.getOwnPropertyDescriptor;var Pe=Object.getOwnPropertyNames;var Ge=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty;var Ve=(t,e)=>()=>(t&&(e=t(t=0)),e);var P=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),qe=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pe(e))!He.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Me(e,i))||n.enumerable});return t};var oe=(t,e,r)=>(r=t!=null?Oe(Ge(t)):{},ae(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),ze=t=>ae(M({},"__esModule",{value:!0}),t);var ce=P(G=>{"use strict";l();G.byteLength=je;G.toByteArray=Ye;G.fromByteArray=Je;var I=[],b=[],We=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,se=z.length;L<se;++L)I[L]=z[L],b[z.charCodeAt(L)]=L;var L,se;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function le(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function je(t){var e=le(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Xe(t,e,r){return(e+r)*3/4-r}function Ye(t){var e,r=le(t),n=r[0],i=r[1],a=new We(Xe(t,n,i)),o=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=b[t.charCodeAt(u)]<<18|b[t.charCodeAt(u+1)]<<12|b[t.charCodeAt(u+2)]<<6|b[t.charCodeAt(u+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(u)]<<2|b[t.charCodeAt(u+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(u)]<<10|b[t.charCodeAt(u+1)]<<4|b[t.charCodeAt(u+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ke(t){return I[t>>18&63]+I[t>>12&63]+I[t>>6&63]+I[t&63]}function Qe(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ke(n));return i.join("")}function Je(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(Qe(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(I[e>>2]+I[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(I[e>>10]+I[e>>4&63]+I[e<<2&63]+"=")),i.join("")}});var ue=P(W=>{l();W.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,u=(1<<c)-1,g=u>>1,f=-7,p=r?i-1:0,v=r?-1:1,T=t[e+p];for(p+=v,a=T&(1<<-f)-1,T>>=-f,f+=c;f>0;a=a*256+t[e+p],p+=v,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[e+p],p+=v,f-=8);if(a===0)a=1-g;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-g}return(T?-1:1)*o*Math.pow(2,a-n)};W.write=function(t,e,r,n,i,a){var o,c,u,g=a*8-i-1,f=(1<<g)-1,p=f>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,C=n?1:-1,Ue=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+p>=1?e+=v/u:e+=v*Math.pow(2,1-p),e*u>=2&&(o++,u/=2),o+p>=f?(c=0,o=f):o+p>=1?(c=(e*u-1)*Math.pow(2,i),o=o+p):(c=e*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=c&255,T+=C,c/=256,i-=8);for(o=o<<i|c,g+=i;g>0;t[r+T]=o&255,T+=C,o/=256,g-=8);t[r+T-C]|=Ue*128}});var Ie=P(U=>{"use strict";l();var j=ce(),B=ue(),pe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=nr;U.INSPECT_MAX_BYTES=50;var H=2147483647;U.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=Ze();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Ze(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function A(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return fe(t,e,r)}s.poolSize=8192;function fe(t,e,r){if(typeof t=="string")return er(t,e);if(ArrayBuffer.isView(t))return rr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(_(t,ArrayBuffer)||t&&_(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(_(t,SharedArrayBuffer)||t&&_(t.buffer,SharedArrayBuffer)))return Y(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=tr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return fe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function me(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function $e(t,e,r){return me(t),t<=0?A(t):e!==void 0?typeof r=="string"?A(t).fill(e,r):A(t).fill(e):A(t)}s.alloc=function(t,e,r){return $e(t,e,r)};function Q(t){return me(t),A(t<0?0:J(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function er(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=he(t,e)|0,n=A(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function X(t){for(var e=t.length<0?0:J(t.length)|0,r=A(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function rr(t){if(_(t,Uint8Array)){var e=new Uint8Array(t);return Y(e.buffer,e.byteOffset,e.byteLength)}return X(t)}function Y(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function tr(t){if(s.isBuffer(t)){var e=J(t.length)|0,r=A(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Z(t.length)?A(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function J(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function nr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(_(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function he(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||_(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ve(t).length;default:if(i)return n?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=he;function ir(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return fr(this,e,r);case"utf8":case"utf-8":return xe(this,e,r);case"ascii":return dr(this,e,r);case"latin1":case"binary":return gr(this,e,r);case"base64":return ur(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function D(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)D(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)D(this,r,r+3),D(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)D(this,r,r+7),D(this,r+1,r+6),D(this,r+2,r+5),D(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?xe(this,0,e):ir.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};pe&&(s.prototype[pe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,u=Math.min(o,c),g=this.slice(i,a),f=e.slice(r,n),p=0;p<u;++p)if(g[p]!==f[p]){o=g[p],c=f[p];break}return o<c?-1:c<o?1:0};function ye(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Z(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:de(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):de(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function de(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function u(T,C){return a===1?T[C]:T.readUInt16BE(C*a)}var g;if(i){var f=-1;for(g=r;g<o;g++)if(u(t,g)===u(e,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===c)return f*a}else f!==-1&&(g-=g-f),f=-1}else for(r+c>o&&(r=o-c),g=r;g>=0;g--){for(var p=!0,v=0;v<c;v++)if(u(t,g+v)!==u(e,v)){p=!1;break}if(p)return g}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return ye(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return ye(this,e,r,n,!1)};function ar(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(Z(c))return o;t[r+o]=c}return o}function or(t,e,r,n){return V(K(e,t.length-r),t,r,n)}function sr(t,e,r,n){return V(xr(e),t,r,n)}function lr(t,e,r,n){return V(ve(e),t,r,n)}function cr(t,e,r,n){return V(wr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return ar(this,e,r,n);case"utf8":case"utf-8":return or(this,e,r,n);case"ascii":case"latin1":case"binary":return sr(this,e,r,n);case"base64":return lr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return cr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ur(t,e,r){return e===0&&r===t.length?j.fromByteArray(t):j.fromByteArray(t.slice(e,r))}function xe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var u,g,f,p;switch(c){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(p=(a&31)<<6|u&63,p>127&&(o=p));break;case 3:u=t[i+1],g=t[i+2],(u&192)===128&&(g&192)===128&&(p=(a&15)<<12|(u&63)<<6|g&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:u=t[i+1],g=t[i+2],f=t[i+3],(u&192)===128&&(g&192)===128&&(f&192)===128&&(p=(a&15)<<18|(u&63)<<12|(g&63)<<6|f&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return pr(n)}var ge=4096;function pr(t){var e=t.length;if(e<=ge)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ge));return r}function dr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function gr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function fr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Tr[t[a]];return i}function mr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!1,52,8)};function w(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=0,c=1,u=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&u===0&&this[r+o-1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=n-1,c=1,u=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&u===0&&this[r+o+1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function we(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Te(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Te(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Te(this,e,r,!1,n)};function be(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return be(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return be(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%u]}return this};var hr=/[^+/0-9A-Za-z-_]/g;function yr(t){if(t=t.split("=")[0],t=t.trim().replace(hr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function xr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function wr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function ve(t){return j.toByteArray(yr(t))}function V(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function _(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Z(t){return t!==t}var Tr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Ae=P((Dr,Se)=>{l();var y=Se.exports={},k,E;function $(){throw new Error("setTimeout has not been defined")}function ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?k=setTimeout:k=$}catch(t){k=$}try{typeof clearTimeout=="function"?E=clearTimeout:E=ee}catch(t){E=ee}})();function _e(t){if(k===setTimeout)return setTimeout(t,0);if((k===$||!k)&&setTimeout)return k=setTimeout,setTimeout(t,0);try{return k(t,0)}catch(e){try{return k.call(null,t,0)}catch(r){return k.call(this,t,0)}}}function br(t){if(E===clearTimeout)return clearTimeout(t);if((E===ee||!E)&&clearTimeout)return E=clearTimeout,clearTimeout(t);try{return E(t)}catch(e){try{return E.call(null,t)}catch(r){return E.call(this,t)}}}var R=[],O=!1,F,q=-1;function vr(){!O||!F||(O=!1,F.length?R=F.concat(R):q=-1,R.length&&ke())}function ke(){if(!O){var t=_e(vr);O=!0;for(var e=R.length;e;){for(F=R,R=[];++q<e;)F&&F[q].run();q=-1,e=R.length}F=null,O=!1,br(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];R.push(new Ee(t,e)),R.length===1&&!O&&_e(ke)};function Ee(t,e){this.fun=t,this.array=e}Ee.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,m,Fr,l=Ve(()=>{d=oe(Ie()),m=oe(Ae()),Fr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Sr={};qe(Sr,{getAreTransactionsOnSameShard:()=>Er});module.exports=ze(Sr);l();l();var ne=require("@multiversx/sdk-core/out");l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var re={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",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",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",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Re,egldLabel:$r}=re["devnet"],{chainId:Ne,egldLabel:et}=re["testnet"],{chainId:Le,egldLabel:rt}=re["mainnet"];var tt={["devnet"]:Re,["testnet"]:Ne,["mainnet"]:Le},nt={[Re]:"devnet",[Ne]:"testnet",[Le]:"mainnet"};l();l();l();l();var S=require("@multiversx/sdk-web-wallet-provider");l();l();var De=4294967295;var Ir=t=>{let e=d.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(t.slice(0,e.length).equals(e))return!0;let n=d.Buffer.alloc(32).fill(0);return t.equals(n)},te=t=>{try{let r=parseInt("11",2),n=parseInt("01",2),i=d.Buffer.from(t,"hex"),a=i[31];if(Ir(i))return De;let o=a&r;return o>3-1&&(o=a&n),o}catch(e){return-1}};function Fe({receiverAddress:t,senderShard:e,senderAddress:r}){try{let n=new ne.Address(t),i=te(n.pubkey());if(e==null&&r!=null){let a=new ne.Address(r);return te(a)===i}return i===e}catch(n){return!1}}l();var ie=require("@multiversx/sdk-core");l();var _r=require("@multiversx/sdk-core");l();function Ce(t){try{let e=atob(t),r=btoa(e),n=d.Buffer.from(t,"base64").toString(),i=d.Buffer.from(n).toString("base64");if(t===r&&t===i||e===n)return!0}catch(e){return!1}return!1}function Be({receiver:t,data:e}){try{if(!e)return t;let r=Ce(e)?ie.TransactionPayload.fromEncoded(e).toString():e,n=kr(r),i=r.split("@");return n>-1?i[n]:t}catch(r){console.log(r);return}}function kr(t){return t.includes("MultiESDTNFTTransfer")?1:t.includes("ESDTNFTTransfer")?4:-1}var Er=(t,e=1)=>t!=null&&t.length?t.reduce((r,{receiver:n,data:i})=>{let a=Be({receiver:n,data:i!=null?i:""});return a==null?r:r&&Fe({receiverAddress:a,senderShard:e})},!0):!0;0&&(module.exports={getAreTransactionsOnSameShard});
1
+ "use strict";var Oe=Object.create;var M=Object.defineProperty;var Me=Object.getOwnPropertyDescriptor;var Pe=Object.getOwnPropertyNames;var Ge=Object.getPrototypeOf,He=Object.prototype.hasOwnProperty;var Ve=(t,e)=>()=>(t&&(e=t(t=0)),e);var P=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),qe=(t,e)=>{for(var r in e)M(t,r,{get:e[r],enumerable:!0})},ae=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Pe(e))!He.call(t,i)&&i!==r&&M(t,i,{get:()=>e[i],enumerable:!(n=Me(e,i))||n.enumerable});return t};var oe=(t,e,r)=>(r=t!=null?Oe(Ge(t)):{},ae(e||!t||!t.__esModule?M(r,"default",{value:t,enumerable:!0}):r,t)),ze=t=>ae(M({},"__esModule",{value:!0}),t);var ce=P(G=>{"use strict";l();G.byteLength=je;G.toByteArray=Ye;G.fromByteArray=Je;var _=[],b=[],We=typeof Uint8Array!="undefined"?Uint8Array:Array,z="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(L=0,se=z.length;L<se;++L)_[L]=z[L],b[z.charCodeAt(L)]=L;var L,se;b["-".charCodeAt(0)]=62;b["_".charCodeAt(0)]=63;function le(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");r===-1&&(r=e);var n=r===e?0:4-r%4;return[r,n]}function je(t){var e=le(t),r=e[0],n=e[1];return(r+n)*3/4-n}function Xe(t,e,r){return(e+r)*3/4-r}function Ye(t){var e,r=le(t),n=r[0],i=r[1],a=new We(Xe(t,n,i)),o=0,c=i>0?n-4:n,u;for(u=0;u<c;u+=4)e=b[t.charCodeAt(u)]<<18|b[t.charCodeAt(u+1)]<<12|b[t.charCodeAt(u+2)]<<6|b[t.charCodeAt(u+3)],a[o++]=e>>16&255,a[o++]=e>>8&255,a[o++]=e&255;return i===2&&(e=b[t.charCodeAt(u)]<<2|b[t.charCodeAt(u+1)]>>4,a[o++]=e&255),i===1&&(e=b[t.charCodeAt(u)]<<10|b[t.charCodeAt(u+1)]<<4|b[t.charCodeAt(u+2)]>>2,a[o++]=e>>8&255,a[o++]=e&255),a}function Ke(t){return _[t>>18&63]+_[t>>12&63]+_[t>>6&63]+_[t&63]}function Qe(t,e,r){for(var n,i=[],a=e;a<r;a+=3)n=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(t[a+2]&255),i.push(Ke(n));return i.join("")}function Je(t){for(var e,r=t.length,n=r%3,i=[],a=16383,o=0,c=r-n;o<c;o+=a)i.push(Qe(t,o,o+a>c?c:o+a));return n===1?(e=t[r-1],i.push(_[e>>2]+_[e<<4&63]+"==")):n===2&&(e=(t[r-2]<<8)+t[r-1],i.push(_[e>>10]+_[e>>4&63]+_[e<<2&63]+"=")),i.join("")}});var ue=P(W=>{l();W.read=function(t,e,r,n,i){var a,o,c=i*8-n-1,u=(1<<c)-1,g=u>>1,f=-7,p=r?i-1:0,v=r?-1:1,T=t[e+p];for(p+=v,a=T&(1<<-f)-1,T>>=-f,f+=c;f>0;a=a*256+t[e+p],p+=v,f-=8);for(o=a&(1<<-f)-1,a>>=-f,f+=n;f>0;o=o*256+t[e+p],p+=v,f-=8);if(a===0)a=1-g;else{if(a===u)return o?NaN:(T?-1:1)*(1/0);o=o+Math.pow(2,n),a=a-g}return(T?-1:1)*o*Math.pow(2,a-n)};W.write=function(t,e,r,n,i,a){var o,c,u,g=a*8-i-1,f=(1<<g)-1,p=f>>1,v=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,T=n?0:a-1,C=n?1:-1,Ue=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(c=isNaN(e)?1:0,o=f):(o=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-o))<1&&(o--,u*=2),o+p>=1?e+=v/u:e+=v*Math.pow(2,1-p),e*u>=2&&(o++,u/=2),o+p>=f?(c=0,o=f):o+p>=1?(c=(e*u-1)*Math.pow(2,i),o=o+p):(c=e*Math.pow(2,p-1)*Math.pow(2,i),o=0));i>=8;t[r+T]=c&255,T+=C,c/=256,i-=8);for(o=o<<i|c,g+=i;g>0;t[r+T]=o&255,T+=C,o/=256,g-=8);t[r+T-C]|=Ue*128}});var _e=P(U=>{"use strict";l();var j=ce(),B=ue(),pe=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;U.Buffer=s;U.SlowBuffer=nr;U.INSPECT_MAX_BYTES=50;var H=2147483647;U.kMaxLength=H;s.TYPED_ARRAY_SUPPORT=Ze();!s.TYPED_ARRAY_SUPPORT&&typeof console!="undefined"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function Ze(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),t.foo()===42}catch(r){return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.buffer}});Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(!!s.isBuffer(this))return this.byteOffset}});function S(t){if(t>H)throw new RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if(typeof t=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Q(t)}return fe(t,e,r)}s.poolSize=8192;function fe(t,e,r){if(typeof t=="string")return er(t,e);if(ArrayBuffer.isView(t))return rr(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return Y(t,e,r);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=t.valueOf&&t.valueOf();if(n!=null&&n!==t)return s.from(n,e,r);var i=tr(t);if(i)return i;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return s.from(t[Symbol.toPrimitive]("string"),e,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}s.from=function(t,e,r){return fe(t,e,r)};Object.setPrototypeOf(s.prototype,Uint8Array.prototype);Object.setPrototypeOf(s,Uint8Array);function me(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function $e(t,e,r){return me(t),t<=0?S(t):e!==void 0?typeof r=="string"?S(t).fill(e,r):S(t).fill(e):S(t)}s.alloc=function(t,e,r){return $e(t,e,r)};function Q(t){return me(t),S(t<0?0:J(t)|0)}s.allocUnsafe=function(t){return Q(t)};s.allocUnsafeSlow=function(t){return Q(t)};function er(t,e){if((typeof e!="string"||e==="")&&(e="utf8"),!s.isEncoding(e))throw new TypeError("Unknown encoding: "+e);var r=he(t,e)|0,n=S(r),i=n.write(t,e);return i!==r&&(n=n.slice(0,i)),n}function X(t){for(var e=t.length<0?0:J(t.length)|0,r=S(e),n=0;n<e;n+=1)r[n]=t[n]&255;return r}function rr(t){if(I(t,Uint8Array)){var e=new Uint8Array(t);return Y(e.buffer,e.byteOffset,e.byteLength)}return X(t)}function Y(t,e,r){if(e<0||t.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return e===void 0&&r===void 0?n=new Uint8Array(t):r===void 0?n=new Uint8Array(t,e):n=new Uint8Array(t,e,r),Object.setPrototypeOf(n,s.prototype),n}function tr(t){if(s.isBuffer(t)){var e=J(t.length)|0,r=S(e);return r.length===0||t.copy(r,0,0,e),r}if(t.length!==void 0)return typeof t.length!="number"||Z(t.length)?S(0):X(t);if(t.type==="Buffer"&&Array.isArray(t.data))return X(t.data)}function J(t){if(t>=H)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+H.toString(16)+" bytes");return t|0}function nr(t){return+t!=t&&(t=0),s.alloc(+t)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype};s.compare=function(e,r){if(I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),I(r,Uint8Array)&&(r=s.from(r,r.offset,r.byteLength)),!s.isBuffer(e)||!s.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===r)return 0;for(var n=e.length,i=r.length,a=0,o=Math.min(n,i);a<o;++a)if(e[a]!==r[a]){n=e[a],i=r[a];break}return n<i?-1:i<n?1:0};s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};s.concat=function(e,r){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return s.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<e.length;++n)r+=e[n].length;var i=s.allocUnsafe(r),a=0;for(n=0;n<e.length;++n){var o=e[n];if(I(o,Uint8Array))a+o.length>i.length?s.from(o).copy(i,a):Uint8Array.prototype.set.call(i,o,a);else if(s.isBuffer(o))o.copy(i,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=o.length}return i};function he(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return K(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return ve(t).length;default:if(i)return n?-1:K(t).length;e=(""+e).toLowerCase(),i=!0}}s.byteLength=he;function ir(t,e,r){var n=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,e>>>=0,r<=e))return"";for(t||(t="utf8");;)switch(t){case"hex":return fr(this,e,r);case"utf8":case"utf-8":return xe(this,e,r);case"ascii":return dr(this,e,r);case"latin1":case"binary":return gr(this,e,r);case"base64":return ur(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return mr(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}s.prototype._isBuffer=!0;function D(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}s.prototype.swap16=function(){var e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<e;r+=2)D(this,r,r+1);return this};s.prototype.swap32=function(){var e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<e;r+=4)D(this,r,r+3),D(this,r+1,r+2);return this};s.prototype.swap64=function(){var e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<e;r+=8)D(this,r,r+7),D(this,r+1,r+6),D(this,r+2,r+5),D(this,r+3,r+4);return this};s.prototype.toString=function(){var e=this.length;return e===0?"":arguments.length===0?xe(this,0,e):ir.apply(this,arguments)};s.prototype.toLocaleString=s.prototype.toString;s.prototype.equals=function(e){if(!s.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:s.compare(this,e)===0};s.prototype.inspect=function(){var e="",r=U.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"};pe&&(s.prototype[pe]=s.prototype.inspect);s.prototype.compare=function(e,r,n,i,a){if(I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(r===void 0&&(r=0),n===void 0&&(n=e?e.length:0),i===void 0&&(i=0),a===void 0&&(a=this.length),r<0||n>e.length||i<0||a>this.length)throw new RangeError("out of range index");if(i>=a&&r>=n)return 0;if(i>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,i>>>=0,a>>>=0,this===e)return 0;for(var o=a-i,c=n-r,u=Math.min(o,c),g=this.slice(i,a),f=e.slice(r,n),p=0;p<u;++p)if(g[p]!==f[p]){o=g[p],c=f[p];break}return o<c?-1:c<o?1:0};function ye(t,e,r,n,i){if(t.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Z(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0)if(i)r=0;else return-1;if(typeof e=="string"&&(e=s.from(e,n)),s.isBuffer(e))return e.length===0?-1:de(t,e,r,n,i);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):de(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function de(t,e,r,n,i){var a=1,o=t.length,c=e.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(t.length<2||e.length<2)return-1;a=2,o/=2,c/=2,r/=2}function u(T,C){return a===1?T[C]:T.readUInt16BE(C*a)}var g;if(i){var f=-1;for(g=r;g<o;g++)if(u(t,g)===u(e,f===-1?0:g-f)){if(f===-1&&(f=g),g-f+1===c)return f*a}else f!==-1&&(g-=g-f),f=-1}else for(r+c>o&&(r=o-c),g=r;g>=0;g--){for(var p=!0,v=0;v<c;v++)if(u(t,g+v)!==u(e,v)){p=!1;break}if(p)return g}return-1}s.prototype.includes=function(e,r,n){return this.indexOf(e,r,n)!==-1};s.prototype.indexOf=function(e,r,n){return ye(this,e,r,n,!0)};s.prototype.lastIndexOf=function(e,r,n){return ye(this,e,r,n,!1)};function ar(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var a=e.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var c=parseInt(e.substr(o*2,2),16);if(Z(c))return o;t[r+o]=c}return o}function or(t,e,r,n){return V(K(e,t.length-r),t,r,n)}function sr(t,e,r,n){return V(xr(e),t,r,n)}function lr(t,e,r,n){return V(ve(e),t,r,n)}function cr(t,e,r,n){return V(wr(e,t.length-r),t,r,n)}s.prototype.write=function(e,r,n,i){if(r===void 0)i="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")i=r,n=this.length,r=0;else if(isFinite(r))r=r>>>0,isFinite(n)?(n=n>>>0,i===void 0&&(i="utf8")):(i=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var a=this.length-r;if((n===void 0||n>a)&&(n=a),e.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return ar(this,e,r,n);case"utf8":case"utf-8":return or(this,e,r,n);case"ascii":case"latin1":case"binary":return sr(this,e,r,n);case"base64":return lr(this,e,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return cr(this,e,r,n);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}};s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ur(t,e,r){return e===0&&r===t.length?j.fromByteArray(t):j.fromByteArray(t.slice(e,r))}function xe(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var a=t[i],o=null,c=a>239?4:a>223?3:a>191?2:1;if(i+c<=r){var u,g,f,p;switch(c){case 1:a<128&&(o=a);break;case 2:u=t[i+1],(u&192)===128&&(p=(a&31)<<6|u&63,p>127&&(o=p));break;case 3:u=t[i+1],g=t[i+2],(u&192)===128&&(g&192)===128&&(p=(a&15)<<12|(u&63)<<6|g&63,p>2047&&(p<55296||p>57343)&&(o=p));break;case 4:u=t[i+1],g=t[i+2],f=t[i+3],(u&192)===128&&(g&192)===128&&(f&192)===128&&(p=(a&15)<<18|(u&63)<<12|(g&63)<<6|f&63,p>65535&&p<1114112&&(o=p))}}o===null?(o=65533,c=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|o&1023),n.push(o),i+=c}return pr(n)}var ge=4096;function pr(t){var e=t.length;if(e<=ge)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=ge));return r}function dr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]&127);return n}function gr(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}function fr(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=e;a<r;++a)i+=Tr[t[a]];return i}function mr(t,e,r){for(var n=t.slice(e,r),i="",a=0;a<n.length-1;a+=2)i+=String.fromCharCode(n[a]+n[a+1]*256);return i}s.prototype.slice=function(e,r){var n=this.length;e=~~e,r=r===void 0?n:~~r,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<e&&(r=e);var i=this.subarray(e,r);return Object.setPrototypeOf(i,s.prototype),i};function x(t,e,r){if(t%1!==0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return i};s.prototype.readUintBE=s.prototype.readUIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e+--r],a=1;r>0&&(a*=256);)i+=this[e+--r]*a;return i};s.prototype.readUint8=s.prototype.readUInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]};s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]|this[e+1]<<8};s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,r){return e=e>>>0,r||x(e,2,this.length),this[e]<<8|this[e+1]};s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};s.prototype.readIntLE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=this[e],a=1,o=0;++o<r&&(a*=256);)i+=this[e+o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};s.prototype.readIntBE=function(e,r,n){e=e>>>0,r=r>>>0,n||x(e,r,this.length);for(var i=r,a=1,o=this[e+--i];i>0&&(a*=256);)o+=this[e+--i]*a;return a*=128,o>=a&&(o-=Math.pow(2,8*r)),o};s.prototype.readInt8=function(e,r){return e=e>>>0,r||x(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};s.prototype.readInt16LE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n};s.prototype.readInt16BE=function(e,r){e=e>>>0,r||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n};s.prototype.readInt32LE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};s.prototype.readInt32BE=function(e,r){return e=e>>>0,r||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};s.prototype.readFloatLE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!0,23,4)};s.prototype.readFloatBE=function(e,r){return e=e>>>0,r||x(e,4,this.length),B.read(this,e,!1,23,4)};s.prototype.readDoubleLE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!0,52,8)};s.prototype.readDoubleBE=function(e,r){return e=e>>>0,r||x(e,8,this.length),B.read(this,e,!1,52,8)};function w(t,e,r,n,i,a){if(!s.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<a)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=1,c=0;for(this[r]=e&255;++c<n&&(o*=256);)this[r+c]=e/o&255;return r+n};s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,n=n>>>0,!i){var a=Math.pow(2,8*n)-1;w(this,e,r,n,a,0)}var o=n-1,c=1;for(this[r+o]=e&255;--o>=0&&(c*=256);)this[r+o]=e/c&255;return r+n};s.prototype.writeUint8=s.prototype.writeUInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,255,0),this[r]=e&255,r+1};s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,65535,0),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r+3]=e>>>24,this[r+2]=e>>>16,this[r+1]=e>>>8,this[r]=e&255,r+4};s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,4294967295,0),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};s.prototype.writeIntLE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=0,c=1,u=0;for(this[r]=e&255;++o<n&&(c*=256);)e<0&&u===0&&this[r+o-1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeIntBE=function(e,r,n,i){if(e=+e,r=r>>>0,!i){var a=Math.pow(2,8*n-1);w(this,e,r,n,a-1,-a)}var o=n-1,c=1,u=0;for(this[r+o]=e&255;--o>=0&&(c*=256);)e<0&&u===0&&this[r+o+1]!==0&&(u=1),this[r+o]=(e/c>>0)-u&255;return r+n};s.prototype.writeInt8=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,1,127,-128),e<0&&(e=255+e+1),this[r]=e&255,r+1};s.prototype.writeInt16LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e&255,this[r+1]=e>>>8,r+2};s.prototype.writeInt16BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,2,32767,-32768),this[r]=e>>>8,this[r+1]=e&255,r+2};s.prototype.writeInt32LE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),this[r]=e&255,this[r+1]=e>>>8,this[r+2]=e>>>16,this[r+3]=e>>>24,r+4};s.prototype.writeInt32BE=function(e,r,n){return e=+e,r=r>>>0,n||w(this,e,r,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[r]=e>>>24,this[r+1]=e>>>16,this[r+2]=e>>>8,this[r+3]=e&255,r+4};function we(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Te(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,4,34028234663852886e22,-34028234663852886e22),B.write(t,e,r,n,23,4),r+4}s.prototype.writeFloatLE=function(e,r,n){return Te(this,e,r,!0,n)};s.prototype.writeFloatBE=function(e,r,n){return Te(this,e,r,!1,n)};function be(t,e,r,n,i){return e=+e,r=r>>>0,i||we(t,e,r,8,17976931348623157e292,-17976931348623157e292),B.write(t,e,r,n,52,8),r+8}s.prototype.writeDoubleLE=function(e,r,n){return be(this,e,r,!0,n)};s.prototype.writeDoubleBE=function(e,r,n){return be(this,e,r,!1,n)};s.prototype.copy=function(e,r,n,i){if(!s.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n||(n=0),!i&&i!==0&&(i=this.length),r>=e.length&&(r=e.length),r||(r=0),i>0&&i<n&&(i=n),i===n||e.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-r<i-n&&(i=e.length-r+n);var a=i-n;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(r,n,i):Uint8Array.prototype.set.call(e,this.subarray(n,i),r),a};s.prototype.fill=function(e,r,n,i){if(typeof e=="string"){if(typeof r=="string"?(i=r,r=0,n=this.length):typeof n=="string"&&(i=n,n=this.length),i!==void 0&&typeof i!="string")throw new TypeError("encoding must be a string");if(typeof i=="string"&&!s.isEncoding(i))throw new TypeError("Unknown encoding: "+i);if(e.length===1){var a=e.charCodeAt(0);(i==="utf8"&&a<128||i==="latin1")&&(e=a)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,e||(e=0);var o;if(typeof e=="number")for(o=r;o<n;++o)this[o]=e;else{var c=s.isBuffer(e)?e:s.from(e,i),u=c.length;if(u===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-r;++o)this[o+r]=c[o%u]}return this};var hr=/[^+/0-9A-Za-z-_]/g;function yr(t){if(t=t.split("=")[0],t=t.trim().replace(hr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function K(t,e){e=e||1/0;for(var r,n=t.length,i=null,a=[],o=0;o<n;++o){if(r=t.charCodeAt(o),r>55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}else if(o+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function xr(t){for(var e=[],r=0;r<t.length;++r)e.push(t.charCodeAt(r)&255);return e}function wr(t,e){for(var r,n,i,a=[],o=0;o<t.length&&!((e-=2)<0);++o)r=t.charCodeAt(o),n=r>>8,i=r%256,a.push(i),a.push(n);return a}function ve(t){return j.toByteArray(yr(t))}function V(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function I(t,e){return t instanceof e||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===e.name}function Z(t){return t!==t}var Tr=function(){for(var t="0123456789abcdef",e=new Array(256),r=0;r<16;++r)for(var n=r*16,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()});var Se=P((Dr,Ae)=>{l();var y=Ae.exports={},E,k;function $(){throw new Error("setTimeout has not been defined")}function ee(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?E=setTimeout:E=$}catch(t){E=$}try{typeof clearTimeout=="function"?k=clearTimeout:k=ee}catch(t){k=ee}})();function Ie(t){if(E===setTimeout)return setTimeout(t,0);if((E===$||!E)&&setTimeout)return E=setTimeout,setTimeout(t,0);try{return E(t,0)}catch(e){try{return E.call(null,t,0)}catch(r){return E.call(this,t,0)}}}function br(t){if(k===clearTimeout)return clearTimeout(t);if((k===ee||!k)&&clearTimeout)return k=clearTimeout,clearTimeout(t);try{return k(t)}catch(e){try{return k.call(null,t)}catch(r){return k.call(this,t)}}}var R=[],O=!1,F,q=-1;function vr(){!O||!F||(O=!1,F.length?R=F.concat(R):q=-1,R.length&&Ee())}function Ee(){if(!O){var t=Ie(vr);O=!0;for(var e=R.length;e;){for(F=R,R=[];++q<e;)F&&F[q].run();q=-1,e=R.length}F=null,O=!1,br(t)}}y.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];R.push(new ke(t,e)),R.length===1&&!O&&Ie(Ee)};function ke(t,e){this.fun=t,this.array=e}ke.prototype.run=function(){this.fun.apply(null,this.array)};y.title="browser";y.browser=!0;y.env={};y.argv=[];y.version="";y.versions={};function N(){}y.on=N;y.addListener=N;y.once=N;y.off=N;y.removeListener=N;y.removeAllListeners=N;y.emit=N;y.prependListener=N;y.prependOnceListener=N;y.listeners=function(t){return[]};y.binding=function(t){throw new Error("process.binding is not supported")};y.cwd=function(){return"/"};y.chdir=function(t){throw new Error("process.chdir is not supported")};y.umask=function(){return 0}});var d,m,Fr,l=Ve(()=>{d=oe(_e()),m=oe(Se()),Fr=function(t){function e(){var n=this||self;return delete t.prototype.__magic__,n}if(typeof globalThis=="object")return globalThis;if(this)return e();t.defineProperty(t.prototype,"__magic__",{configurable:!0,get:e});var r=__magic__;return r}(Object)});var Ar={};qe(Ar,{getAreTransactionsOnSameShard:()=>kr});module.exports=ze(Ar);l();l();var ne=require("@multiversx/sdk-core/out");l();l();l();l();l();l();l();l();l();l();l();l();l();l();l();var re={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",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",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",apiAddress:"https://api.multiversx.com",explorerAddress:"https://explorer.multiversx.com",apiTimeout:"4000"}},{chainId:Re,egldLabel:$r}=re["devnet"],{chainId:Ne,egldLabel:et}=re["testnet"],{chainId:Le,egldLabel:rt}=re["mainnet"];var tt={["devnet"]:Re,["testnet"]:Ne,["mainnet"]:Le},nt={[Re]:"devnet",[Ne]:"testnet",[Le]:"mainnet"};l();l();l();l();var A=require("@multiversx/sdk-web-wallet-provider");l();l();var De=4294967295;var _r=t=>{let e=d.Buffer.from([0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);if(t.slice(0,e.length).equals(e))return!0;let n=d.Buffer.alloc(32).fill(0);return t.equals(n)},te=t=>{try{let r=parseInt("11",2),n=parseInt("01",2),i=d.Buffer.from(t,"hex"),a=i[31];if(_r(i))return De;let o=a&r;return o>3-1&&(o=a&n),o}catch(e){return-1}};function Fe({receiverAddress:t,senderShard:e,senderAddress:r}){try{let n=new ne.Address(t),i=te(n.pubkey());if(e==null&&r!=null){let a=new ne.Address(r);return te(a)===i}return i===e}catch(n){return!1}}l();var ie=require("@multiversx/sdk-core");l();var Ir=require("@multiversx/sdk-core");l();function Ce(t){try{let e=atob(t),r=btoa(e),n=d.Buffer.from(t,"base64").toString(),i=d.Buffer.from(n).toString("base64");if(t===r&&t===i||e===n)return!0}catch(e){return!1}return!1}function Be({receiver:t,data:e}){try{if(!e)return t;let r=Ce(e)?ie.TransactionPayload.fromEncoded(e).toString():e,n=Er(r),i=r.split("@");return n>-1?i[n]:t}catch(r){console.log(r);return}}function Er(t){return t.includes("MultiESDTNFTTransfer")?1:t.includes("ESDTNFTTransfer")?4:-1}var kr=(t,e=1)=>t!=null&&t.length?t.reduce((r,{receiver:n,data:i})=>{let a=Be({receiver:n,data:i!=null?i:""});return a==null?r:r&&Fe({receiverAddress:a,senderShard:e})},!0):!0;0&&(module.exports={getAreTransactionsOnSameShard});
2
2
  /*!
3
3
  * The buffer module from node.js, for the browser.
4
4
  *