decord/source/module_13478.js

38 lines
920 B
JavaScript
Raw Normal View History

2026-08-03 11:20:01 +00:00
// Module ID: 13478
// Function ID: 13479
// Dependencies: [13470, 13469, 13477]
2026-07-31 08:44:05 +00:00
2026-08-03 11:20:01 +00:00
// Module 13478
2026-07-31 08:44:05 +00:00
export default (arg0, arg1) => {
if ("string" === arg1) {
const toString = arg0.toString;
2026-08-03 11:20:01 +00:00
if (require(13470) /* all */(toString)) {
const tmp4 = tmp(13477)(toString, arg0);
2026-07-31 08:44:05 +00:00
if (!tmpResult(tmp4)) {
return tmp4;
}
2026-08-03 11:20:01 +00:00
tmpResult = tmp(13469);
2026-07-31 08:44:05 +00:00
}
}
const valueOf = arg0.valueOf;
2026-08-03 11:20:01 +00:00
if (require(13470) /* all */(valueOf)) {
let tmp5Result = tmp5(13469);
const tmp8 = tmp5(13477)(valueOf, arg0);
2026-07-31 08:44:05 +00:00
if (!tmp5Result(tmp8)) {
return tmp8;
}
}
if ("string" !== arg1) {
const toString2 = arg0.toString;
2026-08-03 11:20:01 +00:00
if (tmp5(13470)(toString2)) {
tmp5Result = tmp5(13469);
const tmp10 = tmp5(13477)(toString2, arg0);
2026-07-31 08:44:05 +00:00
if (!tmp5Result(tmp10)) {
return tmp10;
}
}
}
throw new TypeError("Can't convert object to primitive value");
};