{const lenis=new Lenis() lenis.on('scroll',ScrollTrigger.update) gsap.ticker.add((time)=>{lenis.raf(time*1000)}) gsap.ticker.lagSmoothing(0)};const initSmoothScrolling=()=>{const lenis=new Lenis() function raf(time){lenis.raf(time) requestAnimationFrame(raf)} requestAnimationFrame(raf)};if(typeof ScrollTrigger!=='undefined'){initSmoothScrollingGSAP()}else{initSmoothScrolling()}