decord/source/module_13583.js

36 lines
888 B
JavaScript
Raw Normal View History

2026-08-08 06:10:11 +00:00
// Module ID: 13583
// Function ID: 13584
// Dependencies: [13584, 13595, 13597, 13600, 13603, 13604]
2026-08-06 08:05:19 +00:00
2026-08-08 06:10:11 +00:00
// Module 13583
2026-08-07 06:50:47 +00:00
let closure_3 = require("withoutSetter")("toPrimitive");
2026-08-06 08:05:19 +00:00
2026-08-07 06:50:47 +00:00
export default (arg0, arg1) => {
2026-08-08 06:10:11 +00:00
if (require(13595) /* all */(arg0)) {
if (!tmp(13597)(arg0)) {
2026-08-07 06:50:47 +00:00
let str = arg1;
2026-08-08 06:10:11 +00:00
const tmp4 = tmp(13600)(arg0, closure_3);
2026-08-07 06:50:47 +00:00
if (tmp4) {
if (undefined === str) {
str = "default";
}
2026-08-08 06:10:11 +00:00
const tmp5 = tmp(13603)(tmp4, arg0, str);
if (tmp(13595)(tmp5)) {
if (!tmp(13597)(tmp5)) {
2026-08-07 06:50:47 +00:00
const tmp9 = new TypeError("Can't convert object to primitive value");
throw tmp9;
}
}
return tmp5;
} else {
let str2 = str;
if (undefined === str) {
str2 = "number";
}
2026-08-08 06:10:11 +00:00
return tmp(13604)(arg0, str2);
2026-08-07 06:50:47 +00:00
}
}
2026-08-06 08:05:19 +00:00
}
2026-08-07 06:50:47 +00:00
return arg0;
};