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

477 lines
29 KiB
TypeScript

/* Metro module 14752; source: modules/multi_account/native/ManageAccountsModal.tsx; dependencies: [57, 5, 31, 27, 1226, 3996, 1878, 11876, 11877, 14753, 661, 33, 9884, 4501, 697, 566, 1305, 4496, 1244, 11880, 5278, 13770, 14309, 4017, 4504, 6266, 683, 6618, 14754, 14310, 11206, 14755, 6247, 7972, 10504, 5280, 9603, 9893, 14335, 5076, 8971, 14334, 2] */
import Module00005 from '../../../by-id/module-00005.js'; /* Metro dependency 5 */
import Module00057 from '../../../by-id/module-00057.js'; /* Metro dependency 57 */
import Native from '../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */
import AuthenticationStore from '../../../stores/AuthenticationStore.tsx'; /* Metro dependency 1226 */
import UserStore from '../../../stores/UserStore.tsx'; /* Metro dependency 1878 */
import StreamerModeStore from '../../../stores/StreamerModeStore.tsx'; /* Metro dependency 3996 */
import ReanimatedRexport from '../../reanimated/ReanimatedRexport.tsx'; /* Metro dependency 4017 */
import AuthenticationActionCreators from '../../../actions/AuthenticationActionCreators.tsx'; /* Metro dependency 5076 */
import UsePrevious from '../../../hooks/usePrevious.tsx'; /* Metro dependency 6266 */
import Login from '../../auth/native/components/Login.tsx'; /* Metro dependency 8971 */
import AccountSwitcherListItem from './AccountSwitcherListItem.tsx'; /* Metro dependency 14310 */
import MFA2 from '../../auth/native/components/MFA.tsx'; /* Metro dependency 14334 */
import AccountDisabledOrDeletionScheduled from '../../auth/native/components/AccountDisabledOrDeletionScheduled.tsx'; /* Metro dependency 14335 */
import SortableListView from '../../../components_native/common/SortableListView.tsx'; /* Metro dependency 14754 */
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 FluxModule from '../../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
import * as ConstantsModule from '../../../Constants.tsx'; /* Metro dependency 661 */
import * as IndexNativeModule from '../../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as ReanimatedRexportModule from '../../reanimated/ReanimatedRexport.tsx'; /* Metro dependency 4017 */
import * as CreateStylesModule from '../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
import * as TimingModule from '../../../design/animation/reanimated/timing/timing.tsx'; /* Metro dependency 4504 */
import * as PressablesModule from '../../../design/void/Pressables/native/Pressables.tsx'; /* Metro dependency 5278 */
import * as NavigatorNativeModule from '../../../design/components/Navigator/native/Navigator.native.tsx'; /* Metro dependency 5280 */
import * as SafeAreaViewModule from '../../../components_native/common/SafeAreaView.tsx'; /* Metro dependency 6618 */
import * as HeaderSharedModule from '../../main_tabs_v2/native/shared_components/HeaderShared.tsx'; /* Metro dependency 9603 */
import * as Module09884Module from '../../../by-id/module-09884.js'; /* Metro dependency 9884 */
import * as TransitionGroupModule from '../../../external/discord_common/js/packages/transition-group/TransitionGroup.tsx'; /* Metro dependency 11206 */
import * as MultiAccountStoreModule from '../MultiAccountStore.tsx'; /* Metro dependency 11876 */
import * as ConstantsModule2 from '../Constants.tsx'; /* Metro dependency 11877 */
import * as MultiAccountActionCreatorsModule from '../MultiAccountActionCreators.tsx'; /* Metro dependency 11880 */
import * as CircleMinusIconModule from '../../../design/components/Icon/native/redesign/generated/CircleMinusIcon.tsx'; /* Metro dependency 13770 */
import * as UseMultiAccountModule from '../useMultiAccount.tsx'; /* Metro dependency 14309 */
import * as ManageAccountsConstantsModule from './ManageAccountsConstants.tsx'; /* Metro dependency 14753 */
function _fun111330(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#111330, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:6, offset: 0x0239e2b2, size: 623 bytes, params: 8, frame: 24
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = ReactModule;
const constantsModule = ConstantsModule2;
const env0_12 = constantsModule.MANAGE_EDIT_TRANSITION_DURATION;
const env0_13 = constantsModule.MAX_ACCOUNTS;
const env0_14 = constantsModule.MultiAccountSwitchLocation;
const constantsModule2 = ConstantsModule;
const env0_16 = constantsModule2.AnalyticEvents;
const env0_17 = constantsModule2.AuthStates;
const env0_20 = (Module09884Module).createNativeStackNavigator();
const createStyles = CreateStylesModule.createStyles;
object = {};
let BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
object.container = {'backgroundColor': null, 'flex': 1, 'paddingTop': 16, backgroundColor: BACKGROUND_BASE_LOW};
BACKGROUND_BASE_LOW = (importDefault(697) /* metro dependency 697: native */).colors.BACKGROUND_BASE_LOW;
object.sortableListView = {flex: 1, backgroundColor: BACKGROUND_BASE_LOW};
const TEXT_LINK = (importDefault(697) /* metro dependency 697: native */).colors.TEXT_LINK;
object.addAccountLabel = {color: TEXT_LINK};
object.trailingIconContainer = {'width': 24, 'height': 24};
object.trailingIcon = {position: 'absolute'};
const env0_21 = Reflect.apply(createStyles, CreateStylesModule, [object]);
object = {code: 'function ManageAccountsModalTsx1(){const{withTiming,leadingWidth,MANAGE_EDIT_TRANSITION_DURATION}=this.__closure;return{width:withTiming(leadingWidth.get(),{duration:MANAGE_EDIT_TRANSITION_DURATION})};}'};
value = value.memo(ManageAccountsModal);
(FileImportTrackerModule).fileFinishedImporting('modules/multi_account/native/ManageAccountsModal.tsx');
exports.default = value;
function RemoveMultiAccountUserButton({user}) { // fn#111331, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:762, offset: 0x0239e521, size: 434 bytes, params: 2, frame: 20
var env0_1;
const hidePersonalInformation = (require(566) /* metro dependency 566: flux */).useStateFromStores([StreamerModeStore],
function() {
return StreamerModeStore.hidePersonalInformation;
});
const currentUser = (require(566) /* metro dependency 566: flux */).useStateFromStores([UserStore], function() {
return UserStore.getCurrentUser();
});
if (currentUser?.id === user.id) {
const Spacer = (require(1305) /* metro dependency 1305: native */).Spacer;
return <Spacer size={21} />;
}
const username = user.username;
if (!hidePersonalInformation && user.discriminator !== '0') {
env0_1 = username + ('#' + user.discriminator);
}
const value4 = _fun111334();
const PressableOpacity = (PressablesModule).PressableOpacity;
const intl = (IndexNativeModule).intl;
const string = intl.string;
const lSLMaU = (IndexNativeModule).t.lSLMaU;
const CircleMinusIcon = (CircleMinusIconModule).CircleMinusIcon;
const ICON_FEEDBACK_CRITICAL = (Native).colors.ICON_FEEDBACK_CRITICAL;
return (
<PressableOpacity
accessibilityRole="button"
accessibilityLabel={Reflect.apply(string, intl, [lSLMaU])}
onPress={value4}
>
<CircleMinusIcon color={ICON_FEEDBACK_CRITICAL} />
</PressableOpacity>
);
function _fun111334() { // fn#111334, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:1085, offset: 0x0239e6e2, size: 36 bytes, params: 1, frame: 12
const env0_0 = env1_5(_fun111336);
return _fun111337;
function* _fun111336() { // fn#111336, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:1105, offset: 0x0239e711, size: 362 bytes, params: 1, frame: 24
if (true) {
value = environment.__proto__.__proto__.__proto__;
var binding = env3_1;
var binding2 = env3_3;
var value3 = binding(binding2[17]);
var confirm = value3.confirm;
var object = {};
binding = env3_0;
var intl = binding(binding2[18]).intl;
var string = intl.string;
object.title = Reflect.apply(string, intl, [binding(binding2[18]).t.n0Fbg6]);
intl = binding(binding2[18]).intl;
object.body = intl.formatToPlainString(binding(binding2[18]).t.phEQmS, {username: importDefault});
intl = binding(binding2[18]).intl;
string = intl.string;
var N86XcP = binding(binding2[18]).t.N86XcP;
object.confirmText = Reflect.apply(string, intl, [N86XcP]);
var ButtonColors = binding(binding2[16]).ButtonColors;
var RED = ButtonColors.RED;
object.confirmColor = RED;
intl = binding(binding2[18]).intl;
object.cancelText = intl.string(binding(binding2[18]).t['ETE/oC']);
object.isDismissable = true;
yield Reflect.apply(confirm, value3, [object]);
var value5 = undefined;
if (false) {
return value5;
}
if (value5) {
value = env3_2(env3_3[19]);
value.removeAccount(require.id);
}
}
}
function _fun111337() { // fn#111337, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:1464, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
return env0_0.apply(this, arguments);
}
}
}
function ManageAccounts({isEditing, navigation}) { // fn#111338, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:1946, offset: 0x0239e87b, size: 775 bytes, params: 2, frame: 37
var r10;
var FadeInOut;
var FormRow;
var Label;
var intl;
const styles = useStyles();
const useMultiAccountUsers = UseMultiAccountModule.useMultiAccountUsers;
const multiAccountUsers = Reflect.apply(useMultiAccountUsers, UseMultiAccountModule, []).multiAccountUsers;
const useStateFromStoresObject = FluxModule.useStateFromStoresObject;
const env0_4 = Reflect.apply(useStateFromStoresObject, FluxModule, [[AuthenticationStore], function() {
var object = {};
object.currentUserId = AuthenticationStore.getId();
return object;
}]).currentUserId;
const value2 = (ReanimatedRexportModule).useSharedValue(0);
const useAnimatedStyle = ReanimatedRexportModule.useAnimatedStyle;
const ManageAccountsL2 = ManageAccountsL;
ManageAccountsL2.__closure = {withTiming: (require(4504) /* metro dependency 4504: timing */).withTiming,
leadingWidth: value2, MANAGE_EDIT_TRANSITION_DURATION: MANAGE_EDIT_TRANSITION_DURATION};
ManageAccountsL2.__workletHash = 3389178545077;
ManageAccountsL2.__initData = env0_22;
const env0_6 = Reflect.apply(useAnimatedStyle, ReanimatedRexportModule, [ManageAccountsL2]);
const env0_7 = (UsePrevious)(isEditing);
env0_6.useEffect(_fun111341);
const SafeAreaPaddingView = (SafeAreaViewModule).SafeAreaPaddingView;
const object2 = {data: multiAccountUsers, onRowMoved: onRowMoved};
const value3 = !isEditing;
object2.disableSorting = value3;
object2.wrapperStyles = styles.sortableListView;
object2.renderRow = renderRow_111343;
object2.keyboardShouldPersistTaps = 'handled';
object2.scrollEventThrottle = 16;
object2.scrollEnabled = true;
const TransitionGroup = (TransitionGroupModule).TransitionGroup;
if (isEditing) {
r10 = value3;
} else {
FadeInOut = importDefault(14755) /* metro dependency 14755: FadeInOut */;
var defaultImport2Props = {duration: MANAGE_EDIT_TRANSITION_DURATION};
FormRow = (require(7972) /* metro dependency 7972: native */).FormRow;
var formRowProps = {leading: ((CirclePlusIcon) => <CirclePlusIcon color={(importDefault(697) /* metro dependency 697: native */).colors.TEXT_LINK} />)((require(10504) /* metro dependency 10504: CirclePlusIcon */).CirclePlusIcon)};
Label = (require(7972) /* metro dependency 7972: native */).FormRow.Label;
var labelProps = {style: styles.addAccountLabel};
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
labelProps.text = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.bPP34Q);
formRowProps.label = <Label {...labelProps} />;
formRowProps.onPress = onPress_111345;
r10 = (
<FadeInOut {...defaultImport2Props}>
<FormRow {...formRowProps} />
</FadeInOut>
);
}
object2.footer = (
<TransitionGroup
component={View}
transitionEnter
transitionLeave
transitionAppear
>
{r10}
</TransitionGroup>
);
return (
<SafeAreaPaddingView style={styles.container} bottom>
<SortableListView {...object2} />
</SafeAreaPaddingView>
);
function ManageAccountsL() { // fn#111340, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:2212, owner: ManageAccounts.l, offset: 0x0239eb9c, size: 70 bytes, params: 1, frame: 15
return {width: TimingModule.withTiming(Module00005.get(), {duration: MANAGE_EDIT_TRANSITION_DURATION})};
}
function _fun111341() { // fn#111341, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:2437, offset: 0x0239ebe2, size: 61 bytes, params: 1, frame: 12
var binding;
if (env0_7 != null && env0_7 !== isEditing) {
binding = Module00005;
binding.set(isEditing ? 37 : 0);
}
}
function onRowMoved({from, to}) { // fn#111342, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:2581, owner: ManageAccounts.onRowMoved, offset: 0x0239ec1f, size: 52 bytes, params: 2, frame: 14
const value = environment.__proto__;
(MultiAccountActionCreatorsModule).moveAccount(from, to);
}
function ManageAccountsRenderRow(a0, a1) { // fn#111343, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:2687, owner: ManageAccounts.renderRow, offset: 0x0239ec53, size: 499 bytes, params: 3, frame: 30
var environment;
const env0_0 = a0;
const value = environment.__proto__;
const value2 = undefined;
const defaultImportProps = {user: a0, onPressUser: isEditing ? null : _fun111344, showActiveAccountLabel: true};
const TransitionGroup = (TransitionGroupModule).TransitionGroup;
const View2 = (ReanimatedRexport).View;
defaultImportProps.leading = (
<TransitionGroup
component={View2}
transitionEnter
transitionLeave
style={env0_6}
>
{isEditing && ((Component) => <Component duration={MANAGE_EDIT_TRANSITION_DURATION}><RemoveMultiAccountUserButton user={a0} /></Component>)(importDefault(14755) /* metro dependency 14755: FadeInOut */)}
</TransitionGroup>
);
isEditingBinding = isEditing;
const FadeInOut = importDefault(14755) /* metro dependency 14755: FadeInOut */;
defaultImportProps.trailing = (
<TransitionGroup
component={View}
transitionEnter
transitionLeave
transitionAppear
style={styles.trailingIconContainer}
>
{
isEditingBinding
? (
<FadeInOut
duration={MANAGE_EDIT_TRANSITION_DURATION}
style={styles.trailingIcon}
key="drag"
>
{((DragIcon) => <DragIcon />)((require(6247) /* metro dependency 6247: DragIcon */).DragIcon)}
</FadeInOut>
)
: (
<FadeInOut
duration={MANAGE_EDIT_TRANSITION_DURATION}
style={styles.trailingIcon}
key="status"
>
{((AccountStatusIcon) => <AccountStatusIcon user={a0} />)((require(14310) /* metro dependency 14310: AccountSwitcherListItem */).AccountStatusIcon)}
</FadeInOut>
)
}
</TransitionGroup>
);
defaultImportProps.delayLongPress = isEditing ? 100 : value2;
return <AccountSwitcherListItem {...defaultImportProps} key={a1} />;
function _fun111344() { // fn#111344, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:2732, offset: 0x0239ee46, size: 201 bytes, params: 1, frame: 18
var tokenStatus;
var value2;
var navigationBinding;
const binding = env0_0;
let value = environment.__proto__;
if (!isEditing) {
if (binding.id !== currentUserId) {
tokenStatus = binding.tokenStatus;
value2 = environment.__proto__.__proto__;
if (tokenStatus === MultiAccountTokenStatus.INVALID) {
navigationBinding = navigation;
navigationBinding.push(AuthStates.LOGIN);
value = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
value.track(AnalyticEvents.LOGIN_VIEWED, {source: 'multi_account_invalid_user'});
} else {
value = importAll(11880) /* metro dependency 11880: MultiAccountActionCreators */;
value.switchAccount(binding.id, undefined, MultiAccountSwitchLocation.MANAGE_ACCOUNTS_MODAL);
}
}
}
}
}
function ManageAccountsOnPress() { // fn#111345, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:3970, owner: ManageAccounts.onPress, offset: 0x0239ef0f, size: 268 bytes, params: 1, frame: 20
var navigationBinding;
const intl = (IndexNativeModule).intl;
const t = (IndexNativeModule).t;
var value;
if (multiAccountUsers.length >= MAX_ACCOUNTS) {
value = importDefault(4496) /* metro dependency 4496: AlertActionCreators */;
value.show({title: intl.string(t.w7wfXi), body: intl.formatToPlainString(t.WOyelG,
{maxNumAccounts: MAX_ACCOUNTS}),
isDismissable: true});
} else {
navigationBinding = navigation;
navigationBinding.push(AuthStates.LOGIN);
value = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
value.track(AnalyticEvents.LOGIN_VIEWED, {source: 'multi_account_add_account'});
}
}
}
function ManageAccountsModal({initialRouteName = ManageAccountsScreens.MANAGE_ACCOUNTS}) { // fn#111346, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:4255, offset: 0x0239f01b, size: 398 bytes, params: 2, frame: 22
const env0_0 = (NavigatorNativeModule).useAccessibilityNativeStackOptions();
let binding = env0_6;
const [env0_1, env0_2] = Module00057(binding.useState(false), 2);
binding = env0_20;
const Navigator = binding.Navigator;
let object = {initialRouteName: initialRouteName, screenOptions: screenOptions_111347};
let Screen = binding.Screen;
const MANAGE_ACCOUNTS = ManageAccountsScreens.MANAGE_ACCOUNTS;
const items2 = [
<Screen name={MANAGE_ACCOUNTS} options={options_111349}>
{children_111352}
</Screen>,
];
Screen = binding.Screen;
const ACCOUNT_DISABLED_OR_DELETION_SCHEDULED = ManageAccountsScreens.ACCOUNT_DISABLED_OR_DELETION_SCHEDULED;
items2[1] = (
<Screen
name={ACCOUNT_DISABLED_OR_DELETION_SCHEDULED}
options={function() {
var object = {};
object.title = require(dependencyMap[18]).intl.string(require(dependencyMap[18]).t.WbFpq4);
return object;
}}
>
{children_111354}
</Screen>
);
Screen = binding.Screen;
const LOGIN = ManageAccountsScreens.LOGIN;
items2[2] = (
<Screen name={LOGIN} options={function() {
return {headerShown: false};
}}>
{children_111358}
</Screen>
);
Screen = binding.Screen;
const MFA = ManageAccountsScreens.MFA;
items2[3] = (
<Screen name={MFA} options={function() {
return {headerShown: false};
}}>
{children_111360}
</Screen>
);
return (
<Navigator {...object}>
{items2}
</Navigator>
);
function ManageAccountsModalScreenOptions({navigation}) { // fn#111347, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:4471, owner: ManageAccountsModal.screenOptions, offset: 0x0239f1a9, size: 134 bytes, params: 2, frame: 17
var r7;
var environment;
var r3;
var value3;
const object = {headerTitle: headerTitle_111348};
if (env0_1) {
r3 = undefined;
} else {
value3 = environment.__proto__;
r3 = require(dependencyMap[36]).getRenderModalCloseImage(navigation);
r7 = dependencyMap;
}
object.headerLeft = r3;
object.headerTitleAlign = 'center';
copyDataProperties(object, env0_0, r7);
copyDataProperties(object, importDefault(dependencyMap[37])(), r7);
return object;
function screenOptionsHeaderTitle_111348(a0) { // fn#111348, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:4503, owner: ManageAccountsModal.screenOptions.headerTitle, offset: 0x0239f22f, size: 87 bytes, params: 2, frame: 16
const children = a0.children;
const value = Object.create(null);
value.children = 0;
const value2 = copyDataProperties({}, a0, value, children);
const GenericHeaderTitle = (HeaderSharedModule).GenericHeaderTitle;
return <GenericHeaderTitle title={children} {...value2} />;
}
}
function ManageAccountsModalOptions() { // fn#111349, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:4727, owner: ManageAccountsModal.options, offset: 0x0239f286, size: 194 bytes, params: 1, frame: 20
var environment;
const object = {};
let value = environment.__proto__;
const intl = (IndexNativeModule).intl;
let string = intl.string;
const t = (IndexNativeModule).t;
const WbFpq4 = t.WbFpq4;
object.title = Reflect.apply(string, intl, [WbFpq4]);
const binding = env0_1;
value = require(9603) /* metro dependency 9603: HeaderShared */;
const getRenderHeaderTextButton = value.getRenderHeaderTextButton;
string = intl.string;
object.headerRight = binding ? Reflect.apply(getRenderHeaderTextButton, value, [Reflect.apply(string, intl,
[t.i4jeWR]), _fun111350]) : Reflect.apply(getRenderHeaderTextButton, value, [Reflect.apply(string, intl,
[t.bt75uw]), _fun111351]);
return object;
function _fun111350() { // fn#111350, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:4869, offset: 0x02073e4b, size: 18 bytes, params: 1, frame: 11
return env1_2(false);
}
function _fun111351() { // fn#111351, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:4957, offset: 0x01eff1f5, size: 18 bytes, params: 1, frame: 11
return env1_2(true);
}
}
function ManageAccountsModalChildren({navigation}) { // fn#111352, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:4980, owner: ManageAccountsModal.children, offset: 0x0239f348, size: 49 bytes, params: 2, frame: 14
return <ManageAccounts isEditing={env0_1} navigation={navigation} />;
}
function ManageAccountsModalChildren_111354() { // fn#111354, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:5174, owner: ManageAccountsModal.children, offset: 0x0239f3bd, size: 65 bytes, params: 1, frame: 15
var environment;
const value = environment.__proto__;
return ((Component) => <Component handleLogin={handleLogin_111355} onReset={onReset} />)(AccountDisabledOrDeletionScheduled);
function childrenHandleLogin(a0, a1, a2) { // fn#111355, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:5202, owner: ManageAccountsModal.children.handleLogin, offset: 0x0239f3fe, size: 64 bytes, params: 4, frame: 13
const value = environment.__proto__.__proto__;
(AuthenticationActionCreators).login({login: a0, password: a1,
undelete: a2});
}
function onReset() { // fn#111356, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:5269, owner: ManageAccountsModal.children.onReset, offset: 0x0239f43e, size: 40 bytes, params: 1, frame: 12
const value = environment.__proto__.__proto__;
(AuthenticationActionCreators).loginReset(true);
}
}
function ManageAccountsModalChildren_111358() { // fn#111358, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:5368, owner: ManageAccountsModal.children, offset: 0x0239f471, size: 46 bytes, params: 1, frame: 14
const value = environment.__proto__;
return ((Component) => <Component isMultiAccount />)(Login);
}
function ManageAccountsModalChildren_111360() { // fn#111360, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14949:5469, owner: ManageAccountsModal.children, offset: 0x0239f49f, size: 39 bytes, params: 1, frame: 13
const value = environment.__proto__;
return ((Component) => <Component />)(MFA2);
}
}
}
global.__d(_fun111330, 14752, [57, 5, 31, 27, 1226, 3996, 1878, 11876, 11877, 14753, 661, 33, 9884, 4501, 697, 566,
1305, 4496, 1244, 11880, 5278, 13770, 14309, 4017, 4504, 6266, 683, 6618, 14754, 14310, 11206, 14755, 6247,
7972, 10504, 5280, 9603, 9893, 14335, 5076, 8971, 14334,
2]) /* metro module 14752, dependencies: [57, 5, 31, 27, 1226, 3996, 1878, 11876, 11877, 14753, 661, 33, 9884, 4501, 697, 566, 1305, 4496, 1244, 11880, 5278, 13770, 14309, 4017, 4504, 6266, 683, 6618, 14754, 14310, 11206, 14755, 6247, 7972, 10504, 5280, 9603, 9893, 14335, 5076, 8971, 14334, 2] */;