{"version":3,"file":"Back_Button.BtYccLKk.mjs","names":["__esmMin","init_ssg_sandbox_shims","window","c","init_jsx_runtime","withPreviousPage","handleOnClick","Component","props","init_Back_Button"],"sources":["https:/framerusercontent.com/modules/SBg4jaD6c2wb8daeiaD7/c7Q2CXUaTgYa2wfKEt2H/Back_Button.js"],"sourcesContent":["/**\n * v1.0\n * hi@framer.today\n * framer.today/license\n *\n */import{jsx as _jsx}from\"react/jsx-runtime\";export function withPreviousPage(Component){return function WithPreviousPage(props){const handleOnClick=()=>{if(typeof window!==\"undefined\"&&window.history.length>1){window.history.back();}};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleOnClick});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withPreviousPage\":{\"type\":\"reactHoc\",\"name\":\"withPreviousPage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Back_Button.map"],"mappings":"A,kHAK8C,SAAgBK,EAAiB,EAAU,CAAC,OAAO,SAA0B,EAAM,CAAC,IAAMC,MAAkB,CAAWJ,IAAS,QAAaA,EAAO,QAAQ,OAAO,GAAGA,EAAO,QAAQ,KAAK,CAAG,EAAE,MAAoB,gBAAKK,EAAU,CAAC,GAAGC,EAAM,QAAQF,CAAa,CAAC,CAAE,CAAE,C"}