1import{i as r,g as m}from"./DQSuM1Xs.js";import{d as u,f as s,q as l,v as d,h as t,t as f,o,n as c}from"./CWXzWxAq.js";const h=["src","alt","width","height"],g=u({__name:"Avatar",props:{name:{},src:{default:null},size:{default:56},rounded:{default:"full"}},setup(e){const a=e,n=c(()=>a.rounded==="full"?"rounded-full":"rounded-xl"),i=c(()=>m(a.name));return(z,x)=>e.src?(o(),s("img",{key:0,src:e.src,alt:e.name,width:e.size,height:e.size,loading:"lazy",class:d([t(n),"object-cover"]),style:l({width:`${e.size}px`,height:`${e.size}px`})},null,14,h)):(o(),s("div",{key:1,class:d([t(n),"flex items-center justify-center font-bold text-white select-none"]),style:l({width:`${e.size}px`,height:`${e.size}px`,backgroundImage:`linear-gradient(135deg, ${t(i).from}, ${t(i).to})`,fontSize:`${e.size*.36}px`}),"aria-hidden":"true"},f(t(r)(e.name)),7))}}),k=Object.assign(g,{__name:"Avatar"});export{k as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.