185 lines
7.7 KiB
React
185 lines
7.7 KiB
React
/* Metro module 361; source: unknown; dependencies: [44] */
|
|
function _fun5351(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#5351, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:402:6, offset: 0x00cda5ca, size: 137 bytes, params: 8, frame: 16
|
|
let env0_0 = require;
|
|
const reject_5352 = function(a0) {
|
|
var env0_0 = a0;
|
|
global.setTimeout(_fun5353, 0);
|
|
};
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
exports.default = {Events: {'interactionStart': 'interactionStart', 'interactionComplete': 'interactionComplete'},
|
|
runAfterInteractions: function(a0) {
|
|
var env0_0 = a0;
|
|
var value2 = new global.Promise(_fun5355);
|
|
var object = {};
|
|
object.then = value2.then.bind(value2);
|
|
object.cancel = _fun5357;
|
|
return object;
|
|
}, createInteractionHandle: function() {
|
|
return -1;
|
|
}, clearInteractionHandle: clearInteractionHandle_5359, addListener: function() {
|
|
return {remove: _fun5361};
|
|
}, setDeadline: function(a0) {
|
|
}};
|
|
}
|
|
|
|
function reject_5352(a0) { // fn#5352, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:402:43, offset: 0x00cda653, size: 34 bytes, params: 2, frame: 13
|
|
const env0_0 = a0;
|
|
global.setTimeout(_fun5353, 0);
|
|
}
|
|
|
|
function runAfterInteractions_5354(a0) { // fn#5354, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:402:262, offset: 0x00cda675, size: 75 bytes, params: 2, frame: 13
|
|
let env0_0 = a0;
|
|
const Promise = global.Promise;
|
|
const promise = new Promise(function(a0) {
|
|
var env0_0 = a0;
|
|
env0_1 = global.setImmediate(_fun5356);
|
|
});
|
|
const object2 = {};
|
|
object2.then = promise.then.bind(promise);
|
|
object2.cancel = cancel_5357;
|
|
return object2;
|
|
}
|
|
|
|
function clearInteractionHandle_5359(a0) { // fn#5359, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:402:866, offset: 0x00cda878, size: 47 bytes, params: 2, frame: 13
|
|
(require(44) /* metro dependency 44 */)(!!a0, 'InteractionManager: Must provide a handle to clear.');
|
|
}
|
|
|
|
function addListener_5360() { // fn#5360, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:402:981, offset: 0x00cda8a7, size: 16 bytes, params: 1, frame: 2
|
|
return {remove: function() {
|
|
}};
|
|
}
|
|
|
|
function _fun5355(a0) { // fn#5355, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:402:316, offset: 0x00cda6c0, size: 38 bytes, params: 2, frame: 11
|
|
const env0_0 = a0;
|
|
const value = global.setImmediate(_fun5356);
|
|
}
|
|
|
|
function runAfterInteractions_5354Cancel() { // fn#5357, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:402:735, owner: runAfterInteractions_5354.cancel, offset: 0x00cda858, size: 24 bytes, params: 1, frame: 11
|
|
global.clearImmediate(env0_1);
|
|
}
|
|
|
|
function _fun5356() { // fn#5356, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:402:344, offset: 0x00cda6e6, size: 370 bytes, params: 1, frame: 16
|
|
var value;
|
|
var value2;
|
|
var reject_5352Binding;
|
|
var TypeError;
|
|
var binding;
|
|
var prototype;
|
|
var typeError;
|
|
var error;
|
|
var gen;
|
|
var run;
|
|
var value4;
|
|
var name;
|
|
var HermesInternal;
|
|
var concat;
|
|
var value5;
|
|
var then;
|
|
var value6;
|
|
var value7;
|
|
reducibleJoin2: while (true) {
|
|
reduciblePort23: while (true) {
|
|
exceptionLanding21: while (true) {
|
|
exceptionLanding10: while (true) {
|
|
value = environment.__proto__;
|
|
if (typeof env1_0 !== 'object') {
|
|
break reducibleJoin2;
|
|
}
|
|
if (env1_0 !== null) {
|
|
gen = env1_0.gen;
|
|
if (typeof gen === 'function') {
|
|
binding = env1_0;
|
|
gen = binding.gen;
|
|
value = Reflect.apply(gen, binding, []);
|
|
then = value.then;
|
|
value6 = environment;
|
|
binding = env0_0;
|
|
value7 = environment.__proto__.__proto__;
|
|
Reflect.apply(then, value, [binding, reject_5352]);
|
|
break reduciblePort23;
|
|
}
|
|
run = env1_0.run;
|
|
if (typeof run === 'function') {
|
|
try {
|
|
binding = env1_0;
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
try {
|
|
run = binding.run;
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
try {
|
|
Reflect.apply(run, binding, []);
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
value = environment;
|
|
try {
|
|
binding = env0_0;
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
try {
|
|
binding();
|
|
} catch (error) {
|
|
break exceptionLanding21;
|
|
}
|
|
break reduciblePort23;
|
|
}
|
|
value4 = environment.__proto__.__proto__;
|
|
reject_5352Binding = reject_5352;
|
|
TypeError = global.TypeError;
|
|
name = env1_0.name;
|
|
HermesInternal = global.HermesInternal;
|
|
concat = HermesInternal.concat;
|
|
value = 'Task "' + name + '" missing gen or run.';
|
|
prototype = TypeError.prototype;
|
|
value5 = Object.create(prototype, {constructor: {value: TypeError}});
|
|
typeError = new TypeError();
|
|
value = typeError instanceof Object ? typeError : value5;
|
|
reject_5352Binding(value);
|
|
break reduciblePort23;
|
|
}
|
|
break reducibleJoin2;
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
reject_5352(error);
|
|
break reduciblePort23;
|
|
}
|
|
value = environment.__proto__.__proto__;
|
|
reject_5352(error);
|
|
break reduciblePort23;
|
|
}
|
|
return undefined;
|
|
}
|
|
if (typeof env1_0 === 'function') {
|
|
try {
|
|
binding = env1_0;
|
|
} catch (error) {
|
|
break exceptionLanding10;
|
|
}
|
|
try {
|
|
binding();
|
|
} catch (error) {
|
|
break exceptionLanding10;
|
|
}
|
|
try {
|
|
binding = env0_0;
|
|
} catch (error) {
|
|
break exceptionLanding10;
|
|
}
|
|
try {
|
|
binding();
|
|
} catch (error) {
|
|
break exceptionLanding10;
|
|
}
|
|
} else {
|
|
value2 = environment.__proto__.__proto__;
|
|
reject_5352(new global.TypeError('Invalid task of type: ' + typeof env1_0));
|
|
}
|
|
}
|
|
|