1import{g as b}from"./index.CB87Sc6I.js";import{S as M}from"./ScrollTrigger.Cv03IO65.js";b.registerPlugin(M);document.addEventListener("DOMContentLoaded",()=>{const w=[46e3,54e3,4e4],_=[1,-1,1],r=document.getElementById("pricing-enterprise-pills"),d=document.querySelectorAll(".pricing-enterprise__pills-row"),u=document.querySelector(".pricing-enterprise");if(!u)return;if(window.matchMedia("(prefers-reduced-motion: reduce)").matches){u.querySelectorAll(".pricing-enterprise__title, .pricing-enterprise__subtitle, .pricing-enterprise__cta").forEach(i=>{i.style.opacity="1"}),r&&r.classList.add("pricing-enterprise__pills--ready");return}const S=b.timeline({scrollTrigger:{trigger:u,start:"top 82%",once:!0}});S.fromTo(".pricing-enterprise__title",{opacity:0,y:28,filter:"blur(8px)"},{opacity:1,y:0,filter:"blur(0px)",duration:.7,ease:"power3.out"},0).fromTo(".pricing-enterprise__subtitle",{opacity:0,y:18},{opacity:1,y:0,duration:.55,ease:"power3.out"},.1).fromTo(".pricing-enterprise__cta",{opacity:0,scale:.9},{opacity:1,scale:1,duration:.5,ease:"back.out(1.5)"},.2),d.forEach((i,t)=>{const e=_[t]===1?-60:60;S.fromTo(i,{opacity:0,x:e},{opacity:1,x:0,duration:.65,ease:"power3.out"},.35+t*.08)});let m=1,f=1;r&&(r.addEventListener("mouseenter",()=>{f=.15}),r.addEventListener("mouseleave",()=>{f=1}));function E(i,t,e){const o=i.clientWidth,c=e.offsetWidth;if(c<=0)return;const y=Math.max(3,Math.ceil(o*2/c)+1);for(;t.children.length<y;){const p=e.cloneNode(!0);p.setAttribute("aria-hidden","true"),t.appendChild(p)}}d.forEach((i,t)=>{const e=i.querySelector(".pricing-enterprise__pills-track"),o=e?.children[0],c=e?.children[1];if(!e||!o||!c)return;const y=o.querySelectorAll(".pricing-enterprise__pill--empty"),p=c.querySelectorAll(".pricing-enterprise__pill--empty");y.forEach((a,h)=>{const l=3.5+Math.random()*3.5;a.style.minWidth=`${l}rem`;const W=p[h];W&&(W.style.minWidth=`${l}rem`)}),E(i,e,o);const s=o.offsetWidth;if(s<=0)return;const T=_[t]??1;let n=T===-1?-s:0,g=null;const A=w[t]??45e3,q=a=>{if(g!==null){m+=(f-m)*.04;const h=(a-g)/1e3,l=s*1e3/A*h*m;T===1?(n-=l,n<=-s&&(n+=s)):(n+=l,n>=0&&(n-=s)),e.style.transform=`translateX(${n}px)`}g=a,requestAnimationFrame(q)};requestAnimationFrame(q)}),r&&r.classList.add("pricing-enterprise__pills--ready"),window.addEventListener("resize",()=>{d.forEach(i=>{const t=i.querySelector(".pricing-enterprise__pills-track"),e=t?.children[0];t&&e&&E(i,t,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.