{"version":3,"file":"ScrollToTop.CpDKfUT2.mjs","names":[],"sources":["https:/framerusercontent.com/modules/qjVYypBymvNt3uWxhWBx/YvcELOfqCJRuJLcfz7zI/ScrollToTop.js"],"sourcesContent":["/**\n * Scroll Back Top for Framer\n * Licensed under CC0-1.0 - Free for personal and commercial use with attribution\n * Created by Stefan (x.com/hyggemethat) at pixcodrops.com\n *\n * Redistribution or modification of this work is permitted, but re-sharing or altering it\n * in a way that misrepresents authorship is not allowed. Proper attribution is required.\n *\n * Hope you enjoy using it!\n */import{jsx as _jsx}from\"react/jsx-runtime\";export function backTop(Component){return function BackTopOverride(props){const scrollToTop=event=>{// Prevent default action if it's a link\nevent.preventDefault();window.scrollTo({top:0,behavior:\"smooth\"});};return /*#__PURE__*/_jsx(Component,{...props,onClick:scrollToTop,role:\"button\",\"aria-label\":\"Scroll back to top\"});};}\nexport const __FramerMetadata__ = {\"exports\":{\"backTop\":{\"type\":\"reactHoc\",\"name\":\"backTop\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScrollToTop.map"],"mappings":"kHAS8C,SAAgB,EAAQ,EAAU,CAAC,OAAO,SAAyB,EAAM,CAAC,IAAM,EAAY,GAAO,CACjJ,EAAM,gBAAgB,CAAC,EAAO,SAAS,CAAC,IAAI,EAAE,SAAS,SAAS,CAAC,EAAG,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAY,KAAK,SAAS,aAAa,qBAAqB,CAAC,uBADxI"}