44 lines
2.2 KiB
TypeScript
44 lines
2.2 KiB
TypeScript
/* Metro module 15942; source: modules/guild_settings/GuildSettingsConstants.tsx; dependencies: [1244, 2] */
|
|
function _fun123113(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#123113, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16150:6, offset: 0x025814d3, size: 279 bytes, params: 8, frame: 18
|
|
var object2;
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
object2 = {DISPLAY: 0};
|
|
object2[0] = 'DISPLAY';
|
|
object2.PERMISSIONS = 1;
|
|
object2[1] = 'PERMISSIONS';
|
|
object2.MEMBERS = 2;
|
|
object2[2] = 'MEMBERS';
|
|
object2.VERIFICATIONS = 3;
|
|
object2[3] = 'VERIFICATIONS';
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/guild_settings/GuildSettingsConstants.tsx');
|
|
exports.MAX_SUBCATEGORIES = 5;
|
|
exports.MAX_KEYWORDS = 10;
|
|
exports.MAX_KEYWORD_LENGTH = 30;
|
|
exports.GuildSettingsRoleEditSections = object2;
|
|
exports.ERROR_KEY_TO_LABEL_FUNC = {afk_channel_id: function() {
|
|
return require(dependencyMap[0]).intl.string(require(dependencyMap[0]).t.KuYcnU);
|
|
}, public_updates_channel_id: function() {
|
|
return require(dependencyMap[0]).intl.string(require(dependencyMap[0]).t.vAyDGU);
|
|
}, safety_alerts_channel_id: function() {
|
|
return require(dependencyMap[0]).intl.string(require(dependencyMap[0]).t.sMkYE8);
|
|
}, system_channel_id: function() {
|
|
return require(dependencyMap[0]).intl.string(require(dependencyMap[0]).t.NASFnq);
|
|
}};
|
|
exports.getSettingsErrorMessage = getSettingsErrorMessage;
|
|
exports.VANITY_URL_INVITE_ENDPOINT = 'https://discord.gg';
|
|
}
|
|
|
|
function getSettingsErrorMessage(a0) { // fn#123118, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16150:735, offset: 0x025816e2, size: 136 bytes, params: 2, frame: 18
|
|
let Object = global.Object;
|
|
if (Object.keys(a0).length === 0) {
|
|
return null;
|
|
}
|
|
Object = global.Object;
|
|
const property = Object.keys(a0)[0];
|
|
const r5 = env0_2[property]?.call(env0_2);
|
|
return r5 != null ? '(' + r5 + ') ' + a0[property] : a0[property];
|
|
}
|
|
|