1import{c as x,r as t,j as v}from"./index-polGdH-M.js";import{c as g}from"./utils-C8nBGPD0.js";const R=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],b=x("arrow-right",R);function w(){const[n,s]=t.useState(!1);return t.useEffect(()=>{const e=window.matchMedia("(prefers-reduced-motion: reduce)");s(e.matches);const r=a=>s(a.matches);return e.addEventListener("change",r),()=>e.removeEventListener("change",r)},[]),n}function M({children:n,as:s="div",className:e,delay:r=0,y:a=24,once:o=!0}){const u=w(),d=t.useRef(null),[f,c]=t.useState(!1);t.useEffect(()=>{if(u){c(!0);return}const l=d.current;if(!l)return;const i=new IntersectionObserver(h=>{for(const p of h)p.isIntersecting?(c(!0),o&&i.disconnect()):o||c(!1)},{threshold:.15,rootMargin:"0px 0px -10% 0px"});return i.observe(l),()=>i.disconnect()},[u,o]);const m={transitionDelay:`${r}ms`,transform:f?"translate3d(0,0,0)":`translate3d(0,${a}px,0)`,opacity:f?1:0};return v.jsx(s,{ref:d,"data-reveal":"",style:m,className:g("transition-all duration-700 ease-out will-change-transform",e),children:n})}export{b as A,M as R,w as u};
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.