((e,t)=>{e.ConvertFormsInitInvisibleReCaptcha=function(){t.querySelectorAll(".g-invisible-recaptcha").forEach(function(e){var t=e.closest(".convertforms"),a={badge:e.dataset.badge,callback:function(){t.ConvertForms.submit()},sitekey:e.dataset.sitekey,size:"invisible"},n=grecaptcha.render(e,a);e.setAttribute("data-recaptcha-widget-id",n),t.addEventListener("beforeSubmit",function(e){e.defaultPrevented||0<grecaptcha.getResponse(n).length||(e.preventDefault(),grecaptcha.execute(n))}),t.addEventListener("afterSubmit",function(e){grecaptcha.reset(n)})})}})(window,document);

