{"mappings":"ACAA,IAAI,EACA,EAEA,EAHA,EAAgB,EAChB,EAAkB,CAAA,EAElB,EAAQ,KAAK,EAAE,CAAC,sBAAuB,CAAC,SAAU,IAAK,OAAQ,GAAI,SAAU,EAAG,KAAM,QAAQ,GAAG,aAAa,CAAC,IAEnH,KAAK,GAAG,CAAC,uBAAwB,CAAC,SAAU,IAAI,GAEhD,OAAO,gBAAgB,CAAC,SAAU,WAG9B,EADG,OAAO,WAAW,CAAG,EAM1B,KAAK,EAAE,CAAC,EAAO,CACb,UAAW,EAAkB,EAAI,EACnC,GAEA,EAAgB,OAAO,WAAW,AACpC","sources":["<anon>","assets/src/js/infinite-slider.js"],"sourcesContent":["(() => {\nlet $434af1e1b8ab5935$var$currentScroll = 0;\nlet $434af1e1b8ab5935$var$isScrollingDown = true;\nlet $434af1e1b8ab5935$var$tween = gsap.to(\".aximo_marquee_part\", {\n    xPercent: 100,\n    repeat: -1,\n    duration: 3,\n    ease: \"linear\"\n}).totalProgress(0.5);\ngsap.set(\".aximo_marquee_inner\", {\n    xPercent: -100\n});\nwindow.addEventListener(\"scroll\", function() {\n    if (window.pageYOffset > $434af1e1b8ab5935$var$currentScroll) $434af1e1b8ab5935$var$isScrollingDown = true;\n    else $434af1e1b8ab5935$var$isScrollingDown = false;\n    gsap.to($434af1e1b8ab5935$var$tween, {\n        timeScale: $434af1e1b8ab5935$var$isScrollingDown ? 1 : -1\n    });\n    $434af1e1b8ab5935$var$currentScroll = window.pageYOffset;\n});\n\n})();\n//# sourceMappingURL=infinite-slider.js.map\n","let currentScroll = 0;\nlet isScrollingDown = true;\n\nlet tween = gsap.to(\".aximo_marquee_part\", {xPercent: 100, repeat: -1, duration: 3, ease: \"linear\"}).totalProgress(0.5);\n\ngsap.set(\".aximo_marquee_inner\", {xPercent: -100});\n\nwindow.addEventListener(\"scroll\", function(){\n  \n  if ( window.pageYOffset > currentScroll ) {\n    isScrollingDown = true;\n  } else {\n    isScrollingDown = false;\n  }\n   \n  gsap.to(tween, {\n    timeScale: isScrollingDown ? 1 : -1\n  });\n  \n  currentScroll = window.pageYOffset\n});\n\n\n"],"names":["$434af1e1b8ab5935$var$currentScroll","$434af1e1b8ab5935$var$isScrollingDown","$434af1e1b8ab5935$var$tween","gsap","to","xPercent","repeat","duration","ease","totalProgress","set","window","addEventListener","pageYOffset","timeScale"],"version":3,"file":"infinite-slider.js.map"}