952 lines
43 KiB
JavaScript
952 lines
43 KiB
JavaScript
/* Metro module 4304; source: unknown; dependencies: [] */
|
|
function _fun36930(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#36930, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:6, offset: 0x0109aa14, size: 86 bytes, params: 8, frame: 13
|
|
_fun36931(global);
|
|
function _fun36931(a0) { // fn#36931, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:32, offset: 0x0109aa6a, size: 713 bytes, params: 2, frame: 32
|
|
var r3;
|
|
var r16;
|
|
var r18;
|
|
var r17;
|
|
var object;
|
|
var value;
|
|
var getPrototypeOf;
|
|
const closure = function(a0, a1, a2, a3) {
|
|
var r3;
|
|
var value = a1;
|
|
var value2 = a3;
|
|
value = global.Object.create((value && value.prototype instanceof Generator_36936 ? value : Generator_36936).prototype);
|
|
var constructor_36954Binding = constructor_36954;
|
|
r3 = value2 || [];
|
|
var value5 = Object.create(constructor_36954Binding.prototype,
|
|
{constructor: {value: constructor_36954Binding}});
|
|
var value6 = new constructor_36954Binding();
|
|
value._invoke = _fun36933(a0, a2, value6 instanceof Object ? value6 : value5);
|
|
return value;
|
|
};
|
|
const tryCatch_36935 = function(a0, a1, a2) {
|
|
var object;
|
|
var value;
|
|
var error;
|
|
try {
|
|
object = {type: 'normal'};
|
|
value = a0.call(a1, a2);
|
|
object.arg = value;
|
|
} catch (error) {
|
|
return {type: 'throw', arg: error};
|
|
}
|
|
return object;
|
|
};
|
|
const closure2 = function() {
|
|
};
|
|
const closure3 = function() {
|
|
};
|
|
const closure4 = function() {
|
|
};
|
|
const closure5 = function(a0) {
|
|
var env0_0 = a0;
|
|
['next', 'throw', 'return'].forEach(_fun36940);
|
|
};
|
|
const closure6 = function(a0) {
|
|
var env0_0 = a0;
|
|
var env0_2 = _fun36943;
|
|
this._invoke = _fun36948;
|
|
};
|
|
const pushTryEntry_36952 = function(a0) {
|
|
var object = {tryLoc: a0[0]};
|
|
if (1 in a0) {
|
|
object.catchLoc = a0[1];
|
|
}
|
|
if (2 in a0) {
|
|
object.finallyLoc = a0[2];
|
|
object.afterLoc = a0[3];
|
|
}
|
|
this.tryEntries.push(object);
|
|
};
|
|
const resetTryEntry_36953 = function(a0) {
|
|
var r0;
|
|
r0 = a0.completion || ({});
|
|
r0.type = 'normal';
|
|
delete r0.arg;
|
|
a0.completion = r0;
|
|
};
|
|
const closure7 = function(a0) {
|
|
this.tryEntries = [{tryLoc: 'root'}];
|
|
a0.forEach(pushTryEntry_36952, this);
|
|
this.reset(true);
|
|
};
|
|
const values_369552 = values_36955;
|
|
const doneResult_36957 = function() {
|
|
return {value: undefined, done: true};
|
|
};
|
|
let Object = global.Object;
|
|
let prototype = Object.prototype;
|
|
const hasOwnProperty = prototype.hasOwnProperty;
|
|
const hasOwnProperty2 = hasOwnProperty;
|
|
const Symbol = global.Symbol;
|
|
let r0 = typeof Symbol === 'function' ? global.Symbol : {};
|
|
let iterator = r0.iterator;
|
|
iterator = !iterator ? '@@iterator' : iterator;
|
|
let asyncIterator = r0.asyncIterator;
|
|
asyncIterator = !asyncIterator ? '@@asyncIterator' : asyncIterator;
|
|
let toStringTag = r0.toStringTag;
|
|
toStringTag = !toStringTag ? '@@toStringTag' : toStringTag;
|
|
let value2 = typeof hasOwnProperty2 === 'object';
|
|
const regeneratorRuntime = a0.regeneratorRuntime;
|
|
if (regeneratorRuntime) {
|
|
if (value2) {
|
|
hasOwnProperty2.exports = regeneratorRuntime;
|
|
}
|
|
} else {
|
|
r3 = value2 ? hasOwnProperty2.exports : {};
|
|
a0.regeneratorRuntime = r3;
|
|
r3.wrap = closure;
|
|
var env0_8 = {};
|
|
object = {};
|
|
object[iterator] = function() {
|
|
return this;
|
|
};
|
|
Object = global.Object;
|
|
getPrototypeOf = Object.getPrototypeOf;
|
|
r16 = getPrototypeOf && getPrototypeOf(getPrototypeOf(values_369552([])));
|
|
r18 = r16 && r16 !== prototype;
|
|
r18 = r18 && hasOwnProperty.call(r16, iterator);
|
|
r17 = r18 ? r16 : object;
|
|
Object = global.Object;
|
|
value = Object.create(r17);
|
|
closure2.prototype = value;
|
|
closure4.prototype = value;
|
|
value.constructor = closure4;
|
|
closure3.prototype = closure4;
|
|
closure4.constructor = closure3;
|
|
closure3.displayName = 'GeneratorFunction';
|
|
closure4[toStringTag] = 'GeneratorFunction';
|
|
r3.isGeneratorFunction = isGeneratorFunction_36959;
|
|
r3.mark = mark_36960;
|
|
r3.awrap = awrap_36961;
|
|
prototype = closure6.prototype;
|
|
closure5(prototype);
|
|
prototype = closure6.prototype;
|
|
prototype[asyncIterator] = _fun36962;
|
|
r3.AsyncIterator = closure6;
|
|
r3.async = async_36963;
|
|
closure5(value);
|
|
value[toStringTag] = 'Generator';
|
|
value[iterator] = _fun36965;
|
|
value.toString = toString_36966;
|
|
r3.keys = keys_36967;
|
|
r3.values = values_369552;
|
|
closure7.prototype = {constructor: closure7, reset: reset_36969, stop: stop_36970,
|
|
dispatchException: dispatchException_36971, abrupt: abrupt_36973, complete: complete_36974,
|
|
finish: finish_36975, catch: _catch_36976, delegateYield: delegateYield_36977};
|
|
}
|
|
function wrap_36932(a0, a1, a2, a3) { // fn#36932, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:4144, offset: 0x0109ad33, size: 125 bytes, params: 5, frame: 16
|
|
let value = a1;
|
|
const value2 = a3;
|
|
const r0 = value && value.prototype instanceof Generator_36936 ? value : Generator_36936;
|
|
const Object = global.Object;
|
|
value = Object.create(r0.prototype);
|
|
const constructor_36954Binding = constructor_36954;
|
|
const r3 = value2 || [];
|
|
const value5 = Object.create(constructor_36954Binding.prototype, {constructor: {value: constructor_36954Binding}});
|
|
const constructor_369542 = new constructor_36954Binding(r3);
|
|
value._invoke = wrap_36932MakeInvokeMethod(a0, a2,
|
|
constructor_369542 instanceof Object ? constructor_369542 : value5);
|
|
return value;
|
|
function wrap_36932MakeInvokeMethod(a0, a1, a2) { // fn#36933, owner: wrap_36932.makeInvokeMethod, offset: 0x0109adb0, size: 41 bytes, params: 4, frame: 2
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const env0_2 = a2;
|
|
return makeInvokeMethodInvoke_36934;
|
|
function makeInvokeMethodInvoke_36934(a0, a1) { // fn#36934, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:4336, owner: wrap_36932.makeInvokeMethod.invoke, offset: 0x0109add9, size: 511 bytes, params: 3, frame: 27
|
|
var r4;
|
|
var delegate;
|
|
var value3;
|
|
var method;
|
|
var abrupt;
|
|
var arg;
|
|
var dispatchException;
|
|
var tryCatch_36935Binding;
|
|
var value4;
|
|
var type;
|
|
var done;
|
|
let binding = env0_3;
|
|
if (binding === env2_6) {
|
|
throw new global.Error('Generator is already running');
|
|
}
|
|
if (env0_3 === env2_7) {
|
|
if (a0 === 'throw') {
|
|
throw a1;
|
|
}
|
|
return doneResult_36957();
|
|
}
|
|
importDefault.method = a0;
|
|
importDefault.arg = a1;
|
|
reducibleLoop3: while (true) {
|
|
delegate = importDefault.delegate;
|
|
if (delegate) {
|
|
value3 = maybeInvokeDelegate_36951(delegate, importDefault);
|
|
reducibleJoin5: while (true) {
|
|
if (value3) {
|
|
if (value3 !== env2_8) {
|
|
return value3;
|
|
}
|
|
continue reducibleLoop3;
|
|
}
|
|
break reducibleJoin5;
|
|
}
|
|
}
|
|
method = importDefault.method;
|
|
if (method === 'next') {
|
|
arg = importDefault.arg;
|
|
importDefault._sent = arg;
|
|
importDefault.sent = arg;
|
|
} else {
|
|
method = importDefault.method;
|
|
if (method === 'throw') {
|
|
if (env0_3 === env2_4) {
|
|
env0_3 = env2_7;
|
|
throw importDefault.arg;
|
|
}
|
|
dispatchException = importDefault.dispatchException;
|
|
Reflect.apply(dispatchException, importDefault, [importDefault.arg]);
|
|
} else {
|
|
method = importDefault.method;
|
|
reducibleJoin13: while (true) {
|
|
if (method !== 'return') {
|
|
break reducibleJoin13;
|
|
}
|
|
abrupt = importDefault.abrupt;
|
|
arg = importDefault.arg;
|
|
Reflect.apply(abrupt, importDefault, ['return', arg]);
|
|
break reducibleJoin13;
|
|
}
|
|
}
|
|
}
|
|
env0_3 = env2_6;
|
|
tryCatch_36935Binding = tryCatch_36935;
|
|
binding = env0_0;
|
|
value4 = tryCatch_36935Binding(binding, require, importDefault);
|
|
type = value4.type;
|
|
if (type === 'normal') {
|
|
done = importDefault.done;
|
|
if (done) {
|
|
binding = env2_7;
|
|
r4 = binding;
|
|
} else {
|
|
binding = env2_5;
|
|
r4 = binding;
|
|
}
|
|
env0_3 = r4;
|
|
if (value4.arg !== env2_8) {
|
|
return {value: value4.arg, done: importDefault.done};
|
|
}
|
|
continue reducibleLoop3;
|
|
}
|
|
type = value4.type;
|
|
if (type !== 'throw') {
|
|
continue reducibleLoop3;
|
|
}
|
|
env0_3 = env2_7;
|
|
importDefault.method = 'throw';
|
|
arg = value4.arg;
|
|
importDefault.arg = arg;
|
|
continue reducibleLoop3;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function defineIteratorMethods_36939(a0) { // fn#36939, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5128, offset: 0x0109afd8, size: 38 bytes, params: 2, frame: 11
|
|
const env0_0 = a0;
|
|
['next', 'throw', 'return'].forEach(function(a0) {
|
|
a0[a0] = _fun36941;
|
|
});
|
|
function _fun36940(a0) { // fn#36940, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5197, offset: 0x0109affe, size: 29 bytes, params: 2, frame: 3
|
|
a0[a0] = _fun36941;
|
|
function _fun36941(a0) { // fn#36941, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5214, offset: 0x00c867d6, size: 27 bytes, params: 2, frame: 13
|
|
return this._invoke(env0_0, a0);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function AsyncIterator_36942(a0) { // fn#36942, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5255, offset: 0x0109b01b, size: 36 bytes, params: 2, frame: 2
|
|
const env0_0 = a0;
|
|
this._invoke = _invoke_36948;
|
|
function AsyncIterator_36942Invoke(a0, a1, a2, a3) { // fn#36943, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5281, owner: AsyncIterator_36942.invoke, offset: 0x0109b03f, size: 214 bytes, params: 5, frame: 18
|
|
var environment;
|
|
var r0;
|
|
var value4;
|
|
var hasOwnPropertyBinding;
|
|
var Promise;
|
|
const env0_0 = a2;
|
|
const env0_1 = a3;
|
|
let value = environment.__proto__;
|
|
const tryCatch_36935Binding = tryCatch_36935;
|
|
const binding = env0_0;
|
|
const value3 = tryCatch_36935Binding(binding[a0], binding, a1);
|
|
if (value3.type !== 'throw') {
|
|
value4 = value3.arg.value;
|
|
if (value4) {
|
|
if (typeof value4 !== 'object') {
|
|
value = global.Promise.resolve(value4);
|
|
value = value.then(function(a0) {
|
|
arg.value = a0;
|
|
importDefault(arg);
|
|
}, _fun36947);
|
|
r0 = value;
|
|
} else {
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
if (hasOwnPropertyBinding.call(value4, '__await')) {
|
|
Promise = global.Promise;
|
|
value = Promise.resolve(value4.__await);
|
|
value = value.then(_fun36944, _fun36945);
|
|
r0 = value;
|
|
} else {
|
|
value = global.Promise.resolve(value4);
|
|
value = value.then(_fun36946, _fun36947);
|
|
r0 = value;
|
|
}
|
|
}
|
|
} else {
|
|
value = global.Promise.resolve(value4);
|
|
value = value.then(_fun36946, _fun36947);
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
a3(value3.arg);
|
|
function _fun36944(a0) { // fn#36944, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5457, offset: 0x0109b115, size: 35 bytes, params: 2, frame: 17
|
|
AsyncIterator_36942Invoke('next', a0, importDefault, importAll);
|
|
}
|
|
|
|
function _fun36945(a0) { // fn#36945, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5493, offset: 0x0109b138, size: 35 bytes, params: 2, frame: 17
|
|
AsyncIterator_36942Invoke('throw', a0, importDefault, importAll);
|
|
}
|
|
|
|
function _fun36946(a0) { // fn#36946, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5555, offset: 0x00c86942, size: 33 bytes, params: 2, frame: 11
|
|
arg.value = a0;
|
|
importDefault(arg);
|
|
}
|
|
|
|
function _fun36947(a0) { // fn#36947, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5585, offset: 0x0109b15b, size: 33 bytes, params: 2, frame: 17
|
|
return AsyncIterator_36942Invoke('throw', a0, importDefault, importAll);
|
|
}
|
|
|
|
}
|
|
|
|
function AsyncIterator_36942_invoke(a0, a1) { // fn#36948, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5657, owner: AsyncIterator_36942._invoke, offset: 0x0109b17c, size: 60 bytes, params: 3, frame: 14
|
|
const env0_0 = a0;
|
|
const env0_1 = a1;
|
|
const closure = function() {
|
|
var Promise = global.Promise;
|
|
var value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
|
var value2 = new Promise(_fun36950);
|
|
return value2 instanceof Object ? value2 : value;
|
|
};
|
|
return env0_1 ? env0_1.then(closure, closure) : closure();
|
|
function _invokeCallInvokeWithMethodAndArg() { // fn#36949, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5679, owner: AsyncIterator_36942._invoke.callInvokeWithMethodAndArg, offset: 0x0109b1b8, size: 37 bytes, params: 1, frame: 11
|
|
const Promise = global.Promise;
|
|
const value = Object.create(Promise.prototype, {constructor: {value: Promise}});
|
|
const promise = new Promise(_fun36950);
|
|
return promise instanceof Object ? promise : value;
|
|
function _fun36950(a0, a1) { // fn#36950, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5737, offset: 0x0109b1dd, size: 34 bytes, params: 3, frame: 17
|
|
AsyncIterator_36942Invoke(env1_0, require, a0, a1);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function maybeInvokeDelegate_36951(a0, a1) { // fn#36951, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:5873, offset: 0x0109b1ff, size: 396 bytes, params: 3, frame: 20
|
|
var r7;
|
|
var r6;
|
|
var TypeError;
|
|
var value3;
|
|
var typeError;
|
|
let iterator = a0.iterator;
|
|
const property = iterator[a1.method];
|
|
if (property === undefined) {
|
|
a1.delegate = null;
|
|
if (a1.method !== 'throw') {
|
|
return env0_8;
|
|
}
|
|
if (a0.iterator.return) {
|
|
a1.method = 'return';
|
|
a1.arg = undefined;
|
|
maybeInvokeDelegate_36951(a0, a1);
|
|
if (a1.method === 'throw') {
|
|
return env0_8;
|
|
}
|
|
a1.method = 'throw';
|
|
a1.arg = new global.TypeError("The iterator does not provide a 'throw' method");
|
|
return env0_8;
|
|
}
|
|
a1.method = 'throw';
|
|
a1.arg = new global.TypeError("The iterator does not provide a 'throw' method");
|
|
return env0_8;
|
|
}
|
|
const tryCatch_36935Binding = tryCatch_36935;
|
|
iterator = a0.iterator;
|
|
let arg = a1.arg;
|
|
const value2 = tryCatch_36935Binding(property, iterator, arg);
|
|
if (value2.type === 'throw') {
|
|
a1.method = 'throw';
|
|
a1.arg = value2.arg;
|
|
a1.delegate = null;
|
|
return env0_8;
|
|
}
|
|
arg = value2.arg;
|
|
if (arg) {
|
|
if (arg.done) {
|
|
a1[a0.resultName] = arg.value;
|
|
a1.next = a0.nextLoc;
|
|
if (a1.method !== 'return') {
|
|
a1.method = 'next';
|
|
a1.arg = undefined;
|
|
}
|
|
a1.delegate = null;
|
|
r7 = env0_8;
|
|
} else {
|
|
r7 = arg;
|
|
}
|
|
r6 = r7;
|
|
} else {
|
|
a1.method = 'throw';
|
|
TypeError = global.TypeError;
|
|
value3 = Object.create(TypeError.prototype, {constructor: {value: TypeError}});
|
|
typeError = new TypeError('iterator result is not an object');
|
|
a1.arg = typeError instanceof Object ? typeError : value3;
|
|
a1.delegate = null;
|
|
r6 = env0_8;
|
|
}
|
|
return r6;
|
|
}
|
|
|
|
function values_36955(a0) { // fn#36955, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:6852, offset: 0x0109b3cd, size: 121 bytes, params: 2, frame: 14
|
|
var property;
|
|
var next_369562;
|
|
const env0_0 = a0;
|
|
if (a0) {
|
|
property = a0[iterator];
|
|
if (property) {
|
|
return property.call(a0);
|
|
}
|
|
if (typeof a0.next === 'function') {
|
|
return a0;
|
|
}
|
|
if (global.isNaN(a0.length)) {
|
|
return {next: doneResult_36957};
|
|
}
|
|
next_369562 = next_36956;
|
|
next_369562.next = next_369562;
|
|
return next_369562;
|
|
}
|
|
return {next: doneResult_36957};
|
|
function values_36955Next() { // fn#36956, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:6980, owner: values_36955.next, offset: 0x0109b446, size: 134 bytes, params: 1, frame: 15
|
|
var hasOwnPropertyBinding;
|
|
var call;
|
|
var value4;
|
|
var next_36956Binding;
|
|
let binding = env0_1;
|
|
const value2 = typeof binding === 'bigint' ? binding + 1n : +binding + 1;
|
|
env0_1 = value2;
|
|
let length = env0_0.length;
|
|
if (value2 < length) {
|
|
loopExit1: while (true) {
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
binding = env0_0;
|
|
if (Reflect.apply(call, hasOwnPropertyBinding, [binding, env0_1])) {
|
|
next_36956Binding = next_36956;
|
|
next_36956Binding.value = env0_0[env0_1];
|
|
next_36956Binding.done = false;
|
|
return next_36956Binding;
|
|
}
|
|
binding = env0_1;
|
|
value4 = typeof binding === 'bigint' ? binding + 1n : +binding + 1;
|
|
env0_1 = value4;
|
|
length = env0_0.length;
|
|
if (value4 < length) {
|
|
continue;
|
|
}
|
|
break loopExit1;
|
|
}
|
|
}
|
|
next_36956Binding = next_36956;
|
|
next_36956Binding.value = undefined;
|
|
next_36956Binding.done = true;
|
|
return next_36956Binding;
|
|
}
|
|
|
|
}
|
|
|
|
function isGeneratorFunction_36959(a0) { // fn#36959, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:853, offset: 0x0109b4cc, size: 73 bytes, params: 2, frame: 5
|
|
const r2 = typeof a0 === 'function' && a0.constructor;
|
|
return r2 ? r2 === constructor_36937 || (r2.displayName || r2.name) === 'GeneratorFunction' : !!r2;
|
|
}
|
|
|
|
function mark_36960(a0) { // fn#36960, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:997, offset: 0x0109b515, size: 110 bytes, params: 2, frame: 15
|
|
let Object = global.Object;
|
|
if (Object.setPrototypeOf) {
|
|
Object = global.Object;
|
|
Object.setPrototypeOf(a0, constructor_36938);
|
|
} else {
|
|
a0.__proto__ = constructor_36938;
|
|
if (!(toStringTag in a0)) {
|
|
a0[toStringTag] = 'GeneratorFunction';
|
|
}
|
|
}
|
|
Object = global.Object;
|
|
a0.prototype = Object.create(env0_9);
|
|
return a0;
|
|
}
|
|
|
|
function async_36963(a0, a1, a2, a3) { // fn#36963, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:1373, offset: 0x0109b583, size: 105 bytes, params: 5, frame: 20
|
|
var r0;
|
|
var value;
|
|
const asyncIterator_36942 = new AsyncIterator_36942(wrap_36932(a0, a1, a2, a3));
|
|
const regeneratorRuntimeBinding = regeneratorRuntime;
|
|
if (regeneratorRuntimeBinding.isGeneratorFunction(a1)) {
|
|
r0 = asyncIterator_36942;
|
|
} else {
|
|
value = asyncIterator_36942.next();
|
|
value = value.then(_fun36964);
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
function _fun36964(a0) { // fn#36964, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:1479, offset: 0x00c87106, size: 36 bytes, params: 2, frame: 10
|
|
return a0.done ? a0.value : env0_0.next();
|
|
}
|
|
|
|
}
|
|
|
|
function keys_36967(a0) { // fn#36967, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:1654, offset: 0x0109b5ec, size: 73 bytes, params: 2, frame: 17
|
|
var propertyName;
|
|
const env0_0 = a0;
|
|
const items2 = [];
|
|
for (propertyName in a0) {
|
|
items2.push(propertyName);
|
|
}
|
|
items2.reverse();
|
|
return keys_36967Next;
|
|
function keys_36967Next() { // fn#36968, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:1719, owner: keys_36967.next, offset: 0x00c8718a, size: 86 bytes, params: 1, frame: 11
|
|
var binding;
|
|
var pop;
|
|
var value2;
|
|
var keys_36967NextBinding;
|
|
let length = env0_1.length;
|
|
if (length) {
|
|
loopExit1: while (true) {
|
|
binding = env0_1;
|
|
pop = binding.pop;
|
|
value2 = Reflect.apply(pop, binding, []);
|
|
if (value2 in env0_0) {
|
|
keys_36967NextBinding = keys_36967Next;
|
|
keys_36967NextBinding.value = value2;
|
|
keys_36967NextBinding.done = false;
|
|
return keys_36967NextBinding;
|
|
}
|
|
length = env0_1.length;
|
|
if (length) {
|
|
continue;
|
|
}
|
|
break loopExit1;
|
|
}
|
|
}
|
|
keys_36967NextBinding = keys_36967Next;
|
|
keys_36967NextBinding.done = true;
|
|
return keys_36967NextBinding;
|
|
}
|
|
|
|
}
|
|
|
|
function reset_36969(a0) { // fn#36969, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:1901, offset: 0x0109b635, size: 198 bytes, params: 2, frame: 25
|
|
var r6;
|
|
var r13;
|
|
var propertyName;
|
|
var propertyName2;
|
|
var charAt;
|
|
var value2;
|
|
var value3;
|
|
var isNaN;
|
|
var slice;
|
|
var value4;
|
|
this.prev = 0;
|
|
this.next = 0;
|
|
this._sent = undefined;
|
|
this.sent = undefined;
|
|
this.done = false;
|
|
this.delegate = null;
|
|
this.method = 'next';
|
|
this.arg = undefined;
|
|
const tryEntries = this.tryEntries;
|
|
tryEntries.forEach(resetTryEntry_36953);
|
|
if (!a0) {
|
|
for (propertyName in this) {
|
|
charAt = propertyName.charAt;
|
|
value2 = Reflect.apply(charAt, propertyName, [0]) === 't';
|
|
if (!value2) {
|
|
r13 = value2;
|
|
continue;
|
|
}
|
|
value3 = hasOwnProperty.call(this, propertyName);
|
|
r13 = value3;
|
|
if (!r13) {
|
|
continue;
|
|
}
|
|
isNaN = global.isNaN;
|
|
slice = propertyName.slice;
|
|
value4 = !isNaN(Number(Reflect.apply(slice, propertyName, [1])));
|
|
r13 = value4;
|
|
if (!r13) {
|
|
r6 = propertyName2;
|
|
continue;
|
|
}
|
|
this[propertyName] = undefined;
|
|
r6 = propertyName2;
|
|
}
|
|
}
|
|
}
|
|
|
|
function dispatchException_36971(a0) { // fn#36971, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:2298, offset: 0x0109b6fb, size: 375 bytes, params: 2, frame: 28
|
|
var r11;
|
|
var property;
|
|
var completion;
|
|
var tryLoc;
|
|
var prev;
|
|
var hasOwnPropertyBinding;
|
|
var call;
|
|
var value3;
|
|
var finallyLoc;
|
|
var catchLoc;
|
|
const env0_0 = a0;
|
|
const dispatchException_36971Handle2 = dispatchException_36971Handle;
|
|
if (this.done) {
|
|
throw a0;
|
|
}
|
|
let tryEntries = this.tryEntries;
|
|
let value = tryEntries.length - 1;
|
|
if (value >= 0) {
|
|
r11 = value;
|
|
reducibleLoop2: while (true) {
|
|
tryEntries = this.tryEntries;
|
|
property = tryEntries[r11];
|
|
completion = property.completion;
|
|
var env0_2 = completion;
|
|
tryLoc = property.tryLoc;
|
|
if (tryLoc === 'root') {
|
|
return dispatchException_36971Handle2('end');
|
|
}
|
|
tryLoc = property.tryLoc;
|
|
prev = this.prev;
|
|
if (tryLoc <= prev) {
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
value = Reflect.apply(call, hasOwnPropertyBinding, [property, 'catchLoc']);
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
value3 = Reflect.apply(call, hasOwnPropertyBinding, [property, 'finallyLoc']);
|
|
reducibleJoin15: while (true) {
|
|
reducibleJoin6: while (true) {
|
|
if (value) {
|
|
if (value3) {
|
|
prev = this.prev;
|
|
catchLoc = property.catchLoc;
|
|
if (prev < catchLoc) {
|
|
return dispatchException_36971Handle2(property.catchLoc, true);
|
|
}
|
|
prev = this.prev;
|
|
finallyLoc = property.finallyLoc;
|
|
if (prev < finallyLoc) {
|
|
return dispatchException_36971Handle2(property.finallyLoc);
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
break reducibleJoin6;
|
|
}
|
|
break reducibleJoin6;
|
|
}
|
|
if (value) {
|
|
prev = this.prev;
|
|
catchLoc = property.catchLoc;
|
|
if (prev < catchLoc) {
|
|
return dispatchException_36971Handle2(property.catchLoc, true);
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
if (!value3) {
|
|
throw new global.Error('try statement without catch or finally');
|
|
}
|
|
prev = this.prev;
|
|
finallyLoc = property.finallyLoc;
|
|
if (prev < finallyLoc) {
|
|
return dispatchException_36971Handle2(property.finallyLoc);
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
}
|
|
value = typeof r11 === 'bigint' ? r11 - 1n : +r11 - 1;
|
|
if (!(value >= 0)) {
|
|
return undefined;
|
|
}
|
|
r11 = value;
|
|
continue reducibleLoop2;
|
|
}
|
|
}
|
|
function dispatchException_36971Handle(a0, a1) { // fn#36972, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:2360, owner: dispatchException_36971.handle, offset: 0x00c87457, size: 84 bytes, params: 3, frame: 4
|
|
completion.type = 'throw';
|
|
completion.arg = env0_0;
|
|
env0_1.next = a0;
|
|
if (a1) {
|
|
env0_1.method = 'next';
|
|
env0_1.arg = undefined;
|
|
}
|
|
return !!a1;
|
|
}
|
|
|
|
}
|
|
|
|
function abrupt_36973(a0, a1) { // fn#36973, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:2970, offset: 0x0109b872, size: 242 bytes, params: 3, frame: 21
|
|
var r8;
|
|
var r2;
|
|
var r6;
|
|
var r4;
|
|
var r0;
|
|
var property;
|
|
var tryLoc;
|
|
var prev;
|
|
var hasOwnPropertyBinding;
|
|
var call;
|
|
var finallyLoc;
|
|
let tryEntries = this.tryEntries;
|
|
let value = tryEntries.length - 1;
|
|
const value3 = undefined;
|
|
if (value >= 0) {
|
|
r8 = value;
|
|
reducibleLoop1: while (true) {
|
|
tryEntries = this.tryEntries;
|
|
property = tryEntries[r8];
|
|
tryLoc = property.tryLoc;
|
|
prev = this.prev;
|
|
if (tryLoc <= prev) {
|
|
hasOwnPropertyBinding = hasOwnProperty;
|
|
call = hasOwnPropertyBinding.call;
|
|
reducibleJoin4: while (true) {
|
|
if (Reflect.apply(call, hasOwnPropertyBinding, [property, 'finallyLoc'])) {
|
|
prev = this.prev;
|
|
finallyLoc = property.finallyLoc;
|
|
if (prev < finallyLoc) {
|
|
r2 = property;
|
|
break reducibleLoop1;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
break reducibleJoin4;
|
|
}
|
|
}
|
|
value = typeof r8 === 'bigint' ? r8 - 1n : +r8 - 1;
|
|
if (value >= 0) {
|
|
r8 = value;
|
|
continue reducibleLoop1;
|
|
}
|
|
r2 = value3;
|
|
break reducibleLoop1;
|
|
}
|
|
} else {
|
|
r2 = value3;
|
|
}
|
|
reducibleJoin9: while (true) {
|
|
if (r2) {
|
|
value = a0 === 'break';
|
|
reducibleJoin8: while (true) {
|
|
if (value) {
|
|
r6 = value;
|
|
break reducibleJoin8;
|
|
}
|
|
value = a0 === 'continue';
|
|
r6 = value;
|
|
break reducibleJoin8;
|
|
}
|
|
r4 = r6;
|
|
break reducibleJoin9;
|
|
}
|
|
r4 = r2;
|
|
break reducibleJoin9;
|
|
}
|
|
reducibleJoin11: while (true) {
|
|
if (r4) {
|
|
tryLoc = r2.tryLoc;
|
|
value = tryLoc <= a1;
|
|
r4 = value;
|
|
break reducibleJoin11;
|
|
}
|
|
break reducibleJoin11;
|
|
}
|
|
reducibleJoin13: while (true) {
|
|
if (r4) {
|
|
finallyLoc = r2.finallyLoc;
|
|
value = a1 <= finallyLoc;
|
|
r4 = value;
|
|
break reducibleJoin13;
|
|
}
|
|
break reducibleJoin13;
|
|
}
|
|
reducibleJoin15: while (true) {
|
|
if (r4) {
|
|
value = null;
|
|
r2 = value;
|
|
break reducibleJoin15;
|
|
}
|
|
break reducibleJoin15;
|
|
}
|
|
r4 = r2 ? r2.completion : {};
|
|
r4.type = a0;
|
|
r4.arg = a1;
|
|
if (r2) {
|
|
this.method = 'next';
|
|
this.next = r2.finallyLoc;
|
|
r0 = env0_8;
|
|
} else {
|
|
r0 = this.complete(r4);
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function complete_36974(a0, a1) { // fn#36974, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:3344, offset: 0x0109b964, size: 159 bytes, params: 3, frame: 6
|
|
var arg;
|
|
const value = a1;
|
|
if (a0.type === 'throw') {
|
|
throw a0.arg;
|
|
}
|
|
if (a0.type === 'break') {
|
|
this.next = a0.arg;
|
|
} else if (a0.type === 'continue') {
|
|
this.next = a0.arg;
|
|
} else if (a0.type === 'return') {
|
|
arg = a0.arg;
|
|
this.arg = arg;
|
|
this.rval = arg;
|
|
this.method = 'return';
|
|
this.next = 'end';
|
|
} else if (a0.type === 'normal' && value) {
|
|
this.next = value;
|
|
}
|
|
return env0_8;
|
|
}
|
|
|
|
function finish_36975(a0) { // fn#36975, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:3587, offset: 0x0109ba03, size: 105 bytes, params: 2, frame: 15
|
|
var r1;
|
|
var property;
|
|
var finallyLoc;
|
|
let tryEntries = this.tryEntries;
|
|
let value = tryEntries.length - 1;
|
|
if (value >= 0) {
|
|
r1 = value;
|
|
loopExit1: while (true) {
|
|
tryEntries = this.tryEntries;
|
|
property = tryEntries[r1];
|
|
finallyLoc = property.finallyLoc;
|
|
if (finallyLoc === a0) {
|
|
this.complete(property.completion, property.afterLoc);
|
|
value = environment;
|
|
resetTryEntry_36953(property);
|
|
return env0_8;
|
|
}
|
|
value = typeof r1 === 'bigint' ? r1 - 1n : +r1 - 1;
|
|
if (value >= 0) {
|
|
r1 = value;
|
|
continue;
|
|
}
|
|
break loopExit1;
|
|
}
|
|
}
|
|
}
|
|
|
|
function _catch_36976(a0) { // fn#36976, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:3769, offset: 0x0109ba6c, size: 136 bytes, params: 2, frame: 14
|
|
var r1;
|
|
var arg;
|
|
var property;
|
|
var tryLoc;
|
|
var completion;
|
|
var type;
|
|
var value2;
|
|
let tryEntries = this.tryEntries;
|
|
let value = tryEntries.length - 1;
|
|
if (value >= 0) {
|
|
r1 = value;
|
|
loopExit1: while (true) {
|
|
tryEntries = this.tryEntries;
|
|
property = tryEntries[r1];
|
|
tryLoc = property.tryLoc;
|
|
if (tryLoc === a0) {
|
|
completion = property.completion;
|
|
type = completion.type;
|
|
if (type !== 'throw') {
|
|
arg = undefined;
|
|
continue;
|
|
}
|
|
arg = completion.arg;
|
|
value2 = environment;
|
|
resetTryEntry_36953(property);
|
|
return arg;
|
|
}
|
|
value = typeof r1 === 'bigint' ? r1 - 1n : +r1 - 1;
|
|
if (value >= 0) {
|
|
r1 = value;
|
|
continue;
|
|
}
|
|
break loopExit1;
|
|
}
|
|
}
|
|
const Error = global.Error;
|
|
throw new Error('illegal catch attempt');
|
|
}
|
|
|
|
function delegateYield_36977(a0, a1, a2) { // fn#36977, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:4010, offset: 0x0109baf4, size: 75 bytes, params: 4, frame: 14
|
|
const object = {};
|
|
object.iterator = values_36955(a0);
|
|
object.resultName = a1;
|
|
object.nextLoc = a2;
|
|
this.delegate = object;
|
|
if (this.method === 'next') {
|
|
this.arg = undefined;
|
|
}
|
|
return env0_8;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function awrap_36961(a0) { // fn#36961, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:1206, offset: 0x00c8707d, size: 12 bytes, params: 2, frame: 2
|
|
return {__await: a0};
|
|
}
|
|
|
|
function _fun36962() { // fn#36962, offset: 0x00c86fc3, size: 5 bytes, params: 1, frame: 1
|
|
return this;
|
|
}
|
|
|
|
function _fun36965() { // fn#36965, offset: 0x00c86fc3, size: 5 bytes, params: 1, frame: 1
|
|
return this;
|
|
}
|
|
|
|
function toString_36966() { // fn#36966, offset: 0x00c8712a, size: 8 bytes, params: 1, frame: 1
|
|
return '[object Generator]';
|
|
}
|
|
|
|
function stop_36970() { // fn#36970, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4476:2165, offset: 0x00c872a6, size: 58 bytes, params: 1, frame: 4
|
|
this.done = true;
|
|
const completion = this.tryEntries[0].completion;
|
|
if (completion.type === 'throw') {
|
|
throw completion.arg;
|
|
}
|
|
return this.rval;
|
|
}
|
|
|
|
global.__d(_fun36930, 4304, []) /* metro module 4304 */;
|