630 lines
22 KiB
React
630 lines
22 KiB
React
/* Metro module 1393; source: unknown; dependencies: [1394, 1396, 1397] */
|
|
function _fun16308(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#16308, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:6, offset: 0x00e4c717, size: 706 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const naiveLength = function() {
|
|
return 1;
|
|
};
|
|
const closure = exports_16311;
|
|
const forEachStep = function(a0, a1, a2, a3) {
|
|
var r1;
|
|
var value = a2.value;
|
|
var isStaleBinding = isStale;
|
|
var value3 = undefined;
|
|
if (isStaleBinding(a0, value)) {
|
|
del_16316(a0, a2);
|
|
r1 = priv(a0, 'allowStale') ? value : value3;
|
|
} else {
|
|
r1 = value;
|
|
}
|
|
if (r1) {
|
|
a1.call(a3, r1.value, r1.key, a0);
|
|
}
|
|
return value3;
|
|
};
|
|
const trim_16315 = function(a0) {
|
|
var r2;
|
|
var property;
|
|
var value4;
|
|
if (priv(a0, 'length') > privBinding(a0, 'max')) {
|
|
property = priv(a0, 'lruList').tail;
|
|
if (privBinding(a0, 'length') > privBinding(a0, 'max')) {
|
|
if (property !== null) {
|
|
r2 = property;
|
|
while (true) {
|
|
property = r2.prev;
|
|
del_16316(a0, r2);
|
|
privBinding = priv;
|
|
value4 = privBinding(a0, 'length');
|
|
if (!(value4 > privBinding(a0, 'max'))) {
|
|
break;
|
|
}
|
|
if (property !== null) {
|
|
r2 = property;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
const Entry = function(a0, a1, a2, a3, a4) {
|
|
var value = a4;
|
|
this.key = a0;
|
|
this.value = a1;
|
|
this.length = a2;
|
|
this.now = a3;
|
|
this.maxAge = value || 0;
|
|
};
|
|
module.exports = closure;
|
|
const env0_3 = {};
|
|
let Symbol = global.Symbol;
|
|
const env0_2 = typeof Symbol === 'function' ? function(a0) {
|
|
var Symbol = global.Symbol;
|
|
return Symbol.for(a0);
|
|
} : makeSymbol_16319;
|
|
let Object = global.Object;
|
|
Object.defineProperty(closure.prototype, 'max', {set: set_16320, get: function() {
|
|
return priv(this, 'max');
|
|
}, enumerable: true});
|
|
Object = global.Object;
|
|
Object.defineProperty(closure.prototype, 'allowStale', {set: function(a0) {
|
|
priv(this, 'allowStale', !!a0);
|
|
}, get: function() {
|
|
return priv(this, 'allowStale');
|
|
}, enumerable: true});
|
|
Object = global.Object;
|
|
Object.defineProperty(closure.prototype, 'maxAge', {set: set_16324, get: function() {
|
|
return priv(this, 'maxAge');
|
|
}, enumerable: true});
|
|
Object = global.Object;
|
|
Object.defineProperty(closure.prototype, 'lengthCalculator', {set: set_16326, get: function() {
|
|
return priv(this, 'lengthCalculator');
|
|
}, enumerable: true});
|
|
Object = global.Object;
|
|
Object.defineProperty(closure.prototype, 'length', {get: function() {
|
|
return priv(this, 'length');
|
|
}, enumerable: true});
|
|
Object = global.Object;
|
|
Object.defineProperty(closure.prototype, 'itemCount', {get: function() {
|
|
return priv(this, 'lruList').length;
|
|
}, enumerable: true});
|
|
closure.prototype.rforEach = rforEach;
|
|
closure.prototype.forEach = forEach_16332;
|
|
closure.prototype.keys = keys_16333;
|
|
closure.prototype.values = values;
|
|
closure.prototype.reset = reset_16337;
|
|
closure.prototype.dump = dump;
|
|
closure.prototype.dumpLru = function() {
|
|
return priv(this, 'lruList');
|
|
};
|
|
closure.prototype.inspect = inspect_16343;
|
|
closure.prototype.set = set_16345;
|
|
closure.prototype.has = has_16346;
|
|
closure.prototype.get = function(a0) {
|
|
return get_16313(this, a0, true);
|
|
};
|
|
closure.prototype.peek = function(a0) {
|
|
return get_16313(this, a0, false);
|
|
};
|
|
closure.prototype.pop = function() {
|
|
var r0;
|
|
var property = priv(this, 'lruList').tail;
|
|
if (property) {
|
|
del_16316(this, property);
|
|
property = property.value;
|
|
r0 = property;
|
|
} else {
|
|
r0 = null;
|
|
}
|
|
return r0;
|
|
};
|
|
closure.prototype.del = del_16350;
|
|
closure.prototype.load = load;
|
|
closure.prototype.prune = prune;
|
|
}
|
|
|
|
function priv(a0, a1, a2) { // fn#16309, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:88, offset: 0x00e4c9d9, size: 76 bytes, params: 4, frame: 15
|
|
var r1;
|
|
var r0;
|
|
var value3;
|
|
const value = a2;
|
|
if (env0_3[a1]) {
|
|
r1 = env0_3[a1];
|
|
} else {
|
|
value3 = env0_2(a1);
|
|
env0_3[a1] = value3;
|
|
r1 = value3;
|
|
}
|
|
if (arguments.length === 2) {
|
|
r0 = a0[r1];
|
|
} else {
|
|
a0[r1] = value;
|
|
r0 = value;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function exports_16311(a0) { // fn#16311, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:219, offset: 0x00e4ca25, size: 271 bytes, params: 2, frame: 19
|
|
var r1;
|
|
var r4;
|
|
var r5;
|
|
var stale;
|
|
var maxAge;
|
|
var privBinding;
|
|
let value = a0;
|
|
if (this instanceof exports_16311) {
|
|
r1 = typeof value !== 'number' ? value : {max: value};
|
|
r1 = !r1 ? {} : r1;
|
|
value = priv(this, 'max', r1.max);
|
|
r4 = value ? typeof value !== 'number' : !value;
|
|
r4 = !r4 ? value <= 0 : r4;
|
|
if (r4) {
|
|
priv(this, 'max', Infinity);
|
|
}
|
|
r5 = r1.length || naiveLength;
|
|
r5 = typeof r5 !== 'function' ? naiveLength : r5;
|
|
privBinding = priv;
|
|
privBinding(this, 'lengthCalculator', r5);
|
|
stale = r1.stale;
|
|
stale = !!stale && stale;
|
|
privBinding(this, 'allowStale', stale);
|
|
privBinding = priv;
|
|
maxAge = r1.maxAge;
|
|
maxAge = !maxAge ? 0 : maxAge;
|
|
privBinding(this, 'maxAge', maxAge);
|
|
priv(this, 'dispose', r1.dispose);
|
|
this.reset();
|
|
return undefined;
|
|
}
|
|
exports_16311Binding = exports_16311;
|
|
const value3 = Object.create(exports_16311Binding.prototype, {constructor: {value: exports_16311Binding}});
|
|
const exports_163112 = new exports_16311Binding(value);
|
|
return exports_163112 instanceof Object ? exports_163112 : value3;
|
|
}
|
|
|
|
function get_16313(a0, a1, a2) { // fn#16313, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:759, offset: 0x00e4cb9a, size: 146 bytes, params: 4, frame: 18
|
|
var r1;
|
|
var r0;
|
|
var value5;
|
|
const privBinding = priv;
|
|
const value2 = undefined;
|
|
const value4 = privBinding(a0, 'cache').get(a1);
|
|
if (value4) {
|
|
value5 = value4.value;
|
|
if (isStale(a0, value5)) {
|
|
del_16316(a0, value4);
|
|
r1 = priv(a0, 'allowStale') ? value5 : value2;
|
|
} else if (a2) {
|
|
priv(a0, 'lruList').unshiftNode(value4);
|
|
r1 = value5;
|
|
} else {
|
|
r1 = value5;
|
|
}
|
|
r0 = r1 && r1.value;
|
|
} else {
|
|
r0 = value2;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function isStale(a0, a1) { // fn#16314, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:945, offset: 0x00e4cc2c, size: 129 bytes, params: 3, frame: 17
|
|
var r0;
|
|
var value;
|
|
var value3;
|
|
if (a1) {
|
|
if (a1.maxAge) {
|
|
value = global.Date.now();
|
|
value -= a1.now;
|
|
if (a1.maxAge) {
|
|
value = value > a1.maxAge;
|
|
r0 = value;
|
|
} else {
|
|
value3 = priv(a0, 'maxAge');
|
|
if (value3) {
|
|
value = value > priv(a0, 'maxAge');
|
|
r0 = value;
|
|
} else {
|
|
r0 = value3;
|
|
}
|
|
}
|
|
return r0;
|
|
}
|
|
if (priv(a0, 'maxAge')) {
|
|
value = global.Date.now();
|
|
value -= a1.now;
|
|
if (a1.maxAge) {
|
|
value = value > a1.maxAge;
|
|
r0 = value;
|
|
} else {
|
|
value3 = priv(a0, 'maxAge');
|
|
if (value3) {
|
|
value = value > priv(a0, 'maxAge');
|
|
r0 = value;
|
|
} else {
|
|
r0 = value3;
|
|
}
|
|
}
|
|
return r0;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
function del_16316(a0, a1) { // fn#16316, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:1253, offset: 0x00e4cd2a, size: 155 bytes, params: 3, frame: 20
|
|
var value;
|
|
var privBinding;
|
|
var value3;
|
|
if (a1) {
|
|
value = a1.value;
|
|
if (priv(a0, 'dispose')) {
|
|
value3 = priv(a0, 'dispose');
|
|
value3.call(this, value.key, value.value);
|
|
}
|
|
privBinding = priv;
|
|
privBinding(a0, 'length', privBinding(a0, 'length') - value.length);
|
|
privBinding(a0, 'cache').delete(value.key);
|
|
value = privBinding(a0, 'lruList');
|
|
value.removeNode(a1);
|
|
}
|
|
}
|
|
|
|
function makeSymbol_16319(a0) { // fn#16319, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:1600, offset: 0x00e4ce15, size: 13 bytes, params: 2, frame: 2
|
|
return '_' + a0;
|
|
}
|
|
|
|
function set_16320(a0) { // fn#16320, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:1688, offset: 0x00e4ce22, size: 75 bytes, params: 2, frame: 16
|
|
const value = a0;
|
|
let r0 = value ? typeof value !== 'number' : !value;
|
|
r0 = !r0 ? value <= 0 : r0;
|
|
priv(this, 'max', r0 ? Infinity : value);
|
|
trim_16315(this);
|
|
}
|
|
|
|
function set_16324(a0) { // fn#16324, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:2061, offset: 0x00e4cec0, size: 67 bytes, params: 2, frame: 16
|
|
const value = a0;
|
|
let r0 = value ? typeof value !== 'number' : !value;
|
|
r0 = !r0 ? value < 0 : r0;
|
|
priv(this, 'maxAge', r0 ? 0 : value);
|
|
trim_16315(this);
|
|
}
|
|
|
|
function set_16326(a0) { // fn#16326, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:2276, offset: 0x00e4cf1a, size: 113 bytes, params: 2, frame: 16
|
|
const value = a0;
|
|
const r5 = typeof value === 'function' ? value : naiveLength;
|
|
let privBinding = priv;
|
|
if (r5 !== privBinding(this, 'lengthCalculator')) {
|
|
privBinding = priv;
|
|
privBinding(this, 'lengthCalculator', r5);
|
|
privBinding(this, 'length', 0);
|
|
privBinding(this, 'lruList').forEach(_fun16327, this);
|
|
}
|
|
trim_16315(this);
|
|
}
|
|
|
|
function rforEach(a0, a1) { // fn#16331, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:2936, offset: 0x00e4d02b, size: 84 bytes, params: 3, frame: 20
|
|
var r2;
|
|
var prev;
|
|
const value = a1;
|
|
const value2 = this;
|
|
const r5 = value || value2;
|
|
const tail = priv(value2, 'lruList').tail;
|
|
if (tail !== null) {
|
|
r2 = tail;
|
|
reducibleLoop2: while (true) {
|
|
prev = r2.prev;
|
|
forEachStep(value2, a0, r2, r5);
|
|
if (prev !== null) {
|
|
r2 = prev;
|
|
continue reducibleLoop2;
|
|
}
|
|
break reducibleLoop2;
|
|
}
|
|
}
|
|
}
|
|
|
|
function forEach_16332(a0, a1) { // fn#16332, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:3077, offset: 0x00e4d07f, size: 83 bytes, params: 3, frame: 20
|
|
var r2;
|
|
var next;
|
|
const value = a1;
|
|
const value2 = this;
|
|
const r5 = value || value2;
|
|
const head = priv(value2, 'lruList').head;
|
|
if (head !== null) {
|
|
r2 = head;
|
|
reducibleLoop2: while (true) {
|
|
next = r2.next;
|
|
forEachStep(value2, a0, r2, r5);
|
|
if (next !== null) {
|
|
r2 = next;
|
|
continue reducibleLoop2;
|
|
}
|
|
break reducibleLoop2;
|
|
}
|
|
}
|
|
}
|
|
|
|
function keys_16333() { // fn#16333, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:3215, offset: 0x00e4d0d2, size: 53 bytes, params: 1, frame: 13
|
|
let value = priv(this, 'lruList');
|
|
value = value.toArray();
|
|
return value.map(function(a0) {
|
|
return a0.key;
|
|
}, this);
|
|
}
|
|
|
|
function values() { // fn#16335, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:3329, offset: 0x00e4d111, size: 53 bytes, params: 1, frame: 13
|
|
let value = priv(this, 'lruList');
|
|
value = value.toArray();
|
|
return value.map(function(a0) {
|
|
return a0.value;
|
|
}, this);
|
|
}
|
|
|
|
function reset_16337() { // fn#16337, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:3444, offset: 0x00e4d146, size: 213 bytes, params: 1, frame: 18
|
|
if (priv(this, 'dispose') && priv(this, 'lruList') && priv(this, 'lruList').length) {
|
|
priv(this, 'lruList').forEach(_fun16338, this);
|
|
}
|
|
privBinding = priv;
|
|
let value = require(1394) /* metro dependency 1394 */;
|
|
value = new value();
|
|
privBinding(this, 'cache', value);
|
|
value = require(1396) /* metro dependency 1396 */;
|
|
value = new value();
|
|
privBinding(this, 'lruList', value);
|
|
privBinding(this, 'length', 0);
|
|
}
|
|
|
|
function dump() { // fn#16339, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:3737, offset: 0x00e4d24b, size: 68 bytes, params: 1, frame: 14
|
|
let value = priv(this, 'lruList');
|
|
value = value.map(_fun16340, this);
|
|
value = value.toArray();
|
|
return value.filter(function(a0) {
|
|
return a0;
|
|
});
|
|
}
|
|
|
|
function inspect_16343(a0, a1) { // fn#16343, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:4006, offset: 0x00e4d2ef, size: 524 bytes, params: 3, frame: 21
|
|
var r6;
|
|
var r2;
|
|
var binding;
|
|
var moduleValue3;
|
|
const env0_0 = a1;
|
|
let env0_1 = 'LRUCache {';
|
|
const value = false;
|
|
if (priv(this, 'allowStale')) {
|
|
env0_1 += '\n allowStale: true';
|
|
r6 = true;
|
|
} else {
|
|
r6 = value;
|
|
}
|
|
const value4 = priv(this, 'max');
|
|
if (value4 && value4 !== Infinity) {
|
|
if (r6) {
|
|
env0_1 += ',';
|
|
}
|
|
env0_1 = env0_1 + ('\n max: ' + (require(1397) /* metro dependency 1397 */).inspect(value4, a1));
|
|
r2 = true;
|
|
} else {
|
|
r2 = r6;
|
|
}
|
|
const value8 = priv(this, 'maxAge');
|
|
if (value8) {
|
|
if (r2) {
|
|
env0_1 += ',';
|
|
}
|
|
env0_1 = env0_1 + ('\n maxAge: ' + (require(1397) /* metro dependency 1397 */).inspect(value8, a1));
|
|
r6 = true;
|
|
} else {
|
|
r6 = r2;
|
|
}
|
|
const value11 = priv(this, 'lengthCalculator');
|
|
if (value11 && value11 !== naiveLength) {
|
|
if (r6) {
|
|
env0_1 += ',';
|
|
}
|
|
binding = env0_1;
|
|
moduleValue3 = require(1397) /* metro dependency 1397 */;
|
|
env0_1 = binding + ('\n length: ' + moduleValue3.inspect(priv(this, 'length'), a1));
|
|
r2 = true;
|
|
} else {
|
|
r2 = r6;
|
|
}
|
|
const env0_5 = value;
|
|
priv(this, 'lruList').forEach(_fun16344);
|
|
if (env0_5 || r2) {
|
|
env0_1 += '\n';
|
|
}
|
|
return env0_1 + '}';
|
|
}
|
|
|
|
function set_16345(a0, a1, a2) { // fn#16345, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:4800, offset: 0x00e4d638, size: 517 bytes, params: 4, frame: 26
|
|
var r1;
|
|
var value9;
|
|
var value10;
|
|
var value11;
|
|
var value12;
|
|
var value13;
|
|
var value14;
|
|
var del_16316Binding;
|
|
let value = a2;
|
|
const r8 = value || priv(this, 'maxAge');
|
|
const r9 = r8 ? global.Date.now() : 0;
|
|
let privBinding = priv;
|
|
const value3 = privBinding(this, 'lengthCalculator').call(this, a1, a0);
|
|
const value4 = privBinding(this, 'cache');
|
|
if (value4.has(a0)) {
|
|
if (value3 > priv(this, 'max')) {
|
|
del_16316Binding = del_16316;
|
|
value = priv(this, 'cache');
|
|
del_16316Binding(this, value.get(a0));
|
|
return false;
|
|
}
|
|
privBinding = priv;
|
|
value12 = privBinding(this, 'cache');
|
|
value13 = value12.get(a0).value;
|
|
if (privBinding(this, 'dispose')) {
|
|
value14 = priv(this, 'dispose');
|
|
value14.call(this, a0, value13.value);
|
|
}
|
|
value13.now = r9;
|
|
value13.maxAge = r8;
|
|
value13.value = a1;
|
|
privBinding = priv;
|
|
privBinding(this, 'length', privBinding(this, 'length') + (value3 - value13.length));
|
|
value13.length = value3;
|
|
this.get(a0);
|
|
trim_16315(this);
|
|
return true;
|
|
}
|
|
const entry = new Entry(a0, a1, value3);
|
|
const length = entry.length;
|
|
privBinding = priv;
|
|
if (length > privBinding(this, 'max')) {
|
|
value10 = priv(this, 'dispose');
|
|
value11 = false;
|
|
if (value10) {
|
|
priv(this, 'dispose').call(this, a0, a1);
|
|
r1 = value11;
|
|
} else {
|
|
r1 = value11;
|
|
}
|
|
} else {
|
|
privBinding = priv;
|
|
privBinding(this, 'length', privBinding(this, 'length') + entry.length);
|
|
privBinding(this, 'lruList').unshift(entry);
|
|
value9 = privBinding(this, 'cache');
|
|
value9.set(a0, privBinding(this, 'lruList').head);
|
|
trim_16315(this);
|
|
r1 = true;
|
|
}
|
|
return r1;
|
|
}
|
|
|
|
function has_16346(a0) { // fn#16346, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:5531, offset: 0x00e4d83d, size: 83 bytes, params: 2, frame: 16
|
|
var r0;
|
|
var isStaleBinding;
|
|
var value;
|
|
const value3 = priv(this, 'cache').has(a0);
|
|
if (value3) {
|
|
isStaleBinding = isStale;
|
|
value = priv(this, 'cache');
|
|
value = value.get(a0).value;
|
|
value = !isStaleBinding(this, value);
|
|
r0 = value;
|
|
} else {
|
|
r0 = !!value3;
|
|
}
|
|
return r0;
|
|
}
|
|
|
|
function del_16350(a0) { // fn#16350, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:5869, offset: 0x00e4d8f5, size: 46 bytes, params: 2, frame: 15
|
|
const del_16316Binding = del_16316;
|
|
const value = priv(this, 'cache');
|
|
const get = value.get;
|
|
del_16316Binding(this, Reflect.apply(get, value, [a0]));
|
|
}
|
|
|
|
function load(a0) { // fn#16351, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:5942, offset: 0x00e4d923, size: 146 bytes, params: 2, frame: 23
|
|
var r3;
|
|
var e;
|
|
var property;
|
|
var value4;
|
|
var set;
|
|
var k;
|
|
var v;
|
|
var value5;
|
|
this.reset();
|
|
const Date = global.Date;
|
|
const value = Date.now();
|
|
const value2 = a0.length - 1;
|
|
const value3 = 0;
|
|
if (value2 >= value3) {
|
|
r3 = value2;
|
|
while (true) {
|
|
property = a0[r3];
|
|
e = property.e;
|
|
e = !e ? value3 : e;
|
|
if (value3 === e) {
|
|
set = this.set;
|
|
k = property.k;
|
|
v = property.v;
|
|
Reflect.apply(set, this, [k, v]);
|
|
} else {
|
|
value4 = e - value;
|
|
if (!(value4 > value3)) {
|
|
continue;
|
|
}
|
|
set = this.set;
|
|
k = property.k;
|
|
v = property.v;
|
|
Reflect.apply(set, this, [k, v, value4]);
|
|
}
|
|
value5 = typeof r3 === 'bigint' ? r3 - 1n : +r3 - 1;
|
|
if (value5 >= value3) {
|
|
r3 = value5;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
function prune() { // fn#16352, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:6126, offset: 0x00e4d9b5, size: 44 bytes, params: 1, frame: 14
|
|
priv(this, 'cache').forEach(_fun16353);
|
|
}
|
|
|
|
function _fun16327(a0) { // fn#16327, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:2450, offset: 0x00e4cf8b, size: 82 bytes, params: 2, frame: 18
|
|
let value = environment.__proto__;
|
|
const privBinding = priv;
|
|
value = privBinding(this, 'lengthCalculator');
|
|
a0.length = value.call(this, a0.value, a0.key);
|
|
privBinding(this, 'length', privBinding(this, 'length') + a0.length);
|
|
}
|
|
|
|
function _fun16338({key, value}) { // fn#16338, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:3558, offset: 0x00e4d21b, size: 48 bytes, params: 2, frame: 16
|
|
let value = environment.__proto__;
|
|
value = priv(this, 'dispose');
|
|
value.call(this, key, value);
|
|
}
|
|
|
|
function _fun16340(a0) { // fn#16340, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:3781, offset: 0x00e4d28f, size: 71 bytes, params: 2, frame: 14
|
|
const value = environment.__proto__;
|
|
if (isStale(this, a0)) {
|
|
return undefined;
|
|
}
|
|
const now = a0.now;
|
|
let maxAge = a0.maxAge;
|
|
maxAge = !maxAge ? 0 : maxAge;
|
|
return {k: a0.key, v: a0.value, e: now + maxAge};
|
|
}
|
|
|
|
function _fun16344(a0) { // fn#16344, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:4457, offset: 0x00e4d4fb, size: 317 bytes, params: 2, frame: 20
|
|
if (env0_5) {
|
|
env0_1 += ',\n ';
|
|
} else {
|
|
if (env0_2) {
|
|
env0_1 += ',\n';
|
|
}
|
|
env0_1 += '\n ';
|
|
}
|
|
const moduleValue = require(1397) /* metro dependency 1397 */;
|
|
const value5 = moduleValue.inspect(a0.key).split('\n').join('\n ');
|
|
const object2 = {};
|
|
object2.value = a0.value;
|
|
if (a0.maxAge !== env0_3) {
|
|
object2.maxAge = a0.maxAge;
|
|
}
|
|
if (env0_4 !== naiveLength) {
|
|
object2.length = a0.length;
|
|
}
|
|
if (isStale(this, a0)) {
|
|
object2.stale = true;
|
|
}
|
|
env0_1 = env0_1 + (value5 + ' => ' + moduleValue.inspect(object2, require).split('\n').join('\n '));
|
|
}
|
|
|
|
function _fun16353(a0, a1) { // fn#16353, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1520:6176, offset: 0x00e4d9e1, size: 30 bytes, params: 3, frame: 15
|
|
get_16313(env0_0, a1, false);
|
|
}
|
|
|