decord/source/modules/verification/native/components/ChangeEmailComplete.tsx

69 lines
3.6 KiB
TypeScript
Raw Normal View History

// Module ID: 6999
// Function ID: 7000
2026-07-20 16:05:17 +00:00
// Name: handlePress
// Dependencies: [19, 17, 5623, 21, 4560, 576, 5621, 6602, 4556, 1114, 4975, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
// Module 6999 (handlePress)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 576 */;
import getSystemLocale from "getSystemLocale" /* 1114 */;
import Text from "Text" /* 4556 */;
import Button from "Button" /* 4975 */;
import _modDef5621 from "module_5621" /* 5621 */;
import registerAssetDefault from "registerAsset" /* 6602 */;
2026-08-24 06:08:38 +00:00
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import { resetChangeEmailStore } from "ChangeEmailFields" /* 5623 */;
2026-08-24 06:08:38 +00:00
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4560 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
2026-07-20 16:05:17 +00:00
function handlePress() {
resetChangeEmailStore();
_modDef5621.close();
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
noopAll;
2026-07-29 08:29:29 +00:00
({ View: c3, Image: c4, ScrollView: c5 } = get_ActivityIndicator);
2026-08-24 06:08:38 +00:00
({ jsx: error, jsxs: closure_8 } = jsxProd);
2026-07-29 08:29:29 +00:00
createCacheKey = { contentContainer: null, image: null, title: null, body: null, bodyInner: null, tooltip: null };
2026-08-24 06:08:38 +00:00
createCacheKey = { flexGrow: 2, paddingHorizontal: ThemesDefault.space.PX_16, paddingBottom: ThemesDefault.space.PX_16, gap: 20, alignItems: "center" };
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
createCacheKey[1] = { height: 190, width: 220, resizeMode: "contain" };
createCacheKey[2] = { textAlign: "center" };
createCacheKey[3] = { textAlign: "center" };
createCacheKey[4] = { gap: 2 };
2026-08-24 06:08:38 +00:00
const merged = Object.assign(ThemesDefault.shadows.SHADOW_LOW);
createCacheKey[5] = { backgroundColor: ThemesDefault.colors.BACKGROUND_SURFACE_HIGH, width: "100%", padding: 12, borderWidth: 1, borderStyle: "solid", borderRadius: ThemesDefault.radii.sm, borderColor: ThemesDefault.colors.BORDER_SUBTLE };
let closure_9 = createCacheKey.createStyles(createCacheKey);
let obj1 = { backgroundColor: ThemesDefault.colors.BACKGROUND_SURFACE_HIGH, width: "100%", padding: 12, borderWidth: 1, borderStyle: "solid", borderRadius: ThemesDefault.radii.sm, borderColor: ThemesDefault.colors.BORDER_SUBTLE };
const result = require("set").fileFinishedImporting("modules/verification/native/components/ChangeEmailComplete.tsx");
2026-07-20 16:05:17 +00:00
export default function ChangeEmailComplete(email) {
2026-08-24 06:08:38 +00:00
const tmp = callback3();
2026-07-29 08:29:29 +00:00
let obj = { keyboardShouldPersistTaps: "handled", alwaysBounceVertical: false, contentContainerStyle: tmp.contentContainer, children: null };
2026-08-24 06:08:38 +00:00
obj = { style: tmp.image, source: registerAssetDefault };
2026-07-20 16:05:17 +00:00
const items = [callback(closure_4, obj), , , ];
2026-07-29 08:29:29 +00:00
obj = { style: tmp.bodyInner, children: null };
2026-08-24 06:08:38 +00:00
obj1 = { style: tmp.title, accessibilityRole: "header", variant: "heading-xl/extrabold", color: "mobile-text-heading-primary", children: null };
const intl = getSystemLocale.intl;
obj1[4] = intl.string(getSystemLocale.t["8O+nF7"]);
const items1 = [callback(Text.Text, obj1), ];
2026-07-29 08:29:29 +00:00
const obj2 = { style: tmp.body, variant: "text-sm/medium", color: "text-default", children: null };
2026-08-24 06:08:38 +00:00
const intl2 = getSystemLocale.intl;
obj2[3] = intl2.format(getSystemLocale.t.Zvx0O3, { email: email.email });
items1[1] = callback(Text.Text, obj2);
2026-07-29 08:29:29 +00:00
obj[1] = items1;
2026-07-20 16:05:17 +00:00
items[1] = callback2(closure_3, obj);
2026-07-29 08:29:29 +00:00
const obj3 = { style: tmp.tooltip, variant: "text-sm/normal", children: null };
2026-08-24 06:08:38 +00:00
const intl3 = getSystemLocale.intl;
obj3[2] = intl3.string(getSystemLocale.t.yb7itQ);
items[2] = callback(Text.Text, obj3);
2026-07-29 08:29:29 +00:00
const obj4 = { text: null, onPress: null, grow: true };
2026-08-24 06:08:38 +00:00
const intl4 = getSystemLocale.intl;
obj4[0] = intl4.string(getSystemLocale.t.BddRzS);
2026-07-29 08:29:29 +00:00
obj4[1] = handlePress;
2026-08-24 06:08:38 +00:00
items[3] = callback(Button.Button, obj4);
2026-07-29 08:29:29 +00:00
obj[3] = items;
2026-07-20 16:05:17 +00:00
return callback2(closure_5, obj);
};