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

60 lines
2.7 KiB
TypeScript
Raw Normal View History

2026-07-28 08:39:19 +00:00
// Module ID: 8936
// Function ID: 70583
2026-07-20 16:05:17 +00:00
// Name: error
2026-07-28 08:39:19 +00:00
// Dependencies: [31, 27, 33, 4165, 689, 5155, 8937, 4161, 1212, 4578, 4372, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-28 08:39:19 +00:00
// Module 8936 (error)
2026-07-23 10:11:24 +00:00
import "result";
import get_ActivityIndicator from "get ActivityIndicator";
import jsxProd from "jsxProd";
import _createForOfIteratorHelperLoose from "_createForOfIteratorHelperLoose";
let closure_3;
let closure_4;
let closure_5;
let closure_6;
const require = arg1;
({ Image: closure_3, View: closure_4 } = get_ActivityIndicator);
({ jsx: closure_5, jsxs: closure_6 } = jsxProd);
_createForOfIteratorHelperLoose = {};
_createForOfIteratorHelperLoose = { flex: 1, backgroundColor: require("_createForOfIteratorHelperLoose").colors.BACKGROUND_BASE_LOWER, gap: 16, paddingHorizontal: 16, justifyContent: "center", flexDirection: "column" };
_createForOfIteratorHelperLoose.container = _createForOfIteratorHelperLoose;
_createForOfIteratorHelperLoose.inner = { flex: 1, flexDirection: "column", alignItems: "center", justifyContent: "center" };
_createForOfIteratorHelperLoose.text = { marginTop: 24, textAlign: "center" };
_createForOfIteratorHelperLoose.image = { tintColor: require("_createForOfIteratorHelperLoose").colors.TEXT_FEEDBACK_WARNING };
_createForOfIteratorHelperLoose = _createForOfIteratorHelperLoose.createStyles(_createForOfIteratorHelperLoose);
let obj1 = { tintColor: require("_createForOfIteratorHelperLoose").colors.TEXT_FEEDBACK_WARNING };
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-23 10:11:24 +00:00
const tmp = _createForOfIteratorHelperLoose();
2026-07-20 16:05:17 +00:00
let obj = { bottom: true, style: tmp.container };
obj = { style: tmp.inner };
2026-07-28 08:39:19 +00:00
obj = { source: importDefault(8937), style: tmp.image };
2026-07-20 16:05:17 +00:00
const items = [callback(closure_3, obj), ];
const obj1 = { style: tmp.text, variant: "text-md/medium" };
if (null == error) {
2026-07-23 10:11:24 +00:00
const intl = require(1212) /* getSystemLocale */.intl;
error = intl.string(require(1212) /* getSystemLocale */.t.mqn873);
2026-07-20 16:05:17 +00:00
}
obj1.children = error;
2026-07-28 08:39:19 +00:00
items[1] = callback(require(4161) /* Text */.Text, obj1);
2026-07-20 16:05:17 +00:00
obj.children = items;
const items1 = [closure_6(closure_4, obj), ];
let tmp7 = null;
if (!error.hideFooter) {
const obj2 = { size: "lg" };
2026-07-23 10:11:24 +00:00
const intl2 = require(1212) /* getSystemLocale */.intl;
obj2.text = intl2.string(require(1212) /* getSystemLocale */.t.cpT0Cq);
2026-07-20 16:05:17 +00:00
obj2.onPress = function onPress() {
2026-07-23 10:11:24 +00:00
return outer1_1(outer1_2[10]).pop();
2026-07-20 16:05:17 +00:00
};
2026-07-28 08:39:19 +00:00
tmp7 = callback(require(4578) /* Button */.Button, obj2);
2026-07-20 16:05:17 +00:00
}
items1[1] = tmp7;
obj.children = items1;
2026-07-28 08:39:19 +00:00
return closure_6(require(5155) /* SafeAreaPaddingView */.SafeAreaPaddingView, obj);
2026-07-20 16:05:17 +00:00
};