// Rundenverlauf einer Map: ein Feld pro Runde in der Farbe des Siegerteams, // mit Symbol für den Grund. Nach der Halbzeit (und jeder Verlängerungshälfte) ein Trenner. export const REASON_LABEL = { bomb: 'Bombe explodiert', defuse: 'Bombe entschärft', time: 'Zeit abgelaufen', elimination: 'Alle ausgeschaltet', surrender: 'Aufgegeben', other: 'Runde gewonnen', }; export function ReasonIcon({ reason, size = 12 }) { const common = { width: size, height: size, viewBox: '0 0 16 16', 'aria-hidden': true, className: 'reason-icon' }; switch (reason) { case 'bomb': return ( ); case 'defuse': return ( ); case 'time': return ( ); case 'elimination': return ( ); default: return ; } } export default function RoundStrip({ rounds = [], maxRounds = 24, teams, size = 'md' }) { const half = maxRounds / 2; const total = Math.max(rounds.length, maxRounds); const cells = []; for (let i = 1; i <= total; i++) { const r = rounds.find((x) => x.number === i); const breakBefore = i > 1 && (i - 1 === half || (i - 1 > maxRounds && (i - 1 - maxRounds) % 3 === 0)); cells.push(