decord/source/modules/markup/native/MarkupInlineChannelMentionRules.tsx
github-actions 7450227d0b chore: update source for alpha 345.4
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9596_m.js (380.6 MB)
2026-09-04 17:41:35 +00:00

46 lines
1.7 KiB
TypeScript

// Module ID: 10057
// Function ID: 10058
// Name: inlineChannelMentionReact
// Dependencies: [19, 21, 8027, 1296, 1394, 2]
// Exports: createInlineChannelReact, inlineChannelMentionReact, inlineChannelReact
// Module 10057 (inlineChannelMentionReact)
import noopAll from "noop" /* 19 */;
import { jsxs } from "jsxProd" /* 21 */;
let c0 = arg1;
noopAll;
c0 = "\u{1F4AC}";
const result = require("set").fileFinishedImporting("modules/markup/native/MarkupInlineChannelMentionRules.tsx");
export const inlineChannelMentionReact = function inlineChannelMentionReact(inContent, output, key) {
if (null == inContent.inContent) {
let smartOutputResult = u1F4AC(8027).smartOutput(inContent, output, key);
const obj3 = u1F4AC(8027);
} else {
const obj = { children: null };
const items = [output(inContent.inContent, key), " \u203A ", u1F4AC(8027).smartOutput(inContent, output, key)];
obj[0] = items;
smartOutputResult = jsxs(u1F4AC(1296).LegacyText, { children: null }, key.key);
const obj2 = u1F4AC(8027);
}
return smartOutputResult;
};
export function createInlineChannelReact(arg0) {
let str = arg0;
if (arg0 === undefined) {
str = "\u{1F4AC}";
}
return (node, output, key) => {
const obj = { children: null };
const items = [str, str(closure_1_1[2]).smartOutput(node, output, key), undefined];
obj[0] = items;
closure_1_2(str(closure_1_1[3]).LegacyText, obj, key.key);
};
}
export const inlineChannelReact = (node, output, key) => {
const obj = { children: null };
const items = [str, str(closure_1_1[2]).smartOutput(node, output, key), undefined];
obj[0] = items;
closure_1_2(str(closure_1_1[3]).LegacyText, obj, key.key);
};