@ozdao/prometheus-framework 0.2.31 → 0.2.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (469) hide show
  1. package/dist/node_modules/@adraffy/ens-normalize/dist/index.cjs +1 -1
  2. package/dist/node_modules/@adraffy/ens-normalize/dist/index.js +222 -218
  3. package/dist/node_modules/@noble/curves/esm/abstract/modular.cjs +1 -1
  4. package/dist/node_modules/@noble/curves/esm/abstract/modular.js +102 -91
  5. package/dist/node_modules/@noble/curves/esm/abstract/utils.cjs +1 -1
  6. package/dist/node_modules/@noble/curves/esm/abstract/utils.js +138 -115
  7. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.cjs +1 -1
  8. package/dist/node_modules/@noble/curves/esm/abstract/weierstrass.js +185 -185
  9. package/dist/node_modules/@noble/curves/esm/secp256k1.cjs +1 -1
  10. package/dist/node_modules/@noble/curves/esm/secp256k1.js +11 -8
  11. package/dist/node_modules/@noble/hashes/esm/_assert.cjs +1 -1
  12. package/dist/node_modules/@noble/hashes/esm/_assert.js +29 -33
  13. package/dist/node_modules/@noble/hashes/esm/_sha2.cjs +1 -1
  14. package/dist/node_modules/@noble/hashes/esm/_sha2.js +15 -15
  15. package/dist/node_modules/@noble/hashes/esm/_u64.cjs +1 -1
  16. package/dist/node_modules/@noble/hashes/esm/_u64.js +38 -20
  17. package/dist/node_modules/@noble/hashes/esm/hmac.cjs +1 -1
  18. package/dist/node_modules/@noble/hashes/esm/hmac.js +20 -20
  19. package/dist/node_modules/@noble/hashes/esm/pbkdf2.cjs +1 -1
  20. package/dist/node_modules/@noble/hashes/esm/pbkdf2.js +20 -20
  21. package/dist/node_modules/@noble/hashes/esm/scrypt.cjs +1 -1
  22. package/dist/node_modules/@noble/hashes/esm/scrypt.js +41 -41
  23. package/dist/node_modules/@noble/hashes/esm/sha256.cjs +1 -1
  24. package/dist/node_modules/@noble/hashes/esm/sha256.js +23 -29
  25. package/dist/node_modules/@noble/hashes/esm/sha3.cjs +1 -1
  26. package/dist/node_modules/@noble/hashes/esm/sha3.js +44 -55
  27. package/dist/node_modules/@noble/hashes/esm/sha512.cjs +1 -1
  28. package/dist/node_modules/@noble/hashes/esm/sha512.js +23 -41
  29. package/dist/node_modules/@noble/hashes/esm/utils.cjs +1 -1
  30. package/dist/node_modules/@noble/hashes/esm/utils.js +37 -33
  31. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.cjs +20 -0
  32. package/dist/node_modules/@ozdao/prometheus-framework/dist/prometheus-framework.es.js +3974 -0
  33. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +1 -0
  34. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1202 -0
  35. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.cjs +1 -0
  36. package/dist/node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.js +97 -0
  37. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs +1 -0
  38. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +37 -0
  39. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.cjs +1 -0
  40. package/dist/node_modules/embla-carousel-vue/esm/embla-carousel-vue.esm.js +22 -0
  41. package/dist/node_modules/ethereum-cryptography/esm/utils.cjs +1 -1
  42. package/dist/node_modules/ethereum-cryptography/esm/utils.js +1 -4
  43. package/dist/node_modules/js-cookie/dist/js.cookie.cjs +1 -0
  44. package/dist/node_modules/js-cookie/dist/js.cookie.js +74 -0
  45. package/dist/node_modules/vue3-carousel/dist/carousel.es.cjs +4 -4
  46. package/dist/node_modules/vue3-carousel/dist/carousel.es.js +340 -244
  47. package/dist/node_modules/web3/lib/esm/abi.cjs +1 -1
  48. package/dist/node_modules/web3/lib/esm/abi.js +5 -10
  49. package/dist/node_modules/web3/lib/esm/accounts.cjs +1 -1
  50. package/dist/node_modules/web3/lib/esm/accounts.js +27 -24
  51. package/dist/node_modules/web3/lib/esm/version.cjs +1 -1
  52. package/dist/node_modules/web3/lib/esm/version.js +1 -1
  53. package/dist/node_modules/web3/lib/esm/web3.cjs +1 -1
  54. package/dist/node_modules/web3/lib/esm/web3.js +53 -57
  55. package/dist/node_modules/web3-core/lib/esm/utils.cjs +1 -1
  56. package/dist/node_modules/web3-core/lib/esm/utils.js +3 -4
  57. package/dist/node_modules/web3-core/lib/esm/web3_config.cjs +1 -1
  58. package/dist/node_modules/web3-core/lib/esm/web3_config.js +22 -19
  59. package/dist/node_modules/web3-core/lib/esm/web3_context.cjs +1 -1
  60. package/dist/node_modules/web3-core/lib/esm/web3_context.js +72 -57
  61. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.cjs +1 -1
  62. package/dist/node_modules/web3-core/lib/esm/web3_request_manager.js +53 -61
  63. package/dist/node_modules/web3-errors/lib/esm/errors/account_errors.js +8 -8
  64. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.cjs +1 -1
  65. package/dist/node_modules/web3-eth/lib/esm/rpc_method_wrappers.js +1 -1
  66. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.cjs +1 -1
  67. package/dist/node_modules/web3-eth/lib/esm/utils/get_revert_reason.js +42 -42
  68. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.cjs +1 -1
  69. package/dist/node_modules/web3-eth/lib/esm/utils/prepare_transaction_for_signing.js +19 -19
  70. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.cjs +1 -1
  71. package/dist/node_modules/web3-eth/lib/esm/utils/send_tx_helper.js +29 -29
  72. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.cjs +1 -0
  73. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_polling.js +51 -0
  74. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.cjs +1 -1
  75. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_by_subscription.js +1 -1
  76. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.cjs +1 -1
  77. package/dist/node_modules/web3-eth/lib/esm/utils/watch_transaction_for_confirmations.js +1 -1
  78. package/dist/node_modules/web3-eth/lib/esm/web3_eth.js +132 -47
  79. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.cjs +1 -1
  80. package/dist/node_modules/web3-eth-abi/lib/esm/api/functions_api.js +21 -15
  81. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.cjs +1 -1
  82. package/dist/node_modules/web3-eth-abi/lib/esm/api/parameters_api.js +15 -13
  83. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.cjs +1 -1
  84. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/bytes.js +1 -1
  85. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.cjs +1 -1
  86. package/dist/node_modules/web3-eth-abi/lib/esm/coders/base/index.js +61 -53
  87. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.cjs +1 -1
  88. package/dist/node_modules/web3-eth-abi/lib/esm/coders/encode.js +36 -9
  89. package/dist/node_modules/web3-eth-accounts/lib/esm/account.cjs +2 -2
  90. package/dist/node_modules/web3-eth-accounts/lib/esm/account.js +107 -103
  91. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.cjs +1 -1
  92. package/dist/node_modules/web3-eth-accounts/lib/esm/common/utils.js +135 -133
  93. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.cjs +1 -1
  94. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/baseTransaction.js +47 -31
  95. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.cjs +1 -1
  96. package/dist/node_modules/web3-eth-accounts/lib/esm/tx/transactionFactory.js +18 -17
  97. package/dist/node_modules/web3-eth-contract/lib/esm/contract.cjs +1 -1
  98. package/dist/node_modules/web3-eth-contract/lib/esm/contract.js +113 -111
  99. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.cjs +1 -1
  100. package/dist/node_modules/web3-eth-contract/lib/esm/encoding.js +27 -27
  101. package/dist/node_modules/web3-eth-contract/lib/esm/utils.cjs +1 -1
  102. package/dist/node_modules/web3-eth-contract/lib/esm/utils.js +28 -40
  103. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.cjs +1 -1
  104. package/dist/node_modules/web3-utils/lib/esm/chunk_response_parser.js +10 -10
  105. package/dist/node_modules/web3-utils/lib/esm/converters.cjs +1 -1
  106. package/dist/node_modules/web3-utils/lib/esm/converters.js +78 -75
  107. package/dist/node_modules/web3-utils/lib/esm/formatter.cjs +1 -1
  108. package/dist/node_modules/web3-utils/lib/esm/formatter.js +8 -8
  109. package/dist/node_modules/web3-utils/lib/esm/hash.cjs +1 -1
  110. package/dist/node_modules/web3-utils/lib/esm/hash.js +44 -43
  111. package/dist/node_modules/web3-utils/lib/esm/index.cjs +1 -1
  112. package/dist/node_modules/web3-utils/lib/esm/index.js +64 -62
  113. package/dist/node_modules/web3-utils/lib/esm/socket_provider.cjs +1 -1
  114. package/dist/node_modules/web3-utils/lib/esm/socket_provider.js +78 -40
  115. package/dist/node_modules/web3-utils/lib/esm/uint8array.cjs +1 -1
  116. package/dist/node_modules/web3-utils/lib/esm/uint8array.js +16 -11
  117. package/dist/node_modules/web3-utils/lib/esm/validation.cjs +1 -1
  118. package/dist/node_modules/web3-utils/lib/esm/validation.js +45 -33
  119. package/dist/node_modules/web3-validator/lib/esm/utils.cjs +1 -1
  120. package/dist/node_modules/web3-validator/lib/esm/utils.js +127 -104
  121. package/dist/node_modules/web3-validator/lib/esm/validation/address.cjs +1 -1
  122. package/dist/node_modules/web3-validator/lib/esm/validation/address.js +12 -11
  123. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.cjs +1 -1
  124. package/dist/node_modules/web3-validator/lib/esm/validation/bytes.js +17 -13
  125. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.cjs +1 -1
  126. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +7 -9
  127. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.cjs +1 -1
  128. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +8 -8
  129. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.cjs +1 -1
  130. package/dist/prometheus-framework/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +3 -3
  131. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.cjs +1 -1
  132. package/dist/prometheus-framework/node_modules/@capacitor/core/dist/index.js +52 -52
  133. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.cjs +1 -1
  134. package/dist/prometheus-framework/node_modules/@vuepic/vue-datepicker/dist/vue-datepicker.js +2501 -2482
  135. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.cjs +2 -1
  136. package/dist/prometheus-framework/node_modules/axios/lib/core/Axios.js +75 -61
  137. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.cjs +1 -1
  138. package/dist/prometheus-framework/node_modules/axios/lib/defaults/index.js +33 -33
  139. package/dist/prometheus-framework/node_modules/axios/lib/env/data.cjs +1 -1
  140. package/dist/prometheus-framework/node_modules/axios/lib/env/data.js +1 -1
  141. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.cjs +1 -1
  142. package/dist/prometheus-framework/node_modules/axios/lib/helpers/combineURLs.js +1 -1
  143. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.cjs +1 -1
  144. package/dist/prometheus-framework/node_modules/axios/lib/helpers/formDataToJSON.js +4 -2
  145. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.cjs +1 -0
  146. package/dist/prometheus-framework/node_modules/bignumber.js/bignumber.js +701 -0
  147. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.cjs +1 -1
  148. package/dist/prometheus-framework/node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js +14 -7
  149. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.cjs +1 -1
  150. package/dist/prometheus-framework/node_modules/libphonenumber-js/metadata.min.json.js +1 -1
  151. package/dist/prometheus-framework/src/components/Address/Address.vue.cjs +1 -1
  152. package/dist/prometheus-framework/src/components/Address/Address.vue.js +2 -80
  153. package/dist/prometheus-framework/src/components/Address/Address.vue2.cjs +1 -1
  154. package/dist/prometheus-framework/src/components/Address/Address.vue2.js +80 -2
  155. package/dist/prometheus-framework/src/components/Block/Block.vue.cjs +1 -0
  156. package/dist/prometheus-framework/src/components/Block/Block.vue.js +62 -0
  157. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.cjs +1 -1
  158. package/dist/prometheus-framework/src/components/Breadcrumbs/Breadcrumbs.vue2.js +15 -15
  159. package/dist/prometheus-framework/src/components/Button/Button.vue2.cjs +1 -1
  160. package/dist/prometheus-framework/src/components/Button/Button.vue2.js +51 -40
  161. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.cjs +1 -1
  162. package/dist/prometheus-framework/src/components/Checkbox/Checkbox.vue.js +21 -21
  163. package/dist/prometheus-framework/src/components/Chips/Chips.vue.cjs +1 -1
  164. package/dist/prometheus-framework/src/components/Chips/Chips.vue.js +9 -7
  165. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.cjs +1 -1
  166. package/dist/prometheus-framework/src/components/DatePicker/DatePicker.vue.js +12 -13
  167. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.cjs +1 -1
  168. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue.js +2 -49
  169. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.cjs +1 -1
  170. package/dist/prometheus-framework/src/components/Dropdown/Dropdown.vue2.js +49 -2
  171. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.cjs +1 -1
  172. package/dist/prometheus-framework/src/components/EditImages/EditImages.vue.js +53 -36
  173. package/dist/prometheus-framework/src/components/Feed/Feed.vue.cjs +1 -0
  174. package/dist/prometheus-framework/src/components/Feed/Feed.vue.js +117 -0
  175. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.cjs +1 -1
  176. package/dist/prometheus-framework/src/components/FieldBig/FieldBig.vue.js +48 -40
  177. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.cjs +1 -1
  178. package/dist/prometheus-framework/src/components/FieldPhone/FieldPhone.vue.js +1 -2
  179. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.cjs +1 -1
  180. package/dist/prometheus-framework/src/components/Loader/Loader.vue2.js +20 -10
  181. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.cjs +1 -1
  182. package/dist/prometheus-framework/src/components/LocationMarker/LocationMarker.vue.js +2 -98
  183. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.cjs +1 -1
  184. package/dist/prometheus-framework/src/components/Magnifier/Magnifier.vue.js +2 -2
  185. package/dist/prometheus-framework/src/components/Popup/Popup.vue.cjs +1 -1
  186. package/dist/prometheus-framework/src/components/Popup/Popup.vue.js +25 -27
  187. package/dist/prometheus-framework/src/components/Radio/Radio.vue.cjs +1 -0
  188. package/dist/prometheus-framework/src/components/Radio/Radio.vue.js +55 -0
  189. package/dist/prometheus-framework/src/components/Select/Select.vue.cjs +1 -1
  190. package/dist/prometheus-framework/src/components/Select/Select.vue.js +55 -40
  191. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.cjs +1 -1
  192. package/dist/prometheus-framework/src/components/Spoiler/Spoiler.vue2.js +5 -5
  193. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.cjs +1 -1
  194. package/dist/prometheus-framework/src/components/Tab/Tab.vue2.js +1 -1
  195. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.cjs +1 -0
  196. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue.js +45 -0
  197. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.cjs +1 -0
  198. package/dist/prometheus-framework/src/components/Tooltip/Tooltip.vue2.js +4 -0
  199. package/dist/prometheus-framework/src/components/Upload/Upload.vue.cjs +1 -1
  200. package/dist/prometheus-framework/src/components/Upload/Upload.vue.js +2 -73
  201. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.cjs +1 -1
  202. package/dist/prometheus-framework/src/components/Upload/Upload.vue2.js +73 -2
  203. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.cjs +1 -1
  204. package/dist/prometheus-framework/src/components/UploadImage/UploadImage.vue.js +3 -3
  205. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.cjs +1 -1
  206. package/dist/prometheus-framework/src/components/UploadImageMultiple/UploadImageMultiple.vue.js +94 -33
  207. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.cjs +1 -1
  208. package/dist/prometheus-framework/src/modules/auth/components/pages/EnterPassword.vue.js +12 -12
  209. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.cjs +1 -1
  210. package/dist/prometheus-framework/src/modules/auth/components/pages/SignIn.vue.js +69 -61
  211. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.cjs +1 -1
  212. package/dist/prometheus-framework/src/modules/auth/components/pages/SignUp.vue.js +26 -27
  213. package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.cjs +1 -1
  214. package/dist/prometheus-framework/src/modules/auth/localization/EnterCode.json.js +2 -2
  215. package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.cjs +1 -1
  216. package/dist/prometheus-framework/src/modules/auth/localization/EnterPassword.json.js +7 -7
  217. package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.cjs +1 -1
  218. package/dist/prometheus-framework/src/modules/auth/localization/ResetPassword.json.js +2 -2
  219. package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.cjs +1 -1
  220. package/dist/prometheus-framework/src/modules/auth/localization/SignIn.json.js +3 -3
  221. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.cjs +1 -1
  222. package/dist/prometheus-framework/src/modules/auth/localization/SignUp.json.js +3 -3
  223. package/dist/prometheus-framework/src/modules/auth/store/auth.cjs +1 -1
  224. package/dist/prometheus-framework/src/modules/auth/store/auth.js +30 -30
  225. package/dist/prometheus-framework/src/modules/auth/store/invites.cjs +1 -1
  226. package/dist/prometheus-framework/src/modules/auth/store/invites.js +1 -1
  227. package/dist/prometheus-framework/src/modules/auth/store/twofa.cjs +1 -1
  228. package/dist/prometheus-framework/src/modules/auth/store/twofa.js +1 -1
  229. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.cjs +1 -1
  230. package/dist/prometheus-framework/src/modules/backoffice/components/layouts/Backoffice.vue.js +9 -9
  231. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.cjs +1 -1
  232. package/dist/prometheus-framework/src/modules/backoffice/components/pages/Dashboard.vue.js +90 -47
  233. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.cjs +1 -1
  234. package/dist/prometheus-framework/src/modules/backoffice/router/backoffice.js +166 -133
  235. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.cjs +1 -1
  236. package/dist/prometheus-framework/src/modules/community/components/blocks/CardBlogpost.vue.js +86 -68
  237. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.cjs +1 -1
  238. package/dist/prometheus-framework/src/modules/community/components/layouts/Community.vue.js +105 -41
  239. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.cjs +1 -1
  240. package/dist/prometheus-framework/src/modules/community/components/pages/Blog.vue.js +16 -16
  241. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.cjs +1 -1
  242. package/dist/prometheus-framework/src/modules/community/components/pages/BlogPost.vue.js +51 -42
  243. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.cjs +1 -1
  244. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue.js +14 -14
  245. package/dist/prometheus-framework/src/modules/community/components/pages/Community.vue2.js +2 -2
  246. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.cjs +1 -1
  247. package/dist/prometheus-framework/src/modules/community/components/pages/CreateBlogPost.vue.js +108 -94
  248. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.cjs +1 -1
  249. package/dist/prometheus-framework/src/modules/community/components/sections/Comments.vue.js +19 -19
  250. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.cjs +1 -1
  251. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue.js +11 -11
  252. package/dist/prometheus-framework/src/modules/community/components/sections/HotPosts.vue2.js +2 -2
  253. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.cjs +1 -1
  254. package/dist/prometheus-framework/src/modules/community/components/sections/JoinUs.vue.js +40 -29
  255. package/dist/prometheus-framework/src/modules/community/store/blogposts.cjs +1 -1
  256. package/dist/prometheus-framework/src/modules/community/store/blogposts.js +10 -9
  257. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.cjs +1 -1
  258. package/dist/prometheus-framework/src/modules/constructor/components/elements/Audio.vue.js +1 -1
  259. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.cjs +1 -1
  260. package/dist/prometheus-framework/src/modules/constructor/components/elements/Embed.vue.js +27 -16
  261. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.cjs +1 -1
  262. package/dist/prometheus-framework/src/modules/constructor/components/elements/ImageUpload.vue.js +21 -21
  263. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.cjs +4 -3
  264. package/dist/prometheus-framework/src/modules/constructor/components/elements/Textarea.vue.js +31 -28
  265. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.cjs +1 -0
  266. package/dist/prometheus-framework/src/modules/constructor/components/elements/Video.vue.js +48 -0
  267. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.cjs +1 -0
  268. package/dist/prometheus-framework/src/modules/constructor/components/elements/VideoPlayer.vue.js +33 -0
  269. package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.cjs +1 -0
  270. package/dist/prometheus-framework/src/modules/constructor/components/elements/Youtube.vue.js +13 -0
  271. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.cjs +1 -1
  272. package/dist/prometheus-framework/src/modules/constructor/components/sections/Constructor.vue.js +106 -85
  273. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.cjs +1 -1
  274. package/dist/prometheus-framework/src/modules/events/components/layouts/layoutEvents.vue.js +31 -34
  275. package/dist/prometheus-framework/src/modules/events/components/pages/EditEvent.vue.js +8 -8
  276. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.cjs +1 -1
  277. package/dist/prometheus-framework/src/modules/events/components/pages/Events.vue.js +1 -1
  278. package/dist/prometheus-framework/src/modules/events/router/events.cjs +1 -1
  279. package/dist/prometheus-framework/src/modules/events/router/events.js +1 -1
  280. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.cjs +1 -1
  281. package/dist/prometheus-framework/src/modules/gallery/components/sections/GalleryWithCategories.vue.js +1 -1
  282. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.cjs +1 -1
  283. package/dist/prometheus-framework/src/modules/globals/components/blocks/CardHeader.vue.js +1 -1
  284. package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.cjs +1 -1
  285. package/dist/prometheus-framework/src/modules/globals/localization/vue-i18n.js +13 -6
  286. package/dist/prometheus-framework/src/modules/globals/store/globals.cjs +1 -1
  287. package/dist/prometheus-framework/src/modules/globals/store/globals.js +50 -22
  288. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.cjs +1 -1
  289. package/dist/prometheus-framework/src/modules/icons/entities/IconCommunity.vue.js +13 -13
  290. package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.cjs +1 -1
  291. package/dist/prometheus-framework/src/modules/icons/entities/IconEvents.vue.js +3 -3
  292. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.cjs +1 -1
  293. package/dist/prometheus-framework/src/modules/icons/entities/IconGroups.vue.js +5 -5
  294. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.cjs +1 -0
  295. package/dist/prometheus-framework/src/modules/icons/entities/IconPrice.vue.js +21 -0
  296. package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.cjs +1 -0
  297. package/dist/prometheus-framework/src/modules/icons/entities/IconShopcart.vue.js +21 -0
  298. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.cjs +1 -0
  299. package/dist/prometheus-framework/src/modules/icons/entities/IconTime.vue.js +21 -0
  300. package/dist/prometheus-framework/src/modules/icons/icons.client.cjs +1 -1
  301. package/dist/prometheus-framework/src/modules/icons/icons.client.js +38 -34
  302. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.cjs +1 -1
  303. package/dist/prometheus-framework/src/modules/icons/labels/LabelAppStore.vue.js +9 -9
  304. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.cjs +1 -1
  305. package/dist/prometheus-framework/src/modules/icons/labels/LabelGooglePlay.vue.js +7 -7
  306. package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.cjs +1 -0
  307. package/dist/prometheus-framework/src/modules/icons/navigation/IconAdd.vue.js +30 -0
  308. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.cjs +1 -1
  309. package/dist/prometheus-framework/src/modules/icons/navigation/IconChevronRight.vue.js +12 -12
  310. package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.cjs +1 -0
  311. package/dist/prometheus-framework/src/modules/icons/navigation/IconDelete.vue.js +27 -0
  312. package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.cjs +1 -0
  313. package/dist/prometheus-framework/src/modules/icons/navigation/IconMinus.vue.js +29 -0
  314. package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.cjs +1 -0
  315. package/dist/prometheus-framework/src/modules/icons/navigation/IconUpload.vue.js +33 -0
  316. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.cjs +1 -0
  317. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderImage.vue.js +21 -0
  318. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.cjs +1 -0
  319. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderOrganizationPic.vue.js +28 -0
  320. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.cjs +1 -1
  321. package/dist/prometheus-framework/src/modules/icons/placeholders/PlaceholderUserpic.vue.js +21 -20
  322. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.cjs +1 -1
  323. package/dist/prometheus-framework/src/modules/icons/socials/instagram.vue.js +5 -5
  324. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.cjs +1 -1
  325. package/dist/prometheus-framework/src/modules/icons/socials/line.vue.js +6 -6
  326. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.cjs +1 -1
  327. package/dist/prometheus-framework/src/modules/icons/socials/reddit.vue.js +1 -1
  328. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.cjs +1 -1
  329. package/dist/prometheus-framework/src/modules/icons/socials/telegram.vue.js +7 -7
  330. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.cjs +1 -1
  331. package/dist/prometheus-framework/src/modules/icons/socials/twitter.vue.js +6 -6
  332. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.cjs +1 -1
  333. package/dist/prometheus-framework/src/modules/icons/socials/youtube.vue.js +1 -1
  334. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.cjs +1 -1
  335. package/dist/prometheus-framework/src/modules/landing/components/sections/MobileApp.vue.js +48 -35
  336. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.cjs +1 -0
  337. package/dist/prometheus-framework/src/modules/marketplace/store/marketplace.js +63 -0
  338. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.cjs +1 -1
  339. package/dist/prometheus-framework/src/modules/middlewares/client/auth.validation.js +6 -8
  340. package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.cjs +1 -1
  341. package/dist/prometheus-framework/src/modules/middlewares/client/states.validation.js +5 -7
  342. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.cjs +1 -1
  343. package/dist/prometheus-framework/src/modules/mobile/components/Menu/MenuItem.vue.js +16 -22
  344. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.cjs +1 -0
  345. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrder.vue.js +4 -0
  346. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.cjs +1 -1
  347. package/dist/prometheus-framework/src/modules/orders/components/blocks/CardOrderItem.vue.js +61 -88
  348. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.cjs +1 -1
  349. package/dist/prometheus-framework/src/modules/orders/components/pages/EditOrder.vue.js +104 -193
  350. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.cjs +1 -1
  351. package/dist/prometheus-framework/src/modules/orders/components/pages/Orders.vue.js +29 -31
  352. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.cjs +1 -0
  353. package/dist/prometheus-framework/src/modules/orders/components/sections/FormOrderDetails.vue.js +129 -0
  354. package/dist/prometheus-framework/src/modules/orders/store/orders.cjs +1 -1
  355. package/dist/prometheus-framework/src/modules/orders/store/orders.js +45 -36
  356. package/dist/prometheus-framework/src/modules/orders/store/shopcart.cjs +1 -1
  357. package/dist/prometheus-framework/src/modules/orders/store/shopcart.js +27 -26
  358. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.cjs +1 -1
  359. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardDepartment.vue.js +6 -6
  360. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.cjs +1 -1
  361. package/dist/prometheus-framework/src/modules/organizations/components/blocks/CardOrganization.vue.js +85 -79
  362. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.cjs +1 -1
  363. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Rating.vue.js +10 -10
  364. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.cjs +1 -1
  365. package/dist/prometheus-framework/src/modules/organizations/components/blocks/Socials.vue.js +29 -23
  366. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.cjs +1 -1
  367. package/dist/prometheus-framework/src/modules/organizations/components/elements/ButtonToggleMembership.vue.js +5 -5
  368. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.cjs +1 -1
  369. package/dist/prometheus-framework/src/modules/organizations/components/pages/Department.vue.js +4 -4
  370. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.cjs +1 -1
  371. package/dist/prometheus-framework/src/modules/organizations/components/pages/DepartmentEdit.vue.js +55 -169
  372. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.cjs +1 -1
  373. package/dist/prometheus-framework/src/modules/organizations/components/pages/Members.vue.js +48 -59
  374. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.cjs +1 -1
  375. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organization.vue.js +173 -94
  376. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.cjs +1 -1
  377. package/dist/prometheus-framework/src/modules/organizations/components/pages/OrganizationEdit.vue.js +27 -20
  378. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.cjs +1 -1
  379. package/dist/prometheus-framework/src/modules/organizations/components/pages/Organizations.vue.js +43 -33
  380. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.cjs +1 -1
  381. package/dist/prometheus-framework/src/modules/organizations/components/sections/DetailsTab.vue.js +67 -63
  382. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.cjs +1 -1
  383. package/dist/prometheus-framework/src/modules/organizations/components/sections/Feed.vue.js +28 -30
  384. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.cjs +1 -1
  385. package/dist/prometheus-framework/src/modules/organizations/components/sections/FeedDepartments.vue.js +2 -2
  386. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.cjs +1 -1
  387. package/dist/prometheus-framework/src/modules/organizations/components/sections/Organizations.vue.js +2 -2
  388. package/dist/prometheus-framework/src/modules/organizations/router/members.router.cjs +1 -1
  389. package/dist/prometheus-framework/src/modules/organizations/router/members.router.js +2 -2
  390. package/dist/prometheus-framework/src/modules/organizations/router/organizations.cjs +1 -1
  391. package/dist/prometheus-framework/src/modules/organizations/router/organizations.js +9 -6
  392. package/dist/prometheus-framework/src/modules/organizations/router/products.router.cjs +1 -1
  393. package/dist/prometheus-framework/src/modules/organizations/router/products.router.js +69 -20
  394. package/dist/prometheus-framework/src/modules/organizations/store/departments.cjs +1 -1
  395. package/dist/prometheus-framework/src/modules/organizations/store/departments.js +1 -1
  396. package/dist/prometheus-framework/src/modules/organizations/store/invites.cjs +1 -1
  397. package/dist/prometheus-framework/src/modules/organizations/store/invites.js +1 -1
  398. package/dist/prometheus-framework/src/modules/organizations/store/organizations.cjs +1 -1
  399. package/dist/prometheus-framework/src/modules/organizations/store/organizations.js +38 -38
  400. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.cjs +1 -1
  401. package/dist/prometheus-framework/src/modules/payments/components/pages/Payments.vue.js +2 -2
  402. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.cjs +1 -1
  403. package/dist/prometheus-framework/src/modules/products/components/blocks/CardLeftover.vue.js +39 -44
  404. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.cjs +1 -1
  405. package/dist/prometheus-framework/src/modules/products/components/blocks/CardPosition.vue.js +73 -44
  406. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.cjs +1 -1
  407. package/dist/prometheus-framework/src/modules/products/components/blocks/CardProduct.vue.js +25 -54
  408. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.cjs +1 -1
  409. package/dist/prometheus-framework/src/modules/products/components/blocks/Images360.vue.js +39 -39
  410. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.cjs +1 -1
  411. package/dist/prometheus-framework/src/modules/products/components/blocks/ImagesThumbnails.vue.js +12 -12
  412. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.cjs +1 -0
  413. package/dist/prometheus-framework/src/modules/products/components/blocks/ListPositions.vue.js +4 -0
  414. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.cjs +1 -1
  415. package/dist/prometheus-framework/src/modules/products/components/elements/Price.vue.js +18 -11
  416. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.cjs +1 -1
  417. package/dist/prometheus-framework/src/modules/products/components/elements/THC.vue.js +24 -24
  418. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.cjs +1 -0
  419. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue.js +140 -0
  420. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.cjs +1 -0
  421. package/dist/prometheus-framework/src/modules/products/components/pages/EditLeftover.vue2.js +4 -0
  422. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.cjs +1 -1
  423. package/dist/prometheus-framework/src/modules/products/components/pages/Leftovers.vue.js +27 -23
  424. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.cjs +1 -1
  425. package/dist/prometheus-framework/src/modules/products/components/pages/Product.vue.js +24 -25
  426. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.cjs +1 -1
  427. package/dist/prometheus-framework/src/modules/products/components/pages/ProductEdit.vue.js +246 -102
  428. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.cjs +1 -1
  429. package/dist/prometheus-framework/src/modules/products/components/pages/Products.vue.js +28 -24
  430. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.cjs +1 -1
  431. package/dist/prometheus-framework/src/modules/products/components/pages/ProductsBackoffice.vue.js +23 -24
  432. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.cjs +1 -1
  433. package/dist/prometheus-framework/src/modules/products/components/sections/EditProductInfo.vue.js +56 -7
  434. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.cjs +1 -1
  435. package/dist/prometheus-framework/src/modules/products/components/sections/FilterProducts.vue.js +82 -65
  436. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.cjs +1 -1
  437. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue.js +71 -54
  438. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.cjs +1 -0
  439. package/dist/prometheus-framework/src/modules/products/components/sections/PopularProducts.vue2.js +4 -0
  440. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.cjs +1 -1
  441. package/dist/prometheus-framework/src/modules/products/components/sections/SectionProduct.vue.js +60 -86
  442. package/dist/prometheus-framework/src/modules/products/store/leftovers.cjs +1 -1
  443. package/dist/prometheus-framework/src/modules/products/store/leftovers.js +29 -37
  444. package/dist/prometheus-framework/src/modules/products/store/products.cjs +1 -1
  445. package/dist/prometheus-framework/src/modules/products/store/products.js +32 -29
  446. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.cjs +1 -1
  447. package/dist/prometheus-framework/src/modules/spots/components/blocks/CardSpot.vue.js +43 -107
  448. package/dist/prometheus-framework/src/modules/spots/store/spots.cjs +1 -1
  449. package/dist/prometheus-framework/src/modules/spots/store/spots.js +46 -40
  450. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.cjs +1 -1
  451. package/dist/prometheus-framework/src/modules/users/components/pages/Profile.vue.js +89 -94
  452. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.cjs +1 -1
  453. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileBlogposts.vue.js +1 -1
  454. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.cjs +1 -1
  455. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEdit.vue.js +30 -30
  456. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.cjs +1 -1
  457. package/dist/prometheus-framework/src/modules/users/components/pages/ProfileEvents.vue.js +1 -1
  458. package/dist/prometheus-framework/src/modules/users/router/users.cjs +1 -1
  459. package/dist/prometheus-framework/src/modules/users/router/users.js +2 -2
  460. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.cjs +1 -1
  461. package/dist/prometheus-framework/src/modules/wallet/components/pages/Wallet.vue.js +80 -71
  462. package/dist/prometheus-framework/src/modules/wallet/store/wallet.cjs +1 -0
  463. package/dist/prometheus-framework/src/modules/wallet/store/wallet.js +29 -0
  464. package/dist/style.css +1 -1
  465. package/package.json +1 -1
  466. package/src/modules/orders/components/blocks/CardOrder.vue +2 -2
  467. package/src/modules/orders/components/pages/Orders.vue +0 -4
  468. package/src/modules/products/components/sections/FilterProducts.vue +9 -10
  469. package/src/modules/wallet/components/pages/Wallet.vue +2 -3
