{"version":3,"file":"AutoImage.D-RrIlOy.mjs","names":[],"sources":["https:/framerusercontent.com/modules/0R7UUVpNuP8jyDaZSTnQ/V5iJB5CY76lY9ubVzjP6/AutoImage.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * CMS image that keeps the image's own aspect ratio (no cropping).\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 338\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function AutoImage(props){const{image,radius,style}=props;if(!image?.src)return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",minHeight:1}});return /*#__PURE__*/_jsx(\"img\",{src:image.src,srcSet:image.srcSet,alt:image.alt||\"\",style:{...style,display:\"block\",width:\"100%\",height:\"auto\",borderRadius:radius}});}addPropertyControls(AutoImage,{image:{type:ControlType.ResponsiveImage,title:\"Image\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:0,min:0,max:40}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AutoImage\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"338\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AutoImage.map"],"mappings":"4JAMG,SAAwB,EAAU,EAAM,CAAC,GAAK,CAAC,QAAM,SAAO,SAAO,EAAiG,OAAvF,GAAO,IAAoG,EAAK,MAAM,CAAC,IAAI,EAAM,IAAI,OAAO,EAAM,OAAO,IAAI,EAAM,KAAK,GAAG,MAAM,CAAC,GAAG,EAAM,QAAQ,QAAQ,MAAM,OAAO,OAAO,OAAO,aAAa,CAAM,CAAC,CAAC,EAA5N,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,UAAU,CAAC,CAAC,CAAC,CAAwK,iBANnS,IAAoD,EAMgP,EAAoB,EAAU,CAAC,MAAM,CAAC,KAAK,EAAY,gBAAgB,MAAM,OAAO,EAAE,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC"}