有关事件部分

This commit is contained in:
shenjack 2024-03-24 17:36:42 +08:00
parent 5c5f4bb077
commit fcaa1f22a7
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 28 additions and 14 deletions

View File

@ -8703,10 +8703,10 @@
}
W.cQ.prototype = {
cw(a, b, c, d) {
if (c != null) this.c4(a, b, c, false)
if (c != null) this.add_event_listener(a, b, c, false)
},
c4(a, b, c, d) {
return a.addEventListener(b, H.convertDartClosureToJS(c, 1), false)
add_event_listener(receiver, type, listener, options) {
return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1), false)
},
cg(a, b, c, d) {
return a.removeEventListener(b, H.convertDartClosureToJS(c, 1), false)
@ -10153,7 +10153,8 @@
// send "??" to iframe
// or call as send_fast
d5(a) {
J.iF(W.hY(this.cy.contentWindow), $.kd(), "*")
// J.iF(W.hY(this.cy.contentWindow), $.kd(), "*")
this.cy.contentWindow.postMessage("??", "*")
},
bD(a) {
var s, r, q, p, o, n, m, l, k = this,

33
md5.js
View File

@ -8424,7 +8424,10 @@
w(a, b) {
var s
for (s = 0; s < a.length; ++s)
if (J.Y(a[s], b)) return true
// if (J.Y(a[s], b)) return true
if (a[s] === b) {
return true
}
return false
},
k(a) {
@ -11343,8 +11346,9 @@
this.add_event_listener(receiver, type, listener, false)
}
},
add_event_listener(receiver_, tyoe, listener, options) {
return receiver_.addEventListener(tyoe, H.convert_dart_closure_to_js_md5(listener, 1), false)
add_event_listener(receiver_, type, listener, options) {
console.log("md5.js add event listener type:", type, "listener:", listener, receiver_, listener, options)
return receiver_.addEventListener(type, H.convert_dart_closure_to_js_md5(listener, 1), false)
}
}
W.cq.prototype = {
@ -12531,6 +12535,7 @@
})
return P.ak($async$O, r)
},
// 实力评分 输出
eS() {
var s, r = this,
q = H.b([], t.U),
@ -12589,18 +12594,21 @@
}
}
V.j_.prototype = {
// 频率 输出
$2(a, b) {
var s, r, q, p, o = null,
var s, r, get_quote, p, o = null,
n = this.a
if (b / n.d > 0.005) {
s = H.b([], t.U)
r = H.b([], t.Y)
q = $.iK() // ??
get_quote = $.iK()
// $.iK = ??
// J.lW
if (J.lW(a, $.ne())) {
q = "0"
get_quote = "0"
}
p = this.b
s.push(T.f(a, p, o, q, o, 0, 1000, 100))
s.push(T.f(a, p, o, get_quote, o, 0, 1000, 100))
// benchmarkSkill
// 频率: [2]%
s.push(T.f(LangData.d("GJgn"), p, o, b * 100 / n.d, o, 0, 1000, 100))
@ -12852,7 +12860,9 @@
r = new P.kx([], [])
r.c = true
// if (J.Y(r.aO(s), $.iK())) {
if (r.aO(s) === $.iK()) {
// if (r.aO(s) === $.iK()) {
console.log("fq.fc", a, b, r.aO(s))
if (r.aO(s) === "??") {
this.y = 2000
}
},
@ -15282,7 +15292,8 @@
for (s = $.a(); s < r.length; ++s) r[s].W()
},
cE() {
return $.iK()
// return $.iK()
return "??"
},
gaS() {
return []
@ -17110,7 +17121,9 @@
},
aY(a) {
var s = $.mU()
if (a > $.q4()) return $.iK()
if (a > $.q4()) {
return $.iK() // ??
}
return C.c.k(a + s)
},
gb2() {