Files
discord-decomp/modules/user_profile/UserProfileWidgetConstants.tsx
T
2026-11-01 12:12:55 +02:00

26 lines
1.2 KiB
TypeScript

// Metro module 5902 (f5903).
import ApplicationStore from "../applications/ApplicationStore";
import { WidgetType } from "../../_bundle/Module5897";
import { intl, t } from "../../intl/index.native";
const r18 = [WidgetType.PERSONAL, WidgetType.CLIPS_GALLERY, WidgetType.APPLICATION, WidgetType.FAVORITE_GAMES, WidgetType.PLAYED_GAMES, WidgetType.CURRENT_GAMES, WidgetType.WANT_TO_PLAY_GAMES];
const r43 = {};
r43[WidgetType.FAVORITE_GAMES] = () => intl.string(t.sUQar8);
r43[WidgetType.CURRENT_GAMES] = () => intl.string(t.SqNnus);
r43[WidgetType.WANT_TO_PLAY_GAMES] = () => intl.string(t.bWSQwW);
r43[WidgetType.PLAYED_GAMES] = () => intl.string(t.scOKET);
r43[WidgetType.APPLICATION] = (a0) => {
let r8 = ApplicationStore.getApplication(a0.applicationId)?.name;
if (r8 == null) {
r8 = "";
}
return r8;
};
r43[WidgetType.PERSONAL] = () => intl.string(t.AVkYMx);
r43[WidgetType.CLIPS_GALLERY] = () => intl.string(t.zY8Ghg);
const r83 = [WidgetType.FAVORITE_GAMES];
const r88 = [WidgetType.CURRENT_GAMES, WidgetType.FAVORITE_GAMES, WidgetType.CLIPS_GALLERY];
export { r18 as WIDGET_SORT_ORDER };
export { r43 as WIDGET_TITLES_BY_TYPE };
export { r83 as WIDGETS_SUPPORTING_COMMENT };
export { r88 as WIDGETS_SUPPORTING_TAGS };