{"version":3,"file":"CK4U8eEA.js","sources":["../../../../src/composables/useScroll.ts"],"sourcesContent":["const isScroll = useState('isScroll', () => false)\nconst handleScroll = () => {\n if (window.scrollY <= 70) {\n if (isScroll.value) {\n isScroll.value = false\n }\n } else {\n if (!isScroll.value) {\n isScroll.value = true\n }\n }\n}\n\nexport const useScroll = () => ({\n isScroll,\n handleScroll\n})"],"names":["isScroll","useState","handleScroll","useScroll"],"mappings":"kCAAA,MAAMA,EAAWC,EAAS,WAAY,IAAM,EAAK,EAC3CC,EAAe,IAAM,CACnB,OAAO,SAAW,GACdF,EAAS,QACTA,EAAS,MAAQ,IAGhBA,EAAS,QACVA,EAAS,MAAQ,GAG7B,EAEaG,EAAY,KAAO,CAC5B,SAAAH,EACA,aAAAE,CACJ"}