35 lines
1.4 KiB
TypeScript
35 lines
1.4 KiB
TypeScript
/* Metro module 7216; source: utils/MemoizerUtils.tsx; dependencies: [2] */
|
|
function _fun57713(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#57713, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7394:6, offset: 0x016b42c1, size: 92 bytes, params: 8, frame: 16
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('utils/MemoizerUtils.tsx');
|
|
exports.default = {makeMemoizer: function(a0) {
|
|
var env0_0 = a0;
|
|
var Map = global.Map;
|
|
var env0_1 = new Map();
|
|
return _fun57715;
|
|
}};
|
|
}
|
|
|
|
function makeMemoizer(a0) { // fn#57714, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7394:112, offset: 0x016b431d, size: 48 bytes, params: 2, frame: 10
|
|
const env0_0 = a0;
|
|
const Map = global.Map;
|
|
const map = new Map();
|
|
return _fun57715;
|
|
}
|
|
|
|
function _fun57715(a0) { // fn#57715, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7394:158, offset: 0x016b434d, size: 55 bytes, params: 2, frame: 14
|
|
var r0;
|
|
var value3;
|
|
const value2 = env0_1.get(a0);
|
|
if (value2 !== undefined) {
|
|
r0 = value2;
|
|
} else {
|
|
value3 = env0_0(a0);
|
|
env0_1.set(a0, value3);
|
|
r0 = value3;
|
|
}
|
|
return r0;
|
|
}
|
|
|