// Module ID: 12958 // Function ID: 12959 // Dependencies: [12953] // Exports: hasTracingEnabled // Module 12958 import _mod12953 from "module_12953" /* 12953 */; require = arg1; const dependencyMap = arg6; export const hasTracingEnabled = function hasTracingEnabled(tracesSampler) { if (typeof globalThis.__SENTRY_TRACING__ === "boolean") { if (!globalThis.__SENTRY_TRACING__) { return false; } } let tmp = tracesSampler; const client = _mod12953.getClient(); if (!tracesSampler) { let options = client; if (client) { options = client.getOptions(); } tmp = options; } let tmp3 = tmp; if (tmp3) { let enableTracing = tmp.enableTracing; if (!enableTracing) { enableTracing = "tracesSampleRate" in tmp; } if (!enableTracing) { enableTracing = "tracesSampler" in tmp; } tmp3 = enableTracing; } return tmp3; };