// SONARA β Producer Messaggi (chat con quick replies + ti aspetta indicator) const MIcons = window.SonaraIcons; const SearchIc = ({ size = 14 }) => ; const VerifIc = ({ size = 12 }) => ; const PaperclipIc = ({ size = 14 }) => ; const MicIc = ({ size = 14 }) => ; const SendIc = ({ size = 14 }) => ; const BoltIc = ({ size = 12 }) => ; const PlayIc = ({ size = 10 }) => ; const InfoIc = ({ size = 13 }) => ; const THREADS = [ { id: "T1", who: "RAZZA", init: "RZ", verified: true, online: true, project: "Mix EP \"Asfalto\" Β· ORD-4821", preview: "Perfetto, aspetto la v2 βοΈ ti faccio sentire anche un riferimento", time: "8m", unread: 2, waitsHours: 0, messages: [ { from: "them", text: "Ciao Nico! Ho ascoltato la v1, suona super pulita π₯", time: "Ieri Β· 17:42" }, { from: "them", text: "PerΓ² su \"Vento\" sento la cassa un po' bassa rispetto agli altri brani. Puoi alzarla di qualcosa? Tipo 2-3 dB?", time: "Ieri Β· 17:44" }, { from: "me", text: "Ciao! SΓ¬ confermo, anche io l'ho notata. La sistemo nella v2.", time: "Ieri Β· 18:12", read: true }, { from: "me", text: "Mi serve un attimo per allineare anche le 808 sul minuto 2:15 β c'era un piccolo fade strano. Ti consegno entro domani sera.", time: "Ieri Β· 18:13", read: true }, { from: "them", text: "Perfetto, aspetto la v2 βοΈ ti faccio sentire anche un riferimento", time: "8m fa" }, { from: "them", type: "voice", duration: "0:23", time: "5m fa" }, ], files: 3, }, { id: "T2", who: "Yoshi K.", init: "YK", verified: true, online: true, project: "Beat esclusivo \"Notturno\" Β· ORD-4815", preview: "Mi piacciono i riferimenti che hai mandato. Quanto per esclusiva?", time: "1h", unread: 1, waitsHours: 0, messages: [], files: 1, }, { id: "T3", who: "Sara D.", init: "SD", verified: false, online: false, project: "Vocal production \"Senza Te\" Β· ORD-4801", preview: "Ti mando gli stems entro stasera, scusa il ritardo", time: "Ieri", unread: 1, waitsHours: 0, messages: [], files: 0, }, { id: "T4", who: "M. Lentini", init: "ML", verified: false, online: false, project: "Mix \"Mezzanotte\" Β· chiuso", preview: "Ricevuti, suono pulitissimo. Procedo con il pagamento finale", time: "2gg", unread: 0, waitsHours: 48, messages: [], files: 2, }, { id: "T5", who: "AlessioRap", init: "AR", verified: false, online: false, project: "Pre-deal Β· richiesta REQ-9214", preview: "Ti ho mandato la mia offerta, vediamo se ti torna π", time: "3gg", unread: 0, waitsHours: 0, messages: [], files: 0, predeal: true, }, { id: "T6", who: "Lina Sky", init: "LS", verified: false, online: false, project: "Custom prod R&B Β· ORD-4821", preview: "Grande, grazie! Aspetto le prime idee π", time: "1 sett.", unread: 0, waitsHours: 0, messages: [], files: 0, }, ]; const QUICK_REPLIES = [ "Sto lavorando, ti aggiorno entro 24h", "Ho ricevuto tutto, mi metto al lavoro", "Pronto, dai un'occhiata π§", "Posso fare una revisione extra a β¬20", "Confermo deadline", ]; /* βββββββ THREAD LIST ITEM βββββββ */ function ThreadRow({ t, active, onClick }) { return ( ); } /* βββββββ MESSAGE BUBBLE βββββββ */ function Bubble({ m }) { const mine = m.from === "me"; if (m.type === "voice") { return (