decord/source/__polyfill/14xxx/module_14310.js
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

38 lines
947 B
JavaScript

// Module ID: 14310
// Function ID: 14311
// Dependencies: [14311, 14322, 14324, 14327, 14330, 14331]
// Module 14310
import withoutSetter from "withoutSetter" /* 14311 */;
import all from "all" /* 14322 */;
let closure_3 = withoutSetter("toPrimitive");
export default (arg0, arg1) => {
if (all(arg0)) {
if (!tmp(14324)(arg0)) {
let str = arg1;
const tmp4 = tmp(14327)(arg0, closure_3);
if (tmp4) {
if (undefined === str) {
str = "default";
}
const tmp5 = tmp(14330)(tmp4, arg0, str);
if (tmp(14322)(tmp5)) {
if (!tmp(14324)(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(14331)(arg0, str2);
}
}
}
return arg0;
};