gh-pages
peshomir 2026-07-26 11:28:14 +00:00
parent 6a15040216
commit a0540e8d30
5 changed files with 72 additions and 25 deletions

File diff suppressed because one or more lines are too long

37
game.js
View File

@ -2475,27 +2475,28 @@ function zd() {
for (aC = 0; aC < ak.sI.zv; aC++) zm.push(ak.sI.zw + aC);
var zx = ak.sI.zy(bN.zx);
for (aC = 0; aC < zx.length; aC++) zm.push(zx[aC]);
! function() {
var aC, h = bm.eU.data[120].value.split(",");
if (18 !== h.length)
for (aC = 0; aC < 9; aC++) zk[aC] = {
pl: 1015 + aC,
kZ: 0
};
else
for (aC = 0; aC < 9; aC++) {
var fb = parseInt(h[aC]),
eh = (fb = 0 <= fb && fb < ak.sI.zu ? fb : 0, parseInt(h[aC + 9]));
eh = 0 <= eh && eh < 1e3 ? eh : 0, zk[aC] = {
pl: fb,
kZ: eh
__fx.emojiBar.grid = zm,
function() {
var aC, h = bm.eU.data[120].value.split(",");
if (18 !== h.length)
for (aC = 0; aC < 9; aC++) zk[aC] = {
pl: 1015 + aC,
kZ: 0
};
else
for (aC = 0; aC < 9; aC++) {
var fb = parseInt(h[aC]),
eh = (fb = 0 <= fb && fb < ak.sI.zu ? fb : 0, parseInt(h[aC + 9]));
eh = 0 <= eh && eh < 1e3 ? eh : 0, zk[aC] = {
pl: fb,
kZ: eh
}
}
}
}()
}()
}, this.show = function(lj, lk, a03) {
var aC;
if (zn = lj, zo = lk, zj = a03 || 0, this.hv = !0, zl = [], 0 === zj)
for (aC = 0; aC < 9; aC++) zl.push(zk[aC].pl);
for (aC = 0; aC < 9; aC++) zl.push(__fx.emojiBar.slot(aC, zk[aC].pl));
else {
var fT = 49 * zj,
a03 = fT - 49;
@ -2512,7 +2513,7 @@ function zd() {
if ((lj += 10 * bO.iH(bO.fa(lk - nW + .5 * gap, ze), 0, 9)) >= zl.length) return aM.sJ(), !0;
lk = zl[lj];
if (1024 === lk) return this.show(zn, zo, zj + 1), !0;
! function(pl) {
__fx.emojiBar.isCustom() || function(pl) {
for (var aC = 0; aC < 9; aC++) zk[aC].kZ = Math.floor(.99 * zk[aC].kZ);
for (aC = 0; aC < 9; aC++)
if (pl === zk[aC].pl) return zk[aC].kZ = Math.min(zk[aC].kZ + 30, 999), a02();

View File

@ -36,7 +36,7 @@
<meta itemprop="image" content="https://fxclient.github.io/FXclient/assets/logo.png">
<!-- FX Client CSS -->
<link rel="stylesheet" href="main.css?1784889375926">
<link rel="stylesheet" href="main.css?1785065285213">
<!-- Game CSS -->
<style>
html,
@ -146,9 +146,9 @@
<button onclick="document.getElementById('updateNotification').style.display = 'none'">Dismiss</button>
</div>
</span>
<script src="variables.js?1784889375926"></script>
<script src="fx.bundle.js?1784889375926"></script>
<script src="game.js?1784889375926"></script>
<script src="variables.js?1785065285213"></script>
<script src="fx.bundle.js?1785065285213"></script>
<script src="game.js?1785065285213"></script>
</body>
</html>

View File

@ -316,6 +316,52 @@ label.checkbox .checkmark:after {
opacity: 0.4;
}
}
/* Custom emoji bar */
.emoji-bar-slots {
display: flex;
flex-wrap: wrap;
gap: 4px;
margin: 6px 0;
}
.emoji-bar-palette {
display: grid;
grid-template-columns: repeat(10, 34px);
justify-content: start;
gap: 2px;
width: fit-content;
max-width: 100%;
margin: 6px 0;
padding: 6px;
background-color: rgba(30, 34, 20, 0.9);
border: 1px solid #ffffff3d;
}
.emoji-bar-slots .emoji-slot, .emoji-bar-palette .emoji-choice {
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
padding: 2px;
margin: 0;
font-size: 20px;
line-height: 1;
}
.emoji-bar-slots .emoji-slot img, .emoji-bar-palette .emoji-choice img {
width: 100%;
height: 100%;
object-fit: contain;
}
.emoji-bar-slots .emoji-slot.selected {
background-color: rgba(0, 255, 0, 0.5);
border-radius: 8px;
}
.emoji-bar-pager {
display: flex;
align-items: center;
gap: 8px;
margin: 4px 0;
}
/* who likes css :sob:
/* Custom Map Button */

2
sw2.js
View File

@ -1,4 +1,4 @@
const cacheName = "1784889375926"; // this gets replaced by the build script
const cacheName = "1785065285213"; // this gets replaced by the build script
self.addEventListener("install", (e) => {
console.log("[Service Worker] Install", cacheName);