/* Metro module 7488; source: unknown; dependencies: [153, 6, 7] */ import * as ClassCallCheckModule from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */ import * as CreateClassModule from './module-00007-CreateClass.js'; /* Metro dependency 7 */ import * as Module00153Module from './module-00153.js'; /* Metro dependency 153 */ function _fun60387(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#60387, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7666:6, offset: 0x01702494, size: 105 bytes, params: 8, frame: 17 Module00153Module; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); exports.LRUMap = _fun60388(); function _fun60388() { // fn#60388, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7666:117, offset: 0x017024fd, size: 193 bytes, params: 1, frame: 15 return CreateClassModule(LRUMap_60389, [{key: 'size', get: function() { return this._cache.size; }}, {key: 'get', value: function(a0) { var _cache = this._cache; var value = _cache.get(a0); if (value !== undefined) { _cache = this._cache; _cache.delete(a0); _cache = this._cache; _cache.set(a0, value); return value; } }}, {key: 'set', value: function(a0, a1) { if (this._cache.size >= this._maxSize) { this._cache.delete(this._cache.keys().next().value); } this._cache.set(a0, a1); }}, {key: 'remove', value: function(a0) { var value = this._cache.get(a0); if (value) { this._cache.delete(a0); } return value; }}, {key: 'clear', value: function() { this._cache.clear(); }}, {key: 'keys', value: function() { var Array = global.Array; return Array.from(this._cache.keys()); }}, {key: 'values', value: function() { this._cache.forEach(_fun60397); return []; }}]); function LRUMap_60389(a0) { // fn#60389, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7666:151, offset: 0x00d8f47f, size: 70 bytes, params: 2, frame: 13 const value = environment.__proto__; env1_0(this, LRUMap_60389); this._maxSize = a0; const Map = global.Map; this._cache = new Map(); } function value_60396() { // fn#60396, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7666:802, offset: 0x0170261e, size: 36 bytes, params: 1, frame: 12 this._cache.forEach(_fun60397); return []; function _fun60397(a0) { // fn#60397, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7666:862, offset: 0x00c60fe4, size: 22 bytes, params: 2, frame: 11 return ClassCallCheckModule.push(a0); } } } } global.__d(_fun60387, 7488, [153, 6, 7]) /* metro module 7488, dependencies: [153, 6, 7] */;