/*!
 * (C) Gasco https://gasco-web-component.herokuapp.com/ - MIT License
 */
'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-9c2d04b3.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) {
    index.registerInstance(this, hostRef);
  }
  render() {
    const { src, alt } = this;
    return (index.h("figure", { class: "avatar-native", part: "native" }, index.h("img", { class: "avatar-img", src: src, alt: alt }), index.h("figcaption", null, index.h("slot", null))));
  }
};
GascoAvatar.style = gascoAvatarMdCss;

exports.gasco_avatar = GascoAvatar;