@@ -0,0 +1,701 @@
1
+ var Ee = /^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i, ce = Math.ceil, y = Math.floor, U = "[BigNumber Error] ", pe = U + "Number primitive has more than 15 significant digits: ", H = 1e14, N = 14, ae = 9007199254740991, he = [1, 10, 100, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13], J = 1e7, D = 1e9;
2
+ function we(O) {
3
+ var E, _, R, g = h.prototype = { constructor: h, toString: null, valueOf: null }, T = new h(1), x = 20, S = 4, C = -7, k = 21, Q = -1e7, z = 1e7, Z = !1, b = 1, Y = 0, te = {
4
+ prefix: "",
5
+ groupSize: 3,
6
+ secondaryGroupSize: 0,
7
+ groupSeparator: ",",
8
+ decimalSeparator: ".",
9
+ fractionGroupSize: 0,
10
+ fractionGroupSeparator: " ",
11
+ // non-breaking space
12
+ suffix: ""
13
+ }, K = "0123456789abcdefghijklmnopqrstuvwxyz", fe = !0;
14
+ function h(e, r) {
15
+ var i, s, t, l, c, n, f, u, o = this;
16
+ if (!(o instanceof h))
17
+ return new h(e, r);
18
+ if (r == null) {
19
+ if (e && e._isBigNumber === !0) {
20
+ o.s = e.s, !e.c || e.e > z ? o.c = o.e = null : e.e < Q ? o.c = [o.e = 0] : (o.e = e.e, o.c = e.c.slice());
21
+ return;
22
+ }
23
+ if ((n = typeof e == "number") && e * 0 == 0) {
24
+ if (o.s = 1 / e < 0 ? (e = -e, -1) : 1, e === ~~e) {
25
+ for (l = 0, c = e; c >= 10; c /= 10, l++)
26
+ ;
27
+ l > z ? o.c = o.e = null : (o.e = l, o.c = [e]);
28
+ return;
29
+ }
30
+ u = String(e);
31
+ } else {
32
+ if (!Ee.test(u = String(e)))
33
+ return R(o, u, n);
34
+ o.s = u.charCodeAt(0) == 45 ? (u = u.slice(1), -1) : 1;
35
+ }
36
+ (l = u.indexOf(".")) > -1 && (u = u.replace(".", "")), (c = u.search(/e/i)) > 0 ? (l < 0 && (l = c), l += +u.slice(c + 1), u = u.substring(0, c)) : l < 0 && (l = u.length);
37
+ } else {
38
+ if (v(r, 2, K.length, "Base"), r == 10 && fe)
39
+ return o = new h(e), G(o, x + o.e + 1, S);
40
+ if (u = String(e), n = typeof e == "number") {
41
+ if (e * 0 != 0)
42
+ return R(o, u, n, r);
43
+ if (o.s = 1 / e < 0 ? (u = u.slice(1), -1) : 1, h.DEBUG && u.replace(/^0\.0*|\./, "").length > 15)
44
+ throw Error(pe + e);
45
+ } else
46
+ o.s = u.charCodeAt(0) === 45 ? (u = u.slice(1), -1) : 1;
47
+ for (i = K.slice(0, r), l = c = 0, f = u.length; c < f; c++)
48
+ if (i.indexOf(s = u.charAt(c)) < 0) {
49
+ if (s == ".") {
50
+ if (c > l) {
51
+ l = f;
52
+ continue;
53
+ }
54
+ } else if (!t && (u == u.toUpperCase() && (u = u.toLowerCase()) || u == u.toLowerCase() && (u = u.toUpperCase()))) {
55
+ t = !0, c = -1, l = 0;
56
+ continue;
57
+ }
58
+ return R(o, String(e), n, r);
59
+ }
60
+ n = !1, u = _(u, r, 10, o.s), (l = u.indexOf(".")) > -1 ? u = u.replace(".", "") : l = u.length;
61
+ }
62
+ for (c = 0; u.charCodeAt(c) === 48; c++)
63
+ ;
64
+ for (f = u.length; u.charCodeAt(--f) === 48; )
65
+ ;
66
+ if (u = u.slice(c, ++f)) {
67
+ if (f -= c, n && h.DEBUG && f > 15 && (e > ae || e !== y(e)))
68
+ throw Error(pe + o.s * e);
69
+ if ((l = l - c - 1) > z)
70
+ o.c = o.e = null;
71
+ else if (l < Q)
72
+ o.c = [o.e = 0];
73
+ else {
74
+ if (o.e = l, o.c = [], c = (l + 1) % N, l < 0 && (c += N), c < f) {
75
+ for (c && o.c.push(+u.slice(0, c)), f -= N; c < f; )
76
+ o.c.push(+u.slice(c, c += N));
77
+ c = N - (u = u.slice(c)).length;
78
+ } else
79
+ c -= f;
80
+ for (; c--; u += "0")
81
+ ;
82
+ o.c.push(+u);
83
+ }
84
+ } else
85
+ o.c = [o.e = 0];
86
+ }
87
+ h.clone = we, h.ROUND_UP = 0, h.ROUND_DOWN = 1, h.ROUND_CEIL = 2, h.ROUND_FLOOR = 3, h.ROUND_HALF_UP = 4, h.ROUND_HALF_DOWN = 5, h.ROUND_HALF_EVEN = 6, h.ROUND_HALF_CEIL = 7, h.ROUND_HALF_FLOOR = 8, h.EUCLID = 9, h.config = h.set = function(e) {
88
+ var r, i;
89
+ if (e != null)
90
+ if (typeof e == "object") {
91
+ if (e.hasOwnProperty(r = "DECIMAL_PLACES") && (i = e[r], v(i, 0, D, r), x = i), e.hasOwnProperty(r = "ROUNDING_MODE") && (i = e[r], v(i, 0, 8, r), S = i), e.hasOwnProperty(r = "EXPONENTIAL_AT") && (i = e[r], i && i.pop ? (v(i[0], -D, 0, r), v(i[1], 0, D, r), C = i[0], k = i[1]) : (v(i, -D, D, r), C = -(k = i < 0 ? -i : i))), e.hasOwnProperty(r = "RANGE"))
92
+ if (i = e[r], i && i.pop)
93
+ v(i[0], -D, -1, r), v(i[1], 1, D, r), Q = i[0], z = i[1];
94
+ else if (v(i, -D, D, r), i)
95
+ Q = -(z = i < 0 ? -i : i);
96
+ else
97
+ throw Error(U + r + " cannot be zero: " + i);
98
+ if (e.hasOwnProperty(r = "CRYPTO"))
99
+ if (i = e[r], i === !!i)
100
+ if (i)
101
+ if (typeof crypto < "u" && crypto && (crypto.getRandomValues || crypto.randomBytes))
102
+ Z = i;
103
+ else
104
+ throw Z = !i, Error(U + "crypto unavailable");
105
+ else
106
+ Z = i;
107
+ else
108
+ throw Error(U + r + " not true or false: " + i);
109
+ if (e.hasOwnProperty(r = "MODULO_MODE") && (i = e[r], v(i, 0, 9, r), b = i), e.hasOwnProperty(r = "POW_PRECISION") && (i = e[r], v(i, 0, D, r), Y = i), e.hasOwnProperty(r = "FORMAT"))
110
+ if (i = e[r], typeof i == "object")
111
+ te = i;
112
+ else
113
+ throw Error(U + r + " not an object: " + i);
114
+ if (e.hasOwnProperty(r = "ALPHABET"))
115
+ if (i = e[r], typeof i == "string" && !/^.?$|[+\-.\s]|(.).*\1/.test(i))
116
+ fe = i.slice(0, 10) == "0123456789", K = i;
117
+ else
118
+ throw Error(U + r + " invalid: " + i);
119
+ } else
120
+ throw Error(U + "Object expected: " + e);
121
+ return {
122
+ DECIMAL_PLACES: x,
123
+ ROUNDING_MODE: S,
124
+ EXPONENTIAL_AT: [C, k],
125
+ RANGE: [Q, z],
126
+ CRYPTO: Z,
127
+ MODULO_MODE: b,
128
+ POW_PRECISION: Y,
129
+ FORMAT: te,
130
+ ALPHABET: K
131
+ };
132
+ }, h.isBigNumber = function(e) {
133
+ if (!e || e._isBigNumber !== !0)
134
+ return !1;
135
+ if (!h.DEBUG)
136
+ return !0;
137
+ var r, i, s = e.c, t = e.e, l = e.s;
138
+ e:
139
+ if ({}.toString.call(s) == "[object Array]") {
140
+ if ((l === 1 || l === -1) && t >= -D && t <= D && t === y(t)) {
141
+ if (s[0] === 0) {
142
+ if (t === 0 && s.length === 1)
143
+ return !0;
144
+ break e;
145
+ }
146
+ if (r = (t + 1) % N, r < 1 && (r += N), String(s[0]).length == r) {
147
+ for (r = 0; r < s.length; r++)
148
+ if (i = s[r], i < 0 || i >= H || i !== y(i))
149
+ break e;
150
+ if (i !== 0)
151
+ return !0;
152
+ }
153
+ }
154
+ } else if (s === null && t === null && (l === null || l === 1 || l === -1))
155
+ return !0;
156
+ throw Error(U + "Invalid BigNumber: " + e);
157
+ }, h.maximum = h.max = function() {
158
+ return ge(arguments, -1);
159
+ }, h.minimum = h.min = function() {
160
+ return ge(arguments, 1);
161
+ }, h.random = function() {
162
+ var e = 9007199254740992, r = Math.random() * e & 2097151 ? function() {
163
+ return y(Math.random() * e);
164
+ } : function() {
165
+ return (Math.random() * 1073741824 | 0) * 8388608 + (Math.random() * 8388608 | 0);
166
+ };
167
+ return function(i) {
168
+ var s, t, l, c, n, f = 0, u = [], o = new h(T);
169
+ if (i == null ? i = x : v(i, 0, D), c = ce(i / N), Z)
170
+ if (crypto.getRandomValues) {
171
+ for (s = crypto.getRandomValues(new Uint32Array(c *= 2)); f < c; )
172
+ n = s[f] * 131072 + (s[f + 1] >>> 11), n >= 9e15 ? (t = crypto.getRandomValues(new Uint32Array(2)), s[f] = t[0], s[f + 1] = t[1]) : (u.push(n % 1e14), f += 2);
173
+ f = c / 2;
174
+ } else if (crypto.randomBytes) {
175
+ for (s = crypto.randomBytes(c *= 7); f < c; )
176
+ n = (s[f] & 31) * 281474976710656 + s[f + 1] * 1099511627776 + s[f + 2] * 4294967296 + s[f + 3] * 16777216 + (s[f + 4] << 16) + (s[f + 5] << 8) + s[f + 6], n >= 9e15 ? crypto.randomBytes(7).copy(s, f) : (u.push(n % 1e14), f += 7);
177
+ f = c / 7;
178
+ } else
179
+ throw Z = !1, Error(U + "crypto unavailable");
180
+ if (!Z)
181
+ for (; f < c; )
182
+ n = r(), n < 9e15 && (u[f++] = n % 1e14);
183
+ for (c = u[--f], i %= N, c && i && (n = he[N - i], u[f] = y(c / n) * n); u[f] === 0; u.pop(), f--)
184
+ ;
185
+ if (f < 0)
186
+ u = [l = 0];
187
+ else {
188
+ for (l = -1; u[0] === 0; u.splice(0, 1), l -= N)
189
+ ;
190
+ for (f = 1, n = u[0]; n >= 10; n /= 10, f++)
191
+ ;
192
+ f < N && (l -= N - f);
193
+ }
194
+ return o.e = l, o.c = u, o;
195
+ };
196
+ }(), h.sum = function() {
197
+ for (var e = 1, r = arguments, i = new h(r[0]); e < r.length; )
198
+ i = i.plus(r[e++]);
199
+ return i;
200
+ }, _ = function() {
201
+ var e = "0123456789";
202
+ function r(i, s, t, l) {
203
+ for (var c, n = [0], f, u = 0, o = i.length; u < o; ) {
204
+ for (f = n.length; f--; n[f] *= s)
205
+ ;
206
+ for (n[0] += l.indexOf(i.charAt(u++)), c = 0; c < n.length; c++)
207
+ n[c] > t - 1 && (n[c + 1] == null && (n[c + 1] = 0), n[c + 1] += n[c] / t | 0, n[c] %= t);
208
+ }
209
+ return n.reverse();
210
+ }
211
+ return function(i, s, t, l, c) {
212
+ var n, f, u, o, a, p, w, A, B = i.indexOf("."), M = x, m = S;
213
+ for (B >= 0 && (o = Y, Y = 0, i = i.replace(".", ""), A = new h(s), p = A.pow(i.length - B), Y = o, A.c = r(
214
+ W(q(p.c), p.e, "0"),
215
+ 10,
216
+ t,
217
+ e
218
+ ), A.e = A.c.length), w = r(i, s, t, c ? (n = K, e) : (n = e, K)), u = o = w.length; w[--o] == 0; w.pop())
219
+ ;
220
+ if (!w[0])
221
+ return n.charAt(0);
222
+ if (B < 0 ? --u : (p.c = w, p.e = u, p.s = l, p = E(p, A, M, m, t), w = p.c, a = p.r, u = p.e), f = u + M + 1, B = w[f], o = t / 2, a = a || f < 0 || w[f + 1] != null, a = m < 4 ? (B != null || a) && (m == 0 || m == (p.s < 0 ? 3 : 2)) : B > o || B == o && (m == 4 || a || m == 6 && w[f - 1] & 1 || m == (p.s < 0 ? 8 : 7)), f < 1 || !w[0])
223
+ i = a ? W(n.charAt(1), -M, n.charAt(0)) : n.charAt(0);
224
+ else {
225
+ if (w.length = f, a)
226
+ for (--t; ++w[--f] > t; )
227
+ w[f] = 0, f || (++u, w = [1].concat(w));
228
+ for (o = w.length; !w[--o]; )
229
+ ;
230
+ for (B = 0, i = ""; B <= o; i += n.charAt(w[B++]))
231
+ ;
232
+ i = W(i, u, n.charAt(0));
233
+ }
234
+ return i;
235
+ };
236
+ }(), E = function() {
237
+ function e(s, t, l) {
238
+ var c, n, f, u, o = 0, a = s.length, p = t % J, w = t / J | 0;
239
+ for (s = s.slice(); a--; )
240
+ f = s[a] % J, u = s[a] / J | 0, c = w * f + u * p, n = p * f + c % J * J + o, o = (n / l | 0) + (c / J | 0) + w * u, s[a] = n % l;
241
+ return o && (s = [o].concat(s)), s;
242
+ }
243
+ function r(s, t, l, c) {
244
+ var n, f;
245
+ if (l != c)
246
+ f = l > c ? 1 : -1;
247
+ else
248
+ for (n = f = 0; n < l; n++)
249
+ if (s[n] != t[n]) {
250
+ f = s[n] > t[n] ? 1 : -1;
251
+ break;
252
+ }
253
+ return f;
254
+ }
255
+ function i(s, t, l, c) {
256
+ for (var n = 0; l--; )
257
+ s[l] -= n, n = s[l] < t[l] ? 1 : 0, s[l] = n * c + s[l] - t[l];
258
+ for (; !s[0] && s.length > 1; s.splice(0, 1))
259
+ ;
260
+ }
261
+ return function(s, t, l, c, n) {
262
+ var f, u, o, a, p, w, A, B, M, m, d, P, re, se, ue, X, ee, F = s.s == t.s ? 1 : -1, L = s.c, I = t.c;
263
+ if (!L || !L[0] || !I || !I[0])
264
+ return new h(
265
+ // Return NaN if either NaN, or both Infinity or 0.
266
+ !s.s || !t.s || (L ? I && L[0] == I[0] : !I) ? NaN : (
267
+ // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
268
+ L && L[0] == 0 || !I ? F * 0 : F / 0
269
+ )
270
+ );
271
+ for (B = new h(F), M = B.c = [], u = s.e - t.e, F = l + u + 1, n || (n = H, u = $(s.e / N) - $(t.e / N), F = F / N | 0), o = 0; I[o] == (L[o] || 0); o++)
272
+ ;
273
+ if (I[o] > (L[o] || 0) && u--, F < 0)
274
+ M.push(1), a = !0;
275
+ else {
276
+ for (se = L.length, X = I.length, o = 0, F += 2, p = y(n / (I[0] + 1)), p > 1 && (I = e(I, p, n), L = e(L, p, n), X = I.length, se = L.length), re = X, m = L.slice(0, X), d = m.length; d < X; m[d++] = 0)
277
+ ;
278
+ ee = I.slice(), ee = [0].concat(ee), ue = I[0], I[1] >= n / 2 && ue++;
279
+ do {
280
+ if (p = 0, f = r(I, m, X, d), f < 0) {
281
+ if (P = m[0], X != d && (P = P * n + (m[1] || 0)), p = y(P / ue), p > 1)
282
+ for (p >= n && (p = n - 1), w = e(I, p, n), A = w.length, d = m.length; r(w, m, A, d) == 1; )
283
+ p--, i(w, X < A ? ee : I, A, n), A = w.length, f = 1;
284
+ else
285
+ p == 0 && (f = p = 1), w = I.slice(), A = w.length;
286
+ if (A < d && (w = [0].concat(w)), i(m, w, d, n), d = m.length, f == -1)
287
+ for (; r(I, m, X, d) < 1; )
288
+ p++, i(m, X < d ? ee : I, d, n), d = m.length;
289
+ } else
290
+ f === 0 && (p++, m = [0]);
291
+ M[o++] = p, m[0] ? m[d++] = L[re] || 0 : (m = [L[re]], d = 1);
292
+ } while ((re++ < se || m[0] != null) && F--);
293
+ a = m[0] != null, M[0] || M.splice(0, 1);
294
+ }
295
+ if (n == H) {
296
+ for (o = 1, F = M[0]; F >= 10; F /= 10, o++)
297
+ ;
298
+ G(B, l + (B.e = o + u * N - 1) + 1, c, a);
299
+ } else
300
+ B.e = u, B.r = +a;
301
+ return B;
302
+ };
303
+ }();
304
+ function le(e, r, i, s) {
305
+ var t, l, c, n, f;
306
+ if (i == null ? i = S : v(i, 0, 8), !e.c)
307
+ return e.toString();
308
+ if (t = e.c[0], c = e.e, r == null)
309
+ f = q(e.c), f = s == 1 || s == 2 && (c <= C || c >= k) ? ne(f, c) : W(f, c, "0");
310
+ else if (e = G(new h(e), r, i), l = e.e, f = q(e.c), n = f.length, s == 1 || s == 2 && (r <= l || l <= C)) {
311
+ for (; n < r; f += "0", n++)
312
+ ;
313
+ f = ne(f, l);
314
+ } else if (r -= c, f = W(f, l, "0"), l + 1 > n) {
315
+ if (--r > 0)
316
+ for (f += "."; r--; f += "0")
317
+ ;
318
+ } else if (r += l - n, r > 0)
319
+ for (l + 1 == n && (f += "."); r--; f += "0")
320
+ ;
321
+ return e.s < 0 && t ? "-" + f : f;
322
+ }
323
+ function ge(e, r) {
324
+ for (var i, s, t = 1, l = new h(e[0]); t < e.length; t++)
325
+ s = new h(e[t]), (!s.s || (i = j(l, s)) === r || i === 0 && l.s === r) && (l = s);
326
+ return l;
327
+ }
328
+ function oe(e, r, i) {
329
+ for (var s = 1, t = r.length; !r[--t]; r.pop())
330
+ ;
331
+ for (t = r[0]; t >= 10; t /= 10, s++)
332
+ ;
333
+ return (i = s + i * N - 1) > z ? e.c = e.e = null : i < Q ? e.c = [e.e = 0] : (e.e = i, e.c = r), e;
334
+ }
335
+ R = function() {
336
+ var e = /^(-?)0([xbo])(?=\w[\w.]*$)/i, r = /^([^.]+)\.$/, i = /^\.([^.]+)$/, s = /^-?(Infinity|NaN)$/, t = /^\s*\+(?=[\w.])|^\s+|\s+$/g;
337
+ return function(l, c, n, f) {
338
+ var u, o = n ? c : c.replace(t, "");
339
+ if (s.test(o))
340
+ l.s = isNaN(o) ? null : o < 0 ? -1 : 1;
341
+ else {
342
+ if (!n && (o = o.replace(e, function(a, p, w) {
343
+ return u = (w = w.toLowerCase()) == "x" ? 16 : w == "b" ? 2 : 8, !f || f == u ? p : a;
344
+ }), f && (u = f, o = o.replace(r, "$1").replace(i, "0.$1")), c != o))
345
+ return new h(o, u);
346
+ if (h.DEBUG)
347
+ throw Error(U + "Not a" + (f ? " base " + f : "") + " number: " + c);
348
+ l.s = null;
349
+ }
350
+ l.c = l.e = null;
351
+ };
352
+ }();
353
+ function G(e, r, i, s) {
354
+ var t, l, c, n, f, u, o, a = e.c, p = he;
355
+ if (a) {
356
+ e: {
357
+ for (t = 1, n = a[0]; n >= 10; n /= 10, t++)
358
+ ;
359
+ if (l = r - t, l < 0)
360
+ l += N, c = r, f = a[u = 0], o = y(f / p[t - c - 1] % 10);
361
+ else if (u = ce((l + 1) / N), u >= a.length)
362
+ if (s) {
363
+ for (; a.length <= u; a.push(0))
364
+ ;
365
+ f = o = 0, t = 1, l %= N, c = l - N + 1;
366
+ } else
367
+ break e;
368
+ else {
369
+ for (f = n = a[u], t = 1; n >= 10; n /= 10, t++)
370
+ ;
371
+ l %= N, c = l - N + t, o = c < 0 ? 0 : y(f / p[t - c - 1] % 10);
372
+ }
373
+ if (s = s || r < 0 || // Are there any non-zero digits after the rounding digit?
374
+ // The expression n % pows10[d - j - 1] returns all digits of n to the right
375
+ // of the digit at j, e.g. if n is 908714 and j is 2, the expression gives 714.
376
+ a[u + 1] != null || (c < 0 ? f : f % p[t - c - 1]), s = i < 4 ? (o || s) && (i == 0 || i == (e.s < 0 ? 3 : 2)) : o > 5 || o == 5 && (i == 4 || s || i == 6 && // Check whether the digit to the left of the rounding digit is odd.
377
+ (l > 0 ? c > 0 ? f / p[t - c] : 0 : a[u - 1]) % 10 & 1 || i == (e.s < 0 ? 8 : 7)), r < 1 || !a[0])
378
+ return a.length = 0, s ? (r -= e.e + 1, a[0] = p[(N - r % N) % N], e.e = -r || 0) : a[0] = e.e = 0, e;
379
+ if (l == 0 ? (a.length = u, n = 1, u--) : (a.length = u + 1, n = p[N - l], a[u] = c > 0 ? y(f / p[t - c] % p[c]) * n : 0), s)
380
+ for (; ; )
381
+ if (u == 0) {
382
+ for (l = 1, c = a[0]; c >= 10; c /= 10, l++)
383
+ ;
384
+ for (c = a[0] += n, n = 1; c >= 10; c /= 10, n++)
385
+ ;
386
+ l != n && (e.e++, a[0] == H && (a[0] = 1));
387
+ break;
388
+ } else {
389
+ if (a[u] += n, a[u] != H)
390
+ break;
391
+ a[u--] = 0, n = 1;
392
+ }
393
+ for (l = a.length; a[--l] === 0; a.pop())
394
+ ;
395
+ }
396
+ e.e > z ? e.c = e.e = null : e.e < Q && (e.c = [e.e = 0]);
397
+ }
398
+ return e;
399
+ }
400
+ function V(e) {
401
+ var r, i = e.e;
402
+ return i === null ? e.toString() : (r = q(e.c), r = i <= C || i >= k ? ne(r, i) : W(r, i, "0"), e.s < 0 ? "-" + r : r);
403
+ }
404
+ return g.absoluteValue = g.abs = function() {
405
+ var e = new h(this);
406
+ return e.s < 0 && (e.s = 1), e;
407
+ }, g.comparedTo = function(e, r) {
408
+ return j(this, new h(e, r));
409
+ }, g.decimalPlaces = g.dp = function(e, r) {
410
+ var i, s, t, l = this;
411
+ if (e != null)
412
+ return v(e, 0, D), r == null ? r = S : v(r, 0, 8), G(new h(l), e + l.e + 1, r);
413
+ if (!(i = l.c))
414
+ return null;
415
+ if (s = ((t = i.length - 1) - $(this.e / N)) * N, t = i[t])
416
+ for (; t % 10 == 0; t /= 10, s--)
417
+ ;
418
+ return s < 0 && (s = 0), s;
419
+ }, g.dividedBy = g.div = function(e, r) {
420
+ return E(this, new h(e, r), x, S);
421
+ }, g.dividedToIntegerBy = g.idiv = function(e, r) {
422
+ return E(this, new h(e, r), 0, 1);
423
+ }, g.exponentiatedBy = g.pow = function(e, r) {
424
+ var i, s, t, l, c, n, f, u, o, a = this;
425
+ if (e = new h(e), e.c && !e.isInteger())
426
+ throw Error(U + "Exponent not an integer: " + V(e));
427
+ if (r != null && (r = new h(r)), n = e.e > 14, !a.c || !a.c[0] || a.c[0] == 1 && !a.e && a.c.length == 1 || !e.c || !e.c[0])
428
+ return o = new h(Math.pow(+V(a), n ? e.s * (2 - ie(e)) : +V(e))), r ? o.mod(r) : o;
429
+ if (f = e.s < 0, r) {
430
+ if (r.c ? !r.c[0] : !r.s)
431
+ return new h(NaN);
432
+ s = !f && a.isInteger() && r.isInteger(), s && (a = a.mod(r));
433
+ } else {
434
+ if (e.e > 9 && (a.e > 0 || a.e < -1 || (a.e == 0 ? a.c[0] > 1 || n && a.c[1] >= 24e7 : a.c[0] < 8e13 || n && a.c[0] <= 9999975e7)))
435
+ return l = a.s < 0 && ie(e) ? -0 : 0, a.e > -1 && (l = 1 / l), new h(f ? 1 / l : l);
436
+ Y && (l = ce(Y / N + 2));
437
+ }
438
+ for (n ? (i = new h(0.5), f && (e.s = 1), u = ie(e)) : (t = Math.abs(+V(e)), u = t % 2), o = new h(T); ; ) {
439
+ if (u) {
440
+ if (o = o.times(a), !o.c)
441
+ break;
442
+ l ? o.c.length > l && (o.c.length = l) : s && (o = o.mod(r));
443
+ }
444
+ if (t) {
445
+ if (t = y(t / 2), t === 0)
446
+ break;
447
+ u = t % 2;
448
+ } else if (e = e.times(i), G(e, e.e + 1, 1), e.e > 14)
449
+ u = ie(e);
450
+ else {
451
+ if (t = +V(e), t === 0)
452
+ break;
453
+ u = t % 2;
454
+ }
455
+ a = a.times(a), l ? a.c && a.c.length > l && (a.c.length = l) : s && (a = a.mod(r));
456
+ }
457
+ return s ? o : (f && (o = T.div(o)), r ? o.mod(r) : l ? G(o, Y, S, c) : o);
458
+ }, g.integerValue = function(e) {
459
+ var r = new h(this);
460
+ return e == null ? e = S : v(e, 0, 8), G(r, r.e + 1, e);
461
+ }, g.isEqualTo = g.eq = function(e, r) {
462
+ return j(this, new h(e, r)) === 0;
463
+ }, g.isFinite = function() {
464
+ return !!this.c;
465
+ }, g.isGreaterThan = g.gt = function(e, r) {
466
+ return j(this, new h(e, r)) > 0;
467
+ }, g.isGreaterThanOrEqualTo = g.gte = function(e, r) {
468
+ return (r = j(this, new h(e, r))) === 1 || r === 0;
469
+ }, g.isInteger = function() {
470
+ return !!this.c && $(this.e / N) > this.c.length - 2;
471
+ }, g.isLessThan = g.lt = function(e, r) {
472
+ return j(this, new h(e, r)) < 0;
473
+ }, g.isLessThanOrEqualTo = g.lte = function(e, r) {
474
+ return (r = j(this, new h(e, r))) === -1 || r === 0;
475
+ }, g.isNaN = function() {
476
+ return !this.s;
477
+ }, g.isNegative = function() {
478
+ return this.s < 0;
479
+ }, g.isPositive = function() {
480
+ return this.s > 0;
481
+ }, g.isZero = function() {
482
+ return !!this.c && this.c[0] == 0;
483
+ }, g.minus = function(e, r) {
484
+ var i, s, t, l, c = this, n = c.s;
485
+ if (e = new h(e, r), r = e.s, !n || !r)
486
+ return new h(NaN);
487
+ if (n != r)
488
+ return e.s = -r, c.plus(e);
489
+ var f = c.e / N, u = e.e / N, o = c.c, a = e.c;
490
+ if (!f || !u) {
491
+ if (!o || !a)
492
+ return o ? (e.s = -r, e) : new h(a ? c : NaN);
493
+ if (!o[0] || !a[0])
494
+ return a[0] ? (e.s = -r, e) : new h(o[0] ? c : (
495
+ // IEEE 754 (2008) 6.3: n - n = -0 when rounding to -Infinity
496
+ S == 3 ? -0 : 0
497
+ ));
498
+ }
499
+ if (f = $(f), u = $(u), o = o.slice(), n = f - u) {
500
+ for ((l = n < 0) ? (n = -n, t = o) : (u = f, t = a), t.reverse(), r = n; r--; t.push(0))
501
+ ;
502
+ t.reverse();
503
+ } else
504
+ for (s = (l = (n = o.length) < (r = a.length)) ? n : r, n = r = 0; r < s; r++)
505
+ if (o[r] != a[r]) {
506
+ l = o[r] < a[r];
507
+ break;
508
+ }
509
+ if (l && (t = o, o = a, a = t, e.s = -e.s), r = (s = a.length) - (i = o.length), r > 0)
510
+ for (; r--; o[i++] = 0)
511
+ ;
512
+ for (r = H - 1; s > n; ) {
513
+ if (o[--s] < a[s]) {
514
+ for (i = s; i && !o[--i]; o[i] = r)
515
+ ;
516
+ --o[i], o[s] += H;
517
+ }
518
+ o[s] -= a[s];
519
+ }
520
+ for (; o[0] == 0; o.splice(0, 1), --u)
521
+ ;
522
+ return o[0] ? oe(e, o, u) : (e.s = S == 3 ? -1 : 1, e.c = [e.e = 0], e);
523
+ }, g.modulo = g.mod = function(e, r) {
524
+ var i, s, t = this;
525
+ return e = new h(e, r), !t.c || !e.s || e.c && !e.c[0] ? new h(NaN) : !e.c || t.c && !t.c[0] ? new h(t) : (b == 9 ? (s = e.s, e.s = 1, i = E(t, e, 0, 3), e.s = s, i.s *= s) : i = E(t, e, 0, b), e = t.minus(i.times(e)), !e.c[0] && b == 1 && (e.s = t.s), e);
526
+ }, g.multipliedBy = g.times = function(e, r) {
527
+ var i, s, t, l, c, n, f, u, o, a, p, w, A, B, M, m = this, d = m.c, P = (e = new h(e, r)).c;
528
+ if (!d || !P || !d[0] || !P[0])
529
+ return !m.s || !e.s || d && !d[0] && !P || P && !P[0] && !d ? e.c = e.e = e.s = null : (e.s *= m.s, !d || !P ? e.c = e.e = null : (e.c = [0], e.e = 0)), e;
530
+ for (s = $(m.e / N) + $(e.e / N), e.s *= m.s, f = d.length, a = P.length, f < a && (A = d, d = P, P = A, t = f, f = a, a = t), t = f + a, A = []; t--; A.push(0))
531
+ ;
532
+ for (B = H, M = J, t = a; --t >= 0; ) {
533
+ for (i = 0, p = P[t] % M, w = P[t] / M | 0, c = f, l = t + c; l > t; )
534
+ u = d[--c] % M, o = d[c] / M | 0, n = w * u + o * p, u = p * u + n % M * M + A[l] + i, i = (u / B | 0) + (n / M | 0) + w * o, A[l--] = u % B;
535
+ A[l] = i;
536
+ }
537
+ return i ? ++s : A.splice(0, 1), oe(e, A, s);
538
+ }, g.negated = function() {
539
+ var e = new h(this);
540
+ return e.s = -e.s || null, e;
541
+ }, g.plus = function(e, r) {
542
+ var i, s = this, t = s.s;
543
+ if (e = new h(e, r), r = e.s, !t || !r)
544
+ return new h(NaN);
545
+ if (t != r)
546
+ return e.s = -r, s.minus(e);
547
+ var l = s.e / N, c = e.e / N, n = s.c, f = e.c;
548
+ if (!l || !c) {
549
+ if (!n || !f)
550
+ return new h(t / 0);
551
+ if (!n[0] || !f[0])
552
+ return f[0] ? e : new h(n[0] ? s : t * 0);
553
+ }
554
+ if (l = $(l), c = $(c), n = n.slice(), t = l - c) {
555
+ for (t > 0 ? (c = l, i = f) : (t = -t, i = n), i.reverse(); t--; i.push(0))
556
+ ;
557
+ i.reverse();
558
+ }
559
+ for (t = n.length, r = f.length, t - r < 0 && (i = f, f = n, n = i, r = t), t = 0; r; )
560
+ t = (n[--r] = n[r] + f[r] + t) / H | 0, n[r] = H === n[r] ? 0 : n[r] % H;
561
+ return t && (n = [t].concat(n), ++c), oe(e, n, c);
562
+ }, g.precision = g.sd = function(e, r) {
563
+ var i, s, t, l = this;
564
+ if (e != null && e !== !!e)
565
+ return v(e, 1, D), r == null ? r = S : v(r, 0, 8), G(new h(l), e, r);
566
+ if (!(i = l.c))
567
+ return null;
568
+ if (t = i.length - 1, s = t * N + 1, t = i[t]) {
569
+ for (; t % 10 == 0; t /= 10, s--)
570
+ ;
571
+ for (t = i[0]; t >= 10; t /= 10, s++)
572
+ ;
573
+ }
574
+ return e && l.e + 1 > s && (s = l.e + 1), s;
575
+ }, g.shiftedBy = function(e) {
576
+ return v(e, -ae, ae), this.times("1e" + e);
577
+ }, g.squareRoot = g.sqrt = function() {
578
+ var e, r, i, s, t, l = this, c = l.c, n = l.s, f = l.e, u = x + 4, o = new h("0.5");
579
+ if (n !== 1 || !c || !c[0])
580
+ return new h(!n || n < 0 && (!c || c[0]) ? NaN : c ? l : 1 / 0);
581
+ if (n = Math.sqrt(+V(l)), n == 0 || n == 1 / 0 ? (r = q(c), (r.length + f) % 2 == 0 && (r += "0"), n = Math.sqrt(+r), f = $((f + 1) / 2) - (f < 0 || f % 2), n == 1 / 0 ? r = "5e" + f : (r = n.toExponential(), r = r.slice(0, r.indexOf("e") + 1) + f), i = new h(r)) : i = new h(n + ""), i.c[0]) {
582
+ for (f = i.e, n = f + u, n < 3 && (n = 0); ; )
583
+ if (t = i, i = o.times(t.plus(E(l, t, u, 1))), q(t.c).slice(0, n) === (r = q(i.c)).slice(0, n))
584
+ if (i.e < f && --n, r = r.slice(n - 3, n + 1), r == "9999" || !s && r == "4999") {
585
+ if (!s && (G(t, t.e + x + 2, 0), t.times(t).eq(l))) {
586
+ i = t;
587
+ break;
588
+ }
589
+ u += 4, n += 4, s = 1;
590
+ } else {
591
+ (!+r || !+r.slice(1) && r.charAt(0) == "5") && (G(i, i.e + x + 2, 1), e = !i.times(i).eq(l));
592
+ break;
593
+ }
594
+ }
595
+ return G(i, i.e + x + 1, S, e);
596
+ }, g.toExponential = function(e, r) {
597
+ return e != null && (v(e, 0, D), e++), le(this, e, r, 1);
598
+ }, g.toFixed = function(e, r) {
599
+ return e != null && (v(e, 0, D), e = e + this.e + 1), le(this, e, r);
600
+ }, g.toFormat = function(e, r, i) {
601
+ var s, t = this;
602
+ if (i == null)
603
+ e != null && r && typeof r == "object" ? (i = r, r = null) : e && typeof e == "object" ? (i = e, e = r = null) : i = te;
604
+ else if (typeof i != "object")
605
+ throw Error(U + "Argument not an object: " + i);
606
+ if (s = t.toFixed(e, r), t.c) {
607
+ var l, c = s.split("."), n = +i.groupSize, f = +i.secondaryGroupSize, u = i.groupSeparator || "", o = c[0], a = c[1], p = t.s < 0, w = p ? o.slice(1) : o, A = w.length;
608
+ if (f && (l = n, n = f, f = l, A -= l), n > 0 && A > 0) {
609
+ for (l = A % n || n, o = w.substr(0, l); l < A; l += n)
610
+ o += u + w.substr(l, n);
611
+ f > 0 && (o += u + w.slice(l)), p && (o = "-" + o);
612
+ }
613
+ s = a ? o + (i.decimalSeparator || "") + ((f = +i.fractionGroupSize) ? a.replace(
614
+ new RegExp("\\d{" + f + "}\\B", "g"),
615
+ "$&" + (i.fractionGroupSeparator || "")
616
+ ) : a) : o;
617
+ }
618
+ return (i.prefix || "") + s + (i.suffix || "");
619
+ }, g.toFraction = function(e) {
620
+ var r, i, s, t, l, c, n, f, u, o, a, p, w = this, A = w.c;
621
+ if (e != null && (n = new h(e), !n.isInteger() && (n.c || n.s !== 1) || n.lt(T)))
622
+ throw Error(U + "Argument " + (n.isInteger() ? "out of range: " : "not an integer: ") + V(n));
623
+ if (!A)
624
+ return new h(w);
625
+ for (r = new h(T), u = i = new h(T), s = f = new h(T), p = q(A), l = r.e = p.length - w.e - 1, r.c[0] = he[(c = l % N) < 0 ? N + c : c], e = !e || n.comparedTo(r) > 0 ? l > 0 ? r : u : n, c = z, z = 1 / 0, n = new h(p), f.c[0] = 0; o = E(n, r, 0, 1), t = i.plus(o.times(s)), t.comparedTo(e) != 1; )
626
+ i = s, s = t, u = f.plus(o.times(t = u)), f = t, r = n.minus(o.times(t = r)), n = t;
627
+ return t = E(e.minus(i), s, 0, 1), f = f.plus(t.times(u)), i = i.plus(t.times(s)), f.s = u.s = w.s, l = l * 2, a = E(u, s, l, S).minus(w).abs().comparedTo(
628
+ E(f, i, l, S).minus(w).abs()
629
+ ) < 1 ? [u, s] : [f, i], z = c, a;
630
+ }, g.toNumber = function() {
631
+ return +V(this);
632
+ }, g.toPrecision = function(e, r) {
633
+ return e != null && v(e, 1, D), le(this, e, r, 2);
634
+ }, g.toString = function(e) {
635
+ var r, i = this, s = i.s, t = i.e;
636
+ return t === null ? s ? (r = "Infinity", s < 0 && (r = "-" + r)) : r = "NaN" : (e == null ? r = t <= C || t >= k ? ne(q(i.c), t) : W(q(i.c), t, "0") : e === 10 && fe ? (i = G(new h(i), x + t + 1, S), r = W(q(i.c), i.e, "0")) : (v(e, 2, K.length, "Base"), r = _(W(q(i.c), t, "0"), 10, e, s, !0)), s < 0 && i.c[0] && (r = "-" + r)), r;
637
+ }, g.valueOf = g.toJSON = function() {
638
+ return V(this);
639
+ }, g._isBigNumber = !0, g[Symbol.toStringTag] = "BigNumber", g[Symbol.for("nodejs.util.inspect.custom")] = g.valueOf, O != null && h.set(O), h;
640
+ }
641
+ function $(O) {
642
+ var E = O | 0;
643
+ return O > 0 || O === E ? E : E - 1;
644
+ }
645
+ function q(O) {
646
+ for (var E, _, R = 1, g = O.length, T = O[0] + ""; R < g; ) {
647
+ for (E = O[R++] + "", _ = N - E.length; _--; E = "0" + E)
648
+ ;
649
+ T += E;
650
+ }
651
+ for (g = T.length; T.charCodeAt(--g) === 48; )
652
+ ;
653
+ return T.slice(0, g + 1 || 1);
654
+ }
655
+ function j(O, E) {
656
+ var _, R, g = O.c, T = E.c, x = O.s, S = E.s, C = O.e, k = E.e;
657
+ if (!x || !S)
658
+ return null;
659
+ if (_ = g && !g[0], R = T && !T[0], _ || R)
660
+ return _ ? R ? 0 : -S : x;
661
+ if (x != S)
662
+ return x;
663
+ if (_ = x < 0, R = C == k, !g || !T)
664
+ return R ? 0 : !g ^ _ ? 1 : -1;
665
+ if (!R)
666
+ return C > k ^ _ ? 1 : -1;
667
+ for (S = (C = g.length) < (k = T.length) ? C : k, x = 0; x < S; x++)
668
+ if (g[x] != T[x])
669
+ return g[x] > T[x] ^ _ ? 1 : -1;
670
+ return C == k ? 0 : C > k ^ _ ? 1 : -1;
671
+ }
672
+ function v(O, E, _, R) {
673
+ if (O < E || O > _ || O !== y(O))
674
+ throw Error(U + (R || "Argument") + (typeof O == "number" ? O < E || O > _ ? " out of range: " : " not an integer: " : " not a primitive number: ") + String(O));
675
+ }
676
+ function ie(O) {
677
+ var E = O.c.length - 1;
678
+ return $(O.e / N) == E && O.c[E] % 2 != 0;
679
+ }
680
+ function ne(O, E) {
681
+ return (O.length > 1 ? O.charAt(0) + "." + O.slice(1) : O) + (E < 0 ? "e" : "e+") + E;
682
+ }
683
+ function W(O, E, _) {
684
+ var R, g;
685
+ if (E < 0) {
686
+ for (g = _ + "."; ++E; g += _)
687
+ ;
688
+ O = g + O;
689
+ } else if (R = O.length, ++E > R) {
690
+ for (g = _, E -= R; --E; g += _)
691
+ ;
692
+ O += g;
693
+ } else
694
+ E < R && (O = O.slice(0, E) + "." + O.slice(E));
695
+ return O;
696
+ }
697
+ var Ne = we();
698
+ export {
699
+ Ne as BigNumber,
700
+ Ne as default
701
+ };