decord/stable/source/modules/rtc/native/SecureFramesCallVerificationBottomSheet.tsx
github-actions 57c2214117 chore: update source for stable 347.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-29 21:26:22 +00:00

50 lines
2.3 KiB
TypeScript

// Module ID: 17582
// Function ID: 17583
// Name: SecureFramesCallVerificationBottomSheet
// Dependencies: [19, 4811, 1074, 21, 504, 10013, 8664, 10019, 1115, 10002, 2]
// Exports: default
// Module 17582 (SecureFramesCallVerificationBottomSheet)
import showShareActionSheet from "showShareActionSheet" /* 8664 */;
import SecureFramesTracking from "SecureFramesTracking" /* 10013 */;
import SecureFramesVerificationBottomSheetDefault from "SecureFramesVerificationBottomSheet" /* 10019 */;
import noop from "module_19" /* 19 */;
import RTCConnectionStore from "RTCConnectionStore" /* 4811 */;
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");
export default function SecureFramesCallVerificationBottomSheet(channelId) {
channelId = channelId.channelId;
const items = [RTCConnectionStore];
const items1 = [channelId];
const stateFromStores = channelId(504).useStateFromStores(items, () => {
secureFramesState = secureFramesState.getSecureFramesState();
let epochAuthenticator;
if (secureFramesState != null) {
epochAuthenticator = secureFramesState.epochAuthenticator;
}
return epochAuthenticator;
});
const callback = noop.useCallback((message) => {
const result = SecureFramesTracking.trackE2EECallVerificationShareClicked({ channelId });
const obj2 = { channelId };
showShareActionSheet.showShareActionSheet({ message }, AnalyticsSections.SECURE_FRAMES_STREAM_BOTTOM_SHEET);
}, items1);
let obj2 = { title: null, subtitle: null, footer: null, epochAuthenticator: null, onShareClick: null };
let obj = channelId(504);
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;
const obj3 = { helpArticle: null };
obj3.helpArticle = channelId(10002).getSecureFramesHelpdeskArticle();
obj2.footer = intl3.format(channelId(1115).t.wKxADe, obj3);
obj2.epochAuthenticator = stateFromStores;
obj2.onShareClick = callback;
return <tmp3 title={null} subtitle={null} footer={null} epochAuthenticator={null} onShareClick={null} />;
};