34 lines
1.4 KiB
React
34 lines
1.4 KiB
React
/* Metro module 1046; source: unknown; dependencies: [1047] */
|
|
function _fun11082(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#11082, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1173:6, offset: 0x00da0833, size: 78 bytes, params: 8, frame: 17
|
|
let env0_0 = require;
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.whenActivated = function(a0) {
|
|
var env0_0 = a0;
|
|
var property = require(dependencyMap[0]).WINDOW.document;
|
|
if (property == null) {
|
|
a0();
|
|
} else if (property.prerendering) {
|
|
global.addEventListener('prerenderingchange', _fun11084, true);
|
|
} else {
|
|
a0();
|
|
}
|
|
};
|
|
}
|
|
|
|
function whenActivated(a0) { // fn#11083, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1173:107, offset: 0x00da0881, size: 96 bytes, params: 2, frame: 15
|
|
const env0_0 = a0;
|
|
const WINDOW = (require(1047) /* metro dependency 1047 */).WINDOW;
|
|
const document = WINDOW.document;
|
|
if (document == null) {
|
|
a0();
|
|
} else if (document.prerendering) {
|
|
global.addEventListener('prerenderingchange', _fun11084, true);
|
|
} else {
|
|
a0();
|
|
}
|
|
}
|
|
|