(function(){
function Y(o,c){if(!(o instanceof c))throw new TypeError("Cannot call a class as a function")}function Kt(o,c){for(var u=0;u<c.length;u++){var g=c[u];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(o,g.key,g)}}function O(o,c,u){return c&&Kt(o.prototype,c),o}function Yt(o,c){return qt(o)||Wt(o,c)||Jt(o,c)||Ot()}function Ot(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jt(o,c){if(o){if(typeof o=="string")return J(o,c);var u=Object.prototype.toString.call(o).slice(8,-1);if(u==="Object"&&o.constructor&&(u=o.constructor.name),u==="Map"||u==="Set")return Array.from(o);if(u==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(u))return J(o,c)}}function J(o,c){(c==null||c>o.length)&&(c=o.length);for(var u=0,g=new Array(c);u<c;u++)g[u]=o[u];return g}function Wt(o,c){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(o)))){var u=[],g=!0,w=!1,_=void 0;try{for(var Q=o[Symbol.iterator](),z;!(g=(z=Q.next()).done)&&(u.push(z.value),!(c&&u.length===c));g=!0);}catch(R){w=!0,_=R}finally{try{!g&&Q.return!=null&&Q.return()}finally{if(w)throw _}}return u}}function qt(o){if(Array.isArray(o))return o}(function(){var o=".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;min-width:250px;max-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-success .frc-icon{animation:1s ease-in both frc-fade-in}.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}.frc-err-url{text-decoration:underline;font-size:.9em}.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}@keyframes frc-fade-in{from{opacity:0}to{opacity:1}}",c=1,u=128,g='<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>',w='<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 _(e,n,t,r,i,a){var h=arguments.length>6&&arguments[6]!==void 0?arguments[6]:!1,A=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0;return'<div class="frc-container'.concat(l?" "+l:"",`">
<svg class="frc-icon"`).concat(t?' aria-hidden="true"':"",' role="img" xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 24 24">').concat(n,`</svg>
<div class="frc-content">
    <span class="frc-text" `).concat(A?'title="'.concat(A,'"'):"",">").concat(r,`</span>
    `).concat(a?'<button type="button" class="frc-button">'.concat(a,"</button>"):"",`
    `).concat(h?'<progress class="frc-progress" value="0">0%</progress>':"",`
</div>
</div><span class="frc-banner"><a lang="en" href="https://friendlycaptcha.com/" rel="noopener" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>
<input name="`).concat(e,'" class="frc-captcha-solution" type="hidden" value="').concat(i,'">')}function Q(e,n){return _(e,'<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"/>',!0,n.text_ready,".UNSTARTED",n.button_start,!1)}function z(e,n){return _(e,g,!0,n.text_fetching,".FETCHING",void 0,!0)}function R(e,n){return _(e,g,!0,n.text_solving,".UNFINISHED",void 0,!0)}function W(e,n,t,r){var i="".concat(r.t.toFixed(0),"s (").concat((r.h/r.t*.001).toFixed(0),"K/s)").concat(r.solver===c?" JS Fallback":"");return _(e,"<title>".concat(n.text_completed_sr,'</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"></path>'),!1,n.text_completed,t,void 0,!1,i,"frc-success")}function q(e,n){return _(e,w,!0,n.text_expired,".EXPIRED",n.button_restart)}function D(e,n,t){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;return _(e,w,!0,"<b>".concat(n.text_error,"</b><br>").concat(t),i?".HEADLESS_ERROR":".ERROR",r?n.button_retry:void 0)}function Z(){var e=document.querySelectorAll(".frc-captcha");return e.length===0&&console.warn("FriendlyCaptcha: No div was found with .frc-captcha class"),e}function X(){if(!document.querySelector("#frc-style")){var e=document.createElement("style");e.id="frc-style",e.innerHTML=o,document.head.appendChild(e)}}function $(e,n){var t=e.querySelector(".frc-progress"),r=(n.i+1)/n.n;t&&(t.value=r,t.innerText=r.toFixed(2)+"%",t.title=n.i+1+"/"+n.n+" ("+(n.h/n.t*.001).toFixed(0)+"K/s)")}function tt(e){for(;e.tagName!=="FORM";)if(e=e.parentElement,!e)return null;return e}function et(e,n){e.addEventListener("focusin",n,{once:!0,passive:!0})}for(var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",j=61,B=new Uint8Array(256),N=0;N<b.length;N++)B[b.charCodeAt(N)]=N;function M(e){for(var n=e.length,t="",r=0;r<n;r+=3){var i=e[r+0],a=e[r+1],h=e[r+2];t+=b.charAt(i>>>2),t+=b.charAt((i&3)<<4|a>>>4),t+=b.charAt((a&15)<<2|h>>>6),t+=b.charAt(h&63)}return n%3===2?t=t.substring(0,t.length-1)+"=":n%3===1&&(t=t.substring(0,t.length-2)+"=="),t}function rt(e){var n=e.length,t=n*3>>>2;e.charCodeAt(n-1)===j&&t--,e.charCodeAt(n-2)===j&&t--;for(var r=new Uint8Array(t),i=0,a=0;i<n;i+=4){var h=B[e.charCodeAt(i+0)],A=B[e.charCodeAt(i+1)],l=B[e.charCodeAt(i+2)],s=B[e.charCodeAt(i+3)];r[a++]=h<<2|A>>4,r[a++]=(A&15)<<4|l>>2,r[a++]=(l&3)<<6|s&63}return r}var v,S;typeof navigator<"u"&&(v=navigator,S=v.userAgent.toLowerCase());function nt(){var e=!0;try{v.plugins.length>0&&(e=Plugin.prototype===v.plugins[0].__proto__)}catch{}return S.indexOf("headless")!==-1||v.appVersion.indexOf("Headless")!==-1||S.indexOf("bot")!==-1||S.indexOf("crawl")!==-1||v.webdriver===!0||!v.language||v.languages!==void 0&&!v.languages.length||!e}function it(e){return e>255?e=255:e<0&&(e=0),Math.pow(2,(255.999-e)/8)>>>0}var ot=13,at=14,At=15;function st(e,n){for(var t=[],r=0;r<n;r++){var i=new Uint8Array(u);i.set(e),i[120]=r,t.push(i)}return t}function ct(e){var n=e.split("."),t=n[1],r=rt(t);return{signature:n[0],base64:t,buffer:r,n:r[at],threshold:it(r[At]),expiry:r[ot]*3e5}}function ut(e,n,t){return new Promise(function(r,i){var a;a=e.split(",");var h,A;function l(){var f=A(),E=Yt(f,1),p=E[0];return p++,s.bind(this,p)}function s(f){if(A=function(){return[f]},f<a.length){var E=function(){try{return l}catch(I){return i(I)}},p=function(I){try{{console.error("[FRC Fetch]:",I);var k;throw k=new Error("".concat(t.text_fetch_error,' <a class="frc-err-url" href="').concat(a[f],'">').concat(a[f],"</a>")),k.rawError=I,k}}catch(m){return i(m)}};try{var y;return Promise.resolve(F(a[f]+"?sitekey="+n,{headers:[["x-frc-client","js-0.9.8"]],mode:"cors"},2)).then((function(C){try{var I=function(){return E()};if(y=C,y.ok){var k;return Promise.resolve(y.json()).then(function(d){try{return k=d,r(k.data.puzzle)}catch(L){return p(L)}},p)}else{var m,K=(function(){try{if(m&&m.errors&&m.errors[0]==="endpoint_not_enabled")throw Error("Endpoint not allowed (".concat(y.status,")"));if(f===a.length-1)throw Error("Response status ".concat(y.status," ").concat(y.statusText," ").concat(m?m.errors:""));return I.call(this)}catch(d){return p(d)}}).bind(this),P=function(L){try{return K()}catch(Vt){return p(Vt)}};try{return Promise.resolve(y.json()).then(function(d){try{return m=d,K()}catch(L){return P(L)}},P)}catch(d){P(d)}}return I.call(this)}catch(d){return p(d)}}).bind(this),p)}catch(C){p(C)}}else return[1]}return(h=(function(f){for(;f;){if(f.then)return void f.then(h,i);try{if(f.pop){if(f.length)return f.pop()?x.call(this):f;f=l}else f=f.call(this)}catch(E){return i(E)}}}).bind(this))(s.bind(this,0));function x(){return i(Error("Internal error"))}})}function F(e,n,t){return new Promise(function(r,i){var a=1e3;return r(fetch(e,n).catch(function(h){return new Promise(function(A,l){return t===0?l(h):Promise.resolve(new Promise(function(s){return setTimeout(s,a)})).then(function(s){try{return a*=4,A(F(e,n,t-1))}catch(x){return l(x)}},l)})}))})}var lt={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_completed_sr:"Automatic spam check completed",text_expired:"Anti-Robot verification expired",button_restart:"Restart",text_error:"Verification failed",button_retry:"Retry",text_fetch_error:"Failed to connect to"},ft={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_completed_sr:"Vérification automatique des spams terminée",text_expired:"Verification échue",button_restart:"Recommencer",text_error:"Echec de verification",button_retry:"Recommencer",text_fetch_error:"Problème de connexion avec"},gt={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_completed_sr:"Automatische Spamprüfung abgeschlossen",text_expired:"Verifizierung abgelaufen",button_restart:"Erneut starten",text_error:"Verifizierung fehlgeschlagen",button_retry:"Erneut versuchen",text_fetch_error:"Verbindungsproblem mit"},ht={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_completed_sr:"Automatische anti-spamcheck voltooid",text_expired:"Verificatie verlopen",button_restart:"Opnieuw starten",text_error:"Verificatie mislukt",button_retry:"Opnieuw proberen",text_fetch_error:"Verbinding mislukt met"},dt={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_completed_sr:"Controllo automatico dello spam completato",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_completed_sr:"Verificação automática de spam concluída",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"},_t={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_completed_sr:"Verificación automática de spam completada",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"},vt={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_completed_sr:"Verificació automàtica de correu brossa completada",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"},xt={text_init:"開始しています...",text_ready:"アンチロボット認証",button_start:"クリックして認証を開始",text_fetching:"ロードしています",text_solving:"認証中...",text_completed:"私はロボットではありません",text_completed_sr:"自動スパムチェックが完了しました",text_expired:"認証の期限が切れています",button_restart:"再度認証を行う",text_error:"認証にエラーが発生しました",button_retry:"再度認証を行う",text_fetch_error:"接続ができませんでした"},mt={text_init:"Aktiverer...",text_ready:"Jeg er ikke en robot",button_start:"Klik for at starte verifikationen",text_fetching:"Henter data",text_solving:"Kontrollerer at du er et menneske...",text_completed:"Jeg er et menneske.",text_completed_sr:"Automatisk spamkontrol gennemført",text_expired:"Verifikationen kunne ikke fuldføres",button_restart:"Genstart",text_error:"Bekræftelse mislykkedes",button_retry:"Prøv igen",text_fetch_error:"Forbindelsen mislykkedes"},yt={text_init:"Инициализация..",text_ready:"АнтиРобот проверка",button_start:"Нажмите, чтобы начать проверку",text_fetching:"Получаю задачу",text_solving:"Проверяю, что вы человек..",text_completed:"Я человек",text_completed_sr:"Aвтоматическая проверка на спам завершена",text_expired:"Срок АнтиРоботной проверки истёк",button_restart:"Начать заново",text_error:"Ошибка проверки",button_retry:"Повторить ещё раз",text_fetch_error:"Ошибка подключения"},It={text_init:"Aktiverar...",text_ready:"Jag är inte en robot",button_start:"Klicka för att verifiera",text_fetching:"Hämtar data",text_solving:"Kontrollerar att du är människa...",text_completed:"Jag är en människa",text_completed_sr:"Automatisk spamkontroll slutförd",text_expired:"Anti-robot-verifieringen har löpt ut",button_restart:"Börja om",text_error:"Verifiering kunde inte slutföras",button_retry:"Omstart",text_fetch_error:"Verifiering misslyckades"},bt={text_init:"Başlatılıyor..",text_ready:"Anti-Robot Doğrulaması",button_start:"Doğrulamayı başlatmak için tıklayın",text_fetching:"Yükleniyor",text_solving:"Robot olmadığınız doğrulanıyor..",text_completed:"Ben bir insanım",text_completed_sr:"Otomatik spam kontrolü tamamlandı",text_expired:"Anti-Robot doğrulamasının süresi doldu",button_restart:"Yeniden başlat",text_error:"Doğrulama başarısız oldu",button_retry:"Tekrar dene",text_fetch_error:"Bağlantı başarısız oldu"},Ct={text_init:"Προετοιμασία..",text_ready:"Anti-Robot Επαλήθευση",button_start:" Κάντε κλικ για να ξεκινήσει η επαλήθευσης",text_fetching:" Λήψη πρόκλησης",text_solving:" Επιβεβαίωση ανθρώπου..",text_completed:"Είμαι άνθρωπος",text_completed_sr:" Ο αυτόματος έλεγχος ανεπιθύμητου περιεχομένου ολοκληρώθηκε",text_expired:" Η επαλήθευση Anti-Robot έληξε",button_restart:" Επανεκκίνηση",text_error:" Η επαλήθευση απέτυχε",button_retry:" Δοκιμάσετε ξανά",text_fetch_error:" Αποτυχία σύνδεσης με"},kt={text_init:"Ініціалізація..",text_ready:"Антиробот верифікація",button_start:"Натисніть, щоб розпочати верифікацію",text_fetching:"З’єднання",text_solving:"Перевірка, що ви не робот..",text_completed:"Я не робот",text_completed_sr:"Автоматична перевірка спаму завершена",text_expired:"Час вичерпано",button_restart:"Почати знову",text_error:"Верифікація не вдалась",button_retry:"Спробувати знову",text_fetch_error:"Не вдалось з’єднатись"},wt={text_init:"Инициализиране...",text_ready:"Анти-робот проверка",button_start:"Щракнете, за да започнете проверката",text_fetching:"Предизвикателство",text_solving:"Проверяваме дали си човек...",text_completed:"Аз съм човек",text_completed_sr:"Автоматичната проверка за спам е завършена",text_expired:"Анти-Робот проверката изтече",button_restart:"Рестартирайте",text_error:"Неуспешна проверка",button_retry:"Опитайте пак",text_fetch_error:"Неуспешно свързване с"},Qt={text_init:"Inicializace..",text_ready:"Ověření proti robotům",button_start:"Klikněte pro ověření",text_fetching:"Problém při načítání",text_solving:"Ověření, že jste člověk..",text_completed:"Jsem člověk",text_completed_sr:"Automatická kontrola spamu dokončena",text_expired:"Ověření proti robotům vypršelo",button_restart:"Restartovat",text_error:"Ověření se nezdařilo",button_retry:"Zkusit znovu",text_fetch_error:"Připojení se nezdařilo"},Bt={text_init:"Inicializácia..",text_ready:"Overenie proti robotom",button_start:"Kliknite pre overenie",text_fetching:"Problém pri načítaní",text_solving:"Overenie, že ste človek..",text_completed:"Som človek",text_completed_sr:"Automatická kontrola spamu dokončená",text_expired:"Overenie proti robotom vypršalo",button_restart:"Reštartovať",text_error:"Overenie sa nepodarilo",button_retry:"Skúsiť znova",text_fetch_error:"Pripojenie sa nepodarilo"},H={text_init:" Aktiverer...",text_ready:"Jeg er ikke en robot",button_start:"Klikk for å starte verifiseringen",text_fetching:"Henter data",text_solving:"Sjekker at du er et menneske...",text_completed:"Jeg er et menneske",text_completed_sr:"Automatisk spam-sjekk fullført",text_expired:"Verifisering kunne ikke fullføres",button_restart:"Omstart",text_error:"Bekreftelsen mislyktes",button_retry:"Prøv på nytt",text_fetch_error:"Tilkoblingen mislyktes"},Et={text_init:"Aktivoidaan...",text_ready:"En ole robotti",button_start:"Aloita vahvistus klikkaamalla",text_fetching:"Haetaan tietoja",text_solving:"Tarkistaa, että olet ihminen...",text_completed:"Olen ihminen",text_completed_sr:"Automaattinen roskapostin tarkistus suoritettu",text_expired:"Vahvistusta ei voitu suorittaa loppuun",button_restart:"Uudelleenkäynnistys",text_error:"Vahvistus epäonnistui",button_retry:"Yritä uudelleen",text_fetch_error:"Yhteys epäonnistui"},zt={text_init:"Notiek inicializēšana..",text_ready:"Verifikācija, ka neesat robots",button_start:"Noklikšķiniet, lai sāktu verifikāciju",text_fetching:"Notiek drošības uzdevuma izgūšana",text_solving:"Notiek pārbaude, vai esat cilvēks..",text_completed:"Es esmu cilvēks",text_completed_sr:"Automātiska surogātpasta pārbaude pabeigta",text_expired:"Verifikācijas, ka neesat robots, derīgums beidzies",button_restart:"Restartēt",text_error:"Verifikācija neizdevās",button_retry:"Mēģināt vēlreiz",text_fetch_error:"Neizdevās izveidot savienojumu ar"},Dt={text_init:"Inicijuojama..",text_ready:"Patikrinimas, ar nesate robotas",button_start:"Spustelėkite patikrinimui pradėti",text_fetching:"Gavimo iššūkis",text_solving:"Tikrinama, ar esate žmogus..",text_completed:"Esu žmogus",text_completed_sr:"Automatinė patikra dėl pašto šiukšlių atlikta",text_expired:"Patikrinimas, ar nesate robotas, baigė galioti",button_restart:"Pradėti iš naujo",text_error:"Patikrinimas nepavyko",button_retry:"Kartoti",text_fetch_error:"Nepavyko prisijungti prie"},Nt={text_init:"Inicjowanie..",text_ready:"Weryfikacja antybotowa",button_start:"Kliknij, aby rozpocząć weryfikację",text_fetching:"Pobieranie",text_solving:"Weryfikacja, czy nie jesteś robotem..",text_completed:"Nie jestem robotem",text_completed_sr:"Zakończono automatyczne sprawdzanie spamu",text_expired:"Weryfikacja antybotowa wygasła",button_restart:"Uruchom ponownie",text_error:"Weryfikacja nie powiodła się",button_retry:"Spróbuj ponownie",text_fetch_error:"Nie udało się połączyć z"},St={text_init:"Initsialiseerimine..",text_ready:"Robotivastane kinnitus",button_start:"Kinnitamisega alustamiseks klõpsake",text_fetching:"Väljakutse toomine",text_solving:"Kinnitatakse, et sa oled inimene..",text_completed:"Ma olen inimene",text_completed_sr:"Automaatne rämpsposti kontroll on lõpetatud",text_expired:"Robotivastane kinnitus aegus",button_restart:"Taaskäivita",text_error:"Kinnitamine nurjus",button_retry:"Proovi uuesti",text_fetch_error:"Ühenduse loomine nurjus"},Lt={text_init:"Početno postavljanje...",text_ready:"Provjera protiv robota",button_start:"Kliknite za početak provjere",text_fetching:"Dohvaćanje izazova",text_solving:"Provjeravamo jeste li čovjek..",text_completed:"Nisam robot",text_completed_sr:"Automatska provjera je završena",text_expired:"Vrijeme za provjeru protiv robota je isteklo",button_restart:"Osvježi",text_error:"Provjera nije uspjlela",button_retry:" Ponovo pokreni",text_fetch_error:"Nije moguće uspostaviti vezu"},Rt={text_init:"Pokretanje...",text_ready:"Anti-Robot Verifikacija",button_start:"Kliknite da biste započeli verifikaciju",text_fetching:"Učitavanje izazova",text_solving:"Verifikacija da ste čovek...",text_completed:"Ja sam čovek",text_completed_sr:"Automatska provera neželjene pošte je završena",text_expired:"Anti-Robot verifikacija je istekla",button_restart:"Ponovo pokrenuti",text_error:"Verifikacija nije uspela",button_retry:"Pokušajte ponovo",text_fetch_error:"Neuspelo povezivanje sa..."},Gt={text_init:"Inicializiranje..",text_ready:"Preverjanje robotov",button_start:"Kliknite za začetek preverjanja",text_fetching:"Prenašanje izziva",text_solving:"Preverjamo, ali ste človek",text_completed:"Nisem robot",text_completed_sr:"Avtomatsko preverjanje je zaključeno",text_expired:"Preverjanje robotov je poteklo",button_restart:"Osveži",text_error:"Preverjanje ni uspelo",button_retry:"Poskusi ponovno",text_fetch_error:"Povezave ni bilo mogoče vzpostaviti"},Pt={text_init:"Inicializálás...",text_ready:"Robotellenes ellenőrzés",button_start:"Kattintson az ellenőrzés megkezdéséhez",text_fetching:"Feladvány lekérése",text_solving:"Annak igazolása, hogy Ön nem robot...",text_completed:"Nem vagyok robot",text_completed_sr:"Automatikus spam ellenőrzés befejeződött",text_expired:"Robotellenes ellenőrzés lejárt",button_restart:"Újraindítás",text_error:"Az ellenőrzés nem sikerült",button_retry:"Próbálja újra",text_fetch_error:"Nem sikerült csatlakozni"},jt={text_init:"Se inițializează..",text_ready:"Verificare anti-robot",button_start:"Click pentru a începe verificarea",text_fetching:"Downloading",text_solving:"Verificare ca ești om..",text_completed:"Sunt om",text_completed_sr:"Verificarea automată a spam-ului a fost finalizată",text_expired:"Verificarea anti-robot a expirat",button_restart:"Restart",text_error:"Verificare eșuată",button_retry:"Reîncearcă",text_fetch_error:"Nu s-a putut conecta la"},Mt={text_init:"初始化中……",text_ready:"人机验证",button_start:"点击开始",text_fetching:"正在加载",text_solving:"人机校验中……",text_completed:"我不是机器人",text_completed_sr:"人机验证完成",text_expired:"验证已过期",button_restart:"重新开始",text_error:"校验失败",button_retry:"重试",text_fetch_error:"无法连接到"},G={en:lt,de:gt,nl:ht,fr:ft,it:dt,pt,es:_t,ca:vt,ja:xt,da:mt,ru:yt,sv:It,tr:bt,el:Ct,uk:kt,bg:wt,cs:Qt,sk:Bt,no:H,fi:Et,lv:zt,lt:Dt,pl:Nt,et:St,hr:Lt,sr:Rt,sl:Gt,hu:Pt,ro:jt,zh:Mt,nb:H};function Ft(e,n){var t=new Uint8Array(3),r=new DataView(t.buffer);return r.setUint8(0,e),r.setUint16(1,n),t}var Ht='!function(){function A(A,r){return function(A){if(Array.isArray(A))return A}(A)||function(A,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(A)){var r=[],n=!0,e=!1,o=void 0;try{for(var i,g=A[Symbol.iterator]();!(n=(i=g.next()).done)&&(r.push(i.value),!t||r.length!==t);n=!0);}catch(I){e=!0,o=I}finally{try{n||null==g.return||g.return()}finally{if(e)throw o}}return r}}(A,r)||function(A,r){if(A){if("string"==typeof A)return t(A,r);var n=Object.prototype.toString.call(A).slice(8,-1);return"Object"===n&&A.constructor&&(n=A.constructor.name),"Map"===n||"Set"===n?Array.from(A):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?t(A,r):void 0}}(A,r)||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(A,t){(null==t||t>A.length)&&(t=A.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=A[r];return n}!function(){"use strict";var A,t=[];function r(){for(;t.length;)t[0](),t.shift()}function n(A){this.a=e,this.b=void 0,this.f=[];var t=this;try{A((function(A){i(t,A)}),(function(A){g(t,A)}))}catch(r){g(t,r)}}A=function(){setTimeout(r)};var e=2;function o(A){return new n((function(t){t(A)}))}function i(A,t){if(A.a==e){if(t==A)throw new TypeError;var r=!1;try{var n=t&&t.then;if(null!=t&&"object"==typeof t&&"function"==typeof n)return void n.call(t,(function(t){r||i(A,t),r=!0}),(function(t){r||g(A,t),r=!0}))}catch(o){return void(r||g(A,o))}A.a=0,A.b=t,I(A)}}function g(A,t){if(A.a==e){if(t==A)throw new TypeError;A.a=1,A.b=t,I(A)}}function I(r){!function(r){t.push(r),1==t.length&&A()}((function(){if(r.a!=e)for(;r.f.length;){var A=(o=r.f.shift())[0],t=o[1],n=o[2],o=o[3];try{0==r.a?n("function"==typeof A?A.call(void 0,r.b):r.b):1==r.a&&("function"==typeof t?n(t.call(void 0,r.b)):o(r.b))}catch(i){o(i)}}}))}n.prototype.g=function(A){return this.c(void 0,A)},n.prototype.c=function(A,t){var r=this;return new n((function(n,e){r.f.push([A,t,n,e]),I(r)}))},self.Promise||(self.Promise=n,self.Promise.resolve=o,self.Promise.reject=function(A){return new n((function(t,r){r(A)}))},self.Promise.race=function(A){return new n((function(t,r){for(var n=0;n<A.length;n+=1)o(A[n]).c(t,r)}))},self.Promise.all=function(A){return new n((function(t,r){function n(r){return function(n){i[r]=n,(e+=1)==A.length&&t(i)}}var e=0,i=[];0==A.length&&t(i);for(var g=0;g<A.length;g+=1)o(A[g]).c(n(g),r)}))},self.Promise.prototype.then=n.prototype.c,self.Promise.prototype.catch=n.prototype.g)}(),function(){"use strict";for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r="=".charCodeAt(0),n=new Uint8Array(256),e=0;e<t.length;e++)n[t.charCodeAt(e)]=e;var o=function A(t){!function(A,t){if(!(A instanceof t))throw new TypeError("Cannot call a class as a function")}(this,A),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 i(A,t){return A[t]^A[t+1]<<8^A[t+2]<<16^A[t+3]<<24}function g(A,t,r,n,e,o,i,g){var I,C,Q,c=t[i],a=t[i+1],B=t[g],f=t[g+1],u=A[r],s=A[r+1],E=A[n],h=A[n+1],w=A[e],l=A[e+1],y=A[o],D=A[o+1];Q=D^(s=(s=s+h+((u&E|(u|E)&~(I=u+E))>>>31))+a+(((u=I)&c|(u|c)&~(I=u+c))>>>31)),E=(Q=(h=(Q=h^(l=l+(D=C=y^(u=I))+((w&(y=Q)|(w|y)&~(I=w+y))>>>31)))>>>24^(C=E^(w=I))<<8)^(l=l+(D=(Q=D^(s=(s=s+h+((u&(E=C>>>24^Q<<8)|(u|E)&~(I=u+E))>>>31))+f+(((u=I)&B|(u|B)&~(I=u+B))>>>31)))>>>16^(C=y^(u=I))<<16)+((w&(y=C>>>16^Q<<16)|(w|y)&~(I=w+y))>>>31)))>>>31^(C=E^(w=I))<<1,h=C>>>31^Q<<1,A[r]=u,A[r+1]=s,A[n]=E,A[n+1]=h,A[e]=w,A[e+1]=l,A[o]=y,A[o+1]=D}var I,C,Q=[4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225],c=[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(A,t){for(var r=A.v,n=A.m,e=0;e<16;e++)r[e]=A.h[e],r[e+16]=Q[e];r[24]=r[24]^A.t,r[25]=r[25]^A.t/4294967296,t&&(r[28]=~r[28],r[29]=~r[29]);for(var o=0;o<32;o++)n[o]=i(A.b,4*o);for(var I=0;I<12;I++)g(r,n,0,8,16,24,c[16*I+0],c[16*I+1]),g(r,n,2,10,18,26,c[16*I+2],c[16*I+3]),g(r,n,4,12,20,28,c[16*I+4],c[16*I+5]),g(r,n,6,14,22,30,c[16*I+6],c[16*I+7]),g(r,n,0,10,20,30,c[16*I+8],c[16*I+9]),g(r,n,2,12,22,24,c[16*I+10],c[16*I+11]),g(r,n,4,14,16,26,c[16*I+12],c[16*I+13]),g(r,n,6,8,18,28,c[16*I+14],c[16*I+15]);for(var C=0;C<16;C++)A.h[C]=A.h[C]^r[C]^r[C+16]}function B(A,t){for(var r=0;r<16;r++)A.h[r]=Q[r];A.b.set(t),A.h[0]^=16842752^A.outlen}function f(A,t,r){if(128!=A.length)throw Error("Invalid input");var n=A.buffer,e=new DataView(n),i=new o(32);i.t=128;for(var g=e.getUint32(124,!0),I=g+r,C=g;C<I;C++)if(e.setUint32(124,C,!0),B(i,A),a(i,!0),i.h[0]<t)return 0==ASC_TARGET?new Uint8Array(i.h.buffer):Uint8Array.wrap(i.h.buffer);return new Uint8Array(0)}function u(){return new Promise((function(A){return A((function(A,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4294967295,n=f(A,t,r);return[A,n]}))}))}Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(A,t){return new Uint8Array(Array.prototype.slice.call(this,A,t))}}),self.ASC_TARGET=0;var s=new Promise((function(A){return C=A}));self.onerror=function(A){self.postMessage({type:"error",message:JSON.stringify(A)})},self.onmessage=function(t){return new Promise((function(e,o){var i;i=t.data;var g=function(){try{return e()}catch(A){return o(A)}},Q=function(A){try{return setTimeout((function(){throw A})),g()}catch(t){return o(t)}};try{var c=function(){return g()};if("solver"!==i.type){var a,B,f,E,h=function(){return c.call(this)};return"start"===i.type?Promise.resolve(s).then(function(t){try{a=t,self.postMessage({type:"started"}),B=0;for(var r=0;r<256;r++){i.puzzleSolverInput[123]=r;var n=A(a(i.puzzleSolverInput,i.threshold),2),e=n[0];if(0!==n[1].length){f=e;break}console.warn("FC: Internal error or no solution found"),B+=Math.pow(2,32)-1}return E=new DataView(f.slice(-4).buffer),B+=E.getUint32(0,!0),self.postMessage({type:"done",solution:f.slice(-8),h:B,puzzleIndex:i.puzzleIndex,puzzleNumber:i.puzzleNumber}),h.call(this)}catch(o){return Q(o)}}.bind(this),Q):h.call(this)}var w=function(){return self.postMessage({type:"ready",solver:I}),c.call(this)};if(i.forceJS)return I=1,Promise.resolve(u()).then(function(A){try{return C(A),w.call(this)}catch(t){return Q(t)}}.bind(this),Q);var l=function(){try{return w.call(this)}catch(A){return Q(A)}}.bind(this),y=function(A){try{return console.log("FriendlyCaptcha failed to initialize WebAssembly, falling back to Javascript solver: "+A.toString()),I=1,Promise.resolve(u()).then((function(A){try{return C(A),l()}catch(t){return Q(t)}}),Q)}catch(t){return Q(t)}};try{var D;return I=2,D=WebAssembly.compile(function(A){var t=A.length,e=3*t>>>2;A.charCodeAt(t-1)===r&&e--,A.charCodeAt(t-2)===r&&e--;for(var o=new Uint8Array(e),i=0,g=0;i<t;i+=4){var I=n[A.charCodeAt(i+0)],C=n[A.charCodeAt(i+1)],Q=n[A.charCodeAt(i+2)],c=n[A.charCodeAt(i+3)];o[g++]=I<<2|C>>4,o[g++]=(15&C)<<4|Q>>2,o[g++]=(3&Q)<<6|63&c}return o}(" ")),Promise.resolve(D).then((function(A){try{return Promise.resolve(function(A){return new Promise((function(t,r){var n,e,o;return Promise.resolve(function(A){return new Promise((function(t,r){var n,e;return n={env:{abort:function(){throw Error("Wasm aborted")}}},Promise.resolve(WebAssembly.instantiate(A,n)).then((function(A){try{return e=function(A){var t={},r=A.exports,n=r.memory,e=r.__alloc,o=r.__retain,i=r.__rtti_base||-1;return t.__allocArray=function(A,t){var r=function(A){return new Uint32Array(n.buffer)[(i+4>>>2)+2*A]}(A),g=31-Math.clz32(r>>>6&31),I=t.length,C=e(I<<g,0),Q=e(12,A),c=new Uint32Array(n.buffer);c[Q+0>>>2]=o(C),c[Q+4>>>2]=C,c[Q+8>>>2]=I<<g;var a=n.buffer,B=new Uint8Array(a);if(16384&r)for(var f=0;f<I;++f)B[(C>>>g)+f]=o(t[f]);else B.set(t,C>>>g);return Q},t.__getUint8Array=function(A){var t=new Uint32Array(n.buffer),r=t[A+4>>>2];return new Uint8Array(n.buffer,r,t[r-4>>>2]>>>0)},function(A){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=A.__argumentsLength?function(t){A.__argumentsLength.value=t}:A.__setArgumentsLength||A.__setargc||function(){return{}},n=function(n){if(!Object.prototype.hasOwnProperty.call(A,n))return"continue";var e=A[n],o=n.split(".")[0];"function"==typeof e&&e!==r?(t[o]=function(){return r(arguments.length),e.apply(void 0,arguments)}).original=e:t[o]=e};for(var e in A)n(e);return t}(r,t)}(A),t({exports:e})}catch(n){return r(n)}}),r)}))}(A)).then((function(A){try{return e=(n=A).exports.__retain(n.exports.__allocArray(n.exports.Uint8Array_ID,new Uint8Array(128))),o=n.exports.__getUint8Array(e),t((function(A,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:4294967295;o.set(A);var i=n.exports.solveBlake2b(e,t,r);o=n.exports.__getUint8Array(e);var g=n.exports.__getUint8Array(i);return n.exports.__release(i),[o,g]}))}catch(i){return r(i)}}),r)}))}(A)).then((function(A){try{return C(A),l()}catch(t){return y(t)}}),y)}catch(t){return y(t)}}),y)}catch(v){y(v)}}catch(v){Q(v)}}))}}()}("undefined"==typeof frcWorker?frcWorker={}:frcWorker);',U;typeof window<"u"&&(U=window.URL||window.webkitURL);var Ut=function(){function e(){Y(this,e),this.workers=[],this.puzzleNumber=0,this.numPuzzles=0,this.threshold=0,this.startTime=0,this.progress=0,this.totalHashes=0,this.puzzleSolverInputs=[],this.puzzleIndex=0,this.solutionBuffer=new Uint8Array(0),this.solverType=1,this.readyCount=0,this.startCount=0,this.progressCallback=function(){return 0},this.readyCallback=function(){return 0},this.startedCallback=function(){return 0},this.doneCallback=function(){return 0},this.errorCallback=function(){return 0}}return O(e,[{key:"init",value:function(){var t=this;this.terminateWorkers(),this.progress=0,this.totalHashes=0,this.readyCount=0,this.startCount=0,this.workers=new Array(4);for(var r=new Blob([Ht],{type:"text/javascript"}),i=function(A){t.workers[A]=new Worker(U.createObjectURL(r)),t.workers[A].onerror=function(l){return t.errorCallback(l)},t.workers[A].onmessage=function(l){var s=l.data;if(s)if(s.type==="ready")t.readyCount++,t.solverType=s.solver,t.readyCount==t.workers.length&&t.readyCallback();else if(s.type==="started")t.startCount++,t.startCount==1&&(t.startTime=Date.now(),t.startedCallback());else if(s.type==="done"){if(s.puzzleNumber!==t.puzzleNumber)return;if(t.puzzleIndex<t.puzzleSolverInputs.length&&(t.workers[A].postMessage({type:"start",puzzleSolverInput:t.puzzleSolverInputs[t.puzzleIndex],threshold:t.threshold,puzzleIndex:t.puzzleIndex,puzzleNumber:t.puzzleNumber}),t.puzzleIndex++),t.progress++,t.totalHashes+=s.h,t.progressCallback({n:t.numPuzzles,h:t.totalHashes,t:(Date.now()-t.startTime)/1e3,i:t.progress}),t.solutionBuffer.set(s.solution,s.puzzleIndex*8),t.progress==t.numPuzzles){var x=(Date.now()-t.startTime)/1e3;t.doneCallback({solution:t.solutionBuffer,h:t.totalHashes,t:x,diagnostics:Ft(t.solverType,x),solver:t.solverType})}}else s.type==="error"&&t.errorCallback(s)}},a=0;a<this.workers.length;a++)i(a)}},{key:"setupSolver",value:function(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,r={type:"solver",forceJS:t},i=0;i<this.workers.length;i++)this.workers[i].postMessage(r)}},{key:"start",value:function(t){this.puzzleSolverInputs=st(t.buffer,t.n),this.solutionBuffer=new Uint8Array(8*t.n),this.numPuzzles=t.n,this.threshold=t.threshold,this.puzzleIndex=0,this.puzzleNumber++;for(var r=0;r<this.workers.length&&this.puzzleIndex!==this.puzzleSolverInputs.length;r++)this.workers[r].postMessage({type:"start",puzzleSolverInput:this.puzzleSolverInputs[r],threshold:this.threshold,puzzleIndex:this.puzzleIndex,puzzleNumber:this.puzzleNumber}),this.puzzleIndex++}},{key:"terminateWorkers",value:function(){if(this.workers.length!=0){for(var t=0;t<this.workers.length;t++)this.workers[t].terminate();this.workers=[]}}}]),e}(),Tt="https://api.friendlycaptcha.com/api/v1/puzzle",T=function(){function e(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Y(this,e),this.workerGroup=new Ut,this.valid=!1,this.needsReInit=!1,this.hasBeenStarted=!1,this.hasBeenDestroyed=!1,this.opts=Object.assign({forceJSFallback:!1,skipStyleInjection:!1,startMode:"focus",puzzleEndpoint:n.dataset.puzzleEndpoint||Tt,startedCallback:function(){return 0},readyCallback:function(){return 0},doneCallback:function(){return 0},errorCallback:function(){return 0},sitekey:n.dataset.sitekey||"",language:n.dataset.lang||"en",solutionFieldName:n.dataset.solutionFieldName||"frc-captcha-solution"},t),this.e=n,this.e.friendlyChallengeWidget=this,typeof this.opts.language=="string"){var r=G[this.opts.language.toLowerCase()];r===void 0&&(console.error('FriendlyCaptcha: language "'+this.opts.language+'" not found.'),r=G.en),this.lang=r}else this.lang=Object.assign(Object.assign({},G.en),this.opts.language);n.innerText=this.lang.text_init,this.opts.skipStyleInjection||X(),this.init(this.opts.startMode==="auto"||this.e.dataset.start==="auto")}return O(e,[{key:"init",value:function(t){var r=this;if(this.hasBeenDestroyed){console.error("FriendlyCaptcha widget has been destroyed using destroy(), it can not be used anymore.");return}if(this.initWorkerGroup(),t)this.start();else if(this.e.dataset.start!=="none"&&(this.opts.startMode==="focus"||this.e.dataset.start==="focus")){var i=tt(this.e);i?et(i,function(){return r.start()}):console.log("FriendlyCaptcha div seems not to be contained in a form, autostart will not work")}}},{key:"makeButtonStart",value:function(){var t=this,r=this.e.querySelector("button");r&&(r.addEventListener("click",function(i){return t.start()},{once:!0,passive:!0}),r.addEventListener("touchstart",function(i){return t.start()},{once:!0,passive:!0}))}},{key:"onWorkerError",value:function(t){this.hasBeenStarted=!1,this.needsReInit=!0,this.expiryTimeout&&clearTimeout(this.expiryTimeout),console.error("[FRC]",t),this.e.innerHTML=D(this.opts.solutionFieldName,this.lang,"Background worker error "+t.message),this.makeButtonStart(),this.opts.forceJSFallback=!0}},{key:"initWorkerGroup",value:function(){var t=this;this.workerGroup.progressCallback=function(r){$(t.e,r)},this.workerGroup.readyCallback=function(){t.e.innerHTML=Q(t.opts.solutionFieldName,t.lang),t.makeButtonStart(),t.opts.readyCallback()},this.workerGroup.startedCallback=function(){t.e.innerHTML=R(t.opts.solutionFieldName,t.lang),t.opts.startedCallback()},this.workerGroup.doneCallback=function(r){var i=t.handleDone(r);t.opts.doneCallback(i);var a=t.e.dataset.callback;a&&window[a](i)},this.workerGroup.errorCallback=function(r){t.onWorkerError(r)},this.workerGroup.init(),this.workerGroup.setupSolver(this.opts.forceJSFallback)}},{key:"expire",value:function(){this.hasBeenStarted=!1,this.e.isConnected!==!1&&(this.e.innerHTML=q(this.opts.solutionFieldName,this.lang),this.makeButtonStart())}},{key:"start",value:function(){return new Promise((function(t,r){var i;if(this.hasBeenDestroyed)return console.error("Can not start FriendlyCaptcha widget which has been destroyed"),t();if(this.hasBeenStarted)return console.warn("Can not start FriendlyCaptcha widget which has already been started"),t();if(i=this.opts.sitekey||this.e.dataset.sitekey,!i)return console.error("FriendlyCaptcha: sitekey not set on frc-captcha element"),this.e.innerHTML=D(this.opts.solutionFieldName,this.lang,"Website problem: sitekey not set",!1),t();if(nt())return this.e.innerHTML=D(this.opts.solutionFieldName,this.lang,"Browser check failed, try a different browser",!1,!0),t();if(this.needsReInit)return this.needsReInit=!1,this.init(!0),t();this.hasBeenStarted=!0;var a=(function(){try{return this.workerGroup.start(this.puzzle),t()}catch(A){return r(A)}}).bind(this),h=(function(A){try{{console.error("[FRC]",A),this.hasBeenStarted=!1,this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.e.innerHTML=D(this.opts.solutionFieldName,this.lang,A.message),this.makeButtonStart();var l;l="error_getting_puzzle",this.opts.errorCallback({code:l,description:A.toString(),error:A});var s;return s=this.e.dataset["callback-error"],s&&window[s](this),t()}}catch(x){return r(x)}}).bind(this);try{return this.e.innerHTML=z(this.opts.solutionFieldName,this.lang),Promise.resolve(ut(this.opts.puzzleEndpoint,i,this.lang)).then((function(A){var l=this;try{return this.puzzle=ct(A),this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.expiryTimeout=setTimeout(function(){return l.expire()},this.puzzle.expiry-3e4),a()}catch(s){return h(s)}}).bind(this),h)}catch(A){h(A)}}).bind(this))}},{key:"handleDone",value:function(t){this.valid=!0;var r="".concat(this.puzzle.signature,".").concat(this.puzzle.base64,".").concat(M(t.solution),".").concat(M(t.diagnostics));return this.e.innerHTML=W(this.opts.solutionFieldName,this.lang,r,t),this.needsReInit=!0,r}},{key:"destroy",value:function(){this.workerGroup.terminateWorkers(),this.needsReInit=!1,this.hasBeenStarted=!1,this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.e&&(this.e.remove(),delete this.e),this.hasBeenDestroyed=!0}},{key:"reset",value:function(){if(this.hasBeenDestroyed){console.error("FriendlyCaptcha widget has been destroyed, it can not be used anymore");return}this.workerGroup.terminateWorkers(),this.needsReInit=!1,this.hasBeenStarted=!1,this.expiryTimeout&&clearTimeout(this.expiryTimeout),this.init(this.opts.startMode==="auto"||this.e.dataset.start==="auto")}}]),e}();window.friendlyChallenge={WidgetInstance:T};function V(){for(var e=window.friendlyChallenge.autoWidget,n=Z(),t=0;t<n.length;t++){var r=n[t];r&&!r.dataset.attached&&(e=new T(r),r.dataset.attached="1")}window.friendlyChallenge.autoWidget=e}document.readyState!=="loading"?V():document.addEventListener("DOMContentLoaded",V)})();

})();