decord/source/__polyfill/00xxx/module_690.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

51 lines
1.6 KiB
JavaScript

// Module ID: 690
// Function ID: 691
// Dependencies: [686, 691]
// Exports: getGlobalSingleton, getMainCarrier, getSentryCarrier
// Module 690
import _mod686 from "module_686" /* 686 */;
import SDK_VERSION2 from "SDK_VERSION" /* 691 */;
require = arg1;
const dependencyMap = arg6;
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
export const getGlobalSingleton = function getGlobalSingleton(arg0, fn) {
let GLOBAL_OBJ = arg2;
if (arg2 === undefined) {
GLOBAL_OBJ = _mod686.GLOBAL_OBJ;
}
const tmp3 = GLOBAL_OBJ.__SENTRY__ || {};
GLOBAL_OBJ.__SENTRY__ = tmp3;
const tmp4 = tmp3[SDK_VERSION2.SDK_VERSION] || {};
tmp3[SDK_VERSION2.SDK_VERSION] = tmp4;
let tmp5 = tmp4[arg0];
if (!tmp5) {
const tmp7 = fn();
tmp4[arg0] = tmp7;
tmp5 = tmp7;
}
return tmp5;
};
export const getMainCarrier = function getMainCarrier() {
const GLOBAL_OBJ = _mod686.GLOBAL_OBJ;
const tmp3 = GLOBAL_OBJ.__SENTRY__ || {};
GLOBAL_OBJ.__SENTRY__ = tmp3;
tmp3.version = tmp3.version || SDK_VERSION2.SDK_VERSION;
const tmp4 = tmp3.version || SDK_VERSION2.SDK_VERSION;
tmp3[SDK_VERSION2.SDK_VERSION] = tmp3[SDK_VERSION2.SDK_VERSION] || {};
return _mod686.GLOBAL_OBJ;
};
export const getSentryCarrier = function getSentryCarrier(__SENTRY__) {
const tmp = __SENTRY__.__SENTRY__ || {};
__SENTRY__.__SENTRY__ = tmp;
let SDK_VERSION = tmp.version;
if (!SDK_VERSION) {
SDK_VERSION = SDK_VERSION2.SDK_VERSION;
}
tmp.version = SDK_VERSION;
const tmp4 = tmp[SDK_VERSION2.SDK_VERSION] || {};
tmp[SDK_VERSION2.SDK_VERSION] = tmp4;
return tmp4;
};