{"version":3,"file":"BackStep.B2jOD0a8.mjs","names":["__esmMin","init_ssg_sandbox_shims","window","c","J","init_jsx_runtime","init_npm_react_18_3_1","withGoBack","handleTap","Component","props","init_BackStep"],"sources":["https:/framerusercontent.com/modules/IxL50WsjE0NCywjYsCIL/oB3ZXsAVfEH7j52yeSOJ/BackStep.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{forwardRef}from\"react\";export function withGoBack(Component){return /*#__PURE__*/forwardRef((props,ref)=>{const handleTap=()=>{if(window.history.length>1){window.history.back();}else{window.location.assign(\"/real-homepage\")// Fallback if opened directly\n;}};return /*#__PURE__*/_jsx(Component,{...props,ref:ref,onTap:handleTap});});}\nexport const __FramerMetadata__ = {\"exports\":{\"withGoBack\":{\"type\":\"reactHoc\",\"name\":\"withGoBack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./BackStep.map"],"mappings":"A,gIAAyE,SAAgBO,EAAW,EAAU,CAAC,MAAoB,iBAAY,EAAM,IAAM,CAAC,IAAMC,MAAc,CAAIN,EAAO,QAAQ,OAAO,EAAGA,EAAO,QAAQ,KAAK,EAAQA,EAAO,SAAS,OAAO,gBAAgB,CAC9Q,EAAE,MAAoB,gBAAKO,EAAU,CAAC,GAAGC,EAAU,MAAI,MAAMF,CAAS,CAAC,CAAE,CAAC,CAAE,C"}