\n \n \n \n {{ title }}
\n\n \n {{ mdiClose }}\n \n\n \n\n \n \n\n \n\n \n \n \n \n
\n\n\n\n\n\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BaseDialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BaseDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./BaseDialog.vue?vue&type=template&id=aa0d84e2&scoped=true\"\nimport script from \"./BaseDialog.vue?vue&type=script&lang=js\"\nexport * from \"./BaseDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./BaseDialog.vue?vue&type=style&index=0&id=aa0d84e2&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"aa0d84e2\",\n null\n \n)\n\nexport default component.exports","import authService from '@/services/auth.service';\nimport axios from 'axios';\nimport store from '@/store';\nimport { AUTHENTICATION_UPDATE_USER_INFO, SETTING_SET_LOADING } from '@/store/types/action-types';\nimport { ERROR_MSG_INTERNAL_SERVER_ERROR } from '@/constants/message.constants';\nimport { STATUS_CODE } from '@/constants/status-code.constants';\n\nlet isRefreshing = false;\nlet failedQueue = [];\n\nconst processQueue = (error, token = null) => {\n failedQueue.forEach((prom) => {\n if (error) {\n prom.reject(error);\n } else {\n prom.resolve(token);\n }\n });\n\n failedQueue = [];\n};\n\nconst axiosClient = axios.create({\n baseURL: process.env.VUE_APP_BASE_API_URL,\n headers: {\n 'Content-type': 'application/json',\n },\n});\n\naxiosClient.interceptors.request.use((request) => {\n if (!request?.ignoreLoading) {\n store.dispatch(SETTING_SET_LOADING, true);\n }\n return requestHandler(request);\n});\n\naxiosClient.interceptors.response.use(\n (response) => successHandler(response),\n (error) => errorHandler(error),\n);\n\nconst requestHandler = (request) => {\n const token = authService.getToken();\n if (token) {\n request.headers.common['Authorization'] = `Bearer ${token}`;\n }\n\n return request;\n};\n\nconst successHandler = (response) => {\n if (!response.config?.ignoreLoading) store.dispatch(SETTING_SET_LOADING, false);\n if (response.config?.responseType === 'blob') {\n return response;\n }\n return response.data;\n};\n\nconst errorHandler = (error) => {\n /*\n * When response code is 401, try to refresh the token .\n * Eject the interceptor so it doesn't loop in case\n * token refresh causes the 401 response\n */\n const originalRequest = error.config;\n if (!error.response) {\n if (!error?.config?.ignoreLoading) store.dispatch(SETTING_SET_LOADING, false);\n return Promise.reject({ message: ERROR_MSG_INTERNAL_SERVER_ERROR });\n }\n\n if (error.response.status === STATUS_CODE.unauthorized && !originalRequest._retry) {\n if (isRefreshing) {\n return new Promise((resolve, reject) => {\n failedQueue.push({ resolve, reject });\n })\n .then((token) => {\n originalRequest.headers['Authorization'] = `Bearer ${token}`;\n return axiosClient.request(originalRequest);\n })\n .catch((err) => {\n return Promise.reject(err);\n });\n }\n\n originalRequest._retry = true;\n isRefreshing = true;\n const refreshToken = authService.getRefreshToken();\n\n return new Promise((resolve, reject) => {\n authService\n .refreshToken(refreshToken)\n .then((res) => {\n const userInfo = res.result;\n const tokenRq = `Bearer ${userInfo.token}`;\n const isRemember = !!authService.getRememberMeToken();\n\n axiosClient.defaults.headers.common['Authorization'] = tokenRq;\n originalRequest.headers['Authorization'] = tokenRq;\n\n store.dispatch(AUTHENTICATION_UPDATE_USER_INFO, { userInfo, isRemember });\n\n processQueue(null, userInfo.token);\n resolve(axiosClient(originalRequest));\n })\n .catch((err) => {\n processQueue(err, null);\n reject(error.response.data);\n authService.logout();\n })\n .then(() => {\n isRefreshing = false;\n if (!error?.config?.ignoreLoading) store.dispatch(SETTING_SET_LOADING, false);\n });\n });\n }\n\n if (\n error.response.status === STATUS_CODE.notFound ||\n error.response.status === STATUS_CODE.internalServerError\n ) {\n error.response.data = {\n message: ERROR_MSG_INTERNAL_SERVER_ERROR,\n };\n }\n\n if (!error?.config?.ignoreLoading) store.dispatch(SETTING_SET_LOADING, false);\n\n return Promise.reject(error.response.data);\n};\n\nexport default axiosClient;\n","import format from 'string-format';\nimport moment from 'moment';\nimport {\n ERROR_MSG_PASS_LENGTH_MIN,\n ERROR_MSG_PASS_LENGTH_MAX,\n ERROR_MSG_REGEX_NAME,\n ERROR_MSG_NAME_LENGTH_MAX,\n ERROR_MSG_INVALID_FORMAT,\n ERROR_MSG_CONFIRM,\n ERROR_MSG_NEW_PASSWORD_MATCH_EXISTING_PASSWORD,\n ERROR_MSG_EMAIL_ADDRESSES_DO_NOT_MATCH,\n ERROR_MSG_DUPLICATE_EMAIL,\n TEXT_BOLD_CONTENT,\n} from '@/constants/message.constants';\nimport {\n PASSWORD_MIN_LENGTH,\n PASSWORD_MAX_LENGTH,\n NAME_MAX_LENGTH,\n INVALID_CHARACTER_NAME,\n} from '@/constants/common.constants';\nimport {\n DATE_FORMAT_YYYYMMDD,\n DATE_FORMAT_DDMMMMYYYY,\n DATE_FORMAT_DDMMYYYY,\n} from '@/constants/date.constants';\nimport compact from 'lodash-es/compact';\nimport join from 'lodash-es/join';\n\nexport const customMessagesPassword = () => {\n return {\n max: format(ERROR_MSG_PASS_LENGTH_MAX, PASSWORD_MAX_LENGTH),\n min: format(ERROR_MSG_PASS_LENGTH_MIN, PASSWORD_MIN_LENGTH),\n pws: format(ERROR_MSG_PASS_LENGTH_MIN, PASSWORD_MIN_LENGTH),\n confirm: ERROR_MSG_CONFIRM,\n exist: ERROR_MSG_NEW_PASSWORD_MATCH_EXISTING_PASSWORD,\n };\n};\n\nexport const customMessageName = () => {\n return {\n regex: format(ERROR_MSG_REGEX_NAME, INVALID_CHARACTER_NAME),\n max: format(ERROR_MSG_NAME_LENGTH_MAX, NAME_MAX_LENGTH),\n utf8: format(ERROR_MSG_INVALID_FORMAT, 'your name'),\n };\n};\n\nexport const customMessageEmail = (uniqMsg) => {\n return {\n confirm: ERROR_MSG_EMAIL_ADDRESSES_DO_NOT_MATCH,\n uniq: uniqMsg || ERROR_MSG_DUPLICATE_EMAIL,\n };\n};\n\nexport const generateGreetings = () => {\n var currentHour = moment().format('HH');\n\n if (currentHour >= 0 && currentHour < 12) {\n return 'Good morning';\n } else if (currentHour >= 12 && currentHour < 17) {\n return 'Good afternoon';\n } else {\n return 'Good evening';\n }\n};\n\nexport const getRemainingDays = (endDate) => {\n let days =\n moment(endDate, DATE_FORMAT_YYYYMMDD).diff(moment().format(DATE_FORMAT_YYYYMMDD), 'days') + 1;\n days = days < 1 ? 0 : days;\n\n return days;\n};\n\nexport const getPolicyProgress = (startDate, endDate) => {\n const totalDays = moment(endDate, DATE_FORMAT_YYYYMMDD).diff(startDate, 'days');\n const days = moment(new Date(), DATE_FORMAT_YYYYMMDD).diff(startDate, 'days');\n\n return (days / totalDays) * 100;\n};\n\nexport const updateHelpshiftConfig = (user) => {\n window.helpshiftConfig.userId = user ? user.userId : null;\n window.helpshiftConfig.userName = user ? `${user.firstName + ' ' + user.lastName}` : null;\n window.Helpshift('updateHelpshiftConfig');\n};\n\nexport const togglePageScrollbar = (isOpen) => {\n document.getElementsByTagName('html')[0].classList.toggle('hide-scroll', isOpen);\n};\n\nexport const getInsuredAddress = (insuredAddress) => {\n if (insuredAddress && insuredAddress.Included) {\n let address = [];\n if (insuredAddress && insuredAddress.Lines.length > 0) {\n address = compact([...insuredAddress.Lines, insuredAddress.Postcode]);\n }\n\n return join(address, ', ');\n }\n return null;\n};\n\nexport const getNumberWithOrdinal = (n) => {\n const s = ['th', 'st', 'nd', 'rd'],\n v = n % 100;\n\n return n + (s[(v - 20) % 10] || s[v] || s[0]);\n};\n\nexport const getFileNameWithExtension = (type, name) => {\n switch (type) {\n case 'application/pdf':\n return `${name}.pdf`;\n case 'text/plain':\n return `${name}.txt`;\n case 'application/vnd.openxmlformats-officedocument.wordprocessingml.document':\n return `${name}.docx`;\n case 'application/msword':\n return `${name}.doc`;\n default:\n return `${name}.txt`;\n }\n};\n\nexport const formatConfirmPaymentMessage = (message) => {\n const months = [\n 'January',\n 'February',\n 'March',\n 'April',\n 'May',\n 'June',\n 'July',\n 'August',\n 'September',\n 'October',\n 'November',\n 'December',\n ];\n const ddDate = ['1st', '7th', '14th', '21st', '24th'];\n message = message.replace(/\\n|\\r/g, ' ');\n let words = message.split(' ');\n let result = '';\n for (let i = 0; i < words.length; i++) {\n // Bold currency and DD date\n if (words[i].includes('£') || ddDate.includes(words[i])) {\n result += format(TEXT_BOLD_CONTENT, words[i]);\n }\n // break lines after : character\n else if (words[i].includes(':')) {\n result += words[i] + ``;\n }\n // Bold date time, example: 1 August 2022\n else if (months.includes(words[i + 1])) {\n const fullDate = format(\n TEXT_BOLD_CONTENT,\n words[i] + ' ' + words[i + 1] + ' ' + words[i + 2],\n );\n result += fullDate + ' ';\n i = i + 2;\n }\n // Bold date time, example: 1/1/2022\n else if (words[i].includes('/')) {\n const date = moment(words[i], DATE_FORMAT_DDMMYYYY);\n if (date.isValid()) {\n words[i] = date.format(DATE_FORMAT_DDMMMMYYYY);\n result += format(TEXT_BOLD_CONTENT, words[i]);\n }\n } else {\n result += words[i] + ' ';\n }\n }\n // Bold the rest of sentence, example: £20.5 on each consecutive month or 1st of each consecutive month\n const restString = ['on each consecutive month', 'of each consecutive month.'];\n for (const item of restString) {\n if (result.includes(item)) {\n result = result.replace(item, format(TEXT_BOLD_CONTENT, item));\n }\n }\n\n return result;\n};\n\nexport const adobeTargetTriggerView = (path) => {\n let viewName = path === '/' || !path ? 'home' : path;\n\n // Sanitize viewName to get rid of any trailing symbols derived from URL\n if (viewName.startsWith('#') || viewName.startsWith('/')) {\n viewName = viewName.substr(1);\n }\n\n if (\n typeof window.adobe != 'undefined' &&\n window.adobe.target &&\n typeof window.adobe.target.triggerView === 'function'\n ) {\n window.adobe.target.triggerView(viewName);\n }\n};\n","export const API_URL_LOGIN = 'api/user/authenticate';\nexport const API_URL_REGISTER = 'api/user/register';\nexport const API_URL_ACTIVE_ACCOUNT = 'api/user/active-account';\nexport const API_URL_REFRESH_TOKEN = 'api/user/refresh-token';\nexport const API_URL_FORGOT_PASSWORD = 'api/user/forgot-password';\nexport const API_URL_RESET_PASSWORD = 'api/user/reset-password';\nexport const API_URL_CHANGE_PASSWORD = 'api/user/change-password';\nexport const API_URL_CHANGE_EMAIL = 'api/user/change-email';\nexport const API_URL_VERIFY_EMAIL = 'api/user/verify-email';\nexport const API_URL_CHANGE_NAME = 'api/user/change-name';\nexport const API_URL_GET_CURRENT_USER = 'api/User/current-user';\nexport const API_URL_ADD_POLICY = 'api/policy/add';\nexport const API_URL_GET_POLICIES = 'api/policies';\nexport const API_URL_GET_POLICY_BY_ID = 'api/policy';\nexport const API_URL_POLICY_RENEWAL = 'api/policy/renewal';\nexport const API_URL_POLICY_ACCEPT_RENEWAL = 'api/policy/accept-renewal';\nexport const API_URL_PAYMENT_UPDATE_SELF_SERVE = 'api/policy/payment-success';\nexport const API_URL_VALIDATE_TOKEN = 'api/user/validate-token';\nexport const API_URL_CHECK_EMAIL = 'api/user/check-email';\nexport const API_URL_USER_RESEND_EMAIL = 'api/user/resend-email';\nexport const API_URL_COMPLETE_REGISTRATION = 'api/user/complete-registration';\nexport const API_URL_DOWNLOAD_DOCUMENT = 'api/PolicyDocument';\nexport const API_URL_DOWNLOAD_PULL = 'api/PolicyDocument/pull';\nexport const API_URL_DOWNLOAD_RP_POLICIES = 'api/policies/RPCSV';\nexport const API_URL_GET_LETTING_AGENT_RP_POLICIES = 'api/policies/letting-agent';\nexport const API_URL_BUSINESS_TIMES = 'api/BusinessTime/business-times';\nexport const API_URL_UPDATE_DELIVERY_PREFERENCES = 'api/PolicyDocument/change-preferences';\nexport const API_URL_GET_POLICY_BY_CUSTOMER_EMAIL = 'api/Adviser/policy';\nexport const API_URL_GET_USER_BY_CUSTOMER_EMAIL = 'api/Adviser/user';\nexport const API_URL_ADVISER_GET_RESEND_EMAIL = 'api/sentcommunications';\nexport const API_URL_ADVISER_RESEND_EMAIL = 'api/sentcommunications/re-sent';\nexport const API_URL_CHANGE_PAYMENT_DETAILS = 'api/policy/payment';\nexport const API_URL_CONFIRM_PAYMENT = 'api/policy/confirm-payment';\nexport const API_URL_CHANGE_EMAIL_BY_ADVISER = 'api/adviser/user/change-email';\n","export const NAME_MIN_LENGTH = '12';\nexport const PASSWORD_MIN_LENGTH = '12';\nexport const PASSWORD_MAX_LENGTH = '128';\nexport const NAME_MAX_LENGTH = '100';\nexport const REFRESH_TOKEN_EXPIRES = '7d';\nexport const INVALID_CHARACTER_NAME = `\\\\/<>{}[]@#`;\nexport const MAX_AGE = 110;\nexport const MIN_AGE = 18;\nexport const DOCUMENT_PRODUCTION_DATE_LIMITATION = 180;\nexport const XS_SCREEN = 376;\nexport const IDLE_TIME = 1800000; // 30 mins\n\nexport const PS_DEFAULT_OPTIONS = {\n suppressScrollX: true,\n};\n\nexport const PS_TABLE_OPTIONS = {\n suppressScrollY: true,\n};\n\nexport const MESSAGE_TYPE = {\n success: 'success',\n error: 'error',\n};\n\nexport const MESSAGE_DISPLAY_TYPE = {\n text: 'text',\n alert: 'alert',\n};\n\nexport const PASSWORD_STRENGTH = {\n RED: 'red',\n ORANGE: 'orange',\n GREEN: 'green',\n};\n\nexport const PASSWORD_STRENGTH_TEXT = {\n WEAK: 'Weak',\n MEDIUM: 'Medium',\n STRONG: 'Strong',\n};\n\nexport const INPUT_TYPE = {\n TEXT: 'text',\n PASSWORD: 'password',\n NUMBER: 'number',\n};\n\nexport const BUTTON_TYPE = {\n SUBMIT: 'submit',\n};\n\nexport const PAYMENT_FREQUENCY = {\n MONTHLY: 'Monthly',\n ANNUAL: 'Annual',\n};\n\nexport const PAYMENT_TYPE = {\n DIRECT_DEBIT: 'DirectDebit',\n BANK_TRANSFER: 'BankTransfer',\n DEBIT_CARD: 'DebitCard',\n CREDIT_CARD: 'CreditCard',\n};\n\nexport const SELF_SERVE_KEY = {\n RENEWAL_ACCEPTED: 'RenewalAccepted',\n RENEWAL_PAID: 'RenewalPaid',\n DOCUMENT_DELIVERY_PREFERENCE: 'DocumentDeliveryPreference',\n MASKED_SORT_CODE: 'MaskedSortCode',\n MASKED_ACCOUNT_NUMBER: 'MaskedAccountNumber',\n DIRECT_DEBIT_COLLECTION_DAY: 'DirectDebitCollectionDay',\n ACCOUNT_NAME: 'AccountName',\n};\n\nexport const TOKEN_PURPOSE = {\n RESET_PASSWORD: 'ResetPassword',\n EMAIL_CONFIRMATION: 'EmailConfirmation',\n COMPLETE_REGISTRATION: 'CompleteRegistration',\n};\n\nexport const INSURER_TYPE = {\n AGEAS: 'ageas',\n ALLIANZ: 'allianz',\n ARC: 'arc',\n AVIVA: 'aviva',\n AXA: 'axa',\n GEO: 'geo',\n LEGAL: 'lg',\n LV_BROKER: 'lv',\n PRESTIGE: 'prestige',\n PROPERTY_GUARD: 'propertyguard',\n UK: 'rsa',\n RSA: 'ukg',\n ZURICH: 'zurich',\n};\n\nexport const VENDOR_SYSTEM_KEY = {\n PAYMENTSHIELD: 'PAYMENTSHIELD',\n};\n\nexport const POLICY_ITEMS_TYPE = {\n POLICY_DETAILS: 'PolicyDetails',\n PERSONAL_DETAILS: 'PersonalDetails',\n PAYMENT_DETAILS: 'PaymentDetails',\n};\n\nexport const PRODUCT_CODE_ORDER = {\n ClassicHome: 1,\n PanelHome: 1,\n Panel2Home: 1,\n ClassicLandlords: 2,\n PanelLandlords: 2,\n Panel2Landlords: 2,\n TenantsContents: 3,\n TenantsContentsMonthly: 3,\n TenantsLiability: 4,\n RentProtection: 5,\n MPPI: 6,\n STIP: 7,\n};\n\nexport const PRODUCT_CODES = {\n ClassicHome: 'ClassicHome',\n PanelHome: 'PanelHome',\n Panel2Home: 'Panel2Home',\n ClassicLandlords: 'ClassicLandlords',\n PanelLandlords: 'PanelLandlords',\n Panel2Landlords: 'Panel2Landlords',\n TenantsContents: 'TenantsContents',\n TenantsContentsMonthly: 'TenantsContentsMonthly',\n TenantsLiability: 'TenantsLiability',\n RentProtection: 'RentProtection',\n MPPI: 'MPPI',\n STIP: 'STIP',\n};\n\nexport const INSURED_PARTY = {\n LettingAgent: 'LettingAgent',\n PrivateLandlord: 'PrivateLandlord',\n};\n\nexport const POLICY_STATUS = {\n ACTIVE: 'ACTIVE',\n CANCELLED: 'CANCELLED',\n};\n\nexport const COVER_COMPONENTS = {\n Buildings: 'BCCover',\n Contents: 'BCCover',\n Mortgage: 'PersonalCover',\n Income: 'PersonalCover',\n TenantsLiability: 'TLICover',\n RentProtection: 'RPCover',\n};\n\nexport const COVER_DISPLAY_TYPES = {\n DETAILS: 'DETAILS',\n OVERVIEW: 'OVERVIEW',\n SUMMARY: 'SUMMARY',\n};\n\nexport const ADD_ONS_CODE = {\n LEGAL_EXPENSE: 'le',\n HOME_EMERGENCY: 'he',\n};\n\nexport const DIALOG_TYPE = {\n TERMS_AND_CONDITIONS: 'TermsAndConditions',\n FAIR_PROCESSING_NOTICE: 'FairProcessingNotice',\n ACCESSIBILITY: 'ACCESSIBILITY',\n MODERN_SLAVERY_ACT: 'ModernSlaveryAct',\n COOKIES: 'COOKIES',\n};\n\nexport const EMAIL_PURPOSE = {\n ChangeEmail: 'ChangeEmail',\n RegisterAccount: 'RegisterAccount',\n Login: 'Login',\n};\n\nexport const ACCOUNT_TYPE = {\n CustomerPortal: 'CustomerPortal',\n CustomerHub: 'CustomerHub',\n NewBusiness: 'NewBusiness',\n};\n\nexport const USER_TYPE = {\n ADVISER: 'ADVISER',\n POLICYHOLDER: 'POLICYHOLDER',\n};\n\nexport const REDIRECT_TO_HOME_WITH_LOGGED_USER_PAGES = [\n 'Login',\n 'ForgotPassword',\n 'ActiveAccount',\n 'CreateNewPassword',\n 'ChangeEmailVerify',\n 'PortalRegister',\n];\n\nexport const COMPANY_NAME = 'CompanyName';\n\nexport const DEFAULT_PAGING_SETTING = {\n PageSize: 5,\n};\n\nexport const RP_POLICY_PAGING_SETTING = {\n PageSize: 15,\n};\n\nexport const DOCUMENT_DELIVERY_PREFERENCE_TYPE = {\n Online: 'Online',\n Post: 'Posted',\n};\n\nexport const PAYMENT_STATUS = {\n Failure: 'failure',\n Cancel: 'cancel',\n};\n\nexport const COMMUNICATION_TYPE_KEY = {\n Forgot_Password: 'Forgotten password',\n Confirm_Email: 'Verify email address',\n Email_Confirmed: 'Email verified successfully',\n Verify_NewEmail: 'Confirm email change',\n Notification_EmailUpdated: 'Email changed',\n Change_Password: 'Password changed',\n Remove_Account: 'Account removed',\n Complete_Registration: 'Complete Registration',\n Policy_Renewal: 'Policy renewal',\n Policy_No_Quote_Renewal: 'No quote at renewal',\n Policy_Cancellation: 'Policy cancellation',\n Policy_Arrears: 'Policy arrears',\n Policy_Letter_Mta: 'Policy MTA letter',\n Policy_AnnualReview: 'Policy renewal',\n Policy_Renewal_Reminder: 'Renewal reminder',\n Policy_No_Quote_Rnl_Reminder: 'No quote at renewal reminder',\n New_Business_Register: 'New registration',\n Existing_User_NewPolicy: 'New policy (existing user)',\n};\n\nexport const EMAIL_STATUS = {\n Sent: 'Sent',\n Delivery: 'Delivered',\n Open: 'Opened',\n Bounce: 'Bounced',\n};\n\nexport const PREFERRED_PAYMENT_DATE = [\n { value: 1, name: '1st of the month' },\n { value: 7, name: '7th of the month' },\n { value: 14, name: '14th of the month' },\n { value: 21, name: '21st of the month' },\n { value: 24, name: '24th of the month' },\n];\n\nexport const UPDATE_PAYMENT_STATUS = {\n Confirm: 'Confirm',\n OK: 'OK',\n};\n\nexport const HIDE_NCD_POLICY_BOOKLET_REF = ['RSA/PS/004'];\n\nexport const PAYMENT_TERMS = {\n MONTHLY: 'MONTHLY',\n FULL: 'FULL',\n};\n","export const AMOUNT_INSURED_FORMAT = '0,0';\nexport const AMOUNT_DEFAULT_FORMAT = '0,0.00';\n","export const DATE_FORMAT_DDMMYYYY = 'DD/MM/YYYY';\nexport const DATE_FORMAT_MMDDYYYY = 'MM-DD-YYYY';\nexport const DATE_FORMAT_YYYYMMDD = 'YYYY-MM-DD';\nexport const DATE_FORMAT_YYYY = 'YYY';\nexport const DATE_FORMAT_MM = 'MM';\nexport const DATE_FORMAT_DD = 'DD';\nexport const DATE_FORMAT_DDMMMMYYYY = 'DD MMMM YYYY';\nexport const DATE_FORMAT_DDMMMYYYY = 'DD MMM YYYY';\nexport const DATE_FORMAT_DDMMMMYY = 'DD MMMM YY';\nexport const DATE_FORMAT_DDMMMYY = 'DD MMM YY';\nexport const DATE_FORMAT_DOMMMMYYYY = 'Do MMMM YYYY';\nexport const DATE_FORMAT_DO = 'Do';\nexport const DATE_TIME_FORMAT_DDMMYYYY = 'DD/MM/YYYY [at] HH:mm';\nexport const DATE_TIME_FORMAT_DDMMYY = 'DD/MM/YY [at] HH:mm';\n","export const FAQS_LINK = 'https://paymentshield.helpshift.com/hc/en/';\nexport const TWITTER_LINK = 'http://twitter.com/paymentshield';\nexport const COOKIES_LINK = 'https://www.paymentshield.co.uk/cookie-policy';\n","export const USER_INFO = 'user_info';\nexport const TOKEN = 'token';\nexport const REFRESH_TOKEN = 'refresh_token';\nexport const REMEMBER_ME_TOKEN = 'remember_me_token';\nexport const POLICY_REF = 'policy_ref';\nexport const CURRENT_SEARCHED_USER = 'current_searched_user';\n","/* eslint-disable prettier/prettier */\nexport const ERROR_MSG_REQUIRED = '{0} is required.';\nexport const ERROR_MSG_EMAIL_FORMAT = 'Please check the format of your email address and try again.';\nexport const ERROR_MSG_CONFIRM = 'Confirm password does not match.';\nexport const ERROR_MSG_PASS_LENGTH_MIN = 'Please create a strong password, which is at least {0} characters long';\nexport const ERROR_MSG_PASS_LENGTH_MAX = 'Sorry, your password cannot be longer than {0} characters.';\nexport const ERROR_MSG_NEW_PASSWORD_MATCH_EXISTING_PASSWORD = 'Your new password must be different to your existing password.';\nexport const ERROR_MSG_EMAIL_ADDRESSES_DO_NOT_MATCH = 'Email addresses do not match.';\nexport const ERROR_MSG_REGEX_NAME = `Sorry, we can’t store a name containing the characters {0}, please replace them with a space or an alternative.`;\nexport const ERROR_MSG_NAME_LENGTH_MAX = `Sorry, we can’t store a name longer than {0} characters.`;\nexport const ERROR_MSG_UTF8 = `Sorry, your {0} contains some invalid characters.`;\nexport const ERROR_MSG_DOB = `Sorry, we can’t create an account for you, if you’re not between 18 and 110 years old.`;\nexport const ERROR_MSG_INVALID_FORMAT = `Sorry,