1(()=>{const t=window.gtm4wp_cf7_config||{inputs:"full",ga4events:!1};function e(t){return t&&t.getAttribute&&t.getAttribute("data-gtm4wp-form-name")||""}function n(n){const a=n&&n.detail||{},o=n&&n.target;return{formid:a.contactFormId||"(not set)",formname:e(o),unittag:a.unitTag||"",containerpostid:a.containerPostId||"",locale:a.contactFormLocale||"",status:a.status||"",inputs:(c=a.inputs,r=t.inputs,"none"!==r&&Array.isArray(c)?c.map(function(t){if("names"===r)return{name:t.name};const e="undefined"!=typeof File&&t.value instanceof File?t.value.name:t.value;return{name:t.name,value:e}}):[])};var c,r}function a(t){const e=t&&t.getAttribute&&t.getAttribute("action")||"";if(""===e)return window.location.href;try{return new URL(e,document.baseURI).href}catch(t){return window.location.href}}function o(t,n,o,c){const r=function(t){const n=t&&t.querySelector?t.querySelector('input[name="_wpcf7"]'):null;return{form_id:n?n.value:"",form_name:e(t),form_destination:a(t)}}(o);c&&(r.form_status=c),t[gtm4wp_datalayer_name]=t[gtm4wp_datalayer_name]||[],t[gtm4wp_datalayer_name].push(Object.assign({event:n},r))}!function(e,a,c){if(!e.gtm4wp_cf7_inited){e.gtm4wp_cf7_inited=!0;for(const r in c)a.addEventListener(r,function(a){const r=n(a);e[gtm4wp_datalayer_name]=e[gtm4wp_datalayer_name]||[],e[gtm4wp_datalayer_name].push(Object.assign({event:c[a.type]},r)),t.ga4events&&"wpcf7submit"===a.type&&(o(e,"form_submit",a.target,r.status),"mail_sent"===r.status&&o(e,"generate_lead",a.target,r.status))});if(t.ga4events){const t=new WeakSet;a.addEventListener("focusin",function(n){const a=n.target&&n.target.closest?n.target.closest(".wpcf7 form, form.wpcf7-form"):null;a&&!t.has(a)&&(t.add(a),o(e,"form_start",a))})}}}(window,document,{wpcf7beforesubmit:"gtm4wp.contactForm7BeforeSubmit",wpcf7invalid:"gtm4wp.contactForm7InvalidInput",wpcf7unaccepted:"gtm4wp.contactForm7Unaccepted",wpcf7spam:"gtm4wp.contactForm7SpamDetected",wpcf7aborted:"gtm4wp.contactForm7Aborted",wpcf7mailsent:"gtm4wp.contactForm7MailSent",wpcf7mailfailed:"gtm4wp.contactForm7MailFailed",wpcf7submit:"gtm4wp.contactForm7Submitted"})})();
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.