decord/source/modules/oauth2/native/ErrorResult.tsx
github-actions 777dc50a28 chore: update source for alpha 346.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4790.js (118.4 MB)
2026-09-10 19:12:31 +00:00

55 lines
2.5 KiB
TypeScript

// Module ID: 9318
// Function ID: 9319
// Dependencies: [19, 17, 21, 4605, 576, 7175, 9319, 4601, 1114, 5025, 4808, 2]
// Exports: default
// Module 9318
import nativeDefault from "native" /* 576 */;
import Text_Text from "Text/Text" /* 4601 */;
import ModalActionCreatorsDefault from "ModalActionCreators" /* 4808 */;
import common_SafeAreaView from "common/SafeAreaView" /* 7175 */;
import _modDef9319 from "module_9319" /* 9319 */;
import noop from "module_19" /* 19 */;
require = fn;
get_ActivityIndicator = fn(17);
({ Image: c3, View: closure_4 } = get_ActivityIndicator);
const jsxProd = fn(21);
({ jsx: hasOwnProperty, jsxs: metroRequire } = jsxProd);
const createStyles = fn(4605);
let obj2 = { container: { flex: 1, backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOWER, gap: 16, paddingHorizontal: 16, justifyContent: "center", flexDirection: "column" }, inner: { flex: 1, flexDirection: "column", alignItems: "center", justifyContent: "center" }, text: { marginTop: 24, textAlign: "center" }, image: null };
const obj3 = { flex: 1, backgroundColor: nativeDefault.colors.BACKGROUND_BASE_LOWER, gap: 16, paddingHorizontal: 16, justifyContent: "center", flexDirection: "column" };
obj2.image = { tintColor: nativeDefault.colors.TEXT_FEEDBACK_WARNING };
let closure_7 = createStyles.createStyles(obj2);
const size = fn(2);
const result = size.fileFinishedImporting("modules/oauth2/native/ErrorResult.tsx");
export default function ErrorResult(error) {
error = error.error;
const tmp = closure_7();
const obj = { bottom: true, style: tmp.container, children: null };
const obj2 = { style: tmp.inner, children: null };
const items = [hasOwnProperty(React3, { source: _modDef9319, style: tmp.image }), ];
const obj4 = { style: tmp.text, variant: "text-md/medium", children: null };
if (error == null) {
const intl = tmp3(1114).intl;
error = intl.string(tmp3(1114).t.mqn873);
}
obj4.children = error;
items[1] = hasOwnProperty(Text_Text.Text, obj4);
obj2.children = items;
const items1 = [timestampProducer(React4, obj2), ];
let tmp6Result = null;
if (!error.hideFooter) {
const obj5 = { size: "lg", text: null, onPress: null };
const intl2 = tmp3(1114).intl;
obj5.text = intl2.string(tmp3(1114).t.cpT0Cq);
obj5.onPress = function onPress() {
return ModalActionCreatorsDefault.pop();
};
tmp6Result = tmp6(tmp3(5025).Button, obj5);
}
items1[1] = tmp6Result;
obj.children = items1;
return timestampProducer(common_SafeAreaView.SafeAreaPaddingView, obj);
};