19 lines
501 B
JavaScript
19 lines
501 B
JavaScript
// Metro module 6369 (f6370).
|
|
import { SDK_VERSION } from "./Module6370";
|
|
const globalThis2 = globalThis.globalThis;
|
|
export { globalThis2 as GLOBAL_OBJ };
|
|
export function getGlobalSingleton(a0, a1, a2) {
|
|
const r3 = a2 ? a2 : globalThis2;
|
|
const __SENTRY__ = r3.__SENTRY__ || {};
|
|
r3.__SENTRY__ = __SENTRY__;
|
|
const r12 = __SENTRY__[SDK_VERSION] || {};
|
|
__SENTRY__[SDK_VERSION] = r12;
|
|
let r14 = r12[a0];
|
|
if (!r14) {
|
|
const r16 = a1();
|
|
r12[a0] = r16;
|
|
r14 = r16;
|
|
}
|
|
return r14;
|
|
}
|