decord/source/__polyfill/05xxx/module_5419.js
github-actions 8d58bae3b2 chore: update source for alpha 347.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4907.js (118.4 MB)
2026-09-18 06:58:00 +00:00

26 lines
603 B
JavaScript

// Module ID: 5419
// Function ID: 5420
// Dependencies: []
// Module 5419
export default {
get(arg0) {
if (arg0) {
return arg0;
} else {
if (typeof globalThis.DOMParser !== "undefined") {
const dOMParser = new globalThis.DOMParser();
return dOMParser;
} else {
try {
const result = globalThis.__non_webpack_require__("@xmldom/xmldom");
const obj = { onError: result.onErrorStopParsing };
const dOMParser1 = new result.DOMParser(obj);
return dOMParser1;
} catch (err) {
}
}
}
}
};