decord/source/__polyfill/12xxx/module_12928.js
github-actions a36fe4ec9c chore: update source for alpha 347.0
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-14 20:04:03 +00:00

29 lines
663 B
JavaScript

// Module ID: 12928
// Function ID: 12929
// Dependencies: [12929]
// Exports: getGlobalSingleton
// Module 12928
import _mod12929 from "module_12929" /* 12929 */;
require = arg1;
const dependencyMap = arg6;
export const GLOBAL_OBJ = globalThis;
export const getGlobalSingleton = function getGlobalSingleton(arg0, fn, arg2) {
let tmp = arg2;
if (!arg2) {
tmp = globalThis;
}
const tmp2 = tmp.__SENTRY__ || {};
tmp.__SENTRY__ = tmp2;
const tmp3 = tmp2[_mod12929.SDK_VERSION] || {};
tmp2[_mod12929.SDK_VERSION] = tmp3;
let tmp4 = tmp3[arg0];
if (!tmp4) {
const tmp6 = fn();
tmp3[arg0] = tmp6;
tmp4 = tmp6;
}
return tmp4;
};