2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 16458
|
|
|
|
|
// Function ID: 16459
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: ActivitiesDebugOverlay
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [19, 17, 21, 4668, 4227, 712, 8800, 1629, 4739, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 16458 (ActivitiesDebugOverlay)
|
|
|
|
|
import noopAll from "noop" /* 19 */;
|
|
|
|
|
import ThemesDefault from "Themes" /* 712 */;
|
|
|
|
|
import useSafeAreaInsetsDefault from "useSafeAreaInsets" /* 1629 */;
|
|
|
|
|
import Text from "Text" /* 4739 */;
|
|
|
|
|
import useThermalState from "useThermalState" /* 8800 */;
|
|
|
|
|
import useThermalStateDefault from "useThermalState" /* 8800 */;
|
|
|
|
|
import { View } from "get ActivityIndicator" /* 17 */;
|
|
|
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
|
|
|
import createCacheKey from "createCacheKey" /* 4668 */;
|
|
|
|
|
import hexToRgba from "hexToRgba" /* 4227 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
require = arg1;
|
|
|
|
|
noopAll;
|
2026-07-29 08:29:29 +00:00
|
|
|
({ jsxs: c4, jsx: c5 } = jsxProd);
|
|
|
|
|
createCacheKey = { container: null, row: null };
|
|
|
|
|
createCacheKey = { position: "absolute", top: 0, left: 0, backgroundColor: null, paddingRight: 16, paddingBottom: 16 };
|
2026-08-24 06:08:38 +00:00
|
|
|
createCacheKey[3] = hexToRgba.hexWithOpacity(ThemesDefault.unsafe_rawColors.BLACK, 0.7);
|
2026-07-29 08:29:29 +00:00
|
|
|
createCacheKey[0] = createCacheKey;
|
|
|
|
|
createCacheKey[1] = { flexDirection: "row" };
|
2026-08-24 06:08:38 +00:00
|
|
|
let closure_6 = createCacheKey.createStyles(createCacheKey);
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/activities/native/ActivitiesDebugOverlay.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function ActivitiesDebugOverlay() {
|
2026-08-24 06:08:38 +00:00
|
|
|
const tmp = callback3();
|
|
|
|
|
const tmp4 = useThermalStateDefault();
|
2026-07-29 08:29:29 +00:00
|
|
|
let str = "text-overlay-light";
|
|
|
|
|
let str2 = "";
|
2026-08-24 06:08:38 +00:00
|
|
|
if (useThermalState.ThermalStates.UNHANDLED !== tmp4) {
|
2026-07-29 08:29:29 +00:00
|
|
|
str = "text-feedback-positive";
|
|
|
|
|
str2 = "nominal";
|
2026-08-24 06:08:38 +00:00
|
|
|
if (tmp5(8800).ThermalStates.NOMINAL !== tmp4) {
|
2026-07-29 08:29:29 +00:00
|
|
|
str = "text-feedback-warning";
|
|
|
|
|
str2 = "fair";
|
2026-08-24 06:08:38 +00:00
|
|
|
if (tmp5(8800).ThermalStates.FAIR !== tmp4) {
|
2026-07-29 08:29:29 +00:00
|
|
|
str2 = "serious";
|
|
|
|
|
str = "text-feedback-critical";
|
2026-08-24 06:08:38 +00:00
|
|
|
if (tmp5(8800).ThermalStates.SERIOUS !== tmp4) {
|
|
|
|
|
if (tmp5(8800).ThermalStates.CRITICAL === tmp4) {
|
2026-07-29 08:29:29 +00:00
|
|
|
str2 = "critical";
|
|
|
|
|
str = "text-feedback-critical";
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
const rect = useSafeAreaInsetsDefault();
|
2026-07-29 08:29:29 +00:00
|
|
|
let obj = { style: items, pointerEvents: "none", children: null };
|
2026-07-23 10:11:24 +00:00
|
|
|
items = [tmp.container, ];
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { paddingTop: rect.top + 16, paddingLeft: rect.left + 16 };
|
|
|
|
|
items[1] = obj;
|
2026-07-29 08:29:29 +00:00
|
|
|
obj = { style: tmp.row, children: null };
|
2026-08-24 06:08:38 +00:00
|
|
|
const items1 = [callback(Text.Text, { variant: "text-md/normal", color: "text-overlay-light", children: ["thermal state:", " "] }), callback2(Text.Text, { variant: "text-md/normal", color: str, children: str2 })];
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[1] = items1;
|
|
|
|
|
obj[2] = callback(View, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
return callback2(View, obj);
|
|
|
|
|
};
|