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

35 lines
1.3 KiB
TypeScript
Raw Normal View History

2026-09-02 09:53:35 +00:00
// Module ID: 7846
// Function ID: 7847
2026-07-31 08:44:05 +00:00
// Name: ConversationPreviewBlockedMessage
2026-09-02 09:53:35 +00:00
// Dependencies: [19, 21, 4926, 709, 7847, 7750, 4474, 1233, 2]
2026-07-31 08:44:05 +00:00
// Exports: default
2026-09-02 09:53:35 +00:00
// Module 7846 (ConversationPreviewBlockedMessage)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
2026-09-02 09:53:35 +00:00
import ThemesDefault from "Themes" /* 709 */;
2026-09-01 10:26:29 +00:00
import Text from "Text" /* 4474 */;
import Stack from "Stack" /* 4926 */;
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-09-02 09:53:35 +00:00
let EyeSlashIcon = tmp2(7847).DenyIcon;
2026-07-31 08:44:05 +00:00
} else {
2026-09-02 09:53:35 +00:00
EyeSlashIcon = tmp2(7750).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), ];
2026-09-02 09:53:35 +00:00
const intl = tmp2(1233).intl;
const t = tmp2(1233).t;
2026-07-31 08:44:05 +00:00
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
};