(t, e)
| 993 | |
| 994 | return new class { |
| 995 | constructor(t, e) { |
| 996 | 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}, 开始!`) |
| 997 | } |
| 998 | |
| 999 | isNode() { |
| 1000 | return "undefined" != typeof module && !!module.exports |