{"version":3,"file":"ResponsiveImage.fxI99UD2.mjs","names":[],"sources":["https:/framerusercontent.com/modules/XOkWmt1e8ffNozLy4bkO/WVYgrZMZu8njdJkGqVCI/ResponsiveImage.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function ResponsiveImageComponent(props){const{cmsImageURL,altText,borderRadius}=props;// Check if the image URL is available\nconst imageURL=cmsImageURL?cmsImageURL:null;const appendChar=imageURL.match(/\\?/)?\"&\":\"?\";const imageURLSet=imageURL+appendChar+\"scale-down-to=512 512w, \"+imageURL+appendChar+\"scale-down-to=1024 1024w, \"+imageURL+appendChar+\"scale-down-to=2048 2048w, \"+imageURL+appendChar+\"scale-down-to=2304 2304w\";// Apply \"display: none\" if the image URL is not set\nconst displayStyle=imageURL?\"block\":\"none\";return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"auto\",overflow:\"hidden\",position:\"relative\",display:displayStyle},children:/*#__PURE__*/_jsx(\"img\",{src:imageURL,srcSet:imageURLSet,sizes:\"max(100vw * 0.5017, 1px)\",alt:altText||\"Responsive Image\",style:{width:\"100%\",height:\"auto\",objectFit:\"cover\",display:\"block\",userSelect:\"none\"}})});}// Framer Property Controls - No more \"Is Set\" control\naddPropertyControls(ResponsiveImageComponent,{cmsImageURL:{type:ControlType.Image,title:\"CMS Image\"},altText:{type:ControlType.String,title:\"Alt Text\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"ResponsiveImageComponent\":{\"type\":\"reactComponent\",\"name\":\"ResponsiveImageComponent\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ResponsiveImage.map"],"mappings":"4JAA+F,SAAgB,EAAyB,EAAM,CAAC,GAAK,CAAC,cAAY,UAAQ,gBAAc,EACjL,EAAS,GAAwB,KAAW,EAAW,EAAS,MAAM,IAAI,EAAE,IAAI,IAAU,EAAY,EAAS,EAAW,2BAA2B,EAAS,EAAW,6BAA6B,EAAS,EAAW,6BAA6B,EAAS,EAAW,2BACtO,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,SAAS,WAAW,QAAhI,EAAS,QAAQ,MAAmI,EAAE,SAAsB,EAAK,MAAM,CAAC,IAAI,EAAS,OAAO,EAAY,MAAM,2BAA2B,IAAI,GAAS,mBAAmB,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,QAAQ,QAAQ,QAAQ,WAAW,MAAM,CAAC,CAAC,CAAC,CAAC,CAAE,iBAF7V,IAAoD,EAG9F,EAAoB,EAAyB,CAAC,YAAY,CAAC,KAAK,EAAY,MAAM,MAAM,WAAW,EAAE,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,UAAU,CAAC,CAAC"}