import{r as i,h as e,H as a}from"./p-40eb06b7.js";import{c as r}from"./p-5b78f53d.js";const d=class{constructor(e){i(this,e),this.src=void 0,this.width=void 0,this.height=void 0,this.description=void 0,this.align=void 0,this.rounded=!1}render(){return e(a,{key:"32f39e53243f18293ec51557e46bb6a324b1e636",class:r({"media-rounded":this.rounded,"media-right":"right"===this.align})},this.src&&e("img",{key:"584d16e5f063b38acd8449d9fb26ede85f178819",style:{width:this.width,height:this.height},src:this.src,alt:this.description,"aria-label":this.description}),e("div",{key:"7e3c4c91b4302bcac4bac45a168d8dfd8cd51d6a",class:"media-body"},e("slot",{key:"922b47a898f1be481071521700519e9be68de691"})))}};d.style="x-media{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;margin:0;padding:0;text-align:inherit}x-media>img{margin:0 1.5rem 0 0;max-width:100%;height:auto;background-color:rgba(0, 0, 0, 0.1);-webkit-box-shadow:0px 3px 1rem rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(var(--color-border-rgb, 200, 199, 204), 0.35);box-shadow:0px 3px 1rem rgba(0, 0, 0, 0.1), inset 0 0 0 1px rgba(var(--color-border-rgb, 200, 199, 204), 0.35);-webkit-animation:loadingBG 0.5s infinite alternate;animation:loadingBG 0.5s infinite alternate}.is-dark-mode x-media>img{background-color:rgba(255, 255, 255, 0.1)}x-media>div.media-body{-ms-flex:1;flex:1}x-media.media-rounded>img{border-radius:0.45em}x-media.media-right>img{margin:0 0 0 1.5rem;-ms-flex-order:999;order:999}";export{d as x_media}