decord/alpha/source/modules/debug/native/ShareLogsButton.tsx

55 lines
2 KiB
TypeScript
Raw Normal View History

2026-10-06 11:16:32 +00:00
// Module ID: 15408
// Function ID: 15409
// Name: ShareLogsButton
2026-10-06 11:16:32 +00:00
// Dependencies: [19, 21, 558, 576, 5916, 1126, 8048, 7, 12730, 2]
2026-07-20 16:05:17 +00:00
2026-10-06 11:16:32 +00:00
// Module 15408 (ShareLogsButton)
import LogAggregator from "LogAggregator" /* 7 */;
2026-10-03 08:58:59 +00:00
import Fragment from "Fragment" /* 21 */;
import react2 from "react" /* 576 */;
2026-10-06 11:16:32 +00:00
import showShareActionSheet2 from "showShareActionSheet" /* 8048 */;
2026-10-03 08:58:59 +00:00
import react from "react" /* 19 */;
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
import size from "module_2" /* 2 */;
2026-07-23 10:11:24 +00:00
2026-10-03 08:58:59 +00:00
let tmp;
const intl2 = tmp(1126);
2026-10-06 11:16:32 +00:00
const Pressables = tmp(5916);
2026-10-03 08:58:59 +00:00
const jsx = Fragment.jsx;
const memoResult = react.memo(ReactCompilerGating.isReactCompilerEnabled() ? (() => {
let first;
let obj = react2;
const cResult = obj.c(1);
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
const PressableOpacity = Pressables.PressableOpacity;
const intl = intl2.intl;
const tmp6 = <PressableOpacity accessibilityLabel={intl.string(intl2.t["Aw+09z"])} onPress={function onPress() {
let obj2;
const obj = { message: obj2.stringify() };
const showShareActionSheet = showShareActionSheet2.showShareActionSheet;
showShareActionSheet2;
obj2 = LogAggregator;
return showShareActionSheet(obj, "Debug Logs");
}}>{null}</PressableOpacity>;
cResult[0] = tmp6;
first = tmp6;
} else {
first = cResult[0];
}
return first;
}) : (() => {
const PressableOpacity = Pressables.PressableOpacity;
const intl = intl2.intl;
return <PressableOpacity accessibilityLabel={intl.string(intl2.t["Aw+09z"])} onPress={function onPress() {
let obj2;
const obj = { message: obj2.stringify() };
const showShareActionSheet = showShareActionSheet2.showShareActionSheet;
showShareActionSheet2;
obj2 = LogAggregator;
return showShareActionSheet(obj, "Debug Logs");
}}>{null}</PressableOpacity>;
}));
const result = size.fileFinishedImporting("modules/debug/native/ShareLogsButton.tsx");
2026-10-03 08:58:59 +00:00
export default memoResult;