"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require('../../assets/index14.css');const a=require("react/jsx-runtime"),c=require("../figure/index.cjs"),o=require("../icon/index.cjs"),i=require("../link/index.cjs"),u="_avatar_3vtid_5",v={avatar:u},d=({accessibleLabel:s,imageUrl:t,link:e})=>{const r=s||"User Avatar",n=a.jsx("span",{className:v.avatar,children:a.jsx(c.Figure,{accessibleLabel:r,children:t?a.jsx("img",{src:t,alt:r}):a.jsx(o.Icon,{name:"user",variant:e?"white":"default"})})});return e?a.jsx(i.Link,{to:e,"data-component":"avatar",children:n}):n};exports.Avatar=d;
//# sourceMappingURL=index.cjs.map
