{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/6raen5SN5szTmAl53FMM/E7qcu6Q7DsGEGbw5vGnd/AspectRatioImage.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n */export default function AspectRatioImage(props){var _props_image,_props_image1;const{border}=props;const radius=props.radiusIsMixed?`${props.topLeft}px ${props.topRight}px ${props.bottomRight}px ${props.bottomLeft}px`:`${props.radius}px`;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"img\",{src:(_props_image=props.image)===null||_props_image===void 0?void 0:_props_image.src,alt:(_props_image1=props.image)===null||_props_image1===void 0?void 0:_props_image1.alt,style:{display:\"block\",objectFit:\"contain\",borderRadius:radius,boxShadow:props.shadows,...props.style}}),border&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,borderWidth:border.widthIsMixed?`${border.widthTop}px ${border.widthRight}px ${border.widthBottom}px ${border.widthLeft}px`:`${border.width}px`,borderStyle:border.style,borderColor:border.color,borderRadius:radius,pointerEvents:\"none\"}})]});}AspectRatioImage.displayName=\"Aspect Ratio Image\";addPropertyControls(AspectRatioImage,{image:{type:ControlType.ResponsiveImage},radius:{type:ControlType.FusedNumber,defaultValue:0,toggleKey:\"radiusIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"topLeft\",\"topRight\",\"bottomRight\",\"bottomLeft\"],valueLabels:[\"TL\",\"TR\",\"BR\",\"BL\"],min:0},border:{type:ControlType.Object,optional:true,controls:{color:{type:ControlType.Color,defaultValue:\"#222\"},width:{type:ControlType.FusedNumber,defaultValue:1,toggleKey:\"widthIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"widthTop\",\"widthRight\",\"widthBottom\",\"widthLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}}},shadows:{type:ControlType.BoxShadow}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"AspectRatioImage\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AspectRatioImage.map"],
  "mappings": "uGAGkB,SAARA,EAAkCC,EAAM,CAAC,IAAIC,EAAaC,EAAc,GAAK,CAAC,OAAAC,CAAM,EAAEH,EAAYI,EAAOJ,EAAM,cAAc,GAAGA,EAAM,aAAaA,EAAM,cAAcA,EAAM,iBAAiBA,EAAM,eAAe,GAAGA,EAAM,WAAW,OAAoBK,EAAMC,EAAU,CAAC,SAAS,CAAcC,EAAK,MAAM,CAAC,KAAKN,EAAaD,EAAM,SAAS,MAAMC,IAAe,OAAO,OAAOA,EAAa,IAAI,KAAKC,EAAcF,EAAM,SAAS,MAAME,IAAgB,OAAO,OAAOA,EAAc,IAAI,MAAM,CAAC,QAAQ,QAAQ,UAAU,UAAU,aAAaE,EAAO,UAAUJ,EAAM,QAAQ,GAAGA,EAAM,KAAK,CAAC,CAAC,EAAEG,GAAqBI,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,YAAYJ,EAAO,aAAa,GAAGA,EAAO,cAAcA,EAAO,gBAAgBA,EAAO,iBAAiBA,EAAO,cAAc,GAAGA,EAAO,UAAU,YAAYA,EAAO,MAAM,YAAYA,EAAO,MAAM,aAAaC,EAAO,cAAc,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAACL,EAAiB,YAAY,qBAAqBS,EAAoBT,EAAiB,CAAC,MAAM,CAAC,K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