decord/source/modules/emojis/native/Emoji.tsx
2026-07-29 08:29:29 +00:00

59 lines
1.7 KiB
TypeScript

// Module ID: 5206
// Function ID: 5207
// Name: Emoji
// Dependencies: [19, 17, 1302, 21, 500, 3834, 1297, 5141, 4035, 5207, 5208, 2]
// Exports: default
// Module 5206 (Emoji)
import "noop";
import { View } from "get ActivityIndicator";
import handleThemeChange from "handleThemeChange";
import { jsx } from "jsxProd";
const require = arg1;
const result = require("handleThemeChange").fileFinishedImporting("modules/emojis/native/Emoji.tsx");
export default function Emoji(arg0) {
let adjustsFontSizeToFit;
let fastImageStyle;
let forceTextEmoji;
let name;
let src;
let style;
let textEmojiStyle;
({ src, name } = arg0);
({ style, textEmojiStyle, fastImageStyle, forceTextEmoji, adjustsFontSizeToFit } = arg0);
let obj = require(500) /* set */;
let uRL = src;
if (obj.isAndroid()) {
uRL = src;
if (null == src) {
let obj1 = importDefault(3834);
uRL = obj1.getURL(name);
}
}
obj = { style, children: null };
if (!forceTextEmoji) {
if (null != uRL) {
if ("" !== uRL) {
obj = { resizeMode: "contain", style: null, placeholder: null, source: null };
obj[1] = fastImageStyle;
const tmp10 = importDefault(5141);
if (tmpResult.isThemeDark(theme.theme)) {
let tmp9Result = tmp9(5207);
} else {
tmp9Result = tmp9(5208);
}
obj[2] = tmp9Result;
obj1 = { uri: null };
obj1[0] = uRL;
obj[3] = obj1;
let tmp6Result = tmp6(tmp10, obj);
tmpResult = tmp(4035);
}
obj[1] = tmp6Result;
return tmp6(tmp7, obj);
}
}
tmp6Result = tmp6(tmp(1297).LegacyText, { style: textEmojiStyle, allowFontScaling: false, adjustsFontSizeToFit, children: name });
};