decord/beta/source/modules/connections/native/GuildRoleConnectionsModal.tsx
github-actions e7a050048e chore: update source for beta 347.7
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4943.js (118.4 MB)
2026-09-21 19:31:18 +00:00

82 lines
3 KiB
TypeScript

// Module ID: 11690
// Function ID: 11691
// Name: GuildRoleConnectionsModal
// Dependencies: [19, 21, 1119, 7621, 7238, 11691, 558, 568, 7246, 2]
// Module 11690 (GuildRoleConnectionsModal)
import util from "util" /* 1119 */;
import noop from "module_19" /* 19 */;
require = fn;
const jsx = fn(21).jsx;
const GUILD_ROLE_CONNECTIONS_SCREEN = "GUILD_ROLE_CONNECTIONS_SCREEN";
const ReactCompilerGating = fn(558);
const size = fn(2);
const result = size.fileFinishedImporting("modules/connections/native/GuildRoleConnectionsModal.tsx");
export default noop.memo(ReactCompilerGating.isReactCompilerEnabled() ? ((arg0) => {
const cResult = guildId(568).c(5);
({ guildId, onClose } = arg0);
if (cResult[0] === guildId) {
if (cResult[1] === onClose) {
let tmp4 = cResult[2];
}
if (cResult[3] !== tmp4) {
const obj2 = { screens: tmp4, initialRouteName: GUILD_ROLE_CONNECTIONS_SCREEN };
const tmp8 = jsx(tmp(7246).Navigator, { screens: tmp4, initialRouteName: GUILD_ROLE_CONNECTIONS_SCREEN });
cResult[3] = tmp4;
cResult[4] = tmp8;
let tmp5 = tmp8;
} else {
tmp5 = cResult[4];
}
return tmp5;
}
const obj3 = {};
const obj4 = { title: null, headerLeft: null, headerRight: null, render: null };
const intl = tmp(1119).intl;
obj4.title = intl.string(guildId(1119).t.ghtnss);
obj4.headerLeft = function headerLeft() {
return null;
};
obj4.headerRight = function headerRight() {
const obj = { source: onClose(7238), onPress, accessibilityLabel: null };
const intl = guildId(1119).intl;
obj.accessibilityLabel = intl.string(guildId(1119).t.cpT0Cq);
return jsx(guildId(7621).HeaderActionButton, { source: onClose(7238), onPress, accessibilityLabel: null });
};
obj4.render = function render() {
return jsx(onClose(11691), { guildId, onCloseModal });
};
obj3[GUILD_ROLE_CONNECTIONS_SCREEN] = obj4;
cResult[0] = guildId;
cResult[1] = onClose;
cResult[2] = obj3;
tmp4 = obj3;
}) : ((guildId) => {
guildId = guildId.guildId;
const onClose = guildId.onClose;
const items = [guildId, onClose];
const memo = noop.useMemo(() => {
closure_1 = onClose;
let obj = {};
const obj2 = { title: null, headerLeft: null, headerRight: null, render: null };
let intl = util.intl;
obj2.title = intl.string(util.t.ghtnss);
obj2.headerLeft = function headerLeft() {
return null;
};
obj2.headerRight = function headerRight() {
const obj = { source: onClose(7238), onPress, accessibilityLabel: null };
const intl = guildId(1119).intl;
obj.accessibilityLabel = intl.string(guildId(1119).t.cpT0Cq);
return jsx(guildId(7621).HeaderActionButton, { source: onClose(7238), onPress, accessibilityLabel: null });
};
obj2.render = function render() {
return jsx(onClose(11691), { guildId, onCloseModal });
};
obj[GUILD_ROLE_CONNECTIONS_SCREEN] = obj2;
return obj;
}, items);
return jsx(guildId(7246).Navigator, { screens: memo, initialRouteName: GUILD_ROLE_CONNECTIONS_SCREEN });
}));