(()=>{"use strict";var e={};e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();const t="email",n="phone",r="name",l={[t]:["email","e-mail","mail","email address"],[n]:["phone","tel","mobile","cell","telephone","phone number"],[r]:["name","full-name","full name","full_name","fullname","first-name","first name","first_name","firstname","last-name","last name","last_name","lastname","given-name","given name","given_name","givenname","family-name","family name","family_name","familyname","fname","lname","first","last","your-name","your name"]};function a(e){return e&&"string"==typeof e?e.trim().toLowerCase():""}function i(e){const t=a(e),n=t.lastIndexOf("@");if(-1===n)return t;const r=t.slice(n+1);return["gmail.com","googlemail.com"].includes(r)?`${t.slice(0,n).replace(/\./g,"")}@${r}`:t}function u(e){const t=a(e),n=t.replace(/\D/g,"");return t.startsWith("+")?`+${n}`:n}function s(e){const t=e.filter(e=>{let{type:t}=e;return t===r}).map(e=>{let{value:t}=e;return a(t)}).filter(Boolean);if(!t.length)return;const[n,...l]=1===t.length?t[0].split(" "):t;return{first_name:n,...l?.length>0?{last_name:l.join(" ")}:{}}}function o(e){return e.find(e=>{let{type:n}=e;return n===t})?.value}function c(e){return e.find(e=>{let{type:t}=e;return t===n})?.value}e.g.document.addEventListener("wpcf7mailsent",m=>{const f=e.g._googlesitekit?.gtagUserData,g=f?function(e){if(!(e&&e instanceof HTMLFormElement))return;const m=new FormData(e);return function(e){const t=[["address",s(e)],["email",o(e)],["phone_number",c(e)]].filter(e=>{let[,t]=e;return t});if(0!==t.length)return Object.fromEntries(t)}(Array.from(m.entries()).map(s=>{let[o,c]=s;const m=e.querySelector(`[name='${o}']`),f=m?.type;return"hidden"===f||"submit"===f?null:function(e){let{type:s,name:o,value:c,label:m}=e||{};switch(s=a(s),o=a(o),c=a(c),m=function(e){return e&&"string"==typeof e?e.trim().toLowerCase().replace(/\s*\*+\s*$/,"").replace(/\s*\(required\)\s*$/i,"").replace(/\s*:\s*$/,"").trim():""}(m),s){case"email":return{type:t,value:i(c)};case"tel":return{type:n,value:u(c)}}return function(e){if(!e)return!1;const t=i(e);return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(t)}(c)||l[t].includes(o)||l[t].includes(m)?{type:t,value:i(c)}:l[n].includes(o)||l[n].includes(m)?{type:n,value:u(c)}:l[r].includes(o)||l[r].includes(m)?{type:r,value:a(c)}:function(e){if(!e)return!1;if(!function(e){const t=e.replace(/\D/g,"");return!(t.length<7||t.length<e.length/2)&&/^[\s\-()+.\d]*$/.test(e)}(e))return!1;const t=u(e);if(!/^\+?\d{7,}$/.test(t))return!1;const n=/[\s\-()+.]/.test(e),r=e.trim().startsWith("+");return!(!n&&!r)}(c)?{type:n,value:u(c)}:null}({type:f,label:m?.id?e.querySelector(`label[for='${m?.id}']`)?.textContent:void 0,name:o,value:c})}).filter(Boolean))}(m.target):null;e.g._googlesitekit?.gtagEvent?.("contact",{event_category:m.detail.contactFormId,event_label:m.detail.unitTag,...g?{user_data:g}:{}})})})();
"use strict";function wp_has_service_consent(e){var n=consent_api_get_cookie(consent_api.cookie_prefix+"_consented_services");let t;try{t=JSON.parse(n)}catch(e){t={}}return t.hasOwnProperty(e)?t[e]:wp_has_consent(wp_get_service_category(e))}function wp_is_service_denied(e){var n=consent_api_get_cookie(consent_api.cookie_prefix+"_consented_services");let t;try{t=JSON.parse(n)}catch(e){t={}}return!!t.hasOwnProperty(e)&&!t[e]}function wp_set_service_consent(e,n){var t=consent_api_get_cookie(consent_api.cookie_prefix+"_consented_services");let o;try{o=JSON.parse(t)}catch(e){o={}}o[e]=n,consent_api_set_cookie(consent_api.cookie_prefix+"_consented_services",JSON.stringify(o));t={},t.service=e,t.value=n,e=new CustomEvent("wp_consent_api_status_change_service",{detail:t});document.dispatchEvent(e)}function wp_has_consent(e){let n=!1,t;t=void 0!==window.wp_consent_type?window.wp_consent_type:window.wp_fallback_consent_type;e=consent_api_get_cookie(consent_api.cookie_prefix+"_"+e);return n=!t||-1!==t.indexOf("optout")&&""===e||"allow"===e}function wp_get_service_category(n){if(consent_api.services&&Array.isArray(consent_api.services)){var t=consent_api.services;for(let e=0;e<t.length;e++)if(t[e]&&t[e].name===n&&t[e].category)return t[e].category}return"marketing"}function consent_api_set_cookie(e,n){let t=";secure";var o=consent_api.cookie_expiration,i=new Date,o=(i.setTime(i.getTime()+24*o*60*60*1e3),";expires="+i.toGMTString());"https:"!==window.location.protocol&&(t=""),document.cookie=e+"="+n+t+o+";path=/"}function consent_api_get_cookie(e){e+="=";for(var n=window.document.cookie.split(";"),t=0;t<n.length;t++){var o=n[t].trim();if(0===o.indexOf(e))return o.substring(e.length,o.length)}return""}function wp_set_consent(e,n){let t;if("allow"===n||"deny"===n){var o=consent_api_get_cookie(consent_api.cookie_prefix+"_"+e);if(consent_api_set_cookie(consent_api.cookie_prefix+"_"+e,n),o!==n){o=[];o[e]=n;try{t=new CustomEvent("wp_listen_for_consent_change",{detail:o})}catch(e){(t=document.createEvent("Event")).initEvent("wp_listen_for_consent_change",!0,!0),t.detail=o}document.dispatchEvent(t)}}}window.wp_fallback_consent_type=consent_api.consent_type,window.waitfor_consent_hook=consent_api.waitfor_consent_hook;