Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,92 @@
|
||||
/* Metro module 7389; source: unknown; dependencies: [6, 7, 7390, 7376, 7387, 7395] */
|
||||
function _fun59494(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#59494, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7567:6, offset: 0x016ebaae, size: 152 bytes, params: 8, frame: 17
|
||||
const env0_0 = require;
|
||||
const env0_2 = require(6) /* metro dependency 6 */;
|
||||
const env0_3 = require(7) /* metro dependency 7 */;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.AsyncContextStack = _fun59501();
|
||||
exports.getStackAsyncContextStrategy = function() {
|
||||
return {withIsolationScope: withIsolationScope_59499, withScope: withScope_59496,
|
||||
withSetScope: withSetScope_59497,
|
||||
withSetIsolationScope: _fun59513, getCurrentScope: _fun59514, getIsolationScope: _fun59515};
|
||||
};
|
||||
}
|
||||
|
||||
function withSetScope_59497(a0, a1) { // fn#59497, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7567:1402, offset: 0x016ebb46, size: 51 bytes, params: 3, frame: 11
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
return getAsyncContextStack_59495().withScope(_fun59498);
|
||||
}
|
||||
|
||||
function withIsolationScope_59499(a0) { // fn#59499, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7567:1528, offset: 0x016ebb79, size: 40 bytes, params: 2, frame: 11
|
||||
const env0_0 = a0;
|
||||
return getAsyncContextStack_59495().withScope(_fun59500);
|
||||
}
|
||||
|
||||
function _fun59501() { // fn#59501, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7567:111, offset: 0x016ebba1, size: 193 bytes, params: 1, frame: 15
|
||||
return env0_3(AsyncContextStack_59502, [{key: 'withScope', value: function(a0) {
|
||||
var r0;
|
||||
var error;
|
||||
var env0_0 = this;
|
||||
var value = this._pushScope();
|
||||
try {
|
||||
value = a0(value);
|
||||
} catch (error) {
|
||||
this._popScope();
|
||||
throw error;
|
||||
}
|
||||
if (require(dependencyMap[3]).isThenable(value)) {
|
||||
value = value.then(_fun59504, _fun59505);
|
||||
r0 = value;
|
||||
} else {
|
||||
this._popScope();
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}}, {key: 'getClient', value: function() {
|
||||
return this.getStackTop().client;
|
||||
}}, {key: 'getScope', value: function() {
|
||||
return this.getStackTop().scope;
|
||||
}}, {key: 'getIsolationScope', value: function() {
|
||||
return this._isolationScope;
|
||||
}}, {key: 'getStackTop', value: function() {
|
||||
return this._stack[this._stack.length - 1];
|
||||
}}, {key: '_pushScope', value: function() {
|
||||
var value = this.getScope();
|
||||
value = value.clone();
|
||||
this._stack.push({client: this.getClient(), scope: value});
|
||||
return value;
|
||||
}}, {key: '_popScope', value: function() {
|
||||
return !(this._stack.length <= 1) && !!this._stack.pop();
|
||||
}}]);
|
||||
}
|
||||
|
||||
function getStackAsyncContextStrategy_59512() { // fn#59512, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7567:1722, offset: 0x016ebce2, size: 66 bytes, params: 1, frame: 4
|
||||
return {withIsolationScope: withIsolationScope_59499, withScope: withScope_59496, withSetScope: withSetScope_59497,
|
||||
withSetIsolationScope: function(a0, a1) {
|
||||
return withIsolationScope_59499(a1);
|
||||
}, getCurrentScope: getCurrentScope_59514, getIsolationScope: getIsolationScope_59515};
|
||||
}
|
||||
|
||||
function value_59503(a0) { // fn#59503, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7567:332, offset: 0x016ebc62, size: 128 bytes, params: 2, frame: 16
|
||||
var r0;
|
||||
var error;
|
||||
let value = this._pushScope();
|
||||
try {
|
||||
value = a0(value);
|
||||
} catch (error) {
|
||||
this._popScope();
|
||||
throw error;
|
||||
}
|
||||
const moduleValue = require(7376) /* metro dependency 7376 */;
|
||||
if (moduleValue.isThenable(value)) {
|
||||
value = value.then(_fun59504, _fun59505);
|
||||
r0 = value;
|
||||
} else {
|
||||
this._popScope();
|
||||
r0 = value;
|
||||
}
|
||||
return r0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user