decord/source/modules/activities/native/IgnoreThermalStateAlert.tsx

46 lines
1.9 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 12483
// Function ID: 12484
2026-07-20 16:05:17 +00:00
// Name: IgnoreThermalStateAlert
2026-08-24 06:08:38 +00:00
// Dependencies: [19, 21, 4668, 4768, 1236, 8738, 4739, 2]
2026-07-20 16:05:17 +00:00
// Exports: IgnoreThermalStateAlert
2026-08-24 06:08:38 +00:00
// Module 12483 (IgnoreThermalStateAlert)
import noopAll from "noop" /* 19 */;
import componentDidMountDefault from "componentDidMount" /* 4768 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4668 */;
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
({ jsx: c3, jsxs: c4 } = jsxProd);
let closure_5 = createCacheKey.createStyles({ text: { marginTop: 16, lineHeight: 20, textAlign: "center" }, header: { textAlign: "center" } });
2026-08-24 06:08:38 +00:00
let result = require("set").fileFinishedImporting("modules/activities/native/IgnoreThermalStateAlert.tsx");
2026-07-20 16:05:17 +00:00
export const IgnoreThermalStateAlert = function IgnoreThermalStateAlert(onConfirm) {
2026-07-23 10:11:24 +00:00
onConfirm = onConfirm.onConfirm;
2026-07-29 08:29:29 +00:00
const merged = Object.assign(onConfirm, Object.create(null));
const tmp2 = callback3();
let obj = {};
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(merged);
2026-07-29 08:29:29 +00:00
const intl = onConfirm(1236).intl;
obj.cancelText = intl.string(onConfirm(1236).t["1fRDnT"]);
obj.onCancel = function onCancel() {
if (onConfirm != null) {
tmp();
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
const result = onConfirm(closure_1_2[5]).disregardSeriousThermalState();
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
const intl2 = onConfirm(1236).intl;
obj.confirmText = intl2.string(onConfirm(1236).t.oEAioF);
obj = { style: tmp2.header, variant: "heading-lg/extrabold", color: "mobile-text-heading-primary", children: null };
const intl3 = onConfirm(1236).intl;
obj[3] = intl3.string(onConfirm(1236).t.v5X4fZ);
2026-08-24 06:08:38 +00:00
const items = [callback(onConfirm(4739).Text, obj), ];
2026-07-29 08:29:29 +00:00
obj = { style: tmp2.text, variant: "text-md/medium", children: null };
const intl4 = onConfirm(1236).intl;
obj[2] = intl4.string(onConfirm(1236).t.VOgTjy);
2026-08-24 06:08:38 +00:00
items[1] = callback(onConfirm(4739).Text, obj);
2026-07-29 08:29:29 +00:00
obj.children = items;
2026-08-24 06:08:38 +00:00
return callback2(componentDidMountDefault, obj);
2026-07-20 16:05:17 +00:00
};