decord/source/__polyfill/13xxx/module_13026.js
github-actions 03cf168fbc chore: update source for alpha 347.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4825.js (118.4 MB)
2026-09-17 08:17:09 +00:00

36 lines
1 KiB
JavaScript

// Module ID: 13026
// Function ID: 13027
// Dependencies: [13004, 12992, 13027]
// Module 13026
import _mod13027 from "module_13027" /* 13027 */;
import setupIntegration from "module_13004" /* 13004 */;
export const moduleMetadataIntegration = setupIntegration.defineIntegration(() => ({
name: "ModuleMetadata",
setup(on) {
const options = on;
on.on("beforeEnvelope", (arg0) => {
options(closure_1_1[1]).forEachEnvelopeItem(arg0, (arg0, arg1) => {
if ("event" === arg1) {
const _Array = Array;
let tmp3;
if (Array.isArray(arg0)) {
tmp3 = arg0[1];
}
if (tmp3) {
const result = options(dependencyMap[2]).stripMetadataFromStackFrames(tmp3);
arg0[1] = tmp3;
const obj = options(dependencyMap[2]);
}
}
});
});
on.on("applyFrameMetadata", (type) => {
if (!type.type) {
const result = _mod13027.addMetadataToStackFrames(options.getOptions().stackParser, type);
}
});
}
}));