import { useState, useRef, useEffect } from "react"; import { startNegotiation, sendResponse, acceptOffer } from "./utils/api"; function EQGauge({ label, value, max = 10 }) { const pct = Math.round((value / max) * 100); const color = pct >= 70 ? "#00b894" : pct >= 40 ? "#fdcb6e" : "#e17055"; return (
{r.summary}
{r.negotiationStyle &&{r.negotiationStyle.description}
{r.emotionalIntelligence.analysis}
{r.communicationScore.analysis}
{r.powerDynamics.assessment}
{r.powerDynamics.shiftMoments?.map((m,i)=>{r.marketContext.analysis}
{r.nextSessionFocus}
{error}
}Practice real-world negotiations with AI coaching. Get detailed performance analysis with emotional intelligence scoring.
{error &&{error}
}