decord/source/modules/oauth2/native/ErrorResult.tsx
github-actions 67d978d9fb chore: update source for alpha 346.0
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9672_m.js (378.6 MB)
2026-09-07 16:44:02 +00:00

60 lines
2.5 KiB
TypeScript

// Module ID: 9254
// Function ID: 9255
// Name: error
// Dependencies: [19, 17, 21, 4560, 576, 7123, 9255, 4556, 1114, 4975, 4763, 2]
// Exports: default
// Module 9254 (error)
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 576 */;
import Text from "Text" /* 4556 */;
import SafeAreaPaddingView from "SafeAreaPaddingView" /* 7123 */;
import registerAssetDefault from "registerAsset" /* 9255 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4560 */;
require = arg1;
noopAll;
({ 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: ThemesDefault.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: ThemesDefault.colors.TEXT_FEEDBACK_WARNING };
let closure_7 = createCacheKey.createStyles(createCacheKey);
let obj1 = { tintColor: ThemesDefault.colors.TEXT_FEEDBACK_WARNING };
const result = require("set").fileFinishedImporting("modules/oauth2/native/ErrorResult.tsx");
export default function ErrorResult(error) {
error = error.error;
const tmp = callback2();
let obj = { bottom: true, style: tmp.container, children: null };
obj = { style: tmp.inner, children: null };
obj = { source: registerAssetDefault, style: tmp.image };
const items = [callback(closure_3, obj), ];
obj1 = { style: tmp.text, variant: "text-md/medium", children: null };
if (error == null) {
const intl = tmp3(1114).intl;
error = intl.string(tmp3(1114).t.mqn873);
}
obj1[2] = error;
items[1] = callback(Text.Text, obj1);
obj[1] = items;
const items1 = [closure_6(closure_4, obj), ];
let tmp6Result = null;
if (!error.hideFooter) {
const obj2 = { size: "lg", text: null, onPress: null };
const intl2 = tmp3(1114).intl;
obj2[1] = intl2.string(tmp3(1114).t.cpT0Cq);
obj2[2] = function onPress() {
return callback(table[10]).pop();
};
tmp6Result = tmp6(tmp3(4975).Button, obj2);
}
items1[1] = tmp6Result;
obj[2] = items1;
return closure_6(SafeAreaPaddingView.SafeAreaPaddingView, obj);
};