"use strict";(()=>{jQuery(document).on("ajaxSuccess",(n,e,o)=>{const t=new URLSearchParams(o.data);if(t.get("action")!=="elementor_pro_forms_send_form")return;const a=t.get("form_id");window.captchaFoxWPReset(`div[data-id="${a}"] form`)});jQuery(document).ready(()=>{var n,e;(e=(n=window.elementorFrontend)==null?void 0:n.hooks)==null||e.addAction("frontend/element_ready/widget",function(o){window.elementor&&o[0].classList.contains("elementor-widget-form")&&window.captchaFoxOnLoad()})});})();