Files
2026-07-28 01:06:53 +03:00

601 lines
40 KiB
TypeScript

/* Metro module 15848; source: modules/verification/native/components/VerificationModal.tsx; dependencies: [5, 31, 27, 15849, 1373, 1878, 661, 33, 4501, 1305, 15850, 1244, 4578, 480, 5282, 5277, 9139, 6802, 5076, 15854, 8960, 8965, 8962, 9007, 9015, 9016, 8961, 15855, 9024, 9010, 566, 4080, 4015, 5280, 2] */
import Module00005 from '../../../../by-id/module-00005.js'; /* Metro dependency 5 */
import UserRequiredActionStore from '../../../../stores/UserRequiredActionStore.tsx'; /* Metro dependency 1373 */
import UserStore from '../../../../stores/UserStore.tsx'; /* Metro dependency 1878 */
import ActionSheetActionCreators from '../../../action_sheet/native/ActionSheetActionCreators.tsx'; /* Metro dependency 4080 */
import AuthenticationActionCreators from '../../../../actions/AuthenticationActionCreators.tsx'; /* Metro dependency 5076 */
import ResendEmail from './ResendEmail.tsx'; /* Metro dependency 8960 */
import ConfirmEmailChangeStart from './ConfirmEmailChangeStart.tsx'; /* Metro dependency 8962 */
import ConfirmEmailChangeCode from './ConfirmEmailChangeCode.tsx'; /* Metro dependency 8965 */
import EnterEmail from './EnterEmail.tsx'; /* Metro dependency 9007 */
import UserSettingsConfirmPassword from '../../../user_settings/account/native/UserSettingsConfirmPassword.tsx'; /* Metro dependency 9010 */
import AddPhone from './AddPhone.tsx'; /* Metro dependency 9015 */
import VerifyPhone2 from './VerifyPhone.tsx'; /* Metro dependency 9024 */
import Module09139 from '../../../../by-id/module-09139.js'; /* Metro dependency 9139 */
import PhoneVerificationStore from '../../../../stores/PhoneVerificationStore.tsx'; /* Metro dependency 15849 */
import Overview from './Overview.tsx'; /* Metro dependency 15854 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as AnalyticsUtilsModule from '../../../../external/discord_common/js/packages/analytics-utils/AnalyticsUtils.tsx'; /* Metro dependency 480 */
import * as ConstantsModule from '../../../../Constants.tsx'; /* Metro dependency 661 */
import * as IndexNativeModule from '../../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as NativeModule from '../../../../design/void/native.tsx'; /* Metro dependency 1305 */
import * as ChatInputUtilsModule from '../../../../utils/native/ChatInputUtils.tsx'; /* Metro dependency 4015 */
import * as CreateStylesModule from '../../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
import * as ButtonNativeModule from '../../../../design/components/Button/native/Button.native.tsx'; /* Metro dependency 4578 */
import * as HeaderActionButtonNativeModule from '../../../../design/components/Navigator/native/HeaderActionButton.native.tsx'; /* Metro dependency 5277 */
import * as NavigatorNativeModule from '../../../../design/components/Navigator/native/Navigator.native.tsx'; /* Metro dependency 5280 */
import * as PhoneActionCreatorsModule from '../../../phone/PhoneActionCreators.tsx'; /* Metro dependency 9016 */
import * as VerifyPhoneModule from '../../../../design/components/Illustration/native/redesign/generated/VerifyPhone.tsx'; /* Metro dependency 15850 */
function _fun121874(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#121874, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:6, offset: 0x025533c5, size: 317 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_12 = (CreateStylesModule).createStyles({button: {'position': 'absolute',
'right': 32, 'bottom': 32, 'left': 32}});
(FileImportTrackerModule).fileFinishedImporting('modules/verification/native/components/VerificationModal.tsx');
exports.default = VerificationModal;
function PhoneThenEmailInterstitial({navigation}) { // fn#121875, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:321, offset: 0x02553502, size: 318 bytes, params: 2, frame: 25
const styles = useStyles();
const EmptyState = (NativeModule).EmptyState;
const object = {};
const VerifyPhone = (VerifyPhoneModule).VerifyPhone;
object.Illustration = VerifyPhone;
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
let string = intl.string;
const KLnLIP = (require(1244) /* metro dependency 1244: indexNative */).t.KLnLIP;
object.title = Reflect.apply(string, intl, [KLnLIP]);
string = intl.string;
const XGbCq3 = (require(1244) /* metro dependency 1244: indexNative */).t.XGbCq3;
object.body = Reflect.apply(string, intl, [XGbCq3]);
const Button = (ButtonNativeModule).Button;
return (
<EmptyState {...object}>
<View style={styles.button}>
<Button
text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['3oK4qw'])}
onPress={function() {
var value2 = UserStore.getCurrentUser();
var value3 = undefined;
navigation.push((value2 == null ? value3 : value2.email) != null ? VerificationModalScenes.RESEND_EMAIL : VerificationModalScenes.ENTER_EMAIL);
return value3;
}}
/>
</View>
</EmptyState>
);
}
function VerificationModal() { // fn#121877, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:867, offset: 0x02553690, size: 229 bytes, params: 1, frame: 20
const countrySelectorOpened = (require(566) /* metro dependency 566: flux */).useStateFromStores([PhoneVerificationStore],
function() {
return PhoneVerificationStore.getCountrySelectorOpened();
});
const value2 = ReactModule.useMemo(function() {
var items = [{name: VerificationModalScenes.OVERVIEW}];
if (countrySelectorOpened) {
items.push({name: VerificationModalScenes.ADD_PHONE});
}
return items;
}, [countrySelectorOpened]);
ReactModule.useEffect(_fun121880, []);
const Navigator = (NavigatorNativeModule).Navigator;
object = {screens: ReactModule.useMemo(function() {
return _fun121882();
}, []), initialRouteStack: value2};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
object.headerBackTitle = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['13/7kX']);
return <Navigator {...object} />;
function _fun121880() { // fn#121880, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:1080, offset: 0x025537cb, size: 63 bytes, params: 1, frame: 13
const value = environment.__proto__;
(ActionSheetActionCreators).hideActionSheet();
(ChatInputUtilsModule).dismissKeyboard();
}
function _fun121881() { // fn#121881, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:1186, offset: 0x0255380a, size: 17 bytes, params: 1, frame: 9
return getScreens_121882();
function getScreens_121882() { // fn#121882, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:1190, offset: 0x0255381b, size: 1251 bytes, params: 1, frame: 21
var environment;
const closure = function(a0) {
var object = {};
object.impression_group = require(dependencyMap[13]).ImpressionGroups.USER_VERIFICATION_MODAL_FLOW;
object.step = a0;
return object;
};
let object = {};
const value = environment.__proto__.__proto__;
const CHANGE_EMAIL_COLLECT_REASONS = VerificationModalScenes.CHANGE_EMAIL_COLLECT_REASONS;
const object2 = {};
const ImpressionNames = (AnalyticsUtilsModule).ImpressionNames;
let USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object2.impressionName = USER_VERIFICATION_MODAL;
const CHANGE_EMAIL_COLLECT_REASONS2 = VerificationModalScenes.CHANGE_EMAIL_COLLECT_REASONS;
object2.impressionProperties = closure(CHANGE_EMAIL_COLLECT_REASONS2);
object2.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object2.render = function() {
return null;
};
object[CHANGE_EMAIL_COLLECT_REASONS] = object2;
const CHANGE_EMAIL_WARNING = VerificationModalScenes.CHANGE_EMAIL_WARNING;
const object3 = {};
USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object3.impressionName = USER_VERIFICATION_MODAL;
const CHANGE_EMAIL_WARNING2 = VerificationModalScenes.CHANGE_EMAIL_WARNING;
object3.impressionProperties = closure(CHANGE_EMAIL_WARNING2);
object3.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object3.render = function() {
return null;
};
object[CHANGE_EMAIL_WARNING] = object3;
const OVERVIEW = VerificationModalScenes.OVERVIEW;
const object4 = {};
USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object4.impressionName = USER_VERIFICATION_MODAL;
const OVERVIEW2 = VerificationModalScenes.OVERVIEW;
object4.impressionProperties = closure(OVERVIEW2);
object4.gestureEnabled = false;
object4.headerLeft = function() {
return null;
};
object4.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object4.headerRight = headerRight_121887;
object4.render = render_121890;
object[OVERVIEW] = object4;
let RESEND_EMAIL = VerificationModalScenes.RESEND_EMAIL;
const object5 = {};
USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object5.impressionName = USER_VERIFICATION_MODAL;
const RESEND_EMAIL2 = VerificationModalScenes.RESEND_EMAIL;
object5.impressionProperties = closure(RESEND_EMAIL2);
object5.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object5.render = render_121891;
object[RESEND_EMAIL] = object5;
const CHANGE_EMAIL_COMPLETE = VerificationModalScenes.CHANGE_EMAIL_COMPLETE;
const object6 = {};
USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object6.impressionName = USER_VERIFICATION_MODAL;
RESEND_EMAIL = VerificationModalScenes.RESEND_EMAIL;
object6.impressionProperties = closure(RESEND_EMAIL);
object6.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object6.render = render_121892;
object[CHANGE_EMAIL_COMPLETE] = object6;
const CONFIRM_EMAIL_CHANGE_CODE = VerificationModalScenes.CONFIRM_EMAIL_CHANGE_CODE;
const object7 = {};
USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object7.impressionName = USER_VERIFICATION_MODAL;
const CONFIRM_EMAIL_CHANGE_CODE2 = VerificationModalScenes.CONFIRM_EMAIL_CHANGE_CODE;
object7.impressionProperties = closure(CONFIRM_EMAIL_CHANGE_CODE2);
object7.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object7.render = render_121893;
object[CONFIRM_EMAIL_CHANGE_CODE] = object7;
const CONFIRM_EMAIL_CHANGE_START = VerificationModalScenes.CONFIRM_EMAIL_CHANGE_START;
const object8 = {};
USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object8.impressionName = USER_VERIFICATION_MODAL;
const CONFIRM_EMAIL_CHANGE_START2 = VerificationModalScenes.CONFIRM_EMAIL_CHANGE_START;
object8.impressionProperties = closure(CONFIRM_EMAIL_CHANGE_START2);
object8.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object8.render = render_121894;
object[CONFIRM_EMAIL_CHANGE_START] = object8;
const ENTER_EMAIL = VerificationModalScenes.ENTER_EMAIL;
const object9 = {};
USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object9.impressionName = USER_VERIFICATION_MODAL;
const ENTER_EMAIL2 = VerificationModalScenes.ENTER_EMAIL;
object9.impressionProperties = closure(ENTER_EMAIL2);
object9.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object9.render = render_121895;
object[ENTER_EMAIL] = object9;
const ADD_PHONE = VerificationModalScenes.ADD_PHONE;
const object10 = {};
USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object10.impressionName = USER_VERIFICATION_MODAL;
const ADD_PHONE2 = VerificationModalScenes.ADD_PHONE;
object10.impressionProperties = closure(ADD_PHONE2);
object10.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object10.render = render_121896;
object[ADD_PHONE] = object10;
const VERIFY_PHONE = VerificationModalScenes.VERIFY_PHONE;
const object11 = {};
USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object11.impressionName = USER_VERIFICATION_MODAL;
const VERIFY_PHONE2 = VerificationModalScenes.VERIFY_PHONE;
object11.impressionProperties = closure(VERIFY_PHONE2);
object11.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object11.render = render_121906;
object[VERIFY_PHONE] = object11;
const VERIFY_PASSWORD = VerificationModalScenes.VERIFY_PASSWORD;
const object12 = {};
USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object12.impressionName = USER_VERIFICATION_MODAL;
const VERIFY_PASSWORD2 = VerificationModalScenes.VERIFY_PASSWORD;
object12.impressionProperties = closure(VERIFY_PASSWORD2);
object12.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object12.render = render_121907;
object[VERIFY_PASSWORD] = object12;
const PHONE_THEN_EMAIL_INTERSTITIAL = VerificationModalScenes.PHONE_THEN_EMAIL_INTERSTITIAL;
const object13 = {};
USER_VERIFICATION_MODAL = ImpressionNames.USER_VERIFICATION_MODAL;
object13.impressionName = USER_VERIFICATION_MODAL;
const PHONE_THEN_EMAIL_INTERSTITIAL2 = VerificationModalScenes.PHONE_THEN_EMAIL_INTERSTITIAL;
object13.impressionProperties = closure(PHONE_THEN_EMAIL_INTERSTITIAL2);
object13.headerTitle = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderNoTitle();
object13.render = render_121908;
object[PHONE_THEN_EMAIL_INTERSTITIAL] = object13;
return object;
function getScreens_121882HeaderRight() { // fn#121887, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:1994, owner: getScreens_121882.headerRight, offset: 0x02553d34, size: 129 bytes, params: 1, frame: 18
const HeaderActionButton = (HeaderActionButtonNativeModule).HeaderActionButton;
const headerActionButtonProps = {source: Module09139};
const intl = (IndexNativeModule).intl;
const string = intl.string;
const PdRCRg = (IndexNativeModule).t.PdRCRg;
headerActionButtonProps.accessibilityLabel = Reflect.apply(string, intl, [PdRCRg]);
headerActionButtonProps.onPress = onPress_121888;
return <HeaderActionButton {...headerActionButtonProps} />;
function headerRightOnPress_121888() { // fn#121888, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:2112, owner: getScreens_121882.headerRight.onPress, offset: 0x02553db5, size: 139 bytes, params: 1, frame: 18
var environment;
let value = environment.__proto__.__proto__.__proto__.__proto__;
value = require(6802) /* metro dependency 6802: showSimpleActionSheet */;
const showSimpleActionSheet = value.showSimpleActionSheet;
const object2 = {};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
object2.label = intl.string((require(1244) /* metro dependency 1244: indexNative */).t['2jxGer']);
object2.isDestructive = true;
object2.onPress = onPress_121889;
Reflect.apply(showSimpleActionSheet, value, [{'key': 'VerificationOverviewMore', 'options': null, 'hasIcons': false,
options: [object2]}]);
function onPress_body() { // fn#121889, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:2264, owner: getScreens_121882.headerRight.onPress.body, offset: 0x02553e40, size: 44 bytes, params: 1, frame: 11
const value = environment.__proto__.__proto__.__proto__.__proto__.__proto__;
return (AuthenticationActionCreators).logout('verification_modal');
}
}
}
function getScreens_121882Render_121890() { // fn#121890, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:2332, owner: getScreens_121882.render, offset: 0x02553e6c, size: 39 bytes, params: 1, frame: 13
const value = environment.__proto__.__proto__.__proto__;
return ((Component) => <Component />)(Overview);
}
function getScreens_121882Render_121891() { // fn#121891, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:2539, owner: getScreens_121882.render, offset: 0x02553e93, size: 39 bytes, params: 1, frame: 13
const value = environment.__proto__.__proto__.__proto__;
return ((Component) => <Component />)(ResendEmail);
}
function getScreens_121882Render_121892() { // fn#121892, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:2755, owner: getScreens_121882.render, offset: 0x02553e93, size: 39 bytes, params: 1, frame: 13
const value = environment.__proto__.__proto__.__proto__;
return ((Component) => <Component />)(ResendEmail);
}
function getScreens_121882Render_121893() { // fn#121893, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:2988, owner: getScreens_121882.render, offset: 0x02553eba, size: 46 bytes, params: 1, frame: 14
const value = environment.__proto__.__proto__.__proto__;
return ((Component) => <Component isChangeEmail={false} />)(ConfirmEmailChangeCode);
}
function getScreens_121882Render_121894() { // fn#121894, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:3239, owner: getScreens_121882.render, offset: 0x02553ee8, size: 39 bytes, params: 1, frame: 13
const value = environment.__proto__.__proto__.__proto__;
return ((Component) => <Component />)(ConfirmEmailChangeStart);
}
function getScreens_121882Render_121895() { // fn#121895, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:3444, owner: getScreens_121882.render, offset: 0x02553f0f, size: 46 bytes, params: 1, frame: 14
const value = environment.__proto__.__proto__.__proto__;
return ((Component) => <Component isChangeEmail={false} />)(EnterEmail);
}
function getScreens_121882Render_121896(a0, a1) { // fn#121896, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:3661, owner: getScreens_121882.render, offset: 0x02553f3d, size: 111 bytes, params: 3, frame: 17
const env0_0 = a1;
const defaultImportProps = {...a0};
const ChangePhoneReason = (PhoneActionCreatorsModule).ChangePhoneReason;
const USER_ACTION_REQUIRED = ChangePhoneReason.USER_ACTION_REQUIRED;
defaultImportProps['reason'] = USER_ACTION_REQUIRED;
defaultImportProps['onComplete'] = function(a0) {
var VERIFY_PHONE = VerificationModalScenes.VERIFY_PHONE;
return require.push(VERIFY_PHONE, {phone: a0, onVerified: _fun121898});
};
return <AddPhone {...defaultImportProps} />;
function renderOnComplete_121897(a0) { // fn#121897, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:3751, owner: getScreens_121882.render.onComplete, offset: 0x02553fac, size: 57 bytes, params: 2, frame: 14
const push = require.push;
const VERIFY_PHONE = VerificationModalScenes.VERIFY_PHONE;
return Reflect.apply(push, require, [VERIFY_PHONE, {phone: a0, onVerified: onVerified_121898}]);
function onCompleteOnVerified_121898(a0) { // fn#121898, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:3785, owner: getScreens_121882.render.onComplete.onVerified, offset: 0x02553fe5, size: 113 bytes, params: 2, frame: 17
const env0_0 = a0;
const push = require.push;
const VERIFY_PASSWORD = VerificationModalScenes.VERIFY_PASSWORD;
const object = {hideUnverifiedBanner: true};
const binding = env5_3;
const env0_2 = binding(_fun121900);
object.onSubmit = onSubmit_121901;
const env0_1 = binding(_fun121903);
object.onSuccess = onSuccess_121905;
Reflect.apply(push, require, [VERIFY_PASSWORD, object]);
function* _fun121900(a0) { // fn#121900, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:3872, offset: 0x02554061, size: 239 bytes, params: 2, frame: 22
var binding;
var binding2;
var property;
var value3;
var isPhoneReverification;
var getCurrentUser;
var value4;
var getAction;
var value5;
var isPhoneReverification2;
var binding3;
var value6;
var addPhone;
var binding4;
var ChangePhoneReason;
var USER_ACTION_REQUIRED;
var value8;
var reverifyPhone;
var value9;
var binding5;
var value10;
var error;
if (false) {
return undefined;
}
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
try {
binding = env7_1;
} catch (error) {
return error;
}
try {
binding2 = env7_2;
} catch (error) {
return error;
}
try {
property = binding2[26];
} catch (error) {
return error;
}
try {
value3 = binding(property);
} catch (error) {
return error;
}
try {
isPhoneReverification = value3.isPhoneReverification;
} catch (error) {
return error;
}
try {
binding = env7_8;
} catch (error) {
return error;
}
try {
getCurrentUser = binding.getCurrentUser;
} catch (error) {
return error;
}
try {
value4 = Reflect.apply(getCurrentUser, binding, []);
} catch (error) {
return error;
}
try {
binding = env7_7;
} catch (error) {
return error;
}
try {
getAction = binding.getAction;
} catch (error) {
return error;
}
try {
value5 = Reflect.apply(getAction, binding, []);
} catch (error) {
return error;
}
try {
isPhoneReverification2 = Reflect.apply(isPhoneReverification, value3, [value4, value5]);
} catch (error) {
return error;
}
try {
binding = env7_1;
} catch (error) {
return error;
}
try {
binding3 = env7_2;
} catch (error) {
return error;
}
try {
property = binding3[25];
} catch (error) {
return error;
}
try {
value6 = binding(property);
} catch (error) {
return error;
}
if (isPhoneReverification2) {
try {
reverifyPhone = value6.reverifyPhone;
} catch (error) {
return error;
}
value9 = environment.__proto__;
try {
binding = env1_0;
} catch (error) {
return error;
}
try {
binding5 = env7_0;
} catch (error) {
return error;
}
try {
property = binding3[25];
} catch (error) {
return error;
}
try {
value = binding5(property);
} catch (error) {
return error;
}
try {
ChangePhoneReason = value.ChangePhoneReason;
} catch (error) {
return error;
}
try {
USER_ACTION_REQUIRED = ChangePhoneReason.USER_ACTION_REQUIRED;
} catch (error) {
return error;
}
try {
value = Reflect.apply(reverifyPhone, value6, [binding, a0, USER_ACTION_REQUIRED]);
} catch (error) {
return error;
}
yield value;
try {
value = undefined;
value10 = false;
} catch (error) {
return error;
}
if (value10) {
return value;
}
} else {
try {
addPhone = value6.addPhone;
} catch (error) {
return error;
}
try {
binding = env1_0;
} catch (error) {
return error;
}
try {
binding4 = env7_0;
} catch (error) {
return error;
}
try {
property = binding3[25];
} catch (error) {
return error;
}
try {
value = binding4(property);
} catch (error) {
return error;
}
try {
ChangePhoneReason = value.ChangePhoneReason;
} catch (error) {
return error;
}
try {
USER_ACTION_REQUIRED = ChangePhoneReason.USER_ACTION_REQUIRED;
} catch (error) {
return error;
}
try {
value = Reflect.apply(addPhone, value6, [binding, a0, USER_ACTION_REQUIRED]);
} catch (error) {
return error;
}
yield value;
try {
value = undefined;
value8 = false;
} catch (error) {
return error;
}
if (value8) {
return value;
}
}
return value;
}
function onVerifiedOnSubmit_121901() { // fn#121901, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:4142, owner: getScreens_121882.render.onComplete.onVerified.onSubmit, offset: 0x00d6b059, size: 30 bytes, params: 1, frame: 13
return env0_2.apply(this, arguments);
}
function* _fun121903() { // fn#121903, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:4202, offset: 0x0255415b, size: 158 bytes, params: 1, frame: 15
var environment;
var value7;
var value8;
if (true) {
value = environment.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__.__proto__;
var binding = env7_0;
var value3 = binding(env7_2[27]);
yield value3.waitUntil(_fun121904);
if (false) {
return undefined;
}
var action = env7_7.getAction();
var REQUIRE_VERIFIED_EMAIL = env7_9.REQUIRE_VERIFIED_EMAIL;
if (action === REQUIRE_VERIFIED_EMAIL) {
value8 = environment.__proto__.__proto__.__proto__;
binding = env3_0;
binding.push(env7_10.PHONE_THEN_EMAIL_INTERSTITIAL);
} else {
value7 = environment.__proto__.__proto__.__proto__;
binding = env3_0;
binding.push(env7_10.OVERVIEW);
}
}
function _fun121904() { // fn#121904, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:4240, offset: 0x025541f9, size: 33 bytes, params: 1, frame: 10
const action = env8_7.getAction();
const REQUIRE_VERIFIED_PHONE = env8_9.REQUIRE_VERIFIED_PHONE;
return action !== REQUIRE_VERIFIED_PHONE;
}
}
function onVerifiedOnSuccess_121905() { // fn#121905, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:4390, owner: getScreens_121882.render.onComplete.onVerified.onSuccess, offset: 0x00c3b2ba, size: 30 bytes, params: 1, frame: 13
return env0_1.apply(this, arguments);
}
}
}
}
function getScreens_121882Render_121906(a0) { // fn#121906, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:4629, owner: getScreens_121882.render, offset: 0x0255421a, size: 56 bytes, params: 2, frame: 14
const value = environment.__proto__.__proto__.__proto__;
return ((Component) => <Component disableKeyboardAvoidingView {...a0} />)(VerifyPhone2);
}
function getScreens_121882Render_121907(a0) { // fn#121907, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:4876, owner: getScreens_121882.render, offset: 0x02554252, size: 49 bytes, params: 2, frame: 14
const value = environment.__proto__.__proto__.__proto__;
return ((Component) => <Component {...a0} />)(UserSettingsConfirmPassword);
}
function getScreens_121882Render_121908(a0, a1) { // fn#121908, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16056:5120, owner: getScreens_121882.render, offset: 0x02554283, size: 31 bytes, params: 3, frame: 13
return <PhoneThenEmailInterstitial navigation={a1} />;
}
}
}
}
}
global.__d(_fun121874, 15848, [5, 31, 27, 15849, 1373, 1878, 661, 33, 4501, 1305, 15850, 1244, 4578, 480, 5282,
5277, 9139, 6802, 5076, 15854, 8960, 8965, 8962, 9007, 9015, 9016, 8961, 15855, 9024, 9010, 566, 4080, 4015,
5280,
2]) /* metro module 15848, dependencies: [5, 31, 27, 15849, 1373, 1878, 661, 33, 4501, 1305, 15850, 1244, 4578, 480, 5282, 5277, 9139, 6802, 5076, 15854, 8960, 8965, 8962, 9007, 9015, 9016, 8961, 15855, 9024, 9010, 566, 4080, 4015, 5280, 2] */;