2026-09-24 10:59:02 +00:00
|
|
|
// Module ID: 17681
|
|
|
|
|
// Function ID: 17682
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: SecureFramesCallVerificationBottomSheet
|
2026-09-24 10:59:02 +00:00
|
|
|
// Dependencies: [19, 4852, 1074, 21, 504, 10065, 8711, 10071, 1115, 10054, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-24 10:59:02 +00:00
|
|
|
// Module 17681 (SecureFramesCallVerificationBottomSheet)
|
|
|
|
|
import showShareActionSheet from "showShareActionSheet" /* 8711 */;
|
|
|
|
|
import SecureFramesTracking from "SecureFramesTracking" /* 10065 */;
|
|
|
|
|
import SecureFramesVerificationBottomSheetDefault from "SecureFramesVerificationBottomSheet" /* 10071 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import noop from "module_19" /* 19 */;
|
2026-09-24 10:59:02 +00:00
|
|
|
import RTCConnectionStore from "RTCConnectionStore" /* 4852 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
require = fn;
|
|
|
|
|
const AnalyticsSections = fn(1074).AnalyticsSections;
|
|
|
|
|
const jsx = fn(21).jsx;
|
|
|
|
|
const size = fn(2);
|
|
|
|
|
let result = size.fileFinishedImporting("modules/rtc/native/SecureFramesCallVerificationBottomSheet.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function SecureFramesCallVerificationBottomSheet(channelId) {
|
|
|
|
|
channelId = channelId.channelId;
|
2026-09-10 05:38:07 +00:00
|
|
|
const items = [RTCConnectionStore];
|
2026-07-20 16:05:17 +00:00
|
|
|
const items1 = [channelId];
|
2026-09-10 05:38:07 +00:00
|
|
|
const stateFromStores = channelId(504).useStateFromStores(items, () => {
|
2026-07-29 08:29:29 +00:00
|
|
|
secureFramesState = secureFramesState.getSecureFramesState();
|
2026-07-20 16:05:17 +00:00
|
|
|
let epochAuthenticator;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (secureFramesState != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
epochAuthenticator = secureFramesState.epochAuthenticator;
|
|
|
|
|
}
|
|
|
|
|
return epochAuthenticator;
|
|
|
|
|
});
|
2026-09-10 05:38:07 +00:00
|
|
|
const callback = noop.useCallback((message) => {
|
|
|
|
|
const result = SecureFramesTracking.trackE2EECallVerificationShareClicked({ channelId });
|
|
|
|
|
const obj2 = { channelId };
|
|
|
|
|
showShareActionSheet.showShareActionSheet({ message }, AnalyticsSections.SECURE_FRAMES_STREAM_BOTTOM_SHEET);
|
2026-07-20 16:05:17 +00:00
|
|
|
}, items1);
|
2026-09-10 05:38:07 +00:00
|
|
|
let obj2 = { title: null, subtitle: null, footer: null, epochAuthenticator: null, onShareClick: null };
|
|
|
|
|
let obj = channelId(504);
|
2026-09-15 14:23:42 +00:00
|
|
|
const intl = channelId(1115).intl;
|
|
|
|
|
obj2.title = intl.string(channelId(1115).t.cTQI5t);
|
|
|
|
|
const intl2 = channelId(1115).intl;
|
|
|
|
|
obj2.subtitle = intl2.string(channelId(1115).t["MPp7+C"]);
|
|
|
|
|
const intl3 = channelId(1115).intl;
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj3 = { helpArticle: null };
|
2026-09-24 10:59:02 +00:00
|
|
|
obj3.helpArticle = channelId(10054).getSecureFramesHelpdeskArticle();
|
2026-09-15 14:23:42 +00:00
|
|
|
obj2.footer = intl3.format(channelId(1115).t.wKxADe, obj3);
|
2026-09-10 05:38:07 +00:00
|
|
|
obj2.epochAuthenticator = stateFromStores;
|
|
|
|
|
obj2.onShareClick = callback;
|
|
|
|
|
return <tmp3 title={null} subtitle={null} footer={null} epochAuthenticator={null} onShareClick={null} />;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|