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

984 lines
44 KiB
JavaScript

/* Metro module 4244; source: unknown; dependencies: [10] */
function _fun35223(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#35223, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4415:6, offset: 0x0106c9ce, size: 67 bytes, params: 8, frame: 3
const env0_0 = require;
module.exports = exports_35224;
module.exports.__esModule = true;
module.exports.default = module.exports;
function exports_35224() { // fn#35224, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4415:36, offset: 0x0106ca11, size: 917 bytes, params: 1, frame: 36
var r6;
var error;
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_352262 = wrap_35226;
const exports_35224TryCatch = 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(_fun35232);
};
const AsyncIterator_352342 = AsyncIterator_35234;
const exports_35224PushTryEntry = 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 exports_35224ResetTryEntry = 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(exports_35224PushTryEntry, this);
this.reset(true);
};
const values_352492 = values_35249;
const binding = env0_1;
binding.exports = exports_35251;
binding.exports.__esModule = true;
binding.exports.default = binding.exports;
let object = {};
let Object = global.Object;
const prototype = Object.prototype;
const hasOwnProperty = prototype.hasOwnProperty;
Object = global.Object;
const r23 = Object.defineProperty || (function(a0, a1, a2) {
a0[a1] = a2.value;
});
const Symbol = global.Symbol;
const r24 = typeof Symbol === 'function' ? global.Symbol : {};
let iterator = r24.iterator;
iterator = !iterator ? '@@iterator' : iterator;
let asyncIterator = r24.asyncIterator;
asyncIterator = !asyncIterator ? '@@asyncIterator' : asyncIterator;
const r232 = r24.toStringTag || '@@toStringTag';
try {
closure({}, '');
r6 = closure;
} catch (error) {
closure = function(a0, a1, a2) {
a0[a1] = a2;
return a2;
};
env0_11 = closure;
r6 = closure;
}
object.wrap = wrap_352262;
const env0_9 = {};
const object4 = {};
r6(object4, iterator, function() {
return this;
});
Object = global.Object;
const getPrototypeOf = Object.getPrototypeOf;
const r19 = getPrototypeOf && getPrototypeOf(getPrototypeOf(values_352492([])));
const r7 = r19 && r19 !== prototype && hasOwnProperty.call(r19, iterator) ? r19 : object4;
Object = global.Object;
let value = Object.create(r7);
closure3.prototype = value;
closure5.prototype = value;
closure4.prototype = closure5;
r23(value, 'constructor', {value: closure5, configurable: true});
r23(closure5, 'constructor', {value: closure4, configurable: true});
closure4.displayName = r6(closure5, r232, 'GeneratorFunction');
object.isGeneratorFunction = isGeneratorFunction_35255;
object.mark = mark_35256;
object.awrap = function(a0) {
return {__await: a0};
};
closure6(AsyncIterator_352342.prototype);
r6(AsyncIterator_352342.prototype, asyncIterator, function() {
return this;
});
object.AsyncIterator = AsyncIterator_352342;
object.async = async_35259;
closure6(value);
r6(value, r232, 'Generator');
r6(value, iterator, function() {
return this;
});
r6(value, 'toString', function() {
return '[object Generator]';
});
object.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 = _fun35264;
var env0_2 = closure;
return closure;
};
object.values = values_352492;
closure8.prototype = {constructor: closure8, reset: reset_35265, stop: function() {
this.done = true;
var completion = this.tryEntries[0].completion;
if (completion.type === 'throw') {
throw completion.arg;
}
return this.rval;
}, dispatchException: dispatchException_35267, abrupt: abrupt_35269, complete: complete_35270, finish: finish_35271,
catch: exports_35224_catch, delegateYield: delegateYield_35273};
return object;
function exports_35224Wrap(a0, a1, a2, a3) { // fn#35226, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:697, owner: exports_35224.wrap, offset: 0x00c866c5, size: 137 bytes, params: 5, frame: 18
let value = a1;
const value2 = a3;
const r0 = value && value.prototype instanceof exports_35224Generator ? value : exports_35224Generator;
const Object = global.Object;
value = Object.create(r0.prototype);
const constructor_352482 = new constructor_35248(value2 || []);
const binding = env0_2;
const object = {};
object.value = exports_35224MakeInvokeMethod(a0, a2, constructor_352482);
binding(value, '_invoke', object);
return value;
}
function exports_35224DefineIteratorMethods(a0) { // fn#35231, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1368, owner: exports_35224.defineIteratorMethods, offset: 0x0106cda6, size: 38 bytes, params: 2, frame: 11
const env0_0 = a0;
['next', 'throw', 'return'].forEach(_fun35232);
function _fun35232(a0) { // fn#35232, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1437, offset: 0x0106cdcc, size: 39 bytes, params: 2, frame: 15
env1_11(a0, a0, _fun35233);
function _fun35233(a0) { // fn#35233, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1461, offset: 0x00c867d6, size: 27 bytes, params: 2, frame: 13
return this._invoke(env0_0, a0);
}
}
}
function exports_35224AsyncIterator(a0, a1) { // fn#35234, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1504, owner: exports_35224.AsyncIterator, offset: 0x0106cdf3, size: 61 bytes, params: 3, frame: 15
const env0_0 = a0;
const env0_1 = a1;
env0_2(this, '_invoke', {value: value_35240});
function AsyncIteratorInvoke_35235(a0, a1, a2, a3) { // fn#35235, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1532, owner: exports_35224.AsyncIterator.invoke, offset: 0x0106ce30, size: 235 bytes, params: 5, frame: 19
var environment;
var r0;
var value4;
var value5;
var hasOwnPropertyBinding;
const env0_0 = a2;
const env0_1 = a3;
let value = environment.__proto__;
const exports_35224TryCatchBinding = exports_35224TryCatch;
const binding = env0_0;
const value3 = exports_35224TryCatchBinding(binding[a0], binding, a1);
if (value3.type !== 'throw') {
value4 = value3.arg.value;
if (value4) {
value5 = environment.__proto__.__proto__;
if ((require(10) /* metro dependency 10 */).default(value4) != 'object') {
value = require.resolve(value4);
value = value.then(function(a0) {
arg.value = a0;
importDefault(arg);
}, _fun35239);
r0 = value;
} else {
hasOwnPropertyBinding = hasOwnProperty;
if (hasOwnPropertyBinding.call(value4, '__await')) {
value = require.resolve(value4.__await);
value = value.then(_fun35236, _fun35237);
r0 = value;
} else {
value = require.resolve(value4);
value = value.then(_fun35238, _fun35239);
r0 = value;
}
}
} else {
value = require.resolve(value4);
value = value.then(_fun35238, _fun35239);
r0 = value;
}
return r0;
}
a3(value3.arg);
function _fun35236(a0) { // fn#35236, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1714, offset: 0x00c868fc, size: 35 bytes, params: 2, frame: 17
AsyncIteratorInvoke_35235('next', a0, importDefault, importAll);
}
function _fun35237(a0) { // fn#35237, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1750, offset: 0x00c8691f, size: 35 bytes, params: 2, frame: 17
AsyncIteratorInvoke_35235('throw', a0, importDefault, importAll);
}
function _fun35238(a0) { // fn#35238, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1806, offset: 0x00c86942, size: 33 bytes, params: 2, frame: 11
arg.value = a0;
importDefault(arg);
}
function _fun35239(a0) { // fn#35239, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1836, offset: 0x00c86963, size: 33 bytes, params: 2, frame: 17
return AsyncIteratorInvoke_35235('throw', a0, importDefault, importAll);
}
}
function AsyncIteratorValue_35240(a0, a1) { // fn#35240, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1919, owner: exports_35224.AsyncIterator.value, offset: 0x0106cf1b, size: 60 bytes, params: 3, frame: 14
const env0_0 = a0;
const env0_1 = a1;
const valueCallInvokeWithMethodAndArg2 = valueCallInvokeWithMethodAndArg;
return env0_2 ? env0_2.then(valueCallInvokeWithMethodAndArg2,
valueCallInvokeWithMethodAndArg2) : valueCallInvokeWithMethodAndArg2();
function valueCallInvokeWithMethodAndArg() { // fn#35241, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1939, owner: exports_35224.AsyncIterator.value.callInvokeWithMethodAndArg, offset: 0x0106cf57, 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(_fun35242);
return require2 instanceof Object ? require2 : value;
function _fun35242(a0, a1) { // fn#35242, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:1991, offset: 0x00c869e4, size: 34 bytes, params: 3, frame: 17
AsyncIteratorInvoke_35235(env1_0, require, a0, a1);
}
}
}
}
function exports_35224MakeInvokeMethod(a0, a1, a2) { // fn#35243, owner: exports_35224.makeInvokeMethod, offset: 0x0106cf7b, size: 41 bytes, params: 4, frame: 2
const env0_0 = a0;
const env0_1 = a1;
const env0_2 = a2;
return _fun35244;
function _fun35244(a0, a1) { // fn#35244, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:2177, offset: 0x0106cfa4, size: 502 bytes, params: 3, frame: 27
var r3;
var delegate;
var value3;
var method;
var abrupt;
var arg;
var dispatchException;
var exports_35224TryCatchBinding;
var value4;
var type;
var done;
let binding = env0_3;
if (binding === env1_7) {
throw global.Error('Generator is already running');
}
if (env0_3 === env1_8) {
if (a0 === 'throw') {
throw a1;
}
return {value: undefined, done: true};
}
importDefault.method = a0;
importDefault.arg = a1;
reducibleLoop3: while (true) {
delegate = importDefault.delegate;
if (delegate) {
value3 = exports_35224MaybeInvokeDelegate(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;
exports_35224TryCatchBinding = exports_35224TryCatch;
binding = env0_0;
value4 = exports_35224TryCatchBinding(binding, require, importDefault);
type = value4.type;
if (type === 'normal') {
done = importDefault.done;
if (done) {
binding = env1_8;
r3 = binding;
} else {
binding = env1_6;
r3 = binding;
}
env0_3 = r3;
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 exports_35224MaybeInvokeDelegate(a0, a1) { // fn#35245, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:2757, owner: exports_35224.maybeInvokeDelegate, 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;
exports_35224MaybeInvokeDelegate(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 exports_35224TryCatchBinding = exports_35224TryCatch;
iterator = a0.iterator;
let arg = a1.arg;
const value2 = exports_35224TryCatchBinding(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 exports_35224Values(a0) { // fn#35249, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:3734, owner: exports_35224.values, offset: 0x0106d19a, size: 194 bytes, params: 2, frame: 14
var environment;
var value;
var property;
var next_352502;
var TypeError;
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)) {
TypeError = global.TypeError;
value = environment.__proto__;
value = require(10) /* metro dependency 10 */;
value = value.default(a0);
value += ' is not iterable';
throw new TypeError();
}
next_352502 = next_35250;
var next_35250 = next_352502;
} else {
if (a0 !== '') {
TypeError = global.TypeError;
value = environment.__proto__;
value = require(10) /* metro dependency 10 */;
value = value.default(a0);
value += ' is not iterable';
throw new TypeError();
}
property = a0[iterator];
if (property) {
return property.call(a0);
}
if (typeof a0.next === 'function') {
return a0;
}
if (global.isNaN(a0.length)) {
TypeError = global.TypeError;
value = environment.__proto__;
value = require(10) /* metro dependency 10 */;
value = value.default(a0);
value += ' is not iterable';
throw new TypeError();
}
next_352502 = next_35250;
}
next_352502.next = next_352502;
return next_352502;
function valuesNext() { // fn#35250, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:3870, owner: exports_35224.values.next, offset: 0x00c86f08, size: 134 bytes, params: 1, frame: 15
var hasOwnPropertyBinding;
var call;
var value4;
var next_35250Binding;
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_35250Binding = next_35250;
next_35250Binding.value = env0_0[env0_1];
next_35250Binding.done = false;
return next_35250Binding;
}
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_35250Binding = next_35250;
next_35250Binding.value = undefined;
next_35250Binding.done = true;
return next_35250Binding;
}
}
function exports_35224Exports() { // fn#35251, owner: exports_35224.exports, offset: 0x00c36f09, size: 9 bytes, params: 1, frame: 1
return env0_0;
}
function exports_35224IsGeneratorFunction(a0) { // fn#35255, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:4405, owner: exports_35224.isGeneratorFunction, offset: 0x00c86fc8, size: 73 bytes, params: 2, frame: 5
const r2 = typeof a0 === 'function' && a0.constructor;
return r2 ? r2 === value_35229 || (r2.displayName || r2.name) === 'GeneratorFunction' : !!r2;
}
function exports_35224Mark(a0) { // fn#35256, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:4549, owner: exports_35224.mark, offset: 0x00c87011, size: 108 bytes, params: 2, frame: 17
let Object = global.Object;
if (Object.setPrototypeOf) {
Object = global.Object;
Object.setPrototypeOf(a0, prototype_35230);
} else {
a0.__proto__ = prototype_35230;
env0_11(a0, env0_4, 'GeneratorFunction');
}
Object = global.Object;
a0.prototype = Object.create(env0_10);
return a0;
}
function exports_35224Async(a0, a1, a2, a3, a4) { // fn#35259, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:4931, owner: exports_35224.async, offset: 0x0106d25c, size: 125 bytes, params: 6, frame: 21
var r0;
let value = a4;
const asyncIterator_35234 = new AsyncIterator_35234(wrap_35226(a0, a1, a2, a3),
value !== undefined ? value : global.Promise);
const binding = asyncIterator_35234;
if (binding.isGeneratorFunction(a1)) {
r0 = asyncIterator_35234;
} else {
value = asyncIterator_35234.next();
value = value.then(_fun35260);
r0 = value;
}
return r0;
function _fun35260(a0) { // fn#35260, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:5065, offset: 0x00c87106, size: 36 bytes, params: 2, frame: 10
return a0.done ? a0.value : env0_0.next();
}
}
function exports_35224Keys(a0) { // fn#35263, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:5268, owner: exports_35224.keys, offset: 0x0106d2d9, 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 keysNext;
function keysNext() { // fn#35264, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:5345, owner: exports_35224.keys.next, offset: 0x00c8718a, size: 86 bytes, params: 1, frame: 11
var binding;
var pop;
var value2;
var keysNextBinding;
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) {
keysNextBinding = keysNext;
keysNextBinding.value = value2;
keysNextBinding.done = false;
return keysNextBinding;
}
length = env0_1.length;
if (length) {
continue;
}
break loopExit1;
}
}
keysNextBinding = keysNext;
keysNextBinding.done = true;
return keysNextBinding;
}
}
function exports_35224Reset(a0) { // fn#35265, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:5527, owner: exports_35224.reset, 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(exports_35224ResetTryEntry);
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 exports_35224DispatchException(a0) { // fn#35267, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:5924, owner: exports_35224.dispatchException, offset: 0x0106d331, size: 360 bytes, params: 2, frame: 27
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 dispatchExceptionHandle_352682 = dispatchExceptionHandle_35268;
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 dispatchExceptionHandle_352682('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 dispatchExceptionHandle_352682(property.catchLoc, true);
}
prev = this.prev;
finallyLoc = property.finallyLoc;
if (prev < finallyLoc) {
return dispatchExceptionHandle_352682(property.finallyLoc);
}
break reducibleJoin15;
}
break reducibleJoin6;
}
break reducibleJoin6;
}
if (value) {
prev = this.prev;
catchLoc = property.catchLoc;
if (prev < catchLoc) {
return dispatchExceptionHandle_352682(property.catchLoc, true);
}
break reducibleJoin15;
}
if (!value3) {
throw global.Error('try statement without catch or finally');
}
prev = this.prev;
finallyLoc = property.finallyLoc;
if (prev < finallyLoc) {
return dispatchExceptionHandle_352682(property.finallyLoc);
}
break reducibleJoin15;
}
}
value = typeof r11 === 'bigint' ? r11 - 1n : +r11 - 1;
if (!(value >= 0)) {
return undefined;
}
r11 = value;
continue reducibleLoop2;
}
}
function dispatchExceptionHandle_35268(a0, a1) { // fn#35268, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:5986, owner: exports_35224.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 exports_35224Abrupt(a0, a1) { // fn#35269, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:6592, owner: exports_35224.abrupt, 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 exports_35224Complete(a0, a1) { // fn#35270, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:6966, owner: exports_35224.complete, 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 exports_35224Finish(a0) { // fn#35271, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:7209, owner: exports_35224.finish, 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;
exports_35224ResetTryEntry(property);
return env0_9;
}
value = typeof r1 === 'bigint' ? r1 - 1n : +r1 - 1;
if (value >= 0) {
r1 = value;
continue;
}
break loopExit1;
}
}
}
function exports_35224_catch(a0) { // fn#35272, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:7391, owner: exports_35224._catch, offset: 0x0106d499, size: 123 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;
exports_35224ResetTryEntry(property);
return arg;
}
value = typeof r1 === 'bigint' ? r1 - 1n : +r1 - 1;
if (value >= 0) {
r1 = value;
continue;
}
break loopExit1;
}
}
const Error = global.Error;
throw Error('illegal catch attempt');
}
function exports_35224DelegateYield(a0, a1, a2) { // fn#35273, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4416:7628, owner: exports_35224.delegateYield, offset: 0x00c8772d, size: 75 bytes, params: 4, frame: 14
const object = {};
object.iterator = values_35249(a0);
object.resultName = a1;
object.nextLoc = a2;
this.delegate = object;
if (this.method === 'next') {
this.arg = undefined;
}
return env0_9;
}
}
}
global.__d(_fun35223, 4244, [10]) /* metro module 4244, dependencies: [10] */;