/*!
 * (C) Gasco https://gasco-web-component.herokuapp.com/ - MIT License
 */
import { r as registerInstance, h } from './index-211ca8fb.js';

const gascoAvatarMdCss = "img.avatar-img.sc-gasco-avatar{border-radius:var(--border-radius);width:45px;height:45px;margin-right:12px;object-fit:cover;flex-basis:45px}.sc-gasco-avatar-h{--border-radius:50%}.avatar-native.sc-gasco-avatar{display:flex;align-items:center;position:relative;margin:0}.avatar-native.sc-gasco-avatar::before{content:\"\";position:absolute;z-index:2;inset:0 0 0 0}.avatar-native.sc-gasco-avatar figcaption.sc-gasco-avatar{display:flex;flex-direction:column}";

const GascoAvatar = class {
  constructor(hostRef) {
    registerInstance(this, hostRef);
  }
  render() {
    const { src, alt } = this;
    return (h("figure", { class: "avatar-native", part: "native" }, h("img", { class: "avatar-img", src: src, alt: alt }), h("figcaption", null, h("slot", null))));
  }
};
GascoAvatar.style = gascoAvatarMdCss;

export { GascoAvatar as gasco_avatar };
