{"version":3,"file":"Image.DmVuTu08.mjs","names":["React.useContext","React.useMemo","React.useId","Image"],"sources":["https:/framerusercontent.com/modules/uKy8gn04skT3j2j9HcO9/mwlyBZ1j2uCXjELphPQe/VzS8kCrm6.js","https:/framerusercontent.com/modules/rTNKWvdkJpjF5m3AGacv/coy4rYNdnyyvEYgn2syr/Image.js"],"sourcesContent":["// Generated by Framer (b084a7c)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Image,useActiveVariantCallback,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const enabledGestures={UvA1jGfbR:{hover:true}};const cycleOrder=[\"UvA1jGfbR\"];const variantClassNames={UvA1jGfbR:\"framer-v-ue58rh\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transitions={default:{damping:30,delay:0,mass:1,stiffness:100,type:\"spring\"}};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!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/ _jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const getProps=({height,id,image,tap,width,...props})=>{var ref;return{...props,twGqnPhrd:(ref=image!==null&&image!==void 0?image:props.twGqnPhrd)!==null&&ref!==void 0?ref:{src:new URL(\"assets/1024/3f9G7N4Ilz9V4dRSs9XFTnidFSU.jpg\",\"https://framerusercontent.com/modules/uKy8gn04skT3j2j9HcO9/mwlyBZ1j2uCXjELphPQe/VzS8kCrm6.js\").href,srcSet:`${new URL(\"assets/512/3f9G7N4Ilz9V4dRSs9XFTnidFSU.jpg\",\"https://framerusercontent.com/modules/uKy8gn04skT3j2j9HcO9/mwlyBZ1j2uCXjELphPQe/VzS8kCrm6.js\").href} 384w, ${new URL(\"assets/1024/3f9G7N4Ilz9V4dRSs9XFTnidFSU.jpg\",\"https://framerusercontent.com/modules/uKy8gn04skT3j2j9HcO9/mwlyBZ1j2uCXjELphPQe/VzS8kCrm6.js\").href} 768w, ${new URL(\"assets/2048/3f9G7N4Ilz9V4dRSs9XFTnidFSU.jpg\",\"https://framerusercontent.com/modules/uKy8gn04skT3j2j9HcO9/mwlyBZ1j2uCXjELphPQe/VzS8kCrm6.js\").href} 1536w, ${new URL(\"assets/4096/3f9G7N4Ilz9V4dRSs9XFTnidFSU.jpg\",\"https://framerusercontent.com/modules/uKy8gn04skT3j2j9HcO9/mwlyBZ1j2uCXjELphPQe/VzS8kCrm6.js\").href} 3072w, ${new URL(\"assets/3f9G7N4Ilz9V4dRSs9XFTnidFSU.jpg\",\"https://framerusercontent.com/modules/uKy8gn04skT3j2j9HcO9/mwlyBZ1j2uCXjELphPQe/VzS8kCrm6.js\").href} 3464w`},wStlLwhxI:tap!==null&&tap!==void 0?tap:props.wStlLwhxI};};const createLayoutDependency=(props,variants)=>variants.join(\"-\")+props.layoutDependency;const Component=/*#__PURE__*/ React.forwardRef(function(props,ref){const{activeLocale}=useLocaleInfo();const{style,className,layoutId,variant,twGqnPhrd,wStlLwhxI,...restProps}=getProps(props);const{baseVariant,classNames,gestureVariant,setGestureState,setVariant,transition,variants}=useVariantState({cycleOrder,defaultVariant:\"UvA1jGfbR\",enabledGestures,transitions,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap14dffwz=activeVariantCallback(async(...args)=>{if(wStlLwhxI){const res=await wStlLwhxI(...args);if(res===false)return false;}});const defaultLayoutId=React.useId();return /*#__PURE__*/ _jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/ _jsx(motion.div,{initial:variant,animate:variants,onHoverStart:()=>setGestureState({isHovered:true}),onHoverEnd:()=>setGestureState({isHovered:false}),onTapStart:()=>setGestureState({isPressed:true}),onTap:()=>setGestureState({isPressed:false}),onTapCancel:()=>setGestureState({isPressed:false}),className:cx(\"framer-Bf3le\",classNames),style:{display:\"contents\"},children:/*#__PURE__*/ _jsx(Transition,{value:transition,children:/*#__PURE__*/ _jsx(motion.div,{...restProps,className:cx(\"framer-ue58rh\",className),\"data-framer-name\":\"Variant 1\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"UvA1jGfbR\",onTap:onTap14dffwz,ref:ref,style:{borderBottomLeftRadius:8,borderBottomRightRadius:8,borderTopLeftRadius:8,borderTopRightRadius:8,...style},...addPropertyOverrides({\"UvA1jGfbR-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:/*#__PURE__*/ _jsx(Image,{background:{alt:\"\",fit:\"fill\",intrinsicHeight:4618,intrinsicWidth:3464,pixelHeight:4618,pixelWidth:3464,sizes:\"min(720px, 100vw)\",...toResponsiveImage(twGqnPhrd)},className:\"framer-1k5f713\",\"data-framer-name\":\"image\",layoutDependency:layoutDependency,layoutId:\"Hm1pTQ_QG\",...addPropertyOverrides({\"UvA1jGfbR-hover\":{background:{alt:\"\",fit:\"fill\",intrinsicHeight:4618,intrinsicWidth:3464,pixelHeight:4618,pixelWidth:3464,sizes:\"calc(min(720px, 100vw) + 24px)\",...toResponsiveImage(twGqnPhrd)}}},baseVariant,gestureVariant)})})})})});});const css=['.framer-Bf3le [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; pointer-events: none; }',\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-Bf3le .framer-phxch5 { display: block; }\",\".framer-Bf3le .framer-ue58rh { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 408px; justify-content: center; overflow: hidden; padding: 0px 0px 0px 0px; position: relative; width: 720px; will-change: var(--framer-will-change-override, transform); }\",\".framer-Bf3le .framer-1k5f713 { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-Bf3le .framer-v-ue58rh .framer-ue58rh { cursor: pointer; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-Bf3le .framer-ue58rh { gap: 0px; } .framer-Bf3le .framer-ue58rh > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-Bf3le .framer-ue58rh > :first-child { margin-left: 0px; } .framer-Bf3le .framer-ue58rh > :last-child { margin-right: 0px; } }\",\".framer-Bf3le.framer-v-ue58rh.hover .framer-1k5f713 { bottom: -12px; left: -12px; right: -12px; top: -12px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 408\n * @framerIntrinsicWidth 720\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"RuEW1YXPO\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"twGqnPhrd\":\"image\",\"wStlLwhxI\":\"tap\"}\n */ const FramerVzS8kCrm6=withCSS(Component,css,\"framer-Bf3le\");export default FramerVzS8kCrm6;FramerVzS8kCrm6.displayName=\"Elements/image\";FramerVzS8kCrm6.defaultProps={height:408,width:720};addPropertyControls(FramerVzS8kCrm6,{twGqnPhrd:{__defaultAssetReference:\"data:framer/asset-reference,3f9G7N4Ilz9V4dRSs9XFTnidFSU.jpg?originalFilename=photo-1524230572899-a752b3835840%3Fcrop%3Dentropy%26cs%3Dsrgb%26fm%3Djpg%26ixid%3DM3wxMzc5NjJ8MHwxfHNlYXJjaHw0fHx3aGl0ZSUyMGFuZCUyMGdyZXl8ZW58MHx8fHwxNjkyODQ1MTM0fDA%26ixlib%3Drb-4.0.jpg&preferredSize=auto\",title:\"Image\",type:ControlType.ResponsiveImage},wStlLwhxI:{title:\"Tap\",type:ControlType.EventHandler}});addFonts(FramerVzS8kCrm6,[]);\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerVzS8kCrm6\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"RuEW1YXPO\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerIntrinsicHeight\":\"408\",\"framerVariables\":\"{\\\"twGqnPhrd\\\":\\\"image\\\",\\\"wStlLwhxI\\\":\\\"tap\\\"}\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"720\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VzS8kCrm6.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * This is a simple component that contains an <img /> element with objectFit.\n * This allows the user to upload images, and upon opening the overlay, the aspect ratio of the image will be preserved.\n * It will also scale down properly if the image height exceeds either the width or the height of the viewport.\n * Plus, it includes some easily customizable properties like radius and padding.\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */ export default function Image(props){const{src,radius,padding,alt,style}=props;return /*#__PURE__*/ _jsx(\"div\",{style:{display:\"flex\",placeContent:\"center\",placeItems:\"center\",width:\"100%\",height:\"100%\",padding:padding},children:/*#__PURE__*/ _jsx(\"img\",{style:{maxWidth:\"100%\",maxHeight:\"100%\",objectFit:\"contain\",borderRadius:radius},alt:alt,src:src})});};Image.defaultProps={radius:10,padding:10};addPropertyControls(Image,{src:{title:\"Image\",type:ControlType.Image},radius:{title:\"Radius\",type:ControlType.Number,min:0,max:100,step:5,displayStepper:true},padding:{title:\"Padding\",type:ControlType.Number,min:0,max:100,step:5,displayStepper:true},alt:{title:\"Alt Tag\",type:ControlType.String,placeholder:\"Photo of…\",defaultValue:\"Photo\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Image\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Image.map"],"mappings":"6SACkZ,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAA+H,OAA9H,GAAmD,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,uCAAxjB,IAAqI,IAAkE,IAA4B,CAAM,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,CAAO,EAAkB,CAAC,UAAU,kBAAkB,CAAuO,EAAY,CAAC,QAAQ,CAAC,QAAQ,GAAG,MAAM,EAAE,KAAK,EAAE,UAAU,IAAI,KAAK,SAAS,CAAC,CAAO,EAAkB,GAAW,OAAO,GAAQ,UAAU,GAAc,OAAO,EAAM,KAAM,SAAiB,EAAc,OAAO,GAAQ,SAAS,CAAC,IAAI,EAAM,CAAC,IAAA,GAAkB,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,EAAoB,CAAO,EAAW,GAAmC,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAqB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,GAAU,CAAC,SAAO,KAAG,QAAM,MAAI,QAAM,GAAG,M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