2026-07-29 08:29:29 +00:00
|
|
|
// Module ID: 763
|
|
|
|
|
// Function ID: 764
|
|
|
|
|
// Name: toString
|
|
|
|
|
// Dependencies: [608, 599, 764, 638]
|
|
|
|
|
|
|
|
|
|
// Module 763 (toString)
|
2026-08-24 06:08:38 +00:00
|
|
|
import _mod599 from "module_599" /* 599 */;
|
|
|
|
|
import _mod608 from "module_608" /* 608 */;
|
|
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
let prototype;
|
2026-08-24 06:08:38 +00:00
|
|
|
if (_mod608) {
|
|
|
|
|
prototype = _mod608.prototype;
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
|
|
|
|
let toString;
|
|
|
|
|
if (prototype) {
|
|
|
|
|
toString = prototype.toString;
|
|
|
|
|
}
|
2026-08-04 21:03:28 +00:00
|
|
|
function baseToString(str) {
|
|
|
|
|
if (typeof str === "string") {
|
|
|
|
|
return str;
|
2026-08-24 06:08:38 +00:00
|
|
|
} else if (_mod599(str)) {
|
2026-08-04 21:03:28 +00:00
|
|
|
return "" + tmp5(764)(str, baseToString);
|
|
|
|
|
} else if (tmp5(638)(str)) {
|
2026-07-29 08:29:29 +00:00
|
|
|
if (!toString) {
|
|
|
|
|
return "";
|
|
|
|
|
} else {
|
|
|
|
|
const call = tmp2.call;
|
2026-08-04 21:03:28 +00:00
|
|
|
typeof call === "unknown" ? tmp2() : call(str);
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
|
|
|
|
} else {
|
2026-08-04 21:03:28 +00:00
|
|
|
const text = `${str}`;
|
|
|
|
|
if ("0" !== `${str}`) {
|
2026-07-29 08:29:29 +00:00
|
|
|
let str2 = text;
|
|
|
|
|
} else {
|
|
|
|
|
str2 = "-0";
|
|
|
|
|
}
|
|
|
|
|
return str2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default baseToString;
|