import {
  LayoutDashboard, Globe, BarChart2, Activity, TrendingUp, Zap, FlaskConical,
  DollarSign, BookOpen, FileBarChart, Brain, Microscope, ShieldAlert, Gauge,
  GitCompare, History, Calendar, Sliders, TrendingUp as MacroSeriesIcon,
  Building2, Users, ScanEye, Radio, Bot, PlayCircle, ScrollText, Settings, Waves, Layers, History as HistoryIcon,
} from 'lucide-react'
import type { LucideIcon } from 'lucide-react'

export interface KeepAliveMeta {
  path:  string
  label: string
  icon:  LucideIcon
}

export const KEEP_ALIVE_META: KeepAliveMeta[] = [
  { path: '/',                  label: 'Cockpit',            icon: LayoutDashboard },
  { path: '/geo',               label: 'Geo Radar',          icon: Globe           },
  { path: '/markets',           label: 'Markets',            icon: BarChart2       },
  { path: '/macro',             label: 'Macro Regime',       icon: Activity        },
  { path: '/options',           label: 'Options Lab',        icon: TrendingUp      },
  { path: '/strategy-builder',  label: 'Strategy Builder',   icon: Layers          },
  { path: '/saxo-history',      label: 'Saxo History',       icon: HistoryIcon     },
  { path: '/wavelets-simulation', label: 'Wavelets Sim.',    icon: Waves           },
  { path: '/patterns',          label: 'Patterns',           icon: Zap             },
  { path: '/pattern-lab',       label: 'Pattern Lab',        icon: FlaskConical    },
  { path: '/portfolio',         label: 'Portfolio',          icon: DollarSign      },
  { path: '/journal',           label: 'Journal',            icon: BookOpen        },
  { path: '/rapport',           label: 'Cycle Report',       icon: FileBarChart    },
  { path: '/super-contexte',    label: 'Super Context',      icon: Brain           },
  { path: '/analytics',         label: 'Analytics',          icon: FlaskConical    },
  { path: '/analytics-advanced',label: 'Adv. Analytics',    icon: Microscope      },
  { path: '/risk',              label: 'Risk',               icon: ShieldAlert     },
  { path: '/var',               label: 'VaR',                icon: Gauge           },
  { path: '/position-history',  label: 'Positions',          icon: GitCompare      },
  { path: '/backtest',          label: 'Backtest',           icon: History         },
  { path: '/calendar',          label: 'Calendar',           icon: Calendar        },
  { path: '/simulator',         label: 'Simulator',          icon: Sliders         },
  { path: '/causal-lab',        label: 'Lab Causal',         icon: FlaskConical    },
  { path: '/instrument-models', label: 'Modèles Instr.',     icon: Microscope      },
  { path: '/macro-series',      label: 'Macro Series',       icon: MacroSeriesIcon },
  { path: '/institutional',     label: 'Inst. Reports',      icon: Building2       },
  { path: '/specialist-desks',  label: 'Specialist Desks',   icon: Users           },
  { path: '/market-events',     label: 'Market Events',      icon: Radio           },
  { path: '/ai-desks',          label: 'AI Desks',           icon: Bot             },
  { path: '/cycle-actions',     label: 'Cycle Actions',      icon: PlayCircle      },
  { path: '/snapshot',          label: 'Snapshot',           icon: ScanEye         },
  { path: '/logs',              label: 'Logs',               icon: ScrollText      },
  { path: '/config',            label: 'Config',             icon: Settings        },
  { path: '/patterns/edit',     label: 'Pattern Editor',     icon: Zap             },
]
