decord/source/module_13370.js

36 lines
888 B
JavaScript
Raw Normal View History

2026-07-29 08:29:29 +00:00
// Module ID: 13370
// Function ID: 13371
2026-07-30 10:14:41 +00:00
// Dependencies: [13371, 13382, 13384, 13387, 13390, 13391]
2026-07-29 08:29:29 +00:00
// Module 13370
2026-07-30 10:14:41 +00:00
let closure_3 = require("withoutSetter")("toPrimitive");
2026-07-29 08:29:29 +00:00
2026-07-30 10:14:41 +00:00
export default (arg0, arg1) => {
if (require(13382) /* all */(arg0)) {
if (!tmp(13384)(arg0)) {
let str = arg1;
const tmp4 = tmp(13387)(arg0, closure_3);
if (tmp4) {
if (undefined === str) {
str = "default";
}
const tmp5 = tmp(13390)(tmp4, arg0, str);
if (tmp(13382)(tmp5)) {
if (!tmp(13384)(tmp5)) {
const tmp9 = new TypeError("Can't convert object to primitive value");
throw tmp9;
}
}
return tmp5;
} else {
let str2 = str;
if (undefined === str) {
str2 = "number";
}
return tmp(13391)(arg0, str2);
}
}
2026-07-29 08:29:29 +00:00
}
2026-07-30 10:14:41 +00:00
return arg0;
};