27 lines
1.9 KiB
TypeScript
27 lines
1.9 KiB
TypeScript
/* Metro module 8524; source: modules/custom_status/utils/getRandomCustomStatusPrompt.tsx; dependencies: [8522, 1244, 2] */
|
|
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as ConstantsModule from '../Constants.tsx'; /* Metro dependency 8522 */
|
|
|
|
function _fun67583(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#67583, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8709:6, offset: 0x01c29a96, size: 127 bytes, params: 8, frame: 18
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(FileImportTrackerModule).fileFinishedImporting('modules/custom_status/utils/getRandomCustomStatusPrompt.tsx');
|
|
exports.default = getRandomCustomStatusPrompt;
|
|
function getRandomCustomStatusPrompt(a0) { // fn#67584, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8709:262, offset: 0x01c29b15, size: 155 bytes, params: 2, frame: 14
|
|
const env0_0 = a0;
|
|
const r1 = a0 == null ? CustomStatusPrompts : a0.size > 0 ? CustomStatusPrompts.filter(_fun67585) : CustomStatusPrompts;
|
|
return r1.length === 0 ? {value: CustomStatusPromptValues.ADD_STATUS, label: function() {
|
|
return require(dependencyMap[1]).intl.string(require(dependencyMap[1]).t.Vq4UmS);
|
|
}} : r1[global.Math.floor(global.Math.random() * r1.length)];
|
|
function _fun67585({value}) { // fn#67585, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8709:336, offset: 0x01c29bb0, size: 30 bytes, params: 2, frame: 11
|
|
const binding = env0_0;
|
|
return !binding.has(value);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun67583, 8524, [8522, 1244, 2]) /* metro module 8524, dependencies: [8522, 1244, 2] */;
|