"use client"; import clsx from "clsx"; import type { Locale } from "@/lib/i18n"; type FutureForecastModalHeaderProps = { cityDisplayName: string; dateStr: string; isAnyLayerSyncing: boolean; isPro: boolean; isProLoading: boolean; isToday: boolean; locale: Locale; onClose: () => void; onRefresh: () => void; t: (key: string, params?: Record) => string; }; export function FutureForecastModalHeader({ cityDisplayName, dateStr, isAnyLayerSyncing, isPro, isProLoading, isToday, locale, onClose, onRefresh, t, }: FutureForecastModalHeaderProps) { const cityLabel = cityDisplayName.toUpperCase(); return (
{locale === "en-US" ? "Analysis workspace" : "分析工作台"} {cityLabel}

{isToday ? t("future.todayTitle", { city: cityLabel, }) : t("future.dateTitle", { city: cityLabel, date: dateStr, })}

{isToday ? locale === "en-US" ? "Base signal first, then probability and model layers." : "先看基础信号,再看概率层和模型层。" : locale === "en-US" ? "Forward date view with phased model and structure sync." : "未来日期视图,模型层与结构层分阶段补齐。"}
); }