(t, e)
| 171 | } |
| 172 | return new class { |
| 173 | constructor(t, e) { |
| 174 | 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}, 开始!`) |
| 175 | } |
| 176 | isNode() { |
| 177 | return "undefined" != typeof module && !!module.exports |
| 178 | } |