import{j as e}from"./index-Dg96YjT4.js";import{m as a}from"./proxy-B1BVTstq.js";const c={info:"text-neon-cyan/80",warn:"text-amber-300",error:"text-rose-300"};function x({logs:s,className:n=""}){return e.jsxs(a.section,{className:`hud-panel rounded-2xl p-4 ${n}`,initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("h2",{className:"font-display text-base text-neon-cyan",children:"System Logs"}),e.jsx("span",{className:"text-xs uppercase tracking-[0.3em] text-neon-cyan/60",children:"Live"})]}),e.jsxs("div",{className:"mt-3 space-y-2",children:[s.length===0?e.jsx("p",{className:"text-sm text-muted",children:"Aucun log reçu."}):s.slice(0,4).map(t=>e.jsxs("div",{className:"rounded-xl border border-neon-cyan/15 bg-bg-800/60 p-3",children:[e.jsx("p",{className:"text-[10px] uppercase tracking-[0.3em] text-neon-cyan/60",children:t.ts}),e.jsx("p",{className:`mt-1 text-xs ${c[t.level]||"text-white"}`,children:t.message})]},t.id)),s.length>4&&e.jsxs("p",{className:"text-xs text-muted",children:["… ",s.length-4," logs masqués"]})]})]})}export{x as SystemLogs};
