88 lines
5.5 KiB
TypeScript
88 lines
5.5 KiB
TypeScript
/* Metro module 14994; source: modules/guild_settings/native/StandaloneMembersView.tsx; dependencies: [31, 33, 1484, 1585, 9112, 5282, 1244, 14995, 10296, 10311, 10313, 5280, 2] */
|
|
function _fun113318(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#113318, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:6, offset: 0x023f4307, size: 188 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_3 = importAll(31) /* metro dependency 31 */;
|
|
const env0_4 = (require(33) /* metro dependency 33 */).jsx;
|
|
object = {MAIN: 'MAIN', MEMBER_EDIT: 'MEMBER_EDIT', MEMBER_KICK: 'MEMBER_KICK', MEMBER_BAN: 'MEMBER_BAN'};
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/native/StandaloneMembersView.tsx');
|
|
exports.default = StandaloneMembersView;
|
|
}
|
|
|
|
function StandaloneMembersView({guildId}) { // fn#113319, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:347, offset: 0x023f43c3, size: 410 bytes, params: 2, frame: 21
|
|
var object4;
|
|
const env0_1 = (require(1484) /* metro dependency 1484: useNavigationNative */).useNavigation();
|
|
const bottom = (importDefault(1585) /* metro dependency 1585: useSafeAreaInsetsNative */)().bottom;
|
|
let binding = env0_3;
|
|
binding.useEffect(_fun113320, [guildId]);
|
|
object4 = {contentContainerStyle: {paddingBottom: 16 + bottom}};
|
|
object4 = {};
|
|
binding = env0_5;
|
|
let MAIN = binding.MAIN;
|
|
const object2 = {};
|
|
object2.headerLeft = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).getHeaderCloseButton(_fun113321);
|
|
object2.headerTitle = headerTitle_113322;
|
|
object2.render = render_113323;
|
|
object4[MAIN] = object2;
|
|
const MEMBER_EDIT = binding.MEMBER_EDIT;
|
|
object4[MEMBER_EDIT] = {render: render_113324};
|
|
const MEMBER_KICK = binding.MEMBER_KICK;
|
|
object4[MEMBER_KICK] = {headerTitle: function() {
|
|
return null;
|
|
}, render: render_113326};
|
|
const MEMBER_BAN = binding.MEMBER_BAN;
|
|
object4[MEMBER_BAN] = {headerTitle: function() {
|
|
return null;
|
|
}, render: render_113328};
|
|
const Navigator = (require(5280) /* metro dependency 5280: NavigatorNative */).Navigator;
|
|
MAIN = binding.MAIN;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
return (
|
|
<Navigator
|
|
screens={object4}
|
|
initialRouteName={MAIN}
|
|
headerBackTitle={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['13/7kX'])}
|
|
/>
|
|
);
|
|
}
|
|
|
|
function _fun113320() { // fn#113320, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:453, offset: 0x023f455d, size: 45 bytes, params: 1, frame: 12
|
|
let value = environment.__proto__;
|
|
value = importDefault(9112) /* metro dependency 9112: GuildSettingsActionCreators */;
|
|
value.init(guildId);
|
|
}
|
|
|
|
function StandaloneMembersViewHeaderTitle() { // fn#113322, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:615, owner: StandaloneMembersView.headerTitle, offset: 0x023f458a, size: 96 bytes, params: 1, frame: 18
|
|
const NavigatorHeader = (require(5282) /* metro dependency 5282: NavigatorHeaderNative */).NavigatorHeader;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
return <NavigatorHeader title={intl.string((require(1244) /* metro dependency 1244: indexNative */).t['9Oq93m'])} />;
|
|
}
|
|
|
|
function StandaloneMembersViewRender() { // fn#113323, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:702, owner: StandaloneMembersView.render, offset: 0x023f45ea, size: 50 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component guildId={guildId} />)(importDefault(14995) /* metro dependency 14995: GuildSettingsModalMembersWithTabs */);
|
|
}
|
|
|
|
function StandaloneMembersViewRender_113324(a0) { // fn#113324, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:754, owner: StandaloneMembersView.render, offset: 0x023f461c, size: 77 bytes, params: 2, frame: 15
|
|
const GuildSettingsModalMemberEditScene = (require(10296) /* metro dependency 10296: GuildSettingsModalMemberEdit */).GuildSettingsModalMemberEditScene;
|
|
return (
|
|
<GuildSettingsModalMemberEditScene
|
|
guildId={guildId}
|
|
{...a0}
|
|
{...env0_2}
|
|
/>
|
|
);
|
|
}
|
|
|
|
function StandaloneMembersViewRender_113326(a0) { // fn#113326, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:870, owner: StandaloneMembersView.render, offset: 0x023f4669, size: 71 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component guildId={guildId} {...a0} {...env0_2} />)(importDefault(10311) /* metro dependency 10311: KickConfirm */);
|
|
}
|
|
|
|
function StandaloneMembersViewRender_113328(a0) { // fn#113328, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15191:951, owner: StandaloneMembersView.render, offset: 0x023f46b0, size: 71 bytes, params: 2, frame: 15
|
|
const value = environment.__proto__;
|
|
return ((Component) => <Component guildId={guildId} {...a0} {...env0_2} />)(importDefault(10313) /* metro dependency 10313: BanConfirm */);
|
|
}
|
|
|