decord/source/__polyfill/13xxx/module_13024.js
github-actions da5b5e5efe chore: update source for alpha 346.6
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
2026-09-12 13:45:10 +00:00

56 lines
2.2 KiB
JavaScript

// Module ID: 13024
// Function ID: 13025
// Dependencies: [12953, 12954, 12926]
// Module 13024
import _mod12953 from "module_12953" /* 12953 */;
require = arg1;
const dependencyMap = arg6;
export const profiler = {
startProfiler() {
const client = _mod12953.getClient();
if (client) {
const integrationByName = client.getIntegrationByName("ProfilingIntegration");
if (integrationByName) {
if (tmp6) {
const _profiler = integrationByName._profiler;
_profiler.start();
} else if (tmp(12954).DEBUG_BUILD) {
const logger3 = tmp(12926).logger;
logger3.warn("Profiler is not available on profiling integration.");
}
tmp6 = integrationByName && undefined !== integrationByName._profiler && typeof integrationByName._profiler.start === "function" && typeof integrationByName._profiler.stop === "function";
} else if (tmp(12954).DEBUG_BUILD) {
const logger2 = tmp(12926).logger;
logger2.warn("ProfilingIntegration is not available");
}
} else if (tmp(12954).DEBUG_BUILD) {
const logger = tmp(12926).logger;
logger.warn("No Sentry client available, profiling is not started");
}
},
stopProfiler() {
const client = _mod12953.getClient();
if (client) {
const integrationByName = client.getIntegrationByName("ProfilingIntegration");
if (integrationByName) {
if (tmp6) {
const _profiler = integrationByName._profiler;
_profiler.stop();
} else if (tmp(12954).DEBUG_BUILD) {
const logger3 = tmp(12926).logger;
logger3.warn("Profiler is not available on profiling integration.");
}
tmp6 = integrationByName && undefined !== integrationByName._profiler && typeof integrationByName._profiler.start === "function" && typeof integrationByName._profiler.stop === "function";
} else if (tmp(12954).DEBUG_BUILD) {
const logger2 = tmp(12926).logger;
logger2.warn("ProfilingIntegration is not available");
}
} else if (tmp(12954).DEBUG_BUILD) {
const logger = tmp(12926).logger;
logger.warn("No Sentry client available, profiling is not started");
}
}
};