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

55 lines
2 KiB
TypeScript
Raw Normal View History

2026-10-12 06:59:38 +00:00
// Module ID: 15868
// Function ID: 15869
// Name: ShareLogsButton
2026-10-12 06:59:38 +00:00
// Dependencies: [19, 21, 558, 576, 6185, 1126, 8482, 7, 13052, 2]
2026-07-20 16:05:17 +00:00
2026-10-12 06:59:38 +00:00
// Module 15868 (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-12 06:59:38 +00:00
import showShareActionSheet2 from "showShareActionSheet" /* 8482 */;
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-12 06:59:38 +00:00
const Pressables = tmp(6185);
2026-10-03 08:58:59 +00:00
const jsx = Fragment.jsx;
2026-10-08 09:57:35 +00:00
const memoResult = react.memo(ReactCompilerGating.isReactCompilerEnabled() ? (function ShareLogsButton() {
2026-10-03 08:58:59 +00:00
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;
2026-10-08 09:57:35 +00:00
}) : (function ShareLogsButton() {
2026-10-03 08:58:59 +00:00
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;