{report.planetName} (#{report.planet}) {#each raceLayout as anchor (anchor.raceId)} {@const cluster = renderedByRace.get(anchor.raceId) ?? []} {@const basis = clusterBasisById.get(anchor.raceId)} {#if basis && cluster.length > 0} {raceLabelById.get(anchor.raceId) ?? `race ${anchor.raceId}`} {#each cluster as entry (entry.bucketKey)} {@const pos = worldPosition(basis, entry)} {@const flash = entry.bucketKey === flashDefenderBucketKey ? shotLine?.destroyed ? "destroyed" : "shielded" : null} {entry.className}:{entry.numLeft} {/each} {/if} {/each} {#if shotLine && shotVisible} {/if}