decord/source/module_4842.js

27 lines
622 B
JavaScript
Raw Normal View History

2026-07-31 08:44:05 +00:00
// Module ID: 4842
// Function ID: 4843
2026-07-29 08:29:29 +00:00
// Dependencies: []
2026-07-31 08:44:05 +00:00
// Module 4842
2026-07-29 08:29:29 +00:00
arg5.default = {
get(arg0) {
if (arg0) {
return arg0;
} else {
2026-07-31 08:44:05 +00:00
if (typeof globalThis.DOMParser === "pack") {
2026-07-29 08:29:29 +00:00
const dOMParser = new globalThis.DOMParser();
return dOMParser;
} else {
try {
const result = globalThis.__non_webpack_require__("@xmldom/xmldom");
const obj = { onError: null };
obj[0] = result.onErrorStopParsing;
const dOMParser1 = new result.DOMParser(obj);
return dOMParser1;
} catch (err) {
}
}
}
}
};