Compare commits

..

No commits in common. "9c8d4c4091a774f76d0c9e51c5decc6c00f6fbdb" and "b5ac69eff0a43e5fd0ae906a4bbd454f0e88ba6d" have entirely different histories.

View File

@ -3309,7 +3309,10 @@ var A = {
return J.cW(a).a5(a, b) return J.cW(a).a5(a, b)
}, },
rs(a, b, c, d) { rs(a, b, c, d) {
// add_event_listener // if (run_env.from_code) {
// console.log("rs", a, "|", b, "|", c, "|", d)
// return
// }
return J.bv(a).eF(a, b, c, d) return J.bv(a).eF(a, b, c, d)
}, },
lU(a, b) { lU(a, b) {
@ -3532,7 +3535,7 @@ var A = {
new self.MutationObserver(H.convert_dart_closure_to_js_md5(new P.kB(q), 1)).observe(s, { new self.MutationObserver(H.convert_dart_closure_to_js_md5(new P.kB(q), 1)).observe(s, {
childList: true childList: true
}) })
return new P._AsyncRun__initializeScheduleImmediate_closure(q, s, r) return new P.kA(q, s, r)
} else if (self.setImmediate != null) { } else if (self.setImmediate != null) {
// _AsyncRun__scheduleImmediateWithSetImmediate // _AsyncRun__scheduleImmediateWithSetImmediate
return P.uL() return P.uL()
@ -3552,10 +3555,10 @@ var A = {
}, },
Timer__createTimer(a, b) { Timer__createTimer(a, b) {
var s = C.JsInt.ag(a.a, 1000) var s = C.JsInt.ag(a.a, 1000)
return P.Timerimpl(s < 0 ? 0 : s, b) return P.Timer_impl(s < 0 ? 0 : s, b)
}, },
Timerimpl(a, b) { Timer_impl(a, b) {
var s = new P._TimerImpl() var s = new P.l8()
s.e8(a, b) s.e8(a, b)
return s return s
}, },
@ -3571,24 +3574,24 @@ var A = {
_asyncAwait(a, b) { _asyncAwait(a, b) {
P._awaitOnObject(a, b) P._awaitOnObject(a, b)
}, },
_asyncReturn(a, b) { async_return(a, b) {
b.bM(0, a) b.bM(0, a)
}, },
async_rethrow(a, b) { async_rethrow(a, b) {
b.cj(H.unwrap_Exception(a), H.getTraceFromException(a)) b.cj(H.unwrap_Exception(a), H.getTraceFromException(a))
}, },
_awaitOnObject(object, body_function) { _awaitOnObject(object, body_function) {
var s, future, q = new P._awaitOnObject_closure(body_function), var s, r, q = new P._awaitOnObject_closure(body_function),
p = new P._awaitOnObject_closure0(body_function) p = new P._awaitOnObject_closure0(body_function)
if (object instanceof P._Future) object.d7(q, p, t.z) if (object instanceof P._Future) object.d7(q, p, t.z)
else { else {
s = t.z s = t.z
if (t.h.b(object)) object.cz(q, p, s) if (t.h.b(object)) object.cz(q, p, s)
else { else {
future = new P._Future($.P, t.eI) r = new P._Future($.P, t.eI)
future.a = 8 r.a = 8
future.c = object r.c = object
future.d7(q, p, s) r.d7(q, p, s)
} }
} }
}, },
@ -3602,7 +3605,6 @@ var A = {
fn(error_code, async_result) fn(error_code, async_result)
break break
} catch (error) { } catch (error) {
console.error(error.stack)
async_result = error async_result = error
error_code = error_ error_code = error_
} }
@ -3630,13 +3632,13 @@ var A = {
rM(a) { rM(a) {
return new P.cg(new P._Future($.P, a.i("U<0>")), a.i("cg<0>")) return new P.cg(new P._Future($.P, a.i("U<0>")), a.i("cg<0>"))
}, },
_Future__chainCoreFuture(a, b) { mk(a, b) {
var s, r var s, r
for (; s = a.a, (s & 4) !== 0;) a = a.c for (; s = a.a, (s & 4) !== 0;) a = a.c
if ((s & 24) !== 0) { if ((s & 24) !== 0) {
r = b.bI() r = b.bI()
b.c1(a) b.c1(a)
P._Future__propagateToListeners(b, r) P.cO(b, r)
} else { } else {
r = b.c r = b.c
b.a = b.a & 1 | 4 b.a = b.a & 1 | 4
@ -3644,26 +3646,26 @@ var A = {
a.d3(r) a.d3(r)
} }
}, },
_Future__propagateToListeners(a, b) { cO(a, b) {
var s, r, q, p, o, n, m, l, k, j, i, h, g, f = {}, var s, r, q, p, o, n, m, l, k, j, i, h, g, f = {},
t1 = f.a = a e = f.a = a
for (s = t.h; true;) { for (s = t.h; true;) {
r = {} r = {}
q = t1.a q = e.a
p = (q & 16) === 0 p = (q & 16) === 0
o = !p o = !p
if (b == null) { if (b == null) {
if (o && (q & 1) === 0) { if (o && (q & 1) === 0) {
t1 = t1.c e = e.c
P._rootHandleUncaughtError(t1.a, t1.b) P.iC(e.a, e.b)
} }
return return
} }
r.a = b r.a = b
n = b.a n = b.a
for (t1 = b; n != null; t1 = n, n = m) { for (e = b; n != null; e = n, n = m) {
t1.a = null e.a = null
P._Future__propagateToListeners(f.a, t1) P.cO(f.a, e)
r.a = n r.a = n
m = n.a m = n.a
} }
@ -3672,46 +3674,46 @@ var A = {
r.b = o r.b = o
r.c = l r.c = l
if (p) { if (p) {
k = t1.c k = e.c
k = (k & 1) !== 0 || (k & 15) === 8 k = (k & 1) !== 0 || (k & 15) === 8
} else k = true } else k = true
if (k) { if (k) {
j = t1.b.b j = e.b.b
if (o) { if (o) {
q = q.b === j q = q.b === j
q = !(q || q) q = !(q || q)
} else q = false } else q = false
if (q) { if (q) {
P._rootHandleUncaughtError(l.a, l.b) P.iC(l.a, l.b)
return return
} }
i = $.P i = $.P
if (i !== j) $.P = j if (i !== j) $.P = j
else i = null else i = null
t1 = t1.c e = e.c
if ((t1 & 15) === 8) new P._Future__propagateToListeners_handleWhenCompleteCallback(r, f, o).$0() if ((e & 15) === 8) new P.kR(r, f, o).$0()
else if (p) { else if (p) {
if ((t1 & 1) !== 0) new P._Future__propagateToListeners_handleValueCallback(r, l).$0() if ((e & 1) !== 0) new P.kQ(r, l).$0()
} else if ((t1 & 2) !== 0) new P._Future__propagateToListeners_handleError(f, r).$0() } else if ((e & 2) !== 0) new P.kP(f, r).$0()
if (i != null) $.P = i if (i != null) $.P = i
t1 = r.c e = r.c
if (s.b(t1)) { if (s.b(e)) {
q = r.a.$ti q = r.a.$ti
q = q.i("bl<2>").b(t1) || !q.Q[1].b(t1) q = q.i("bl<2>").b(e) || !q.Q[1].b(e)
} else q = false } else q = false
if (q) { if (q) {
h = r.a.b h = r.a.b
if (t1 instanceof P._Future) if (e instanceof P._Future)
if ((t1.a & 24) !== 0) { if ((e.a & 24) !== 0) {
g = h.c g = h.c
h.c = null h.c = null
b = h.bJ(g) b = h.bJ(g)
h.a = t1.a & 30 | h.a & 1 h.a = e.a & 30 | h.a & 1
h.c = t1.c h.c = e.c
f.a = t1 f.a = e
continue continue
} else P._Future__chainCoreFuture(t1, h) } else P.mk(e, h)
else h.cV(t1) else h.cV(e)
return return
} }
} }
@ -3719,9 +3721,9 @@ var A = {
g = h.c g = h.c
h.c = null h.c = null
b = h.bJ(g) b = h.bJ(g)
t1 = r.b e = r.b
q = r.c q = r.c
if (!t1) { if (!e) {
h.a = 8 h.a = 8
h.c = q h.c = q
} else { } else {
@ -3729,15 +3731,15 @@ var A = {
h.c = q h.c = q
} }
f.a = h f.a = h
t1 = h e = h
} }
}, },
_registerErrorHandler(a, b) { uz(a, b) {
if (t.C.b(a)) return b.ct(a) if (t.C.b(a)) return b.ct(a)
if (t.J.b(a)) return a if (t.J.b(a)) return a
throw H.wrap_expression(P.da(a, "onError", u.c)) throw H.wrap_expression(P.da(a, "onError", u.c))
}, },
_microtaskLoop() { uw() {
var s, r var s, r
for (s = $.cR; s != null; s = $.cR) { for (s = $.cR; s != null; s = $.cR) {
$.eO = null $.eO = null
@ -3747,17 +3749,17 @@ var A = {
s.a.$0() s.a.$0()
} }
}, },
_startMicrotaskLoop() { uD() {
$.ms = true $.ms = true
try { try {
P._microtaskLoop() P.uw()
} finally { } finally {
$.eO = null $.eO = null
$.ms = false $.ms = false
if ($.cR != null) $.nw().$1(P.ow()) if ($.cR != null) $.nw().$1(P.ow())
} }
}, },
_scheduleAsyncCallback(a) { ou(a) {
var s = new P.i0(a), var s = new P.i0(a),
r = $.eN r = $.eN
if (r == null) { if (r == null) {
@ -3767,10 +3769,10 @@ var A = {
} }
} else $.eN = r.b = s } else $.eN = r.b = s
}, },
_schedulePriorityAsyncCallback(a) { uC(a) {
var s, r, q, p = $.cR var s, r, q, p = $.cR
if (p == null) { if (p == null) {
P._scheduleAsyncCallback(a) P.ou(a)
$.eO = $.eN $.eO = $.eN
return return
} }
@ -3786,7 +3788,7 @@ var A = {
if (q == null) $.eN = s if (q == null) $.eN = s
} }
}, },
scheduleMicrotask(a) { oN(a) {
var s = null, var s = null,
r = $.P r = $.P
if (C.f === r) { if (C.f === r) {
@ -3795,12 +3797,11 @@ var A = {
} }
P.cS(s, s, r, r.cf(a)) P.cS(s, s, r, r.cf(a))
}, },
StreamIterator_StreamIterator(a) { zZ(a) {
H.ls(a, "stream", t.K) H.ls(a, "stream", t.K)
return new P.io() return new P.io()
}, },
mu(a) { mu(a) {
// what?
return return
}, },
tS(a, b) { tS(a, b) {
@ -3810,15 +3811,15 @@ var A = {
throw H.wrap_expression(P.bz("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null)) throw H.wrap_expression(P.bz("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.", null))
}, },
ux(a, b) { ux(a, b) {
P._rootHandleUncaughtError(a, b) P.iC(a, b)
}, },
Timer_Timer(a, b) { Timer_Timer(a, b) {
var s = $.P var s = $.P
if (s === C.f) return P.Timer__createTimer(a, b) if (s === C.f) return P.Timer__createTimer(a, b)
return P.Timer__createTimer(a, s.cf(b)) return P.Timer__createTimer(a, s.cf(b))
}, },
_rootHandleUncaughtError(a, b) { iC(a, b) {
P._schedulePriorityAsyncCallback(new P.lo(a, b)) P.uC(new P.lo(a, b))
}, },
os(a, b, c, d) { os(a, b, c, d) {
var s, r = $.P var s, r = $.P
@ -3858,12 +3859,12 @@ var A = {
}, },
cS(a, b, c, d) { cS(a, b, c, d) {
if (C.f !== c) d = c.cf(d) if (C.f !== c) d = c.cf(d)
P._scheduleAsyncCallback(d) P.ou(d)
}, },
kB: function kB(a) { kB: function kB(a) {
this.a = a this.a = a
}, },
_AsyncRun__initializeScheduleImmediate_closure: function kA(a, b, c) { kA: function kA(a, b, c) {
this.a = a this.a = a
this.b = b this.b = b
this.c = c this.c = c
@ -3874,7 +3875,7 @@ var A = {
kD: function kD(a) { kD: function kD(a) {
this.a = a this.a = a
}, },
_TimerImpl: function l8() { }, l8: function l8() { },
_TimerImpl_internalCallback: function l9(a, b) { _TimerImpl_internalCallback: function l9(a, b) {
this.a = a this.a = a
this.b = b this.b = b
@ -3955,19 +3956,19 @@ var A = {
this.b = b this.b = b
this.c = c this.c = c
}, },
_Future__propagateToListeners_handleWhenCompleteCallback: function kR(a, b, c) { kR: function kR(a, b, c) {
this.a = a this.a = a
this.b = b this.b = b
this.c = c this.c = c
}, },
_Future__propagateToListeners_handleWhenCompleteCallback_closure: function kS(a) { kS: function kS(a) {
this.a = a this.a = a
}, },
_Future__propagateToListeners_handleValueCallback: function kQ(a, b) { kQ: function kQ(a, b) {
this.a = a this.a = a
this.b = b this.b = b
}, },
_Future__propagateToListeners_handleError: function kP(a, b) { kP: function kP(a, b) {
this.a = a this.a = a
this.b = b this.b = b
}, },
@ -5855,7 +5856,7 @@ var A = {
async_goto = 1 async_goto = 1
// break // break
case 1: case 1:
return P._asyncReturn(result, async_completer) return P.async_return(result, async_completer)
} }
}) })
return P._asyncStartSync($async$c2, async_completer) return P._asyncStartSync($async$c2, async_completer)
@ -6070,7 +6071,7 @@ var A = {
tx(a, b, c, d, e) { }, tx(a, b, c, d, e) { },
tz(a, b, c, d, e) { }, tz(a, b, c, d, e) { },
SklAttack(a) { SklAttack(a) {
var s = new T.h8(0) var s = new T.SklAttack(0)
s.r = a s.r = a
return s return s
}, },
@ -7422,7 +7423,7 @@ var A = {
}, },
Skill: function Skill() { }, Skill: function Skill() { },
ActionSkill: function b5() { }, ActionSkill: function b5() { },
h8: function h8(a) { SklAttack: function h8(a) {
var _ = this var _ = this
_.e = false _.e = false
_.f = a _.f = a
@ -8097,7 +8098,7 @@ var A = {
LangData.load_lang(t.cF.a(C.C.bt(0, p))) LangData.load_lang(t.cF.a(C.C.bt(0, p)))
} }
} }
return P._asyncReturn(null, r) return P.async_return(null, r)
} }
}) })
return P._asyncStartSync($async$jv, r) return P._asyncStartSync($async$jv, r)
@ -8817,7 +8818,6 @@ J.JsString.prototype = {
return m return m
}, },
bA(a, b) { bA(a, b) {
// a start with b
var s var s
if (typeof b == "string") { if (typeof b == "string") {
s = b.length s = b.length
@ -9693,13 +9693,13 @@ P.kB.prototype = {
}, },
$S: 22 $S: 22
} }
P._AsyncRun__initializeScheduleImmediate_closure.prototype = { P.kA.prototype = {
$1(callback) { $1(a) {
var t1, t2 var s, r
this.a.a = callback this.a.a = a
t1 = this.b s = this.b
t2 = this.c r = this.c
t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2) s.firstChild ? s.removeChild(r) : s.appendChild(r)
}, },
$S: 27 $S: 27
} }
@ -9715,7 +9715,7 @@ P.kD.prototype = {
}, },
$S: 18 $S: 18
} }
P._TimerImpl.prototype = { P.l8.prototype = {
e8(a, b) { e8(a, b) {
if (run_env.from_code) { if (run_env.from_code) {
// b.$0() // b.$0()
@ -9740,17 +9740,18 @@ P._TimerImpl_internalCallback.prototype = {
} }
P.i_.prototype = { P.i_.prototype = {
bM(a, b) { bM(a, b) {
var s, this_ = this var s, r = this
if (!this_.b) this_.a.cS(b) if (!r.b) r.a.cS(b)
else { else {
s = this_.a s = r.a
if (this_.$ti.i("bl<1>").b(b)) s.cW(b) if (r.$ti.i("bl<1>").b(b)) s.cW(b)
else s.c2(b) else s.c2(b)
} }
}, },
cj(a, b) { cj(a, b) {
var s var s
if (b == null) { b = P.AsyncError_defaultStackTrace(a) } if (b == null) { b = P.AsyncError_defaultStackTrace(a) }
console.error(a, b)
s = this.a s = this.a
if (this.b) s.be(a, b) if (this.b) s.be(a, b)
else s.cT(a, b) else s.cT(a, b)
@ -9836,7 +9837,7 @@ P._Future.prototype = {
var s, r, q = $.P var s, r, q = $.P
if (q === C.f) { if (q === C.f) {
if (b != null && !t.C.b(b) && !t.J.b(b)) throw H.wrap_expression(P.da(b, "onError", u.c)) if (b != null && !t.C.b(b) && !t.J.b(b)) throw H.wrap_expression(P.da(b, "onError", u.c))
} else if (b != null) b = P._registerErrorHandler(b, q) } else if (b != null) b = P.uz(b, q)
s = new P._Future(q, c.i("U<0>")) s = new P._Future(q, c.i("U<0>"))
r = b == null ? 1 : 3 r = b == null ? 1 : 3
this.c0(new P.cN(s, r, a, b, this.$ti.i("@<1>").aL(c).i("cN<1,2>"))) this.c0(new P.cN(s, r, a, b, this.$ti.i("@<1>").aL(c).i("cN<1,2>")))
@ -9924,7 +9925,7 @@ P._Future.prototype = {
} catch (q) { } catch (q) {
s = H.unwrap_Exception(q) s = H.unwrap_Exception(q)
r = H.getTraceFromException(q) r = H.getTraceFromException(q)
P.scheduleMicrotask(new P.kM(p, s, r)) P.oN(new P.kM(p, s, r))
} }
}, },
// 动画帧调用? // 动画帧调用?
@ -9933,19 +9934,19 @@ P._Future.prototype = {
r = s.bI() r = s.bI()
s.a = 8 s.a = 8
s.c = a s.c = a
P._Future__propagateToListeners(s, r) P.cO(s, r)
}, },
c2(a) { c2(a) {
var s = this, var s = this,
r = s.bI() r = s.bI()
s.a = 8 s.a = 8
s.c = a s.c = a
P._Future__propagateToListeners(s, r) P.cO(s, r)
}, },
be(a, b) { be(a, b) {
var s = this.bI() var s = this.bI()
this.ex(P.async_error(a, b)) this.ex(P.async_error(a, b))
P._Future__propagateToListeners(this, s) P.cO(this, s)
}, },
cS(a) { cS(a) {
if (this.$ti.i("bl<1>").b(a)) { if (this.$ti.i("bl<1>").b(a)) {
@ -9964,7 +9965,7 @@ P._Future.prototype = {
if ((a.a & 16) !== 0) { if ((a.a & 16) !== 0) {
s.a ^= 2 s.a ^= 2
P.cS(null, null, s.b, new P.kN(s, a)) P.cS(null, null, s.b, new P.kN(s, a))
} else P._Future__chainCoreFuture(a, s) } else P.mk(a, s)
return return
} }
s.cV(a) s.cV(a)
@ -9977,13 +9978,13 @@ P._Future.prototype = {
} }
P.kH.prototype = { P.kH.prototype = {
$0() { $0() {
P._Future__propagateToListeners(this.a, this.b) P.cO(this.a, this.b)
}, },
$S: 0 $S: 0
} }
P.kO.prototype = { P.kO.prototype = {
$0() { $0() {
P._Future__propagateToListeners(this.b, this.a.a) P.cO(this.b, this.a.a)
}, },
$S: 0 $S: 0
} }
@ -10021,7 +10022,7 @@ P.kJ.prototype = {
} }
P.kN.prototype = { P.kN.prototype = {
$0() { $0() {
P._Future__chainCoreFuture(this.b, this.a) P.mk(this.b, this.a)
}, },
$S: 0 $S: 0
} }
@ -10031,7 +10032,7 @@ P.kI.prototype = {
}, },
$S: 0 $S: 0
} }
P._Future__propagateToListeners_handleWhenCompleteCallback.prototype = { P.kR.prototype = {
$0() { $0() {
var s, r, q, p, o, n, m = this, var s, r, q, p, o, n, m = this,
l = null l = null
@ -10064,36 +10065,36 @@ P._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {
if (t.h.b(l)) { if (t.h.b(l)) {
n = m.b.a n = m.b.a
q = m.a q = m.a
q.c = l.fI(new P._Future__propagateToListeners_handleWhenCompleteCallback_closure(n), t.z) q.c = l.fI(new P.kS(n), t.z)
q.b = false q.b = false
} }
}, },
$S: 0 $S: 0
} }
P._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = { P.kS.prototype = {
$1(a) { $1(a) {
return this.a return this.a
}, },
$S: 52 $S: 52
} }
P._Future__propagateToListeners_handleValueCallback.prototype = { P.kQ.prototype = {
$0() { $0() {
var e, s, t1, t2, exception var s, r, q, p, o
try { try {
t1 = this.a q = this.a
t2 = t1.a p = q.a
t1.c = t2.b.b.cv(t2.d, this.b) q.c = p.b.b.cv(p.d, this.b)
} catch (exception) { } catch (o) {
e = H.unwrap_Exception(exception) s = H.unwrap_Exception(o)
s = H.getTraceFromException(exception) r = H.getTraceFromException(o)
t1 = this.a q = this.a
t1.c = P.async_error(e, s) q.c = P.async_error(s, r)
t1.b = true q.b = true
} }
}, },
$S: 0 $S: 0
} }
P._Future__propagateToListeners_handleError.prototype = { P.kP.prototype = {
$0() { $0() {
var s, r, q, p, o, n, m, l, k = this var s, r, q, p, o, n, m, l, k = this
try { try {
@ -10190,7 +10191,6 @@ P.im.prototype = {
} }
P.l2.prototype = { P.l2.prototype = {
$0() { $0() {
// do nothing
P.mu(this.a.d) P.mu(this.a.d)
}, },
$S: 0 $S: 0
@ -10312,7 +10312,7 @@ P.ii.prototype = {
s.a = 1 s.a = 1
return return
} }
P.scheduleMicrotask(new P.kW(s, a)) P.oN(new P.kW(s, a))
s.a = 1 s.a = 1
} }
} }
@ -10360,7 +10360,7 @@ P.kX.prototype = {
} catch (q) { } catch (q) {
s = H.unwrap_Exception(q) s = H.unwrap_Exception(q)
r = H.getTraceFromException(q) r = H.getTraceFromException(q)
P._rootHandleUncaughtError(s, r) P.iC(s, r)
} }
}, },
fG(a, b) { fG(a, b) {
@ -10374,7 +10374,7 @@ P.kX.prototype = {
} catch (q) { } catch (q) {
s = H.unwrap_Exception(q) s = H.unwrap_Exception(q)
r = H.getTraceFromException(q) r = H.getTraceFromException(q)
P._rootHandleUncaughtError(s, r) P.iC(s, r)
} }
}, },
dC(a, b) { dC(a, b) {
@ -12493,7 +12493,7 @@ L.ProfileWinChance.prototype = {
async_goto = 1 async_goto = 1
break break
case 1: case 1:
return P._asyncReturn(some_q, async_completer) return P.async_return(some_q, async_completer)
} }
}) })
// let stack = new Error().stack // let stack = new Error().stack
@ -12553,7 +12553,7 @@ L.ProfileWinChance.prototype = {
l = P.List_List_of(new H.y(new H.a9(o, n), new L.iU(this_), l), true, l.i("M.E")) l = P.List_List_of(new H.y(new H.a9(o, n), new L.iU(this_), l), true, l.i("M.E"))
C.Array.a5(l, H.fJ(p.buffer, 0, null)) C.Array.a5(l, H.fJ(p.buffer, 0, null))
A.eR(X.dc(l)) A.eR(X.dc(l))
return P._asyncReturn(null, async_completer) return P.async_return(null, async_completer)
} }
}) })
return P._asyncStartSync($async$ae, async_completer) return P._asyncStartSync($async$ae, async_completer)
@ -12632,7 +12632,7 @@ V.ProfileMain.prototype = {
var async_goto = 0, var async_goto = 0,
async_completer = P._makeAsyncAwaitCompleter(t.d), async_completer = P._makeAsyncAwaitCompleter(t.d),
q, this_ = this, q, this_ = this,
o, n, this_b, l, k, j, round_count, h, g, f, get_result, d, c, b, a, a0, a1, a2, a3, a4 o, n, m, l, k, j, round_count, h, g, f, get_result, d, c, b, a, a0, a1, a2, a3, a4
var $async$O = P._wrapJsFunctionForAsync(function (async_error_code, async_result) { var $async$O = P._wrapJsFunctionForAsync(function (async_error_code, async_result) {
if (async_error_code === 1) return P.async_rethrow(async_result, async_completer) if (async_error_code === 1) return P.async_rethrow(async_result, async_completer)
while (true) switch (async_goto) { while (true) switch (async_goto) {
@ -12651,7 +12651,7 @@ V.ProfileMain.prototype = {
a4 = this_.r a4 = this_.r
o = t.v o = t.v
n = this_.z n = this_.z
this_b = this_.b m = this_.b
l = this_.a l = this_.a
k = t.V k = t.V
j = t.D j = t.D
@ -12662,18 +12662,16 @@ V.ProfileMain.prototype = {
async_goto = 4 async_goto = 4
break break
} }
// 继续运行 if (m.length === 1 && !this_.c) {
if (this_b.length === 1 && !this_.c) {
console.log("this_b length === 1")
h = H.b([ h = H.b([
[this_b[0], H.b(["" + this_.e++, l], k)], [H.b(["" + this_.e++, l], k), H.b(["" + this_.e++, l], k)] [m[0], H.b(["" + this_.e++, l], k)],
[H.b(["" + this_.e++, l], k), H.b(["" + this_.e++, l], k)]
], j) ], j)
} }
else { else {
console.log("this_b length !== 1")
g = [] g = []
h = H.b([this_b, g], j) h = H.b([m, g], j)
for (f = 0; f < this_b.length; ++f) g.push(H.b(["" + this_.e++, l], k)) for (f = 0; f < m.length; ++f) g.push(H.b(["" + this_.e++, l], k))
} }
async_goto = 5 async_goto = 5
return P._asyncAwait(T.start_main(h), $async$O) return P._asyncAwait(T.start_main(h), $async$O)
@ -12702,7 +12700,6 @@ V.ProfileMain.prototype = {
if (a2) { if (a2) {
a3 = a1.d a3 = a1.d
if (C.String.bA(a3, "[0]")) if (C.String.bA(a3, "[0]"))
// a3.startWith("[0]")
if (n.J(0, a3)) n.m(0, a3, n.h(0, a3) + 1) if (n.J(0, a3)) n.m(0, a3, n.h(0, a3) + 1)
else n.m(0, a3, 1) else n.m(0, a3, 1)
} }
@ -12736,7 +12733,7 @@ V.ProfileMain.prototype = {
async_goto = 1 async_goto = 1
break break
case 1: case 1:
return P._asyncReturn(q, async_completer) return P.async_return(q, async_completer)
} }
}) })
return P._asyncStartSync($async$O, async_completer) return P._asyncStartSync($async$O, async_completer)
@ -12799,7 +12796,7 @@ V.ProfileMain.prototype = {
l = P.List_List_of(new H.y(new H.a9(o, n), new V.j1(this_), l), true, l.i("M.E")) l = P.List_List_of(new H.y(new H.a9(o, n), new V.j1(this_), l), true, l.i("M.E"))
C.Array.a5(l, H.fJ(seed.buffer, 0, null)) C.Array.a5(l, H.fJ(seed.buffer, 0, null))
A.eR(X.dc(l)) A.eR(X.dc(l))
return P._asyncReturn(null, async_completer) return P.async_return(null, async_completer)
} }
}) })
return P._asyncStartSync($async$ae, async_completer) return P._asyncStartSync($async$ae, async_completer)
@ -12996,7 +12993,7 @@ X.ProfileFind.prototype = {
async_goto = 1 async_goto = 1
break break
case 1: case 1:
return P._asyncReturn(q, async_completer) return P.async_return(q, async_completer)
} }
}) })
console.log("X.iW.O") console.log("X.iW.O")
@ -13023,7 +13020,7 @@ X.ProfileFind.prototype = {
m = P.List_List_of(new H.y(new H.a9(o, n), new X.iZ(this_), m), true, m.i("M.E")) m = P.List_List_of(new H.y(new H.a9(o, n), new X.iZ(this_), m), true, m.i("M.E"))
C.Array.a5(m, H.fJ(p.buffer, 0, null)) C.Array.a5(m, H.fJ(p.buffer, 0, null))
A.eR(X.dc(m)) A.eR(X.dc(m))
return P._asyncReturn(null, async_completer) return P.async_return(null, async_completer)
} }
}) })
return P._asyncStartSync($async$ae, async_completer) return P._asyncStartSync($async$ae, async_completer)
@ -13288,7 +13285,7 @@ HtmlRenderer.inner_render.prototype = {
} }
this_.ft(C.Array.cu(o.a, 0)) this_.ft(C.Array.cu(o.a, 0))
case 1: case 1:
return P._asyncReturn(q, async_complete) return P.async_return(q, async_complete)
} }
}) })
// console.log("输出 实力评分.ing") // console.log("输出 实力评分.ing")
@ -13559,7 +13556,7 @@ HtmlRenderer.send_win_data.prototype = {
// if (from_node) { // if (from_node) {
// // 怎么着输出一下 win_data // // 怎么着输出一下 win_data
// } // }
return P._asyncReturn(null, r) return P.async_return(null, r)
} }
}) })
return P._asyncStartSync($async$$0, r) return P._asyncStartSync($async$$0, r)
@ -16669,7 +16666,7 @@ T.Engine.prototype = {
} }
for (o = this_.c, n = o.length, h = 0; h < o.length; o.length === n || (0, H.F)(o), ++h) o[h].l = this_.b.n() for (o = this_.c, n = o.length, h = 0; h < o.length; o.length === n || (0, H.F)(o), ++h) o[h].l = this_.b.n()
case 1: case 1:
return P._asyncReturn(q, async_completer) return P.async_return(q, async_completer)
} }
}) })
return P._asyncStartSync($async$bD, async_completer) return P._asyncStartSync($async$bD, async_completer)
@ -16771,7 +16768,7 @@ T.Engine.prototype = {
async_goto = 1 async_goto = 1
break break
case 1: case 1:
return P._asyncReturn(result_, async_completer) return P.async_return(result_, async_completer)
} }
}) })
return P._asyncStartSync($async$O, async_completer) return P._asyncStartSync($async$O, async_completer)
@ -16861,7 +16858,7 @@ T.Engine.prototype = {
o = P.List_List_of(new H.y(new H.a9(n, p), new T.ji(q), o), true, o.i("M.E")) o = P.List_List_of(new H.y(new H.a9(n, p), new T.ji(q), o), true, o.i("M.E"))
C.Array.a5(o, H.fJ(q.dx.buffer, 0, null)) C.Array.a5(o, H.fJ(q.dx.buffer, 0, null))
A.eR(X.dc(o)) A.eR(X.dc(o))
return P._asyncReturn(null, r) return P.async_return(null, r)
} }
}) })
return P._asyncStartSync($async$cq, r) return P._asyncStartSync($async$cq, r)
@ -17219,7 +17216,7 @@ T.Plr.prototype = {
while (true) switch (s) { while (true) switch (s) {
case 0: case 0:
this_.az() this_.az()
return P._asyncReturn(null, r) return P.async_return(null, r)
} }
}) })
return P._asyncStartSync($async$cg, r) return P._asyncStartSync($async$cg, r)
@ -17926,7 +17923,7 @@ T.ActionSkill.prototype = {
return (a.n() & 127) < this.f return (a.n() & 127) < this.f
} }
} }
T.h8.prototype = { T.SklAttack.prototype = {
v(a, b, c, d) { v(a, b, c, d) {
var s, r, q, p, o = this, var s, r, q, p, o = this,
n = null, n = null,
@ -19218,14 +19215,12 @@ LangData.k_.prototype = {
instance_0u = hunkHelpers._instance_0u instance_0u = hunkHelpers._instance_0u
static_2(J, "bO", "t1", 59) static_2(J, "bO", "t1", 59)
static_1(H, "uv", "mv", 10) static_1(H, "uv", "mv", 10)
static_1(P, "uK", "_AsyncRun__scheduleImmediateJsOverride", 4) static_1(P, "uK", "_AsyncRun__scheduleImmediateJsOverride", 4)
static_1(P, "uL", "_AsyncRun__scheduleImmediateWithSetImmediate", 4) static_1(P, "uL", "_AsyncRun__scheduleImmediateWithSetImmediate", 4)
static_1(P, "uM", "_AsyncRun__scheduleImmediateWithTimer", 4) static_1(P, "uM", "_AsyncRun__scheduleImmediateWithTimer", 4)
static_0(P, "ow", "_startMicrotaskLoop", 0) static_0(P, "ow", "uD", 0)
static_2(P, "uN", "ux", 9) static_2(P, "uN", "ux", 9)
instance_2u(P._Future.prototype, "geg", "be", 9) instance_2u(P._Future.prototype, "geg", "be", 9)
install_static_tearoff(W, "uV", 4, null, ["$4"], ["tT"], 20, 0) install_static_tearoff(W, "uV", 4, null, ["$4"], ["tT"], 20, 0)
install_static_tearoff(W, "uW", 4, null, ["$4"], ["tU"], 20, 0) install_static_tearoff(W, "uW", 4, null, ["$4"], ["tU"], 20, 0)
static_2(HtmlRenderer, "oD", "rU", 62) static_2(HtmlRenderer, "oD", "rU", 62)
@ -19266,7 +19261,7 @@ LangData.k_.prototype = {
inherit_many(P.Object, inherit_many(P.Object,
[H.m8, J.Interceptor, J.db, P.O, P.ev, P.L, H.cv, P.fv, H.du, H.hV, H.kh, H.NullThrownFromJavaScriptException, H.ExceptionAndStackTrace, H.eE, H.c_, P.aU, H.jK, H.fA, [H.m8, J.Interceptor, J.db, P.O, P.ev, P.L, H.cv, P.fv, H.du, H.hV, H.kh, H.NullThrownFromJavaScriptException, H.ExceptionAndStackTrace, H.eE, H.c_, P.aU, H.jK, H.fA,
H.JSSyntaxRegExp, H.ew, H.kz, H.bK, H.l3, H.Rti, H.ib, H.iu, H.JSSyntaxRegExp, H.ew, H.kz, H.bK, H.l3, H.Rti, H.ib, H.iu,
P._TimerImpl, P.i_, P.f3, P.i4, P.cN, P.l8, P.i_, P.f3, P.i4, P.cN,
P._Future, P.i0, P.em, P.hO, P.hP, P.im, P.i1, P.i3, P.i7, P.ii, P.io, P.lf, P.eM, P.kV, P.ie, P.z, P.dY, P.fg, P.js, P.lc, P.lb, P.dq, P._Future, P.i0, P.em, P.hO, P.hP, P.im, P.i1, P.i3, P.i7, P.ii, P.io, P.lf, P.eM, P.kV, P.ie, P.z, P.dY, P.fg, P.js, P.lc, P.lb, P.dq,
P.Duration, P.fM, P.el, P.kG, P.jm, P.N, P.iq, P.cH, P.Duration, P.fM, P.el, P.kG, P.jm, P.N, P.iq, P.cH,
W.j8, W.m5, W.cP, W.cr, W.dN, W.eD, W.is, W.dv, W.kE, W.l_, W.ix, W.j8, W.m5, W.cP, W.cr, W.dN, W.eD, W.is, W.dv, W.kE, W.l_, W.ix,
@ -19292,7 +19287,7 @@ LangData.k_.prototype = {
inherit(H.NullError, P.bc) inherit(H.NullError, P.bc)
inherit_many(H.c_, inherit_many(H.c_,
[H.j5, H.j6, H.TearOffClosure, H.JsLinkedHashMap_values_closure, H.lv, H.lx, [H.j5, H.j6, H.TearOffClosure, H.JsLinkedHashMap_values_closure, H.lv, H.lx,
P.kB, P._AsyncRun__initializeScheduleImmediate_closure, P._awaitOnObject_closure, P.kK, P._Future__propagateToListeners_handleWhenCompleteCallback_closure, P.ke, P.kZ, P.Duration_toString_sixDigits, P.Duration_toString_twoDigits, P.kB, P.kA, P._awaitOnObject_closure, P.kK, P.kS, P.ke, P.kZ, P.Duration_toString_sixDigits, P.Duration_toString_twoDigits,
W.jf, W.kF, W.jP, W.jO, W.l0, W.l1, W.l7, W.jf, W.kF, W.jP, W.jO, W.l0, W.l1, W.l7,
P.lE, P.lF, P.lE, P.lF,
L.iS, L.iT, L.iU, L.iS, L.iT, L.iU,
@ -19323,7 +19318,7 @@ LangData.k_.prototype = {
inherit(H.NativeTypedArrayOfInt, H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin) inherit(H.NativeTypedArrayOfInt, H._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin)
inherit_many(H.NativeTypedArrayOfInt, [H.fE, H.fF, H.fG, H.fH, H.fI, H.dL, H.cx]) inherit_many(H.NativeTypedArrayOfInt, [H.fE, H.fF, H.fG, H.fH, H.fI, H.dL, H.cx])
inherit(H.eI, H.i9) inherit(H.eI, H.i9)
inherit_many(H.j5, [P.kC, P.kD, P._TimerImpl_internalCallback, P.jp, P.kH, P.kO, P.kM, P.kJ, P.kN, P.kI, P._Future__propagateToListeners_handleWhenCompleteCallback, P._Future__propagateToListeners_handleValueCallback, P._Future__propagateToListeners_handleError, P.kf, P.l2, P.kW, P.lo, P.kY, P.km, P.kl, X.je, X.j9, HtmlRenderer.send_win_data, Sgls.k4]) inherit_many(H.j5, [P.kC, P.kD, P._TimerImpl_internalCallback, P.jp, P.kH, P.kO, P.kM, P.kJ, P.kN, P.kI, P.kR, P.kQ, P.kP, P.kf, P.l2, P.kW, P.lo, P.kY, P.km, P.kl, X.je, X.j9, HtmlRenderer.send_win_data, Sgls.k4])
inherit(P.cg, P.i4) inherit(P.cg, P.i4)
inherit(P.cK, P.im) inherit(P.cK, P.im)
inherit(P.eF, P.em) inherit(P.eF, P.em)
@ -19380,7 +19375,7 @@ LangData.k_.prototype = {
T.SklRapid, T.SklRevive, T.SklPossess, T.SklShadow, T.SklSlow, T.SklRapid, T.SklRevive, T.SklPossess, T.SklShadow, T.SklSlow,
T.SklExplode, T.SklSummon, T.SklThunder, T.SklExplode, T.SklSummon, T.SklThunder,
T.SklAokijiIceAge, T.SklConan, T.CovidState, T.SklCovidAttack, T.SklIkarugaAttack, T.SklAokijiIceAge, T.SklConan, T.CovidState, T.SklCovidAttack, T.SklIkarugaAttack,
T.LazyState, T.SklLazyAttack, T.SklMarioGet, T.SklSaitama, T.h8, T.LazyState, T.SklLazyAttack, T.SklMarioGet, T.SklSaitama, T.SklAttack,
T.SklSimpleAttack, T.SkillVoid, T.SklDeathNote, T.SklRinickModifierClone, T.SklS11] T.SklSimpleAttack, T.SkillVoid, T.SklDeathNote, T.SklRinickModifierClone, T.SklS11]
) )
inherit_many(T.UpdateStateEntry, inherit_many(T.UpdateStateEntry,
@ -21573,7 +21568,7 @@ function main() {
logger.debug("so just here?", async_goto, error_code) logger.debug("so just here?", async_goto, error_code)
case 1: case 1:
logger.debug("返回中") logger.debug("返回中")
return P._asyncReturn(q, async_completer) return P.async_return(q, async_completer)
case 2: case 2:
return P.async_rethrow(async_result_1, async_completer) return P.async_rethrow(async_result_1, async_completer)
} }