UNPKG

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.08 kB
(function(l,o){typeof exports=="object"&&typeof module<"u"?o(exports):typeof define=="function"&&define.amd?define(["exports"],o):(l=typeof globalThis<"u"?globalThis:l||self,o(l["[name]"]={}))})(this,function(l){"use strict";const o=()=>{};function h(e,n){return e!=e?n==n:e!==n||e!==null&&typeof e=="object"||typeof e=="function"}let s=!1;function y(e){var n=s;try{return s=!0,e()}finally{s=n}}function p(e,n,i){if(e==null)return n(void 0),o;const r=y(()=>e.subscribe(n,i));return r.unsubscribe?()=>r.unsubscribe():r}const u=[];function k(e,n=o){let i=null;const r=new Set;function f(a){if(h(e,a)&&(e=a,i)){const d=!u.length;for(const t of r)t[1](),u.push(t,e);if(d){for(let t=0;t<u.length;t+=2)u[t][0](u[t+1]);u.length=0}}}function g(a){f(a(e))}function T(a,d=o){const t=[a,d];return r.add(t),r.size===1&&(i=n(f,g)||o),a(e),()=>{r.delete(t),r.size===0&&i&&(i(),i=null)}}return{set:f,update:g,subscribe:T}}function c(e){let n;return p(e,i=>n=i)(),n}globalThis.altchaPlugins=globalThis.altchaPlugins||[],globalThis.altchaI18n=globalThis.altchaI18n||{get:e=>c(globalThis.altchaI18n.store)[e],set:(e,n)=>{Object.assign(c(globalThis.altchaI18n.store),{[e]:n}),globalThis.altchaI18n.store.set(c(globalThis.altchaI18n.store))},store:k({})};const b={ariaLinkLabel:"Altcha.org'yu ziyaret edin",enterCode:"Kodu girin",enterCodeAria:"Duyduğunuz kodu girin. Ses dosyasını oynatmak için Boşluk tuşuna basın.",error:"Doğrulama başarısız oldu. Lütfen daha sonra tekrar deneyin.",expired:"Doğrulama süresi doldu. Lütfen tekrar deneyin.",verificationRequired:"Doğrulama gerekli!",footer:`ALTCHA tarafından korunuyor <a href="https://altcha.org/" target="_blank" aria-label="Altcha.org'yu ziyaret edin">ALTCHA</a>`,getAudioChallenge:"Sesli doğrulama al",label:"Ben robot değilim",loading:"Yükleniyor...",reload:"Yeniden yükle",verify:"Doğrula",verified:"Doğrulandı",verifying:"Doğrulama yapılıyor...",waitAlert:"Doğrulama yapılıyor... lütfen bekleyin."};globalThis.altchaI18n.set("tr",b),l.i18n=b,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});