export const StreamCaptionsLanguages = [
  'en',
  'es',
  'pt',
  'fr',
  'it',
  'de',
] as const;

export const HOST_SIDEBAR_WIDTH = '288px';

export const MAX_LIVE_HOURS_DURATION = 8;

export const FULL_SCREEN_COMMENT_WIDTH = '400px';

export const COMMENT_ADD_INPUT_ID = 'commendAddInput';

export const SHOW_CONTROLS_MS_DURATION = 5000;

export const STREAM_METRICS = {
  // 5 minutes of history at the 2s stats reporting interval
  // (+1 sample so the window spans exactly 300s edge to edge)
  HISTORY_LENGTH: 151,
  SAMPLE_INTERVAL_SECONDS: 2,
  SPARKLINE: {
    WIDTH: 100,
    HEIGHT: 40,
    STROKE_WIDTH: 1.5,
    AREA_OPACITY: 0.12,
  },
  SECONDS_PER_MINUTE: 60,
  TICK_INTERVAL_MINUTES: 1,
} as const;
