From a1cc316e300c673218bff92b34d977871646bbce Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 16 Mar 2022 23:24:06 +0100 Subject: remove unused gify lib --- public/client.html | 1 - webAO/lib/gify.min.js | 11 ----------- 2 files changed, 12 deletions(-) delete mode 100644 webAO/lib/gify.min.js diff --git a/public/client.html b/public/client.html index dc924fb..067b3ab 100644 --- a/public/client.html +++ b/public/client.html @@ -39,7 +39,6 @@ - diff --git a/webAO/lib/gify.min.js b/webAO/lib/gify.min.js deleted file mode 100644 index 7afe02c..0000000 --- a/webAO/lib/gify.min.js +++ /dev/null @@ -1,11 +0,0 @@ -const gify = (function () { - function t(t) { return 3 * 2 ** (1 + a(t.slice(5, 8))); } function e(t) { for (var e = [], i = 7; i >= 0; i--)e.push(t & 1 << i ? 1 : 0); return e; } function i(t) { return t / 100 * 1e3; } function a(t) { return t.reduce((t, e) => 2 * t + e, 0); } function r(t, e, i) { for (var a = { data: '', size: 0 }; ;) { const r = t.getUint8(e + a.size, !0); if (r === 0) { a.size++; break; }i && (a.data += t.getString(r, e + a.size + 1)), a.size += r + 1; } return a; } function n() { - return { - identifier: '0', localPalette: !1, localPaletteSize: 0, interlace: !1, comments: [], text: '', left: 0, top: 0, width: 0, height: 0, delay: 0, disposal: 0, - }; - } function o(a, o) { - let u = 0; let g = 0; const s = { - valid: !1, globalPalette: !1, globalPaletteSize: 0, globalPaletteColorsRGB: [], loopCount: 0, height: 0, width: 0, animated: !1, images: [], isBrowserDuration: !1, duration: 0, durationIE: 0, durationSafari: 0, durationFirefox: 0, durationChrome: 0, durationOpera: 0, - }; const d = new jDataView(a); if (a.byteLength < 10) return s; if (d.getUint16(0) != 18249 || d.getUint16(2) != 17976) return s; s.width = d.getUint16(6, !0), s.height = d.getUint16(8, !0), s.valid = !0; var f = e(d.getUint8(10, !0)); if (f[0]) { const c = t(f); s.globalPalette = !0, s.globalPaletteSize = c / 3, u += c; for (let h = 0; h < s.globalPaletteSize; h++) { const v = 13 + 3 * h; const U = d.getUint8(v, !0); const b = d.getUint8(v + 1, !0); const m = d.getUint8(v + 2, !0); s.globalPaletteColorsRGB.push({ r: U, g: b, b: m }); } }u += 13; for (let p = n(); ;) { try { const w = d.getUint8(u, !0); switch (w) { case 33: var z = d.getUint8(u + 1, !0); if (z === 249) { const P = d.getUint8(u + 2); if (P === 4) { const S = i(d.getUint16(u + 4, !0)); S < 60 && !s.isBrowserDuration && (s.isBrowserDuration = !0), p.delay = S, s.duration += S, s.durationIE += S < 60 ? l : S, s.durationSafari += S < 20 ? l : S, s.durationChrome += S < 20 ? l : S, s.durationFirefox += S < 20 ? l : S, s.durationOpera += S < 20 ? l : S; var f = e(d.getUint8(u + 3)); const C = f.slice(3, 6).join(''); p.disposal = parseInt(C, 2), u += 8; } else u++; } else { u += 2; var k = r(d, u, !0); switch (z) { case 255: var y = d.getString(8, u + 1); y === 'NETSCAPE' && (s.loopCount = d.getUint8(u + 14, !0)); break; case 206: p.identifier = k.data; break; case 254: p.comments.push(k.data); break; case 1: p.text = k.data; }u += k.size; } break; case 44: p.left = d.getUint16(u + 1, !0), p.top = d.getUint16(u + 3, !0), p.width = d.getUint16(u + 5, !0), p.height = d.getUint16(u + 7, !0); var f = e(d.getUint8(u + 9, !0)); if (f[0]) { const B = t(f); p.localPalette = !0, p.localPaletteSize = B / 3, u += B; } if (f[1] && (p.interlace = !0), s.images.push(p), g++, p = n(), p.identifier = g.toString(), s.images.length > 1 && !s.animated && (s.animated = !0, o)) return s; u += 11; var k = r(d, u, !1); u += k.size; break; case 59: return s; default: u++; } } catch (x) { return s.valid = !1, s; } if (u >= a.byteLength) return s; } return s; - } var l = 100; return { isAnimated(t) { const e = o(t, !0); return e.animated; }, getInfo(t) { return o(t, !1); } }; -}()); -- cgit From 298b796e825640cc84df5a89eb9910a349fe592b Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 16 Mar 2022 23:29:06 +0100 Subject: clean up unused image folder --- webAO/images/favicon.ico | Bin 5694 -> 0 bytes webAO/images/logo-new.png | Bin 28737 -> 0 bytes 2 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 webAO/images/favicon.ico delete mode 100644 webAO/images/logo-new.png diff --git a/webAO/images/favicon.ico b/webAO/images/favicon.ico deleted file mode 100644 index 83b380d..0000000 Binary files a/webAO/images/favicon.ico and /dev/null differ diff --git a/webAO/images/logo-new.png b/webAO/images/logo-new.png deleted file mode 100644 index 26e04aa..0000000 Binary files a/webAO/images/logo-new.png and /dev/null differ -- cgit From b370eb8a7baa17d2ab8e9542d096c067be782048 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Wed, 16 Mar 2022 23:29:16 +0100 Subject: pngcrush every png --- static/desc.png | Bin 50785 -> 45272 bytes static/logo-new-512.png | Bin 238578 -> 232759 bytes static/logo-new.png | Bin 29302 -> 29244 bytes webAO/styles/chatbox/chatwaiting_whentheycry.png | Bin 521 -> 541 bytes webAO/styles/chatbox/dgs_chat_bg.png | Bin 674 -> 696 bytes webAO/styles/chatbox/drv3chatbox.png | Bin 36885 -> 36920 bytes webAO/styles/trilogy_bg.png | Bin 750 -> 780 bytes 7 files changed, 0 insertions(+), 0 deletions(-) diff --git a/static/desc.png b/static/desc.png index 4d8ec37..84e4edd 100644 Binary files a/static/desc.png and b/static/desc.png differ diff --git a/static/logo-new-512.png b/static/logo-new-512.png index 33fd586..f7b5816 100644 Binary files a/static/logo-new-512.png and b/static/logo-new-512.png differ diff --git a/static/logo-new.png b/static/logo-new.png index f53fe30..6a9c498 100644 Binary files a/static/logo-new.png and b/static/logo-new.png differ diff --git a/webAO/styles/chatbox/chatwaiting_whentheycry.png b/webAO/styles/chatbox/chatwaiting_whentheycry.png index ea35986..de5f669 100644 Binary files a/webAO/styles/chatbox/chatwaiting_whentheycry.png and b/webAO/styles/chatbox/chatwaiting_whentheycry.png differ diff --git a/webAO/styles/chatbox/dgs_chat_bg.png b/webAO/styles/chatbox/dgs_chat_bg.png index 5f5d99a..c5230b9 100644 Binary files a/webAO/styles/chatbox/dgs_chat_bg.png and b/webAO/styles/chatbox/dgs_chat_bg.png differ diff --git a/webAO/styles/chatbox/drv3chatbox.png b/webAO/styles/chatbox/drv3chatbox.png index ecf5e1f..e24f583 100644 Binary files a/webAO/styles/chatbox/drv3chatbox.png and b/webAO/styles/chatbox/drv3chatbox.png differ diff --git a/webAO/styles/trilogy_bg.png b/webAO/styles/trilogy_bg.png index 79438c0..143a40b 100644 Binary files a/webAO/styles/trilogy_bg.png and b/webAO/styles/trilogy_bg.png differ -- cgit From e7aed2713ba38ada26d8c1e9afe52416953ebd48 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Fri, 18 Mar 2022 02:25:21 +0100 Subject: whoops --- webAO/styles/chatbox/chatwaiting_whentheycry.png | Bin 541 -> 521 bytes webAO/styles/chatbox/dgs_chat_bg.png | Bin 696 -> 674 bytes webAO/styles/chatbox/drv3chatbox.png | Bin 36920 -> 36885 bytes webAO/styles/trilogy_bg.png | Bin 780 -> 750 bytes 4 files changed, 0 insertions(+), 0 deletions(-) diff --git a/webAO/styles/chatbox/chatwaiting_whentheycry.png b/webAO/styles/chatbox/chatwaiting_whentheycry.png index de5f669..ea35986 100644 Binary files a/webAO/styles/chatbox/chatwaiting_whentheycry.png and b/webAO/styles/chatbox/chatwaiting_whentheycry.png differ diff --git a/webAO/styles/chatbox/dgs_chat_bg.png b/webAO/styles/chatbox/dgs_chat_bg.png index c5230b9..5f5d99a 100644 Binary files a/webAO/styles/chatbox/dgs_chat_bg.png and b/webAO/styles/chatbox/dgs_chat_bg.png differ diff --git a/webAO/styles/chatbox/drv3chatbox.png b/webAO/styles/chatbox/drv3chatbox.png index e24f583..ecf5e1f 100644 Binary files a/webAO/styles/chatbox/drv3chatbox.png and b/webAO/styles/chatbox/drv3chatbox.png differ diff --git a/webAO/styles/trilogy_bg.png b/webAO/styles/trilogy_bg.png index 143a40b..79438c0 100644 Binary files a/webAO/styles/trilogy_bg.png and b/webAO/styles/trilogy_bg.png differ -- cgit From d0ab0a66ee5ec34b8c92d14b517a9a3b21b911d7 Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Fri, 18 Mar 2022 02:26:12 +0100 Subject: these aren't needed either --- public/client.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/public/client.html b/public/client.html index 067b3ab..1abaa4f 100644 --- a/public/client.html +++ b/public/client.html @@ -39,8 +39,6 @@ - - -- cgit