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

49 lines
1.7 KiB
TypeScript
Raw Normal View History

// Module ID: 16583
// Function ID: 16584
2026-07-20 16:05:17 +00:00
// Name: ContentInventoryEntryRow
// Dependencies: [19, 4253, 21, 504, 8193, 16584, 16593, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 16583 (ContentInventoryEntryRow)
import GamingLikeEntryRowDefault from "GamingLikeEntryRow" /* 16584 */;
import CustomStatusEntryRowDefault from "CustomStatusEntryRow" /* 16593 */;
import noop from "module_19" /* 19 */;
import RelationshipStore from "RelationshipStore" /* 4253 */;
2026-07-23 10:11:24 +00:00
const require = fn;
const jsx = fn(21).jsx;
const size = fn(2);
const result = size.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;
const items = [RelationshipStore];
if (obj.useStateFromStores(items, () => RelationshipStore.isBlockedOrIgnored(content.author_id))) {
2026-07-20 16:05:17 +00:00
return null;
} else {
const content_type = content.content_type;
if (tmp(8193).ContentInventoryEntryType.TOP_GAME !== content_type) {
if (tmp(8193).ContentInventoryEntryType.PLAYED_GAME !== content_type) {
if (tmp(8193).ContentInventoryEntryType.CUSTOM_STATUS === content_type) {
const obj2 = { content, renderForScreenshot: flag, visible: null };
2026-07-29 08:29:29 +00:00
if (flag2 == null) {
flag2 = false;
2026-07-20 16:05:17 +00:00
}
obj2.visible = flag2;
return jsx(CustomStatusEntryRowDefault, { content, renderForScreenshot: flag, visible: null });
2026-07-20 16:05:17 +00:00
} else {
return null;
}
}
}
const obj3 = { content, renderForScreenshot: flag };
return jsx(GamingLikeEntryRowDefault, { content, renderForScreenshot: flag });
2026-07-20 16:05:17 +00:00
}
obj = content(504);
2026-07-20 16:05:17 +00:00
};