@ozdao/prometheus-framework 0.2.47 → 0.2.48

Sign up to get free protection for your applications and to get access to all the features.
Files changed (445) hide show
  1. package/dist/main-610fd21a.mjs +13628 -0
  2. package/dist/main-669fac33.js +91 -0
  3. package/dist/main.css +1 -1
  4. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  5. package/dist/node_modules/@noble/hashes/esm/_assert.js +6 -6
  6. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  7. package/dist/node_modules/@noble/hashes/esm/_u64.js +8 -8
  8. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  9. package/dist/node_modules/@noble/hashes/esm/sha512.js +2 -2
  10. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/helpers/isURLSameOrigin.js +1 -1
  11. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.cjs +1 -1
  12. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/platform/common/utils.js +2 -2
  13. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.cjs +1 -1
  14. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework/node_modules/axios/lib/utils.js +3 -3
  15. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +1 -1
  16. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +6 -6
  17. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  18. package/dist/node_modules/ethereum-cryptography/esm/utils.js +4 -3
  19. package/dist/node_modules/vue3-carousel/dist/carousel.css.cjs +1 -1
  20. package/dist/node_modules/vue3-carousel/dist/carousel.css.js +4 -1
  21. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  22. package/dist/node_modules/web3/lib/esm/accounts.js +36 -36
  23. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.cjs +1 -1
  24. package/dist/node_modules/web3-core/lib/esm/web3_batch_request.js +27 -27
  25. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  26. package/dist/node_modules/web3-core/lib/esm/web3_context.js +24 -24
  27. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.cjs +1 -1
  28. package/dist/node_modules/web3-core/lib/esm/web3_promi_event.js +33 -33
  29. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  30. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +10 -10
  31. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.cjs +1 -1
  32. package/dist/node_modules/web3-core/lib/esm/web3_subscription_manager.js +1 -1
  33. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.cjs +1 -1
  34. package/dist/node_modules/web3-core/lib/esm/web3_subscriptions.js +13 -13
  35. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  36. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +110 -110
  37. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  38. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +26 -26
  39. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.cjs +1 -1
  40. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_error.js +14 -14
  41. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.cjs +1 -1
  42. package/dist/node_modules/web3-eth/lib/esm/utils/get_transaction_gas_pricing.js +36 -36
  43. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  44. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +20 -20
  45. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.cjs +1 -1
  46. package/dist/node_modules/web3-eth/lib/esm/utils/reject_if_block_timeout.js +23 -23
  47. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  48. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +17 -17
  49. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.cjs +1 -1
  50. package/dist/node_modules/web3-eth/lib/esm/utils/transaction_builder.js +11 -11
  51. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.cjs +1 -1
  52. package/dist/node_modules/web3-eth/lib/esm/utils/try_send_transaction.js +24 -24
  53. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.cjs +1 -1
  54. package/dist/node_modules/web3-eth/lib/esm/utils/wait_for_transaction_receipt.js +25 -25
  55. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -1
  56. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +19 -19
  57. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  58. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +39 -39
  59. package/dist/node_modules/web3-eth/lib/esm/web3_eth.cjs +1 -1
  60. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +7 -7
  61. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  62. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +28 -28
  63. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.cjs +1 -1
  64. package/dist/node_modules/web3-eth-accounts/lib/esm/wallet.js +3 -3
  65. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  66. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +8 -8
  67. package/dist/node_modules/web3-eth-ens/lib/esm/ens.cjs +1 -1
  68. package/dist/node_modules/web3-eth-ens/lib/esm/ens.js +15 -15
  69. package/dist/node_modules/web3-eth-ens/lib/esm/registry.cjs +1 -1
  70. package/dist/node_modules/web3-eth-ens/lib/esm/registry.js +16 -16
  71. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.cjs +1 -1
  72. package/dist/node_modules/web3-eth-ens/lib/esm/resolver.js +26 -26
  73. package/dist/node_modules/web3-eth-iban/lib/esm/iban.cjs +1 -1
  74. package/dist/node_modules/web3-eth-iban/lib/esm/iban.js +2 -2
  75. package/dist/node_modules/web3-eth-personal/lib/esm/personal.cjs +1 -1
  76. package/dist/node_modules/web3-eth-personal/lib/esm/personal.js +19 -19
  77. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.cjs +1 -1
  78. package/dist/node_modules/web3-eth-personal/lib/esm/rpc_method_wrappers.js +35 -35
  79. package/dist/node_modules/web3-net/lib/esm/net.cjs +1 -1
  80. package/dist/node_modules/web3-net/lib/esm/net.js +25 -25
  81. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.cjs +1 -1
  82. package/dist/node_modules/web3-net/lib/esm/rpc_method_wrappers.js +25 -25
  83. package/dist/node_modules/web3-providers-http/lib/esm/index.cjs +1 -1
  84. package/dist/node_modules/web3-providers-http/lib/esm/index.js +33 -33
  85. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.cjs +1 -1
  86. package/dist/node_modules/web3-rpc-methods/lib/esm/eth_rpc_methods.js +5 -5
  87. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.cjs +1 -1
  88. package/dist/node_modules/web3-rpc-methods/lib/esm/net_rpc_methods.js +19 -19
  89. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.cjs +1 -1
  90. package/dist/node_modules/web3-rpc-methods/lib/esm/personal_rpc_methods.js +27 -27
  91. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.cjs +1 -1
  92. package/dist/node_modules/web3-types/lib/esm/web3_base_provider.js +25 -25
  93. package/dist/node_modules/web3-utils/lib/esm/event_emitter.cjs +1 -1
  94. package/dist/node_modules/web3-utils/lib/esm/event_emitter.js +15 -15
  95. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.cjs +1 -1
  96. package/dist/node_modules/web3-utils/lib/esm/promise_helpers.js +19 -19
  97. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  98. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +17 -17
  99. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.cjs +1 -1
  100. package/dist/node_modules/web3-utils/lib/esm/web3_deferred_promise.js +5 -5
  101. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.cjs +1 -1
  102. package/dist/node_modules/web3-utils/lib/esm/web3_eip1193_provider.js +5 -5
  103. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  104. package/dist/prometheus-framework/src/components/Address/Address.vue.js +4 -1
  105. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.cjs +1 -1
  106. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue.js +4 -1
  107. package/dist/prometheus-framework/src/components/Button/Button.vue.cjs +1 -1
  108. package/dist/prometheus-framework/src/components/Button/Button.vue.js +227 -1
  109. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  110. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +2 -225
  111. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  112. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +2 -61
  113. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.cjs +1 -1
  114. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue2.js +63 -1
  115. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.cjs +1 -1
  116. package/dist/prometheus-framework/src/components/Chips/Chips.vue2.js +4 -1
  117. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  118. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +4 -1
  119. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.cjs +1 -1
  120. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue2.js +4 -1
  121. package/dist/prometheus-framework/src/components/Field/Field.vue.cjs +1 -1
  122. package/dist/prometheus-framework/src/components/Field/Field.vue.js +78 -1
  123. package/dist/prometheus-framework/src/components/Field/Field.vue2.cjs +1 -1
  124. package/dist/prometheus-framework/src/components/Field/Field.vue2.js +2 -76
  125. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  126. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +1 -1
  127. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  128. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -1
  129. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.cjs +1 -1
  130. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue2.js +4 -1
  131. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.cjs +1 -1
  132. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue.js +1 -1
  133. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.cjs +1 -1
  134. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone2.vue2.js +4 -1
  135. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.cjs +1 -1
  136. package/dist/prometheus-framework/src/components/FieldTags/BlockTags.vue2.js +4 -1
  137. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.cjs +1 -1
  138. package/dist/prometheus-framework/src/components/FieldTags/tag-input.vue.js +4 -1
  139. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.cjs +1 -1
  140. package/dist/prometheus-framework/src/components/FieldTags/vue-tags-input.scss.js +4 -1
  141. package/dist/prometheus-framework/src/components/Loader/Loader.vue.cjs +1 -1
  142. package/dist/prometheus-framework/src/components/Loader/Loader.vue.js +4 -1
  143. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  144. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +4 -1
  145. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.cjs +1 -1
  146. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue2.js +4 -1
  147. package/dist/prometheus-framework/src/components/Map/Map.vue.cjs +1 -1
  148. package/dist/prometheus-framework/src/components/Map/Map.vue.js +4 -1
  149. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  150. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +2 -70
  151. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/Popup/Popup.vue2.js +72 -1
  153. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  154. package/dist/prometheus-framework/src/components/Select/Select.vue.js +2 -95
  155. package/dist/prometheus-framework/src/components/Select/Select.vue2.cjs +1 -1
  156. package/dist/prometheus-framework/src/components/Select/Select.vue2.js +97 -1
  157. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/SelectMulti/SelectMulti.vue2.js +4 -1
  159. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.cjs +1 -1
  160. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue.js +4 -1
  161. package/dist/prometheus-framework/src/components/Tab/Tab.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/Tab/Tab.vue.js +46 -1
  163. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  164. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +2 -44
  165. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -1
  166. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -1
  167. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +1 -1
  169. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  170. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +4 -1
  171. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +1 -1
  173. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  174. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +1 -1
  175. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/modules/auth/components/layouts/Auth.vue.js +3 -3
  177. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterCode.vue.js +1 -1
  179. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  180. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +3 -3
  181. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.cjs +1 -1
  182. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue2.js +4 -1
  183. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue.js +3 -3
  185. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.cjs +1 -1
  186. package/dist/prometheus-framework/src/modules/auth/components/pages/Invite.vue2.js +4 -1
  187. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.cjs +1 -1
  188. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue.js +3 -3
  189. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.cjs +1 -1
  190. package/dist/prometheus-framework/src/modules/auth/components/pages/ResetPassword.vue2.js +4 -1
  191. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  192. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +3 -3
  193. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.cjs +1 -1
  194. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue2.js +4 -1
  195. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  196. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +3 -3
  197. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.cjs +1 -1
  198. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue2.js +4 -1
  199. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.cjs +1 -1
  200. package/dist/prometheus-framework/src/modules/auth/components/sections/SliderFeatures.vue2.js +4 -1
  201. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  202. package/dist/prometheus-framework/src/modules/auth/store/auth.js +2 -2
  203. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  204. package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
  205. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  206. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  207. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue2.js +4 -1
  209. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +1 -1
  211. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +4 -1
  213. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +5 -5
  215. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +1 -1
  217. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +4 -1
  219. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue2.js +4 -1
  221. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +1 -1
  223. package/dist/prometheus-framework/src/modules/community/store/reactions.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/community/store/reactions.js +1 -1
  225. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +1 -1
  227. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/constructor/components/elements/H2.vue2.js +4 -1
  229. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +1 -1
  231. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +1 -5
  232. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +2 -65
  233. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.cjs +5 -1
  234. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue2.js +66 -0
  235. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +1 -1
  237. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue.js +1 -1
  239. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/events/components/elements/ButtonJoin.vue2.js +4 -1
  241. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +1 -1
  243. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +7 -7
  245. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.cjs +1 -1
  246. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue2.js +4 -1
  247. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  248. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +3 -3
  249. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.cjs +1 -1
  250. package/dist/prometheus-framework/src/modules/events/components/sections/HeroEvent.vue2.js +4 -1
  251. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.cjs +1 -1
  252. package/dist/prometheus-framework/src/modules/events/components/sections/List.vue2.js +4 -1
  253. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/events/components/sections/SectionMainGuest.vue2.js +4 -1
  255. package/dist/prometheus-framework/src/modules/events/store/events.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/events/store/events.js +1 -1
  257. package/dist/prometheus-framework/src/modules/events/store/tickets.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/events/store/tickets.js +1 -1
  259. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue.js +3 -3
  261. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/gallery/components/sections/BackofficeGallery.vue2.js +4 -1
  263. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  264. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +3 -3
  265. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.cjs +1 -1
  266. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue2.js +4 -1
  267. package/dist/prometheus-framework/src/modules/gallery/store/gallery.cjs +1 -1
  268. package/dist/prometheus-framework/src/modules/gallery/store/gallery.js +1 -1
  269. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  270. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  271. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue2.js +4 -1
  273. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue.js +2 -2
  275. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.cjs +1 -1
  276. package/dist/prometheus-framework/src/modules/legal/components/pages/Legal.vue2.js +4 -1
  277. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -1
  278. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +1 -1
  279. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.cjs +1 -1
  280. package/dist/prometheus-framework/src/modules/mobile/components/Menu/Menu.vue.js +4 -1
  281. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -1
  282. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -1
  283. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  284. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +1 -1
  285. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.cjs +1 -1
  286. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue2.js +4 -1
  287. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  288. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +1 -1
  289. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -1
  290. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +2 -2
  291. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  292. package/dist/prometheus-framework/src/modules/orders/store/orders.js +1 -1
  293. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.cjs +1 -1
  294. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue2.js +4 -1
  295. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  296. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +1 -1
  297. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.cjs +1 -1
  298. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue.js +2 -2
  299. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.cjs +1 -1
  300. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentMemberModify.vue2.js +4 -1
  301. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.cjs +1 -1
  302. package/dist/prometheus-framework/src/modules/organizations/components/blocks/DepartmentSub.vue2.js +4 -1
  303. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.cjs +1 -1
  304. package/dist/prometheus-framework/src/modules/organizations/components/blocks/EditArray.vue2.js +4 -1
  305. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.cjs +1 -1
  306. package/dist/prometheus-framework/src/modules/organizations/components/blocks/User.vue2.js +4 -1
  307. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  308. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +1 -1
  309. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  310. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +6 -6
  311. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.cjs +1 -1
  312. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue2.js +4 -1
  313. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  314. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +1 -1
  315. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.cjs +1 -1
  316. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue2.js +4 -1
  317. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  318. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +5 -5
  319. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  320. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +1 -1
  321. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.cjs +1 -1
  322. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue.js +3 -3
  323. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.cjs +1 -1
  324. package/dist/prometheus-framework/src/modules/organizations/components/sections/Documents.vue2.js +4 -1
  325. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  326. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +1 -1
  327. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.cjs +1 -1
  328. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersAdd.vue.js +3 -3
  329. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.cjs +1 -1
  330. package/dist/prometheus-framework/src/modules/organizations/components/sections/MembersList.vue.js +1 -1
  331. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  332. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +5 -5
  333. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.cjs +1 -1
  334. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue2.js +4 -1
  335. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.cjs +1 -1
  336. package/dist/prometheus-framework/src/modules/organizations/components/sections/Publics.vue2.js +4 -1
  337. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.cjs +1 -1
  338. package/dist/prometheus-framework/src/modules/organizations/components/sections/Unit.vue.js +4 -1
  339. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  340. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  341. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  342. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  343. package/dist/prometheus-framework/src/modules/organizations/store/memberships.cjs +1 -1
  344. package/dist/prometheus-framework/src/modules/organizations/store/memberships.js +1 -1
  345. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  346. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +1 -1
  347. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.cjs +1 -1
  348. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue2.js +4 -1
  349. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.cjs +1 -1
  350. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue2.js +4 -1
  351. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  352. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +2 -2
  353. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  354. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +50 -47
  355. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.cjs +1 -1
  356. package/dist/prometheus-framework/src/modules/products/components/blocks/CategoryCard.vue2.js +4 -1
  357. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.cjs +1 -1
  358. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue2.js +4 -1
  359. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  360. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +1 -1
  361. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.cjs +1 -1
  362. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue2.js +4 -1
  363. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.cjs +1 -1
  364. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue.js +1 -1
  365. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.cjs +1 -1
  366. package/dist/prometheus-framework/src/modules/products/components/blocks/LeftoverPositions.vue2.js +4 -1
  367. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -1
  368. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +1 -1
  369. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.cjs +1 -1
  370. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue2.js +4 -1
  371. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.cjs +1 -1
  372. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue2.js +4 -1
  373. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.cjs +1 -1
  374. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue2.js +4 -1
  375. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -1
  376. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +2 -2
  377. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -1
  378. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -1
  379. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  380. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +1 -1
  381. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.cjs +1 -1
  382. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue2.js +4 -1
  383. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.cjs +1 -1
  384. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue2.js +4 -1
  385. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  386. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +6 -6
  387. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.cjs +1 -1
  388. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue2.js +4 -1
  389. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.cjs +1 -1
  390. package/dist/prometheus-framework/src/modules/products/components/pages/ProductRecommmendation.vue2.js +4 -1
  391. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  392. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +1 -1
  393. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.cjs +1 -1
  394. package/dist/prometheus-framework/src/modules/products/components/sections/EditModifications.vue.js +1 -1
  395. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  396. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +3 -3
  397. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  398. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +1 -1
  399. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.cjs +1 -1
  400. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue2.js +4 -1
  401. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.cjs +1 -1
  402. package/dist/prometheus-framework/src/modules/products/components/sections/HeroRecommendation.vue2.js +4 -1
  403. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -1
  404. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -1
  405. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  406. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +1 -1
  407. package/dist/prometheus-framework/src/modules/products/store/categories.cjs +1 -1
  408. package/dist/prometheus-framework/src/modules/products/store/categories.js +1 -1
  409. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  410. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +1 -1
  411. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  412. package/dist/prometheus-framework/src/modules/products/store/products.js +1 -1
  413. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.cjs +1 -1
  414. package/dist/prometheus-framework/src/modules/reports/components/sections/FormReport.vue.js +3 -3
  415. package/dist/prometheus-framework/src/modules/reports/store/reports.cjs +1 -1
  416. package/dist/prometheus-framework/src/modules/reports/store/reports.js +1 -1
  417. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.cjs +1 -1
  418. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue2.js +4 -1
  419. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  420. package/dist/prometheus-framework/src/modules/spots/store/spots.js +1 -1
  421. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  422. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +2 -2
  423. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.cjs +1 -1
  424. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue2.js +4 -1
  425. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  426. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  427. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  428. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +3 -3
  429. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.cjs +1 -1
  430. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue2.js +4 -1
  431. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  432. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  433. package/dist/prometheus-framework/src/modules/users/store/users.cjs +1 -1
  434. package/dist/prometheus-framework/src/modules/users/store/users.js +1 -1
  435. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  436. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +3 -3
  437. package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -1
  438. package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +2 -2
  439. package/dist/prometheus-framework.cjs.js +1 -1
  440. package/dist/prometheus-framework.es.js +1 -1
  441. package/dist/style.css +1 -1
  442. package/dist/web-0410cac1.js +1 -0
  443. package/dist/web-c1619455.mjs +55 -0
  444. package/package.json +1 -1
  445. package/src/modules/products/components/blocks/CardProduct.vue +1 -1
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function o(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function i(e){if(typeof e!="boolean")throw new Error(`Expected boolean, not ${e}`)}function c(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function r(e,...t){if(!c(e))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function u(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");o(e.outputLen),o(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function f(e,t){r(e);const n=t.outputLen;if(e.length<n)throw new Error(`digestInto() expects output buffer of length at least ${n}`)}const l={number:o,bool:i,bytes:r,hash:u,exists:s,output:f};exports.bool=i;exports.bytes=r;exports.default=l;exports.exists=s;exports.hash=u;exports.number=o;exports.output=f;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function o(e){if(!Number.isSafeInteger(e)||e<0)throw new Error(`Wrong positive integer: ${e}`)}function i(e){if(typeof e!="boolean")throw new Error(`Expected boolean, not ${e}`)}function c(e){return e instanceof Uint8Array||e!=null&&typeof e=="object"&&e.constructor.name==="Uint8Array"}function r(e,...t){if(!c(e))throw new Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw new Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function u(e){if(typeof e!="function"||typeof e.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");o(e.outputLen),o(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw new Error("Hash instance has been destroyed");if(t&&e.finished)throw new Error("Hash#digest() has already been called")}function f(e,t){r(e);const n=t.outputLen;if(e.length<n)throw new Error(`digestInto() expects output buffer of length at least ${n}`)}const l={number:o,bool:i,bytes:r,hash:u,exists:s,output:f},a=l;exports.bool=i;exports.bytes=r;exports.default=a;exports.exists=s;exports.hash=u;exports.number=o;exports.output=f;
@@ -15,12 +15,12 @@ function o(t, ...e) {
15
15
  if (e.length > 0 && !e.includes(t.length))
16
16
  throw new Error(`Expected Uint8Array of length ${e}, not of length=${t.length}`);
17
17
  }
18
- function u(t) {
18
+ function s(t) {
19
19
  if (typeof t != "function" || typeof t.create != "function")
20
20
  throw new Error("Hash should be wrapped by utils.wrapConstructor");
21
21
  r(t.outputLen), r(t.blockLen);
22
22
  }
23
- function s(t, e = !0) {
23
+ function u(t, e = !0) {
24
24
  if (t.destroyed)
25
25
  throw new Error("Hash instance has been destroyed");
26
26
  if (e && t.finished)
@@ -32,13 +32,13 @@ function c(t, e) {
32
32
  if (t.length < n)
33
33
  throw new Error(`digestInto() expects output buffer of length at least ${n}`);
34
34
  }
35
- const a = { number: r, bool: i, bytes: o, hash: u, exists: s, output: c };
35
+ const a = { number: r, bool: i, bytes: o, hash: s, exists: u, output: c }, l = a;
36
36
  export {
37
37
  i as bool,
38
38
  o as bytes,
39
- a as default,
40
- s as exists,
41
- u as hash,
39
+ l as default,
40
+ u as exists,
41
+ s as hash,
42
42
  r as number,
43
43
  c as output
44
44
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=BigInt(2**32-1),l=BigInt(32);function s(t,o=!1){return o?{h:Number(t&e),l:Number(t>>l&e)}:{h:Number(t>>l&e)|0,l:Number(t&e)|0}}function a(t,o=!1){let r=new Uint32Array(t.length),n=new Uint32Array(t.length);for(let d=0;d<t.length;d++){const{h:c,l:w}=s(t[d],o);[r[d],n[d]]=[c,w]}return[r,n]}const i=(t,o)=>BigInt(t>>>0)<<l|BigInt(o>>>0),u=(t,o,r)=>t>>>r,H=(t,o,r)=>t<<32-r|o>>>r,L=(t,o,r)=>t>>>r|o<<32-r,B=(t,o,r)=>t<<32-r|o>>>r,S=(t,o,r)=>t<<64-r|o>>>r-32,g=(t,o,r)=>t>>>r-32|o<<64-r,h=(t,o)=>o,f=(t,o)=>t,m=(t,o,r)=>t<<r|o>>>32-r,_=(t,o,r)=>o<<r|t>>>32-r,b=(t,o,r)=>o<<r-32|t>>>64-r,A=(t,o,r)=>t<<r-32|o>>>64-r;function I(t,o,r,n){const d=(o>>>0)+(n>>>0);return{h:t+r+(d/2**32|0)|0,l:d|0}}const N=(t,o,r)=>(t>>>0)+(o>>>0)+(r>>>0),p=(t,o,r,n)=>o+r+n+(t/2**32|0)|0,y=(t,o,r,n)=>(t>>>0)+(o>>>0)+(r>>>0)+(n>>>0),M=(t,o,r,n,d)=>o+r+n+d+(t/2**32|0)|0,U=(t,o,r,n,d)=>(t>>>0)+(o>>>0)+(r>>>0)+(n>>>0)+(d>>>0),v=(t,o,r,n,d,c)=>o+r+n+d+c+(t/2**32|0)|0,j={fromBig:s,split:a,toBig:i,shrSH:u,shrSL:H,rotrSH:L,rotrSL:B,rotrBH:S,rotrBL:g,rotr32H:h,rotr32L:f,rotlSH:m,rotlSL:_,rotlBH:b,rotlBL:A,add:I,add3L:N,add3H:p,add4L:y,add4H:M,add5H:v,add5L:U};exports.add=I;exports.add3H=p;exports.add3L=N;exports.add4H=M;exports.add4L=y;exports.add5H=v;exports.add5L=U;exports.default=j;exports.fromBig=s;exports.rotlBH=b;exports.rotlBL=A;exports.rotlSH=m;exports.rotlSL=_;exports.rotr32H=h;exports.rotr32L=f;exports.rotrBH=S;exports.rotrBL=g;exports.rotrSH=L;exports.rotrSL=B;exports.shrSH=u;exports.shrSL=H;exports.split=a;exports.toBig=i;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=BigInt(2**32-1),l=BigInt(32);function s(t,o=!1){return o?{h:Number(t&e),l:Number(t>>l&e)}:{h:Number(t>>l&e)|0,l:Number(t&e)|0}}function a(t,o=!1){let r=new Uint32Array(t.length),n=new Uint32Array(t.length);for(let d=0;d<t.length;d++){const{h:c,l:w}=s(t[d],o);[r[d],n[d]]=[c,w]}return[r,n]}const i=(t,o)=>BigInt(t>>>0)<<l|BigInt(o>>>0),u=(t,o,r)=>t>>>r,H=(t,o,r)=>t<<32-r|o>>>r,L=(t,o,r)=>t>>>r|o<<32-r,B=(t,o,r)=>t<<32-r|o>>>r,S=(t,o,r)=>t<<64-r|o>>>r-32,g=(t,o,r)=>t>>>r-32|o<<64-r,h=(t,o)=>o,f=(t,o)=>t,m=(t,o,r)=>t<<r|o>>>32-r,_=(t,o,r)=>o<<r|t>>>32-r,b=(t,o,r)=>o<<r-32|t>>>64-r,A=(t,o,r)=>t<<r-32|o>>>64-r;function I(t,o,r,n){const d=(o>>>0)+(n>>>0);return{h:t+r+(d/2**32|0)|0,l:d|0}}const N=(t,o,r)=>(t>>>0)+(o>>>0)+(r>>>0),p=(t,o,r,n)=>o+r+n+(t/2**32|0)|0,y=(t,o,r,n)=>(t>>>0)+(o>>>0)+(r>>>0)+(n>>>0),M=(t,o,r,n,d)=>o+r+n+d+(t/2**32|0)|0,U=(t,o,r,n,d)=>(t>>>0)+(o>>>0)+(r>>>0)+(n>>>0)+(d>>>0),v=(t,o,r,n,d,c)=>o+r+n+d+c+(t/2**32|0)|0,j={fromBig:s,split:a,toBig:i,shrSH:u,shrSL:H,rotrSH:L,rotrSL:B,rotrBH:S,rotrBL:g,rotr32H:h,rotr32L:f,rotlSH:m,rotlSL:_,rotlBH:b,rotlBL:A,add:I,add3L:N,add3H:p,add4L:y,add4H:M,add5H:v,add5L:U},K=j;exports.add=I;exports.add3H=p;exports.add3L=N;exports.add4H=M;exports.add4L=y;exports.add5H=v;exports.add5L=U;exports.default=K;exports.fromBig=s;exports.rotlBH=b;exports.rotlBL=A;exports.rotlSH=m;exports.rotlSL=_;exports.rotr32H=h;exports.rotr32L=f;exports.rotrBH=S;exports.rotrBL=g;exports.rotrSH=L;exports.rotrSL=B;exports.shrSH=u;exports.shrSL=H;exports.split=a;exports.toBig=i;
@@ -2,7 +2,7 @@ const e = /* @__PURE__ */ BigInt(4294967295), s = /* @__PURE__ */ BigInt(32);
2
2
  function d(t, o = !1) {
3
3
  return o ? { h: Number(t & e), l: Number(t >> s & e) } : { h: Number(t >> s & e) | 0, l: Number(t & e) | 0 };
4
4
  }
5
- function a(t, o = !1) {
5
+ function u(t, o = !1) {
6
6
  let n = new Uint32Array(t.length), r = new Uint32Array(t.length);
7
7
  for (let c = 0; c < t.length; c++) {
8
8
  const { h: l, l: i } = d(t[c], o);
@@ -10,15 +10,15 @@ function a(t, o = !1) {
10
10
  }
11
11
  return [n, r];
12
12
  }
13
- const u = (t, o) => BigInt(t >>> 0) << s | BigInt(o >>> 0), h = (t, o, n) => t >>> n, B = (t, o, n) => t << 32 - n | o >>> n, f = (t, o, n) => t >>> n | o << 32 - n, g = (t, o, n) => t << 32 - n | o >>> n, H = (t, o, n) => t << 64 - n | o >>> n - 32, L = (t, o, n) => t >>> n - 32 | o << 64 - n, S = (t, o) => o, m = (t, o) => t, A = (t, o, n) => t << n | o >>> 32 - n, _ = (t, o, n) => o << n | t >>> 32 - n, b = (t, o, n) => o << n - 32 | t >>> 64 - n, I = (t, o, n) => t << n - 32 | o >>> 64 - n;
13
+ const a = (t, o) => BigInt(t >>> 0) << s | BigInt(o >>> 0), h = (t, o, n) => t >>> n, B = (t, o, n) => t << 32 - n | o >>> n, f = (t, o, n) => t >>> n | o << 32 - n, g = (t, o, n) => t << 32 - n | o >>> n, H = (t, o, n) => t << 64 - n | o >>> n - 32, L = (t, o, n) => t >>> n - 32 | o << 64 - n, S = (t, o) => o, m = (t, o) => t, A = (t, o, n) => t << n | o >>> 32 - n, _ = (t, o, n) => o << n | t >>> 32 - n, b = (t, o, n) => o << n - 32 | t >>> 64 - n, I = (t, o, n) => t << n - 32 | o >>> 64 - n;
14
14
  function N(t, o, n, r) {
15
15
  const c = (o >>> 0) + (r >>> 0);
16
16
  return { h: t + n + (c / 2 ** 32 | 0) | 0, l: c | 0 };
17
17
  }
18
18
  const U = (t, o, n) => (t >>> 0) + (o >>> 0) + (n >>> 0), p = (t, o, n, r) => o + n + r + (t / 2 ** 32 | 0) | 0, w = (t, o, n, r) => (t >>> 0) + (o >>> 0) + (n >>> 0) + (r >>> 0), y = (t, o, n, r, c) => o + n + r + c + (t / 2 ** 32 | 0) | 0, x = (t, o, n, r, c) => (t >>> 0) + (o >>> 0) + (n >>> 0) + (r >>> 0) + (c >>> 0), K = (t, o, n, r, c, l) => o + n + r + c + l + (t / 2 ** 32 | 0) | 0, M = {
19
19
  fromBig: d,
20
- split: a,
21
- toBig: u,
20
+ split: u,
21
+ toBig: a,
22
22
  shrSH: h,
23
23
  shrSL: B,
24
24
  rotrSH: f,
@@ -38,7 +38,7 @@ const U = (t, o, n) => (t >>> 0) + (o >>> 0) + (n >>> 0), p = (t, o, n, r) => o
38
38
  add4H: y,
39
39
  add5H: K,
40
40
  add5L: x
41
- };
41
+ }, $ = M;
42
42
  export {
43
43
  N as add,
44
44
  p as add3H,
@@ -47,7 +47,7 @@ export {
47
47
  w as add4L,
48
48
  K as add5H,
49
49
  x as add5L,
50
- M as default,
50
+ $ as default,
51
51
  d as fromBig,
52
52
  b as rotlBH,
53
53
  I as rotlBL,
@@ -61,6 +61,6 @@ export {
61
61
  g as rotrSL,
62
62
  h as shrSH,
63
63
  B as shrSL,
64
- a as split,
65
- u as toBig
64
+ u as split,
65
+ a as toBig
66
66
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./_sha2.cjs"),t=require("./_u64.cjs"),I=require("./utils.cjs"),[J,K]=t.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(y=>BigInt(y))),L=new Uint32Array(80),C=new Uint32Array(80);class T extends w.SHA2{constructor(){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}get(){const{Ah:D,Al:g,Bh:a,Bl:d,Ch:l,Cl:h,Dh:s,Dl:b,Eh:u,El:n,Fh:c,Fl:f,Gh:x,Gl:i,Hh:r,Hl:o}=this;return[D,g,a,d,l,h,s,b,u,n,c,f,x,i,r,o]}set(D,g,a,d,l,h,s,b,u,n,c,f,x,i,r,o){this.Ah=D|0,this.Al=g|0,this.Bh=a|0,this.Bl=d|0,this.Ch=l|0,this.Cl=h|0,this.Dh=s|0,this.Dl=b|0,this.Eh=u|0,this.El=n|0,this.Fh=c|0,this.Fl=f|0,this.Gh=x|0,this.Gl=i|0,this.Hh=r|0,this.Hl=o|0}process(D,g){for(let e=0;e<16;e++,g+=4)L[e]=D.getUint32(g),C[e]=D.getUint32(g+=4);for(let e=16;e<80;e++){const A=L[e-15]|0,B=C[e-15]|0,m=t.default.rotrSH(A,B,1)^t.default.rotrSH(A,B,8)^t.default.shrSH(A,B,7),p=t.default.rotrSL(A,B,1)^t.default.rotrSL(A,B,8)^t.default.shrSL(A,B,7),H=L[e-2]|0,S=C[e-2]|0,G=t.default.rotrSH(H,S,19)^t.default.rotrBH(H,S,61)^t.default.shrSH(H,S,6),U=t.default.rotrSL(H,S,19)^t.default.rotrBL(H,S,61)^t.default.shrSL(H,S,6),_=t.default.add4L(p,U,C[e-7],C[e-16]),W=t.default.add4H(_,m,G,L[e-7],L[e-16]);L[e]=W|0,C[e]=_|0}let{Ah:a,Al:d,Bh:l,Bl:h,Ch:s,Cl:b,Dh:u,Dl:n,Eh:c,El:f,Fh:x,Fl:i,Gh:r,Gl:o,Hh:E,Hl:F}=this;for(let e=0;e<80;e++){const A=t.default.rotrSH(c,f,14)^t.default.rotrSH(c,f,18)^t.default.rotrBH(c,f,41),B=t.default.rotrSL(c,f,14)^t.default.rotrSL(c,f,18)^t.default.rotrBL(c,f,41),m=c&x^~c&r,p=f&i^~f&o,H=t.default.add5L(F,B,p,K[e],C[e]),S=t.default.add5H(H,E,A,m,J[e],L[e]),G=H|0,U=t.default.rotrSH(a,d,28)^t.default.rotrBH(a,d,34)^t.default.rotrBH(a,d,39),_=t.default.rotrSL(a,d,28)^t.default.rotrBL(a,d,34)^t.default.rotrBL(a,d,39),W=a&l^a&s^l&s,q=d&h^d&b^h&b;E=r|0,F=o|0,r=x|0,o=i|0,x=c|0,i=f|0,{h:c,l:f}=t.default.add(u|0,n|0,S|0,G|0),u=s|0,n=b|0,s=l|0,b=h|0,l=a|0,h=d|0;const M=t.default.add3L(G,_,q);a=t.default.add3H(M,S,U,W),d=M|0}({h:a,l:d}=t.default.add(this.Ah|0,this.Al|0,a|0,d|0)),{h:l,l:h}=t.default.add(this.Bh|0,this.Bl|0,l|0,h|0),{h:s,l:b}=t.default.add(this.Ch|0,this.Cl|0,s|0,b|0),{h:u,l:n}=t.default.add(this.Dh|0,this.Dl|0,u|0,n|0),{h:c,l:f}=t.default.add(this.Eh|0,this.El|0,c|0,f|0),{h:x,l:i}=t.default.add(this.Fh|0,this.Fl|0,x|0,i|0),{h:r,l:o}=t.default.add(this.Gh|0,this.Gl|0,r|0,o|0),{h:E,l:F}=t.default.add(this.Hh|0,this.Hl|0,E|0,F|0),this.set(a,d,l,h,s,b,u,n,c,f,x,i,r,o,E,F)}roundClean(){L.fill(0),C.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const j=I.wrapConstructor(()=>new T);exports.SHA512=T;exports.sha512=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./_sha2.cjs"),t=require("./_u64.cjs"),I=require("./utils.cjs"),[J,K]=(()=>t.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(y=>BigInt(y))))(),L=new Uint32Array(80),C=new Uint32Array(80);class T extends w.SHA2{constructor(){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}get(){const{Ah:D,Al:g,Bh:a,Bl:d,Ch:l,Cl:h,Dh:s,Dl:b,Eh:u,El:n,Fh:c,Fl:f,Gh:x,Gl:i,Hh:r,Hl:o}=this;return[D,g,a,d,l,h,s,b,u,n,c,f,x,i,r,o]}set(D,g,a,d,l,h,s,b,u,n,c,f,x,i,r,o){this.Ah=D|0,this.Al=g|0,this.Bh=a|0,this.Bl=d|0,this.Ch=l|0,this.Cl=h|0,this.Dh=s|0,this.Dl=b|0,this.Eh=u|0,this.El=n|0,this.Fh=c|0,this.Fl=f|0,this.Gh=x|0,this.Gl=i|0,this.Hh=r|0,this.Hl=o|0}process(D,g){for(let e=0;e<16;e++,g+=4)L[e]=D.getUint32(g),C[e]=D.getUint32(g+=4);for(let e=16;e<80;e++){const A=L[e-15]|0,B=C[e-15]|0,m=t.default.rotrSH(A,B,1)^t.default.rotrSH(A,B,8)^t.default.shrSH(A,B,7),p=t.default.rotrSL(A,B,1)^t.default.rotrSL(A,B,8)^t.default.shrSL(A,B,7),H=L[e-2]|0,S=C[e-2]|0,G=t.default.rotrSH(H,S,19)^t.default.rotrBH(H,S,61)^t.default.shrSH(H,S,6),U=t.default.rotrSL(H,S,19)^t.default.rotrBL(H,S,61)^t.default.shrSL(H,S,6),_=t.default.add4L(p,U,C[e-7],C[e-16]),W=t.default.add4H(_,m,G,L[e-7],L[e-16]);L[e]=W|0,C[e]=_|0}let{Ah:a,Al:d,Bh:l,Bl:h,Ch:s,Cl:b,Dh:u,Dl:n,Eh:c,El:f,Fh:x,Fl:i,Gh:r,Gl:o,Hh:E,Hl:F}=this;for(let e=0;e<80;e++){const A=t.default.rotrSH(c,f,14)^t.default.rotrSH(c,f,18)^t.default.rotrBH(c,f,41),B=t.default.rotrSL(c,f,14)^t.default.rotrSL(c,f,18)^t.default.rotrBL(c,f,41),m=c&x^~c&r,p=f&i^~f&o,H=t.default.add5L(F,B,p,K[e],C[e]),S=t.default.add5H(H,E,A,m,J[e],L[e]),G=H|0,U=t.default.rotrSH(a,d,28)^t.default.rotrBH(a,d,34)^t.default.rotrBH(a,d,39),_=t.default.rotrSL(a,d,28)^t.default.rotrBL(a,d,34)^t.default.rotrBL(a,d,39),W=a&l^a&s^l&s,q=d&h^d&b^h&b;E=r|0,F=o|0,r=x|0,o=i|0,x=c|0,i=f|0,{h:c,l:f}=t.default.add(u|0,n|0,S|0,G|0),u=s|0,n=b|0,s=l|0,b=h|0,l=a|0,h=d|0;const M=t.default.add3L(G,_,q);a=t.default.add3H(M,S,U,W),d=M|0}({h:a,l:d}=t.default.add(this.Ah|0,this.Al|0,a|0,d|0)),{h:l,l:h}=t.default.add(this.Bh|0,this.Bl|0,l|0,h|0),{h:s,l:b}=t.default.add(this.Ch|0,this.Cl|0,s|0,b|0),{h:u,l:n}=t.default.add(this.Dh|0,this.Dl|0,u|0,n|0),{h:c,l:f}=t.default.add(this.Eh|0,this.El|0,c|0,f|0),{h:x,l:i}=t.default.add(this.Fh|0,this.Fl|0,x|0,i|0),{h:r,l:o}=t.default.add(this.Gh|0,this.Gl|0,r|0,o|0),{h:E,l:F}=t.default.add(this.Hh|0,this.Hl|0,E|0,F|0),this.set(a,d,l,h,s,b,u,n,c,f,x,i,r,o,E,F)}roundClean(){L.fill(0),C.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}const j=I.wrapConstructor(()=>new T);exports.SHA512=T;exports.sha512=j;
@@ -1,7 +1,7 @@
1
1
  import { SHA2 as I } from "./_sha2.js";
2
2
  import c from "./_u64.js";
3
3
  import { wrapConstructor as T } from "./utils.js";
4
- const [J, K] = c.split([
4
+ const [J, K] = /* @__PURE__ */ (() => c.split([
5
5
  "0x428a2f98d728ae22",
6
6
  "0x7137449123ef65cd",
7
7
  "0xb5c0fbcfec4d3b2f",
@@ -82,7 +82,7 @@ const [J, K] = c.split([
82
82
  "0x597f299cfc657e2a",
83
83
  "0x5fcb6fab3ad6faec",
84
84
  "0x6c44198c4a475817"
85
- ].map((M) => BigInt(M))), C = /* @__PURE__ */ new Uint32Array(80), m = /* @__PURE__ */ new Uint32Array(80);
85
+ ].map((M) => BigInt(M))))(), C = /* @__PURE__ */ new Uint32Array(80), m = /* @__PURE__ */ new Uint32Array(80);
86
86
  class j extends I {
87
87
  constructor() {
88
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;
@@ -26,7 +26,7 @@ const i = s.hasStandardBrowserEnv ? (
26
26
  }()
27
27
  ) : (
28
28
  // Non standard browser envs (web workers, react-native) lack needed support.
29
- /* @__PURE__ */ function() {
29
+ function() {
30
30
  return function() {
31
31
  return !0;
32
32
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=typeof window<"u"&&typeof document<"u",t=(o=>e&&["ReactNative","NativeScript","NS"].indexOf(o)<0)(typeof navigator<"u"&&navigator.product),r=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function";exports.hasBrowserEnv=e;exports.hasStandardBrowserEnv=t;exports.hasStandardBrowserWebWorkerEnv=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=typeof window<"u"&&typeof document<"u",t=(o=>e&&["ReactNative","NativeScript","NS"].indexOf(o)<0)(typeof navigator<"u"&&navigator.product),r=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")();exports.hasBrowserEnv=e;exports.hasStandardBrowserEnv=t;exports.hasStandardBrowserWebWorkerEnv=r;
@@ -1,5 +1,5 @@
1
- const e = typeof window < "u" && typeof document < "u", r = ((o) => e && ["ReactNative", "NativeScript", "NS"].indexOf(o) < 0)(typeof navigator < "u" && navigator.product), t = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
2
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function";
1
+ const e = typeof window < "u" && typeof document < "u", r = ((o) => e && ["ReactNative", "NativeScript", "NS"].indexOf(o) < 0)(typeof navigator < "u" && navigator.product), t = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
2
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")();
3
3
  export {
4
4
  e as hasBrowserEnv,
5
5
  r as hasStandardBrowserEnv,
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const x=require("./helpers/bind.cjs"),{toString:C}=Object.prototype,{getPrototypeOf:h}=Object,b=(t=>r=>{const n=C.call(r);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),c=t=>(t=t.toLowerCase(),r=>b(r)===t),g=t=>r=>typeof r===t,{isArray:u}=Array,f=g("undefined");function E(t){return t!==null&&!f(t)&&t.constructor!==null&&!f(t.constructor)&&l(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const F=c("ArrayBuffer");function v(t){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(t):r=t&&t.buffer&&F(t.buffer),r}const M=g("string"),l=g("function"),S=g("number"),O=t=>t!==null&&typeof t=="object",N=t=>t===!0||t===!1,y=t=>{if(b(t)!=="object")return!1;const r=h(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},U=c("Date"),H=c("File"),I=c("Blob"),k=c("FileList"),_=t=>O(t)&&l(t.pipe),K=t=>{let r;return t&&(typeof FormData=="function"&&t instanceof FormData||l(t.append)&&((r=b(t))==="formdata"||r==="object"&&l(t.toString)&&t.toString()==="[object FormData]"))},R=c("URLSearchParams"),z=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function p(t,r,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let e,o;if(typeof t!="object"&&(t=[t]),u(t))for(e=0,o=t.length;e<o;e++)r.call(null,t[e],e,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let a;for(e=0;e<s;e++)a=i[e],r.call(null,t[a],a,t)}}function P(t,r){r=r.toLowerCase();const n=Object.keys(t);let e=n.length,o;for(;e-- >0;)if(o=n[e],r===o.toLowerCase())return o;return null}const L=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,B=t=>!f(t)&&t!==L;function d(){const{caseless:t}=B(this)&&this||{},r={},n=(e,o)=>{const i=t&&P(r,o)||o;y(r[i])&&y(e)?r[i]=d(r[i],e):y(e)?r[i]=d({},e):u(e)?r[i]=e.slice():r[i]=e};for(let e=0,o=arguments.length;e<o;e++)arguments[e]&&p(arguments[e],n);return r}const G=(t,r,n,{allOwnKeys:e}={})=>(p(r,(o,i)=>{n&&l(o)?t[i]=x.default(o,n):t[i]=o},{allOwnKeys:e}),t),V=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),q=(t,r,n,e)=>{t.prototype=Object.create(r.prototype,e),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:r.prototype}),n&&Object.assign(t.prototype,n)},J=(t,r,n,e)=>{let o,i,s;const a={};if(r=r||{},t==null)return r;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!e||e(s,t,r))&&!a[s]&&(r[s]=t[s],a[s]=!0);t=n!==!1&&h(t)}while(t&&(!n||n(t,r))&&t!==Object.prototype);return r},W=(t,r,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=r.length;const e=t.indexOf(r,n);return e!==-1&&e===n},$=t=>{if(!t)return null;if(u(t))return t;let r=t.length;if(!S(r))return null;const n=new Array(r);for(;r-- >0;)n[r]=t[r];return n},Q=(t=>r=>t&&r instanceof t)(typeof Uint8Array<"u"&&h(Uint8Array)),X=(t,r)=>{const n=(t&&t[Symbol.iterator]).call(t);let e;for(;(e=n.next())&&!e.done;){const o=e.value;r.call(t,o[0],o[1])}},Y=(t,r)=>{let n;const e=[];for(;(n=t.exec(r))!==null;)e.push(n);return e},Z=c("HTMLFormElement"),tt=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,e){return n.toUpperCase()+e}),A=(({hasOwnProperty:t})=>(r,n)=>t.call(r,n))(Object.prototype),rt=c("RegExp"),T=(t,r)=>{const n=Object.getOwnPropertyDescriptors(t),e={};p(n,(o,i)=>{let s;(s=r(o,i,t))!==!1&&(e[i]=s||o)}),Object.defineProperties(t,e)},et=t=>{T(t,(r,n)=>{if(l(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const e=t[n];if(l(e)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},nt=(t,r)=>{const n={},e=o=>{o.forEach(i=>{n[i]=!0})};return u(t)?e(t):e(String(t).split(r)),n},ot=()=>{},it=(t,r)=>(t=+t,Number.isFinite(t)?t:r),m="abcdefghijklmnopqrstuvwxyz",j="0123456789",D={DIGIT:j,ALPHA:m,ALPHA_DIGIT:m+m.toUpperCase()+j},st=(t=16,r=D.ALPHA_DIGIT)=>{let n="";const{length:e}=r;for(;t--;)n+=r[Math.random()*e|0];return n};function lt(t){return!!(t&&l(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ct=t=>{const r=new Array(10),n=(e,o)=>{if(O(e)){if(r.indexOf(e)>=0)return;if(!("toJSON"in e)){r[o]=e;const i=u(e)?[]:{};return p(e,(s,a)=>{const w=n(s,o+1);!f(w)&&(i[a]=w)}),r[o]=void 0,i}}return e};return n(t,0)},at=c("AsyncFunction"),ut=t=>t&&(O(t)||l(t))&&l(t.then)&&l(t.catch),ft={isArray:u,isArrayBuffer:F,isBuffer:E,isFormData:K,isArrayBufferView:v,isString:M,isNumber:S,isBoolean:N,isObject:O,isPlainObject:y,isUndefined:f,isDate:U,isFile:H,isBlob:I,isRegExp:rt,isFunction:l,isStream:_,isURLSearchParams:R,isTypedArray:Q,isFileList:k,forEach:p,merge:d,extend:G,trim:z,stripBOM:V,inherits:q,toFlatObject:J,kindOf:b,kindOfTest:c,endsWith:W,toArray:$,forEachEntry:X,matchAll:Y,isHTMLForm:Z,hasOwnProperty:A,hasOwnProp:A,reduceDescriptors:T,freezeMethods:et,toObjectSet:nt,toCamelCase:tt,noop:ot,toFiniteNumber:it,findKey:P,global:L,isContextDefined:B,ALPHABET:D,generateString:st,isSpecCompliantForm:lt,toJSONObject:ct,isAsyncFn:at,isThenable:ut};exports.default=ft;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const x=require("./helpers/bind.cjs"),{toString:C}=Object.prototype,{getPrototypeOf:h}=Object,b=(t=>r=>{const n=C.call(r);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),c=t=>(t=t.toLowerCase(),r=>b(r)===t),g=t=>r=>typeof r===t,{isArray:u}=Array,f=g("undefined");function E(t){return t!==null&&!f(t)&&t.constructor!==null&&!f(t.constructor)&&l(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const F=c("ArrayBuffer");function v(t){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(t):r=t&&t.buffer&&F(t.buffer),r}const M=g("string"),l=g("function"),S=g("number"),O=t=>t!==null&&typeof t=="object",N=t=>t===!0||t===!1,y=t=>{if(b(t)!=="object")return!1;const r=h(t);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},U=c("Date"),H=c("File"),I=c("Blob"),k=c("FileList"),_=t=>O(t)&&l(t.pipe),K=t=>{let r;return t&&(typeof FormData=="function"&&t instanceof FormData||l(t.append)&&((r=b(t))==="formdata"||r==="object"&&l(t.toString)&&t.toString()==="[object FormData]"))},R=c("URLSearchParams"),z=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function p(t,r,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let e,o;if(typeof t!="object"&&(t=[t]),u(t))for(e=0,o=t.length;e<o;e++)r.call(null,t[e],e,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let a;for(e=0;e<s;e++)a=i[e],r.call(null,t[a],a,t)}}function P(t,r){r=r.toLowerCase();const n=Object.keys(t);let e=n.length,o;for(;e-- >0;)if(o=n[e],r===o.toLowerCase())return o;return null}const L=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),B=t=>!f(t)&&t!==L;function d(){const{caseless:t}=B(this)&&this||{},r={},n=(e,o)=>{const i=t&&P(r,o)||o;y(r[i])&&y(e)?r[i]=d(r[i],e):y(e)?r[i]=d({},e):u(e)?r[i]=e.slice():r[i]=e};for(let e=0,o=arguments.length;e<o;e++)arguments[e]&&p(arguments[e],n);return r}const G=(t,r,n,{allOwnKeys:e}={})=>(p(r,(o,i)=>{n&&l(o)?t[i]=x.default(o,n):t[i]=o},{allOwnKeys:e}),t),V=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),q=(t,r,n,e)=>{t.prototype=Object.create(r.prototype,e),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:r.prototype}),n&&Object.assign(t.prototype,n)},J=(t,r,n,e)=>{let o,i,s;const a={};if(r=r||{},t==null)return r;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!e||e(s,t,r))&&!a[s]&&(r[s]=t[s],a[s]=!0);t=n!==!1&&h(t)}while(t&&(!n||n(t,r))&&t!==Object.prototype);return r},W=(t,r,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=r.length;const e=t.indexOf(r,n);return e!==-1&&e===n},$=t=>{if(!t)return null;if(u(t))return t;let r=t.length;if(!S(r))return null;const n=new Array(r);for(;r-- >0;)n[r]=t[r];return n},Q=(t=>r=>t&&r instanceof t)(typeof Uint8Array<"u"&&h(Uint8Array)),X=(t,r)=>{const n=(t&&t[Symbol.iterator]).call(t);let e;for(;(e=n.next())&&!e.done;){const o=e.value;r.call(t,o[0],o[1])}},Y=(t,r)=>{let n;const e=[];for(;(n=t.exec(r))!==null;)e.push(n);return e},Z=c("HTMLFormElement"),tt=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,e){return n.toUpperCase()+e}),A=(({hasOwnProperty:t})=>(r,n)=>t.call(r,n))(Object.prototype),rt=c("RegExp"),T=(t,r)=>{const n=Object.getOwnPropertyDescriptors(t),e={};p(n,(o,i)=>{let s;(s=r(o,i,t))!==!1&&(e[i]=s||o)}),Object.defineProperties(t,e)},et=t=>{T(t,(r,n)=>{if(l(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const e=t[n];if(l(e)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},nt=(t,r)=>{const n={},e=o=>{o.forEach(i=>{n[i]=!0})};return u(t)?e(t):e(String(t).split(r)),n},ot=()=>{},it=(t,r)=>(t=+t,Number.isFinite(t)?t:r),m="abcdefghijklmnopqrstuvwxyz",j="0123456789",D={DIGIT:j,ALPHA:m,ALPHA_DIGIT:m+m.toUpperCase()+j},st=(t=16,r=D.ALPHA_DIGIT)=>{let n="";const{length:e}=r;for(;t--;)n+=r[Math.random()*e|0];return n};function lt(t){return!!(t&&l(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const ct=t=>{const r=new Array(10),n=(e,o)=>{if(O(e)){if(r.indexOf(e)>=0)return;if(!("toJSON"in e)){r[o]=e;const i=u(e)?[]:{};return p(e,(s,a)=>{const w=n(s,o+1);!f(w)&&(i[a]=w)}),r[o]=void 0,i}}return e};return n(t,0)},at=c("AsyncFunction"),ut=t=>t&&(O(t)||l(t))&&l(t.then)&&l(t.catch),ft={isArray:u,isArrayBuffer:F,isBuffer:E,isFormData:K,isArrayBufferView:v,isString:M,isNumber:S,isBoolean:N,isObject:O,isPlainObject:y,isUndefined:f,isDate:U,isFile:H,isBlob:I,isRegExp:rt,isFunction:l,isStream:_,isURLSearchParams:R,isTypedArray:Q,isFileList:k,forEach:p,merge:d,extend:G,trim:z,stripBOM:V,inherits:q,toFlatObject:J,kindOf:b,kindOfTest:c,endsWith:W,toArray:$,forEachEntry:X,matchAll:Y,isHTMLForm:Z,hasOwnProperty:A,hasOwnProp:A,reduceDescriptors:T,freezeMethods:et,toObjectSet:nt,toCamelCase:tt,noop:ot,toFiniteNumber:it,findKey:P,global:L,isContextDefined:B,ALPHABET:D,generateString:st,isSpecCompliantForm:lt,toJSONObject:ct,isAsyncFn:at,isThenable:ut};exports.default=ft;
@@ -1,5 +1,5 @@
1
1
  import T from "./helpers/bind.js";
2
- const { toString: C } = Object.prototype, { getPrototypeOf: d } = Object, b = /* @__PURE__ */ ((t) => (r) => {
2
+ const { toString: C } = Object.prototype, { getPrototypeOf: d } = Object, b = ((t) => (r) => {
3
3
  const n = C.call(r);
4
4
  return t[n] || (t[n] = n.slice(8, -1).toLowerCase());
5
5
  })(/* @__PURE__ */ Object.create(null)), c = (t) => (t = t.toLowerCase(), (r) => b(r) === t), g = (t) => (r) => typeof r === t, { isArray: u } = Array, f = g("undefined");
@@ -44,7 +44,7 @@ function P(t, r) {
44
44
  return o;
45
45
  return null;
46
46
  }
47
- const L = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, B = (t) => !f(t) && t !== L;
47
+ const L = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), B = (t) => !f(t) && t !== L;
48
48
  function h() {
49
49
  const { caseless: t } = B(this) && this || {}, r = {}, n = (e, o) => {
50
50
  const i = t && P(r, o) || o;
@@ -87,7 +87,7 @@ const V = (t, r, n, { allOwnKeys: e } = {}) => (p(r, (o, i) => {
87
87
  for (; r-- > 0; )
88
88
  n[r] = t[r];
89
89
  return n;
90
- }, Q = /* @__PURE__ */ ((t) => (r) => t && r instanceof t)(typeof Uint8Array < "u" && d(Uint8Array)), X = (t, r) => {
90
+ }, Q = ((t) => (r) => t && r instanceof t)(typeof Uint8Array < "u" && d(Uint8Array)), X = (t, r) => {
91
91
  const n = (t && t[Symbol.iterator]).call(t);
92
92
  let e;
93
93
  for (; (e = n.next()) && !e.done; ) {
@@ -13,7 +13,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
13
13
  * core-base v9.8.0
14
14
  * (c) 2023 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function lr(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Pt().__INTLIFY_PROD_DEVTOOLS__=!1)}lr();function cr(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Pt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Nt={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};Et({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>ur(t)||!isNaN(t)}},Nt);Et({value:{type:Number,required:!0},format:{type:[String,Object]}},Nt);Et({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Nt);cr();if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Pt();t.__INTLIFY__=!0,t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__}process.env.NODE_ENV;function Ie(t,e){return function(){return t.apply(e,arguments)}}const{toString:fr}=Object.prototype,{getPrototypeOf:Tt}=Object,Y=(t=>e=>{const d=fr.call(e);return t[d]||(t[d]=d.slice(8,-1).toLowerCase())})(Object.create(null)),E=t=>(t=t.toLowerCase(),e=>Y(e)===t),Z=t=>e=>typeof e===t,{isArray:j}=Array,F=Z("undefined");function hr(t){return t!==null&&!F(t)&&t.constructor!==null&&!F(t.constructor)&&C(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Re=E("ArrayBuffer");function pr(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Re(t.buffer),e}const mr=Z("string"),C=Z("function"),je=Z("number"),X=t=>t!==null&&typeof t=="object",yr=t=>t===!0||t===!1,G=t=>{if(Y(t)!=="object")return!1;const e=Tt(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},gr=E("Date"),br=E("File"),vr=E("Blob"),Or=E("FileList"),Cr=t=>X(t)&&C(t.pipe),wr=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||C(t.append)&&((e=Y(t))==="formdata"||e==="object"&&C(t.toString)&&t.toString()==="[object FormData]"))},Sr=E("URLSearchParams"),Er=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function M(t,e,{allOwnKeys:d=!1}={}){if(t===null||typeof t>"u")return;let n,r;if(typeof t!="object"&&(t=[t]),j(t))for(n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else{const o=d?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let s;for(n=0;n<i;n++)s=o[n],e.call(null,t[s],s,t)}}function xe(t,e){e=e.toLowerCase();const d=Object.keys(t);let n=d.length,r;for(;n-- >0;)if(r=d[n],e===r.toLowerCase())return r;return null}const De=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_e=t=>!F(t)&&t!==De;function pt(){const{caseless:t}=_e(this)&&this||{},e={},d=(n,r)=>{const o=t&&xe(e,r)||r;G(e[o])&&G(n)?e[o]=pt(e[o],n):G(n)?e[o]=pt({},n):j(n)?e[o]=n.slice():e[o]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&M(arguments[n],d);return e}const Pr=(t,e,d,{allOwnKeys:n}={})=>(M(e,(r,o)=>{d&&C(r)?t[o]=Ie(r,d):t[o]=r},{allOwnKeys:n}),t),Nr=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Tr=(t,e,d,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),d&&Object.assign(t.prototype,d)},Ar=(t,e,d,n)=>{let r,o,i;const s={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),o=r.length;o-- >0;)i=r[o],(!n||n(i,t,e))&&!s[i]&&(e[i]=t[i],s[i]=!0);t=d!==!1&&Tt(t)}while(t&&(!d||d(t,e))&&t!==Object.prototype);return e},Ir=(t,e,d)=>{t=String(t),(d===void 0||d>t.length)&&(d=t.length),d-=e.length;const n=t.indexOf(e,d);return n!==-1&&n===d},Rr=t=>{if(!t)return null;if(j(t))return t;let e=t.length;if(!je(e))return null;const d=new Array(e);for(;e-- >0;)d[e]=t[e];return d},jr=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Tt(Uint8Array)),xr=(t,e)=>{const d=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=d.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},Dr=(t,e)=>{let d;const n=[];for(;(d=t.exec(e))!==null;)n.push(d);return n},_r=E("HTMLFormElement"),Lr=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,d,n){return d.toUpperCase()+n}),ce=(({hasOwnProperty:t})=>(e,d)=>t.call(e,d))(Object.prototype),Fr=E("RegExp"),Le=(t,e)=>{const d=Object.getOwnPropertyDescriptors(t),n={};M(d,(r,o)=>{let i;(i=e(r,o,t))!==!1&&(n[o]=i||r)}),Object.defineProperties(t,n)},Mr=t=>{Le(t,(e,d)=>{if(C(t)&&["arguments","caller","callee"].indexOf(d)!==-1)return!1;const n=t[d];if(C(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+d+"'")})}})},kr=(t,e)=>{const d={},n=r=>{r.forEach(o=>{d[o]=!0})};return j(t)?n(t):n(String(t).split(e)),d},Br=()=>{},Ur=(t,e)=>(t=+t,Number.isFinite(t)?t:e),ot="abcdefghijklmnopqrstuvwxyz",fe="0123456789",Fe={DIGIT:fe,ALPHA:ot,ALPHA_DIGIT:ot+ot.toUpperCase()+fe},Gr=(t=16,e=Fe.ALPHA_DIGIT)=>{let d="";const{length:n}=e;for(;t--;)d+=e[Math.random()*n|0];return d};function Vr(t){return!!(t&&C(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Hr=t=>{const e=new Array(10),d=(n,r)=>{if(X(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[r]=n;const o=j(n)?[]:{};return M(n,(i,s)=>{const u=d(i,r+1);!F(u)&&(o[s]=u)}),e[r]=void 0,o}}return n};return d(t,0)},Kr=E("AsyncFunction"),Wr=t=>t&&(X(t)||C(t))&&C(t.then)&&C(t.catch),a={isArray:j,isArrayBuffer:Re,isBuffer:hr,isFormData:wr,isArrayBufferView:pr,isString:mr,isNumber:je,isBoolean:yr,isObject:X,isPlainObject:G,isUndefined:F,isDate:gr,isFile:br,isBlob:vr,isRegExp:Fr,isFunction:C,isStream:Cr,isURLSearchParams:Sr,isTypedArray:jr,isFileList:Or,forEach:M,merge:pt,extend:Pr,trim:Er,stripBOM:Nr,inherits:Tr,toFlatObject:Ar,kindOf:Y,kindOfTest:E,endsWith:Ir,toArray:Rr,forEachEntry:xr,matchAll:Dr,isHTMLForm:_r,hasOwnProperty:ce,hasOwnProp:ce,reduceDescriptors:Le,freezeMethods:Mr,toObjectSet:kr,toCamelCase:Lr,noop:Br,toFiniteNumber:Ur,findKey:xe,global:De,isContextDefined:_e,ALPHABET:Fe,generateString:Gr,isSpecCompliantForm:Vr,toJSONObject:Hr,isAsyncFn:Kr,isThenable:Wr};function p(t,e,d,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),d&&(this.config=d),n&&(this.request=n),r&&(this.response=r)}a.inherits(p,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Me=p.prototype,ke={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{ke[t]={value:t}});Object.defineProperties(p,ke);Object.defineProperty(Me,"isAxiosError",{value:!0});p.from=(t,e,d,n,r,o)=>{const i=Object.create(Me);return a.toFlatObject(t,i,function(s){return s!==Error.prototype},s=>s!=="isAxiosError"),p.call(i,t.message,e,d,n,r),i.cause=t,i.name=t.name,o&&Object.assign(i,o),i};const zr=null;function mt(t){return a.isPlainObject(t)||a.isArray(t)}function Be(t){return a.endsWith(t,"[]")?t.slice(0,-2):t}function he(t,e,d){return t?t.concat(e).map(function(n,r){return n=Be(n),!d&&r?"["+n+"]":n}).join(d?".":""):e}function qr(t){return a.isArray(t)&&!t.some(mt)}const Jr=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function Q(t,e,d){if(!a.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,d=a.toFlatObject(d,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,c){return!a.isUndefined(c[h])});const n=d.metaTokens,r=d.visitor||l,o=d.dots,i=d.indexes,s=(d.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(e);if(!a.isFunction(r))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(a.isDate(h))return h.toISOString();if(!s&&a.isBlob(h))throw new p("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(h)||a.isTypedArray(h)?s&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function l(h,c,y){let b=h;if(h&&!y&&typeof h=="object"){if(a.endsWith(c,"{}"))c=n?c:c.slice(0,-2),h=JSON.stringify(h);else if(a.isArray(h)&&qr(h)||(a.isFileList(h)||a.endsWith(c,"[]"))&&(b=a.toArray(h)))return c=Be(c),b.forEach(function(x,et){!(a.isUndefined(x)||x===null)&&e.append(i===!0?he([c],et,o):i===null?c:c+"[]",u(x))}),!1}return mt(h)?!0:(e.append(he(y,c,o),u(h)),!1)}const $=[],f=Object.assign(Jr,{defaultVisitor:l,convertValue:u,isVisitable:mt});function m(h,c){if(!a.isUndefined(h)){if($.indexOf(h)!==-1)throw Error("Circular reference detected in "+c.join("."));$.push(h),a.forEach(h,function(y,b){(!(a.isUndefined(y)||y===null)&&r.call(e,y,a.isString(b)?b.trim():b,c,f))===!0&&m(y,c?c.concat(b):[b])}),$.pop()}}if(!a.isObject(t))throw new TypeError("data must be an object");return m(t),e}function pe(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(d){return e[d]})}function At(t,e){this._pairs=[],t&&Q(t,this,e)}const Ue=At.prototype;Ue.append=function(t,e){this._pairs.push([t,e])};Ue.toString=function(t){const e=t?function(d){return t.call(this,d,pe)}:pe;return this._pairs.map(function(d){return e(d[0])+"="+e(d[1])},"").join("&")};function Yr(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ge(t,e,d){if(!e)return t;const n=d&&d.encode||Yr,r=d&&d.serialize;let o;if(r?o=r(e,d):o=a.isURLSearchParams(e)?e.toString():new At(e,d).toString(n),o){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class Zr{constructor(){this.handlers=[]}use(e,d,n){return this.handlers.push({fulfilled:e,rejected:d,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){a.forEach(this.handlers,function(d){d!==null&&e(d)})}}const me=Zr,Ve={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Xr=typeof URLSearchParams<"u"?URLSearchParams:At,Qr=typeof FormData<"u"?FormData:null,t0=typeof Blob<"u"?Blob:null,e0={isBrowser:!0,classes:{URLSearchParams:Xr,FormData:Qr,Blob:t0},protocols:["http","https","file","blob","url","data"]},He=typeof window<"u"&&typeof document<"u",d0=(t=>He&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),n0=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",r0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:He,hasStandardBrowserEnv:d0,hasStandardBrowserWebWorkerEnv:n0},Symbol.toStringTag,{value:"Module"})),S={...r0,...e0};function o0(t,e){return Q(t,new S.classes.URLSearchParams,Object.assign({visitor:function(d,n,r,o){return S.isNode&&a.isBuffer(d)?(this.append(n,d.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function i0(t){return a.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function a0(t){const e={},d=Object.keys(t);let n;const r=d.length;let o;for(n=0;n<r;n++)o=d[n],e[o]=t[o];return e}function Ke(t){function e(d,n,r,o){let i=d[o++];const s=Number.isFinite(+i),u=o>=d.length;return i=!i&&a.isArray(r)?r.length:i,u?(a.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s):((!r[i]||!a.isObject(r[i]))&&(r[i]=[]),e(d,n,r[i],o)&&a.isArray(r[i])&&(r[i]=a0(r[i])),!s)}if(a.isFormData(t)&&a.isFunction(t.entries)){const d={};return a.forEachEntry(t,(n,r)=>{e(i0(n),r,d,0)}),d}return null}function s0(t,e,d){if(a.isString(t))try{return(e||JSON.parse)(t),a.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(d||JSON.stringify)(t)}const It={transitional:Ve,adapter:["xhr","http"],transformRequest:[function(t,e){const d=e.getContentType()||"",n=d.indexOf("application/json")>-1,r=a.isObject(t);if(r&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return n&&n?JSON.stringify(Ke(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(d.indexOf("application/x-www-form-urlencoded")>-1)return o0(t,this.formSerializer).toString();if((o=a.isFileList(t))||d.indexOf("multipart/form-data")>-1){const i=this.env&&this.env.FormData;return Q(o?{"files[]":t}:t,i&&new i,this.formSerializer)}}return r||n?(e.setContentType("application/json",!1),s0(t)):t}],transformResponse:[function(t){const e=this.transitional||It.transitional,d=e&&e.forcedJSONParsing,n=this.responseType==="json";if(t&&a.isString(t)&&(d&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(o){if(r)throw o.name==="SyntaxError"?p.from(o,p.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:S.classes.FormData,Blob:S.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],t=>{It.headers[t]={}});const Rt=It,$0=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),u0=t=>{const e={};let d,n,r;return t&&t.split(`
16
+ */function lr(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Pt().__INTLIFY_PROD_DEVTOOLS__=!1)}lr();function cr(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Pt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Nt={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};Et({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>ur(t)||!isNaN(t)}},Nt);Et({value:{type:Number,required:!0},format:{type:[String,Object]}},Nt);Et({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Nt);cr();if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=Pt();t.__INTLIFY__=!0,t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__}process.env.NODE_ENV;function Ie(t,e){return function(){return t.apply(e,arguments)}}const{toString:fr}=Object.prototype,{getPrototypeOf:Tt}=Object,Y=(t=>e=>{const d=fr.call(e);return t[d]||(t[d]=d.slice(8,-1).toLowerCase())})(Object.create(null)),E=t=>(t=t.toLowerCase(),e=>Y(e)===t),Z=t=>e=>typeof e===t,{isArray:j}=Array,F=Z("undefined");function hr(t){return t!==null&&!F(t)&&t.constructor!==null&&!F(t.constructor)&&C(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Re=E("ArrayBuffer");function pr(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Re(t.buffer),e}const mr=Z("string"),C=Z("function"),je=Z("number"),X=t=>t!==null&&typeof t=="object",yr=t=>t===!0||t===!1,G=t=>{if(Y(t)!=="object")return!1;const e=Tt(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},gr=E("Date"),br=E("File"),vr=E("Blob"),Or=E("FileList"),Cr=t=>X(t)&&C(t.pipe),wr=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||C(t.append)&&((e=Y(t))==="formdata"||e==="object"&&C(t.toString)&&t.toString()==="[object FormData]"))},Sr=E("URLSearchParams"),Er=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function M(t,e,{allOwnKeys:d=!1}={}){if(t===null||typeof t>"u")return;let n,r;if(typeof t!="object"&&(t=[t]),j(t))for(n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else{const o=d?Object.getOwnPropertyNames(t):Object.keys(t),i=o.length;let s;for(n=0;n<i;n++)s=o[n],e.call(null,t[s],s,t)}}function xe(t,e){e=e.toLowerCase();const d=Object.keys(t);let n=d.length,r;for(;n-- >0;)if(r=d[n],e===r.toLowerCase())return r;return null}const De=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),_e=t=>!F(t)&&t!==De;function pt(){const{caseless:t}=_e(this)&&this||{},e={},d=(n,r)=>{const o=t&&xe(e,r)||r;G(e[o])&&G(n)?e[o]=pt(e[o],n):G(n)?e[o]=pt({},n):j(n)?e[o]=n.slice():e[o]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&M(arguments[n],d);return e}const Pr=(t,e,d,{allOwnKeys:n}={})=>(M(e,(r,o)=>{d&&C(r)?t[o]=Ie(r,d):t[o]=r},{allOwnKeys:n}),t),Nr=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Tr=(t,e,d,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),d&&Object.assign(t.prototype,d)},Ar=(t,e,d,n)=>{let r,o,i;const s={};if(e=e||{},t==null)return e;do{for(r=Object.getOwnPropertyNames(t),o=r.length;o-- >0;)i=r[o],(!n||n(i,t,e))&&!s[i]&&(e[i]=t[i],s[i]=!0);t=d!==!1&&Tt(t)}while(t&&(!d||d(t,e))&&t!==Object.prototype);return e},Ir=(t,e,d)=>{t=String(t),(d===void 0||d>t.length)&&(d=t.length),d-=e.length;const n=t.indexOf(e,d);return n!==-1&&n===d},Rr=t=>{if(!t)return null;if(j(t))return t;let e=t.length;if(!je(e))return null;const d=new Array(e);for(;e-- >0;)d[e]=t[e];return d},jr=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Tt(Uint8Array)),xr=(t,e)=>{const d=(t&&t[Symbol.iterator]).call(t);let n;for(;(n=d.next())&&!n.done;){const r=n.value;e.call(t,r[0],r[1])}},Dr=(t,e)=>{let d;const n=[];for(;(d=t.exec(e))!==null;)n.push(d);return n},_r=E("HTMLFormElement"),Lr=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,d,n){return d.toUpperCase()+n}),ce=(({hasOwnProperty:t})=>(e,d)=>t.call(e,d))(Object.prototype),Fr=E("RegExp"),Le=(t,e)=>{const d=Object.getOwnPropertyDescriptors(t),n={};M(d,(r,o)=>{let i;(i=e(r,o,t))!==!1&&(n[o]=i||r)}),Object.defineProperties(t,n)},Mr=t=>{Le(t,(e,d)=>{if(C(t)&&["arguments","caller","callee"].indexOf(d)!==-1)return!1;const n=t[d];if(C(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+d+"'")})}})},kr=(t,e)=>{const d={},n=r=>{r.forEach(o=>{d[o]=!0})};return j(t)?n(t):n(String(t).split(e)),d},Br=()=>{},Ur=(t,e)=>(t=+t,Number.isFinite(t)?t:e),ot="abcdefghijklmnopqrstuvwxyz",fe="0123456789",Fe={DIGIT:fe,ALPHA:ot,ALPHA_DIGIT:ot+ot.toUpperCase()+fe},Gr=(t=16,e=Fe.ALPHA_DIGIT)=>{let d="";const{length:n}=e;for(;t--;)d+=e[Math.random()*n|0];return d};function Vr(t){return!!(t&&C(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Hr=t=>{const e=new Array(10),d=(n,r)=>{if(X(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[r]=n;const o=j(n)?[]:{};return M(n,(i,s)=>{const u=d(i,r+1);!F(u)&&(o[s]=u)}),e[r]=void 0,o}}return n};return d(t,0)},Kr=E("AsyncFunction"),Wr=t=>t&&(X(t)||C(t))&&C(t.then)&&C(t.catch),a={isArray:j,isArrayBuffer:Re,isBuffer:hr,isFormData:wr,isArrayBufferView:pr,isString:mr,isNumber:je,isBoolean:yr,isObject:X,isPlainObject:G,isUndefined:F,isDate:gr,isFile:br,isBlob:vr,isRegExp:Fr,isFunction:C,isStream:Cr,isURLSearchParams:Sr,isTypedArray:jr,isFileList:Or,forEach:M,merge:pt,extend:Pr,trim:Er,stripBOM:Nr,inherits:Tr,toFlatObject:Ar,kindOf:Y,kindOfTest:E,endsWith:Ir,toArray:Rr,forEachEntry:xr,matchAll:Dr,isHTMLForm:_r,hasOwnProperty:ce,hasOwnProp:ce,reduceDescriptors:Le,freezeMethods:Mr,toObjectSet:kr,toCamelCase:Lr,noop:Br,toFiniteNumber:Ur,findKey:xe,global:De,isContextDefined:_e,ALPHABET:Fe,generateString:Gr,isSpecCompliantForm:Vr,toJSONObject:Hr,isAsyncFn:Kr,isThenable:Wr};function p(t,e,d,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),d&&(this.config=d),n&&(this.request=n),r&&(this.response=r)}a.inherits(p,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:a.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Me=p.prototype,ke={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{ke[t]={value:t}});Object.defineProperties(p,ke);Object.defineProperty(Me,"isAxiosError",{value:!0});p.from=(t,e,d,n,r,o)=>{const i=Object.create(Me);return a.toFlatObject(t,i,function(s){return s!==Error.prototype},s=>s!=="isAxiosError"),p.call(i,t.message,e,d,n,r),i.cause=t,i.name=t.name,o&&Object.assign(i,o),i};const zr=null;function mt(t){return a.isPlainObject(t)||a.isArray(t)}function Be(t){return a.endsWith(t,"[]")?t.slice(0,-2):t}function he(t,e,d){return t?t.concat(e).map(function(n,r){return n=Be(n),!d&&r?"["+n+"]":n}).join(d?".":""):e}function qr(t){return a.isArray(t)&&!t.some(mt)}const Jr=a.toFlatObject(a,{},null,function(t){return/^is[A-Z]/.test(t)});function Q(t,e,d){if(!a.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,d=a.toFlatObject(d,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,c){return!a.isUndefined(c[h])});const n=d.metaTokens,r=d.visitor||l,o=d.dots,i=d.indexes,s=(d.Blob||typeof Blob<"u"&&Blob)&&a.isSpecCompliantForm(e);if(!a.isFunction(r))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(a.isDate(h))return h.toISOString();if(!s&&a.isBlob(h))throw new p("Blob is not supported. Use a Buffer instead.");return a.isArrayBuffer(h)||a.isTypedArray(h)?s&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function l(h,c,y){let b=h;if(h&&!y&&typeof h=="object"){if(a.endsWith(c,"{}"))c=n?c:c.slice(0,-2),h=JSON.stringify(h);else if(a.isArray(h)&&qr(h)||(a.isFileList(h)||a.endsWith(c,"[]"))&&(b=a.toArray(h)))return c=Be(c),b.forEach(function(x,et){!(a.isUndefined(x)||x===null)&&e.append(i===!0?he([c],et,o):i===null?c:c+"[]",u(x))}),!1}return mt(h)?!0:(e.append(he(y,c,o),u(h)),!1)}const $=[],f=Object.assign(Jr,{defaultVisitor:l,convertValue:u,isVisitable:mt});function m(h,c){if(!a.isUndefined(h)){if($.indexOf(h)!==-1)throw Error("Circular reference detected in "+c.join("."));$.push(h),a.forEach(h,function(y,b){(!(a.isUndefined(y)||y===null)&&r.call(e,y,a.isString(b)?b.trim():b,c,f))===!0&&m(y,c?c.concat(b):[b])}),$.pop()}}if(!a.isObject(t))throw new TypeError("data must be an object");return m(t),e}function pe(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(d){return e[d]})}function At(t,e){this._pairs=[],t&&Q(t,this,e)}const Ue=At.prototype;Ue.append=function(t,e){this._pairs.push([t,e])};Ue.toString=function(t){const e=t?function(d){return t.call(this,d,pe)}:pe;return this._pairs.map(function(d){return e(d[0])+"="+e(d[1])},"").join("&")};function Yr(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ge(t,e,d){if(!e)return t;const n=d&&d.encode||Yr,r=d&&d.serialize;let o;if(r?o=r(e,d):o=a.isURLSearchParams(e)?e.toString():new At(e,d).toString(n),o){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t}class Zr{constructor(){this.handlers=[]}use(e,d,n){return this.handlers.push({fulfilled:e,rejected:d,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){a.forEach(this.handlers,function(d){d!==null&&e(d)})}}const me=Zr,Ve={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Xr=typeof URLSearchParams<"u"?URLSearchParams:At,Qr=typeof FormData<"u"?FormData:null,t0=typeof Blob<"u"?Blob:null,e0={isBrowser:!0,classes:{URLSearchParams:Xr,FormData:Qr,Blob:t0},protocols:["http","https","file","blob","url","data"]},He=typeof window<"u"&&typeof document<"u",d0=(t=>He&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),n0=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),r0=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:He,hasStandardBrowserEnv:d0,hasStandardBrowserWebWorkerEnv:n0},Symbol.toStringTag,{value:"Module"})),S={...r0,...e0};function o0(t,e){return Q(t,new S.classes.URLSearchParams,Object.assign({visitor:function(d,n,r,o){return S.isNode&&a.isBuffer(d)?(this.append(n,d.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},e))}function i0(t){return a.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function a0(t){const e={},d=Object.keys(t);let n;const r=d.length;let o;for(n=0;n<r;n++)o=d[n],e[o]=t[o];return e}function Ke(t){function e(d,n,r,o){let i=d[o++];const s=Number.isFinite(+i),u=o>=d.length;return i=!i&&a.isArray(r)?r.length:i,u?(a.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s):((!r[i]||!a.isObject(r[i]))&&(r[i]=[]),e(d,n,r[i],o)&&a.isArray(r[i])&&(r[i]=a0(r[i])),!s)}if(a.isFormData(t)&&a.isFunction(t.entries)){const d={};return a.forEachEntry(t,(n,r)=>{e(i0(n),r,d,0)}),d}return null}function s0(t,e,d){if(a.isString(t))try{return(e||JSON.parse)(t),a.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(d||JSON.stringify)(t)}const It={transitional:Ve,adapter:["xhr","http"],transformRequest:[function(t,e){const d=e.getContentType()||"",n=d.indexOf("application/json")>-1,r=a.isObject(t);if(r&&a.isHTMLForm(t)&&(t=new FormData(t)),a.isFormData(t))return n&&n?JSON.stringify(Ke(t)):t;if(a.isArrayBuffer(t)||a.isBuffer(t)||a.isStream(t)||a.isFile(t)||a.isBlob(t))return t;if(a.isArrayBufferView(t))return t.buffer;if(a.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(r){if(d.indexOf("application/x-www-form-urlencoded")>-1)return o0(t,this.formSerializer).toString();if((o=a.isFileList(t))||d.indexOf("multipart/form-data")>-1){const i=this.env&&this.env.FormData;return Q(o?{"files[]":t}:t,i&&new i,this.formSerializer)}}return r||n?(e.setContentType("application/json",!1),s0(t)):t}],transformResponse:[function(t){const e=this.transitional||It.transitional,d=e&&e.forcedJSONParsing,n=this.responseType==="json";if(t&&a.isString(t)&&(d&&!this.responseType||n)){const r=!(e&&e.silentJSONParsing)&&n;try{return JSON.parse(t)}catch(o){if(r)throw o.name==="SyntaxError"?p.from(o,p.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:S.classes.FormData,Blob:S.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};a.forEach(["delete","get","head","post","put","patch"],t=>{It.headers[t]={}});const Rt=It,$0=a.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),u0=t=>{const e={};let d,n,r;return t&&t.split(`
17
17
  `).forEach(function(o){r=o.indexOf(":"),d=o.substring(0,r).trim().toLowerCase(),n=o.substring(r+1).trim(),!(!d||e[d]&&$0[d])&&(d==="set-cookie"?e[d]?e[d].push(n):e[d]=[n]:e[d]=e[d]?e[d]+", "+n:n)}),e},ye=Symbol("internals");function D(t){return t&&String(t).trim().toLowerCase()}function V(t){return t===!1||t==null?t:a.isArray(t)?t.map(V):String(t)}function l0(t){const e=Object.create(null),d=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=d.exec(t);)e[n[1]]=n[2];return e}const c0=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function it(t,e,d,n,r){if(a.isFunction(n))return n.call(this,e,d);if(r&&(e=d),!!a.isString(e)){if(a.isString(n))return e.indexOf(n)!==-1;if(a.isRegExp(n))return n.test(e)}}function f0(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,d,n)=>d.toUpperCase()+n)}function h0(t,e){const d=a.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+d,{value:function(r,o,i){return this[n].call(this,e,r,o,i)},configurable:!0})})}class tt{constructor(e){e&&this.set(e)}set(e,d,n){const r=this;function o(s,u,l){const $=D(u);if(!$)throw new Error("header name must be a non-empty string");const f=a.findKey(r,$);(!f||r[f]===void 0||l===!0||l===void 0&&r[f]!==!1)&&(r[f||u]=V(s))}const i=(s,u)=>a.forEach(s,(l,$)=>o(l,$,u));return a.isPlainObject(e)||e instanceof this.constructor?i(e,d):a.isString(e)&&(e=e.trim())&&!c0(e)?i(u0(e),d):e!=null&&o(d,e,n),this}get(e,d){if(e=D(e),e){const n=a.findKey(this,e);if(n){const r=this[n];if(!d)return r;if(d===!0)return l0(r);if(a.isFunction(d))return d.call(this,r,n);if(a.isRegExp(d))return d.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,d){if(e=D(e),e){const n=a.findKey(this,e);return!!(n&&this[n]!==void 0&&(!d||it(this,this[n],n,d)))}return!1}delete(e,d){const n=this;let r=!1;function o(i){if(i=D(i),i){const s=a.findKey(n,i);s&&(!d||it(n,n[s],s,d))&&(delete n[s],r=!0)}}return a.isArray(e)?e.forEach(o):o(e),r}clear(e){const d=Object.keys(this);let n=d.length,r=!1;for(;n--;){const o=d[n];(!e||it(this,this[o],o,e,!0))&&(delete this[o],r=!0)}return r}normalize(e){const d=this,n={};return a.forEach(this,(r,o)=>{const i=a.findKey(n,o);if(i){d[i]=V(r),delete d[o];return}const s=e?f0(o):String(o).trim();s!==o&&delete d[o],d[s]=V(r),n[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const d=Object.create(null);return a.forEach(this,(n,r)=>{n!=null&&n!==!1&&(d[r]=e&&a.isArray(n)?n.join(", "):n)}),d}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,d])=>e+": "+d).join(`
18
18
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...d){const n=new this(e);return d.forEach(r=>n.set(r)),n}static accessor(e){const d=(this[ye]=this[ye]={accessors:{}}).accessors,n=this.prototype;function r(o){const i=D(o);d[i]||(h0(n,o),d[i]=!0)}return a.isArray(e)?e.forEach(r):r(e),this}}tt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);a.reduceDescriptors(tt.prototype,({value:t},e)=>{let d=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[d]=n}}});a.freezeMethods(tt);const N=tt;function at(t,e){const d=this||Rt,n=e||d,r=N.from(n.headers);let o=n.data;return a.forEach(t,function(i){o=i.call(d,o,r.normalize(),e?e.status:void 0)}),r.normalize(),o}function We(t){return!!(t&&t.__CANCEL__)}function k(t,e,d){p.call(this,t??"canceled",p.ERR_CANCELED,e,d),this.name="CanceledError"}a.inherits(k,p,{__CANCEL__:!0});function p0(t,e,d){const n=d.config.validateStatus;!d.status||!n||n(d.status)?t(d):e(new p("Request failed with status code "+d.status,[p.ERR_BAD_REQUEST,p.ERR_BAD_RESPONSE][Math.floor(d.status/100)-4],d.config,d.request,d))}const m0=S.hasStandardBrowserEnv?{write(t,e,d,n,r,o){const i=[t+"="+encodeURIComponent(e)];a.isNumber(d)&&i.push("expires="+new Date(d).toGMTString()),a.isString(n)&&i.push("path="+n),a.isString(r)&&i.push("domain="+r),o===!0&&i.push("secure"),document.cookie=i.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function y0(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function g0(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function ze(t,e){return t&&!y0(e)?g0(t,e):e}const b0=S.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let d;function n(r){let o=r;return t&&(e.setAttribute("href",o),o=e.href),e.setAttribute("href",o),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:e.pathname.charAt(0)==="/"?e.pathname:"/"+e.pathname}}return d=n(window.location.href),function(r){const o=a.isString(r)?n(r):r;return o.protocol===d.protocol&&o.host===d.host}}():function(){return function(){return!0}}();function v0(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function O0(t,e){t=t||10;const d=new Array(t),n=new Array(t);let r=0,o=0,i;return e=e!==void 0?e:1e3,function(s){const u=Date.now(),l=n[o];i||(i=u),d[r]=s,n[r]=u;let $=o,f=0;for(;$!==r;)f+=d[$++],$=$%t;if(r=(r+1)%t,r===o&&(o=(o+1)%t),u-i<e)return;const m=l&&u-l;return m?Math.round(f*1e3/m):void 0}}function ge(t,e){let d=0;const n=O0(50,250);return r=>{const o=r.loaded,i=r.lengthComputable?r.total:void 0,s=o-d,u=n(s),l=o<=i;d=o;const $={loaded:o,total:i,progress:i?o/i:void 0,bytes:s,rate:u||void 0,estimated:u&&i&&l?(i-o)/u:void 0,event:r};$[e?"download":"upload"]=!0,t($)}}const C0=typeof XMLHttpRequest<"u",w0=C0&&function(t){return new Promise(function(e,d){let n=t.data;const r=N.from(t.headers).normalize();let{responseType:o,withXSRFToken:i}=t,s;function u(){t.cancelToken&&t.cancelToken.unsubscribe(s),t.signal&&t.signal.removeEventListener("abort",s)}let l;if(a.isFormData(n)){if(S.hasStandardBrowserEnv||S.hasStandardBrowserWebWorkerEnv)r.setContentType(!1);else if((l=r.getContentType())!==!1){const[c,...y]=l?l.split(";").map(b=>b.trim()).filter(Boolean):[];r.setContentType([c||"multipart/form-data",...y].join("; "))}}let $=new XMLHttpRequest;if(t.auth){const c=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(c+":"+y))}const f=ze(t.baseURL,t.url);$.open(t.method.toUpperCase(),Ge(f,t.params,t.paramsSerializer),!0),$.timeout=t.timeout;function m(){if(!$)return;const c=N.from("getAllResponseHeaders"in $&&$.getAllResponseHeaders()),y={data:!o||o==="text"||o==="json"?$.responseText:$.response,status:$.status,statusText:$.statusText,headers:c,config:t,request:$};p0(function(b){e(b),u()},function(b){d(b),u()},y),$=null}if("onloadend"in $?$.onloadend=m:$.onreadystatechange=function(){!$||$.readyState!==4||$.status===0&&!($.responseURL&&$.responseURL.indexOf("file:")===0)||setTimeout(m)},$.onabort=function(){$&&(d(new p("Request aborted",p.ECONNABORTED,t,$)),$=null)},$.onerror=function(){d(new p("Network Error",p.ERR_NETWORK,t,$)),$=null},$.ontimeout=function(){let c=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const y=t.transitional||Ve;t.timeoutErrorMessage&&(c=t.timeoutErrorMessage),d(new p(c,y.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,t,$)),$=null},S.hasStandardBrowserEnv&&(i&&a.isFunction(i)&&(i=i(t)),i||i!==!1&&b0(f))){const c=t.xsrfHeaderName&&t.xsrfCookieName&&m0.read(t.xsrfCookieName);c&&r.set(t.xsrfHeaderName,c)}n===void 0&&r.setContentType(null),"setRequestHeader"in $&&a.forEach(r.toJSON(),function(c,y){$.setRequestHeader(y,c)}),a.isUndefined(t.withCredentials)||($.withCredentials=!!t.withCredentials),o&&o!=="json"&&($.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&$.addEventListener("progress",ge(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&$.upload&&$.upload.addEventListener("progress",ge(t.onUploadProgress)),(t.cancelToken||t.signal)&&(s=c=>{$&&(d(!c||c.type?new k(null,t,$):c),$.abort(),$=null)},t.cancelToken&&t.cancelToken.subscribe(s),t.signal&&(t.signal.aborted?s():t.signal.addEventListener("abort",s)));const h=v0(f);if(h&&S.protocols.indexOf(h)===-1){d(new p("Unsupported protocol "+h+":",p.ERR_BAD_REQUEST,t));return}$.send(n||null)})},yt={http:zr,xhr:w0};a.forEach(yt,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const be=t=>`- ${t}`,S0=t=>a.isFunction(t)||t===null||t===!1,qe={getAdapter:t=>{t=a.isArray(t)?t:[t];const{length:e}=t;let d,n;const r={};for(let o=0;o<e;o++){d=t[o];let i;if(n=d,!S0(d)&&(n=yt[(i=String(d)).toLowerCase()],n===void 0))throw new p(`Unknown adapter '${i}'`);if(n)break;r[i||"#"+o]=n}if(!n){const o=Object.entries(r).map(([s,u])=>`adapter ${s} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=e?o.length>1?`since :
19
19
  `+o.map(be).join(`
@@ -2546,7 +2546,7 @@ function Ie(t, e) {
2546
2546
  return t.apply(e, arguments);
2547
2547
  };
2548
2548
  }
2549
- const { toString: fr } = Object.prototype, { getPrototypeOf: Tt } = Object, Y = /* @__PURE__ */ ((t) => (e) => {
2549
+ const { toString: fr } = Object.prototype, { getPrototypeOf: Tt } = Object, Y = ((t) => (e) => {
2550
2550
  const d = fr.call(e);
2551
2551
  return t[d] || (t[d] = d.slice(8, -1).toLowerCase());
2552
2552
  })(/* @__PURE__ */ Object.create(null)), E = (t) => (t = t.toLowerCase(), (e) => Y(e) === t), Z = (t) => (e) => typeof e === t, { isArray: j } = Array, F = Z("undefined");
@@ -2591,7 +2591,7 @@ function xe(t, e) {
2591
2591
  return r;
2592
2592
  return null;
2593
2593
  }
2594
- const De = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, _e = (t) => !F(t) && t !== De;
2594
+ const De = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), _e = (t) => !F(t) && t !== De;
2595
2595
  function pt() {
2596
2596
  const { caseless: t } = _e(this) && this || {}, e = {}, d = (n, r) => {
2597
2597
  const o = t && xe(e, r) || r;
@@ -2634,7 +2634,7 @@ const Pr = (t, e, d, { allOwnKeys: n } = {}) => (M(e, (r, o) => {
2634
2634
  for (; e-- > 0; )
2635
2635
  d[e] = t[e];
2636
2636
  return d;
2637
- }, jr = /* @__PURE__ */ ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Tt(Uint8Array)), xr = (t, e) => {
2637
+ }, jr = ((t) => (e) => t && e instanceof t)(typeof Uint8Array < "u" && Tt(Uint8Array)), xr = (t, e) => {
2638
2638
  const d = (t && t[Symbol.iterator]).call(t);
2639
2639
  let n;
2640
2640
  for (; (n = d.next()) && !n.done; ) {
@@ -3005,8 +3005,8 @@ const me = Zr, Ve = {
3005
3005
  Blob: t0
3006
3006
  },
3007
3007
  protocols: ["http", "https", "file", "blob", "url", "data"]
3008
- }, He = typeof window < "u" && typeof document < "u", d0 = ((t) => He && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), n0 = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
3009
- self instanceof WorkerGlobalScope && typeof self.importScripts == "function", r0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3008
+ }, He = typeof window < "u" && typeof document < "u", d0 = ((t) => He && ["ReactNative", "NativeScript", "NS"].indexOf(t) < 0)(typeof navigator < "u" && navigator.product), n0 = (() => typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
3009
+ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(), r0 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3010
3010
  __proto__: null,
3011
3011
  hasBrowserEnv: He,
3012
3012
  hasStandardBrowserEnv: d0,
@@ -3398,7 +3398,7 @@ const b0 = S.hasStandardBrowserEnv ? (
3398
3398
  }()
3399
3399
  ) : (
3400
3400
  // Non standard browser envs (web workers, react-native) lack needed support.
3401
- /* @__PURE__ */ function() {
3401
+ function() {
3402
3402
  return function() {
3403
3403
  return !0;
3404
3404
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../@noble/hashes/esm/_assert.cjs"),o=n.default.bytes;function s(e){if(!(e instanceof Uint8Array))throw new TypeError(`bytesToUtf8 expected Uint8Array, got ${typeof e}`);return new TextDecoder().decode(e)}function i(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function u(e){return t=>(n.default.bytes(t),e(t))}(()=>{const e=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0,t=typeof module<"u"&&typeof module.require=="function"&&module.require.bind(module);return{node:t&&!e?t("crypto"):void 0,web:e}})();exports.assertBytes=o;exports.bytesToUtf8=s;exports.equalsBytes=i;exports.wrapHash=u;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../../@noble/hashes/esm/_assert.cjs");n.default.bool;const o=n.default.bytes;function s(e){if(!(e instanceof Uint8Array))throw new TypeError(`bytesToUtf8 expected Uint8Array, got ${typeof e}`);return new TextDecoder().decode(e)}function u(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function i(e){return t=>(n.default.bytes(t),e(t))}(()=>{const e=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0,t=typeof module<"u"&&typeof module.require=="function"&&module.require.bind(module);return{node:t&&!e?t("crypto"):void 0,web:e}})();exports.assertBytes=o;exports.bytesToUtf8=s;exports.equalsBytes=u;exports.wrapHash=i;
@@ -1,5 +1,6 @@
1
- import n from "../../@noble/hashes/esm/_assert.js";
2
- const i = n.bytes;
1
+ import o from "../../@noble/hashes/esm/_assert.js";
2
+ o.bool;
3
+ const i = o.bytes;
3
4
  function u(e) {
4
5
  if (!(e instanceof Uint8Array))
5
6
  throw new TypeError(`bytesToUtf8 expected Uint8Array, got ${typeof e}`);
@@ -14,7 +15,7 @@ function f(e, t) {
14
15
  return !0;
15
16
  }
16
17
  function s(e) {
17
- return (t) => (n.bytes(t), e(t));
18
+ return (t) => (o.bytes(t), e(t));
18
19
  }
19
20
  (() => {
20
21
  const e = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0, t = typeof module < "u" && typeof module.require == "function" && module.require.bind(module);
@@ -1 +1 @@
1
- "use strict";
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="";exports.default=e;
@@ -1 +1,4 @@
1
-
1
+ const a = "";
2
+ export {
3
+ a as default
4
+ };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");const f=require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");const l=require("../../../web3-eth-accounts/lib/esm/wallet.cjs"),r=require("../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../crc-32/crc32.cjs");require("../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../@ethereumjs/rlp/dist/index.cjs");require("../../../web3-eth-accounts/lib/esm/tx/types.cjs");const T=require("../../../web3-utils/lib/esm/formatter.cjs");var v=function(y,s,c,a){function q(u){return u instanceof c?u:new c(function(e){e(u)})}return new(c||(c=Promise))(function(u,e){function t(i){try{o(a.next(i))}catch(d){e(d)}}function n(i){try{o(a.throw(i))}catch(d){e(d)}}function o(i){i.done?u(i.value):q(i.value).then(t,n)}o((a=a.apply(y,s||[])).next())})};const g=y=>{const s=(e,t)=>v(void 0,void 0,void 0,function*(){const n=yield f.prepareTransactionForSigning(e,y),o=T.format({format:"bytes"},t,p.ETH_DATA_FORMAT);return r.signTransaction(n,o)}),c=e=>{const t=r.privateKeyToAccount(e);return Object.assign(Object.assign({},t),{signTransaction:n=>v(void 0,void 0,void 0,function*(){return s(n,t.privateKey)})})},a=(e,t,n)=>v(void 0,void 0,void 0,function*(){var o;const i=yield r.decrypt(e,t,(o=n==null?void 0:n.nonStrict)!==null&&o!==void 0?o:!0);return Object.assign(Object.assign({},i),{signTransaction:d=>v(void 0,void 0,void 0,function*(){return s(d,i.privateKey)})})}),q=()=>{const e=r.create();return Object.assign(Object.assign({},e),{signTransaction:t=>v(void 0,void 0,void 0,function*(){return s(t,e.privateKey)})})},u=new l.Wallet({create:q,privateKeyToAccount:c,decrypt:a});return{signTransaction:s,create:q,privateKeyToAccount:c,decrypt:a,recoverTransaction:r.recoverTransaction,hashMessage:r.hashMessage,sign:r.sign,recover:r.recover,encrypt:r.encrypt,wallet:u,privateKeyToAddress:r.privateKeyToAddress,parseAndValidatePrivateKey:r.parseAndValidatePrivateKey,privateKeyToPublicKey:r.privateKeyToPublicKey}};exports.initAccountsForContext=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("../../../web3-types/lib/esm/data_format_types.cjs");require("../../../web3-types/lib/esm/eth_types.cjs");require("../../../web3-types/lib/esm/web3_base_provider.cjs");require("../../../setimmediate/setImmediate.cjs");require("../../../web3-eth/lib/esm/web3_eth.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");require("../../../web3-validator/lib/esm/formats.cjs");require("../../../web3-validator/lib/esm/default_validator.cjs");require("../../../web3-eth-abi/lib/esm/coders/base/number.cjs");require("../../../web3-eth/lib/esm/schemas.cjs");require("../../../web3-eth/lib/esm/constants.cjs");require("../../../web3-eth/lib/esm/rpc_method_wrappers.cjs");const l=require("../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs");require("../../../web3-core/lib/esm/web3_config.cjs");require("../../../web3-core/lib/esm/web3_request_manager.cjs");require("../../../web3-core/lib/esm/web3_subscription_manager.cjs");require("../../../web3-core/lib/esm/web3_subscriptions.cjs");require("../../../web3-core/lib/esm/web3_context.cjs");require("../../../web3-core/lib/esm/web3_batch_request.cjs");require("../../../web3-eth-iban/lib/esm/iban.cjs");require("../../../web3-core/lib/esm/web3_promi_event.cjs");require("../../../web3-eth/lib/esm/utils/transaction_builder.cjs");const T=require("../../../web3-eth-accounts/lib/esm/wallet.cjs"),r=require("../../../web3-eth-accounts/lib/esm/account.cjs");require("../../../crc-32/crc32.cjs");require("../../../web3-eth-accounts/lib/esm/common/types.cjs");require("../../../web3-eth-accounts/lib/esm/tx/constants.cjs");require("../../../web3-eth-accounts/lib/esm/common/enums.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip1559Transaction.cjs");require("../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.cjs");require("../../../@ethereumjs/rlp/dist/index.cjs");require("../../../web3-eth-accounts/lib/esm/tx/types.cjs");const f=require("../../../web3-utils/lib/esm/formatter.cjs");var v=globalThis&&globalThis.__awaiter||function(y,s,c,a){function q(u){return u instanceof c?u:new c(function(e){e(u)})}return new(c||(c=Promise))(function(u,e){function t(i){try{o(a.next(i))}catch(d){e(d)}}function n(i){try{o(a.throw(i))}catch(d){e(d)}}function o(i){i.done?u(i.value):q(i.value).then(t,n)}o((a=a.apply(y,s||[])).next())})};const g=y=>{const s=(e,t)=>v(void 0,void 0,void 0,function*(){const n=yield l.prepareTransactionForSigning(e,y),o=f.format({format:"bytes"},t,p.ETH_DATA_FORMAT);return r.signTransaction(n,o)}),c=e=>{const t=r.privateKeyToAccount(e);return Object.assign(Object.assign({},t),{signTransaction:n=>v(void 0,void 0,void 0,function*(){return s(n,t.privateKey)})})},a=(e,t,n)=>v(void 0,void 0,void 0,function*(){var o;const i=yield r.decrypt(e,t,(o=n==null?void 0:n.nonStrict)!==null&&o!==void 0?o:!0);return Object.assign(Object.assign({},i),{signTransaction:d=>v(void 0,void 0,void 0,function*(){return s(d,i.privateKey)})})}),q=()=>{const e=r.create();return Object.assign(Object.assign({},e),{signTransaction:t=>v(void 0,void 0,void 0,function*(){return s(t,e.privateKey)})})},u=new T.Wallet({create:q,privateKeyToAccount:c,decrypt:a});return{signTransaction:s,create:q,privateKeyToAccount:c,decrypt:a,recoverTransaction:r.recoverTransaction,hashMessage:r.hashMessage,sign:r.sign,recover:r.recover,encrypt:r.encrypt,wallet:u,privateKeyToAddress:r.privateKeyToAddress,parseAndValidatePrivateKey:r.parseAndValidatePrivateKey,privateKeyToPublicKey:r.privateKeyToPublicKey}};exports.initAccountsForContext=g;
@@ -1,4 +1,4 @@
1
- import { ETH_DATA_FORMAT as v } from "../../../web3-types/lib/esm/data_format_types.js";
1
+ import { ETH_DATA_FORMAT as d } from "../../../web3-types/lib/esm/data_format_types.js";
2
2
  import "../../../web3-types/lib/esm/eth_types.js";
3
3
  import "../../../web3-types/lib/esm/web3_base_provider.js";
4
4
  import "../../../setimmediate/setImmediate.js";
@@ -10,7 +10,7 @@ import "../../../web3-eth-abi/lib/esm/coders/base/number.js";
10
10
  import "../../../web3-eth/lib/esm/schemas.js";
11
11
  import "../../../web3-eth/lib/esm/constants.js";
12
12
  import "../../../web3-eth/lib/esm/rpc_method_wrappers.js";
13
- import { prepareTransactionForSigning as f } from "../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
13
+ import { prepareTransactionForSigning as y } from "../../../web3-eth/lib/esm/utils/prepare_transaction_for_signing.js";
14
14
  import "../../../web3-core/lib/esm/web3_config.js";
15
15
  import "../../../web3-core/lib/esm/web3_request_manager.js";
16
16
  import "../../../web3-core/lib/esm/web3_subscription_manager.js";
@@ -20,8 +20,8 @@ import "../../../web3-core/lib/esm/web3_batch_request.js";
20
20
  import "../../../web3-eth-iban/lib/esm/iban.js";
21
21
  import "../../../web3-core/lib/esm/web3_promi_event.js";
22
22
  import "../../../web3-eth/lib/esm/utils/transaction_builder.js";
23
- import { Wallet as y } from "../../../web3-eth-accounts/lib/esm/wallet.js";
24
- import { recoverTransaction as T, hashMessage as l, sign as g, recover as K, encrypt as h, privateKeyToAddress as A, parseAndValidatePrivateKey as x, privateKeyToPublicKey as b, signTransaction as w, privateKeyToAccount as O, decrypt as _, create as j } from "../../../web3-eth-accounts/lib/esm/account.js";
23
+ import { Wallet as f } from "../../../web3-eth-accounts/lib/esm/wallet.js";
24
+ import { recoverTransaction as T, hashMessage as l, sign as g, recover as h, encrypt as K, privateKeyToAddress as b, parseAndValidatePrivateKey as A, privateKeyToPublicKey as x, signTransaction as w, privateKeyToAccount as O, decrypt as _, create as j } from "../../../web3-eth-accounts/lib/esm/account.js";
25
25
  import "../../../crc-32/crc32.js";
26
26
  import "../../../web3-eth-accounts/lib/esm/common/types.js";
27
27
  import "../../../web3-eth-accounts/lib/esm/tx/constants.js";
@@ -31,72 +31,72 @@ import "../../../web3-eth-accounts/lib/esm/tx/eip2930Transaction.js";
31
31
  import "../../../@ethereumjs/rlp/dist/index.js";
32
32
  import "../../../web3-eth-accounts/lib/esm/tx/types.js";
33
33
  import { format as C } from "../../../web3-utils/lib/esm/formatter.js";
34
- var m = function(u, p, e, c) {
35
- function d(a) {
34
+ var m = globalThis && globalThis.__awaiter || function(v, p, e, c) {
35
+ function u(a) {
36
36
  return a instanceof e ? a : new e(function(t) {
37
37
  t(a);
38
38
  });
39
39
  }
40
40
  return new (e || (e = Promise))(function(a, t) {
41
- function i(o) {
41
+ function o(i) {
42
42
  try {
43
- r(c.next(o));
43
+ n(c.next(i));
44
44
  } catch (s) {
45
45
  t(s);
46
46
  }
47
47
  }
48
- function n(o) {
48
+ function r(i) {
49
49
  try {
50
- r(c.throw(o));
50
+ n(c.throw(i));
51
51
  } catch (s) {
52
52
  t(s);
53
53
  }
54
54
  }
55
- function r(o) {
56
- o.done ? a(o.value) : d(o.value).then(i, n);
55
+ function n(i) {
56
+ i.done ? a(i.value) : u(i.value).then(o, r);
57
57
  }
58
- r((c = c.apply(u, p || [])).next());
58
+ n((c = c.apply(v, p || [])).next());
59
59
  });
60
60
  };
61
- const pt = (u) => {
62
- const p = (t, i) => m(void 0, void 0, void 0, function* () {
63
- const n = yield f(t, u), r = C({ format: "bytes" }, i, v);
64
- return w(n, r);
61
+ const pt = (v) => {
62
+ const p = (t, o) => m(void 0, void 0, void 0, function* () {
63
+ const r = yield y(t, v), n = C({ format: "bytes" }, o, d);
64
+ return w(r, n);
65
65
  }), e = (t) => {
66
- const i = O(t);
67
- return Object.assign(Object.assign({}, i), { signTransaction: (n) => m(void 0, void 0, void 0, function* () {
68
- return p(n, i.privateKey);
66
+ const o = O(t);
67
+ return Object.assign(Object.assign({}, o), { signTransaction: (r) => m(void 0, void 0, void 0, function* () {
68
+ return p(r, o.privateKey);
69
69
  }) });
70
- }, c = (t, i, n) => m(void 0, void 0, void 0, function* () {
71
- var r;
72
- const o = yield _(t, i, (r = n == null ? void 0 : n.nonStrict) !== null && r !== void 0 ? r : !0);
73
- return Object.assign(Object.assign({}, o), { signTransaction: (s) => m(void 0, void 0, void 0, function* () {
74
- return p(s, o.privateKey);
70
+ }, c = (t, o, r) => m(void 0, void 0, void 0, function* () {
71
+ var n;
72
+ const i = yield _(t, o, (n = r == null ? void 0 : r.nonStrict) !== null && n !== void 0 ? n : !0);
73
+ return Object.assign(Object.assign({}, i), { signTransaction: (s) => m(void 0, void 0, void 0, function* () {
74
+ return p(s, i.privateKey);
75
75
  }) });
76
- }), d = () => {
76
+ }), u = () => {
77
77
  const t = j();
78
- return Object.assign(Object.assign({}, t), { signTransaction: (i) => m(void 0, void 0, void 0, function* () {
79
- return p(i, t.privateKey);
78
+ return Object.assign(Object.assign({}, t), { signTransaction: (o) => m(void 0, void 0, void 0, function* () {
79
+ return p(o, t.privateKey);
80
80
  }) });
81
- }, a = new y({
82
- create: d,
81
+ }, a = new f({
82
+ create: u,
83
83
  privateKeyToAccount: e,
84
84
  decrypt: c
85
85
  });
86
86
  return {
87
87
  signTransaction: p,
88
- create: d,
88
+ create: u,
89
89
  privateKeyToAccount: e,
90
90
  decrypt: c,
91
91
  recoverTransaction: T,
92
92
  hashMessage: l,
93
93
  sign: g,
94
- recover: K,
95
- encrypt: h,
94
+ recover: h,
95
+ encrypt: K,
96
96
  wallet: a,
97
- privateKeyToAddress: A,
98
- parseAndValidatePrivateKey: x,
99
- privateKeyToPublicKey: b
97
+ privateKeyToAddress: b,
98
+ parseAndValidatePrivateKey: A,
99
+ privateKeyToPublicKey: x
100
100
  };
101
101
  };
102
102
  export {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs"),_=require("../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const p=require("../../../web3-utils/lib/esm/web3_deferred_promise.cjs"),l=require("../../../web3-utils/lib/esm/json_rpc.cjs");var f=function(d,r,t,s){function i(o){return o instanceof t?o:new t(function(n){n(o)})}return new(t||(t=Promise))(function(o,n){function e(u){try{c(s.next(u))}catch(h){n(h)}}function a(u){try{c(s.throw(u))}catch(h){n(h)}}function c(u){u.done?o(u.value):i(u.value).then(e,a)}c((s=s.apply(d,r||[])).next())})};const m=1e3;class v{constructor(r){this._requestManager=r,this._requests=new Map}get requests(){return[...this._requests.values()].map(r=>r.payload)}add(r){const t=l.toPayload(r),s=new p.Web3DeferredPromise;return this._requests.set(t.id,{payload:t,promise:s}),s}execute(r){var t;return f(this,void 0,void 0,function*(){if(this.requests.length===0)return Promise.resolve([]);const s=new p.Web3DeferredPromise({timeout:(t=r==null?void 0:r.timeout)!==null&&t!==void 0?t:m,eagerStart:!0,timeoutMessage:"Batch request timeout"});return this._processBatchRequest(s).catch(i=>s.reject(i)),s.catch(i=>{i instanceof q.OperationTimeoutError&&this._abortAllRequests("Batch request timeout"),s.reject(i)}),s})}_processBatchRequest(r){var t,s;return f(this,void 0,void 0,function*(){const i=yield this._requestManager.sendBatch([...this._requests.values()].map(e=>e.payload));if(i.length!==this._requests.size)throw this._abortAllRequests("Invalid batch response"),new _.ResponseError(i,`Batch request size mismatch the results size. Requests: ${this._requests.size}, Responses: ${i.length}`);const o=this.requests.map(e=>e.id).map(Number).sort((e,a)=>e-a),n=i.map(e=>e.id).map(Number).sort((e,a)=>e-a);if(JSON.stringify(o)!==JSON.stringify(n))throw this._abortAllRequests("Invalid batch response"),new _.ResponseError(i,`Batch request mismatch the results. Requests: [${o.join()}], Responses: [${n.join()}]`);for(const e of i)l.isResponseWithResult(e)?(t=this._requests.get(e.id))===null||t===void 0||t.promise.resolve(e.result):l.isResponseWithError(e)&&((s=this._requests.get(e.id))===null||s===void 0||s.promise.reject(e.error));r.resolve(i)})}_abortAllRequests(r){for(const{promise:t}of this._requests.values())t.reject(new q.OperationAbortError(r))}}exports.DEFAULT_BATCH_REQUEST_TIMEOUT=m;exports.Web3BatchRequest=v;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("../../../web3-errors/lib/esm/errors/generic_errors.cjs"),_=require("../../../web3-errors/lib/esm/errors/response_errors.cjs");require("../../../web3-errors/lib/esm/errors/rpc_errors.cjs");const p=require("../../../web3-utils/lib/esm/web3_deferred_promise.cjs"),l=require("../../../web3-utils/lib/esm/json_rpc.cjs");var f=globalThis&&globalThis.__awaiter||function(d,r,s,t){function o(i){return i instanceof s?i:new s(function(n){n(i)})}return new(s||(s=Promise))(function(i,n){function e(u){try{c(t.next(u))}catch(h){n(h)}}function a(u){try{c(t.throw(u))}catch(h){n(h)}}function c(u){u.done?i(u.value):o(u.value).then(e,a)}c((t=t.apply(d,r||[])).next())})};const m=1e3;class v{constructor(r){this._requestManager=r,this._requests=new Map}get requests(){return[...this._requests.values()].map(r=>r.payload)}add(r){const s=l.toPayload(r),t=new p.Web3DeferredPromise;return this._requests.set(s.id,{payload:s,promise:t}),t}execute(r){var s;return f(this,void 0,void 0,function*(){if(this.requests.length===0)return Promise.resolve([]);const t=new p.Web3DeferredPromise({timeout:(s=r==null?void 0:r.timeout)!==null&&s!==void 0?s:m,eagerStart:!0,timeoutMessage:"Batch request timeout"});return this._processBatchRequest(t).catch(o=>t.reject(o)),t.catch(o=>{o instanceof q.OperationTimeoutError&&this._abortAllRequests("Batch request timeout"),t.reject(o)}),t})}_processBatchRequest(r){var s,t;return f(this,void 0,void 0,function*(){const o=yield this._requestManager.sendBatch([...this._requests.values()].map(e=>e.payload));if(o.length!==this._requests.size)throw this._abortAllRequests("Invalid batch response"),new _.ResponseError(o,`Batch request size mismatch the results size. Requests: ${this._requests.size}, Responses: ${o.length}`);const i=this.requests.map(e=>e.id).map(Number).sort((e,a)=>e-a),n=o.map(e=>e.id).map(Number).sort((e,a)=>e-a);if(JSON.stringify(i)!==JSON.stringify(n))throw this._abortAllRequests("Invalid batch response"),new _.ResponseError(o,`Batch request mismatch the results. Requests: [${i.join()}], Responses: [${n.join()}]`);for(const e of o)l.isResponseWithResult(e)?(s=this._requests.get(e.id))===null||s===void 0||s.promise.resolve(e.result):l.isResponseWithError(e)&&((t=this._requests.get(e.id))===null||t===void 0||t.promise.reject(e.error));r.resolve(o)})}_abortAllRequests(r){for(const{promise:s}of this._requests.values())s.reject(new q.OperationAbortError(r))}}exports.DEFAULT_BATCH_REQUEST_TIMEOUT=m;exports.Web3BatchRequest=v;