56 lines
2.5 KiB
TypeScript
56 lines
2.5 KiB
TypeScript
/* Metro module 12848; source: polyfillsNative.tsx; dependencies: [3, 12849, 12919, 12937, 12940, 12943, 488, 1222, 2] */
|
|
import * as FileImportTrackerModule from './by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
import * as LoggerModule from './modules/debug/Logger.tsx'; /* Metro dependency 3 */
|
|
import * as Module12849Module from './by-id/module-12849.js'; /* Metro dependency 12849 */
|
|
import * as Module12919Module from './by-id/module-12919.js'; /* Metro dependency 12919 */
|
|
import * as Module12937Module from './by-id/module-12937.js'; /* Metro dependency 12937 */
|
|
import * as Module12940Module from './by-id/module-12940.js'; /* Metro dependency 12940 */
|
|
|
|
function _fun98003(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#98003, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13038:6, offset: 0x02198bbe, size: 399 bytes, params: 8, frame: 17
|
|
LoggerModule;
|
|
Module12849Module;
|
|
Module12919Module;
|
|
Module12937Module;
|
|
Module12940Module;
|
|
if (typeof global.process === 'undefined') {
|
|
global.window.process = {};
|
|
}
|
|
global.window.process.nextTick = global.setImmediate;
|
|
if (global.location == null) {
|
|
global.location = {'protocol': 'https:', 'host': 'discord.com'};
|
|
}
|
|
if (!global.self) {
|
|
global.self = global;
|
|
}
|
|
if (global.window.crypto == null) {
|
|
require(12943) /* metro dependency 12943 */;
|
|
global.window.crypto = global.crypto;
|
|
}
|
|
const Buffer = global.Buffer;
|
|
if (Buffer == null) {
|
|
global.Buffer = (require(488) /* metro dependency 488 */).Buffer;
|
|
}
|
|
if (global.__reanimatedWorkletInit == null) {
|
|
global.__reanimatedWorkletInit = function() {
|
|
};
|
|
}
|
|
const Set = global.Set;
|
|
const prototype = Set.prototype;
|
|
const Map = global.Map;
|
|
const prototype2 = Map.prototype;
|
|
const closure = function() {
|
|
var Array = global.Array;
|
|
return Array.from(this);
|
|
};
|
|
prototype2.toJSON = closure;
|
|
prototype.toJSON = closure;
|
|
const TextEncoder = global.window.TextEncoder;
|
|
if (!(TextEncoder != null && global.window.TextDecoder != null)) {
|
|
require(1222) /* metro dependency 1222 */;
|
|
}
|
|
(FileImportTrackerModule).fileFinishedImporting('polyfillsNative.tsx');
|
|
}
|
|
|
|
global.__d(_fun98003, 12848, [3, 12849, 12919, 12937, 12940, 12943, 488, 1222,
|
|
2]) /* metro module 12848, dependencies: [3, 12849, 12919, 12937, 12940, 12943, 488, 1222, 2] */;
|