93 lines
4.5 KiB
JavaScript
93 lines
4.5 KiB
JavaScript
/* Metro module 1570; source: unknown; dependencies: [5, 57, 31] */
|
|
import Module00005 from './module-00005.js'; /* Metro dependency 5 */
|
|
import Module00057 from './module-00057.js'; /* Metro dependency 57 */
|
|
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
|
|
|
|
function _fun17561(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#17561, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1697:6, offset: 0x00e70013, size: 108 bytes, params: 8, frame: 18
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_0 = Module00005;
|
|
const env0_1 = Module00057;
|
|
exports.default = useThenable_17562;
|
|
function useThenable_17562(a0) { // fn#17562, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1697:136, offset: 0x00e7007f, size: 159 bytes, params: 2, frame: 18
|
|
const binding = env0_2;
|
|
const value2 = binding.useState(a0);
|
|
const binding2 = env0_1;
|
|
const property = binding2(value2, 1)[0];
|
|
property.then(function(a0) {
|
|
env0_1 = [true, a0];
|
|
});
|
|
let value = binding.useState([false, undefined]);
|
|
value = binding2(value, 2);
|
|
const property2 = value[0];
|
|
var env0_2 = value[1];
|
|
binding.useEffect(_fun17564, [property, binding2(property2, 1)[0]]);
|
|
return property2;
|
|
function _fun17564() { // fn#17564, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1697:313, offset: 0x00e7013a, size: 40 bytes, params: 1, frame: 11
|
|
if (!env0_3) {
|
|
_fun17565()();
|
|
}
|
|
return function() {
|
|
env0_0 = true;
|
|
};
|
|
function _fun17565() { // fn#17565, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1697:335, offset: 0x00e70162, size: 32 bytes, params: 1, frame: 12
|
|
const env0_0 = env2_0(_fun17567);
|
|
return resolve_17568;
|
|
function* _fun17567() { // fn#17567, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1697:355, offset: 0x00e7018b, size: 155 bytes, params: 1, frame: 16
|
|
var binding;
|
|
var value3;
|
|
var value4;
|
|
var value6;
|
|
var error;
|
|
var value7;
|
|
if (true) {
|
|
value = environment.__proto__.__proto__.__proto__;
|
|
try {
|
|
binding = env3_0;
|
|
} catch (error) {
|
|
value7 = environment.__proto__.__proto__;
|
|
if (!env2_0) {
|
|
binding = env3_2;
|
|
binding([true, undefined]);
|
|
}
|
|
throw error;
|
|
}
|
|
yield binding;
|
|
try {
|
|
value3 = undefined;
|
|
value4 = false;
|
|
} catch (error) {
|
|
value7 = environment.__proto__.__proto__;
|
|
if (!env2_0) {
|
|
binding = env3_2;
|
|
binding([true, undefined]);
|
|
}
|
|
throw error;
|
|
}
|
|
if (value4) {
|
|
value6 = environment.__proto__.__proto__;
|
|
if (!env2_0) {
|
|
env3_2([true, undefined]);
|
|
}
|
|
return value3;
|
|
}
|
|
if (!env2_0) {
|
|
env3_2([true, value3]);
|
|
}
|
|
}
|
|
}
|
|
|
|
function resolve_17568() { // fn#17568, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1697:419, offset: 0x00c3945f, size: 30 bytes, params: 1, frame: 13
|
|
return env0_0.apply(this, arguments);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun17561, 1570, [5, 57, 31]) /* metro module 1570, dependencies: [5, 57, 31] */;
|