recaptcha.min.js
466 Bytes
window.JoomlaInitReCaptchaInvisible=function(){"use strict";for(var t,e,a=document.getElementsByClassName("g-recaptcha"),i=["sitekey","badge","type","size","tabindex","callback"],c={},r=0,d=a.length;r<d;r++){if((t=a[r]).dataset)c=t.dataset;else for(var s=0;s<i.length;s++)e="data-"+i[s],t.hasAttribute(e)&&(c[i[s]]=t.getAttribute(e));t.setAttribute("data-recaptcha-widget-id",grecaptcha.render(t,c)),grecaptcha.execute(t.getAttribute("data-recaptcha-widget-id"))}};