This commit is contained in:
shenjack 2024-03-05 22:34:27 +08:00
parent 137f377317
commit 3985c63cba
Signed by: shenjack
GPG Key ID: 7B1134A979775551
3 changed files with 184 additions and 66 deletions

View File

@ -3192,9 +3192,10 @@
},
V = {
main: function () {
var t3, t4, tr, td, t5, plist, pbody, p, a, i, b,
_s13_ = "Hello, World!",
t1 = document,
var t1, t2, t3, t4, tr, td, t5, plist, pbody, p, a, i, b,
_s13_ = "Hello, World!";
P.print($.$get$Dt_s_win());
t1 = document;
t2 = t1.querySelector("#an-id");
t2.toString;
t3 = t1.querySelector(".a-class");
@ -4511,7 +4512,8 @@
$._toStringVisiting = H.setRuntimeTypeInfo([], H.findType("JSArray<Object>"));
})();
(function lazyInitializers() {
var _lazyFinal = hunkHelpers.lazyFinal;
var _lazyFinal = hunkHelpers.lazyFinal,
_lazy = hunkHelpers.lazy;
_lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", function () {
return H.getIsolateAffinityTag("_$dart_dartClosure");
});
@ -4583,6 +4585,9 @@
_lazyFinal($, "_AsyncRun__scheduleImmediateClosure", "$get$_AsyncRun__scheduleImmediateClosure", function () {
return P._AsyncRun__initializeScheduleImmediate();
});
_lazy($, "Dt_s_win", "$get$Dt_s_win", function () {
return '<div class="smile s_win"></div>';
});
})();
(function nativeSupport() {
!function () {

View File

@ -43,7 +43,119 @@ num drawText(CanvasRenderingContext2D ctx, String txt, int x, int y, int w,
return 1;
}
class Dt {
static String ex = b('!');
static String add = b('+');
static String at = b('@');
static String atex = b('@!');
static String cln = b(':');
static String exTest = b('!test!');
static String u02 = b('\u0002');
static String u03 = b('\u0003');
// static String u04 = b('\u0004');
// static String u05 = b('\u0005');
// static String u200b = b('\u200B');
static String qq = b('??');
static String assassinate = b('assassinate');
static String exchange = b('exchange');
static String half = b('half');
static String charge = b('charge');
static String fire = b('fire');
static String ice = b('ice');
static String accumulate = b('accumulate');
static String poison = b('poison');
static String berserk = b('berserk');
static String charm = b('charm');
static String curse = b('curse');
static String iron = b('iron');
static String slow = b('slow');
static String haste = b('haste');
static String corpose = b('corpose');
static String shield = b('shield');
static String protect = b('protect');
static String upgrade = b('upgrade');
static String disperse = b('disperse');
static String zombie = b('zombie');
static String shadow = b('shadow');
static String summon = b('summon');
static String minionCount = b('minionCount');
static String bossName = b('bossName_');
static String mario = b('mario');
static String sonic = b('sonic');
static String mosquito = b('mosquito');
static String yuri = b('yuri');
static String slime = b('slime');
static String ikaruga = b('ikaruga');
static String conan = b('conan');
static String aokiji = b('aokiji');
static String lazy = b('lazy');
static String covid = b('covid');
static String saitama = b('saitama');
static String rinick = b('Rinick');
static String hanxu = b('涵虚');
static String lingyun = b('霛雲');
static String yunjian = b('云剑');
static String xinjiyuan = b('新纪元');
static String kuzan = b('库瓒');
static String kuzan1 = b('庫瓒');
static String qilala = b('琪拉拉');
static String chuncai = b('纯菜');
static String xueche = b('学🚗🀄学');
static String phy = b('Ø');
static String seed = b('seed:');
static String dio = b('dio');
static String mask = b('mask');
static String maskz = b('口罩');
static String ladderz = b('天梯');
static String s_win = b('<div class="smile s_win"></div>');
static String s_lose = b('<div class="smile s_lose"></div>');
static String s_elite1 = b('<div class="smile s_elite1"></div>');
static String s_elite2 = b('<div class="smile s_elite2"></div>');
static String s_elite3 = b('<div class="smile s_elite3"></div>');
static String s_boss = b('<div class="smile s_boss"></div>');
static String s_dmg0 = b('<div class="smile s_dmg0"></div>');
static String s_dmg120 = b('<div class="smile s_dmg120"></div>');
static String s_dmg160 = b('<div class="smile s_dmg160"></div>');
static String s_accumulate = b('<div class="s_accumulate s_win"></div>');
static String s_berserk = b('<div class="smile s_berserk"></div>');
static String s_charm = b('<div class="smile s_charm"></div>');
static String s_curse = b('<div class="smile s_curse"></div>');
static String s_exchange = b('<div class="smile s_exchange"></div>');
static String s_haste = b('<div class="smile s_haste"></div>');
static String s_ice = b('<div class="smile s_ice"></div>');
static String s_iron = b('<div class="smile s_iron"></div>');
static String s_poison = b('<div class="smile s_poison"></div>');
static String s_revive = b('<div class="smile s_revive"></div>');
static String s_slow = b('<div class="smile s_slow"></div>');
static String s_counter = b('<div class="smile s_counter"></div>');
static String s_reflect = b('<div class="smile s_reflect"></div>');
static String s_upgrade = b('<div class="smile s_upgrade"></div>');
static String namerena_domain = b('deepmess.com/namerena');
static String namerena_help = b('https://deepmess.com/zh/namerena/');
}
void main() {
print(Dt.s_win);
// Find an element by id (an-id).
Element idElement = querySelector('#an-id')!;
@ -98,3 +210,4 @@ void main() {
closuer();
print(a);
}

View File

@ -707,7 +707,7 @@
if (p != null && $.id.d != null && $.i8.d != null && p.d != null) {
s = O.w("k4w`nL1(zURGrm{kMa@1C`J^+LT,ubF", 27)
if ((window.localStorage.getItem(s) == null || C.a.n(window.localStorage.getItem(s).length, 100) !== 0) && $.i7.d != null) window.localStorage.setItem(s, new H.c3(H.a($.i7.d.split(""), t.s), t.H).cZ(0))
$.ht = J.iH($.id.d, "[1,3,0,9]", J.aD($.hA))
$.ht = J.iH($.id.d, "[1,3,0,9]", J.to_string($.hA))
r = (self.URL || self.webkitURL).createObjectURL(W.iK([$.i8.d], "text/css"))
q = (self.URL || self.webkitURL).createObjectURL(W.iK([J.iH($.ib.d, "md5.css", r)], "text/html"))
$.iy().src = q
@ -882,7 +882,7 @@
} else if (!0 === a) return "true"
else if (!1 === a) return "false"
else if (a == null) return "null"
s = J.aD(a)
s = J.to_string(a)
if (typeof s != "string") throw H.b(H.a8(a))
return s
},
@ -900,7 +900,7 @@
lr(a) {
var s, r, q, p
if (a instanceof P.Object) return H.U(H.Z(a), null)
if (J.aA(a) === C.R || t.cC.b(a)) {
if (J.get_interceptor(a) === C.R || t.cC.b(a)) {
s = C.q(a)
r = s !== "Object" && s !== ""
if (r) return s
@ -1033,7 +1033,7 @@
s = a.$D
r = s == null
q = !r ? s() : null
p = J.aA(a)
p = J.get_interceptor(a)
o = p.$C
if (typeof o == "string") o = p[o]
if (r) {
@ -1108,7 +1108,7 @@
return s
},
nK() {
return J.aD(this.dartException)
return J.to_string(this.dartException)
},
D(a) {
throw H.b(a)
@ -2104,7 +2104,7 @@
return s != null ? s : H.i3(a)
}
if (Array.isArray(a)) return H.aj(a)
return H.i3(J.aA(a))
return H.i3(J.get_interceptor(a))
},
aj(a) {
var s = a[v.arrayRti],
@ -2217,7 +2217,7 @@
if (a == null) return H.hb(r)
s = r.r
if (a instanceof P.Object) return !!a[s]
return !!J.aA(a)[s]
return !!J.get_interceptor(a)[s]
},
mF(a) {
var s, r = this
@ -2226,7 +2226,7 @@
if (Array.isArray(a)) return !0
s = r.r
if (a instanceof P.Object) return !!a[s]
return !!J.aA(a)[s]
return !!J.get_interceptor(a)[s]
},
p6(a) {
var s = this
@ -3172,7 +3172,7 @@
x: d
}
},
hl(a) {
get_native_interceptor(a) {
var s, r, q, p, o, n = a[v.dispatchPropertyName]
if (n == null)
if ($.ic == null) {
@ -3285,42 +3285,42 @@
}
return b
},
aA(a) {
get_interceptor(a) {
if (typeof a == "number") {
if (Math.floor(a) == a) return J.bP.prototype
return J.cX.prototype
if (Math.floor(a) == a) return J.JsInt.prototype
return J.JsDouble.prototype
}
if (typeof a == "string") return J.ar.prototype
if (a == null) return J.bQ.prototype
if (typeof a == "boolean") return J.cW.prototype
if (a.constructor == Array) return J.p.prototype
if (typeof a == "string") return J.JsString.prototype
if (a == null) return J.JsNull.prototype
if (typeof a == "boolean") return J.JsBool.prototype
if (a.constructor == Array) return J.JsArray.prototype
if (typeof a != "object") {
if (typeof a == "function") return J.ad.prototype
if (typeof a == "function") return J.JavaScriptFunction.prototype
return a
}
if (a instanceof P.Object) return a
return J.hl(a)
return J.get_native_interceptor(a)
},
t(a) {
if (typeof a == "string") return J.ar.prototype
if (typeof a == "string") return J.JsString.prototype
if (a == null) return a
if (a.constructor == Array) return J.p.prototype
if (a.constructor == Array) return J.JsArray.prototype
if (typeof a != "object") {
if (typeof a == "function") return J.ad.prototype
if (typeof a == "function") return J.JavaScriptFunction.prototype
return a
}
if (a instanceof P.Object) return a
return J.hl(a)
return J.get_native_interceptor(a)
},
al(a) {
if (a == null) return a
if (a.constructor == Array) return J.p.prototype
if (a.constructor == Array) return J.JsArray.prototype
if (typeof a != "object") {
if (typeof a == "function") return J.ad.prototype
if (typeof a == "function") return J.JavaScriptFunction.prototype
return a
}
if (a instanceof P.Object) return a
return J.hl(a)
return J.get_native_interceptor(a)
},
nb(a) {
if (typeof a == "number") return J.aJ.prototype
@ -3330,13 +3330,13 @@
},
nc(a) {
if (typeof a == "number") return J.aJ.prototype
if (typeof a == "string") return J.ar.prototype
if (typeof a == "string") return J.JsString.prototype
if (a == null) return a
if (!(a instanceof P.Object)) return J.av.prototype
return a
},
a2(a) {
if (typeof a == "string") return J.ar.prototype
if (typeof a == "string") return J.JsString.prototype
if (a == null) return a
if (!(a instanceof P.Object)) return J.av.prototype
return a
@ -3344,11 +3344,11 @@
aB(a) {
if (a == null) return a
if (typeof a != "object") {
if (typeof a == "function") return J.ad.prototype
if (typeof a == "function") return J.JavaScriptFunction.prototype
return a
}
if (a instanceof P.Object) return a
return J.hl(a)
return J.get_native_interceptor(a)
},
eb(a, b) {
if (typeof a == "number" && typeof b == "number") return a + b
@ -3357,7 +3357,7 @@
a3(a, b) {
if (a == null) return b == null
if (typeof a != "object") return b != null && a === b
return J.aA(a).a_(a, b)
return J.get_interceptor(a).a_(a, b)
},
ao(a, b) {
if (typeof b === "number")
@ -3407,7 +3407,7 @@
return J.al(a).gac(a)
},
ec(a) {
return J.aA(a).gF(a)
return J.get_interceptor(a).gF(a)
},
a9(a) {
return J.al(a).gB(a)
@ -3431,7 +3431,7 @@
return J.al(a).bv(a, b, c)
},
kM(a, b) {
return J.aA(a).aq(a, b)
return J.get_interceptor(a).aq(a, b)
},
iF(a, b, c) {
return J.aB(a).bF(a, b, c)
@ -3460,20 +3460,20 @@
kQ(a, b) {
return J.nb(a).dE(a, b)
},
aD(a) {
return J.aA(a).j(a)
to_string(a) {
return J.get_interceptor(a).j(a)
},
ef(a) {
return J.a2(a).dF(a)
},
Interceptor: function I() { },
cW: function cW() { },
bQ: function bQ() { },
JsBool: function cW() { },
JsNull: function bQ() { },
as: function as() { },
dh: function dh() { },
av: function av() { },
ad: function ad() { },
p: function p(a) {
JavaScriptFunction: function ad() { },
JsArray: function p(a) {
this.$ti = a
},
eE: function eE(a) {
@ -3487,9 +3487,9 @@
_.d = null
},
aJ: function aJ() { },
bP: function bP() { },
cX: function cX() { },
ar: function ar() { }
JsInt: function bP() { },
JsDouble: function cX() { },
JsString: function ar() { }
},
K = {
jP(a) {
@ -4866,7 +4866,7 @@
return new P.b3(1e6 * a)
},
b4(a) {
if (typeof a == "number" || H.is_bool(a) || a == null) return J.aD(a)
if (typeof a == "number" || H.is_bool(a) || a == null) return J.to_string(a)
if (typeof a == "string") return JSON.stringify(a)
return P.l6(a)
},
@ -4925,7 +4925,7 @@
return new P.ey(a, b, c)
},
jW(a) {
H.print_string(H.d(J.aD(a)))
H.print_string(H.d(J.to_string(a)))
},
lO(a) {
var s = t.N
@ -5642,7 +5642,7 @@
throw H.b(P.j5(a, b.gbw(), b.gbE(), b.gby()))
}
}
J.cW.prototype = {
J.JsBool.prototype = {
j(a) {
return String(a)
},
@ -5651,7 +5651,7 @@
},
$iN: 1
}
J.bQ.prototype = {
J.JsNull.prototype = {
a_(a, b) {
return null == b
},
@ -5677,15 +5677,15 @@
}
J.dh.prototype = {}
J.av.prototype = {}
J.ad.prototype = {
J.JavaScriptFunction.prototype = {
j(a) {
var s = a[$.hB()]
if (s == null) return this.bP(a)
return "JavaScript function for " + H.d(J.aD(s))
return "JavaScript function for " + H.d(J.to_string(s))
},
$iaI: 1
}
J.p.prototype = {
J.JsArray.prototype = {
D(a, b) {
var s
if (!!a.fixed$length) H.D(P.L("addAll"))
@ -5932,11 +5932,11 @@
},
$iO: 1
}
J.bP.prototype = {
J.JsInt.prototype = {
$il: 1
}
J.cX.prototype = {}
J.ar.prototype = {
J.JsDouble.prototype = {}
J.JsString.prototype = {
K(a, b) {
if (b < 0) throw H.b(H.aV(a, b))
if (b >= a.length) H.D(H.aV(a, b))
@ -7396,7 +7396,7 @@
P.hd.prototype = {
$0() {
var s = H.b(this.a)
s.stack = J.aD(this.b)
s.stack = J.to_string(this.b)
throw s
},
$S: 0
@ -9274,7 +9274,7 @@
}
r = "element unprintable"
try {
r = J.aD(a)
r = J.to_string(a)
} catch (p) {
H.unwrap_Exception(p)
}
@ -10728,10 +10728,10 @@
_inherit_many = hunkHelpers.inheritMany
_inherit(P.Object, null)
_inherit_many(P.Object, [H.Js_Const, J.Interceptor, J.ArrayIterator, P.Error, P.cg, H.aG, P.r, H.a5, P.cV, H.bJ, H.dC, H.bi, P.bV, H.bD, H.eD, H.fc, H.eY, H.bI, H.StackTrace, H.fM, P.bb, H.eI, H.d1, H.b8, H.ch, H.dH, H.dv, H.fT, H.Rti, H.function_parameters, H.e2, P.fY, P.dI, P.cE, P.dL, P.bs, P.v, P.dJ, P.c6, P.dt, P.du, P.dX, P.h5, P.cu, P.fL, P.dS, P.k, P.e4, P.c4, P.cK, P.fr, P.fq, P.h2, P.h1, P.b2, P.b3, P.OutOfMemoryError, P.StackOverflowError, P.fw, P.ey, P.u, P.dZ, P.bh, W.ep, W.hL, W.bt, W.bM, W.c0, W.co, W.e0, W.bK, W.fs, W.fQ, W.e5, P.fU, P.fk, P.W, P.eX, P.fJ, O.b6, O.eA, O.cS, O.ei, O.ej, O.en, O.el, O.fb, O.f5, Y.ag, N.cP, N.f0, S.dd, G.cY, G.d3, G.cH, Q.dV, V.dk, V.eC, D.f2, D.f1, Y.dm])
_inherit_many(J.Interceptor, [J.cW, J.bQ, J.as, J.p, J.aJ, J.ar, H.bX, H.A, W.cQ, W.aE, W.eo, W.dM, W.er, W.es, W.c, W.bL, W.d4, W.dT, W.dW, W.e6, P.bR])
_inherit_many(J.as, [J.dh, J.av, J.ad])
_inherit(J.eE, J.p)
_inherit_many(J.aJ, [J.bP, J.cX])
_inherit_many(J.Interceptor, [J.JsBool, J.JsNull, J.as, J.JsArray, J.aJ, J.JsString, H.bX, H.A, W.cQ, W.aE, W.eo, W.dM, W.er, W.es, W.c, W.bL, W.d4, W.dT, W.dW, W.e6, P.bR])
_inherit_many(J.as, [J.dh, J.av, J.JavaScriptFunction])
_inherit(J.eE, J.JsArray)
_inherit_many(J.aJ, [J.JsInt, J.JsDouble])
_inherit_many(P.Error, [H.d0, H.dn, H.c1, P.a6, H.d_, H.dB, H.dp, H.dN, P.cD, P.de, P.a_, P.dc, P.dD, P.UnimplementedError, P.set_error_test, P.cL, P.cN])
_inherit(P.bT, P.cg)
_inherit_many(P.bT, [H.bm, W.M])
@ -10937,11 +10937,11 @@
C.d = W.b1.prototype
C.v = W.aH.prototype
C.R = J.Interceptor.prototype
C.c = J.p.prototype
C.a = J.bP.prototype
C.c = J.JsArray.prototype
C.a = J.JsInt.prototype
C.j = J.aJ.prototype
C.b = J.ar.prototype
C.S = J.ad.prototype
C.b = J.JsString.prototype
C.S = J.JavaScriptFunction.prototype
C.da = W.d4.prototype
C.h = H.aO.prototype
C.A = J.dh.prototype