45 lines
2.5 KiB
TypeScript
45 lines
2.5 KiB
TypeScript
/* Metro module 8276; source: modules/guild_antiraid/GuildAntiRaidConstants.tsx; dependencies: [482, 1244, 483, 2] */
|
|
function _fun66140(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#66140, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8461:6, offset: 0x01bee820, size: 201 bytes, params: 8, frame: 25
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const Permissions = (require(482) /* metro dependency 482: Constants */).Permissions;
|
|
let value = importAll(483) /* metro dependency 483: BigFlagUtils */;
|
|
const combine = value.combine;
|
|
const ADMINISTRATOR = Permissions.ADMINISTRATOR;
|
|
const MANAGE_GUILD = Permissions.MANAGE_GUILD;
|
|
const BAN_MEMBERS = Permissions.BAN_MEMBERS;
|
|
const KICK_MEMBERS = Permissions.KICK_MEMBERS;
|
|
const MODERATE_MEMBERS = Permissions.MODERATE_MEMBERS;
|
|
value = Reflect.apply(combine, value, [ADMINISTRATOR, MANAGE_GUILD, BAN_MEMBERS, KICK_MEMBERS, MODERATE_MEMBERS]);
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_antiraid/GuildAntiRaidConstants.tsx');
|
|
exports.GUILD_REPORT_RAID_MOBILE_KEY = 'guild_report_raid_mobile';
|
|
exports.NAGBAR_DISPLAY_MAX_HOURS = 2;
|
|
exports.DEFAULT_LOCKDOWN_DURATION = 2;
|
|
exports.getTimeframes = getTimeframes;
|
|
exports.IncidentAlertModeratorPermissions = value;
|
|
}
|
|
|
|
function getTimeframes() { // fn#66141, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8461:432, offset: 0x01bee8e9, size: 430 bytes, params: 1, frame: 17
|
|
var object2;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
let string = intl.string;
|
|
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
|
const items2 = [{'id': '1', 'value': 1, label: Reflect.apply(string, intl, [t['GA/d4I']])}];
|
|
object2 = {'id': '2', 'value': 2};
|
|
object2.label = intl.string(t['+rHFej']);
|
|
items2[1] = object2;
|
|
object2 = {'id': '4', 'value': 4};
|
|
object2.label = intl.string(t['5CNt/M']);
|
|
items2[2] = object2;
|
|
items2[3] = {'id': '6', 'value': 6, label: intl.string(t.oQ4PNE)};
|
|
string = intl.string;
|
|
const LOQ0j6 = t.LOQ0j6;
|
|
items2[4] = {'id': '12', 'value': 12, label: Reflect.apply(string, intl, [LOQ0j6])};
|
|
object2 = {'id': '24', 'value': 24};
|
|
object2.label = intl.string(t['W0+LsV']);
|
|
items2[5] = object2;
|
|
return items2;
|
|
}
|
|
|