{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/CR4guHVlIClU0CpyeppD/Z0sorsTtwVQsPYTxeEHj/ImageWithAltText.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{ControlType}from\"framer\";// The Code Component\nexport function ImageWithAltText({image,altText,verticalAlign,horizontalAlign}){// Convert align options to valid flex values\nconst verticalMap={top:\"flex-start\",center:\"center\",bottom:\"flex-end\"};const horizontalMap={left:\"flex-start\",center:\"center\",right:\"flex-end\"};return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",overflow:\"hidden\",display:\"flex\",justifyContent:horizontalMap[horizontalAlign],alignItems:verticalMap[verticalAlign]},children:/*#__PURE__*/_jsx(\"img\",{src:image,alt:altText||\"No alt text available\",style:{objectFit:\"cover\",objectPosition:`${horizontalAlign} ${verticalAlign}`,width:\"100%\",height:\"100%\"}})});}// Add Property Controls\nImageWithAltText.propertyControls={image:{type:ControlType.Image,title:\"Image\"},altText:{type:ControlType.String,title:\"Alt Text\"},verticalAlign:{type:ControlType.Enum,title:\"Vertical Align\",options:[\"top\",\"center\",\"bottom\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],defaultValue:\"center\"},horizontalAlign:{type:ControlType.Enum,title:\"Horizontal Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"center\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"ImageWithAltText\":{\"type\":\"reactComponent\",\"name\":\"ImageWithAltText\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ImageWithAltText.map"],
  "mappings": "kFACO,SAASA,EAAiB,CAAC,MAAAC,EAAM,QAAAC,EAAQ,cAAAC,EAAc,gBAAAC,CAAe,EAAE,CAC/E,IAAMC,EAAY,CAAC,IAAI,aAAa,OAAO,SAAS,OAAO,UAAU,EAA2E,OAAoBC,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,SAAS,QAAQ,OAAO,eAAxJ,CAAC,KAAK,aAAa,OAAO,SAAS,MAAM,UAAU,EAAkIF,CAAe,EAAE,WAAWC,EAAYF,CAAa,CAAC,EAAE,SAAsBG,EAAK,MAAM,CAAC,IAAIL,EAAM,IAAIC,GAAS,wBAAwB,MAAM,CAAC,UAAU,QAAQ,eAAe,GAAGE,CAAe,IAAID,CAAa,GAAG,MAAM,OAAO,OAAO,MAAM,CAAC,CAAC,CAAC,CAAC,CAAE,CACvgBH,EAAiB,iBAAiB,CAAC,MAAM,CAAC,KAAKO,EAAY,MAAM,MAAM,OAAO,EAAE,QAAQ,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,EAAE,cAAc,CAAC,KAAKA,EAAY,KAAK,MAAM,iBAAiB,QAAQ,CAAC,MAAM,SAAS,QAAQ,EAAE,aAAa,CAAC,MAAM,SAAS,QAAQ,EAAE,aAAa,QAAQ,EAAE,gBAAgB,CAAC,KAAKA,EAAY,KAAK,MAAM,mBAAmB,QAAQ,CAAC,OAAO,SAAS,OAAO,EAAE,aAAa,CAAC,OAAO,SAAS,OAAO,EAAE,aAAa,QAAQ,CAAC",
  "names": ["ImageWithAltText", "image", "altText", "verticalAlign", "horizontalAlign", "verticalMap", "p", "ControlType"]
}
