1import{_ as N}from"./preload-helper.CVfkMyKi.js";const _=/\.(pdf|zip|docx?|pptx?)($|[?#])/i,G="[data-analytics-view], [data-analytics-section]",X=[25,50,75,90];let S=!1,d=null,A="",T="",m=!1,p=null;const k=new WeakSet,w=new WeakSet,I=new WeakSet,P=new WeakSet,g=new Set;function J(e,t=900){return typeof window>"u"?(e(),-1):typeof window.requestIdleCallback=="function"?window.requestIdleCallback(e,{timeout:t}):window.setTimeout(e,0)}function Y(e){if(!(e===null||typeof window>"u")){if(typeof window.cancelIdleCallback=="function"){window.cancelIdleCallback(e);return}window.clearTimeout(e)}}function R(){return typeof window>"u"?[]:(window.dataLayer=window.dataLayer||[],window.dataLayer)}function u(e={}){return Object.fromEntries(Object.entries(e).filter(([,t])=>t!=null&&t!==""))}function Q(){return typeof window>"u"||typeof document>"u"?{}:u({page_title:document.title,page_path:`${window.location.pathname}${window.location.search}`,page_location:window.location.href})}function z(e){return e.textContent?.replace(/\s+/g," ").trim()||void 0}function Z(e){const t=e.getAttribute("aria-label")||e.getAttribute("title")||z(e);if(t)return t.length>120?`${t.slice(0,117)}...`:t}function D(e){const t={};for(const n of e.getAttributeNames()){if(!n.startsWith("data-analytics-")||n==="data-analytics"||n==="data-analytics-view")continue;const r=e.getAttribute(n);r&&(t[n.slice(15).replace(/-/g,"_")]=r)}return t}function F(e){const t=new URL(e.href,window.location.href);return u({link_url:t.href,link_domain:t.hostname,link_path:`${t.pathname}${t.search}`,link_text:z(e),link_target:e.target||void 0})}function ee(e){return e.dataset.analyticsForm||e.getAttribute("name")||e.id||e.getAttribute("aria-label")||"form"}function b(e){return u({form_name:ee(e),form_id:e.id||void 0,form_destination:e.getAttribute("action")||void 0,form_method:e.method||"get"})}function te(e){return Array.from(e.querySelectorAll(":invalid")).map(t=>t.name||t.id).filter(Boolean)}function V(e){const t=te(e);i("form_error",{...b(e),invalid_fields:t.join(",")||void 0,invalid_field_count:t.length||void 0})}function ne(){if(typeof document>"u")return;const e=n=>{if(P.has(n))return;const r=D(n),o=n.getAttribute("data-analytics-view"),s=n.getAttribute("data-analytics-section");!o&&!s||(s&&i("section_view",r),o&&o!=="section_view"&&i(o,r),P.add(n))},t=Array.from(document.querySelectorAll(G));if(!("IntersectionObserver"in window)){t.forEach(e);return}d||(d=new IntersectionObserver(n=>{for(const r of n){if(!r.isIntersecting)continue;const o=r.target;e(o),d?.unobserve(o)}},{threshold:.35}));for(const n of t)I.has(n)||(d.observe(n),I.add(n))}function re(){if(typeof window>"u"||typeof document>"u")return;const e=`${window.location.pathname}${window.location.search}::${document.title}`;e!==A&&(i("page_view"),A=e)}function oe(){return typeof window>"u"?"":`${window.location.pathname}${window.location.search}`}function ie(){if(typeof window>"u"||typeof document>"u")return 0;const e=document.documentElement,t=document.body,n=Math.max(e.scrollHeight,t.scrollHeight),r=window.innerHeight||e.clientHeight||0,o=window.scrollY||e.scrollTop||0;return n<=r?100:Math.min(100,Math.max(0,(o+r)/n*100))}function W(){const e=ie();for(const t of X)e>=t&&!g.has(t)&&(i("scroll_depth",{scroll_percent:t}),g.add(t))}function ae(){const e=oe();e!==T&&(g.clear(),T=e)}function C(){m||(m=!0,requestAnimationFrame(()=>{W(),m=!1}))}function se(e){const t=e.target;if(!(t instanceof Element))return;const n=t.closest("[data-analytics]");if(n){const L=n.getAttribute("data-analytics");if(L){const f=D(n);f.label||(f.label=Z(n)),i(L,{...f})}}const r=t.closest("a[href]");if(!r)return;let o=null;const c=(()=>{if(o)return o;try{return o=new URL(r.href,window.location.href),o}catch{return null}})();c&&(_.test(c.pathname)&&i("file_download",{...F(r),file_extension:c.pathname.match(_)?.[1]?.toLowerCase()||void 0}),/^https?:$/.test(c.protocol)&&c.origin!==window.location.origin&&i("outbound_click",F(r)))}function ce(e){const t=e.target;if(!(t instanceof HTMLElement))return;const n=t.closest("form");!(n instanceof HTMLFormElement)||k.has(n)||(i("form_start",b(n)),k.add(n))}function de(e){const t=e.target;if(t instanceof HTMLFormElement){if(!t.checkValidity()){V(t);return}i("form_submit",b(t))}}function le(e){const t=e.target;if(!(t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement))return;const n=t.form;!(n instanceof HTMLFormElement)||w.has(n)||(w.add(n),queueMicrotask(()=>{V(n),w.delete(n)}))}function i(e,t={}){if(typeof window>"u")return;const n={event:e,...Q(),...u(t)};return R().push(n),n}function ue(){if(S||typeof window>"u"||typeof document>"u")return;S=!0,R(),window.trackEvent=i;const e=()=>{re(),ae(),Y(p),p=J(()=>{ne(),W(),p=null},1200)};
1document.addEventListener("click",se,!0),document.addEventListener("focusin",ce,!0),document.addEventListener("submit",de,!0),document.addEventListener("invalid",le,!0),document.addEventListener("astro:page-load",e),window.addEventListener("scroll",C,{passive:!0}),window.addEventListener("resize",C,{passive:!0}),document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e,{once:!0}):e()}const K="wendor_ab_",U=`${K}exposures`,fe=[{key:"homepage_popup_v2",variants:["control","short_form_inline"]},{key:"machine_specs_progressive",variants:["control","collapsed"]}];let M=!1;function me(e){return e.replace(/[^a-z0-9_-]/gi,"-").toLowerCase()}function pe(e){const t=Math.floor(Math.random()*e.length);return e[t]??e[0]??"control"}function we(){try{const e=window.localStorage.getItem(U);if(!e)return new Set;const t=JSON.parse(e);return Array.isArray(t)?new Set(t.filter(n=>typeof n=="string")):new Set}catch{return new Set}}function ge(e){try{window.localStorage.setItem(U,JSON.stringify(Array.from(e)))}catch{}}function he(e){return`${K}${e}`}function ye(e){const t=he(e.key);try{const r=window.localStorage.getItem(t);if(r&&e.variants.includes(r))return r}catch{}const n=pe(e.variants);try{window.localStorage.setItem(t,n)}catch{}return n}function Ee(e,t){const n=`${e}:${t}`,r=we();r.has(n)||(i("experiment_view",{experiment_id:e,variant_id:t}),r.add(n),ge(r))}function be(){if(!(M||typeof window>"u"||typeof document>"u")){M=!0;for(const e of fe){const t=me(ye(e));document.documentElement.setAttribute(`data-exp-${e.key}`,t),document.body.setAttribute(`data-exp-${e.key}`,t),Ee(e.key,t)}}}const h="is-loading",B="btn-spinner",ve=12e3,v=new Set;function $(e){return!e||e==="transparent"||/rgba\([^)]*,\s*0\)$/.test(e)}function Le(e){if(e.matches('button, input[type="submit"]'))return!0;const t=getComputedStyle(e),n=!$(t.backgroundColor),r=t.borderTopStyle!=="none"&&parseFloat(t.borderTopWidth)>0&&!$(t.borderTopColor);if(!n&&!r)return!1;const o=e.getBoundingClientRect();return o.height>=30&&o.height<=90&&parseFloat(t.paddingLeft)>=8}function _e(e,t){if(t.button!==0||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||e.target&&e.target!=="_self"||e.hasAttribute("download"))return!1;const n=e.getAttribute("href")||"";if(!n||n.startsWith("#")||/^(mailto|tel|sms|javascript):/i.test(n))return!1;let r;try{r=new URL(e.href,window.location.href)}catch{return!1}return!(/(^|\.)whatsapp\.com$|^wa\.me$/i.test(r.hostname)||r.origin===location.origin&&r.pathname===location.pathname&&r.search===location.search&&r.hash)}function l(e){e.classList.remove(h),e.removeAttribute("aria-busy"),e.querySelectorAll(`:scope > .${B}`).forEach(t=>t.remove()),v.delete(e)}function x(){v.forEach(l)}function O(e){if(e.classList.contains(h))return;e.classList.add(h),e.setAttribute("aria-busy","true");const t=document.createElement("span");t.className=B,t.setAttribute("aria-hidden","true"),e.appendChild(t),v.add(e),window.setTimeout(()=>l(e),ve)}let H=!1;function Se(){H||typeof document>"u"||(H=!0,document.addEventListener("click",e=>{const n=e.target?.closest?.("a[href]");!n||n.closest("[data-no-loading]")||_e(n,e)&&Le(n)&&(e.defaultPrevented||(O(n),window.setTimeout(()=>{e.defaultPrevented&&l(n)},0)))}),document.addEventListener("submit",e=>{const t=e.target;if(!t||t.hidden||t.closest("[data-no-loading]"))return;const n=e.submitter||t.querySelector('button[type="submit"], input[type="submit"], button:not([type])');if(!n||n.closest("[data-no-loading]"))return;O(n);const r=()=>l(n);t.addEventListener("lead:success",r,{once:!0}),t.addEventListener("input",r,{once:!0})}),window.addEventListener("pageshow",e=>{e.persisted&&x()}),document.addEventListener("astro:page-load",x))}ue();be();Se();let y=!1;const j=async()=>{if(y||!document.querySelector("form[data-lead-form]"))return;y=!0;const{initializeLeadForms:e}=await N(async()=>{const{initializeLeadForms:t}=await import("./leadForms.BKx3zMvd.js");return{initializeLeadForms:t}},[]);e()};j();document.addEventListener("astro:page-load",j);document.addEventListener("wendor:lead-form-added",async e=>{const t=e.target;if(!(t instanceof HTMLFormElement))return;const{initializeLeadForms:n,prepareLeadForm:r}=await N(async()=>{const{initializeLeadForms:o,prepareLeadForm:s}=await import("./leadForms.BKx3zMvd.js");return{initializeLeadForms:o,prepareLeadForm:s}},[]);y=!0,n(),r(t),t.dispatchEvent(new Event("wendor:lead-form-ready"))});const q=()=>{const e=document.querySelector('img[data-lcp-media="hero"], video[data-lcp-media="hero"]')||document.querySelector('[data-lcp-media="hero"] img, [data-lcp-media="hero"] video');e instanceof HTMLImageElement?(e.loading="eager",e.decoding="async",e.setAttribute("fetchpriority","high")):e instanceof HTMLVideoElement&&e.setAttribute("preload","metadata");const t=Math.max(window.innerHeight*.92,620);document.querySelectorAll("img").forEach(n=>
1{n===e||e instanceof Element&&e.contains(n)||n.getBoundingClientRect().top<t||(n.setAttribute("loading","lazy"),n.setAttribute("decoding","async"),n.setAttribute("fetchpriority","low"))}),document.querySelectorAll("video").forEach(n=>{n===e||e instanceof Element&&e.contains(n)||n.getBoundingClientRect().top<t||n.setAttribute("preload","none")})};let a=null;const E=()=>{if(a!==null&&(typeof cancelIdleCallback<"u"?cancelIdleCallback(a):window.clearTimeout(a),a=null),typeof requestIdleCallback<"u"){a=requestIdleCallback(()=>{a=null,q()},{timeout:1200});return}a=window.setTimeout(()=>{a=null,q()},0)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",E,{once:!0}):E();document.addEventListener("astro:page-load",E);
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.