/**
 * DEMO-ONLY current state per trip (driver feedback 2026-09-04). Nash:
 * "When location is detected, by default, our design for UI is going to tell
 * us that we are in [a state]… actually, let's say we're in Wyoming. Let me
 * correct myself. We are in Wyoming." Real geolocation→state mapping is
 * backend work; until then the D&D demo trip pins the detected state so the
 * design shows completed states, the highlighted current state, and the
 * states ahead. Other trips keep the honest "activates with backend" note.
 */

const DEMO_CURRENT_STATE: Record<string, string> = {
  'HH-48843549': 'WY',
  // Stratan Inc sample order recreated from Synchron order #55860571
  // (2026-09-08). Nash: "The driver is currently in Colorado."
  'HH-55860571': 'CO',
}

export function getDemoCurrentState(refCode: string | null | undefined): string | null {
  if (!refCode) return null
  return DEMO_CURRENT_STATE[refCode] ?? null
}
