Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,232 @@
|
||||
/* Metro module 244; source: unknown; dependencies: [44, 205, 245, 257, 256, 117, 258, 260] */
|
||||
function _fun3270(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#3270, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:6, offset: 0x00c943b1, size: 368 bytes, params: 8, frame: 21
|
||||
const env0_0 = require;
|
||||
const closure = registerComponent;
|
||||
const closure2 = registerRunnable;
|
||||
const closure3 = getSectionKeys;
|
||||
const closure4 = registerCancellableHeadlessTask;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_5 = {};
|
||||
const env0_6 = {};
|
||||
let Map = global.Map;
|
||||
let map = new Map();
|
||||
Map = global.Map;
|
||||
map = new Map();
|
||||
const componentProviderInstrumentationHook = function(a0) {
|
||||
return a0();
|
||||
};
|
||||
exports.setWrapperComponentProvider = function(a0) {
|
||||
env0_3 = a0;
|
||||
};
|
||||
exports.setRootViewStyleProvider = function(a0) {
|
||||
env0_4 = a0;
|
||||
};
|
||||
exports.registerConfig = function(a0) {
|
||||
a0.forEach(_fun3280);
|
||||
};
|
||||
exports.registerComponent = closure;
|
||||
exports.registerRunnable = closure2;
|
||||
exports.registerSection = function(a0, a1) {
|
||||
registerComponent(a0, a1, true);
|
||||
};
|
||||
exports.getAppKeys = getAppKeys;
|
||||
exports.getSectionKeys = closure3;
|
||||
exports.getSections = getSections;
|
||||
exports.getRunnable = getRunnable;
|
||||
exports.getRegistry = getRegistry;
|
||||
exports.setComponentProviderInstrumentationHook = function(a0) {
|
||||
env0_9 = a0;
|
||||
};
|
||||
exports.runApplication = runApplication;
|
||||
exports.setSurfaceProps = setSurfaceProps;
|
||||
exports.unmountApplicationComponentAtRootTag = unmountApplicationComponentAtRootTag;
|
||||
exports.registerHeadlessTask = function(a0, a1) {
|
||||
registerCancellableHeadlessTask(a0, a1, _fun3291);
|
||||
};
|
||||
exports.registerCancellableHeadlessTask = closure4;
|
||||
exports.startHeadlessTask = startHeadlessTask;
|
||||
exports.cancelHeadlessTask = cancelHeadlessTask;
|
||||
}
|
||||
|
||||
function registerComponent(a0, a1, a2) { // fn#3271, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:193, offset: 0x00c94521, size: 86 bytes, params: 4, frame: 14
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
const env0_2 = (importDefault(205) /* metro dependency 205 */)();
|
||||
env0_5[a0] = _fun3272;
|
||||
if (a2) {
|
||||
env0_6[a0] = env0_5[a0];
|
||||
}
|
||||
return a0;
|
||||
}
|
||||
|
||||
function registerRunnable(a0, a1) { // fn#3273, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:372, offset: 0x00c94607, size: 19 bytes, params: 3, frame: 3
|
||||
env0_5[a0] = a1;
|
||||
return a0;
|
||||
}
|
||||
|
||||
function getSectionKeys() { // fn#3274, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:419, offset: 0x00c9461a, size: 27 bytes, params: 1, frame: 11
|
||||
const Object = global.Object;
|
||||
return Object.keys(env0_6);
|
||||
}
|
||||
|
||||
function registerCancellableHeadlessTask(a0, a1, a2) { // fn#3275, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:467, offset: 0x00c94635, size: 108 bytes, params: 4, frame: 16
|
||||
const binding = env0_7;
|
||||
if (binding.has(a0)) {
|
||||
global.console.warn("registerHeadlessTask or registerCancellableHeadlessTask called multiple times for same key '" + a0 + "'");
|
||||
}
|
||||
env0_7.set(a0, a1);
|
||||
env0_8.set(a0, a2);
|
||||
}
|
||||
|
||||
function registerConfig(a0) { // fn#3279, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:822, offset: 0x00c946af, size: 24 bytes, params: 2, frame: 11
|
||||
a0.forEach(function(a0) {
|
||||
if (a0.run) {
|
||||
registerRunnable(a0.appKey, a0.run);
|
||||
} else {
|
||||
importDefault(dependencyMap[0])(a0.component != null,
|
||||
'AppRegistry.registerConfig(...): Every config is expected to set either `run` or `component`, but `%s` has neither.',
|
||||
|
||||
|
||||
a0.appKey);
|
||||
registerComponent(a0.appKey, a0.component, a0.section);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function getAppKeys() { // fn#3282, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:1283, offset: 0x00c9475f, size: 27 bytes, params: 1, frame: 11
|
||||
const Object = global.Object;
|
||||
return Object.keys(env0_5);
|
||||
}
|
||||
|
||||
function getSections() { // fn#3283, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:1374, offset: 0x00c9477a, size: 30 bytes, params: 1, frame: 13
|
||||
const Object = global.Object;
|
||||
return Object.assign({}, env0_6);
|
||||
}
|
||||
|
||||
function getRegistry() { // fn#3285, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:1490, offset: 0x00c947a8, size: 52 bytes, params: 1, frame: 14
|
||||
const object2 = {};
|
||||
object2.sections = getSectionKeys();
|
||||
const Object = global.Object;
|
||||
object2.runnables = Object.assign({}, env0_5);
|
||||
return object2;
|
||||
}
|
||||
|
||||
function runApplication(a0, a1, a2) { // fn#3287, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:1694, offset: 0x00c947ea, size: 202 bytes, params: 4, frame: 19
|
||||
if (a0 !== 'LogBox') {
|
||||
global.console.log('Running "' + a0 + '"');
|
||||
}
|
||||
(importDefault(44) /* metro dependency 44 */)(env0_5[a0],
|
||||
'"' + a0 + '" has not been registered. This can happen if:\n* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.\n* A module failed to load due to an error and `AppRegistry.registerComponent` wasn\'t called.');
|
||||
(importDefault(257) /* metro dependency 257 */).setActiveScene({name: a0});
|
||||
const binding = env0_5;
|
||||
let value = require(256) /* metro dependency 256 */;
|
||||
value = value.coerceDisplayMode(a2);
|
||||
binding[a0](a1, value);
|
||||
}
|
||||
|
||||
function setSurfaceProps(a0, a1, a2) { // fn#3288, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:2169, offset: 0x00c948b4, size: 187 bytes, params: 4, frame: 19
|
||||
var value;
|
||||
if (a0 !== 'LogBox') {
|
||||
value = 'Updating props for Surface "' + a0;
|
||||
value = value + '" with ' + global.JSON.stringify(a1);
|
||||
global.console.log(value);
|
||||
}
|
||||
(importDefault(44) /* metro dependency 44 */)(env0_5[a0],
|
||||
'"' + a0 + '" has not been registered. This can happen if:\n* Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.\n* A module failed to load due to an error and `AppRegistry.registerComponent` wasn\'t called.');
|
||||
const binding = env0_5;
|
||||
value = require(256) /* metro dependency 256 */;
|
||||
binding[a0](a1, value.coerceDisplayMode(a2));
|
||||
}
|
||||
|
||||
function unmountApplicationComponentAtRootTag(a0) { // fn#3289, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:2677, offset: 0x00c9496f, size: 41 bytes, params: 2, frame: 12
|
||||
(require(117) /* metro dependency 117 */).unmountComponentAtNodeAndRemoveContainer(a0);
|
||||
}
|
||||
|
||||
function registerHeadlessTask_3290(a0, a1) { // fn#3290, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:2802, offset: 0x00c94998, size: 31 bytes, params: 3, frame: 15
|
||||
registerCancellableHeadlessTask(a0, a1, function() {
|
||||
return _fun3292;
|
||||
});
|
||||
}
|
||||
|
||||
function startHeadlessTask(a0, a1, a2) { // fn#3293, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:2995, offset: 0x00c949c0, size: 176 bytes, params: 4, frame: 17
|
||||
const env0_0 = a0;
|
||||
var value;
|
||||
const value2 = env0_7.get(a1);
|
||||
if (value2) {
|
||||
value = value2();
|
||||
value = value(a2);
|
||||
value = value.then(_fun3294);
|
||||
value.catch(_fun3295);
|
||||
} else {
|
||||
global.console.warn('No task registered for key ' + a1);
|
||||
if (importDefault(258) /* metro dependency 258 */) {
|
||||
(importDefault(258) /* metro dependency 258 */).notifyTaskFinished(a0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function cancelHeadlessTask(a0, a1) { // fn#3297, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:3389, offset: 0x00c94b68, size: 92 bytes, params: 3, frame: 15
|
||||
let value = env0_8.get(a1);
|
||||
if (value) {
|
||||
value()();
|
||||
return undefined;
|
||||
}
|
||||
const Error = global.Error;
|
||||
value = "No task canceller registered for key '" + a1 + "'";
|
||||
const value2 = Object.create(Error.prototype, {constructor: {value: Error}});
|
||||
const error = new Error();
|
||||
throw error instanceof Object ? error : value2;
|
||||
}
|
||||
|
||||
function _fun3272(a0, a1) { // fn#3272, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:255, offset: 0x00c94577, size: 144 bytes, params: 3, frame: 29
|
||||
const value = environment.__proto__;
|
||||
const defaultImport = importDefault(245) /* metro dependency 245 */;
|
||||
const value3 = componentProviderInstrumentationHook(require, env0_2);
|
||||
const initialProps = a0.initialProps;
|
||||
const rootTag = a0.rootTag;
|
||||
let binding = env1_3;
|
||||
const r7 = binding && env1_3(a0);
|
||||
const r6 = env1_4 && env1_4(a0);
|
||||
const fabric = a0.fabric;
|
||||
binding = env0_2;
|
||||
const binding2 = env0_0;
|
||||
defaultImport(value3, initialProps, rootTag, r7, r6, fabric, binding, binding2 === 'LogBox', binding2, a1);
|
||||
}
|
||||
|
||||
function _fun3291() { // fn#3291, offset: 0x00c949b7, size: 9 bytes, params: 1, frame: 1
|
||||
return function() {
|
||||
};
|
||||
}
|
||||
|
||||
function _fun3294() { // fn#3294, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:3163, offset: 0x00c94a70, size: 65 bytes, params: 1, frame: 13
|
||||
const value = environment.__proto__;
|
||||
if (importDefault(258) /* metro dependency 258 */) {
|
||||
(importDefault(258) /* metro dependency 258 */).notifyTaskFinished(env0_0);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun3295(a0) { // fn#3295, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:3223, offset: 0x00c94ab1, size: 130 bytes, params: 2, frame: 16
|
||||
var environment;
|
||||
global.console.error(a0);
|
||||
let value = environment.__proto__;
|
||||
if ((importDefault(258) /* metro dependency 258 */) && a0 instanceof (importDefault(260) /* metro dependency 260 */)) {
|
||||
value = importDefault(258) /* metro dependency 258 */;
|
||||
value = value.notifyTaskRetry(env0_0);
|
||||
value.then(_fun3296);
|
||||
}
|
||||
}
|
||||
|
||||
function _fun3296(a0) { // fn#3296, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:275:3316, offset: 0x00c94b33, size: 53 bytes, params: 2, frame: 11
|
||||
var value;
|
||||
var notifyTaskFinished;
|
||||
var value2;
|
||||
if (!a0) {
|
||||
value = environment.__proto__.__proto__;
|
||||
value = importDefault(258) /* metro dependency 258 */;
|
||||
notifyTaskFinished = value.notifyTaskFinished;
|
||||
value2 = environment.__proto__;
|
||||
Reflect.apply(notifyTaskFinished, value, [env1_0]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user