"use client"; import type { ChartConfiguration } from "chart.js"; import clsx from "clsx"; import { startTransition, useMemo } from "react"; import { useChart } from "@/hooks/useChart"; import { useCityData, useDashboardStore } from "@/hooks/useDashboardStore"; import { useI18n } from "@/hooks/useI18n"; import { CityDetail, MarketScan, MarketTopBucket, ProbabilityBucket, } from "@/lib/dashboard-types"; import { getHeroMetaItems, getModelView, getProbabilityView, getRiskBadgeLabel, getTemperatureChartData, getWeatherSummary, } from "@/lib/dashboard-utils"; function EmptyState({ text }: { text: string }) { return (
{locale === "en-US" ? "This is a transparent model-count baseline, not the calibrated settlement probability." : "这是透明模型票数基线,不等同于经过实测下限与历史 MAE 校准后的结算概率。"}