decord/source/modules/activities/getActivityReportOptions.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

85 lines
2.4 KiB
TypeScript

// Module ID: 17361
// Function ID: 17362
// Name: getActivityReportOptions
// Dependencies: [1920, 1114, 2]
// Exports: default
// Module 17361 (getActivityReportOptions)
import set from "set" /* 2 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import items3 from "items3" /* 1920 */;
const ActivityFeedbackReasons = items3.ActivityFeedbackReasons;
const result = set.fileFinishedImporting("modules/activities/getActivityReportOptions.tsx");
export default function getActivityReportOptions(arg0) {
let flag = arg1;
if (arg1 === undefined) {
flag = false;
}
let obj = { value: ActivityFeedbackReasons.FAILED_LOAD, label: null };
const intl = getSystemLocale.intl;
const string = intl.string;
const t = getSystemLocale.t;
if (arg0) {
let stringResult = string(t.uaiF6B);
let tmp6 = tmp2;
} else {
stringResult = string(t.aO6OMZ);
tmp6 = tmp2;
}
obj[1] = stringResult;
const items = [obj, , , , ];
obj = { value: tmp.LAGGING, label: null };
const intl2 = tmp6(1114).intl;
const string2 = intl2.string;
const t2 = tmp6(1114).t;
if (arg0) {
let string2Result = string2(t2["/nJOlj"]);
} else {
string2Result = string2(t2["79HFwf"]);
}
obj[1] = string2Result;
items[1] = obj;
obj = { value: tmp.CONFUSING, label: null };
const intl3 = tmp6(1114).intl;
const string3 = intl3.string;
const t3 = tmp6(1114).t;
if (arg0) {
let string3Result = string3(t3["/8psS7"]);
} else {
string3Result = string3(t3.iSv55N);
}
obj[1] = string3Result;
items[2] = obj;
obj1 = { value: ActivityFeedbackReasons.NOT_FUN, label: null };
const intl4 = tmp6(1114).intl;
const string4 = intl4.string;
const t4 = tmp6(1114).t;
if (arg0) {
let string4Result = string4(t4["7GVmLm"]);
} else {
string4Result = string4(t4.GnVff5);
}
obj1[1] = string4Result;
items[3] = obj1;
const obj2 = { value: ActivityFeedbackReasons.OTHER, label: null };
const intl5 = tmp6(1114).intl;
obj2[1] = intl5.string(tmp6(1114).t.emlT91);
items[4] = obj2;
if (!flag) {
return items;
} else {
let obj3 = { value: null, label: null };
obj3[0] = tmp.ADS;
const intl6 = tmp6(1114).intl;
const string5 = intl6.string;
if (arg0) {
let string5Result = string5(_5o1UL6);
} else {
string5Result = string5(_5o1UL6.XeeDhK);
}
obj3[1] = string5Result;
obj3 = items.push(obj3);
}
};