Files
discord-decomp/sources/by-id/module-00514.jsx
T
2026-07-27 16:20:00 +03:00

1039 lines
40 KiB
React

/* Metro module 514; source: unknown; dependencies: [513, 511, 515] */
function _fun6583(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#6583, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:564:6, offset: 0x00d00cc5, size: 313 bytes, params: 8, frame: 16
const env0_0 = require;
const Object = global.Object;
const env0_2 = Object.prototype.hasOwnProperty;
let object2 = {brackets: function(a0) {
return a0 + '[]';
}, comma: 'comma', indices: function(a0, a1) {
return a0 + '[' + a1 + ']';
}, repeat: function(a0) {
return a0;
}};
let Array = global.Array;
const env0_4 = Array.isArray;
Array = global.Array;
const env0_5 = Array.prototype.push;
const pushToArray = function(a0, a1) {
var value = a1;
var pushBinding = push;
pushBinding.apply(a0, isArray(value) ? value : [value]);
};
const Date = global.Date;
const env0_7 = Date.prototype.toISOString;
object2 = {'addQueryPrefix': false, 'allowDots': false, 'allowEmptyArrays': false, 'arrayFormat': 'indices',
'charset': 'utf-8', 'charsetSentinel': false, 'commaRoundTrip': false, 'delimiter': '&', 'encode': true,
'encodeDotInKeys': false, 'encoder': null, 'encodeValuesOnly': false};
object2.encoder = (require(513) /* metro dependency 513 */).encode;
object2.filter = undefined;
object2.format = (require(511) /* metro dependency 511 */).default;
object2.formatter = (require(511) /* metro dependency 511 */).formatters[(require(511) /* metro dependency 511 */).default];
object2.indices = false;
object2.serializeDate = function(a0) {
return toISOString.call(a0);
};
object2.skipNulls = false;
object2.strictNullHandling = false;
const env0_9 = {};
module.exports = exports_6591;
}
function stringify_6589(a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17) { // fn#6589, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:564:760, offset: 0x00d00e75, size: 1315 bytes, params: 19, frame: 73
var r8;
var r9;
var r12;
var r14;
var r27;
var r0;
var r22;
var r23;
var r11;
var r28;
var r46;
var r41;
var r45;
var r42;
var value11;
var value12;
var value13;
var value14;
var value15;
var isArray2;
var moduleValue;
var maybeMap;
var value16;
var value23;
var value24;
var value25;
var value26;
var moduleValue2;
var items2;
var value27;
var Object;
var keys;
var value28;
var sort;
var value29;
var moduleValue3;
var value30;
var length;
var join;
var value31;
var String;
var value32;
var replace;
var value33;
var value34;
var property;
var value35;
var property2;
var value36;
var value37;
var value38;
var value39;
var value40;
var value41;
var value42;
var value43;
var set;
var value44;
var pushToArrayBinding;
var stringify_6589_2Binding;
var value45;
var value46;
var encoder;
let value = a0;
const value2 = a1;
const value3 = a8;
const value4 = a9;
const value5 = a15;
const env0_0 = a12;
const value7 = a17.get(env0_9);
const value8 = 0;
const value9 = undefined;
if (value9 === value7) {
r27 = value8;
} else {
r8 = value7;
r9 = value8;
r12 = false;
reducibleLoop1: while (true) {
get = r8.get;
value11 = Reflect.apply(get, r8, [value]);
value12 = r9 + 1;
if (value9 !== value11) {
value13 = true;
reducibleJoin3: while (true) {
if (value11 === value12) {
throw new global.RangeError('Cyclic object value');
}
r12 = value13;
break reducibleJoin3;
}
}
get = r8.get;
r14 = value9 !== Reflect.apply(get, r8, [env0_9]) ? value12 : value8;
get = r8.get;
value14 = Reflect.apply(get, r8, [env0_9]);
if (value9 === value14) {
r27 = r14;
break reducibleLoop1;
}
if (r12) {
r27 = r14;
break reducibleLoop1;
}
r8 = value14;
r9 = r14;
continue reducibleLoop1;
}
}
if (typeof value4 === 'function') {
r12 = value4(value2, value);
} else if (value instanceof global.Date) {
r12 = a12(value);
} else {
value15 = a2 === 'comma';
reducibleJoin10: while (true) {
if (value15) {
isArray2 = isArray(value);
r8 = isArray2;
break reducibleJoin10;
}
r8 = value15;
break reducibleJoin10;
}
reducibleJoin14: while (true) {
if (r8) {
moduleValue = require(dependencyMap[value8]);
maybeMap = moduleValue.maybeMap;
value16 = Reflect.apply(maybeMap, moduleValue, [value, _fun6590]);
r12 = value16;
break reducibleJoin14;
}
r12 = value;
break reducibleJoin14;
}
}
const value19 = null;
if (value19 === r12) {
reducibleJoin16: while (true) {
if (a5) {
reducibleJoin86: while (true) {
if (value3) {
if (value5) {
r0 = value2;
break reducibleJoin86;
}
encoder = env0_8.encoder;
value = value3(value2, encoder, a16, 'key', a13);
r0 = value;
break reducibleJoin86;
}
r0 = value2;
break reducibleJoin86;
}
return r0;
}
r12 = '';
break reducibleJoin16;
}
}
const value21 = typeof r12;
const value22 = value21 === 'string';
reducibleJoin18: while (true) {
if (value22) {
r0 = value22;
break reducibleJoin18;
}
value23 = value21 === 'number';
r0 = value23;
break reducibleJoin18;
}
reducibleJoin20: while (true) {
if (r0) {
break reducibleJoin20;
}
value24 = value21 === 'boolean';
r0 = value24;
break reducibleJoin20;
}
reducibleJoin22: while (true) {
if (r0) {
break reducibleJoin22;
}
value25 = value21 === 'symbol';
r0 = value25;
break reducibleJoin22;
}
reducibleJoin24: while (true) {
if (r0) {
break reducibleJoin24;
}
value26 = value21 === 'bigint';
r0 = value26;
break reducibleJoin24;
}
if (!r0) {
moduleValue2 = require(dependencyMap[value8]);
reducibleJoin77: while (true) {
if (!moduleValue2.isBuffer(r12)) {
items2 = [];
if (value9 === r12) {
return items2;
}
value27 = a2 === 'comma';
reducibleJoin40: while (true) {
reducibleJoin29: while (true) {
if (value27) {
if (isArray(r12)) {
r8 = value5 && value3;
reducibleJoin36: while (true) {
if (r8) {
moduleValue3 = require(dependencyMap[value8]);
maybeMap = moduleValue3.maybeMap;
value30 = Reflect.apply(maybeMap, moduleValue3, [r12, value3]);
r9 = value30;
break reducibleJoin36;
}
r9 = r12;
break reducibleJoin36;
}
length = r9.length;
reducibleJoin39: while (true) {
if (length > value8) {
join = r9.join;
value31 = Reflect.apply(join, r9, [',']);
r14 = value31 || value19;
r8 = r14;
break reducibleJoin39;
}
r8 = value9;
break reducibleJoin39;
}
r22 = [{value: r8}];
r23 = r9;
break reducibleJoin40;
}
break reducibleJoin29;
}
break reducibleJoin29;
}
if (isArray(value4)) {
r22 = value4;
r23 = r12;
break reducibleJoin40;
}
Object = global.Object;
keys = Object.keys;
value28 = Reflect.apply(keys, Object, [r12]);
reducibleJoin32: while (true) {
if (a10) {
sort = value28.sort;
value29 = Reflect.apply(sort, value28, [a10]);
r8 = value29;
break reducibleJoin32;
}
r8 = value28;
break reducibleJoin32;
}
r22 = r8;
r23 = r12;
break reducibleJoin40;
}
String = global.String;
value32 = String(value2);
reducibleJoin42: while (true) {
if (a7) {
replace = value32.replace;
value33 = Reflect.apply(replace, value32, [RegExp('\\.', 'g'), '%2E']);
r11 = value33;
break reducibleJoin42;
}
r11 = value32;
break reducibleJoin42;
}
reducibleJoin46: while (true) {
if (a3) {
if (isArray(r23)) {
length = r23.length;
if (length !== 1) {
r9 = r11;
break reducibleJoin46;
}
value34 = r11 + '[]';
r9 = value34;
break reducibleJoin46;
}
r9 = r11;
break reducibleJoin46;
}
r9 = r11;
break reducibleJoin46;
}
if (a4) {
reducibleJoin49: while (true) {
if (isArray(r23)) {
length = r23.length;
if (value8 === length) {
return r9 + '[]';
}
break reducibleJoin49;
}
break reducibleJoin49;
}
}
length = r22.length;
if (value8 < length) {
r28 = value8;
reducibleLoop50: while (true) {
property = r22[r28];
reducibleJoin55: while (true) {
reducibleJoin53: while (true) {
if (typeof property !== 'object') {
break reducibleJoin53;
}
if (property) {
value35 = property.value;
if (value9 !== value35) {
value36 = property.value;
r46 = value36;
break reducibleJoin55;
}
break reducibleJoin53;
}
break reducibleJoin53;
}
property2 = r23[property];
r46 = property2;
break reducibleJoin55;
}
reducibleJoin73: while (true) {
reducibleJoin61: while (true) {
if (a6) {
if (value19 === r46) {
break reducibleJoin73;
}
if (a11) {
if (a7) {
value38 = global.String(property);
replace = value38.replace;
value39 = Reflect.apply(replace, value38, [RegExp('\\.', 'g'), '%2E']);
r41 = value39;
break reducibleJoin61;
}
}
r41 = global.String(property);
break reducibleJoin61;
}
if (a11) {
if (a7) {
value38 = global.String(property);
replace = value38.replace;
value39 = Reflect.apply(replace, value38, [RegExp('\\.', 'g'), '%2E']);
r41 = value39;
break reducibleJoin61;
}
}
String = global.String;
value37 = String(property);
r41 = value37;
break reducibleJoin61;
}
if (isArray(r23)) {
reducibleJoin68: while (true) {
if (typeof a2 !== 'function') {
r8 = r9;
break reducibleJoin68;
}
value43 = a2(r9, r41);
r8 = value43;
break reducibleJoin68;
}
r45 = r8;
} else {
if (a11) {
value41 = '.' + r41;
r8 = value41;
} else {
value40 = '[' + r41 + ']';
r8 = value40;
}
value42 = r9 + r8;
r45 = value42;
}
set = a17.set;
Reflect.apply(set, a17, [value, r27]);
value44 = (require(515) /* metro dependency 515 */)();
set = value44.set;
Reflect.apply(set, value44, [env0_9, a17]);
pushToArrayBinding = pushToArray;
stringify_6589_2Binding = stringify_6589_2;
reducibleJoin72: while (true) {
if (value27) {
if (value5) {
if (isArray(r23)) {
r42 = value19;
break reducibleJoin72;
}
r42 = value3;
break reducibleJoin72;
}
r42 = value3;
break reducibleJoin72;
}
r42 = value3;
break reducibleJoin72;
}
value45 = stringify_6589_2Binding(r46, r45, a2, a3, a4, a5, a6, a7, r42, value4, a10, a11,
a12,
a13,
a14,
value5,
a16, value44);
pushToArrayBinding(items2, value45);
break reducibleJoin73;
}
value46 = typeof r28 === 'bigint' ? r28 + 1n : +r28 + 1;
length = r22.length;
if (value46 < length) {
r28 = value46;
continue reducibleLoop50;
}
break reducibleLoop50;
}
}
return items2;
}
break reducibleJoin77;
}
}
if (value3) {
reducibleJoin81: while (true) {
if (value5) {
r8 = value2;
break reducibleJoin81;
}
encoder = env0_8.encoder;
value = value3(value2, encoder, a16, 'key', a13);
r8 = value;
break reducibleJoin81;
}
value = a14(r8);
value += '=';
encoder = env0_8.encoder;
value += a14(value3(r12, encoder, a16, 'value', a13));
r0 = [value];
} else {
value = a14(value2);
value += '=';
value += a14(global.String(r12));
r0 = [value];
}
return r0;
}
function exports_6591(a0, a1) { // fn#6591, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:564:2138, offset: 0x00d013bd, size: 1724 bytes, params: 3, frame: 54
var charset;
var r9;
var r0;
var filter;
var r13;
var r14;
var addQueryPrefix;
var charsetSentinel;
var delimiter;
var encode;
var encodeDotInKeys;
var encoder;
var encodeValuesOnly;
var serializeDate;
var skipNulls;
var sort;
var strictNullHandling;
var r3;
var r11;
var r7;
var r12;
var r1;
var r6;
var binding;
var allowEmptyArrays;
var value3;
var value4;
var charset2;
var charset3;
var charset4;
var value5;
var property;
var format;
var hasOwnPropertyBinding;
var call;
const formatters = (require(511) /* metro dependency 511 */).formatters;
var filter2;
var value6;
var isArrayBinding;
var filter3;
var isArray2;
var arrayFormat;
var value7;
var indices;
var value8;
var commaRoundTrip;
var allowDots;
var value9;
var value10;
var object;
var value11;
var value14;
var value15;
var value16;
var Object;
var keys;
var value17;
var sort2;
var value18;
var length;
var value19;
var property2;
var property3;
var value20;
var pushToArrayBinding;
var stringify_6589Binding;
var formatter;
var value21;
var value22;
var join;
var value23;
var value24;
var value25;
var value26;
let value = a0;
if (a1) {
allowEmptyArrays = a1.allowEmptyArrays;
reducibleJoin72: while (true) {
reducibleJoin22: while (true) {
if (allowEmptyArrays === undefined) {
if (a1.encodeDotInKeys !== undefined) {
reducibleJoin6: while (true) {
if (typeof a1.encodeDotInKeys !== 'boolean') {
throw new global.TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided');
}
break reducibleJoin6;
}
}
encoder = a1.encoder;
if (encoder !== null) {
encoder = a1.encoder;
reducibleJoin9: while (true) {
if (encoder === undefined) {
break reducibleJoin9;
}
encoder = a1.encoder;
if (typeof encoder !== 'function') {
throw new global.TypeError('Encoder has to be a function.');
}
break reducibleJoin9;
}
}
charset = a1.charset;
reducibleJoin11: while (true) {
if (charset) {
break reducibleJoin11;
}
value4 = environment;
charset = env0_8.charset;
break reducibleJoin11;
}
if (a1.charset !== undefined) {
charset3 = a1.charset;
reducibleJoin14: while (true) {
if (charset3 === 'utf-8') {
break reducibleJoin14;
}
charset4 = a1.charset;
if (charset4 !== 'iso-8859-1') {
throw new global.TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
}
break reducibleJoin14;
}
}
value5 = environment;
property = (require(511) /* metro dependency 511 */).default;
format = a1.format;
if (format === undefined) {
r9 = property;
} else {
hasOwnPropertyBinding = hasOwnProperty;
call = hasOwnPropertyBinding.call;
format = a1.format;
if (!Reflect.apply(call, hasOwnPropertyBinding, [formatters, format])) {
throw new global.TypeError('Unknown format option provided.');
}
format = a1.format;
r9 = format;
}
property = formatters[r9];
filter = env0_8.filter;
value6 = typeof a1.filter === 'function';
reducibleJoin20: while (true) {
if (value6) {
r0 = value6;
break reducibleJoin20;
}
isArrayBinding = isArray;
filter3 = a1.filter;
isArray2 = isArrayBinding(filter3);
r0 = isArray2;
break reducibleJoin20;
}
if (r0) {
filter = a1.filter;
break reducibleJoin22;
}
break reducibleJoin22;
}
allowEmptyArrays = a1.allowEmptyArrays;
if (typeof allowEmptyArrays !== 'boolean') {
throw new global.TypeError('`allowEmptyArrays` option can only be `true` or `false`, when provided');
}
encodeDotInKeys = a1.encodeDotInKeys;
if (encodeDotInKeys !== undefined) {
encodeDotInKeys = a1.encodeDotInKeys;
reducibleJoin6: while (true) {
if (typeof encodeDotInKeys !== 'boolean') {
throw new global.TypeError('`encodeDotInKeys` option can only be `true` or `false`, when provided');
}
break reducibleJoin6;
}
}
encoder = a1.encoder;
value3 = null;
if (value3 !== encoder) {
encoder = a1.encoder;
reducibleJoin9: while (true) {
if (encoder === undefined) {
break reducibleJoin9;
}
encoder = a1.encoder;
if (typeof encoder !== 'function') {
throw new global.TypeError('Encoder has to be a function.');
}
break reducibleJoin9;
}
}
charset = a1.charset;
reducibleJoin11: while (true) {
if (charset) {
break reducibleJoin11;
}
value4 = environment;
charset = env0_8.charset;
break reducibleJoin11;
}
charset2 = a1.charset;
if (charset2 !== undefined) {
charset3 = a1.charset;
reducibleJoin14: while (true) {
if (charset3 === 'utf-8') {
break reducibleJoin14;
}
charset4 = a1.charset;
if (charset4 !== 'iso-8859-1') {
throw new global.TypeError('The charset option must be either utf-8, iso-8859-1, or undefined');
}
break reducibleJoin14;
}
}
value5 = environment;
property = (require(511) /* metro dependency 511 */).default;
format = a1.format;
if (format === undefined) {
r9 = property;
} else {
hasOwnPropertyBinding = hasOwnProperty;
call = hasOwnPropertyBinding.call;
format = a1.format;
if (!Reflect.apply(call, hasOwnPropertyBinding, [formatters, format])) {
throw new global.TypeError('Unknown format option provided.');
}
format = a1.format;
r9 = format;
}
property = formatters[r9];
filter = env0_8.filter;
filter2 = a1.filter;
value6 = typeof filter2 === 'function';
reducibleJoin20: while (true) {
if (value6) {
r0 = value6;
break reducibleJoin20;
}
isArrayBinding = isArray;
filter3 = a1.filter;
isArray2 = isArrayBinding(filter3);
r0 = isArray2;
break reducibleJoin20;
}
if (r0) {
filter = a1.filter;
break reducibleJoin22;
}
break reducibleJoin22;
}
arrayFormat = a1.arrayFormat;
if (arrayFormat in env0_3) {
arrayFormat = a1.arrayFormat;
r13 = arrayFormat;
} else {
value7 = 'indices';
if (value7 in a1) {
indices = a1.indices;
value8 = 'repeat';
r0 = indices ? value7 : value8;
r13 = r0;
} else {
arrayFormat = env0_8.arrayFormat;
r13 = arrayFormat;
}
}
if ('commaRoundTrip' in a1) {
reducibleJoin31: while (true) {
if (typeof a1.commaRoundTrip !== 'boolean') {
throw new global.TypeError('`commaRoundTrip` must be a boolean, or absent');
}
break reducibleJoin31;
}
}
allowDots = a1.allowDots;
if (allowDots === undefined) {
value10 = a1.encodeDotInKeys === true;
reducibleJoin35: while (true) {
if (value10) {
r0 = value10;
break reducibleJoin35;
}
allowDots = env0_8.allowDots;
r0 = allowDots;
break reducibleJoin35;
}
r14 = r0;
} else {
allowDots = a1.allowDots;
value9 = !!allowDots;
r14 = value9;
}
object = {};
addQueryPrefix = a1.addQueryPrefix;
addQueryPrefix = typeof addQueryPrefix === 'boolean' ? a1.addQueryPrefix : env0_8.addQueryPrefix;
object.addQueryPrefix = addQueryPrefix;
object.allowDots = r14;
allowEmptyArrays = a1.allowEmptyArrays;
if (typeof allowEmptyArrays === 'boolean') {
allowEmptyArrays = a1.allowEmptyArrays;
value11 = !!allowEmptyArrays;
r14 = value11;
} else {
allowEmptyArrays = env0_8.allowEmptyArrays;
r14 = allowEmptyArrays;
}
object.allowEmptyArrays = r14;
object.arrayFormat = r13;
object.charset = charset;
charsetSentinel = a1.charsetSentinel;
charsetSentinel = typeof charsetSentinel === 'boolean' ? a1.charsetSentinel : env0_8.charsetSentinel;
object.charsetSentinel = charsetSentinel;
commaRoundTrip = a1.commaRoundTrip;
object.commaRoundTrip = !!commaRoundTrip;
delimiter = a1.delimiter;
delimiter = delimiter === undefined ? env0_8.delimiter : a1.delimiter;
object.delimiter = delimiter;
encode = a1.encode;
encode = typeof encode === 'boolean' ? a1.encode : env0_8.encode;
object.encode = encode;
encodeDotInKeys = a1.encodeDotInKeys;
encodeDotInKeys = typeof encodeDotInKeys === 'boolean' ? a1.encodeDotInKeys : env0_8.encodeDotInKeys;
object.encodeDotInKeys = encodeDotInKeys;
encoder = a1.encoder;
encoder = typeof encoder === 'function' ? a1.encoder : env0_8.encoder;
object.encoder = encoder;
encodeValuesOnly = a1.encodeValuesOnly;
encodeValuesOnly = typeof encodeValuesOnly === 'boolean' ? a1.encodeValuesOnly : env0_8.encodeValuesOnly;
object.encodeValuesOnly = encodeValuesOnly;
object.filter = filter;
object.format = r9;
object.formatter = property;
serializeDate = a1.serializeDate;
serializeDate = typeof serializeDate === 'function' ? a1.serializeDate : env0_8.serializeDate;
object.serializeDate = serializeDate;
skipNulls = a1.skipNulls;
skipNulls = typeof skipNulls === 'boolean' ? a1.skipNulls : env0_8.skipNulls;
object.skipNulls = skipNulls;
sort = a1.sort;
reducibleJoin68: while (true) {
if (typeof sort !== 'function') {
sort = value3;
break reducibleJoin68;
}
sort = a1.sort;
break reducibleJoin68;
}
object.sort = sort;
strictNullHandling = a1.strictNullHandling;
strictNullHandling = typeof strictNullHandling === 'boolean' ? a1.strictNullHandling : env0_8.strictNullHandling;
object.strictNullHandling = strictNullHandling;
r3 = object;
break reducibleJoin72;
}
} else {
binding = env0_8;
r3 = binding;
}
filter = r3.filter;
if (typeof filter === 'function') {
filter = r3.filter;
value14 = undefined;
value = filter('', value);
r11 = value;
filter = value14;
} else {
isArrayBinding = isArray;
filter = r3.filter;
reducibleJoin76: while (true) {
if (isArrayBinding(filter)) {
filter = r3.filter;
r11 = value;
break reducibleJoin76;
}
r11 = value;
filter = undefined;
break reducibleJoin76;
}
}
object = [];
if (typeof r11 === 'object') {
value = null;
reducibleJoin102: while (true) {
if (value !== r11) {
value15 = environment;
binding = env0_3;
arrayFormat = r3.arrayFormat;
property = binding[arrayFormat];
value16 = property === 'comma';
reducibleJoin80: while (true) {
if (value16) {
commaRoundTrip = r3.commaRoundTrip;
r7 = commaRoundTrip;
break reducibleJoin80;
}
r7 = value16;
break reducibleJoin80;
}
reducibleJoin82: while (true) {
if (filter) {
r12 = filter;
break reducibleJoin82;
}
Object = global.Object;
keys = Object.keys;
value17 = Reflect.apply(keys, Object, [r11]);
r12 = value17;
break reducibleJoin82;
}
sort = r3.sort;
reducibleJoin84: while (true) {
if (sort) {
sort = r12.sort;
sort2 = r3.sort;
Reflect.apply(sort, r12, [sort2]);
break reducibleJoin84;
}
break reducibleJoin84;
}
value18 = (require(515) /* metro dependency 515 */)();
length = r12.length;
value19 = 0;
if (value19 < length) {
r1 = value19;
reducibleLoop85: while (true) {
property2 = r12[r1];
property3 = r11[property2];
skipNulls = r3.skipNulls;
reducibleJoin87: while (true) {
if (skipNulls) {
value20 = value === property3;
r0 = value20;
break reducibleJoin87;
}
r0 = skipNulls;
break reducibleJoin87;
}
reducibleJoin91: while (true) {
if (r0) {
break reducibleJoin91;
}
pushToArrayBinding = pushToArray;
stringify_6589Binding = stringify_6589;
allowEmptyArrays = r3.allowEmptyArrays;
strictNullHandling = r3.strictNullHandling;
skipNulls = r3.skipNulls;
encodeDotInKeys = r3.encodeDotInKeys;
encode = r3.encode;
reducibleJoin90: while (true) {
if (encode) {
encoder = r3.encoder;
break reducibleJoin90;
}
encoder = value;
break reducibleJoin90;
}
filter = r3.filter;
sort = r3.sort;
allowDots = r3.allowDots;
serializeDate = r3.serializeDate;
format = r3.format;
formatter = r3.formatter;
encodeValuesOnly = r3.encodeValuesOnly;
charset = r3.charset;
value21 = stringify_6589Binding(property3, property2, property, r7, allowEmptyArrays,
strictNullHandling,
skipNulls,
encodeDotInKeys, encoder, filter, sort, allowDots, serializeDate, format, formatter,
encodeValuesOnly,
charset,
value18);
pushToArrayBinding(object, value21);
break reducibleJoin91;
}
value22 = typeof r1 === 'bigint' ? r1 + 1n : +r1 + 1;
length = r12.length;
if (value22 < length) {
r1 = value22;
continue reducibleLoop85;
}
break reducibleLoop85;
}
}
join = object.join;
delimiter = r3.delimiter;
value = Reflect.apply(join, object, [delimiter]);
addQueryPrefix = r3.addQueryPrefix;
value23 = '';
reducibleJoin94: while (true) {
if (addQueryPrefix !== true) {
r6 = value23;
break reducibleJoin94;
}
value24 = '?';
r6 = value24;
break reducibleJoin94;
}
charsetSentinel = r3.charsetSentinel;
reducibleJoin99: while (true) {
if (charsetSentinel) {
charset = r3.charset;
if (charset === 'iso-8859-1') {
value26 = r6 + 'utf8=%26%2310003%3B&';
r3 = value26;
} else {
value25 = r6 + 'utf8=%E2%9C%93&';
r3 = value25;
}
r1 = r3;
break reducibleJoin99;
}
r1 = r6;
break reducibleJoin99;
}
length = value.length;
reducibleJoin101: while (true) {
if (length > value19) {
value = r1 + value;
r0 = value;
break reducibleJoin101;
}
r0 = value23;
break reducibleJoin101;
}
return r0;
}
break reducibleJoin102;
}
}
return '';
}
function _fun6590(a0) { // fn#6590, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:564:1087, offset: 0x00d01398, size: 37 bytes, params: 2, frame: 12
var r0;
let value = a0;
const Date = global.Date;
if (value instanceof Date) {
value = env0_0(value);
r0 = value;
} else {
r0 = value;
}
return r0;
}