altcha
Version:
Privacy-first CAPTCHA widget, compliant with global regulations (GDPR/HIPAA/CCPA/LGDP/DPDPA/PIPL) and WCAG accessible. No tracking, self-verifying.
2 lines (1 loc) • 2.11 kB
JavaScript
(function(i,s){typeof exports=="object"&&typeof module<"u"?s(exports):typeof define=="function"&&define.amd?define(["exports"],s):(i=typeof globalThis<"u"?globalThis:i||self,s(i["[name]"]={}))})(this,function(i){"use strict";const s=()=>{};function d(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}let u=!1;function k(e){var t=u;try{return u=!0,e()}finally{u=t}}function p(e,t,n){if(e==null)return t(void 0),s;const r=k(()=>e.subscribe(t,n));return r.unsubscribe?()=>r.unsubscribe():r}const o=[];function y(e,t=s){let n=null;const r=new Set;function b(a){if(d(e,a)&&(e=a,n)){const f=!o.length;for(const l of r)l[1](),o.push(l,e);if(f){for(let l=0;l<o.length;l+=2)o[l][0](o[l+1]);o.length=0}}}function g(a){b(a(e))}function z(a,f=s){const l=[a,f];return r.add(l),r.size===1&&(n=t(b,g)||s),a(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:b,update:g,subscribe:z}}function c(e){let t;return p(e,n=>t=n)(),t}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,t)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:t}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:y({})};const h={ariaLinkLabel:"Látogass el az Altcha.org oldalra",enterCode:"Írja be a kódot",enterCodeAria:"Írja be a hallott kódot. Nyomja meg a Szóköz billentyűt a hang lejátszásához.",error:"A hitelesítés nem sikerült. Próbáld meg később újra.",expired:"A hitelesítés lejárt. Próbáld újra.",verificationRequired:"Ellenőrzés szükséges!",footer:'Védve a következő által: <a href="https://altcha.org/" target="_blank" aria-label="Látogass el az Altcha.org oldalra">ALTCHA</a>',getAudioChallenge:"Hangalapú kihívás kérése",label:"Nem vagyok robot",loading:"Betöltés...",reload:"Újratöltés",verify:"Ellenőrzés",verified:"Ellenőrizve",verifying:"Ellenőrzés folyamatban...",waitAlert:"Ellenőrzés folyamatban... kérlek várj."};globalThis.altchaI18n.set("hu",h),i.i18n=h,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})});