decord/alpha/source/modules/activities/getActivityReportOptions.tsx

87 lines
2.4 KiB
TypeScript
Raw Normal View History

2026-10-09 10:00:15 +00:00
// Module ID: 17970
// Function ID: 17971
2026-07-20 16:05:17 +00:00
// Name: getActivityReportOptions
2026-10-09 10:00:15 +00:00
// Dependencies: [2024, 1126, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-10-09 10:00:15 +00:00
// Module 17970 (getActivityReportOptions)
2026-10-03 08:58:59 +00:00
import intl7 from "intl" /* 1126 */;
2026-10-09 10:00:15 +00:00
import Constants from "Constants" /* 2024 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
const ActivityFeedbackReasons = Constants.ActivityFeedbackReasons;
const result = size.fileFinishedImporting("modules/activities/getActivityReportOptions.tsx");
2026-07-20 16:05:17 +00:00
export default function getActivityReportOptions(arg0) {
2026-10-03 08:58:59 +00:00
let intl5;
let string2Result;
let string3Result;
let string4Result;
let string5Result;
let stringResult;
let tmp6;
2026-07-20 16:05:17 +00:00
let flag = arg1;
if (arg1 === undefined) {
flag = false;
}
2026-10-03 08:58:59 +00:00
const obj = { value: ActivityFeedbackReasons.FAILED_LOAD, label: stringResult };
const intl = intl7.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-10-03 08:58:59 +00:00
const t = intl7.t;
2026-07-20 16:05:17 +00:00
if (arg0) {
2026-10-03 08:58:59 +00:00
stringResult = string(t.uaiF6B);
tmp6 = tmp2;
2026-07-20 16:05:17 +00:00
} else {
stringResult = string(t.aO6OMZ);
2026-07-29 08:29:29 +00:00
tmp6 = tmp2;
2026-07-20 16:05:17 +00:00
}
const items = [obj, , , , ];
2026-10-03 08:58:59 +00:00
const obj2 = { value: ActivityFeedbackReasons.LAGGING, label: string2Result };
const intl2 = tmp6(1126).intl;
2026-07-20 16:05:17 +00:00
const string2 = intl2.string;
2026-10-03 08:58:59 +00:00
const t2 = tmp6(1126).t;
2026-07-20 16:05:17 +00:00
if (arg0) {
2026-10-03 08:58:59 +00:00
string2Result = string2(t2["/nJOlj"]);
2026-07-20 16:05:17 +00:00
} else {
2026-07-23 10:11:24 +00:00
string2Result = string2(t2["79HFwf"]);
2026-07-20 16:05:17 +00:00
}
items[1] = obj2;
2026-10-03 08:58:59 +00:00
const obj3 = { value: ActivityFeedbackReasons.CONFUSING, label: string3Result };
const intl3 = tmp6(1126).intl;
2026-07-20 16:05:17 +00:00
const string3 = intl3.string;
2026-10-03 08:58:59 +00:00
const t3 = tmp6(1126).t;
2026-07-20 16:05:17 +00:00
if (arg0) {
2026-10-03 08:58:59 +00:00
string3Result = string3(t3["/8psS7"]);
2026-07-20 16:05:17 +00:00
} else {
string3Result = string3(t3.iSv55N);
}
items[2] = obj3;
2026-10-03 08:58:59 +00:00
const obj4 = { value: ActivityFeedbackReasons.NOT_FUN, label: string4Result };
const intl4 = tmp6(1126).intl;
2026-07-20 16:05:17 +00:00
const string4 = intl4.string;
2026-10-03 08:58:59 +00:00
const t4 = tmp6(1126).t;
2026-07-20 16:05:17 +00:00
if (arg0) {
2026-10-03 08:58:59 +00:00
string4Result = string4(t4["7GVmLm"]);
2026-07-20 16:05:17 +00:00
} else {
string4Result = string4(t4.GnVff5);
}
items[3] = obj4;
2026-10-03 08:58:59 +00:00
const obj5 = { value: ActivityFeedbackReasons.OTHER, label: intl5.string(tmp6(1126).t.emlT91) };
intl5 = tmp6(1126).intl;
items[4] = obj5;
2026-10-03 08:58:59 +00:00
if (flag) {
const push = items.push;
const obj6 = { value: ActivityFeedbackReasons.ADS, label: string5Result };
const intl6 = tmp6(1126).intl;
2026-07-20 16:05:17 +00:00
const string5 = intl6.string;
2026-10-03 08:58:59 +00:00
const t5 = tmp6(1126).t;
2026-07-20 16:05:17 +00:00
if (arg0) {
2026-10-03 08:58:59 +00:00
string5Result = string5(t5["5o1UL6"]);
2026-07-20 16:05:17 +00:00
} else {
2026-10-03 08:58:59 +00:00
string5Result = string5(t5.XeeDhK);
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
push(obj6);
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
return items;
2026-07-20 16:05:17 +00:00
};