decord/source/module_13462.js

36 lines
888 B
JavaScript
Raw Normal View History

2026-08-04 21:03:28 +00:00
// Module ID: 13462
// Function ID: 13463
2026-08-05 07:35:12 +00:00
// Dependencies: [13463, 13474, 13476, 13479, 13482, 13483]
2026-07-31 08:44:05 +00:00
2026-08-04 21:03:28 +00:00
// Module 13462
2026-08-05 07:35:12 +00:00
let closure_3 = require("withoutSetter")("toPrimitive");
export default (arg0, arg1) => {
if (require(13474) /* all */(arg0)) {
if (!tmp(13476)(arg0)) {
let str = arg1;
const tmp4 = tmp(13479)(arg0, closure_3);
if (tmp4) {
if (undefined === str) {
str = "default";
}
const tmp5 = tmp(13482)(tmp4, arg0, str);
if (tmp(13474)(tmp5)) {
if (!tmp(13476)(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(13483)(arg0, str2);
}
}
}
return arg0;
};