93 lines
4.9 KiB
TypeScript
93 lines
4.9 KiB
TypeScript
/* Metro module 8359; source: lib/LimitedMap.tsx; dependencies: [6, 7, 15, 17, 102, 18, 162, 2] */
|
|
import ClassCallCheck from '../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
|
|
import CreateClass from '../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
|
|
import PossibleConstructorReturn from '../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
|
|
import Module00017 from '../by-id/module-00017.js'; /* Metro dependency 17 */
|
|
import Inherits from '../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
|
|
import Module00102 from '../by-id/module-00102.js'; /* Metro dependency 102 */
|
|
import Module00162 from '../by-id/module-00162.js'; /* Metro dependency 162 */
|
|
import * as FileImportTrackerModule from '../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
|
|
|
|
function _fun66575(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#66575, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8544:6, offset: 0x01c01092, size: 225 bytes, params: 8, frame: 19
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
let value = Module00162;
|
|
const Map = global.Map;
|
|
value = value(Map);
|
|
value = _fun66579(value);
|
|
(FileImportTrackerModule).fileFinishedImporting('lib/LimitedMap.tsx');
|
|
exports.default = value;
|
|
function _isNativeReflectConstruct_66576() { // fn#66576, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8544:159, offset: 0x01c01173, size: 98 bytes, params: 1, frame: 18
|
|
var Boolean;
|
|
var prototype;
|
|
var valueOf;
|
|
var call;
|
|
var Reflect;
|
|
var construct;
|
|
var closure;
|
|
var value;
|
|
var error;
|
|
try {
|
|
Boolean = global.Boolean;
|
|
prototype = Boolean.prototype;
|
|
valueOf = prototype.valueOf;
|
|
call = valueOf.call;
|
|
Reflect = global.Reflect;
|
|
construct = Reflect.construct;
|
|
Boolean = global.Boolean;
|
|
closure = function() {
|
|
};
|
|
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
|
value = Reflect.apply(call, valueOf, [value]);
|
|
var result = !value;
|
|
} catch (error) {
|
|
}
|
|
return (_isNativeReflectConstruct_66576_isNativeReflectConstruct = function() {
|
|
return !!result;
|
|
})();
|
|
}
|
|
|
|
function _fun66579(a0) { // fn#66579, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8544:358, offset: 0x01c011d5, size: 72 bytes, params: 2, frame: 15
|
|
const LimitedMap2 = LimitedMap;
|
|
Inherits(LimitedMap2, a0);
|
|
return CreateClass(LimitedMap2, [{key: 'set', value: value_66581}]);
|
|
function LimitedMap(a0) { // fn#66580, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8544:370, offset: 0x01c0121d, size: 117 bytes, params: 2, frame: 19
|
|
let value = environment.__proto__;
|
|
env1_0(this, LimitedMap);
|
|
const value3 = env1_3(LimitedMap);
|
|
value = env1_2(this, _isNativeReflectConstruct_66576() ? global.Reflect.construct(value3, [],
|
|
env1_3(this).constructor) : value3.apply(this, undefined));
|
|
value.maxSize = a0;
|
|
return value;
|
|
}
|
|
|
|
function value_66581(a0, a1) { // fn#66581, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8544:644, offset: 0x01c01292, size: 110 bytes, params: 3, frame: 17
|
|
var value;
|
|
if (this.size >= this.maxSize) {
|
|
value = this.keys();
|
|
value = value.next().value;
|
|
this.delete(value);
|
|
}
|
|
return value_66581_superPropGet(LimitedMap, 'set', this, 3)([a0, a1]);
|
|
function value_66581_superPropGet(a0, a1, a2, a3) { // fn#66582, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8544:728, owner: value_66581._superPropGet, offset: 0x01c01300, size: 102 bytes, params: 5, frame: 18
|
|
let value = a0;
|
|
const env0_0 = a2;
|
|
const binding = env2_4;
|
|
value = env2_3(1 & 3 ? value.prototype : value);
|
|
value = binding(value, 'set', a2);
|
|
return 2 & 3 ? typeof value !== 'function' ? value : _fun66583 : value;
|
|
function _fun66583(a0) { // fn#66583, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8544:827, offset: 0x00c62408, size: 27 bytes, params: 2, frame: 13
|
|
return CreateClass.apply(importDefault, a0);
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun66575, 8359, [6, 7, 15, 17, 102, 18, 162,
|
|
2]) /* metro module 8359, dependencies: [6, 7, 15, 17, 102, 18, 162, 2] */;
|