(t, e)
| 139 | |
| 140 | return new class { |
| 141 | constructor(t, e) { |
| 142 | this.name = t, this.http = new s(this), this.data = null, this.dataFile = "box.dat", this.logs = [], this.isMute = !1, this.isNeedRewrite = !1, this.logSeparator = "\n", this.startTime = (new Date).getTime(), Object.assign(this, e), this.log("", `🔔${this.name}, 开始!`) |
| 143 | } |
| 144 | |
| 145 | isNode() { |
| 146 | return "undefined" != typeof module && !!module.exports |