decord/source/module_770.js

87 lines
2.3 KiB
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 770
// Function ID: 771
// Dependencies: [742, 771, 747, 772, 773, 774, 607]
// Module 770
2026-08-24 06:08:38 +00:00
import getNative2 from "getNative" /* 747 */;
import getNative3 from "getNative" /* 772 */;
import getNative4 from "getNative" /* 773 */;
import getNative5 from "getNative" /* 774 */;
import toSource from "toSource" /* 742 */;
import toStringTag from "toStringTag" /* 607 */;
import getNative from "getNative" /* 771 */;
2026-07-29 08:29:29 +00:00
2026-08-24 06:08:38 +00:00
let closure_2 = toSource(getNative);
let closure_3 = toSource(getNative2);
let closure_4 = toSource(getNative3);
let closure_5 = toSource(getNative4);
let closure_6 = toSource(getNative5);
2026-07-29 08:29:29 +00:00
if (getNative) {
const _ArrayBuffer = ArrayBuffer;
2026-08-24 06:08:38 +00:00
let _module6 = getNative;
2026-07-29 08:29:29 +00:00
const arrayBuffer = new ArrayBuffer(1);
_module6 = new _module6(arrayBuffer);
getNative = toStringTag(_module6) != "[object DataView]";
}
if (!getNative) {
2026-08-24 06:08:38 +00:00
let _module7 = getNative2;
2026-07-29 08:29:29 +00:00
if (_module7) {
2026-08-24 06:08:38 +00:00
const tmp20 = new getNative2();
2026-07-29 08:29:29 +00:00
_module7 = toStringTag(tmp20) != "[object Map]";
}
getNative = _module7;
}
if (!getNative) {
2026-08-24 06:08:38 +00:00
let _module8 = getNative3;
2026-07-29 08:29:29 +00:00
if (_module8) {
2026-08-24 06:08:38 +00:00
const _module9 = getNative3;
2026-07-29 08:29:29 +00:00
_module8 = toStringTag(_module9.resolve()) != "[object Promise]";
}
getNative = _module8;
}
if (!getNative) {
2026-08-24 06:08:38 +00:00
let _module10 = getNative4;
2026-07-29 08:29:29 +00:00
if (_module10) {
2026-08-24 06:08:38 +00:00
const tmp26 = new getNative4();
2026-07-29 08:29:29 +00:00
_module10 = toStringTag(tmp26) != "[object Set]";
}
getNative = _module10;
}
if (!getNative) {
2026-08-24 06:08:38 +00:00
let _module11 = getNative5;
2026-07-29 08:29:29 +00:00
if (_module11) {
2026-08-24 06:08:38 +00:00
const tmp31 = new getNative5();
2026-07-29 08:29:29 +00:00
_module11 = toStringTag(tmp31) != "[object WeakMap]";
}
getNative = _module11;
}
if (getNative) {
toStringTag = function v(_module6) {
2026-08-24 06:08:38 +00:00
const tmp3 = toStringTag(_module6);
2026-07-29 08:29:29 +00:00
let constructor;
if ("[object Object]" == tmp3) {
constructor = _module6.constructor;
}
let str = "";
if (constructor) {
2026-08-24 06:08:38 +00:00
str = toSource(constructor);
2026-07-29 08:29:29 +00:00
}
if (str) {
2026-08-24 06:08:38 +00:00
if (closure_2 === str) {
2026-07-29 08:29:29 +00:00
return "[object DataView]";
2026-08-24 06:08:38 +00:00
} else if (closure_3 === str) {
2026-07-29 08:29:29 +00:00
return "[object Map]";
2026-08-24 06:08:38 +00:00
} else if (closure_4 === str) {
2026-07-29 08:29:29 +00:00
return "[object Promise]";
2026-08-24 06:08:38 +00:00
} else if (closure_5 === str) {
2026-07-29 08:29:29 +00:00
return "[object Set]";
2026-08-24 06:08:38 +00:00
} else if (closure_6 === str) {
2026-07-29 08:29:29 +00:00
return "[object WeakMap]";
}
}
return tmp3;
};
}
export default toStringTag;