"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.your_preins_apprvd = exports.thank_you = exports.super_thank_you = exports.preinsp_com_will_update = exports.isPI = exports.WEB_REQUEST = exports.VIDEO_URL = exports.VIDEO_TITLE = exports.SELFI_IMAGE = exports.SCREEN_WIDTH = exports.SCREEN_HEIGHT = exports.RC_BOOK = exports.PRIVATE_CAR_20103 = exports.PRIVATE_CAR_20102 = exports.PRIVATE_CAR_20101 = exports.POLICE_FIR = exports.PAN_CARD = exports.ODOMETER = exports.INTERNAL_DAMAGE = exports.EXTERNAL_DAMAGE = exports.DRIVING_LICENSE = exports.DIRECT_PORTAL_AGENTCODE = exports.CUMMERCIAL_20302 = exports.CUMMERCIAL_20301 = exports.CNG = exports.BIKE_20202 = exports.BIKE_20201 = exports.ANDROID_REQUEST = exports.AADHAR_CARD = void 0;

var _reactNative = require("react-native");

//Imports
//Constants
const SCREEN_WIDTH = Math.round(_reactNative.Dimensions.get('window').width);
exports.SCREEN_WIDTH = SCREEN_WIDTH;
const SCREEN_HEIGHT = Math.round(_reactNative.Dimensions.get('window').height);
exports.SCREEN_HEIGHT = SCREEN_HEIGHT;
const PRIVATE_CAR_20101 = 20101;
exports.PRIVATE_CAR_20101 = PRIVATE_CAR_20101;
const PRIVATE_CAR_20102 = 20102;
exports.PRIVATE_CAR_20102 = PRIVATE_CAR_20102;
const PRIVATE_CAR_20103 = 20103;
exports.PRIVATE_CAR_20103 = PRIVATE_CAR_20103;
const BIKE_20201 = 20201;
exports.BIKE_20201 = BIKE_20201;
const BIKE_20202 = 20202;
exports.BIKE_20202 = BIKE_20202;
const CUMMERCIAL_20301 = 20301;
exports.CUMMERCIAL_20301 = CUMMERCIAL_20301;
const CUMMERCIAL_20302 = 20302;
exports.CUMMERCIAL_20302 = CUMMERCIAL_20302;
const EXTERNAL_DAMAGE = "External Damage";
exports.EXTERNAL_DAMAGE = EXTERNAL_DAMAGE;
const INTERNAL_DAMAGE = "Internal Damage";
exports.INTERNAL_DAMAGE = INTERNAL_DAMAGE;
const RC_BOOK = "RC Book";
exports.RC_BOOK = RC_BOOK;
const DRIVING_LICENSE = "Driving License";
exports.DRIVING_LICENSE = DRIVING_LICENSE;
const POLICE_FIR = "Police FIR";
exports.POLICE_FIR = POLICE_FIR;
const AADHAR_CARD = "Aadhar Card";
exports.AADHAR_CARD = AADHAR_CARD;
const PAN_CARD = "PAN Card";
exports.PAN_CARD = PAN_CARD;
const CNG = "CNG Kit";
exports.CNG = CNG;
const WEB_REQUEST = "isWebRequest";
exports.WEB_REQUEST = WEB_REQUEST;
const ANDROID_REQUEST = "isAndroidRequest";
exports.ANDROID_REQUEST = ANDROID_REQUEST;
const super_thank_you = "Super, thank you!";
exports.super_thank_you = super_thank_you;
const your_preins_apprvd = "Your pre-inspection is completed and the quote has been instantly approved.";
exports.your_preins_apprvd = your_preins_apprvd;
const thank_you = "Thank you!";
exports.thank_you = thank_you;
const preinsp_com_will_update = "The pre-inspection process is completed. We will update you soon with further details.";
exports.preinsp_com_will_update = preinsp_com_will_update;
const DIRECT_PORTAL_AGENTCODE = "1000651";
exports.DIRECT_PORTAL_AGENTCODE = DIRECT_PORTAL_AGENTCODE;
const VIDEO_TITLE = "Take a 360° video";
exports.VIDEO_TITLE = VIDEO_TITLE;
const VIDEO_URL = "https://d2h44aw7l5xdvz.cloudfront.net/videos/self-inspection-for-car.mp4";
exports.VIDEO_URL = VIDEO_URL;
const SELFI_IMAGE = "First click a selfie with your vehicle";
exports.SELFI_IMAGE = SELFI_IMAGE;
const ODOMETER = "Enter the vehicle, turn it on and take images of your odometer"; // ActivityTypeIDs

exports.ODOMETER = ODOMETER;
const ACTIVITY_TYPE_MOTOR_PRE_INSPECTION_SELF_SURVEY = 5;
const ACTIVITY_TYPE_MOTOR_2W_PRE_INSPECTION_SELF_SURVEY = 26;
const ACTIVITY_TYPE_MOTOR_CVOD_PRE_INSPECTION_SELF_SURVEY = 30;
const ACTIVITY_TYPE_MOTOR_4W_OD_NB_PRE_INSPECTION_SELF_SURVEY = 63;
/**
 * 
 * @param {*} activityTypeID 
 */

const isPI = activityTypeID => {
  if (activityTypeID > 0) return false;else if (activityTypeID === ACTIVITY_TYPE_MOTOR_PRE_INSPECTION_SELF_SURVEY || activityTypeID === ACTIVITY_TYPE_MOTOR_2W_PRE_INSPECTION_SELF_SURVEY || activityTypeID === ACTIVITY_TYPE_MOTOR_CVOD_PRE_INSPECTION_SELF_SURVEY || activityTypeID === ACTIVITY_TYPE_MOTOR_4W_OD_NB_PRE_INSPECTION_SELF_SURVEY) return true;else return false;
};

exports.isPI = isPI;
//# sourceMappingURL=Constants.js.map