decord/source/modules/icymi/native/ContentInventoryEntryRow.tsx

47 lines
1.6 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 15274
// Function ID: 116476
2026-07-20 16:05:17 +00:00
// Name: ContentInventoryEntryRow
2026-07-24 07:16:23 +00:00
// Dependencies: [31, 3767, 33, 566, 7901, 15275, 15284, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-24 07:16:23 +00:00
// Module 15274 (ContentInventoryEntryRow)
2026-07-23 10:11:24 +00:00
import "result";
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import { jsx } from "jsxProd";
const require = arg1;
const result = require("jsxProd").fileFinishedImporting("modules/icymi/native/ContentInventoryEntryRow.tsx");
2026-07-20 16:05:17 +00:00
export default function ContentInventoryEntryRow(content) {
content = content.content;
let flag = content.renderForScreenshot;
if (flag === undefined) {
flag = false;
}
const visible = content.visible;
2026-07-23 10:11:24 +00:00
let obj = content(566);
const items = [_isNativeReflectConstruct];
if (obj.useStateFromStores(items, () => outer1_3.isBlockedOrIgnored(content.author_id))) {
2026-07-20 16:05:17 +00:00
return null;
} else {
const content_type = content.content_type;
2026-07-24 07:16:23 +00:00
if (content(7901).ContentInventoryEntryType.TOP_GAME !== content_type) {
if (content(7901).ContentInventoryEntryType.PLAYED_GAME !== content_type) {
if (content(7901).ContentInventoryEntryType.CUSTOM_STATUS === content_type) {
2026-07-20 16:05:17 +00:00
obj = { content, renderForScreenshot: flag };
let tmp11 = null != visible;
if (tmp11) {
tmp11 = visible;
}
obj.visible = tmp11;
2026-07-24 07:16:23 +00:00
return jsx(importDefault(15284), { content, renderForScreenshot: flag });
2026-07-20 16:05:17 +00:00
} else {
return null;
}
}
}
obj = { content, renderForScreenshot: flag };
2026-07-24 07:16:23 +00:00
return jsx(importDefault(15275), { content, renderForScreenshot: flag });
2026-07-20 16:05:17 +00:00
}
};