41 lines
1.8 KiB
JavaScript
41 lines
1.8 KiB
JavaScript
/* Metro module 863; source: unknown; dependencies: [857] */
|
|
function _fun9295(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#9295, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:990:6, offset: 0x00d6291e, size: 78 bytes, params: 8, frame: 17
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
const defineProperty = Object.defineProperty;
|
|
const Symbol = global.Symbol;
|
|
Reflect.apply(defineProperty, Object, [exports, Symbol.toStringTag, {value: 'Module'}]);
|
|
exports.hasSpansEnabled = hasSpansEnabled;
|
|
function hasSpansEnabled(a0) { // fn#9296, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:990:109, offset: 0x00d6296c, size: 132 bytes, params: 2, frame: 12
|
|
var r2;
|
|
var client;
|
|
let value = a0;
|
|
if (typeof global.__SENTRY_TRACING__ !== 'boolean') {
|
|
if (value) {
|
|
r2 = value;
|
|
} else {
|
|
value = undefined;
|
|
client = (require(857) /* metro dependency 857 */).getClient();
|
|
r2 = client == null ? value : client.getOptions();
|
|
}
|
|
value = !r2;
|
|
return !(r2 ? r2.tracesSampleRate == null && !r2.tracesSampler : value);
|
|
}
|
|
if (global.__SENTRY_TRACING__) {
|
|
if (value) {
|
|
r2 = value;
|
|
} else {
|
|
value = undefined;
|
|
client = (require(857) /* metro dependency 857 */).getClient();
|
|
r2 = client == null ? value : client.getOptions();
|
|
}
|
|
value = !r2;
|
|
return !(r2 ? r2.tracesSampleRate == null && !r2.tracesSampler : value);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun9295, 863, [857]) /* metro module 863, dependencies: [857] */;
|