"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.normalizedEmail = normalizedEmail;
exports.normalizedPhone = normalizedPhone;
function normalizedEmail(email) {
    if (email == null || typeof email !== 'string')
        return null;
    const value = email.trim().toLowerCase();
    return value === '' ? null : value;
}
function normalizedPhone(phone) {
    if (phone == null || typeof phone !== 'string')
        return null;
    const value = phone.trim().replace(/\s+/g, '');
    return value === '' ? null : value;
}
//# sourceMappingURL=normalize.util.js.map