{"version":3,"file":"TOFgAwawP.DviforTi.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Image1"],"sources":["https:/framerusercontent.com/modules/o0MLeMa2vRV0i8uk96c8/2siKlsEc5vqezxskxFkG/TOFgAwawP.js"],"sourcesContent":["// Generated by Framer (b16259d)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Image as Image1,parsePaddingString,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={YGgAs5aEm:{hover:true},ZqycAgIy0:{hover:true}};const cycleOrder=[\"YGgAs5aEm\",\"ZqycAgIy0\"];const serializationHash=\"framer-PWd6b\";const variantClassNames={YGgAs5aEm:\"framer-v-7i3z1u\",ZqycAgIy0:\"framer-v-1krwy86\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const BWTDcBwRg=undefined;const cbg3Jdhah=undefined;const numberToPixelString=value=>{if(typeof value!==\"number\")return value;if(!Number.isFinite(value))return undefined;return Math.max(0,value)+\"px\";};const transition1={delay:0,duration:.6,ease:[.44,0,.56,1],type:\"tween\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};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={\"Variant 1\":\"YGgAs5aEm\",Square:\"ZqycAgIy0\"};const Variants=motion.create(React.Fragment);const getProps=({coverImage,height,id,padding,width,...props})=>{return{...props,BWTDcBwRg:padding??props.BWTDcBwRg??\"12px\",cbg3Jdhah:coverImage??props.cbg3Jdhah,variant:humanReadableVariantMap[props.variant]??props.variant??\"YGgAs5aEm\"};};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,cbg3Jdhah,BWTDcBwRg,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"YGgAs5aEm\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const parsedPadding=typeof BWTDcBwRg===\"string\"?parsePaddingString(BWTDcBwRg):{top:BWTDcBwRg,right:BWTDcBwRg,bottom:BWTDcBwRg,left:BWTDcBwRg};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-7i3z1u\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"YGgAs5aEm\",ref:refBinding,style:{\"--lt8uh9\":numberToPixelString(BWTDcBwRg),backgroundColor:\"var(--token-15027816-4331-451d-8084-fae675d4ecea, rgb(255, 255, 255))\",borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8,...style},...addPropertyOverrides({\"YGgAs5aEm-hover\":{\"data-framer-name\":undefined},\"ZqycAgIy0-hover\":{\"data-framer-name\":undefined},ZqycAgIy0:{\"data-framer-name\":\"Square\"}},baseVariant,gestureVariant),children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1m0nq1c\",layoutDependency:layoutDependency,layoutId:\"XPPZBMdQV\",style:{backgroundColor:\"rgba(0, 0, 0, 0)\",borderBottomLeftRadius:4,borderBottomRightRadius:4,borderTopLeftRadius:4,borderTopRightRadius:4},variants:{\"YGgAs5aEm-hover\":{backgroundColor:\"var(--token-1d05cf2f-efda-4227-8b75-5efc7d89ac03, rgb(54, 36, 24))\"},\"ZqycAgIy0-hover\":{backgroundColor:\"var(--token-1d05cf2f-efda-4227-8b75-5efc7d89ac03, rgb(54, 36, 24))\"}},children:/*#__PURE__*/_jsx(Image1,{background:{alt:\"\",fit:\"fill\",sizes:`max(${componentViewport?.width||\"100vw\"} - ${(parsedPadding?.left??0)+(parsedPadding?.right??0)}px, 1px)`,...toResponsiveImage(cbg3Jdhah)},className:\"framer-vzfkh\",fitImageDimension:\"height\",layoutDependency:layoutDependency,layoutId:\"hyJTJlPaD\",style:{borderBottomLeftRadius:4,borderBottomRightRadius:4,borderTopLeftRadius:4,borderTopRightRadius:4,opacity:1,scale:1},variants:{\"YGgAs5aEm-hover\":{borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8,opacity:.8,scale:1.06},\"ZqycAgIy0-hover\":{opacity:.8,scale:1.04}},...addPropertyOverrides({\"ZqycAgIy0-hover\":{fitImageDimension:undefined},ZqycAgIy0:{fitImageDimension:undefined}},baseVariant,gestureVariant)})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-PWd6b.framer-1p41zd3, .framer-PWd6b .framer-1p41zd3 { display: block; }\",\".framer-PWd6b.framer-7i3z1u { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: var(--lt8uh9); position: relative; width: 440px; will-change: var(--framer-will-change-override, transform); }\",\".framer-PWd6b .framer-1m0nq1c { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 1px; will-change: var(--framer-will-change-override, transform); }\",\".framer-PWd6b .framer-vzfkh { flex: 1 0 0px; height: auto; position: relative; width: 1px; }\",\".framer-PWd6b.framer-v-1krwy86.framer-7i3z1u { height: 440px; }\",\".framer-PWd6b.framer-v-1krwy86 .framer-1m0nq1c, .framer-PWd6b.framer-v-1krwy86 .framer-vzfkh { height: 100%; }\",\".framer-PWd6b.framer-v-7i3z1u.hover .framer-vzfkh { gap: 10px; overflow: var(--overflow-clip-fallback, clip); will-change: var(--framer-will-change-override, transform); }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 440\n * @framerIntrinsicWidth 440\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"ZqycAgIy0\":{\"layout\":[\"fixed\",\"fixed\"]},\"slBIJVRFl\":{\"layout\":[\"fixed\",\"auto\"]},\"pSL_wKKCO\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"cbg3Jdhah\":\"coverImage\",\"BWTDcBwRg\":\"padding\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerTOFgAwawP=withCSS(Component,css,\"framer-PWd6b\");export default FramerTOFgAwawP;FramerTOFgAwawP.displayName=\"Project image\";FramerTOFgAwawP.defaultProps={height:440,width:440};addPropertyControls(FramerTOFgAwawP,{variant:{options:[\"YGgAs5aEm\",\"ZqycAgIy0\"],optionTitles:[\"Variant 1\",\"Square\"],title:\"Variant\",type:ControlType.Enum},cbg3Jdhah:{title:\"Cover Image\",type:ControlType.ResponsiveImage},BWTDcBwRg:{defaultValue:\"12px\",title:\"Padding\",type:ControlType.Padding}});addFonts(FramerTOFgAwawP,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerTOFgAwawP\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"440\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"cbg3Jdhah\\\":\\\"coverImage\\\",\\\"BWTDcBwRg\\\":\\\"padding\\\"}\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"ZqycAgIy0\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"slBIJVRFl\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"pSL_wKKCO\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"440\",\"framerAutoSizeImages\":\"true\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TOFgAwawP.map"],"mappings":"oUAC4iB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,+CAAzqB,IAA8J,IAAkE,IAA4B,CAAgC,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,CAAkP,EAAoB,GAAO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