1(()=>{"use strict";const t=(t,e)=>{if(null==t||null===e)return;const n=Number(e);if(!Number.isFinite(n))return;const o=t.$el&&t.$el.parentElement;o&&(o.style.zIndex=String(n))},e=async(e,n=!1)=>{const o=window.ElementPackConfig.contact_form,a=(t=>{const e=t&&t.closest("[data-bdt-notification-z-index]"),n=e&&e.dataset?e.dataset.bdtNotificationZIndex:"";return void 0!==n&&""!==n?n:null})(e),i=bdtUIkit.notification({message:`<div bdt-spinner></div> ${o.sending_msg}`,timeout:!1,status:"primary"});t(i,a);try{const o=await fetch(e.getAttribute("action"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(new FormData(e)).toString()}),i=await o.text(),r=(new DOMParser).parseFromString(i,"text/html").body.firstElementChild,s=r?.dataset.redirect,c=r?.dataset.external,d=r?.dataset.resetstatus;bdtUIkit.notification.closeAll();const l=bdtUIkit.notification({message:`<div class="bdt-contact-form-success-message-${n}">${i}</div>`});t(l,a),s&&"no"!==s&&bdtUIkit.util.on(document,"close",(t=>{t.detail[0]===l&&window.open(s,c)})),localStorage.setItem("bdtCouponCode",e.id),d&&"no"!==d&&e.reset()}catch(t){console.error("Contact form submission error:",t)}};window.elementPackGICCB=()=>{const t=window.ElementPackConfig.contact_form;return new Promise(((n,o)=>{if("undefined"==typeof grecaptcha)return bdtUIkit.notification({message:`<div bdt-spinner></div> ${t.captcha_nd}`,timeout:!1,status:"warning"}),o();const a=grecaptcha.getResponse();if(!a)return bdtUIkit.notification({message:`<div bdt-spinner></div> ${t.captcha_nr}`,timeout:!1,status:"warning"}),o();const i=Array.from(document.querySelectorAll("textarea.g-recaptcha-response")).find((t=>t.value===a)),r=i?.closest("form.bdt-contact-form-form"),s=r?.getAttribute("action");s&&""!==s&&e(r),grecaptcha.reset()}))};const n=t=>{const n=t?.jquery?t[0]:t,o=n.dataset.id;n.querySelectorAll('.bdt-contact-form input[type="tel"]').forEach((t=>{t.addEventListener("input",(()=>{t.value=t.value.replace(/[^0-9+]/g,"")}))}));const a=n.querySelector(".bdt-contact-form .without-recaptcha");a&&a.addEventListener("submit",(t=>{t.preventDefault(),t.stopPropagation(),e(a,o)}))};window.addEventListener("elementor/frontend/init",(()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-contact-form.default",n)}))})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.