export const TAB_BASIC_DETAILS = 'basicDetails';
export const TAB_LOOK_AND_FEEL = 'lookAndFeel';
export const TAB_SEARCH_LOOK_AND_FEEL = 'searchLookAndFeel';
export const TAB_CHIPS = 'chips';
export const TAB_ADVANCED = 'advanced';
export const TAB_CUSTOM = 'custom';
export const TAB_CONFIGURATION = 'configuration';

export const FONT_SIZE_LIST = new Array(23).fill(null).map((item, index) => {
  const value = `${10 + index}px`;

  return {
    label: value,
    value,
  };
});

export const FONT_FAMILY_LIST = [
  { name: 'Roboto', value: 'Roboto' },
  { name: 'Lato', value: 'Lato' },
  { name: 'Rubik', value: 'Rubik' },
  { name: 'Open Sans', value: 'Open Sans' },
  { name: 'Montserrat', value: 'Montserrat' },
  { name: 'Titillium Web', value: 'Titillium Web' },
  { name: 'Inter', value: 'Inter' },
  { name: 'Heebo', value: 'Heebo' },
  { name: 'Arvo', value: 'Arvo' },
  { name: 'IBM Plex Serif', value: 'IBM Plex Serif' },
  { name: 'Nunito Sans', value: 'Nunito Sans' },
  { name: 'Manrope', value: 'Manrope' },
  // -----------
  { name: 'Device Specific', value: '' },
  { name: 'Inherit Site Font Family', value: 'inherit' },
];

export const ENUM_LIGHT = 'LIGHT';
export const ENUM_DARK = 'DARK';

export const APPEARANCE_MODE_LIST = [
  {
    label: 'Light',
    value: ENUM_LIGHT,
  },
  {
    label: 'Dark',
    value: ENUM_DARK,
  },
];

export const DEEP_SEARCH_REDIRECT_PLAYLIST = 'PLAYLIST';
export const DEEP_SEARCH_REDIRECT_DEEP_SEARCH = 'DEEP_SEARCH';

export const DEEP_SEARCH_REDIRECT_LIST = [
  {
    label: 'Playlist Tab',
    value: DEEP_SEARCH_REDIRECT_PLAYLIST,
  },
  {
    label: 'Deep Search Tab',
    value: DEEP_SEARCH_REDIRECT_DEEP_SEARCH,
  },
];

export const PAGE_MODE_STANDARD = 'DEFAULT';
export const PAGE_MODE_POPUP = 'IN_POPUP';

export const PAGE_MODE_LIST = [
  {
    label: 'Standard',
    value: PAGE_MODE_STANDARD,
  },
  {
    label: 'Pop Up',
    value: PAGE_MODE_POPUP,
  },
];

export const INLINE_CHANNEL_PLAYBACK_FLOW_LIST = [
  {
    label: 'Double-click to play',
    value: true,
  },
  {
    label: 'Click to play',
    value: false,
  },
];

export const ENVIRONMENT_INTERNAL = 'INTERNAL';
export const ENVIRONMENT_EXTERNAL = 'EXTERNAL';
export const ENVIRONMENT_INTERNAL_EXTERNAL = 'INTERNAL_EXTERNAL';
export const ENVIRONMENT_LIST = [
  {
    label: 'Internal',
    value: ENVIRONMENT_INTERNAL,
  },
  {
    label: 'External',
    value: ENVIRONMENT_EXTERNAL,
  },
  {
    label: 'Internal and External',
    value: ENVIRONMENT_INTERNAL_EXTERNAL,
  },
];

export const VIEWS = 'VIEWS';
export const LIKES = 'LIKES';
export const SHARES = 'SHARES';

export const VIDEO_ENGAGEMENT_CONTROLS = [
  {
    label: 'Views',
    value: VIEWS,
  },
  {
    label: 'Likes',
    value: LIKES,
  },
  {
    label: 'Shares',
    value: SHARES,
  },
];

export const DEFAULT_LANGUAGES_LIST = [
  {
    label: 'English',
    value: 'EN',
  },
  {
    label: 'German',
    value: 'DE',
  },
  {
    label: 'French',
    value: 'FR',
  },
  {
    label: 'Spanish',
    value: 'ES',
  },
  {
    label: 'Hebrew',
    value: 'HE',
  },
  {
    label: 'Ukrainian',
    value: 'UK',
  },
];

export const DEFAULT_WATCH_LANGUAGE_VALUE = 'en';
export const WATCH_LANGUAGE_HEBREW_VALUE = 'he';

export const RTL_LANGUAGE_LIST = [WATCH_LANGUAGE_HEBREW_VALUE];

export const WATCH_LANGUAGES_LIST = [
  {
    label: 'English',
    value: DEFAULT_WATCH_LANGUAGE_VALUE,
  },
  {
    label: 'Hebrew',
    value: WATCH_LANGUAGE_HEBREW_VALUE,
  },
];

export const GEN_AI_DEFAULT_VIDEO_COUNT = 5;
export const GEN_AI_MIN_VIDEO_COUNT = 3;
export const GEN_AI_MAX_VIDEO_COUNT = 20;

export const FORM_REDUX_FIELD_NAME = 'commonForm';
