decord/source/modules/user_profile/native/UserProfileGameFriendsCard.tsx

73 lines
2.8 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 12142
// Function ID: 95128
2026-07-20 16:05:17 +00:00
// Name: UserProfileGameFriendsCard
2026-07-24 07:16:23 +00:00
// Dependencies: [31, 33, 4130, 5468, 1212, 11688, 5509, 4126, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-24 07:16:23 +00:00
// Module 12142 (UserProfileGameFriendsCard)
2026-07-23 10:11:24 +00:00
import "result";
import { jsx } from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
const require = arg1;
let closure_4 = _createForOfIteratorHelperLoose.createStyles({ card: { flexDirection: "column" } });
const result = require("_createForOfIteratorHelperLoose").fileFinishedImporting("modules/user_profile/native/UserProfileGameFriendsCard.tsx");
2026-07-20 16:05:17 +00:00
export default function UserProfileGameFriendsCard(arg0) {
let applicationIds;
let style;
let importDefault;
2026-07-23 10:11:24 +00:00
let dependencyMap;
2026-07-20 16:05:17 +00:00
let jsx;
({ applicationIds, style } = arg0);
const tmp = callback();
2026-07-24 07:16:23 +00:00
const found = importDefault(5468)(applicationIds).filter((arg0) => null != arg0);
2026-07-20 16:05:17 +00:00
if (0 === found.length) {
return null;
} else {
importDefault = "text-md/normal";
if (1 === found.length) {
2026-07-23 10:11:24 +00:00
const intl2 = found(1212).intl;
2026-07-20 16:05:17 +00:00
let obj = {
applicationName() {
2026-07-24 07:16:23 +00:00
return lib(textmdnormal(11688), { application: found[0], textVariant: textmdnormal, iconSize: 16 }, found[0].id);
2026-07-20 16:05:17 +00:00
}
};
2026-07-23 10:11:24 +00:00
let formatResult = intl2.format(found(1212).t.wQ6urw, obj);
2026-07-20 16:05:17 +00:00
} else if (2 === found.length) {
2026-07-23 10:11:24 +00:00
const intl = found(1212).intl;
2026-07-20 16:05:17 +00:00
obj = {
applicationName() {
2026-07-24 07:16:23 +00:00
return lib(textmdnormal(11688), { application: found[0], textVariant: textmdnormal, iconSize: 16 }, found[0].id);
2026-07-20 16:05:17 +00:00
},
applicationName2() {
2026-07-24 07:16:23 +00:00
return lib(textmdnormal(11688), { application: found[1], textVariant: textmdnormal, iconSize: 16 }, found[1].id);
2026-07-20 16:05:17 +00:00
}
};
2026-07-23 10:11:24 +00:00
formatResult = intl.format(found(1212).t.C98CSN, obj);
2026-07-20 16:05:17 +00:00
} else {
2026-07-23 10:11:24 +00:00
dependencyMap = found[found.length - 1];
2026-07-20 16:05:17 +00:00
jsx = found.slice(0, -1);
2026-07-23 10:11:24 +00:00
const intl4 = found(1212).intl;
2026-07-20 16:05:17 +00:00
obj = {
applications() {
2026-07-23 10:11:24 +00:00
return lib.map((application) => callback2(callback(table[5]), { application, useComma: true, textVariant: outer1_1, iconSize: 16 }, application.id));
2026-07-20 16:05:17 +00:00
},
applicationNameLast() {
2026-07-24 07:16:23 +00:00
return lib(textmdnormal(11688), { application: dependencyMap, textVariant: textmdnormal, iconSize: 16 });
2026-07-20 16:05:17 +00:00
}
};
2026-07-23 10:11:24 +00:00
formatResult = intl4.format(found(1212).t.UxpwAh, obj);
2026-07-20 16:05:17 +00:00
}
const obj1 = {};
const items = [tmp.card, style];
obj1.style = items;
2026-07-23 10:11:24 +00:00
const intl3 = found(1212).intl;
obj1.title = intl3.string(found(1212).t["Uv/eTx"]);
const obj2 = { variant: "text-md/normal", color: "text-default", children: formatResult };
obj1.children = jsx(found(4126).Text, { variant: "text-md/normal", color: "text-default", children: formatResult });
2026-07-24 07:16:23 +00:00
return jsx(importDefault(5509), {});
2026-07-20 16:05:17 +00:00
}
2026-07-24 07:16:23 +00:00
const arr = importDefault(5468)(applicationIds);
2026-07-20 16:05:17 +00:00
};