decord/source/6389_moduleMetadataIntegration.js

38 lines
1.1 KiB
JavaScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 6389
// Function ID: 57478
2026-07-23 10:11:24 +00:00
// Name: moduleMetadataIntegration
2026-07-25 08:10:48 +00:00
// Dependencies: [6367, 6355, 6390]
2026-07-23 10:11:24 +00:00
2026-07-25 08:10:48 +00:00
// Module 6389 (moduleMetadataIntegration)
2026-07-23 10:11:24 +00:00
import setupIntegration from "setupIntegration";
export const moduleMetadataIntegration = setupIntegration.defineIntegration(() => ({
name: "ModuleMetadata",
setup(on) {
let closure_0 = on;
on.on("beforeEnvelope", (arg0) => {
outer2_0(outer2_1[1]).forEachEnvelopeItem(arg0, (arg0, arg1) => {
if ("event" === arg1) {
const _Array = Array;
let tmp2;
if (Array.isArray(arg0)) {
tmp2 = arg0[1];
}
if (tmp2) {
const result = outer3_0(outer3_1[2]).stripMetadataFromStackFrames(tmp2);
arg0[1] = tmp2;
const obj = outer3_0(outer3_1[2]);
}
}
});
});
on.on("applyFrameMetadata", (type) => {
if (!type.type) {
const result = outer2_0(outer2_1[2]).addMetadataToStackFrames(options.getOptions().stackParser, type);
const obj = outer2_0(outer2_1[2]);
}
});
}
}));