好友
阅读权限10
听众
最后登录1970-1-1
|
本帖最后由 lin6163 于 2023-9-4 18:45 编辑
[Asm] 纯文本查看 复制代码 define("57B213D0269D88CF31D47BD78E3FC511.js", (function(require, module, exports, window, top, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, fetch, XMLHttpRequest, WebSocket, webkit, WeixinJSCore, Reporter, print, URL, DOMParser, requestAnimationFrame, getComputedStyle, Node, upload, preview, build, showDecryptedInfo, cleanAppCache, syncMessage, checkProxy, showSystemInfo, showMyOpenId, restoreLocalData, openVendor, openCrashDir, openCache, openEngine, cleanEngineWASM, openEditorCache, openToolsLog, showRequestInfo, help, showDebugInfoTable, closeDebug, showDebugInfo, __global, getMessageTunnelInfo, loadBabelMod, openInspect, openGameEngineDebugMode, closeGameEngineDebugMode, openGameEngineAssetsInspect, openUserDataPath, WeixinJSBridge, __WeixinJSBridge, __passWAServiceGlobal__) {
var e = require("@babel/runtime/helpers/interopRequireDefault.js").default;
Object.defineProperty(exports, "__esModule", {
value: !0
}),
exports.default = void 0;
var t = require("@babel/runtime/helpers/construct.js")
, a = require("@babel/runtime/helpers/toConsumableArray.js")
, o = e(require("33DE4781269D88CF55B82F867FCEC511.js"))
, s = e(require("BC4EAE33269D88CFDA28C634AFBEC511.js"))
, l = e(require("D1178500269D88CFB771ED07AD7FC511.js"))
, i = e(require("2106D0F1269D88CF4760B8F66E8FC511.js"))
, n = null
, r = {
login: {},
"dictionary/areas": {},
"active/mainTypes": {},
"banner/list": {},
"banner/detail": {},
"active/list2": {},
"active/detail": {},
"active/relation": {},
"active/relateDetail": {},
"active/minorDetail": {},
getActiveDetails: {},
getClubDetails: {},
"clubActive/list": {},
"tools/clubTag/detail": {},
"tools/clubTag/list": {},
"tools/clubTag/select": {},
"tools/lottery/detail": {},
"tools/lottery/select": {},
"tools/ballot/detail": {},
"tools/ballotSelUser/select": {},
"tools/ballot/select": {},
"games/mode/select": {},
"games/toolGames/select": {},
"games/toolGames/detail": {},
"games/battle/select": {},
"games/group/select": {},
"games/score/clubList": {},
"games/score/clubUserRank": {},
"games/score/userScores": {},
"games/score/wowInfo": {},
"games/scoreTopic/list": {},
"games/score/detail": {},
"house/list/detail": {},
"house/list/filters": {},
"house/list/select": {},
"house/list/videos": {},
"compete/toolComp/detail": {},
"compete/toolComp/minorDetail": {}
};
function c(e) {
var t = {}
, a = n && n.userInfo && n.userInfo.userId || 0;
return t.wy_us = s.default.encrypt(a),
t.cityCode = n && n.cityCode || "",
n && n.clubUuid && !e.clubUuid && (t.clubUuid = n.clubUuid),
n && n.userInfo && n.userInfo.moduleClassUuid && (t.moduleClassUuid = n.userInfo.moduleClassUuid),
n && n.shareUserId && (t.shareUserId = n.shareUserId),
t
}
function u() {
return o.default.getPackage().domain
}
var d = function(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0
, a = n.token || "";
r[e.serAddr] || a ? g(e, t) : n.xlogin.getToken((function(a) {
g(e, t)
}
))
}
, g = function(e) {
var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0;
e.cancelToast || wx.showLoading({
title: e.toastText || "请稍等..",
mask: !0
});
var a = e.url || u() + (e.serAddr ? e.serAddr : "")
, r = (new Date).getTime()
, g = e.data || {};
if (Object.assign(g, c(g) || {}),
(g = s.default.enWowCode({
str: JSON.stringify(g)
})).wowVer = 2,
console.warn("请求参数", a, g),
e.checkRepet) {
var f = i.default.isRepet({
apiKey: a,
data: g
});
if (f)
return void console.log("重复点击")
}
var m = wx.request({
url: a,
data: g,
method: e.method || "POST",
header: {
"content-type": "application/x-www-form-urlencoded",
Authorization: n.token || ""
},
success: function(a) {
e.cancelToast || wx.hideLoading();
var l = a.data || {}
, i = {};
for (var r in l)
if (Object.hasOwnProperty.call(l, r)) {
var c = l[r];
i[r] = c
}
var u = i[o.default.getPackage().resMsgKey]
, g = i[o.default.getPackage().resStatusKey];
if (i.msg = u || "操作失败",
g == o.default.getPackage().resStatus.noAuth && 0 == t)
return n.token = "",
0 != n.xlogin.loginStatus && 1 != n.xlogin.loginStatus && (n.xlogin.loginStatus = 0),
void d(e, 1);
var f = i.data || {}
, m = f.l_code || ""
, p = f.f_code || ""
, h = s.default.deWowCode({
f_code: m,
l_code: p,
enType: 1
});
h.error || (i.data = h.data),
g == o.default.getPackage().resStatus.ok ? e.success && e.success(i) : (g == o.default.getPackage().resStatus.empty && (i.empty = !0),
e.fail && e.fail(i)),
e.complete && e.complete(i)
},
fail: function(a) {
e.cancelToast || wx.hideLoading(),
console.log("requestAjax fail===>", a),
0 == t && (e.fail && e.fail({
msg: "操作失败"
}),
e.complete && e.complete({
msg: "操作失败"
}),
e.netTimeout && e.netTimeout())
},
complete: function(e) {
console.warn("请求完成", (new Date).getTime() - r, a, JSON.parse(JSON.stringify(e))),
l.default.remove({
apiKey: a
}),
i.default.remove({
apiKey: a
})
}
});
l.default.add({
apiKey: a,
data: g,
requestTask: m
})
};
var f = {
getAppInfo: function(e) {
n = e
},
getData: function(e, t) {
return e.data[t]
},
setData: function(e, t, a) {
e.setData(t, (function() {
a && a()
}
))
},
emit: function(e, t, a) {
e.triggerEvent(t, a)
},
showToast: function(e, t, a, o) {
var s = o || !1
, l = {
title: e,
mask: !0,
duration: t || 3e3,
icon: a || "none"
};
s && (l.image = s),
wx.showToast(l)
},
showModal: function(e) {
wx.showModal({
title: e.title || "提示",
content: e.content,
showCancel: e.showCancel || !1,
cancelText: e.cancelText || "取消",
confirmText: e.confirmText || "确定",
success: function(t) {
t.cancel ? e.cancel && e.cancel() : t.confirm && e.confirm && e.confirm()
}
})
},
requestAjax: d,
uploadImg: function(e) {
e.cancelToast || wx.showLoading({
title: e.toastText || "上传中..",
mask: !0
});
var t = e.data || {};
Object.assign(t, c(t) || {}),
console.log("上传图片携带参数", t),
console.log("文件路径", e.filePath),
wx.uploadFile({
url: u() + "upLoadImg",
filePath: e.filePath,
name: "photo",
formData: t,
method: "POST",
header: {
Authorization: n.token || ""
},
success: function(t) {
e.cancelToast || wx.hideLoading();
var a = t.data.charAt(0)
, s = t.data.charAt(t.data.length - 1);
if ("{" == a && "}" == s) {
t.data = JSON.parse(t.data);
t.data[o.default.getPackage().resMsgKey];
t.data[o.default.getPackage().resStatusKey] == o.default.getPackage().resStatus.ok ? e.success && e.success(t.data) : e.fail && e.fail(t.data),
e.complete && e.complete(t.data)
} else
t.data = {
msg: "上传失败"
},
e.fail && e.fail(t.data),
e.complete && e.complete(t.data)
},
fail: function(t) {
e.cancelToast || wx.hideLoading(),
e.fail && e.fail(),
e.complete && e.complete()
}
}).onProgressUpdate((function(t) {
e.cancelToast || wx.showLoading({
title: t.progress + "%",
mask: !0
})
}
))
},
time: function(e, o) {
var s, l = e || 0;
if (o)
if ("string" == typeof o) {
var i = (o = o.trim()).split(" ")
, n = []
, r = ""
, c = "";
i[0] && (r = i[0].split("-")),
i[1] && (c = i[1].split(":")),
r.length > 0 && (r[1] && (r[1] = r[1] - 1),
n = n.concat(r)),
c.length > 0 && (n = n.concat(c)),
s = t(Date, a(n))
} else
s = new Date(o);
else
s = new Date;
s.setDate(s.getDate() + l);
var u = s.getFullYear()
, d = s.getMonth() + 1
, g = s.getDate()
, f = s.getDay()
, m = s.getHours()
, p = s.getMinutes()
, h = s.getSeconds()
, v = s.getTime();
d < 10 && (d = "0" + d),
g < 10 && (g = "0" + g),
p < 10 && (p = "0" + p);
var w = u + "-" + d + "-" + g
, y = (m < 10 ? "0" + m : m) + ":" + p + ":" + (h < 10 ? "0" + h : h);
return {
typeA: d + "月" + g + "日",
typeB: w,
typeC: y,
typeD: w + " " + y,
typeE: (m < 10 ? "0" + m : m) + ":" + p,
typeF: d + "-" + g,
year: u,
month: d,
day: g,
week: f,
weekText: ["日", "一", "二", "三", "四", "五", "六"][f],
hour: m,
minute: p,
msec: v,
dayMsec: 864e5
}
}
};
exports.default = f;
}
));
[JavaScript] 纯文本查看 复制代码 define("BC4EAE33269D88CFDA28C634AFBEC511.js", (function(require, module, exports, window, top, document, frames, self, location, navigator, localStorage, history, Caches, screen, alert, confirm, prompt, fetch, XMLHttpRequest, WebSocket, webkit, WeixinJSCore, Reporter, print, URL, DOMParser, requestAnimationFrame, getComputedStyle, Node, upload, preview, build, showDecryptedInfo, cleanAppCache, syncMessage, checkProxy, showSystemInfo, showMyOpenId, restoreLocalData, openVendor, openCrashDir, openCache, openEngine, cleanEngineWASM, openEditorCache, openToolsLog, showRequestInfo, help, showDebugInfoTable, closeDebug, showDebugInfo, __global, getMessageTunnelInfo, loadBabelMod, openInspect, openGameEngineDebugMode, closeGameEngineDebugMode, openGameEngineAssetsInspect, openUserDataPath, WeixinJSBridge, __WeixinJSBridge, __passWAServiceGlobal__) {
Object.defineProperty(exports, "__esModule", {
value: !0
}),
exports.default = void 0;
var e = require("@babel/runtime/helpers/createClass.js")
, r = require("@babel/runtime/helpers/classCallCheck.js")
, t = require("miniprogram_npm/crypto-js/index.js")
, n = (t.enc.Utf8.parse("2023Y06M06D1221T"),
t.enc.Utf8.parse("0101T2019Y03M15D"),
t.enc.Utf8.parse("2023Y06M07D1855T"),
t.enc.Utf8.parse("1234T2022Y10M01D"),
t.enc.Utf8.parse("2019Y03M15D0101T"),
t.enc.Utf8.parse("1221T2023Y06M06D"),
e((function e() {
r(this, e)
}
)));
function i(e) {
var r = "";
try {
r = o(e = d(e = JSON.stringify(e)))
} catch (e) {}
return r
}
function a(e) {
var r = "";
try {
var t = f(e);
t = v(t),
r = JSON.parse(t)
} catch (e) {}
return r
}
function l(e, r) {
var t = "";
try {
t = e.slice(0, r) + Math.floor(10 * Math.random()) + e.slice(r)
} catch (e) {}
return t
}
function o(e) {
var r, t = "", n = 4;
try {
do {
t = e;
var i = Math.floor(9 * Math.random());
i > 9 && (i = 9),
t = (r = 0 == i ? "o" : 1 == i ? "Q" : 2 == i ? "i" : 3 == i ? "P" : 4 == i ? "A" : 5 == i ? "G" : 6 == i ? "*" : 7 == i ? "n" : 8 == i ? "W" : "s") + t;
for (var a = 0; a < i % 5; a++)
t = h(t);
if (t != r + e)
break
} while (n--)
} catch (e) {}
return r + t
}
function f(e) {
var r;
try {
var t = e.slice(0, 1);
if ("o" == t)
r = 0;
else if ("Q" == t)
r = 1;
else if ("i" == t)
r = 2;
else if ("P" == t)
r = 3;
else if ("A" == t)
r = 4;
else if ("G" == t)
r = 5;
else if ("*" == t)
r = 6;
else if ("n" == t)
r = 7;
else if ("W" == t)
r = 8;
else {
if ("s" != t)
return "";
r = 9
}
e = e.slice(1);
for (var n = 0; n < r % 5; n++)
e = c(e)
} catch (e) {}
return e.slice(1)
}
function h(e) {
var r = "";
try {
for (var t = function(e) {
var r, t, n = new Array, i = new Array;
try {
for (r = 0; r < e.length; r++) {
var a = 0;
if (1 == s(t = e.charCodeAt(r))) {
do {
if (t < 65536 ? (n[a++] = t >> 8 & 255,
n[a++] = 255 & t) : t < 16777216 ? (n[a++] = t >> 16 & 255,
n[a++] = t >> 8 & 255,
n[a++] = 255 & t) : t < 4294967296 && (n[a++] = t >> 24 & 255,
n[a++] = t >> 16 & 255,
n[a++] = t >> 8 & 255,
n[a++] = 255 & t),
++r >= e.length)
break;
t = e.charCodeAt(r)
} while (1 == s(t));r--,
n[a++] = 0,
n[a++] = 32,
n.length = a,
i.push(g(n))
} else if (t < 256)
n[a++] = 0,
n[a++] = t,
n.length = a,
i.push(g(n));
else if (t < 65536)
n[a++] = t >> 8 & 255,
n[a++] = 255 & t,
n.length = a,
i.push(g(n));
else if (t < 16777216)
n[a++] = t >> 16 & 255,
n[a++] = t >> 8 & 255,
n[a++] = 255 & t,
n.length = a,
i.push(g(n));
else {
if (!(t < 4294967296))
break;
n[a++] = t >> 24 & 255,
n[a++] = t >> 16 & 255,
n[a++] = t >> 8 & 255,
n[a++] = 255 & t,
n.length = a,
i.push(g(n))
}
}
} catch (e) {}
return i
}(e), n = 0, i = t.length - 1, a = null; !(n >= i); ) {
var l = t[n];
t[n] = t[i],
t[i] = l,
n++,
i--
}
var o = t.length % 5 + 1;
do {
n = 0,
i = t.length - 1,
a = new Array(t.length);
for (var f = 0; !(a[f++] = t[n++],
f >= t.length || (a[f++] = t[i--],
f >= t.length)); )
;
t = JSON.parse(JSON.stringify(a))
} while (o--);r = a.join("")
} catch (e) {}
return r
}
function c(e) {
var r = "";
try {
var t = function(e) {
var r, t, n = new Array, i = new Array;
try {
for (r = 0; r < e.length; r++) {
var a = 0;
if (1 == s(t = e.charCodeAt(r))) {
do {
if (t < 65536 ? (n[a++] = t >> 8 & 255,
n[a++] = 255 & t) : t < 16777216 ? (n[a++] = t >> 16 & 255,
n[a++] = t >> 8 & 255,
n[a++] = 255 & t) : t < 4294967296 && (n[a++] = t >> 24 & 255,
n[a++] = t >> 16 & 255,
n[a++] = t >> 8 & 255,
n[a++] = 255 & t),
++r >= e.length)
break;
t = e.charCodeAt(r)
} while (1 == s(t));n.length = a,
i.push(g(n))
} else if (t < 256)
n[a++] = 0,
n[a++] = t,
n.length = a,
i.push(g(n));
else if (t < 65536)
n[a++] = t >> 8 & 255,
n[a++] = 255 & t,
n.length = a,
i.push(g(n));
else if (t < 16777216)
n[a++] = t >> 16 & 255,
n[a++] = t >> 8 & 255,
n[a++] = 255 & t,
n.length = a,
i.push(g(n));
else {
if (!(t < 4294967296))
break;
n[a++] = t >> 24 & 255,
n[a++] = t >> 16 & 255,
n[a++] = t >> 8 & 255,
n[a++] = 255 & t,
n.length = a,
i.push(g(n))
}
}
} catch (e) {}
return i
}(e)
, n = t.length % 5 + 1;
do {
for (var i = 0, a = t.length - 1, l = new Array(t.length), o = 0; !(l[i++] = t[o++],
o >= t.length || (l[a--] = t[o++],
o >= t.length)); )
;
t = JSON.parse(JSON.stringify(l))
} while (n--);for (i = 0,
a = l.length - 1; !(i >= a); ) {
var f = l[i];
l[i] = l[a],
l[a] = f,
i++,
a--
}
r = l.join("")
} catch (e) {}
return r
}
function s(e) {
try {
if (55356 == e || 55357 == e || 55358 == e || 8205 == e || 65039 == e || 55356 == e || 55357 == e || 55358 == e || 65039 == e || 8419 == e || 8419 == e || 65039 == e || 8205 == e || 65039 == e || 12349 == e || 12336 == e || 12336 == e || e >= 56320 && e <= 57343 || e >= 56320 && e <= 57343 || e >= 8252 && e <= 12953 || e >= 8482 && e <= 11093)
return !0
} catch (e) {}
return !1
}
function u(e) {
var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "@";
return e ? e = e.replace(/[\u2028]/g, r) : e
}
function g(e) {
var r, t, n = "";
try {
for (t = 0; t < e.length; t += 2)
r = e[t] << 8 | e[t + 1],
n += String.fromCharCode(r)
} catch (e) {}
return n
}
function v(e) {
var r, t, n = "";
try {
var i = e.slice(0, 1);
if ("o" == i)
t = ["g", "q", "t", "o", "#", "W", "m", "r", "*", "u"];
else if ("Q" == i)
t = ["n", "s", "-", "y", "T", "@", "z", "K", "Q", "U"];
else if ("U" == i)
t = ["q", "S", "I", "P", "L", "k", "*", "V", "#", "M"];
else if ("P" == i)
t = ["S", "G", "H", "#", "k", "M", "*", "R", "q", "w"];
else if ("A" == i)
t = ["q", "r", "t", "&", "u", "*", "O", "#", "V", "n"];
else if ("G" == i)
t = ["M", "@", "S", "*", "N", "%", "h", "-", "l", "i"];
else if ("W" == i)
t = ["G", "[", "P", "q", "k", "L", "]", "m", "#", "V"];
else {
if ("i" != i)
return "";
t = ["[", "I", "o", "K", "J", "&", "T", "r", "H", "w"]
}
e = e.slice(1);
for (var a = 0; a < 10; a++)
e = e.split(t[a]).join(a.toString());
for (a = 0; a < e.length; a += 4)
r = Number("0x" + e.slice(a, a + 4)),
n += String.fromCharCode(r)
} catch (e) {}
return n
}
function d(e) {
var r, t, n, i = "";
try {
for (r = 0,
0; r < e.length; r++) {
for (t = e.charCodeAt(r).toString(16); 4 - t.length > 0; )
t = "0" + t;
i += t
}
var a, l = Math.floor(8 * Math.random());
for (0 == l ? (n = ["g", "q", "t", "o", "#", "W", "m", "r", "*", "u"],
a = "o") : 1 == l ? (n = ["n", "s", "-", "y", "T", "@", "z", "K", "Q", "U"],
a = "Q") : 2 == l ? (n = ["q", "S", "I", "P", "L", "k", "*", "V", "#", "M"],
a = "U") : 3 == l ? (n = ["S", "G", "H", "#", "k", "M", "*", "R", "q", "w"],
a = "P") : 4 == l ? (n = ["q", "r", "t", "&", "u", "*", "O", "#", "V", "n"],
a = "A") : 5 == l ? (n = ["M", "@", "S", "*", "N", "%", "h", "-", "l", "i"],
a = "G") : 6 == l ? (n = ["G", "[", "P", "q", "k", "L", "]", "m", "#", "V"],
a = "W") : (n = ["[", "I", "o", "K", "J", "&", "T", "r", "H", "w"],
a = "i"),
r = 0; r < 10; r++)
i = i.split(r.toString()).join(n[r]);
i = a + i
} catch (e) {}
return i
}
n.encrypt = i,
n.decrypt = a,
n.enWowCode = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, r = ""
, t = "";
try {
var n = e.str || ""
, a = e.enLength || 20
, f = e.enType || 0
, h = [2, 5, 7, 12, 15];
if (n = o(n = u(n, "")),
r = n.slice(0, a),
t = n.slice(a),
1 == f && (h = [3, 5, 9, 11, 14]),
r.length >= a)
h.forEach((function(e) {
r = l(r, e)
}
));
else {
var c = "";
c = l(c, -1),
c = l(c, -2),
c = l(c, -3),
c = l(c, -4),
c = l(c, -5),
r += c
}
} catch (e) {}
return {
f_code: t,
l_code: i(r)
}
}
,
n.deWowCode = function() {
var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {}
, r = {
error: !0,
data: {}
};
try {
var t = e.f_code || ""
, n = e.l_code || ""
, i = e.enLength || 20
, l = e.enType || 0
, o = [2, 5, 7, 12, 15]
, h = "";
if (1 == l && (o = [3, 5, 9, 11, 14]),
t) {
if ((t = a(t)).length - 5 >= i) {
var c = 0;
o.forEach((function(e) {
h += t.substring(c, e),
c = e + 1
}
)),
h += t.substring(c)
} else
h = t.slice(0, -5);
var s = f(h + n);
try {
var u = JSON.parse(s);
return {
error: !1,
data: u
}
} catch (e) {}
}
} catch (e) {}
return r
}
,
n.enMixins = o,
n.deMixins = f;
var p = n;
exports.default = p;
}
));
|
-
|