/* Section: Agentic AI highlight + looping agent log terminal */ const { useState: uS3, useEffect: uE3, useRef: uR3 } = React; function AgentTerminal({ log }) { const [n, setN] = uS3(0); // how many lines shown uE3(() => { let i = 0; let timer = 0; const step = () => { i += 1; if (i > log.length) { // pause on full log, then reset for the loop timer = setTimeout(() => { i = 0; setN(0); timer = setTimeout(step, 700); }, 2600); return; } setN(i); timer = setTimeout(step, 900); }; timer = setTimeout(step, 600); return () => clearTimeout(timer); }, [log]); return (
{A.lead}