Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

friendly-challenge

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

friendly-challenge - npm Package Compare versions

Comparing version 0.8.10 to 0.8.11

8

compat/index.js

@@ -54,3 +54,3 @@ // WARNING: This file was autogenerated by wasmwrap and should not be edited manually.

var css = '.frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}';
var css = '.frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8;text-decoration:none}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.frc-captcha-solution{display:none}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}';

@@ -75,4 +75,4 @@ // This is not an enum to save some bytes in the output bundle.

</div>
</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" style="text-decoration:none;" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>
<input name="${fieldName}" class="frc-captcha-solution" style="display: none;" type="hidden" value="${solutionString}">`;
</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>
<input name="${fieldName}" class="frc-captcha-solution" type="hidden" value="${solutionString}">`;
}

@@ -226,3 +226,3 @@ /**

try {
const response = await fetchAndRetryWithBackoff(urls[i] + "?sitekey=" + siteKey, { headers: [["x-frc-client", "js-0.8.10"]], mode: "cors" }, 2);
const response = await fetchAndRetryWithBackoff(urls[i] + "?sitekey=" + siteKey, { headers: [["x-frc-client", "js-0.8.11"]], mode: "cors" }, 2);
if (response.ok) {

@@ -229,0 +229,0 @@ const json = await response.json();

@@ -0,0 +0,0 @@ interface Localization {

@@ -54,3 +54,3 @@ // WARNING: This file was autogenerated by wasmwrap and should not be edited manually.

var css = '.frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}';
var css = '.frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8;text-decoration:none}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.frc-captcha-solution{display:none}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}';

@@ -75,4 +75,4 @@ // This is not an enum to save some bytes in the output bundle.

</div>
</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" style="text-decoration:none;" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>
<input name="${fieldName}" class="frc-captcha-solution" style="display: none;" type="hidden" value="${solutionString}">`;
</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>
<input name="${fieldName}" class="frc-captcha-solution" type="hidden" value="${solutionString}">`;
}

@@ -226,3 +226,3 @@ /**

try {
const response = await fetchAndRetryWithBackoff(urls[i] + "?sitekey=" + siteKey, { headers: [["x-frc-client", "js-0.8.10"]], mode: "cors" }, 2);
const response = await fetchAndRetryWithBackoff(urls[i] + "?sitekey=" + siteKey, { headers: [["x-frc-client", "js-0.8.11"]], mode: "cors" }, 2);
if (response.ok) {

@@ -229,0 +229,0 @@ const json = await response.json();

{
"name": "friendly-challenge",
"version": "0.8.10",
"version": "0.8.11",
"description": "The client code used for FriendlyCaptcha (widget script, html, styling and webworker solver)",

@@ -35,4 +35,3 @@ "keywords": [

"test:prod": "npm run lint && npm run test",
"dist": "npm i && npm run build && cd dist && npm publish --ignore-scripts",
"prepublishOnly": "echo \"Error: Don't run 'npm publish' in root. Use 'npm run dist' instead.\" && exit 1"
"dist": "npm i && npm run build && cd dist && npm publish --ignore-scripts"
},

@@ -88,2 +87,2 @@ "types": "friendly-challenge.d.ts",

}
}
}

@@ -24,3 +24,3 @@ "use strict";

var css = '.frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}'; // This is not an enum to save some bytes in the output bundle.
var css = '.frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8;text-decoration:none}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.frc-captcha-solution{display:none}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}'; // This is not an enum to save some bytes in the output bundle.

@@ -39,3 +39,3 @@ var SOLVER_TYPE_JS = 1; // @ts-ignore

var debugData = arguments.length > 6 ? arguments[6] : undefined;
return "<div class=\"frc-container\">\n<svg class=\"frc-icon\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" height=\"32\" width=\"32\" viewBox=\"0 0 24 24\">".concat(svgContent, "</svg>\n<div class=\"frc-content\">\n <span class=\"frc-text\" ").concat(debugData ? "title=\"".concat(debugData, "\"") : "", ">").concat(textContent, "</span>\n ").concat(buttonText ? "<button type=\"button\" class=\"frc-button\">".concat(buttonText, "</button>") : "", "\n ").concat(progress ? "<progress class=\"frc-progress\" value=\"0\">0%</progress>" : "", "\n</div>\n</div><span class=\"frc-banner\"><a href=\"https://friendlycaptcha.com/\" rel=\"noopener\" style=\"text-decoration:none;\" target=\"_blank\"><b>Friendly</b>Captcha \u21D7</a></span>\n<input name=\"").concat(fieldName, "\" class=\"frc-captcha-solution\" style=\"display: none;\" type=\"hidden\" value=\"").concat(solutionString, "\">");
return "<div class=\"frc-container\">\n<svg class=\"frc-icon\" role=\"img\" xmlns=\"http://www.w3.org/2000/svg\" height=\"32\" width=\"32\" viewBox=\"0 0 24 24\">".concat(svgContent, "</svg>\n<div class=\"frc-content\">\n <span class=\"frc-text\" ").concat(debugData ? "title=\"".concat(debugData, "\"") : "", ">").concat(textContent, "</span>\n ").concat(buttonText ? "<button type=\"button\" class=\"frc-button\">".concat(buttonText, "</button>") : "", "\n ").concat(progress ? "<progress class=\"frc-progress\" value=\"0\">0%</progress>" : "", "\n</div>\n</div><span class=\"frc-banner\"><a href=\"https://friendlycaptcha.com/\" rel=\"noopener\" target=\"_blank\"><b>Friendly</b>Captcha \u21D7</a></span>\n<input name=\"").concat(fieldName, "\" class=\"frc-captcha-solution\" type=\"hidden\" value=\"").concat(solutionString, "\">");
}

@@ -319,3 +319,3 @@ /**

return Promise.resolve(fetchAndRetryWithBackoff(urls[i] + "?sitekey=" + siteKey, {
headers: [["x-frc-client", "js-0.8.10"]],
headers: [["x-frc-client", "js-0.8.11"]],
mode: "cors"

@@ -322,0 +322,0 @@ }, 2)).then(function ($await_9) {

@@ -1,1 +0,1 @@

!function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}!function(){var r,n,i='<circle cx="12" cy="12" r="8" stroke-width="3" stroke-dasharray="15 10" fill="none" stroke-linecap="round" transform="rotate(0 12 12)"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="0.9s" values="0 12 12;360 12 12"/></circle>',o='<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>';function A(t,e,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],A=arguments.length>6?arguments[6]:void 0;return'<div class="frc-container">\n<svg class="frc-icon" role="img" xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 24 24">'.concat(e,'</svg>\n<div class="frc-content">\n <span class="frc-text" ').concat(A?'title="'.concat(A,'"'):"",">").concat(r,"</span>\n ").concat(i?'<button type="button" class="frc-button">'.concat(i,"</button>"):"","\n ").concat(o?'<progress class="frc-progress" value="0">0%</progress>':"",'\n</div>\n</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" style="text-decoration:none;" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>\n<input name="').concat(t,'" class="frc-captcha-solution" style="display: none;" type="hidden" value="').concat(n,'">')}function a(t,e,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return A(t,o,"<b>".concat(e.text_error,"</b><br>").concat(r),".ERROR",n?e.button_retry:void 0)}function s(){if(!document.querySelector("#frc-style")){var t=document.createElement("style");t.type="text/css",t.id="frc-style",t.innerHTML=".frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}",document.head.appendChild(t)}}for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="=".charCodeAt(0),l=new Uint8Array(256),f=0;f<c.length;f++)l[c.charCodeAt(f)]=f;function g(t){for(var e=t.length,r="",n=0;n<e;n+=3){var i=t[n+0],o=t[n+1],A=t[n+2];r+=c.charAt(i>>>2),r+=c.charAt((3&i)<<4|o>>>4),r+=c.charAt((15&o)<<2|A>>>6),r+=c.charAt(63&A)}return e%3==2?r=r.substring(0,r.length-1)+"=":e%3==1&&(r=r.substring(0,r.length-2)+"=="),r}function h(t){var e=t.length,r=3*e>>>2;t.charCodeAt(e-1)===u&&r--,t.charCodeAt(e-2)===u&&r--;for(var n=new Uint8Array(r),i=0,o=0;i<e;i+=4){var A=l[t.charCodeAt(i+0)],a=l[t.charCodeAt(i+1)],s=l[t.charCodeAt(i+2)],c=l[t.charCodeAt(i+3)];n[o++]=A<<2|a>>4,n[o++]=(15&a)<<4|s>>2,n[o++]=(3&s)<<6|63&c}return n}function d(t,r,n){return new Promise((function(i,o){var A,a,s;function c(){var t,r=(t=s(),function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var e=[],r=!0,n=!1,i=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done)&&(e.push(o.value),1!==e.length);r=!0);}catch(a){n=!0,i=a}finally{try{r||null==A.return||A.return()}finally{if(n)throw i}}return e}}(t)||function(t){if(t){if("string"==typeof t)return e(t,1);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,1):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return r++,u.bind(this,r)}function u(t){if(s=function(){return[t]},!(t<A.length))return[1];var e=function(e){try{throw console.error("[FriendlyCaptcha]:",e),Error("".concat(n.text_fetch_error,' <a style="text-decoration: underline; font-size: 0.9em;" href="').concat(A[t],'">').concat(A[t],"</a>"))}catch(r){return o(r)}};try{var a;return Promise.resolve(p(A[t]+"?sitekey="+r,{headers:[["x-frc-client","js-0.8.10"]],mode:"cors"},2)).then(function(r){try{var n=function(){return function(){try{return c}catch(t){return o(t)}}()};if((a=r).ok)return Promise.resolve(a.json()).then((function(t){try{return i(t.data.puzzle)}catch(r){return e(r)}}),e);var s,u=function(){try{if(s&&s.errors&&"endpoint_not_enabled"===s.errors[0])throw Error("Endpoint not allowed (".concat(a.status,")"));if(t===A.length-1)throw Error("Response status ".concat(a.status," ").concat(a.statusText));return n.call(this)}catch(r){return e(r)}}.bind(this),l=function(){try{return u()}catch(t){return e(t)}};try{return Promise.resolve(a.json()).then((function(t){try{return s=t,u()}catch(e){return l()}}),l)}catch(f){l()}return n.call(this)}catch(g){return e(g)}}.bind(this),e)}catch(u){e(u)}}return A=t.split(","),(a=function(t){for(;t;){if(t.then)return void t.then(a,o);try{if(t.pop){if(t.length)return t.pop()?l.call(this):t;t=c}else t=t.call(this)}catch(e){return o(e)}}}.bind(this))(u.bind(this,0));function l(){return o(Error("Internal error"))}}))}function p(t,e,r){return new Promise((function(n){var i=1e3;return n(fetch(t,e).catch((function(n){return new Promise((function(o,A){return 0===r?A(n):Promise.resolve(new Promise((function(t){return setTimeout(t,i)}))).then((function(){try{return i*=4,o(p(t,e,r-1))}catch(n){return A(n)}}),A)}))})))}))}"undefined"!=typeof navigator&&(r=navigator,n=r.userAgent.toLowerCase());var I,C={en:{text_init:"Initializing..",text_ready:"Anti-Robot Verification",button_start:"Click to start verification",text_fetching:"Fetching Challenge",text_solving:"Verifying you are human..",text_completed:"I am human",text_expired:"Anti-Robot verification expired",button_restart:"Restart",text_error:"Verification failed",button_retry:"Retry",text_fetch_error:"Failed to connect to"},de:{text_init:"Initialisierung..",text_ready:"Anti-Roboter-Verifizierung",button_start:"Hier klicken",text_fetching:"Herausforderung laden..",text_solving:"Verifizierung, dass Sie ein Mensch sind..",text_completed:"Ich bin ein Mensch",text_expired:"Verifizierung abgelaufen",button_restart:"Erneut starten",text_error:"Verifizierung fehlgeschlagen",button_retry:"Erneut versuchen",text_fetch_error:"Verbindungsproblem mit"},nl:{text_init:"Initializeren..",text_ready:"Anti-robotverificatie",button_start:"Klik om te starten",text_fetching:"Aan het laden..",text_solving:"Anti-robotverificatie bezig..",text_completed:"Ik ben een mens",text_expired:"Verificatie verlopen",button_restart:"Opnieuw starten",text_error:"Verificatie mislukt",button_retry:"Opnieuw proberen",text_fetch_error:"Verbinding mislukt met"},fr:{text_init:"Chargement..",text_ready:"Verification Anti-Robot",button_start:"Cliquez ici pour vérifier",text_fetching:"Chargement du challenge",text_solving:"Vérification que vous êtes humain..",text_completed:"Je suis humain",text_expired:"Verification échue",button_restart:"Recommencer",text_error:"Echec de verification",button_retry:"Recommencer",text_fetch_error:"Problème de connexion avec"},it:{text_init:"Inizializzazione...",text_ready:"Verifica Anti-Robot",button_start:"Clicca per iniziare",text_fetching:"Caricamento...",text_solving:"Verificando che sei umano...",text_completed:"Non sono un robot",text_expired:"Verifica Anti-Robot scaduta",button_restart:"Ricomincia",text_error:"Verifica fallita",button_retry:"Riprova",text_fetch_error:"Problema di connessione con"},pt:{text_init:"Inicializando..",text_ready:"Verificação Anti-Robô",button_start:"Clique para iniciar verificação",text_fetching:"Carregando..",text_solving:"Verificando se você é humano..",text_completed:"Eu sou humano",text_expired:"Verificação Anti-Robô expirada",button_restart:"Reiniciar",text_error:"Verificação falhou",button_retry:"Tentar novamente",text_fetch_error:"Falha de conexão com"},es:{text_init:"Inicializando..",text_ready:"Verificación Anti-Robot",button_start:"Haga clic para iniciar la verificación",text_fetching:"Cargando desafío",text_solving:"Verificando que eres humano..",text_completed:"Soy humano",text_expired:"Verificación Anti-Robot expirada",button_restart:"Reiniciar",text_error:"Ha fallado la verificación",button_retry:"Intentar de nuevo",text_fetch_error:"Error al conectarse a"},ca:{text_init:"Inicialitzant...",text_ready:"Verificació Anti-Robot",button_start:"Fes clic per començar la verificació",text_fetching:"Carregant repte",text_solving:"Verificant que ets humà..",text_completed:"Soc humà",text_expired:"La verificació Anti-Robot ha expirat",button_restart:"Reiniciar",text_error:"Ha fallat la verificació",button_retry:"Tornar a provar",text_fetch_error:"Error connectant a"}},y="https://api.friendlycaptcha.com/api/v1/puzzle";"undefined"!=typeof window&&(I=window.URL||window.webkitURL);var w=function(){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t(this,e),this.worker=null,this.valid=!1,this.needsReInit=!1,this.hasBeenStarted=!1,this.hasBeenDestroyed=!1,this.opts=Object.assign({forceJSFallback:!1,startMode:"focus",puzzleEndpoint:r.dataset.puzzleEndpoint||y,startedCallback:function(){return 0},readyCallback:function(){return 0},doneCallback:function(){return 0},errorCallback:function(){return 0},sitekey:r.dataset.sitekey||"",language:r.dataset.lang||"en",solutionFieldName:r.dataset.solutionFieldName||"frc-captcha-solution"},n),this.e=r,"string"==typeof this.opts.language){var i=C[this.opts.language.toLowerCase()];void 0===i&&(console.error('FriendlyCaptcha: language "'+this.opts.language+'" not found.'),i=C.en),this.lang=i}else this.lang=Object.assign(Object.assign({},C.en),this.opts.language);r.innerText=this.lang.text_init,s(),this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start)}var c;return(c=[{key:"init",value:function(t){var e,r=this;if(this.hasBeenDestroyed)console.error("FriendlyCaptcha widget has been destroyed using destroy(), it can not be used anymore.");else if(this.initWorker(),this.setupSolver(),t)this.start();else if("none"!==this.e.dataset.start&&("focus"===this.opts.startMode||"focus"===this.e.dataset.start)){var n=function(t){for(;"FORM"!==t.tagName;)if(!(t=t.parentElement))return null;return t}(this.e);n?(e=function(){r.hasBeenStarted||r.start()},n.addEventListener("focusin",e,{once:!0,passive:!0})):console.log("FriendlyCaptcha div seems not to be contained in a form, autostart will not work")}}},{key:"setupSolver",value:function(){return new Promise(function(t,e){if(this.opts.forceJSFallback)return this.worker.postMessage({type:"js"}),t();var r=function(){try{return t()}catch(r){return e(r)}},n=function(t){try{return console.log("FriendlyCaptcha failed to initialize WebAssembly, falling back to Javascript solver: "+t.toString()),this.worker.postMessage({type:"js"}),r()}catch(n){return e(n)}}.bind(this);try{var i;return i=WebAssembly.compile(h("AGFzbQEAAAABKghgAABgAn9/AGADf39/AX9gAX8AYAR/f39/AGAAAX9gAX8Bf2ACf38BfwINAQNlbnYFYWJvcnQABAMMCwcGAwAAAQIFAQIABQMBAAEGFgR/AUEAC38BQQALfwBBAwt/AEHgDAsHbgkGbWVtb3J5AgAHX19hbGxvYwABCF9fcmV0YWluAAIJX19yZWxlYXNlAAMJX19jb2xsZWN0AAQHX19yZXNldAAFC19fcnR0aV9iYXNlAwMNVWludDhBcnJheV9JRAMCDHNvbHZlQmxha2UyYgAKCAELCvgSC5IBAQV/IABB8P///wNLBEAACyMBQRBqIgQgAEEPakFwcSICQRAgAkEQSxsiBmoiAj8AIgVBEHQiA0sEQCAFIAIgA2tB//8DakGAgHxxQRB2IgMgBSADShtAAEEASARAIANAAEEASARAAAsLCyACJAEgBEEQayICIAY2AgAgAkEBNgIEIAIgATYCCCACIAA2AgwgBAsEACAACwMAAQsDAAELBgAjACQBC7sCAQF/AkAgAUUNACAAQQA6AAAgACABakEEayICQQA6AAMgAUECTQ0AIABBADoAASAAQQA6AAIgAkEAOgACIAJBADoAASABQQZNDQAgAEEAOgADIAJBADoAACABQQhNDQAgAEEAIABrQQNxIgJqIgBBADYCACAAIAEgAmtBfHEiAmpBHGsiAUEANgIYIAJBCE0NACAAQQA2AgQgAEEANgIIIAFBADYCECABQQA2AhQgAkEYTQ0AIABBADYCDCAAQQA2AhAgAEEANgIUIABBADYCGCABQQA2AgAgAUEANgIEIAFBADYCCCABQQA2AgwgACAAQQRxQRhqIgFqIQAgAi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HIAYQB5AC4AdABzAEHgCwszJAAAAAEAAAABAAAAJAAAAEkAbgBkAGUAeAAgAG8AdQB0ACAAbwBmACAAcgBhAG4AZwBlAEGgDAszJAAAAAEAAAABAAAAJAAAAH4AbABpAGIALwB0AHkAcABlAGQAYQByAHIAYQB5AC4AdABzAEHgDAsuBgAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAGEAAAACAAAAIQIAAAIAAAAkAg==")),Promise.resolve(i).then(function(t){try{return this.worker.postMessage({type:"module",module:t}),r()}catch(e){return n(e)}}.bind(this),n)}catch(o){n(o)}}.bind(this))}},{key:"makeButtonStart",value:function(){var t=this,e=this.e.querySelector("button");e&&(e.addEventListener("click",(function(){return t.start()}),{once:!0,passive:!0}),e.addEventListener("touchstart",(function(){return t.start()}),{once:!0,passive:!0}))}},{key:"onWorkerError",value:function(t){this.needsReInit=!0,this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Background worker error "+t.message),this.makeButtonStart(),this.opts.forceJSFallback=!0}},{key:"initWorker",value:function(){var t=this;this.worker&&this.worker.terminate();var e=new Blob(['!function(){function r(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(r)){var n=[],e=!0,o=!1,i=void 0;try{for(var a,u=r[Symbol.iterator]();!(e=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);e=!0);}catch(f){o=!0,i=f}finally{try{e||null==u.return||u.return()}finally{if(o)throw i}}return n}}(r,n)||function(r,n){if(r){if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(r,n):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=new Array(t);n<t;n++)e[n]=r[n];return e}!function(){"use strict";var r,t=[];function n(){for(;t.length;)t[0](),t.shift()}function e(r){this.a=o,this.b=void 0,this.f=[];var t=this;try{r((function(r){a(t,r)}),(function(r){u(t,r)}))}catch(n){u(t,n)}}r=function(){setTimeout(n)};var o=2;function i(r){return new e((function(t){t(r)}))}function a(r,t){if(r.a==o){if(t==r)throw new TypeError;var n=!1;try{var e=t&&t.then;if(null!=t&&"object"==typeof t&&"function"==typeof e)return void e.call(t,(function(t){n||a(r,t),n=!0}),(function(t){n||u(r,t),n=!0}))}catch(i){return void(n||u(r,i))}r.a=0,r.b=t,f(r)}}function u(r,t){if(r.a==o){if(t==r)throw new TypeError;r.a=1,r.b=t,f(r)}}function f(n){!function(n){t.push(n),1==t.length&&r()}((function(){if(n.a!=o)for(;n.f.length;){var r=(i=n.f.shift())[0],t=i[1],e=i[2],i=i[3];try{0==n.a?e("function"==typeof r?r.call(void 0,n.b):n.b):1==n.a&&("function"==typeof t?e(t.call(void 0,n.b)):i(n.b))}catch(a){i(a)}}}))}e.prototype.g=function(r){return this.c(void 0,r)},e.prototype.c=function(r,t){var n=this;return new e((function(e,o){n.f.push([r,t,e,o]),f(n)}))},self.Promise||(self.Promise=e,self.Promise.resolve=i,self.Promise.reject=function(r){return new e((function(t,n){n(r)}))},self.Promise.race=function(r){return new e((function(t,n){for(var e=0;e<r.length;e+=1)i(r[e]).c(t,n)}))},self.Promise.all=function(r){return new e((function(t,n){function e(n){return function(e){a[n]=e,(o+=1)==r.length&&t(a)}}var o=0,a=[];0==r.length&&t(a);for(var u=0;u<r.length;u+=1)i(r[u]).c(e(u),n)}))},self.Promise.prototype.then=e.prototype.c,self.Promise.prototype.catch=e.prototype.g)}(),function(){"use strict";var t=function r(t){!function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.v=new Uint32Array(32),this.m=new Uint32Array(32),this.outlen=t};function n(r,t){return r[t]^r[t+1]<<8^r[t+2]<<16^r[t+3]<<24}function e(r,t,n,e,o,i,a,u){var f,s,c,l=t[a],h=t[a+1],y=t[u],v=t[u+1],p=r[n],w=r[n+1],g=r[e],b=r[e+1],m=r[o],d=r[o+1],A=r[i],_=r[i+1];c=_^(w=(w=w+b+((p&g|(p|g)&~(f=p+g))>>>31))+h+(((p=f)&l|(p|l)&~(f=p+l))>>>31)),g=(c=(b=(c=b^(d=d+(_=s=A^(p=f))+((m&(A=c)|(m|A)&~(f=m+A))>>>31)))>>>24^(s=g^(m=f))<<8)^(d=d+(_=(c=_^(w=(w=w+b+((p&(g=s>>>24^c<<8)|(p|g)&~(f=p+g))>>>31))+v+(((p=f)&y|(p|y)&~(f=p+y))>>>31)))>>>16^(s=A^(p=f))<<16)+((m&(A=s>>>16^c<<16)|(m|A)&~(f=m+A))>>>31)))>>>31^(s=g^(m=f))<<1,b=s>>>31^c<<1,r[n]=p,r[n+1]=w,r[e]=g,r[e+1]=b,r[o]=m,r[o+1]=d,r[i]=A,r[i+1]=_}var o,i,a=[4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225],u=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6,22,16,24,0,10,4,30,26,20,28,6,12,14,2,18,8,14,18,6,2,26,24,22,28,4,12,10,20,8,0,30,16,18,0,10,14,4,8,20,30,28,2,22,24,12,16,6,26,4,24,12,20,0,22,16,6,8,26,14,10,30,28,2,18,24,10,2,30,28,26,8,20,0,14,12,6,18,4,16,22,26,22,14,28,24,2,6,18,10,0,30,8,16,12,4,20,12,30,28,18,22,6,0,16,24,4,26,14,2,8,20,10,20,4,16,8,14,12,2,10,30,22,18,28,6,24,26,0,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6];function f(r,t){for(var o=r.v,i=r.m,f=0;f<16;f++)o[f]=r.h[f],o[f+16]=a[f];o[24]=o[24]^r.t,o[25]=o[25]^r.t/4294967296,t&&(o[28]=~o[28],o[29]=~o[29]);for(var s=0;s<32;s++)i[s]=n(r.b,4*s);for(var c=0;c<12;c++)e(o,i,0,8,16,24,u[16*c+0],u[16*c+1]),e(o,i,2,10,18,26,u[16*c+2],u[16*c+3]),e(o,i,4,12,20,28,u[16*c+4],u[16*c+5]),e(o,i,6,14,22,30,u[16*c+6],u[16*c+7]),e(o,i,0,10,20,30,u[16*c+8],u[16*c+9]),e(o,i,2,12,22,24,u[16*c+10],u[16*c+11]),e(o,i,4,14,16,26,u[16*c+12],u[16*c+13]),e(o,i,6,8,18,28,u[16*c+14],u[16*c+15]);for(var l=0;l<16;l++)r.h[l]=r.h[l]^o[l]^o[l+16]}function s(r,t){for(var n=0;n<16;n++)r.h[n]=a[n];r.b.set(t),r.h[0]^=16842752^r.outlen}function c(r,n,e){if(128!=r.length)throw Error("Invalid input");var o=r.buffer,i=new DataView(o),a=new t(32);a.t=128;for(var u=i.getUint32(124,!0),c=u+e,l=u;l<c;l++)if(i.setUint32(124,l,!0),s(a,r),f(a,!0),a.h[0]<n)return 0==ASC_TARGET?new Uint8Array(a.h.buffer):Uint8Array.wrap(a.h.buffer);return new Uint8Array(0)}Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(r,t){return new Uint8Array(Array.prototype.slice.call(this,r,t))}}),self.ASC_TARGET=0;var l=new Promise((function(r){return i=r})),h=!1;self.onerror=function(r){self.postMessage({type:"error",message:JSON.stringify(r)})},self.onmessage=function(t){return new Promise((function(n,e){var a,u,f,s;s=(f=t.data).type;var y,v=function(){try{return n()}catch(r){return e(r)}},p=function(r){try{return setTimeout((function(){throw r})),v()}catch(t){return e(t)}};try{var w,g=function(){return v()};if("module"===s)return Promise.resolve((y=f.module,new Promise((function(r,t){var n,e,o;return Promise.resolve(function(r){return new Promise((function(t,n){var e,o;return e={env:{abort:function(){throw Error("Wasm aborted")}}},Promise.resolve(WebAssembly.instantiate(r,e)).then((function(r){try{return o=function(r){var t={},n=r.exports,e=n.memory,o=n.__alloc,i=n.__retain,a=n.__rtti_base||-1;return t.__allocArray=function(r,t){var n=function(r){return new Uint32Array(e.buffer)[(a+4>>>2)+2*r]}(r),u=31-Math.clz32(n>>>6&31),f=t.length,s=o(f<<u,0),c=o(12,r),l=new Uint32Array(e.buffer);l[c+0>>>2]=i(s),l[c+4>>>2]=s,l[c+8>>>2]=f<<u;var h=e.buffer,y=new Uint8Array(h);if(16384&n)for(var v=0;v<f;++v)y[(s>>>u)+v]=i(t[v]);else y.set(t,s>>>u);return c},t.__getUint8Array=function(r){var t=new Uint32Array(e.buffer),n=t[r+4>>>2];return new Uint8Array(e.buffer,n,t[n-4>>>2]>>>0)},function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.__argumentsLength?function(t){r.__argumentsLength.value=t}:r.__setArgumentsLength||r.__setargc||function(){return{}},e=function(e){if(!Object.prototype.hasOwnProperty.call(r,e))return"continue";var o=r[e],i=e.split(".")[0];"function"==typeof o&&o!==n?(t[i]=function(){return n(arguments.length),o.apply(void 0,arguments)}).original=o:t[i]=o};for(var o in r)e(o);return t}(n,t)}(r),t({exports:o})}catch(e){return n(e)}}),n)}))}(y)).then((function(i){try{return e=(n=i).exports.__retain(n.exports.__allocArray(n.exports.Uint8Array_ID,new Uint8Array(128))),o=n.exports.__getUint8Array(e),r((function(r,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4294967295;o.set(r);var a=n.exports.solveBlake2b(e,t,i);o=n.exports.__getUint8Array(e);var u=n.exports.__getUint8Array(a);return n.exports.__release(a),[o,u]}))}catch(a){return t(a)}}),t)})))).then(function(r){try{return w=r,self.postMessage({type:"ready",solver:2}),o=2,i(w),g.call(this)}catch(t){return p(t)}}.bind(this),p);var b,m=function(){return g.call(this)};if("js"===s)return Promise.resolve(new Promise((function(r){return r((function(r,t){return[r,c(r,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:4294967295)]}))}))).then(function(r){try{return b=r,self.postMessage({type:"ready",solver:1}),o=1,i(b),m.call(this)}catch(t){return p(t)}}.bind(this),p);var d,A,_,U,P,x,T,j=function(){return m.call(this)};return"start"===s?h?n():(h=!0,Promise.resolve(l).then(function(t){try{for(d=t,self.postMessage({type:"started"}),A=Date.now(),_=0,U=function(r,t){for(var n=[],e=0;e<t;e++){var o=new Uint8Array(128);o.set(r),o[120]=e,n.push(o)}return n}(f.buffer,f.n),P=new Uint8Array(8*f.n),a=0;a<U.length;a++){var n=Date.now(),e=void 0;for(u=0;u<256;u++){U[a][123]=u;var i=r(d(U[a],f.threshold),2),s=i[0];if(0!==i[1].length){e=s;break}console.warn("FC: Internal error or no solution found")}var c=new DataView(e.slice(-4).buffer).getUint32(0,!0),l=(Date.now()-n)/1e3;_+=c,P.set(e.slice(-8),8*a),self.postMessage({type:"progress",n:f.n,h:c,t:l,i:a})}return x=(Date.now()-A)/1e3,T={type:"done",solution:P,h:_,t:x,diagnostics:(h=o,y=x,v=new Uint8Array(3),w=new DataView(v.buffer),w.setUint8(0,h),w.setUint16(1,y),v),solver:o},self.postMessage(T),j.call(this)}catch(g){return p(g)}var h,y,v,w}.bind(this),p)):j.call(this)}catch(S){p(S)}}))}}()}("undefined"==typeof frcWorker?frcWorker={}:frcWorker);'],{type:"text/javascript"});this.worker=new Worker(I.createObjectURL(e)),this.worker.onerror=function(e){return t.onWorkerError(e)},this.worker.onmessage=function(e){if(!t.hasBeenDestroyed){var r,n=e.data;if(n)if("progress"===n.type)!function(t,e){var r=t.querySelector(".frc-progress"),n=(e.i+1)/e.n;r&&(r.value=n,r.innerText=n.toFixed(2)+"%",r.title=e.i+1+"/"+e.n+" ("+(e.h/e.t*.001).toFixed(0)+"K/s)")}(t.e,n);else if("ready"===n.type)t.e.innerHTML=A(t.opts.solutionFieldName,'<path d="M17,11c0.34,0,0.67,0.04,1,0.09V6.27L10.5,3L3,6.27v4.91c0,4.54,3.2,8.79,7.5,9.82c0.55-0.13,1.08-0.32,1.6-0.55 C11.41,19.47,11,18.28,11,17C11,13.69,13.69,11,17,11z"/><path d="M17,13c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4s4-1.79,4-4C21,14.79,19.21,13,17,13z M17,14.38"/>',(r=t.lang).text_ready,".UNSTARTED",r.button_start,!1),t.makeButtonStart(),t.opts.readyCallback();else if("started"===n.type)t.e.innerHTML=function(t,e){return A(t,i,e.text_solving,".UNFINISHED",void 0,!0)}(t.opts.solutionFieldName,t.lang),t.opts.startedCallback();else if("done"===n.type){var o=t.handleDone(n);t.opts.doneCallback(o);var a=t.e.dataset.callback;a&&window[a](o)}else"error"===n.type&&t.onWorkerError(n)}}}},{key:"expire",value:function(){var t,e;this.e.innerHTML=(t=this.opts.solutionFieldName,e=this.lang,A(t,o,e.text_expired,".EXPIRED",e.button_restart)),this.makeButtonStart()}},{key:"start",value:function(){return new Promise(function(t,e){var o;if(this.hasBeenDestroyed)return console.error("Can not start FriendlyCaptcha widget which has been destroyed"),t();if(this.hasBeenStarted=!0,!(o=this.opts.sitekey||this.e.dataset.sitekey))return console.error("FriendlyCaptcha: sitekey not set on frc-captcha element"),this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Website problem: sitekey not set",!1),t();if(function(){var t=!0;try{t=PluginArray.prototype===r.plugins.__proto__,r.plugins.length>0&&(t=t&&Plugin.prototype===r.plugins[0].__proto__)}catch(e){}return-1!==n.indexOf("headless")||-1!==r.appVersion.indexOf("Headless")||-1!==n.indexOf("bot")||-1!==n.indexOf("crawl")||!0===r.webdriver||!r.language||void 0!==r.languages&&!r.languages.length||!t}())return this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Browser check failed, try a different browser",!1),t();if(this.needsReInit)return this.needsReInit=!1,this.init(!0),t();var s,c,u=function(){try{return this.worker.postMessage({type:"start",buffer:this.puzzle.buffer,n:this.puzzle.n,threshold:this.puzzle.threshold}),t()}catch(r){return e(r)}}.bind(this),l=function(r){try{var n;return this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,r.message),this.makeButtonStart(),this.opts.errorCallback({code:"error_getting_puzzle",description:r.toString(),error:r}),(n=this.e.dataset["callback-error"])&&window[n](this),t()}catch(i){return e(i)}}.bind(this);try{return this.e.innerHTML=(s=this.opts.solutionFieldName,c=this.lang,A(s,i,c.text_fetching,".FETCHING",void 0,!0)),Promise.resolve(d(this.opts.puzzleEndpoint,o,this.lang)).then(function(t){var e,r,n,i,o=this;try{return this.puzzle=(i=h(n=(r=t.split("."))[1]),{signature:r[0],base64:n,buffer:i,n:i[14],threshold:(e=i[15],e>255?e=255:e<0&&(e=0),Math.pow(2,(255.999-e)/8)>>>0),expiry:3e5*i[13]}),setTimeout((function(){return o.expire()}),this.puzzle.expiry-3e4),u()}catch(A){return l(A)}}.bind(this),l)}catch(f){l(f)}}.bind(this))}},{key:"handleDone",value:function(t){this.valid=!0;var e="".concat(this.puzzle.signature,".").concat(this.puzzle.base64,".").concat(g(t.solution),".").concat(g(t.diagnostics));return this.e.innerHTML=function(t,e,r,n){var i="Completed: ".concat(n.t.toFixed(0),"s (").concat((n.h/n.t*.001).toFixed(0),"K/s)").concat(1===n.solver?" JS Fallback":"");return A(t,"<title>".concat(i,'</title><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"><animate attributeName="opacity" dur="1.0s" values="0;1"/></path>'),e.text_completed,r,void 0,!1,i)}(this.opts.solutionFieldName,this.lang,e,t),this.worker&&this.worker.terminate(),this.needsReInit=!0,e}},{key:"destroy",value:function(){this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.e&&(this.e.remove(),delete this.e),this.hasBeenDestroyed=!0}},{key:"reset",value:function(){this.hasBeenDestroyed?console.error("FriendlyCaptcha widget has been destroyed, it can not be used anymore"):(this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start))}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,c),e}();function v(){for(var t=window.friendlyChallenge.autoWidget,e=function(){var t=document.querySelectorAll(".frc-captcha");return 0===t.length&&console.warn("FriendlyCaptcha: No div was found with .frc-captcha class"),t}(),r=0;r<e.length;r++){var n=e[r];n&&!n.dataset.attached&&(t=new w(n),n.dataset.attached="1")}window.friendlyChallenge.autoWidget=t}window.friendlyChallenge={WidgetInstance:w},"loading"!==document.readyState?v():document.addEventListener("DOMContentLoaded",v)}()}("undefined"==typeof friendlyChallenge?friendlyChallenge={}:friendlyChallenge);
!function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}!function(){var r,n,i='<circle cx="12" cy="12" r="8" stroke-width="3" stroke-dasharray="15 10" fill="none" stroke-linecap="round" transform="rotate(0 12 12)"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="0.9s" values="0 12 12;360 12 12"/></circle>',o='<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>';function A(t,e,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],A=arguments.length>6?arguments[6]:void 0;return'<div class="frc-container">\n<svg class="frc-icon" role="img" xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 24 24">'.concat(e,'</svg>\n<div class="frc-content">\n <span class="frc-text" ').concat(A?'title="'.concat(A,'"'):"",">").concat(r,"</span>\n ").concat(i?'<button type="button" class="frc-button">'.concat(i,"</button>"):"","\n ").concat(o?'<progress class="frc-progress" value="0">0%</progress>':"",'\n</div>\n</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>\n<input name="').concat(t,'" class="frc-captcha-solution" type="hidden" value="').concat(n,'">')}function a(t,e,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return A(t,o,"<b>".concat(e.text_error,"</b><br>").concat(r),".ERROR",n?e.button_retry:void 0)}function s(){if(!document.querySelector("#frc-style")){var t=document.createElement("style");t.type="text/css",t.id="frc-style",t.innerHTML=".frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8;text-decoration:none}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.frc-captcha-solution{display:none}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}",document.head.appendChild(t)}}for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="=".charCodeAt(0),l=new Uint8Array(256),f=0;f<c.length;f++)l[c.charCodeAt(f)]=f;function g(t){for(var e=t.length,r="",n=0;n<e;n+=3){var i=t[n+0],o=t[n+1],A=t[n+2];r+=c.charAt(i>>>2),r+=c.charAt((3&i)<<4|o>>>4),r+=c.charAt((15&o)<<2|A>>>6),r+=c.charAt(63&A)}return e%3==2?r=r.substring(0,r.length-1)+"=":e%3==1&&(r=r.substring(0,r.length-2)+"=="),r}function h(t){var e=t.length,r=3*e>>>2;t.charCodeAt(e-1)===u&&r--,t.charCodeAt(e-2)===u&&r--;for(var n=new Uint8Array(r),i=0,o=0;i<e;i+=4){var A=l[t.charCodeAt(i+0)],a=l[t.charCodeAt(i+1)],s=l[t.charCodeAt(i+2)],c=l[t.charCodeAt(i+3)];n[o++]=A<<2|a>>4,n[o++]=(15&a)<<4|s>>2,n[o++]=(3&s)<<6|63&c}return n}function d(t,r,n){return new Promise((function(i,o){var A,a,s;function c(){var t,r=(t=s(),function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var e=[],r=!0,n=!1,i=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done)&&(e.push(o.value),1!==e.length);r=!0);}catch(a){n=!0,i=a}finally{try{r||null==A.return||A.return()}finally{if(n)throw i}}return e}}(t)||function(t){if(t){if("string"==typeof t)return e(t,1);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,1):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return r++,u.bind(this,r)}function u(t){if(s=function(){return[t]},!(t<A.length))return[1];var e=function(e){try{throw console.error("[FriendlyCaptcha]:",e),Error("".concat(n.text_fetch_error,' <a style="text-decoration: underline; font-size: 0.9em;" href="').concat(A[t],'">').concat(A[t],"</a>"))}catch(r){return o(r)}};try{var a;return Promise.resolve(p(A[t]+"?sitekey="+r,{headers:[["x-frc-client","js-0.8.11"]],mode:"cors"},2)).then(function(r){try{var n=function(){return function(){try{return c}catch(t){return o(t)}}()};if((a=r).ok)return Promise.resolve(a.json()).then((function(t){try{return i(t.data.puzzle)}catch(r){return e(r)}}),e);var s,u=function(){try{if(s&&s.errors&&"endpoint_not_enabled"===s.errors[0])throw Error("Endpoint not allowed (".concat(a.status,")"));if(t===A.length-1)throw Error("Response status ".concat(a.status," ").concat(a.statusText));return n.call(this)}catch(r){return e(r)}}.bind(this),l=function(){try{return u()}catch(t){return e(t)}};try{return Promise.resolve(a.json()).then((function(t){try{return s=t,u()}catch(e){return l()}}),l)}catch(f){l()}return n.call(this)}catch(g){return e(g)}}.bind(this),e)}catch(u){e(u)}}return A=t.split(","),(a=function(t){for(;t;){if(t.then)return void t.then(a,o);try{if(t.pop){if(t.length)return t.pop()?l.call(this):t;t=c}else t=t.call(this)}catch(e){return o(e)}}}.bind(this))(u.bind(this,0));function l(){return o(Error("Internal error"))}}))}function p(t,e,r){return new Promise((function(n){var i=1e3;return n(fetch(t,e).catch((function(n){return new Promise((function(o,A){return 0===r?A(n):Promise.resolve(new Promise((function(t){return setTimeout(t,i)}))).then((function(){try{return i*=4,o(p(t,e,r-1))}catch(n){return A(n)}}),A)}))})))}))}"undefined"!=typeof navigator&&(r=navigator,n=r.userAgent.toLowerCase());var I,C={en:{text_init:"Initializing..",text_ready:"Anti-Robot Verification",button_start:"Click to start verification",text_fetching:"Fetching Challenge",text_solving:"Verifying you are human..",text_completed:"I am human",text_expired:"Anti-Robot verification expired",button_restart:"Restart",text_error:"Verification failed",button_retry:"Retry",text_fetch_error:"Failed to connect to"},de:{text_init:"Initialisierung..",text_ready:"Anti-Roboter-Verifizierung",button_start:"Hier klicken",text_fetching:"Herausforderung laden..",text_solving:"Verifizierung, dass Sie ein Mensch sind..",text_completed:"Ich bin ein Mensch",text_expired:"Verifizierung abgelaufen",button_restart:"Erneut starten",text_error:"Verifizierung fehlgeschlagen",button_retry:"Erneut versuchen",text_fetch_error:"Verbindungsproblem mit"},nl:{text_init:"Initializeren..",text_ready:"Anti-robotverificatie",button_start:"Klik om te starten",text_fetching:"Aan het laden..",text_solving:"Anti-robotverificatie bezig..",text_completed:"Ik ben een mens",text_expired:"Verificatie verlopen",button_restart:"Opnieuw starten",text_error:"Verificatie mislukt",button_retry:"Opnieuw proberen",text_fetch_error:"Verbinding mislukt met"},fr:{text_init:"Chargement..",text_ready:"Verification Anti-Robot",button_start:"Cliquez ici pour vérifier",text_fetching:"Chargement du challenge",text_solving:"Vérification que vous êtes humain..",text_completed:"Je suis humain",text_expired:"Verification échue",button_restart:"Recommencer",text_error:"Echec de verification",button_retry:"Recommencer",text_fetch_error:"Problème de connexion avec"},it:{text_init:"Inizializzazione...",text_ready:"Verifica Anti-Robot",button_start:"Clicca per iniziare",text_fetching:"Caricamento...",text_solving:"Verificando che sei umano...",text_completed:"Non sono un robot",text_expired:"Verifica Anti-Robot scaduta",button_restart:"Ricomincia",text_error:"Verifica fallita",button_retry:"Riprova",text_fetch_error:"Problema di connessione con"},pt:{text_init:"Inicializando..",text_ready:"Verificação Anti-Robô",button_start:"Clique para iniciar verificação",text_fetching:"Carregando..",text_solving:"Verificando se você é humano..",text_completed:"Eu sou humano",text_expired:"Verificação Anti-Robô expirada",button_restart:"Reiniciar",text_error:"Verificação falhou",button_retry:"Tentar novamente",text_fetch_error:"Falha de conexão com"},es:{text_init:"Inicializando..",text_ready:"Verificación Anti-Robot",button_start:"Haga clic para iniciar la verificación",text_fetching:"Cargando desafío",text_solving:"Verificando que eres humano..",text_completed:"Soy humano",text_expired:"Verificación Anti-Robot expirada",button_restart:"Reiniciar",text_error:"Ha fallado la verificación",button_retry:"Intentar de nuevo",text_fetch_error:"Error al conectarse a"},ca:{text_init:"Inicialitzant...",text_ready:"Verificació Anti-Robot",button_start:"Fes clic per començar la verificació",text_fetching:"Carregant repte",text_solving:"Verificant que ets humà..",text_completed:"Soc humà",text_expired:"La verificació Anti-Robot ha expirat",button_restart:"Reiniciar",text_error:"Ha fallat la verificació",button_retry:"Tornar a provar",text_fetch_error:"Error connectant a"}},y="https://api.friendlycaptcha.com/api/v1/puzzle";"undefined"!=typeof window&&(I=window.URL||window.webkitURL);var w=function(){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t(this,e),this.worker=null,this.valid=!1,this.needsReInit=!1,this.hasBeenStarted=!1,this.hasBeenDestroyed=!1,this.opts=Object.assign({forceJSFallback:!1,startMode:"focus",puzzleEndpoint:r.dataset.puzzleEndpoint||y,startedCallback:function(){return 0},readyCallback:function(){return 0},doneCallback:function(){return 0},errorCallback:function(){return 0},sitekey:r.dataset.sitekey||"",language:r.dataset.lang||"en",solutionFieldName:r.dataset.solutionFieldName||"frc-captcha-solution"},n),this.e=r,"string"==typeof this.opts.language){var i=C[this.opts.language.toLowerCase()];void 0===i&&(console.error('FriendlyCaptcha: language "'+this.opts.language+'" not found.'),i=C.en),this.lang=i}else this.lang=Object.assign(Object.assign({},C.en),this.opts.language);r.innerText=this.lang.text_init,s(),this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start)}var c;return(c=[{key:"init",value:function(t){var e,r=this;if(this.hasBeenDestroyed)console.error("FriendlyCaptcha widget has been destroyed using destroy(), it can not be used anymore.");else if(this.initWorker(),this.setupSolver(),t)this.start();else if("none"!==this.e.dataset.start&&("focus"===this.opts.startMode||"focus"===this.e.dataset.start)){var n=function(t){for(;"FORM"!==t.tagName;)if(!(t=t.parentElement))return null;return t}(this.e);n?(e=function(){r.hasBeenStarted||r.start()},n.addEventListener("focusin",e,{once:!0,passive:!0})):console.log("FriendlyCaptcha div seems not to be contained in a form, autostart will not work")}}},{key:"setupSolver",value:function(){return new Promise(function(t,e){if(this.opts.forceJSFallback)return this.worker.postMessage({type:"js"}),t();var r=function(){try{return t()}catch(r){return e(r)}},n=function(t){try{return console.log("FriendlyCaptcha failed to initialize WebAssembly, falling back to Javascript solver: "+t.toString()),this.worker.postMessage({type:"js"}),r()}catch(n){return e(n)}}.bind(this);try{var i;return i=WebAssembly.compile(h("AGFzbQEAAAABKghgAABgAn9/AGADf39/AX9gAX8AYAR/f39/AGAAAX9gAX8Bf2ACf38BfwINAQNlbnYFYWJvcnQABAMMCwcGAwAAAQIFAQIABQMBAAEGFgR/AUEAC38BQQALfwBBAwt/AEHgDAsHbgkGbWVtb3J5AgAHX19hbGxvYwABCF9fcmV0YWluAAIJX19yZWxlYXNlAAMJX19jb2xsZWN0AAQHX19yZXNldAAFC19fcnR0aV9iYXNlAwMNVWludDhBcnJheV9JRAMCDHNvbHZlQmxha2UyYgAKCAELCvgSC5IBAQV/IABB8P///wNLBEAACyMBQRBqIgQgAEEPakFwcSICQRAgAkEQSxsiBmoiAj8AIgVBEHQiA0sEQCAFIAIgA2tB//8DakGAgHxxQRB2IgMgBSADShtAAEEASARAIANAAEEASARAAAsLCyACJAEgBEEQayICIAY2AgAgAkEBNgIEIAIgATYCCCACIAA2AgwgBAsEACAACwMAAQsDAAELBgAjACQBC7sCAQF/AkAgAUUNACAAQQA6AAAgACABakEEayICQQA6AAMgAUECTQ0AIABBADoAASAAQQA6AAIgAkEAOgACIAJBADoAASABQQZNDQAgAEEAOgADIAJBADoAACABQQhNDQAgAEEAIABrQQNxIgJqIgBBADYCACAAIAEgAmtBfHEiAmpBHGsiAUEANgIYIAJBCE0NACAAQQA2AgQgAEEANgIIIAFBADYCECAB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sAGkAYgAvAGEAcgByAGEAeQBiAHUAZgBmAGUAcgAuAHQAcwBBoAsLNSYAAAABAAAAAQAAACYAAAB+AGwAaQBiAC8AcwB0AGEAdABpAGMAYQByAHIAYQB5AC4AdABzAEHgCwszJAAAAAEAAAABAAAAJAAAAEkAbgBkAGUAeAAgAG8AdQB0ACAAbwBmACAAcgBhAG4AZwBlAEGgDAszJAAAAAEAAAABAAAAJAAAAH4AbABpAGIALwB0AHkAcABlAGQAYQByAHIAYQB5AC4AdABzAEHgDAsuBgAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAGEAAAACAAAAIQIAAAIAAAAkAg==")),Promise.resolve(i).then(function(t){try{return this.worker.postMessage({type:"module",module:t}),r()}catch(e){return n(e)}}.bind(this),n)}catch(o){n(o)}}.bind(this))}},{key:"makeButtonStart",value:function(){var t=this,e=this.e.querySelector("button");e&&(e.addEventListener("click",(function(){return t.start()}),{once:!0,passive:!0}),e.addEventListener("touchstart",(function(){return t.start()}),{once:!0,passive:!0}))}},{key:"onWorkerError",value:function(t){this.needsReInit=!0,this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Background worker error "+t.message),this.makeButtonStart(),this.opts.forceJSFallback=!0}},{key:"initWorker",value:function(){var t=this;this.worker&&this.worker.terminate();var e=new Blob(['!function(){function r(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(r)){var n=[],e=!0,o=!1,i=void 0;try{for(var a,u=r[Symbol.iterator]();!(e=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);e=!0);}catch(f){o=!0,i=f}finally{try{e||null==u.return||u.return()}finally{if(o)throw i}}return n}}(r,n)||function(r,n){if(r){if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(r,n):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=new Array(t);n<t;n++)e[n]=r[n];return e}!function(){"use strict";var r,t=[];function n(){for(;t.length;)t[0](),t.shift()}function e(r){this.a=o,this.b=void 0,this.f=[];var t=this;try{r((function(r){a(t,r)}),(function(r){u(t,r)}))}catch(n){u(t,n)}}r=function(){setTimeout(n)};var o=2;function i(r){return new e((function(t){t(r)}))}function a(r,t){if(r.a==o){if(t==r)throw new TypeError;var n=!1;try{var e=t&&t.then;if(null!=t&&"object"==typeof t&&"function"==typeof e)return void e.call(t,(function(t){n||a(r,t),n=!0}),(function(t){n||u(r,t),n=!0}))}catch(i){return void(n||u(r,i))}r.a=0,r.b=t,f(r)}}function u(r,t){if(r.a==o){if(t==r)throw new TypeError;r.a=1,r.b=t,f(r)}}function f(n){!function(n){t.push(n),1==t.length&&r()}((function(){if(n.a!=o)for(;n.f.length;){var r=(i=n.f.shift())[0],t=i[1],e=i[2],i=i[3];try{0==n.a?e("function"==typeof r?r.call(void 0,n.b):n.b):1==n.a&&("function"==typeof t?e(t.call(void 0,n.b)):i(n.b))}catch(a){i(a)}}}))}e.prototype.g=function(r){return this.c(void 0,r)},e.prototype.c=function(r,t){var n=this;return new e((function(e,o){n.f.push([r,t,e,o]),f(n)}))},self.Promise||(self.Promise=e,self.Promise.resolve=i,self.Promise.reject=function(r){return new e((function(t,n){n(r)}))},self.Promise.race=function(r){return new e((function(t,n){for(var e=0;e<r.length;e+=1)i(r[e]).c(t,n)}))},self.Promise.all=function(r){return new e((function(t,n){function e(n){return function(e){a[n]=e,(o+=1)==r.length&&t(a)}}var o=0,a=[];0==r.length&&t(a);for(var u=0;u<r.length;u+=1)i(r[u]).c(e(u),n)}))},self.Promise.prototype.then=e.prototype.c,self.Promise.prototype.catch=e.prototype.g)}(),function(){"use strict";var t=function r(t){!function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.v=new Uint32Array(32),this.m=new Uint32Array(32),this.outlen=t};function n(r,t){return r[t]^r[t+1]<<8^r[t+2]<<16^r[t+3]<<24}function e(r,t,n,e,o,i,a,u){var f,s,c,l=t[a],h=t[a+1],y=t[u],v=t[u+1],p=r[n],w=r[n+1],g=r[e],b=r[e+1],m=r[o],d=r[o+1],A=r[i],_=r[i+1];c=_^(w=(w=w+b+((p&g|(p|g)&~(f=p+g))>>>31))+h+(((p=f)&l|(p|l)&~(f=p+l))>>>31)),g=(c=(b=(c=b^(d=d+(_=s=A^(p=f))+((m&(A=c)|(m|A)&~(f=m+A))>>>31)))>>>24^(s=g^(m=f))<<8)^(d=d+(_=(c=_^(w=(w=w+b+((p&(g=s>>>24^c<<8)|(p|g)&~(f=p+g))>>>31))+v+(((p=f)&y|(p|y)&~(f=p+y))>>>31)))>>>16^(s=A^(p=f))<<16)+((m&(A=s>>>16^c<<16)|(m|A)&~(f=m+A))>>>31)))>>>31^(s=g^(m=f))<<1,b=s>>>31^c<<1,r[n]=p,r[n+1]=w,r[e]=g,r[e+1]=b,r[o]=m,r[o+1]=d,r[i]=A,r[i+1]=_}var o,i,a=[4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225],u=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6,22,16,24,0,10,4,30,26,20,28,6,12,14,2,18,8,14,18,6,2,26,24,22,28,4,12,10,20,8,0,30,16,18,0,10,14,4,8,20,30,28,2,22,24,12,16,6,26,4,24,12,20,0,22,16,6,8,26,14,10,30,28,2,18,24,10,2,30,28,26,8,20,0,14,12,6,18,4,16,22,26,22,14,28,24,2,6,18,10,0,30,8,16,12,4,20,12,30,28,18,22,6,0,16,24,4,26,14,2,8,20,10,20,4,16,8,14,12,2,10,30,22,18,28,6,24,26,0,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6];function f(r,t){for(var o=r.v,i=r.m,f=0;f<16;f++)o[f]=r.h[f],o[f+16]=a[f];o[24]=o[24]^r.t,o[25]=o[25]^r.t/4294967296,t&&(o[28]=~o[28],o[29]=~o[29]);for(var s=0;s<32;s++)i[s]=n(r.b,4*s);for(var c=0;c<12;c++)e(o,i,0,8,16,24,u[16*c+0],u[16*c+1]),e(o,i,2,10,18,26,u[16*c+2],u[16*c+3]),e(o,i,4,12,20,28,u[16*c+4],u[16*c+5]),e(o,i,6,14,22,30,u[16*c+6],u[16*c+7]),e(o,i,0,10,20,30,u[16*c+8],u[16*c+9]),e(o,i,2,12,22,24,u[16*c+10],u[16*c+11]),e(o,i,4,14,16,26,u[16*c+12],u[16*c+13]),e(o,i,6,8,18,28,u[16*c+14],u[16*c+15]);for(var l=0;l<16;l++)r.h[l]=r.h[l]^o[l]^o[l+16]}function s(r,t){for(var n=0;n<16;n++)r.h[n]=a[n];r.b.set(t),r.h[0]^=16842752^r.outlen}function c(r,n,e){if(128!=r.length)throw Error("Invalid input");var o=r.buffer,i=new DataView(o),a=new t(32);a.t=128;for(var u=i.getUint32(124,!0),c=u+e,l=u;l<c;l++)if(i.setUint32(124,l,!0),s(a,r),f(a,!0),a.h[0]<n)return 0==ASC_TARGET?new Uint8Array(a.h.buffer):Uint8Array.wrap(a.h.buffer);return new Uint8Array(0)}Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(r,t){return new Uint8Array(Array.prototype.slice.call(this,r,t))}}),self.ASC_TARGET=0;var l=new Promise((function(r){return i=r})),h=!1;self.onerror=function(r){self.postMessage({type:"error",message:JSON.stringify(r)})},self.onmessage=function(t){return new Promise((function(n,e){var a,u,f,s;s=(f=t.data).type;var y,v=function(){try{return n()}catch(r){return e(r)}},p=function(r){try{return setTimeout((function(){throw r})),v()}catch(t){return e(t)}};try{var w,g=function(){return v()};if("module"===s)return Promise.resolve((y=f.module,new Promise((function(r,t){var n,e,o;return Promise.resolve(function(r){return new Promise((function(t,n){var e,o;return e={env:{abort:function(){throw Error("Wasm aborted")}}},Promise.resolve(WebAssembly.instantiate(r,e)).then((function(r){try{return o=function(r){var t={},n=r.exports,e=n.memory,o=n.__alloc,i=n.__retain,a=n.__rtti_base||-1;return t.__allocArray=function(r,t){var n=function(r){return new Uint32Array(e.buffer)[(a+4>>>2)+2*r]}(r),u=31-Math.clz32(n>>>6&31),f=t.length,s=o(f<<u,0),c=o(12,r),l=new Uint32Array(e.buffer);l[c+0>>>2]=i(s),l[c+4>>>2]=s,l[c+8>>>2]=f<<u;var h=e.buffer,y=new Uint8Array(h);if(16384&n)for(var v=0;v<f;++v)y[(s>>>u)+v]=i(t[v]);else y.set(t,s>>>u);return c},t.__getUint8Array=function(r){var t=new Uint32Array(e.buffer),n=t[r+4>>>2];return new Uint8Array(e.buffer,n,t[n-4>>>2]>>>0)},function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.__argumentsLength?function(t){r.__argumentsLength.value=t}:r.__setArgumentsLength||r.__setargc||function(){return{}},e=function(e){if(!Object.prototype.hasOwnProperty.call(r,e))return"continue";var o=r[e],i=e.split(".")[0];"function"==typeof o&&o!==n?(t[i]=function(){return n(arguments.length),o.apply(void 0,arguments)}).original=o:t[i]=o};for(var o in r)e(o);return t}(n,t)}(r),t({exports:o})}catch(e){return n(e)}}),n)}))}(y)).then((function(i){try{return e=(n=i).exports.__retain(n.exports.__allocArray(n.exports.Uint8Array_ID,new Uint8Array(128))),o=n.exports.__getUint8Array(e),r((function(r,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4294967295;o.set(r);var a=n.exports.solveBlake2b(e,t,i);o=n.exports.__getUint8Array(e);var u=n.exports.__getUint8Array(a);return n.exports.__release(a),[o,u]}))}catch(a){return t(a)}}),t)})))).then(function(r){try{return w=r,self.postMessage({type:"ready",solver:2}),o=2,i(w),g.call(this)}catch(t){return p(t)}}.bind(this),p);var b,m=function(){return g.call(this)};if("js"===s)return Promise.resolve(new Promise((function(r){return r((function(r,t){return[r,c(r,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:4294967295)]}))}))).then(function(r){try{return b=r,self.postMessage({type:"ready",solver:1}),o=1,i(b),m.call(this)}catch(t){return p(t)}}.bind(this),p);var d,A,_,U,P,x,T,j=function(){return m.call(this)};return"start"===s?h?n():(h=!0,Promise.resolve(l).then(function(t){try{for(d=t,self.postMessage({type:"started"}),A=Date.now(),_=0,U=function(r,t){for(var n=[],e=0;e<t;e++){var o=new Uint8Array(128);o.set(r),o[120]=e,n.push(o)}return n}(f.buffer,f.n),P=new Uint8Array(8*f.n),a=0;a<U.length;a++){var n=Date.now(),e=void 0;for(u=0;u<256;u++){U[a][123]=u;var i=r(d(U[a],f.threshold),2),s=i[0];if(0!==i[1].length){e=s;break}console.warn("FC: Internal error or no solution found")}var c=new DataView(e.slice(-4).buffer).getUint32(0,!0),l=(Date.now()-n)/1e3;_+=c,P.set(e.slice(-8),8*a),self.postMessage({type:"progress",n:f.n,h:c,t:l,i:a})}return x=(Date.now()-A)/1e3,T={type:"done",solution:P,h:_,t:x,diagnostics:(h=o,y=x,v=new Uint8Array(3),w=new DataView(v.buffer),w.setUint8(0,h),w.setUint16(1,y),v),solver:o},self.postMessage(T),j.call(this)}catch(g){return p(g)}var h,y,v,w}.bind(this),p)):j.call(this)}catch(S){p(S)}}))}}()}("undefined"==typeof frcWorker?frcWorker={}:frcWorker);'],{type:"text/javascript"});this.worker=new Worker(I.createObjectURL(e)),this.worker.onerror=function(e){return t.onWorkerError(e)},this.worker.onmessage=function(e){if(!t.hasBeenDestroyed){var r,n=e.data;if(n)if("progress"===n.type)!function(t,e){var r=t.querySelector(".frc-progress"),n=(e.i+1)/e.n;r&&(r.value=n,r.innerText=n.toFixed(2)+"%",r.title=e.i+1+"/"+e.n+" ("+(e.h/e.t*.001).toFixed(0)+"K/s)")}(t.e,n);else if("ready"===n.type)t.e.innerHTML=A(t.opts.solutionFieldName,'<path d="M17,11c0.34,0,0.67,0.04,1,0.09V6.27L10.5,3L3,6.27v4.91c0,4.54,3.2,8.79,7.5,9.82c0.55-0.13,1.08-0.32,1.6-0.55 C11.41,19.47,11,18.28,11,17C11,13.69,13.69,11,17,11z"/><path d="M17,13c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4s4-1.79,4-4C21,14.79,19.21,13,17,13z M17,14.38"/>',(r=t.lang).text_ready,".UNSTARTED",r.button_start,!1),t.makeButtonStart(),t.opts.readyCallback();else if("started"===n.type)t.e.innerHTML=function(t,e){return A(t,i,e.text_solving,".UNFINISHED",void 0,!0)}(t.opts.solutionFieldName,t.lang),t.opts.startedCallback();else if("done"===n.type){var o=t.handleDone(n);t.opts.doneCallback(o);var a=t.e.dataset.callback;a&&window[a](o)}else"error"===n.type&&t.onWorkerError(n)}}}},{key:"expire",value:function(){var t,e;this.e.innerHTML=(t=this.opts.solutionFieldName,e=this.lang,A(t,o,e.text_expired,".EXPIRED",e.button_restart)),this.makeButtonStart()}},{key:"start",value:function(){return new Promise(function(t,e){var o;if(this.hasBeenDestroyed)return console.error("Can not start FriendlyCaptcha widget which has been destroyed"),t();if(this.hasBeenStarted=!0,!(o=this.opts.sitekey||this.e.dataset.sitekey))return console.error("FriendlyCaptcha: sitekey not set on frc-captcha element"),this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Website problem: sitekey not set",!1),t();if(function(){var t=!0;try{t=PluginArray.prototype===r.plugins.__proto__,r.plugins.length>0&&(t=t&&Plugin.prototype===r.plugins[0].__proto__)}catch(e){}return-1!==n.indexOf("headless")||-1!==r.appVersion.indexOf("Headless")||-1!==n.indexOf("bot")||-1!==n.indexOf("crawl")||!0===r.webdriver||!r.language||void 0!==r.languages&&!r.languages.length||!t}())return this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Browser check failed, try a different browser",!1),t();if(this.needsReInit)return this.needsReInit=!1,this.init(!0),t();var s,c,u=function(){try{return this.worker.postMessage({type:"start",buffer:this.puzzle.buffer,n:this.puzzle.n,threshold:this.puzzle.threshold}),t()}catch(r){return e(r)}}.bind(this),l=function(r){try{var n;return this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,r.message),this.makeButtonStart(),this.opts.errorCallback({code:"error_getting_puzzle",description:r.toString(),error:r}),(n=this.e.dataset["callback-error"])&&window[n](this),t()}catch(i){return e(i)}}.bind(this);try{return this.e.innerHTML=(s=this.opts.solutionFieldName,c=this.lang,A(s,i,c.text_fetching,".FETCHING",void 0,!0)),Promise.resolve(d(this.opts.puzzleEndpoint,o,this.lang)).then(function(t){var e,r,n,i,o=this;try{return this.puzzle=(i=h(n=(r=t.split("."))[1]),{signature:r[0],base64:n,buffer:i,n:i[14],threshold:(e=i[15],e>255?e=255:e<0&&(e=0),Math.pow(2,(255.999-e)/8)>>>0),expiry:3e5*i[13]}),setTimeout((function(){return o.expire()}),this.puzzle.expiry-3e4),u()}catch(A){return l(A)}}.bind(this),l)}catch(f){l(f)}}.bind(this))}},{key:"handleDone",value:function(t){this.valid=!0;var e="".concat(this.puzzle.signature,".").concat(this.puzzle.base64,".").concat(g(t.solution),".").concat(g(t.diagnostics));return this.e.innerHTML=function(t,e,r,n){var i="Completed: ".concat(n.t.toFixed(0),"s (").concat((n.h/n.t*.001).toFixed(0),"K/s)").concat(1===n.solver?" JS Fallback":"");return A(t,"<title>".concat(i,'</title><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"><animate attributeName="opacity" dur="1.0s" values="0;1"/></path>'),e.text_completed,r,void 0,!1,i)}(this.opts.solutionFieldName,this.lang,e,t),this.worker&&this.worker.terminate(),this.needsReInit=!0,e}},{key:"destroy",value:function(){this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.e&&(this.e.remove(),delete this.e),this.hasBeenDestroyed=!0}},{key:"reset",value:function(){this.hasBeenDestroyed?console.error("FriendlyCaptcha widget has been destroyed, it can not be used anymore"):(this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start))}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,c),e}();function v(){for(var t=window.friendlyChallenge.autoWidget,e=function(){var t=document.querySelectorAll(".frc-captcha");return 0===t.length&&console.warn("FriendlyCaptcha: No div was found with .frc-captcha class"),t}(),r=0;r<e.length;r++){var n=e[r];n&&!n.dataset.attached&&(t=new w(n),n.dataset.attached="1")}window.friendlyChallenge.autoWidget=t}window.friendlyChallenge={WidgetInstance:w},"loading"!==document.readyState?v():document.addEventListener("DOMContentLoaded",v)}()}("undefined"==typeof friendlyChallenge?friendlyChallenge={}:friendlyChallenge);

@@ -1,2 +0,2 @@

var css = '.frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}';
var css = '.frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8;text-decoration:none}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.frc-captcha-solution{display:none}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}';

@@ -21,4 +21,4 @@ // This is not an enum to save some bytes in the output bundle.

</div>
</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" style="text-decoration:none;" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>
<input name="${fieldName}" class="frc-captcha-solution" style="display: none;" type="hidden" value="${solutionString}">`;
</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>
<input name="${fieldName}" class="frc-captcha-solution" type="hidden" value="${solutionString}">`;
}

@@ -232,3 +232,3 @@ /**

try {
const response = await fetchAndRetryWithBackoff(urls[i] + "?sitekey=" + siteKey, { headers: [["x-frc-client", "js-0.8.10"]], mode: "cors" }, 2);
const response = await fetchAndRetryWithBackoff(urls[i] + "?sitekey=" + siteKey, { headers: [["x-frc-client", "js-0.8.11"]], mode: "cors" }, 2);
if (response.ok) {

@@ -235,0 +235,0 @@ const json = await response.json();

@@ -1,1 +0,1 @@

const t='<circle cx="12" cy="12" r="8" stroke-width="3" stroke-dasharray="15 10" fill="none" stroke-linecap="round" transform="rotate(0 12 12)"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="0.9s" values="0 12 12;360 12 12"/></circle>',e='<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>';function A(t,e,A,r,i,n=!1,o){return`<div class="frc-container">\n<svg class="frc-icon" role="img" xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 24 24">${e}</svg>\n<div class="frc-content">\n <span class="frc-text" ${o?`title="${o}"`:""}>${A}</span>\n ${i?`<button type="button" class="frc-button">${i}</button>`:""}\n ${n?'<progress class="frc-progress" value="0">0%</progress>':""}\n</div>\n</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" style="text-decoration:none;" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>\n<input name="${t}" class="frc-captcha-solution" style="display: none;" type="hidden" value="${r}">`}function r(t,r,i,n=!0){return A(t,e,`<b>${r.text_error}</b><br>${i}`,".ERROR",n?r.button_retry:void 0)}const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="=".charCodeAt(0),o=new Uint8Array(256);for(let t=0;t<i.length;t++)o[i.charCodeAt(t)]=t;function a(t){const e=t.length;let A="";for(let r=0;r<e;r+=3){const e=t[r+0],n=t[r+1],o=t[r+2];A+=i.charAt(e>>>2),A+=i.charAt((3&e)<<4|n>>>4),A+=i.charAt((15&n)<<2|o>>>6),A+=i.charAt(63&o)}return e%3==2?A=A.substring(0,A.length-1)+"=":e%3==1&&(A=A.substring(0,A.length-2)+"=="),A}function s(t){const e=t.length;let A=3*e>>>2;t.charCodeAt(e-1)===n&&A--,t.charCodeAt(e-2)===n&&A--;const r=new Uint8Array(A);for(let A=0,i=0;A<e;A+=4){const e=o[t.charCodeAt(A+0)],n=o[t.charCodeAt(A+1)],a=o[t.charCodeAt(A+2)],s=o[t.charCodeAt(A+3)];r[i++]=e<<2|n>>4,r[i++]=(15&n)<<4|a>>2,r[i++]=(3&a)<<6|63&s}return r}let c,g;async function l(t,e,A){let r=1e3;return fetch(t,e).catch((async i=>{if(0===A)throw i;return await new Promise((t=>setTimeout(t,r))),r*=4,l(t,e,A-1)}))}"undefined"!=typeof navigator&&(c=navigator,g=c.userAgent.toLowerCase());const h={en:{text_init:"Initializing..",text_ready:"Anti-Robot Verification",button_start:"Click to start verification",text_fetching:"Fetching Challenge",text_solving:"Verifying you are human..",text_completed:"I am human",text_expired:"Anti-Robot verification expired",button_restart:"Restart",text_error:"Verification failed",button_retry:"Retry",text_fetch_error:"Failed to connect to"},de:{text_init:"Initialisierung..",text_ready:"Anti-Roboter-Verifizierung",button_start:"Hier klicken",text_fetching:"Herausforderung laden..",text_solving:"Verifizierung, dass Sie ein Mensch sind..",text_completed:"Ich bin ein Mensch",text_expired:"Verifizierung abgelaufen",button_restart:"Erneut starten",text_error:"Verifizierung fehlgeschlagen",button_retry:"Erneut versuchen",text_fetch_error:"Verbindungsproblem mit"},nl:{text_init:"Initializeren..",text_ready:"Anti-robotverificatie",button_start:"Klik om te starten",text_fetching:"Aan het laden..",text_solving:"Anti-robotverificatie bezig..",text_completed:"Ik ben een mens",text_expired:"Verificatie verlopen",button_restart:"Opnieuw starten",text_error:"Verificatie mislukt",button_retry:"Opnieuw proberen",text_fetch_error:"Verbinding mislukt met"},fr:{text_init:"Chargement..",text_ready:"Verification Anti-Robot",button_start:"Cliquez ici pour vérifier",text_fetching:"Chargement du challenge",text_solving:"Vérification que vous êtes humain..",text_completed:"Je suis humain",text_expired:"Verification échue",button_restart:"Recommencer",text_error:"Echec de verification",button_retry:"Recommencer",text_fetch_error:"Problème de connexion avec"},it:{text_init:"Inizializzazione...",text_ready:"Verifica Anti-Robot",button_start:"Clicca per iniziare",text_fetching:"Caricamento...",text_solving:"Verificando che sei umano...",text_completed:"Non sono un robot",text_expired:"Verifica Anti-Robot scaduta",button_restart:"Ricomincia",text_error:"Verifica fallita",button_retry:"Riprova",text_fetch_error:"Problema di connessione con"},pt:{text_init:"Inicializando..",text_ready:"Verificação Anti-Robô",button_start:"Clique para iniciar verificação",text_fetching:"Carregando..",text_solving:"Verificando se você é humano..",text_completed:"Eu sou humano",text_expired:"Verificação Anti-Robô expirada",button_restart:"Reiniciar",text_error:"Verificação falhou",button_retry:"Tentar novamente",text_fetch_error:"Falha de conexão com"},es:{text_init:"Inicializando..",text_ready:"Verificación Anti-Robot",button_start:"Haga clic para iniciar la verificación",text_fetching:"Cargando desafío",text_solving:"Verificando que eres humano..",text_completed:"Soy humano",text_expired:"Verificación Anti-Robot expirada",button_restart:"Reiniciar",text_error:"Ha fallado la verificación",button_retry:"Intentar de nuevo",text_fetch_error:"Error al conectarse a"},ca:{text_init:"Inicialitzant...",text_ready:"Verificació Anti-Robot",button_start:"Fes clic per començar la verificació",text_fetching:"Carregant repte",text_solving:"Verificant que ets humà..",text_completed:"Soc humà",text_expired:"La verificació Anti-Robot ha expirat",button_restart:"Reiniciar",text_error:"Ha fallat la verificació",button_retry:"Tornar a provar",text_fetch_error:"Error connectant a"}};let d;"undefined"!=typeof window&&(d=window.URL||window.webkitURL);class f{constructor(t,e={}){if(this.worker=null,this.valid=!1,this.needsReInit=!1,this.hasBeenStarted=!1,this.hasBeenDestroyed=!1,this.opts=Object.assign({forceJSFallback:!1,startMode:"focus",puzzleEndpoint:t.dataset.puzzleEndpoint||"https://api.friendlycaptcha.com/api/v1/puzzle",startedCallback:()=>0,readyCallback:()=>0,doneCallback:()=>0,errorCallback:()=>0,sitekey:t.dataset.sitekey||"",language:t.dataset.lang||"en",solutionFieldName:t.dataset.solutionFieldName||"frc-captcha-solution"},e),this.e=t,"string"==typeof this.opts.language){let t=h[this.opts.language.toLowerCase()];void 0===t&&(console.error('FriendlyCaptcha: language "'+this.opts.language+'" not found.'),t=h.en),this.lang=t}else this.lang=Object.assign(Object.assign({},h.en),this.opts.language);t.innerText=this.lang.text_init,function(){if(!document.querySelector("#frc-style")){const t=document.createElement("style");t.type="text/css",t.id="frc-style",t.innerHTML=".frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}",document.head.appendChild(t)}}(),this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start)}init(t){var e;if(this.hasBeenDestroyed)console.error("FriendlyCaptcha widget has been destroyed using destroy(), it can not be used anymore.");else if(this.initWorker(),this.setupSolver(),t)this.start();else if("none"!==this.e.dataset.start&&("focus"===this.opts.startMode||"focus"===this.e.dataset.start)){const t=function(t){for(;"FORM"!==t.tagName;)if(!(t=t.parentElement))return null;return t}(this.e);t?(e=()=>{this.hasBeenStarted||this.start()},t.addEventListener("focusin",e,{once:!0,passive:!0})):console.log("FriendlyCaptcha div seems not to be contained in a form, autostart will not work")}}async setupSolver(){if(this.opts.forceJSFallback)this.worker.postMessage({type:"js"});else try{const t=WebAssembly.compile(s("AGFzbQEAAAABKghgAABgAn9/AGADf39/AX9gAX8AYAR/f39/AGAAAX9gAX8Bf2ACf38BfwINAQNlbnYFYWJvcnQABAMMCwcGAwAAAQIFAQIABQMBAAEGFgR/AUEAC38BQQALfwBBAwt/AEHgDAsHbgkGbWVtb3J5AgAHX19hbGxvYwABCF9fcmV0YWluAAIJX19yZWxlYXNlAAMJX19jb2xsZWN0AAQHX19yZXNldAAFC19fcnR0aV9iYXNlAwMNVWludDhBcnJheV9JRAMCDHNvbHZlQmxha2UyYgAKCAELCvgSC5IBAQV/IABB8P///wNLBEAACyMBQRBqIgQgAEEPakFwcSICQRAgAkEQSxsiBmoiAj8AIgVBEHQiA0sEQCAFIAIgA2tB//8DakGAgHxxQRB2IgMgBSADShtAAEEASARAIANAAEEASARAAAsLCyACJAEgBEEQayICIAY2AgAgAkEBNgIEIAIgATYCCCACIAA2AgwgBAsEACAACwMAAQsDAAELBgAjACQBC7sCAQF/AkAgAUUNACAAQQA6AAAgACABakEEayICQQA6AAMgAUECTQ0AIABBADoAASAAQQA6AAIgAkEAOgACIAJBADoAASABQQZNDQAgAEEAOgADIAJBADoAACABQQhNDQAgAEEAIABrQQNxIgJqIgBBADYCACAAIAEgAmtBfHEiAmpBHGsiAUEANgIYIAJBCE0NACAAQQA2AgQgAEEANgIIIAFBADYCECABQQA2AhQgAkEYTQ0AIABBADYCDCAAQQA2AhAgAEEANgIUIABBADYCGCABQQA2AgAgAUEANgIEIAFBADYCCCABQQA2AgwgACAAQQRxQRhqIgFqIQAgAiABayEBA0AgAUEgTwRAIABCADcDACAAQgA3AwggAEIANwMQIABCADcDGCABQSBrIQEgAEEgaiEADAELCwsLcgACfyAARQRAQQxBAhABIQALIAALQQA2AgAgAEEANgIEIABBADYCCCABQfD///8DIAJ2SwRAQcAKQfAKQRJBORAAAAsgASACdCIBQQAQASICIAEQBiAAKAIAGiAAIAI2AgAgACACNgIEIAAgATYCCCAAC88BAQJ/QaABQQAQASIAQQxBAxABQYABQQAQBzYCACAAQQxBBBABQQhBAxAHNgIEIABCADcDCCAAQQA2AhAgAEIANwMYIABCADcDICAAQgA3AyggAEIANwMwIABCADcDOCAAQgA3A0AgAEIANwNIIABCAD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EHNDUEFEAAAC0EMQQMQASIAIAE2AgAgACACNgIIIAAgATYCBCAADwsgAEEBaiEADAELC0EMQQMQAUEAQQAQBwsMAEGgDSQAQaANJAELC/oECQBBgQgLvwEBAgMEBQYHCAkKCwwNDg8OCgQICQ8NBgEMAAILBwUDCwgMAAUCDw0KDgMGBwEJBAcJAwENDAsOAgYFCgQADwgJAAUHAgQKDw4BCwwGCAMNAgwGCgALCAMEDQcFDw4BCQwFAQ8ODQQKAAcGAwkCCAsNCwcODAEDCQUADwQIBgIKBg8OCQsDAAgMAg0HAQQKBQoCCAQHBgEFDwsJDgMMDQAAAQIDBAUGBwgJCgsMDQ4PDgoECAkPDQYBDAACCwcFAwBBwAkLKRoAAAABAAAAAQAAABoAAABJAG4AdgBhAGwAaQBkACAAaQBuAHAAdQB0AEHwCQsxIgAAAAEAAAABAAAAIgAAAHMAcgBjAC8AcwBvAGwAdgBlAHIAVwBhAHMAbQAuAHQAcwBBsAoLKxwAAAABAAAAAQAAABwAAABJAG4AdgBhAGwAaQBkACAAbABlAG4AZwB0AGgAQeAKCzUmAAAAAQAAAAEAAAAmAAAAfgBsAGkAYgAvAGEAcgByAGEAeQBiAHUAZgBmAGUAcgAuAHQAcwBBoAsLNSYAAAABAAAAAQAAACYAAAB+AGwAaQBiAC8AcwB0AGEAdABpAGMAYQByAHIAYQB5AC4AdABzAEHgCwszJAAAAAEAAAABAAAAJAAAAEkAbgBkAGUAeAAgAG8AdQB0ACAAbwBmACAAcgBhAG4AZwBlAEGgDAszJAAAAAEAAAABAAAAJAAAAH4AbABpAGIALwB0AHkAcABlAGQAYQByAHIAYQB5AC4AdABzAEHgDAsuBgAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAGEAAAACAAAAIQIAAAIAAAAkAg=="));this.worker.postMessage({type:"module",module:await t})}catch(t){console.log("FriendlyCaptcha failed to initialize WebAssembly, falling back to Javascript solver: "+t.toString()),this.worker.postMessage({type:"js"})}}makeButtonStart(){const t=this.e.querySelector("button");t&&(t.addEventListener("click",(()=>this.start()),{once:!0,passive:!0}),t.addEventListener("touchstart",(()=>this.start()),{once:!0,passive:!0}))}onWorkerError(t){this.needsReInit=!0,this.e.innerHTML=r(this.opts.solutionFieldName,this.lang,"Background worker error "+t.message),this.makeButtonStart(),this.opts.forceJSFallback=!0}initWorker(){this.worker&&this.worker.terminate();const e=new Blob(['!function(){"use strict";function t(t){const e={},r=t.exports,n=r.memory,s=r.__alloc,o=r.__retain,a=r.__rtti_base||-1;return e.__allocArray=(t,e)=>{const r=function(t){return new Uint32Array(n.buffer)[(a+4>>>2)+2*t]}(t),i=31-Math.clz32(r>>>6&31),c=e.length,f=s(c<<i,0),l=s(12,t),u=new Uint32Array(n.buffer);u[l+0>>>2]=o(f),u[l+4>>>2]=f,u[l+8>>>2]=c<<i;const y=n.buffer,p=new Uint8Array(y);if(16384&r)for(let t=0;t<c;++t)p[(f>>>i)+t]=o(e[t]);else p.set(e,f>>>i);return l},e.__getUint8Array=t=>{const e=new Uint32Array(n.buffer),r=e[t+4>>>2];return new Uint8Array(n.buffer,r,e[r-4>>>2]>>>0)},function(t,e={}){const r=t.__argumentsLength?e=>{t.__argumentsLength.value=e}:t.__setArgumentsLength||t.__setargc||(()=>({}));for(const n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;const s=t[n],o=n.split(".")[0];"function"==typeof s&&s!==r?(e[o]=(...t)=>(r(t.length),s(...t))).original=s:e[o]=s}return e}(r,e)}class e{constructor(t){this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.v=new Uint32Array(32),this.m=new Uint32Array(32),this.outlen=t}}function r(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function n(t,e,r,n,s,o,a,i){const c=e[a],f=e[a+1],l=e[i],u=e[i+1];let y,p,w,h,_=t[r],A=t[r+1],g=t[n],U=t[n+1],b=t[s],m=t[s+1],d=t[o],v=t[o+1];y=_+g,p=(_&g|(_|g)&~y)>>>31,_=y,A=A+U+p,y=_+c,p=(_&c|(_|c)&~y)>>>31,_=y,A=A+f+p,w=d^_,h=v^A,d=h,v=w,y=b+d,p=(b&d|(b|d)&~y)>>>31,b=y,m=m+v+p,w=g^b,h=U^m,g=w>>>24^h<<8,U=h>>>24^w<<8,y=_+g,p=(_&g|(_|g)&~y)>>>31,_=y,A=A+U+p,y=_+l,p=(_&l|(_|l)&~y)>>>31,_=y,A=A+u+p,w=d^_,h=v^A,d=w>>>16^h<<16,v=h>>>16^w<<16,y=b+d,p=(b&d|(b|d)&~y)>>>31,b=y,m=m+v+p,w=g^b,h=U^m,g=h>>>31^w<<1,U=w>>>31^h<<1,t[r]=_,t[r+1]=A,t[n]=g,t[n+1]=U,t[s]=b,t[s+1]=m,t[o]=d,t[o+1]=v}const s=[4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225],o=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6,22,16,24,0,10,4,30,26,20,28,6,12,14,2,18,8,14,18,6,2,26,24,22,28,4,12,10,20,8,0,30,16,18,0,10,14,4,8,20,30,28,2,22,24,12,16,6,26,4,24,12,20,0,22,16,6,8,26,14,10,30,28,2,18,24,10,2,30,28,26,8,20,0,14,12,6,18,4,16,22,26,22,14,28,24,2,6,18,10,0,30,8,16,12,4,20,12,30,28,18,22,6,0,16,24,4,26,14,2,8,20,10,20,4,16,8,14,12,2,10,30,22,18,28,6,24,26,0,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6];function a(t,e){const a=t.v,i=t.m;for(let e=0;e<16;e++)a[e]=t.h[e],a[e+16]=s[e];a[24]=a[24]^t.t,a[25]=a[25]^t.t/4294967296,e&&(a[28]=~a[28],a[29]=~a[29]);for(let e=0;e<32;e++)i[e]=r(t.b,4*e);for(let t=0;t<12;t++)n(a,i,0,8,16,24,o[16*t+0],o[16*t+1]),n(a,i,2,10,18,26,o[16*t+2],o[16*t+3]),n(a,i,4,12,20,28,o[16*t+4],o[16*t+5]),n(a,i,6,14,22,30,o[16*t+6],o[16*t+7]),n(a,i,0,10,20,30,o[16*t+8],o[16*t+9]),n(a,i,2,12,22,24,o[16*t+10],o[16*t+11]),n(a,i,4,14,16,26,o[16*t+12],o[16*t+13]),n(a,i,6,8,18,28,o[16*t+14],o[16*t+15]);for(let e=0;e<16;e++)t.h[e]=t.h[e]^a[e]^a[e+16]}function i(t,e){for(let e=0;e<16;e++)t.h[e]=s[e];t.b.set(e),t.h[0]^=16842752^t.outlen}function c(t,e){const r=new Uint8Array(3),n=new DataView(r.buffer);return n.setUint8(0,t),n.setUint16(1,e),r}let f,l;Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(t,e){return new Uint8Array(Array.prototype.slice.call(this,t,e))}}),self.ASC_TARGET=0;let u=new Promise((t=>l=t)),y=!1;self.onerror=t=>{self.postMessage({type:"error",message:JSON.stringify(t)})},self.onmessage=async r=>{const n=r.data,s=n.type;try{if("module"===s){const e=await async function(e){const r=await async function(e){const r={env:{abort(){throw Error("Wasm aborted")}}};return{exports:t(await WebAssembly.instantiate(e,r))}}(e),n=r.exports.__retain(r.exports.__allocArray(r.exports.Uint8Array_ID,new Uint8Array(128)));let s=r.exports.__getUint8Array(n);return(t,e,o=4294967295)=>{s.set(t);const a=r.exports.solveBlake2b(n,e,o);s=r.exports.__getUint8Array(n);const i=r.exports.__getUint8Array(a);return r.exports.__release(a),[s,i]}}(n.module);self.postMessage({type:"ready",solver:2}),f=2,l(e)}else if("js"===s){const t=await async function(){return(t,r,n=4294967295)=>[t,function(t,r,n){if(128!=t.length)throw Error("Invalid input");const s=t.buffer,o=new DataView(s),c=new e(32);c.t=128;const f=o.getUint32(124,!0),l=f+n;for(let e=f;e<l;e++)if(o.setUint32(124,e,!0),i(c,t),a(c,!0),c.h[0]<r)return 0==ASC_TARGET?new Uint8Array(c.h.buffer):Uint8Array.wrap(c.h.buffer);return new Uint8Array(0)}(t,r,n)]}();self.postMessage({type:"ready",solver:1}),f=1,l(t)}else if("start"===s){if(y)return;y=!0;const t=await u;self.postMessage({type:"started"});let e=Date.now(),r=0;const s=function(t,e){const r=[];for(let n=0;n<e;n++){const e=new Uint8Array(128);e.set(t),e[120]=n,r.push(e)}return r}(n.buffer,n.n),a=new Uint8Array(8*n.n);for(var o=0;o<s.length;o++){const e=Date.now();let i;for(var p=0;p<256;p++){s[o][123]=p;const[e,r]=t(s[o],n.threshold);if(0!==r.length){i=e;break}console.warn("FC: Internal error or no solution found")}const c=new DataView(i.slice(-4).buffer).getUint32(0,!0),f=(Date.now()-e)/1e3;r+=c,a.set(i.slice(-8),8*o),self.postMessage({type:"progress",n:n.n,h:c,t:f,i:o})}const i=(Date.now()-e)/1e3,l={type:"done",solution:a,h:r,t:i,diagnostics:c(f,i),solver:f};self.postMessage(l)}}catch(t){setTimeout((()=>{throw t}))}}}();'],{type:"text/javascript"});this.worker=new Worker(d.createObjectURL(e)),this.worker.onerror=t=>this.onWorkerError(t),this.worker.onmessage=e=>{if(this.hasBeenDestroyed)return;const r=e.data;var i;if(r)if("progress"===r.type)!function(t,e){const A=t.querySelector(".frc-progress"),r=(e.i+1)/e.n;A&&(A.value=r,A.innerText=r.toFixed(2)+"%",A.title=e.i+1+"/"+e.n+" ("+(e.h/e.t*.001).toFixed(0)+"K/s)")}(this.e,r);else if("ready"===r.type)this.e.innerHTML=A(this.opts.solutionFieldName,'<path d="M17,11c0.34,0,0.67,0.04,1,0.09V6.27L10.5,3L3,6.27v4.91c0,4.54,3.2,8.79,7.5,9.82c0.55-0.13,1.08-0.32,1.6-0.55 C11.41,19.47,11,18.28,11,17C11,13.69,13.69,11,17,11z"/><path d="M17,13c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4s4-1.79,4-4C21,14.79,19.21,13,17,13z M17,14.38"/>',(i=this.lang).text_ready,".UNSTARTED",i.button_start,!1),this.makeButtonStart(),this.opts.readyCallback();else if("started"===r.type)this.e.innerHTML=function(e,r){return A(e,t,r.text_solving,".UNFINISHED",void 0,!0)}(this.opts.solutionFieldName,this.lang),this.opts.startedCallback();else if("done"===r.type){const t=this.handleDone(r);this.opts.doneCallback(t);const e=this.e.dataset.callback;e&&window[e](t)}else"error"===r.type&&this.onWorkerError(r)}}expire(){var t,r;this.e.innerHTML=(t=this.opts.solutionFieldName,r=this.lang,A(t,e,r.text_expired,".EXPIRED",r.button_restart)),this.makeButtonStart()}async start(){if(this.hasBeenDestroyed)return void console.error("Can not start FriendlyCaptcha widget which has been destroyed");this.hasBeenStarted=!0;const e=this.opts.sitekey||this.e.dataset.sitekey;if(!e)return console.error("FriendlyCaptcha: sitekey not set on frc-captcha element"),void(this.e.innerHTML=r(this.opts.solutionFieldName,this.lang,"Website problem: sitekey not set",!1));if(function(){let t=!0;try{t=PluginArray.prototype===c.plugins.__proto__,c.plugins.length>0&&(t=t&&Plugin.prototype===c.plugins[0].__proto__)}catch(t){}return-1!==g.indexOf("headless")||-1!==c.appVersion.indexOf("Headless")||-1!==g.indexOf("bot")||-1!==g.indexOf("crawl")||!0===c.webdriver||!c.language||void 0!==c.languages&&!c.languages.length||!t}())this.e.innerHTML=r(this.opts.solutionFieldName,this.lang,"Browser check failed, try a different browser",!1);else{if(this.needsReInit)return this.needsReInit=!1,void this.init(!0);try{this.e.innerHTML=(i=this.opts.solutionFieldName,n=this.lang,A(i,t,n.text_fetching,".FETCHING",void 0,!0)),this.puzzle=function(t){const e=t.split("."),A=e[1],r=s(A);return{signature:e[0],base64:A,buffer:r,n:r[14],threshold:(i=r[15],i>255?i=255:i<0&&(i=0),Math.pow(2,(255.999-i)/8)>>>0),expiry:3e5*r[13]};var i}(await async function(t,e,A){const r=t.split(",");for(let t=0;t<r.length;t++)try{const A=await l(r[t]+"?sitekey="+e,{headers:[["x-frc-client","js-0.8.10"]],mode:"cors"},2);if(A.ok)return(await A.json()).data.puzzle;{let e;try{e=await A.json()}catch(t){}if(e&&e.errors&&"endpoint_not_enabled"===e.errors[0])throw Error(`Endpoint not allowed (${A.status})`);if(t===r.length-1)throw Error(`Response status ${A.status} ${A.statusText}`)}}catch(e){throw console.error("[FriendlyCaptcha]:",e),Error(`${A.text_fetch_error} <a style="text-decoration: underline; font-size: 0.9em;" href="${r[t]}">${r[t]}</a>`)}throw Error("Internal error")}(this.opts.puzzleEndpoint,e,this.lang)),setTimeout((()=>this.expire()),this.puzzle.expiry-3e4)}catch(t){this.e.innerHTML=r(this.opts.solutionFieldName,this.lang,t.message),this.makeButtonStart();const e="error_getting_puzzle";this.opts.errorCallback({code:e,description:t.toString(),error:t});const A=this.e.dataset["callback-error"];return void(A&&window[A](this))}var i,n;this.worker.postMessage({type:"start",buffer:this.puzzle.buffer,n:this.puzzle.n,threshold:this.puzzle.threshold})}}handleDone(t){this.valid=!0;const e=`${this.puzzle.signature}.${this.puzzle.base64}.${a(t.solution)}.${a(t.diagnostics)}`;return this.e.innerHTML=function(t,e,r,i){const n=`Completed: ${i.t.toFixed(0)}s (${(i.h/i.t*.001).toFixed(0)}K/s)${1===i.solver?" JS Fallback":""}`;return A(t,`<title>${n}</title><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"><animate attributeName="opacity" dur="1.0s" values="0;1"/></path>`,e.text_completed,r,void 0,!1,n)}(this.opts.solutionFieldName,this.lang,e,t),this.worker&&this.worker.terminate(),this.needsReInit=!0,e}destroy(){this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.e&&(this.e.remove(),delete this.e),this.hasBeenDestroyed=!0}reset(){this.hasBeenDestroyed?console.error("FriendlyCaptcha widget has been destroyed, it can not be used anymore"):(this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start))}}function u(){let t=window.friendlyChallenge.autoWidget;const e=function(){const t=document.querySelectorAll(".frc-captcha");return 0===t.length&&console.warn("FriendlyCaptcha: No div was found with .frc-captcha class"),t}();for(let A=0;A<e.length;A++){const r=e[A];r&&!r.dataset.attached&&(t=new f(r),r.dataset.attached="1")}window.friendlyChallenge.autoWidget=t}window.friendlyChallenge={WidgetInstance:f},"loading"!==document.readyState?u():document.addEventListener("DOMContentLoaded",u);
const t='<circle cx="12" cy="12" r="8" stroke-width="3" stroke-dasharray="15 10" fill="none" stroke-linecap="round" transform="rotate(0 12 12)"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="0.9s" values="0 12 12;360 12 12"/></circle>',e='<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>';function A(t,e,A,r,i,n=!1,o){return`<div class="frc-container">\n<svg class="frc-icon" role="img" xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 24 24">${e}</svg>\n<div class="frc-content">\n <span class="frc-text" ${o?`title="${o}"`:""}>${A}</span>\n ${i?`<button type="button" class="frc-button">${i}</button>`:""}\n ${n?'<progress class="frc-progress" value="0">0%</progress>':""}\n</div>\n</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>\n<input name="${t}" class="frc-captcha-solution" type="hidden" value="${r}">`}function r(t,r,i,n=!0){return A(t,e,`<b>${r.text_error}</b><br>${i}`,".ERROR",n?r.button_retry:void 0)}const i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="=".charCodeAt(0),o=new Uint8Array(256);for(let t=0;t<i.length;t++)o[i.charCodeAt(t)]=t;function a(t){const e=t.length;let A="";for(let r=0;r<e;r+=3){const e=t[r+0],n=t[r+1],o=t[r+2];A+=i.charAt(e>>>2),A+=i.charAt((3&e)<<4|n>>>4),A+=i.charAt((15&n)<<2|o>>>6),A+=i.charAt(63&o)}return e%3==2?A=A.substring(0,A.length-1)+"=":e%3==1&&(A=A.substring(0,A.length-2)+"=="),A}function s(t){const e=t.length;let A=3*e>>>2;t.charCodeAt(e-1)===n&&A--,t.charCodeAt(e-2)===n&&A--;const r=new Uint8Array(A);for(let A=0,i=0;A<e;A+=4){const e=o[t.charCodeAt(A+0)],n=o[t.charCodeAt(A+1)],a=o[t.charCodeAt(A+2)],s=o[t.charCodeAt(A+3)];r[i++]=e<<2|n>>4,r[i++]=(15&n)<<4|a>>2,r[i++]=(3&a)<<6|63&s}return r}let c,g;async function l(t,e,A){let r=1e3;return fetch(t,e).catch((async i=>{if(0===A)throw i;return await new Promise((t=>setTimeout(t,r))),r*=4,l(t,e,A-1)}))}"undefined"!=typeof navigator&&(c=navigator,g=c.userAgent.toLowerCase());const h={en:{text_init:"Initializing..",text_ready:"Anti-Robot Verification",button_start:"Click to start verification",text_fetching:"Fetching Challenge",text_solving:"Verifying you are human..",text_completed:"I am human",text_expired:"Anti-Robot verification expired",button_restart:"Restart",text_error:"Verification failed",button_retry:"Retry",text_fetch_error:"Failed to connect to"},de:{text_init:"Initialisierung..",text_ready:"Anti-Roboter-Verifizierung",button_start:"Hier klicken",text_fetching:"Herausforderung laden..",text_solving:"Verifizierung, dass Sie ein Mensch sind..",text_completed:"Ich bin ein Mensch",text_expired:"Verifizierung abgelaufen",button_restart:"Erneut starten",text_error:"Verifizierung fehlgeschlagen",button_retry:"Erneut versuchen",text_fetch_error:"Verbindungsproblem mit"},nl:{text_init:"Initializeren..",text_ready:"Anti-robotverificatie",button_start:"Klik om te starten",text_fetching:"Aan het laden..",text_solving:"Anti-robotverificatie bezig..",text_completed:"Ik ben een mens",text_expired:"Verificatie verlopen",button_restart:"Opnieuw starten",text_error:"Verificatie mislukt",button_retry:"Opnieuw proberen",text_fetch_error:"Verbinding mislukt met"},fr:{text_init:"Chargement..",text_ready:"Verification Anti-Robot",button_start:"Cliquez ici pour vérifier",text_fetching:"Chargement du challenge",text_solving:"Vérification que vous êtes humain..",text_completed:"Je suis humain",text_expired:"Verification échue",button_restart:"Recommencer",text_error:"Echec de verification",button_retry:"Recommencer",text_fetch_error:"Problème de connexion avec"},it:{text_init:"Inizializzazione...",text_ready:"Verifica Anti-Robot",button_start:"Clicca per iniziare",text_fetching:"Caricamento...",text_solving:"Verificando che sei umano...",text_completed:"Non sono un robot",text_expired:"Verifica Anti-Robot scaduta",button_restart:"Ricomincia",text_error:"Verifica fallita",button_retry:"Riprova",text_fetch_error:"Problema di connessione con"},pt:{text_init:"Inicializando..",text_ready:"Verificação Anti-Robô",button_start:"Clique para iniciar verificação",text_fetching:"Carregando..",text_solving:"Verificando se você é humano..",text_completed:"Eu sou humano",text_expired:"Verificação Anti-Robô expirada",button_restart:"Reiniciar",text_error:"Verificação falhou",button_retry:"Tentar novamente",text_fetch_error:"Falha de conexão com"},es:{text_init:"Inicializando..",text_ready:"Verificación Anti-Robot",button_start:"Haga clic para iniciar la verificación",text_fetching:"Cargando desafío",text_solving:"Verificando que eres humano..",text_completed:"Soy humano",text_expired:"Verificación Anti-Robot expirada",button_restart:"Reiniciar",text_error:"Ha fallado la verificación",button_retry:"Intentar de nuevo",text_fetch_error:"Error al conectarse a"},ca:{text_init:"Inicialitzant...",text_ready:"Verificació Anti-Robot",button_start:"Fes clic per començar la verificació",text_fetching:"Carregant repte",text_solving:"Verificant que ets humà..",text_completed:"Soc humà",text_expired:"La verificació Anti-Robot ha expirat",button_restart:"Reiniciar",text_error:"Ha fallat la verificació",button_retry:"Tornar a provar",text_fetch_error:"Error connectant a"}};let d;"undefined"!=typeof window&&(d=window.URL||window.webkitURL);class f{constructor(t,e={}){if(this.worker=null,this.valid=!1,this.needsReInit=!1,this.hasBeenStarted=!1,this.hasBeenDestroyed=!1,this.opts=Object.assign({forceJSFallback:!1,startMode:"focus",puzzleEndpoint:t.dataset.puzzleEndpoint||"https://api.friendlycaptcha.com/api/v1/puzzle",startedCallback:()=>0,readyCallback:()=>0,doneCallback:()=>0,errorCallback:()=>0,sitekey:t.dataset.sitekey||"",language:t.dataset.lang||"en",solutionFieldName:t.dataset.solutionFieldName||"frc-captcha-solution"},e),this.e=t,"string"==typeof this.opts.language){let t=h[this.opts.language.toLowerCase()];void 0===t&&(console.error('FriendlyCaptcha: language "'+this.opts.language+'" not found.'),t=h.en),this.lang=t}else this.lang=Object.assign(Object.assign({},h.en),this.opts.language);t.innerText=this.lang.text_init,function(){if(!document.querySelector("#frc-style")){const t=document.createElement("style");t.type="text/css",t.id="frc-style",t.innerHTML=".frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8;text-decoration:none}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.frc-captcha-solution{display:none}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}",document.head.appendChild(t)}}(),this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start)}init(t){var e;if(this.hasBeenDestroyed)console.error("FriendlyCaptcha widget has been destroyed using destroy(), it can not be used anymore.");else if(this.initWorker(),this.setupSolver(),t)this.start();else if("none"!==this.e.dataset.start&&("focus"===this.opts.startMode||"focus"===this.e.dataset.start)){const t=function(t){for(;"FORM"!==t.tagName;)if(!(t=t.parentElement))return null;return t}(this.e);t?(e=()=>{this.hasBeenStarted||this.start()},t.addEventListener("focusin",e,{once:!0,passive:!0})):console.log("FriendlyCaptcha div seems not to be contained in a form, autostart will not work")}}async setupSolver(){if(this.opts.forceJSFallback)this.worker.postMessage({type:"js"});else try{const t=WebAssembly.compile(s("AGFzbQEAAAABKghgAABgAn9/AGADf39/AX9gAX8AYAR/f39/AGAAAX9gAX8Bf2ACf38BfwINAQNlbnYFYWJvcnQABAMMCwcGAwAAAQIFAQIABQMBAAEGFgR/AUEAC38BQQALfwBBAwt/AEHgDAsHbgkGbWVtb3J5AgAHX19hbGxvYwABCF9fcmV0YWluAAIJX19yZWxlYXNlAAMJX19jb2xsZWN0AAQHX19yZXNldAAFC19fcnR0aV9iYXNlAwMNVWludDhBcnJheV9JRAMCDHNvbHZlQmxha2UyYgAKCAELCvgSC5IBAQV/IABB8P///wNLBEAACyMBQRBqIgQgAEEPakFwcSICQRAgAkEQSxsiBmoiAj8AIgVBEHQiA0sEQCAFIAIgA2tB//8DakGAgHxxQRB2IgMgBSADShtAAEEASARAIANAAEEASARAAAsLCyACJAEgBEEQayICIAY2AgAgAkEBNgIEIAIgATYCCCACIAA2AgwgBAsEACAACwMAAQsDAAELBgAjACQBC7sCAQF/AkAgAUUNACAAQQA6AAAgACABakEEayICQQA6AAMgAUECTQ0AIABBADoAASAAQQA6AAIgAkEAOgACIAJBADoAASABQQZNDQAgAEEAOgADIAJBADoAACABQQhNDQAgAEEAIABrQQNxIgJqIgBBADYCACAAIAEgAmtBfHEiAmpBHGsiAUEANgIYIAJBCE0NACAAQQA2AgQgAEEANgIIIAFBADYCECABQQA2AhQgAkEYTQ0AIABBADYCDCAAQQA2AhAgAEEANgIUIABBADYCGCABQQA2AgAgAUEANgIEIAFBADYCCCABQQA2AgwgACAAQQRxQRhqIgFqIQAgAiABayEBA0AgAUEgTwRAIABCADcDACAAQgA3AwggAEIANwMQIABCADcDGCABQSBrIQEgAEEgaiEADAELCwsLcgACfyAARQRAQQxBAhABIQALIAALQQA2AgAgAEEANgIEIABBADYCCCABQfD///8DIAJ2SwRAQcAKQfAKQRJBORAAAAsgASACdCIBQQAQASICIAEQBiAAKAIAGiAAIAI2AgAgACACNgIEIAAgATYCCCAAC88BAQJ/QaABQQAQASIAQQxBAxABQYABQQAQBzYCACAAQQxBBBABQQhBAxAHNgIEIABCADcDCCAAQQA2AhAgAEIANwMYIABCADcDICAAQgA3AyggAEIANwMwIABCADcDOCAAQgA3A0AgAEIANwNIIABCADcDUCAAQgA3A1ggAEIANwNgIABCADcDaCAAQgA3A3AgAEIANwN4IABCADcDgAEgAEIANwOIASAAQgA3A5ABQYABQQUQASIBQYABEAYgACABNgKYASAAQSA2ApwBIAAL3AkCBH8TfiAAKAIEIQIgACgCmAEiAyEFA0AgBEGAAUgEQCAEIAVqIAEgBGopAwA3AwAgBEEIaiEEDAELCyACKAIEKQMAIQ4gAigCBCkDCCEPIAIoAgQpAxAhCSACKAIEKQMYIRAgAigCBCkDICEKIAIoAgQpAyghCyACKAIEKQMwIQwgAigCBCkDOCENQoiS853/zPmE6gAhBkK7zqqm2NDrs7t/IQdCq/DT9K/uvLc8IRNC8e30+KWn/aelfyEIIAApAwhC0YWa7/rPlIfRAIUhEUKf2PnZwpHagpt/IRRClIX5pcDKib5gIRJC+cL4m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0AEHwCQsxIgAAAAEAAAABAAAAIgAAAHMAcgBjAC8AcwBvAGwAdgBlAHIAVwBhAHMAbQAuAHQAcwBBsAoLKxwAAAABAAAAAQAAABwAAABJAG4AdgBhAGwAaQBkACAAbABlAG4AZwB0AGgAQeAKCzUmAAAAAQAAAAEAAAAmAAAAfgBsAGkAYgAvAGEAcgByAGEAeQBiAHUAZgBmAGUAcgAuAHQAcwBBoAsLNSYAAAABAAAAAQAAACYAAAB+AGwAaQBiAC8AcwB0AGEAdABpAGMAYQByAHIAYQB5AC4AdABzAEHgCwszJAAAAAEAAAABAAAAJAAAAEkAbgBkAGUAeAAgAG8AdQB0ACAAbwBmACAAcgBhAG4AZwBlAEGgDAszJAAAAAEAAAABAAAAJAAAAH4AbABpAGIALwB0AHkAcABlAGQAYQByAHIAYQB5AC4AdABzAEHgDAsuBgAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAGEAAAACAAAAIQIAAAIAAAAkAg=="));this.worker.postMessage({type:"module",module:await t})}catch(t){console.log("FriendlyCaptcha failed to initialize WebAssembly, falling back to Javascript solver: "+t.toString()),this.worker.postMessage({type:"js"})}}makeButtonStart(){const t=this.e.querySelector("button");t&&(t.addEventListener("click",(()=>this.start()),{once:!0,passive:!0}),t.addEventListener("touchstart",(()=>this.start()),{once:!0,passive:!0}))}onWorkerError(t){this.needsReInit=!0,this.e.innerHTML=r(this.opts.solutionFieldName,this.lang,"Background worker error "+t.message),this.makeButtonStart(),this.opts.forceJSFallback=!0}initWorker(){this.worker&&this.worker.terminate();const e=new Blob(['!function(){"use strict";function t(t){const e={},r=t.exports,n=r.memory,s=r.__alloc,o=r.__retain,a=r.__rtti_base||-1;return e.__allocArray=(t,e)=>{const r=function(t){return new Uint32Array(n.buffer)[(a+4>>>2)+2*t]}(t),i=31-Math.clz32(r>>>6&31),c=e.length,f=s(c<<i,0),l=s(12,t),u=new Uint32Array(n.buffer);u[l+0>>>2]=o(f),u[l+4>>>2]=f,u[l+8>>>2]=c<<i;const y=n.buffer,p=new Uint8Array(y);if(16384&r)for(let t=0;t<c;++t)p[(f>>>i)+t]=o(e[t]);else p.set(e,f>>>i);return l},e.__getUint8Array=t=>{const e=new Uint32Array(n.buffer),r=e[t+4>>>2];return new Uint8Array(n.buffer,r,e[r-4>>>2]>>>0)},function(t,e={}){const r=t.__argumentsLength?e=>{t.__argumentsLength.value=e}:t.__setArgumentsLength||t.__setargc||(()=>({}));for(const n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;const s=t[n],o=n.split(".")[0];"function"==typeof s&&s!==r?(e[o]=(...t)=>(r(t.length),s(...t))).original=s:e[o]=s}return e}(r,e)}class e{constructor(t){this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.v=new Uint32Array(32),this.m=new Uint32Array(32),this.outlen=t}}function r(t,e){return t[e]^t[e+1]<<8^t[e+2]<<16^t[e+3]<<24}function n(t,e,r,n,s,o,a,i){const c=e[a],f=e[a+1],l=e[i],u=e[i+1];let y,p,w,h,_=t[r],A=t[r+1],g=t[n],U=t[n+1],b=t[s],m=t[s+1],d=t[o],v=t[o+1];y=_+g,p=(_&g|(_|g)&~y)>>>31,_=y,A=A+U+p,y=_+c,p=(_&c|(_|c)&~y)>>>31,_=y,A=A+f+p,w=d^_,h=v^A,d=h,v=w,y=b+d,p=(b&d|(b|d)&~y)>>>31,b=y,m=m+v+p,w=g^b,h=U^m,g=w>>>24^h<<8,U=h>>>24^w<<8,y=_+g,p=(_&g|(_|g)&~y)>>>31,_=y,A=A+U+p,y=_+l,p=(_&l|(_|l)&~y)>>>31,_=y,A=A+u+p,w=d^_,h=v^A,d=w>>>16^h<<16,v=h>>>16^w<<16,y=b+d,p=(b&d|(b|d)&~y)>>>31,b=y,m=m+v+p,w=g^b,h=U^m,g=h>>>31^w<<1,U=w>>>31^h<<1,t[r]=_,t[r+1]=A,t[n]=g,t[n+1]=U,t[s]=b,t[s+1]=m,t[o]=d,t[o+1]=v}const s=[4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225],o=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6,22,16,24,0,10,4,30,26,20,28,6,12,14,2,18,8,14,18,6,2,26,24,22,28,4,12,10,20,8,0,30,16,18,0,10,14,4,8,20,30,28,2,22,24,12,16,6,26,4,24,12,20,0,22,16,6,8,26,14,10,30,28,2,18,24,10,2,30,28,26,8,20,0,14,12,6,18,4,16,22,26,22,14,28,24,2,6,18,10,0,30,8,16,12,4,20,12,30,28,18,22,6,0,16,24,4,26,14,2,8,20,10,20,4,16,8,14,12,2,10,30,22,18,28,6,24,26,0,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6];function a(t,e){const a=t.v,i=t.m;for(let e=0;e<16;e++)a[e]=t.h[e],a[e+16]=s[e];a[24]=a[24]^t.t,a[25]=a[25]^t.t/4294967296,e&&(a[28]=~a[28],a[29]=~a[29]);for(let e=0;e<32;e++)i[e]=r(t.b,4*e);for(let t=0;t<12;t++)n(a,i,0,8,16,24,o[16*t+0],o[16*t+1]),n(a,i,2,10,18,26,o[16*t+2],o[16*t+3]),n(a,i,4,12,20,28,o[16*t+4],o[16*t+5]),n(a,i,6,14,22,30,o[16*t+6],o[16*t+7]),n(a,i,0,10,20,30,o[16*t+8],o[16*t+9]),n(a,i,2,12,22,24,o[16*t+10],o[16*t+11]),n(a,i,4,14,16,26,o[16*t+12],o[16*t+13]),n(a,i,6,8,18,28,o[16*t+14],o[16*t+15]);for(let e=0;e<16;e++)t.h[e]=t.h[e]^a[e]^a[e+16]}function i(t,e){for(let e=0;e<16;e++)t.h[e]=s[e];t.b.set(e),t.h[0]^=16842752^t.outlen}function c(t,e){const r=new Uint8Array(3),n=new DataView(r.buffer);return n.setUint8(0,t),n.setUint16(1,e),r}let f,l;Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(t,e){return new Uint8Array(Array.prototype.slice.call(this,t,e))}}),self.ASC_TARGET=0;let u=new Promise((t=>l=t)),y=!1;self.onerror=t=>{self.postMessage({type:"error",message:JSON.stringify(t)})},self.onmessage=async r=>{const n=r.data,s=n.type;try{if("module"===s){const e=await async function(e){const r=await async function(e){const r={env:{abort(){throw Error("Wasm aborted")}}};return{exports:t(await WebAssembly.instantiate(e,r))}}(e),n=r.exports.__retain(r.exports.__allocArray(r.exports.Uint8Array_ID,new Uint8Array(128)));let s=r.exports.__getUint8Array(n);return(t,e,o=4294967295)=>{s.set(t);const a=r.exports.solveBlake2b(n,e,o);s=r.exports.__getUint8Array(n);const i=r.exports.__getUint8Array(a);return r.exports.__release(a),[s,i]}}(n.module);self.postMessage({type:"ready",solver:2}),f=2,l(e)}else if("js"===s){const t=await async function(){return(t,r,n=4294967295)=>[t,function(t,r,n){if(128!=t.length)throw Error("Invalid input");const s=t.buffer,o=new DataView(s),c=new e(32);c.t=128;const f=o.getUint32(124,!0),l=f+n;for(let e=f;e<l;e++)if(o.setUint32(124,e,!0),i(c,t),a(c,!0),c.h[0]<r)return 0==ASC_TARGET?new Uint8Array(c.h.buffer):Uint8Array.wrap(c.h.buffer);return new Uint8Array(0)}(t,r,n)]}();self.postMessage({type:"ready",solver:1}),f=1,l(t)}else if("start"===s){if(y)return;y=!0;const t=await u;self.postMessage({type:"started"});let e=Date.now(),r=0;const s=function(t,e){const r=[];for(let n=0;n<e;n++){const e=new Uint8Array(128);e.set(t),e[120]=n,r.push(e)}return r}(n.buffer,n.n),a=new Uint8Array(8*n.n);for(var o=0;o<s.length;o++){const e=Date.now();let i;for(var p=0;p<256;p++){s[o][123]=p;const[e,r]=t(s[o],n.threshold);if(0!==r.length){i=e;break}console.warn("FC: Internal error or no solution found")}const c=new DataView(i.slice(-4).buffer).getUint32(0,!0),f=(Date.now()-e)/1e3;r+=c,a.set(i.slice(-8),8*o),self.postMessage({type:"progress",n:n.n,h:c,t:f,i:o})}const i=(Date.now()-e)/1e3,l={type:"done",solution:a,h:r,t:i,diagnostics:c(f,i),solver:f};self.postMessage(l)}}catch(t){setTimeout((()=>{throw t}))}}}();'],{type:"text/javascript"});this.worker=new Worker(d.createObjectURL(e)),this.worker.onerror=t=>this.onWorkerError(t),this.worker.onmessage=e=>{if(this.hasBeenDestroyed)return;const r=e.data;var i;if(r)if("progress"===r.type)!function(t,e){const A=t.querySelector(".frc-progress"),r=(e.i+1)/e.n;A&&(A.value=r,A.innerText=r.toFixed(2)+"%",A.title=e.i+1+"/"+e.n+" ("+(e.h/e.t*.001).toFixed(0)+"K/s)")}(this.e,r);else if("ready"===r.type)this.e.innerHTML=A(this.opts.solutionFieldName,'<path d="M17,11c0.34,0,0.67,0.04,1,0.09V6.27L10.5,3L3,6.27v4.91c0,4.54,3.2,8.79,7.5,9.82c0.55-0.13,1.08-0.32,1.6-0.55 C11.41,19.47,11,18.28,11,17C11,13.69,13.69,11,17,11z"/><path d="M17,13c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4s4-1.79,4-4C21,14.79,19.21,13,17,13z M17,14.38"/>',(i=this.lang).text_ready,".UNSTARTED",i.button_start,!1),this.makeButtonStart(),this.opts.readyCallback();else if("started"===r.type)this.e.innerHTML=function(e,r){return A(e,t,r.text_solving,".UNFINISHED",void 0,!0)}(this.opts.solutionFieldName,this.lang),this.opts.startedCallback();else if("done"===r.type){const t=this.handleDone(r);this.opts.doneCallback(t);const e=this.e.dataset.callback;e&&window[e](t)}else"error"===r.type&&this.onWorkerError(r)}}expire(){var t,r;this.e.innerHTML=(t=this.opts.solutionFieldName,r=this.lang,A(t,e,r.text_expired,".EXPIRED",r.button_restart)),this.makeButtonStart()}async start(){if(this.hasBeenDestroyed)return void console.error("Can not start FriendlyCaptcha widget which has been destroyed");this.hasBeenStarted=!0;const e=this.opts.sitekey||this.e.dataset.sitekey;if(!e)return console.error("FriendlyCaptcha: sitekey not set on frc-captcha element"),void(this.e.innerHTML=r(this.opts.solutionFieldName,this.lang,"Website problem: sitekey not set",!1));if(function(){let t=!0;try{t=PluginArray.prototype===c.plugins.__proto__,c.plugins.length>0&&(t=t&&Plugin.prototype===c.plugins[0].__proto__)}catch(t){}return-1!==g.indexOf("headless")||-1!==c.appVersion.indexOf("Headless")||-1!==g.indexOf("bot")||-1!==g.indexOf("crawl")||!0===c.webdriver||!c.language||void 0!==c.languages&&!c.languages.length||!t}())this.e.innerHTML=r(this.opts.solutionFieldName,this.lang,"Browser check failed, try a different browser",!1);else{if(this.needsReInit)return this.needsReInit=!1,void this.init(!0);try{this.e.innerHTML=(i=this.opts.solutionFieldName,n=this.lang,A(i,t,n.text_fetching,".FETCHING",void 0,!0)),this.puzzle=function(t){const e=t.split("."),A=e[1],r=s(A);return{signature:e[0],base64:A,buffer:r,n:r[14],threshold:(i=r[15],i>255?i=255:i<0&&(i=0),Math.pow(2,(255.999-i)/8)>>>0),expiry:3e5*r[13]};var i}(await async function(t,e,A){const r=t.split(",");for(let t=0;t<r.length;t++)try{const A=await l(r[t]+"?sitekey="+e,{headers:[["x-frc-client","js-0.8.11"]],mode:"cors"},2);if(A.ok)return(await A.json()).data.puzzle;{let e;try{e=await A.json()}catch(t){}if(e&&e.errors&&"endpoint_not_enabled"===e.errors[0])throw Error(`Endpoint not allowed (${A.status})`);if(t===r.length-1)throw Error(`Response status ${A.status} ${A.statusText}`)}}catch(e){throw console.error("[FriendlyCaptcha]:",e),Error(`${A.text_fetch_error} <a style="text-decoration: underline; font-size: 0.9em;" href="${r[t]}">${r[t]}</a>`)}throw Error("Internal error")}(this.opts.puzzleEndpoint,e,this.lang)),setTimeout((()=>this.expire()),this.puzzle.expiry-3e4)}catch(t){this.e.innerHTML=r(this.opts.solutionFieldName,this.lang,t.message),this.makeButtonStart();const e="error_getting_puzzle";this.opts.errorCallback({code:e,description:t.toString(),error:t});const A=this.e.dataset["callback-error"];return void(A&&window[A](this))}var i,n;this.worker.postMessage({type:"start",buffer:this.puzzle.buffer,n:this.puzzle.n,threshold:this.puzzle.threshold})}}handleDone(t){this.valid=!0;const e=`${this.puzzle.signature}.${this.puzzle.base64}.${a(t.solution)}.${a(t.diagnostics)}`;return this.e.innerHTML=function(t,e,r,i){const n=`Completed: ${i.t.toFixed(0)}s (${(i.h/i.t*.001).toFixed(0)}K/s)${1===i.solver?" JS Fallback":""}`;return A(t,`<title>${n}</title><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"><animate attributeName="opacity" dur="1.0s" values="0;1"/></path>`,e.text_completed,r,void 0,!1,n)}(this.opts.solutionFieldName,this.lang,e,t),this.worker&&this.worker.terminate(),this.needsReInit=!0,e}destroy(){this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.e&&(this.e.remove(),delete this.e),this.hasBeenDestroyed=!0}reset(){this.hasBeenDestroyed?console.error("FriendlyCaptcha widget has been destroyed, it can not be used anymore"):(this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start))}}function u(){let t=window.friendlyChallenge.autoWidget;const e=function(){const t=document.querySelectorAll(".frc-captcha");return 0===t.length&&console.warn("FriendlyCaptcha: No div was found with .frc-captcha class"),t}();for(let A=0;A<e.length;A++){const r=e[A];r&&!r.dataset.attached&&(t=new f(r),r.dataset.attached="1")}window.friendlyChallenge.autoWidget=t}window.friendlyChallenge={WidgetInstance:f},"loading"!==document.readyState?u():document.addEventListener("DOMContentLoaded",u);

@@ -11,2 +11,2 @@ /* Promise polyfill (promis@1.1.4) */

