1import{j as s,c as l}from"./automationAxios-iy0n8IC9.js";import{g as _}from"./user-CbzI_S7S.js";const u="_avatar_1iudc_63",d="_size100_1iudc_73",v="_size200_1iudc_79",m="_size300_1iudc_85",g="_color0_1iudc_90",p="_color1_1iudc_95",x="_color2_1iudc_100",f="_color3_1iudc_105",h="_color4_1iudc_110",z="_color5_1iudc_115",A="_color6_1iudc_120",j="_color7_1iudc_125",C="_color8_1iudc_130",a={avatar:u,size100:d,size200:v,size300:m,color0:g,color1:p,color2:x,color3:f,color4:h,color5:z,color6:A,color7:j,color8:C};function N(c=""){let o;return c.includes(" ")?o=c.split(" "):o=c.split("."),o=o.filter(r=>r.length>0),o.length>=2?o[0][0]+o[1][0]:c.slice(0,2)}function I(c){return c.split("").reduce((o,r)=>(o=(o<<5)-o+r.charCodeAt(0),o&o),0)}function w(c=""){return Math.abs(I(c))%9}function y({name:c,className:o,size:r="100"}){return s.jsx("div",{"aria-hidden":!0,className:l(a.avatar,a[`size${r}`],a[`color${w(c)}`],o),children:N(c)})}const $="_userAvatar_x0w2p_63",U="_iconContainer_x0w2p_70",b="_avatarImage_x0w2p_75",e={userAvatar:$,iconContainer:U,avatarImage:b};function M({user:c,className:o,size:r="100",displayUserName:n=!0}){const{gravatar_url:i}=c,t=_(c);return s.jsxs("div",{className:e.userAvatar,children:[s.jsxs("div",{className:e.iconContainer,children:[i&&s.jsx("img",{alt:t,src:i,className:e.avatarImage}),s.jsx(y,{name:t,className:o,size:r})]}),n&&t]})}export{y as A,M as U};
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.