decord/source/modules/conversations/components/native/ConversationPreviewBlockedMessage.tsx

35 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 8732
// Function ID: 8733
2026-07-31 08:44:05 +00:00
// Name: ConversationPreviewBlockedMessage
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 21, 4813, 712, 8733, 8650, 4376, 1236, 2]
2026-07-31 08:44:05 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 8732 (ConversationPreviewBlockedMessage)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
2026-08-25 06:04:03 +00:00
import Text from "Text" /* 4376 */;
import Stack from "Stack" /* 4813 */;
2026-08-24 06:08:38 +00:00
import jsxProd from "jsxProd" /* 21 */;
2026-07-31 08:44:05 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
2026-07-31 08:44:05 +00:00
({ jsx: c3, jsxs: c4 } = jsxProd);
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/conversations/components/native/ConversationPreviewBlockedMessage.tsx");
2026-07-31 08:44:05 +00:00
export default function ConversationPreviewBlockedMessage(reason) {
2026-08-24 06:08:38 +00:00
let obj = { direction: "horizontal", spacing: ThemesDefault.space.PX_8, align: "center", children: null };
2026-07-31 08:44:05 +00:00
if ("blocked" === reason.reason) {
2026-08-25 06:04:03 +00:00
let EyeSlashIcon = tmp2(8733).DenyIcon;
2026-07-31 08:44:05 +00:00
} else {
2026-08-25 06:04:03 +00:00
EyeSlashIcon = tmp2(8650).EyeSlashIcon;
2026-07-31 08:44:05 +00:00
}
2026-08-24 06:08:38 +00:00
obj = { size: "sm", color: ThemesDefault.colors.TEXT_MUTED };
2026-07-31 08:44:05 +00:00
const items = [closure_3(EyeSlashIcon, obj), ];
const intl = tmp2(1236).intl;
const t = tmp2(1236).t;
obj = { variant: "text-md/normal", color: "text-muted", children: intl.string(tmp6 ? t["WPe+xL"] : t.uxrh1O) };
2026-08-24 06:08:38 +00:00
items[1] = closure_3(Text.Text, obj);
2026-07-31 08:44:05 +00:00
obj[3] = items;
2026-08-24 06:08:38 +00:00
return closure_4(Stack.Stack, obj);
2026-07-31 08:44:05 +00:00
};