/* Metro module 14303; source: modules/auth/native/RegistrationStepsUtils.tsx; dependencies: [5, 31, 13285, 5077, 14304, 14305, 661, 33, 480, 14306, 14312, 14313, 14325, 14326, 14332, 8971, 14334, 14335, 9019, 9016, 14339, 14340, 14344, 14345, 1861, 14315, 4131, 8977, 14352, 2] */
import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */
import Login from './components/Login.tsx'; /* Metro dependency 8971 */
import PhoneActionCreators from '../../phone/PhoneActionCreators.tsx'; /* Metro dependency 9016 */
import UniqueUsernamesStore from '../../unique_usernames/UniqueUsernamesStore.tsx'; /* Metro dependency 13285 */
import Welcome from './components/Welcome.tsx'; /* Metro dependency 14306 */
import RegisterDisplayName from './components/RegisterDisplayName.tsx'; /* Metro dependency 14325 */
import RegisterAccountInformation from './components/RegisterAccountInformation.tsx'; /* Metro dependency 14326 */
import VerifyPhone from './components/VerifyPhone.tsx'; /* Metro dependency 14332 */
import MFA2 from './components/MFA.tsx'; /* Metro dependency 14334 */
import AccountDisabledOrDeletionScheduled from './components/AccountDisabledOrDeletionScheduled.tsx'; /* Metro dependency 14335 */
import ExternalLink from './components/ExternalLink.tsx'; /* Metro dependency 14339 */
import RegisterAgeGate from './components/RegisterAgeGate.tsx'; /* Metro dependency 14340 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
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 PromoEmailConsentStoreModule from '../PromoEmailConsentStore.tsx'; /* Metro dependency 5077 */
import * as RegistrationUIStoreModule from './RegistrationUIStore.tsx'; /* Metro dependency 14304 */
import * as RegistrationUtilsModule from './RegistrationUtils.tsx'; /* Metro dependency 14312 */
import * as RegisterIdentityModule from './components/RegisterIdentity.tsx'; /* Metro dependency 14313 */
import * as CompanionRemoteAuthModule from '../../remote_auth/components/native/CompanionRemoteAuth.tsx'; /* Metro dependency 14345 */
function _fun108207(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#108207, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:6, offset: 0x02318942, size: 522 bytes, params: 8, frame: 21
const env0_0 = require;
const headerTitle_108208 = function() {
return null;
};
const closure = function() {
return _handleRegistrationSubmit.apply(this, arguments);
};
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
ReactModule;
let value = RegistrationUIStoreModule;
const env0_6 = value.setRegistrationErrors;
const env0_7 = value.setSubmitting;
const env0_8 = value.useRegistrationUIStore;
const env0_9 = value.clearRegistrationErrorMessage;
value = require(14305) /* metro dependency 14305: RegistrationConstants */;
const env0_10 = value.authStateToRegisterTransitionStep;
const env0_11 = value.RegisterTransitionSteps;
const env0_12 = value.RegistrationSteps;
const env0_13 = value.RegistrationTransitionActionTypes;
const AuthStates = (ConstantsModule).AuthStates;
const WELCOME = AuthStates.WELCOME;
items2 = [WELCOME];
const REGISTER_IDENTITY = AuthStates.REGISTER_IDENTITY;
items2[1] = REGISTER_IDENTITY;
const REGISTER_DISPLAY_NAME = AuthStates.REGISTER_DISPLAY_NAME;
items2[2] = REGISTER_DISPLAY_NAME;
const REGISTER_ACCOUNT_INFORMATION = AuthStates.REGISTER_ACCOUNT_INFORMATION;
items2[3] = REGISTER_ACCOUNT_INFORMATION;
const AGE_GATE = AuthStates.AGE_GATE;
items2[4] = AGE_GATE;
const getRegistrationSteps2 = getRegistrationSteps;
const getNextAuthState2 = getNextAuthState;
const getPreviousAuthState2 = getPreviousAuthState;
const closure5 = function(a0) {
var value2 = getPreviousAuthState(a0);
if (value2 != null) {
return authStateToRegisterTransitionStep(value2);
}
};
(FileImportTrackerModule).fileFinishedImporting('modules/auth/native/RegistrationStepsUtils.tsx');
exports.getRegistrationSteps = getRegistrationSteps2;
exports.getAllAuthScreens = getAllAuthScreens;
exports.getNextAuthState = getNextAuthState2;
exports.getPreviousAuthState = getPreviousAuthState2;
exports.getPreviousRegistrationTransitionStep = closure5;
exports.getNextRegistrationTransitionStep = function(a0) {
var value2 = getNextAuthState(a0);
if (value2 != null) {
return authStateToRegisterTransitionStep(value2);
}
};
exports.handleNextOrSubmitRegistration = function() {
return _handleNextOrSubmitRegistration.apply(this, arguments);
};
exports.handleRegistrationSubmit = closure;
function _handleNextOrSubmitRegistration() { // fn#108209, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:919, offset: 0x02318b4c, size: 50 bytes, params: 1, frame: 14
return Module00005(_fun108211).apply(this, arguments);
function* _fun108211(a0, a1, a2) { // fn#108211, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:1004, offset: 0x02318b89, size: 134 bytes, params: 4, frame: 19
var object;
if (true) {
value = environment.__proto__.__proto__;
env2_9();
var value3 = env2_18(a0);
if (value3 != null) {
object = {step: env2_10(a0), toStep: env2_10(value3)};
object.actionType = env2_13.SUCCESS;
a2(object);
a1.push(value3);
return undefined;
}
yield env2_23(a0, a1, a2);
}
}
}
function _handleRegistrationSubmit() { // fn#108213, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:1274, offset: 0x02318c0f, size: 50 bytes, params: 1, frame: 14
return Module00005(_fun108215).apply(this, arguments);
function* _fun108215(a0, a1, a2) { // fn#108215, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:1347, offset: 0x02318c4c, size: 488 bytes, params: 4, frame: 27
var r12;
var username;
var value6;
var binding2;
var property;
var value8;
var registerFull;
var value9;
var value10;
var value11;
var object;
var value12;
var SUCCESS;
var object2;
var REGISTER;
var error;
var APIError;
var value13;
var getAuthenticationErrorsFromAPIError;
var value14;
var value15;
if (true) {
value = environment.__proto__.__proto__;
var binding = env2_4;
var value3 = binding.registrationUsernameSuggestion();
binding = env2_8;
var getState = binding.getState;
var registrationOptions = Reflect.apply(getState, binding, []).registrationOptions;
var isNullOrEmpty2 = env2_0(env2_2[24]).isNullOrEmpty(value3);
var value5 = null;
reducibleJoin3: while (true) {
if (isNullOrEmpty2) {
r12 = value5;
break reducibleJoin3;
}
username = registrationOptions.username;
value6 = username === value3;
r12 = value6;
break reducibleJoin3;
}
var object3 = {};
copyDataProperties(object3, registrationOptions, undefined);
object3['usedUsernameSuggestion'] = r12;
var state = env2_5.getState();
reducibleJoin5: while (true) {
if (state.required) {
object3.promoEmailConsent = state;
break reducibleJoin5;
}
break reducibleJoin5;
}
env2_7(true);
env2_6({});
reducibleJoin7: while (true) {
reduciblePort42: while (true) {
exceptionLanding38: while (true) {
try {
binding = env2_0;
} catch (error) {
break exceptionLanding38;
}
break reducibleJoin7;
}
env2_7(false);
binding = env2_0;
APIError = binding(env2_2[26]).APIError;
if (!(error instanceof APIError)) {
return undefined;
}
binding = env2_0;
value13 = binding(env2_2[27]);
getAuthenticationErrorsFromAPIError = value13.getAuthenticationErrorsFromAPIError;
value14 = Reflect.apply(getAuthenticationErrorsFromAPIError, value13, [error]);
env2_6(value14);
value15 = env2_10(a0);
reducibleJoin42: while (true) {
if (value5 == value15) {
break reducibleJoin42;
}
binding = env2_1;
binding(env2_2[28])(a1, a2, value14, value15);
break reducibleJoin42;
}
break reduciblePort42;
}
return undefined;
}
try {
binding2 = env2_2;
} catch (error) {
break exceptionLanding38;
}
try {
property = binding2[25];
} catch (error) {
break exceptionLanding38;
}
try {
value8 = binding(property);
} catch (error) {
break exceptionLanding38;
}
try {
registerFull = value8.registerFull;
} catch (error) {
break exceptionLanding38;
}
try {
value9 = Reflect.apply(registerFull, value8, [object3]);
} catch (error) {
break exceptionLanding38;
}
yield value9;
try {
value10 = undefined;
value11 = false;
} catch (error) {
break exceptionLanding38;
}
if (value11) {
return value10;
}
try {
object = {};
} catch (error) {
break exceptionLanding38;
}
try {
binding = env2_10;
} catch (error) {
break exceptionLanding38;
}
try {
value12 = binding(a0);
} catch (error) {
break exceptionLanding38;
}
try {
object.step = value12;
} catch (error) {
break exceptionLanding38;
}
try {
binding = env2_13;
} catch (error) {
break exceptionLanding38;
}
try {
SUCCESS = binding.SUCCESS;
} catch (error) {
break exceptionLanding38;
}
try {
object.actionType = SUCCESS;
} catch (error) {
break exceptionLanding38;
}
try {
object.overrideRegistrationOptions = object3;
} catch (error) {
break exceptionLanding38;
}
try {
a2(object);
} catch (error) {
break exceptionLanding38;
}
try {
object2 = {};
} catch (error) {
break exceptionLanding38;
}
try {
binding = env2_11;
} catch (error) {
break exceptionLanding38;
}
try {
REGISTER = binding.REGISTER;
} catch (error) {
break exceptionLanding38;
}
try {
object2.step = REGISTER;
} catch (error) {
break exceptionLanding38;
}
try {
binding = env2_13;
} catch (error) {
break exceptionLanding38;
}
try {
SUCCESS = binding.SUCCESS;
} catch (error) {
break exceptionLanding38;
}
try {
object2.actionType = SUCCESS;
} catch (error) {
break exceptionLanding38;
}
try {
object2.overrideRegistrationOptions = object3;
} catch (error) {
break exceptionLanding38;
}
try {
a2(object2);
} catch (error) {
break exceptionLanding38;
}
}
}
}
function getRegistrationSteps() { // fn#108216, offset: 0x02318e34, size: 9 bytes, params: 1, frame: 1
return env0_16;
}
function getNextAuthState(a0) { // fn#108217, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:633, offset: 0x02318e3d, size: 65 bytes, params: 2, frame: 13
const registrationSteps = getRegistrationSteps();
const value2 = registrationSteps.indexOf(a0);
if (value2 !== -1) {
if (value2 !== registrationSteps.length - 1) {
return registrationSteps[value2 + 1];
}
}
}
function getPreviousAuthState(a0) { // fn#108218, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:743, offset: 0x02318e7e, size: 58 bytes, params: 2, frame: 12
const registrationSteps = getRegistrationSteps();
const value2 = registrationSteps.indexOf(a0);
if (value2 !== -1) {
if (value2 !== 0) {
return registrationSteps[value2 - 1];
}
}
}
function getAllAuthScreens() { // fn#108220, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:2088, offset: 0x02318edc, size: 1042 bytes, params: 1, frame: 22
let object = {};
const WELCOME = AuthStates.WELCOME;
const ImpressionNames = (AnalyticsUtilsModule).ImpressionNames;
const USER_WELCOME = ImpressionNames.USER_WELCOME;
const headerTitle_108208Binding = headerTitle_108208;
object[WELCOME] = {'ignoreKeyboard': true, 'fullscreen': true, 'impressionName': null, 'headerTitle': null,
'headerShown': false, impressionName: USER_WELCOME, headerTitle: headerTitle_108208Binding,
render: render_108221};
const REGISTER_IDENTITY = AuthStates.REGISTER_IDENTITY;
const object3 = {'ignoreKeyboard': true, 'fullscreen': true};
let USER_REGISTRATION = ImpressionNames.USER_REGISTRATION;
object3.impressionName = USER_REGISTRATION;
const ImpressionGroups = (AnalyticsUtilsModule).ImpressionGroups;
let USER_REGISTRATION_FLOW = ImpressionGroups.USER_REGISTRATION_FLOW;
const IDENTITY = RegistrationSteps.IDENTITY;
object3.impressionProperties = {impression_group: USER_REGISTRATION_FLOW, step: IDENTITY};
object3.headerTitle = headerTitle_108208Binding;
object3.headerLeft = headerLeft_108222;
object3.render = render_108223;
object[REGISTER_IDENTITY] = object3;
const REGISTER_DISPLAY_NAME = AuthStates.REGISTER_DISPLAY_NAME;
USER_REGISTRATION = ImpressionNames.USER_REGISTRATION;
USER_REGISTRATION_FLOW = ImpressionGroups.USER_REGISTRATION_FLOW;
const DISPLAY_NAME = RegistrationSteps.DISPLAY_NAME;
object[REGISTER_DISPLAY_NAME] = {'ignoreKeyboard': true, 'fullscreen': true, impressionName: USER_REGISTRATION,
impressionProperties: {impression_group: USER_REGISTRATION_FLOW, step: DISPLAY_NAME},
headerTitle: headerTitle_108208Binding, headerLeft: headerLeft_108224, render: render_108225};
const REGISTER_ACCOUNT_INFORMATION = AuthStates.REGISTER_ACCOUNT_INFORMATION;
USER_REGISTRATION = ImpressionNames.USER_REGISTRATION;
USER_REGISTRATION_FLOW = ImpressionGroups.USER_REGISTRATION_FLOW;
const ACCOUNT_INFORMATION = RegistrationSteps.ACCOUNT_INFORMATION;
object[REGISTER_ACCOUNT_INFORMATION] = {'ignoreKeyboard': true, 'fullscreen': true,
impressionName: USER_REGISTRATION, impressionProperties: {impression_group: USER_REGISTRATION_FLOW,
step: ACCOUNT_INFORMATION}, headerTitle: headerTitle_108208Binding, headerLeft: headerLeft_108226,
render: render_108227};
const VERIFY_PHONE = AuthStates.VERIFY_PHONE;
const USER_VERIFY_PHONE = ImpressionNames.USER_VERIFY_PHONE;
USER_REGISTRATION_FLOW = ImpressionGroups.USER_REGISTRATION_FLOW;
object[VERIFY_PHONE] = {ignoreKeyboard: true, impressionName: USER_VERIFY_PHONE,
impressionProperties: {impression_group: USER_REGISTRATION_FLOW}, headerTitle: headerTitle_108208Binding,
headerLeft: headerLeft_108228, render: render_108229};
const LOGIN = AuthStates.LOGIN;
const USER_LOGIN = ImpressionNames.USER_LOGIN;
const USER_LOGIN_FLOW = ImpressionGroups.USER_LOGIN_FLOW;
object[LOGIN] = {'ignoreKeyboard': true, 'fullscreen': true, impressionName: USER_LOGIN,
impressionProperties: {impression_group: USER_LOGIN_FLOW}, headerTitle: headerTitle_108208Binding,
render: render_108230};
const MFA = AuthStates.MFA;
object[MFA] = {'fullscreen': true, 'ignoreKeyboard': true, 'headerTitle': null, 'headerShown': false,
headerTitle: headerTitle_108208Binding, render: render_108231};
const ACCOUNT_DISABLED_OR_DELETION_SCHEDULED = AuthStates.ACCOUNT_DISABLED_OR_DELETION_SCHEDULED;
object[ACCOUNT_DISABLED_OR_DELETION_SCHEDULED] = {'ignoreKeyboard': true, 'fullscreen': true,
headerTitle: headerTitle_108208Binding, render: render_108232};
const COUNTRY_SELECT = AuthStates.COUNTRY_SELECT;
object[COUNTRY_SELECT] = {ignoreKeyboard: true, headerTitle: headerTitle_108208Binding, render: render_108233};
const EXTERNAL_LINK = AuthStates.EXTERNAL_LINK;
object[EXTERNAL_LINK] = {ignoreKeyboard: true, headerTitle: headerTitle_108208Binding, render: render_108236};
const AGE_GATE = AuthStates.AGE_GATE;
const USER_AGE_GATE = ImpressionNames.USER_AGE_GATE;
object[AGE_GATE] = {'ignoreKeyboard': true, 'fullscreen': true, impressionName: USER_AGE_GATE,
headerTitle: headerTitle_108208Binding, headerLeft: headerLeft_108237, render: render_108238};
const AGE_GATE_UNDERAGE = AuthStates.AGE_GATE_UNDERAGE;
const USER_AGE_GATE_UNDERAGE = ImpressionNames.USER_AGE_GATE_UNDERAGE;
object[AGE_GATE_UNDERAGE] = {'ignoreKeyboard': true, 'fullscreen': true, impressionName: USER_AGE_GATE_UNDERAGE,
impressionProperties: function({existingUser}) {
var object = {};
object.impression_group = require(dependencyMap[8]).ImpressionGroups.USER_REGISTRATION_FLOW;
object.existing_user = existingUser;
return object;
}, headerTitle: headerTitle_108208Binding, render: render_108240};
const COMPANION_REMOTE_AUTH = AuthStates.COMPANION_REMOTE_AUTH;
object[COMPANION_REMOTE_AUTH] = {'ignoreKeyboard': true, 'fullscreen': true, headerTitle: headerTitle_108208Binding,
render: render_108242};
return object;
function getAllAuthScreensRender() { // fn#108221, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:2267, owner: getAllAuthScreens.render, offset: 0x023192ee, size: 39 bytes, params: 1, frame: 13
const value = environment.__proto__;
return ((Component) => )(Welcome);
}
function getAllAuthScreensHeaderLeft(a0) { // fn#108222, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:2537, owner: getAllAuthScreens.headerLeft, offset: 0x02319315, size: 85 bytes, params: 2, frame: 15
const value = environment.__proto__;
const BackButtonWithTracking = (RegistrationUtilsModule).BackButtonWithTracking;
const backButtonWithTrackingProps = {...a0};
const getPreviousRegistrationTransitionStepBinding = getPreviousRegistrationTransitionStep;
const REGISTER_IDENTITY = AuthStates.REGISTER_IDENTITY;
backButtonWithTrackingProps['destinationStep'] = getPreviousRegistrationTransitionStepBinding(REGISTER_IDENTITY);
return ;
}
function getAllAuthScreensRender_108223() { // fn#108223, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:2664, owner: getAllAuthScreens.render, offset: 0x0231936a, size: 45 bytes, params: 1, frame: 13
const RegisterIdentity = (RegisterIdentityModule).RegisterIdentity;
return ;
}
function getAllAuthScreensHeaderLeft_108224(a0) { // fn#108224, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:2960, owner: getAllAuthScreens.headerLeft, offset: 0x02319397, size: 85 bytes, params: 2, frame: 15
const value = environment.__proto__;
const BackButtonWithTracking = (RegistrationUtilsModule).BackButtonWithTracking;
const backButtonWithTrackingProps = {...a0};
const getPreviousRegistrationTransitionStepBinding = getPreviousRegistrationTransitionStep;
const REGISTER_DISPLAY_NAME = AuthStates.REGISTER_DISPLAY_NAME;
backButtonWithTrackingProps['destinationStep'] = getPreviousRegistrationTransitionStepBinding(REGISTER_DISPLAY_NAME);
return ;
}
function getAllAuthScreensRender_108225() { // fn#108225, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:3091, owner: getAllAuthScreens.render, offset: 0x023193ec, size: 39 bytes, params: 1, frame: 13
const value = environment.__proto__;
return ((Component) => )(RegisterDisplayName);
}
function getAllAuthScreensHeaderLeft_108226(a0) { // fn#108226, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:3384, owner: getAllAuthScreens.headerLeft, offset: 0x02319413, size: 85 bytes, params: 2, frame: 15
const value = environment.__proto__;
const BackButtonWithTracking = (RegistrationUtilsModule).BackButtonWithTracking;
const backButtonWithTrackingProps = {...a0};
const getPreviousRegistrationTransitionStepBinding = getPreviousRegistrationTransitionStep;
const REGISTER_ACCOUNT_INFORMATION = AuthStates.REGISTER_ACCOUNT_INFORMATION;
backButtonWithTrackingProps['destinationStep'] = getPreviousRegistrationTransitionStepBinding(REGISTER_ACCOUNT_INFORMATION);
return ;
}
function getAllAuthScreensRender_108227() { // fn#108227, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:3522, owner: getAllAuthScreens.render, offset: 0x02319468, size: 39 bytes, params: 1, frame: 13
const value = environment.__proto__;
return ((Component) => )(RegisterAccountInformation);
}
function getAllAuthScreensHeaderLeft_108228(a0) { // fn#108228, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:3758, owner: getAllAuthScreens.headerLeft, offset: 0x0231948f, size: 76 bytes, params: 2, frame: 15
const BackButtonWithTracking = (RegistrationUtilsModule).BackButtonWithTracking;
const ACCOUNT_IDENTITY = RegisterTransitionSteps.ACCOUNT_IDENTITY;
return ;
}
function getAllAuthScreensRender_108229(a0) { // fn#108229, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:3845, owner: getAllAuthScreens.render, offset: 0x023194db, size: 49 bytes, params: 2, frame: 14
const value = environment.__proto__;
return ((Component) => )(VerifyPhone);
}
function getAllAuthScreensRender_108230() { // fn#108230, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:4073, owner: getAllAuthScreens.render, offset: 0x0231950c, size: 39 bytes, params: 1, frame: 13
const value = environment.__proto__;
return ((Component) => )(Login);
}
function getAllAuthScreensRender_108231() { // fn#108231, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:4180, owner: getAllAuthScreens.render, offset: 0x02319533, size: 46 bytes, params: 1, frame: 14
const value = environment.__proto__;
return ((Component) => )(MFA2);
}
function getAllAuthScreensRender_108232(a0) { // fn#108232, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:4321, owner: getAllAuthScreens.render, offset: 0x02319561, size: 49 bytes, params: 2, frame: 14
const value = environment.__proto__;
return ((Component) => )(AccountDisabledOrDeletionScheduled);
}
function getAllAuthScreensRender_108233(a0, a1) { // fn#108233, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:4413, owner: getAllAuthScreens.render, offset: 0x02319592, size: 72 bytes, params: 3, frame: 15
var environment;
const env0_0 = a1;
const value = environment.__proto__;
return ((Component) => )(importDefault(9019) /* metro dependency 9019: CountryCallingCodeSelect */);
function renderOnCountrySelected(a0) { // fn#108235, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:4470, owner: getAllAuthScreens.render.onCountrySelected, offset: 0x023195da, size: 41 bytes, params: 2, frame: 11
const value = environment.__proto__.__proto__;
return (PhoneActionCreators).setCountryCode(a0);
}
}
function getAllAuthScreensRender_108236(a0) { // fn#108236, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:4571, owner: getAllAuthScreens.render, offset: 0x02319603, size: 49 bytes, params: 2, frame: 14
const value = environment.__proto__;
return ((Component) => )(ExternalLink);
}
function getAllAuthScreensHeaderLeft_108237(a0) { // fn#108237, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:4728, owner: getAllAuthScreens.headerLeft, offset: 0x02319634, size: 85 bytes, params: 2, frame: 15
const value = environment.__proto__;
const BackButtonWithTracking = (RegistrationUtilsModule).BackButtonWithTracking;
const backButtonWithTrackingProps = {...a0};
const getPreviousRegistrationTransitionStepBinding = getPreviousRegistrationTransitionStep;
const AGE_GATE = AuthStates.AGE_GATE;
backButtonWithTrackingProps['destinationStep'] = getPreviousRegistrationTransitionStepBinding(AGE_GATE);
return ;
}
function getAllAuthScreensRender_108238() { // fn#108238, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:4846, owner: getAllAuthScreens.render, offset: 0x02319689, size: 39 bytes, params: 1, frame: 13
const value = environment.__proto__;
return ((Component) => )(RegisterAgeGate);
}
function getAllAuthScreensRender_108240(a0, a1) { // fn#108240, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:5140, owner: getAllAuthScreens.render, offset: 0x023196ec, size: 70 bytes, params: 3, frame: 14
var environment;
const env0_0 = a1;
const value = environment.__proto__;
return ((Component) => )(importDefault(14344) /* metro dependency 14344: AgeGateUnderage */);
}
function getAllAuthScreensRender_108242() { // fn#108242, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14500:5282, owner: getAllAuthScreens.render, offset: 0x02319745, size: 45 bytes, params: 1, frame: 13
const CompanionRemoteAuth = (CompanionRemoteAuthModule).CompanionRemoteAuth;
return ;
}
}
}
global.__d(_fun108207, 14303, [5, 31, 13285, 5077, 14304, 14305, 661, 33, 480, 14306, 14312, 14313, 14325, 14326,
14332, 8971, 14334, 14335, 9019, 9016, 14339, 14340, 14344, 14345, 1861, 14315, 4131, 8977, 14352,
2]) /* metro module 14303, dependencies: [5, 31, 13285, 5077, 14304, 14305, 661, 33, 480, 14306, 14312, 14313, 14325, 14326, 14332, 8971, 14334, 14335, 9019, 9016, 14339, 14340, 14344, 14345, 1861, 14315, 4131, 8977, 14352, 2] */;