{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/4FYXL5lQz9cgJ2BJkaNV/73UsIpa97froefZwqzz9/Image.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Responsive Image\n * By Benjamin\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n *\n */ export default function Image(props){const{image,alt,radius,padding,link,newTab,style,shadowOptions}=props;const{shadowX,shadowY,shadowBlur,shadowColor,shadowEnabled}=shadowOptions;const wrapperStyle={display:\"flex\",placeContent:\"center\",placeItems:\"center\",width:\"100%\",height:\"100%\",padding:padding};const imageStyle={maxWidth:\"100%\",maxHeight:\"100%\",borderRadius:radius,boxShadow:shadowEnabled&&`${shadowX}px ${shadowY}px ${shadowBlur}px ${shadowColor}`};const imageSource=(image===null||image===void 0?void 0:image.src)||\"https://framerusercontent.com/images/64n4wnVJKDJspLlFZ6DarCP0M4.jpg\";return link?/*#__PURE__*/ _jsx(\"a\",{href:link,title:alt,target:newTab?\"_blank\":\"_self\",style:wrapperStyle,children:/*#__PURE__*/ _jsx(\"img\",{style:imageStyle,src:imageSource,srcSet:image===null||image===void 0?void 0:image.srcSet,alt:alt})}):/*#__PURE__*/ _jsx(\"div\",{style:wrapperStyle,children:/*#__PURE__*/ _jsx(\"img\",{style:imageStyle,src:imageSource,srcSet:image===null||image===void 0?void 0:image.srcSet,alt:alt})});};Image.defaultProps={radius:10,padding:10,alt:\"\",shadowOptions:{shadowEnabled:false,shadowX:0,shadowY:2,shadowBlur:4,shadowColor:\"rgba(0,0,0,0.2)\"}};addPropertyControls(Image,{image:{title:\"Image\",type:ControlType.ResponsiveImage},alt:{type:ControlType.String,title:\"Alt\",placeholder:\"Alt Text\"},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},link:{type:ControlType.Link,title:\"Link\"},newTab:{type:ControlType.Boolean,title:\"New Tab\",hidden:props=>!props.link},shadowOptions:{type:ControlType.Object,title:\"Shadow\",controls:{shadowEnabled:{type:ControlType.Boolean,title:\"Enable\",defaultValue:false},shadowX:{type:ControlType.Number,title:\"X\",min:0,defaultValue:0,hidden:props=>!props.shadowEnabled},shadowY:{type:ControlType.Number,title:\"Y\",min:0,defaultValue:2,hidden:props=>!props.shadowEnabled},shadowBlur:{type:ControlType.Number,title:\"Blur\",min:0,defaultValue:4,hidden:props=>!props.shadowEnabled},shadowColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"rgba(0,0,0,0.2)\",hidden:props=>!props.shadowEnabled}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Image\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"*\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Image.map"],
  "mappings": "yFAQmB,SAARA,EAAuBC,EAAM,CAAC,GAAK,CAAC,MAAAC,EAAM,IAAAC,EAAI,OAAAC,EAAO,QAAAC,EAAQ,KAAAC,EAAK,OAAAC,EAAO,MAAAC,EAAM,cAAAC,CAAa,EAAER,EAAW,CAAC,QAAAS,EAAQ,QAAAC,EAAQ,WAAAC,EAAW,YAAAC,EAAY,cAAAC,CAAa,EAAEL,EAAoBM,EAAa,CAAC,QAAQ,OAAO,aAAa,SAAS,WAAW,SAAS,MAAM,OAAO,OAAO,OAAO,QAAQV,CAAO,EAAQW,EAAW,CAAC,SAAS,OAAO,UAAU,OAAO,aAAaZ,EAAO,UAAUU,GAAe,GAAGJ,CAAO,MAAMC,CAAO,MAAMC,CAAU,MAAMC,CAAW,EAAE,EAAQI,EAAiDf,GAAM,KAAM,sEAAsE,OAAOI,EAAmBY,EAAK,IAAI,CAAC,KAAKZ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OAAOnB,GAAO,CAACA,EAAM,aAAa,EAAE,WAAW,CAAC,KAAKmB,EAAY,OAAO,MAAM,OAAO,IAAI,EAAE,aAAa,EAAE,OAAOnB,GAAO,CAACA,EAAM,aAAa,EAAE,YAAY,CAAC,KAAKmB,EAAY,MAAM,MAAM,QAAQ,aAAa,kBAAkB,OAAOnB,GAAO,CAACA,EAAM,aAAa,CAAC,CAAC,CAAC,CAAC",
  "names": ["Image", "props", "image", "alt", "radius", "padding", "link", "newTab", "style", "shadowOptions", "shadowX", "shadowY", "shadowBlur", "shadowColor", "shadowEnabled", "wrapperStyle", "imageStyle", "imageSource", "p", "addPropertyControls", "ControlType"]
}
