37 lines
920 B
JavaScript
37 lines
920 B
JavaScript
// Module ID: 13483
|
|
// Function ID: 13484
|
|
// Dependencies: [13475, 13474, 13482]
|
|
|
|
// Module 13483
|
|
|
|
export default (arg0, arg1) => {
|
|
if ("string" === arg1) {
|
|
const toString = arg0.toString;
|
|
if (require(13475) /* all */(toString)) {
|
|
const tmp4 = tmp(13482)(toString, arg0);
|
|
if (!tmpResult(tmp4)) {
|
|
return tmp4;
|
|
}
|
|
tmpResult = tmp(13474);
|
|
}
|
|
}
|
|
const valueOf = arg0.valueOf;
|
|
if (require(13475) /* all */(valueOf)) {
|
|
let tmp5Result = tmp5(13474);
|
|
const tmp8 = tmp5(13482)(valueOf, arg0);
|
|
if (!tmp5Result(tmp8)) {
|
|
return tmp8;
|
|
}
|
|
}
|
|
if ("string" !== arg1) {
|
|
const toString2 = arg0.toString;
|
|
if (tmp5(13475)(toString2)) {
|
|
tmp5Result = tmp5(13474);
|
|
const tmp10 = tmp5(13482)(toString2, arg0);
|
|
if (!tmp5Result(tmp10)) {
|
|
return tmp10;
|
|
}
|
|
}
|
|
}
|
|
throw new TypeError("Can't convert object to primitive value");
|
|
};
|