31 lines
811 B
JavaScript
31 lines
811 B
JavaScript
// Module ID: 674
|
|
// Function ID: 8280
|
|
// Name: getGlobalObject
|
|
// Dependencies: []
|
|
// Exports: getGlobalObject
|
|
|
|
// Module 674 (getGlobalObject)
|
|
const _module = require(dependencyMap[0]);
|
|
const result = _module.fileFinishedImporting("../discord_common/js/shared/utils/GlobalUtils.tsx");
|
|
|
|
export const getGlobalObject = function getGlobalObject() {
|
|
if ("undefined" !== typeof globalThis) {
|
|
let _self2 = globalThis;
|
|
} else {
|
|
const _window = window;
|
|
if ("undefined" !== typeof window) {
|
|
_self2 = window;
|
|
} else if (undefined !== global) {
|
|
_self2 = global;
|
|
} else {
|
|
const _self = self;
|
|
if ("undefined" !== typeof self) {
|
|
_self2 = self;
|
|
} else {
|
|
const _Object = Object;
|
|
_self2 = Object.create(null);
|
|
}
|
|
}
|
|
}
|
|
return _self2;
|
|
};
|