@prosopo/procaptcha-bundle 3.1.6 → 3.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts.map +1 -1
  2. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/index.js +10 -1
  3. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/index.js.map +1 -0
  4. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.d.ts +2 -0
  5. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.d.ts.map +1 -0
  6. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.js +32 -0
  7. package/.rollup.cache/home/chris/dev/prosopo/captcha-private/captcha/packages/procaptcha-bundle/dist/bundle/tests/procaptchaReady.unit.test.js.map +1 -0
  8. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts.map +1 -1
  9. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js +0 -1
  10. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.js.map +1 -1
  11. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts.map +1 -1
  12. package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js.map +1 -1
  13. package/CHANGELOG.md +93 -0
  14. package/coverage/base.css +224 -0
  15. package/coverage/block-navigation.js +87 -0
  16. package/coverage/clover.xml +599 -0
  17. package/coverage/coverage-final.json +17 -0
  18. package/coverage/favicon.png +0 -0
  19. package/coverage/index.html +161 -0
  20. package/coverage/prettify.css +1 -0
  21. package/coverage/prettify.js +2 -0
  22. package/coverage/sort-arrow-sprite.png +0 -0
  23. package/coverage/sorter.js +210 -0
  24. package/coverage/src/components.ts.html +139 -0
  25. package/coverage/src/index.html +131 -0
  26. package/coverage/src/index.ts.html +844 -0
  27. package/coverage/src/util/captcha/captchaComponentProvider.tsx.html +214 -0
  28. package/coverage/src/util/captcha/captchaComponentsList.ts.html +178 -0
  29. package/coverage/src/util/captcha/captchaProps.ts.html +166 -0
  30. package/coverage/src/util/captcha/captchaRenderer.tsx.html +481 -0
  31. package/coverage/src/util/captcha/captchaType.ts.html +181 -0
  32. package/coverage/src/util/captcha/components/frictionlessCaptcha.tsx.html +205 -0
  33. package/coverage/src/util/captcha/components/imageCaptcha.tsx.html +178 -0
  34. package/coverage/src/util/captcha/components/index.html +146 -0
  35. package/coverage/src/util/captcha/components/powCaptcha.tsx.html +178 -0
  36. package/coverage/src/util/captcha/index.html +176 -0
  37. package/coverage/src/util/config.ts.html +172 -0
  38. package/coverage/src/util/configCreator.ts.html +241 -0
  39. package/coverage/src/util/index.html +191 -0
  40. package/coverage/src/util/language.ts.html +244 -0
  41. package/coverage/src/util/timeout.ts.html +214 -0
  42. package/coverage/src/util/widgetFactory.ts.html +532 -0
  43. package/coverage/src/util/widgetThemeResolver.ts.html +205 -0
  44. package/dist/bundle/{ProcaptchaWidget-Cw3s7cGX.js → ProcaptchaWidget-CuMH13Bh.js} +85 -87
  45. package/dist/bundle/{ProcaptchaWidget-CJ-4hVS1.js → ProcaptchaWidget-DsflBBn_.js} +5 -5
  46. package/dist/bundle/{browser-ponyfill-CvzSbL_o.js → browser-ponyfill-DXriyH6D.js} +4 -4
  47. package/dist/bundle/{captchaComponentProvider-Cn75EmSH.js → captchaComponentProvider-D02Su4nd.js} +205 -194
  48. package/dist/bundle/{captchaRenderer-s4QuLEen.js → captchaRenderer-BV-WgbEA.js} +17 -18
  49. package/dist/bundle/{commonChunk-BjvuHlB1.js → commonChunk-PB26mndo.js} +37 -34
  50. package/dist/bundle/{emotion-element-c39617d8.browser.esm-BNNnmykm.js → emotion-element-c39617d8.browser.esm-DG1XhEZ1.js} +3 -3
  51. package/dist/bundle/{index-DIdd2cUz.js → index-B9KeZfID.js} +3 -3
  52. package/dist/bundle/{index-IgqrmVIs.js → index-Calnfnac.js} +67 -59
  53. package/dist/bundle/index-DU371vQ0.js +1634 -0
  54. package/dist/bundle/index.d.ts.map +1 -1
  55. package/dist/bundle/procaptcha.bundle.js +2 -2
  56. package/dist/bundle/tests/procaptchaReady.unit.test.d.ts.map +1 -0
  57. package/dist/bundle/util/configCreator.d.ts.map +1 -1
  58. package/dist/bundle/util/widgetFactory.d.ts.map +1 -1
  59. package/dist/bundle/{utilChunk-DPr6oTOj.js → utilChunk-WRTGKXbU.js} +109 -102
  60. package/dist/bundle/{utilCryptoChunk-D6ZLkbFV.js → utilCryptoChunk-B4ZdOwus.js} +1 -1
  61. package/dist/bundle/{web2Chunk-CNoojUDK.js → web2Chunk-BGN6Hv-C.js} +273 -268
  62. package/dist/bundle/{web3Chunk-BlYvY4Ea.js → web3Chunk-BIX2T9Eo.js} +6 -6
  63. package/dist/bundle/{zodChunk-aEfPZzrp.js → zodChunk-CaINhWMQ.js} +8 -8
  64. package/dist/cjs/index.cjs +10 -1
  65. package/dist/cjs/util/configCreator.cjs +0 -1
  66. package/dist/components.d.ts.map +1 -0
  67. package/dist/components.js +5 -0
  68. package/dist/components.js.map +1 -0
  69. package/dist/index.d.ts.map +1 -0
  70. package/dist/index.js +10 -1
  71. package/dist/index.js.map +1 -0
  72. package/dist/tests/procaptchaReady.unit.test.d.ts +2 -0
  73. package/dist/tests/procaptchaReady.unit.test.d.ts.map +1 -0
  74. package/dist/tests/procaptchaReady.unit.test.js +32 -0
  75. package/dist/tests/procaptchaReady.unit.test.js.map +1 -0
  76. package/dist/tests/util/captchaType.test.d.ts.map +1 -0
  77. package/dist/tests/util/captchaType.test.js +36 -0
  78. package/dist/tests/util/captchaType.test.js.map +1 -0
  79. package/dist/tests/util/config.test.d.ts.map +1 -0
  80. package/dist/tests/util/config.test.js +69 -0
  81. package/dist/tests/util/config.test.js.map +1 -0
  82. package/dist/tests/util/renderLogic.test.d.ts.map +1 -0
  83. package/dist/tests/util/renderLogic.test.js +136 -0
  84. package/dist/tests/util/renderLogic.test.js.map +1 -0
  85. package/dist/util/captcha/captchaComponentProvider.d.ts.map +1 -0
  86. package/dist/util/captcha/captchaComponentProvider.js.map +1 -0
  87. package/dist/util/captcha/captchaComponentsList.d.ts.map +1 -0
  88. package/dist/util/captcha/captchaComponentsList.js.map +1 -0
  89. package/dist/util/captcha/captchaProps.d.ts.map +1 -0
  90. package/dist/util/captcha/captchaProps.js +2 -0
  91. package/dist/util/captcha/captchaProps.js.map +1 -0
  92. package/dist/util/captcha/captchaRenderer.d.ts.map +1 -0
  93. package/dist/util/captcha/captchaRenderer.js.map +1 -0
  94. package/dist/util/captcha/captchaType.d.ts.map +1 -0
  95. package/dist/util/captcha/captchaType.js.map +1 -0
  96. package/dist/util/captcha/components/frictionlessCaptcha.d.ts.map +1 -0
  97. package/dist/util/captcha/components/frictionlessCaptcha.js.map +1 -0
  98. package/dist/util/captcha/components/imageCaptcha.d.ts.map +1 -0
  99. package/dist/util/captcha/components/imageCaptcha.js.map +1 -0
  100. package/dist/util/captcha/components/powCaptcha.d.ts.map +1 -0
  101. package/dist/util/captcha/components/powCaptcha.js.map +1 -0
  102. package/dist/util/config.d.ts.map +1 -0
  103. package/dist/util/config.js.map +1 -0
  104. package/dist/util/configCreator.d.ts.map +1 -0
  105. package/dist/util/configCreator.js +0 -1
  106. package/dist/util/configCreator.js.map +1 -0
  107. package/dist/util/language.d.ts.map +1 -0
  108. package/dist/util/language.js.map +1 -0
  109. package/dist/util/timeout.d.ts.map +1 -0
  110. package/dist/util/timeout.js.map +1 -0
  111. package/dist/util/widgetFactory.d.ts.map +1 -0
  112. package/dist/util/widgetFactory.js.map +1 -0
  113. package/dist/util/widgetThemeResolver.d.ts.map +1 -0
  114. package/dist/util/widgetThemeResolver.js.map +1 -0
  115. package/package.json +16 -16
  116. package/stats.html +2239 -2132
  117. package/.rollup.cache/home/runner/work/captcha/captcha/packages/procaptcha-bundle/dist/bundle/index.js.map +0 -1
  118. package/dist/bundle/index-BuQg3Zno.js +0 -1884
  119. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts +0 -0
  120. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/components.d.ts.map +0 -0
  121. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/components.js +0 -0
  122. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/components.js.map +0 -0
  123. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/index.d.ts +0 -0
  124. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts +0 -0
  125. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.d.ts.map +0 -0
  126. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js +0 -0
  127. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/captchaType.test.js.map +0 -0
  128. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts +0 -0
  129. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.d.ts.map +0 -0
  130. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js +0 -0
  131. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/config.test.js.map +0 -0
  132. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts +0 -0
  133. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.d.ts.map +0 -0
  134. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js +0 -0
  135. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/tests/util/renderLogic.test.js.map +0 -0
  136. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts +0 -0
  137. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.d.ts.map +0 -0
  138. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js +0 -0
  139. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentProvider.js.map +0 -0
  140. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts +0 -0
  141. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.d.ts.map +0 -0
  142. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js +0 -0
  143. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaComponentsList.js.map +0 -0
  144. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts +0 -0
  145. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.d.ts.map +0 -0
  146. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js +0 -0
  147. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaProps.js.map +0 -0
  148. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts +0 -0
  149. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.d.ts.map +0 -0
  150. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js +0 -0
  151. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaRenderer.js.map +0 -0
  152. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts +0 -0
  153. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.d.ts.map +0 -0
  154. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js +0 -0
  155. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/captchaType.js.map +0 -0
  156. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts +0 -0
  157. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.d.ts.map +0 -0
  158. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js +0 -0
  159. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/frictionlessCaptcha.js.map +0 -0
  160. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts +0 -0
  161. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.d.ts.map +0 -0
  162. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js +0 -0
  163. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/imageCaptcha.js.map +0 -0
  164. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts +0 -0
  165. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.d.ts.map +0 -0
  166. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js +0 -0
  167. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/captcha/components/powCaptcha.js.map +0 -0
  168. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts +0 -0
  169. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.d.ts.map +0 -0
  170. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js +0 -0
  171. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/config.js.map +0 -0
  172. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/configCreator.d.ts +0 -0
  173. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts +0 -0
  174. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/language.d.ts.map +0 -0
  175. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js +0 -0
  176. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/language.js.map +0 -0
  177. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts +0 -0
  178. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.d.ts.map +0 -0
  179. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js +0 -0
  180. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/timeout.js.map +0 -0
  181. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.d.ts +0 -0
  182. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetFactory.js +0 -0
  183. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts +0 -0
  184. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.d.ts.map +0 -0
  185. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js +0 -0
  186. /package/.rollup.cache/home/{runner/work/captcha → chris/dev/prosopo/captcha-private}/captcha/packages/procaptcha-bundle/dist/bundle/util/widgetThemeResolver.js.map +0 -0
  187. /package/dist/{bundle/components.d.ts → components.d.ts} +0 -0
  188. /package/dist/{bundle/index.d.ts → index.d.ts} +0 -0
  189. /package/dist/{bundle/tests → tests}/util/captchaType.test.d.ts +0 -0
  190. /package/dist/{bundle/tests → tests}/util/config.test.d.ts +0 -0
  191. /package/dist/{bundle/tests → tests}/util/renderLogic.test.d.ts +0 -0
  192. /package/dist/{bundle/util → util}/captcha/captchaComponentProvider.d.ts +0 -0
  193. /package/dist/{bundle/util → util}/captcha/captchaComponentsList.d.ts +0 -0
  194. /package/dist/{bundle/util → util}/captcha/captchaProps.d.ts +0 -0
  195. /package/dist/{bundle/util → util}/captcha/captchaRenderer.d.ts +0 -0
  196. /package/dist/{bundle/util → util}/captcha/captchaType.d.ts +0 -0
  197. /package/dist/{bundle/util → util}/captcha/components/frictionlessCaptcha.d.ts +0 -0
  198. /package/dist/{bundle/util → util}/captcha/components/imageCaptcha.d.ts +0 -0
  199. /package/dist/{bundle/util → util}/captcha/components/powCaptcha.d.ts +0 -0
  200. /package/dist/{bundle/util → util}/config.d.ts +0 -0
  201. /package/dist/{bundle/util → util}/configCreator.d.ts +0 -0
  202. /package/dist/{bundle/util → util}/language.d.ts +0 -0
  203. /package/dist/{bundle/util → util}/timeout.d.ts +0 -0
  204. /package/dist/{bundle/util → util}/widgetFactory.d.ts +0 -0
  205. /package/dist/{bundle/util → util}/widgetThemeResolver.d.ts +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAiF9D,eAAO,MAAM,MAAM,YACT,OAAO,iBACD,uBAAuB,kBA2BtC,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAAE,EAAE,MAAM,IAAI,QAY3C;AAED,eAAO,MAAM,OAAO,YAqBnB,CAAC;AAkCF,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,UAAU,EAAE;YACX,KAAK,EAAE,OAAO,KAAK,CAAC;YACpB,MAAM,EAAE,OAAO,MAAM,CAAC;YACtB,KAAK,EAAE,OAAO,KAAK,CAAC;YACpB,OAAO,EAAE,OAAO,OAAO,CAAC;SACxB,CAAC;KACF;CACD;AAmCD,eAAO,MAAM,KAAK,YAOjB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAoF9D,eAAO,MAAM,MAAM,YACT,OAAO,iBACD,uBAAuB,kBA2BtC,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,EAAE,EAAE,MAAM,IAAI,QAY3C;AAED,eAAO,MAAM,OAAO,YAqBnB,CAAC;AAkCF,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,MAAM;QACf,UAAU,EAAE;YACX,KAAK,EAAE,OAAO,KAAK,CAAC;YACpB,MAAM,EAAE,OAAO,MAAM,CAAC;YACtB,KAAK,EAAE,OAAO,KAAK,CAAC;YACpB,OAAO,EAAE,OAAO,OAAO,CAAC;SACxB,CAAC;KACF;CACD;AAmCD,eAAO,MAAM,KAAK,YAOjB,CAAC"}
