Files
discord-decomp/sources/modules/rtc/native/SecureFramesStreamVerificationBottomSheet.tsx
T
2026-07-27 16:20:00 +03:00

45 lines
3.1 KiB
TypeScript

/* Metro module 9289; source: modules/rtc/native/SecureFramesStreamVerificationBottomSheet.tsx; dependencies: [31, 4395, 661, 33, 566, 9284, 9212, 9290, 1244, 9275, 2] */
function _fun72654(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#72654, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9475:6, offset: 0x01d4cf60, size: 180 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const streamRTCConnectionStore = importDefault(4395) /* metro dependency 4395: StreamRTCConnectionStore */;
const env0_5 = (require(661) /* metro dependency 661: Constants */).AnalyticsSections;
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/rtc/native/SecureFramesStreamVerificationBottomSheet.tsx');
exports.default = SecureFramesStreamVerificationBottomSheet;
}
function SecureFramesStreamVerificationBottomSheet({channelId, streamKey}) { // fn#72655, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9475:267, offset: 0x01d4d014, size: 332 bytes, params: 2, frame: 22
var object4;
const value2 = (require(566) /* metro dependency 566: flux */).useStateFromStores([StreamRTCConnectionStore],
_fun72656);
const value3 = env0_3.useCallback(function(a0) {
require(dependencyMap[5]).trackE2EEStreamVerificationShareClicked({channelId: channelId});
require(dependencyMap[6]).showShareActionSheet({message: a0},
AnalyticsSections.SECURE_FRAMES_STREAM_BOTTOM_SHEET);
}, [channelId]);
const secureFramesVerificationBottomSheet = importDefault(9290) /* metro dependency 9290: SecureFramesVerificationBottomSheet */;
object4 = {};
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
const string = intl.string;
const QogHld = (require(1244) /* metro dependency 1244: indexNative */).t.QogHld;
object4.title = Reflect.apply(string, intl, [QogHld]);
object4.subtitle = intl.string((require(1244) /* metro dependency 1244: indexNative */).t.qODBkW);
const format = intl.format;
const property = (require(1244) /* metro dependency 1244: indexNative */).t['H3+ktv'];
const object3 = {};
object3.helpArticle = (require(9275) /* metro dependency 9275: SecureFramesUtils */).getSecureFramesHelpdeskArticle();
object4.footer = Reflect.apply(format, intl, [property, object3]);
object4.epochAuthenticator = value2;
object4.onShareClick = value3;
return ((Component) => <Component {...object4} />)(secureFramesVerificationBottomSheet);
}
function _fun72656() { // fn#72656, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9475:383, offset: 0x01d4d160, size: 44 bytes, params: 1, frame: 11
const value = environment.__proto__;
return StreamRTCConnectionStore.getSecureFramesState(streamKey)?.epochAuthenticator;
}