Files
discord-decomp/sources/by-id/module-05296.js
T
2026-07-28 01:06:53 +03:00

27 lines
1.4 KiB
JavaScript

/* Metro module 5296; source: unknown; dependencies: [31] */
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
function _fun46997(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#46997, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5474:6, offset: 0x011b56db, size: 124 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
global.__react_navigation__elements_contexts = global.__react_navigation__elements_contexts ?? new global.Map();
exports.default = getNamedContext;
function getNamedContext(a0, a1) { // fn#46998, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:5474:194, offset: 0x011b5757, size: 79 bytes, params: 3, frame: 15
var r0;
var context;
const value2 = env0_0.__react_navigation__elements_contexts.get(a0);
if (value2) {
r0 = value2;
} else {
context = ReactModule.createContext(a1);
context.displayName = a0;
env0_0.__react_navigation__elements_contexts.set(a0, context);
r0 = context;
}
return r0;
}
}
global.__d(_fun46997, 5296, [31]) /* metro module 5296, dependencies: [31] */;