import { SparklesIcon } from 'lucide-react' import { SpeechExcerpt } from '@/components/campaign/speech/SpeechExcerpt' import type { SpeechHighlightedExcerpt } from '@/lib/speechHighlight' /** * C229 — the shared semantic marks of a result card (design scenes 01/02): the * "Tema" seal (the engine surfaced the row by meaning), the coexisting "Termo * exato" seal (the row also contains the literal query) and the evidence block * "Trecho mais próximo do tema" — a real passage, no highlight and no score. * Both the Câmara and the web cards render exactly this structure. */ export const SpeechSemanticBadges = ({ matchedTextSearch }: { matchedTextSearch: boolean }) => (
{matchedTextSearch ? ( Termo exato ) : null}
) /** * C229 — the seal of a literal result inside the degraded theme path (design * scene 04): the engine was down, the list below is by term. The plain exact * search never renders it (the page only passes `literalFallback` when the * actor asked for the theme). */ export const SpeechLiteralMatchBadge = () => ( Termo exato ) export const SpeechSemanticProvenance = ({ excerpt }: { excerpt: SpeechHighlightedExcerpt }) => { if (excerpt.parts.length === 0) return null return (

Trecho mais próximo do tema

) }