45 lines
2.5 KiB
JavaScript
45 lines
2.5 KiB
JavaScript
/* Metro module 1079; source: unknown; dependencies: [826, 1080] */
|
|
import * as Module00826Module from './module-00826.js'; /* Metro dependency 826 */
|
|
import * as DEBUG_BUILDModule from './module-01080-DEBUG_BUILD.js'; /* Metro dependency 1080 */
|
|
|
|
function _fun11275(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#11275, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1206:6, offset: 0x00da751b, size: 95 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.uiProfiler = {startProfiler: startProfiler_11276, stopProfiler: stopProfiler_11277};
|
|
function startProfiler_11276() { // fn#11276, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1206:112, offset: 0x00da757a, size: 219 bytes, params: 1, frame: 15
|
|
const DEBUG_BUILD = (DEBUG_BUILDModule).DEBUG_BUILD;
|
|
const debug = (Module00826Module).debug;
|
|
const client = (Module00826Module).getClient();
|
|
if (client) {
|
|
if (client.getIntegrationByName('BrowserProfiling')) {
|
|
client.emit('startUIProfiler');
|
|
} else if (DEBUG_BUILD) {
|
|
debug.warn('BrowserProfiling integration is not available');
|
|
}
|
|
} else if (DEBUG_BUILD) {
|
|
debug.warn('No Sentry client available, profiling is not started');
|
|
}
|
|
}
|
|
|
|
function stopProfiler_11277() { // fn#11277, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1206:433, offset: 0x00da7655, size: 219 bytes, params: 1, frame: 15
|
|
const DEBUG_BUILD = (DEBUG_BUILDModule).DEBUG_BUILD;
|
|
const debug = (Module00826Module).debug;
|
|
const client = (Module00826Module).getClient();
|
|
if (client) {
|
|
if (client.getIntegrationByName('BrowserProfiling')) {
|
|
client.emit('stopUIProfiler');
|
|
} else if (DEBUG_BUILD) {
|
|
debug.warn('ProfilingIntegration is not available');
|
|
}
|
|
} else if (DEBUG_BUILD) {
|
|
debug.warn('No Sentry client available, profiling is not started');
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun11275, 1079, [826, 1080]) /* metro module 1079, dependencies: [826, 1080] */;
|