// @flow

export const DEBOUNCE_TIME = 250;
export const DAY_MONTH_DATE_FORMAT = 'E MM/dd';
export const HOURS_MINUTES_FORMAT = 'H:mm';
export const LONG_DAY_MONTH_FORMAT = 'EEE d MMM';
export const US_DATE_FORMAT = 'MM/dd/yyyy';
export const BASIC_ISO_DATE_FORMAT = 'yyyy-MM-dd';
export const UK_DATE_FORMAT = 'dd/MM/yyyy';
export const DATE_TIME_FORMAT = 'MM/dd H:mm';

export const SECTOR_COLOR_CODES = [
  '#00a991',
  '#fbad18',
  '#d50c6a',
  '#35dc93',
  '#ef7209',
  '#863ccd',
  '#006dc7',
  '#4fb52e',
  '#30363d',
  '#ff80ce',
  '#ff2424',
];

export const GITHUB_LINK = 'https://github.com/kiwicom/margarita/';
export const DOCUMENTATION_LINK = 'https://kiwicom.github.io/margarita/';
export const CODE_KIWI_LINK = 'https://code.kiwi.com/';
export const MARGARITA_LINK = 'https://kiwicom-margarita.netlify.com/';
export const TEQUILA_LINK = 'https://tequila.kiwi.com/';
export const JOBS_LINK =
  'https://jobs.kiwi.com/?unonce=92b29d979c&uformid=285&s=uwpsfsearchtrg&taxo%5B0%5D%5Bname%5D=team&taxo%5B0%5D%5Bopt%5D=3&taxo%5B0%5D%5Bterm%5D=uwpqsftaxoall&cmf%5B0%5D%5Bmetakey%5D=wpcf-location&cmf%5B0%5D%5Bcompare%5D=1&cmf%5B0%5D%5Bvalue%5D=uwpqsfcmfall&cmf%5B1%5D%5Bmetakey%5D=wpcf-job-type&cmf%5B1%5D%5Bcompare%5D=1&skeyword=react';
export const GRAPHQL_PLAYGROUND_LINK =
  'https://p2kwd3i3a8.execute-api.eu-central-1.amazonaws.com/staging/graphql';
export const CODE_KIWI_FACEBOOK_LINK = 'https://www.facebook.com/codekiwicom';
export const CODE_KIWI_INSTAGRAM_LINK =
  'https://www.instagram.com/codekiwicom/?hl=en';
export const CODE_KIWI_TWITTER_LINK = 'https://twitter.com/codekiwicom';
export const EXPO_LINK = 'https://code.kiwi.com/'; // TOCHANGE!
export const TERMS_AND_CONDITIONS_LINK =
  'https://github.com/kiwicom/margarita/'; // TOCHANGE!
export const TERMS_OF_USE_LINK = 'https://github.com/kiwicom/margarita/'; // TOCHANGE!
export const PRIVACY_POLICY_LINK = 'https://github.com/kiwicom/margarita/'; // TOCHANGE!
export const SECURITY_LINK = 'https://github.com/kiwicom/margarita/'; // TOCHANGE!
export const KIWI_INSTAGRAM_LINK =
  'https://www.instagram.com/kiwicom247/?hl=en';
export const KIWI_TWITTER_LINK = 'https://twitter.com/kiwicom247';
export const KIWI_LINKEDIN_LINK = 'https://www.linkedin.com/company/kiwi.com';
export const KIWI_FACEBOOK_LINK = 'https://www.facebook.com/kiwicom247/';

export const NUMBER_OF_RENDERED_MONTHS_IN_DATE_PICKER = 6;
export const SEARCH_RESULTS_LIMIT = 50;

export const DEFAULT_NIGHTS_IN_DESTINATION_FROM = 3;
export const DEFAULT_NIGHTS_IN_DESTINATION_TO = 6;

export const DEFAULT_SEARCH_SORTING = 'QUALITY';

export const MAX_AGE = 110;
export const MAX_DAY_LENGTH = 2;
export const MAX_YEAR_LENGTH = 4;

// constants
export { TRIP_TYPES } from './constants/TripTypes';
export type { TripType } from './constants/TripTypes';
