UNPKG

altcha

Version:

Privacy-first CAPTCHA widget, compliant with global regulations (GDPR/HIPAA/CCPA/LGDP/DPDPA/PIPL) and WCAG accessible. No tracking, self-verifying.

28 lines (27 loc) 1.03 kB
(function(factory) { typeof define === "function" && define.amd ? define(factory) : factory(); })((function() { "use strict"; const i18n = { ariaLinkLabel: "Altcha (official website)", cancel: "Cancel", enterCode: "Enter code", enterCodeAria: "Enter code you hear. Press Space to play audio.", enterCodeFromImage: "To proceed, please enter the code from the image below.", error: "Verification failed. Try again later.", expired: "Verification expired. Try again.", footer: 'Protected by <a href="https://altcha.org/" tabindex="-1" target="_blank" aria-label="Altcha (official website)">ALTCHA</a>', getAudioChallenge: "Get an audio challenge", label: "I'm not a robot", loading: "Loading...", reload: "Reload", verify: "Verify", verificationRequired: "Verification required!", verified: "Verified", verifying: "Verifying...", waitAlert: "Verifying... please wait." }; if ("$altcha" in globalThis) { globalThis.$altcha.i18n.set("en", i18n); } }));