decord/source/modules/rtc/native/SecureFramesStreamVerificationBottomSheet.tsx
2026-07-23 10:11:24 +00:00

50 lines
1.9 KiB
TypeScript

// Module ID: 8912
// Function ID: 70329
// Name: SecureFramesStreamVerificationBottomSheet
// Dependencies: [31, 4216, 653, 33, 566, 8907, 8332, 8913, 1212, 8897, 2]
// Exports: default
// Module 8912 (SecureFramesStreamVerificationBottomSheet)
import result from "result";
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
import { AnalyticsSections } from "ME";
import { jsx } from "jsxProd";
const require = arg1;
let result = require("ME").fileFinishedImporting("modules/rtc/native/SecureFramesStreamVerificationBottomSheet.tsx");
export default function SecureFramesStreamVerificationBottomSheet(channelId) {
channelId = channelId.channelId;
const streamKey = channelId.streamKey;
let obj = channelId(566);
const items = [_isNativeReflectConstruct];
const items1 = [channelId];
const stateFromStores = obj.useStateFromStores(items, () => {
const secureFramesState = outer1_4.getSecureFramesState(streamKey);
let epochAuthenticator;
if (null != secureFramesState) {
epochAuthenticator = secureFramesState.epochAuthenticator;
}
return epochAuthenticator;
});
const callback = React.useCallback((message) => {
let obj = channelId(outer1_2[5]);
obj = { channelId };
const result = obj.trackE2EEStreamVerificationShareClicked(obj);
obj = { message };
channelId(outer1_2[6]).showShareActionSheet(obj, outer1_5.SECURE_FRAMES_STREAM_BOTTOM_SHEET);
}, items1);
obj = {};
const intl = channelId(1212).intl;
obj.title = intl.string(channelId(1212).t.QogHld);
const intl2 = channelId(1212).intl;
obj.subtitle = intl2.string(channelId(1212).t.qODBkW);
const intl3 = channelId(1212).intl;
obj = {};
const tmp3 = streamKey(8913);
obj.helpArticle = channelId(8897).getSecureFramesHelpdeskArticle();
obj.footer = intl3.format(channelId(1212).t["H3+ktv"], obj);
obj.epochAuthenticator = stateFromStores;
obj.onShareClick = callback;
return <tmp3 />;
};