2026-09-11 19:12:58 +00:00
|
|
|
// Module ID: 14018
|
|
|
|
|
// Function ID: 14019
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: GuildReportRaidModalConstants
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [1074, 2024, 1114, 2]
|
2026-08-25 06:04:03 +00:00
|
|
|
// Exports: getReportRaidHelpArticleURL, getReportRaidTypeLabel
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-11 19:12:58 +00:00
|
|
|
// Module 14018 (GuildReportRaidModalConstants)
|
2026-09-10 05:38:07 +00:00
|
|
|
import Constants from "Constants" /* 1074 */;
|
|
|
|
|
import util from "util" /* 1114 */;
|
|
|
|
|
import HelpdeskUtilsDefault from "HelpdeskUtils" /* 2024 */;
|
|
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const HelpdeskArticles = Constants.HelpdeskArticles;
|
|
|
|
|
const ReportRaidTypes = { DM_SPAM: "DM_SPAM", MESSAGE_SPAM: "MESSAGE_SPAM", MENTION_SPAM: "MENTION_SPAM", SUSPICIOUS_USERS: "SUSPICIOUS_USERS", SETTINGS_SPAM: "SETTINGS_SPAM" };
|
2026-07-20 16:05:17 +00:00
|
|
|
const items = [, , , , ];
|
2026-09-10 05:38:07 +00:00
|
|
|
({ MESSAGE_SPAM: arr[0], DM_SPAM: arr[1], MENTION_SPAM: arr[2], SUSPICIOUS_USERS: arr[3], SETTINGS_SPAM: arr[4] } = ReportRaidTypes);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/guild_antiraid/GuildReportRaidModalConstants.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
export const getReportRaidHelpArticleURL = function getReportRaidHelpArticleURL() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return HelpdeskUtilsDefault.getArticleURL(HelpdeskArticles.GUILD_RAID);
|
2026-08-25 06:04:03 +00:00
|
|
|
};
|
2026-09-10 05:38:07 +00:00
|
|
|
export { ReportRaidTypes };
|
2026-07-20 16:05:17 +00:00
|
|
|
export const REPORT_RAID_OPTIONS = items;
|
|
|
|
|
export const getReportRaidTypeLabel = function getReportRaidTypeLabel(arg0) {
|
|
|
|
|
if (obj.DM_SPAM === arg0) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl5 = util.intl;
|
|
|
|
|
return intl5.string(util.t["9CYNmS"]);
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.MENTION_SPAM === arg0) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl4 = util.intl;
|
|
|
|
|
return intl4.string(util.t["hR/IdO"]);
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.MESSAGE_SPAM === arg0) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl3 = util.intl;
|
|
|
|
|
return intl3.string(util.t.fwloj2);
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.SETTINGS_SPAM === arg0) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl2 = util.intl;
|
|
|
|
|
return intl2.string(util.t.ETFVFw);
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.SUSPICIOUS_USERS === arg0) {
|
2026-09-10 05:38:07 +00:00
|
|
|
const intl = util.intl;
|
|
|
|
|
return intl.string(util.t["lKXu+n"]);
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
};
|