Files
discord-decomp/sources/modules/activities/getActivityReportOptions.tsx
T
2026-07-28 01:06:53 +03:00

50 lines
2.9 KiB
TypeScript

/* Metro module 15703; source: modules/activities/getActivityReportOptions.tsx; dependencies: [4237, 1244, 2] */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as IndexNativeModule from '../../intl/index.native.tsx'; /* Metro dependency 1244 */
import * as ConstantsModule from './Constants.tsx'; /* Metro dependency 4237 */
function _fun120532(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#120532, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15911:6, offset: 0x0252e58b, size: 117 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/activities/getActivityReportOptions.tsx');
exports.default = getActivityReportOptions;
function getActivityReportOptions(a0) { // fn#120533, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15911:221, offset: 0x0252e600, size: 591 bytes, params: 2, frame: 20
var push;
const value = a1;
const r1 = value !== undefined ? value : false;
const object = {};
const FAILED_LOAD = ActivityFeedbackReasons.FAILED_LOAD;
object.value = FAILED_LOAD;
const intl = (IndexNativeModule).intl;
let string = intl.string;
const t = (IndexNativeModule).t;
object.label = a0 ? Reflect.apply(string, intl, [t.uaiF6B]) : Reflect.apply(string, intl, [t.aO6OMZ]);
const items2 = [object];
const LAGGING = ActivityFeedbackReasons.LAGGING;
string = intl.string;
items2[1] = {value: LAGGING, label: a0 ? Reflect.apply(string, intl, [t['/nJOlj']]) : Reflect.apply(string, intl,
[t['79HFwf']])};
const CONFUSING = ActivityFeedbackReasons.CONFUSING;
string = intl.string;
items2[2] = {value: CONFUSING, label: a0 ? Reflect.apply(string, intl, [t['/8psS7']]) : Reflect.apply(string, intl,
[t.iSv55N])};
const NOT_FUN = ActivityFeedbackReasons.NOT_FUN;
string = intl.string;
items2[3] = {value: NOT_FUN, label: a0 ? Reflect.apply(string, intl, [t['7GVmLm']]) : Reflect.apply(string, intl,
[t.GnVff5])};
const OTHER = ActivityFeedbackReasons.OTHER;
items2[4] = {value: OTHER, label: intl.string(t.emlT91)};
if (r1) {
push = items2.push;
string = intl.string;
Reflect.apply(push, items2, [{value: ActivityFeedbackReasons.ADS, label: a0 ? Reflect.apply(string, intl,
[t['5o1UL6']]) : Reflect.apply(string, intl, [t.XeeDhK])}]);
}
return items2;
}
}
global.__d(_fun120532, 15703, [4237, 1244, 2]) /* metro module 15703, dependencies: [4237, 1244, 2] */;