112 lines
3.7 KiB
TypeScript
112 lines
3.7 KiB
TypeScript
// Module ID: 9153
|
|
// Function ID: 9154
|
|
// Name: SecureFramesExistingVerificationsHelpMessage
|
|
// Dependencies: [17, 21, 4837, 558, 576, 9154, 1127, 1189, 2]
|
|
|
|
// Module 9153 (SecureFramesExistingVerificationsHelpMessage)
|
|
import react_native from "react-native" /* 17 */;
|
|
import Fragment from "Fragment" /* 21 */;
|
|
import react from "react" /* 576 */;
|
|
import intl2 from "intl" /* 1127 */;
|
|
import native from "native" /* 1189 */;
|
|
import useSecureFramesUserVerifiedKeysCount from "useSecureFramesUserVerifiedKeysCount" /* 9154 */;
|
|
import createStyles from "createStyles" /* 4837 */;
|
|
import ReactCompilerGating from "ReactCompilerGating" /* 558 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const View = react_native.View;
|
|
const jsx = Fragment.jsx;
|
|
let closure_4 = createStyles.createStyles({ container: { width: "100%" } });
|
|
const tmp2 = ReactCompilerGating.isReactCompilerEnabled() ? ((arg0) => {
|
|
let style;
|
|
let userId;
|
|
let userKey;
|
|
const obj = react;
|
|
const cResult = obj.c(13);
|
|
({ style, userId, userKey } = arg0);
|
|
const tmp4 = closure_4();
|
|
if (cResult[0] === userId) {
|
|
let tmp5;
|
|
if (cResult[1] === userKey) {
|
|
tmp5 = cResult[2];
|
|
}
|
|
const tmpResult = useSecureFramesUserVerifiedKeysCount;
|
|
const secureFramesUserVerifiedKeysCount = tmpResult.useSecureFramesUserVerifiedKeysCount(tmp5);
|
|
let tmp7 = null;
|
|
if (0 !== secureFramesUserVerifiedKeysCount) {
|
|
if (cResult[3] === style) {
|
|
let tmp8;
|
|
let tmp9;
|
|
let tmp11;
|
|
if (cResult[4] === tmp4.container) {
|
|
tmp8 = cResult[5];
|
|
}
|
|
if (cResult[6] !== secureFramesUserVerifiedKeysCount) {
|
|
const intl = tmp(1127).intl;
|
|
const obj2 = { count: secureFramesUserVerifiedKeysCount };
|
|
const formatResult = intl.format(intl2.t.uZDkz0, obj2);
|
|
cResult[6] = secureFramesUserVerifiedKeysCount;
|
|
cResult[7] = formatResult;
|
|
tmp9 = formatResult;
|
|
} else {
|
|
tmp9 = cResult[7];
|
|
}
|
|
if (cResult[8] !== tmp9) {
|
|
const HelpMessage = tmp(1189).HelpMessage;
|
|
const tmp13 = <HelpMessage messageType={native.HelpMessageTypes.INFO}>{tmp9}</HelpMessage>;
|
|
cResult[8] = tmp9;
|
|
cResult[9] = tmp13;
|
|
tmp11 = tmp13;
|
|
} else {
|
|
tmp11 = cResult[9];
|
|
}
|
|
if (cResult[10] === tmp8) {
|
|
let tmp14;
|
|
if (cResult[11] === tmp11) {
|
|
tmp14 = cResult[12];
|
|
}
|
|
tmp7 = tmp14;
|
|
}
|
|
const tmp17 = <View style={tmp8}>{tmp11}</View>;
|
|
cResult[10] = tmp8;
|
|
cResult[11] = tmp11;
|
|
cResult[12] = tmp17;
|
|
tmp14 = tmp17;
|
|
}
|
|
const items = [tmp4.container, style];
|
|
cResult[3] = style;
|
|
cResult[4] = tmp4.container;
|
|
cResult[5] = items;
|
|
tmp8 = items;
|
|
}
|
|
return tmp7;
|
|
}
|
|
const obj5 = { userId, keyToOmit: userKey };
|
|
cResult[0] = userId;
|
|
cResult[1] = userKey;
|
|
cResult[2] = obj5;
|
|
tmp5 = obj5;
|
|
}) : ((arg0) => {
|
|
let intl;
|
|
let obj4;
|
|
let style;
|
|
let userId;
|
|
let userKey;
|
|
({ style, userId, userKey } = arg0);
|
|
const tmp = closure_4();
|
|
const obj = useSecureFramesUserVerifiedKeysCount;
|
|
const secureFramesUserVerifiedKeysCount = obj.useSecureFramesUserVerifiedKeysCount({ userId, keyToOmit: userKey });
|
|
let tmp5 = null;
|
|
if (0 !== secureFramesUserVerifiedKeysCount) {
|
|
const items = [tmp.container, style];
|
|
({ messageType: native.HelpMessageTypes.INFO, children: intl.format(intl2.t.uZDkz0, obj4) });
|
|
const HelpMessage = tmp2(1189).HelpMessage;
|
|
intl = tmp2(1127).intl;
|
|
tmp5 = <View style={items}>{null}</View>;
|
|
obj4 = { count: secureFramesUserVerifiedKeysCount };
|
|
}
|
|
return tmp5;
|
|
});
|
|
const result = size.fileFinishedImporting("modules/rtc/native/SecureFramesExistingVerificationsHelpMessage.tsx");
|
|
|
|
export default tmp2;
|