{"version":3,"file":"Back.FMNQDM_C.mjs","names":["__legacyOverrideHOC_DataObserverContext"],"sources":["https:/framerusercontent.com/modules/nhwg4BOVXVNE15AgsSKP/vVglY37DciRTxrKhTUku/Back.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export const GoBack=()=>{return{onTap(){// Check if the history length is greater than 1\nif(window.history.length>1){window.history.back();}else{window.location.href=`${window.location.origin}/home`;}}};};import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withGoBack(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...GoBack(props)});};}withGoBack.displayName=\"GoBack\";\nexport const __FramerMetadata__ = {\"exports\":{\"GoBack\":{\"type\":\"override\",\"name\":\"GoBack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withGoBack\":{\"type\":\"reactHoc\",\"name\":\"withGoBack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Back.map"],"mappings":"yRACuQ,SAAgB,EAAW,EAAE,CAAC,MAAO,CAAA,IAAQ,EAA+BA,EAAwC,CAAQ,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAO,EAAM,AAAC,EAAC,CAAI,gBAAA,IAD1a,GAA2C,CACyE,GAAgE,IAAmF,CAD/M,EAAO,KAAW,CAAC,OAAO,CAClF,AAAG,EAAO,QAAQ,OAAO,EAAG,EAAO,QAAQ,MAAM,CAAO,EAAO,SAAS,QAAQ,EAAO,SAAS,OAAO,MAAS,CAAC,GAAyT,EAAW,YAAY"}