(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,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}let u=!1;function p(e){var t=u;try{return u=!0,e()}finally{u=t}}function y(e,t,n){if(e==null)return t(void 0),o;const r=p(()=>e.subscribe(t,n));return r.unsubscribe?()=>r.unsubscribe():r}const s=[];function T(e,t=o){let n=null;const r=new Set;function f(a){if(h(e,a)&&(e=a,n)){const b=!s.length;for(const i of r)i[1](),s.push(i,e);if(b){for(let i=0;i<s.length;i+=2)s[i][0](s[i+1]);s.length=0}}}function g(a){f(a(e))}function V(a,b=o){const i=[a,b];return r.add(i),r.size===1&&(n=t(f,g)||o),a(e),()=>{r.delete(i),r.size===0&&n&&(n(),n=null)}}return{set:f,update:g,subscribe:V}}function c(e){let t;return y(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:T({})};const d={ariaLinkLabel:"Visit Altcha.org",enterCode:"Enter code",enterCodeAria:"Enter code you hear. Press Space to play audio.",error:"Verification failed. Try again later.",expired:"Verification expired. Try again.",footer:'Protected by <a href="https://altcha.org/" target="_blank" aria-label="Visit Altcha.org">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."};globalThis.altchaI18n.set("en",d),l.i18n=d,Object.defineProperty(l,Symbol.toStringTag,{value:"Module"})});
