{"version":3,"file":"Custom_Back.9mfcbBVB.mjs","names":["Feather","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","__esmMin","__exportAll","de","oe","init_ssg_sandbox_shims","pe","ie","window","p","J","init_npm_react_18_3_1","c","x","motion","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","getFonts","cx","useVariantState","addFonts","addPropertyControls","RichText","useLocaleInfo","withCSS","ControlType","init_framer_CKT6jEEQ","SmartComponentScopedContainer","ComponentViewportProvider","useComponentViewport","init_Feather","Icon","ZQnn8WB8R_exports","__FramerMetadata__","FramerZQnn8WB8R","addPropertyOverrides","variants","nextOverrides","variant","overrides","FeatherFonts","enabledGestures","serializationHash","variantClassNames","transition1","Transition","Variants","getProps","createLayoutDependency","init_ZQnn8WB8R","init_jsx_runtime","config","transition","value","contextValue","props","title","fallbackRef","refBinding","ref","defaultLayoutId","restProps","layoutDependency","scopingClassNames","layoutId","gestureHandlers","className","classNames","style","BryU_KttM","baseVariant","gestureVariant","\"exports\"","\"Props\"","\"type\"","\"annotations\"","\"framerContractVersion\"","\"default\"","\"name\"","\"slots\"","\"framerAutoSizeImages\"","\"framerComponentViewportWidth\"","\"framerDisplayContentsDiv\"","\"framerVariables\"","\"framerCanvasComponentVariantDetails\"","\"framerIntrinsicHeight\"","\"framerImmutableVariables\"","\"framerColorSyntax\"","\"framerIntrinsicWidth\"","\"__FramerMetadata__\"","withHistoryBack","handleGoBack","Component","init_Custom_Back"],"sources":["https:/framerusercontent.com/modules/KogPg3J4N8JAEOQKB8Ii/JKFo9ntETRhiB7rob1N7/ZQnn8WB8R.js","https:/framerusercontent.com/modules/BlFAgzy2mZqsROtXLgZk/zLcyB4BEBh9jZvG0KEeJ/Custom_Back.js"],"sourcesContent":["// Generated by Framer (4d662f6)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,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 Feather}from\"https://framerusercontent.com/modules/f0DboytQenYh21kfme7W/zb1zVBMZJKgPMiedOi0y/Feather.js\";const FeatherFonts=getFonts(Feather);const enabledGestures={w5uRsiPDI:{hover:true}};const serializationHash=\"framer-uAOzY\";const variantClassNames={w5uRsiPDI:\"framer-v-1z0smtm\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const BryU_KttM=undefined;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,title,width,...props})=>{return{...props,BryU_KttM:title??props.BryU_KttM??\"Referenzen\"};};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,BryU_KttM,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"w5uRsiPDI\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];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.button,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1z0smtm\",className,classNames),\"data-framer-name\":\"Variant 1\",\"data-reset\":\"button\",layoutDependency:layoutDependency,layoutId:\"w5uRsiPDI\",ref:refBinding,style:{...style},children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1o0bjh1-container\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"OejcltA7O-container\",nodeId:\"OejcltA7O\",rendersWithMotion:true,scopeId:\"ZQnn8WB8R\",children:/*#__PURE__*/_jsx(Feather,{color:\"var(--token-bcea74e2-9c6f-465c-b88f-60639872cd3d, rgb(13, 38, 35))\",height:\"100%\",iconSearch:\"Home\",iconSelection:\"arrow-left\",id:\"OejcltA7O\",layoutId:\"OejcltA7O\",mirrored:false,selectByList:true,style:{height:\"100%\",width:\"100%\"},width:\"100%\"})})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7Q29tbWlzc2lvbmVyIEV4dHJhQm9sZA==\",\"--framer-font-family\":'\"Commissioner ExtraBold\", \"Commissioner ExtraBold Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-font-weight\":\"800\",\"--framer-letter-spacing\":\"0px\"},children:\"Referenzen\"})}),className:\"framer-4sihly\",fonts:[\"CUSTOMV2;Commissioner ExtraBold\"],layoutDependency:layoutDependency,layoutId:\"ATh6qG3AW\",style:{\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},text:BryU_KttM,verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"w5uRsiPDI-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"Q1VTVE9NVjI7Q29tbWlzc2lvbmVyIEV4dHJhQm9sZA==\",\"--framer-font-family\":'\"Commissioner ExtraBold\", \"Commissioner ExtraBold Placeholder\", sans-serif',\"--framer-font-size\":\"18px\",\"--framer-font-weight\":\"800\",\"--framer-letter-spacing\":\"0px\",\"--framer-text-decoration\":\"underline\"},children:\"Referenzen\"})})}},baseVariant,gestureVariant)})]})})})});});const css=[\".framer-uAOzY.framer-1r24od5, .framer-uAOzY .framer-1r24od5 { display: block; }\",\".framer-uAOzY.framer-1z0smtm { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; overflow: hidden; padding: 4px 16px 4px 0px; position: relative; width: min-content; }\",\".framer-uAOzY .framer-1o0bjh1-container { aspect-ratio: 1 / 1; flex: none; height: auto; position: relative; width: 30px; }\",\".framer-uAOzY .framer-4sihly { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-uAOzY.framer-v-1z0smtm.hover.framer-1z0smtm { gap: 16px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 41\n * @framerIntrinsicWidth 151\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"HhinhOP8R\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"BryU_KttM\":\"title\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerZQnn8WB8R=withCSS(Component,css,\"framer-uAOzY\");export default FramerZQnn8WB8R;FramerZQnn8WB8R.displayName=\"Buttons/NavBack\";FramerZQnn8WB8R.defaultProps={height:41,width:151};addPropertyControls(FramerZQnn8WB8R,{BryU_KttM:{defaultValue:\"Referenzen\",displayTextArea:false,title:\"Title\",type:ControlType.String},onBryU_KttMChange:{changes:\"BryU_KttM\",type:ControlType.ChangeHandler}});addFonts(FramerZQnn8WB8R,[{explicitInter:true,fonts:[{cssFamilyName:\"Commissioner ExtraBold\",source:\"custom\",style:\"normal\",uiFamilyName:\"Commissioner\",url:\"https://framerusercontent.com/assets/bE1Oqt0RlDJFEJb2ffrZQVkpn0.woff2\",weight:\"800\"}]},...FeatherFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerZQnn8WB8R\",\"slots\":[],\"annotations\":{\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"BryU_KttM\\\":\\\"title\\\"}\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"HhinhOP8R\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"41\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicWidth\":\"151\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ZQnn8WB8R.map","// 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\");window.location.href=\"/\";}};// 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=./Custom_Back.map"],"mappings":"A,keACgqB,SAAS0C,EAAqB,EAAU,GAAGC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAuF,OAArFD,GAAU,QAAQ,GAASE,GAAS,OAAO,OAAOD,EAAcE,EAAUD,EAAQ,CAAC,EAASD,CAAc,C,4EAAlW,EAAapB,EAASxB,CAAO,EAAQ,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,EAAyN,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM0D,EAAOzD,EAAiBoB,CAAmB,EAAQsC,EAAWC,GAAOF,EAAO,WAAiBG,EAAa3D,OAAmB,CAAC,GAAGwD,EAAO,YAAU,GAAG,CAAC,KAAK,UAAUC,CAAU,CAAC,CAAC,EAAE,MAAoB,gBAAKtC,EAAoB,SAAS,CAAC,MAAMwC,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAASzC,EAAO,OAAOjB,CAAc,EAAQ,GAAU,CAAC,SAAO,KAAG,QAAM,QAAM,GAAG2D,MAAgB,CAAC,GAAGA,EAAM,UAAUC,GAAOD,EAAM,WAAW,YAAY,GAAU,GAAwB,EAAM,IAAeA,EAAM,iBAAwBnB,EAAS,KAAK,GAAG,EAAEmB,EAAM,iBAAwBnB,EAAS,KAAK,GAAG,EAW7hD,EAAgBZ,EAX8iD3B,kBAAiB,SAAS,EAAM,EAAI,CAAC,IAAM4D,EAAY3D,EAAO,IAAI,EAAQ4D,EAAWC,GAAKF,EAAkB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