Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,82 @@
|
||||
/* Metro module 4680; source: modules/discord_md5/DiscordMd5.tsx; dependencies: [5, 6, 7, 4681, 2] */
|
||||
function _fun40479(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#40479, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4858:6, offset: 0x011017bf, size: 148 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = importDefault(5) /* metro dependency 5 */;
|
||||
const env0_3 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_4 = importDefault(7) /* metro dependency 7 */;
|
||||
const value = _fun40480();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/discord_md5/DiscordMd5.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _fun40480() { // fn#40480, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4858:132, offset: 0x01101853, size: 126 bytes, params: 1, frame: 17
|
||||
const closure = DiscordMd5;
|
||||
const binding = env0_4;
|
||||
let env0_0 = env0_2(_fun40483);
|
||||
return binding(closure, null, [{key: 'fromBlob', value: value_40484}, {key: 'fromArrayBuffer', value: function(a0) {
|
||||
var ArrayBuffer = importDefault(dependencyMap[3]).ArrayBuffer;
|
||||
return ArrayBuffer.hash(a0);
|
||||
}}, {key: 'fromDataURI', value: function(a0) {
|
||||
var env0_0 = a0;
|
||||
var Promise = global.Promise;
|
||||
return Promise.resolve().then(_fun40487);
|
||||
}}]);
|
||||
}
|
||||
|
||||
function* _fun40483(a0) { // fn#40483, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4858:238, offset: 0x011018da, size: 59 bytes, params: 2, frame: 13
|
||||
if (false) {
|
||||
return undefined;
|
||||
}
|
||||
value = environment.__proto__;
|
||||
const fromArrayBuffer = dependencyMap.fromArrayBuffer;
|
||||
yield a0.arrayBuffer();
|
||||
value = undefined;
|
||||
if (false) {
|
||||
return value;
|
||||
}
|
||||
return Reflect.apply(fromArrayBuffer, dependencyMap, [value]);
|
||||
}
|
||||
|
||||
function value_40486(a0) { // fn#40486, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4858:469, offset: 0x01101943, size: 43 bytes, params: 2, frame: 11
|
||||
const env0_0 = a0;
|
||||
const Promise = global.Promise;
|
||||
return Promise.resolve().then(_fun40487);
|
||||
}
|
||||
|
||||
function _fun40487() { // fn#40487, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4858:512, offset: 0x0110196e, size: 241 bytes, params: 1, frame: 14
|
||||
var r1;
|
||||
var charCodeAt;
|
||||
var value7;
|
||||
const regexp = RegExp('^data:[^;]*;base64,(.*)$', '');
|
||||
var value;
|
||||
if (regexp.exec(env0_0) == null) {
|
||||
throw new global.Error('Not a base64 data URI');
|
||||
}
|
||||
value = global.atob(value[1]);
|
||||
let ArrayBuffer = global.ArrayBuffer;
|
||||
let length = value.length;
|
||||
const arrayBuffer = new ArrayBuffer(length);
|
||||
const Uint8Array = global.Uint8Array;
|
||||
const uint8Array = new Uint8Array(arrayBuffer);
|
||||
length = value.length;
|
||||
const value6 = 0;
|
||||
if (value6 < length) {
|
||||
r1 = value6;
|
||||
reducibleLoop2: while (true) {
|
||||
charCodeAt = value.charCodeAt;
|
||||
uint8Array[r1] = Reflect.apply(charCodeAt, value, [r1]);
|
||||
value7 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
|
||||
length = value.length;
|
||||
if (value7 < length) {
|
||||
r1 = value7;
|
||||
continue reducibleLoop2;
|
||||
}
|
||||
break reducibleLoop2;
|
||||
}
|
||||
}
|
||||
value = environment.__proto__.__proto__;
|
||||
ArrayBuffer = (importDefault(4681) /* metro dependency 4681 */).ArrayBuffer;
|
||||
return ArrayBuffer.hash(arrayBuffer);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
/* Metro module 4679; source: modules/discord_md5/native/DiscordMd5Native.tsx; dependencies: [6, 7, 15, 17, 18, 27, 477, 1279, 4680, 2] */
|
||||
function _fun40472(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#40472, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4857:6, offset: 0x01101567, size: 228 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_4 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_5 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_6 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_7 = importDefault(18) /* metro dependency 18 */;
|
||||
const env0_8 = (require(27) /* metro dependency 27 */).NativeModules;
|
||||
let value = importDefault(4680) /* metro dependency 4680: DiscordMd5 */;
|
||||
value = _fun40476(value);
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/discord_md5/native/DiscordMd5Native.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_40473() { // fn#40473, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4857:172, offset: 0x0110164b, size: 94 bytes, params: 1, frame: 18
|
||||
var Boolean;
|
||||
var prototype;
|
||||
var valueOf;
|
||||
var call;
|
||||
var Reflect;
|
||||
var construct;
|
||||
var closure;
|
||||
var value;
|
||||
var error;
|
||||
try {
|
||||
Boolean = global.Boolean;
|
||||
prototype = Boolean.prototype;
|
||||
valueOf = prototype.valueOf;
|
||||
call = valueOf.call;
|
||||
Reflect = global.Reflect;
|
||||
construct = Reflect.construct;
|
||||
Boolean = global.Boolean;
|
||||
closure = function() {
|
||||
};
|
||||
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
||||
value = Reflect.apply(call, valueOf, [value]);
|
||||
var result = !value;
|
||||
} catch (error) {
|
||||
}
|
||||
return (_isNativeReflectConstruct_40473_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function _fun40476(a0) { // fn#40476, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4857:371, offset: 0x011016a9, size: 73 bytes, params: 2, frame: 16
|
||||
const closure = DiscordMd5Native;
|
||||
env0_7(closure, a0);
|
||||
return env0_4(closure, null, [{key: 'fromFileUri', value: value_40478}]);
|
||||
}
|
||||
|
||||
function value_40478(a0) { // fn#40478, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4857:687, offset: 0x011016f2, size: 205 bytes, params: 2, frame: 18
|
||||
var r1;
|
||||
var r0;
|
||||
var Promise;
|
||||
var reject;
|
||||
var error;
|
||||
let value = a1;
|
||||
const r4 = value !== undefined ? value : 4096;
|
||||
value = environment.__proto__;
|
||||
const platformUtilsModule = require(477) /* metro dependency 477: PlatformUtils */;
|
||||
if (platformUtilsModule.isAndroid()) {
|
||||
if ((importDefault(1279) /* metro dependency 1279: NativeFileModule */) == null) {
|
||||
Promise = global.Promise;
|
||||
reject = Promise.reject;
|
||||
error = new global.Error("RTNFileManager doesn't exist?");
|
||||
error = Reflect.apply(reject, Promise, [error]);
|
||||
r1 = error;
|
||||
} else {
|
||||
value = importDefault(1279) /* metro dependency 1279: NativeFileModule */;
|
||||
value = value.getFileHash(a0, 'md5', r4);
|
||||
r1 = value;
|
||||
}
|
||||
r0 = r1;
|
||||
} else {
|
||||
r0 = NativeModules.DCDFileManager.getFileHash(a0, 'md5', r4);
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user