decord/source/modules/markup/Timestamp.native.tsx

41 lines
1.2 KiB
TypeScript
Raw Normal View History

// Module ID: 10058
// Function ID: 10059
2026-07-20 16:05:17 +00:00
// Name: Timestamp
// Dependencies: [19, 21, 4481, 709, 10059, 1296, 4194, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 10058 (Timestamp)
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 */;
import itemsDefault from "items" /* 10059 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4481 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
noopAll;
2026-07-29 08:29:29 +00:00
createCacheKey = { timestamp: null };
2026-08-24 06:08:38 +00:00
createCacheKey = { color: ThemesDefault.colors.TEXT_DEFAULT, backgroundColor: ThemesDefault.colors.BORDER_SUBTLE };
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
2026-08-24 06:08:38 +00:00
let closure_4 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/markup/Timestamp.native.tsx");
2026-07-20 16:05:17 +00:00
export default function Timestamp(node) {
node = node.node;
2026-08-24 06:08:38 +00:00
const tmp = callback();
2026-07-29 08:29:29 +00:00
let style = tmp.timestamp;
if (style == null) {
style = node.style;
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
const tmp2 = itemsDefault(node);
2026-07-29 08:29:29 +00:00
const tmp3 = jsx;
2026-09-02 09:53:35 +00:00
return tmp3(node(1296).LegacyText, {
2026-07-29 08:29:29 +00:00
style,
onPress() {
2026-08-24 06:08:38 +00:00
let obj = closure_1_1(closure_1_2[6]);
2026-07-29 08:29:29 +00:00
obj = { key: "TIMESTAMP", content: node.full };
obj.open(obj);
},
2026-08-24 06:08:38 +00:00
children: itemsDefault(node)
2026-07-29 08:29:29 +00:00
});
2026-07-20 16:05:17 +00:00
};