95 lines
5 KiB
TypeScript
95 lines
5 KiB
TypeScript
// Module ID: 8917
|
|
// Function ID: 8918
|
|
// Name: SecureFramesVerificationBottomSheet
|
|
// Dependencies: [19, 17, 8903, 21, 4193, 712, 8908, 4161, 5247, 5246, 5556, 4721, 1236, 4189, 4602, 4713, 8915, 8918, 2]
|
|
// Exports: default
|
|
|
|
// Module 8917 (SecureFramesVerificationBottomSheet)
|
|
import noop from "noop";
|
|
import { View } from "SecureFramesCopyIcon";
|
|
import SECURE_FRAMES_LINKING_BOTTOM_SHEET_KEY from "SECURE_FRAMES_LINKING_BOTTOM_SHEET_KEY";
|
|
import jsxProd from "jsxProd";
|
|
import createCacheKey from "createCacheKey";
|
|
|
|
let c5;
|
|
let c9;
|
|
let closure_6;
|
|
let error;
|
|
let metroImportAll;
|
|
const require = arg1;
|
|
({ EPOCH_AUTHENTICATOR_CHUNK_SIZE: c5, EPOCH_AUTHENTICATOR_COLUMNS: closure_6, EPOCH_AUTHENTICATOR_LENGTH: error } = SECURE_FRAMES_LINKING_BOTTOM_SHEET_KEY);
|
|
({ jsx: metroImportAll, jsxs: c9 } = jsxProd);
|
|
createCacheKey = { iconContainer: null, icon: null, share: null, content: null, subtitle: null, footer: null };
|
|
createCacheKey = { height: 80, width: 80, borderRadius: 40, alignItems: "center", justifyContent: "center", backgroundColor: require("Themes").colors.BACKGROUND_MOD_STRONG };
|
|
createCacheKey[0] = createCacheKey;
|
|
createCacheKey[1] = { height: 48, width: 48 };
|
|
createCacheKey[2] = { height: 24 };
|
|
createCacheKey[3] = { padding: 16 };
|
|
createCacheKey[4] = { textAlign: "center" };
|
|
createCacheKey[5] = { textAlign: "center", marginTop: 8 };
|
|
createCacheKey = createCacheKey.createStyles(createCacheKey);
|
|
const result = require("SECURE_FRAMES_LINKING_BOTTOM_SHEET_KEY").fileFinishedImporting("modules/rtc/native/SecureFramesVerificationBottomSheet.tsx");
|
|
|
|
export default function SecureFramesVerificationBottomSheet(onShareClick) {
|
|
let epochAuthenticator;
|
|
let footer;
|
|
let subtitle;
|
|
let title;
|
|
onShareClick = onShareClick.onShareClick;
|
|
let readableSecureFramesFingerprint;
|
|
({ title, subtitle, footer, epochAuthenticator } = onShareClick);
|
|
const tmp = createCacheKey();
|
|
let obj = onShareClick(8908);
|
|
obj = { fingerprintBase64: epochAuthenticator, chunkSize: closure_5, desiredLength: closure_7 };
|
|
readableSecureFramesFingerprint = obj.useReadableSecureFramesFingerprint(obj);
|
|
const items = [readableSecureFramesFingerprint, onShareClick];
|
|
const callback = React.useCallback(() => {
|
|
if (null != readableSecureFramesFingerprint) {
|
|
const joined = readableSecureFramesFingerprint.join(" ");
|
|
readableSecureFramesFingerprint(outer1_2[7]).hideActionSheet();
|
|
onShareClick(joined);
|
|
const obj2 = readableSecureFramesFingerprint(outer1_2[7]);
|
|
}
|
|
}, items);
|
|
const callback1 = React.useCallback(() => {
|
|
readableSecureFramesFingerprint(table[7]).hideActionSheet();
|
|
}, []);
|
|
obj = { startExpanded: true, header: null, children: null };
|
|
const obj1 = { title: null, leading: null, trailing: null };
|
|
obj1[1] = callback(onShareClick(5556).ActionSheetCloseButton, { onPress: callback1 });
|
|
let obj2 = { style: tmp.share, hitSlop: 8, onPress: callback, disabled: null == readableSecureFramesFingerprint, accessibilityRole: "button", accessibilityLabel: null, children: null };
|
|
const intl = onShareClick(1236).intl;
|
|
obj2[5] = intl.string(onShareClick(1236).t.RDE0Sc);
|
|
const obj3 = { variant: "text-md/semibold", color: "text-brand", children: null };
|
|
const intl2 = onShareClick(1236).intl;
|
|
obj3[2] = intl2.string(onShareClick(1236).t.RDE0Sc);
|
|
obj2[6] = callback(onShareClick(4189).Text, obj3);
|
|
obj1[2] = callback(onShareClick(4721).PressableOpacity, obj2);
|
|
obj[1] = callback(onShareClick(5246).BottomSheetTitleHeader, obj1);
|
|
const obj4 = { style: tmp.content, children: null };
|
|
const obj5 = { spacing: 8, justify: "center", align: "center", direction: "vertical", children: null };
|
|
const obj6 = { style: tmp.iconContainer, children: null };
|
|
const obj7 = { style: tmp.icon, color: null };
|
|
obj7[1] = readableSecureFramesFingerprint(712).colors.TEXT_SUBTLE;
|
|
obj6[1] = callback(onShareClick(4713).LockIcon, obj7);
|
|
const items1 = [callback(View, obj6), callback(onShareClick(4189).Text, { variant: "heading-xl/bold", color: "mobile-text-heading-primary", children: title }), callback(onShareClick(4189).Text, { style: tmp.subtitle, variant: "text-md/medium", color: "text-default", children: subtitle })];
|
|
obj5[4] = items1;
|
|
const items2 = [callback2(onShareClick(4602).Stack, obj5), , ];
|
|
const obj9 = { title: null, trailing: null, chunks: null, columns: null };
|
|
const intl3 = onShareClick(1236).intl;
|
|
obj9[0] = intl3.string(onShareClick(1236).t.cgBTyO);
|
|
let tmp7Result = null != readableSecureFramesFingerprint;
|
|
if (tmp7Result) {
|
|
const obj10 = { chunks: null };
|
|
obj10[0] = readableSecureFramesFingerprint;
|
|
tmp7Result = tmp7(readableSecureFramesFingerprint(8918), obj10);
|
|
}
|
|
obj9[1] = tmp7Result;
|
|
obj9[2] = readableSecureFramesFingerprint;
|
|
obj9[3] = closure_6;
|
|
items2[1] = callback(readableSecureFramesFingerprint(8915), obj9);
|
|
items2[2] = callback(onShareClick(4189).Text, { style: tmp.footer, variant: "text-xs/normal", color: "text-muted", children: footer });
|
|
obj4[1] = items2;
|
|
obj[2] = callback2(View, obj4);
|
|
return callback(onShareClick(5247).BottomSheet, obj);
|
|
};
|