{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/rltf3Vy6URklNgm04bBI/VtELIyCzbszqugkdHVRK/Lenis.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{Lenis as ReactLenis}from\"@studio-freight/react-lenis\";import{useEffect}from\"react\";import styled,{createGlobalStyle}from\"styled-components\";const GlobalStyle=createGlobalStyle`\n  html.lenis {\n    height: auto;\n  }\n\n  [name=\"slider\"] {\n    height: max-content !important;\n    #slider, #slider-mobile, #slider-1, #slider-mobile-1, #slider-2, #slider-mobile-2, #slider-3, #slider-mobile-3, #slider-4, #slider-mobile-4, #slider-5, #slider-mobile-5, #slider-6, #slider-mobile-6, #slider-7, #slider-mobile-7, #slider-8, #slider-mobile-8, #slider-9, #slider-mobile-9, #slider-10, #slider-mobile-10 {\n        height: max-content !important;\n    }\n    section {\n        & > div {\n            position: relative !important;\n        }\n    }\n  }\n`;export function withLenis(Component){const WithFontFeature=styled(Component)`\n    \n\n    html.lenis {\n    height: auto;\n    }\n    \n  `;return props=>{useEffect(()=>{const prevPath=localStorage.getItem(\"prevPath\");const currentPath=window.location.pathname;if(currentPath!==prevPath){window.scrollTo(0,0) // Scroll to the top of the page\n;localStorage.setItem(\"prevPath\",currentPath);}},[]);return /*#__PURE__*/ _jsxs(ReactLenis,{root:true,children:[/*#__PURE__*/ _jsx(WithFontFeature,{...props}),/*#__PURE__*/ _jsx(GlobalStyle,{})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withLenis\":{\"type\":\"reactHoc\",\"name\":\"withLenis\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Lenis.map"],
  "mappings": "uJAA4M,IAAMA,EAAYC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBrN,SAASC,EAAUC,EAAU,CAAC,IAAMC,EAAgBC,EAAOF,CAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAOzE,OAAOG,IAAQC,EAAU,IAAI,CAAC,IAAMC,EAAS,aAAa,QAAQ,UAAU,EAAQC,EAAYC,EAAO,SAAS,SAAYD,IAAcD,IAAUE,EAAO,SAAS,EAAE,CAAC,EAC1K,aAAa,QAAQ,WAAWD,CAAW,EAAG,EAAE,CAAC,CAAC,EAAuBE,EAAMC,EAAW,CAAC,KAAK,GAAK,SAAS,CAAeC,EAAKT,EAAgB,CAAC,GAAGE,CAAK,CAAC,EAAgBO,EAAKb,EAAY,CAAC,CAAC,CAAC,CAAC,CAAC,EAAI",
  "names": ["GlobalStyle", "We", "withLenis", "Component", "WithFontFeature", "He", "props", "ue", "prevPath", "currentPath", "window", "u", "y", "p"]
}
