From ea85edc02af7c13a6270613506e88af05bbea993 Mon Sep 17 00:00:00 2001 From: peshomir Date: Wed, 28 Aug 2024 14:52:16 +0000 Subject: [PATCH] deploy: 388dfb7f0f4e69bdf6eea527b8c2a93573fb8de8 --- fx_core.js | 2 +- game.js | 8957 ++++++++++++++++++++++++++-------------------------- index.html | 8 +- 3 files changed, 4537 insertions(+), 4430 deletions(-) diff --git a/fx_core.js b/fx_core.js index 26b15f3..861dd05 100644 --- a/fx_core.js +++ b/fx_core.js @@ -1,4 +1,4 @@ -const dictionary = {"gIsTeamGame":"hl","game":"a2","playerId":"es","playerData":"aX","playerNames":"l3","rawPlayerNames":"vM","playerBalances":"et","playerTerritories":"ep","gameState":"uU","fontSize":"fontSize","x":"ff","y":"fg","canvas":"gM","gHumans":"ip","playerStates":"xv","fontGeneratorFunction":"b2.kt.ky","gIsSingleplayer":"jD","gLobbyMaxJoin":"sG","SingleplayerMenu":"aQ","getSingleplayerPlayerCount":"yx","gMaxPlayers":"f1","gBots":"jA","strs":"a4h","uiSizes":"bQ","gap":"gap","i":"a0"}; +const dictionary = {"gIsTeamGame":"hl","game":"a2","playerId":"es","playerData":"aX","playerNames":"l3","rawPlayerNames":"vN","playerBalances":"et","playerTerritories":"ep","gameState":"uV","fontSize":"fontSize","x":"ff","y":"fg","canvas":"gM","gHumans":"ip","playerStates":"xw","fontGeneratorFunction":"b2.kt.ky","gIsSingleplayer":"jD","gLobbyMaxJoin":"sH","SingleplayerMenu":"aQ","getSingleplayerPlayerCount":"yy","gMaxPlayers":"f1","gBots":"jA","strs":"a4i","uiSizes":"bQ","gap":"gap","i":"a0"}; const fx_version = '0.6.5.5'; // FX Client Version const fx_update = 'Aug 26'; // FX Client Last Updated diff --git a/game.js b/game.js index daf88fd..17b2777 100644 --- a/game.js +++ b/game.js @@ -25,8 +25,8 @@ function a() { }) } var e, a2, a3, a4, a5, a6, a7, a8, a9, aA, aB, aC, aD, aE, aF, aG, aH, aI, aJ, aK, aL, aM, aN, aO, aP, aQ, aR, aS, aT, aU, aV, aW, aX, aY, aZ, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, at, au, av, aw, ax, ay, az, b0, b1, - b2, p, b3, b4, b5, b6, b7, b8, b9, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, i, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, m, bW, bX, bY, g, bZ, dO, dP, dQ, y, dR, z, eD, eE, eF, eG, eH, eI, eJ, eK, eL, eM, eN, eO, eP, eQ, h7, h6, h8, a1x, jw, - iW, is, iq, w9, ku, sn, a5Y, z3, z4; + b2, p, b3, b4, b5, b6, b7, b8, b9, bA, bB, bC, bD, bE, bF, bG, bH, bI, bJ, i, bK, bL, bM, bN, bO, bP, bQ, bR, bS, bT, bU, bV, m, bW, bX, bY, g, bZ, dO, dP, dQ, y, dR, z, eD, eE, eF, eG, eH, eI, eJ, eK, eL, eM, eN, eO, eP, eQ, h7, h6, h8, a1y, jw, + iW, is, iq, wA, ku, so, a5Z, z4, z5; function ba() { e || (bc(), bB = new bd, bA = new be, b2 = new bf, p = new bg, a2 = new bh, az = new bi, b5 = new bj, b6 = new bk, a3 = new bl, a4 = new bm, a5 = new bn, a6 = new bo, a7 = new bp, a8 = new bq, a9 = new br, aA = new bs, aB = new bt, aC = new bu, @@ -37,12 +37,12 @@ function ba() { bR = new d5, bS = new d6, bT = new d7, bY = new d8, bQ = new d9, g = new dA, bZ = new dB, e.dD(), m.dD(), an.dE(), bX.dD(), az.dD(), az.dF(), bZ.dD(), b2.dD(), aT.dD(), bL.dD(), aq.dD(), b5.dD(), b6.dD(), bI.dD(), i.dD(), bM = new dG, an .dD(), m.n.dH(), bT.dD(), bQ.dD(), bN = new dI, ao.dD(), aV.dJ(), bK.dD(), ac.dD(), aP.dD(), ax.dD(), aI.dD(), aZ.dD(), b9.dD(), aR.dD(), bT.dK = !0, setTimeout(function() { bI.w(2, 14071) - }, 0), i.j(5, 5), b8.dL(), m.n.dM(), an.dN(), e.f = 1) + }, 0), i.j(5, 5), b8.dL() || m.n.dM(), an.dN(), e.f = 1) } function cx() { - this.dS = 1065, this.dD = function() { - dO = 2, dQ = 32, dP = "27 Aug 2024 [1.99.6.5]", y = true, z = function() { + this.dS = 1066, this.dD = function() { + dO = 2, dQ = 32, dP = "28 Aug 2024 [1.99.6.8]", y = true, z = function() { try { return window.self !== window.top } catch (d) { @@ -1259,7 +1259,7 @@ function qR() { qV(0, 1, 0, 5), qV(1, 1, 1), qV(2, 0), qW(3, 2), qV(4, 1), qW(5, 2, "Trebuchet MS", 1), qV(6, 0), qV(7, 0, 0), qV(8, 0), qV(9, 1, 1), qV(10, 1), qV(11, 1, 1), qW(12, 2, navigator.language), qX(100), qW(100, 2), qW(101, 2), qW(102, 2), qW( 103, 2), qW(104, 2), qW(105, 2), qW(106, 2), qV(107), qV(108), qV(109), qW(110, 2), qV(111), qV(112), qV(113), qW(114, 2), qV(115), qW(116, 2), qV(117, 1), qW(118, 2, "", 2), qV(119, 1, 0, 1), qW(120, 2), qV(121, 1, ~~(262144 * Math.random())), qW(122, 2, "Player " + Math.floor(1e3 * Math.random())), qV(123), qW(124), qV(125, 1), qW(126, 2), qV(127, 0, 1), qV(128), qV(129), qV(130), qV(131), qV(132), qW(133, 2), qV(134, 0, 5), qW(135, 2), qW(136, 2), qV( - 137), qV(138), qV(139), qV(140), qV(141), qV(142), qV(143), qV(144), qW(145, 2), qV(146), qV(147), qX(180), qV(180, 0), qV(181, 0) + 137), qV(138), qV(139), qV(140), qV(141), qV(142), qV(143), qV(144), qW(145, 2), qV(146), qV(147), qW(148, 2), qV(149), qV(150, 0, 1), qW(151, 2), qV(152, 0, 5), qX(180), qV(180, 0), qV(181, 0) }, this.p5 = function(ke, value) { this.data[ke].value = value }, this.dW = function(ke, value) { @@ -1390,10 +1390,10 @@ function rE() { for (rK[50] = 37, a0 = 0; a0 < 10; a0++) rK[a0 + 3] = a0 + 1; for (a0 = 0; a0 < 26; a0++) rK[a0 + 20] = a0 + 11, rK[a0 + 52] = a0 + 38 }, this.rL = function(oD) { - return oD.trim().replace(new RegExp("[^a-zA-Z0-9_\\-]", "g"), "_") + return oD.trim().replace(new RegExp("[^a-zA-Z0-9_\\-]", "g"), "-") }, this.rM = function(oD, size) { if ((oD = this.rL(oD)).length > size) return oD.substring(0, size); - for (; oD.length < size;) oD += "_"; + for (; oD.length < size;) oD = "-" + oD; return oD }, this.rN = function(oD) { for (var rO = rK, ex = oD.length, e5 = new Uint8Array(ex), a0 = 0; a0 < ex; a0++) e5[a0] = rO[oD.charCodeAt(a0) - 45]; @@ -1406,507 +1406,510 @@ function rE() { this.rR(this.rN(oD)) }, this.rT = function(oD, size) { this.rR(this.rN(this.rM(oD, size))) + }, this.rU = function(oD, size) { + for (var e5 = this.rN(this.rM(oD, size)), dr = 0, lY = 1, a0 = e5.length - 1; 0 <= a0; a0--) dr += lY * e5[a0], lY *= 64; + return dr } } -function rU() { - var u, iE, rV; +function rV() { + var u, iE, rW; - function rt(pe, f6, rr, ra, rm) { - f6 = rs(pe, f6 + 1 + 2 * ra & 3); - ! function(pe, ru) { - return 1 < Math.abs(pe % u - ru % u) || 1 < Math.abs(rx(pe) - rx(ru)) - }(pe, f6) && 0 === rm[f6 << 2] && (rm[f6 << 2] = rr) + function ru(pe, f6, rs, rb, rn) { + f6 = rt(pe, f6 + 1 + 2 * rb & 3); + ! function(pe, rv) { + return 1 < Math.abs(pe % u - rv % u) || 1 < Math.abs(ry(pe) - ry(rv)) + }(pe, f6) && 0 === rn[f6 << 2] && (rn[f6 << 2] = rs) } - function rx(f4) { + function ry(f4) { return Math.floor((f4 + .5) / u) % iE } - function rs(f4, f6) { - return f4 + rV[f6] + function rt(f4, f6) { + return f4 + rW[f6] } - this.rW = function(oD) { - var a0, rX, ex, rY, rI = b7; - for (b6.pY.rP(b6.pY.rN(oD)), bI.eS = u = rI.na(12), bI.eT = iE = rI.na(12), rV = [-u, -1, u, 1], bI.rj = document.createElement("canvas"), bI.rj.width = bI.eS, bI.rj.height = bI.eT, bI.rf = bI.rj.getContext("2d", { + this.rX = function(oD) { + var a0, rY, ex, rZ, rI = b7; + for (b6.pY.rP(b6.pY.rN(oD)), bI.eS = u = rI.na(12), bI.eT = iE = rI.na(12), rW = [-u, -1, u, 1], bI.rk = document.createElement("canvas"), bI.rk.width = bI.eS, bI.rk.height = bI.eT, bI.rg = bI.rk.getContext("2d", { alpha: !1 - }), bI.rg = bI.rf.getImageData(0, 0, bI.eS, bI.eT), bI.rk = bI.rg.data, b2.oc.rl(bI.rk), ex = rI.na(12), rX = rI.na(5), rY = rc(u * iE - 1), a0 = 0; a0 < ex; a0++) ! function(jZ, f4, rZ, ra) { + }), bI.rh = bI.rg.getImageData(0, 0, bI.eS, bI.eT), bI.rl = bI.rh.data, b2.oc.rm(bI.rl), ex = rI.na(12), rY = rI.na(5), rZ = rd(u * iE - 1), a0 = 0; a0 < ex; a0++) ! function(jZ, f4, ra, rb) { var a0, f6, rI = b7, - rm = bI.rk, - rn = f4, + rn = bI.rl, ro = f4, - rp = 0, - rq = 1 + rZ, - rr = 2 - rZ; - for (rm[f4 << 2] = rq, a0 = 0; a0 < jZ; a0++) f6 = rI.na(2), f4 = rs(f4, f6), rm[f4 << 2] === rq ? rp % 2 == 1 && rt(ro, rp + 2 * ra + 3, rr, ra, rm) : rm[f4 << 2] = rq, rt(f4, f6, rr, ra, rm), rt(ro, f6, rr, ra, rm), ro = f4, - rp = f6; - rs(f4, 0) === rn ? (rt(f4, 0, rr, ra, rm), rt(rn, 0, rr, ra, rm)) : rs(f4, 1) === rn && (rt(f4, 0, rr, ra, rm), rt(rn, 2, rr, ra, rm)); - 0 === jZ && (rt(rn, 0, rr, ra, rm), rt(rn, 2, rr, ra, rm)) - }(rI.na(rX), rI.na(rY), 1 === rI.na(1), 1 === rI.na(1)); - var ff, fg, jc, ry, rz, s0, rm = bI.rk, - s1 = !0, - s2 = bI.j8.s3[bI.s4].s2, - s5 = bI.j8.s3[bI.s4].s5; + rp = f4, + rq = 0, + rr = 1 + ra, + rs = 2 - ra; + for (rn[f4 << 2] = rr, a0 = 0; a0 < jZ; a0++) f6 = rI.na(2), f4 = rt(f4, f6), rn[f4 << 2] === rr ? rq % 2 == 1 && ru(rp, rq + 2 * rb + 3, rs, rb, rn) : rn[f4 << 2] = rr, ru(f4, f6, rs, rb, rn), ru(rp, f6, rs, rb, rn), rp = f4, + rq = f6; + rt(f4, 0) === ro ? (ru(f4, 0, rs, rb, rn), ru(ro, 0, rs, rb, rn)) : rt(f4, 1) === ro && (ru(f4, 0, rs, rb, rn), ru(ro, 2, rs, rb, rn)); + 0 === jZ && (ru(ro, 0, rs, rb, rn), ru(ro, 2, rs, rb, rn)) + }(rI.na(rY), rI.na(rZ), 1 === rI.na(1), 1 === rI.na(1)); + var ff, fg, jc, rz, s0, s1, rn = bI.rl, + s2 = !0, + s3 = bI.j8.s4[bI.s5].s3, + s6 = bI.j8.s4[bI.s5].s6; for (fg = 0; fg < iE; fg++) - for (ry = !0, rz = s1, ff = s0 = 0; ff < u; ff++) jc = 4 * fg * u + 4 * ff, s0 <= ff && 0 < rm[jc] && (rz = 2 === rm[jc], ry) && (ry = !1, rz !== s1) ? (s1 = rz, s0 = ff + 1, ff = -1) : (rz ? (rm[jc] = s5[0], rm[1 + jc] = s5[1], rm[ - 2 + jc] = s5[2]) : (rm[jc] = s2[0], rm[1 + jc] = s2[1], rm[2 + jc] = s2[2]), rm[3 + jc] = 255); - bI.rf.putImageData(bI.rg, 0, 0), bI.rh = !0, bI.ri.dD(), bT.dK = !0 + for (rz = !0, s0 = s2, ff = s1 = 0; ff < u; ff++) jc = 4 * fg * u + 4 * ff, s1 <= ff && 0 < rn[jc] && (s0 = 2 === rn[jc], rz) && (rz = !1, s0 !== s2) ? (s2 = s0, s1 = ff + 1, ff = -1) : (s0 ? (rn[jc] = s6[0], rn[1 + jc] = s6[1], rn[ + 2 + jc] = s6[2]) : (rn[jc] = s3[0], rn[1 + jc] = s3[1], rn[2 + jc] = s3[2]), rn[3 + jc] = 255); + bI.rg.putImageData(bI.rh, 0, 0), bI.ri = !0, bI.rj.dD(), bT.dK = !0 } } function bq() { - var ff, fg, u, iE, s6, s7, s8, s9, player, e5; + var ff, fg, u, iE, s7, s8, s9, sA, player, e5; - function sH() { + function sI() { return function() { var a0; for (a0 = 0; a0 < 8; a0++) - if (ff = bB.el(u * ao.random(), ao.value(100)), fg = bB.el(iE * ao.random(), ao.value(100)), sP()) return 1; + if (ff = bB.el(u * ao.random(), ao.value(100)), fg = bB.el(iE * ao.random(), ao.value(100)), sQ()) return 1; return }() || function() { - var gr, gu, hy, sF, i4, sE; + var gr, gu, hy, sG, i4, sF; for (gr = bB.el(u * ao.random(), ao.value(100)), gu = bB.el(iE * ao.random(), ao.value(100)), hy = 40; 1 <= hy; hy--) - for (sF = iE - hy; 0 <= sF; sF -= 40) - for (fg = (sF + gu) % iE, i4 = 40; 1 <= i4; i4--) - for (sE = u - i4; 0 <= sE; sE -= 40) - if (ff = (sE + gr) % u, sP()) return 1; + for (sG = iE - hy; 0 <= sG; sG -= 40) + for (fg = (sG + gu) % iE, i4 = 40; 1 <= i4; i4--) + for (sF = u - i4; 0 <= sF; sF -= 40) + if (ff = (sF + gr) % u, sQ()) return 1; return }() } - function sP() { - for (var f4, sR, gap = bB.el(s6 - s9, 2), sS = s8 + fg * s6 + gap, sT = s7 + ff * s6 + gap, sQ = sS + s9 - 1; sS <= sQ; sQ--) - for (sR = sT + s9 - 1; sT <= sR; sR--) - if (f4 = aS.sN(sR, sQ), !aS.ez(f4) || aS.hu(f4)) return; + function sQ() { + for (var f4, sS, gap = bB.el(s7 - sA, 2), sT = s9 + fg * s7 + gap, sU = s8 + ff * s7 + gap, sR = sT + sA - 1; sT <= sR; sR--) + for (sS = sU + sA - 1; sU <= sS; sS--) + if (f4 = aS.sO(sS, sR), !aS.ez(f4) || aS.hu(f4)) return; return 1 } - function sI(sE, sF) { - sA(), sU(sE - 2, sF - 2) + function sJ(sF, sG) { + sB(), sV(sF - 2, sG - 2) } - function sA() { - aX.kW[player] = 0, aX.et[player] = 0, aX.ep[player] = aX.sV[player] = 0, aX.ey[player] = [], aX.fF[player] = [], aX.fG[player] = [], aX.fJ[player] = [], aX.hJ[player] = aX.hL[player] = aX.hK[player] = aX.hM[player] = 0 + function sB() { + aX.kW[player] = 0, aX.et[player] = 0, aX.ep[player] = aX.sW[player] = 0, aX.ey[player] = [], aX.fF[player] = [], aX.fG[player] = [], aX.fJ[player] = [], aX.hJ[player] = aX.hL[player] = aX.hK[player] = aX.hM[player] = 0 } - function sU(sE, sF) { - var f4, a0, sX, sY; - for (aX.kW[player] = 1, player < a2.ip ? aX.et[player] = a2.sW : aX.et[player] = a3.j5[a3.hs[player]], aX.hJ[player] = sE + 10, aX.hL[player] = sF + 10, aX.hM[player] = aX.hK[player] = 0, sX = sE; sX < sE + 4; sX++) - for (sY = sF; sY < sF + 4; sY++)(sE < sX && sX < sE + 3 || sF < sY && sY < sF + 3) && (f4 = aS.sN(sX, sY), aS.ez(f4)) && (aX.hJ[player] = sX < aX.hJ[player] ? sX : aX.hJ[player], aX.hK[player] = sX > aX.hK[player] ? sX : aX.hK[player], aX - .hL[player] = sY < aX.hL[player] ? sY : aX.hL[player], aX.hM[player] = sY > aX.hM[player] ? sY : aX.hM[player], e5[aX.ep[player]] = f4, aX.ep[player]++, aS.sZ(f4, player)); - for (aX.sV[player] = aX.ep[player], a0 = aX.ep[player] - 1; 0 <= a0; a0--) aS.sa(e5[a0], player) ? (aS.f0(e5[a0], player), aX.fF[player].push(e5[a0])) : aS.sb(e5[a0]) ? (aS.f0(e5[a0], player), aX.fG[player].push(e5[a0])) : aS.sc(e5[a0]) && ( + function sV(sF, sG) { + var f4, a0, sY, sZ; + for (aX.kW[player] = 1, player < a2.ip ? aX.et[player] = a2.sX : aX.et[player] = a3.j5[a3.hs[player]], aX.hJ[player] = sF + 10, aX.hL[player] = sG + 10, aX.hM[player] = aX.hK[player] = 0, sY = sF; sY < sF + 4; sY++) + for (sZ = sG; sZ < sG + 4; sZ++)(sF < sY && sY < sF + 3 || sG < sZ && sZ < sG + 3) && (f4 = aS.sO(sY, sZ), aS.ez(f4)) && (aX.hJ[player] = sY < aX.hJ[player] ? sY : aX.hJ[player], aX.hK[player] = sY > aX.hK[player] ? sY : aX.hK[player], aX + .hL[player] = sZ < aX.hL[player] ? sZ : aX.hL[player], aX.hM[player] = sZ > aX.hM[player] ? sZ : aX.hM[player], e5[aX.ep[player]] = f4, aX.ep[player]++, aS.sa(f4, player)); + for (aX.sW[player] = aX.ep[player], a0 = aX.ep[player] - 1; 0 <= a0; a0--) aS.sb(e5[a0], player) ? (aS.f0(e5[a0], player), aX.fF[player].push(e5[a0])) : aS.sc(e5[a0]) ? (aS.f0(e5[a0], player), aX.fG[player].push(e5[a0])) : aS.sd(e5[a0]) && ( aS.f0(e5[a0], player), aX.fJ[player].push(e5[a0])) } - function sO(sE, sF) { - for (var f4, sR, sQ = sF; sF - 6 < sQ; sQ--) - for (sR = sE; sE - 6 < sR; sR--) - if (f4 = aS.sN(sR, sQ), aS.hu(f4)) return; + function sP(sF, sG) { + for (var f4, sS, sR = sG; sG - 6 < sR; sR--) + for (sS = sF; sF - 6 < sS; sS--) + if (f4 = aS.sO(sS, sR), aS.hu(f4)) return; return 1 } this.dD = function() { - var a0, sE, sF; - if (e5 = new Array(12), s9 = 6, s6 = 10, u = bB.el(bI.eS, s6), iE = bB.el(bI.eT, s6), s7 = bB.el(bI.eS - s6 * u, 2), s8 = bB.el(bI.eT - s6 * iE, 2), a2.fz) - for (a0 = 0; a0 < a2.ip; a0++) player = a0, sA(), aX.kW[player] = 1; - if (ay.j7 && ay.j8.sB) { + var a0, sF, sG; + if (e5 = new Array(12), sA = 6, s7 = 10, u = bB.el(bI.eS, s7), iE = bB.el(bI.eT, s7), s8 = bB.el(bI.eS - s7 * u, 2), s9 = bB.el(bI.eT - s7 * iE, 2), a2.fz) + for (a0 = 0; a0 < a2.ip; a0++) player = a0, sB(), aX.kW[player] = 1; + if (ay.j7 && ay.j8.sC) { for (player = 0; player < a2.f1; player++) if (1 !== aX.kW[player]) { - if (player < a2.sG) { + if (player < a2.sH) { if (function() { - var sE = ay.j8.sB[player] + 1, - sF = ay.j8.sM[player] + 1; - if (3 < sE && sE < bI.eS - 5 && 3 < sF && sF < bI.eT - 5 && aS.ez(aS.sN(sE, sF)) && sO(sE + 3, sF + 3)) return sI(sE + 1, sF + 1), 1; + var sF = ay.j8.sC[player] + 1, + sG = ay.j8.sN[player] + 1; + if (3 < sF && sF < bI.eS - 5 && 3 < sG && sG < bI.eT - 5 && aS.ez(aS.sO(sF, sG)) && sP(sF + 3, sG + 3)) return sJ(sF + 1, sG + 1), 1; return }()) continue; - if (sH()) { - sE = s7 + ff * s6 + bB.el(s6, 2), sF = s8 + fg * s6 + bB.el(s6, 2), sI(sE, sF); + if (sI()) { + sF = s8 + ff * s7 + bB.el(s7, 2), sG = s9 + fg * s7 + bB.el(s7, 2), sJ(sF, sG); continue } } - sA() + sB() } } else ! function() { - var sE, sF; - for (player = 0; player < a2.f1; player++) 1 !== aX.kW[player] && (player < a2.sG && sH() ? (sE = s7 + ff * s6 + bB.el(s6, 2), sF = s8 + fg * s6 + bB.el(s6, 2), sI(sE, sF)) : sA()) + var sF, sG; + for (player = 0; player < a2.f1; player++) 1 !== aX.kW[player] && (player < a2.sH && sI() ? (sF = s8 + ff * s7 + bB.el(s7, 2), sG = s9 + fg * s7 + bB.el(s7, 2), sJ(sF, sG)) : sB()) }(); bR.ev[7] = aX.ep[a2.es], bR.ev[8] = aX.et[a2.es] - }, this.sd = function(hr, se, sf) { - var a0, sE, sF, f4, ff, fg; + }, this.se = function(hr, sf, sg) { + var a0, sF, sG, f4, ff, fg; for (player = hr, a0 = 0; a0 < 20; a0++) - for (sE = se + a0; se - a0 <= sE; sE--) - for (sF = sf + a0; sf - a0 <= sF; sF--) - if ((sE === se + a0 || sE === se - a0 || sF === sf + a0 || sF === sf - a0) && 3 < sE && sE < bI.eS - 5 && 3 < sF && sF < bI.eT - 5 && aS.ez(aS.sN(sE, sF)) && sO(sE + 3, sF + 3)) { + for (sF = sf + a0; sf - a0 <= sF; sF--) + for (sG = sg + a0; sg - a0 <= sG; sG--) + if ((sF === sf + a0 || sF === sf - a0 || sG === sg + a0 || sG === sg - a0) && 3 < sF && sF < bI.eS - 5 && 3 < sG && sG < bI.eT - 5 && aS.ez(aS.sO(sF, sG)) && sP(sF + 3, sG + 3)) { if (0 < aX.ep[player]) { for (fg = ff = f4 = void 0, ff = aX.hK[player]; ff >= aX.hJ[player]; ff--) - for (fg = aX.hM[player]; fg >= aX.hL[player]; fg--) f4 = 4 * (fg * bI.eS + ff), aS.sh(player, f4) && (aS.si(f4), aX.ep[player]--); - sA() + for (fg = aX.hM[player]; fg >= aX.hL[player]; fg--) f4 = 4 * (fg * bI.eS + ff), aS.si(player, f4) && (aS.sj(f4), aX.ep[player]--); + sB() } - return sU(sE - 1, sF - 1), !0 + return sV(sF - 1, sG - 1), !0 } return !1 - }, this.sj = function(hr) { - player = hr, sH() ? sI(s7 + ff * s6 + bB.el(s6, 2), s8 + fg * s6 + bB.el(s6, 2)) : sA() + }, this.sk = function(hr) { + player = hr, sI() ? sJ(s8 + ff * s7 + bB.el(s7, 2), s9 + fg * s7 + bB.el(s7, 2)) : sB() } } -function sk() { - ag.sl(), ku.setTransform(h7, 0, 0, h7, 0, 0), ku.imageSmoothingEnabled = h7 < 3, ku.drawImage(bI.rj, aH.kv(), aH.kw()), bF.sm.kk(), ku.drawImage(sn, aH.kv(), aH.kw()), ag.kk(), bD.kk(), aW.kk(), a6.kk(), (a2.lQ ? (bV.kk(), b3) : (aC.kk(), aK +function sl() { + ag.sm(), ku.setTransform(h7, 0, 0, h7, 0, 0), ku.imageSmoothingEnabled = h7 < 3, ku.drawImage(bI.rk, aH.kv(), aH.kw()), bF.sn.kk(), ku.drawImage(so, aH.kv(), aH.kw()), ag.kk(), bD.kk(), aW.kk(), a6.kk(), (a2.lQ ? (bV.kk(), b3) : (aC.kk(), aK .kk(), aG.kk(), b3.kk(), al.kk(), aL.kk(), aH.kk(), aF.kk(), bV.kk(), aJ.kk(), aE.kk(), aB.kk(), aA.kk(), aM.kk(), bS.kk(), ai)).kk(), i.kk() } -function so(sp, u, iE) { - sp.clearRect(0, 0, u, iE), sp.fillStyle = p.lr, sp.fillRect(0, 0, u, iE) +function sp(sq, u, iE) { + sq.clearRect(0, 0, u, iE), sq.fillStyle = p.lr, sq.fillRect(0, 0, u, iE) } -function sq(sp, u, iE, sr) { - sp.fillStyle = p.lu, sp.fillRect(0, 0, u, sr), sp.fillRect(0, 0, sr, iE), sp.fillRect(u - sr, 0, sr, iE), sp.fillRect(0, iE - sr, u, sr) +function sr(sq, u, iE, ss) { + sq.fillStyle = p.lu, sq.fillRect(0, 0, u, ss), sq.fillRect(0, 0, ss, iE), sq.fillRect(u - ss, 0, ss, iE), sq.fillRect(0, iE - ss, u, ss) } -function ss(sp, ff, fg, gF, sr, f4, st) { - sp.fillStyle = p.lu; +function st(sq, ff, fg, gF, ss, f4, su) { + sq.fillStyle = p.lu; var f4 = Math.floor(gF * f4), - pd = (f4 += (f4 - sr) % 2, Math.floor((f4 - sr) / 2)), + pd = (f4 += (f4 - ss) % 2, Math.floor((f4 - ss) / 2)), gF = Math.floor((gF - f4) / 2); - sp.fillRect(ff + gF, fg + gF + pd, f4, sr), st && sp.fillRect(ff + gF + pd, fg + gF, sr, f4) + sq.fillRect(ff + gF, fg + gF + pd, f4, ss), su && sq.fillRect(ff + gF + pd, fg + gF, ss, f4) } -function sv() { - this.sw = null, this.dD = function(sw) { - this.sw = sw, aC.sx(this.sw) - }, this.sy = function(sz) { - var gd = (this.sw[sz].t0 - this.sw[1 - sz].t0) / 10, +function sw() { + this.sx = null, this.dD = function(sx) { + this.sx = sx, aC.sy(this.sx) + }, this.sz = function(t0) { + var gd = (this.sx[t0].t1 - this.sx[1 - t0].t1) / 10, gd = 8 / (1 + Math.pow(2, gd / 32)), gd = Math.floor(10 * gd + .5), - t2 = this.t3(this.sw[sz].t0 + gd + 1), - gd = this.t3(this.sw[1 - sz].t0 - gd); - 0 === sz ? aC.t5(this.sw, t2, gd, ["rgba(10,140,10,0.75)", "rgba(140,10,10,0.75)"]) : aC.t5(this.sw, gd, t2, ["rgba(140,10,10,0.75)", "rgba(10,140,10,0.75)"]) - }, this.t3 = function(t0) { - return 16e3 <= (t0 = t0 < 0 ? 0 : 16e3 < t0 ? 16e3 : t0) ? "Unknown" : (t0 / 10).toFixed(1) + t3 = this.t4(this.sx[t0].t1 + gd + 1), + gd = this.t4(this.sx[1 - t0].t1 - gd); + 0 === t0 ? aC.t6(this.sx, t3, gd, ["rgba(10,140,10,0.75)", "rgba(140,10,10,0.75)"]) : aC.t6(this.sx, gd, t3, ["rgba(140,10,10,0.75)", "rgba(10,140,10,0.75)"]) + }, this.t4 = function(t1) { + return 16e3 <= (t1 = t1 < 0 ? 0 : 16e3 < t1 ? 16e3 : t1) ? "Unknown" : (t1 / 10).toFixed(1) } } function cJ() { - this.t6 = new t7, this.rm = new t8 + this.t7 = new t8, this.rn = new t9 } -function t8() { - this.t9 = !1; - this.tD = [], this.tE = 100; - var kp, kq, gap, gF, tA, tC, tF = 0, - tG = new Array(9), - tH = [], +function t9() { + this.tA = !1; + this.tE = [], this.tF = 100; + var kp, kq, gap, gF, tB, tD, tG = 0, + tH = new Array(9), tI = [], - tJ = 0, + tJ = [], tK = 0, tL = 0, - tM = 0; + tM = 0, + tN = 0; - function tX() { - tG.sort(function(hy, i4) { + function tY() { + tH.sort(function(hy, i4) { return i4.ix - hy.ix }); - for (var oD = "" + tG[0].nA, a0 = 1; a0 < 9; a0++) oD += "," + tG[a0].nA; - for (a0 = 0; a0 < 9; a0++) oD += "," + tG[a0].ix; + for (var oD = "" + tH[0].nA, a0 = 1; a0 < 9; a0++) oD += "," + tH[a0].nA; + for (a0 = 0; a0 < 9; a0++) oD += "," + tH[a0].ix; bX.dV.dW(120, oD) } this.dD = function() { for (var pk = [0, 1, 2, 4, 7, 8, 9, 10, 11, 12, 13, 14, 15, 6], a0 = 0; a0 < pk.length; a0++) { var color = 6 === pk[a0] ? p.mG : p.ls; - this.tD.push(b2.gL.tN(aR.get(3), pk[a0], color)) + this.tE.push(b2.gL.tO(aR.get(3), pk[a0], color)) } - for (a0 = 0; a0 < aa.t6.tO; a0++) tI.push(aa.t6.tP - aa.t6.tO + a0); - for (a0 = 0; a0 < aa.t6.tQ; a0++) tI.push(aa.t6.tR + a0); - var tS = aa.t6.tT(bA.tS); - for (a0 = 0; a0 < tS.length; a0++) tI.push(tS[a0]); + for (a0 = 0; a0 < aa.t7.tP; a0++) tJ.push(aa.t7.tQ - aa.t7.tP + a0); + for (a0 = 0; a0 < aa.t7.tR; a0++) tJ.push(aa.t7.tS + a0); + var tT = aa.t7.tU(bA.tT); + for (a0 = 0; a0 < tT.length; a0++) tJ.push(tT[a0]); ! function() { var a0, e5 = bX.dV.data[120].value.split(","); if (18 !== e5.length) - for (a0 = 0; a0 < 9; a0++) tG[a0] = { + for (a0 = 0; a0 < 9; a0++) tH[a0] = { nA: 1015 + a0, ix: 0 }; else for (a0 = 0; a0 < 9; a0++) { var dr = parseInt(e5[a0]), - ik = (dr = 0 <= dr && dr < aa.t6.tP ? dr : 0, parseInt(e5[a0 + 9])); - ik = 0 <= ik && ik < 1e3 ? ik : 0, tG[a0] = { + ik = (dr = 0 <= dr && dr < aa.t7.tQ ? dr : 0, parseInt(e5[a0 + 9])); + ik = 0 <= ik && ik < 1e3 ? ik : 0, tH[a0] = { nA: dr, ix: ik } } }() - }, this.show = function(jl, jm, tY) { + }, this.show = function(jl, jm, tZ) { var a0; - if (tJ = jl, tK = jm, tF = tY || 0, this.t9 = !0, tH = [], 0 === tF) - for (a0 = 0; a0 < 9; a0++) tH.push(tG[a0].nA); + if (tK = jl, tL = jm, tG = tZ || 0, this.tA = !0, tI = [], 0 === tG) + for (a0 = 0; a0 < 9; a0++) tI.push(tH[a0].nA); else { - var i4 = 49 * tF, - tY = i4 - 49; - for (tY >= tI.length && (tF = 1, tY = 0, i4 = 49), a0 = tY = (i4 = Math.min(i4, tI.length)) - 49; a0 < i4; a0++) tH.push(tI[a0]) + var i4 = 49 * tG, + tZ = i4 - 49; + for (tZ >= tJ.length && (tG = 1, tZ = 0, i4 = 49), a0 = tZ = (i4 = Math.min(i4, tJ.length)) - 49; a0 < i4; a0++) tI.push(tJ[a0]) } - tH.push(1024); - tY = tH.length, gF = Math.floor((m.n.tZ() ? .075 : .0468) * an.oU), gap = Math.floor(gF / 3), (tL = 10 * (tA = gF + gap)) > an.u && (tL = an.u, gap = (tA = tL / 10) - (gF = 3 * tA / 4)), tC = bB.el(tY, 10) + !!(tY % 10), (tM = tC * tA) > - an.iE && (tM = an.iE, gap = (tA = tM / tC) - (gF = 3 * tA / 4)), tY = .5 * gap; - kp = Math.min(Math.max(jl - .5 * tL + tY, tY), an.u - tL + tY), kq = Math.min(Math.max(jm - .5 * tM + tY, tY), an.iE - tM + tY) + tI.push(1024); + tZ = tI.length, gF = Math.floor((m.n.ta() ? .075 : .0468) * an.oU), gap = Math.floor(gF / 3), (tM = 10 * (tB = gF + gap)) > an.u && (tM = an.u, gap = (tB = tM / 10) - (gF = 3 * tB / 4)), tD = bB.el(tZ, 10) + !!(tZ % 10), (tN = tD * tB) > + an.iE && (tN = an.iE, gap = (tB = tN / tD) - (gF = 3 * tB / 4)), tZ = .5 * gap; + kp = Math.min(Math.max(jl - .5 * tM + tZ, tZ), an.u - tM + tZ), kq = Math.min(Math.max(jm - .5 * tN + tZ, tZ), an.iE - tN + tZ) }, this.fn = function(jl, jm, player) { - if (!this.t9) return !1; - if (this.tb(jl, jm)) { - jl = bB.o5(bB.el(jl - kp + .5 * gap, tA), 0, 9); - if ((jl += 10 * bB.o5(bB.el(jm - kq + .5 * gap, tA), 0, 9)) >= tH.length) return aA.pq(), !0; - jm = tH[jl]; - if (1024 === jm) return this.show(tJ, tK, tF + 1), !0; + if (!this.tA) return !1; + if (this.tc(jl, jm)) { + jl = bB.o5(bB.el(jl - kp + .5 * gap, tB), 0, 9); + if ((jl += 10 * bB.o5(bB.el(jm - kq + .5 * gap, tB), 0, 9)) >= tI.length) return aA.pq(), !0; + jm = tI[jl]; + if (1024 === jm) return this.show(tK, tL, tG + 1), !0; ! function(nA) { - for (var a0 = 0; a0 < 9; a0++) tG[a0].ix = Math.floor(.99 * tG[a0].ix); + for (var a0 = 0; a0 < 9; a0++) tH[a0].ix = Math.floor(.99 * tH[a0].ix); for (a0 = 0; a0 < 9; a0++) - if (nA === tG[a0].nA) return tG[a0].ix = Math.min(tG[a0].ix + 30, 999), tX(); - tG.splice(5, 0, { + if (nA === tH[a0].nA) return tH[a0].ix = Math.min(tH[a0].ix + 30, 999), tY(); + tH.splice(5, 0, { nA: nA, - ix: Math.max(tG[4].ix, 30) - }), tG.pop(), tX() + ix: Math.max(tH[4].ix, 30) + }), tH.pop(), tY() }(jm), player === a2.es ? b0.g0.n9(jm) : b0.en.nP(jm, player) } return aA.pq(), !0 - }, this.tb = function(jl, jm) { - return !(jl < kp - .5 * gap || jm < kq - .5 * gap || kp + tL - .5 * gap <= jl || kq + tM - .5 * gap <= jm) + }, this.tc = function(jl, jm) { + return !(jl < kp - .5 * gap || jm < kq - .5 * gap || kp + tM - .5 * gap <= jl || kq + tN - .5 * gap <= jm) }, this.kk = function() { - ku.fillStyle = p.lr, ku.fillRect(kp - .5 * gap, kq - .5 * gap, tL, tM); - for (var jc = .5 * bQ.tc, ex = (ku.lineWidth = bQ.tc, ku.strokeStyle = ku.fillStyle = p.lu, ku.strokeRect(kp - .5 * gap + jc, kq - .5 * gap + jc, tL - 2 * jc, tM - 2 * jc), ku.imageSmoothingEnabled = !0, tH.length), a0 = 0; a0 < ex; a0++) - this.td(tH[a0], ku, kp + a0 % 10 * tA, kq + bB.el(a0, 10) * tA, gF); + ku.fillStyle = p.lr, ku.fillRect(kp - .5 * gap, kq - .5 * gap, tM, tN); + for (var jc = .5 * bQ.td, ex = (ku.lineWidth = bQ.td, ku.strokeStyle = ku.fillStyle = p.lu, ku.strokeRect(kp - .5 * gap + jc, kq - .5 * gap + jc, tM - 2 * jc, tN - 2 * jc), ku.imageSmoothingEnabled = !0, tI.length), a0 = 0; a0 < ex; a0++) + this.te(tI[a0], ku, kp + a0 % 10 * tB, kq + bB.el(a0, 10) * tB, gF); ku.imageSmoothingEnabled = !1 - }, this.td = function(nA, gM, ff, fg, gF) { + }, this.te = function(nA, gM, ff, fg, gF) { var fw; - nA >= 1024 - aa.t6.tO ? (fw = gF / this.tE, gM.setTransform(fw, 0, 0, fw, ff, fg), gM.drawImage(this.tD[nA - 1024 + aa.t6.tO], 0, 0), gM.setTransform(1, 0, 0, 1, 0, 0)) : (b2.kt.textAlign(gM, 1), b2.kt.textBaseline(gM, 1), gM.font = b2.kt - .ky(0, .89 * gF), gM.fillText(aa.t6.te(nA), ff + .5 * gF, fg + (.35 - b2.kt.tf + .56) * gF)) + nA >= 1024 - aa.t7.tP ? (fw = gF / this.tF, gM.setTransform(fw, 0, 0, fw, ff, fg), gM.drawImage(this.tE[nA - 1024 + aa.t7.tP], 0, 0), gM.setTransform(1, 0, 0, 1, 0, 0)) : (b2.kt.textAlign(gM, 1), b2.kt.textBaseline(gM, 1), gM.font = b2.kt + .ky(0, .89 * gF), gM.fillText(aa.t7.tf(nA), ff + .5 * gF, fg + (.35 - b2.kt.tg + .56) * gF)) } } -function t7() { +function t8() { this.emojis = ["ðŸĨ°", "😎", "😘", "😜", "ðŸĪ—", "ðŸĨģ", "😇", "😊", "ðŸĨą", "🙄", "ðŸĪ”", "ðŸĨš", "ðŸ˜Ą", "😭", "ðŸ˜ą", "😞", "💀", "ðŸ‘đ", "👋", "🙏", "👏", "💊", "🙋‍♂ïļ", "ðŸĪĶ‍♂ïļ", "⮆ïļ", "➡ïļ", "⮇ïļ", "⮅ïļ", "👀", "âĪïļ", "💔", "ðŸ’Ĩ", "ðŸ”Ĩ", "ðŸŠĶ", "ðŸĨ‡", "ðŸĨˆ", "ðŸĨ‰", "🎖ïļ", "🏅", "👑", "🎉", "ðŸ’Ŋ", "✝ïļ", "☊ïļ", "🕉ïļ", "â˜ļïļ", "✡ïļ", "â˜Ķïļ", "⚛ïļ" - ], this.tO = 13, this.tQ = this.emojis.length, this.tR = 676, this.tP = 1024, this.tg = this.emojis.indexOf("💀"), this.th = this.tg + 1, this.ti = this.emojis.indexOf("ðŸĨ‡"), this.tj = this.emojis.indexOf("😊"), this.te = function(dr) { - return dr < this.tR ? String.fromCharCode(55356, 56806 + bB.el(dr, 26), 55356, 56806 + dr % 26) : this.emojis[Math.min(dr - this.tR, this.tQ - 1)] - }, this.tT = function(oD) { + ], this.tP = 13, this.tR = this.emojis.length, this.tS = 676, this.tQ = 1024, this.th = this.emojis.indexOf("💀"), this.ti = this.th + 1, this.tj = this.emojis.indexOf("ðŸĨ‡"), this.tk = this.emojis.indexOf("😊"), this.tf = function(dr) { + return dr < this.tS ? String.fromCharCode(55356, 56806 + bB.el(dr, 26), 55356, 56806 + dr % 26) : this.emojis[Math.min(dr - this.tS, this.tR - 1)] + }, this.tU = function(oD) { for (var ex = oD.length - 2, e5 = [], a0 = 0; a0 < ex; a0++) { var gY = oD.charCodeAt(a0) - 56806, gZ = oD.charCodeAt(a0 + 2) - 56806; 0 <= gY && gY < 26 && 0 <= gZ && gZ < 26 && (e5.push(26 * gY + gZ), a0 += 3) } return e5 - }, this.tk = function(dr) { - return dr < this.tR }, this.tl = function(dr) { - return dr >= 1024 - this.tO + return dr < this.tS }, this.tm = function(dr) { - return dr >= this.tR && dr < this.tR + this.th + return dr >= 1024 - this.tP + }, this.tn = function(dr) { + return dr >= this.tS && dr < this.tS + this.ti } } function bj() { - this.pY = new tn, this.rF = new to, this.dD = function() { + this.pY = new to, this.rF = new tp, this.dD = function() { this.pY.dD() } } -function to() { +function tp() { this.rS = function(oD) { for (var ex = oD.length, u = b4, a0 = 0; a0 < ex; a0++) u.x(16, oD.charCodeAt(a0)) } } -function tn() { - var tp = new Uint8Array(64); +function to() { + var tq = new Uint8Array(64); this.dD = function() { var a0; - for (tp[0] = 45, tp[37] = 95, a0 = 0; a0 < 10; a0++) tp[a0 + 1] = 48 + a0; - for (a0 = 0; a0 < 26; a0++) tp[a0 + 11] = 65 + a0, tp[a0 + 38] = 97 + a0 - }, this.pa = function(tq) { - for (var rI = b7, rQ = new Uint8Array(tq), a0 = 0; a0 < tq; a0++) rQ[a0] = rI.na(6); + for (tq[0] = 45, tq[37] = 95, a0 = 0; a0 < 10; a0++) tq[a0 + 1] = 48 + a0; + for (a0 = 0; a0 < 26; a0++) tq[a0 + 11] = 65 + a0, tq[a0 + 38] = 97 + a0 + }, this.pa = function(tr) { + for (var rI = b7, rQ = new Uint8Array(tr), a0 = 0; a0 < tr; a0++) rQ[a0] = rI.na(6); return rQ }, this.pZ = function(rQ) { - for (var ex = rQ.length, tr = tp, e5 = [], a0 = 0; a0 < ex; a0++) e5.push(String.fromCharCode(tr[rQ[a0]])); + for (var ex = rQ.length, ts = tq, e5 = [], a0 = 0; a0 < ex; a0++) e5.push(String.fromCharCode(ts[rQ[a0]])); return e5.join("") } } function br() { - var ts, tt, tu; - ts = [32, 65, 191, 913, 931], tt = [64, 127, 688, 930, 1155], tu = new Array(ts.length + 1); - for (var a0 = 0; a0 < tu.length; a0++) { - tu[a0] = 0; - for (var hy = a0 - 1; 0 <= hy; hy--) tu[a0] += tt[hy] - ts[hy] + var tt, tu, tv; + tt = [32, 65, 191, 913, 931], tu = [64, 127, 688, 930, 1155], tv = new Array(tt.length + 1); + for (var a0 = 0; a0 < tv.length; a0++) { + tv[a0] = 0; + for (var hy = a0 - 1; 0 <= hy; hy--) tv[a0] += tu[hy] - tt[hy] } - function u0(ik) { - for (var a0 = ts.length - 1; 0 <= a0; a0--) - if (ik >= ts[a0] && ik < tt[a0]) return a0; + function u1(ik) { + for (var a0 = tt.length - 1; 0 <= a0; a0--) + if (ik >= tt[a0] && ik < tu[a0]) return a0; return -1 } this.rJ = function(oD) { - return 0 !== (oD = oD.trim()).indexOf("Bot ") && 0 !== oD.indexOf("[Bot] ") && function(oD, tx, ty) { + return 0 !== (oD = oD.trim()).indexOf("Bot ") && 0 !== oD.indexOf("[Bot] ") && function(oD, ty, tz) { var ex = (oD = oD.trim()).length; - if (ex < tx || ty < ex) return !1; - for (var ik, tz = 0, a0 = 0; a0 < ex; a0++) - if (ik = oD.charCodeAt(a0), tz += 65 <= ik && ik <= 90 || 1040 <= ik && ik <= 1071 ? 1 : 0, -1 === u0(ik)) return !1; - if (3 < tz && tz > Math.floor(ex / 2)) return !1; + if (ex < ty || tz < ex) return !1; + for (var ik, u0 = 0, a0 = 0; a0 < ex; a0++) + if (ik = oD.charCodeAt(a0), u0 += 65 <= ik && ik <= 90 || 1040 <= ik && ik <= 1071 ? 1 : 0, -1 === u1(ik)) return !1; + if (3 < u0 && u0 > Math.floor(ex / 2)) return !1; return !0 }(oD, 3, 20) - }, this.u1 = function(oD) { + }, this.u2 = function(oD) { for (var ex = (oD = oD.trim()).length, e5 = [], a0 = 0; a0 < ex; a0++) { - var ik, f4 = u0(ik = oD.charCodeAt(a0)); - e5.push(tu[f4] + ik - ts[f4]) + var ik, f4 = u1(ik = oD.charCodeAt(a0)); + e5.push(tv[f4] + ik - tt[f4]) } return e5 - }, this.rW = function(e5) { + }, this.rX = function(e5) { for (var ik, i4, oD = "", ex = e5.length, a0 = 0; a0 < ex; a0++) - for (i4 = 1; i4 < tu.length; i4++) - if (e5[a0] < tu[i4]) { - ik = ts[i4 - 1] + e5[a0] - tu[i4 - 1], oD += String.fromCharCode(ik); + for (i4 = 1; i4 < tv.length; i4++) + if (e5[a0] < tv[i4]) { + ik = tt[i4 - 1] + e5[a0] - tv[i4 - 1], oD += String.fromCharCode(ik); break } return oD - }, this.u2 = function(oD) { - for (var e5 = this.u1(oD), result = "", a0 = 0; a0 < e5.length; a0++) result = (result += e5[a0] < 10 ? "00" : e5[a0] < 100 ? "0" : "") + e5[a0].toString(10); - return result }, this.u3 = function(oD) { - for (var e5 = new Array(Math.floor(oD.length / 3)), a0 = 0; a0 < oD.length; a0 += 3) e5[Math.floor(a0 / 3)] = parseInt(oD.substring(a0, a0 + 3)); - return this.rW(e5) + for (var e5 = this.u2(oD), result = "", a0 = 0; a0 < e5.length; a0++) result = (result += e5[a0] < 10 ? "00" : e5[a0] < 100 ? "0" : "") + e5[a0].toString(10); + return result }, this.u4 = function(oD) { + for (var e5 = new Array(Math.floor(oD.length / 3)), a0 = 0; a0 < oD.length; a0 += 3) e5[Math.floor(a0 / 3)] = parseInt(oD.substring(a0, a0 + 3)); + return this.rX(e5) + }, this.u5 = function(oD) { for (var dr, e5 = [oD.length], a0 = 0; a0 < oD.length; a0++) e5[a0] = oD.charCodeAt(a0) - 48; var result = ""; for (a0 = 0; a0 < oD.length; a0++) a0 === oD.length - 1 || 51 < 10 * e5[a0] + e5[a0 + 1] ? result += e5[a0].toString() : (dr = 10 * e5[a0] + e5[a0 + 1], result += String.fromCharCode(dr + (dr < 26 ? 65 : 71)), a0++); return result - }, this.u5 = function(oD) { + }, this.u6 = function(oD) { for (var ik, result = "", a0 = 0; a0 < oD.length; a0++) 48 <= (ik = oD.charCodeAt(a0)) && ik < 58 ? result += String.fromCharCode(ik) : 65 <= ik && ik < 75 ? result += "0" + (ik - 65).toString() : 75 <= ik && ik < 91 ? result += (ik - 65) .toString() : 97 <= ik && ik < 123 && (result += (ik - 71).toString()); return result - }, this.u6 = function(oD) { + }, this.u7 = function(oD) { for (var ex = oD.length, e5 = [], a0 = 0; a0 < ex; a0++)(ik = oD.charCodeAt(a0)) < 58 ? e5.push(oD[a0]) : (ik -= ik < 91 ? 65 : 71, e5.push(String(bB.el(ik, 10))), e5.push(String(ik - 10 * bB.el(ik, 10)))); var ex = e5.length - 2, ik = 0, rQ = []; for (a0 = 0; a0 < ex; a0 += 3) rQ[ik++] = parseInt(e5[a0] + e5[a0 + 1] + e5[a0 + 2]); return rQ - }, this.u7 = function() { - for (var gO, u8 = "", a0 = 0; a0 < 6; a0++) gO = 48 + ao.random() % 36, gO += 58 <= gO ? 39 : 0, u8 += String.fromCharCode(gO); - return u8 + }, this.u8 = function() { + for (var gO, u9 = "", a0 = 0; a0 < 6; a0++) gO = 48 + ao.random() % 36, gO += 58 <= gO ? 39 : 0, u9 += String.fromCharCode(gO); + return u9 } } function cr() { - this.u9 = new uA, this.uB = new uC, this.result = new uD, this.g4 = new uE, this.uF = new uG, this.uH = new uI, this.uJ = new uK, this.dD = function() { - this.uF.dD() + this.uA = new uB, this.uC = new uD, this.result = new uE, this.g4 = new uF, this.uG = new uH, this.uI = new uJ, this.uK = new uL, this.dD = function() { + this.uG.dD() }, this.ha = function() { - this.uF.ha() + this.uG.ha() } } -function uE() { - this.uL = function() { - for (var ex = iq, sw = is, uM = [], a0 = 0; a0 < ex; a0++) { - var f4 = sw[a0]; - aS.uN(f4) && uM.push(f4) +function uF() { + this.uM = function() { + for (var ex = iq, sx = is, uN = [], a0 = 0; a0 < ex; a0++) { + var f4 = sx[a0]; + aS.uO(f4) && uN.push(f4) } - return uM - }, this.uO = function() { - for (var ex = iq, sw = is, dp = 0, ep = aX.ep, a0 = 0; a0 < ex; a0++) dp += ep[sw[a0]]; + return uN + }, this.uP = function() { + for (var ex = iq, sx = is, dp = 0, ep = aX.ep, a0 = 0; a0 < ex; a0++) dp += ep[sx[a0]]; return dp } } -function uA() { - function uQ() { - if (2 === a2.uU) return 1; - al.uV(), a2.uU = 2, a2.uW = a2.uX +function uB() { + function uR() { + if (2 === a2.uV) return 1; + al.uW(), a2.uV = 2, a2.uX = a2.uY } - function uS() { - bH.uJ.uY(), aM.show(1 === a2.uZ, !1, 2 === a2.uZ), bH.result.uY(), bH.uH.ha(), aC.ua(!0), aC.ub(247, 0), aK.kG(!0), aL.kG(!0), al.kG(), b3.uc(), a2.fj && bT.ud.ue(), bT.dK = !0, bP.uf(), m.n.setState(0) + function uT() { + bH.uK.uZ(), aM.show(1 === a2.ua, !1, 2 === a2.ua), bH.result.uZ(), bH.uI.ha(), aC.ub(!0), aC.uc(247, 0), aK.kG(!0), aL.kG(!0), al.kG(), b3.ud(), a2.fj && bT.ue.uf(), bT.dK = !0, bP.ug(), m.n.setState(0) } - this.uP = function() { - uQ() || (a2.uR = 2, uS()) - }, this.uT = function() { - uQ() || (a2.uR = 1, uS()) + this.uQ = function() { + uR() || (a2.uS = 2, uT()) + }, this.uU = function() { + uR() || (a2.uS = 1, uT()) } } -function uI() { +function uJ() { this.ha = function() { - var uo; - 2 === a2.uR ? (aC.ug(0, 59), a7.lV(2700)) : a2.jB < 7 ? (uo = bU.up[bV.ju()], uo = bU.ur[uo], aF.us(L(7, [uo]), 2, 1, 12), aC.ut(0, L(8, [uo]), 40, 0, p.lu, p.lr, -1, !1), a7.lV(2700)) : 8 === a2.jB ? (a2.uZ ? aC.ug(a2.ul, 2) : aC.ug(1 - - a2.es, 3), a2.um.sy(a2.ul), aC.un(a2.ul), a7.lO(a2.ul, 2700, !1, 0)) : 9 === a2.jB ? (aC.uu(), a7.lV(2700)) : (aC.un(a2.ul), a7.lO(a2.ul, 2700, !1, 0)) + var up; + 2 === a2.uS ? (aC.uh(0, 59), a7.lV(2700)) : a2.jB < 7 ? (up = bU.uq[bV.ju()], up = bU.us[up], aF.ut(L(7, [up]), 2, 1, 12), aC.uu(0, L(8, [up]), 40, 0, p.lu, p.lr, -1, !1), a7.lV(2700)) : 8 === a2.jB ? (a2.ua ? aC.uh(a2.um, 2) : aC.uh(1 - + a2.es, 3), a2.un.sz(a2.um), aC.uo(a2.um), a7.lO(a2.um, 2700, !1, 0)) : 9 === a2.jB ? (aC.uv(), a7.lV(2700)) : (aC.uo(a2.um), a7.lO(a2.um, 2700, !1, 0)) + } +} + +function uE() { + this.uw = 0, this.uN = null; + var uy = this.ux = 0; + this.uz = 0, this.uZ = function() { + var v3, f5, dp; + bH.uG.v0 || (bH.uG.v0 = !0, a2.jD) || ((v3 = this).uN = bH.g4.uM(), v3.uw = bW.v4.v5(), a2.jB < 7 && 2 !== a2.uS ? v3.ux = bV.v6() : v3.ux = bH.g4.uP(), 8 === a2.jB && 1 === a2.uS ? (f5 = 1 - a2.um, dp = aX.ep[f5], aX.ep[f5] = 0, b0.en + .nY(), aX.ep[f5] = dp) : b0.en.nY(), uy = .01 * aX.vA[a2.es] / 50, v3.uz = 0, a2.jB < 7 ? bH.uC.uZ(v3.uN) : 7 === a2.jB || 10 === a2.jB ? b2.en.fm(a2.es) && (f5 = bH.result.uw * (1 + a2.vD), 2 === a2.uS ? bH.result.uz += f5 * + aX.ep[a2.es] / bH.result.ux : jw[0] === a2.es && (bH.result.uz += f5)) : 8 !== a2.jB || 1 !== a2.ua || 0 === bX.dV.data[107].value || 100 <= (dp = bX.dV.data[108].value) || (bH.result.uz += .01 * (100 - dp) * 10), this.v2()) + }, this.v2 = function() { + b2.en.fm(a2.es) && (.01 <= uy && aC.uu(0, L(9, [uy.toFixed(2)]), 40, 0, p.m9, p.lr, -1, !1), .01 <= bH.result.uz) && aC.uu(0, L(10, [bH.result.uz.toFixed(2)]), 40, 0, p.m9, p.lr, -1, !1) + }, this.vE = function() { + var ro, vF; + a2.jD || bH.uG.v0 || (vF = aX, ro = a2.es, 0 === vF.vG[ro]) || vF.hj[ro] < 1 || 2 * vF.nu[ro] > 3 * (vF.hi[ro] + vF.hj[ro]) || (vF = .01 * vF.vA[ro] / 50) < .01 || aC.uu(0, L(9, [vF.toFixed(2)]), 40, 0, p.m9, p.lr, -1, !1) + } +} + +function uH() { + this.v0 = !1, this.dD = function() { + this.v0 = !1 + }, this.ha = function() { + 7 <= a2.jB || this.v0 || bT.eq() % 20 == 11 && b2.en.jq(90) && (a2.uS = 1, bH.uK.uZ(), bH.result.uZ()) } } function uD() { - this.uv = 0, this.uM = null; - var ux = this.uw = 0; - this.uy = 0, this.uY = function() { - var v2, f5, dp; - bH.uF.uz || (bH.uF.uz = !0, a2.jD) || ((v2 = this).uM = bH.g4.uL(), v2.uv = bW.v3.v4(), a2.jB < 7 && 2 !== a2.uR ? v2.uw = bV.v5() : v2.uw = bH.g4.uO(), 8 === a2.jB && 1 === a2.uR ? (f5 = 1 - a2.ul, dp = aX.ep[f5], aX.ep[f5] = 0, b0.en - .nY(), aX.ep[f5] = dp) : b0.en.nY(), ux = .01 * aX.v9[a2.es] / 50, v2.uy = 0, a2.jB < 7 ? bH.uB.uY(v2.uM) : 7 === a2.jB || 10 === a2.jB ? b2.en.fm(a2.es) && (f5 = bH.result.uv * (1 + a2.vC), 2 === a2.uR ? bH.result.uy += f5 * - aX.ep[a2.es] / bH.result.uw : jw[0] === a2.es && (bH.result.uy += f5)) : 8 !== a2.jB || 1 !== a2.uZ || 0 === bX.dV.data[107].value || 100 <= (dp = bX.dV.data[108].value) || (bH.result.uy += .01 * (100 - dp) * 10), this.v1()) - }, this.v1 = function() { - b2.en.fm(a2.es) && (.01 <= ux && aC.ut(0, L(9, [ux.toFixed(2)]), 40, 0, p.m9, p.lr, -1, !1), .01 <= bH.result.uy) && aC.ut(0, L(10, [bH.result.uy.toFixed(2)]), 40, 0, p.m9, p.lr, -1, !1) - }, this.vD = function() { - var rn, vE; - a2.jD || bH.uF.uz || (vE = aX, rn = a2.es, 0 === vE.vF[rn]) || vE.hj[rn] < 1 || 2 * vE.nu[rn] > 3 * (vE.hi[rn] + vE.hj[rn]) || (vE = .01 * vE.v9[rn] / 50) < .01 || aC.ut(0, L(9, [vE.toFixed(2)]), 40, 0, p.m9, p.lr, -1, !1) - } -} - -function uG() { - this.uz = !1, this.dD = function() { - this.uz = !1 - }, this.ha = function() { - 7 <= a2.jB || this.uz || bT.eq() % 20 == 11 && b2.en.jq(90) && (a2.uR = 1, bH.uJ.uY(), bH.result.uY()) - } -} - -function uC() { - function vJ(vH) { - for (var gd = (1 + a2.vC) * bH.result.uv / (1e5 * bH.result.uw), vN = "", a0 = 0; a0 < vH.length; a0++) { - var vO = vH[a0].vP * gd; - vN += " " + vH[a0].name + ": " + b2.l1.vQ(1e5 * vO) + function vK(vI) { + for (var gd = (1 + a2.vD) * bH.result.uw / (1e5 * bH.result.ux), vO = "", a0 = 0; a0 < vI.length; a0++) { + var vP = vI[a0].vQ * gd; + vO += " " + vI[a0].name + ": " + b2.l1.vR(1e5 * vP) } - vN.length && (aC.ut(0, L(11), 45, 0, b2.color.lm(225, 240, 255), p.lr, -1, !1), aC.ut(0, vN.trim(), 45, 0, b2.color.lm(225, 240, 255), p.lr, -1, !1), a2.fj || aC.ut(700, L(12) + bA.vR, 736, 0, p.lu, p.mE, -1, !1)) + vO.length && (aC.uu(0, L(11), 45, 0, b2.color.lm(225, 240, 255), p.lr, -1, !1), aC.uu(0, vO.trim(), 45, 0, b2.color.lm(225, 240, 255), p.lr, -1, !1), a2.fj || aC.uu(700, L(12) + bA.vS, 736, 0, p.lu, p.mE, -1, !1)) } - this.uY = function(uM) { - var uo = bU.up[bV.ju()], - uM = (a2.uZ && b2.en.fm(a2.es) && (bH.result.uy += (b2.l1.vL(aX.vM[a2.es]) ? 2 : 1) * bH.result.uv * (1 + a2.vC) * aX.ep[a2.es] / bH.result.uw), function(sw) { - var vH = [], - username = aX.vM, - ex = sw.length; + this.uZ = function(uN) { + var up = bU.uq[bV.ju()], + uN = (a2.ua && b2.en.fm(a2.es) && (bH.result.uz += (b2.l1.vM(aX.vN[a2.es]) ? 2 : 1) * bH.result.uw * (1 + a2.vD) * aX.ep[a2.es] / bH.result.ux), function(sx) { + var vI = [], + username = aX.vN, + ex = sx.length; loop: for (var a0 = 0; a0 < ex; a0++) { - var f4 = sw[a0], - vS = b2.l1.vL(username[f4]); - if (vS) { - for (var hy = vH.length - 1; 0 <= hy; hy--) - if (vH[hy].name === vS) { - vH[hy].vP += aX.ep[f4]; + var f4 = sx[a0], + vT = b2.l1.vM(username[f4]); + if (vT) { + for (var hy = vI.length - 1; 0 <= hy; hy--) + if (vI[hy].name === vT) { + vI[hy].vQ += aX.ep[f4]; continue loop - } vH.push({ - name: vS, - vP: aX.ep[f4], - vT: bU.il[f4] + } vI.push({ + name: vT, + vQ: aX.ep[f4], + vU: bU.il[f4] }) } } - return vH.sort(function(hy, i4) { - return i4.vP - hy.vP - }), vH - }(uM)); - uM.length && (2 === a2.uR ? vJ(uM) : vJ(function(vH, uo) { - for (var a0 = vH.length - 1; 0 <= a0; a0--) bU.up[vH[a0].vT] !== uo && vH.splice(a0, 1); - return vH - }(uM, uo))) + return vI.sort(function(hy, i4) { + return i4.vQ - hy.vQ + }), vI + }(uN)); + uN.length && (2 === a2.uS ? vK(uN) : vK(function(vI, up) { + for (var a0 = vI.length - 1; 0 <= a0; a0--) bU.uq[vI[a0].vU] !== up && vI.splice(a0, 1); + return vI + }(uN, up))) } } -function uK() { - this.uY = function() { - 2 === a2.uR ? a2.uZ = 2 : 8 === a2.jB ? (aS.uN(0) ? aS.uN(1) ? a2.ul = +(aX.ep[1] > aX.ep[0]) : a2.ul = 0 : a2.ul = 1, a2.uZ = +(a2.ul === a2.es)) : a2.hl ? a2.uZ = +(bU.il[a2.es] === bV.vV()) : (a2.ul = jw[0], a2.uZ = +(a2.ul === a2.es)) +function uL() { + this.uZ = function() { + 2 === a2.uS ? a2.ua = 2 : 8 === a2.jB ? (aS.uO(0) ? aS.uO(1) ? a2.um = +(aX.ep[1] > aX.ep[0]) : a2.um = 0 : a2.um = 1, a2.ua = +(a2.um === a2.es)) : a2.hl ? a2.ua = +(bU.il[a2.es] === bV.vW()) : (a2.um = jw[0], a2.ua = +(a2.um === a2.es)) } } function cw() { - this.id = 0, this.ds = 0, this.qe = null, this.t = null, this.qf = null, this.qi = null, this.n = new vW, this.dD = function() { + this.id = 0, this.ds = 0, this.qe = null, this.t = null, this.qf = null, this.qi = null, this.n = new vX, this.dD = function() { var self, ds; self = this, "undefined" == typeof Android || "function" != typeof Android.getVersion || (ds = Android.getVersion()) < 12 || (self.ds = ds, self.id = 1, self.t = Android), function(self) { @@ -1929,33 +1932,33 @@ function cw() { } } -function vW() { - this.va = function() { +function vX() { + this.vb = function() { bX.p4.qw(), bX.p4.qx(), aq.k8.close(0, 3255), 0 === m.id ? m.qe && m.qe.clear() : 1 === m.id ? m.t.saveString(199, "") : 2 === m.id && m.qi.postMessage("clear") - }, this.vb = function() { - 2 === m.id ? m.qi.postMessage("showConsentForm") : 1 === m.id ? m.t.setState(7) : bK.dX.showCMPScreen() }, this.vc = function() { - this.setState(14) + 2 === m.id ? m.qi.postMessage("showConsentForm") : 1 === m.id ? m.t.setState(7) : bK.dX.showCMPScreen() }, this.vd = function() { + this.setState(14) + }, this.ve = function() { var oD = bX.dV.qa(101), max = ("string" != typeof(oD = "" === oD ? function() { { if (2 === m.id) return m.qf.password; if (1 === m.id) return 12 <= m.ds ? m.t.loadString(22) : "" } - return aT.vg(9) + return aT.vh(9) }() : oD) && (oD = ""), Math.floor(Math.pow(2, 48))), - vf = Math.floor(parseInt(a9.u5(oD))); - return 0 < vf && vf < max ? bX.dV.dW(101, oD) : (vf = Math.floor(1 + (max - 1) * Math.random()), bX.dV.dW(101, oD)), vf - }, this.tZ = function() { + vg = Math.floor(parseInt(a9.u6(oD))); + return 0 < vg && vg < max ? bX.dV.dW(101, oD) : (vg = Math.floor(1 + (max - 1) * Math.random()), bX.dV.dW(101, oD)), vg + }, this.ta = function() { return 1 === bX.dV.qZ(2) - }, this.vh = function() { + }, this.vi = function() { bX.dV.dW(102, "") }, this.setState = function(dm) { 1 === m.id && 5 <= m.ds && m.t.setState(dm) }, this.o = function() { - var vi; - 1 === m.id && 7 <= m.ds ? m.t.setState(5) : ((vi = new URL(window.location)).searchParams.set("v", "" + Math.floor(1e3 * Math.random())), window.location.href = vi.toString()) + var vj; + 1 === m.id && 7 <= m.ds ? m.t.setState(5) : ((vj = new URL(window.location)).searchParams.set("v", "" + Math.floor(1e3 * Math.random())), window.location.href = vj.toString()) }, this.dH = function() { 1 !== m.id || m.ds < 17 || m.t.saveString(23, document.documentElement.outerHTML) }, this.db = function() { @@ -1963,109 +1966,105 @@ function vW() { }, this.dq = function(dp) { return 0 === m.id ? !!bK.dX.dk() : 1 === m.id ? 12 <= m.ds && (m.t.presentAd(dp), !0) : 2 === m.id && (0 === m.ds ? m.qi.postMessage("show ad " + dp) : m.qi.postMessage("showAd"), !0) }, this.dM = function() { - 2 === m.id && m.ds < 23 && i.j(4, 1, new k("App Update Required", "A new iOS app version with bug fixes has been published.
Please download the new Territorial.io app version for iOS:
" + bA - .vj + "", !0, [new l(L(13), function() { + 2 === m.id && m.ds < 23 && i.j(4, 1, new k("App Update Required", "A new iOS app version with bug fixes has been published.
Please download the new Territorial.io app version for iOS:
" + bA + .vk + "", !0, [new l(L(13), function() { i.j(0) }, p.mT)])) } } function dA() { - function vm(d) { - vu(d), i.j(4, 5, new k("🚀 New Game Update", "The game has been updated! Please reload the game." + + function vn(d) { + vv(d), i.j(4, 5, new k("🚀 New Game Update", "The game has been updated! Please reload the game." + "

