/** Zulässige `cameraPreset`-Blockattribut-Werte (SSOT für Normalisierung). */

export const CAMERA_PRESET_KEYS = Object.freeze([
  'default',
  'frog_right',
  'elevated_right',
  'frontal',
  'elevated_left',
  'frog_left',
]);

export function normalizeCameraPreset(raw) {
  const s = typeof raw === 'string' ? raw.trim() : '';
  return CAMERA_PRESET_KEYS.includes(s) ? s : 'default';
}
