import{r as i,h as e}from"./p-52e3bb32.js";import{M as a}from"./p-40657c82.js";const g=class{constructor(e){i(this,e),this.afFigcaption=void 0,this.afAlignment=a.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:"bf78c6b502bb19c42ab7d0a43156b64123cfa621",class:Object.assign({"digi-media-figure":!0},this.cssModifiers)},e("div",{key:"5a885741daa877fd551c8cca7232e5e3e48bb358",class:"digi-media-figure__image"},e("slot",{key:"d33842527ecacf6305cc310a832ac83a8e766f99"})),this.afFigcaption&&e("figcaption",{key:"6c996e27377c768d1671c63bb2cd08123e25526c",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}