85 lines
3.1 KiB
React
85 lines
3.1 KiB
React
/* Metro module 1570; source: unknown; dependencies: [5, 57, 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 = importDefault(5) /* metro dependency 5 */;
|
|
const env0_1 = importDefault(57) /* metro dependency 57 */;
|
|
const env0_2 = importAll(31) /* metro dependency 31 */;
|
|
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]);
|
|
}
|
|
}
|
|
}
|
|
|