// SONARA — Producer Wallet & Payout (Revenue · Payout · KYC · Fiscale) const WIcons = window.SonaraIcons; /* ─────── ICONS ─────── */ const ArrIc = ({ size = 13 }) => ; const UpIc = ({ size = 12 }) => ; const DownloadIc = ({ size = 13 }) => ; const CheckIc = ({ size = 12 }) => ; const ChevDownIc = ({ size = 11 }) => ; const EditIc = ({ size = 13 }) => ; const InfoIc = ({ size = 12 }) => ; /* ─────── REVENUE CHART (mini sparkline area) ─────── */ function RevenueChart({ data, max }) { const w = 100, h = 40; const points = data.map((v, i) => `${(i / (data.length - 1)) * w},${h - (v / max) * h * 0.9 - 2}`).join(" "); const area = `0,${h} ${points} ${w},${h}`; return ( ); } /* ─────── BAR CHART (30gg revenue) ─────── */ function BarChart({ data }) { const max = Math.max(...data.map(d => d.v), 1); return (