{"version":3,"file":"Back_Button.CEMFDtte.mjs","names":["Phosphor","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","RichText","sharedStyle.css","sharedStyle.fonts"],"sources":["https:/framerusercontent.com/modules/849p6mXkXt9bGZPUTZJi/27XNv5UCdlqB0pMHAZHN/VAq_qzZ_Z.js","https:/framerusercontent.com/modules/eAmVgnPq0CZovx3RbaDx/CuEFPJ3Rv6zY2wVtidav/Back_Button.js"],"sourcesContent":["// Generated by Framer (18229b5)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getFontsFromSharedStyle,RichText,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/p8dptk4UIND8hbFWz9V7/Phosphor.js\";import*as sharedStyle from\"https://framerusercontent.com/modules/kGUGhkjyWhIAUERvCae2/nHON4RwD3ew7inQZ5Amk/ZL5MU_VZC.js\";const PhosphorFonts=getFonts(Phosphor);const enabledGestures={uQF86XEaL:{hover:true}};const cycleOrder=[\"uQF86XEaL\",\"S2EK7MsZ0\"];const serializationHash=\"framer-DSKHz\";const variantClassNames={S2EK7MsZ0:\"framer-v-hu6w1q\",uQF86XEaL:\"framer-v-17cqv0v\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:100,delay:0,mass:3,stiffness:500,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 humanReadableVariantMap={Desktop:\"uQF86XEaL\",Mobile:\"S2EK7MsZ0\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"uQF86XEaL\"};};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:\"uQF86XEaL\",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(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-17cqv0v\",className,classNames),\"data-framer-name\":\"Desktop\",layoutDependency:layoutDependency,layoutId:\"uQF86XEaL\",ref:refBinding,style:{backdropFilter:\"blur(8px)\",backgroundColor:\"var(--token-5365ad2e-aec3-407e-98c4-1b3c4048704f, rgb(232, 232, 233))\",borderBottomLeftRadius:50,borderBottomRightRadius:50,borderTopLeftRadius:50,borderTopRightRadius:50,WebkitBackdropFilter:\"blur(8px)\",...style},variants:{\"uQF86XEaL-hover\":{backgroundColor:\"var(--token-7640ad35-fe14-47ad-a939-7e98f3b0affb, rgb(209, 208, 210))\"}},...addPropertyOverrides({\"uQF86XEaL-hover\":{\"data-framer-name\":undefined},S2EK7MsZ0:{\"data-framer-name\":\"Mobile\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-a4t26j-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"OeavMhf8J-container\",nodeId:\"OeavMhf8J\",rendersWithMotion:true,scopeId:\"VAq_qzZ_Z\",style:{rotate:-180},children:/*#__PURE__*/_jsx(Phosphor,{color:\"var(--token-e1ef367e-e23b-4a9e-826b-77a848c7f0b3, rgb(0, 0, 0))\",height:\"100%\",iconSearch:\"House\",iconSelection:\"ArrowRight\",id:\"OeavMhf8J\",layoutId:\"OeavMhf8J\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"bold\",width:\"100%\"})})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1p50hdg\",\"data-styles-preset\":\"ZL5MU_VZC\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-e1ef367e-e23b-4a9e-826b-77a848c7f0b3, rgb(0, 0, 0)))\"},children:\"Tilbake\"})}),className:\"framer-y27t2b\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"kzWP3tU8f\",style:{\"--extracted-r6o4lv\":\"var(--token-e1ef367e-e23b-4a9e-826b-77a848c7f0b3, rgb(0, 0, 0))\",\"--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-DSKHz.framer-8d21iv, .framer-DSKHz .framer-8d21iv { display: block; }\",\".framer-DSKHz.framer-17cqv0v { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: center; overflow: hidden; padding: 5px 15px 5px 15px; position: relative; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-DSKHz .framer-a4t26j-container { flex: none; height: 14px; position: relative; width: 14px; }\",\".framer-DSKHz .framer-y27t2b { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-DSKHz.framer-v-hu6w1q.framer-17cqv0v { cursor: unset; }\",...sharedStyle.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 28\n * @framerIntrinsicWidth 97\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"S2EK7MsZ0\":{\"layout\":[\"auto\",\"auto\"]},\"l5Cq4NdSF\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerVAq_qzZ_Z=withCSS(Component,css,\"framer-DSKHz\");export default FramerVAq_qzZ_Z;FramerVAq_qzZ_Z.displayName=\"Back Button\";FramerVAq_qzZ_Z.defaultProps={height:28,width:97};addPropertyControls(FramerVAq_qzZ_Z,{variant:{options:[\"uQF86XEaL\",\"S2EK7MsZ0\"],optionTitles:[\"Desktop\",\"Mobile\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerVAq_qzZ_Z,[{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\"}]},...PhosphorFonts,...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerVAq_qzZ_Z\",\"slots\":[],\"annotations\":{\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"28\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"S2EK7MsZ0\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"l5Cq4NdSF\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"97\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/**\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":"2hBAC43B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,gDAA3+B,IAA6N,IAAkE,IAA4B,IAAoJ,IAAyH,CAAM,EAAc,EAASA,EAAS,CAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAA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