"use strict";"function"!=typeof Object.assign&&(Object.assign=function(n){if(null==n)throw new TypeError("Cannot convert undefined or null to object");for(var r=Object(n),t=1;t<arguments.length;t++){var e=arguments[t];if(null!=e)for(var o in e)e.hasOwnProperty(o)&&(r[o]=e[o])}return r});
/* End of FriendlyCaptcha polyfills */!function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}!function(){var r,n,i='<circle cx="12" cy="12" r="8" stroke-width="3" stroke-dasharray="15 10" fill="none" stroke-linecap="round" transform="rotate(0 12 12)"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="0.9s" values="0 12 12;360 12 12"/></circle>',o='<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>';function A(t,e,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],A=arguments.length>6?arguments[6]:void 0;return'<div class="frc-container">\n<svg class="frc-icon" role="img" xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 24 24">'.concat(e,'</svg>\n<div class="frc-content">\n <span class="frc-text" ').concat(A?'title="'.concat(A,'"'):"",">").concat(r,"</span>\n ").concat(i?'<button type="button" class="frc-button">'.concat(i,"</button>"):"","\n ").concat(o?'<progress class="frc-progress" value="0">0%</progress>':"",'\n</div>\n</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" style="text-decoration:none;" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>\n<input name="').concat(t,'" class="frc-captcha-solution" style="display: none;" type="hidden" value="').concat(n,'">')}function a(t,e,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return A(t,o,"<b>".concat(e.text_error,"</b><br>").concat(r),".ERROR",n?e.button_retry:void 0)}function s(){if(!document.querySelector("#frc-style")){var t=document.createElement("style");t.type="text/css",t.id="frc-style",t.innerHTML=".frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}",document.head.appendChild(t)}}for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="=".charCodeAt(0),l=new Uint8Array(256),f=0;f<c.length;f++)l[c.charCodeAt(f)]=f;function g(t){for(var e=t.length,r="",n=0;n<e;n+=3){var i=t[n+0],o=t[n+1],A=t[n+2];r+=c.charAt(i>>>2),r+=c.charAt((3&i)<<4|o>>>4),r+=c.charAt((15&o)<<2|A>>>6),r+=c.charAt(63&A)}return e%3==2?r=r.substring(0,r.length-1)+"=":e%3==1&&(r=r.substring(0,r.length-2)+"=="),r}function h(t){var e=t.length,r=3*e>>>2;t.charCodeAt(e-1)===u&&r--,t.charCodeAt(e-2)===u&&r--;for(var n=new Uint8Array(r),i=0,o=0;i<e;i+=4){var A=l[t.charCodeAt(i+0)],a=l[t.charCodeAt(i+1)],s=l[t.charCodeAt(i+2)],c=l[t.charCodeAt(i+3)];n[o++]=A<<2|a>>4,n[o++]=(15&a)<<4|s>>2,n[o++]=(3&s)<<6|63&c}return n}function d(t,r,n){return new Promise((function(i,o){var A,a,s;function c(){var t,r=(t=s(),function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var e=[],r=!0,n=!1,i=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done)&&(e.push(o.value),1!==e.length);r=!0);}catch(a){n=!0,i=a}finally{try{r||null==A.return||A.return()}finally{if(n)throw i}}return e}}(t)||function(t){if(t){if("string"==typeof t)return e(t,1);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,1):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return r++,u.bind(this,r)}function u(t){if(s=function(){return[t]},!(t<A.length))return[1];var e=function(e){try{throw console.error("[FriendlyCaptcha]:",e),Error("".concat(n.text_fetch_error,' <a style="text-decoration: underline; font-size: 0.9em;" href="').concat(A[t],'">').concat(A[t],"</a>"))}catch(r){return o(r)}};try{var a;return Promise.resolve(p(A[t]+"?sitekey="+r,{headers:[["x-frc-client","js-0.8.10"]],mode:"cors"},2)).then(function(r){try{var n=function(){return function(){try{return c}catch(t){return o(t)}}()};if((a=r).ok)return Promise.resolve(a.json()).then((function(t){try{return i(t.data.puzzle)}catch(r){return e(r)}}),e);var s,u=function(){try{if(s&&s.errors&&"endpoint_not_enabled"===s.errors[0])throw Error("Endpoint not allowed (".concat(a.status,")"));if(t===A.length-1)throw Error("Response status ".concat(a.status," ").concat(a.statusText));return n.call(this)}catch(r){return e(r)}}.bind(this),l=function(){try{return u()}catch(t){return e(t)}};try{return Promise.resolve(a.json()).then((function(t){try{return s=t,u()}catch(e){return l()}}),l)}catch(f){l()}return n.call(this)}catch(g){return e(g)}}.bind(this),e)}catch(u){e(u)}}return A=t.split(","),(a=function(t){for(;t;){if(t.then)return void t.then(a,o);try{if(t.pop){if(t.length)return t.pop()?l.call(this):t;t=c}else t=t.call(this)}catch(e){return o(e)}}}.bind(this))(u.bind(this,0));function l(){return o(Error("Internal error"))}}))}function p(t,e,r){return new Promise((function(n){var i=1e3;return n(fetch(t,e).catch((function(n){return new Promise((function(o,A){return 0===r?A(n):Promise.resolve(new Promise((function(t){return setTimeout(t,i)}))).then((function(){try{return i*=4,o(p(t,e,r-1))}catch(n){return A(n)}}),A)}))})))}))}"undefined"!=typeof navigator&&(r=navigator,n=r.userAgent.toLowerCase());var I,C={en:{text_init:"Initializing..",text_ready:"Anti-Robot Verification",button_start:"Click to start verification",text_fetching:"Fetching Challenge",text_solving:"Verifying you are human..",text_completed:"I am human",text_expired:"Anti-Robot verification expired",button_restart:"Restart",text_error:"Verification failed",button_retry:"Retry",text_fetch_error:"Failed to connect to"},de:{text_init:"Initialisierung..",text_ready:"Anti-Roboter-Verifizierung",button_start:"Hier klicken",text_fetching:"Herausforderung laden..",text_solving:"Verifizierung, dass Sie ein Mensch sind..",text_completed:"Ich bin ein Mensch",text_expired:"Verifizierung abgelaufen",button_restart:"Erneut starten",text_error:"Verifizierung fehlgeschlagen",button_retry:"Erneut versuchen",text_fetch_error:"Verbindungsproblem mit"},nl:{text_init:"Initializeren..",text_ready:"Anti-robotverificatie",button_start:"Klik om te starten",text_fetching:"Aan het laden..",text_solving:"Anti-robotverificatie bezig..",text_completed:"Ik ben een mens",text_expired:"Verificatie verlopen",button_restart:"Opnieuw starten",text_error:"Verificatie mislukt",button_retry:"Opnieuw proberen",text_fetch_error:"Verbinding mislukt met"},fr:{text_init:"Chargement..",text_ready:"Verification Anti-Robot",button_start:"Cliquez ici pour vérifier",text_fetching:"Chargement du challenge",text_solving:"Vérification que vous êtes humain..",text_completed:"Je suis humain",text_expired:"Verification échue",button_restart:"Recommencer",text_error:"Echec de verification",button_retry:"Recommencer",text_fetch_error:"Problème de connexion avec"},it:{text_init:"Inizializzazione...",text_ready:"Verifica Anti-Robot",button_start:"Clicca per iniziare",text_fetching:"Caricamento...",text_solving:"Verificando che sei umano...",text_completed:"Non sono un robot",text_expired:"Verifica Anti-Robot scaduta",button_restart:"Ricomincia",text_error:"Verifica fallita",button_retry:"Riprova",text_fetch_error:"Problema di connessione con"},pt:{text_init:"Inicializando..",text_ready:"Verificação Anti-Robô",button_start:"Clique para iniciar verificação",text_fetching:"Carregando..",text_solving:"Verificando se você é humano..",text_completed:"Eu sou humano",text_expired:"Verificação Anti-Robô expirada",button_restart:"Reiniciar",text_error:"Verificação falhou",button_retry:"Tentar novamente",text_fetch_error:"Falha de conexão com"},es:{text_init:"Inicializando..",text_ready:"Verificación Anti-Robot",button_start:"Haga clic para iniciar la verificación",text_fetching:"Cargando desafío",text_solving:"Verificando que eres humano..",text_completed:"Soy humano",text_expired:"Verificación Anti-Robot expirada",button_restart:"Reiniciar",text_error:"Ha fallado la verificación",button_retry:"Intentar de nuevo",text_fetch_error:"Error al conectarse a"},ca:{text_init:"Inicialitzant...",text_ready:"Verificació Anti-Robot",button_start:"Fes clic per començar la verificació",text_fetching:"Carregant repte",text_solving:"Verificant que ets humà..",text_completed:"Soc humà",text_expired:"La verificació Anti-Robot ha expirat",button_restart:"Reiniciar",text_error:"Ha fallat la verificació",button_retry:"Tornar a provar",text_fetch_error:"Error connectant a"}},y="https://api.friendlycaptcha.com/api/v1/puzzle";"undefined"!=typeof window&&(I=window.URL||window.webkitURL);var w=function(){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t(this,e),this.worker=null,this.valid=!1,this.needsReInit=!1,this.hasBeenStarted=!1,this.hasBeenDestroyed=!1,this.opts=Object.assign({forceJSFallback:!1,startMode:"focus",puzzleEndpoint:r.dataset.puzzleEndpoint||y,startedCallback:function(){return 0},readyCallback:function(){return 0},doneCallback:function(){return 0},errorCallback:function(){return 0},sitekey:r.dataset.sitekey||"",language:r.dataset.lang||"en",solutionFieldName:r.dataset.solutionFieldName||"frc-captcha-solution"},n),this.e=r,"string"==typeof this.opts.language){var i=C[this.opts.language.toLowerCase()];void 0===i&&(console.error('FriendlyCaptcha: language "'+this.opts.language+'" not found.'),i=C.en),this.lang=i}else this.lang=Object.assign(Object.assign({},C.en),this.opts.language);r.innerText=this.lang.text_init,s(),this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start)}var c;return(c=[{key:"init",value:function(t){var e,r=this;if(this.hasBeenDestroyed)console.error("FriendlyCaptcha widget has been destroyed using destroy(), it can not be used anymore.");else if(this.initWorker(),this.setupSolver(),t)this.start();else if("none"!==this.e.dataset.start&&("focus"===this.opts.startMode||"focus"===this.e.dataset.start)){var n=function(t){for(;"FORM"!==t.tagName;)if(!(t=t.parentElement))return null;return t}(this.e);n?(e=function(){r.hasBeenStarted||r.start()},n.addEventListener("focusin",e,{once:!0,passive:!0})):console.log("FriendlyCaptcha div seems not to be contained in a form, autostart will not work")}}},{key:"setupSolver",value:function(){return new Promise(function(t,e){if(this.opts.forceJSFallback)return this.worker.postMessage({type:"js"}),t();var r=function(){try{return t()}catch(r){return e(r)}},n=function(t){try{return console.log("FriendlyCaptcha failed to initialize WebAssembly, falling back to Javascript solver: "+t.toString()),this.worker.postMessage({type:"js"}),r()}catch(n){return e(n)}}.bind(this);try{var i;return i=WebAssembly.compile(h("AGFzbQEAAAABKghgAABgAn9/AGADf39/AX9gAX8AYAR/f39/AGAAAX9gAX8Bf2ACf38BfwINAQNlbnYFYWJvcnQABAMMCwcGAwAAAQIFAQIABQMBAAEGFgR/AUEAC38BQQALfwBBAwt/AEHgDAsHbgkGbWVtb3J5AgAHX19hbGxvYwABCF9fcmV0YWluAAIJX19yZWxlYXNlAAMJX19jb2xsZWN0AAQHX19yZXNldAAFC19fcnR0aV9iYXNlAwMNVWludDhBcnJheV9JRAMCDHNvbHZlQmxha2UyYgAKCAELCvgSC5IBAQV/IABB8P///wNLBEAACyMBQRBqIgQgAEEPakFwcSICQRAgAkEQSxsiBmoiAj8AIgVBEHQiA0sEQCAFIAIgA2tB//8DakGAgHxxQRB2IgMgBSADShtAAEEASARAIANAAEEASARAAAsLCyACJAEgBEEQayICIAY2AgAgAkEBNgIEIAIgATYCCCACIAA2AgwgBAsEACAACwMAAQsDAAELBgAjACQBC7sCAQF/AkAgAUUNACAAQQA6AAAgACABakEEayICQQA6AAMgAUECTQ0AIABBADoAASAAQQA6AAIgAkEAOgACIAJBADoAASABQQZNDQAgAEEAOgADIAJBADoAACABQQhNDQAgAEEAIABrQQNxIgJqIgBBADYCACAAIAEgAmtBfHEiAmpBHGsiAUEANgIYIAJBCE0NACAAQQA2AgQgAEEANgIIIAFBADYCECABQQA2AhQgAkEYTQ0AIABBADYCDCAAQQA2AhAgAEEANgIUIABBADYCGCABQQA2AgAgAUEANgIEIAFBADYCCCABQQA2AgwgACAAQQRxQRhqIgFqIQAgAiABayEBA0AgAUEgTwRAIABCADcDACAAQgA3AwggAEIANwMQIABCADcDGCABQSBrIQEgAEEgaiEADAELCwsLcgACfyAARQRAQQxBAhABIQALIAALQQA2AgAgAEEANgIEIABBADYCCCABQfD///8DIAJ2SwRAQcAKQfAKQRJBORAAAAsgASACdCIBQQAQASICIAEQBiAAKAIAGiAAIAI2AgAgACACNgIEIAAgATYCCCAAC88BAQJ/QaABQQAQASIAQQxBAxABQYABQQAQBzYCACAAQQxBBBABQQhBAxAHNgIEIABCADcDCCAAQQA2AhAgAEIANwMYIABCADcDICAAQgA3AyggAEIANwMwIABCADcDOCAAQgA3A0AgAEIANwNIIABCADcDUCAAQgA3A1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0EMQQMQASIAIAE2AgAgACACNgIIIAAgATYCBCAADwsgAEEBaiEADAELC0EMQQMQAUEAQQAQBwsMAEGgDSQAQaANJAELC/oECQBBgQgLvwEBAgMEBQYHCAkKCwwNDg8OCgQICQ8NBgEMAAILBwUDCwgMAAUCDw0KDgMGBwEJBAcJAwENDAsOAgYFCgQADwgJAAUHAgQKDw4BCwwGCAMNAgwGCgALCAMEDQcFDw4BCQwFAQ8ODQQKAAcGAwkCCAsNCwcODAEDCQUADwQIBgIKBg8OCQsDAAgMAg0HAQQKBQoCCAQHBgEFDwsJDgMMDQAAAQIDBAUGBwgJCgsMDQ4PDgoECAkPDQYBDAACCwcFAwBBwAkLKRoAAAABAAAAAQAAABoAAABJAG4AdgBhAGwAaQBkACAAaQBuAHAAdQB0AEHwCQsxIgAAAAEAAAABAAAAIgAAAHMAcgBjAC8AcwBvAGwAdgBlAHIAVwBhAHMAbQAuAHQAcwBBsAoLKxwAAAABAAAAAQAAABwAAABJAG4AdgBhAGwAaQBkACAAbABlAG4AZwB0AGgAQeAKCzUmAAAAAQAAAAEAAAAmAAAAfgBsAGkAYgAvAGEAcgByAGEAeQBiAHUAZgBmAGUAcgAuAHQAcwBBoAsLNSYAAAABAAAAAQAAACYAAAB+AGwAaQBiAC8AcwB0AGEAdABpAGMAYQByAHIAYQB5AC4AdABzAEHgCwszJAAAAAEAAAABAAAAJAAAAEkAbgBkAGUAeAAgAG8AdQB0ACAAbwBmACAAcgBhAG4AZwBlAEGgDAszJAAAAAEAAAABAAAAJAAAAH4AbABpAGIALwB0AHkAcABlAGQAYQByAHIAYQB5AC4AdABzAEHgDAsuBgAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAGEAAAACAAAAIQIAAAIAAAAkAg==")),Promise.resolve(i).then(function(t){try{return this.worker.postMessage({type:"module",module:t}),r()}catch(e){return n(e)}}.bind(this),n)}catch(o){n(o)}}.bind(this))}},{key:"makeButtonStart",value:function(){var t=this,e=this.e.querySelector("button");e&&(e.addEventListener("click",(function(){return t.start()}),{once:!0,passive:!0}),e.addEventListener("touchstart",(function(){return t.start()}),{once:!0,passive:!0}))}},{key:"onWorkerError",value:function(t){this.needsReInit=!0,this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Background worker error "+t.message),this.makeButtonStart(),this.opts.forceJSFallback=!0}},{key:"initWorker",value:function(){var t=this;this.worker&&this.worker.terminate();var e=new Blob(['!function(){function r(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(r)){var n=[],e=!0,o=!1,i=void 0;try{for(var a,u=r[Symbol.iterator]();!(e=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);e=!0);}catch(f){o=!0,i=f}finally{try{e||null==u.return||u.return()}finally{if(o)throw i}}return n}}(r,n)||function(r,n){if(r){if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(r,n):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=new Array(t);n<t;n++)e[n]=r[n];return e}!function(){"use strict";var r,t=[];function n(){for(;t.length;)t[0](),t.shift()}function e(r){this.a=o,this.b=void 0,this.f=[];var t=this;try{r((function(r){a(t,r)}),(function(r){u(t,r)}))}catch(n){u(t,n)}}r=function(){setTimeout(n)};var o=2;function i(r){return new e((function(t){t(r)}))}function a(r,t){if(r.a==o){if(t==r)throw new TypeError;var n=!1;try{var e=t&&t.then;if(null!=t&&"object"==typeof t&&"function"==typeof e)return void e.call(t,(function(t){n||a(r,t),n=!0}),(function(t){n||u(r,t),n=!0}))}catch(i){return void(n||u(r,i))}r.a=0,r.b=t,f(r)}}function u(r,t){if(r.a==o){if(t==r)throw new TypeError;r.a=1,r.b=t,f(r)}}function f(n){!function(n){t.push(n),1==t.length&&r()}((function(){if(n.a!=o)for(;n.f.length;){var r=(i=n.f.shift())[0],t=i[1],e=i[2],i=i[3];try{0==n.a?e("function"==typeof r?r.call(void 0,n.b):n.b):1==n.a&&("function"==typeof t?e(t.call(void 0,n.b)):i(n.b))}catch(a){i(a)}}}))}e.prototype.g=function(r){return this.c(void 0,r)},e.prototype.c=function(r,t){var n=this;return new e((function(e,o){n.f.push([r,t,e,o]),f(n)}))},self.Promise||(self.Promise=e,self.Promise.resolve=i,self.Promise.reject=function(r){return new e((function(t,n){n(r)}))},self.Promise.race=function(r){return new e((function(t,n){for(var e=0;e<r.length;e+=1)i(r[e]).c(t,n)}))},self.Promise.all=function(r){return new e((function(t,n){function e(n){return function(e){a[n]=e,(o+=1)==r.length&&t(a)}}var o=0,a=[];0==r.length&&t(a);for(var u=0;u<r.length;u+=1)i(r[u]).c(e(u),n)}))},self.Promise.prototype.then=e.prototype.c,self.Promise.prototype.catch=e.prototype.g)}(),function(){"use strict";var t=function r(t){!function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.v=new Uint32Array(32),this.m=new Uint32Array(32),this.outlen=t};function n(r,t){return r[t]^r[t+1]<<8^r[t+2]<<16^r[t+3]<<24}function e(r,t,n,e,o,i,a,u){var f,s,c,l=t[a],h=t[a+1],y=t[u],v=t[u+1],p=r[n],w=r[n+1],g=r[e],b=r[e+1],m=r[o],d=r[o+1],A=r[i],_=r[i+1];c=_^(w=(w=w+b+((p&g|(p|g)&~(f=p+g))>>>31))+h+(((p=f)&l|(p|l)&~(f=p+l))>>>31)),g=(c=(b=(c=b^(d=d+(_=s=A^(p=f))+((m&(A=c)|(m|A)&~(f=m+A))>>>31)))>>>24^(s=g^(m=f))<<8)^(d=d+(_=(c=_^(w=(w=w+b+((p&(g=s>>>24^c<<8)|(p|g)&~(f=p+g))>>>31))+v+(((p=f)&y|(p|y)&~(f=p+y))>>>31)))>>>16^(s=A^(p=f))<<16)+((m&(A=s>>>16^c<<16)|(m|A)&~(f=m+A))>>>31)))>>>31^(s=g^(m=f))<<1,b=s>>>31^c<<1,r[n]=p,r[n+1]=w,r[e]=g,r[e+1]=b,r[o]=m,r[o+1]=d,r[i]=A,r[i+1]=_}var o,i,a=[4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225],u=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6,22,16,24,0,10,4,30,26,20,28,6,12,14,2,18,8,14,18,6,2,26,24,22,28,4,12,10,20,8,0,30,16,18,0,10,14,4,8,20,30,28,2,22,24,12,16,6,26,4,24,12,20,0,22,16,6,8,26,14,10,30,28,2,18,24,10,2,30,28,26,8,20,0,14,12,6,18,4,16,22,26,22,14,28,24,2,6,18,10,0,30,8,16,12,4,20,12,30,28,18,22,6,0,16,24,4,26,14,2,8,20,10,20,4,16,8,14,12,2,10,30,22,18,28,6,24,26,0,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6];function f(r,t){for(var o=r.v,i=r.m,f=0;f<16;f++)o[f]=r.h[f],o[f+16]=a[f];o[24]=o[24]^r.t,o[25]=o[25]^r.t/4294967296,t&&(o[28]=~o[28],o[29]=~o[29]);for(var s=0;s<32;s++)i[s]=n(r.b,4*s);for(var c=0;c<12;c++)e(o,i,0,8,16,24,u[16*c+0],u[16*c+1]),e(o,i,2,10,18,26,u[16*c+2],u[16*c+3]),e(o,i,4,12,20,28,u[16*c+4],u[16*c+5]),e(o,i,6,14,22,30,u[16*c+6],u[16*c+7]),e(o,i,0,10,20,30,u[16*c+8],u[16*c+9]),e(o,i,2,12,22,24,u[16*c+10],u[16*c+11]),e(o,i,4,14,16,26,u[16*c+12],u[16*c+13]),e(o,i,6,8,18,28,u[16*c+14],u[16*c+15]);for(var l=0;l<16;l++)r.h[l]=r.h[l]^o[l]^o[l+16]}function s(r,t){for(var n=0;n<16;n++)r.h[n]=a[n];r.b.set(t),r.h[0]^=16842752^r.outlen}function c(r,n,e){if(128!=r.length)throw Error("Invalid input");var o=r.buffer,i=new DataView(o),a=new t(32);a.t=128;for(var u=i.getUint32(124,!0),c=u+e,l=u;l<c;l++)if(i.setUint32(124,l,!0),s(a,r),f(a,!0),a.h[0]<n)return 0==ASC_TARGET?new Uint8Array(a.h.buffer):Uint8Array.wrap(a.h.buffer);return new Uint8Array(0)}Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(r,t){return new Uint8Array(Array.prototype.slice.call(this,r,t))}}),self.ASC_TARGET=0;var l=new Promise((function(r){return i=r})),h=!1;self.onerror=function(r){self.postMessage({type:"error",message:JSON.stringify(r)})},self.onmessage=function(t){return new Promise((function(n,e){var a,u,f,s;s=(f=t.data).type;var y,v=function(){try{return n()}catch(r){return e(r)}},p=function(r){try{return setTimeout((function(){throw r})),v()}catch(t){return e(t)}};try{var w,g=function(){return v()};if("module"===s)return Promise.resolve((y=f.module,new Promise((function(r,t){var n,e,o;return Promise.resolve(function(r){return new Promise((function(t,n){var e,o;return e={env:{abort:function(){throw Error("Wasm aborted")}}},Promise.resolve(WebAssembly.instantiate(r,e)).then((function(r){try{return o=function(r){var t={},n=r.exports,e=n.memory,o=n.__alloc,i=n.__retain,a=n.__rtti_base||-1;return t.__allocArray=function(r,t){var n=function(r){return new Uint32Array(e.buffer)[(a+4>>>2)+2*r]}(r),u=31-Math.clz32(n>>>6&31),f=t.length,s=o(f<<u,0),c=o(12,r),l=new Uint32Array(e.buffer);l[c+0>>>2]=i(s),l[c+4>>>2]=s,l[c+8>>>2]=f<<u;var h=e.buffer,y=new Uint8Array(h);if(16384&n)for(var v=0;v<f;++v)y[(s>>>u)+v]=i(t[v]);else y.set(t,s>>>u);return c},t.__getUint8Array=function(r){var t=new Uint32Array(e.buffer),n=t[r+4>>>2];return new Uint8Array(e.buffer,n,t[n-4>>>2]>>>0)},function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.__argumentsLength?function(t){r.__argumentsLength.value=t}:r.__setArgumentsLength||r.__setargc||function(){return{}},e=function(e){if(!Object.prototype.hasOwnProperty.call(r,e))return"continue";var o=r[e],i=e.split(".")[0];"function"==typeof o&&o!==n?(t[i]=function(){return n(arguments.length),o.apply(void 0,arguments)}).original=o:t[i]=o};for(var o in r)e(o);return t}(n,t)}(r),t({exports:o})}catch(e){return n(e)}}),n)}))}(y)).then((function(i){try{return e=(n=i).exports.__retain(n.exports.__allocArray(n.exports.Uint8Array_ID,new Uint8Array(128))),o=n.exports.__getUint8Array(e),r((function(r,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4294967295;o.set(r);var a=n.exports.solveBlake2b(e,t,i);o=n.exports.__getUint8Array(e);var u=n.exports.__getUint8Array(a);return n.exports.__release(a),[o,u]}))}catch(a){return t(a)}}),t)})))).then(function(r){try{return w=r,self.postMessage({type:"ready",solver:2}),o=2,i(w),g.call(this)}catch(t){return p(t)}}.bind(this),p);var b,m=function(){return g.call(this)};if("js"===s)return Promise.resolve(new Promise((function(r){return r((function(r,t){return[r,c(r,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:4294967295)]}))}))).then(function(r){try{return b=r,self.postMessage({type:"ready",solver:1}),o=1,i(b),m.call(this)}catch(t){return p(t)}}.bind(this),p);var d,A,_,U,P,x,T,j=function(){return m.call(this)};return"start"===s?h?n():(h=!0,Promise.resolve(l).then(function(t){try{for(d=t,self.postMessage({type:"started"}),A=Date.now(),_=0,U=function(r,t){for(var n=[],e=0;e<t;e++){var o=new Uint8Array(128);o.set(r),o[120]=e,n.push(o)}return n}(f.buffer,f.n),P=new Uint8Array(8*f.n),a=0;a<U.length;a++){var n=Date.now(),e=void 0;for(u=0;u<256;u++){U[a][123]=u;var i=r(d(U[a],f.threshold),2),s=i[0];if(0!==i[1].length){e=s;break}console.warn("FC: Internal error or no solution found")}var c=new DataView(e.slice(-4).buffer).getUint32(0,!0),l=(Date.now()-n)/1e3;_+=c,P.set(e.slice(-8),8*a),self.postMessage({type:"progress",n:f.n,h:c,t:l,i:a})}return x=(Date.now()-A)/1e3,T={type:"done",solution:P,h:_,t:x,diagnostics:(h=o,y=x,v=new Uint8Array(3),w=new DataView(v.buffer),w.setUint8(0,h),w.setUint16(1,y),v),solver:o},self.postMessage(T),j.call(this)}catch(g){return p(g)}var h,y,v,w}.bind(this),p)):j.call(this)}catch(S){p(S)}}))}}()}("undefined"==typeof frcWorker?frcWorker={}:frcWorker);'],{type:"text/javascript"});this.worker=new Worker(I.createObjectURL(e)),this.worker.onerror=function(e){return t.onWorkerError(e)},this.worker.onmessage=function(e){if(!t.hasBeenDestroyed){var r,n=e.data;if(n)if("progress"===n.type)!function(t,e){var r=t.querySelector(".frc-progress"),n=(e.i+1)/e.n;r&&(r.value=n,r.innerText=n.toFixed(2)+"%",r.title=e.i+1+"/"+e.n+" ("+(e.h/e.t*.001).toFixed(0)+"K/s)")}(t.e,n);else if("ready"===n.type)t.e.innerHTML=A(t.opts.solutionFieldName,'<path d="M17,11c0.34,0,0.67,0.04,1,0.09V6.27L10.5,3L3,6.27v4.91c0,4.54,3.2,8.79,7.5,9.82c0.55-0.13,1.08-0.32,1.6-0.55 C11.41,19.47,11,18.28,11,17C11,13.69,13.69,11,17,11z"/><path d="M17,13c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4s4-1.79,4-4C21,14.79,19.21,13,17,13z M17,14.38"/>',(r=t.lang).text_ready,".UNSTARTED",r.button_start,!1),t.makeButtonStart(),t.opts.readyCallback();else if("started"===n.type)t.e.innerHTML=function(t,e){return A(t,i,e.text_solving,".UNFINISHED",void 0,!0)}(t.opts.solutionFieldName,t.lang),t.opts.startedCallback();else if("done"===n.type){var o=t.handleDone(n);t.opts.doneCallback(o);var a=t.e.dataset.callback;a&&window[a](o)}else"error"===n.type&&t.onWorkerError(n)}}}},{key:"expire",value:function(){var t,e;this.e.innerHTML=(t=this.opts.solutionFieldName,e=this.lang,A(t,o,e.text_expired,".EXPIRED",e.button_restart)),this.makeButtonStart()}},{key:"start",value:function(){return new Promise(function(t,e){var o;if(this.hasBeenDestroyed)return console.error("Can not start FriendlyCaptcha widget which has been destroyed"),t();if(this.hasBeenStarted=!0,!(o=this.opts.sitekey||this.e.dataset.sitekey))return console.error("FriendlyCaptcha: sitekey not set on frc-captcha element"),this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Website problem: sitekey not set",!1),t();if(function(){var t=!0;try{t=PluginArray.prototype===r.plugins.__proto__,r.plugins.length>0&&(t=t&&Plugin.prototype===r.plugins[0].__proto__)}catch(e){}return-1!==n.indexOf("headless")||-1!==r.appVersion.indexOf("Headless")||-1!==n.indexOf("bot")||-1!==n.indexOf("crawl")||!0===r.webdriver||!r.language||void 0!==r.languages&&!r.languages.length||!t}())return this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Browser check failed, try a different browser",!1),t();if(this.needsReInit)return this.needsReInit=!1,this.init(!0),t();var s,c,u=function(){try{return this.worker.postMessage({type:"start",buffer:this.puzzle.buffer,n:this.puzzle.n,threshold:this.puzzle.threshold}),t()}catch(r){return e(r)}}.bind(this),l=function(r){try{var n;return this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,r.message),this.makeButtonStart(),this.opts.errorCallback({code:"error_getting_puzzle",description:r.toString(),error:r}),(n=this.e.dataset["callback-error"])&&window[n](this),t()}catch(i){return e(i)}}.bind(this);try{return this.e.innerHTML=(s=this.opts.solutionFieldName,c=this.lang,A(s,i,c.text_fetching,".FETCHING",void 0,!0)),Promise.resolve(d(this.opts.puzzleEndpoint,o,this.lang)).then(function(t){var e,r,n,i,o=this;try{return this.puzzle=(i=h(n=(r=t.split("."))[1]),{signature:r[0],base64:n,buffer:i,n:i[14],threshold:(e=i[15],e>255?e=255:e<0&&(e=0),Math.pow(2,(255.999-e)/8)>>>0),expiry:3e5*i[13]}),setTimeout((function(){return o.expire()}),this.puzzle.expiry-3e4),u()}catch(A){return l(A)}}.bind(this),l)}catch(f){l(f)}}.bind(this))}},{key:"handleDone",value:function(t){this.valid=!0;var e="".concat(this.puzzle.signature,".").concat(this.puzzle.base64,".").concat(g(t.solution),".").concat(g(t.diagnostics));return this.e.innerHTML=function(t,e,r,n){var i="Completed: ".concat(n.t.toFixed(0),"s (").concat((n.h/n.t*.001).toFixed(0),"K/s)").concat(1===n.solver?" JS Fallback":"");return A(t,"<title>".concat(i,'</title><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"><animate attributeName="opacity" dur="1.0s" values="0;1"/></path>'),e.text_completed,r,void 0,!1,i)}(this.opts.solutionFieldName,this.lang,e,t),this.worker&&this.worker.terminate(),this.needsReInit=!0,e}},{key:"destroy",value:function(){this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.e&&(this.e.remove(),delete this.e),this.hasBeenDestroyed=!0}},{key:"reset",value:function(){this.hasBeenDestroyed?console.error("FriendlyCaptcha widget has been destroyed, it can not be used anymore"):(this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start))}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,c),e}();function v(){for(var t=window.friendlyChallenge.autoWidget,e=function(){var t=document.querySelectorAll(".frc-captcha");return 0===t.length&&console.warn("FriendlyCaptcha: No div was found with .frc-captcha class"),t}(),r=0;r<e.length;r++){var n=e[r];n&&!n.dataset.attached&&(t=new w(n),n.dataset.attached="1")}window.friendlyChallenge.autoWidget=t}window.friendlyChallenge={WidgetInstance:w},"loading"!==document.readyState?v():document.addEventListener("DOMContentLoaded",v)}()}("undefined"==typeof friendlyChallenge?friendlyChallenge={}:friendlyChallenge);
/* End of FriendlyCaptcha polyfills */!function(){"use strict";function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}!function(){var r,n,i='<circle cx="12" cy="12" r="8" stroke-width="3" stroke-dasharray="15 10" fill="none" stroke-linecap="round" transform="rotate(0 12 12)"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="0.9s" values="0 12 12;360 12 12"/></circle>',o='<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>';function A(t,e,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],A=arguments.length>6?arguments[6]:void 0;return'<div class="frc-container">\n<svg class="frc-icon" role="img" xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 24 24">'.concat(e,'</svg>\n<div class="frc-content">\n <span class="frc-text" ').concat(A?'title="'.concat(A,'"'):"",">").concat(r,"</span>\n ").concat(i?'<button type="button" class="frc-button">'.concat(i,"</button>"):"","\n ").concat(o?'<progress class="frc-progress" value="0">0%</progress>':"",'\n</div>\n</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>\n<input name="').concat(t,'" class="frc-captcha-solution" type="hidden" value="').concat(n,'">')}function a(t,e,r){var n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];return A(t,o,"<b>".concat(e.text_error,"</b><br>").concat(r),".ERROR",n?e.button_retry:void 0)}function s(){if(!document.querySelector("#frc-style")){var t=document.createElement("style");t.type="text/css",t.id="frc-style",t.innerHTML=".frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8;text-decoration:none}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.frc-captcha-solution{display:none}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}",document.head.appendChild(t)}}for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u="=".charCodeAt(0),l=new Uint8Array(256),f=0;f<c.length;f++)l[c.charCodeAt(f)]=f;function g(t){for(var e=t.length,r="",n=0;n<e;n+=3){var i=t[n+0],o=t[n+1],A=t[n+2];r+=c.charAt(i>>>2),r+=c.charAt((3&i)<<4|o>>>4),r+=c.charAt((15&o)<<2|A>>>6),r+=c.charAt(63&A)}return e%3==2?r=r.substring(0,r.length-1)+"=":e%3==1&&(r=r.substring(0,r.length-2)+"=="),r}function h(t){var e=t.length,r=3*e>>>2;t.charCodeAt(e-1)===u&&r--,t.charCodeAt(e-2)===u&&r--;for(var n=new Uint8Array(r),i=0,o=0;i<e;i+=4){var A=l[t.charCodeAt(i+0)],a=l[t.charCodeAt(i+1)],s=l[t.charCodeAt(i+2)],c=l[t.charCodeAt(i+3)];n[o++]=A<<2|a>>4,n[o++]=(15&a)<<4|s>>2,n[o++]=(3&s)<<6|63&c}return n}function d(t,r,n){return new Promise((function(i,o){var A,a,s;function c(){var t,r=(t=s(),function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var e=[],r=!0,n=!1,i=void 0;try{for(var o,A=t[Symbol.iterator]();!(r=(o=A.next()).done)&&(e.push(o.value),1!==e.length);r=!0);}catch(a){n=!0,i=a}finally{try{r||null==A.return||A.return()}finally{if(n)throw i}}return e}}(t)||function(t){if(t){if("string"==typeof t)return e(t,1);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?e(t,1):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return r++,u.bind(this,r)}function u(t){if(s=function(){return[t]},!(t<A.length))return[1];var e=function(e){try{throw console.error("[FriendlyCaptcha]:",e),Error("".concat(n.text_fetch_error,' <a style="text-decoration: underline; font-size: 0.9em;" href="').concat(A[t],'">').concat(A[t],"</a>"))}catch(r){return o(r)}};try{var a;return Promise.resolve(p(A[t]+"?sitekey="+r,{headers:[["x-frc-client","js-0.8.11"]],mode:"cors"},2)).then(function(r){try{var n=function(){return function(){try{return c}catch(t){return o(t)}}()};if((a=r).ok)return Promise.resolve(a.json()).then((function(t){try{return i(t.data.puzzle)}catch(r){return e(r)}}),e);var s,u=function(){try{if(s&&s.errors&&"endpoint_not_enabled"===s.errors[0])throw Error("Endpoint not allowed (".concat(a.status,")"));if(t===A.length-1)throw Error("Response status ".concat(a.status," ").concat(a.statusText));return n.call(this)}catch(r){return e(r)}}.bind(this),l=function(){try{return u()}catch(t){return e(t)}};try{return Promise.resolve(a.json()).then((function(t){try{return s=t,u()}catch(e){return l()}}),l)}catch(f){l()}return n.call(this)}catch(g){return e(g)}}.bind(this),e)}catch(u){e(u)}}return A=t.split(","),(a=function(t){for(;t;){if(t.then)return void t.then(a,o);try{if(t.pop){if(t.length)return t.pop()?l.call(this):t;t=c}else t=t.call(this)}catch(e){return o(e)}}}.bind(this))(u.bind(this,0));function l(){return o(Error("Internal error"))}}))}function p(t,e,r){return new Promise((function(n){var i=1e3;return n(fetch(t,e).catch((function(n){return new Promise((function(o,A){return 0===r?A(n):Promise.resolve(new Promise((function(t){return setTimeout(t,i)}))).then((function(){try{return i*=4,o(p(t,e,r-1))}catch(n){return A(n)}}),A)}))})))}))}"undefined"!=typeof navigator&&(r=navigator,n=r.userAgent.toLowerCase());var I,C={en:{text_init:"Initializing..",text_ready:"Anti-Robot Verification",button_start:"Click to start verification",text_fetching:"Fetching Challenge",text_solving:"Verifying you are human..",text_completed:"I am human",text_expired:"Anti-Robot verification expired",button_restart:"Restart",text_error:"Verification failed",button_retry:"Retry",text_fetch_error:"Failed to connect to"},de:{text_init:"Initialisierung..",text_ready:"Anti-Roboter-Verifizierung",button_start:"Hier klicken",text_fetching:"Herausforderung laden..",text_solving:"Verifizierung, dass Sie ein Mensch sind..",text_completed:"Ich bin ein Mensch",text_expired:"Verifizierung abgelaufen",button_restart:"Erneut starten",text_error:"Verifizierung fehlgeschlagen",button_retry:"Erneut versuchen",text_fetch_error:"Verbindungsproblem mit"},nl:{text_init:"Initializeren..",text_ready:"Anti-robotverificatie",button_start:"Klik om te starten",text_fetching:"Aan het laden..",text_solving:"Anti-robotverificatie bezig..",text_completed:"Ik ben een mens",text_expired:"Verificatie verlopen",button_restart:"Opnieuw starten",text_error:"Verificatie mislukt",button_retry:"Opnieuw proberen",text_fetch_error:"Verbinding mislukt met"},fr:{text_init:"Chargement..",text_ready:"Verification Anti-Robot",button_start:"Cliquez ici pour vérifier",text_fetching:"Chargement du challenge",text_solving:"Vérification que vous êtes humain..",text_completed:"Je suis humain",text_expired:"Verification échue",button_restart:"Recommencer",text_error:"Echec de verification",button_retry:"Recommencer",text_fetch_error:"Problème de connexion avec"},it:{text_init:"Inizializzazione...",text_ready:"Verifica Anti-Robot",button_start:"Clicca per iniziare",text_fetching:"Caricamento...",text_solving:"Verificando che sei umano...",text_completed:"Non sono un robot",text_expired:"Verifica Anti-Robot scaduta",button_restart:"Ricomincia",text_error:"Verifica fallita",button_retry:"Riprova",text_fetch_error:"Problema di connessione con"},pt:{text_init:"Inicializando..",text_ready:"Verificação Anti-Robô",button_start:"Clique para iniciar verificação",text_fetching:"Carregando..",text_solving:"Verificando se você é humano..",text_completed:"Eu sou humano",text_expired:"Verificação Anti-Robô expirada",button_restart:"Reiniciar",text_error:"Verificação falhou",button_retry:"Tentar novamente",text_fetch_error:"Falha de conexão com"},es:{text_init:"Inicializando..",text_ready:"Verificación Anti-Robot",button_start:"Haga clic para iniciar la verificación",text_fetching:"Cargando desafío",text_solving:"Verificando que eres humano..",text_completed:"Soy humano",text_expired:"Verificación Anti-Robot expirada",button_restart:"Reiniciar",text_error:"Ha fallado la verificación",button_retry:"Intentar de nuevo",text_fetch_error:"Error al conectarse a"},ca:{text_init:"Inicialitzant...",text_ready:"Verificació Anti-Robot",button_start:"Fes clic per començar la verificació",text_fetching:"Carregant repte",text_solving:"Verificant que ets humà..",text_completed:"Soc humà",text_expired:"La verificació Anti-Robot ha expirat",button_restart:"Reiniciar",text_error:"Ha fallat la verificació",button_retry:"Tornar a provar",text_fetch_error:"Error connectant a"}},y="https://api.friendlycaptcha.com/api/v1/puzzle";"undefined"!=typeof window&&(I=window.URL||window.webkitURL);var w=function(){function e(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t(this,e),this.worker=null,this.valid=!1,this.needsReInit=!1,this.hasBeenStarted=!1,this.hasBeenDestroyed=!1,this.opts=Object.assign({forceJSFallback:!1,startMode:"focus",puzzleEndpoint:r.dataset.puzzleEndpoint||y,startedCallback:function(){return 0},readyCallback:function(){return 0},doneCallback:function(){return 0},errorCallback:function(){return 0},sitekey:r.dataset.sitekey||"",language:r.dataset.lang||"en",solutionFieldName:r.dataset.solutionFieldName||"frc-captcha-solution"},n),this.e=r,"string"==typeof this.opts.language){var i=C[this.opts.language.toLowerCase()];void 0===i&&(console.error('FriendlyCaptcha: language "'+this.opts.language+'" not found.'),i=C.en),this.lang=i}else this.lang=Object.assign(Object.assign({},C.en),this.opts.language);r.innerText=this.lang.text_init,s(),this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start)}var c;return(c=[{key:"init",value:function(t){var e,r=this;if(this.hasBeenDestroyed)console.error("FriendlyCaptcha widget has been destroyed using destroy(), it can not be used anymore.");else if(this.initWorker(),this.setupSolver(),t)this.start();else if("none"!==this.e.dataset.start&&("focus"===this.opts.startMode||"focus"===this.e.dataset.start)){var n=function(t){for(;"FORM"!==t.tagName;)if(!(t=t.parentElement))return null;return t}(this.e);n?(e=function(){r.hasBeenStarted||r.start()},n.addEventListener("focusin",e,{once:!0,passive:!0})):console.log("FriendlyCaptcha div seems not to be contained in a form, autostart will not work")}}},{key:"setupSolver",value:function(){return new Promise(function(t,e){if(this.opts.forceJSFallback)return this.worker.postMessage({type:"js"}),t();var r=function(){try{return t()}catch(r){return e(r)}},n=function(t){try{return console.log("FriendlyCaptcha failed to initialize WebAssembly, falling back to Javascript solver: "+t.toString()),this.worker.postMessage({type:"js"}),r()}catch(n){return e(n)}}.bind(this);try{var i;return i=WebAssembly.compile(h("AGFzbQEAAAABKghgAABgAn9/AGADf39/AX9gAX8AYAR/f39/AGAAAX9gAX8Bf2ACf38BfwINAQNlbnYFYWJvcnQABAMMCwcGAwAAAQIFAQIABQMBAAEGFgR/AUEAC38BQQALfwBBAwt/AEHgDAsHbgkGbWVtb3J5AgAHX19hbGxvYwABCF9fcmV0YWluAAIJX19yZWxlYXNlAAMJX19jb2xsZWN0AAQHX19yZXNldAAFC19fcnR0aV9iYXNlAwMNVWludDhBcnJheV9JRAMCDHNvbHZlQmxha2UyYgAKCAELCvgSC5IBAQV/IABB8P///wNLBEAACyMBQRBqIgQgAEEPakFwcSICQRAgAkEQSxsiBmoiAj8AIgVBEHQiA0sEQCAFIAIgA2tB//8DakGAgHxxQRB2IgMgBSADShtAAEEASARAIANAAEEASARAAAsLCyACJAEgBEEQayICIAY2AgAgAkEBNgIEIAIgATYCCCACIAA2AgwgBAsEACAACwMAAQsDAAELBgAjACQBC7sCAQF/AkAgAUUNACAAQQA6AAAgACABakEEayICQQA6AAMgAUECTQ0AIABBADoAASAAQQA6AAIgAkEAOgACIAJBADoAASABQQZNDQAgAEEAOgADIAJBADoAACABQQhNDQAgAEEAIABrQQNxIgJqIgBBADYCACAAIAEgAmtBfHEiAmpBHGsiAUEANgIYIAJBCE0NACAAQQA2AgQgAEEANgIIIAFBADYCECABQQA2AhQgAkEYTQ0AIABBADYCDCAAQQA2AhAgAEEANgIUIABBADYCGCABQQA2AgAgAUEANgIEIAFBADYCCCABQQA2AgwgACAAQQRxQRhqIgFqIQAgAiABayEBA0AgAUEgTwRAIABCADcDACAAQgA3AwggAEIANwMQIABCADcDGCABQSBrIQEgAEEgaiEADAELCwsLcgACfyAARQRAQQxBAhABIQALIAALQQA2AgAgAEEANgIEIABBADYCCCABQfD///8DIAJ2SwRAQcAKQfAKQRJBORAAAAsgASACdCIBQQAQASICIAEQBiAAKAIAGiAAIAI2AgAgACACNgIEIAAgATYCCCAAC88BAQJ/QaABQQAQASIAQQxBA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Promise.resolve(i).then(function(t){try{return this.worker.postMessage({type:"module",module:t}),r()}catch(e){return n(e)}}.bind(this),n)}catch(o){n(o)}}.bind(this))}},{key:"makeButtonStart",value:function(){var t=this,e=this.e.querySelector("button");e&&(e.addEventListener("click",(function(){return t.start()}),{once:!0,passive:!0}),e.addEventListener("touchstart",(function(){return t.start()}),{once:!0,passive:!0}))}},{key:"onWorkerError",value:function(t){this.needsReInit=!0,this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Background worker error "+t.message),this.makeButtonStart(),this.opts.forceJSFallback=!0}},{key:"initWorker",value:function(){var t=this;this.worker&&this.worker.terminate();var e=new Blob(['!function(){function r(r,n){return function(r){if(Array.isArray(r))return r}(r)||function(r,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(r)){var n=[],e=!0,o=!1,i=void 0;try{for(var a,u=r[Symbol.iterator]();!(e=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);e=!0);}catch(f){o=!0,i=f}finally{try{e||null==u.return||u.return()}finally{if(o)throw i}}return n}}(r,n)||function(r,n){if(r){if("string"==typeof r)return t(r,n);var e=Object.prototype.toString.call(r).slice(8,-1);return"Object"===e&&r.constructor&&(e=r.constructor.name),"Map"===e||"Set"===e?Array.from(r):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?t(r,n):void 0}}(r,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(r,t){(null==t||t>r.length)&&(t=r.length);for(var n=0,e=new Array(t);n<t;n++)e[n]=r[n];return e}!function(){"use strict";var r,t=[];function n(){for(;t.length;)t[0](),t.shift()}function e(r){this.a=o,this.b=void 0,this.f=[];var t=this;try{r((function(r){a(t,r)}),(function(r){u(t,r)}))}catch(n){u(t,n)}}r=function(){setTimeout(n)};var o=2;function i(r){return new e((function(t){t(r)}))}function a(r,t){if(r.a==o){if(t==r)throw new TypeError;var n=!1;try{var e=t&&t.then;if(null!=t&&"object"==typeof t&&"function"==typeof e)return void e.call(t,(function(t){n||a(r,t),n=!0}),(function(t){n||u(r,t),n=!0}))}catch(i){return void(n||u(r,i))}r.a=0,r.b=t,f(r)}}function u(r,t){if(r.a==o){if(t==r)throw new TypeError;r.a=1,r.b=t,f(r)}}function f(n){!function(n){t.push(n),1==t.length&&r()}((function(){if(n.a!=o)for(;n.f.length;){var r=(i=n.f.shift())[0],t=i[1],e=i[2],i=i[3];try{0==n.a?e("function"==typeof r?r.call(void 0,n.b):n.b):1==n.a&&("function"==typeof t?e(t.call(void 0,n.b)):i(n.b))}catch(a){i(a)}}}))}e.prototype.g=function(r){return this.c(void 0,r)},e.prototype.c=function(r,t){var n=this;return new e((function(e,o){n.f.push([r,t,e,o]),f(n)}))},self.Promise||(self.Promise=e,self.Promise.resolve=i,self.Promise.reject=function(r){return new e((function(t,n){n(r)}))},self.Promise.race=function(r){return new e((function(t,n){for(var e=0;e<r.length;e+=1)i(r[e]).c(t,n)}))},self.Promise.all=function(r){return new e((function(t,n){function e(n){return function(e){a[n]=e,(o+=1)==r.length&&t(a)}}var o=0,a=[];0==r.length&&t(a);for(var u=0;u<r.length;u+=1)i(r[u]).c(e(u),n)}))},self.Promise.prototype.then=e.prototype.c,self.Promise.prototype.catch=e.prototype.g)}(),function(){"use strict";var t=function r(t){!function(r,t){if(!(r instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.v=new Uint32Array(32),this.m=new Uint32Array(32),this.outlen=t};function n(r,t){return r[t]^r[t+1]<<8^r[t+2]<<16^r[t+3]<<24}function e(r,t,n,e,o,i,a,u){var f,s,c,l=t[a],h=t[a+1],y=t[u],v=t[u+1],p=r[n],w=r[n+1],g=r[e],b=r[e+1],m=r[o],d=r[o+1],A=r[i],_=r[i+1];c=_^(w=(w=w+b+((p&g|(p|g)&~(f=p+g))>>>31))+h+(((p=f)&l|(p|l)&~(f=p+l))>>>31)),g=(c=(b=(c=b^(d=d+(_=s=A^(p=f))+((m&(A=c)|(m|A)&~(f=m+A))>>>31)))>>>24^(s=g^(m=f))<<8)^(d=d+(_=(c=_^(w=(w=w+b+((p&(g=s>>>24^c<<8)|(p|g)&~(f=p+g))>>>31))+v+(((p=f)&y|(p|y)&~(f=p+y))>>>31)))>>>16^(s=A^(p=f))<<16)+((m&(A=s>>>16^c<<16)|(m|A)&~(f=m+A))>>>31)))>>>31^(s=g^(m=f))<<1,b=s>>>31^c<<1,r[n]=p,r[n+1]=w,r[e]=g,r[e+1]=b,r[o]=m,r[o+1]=d,r[i]=A,r[i+1]=_}var o,i,a=[4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225],u=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6,22,16,24,0,10,4,30,26,20,28,6,12,14,2,18,8,14,18,6,2,26,24,22,28,4,12,10,20,8,0,30,16,18,0,10,14,4,8,20,30,28,2,22,24,12,16,6,26,4,24,12,20,0,22,16,6,8,26,14,10,30,28,2,18,24,10,2,30,28,26,8,20,0,14,12,6,18,4,16,22,26,22,14,28,24,2,6,18,10,0,30,8,16,12,4,20,12,30,28,18,22,6,0,16,24,4,26,14,2,8,20,10,20,4,16,8,14,12,2,10,30,22,18,28,6,24,26,0,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6];function f(r,t){for(var o=r.v,i=r.m,f=0;f<16;f++)o[f]=r.h[f],o[f+16]=a[f];o[24]=o[24]^r.t,o[25]=o[25]^r.t/4294967296,t&&(o[28]=~o[28],o[29]=~o[29]);for(var s=0;s<32;s++)i[s]=n(r.b,4*s);for(var c=0;c<12;c++)e(o,i,0,8,16,24,u[16*c+0],u[16*c+1]),e(o,i,2,10,18,26,u[16*c+2],u[16*c+3]),e(o,i,4,12,20,28,u[16*c+4],u[16*c+5]),e(o,i,6,14,22,30,u[16*c+6],u[16*c+7]),e(o,i,0,10,20,30,u[16*c+8],u[16*c+9]),e(o,i,2,12,22,24,u[16*c+10],u[16*c+11]),e(o,i,4,14,16,26,u[16*c+12],u[16*c+13]),e(o,i,6,8,18,28,u[16*c+14],u[16*c+15]);for(var l=0;l<16;l++)r.h[l]=r.h[l]^o[l]^o[l+16]}function s(r,t){for(var n=0;n<16;n++)r.h[n]=a[n];r.b.set(t),r.h[0]^=16842752^r.outlen}function c(r,n,e){if(128!=r.length)throw Error("Invalid input");var o=r.buffer,i=new DataView(o),a=new t(32);a.t=128;for(var u=i.getUint32(124,!0),c=u+e,l=u;l<c;l++)if(i.setUint32(124,l,!0),s(a,r),f(a,!0),a.h[0]<n)return 0==ASC_TARGET?new Uint8Array(a.h.buffer):Uint8Array.wrap(a.h.buffer);return new Uint8Array(0)}Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(r,t){return new Uint8Array(Array.prototype.slice.call(this,r,t))}}),self.ASC_TARGET=0;var l=new Promise((function(r){return i=r})),h=!1;self.onerror=function(r){self.postMessage({type:"error",message:JSON.stringify(r)})},self.onmessage=function(t){return new Promise((function(n,e){var a,u,f,s;s=(f=t.data).type;var y,v=function(){try{return n()}catch(r){return e(r)}},p=function(r){try{return setTimeout((function(){throw r})),v()}catch(t){return e(t)}};try{var w,g=function(){return v()};if("module"===s)return Promise.resolve((y=f.module,new Promise((function(r,t){var n,e,o;return Promise.resolve(function(r){return new Promise((function(t,n){var e,o;return e={env:{abort:function(){throw Error("Wasm aborted")}}},Promise.resolve(WebAssembly.instantiate(r,e)).then((function(r){try{return o=function(r){var t={},n=r.exports,e=n.memory,o=n.__alloc,i=n.__retain,a=n.__rtti_base||-1;return t.__allocArray=function(r,t){var n=function(r){return new Uint32Array(e.buffer)[(a+4>>>2)+2*r]}(r),u=31-Math.clz32(n>>>6&31),f=t.length,s=o(f<<u,0),c=o(12,r),l=new Uint32Array(e.buffer);l[c+0>>>2]=i(s),l[c+4>>>2]=s,l[c+8>>>2]=f<<u;var h=e.buffer,y=new Uint8Array(h);if(16384&n)for(var v=0;v<f;++v)y[(s>>>u)+v]=i(t[v]);else y.set(t,s>>>u);return c},t.__getUint8Array=function(r){var t=new Uint32Array(e.buffer),n=t[r+4>>>2];return new Uint8Array(e.buffer,n,t[n-4>>>2]>>>0)},function(r){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.__argumentsLength?function(t){r.__argumentsLength.value=t}:r.__setArgumentsLength||r.__setargc||function(){return{}},e=function(e){if(!Object.prototype.hasOwnProperty.call(r,e))return"continue";var o=r[e],i=e.split(".")[0];"function"==typeof o&&o!==n?(t[i]=function(){return n(arguments.length),o.apply(void 0,arguments)}).original=o:t[i]=o};for(var o in r)e(o);return t}(n,t)}(r),t({exports:o})}catch(e){return n(e)}}),n)}))}(y)).then((function(i){try{return e=(n=i).exports.__retain(n.exports.__allocArray(n.exports.Uint8Array_ID,new Uint8Array(128))),o=n.exports.__getUint8Array(e),r((function(r,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4294967295;o.set(r);var a=n.exports.solveBlake2b(e,t,i);o=n.exports.__getUint8Array(e);var u=n.exports.__getUint8Array(a);return n.exports.__release(a),[o,u]}))}catch(a){return t(a)}}),t)})))).then(function(r){try{return w=r,self.postMessage({type:"ready",solver:2}),o=2,i(w),g.call(this)}catch(t){return p(t)}}.bind(this),p);var b,m=function(){return g.call(this)};if("js"===s)return Promise.resolve(new Promise((function(r){return r((function(r,t){return[r,c(r,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:4294967295)]}))}))).then(function(r){try{return b=r,self.postMessage({type:"ready",solver:1}),o=1,i(b),m.call(this)}catch(t){return p(t)}}.bind(this),p);var d,A,_,U,P,x,T,j=function(){return m.call(this)};return"start"===s?h?n():(h=!0,Promise.resolve(l).then(function(t){try{for(d=t,self.postMessage({type:"started"}),A=Date.now(),_=0,U=function(r,t){for(var n=[],e=0;e<t;e++){var o=new Uint8Array(128);o.set(r),o[120]=e,n.push(o)}return n}(f.buffer,f.n),P=new Uint8Array(8*f.n),a=0;a<U.length;a++){var n=Date.now(),e=void 0;for(u=0;u<256;u++){U[a][123]=u;var i=r(d(U[a],f.threshold),2),s=i[0];if(0!==i[1].length){e=s;break}console.warn("FC: Internal error or no solution found")}var c=new DataView(e.slice(-4).buffer).getUint32(0,!0),l=(Date.now()-n)/1e3;_+=c,P.set(e.slice(-8),8*a),self.postMessage({type:"progress",n:f.n,h:c,t:l,i:a})}return x=(Date.now()-A)/1e3,T={type:"done",solution:P,h:_,t:x,diagnostics:(h=o,y=x,v=new Uint8Array(3),w=new DataView(v.buffer),w.setUint8(0,h),w.setUint16(1,y),v),solver:o},self.postMessage(T),j.call(this)}catch(g){return p(g)}var h,y,v,w}.bind(this),p)):j.call(this)}catch(S){p(S)}}))}}()}("undefined"==typeof frcWorker?frcWorker={}:frcWorker);'],{type:"text/javascript"});this.worker=new Worker(I.createObjectURL(e)),this.worker.onerror=function(e){return t.onWorkerError(e)},this.worker.onmessage=function(e){if(!t.hasBeenDestroyed){var r,n=e.data;if(n)if("progress"===n.type)!function(t,e){var r=t.querySelector(".frc-progress"),n=(e.i+1)/e.n;r&&(r.value=n,r.innerText=n.toFixed(2)+"%",r.title=e.i+1+"/"+e.n+" ("+(e.h/e.t*.001).toFixed(0)+"K/s)")}(t.e,n);else if("ready"===n.type)t.e.innerHTML=A(t.opts.solutionFieldName,'<path d="M17,11c0.34,0,0.67,0.04,1,0.09V6.27L10.5,3L3,6.27v4.91c0,4.54,3.2,8.79,7.5,9.82c0.55-0.13,1.08-0.32,1.6-0.55 C11.41,19.47,11,18.28,11,17C11,13.69,13.69,11,17,11z"/><path d="M17,13c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4s4-1.79,4-4C21,14.79,19.21,13,17,13z M17,14.38"/>',(r=t.lang).text_ready,".UNSTARTED",r.button_start,!1),t.makeButtonStart(),t.opts.readyCallback();else if("started"===n.type)t.e.innerHTML=function(t,e){return A(t,i,e.text_solving,".UNFINISHED",void 0,!0)}(t.opts.solutionFieldName,t.lang),t.opts.startedCallback();else if("done"===n.type){var o=t.handleDone(n);t.opts.doneCallback(o);var a=t.e.dataset.callback;a&&window[a](o)}else"error"===n.type&&t.onWorkerError(n)}}}},{key:"expire",value:function(){var t,e;this.e.innerHTML=(t=this.opts.solutionFieldName,e=this.lang,A(t,o,e.text_expired,".EXPIRED",e.button_restart)),this.makeButtonStart()}},{key:"start",value:function(){return new Promise(function(t,e){var o;if(this.hasBeenDestroyed)return console.error("Can not start FriendlyCaptcha widget which has been destroyed"),t();if(this.hasBeenStarted=!0,!(o=this.opts.sitekey||this.e.dataset.sitekey))return console.error("FriendlyCaptcha: sitekey not set on frc-captcha element"),this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Website problem: sitekey not set",!1),t();if(function(){var t=!0;try{t=PluginArray.prototype===r.plugins.__proto__,r.plugins.length>0&&(t=t&&Plugin.prototype===r.plugins[0].__proto__)}catch(e){}return-1!==n.indexOf("headless")||-1!==r.appVersion.indexOf("Headless")||-1!==n.indexOf("bot")||-1!==n.indexOf("crawl")||!0===r.webdriver||!r.language||void 0!==r.languages&&!r.languages.length||!t}())return this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,"Browser check failed, try a different browser",!1),t();if(this.needsReInit)return this.needsReInit=!1,this.init(!0),t();var s,c,u=function(){try{return this.worker.postMessage({type:"start",buffer:this.puzzle.buffer,n:this.puzzle.n,threshold:this.puzzle.threshold}),t()}catch(r){return e(r)}}.bind(this),l=function(r){try{var n;return this.e.innerHTML=a(this.opts.solutionFieldName,this.lang,r.message),this.makeButtonStart(),this.opts.errorCallback({code:"error_getting_puzzle",description:r.toString(),error:r}),(n=this.e.dataset["callback-error"])&&window[n](this),t()}catch(i){return e(i)}}.bind(this);try{return this.e.innerHTML=(s=this.opts.solutionFieldName,c=this.lang,A(s,i,c.text_fetching,".FETCHING",void 0,!0)),Promise.resolve(d(this.opts.puzzleEndpoint,o,this.lang)).then(function(t){var e,r,n,i,o=this;try{return this.puzzle=(i=h(n=(r=t.split("."))[1]),{signature:r[0],base64:n,buffer:i,n:i[14],threshold:(e=i[15],e>255?e=255:e<0&&(e=0),Math.pow(2,(255.999-e)/8)>>>0),expiry:3e5*i[13]}),setTimeout((function(){return o.expire()}),this.puzzle.expiry-3e4),u()}catch(A){return l(A)}}.bind(this),l)}catch(f){l(f)}}.bind(this))}},{key:"handleDone",value:function(t){this.valid=!0;var e="".concat(this.puzzle.signature,".").concat(this.puzzle.base64,".").concat(g(t.solution),".").concat(g(t.diagnostics));return this.e.innerHTML=function(t,e,r,n){var i="Completed: ".concat(n.t.toFixed(0),"s (").concat((n.h/n.t*.001).toFixed(0),"K/s)").concat(1===n.solver?" JS Fallback":"");return A(t,"<title>".concat(i,'</title><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"><animate attributeName="opacity" dur="1.0s" values="0;1"/></path>'),e.text_completed,r,void 0,!1,i)}(this.opts.solutionFieldName,this.lang,e,t),this.worker&&this.worker.terminate(),this.needsReInit=!0,e}},{key:"destroy",value:function(){this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.e&&(this.e.remove(),delete this.e),this.hasBeenDestroyed=!0}},{key:"reset",value:function(){this.hasBeenDestroyed?console.error("FriendlyCaptcha widget has been destroyed, it can not be used anymore"):(this.worker&&this.worker.terminate(),this.worker=null,this.needsReInit=!1,this.hasBeenStarted=!1,this.init("auto"===this.opts.startMode||"auto"===this.e.dataset.start))}}])&&function(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}(e.prototype,c),e}();function v(){for(var t=window.friendlyChallenge.autoWidget,e=function(){var t=document.querySelectorAll(".frc-captcha");return 0===t.length&&console.warn("FriendlyCaptcha: No div was found with .frc-captcha class"),t}(),r=0;r<e.length;r++){var n=e[r];n&&!n.dataset.attached&&(t=new w(n),n.dataset.attached="1")}window.friendlyChallenge.autoWidget=t}window.friendlyChallenge={WidgetInstance:w},"loading"!==document.readyState?v():document.addEventListener("DOMContentLoaded",v)}()}("undefined"==typeof friendlyChallenge?friendlyChallenge={}:friendlyChallenge);

@@ -0,0 +0,0 @@ (function(){'use strict';var f,g=[];function l(a){g.push(a);1==g.length&&f()}function m(){for(;g.length;)g[0](),g.shift()}f=function(){setTimeout(m)};function n(a){this.a=p;this.b=void 0;this.f=[];var b=this;try{a(function(a){q(b,a)},function(a){r(b,a)})}catch(c){r(b,c)}}var p=2;function t(a){return new n(function(b,c){c(a)})}function u(a){return new n(function(b){b(a)})}function q(a,b){if(a.a==p){if(b==a)throw new TypeError;var c=!1;try{var d=b&&b.then;if(null!=b&&"object"==typeof b&&"function"==typeof d){d.call(b,function(b){c||q(a,b);c=!0},function(b){c||r(a,b);c=!0});return}}catch(e){c||r(a,e);return}a.a=0;a.b=b;v(a)}}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc