@ozdao/prometheus-framework 0.1.66 → 0.1.68

Sign up to get free protection for your applications and to get access to all the features.
Files changed (647) hide show
  1. package/dist/_virtual/_commonjsHelpers.cjs +1 -1
  2. package/dist/_virtual/_commonjsHelpers.js +5 -3
  3. package/dist/_virtual/browser-ponyfill.cjs +1 -0
  4. package/dist/_virtual/browser-ponyfill.js +4 -0
  5. package/dist/_virtual/crc32.cjs +1 -0
  6. package/dist/_virtual/crc32.js +4 -0
  7. package/dist/_virtual/events.cjs +1 -0
  8. package/dist/_virtual/events.js +4 -0
  9. package/dist/_virtual/index.cjs +1 -0
  10. package/dist/_virtual/index.js +4 -0
  11. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -0
  12. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +557 -0
  13. package/dist/node_modules/@ethereumjs/rlp/dist/index.cjs +1 -0
  14. package/dist/node_modules/@ethereumjs/rlp/dist/index.js +164 -0
  15. package/dist/node_modules/@noble/curves/esm/_shortw_utils.cjs +1 -0
  16. package/dist/node_modules/@noble/curves/esm/_shortw_utils.js +19 -0
  17. package/dist/node_modules/@noble/curves/esm/abstract/curve.cjs +1 -0
  18. package/dist/node_modules/@noble/curves/esm/abstract/curve.js +88 -0
  19. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -0
  20. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +210 -0
  21. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -0
  22. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +178 -0
  23. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -0
  24. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +581 -0
  25. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +1 -0
  26. package/dist/node_modules/@noble/curves/esm/secp256k1.js +47 -0
  27. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -0
  28. package/dist/node_modules/@noble/hashes/esm/_assert.js +48 -0
  29. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +1 -0
  30. package/dist/node_modules/@noble/hashes/esm/_sha2.js +61 -0
  31. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -0
  32. package/dist/node_modules/@noble/hashes/esm/_u64.js +48 -0
  33. package/dist/node_modules/@noble/hashes/esm/crypto.cjs +1 -0
  34. package/dist/node_modules/@noble/hashes/esm/crypto.js +4 -0
  35. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +1 -0
  36. package/dist/node_modules/@noble/hashes/esm/hmac.js +43 -0
  37. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +1 -0
  38. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +32 -0
  39. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +1 -0
  40. package/dist/node_modules/@noble/hashes/esm/scrypt.js +73 -0
  41. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +1 -0
  42. package/dist/node_modules/@noble/hashes/esm/sha256.js +120 -0
  43. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +1 -0
  44. package/dist/node_modules/@noble/hashes/esm/sha3.js +118 -0
  45. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -0
  46. package/dist/node_modules/@noble/hashes/esm/sha512.js +144 -0
  47. package/dist/node_modules/@noble/hashes/esm/utils.cjs +1 -0
  48. package/dist/node_modules/@noble/hashes/esm/utils.js +64 -0
  49. package/dist/node_modules/abitype/dist/chunk-NHABU752.cjs +1 -0
  50. package/dist/node_modules/abitype/dist/chunk-NHABU752.js +4 -0
  51. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.cjs +1 -0
  52. package/dist/node_modules/abitype/dist/chunk-WP7KDV47.js +11 -0
  53. package/dist/node_modules/abitype/dist/index.cjs +2 -0
  54. package/dist/node_modules/abitype/dist/index.js +299 -0
  55. package/dist/node_modules/crc-32/crc32.cjs +1 -0
  56. package/dist/node_modules/crc-32/crc32.js +51 -0
  57. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.cjs +2 -0
  58. package/dist/node_modules/cross-fetch/dist/browser-ponyfill.js +320 -0
  59. package/dist/node_modules/ethereum-cryptography/esm/aes.cjs +1 -0
  60. package/dist/node_modules/ethereum-cryptography/esm/aes.js +61 -0
  61. package/dist/node_modules/ethereum-cryptography/esm/keccak.cjs +1 -0
  62. package/dist/node_modules/ethereum-cryptography/esm/keccak.js +9 -0
  63. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.cjs +1 -0
  64. package/dist/node_modules/ethereum-cryptography/esm/pbkdf2.js +15 -0
  65. package/dist/node_modules/ethereum-cryptography/esm/random.cjs +1 -0
  66. package/dist/node_modules/ethereum-cryptography/esm/random.js +7 -0
  67. package/dist/node_modules/ethereum-cryptography/esm/scrypt.cjs +1 -0
  68. package/dist/node_modules/ethereum-cryptography/esm/scrypt.js +8 -0
  69. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.cjs +1 -0
  70. package/dist/node_modules/ethereum-cryptography/esm/secp256k1.js +4 -0
  71. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -0
  72. package/dist/node_modules/ethereum-cryptography/esm/utils.js +35 -0
  73. package/dist/node_modules/events/events.cjs +1 -0
  74. package/dist/node_modules/events/events.js +229 -0
  75. package/dist/node_modules/isomorphic-ws/browser.cjs +1 -0
  76. package/dist/node_modules/isomorphic-ws/browser.js +6 -0
  77. package/dist/node_modules/setimmediate/setImmediate.cjs +1 -0
  78. package/dist/node_modules/setimmediate/setImmediate.js +99 -0
  79. package/dist/node_modules/web3/lib/esm/abi.cjs +1 -0
  80. package/dist/node_modules/web3/lib/esm/abi.js +24 -0
  81. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -0
  82. package/dist/node_modules/web3/lib/esm/accounts.js +101 -0
  83. package/dist/node_modules/web3/lib/esm/index.cjs +1 -0
  84. package/dist/node_modules/web3/lib/esm/index.js +76 -0
  85. package/dist/node_modules/web3/lib/esm/version.cjs +1 -0
  86. package/dist/node_modules/web3/lib/esm/version.js +4 -0
  87. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -0
  88. package/dist/node_modules/web3/lib/esm/web3.js +89 -0
  89. package/dist/node_modules/web3-core/lib/esm/utils.cjs +1 -0
  90. package/dist/node_modules/web3-core/lib/esm/utils.js +14 -0
  91. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -0
  92. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +83 -0
  93. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -0
  94. package/dist/node_modules/web3-core/lib/esm/web3_config.js +343 -0
  95. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -0
  96. package/dist/node_modules/web3-core/lib/esm/web3_context.js +227 -0
  97. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.cjs +1 -0
  98. package/dist/node_modules/web3-core/lib/esm/web3_event_emitter.js +39 -0
  99. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -0
  100. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +58 -0
  101. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -0
  102. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +240 -0
  103. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -0
  104. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +155 -0
  105. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -0
  106. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +111 -0
  107. package/dist/node_modules/web3-errors/lib/esm/error_codes.cjs +1 -0
  108. package/dist/node_modules/web3-errors/lib/esm/error_codes.js +106 -0
  109. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.cjs +1 -0
  110. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +58 -0
  111. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.cjs +1 -0
  112. package/dist/node_modules/web3-errors/lib/esm/errors/connection_errors.js +37 -0
  113. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.cjs +1 -0
  114. package/dist/node_modules/web3-errors/lib/esm/errors/contract_errors.js +49 -0
  115. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.cjs +1 -0
  116. package/dist/node_modules/web3-errors/lib/esm/errors/core_errors.js +16 -0
  117. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.cjs +1 -0
  118. package/dist/node_modules/web3-errors/lib/esm/errors/ens_errors.js +16 -0
  119. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.cjs +1 -0
  120. package/dist/node_modules/web3-errors/lib/esm/errors/generic_errors.js +49 -0
  121. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.cjs +1 -0
  122. package/dist/node_modules/web3-errors/lib/esm/errors/provider_errors.js +28 -0
  123. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.cjs +1 -0
  124. package/dist/node_modules/web3-errors/lib/esm/errors/response_errors.js +30 -0
  125. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.cjs +1 -0
  126. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_error_messages.js +161 -0
  127. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.cjs +1 -0
  128. package/dist/node_modules/web3-errors/lib/esm/errors/rpc_errors.js +129 -0
  129. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.cjs +1 -0
  130. package/dist/node_modules/web3-errors/lib/esm/errors/schema_errors.js +13 -0
  131. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.cjs +1 -0
  132. package/dist/node_modules/web3-errors/lib/esm/errors/signature_errors.js +10 -0
  133. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.cjs +5 -0
  134. package/dist/node_modules/web3-errors/lib/esm/errors/transaction_errors.js +256 -0
  135. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.cjs +1 -0
  136. package/dist/node_modules/web3-errors/lib/esm/errors/utils_errors.js +76 -0
  137. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.cjs +1 -0
  138. package/dist/node_modules/web3-errors/lib/esm/web3_error_base.js +28 -0
  139. package/dist/node_modules/web3-eth/lib/esm/constants.cjs +1 -0
  140. package/dist/node_modules/web3-eth/lib/esm/constants.js +14 -0
  141. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -0
  142. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +413 -0
  143. package/dist/node_modules/web3-eth/lib/esm/schemas.cjs +1 -0
  144. package/dist/node_modules/web3-eth/lib/esm/schemas.js +570 -0
  145. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.cjs +1 -0
  146. package/dist/node_modules/web3-eth/lib/esm/utils/decode_signed_transaction.js +31 -0
  147. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.cjs +1 -0
  148. package/dist/node_modules/web3-eth/lib/esm/utils/decoding.js +34 -0
  149. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.cjs +1 -0
  150. package/dist/node_modules/web3-eth/lib/esm/utils/detect_transaction_type.js +90 -0
  151. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.cjs +1 -0
  152. package/dist/node_modules/web3-eth/lib/esm/utils/format_transaction.js +30 -0
  153. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -0
  154. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +77 -0
  155. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -0
  156. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +50 -0
  157. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -0
  158. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +79 -0
  159. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -0
  160. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +102 -0
  161. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -0
  162. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +109 -0
  163. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -0
  164. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +143 -0
  165. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -0
  166. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +131 -0
  167. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -0
  168. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +52 -0
  169. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -0
  170. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +61 -0
  171. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_pooling.cjs +1 -0
  172. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_pooling.js +51 -0
  173. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -0
  174. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +77 -0
  175. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -0
  176. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +42 -0
  177. package/dist/node_modules/web3-eth/lib/esm/validation.cjs +1 -0
  178. package/dist/node_modules/web3-eth/lib/esm/validation.js +111 -0
  179. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -0
  180. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +1512 -0
  181. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.cjs +1 -0
  182. package/dist/node_modules/web3-eth/lib/esm/web3_subscriptions.js +65 -0
  183. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.cjs +1 -0
  184. package/dist/node_modules/web3-eth-abi/lib/esm/api/errors_api.js +13 -0
  185. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.cjs +1 -0
  186. package/dist/node_modules/web3-eth-abi/lib/esm/api/events_api.js +13 -0
  187. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +1 -0
  188. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +20 -0
  189. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.cjs +1 -0
  190. package/dist/node_modules/web3-eth-abi/lib/esm/api/logs_api.js +14 -0
  191. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +1 -0
  192. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +22 -0
  193. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.cjs +1 -0
  194. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/address.js +47 -0
  195. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.cjs +1 -0
  196. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/array.js +72 -0
  197. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.cjs +1 -0
  198. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bool.js +37 -0
  199. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +1 -0
  200. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +66 -0
  201. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +1 -0
  202. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +59 -0
  203. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.cjs +1 -0
  204. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/number.js +85 -0
  205. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.cjs +1 -0
  206. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/numbersLimits.js +15 -0
  207. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.cjs +1 -0
  208. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/string.js +22 -0
  209. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.cjs +1 -0
  210. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/tuple.js +77 -0
  211. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.cjs +1 -0
  212. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/utils.js +15 -0
  213. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.cjs +1 -0
  214. package/dist/node_modules/web3-eth-abi/lib/esm/coders/decode.js +16 -0
  215. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +1 -0
  216. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +23 -0
  217. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.cjs +1 -0
  218. package/dist/node_modules/web3-eth-abi/lib/esm/coders/utils.js +58 -0
  219. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.cjs +1 -0
  220. package/dist/node_modules/web3-eth-abi/lib/esm/decode_contract_error_data.js +18 -0
  221. package/dist/node_modules/web3-eth-abi/lib/esm/utils.cjs +1 -0
  222. package/dist/node_modules/web3-eth-abi/lib/esm/utils.js +39 -0
  223. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -0
  224. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +219 -0
  225. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.cjs +1 -0
  226. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/goerli.js +99 -0
  227. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.cjs +1 -0
  228. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/mainnet.js +115 -0
  229. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.cjs +1 -0
  230. package/dist/node_modules/web3-eth-accounts/lib/esm/common/chains/sepolia.js +102 -0
  231. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.cjs +1 -0
  232. package/dist/node_modules/web3-eth-accounts/lib/esm/common/common.js +741 -0
  233. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.cjs +1 -0
  234. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1153.js +25 -0
  235. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.cjs +1 -0
  236. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/1559.js +29 -0
  237. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.cjs +1 -0
  238. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2315.js +28 -0
  239. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.cjs +1 -0
  240. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2537.js +181 -0
  241. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.cjs +1 -0
  242. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2565.js +20 -0
  243. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.cjs +1 -0
  244. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2718.js +14 -0
  245. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.cjs +1 -0
  246. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2929.js +87 -0
  247. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.cjs +1 -0
  248. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/2930.js +24 -0
  249. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.cjs +1 -0
  250. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3198.js +20 -0
  251. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.cjs +1 -0
  252. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3529.js +29 -0
  253. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.cjs +1 -0
  254. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3540.js +16 -0
  255. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.cjs +1 -0
  256. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3541.js +15 -0
  257. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.cjs +1 -0
  258. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3554.js +20 -0
  259. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.cjs +1 -0
  260. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3607.js +16 -0
  261. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.cjs +1 -0
  262. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3651.js +16 -0
  263. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.cjs +1 -0
  264. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3670.js +16 -0
  265. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.cjs +1 -0
  266. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3675.js +16 -0
  267. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.cjs +1 -0
  268. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3855.js +21 -0
  269. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.cjs +1 -0
  270. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/3860.js +26 -0
  271. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.cjs +1 -0
  272. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4345.js +20 -0
  273. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.cjs +1 -0
  274. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/4399.js +16 -0
  275. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.cjs +1 -0
  276. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/5133.js +20 -0
  277. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.cjs +1 -0
  278. package/dist/node_modules/web3-eth-accounts/lib/esm/common/eips/index.js +49 -0
  279. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.cjs +1 -0
  280. package/dist/node_modules/web3-eth-accounts/lib/esm/common/enums.js +27 -0
  281. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.cjs +1 -0
  282. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/arrowGlacier.js +14 -0
  283. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.cjs +1 -0
  284. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/berlin.js +10 -0
  285. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.cjs +1 -0
  286. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/byzantium.js +59 -0
  287. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.cjs +1 -0
  288. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/chainstart.js +441 -0
  289. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.cjs +1 -0
  290. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/constantinople.js +71 -0
  291. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.cjs +1 -0
  292. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/dao.js +13 -0
  293. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.cjs +1 -0
  294. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/grayGlacier.js +14 -0
  295. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.cjs +1 -0
  296. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/homestead.js +18 -0
  297. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.cjs +1 -0
  298. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/index.js +39 -0
  299. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.cjs +1 -0
  300. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/istanbul.js +90 -0
  301. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.cjs +1 -0
  302. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/london.js +10 -0
  303. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.cjs +1 -0
  304. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/merge.js +15 -0
  305. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.cjs +1 -0
  306. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/mergeForkIdTransition.js +10 -0
  307. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.cjs +1 -0
  308. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/muirGlacier.js +18 -0
  309. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.cjs +1 -0
  310. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/petersburg.js +42 -0
  311. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.cjs +1 -0
  312. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/shanghai.js +10 -0
  313. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.cjs +1 -0
  314. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/spuriousDragon.js +23 -0
  315. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.cjs +1 -0
  316. package/dist/node_modules/web3-eth-accounts/lib/esm/common/hardforks/tangerineWhistle.js +46 -0
  317. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.cjs +1 -0
  318. package/dist/node_modules/web3-eth-accounts/lib/esm/common/types.js +7 -0
  319. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -0
  320. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +277 -0
  321. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.cjs +1 -0
  322. package/dist/node_modules/web3-eth-accounts/lib/esm/schemas.js +25 -0
  323. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.cjs +1 -0
  324. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/address.js +57 -0
  325. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +1 -0
  326. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +272 -0
  327. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.cjs +1 -0
  328. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/constants.js +11 -0
  329. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs +1 -0
  330. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip1559Transaction.js +285 -0
  331. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs +1 -0
  332. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/eip2930Transaction.js +268 -0
  333. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.cjs +1 -0
  334. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/legacyTransaction.js +256 -0
  335. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +1 -0
  336. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +89 -0
  337. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.cjs +1 -0
  338. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/types.js +18 -0
  339. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.cjs +1 -0
  340. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/utils.js +80 -0
  341. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -0
  342. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +361 -0
  343. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -0
  344. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +510 -0
  345. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -0
  346. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +80 -0
  347. package/dist/node_modules/web3-eth-contract/lib/esm/index.cjs +1 -0
  348. package/dist/node_modules/web3-eth-contract/lib/esm/index.js +27 -0
  349. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.cjs +1 -0
  350. package/dist/node_modules/web3-eth-contract/lib/esm/log_subscription.js +36 -0
  351. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +1 -0
  352. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +90 -0
  353. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.cjs +1 -0
  354. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/ENSRegistry.js +168 -0
  355. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.cjs +1 -0
  356. package/dist/node_modules/web3-eth-ens/lib/esm/abi/ens/PublicResolver.js +578 -0
  357. package/dist/node_modules/web3-eth-ens/lib/esm/config.cjs +1 -0
  358. package/dist/node_modules/web3-eth-ens/lib/esm/config.js +27 -0
  359. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -0
  360. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +241 -0
  361. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -0
  362. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +105 -0
  363. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -0
  364. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +95 -0
  365. package/dist/node_modules/web3-eth-ens/lib/esm/utils.cjs +1 -0
  366. package/dist/node_modules/web3-eth-ens/lib/esm/utils.js +19 -0
  367. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -0
  368. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +283 -0
  369. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -0
  370. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +265 -0
  371. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -0
  372. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +93 -0
  373. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -0
  374. package/dist/node_modules/web3-net/lib/esm/net.js +97 -0
  375. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -0
  376. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +51 -0
  377. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -0
  378. package/dist/node_modules/web3-providers-http/lib/esm/index.js +98 -0
  379. package/dist/node_modules/web3-providers-ws/lib/esm/index.cjs +1 -0
  380. package/dist/node_modules/web3-providers-ws/lib/esm/index.js +70 -0
  381. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -0
  382. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +407 -0
  383. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -0
  384. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +56 -0
  385. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -0
  386. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +84 -0
  387. package/dist/node_modules/web3-types/lib/esm/data_format_types.cjs +1 -0
  388. package/dist/node_modules/web3-types/lib/esm/data_format_types.js +15 -0
  389. package/dist/node_modules/web3-types/lib/esm/eth_types.cjs +1 -0
  390. package/dist/node_modules/web3-types/lib/esm/eth_types.js +12 -0
  391. package/dist/node_modules/web3-types/lib/esm/primitives_types.cjs +1 -0
  392. package/dist/node_modules/web3-types/lib/esm/primitives_types.js +4 -0
  393. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -0
  394. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +89 -0
  395. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.cjs +1 -0
  396. package/dist/node_modules/web3-types/lib/esm/web3_base_wallet.js +8 -0
  397. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +1 -0
  398. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +37 -0
  399. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -0
  400. package/dist/node_modules/web3-utils/lib/esm/converters.js +177 -0
  401. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -0
  402. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +91 -0
  403. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -0
  404. package/dist/node_modules/web3-utils/lib/esm/formatter.js +134 -0
  405. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +1 -0
  406. package/dist/node_modules/web3-utils/lib/esm/hash.js +107 -0
  407. package/dist/node_modules/web3-utils/lib/esm/index.cjs +1 -0
  408. package/dist/node_modules/web3-utils/lib/esm/index.js +107 -0
  409. package/dist/node_modules/web3-utils/lib/esm/json_rpc.cjs +1 -0
  410. package/dist/node_modules/web3-utils/lib/esm/json_rpc.js +41 -0
  411. package/dist/node_modules/web3-utils/lib/esm/objects.cjs +1 -0
  412. package/dist/node_modules/web3-utils/lib/esm/objects.js +20 -0
  413. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -0
  414. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +104 -0
  415. package/dist/node_modules/web3-utils/lib/esm/random.cjs +1 -0
  416. package/dist/node_modules/web3-utils/lib/esm/random.js +7 -0
  417. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -0
  418. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +195 -0
  419. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.cjs +1 -0
  420. package/dist/node_modules/web3-utils/lib/esm/string_manipulation.js +48 -0
  421. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +1 -0
  422. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +21 -0
  423. package/dist/node_modules/web3-utils/lib/esm/uuid.cjs +1 -0
  424. package/dist/node_modules/web3-utils/lib/esm/uuid.js +17 -0
  425. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +1 -0
  426. package/dist/node_modules/web3-utils/lib/esm/validation.js +50 -0
  427. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -0
  428. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +114 -0
  429. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -0
  430. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +86 -0
  431. package/dist/node_modules/web3-validator/lib/esm/constants.cjs +1 -0
  432. package/dist/node_modules/web3-validator/lib/esm/constants.js +4 -0
  433. package/dist/node_modules/web3-validator/lib/esm/default_validator.cjs +1 -0
  434. package/dist/node_modules/web3-validator/lib/esm/default_validator.js +5 -0
  435. package/dist/node_modules/web3-validator/lib/esm/errors.cjs +3 -0
  436. package/dist/node_modules/web3-validator/lib/esm/errors.js +17 -0
  437. package/dist/node_modules/web3-validator/lib/esm/formats.cjs +1 -0
  438. package/dist/node_modules/web3-validator/lib/esm/formats.js +31 -0
  439. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -0
  440. package/dist/node_modules/web3-validator/lib/esm/utils.js +178 -0
  441. package/dist/node_modules/web3-validator/lib/esm/validation/abi.cjs +1 -0
  442. package/dist/node_modules/web3-validator/lib/esm/validation/abi.js +4 -0
  443. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +1 -0
  444. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +22 -0
  445. package/dist/node_modules/web3-validator/lib/esm/validation/block.cjs +1 -0
  446. package/dist/node_modules/web3-validator/lib/esm/validation/block.js +10 -0
  447. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.cjs +1 -0
  448. package/dist/node_modules/web3-validator/lib/esm/validation/bloom.js +29 -0
  449. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.cjs +1 -0
  450. package/dist/node_modules/web3-validator/lib/esm/validation/boolean.js +5 -0
  451. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -0
  452. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +27 -0
  453. package/dist/node_modules/web3-validator/lib/esm/validation/filter.cjs +1 -0
  454. package/dist/node_modules/web3-validator/lib/esm/validation/filter.js +26 -0
  455. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.cjs +1 -0
  456. package/dist/node_modules/web3-validator/lib/esm/validation/numbers.js +52 -0
  457. package/dist/node_modules/web3-validator/lib/esm/validation/object.cjs +1 -0
  458. package/dist/node_modules/web3-validator/lib/esm/validation/object.js +13 -0
  459. package/dist/node_modules/web3-validator/lib/esm/validation/string.cjs +1 -0
  460. package/dist/node_modules/web3-validator/lib/esm/validation/string.js +23 -0
  461. package/dist/node_modules/web3-validator/lib/esm/validation/topic.cjs +1 -0
  462. package/dist/node_modules/web3-validator/lib/esm/validation/topic.js +6 -0
  463. package/dist/node_modules/web3-validator/lib/esm/validator.cjs +1 -0
  464. package/dist/node_modules/web3-validator/lib/esm/validator.js +84 -0
  465. package/dist/node_modules/web3-validator/lib/esm/web3_validator.cjs +1 -0
  466. package/dist/node_modules/web3-validator/lib/esm/web3_validator.js +31 -0
  467. package/dist/node_modules/zod/lib/index.cjs +1 -0
  468. package/dist/node_modules/zod/lib/index.js +2854 -0
  469. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.cjs +3 -0
  470. package/dist/prometheus-framework/node_modules/axios/lib/adapters/adapters.js +51 -0
  471. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.cjs +1 -1
  472. package/dist/prometheus-framework/node_modules/axios/lib/adapters/xhr.js +105 -79
  473. package/dist/prometheus-framework/node_modules/axios/lib/axios.cjs +1 -1
  474. package/dist/prometheus-framework/node_modules/axios/lib/axios.js +41 -35
  475. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.cjs +1 -1
  476. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CancelToken.js +57 -44
  477. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.cjs +1 -1
  478. package/dist/prometheus-framework/node_modules/axios/lib/cancel/CanceledError.js +8 -15
  479. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.cjs +1 -1
  480. package/dist/prometheus-framework/node_modules/axios/lib/cancel/isCancel.js +3 -6
  481. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +1 -1
  482. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +101 -72
  483. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.cjs +1 -1
  484. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosError.js +19 -19
  485. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.cjs +2 -0
  486. package/dist/prometheus-framework/node_modules/axios/lib/core/AxiosHeaders.js +165 -0
  487. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.cjs +1 -1
  488. package/dist/prometheus-framework/node_modules/axios/lib/core/InterceptorManager.js +56 -22
  489. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.cjs +1 -1
  490. package/dist/prometheus-framework/node_modules/axios/lib/core/buildFullPath.js +6 -6
  491. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.cjs +1 -1
  492. package/dist/prometheus-framework/node_modules/axios/lib/core/dispatchRequest.js +23 -38
  493. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.cjs +1 -1
  494. package/dist/prometheus-framework/node_modules/axios/lib/core/mergeConfig.js +62 -58
  495. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.cjs +1 -1
  496. package/dist/prometheus-framework/node_modules/axios/lib/core/settle.js +11 -18
  497. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.cjs +1 -1
  498. package/dist/prometheus-framework/node_modules/axios/lib/core/transformData.js +11 -9
  499. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
  500. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +49 -48
  501. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.cjs +1 -1
  502. package/dist/prometheus-framework/node_modules/axios/lib/defaults/transitional.js +2 -2
  503. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
  504. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +2 -7
  505. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.cjs +1 -0
  506. package/dist/prometheus-framework/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
  507. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.cjs +1 -0
  508. package/dist/prometheus-framework/node_modules/axios/lib/helpers/HttpStatusCode.js +72 -0
  509. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.cjs +1 -1
  510. package/dist/prometheus-framework/node_modules/axios/lib/helpers/bind.js +4 -6
  511. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.cjs +1 -1
  512. package/dist/prometheus-framework/node_modules/axios/lib/helpers/buildURL.js +13 -24
  513. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -1
  514. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +4 -4
  515. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.cjs +1 -1
  516. package/dist/prometheus-framework/node_modules/axios/lib/helpers/cookies.js +30 -40
  517. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -0
  518. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +30 -0
  519. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.cjs +1 -1
  520. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAbsoluteURL.js +3 -3
  521. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.cjs +1 -1
  522. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isAxiosError.js +4 -11
  523. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.cjs +1 -1
  524. package/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +34 -39
  525. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.cjs +1 -1
  526. package/dist/prometheus-framework/node_modules/axios/lib/helpers/null.js +2 -5
  527. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.cjs +2 -2
  528. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseHeaders.js +28 -38
  529. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.cjs +1 -1
  530. package/dist/prometheus-framework/node_modules/axios/lib/helpers/parseProtocol.js +4 -7
  531. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.cjs +1 -0
  532. package/dist/prometheus-framework/node_modules/axios/lib/helpers/speedometer.js +19 -0
  533. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.cjs +1 -1
  534. package/dist/prometheus-framework/node_modules/axios/lib/helpers/spread.js +5 -8
  535. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.cjs +1 -1
  536. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toFormData.js +79 -32
  537. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.cjs +1 -0
  538. package/dist/prometheus-framework/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
  539. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.cjs +1 -1
  540. package/dist/prometheus-framework/node_modules/axios/lib/helpers/validator.js +33 -31
  541. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.cjs +1 -0
  542. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
  543. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.cjs +1 -0
  544. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
  545. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.cjs +1 -0
  546. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  547. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.cjs +1 -0
  548. package/dist/prometheus-framework/node_modules/axios/lib/platform/browser/index.js +15 -0
  549. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -0
  550. package/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +7 -0
  551. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.cjs +1 -0
  552. package/dist/prometheus-framework/node_modules/axios/lib/platform/index.js +9 -0
  553. package/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
  554. package/dist/prometheus-framework/node_modules/axios/lib/utils.js +212 -140
  555. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  556. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -72
  557. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  558. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -2
  559. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  560. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
  561. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  562. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  563. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  564. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  565. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  566. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +67 -65
  567. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  568. package/dist/prometheus-framework/src/modules/auth/store/auth.js +1 -1
  569. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  570. package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
  571. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  572. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  573. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  574. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +1 -1
  575. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  576. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  577. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  578. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  579. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  580. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  581. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.cjs +1 -1
  582. package/dist/prometheus-framework/src/modules/constructor/components/elements/Image.vue.js +6 -7
  583. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  584. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  585. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  586. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +1 -1
  587. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  588. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  589. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  590. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  591. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  592. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  593. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  594. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  595. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  596. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +1 -1
  597. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  598. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +1 -1
  599. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  600. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +1 -1
  601. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  602. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +1 -1
  603. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  604. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  605. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  606. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  607. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  608. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  609. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  610. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  611. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.cjs +1 -1
  612. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.js +30 -61
  613. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  614. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +20 -21
  615. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  616. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +28 -33
  617. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  618. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  619. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  620. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +1 -1
  621. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  622. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +6 -41
  623. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  624. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  625. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  626. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  627. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  628. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  629. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  630. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +1 -1
  631. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  632. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  633. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  634. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  635. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  636. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  637. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  638. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +75 -33
  639. package/dist/prometheus-framework.cjs.js +29 -30
  640. package/dist/prometheus-framework.es.js +3953 -3225
  641. package/dist/style.css +1 -1
  642. package/package.json +3 -2
  643. package/src/modules/auth/components/pages/SignIn.vue +2 -2
  644. package/src/modules/payments/components/pages/Payments.vue +32 -34
  645. package/src/modules/products/components/blocks/CardLeftover.vue +1 -2
  646. package/src/modules/products/components/blocks/CardProduct.vue +1 -17
  647. package/src/modules/products/components/sections/EditProductInfo.vue +3 -5
