/* Metro module 8993; source: modules/phone/PhoneOrEmailUtils.tsx; dependencies: [2] */ function _fun70042(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#70042, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9178:6, offset: 0x01cec068, size: 152 bytes, params: 8, frame: 17 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_1 = RegExp('^[-() \\d]+$', ''); (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/phone/PhoneOrEmailUtils.tsx'); exports.PhoneOrEmailSelectorForceMode = {PHONE: 'phone', EMAIL: 'email'}; exports.shouldShowCountryCodeSelector = shouldShowCountryCodeSelector; exports.getPhoneOrEmail = getPhoneOrEmail; } function shouldShowCountryCodeSelector(a0, a1) { // fn#70043, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9178:307, offset: 0x01cec100, size: 99 bytes, params: 3, frame: 13 const PHONE = env0_0.PHONE; return a0 === PHONE ? !a1.startsWith('+') : a0 !== env0_0.EMAIL && (!(a1.length < 3) && env0_1.test(a1)); } function getPhoneOrEmail(a0) { // fn#70044, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9178:448, offset: 0x01cec163, size: 53 bytes, params: 2, frame: 11 const value = RegExp('^\\+\\d', '').test(a0); const binding = env0_0; return value ? binding.PHONE : binding.EMAIL; }