decord/source/__polyfill/12xxx/module_12905.js
github-actions e510164e6b chore: update source for alpha 346.2
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
2026-09-10 05:38:07 +00:00

36 lines
1 KiB
JavaScript

// Module ID: 12905
// Function ID: 12906
// Dependencies: [12883, 12871, 12906]
// Module 12905
import _mod12906 from "module_12906" /* 12906 */;
import setupIntegration from "module_12883" /* 12883 */;
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 = _mod12906.addMetadataToStackFrames(options.getOptions().stackParser, type);
}
});
}
}));