decord/source/__polyfill/00xxx/module_797.js
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

56 lines
2.2 KiB
JavaScript

// Module ID: 797
// Function ID: 798
// Dependencies: [713, 688, 689]
// Module 797
import getClient from "getClient" /* 713 */;
require = arg1;
const dependencyMap = arg6;
Object.defineProperty(arg5, Symbol.toStringTag, { value: "Module" });
arg5.profiler = {
startProfiler() {
const client = getClient.getClient();
if (client) {
const integrationByName = client.getIntegrationByName("ProfilingIntegration");
if (integrationByName) {
if (tmp6) {
const _profiler = integrationByName._profiler;
_profiler.start();
} else if (tmp(688).DEBUG_BUILD) {
const debug3 = tmp(689).debug;
debug3.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(688).DEBUG_BUILD) {
const debug2 = tmp(689).debug;
debug2.warn("ProfilingIntegration is not available");
}
} else if (tmp(688).DEBUG_BUILD) {
const debug = tmp(689).debug;
debug.warn("No Sentry client available, profiling is not started");
}
},
stopProfiler() {
const client = getClient.getClient();
if (client) {
const integrationByName = client.getIntegrationByName("ProfilingIntegration");
if (integrationByName) {
if (tmp6) {
const _profiler = integrationByName._profiler;
_profiler.stop();
} else if (tmp(688).DEBUG_BUILD) {
const debug3 = tmp(689).debug;
debug3.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(688).DEBUG_BUILD) {
const debug2 = tmp(689).debug;
debug2.warn("ProfilingIntegration is not available");
}
} else if (tmp(688).DEBUG_BUILD) {
const debug = tmp(689).debug;
debug.warn("No Sentry client available, profiling is not started");
}
}
};