Files
discord-decomp/_bundle/Module825.js
T
2026-11-01 12:12:55 +02:00

35 lines
1.0 KiB
JavaScript

// Metro module 825 (f826).
import { GLOBAL_OBJ } from "./Module821";
import { SDK_VERSION } from "./Module826";
Object.defineProperty(exports, Symbol.toStringTag, {
value: "Module"
});
export function getGlobalSingleton(a0, a1, r3 = GLOBAL_OBJ) {
const __SENTRY__ = r3.__SENTRY__ || {};
r3.__SENTRY__ = __SENTRY__;
const r16 = __SENTRY__[SDK_VERSION] || {};
__SENTRY__[SDK_VERSION] = r16;
let r18 = r16[a0];
if (!r18) {
const r20 = a1();
r16[a0] = r20;
r18 = r20;
}
return r18;
}
export function getMainCarrier() {
const __SENTRY__ = GLOBAL_OBJ.__SENTRY__ || {};
GLOBAL_OBJ.__SENTRY__ = __SENTRY__;
__SENTRY__.version = __SENTRY__.version || SDK_VERSION;
__SENTRY__[SDK_VERSION] = __SENTRY__[SDK_VERSION] || {};
return GLOBAL_OBJ;
}
export function getSentryCarrier(a0) {
const __SENTRY__ = a0.__SENTRY__ || {};
a0.__SENTRY__ = __SENTRY__;
__SENTRY__.version = __SENTRY__.version || SDK_VERSION;
const r18 = __SENTRY__[SDK_VERSION] || {};
__SENTRY__[SDK_VERSION] = r18;
return r18;
}