/* Metro module 5139; source: unknown; dependencies: [] */ function _fun45275(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#45275, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:6, offset: 0x01188d9f, size: 25 bytes, params: 8, frame: 11 _fun45276(this); } function _fun45276(a0) { // fn#45276, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:36, offset: 0x01188db8, size: 1121 bytes, params: 2, frame: 16 var r6; var r5; var self; let value = a0; const getBase10Exponent = function(a0) { var r1; var r3; var r0; var value2; var value = 7 * a0.e; var property = a0.d[0]; if (property >= 10) { r1 = value; for (r3 = property; true; r3 = value2) { value = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1; value2 = r3 / 10; if (!(value2 >= 10)) { r0 = value; break; } r1 = value; } } else { r0 = value; } return r0; }; const getZeroString = function(a0) { var r2; var r4; var r0; var value4; var value5; var value = typeof a0 === 'bigint' ? a0 : +a0; var value2 = typeof value === 'bigint' ? value - 1n : +value - 1; var value3 = ''; if (value) { r2 = value3; for (r4 = value2; true; r4 = value5) { value = r2 + '0'; value4 = typeof r4 === 'bigint' ? r4 : +r4; value5 = typeof value4 === 'bigint' ? value4 - 1n : +value4 - 1; if (!value4) { r0 = value; break; } r2 = value; } } else { r0 = value3; } return r0; }; const truncate_45289 = function(a0, a1) { if (a0.length > a1) { a0.length = a1; return true; } }; let Math = global.Math; const floor = Math.floor; Math = global.Math; const env0_7 = Math.pow; const env0_8 = RegExp('^(\\d+(\\.\\d*)?|\\.\\d+)(e[+-]?\\d+)?$', 'i'); const env0_10 = floor(1286742750677284.5); const object2 = {}; let closure = function() { var value2 = new this.constructor(this); if (value2.s) { value2.s = 1; } return value2; }; object2.abs = closure; object2.absoluteValue = closure; closure = cmp; object2.cmp = closure; object2.comparedTo = closure; closure = function() { var r2; var r5; var r1; var value3; var value = this.d.length - 1; var value2 = 7 * (value - this.e); var property = this.d[value]; reducibleJoin3: while (true) { if (!property) { r1 = value2; break reducibleJoin3; } if (property % 10 !== 0) { r1 = value2; break reducibleJoin3; } r2 = value2; r5 = property; reducibleLoop2: while (true) { value = typeof r2 === 'bigint' ? r2 - 1n : +r2 - 1; value3 = r5 / 10; if (value3 % 10 === 0) { r2 = value; r5 = value3; continue reducibleLoop2; } r1 = value; break reducibleJoin3; } } value = 0; return r1 < value ? value : r1; }; object2.dp = closure; object2.decimalPlaces = closure; closure = div; object2.div = closure; object2.dividedBy = closure; closure = idiv; object2.idiv = closure; object2.dividedToIntegerBy = closure; closure = function(a0) { return !this.cmp(a0); }; object2.eq = closure; object2.equals = closure; object2.exponent = function() { return getBase10Exponent(this); }; closure = function(a0) { return this.cmp(a0) > 0; }; object2.gt = closure; object2.greaterThan = closure; closure = function(a0) { return this.cmp(a0) >= 0; }; object2.gte = closure; object2.greaterThanOrEqualTo = closure; closure = function() { return this.e > this.d.length - 2; }; object2.isint = closure; object2.isInteger = closure; closure = function() { return this.s < 0; }; object2.isneg = closure; object2.isNegative = closure; closure = function() { return this.s > 0; }; object2.ispos = closure; object2.isPositive = closure; object2.isZero = function() { return this.s === 0; }; closure = function(a0) { return this.cmp(a0) < 0; }; object2.lt = closure; object2.lessThan = closure; closure = function(a0) { return this.cmp(a0) < 1; }; object2.lte = closure; object2.lessThanOrEqualTo = closure; closure = log_45306; object2.log = closure; object2.logarithm = closure; closure = sub_45307; object2.sub = closure; object2.minus = closure; closure = mod_45308; object2.mod = closure; object2.modulo = closure; closure = function() { return exp_45280(this); }; object2.exp = closure; object2.naturalExponential = closure; closure = function() { return ln(this); }; object2.ln = closure; object2.naturalLogarithm = closure; closure = function() { var value2 = new this.constructor(this); value2.s = -value2.s || 0; return value2; }; object2.neg = closure; object2.negated = closure; closure = add_45312; object2.add = closure; object2.plus = closure; closure = sd; object2.sd = closure; object2.precision = closure; closure = sqrt; object2.sqrt = closure; object2.squareRoot = closure; closure = mul; object2.mul = closure; object2.times = closure; closure = todp; object2.todp = closure; object2.toDecimalPlaces = closure; object2.toExponential = toExponential; object2.toFixed = toFixed; closure = toint; object2.toint = closure; object2.toInteger = closure; object2.toNumber = function() { return Number(this); }; closure = pow_45321; object2.pow = closure; object2.toPower = closure; object2.toPrecision = toPrecision; closure = tosd; object2.tosd = closure; object2.toSignificantDigits = closure; closure = toJSON_45324; object2.toJSON = closure; object2.val = closure; object2.valueOf = closure; object2.toString = closure; const env0_12 = (() => { var env0_0 = _fun45326; var env0_1 = _fun45327; var env0_2 = _fun45328; return _fun45329; })(); let value2 = clone_45330({'precision': 20, 'rounding': 4, 'toExpNeg': -7, 'toExpPos': 21, 'LN10': '2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286'}); value2.Decimal = value2; value2.default = value2; let value4 = new value2(1); if (typeof global.define !== 'function') { if (value4 === undefined) { if (value) { r5 = value; } else { self = global.self; if (typeof self === 'undefined') { r6 = global.Function('return this')(); } else { self = global.self; if (self) { self = global.self; self = self.self; r6 = self == global.self ? global.self : global.Function('return this')(); } else { r6 = global.Function('return this')(); } } r5 = r6; } r5.Decimal = value2; } else if (value4.exports) { value4.exports = value2; } else { if (value) { r5 = value; } else { self = global.self; if (typeof self === 'undefined') { r6 = global.Function('return this')(); } else { self = global.self; if (self) { self = global.self; self = self.self; r6 = self == global.self ? global.self : global.Function('return this')(); } else { r6 = global.Function('return this')(); } } r5 = r6; } r5.Decimal = value2; } } else if (global.define.amd) { global.define(_fun45332); } else if (value4 === undefined) { if (value) { r5 = value; } else { self = global.self; if (typeof self === 'undefined') { r6 = global.Function('return this')(); } else { self = global.self; if (self) { self = global.self; self = self.self; r6 = self == global.self ? global.self : global.Function('return this')(); } else { r6 = global.Function('return this')(); } } r5 = r6; } r5.Decimal = value2; } else if (value4.exports) { value4.exports = value2; } else { if (value) { r5 = value; } else { self = global.self; if (typeof self === 'undefined') { r6 = global.Function('return this')(); } else { self = global.self; if (self) { self = global.self; self = self.self; r6 = self == global.self ? global.self : global.Function('return this')(); } else { r6 = global.Function('return this')(); } } r5 = r6; } r5.Decimal = value2; } } function add_45277(a0, a1) { // fn#45277, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:453, offset: 0x01189219, size: 470 bytes, params: 3, frame: 22 var r2; var r4; var r6; var r7; var length; var r8; var r5; var r9; var prototype; var d; var d2; var e; var e2; var slice; var value2; var value3; var value4; var Math; var ceil; var value5; var value6; var value7; var reverse; var value8; var value9; var push; var value10; var value11; var length2; var value12; var value13; var value14; var property; var value15; var value16; var unshift; var value17; var value18; var pop; var value19; let value = a1; let constructor = a0.constructor; const precision = constructor.precision; if (a0.s) { reducibleJoin2: while (true) { if (value.s) { d = a0.d; d2 = value.d; e = a0.e; e2 = value.e; slice = d.slice; value2 = Reflect.apply(slice, d, []); value3 = e - e2; reducibleJoin19: while (true) { if (value3) { if (value3 < 0) { value4 = -value3; length = d2.length; r4 = e2; r6 = value4; r7 = value2; } else { length = value2.length; r4 = e; r6 = value3; r7 = d2; } Math = global.Math; ceil = Math.ceil; value5 = Reflect.apply(ceil, Math, [precision / 7]); if (value5 > length) { value7 = value5 + 1; r8 = value7; } else { value6 = length + 1; r8 = value6; } reducibleJoin16: while (true) { if (r6 > r8) { r7.length = 1; r6 = r8; break reducibleJoin16; } break reducibleJoin16; } reverse = r7.reverse; Reflect.apply(reverse, r7, []); value8 = typeof r6 === 'bigint' ? r6 : +r6; value9 = typeof value8 === 'bigint' ? value8 - 1n : +value8 - 1; if (value8) { r8 = value9; reducibleLoop17: while (true) { push = r7.push; Reflect.apply(push, r7, [0]); value10 = typeof r8 === 'bigint' ? r8 : +r8; value11 = typeof value10 === 'bigint' ? value10 - 1n : +value10 - 1; if (value10) { r8 = value11; continue reducibleLoop17; } break reducibleLoop17; } } reverse = r7.reverse; Reflect.apply(reverse, r7, []); r5 = r4; break reducibleJoin19; } r5 = e2; break reducibleJoin19; } length = value2.length; length2 = d2.length; value12 = 0; if (length - length2 < value12) { r4 = d2; r6 = value2; r9 = length; } else { r4 = value2; r6 = d2; r9 = length2; } value13 = environment; if (r9) { r2 = value12; reducibleLoop21: while (true) { value14 = typeof r9 === 'bigint' ? r9 - 1n : +r9 - 1; property = r4[value14]; value15 = property + r6[value14] + r2; r4[value14] = value15; value16 = value15 / env0_9 | 0; property = r4[value14]; r4[value14] = property % env0_9; if (value14) { r2 = value16; r9 = value14; continue reducibleLoop21; } r8 = value16; break reducibleLoop21; } } else { r8 = value12; } reducibleJoin24: while (true) { if (r8) { unshift = r4.unshift; Reflect.apply(unshift, r4, [r8]); value17 = typeof r5 === 'bigint' ? r5 + 1n : +r5 + 1; r2 = value17; break reducibleJoin24; } r2 = r5; break reducibleJoin24; } length = r4.length; value18 = typeof length === 'bigint' ? length - 1n : +length - 1; if (value12 == r4[value18]) { r6 = value18; reducibleLoop25: while (true) { pop = r4.pop; Reflect.apply(pop, r4, []); value19 = typeof r6 === 'bigint' ? r6 - 1n : +r6 - 1; if (value12 == r4[value19]) { r6 = value19; continue reducibleLoop25; } break reducibleLoop25; } } value.d = r4; value.e = r2; reducibleJoin28: while (true) { if (env0_2) { round_45286(value, precision); break reducibleJoin28; } break reducibleJoin28; } return value; } break reducibleJoin2; } } reducibleJoin4: while (true) { if (value.s) { r2 = value; break reducibleJoin4; } prototype = constructor.prototype; value = Object.create(prototype, {constructor: {value: constructor}}); constructor = new constructor(a0); value = constructor instanceof Object ? constructor : value; r2 = value; break reducibleJoin4; } reducibleJoin6: while (true) { if (env0_2) { round_45286(r2, precision); break reducibleJoin6; } break reducibleJoin6; } return r2; } function checkInt32(a0, a1, a2) { // fn#45278, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:947, offset: 0x011893ef, size: 59 bytes, params: 4, frame: 11 if (a0 !== ~~a0) { throw global.Error(env0_4 + a0); } if (a0 < a1) { throw global.Error(env0_4 + a0); } if (a0 > a2) { throw global.Error(env0_4 + a0); } } function digitsToString(a0) { // fn#45279, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:1012, offset: 0x0118942a, size: 205 bytes, params: 2, frame: 24 var r9; var r10; var r12; var r2; var r4; var r0; var r1; var r3; var value3; var value5; var value6; var value7; let length = a0.length; let value = 1; const value2 = length - value; let property = a0[0]; if (value2 > 0) { value3 = String(property); if (value < value2) { r9 = value3; r10 = value; reducibleLoop4: while (true) { value = String(a0[r10]); length = value.length; value5 = 7 - length; reducibleJoin6: while (true) { if (value5) { value6 = r9 + getZeroString(value5); r12 = value6; break reducibleJoin6; } r12 = r9; break reducibleJoin6; } value = r12 + value; value7 = typeof r10 === 'bigint' ? r10 + 1n : +r10 + 1; if (value7 < value2) { r9 = value; r10 = value7; continue reducibleLoop4; } r2 = value7; r4 = value; break reducibleLoop4; } } else { r2 = value; r4 = value3; } property = a0[r2]; length = String(property).length; value = 7 - length; reducibleJoin9: while (true) { if (value) { value = r4 + getZeroString(value); r0 = property; r1 = value; break reducibleJoin9; } r0 = property; r1 = r4; break reducibleJoin9; } } else { value = ''; reducibleJoin9: while (true) { if (property === 0) { return '0'; } r0 = property; r1 = value; break reducibleJoin9; } } if (r0 % 10 === 0) { r3 = r0; reducibleLoop10: while (true) { value = r3 / 10; if (value % 10 === 0) { r3 = value; continue reducibleLoop10; } r0 = value; break reducibleLoop10; } } return r1 + r0; } function exp_45280(a0, a1) { // fn#45280, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:8307, offset: 0x011894f7, size: 550 bytes, params: 3, frame: 31 var r8; var r10; var r11; var r7; var r15; var r12; var r13; var r14; var r9; var r1; var binding; var prototype; var value5; var constructor2; var value6; var abs; var gte; var value8; var value9; var times; var value10; var value11; var Math; var value12; var constructor3; var value13; var round_45286Binding; var value14; var value15; var value16; var digitsToStringBinding; var plus; var value17; var d; var value18; var slice; var value19; var value20; var value21; var value23; var value24; var value25; let value = a0; let constructor = value.constructor; const precision = constructor.precision; const getBase10ExponentBinding = getBase10Exponent; const value3 = undefined; if (getBase10ExponentBinding(value) > 16) { throw global.Error(env0_5 + getBase10Exponent(value)); } if (value.s) { reducibleJoin5: while (true) { if (value3 != null) { r8 = value3; break reducibleJoin5; } env0_2 = false; r8 = precision; break reducibleJoin5; } prototype = constructor.prototype; value5 = Object.create(prototype, {constructor: {value: constructor}}); constructor2 = new constructor(0.03125); value6 = constructor2 instanceof Object ? constructor2 : value5; value8 = value.abs().gte(0.1); value9 = 0; if (value8) { r10 = value9; r11 = value; reducibleLoop6: while (true) { times = r11.times; value = Reflect.apply(times, r11, [value6]); value10 = r10 + 5; abs = value.abs; value11 = Reflect.apply(abs, value, []); gte = value11.gte; if (Reflect.apply(gte, value11, [0.1])) { r10 = value10; r11 = value; continue reducibleLoop6; } r7 = value10; r15 = value; break reducibleLoop6; } } else { r7 = value9; r15 = value; } Math = global.Math; value = Math.log(pow(2, r7)); Math = global.Math; value = r8 + (value / Math.LN10 * 2 + 5 | 0); binding = env0_0; prototype = constructor.prototype; value12 = Object.create(prototype, {constructor: {value: constructor}}); constructor3 = new constructor(); value13 = constructor3 instanceof Object ? constructor3 : value12; constructor.precision = value; r11 = value9; r12 = value13; r13 = value13; r14 = value13; reducibleLoop8: while (true) { round_45286Binding = round_45286; times = r13.times; value14 = Reflect.apply(times, r13, [r15]); round_45286Binding(value14, value); times = r14.times; value15 = typeof r11 === 'bigint' ? r11 + 1n : +r11 + 1; value16 = Reflect.apply(times, r14, [value15]); digitsToStringBinding = digitsToString; plus = r12.plus; value17 = Reflect.apply(plus, r12, [env0_12(value14, value16, value)]); d = value17.d; value18 = digitsToStringBinding(d); slice = value18.slice; value19 = Reflect.apply(slice, value18, [value9, value]); d = r12.d; value20 = digitsToStringBinding(d); slice = value20.slice; if (value19 !== Reflect.apply(slice, value20, [value9, value])) { r11 = value15; r12 = value17; r13 = value14; r14 = value16; continue reducibleLoop8; } break reducibleLoop8; } value21 = typeof r7 === 'bigint' ? r7 : +r7; if (value21) { r8 = r12; r9 = typeof value21 === 'bigint' ? value21 - 1n : +value21 - 1; reducibleLoop10: while (true) { round_45286Binding = round_45286; times = r8.times; value23 = Reflect.apply(times, r8, [r8]); round_45286Binding(value23, value); value24 = typeof r9 === 'bigint' ? r9 : +r9; value25 = typeof value24 === 'bigint' ? value24 - 1n : +value24 - 1; if (value24) { r8 = value23; r9 = value25; continue reducibleLoop10; } r1 = value23; break reducibleLoop10; } } else { r1 = r12; } constructor.precision = precision; reducibleJoin13: while (true) { if (value3 != null) { break reducibleJoin13; } env0_2 = true; round_45286(r1, precision); break reducibleJoin13; } return r1; } binding = env0_0; value = Object.create(constructor.prototype, {constructor: {value: constructor}}); constructor = new constructor(); return constructor instanceof Object ? constructor : value; } function getLn10(a0, a1, a2) { // fn#45282, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:8904, offset: 0x01189754, size: 113 bytes, params: 4, frame: 15 let LN10 = a0.LN10; if (a1 > LN10.sd()) { if (a2) { a0.precision = a2; } throw global.Error('[DecimalError] LN10 precision limit exceeded'); } const round_45286Binding = round_45286; LN10 = a0.LN10; const value2 = new a0(LN10); round_45286Binding(value2, a1); return value2; } function ln(a0, a1) { // fn#45284, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:9119, offset: 0x011897f0, size: 1009 bytes, params: 3, frame: 34 var r4; var r17; var r18; var r6; var r10; var r13; var r15; var r7; var r16; var r0; var times; var slice; var prototype; var plus; var round_45286Binding; var value15; var value16; var value17; var value18; var value19; var value20; var value21; var value22; var value23; var constructor3; var value24; var value25; var value26; var constructor4; var value27; var binding; var minus; var value28; var value29; var value30; var constructor5; var value31; var value32; var value33; var value34; var value35; var value36; var ln10; var constructor6; var Error; let value = a0; const value2 = a1; let d = value.d; let constructor = value.constructor; const precision = constructor.precision; let s = value.s; const value3 = 1; if (s < value3) { Error = global.Error; binding = env0_3; s = value.s; value = '-Infinity'; reducibleJoin34: while (true) { if (s) { value = 'NaN'; r0 = value; break reducibleJoin34; } r0 = value; break reducibleJoin34; } throw Error(binding + r0); } if (value.eq(env0_0)) { value = Object.create(constructor.prototype, {constructor: {value: constructor}}); constructor = new constructor(0); return constructor instanceof Object ? constructor : value; } reducibleJoin4: while (true) { if (value2 != null) { r4 = value2; break reducibleJoin4; } env0_2 = false; r4 = precision; break reducibleJoin4; } if (value.eq(10)) { reducibleJoin30: while (true) { if (value2 != null) { break reducibleJoin30; } env0_2 = true; break reducibleJoin30; } return getLn10(constructor, r4); } const value5 = r4 + 10; constructor.precision = value5; const value6 = digitsToString(d); const value7 = value6.charAt(0); const base10Exponent = getBase10Exponent(value); const Math = global.Math; if (Math.abs(base10Exponent) < 1500000000000000) { reducibleJoin17: while (true) { reducibleJoin11: while (true) { if (value7 < 7) { if (value3 != value7) { r17 = value; r18 = value3; reducibleLoop13: while (true) { digitsToStringBinding = digitsToString; times = r17.times; value16 = Reflect.apply(times, r17, [value]); d = value16.d; value17 = digitsToStringBinding(d); charAt = value17.charAt; value18 = Reflect.apply(charAt, value17, [0]); value19 = typeof r18 === 'bigint' ? r18 + 1n : +r18 + 1; reducibleJoin15: while (true) { if (value18 < 7) { if (value3 != value18) { r17 = value16; r18 = value19; continue reducibleLoop13; } break reducibleJoin15; } break reducibleJoin15; } if (value3 != value18) { r6 = value19; r10 = value18; r13 = value16; r15 = value17; break reducibleJoin17; } charAt = value17.charAt; value20 = Reflect.apply(charAt, value17, [value3]); if (value20 > 3) { r17 = value16; r18 = value19; continue reducibleLoop13; } r6 = value19; r10 = value18; r13 = value16; r15 = value17; break reducibleJoin17; } value = getBase10Exponent(r13); if (r10 > value3) { prototype = constructor.prototype; value25 = Object.create(prototype, {constructor: {value: constructor}}); value26 = '0.' + r15; constructor4 = new constructor(); value27 = constructor4 instanceof Object ? constructor4 : value25; value = typeof value === 'bigint' ? value + 1n : +value + 1; r7 = value; r16 = value27; } else { value21 = r10 + '.'; slice = r15.slice; value22 = value21 + Reflect.apply(slice, r15, [value3]); prototype = constructor.prototype; value23 = Object.create(prototype, {constructor: {value: constructor}}); constructor3 = new constructor(); value24 = constructor3 instanceof Object ? constructor3 : value23; r7 = value; r16 = value24; } binding = env0_12; minus = r16.minus; value = Reflect.apply(minus, r16, [env0_0]); plus = r16.plus; value = binding(value, Reflect.apply(plus, r16, [env0_0]), value5); round_45286Binding = round_45286; times = value.times; value28 = Reflect.apply(times, value, [value]); round_45286Binding(value28, value5); value29 = 3; r10 = value; r15 = value; r16 = value29; reducibleLoop21: while (true) { round_45286Binding = round_45286; times = r15.times; value = Reflect.apply(times, r15, [value28]); round_45286Binding(value, value5); digitsToStringBinding = digitsToString; plus = r10.plus; binding = env0_12; prototype = constructor.prototype; value30 = Object.create(prototype, {constructor: {value: constructor}}); constructor5 = new constructor(); value31 = constructor5 instanceof Object ? constructor5 : value30; value32 = Reflect.apply(plus, r10, [binding(value, value31, value5)]); d = value32.d; value33 = digitsToStringBinding(d); slice = value33.slice; value34 = Reflect.apply(slice, value33, [0, value5]); d = r10.d; value35 = digitsToStringBinding(d); slice = value35.slice; if (value34 === Reflect.apply(slice, value35, [0, value5])) { break reducibleLoop21; } value36 = r16 + 2; r10 = value32; r15 = value; r16 = value36; continue reducibleLoop21; } times = r10.times; value = Reflect.apply(times, r10, [2]); reducibleJoin25: while (true) { if (r7 === 0) { r10 = value; break reducibleJoin25; } plus = value.plus; ln10 = getLn10(constructor, value5 + 2, precision); times = ln10.times; value = Reflect.apply(plus, value, [Reflect.apply(times, ln10, [String(r7)])]); r10 = value; break reducibleJoin25; } binding = env0_12; prototype = constructor.prototype; value = Object.create(prototype, {constructor: {value: constructor}}); constructor6 = new constructor(); value = constructor6 instanceof Object ? constructor6 : value; value = binding(r10, value, value5); constructor.precision = precision; reducibleJoin27: while (true) { if (value2 != null) { break reducibleJoin27; } env0_2 = true; round_45286(value, precision); break reducibleJoin27; } return value; } break reducibleJoin11; } break reducibleJoin11; } if (value3 != value7) { r6 = value3; r10 = value7; r13 = value; r15 = value6; break reducibleJoin17; } charAt = value6.charAt; value15 = Reflect.apply(charAt, value6, [value3]); if (!(value15 > 3)) { r6 = value3; r10 = value7; r13 = value; r15 = value6; break reducibleJoin17; } r17 = value; r18 = value3; reducibleLoop13: while (true) { digitsToStringBinding = digitsToString; times = r17.times; value16 = Reflect.apply(times, r17, [value]); d = value16.d; value17 = digitsToStringBinding(d); charAt = value17.charAt; value18 = Reflect.apply(charAt, value17, [0]); value19 = typeof r18 === 'bigint' ? r18 + 1n : +r18 + 1; reducibleJoin15: while (true) { if (value18 < 7) { if (value3 != value18) { r17 = value16; r18 = value19; continue reducibleLoop13; } break reducibleJoin15; } break reducibleJoin15; } if (value3 != value18) { r6 = value19; r10 = value18; r13 = value16; r15 = value17; break reducibleJoin17; } charAt = value17.charAt; value20 = Reflect.apply(charAt, value17, [value3]); if (value20 > 3) { r17 = value16; r18 = value19; continue reducibleLoop13; } r6 = value19; r10 = value18; r13 = value16; r15 = value17; break reducibleJoin17; } break reducibleJoin17; } value = getBase10Exponent(r13); if (r10 > value3) { prototype = constructor.prototype; value25 = Object.create(prototype, {constructor: {value: constructor}}); constructor4 = new constructor('0.' + r15); value27 = constructor4 instanceof Object ? constructor4 : value25; value = typeof value === 'bigint' ? value + 1n : +value + 1; r7 = value; r16 = value27; } else { value21 = r10 + '.'; slice = r15.slice; value22 = value21 + Reflect.apply(slice, r15, [value3]); prototype = constructor.prototype; value23 = Object.create(prototype, {constructor: {value: constructor}}); constructor3 = new constructor(); value24 = constructor3 instanceof Object ? constructor3 : value23; r7 = value; r16 = value24; } binding = env0_12; value = r16.minus(env0_0); plus = r16.plus; value = binding(value, Reflect.apply(plus, r16, [env0_0]), value5); round_45286Binding = round_45286; value28 = value.times(value); round_45286Binding(value28, value5); value29 = 3; r10 = value; r15 = value; r16 = value29; reducibleLoop21: while (true) { round_45286Binding = round_45286; times = r15.times; value = Reflect.apply(times, r15, [value28]); round_45286Binding(value, value5); digitsToStringBinding = digitsToString; plus = r10.plus; binding = env0_12; prototype = constructor.prototype; value30 = Object.create(prototype, {constructor: {value: constructor}}); constructor5 = new constructor(); value31 = constructor5 instanceof Object ? constructor5 : value30; value32 = Reflect.apply(plus, r10, [binding(value, value31, value5)]); d = value32.d; value33 = digitsToStringBinding(d); slice = value33.slice; value34 = Reflect.apply(slice, value33, [0, value5]); d = r10.d; value35 = digitsToStringBinding(d); slice = value35.slice; if (value34 === Reflect.apply(slice, value35, [0, value5])) { break reducibleLoop21; } value36 = r16 + 2; r10 = value32; r15 = value; r16 = value36; continue reducibleLoop21; } value = r10.times(2); reducibleJoin25: while (true) { if (r7 === 0) { r10 = value; break reducibleJoin25; } plus = value.plus; ln10 = getLn10(constructor, value5 + 2, precision); times = ln10.times; value = Reflect.apply(plus, value, [Reflect.apply(times, ln10, [String(r7)])]); r10 = value; break reducibleJoin25; } binding = env0_12; prototype = constructor.prototype; value = Object.create(prototype, {constructor: {value: constructor}}); constructor6 = new constructor(); value = constructor6 instanceof Object ? constructor6 : value; value = binding(r10, value, value5); constructor.precision = precision; reducibleJoin27: while (true) { if (value2 != null) { break reducibleJoin27; } env0_2 = true; round_45286(value, precision); break reducibleJoin27; } } else { value = getLn10(constructor, value5 + 2, precision); value = value.times(String(base10Exponent)); var lnBinding = ln; var value11 = value7 + '.' + value6.slice(value3); var value12 = Object.create(constructor.prototype, {constructor: {value: constructor}}); var constructor2 = new constructor(value11); value = lnBinding(constructor2 instanceof Object ? constructor2 : value12, value5 - 10).plus(value); constructor.precision = precision; reducibleJoin8: while (true) { if (value2 != null) { break reducibleJoin8; } env0_2 = true; round_45286(value, precision); break reducibleJoin8; } } return value; } function parseDecimal(a0, a1) { // fn#45285, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:10055, offset: 0x01189be1, size: 611 bytes, params: 3, frame: 24 var r0; var r4; var r2; var r02; var r7; var r3; var r6; var r5; var r8; var replace; var length; var slice; var value4; var value5; var value6; var value8; var value9; var value10; var d; var push; var value11; var value12; var value13; var value14; var value15; var e; var Error; let value = a1; const value2 = value.indexOf('.'); reducibleJoin2: while (true) { if (value2 > -1) { replace = value.replace; value = Reflect.apply(replace, value, ['.', '']); r0 = value; break reducibleJoin2; } r0 = value; break reducibleJoin2; } value = r0.search(RegExp('e', 'i')); const value3 = 0; if (value > value3) { r4 = value2 < value3 ? value : value2; slice = r0.slice; value4 = r4 + Number(Reflect.apply(slice, r0, [value + 1])); value = r0.substring(value3, value); r0 = value; r2 = value4; } else { reducibleJoin7: while (true) { if (value2 < value3) { length = r0.length; r2 = length; break reducibleJoin7; } r2 = value2; break reducibleJoin7; } } let charCodeAt = r0.charCodeAt; value = Reflect.apply(charCodeAt, r0, [value3]); if (value !== 48) { r02 = value3; } else { r4 = value3; reducibleLoop8: while (true) { value = typeof r4 === 'bigint' ? r4 + 1n : +r4 + 1; charCodeAt = r0.charCodeAt; if (Reflect.apply(charCodeAt, r0, [value]) === 48) { r4 = value; continue reducibleLoop8; } r02 = value; break reducibleLoop8; } } length = r0.length; charCodeAt = r0.charCodeAt; if (Reflect.apply(charCodeAt, r0, [length - 1]) !== 48) { r3 = length; } else { r7 = length; reducibleLoop10: while (true) { value = typeof r7 === 'bigint' ? r7 - 1n : +r7 - 1; charCodeAt = r0.charCodeAt; if (Reflect.apply(charCodeAt, r0, [value - 1]) === 48) { r7 = value; continue reducibleLoop10; } r3 = value; break reducibleLoop10; } } value = r0.slice(r02, r3); if (value) { value5 = r3 - r02; value6 = r2 - r02 - 1; a0.e = floor(value6 / 7); a0.d = []; value8 = (value6 + 1) % 7; reducibleJoin15: while (true) { if (value6 < value3) { value9 = value8 + 7; r7 = value9; break reducibleJoin15; } r7 = value8; break reducibleJoin15; } if (r7 < value5) { reducibleJoin19: while (true) { if (r7) { d = a0.d; push = d.push; slice = value.slice; Reflect.apply(push, d, [Number(Reflect.apply(slice, value, [value3, r7]))]); break reducibleJoin19; } break reducibleJoin19; } value11 = value5 - 7; if (r7 < value11) { r6 = r7; reducibleLoop20: while (true) { d = a0.d; push = d.push; slice = value.slice; value12 = r6 + 7; Reflect.apply(push, d, [Number(Reflect.apply(slice, value, [r6, value12]))]); if (value12 < value11) { r6 = value12; continue reducibleLoop20; } r7 = value12; break reducibleLoop20; } } value = value.slice(r7); value13 = 7 - value.length; r4 = value; r5 = value13; } else { value10 = r7 - value5; r4 = value; r5 = value10; } value = typeof r5 === 'bigint' ? r5 - 1n : +r5 - 1; if (r5) { r6 = r4; r8 = value; reducibleLoop23: while (true) { value = r6 + '0'; value14 = typeof r8 === 'bigint' ? r8 : +r8; value15 = typeof value14 === 'bigint' ? value14 - 1n : +value14 - 1; if (value14) { r6 = value; r8 = value15; continue reducibleLoop23; } r4 = value; break reducibleLoop23; } } d = a0.d; d.push(Number(r4)); reducibleJoin27: while (true) { if (env0_2) { e = a0.e; if (!(e > env0_10)) { e = a0.e; reducibleJoin28: while (true) { if (e < -env0_10) { break reducibleJoin28; } break reducibleJoin27; } } Error = global.Error; throw Error(env0_5 + value6); } break reducibleJoin27; } } else { a0.s = value3; a0.e = value3; a0.d = [0]; } return a0; } function round_45286(a0, a1, a2) { // fn#45286, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:10589, offset: 0x01189e44, size: 857 bytes, params: 4, frame: 33 var r1; var r3; var r4; var r10; var r11; var r12; var r13; var r14; var r15; var r18; var r21; var r20; var r19; var r16; var r8; var value4; var value5; var value7; var length; var value8; var value9; var value10; var value11; var value12; var value14; var value15; var value16; var value17; var value18; var value19; var value20; var value21; var value22; var value23; var value24; var value25; var s; var value26; var value27; var value28; var value29; var value30; var value31; var value32; var value33; var value34; var value35; var value36; var value37; var e; var value38; var pop; var value39; var Error; var binding; var base10Exponent; let value = a1; const d = a0.d; const value2 = 0; let property = d[value2]; const value3 = 1; if (property >= 10) { r1 = value3; r3 = property; reducibleLoop1: while (true) { value4 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1; value5 = r3 / 10; if (value5 >= 10) { r1 = value4; r3 = value5; continue reducibleLoop1; } r4 = value4; break reducibleLoop1; } } else { r4 = value3; } const value6 = value - r4; if (value6 < value2) { value12 = value6 + 7; property = d[value2]; r3 = value2; r12 = r4; r13 = value; r14 = property; r15 = value12; } else { value7 = global.Math.ceil((value6 + value3) / 7); length = d.length; if (value7 >= length) { return a0; } property = d[value7]; if (property >= 10) { r10 = value3; r11 = property; reducibleLoop5: while (true) { value8 = typeof r10 === 'bigint' ? r10 + 1n : +r10 + 1; value9 = r11 / 10; if (value9 >= 10) { r10 = value8; r11 = value9; continue reducibleLoop5; } r12 = value8; break reducibleLoop5; } } else { r12 = value3; } value10 = value6 % 7; value11 = value10 - 7 + r12; r3 = value7; r13 = value11; r14 = property; r15 = value10; } const value13 = undefined; reducibleJoin43: while (true) { if (value13 === a2) { r1 = value13; break reducibleJoin43; } value14 = environment; value15 = pow(10, r12 - r13 - value3); value16 = r14 / value15 % 10 | 0; value17 = value < value2; reducibleJoin12: while (true) { if (value17) { r11 = value17; break reducibleJoin12; } value18 = value13 !== d[r3 + value3]; r11 = value18; break reducibleJoin12; } reducibleJoin14: while (true) { if (r11) { break reducibleJoin14; } value19 = r14 % value15; r11 = value19; break reducibleJoin14; } if (a2 < 4) { r10 = value16 || r11; reducibleJoin41: while (true) { if (r10) { value29 = value2 == a2; reducibleJoin40: while (true) { if (value29) { r11 = value29; break reducibleJoin40; } s = a0.s; value30 = 2; reducibleJoin39: while (true) { if (s < value2) { value31 = 3; r16 = value31; break reducibleJoin39; } r16 = value30; break reducibleJoin39; } value32 = a2 == r16; r11 = value32; break reducibleJoin40; } r10 = r11; break reducibleJoin41; } break reducibleJoin41; } r8 = r10; } else { value20 = value16 > 5; reducibleJoin33: while (true) { if (value20) { r8 = value20; break reducibleJoin33; } value21 = value16 === 5; reducibleJoin32: while (true) { if (value21) { value22 = a2 == 4; r18 = value22 || r11; reducibleJoin27: while (true) { if (r18) { break reducibleJoin27; } value23 = a2 == 6; reducibleJoin26: while (true) { if (value23) { if (r15 > value2) { reducibleJoin24: while (true) { if (r13 > value2) { value24 = r14 / pow(10, r12 - r13); r21 = value24; break reducibleJoin24; } r21 = value2; break reducibleJoin24; } r20 = r21; } else { property = d[r3 - value3]; r20 = property; } value25 = r20 % 10 & value3; r19 = value25; break reducibleJoin26; } r19 = value23; break reducibleJoin26; } r18 = r19; break reducibleJoin27; } reducibleJoin31: while (true) { if (r18) { break reducibleJoin31; } s = a0.s; value26 = 7; reducibleJoin30: while (true) { if (s < value2) { value27 = 8; r19 = value27; break reducibleJoin30; } r19 = value26; break reducibleJoin30; } value28 = a2 == r19; r18 = value28; break reducibleJoin31; } r16 = r18; break reducibleJoin32; } r16 = value21; break reducibleJoin32; } r8 = r16; break reducibleJoin33; } } r1 = r8; break reducibleJoin43; } if (!(value < value3)) { reducibleJoin63: while (true) { if (d[value2]) { if (value2 === r15) { d.length = r3; r8 = typeof r3 === 'bigint' ? r3 - 1n : +r3 - 1; r11 = value3; } else { d.length = r3 + value3; value = environment; value33 = pow(10, 7 - r15); reducibleJoin48: while (true) { if (r13 > value2) { value34 = r14 / pow(10, r12 - r13); value = (value34 % pow(10, r13) | 0) * value33; r10 = value; break reducibleJoin48; } r10 = value2; break reducibleJoin48; } d[r3] = r10; r8 = r3; r11 = value33; } value = environment; if (r1) { reducibleLoop51: while (true) { if (value2 == r8) { value37 = d[value2] + r11; d[value2] = value37; reducibleJoin56: while (true) { if (value37 != env0_9) { break reducibleJoin56; } d[value2] = value3; e = a0.e; a0.e = typeof e === 'bigint' ? e + 1n : +e + 1; break reducibleJoin56; } break reducibleLoop51; } d[r8] += r11; property = d[r8]; if (property != env0_9) { break reducibleLoop51; } value35 = typeof r8 === 'bigint' ? r8 : +r8; value36 = typeof value35 === 'bigint' ? value35 - 1n : +value35 - 1; d[value35] = value2; r8 = value36; r11 = value3; continue reducibleLoop51; } } length = d.length; value38 = typeof length === 'bigint' ? length - 1n : +length - 1; if (value2 === d[value38]) { r10 = value38; reducibleLoop57: while (true) { pop = d.pop; Reflect.apply(pop, d, []); value39 = typeof r10 === 'bigint' ? r10 - 1n : +r10 - 1; if (value2 === d[value39]) { r10 = value39; continue reducibleLoop57; } break reducibleLoop57; } } if (env0_2) { e = a0.e; reducibleJoin61: while (true) { reducibleJoin62: while (true) { if (e > env0_10) { break reducibleJoin62; } e = a0.e; if (e < -env0_10) { break reducibleJoin62; } break reducibleJoin61; } Error = global.Error; binding = env0_5; throw Error(binding + getBase10Exponent(a0)); } } return a0; } break reducibleJoin63; } } if (r1) { base10Exponent = getBase10Exponent(a0); d.length = value3; value = value - base10Exponent - value3; d[value2] = pow(10, (7 - value % 7) % 7); value = floor(-value / 7); a0.e = value || value2; } else { d.length = value3; a0.s = value2; a0.e = value2; d[value2] = value2; } return a0; } function subtract_45287(a0, a1) { // fn#45287, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:11403, offset: 0x0118a19d, size: 741 bytes, params: 3, frame: 28 var r2; var r11; var r6; var r3; var r7; var r9; var length; var r12; var r5; var r14; var r13; var r17; var r15; var r0; var prototype; var d; var d2; var e; var e2; var slice; var value2; var value3; var length2; var value4; var value5; var property; var value6; var value7; var value8; var value9; var Math; var max; var Math2; var ceil; var value10; var value11; var reverse; var value12; var value13; var push; var value14; var value15; var length3; var value16; var value17; var value18; var value19; var value20; var value21; var value22; var value23; var value24; var pop; var value25; var value26; var shift; let value = a1; let constructor = a0.constructor; const precision = constructor.precision; let s = a0.s; if (s) { s = value.s; reducibleJoin2: while (true) { if (s) { d = a0.d; d2 = value.d; e = value.e; e2 = a0.e; slice = d.slice; value2 = Reflect.apply(slice, d, []); value3 = e2 - e; if (value3) { value8 = value3 < 0; if (value8) { value9 = -value3; length = d2.length; r7 = value9; r9 = e; r11 = value2; } else { length = value2.length; r7 = value3; r9 = e2; r11 = d2; } Math = global.Math; max = Math.max; Math2 = global.Math; ceil = Math2.ceil; value10 = Reflect.apply(max, Math, [Reflect.apply(ceil, Math2, [precision / 7]), length]); value11 = value10 + 2; reducibleJoin20: while (true) { if (r7 > value11) { r11.length = 1; r7 = value11; break reducibleJoin20; } break reducibleJoin20; } reverse = r11.reverse; Reflect.apply(reverse, r11, []); value12 = typeof r7 === 'bigint' ? r7 : +r7; value13 = typeof value12 === 'bigint' ? value12 - 1n : +value12 - 1; if (value12) { r12 = value13; reducibleLoop21: while (true) { push = r11.push; Reflect.apply(push, r11, [0]); value14 = typeof r12 === 'bigint' ? r12 : +r12; value15 = typeof value14 === 'bigint' ? value14 - 1n : +value14 - 1; if (value14) { r12 = value15; continue reducibleLoop21; } break reducibleLoop21; } } reverse = r11.reverse; Reflect.apply(reverse, r11, []); r3 = value8; r5 = r9; r14 = r7; } else { length = value2.length; length2 = d2.length; value4 = length < length2; r11 = value4 ? length : length2; value5 = 0; if (value5 < r11) { r6 = value5; reducibleLoop11: while (true) { property = value2[r6]; if (property != d2[r6]) { property = value2[r6]; value7 = property < d2[r6]; r3 = value7; break reducibleLoop11; } value6 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1; if (value6 < r11) { r6 = value6; continue reducibleLoop11; } r3 = value4; break reducibleLoop11; } } else { r3 = value4; } r5 = e; r14 = value5; } reducibleJoin25: while (true) { if (r3) { s = value.s; value.s = -s; r6 = d2; r13 = value2; break reducibleJoin25; } r6 = value2; r13 = d2; break reducibleJoin25; } length = r6.length; length3 = r13.length; value16 = length3 - length; if (value16 > 0) { r2 = length; r3 = value16; reducibleLoop26: while (true) { value17 = typeof r2 === 'bigint' ? r2 : +r2; value18 = typeof value17 === 'bigint' ? value17 + 1n : +value17 + 1; r6[value17] = 0; value19 = typeof r3 === 'bigint' ? r3 - 1n : +r3 - 1; if (value19 > 0) { r2 = value18; r3 = value19; continue reducibleLoop26; } r7 = value18; break reducibleLoop26; } } else { r7 = length; } length = r13.length; value20 = environment; if (length > r14) { r12 = length; reducibleLoop28: while (true) { value21 = typeof r12 === 'bigint' ? r12 - 1n : +r12 - 1; property = r6[value21]; reducibleJoin34: while (true) { if (property < r13[value21]) { reducibleJoin33: while (true) { if (!value21) { r15 = value21; break reducibleJoin33; } value22 = typeof value21 === 'bigint' ? value21 - 1n : +value21 - 1; if (r6[value22] !== 0) { r15 = value22; break reducibleJoin33; } r17 = value22; reducibleLoop31: while (true) { r6[r17] = 9999999; if (r17) { value23 = typeof r17 === 'bigint' ? r17 - 1n : +r17 - 1; if (r6[value23] === 0) { r17 = value23; continue reducibleLoop31; } r15 = value23; break reducibleJoin33; } r15 = r17; break reducibleJoin33; } } property = r6[r15]; r6[r15] = typeof property === 'bigint' ? property - 1n : +property - 1; property = r6[value21]; r6[value21] = property + env0_9; break reducibleJoin34; } break reducibleJoin34; } property = r6[value21]; r6[value21] = property - r13[value21]; if (value21 > r14) { r12 = value21; continue reducibleLoop28; } break reducibleLoop28; } } value24 = typeof r7 === 'bigint' ? r7 - 1n : +r7 - 1; if (r6[value24] === 0) { r9 = value24; reducibleLoop36: while (true) { pop = r6.pop; Reflect.apply(pop, r6, []); value25 = typeof r9 === 'bigint' ? r9 - 1n : +r9 - 1; if (r6[value25] === 0) { r9 = value25; continue reducibleLoop36; } break reducibleLoop36; } } if (r6[0] === 0) { r9 = r5; reducibleLoop38: while (true) { value26 = typeof r9 === 'bigint' ? r9 - 1n : +r9 - 1; shift = r6.shift; Reflect.apply(shift, r6, []); if (r6[0] === 0) { r9 = value26; continue reducibleLoop38; } r5 = value26; break reducibleLoop38; } } if (r6[0]) { value.d = r6; value.e = r5; reducibleJoin43: while (true) { if (env0_2) { round_45286(value, precision); r0 = value; break reducibleJoin43; } r0 = value; break reducibleJoin43; } } else { prototype = constructor.prototype; value = Object.create(prototype, {constructor: {value: constructor}}); constructor = new constructor(0); value = constructor instanceof Object ? constructor : value; r0 = value; } return r0; } break reducibleJoin2; } } if (value.s) { value.s = -value.s; r2 = value; } else { constructor = new constructor(a0); r2 = constructor; } reducibleJoin7: while (true) { if (env0_2) { round_45286(r2, precision); break reducibleJoin7; } break reducibleJoin7; } return r2; } function toString_45288(a0, a1, a2) { // fn#45288, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:12105, offset: 0x0118a482, size: 492 bytes, params: 4, frame: 23 var r11; var r8; var r9; var r6; var r4; var r2; var value6; var value11; var value14; let value = a2; const getBase10ExponentBinding = getBase10Exponent; const value3 = undefined; const base10ExponentBinding = getBase10ExponentBinding(a0); const value5 = digitsToString(a0.d); const length = value5.length; if (a1) { if (value) { value -= length; if (value > 0) { value = value5.charAt(0) + '.' + value5.slice(1) + getZeroString(value); r4 = value; } else if (length > 1) { value = value5.charAt(0); value += '.'; value += value5.slice(1); r4 = value; } else { r4 = value5; } } else if (length > 1) { value = value5.charAt(0); value += '.'; value += value5.slice(1); r4 = value; } else { r4 = value5; } value = 'e+'; value = r4 + (base10ExponentBinding < 0 ? 'e' : value) + base10ExponentBinding; r2 = value; } else if (base10ExponentBinding < 0) { value14 = '0.' + getZeroString(-base10ExponentBinding - 1) + value5; if (value) { value -= length; r6 = value > 0; r9 = value; } else { r6 = value; r9 = value3; } r2 = r6 ? value14 + getZeroString(r9) : value14; } else if (base10ExponentBinding >= length) { value11 = value5 + getZeroString(base10ExponentBinding + 1 - length); if (value) { value = value - base10ExponentBinding - 1; r6 = value > 0; r8 = value; } else { r6 = value; r8 = value3; } if (r6) { value = getZeroString(r8); value = value11 + '.' + value; r2 = value; } else { r2 = value11; } } else { value6 = base10ExponentBinding + 1; r11 = value6 < length ? value5.slice(0, value6) + '.' + value5.slice(value6) : value5; if (value) { value -= length; r8 = value > 0; r9 = value; } else { r8 = value; r9 = value6; } r2 = r8 ? (base10ExponentBinding + 1 !== length ? r11 : r11 + '.') + getZeroString(r9) : r11; } return a0.s < 0 ? '-' + r2 : r2; } function config(a0) { // fn#45290, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:12635, offset: 0x0118a68b, size: 369 bytes, params: 2, frame: 22 var r8; var items2; var value; var length; var value2; var property; var property2; var Error; var LN10; var Math; var LN102; var prototype; var value3; if (a0) { reducibleJoin15: while (true) { if (typeof a0 === 'object') { items2 = ['precision', 1]; items2[2] = 1000000000; items2[3] = 'rounding'; value = 0; items2[4] = value; items2[5] = 8; items2[6] = 'toExpNeg'; items2[7] = -Infinity; items2[8] = value; items2[9] = 'toExpPos'; items2[10] = value; items2[11] = Infinity; length = items2.length; value2 = environment; if (value < length) { r8 = value; reducibleLoop3: while (true) { property = items2[r8]; property2 = a0[property]; if (property2 !== undefined) { reducibleJoin9: while (true) { reducibleJoin7: while (true) { if (floor(property2) !== property2) { break reducibleJoin7; } if (property2 >= items2[r8 + 1]) { if (property2 <= items2[r8 + 2]) { this[property] = property2; break reducibleJoin9; } break reducibleJoin7; } break reducibleJoin7; } Error = global.Error; throw Error(env0_4 + property + ': ' + property2); } } value = r8 + 3; length = items2.length; if (value < length) { r8 = value; continue reducibleLoop3; } break reducibleLoop3; } } LN10 = a0.LN10; if (LN10 !== undefined) { Math = global.Math; LN102 = Math.LN10; if (LN10 != LN102) { throw global.Error(env0_4 + 'LN10' + ': ' + LN10); } prototype = this.prototype; value = Object.create(prototype, {constructor: {value: this}}); value3 = new this(); value = value3 instanceof Object ? value3 : value; this.LN10 = value; } return this; } break reducibleJoin15; } } Error = global.Error; throw Error('[DecimalError] Object expected'); } function cmp(a0) { // fn#45292, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:1371, offset: 0x0118a82e, size: 288 bytes, params: 2, frame: 18 var r2; var property; var value3; var value5; let constructor = this.constructor; constructor = new constructor(a0); let s = this.s; if (s !== constructor.s) { return this.s || -constructor.s; } if (this.e !== constructor.e) { constructor = this.e > constructor.e; return constructor ^ this.s < 0 ? 1 : -1; } let d = this.d; const length = d.length; const length2 = constructor.d.length; const r7 = length < length2 ? length : length2; const value2 = 0; if (value2 < r7) { r2 = value2; loopExit4: while (true) { d = this.d; property = d[r2]; d = constructor.d; if (property !== d[r2]) { d = this.d; property = d[r2]; d = constructor.d; constructor = property > d[r2]; s = this.s; value5 = -1; if (!(constructor ^ s < value2)) { r2 = value5; continue; } constructor = 1; r2 = constructor; return r2; } value3 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1; if (value3 < r7) { r2 = value3; continue; } break loopExit4; } r2 = length === length2 ? value2 : length > length2 ^ this.s < value2 ? 1 : -1; return r2; } return length === length2 ? value2 : length > length2 ^ this.s < value2 ? 1 : -1; } function div(a0) { // fn#45294, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:1767, offset: 0x0118a9b1, size: 48 bytes, params: 2, frame: 14 const binding = env0_12; let constructor = this.constructor; constructor = new constructor(a0); return binding(this, constructor); } function dividedToIntegerBy(a0) { // fn#45295, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:1847, offset: 0x0118a9e1, size: 72 bytes, params: 2, frame: 19 const constructor = this.constructor; const round_45286Binding = round_45286; const binding = env0_12; let constructor2 = new constructor(a0); constructor2 = binding(this, constructor2, 0, 1); round_45286Binding(constructor2, constructor.precision); return constructor2; } function log_45306(a0) { // fn#45306, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:2474, offset: 0x0118ab06, size: 285 bytes, params: 2, frame: 20 var r9; var r1; var constructor3; var binding; var lnBinding; let constructor = this.constructor; const precision = constructor.precision; let value = precision + 5; if (a0 === undefined) { constructor3 = new constructor(10); } else { var constructor2 = new constructor(a0); if (constructor2.s < 1) { throw global.Error('[DecimalError] NaN'); } if (constructor2.eq(env0_0)) { throw global.Error('[DecimalError] NaN'); } r9 = constructor2; } if (this.s < 1) { throw global.Error(env0_3 + (this.s ? 'NaN' : '-Infinity')); } if (this.eq(env0_0)) { constructor = new constructor(0); r1 = constructor; } else { binding = env0_12; lnBinding = ln; value = binding(lnBinding(this, value), lnBinding(r9, value), value); round_45286(value, precision); r1 = value; } return r1; } function minus(a0) { // fn#45307, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:2762, offset: 0x0118ac23, size: 93 bytes, params: 2, frame: 14 var r0; var add_45277Binding; let constructor = this.constructor; constructor = new constructor(a0); if (this.s == constructor.s) { constructor = subtract_45287(this, constructor); r0 = constructor; } else { add_45277Binding = add_45277; constructor.s = -constructor.s; constructor = add_45277Binding(this, constructor); r0 = constructor; } return r0; } function mod_45308(a0) { // fn#45308, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:2874, offset: 0x0118ac80, size: 173 bytes, params: 2, frame: 19 var r0; var round_45286Binding; let constructor = this.constructor; const precision = constructor.precision; let constructor2 = new constructor(a0); if (constructor2.s) { if (this.s) { constructor2 = env0_12(this, constructor2, 0, 1).times(constructor2); constructor2 = this.minus(constructor2); r0 = constructor2; } else { round_45286Binding = round_45286; constructor = new constructor(this); round_45286Binding(constructor, precision); r0 = constructor; } return r0; } const Error = global.Error; throw Error('[DecimalError] NaN'); } function add_45312(a0) { // fn#45312, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:3260, offset: 0x0118ad87, size: 93 bytes, params: 2, frame: 14 var r0; var subtract_45287Binding; let constructor = this.constructor; constructor = new constructor(a0); if (this.s == constructor.s) { constructor = add_45277(this, constructor); r0 = constructor; } else { subtract_45287Binding = subtract_45287; constructor.s = -constructor.s; constructor = subtract_45287Binding(this, constructor); r0 = constructor; } return r0; } function precision(a0) { // fn#45313, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:3374, offset: 0x0118ade4, size: 211 bytes, params: 2, frame: 20 var r9; var r10; var r7; var r0; var r5; var r4; var value; var value4; var value5; var value6; var value7; var Error; if (a0 !== undefined) { reducibleJoin4: while (true) { if (a0 === !!a0) { break reducibleJoin4; } if (a0 === 1) { break reducibleJoin4; } if (a0 !== 0) { Error = global.Error; value = environment; throw Error(env0_4 + a0); } break reducibleJoin4; } } value = getBase10Exponent(this); value += 1; let d = this.d; const value2 = d.length - 1; const value3 = 7 * value2 + 1; let property = this.d[value2]; reducibleJoin9: while (true) { if (!property) { r4 = value3; break reducibleJoin9; } if (property % 10 !== 0) { r7 = value3; } else { r9 = value3; r10 = property; reducibleLoop6: while (true) { value4 = typeof r9 === 'bigint' ? r9 - 1n : +r9 - 1; value5 = r10 / 10; if (value5 % 10 === 0) { r9 = value4; r10 = value5; continue reducibleLoop6; } r7 = value4; break reducibleLoop6; } } d = this.d; property = d[0]; if (!(property >= 10)) { r4 = r7; break reducibleJoin9; } r0 = r7; r5 = property; reducibleLoop8: while (true) { value6 = typeof r0 === 'bigint' ? r0 + 1n : +r0 + 1; value7 = r5 / 10; if (value7 >= 10) { r0 = value6; r5 = value7; continue reducibleLoop8; } r4 = value6; break reducibleJoin9; } } reducibleJoin11: while (true) { if (a0) { if (value > r4) { r0 = value; break reducibleJoin11; } r0 = r4; break reducibleJoin11; } r0 = r4; break reducibleJoin11; } return r0; } function sqrt() { // fn#45314, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:3609, offset: 0x0118aeb7, size: 615 bytes, params: 1, frame: 33 var r6; var r1; var r14; var value; var toString; var value4; var prototype; var value5; var constructor2; var value6; var digitsToStringBinding; var d; var value7; var length; var value8; var value9; var value10; var value11; var value12; var value13; var toExponential; var value14; var slice; var indexOf; var value15; var value16; var value17; var constructor3; var value18; var plus; var binding; var value20; var times; var value21; var value22; var value23; var value24; var value25; var value26; var value27; var eq; var value28; let constructor = this.constructor; if (this.s < 1) { if (this.s) { throw global.Error('[DecimalError] NaN'); } value = Object.create(constructor.prototype, {constructor: {value: constructor}}); constructor = new constructor(0); return constructor instanceof Object ? constructor : value; } const base10Exponent = getBase10Exponent(this); let Math = global.Math; let sqrt = Math.sqrt; const value3 = Reflect.apply(sqrt, Math, [Number(this)]); reducibleJoin12: while (true) { reducibleJoin8: while (true) { if (value3 == 0) { digitsToStringBinding = digitsToString; d = this.d; value7 = digitsToStringBinding(d); length = value7.length; reducibleJoin6: while (true) { if ((length + base10Exponent) % 2 !== 0) { r6 = value7; break reducibleJoin6; } value8 = value7 + '0'; r6 = value8; break reducibleJoin6; } Math = global.Math; sqrt = Math.sqrt; value9 = Reflect.apply(sqrt, Math, [r6]); value10 = floor((base10Exponent + 1) / 2); value11 = base10Exponent < 0; if (value11) { r1 = value11; break reducibleJoin8; } value12 = base10Exponent % 2; r1 = value12; break reducibleJoin8; } if (value3 == Infinity) { digitsToStringBinding = digitsToString; d = this.d; value7 = digitsToStringBinding(d); length = value7.length; reducibleJoin6: while (true) { if ((length + base10Exponent) % 2 !== 0) { r6 = value7; break reducibleJoin6; } value8 = value7 + '0'; r6 = value8; break reducibleJoin6; } Math = global.Math; sqrt = Math.sqrt; value9 = Reflect.apply(sqrt, Math, [r6]); value10 = floor((base10Exponent + 1) / 2); value11 = base10Exponent < 0; if (value11) { r1 = value11; break reducibleJoin8; } value12 = base10Exponent % 2; r1 = value12; break reducibleJoin8; } toString = value3.toString; value4 = Reflect.apply(toString, value3, []); prototype = constructor.prototype; value5 = Object.create(prototype, {constructor: {value: constructor}}); constructor2 = new constructor(); value6 = constructor2 instanceof Object ? constructor2 : value5; r14 = value6; break reducibleJoin12; } value13 = value10 - r1; if (value9 == Infinity) { value16 = '1e' + value13; r1 = value16; } else { toExponential = value9.toExponential; value14 = Reflect.apply(toExponential, value9, []); slice = value14.slice; indexOf = value14.indexOf; value15 = Reflect.apply(slice, value14, [0, Reflect.apply(indexOf, value14, ['e']) + 1]) + value13; r1 = value15; } prototype = constructor.prototype; value17 = Object.create(prototype, {constructor: {value: constructor}}); constructor3 = new constructor(); value18 = constructor3 instanceof Object ? constructor3 : value17; r14 = value18; break reducibleJoin12; } const precision = constructor.precision; const value19 = precision + 3; r6 = value19; reducibleLoop13: while (true) { plus = r14.plus; binding = env0_12; value20 = Reflect.apply(plus, r14, [binding(this, r14, r6 + 2)]); times = value20.times; value21 = Reflect.apply(times, value20, [0.5]); digitsToStringBinding = digitsToString; d = r14.d; value22 = digitsToStringBinding(d); slice = value22.slice; value23 = Reflect.apply(slice, value22, [0, r6]); d = value21.d; value24 = digitsToStringBinding(d); slice = value24.slice; reducibleJoin14: while (true) { if (value23 !== Reflect.apply(slice, value24, [0, r6])) { r14 = value21; continue reducibleLoop13; } break reducibleJoin14; } slice = value24.slice; value25 = r6 - 3; value26 = Reflect.apply(slice, value24, [value25, r6 + 1]); if (value19 == r6) { reducibleJoin16: while (true) { if (value26 == '4999') { round_45286(r14, precision + 1, 0); times = r14.times; value27 = Reflect.apply(times, r14, [r14]); eq = value27.eq; if (Reflect.apply(eq, value27, [this])) { r1 = r14; break reducibleLoop13; } value28 = r6 + 4; r6 = value28; r14 = value21; continue reducibleLoop13; } break reducibleJoin16; } } if (value26 != '9999') { r1 = value21; break reducibleLoop13; } value28 = r6 + 4; r6 = value28; r14 = value21; continue reducibleLoop13; } round_45286(r1, precision); return r1; } function mul(a0) { // fn#45315, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:4262, offset: 0x0118b11e, size: 421 bytes, params: 2, frame: 31 var r2; var r11; var r12; var r13; var r4; var r9; var r15; var r17; var r14; var r16; var r8; var s2; var e; var e2; var value2; var length; var length2; var items2; var value3; var value4; var value5; var value6; var push; var value7; var value8; var value9; var value10; var value11; var value12; var property; var property2; var value13; var value14; var value15; var value16; var value17; var value18; var value19; var pop; var value20; var shift; var value21; var round_45286Binding; var precision; let constructor = this.constructor; const d = this.d; let constructor2 = new constructor(a0); const d2 = constructor2.d; let s = this.s; if (s) { s = constructor2.s; reducibleJoin2: while (true) { if (s) { s = constructor2.s; s2 = this.s; constructor2.s = s * s2; e = this.e; e2 = constructor2.e; value2 = e + e2; length = d.length; length2 = d2.length; if (length < length2) { r2 = length; r11 = d; r12 = d2; r13 = length2; } else { r2 = length2; r11 = d2; r12 = d; r13 = length; } items2 = []; value3 = r13 + r2; value4 = typeof value3 === 'bigint' ? value3 : +value3; value5 = typeof value4 === 'bigint' ? value4 - 1n : +value4 - 1; value6 = 0; if (value4) { r4 = value5; reducibleLoop5: while (true) { push = items2.push; Reflect.apply(push, items2, [value6]); value7 = typeof r4 === 'bigint' ? r4 : +r4; value8 = typeof value7 === 'bigint' ? value7 - 1n : +value7 - 1; if (value7) { r4 = value8; continue reducibleLoop5; } break reducibleLoop5; } } value9 = typeof r2 === 'bigint' ? r2 - 1n : +r2 - 1; value10 = undefined; value11 = environment; if (value9 >= value6) { r9 = value9; reducibleLoop7: while (true) { value12 = r13 + r9; if (value12 > r9) { r15 = value12; r17 = value6; reducibleLoop8: while (true) { property = items2[r15]; property2 = r11[r9]; value13 = property + property2 * r12[r15 - r9 - 1] + r17; value14 = typeof r15 === 'bigint' ? r15 : +r15; value15 = typeof value14 === 'bigint' ? value14 - 1n : +value14 - 1; items2[value14] = value13 % env0_9 | 0; value16 = value13 / env0_9 | 0; if (value15 > r9) { r15 = value15; r17 = value16; continue reducibleLoop8; } r14 = value16; r16 = value15; break reducibleLoop8; } } else { r14 = value6; r16 = value12; } value17 = items2[r16] + r14; items2[r16] = value17 % env0_9 | 0; value18 = typeof r9 === 'bigint' ? r9 - 1n : +r9 - 1; if (value18 >= value6) { r9 = value18; continue reducibleLoop7; } r4 = r14; break reducibleLoop7; } } else { r4 = value10; } value19 = typeof value3 === 'bigint' ? value3 - 1n : +value3 - 1; if (!items2[value19]) { r8 = value19; reducibleLoop11: while (true) { pop = items2.pop; Reflect.apply(pop, items2, []); value20 = typeof r8 === 'bigint' ? r8 - 1n : +r8 - 1; if (items2[value20]) { break reducibleLoop11; } r8 = value20; continue reducibleLoop11; } } if (r4) { value21 = typeof value2 === 'bigint' ? value2 + 1n : +value2 + 1; r4 = value21; } else { shift = items2.shift; Reflect.apply(shift, items2, []); r4 = value2; } constructor2.d = items2; constructor2.e = r4; reducibleJoin17: while (true) { if (env0_2) { round_45286Binding = round_45286; precision = constructor.precision; round_45286Binding(constructor2, precision); break reducibleJoin17; } break reducibleJoin17; } return constructor2; } break reducibleJoin2; } } constructor2 = Object.create(constructor.prototype, {constructor: {value: constructor}}); constructor = new constructor(0); return constructor instanceof Object ? constructor : constructor2; } function toDecimalPlaces(a0, a1) { // fn#45316, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:4682, offset: 0x0118b2c3, size: 124 bytes, params: 3, frame: 19 var r3; var round_45286Binding; let value = a1; const constructor = this.constructor; const constructor2 = new constructor(this); if (a0 !== undefined) { checkInt32(a0, 0, 1000000000); if (value === undefined) { r3 = constructor.rounding; } else { checkInt32(value, 0, 8); r3 = value; } round_45286Binding = round_45286; value = a0 + getBase10Exponent(constructor2); round_45286Binding(constructor2, value + 1, r3); } return constructor2; } function toExponential(a0, a1) { // fn#45317, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:4869, offset: 0x0118b33f, size: 148 bytes, params: 3, frame: 19 var r8; var r0; var toString_45288Binding; var round_45286Binding; const value = a1; let constructor = this.constructor; if (a0 === undefined) { r0 = toString_45288(this, true); } else { checkInt32(a0, 0, 1000000000); if (value === undefined) { r8 = constructor.rounding; } else { checkInt32(value, 0, 8); r8 = value; } toString_45288Binding = toString_45288; round_45286Binding = round_45286; constructor = new constructor(this); round_45286Binding(constructor, a0 + 1, r8); constructor = toString_45288Binding(constructor, true, a0 + 1); r0 = constructor; } return r0; } function toFixed(a0, a1) { // fn#45318, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:5065, offset: 0x0118b3d3, size: 220 bytes, params: 3, frame: 20 var r9; var r0; var toString_45288Binding; var round_45286Binding; var getBase10ExponentBinding; var value4; const value = a1; let constructor = this.constructor; if (a0 === undefined) { r0 = toString_45288(this); } else { checkInt32(a0, 0, 1000000000); if (value === undefined) { r9 = constructor.rounding; } else { checkInt32(value, 0, 8); r9 = value; } toString_45288Binding = toString_45288; round_45286Binding = round_45286; constructor = new constructor(this); getBase10ExponentBinding = getBase10Exponent; round_45286Binding(constructor, a0 + getBase10ExponentBinding(this) + 1, r9); value4 = constructor.abs(); constructor = a0 + getBase10ExponentBinding(constructor) + 1; constructor = toString_45288Binding(value4, false, constructor); r0 = this.isneg() ? this.isZero() ? constructor : '-' + constructor : constructor; } return r0; } function toInteger_45319() { // fn#45319, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:5347, offset: 0x0118b4af, size: 71 bytes, params: 1, frame: 16 const constructor = this.constructor; const round_45286Binding = round_45286; const constructor2 = new constructor(this); let value = getBase10Exponent(this); value += 1; round_45286Binding(constructor2, value, constructor.rounding); return constructor2; } function pow_45321(a0) { // fn#45321, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:5494, offset: 0x0118b4fe, size: 708 bytes, params: 2, frame: 27 var r8; var r6; var r9; var r10; var r14; var r2; var binding; var constructor3; var eq; var precision; var e; var d; var length; var value6; var value7; var value8; var constructor4; var value13; var truncate_45289Binding; var value14; var value15; var value16; var value17; var value18; let constructor = this.constructor; let constructor2 = new constructor(a0); const value2 = Number(constructor2); let s = constructor2.s; if (s) { constructor3 = new constructor(this); s = constructor3.s; if (s) { eq = constructor3.eq; if (Reflect.apply(eq, constructor3, [env0_0])) { return constructor3; } precision = constructor.precision; eq = constructor2.eq; if (Reflect.apply(eq, constructor2, [env0_0])) { round_45286(constructor3, precision); return constructor3; } e = constructor2.e; d = constructor2.d; length = d.length; value6 = 1; value7 = length - value6; value8 = e >= value7; s = constructor3.s; if (value8) { r8 = value2 < 0 ? -value2 : value2; if (r8 <= 9007199254740991) { binding = env0_0; constructor4 = new constructor(); value13 = global.Math.ceil(precision / 7 + 4); if (r8 % 2) { truncate_45289Binding = truncate_45289; value14 = constructor4.times(constructor3); d = value14.d; truncate_45289Binding(d, value13); r6 = value14; } else { r6 = constructor4; } value15 = floor(r8 / 2); if (value15 !== 0) { r8 = value15; r9 = constructor3; r10 = r6; while (true) { truncate_45289Binding = truncate_45289; value16 = r9.times(r9); d = value16.d; truncate_45289Binding(d, value13); if (r8 % 2) { truncate_45289Binding = truncate_45289; value17 = r10.times(value16); d = value17.d; truncate_45289Binding(d, value13); r14 = value17; } else { r14 = r10; } value18 = floor(r8 / 2); if (value18 !== 0) { r8 = value18; r9 = value16; r10 = r14; continue; } r6 = r14; break; } } if (constructor2.s < 0) { binding = env0_0; constructor = new constructor(); constructor = constructor.div(r6); r2 = constructor; } else { round_45286(r6, precision); r2 = r6; } return r2; } r6 = s < 0 && value6 & constructor2.d[global.Math.max(e, r8)] ? -1 : value6; constructor3.s = value6; constructor2 = constructor2.times(ln(constructor3, precision + 12)); constructor2 = exp_45280(constructor2); constructor2.s = r6; return constructor2; } if (s < 0) { throw global.Error('[DecimalError] NaN'); } r6 = s < 0 && value6 & constructor2.d[global.Math.max(e, value7)] ? -1 : value6; constructor3.s = value6; constructor2 = constructor2.times(ln(constructor3, precision + 12)); constructor2 = exp_45280(constructor2); constructor2.s = r6; return constructor2; } s = constructor2.s; if (s < 1) { throw global.Error('[DecimalError] Infinity'); } return constructor3; } binding = env0_0; constructor2 = Object.create(constructor.prototype, {constructor: {value: constructor}}); constructor = new constructor(); return constructor instanceof Object ? constructor : constructor2; } function toPrecision(a0, a1) { // fn#45322, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:6120, offset: 0x0118b7c2, size: 197 bytes, params: 3, frame: 20 var r8; var r0; var toString_45288Binding; var round_45286Binding; var constructor2; var base10Exponent; let value = a1; const constructor = this.constructor; if (a0 === undefined) { toString_45288Binding = toString_45288; value = getBase10Exponent(this); value = toString_45288Binding(this, value <= constructor.toExpNeg || value >= constructor.toExpPos); r0 = value; } else { checkInt32(a0, 1, 1000000000); if (value === undefined) { r8 = constructor.rounding; } else { checkInt32(value, 0, 8); r8 = value; } toString_45288Binding = toString_45288; round_45286Binding = round_45286; constructor2 = new constructor(this); round_45286Binding(constructor2, a0, r8); base10Exponent = getBase10Exponent(constructor2); r0 = a0 <= base10Exponent || base10Exponent <= constructor.toExpNeg; constructor2 = toString_45288Binding(constructor2, r0, a0); r0 = constructor2; } return r0; } function toSignificantDigits(a0, a1) { // fn#45323, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:6422, offset: 0x0118b887, size: 133 bytes, params: 3, frame: 19 var r2; var r3; var precision; const value = a0; const value2 = a1; let constructor = this.constructor; if (value === undefined) { precision = constructor.precision; r2 = constructor.rounding; r3 = precision; } else { checkInt32(value, 1, 1000000000); if (value2 === undefined) { r2 = constructor.rounding; r3 = value; } else { checkInt32(value2, 0, 8); r2 = value2; r3 = value; } } const round_45286Binding = round_45286; constructor = new constructor(this); round_45286Binding(constructor, r3, r2); return constructor; } function toJSON_45324() { // fn#45324, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:6628, offset: 0x0118b90c, size: 57 bytes, params: 1, frame: 16 const base10Exponent = getBase10Exponent(this); const constructor = this.constructor; return toString_45288(this, base10Exponent <= constructor.toExpNeg || base10Exponent >= constructor.toExpPos); } function _fun45325() { // fn#45325, offset: 0x0118b945, size: 36 bytes, params: 1, frame: 2 const compare_45327 = function(a0, a1, a2, a3) { var r7; var r3; var r0; var value; var property; var value2; if (a2 != a3) { r0 = a2 > a3 ? 1 : -1; } else { value = 0; if (value < a2) { r7 = value; loopExit2: while (true) { property = a0[r7]; if (property != a1[r7]) { property = a0[r7]; value = -1; if (!(property > a1[r7])) { r3 = value; continue; } value = 1; r3 = value; r0 = r3; break loopExit2; } value2 = typeof r7 === 'bigint' ? r7 + 1n : +r7 + 1; if (value2 < a2) { r7 = value2; continue; } r0 = value; break loopExit2; } } else { r0 = value; } } return r0; }; return _fun45329; } function clone_45330(a0) { // fn#45330, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:13031, offset: 0x0118bf9f, size: 243 bytes, params: 2, frame: 15 var r4; var items; var length; var hasOwnProperty; var value4; var property; let value = a0; const closure = Decimal; closure.prototype = env0_11; const value3 = 0; closure.ROUND_UP = value3; closure.ROUND_DOWN = 1; closure.ROUND_CEIL = 2; closure.ROUND_FLOOR = 3; closure.ROUND_HALF_UP = 4; closure.ROUND_HALF_DOWN = 5; closure.ROUND_HALF_EVEN = 6; closure.ROUND_HALF_CEIL = 7; closure.ROUND_HALF_FLOOR = 8; closure.clone = clone_45330; const configBinding = config; closure.set = configBinding; closure.config = configBinding; const r2 = value !== undefined ? value : {}; if (r2) { items = ['precision', 'rounding', 'toExpNeg', 'toExpPos', 'LN10']; length = items.length; if (value3 < length) { r4 = value3; while (true) { hasOwnProperty = r2.hasOwnProperty; value = typeof r4 === 'bigint' ? r4 : +r4; value4 = typeof value === 'bigint' ? value + 1n : +value + 1; property = items[value]; if (!Reflect.apply(hasOwnProperty, r2, [property])) { r2[property] = this[property]; } length = items.length; if (value4 < length) { r4 = value4; continue; } break; } } } closure.config(r2); return closure; } function multiplyInteger(a0, a1) { // fn#45326, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:6755, offset: 0x0118b969, size: 102 bytes, params: 3, frame: 16 var r3; var r5; var r2; var value6; var value7; var value8; var value9; var unshift; const length = a0.length; const value = a0.slice(); const value2 = typeof length === 'bigint' ? length : +length; const value3 = typeof value2 === 'bigint' ? value2 - 1n : +value2 - 1; const value4 = 0; if (value2) { r3 = value4; r5 = value3; reducibleLoop1: while (true) { value6 = value[r5] * a1 + r3; value[r5] = value6 % env1_9 | 0; value7 = value6 / env1_9 | 0; value8 = typeof r5 === 'bigint' ? r5 : +r5; value9 = typeof value8 === 'bigint' ? value8 - 1n : +value8 - 1; if (value8) { r3 = value7; r5 = value9; continue reducibleLoop1; } r2 = value7; break reducibleLoop1; } } else { r2 = value4; } reducibleJoin4: while (true) { if (r2) { unshift = value.unshift; Reflect.apply(unshift, value, [r2]); break reducibleJoin4; } break reducibleJoin4; } return value; } function subtract_45328(a0, a1, a2) { // fn#45328, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:7005, offset: 0x0118ba3b, size: 143 bytes, params: 4, frame: 16 var r4; var r6; var property; var value6; var length; let value = typeof a2 === 'bigint' ? a2 : +a2; const value2 = typeof value === 'bigint' ? value - 1n : +value - 1; const value3 = 0; const value5 = 1; if (value) { r4 = value3; r6 = value2; while (true) { a0[r6] -= r4; property = a0[r6]; r4 = property < a1[r6] ? value5 : value3; value = r4 * env1_9; value += a0[r6]; a0[r6] = value - a1[r6]; value = typeof r6 === 'bigint' ? r6 : +r6; value6 = typeof value === 'bigint' ? value - 1n : +value - 1; if (value) { r6 = value6; continue; } break; } } if (!a0[value3]) { length = a0.length; if (length > value5) { while (true) { a0.shift(); if (a0[value3]) { break; } length = a0.length; if (length > value5) { continue; } break; } } } } function _fun45329(a0, a1, a2, a3) { // fn#45329, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:7131, offset: 0x0118baca, size: 1237 bytes, params: 5, frame: 63 var r0; var r3; var r16; var r6; var r7; var r10; var length; var r28; var r29; var r102; var r32; var r11; var r12; var r13; var r17; var r18; var r21; var r41; var r37; var r39; var r44; var r46; var r48; var r42; var r43; var r45; var r47; var r103; var r35; var r36; var r38; var r9; var r4; var value3; var value4; var length2; var constructor2; var items2; var value7; var property; var value8; var property3; var value9; var value10; var getBase10ExponentBinding; var base10ExponentBinding; var value12; var value13; var precision; var value14; var value15; var value16; var value17; var multiplyIntegerBinding; var value18; var value19; var length3; var slice; var value20; var length4; var value21; var value22; var value23; var unshift; var value25; var value26; var compare_45327Binding; var value27; var value28; var value29; var length5; var length6; var value30; var value31; var subtract_45328Binding; var length7; var length8; var value32; var length9; var value33; var value34; var value35; var value36; var value37; var value38; var property5; var value39; var value40; var value41; var shift; var round_45286Binding; let value = a2; let constructor = a0.constructor; const s = a0.s; const s2 = a1.s; const value2 = -1; reducibleJoin2: while (true) { if (s == s2) { value3 = 1; r0 = value3; break reducibleJoin2; } r0 = value2; break reducibleJoin2; } const d = a0.d; const d2 = a1.d; if (a0.s) { if (a1.s) { value4 = a0.e - a1.e; length = d2.length; length2 = d.length; constructor2 = new constructor(); items2 = []; constructor2.d = items2; value7 = 0; property = d2[value7]; r3 = d[value7] || value7; if (property == r3) { r16 = value7; reducibleLoop8: while (true) { value8 = typeof r16 === 'bigint' ? r16 + 1n : +r16 + 1; property = d2[value8]; property3 = d[value8]; r6 = property3 || value7; if (property == r6) { r16 = value8; continue reducibleLoop8; } r3 = value8; break reducibleLoop8; } } else { r3 = value7; } property = d2[r3]; r6 = d[r3] || value7; reducibleJoin13: while (true) { if (property > r6) { value9 = typeof value4 === 'bigint' ? value4 - 1n : +value4 - 1; r3 = value9; break reducibleJoin13; } r3 = value4; break reducibleJoin13; } if (value == null) { precision = constructor.precision; r6 = precision; r7 = precision; } else { reducibleJoin16: while (true) { if (a3) { value10 = environment.__proto__; getBase10ExponentBinding = getBase10Exponent; base10ExponentBinding = getBase10ExponentBinding(a0); value12 = value + (base10ExponentBinding - getBase10ExponentBinding(a1)); value13 = value12 + 1; r6 = value13; break reducibleJoin16; } r6 = value; break reducibleJoin16; } r7 = value; } if (r6 < value7) { value = Object.create(constructor.prototype, {constructor: {value: constructor}}); constructor = new constructor(); return constructor instanceof Object ? constructor : value; } value = r6 / 7 + 2 | 0; value14 = 1; if (value14 == length) { property = d2[value7]; value = typeof value === 'bigint' ? value + 1n : +value + 1; reducibleJoin61: while (true) { if (!(value7 < length2)) { break reducibleJoin61; } value37 = typeof value === 'bigint' ? value - 1n : +value - 1; value38 = environment.__proto__; if (!value) { break reducibleJoin61; } r9 = value7; r10 = value7; r12 = value37; reducibleLoop57: while (true) { value = r9 * env1_9; property5 = d[r10]; r4 = property5 || value7; value += r4; items2[r10] = value / property | 0; value = value % property | 0; value39 = typeof r10 === 'bigint' ? r10 + 1n : +r10 + 1; if (!(value39 < length2)) { reducibleJoin60: while (true) { if (value) { break reducibleJoin60; } break reducibleJoin61; } } value40 = typeof r12 === 'bigint' ? r12 : +r12; value41 = typeof value40 === 'bigint' ? value40 - 1n : +value40 - 1; if (value40) { r9 = value; r10 = value39; r12 = value41; continue reducibleLoop57; } break reducibleJoin61; } } } else { value15 = environment.__proto__; value16 = env1_9 / (d2[value7] + value14) | 0; reducibleJoin22: while (true) { if (value16 > value14) { value17 = environment; multiplyIntegerBinding = multiplyInteger; value18 = multiplyIntegerBinding(d2, value16); value19 = multiplyIntegerBinding(d, value16); length = value18.length; length3 = value19.length; r10 = value19; r28 = value18; r29 = length3; break reducibleJoin22; } r10 = d; r28 = d2; r29 = length2; break reducibleJoin22; } value20 = r10.slice(value7, length); length4 = value20.length; if (length4 < length) { r102 = length4; reducibleLoop23: while (true) { value21 = typeof r102 === 'bigint' ? r102 : +r102; value22 = typeof value21 === 'bigint' ? value21 + 1n : +value21 + 1; value20[value21] = value7; if (value22 < length) { r102 = value22; continue reducibleLoop23; } r32 = value22; break reducibleLoop23; } } else { r32 = length4; } value23 = r28.slice(); value23.unshift(value7); property = r28[value7]; value25 = 9999999; reducibleJoin26: while (true) { if (r28[value14] >= 5000000) { value26 = typeof property === 'bigint' ? property + 1n : +property + 1; r11 = value26; r12 = length; r13 = value; r17 = r32; r18 = value20; r21 = value7; break reducibleJoin26; } r11 = property; r12 = length; r13 = value; r17 = r32; r18 = value20; r21 = value7; break reducibleJoin26; } reducibleLoop26: while (true) { value = compare_45327(r28, r18, length, r17); if (value < value7) { property = r18[value7]; reducibleJoin32: while (true) { if (length == r17) { r37 = property; break reducibleJoin32; } value27 = property * env1_9; property = r18[value14]; r41 = property || value7; value28 = value27 + r41; r37 = value28; break reducibleJoin32; } value29 = r37 / r11 | 0; if (value29 > value14) { r46 = value29 >= env1_9 ? value25 : value29; compare_45327Binding = compare_45327; value = multiplyInteger(r28, r46); length5 = value.length; length6 = r18.length; value30 = compare_45327Binding(value, r18, length5, length6); reducibleJoin39: while (true) { if (value14 !== value30) { r39 = r46; r42 = value; r43 = length6; r44 = value30; break reducibleJoin39; } value31 = typeof r46 === 'bigint' ? r46 - 1n : +r46 - 1; subtract_45328Binding = subtract_45328; r48 = length < length5 ? value23 : r28; subtract_45328Binding(value, r48, length5); r39 = value31; r42 = value; r43 = length6; r44 = value30; break reducibleJoin39; } } else { if (value7 !== value29) { r39 = value29; r44 = value; } else { r39 = value14; r44 = value14; } slice = r28.slice; value = Reflect.apply(slice, r28, []); r42 = value; r43 = r17; } length7 = r42.length; reducibleJoin41: while (true) { if (length7 < r43) { unshift = r42.unshift; Reflect.apply(unshift, r42, [value7]); break reducibleJoin41; } break reducibleJoin41; } subtract_45328(r18, r42, r43); value = value2 === r44; reducibleJoin43: while (true) { if (value) { compare_45327Binding = compare_45327; length8 = r18.length; value = compare_45327Binding(r28, r18, length, length8); value32 = value < value14; r44 = value; r45 = value32; r47 = length8; break reducibleJoin43; } r45 = value; r47 = r43; break reducibleJoin43; } reducibleJoin46: while (true) { if (r45) { value = typeof r39 === 'bigint' ? r39 + 1n : +r39 + 1; subtract_45328Binding = subtract_45328; r45 = length < r47 ? value23 : r28; subtract_45328Binding(r18, r45, r47); r43 = value; break reducibleJoin46; } r43 = r39; break reducibleJoin46; } length9 = r18.length; r103 = length9; r35 = r18; r36 = r44; r38 = r43; } else { reducibleJoin47: while (true) { if (value7 !== value) { r103 = r17; r35 = r18; r36 = value; r38 = value7; break reducibleJoin47; } r103 = r17; r35 = [0]; r36 = value; r38 = value14; break reducibleJoin47; } } value = typeof r21 === 'bigint' ? r21 : +r21; value33 = typeof value === 'bigint' ? value + 1n : +value + 1; items2[value] = r38; reducibleJoin52: while (true) { reducibleJoin49: while (true) { if (r36) { if (r35[value7]) { value = typeof r103 === 'bigint' ? r103 : +r103; value34 = typeof value === 'bigint' ? value + 1n : +value + 1; property = r10[r12]; r36 = property || value7; r35[value] = r36; r17 = value34; r18 = r35; break reducibleJoin52; } break reducibleJoin49; } break reducibleJoin49; } property = r10[r12]; r17 = value14; r18 = [property]; break reducibleJoin52; } value = typeof r12 === 'bigint' ? r12 : +r12; value35 = typeof value === 'bigint' ? value + 1n : +value + 1; if (!(value < r29)) { reducibleJoin54: while (true) { if (r18[value7] === undefined) { break reducibleLoop26; } break reducibleJoin54; } } value = typeof r13 === 'bigint' ? r13 : +r13; value36 = typeof value === 'bigint' ? value - 1n : +value - 1; if (value) { r12 = value35; r13 = value36; r21 = value33; continue reducibleLoop26; } break reducibleLoop26; } } reducibleJoin63: while (true) { if (items2[value7]) { break reducibleJoin63; } shift = items2.shift; Reflect.apply(shift, items2, []); break reducibleJoin63; } constructor2.e = r3; value = environment.__proto__; round_45286Binding = round_45286; reducibleJoin65: while (true) { if (a3) { value = r7 + getBase10Exponent(constructor2) + value14; r4 = value; break reducibleJoin65; } r4 = r7; break reducibleJoin65; } round_45286Binding(constructor2, r4); return constructor2; } throw global.Error('[DecimalError] Division by zero'); } value = Object.create(constructor.prototype, {constructor: {value: constructor}}); constructor = new constructor(a0); return constructor instanceof Object ? constructor : value; } function Decimal(a0) { // fn#45331, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5317:13059, owner: clone_45330.Decimal, offset: 0x0118c092, size: 468 bytes, params: 2, frame: 16 var r4; var r2; var value6; var binding; var Error; var parseDecimalBinding; var value8; var value9; var d; let value = a0; const value2 = this; if (value2 instanceof Decimal) { value2.constructor = Decimal; if (value instanceof Decimal) { value2.s = value.s; value2.e = value.e; d = value.d; value2.d = d && d.slice(); return undefined; } value6 = typeof value; if (value6 === 'number') { if (0 * value !== 0) { Error = global.Error; value9 = environment.__proto__; throw Error(env1_4 + value); } if (value > 0) { value2.s = 1; r4 = value; if (r4 !== ~~r4) { value = environment.__proto__; parseDecimalBinding = parseDecimal; value = r4.toString(); parseDecimalBinding(value2, value); r2 = value2; } else if (r4 < 10000000) { value2.e = 0; value2.d = [r4]; r2 = undefined; } else { value = environment.__proto__; parseDecimalBinding = parseDecimal; value = r4.toString(); parseDecimalBinding(value2, value); r2 = value2; } return r2; } if (value < 0) { value = -value; value2.s = -1; r4 = value; if (r4 !== ~~r4) { value = environment.__proto__; parseDecimalBinding = parseDecimal; value = r4.toString(); parseDecimalBinding(value2, value); r2 = value2; } else if (r4 < 10000000) { value2.e = 0; value2.d = [r4]; r2 = undefined; } else { value = environment.__proto__; parseDecimalBinding = parseDecimal; value = r4.toString(); parseDecimalBinding(value2, value); r2 = value2; } return r2; } value2.s = 0; value2.e = 0; value2.d = [0]; return undefined; } if (value6 !== 'string') { Error = global.Error; value8 = environment.__proto__; throw Error(env1_4 + value); } if (value.charCodeAt(0) === 45) { value = value.slice(1); value2.s = -1; r4 = value; } else { value2.s = 1; r4 = value; } value = environment.__proto__; binding = env1_8; if (binding.test(r4)) { parseDecimal(value2, r4); return undefined; } Error = global.Error; throw Error(env1_4 + r4); } const value5 = Object.create(Decimal.prototype, {constructor: {value: Decimal}}); const decimal = new Decimal(value); return decimal instanceof Object ? decimal : value5; }