decord/source/modules/icymi/native/ContentInventoryEntryRow.tsx
2026-08-13 07:00:46 +00:00

49 lines
1.7 KiB
TypeScript

// Module ID: 15697
// Function ID: 15698
// Name: ContentInventoryEntryRow
// Dependencies: [19, 3998, 21, 589, 8281, 15698, 15707, 2]
// Exports: default
// Module 15697 (ContentInventoryEntryRow)
import "noop";
import markAllUserIdListsStale from "markAllUserIdListsStale";
import { jsx } from "jsxProd";
const require = arg1;
const result = require("jsxProd").fileFinishedImporting("modules/icymi/native/ContentInventoryEntryRow.tsx");
export default function ContentInventoryEntryRow(content) {
content = content.content;
let flag = content.renderForScreenshot;
if (flag === undefined) {
flag = false;
}
let flag2 = content.visible;
let obj = content(589);
const items = [markAllUserIdListsStale];
if (obj.useStateFromStores(items, () => outer1_3.isBlockedOrIgnored(content.author_id))) {
return null;
} else {
const content_type = content.content_type;
if (tmp(8281).ContentInventoryEntryType.TOP_GAME !== content_type) {
if (tmp(8281).ContentInventoryEntryType.PLAYED_GAME !== content_type) {
if (tmp(8281).ContentInventoryEntryType.CUSTOM_STATUS === content_type) {
obj = { content: null, renderForScreenshot: null, visible: null };
obj[0] = content;
obj[1] = flag;
if (flag2 == null) {
flag2 = false;
}
obj[2] = flag2;
return jsx(importDefault(15707), { content: null, renderForScreenshot: null, visible: null });
} else {
return null;
}
}
}
obj = { content: null, renderForScreenshot: null };
obj[0] = content;
obj[1] = flag;
return jsx(importDefault(15698), { content: null, renderForScreenshot: null });
}
};