1import{a as g}from"./index.DRgL8dEX.js";const q=5;function A(){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;const e=document.querySelector("[data-ai-pill]"),t=e?.querySelector("[data-ai-pill-content]"),r=e?.querySelector("[data-ai-pill-svg]"),i=e?.querySelector("[data-ai-pill-border]"),o=e?.querySelector("[data-ai-pill-glow]"),n=e?.querySelector("[data-ai-pill-gradient]"),f=e?.querySelectorAll("[data-ai-pill-stop]");if(!e||!t||!r||!i||!o||!n||!f?.length)return;t.classList.remove("border-white/10"),t.classList.add("border-transparent"),r.classList.remove("hidden");const l=1,p=()=>{const{width:d,height:s}=e.getBoundingClientRect();if(d===0||s===0)return;const c=l/2,u=s/2-c,m={x:String(c),y:String(c),width:String(d-l),height:String(s-l),rx:String(u),ry:String(u)};for(const[a,h]of Object.entries(m))i.setAttribute(a,h),o.setAttribute(a,h);n.setAttribute("gradientUnits","userSpaceOnUse")};p(),g(0,360,{duration:q,ease:"linear",repeat:1/0,onUpdate:d=>{const{width:s,height:c}=e.getBoundingClientRect();if(s===0||c===0)return;const u=s/2,m=c/2,a=Math.hypot(s,c)/2,h=d*Math.PI/180,w=Math.cos(h),v=Math.sin(h);n.setAttribute("x1",String(u-w*a)),n.setAttribute("y1",String(m-v*a)),n.setAttribute("x2",String(u+w*a)),n.setAttribute("y2",String(m+v*a))}}),new ResizeObserver(p).observe(e)}const S=10,b={type:"spring",stiffness:300,damping:24};function L(){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||!window.matchMedia("(min-width: 1024px)").matches)return;const e=document.querySelector("[data-hero-tilt]"),t=e?.querySelector("[data-hero-tilt-inner]");if(!e||!t)return;e.style.perspective="1000px",t.style.transformStyle="preserve-3d";let r;const i=n=>{const{left:f,top:l,width:p,height:y}=e.getBoundingClientRect(),d=(n.clientX-f)/p-.5,s=(n.clientY-l)/y-.5;r?.stop(),r=g(t,{rotateX:-s*S,rotateY:d*S},b)},o=()=>{r?.stop(),r=g(t,{rotateX:0,rotateY:0},b)};e.addEventListener("pointermove",i),e.addEventListener("pointerleave",o)}function M(){if(window.matchMedia("(prefers-reduced-motion: reduce)").matches||!window.matchMedia("(min-width: 1024px)").matches)return;const e=navigator.connection;if(e?.saveData||/(^|-)2g$/.test(e?.effectiveType??"")||"GestureEvent"in window)return;const t=document.querySelector("[data-hero-video]"),r=t?.dataset.webm;if(!t||!r||!t.canPlayType('video/webm; codecs="vp9"'))return;const i=()=>{t.src=r,t.addEventListener("playing",()=>{t.parentElement&&(t.parentElement.dataset.playing="")},{once:!0}),new IntersectionObserver(([n])=>{n.isIntersecting?t.play().catch(()=>{}):t.pause()}).observe(t)},o=()=>{"requestIdleCallback"in window?requestIdleCallback(i,{timeout:2e3}):setTimeout(i,200)};document.readyState==="complete"?o():window.addEventListener("load",o,{once:!0})}function I(e){const t=document.querySelector(e);t&&t.addEventListener("click",r=>{const i=t.getAttribute("href");if(!i?.startsWith("#"))return;const o=document.getElementById(i.slice(1));if(!o)return;r.preventDefault();const n=window.matchMedia("(prefers-reduced-motion: reduce)").matches?"auto":"smooth";o.scrollIntoView({behavior:n,block:"start"}),history.pushState(null,"",i)})}A();L();M();I('a[href="#business-scroll-target"]');
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.