2026-09-07 16:44:02 +00:00
|
|
|
// Module ID: 16503
|
|
|
|
|
// Function ID: 16504
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: ContentInventoryEntryRow
|
2026-09-07 16:44:02 +00:00
|
|
|
// Dependencies: [19, 4209, 21, 504, 8130, 16504, 16513, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-07 16:44:02 +00:00
|
|
|
// Module 16503 (ContentInventoryEntryRow)
|
2026-08-24 06:08:38 +00:00
|
|
|
import noopAll from "noop" /* 19 */;
|
2026-09-07 16:44:02 +00:00
|
|
|
import itemsDefault from "items" /* 16504 */;
|
|
|
|
|
import CustomStatusEntryRowDefault from "CustomStatusEntryRow" /* 16513 */;
|
2026-09-05 10:56:28 +00:00
|
|
|
import closure_3 from "markAllUserIdListsStale" /* 4209 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
import { jsx } from "jsxProd" /* 21 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-08-24 06:08:38 +00:00
|
|
|
noopAll;
|
|
|
|
|
const result = require("set").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;
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
let flag2 = content.visible;
|
2026-09-05 10:56:28 +00:00
|
|
|
let obj = content(504);
|
2026-08-24 06:08:38 +00:00
|
|
|
const items = [closure_3];
|
|
|
|
|
if (obj.useStateFromStores(items, () => closure_1_3.isBlockedOrIgnored(content.author_id))) {
|
2026-07-20 16:05:17 +00:00
|
|
|
return null;
|
|
|
|
|
} else {
|
|
|
|
|
const content_type = content.content_type;
|
2026-09-05 10:56:28 +00:00
|
|
|
if (tmp(8130).ContentInventoryEntryType.TOP_GAME !== content_type) {
|
|
|
|
|
if (tmp(8130).ContentInventoryEntryType.PLAYED_GAME !== content_type) {
|
|
|
|
|
if (tmp(8130).ContentInventoryEntryType.CUSTOM_STATUS === content_type) {
|
2026-07-29 08:29:29 +00:00
|
|
|
obj = { content: null, renderForScreenshot: null, visible: null };
|
|
|
|
|
obj[0] = content;
|
|
|
|
|
obj[1] = flag;
|
|
|
|
|
if (flag2 == null) {
|
|
|
|
|
flag2 = false;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[2] = flag2;
|
2026-08-24 06:08:38 +00:00
|
|
|
return jsx(CustomStatusEntryRowDefault, { content: null, renderForScreenshot: null, visible: null });
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
obj = { content: null, renderForScreenshot: null };
|
|
|
|
|
obj[0] = content;
|
|
|
|
|
obj[1] = flag;
|
2026-08-24 06:08:38 +00:00
|
|
|
return jsx(itemsDefault, { content: null, renderForScreenshot: null });
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|