j4pm/website/numbers.js

2 lines
10 KiB
JavaScript

// please don't deobfuscate this, it's not the intended solution.
const Z = d; function d(a, b) { const e = c(); return d = function (f, g) { f = f - 0x125; let h = e[f]; return h; }, d(a, b); } (function (e, f) { const a6 = { e: 0x132, f: 0x13c, g: 0x14f, h: 0x16b, i: 0x16e, j: 0x157, k: 0x158, l: 0x129 }, W = d, g = e(); while (!![]) { try { const h = -parseInt(W(a6.e)) / 0x1 * (-parseInt(W(a6.f)) / 0x2) + parseInt(W(a6.g)) / 0x3 + -parseInt(W(0x166)) / 0x4 * (parseInt(W(0x149)) / 0x5) + parseInt(W(a6.h)) / 0x6 + -parseInt(W(a6.i)) / 0x7 + parseInt(W(a6.j)) / 0x8 * (parseInt(W(a6.k)) / 0x9) + -parseInt(W(a6.l)) / 0xa; if (h === f) break; else g['push'](g['shift']()); } catch (i) { g['push'](g['shift']()); } } }(c, 0xa1d37)); const b = (function () { let e = !![]; return function (f, g) { const a7 = { e: 0x12d }, h = e ? function () { const X = d; if (g) { const i = g[X(a7.e)](f, arguments); return g = null, i; } } : function () { }; return e = ![], h; }; }()), a = b(this, function () { const ab = { e: 0x154, f: 0x14a, g: 0x15b }, Y = d; return a[Y(ab.e)]()[Y(ab.f)](Y(ab.g) + '\x2b\x24')[Y(0x154)]()['\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f' + '\x72'](a)['\x73\x65\x61\x72\x63\x68']('\x28\x28\x28\x2e\x2b\x29\x2b\x29\x2b\x29' + '\x2b\x24'); }); a(); const hints = [Z(0x13a) + '\x2d\x31\x2d\x2d\x2d\x2d', Z(0x16d) + Z(0x174), Z(0x167) + '\x2d\x2d\x35\x32\x31\x32', '\x35\x32\x30\x36\x36\x39\x36\x36\x30\x37' + Z(0x168), Z(0x138) + '\x33\x30\x37\x39\x34\x39', Z(0x16a) + Z(0x131), Z(0x172) + Z(0x176), Z(0x15e) + Z(0x146), Z(0x156) + Z(0x164), Z(0x145) + Z(0x139)]; let current_hints = []; const values = [], random_letters = '\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39' + Z(0x153) + '\x2b\x2c\x2d\x2e\x2f\x3a\x3b\x3c\x3d\x3e' + Z(0x152) + '\x7e', brightness = [Z(0x163), '\x23\x30\x38\x30\x38\x30\x38', '\x23\x31\x30\x31\x30\x31\x30', '\x23\x31\x38\x31\x38\x31\x38', '\x23\x32\x30\x32\x30\x32\x30', Z(0x12a), Z(0x148), Z(0x151), Z(0x127), '\x23\x34\x38\x34\x38\x34\x38', Z(0x162), Z(0x14b), '\x23\x36\x30\x36\x30\x36\x30', '\x23\x36\x38\x36\x38\x36\x38', Z(0x125), Z(0x12e), '\x23\x38\x30\x38\x30\x38\x30']; let used = []; const randomize_hint = e => { const ac = { e: 0x140, f: 0x171, g: 0x155, h: 0x165, i: 0x135, j: 0x13d }, a0 = Z; let f = ''; for (let g = 0x0; g < e[a0(0x12b)]; g++) { if ('\x6d\x76\x41\x53\x72' === a0(0x150)) { if (e[g] == '\x2d') { if (a0(ac.e) === '\x49\x63\x53\x55\x64') { let j = k[a0(ac.f) + a0(ac.g)](a0(0x130) + l); if (j != null) { let k = q(); while (k >= 0x25 && k < 0x3c) k = r(); let l = s(); j['\x73\x74\x79\x6c\x65'] = a0(ac.h) + a0(0x143) + '\x6c\x65\x66\x74\x3a\x20' + k + a0(ac.i) + l + '\x25\x3b'; if (t != 0x0) j[a0(0x170) + '\x74\x65'](a0(0x14e), !![]); } } else f += random_letters[Math['\x66\x6c\x6f\x6f\x72'](Math['\x72\x61\x6e\x64\x6f\x6d']() * random_letters['\x6c\x65\x6e\x67\x74\x68'])]; } else f += e[g]; } else { let k = ''; for (let l = 0x0; l < s[a0(0x12b)]; l++) { z[l] == '\x2d' ? k += F[G[a0(0x134)](H[a0(ac.j)]() * I['\x6c\x65\x6e\x67\x74\x68'])] : k += J[l]; } return k; } } return f; }; let num_allowed = 0x0, num_correct = 0x0; const compare_content = (e, f) => { const ad = { e: 0x144, f: 0x141, g: 0x175, h: 0x14d, i: 0x14c, j: 0x15f, k: 0x13d, l: 0x12b, m: 0x12b, n: 0x160, o: 0x133 }, a1 = Z; let g = '', h = 0x0; for (let j = 0x0; j < e[a1(0x12b)]; j++) { if (a1(0x137) === a1(0x137)) { if (f[j] == '\x2d' || e[j] != f[j] || h > num_allowed) { if (a1(0x144) === a1(ad.e)) h > num_allowed && Math[a1(0x13d)]() > 0.75 && num_allowed++, g += '\x2d'; else { j++, k[a1(0x159)] = a1(ad.f); let l = l[a1(0x171) + a1(0x155)]('\x62\x6f\x64\x79'); l[a1(ad.g)] = a1(ad.h) + a1(ad.i) + m[n]; } } else '\x63\x5a\x51\x66\x6f' !== a1(ad.j) ? o[p] == '\x2d' ? y += z[A['\x66\x6c\x6f\x6f\x72'](B[a1(ad.k)]() * C[a1(ad.l)])] : D += E[F] : (h++, g += f[j]); } else for (let n = 0x0; n < o[a1(ad.m)]; n++) { let o = t[a1(0x171) + a1(0x155)](a1(ad.n) + (n + 0x1)); if (o != null) { let p = o[a1(0x133) + '\x74']; o[a1(ad.o) + '\x74'] = x(y(p, z[n])); } } } return g; }, handleActive = () => { const ag = { e: 0x12b, f: 0x12f, g: 0x171, h: 0x133, i: 0x133, j: 0x139 }, a2 = Z; let e = document[a2(0x171) + '\x74\x6f\x72']('\x2e\x61\x63\x74\x69\x76\x65'); if (e != null) { if (a2(0x13e) === a2(0x13e)) for (let g = 0x0; g < hints[a2(ag.e)]; g++) { if ('\x61\x71\x70\x7a\x74' !== a2(ag.f)) { let h = document[a2(ag.g) + a2(0x155)](a2(0x160) + (g + 0x1)); if (h != null) { if (a2(0x12c) === a2(0x12c)) { let j = h['\x74\x65\x78\x74\x43\x6f\x6e\x74\x65\x6e' + '\x74']; h[a2(ag.h) + '\x74'] = randomize_hint(compare_content(j, hints[g])); } else { let l = k[a2(0x171) + '\x74\x6f\x72'](a2(0x160) + (l + 0x1)); if (l != null) { let m = l[a2(ag.i) + '\x74']; l['\x74\x65\x78\x74\x43\x6f\x6e\x74\x65\x6e' + '\x74'] = q(r(m, s[t])); } } } } else { const m = k ? function () { const a3 = a2; if (m) { const y = u[a3(0x12d)](v, arguments); return w = null, y; } } : function () { }; return p = ![], m; } } else j > k && l[a2(0x13d)]() > 0.75 && o++, n += '\x2d'; } let f = document[a2(ag.g) + a2(0x155)](a2(0x136)); if (f != null) { num_allowed = 0x0; for (let n = 0x0; n < hints[a2(ag.e)]; n++) { let o = document[a2(0x171) + a2(0x155)](a2(0x160) + (n + 0x1)); o != null && (o[a2(ag.h) + '\x74'] = randomize_hint('\x2d\x2d\x2d\x2d\x2d\x2d\x2d\x2d\x2d\x2d' + a2(ag.j))); } } }, handleClick = e => { const ah = { e: 0x147, f: 0x155, g: 0x136, h: 0x15c, i: 0x173, j: 0x171, k: 0x155, l: 0x15a, m: 0x142, n: 0x13b, o: 0x14d, p: 0x15a, q: 0x170, r: 0x130, s: 0x126, t: 0x13f }, a4 = Z; console[a4(ah.e)]('\x74\x68\x69\x73\x20\x6f\x6e\x65'); let f = document['\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63' + a4(ah.f)](a4(ah.g)); if (f != null) { if (num_correct >= 0x10) { if (a4(ah.h) === a4(0x15c)) f[a4(0x159)] = a4(ah.i); else { let j = g[a4(ah.j) + a4(ah.k)](a4(ah.l)); j != null && h < 0x10 && (j[a4(0x159)] = a4(0x141)); } } else { if (a4(ah.m) === a4(ah.m)) { num_correct++, f['\x63\x6c\x61\x73\x73\x4e\x61\x6d\x65'] = a4(0x141); let j = document[a4(0x171) + a4(0x155)](a4(ah.n)); j[a4(0x175)] = a4(ah.o) + '\x2d\x63\x6f\x6c\x6f\x72\x3a\x20' + brightness[num_correct]; } else i++, j += k[l]; } } else { let l = document[a4(0x171) + a4(ah.k)](a4(ah.p)); l != null && num_correct < 0x10 && (l['\x63\x6c\x61\x73\x73\x4e\x61\x6d\x65'] = a4(0x141)); } let g = document['\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63' + '\x74\x6f\x72'](a4(0x130) + e); console[a4(ah.e)](g); if (!g) return; g[a4(ah.q) + '\x74\x65'](a4(0x14e), !![]); let h = document[a4(0x171) + '\x74\x6f\x72'](a4(ah.r) + (e + 0x1)); console[a4(0x147)](h); if (!h) return; h[a4(ah.s) + a4(ah.t)]('\x64\x69\x73\x61\x62\x6c\x65\x64'); }, getRandom = () => Math[Z(0x134)](Math[Z(0x13d)]() * 0x4b) + 0x5, setupDivs = () => { const ai = { e: 0x169, f: 0x155, g: 0x175, h: 0x14e, i: 0x154 }, a5 = Z; for (let e = 0x0; e <= 0x10; e++) { if ('\x43\x65\x6d\x6e\x49' !== a5(ai.e)) { let f = document['\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63' + a5(ai.f)]('\x23\x62\x2d' + e); if (f != null) { let g = getRandom(); while (g >= 0x25 && g < 0x3c) g = getRandom(); let h = getRandom(); f[a5(ai.g)] = a5(0x165) + a5(0x143) + a5(0x128) + g + '\x25\x3b\x20\x74\x6f\x70\x3a\x20' + h + '\x25\x3b'; if (e != 0x0) f['\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75' + '\x74\x65'](a5(ai.h), !![]); } } else return g[a5(0x154)]()['\x73\x65\x61\x72\x63\x68'](a5(0x15b) + '\x2b\x24')[a5(ai.i)]()[a5(0x16c) + '\x72'](h)['\x73\x65\x61\x72\x63\x68'](a5(0x15b) + '\x2b\x24'); } }; document[Z(0x16f) + Z(0x161)](Z(0x15d) + '\x4c\x6f\x61\x64\x65\x64', () => { setInterval(handleActive, 0x3), setupDivs(); }); function c() { const ak = ['\x50\x6e\x67\x79\x78', '\x23\x62\x2d', '\x38\x32\x32\x33\x37\x39', '\x31\x78\x53\x54\x51\x4a\x72', '\x74\x65\x78\x74\x43\x6f\x6e\x74\x65\x6e', '\x66\x6c\x6f\x6f\x72', '\x25\x3b\x20\x74\x6f\x70\x3a\x20', '\x2e\x69\x6e\x61\x63\x74\x69\x76\x65', '\x69\x53\x6b\x70\x41', '\x38\x33\x37\x32\x32\x35\x33\x35\x31\x32', '\x2d\x2d\x2d\x2d\x2d\x2d', '\x31\x2d\x30\x2d\x2d\x2d\x2d\x30\x2d\x2d', '\x62\x6f\x64\x79', '\x34\x35\x36\x37\x37\x34\x7a\x6a\x6b\x46\x44\x74', '\x72\x61\x6e\x64\x6f\x6d', '\x4d\x47\x59\x56\x42', '\x69\x62\x75\x74\x65', '\x65\x49\x6c\x43\x61', '\x69\x6e\x61\x63\x74\x69\x76\x65', '\x56\x68\x62\x6d\x6a', '\x61\x62\x73\x6f\x6c\x75\x74\x65\x3b\x20', '\x76\x48\x73\x71\x78', '\x2d\x2d\x2d\x2d\x2d\x2d\x2d\x2d\x2d\x2d', '\x2d\x2d\x2d\x2d\x30\x36', '\x6c\x6f\x67', '\x23\x33\x30\x33\x30\x33\x30', '\x32\x35\x34\x30\x51\x75\x61\x44\x59\x41', '\x73\x65\x61\x72\x63\x68', '\x23\x35\x38\x35\x38\x35\x38', '\x2d\x63\x6f\x6c\x6f\x72\x3a\x20', '\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\x64', '\x64\x69\x73\x61\x62\x6c\x65\x64', '\x33\x35\x38\x32\x30\x32\x37\x54\x51\x4d\x4c\x59\x48', '\x6d\x76\x41\x53\x72', '\x23\x33\x38\x33\x38\x33\x38', '\x3f\x40\x5b\x5d\x5e\x5f\x60\x7b\x7c\x7d', '\x21\x22\x23\x24\x25\x26\x27\x28\x29\x2a', '\x74\x6f\x53\x74\x72\x69\x6e\x67', '\x74\x6f\x72', '\x36\x34\x31\x34\x31\x36\x30\x32\x30\x37', '\x33\x32\x31\x35\x38\x31\x36\x52\x42\x4b\x55\x61\x77', '\x31\x38\x59\x73\x5a\x53\x50\x58', '\x63\x6c\x61\x73\x73\x4e\x61\x6d\x65', '\x2e\x61\x63\x74\x69\x76\x65', '\x28\x28\x28\x2e\x2b\x29\x2b\x29\x2b\x29', '\x61\x4f\x46\x66\x61', '\x44\x4f\x4d\x43\x6f\x6e\x74\x65\x6e\x74', '\x30\x2d\x2d\x2d\x2d\x2d\x2d\x2d\x2d\x2d', '\x63\x5a\x51\x66\x6f', '\x23\x70\x2d', '\x73\x74\x65\x6e\x65\x72', '\x23\x35\x30\x35\x30\x35\x30', '\x23\x30\x30\x30\x30\x30\x30', '\x33\x30\x37\x31\x34\x35', '\x70\x6f\x73\x69\x74\x69\x6f\x6e\x3a\x20', '\x38\x33\x35\x36\x4a\x65\x43\x49\x72\x4a', '\x30\x35\x37\x32\x2d\x2d\x2d\x2d\x2d\x2d', '\x38\x31\x35\x36\x34\x39', '\x54\x56\x77\x70\x53', '\x31\x34\x31\x32\x33\x35\x38\x35\x33\x38', '\x36\x37\x32\x39\x37\x32\x36\x74\x6f\x72\x4b\x6d\x72', '\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x6f', '\x35\x2d\x30\x34\x2d\x32\x32\x38\x2d\x2d', '\x33\x31\x32\x32\x34\x38\x33\x4e\x7a\x53\x61\x58\x4d', '\x61\x64\x64\x45\x76\x65\x6e\x74\x4c\x69', '\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75', '\x71\x75\x65\x72\x79\x53\x65\x6c\x65\x63', '\x39\x39\x39\x30\x38\x31\x34\x32\x34\x39', '\x61\x63\x74\x69\x76\x65', '\x2d\x2d\x34\x2d\x2d\x2d', '\x73\x74\x79\x6c\x65', '\x30\x30\x32\x37\x31\x31', '\x23\x37\x30\x37\x30\x37\x30', '\x72\x65\x6d\x6f\x76\x65\x41\x74\x74\x72', '\x23\x34\x30\x34\x30\x34\x30', '\x6c\x65\x66\x74\x3a\x20', '\x31\x31\x37\x37\x38\x35\x31\x30\x74\x7a\x77\x76\x46\x48', '\x23\x32\x38\x32\x38\x32\x38', '\x6c\x65\x6e\x67\x74\x68', '\x49\x4a\x42\x59\x41', '\x61\x70\x70\x6c\x79', '\x23\x37\x38\x37\x38\x37\x38']; c = function () { return ak; }; return c(); }