decord/alpha/source/modules/messages/getHeaderTextForInvite.tsx

65 lines
1.7 KiB
TypeScript
Raw Permalink Normal View History

2026-10-13 12:43:34 +00:00
// Module ID: 13851
// Function ID: 13852
2026-07-20 16:05:17 +00:00
// Name: getHeaderTextForInvite
2026-10-03 08:58:59 +00:00
// Dependencies: [1126, 2]
2026-07-20 16:05:17 +00:00
// Exports: getHeaderTextForInvite
2026-10-13 12:43:34 +00:00
// Module 13851 (getHeaderTextForInvite)
2026-10-03 08:58:59 +00:00
import intl2 from "intl" /* 1126 */;
import size from "module_2" /* 2 */;
2026-08-24 06:08:38 +00:00
const result = size.fileFinishedImporting("modules/messages/getHeaderTextForInvite.tsx");
2026-07-20 16:05:17 +00:00
export const getHeaderTextForInvite = function getHeaderTextForInvite(arg0) {
2026-10-03 08:58:59 +00:00
let isGuest;
let isHubGuild;
let isOwnInvite;
let isStage;
let isStream;
let isVoiceChannel;
let stringResult3;
2026-07-20 16:05:17 +00:00
({ isOwnInvite, isGuest, isStage, isStream } = arg0);
({ isVoiceChannel, isHubGuild } = arg0);
2026-10-03 08:58:59 +00:00
const intl = intl2.intl;
2026-07-20 16:05:17 +00:00
const string = intl.string;
2026-10-03 08:58:59 +00:00
const t = intl2.t;
2026-07-20 16:05:17 +00:00
if (isVoiceChannel) {
2026-10-03 08:58:59 +00:00
let stringResult1;
if (isOwnInvite) {
let stringResult;
2026-07-20 16:05:17 +00:00
if (isStream) {
2026-10-03 08:58:59 +00:00
stringResult = string(t.N85DCl);
2026-07-20 16:05:17 +00:00
} else if (isStage) {
2026-10-03 08:58:59 +00:00
stringResult = string(t.TJQcNv);
2026-07-20 16:05:17 +00:00
} else if (isGuest) {
2026-10-03 08:58:59 +00:00
stringResult = string(t.mJyBir);
2026-07-20 16:05:17 +00:00
} else {
2026-10-03 08:58:59 +00:00
stringResult = string(t.lxTgP9);
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
stringResult1 = stringResult;
} else if (isStream) {
stringResult1 = string(t.Mnvc3C);
2026-07-20 16:05:17 +00:00
} else if (isStage) {
2026-10-03 08:58:59 +00:00
stringResult1 = string(t.FdPNr5);
2026-07-20 16:05:17 +00:00
} else if (isGuest) {
2026-10-03 08:58:59 +00:00
stringResult1 = string(t.f4gmrf);
2026-07-20 16:05:17 +00:00
} else {
2026-10-03 08:58:59 +00:00
stringResult1 = string(t.H39rEY);
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
stringResult3 = stringResult1;
2026-07-20 16:05:17 +00:00
} else if (isHubGuild) {
2026-10-03 08:58:59 +00:00
let stringResult2;
2026-07-20 16:05:17 +00:00
if (isOwnInvite) {
2026-10-03 08:58:59 +00:00
stringResult2 = string(t.UxmnHx);
2026-07-20 16:05:17 +00:00
} else {
2026-10-03 08:58:59 +00:00
stringResult2 = string(t.sigPEf);
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
stringResult3 = stringResult2;
} else if (isOwnInvite) {
stringResult3 = string(t["oU/lsl"]);
2026-07-20 16:05:17 +00:00
} else {
2026-10-03 08:58:59 +00:00
stringResult3 = string(t.BoQUFf);
2026-07-20 16:05:17 +00:00
}
2026-10-03 08:58:59 +00:00
return stringResult3;
2026-07-20 16:05:17 +00:00
};