import{r as i,h as e}from"./p-52e3bb32.js";import{M as d}from"./p-40657c82.js";const g=class{constructor(e){i(this,e),this.afFigcaption=void 0,this.afAlignment=d.START}get cssModifiers(){return{"digi-media-figure--align-start":"start"===this.afAlignment,"digi-media-figure--align-center":"center"===this.afAlignment,"digi-media-figure--align-end":"end"===this.afAlignment}}render(){return e("figure",{key:"1e0f32d194f45478ee10e7db3a3d61225dca5720",class:Object.assign({"digi-media-figure":!0},this.cssModifiers)},e("div",{key:"66c0430815d692bead0f141bf403def13b3e0585",class:"digi-media-figure__image"},e("slot",{key:"486e2b0a36c186f3574ba1ad78d86cf4df9c5310"})),this.afFigcaption&&e("figcaption",{key:"11b948928b9cd726a3f5d7d52be2124b99552719",class:"digi-media-figure__figcaption"},this.afFigcaption))}};g.style=".sc-digi-media-figure-h .digi-media-figure__figcaption.sc-digi-media-figure{font-family:var(--digi--global--typography--font-family--default);font-size:var(--digi--typography--body--font-size--mobile);color:var(--digi--color--text--neutral);margin-top:var(--digi--gutter--smaller)}.digi-media-figure--align-start.sc-digi-media-figure .digi-media-figure__figcaption.sc-digi-media-figure{text-align:start}.digi-media-figure--align-center.sc-digi-media-figure .digi-media-figure__figcaption.sc-digi-media-figure{text-align:center}.digi-media-figure--align-end.sc-digi-media-figure .digi-media-figure__figcaption.sc-digi-media-figure{text-align:end}";export{g as digi_media_figure}