Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,74 @@
|
||||
/* Metro module 10867; source: utils/RTCConnectionUtils.tsx; dependencies: [661, 1244, 2] */
|
||||
function _fun83281(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#83281, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11053:6, offset: 0x01f1336f, size: 146 bytes, params: 8, frame: 18
|
||||
var object2;
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const constantsModule = require(661) /* metro dependency 661: Constants */;
|
||||
const env0_2 = constantsModule.RTCConnectionStates;
|
||||
const env0_3 = constantsModule.ConnectionStatus;
|
||||
object2 = {getStatus: getStatus, getShortHostname: function(a0) {
|
||||
return a0 == null ? '' : a0.split('.')[0];
|
||||
}};
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('utils/RTCConnectionUtils.tsx');
|
||||
exports.default = object2;
|
||||
}
|
||||
|
||||
function getStatus(a0) { // fn#83282, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:11053:168, offset: 0x01f13401, size: 929 bytes, params: 2, frame: 19
|
||||
var r1;
|
||||
var r2;
|
||||
var ERROR;
|
||||
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
||||
var string;
|
||||
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
||||
var CONNECTED;
|
||||
const value = a1;
|
||||
let r3 = value !== undefined ? value : false;
|
||||
let CONNECTING = RTCConnectionStates.CONNECTING;
|
||||
if (CONNECTING === a0) {
|
||||
CONNECTING = ConnectionStatus.CONNECTING;
|
||||
r1 = intl.string(t.MzW9sN);
|
||||
r2 = CONNECTING;
|
||||
} else if (RTCConnectionStates.AUTHENTICATING === a0) {
|
||||
CONNECTING = ConnectionStatus.CONNECTING;
|
||||
r1 = intl.string(t.GxXwE2);
|
||||
r2 = CONNECTING;
|
||||
} else if (RTCConnectionStates.AWAITING_ENDPOINT === a0) {
|
||||
CONNECTING = ConnectionStatus.CONNECTING;
|
||||
r1 = intl.string(t.xEbu0Q);
|
||||
r2 = CONNECTING;
|
||||
} else if (RTCConnectionStates.RTC_CONNECTED === a0) {
|
||||
CONNECTED = ConnectionStatus.CONNECTED;
|
||||
string = intl.string;
|
||||
r3 = r3 ? Reflect.apply(string, intl, [t.HtVOdd]) : Reflect.apply(string, intl, [t.daXg45]);
|
||||
r1 = r3;
|
||||
r2 = CONNECTED;
|
||||
} else if (RTCConnectionStates.RTC_CONNECTING === a0) {
|
||||
CONNECTING = ConnectionStatus.CONNECTING;
|
||||
r1 = intl.string(t.Gp51dl);
|
||||
r2 = CONNECTING;
|
||||
} else if (RTCConnectionStates.ICE_CHECKING === a0) {
|
||||
CONNECTING = ConnectionStatus.CONNECTING;
|
||||
r1 = intl.string(t['rdCyA/']);
|
||||
r2 = CONNECTING;
|
||||
} else if (RTCConnectionStates.DTLS_CONNECTING === a0) {
|
||||
CONNECTING = ConnectionStatus.CONNECTING;
|
||||
r1 = intl.string(t.UvB3gV);
|
||||
r2 = CONNECTING;
|
||||
} else if (RTCConnectionStates.NO_ROUTE === a0) {
|
||||
ERROR = ConnectionStatus.ERROR;
|
||||
r1 = intl.string(t.mGhOIi);
|
||||
r2 = ERROR;
|
||||
} else if (RTCConnectionStates.RTC_DISCONNECTED === a0) {
|
||||
ERROR = ConnectionStatus.ERROR;
|
||||
r1 = intl.string(t.M7LDmE);
|
||||
r2 = ERROR;
|
||||
} else {
|
||||
RTCConnectionStates.DISCONNECTED;
|
||||
ERROR = ConnectionStatus.ERROR;
|
||||
r1 = intl.string(t.NLKQbx);
|
||||
r2 = ERROR;
|
||||
}
|
||||
return {connectionStatus: r2, connectionStatusText: r1};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user