@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,25 +1,24 @@
1
- import { c as C, j as v, C as f } from "./emotion-element-c39617d8.browser.esm-BNNnmykm.js";
2
- import { r as A } from "./index-DIdd2cUz.js";
3
- import { P as b, b as R, L as i } from "./web2Chunk-CNoojUDK.js";
4
- var l, y = A;
5
- l = y.createRoot;
6
- function E(o, e = "light", t, a = !0, c = !1, r) {
1
+ import { c as C, j as v, C as f } from "./emotion-element-c39617d8.browser.esm-DG1XhEZ1.js";
2
+ import { r as R } from "./index-B9KeZfID.js";
3
+ import { P as b, b as A, L as i } from "./web2Chunk-BGN6Hv-C.js";
4
+ var l, E = R;
5
+ l = E.createRoot;
6
+ function x(o, e = "light", t, a = !0, r = !1, c) {
7
7
  return o || (o = ""), b.parse({
8
- defaultEnvironment: R.parse("production"),
9
- userAccountAddress: r || "",
8
+ defaultEnvironment: A.parse("production"),
9
+ userAccountAddress: c || "",
10
10
  account: {
11
11
  address: o
12
12
  },
13
13
  serverUrl: "",
14
- mongoAtlasUri: "",
15
- devOnlyWatchEvents: !1,
14
+ mongoAtlasUri: "mongodb+srv://<MONGO_URI_HERE>/frictionless_events",
16
15
  web2: a,
17
- mode: c ? "invisible" : "visible",
16
+ mode: r ? "invisible" : "visible",
18
17
  theme: e,
19
18
  language: t
20
19
  });
21
20
  }
22
- const x = (o, e, t) => {
21
+ const y = (o, e, t) => {
23
22
  const a = (o == null ? void 0 : o.language) || e.getAttribute("data-language");
24
23
  a && (t.language = L(a));
25
24
  }, L = (o) => {
@@ -32,23 +31,23 @@ const x = (o, e, t) => {
32
31
  const a = (o == null ? void 0 : o["challenge-valid-length"]) || e.getAttribute("data-challenge-valid-length");
33
32
  a && (t.captchas.image.solutionTimeout = Number.parseInt(a), t.captchas.pow.solutionTimeout = Number.parseInt(a));
34
33
  };
35
- class j {
34
+ class V {
36
35
  constructor(e) {
37
36
  this.captchaComponentProvider = e;
38
37
  }
39
- renderCaptcha(e, t, a, c, r, h, u, m) {
40
- const g = (a == null ? void 0 : a.captchaType) || e.defaultCaptchaType, n = E(a.siteKey, a.theme, a.language, r, u, a.userAccountAddress);
38
+ renderCaptcha(e, t, a, r, c, h, u, m) {
39
+ const g = (a == null ? void 0 : a.captchaType) || e.defaultCaptchaType, n = x(a.siteKey, a.theme, a.language, c, u, a.userAccountAddress);
41
40
  this.readAndValidateSettings(t, n, a);
42
41
  const s = this.createReactRoot(t, e.identifierPrefix), p = this.makeEmotionCache(e.emotionCacheKey, t), d = this.captchaComponentProvider.getCaptchaComponent(g, {
43
42
  config: n,
44
43
  i18n: h,
45
- callbacks: c,
44
+ callbacks: r,
46
45
  container: m
47
46
  });
48
47
  return this.renderCaptchaComponent(s, p, d), s;
49
48
  }
50
49
  readAndValidateSettings(e, t, a) {
51
- P(a, e, t), x(a, e, t);
50
+ P(a, e, t), y(a, e, t);
52
51
  }
53
52
  makeEmotionCache(e, t) {
54
53
  return C({
@@ -67,5 +66,5 @@ class j {
67
66
  }
68
67
  }
69
68
  export {
70
- j as CaptchaRenderer
69
+ V as CaptchaRenderer
71
70
  };
@@ -1,33 +1,33 @@
1
- import { z as L } from "./zodChunk-aEfPZzrp.js";
2
- const h = "info", d = "debug", m = "trace", b = "warn", k = "error", w = "fatal";
3
- L.enum([
1
+ import { z as v } from "./zodChunk-CaINhWMQ.js";
2
+ const h = "info", m = "debug", b = "trace", k = "warn", y = "error", w = "fatal";
3
+ v.enum([
4
4
  h,
5
- d,
6
5
  m,
7
6
  b,
8
7
  k,
8
+ y,
9
9
  w
10
10
  ]);
11
11
  const P = {
12
- [m]: 5,
13
- [d]: 4,
12
+ [b]: 5,
13
+ [m]: 4,
14
14
  [h]: 3,
15
- [b]: 2,
16
- [k]: 1,
15
+ [k]: 2,
16
+ [y]: 1,
17
17
  [w]: 0
18
18
  };
19
19
  function S(s, t) {
20
20
  const e = new E(t);
21
21
  return e.setLogLevel(s), e;
22
22
  }
23
- const D = typeof window < "u" && typeof window.document < "u", g = "json", M = "plain";
24
- L.enum([g, M]);
23
+ const D = typeof window < "u" && typeof window.document < "u", u = "json", M = "plain";
24
+ v.enum([u, M]);
25
25
  class E {
26
26
  constructor(t, e = P) {
27
- this.scope = t, this.levelMap = e, this.pretty = 0, this.printStack = !1, this.format = g, this.level = h, this.levelNum = this.levelMap[this.level];
27
+ this.scope = t, this.levelMap = e, this.pretty = 0, this.printStack = !1, this.format = u, this.level = h, this.levelNum = this.levelMap[this.level];
28
28
  }
29
29
  setFormat(t) {
30
- if (this.format = t, this.format !== g)
30
+ if (this.format = t, this.format !== u)
31
31
  throw new Error("Only JSON format implemented for now");
32
32
  }
33
33
  getFormat() {
@@ -71,19 +71,19 @@ class E {
71
71
  if (this.levelMap[r] > this.levelNum)
72
72
  return;
73
73
  const a = (/* @__PURE__ */ new Date()).toISOString();
74
- let { data: c, msg: i, err: l } = e(), o, u;
75
- if (l)
76
- if (l instanceof Error || typeof l == "object") {
77
- const f = this.unpackError(l);
78
- o = f.msg, u = f.data;
74
+ let { data: c, msg: l, err: i } = e(), o, g;
75
+ if (i)
76
+ if (i instanceof Error || typeof i == "object") {
77
+ const f = this.unpackError(i);
78
+ o = f.msg, g = f.data;
79
79
  } else
80
- o = String(l);
80
+ o = String(i);
81
81
  this.defaultData && (c = { ...this.defaultData, ...c });
82
82
  const n = { scope: this.scope, ts: a, level: this.level };
83
- if (c && (n.data = c), i && (n.msg = i), o && (n.err = o), u && (n.errData = u), D)
84
- i || o ? t(i || o, n) : t(n);
83
+ if (c && (n.data = c), l && (n.msg = l), o && (n.err = o), g && (n.errData = g), D)
84
+ l || o ? t(l || o, n) : t(n);
85
85
  else {
86
- const f = v(n), x = JSON.stringify(f, null, this.pretty);
86
+ const f = d(n), x = JSON.stringify(f, null, this.pretty);
87
87
  t(x);
88
88
  }
89
89
  }
@@ -91,16 +91,16 @@ class E {
91
91
  this.print(console.info.bind(console), t, h);
92
92
  }
93
93
  debug(t) {
94
- this.print(console.debug.bind(console), t, d);
94
+ this.print(console.debug.bind(console), t, m);
95
95
  }
96
96
  trace(t) {
97
- this.print(console.trace.bind(console), t, m);
97
+ this.print(console.trace.bind(console), t, b);
98
98
  }
99
99
  warn(t) {
100
- this.print(console.warn.bind(console), t, b);
100
+ this.print(console.warn.bind(console), t, k);
101
101
  }
102
102
  error(t) {
103
- this.print(console.error.bind(console), t, k);
103
+ this.print(console.error.bind(console), t, y);
104
104
  }
105
105
  fatal(t) {
106
106
  this.print(console.error.bind(console), t, w);
@@ -130,15 +130,18 @@ class E {
130
130
  }
131
131
  }
132
132
  }
133
- const v = (s) => {
133
+ const d = (s) => {
134
134
  if (typeof s == "bigint")
135
135
  return s.toString();
136
136
  if (N(s))
137
137
  for (const t of Object.keys(s))
138
- s[t] = v(s[t]);
138
+ s[t] = d(s[t]);
139
+ if (Array.isArray(s))
140
+ for (let t = 0; t < s.length; t++)
141
+ s[t] = d(s[t]);
139
142
  return s;
140
143
  }, N = (s) => Object === (s == null ? void 0 : s.constructor), O = { t: (s) => s };
141
- class y extends Error {
144
+ class L extends Error {
142
145
  constructor(t, e) {
143
146
  const r = (e == null ? void 0 : e.logger) || S("info", import.meta.url), a = (e == null ? void 0 : e.logLevel) || "error", c = (e == null ? void 0 : e.i18n) || O;
144
147
  t instanceof Error ? (super(c.t(t.message)), this.translationKey = e == null ? void 0 : e.translationKey, this.context = {
@@ -155,26 +158,26 @@ class y extends Error {
155
158
  t.error(() => ({ data: { ...c } }));
156
159
  }
157
160
  }
158
- class F extends y {
161
+ class A extends L {
159
162
  constructor(t, e) {
160
163
  const r = (e == null ? void 0 : e.name) || "ProsopoError", a = { ...e, name: r };
161
164
  super(t, a);
162
165
  }
163
166
  }
164
- class K extends y {
167
+ class F extends L {
165
168
  constructor(t, e) {
166
169
  const r = (e == null ? void 0 : e.name) || "ProsopoEnvError", a = { ...e, name: r };
167
170
  super(t, a);
168
171
  }
169
172
  }
170
- class A extends y {
173
+ class K extends L {
171
174
  constructor(t, e) {
172
175
  const r = (e == null ? void 0 : e.name) || "ProsopoDatasetError", a = { ...e, name: r };
173
176
  super(t, a);
174
177
  }
175
178
  }
176
179
  export {
177
- F as P,
178
- K as a,
179
- A as b
180
+ A as P,
181
+ F as a,
182
+ K as b
180
183
  };
@@ -1,5 +1,5 @@
1
1
  import { g as Se } from "./bnChunk-DRlDxTFg.js";
2
- import { r as k, f as sr } from "./web2Chunk-CNoojUDK.js";
2
+ import { r as k, f as sr } from "./web2Chunk-BGN6Hv-C.js";
3
3
  var hr = { exports: {} }, H = {};
4
4
  var $r = k, _r = Symbol.for("react.element"), Ar = Symbol.for("react.fragment"), Rr = Object.prototype.hasOwnProperty, Or = $r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, Pr = { key: !0, ref: !0, __self: !0, __source: !0 };
5
5
  function lr(r, e, t) {
@@ -25,7 +25,7 @@ function Ir(r) {
25
25
  var e = document.createElement("style");
26
26
  return e.setAttribute("data-emotion", r.key), r.nonce !== void 0 && e.setAttribute("nonce", r.nonce), e.appendChild(document.createTextNode("")), e.setAttribute("data-s", ""), e;
27
27
  }
28
- var Nr = /* @__PURE__ */ function() {
28
+ var Nr = /* @__PURE__ */ (function() {
29
29
  function r(t) {
30
30
  var n = this;
31
31
  this._insertTag = function(a) {
@@ -54,7 +54,7 @@ var Nr = /* @__PURE__ */ function() {
54
54
  return (a = n.parentNode) == null ? void 0 : a.removeChild(n);
55
55
  }), this.tags = [], this.ctr = 0;
56
56
  }, r;
57
- }(), g = "-ms-", q = "-moz-", o = "-webkit-", pr = "comm", tr = "rule", nr = "decl", Lr = "@import", mr = "@keyframes", Mr = "@layer", Fr = Math.abs, K = String.fromCharCode, Wr = Object.assign;
57
+ })(), g = "-ms-", q = "-moz-", o = "-webkit-", pr = "comm", tr = "rule", nr = "decl", Lr = "@import", mr = "@keyframes", Mr = "@layer", Fr = Math.abs, K = String.fromCharCode, Wr = Object.assign;
58
58
  function jr(r, e) {
59
59
  return v(r, 0) ^ 45 ? (((e << 2 ^ v(r, 0)) << 2 ^ v(r, 1)) << 2 ^ v(r, 2)) << 2 ^ v(r, 3) : 0;
60
60
  }
@@ -1,5 +1,5 @@
1
1
  import { g as Dc } from "./bnChunk-DRlDxTFg.js";
2
- import { r as _a } from "./web2Chunk-CNoojUDK.js";
2
+ import { r as _a } from "./web2Chunk-BGN6Hv-C.js";
3
3
  var Co = { exports: {} }, ve = {}, xo = { exports: {} }, _o = {};
4
4
  (function(e) {
5
5
  function t(C, z) {
@@ -626,13 +626,13 @@ function Oo(e) {
626
626
  function Ql(e, t) {
627
627
  return e == null || e === "http://www.w3.org/1999/xhtml" ? Oo(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http://www.w3.org/1999/xhtml" : e;
628
628
  }
629
- var Jn, Fo = function(e) {
629
+ var Jn, Fo = (function(e) {
630
630
  return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, n, r, l) {
631
631
  MSApp.execUnsafeLocalFunction(function() {
632
632
  return e(t, n, r, l);
633
633
  });
634
634
  } : e;
635
- }(function(e, t) {
635
+ })(function(e, t) {
636
636
  if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) e.innerHTML = t;
637
637
  else {
638
638
  for (Jn = Jn || document.createElement("div"), Jn.innerHTML = "<svg>" + t.valueOf().toString() + "</svg>", t = Jn.firstChild; e.firstChild; ) e.removeChild(e.firstChild);
@@ -1,13 +1,13 @@
1
- import { A, a as v, C as W, l as $ } from "./web2Chunk-CNoojUDK.js";
1
+ import { A as S, a as v, C as W, l as $ } from "./web2Chunk-BGN6Hv-C.js";
2
2
  function N(e) {
3
3
  const t = e.getRootNode();
4
4
  return (t instanceof ShadowRoot ? t.host : e).closest("form");
5
5
  }
6
- const l = () => {
6
+ const r = () => {
7
7
  Array.from(
8
- document.getElementsByName(A.procaptchaResponse)
8
+ document.getElementsByName(S.procaptchaResponse)
9
9
  ).map((t) => t.remove());
10
- }, u = (e) => {
10
+ }, f = (e) => {
11
11
  const t = window[e.replace("window.", "")];
12
12
  if (typeof t != "function")
13
13
  throw new Error(
@@ -15,18 +15,18 @@ const l = () => {
15
15
  );
16
16
  return t;
17
17
  }, M = (e) => ({
18
- onHuman: (t) => I(t, e),
18
+ onHuman: (t) => D(t, e),
19
19
  onChallengeExpired: () => {
20
- l();
20
+ r();
21
21
  },
22
22
  onExtensionNotFound: () => {
23
23
  console.error("Extension not found");
24
24
  },
25
25
  onExpired: () => {
26
- l();
26
+ r();
27
27
  },
28
28
  onError: (t) => {
29
- l(), console.error(t);
29
+ r(), console.error(t);
30
30
  },
31
31
  onClose: () => {
32
32
  },
@@ -36,30 +36,30 @@ const l = () => {
36
36
  alert("Captcha challenge failed. Please try again");
37
37
  },
38
38
  onReset: () => {
39
- l();
39
+ r();
40
40
  },
41
41
  onReload: () => {
42
42
  }
43
43
  }), d = (e, t, o) => {
44
44
  const a = t.getAttribute(`data-${e}`);
45
45
  if (a) {
46
- const n = u(a);
46
+ const n = f(a);
47
47
  if (n)
48
48
  return n;
49
49
  }
50
50
  if (typeof o == "function")
51
51
  return o;
52
52
  if (typeof o == "string")
53
- return u(o);
53
+ return f(o);
54
54
  };
55
- function H(e, t, o) {
55
+ function P(e, t, o) {
56
56
  const a = d(
57
57
  "callback",
58
58
  o,
59
59
  e == null ? void 0 : e.callback
60
60
  );
61
- a && (t.onHuman = (r) => {
62
- I(r, o), a(r);
61
+ a && (t.onHuman = (l) => {
62
+ D(l, o), a(l);
63
63
  });
64
64
  const n = d(
65
65
  "chalexpired-callback",
@@ -67,7 +67,7 @@ function H(e, t, o) {
67
67
  e == null ? void 0 : e["chalexpired-callback"]
68
68
  );
69
69
  n && (t.onChallengeExpired = () => {
70
- l(), n();
70
+ r(), n();
71
71
  });
72
72
  const c = d(
73
73
  "expired-callback",
@@ -75,15 +75,15 @@ function H(e, t, o) {
75
75
  e == null ? void 0 : e["expired-callback"]
76
76
  );
77
77
  c && (t.onExpired = () => {
78
- l(), c();
78
+ r(), c();
79
79
  });
80
80
  const i = d(
81
81
  "error-callback",
82
82
  o,
83
83
  e == null ? void 0 : e["error-callback"]
84
84
  );
85
- i && (t.onError = (r) => {
86
- l(), i(r);
85
+ i && (t.onError = (l) => {
86
+ r(), i(l);
87
87
  });
88
88
  const s = d(
89
89
  "close-callback",
@@ -115,25 +115,25 @@ function H(e, t, o) {
115
115
  e == null ? void 0 : e["reset-callback"]
116
116
  );
117
117
  w && (t.onReset = () => {
118
- l(), w();
118
+ r(), w();
119
119
  });
120
120
  }
121
- const I = (e, t) => {
122
- if (l(), t) {
121
+ const D = (e, t) => {
122
+ if (r(), t) {
123
123
  const o = N(t);
124
124
  if (!o) {
125
125
  console.error("Parent form not found for the element:", t);
126
126
  return;
127
127
  }
128
128
  const a = document.createElement("input");
129
- a.type = "hidden", a.name = A.procaptchaResponse, a.value = e, o.appendChild(a);
129
+ a.type = "hidden", a.name = S.procaptchaResponse, a.value = e, o.appendChild(a);
130
130
  }
131
- }, P = "https://prosopo.io", T = "Visit prosopo.io to learn more about the service and its accessibility options.", U = 74, x = 80, F = "80px", _ = "302px", G = "8px", j = "2px", z = "1px solid", E = "checkbox__loading-spinner";
131
+ }, H = "https://prosopo.io", T = "Visit prosopo.io to learn more about the service and its accessibility options.", U = 74, x = 80, F = "80px", _ = "302px", G = "8px", j = "2px", z = "1px solid", E = "checkbox__loading-spinner";
132
132
  function B(e) {
133
133
  const t = document.createElement("div");
134
- return t.className = "checkbox", t.innerHTML = X(e) + q, t;
134
+ return t.className = "checkbox", t.innerHTML = X(e) + K, t;
135
135
  }
136
- const K = (e) => (e.shadowRoot || e).querySelector(".checkbox__content"), q = `
136
+ const q = (e) => (e.shadowRoot || e).querySelector(".checkbox__content"), K = `
137
137
  <div class="checkbox__outer">
138
138
  <div class="checkbox__wrapper">
139
139
  <div class="checkbox__inner">
@@ -236,7 +236,7 @@ const Y = `
236
236
  `;
237
237
  function Z(e) {
238
238
  return `
239
- <a href="${P}?utm_campaign=widget" tabindex="0" target="_blank" role="button"
239
+ <a href="${H}?utm_campaign=widget" tabindex="0" target="_blank" role="button"
240
240
  aria-label="${T}"
241
241
  style="text-decoration: none;">
242
242
  <div class="prosopo-logo">
@@ -362,13 +362,13 @@ const ne = (e) => `
362
362
  };
363
363
  function ie(e, t, o) {
364
364
  const a = J(t), n = ae(o);
365
- re(n).appendChild(a), e.innerHTML = "", e.appendChild(n);
366
- const i = K(n);
365
+ le(n).appendChild(a), e.innerHTML = "", e.appendChild(n);
366
+ const i = q(n);
367
367
  if (!(i instanceof HTMLElement))
368
368
  throw new Error("Fail to initialize widget: interactive area is not found");
369
369
  return { widgetInteractiveArea: i, webComponent: n };
370
370
  }
371
- const re = (e) => e.shadowRoot || e, g = {
371
+ const le = (e) => e.shadowRoot || e, g = {
372
372
  0: "#fff",
373
373
  100: "#f5f5f5",
374
374
  200: "#eeeeee",
@@ -379,7 +379,7 @@ const re = (e) => e.shadowRoot || e, g = {
379
379
  700: "#616161",
380
380
  800: "#424242",
381
381
  900: "#212121"
382
- }, m = 10, le = {
382
+ }, m = 10, re = {
383
383
  palette: {
384
384
  mode: "light",
385
385
  primary: {
@@ -458,19 +458,19 @@ class pe {
458
458
  async createWidgets(t, o, a = !0, n = !1) {
459
459
  return Promise.all(t.map((c) => {
460
460
  const i = M(c);
461
- return H(o, i, c), this.createWidget(c, o, i, a, n);
461
+ return P(o, i, c), this.createWidget(c, o, i, a, n);
462
462
  }));
463
463
  }
464
464
  async createWidget(t, o, a, n = !0, c = !1) {
465
465
  o.theme = this.widgetThemeResolver.resolveWidgetTheme(t, o);
466
- const i = o.theme === "light" ? le : se;
466
+ const i = o.theme === "light" ? re : se;
467
467
  let s, p;
468
468
  if (c) {
469
- const r = document.createElement("div");
470
- t.appendChild(r), s = r, p = r;
469
+ const l = document.createElement("div");
470
+ t.appendChild(l), s = l, p = l;
471
471
  } else {
472
- const r = ie(t, i, "prosopo-procaptcha");
473
- s = r.widgetInteractiveArea, p = r.webComponent;
472
+ const l = ie(t, i, "prosopo-procaptcha");
473
+ s = l.widgetInteractiveArea, p = l.webComponent;
474
474
  }
475
475
  return (await this.getCaptchaRenderer()).renderCaptcha({
476
476
  identifierPrefix: "procaptcha-",
@@ -483,7 +483,7 @@ class pe {
483
483
  return this._i18n === null && (this._i18n = await $()), this.captchaRenderer === null && (this.captchaRenderer = await this.createCaptchaRenderer()), this.captchaRenderer;
484
484
  }
485
485
  async createCaptchaRenderer() {
486
- const t = (await import("./captchaRenderer-s4QuLEen.js")).CaptchaRenderer, o = (await import("./captchaComponentProvider-Cn75EmSH.js").then((a) => a.d)).CaptchaComponentProvider;
486
+ const t = (await import("./captchaRenderer-BV-WgbEA.js")).CaptchaRenderer, o = (await import("./captchaComponentProvider-D02Su4nd.js").then((a) => a.d)).CaptchaComponentProvider;
487
487
  return new t(new o());
488
488
  }
489
489
  }
@@ -501,12 +501,12 @@ class he {
501
501
  }
502
502
  const C = "procaptcha.bundle.js";
503
503
  let h = [];
504
- const b = new pe(new he()), fe = "procaptcha:execute", S = async () => {
504
+ const b = new pe(new he()), ue = "procaptcha:execute", fe = "procaptcha:ready", A = async () => {
505
505
  const e = Array.from(document.getElementsByClassName("procaptcha")).filter((o) => o.tagName.toLowerCase() !== "button");
506
506
  if (e.length) {
507
507
  const o = v(e, 0).getAttribute("data-sitekey"), a = v(e, 0).getAttribute("data-web3");
508
508
  if (!o) {
509
- console.error("No siteKey found");
509
+ console.error("No site key found");
510
510
  return;
511
511
  }
512
512
  const n = R(e), c = await b.createWidgets(e, {
@@ -524,10 +524,10 @@ const b = new pe(new he()), fe = "procaptcha:execute", S = async () => {
524
524
  callback: n
525
525
  }, !0, !0);
526
526
  h.push(...i), o.addEventListener("click", async (s) => {
527
- s.preventDefault(), D();
527
+ s.preventDefault(), I();
528
528
  });
529
529
  }
530
- }, ue = async (e, t) => {
530
+ }, ge = async (e, t) => {
531
531
  const o = Object.prototype.hasOwnProperty.call(t, "size") && t.size === "invisible", a = !t.web3;
532
532
  if (o || e.tagName.toLowerCase() === "button") {
533
533
  const c = await b.createWidgets([e], t, a, !0);
@@ -537,19 +537,19 @@ const b = new pe(new he()), fe = "procaptcha:execute", S = async () => {
537
537
  const n = await b.createWidgets([e], t, a, !1);
538
538
  h.push(...n);
539
539
  };
540
- function f(e) {
540
+ function u(e) {
541
541
  document && document.readyState !== "loading" ? e() : document.addEventListener("DOMContentLoaded", () => {
542
542
  e();
543
543
  });
544
544
  }
545
- const D = () => {
545
+ const I = () => {
546
546
  var e;
547
- const t = ge();
547
+ const t = me();
548
548
  if (t.length === 0) {
549
549
  console.error("No Procaptcha containers found for execution");
550
550
  return;
551
551
  }
552
- const o = new CustomEvent(fe, {
552
+ const o = new CustomEvent(ue, {
553
553
  detail: {
554
554
  containerId: ((e = t[0]) == null ? void 0 : e.id) || "procaptcha-container",
555
555
  containerCount: t.length,
@@ -560,7 +560,7 @@ const D = () => {
560
560
  });
561
561
  document.dispatchEvent(o);
562
562
  };
563
- function ge() {
563
+ function me() {
564
564
  const e = [], t = Array.from(document.querySelectorAll('[data-size="invisible"]'));
565
565
  e.push(...t);
566
566
  const o = Array.from(document.querySelectorAll('#procaptcha-container, [id$="-procaptcha-container"]')), a = Array.from(document.getElementsByClassName("p-procaptcha"));
@@ -574,28 +574,36 @@ const L = () => {
574
574
  const { onloadUrlCallback: o, renderExplicit: a } = de(C);
575
575
  let n = !1;
576
576
  if (a !== "explicit" && ((e = k(C)) == null || e.addEventListener("load", () => {
577
- f(S), n = !0;
578
- }), document.readyState === "complete" && !n && f(S)), o && ((t = k(C)) == null || t.addEventListener("load", () => {
579
- const c = u(o);
580
- f(c);
577
+ u(A), n = !0;
578
+ }), document.readyState === "complete" && !n && u(A)), o && ((t = k(C)) == null || t.addEventListener("load", () => {
579
+ const c = f(o);
580
+ u(c);
581
581
  }), document.readyState === "complete" && !n)) {
582
- const c = u(o);
583
- f(c);
582
+ const c = f(o);
583
+ u(c);
584
584
  }
585
- }, me = () => {
585
+ }, be = () => {
586
586
  for (const e of h)
587
587
  e.unmount();
588
588
  h = [], L();
589
589
  };
590
- window.procaptcha = { ready: f, render: ue, reset: me, execute: D };
590
+ window.procaptcha = { ready: u, render: ge, reset: be, execute: I };
591
+ const ye = new CustomEvent(fe, {
592
+ detail: {
593
+ timestamp: Date.now()
594
+ },
595
+ bubbles: !0,
596
+ cancelable: !1
597
+ });
598
+ document.dispatchEvent(ye);
591
599
  L();
592
600
  export {
593
601
  E as W,
594
- f as a,
595
- me as b,
602
+ u as a,
603
+ be as b,
596
604
  se as d,
597
- D as e,
605
+ I as e,
598
606
  M as g,
599
- le as l,
600
- ue as r
607
+ re as l,
608
+ ge as r
601
609
  };