@@ -0,0 +1,144 @@
1
+ import { SHA2 as J } from "./_sha2.js";
2
+ import h from "./_u64.js";
3
+ import { wrapConstructor as _ } from "./utils.js";
4
+ const [K, j] = h.split([
5
+ "0x428a2f98d728ae22",
6
+ "0x7137449123ef65cd",
7
+ "0xb5c0fbcfec4d3b2f",
8
+ "0xe9b5dba58189dbbc",
9
+ "0x3956c25bf348b538",
10
+ "0x59f111f1b605d019",
11
+ "0x923f82a4af194f9b",
12
+ "0xab1c5ed5da6d8118",
13
+ "0xd807aa98a3030242",
14
+ "0x12835b0145706fbe",
15
+ "0x243185be4ee4b28c",
16
+ "0x550c7dc3d5ffb4e2",
17
+ "0x72be5d74f27b896f",
18
+ "0x80deb1fe3b1696b1",
19
+ "0x9bdc06a725c71235",
20
+ "0xc19bf174cf692694",
21
+ "0xe49b69c19ef14ad2",
22
+ "0xefbe4786384f25e3",
23
+ "0x0fc19dc68b8cd5b5",
24
+ "0x240ca1cc77ac9c65",
25
+ "0x2de92c6f592b0275",
26
+ "0x4a7484aa6ea6e483",
27
+ "0x5cb0a9dcbd41fbd4",
28
+ "0x76f988da831153b5",
29
+ "0x983e5152ee66dfab",
30
+ "0xa831c66d2db43210",
31
+ "0xb00327c898fb213f",
32
+ "0xbf597fc7beef0ee4",
33
+ "0xc6e00bf33da88fc2",
34
+ "0xd5a79147930aa725",
35
+ "0x06ca6351e003826f",
36
+ "0x142929670a0e6e70",
37
+ "0x27b70a8546d22ffc",
38
+ "0x2e1b21385c26c926",
39
+ "0x4d2c6dfc5ac42aed",
40
+ "0x53380d139d95b3df",
41
+ "0x650a73548baf63de",
42
+ "0x766a0abb3c77b2a8",
43
+ "0x81c2c92e47edaee6",
44
+ "0x92722c851482353b",
45
+ "0xa2bfe8a14cf10364",
46
+ "0xa81a664bbc423001",
47
+ "0xc24b8b70d0f89791",
48
+ "0xc76c51a30654be30",
49
+ "0xd192e819d6ef5218",
50
+ "0xd69906245565a910",
51
+ "0xf40e35855771202a",
52
+ "0x106aa07032bbd1b8",
53
+ "0x19a4c116b8d2d0c8",
54
+ "0x1e376c085141ab53",
55
+ "0x2748774cdf8eeb99",
56
+ "0x34b0bcb5e19b48a8",
57
+ "0x391c0cb3c5c95a63",
58
+ "0x4ed8aa4ae3418acb",
59
+ "0x5b9cca4f7763e373",
60
+ "0x682e6ff3d6b2b8a3",
61
+ "0x748f82ee5defb2fc",
62
+ "0x78a5636f43172f60",
63
+ "0x84c87814a1f0ab72",
64
+ "0x8cc702081a6439ec",
65
+ "0x90befffa23631e28",
66
+ "0xa4506cebde82bde9",
67
+ "0xbef9a3f7b2c67915",
68
+ "0xc67178f2e372532b",
69
+ "0xca273eceea26619c",
70
+ "0xd186b8c721c0c207",
71
+ "0xeada7dd6cde0eb1e",
72
+ "0xf57d4f7fee6ed178",
73
+ "0x06f067aa72176fba",
74
+ "0x0a637dc5a2c898a6",
75
+ "0x113f9804bef90dae",
76
+ "0x1b710b35131c471b",
77
+ "0x28db77f523047d84",
78
+ "0x32caab7b40c72493",
79
+ "0x3c9ebe0a15c9bebc",
80
+ "0x431d67c49c100d4c",
81
+ "0x4cc5d4becb3e42b6",
82
+ "0x597f299cfc657e2a",
83
+ "0x5fcb6fab3ad6faec",
84
+ "0x6c44198c4a475817"
85
+ ].map((F) => BigInt(F))), u = new Uint32Array(80), L = new Uint32Array(80);
86
+ class w extends J {
87
+ constructor() {
88
+ super(128, 64, 16, !1), this.Ah = 1779033703, this.Al = -205731576, this.Bh = -1150833019, this.Bl = -2067093701, this.Ch = 1013904242, this.Cl = -23791573, this.Dh = -1521486534, this.Dl = 1595750129, this.Eh = 1359893119, this.El = -1377402159, this.Fh = -1694144372, this.Fl = 725511199, this.Gh = 528734635, this.Gl = -79577749, this.Hh = 1541459225, this.Hl = 327033209;
89
+ }
90
+ // prettier-ignore
91
+ get() {
92
+ const { Ah: E, Al: D, Bh: s, Bl: c, Ch: a, Cl: d, Dh: b, Dl: i, Eh: n, El: H, Fh: x, Fl: e, Gh: f, Gl: l, Hh: r, Hl: o } = this;
93
+ return [E, D, s, c, a, d, b, i, n, H, x, e, f, l, r, o];
94
+ }
95
+ // prettier-ignore
96
+ set(E, D, s, c, a, d, b, i, n, H, x, e, f, l, r, o) {
97
+ this.Ah = E | 0, this.Al = D | 0, this.Bh = s | 0, this.Bl = c | 0, this.Ch = a | 0, this.Cl = d | 0, this.Dh = b | 0, this.Dl = i | 0, this.Eh = n | 0, this.El = H | 0, this.Fh = x | 0, this.Fl = e | 0, this.Gh = f | 0, this.Gl = l | 0, this.Hh = r | 0, this.Hl = o | 0;
98
+ }
99
+ process(E, D) {
100
+ for (let t = 0; t < 16; t++, D += 4)
101
+ u[t] = E.getUint32(D), L[t] = E.getUint32(D += 4);
102
+ for (let t = 16; t < 80; t++) {
103
+ const B = u[t - 15] | 0, C = L[t - 15] | 0, U = h.rotrSH(B, C, 1) ^ h.rotrSH(B, C, 8) ^ h.shrSH(B, C, 7), W = h.rotrSL(B, C, 1) ^ h.rotrSL(B, C, 8) ^ h.shrSL(B, C, 7), A = u[t - 2] | 0, S = L[t - 2] | 0, m = h.rotrSH(A, S, 19) ^ h.rotrBH(A, S, 61) ^ h.shrSH(A, S, 6), M = h.rotrSL(A, S, 19) ^ h.rotrBL(A, S, 61) ^ h.shrSL(A, S, 6), g = h.add4L(W, M, L[t - 7], L[t - 16]), y = h.add4H(g, U, m, u[t - 7], u[t - 16]);
104
+ u[t] = y | 0, L[t] = g | 0;
105
+ }
106
+ let { Ah: s, Al: c, Bh: a, Bl: d, Ch: b, Cl: i, Dh: n, Dl: H, Eh: x, El: e, Fh: f, Fl: l, Gh: r, Gl: o, Hh: G, Hl: p } = this;
107
+ for (let t = 0; t < 80; t++) {
108
+ const B = h.rotrSH(x, e, 14) ^ h.rotrSH(x, e, 18) ^ h.rotrBH(x, e, 41), C = h.rotrSL(x, e, 14) ^ h.rotrSL(x, e, 18) ^ h.rotrBL(x, e, 41), U = x & f ^ ~x & r, W = e & l ^ ~e & o, A = h.add5L(p, C, W, j[t], L[t]), S = h.add5H(A, G, B, U, K[t], u[t]), m = A | 0, M = h.rotrSH(s, c, 28) ^ h.rotrBH(s, c, 34) ^ h.rotrBH(s, c, 39), g = h.rotrSL(s, c, 28) ^ h.rotrBL(s, c, 34) ^ h.rotrBL(s, c, 39), y = s & a ^ s & b ^ a & b, T = c & d ^ c & i ^ d & i;
109
+ G = r | 0, p = o | 0, r = f | 0, o = l | 0, f = x | 0, l = e | 0, { h: x, l: e } = h.add(n | 0, H | 0, S | 0, m | 0), n = b | 0, H = i | 0, b = a | 0, i = d | 0, a = s | 0, d = c | 0;
110
+ const I = h.add3L(m, g, T);
111
+ s = h.add3H(I, S, M, y), c = I | 0;
112
+ }
113
+ ({ h: s, l: c } = h.add(this.Ah | 0, this.Al | 0, s | 0, c | 0)), { h: a, l: d } = h.add(this.Bh | 0, this.Bl | 0, a | 0, d | 0), { h: b, l: i } = h.add(this.Ch | 0, this.Cl | 0, b | 0, i | 0), { h: n, l: H } = h.add(this.Dh | 0, this.Dl | 0, n | 0, H | 0), { h: x, l: e } = h.add(this.Eh | 0, this.El | 0, x | 0, e | 0), { h: f, l } = h.add(this.Fh | 0, this.Fl | 0, f | 0, l | 0), { h: r, l: o } = h.add(this.Gh | 0, this.Gl | 0, r | 0, o | 0), { h: G, l: p } = h.add(this.Hh | 0, this.Hl | 0, G | 0, p | 0), this.set(s, c, a, d, b, i, n, H, x, e, f, l, r, o, G, p);
114
+ }
115
+ roundClean() {
116
+ u.fill(0), L.fill(0);
117
+ }
118
+ destroy() {
119
+ this.buffer.fill(0), this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
120
+ }
121
+ }
122
+ class k extends w {
123
+ constructor() {
124
+ super(), this.Ah = -1942145080, this.Al = 424955298, this.Bh = 1944164710, this.Bl = -1982016298, this.Ch = 502970286, this.Cl = 855612546, this.Dh = 1738396948, this.Dl = 1479516111, this.Eh = 258812777, this.El = 2077511080, this.Fh = 2011393907, this.Fl = 79989058, this.Gh = 1067287976, this.Gl = 1780299464, this.Hh = 286451373, this.Hl = -1848208735, this.outputLen = 28;
125
+ }
126
+ }
127
+ class q extends w {
128
+ constructor() {
129
+ super(), this.Ah = 573645204, this.Al = -64227540, this.Bh = -1621794909, this.Bl = -934517566, this.Ch = 596883563, this.Cl = 1867755857, this.Dh = -1774684391, this.Dl = 1497426621, this.Eh = -1775747358, this.El = -1467023389, this.Fh = -1101128155, this.Fl = 1401305490, this.Gh = 721525244, this.Gl = 746961066, this.Hh = 246885852, this.Hl = -2117784414, this.outputLen = 32;
130
+ }
131
+ }
132
+ class z extends w {
133
+ constructor() {
134
+ super(), this.Ah = -876896931, this.Al = -1056596264, this.Bh = 1654270250, this.Bl = 914150663, this.Ch = -1856437926, this.Cl = 812702999, this.Dh = 355462360, this.Dl = -150054599, this.Eh = 1731405415, this.El = -4191439, this.Fh = -1900787065, this.Fl = 1750603025, this.Gh = -619958771, this.Gl = 1694076839, this.Hh = 1203062813, this.Hl = -1090891868, this.outputLen = 48;
135
+ }
136
+ }
137
+ const Q = _(() => new w());
138
+ _(() => new k());
139
+ _(() => new q());
140
+ _(() => new z());
141
+ export {
142
+ w as SHA512,
143
+ Q as sha512
144
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./crypto.cjs");/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */const u=t=>t instanceof Uint8Array,y=t=>new Uint32Array(t.buffer,t.byteOffset,Math.floor(t.byteLength/4)),p=t=>new DataView(t.buffer,t.byteOffset,t.byteLength),a=(t,e)=>t<<32-e|t>>>e,s=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68;if(!s)throw new Error("Non little-endian hardware is not supported");Array.from({length:256},(t,e)=>e.toString(16).padStart(2,"0"));function f(t){if(typeof t!="string")throw new Error(`utf8ToBytes expected string, got ${typeof t}`);return new Uint8Array(new TextEncoder().encode(t))}function i(t){if(typeof t=="string"&&(t=f(t)),!u(t))throw new Error(`expected Uint8Array, got ${typeof t}`);return t}function w(...t){const e=new Uint8Array(t.reduce((n,o)=>n+o.length,0));let r=0;return t.forEach(n=>{if(!u(n))throw new Error("Uint8Array expected");e.set(n,r),r+=n.length}),e}class d{clone(){return this._cloneInto()}}const l=t=>Object.prototype.toString.call(t)==="[object Object]"&&t.constructor===Object;function b(t,e){if(e!==void 0&&(typeof e!="object"||!l(e)))throw new Error("Options should be object or undefined");return Object.assign(t,e)}function g(t){const e=n=>t().update(i(n)).digest(),r=t();return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=()=>t(),e}function h(t){const e=(n,o)=>t(o).update(i(n)).digest(),r=t({});return e.outputLen=r.outputLen,e.blockLen=r.blockLen,e.create=n=>t(n),e}function O(t=32){if(c.crypto&&typeof c.crypto.getRandomValues=="function")return c.crypto.getRandomValues(new Uint8Array(t));throw new Error("crypto.getRandomValues must be defined")}exports.Hash=d;exports.checkOpts=b;exports.concatBytes=w;exports.createView=p;exports.isLE=s;exports.randomBytes=O;exports.rotr=a;exports.toBytes=i;exports.u32=y;exports.utf8ToBytes=f;exports.wrapConstructor=g;exports.wrapXOFConstructorWithOpts=h;
@@ -0,0 +1,64 @@
1
+ import { crypto as c } from "./crypto.js";
2
+ /*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
3
+ const i = (t) => t instanceof Uint8Array, w = (t) => new Uint32Array(t.buffer, t.byteOffset, Math.floor(t.byteLength / 4)), a = (t) => new DataView(t.buffer, t.byteOffset, t.byteLength), d = (t, e) => t << 32 - e | t >>> e, f = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
4
+ if (!f)
5
+ throw new Error("Non little-endian hardware is not supported");
6
+ Array.from({ length: 256 }, (t, e) => e.toString(16).padStart(2, "0"));
7
+ function s(t) {
8
+ if (typeof t != "string")
9
+ throw new Error(`utf8ToBytes expected string, got ${typeof t}`);
10
+ return new Uint8Array(new TextEncoder().encode(t));
11
+ }
12
+ function u(t) {
13
+ if (typeof t == "string" && (t = s(t)), !i(t))
14
+ throw new Error(`expected Uint8Array, got ${typeof t}`);
15
+ return t;
16
+ }
17
+ function l(...t) {
18
+ const e = new Uint8Array(t.reduce((n, o) => n + o.length, 0));
19
+ let r = 0;
20
+ return t.forEach((n) => {
21
+ if (!i(n))
22
+ throw new Error("Uint8Array expected");
23
+ e.set(n, r), r += n.length;
24
+ }), e;
25
+ }
26
+ class b {
27
+ // Safe version that clones internal state
28
+ clone() {
29
+ return this._cloneInto();
30
+ }
31
+ }
32
+ const p = (t) => Object.prototype.toString.call(t) === "[object Object]" && t.constructor === Object;
33
+ function g(t, e) {
34
+ if (e !== void 0 && (typeof e != "object" || !p(e)))
35
+ throw new Error("Options should be object or undefined");
36
+ return Object.assign(t, e);
37
+ }
38
+ function h(t) {
39
+ const e = (n) => t().update(u(n)).digest(), r = t();
40
+ return e.outputLen = r.outputLen, e.blockLen = r.blockLen, e.create = () => t(), e;
41
+ }
42
+ function m(t) {
43
+ const e = (n, o) => t(o).update(u(n)).digest(), r = t({});
44
+ return e.outputLen = r.outputLen, e.blockLen = r.blockLen, e.create = (n) => t(n), e;
45
+ }
46
+ function L(t = 32) {
47
+ if (c && typeof c.getRandomValues == "function")
48
+ return c.getRandomValues(new Uint8Array(t));
49
+ throw new Error("crypto.getRandomValues must be defined");
50
+ }
51
+ export {
52
+ b as Hash,
53
+ g as checkOpts,
54
+ l as concatBytes,
55
+ a as createView,
56
+ f as isLE,
57
+ L as randomBytes,
58
+ d as rotr,
59
+ u as toBytes,
60
+ w as u32,
61
+ s as utf8ToBytes,
62
+ h as wrapConstructor,
63
+ m as wrapXOFConstructorWithOpts
64
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var i=Object.defineProperty,l=(e,r,t)=>r in e?i(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,o=(e,r,t)=>(l(e,typeof r!="symbol"?r+"":r,t),t);exports.__publicField=o;
@@ -0,0 +1,4 @@
1
+ var i = Object.defineProperty, o = (e, r, t) => r in e ? i(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, p = (e, r, t) => (o(e, typeof r != "symbol" ? r + "" : r, t), t);
2
+ export {
3
+ p as __publicField
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function g(t,r){const e=t.exec(r);return e==null?void 0:e.groups}var i=/^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/,n=/^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/,s=/^\(.+?\).*?$/;exports.bytesRegex=i;exports.execTyped=g;exports.integerRegex=n;exports.isTupleRegex=s;
@@ -0,0 +1,11 @@
1
+ function n(r, t) {
2
+ const e = r.exec(t);
3
+ return e == null ? void 0 : e.groups;
4
+ }
5
+ var x = /^bytes([1-9]|1[0-9]|2[0-9]|3[0-2])?$/, g = /^u?int(8|16|24|32|40|48|56|64|72|80|88|96|104|112|120|128|136|144|152|160|168|176|184|192|200|208|216|224|232|240|248|256)?$/, s = /^\(.+?\).*?$/;
6
+ export {
7
+ x as bytesRegex,
8
+ n as execTyped,
9
+ g as integerRegex,
10
+ s as isTupleRegex
11
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./chunk-WP7KDV47.cjs"),g=require("./chunk-NHABU752.cjs");var _="abitype",k="0.7.1",c=class extends Error{constructor(t,e={}){var o;const a=e.cause instanceof c?e.cause.details:(o=e.cause)!=null&&o.message?e.cause.message:e.details,s=e.cause instanceof c&&e.cause.docsPath||e.docsPath,n=[t||"An error occurred.","",...e.metaMessages?[...e.metaMessages,""]:[],...s?[`Docs: https://abitype.dev${s}`]:[],...a?[`Details: ${a}`]:[],`Version: ${_}@${k}`].join(`
2
+ `);super(n),g.__publicField(this,"details"),g.__publicField(this,"docsPath"),g.__publicField(this,"metaMessages"),g.__publicField(this,"shortMessage"),g.__publicField(this,"name","AbiTypeError"),e.cause&&(this.cause=e.cause),this.details=a,this.docsPath=s,this.metaMessages=e.metaMessages,this.shortMessage=t}},A=/^struct (?<name>[a-zA-Z0-9_]+) \{(?<properties>.*?)\}$/;function M(t){return A.test(t)}function T(t){return l.execTyped(A,t)}var I=new Set(["memory","indexed","storage","calldata"]),R=new Set(["calldata","memory","storage"]);function B(t,e){return e?`${e}:${t}`:t}var x=new Map([["address",{type:"address"}],["bool",{type:"bool"}],["bytes",{type:"bytes"}],["bytes32",{type:"bytes32"}],["int",{type:"int256"}],["int256",{type:"int256"}],["string",{type:"string"}],["uint",{type:"uint256"}],["uint8",{type:"uint8"}],["uint16",{type:"uint16"}],["uint24",{type:"uint24"}],["uint32",{type:"uint32"}],["uint64",{type:"uint64"}],["uint96",{type:"uint96"}],["uint112",{type:"uint112"}],["uint160",{type:"uint160"}],["uint192",{type:"uint192"}],["uint256",{type:"uint256"}],["address owner",{type:"address",name:"owner"}],["address to",{type:"address",name:"to"}],["bool approved",{type:"bool",name:"approved"}],["bytes _data",{type:"bytes",name:"_data"}],["bytes data",{type:"bytes",name:"data"}],["bytes signature",{type:"bytes",name:"signature"}],["bytes32 hash",{type:"bytes32",name:"hash"}],["bytes32 r",{type:"bytes32",name:"r"}],["bytes32 root",{type:"bytes32",name:"root"}],["bytes32 s",{type:"bytes32",name:"s"}],["string name",{type:"string",name:"name"}],["string symbol",{type:"string",name:"symbol"}],["string tokenURI",{type:"string",name:"tokenURI"}],["uint tokenId",{type:"uint256",name:"tokenId"}],["uint8 v",{type:"uint8",name:"v"}],["uint256 balance",{type:"uint256",name:"balance"}],["uint256 tokenId",{type:"uint256",name:"tokenId"}],["uint256 value",{type:"uint256",name:"value"}],["event:address indexed from",{type:"address",name:"from",indexed:!0}],["event:address indexed to",{type:"address",name:"to",indexed:!0}],["event:uint indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}],["event:uint256 indexed tokenId",{type:"uint256",name:"tokenId",indexed:!0}]]),z=/^(?<type>[a-zA-Z0-9_]+?)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z0-9_]+))?$/,D=/^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z0-9_]+))?$/,F=/^u?int$/;function b(t,e){var p,m;const a=B(t,e==null?void 0:e.type);if(x.has(a))return x.get(a);const s=l.isTupleRegex.test(t),n=l.execTyped(s?D:z,t);if(!n)throw new c("Invalid ABI parameter.",{details:t});if(n.name&&K(n.name))throw new c("Invalid ABI parameter.",{details:t,metaMessages:[`"${n.name}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`]});const o=n.name?{name:n.name}:{},i=n.modifier==="indexed"?{indexed:!0}:{},u=(e==null?void 0:e.structs)??{};let r,y={};if(s){r="tuple";const v=f(n.type),h=[],w=v.length;for(let $=0;$<w;$++)h.push(b(v[$],{structs:u}));y={components:h}}else if(n.type in u)r="tuple",y={components:u[n.type]};else if(F.test(n.type))r=`${n.type}256`;else if(r=n.type,(e==null?void 0:e.type)!=="struct"&&!P(r))throw new c("Unknown type.",{metaMessages:[`Type "${r}" is not a valid ABI type.`]});if(n.modifier){if(!((m=(p=e==null?void 0:e.modifiers)==null?void 0:p.has)!=null&&m.call(p,n.modifier)))throw new c("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${n.modifier}" not allowed${e!=null&&e.type?` in "${e.type}" type`:""}.`]});if(R.has(n.modifier)&&!Z(r,!!n.array))throw new c("Invalid ABI parameter.",{details:t,metaMessages:[`Modifier "${n.modifier}" not allowed${e!=null&&e.type?` in "${e.type}" type`:""}.`,`Data location can only be specified for array, struct, or mapping types, but "${n.modifier}" was given.`]})}const d={type:`${r}${n.array??""}`,...o,...i,...y};return x.set(a,d),d}function f(t,e=[],a="",s=0){if(t===""){if(a==="")return e;if(s!==0)throw new c("Unbalanced parentheses.",{metaMessages:[`"${a.trim()}" has too many ${s>0?"opening":"closing"} parentheses.`],details:`Depth "${s}"`});return[...e,a.trim()]}const n=t.length;for(let o=0;o<n;o++){const i=t[o],u=t.slice(o+1);switch(i){case",":return s===0?f(u,[...e,a.trim()]):f(u,e,`${a}${i}`,s);case"(":return f(u,e,`${a}${i}`,s+1);case")":return f(u,e,`${a}${i}`,s-1);default:return f(u,e,`${a}${i}`,s)}}return[]}function P(t){return t==="address"||t==="bool"||t==="function"||t==="string"||l.bytesRegex.test(t)||l.integerRegex.test(t)}var U=/^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;function K(t){return t==="address"||t==="bool"||t==="function"||t==="string"||t==="tuple"||l.bytesRegex.test(t)||l.integerRegex.test(t)||U.test(t)}function Z(t,e){return e||t==="bytes"||t==="string"||t==="tuple"}function C(t){const e={},a=t.length;for(let i=0;i<a;i++){const u=t[i];if(!M(u))continue;const r=T(u);if(!r)throw new c("Invalid struct signature.",{details:u});const y=r.properties.split(";"),d=[],p=y.length;for(let m=0;m<p;m++){const h=y[m].trim();if(!h)continue;const w=b(h,{type:"struct"});d.push(w)}if(!d.length)throw new c("Invalid struct signature.",{details:u,metaMessages:["No properties exist."]});e[r.name]=d}const s={},n=Object.entries(e),o=n.length;for(let i=0;i<o;i++){const[u,r]=n[i];s[u]=S(r,e)}return s}var E=/^(?<type>[a-zA-Z0-9_]+?)(?<array>(?:\[\d*?\])+?)?$/;function S(t,e,a=new Set){const s=[],n=t.length;for(let o=0;o<n;o++){const i=t[o];if(l.isTupleRegex.test(i.type))s.push(i);else{const r=l.execTyped(E,i.type);if(!(r!=null&&r.type))throw new c("Invalid ABI parameter.",{details:JSON.stringify(i,null,2),metaMessages:["ABI parameter type is invalid."]});const{array:y,type:d}=r;if(d in e){if(a.has(d))throw new c("Circular reference detected.",{metaMessages:[`Struct "${d}" is a circular reference.`]});s.push({...i,type:`tuple${y??""}`,components:S(e[d]??[],e,new Set([...a,d]))})}else if(P(d))s.push(i);else throw new c("Unknown type.",{metaMessages:[`Type "${d}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`]})}}return s}function L(t){let e;if(typeof t=="string")e=b(t,{modifiers:I});else{const a=C(t),s=t.length;for(let n=0;n<s;n++){const o=t[n];if(!M(o)){e=b(o,{modifiers:I,structs:a});break}}}if(!e)throw new c("Failed to parse ABI parameter.",{details:`parseAbiParameter(${JSON.stringify(t,null,2)})`,docsPath:"/api/human.html#parseabiparameter-1"});return e}exports.BaseError=c;exports.parseAbiParameter=L;
@@ -0,0 +1,299 @@
1
+ import { execTyped as x, bytesRegex as A, integerRegex as M, isTupleRegex as P } from "./chunk-WP7KDV47.js";
2
+ import { __publicField as h } from "./chunk-NHABU752.js";
3
+ var B = "abitype", _ = "0.7.1", d = class extends Error {
4
+ constructor(t, e = {}) {
5
+ var o;
6
+ const s = e.cause instanceof d ? e.cause.details : (o = e.cause) != null && o.message ? e.cause.message : e.details, a = e.cause instanceof d && e.cause.docsPath || e.docsPath, n = [
7
+ t || "An error occurred.",
8
+ "",
9
+ ...e.metaMessages ? [...e.metaMessages, ""] : [],
10
+ ...a ? [`Docs: https://abitype.dev${a}`] : [],
11
+ ...s ? [`Details: ${s}`] : [],
12
+ `Version: ${B}@${_}`
13
+ ].join(`
14
+ `);
15
+ super(n), h(this, "details"), h(this, "docsPath"), h(this, "metaMessages"), h(this, "shortMessage"), h(this, "name", "AbiTypeError"), e.cause && (this.cause = e.cause), this.details = s, this.docsPath = a, this.metaMessages = e.metaMessages, this.shortMessage = t;
16
+ }
17
+ }, S = /^struct (?<name>[a-zA-Z0-9_]+) \{(?<properties>.*?)\}$/;
18
+ function k(t) {
19
+ return S.test(t);
20
+ }
21
+ function z(t) {
22
+ return x(
23
+ S,
24
+ t
25
+ );
26
+ }
27
+ var I = /* @__PURE__ */ new Set([
28
+ "memory",
29
+ "indexed",
30
+ "storage",
31
+ "calldata"
32
+ ]), D = /* @__PURE__ */ new Set([
33
+ "calldata",
34
+ "memory",
35
+ "storage"
36
+ ]);
37
+ function U(t, e) {
38
+ return e ? `${e}:${t}` : t;
39
+ }
40
+ var $ = /* @__PURE__ */ new Map([
41
+ // Unnamed
42
+ ["address", { type: "address" }],
43
+ ["bool", { type: "bool" }],
44
+ ["bytes", { type: "bytes" }],
45
+ ["bytes32", { type: "bytes32" }],
46
+ ["int", { type: "int256" }],
47
+ ["int256", { type: "int256" }],
48
+ ["string", { type: "string" }],
49
+ ["uint", { type: "uint256" }],
50
+ ["uint8", { type: "uint8" }],
51
+ ["uint16", { type: "uint16" }],
52
+ ["uint24", { type: "uint24" }],
53
+ ["uint32", { type: "uint32" }],
54
+ ["uint64", { type: "uint64" }],
55
+ ["uint96", { type: "uint96" }],
56
+ ["uint112", { type: "uint112" }],
57
+ ["uint160", { type: "uint160" }],
58
+ ["uint192", { type: "uint192" }],
59
+ ["uint256", { type: "uint256" }],
60
+ // Named
61
+ ["address owner", { type: "address", name: "owner" }],
62
+ ["address to", { type: "address", name: "to" }],
63
+ ["bool approved", { type: "bool", name: "approved" }],
64
+ ["bytes _data", { type: "bytes", name: "_data" }],
65
+ ["bytes data", { type: "bytes", name: "data" }],
66
+ ["bytes signature", { type: "bytes", name: "signature" }],
67
+ ["bytes32 hash", { type: "bytes32", name: "hash" }],
68
+ ["bytes32 r", { type: "bytes32", name: "r" }],
69
+ ["bytes32 root", { type: "bytes32", name: "root" }],
70
+ ["bytes32 s", { type: "bytes32", name: "s" }],
71
+ ["string name", { type: "string", name: "name" }],
72
+ ["string symbol", { type: "string", name: "symbol" }],
73
+ ["string tokenURI", { type: "string", name: "tokenURI" }],
74
+ ["uint tokenId", { type: "uint256", name: "tokenId" }],
75
+ ["uint8 v", { type: "uint8", name: "v" }],
76
+ ["uint256 balance", { type: "uint256", name: "balance" }],
77
+ ["uint256 tokenId", { type: "uint256", name: "tokenId" }],
78
+ ["uint256 value", { type: "uint256", name: "value" }],
79
+ // Indexed
80
+ [
81
+ "event:address indexed from",
82
+ { type: "address", name: "from", indexed: !0 }
83
+ ],
84
+ ["event:address indexed to", { type: "address", name: "to", indexed: !0 }],
85
+ [
86
+ "event:uint indexed tokenId",
87
+ { type: "uint256", name: "tokenId", indexed: !0 }
88
+ ],
89
+ [
90
+ "event:uint256 indexed tokenId",
91
+ { type: "uint256", name: "tokenId", indexed: !0 }
92
+ ]
93
+ ]), Z = /^(?<type>[a-zA-Z0-9_]+?)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z0-9_]+))?$/, C = /^\((?<type>.+?)\)(?<array>(?:\[\d*?\])+?)?(?:\s(?<modifier>calldata|indexed|memory|storage{1}))?(?:\s(?<name>[a-zA-Z0-9_]+))?$/, K = /^u?int$/;
94
+ function g(t, e) {
95
+ var y, p;
96
+ const s = U(t, e == null ? void 0 : e.type);
97
+ if ($.has(s))
98
+ return $.get(s);
99
+ const a = P.test(t), n = x(
100
+ a ? C : Z,
101
+ t
102
+ );
103
+ if (!n)
104
+ throw new d("Invalid ABI parameter.", {
105
+ details: t
106
+ });
107
+ if (n.name && E(n.name))
108
+ throw new d("Invalid ABI parameter.", {
109
+ details: t,
110
+ metaMessages: [
111
+ `"${n.name}" is a protected Solidity keyword. More info: https://docs.soliditylang.org/en/latest/cheatsheet.html`
112
+ ]
113
+ });
114
+ const o = n.name ? { name: n.name } : {}, r = n.modifier === "indexed" ? { indexed: !0 } : {}, u = (e == null ? void 0 : e.structs) ?? {};
115
+ let i, l = {};
116
+ if (a) {
117
+ i = "tuple";
118
+ const b = m(n.type), f = [], v = b.length;
119
+ for (let w = 0; w < v; w++)
120
+ f.push(g(b[w], { structs: u }));
121
+ l = { components: f };
122
+ } else if (n.type in u)
123
+ i = "tuple", l = { components: u[n.type] };
124
+ else if (K.test(n.type))
125
+ i = `${n.type}256`;
126
+ else if (i = n.type, (e == null ? void 0 : e.type) !== "struct" && !T(i))
127
+ throw new d("Unknown type.", {
128
+ metaMessages: [`Type "${i}" is not a valid ABI type.`]
129
+ });
130
+ if (n.modifier) {
131
+ if (!((p = (y = e == null ? void 0 : e.modifiers) == null ? void 0 : y.has) != null && p.call(y, n.modifier)))
132
+ throw new d("Invalid ABI parameter.", {
133
+ details: t,
134
+ metaMessages: [
135
+ `Modifier "${n.modifier}" not allowed${e != null && e.type ? ` in "${e.type}" type` : ""}.`
136
+ ]
137
+ });
138
+ if (D.has(n.modifier) && !N(i, !!n.array))
139
+ throw new d("Invalid ABI parameter.", {
140
+ details: t,
141
+ metaMessages: [
142
+ `Modifier "${n.modifier}" not allowed${e != null && e.type ? ` in "${e.type}" type` : ""}.`,
143
+ `Data location can only be specified for array, struct, or mapping types, but "${n.modifier}" was given.`
144
+ ]
145
+ });
146
+ }
147
+ const c = {
148
+ type: `${i}${n.array ?? ""}`,
149
+ ...o,
150
+ ...r,
151
+ ...l
152
+ };
153
+ return $.set(s, c), c;
154
+ }
155
+ function m(t, e = [], s = "", a = 0) {
156
+ if (t === "") {
157
+ if (s === "")
158
+ return e;
159
+ if (a !== 0)
160
+ throw new d("Unbalanced parentheses.", {
161
+ metaMessages: [
162
+ `"${s.trim()}" has too many ${a > 0 ? "opening" : "closing"} parentheses.`
163
+ ],
164
+ details: `Depth "${a}"`
165
+ });
166
+ return [...e, s.trim()];
167
+ }
168
+ const n = t.length;
169
+ for (let o = 0; o < n; o++) {
170
+ const r = t[o], u = t.slice(o + 1);
171
+ switch (r) {
172
+ case ",":
173
+ return a === 0 ? m(u, [...e, s.trim()]) : m(u, e, `${s}${r}`, a);
174
+ case "(":
175
+ return m(u, e, `${s}${r}`, a + 1);
176
+ case ")":
177
+ return m(u, e, `${s}${r}`, a - 1);
178
+ default:
179
+ return m(u, e, `${s}${r}`, a);
180
+ }
181
+ }
182
+ return [];
183
+ }
184
+ function T(t) {
185
+ return t === "address" || t === "bool" || t === "function" || t === "string" || A.test(t) || M.test(t);
186
+ }
187
+ var L = /^(?:after|alias|anonymous|apply|auto|byte|calldata|case|catch|constant|copyof|default|defined|error|event|external|false|final|function|immutable|implements|in|indexed|inline|internal|let|mapping|match|memory|mutable|null|of|override|partial|private|promise|public|pure|reference|relocatable|return|returns|sizeof|static|storage|struct|super|supports|switch|this|true|try|typedef|typeof|var|view|virtual)$/;
188
+ function E(t) {
189
+ return t === "address" || t === "bool" || t === "function" || t === "string" || t === "tuple" || A.test(t) || M.test(t) || L.test(t);
190
+ }
191
+ function N(t, e) {
192
+ return e || t === "bytes" || t === "string" || t === "tuple";
193
+ }
194
+ function O(t) {
195
+ const e = {}, s = t.length;
196
+ for (let r = 0; r < s; r++) {
197
+ const u = t[r];
198
+ if (!k(u))
199
+ continue;
200
+ const i = z(u);
201
+ if (!i)
202
+ throw new d("Invalid struct signature.", {
203
+ details: u
204
+ });
205
+ const l = i.properties.split(";"), c = [], y = l.length;
206
+ for (let p = 0; p < y; p++) {
207
+ const f = l[p].trim();
208
+ if (!f)
209
+ continue;
210
+ const v = g(f, {
211
+ type: "struct"
212
+ });
213
+ c.push(v);
214
+ }
215
+ if (!c.length)
216
+ throw new d("Invalid struct signature.", {
217
+ details: u,
218
+ metaMessages: ["No properties exist."]
219
+ });
220
+ e[i.name] = c;
221
+ }
222
+ const a = {}, n = Object.entries(e), o = n.length;
223
+ for (let r = 0; r < o; r++) {
224
+ const [u, i] = n[r];
225
+ a[u] = R(i, e);
226
+ }
227
+ return a;
228
+ }
229
+ var W = /^(?<type>[a-zA-Z0-9_]+?)(?<array>(?:\[\d*?\])+?)?$/;
230
+ function R(t, e, s = /* @__PURE__ */ new Set()) {
231
+ const a = [], n = t.length;
232
+ for (let o = 0; o < n; o++) {
233
+ const r = t[o];
234
+ if (P.test(r.type))
235
+ a.push(r);
236
+ else {
237
+ const i = x(
238
+ W,
239
+ r.type
240
+ );
241
+ if (!(i != null && i.type))
242
+ throw new d("Invalid ABI parameter.", {
243
+ details: JSON.stringify(r, null, 2),
244
+ metaMessages: ["ABI parameter type is invalid."]
245
+ });
246
+ const { array: l, type: c } = i;
247
+ if (c in e) {
248
+ if (s.has(c))
249
+ throw new d("Circular reference detected.", {
250
+ metaMessages: [`Struct "${c}" is a circular reference.`]
251
+ });
252
+ a.push({
253
+ ...r,
254
+ type: `tuple${l ?? ""}`,
255
+ components: R(
256
+ e[c] ?? [],
257
+ e,
258
+ /* @__PURE__ */ new Set([...s, c])
259
+ )
260
+ });
261
+ } else if (T(c))
262
+ a.push(r);
263
+ else
264
+ throw new d("Unknown type.", {
265
+ metaMessages: [
266
+ `Type "${c}" is not a valid ABI type. Perhaps you forgot to include a struct signature?`
267
+ ]
268
+ });
269
+ }
270
+ }
271
+ return a;
272
+ }
273
+ function J(t) {
274
+ let e;
275
+ if (typeof t == "string")
276
+ e = g(t, {
277
+ modifiers: I
278
+ });
279
+ else {
280
+ const s = O(t), a = t.length;
281
+ for (let n = 0; n < a; n++) {
282
+ const o = t[n];
283
+ if (!k(o)) {
284
+ e = g(o, { modifiers: I, structs: s });
285
+ break;
286
+ }
287
+ }
288
+ }
289
+ if (!e)
290
+ throw new d("Failed to parse ABI parameter.", {
291
+ details: `parseAbiParameter(${JSON.stringify(t, null, 2)})`,
292
+ docsPath: "/api/human.html#parseabiparameter-1"
293
+ });
294
+ return e;
295
+ }
296
+ export {
297
+ d as BaseError,
298
+ J as parseAbiParameter
299
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const M=require("../../_virtual/_commonjsHelpers.cjs"),l=require("../../_virtual/crc32.cjs");/*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */(function(s){(function(F){F(typeof DO_NOT_EXPORT_CRC>"u"?s:{})})(function(F){F.version="1.2.2";function x(){for(var r=0,u=new Array(256),e=0;e!=256;++e)r=e,r=r&1?-306674912^r>>>1:r>>>1,r=r&1?-306674912^r>>>1:r>>>1,r=r&1?-306674912^r>>>1:r>>>1,r=r&1?-306674912^r>>>1:r>>>1,r=r&1?-306674912^r>>>1:r>>>1,r=r&1?-306674912^r>>>1:r>>>1,r=r&1?-306674912^r>>>1:r>>>1,r=r&1?-306674912^r>>>1:r>>>1,u[e]=r;return typeof Int32Array<"u"?new Int32Array(u):u}var a=x();function T(r){var u=0,e=0,t=0,n=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(t=0;t!=256;++t)n[t]=r[t];for(t=0;t!=256;++t)for(e=r[t],u=256+t;u<4096;u+=256)e=n[u]=e>>>8^r[e&255];var o=[];for(t=1;t!=16;++t)o[t-1]=typeof Int32Array<"u"?n.subarray(t*256,t*256+256):n.slice(t*256,t*256+256);return o}var f=T(a),v=f[0],_=f[1],c=f[2],d=f[3],b=f[4],y=f[5],p=f[6],A=f[7],g=f[8],h=f[9],w=f[10],I=f[11],m=f[12],O=f[13],j=f[14];function D(r,u){for(var e=u^-1,t=0,n=r.length;t<n;)e=e>>>8^a[(e^r.charCodeAt(t++))&255];return~e}function E(r,u){for(var e=u^-1,t=r.length-15,n=0;n<t;)e=j[r[n++]^e&255]^O[r[n++]^e>>8&255]^m[r[n++]^e>>16&255]^I[r[n++]^e>>>24]^w[r[n++]]^h[r[n++]]^g[r[n++]]^A[r[n++]]^p[r[n++]]^y[r[n++]]^b[r[n++]]^d[r[n++]]^c[r[n++]]^_[r[n++]]^v[r[n++]]^a[r[n++]];for(t+=15;n<t;)e=e>>>8^a[(e^r[n++])&255];return~e}function q(r,u){for(var e=u^-1,t=0,n=r.length,o=0,i=0;t<n;)o=r.charCodeAt(t++),o<128?e=e>>>8^a[(e^o)&255]:o<2048?(e=e>>>8^a[(e^(192|o>>6&31))&255],e=e>>>8^a[(e^(128|o&63))&255]):o>=55296&&o<57344?(o=(o&1023)+64,i=r.charCodeAt(t++)&1023,e=e>>>8^a[(e^(240|o>>8&7))&255],e=e>>>8^a[(e^(128|o>>2&63))&255],e=e>>>8^a[(e^(128|i>>6&15|(o&3)<<4))&255],e=e>>>8^a[(e^(128|i&63))&255]):(e=e>>>8^a[(e^(224|o>>12&15))&255],e=e>>>8^a[(e^(128|o>>6&63))&255],e=e>>>8^a[(e^(128|o&63))&255]);return~e}F.table=a,F.bstr=D,F.buf=E,F.str=q})})(l.__exports);const P=M.getDefaultExportFromCjs(l.__exports);exports.default=P;
@@ -0,0 +1,51 @@
1
+ import { getDefaultExportFromCjs as C } from "../../_virtual/_commonjsHelpers.js";
2
+ import { __exports as x } from "../../_virtual/crc32.js";
3
+ /*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */
4
+ (function(T) {
5
+ (function(u) {
6
+ u(typeof DO_NOT_EXPORT_CRC > "u" ? T : {});
7
+ })(function(u) {
8
+ u.version = "1.2.2";
9
+ function l() {
10
+ for (var r = 0, F = new Array(256), e = 0; e != 256; ++e)
11
+ r = e, r = r & 1 ? -306674912 ^ r >>> 1 : r >>> 1, r = r & 1 ? -306674912 ^ r >>> 1 : r >>> 1, r = r & 1 ? -306674912 ^ r >>> 1 : r >>> 1, r = r & 1 ? -306674912 ^ r >>> 1 : r >>> 1, r = r & 1 ? -306674912 ^ r >>> 1 : r >>> 1, r = r & 1 ? -306674912 ^ r >>> 1 : r >>> 1, r = r & 1 ? -306674912 ^ r >>> 1 : r >>> 1, r = r & 1 ? -306674912 ^ r >>> 1 : r >>> 1, F[e] = r;
12
+ return typeof Int32Array < "u" ? new Int32Array(F) : F;
13
+ }
14
+ var f = l();
15
+ function s(r) {
16
+ var F = 0, e = 0, t = 0, n = typeof Int32Array < "u" ? new Int32Array(4096) : new Array(4096);
17
+ for (t = 0; t != 256; ++t)
18
+ n[t] = r[t];
19
+ for (t = 0; t != 256; ++t)
20
+ for (e = r[t], F = 256 + t; F < 4096; F += 256)
21
+ e = n[F] = e >>> 8 ^ r[e & 255];
22
+ var a = [];
23
+ for (t = 1; t != 16; ++t)
24
+ a[t - 1] = typeof Int32Array < "u" ? n.subarray(t * 256, t * 256 + 256) : n.slice(t * 256, t * 256 + 256);
25
+ return a;
26
+ }
27
+ var o = s(f), v = o[0], _ = o[1], d = o[2], y = o[3], b = o[4], c = o[5], p = o[6], A = o[7], h = o[8], g = o[9], m = o[10], w = o[11], I = o[12], D = o[13], E = o[14];
28
+ function O(r, F) {
29
+ for (var e = F ^ -1, t = 0, n = r.length; t < n; )
30
+ e = e >>> 8 ^ f[(e ^ r.charCodeAt(t++)) & 255];
31
+ return ~e;
32
+ }
33
+ function j(r, F) {
34
+ for (var e = F ^ -1, t = r.length - 15, n = 0; n < t; )
35
+ e = E[r[n++] ^ e & 255] ^ D[r[n++] ^ e >> 8 & 255] ^ I[r[n++] ^ e >> 16 & 255] ^ w[r[n++] ^ e >>> 24] ^ m[r[n++]] ^ g[r[n++]] ^ h[r[n++]] ^ A[r[n++]] ^ p[r[n++]] ^ c[r[n++]] ^ b[r[n++]] ^ y[r[n++]] ^ d[r[n++]] ^ _[r[n++]] ^ v[r[n++]] ^ f[r[n++]];
36
+ for (t += 15; n < t; )
37
+ e = e >>> 8 ^ f[(e ^ r[n++]) & 255];
38
+ return ~e;
39
+ }
40
+ function k(r, F) {
41
+ for (var e = F ^ -1, t = 0, n = r.length, a = 0, i = 0; t < n; )
42
+ a = r.charCodeAt(t++), a < 128 ? e = e >>> 8 ^ f[(e ^ a) & 255] : a < 2048 ? (e = e >>> 8 ^ f[(e ^ (192 | a >> 6 & 31)) & 255], e = e >>> 8 ^ f[(e ^ (128 | a & 63)) & 255]) : a >= 55296 && a < 57344 ? (a = (a & 1023) + 64, i = r.charCodeAt(t++) & 1023, e = e >>> 8 ^ f[(e ^ (240 | a >> 8 & 7)) & 255], e = e >>> 8 ^ f[(e ^ (128 | a >> 2 & 63)) & 255], e = e >>> 8 ^ f[(e ^ (128 | i >> 6 & 15 | (a & 3) << 4)) & 255], e = e >>> 8 ^ f[(e ^ (128 | i & 63)) & 255]) : (e = e >>> 8 ^ f[(e ^ (224 | a >> 12 & 15)) & 255], e = e >>> 8 ^ f[(e ^ (128 | a >> 6 & 63)) & 255], e = e >>> 8 ^ f[(e ^ (128 | a & 63)) & 255]);
43
+ return ~e;
44
+ }
45
+ u.table = f, u.bstr = O, u.buf = j, u.str = k;
46
+ });
47
+ })(x);
48
+ const P = /* @__PURE__ */ C(x);
49
+ export {
50
+ P as default
51
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const B=require("../../../_virtual/_commonjsHelpers.cjs"),O=require("../../../_virtual/browser-ponyfill.cjs");(function(R,d){var m=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof B.commonjsGlobal<"u"&&B.commonjsGlobal,w=function(){function p(){this.fetch=!1,this.DOMException=m.DOMException}return p.prototype=m,new p}();(function(p){(function(u){var a=typeof p<"u"&&p||typeof self<"u"&&self||typeof a<"u"&&a,f={searchParams:"URLSearchParams"in a,iterable:"Symbol"in a&&"iterator"in Symbol,blob:"FileReader"in a&&"Blob"in a&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in a,arrayBuffer:"ArrayBuffer"in a};function U(e){return e&&DataView.prototype.isPrototypeOf(e)}if(f.arrayBuffer)var j=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],S=ArrayBuffer.isView||function(e){return e&&j.indexOf(Object.prototype.toString.call(e))>-1};function b(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function E(e){return typeof e!="string"&&(e=String(e)),e}function A(e){var t={next:function(){var r=e.shift();return{done:r===void 0,value:r}}};return f.iterable&&(t[Symbol.iterator]=function(){return t}),t}function s(e){this.map={},e instanceof s?e.forEach(function(t,r){this.append(r,t)},this):Array.isArray(e)?e.forEach(function(t){this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}s.prototype.append=function(e,t){e=b(e),t=E(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},s.prototype.delete=function(e){delete this.map[b(e)]},s.prototype.get=function(e){return e=b(e),this.has(e)?this.map[e]:null},s.prototype.has=function(e){return this.map.hasOwnProperty(b(e))},s.prototype.set=function(e,t){this.map[b(e)]=E(t)},s.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},s.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),A(e)},s.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),A(e)},s.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),A(e)},f.iterable&&(s.prototype[Symbol.iterator]=s.prototype.entries);function T(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function D(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function F(e){var t=new FileReader,r=D(t);return t.readAsArrayBuffer(e),r}function M(e){var t=new FileReader,r=D(t);return t.readAsText(e),r}function H(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function P(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function x(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?typeof e=="string"?this._bodyText=e:f.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:f.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:f.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():f.arrayBuffer&&f.blob&&U(e)?(this._bodyArrayBuffer=P(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):f.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||S(e))?this._bodyArrayBuffer=P(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||(typeof e=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):f.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},f.blob&&(this.blob=function(){var e=T(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=T(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else return this.blob().then(F)}),this.text=function(){var e=T(this);if(e)return e;if(this._bodyBlob)return M(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(H(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},f.formData&&(this.formData=function(){return this.text().then(L)}),this.json=function(){return this.text().then(JSON.parse)},this}var I=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function q(e){var t=e.toUpperCase();return I.indexOf(t)>-1?t:e}function c(e,t){if(!(this instanceof c))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var r=t.body;if(e instanceof c){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new s(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!r&&e._bodyInit!=null&&(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new s(t.headers)),this.method=q(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}c.prototype.clone=function(){return new c(this,{body:this._bodyInit})};function L(e){var t=new FormData;return e.trim().split("&").forEach(function(r){if(r){var n=r.split("="),i=n.shift().replace(/\+/g," "),o=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(o))}}),t}function C(e){var t=new s,r=e.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(`
2
+ `)===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),o=i.shift().trim();if(o){var _=i.join(":").trim();t.append(o,_)}}),t}x.call(c.prototype);function l(e,t){if(!(this instanceof l))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new s(t.headers),this.url=t.url||"",this._initBody(e)}x.call(l.prototype),l.prototype.clone=function(){return new l(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new s(this.headers),url:this.url})},l.error=function(){var e=new l(null,{status:0,statusText:""});return e.type="error",e};var k=[301,302,303,307,308];l.redirect=function(e,t){if(k.indexOf(t)===-1)throw new RangeError("Invalid status code");return new l(null,{status:t,headers:{location:e}})},u.DOMException=a.DOMException;try{new u.DOMException}catch{u.DOMException=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},u.DOMException.prototype=Object.create(Error.prototype),u.DOMException.prototype.constructor=u.DOMException}function g(e,t){return new Promise(function(r,n){var i=new c(e,t);if(i.signal&&i.signal.aborted)return n(new u.DOMException("Aborted","AbortError"));var o=new XMLHttpRequest;function _(){o.abort()}o.onload=function(){var h={status:o.status,statusText:o.statusText,headers:C(o.getAllResponseHeaders()||"")};h.url="responseURL"in o?o.responseURL:h.headers.get("X-Request-URL");var v="response"in o?o.response:o.responseText;setTimeout(function(){r(new l(v,h))},0)},o.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},o.onabort=function(){setTimeout(function(){n(new u.DOMException("Aborted","AbortError"))},0)};function G(h){try{return h===""&&a.location.href?a.location.href:h}catch{return h}}o.open(i.method,G(i.url),!0),i.credentials==="include"?o.withCredentials=!0:i.credentials==="omit"&&(o.withCredentials=!1),"responseType"in o&&(f.blob?o.responseType="blob":f.arrayBuffer&&i.headers.get("Content-Type")&&i.headers.get("Content-Type").indexOf("application/octet-stream")!==-1&&(o.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof s)?Object.getOwnPropertyNames(t.headers).forEach(function(h){o.setRequestHeader(h,E(t.headers[h]))}):i.headers.forEach(function(h,v){o.setRequestHeader(v,h)}),i.signal&&(i.signal.addEventListener("abort",_),o.onreadystatechange=function(){o.readyState===4&&i.signal.removeEventListener("abort",_)}),o.send(typeof i._bodyInit>"u"?null:i._bodyInit)})}return g.polyfill=!0,a.fetch||(a.fetch=g,a.Headers=s,a.Request=c,a.Response=l),u.Headers=s,u.Request=c,u.Response=l,u.fetch=g,u})({})})(w),w.fetch.ponyfill=!0,delete w.fetch.polyfill;var y=m.fetch?m:w;d=y.fetch,d.default=y.fetch,d.fetch=y.fetch,d.Headers=y.Headers,d.Request=y.Request,d.Response=y.Response,R.exports=d})(O.__module,O.__module.exports);var N=O.__module.exports;const V=B.getDefaultExportFromCjs(N);exports.default=V;