48 lines
1.9 KiB
TypeScript
48 lines
1.9 KiB
TypeScript
// Module ID: 15660
|
|
// Function ID: 119673
|
|
// Name: SecureFramesCallVerificationBottomSheet
|
|
// Dependencies: []
|
|
// Exports: default
|
|
|
|
// Module 15660 (SecureFramesCallVerificationBottomSheet)
|
|
let closure_3 = importAll(dependencyMap[0]);
|
|
let closure_4 = importDefault(dependencyMap[1]);
|
|
const AnalyticsSections = arg1(dependencyMap[2]).AnalyticsSections;
|
|
const jsx = arg1(dependencyMap[3]).jsx;
|
|
const result = arg1(dependencyMap[10]).fileFinishedImporting("modules/rtc/native/SecureFramesCallVerificationBottomSheet.tsx");
|
|
|
|
export default function SecureFramesCallVerificationBottomSheet(channelId) {
|
|
channelId = channelId.channelId;
|
|
const arg1 = channelId;
|
|
let obj = arg1(dependencyMap[4]);
|
|
const items = [closure_4];
|
|
const items1 = [channelId];
|
|
const stateFromStores = obj.useStateFromStores(items, () => {
|
|
const secureFramesState = secureFramesState.getSecureFramesState();
|
|
let epochAuthenticator;
|
|
if (null != secureFramesState) {
|
|
epochAuthenticator = secureFramesState.epochAuthenticator;
|
|
}
|
|
return epochAuthenticator;
|
|
});
|
|
const callback = React.useCallback((message) => {
|
|
let obj = channelId(closure_2[5]);
|
|
obj = { channelId };
|
|
const result = obj.trackE2EECallVerificationShareClicked(obj);
|
|
obj = { message };
|
|
channelId(closure_2[6]).showShareActionSheet(obj, constants.SECURE_FRAMES_STREAM_BOTTOM_SHEET);
|
|
}, items1);
|
|
obj = {};
|
|
const intl = arg1(dependencyMap[8]).intl;
|
|
obj.title = intl.string(arg1(dependencyMap[8]).t.cTQI5t);
|
|
const intl2 = arg1(dependencyMap[8]).intl;
|
|
obj.subtitle = intl2.string(arg1(dependencyMap[8]).t.MPp7+C);
|
|
const intl3 = arg1(dependencyMap[8]).intl;
|
|
obj = {};
|
|
const tmp3 = importDefault(dependencyMap[7]);
|
|
obj.helpArticle = arg1(dependencyMap[9]).getSecureFramesHelpdeskArticle();
|
|
obj.footer = intl3.format(arg1(dependencyMap[8]).t.wKxADe, obj);
|
|
obj.epochAuthenticator = stateFromStores;
|
|
obj.onShareClick = callback;
|
|
return <tmp3 {...obj} />;
|
|
};
|