Files
discord-decomp/sources/by-id/module-00191.js
T
2026-07-28 01:06:53 +03:00

955 lines
41 KiB
JavaScript

/* Metro module 191; source: unknown; dependencies: [] */
function _fun2657(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#2657, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:6, offset: 0x00c862af, size: 115 bytes, params: 8, frame: 15
var error;
var globalThis;
var Function;
const value = _fun2658(typeof module === 'object' ? module.exports : {});
try {
global.regeneratorRuntime = value;
} catch (error) {
globalThis = global.globalThis;
if (typeof globalThis === 'object') {
globalThis = global.globalThis;
globalThis.regeneratorRuntime = value;
} else {
Function = global.Function;
Function('r', 'regeneratorRuntime = r')(value);
}
}
function _fun2658(a0) { // fn#2658, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:37, offset: 0x00c86322, size: 880 bytes, params: 2, frame: 35
var r6;
var error;
let env0_0 = a0;
let closure = function(a0, a1, a2) {
var Object = global.Object;
Object.defineProperty(a0, a1, {'value': null, 'enumerable': true, 'configurable': true, 'writable': true,
value: a2});
return a0[a1];
};
var env0_11;
const wrap_26602 = wrap_2660;
const tryCatch = 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 closure3 = function() {
};
const closure4 = function() {
};
const closure5 = function() {
};
const closure6 = function(a0) {
var env0_0 = a0;
['next', 'throw', 'return'].forEach(_fun2666);
};
const AsyncIterator2 = AsyncIterator;
const pushTryEntry = 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 = function(a0) {
var r0;
r0 = a0.completion || ({});
r0.type = 'normal';
delete r0.arg;
a0.completion = r0;
};
const closure8 = function(a0) {
this.tryEntries = [{tryLoc: 'root'}];
a0.forEach(pushTryEntry, this);
this.reset(true);
};
const values_26832 = values_2683;
const doneResult = function() {
return {value: undefined, done: true};
};
let Object = global.Object;
const prototype = Object.prototype;
const hasOwnProperty = prototype.hasOwnProperty;
Object = global.Object;
const r22 = Object.defineProperty || (function(a0, a1, a2) {
a0[a1] = a2.value;
});
const Symbol = global.Symbol;
const r23 = typeof Symbol === 'function' ? global.Symbol : {};
let iterator = r23.iterator;
iterator = !iterator ? '@@iterator' : iterator;
let asyncIterator = r23.asyncIterator;
asyncIterator = !asyncIterator ? '@@asyncIterator' : asyncIterator;
const r222 = r23.toStringTag || '@@toStringTag';
try {
closure({}, '');
r6 = closure;
} catch (error) {
closure = function(a0, a1, a2) {
a0[a1] = a2;
return a2;
};
env0_11 = closure;
r6 = closure;
}
a0.wrap = wrap_26602;
const env0_9 = {};
let object = {};
r6(object, iterator, function() {
return this;
});
Object = global.Object;
const getPrototypeOf = Object.getPrototypeOf;
const r18 = getPrototypeOf && getPrototypeOf(getPrototypeOf(values_26832([])));
const r7 = r18 && r18 !== prototype && hasOwnProperty.call(r18, iterator) ? r18 : object;
Object = global.Object;
let value = Object.create(r7);
closure3.prototype = value;
closure5.prototype = value;
closure4.prototype = closure5;
r22(value, 'constructor', {value: closure5, configurable: true});
r22(closure5, 'constructor', {value: closure4, configurable: true});
closure4.displayName = r6(closure5, r222, 'GeneratorFunction');
a0.isGeneratorFunction = isGeneratorFunction;
a0.mark = mark_2690;
a0.awrap = function(a0) {
return {__await: a0};
};
closure6(AsyncIterator2.prototype);
r6(AsyncIterator2.prototype, asyncIterator, function() {
return this;
});
a0.AsyncIterator = AsyncIterator2;
a0.async = async;
closure6(value);
r6(value, r222, 'Generator');
r6(value, iterator, function() {
return this;
});
r6(value, 'toString', function() {
return '[object Generator]';
});
a0.keys = function(a0) {
var propertyName;
var value = (0, global.Object)(a0);
var env0_0 = value;
var items = [];
var env0_1 = items;
for (propertyName in value) {
items.push(propertyName);
}
items.reverse();
var closure = _fun2698;
var env0_2 = closure;
return closure;
};
a0.values = values_26832;
closure8.prototype = {constructor: closure8, reset: reset, stop: function() {
this.done = true;
var completion = this.tryEntries[0].completion;
if (completion.type === 'throw') {
throw completion.arg;
}
return this.rval;
}, dispatchException: dispatchException, abrupt: abrupt, complete: complete, finish: finish, catch: _catch,
delegateYield: delegateYield};
return a0;
function wrap_2660(a0, a1, a2, a3) { // fn#2660, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:482, offset: 0x00c866c5, size: 137 bytes, params: 5, frame: 18
let value = a1;
const value2 = a3;
const r0 = value && value.prototype instanceof Generator ? value : Generator;
const Object = global.Object;
value = Object.create(r0.prototype);
const constructor_26822 = new constructor_2682(value2 || []);
const binding = env0_2;
const object = {};
object.value = makeInvokeMethod(a0, a2, constructor_26822);
binding(value, '_invoke', object);
return value;
}
function defineIteratorMethods(a0) { // fn#2665, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1153, offset: 0x00c86789, size: 38 bytes, params: 2, frame: 11
const env0_0 = a0;
['next', 'throw', 'return'].forEach(_fun2666);
function _fun2666(a0) { // fn#2666, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1222, offset: 0x00c867af, size: 39 bytes, params: 2, frame: 15
env1_11(a0, a0, _fun2667);
function _fun2667(a0) { // fn#2667, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1246, offset: 0x00c867d6, size: 27 bytes, params: 2, frame: 13
return this._invoke(env0_0, a0);
}
}
}
function AsyncIterator(a0, a1) { // fn#2668, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1289, offset: 0x00c867f1, size: 61 bytes, params: 3, frame: 15
const env0_0 = a0;
const env0_1 = a1;
env0_2(this, '_invoke', {value: value_2674});
function AsyncIteratorInvoke(a0, a1, a2, a3) { // fn#2669, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1317, owner: AsyncIterator.invoke, offset: 0x00c8682e, size: 206 bytes, params: 5, frame: 19
var environment;
var r0;
var value4;
var hasOwnPropertyBinding;
const env0_0 = a2;
const env0_1 = a3;
let value = environment.__proto__;
const tryCatchBinding = tryCatch;
const binding = env0_0;
const value3 = tryCatchBinding(binding[a0], binding, a1);
if (value3.type !== 'throw') {
value4 = value3.arg.value;
if (value4) {
if (typeof value4 !== 'object') {
value = require.resolve(value4);
value = value.then(function(a0) {
arg.value = a0;
importDefault(arg);
}, _fun2673);
r0 = value;
} else {
hasOwnPropertyBinding = hasOwnProperty;
if (hasOwnPropertyBinding.call(value4, '__await')) {
value = require.resolve(value4.__await);
value = value.then(_fun2670, _fun2671);
r0 = value;
} else {
value = require.resolve(value4);
value = value.then(_fun2672, _fun2673);
r0 = value;
}
}
} else {
value = require.resolve(value4);
value = value.then(_fun2672, _fun2673);
r0 = value;
}
return r0;
}
a3(value3.arg);
function _fun2670(a0) { // fn#2670, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1487, offset: 0x00c868fc, size: 35 bytes, params: 2, frame: 17
AsyncIteratorInvoke('next', a0, importDefault, importAll);
}
function _fun2671(a0) { // fn#2671, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1523, offset: 0x00c8691f, size: 35 bytes, params: 2, frame: 17
AsyncIteratorInvoke('throw', a0, importDefault, importAll);
}
function _fun2672(a0) { // fn#2672, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1579, offset: 0x00c86942, size: 33 bytes, params: 2, frame: 11
arg.value = a0;
importDefault(arg);
}
function _fun2673(a0) { // fn#2673, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1609, offset: 0x00c86963, size: 33 bytes, params: 2, frame: 17
return AsyncIteratorInvoke('throw', a0, importDefault, importAll);
}
}
function AsyncIteratorValue(a0, a1) { // fn#2674, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1692, owner: AsyncIterator.value, offset: 0x00c86984, size: 60 bytes, params: 3, frame: 14
const env0_0 = a0;
const env0_1 = a1;
const callInvokeWithMethodAndArg2 = callInvokeWithMethodAndArg;
return env0_2 ? env0_2.then(callInvokeWithMethodAndArg2,
callInvokeWithMethodAndArg2) : callInvokeWithMethodAndArg2();
function callInvokeWithMethodAndArg() { // fn#2675, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1714, owner: AsyncIterator.value.callInvokeWithMethodAndArg, offset: 0x00c869c0, size: 36 bytes, params: 1, frame: 11
var environment;
let value = environment.__proto__;
value = Object.create(require.prototype, {constructor: {value: require}});
const require2 = new require(_fun2676);
return require2 instanceof Object ? require2 : value;
function _fun2676(a0, a1) { // fn#2676, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1766, offset: 0x00c869e4, size: 34 bytes, params: 3, frame: 17
AsyncIteratorInvoke(env1_0, require, a0, a1);
}
}
}
}
function makeInvokeMethod(a0, a1, a2) { // fn#2677, offset: 0x00c86a06, size: 41 bytes, params: 4, frame: 2
const env0_0 = a0;
const env0_1 = a1;
const env0_2 = a2;
return makeInvokeMethodInvoke;
function makeInvokeMethodInvoke(a0, a1) { // fn#2678, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:1952, owner: makeInvokeMethod.invoke, offset: 0x00c86a2f, size: 511 bytes, params: 3, frame: 27
var r4;
var delegate;
var value3;
var method;
var abrupt;
var arg;
var dispatchException;
var tryCatchBinding;
var value4;
var type;
var done;
let binding = env0_3;
if (binding === env1_7) {
throw new global.Error('Generator is already running');
}
if (env0_3 === env1_8) {
if (a0 === 'throw') {
throw a1;
}
return doneResult();
}
importDefault.method = a0;
importDefault.arg = a1;
reducibleLoop3: while (true) {
delegate = importDefault.delegate;
if (delegate) {
value3 = maybeInvokeDelegate(delegate, importDefault);
reducibleJoin5: while (true) {
if (value3) {
if (value3 !== env1_9) {
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 === env1_5) {
env0_3 = env1_8;
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 = env1_7;
tryCatchBinding = tryCatch;
binding = env0_0;
value4 = tryCatchBinding(binding, require, importDefault);
type = value4.type;
if (type === 'normal') {
done = importDefault.done;
if (done) {
binding = env1_8;
r4 = binding;
} else {
binding = env1_6;
r4 = binding;
}
env0_3 = r4;
if (value4.arg !== env1_9) {
return {value: value4.arg, done: importDefault.done};
}
continue reducibleLoop3;
}
type = value4.type;
if (type !== 'throw') {
continue reducibleLoop3;
}
env0_3 = env1_8;
importDefault.method = 'throw';
arg = value4.arg;
importDefault.arg = arg;
continue reducibleLoop3;
}
}
}
function maybeInvokeDelegate(a0, a1) { // fn#2679, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:2539, offset: 0x00c86c2e, size: 412 bytes, params: 3, frame: 21
var r8;
var r7;
var r3;
var value;
var TypeError;
var value3;
var typeError;
var value6;
const method = a1.method;
let iterator = a0.iterator;
const property = iterator[method];
if (property === undefined) {
a1.delegate = null;
value = method === 'throw';
r3 = value && a0.iterator.return;
if (r3) {
a1.method = 'return';
a1.arg = undefined;
maybeInvokeDelegate(a0, a1);
r3 = a1.method === 'throw';
}
if (!r3) {
if (method !== 'return') {
a1.method = 'throw';
TypeError = global.TypeError;
value = "The iterator does not provide a '" + method;
value6 = Object.create(TypeError.prototype, {constructor: {value: TypeError}});
value += "' method";
typeError = new TypeError();
value = typeError instanceof Object ? typeError : value6;
a1.arg = value;
}
}
return env0_9;
}
const tryCatchBinding = tryCatch;
iterator = a0.iterator;
let arg = a1.arg;
const value2 = tryCatchBinding(property, iterator, arg);
if (value2.type === 'throw') {
a1.method = 'throw';
a1.arg = value2.arg;
a1.delegate = null;
return env0_9;
}
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;
r8 = env0_9;
} else {
r8 = arg;
}
r7 = r8;
} 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;
r7 = env0_9;
}
return r7;
}
function values_2683(a0) { // fn#2683, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:3516, offset: 0x00c86e8f, size: 121 bytes, params: 2, frame: 14
var property;
var next_26842;
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};
}
next_26842 = next_2684;
next_26842.next = next_26842;
return next_26842;
}
return {next: doneResult};
function values_2683Next() { // fn#2684, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:3644, owner: values_2683.next, offset: 0x00c86f08, size: 134 bytes, params: 1, frame: 15
var hasOwnPropertyBinding;
var call;
var value4;
var next_2684Binding;
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_2684Binding = next_2684;
next_2684Binding.value = env0_0[env0_1];
next_2684Binding.done = false;
return next_2684Binding;
}
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_2684Binding = next_2684;
next_2684Binding.value = undefined;
next_2684Binding.done = true;
return next_2684Binding;
}
}
function isGeneratorFunction(a0) { // fn#2689, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:4188, offset: 0x00c86fc8, size: 73 bytes, params: 2, frame: 5
const r2 = typeof a0 === 'function' && a0.constructor;
return r2 ? r2 === value_2663 || (r2.displayName || r2.name) === 'GeneratorFunction' : !!r2;
}
function mark_2690(a0) { // fn#2690, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:4332, offset: 0x00c87011, size: 108 bytes, params: 2, frame: 17
let Object = global.Object;
if (Object.setPrototypeOf) {
Object = global.Object;
Object.setPrototypeOf(a0, prototype_2);
} else {
a0.__proto__ = prototype_2;
env0_11(a0, env0_4, 'GeneratorFunction');
}
Object = global.Object;
a0.prototype = Object.create(env0_10);
return a0;
}
function async(a0, a1, a2, a3, a4) { // fn#2693, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:4714, offset: 0x00c87089, size: 125 bytes, params: 6, frame: 21
var r0;
let value = a4;
const asyncIterator = new AsyncIterator(wrap_2660(a0, a1, a2, a3), value !== undefined ? value : global.Promise);
const binding = asyncIterator;
if (binding.isGeneratorFunction(a1)) {
r0 = asyncIterator;
} else {
value = asyncIterator.next();
value = value.then(_fun2694);
r0 = value;
}
return r0;
function _fun2694(a0) { // fn#2694, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:4843, offset: 0x00c87106, size: 36 bytes, params: 2, frame: 10
return a0.done ? a0.value : env0_0.next();
}
}
function keys_2697(a0) { // fn#2697, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:5046, offset: 0x00c87132, size: 88 bytes, params: 2, frame: 17
var propertyName;
const Object = global.Object;
const value = Object(a0);
const items2 = [];
for (propertyName in value) {
items2.push(propertyName);
}
items2.reverse();
return keys_2697Next;
function keys_2697Next() { // fn#2698, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:5123, owner: keys_2697.next, offset: 0x00c8718a, size: 86 bytes, params: 1, frame: 11
var binding;
var pop;
var value2;
var keys_2697NextBinding;
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_2697NextBinding = keys_2697Next;
keys_2697NextBinding.value = value2;
keys_2697NextBinding.done = false;
return keys_2697NextBinding;
}
length = env0_1.length;
if (length) {
continue;
}
break loopExit1;
}
}
keys_2697NextBinding = keys_2697Next;
keys_2697NextBinding.done = true;
return keys_2697NextBinding;
}
}
function reset(a0) { // fn#2699, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:5305, offset: 0x00c871e0, 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);
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(a0) { // fn#2701, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:5702, offset: 0x00c872e0, 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 dispatchExceptionHandle2 = dispatchExceptionHandle;
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 dispatchExceptionHandle2('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 dispatchExceptionHandle2(property.catchLoc, true);
}
prev = this.prev;
finallyLoc = property.finallyLoc;
if (prev < finallyLoc) {
return dispatchExceptionHandle2(property.finallyLoc);
}
break reducibleJoin15;
}
break reducibleJoin6;
}
break reducibleJoin6;
}
if (value) {
prev = this.prev;
catchLoc = property.catchLoc;
if (prev < catchLoc) {
return dispatchExceptionHandle2(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 dispatchExceptionHandle2(property.finallyLoc);
}
break reducibleJoin15;
}
}
value = typeof r11 === 'bigint' ? r11 - 1n : +r11 - 1;
if (!(value >= 0)) {
return undefined;
}
r11 = value;
continue reducibleLoop2;
}
}
function dispatchExceptionHandle(a0, a1) { // fn#2702, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:5764, owner: dispatchException.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(a0, a1) { // fn#2703, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:6374, offset: 0x00c874ab, 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_9;
} else {
r0 = this.complete(r4);
}
return r0;
}
function complete(a0, a1) { // fn#2704, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:6748, offset: 0x00c8759d, 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_9;
}
function finish(a0) { // fn#2705, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:6991, offset: 0x00c8763c, 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(property);
return env0_9;
}
value = typeof r1 === 'bigint' ? r1 - 1n : +r1 - 1;
if (value >= 0) {
r1 = value;
continue;
}
break loopExit1;
}
}
}
function _catch(a0) { // fn#2706, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:7173, offset: 0x00c876a5, 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(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(a0, a1, a2) { // fn#2707, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:216:7414, offset: 0x00c8772d, size: 75 bytes, params: 4, frame: 14
const object = {};
object.iterator = values_2683(a0);
object.resultName = a1;
object.nextLoc = a2;
this.delegate = object;
if (this.method === 'next') {
this.arg = undefined;
}
return env0_9;
}
}
}
global.__d(_fun2657, 191, []) /* metro module 191 */;