{"version":3,"file":"xsF2mu87F.8-RugSoY.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","SVG","RichText","sharedStyle.css","sharedStyle.fonts"],"sources":["https:/framerusercontent.com/modules/3niRm2sEOfYbW8T2AICH/tsiv6xeObvliVHkmFXAB/Back_Button_Code.js","https:/framerusercontent.com/modules/xIof8zxfi8rStzjk1Ntg/CFOC6Z2wM5wGxqds7pod/xsF2mu87F.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=./Back_Button_Code.map","// Generated by Framer (c54c588)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,cx,getFontsFromSharedStyle,RichText,SVG,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/3niRm2sEOfYbW8T2AICH/tsiv6xeObvliVHkmFXAB/Back_Button_Code.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/cJs0gppFPCNXLPiUrEUk/FLgsS0ZPfRwj5HSYPtGD/zCIT3uqbe.js\";const MotionButtonWithHistoryBack1xvzib1=withCodeBoundaryForOverrides(motion.button,{nodeId:\"dIDa7bIgx\",override:withHistoryBack,scopeId:\"xsF2mu87F\"});const enabledGestures={dIDa7bIgx:{hover:true}};const serializationHash=\"framer-MhQCB\";const variantClassNames={dIDa7bIgx:\"framer-v-1xvzib1\"};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 getProps=({height,id,width,...props})=>{return{...props};};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({defaultVariant:\"dIDa7bIgx\",enabledGestures,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__*/_jsxs(MotionButtonWithHistoryBack1xvzib1,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1xvzib1\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"dIDa7bIgx\",ref:refBinding,style:{...style},children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-nl97sv\",layoutDependency:layoutDependency,layoutId:\"pgDwvTIPE\",requiresOverflowVisible:true,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 4 8\" overflow=\"visible\"><path d=\"M 4 0 L 0 4 L 4 8\" fill=\"transparent\" stroke=\"var(--token-3450ae68-d912-44e0-9c86-673eca94c55c, rgb(163, 163, 163))\"></path></svg>',withExternalLayout:true,...addPropertyOverrides({\"dIDa7bIgx-hover\":{svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 4 8\" overflow=\"visible\"><path d=\"M 4 0 L 0 4 L 4 8\" fill=\"transparent\" stroke=\"var(--token-7068bd1a-3cf1-4199-bfb0-1d6d4b2bc0cf, rgb(7, 7, 7))\"></path></svg>'}},baseVariant,gestureVariant)}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-jy7spi\",\"data-styles-preset\":\"zCIT3uqbe\",dir:\"auto\",children:\"Back\"})}),className:\"framer-1tsh43h\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"Ra6B3c20H\",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-MhQCB.framer-19t9fe8, .framer-MhQCB .framer-19t9fe8 { display: block; }\",\".framer-MhQCB.framer-1xvzib1 { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 5px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: min-content; }\",\".framer-MhQCB .framer-nl97sv { height: 8px; position: relative; width: 4px; }\",\".framer-MhQCB .framer-1tsh43h { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 36\n * @framerIntrinsicWidth 61\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"n87q_sFZu\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerxsF2mu87F=withCSS(Component,css,\"framer-MhQCB\");export default FramerxsF2mu87F;FramerxsF2mu87F.displayName=\"Back Button\";FramerxsF2mu87F.defaultProps={height:36,width:61};addFonts(FramerxsF2mu87F,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",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\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",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\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",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\":\"FramerxsF2mu87F\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"61\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"n87q_sFZu\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerAutoSizeImages\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"36\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./xsF2mu87F.map"],"mappings":"iaAQG,SAAgB,EAAgB,EAAU,CAC7C,MAAO,IAAO,CACd,IAAM,MAAiB,CACpB,EAAO,QAAQ,OAAO,EAAG,EAAO,QAAQ,MAAM,CACjD,QAAQ,IAAI,8BAA8B,EAC1C,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAM,QAAQ,EAAa,CAAC,uBATxB,ICHi0B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAA39B,IAA6J,IAAkE,IAA4B,IAA2J,IAAyH,CAAM,EAAmC,EAA6B,EAAO,OAAO,CAAC,OAAO,YAAY,SAAS,EAAgB,QAAQ,YAAY,CAAC,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,CAA8L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,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,GAAU,CAAC,SAAO,KAAG,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,EAAS,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