{t("interactiveAnswer.noMatches")}
) : ( <> {showTable ? ( // Narrow answers (a phone, a side panel) read the same options as cards, // so no column hides off-screen.{activeFilters ? t("interactiveAnswer.showing", { shown: visible.length, total: spec.items.length }) : t("interactiveAnswer.omitted", { count: spec.omitted })}
) : null} {streamState === "streaming" && !complete ?{t("interactiveAnswer.stopped")}
) : null} {canPick ? ({item.description}
) : null} {facts.length > 0 ? (| {t("interactiveAnswer.selected")} | ) : null} {header("title", t("interactiveAnswer.option"))} {spec.fields.map((field) => header(field.key, field.label, field, numericField(field)))}||
|---|---|---|
| ) : null} |
{item.title}
{item.badge ? (
{item.badge}
) : null}
{item.subtitle ? (
{item.subtitle}
) : null}
|
{spec.fields.map((field) => {
const value = item.values[field.key];
const isBest = best.get(field.key)?.has(item.id);
return (
{formatInteractiveValue( field.unit && !INLINE_UNITS.has(field.unit) ? { ...field, unit: undefined } : field, value, words, t.locale, )} {field.better && typeof value === "number" ? ( // A fixed slot keeps numbers aligned whether or not they are best. {isBest ? ( ) : null} ) : null} | ); })}
{t("interactiveAnswer.bestInColumn")}
) : null}{sent && !failed ? ( ) : null} {status} {selected.length > 0 && !sent ? ( ) : null}
{names.length > 0 ? ({names.join(", ")}
) : null}{streaming ? ( ) : null} {t("interactiveAnswer.writing")}
{t("interactiveAnswer.invalid")}
{open ? renderSource() : null}