"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.VARIANT_STORAGE_KEY = exports.VARIANT = exports.VALIDATE_ERROR = exports.TYPE_COMMISSION = exports.TYPE = exports.TRACKING = exports.TAX_DEFAULT = exports.TAXES_TYPE = exports.TAXES = exports.SYNAPSE_COMMISSION_CODE = exports.SENATOR_CLUB_TOKEN = exports.SARAI_SOURCE = exports.REDIRECT_PATH = exports.PERFORMANCE = exports.MIN_STAY_TYPE = exports.FINDER_STORAGE_KEY = exports.EXPERIMENT_ID = exports.EVENT = exports.ERROR = exports.COOKIE = exports.COMPONENTS = exports.CALENDAR_FORMAT = exports.AUTH_TYPE = exports.ACCOMMODATION_TYPE = void 0;
const ACCOMMODATION_TYPE = exports.ACCOMMODATION_TYPE = {
  DEFAULT: 0,
  ROOM: 1,
  APARTMENT: 2,
  PITCH: 3,
  ACCOMMODATION: 4,
  VILLA: 5
};
const AUTH_TYPE = exports.AUTH_TYPE = {
  MIRAI: 1,
  PESTANA: 3,
  SENATOR: 2
};
const CALENDAR_FORMAT = exports.CALENDAR_FORMAT = 'DD/MM/YYYY';
const COMPONENTS = exports.COMPONENTS = {
  RATES: 'rates',
  CHECKOUT: 'checkout',
  BOOKING: 'booking'
};
const COOKIE = exports.COOKIE = {
  CART: 'CART_COOKIE',
  PESTANA: 'pestana-login-token',
  VALUES: 'BOOKING_VALUES'
};
const ERROR = exports.ERROR = {
  NOT_AVAILABLE: 4,
  PARAMETER_ERROR: 3,
  UNKNOWN: 1
};
const EXPERIMENT_ID = exports.EXPERIMENT_ID = '001_rates_book_and_join_modal';
const EVENT = exports.EVENT = {
  CORE_READY: 'core:ready',
  CORE_EVENTS_READY: 'core:events:ready'
};
const TYPE = exports.TYPE = {
  CHAIN: 'chain',
  HOTEL: 'hotel',
  GUEST: 1,
  ADULT: 2,
  CHILD: 3
};
const TYPE_COMMISSION = exports.TYPE_COMMISSION = {
  [TYPE.HOTEL]: '02040',
  [TYPE.CHAIN]: '02080'
};
const FINDER_STORAGE_KEY = exports.FINDER_STORAGE_KEY = 'MIRAI:FINDER';
const VARIANT_STORAGE_KEY = exports.VARIANT_STORAGE_KEY = "MIRAI:EXPERIMENT:".concat(EXPERIMENT_ID, ":variant");
const MIN_STAY_TYPE = exports.MIN_STAY_TYPE = {
  CHECK_IN: 1,
  STAY: 2
};
const PERFORMANCE = exports.PERFORMANCE = {
  ANALYTICS: 1,
  GOOGLE_ADS: 2,
  GTM: 3,
  MIRAI: 4,
  FACEBOOK: 5,
  THE_HOTEL_NETWORK: 6,
  AFFILIRED: 7,
  BING: 8,
  COMPARE: 9
};
const REDIRECT_PATH = exports.REDIRECT_PATH = 'miraiFrontDispatcher.htm';
const SARAI_SOURCE = exports.SARAI_SOURCE = 'sarai';
const SENATOR_CLUB_TOKEN = exports.SENATOR_CLUB_TOKEN = 'apiData';
const SYNAPSE_COMMISSION_CODE = exports.SYNAPSE_COMMISSION_CODE = '07060';
const TAX_DEFAULT = exports.TAX_DEFAULT = 1;
const TAX_FREE = 2;
const TAX_PARTIAL = 3;
const TAXES = exports.TAXES = [TAX_DEFAULT, TAX_FREE, TAX_PARTIAL];
const TAXES_TYPE = exports.TAXES_TYPE = {
  ALL_EXCLUDED: 1,
  ALL_INCLUDED: 2,
  FEES_INCLUDED: 3,
  FEES_EXCLUDED: 4,
  FEES_INCLUDED_TAXES_EXCLUDED: 5,
  TAXES_INCLUDED: 6,
  TAXES_EXCLUDED: 7,
  TAXES_INCLUDED_FEES_EXCLUDED: 8
};
const TRACKING = exports.TRACKING = {
  adwordsTracking: PERFORMANCE.GOOGLE_ADS,
  affiliredTracking: PERFORMANCE.AFFILIRED,
  analyticsTracking: PERFORMANCE.ANALYTICS,
  bingTracking: PERFORMANCE.BING,
  compareTracking: PERFORMANCE.COMPARE,
  facebookTracking: PERFORMANCE.FACEBOOK,
  gtmTracking: PERFORMANCE.GTM,
  miraiTracking: PERFORMANCE.MIRAI,
  thnTracking: PERFORMANCE.THE_HOTEL_NETWORK
};
const VALIDATE_ERROR = exports.VALIDATE_ERROR = {
  PRICE_CHANGED: 1,
  NOT_ENOUGH_ROOMS: 2,
  NOT_ENOUGH_ROOMS_FOR_OFFER: 3,
  NO_SELECTED_ROOMS: 4,
  EXTRA_CHANGED: 5,
  URL_GENERIC: 6
};
const VARIANT = exports.VARIANT = {
  A: 'A',
  B: 'B'
};
//# sourceMappingURL=Core.constants.js.map