import { DEFAULT_UI_LAYOUT, UI_LAYOUT_ATTRIBUTE, UI_LAYOUT_STORAGE_KEY, } from "@/lib/ui-layout"; /** * ThemeScript - Initializes theme from localStorage before React hydration * This prevents the flash of wrong theme on page load. * * Must be a Server Component: in Next.js / React 19,