import React, { useState, useEffect, useRef } from 'react'; // Pure inline SVG icons to eliminate external React instance ($$typeof) conflicts const Zap = ({ className = "w-6 h-6" }) => ( ); const Glasses = ({ className = "w-5 h-5" }) => ( ); const Globe = ({ className = "w-5 h-5" }) => ( ); const Activity = ({ className = "w-6 h-6" }) => ( ); const Network = ({ className = "w-6 h-6" }) => ( ); const Cpu = ({ className = "w-10 h-10" }) => ( ); const Satellite = ({ className = "w-5 h-5" }) => ( ); const Server = ({ className = "w-4 h-4" }) => ( ); const ShieldCheck = ({ className = "w-4 h-4" }) => ( ); const Lock = ({ className = "w-6 h-6" }) => ( ); const Terminal = ({ className = "w-4 h-4" }) => ( ); const Code = ({ className = "w-3 h-3" }) => ( ); // High-performance self-contained orbital telemetry SVG visualizer const TelemetryChart = ({ data }) => { if (!data || data.length < 2) return null; const width = 500; const height = 150; const padding = 15; const minVal = 7300; const maxVal = 7900; const range = maxVal - minVal; const points = data.map((d, i) => { const x = padding + (i / (data.length - 1)) * (width - padding * 2); const clamped = Math.max(minVal, Math.min(maxVal, d.velocity)); const y = height - padding - ((clamped - minVal) / range) * (height - padding * 2); return { x, y, ...d }; }); const pathD = points.reduce((acc, p, i) => ( i === 0 ? `M ${p.x.toFixed(1)} ${p.y.toFixed(1)}` : `${acc} L ${p.x.toFixed(1)} ${p.y.toFixed(1)}` ), ''); const areaD = `${pathD} L ${points[points.length - 1].x.toFixed(1)} ${height - padding} L ${points[0].x.toFixed(1)} ${height - padding} Z`; const latest = points[points.length - 1]; return (