'use client'; import React, { useEffect, useState } from 'react'; import { motion, AnimatePresence } from 'framer-motion'; import { Database, Clock, X } from 'lucide-react'; const CURRENT_VERSION = '0.9.7'; const STORAGE_KEY = `shadowbroker_startup_warmup_notice_v${CURRENT_VERSION}`; interface StartupWarmupModalProps { onClose: () => void; } export default function StartupWarmupModal({ onClose }: StartupWarmupModalProps) { const handleDismiss = () => { localStorage.setItem(STORAGE_KEY, 'true'); onClose(); }; return (
e.stopPropagation()} >

STARTUP CACHE

FIRST RUN WARMUP

MASS DATA SYNTHESIS

The first launch builds local caches for flights, ships, satellites, CCTV, fires, and threat intelligence. Cached launches paint the map much faster; a brand-new install can take a few minutes while upstream feeds are synthesized.

); } export function useStartupWarmupNotice() { const [showWarmupNotice, setShowWarmupNotice] = useState(false); useEffect(() => { try { setShowWarmupNotice(localStorage.getItem(STORAGE_KEY) !== 'true'); } catch { setShowWarmupNotice(false); } }, []); return { showWarmupNotice, setShowWarmupNotice }; }