{"version":3,"file":"Scrollsnap.BWXuYPhK.mjs","names":[],"sources":["https:/framerusercontent.com/modules/yA8ChDfOJrCmNIP1VtwW/vsJKxaObjNYVqh7NhxYu/Scrollsnap.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";export function withScrollSnap(Component){return props=>{useEffect(()=>{const html=document.documentElement;const body=document.body;const previousHtmlSnap=html.style.scrollSnapType;const previousBodySnap=body.style.scrollSnapType;html.style.scrollSnapType=\"y mandatory\";body.style.scrollSnapType=\"y mandatory\";return()=>{html.style.scrollSnapType=previousHtmlSnap;body.style.scrollSnapType=previousBodySnap;};},[]);return /*#__PURE__*/_jsx(Component,{...props});};}export function withSnapSection(Component){return props=>/*#__PURE__*/_jsx(Component,{...props,style:{...props.style,scrollSnapAlign:\"start\",scrollSnapStop:\"always\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"withSnapSection\":{\"type\":\"reactHoc\",\"name\":\"withSnapSection\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withScrollSnap\":{\"type\":\"reactHoc\",\"name\":\"withScrollSnap\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Scrollsnap.map"],"mappings":"kHAAwE,SAAgB,EAAe,EAAU,CAAC,MAAO,KAAQ,MAAc,CAAC,IAAM,EAAK,SAAS,gBAAsB,EAAK,SAAS,KAAW,EAAiB,EAAK,MAAM,eAAqB,EAAiB,EAAK,MAAM,eAA+F,MAAhF,GAAK,MAAM,eAAe,cAAc,EAAK,MAAM,eAAe,kBAAwB,CAAC,EAAK,MAAM,eAAe,EAAiB,EAAK,MAAM,eAAe,CAAiB,CAAE,EAAE,CAAC,CAAC,EAAsB,EAAK,EAAU,CAAC,GAAG,CAAK,CAAC,EAAI,CAAC,SAAgB,EAAgB,EAAU,CAAC,MAAO,IAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,MAAM,CAAC,GAAG,EAAM,MAAM,gBAAgB,QAAQ,eAAe,QAAQ,CAAC,CAAC,CAAE,iBAAxpB,IAA6B"}