export const CAMPUS_ATTENDANCE_DEFAULT_LIMIT = 120;
export const CAMPUS_ATTENDANCE_MAX_LIMIT = 366;

export function normalizeCampusKey(value: unknown): string | null {
  if (typeof value !== 'string' || value.trim().length === 0) {
    return null;
  }

  const normalized = value.trim().toLowerCase().replace(/\s+campus$/u, '');

  return normalized || null;
}