FX Client is not yet compatible with the latest version of the game.

Updates should normally be available within a few hours.
You can still use FX to play in singleplayer mode.

", !0, [new l(L(13), function() { - i.vv() + i.vw() }, p.mT), new l("🔄 Reload", function() { m.n.o() }, p.q)])) } - function vt(title, vN, d) { - vu(d), i.j(4, 5, new k("⚠ïļ " + title, vN, !0)) + function vu(title, vO, d) { + vv(d), i.j(4, 5, new k("⚠ïļ " + title, vO, !0)) } - function vu(d) { + function vv(d) { ! function(d) { - var dm = aP.vo(); - 0 !== dm && (6 === dm ? aq.k8.vz(d) : 7 === dm ? (aj.w0(), aq.k8.close(aq.k8.vq, 3256)) : 8 === dm && a2.w1(!0)) - }(d), i.k8.vy() + var dm = aP.vp(); + 0 !== dm && (6 === dm ? aq.k8.w0(d) : 7 === dm ? (aj.w1(), aq.k8.close(aq.k8.vr, 3256)) : 8 === dm && a2.w2(!0)) + }(d), i.k8.vz() } - this.vk = function(vl, d) { - if (8 === i.pV && 0 === vl) - if (4211 === d) vm(d); + this.vl = function(vm, d) { + if (8 === i.pV && 0 === vm) + if (4211 === d) vn(d); else { if (4480 === d) return bX.p4.qy(), void i.j(4, 0, new k(L(16), L(17), !0)); i.j(4, 0, new k(L(14), L(15, [d]), !0)) } else { - var dm = aP.vo(); + var dm = aP.vp(); if (6 === dm) { - if (4211 === d) return void vm(d); - if (4214 !== d) return void aO.vp(vl) + if (4211 === d) return void vn(d); + if (4214 !== d) return void aO.vq(vm) } else { - if (7 !== dm) return 8 === dm ? void(vl !== aq.k8.vr || a2.jD || 1 !== a2.uU || a2.fj || aC.vs(L(15, [d]))) : void 0; - if (vl !== aq.k8.vq) return + if (7 !== dm) return 8 === dm ? void(vm !== aq.k8.vs || a2.jD || 1 !== a2.uV || a2.fj || aC.vt(L(15, [d]))) : void 0; + if (vm !== aq.k8.vr) return } - vt("Error", d, d) + vu("Error", d, d) } - }, this.vw = function(d) { - 8 === aP.vo() ? a2.jD || 1 !== a2.uU || aC.vs(L(15, [d])) : vt("Error", d, d) + }, this.vx = function(d) { + 8 === aP.vp() ? a2.jD || 1 !== a2.uV || aC.vt(L(15, [d])) : vu("Error", d, d) }, this.h = function() { - vu(3268) + vv(3268) } } function cl() { - var w2, w3, w4 = -15e3, - w5 = !1; + var w3, w4, w5 = -15e3, + w6 = !1; function fn(d) { - wP() || (w5 = !0, wQ(d, 1), aq.k8.wR(aq.k8.vr), wS(Math.floor(an.oY * d.clientX), Math.floor(an.oY * d.clientY))) - } - - function wE(d) { - w4 = bT.dn, wQ(d, 1), aq.k8.wR(aq.k8.vr), 0 < d.touches.length && (w2 = Math.floor(an.oY * d.touches[0].clientX), w3 = Math.floor(an.oY * d.touches[0].clientY), ah.wE(d) || wS(w2, w3)) - } - - function wS(ff, fg) { - i.fn(ff, fg), 0 === a2.uU ? aP.fn(ff, fg) : b3.wT(ff, fg) || bS.fn(ff, fg) || aM.fn(ff, fg) || aA.wU(ff, fg) || aE.fn(ff, fg) || aB.fn(ff, fg) || b9.wV(ff, fg) || al.fn(ff, fg) || aA.wW(ff, fg) - } - - function wA(d) { - wP() || (w5 = !0, wQ(d, 1), wX(Math.floor(an.oY * d.clientX), Math.floor(an.oY * d.clientY))) + wQ() || (w6 = !0, wR(d, 1), aq.k8.wS(aq.k8.vs), wT(Math.floor(an.oY * d.clientX), Math.floor(an.oY * d.clientY))) } function wF(d) { - w4 = bT.dn, wQ(d, 1), 0 < d.touches.length && (w2 = Math.floor(an.oY * d.touches[0].clientX), w3 = Math.floor(an.oY * d.touches[0].clientY), ah.wF(d) || wX(w2, w3)) + w5 = bT.dn, wR(d, 1), aq.k8.wS(aq.k8.vs), 0 < d.touches.length && (w3 = Math.floor(an.oY * d.touches[0].clientX), w4 = Math.floor(an.oY * d.touches[0].clientY), ah.wF(d) || wT(w3, w4)) } - function wX(ff, fg) { - i.wA(ff, fg), 0 === a2.uU ? aP.wA(ff, fg) : (bJ.fe(ff, fg), bS.wA(ff, fg) || (aB.wA(ff, fg), aA.t9() ? aA.wA(ff, fg) : aG.fo ? aG.wA(ff) && (bT.dK = !0) : (aK.wA(ff, fg), aH.lR && aH.wA(ff, fg) && (bT.dK = !0)))) - } - - function wC(d) { - wP() || (wQ(d, 1), wY(), 0 === a2.uU ? (aP.click(-1024, -1024), aI.wZ()) : (aK.wa(-1024, -1024), aB.wA(-1024, -1024), aG.wb(), aH.lR = !1)) + function wT(ff, fg) { + i.fn(ff, fg), 0 === a2.uV ? aP.fn(ff, fg) : b3.wU(ff, fg) || bS.fn(ff, fg) || aM.fn(ff, fg) || aA.wV(ff, fg) || aE.fn(ff, fg) || aB.fn(ff, fg) || b9.wW(ff, fg) || al.fn(ff, fg) || aA.wX(ff, fg) } function wB(d) { - wP() || (wQ(d, 1), wc(Math.floor(an.oY * d.clientX), Math.floor(an.oY * d.clientY), 2 === d.button), b9.w8 && (b9.w8 = !1, d.preventDefault())) - } - - function click(d) { - wP() || wQ(d, 1) + wQ() || (w6 = !0, wR(d, 1), wY(Math.floor(an.oY * d.clientX), Math.floor(an.oY * d.clientY))) } function wG(d) { - w4 = bT.dn, wQ(d, 1), d && d.touches && 0 < d.touches.length && 0 !== a2.uU ? aH.lR = !1 : ah.wd() || (wc(w2, w3, !1), b9.w8 && (b9.w8 = !1, d.preventDefault())) + w5 = bT.dn, wR(d, 1), 0 < d.touches.length && (w3 = Math.floor(an.oY * d.touches[0].clientX), w4 = Math.floor(an.oY * d.touches[0].clientY), ah.wG(d) || wY(w3, w4)) + } + + function wY(ff, fg) { + i.wB(ff, fg), 0 === a2.uV ? aP.wB(ff, fg) : (bJ.fe(ff, fg), bS.wB(ff, fg) || (aB.wB(ff, fg), aA.tA() ? aA.wB(ff, fg) : aG.fo ? aG.wB(ff) && (bT.dK = !0) : (aK.wB(ff, fg), aH.lR && aH.wB(ff, fg) && (bT.dK = !0)))) + } + + function wD(d) { + wQ() || (wR(d, 1), wZ(), 0 === a2.uV ? (aP.click(-1024, -1024), aI.wa()) : (aK.wb(-1024, -1024), aB.wB(-1024, -1024), aG.wc(), aH.lR = !1)) + } + + function wC(d) { + wQ() || (wR(d, 1), wd(Math.floor(an.oY * d.clientX), Math.floor(an.oY * d.clientY), 2 === d.button), b9.w9 && (b9.w9 = !1, d.preventDefault())) + } + + function click(d) { + wQ() || wR(d, 1) } function wH(d) { - w4 = bT.dn, wQ(d, 1), wc(w2, w3, !1), b9.w8 && (b9.w8 = !1, d.preventDefault()) + w5 = bT.dn, wR(d, 1), d && d.touches && 0 < d.touches.length && 0 !== a2.uV ? aH.lR = !1 : ah.we() || (wd(w3, w4, !1), b9.w9 && (b9.w9 = !1, d.preventDefault())) } function wI(d) { - ax.wI(d) + w5 = bT.dn, wR(d, 1), wd(w3, w4, !1), b9.w9 && (b9.w9 = !1, d.preventDefault()) } function wJ(d) { @@ -2073,118 +2072,122 @@ function cl() { } function wK(d) { - wP() || wQ(d, 0) - } - - function wc(ff, fg, we) { - wY(), 0 === a2.uU ? aP.click(ff, fg) : (aK.wa(ff, fg), bS.wa(), aG.wb(), aH.lR = !1, aA.click(ff, fg, we) ? bT.dK = !0 : aB.wB(ff, fg)) - } - - function wY() { - i.wY() - } - - function wD(d) { - var ff, fg, deltaY; - wP() || (wQ(d, 1), aq.k8.wR(aq.k8.vr), ff = Math.floor(an.oY * d.clientX), fg = Math.floor(an.oY * d.clientY), deltaY = d.deltaY, 1 === d.deltaMode && (deltaY *= 16), i.wD(ff, fg, deltaY), 0 === a2.uU ? aP.wD(ff, fg, deltaY) : aK.wD(ff, fg, - deltaY) || (aG.wf(ff, fg) ? aG.wD(deltaY) && (bT.dK = !0) : aH.wD(ff, fg, deltaY))) + ax.wK(d) } function wL(d) { - wQ(d, 0) + wQ() || wR(d, 0) } - function wQ(d, id) { - 0 === id && i.t9() || (id = window.innerWidth / document.documentElement.clientWidth) < .999 || 1.001 < id || 0 !== aP.vo() && d.preventDefault() + function wd(ff, fg, wf) { + wZ(), 0 === a2.uV ? aP.click(ff, fg) : (aK.wb(ff, fg), bS.wb(), aG.wc(), aH.lR = !1, aA.click(ff, fg, wf) ? bT.dK = !0 : aB.wC(ff, fg)) } - function wN(d) { - if (keybindHandler(d.key)) return; - wP() || ("ArrowLeft" === d.key ? ae.wh(3) : "ArrowUp" === d.key ? ae.wh(0) : "ArrowRight" === d.key ? ae.wh(1) : "ArrowDown" === d.key ? ae.wh(2) : "a" === d.key ? aG.wi(.9375) : "d" === d.key ? aG.wi(16 / 15) : "s" === d.key ? aG.wi(7 / 8) : - "w" === d.key ? aG.wi(8 / 7) : "1" === d.key ? aG.wi(.75) : "2" === d.key ? aG.wi(7 / 8) : "3" === d.key ? aG.wi(.9375) : "4" === d.key ? aG.wi(31 / 32) : "5" === d.key ? aG.wi(32 / 31) : "6" === d.key ? aG.wi(16 / 15) : "7" === d - .key ? aG.wi(8 / 7) : "8" === d.key ? aG.wi(4 / 3) : "+" === d.key ? 0 !== a2.uU && aH.wD(Math.floor(an.u / 2), Math.floor(an.iE / 2), -200) : "-" === d.key ? 0 !== a2.uU && aH.wD(Math.floor(an.u / 2), Math.floor(an.iE / 2), 200) : - "c" === d.key ? 0 !== a2.uU && bS.wj() : " " === d.key ? a2.uU && bJ.fh(!1) : "b" === d.key && a2.uU && bJ.fh(!0)) + function wZ() { + i.wZ() + } + + function wE(d) { + var ff, fg, deltaY; + wQ() || (wR(d, 1), aq.k8.wS(aq.k8.vs), ff = Math.floor(an.oY * d.clientX), fg = Math.floor(an.oY * d.clientY), deltaY = d.deltaY, 1 === d.deltaMode && (deltaY *= 16), i.wE(ff, fg, deltaY), 0 === a2.uV ? aP.wE(ff, fg, deltaY) : aK.wE(ff, fg, + deltaY) || (aG.wg(ff, fg) ? aG.wE(deltaY) && (bT.dK = !0) : aH.wE(ff, fg, deltaY))) } function wM(d) { - wP() || bT.dn < 400 || "Enter" === d.key && i.wk(1) || (8 !== aP.vo() && aP.wk(d) ? bT.dK = !0 : "Escape" === d.key ? b9.dt() : "ArrowLeft" === d.key || "a" === d.key ? ae.wl(3) : "ArrowUp" === d.key || "w" === d.key ? ae.wl(0) : - "ArrowRight" === d.key || "d" === d.key ? ae.wl(1) : "ArrowDown" === d.key || "s" === d.key ? ae.wl(2) : "h" === d.key ? b3.wm(!a2.lQ) : " " === d.key && a2.uU && (aB.fk && aB.wn(), a2.fj) && b3.wo(!1)) + wR(d, 0) } - function wO() { - "hidden" === document.visibilityState ? 1 === a2.uU && (a2.fj ? b3.wp() : !a2.jD || aB.fk || a2.fz || aB.wn()) : bT.dK = !0 + function wR(d, id) { + 0 === id && i.tA() || (id = window.innerWidth / document.documentElement.clientWidth) < .999 || 1.001 < id || 0 !== aP.vp() && d.preventDefault() + } + + function wO(d) { + if (keybindHandler(d.key)) return; + wQ() || ("ArrowLeft" === d.key ? ae.wi(3) : "ArrowUp" === d.key ? ae.wi(0) : "ArrowRight" === d.key ? ae.wi(1) : "ArrowDown" === d.key ? ae.wi(2) : "a" === d.key ? aG.wj(.9375) : "d" === d.key ? aG.wj(16 / 15) : "s" === d.key ? aG.wj(7 / 8) : + "w" === d.key ? aG.wj(8 / 7) : "1" === d.key ? aG.wj(.75) : "2" === d.key ? aG.wj(7 / 8) : "3" === d.key ? aG.wj(.9375) : "4" === d.key ? aG.wj(31 / 32) : "5" === d.key ? aG.wj(32 / 31) : "6" === d.key ? aG.wj(16 / 15) : "7" === d + .key ? aG.wj(8 / 7) : "8" === d.key ? aG.wj(4 / 3) : "+" === d.key ? 0 !== a2.uV && aH.wE(Math.floor(an.u / 2), Math.floor(an.iE / 2), -200) : "-" === d.key ? 0 !== a2.uV && aH.wE(Math.floor(an.u / 2), Math.floor(an.iE / 2), 200) : + "c" === d.key ? 0 !== a2.uV && bS.wk() : " " === d.key ? a2.uV && bJ.fh(!1) : "b" === d.key && a2.uV && bJ.fh(!0)) + } + + function wN(d) { + wQ() || bT.dn < 400 || "Enter" === d.key && i.wl(1) || (8 !== aP.vp() && aP.wl(d) ? bT.dK = !0 : "Escape" === d.key ? b9.dt() : "ArrowLeft" === d.key || "a" === d.key ? ae.wm(3) : "ArrowUp" === d.key || "w" === d.key ? ae.wm(0) : + "ArrowRight" === d.key || "d" === d.key ? ae.wm(1) : "ArrowDown" === d.key || "s" === d.key ? ae.wm(2) : "h" === d.key ? b3.wn(!a2.lQ) : " " === d.key && a2.uV && (aB.fk && aB.wo(), a2.fj) && b3.wp(!1)) } function wP() { - return w4 + 15e3 > bT.dn + "hidden" === document.visibilityState ? 1 === a2.uV && (a2.fj ? b3.wq() : !a2.jD || aB.fk || a2.fz || aB.wo()) : bT.dK = !0 + } + + function wQ() { + return w5 + 15e3 > bT.dn } function resize() { - an.ws() + an.wt() } - this.w6 = 0, this.w7 = "", this.w8 = !1, this.dD = function() { - w9.addEventListener("mousedown", fn, { + this.w7 = 0, this.w8 = "", this.w9 = !1, this.dD = function() { + wA.addEventListener("mousedown", fn, { passive: !1 - }), w9.addEventListener("mousemove", wA, { + }), wA.addEventListener("mousemove", wB, { passive: !1 - }), w9.addEventListener("mouseup", wB, { + }), wA.addEventListener("mouseup", wC, { passive: !1 - }), w9.addEventListener("click", click, { + }), wA.addEventListener("click", click, { passive: !1 - }), w9.addEventListener("mouseleave", wC, { + }), wA.addEventListener("mouseleave", wD, { passive: !1 - }), w9.addEventListener("wheel", wD, { + }), wA.addEventListener("wheel", wE, { passive: !1 - }), w9.addEventListener("touchstart", wE, { + }), wA.addEventListener("touchstart", wF, { passive: !1 - }), w9.addEventListener("touchmove", wF, { + }), wA.addEventListener("touchmove", wG, { passive: !1 - }), w9.addEventListener("touchend", wG, { + }), wA.addEventListener("touchend", wH, { passive: !1 - }), w9.addEventListener("touchcancel", wH, { + }), wA.addEventListener("touchcancel", wI, { passive: !1 - }), w9.addEventListener("dragover", wI), w9.addEventListener("drop", wJ), w9.addEventListener("dblclick", wK), document.addEventListener("contextmenu", wL), document.addEventListener("keyup", wM), document.addEventListener("keydown", - wN), document.addEventListener("visibilitychange", wO), window.addEventListener("resize", resize) - }, this.wV = function(ff, fg) { + }), wA.addEventListener("dragover", wJ), wA.addEventListener("drop", wK), wA.addEventListener("dblclick", wL), document.addEventListener("contextmenu", wM), document.addEventListener("keyup", wN), document.addEventListener("keydown", + wO), document.addEventListener("visibilitychange", wP), window.addEventListener("resize", resize) + }, this.wW = function(ff, fg) { return !!b3.fn(ff, fg) || !!(aK.fn(ff, fg) || aH.fn(ff, fg) || aG.fn(ff, fg) || aC.fn(ff, fg)) - }, this.wq = wP, this.wr = function() { - return !w5 || 0 < w4 + }, this.wr = wQ, this.ws = function() { + return !w6 || 0 < w5 }, this.dt = function() { - if (!i.t9()) return 8 === aP.vo() ? a2.lQ ? void b3.wm(!1) : bS.t9 ? void bS.wn() : void aB.wn() : void(7 === aP.vo() ? aj.wt() : 6 === aP.vo() ? aO.wu() : 2 === aP.vo() && aQ.wv()); - i.wk(2) + if (!i.tA()) return 8 === aP.vp() ? a2.lQ ? void b3.wn(!1) : bS.tA ? void bS.wo() : void aB.wo() : void(7 === aP.vp() ? aj.wu() : 6 === aP.vp() ? aO.wv() : 2 === aP.vp() && aQ.ww()); + i.wl(2) } } function bf() { - this.kt = new ww, this.oc = new wx, this.en = new wy, this.l1 = new wz, this.sp = new x0, this.x1 = new x2, this.gL = new x3, this.color = new x4, this.x5 = new x6, this.dD = function() { + this.kt = new wx, this.oc = new wy, this.en = new wz, this.l1 = new x0, this.sq = new x1, this.x2 = new x3, this.gL = new x4, this.color = new x5, this.x6 = new x7, this.dD = function() { this.kt.qv() } } -function wx() { - this.rl = function(e5) { +function wy() { + this.rm = function(e5) { e5.fill(0) - }, this.x7 = function(e5) { + }, this.x8 = function(e5) { for (var ex = e5.length, a0 = 0; a0 < ex; a0++) e5[a0] = [] - }, this.x8 = function(gY, x9) { - for (var gZ = bE.dz, a0 = 0; a0 < 3; a0++) gZ[a0] = x9 * gY[a0]; + }, this.x9 = function(gY, xA) { + for (var gZ = bE.dz, a0 = 0; a0 < 3; a0++) gZ[a0] = xA * gY[a0]; return gZ - }, this.xA = function(gY, gZ, xB) { + }, this.xB = function(gY, gZ, xC) { for (var gd = 0, a0 = 0; a0 < 3; a0++) gd += Math.abs(gY[a0] - gZ[a0]); - return xB <= gd - }, this.xC = function(gY, xD) { - for (var a0 = 0; a0 < 3; a0++) gY[a0] = bB.o5(gY[a0] + xD, 0, 255); + return xC <= gd + }, this.xD = function(gY, xE) { + for (var a0 = 0; a0 < 3; a0++) gY[a0] = bB.o5(gY[a0] + xE, 0, 255); return gY - }, this.xE = function(e5, pn, po) { - var a0, xF = 0; - for (po = po || e5.length - 1, a0 = pn = pn || 0; a0 <= po; a0++) xF += e5[a0]; - return xF - }, this.xG = function(e5, xH) { - for (var a0, xI, ex = e5.length, xJ = [], hy = ex - 1; 0 <= hy; hy--) { - for (a0 = xI = 0; a0 < ex; a0++) xH(e5[a0]) < xH(e5[xI]) && (xI = a0); - ex--, xJ.push(e5[xI]), e5[xI] = e5[ex], e5.pop() + }, this.xF = function(e5, pn, po) { + var a0, xG = 0; + for (po = po || e5.length - 1, a0 = pn = pn || 0; a0 <= po; a0++) xG += e5[a0]; + return xG + }, this.xH = function(e5, xI) { + for (var a0, xJ, ex = e5.length, xK = [], hy = ex - 1; 0 <= hy; hy--) { + for (a0 = xJ = 0; a0 < ex; a0++) xI(e5[a0]) < xI(e5[xJ]) && (xJ = a0); + ex--, xK.push(e5[xJ]), e5[xJ] = e5[ex], e5.pop() } - return xJ + return xK }, this.min = function(e5) { var a0, dr, ex = e5.length; if (0 === ex) return 0; @@ -2195,38 +2198,38 @@ function wx() { if (0 === ex) return 0; for (dr = e5[0], a0 = 1; a0 < ex; a0++) dr = Math.max(dr, e5[a0]); return dr - }, this.xK = function(xL, xM, min) { - for (var ex = xM[0], a0 = ex - 1; 0 <= a0; a0--) xL[a0] < min && (xL[a0] = xL[--ex]); - xM[0] = ex - }, this.xN = function(e5, ex, value) { + }, this.xL = function(xM, xN, min) { + for (var ex = xN[0], a0 = ex - 1; 0 <= a0; a0--) xM[a0] < min && (xM[a0] = xM[--ex]); + xN[0] = ex + }, this.xO = function(e5, ex, value) { for (var a0 = 0; a0 < ex; a0++) e5[a0] -= value } } -function x3() { - this.tN = function(xO, ke, xP) { - var gF = xO.height, - xQ = b2.kt.rb(gF, gF), - gM = b2.kt.getContext(xQ); - return function(u, gM, xP) { - gM.fillStyle = xP, gM.beginPath(), gM.arc(u / 2, u / 2, .47 * u, 0, 2 * Math.PI), gM.fill() - }(gF, gM, xP), gM.drawImage(xO, -ke * gF, 0), xQ - }, this.xS = function(xT) { - var gM, gI, gF = xT.height; - return xT.width === gF && (gI = (gM = b2.kt.getContext(xT, !0)).getImageData(0, 0, gF, gF), b2.x1.xU(gI.data, gF, gF, .9), gM.putImageData(gI, 0, 0)), xT +function x4() { + this.tO = function(xP, ke, xQ) { + var gF = xP.height, + xR = b2.kt.rc(gF, gF), + gM = b2.kt.getContext(xR); + return function(u, gM, xQ) { + gM.fillStyle = xQ, gM.beginPath(), gM.arc(u / 2, u / 2, .47 * u, 0, 2 * Math.PI), gM.fill() + }(gF, gM, xQ), gM.drawImage(xP, -ke * gF, 0), xR + }, this.xT = function(xU) { + var gM, gI, gF = xU.height; + return xU.width === gF && (gI = (gM = b2.kt.getContext(xU, !0)).getImageData(0, 0, gF, gF), b2.x2.xV(gI.data, gF, gF, .9), gM.putImageData(gI, 0, 0)), xU } } -function x4() { - this.xV = function(dr) { +function x5() { + this.xW = function(dr) { return [dr >> 12 & 63, dr >> 6 & 63, 63 & dr] - }, this.xW = function(dr) { - for (var e5 = this.xV(dr), a0 = 0; a0 < 3; a0++) e5[a0] = ~~(4.05 * e5[a0]); - return e5 }, this.xX = function(dr) { - dr = this.xW(dr); + for (var e5 = this.xW(dr), a0 = 0; a0 < 3; a0++) e5[a0] = ~~(4.05 * e5[a0]); + return e5 + }, this.xY = function(dr) { + dr = this.xX(dr); return b2.color.lm(dr[0], dr[1], dr[2]) - }, this.xY = function(e5) { + }, this.xZ = function(e5) { for (var a0 = 0; a0 < 3; a0++) e5[a0] = ~~(e5[a0] / 4.04); return (e5[0] << 12) + (e5[1] << 6) + e5[2] }, this.lm = function(gO, pr, i4) { @@ -2236,23 +2239,23 @@ function x4() { }, this.os = function(ik) { for (var e5 = ik.split("(")[1].split(","), dy = (e5.length, bE.dy), a0 = 0; a0 < 3; a0++) dy[a0] = parseInt(e5[a0]); return dy - }, this.oo = function(xZ, f6) { - for (var e5 = xZ.slice(xZ.indexOf("(") + 1, xZ.indexOf(")")).split(","), dy = bE.dy, a0 = 0; a0 < 3; a0++) dy[a0] = bB.o5(parseInt(e5[a0].trim(), 10) + f6, 0, 255); + }, this.oo = function(xa, f6) { + for (var e5 = xa.slice(xa.indexOf("(") + 1, xa.indexOf(")")).split(","), dy = bE.dy, a0 = 0; a0 < 3; a0++) dy[a0] = bB.o5(parseInt(e5[a0].trim(), 10) + f6, 0, 255); return 3 === e5.length ? this.lm(dy[0], dy[1], dy[2]) : this.lo(dy[0], dy[1], dy[2], parseFloat(e5[3].trim())) - }, this.xa = function(e5) { + }, this.xb = function(e5) { for (var oD = "#", a0 = 0; a0 < 3; a0++) { var gO = e5[a0].toString(16); oD += 1 === gO.length ? "0" + gO : gO } return oD - }, this.xb = function(oD) { + }, this.xc = function(oD) { var gO, pr; return oD.length < 7 ? p.kz : (gO = parseInt(oD.slice(1, 3), 16), pr = parseInt(oD.slice(3, 5), 16), oD = parseInt(oD.slice(5, 7), 16), this.lm(gO, pr, oD)) } } -function x0() { - this.xc = function(oD, font, maxWidth) { +function x1() { + this.xd = function(oD, font, maxWidth) { if (ku.font = font, ku.measureText(oD).width <= maxWidth) return oD; for (var a0 = oD.length - 1; 1 <= a0; a0--) if (oD = oD.substring(0, a0), ku.measureText(oD + "...").width <= maxWidth) return oD + "..."; @@ -2260,71 +2263,71 @@ function x0() { } } -function x6() { - var xd = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; - this.xe = function(dn) { - var xg, oD = new Date(dn.getTime() - 6e4 * dn.getTimezoneOffset()).toUTCString(); - return oD.length < 12 || (oD = oD.substring(5, oD.length), 0 === (dn = dn.getTimezoneOffset())) ? oD : (xg = (dn < 0 ? "+" : "-") + bB.el(Math.abs(dn), 60), 0 == (dn = Math.abs(dn) % 60) ? oD + xg : oD + xg + ":" + (dn < 10 ? "0" : "") + +function x7() { + var xe = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; + this.xf = function(dn) { + var xh, oD = new Date(dn.getTime() - 6e4 * dn.getTimezoneOffset()).toUTCString(); + return oD.length < 12 || (oD = oD.substring(5, oD.length), 0 === (dn = dn.getTimezoneOffset())) ? oD : (xh = (dn < 0 ? "+" : "-") + bB.el(Math.abs(dn), 60), 0 == (dn = Math.abs(dn) % 60) ? oD + xh : oD + xh + ":" + (dn < 10 ? "0" : "") + dn) - }, this.xh = function(dn) { + }, this.xi = function(dn) { var oD = dn.toUTCString(); return oD.length < 12 ? oD : function(dn) { - return xd[dn.getUTCDay()] + return xe[dn.getUTCDay()] }(dn) + ", " + oD.substring(5, oD.length - 4) } } -function ww() { - var xj = null; - this.tf = 0, this.qv = function() { +function wx() { + var xk = null; + this.tg = 0, this.qv = function() { var dr = bX.dV.data[5].value; - xj = "px " + dr, "Trebuchet MS" !== dr && (xj += ", Trebuchet MS"), this.tf = gE(32, 32, ["a", "b", "m"], 200, xj) - }, this.rb = function(u, iE) { + xk = "px " + dr, "Trebuchet MS" !== dr && (xk += ", Trebuchet MS"), this.tg = gE(32, 32, ["a", "b", "m"], 200, xk) + }, this.rc = function(u, iE) { var ik = document.createElement("canvas"); return ik.width = u, ik.height = iE, ik }, this.getContext = function(gL, alpha) { return gL.getContext("2d", { alpha: alpha }) - }, this.getImageData = function(sp, u, iE) { - return sp.getImageData(0, 0, u, iE) + }, this.getImageData = function(sq, u, iE) { + return sq.getImageData(0, 0, u, iE) }, this.ky = function(type, size) { - return size = size.toFixed(2), 0 === type ? size + xj : 1 === type ? "bold " + size + xj : 2 === type ? "lighter " + size + xj : 3 === type ? "italic " + size + xj : 4 === type ? "oblique " + size + xj : 5 === type ? "small-caps " + - size + xj : "small-caps bold " + size + xj + return size = size.toFixed(2), 0 === type ? size + xk : 1 === type ? "bold " + size + xk : 2 === type ? "lighter " + size + xk : 3 === type ? "italic " + size + xk : 4 === type ? "oblique " + size + xk : 5 === type ? "small-caps " + + size + xk : "small-caps bold " + size + xk }, this.textAlign = function(gM, id) { gM.textAlign = 0 === id ? "left" : 1 === id ? "center" : "right" }, this.textBaseline = function(gM, id) { gM.textBaseline = 1 === id ? "middle" : 2 === id ? "bottom" : "top" }, this.oe = function(d, code, color) { - color = this.od(bQ.xk) + " solid " + (color || p.lu); + color = this.od(bQ.xl) + " solid " + (color || p.lu); 5 === (code = code || 5) ? d.style.border = color : 4 === code ? d.style.borderLeft = color : 2 === code ? d.style.borderBottom = color : 6 === code ? d.style.borderRight = color : d.style.borderTop = color }, this.pt = function(d, ff, fg, u, iE) { d = d.style; d.left = this.pu(ff), d.top = this.pu(fg), d.width = this.pu(u), d.height = this.pu(iE) }, this.oT = function(dr) { - return 1 + dr * m.n.tZ() + return 1 + dr * m.n.ta() }, this.p8 = function(lY, f5) { return lY * this.oT(void 0 === f5 ? .5 : f5) * an.oU / an.oY }, this.ps = function(lY, f5) { return lY * this.oT(void 0 === f5 ? .5 : f5) * an.oU - }, this.pb = function(lY, f5, xl) { - return this.oT(f5) * Math.min(lY * an.oU, xl * an.u) / an.oY + }, this.pb = function(lY, f5, xm) { + return this.oT(f5) * Math.min(lY * an.oU, xm * an.u) / an.oY }, this.od = function(dr) { return dr.toFixed(1) + "px" }, this.pu = function(dr) { - return this.xn(dr).toFixed(1) + "px" - }, this.xn = function(dr) { + return this.xo(dr).toFixed(1) + "px" + }, this.xo = function(dr) { return dr / an.oY - }, this.xo = function(pN, xp) { - for (var oD = "