'use strict';

const PHONE_MASKS = {
    US: '(000) 000-0000',
};
// Identity number masks by country
// Supports both long and short country codes for robustness during rollout
const IDENTITY_MASKS = {
    USA: '000-00-0000',
    US: '000-00-0000',
    CAN: '000-000-000',
    CA: '000-000-000',
};
const CURRENCY_MASK = {
    WHOLE: {
        mask: Number,
        thousandsSeparator: ',',
        normalizeZeros: true,
    },
    DECIMAL: {
        mask: Number,
        scale: 2,
        thousandsSeparator: ',',
        padFractionalZeros: true,
        normalizeZeros: true,
        radix: '.',
    }
};

exports.CURRENCY_MASK = CURRENCY_MASK;
exports.IDENTITY_MASKS = IDENTITY_MASKS;
exports.PHONE_MASKS = PHONE_MASKS;
