decord/source/__polyfill/00xxx/module_720.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

34 lines
846 B
JavaScript

// Module ID: 720
// Function ID: 721
// Dependencies: [713]
// Exports: hasSpansEnabled
// Module 720
import _mod713 from "module_713" /* 713 */;
require = arg1;
const dependencyMap = arg6;
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
export const hasSpansEnabled = function hasSpansEnabled(options) {
if (typeof globalThis.__SENTRY_TRACING__ === "boolean") {
if (!globalThis.__SENTRY_TRACING__) {
return false;
}
}
let tmp = options;
if (!options) {
const client = _mod713.getClient();
options = undefined;
if (client != null) {
options = client.getOptions();
}
tmp = options;
}
let tmp6 = !tmp;
if (tmp) {
tmp6 = null == tmp.tracesSampleRate && !tmp.tracesSampler;
const tmp8 = null == tmp.tracesSampleRate && !tmp.tracesSampler;
}
return !tmp6;
};