2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 8828
|
2026-07-27 11:26:19 +00:00
|
|
|
// Function ID: 69943
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [1348, 4203, 8826, 653, 4338, 8829, 1935, 4099, 8839, 1212, 4472, 1273, 5626, 8842, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 8828
|
2026-07-23 10:11:24 +00:00
|
|
|
import _isNativeReflectConstruct from "_isNativeReflectConstruct";
|
|
|
|
|
import closure_4 from "_isNativeReflectConstruct";
|
|
|
|
|
import SECURE_FRAMES_LINKING_BOTTOM_SHEET_KEY from "SECURE_FRAMES_LINKING_BOTTOM_SHEET_KEY";
|
|
|
|
|
import ME from "ME";
|
|
|
|
|
|
|
|
|
|
let closure_5;
|
|
|
|
|
let closure_6;
|
|
|
|
|
let closure_7;
|
|
|
|
|
let closure_8;
|
|
|
|
|
let closure_9;
|
|
|
|
|
const require = arg1;
|
|
|
|
|
({ SECURE_FRAMES_LINKING_BOTTOM_SHEET_KEY: closure_5, SECURE_FRAMES_STREAM_VERIFICATION_BOTTOM_SHEET_KEY: closure_6, SECURE_FRAMES_USER_VERIFICATION_MODAL_KEY: closure_7 } = SECURE_FRAMES_LINKING_BOTTOM_SHEET_KEY);
|
|
|
|
|
({ ME: closure_8, Routes: closure_9 } = ME);
|
|
|
|
|
const result = require("SECURE_FRAMES_LINKING_BOTTOM_SHEET_KEY").fileFinishedImporting("modules/rtc/SecureFramesPlatformUtils.native.tsx");
|
|
|
|
|
|
|
|
|
|
export default {
|
2026-07-20 16:05:17 +00:00
|
|
|
openSecureFramesStreamVerification(stateFromStores4, channelId) {
|
2026-07-25 08:10:48 +00:00
|
|
|
let obj = importDefault(4099);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { streamKey: stateFromStores4, channelId };
|
2026-07-25 08:10:48 +00:00
|
|
|
obj.openLazy(require(1935) /* maybeLoadBundle */(8839, dependencyMap.paths), closure_6, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
openSecureFramesUserVerificationModal(id, id2, arg2) {
|
|
|
|
|
if (arg2()) {
|
2026-07-25 08:10:48 +00:00
|
|
|
let obj = importDefault(4338);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { userId: id, channelId: id2 };
|
2026-07-25 08:10:48 +00:00
|
|
|
obj.pushLazy(require(1935) /* maybeLoadBundle */(8829, dependencyMap.paths), obj, closure_7);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
openSecureFramesUpdateConfirmation(result) {
|
|
|
|
|
let subtitle;
|
|
|
|
|
let title;
|
|
|
|
|
let confirmText = result.confirmText;
|
|
|
|
|
({ title, subtitle } = result);
|
|
|
|
|
if (confirmText === undefined) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl = onConfirm(1212).intl;
|
|
|
|
|
confirmText = intl.string(onConfirm(1212).t["cY+Oob"]);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-23 10:11:24 +00:00
|
|
|
onConfirm = result.onConfirm;
|
2026-07-25 08:10:48 +00:00
|
|
|
let obj = importDefault(4472);
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { title, body: subtitle, confirmText };
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl2 = onConfirm(1212).intl;
|
|
|
|
|
obj.cancelText = intl2.string(onConfirm(1212).t["ETE/oC"]);
|
|
|
|
|
obj.confirmColor = onConfirm(1273).ButtonColors.RED;
|
2026-07-20 16:05:17 +00:00
|
|
|
obj.confirm(obj).then((arg0) => {
|
|
|
|
|
if (arg0) {
|
|
|
|
|
onConfirm();
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
handleSecureFramesUserVerificationLink(arg0) {
|
|
|
|
|
let fingerprint;
|
|
|
|
|
let userId;
|
|
|
|
|
({ userId, fingerprint } = arg0);
|
2026-07-23 10:11:24 +00:00
|
|
|
channelId = channelId.getChannelId();
|
|
|
|
|
channel = channel.getChannel(channelId);
|
2026-07-20 16:05:17 +00:00
|
|
|
let guildId;
|
|
|
|
|
if (null != channel) {
|
|
|
|
|
guildId = channel.getGuildId();
|
|
|
|
|
}
|
|
|
|
|
if (null == guildId) {
|
|
|
|
|
guildId = closure_8;
|
|
|
|
|
}
|
|
|
|
|
if (null != channelId) {
|
|
|
|
|
if (null != channel) {
|
2026-07-24 07:16:23 +00:00
|
|
|
importDefault(5626)(closure_9.CHANNEL(guildId, channelId));
|
|
|
|
|
const tmp6 = importDefault(5626);
|
2026-07-20 16:05:17 +00:00
|
|
|
let obj = { userId, channelId, guildId, fingerprint };
|
2026-07-25 08:10:48 +00:00
|
|
|
importDefault(4099).openLazy(require(1935) /* maybeLoadBundle */(8842, dependencyMap.paths), closure_5, obj);
|
|
|
|
|
const obj4 = importDefault(4099);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
obj = {};
|
2026-07-23 10:11:24 +00:00
|
|
|
const intl = require(1212) /* getSystemLocale */.intl;
|
|
|
|
|
obj.title = intl.string(require(1212) /* getSystemLocale */.t["5ICxE6"]);
|
|
|
|
|
const intl2 = require(1212) /* getSystemLocale */.intl;
|
|
|
|
|
obj.body = intl2.string(require(1212) /* getSystemLocale */.t["v1eXp/"]);
|
2026-07-25 08:10:48 +00:00
|
|
|
importDefault(4472).show(obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
};
|