143 lines
4.7 KiB
React
143 lines
4.7 KiB
React
/* Metro module 498; source: unknown; dependencies: [499, 494] */
|
|
function _fun6428(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#6428, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:548:6, offset: 0x00cfa42d, size: 97 bytes, params: 8, frame: 16
|
|
let env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = function(a0, a1, a2) {
|
|
var error;
|
|
var env0_0 = a1;
|
|
var env0_1 = a2;
|
|
var closure = _fun6430;
|
|
try {
|
|
closure.name = a0;
|
|
} catch (error) {
|
|
}
|
|
closure.DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
|
|
closure.URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
|
|
return closure;
|
|
};
|
|
exports.DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
|
|
exports.URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
|
|
}
|
|
|
|
function v35(a0, a1, a2) { // fn#6429, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:548:189, offset: 0x00cfa48e, size: 63 bytes, params: 4, frame: 4
|
|
var error;
|
|
const env0_0 = a1;
|
|
const env0_1 = a2;
|
|
const closure = v35GenerateUUID;
|
|
try {
|
|
closure.name = a0;
|
|
} catch (error) {
|
|
}
|
|
closure.DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
|
|
closure.URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8';
|
|
return closure;
|
|
}
|
|
|
|
function v35GenerateUUID(a0, a1, a2, a3) { // fn#6430, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:548:209, owner: v35.generateUUID, offset: 0x00cfa4cd, size: 393 bytes, params: 5, frame: 19
|
|
var r2;
|
|
var r7;
|
|
var r1;
|
|
var length;
|
|
var r5;
|
|
var unescape;
|
|
var encodeURIComponent;
|
|
var items2;
|
|
var value4;
|
|
var push;
|
|
var charCodeAt;
|
|
var value5;
|
|
let value = a0;
|
|
const value2 = a1;
|
|
const value3 = a3;
|
|
reducibleJoin3: while (true) {
|
|
if (typeof value !== 'string') {
|
|
r7 = value;
|
|
break reducibleJoin3;
|
|
}
|
|
unescape = global.unescape;
|
|
encodeURIComponent = global.encodeURIComponent;
|
|
value = unescape(encodeURIComponent(value));
|
|
items2 = [];
|
|
length = value.length;
|
|
value4 = 0;
|
|
if (!(value4 < length)) {
|
|
r7 = items2;
|
|
break reducibleJoin3;
|
|
}
|
|
r2 = value4;
|
|
reducibleLoop2: while (true) {
|
|
push = items2.push;
|
|
charCodeAt = value.charCodeAt;
|
|
Reflect.apply(push, items2, [Reflect.apply(charCodeAt, value, [r2])]);
|
|
value5 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
|
|
length = value.length;
|
|
if (value5 < length) {
|
|
r2 = value5;
|
|
continue reducibleLoop2;
|
|
}
|
|
r7 = items2;
|
|
break reducibleJoin3;
|
|
}
|
|
}
|
|
reducibleJoin5: while (true) {
|
|
if (typeof value2 !== 'string') {
|
|
r1 = value2;
|
|
break reducibleJoin5;
|
|
}
|
|
value = environment.__proto__;
|
|
value = (importDefault(499) /* metro dependency 499 */)(value2);
|
|
r1 = value;
|
|
break reducibleJoin5;
|
|
}
|
|
value = undefined;
|
|
reducibleJoin8: while (true) {
|
|
if (r1 === null) {
|
|
length = value;
|
|
break reducibleJoin8;
|
|
}
|
|
if (value === r1) {
|
|
length = value;
|
|
break reducibleJoin8;
|
|
}
|
|
length = r1.length;
|
|
break reducibleJoin8;
|
|
}
|
|
if (length !== 16) {
|
|
throw global.TypeError('Namespace must be array-like (16 iterable integer values, 0-255)');
|
|
}
|
|
const Uint8Array = global.Uint8Array;
|
|
const uint8Array = new Uint8Array(16 + r7.length);
|
|
uint8Array.set(r1);
|
|
uint8Array.set(r7, r1.length);
|
|
const defaultImport = importDefault(uint8Array);
|
|
defaultImport[6] = 15 & defaultImport[6] | require;
|
|
defaultImport[8] = 63 & defaultImport[8] | 128;
|
|
if (a2) {
|
|
reducibleJoin13: while (true) {
|
|
if (value3) {
|
|
r5 = value3;
|
|
break reducibleJoin13;
|
|
}
|
|
value = 0;
|
|
r5 = value;
|
|
break reducibleJoin13;
|
|
}
|
|
value = 0;
|
|
r1 = value;
|
|
reducibleLoop14: while (true) {
|
|
value = r5 + r1;
|
|
a2[value] = defaultImport[r1];
|
|
value = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
|
if (value < 16) {
|
|
r1 = value;
|
|
continue reducibleLoop14;
|
|
}
|
|
break reducibleLoop14;
|
|
}
|
|
return a2;
|
|
}
|
|
return (require(494) /* metro dependency 494 */).unsafeStringify(defaultImport);
|
|
}
|
|
|