@@ -1,5 +1,5 @@
1
- import { a as s, e as t, r as o, b as d } from "./index-IgqrmVIs.js";
2
- import "./web2Chunk-CNoojUDK.js";
1
+ import { a as s, e as t, r as o, b as d } from "./index-Calnfnac.js";
2
+ import "./web2Chunk-BGN6Hv-C.js";
3
3
  export {
4
4
  s as default,
5
5
  t as execute,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"procaptchaReady.unit.test.d.ts","sourceRoot":"","sources":["../../../src/tests/procaptchaReady.unit.test.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"configCreator.d.ts","sourceRoot":"","sources":["../../../src/util/configCreator.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAEN,KAAK,4BAA4B,EAEjC,MAAM,gBAAgB,CAAC;AAExB,iBAAS,YAAY,CACpB,OAAO,CAAC,EAAE,MAAM,EAChB,KAAK,GAAE,OAAO,GAAG,MAAgB,EACjC,QAAQ,CAAC,EAAE,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,EACrD,IAAI,UAAO,EACX,SAAS,UAAQ,EACjB,kBAAkB,CAAC,EAAE,MAAM,GACzB,4BAA4B,CAqB9B;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
1
+ {"version":3,"file":"configCreator.d.ts","sourceRoot":"","sources":["../../../src/util/configCreator.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACjD,OAAO,EAEN,KAAK,4BAA4B,EAEjC,MAAM,gBAAgB,CAAC;AAExB,iBAAS,YAAY,CACpB,OAAO,CAAC,EAAE,MAAM,EAChB,KAAK,GAAE,OAAO,GAAG,MAAgB,EACjC,QAAQ,CAAC,EAAE,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,EACrD,IAAI,UAAO,EACX,SAAS,UAAQ,EACjB,kBAAkB,CAAC,EAAE,MAAM,GACzB,4BAA4B,CAoB9B;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"widgetFactory.d.ts","sourceRoot":"","sources":["../../../src/util/widgetFactory.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAK7C,OAAO,EACN,KAAK,SAAS,EAGd,KAAK,uBAAuB,EAC5B,MAAM,gBAAgB,CAAC;AAMxB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,cAAM,aAAa;IAKjB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAJrC,OAAO,CAAC,eAAe,CAAgC;IACvD,OAAO,CAAC,KAAK,CAAsB;gBAGjB,mBAAmB,EAAE,mBAAmB;IAG1D,IAAI,IAAI,IAAI,KAAK,CAKhB;IAEY,aAAa,CACzB,UAAU,EAAE,OAAO,EAAE,EACrB,aAAa,EAAE,uBAAuB,EACtC,MAAM,UAAO,EACb,SAAS,UAAQ,GACf,OAAO,CAAC,IAAI,EAAE,CAAC;IAgBL,YAAY,CACxB,SAAS,EAAE,OAAO,EAClB,aAAa,EAAE,uBAAuB,EACtC,SAAS,EAAE,SAAS,EACpB,MAAM,UAAO,EACb,SAAS,UAAQ,GACf,OAAO,CAAC,IAAI,CAAC;cAoDA,kBAAkB,IAAI,OAAO,CAAC,eAAe,CAAC;cAY9C,qBAAqB,IAAI,OAAO,CAAC,eAAe,CAAC;CAUjE;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"widgetFactory.d.ts","sourceRoot":"","sources":["../../../src/util/widgetFactory.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAK7C,OAAO,EACN,KAAK,SAAS,EAEd,KAAK,uBAAuB,EAC5B,MAAM,gBAAgB,CAAC;AAMxB,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AACpE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAEpE,cAAM,aAAa;IAKjB,OAAO,CAAC,QAAQ,CAAC,mBAAmB;IAJrC,OAAO,CAAC,eAAe,CAAgC;IACvD,OAAO,CAAC,KAAK,CAAsB;gBAGjB,mBAAmB,EAAE,mBAAmB;IAG1D,IAAI,IAAI,IAAI,KAAK,CAKhB;IAEY,aAAa,CACzB,UAAU,EAAE,OAAO,EAAE,EACrB,aAAa,EAAE,uBAAuB,EACtC,MAAM,UAAO,EACb,SAAS,UAAQ,GACf,OAAO,CAAC,IAAI,EAAE,CAAC;IAgBL,YAAY,CACxB,SAAS,EAAE,OAAO,EAClB,aAAa,EAAE,uBAAuB,EACtC,SAAS,EAAE,SAAS,EACpB,MAAM,UAAO,EACb,SAAS,UAAQ,GACf,OAAO,CAAC,IAAI,CAAC;cAoDA,kBAAkB,IAAI,OAAO,CAAC,eAAe,CAAC;cAY9C,qBAAqB,IAAI,OAAO,CAAC,eAAe,CAAC;CAUjE;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1,15 +1,15 @@
1
1
  var P = Object.defineProperty;
2
- var D = (n, t, e) => t in n ? P(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
- var l = (n, t, e) => D(n, typeof t != "symbol" ? t + "" : t, e);
2
+ var j = (n, t, e) => t in n ? P(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
+ var l = (n, t, e) => j(n, typeof t != "symbol" ? t + "" : t, e);
4
4
  import { B as s } from "./bnChunk-DRlDxTFg.js";
5
- function $(n) {
5
+ function D(n) {
6
6
  return n("return this");
7
7
  }
8
- const g = typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : typeof self < "u" ? self : typeof window < "u" ? window : $(Function);
9
- function S(n, t) {
8
+ const g = typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : typeof self < "u" ? self : typeof window < "u" ? window : D(Function);
9
+ function m(n, t) {
10
10
  return typeof g[n] > "u" ? t : g[n];
11
11
  }
12
- let W = class {
12
+ let $ = class {
13
13
  constructor(t) {
14
14
  l(this, "__encoding");
15
15
  this.__encoding = t;
@@ -21,7 +21,7 @@ let W = class {
21
21
  return e;
22
22
  }
23
23
  };
24
- const j = /* @__PURE__ */ S("TextDecoder", W);
24
+ const W = /* @__PURE__ */ m("TextDecoder", $);
25
25
  let H = class {
26
26
  encode(t) {
27
27
  const e = t.length, r = new Uint8Array(e);
@@ -30,28 +30,28 @@ let H = class {
30
30
  return r;
31
31
  }
32
32
  };
33
- const G = /* @__PURE__ */ S("TextEncoder", H);
34
- function _(n) {
33
+ const k = /* @__PURE__ */ m("TextEncoder", H);
34
+ function E(n) {
35
35
  return typeof n == "function";
36
36
  }
37
- const p = "0123456789abcdef", y = new Uint8Array(256), N = new Uint8Array(256 * 256);
38
- for (let n = 0, t = p.length; n < t; n++)
39
- y[p[n].charCodeAt(0) | 0] = n | 0, n > 9 && (y[p[n].toUpperCase().charCodeAt(0) | 0] = n | 0);
37
+ const b = "0123456789abcdef", d = new Uint8Array(256), N = new Uint8Array(256 * 256);
38
+ for (let n = 0, t = b.length; n < t; n++)
39
+ d[b[n].charCodeAt(0) | 0] = n | 0, n > 9 && (d[b[n].toUpperCase().charCodeAt(0) | 0] = n | 0);
40
40
  for (let n = 0; n < 256; n++) {
41
41
  const t = n << 8;
42
42
  for (let e = 0; e < 256; e++)
43
- N[t | e] = y[n] << 4 | y[e];
43
+ N[t | e] = d[n] << 4 | d[e];
44
44
  }
45
- function k(n, t = -1) {
45
+ function G(n, t = -1) {
46
46
  if (!n)
47
47
  return new Uint8Array();
48
48
  let e = n.startsWith("0x") ? 2 : 0;
49
- const r = Math.ceil((n.length - e) / 2), o = Math.ceil(t === -1 ? r : t / 8), c = new Uint8Array(o), f = o > r ? o - r : 0;
50
- for (let h = f; h < o; h++, e += 2)
51
- c[h] = N[n.charCodeAt(e) << 8 | n.charCodeAt(e + 1)];
52
- return c;
49
+ const r = Math.ceil((n.length - e) / 2), o = Math.ceil(t === -1 ? r : t / 8), f = new Uint8Array(o), i = o > r ? o - r : 0;
50
+ for (let c = i; c < o; c++, e += 2)
51
+ f[c] = N[n.charCodeAt(e) << 8 | n.charCodeAt(e + 1)];
52
+ return f;
53
53
  }
54
- function bn(n) {
54
+ function xn(n) {
55
55
  return s.isBN(n);
56
56
  }
57
57
  const I = /^0x[\da-fA-F]+$/, q = /^[\da-fA-F]+$/;
@@ -61,63 +61,65 @@ function M(n, t = -1, e) {
61
61
  function V(n) {
62
62
  return !!n && typeof n == "object";
63
63
  }
64
- function L(...n) {
65
- return (t) => (V(t) || _(t)) && n.every((e) => _(t[e]));
64
+ function O(...n) {
65
+ return (t) => (V(t) || E(t)) && n.every((e) => E(t[e]));
66
66
  }
67
- const z = /* @__PURE__ */ L("toBigInt"), J = /* @__PURE__ */ L("toBn"), K = typeof g.Buffer == "function" && typeof g.Buffer.isBuffer == "function";
67
+ const z = /* @__PURE__ */ O("toBigInt"), J = /* @__PURE__ */ O("toBn"), K = typeof g.Buffer == "function" && typeof g.Buffer.isBuffer == "function";
68
68
  function Q(n) {
69
- return K && !!n && _(n.readDoubleLE) && g.Buffer.isBuffer(n);
69
+ return K && !!n && E(n.readDoubleLE) && g.Buffer.isBuffer(n);
70
70
  }
71
71
  function Y(n) {
72
72
  return (n && n.constructor) === Uint8Array || n instanceof Uint8Array;
73
73
  }
74
- const Z = new G();
75
- function R(n) {
74
+ const Z = new k();
75
+ function L(n) {
76
76
  return n ? Z.encode(n.toString()) : new Uint8Array();
77
77
  }
78
- function w(n) {
79
- return Y(n) ? Q(n) ? new Uint8Array(n) : n : M(n) ? k(n) : Array.isArray(n) ? new Uint8Array(n) : R(n);
78
+ function w(n, t = !1) {
79
+ if (t && n == null)
80
+ throw new Error("u8aToU8a: Expected non-null, non-undefined value");
81
+ return Y(n) ? Q(n) ? new Uint8Array(n) : n : M(n) ? G(n) : Array.isArray(n) ? new Uint8Array(n) : L(n);
80
82
  }
81
- function Un(...n) {
83
+ function An(...n) {
82
84
  const t = n.length, e = new Array(t);
83
85
  let r = 0;
84
86
  for (let o = 0; o < t; o++)
85
87
  e[o] = w(n[o]), r += e[o].length;
86
- return A(e, r);
88
+ return y(e, r);
87
89
  }
88
- function A(n, t = 0) {
90
+ function y(n, t = 0) {
89
91
  const e = n.length;
90
92
  let r = 0;
91
93
  if (!t)
92
- for (let c = 0; c < e; c++)
93
- t += n[c].length;
94
+ for (let f = 0; f < e; f++)
95
+ t += n[f].length;
94
96
  const o = new Uint8Array(t);
95
- for (let c = 0; c < e; c++)
96
- o.set(n[c], r), r += n[c].length;
97
+ for (let f = 0; f < e; f++)
98
+ o.set(n[f], r), r += n[f].length;
97
99
  return o;
98
100
  }
99
- function pn(n) {
101
+ function bn(n) {
100
102
  const t = n.length | 0;
101
103
  for (let e = 0; e < t; e++)
102
104
  if (n[e] | 0)
103
105
  return !1;
104
106
  return !0;
105
107
  }
106
- function B(n, t) {
108
+ function p(n, t) {
107
109
  const e = w(n), r = w(t);
108
110
  if (e.length === r.length) {
109
- const o = new DataView(e.buffer, e.byteOffset), c = new DataView(r.buffer, r.byteOffset), f = e.length % 4 | 0, h = e.length - f | 0;
110
- for (let i = 0; i < h; i += 4)
111
- if (o.getUint32(i) !== c.getUint32(i))
111
+ const o = new DataView(e.buffer, e.byteOffset), f = new DataView(r.buffer, r.byteOffset), i = e.length % 4 | 0, c = e.length - i | 0;
112
+ for (let h = 0; h < c; h += 4)
113
+ if (o.getUint32(h) !== f.getUint32(h))
112
114
  return !1;
113
- for (let i = h, O = e.length; i < O; i++)
114
- if (e[i] !== r[i])
115
+ for (let h = c, F = e.length; h < F; h++)
116
+ if (e[h] !== r[h])
115
117
  return !1;
116
118
  return !0;
117
119
  }
118
120
  return !1;
119
121
  }
120
- function Bn(n, t = -1, e = !1) {
122
+ function pn(n, t = -1, e = !1) {
121
123
  const r = Math.ceil(t / 8);
122
124
  if (t === -1 || n.length === r)
123
125
  return n;
@@ -126,7 +128,7 @@ function Bn(n, t = -1, e = !1) {
126
128
  const o = new Uint8Array(r);
127
129
  return o.set(n, e ? 0 : r - n.length), o;
128
130
  }
129
- function Tn(n, { isLe: t = !0, isNegative: e = !1 } = {}) {
131
+ function Un(n, { isLe: t = !0, isNegative: e = !1 } = {}) {
130
132
  t || (n = n.slice().reverse());
131
133
  const r = n.length;
132
134
  if (e && r && n[r - 1] & 128)
@@ -167,18 +169,18 @@ function Tn(n, { isLe: t = !0, isNegative: e = !1 } = {}) {
167
169
  return new s(n, "le");
168
170
  }
169
171
  }
170
- const a = new Array(256), X = new Array(256 * 256);
172
+ const a = new Array(256), R = new Array(256 * 256);
171
173
  for (let n = 0; n < 256; n++)
172
174
  a[n] = n.toString(16).padStart(2, "0");
173
175
  for (let n = 0; n < 256; n++) {
174
176
  const t = n << 8;
175
177
  for (let e = 0; e < 256; e++)
176
- X[t | e] = a[n] + a[e];
178
+ R[t | e] = a[n] + a[e];
177
179
  }
178
- function T(n, t) {
180
+ function U(n, t) {
179
181
  const e = n.length % 2 | 0, r = n.length - e | 0;
180
182
  for (let o = 0; o < r; o += 2)
181
- t += X[n[o] << 8 | n[o + 1]];
183
+ t += R[n[o] << 8 | n[o + 1]];
182
184
  return e && (t += a[n[r] | 0]), t;
183
185
  }
184
186
  function v(n, t = -1, e = !0) {
@@ -187,27 +189,27 @@ function v(n, t = -1, e = !0) {
187
189
  if (t > 0) {
188
190
  const o = Math.ceil(t / 8);
189
191
  if (n.length > o)
190
- return `${T(n.subarray(0, o / 2), r)}…${T(n.subarray(n.length - o / 2), "")}`;
192
+ return `${U(n.subarray(0, o / 2), r)}…${U(n.subarray(n.length - o / 2), "")}`;
191
193
  }
192
194
  } else return r;
193
- return T(n, r);
195
+ return U(n, r);
194
196
  }
195
- const nn = new j("utf-8");
196
- function xn(n) {
197
+ const nn = new W("utf-8");
198
+ function Bn(n) {
197
199
  return n ? nn.decode(n) : "";
198
200
  }
199
- const x = /* @__PURE__ */ w(`Ethereum Signed Message:
200
- `), u = /* @__PURE__ */ w("<Bytes>"), d = /* @__PURE__ */ w("</Bytes>"), tn = u.length + d.length;
201
- function C(n, t) {
202
- return n.length >= tn && B(n.subarray(0, u.length), u) && B(n.slice(-d.length), d) || t && n.length >= x.length && B(n.subarray(0, x.length), x);
201
+ const B = /* @__PURE__ */ w(`Ethereum Signed Message:
202
+ `), u = /* @__PURE__ */ w("<Bytes>"), _ = /* @__PURE__ */ w("</Bytes>"), tn = u.length + _.length;
203
+ function X(n, t) {
204
+ return n.length >= tn && p(n.subarray(0, u.length), u) && p(n.slice(-_.length), _) || t && n.length >= B.length && p(n.subarray(0, B.length), B);
203
205
  }
204
- function En(n) {
206
+ function Tn(n) {
205
207
  const t = w(n);
206
- return C(t, !1) ? t.subarray(u.length, t.length - d.length) : t;
208
+ return X(t, !1) ? t.subarray(u.length, t.length - _.length) : t;
207
209
  }
208
- function _n(n) {
210
+ function En(n) {
209
211
  const t = w(n);
210
- return C(t, !0) ? t : A([u, t, d]);
212
+ return X(t, !0) ? t : y([u, t, _]);
211
213
  }
212
214
  function en(n) {
213
215
  if (!n || n === "0x")
@@ -224,94 +226,99 @@ function rn(n, { isLe: t = !1, isNegative: e = !1 } = {}) {
224
226
  const r = en(n), o = new s(r, 16, t ? "le" : "be");
225
227
  return e ? o.fromTwos(r.length * 4) : o;
226
228
  }
227
- const b = /* @__PURE__ */ new s(1), U = /* @__PURE__ */ new s(2), m = /* @__PURE__ */ new s(1e9);
228
- m.mul(m);
229
+ const x = /* @__PURE__ */ new s(1), A = /* @__PURE__ */ new s(2), S = /* @__PURE__ */ new s(1e9);
230
+ S.mul(S);
229
231
  Number.MAX_SAFE_INTEGER;
230
232
  function on(n) {
231
233
  return typeof n == "bigint";
232
234
  }
233
- function F(n) {
235
+ function C(n) {
234
236
  return n ? s.isBN(n) ? n : M(n) ? rn(n.toString()) : on(n) ? new s(n.toString()) : J(n) ? n.toBn() : z(n) ? new s(n.toBigInt().toString()) : new s(n) : new s(0);
235
237
  }
236
238
  const sn = { bitLength: -1, isLe: !0, isNegative: !1 };
237
- function E(n, { bitLength: t = -1, isLe: e = !0, isNegative: r = !1 } = sn) {
238
- const o = F(n), c = Math.ceil(t === -1 ? o.bitLength() / 8 : (t || 0) / 8);
239
+ function T(n, { bitLength: t = -1, isLe: e = !0, isNegative: r = !1 } = sn) {
240
+ const o = C(n), f = Math.ceil(t === -1 ? o.bitLength() / 8 : (t || 0) / 8);
239
241
  if (!n)
240
- return t === -1 ? new Uint8Array(1) : new Uint8Array(c);
241
- const f = new Uint8Array(c), h = r ? o.toTwos(c * 8) : o;
242
- return f.set(h.toArray(e ? "le" : "be", c), 0), f;
242
+ return t === -1 ? new Uint8Array(1) : new Uint8Array(f);
243
+ const i = new Uint8Array(f), c = r ? o.toTwos(f * 8) : o;
244
+ return i.set(c.toArray(e ? "le" : "be", f), 0), i;
243
245
  }
244
- const cn = U.pow(new s(6)).isub(b), fn = U.pow(new s(14)).isub(b), hn = U.pow(new s(30)).isub(b), wn = { bitLength: 16 }, gn = { bitLength: 32 };
246
+ const fn = A.pow(new s(6)).isub(x), cn = A.pow(new s(14)).isub(x), hn = A.pow(new s(30)).isub(x), wn = { bitLength: 16 }, gn = { bitLength: 32 };
245
247
  function un(n) {
246
- const t = F(n);
247
- if (t.lte(cn))
248
- return new Uint8Array([t.toNumber() << 2]);
248
+ const t = C(n);
249
249
  if (t.lte(fn))
250
- return E(t.shln(2).iadd(b), wn);
250
+ return new Uint8Array([t.toNumber() << 2]);
251
+ if (t.lte(cn))
252
+ return T(t.shln(2).iadd(x), wn);
251
253
  if (t.lte(hn))
252
- return E(t.shln(2).iadd(U), gn);
253
- const e = E(t);
254
+ return T(t.shln(2).iadd(A), gn);
255
+ const e = T(t);
254
256
  let r = e.length;
255
257
  for (; e[r - 1] === 0; )
256
258
  r--;
257
259
  if (r < 4)
258
260
  throw new Error("Invalid length, previous checks match anything less than 2^30");
259
- return A([
261
+ return y([
260
262
  // subtract 4 as minimum (also catered for in decoding)
261
263
  new Uint8Array([(r - 4 << 2) + 3]),
262
264
  e.subarray(0, r)
263
265
  ]);
264
266
  }
265
267
  function ln(n) {
266
- return A([
268
+ return y([
267
269
  un(n.length),
268
270
  n
269
271
  ]);
270
272
  }
271
- function mn(n) {
273
+ function Sn(n) {
272
274
  return typeof n == "string" || n instanceof String;
273
275
  }
274
- function Sn(n) {
276
+ function mn(n) {
275
277
  return typeof n == "number";
276
278
  }
277
279
  function Nn(n, ...t) {
278
- for (let e = 0, r = t.length; e < r; e++) {
279
- const o = t[e];
280
- if (o)
281
- if (typeof o.entries == "function")
282
- for (const [c, f] of o.entries())
283
- n[c] = f;
284
- else
285
- Object.assign(n, o);
280
+ const e = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
281
+ for (let r = 0, o = t.length; r < o; r++) {
282
+ const f = t[r];
283
+ if (f)
284
+ if (typeof f.entries == "function")
285
+ for (const [i, c] of f.entries())
286
+ e.has(i) || (n[i] = c);
287
+ else {
288
+ const i = /* @__PURE__ */ Object.create(null);
289
+ for (const [c, h] of Object.entries(f))
290
+ e.has(c) || (i[c] = h);
291
+ Object.assign(n, i);
292
+ }
286
293
  }
287
294
  return n;
288
295
  }
289
296
  function In(n) {
290
- return v(R(n));
297
+ return v(L(n));
291
298
  }
292
299
  export {
293
300
  v as a,
294
- Un as b,
301
+ An as b,
295
302
  M as c,
296
- Tn as d,
297
- E as e,
298
- Bn as f,
299
- Sn as g,
300
- bn as h,
303
+ Un as d,
304
+ T as e,
305
+ pn as f,
306
+ mn as g,
307
+ xn as h,
301
308
  Y as i,
302
309
  on as j,
303
- k,
304
- mn as l,
310
+ G as k,
311
+ Sn as l,
305
312
  ln as m,
306
- C as n,
313
+ X as n,
307
314
  Nn as o,
308
- En as p,
309
- _n as q,
310
- B as r,
311
- R as s,
312
- pn as t,
315
+ Tn as p,
316
+ En as q,
317
+ p as r,
318
+ L as s,
319
+ bn as t,
313
320
  w as u,
314
- xn as v,
321
+ Bn as v,
315
322
  In as w,
316
323
  g as x
317
324
  };
@@ -4,7 +4,7 @@ var Ee = (r) => {
4
4
  var xe = (r, e, t) => e.has(r) || Ee("Cannot " + t);
5
5
  var k = (r, e, t) => (xe(r, e, "read from private field"), t ? t.call(r) : e.get(r)), W = (r, e, t) => e.has(r) ? Ee("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), J = (r, e, t, n) => (xe(r, e, "write to private field"), n ? n.call(r, t) : e.set(r, t), t);
6
6
  import { b as Ae, s as zr, r as U, a as Te, n as y, c as D, R as g, u as he, i as _e, d as S, e as ze, m as Cr, f as Hr, g as Lr, k as Or, h as Fr, p as Mr, j as qr, l as Vr } from "./nobleChunk-Bbltwf44.js";
7
- import { u as h, a as Kr, b as I, s as V, i as Ce, c as He, x as Yr, o as Wr, d as Z, e as C, f as Jr, g as Zr, h as Gr, j as Xr, k as Qr, l as et, m as rt, n as Ue, p as tt, q as nt } from "./utilChunk-DPr6oTOj.js";
7
+ import { u as h, a as Kr, b as I, s as V, i as Ce, c as He, x as Yr, o as Wr, d as Z, e as C, f as Jr, g as Zr, h as Gr, j as Xr, k as Qr, l as et, m as rt, n as Ue, p as tt, q as nt } from "./utilChunk-WRTGKXbU.js";
8
8
  import { B as ot } from "./bnChunk-DRlDxTFg.js";
9
9
  function fe(r) {
10
10
  return r instanceof Uint8Array || ArrayBuffer.isView(r) && r.constructor.name === "Uint8Array";