{"version":3,"file":"LEygfqOST.CB5oMmPd.mjs","names":["Component","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","sharedStyle.css","sharedStyle.fonts"],"sources":["https:/framerusercontent.com/modules/jfT9vFzV4KS8S718H4lo/w5pdmLYJ1EuvBZ4Mld53/Go_back_1.js","https:/framerusercontent.com/modules/zdEqw8Qox5iT1NpjB96P/vQNaRPGG7Wq4OwyLf5HL/LEygfqOST.js"],"sourcesContent":["// A custom Framer code override by Chris Kellett - Framerverse\n// Get more components at www.framerverse.com\n// Previous Page Overide\n// Version 1.0\nimport{jsx as _jsx}from\"react/jsx-runtime\";/**\n * This override adds a click handler to go back in browser history\n * @param Component - The component to apply the override to\n * @returns A component with the history back functionality\n */export function withHistoryBack(Component){// This part runs once when creating the override\nreturn props=>{// This function handles the actual navigation\nconst handleGoBack=()=>{// Check if we can go back in history\nif(window.history.length>1){window.history.back();}else{// If no history exists, log a message\nconsole.log(\"No previous page in history\");}};// Return the component with our click handler\nreturn /*#__PURE__*/_jsx(Component,{...props,onClick:handleGoBack});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withHistoryBack\":{\"type\":\"reactHoc\",\"name\":\"withHistoryBack\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Go_back_1.map","// Generated by Framer (114679e)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCodeBoundaryForOverrides,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{withHistoryBack}from\"https://framerusercontent.com/modules/jfT9vFzV4KS8S718H4lo/w5pdmLYJ1EuvBZ4Mld53/Go_back_1.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/MAFlOVu7inDwhoc09joG/tng2B3QKcoFaxg0TSsI1/xWiRcRTMX.js\";const MotionDivWithHistoryBack13asdfa=withCodeBoundaryForOverrides(motion.div,{nodeId:\"VAF6H0kdj\",override:withHistoryBack,scopeId:\"LEygfqOST\"});const cycleOrder=[\"VAF6H0kdj\",\"HfazBtTj5\",\"yLdZ49nmd\",\"IyvMupNYQ\"];const serializationHash=\"framer-z47cc\";const variantClassNames={HfazBtTj5:\"framer-v-17viep2\",IyvMupNYQ:\"framer-v-11yn2lx\",VAF6H0kdj:\"framer-v-13asdfa\",yLdZ49nmd:\"framer-v-1xqu5xo\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Desktop:\"VAF6H0kdj\",Monitor:\"HfazBtTj5\",Phone:\"IyvMupNYQ\",Tablet:\"yLdZ49nmd\"};const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"VAF6H0kdj\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"VAF6H0kdj\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(MotionDivWithHistoryBack13asdfa,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-13asdfa\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"VAF6H0kdj\",ref:refBinding,style:{backgroundColor:\"var(--token-bd99a465-cd54-4f93-91c1-98bec66de0ca, rgb(50, 99, 40))\",borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8,...style},...addPropertyOverrides({HfazBtTj5:{\"data-framer-name\":\"Monitor\"},IyvMupNYQ:{\"data-framer-name\":\"Phone\"},yLdZ49nmd:{\"data-framer-name\":\"Tablet\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h3,{className:\"framer-styles-preset-a64dwj\",\"data-styles-preset\":\"xWiRcRTMX\",children:\"BACK\"})}),className:\"framer-10vbdtz\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"UyLMsZSau\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-z47cc.framer-1yr54yp, .framer-z47cc .framer-1yr54yp { display: block; }\",\".framer-z47cc.framer-13asdfa { align-content: center; align-items: center; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: hidden; padding: 12px 24px 12px 24px; position: relative; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-z47cc .framer-10vbdtz { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 48\n * @framerIntrinsicWidth 100\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"HfazBtTj5\":{\"layout\":[\"auto\",\"auto\"]},\"yLdZ49nmd\":{\"layout\":[\"auto\",\"auto\"]},\"IyvMupNYQ\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerLEygfqOST=withCSS(Component,css,\"framer-z47cc\");export default FramerLEygfqOST;FramerLEygfqOST.displayName=\"Go back\";FramerLEygfqOST.defaultProps={height:48,width:100};addPropertyControls(FramerLEygfqOST,{variant:{options:[\"VAF6H0kdj\",\"HfazBtTj5\",\"yLdZ49nmd\",\"IyvMupNYQ\"],optionTitles:[\"Desktop\",\"Monitor\",\"Tablet\",\"Phone\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerLEygfqOST,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/vQyevYAyHtARFwPqUzQGpnDs.woff2\",weight:\"400\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerLEygfqOST\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"100\",\"framerIntrinsicHeight\":\"48\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"HfazBtTj5\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"yLdZ49nmd\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"IyvMupNYQ\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LEygfqOST.map"],"mappings":"0tBAQG,SAAgB,EAAgB,EAAU,CAC7C,MAAO,IAAO,CACd,IAAM,MAAiB,CACpB,EAAO,QAAQ,OAAO,EAAG,EAAO,QAAQ,MAAM,CACjD,QAAQ,IAAI,8BAA8B,EAC1C,OAAoB,EAAKA,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAa,CAAC,uBATxB,ICH66B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,+CAArlC,IAAyL,IAAkE,IAA4B,IAAoJ,IAAyH,CAAM,EAAgC,EAA6B,EAAO,IAAI,CAAC,OAAO,YAAY,SAAS,EAAgB,QAAQ,YAAY,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,mBAAmB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,EAA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