decord/source/modules/oauth2/native/ErrorResult.tsx

62 lines
2.4 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 10407
// Function ID: 10408
2026-07-20 16:05:17 +00:00
// Name: error
2026-08-05 07:35:12 +00:00
// Dependencies: [19, 17, 21, 4255, 712, 5257, 10408, 4251, 1236, 4665, 4460, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 10407 (error)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import get_ActivityIndicator from "get ActivityIndicator";
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c3;
let c4;
let c5;
2026-07-23 10:11:24 +00:00
let closure_6;
const require = arg1;
2026-07-29 08:29:29 +00:00
({ Image: c3, View: c4 } = get_ActivityIndicator);
({ jsx: c5, jsxs: closure_6 } = jsxProd);
createCacheKey = { container: null, inner: null, text: null, image: null };
createCacheKey = { flex: 1, backgroundColor: require("Themes").colors.BACKGROUND_BASE_LOWER, gap: 16, paddingHorizontal: 16, justifyContent: "center", flexDirection: "column" };
createCacheKey[0] = createCacheKey;
createCacheKey[1] = { flex: 1, flexDirection: "column", alignItems: "center", justifyContent: "center" };
createCacheKey[2] = { marginTop: 24, textAlign: "center" };
createCacheKey[3] = { tintColor: require("Themes").colors.TEXT_FEEDBACK_WARNING };
createCacheKey = createCacheKey.createStyles(createCacheKey);
let obj1 = { tintColor: require("Themes").colors.TEXT_FEEDBACK_WARNING };
2026-07-23 10:11:24 +00:00
const result = require("jsxProd").fileFinishedImporting("modules/oauth2/native/ErrorResult.tsx");
2026-07-20 16:05:17 +00:00
export default function ErrorResult(error) {
error = error.error;
2026-07-29 08:29:29 +00:00
const tmp = createCacheKey();
let obj = { bottom: true, style: tmp.container, children: null };
obj = { style: tmp.inner, children: null };
obj = { source: null, style: null };
2026-08-05 07:35:12 +00:00
obj[0] = importDefault(10408);
2026-07-29 08:29:29 +00:00
obj[1] = tmp.image;
2026-07-20 16:05:17 +00:00
const items = [callback(closure_3, obj), ];
2026-07-29 08:29:29 +00:00
const obj1 = { style: tmp.text, variant: "text-md/medium", children: null };
if (error == null) {
const intl = tmp3(1236).intl;
error = intl.string(tmp3(1236).t.mqn873);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj1[2] = error;
2026-08-05 07:35:12 +00:00
items[1] = callback(require(4251) /* Text */.Text, obj1);
2026-07-29 08:29:29 +00:00
obj[1] = items;
2026-07-20 16:05:17 +00:00
const items1 = [closure_6(closure_4, obj), ];
2026-07-29 08:29:29 +00:00
let tmp6Result = null;
2026-07-20 16:05:17 +00:00
if (!error.hideFooter) {
2026-07-29 08:29:29 +00:00
const obj2 = { size: "lg", text: null, onPress: null };
const intl2 = tmp3(1236).intl;
obj2[1] = intl2.string(tmp3(1236).t.cpT0Cq);
obj2[2] = function onPress() {
return callback(table[10]).pop();
2026-07-20 16:05:17 +00:00
};
2026-08-05 07:35:12 +00:00
tmp6Result = tmp6(tmp3(4665).Button, obj2);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
items1[1] = tmp6Result;
obj[2] = items1;
2026-08-05 07:35:12 +00:00
return closure_6(require(5257) /* SafeAreaPaddingView */.SafeAreaPaddingView, obj);
2026-07-20 16:05:17 +00:00
};