"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isValidPhoneNumber=exports.isValidEmail=exports.PHONE_REG=exports.EMAIL_REG=void 0;var PHONE_REG=/^1\d{10}$/;exports.PHONE_REG=PHONE_REG;var EMAIL_REG=/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/;exports.EMAIL_REG=EMAIL_REG;var isValidPhoneNumber=function(r){var e=null==r?"":String(r).trim();return!!e&&PHONE_REG.test(e)};exports.isValidPhoneNumber=isValidPhoneNumber;var isValidEmail=function(r){var e=null==r?"":String(r).trim();return!!e&&EMAIL_REG.test(e)};exports.isValidEmail=isValidEmail;