| // Mode definitions — ported verbatim from prototype/data.js (window.ASTROPARSE_MODES) | |
| export const MODES = [ | |
| { id: 'history', label: 'Historical context', short: 'Hist', glyph: 'H', hue: 70 }, | |
| { id: 'referee', label: 'Referee mode', short: 'Ref', glyph: 'R', hue: 25 }, | |
| { id: 'literature', label: 'From the literature', short: 'Lit', glyph: 'L', hue: 250 }, | |
| { id: 'explainer', label: 'Plain-language', short: 'Plain', glyph: 'P', hue: 150 }, | |
| { id: 'methods', label: 'Methods comparison', short: 'Meth', glyph: 'M', hue: 310 }, | |
| ]; | |
| export const modeById = Object.fromEntries(MODES.map((m) => [m.id, m])); | |