{"version":3,"file":"LinkedImage.C1ILIYka.mjs","names":[],"sources":["https:/framerusercontent.com/modules/PV63Bxx0ggjxJEfUxKmj/LBFtWvCiX46YTiq9W5vj/LinkedImage.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Linked Image\n *\n * An image wrapped in a link (e.g. an event \"Register now\" button), shown at a fixed\n * display width with its natural aspect ratio. For use inside CMS rich text.\n *\n * @framerIntrinsicWidth 174\n * @framerIntrinsicHeight 58\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function LinkedImage(props){const{image={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"\"},link=\"\",linkTitle=\"\",newTab=true,displayWidth=174}=props;const img=/*#__PURE__*/_jsx(\"img\",{src:image.src,srcSet:image.srcSet,alt:image.alt??\"\",width:displayWidth,style:{display:\"block\",width:displayWidth,maxWidth:\"100%\",height:\"auto\"}});return /*#__PURE__*/_jsx(\"div\",{style:{...props.style,position:\"relative\",width:\"max-content\",maxWidth:\"100%\"},children:link?/*#__PURE__*/_jsx(\"a\",{href:link,...linkTitle?{title:linkTitle}:{},...newTab?{target:\"_blank\",rel:\"noopener\"}:{},style:{display:\"inline-block\",lineHeight:0},children:img}):img});}addPropertyControls(LinkedImage,{image:{type:ControlType.ResponsiveImage,title:\"Image\"},link:{type:ControlType.Link,title:\"Link\"},linkTitle:{type:ControlType.String,title:\"Link Title\",defaultValue:\"\"},newTab:{type:ControlType.Boolean,title:\"New Tab\",defaultValue:true},displayWidth:{type:ControlType.Number,title:\"Width\",defaultValue:174,min:20,max:1200,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LinkedImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"58\",\"framerIntrinsicWidth\":\"174\",\"framerSupportedLayout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