import{b as n,E as p,j as b,B as i,q as F}from"./index-ktJf6c6X.js";const x=[{bg:"#E3F2FD",border:"#90CAF9",text:"#1565C0"},{bg:"#F3E5F5",border:"#CE93D8",text:"#7B1FA2"},{bg:"#E8F5E9",border:"#A5D6A7",text:"#2E7D32"},{bg:"#FFF3E0",border:"#FFCC80",text:"#E65100"},{bg:"#FCE4EC",border:"#F48FB1",text:"#C2185B"},{bg:"#E0F7FA",border:"#80DEEA",text:"#00838F"}],d=({variant:r,compact:e=!1})=>{var o;return(o=r==null?void 0:r.attributesDTOList)!=null&&o.length?n(i,{sx:{display:"flex",flexWrap:"wrap",gap:e?.4:.5,mt:e?.2:.5,alignItems:"center"},children:r.attributesDTOList.map((t,l)=>{const s=x[l%x.length];return n(p,{label:b(F,{component:"span",sx:{fontSize:e?"0.68rem":"0.73rem",fontWeight:600,letterSpacing:"0.02em",color:s.text},children:[b(i,{component:"span",sx:{fontWeight:500,opacity:.8},children:[t.name,":"]})," ",t.value]}),size:"small",sx:{height:e?20:22,borderRadius:"6px",border:`1px solid ${s.border}`,backgroundColor:s.bg,"& .MuiChip-label":{px:e?.6:.8,py:0}}},`${t.name}-${l}`)})}):null};export{d as V};
