"use strict";function isBlank(i){return""===i}function isValidValue(i,e){return isBlank(e)||i(e)}function isValidField(i,e){return isBlank(e.value)||i(e.value)}function isValidName(i){return/^[a-zA-Z][a-zA-Z '-]*$/.test(i)}function isValidFullNameField(i){return isValidName(i.first.value)&&(isBlank(i.middle.value)||isValidName(i.middle.value))&&isValidName(i.last.value)}function isValidMonetaryValue(i){return null===i||/^\d+\.?\d*$/.test(i)}function isValidPhone(i){var e=i.replace(/[^\d]/g,"");return/^\d{10}$/.test(e)}function isValidEmail(i){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(i)}function isValidRoutingNumber(i){if(/^\d{9}$/.test(i)){var e=i.split("").map(function(i){return parseInt(i,10)});return(3*(e[0]+e[3]+e[6])+7*(e[1]+e[4]+e[7])+(e[2]+e[5]+e[8]))%10==0}return!1}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isBlank=isBlank,exports.isValidEmail=isValidEmail,exports.isValidField=isValidField,exports.isValidFullNameField=isValidFullNameField,exports.isValidMonetaryValue=isValidMonetaryValue,exports.isValidName=isValidName,exports.isValidPhone=isValidPhone,exports.isValidRoutingNumber=isValidRoutingNumber,exports.isValidValue=isValidValue;