Compare commits

...

4 Commits
main ... tmp

Author SHA1 Message Date
3fb26987e0
挣扎 2024-03-22 12:15:28 +08:00
4c9d13b5f9 对HTMLRenderer交互的探索 2024-03-20 23:08:31 +08:00
d371947e86 抓对战结果中 2024-03-20 15:44:33 +08:00
5992d2fb23 抓对战结果中 2024-03-20 14:29:36 +08:00
4 changed files with 8100 additions and 5007 deletions

View File

@ -12,7 +12,7 @@
]
},
"QP": {
"mode": "disabled",
"mode": "preliminary",
"thresholds": [
{
"score": 5500,
@ -25,7 +25,7 @@
]
},
"QD": {
"mode": "disabled",
"mode": "preliminary",
"thresholds": [
{
"score": 5500,
@ -37,7 +37,7 @@
]
},
"PP": {
"mode": "disabled",
"mode": "preliminary",
"thresholds": [
{
"count": 10,
@ -50,7 +50,7 @@
]
},
"PD": {
"mode": "disabled",
"mode": "preliminary",
"thresholds": [
{
"count": 10000

View File

@ -387,6 +387,9 @@
if (a == null) throw H.h(new H.dO(b, c.i("dO<0>")))
return a
},
//补
b(a,b){a[v.arrayRti]=b
return a},
t5(a, b, c, d) {
if (t.gw.b(a)) return new H.dr(a, b, c.i("@<0>").aL(d).i("dr<1,2>"))
return new H.c6(a, b, c.i("@<0>").aL(d).i("c6<1,2>"))
@ -3280,6 +3283,7 @@
},
j(a, b) {
var result = C.P_kj.bt(0, X.f4(a, b))
output(a, b, result)
return result
},
get_obfuscated_value(a) {
@ -3363,6 +3367,10 @@
async_await(a, b) {
P.await_on_object(a, b)
},
//补回来
am(a) {
return new P.i_(new P.U($.P, a.i("U<0>")), a.i("i_<0>"))
},
async_return(a, b) {
b.bM(0, a)
},
@ -4458,16 +4466,19 @@
// main
switch_to = 5
/*m = window.sessionStorage.getItem(O.obfuscate_str_h("k")) // fYwD
/*
//m = window.sessionStorage.getItem(O.obfuscate_str_h("k")) // fYwD
m=window.name_input
l = X.f4(m, 0)
k = O.oC(!1)
k = LanData.oC(!1)
a8 = t.i
j = H.set_run_time_type_info([], a8)
J.rr(j, H.set_run_time_type_info([1, 3, 0, 9], a8))
k.bO(j)
k.di(l)
i = C.P_kj.bt(0, l)*/
i = C.P_kj.bt(0, l)
h=T.rR(i)
*/
input_name = window.name_input
parsed_names = T.parse_string(input_name)
@ -4551,7 +4562,7 @@
return P.async_await(T.c2(parsed_names), $async$iE)
case 8:
a0 = async_result
HtmlRenderer.init_out(a0)
var document1=HtmlRenderer.init_out(a0)
switch_to = 2
async_goto = 7
break
@ -4595,6 +4606,51 @@
e.a.push(T.f(p, a, r, new T.bm(s), null, s, 1000, 100))
}
},
//补
rR(a){var s,r,q,p,o,n,m,l,k,j,i,h,g,f,e=null,d=t.E,c=H.b([],d),b=C.b.cK(a,$.r_())
for(s=$.a();s<b.length;++s){r=b[s]
q=$.r0()
r.toString
r=H.iG(r,q," ",0)
q=$.nq()
b[s]=H.iG(r,q,"",0)}for(;J.Y(C.a.gbl(b),"");){b.pop()
if(b.length===0)return H.b([],d)}p=C.a.w(b,"")&&!0
d=t.t
o=H.b([],d)
for(s=$.a(),r=t.V,q=!p,n=e;s<b.length;++s){m=b[s]
if(m===""){if(o.length!==0)c.push(o)
o=H.b([],d)
n=e
continue}if(q){if(o.length!==0)c.push(o)
o=H.b([],d)}l=$.lO()
m.toString
if(l==null)H.G(H.R(l))
if(H.iF(m,l,0)){k=C.b.aT(m,$.lO())
j=C.b.dF(C.b.ay(m,k+$.i()))
l=C.b.af(m,$.a(),k)
i=$.nq()
m=H.iG(l,i,"",0)}else j=e
l=$.n3()
if(l==null)H.G(H.R(l))
if(H.iF(m,l,0)){h=C.b.cK(m,$.n3())
if(J.m1(h[$.a()]," ")){l=$.a()
h[l]=J.nB(h[l],$.i())}if(!J.Y(h[$.i()],"")){l=h[$.i()]
i=$.n5()
l.toString
if(i==null)H.G(H.R(i))
g=J.a3(l)
f=g.gp(l)
if(0>f)H.G(P.a8(0,0,g.gp(l),e,e))
l=H.iF(l,i,0)}else l=!0
if(l)o.push(H.b([h[$.a()],null,j],r))
else o.push(H.b([h[$.a()],h[$.i()],j],r))}else if(C.b.bA(m," "))o.push(H.b([C.b.ay(m,$.i()),n,j],r))
else{if(s+$.i()<b.length){l=$.n5()
if(l==null)H.G(H.R(l))
l=!H.iF(m,l,0)&&J.m1(b[s+$.i()]," ")}else l=!1
if(l)n=m
else{o.push(H.b([m,null,j],r))
n=e}}}if(o.length!==0)c.push(o)
return c},
nC(a) {
var s = new T.dd($.i(), $.a())
s.r = a
@ -12920,21 +12976,21 @@
$iaN: 1
}
HtmlRenderer.fq.prototype = {
e0(a) {
e0(a) {//似乎在渲染什么应该是跟主页面html交互但现在会报错
var s, r, q, p = this
if (p.a == null) return
A.vo(p.gfd())
p.d = P.mi(P.fm(10, 0), p.gbc(p))
W.es(window, "resize", p.gff(p), false)
p.ds(0, null)
W.es(window, "resize", p.gff(p), false)//此处p.gff(p)报错
p.ds(0, null)//p.ds undefined
s = HtmlRenderer.add_p("row")
r = p.b
r.appendChild(s)
q = HtmlRenderer.add_span("welcome")
q.textContent = LanData.get_obfuscated_value("CeaN")
q.textContent = "名字竞技场"
s.appendChild(q)
q = HtmlRenderer.add_span("welcome2")
q.textContent = LanData.get_obfuscated_value("NosN")
q.textContent = "(MD5大作战10周年纪念)"
s.appendChild(q)
q = p.c
if (q.gbu(q) != null) {
@ -16400,10 +16456,10 @@
return this.dM(0, b)
},
dM(a, b) {
// var s = 0,
// r = P.am(t.z),
// q = this,
// p, o, n, m, l, k, j
var s = 0,
r = P.am(t.z),
q = this,
p, o, n, m, l, k, j
// var $async$ae = P.an(function (c, d) {
// if (c === 1) return P.ai(d, r)
// while (true) switch (s) {

View File

@ -67,5 +67,6 @@ async function test(str) {
//str="!test!\n!\n\n11@qwerb\n\n1233";
str = "!test!\n!\n\n一一唹咤嵀㴁@shenjack\n\n一一塄望烀㴁@shenjack";
str="11\n\n1233";
test(str)

File diff suppressed because one or more lines are too long