Skip to content

Free games for graphing calculators: NumWorks, TI-Nspire CX, Casio fx-CG50 and soon TI-84 Plus CE. Balatro, Celeste, Hollow Knight, Minecraft and more.

Snow Rider 3D: the game's own screens

Mason363f2630e10e735
diff --git a/games/snowrider/README.md b/games/snowrider/README.md
index 9453ce65..5f9f9e95 100644
--- a/games/snowrider/README.md
+++ b/games/snowrider/README.md
@@ -64,7 +64,7 @@ Fences and signs break as you ride through them. Gifts lie in a line that wander
| Back | Pause (Resume, Restart, Quit game) |
| Home | Save and quit |
-In the menus, the arrows choose, **OK** picks and **Back** goes back. 8, 4, 6, 2 and 5 work as the arrows and OK.
+At the camp, **OK** rides and **Left** opens the sleds (the game's wooden sign at the bottom left); in the sleds, Left and Right look, **OK** buys or picks one and **Back** goes back. After a crash, **OK** rides again and **Back** goes to the camp. 8, 4, 6, 2 and 5 work as the arrows and OK. The screens are the game's own: its Blockletter lettering, its gift and sign pictures and its arrow keys on the first runs.
## Good to know
diff --git a/games/snowrider/docs/crash.png b/games/snowrider/docs/crash.png
index fe889b95..2bf78b3d 100644
Binary files a/games/snowrider/docs/crash.png and b/games/snowrider/docs/crash.png differ
diff --git a/games/snowrider/docs/menu.png b/games/snowrider/docs/menu.png
index 8bdee541..1be98040 100644
Binary files a/games/snowrider/docs/menu.png and b/games/snowrider/docs/menu.png differ
diff --git a/games/snowrider/docs/sleds.png b/games/snowrider/docs/sleds.png
index 1cef415b..01fd7873 100644
Binary files a/games/snowrider/docs/sleds.png and b/games/snowrider/docs/sleds.png differ
diff --git a/games/snowrider/docs/title.png b/games/snowrider/docs/title.png
index c077adb5..f9ac4676 100644
Binary files a/games/snowrider/docs/title.png and b/games/snowrider/docs/title.png differ
diff --git a/games/snowrider/src/draw.c b/games/snowrider/src/draw.c
index 04d54269..11c70a75 100644
--- a/games/snowrider/src/draw.c
+++ b/games/snowrider/src/draw.c
@@ -9,6 +9,7 @@
#include "r3d.h"
#include "gfx.h"
#include "../../common/np_text.h"
+#include "ui.h"
#define VIEW 62.0f /* metres ahead drawn */
#define LOD_FAR 22.0f /* the far meshes past this, at most */
@@ -223,39 +224,10 @@ static void number(char *s, int v) {
s[n] = 0;
}
-static void outlined(const np_font_t *f, int cx, int y, const char *s, color_t c) {
- for (int k = 0; k < 4; k++) gfx_text_center(f, cx + (k & 1 ? 1 : -1), y + (k & 2 ? 1 : -1), s, INK, 200);
- gfx_text_center(f, cx, y, s, c, 256);
-}
-static void gift_icon(int x, int y, int s) {
- gfx_fill(x, y + s / 4, s, s - s / 4, RED);
- gfx_fill(x - 1, y + s / 4 - 2, s + 2, s / 4, RED);
- gfx_fill(x + s / 2 - 1, y + s / 4 - 2, 3, s - s / 4 + 2, GOLD);
- gfx_fill(x - 1, y + s / 2, s + 2, 2, GOLD);
- gfx_circle(x + s / 2 - 3, y + s / 4 - 4, 3, GOLD, 256);
- gfx_circle(x + s / 2 + 3, y + s / 4 - 4, 3, GOLD, 256);
-}
-static void gifts_counter(int v) {
- char s[12];
- number(s, v);
- int w = gfx_text_width(&np_font_body, s);
- gfx_rrect(SCREEN_W - w - 40, 6, w + 34, 24, 12, INK, 150);
- gift_icon(SCREEN_W - w - 33, 9, 16);
- gfx_text(&np_font_body, SCREEN_W - w - 12, 24, s, WHITE, 256);
-}
-static void choice(int cx, int y, int w, const char *s, bool on) {
- if (on) gfx_rrect(cx - w / 2, y - 18, w, 26, 13, GOLD, 256);
- gfx_text_center(&np_font_body, cx, y, s, on ? INK : WHITE, 256);
-}
-static void panel(int x, int y, int w, int h) {
- gfx_shadow(x, y, w, h, 14, 6, 90);
- gfx_rrect(x, y, w, h, 14, PANEL, 235);
- gfx_rrect_outline(x, y, w, h, 14, 2, WHITE, 120);
-}
/* the game's logo (logo.c), its top left at (x, y), every step-th pixel (1 or 2) */
extern const uint16_t logo_w, logo_h, logo_pal[64];
@@ -312,6 +284,48 @@ static void snow_project(void) {
}
}
+/* ---------------------------------------------------------------- the game's own interface (ui.c) */
+#define UI_GREY 0xDEFB /* (223, 223, 223): its lettering */
+#define UI_YELLOW 0xFE60 /* (255, 206, 0): BUY */
+#define UI_GREEN 0x755B /* (118, 171, 93): SELECTED */
+#define UI_LIME 0xE7E0 /* (231, 255, 0): TAP TO RESTART */
+static void ui_pic(int pic, int x, int y) {
+ const UiPic *p = &ui_pics[pic];
+ int ya = y > gfx_y0 ? y : gfx_y0, yb = y + p->h < gfx_y1 ? y + p->h : gfx_y1;
+ for (int yy = ya; yy < yb; yy++) {
+ const uint8_t *src = ui_px + p->off + (yy - y) * p->w;
+ uint16_t *dst = gfx_buf + (yy - gfx_y0) * SCREEN_W;
+ for (int xx = 0; xx < p->w; xx++) {
+ int k = src[xx], X = x + xx;
+ if (!k || X < 0 || X >= SCREEN_W) continue;
+ int a = ui_alpha[k];
+ dst[X] = a >= 248 ? ui_pal[k] : r_mix565(dst[X], ui_pal[k], a >> 3);
+ }
+ }
+}
+/* its lettering: light grey with a black outline, as the game's (align: -1 left, 0 centre, 1 right) */
+static void ui_text(const np_font_t *f, int x, int y, const char *s, uint16_t c, bool outline, int align) {
+ int w = gfx_text_width(f, s);
+ x -= align < 0 ? 0 : align == 0 ? w / 2 : w;
+ if (outline)
+ for (int d = 0; d < 8; d++) {
+ static const int8_t o[8][2] = {{-1, 0}, {1, 0}, {0, -1}, {0, 1}, {-1, -1}, {1, 1}, {-1, 1}, {1, -1}};
+ gfx_text(f, x + o[d][0], y + o[d][1], s, 0, 256);
+ }
+ gfx_text(f, x, y, s, c, 256);
+}
+static void ui_gifts(int v) { /* the game's GiftGUI: its gift and the count, at the top left */
+ char s[12];
+ number(s, v);
+ ui_pic(UI_GIFT, 6, 4);
+ ui_text(&sr_font_mid, 32, 21, s, 0xFFFF, true, -1);
+}
+static void ui_sign(int icon, const char *key) { /* the wooden sign at the bottom left, its icon, the key that opens it */
+ ui_pic(UI_SIGN, 2, SCREEN_H - 44);
+ ui_pic(icon, 6, SCREEN_H - 35);
+ ui_text(&sr_font_small, 46, SCREEN_H - 19, key, UI_GREY, true, -1);
+}
+
static void overlay(void) {
gfx_buf = r_col, gfx_y0 = r_y0, gfx_y1 = r_y1;
for (int i = 0; i < nflakes; i++) {
@@ -321,79 +335,80 @@ static void overlay(void) {
char s[24];
if (mode == M_INTRO) {
logo(60, 18, 1);
- outlined(&np_font_body, SCREEN_W / 2, 206, T("Press OK"), WHITE);
+ ui_text(&sr_font_mid, SCREEN_W / 2, 220, T("PRESS OK TO START"), 0, false, 0);
} else if (mode == M_MAIN && screen == S_NONE) {
- logo(34, 4, 2);
- panel(20, 92, 128, 106);
- choice(84, 122, 108, T("Play"), sel == 0);
- choice(84, 152, 108, T("Sleds"), sel == 1);
- choice(84, 182, 108, T("Quit"), sel == 2);
- number(s, best);
- gfx_rrect(36, 204, 96, 24, 12, INK, 150);
- gfx_text(&np_font_body, 46, 222, T("Best"), WHITE, 200);
- gfx_text_right(&np_font_body, 124, 222, s, GOLD, 256);
- gifts_counter(gifts);
- outlined(&np_font_small, 236, 222, T("Arrows: steer, Up: jump"), WHITE);
+ ui_text(&sr_font_mid, SCREEN_W / 2, 52, T("PRESS OK TO PLAY !"), 0, false, 0);
+ ui_gifts(gifts);
+ ui_sign(UI_SLED, T("LEFT SLEDS"));
} else if (screen == S_SLEDS) {
- gifts_counter(gifts);
+ ui_gifts(gifts);
const Skin *sk = &skins[shop_skin];
- panel(60, 150, 200, 76);
- gfx_text_center(&np_font_body, SCREEN_W / 2, 174, T(sk->name), WHITE, 256);
- if (shop_skin == skin) gfx_text_center(&np_font_body, SCREEN_W / 2, 204, T("Selected"), GOLD, 256);
- else if (owned >> shop_skin & 1) choice(SCREEN_W / 2, 206, 120, T("Select"), true);
+ ui_text(&sr_font_big, SCREEN_W / 2, 176, T(sk->name), UI_GREY, true, 0);
+ if (shop_skin == skin) ui_text(&sr_font_big, SCREEN_W / 2, 212, T("SELECTED"), UI_GREEN, true, 0);
+ else if (owned >> shop_skin & 1) ui_text(&sr_font_big, SCREEN_W / 2, 212, T("SELECT"), UI_YELLOW, true, 0);
else {
number(s, sk->price);
- int w = gfx_text_width(&np_font_body, s);
- bool can = gifts >= sk->price;
- gfx_rrect(SCREEN_W / 2 - w / 2 - 22, 188, w + 44, 26, 13, can ? GOLD : INK, 256);
- gift_icon(SCREEN_W / 2 - w / 2 - 14, 192, 14);
- gfx_text(&np_font_body, SCREEN_W / 2 - w / 2 + 6, 206, s, can ? INK : WHITE, 256);
+ int w = gfx_text_width(&sr_font_mid, s), bw = gfx_text_width(&sr_font_big, T("BUY"));
+ int x = SCREEN_W / 2 - (bw + 30 + w) / 2;
+ ui_text(&sr_font_big, x, 212, T("BUY"), gifts >= sk->price ? UI_YELLOW : UI_GREY, true, -1);
+ ui_pic(UI_GIFT, x + bw + 6, 192);
+ ui_text(&sr_font_mid, x + bw + 30, 210, s, UI_GREY, true, -1);
}
- gfx_text_center(&np_font_title, 40, 196, "<", WHITE, 256);
- gfx_text_center(&np_font_title, 280, 196, ">", WHITE, 256);
- gfx_text_center(&np_font_small, SCREEN_W / 2, 236, T("OK: choose Back: done"), WHITE, 220);
+ ui_pic(UI_ARROW_BUTTON, 20, 108);
+ ui_pic(UI_ARROW_BUTTON, SCREEN_W - 50, 108);
+ ui_text(&sr_font_mid, 35, 130, "<", 0x2104, false, 0);
+ ui_text(&sr_font_mid, SCREEN_W - 35, 130, ">", 0x2104, false, 0);
+ ui_text(&sr_font_small, SCREEN_W / 2, 236, T("OK CHOOSE BACK DONE"), UI_GREY, true, 0);
} else if (mode == M_PLAY || mode == M_END) {
if (mode == M_PLAY && sled.z > WARMUP_LEN * CHUNK_Z) {
number(s, score);
- outlined(&np_font_title, SCREEN_W / 2, score_pop > 0 ? 44 : 40, s, WHITE);
+ ui_text(&sr_font_big, SCREEN_W / 2, score_pop > 0 ? 40 : 36, s, 0xFFFF, true, 0);
+ }
+ if (mode == M_PLAY) {
+ ui_gifts(gifts);
+ /* the game's first run: its arrow keys and what they do */
+ if (plays < 3 && sled.z < WARMUP_LEN * CHUNK_Z) {
+ ui_pic(UI_KEYS, SCREEN_W / 2 - 32, SCREEN_H - 48);
+ ui_text(&sr_font_small, SCREEN_W / 2, SCREEN_H - 54, T("UP ARROW TO JUMP"), 0xFFFF, true, 0);
+ ui_text(&sr_font_small, SCREEN_W / 2 - 40, SCREEN_H - 20, T("STEER LEFT"), 0xFFFF, true, 1);
+ ui_text(&sr_font_small, SCREEN_W / 2 + 40, SCREEN_H - 20, T("STEER RIGHT"), 0xFFFF, true, -1);
+ }
}
- /* (the play screen's gifts are all of them; the end screen has the run's) */
- if (mode == M_PLAY) gifts_counter(gifts);
if (mode == M_END && end_wait > 1.2f) {
- gfx_fill_alpha(0, 0, SCREEN_W, SCREEN_H, 0, 80);
- panel(70, 34, 180, 186);
- gfx_text_center(&np_font_body, 160, 58, best_now ? T("New best!") : T("Score"), best_now ? GOLD : WHITE, 256);
+ gfx_fill_alpha(0, 0, SCREEN_W, SCREEN_H, 0, 70);
+ logo(110, 2, 2);
number(s, score);
- gfx_text_center(&np_font_title, 160, 92, s, WHITE, 256);
+ ui_text(&sr_font_big, 70, 132, s, UI_GREY, true, 0);
+ ui_text(&sr_font_mid, 70, 154, best_now ? T("NEW BEST") : T("SCORE"), UI_GREY, true, 0);
number(s, best);
- gfx_text(&np_font_body, 92, 118, T("Best"), WHITE, 200);
- gfx_text_right(&np_font_body, 228, 118, s, GOLD, 256);
+ ui_text(&sr_font_big, 160, 132, s, UI_GREY, true, 0);
+ ui_text(&sr_font_mid, 160, 154, T("BEST"), UI_GREY, true, 0);
s[0] = '+';
number(s + 1, gifts_game);
- int w = gfx_text_width(&np_font_body, s);
- gift_icon(160 - (w + 22) / 2, 128, 16);
- gfx_text(&np_font_body, 160 - (w + 22) / 2 + 22, 144, s, WHITE, 256);
- choice(160, 178, 140, T("Play again"), sel == 0);
- choice(160, 206, 140, T("Menu"), sel == 1);
+ ui_text(&sr_font_big, 250, 132, s, UI_GREY, true, 0);
+ ui_text(&sr_font_mid, 250, 154, T("GIFTS"), UI_GREY, true, 0);
+ ui_text(&sr_font_mid, SCREEN_W / 2, 196, T("PRESS OK TO RESTART"), UI_LIME, true, 0);
+ ui_text(&sr_font_small, SCREEN_W / 2, 220, T("BACK MENU"), UI_GREY, true, 0);
}
}
if (screen == S_GUIDE) {
- gfx_fill_alpha(0, 0, SCREEN_W, SCREEN_H, 0, 110);
- panel(40, 30, 240, 180);
- gfx_text_center(&np_font_title, 160, 60, T("How to play"), WHITE, 256);
- gfx_paragraph(&np_font_body, 160, 88, 210, 18,
+ gfx_fill_alpha(0, 0, SCREEN_W, SCREEN_H, 0, 140);
+ ui_text(&sr_font_big, SCREEN_W / 2, 64, T("HOW TO PLAY"), UI_GREY, true, 0);
+ gfx_paragraph(&np_font_body, 160, 92, 230, 18,
T("Left and Right steer the sled. Up or OK jumps. Dodge the trees, rocks, snowmen and walls, and pick up gifts to buy new sleds."),
WHITE, 256);
- choice(160, 196, 120, T("Ride!"), true);
+ ui_text(&sr_font_mid, SCREEN_W / 2, 206, T("PRESS OK TO RIDE !"), UI_LIME, true, 0);
}
if (screen == S_PAUSE || screen == S_ASK) {
- gfx_fill_alpha(0, 0, SCREEN_W, SCREEN_H, 0, 110);
- panel(80, 56, 160, 132);
- gfx_text_center(&np_font_title, 160, 86, screen == S_PAUSE ? T("Paused") : T("Quit game?"), WHITE, 256);
- if (screen == S_PAUSE)
- choice(160, 118, 130, T("Resume"), sel == 0), choice(160, 146, 130, T("Restart"), sel == 1), choice(160, 174, 130, T("Quit game"), sel == 2);
- else
- choice(160, 132, 130, T("No"), sel == 0), choice(160, 162, 130, T("Yes"), sel == 1);
+ gfx_fill_alpha(0, 0, SCREEN_W, SCREEN_H, 0, 120);
+ ui_text(&sr_font_big, SCREEN_W / 2, 84, screen == S_PAUSE ? T("PAUSED") : T("QUIT GAME?"), UI_GREY, true, 0);
+ static const char *const pause_items[3] = {"RESUME", "RESTART", "QUIT GAME"}, *const ask_items[2] = {"NO", "YES"};
+ int n = screen == S_PAUSE ? 3 : 2;
+ for (int i = 0; i < n; i++) {
+ const char *t = screen == S_PAUSE ? T(pause_items[i]) : T(ask_items[i]);
+ ui_text(&sr_font_mid, SCREEN_W / 2, 122 + i * 28, t, sel == i ? UI_YELLOW : UI_GREY, true, 0);
+ if (sel == i) ui_text(&sr_font_mid, SCREEN_W / 2 - gfx_text_width(&sr_font_mid, t) / 2 - 12, 122 + i * 28, ">", UI_YELLOW, true, 0);
+ }
}
if (fade > 0) gfx_fill_alpha(0, 0, SCREEN_W, SCREEN_H, 0, (int)(fade * 256)); /* (over everything) */
}
diff --git a/games/snowrider/src/game.c b/games/snowrider/src/game.c
index 27abd989..d8fdb1f8 100644
--- a/games/snowrider/src/game.c
+++ b/games/snowrider/src/game.c
@@ -493,7 +493,7 @@ void game_step(uint32_t keys, uint32_t hit) {
save();
return;
}
- bool ok = hit & SK_OK, back = hit & SK_BACK, up = hit & SK_UP, down = hit & SK_DOWN;
+ bool ok = hit & SK_OK, back = hit & SK_BACK, up = hit & SK_UP, down = hit & SK_DOWN, left = hit & SK_LEFT;
/* menus */
if (screen == S_PAUSE || screen == S_ASK) {
int n = screen == S_PAUSE ? 3 : 2;
@@ -525,13 +525,12 @@ void game_step(uint32_t keys, uint32_t hit) {
} else if (mode == M_INTRO) {
if (ok || back) go_main();
} else if (mode == M_MAIN) {
- if (up) sel = (sel + 2) % 3;
- if (down) sel = (sel + 1) % 3;
+ /* the game's menu: tap to play, the sign at the bottom left for the sleds */
if (ok) {
- if (sel == 0 && !guide_read) screen = S_GUIDE;
- else if (sel == 0) go_play();
- else if (sel == 1) screen = S_SLEDS, shop_skin = skin;
- else game_running = false, save();
+ if (!guide_read) screen = S_GUIDE;
+ else go_play();
+ } else if (left) {
+ screen = S_SLEDS, shop_skin = skin;
}
if (back) go_intro();
} else if (mode == M_PLAY) {
@@ -540,11 +539,7 @@ void game_step(uint32_t keys, uint32_t hit) {
return;
}
} else if (mode == M_END && end_wait > 1.2f) {
- if (up || down) sel ^= 1;
- if (ok) {
- if (sel == 0) go_main(), go_play();
- else go_main();
- }
+ if (ok) go_main(), go_play();
if (back) go_main();
}
diff --git a/games/snowrider/src/ui.c b/games/snowrider/src/ui.c
new file mode 100644
index 00000000..6bacff28
--- /dev/null
+++ b/games/snowrider/src/ui.c
@@ -0,0 +1,790 @@
+/* Made by tools/ui.py: Snow Rider 3D's own lettering (Blockletter) and interface pictures. */
+#include "ui.h"
+
+static const uint8_t sr_font_small_data[2124] = {
+ 191,191,191,191,191,191,139,139,175,175,248,242,138,47,175,248,130,69,24,64,127,244,8,247,101,95,247,255,255,94,254,235,
+ 175,224,13,221,176,239,251,94,255,255,255,102,111,245,6,248,131,79,0,0,36,0,177,239,6,252,255,95,191,48,127,223,
+ 119,3,247,255,62,66,100,143,191,48,143,252,255,95,161,223,6,0,36,0,65,1,6,0,205,92,12,0,95,190,6,0,
+ 183,232,250,12,0,167,45,30,0,77,248,11,228,255,10,238,203,127,191,48,127,223,39,0,252,79,97,207,36,204,191,48,
+ 143,238,203,127,228,255,10,175,175,175,88,228,228,62,191,240,11,191,240,11,191,224,62,228,4,127,208,63,246,100,79,246,
+ 100,79,246,212,63,127,0,65,177,94,181,1,80,7,64,252,20,255,255,115,253,39,128,11,0,139,191,117,119,71,255,143,
+ 68,36,139,191,160,31,208,14,240,12,242,9,245,7,247,5,249,2,252,0,222,0,228,255,10,238,203,127,191,48,143,191,
+ 48,143,191,48,143,191,48,143,191,48,143,238,203,127,228,255,10,191,191,191,191,191,191,191,191,191,228,255,10,238,203,127,
+ 175,48,143,96,151,127,250,255,28,207,68,19,191,48,143,239,203,143,255,255,143,228,255,10,238,203,127,175,48,143,0,149,
+ 143,0,251,79,18,99,143,191,48,143,238,203,127,228,255,10,191,128,47,191,128,47,191,128,47,223,183,47,255,255,47,68,
+ 164,47,0,128,47,0,128,47,0,128,47,255,255,143,239,187,91,191,0,0,223,119,3,255,255,62,86,100,143,191,48,143,
+ 238,203,127,228,255,10,228,255,10,238,203,127,191,48,143,223,119,3,255,255,62,207,100,143,191,48,143,238,203,127,228,255,
+ 10,255,255,187,203,143,0,247,5,160,31,0,221,0,242,10,80,111,0,248,3,176,15,0,228,255,10,238,203,127,191,48,
+ 143,223,151,143,252,255,95,207,100,143,191,48,143,238,203,127,228,255,10,228,255,10,238,203,127,191,48,143,207,100,143,250,
+ 255,143,96,151,143,191,48,143,238,203,127,228,255,10,191,139,0,0,0,0,0,139,191,157,156,0,0,0,0,0,123,191,
+ 117,0,0,3,148,237,254,207,247,61,0,254,191,5,148,238,0,16,4,119,119,242,255,79,119,119,242,255,79,136,136,2,
+ 3,0,240,141,3,199,255,12,64,237,182,255,252,158,4,5,0,0,228,255,10,238,203,127,175,48,143,0,147,127,48,254,
+ 28,112,127,1,80,58,0,80,59,0,112,79,0,249,255,62,95,68,138,47,0,137,47,250,143,79,79,138,79,15,137,79,
+ 15,137,79,79,138,47,250,62,0,251,3,0,241,127,0,64,255,11,0,248,237,0,192,125,63,16,191,247,7,245,255,191,
+ 144,127,199,14,221,0,247,3,255,255,10,239,203,127,191,48,143,223,151,143,255,255,79,207,100,143,191,48,143,239,203,127,
+ 255,255,10,228,255,10,238,203,127,191,48,143,191,0,17,191,0,0,191,0,1,191,48,143,238,203,127,228,255,10,255,255,
+ 10,239,203,127,191,48,143,191,48,143,191,48,143,191,48,143,191,48,143,239,203,127,255,255,10,255,255,248,190,107,191,0,
+ 240,125,7,255,239,240,76,4,191,0,240,190,107,255,255,8,255,255,248,190,107,191,0,240,125,7,255,239,240,76,4,191,
+ 0,240,11,0,191,0,0,228,255,10,238,203,127,191,48,127,191,113,71,191,243,143,191,97,143,191,48,143,238,203,127,228,
+ 255,10,191,96,79,191,96,79,191,96,79,223,167,79,255,255,79,207,132,79,191,96,79,191,96,79,191,96,79,191,191,191,
+ 191,191,191,191,191,191,0,48,143,0,48,143,0,48,143,0,48,143,0,48,143,17,48,143,191,48,143,238,203,127,228,255,
+ 10,191,112,111,191,225,13,191,249,5,223,191,0,255,95,0,223,191,0,191,249,4,191,225,13,191,112,111,191,0,240,11,
+ 0,191,0,240,11,0,191,0,240,11,0,191,0,240,190,91,255,255,8,239,1,247,248,95,192,143,255,42,255,248,239,247,
+ 143,255,239,255,248,254,239,143,191,255,251,248,203,143,143,191,249,244,8,255,2,221,255,8,221,255,30,221,255,127,221,207,
+ 222,221,191,249,223,191,242,223,191,176,223,191,64,223,228,255,10,238,203,127,191,48,143,191,48,143,191,48,143,191,48,143,
+ 191,48,143,238,203,127,228,255,10,255,255,10,239,203,127,191,48,143,207,99,143,255,255,62,223,136,3,191,0,0,191,0,
+ 0,191,0,0,228,255,10,238,203,127,191,48,143,191,48,143,191,48,143,191,48,143,191,81,143,238,253,127,228,255,47,0,
+ 96,45,0,0,1,255,255,10,239,203,127,191,48,143,207,99,143,255,255,79,223,152,143,191,48,143,191,48,143,191,48,143,
+ 228,255,10,238,203,127,191,48,127,223,119,3,247,255,62,82,100,143,191,48,143,238,203,127,228,255,10,255,255,191,252,188,
+ 80,95,0,245,5,80,95,0,245,5,80,95,0,245,5,80,95,0,191,48,143,191,48,143,191,48,143,191,48,143,191,48,
+ 143,191,48,143,191,48,143,238,203,127,228,255,10,205,0,247,147,31,176,14,246,21,175,32,159,244,6,208,141,47,0,249,
+ 221,0,96,255,9,0,242,95,0,0,253,1,0,222,96,127,192,191,15,249,10,206,249,211,239,242,122,127,255,127,127,244,
+ 253,253,253,37,255,111,255,63,224,255,225,255,0,252,12,251,13,144,143,128,175,0,252,97,127,245,200,30,224,254,9,128,
+ 255,3,48,223,0,128,255,3,224,254,9,245,199,30,252,97,127,220,0,249,97,79,225,10,241,106,79,0,250,221,0,64,
+ 255,7,0,208,31,0,0,236,0,0,192,14,0,0,236,0,0,255,255,31,187,252,31,0,247,10,16,254,2,128,159,0,
+ 225,47,0,248,9,0,254,188,27,255,255,31,255,245,78,191,240,11,191,240,11,191,240,78,255,5,222,0,252,0,249,2,
+ 247,5,245,7,242,9,240,12,208,14,160,31,255,197,95,245,85,95,245,85,95,245,197,95,255,5,0,254,14,0,244,253,
+ 4,144,79,143,0,190,192,13,245,6,247,3,119,71,255,143,68,36,235,65,111,112,6,0,251,3,0,241,127,0,64,255,
+ 11,0,248,237,0,192,125,63,16,191,247,7,245,255,191,144,127,199,14,221,0,247,3,255,255,10,239,203,127,191,48,143,
+ 223,151,143,255,255,79,207,100,143,191,48,143,239,203,127,255,255,10,228,255,10,238,203,127,191,48,143,191,0,17,191,0,
+ 0,191,0,1,191,48,143,238,203,127,228,255,10,255,255,10,239,203,127,191,48,143,191,48,143,191,48,143,191,48,143,191,
+ 48,143,239,203,127,255,255,10,255,255,248,190,107,191,0,240,125,7,255,239,240,76,4,191,0,240,190,107,255,255,8,255,
+ 255,248,190,107,191,0,240,125,7,255,239,240,76,4,191,0,240,11,0,191,0,0,228,255,10,238,203,127,191,48,127,191,
+ 113,71,191,243,143,191,97,143,191,48,143,238,203,127,228,255,10,191,96,79,191,96,79,191,96,79,223,167,79,255,255,79,
+ 207,132,79,191,96,79,191,96,79,191,96,79,191,191,191,191,191,191,191,191,191,0,48,143,0,48,143,0,48,143,0,48,
+ 143,0,48,143,17,48,143,191,48,143,238,203,127,228,255,10,191,112,111,191,225,13,191,249,5,223,191,0,255,95,0,223,
+ 191,0,191,249,4,191,225,13,191,112,111,191,0,240,11,0,191,0,240,11,0,191,0,240,11,0,191,0,240,190,91,255,
+ 255,8,239,0,247,248,79,176,143,255,25,255,248,223,245,143,255,207,255,248,254,239,143,191,255,251,248,203,143,143,191,249,
+ 244,8,255,2,221,255,8,221,255,30,221,255,127,221,207,222,221,191,249,223,191,242,223,191,176,223,191,64,223,228,255,10,
+ 238,203,127,191,48,143,191,48,143,191,48,143,191,48,143,191,48,143,238,203,127,228,255,10,255,255,10,239,203,127,191,48,
+ 143,207,99,143,255,255,62,223,136,3,191,0,0,191,0,0,191,0,0,228,255,10,238,203,127,191,48,143,191,48,143,191,
+ 48,143,191,48,143,191,81,143,238,253,127,228,255,47,0,96,45,0,0,1,255,255,10,239,203,127,191,48,143,207,99,143,
+ 255,255,79,223,152,143,191,48,143,191,48,143,191,48,143,228,255,10,238,203,127,191,48,127,223,119,3,247,255,62,82,100,
+ 143,191,48,143,238,203,127,228,255,10,255,255,191,252,188,80,95,0,245,5,80,95,0,245,5,80,95,0,245,5,80,95,
+ 0,191,48,143,191,48,143,191,48,143,191,48,143,191,48,143,191,48,143,191,48,143,238,203,127,228,255,10,205,0,247,147,
+ 31,176,14,246,21,175,32,159,244,6,208,141,47,0,249,221,0,96,255,9,0,242,95,0,0,253,1,0,222,96,127,192,
+ 191,15,249,10,206,249,211,239,242,122,127,255,127,127,244,253,253,253,37,255,111,255,63,224,255,225,255,0,252,12,251,13,
+ 144,143,128,175,0,252,97,127,245,200,30,224,254,9,128,255,3,48,223,0,128,255,3,224,254,9,245,199,30,252,97,127,
+ 220,0,249,97,79,225,10,241,106,79,0,250,221,0,64,255,7,0,208,31,0,0,236,0,0,192,14,0,0,236,0,0,
+ 255,255,31,187,252,31,0,247,10,16,254,2,128,159,0,225,47,0,248,9,0,254,188,27,255,255,31,228,228,62,191,240,
+ 11,206,240,11,191,224,62,228,4,139,191,191,191,191,191,191,191,191,191,191,191,52,127,208,63,246,100,79,248,99,79,246,
+ 212,63,127,0,131,20,208,254,175,0,82,1,
+};
+static const np_glyph_t sr_font_small_glyphs[95] = {{0,0,0,0,2,0}, {2,9,0,-9,3,0}, {5,4,0,-9,5,9}, {7,9,0,-9,8,19}, {6,11,0,-10,6,51}, {8,6,0,-11,8,84}, {6,9,0,-9,7,108}, {2,4,0,-9,3,135}, {3,9,0,-9,3,139}, {3,9,0,-9,3,153}, {3,3,0,-9,4,167}, {5,5,0,-7,5,172}, {2,3,0,-2,3,185}, {4,3,0,-6,4,188}, {2,2,0,-2,3,194}, {4,9,0,-9,4,196}, {6,9,0,-9,6,214}, {2,9,0,-9,3,241}, {6,9,0,-9,6,250}, {6,9,0,-9,6,277}, {6,9,0,-9,6,304}, {6,9,0,-9,6,331}, {6,9,0,-9,6,358}, {5,9,0,-9,6,385}, {6,9,0,-9,6,408}, {6,9,0,-9,6,435}, {2,9,0,-9,3,462}, {2,10,0,-9,3,471}, {5,7,0,-8,6,481}, {5,5,0,-7,5,499}, {5,7,0,-8,6,512}, {6,9,0,-9,6,530}, {6,9,0,-9,6,557}, {7,9,0,-9,7,584}, {6,9,0,-9,6,616}, {6,9,0,-9,6,643}, {6,9,0,-9,6,670}, {5,9,0,-9,6,697}, {5,9,0,-9,6,720}, {6,9,0,-9,6,743}, {6,9,0,-9,6,770}, {2,9,0,-9,3,797}, {6,9,0,-9,6,806}, {6,9,0,-9,7,833}, {5,9,0,-9,6,860}, {7,9,0,-9,8,883}, {6,9,0,-9,7,915}, {6,9,0,-9,6,942}, {6,9,0,-9,6,969}, {6,11,0,-9,6,996}, {6,9,0,-9,6,1029}, {6,9,0,-9,6,1056}, {5,9,0,-9,6,1083}, {6,9,0,-9,6,1106}, {7,9,0,-9,7,1133}, {9,9,0,-9,10,1165}, {6,9,0,-9,6,1206}, {7,9,0,-9,7,1233}, {6,9,0,-9,6,1265}, {3,9,0,-9,3,1292}, {4,9,0,-9,4,1306}, {3,9,0,-9,3,1324}, {7,5,-1,-9,6,1338}, {4,3,0,1,4,1356}, {3,3,0,-13,4,1362}, {7,9,0,-9,7,1367}, {6,9,0,-9,6,1399}, {6,9,0,-9,6,1426}, {6,9,0,-9,6,1453}, {5,9,0,-9,6,1480}, {5,9,0,-9,6,1503}, {6,9,0,-9,6,1526}, {6,9,0,-9,6,1553}, {2,9,0,-9,3,1580}, {6,9,0,-9,6,1589}, {6,9,0,-9,7,1616}, {5,9,0,-9,6,1643}, {7,9,0,-9,8,1666}, {6,9,0,-9,7,1698}, {6,9,0,-9,6,1725}, {6,9,0,-9,6,1752}, {6,11,0,-9,6,1779}, {6,9,0,-9,6,1812}, {6,9,0,-9,6,1839}, {5,9,0,-9,6,1866}, {6,9,0,-9,6,1889}, {7,9,0,-9,7,1916}, {9,9,0,-9,10,1948}, {6,9,0,-9,6,1989}, {7,9,0,-9,7,2016}, {6,9,0,-9,6,2048}, {3,9,0,-9,3,2075}, {2,13,0,-11,3,2089}, {3,9,0,-9,3,2102}, {5,3,0,-6,6,2116}};
+const np_font_t sr_font_small = {32, 95, 13, 4, sr_font_small_glyphs, sr_font_small_data};
+
+static const uint8_t sr_font_mid_data[4798] = {
+ 187,247,159,255,249,159,255,249,159,255,249,159,255,249,159,135,149,105,255,249,159,187,39,187,244,159,243,111,255,57,255,246,
+ 159,243,111,255,57,255,182,123,178,75,0,180,91,112,187,1,112,255,4,252,14,0,249,47,224,207,32,217,255,170,255,109,
+ 243,255,255,255,255,58,255,255,255,255,175,64,255,7,249,47,0,246,95,176,255,0,219,255,188,254,175,240,255,255,255,255,
+ 13,253,255,237,255,206,0,255,11,245,111,0,243,143,128,255,3,80,255,6,250,31,0,0,178,123,0,0,248,255,223,2,
+ 249,255,255,223,242,207,136,249,127,255,9,32,255,247,175,34,18,0,253,255,255,46,32,253,255,255,46,32,136,152,255,151,
+ 105,0,242,127,255,9,32,255,231,255,255,255,111,227,255,255,159,0,163,255,124,0,0,129,72,0,0,245,207,17,175,0,
+ 240,140,143,246,5,0,143,240,200,14,0,224,189,159,143,133,7,178,139,249,248,255,10,0,224,156,14,218,0,80,111,233,
+ 180,13,0,251,65,254,127,0,64,3,32,52,0,64,187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,
+ 9,32,255,247,175,34,0,0,253,255,15,0,144,255,255,0,200,255,140,7,247,253,159,0,242,207,255,9,32,255,247,223,
+ 153,250,127,247,255,255,223,2,247,255,223,2,187,247,159,255,249,159,255,185,123,64,107,228,127,254,126,255,9,255,9,255,
+ 9,255,9,255,9,255,9,255,9,255,9,255,93,247,127,112,127,155,0,255,11,253,127,242,127,242,127,242,127,242,127,242,
+ 127,242,127,242,127,242,127,250,127,255,45,223,2,32,1,150,73,249,127,231,94,83,36,16,255,8,32,243,159,18,255,255,
+ 255,248,255,255,143,136,255,140,4,241,143,0,0,136,4,0,153,246,159,255,25,110,98,1,34,34,18,255,255,111,255,255,
+ 111,136,136,56,153,246,159,255,9,0,186,9,241,175,48,255,8,245,95,128,255,3,250,31,192,223,0,255,11,242,159,64,
+ 255,6,247,79,144,255,2,251,14,224,207,0,64,187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,9,
+ 32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,223,153,
+ 250,127,247,255,255,223,2,247,255,223,2,187,247,159,255,249,159,255,249,159,255,249,159,255,249,159,255,249,159,255,249,159,
+ 64,187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,9,32,255,7,32,34,244,127,144,255,255,255,149,
+ 255,255,255,6,255,140,136,5,240,159,0,161,90,255,9,32,255,247,223,153,250,127,255,255,255,255,247,255,255,255,127,64,
+ 187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,9,32,255,7,0,33,244,127,0,128,255,255,5,0,
+ 248,255,46,0,64,152,255,167,106,0,242,127,255,9,32,255,247,223,153,250,127,247,255,255,223,2,247,255,223,2,187,7,
+ 128,187,255,9,160,239,255,9,160,239,255,9,160,239,255,9,160,239,255,42,178,239,255,255,255,239,255,255,255,239,136,136,
+ 216,239,0,0,160,239,0,0,160,239,0,0,160,239,0,0,160,239,0,0,160,239,187,187,187,187,245,255,255,255,127,255,
+ 222,221,221,246,159,0,0,0,255,9,0,0,240,191,68,36,0,255,255,255,78,240,255,255,255,62,102,102,118,255,183,123,
+ 0,242,127,255,9,32,255,247,223,153,250,127,247,255,255,223,2,247,255,223,2,64,187,187,9,64,254,255,255,10,254,222,
+ 221,255,246,159,0,242,127,255,9,32,238,246,191,68,36,0,255,255,255,78,240,255,255,255,62,255,107,118,255,247,159,0,
+ 242,127,255,9,32,255,247,223,153,250,127,247,255,255,223,2,247,255,223,2,187,187,187,75,255,255,255,63,221,221,255,14,
+ 0,0,254,11,0,32,255,8,0,96,255,5,0,144,255,1,0,192,223,0,0,241,175,0,0,244,127,0,0,247,63,0,
+ 0,251,15,0,0,254,12,0,32,255,8,0,64,187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,9,
+ 32,255,247,175,34,244,127,253,255,255,255,165,255,255,255,62,255,140,152,255,247,159,0,242,127,255,9,32,255,247,223,153,
+ 250,127,247,255,255,223,2,247,255,223,2,64,187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,9,32,
+ 255,247,175,34,244,127,253,255,255,255,39,253,255,255,127,32,136,152,255,167,106,0,242,127,255,9,32,255,247,223,153,250,
+ 127,247,255,255,223,2,247,255,223,2,187,247,159,221,8,0,0,0,0,0,0,0,0,0,0,0,144,105,255,249,159,170,
+ 246,159,238,9,0,0,0,0,0,0,0,0,0,0,0,144,105,255,249,159,225,38,22,0,0,0,33,0,16,165,142,81,
+ 234,255,143,254,255,239,57,255,158,4,0,255,107,1,0,255,255,175,21,131,253,255,143,0,48,233,143,0,0,0,84,255,
+ 255,255,249,255,255,159,153,153,153,150,153,153,105,255,255,255,249,255,255,159,3,0,0,0,223,56,0,0,255,255,141,3,
+ 199,255,255,143,0,114,251,143,0,48,232,143,114,253,255,143,255,255,191,22,255,108,1,0,39,0,0,0,64,187,187,9,
+ 64,254,255,255,10,254,222,237,255,246,159,0,242,127,255,9,32,255,7,0,16,244,127,0,64,254,255,5,64,254,255,6,
+ 0,249,143,5,0,144,255,0,0,0,133,8,0,0,96,153,0,0,0,249,15,0,0,144,255,0,0,161,187,187,123,192,
+ 255,255,255,111,191,0,0,243,248,11,0,48,143,191,0,67,246,248,11,248,255,143,191,242,140,249,248,43,175,48,143,191,
+ 242,10,243,248,43,175,48,143,191,242,10,243,248,43,175,48,143,191,241,190,252,247,11,244,255,10,0,80,187,4,0,0,
+ 160,255,9,0,0,224,255,13,0,0,243,255,47,0,0,247,255,111,0,0,251,238,159,0,0,254,185,223,0,64,255,117,
+ 255,2,128,255,49,255,6,192,255,255,255,9,241,255,255,255,13,245,191,153,252,47,249,31,0,243,111,253,11,0,224,175,
+ 187,187,187,9,240,255,255,255,10,255,222,237,255,246,159,0,242,127,255,9,32,255,247,175,34,244,127,255,255,255,255,245,
+ 255,255,255,46,255,140,152,255,247,159,0,242,127,255,9,32,255,247,223,153,250,127,255,255,255,223,242,255,255,223,2,64,
+ 187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,9,32,238,247,159,0,0,0,255,9,0,0,240,159,
+ 0,0,0,255,9,0,0,240,159,0,161,90,255,9,32,255,247,223,153,250,127,247,255,255,223,2,247,255,223,2,187,187,
+ 187,9,240,255,255,255,10,255,222,221,255,246,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,
+ 242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,223,153,250,127,255,255,255,223,242,255,255,223,2,187,187,187,
+ 251,255,255,239,255,222,221,253,159,0,0,255,9,0,240,175,34,2,255,255,255,241,255,255,31,255,140,136,241,159,0,0,
+ 255,9,0,240,223,153,153,255,255,255,254,255,255,239,187,187,187,251,255,255,239,255,222,221,253,159,0,0,255,9,0,240,
+ 175,34,2,255,255,255,241,255,255,31,255,140,136,241,159,0,0,255,9,0,240,159,0,0,255,9,0,240,159,0,0,64,
+ 187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,9,32,255,247,159,16,34,18,255,9,250,255,247,159,
+ 160,255,127,255,9,149,255,247,159,0,242,127,255,9,32,255,247,223,153,250,127,247,255,255,223,2,247,255,223,2,187,7,
+ 80,187,242,159,0,247,47,255,9,112,255,242,159,0,247,47,255,9,112,255,242,175,34,248,47,255,255,255,255,242,255,255,
+ 255,47,255,140,184,255,242,159,0,247,47,255,9,112,255,242,159,0,247,47,255,9,112,255,242,159,0,247,47,187,247,159,
+ 255,249,159,255,249,159,255,249,159,255,249,159,255,249,159,255,249,159,0,0,32,187,5,0,0,242,127,0,0,32,255,7,
+ 0,0,242,127,0,0,32,255,7,0,0,242,127,0,0,32,255,7,0,0,242,127,0,0,32,255,167,106,0,242,127,255,
+ 9,32,255,247,223,153,250,127,247,255,255,223,2,247,255,223,2,187,7,64,187,246,159,0,252,46,255,9,246,143,240,159,
+ 225,223,1,255,137,255,6,240,191,255,12,0,255,255,79,0,240,255,255,2,0,255,253,175,0,240,159,250,63,0,255,41,
+ 255,12,240,159,128,255,5,255,9,225,223,241,159,0,246,143,187,7,0,240,159,0,0,255,9,0,240,159,0,0,255,9,
+ 0,240,159,0,0,255,9,0,240,159,0,0,255,9,0,240,159,0,0,255,9,0,240,223,153,153,255,255,255,254,255,255,
+ 239,187,11,0,160,187,241,255,4,48,255,31,255,159,0,248,255,241,255,13,208,255,31,255,255,51,255,255,241,255,143,247,
+ 255,31,255,255,205,255,255,241,255,255,255,255,31,255,254,255,239,255,241,191,255,255,251,31,255,233,255,158,255,241,159,250,
+ 191,248,31,255,121,255,135,255,241,159,243,79,248,31,187,27,0,183,251,255,7,144,255,255,239,0,249,255,255,111,144,255,
+ 255,255,12,249,255,255,255,148,255,255,253,175,249,255,159,252,191,255,255,89,255,255,255,159,208,255,255,255,9,247,255,255,
+ 159,16,254,255,255,9,144,255,255,159,0,242,255,64,187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,
+ 9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,223,
+ 153,250,127,247,255,255,223,2,247,255,223,2,187,187,187,9,240,255,255,255,10,255,222,237,255,246,159,0,242,127,255,9,
+ 32,255,247,159,0,242,127,255,222,237,255,247,255,255,255,10,255,190,187,9,240,159,0,0,0,255,9,0,0,240,159,0,
+ 0,0,255,9,0,0,240,159,0,0,0,64,187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,9,32,
+ 255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,87,255,247,223,250,254,
+ 127,247,255,255,223,2,247,255,255,45,0,0,160,223,2,0,0,144,1,187,187,187,9,240,255,255,255,10,255,222,221,255,
+ 246,159,0,242,127,255,9,32,255,247,159,0,242,127,255,222,221,255,245,255,255,255,62,255,190,203,255,247,159,0,242,127,
+ 255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,64,187,187,9,64,254,255,255,10,254,222,221,255,246,
+ 159,0,242,127,255,9,32,255,247,175,34,18,0,253,255,255,46,32,253,255,255,46,32,136,152,255,167,106,0,242,127,255,
+ 9,32,255,247,223,153,250,127,247,255,255,223,2,247,255,223,2,187,187,187,139,255,255,255,175,221,254,223,157,0,247,47,
+ 0,0,247,47,0,0,247,47,0,0,247,47,0,0,247,47,0,0,247,47,0,0,247,47,0,0,247,47,0,0,247,47,
+ 0,0,247,47,0,0,247,47,0,187,7,32,187,245,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,
+ 159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,223,153,250,127,247,
+ 255,255,223,2,247,255,223,2,186,8,0,176,123,250,14,0,243,111,246,63,0,247,47,243,127,0,251,13,224,175,0,254,
+ 9,160,239,64,255,5,96,255,131,255,1,48,255,199,207,0,0,254,252,143,0,0,250,255,79,0,0,246,255,31,0,0,
+ 242,255,11,0,0,224,255,7,0,0,160,255,3,0,187,9,64,187,3,144,171,252,14,128,255,7,224,191,250,31,192,255,
+ 11,242,159,247,79,241,255,14,245,111,245,111,244,255,63,247,79,242,159,248,255,127,250,31,240,191,252,255,191,252,14,192,
+ 239,255,220,239,255,11,160,255,255,152,255,255,9,112,255,255,101,255,255,6,80,255,255,50,255,255,4,48,255,223,0,254,
+ 255,2,0,255,175,0,251,239,0,0,253,111,0,247,207,0,185,27,48,187,118,255,6,250,63,225,207,242,191,0,249,191,
+ 255,5,48,255,255,13,0,176,255,127,0,0,245,255,1,0,64,255,14,0,0,250,255,6,0,242,255,207,0,128,255,253,
+ 63,0,254,62,255,10,245,143,192,255,194,255,1,245,143,186,8,0,177,107,248,31,0,247,47,242,127,0,253,11,176,223,
+ 64,255,5,80,255,164,239,0,0,254,251,143,0,0,249,255,47,0,0,243,255,10,0,0,192,255,4,0,0,144,255,1,
+ 0,0,144,255,1,0,0,144,255,1,0,0,144,255,1,0,0,144,255,1,0,187,187,187,155,255,255,255,207,221,221,254,
+ 207,0,0,253,127,0,96,255,13,0,208,255,6,0,246,223,0,0,253,111,0,112,255,13,0,225,255,5,0,247,207,0,
+ 0,254,207,153,137,255,255,255,207,255,255,255,207,187,123,255,159,255,142,255,9,255,9,255,9,255,9,255,9,255,9,255,
+ 9,255,9,255,109,255,159,255,159,187,9,192,239,0,250,31,112,255,3,245,111,48,255,8,240,191,0,253,13,176,255,0,
+ 248,63,96,255,5,244,127,16,255,10,224,207,187,123,255,159,253,159,240,159,240,159,240,159,240,159,240,159,240,159,240,159,
+ 240,159,250,159,255,159,255,159,0,178,187,10,0,0,248,255,63,0,0,253,252,143,0,48,255,182,223,0,144,255,97,255,
+ 3,224,175,32,255,8,244,95,0,251,13,183,27,0,181,43,221,221,109,255,255,111,187,187,91,134,6,112,255,2,225,159,
+ 0,247,47,16,68,2,0,80,187,4,0,0,160,255,9,0,0,224,255,13,0,0,243,255,47,0,0,247,255,111,0,0,
+ 251,238,159,0,0,254,185,223,0,64,255,117,255,2,128,255,49,255,6,192,255,255,255,9,241,255,255,255,13,245,191,153,
+ 252,47,249,31,0,243,111,253,11,0,224,175,187,187,187,9,240,255,255,255,10,255,222,237,255,246,159,0,242,127,255,9,
+ 32,255,247,175,34,244,127,255,255,255,255,245,255,255,255,46,255,140,152,255,247,159,0,242,127,255,9,32,255,247,223,153,
+ 250,127,255,255,255,223,242,255,255,223,2,64,187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,9,32,
+ 238,247,159,0,0,0,255,9,0,0,240,159,0,0,0,255,9,0,0,240,159,0,161,90,255,9,32,255,247,223,153,250,
+ 127,247,255,255,223,2,247,255,223,2,187,187,187,9,240,255,255,255,10,255,222,221,255,246,159,0,242,127,255,9,32,255,
+ 247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,223,153,250,127,
+ 255,255,255,223,242,255,255,223,2,187,187,187,251,255,255,239,255,222,221,253,159,0,0,255,9,0,240,175,34,2,255,255,
+ 255,241,255,255,31,255,140,136,241,159,0,0,255,9,0,240,223,153,153,255,255,255,254,255,255,239,187,187,187,251,255,255,
+ 239,255,222,221,253,159,0,0,255,9,0,240,175,34,2,255,255,255,241,255,255,31,255,140,136,241,159,0,0,255,9,0,
+ 240,159,0,0,255,9,0,240,159,0,0,64,187,187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,9,32,
+ 255,247,159,16,34,18,255,9,250,255,247,159,160,255,127,255,9,149,255,247,159,0,242,127,255,9,32,255,247,223,153,250,
+ 127,247,255,255,223,2,247,255,223,2,187,7,80,187,242,159,0,247,47,255,9,112,255,242,159,0,247,47,255,9,112,255,
+ 242,175,34,248,47,255,255,255,255,242,255,255,255,47,255,140,184,255,242,159,0,247,47,255,9,112,255,242,159,0,247,47,
+ 255,9,112,255,242,159,0,247,47,187,247,159,255,249,159,255,249,159,255,249,159,255,249,159,255,249,159,255,249,159,0,0,
+ 32,187,5,0,0,242,127,0,0,32,255,7,0,0,242,127,0,0,32,255,7,0,0,242,127,0,0,32,255,7,0,0,
+ 242,127,0,0,32,255,167,106,0,242,127,255,9,32,255,247,223,153,250,127,247,255,255,223,2,247,255,223,2,187,7,64,
+ 187,246,159,0,252,46,255,9,246,143,240,159,225,223,1,255,137,255,6,240,191,255,12,0,255,255,79,0,240,255,255,2,
+ 0,255,253,175,0,240,159,250,63,0,255,41,255,12,240,159,128,255,5,255,9,225,223,241,159,0,246,143,187,7,0,240,
+ 159,0,0,255,9,0,240,159,0,0,255,9,0,240,159,0,0,255,9,0,240,159,0,0,255,9,0,240,159,0,0,255,
+ 9,0,240,223,153,153,255,255,255,254,255,255,239,187,11,0,160,187,241,255,3,32,255,31,255,143,0,247,255,241,255,12,
+ 176,255,31,255,255,18,255,255,241,255,111,245,255,31,255,255,170,255,255,241,255,239,254,255,31,255,254,255,239,255,241,191,
+ 255,255,251,31,255,233,255,158,255,241,159,250,191,248,31,255,121,255,135,255,241,159,243,79,248,31,187,27,0,183,251,255,
+ 7,144,255,255,239,0,249,255,255,111,144,255,255,255,12,249,255,255,255,148,255,255,253,175,249,255,159,252,191,255,255,89,
+ 255,255,255,159,208,255,255,255,9,247,255,255,159,16,254,255,255,9,144,255,255,159,0,242,255,64,187,187,9,64,254,255,
+ 255,10,254,222,221,255,246,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,
+ 255,247,159,0,242,127,255,9,32,255,247,223,153,250,127,247,255,255,223,2,247,255,223,2,187,187,187,9,240,255,255,255,
+ 10,255,222,237,255,246,159,0,242,127,255,9,32,255,247,159,0,242,127,255,222,237,255,247,255,255,255,10,255,190,187,9,
+ 240,159,0,0,0,255,9,0,0,240,159,0,0,0,255,9,0,0,240,159,0,0,0,64,187,187,9,64,254,255,255,10,
+ 254,222,221,255,246,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,
+ 159,0,242,127,255,9,87,255,247,223,250,254,127,247,255,255,223,2,247,255,255,45,0,0,160,223,2,0,0,144,1,187,
+ 187,187,9,240,255,255,255,10,255,222,221,255,246,159,0,242,127,255,9,32,255,247,159,0,242,127,255,222,221,255,245,255,
+ 255,255,62,255,190,203,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,64,187,
+ 187,9,64,254,255,255,10,254,222,221,255,246,159,0,242,127,255,9,32,255,247,175,34,18,0,253,255,255,46,32,253,255,
+ 255,46,32,136,152,255,167,106,0,242,127,255,9,32,255,247,223,153,250,127,247,255,255,223,2,247,255,223,2,187,187,187,
+ 139,255,255,255,175,221,254,223,157,0,247,47,0,0,247,47,0,0,247,47,0,0,247,47,0,0,247,47,0,0,247,47,
+ 0,0,247,47,0,0,247,47,0,0,247,47,0,0,247,47,0,0,247,47,0,187,7,32,187,245,159,0,242,127,255,9,
+ 32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,242,127,255,9,32,255,247,159,0,
+ 242,127,255,9,32,255,247,223,153,250,127,247,255,255,223,2,247,255,223,2,186,8,0,176,123,250,14,0,243,111,246,63,
+ 0,247,47,243,127,0,251,13,224,175,0,254,9,160,239,64,255,5,96,255,131,255,1,48,255,199,207,0,0,254,252,143,
+ 0,0,250,255,79,0,0,246,255,31,0,0,242,255,11,0,0,224,255,7,0,0,160,255,3,0,187,9,64,187,3,144,
+ 171,252,14,128,255,7,224,191,250,31,192,255,11,242,159,247,79,241,255,14,245,111,245,111,244,255,63,247,79,242,159,248,
+ 255,127,250,31,240,191,252,255,191,252,14,192,239,255,220,239,255,11,160,255,255,152,255,255,9,112,255,255,101,255,255,6,
+ 80,255,255,50,255,255,4,48,255,223,0,254,255,2,0,255,175,0,251,239,0,0,253,111,0,247,207,0,185,27,48,187,
+ 118,255,6,250,63,225,207,242,191,0,249,191,255,5,48,255,255,13,0,176,255,127,0,0,245,255,1,0,64,255,14,0,
+ 0,250,255,6,0,242,255,207,0,128,255,253,63,0,254,62,255,10,245,143,192,255,194,255,1,245,143,186,8,0,177,107,
+ 248,31,0,247,47,242,127,0,253,11,176,223,64,255,5,80,255,164,239,0,0,254,251,143,0,0,249,255,47,0,0,243,
+ 255,10,0,0,192,255,4,0,0,144,255,1,0,0,144,255,1,0,0,144,255,1,0,0,144,255,1,0,0,144,255,1,
+ 0,187,187,187,155,255,255,255,207,221,221,254,207,0,0,253,127,0,96,255,13,0,208,255,6,0,246,223,0,0,253,111,
+ 0,112,255,13,0,225,255,5,0,247,207,0,0,254,207,153,137,255,255,255,207,255,255,255,207,64,107,228,127,254,126,255,
+ 9,255,9,255,9,254,10,252,12,255,9,255,9,255,9,255,93,247,127,112,127,68,242,159,255,249,159,255,249,159,255,249,
+ 159,255,249,159,255,249,159,255,249,159,255,249,159,255,249,159,255,9,155,0,255,10,253,127,242,127,242,127,242,127,243,127,
+ 245,95,242,127,242,127,242,127,250,127,255,45,223,2,97,55,0,0,250,255,204,59,235,234,255,30,0,0,116,2,
+};
+static const np_glyph_t sr_font_mid_glyphs[95] = {{0,0,0,0,3,0}, {3,14,0,-14,4,0}, {7,6,0,-14,8,21}, {11,14,0,-14,12,42}, {9,15,0,-14,10,119}, {11,9,0,-16,12,187}, {9,14,0,-14,10,237}, {3,6,0,-14,4,300}, {4,14,0,-14,5,309}, {4,14,0,-14,5,337}, {4,5,0,-14,5,365}, {7,7,0,-10,8,375}, {3,5,0,-3,4,400}, {6,4,0,-9,7,408}, {3,3,0,-3,4,420}, {5,14,0,-14,6,425}, {9,14,0,-14,10,460}, {3,14,0,-14,4,523}, {9,14,0,-14,10,544}, {9,14,0,-14,10,607}, {8,14,0,-14,10,670}, {9,14,0,-14,10,726}, {9,14,0,-14,10,789}, {8,14,0,-14,9,852}, {9,14,0,-14,10,908}, {9,14,0,-14,10,971}, {3,14,0,-14,4,1034}, {3,16,0,-14,4,1055}, {8,10,0,-12,9,1079}, {7,6,0,-10,8,1119}, {8,10,0,-12,9,1140}, {9,14,0,-14,10,1180}, {9,14,0,-14,10,1243}, {10,14,0,-14,11,1306}, {9,14,0,-14,10,1376}, {9,14,0,-14,10,1439}, {9,14,0,-14,10,1502}, {7,14,0,-14,8,1565}, {7,14,0,-14,8,1614}, {9,14,0,-14,10,1663}, {9,14,0,-14,10,1726}, {3,14,0,-14,4,1789}, {9,14,0,-14,10,1810}, {9,14,0,-14,10,1873}, {7,14,0,-14,8,1936}, {11,14,0,-14,12,1985}, {9,14,0,-14,10,2062}, {9,14,0,-14,10,2125}, {9,14,0,-14,10,2188}, {9,16,0,-14,10,2251}, {9,14,0,-14,10,2323}, {9,14,0,-14,10,2386}, {8,14,0,-14,9,2449}, {9,14,0,-14,10,2505}, {10,14,0,-14,11,2568}, {14,14,0,-14,16,2638}, {9,14,0,-14,10,2736}, {10,14,0,-14,11,2799}, {8,14,0,-14,9,2869}, {4,14,0,-14,5,2925}, {5,14,0,-14,6,2953}, {4,14,0,-14,5,2988}, {10,8,-1,-14,9,3016}, {6,3,0,2,7,3056}, {5,5,0,-20,6,3065}, {10,14,0,-14,11,3078}, {9,14,0,-14,10,3148}, {9,14,0,-14,10,3211}, {9,14,0,-14,10,3274}, {7,14,0,-14,8,3337}, {7,14,0,-14,8,3386}, {9,14,0,-14,10,3435}, {9,14,0,-14,10,3498}, {3,14,0,-14,4,3561}, {9,14,0,-14,10,3582}, {9,14,0,-14,10,3645}, {7,14,0,-14,8,3708}, {11,14,0,-14,12,3757}, {9,14,0,-14,10,3834}, {9,14,0,-14,10,3897}, {9,14,0,-14,10,3960}, {9,16,0,-14,10,4023}, {9,14,0,-14,10,4095}, {9,14,0,-14,10,4158}, {8,14,0,-14,9,4221}, {9,14,0,-14,10,4277}, {10,14,0,-14,11,4340}, {14,14,0,-14,16,4410}, {9,14,0,-14,10,4508}, {10,14,0,-14,11,4571}, {8,14,0,-14,9,4641}, {4,14,0,-14,5,4697}, {3,19,0,-17,4,4725}, {4,14,0,-14,5,4754}, {8,4,0,-9,9,4782}};
+const np_font_t sr_font_mid = {32, 95, 20, 5, sr_font_mid_glyphs, sr_font_mid_data};
+
+static const uint8_t sr_font_big_data[12542] = {
+ 135,136,243,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,
+ 245,255,95,255,255,245,255,95,255,255,69,68,20,85,85,241,255,79,255,255,244,255,79,255,255,4,136,136,2,134,136,244,
+ 255,79,176,255,143,255,255,4,251,255,248,255,79,176,255,143,255,255,4,251,255,248,255,79,176,255,143,255,255,4,251,255,
+ 248,255,79,176,255,143,255,255,4,251,255,136,136,40,96,136,72,0,0,132,136,7,0,134,136,5,0,0,250,255,13,0,
+ 254,255,8,0,0,252,255,10,32,255,255,6,0,0,254,255,8,64,255,255,3,0,32,255,255,5,96,255,255,1,80,152,
+ 255,255,137,200,255,255,72,176,255,255,255,255,255,255,255,159,176,255,255,255,255,255,255,255,159,176,255,255,255,255,255,255,
+ 255,159,144,252,255,239,204,253,255,223,124,0,241,255,111,0,246,255,47,0,0,243,255,79,0,248,255,15,0,0,246,255,
+ 47,0,250,255,12,0,85,250,255,95,85,253,255,92,1,255,255,255,255,255,255,255,255,5,255,255,255,255,255,255,255,255,
+ 5,255,255,255,255,255,255,255,255,5,255,255,255,255,255,255,255,255,5,80,255,255,3,144,255,223,0,0,112,255,255,1,
+ 176,255,191,0,0,144,255,223,0,224,255,159,0,0,192,255,191,0,241,255,111,0,0,224,255,143,0,244,255,79,0,0,
+ 0,0,178,187,43,0,0,0,129,250,255,175,8,0,16,251,255,255,255,191,0,176,255,255,255,255,255,11,251,255,255,255,
+ 255,255,175,255,255,188,187,203,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,16,68,68,255,
+ 255,88,85,85,3,0,254,255,255,255,255,111,0,228,255,255,255,255,255,6,64,255,255,255,255,255,111,0,244,255,255,255,
+ 255,255,0,0,0,0,80,255,255,136,136,3,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,
+ 255,255,255,255,255,248,255,255,255,255,255,143,128,255,255,255,255,255,8,0,248,255,255,255,127,0,0,64,246,255,111,4,
+ 0,0,0,178,187,43,0,0,128,255,223,2,16,255,12,0,0,248,255,255,45,112,255,7,0,0,255,140,248,127,192,255,
+ 1,0,0,255,9,242,127,243,175,0,0,0,255,9,242,127,249,79,0,0,0,255,189,252,143,254,13,66,68,1,246,255,
+ 255,108,255,88,255,255,27,80,187,155,177,255,246,255,255,207,0,0,0,242,191,247,95,164,255,0,0,0,248,111,247,47,
+ 144,255,0,0,0,253,30,247,47,144,255,0,0,64,255,9,246,255,255,223,0,0,160,255,3,128,255,255,45,0,0,112,
+ 120,0,0,134,136,2,0,112,136,136,136,7,0,0,160,255,255,255,255,10,0,160,255,255,255,255,255,10,160,255,255,255,
+ 255,255,255,10,255,255,205,204,220,255,255,240,255,95,0,0,245,255,15,255,255,5,0,80,255,255,240,255,95,0,0,245,
+ 255,15,255,255,5,0,16,34,18,240,255,175,136,40,0,0,0,254,255,255,255,4,0,0,48,255,255,255,79,0,16,53,
+ 249,255,255,255,4,16,252,250,255,223,204,60,16,252,175,255,255,5,0,16,252,255,250,255,95,0,0,245,255,175,255,255,
+ 5,0,80,255,255,240,255,95,0,0,245,255,15,255,255,88,85,133,255,255,224,255,255,255,255,255,255,14,228,255,255,255,
+ 255,255,62,0,228,255,255,255,255,62,0,0,228,255,255,255,62,0,0,136,136,242,255,79,255,255,244,255,79,255,255,244,
+ 255,79,255,255,244,255,79,255,255,132,136,40,0,112,104,0,250,207,160,255,207,250,255,207,255,255,157,255,255,5,255,255,
+ 5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,
+ 255,5,255,255,72,254,255,207,228,255,207,64,254,207,0,228,207,136,5,0,255,127,0,255,255,7,255,255,127,236,255,207,
+ 128,255,207,128,255,207,128,255,207,128,255,207,128,255,207,128,255,207,128,255,207,128,255,207,128,255,207,128,255,207,128,255,
+ 207,128,255,207,128,255,207,165,255,207,255,255,191,255,255,45,255,223,2,255,45,0,0,99,0,48,123,124,7,177,255,62,
+ 240,255,255,111,180,255,94,49,158,188,9,16,149,16,0,0,144,187,107,0,0,0,252,255,8,0,0,192,255,143,0,128,
+ 136,253,255,139,88,255,255,255,255,255,251,255,255,255,255,191,255,255,255,255,255,203,204,254,255,206,156,0,192,255,143,0,
+ 0,0,252,255,8,0,0,192,255,143,0,0,85,85,241,255,95,255,255,245,255,95,255,255,5,243,47,144,175,0,67,1,
+ 85,85,85,85,244,255,255,255,239,255,255,255,255,254,255,255,255,239,255,255,255,255,14,85,85,241,255,95,255,255,245,255,
+ 95,255,255,5,0,64,136,120,0,144,255,223,0,192,255,191,0,224,255,143,0,241,255,111,0,244,255,79,0,246,255,31,
+ 0,248,255,14,0,251,255,12,0,253,255,9,16,255,255,7,48,255,255,5,80,255,255,2,128,255,255,0,160,255,223,0,
+ 192,255,175,0,224,255,143,0,242,255,95,0,244,255,63,0,247,255,31,0,249,255,13,0,251,255,11,0,254,255,9,0,
+ 0,112,136,136,136,7,0,0,250,255,255,255,175,0,160,255,255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,
+ 220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,
+ 255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,
+ 255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,
+ 88,85,133,255,255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,64,254,255,255,255,239,3,0,228,255,255,255,62,
+ 0,136,136,242,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,
+ 255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,5,0,112,136,136,136,
+ 7,0,0,250,255,255,255,175,0,160,255,255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,
+ 5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,34,34,0,0,80,255,255,0,112,136,136,168,255,
+ 255,0,250,255,255,255,255,207,160,255,255,255,255,255,28,250,255,255,255,255,207,1,255,255,205,204,204,27,0,255,255,5,
+ 0,0,0,0,255,255,5,0,64,187,187,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,
+ 255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,0,112,136,136,
+ 136,7,0,0,250,255,255,255,175,0,160,255,255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,
+ 255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,34,34,0,0,80,255,255,0,0,32,136,168,
+ 255,255,0,0,64,255,255,255,223,0,0,64,255,255,255,46,0,0,64,255,255,255,159,0,0,48,204,220,255,255,0,0,
+ 0,0,80,255,255,187,187,4,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,
+ 255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,64,254,255,255,255,239,3,0,228,255,255,255,62,0,136,136,2,
+ 0,130,136,24,255,255,5,0,243,255,47,255,255,5,0,243,255,47,255,255,5,0,243,255,47,255,255,5,0,243,255,47,
+ 255,255,5,0,243,255,47,255,255,5,0,243,255,47,255,255,5,0,243,255,47,255,255,5,0,243,255,47,255,255,138,136,
+ 249,255,47,255,255,255,255,255,255,47,255,255,255,255,255,255,47,255,255,255,255,255,255,47,204,204,204,204,253,255,47,0,
+ 0,0,0,243,255,47,0,0,0,0,243,255,47,0,0,0,0,243,255,47,0,0,0,0,243,255,47,0,0,0,0,243,
+ 255,47,0,0,0,0,243,255,47,0,0,0,0,243,255,47,0,0,0,0,243,255,47,0,0,0,0,243,255,47,136,136,
+ 136,136,136,136,120,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,205,204,204,204,
+ 204,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,138,
+ 136,136,7,0,255,255,255,255,255,175,0,255,255,255,255,255,255,10,255,255,255,255,255,255,175,204,204,204,204,220,255,255,
+ 0,0,0,0,80,255,255,187,187,4,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,
+ 133,255,255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,64,254,255,255,255,239,3,0,228,255,255,255,62,0,0,
+ 112,136,136,136,7,0,0,250,255,255,255,175,0,160,255,255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,
+ 255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,16,34,34,255,255,
+ 138,136,136,7,0,255,255,255,255,255,175,0,255,255,255,255,255,255,10,255,255,255,255,255,255,175,255,255,205,204,220,255,
+ 255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,
+ 85,133,255,255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,64,254,255,255,255,239,3,0,228,255,255,255,62,0,
+ 136,136,136,136,136,136,242,255,255,255,255,255,47,255,255,255,255,255,223,240,255,255,255,255,255,10,204,204,204,252,255,127,
+ 0,0,0,64,255,255,3,0,0,0,247,255,15,0,0,0,160,255,207,0,0,0,0,254,255,8,0,0,0,242,255,95,
+ 0,0,0,80,255,255,2,0,0,0,249,255,13,0,0,0,192,255,175,0,0,0,16,255,255,7,0,0,0,244,255,63,
+ 0,0,0,112,255,255,0,0,0,0,250,255,12,0,0,0,224,255,143,0,0,0,32,255,255,5,0,0,0,246,255,47,
+ 0,0,0,144,255,223,0,0,0,0,252,255,10,0,0,0,241,255,127,0,0,0,0,112,136,136,136,7,0,0,250,255,
+ 255,255,175,0,160,255,255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,
+ 255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,138,136,168,255,255,254,255,255,255,
+ 255,255,223,243,255,255,255,255,255,63,251,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,
+ 255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,255,
+ 255,239,228,255,255,255,255,255,62,64,254,255,255,255,239,3,0,228,255,255,255,62,0,0,112,136,136,136,7,0,0,250,
+ 255,255,255,175,0,160,255,255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,
+ 255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,255,255,255,
+ 255,255,255,255,228,255,255,255,255,255,255,64,254,255,255,255,255,255,0,228,255,255,255,255,255,0,0,0,0,80,255,255,
+ 170,170,3,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,
+ 255,255,239,228,255,255,255,255,255,62,64,254,255,255,255,239,3,0,228,255,255,255,62,0,136,136,242,255,95,255,255,245,
+ 255,95,204,204,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,85,85,241,255,95,255,255,245,255,95,255,255,5,136,136,243,255,95,255,255,245,255,95,204,204,4,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,85,
+ 85,242,255,95,255,255,245,255,95,255,255,5,243,47,144,175,0,67,1,0,0,0,0,0,97,4,0,0,0,97,251,127,
+ 0,0,97,251,255,255,7,97,251,255,255,255,127,251,255,255,255,255,239,245,255,255,255,239,73,0,255,255,239,73,0,0,
+ 240,255,77,0,0,0,0,255,255,158,4,0,0,240,255,255,255,158,3,0,254,255,255,255,255,141,2,148,254,255,255,255,
+ 127,0,16,165,255,255,255,7,0,0,16,182,255,127,0,0,0,0,16,199,7,255,255,255,255,255,253,255,255,255,255,223,
+ 255,255,255,255,255,253,255,255,255,255,223,85,85,85,85,85,132,136,136,136,136,136,255,255,255,255,255,253,255,255,255,255,
+ 223,255,255,255,255,255,189,187,187,187,187,171,56,0,0,0,0,0,240,223,56,0,0,0,0,255,255,223,56,0,0,240,
+ 255,255,255,223,72,0,252,255,255,255,255,223,5,114,252,255,255,255,127,0,0,98,251,255,255,7,0,0,0,145,255,127,
+ 0,0,32,199,255,255,7,16,182,255,255,255,127,181,255,255,255,255,255,246,255,255,255,255,124,2,255,255,255,125,2,0,
+ 240,255,141,3,0,0,0,158,4,0,0,0,0,0,0,112,136,136,136,7,0,0,250,255,255,255,175,0,160,255,255,255,
+ 255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,
+ 255,5,0,80,255,255,34,34,0,0,80,255,255,0,0,0,112,168,255,255,0,0,0,251,255,255,207,0,0,176,255,255,
+ 255,28,0,0,251,255,255,207,1,0,16,255,255,205,27,0,0,16,255,255,4,0,0,0,16,255,255,4,0,0,0,16,
+ 255,255,4,0,0,0,0,68,68,1,0,0,0,0,85,85,1,0,0,0,16,255,255,3,0,0,0,16,255,255,3,0,
+ 0,0,16,255,255,3,0,0,0,16,255,255,3,0,0,16,135,136,136,136,120,1,16,252,255,255,255,255,207,1,252,255,
+ 255,255,255,255,223,241,239,68,68,68,68,253,31,255,13,0,0,0,192,255,241,223,0,0,0,0,252,31,255,13,0,0,
+ 0,192,255,241,223,0,0,0,0,252,31,255,13,0,248,255,255,255,241,223,0,249,255,255,255,31,255,13,243,239,187,235,
+ 255,241,223,48,255,10,0,252,31,255,13,243,175,0,192,255,241,223,48,255,10,0,252,31,255,13,243,175,0,192,255,241,
+ 223,48,255,10,0,252,31,255,13,243,175,0,192,255,241,223,48,255,10,0,252,31,255,13,243,175,0,192,255,241,223,48,
+ 255,10,0,252,31,255,13,243,239,187,235,255,241,223,0,249,255,255,255,7,255,13,0,248,255,255,6,0,0,0,0,135,
+ 136,3,0,0,0,0,48,255,255,10,0,0,0,0,112,255,255,14,0,0,0,0,176,255,255,47,0,0,0,0,241,255,
+ 255,111,0,0,0,0,244,255,255,175,0,0,0,0,248,255,255,239,0,0,0,0,252,255,255,255,3,0,0,16,255,255,
+ 255,255,6,0,0,80,255,239,250,255,10,0,0,144,255,191,246,255,14,0,0,208,255,127,242,255,63,0,0,242,255,63,
+ 208,255,127,0,0,247,255,13,144,255,175,0,0,251,255,26,97,255,239,0,0,254,255,255,255,255,255,3,64,255,255,255,
+ 255,255,255,7,128,255,255,255,255,255,255,11,192,255,255,255,255,255,255,14,241,255,127,68,68,245,255,63,245,255,31,0,
+ 0,208,255,127,249,255,11,0,0,144,255,191,253,255,7,0,0,80,255,239,136,136,136,136,136,7,0,255,255,255,255,255,
+ 175,0,255,255,255,255,255,255,10,255,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,
+ 5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,138,136,168,255,255,255,255,255,255,255,255,
+ 223,255,255,255,255,255,255,46,255,255,255,255,255,255,159,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,
+ 0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,255,255,255,255,255,255,239,
+ 255,255,255,255,255,255,62,255,255,255,255,255,239,3,255,255,255,255,255,62,0,0,112,136,136,136,7,0,0,250,255,255,
+ 255,175,0,160,255,255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,
+ 255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,16,51,35,255,255,5,0,0,0,0,255,255,5,0,0,
+ 0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,
+ 5,0,48,170,170,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,255,255,
+ 239,228,255,255,255,255,255,62,64,254,255,255,255,239,3,0,228,255,255,255,62,0,136,136,136,136,136,7,0,255,255,255,
+ 255,255,175,0,255,255,255,255,255,255,10,255,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,
+ 255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,
+ 80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,
+ 255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,255,255,255,255,255,
+ 255,239,255,255,255,255,255,255,62,255,255,255,255,255,239,3,255,255,255,255,255,62,0,136,136,136,136,136,56,255,255,255,
+ 255,255,127,255,255,255,255,255,127,255,255,255,255,255,127,255,255,205,204,204,108,255,255,5,0,0,0,255,255,5,0,0,
+ 0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,138,136,136,0,255,255,255,255,255,0,255,255,255,255,255,0,255,
+ 255,255,255,255,0,255,255,205,204,204,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,
+ 0,0,0,255,255,88,85,85,37,255,255,255,255,255,127,255,255,255,255,255,127,255,255,255,255,255,127,255,255,255,255,255,
+ 127,136,136,136,136,136,56,255,255,255,255,255,127,255,255,255,255,255,127,255,255,255,255,255,127,255,255,205,204,204,108,255,
+ 255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,138,136,136,0,255,255,255,
+ 255,255,0,255,255,255,255,255,0,255,255,255,255,255,0,255,255,205,204,204,0,255,255,5,0,0,0,255,255,5,0,0,
+ 0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,
+ 255,5,0,0,0,255,255,5,0,0,0,0,112,136,136,136,7,0,0,250,255,255,255,175,0,160,255,255,255,255,255,10,
+ 250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,
+ 80,255,255,255,255,5,0,16,34,18,255,255,5,96,136,136,120,255,255,5,192,255,255,255,255,255,5,192,255,255,255,255,
+ 255,5,192,255,255,255,255,255,5,160,220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,
+ 255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,64,254,
+ 255,255,255,239,3,0,228,255,255,255,62,0,136,136,2,0,112,136,56,255,255,5,0,208,255,127,255,255,5,0,208,255,
+ 127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,5,
+ 0,208,255,127,255,255,5,0,208,255,127,255,255,138,136,232,255,127,255,255,255,255,255,255,127,255,255,255,255,255,255,127,
+ 255,255,255,255,255,255,127,255,255,205,204,252,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,5,0,
+ 208,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,
+ 255,5,0,208,255,127,255,255,5,0,208,255,127,136,136,242,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,
+ 95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,
+ 255,245,255,95,255,255,5,0,0,0,0,32,136,120,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,
+ 80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,
+ 0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,
+ 255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,170,170,3,0,80,255,255,255,255,5,0,80,255,255,255,255,
+ 5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,64,254,255,255,255,239,
+ 3,0,228,255,255,255,62,0,136,136,2,0,48,136,136,243,255,95,0,0,253,255,29,255,255,5,0,247,255,111,240,255,
+ 95,0,225,255,207,0,255,255,5,128,255,255,4,240,255,95,32,255,255,10,0,255,255,5,250,255,47,0,240,255,95,244,
+ 255,143,0,0,255,255,197,255,239,1,0,240,255,175,255,255,6,0,0,255,255,255,255,13,0,0,240,255,255,255,79,0,
+ 0,0,255,255,255,255,6,0,0,240,255,255,255,239,1,0,0,255,255,249,255,143,0,0,240,255,95,250,255,47,0,0,
+ 255,255,37,255,255,11,0,240,255,95,128,255,255,4,0,255,255,5,209,255,223,0,240,255,95,0,245,255,127,0,255,255,
+ 5,0,252,255,30,240,255,95,0,48,255,255,9,255,255,5,0,144,255,255,3,136,136,2,0,0,0,255,255,5,0,0,
+ 0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,
+ 255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,
+ 0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,
+ 0,255,255,88,85,85,37,255,255,255,255,255,127,255,255,255,255,255,127,255,255,255,255,255,127,255,255,255,255,255,127,136,
+ 136,6,0,0,16,136,136,244,255,239,1,0,0,246,255,159,255,255,95,0,0,176,255,255,249,255,255,10,0,16,255,255,
+ 159,255,255,239,1,0,246,255,255,249,255,255,95,0,176,255,255,159,255,255,255,10,16,255,255,255,249,255,255,239,0,246,
+ 255,255,159,255,255,255,95,176,255,255,255,249,255,255,255,25,255,255,255,159,255,255,255,239,246,255,255,255,249,255,255,255,
+ 239,255,255,255,159,255,255,255,255,255,255,255,255,249,255,255,255,255,255,255,255,159,255,255,253,255,255,255,253,255,249,255,
+ 175,255,255,255,190,255,159,255,255,246,255,255,175,251,255,249,255,95,253,255,255,183,255,159,255,255,149,255,255,63,251,255,
+ 249,255,95,246,255,239,176,255,159,255,255,37,255,255,11,251,255,249,255,95,224,255,143,176,255,159,255,255,5,250,255,4,
+ 251,255,9,136,136,7,0,0,131,136,247,255,255,4,0,112,255,223,255,255,191,0,0,247,255,253,255,255,63,0,112,255,
+ 223,255,255,255,9,0,247,255,253,255,255,255,1,112,255,223,255,255,255,127,0,247,255,253,255,255,255,14,112,255,223,255,
+ 255,255,255,6,247,255,253,255,255,255,207,112,255,223,255,255,254,255,79,247,255,253,255,127,255,255,122,255,223,255,255,181,
+ 255,255,249,255,253,255,95,244,255,239,255,223,255,255,5,252,255,255,255,253,255,95,80,255,255,255,223,255,255,5,208,255,
+ 255,255,253,255,95,0,247,255,255,223,255,255,5,16,254,255,255,253,255,95,0,128,255,255,223,255,255,5,0,242,255,255,
+ 253,255,95,0,0,250,255,223,255,255,5,0,48,255,255,13,0,112,136,136,136,7,0,0,250,255,255,255,175,0,160,255,
+ 255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,
+ 255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,
+ 0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,
+ 255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,255,255,239,228,255,255,255,
+ 255,255,62,64,254,255,255,255,239,3,0,228,255,255,255,62,0,136,136,136,136,136,7,0,255,255,255,255,255,175,0,255,
+ 255,255,255,255,255,10,255,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,
+ 255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,205,204,220,255,255,255,255,
+ 255,255,255,255,175,255,255,255,255,255,255,10,255,255,255,255,255,175,0,255,255,138,136,136,7,0,255,255,5,0,0,0,
+ 0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,
+ 0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,0,112,136,136,136,7,0,0,250,255,255,255,175,0,
+ 160,255,255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,0,
+ 80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,
+ 255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,
+ 255,255,255,255,5,0,80,255,255,255,255,5,177,89,255,255,255,255,88,251,223,255,255,254,255,255,255,255,255,239,228,255,
+ 255,255,255,255,62,64,254,255,255,255,255,9,0,228,255,255,255,255,127,0,0,0,0,249,255,127,0,0,0,0,144,255,
+ 7,0,0,0,0,0,105,0,136,136,136,136,136,7,0,255,255,255,255,255,175,0,255,255,255,255,255,255,10,255,255,255,
+ 255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,
+ 255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,205,204,220,255,239,255,255,255,255,255,255,62,255,255,255,255,
+ 255,255,127,255,255,255,255,255,255,255,255,255,138,136,168,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,
+ 255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,
+ 255,255,255,255,5,0,80,255,255,0,112,136,136,136,7,0,0,250,255,255,255,175,0,160,255,255,255,255,255,10,250,255,
+ 255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,
+ 255,255,255,5,0,16,34,18,255,255,138,136,136,6,0,253,255,255,255,255,159,0,226,255,255,255,255,255,9,32,254,255,
+ 255,255,255,159,0,195,204,204,220,255,255,0,0,0,0,80,255,255,187,187,4,0,80,255,255,255,255,5,0,80,255,255,
+ 255,255,5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,64,254,255,255,
+ 255,239,3,0,228,255,255,255,62,0,136,136,136,136,136,136,245,255,255,255,255,255,175,255,255,255,255,255,255,250,255,255,
+ 255,255,255,175,204,204,255,255,206,204,8,0,208,255,127,0,0,0,0,253,255,7,0,0,0,208,255,127,0,0,0,0,
+ 253,255,7,0,0,0,208,255,127,0,0,0,0,253,255,7,0,0,0,208,255,127,0,0,0,0,253,255,7,0,0,0,
+ 208,255,127,0,0,0,0,253,255,7,0,0,0,208,255,127,0,0,0,0,253,255,7,0,0,0,208,255,127,0,0,0,
+ 0,253,255,7,0,0,0,208,255,127,0,0,0,0,253,255,7,0,0,0,208,255,127,0,0,0,0,253,255,7,0,0,
+ 136,136,2,0,48,136,120,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,
+ 80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,
+ 255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,
+ 255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,
+ 88,85,133,255,255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,64,254,255,255,255,239,3,0,228,255,255,255,62,
+ 0,135,136,3,0,0,32,136,120,251,255,9,0,0,112,255,223,247,255,12,0,0,176,255,159,244,255,31,0,0,224,255,
+ 95,224,255,95,0,0,244,255,31,176,255,159,0,0,248,255,11,112,255,223,0,0,252,255,7,48,255,255,1,16,255,255,
+ 3,0,254,255,5,80,255,239,0,0,251,255,9,144,255,175,0,0,247,255,13,208,255,111,0,0,243,255,47,242,255,47,
+ 0,0,224,255,95,246,255,13,0,0,160,255,159,251,255,9,0,0,112,255,223,254,255,5,0,0,48,255,255,255,255,1,
+ 0,0,0,254,255,255,207,0,0,0,0,250,255,255,143,0,0,0,0,246,255,255,79,0,0,0,0,243,255,255,14,0,
+ 0,0,0,224,255,255,11,0,0,0,0,160,255,255,7,0,0,0,0,96,255,255,3,0,0,135,136,4,0,64,136,72,
+ 0,0,132,136,215,255,159,0,0,251,255,11,0,144,255,207,250,255,12,0,224,255,239,0,0,252,255,138,255,239,0,64,
+ 255,255,79,0,224,255,127,245,255,47,0,247,255,255,7,32,255,255,53,255,255,4,176,255,255,191,0,245,255,63,240,255,
+ 127,0,254,255,255,14,112,255,255,0,253,255,9,243,255,255,255,3,250,255,13,160,255,207,112,255,255,255,127,192,255,175,
+ 0,248,255,14,250,255,255,255,11,255,255,8,80,255,255,226,255,255,255,239,242,255,95,0,243,255,127,255,255,253,255,143,
+ 255,255,3,16,255,255,253,255,111,255,255,254,255,31,0,208,255,255,255,239,224,255,255,255,223,0,0,251,255,255,255,11,
+ 251,255,255,255,10,0,128,255,255,255,143,128,255,255,255,143,0,0,246,255,255,255,4,244,255,255,255,6,0,48,255,255,
+ 255,31,16,255,255,255,63,0,0,241,255,255,207,0,192,255,255,255,1,0,0,253,255,255,9,0,249,255,255,13,0,0,
+ 176,255,255,95,0,80,255,255,191,0,0,0,248,255,255,2,0,242,255,255,8,0,0,96,255,255,13,0,0,254,255,111,
+ 0,0,135,136,6,0,48,136,136,146,255,255,2,0,251,255,30,242,255,143,0,242,255,143,0,251,255,30,128,255,255,2,
+ 80,255,255,22,254,255,10,0,208,255,207,246,255,79,0,0,247,255,223,255,223,0,0,16,254,255,255,255,6,0,0,144,
+ 255,255,255,30,0,0,0,243,255,255,159,0,0,0,0,252,255,255,2,0,0,0,80,255,255,11,0,0,0,0,246,255,
+ 207,0,0,0,0,208,255,255,79,0,0,0,64,255,255,255,10,0,0,0,251,255,255,255,2,0,0,242,255,255,255,143,
+ 0,0,144,255,255,252,255,30,0,16,254,255,74,255,255,6,0,247,255,79,208,255,223,0,208,255,207,0,246,255,79,80,
+ 255,255,6,16,254,255,11,252,255,14,0,128,255,255,3,135,136,3,0,0,48,136,104,249,255,10,0,0,176,255,143,243,
+ 255,31,0,0,242,255,47,208,255,127,0,0,248,255,11,112,255,207,0,16,254,255,5,16,255,255,3,96,255,223,0,0,
+ 250,255,9,192,255,127,0,0,244,255,30,243,255,31,0,0,208,255,111,249,255,10,0,0,128,255,207,254,255,4,0,0,
+ 32,255,255,255,223,0,0,0,0,251,255,255,127,0,0,0,0,245,255,255,30,0,0,0,0,224,255,255,9,0,0,0,
+ 0,144,255,255,3,0,0,0,0,80,255,239,0,0,0,0,0,80,255,239,0,0,0,0,0,80,255,239,0,0,0,0,
+ 0,80,255,239,0,0,0,0,0,80,255,239,0,0,0,0,0,80,255,239,0,0,0,0,0,80,255,239,0,0,0,0,
+ 0,80,255,239,0,0,0,136,136,136,136,136,136,247,255,255,255,255,255,239,255,255,255,255,255,255,254,255,255,255,255,255,
+ 239,204,204,204,236,255,255,13,0,0,16,254,255,127,0,0,0,248,255,223,0,0,0,225,255,255,6,0,0,128,255,255,
+ 13,0,0,32,255,255,95,0,0,0,249,255,207,0,0,0,242,255,255,5,0,0,160,255,255,12,0,0,48,255,255,79,
+ 0,0,0,251,255,191,0,0,0,243,255,255,3,0,0,176,255,255,11,0,0,64,255,255,63,0,0,0,252,255,207,85,
+ 85,85,244,255,255,255,255,255,239,255,255,255,255,255,255,254,255,255,255,255,255,239,255,255,255,255,255,255,14,136,136,120,
+ 255,255,239,255,255,239,255,255,239,255,255,205,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,
+ 5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,72,255,255,239,255,255,239,255,255,239,255,
+ 255,239,135,136,4,0,253,255,10,0,250,255,12,0,248,255,14,0,246,255,47,0,243,255,79,0,241,255,127,0,208,255,
+ 159,0,176,255,191,0,144,255,239,0,96,255,255,1,64,255,255,3,32,255,255,6,0,254,255,8,0,252,255,11,0,250,
+ 255,13,0,247,255,15,0,245,255,63,0,242,255,95,0,240,255,127,0,208,255,175,0,160,255,207,0,128,255,239,136,136,
+ 120,255,255,239,255,255,239,255,255,239,220,255,239,80,255,239,80,255,239,80,255,239,80,255,239,80,255,239,80,255,239,80,
+ 255,239,80,255,239,80,255,239,80,255,239,80,255,239,80,255,239,80,255,239,133,255,239,255,255,239,255,255,239,255,255,239,
+ 255,255,239,0,0,112,136,136,88,0,0,0,0,242,255,255,223,0,0,0,0,248,255,255,255,3,0,0,0,253,255,255,
+ 255,8,0,0,48,255,255,249,255,13,0,0,128,255,191,242,255,63,0,0,224,255,111,192,255,143,0,0,244,255,31,112,
+ 255,207,0,0,249,255,11,32,255,255,2,0,254,255,5,0,252,255,7,80,255,239,1,0,247,255,12,160,255,175,0,0,
+ 242,255,47,225,255,79,0,0,208,255,127,85,85,85,85,244,255,255,255,239,255,255,255,255,254,255,255,255,239,255,255,255,
+ 255,14,67,68,1,0,249,255,10,0,242,255,63,0,144,255,175,0,32,255,255,3,0,250,255,10,0,242,255,47,0,0,
+ 0,135,136,3,0,0,0,0,48,255,255,10,0,0,0,0,112,255,255,14,0,0,0,0,176,255,255,47,0,0,0,0,
+ 241,255,255,111,0,0,0,0,244,255,255,175,0,0,0,0,248,255,255,239,0,0,0,0,252,255,255,255,3,0,0,16,
+ 255,255,255,255,6,0,0,80,255,239,250,255,10,0,0,144,255,191,246,255,14,0,0,208,255,127,242,255,63,0,0,242,
+ 255,63,208,255,127,0,0,247,255,13,144,255,175,0,0,251,255,26,97,255,239,0,0,254,255,255,255,255,255,3,64,255,
+ 255,255,255,255,255,7,128,255,255,255,255,255,255,11,192,255,255,255,255,255,255,14,241,255,127,68,68,245,255,63,245,255,
+ 31,0,0,208,255,127,249,255,11,0,0,144,255,191,253,255,7,0,0,80,255,239,136,136,136,136,136,7,0,255,255,255,
+ 255,255,175,0,255,255,255,255,255,255,10,255,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,
+ 255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,138,136,168,255,255,255,255,255,255,
+ 255,255,223,255,255,255,255,255,255,46,255,255,255,255,255,255,159,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,
+ 255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,255,255,255,255,255,
+ 255,239,255,255,255,255,255,255,62,255,255,255,255,255,239,3,255,255,255,255,255,62,0,0,112,136,136,136,7,0,0,250,
+ 255,255,255,175,0,160,255,255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,
+ 255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,16,51,35,255,255,5,0,0,0,0,255,255,5,
+ 0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,
+ 255,255,5,0,48,170,170,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,
+ 255,255,239,228,255,255,255,255,255,62,64,254,255,255,255,239,3,0,228,255,255,255,62,0,136,136,136,136,136,7,0,255,
+ 255,255,255,255,175,0,255,255,255,255,255,255,10,255,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,
+ 255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,
+ 5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,
+ 255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,255,255,255,
+ 255,255,255,239,255,255,255,255,255,255,62,255,255,255,255,255,239,3,255,255,255,255,255,62,0,136,136,136,136,136,56,255,
+ 255,255,255,255,127,255,255,255,255,255,127,255,255,255,255,255,127,255,255,205,204,204,108,255,255,5,0,0,0,255,255,5,
+ 0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,138,136,136,0,255,255,255,255,255,0,255,255,255,255,255,
+ 0,255,255,255,255,255,0,255,255,205,204,204,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,
+ 255,5,0,0,0,255,255,88,85,85,37,255,255,255,255,255,127,255,255,255,255,255,127,255,255,255,255,255,127,255,255,255,
+ 255,255,127,136,136,136,136,136,56,255,255,255,255,255,127,255,255,255,255,255,127,255,255,255,255,255,127,255,255,205,204,204,
+ 108,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,138,136,136,0,255,
+ 255,255,255,255,0,255,255,255,255,255,0,255,255,255,255,255,0,255,255,205,204,204,0,255,255,5,0,0,0,255,255,5,
+ 0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,
+ 0,255,255,5,0,0,0,255,255,5,0,0,0,0,112,136,136,136,7,0,0,250,255,255,255,175,0,160,255,255,255,255,
+ 255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,
+ 5,0,80,255,255,255,255,5,0,16,34,18,255,255,5,96,136,136,120,255,255,5,192,255,255,255,255,255,5,192,255,255,
+ 255,255,255,5,192,255,255,255,255,255,5,160,220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,
+ 0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,
+ 64,254,255,255,255,239,3,0,228,255,255,255,62,0,136,136,2,0,112,136,56,255,255,5,0,208,255,127,255,255,5,0,
+ 208,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,
+ 255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,138,136,232,255,127,255,255,255,255,255,255,127,255,255,255,255,255,
+ 255,127,255,255,255,255,255,255,127,255,255,205,204,252,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,
+ 5,0,208,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,255,255,5,0,208,255,
+ 127,255,255,5,0,208,255,127,255,255,5,0,208,255,127,136,136,242,255,95,255,255,245,255,95,255,255,245,255,95,255,255,
+ 245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,
+ 95,255,255,245,255,95,255,255,5,0,0,0,0,32,136,120,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,
+ 0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,
+ 255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,0,0,0,
+ 0,80,255,255,0,0,0,0,80,255,255,0,0,0,0,80,255,255,170,170,3,0,80,255,255,255,255,5,0,80,255,255,
+ 255,255,5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,64,254,255,255,
+ 255,239,3,0,228,255,255,255,62,0,136,136,2,0,48,136,136,243,255,95,0,0,253,255,29,255,255,5,0,247,255,111,
+ 240,255,95,0,225,255,207,0,255,255,5,128,255,255,4,240,255,95,32,255,255,10,0,255,255,5,250,255,47,0,240,255,
+ 95,244,255,143,0,0,255,255,197,255,239,1,0,240,255,175,255,255,6,0,0,255,255,255,255,13,0,0,240,255,255,255,
+ 79,0,0,0,255,255,255,255,6,0,0,240,255,255,255,239,1,0,0,255,255,249,255,143,0,0,240,255,95,250,255,47,
+ 0,0,255,255,37,255,255,11,0,240,255,95,128,255,255,4,0,255,255,5,209,255,223,0,240,255,95,0,245,255,127,0,
+ 255,255,5,0,252,255,30,240,255,95,0,48,255,255,9,255,255,5,0,144,255,255,3,136,136,2,0,0,0,255,255,5,
+ 0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,
+ 0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,
+ 255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,0,0,0,255,255,5,
+ 0,0,0,255,255,88,85,85,37,255,255,255,255,255,127,255,255,255,255,255,127,255,255,255,255,255,127,255,255,255,255,255,
+ 127,136,136,6,0,0,16,136,136,244,255,239,0,0,0,246,255,159,255,255,79,0,0,160,255,255,249,255,255,8,0,0,
+ 254,255,159,255,255,223,0,0,244,255,255,249,255,255,47,0,144,255,255,159,255,255,255,7,0,253,255,255,249,255,255,191,
+ 0,242,255,255,159,255,255,255,31,112,255,255,255,249,255,255,255,5,251,255,255,159,255,255,255,175,241,255,255,255,249,255,
+ 255,255,110,255,255,255,159,255,255,255,255,253,255,255,255,249,255,255,255,255,255,255,255,159,255,255,253,255,255,255,253,255,
+ 249,255,175,255,255,255,190,255,159,255,255,246,255,255,175,251,255,249,255,95,253,255,255,183,255,159,255,255,149,255,255,63,
+ 251,255,249,255,95,246,255,239,176,255,159,255,255,37,255,255,11,251,255,249,255,95,224,255,143,176,255,159,255,255,5,250,
+ 255,4,251,255,9,136,136,7,0,0,131,136,247,255,255,4,0,112,255,223,255,255,191,0,0,247,255,253,255,255,63,0,
+ 112,255,223,255,255,255,9,0,247,255,253,255,255,255,1,112,255,223,255,255,255,127,0,247,255,253,255,255,255,14,112,255,
+ 223,255,255,255,255,6,247,255,253,255,255,255,207,112,255,223,255,255,254,255,79,247,255,253,255,127,255,255,122,255,223,255,
+ 255,181,255,255,249,255,253,255,95,244,255,239,255,223,255,255,5,252,255,255,255,253,255,95,80,255,255,255,223,255,255,5,
+ 208,255,255,255,253,255,95,0,247,255,255,223,255,255,5,16,254,255,255,253,255,95,0,128,255,255,223,255,255,5,0,242,
+ 255,255,253,255,95,0,0,250,255,223,255,255,5,0,48,255,255,13,0,112,136,136,136,7,0,0,250,255,255,255,175,0,
+ 160,255,255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,0,
+ 80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,
+ 255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,
+ 255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,255,255,239,228,255,
+ 255,255,255,255,62,64,254,255,255,255,239,3,0,228,255,255,255,62,0,136,136,136,136,136,7,0,255,255,255,255,255,175,
+ 0,255,255,255,255,255,255,10,255,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,
+ 0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,205,204,220,255,255,
+ 255,255,255,255,255,255,175,255,255,255,255,255,255,10,255,255,255,255,255,175,0,255,255,138,136,136,7,0,255,255,5,0,
+ 0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,255,
+ 255,5,0,0,0,0,255,255,5,0,0,0,0,255,255,5,0,0,0,0,0,112,136,136,136,7,0,0,250,255,255,255,
+ 175,0,160,255,255,255,255,255,10,250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,
+ 5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,
+ 255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,
+ 0,80,255,255,255,255,5,0,80,255,255,255,255,5,177,89,255,255,255,255,88,251,223,255,255,254,255,255,255,255,255,239,
+ 228,255,255,255,255,255,62,64,254,255,255,255,255,9,0,228,255,255,255,255,127,0,0,0,0,249,255,127,0,0,0,0,
+ 144,255,7,0,0,0,0,0,105,0,136,136,136,136,136,7,0,255,255,255,255,255,175,0,255,255,255,255,255,255,10,255,
+ 255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,
+ 255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,205,204,220,255,239,255,255,255,255,255,255,62,255,255,
+ 255,255,255,255,127,255,255,255,255,255,255,255,255,255,138,136,168,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,
+ 255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,
+ 0,80,255,255,255,255,5,0,80,255,255,0,112,136,136,136,7,0,0,250,255,255,255,175,0,160,255,255,255,255,255,10,
+ 250,255,255,255,255,255,175,255,255,205,204,220,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,
+ 80,255,255,255,255,5,0,16,34,18,255,255,138,136,136,6,0,253,255,255,255,255,159,0,226,255,255,255,255,255,9,32,
+ 254,255,255,255,255,159,0,195,204,204,220,255,255,0,0,0,0,80,255,255,187,187,4,0,80,255,255,255,255,5,0,80,
+ 255,255,255,255,5,0,80,255,255,255,255,88,85,133,255,255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,64,254,
+ 255,255,255,239,3,0,228,255,255,255,62,0,136,136,136,136,136,136,245,255,255,255,255,255,175,255,255,255,255,255,255,250,
+ 255,255,255,255,255,175,204,204,255,255,206,204,8,0,208,255,127,0,0,0,0,253,255,7,0,0,0,208,255,127,0,0,
+ 0,0,253,255,7,0,0,0,208,255,127,0,0,0,0,253,255,7,0,0,0,208,255,127,0,0,0,0,253,255,7,0,
+ 0,0,208,255,127,0,0,0,0,253,255,7,0,0,0,208,255,127,0,0,0,0,253,255,7,0,0,0,208,255,127,0,
+ 0,0,0,253,255,7,0,0,0,208,255,127,0,0,0,0,253,255,7,0,0,0,208,255,127,0,0,0,0,253,255,7,
+ 0,0,136,136,2,0,48,136,120,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,
+ 5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,
+ 255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,
+ 0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,255,255,5,0,80,255,255,
+ 255,255,88,85,133,255,255,254,255,255,255,255,255,239,228,255,255,255,255,255,62,64,254,255,255,255,239,3,0,228,255,255,
+ 255,62,0,135,136,3,0,0,32,136,120,251,255,9,0,0,112,255,223,247,255,12,0,0,176,255,159,244,255,31,0,0,
+ 224,255,95,224,255,95,0,0,244,255,31,176,255,159,0,0,248,255,11,112,255,223,0,0,252,255,7,48,255,255,1,16,
+ 255,255,3,0,254,255,5,80,255,239,0,0,251,255,9,144,255,175,0,0,247,255,13,208,255,111,0,0,243,255,47,242,
+ 255,47,0,0,224,255,95,246,255,13,0,0,160,255,159,251,255,9,0,0,112,255,223,254,255,5,0,0,48,255,255,255,
+ 255,1,0,0,0,254,255,255,207,0,0,0,0,250,255,255,143,0,0,0,0,246,255,255,79,0,0,0,0,243,255,255,
+ 14,0,0,0,0,224,255,255,11,0,0,0,0,160,255,255,7,0,0,0,0,96,255,255,3,0,0,135,136,4,0,64,
+ 136,72,0,0,132,136,215,255,159,0,0,251,255,11,0,144,255,207,250,255,12,0,224,255,239,0,0,252,255,138,255,239,
+ 0,64,255,255,79,0,224,255,127,245,255,47,0,247,255,255,7,32,255,255,53,255,255,4,176,255,255,191,0,245,255,63,
+ 240,255,127,0,254,255,255,14,112,255,255,0,253,255,9,243,255,255,255,3,250,255,13,160,255,207,112,255,255,255,127,192,
+ 255,175,0,248,255,14,250,255,255,255,11,255,255,8,80,255,255,226,255,255,255,239,242,255,95,0,243,255,127,255,255,253,
+ 255,143,255,255,3,16,255,255,253,255,111,255,255,254,255,31,0,208,255,255,255,239,224,255,255,255,223,0,0,251,255,255,
+ 255,11,251,255,255,255,10,0,128,255,255,255,143,128,255,255,255,143,0,0,246,255,255,255,4,244,255,255,255,6,0,48,
+ 255,255,255,31,16,255,255,255,63,0,0,241,255,255,207,0,192,255,255,255,1,0,0,253,255,255,9,0,249,255,255,13,
+ 0,0,176,255,255,95,0,80,255,255,191,0,0,0,248,255,255,2,0,242,255,255,8,0,0,96,255,255,13,0,0,254,
+ 255,111,0,0,135,136,6,0,48,136,136,146,255,255,2,0,251,255,30,242,255,143,0,242,255,143,0,251,255,30,128,255,
+ 255,2,80,255,255,22,254,255,10,0,208,255,207,246,255,79,0,0,247,255,223,255,223,0,0,16,254,255,255,255,6,0,
+ 0,144,255,255,255,30,0,0,0,243,255,255,159,0,0,0,0,252,255,255,2,0,0,0,80,255,255,11,0,0,0,0,
+ 246,255,207,0,0,0,0,208,255,255,79,0,0,0,64,255,255,255,10,0,0,0,251,255,255,255,2,0,0,242,255,255,
+ 255,143,0,0,144,255,255,252,255,30,0,16,254,255,74,255,255,6,0,247,255,79,208,255,223,0,208,255,207,0,246,255,
+ 79,80,255,255,6,16,254,255,11,252,255,14,0,128,255,255,3,135,136,3,0,0,48,136,104,249,255,10,0,0,176,255,
+ 143,243,255,31,0,0,242,255,47,208,255,127,0,0,248,255,11,112,255,207,0,16,254,255,5,16,255,255,3,96,255,223,
+ 0,0,250,255,9,192,255,127,0,0,244,255,30,243,255,31,0,0,208,255,111,249,255,10,0,0,128,255,207,254,255,4,
+ 0,0,32,255,255,255,223,0,0,0,0,251,255,255,127,0,0,0,0,245,255,255,30,0,0,0,0,224,255,255,9,0,
+ 0,0,0,144,255,255,3,0,0,0,0,80,255,239,0,0,0,0,0,80,255,239,0,0,0,0,0,80,255,239,0,0,
+ 0,0,0,80,255,239,0,0,0,0,0,80,255,239,0,0,0,0,0,80,255,239,0,0,0,0,0,80,255,239,0,0,
+ 0,0,0,80,255,239,0,0,0,136,136,136,136,136,136,247,255,255,255,255,255,239,255,255,255,255,255,255,254,255,255,255,
+ 255,255,239,204,204,204,236,255,255,13,0,0,16,254,255,127,0,0,0,248,255,223,0,0,0,225,255,255,6,0,0,128,
+ 255,255,13,0,0,32,255,255,95,0,0,0,249,255,207,0,0,0,242,255,255,5,0,0,160,255,255,12,0,0,48,255,
+ 255,79,0,0,0,251,255,191,0,0,0,243,255,255,3,0,0,176,255,255,11,0,0,64,255,255,63,0,0,0,252,255,
+ 207,85,85,85,244,255,255,255,255,255,239,255,255,255,255,255,255,254,255,255,255,255,255,239,255,255,255,255,255,255,14,0,
+ 112,104,0,250,207,160,255,207,250,255,207,255,255,157,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,
+ 249,255,28,252,255,9,255,255,5,255,255,5,255,255,5,255,255,5,255,255,5,255,255,72,254,255,207,228,255,207,64,254,
+ 207,0,228,207,136,136,242,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,
+ 255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,
+ 255,255,245,255,95,255,255,245,255,95,255,255,245,255,95,68,68,1,136,5,0,255,127,0,255,255,7,255,255,127,236,255,
+ 207,128,255,207,128,255,207,128,255,207,128,255,207,128,255,207,128,255,207,226,255,95,193,255,143,128,255,207,128,255,207,128,
+ 255,207,128,255,207,128,255,207,165,255,207,255,255,191,255,255,45,255,223,2,255,45,0,0,16,0,0,0,0,0,231,239,
+ 58,0,0,0,246,255,255,207,249,156,193,255,255,255,255,255,14,201,127,233,255,255,127,0,16,0,64,201,124,0,
+};
+static const np_glyph_t sr_font_big_glyphs[95] = {{0,0,0,0,4,0}, {5,23,0,-23,7,0}, {11,10,0,-23,13,58}, {18,23,0,-23,20,113}, {14,24,0,-23,16,320}, {18,14,0,-26,20,488}, {15,23,0,-23,17,614}, {5,10,0,-23,7,787}, {6,23,0,-23,8,812}, {6,23,0,-23,8,881}, {7,7,0,-22,9,950}, {11,11,0,-17,13,975}, {5,8,0,-5,7,1036}, {9,5,0,-14,12,1056}, {5,5,0,-5,7,1079}, {8,23,0,-23,10,1092}, {14,23,0,-23,16,1184}, {5,23,0,-23,7,1345}, {14,23,0,-23,16,1403}, {14,23,0,-23,16,1564}, {14,23,0,-23,16,1725}, {14,23,0,-23,16,1886}, {14,23,0,-23,16,2047}, {13,23,0,-23,15,2208}, {14,23,0,-23,16,2358}, {14,23,0,-23,16,2519}, {5,23,0,-23,7,2680}, {5,26,0,-23,7,2738}, {13,15,0,-19,15,2803}, {11,10,0,-16,13,2901}, {13,15,0,-19,15,2956}, {14,23,0,-23,16,3054}, {15,23,0,-23,16,3215}, {16,23,0,-23,18,3388}, {14,23,0,-23,16,3572}, {14,23,0,-23,16,3733}, {14,23,0,-23,16,3894}, {12,23,0,-23,14,4055}, {12,23,0,-23,14,4193}, {14,23,0,-23,16,4331}, {14,23,0,-23,16,4492}, {5,23,0,-23,7,4653}, {14,23,0,-23,16,4711}, {15,23,0,-23,17,4872}, {12,23,0,-23,14,5045}, {17,23,0,-23,19,5183}, {15,23,0,-23,17,5379}, {14,23,0,-23,16,5552}, {14,23,0,-23,16,5713}, {14,26,0,-23,16,5874}, {14,23,0,-23,16,6056}, {14,23,0,-23,16,6217}, {13,23,0,-23,15,6378}, {14,23,0,-23,16,6528}, {16,23,0,-23,18,6689}, {23,23,0,-23,26,6873}, {15,23,0,-23,17,7138}, {16,23,0,-23,18,7311}, {13,23,0,-23,15,7495}, {6,23,0,-23,8,7645}, {8,23,0,-23,10,7714}, {6,23,0,-23,8,7806}, {16,13,-2,-23,15,7875}, {9,5,0,3,12,7979}, {8,7,0,-33,10,8002}, {16,23,0,-23,18,8030}, {14,23,0,-23,16,8214}, {14,23,0,-23,16,8375}, {14,23,0,-23,16,8536}, {12,23,0,-23,14,8697}, {12,23,0,-23,14,8835}, {14,23,0,-23,16,8973}, {14,23,0,-23,16,9134}, {5,23,0,-23,7,9295}, {14,23,0,-23,16,9353}, {15,23,0,-23,17,9514}, {12,23,0,-23,14,9687}, {17,23,0,-23,19,9825}, {15,23,0,-23,17,10021}, {14,23,0,-23,16,10194}, {14,23,0,-23,16,10355}, {14,26,0,-23,16,10516}, {14,23,0,-23,16,10698}, {14,23,0,-23,16,10859}, {13,23,0,-23,15,11020}, {14,23,0,-23,16,11170}, {16,23,0,-23,18,11331}, {23,23,0,-23,26,11515}, {15,23,0,-23,17,11780}, {16,23,0,-23,18,11953}, {13,23,0,-23,15,12137}, {6,23,0,-23,8,12287}, {5,31,0,-27,7,12356}, {6,23,0,-23,8,12434}, {13,6,0,-15,15,12503}};
+const np_font_t sr_font_big = {32, 95, 33, 8, sr_font_big_glyphs, sr_font_big_data};
+
+const uint16_t ui_pal[256] = {0,63390,31465,44108,37737,4161,20966,44108,20966,33808,59196,44140,39882,12613,44108,20966,46518,16610,45541,35722,35921,37737,0,59164,25356,27501,35689,22883,61309,43781,25191,63390,31497,44076,44076,27272,6209,59196,57083,20934,0,44076,37769,37802,37802,37737,61277,23079,14823,44076,23275,61309,39883,12613,20966,0,59196,57083,18853,39236,35953,44076,0,23047,44076,44140,28963,18886,14693,59196,20934,54247,50712,61277,37737,59196,20966,54938,59196,59196,61277,37737,44076,0,44076,59196,44076,64680,44108,57083,63422,61309,59196,44076,35921,61277,35921,59164,44076,44076,29614,57083,12613,47525,44076,44076,16904,44076,10565,44076,20934,57083,59196,44076,44076,64841,52825,59196,20966,18854,37769,59196,6339,59196,57051,23046,20966,20934,46188,20934,44076,64712,25159,44075,44076,37737,44076,59164,42260,64616,44076,59196,0,44076,12645,59196,59164,37769,6209,59196,44076,44076,44076,2080,59196,60295,29384,37769,2145,12613,44108,44076,12613,44076,20966,44075,42028,57083,59196,37509,61277,12613,21162,37737,44076,59196,61309,61309,41995,20934,64552,59196,59196,44076,39915,59164,44405,59196,44076,12417,59196,44108,41995,37769,59196,33840,43461,20934,40179,10565,39883,20934,18854,32,10565,44076,57083,46188,61277,48631,43365,12613,20966,10532,61309,0,31727,33577,59196,64488,33609,51750,10565,44076,59196,59196,44076,16838,59196,42027,59196,10565,59196,0,50712,0,14791,46220,59164,59196,59196,44076,44076,18886,44076,20967,18886,53990,27469,12613,40147,35689,21130,61277,27469,59196};
+const uint8_t ui_alpha[256] = {0,255,254,255,255,34,118,255,255,255,255,255,255,250,255,44,255,255,254,254,255,255,52,255,132,93,254,255,251,255,252,255,255,255,255,253,255,253,255,146,20,255,255,255,253,255,251,253,49,255,74,255,254,206,255,236,255,255,254,254,253,255,205,255,255,255,254,255,255,255,255,253,255,255,255,255,255,255,255,255,252,255,255,15,255,255,255,254,255,255,254,252,255,255,255,252,235,250,255,255,255,255,153,254,255,255,252,255,145,255,255,249,255,255,255,253,255,255,65,249,254,255,255,255,255,251,250,232,255,213,255,254,255,255,255,255,255,252,250,255,255,255,30,255,255,255,255,255,20,252,255,255,255,255,254,255,254,253,255,233,255,255,54,255,94,255,253,255,255,255,248,108,255,255,255,255,255,255,255,82,255,255,255,255,254,255,255,255,255,255,255,255,254,255,255,255,255,254,204,255,255,241,255,109,126,255,255,255,251,255,255,84,21,25,254,12,255,252,254,255,253,254,170,255,254,255,255,190,255,255,255,147,255,254,249,168,255,254,255,255,252,255,255,251,255,169,255,255,93,223,255,255,235,255,93,255};
+const uint8_t ui_px[6284] = {
+ 0,0,0,0,0,0,0,0,5,0,0,5,62,148,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,62,233,203,5,55,233,235,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,203,233,29,17,233,17,71,153,22,0,0,0,0,0,0,0,0,0,0,0,0,0,62,27,115,87,169,87,115,169,
+ 62,0,0,0,0,0,0,0,0,0,0,0,0,203,153,71,131,131,115,131,87,115,17,203,0,0,0,0,0,0,0,0,0,0,0,235,153,71,131,87,
+ 87,87,115,71,233,62,203,235,62,203,0,0,0,0,0,142,22,203,233,153,71,131,87,131,71,36,153,189,189,17,36,203,0,0,0,0,0,62,233,36,
+ 189,189,66,139,139,131,247,59,196,18,18,221,17,203,0,0,0,0,0,62,17,103,196,103,103,219,139,131,247,196,196,196,196,18,189,203,0,0,0,0,
+ 0,62,189,103,210,210,210,155,139,131,247,210,196,196,196,18,189,203,0,0,0,0,0,235,189,103,210,196,210,155,139,139,247,210,196,196,210,196,36,62,
+ 0,0,0,0,22,55,36,210,210,210,59,247,139,139,247,210,18,18,221,247,66,62,0,0,0,0,203,233,66,247,247,247,247,155,180,180,219,155,180,139,
+ 139,131,247,62,0,0,0,0,22,233,247,180,219,180,180,180,180,180,139,139,139,139,139,131,29,62,0,0,0,0,5,233,169,180,219,219,219,219,180,180,
+ 180,180,180,180,180,139,169,235,0,0,0,0,148,55,17,247,221,221,18,221,219,180,155,18,18,18,18,196,36,62,0,0,0,0,0,62,233,59,210,210,
+ 59,221,219,219,155,210,210,210,196,59,153,22,0,0,0,0,0,203,233,59,210,210,210,221,219,219,155,210,210,210,196,59,55,83,0,0,0,0,0,22,
+ 233,59,103,103,210,221,219,219,155,103,103,103,103,59,55,40,0,0,0,0,0,203,233,17,66,66,66,196,180,180,219,66,66,66,66,66,55,215,0,0,
+ 0,0,0,22,233,55,55,55,233,189,169,66,27,233,55,55,55,233,62,0,0,0,0,0,0,0,142,5,148,148,62,233,55,55,62,62,5,148,148,5,
+ 40,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,212,212,15,118,164,6,212,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,212,212,15,15,118,179,164,6,39,39,245,227,129,129,127,119,202,246,246,8,129,212,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,227,129,127,201,119,202,202,246,110,54,8,76,63,47,132,132,30,35,156,2,217,30,246,127,15,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,201,63,35,156,156,2,220,220,19,44,52,184,192,166,166,88,3,11,128,128,207,161,35,202,126,118,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,129,30,237,11,128,128,128,128,65,191,191,14,3,7,188,223,61,152,165,165,133,88,14,156,202,54,164,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,129,132,88,165,33,61,229,229,133,133,133,152,109,109,64,130,130,114,49,150,33,152,33,11,2,58,76,6,0,0,0,0,0,0,0,0,
+ 0,0,0,0,227,132,166,160,192,229,237,207,128,128,191,160,130,49,134,226,226,226,226,151,242,33,61,61,128,32,58,76,6,0,0,0,0,0,0,0,
+ 0,0,0,0,227,47,166,3,192,156,156,2,35,156,19,229,160,64,136,226,226,34,84,130,61,61,64,109,165,128,220,58,76,39,0,0,0,0,0,0,
+ 0,0,0,0,227,63,178,7,14,192,2,32,19,44,184,165,188,130,136,226,226,49,93,188,14,191,88,64,88,191,237,19,126,63,245,0,0,0,0,0,
+ 0,0,0,0,245,63,192,3,165,88,207,207,128,191,3,188,130,49,163,226,226,130,188,133,52,52,178,3,178,19,2,132,246,119,8,227,0,0,0,0,
+ 0,0,0,0,245,76,184,14,61,109,165,165,152,61,109,114,84,34,205,226,226,93,130,223,184,220,35,47,54,67,8,132,156,32,125,70,129,212,0,0,
+ 0,0,0,0,39,8,52,191,152,82,98,113,113,82,174,183,226,226,226,226,226,84,244,140,3,128,133,19,19,184,152,191,65,207,184,125,70,129,212,0,
+ 0,0,0,0,39,54,52,191,152,226,226,226,226,226,226,226,226,226,226,226,226,134,34,49,109,165,160,65,65,3,160,61,165,133,191,178,47,246,127,15,
+ 0,0,0,0,6,70,44,191,152,226,226,226,226,226,226,226,226,226,226,226,226,226,226,151,242,49,64,152,152,61,64,130,114,107,165,3,161,30,246,126,
+ 118,0,0,0,6,110,19,65,165,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,174,82,98,113,163,151,226,183,41,107,165,3,88,35,202,
+ 54,179,0,0,164,110,19,65,165,205,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,143,41,107,152,160,3,156,
+ 202,8,6,0,164,246,220,128,165,143,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,151,41,33,61,109,65,
+ 32,246,8,39,179,202,217,128,165,136,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,183,34,84,93,109,165,11,
+ 32,243,76,245,118,202,32,128,165,242,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,82,99,86,109,93,64,128,32,
+ 119,76,245,0,118,202,2,11,165,114,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,226,163,143,104,241,64,109,88,152,229,32,119,
+ 76,227,0,0,15,58,156,11,133,152,109,109,61,61,61,109,93,84,34,226,226,226,226,226,226,226,226,163,163,113,241,64,64,7,88,192,12,32,243,76,
+ 227,0,0,0,15,119,156,207,14,191,3,14,191,191,14,88,107,93,84,226,163,183,183,163,163,163,134,134,104,130,109,160,7,178,43,147,32,126,76,227,
+ 0,0,0,0,15,119,35,166,43,52,184,200,52,44,52,192,165,107,130,93,64,64,64,64,109,109,109,109,109,188,88,229,12,21,193,217,126,8,227,0,
+ 0,0,0,0,212,201,54,246,58,8,132,156,32,19,200,178,64,130,109,130,160,7,7,88,88,88,88,88,88,133,12,193,251,42,26,126,8,245,0,0,
+ 0,0,0,0,212,127,63,220,43,192,165,3,65,65,14,160,64,188,88,160,229,178,178,192,192,192,184,184,200,147,173,173,42,26,125,54,245,0,0,0,
+ 0,0,0,0,212,127,132,191,3,14,3,88,105,61,109,88,7,165,184,43,193,45,45,135,21,173,173,173,173,135,135,193,26,125,54,39,0,0,0,0,
+ 0,0,0,0,0,129,132,157,193,43,200,184,178,133,152,192,12,42,173,173,45,4,4,4,74,74,74,74,74,135,193,120,47,54,39,0,0,0,0,0,
+ 0,0,0,0,0,129,132,157,173,173,173,251,45,147,147,45,173,135,74,74,4,4,4,4,4,4,4,4,135,74,81,47,70,39,0,0,0,0,0,0,
+ 0,0,0,0,0,129,132,157,21,45,45,45,135,173,173,135,45,135,135,135,135,135,135,135,135,135,135,21,74,42,30,70,39,0,0,0,0,0,0,0,
+ 0,0,0,0,0,227,30,147,193,193,193,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,42,147,30,70,39,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,227,132,220,220,220,220,217,217,217,217,217,217,217,217,217,217,217,217,217,217,217,217,217,30,70,39,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,227,63,8,76,76,76,8,54,54,54,8,8,54,54,54,54,54,54,54,54,54,54,70,76,245,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,118,164,164,164,164,164,164,164,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,179,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,213,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,211,159,159,249,102,213,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,162,144,13,144,68,53,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,162,213,211,159,144,171,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,204,
+ 68,222,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,171,68,53,0,0,0,0,0,0,0,0,0,0,0,0,213,0,0,0,
+ 0,0,162,249,144,222,0,0,0,0,0,0,0,0,0,0,0,171,144,211,0,162,171,222,13,144,144,162,0,0,0,0,213,162,0,0,0,0,0,171,
+ 144,249,53,144,68,68,144,53,211,0,0,0,0,0,249,249,0,213,211,102,53,144,144,68,144,159,222,204,162,0,0,0,0,0,0,213,53,144,53,144,
+ 68,68,144,159,222,171,162,213,0,0,0,0,0,0,162,204,53,13,144,144,144,249,222,171,162,0,0,0,0,0,0,0,0,0,0,0,53,68,144,249,
+ 222,171,162,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,162,171,162,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,212,15,179,6,39,245,227,127,39,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,39,197,243,110,54,76,76,63,76,70,245,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,245,8,217,52,52,184,192,166,184,
+ 47,70,227,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,245,70,44,237,3,14,3,160,191,229,30,110,129,212,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,39,70,19,191,133,61,61,64,165,3,161,35,246,127,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,39,110,220,128,165,143,183,41,107,152,7,14,156,202,201,15,0,0,0,0,0,0,0,0,0,0,0,0,0,0,39,110,220,128,165,143,134,136,114,
+ 33,152,188,65,2,202,197,118,0,0,0,0,0,0,0,0,0,0,0,0,0,39,110,220,128,165,174,84,93,188,188,152,133,133,191,217,246,54,164,0,
+ 0,0,0,0,0,0,0,0,0,0,0,6,110,217,128,165,143,41,107,152,165,191,207,128,128,237,32,246,76,6,0,0,0,0,0,0,0,0,0,0,
+ 0,6,110,217,128,165,82,130,188,161,43,32,32,220,156,47,54,197,246,8,6,0,0,0,0,0,0,0,0,0,0,6,110,2,128,165,34,84,130,188,
+ 160,184,220,30,30,2,220,200,19,126,54,39,0,0,0,0,0,0,0,0,0,6,110,2,128,165,34,34,49,130,64,3,207,65,128,207,128,14,207,52,
+ 126,54,245,0,0,0,0,0,0,0,0,164,110,156,128,165,242,183,134,242,84,109,165,152,152,165,165,61,133,65,184,125,70,227,0,0,0,0,0,0,
+ 0,164,110,35,11,165,114,226,226,226,151,134,136,93,41,136,98,41,107,133,191,192,47,110,129,212,0,0,0,0,0,179,110,35,191,152,114,226,226,226,
+ 226,226,226,226,226,226,226,143,41,107,165,14,229,30,70,127,15,0,0,0,0,179,110,35,191,152,114,226,226,226,226,226,226,226,226,226,226,226,134,41,
+ 107,133,3,160,47,70,201,212,0,0,0,118,110,30,3,165,109,109,109,61,109,64,84,34,143,226,163,34,84,130,61,109,11,32,243,76,39,0,0,0,
+ 0,118,110,30,11,14,88,3,14,14,3,7,93,84,136,34,84,41,109,107,160,14,220,119,76,39,0,0,0,0,0,118,110,47,200,200,192,184,200,200,
+ 184,178,107,93,242,86,109,64,88,133,192,32,243,76,245,0,0,0,0,0,0,15,54,197,246,63,35,2,220,44,184,229,105,93,64,109,88,88,184,43,
+ 32,243,76,245,0,0,0,0,0,0,0,15,110,63,44,178,88,11,65,65,191,7,109,109,7,88,192,147,42,32,126,76,245,0,0,0,0,0,0,0,
+ 0,15,246,63,109,165,184,12,147,43,184,133,88,88,229,43,251,193,220,126,76,39,0,0,0,0,0,0,0,0,0,15,243,63,42,45,173,251,173,173,
+ 173,193,12,12,81,251,42,220,126,8,39,0,0,0,0,0,0,0,0,0,0,212,243,76,26,74,4,74,74,74,74,135,251,173,173,42,26,125,8,39,
+ 0,0,0,0,0,0,0,0,0,0,0,212,201,8,26,193,45,4,4,4,4,4,74,135,193,26,125,54,6,0,0,0,0,0,0,0,0,0,0,0,
+ 0,212,201,8,26,193,45,4,4,4,4,4,135,193,120,47,70,6,0,0,0,0,0,0,0,0,0,0,0,0,0,212,201,76,26,4,173,21,21,21,
+ 21,173,74,147,47,70,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,212,127,63,157,147,147,147,147,147,147,147,147,132,70,6,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,127,76,132,30,35,156,156,156,156,2,132,110,6,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,227,201,201,119,202,202,202,202,202,58,70,245,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,48,48,48,48,48,48,48,48,48,48,48,48,48,142,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,50,198,234,234,
+ 234,234,234,234,234,234,234,234,234,234,234,138,24,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,138,90,31,1,31,31,31,31,31,31,31,31,31,31,31,75,138,39,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,24,116,170,238,154,154,154,154,154,154,154,154,154,154,154,23,95,209,252,142,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,72,208,175,78,228,228,175,69,79,69,79,232,
+ 79,182,255,214,72,252,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,24,72,46,181,187,69,56,92,190,145,56,85,78,190,232,255,214,72,252,22,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,72,46,10,10,
+ 92,56,228,255,181,255,190,175,190,10,194,214,72,252,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,72,46,168,56,181,121,146,73,253,73,146,228,190,10,255,214,72,252,22,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,24,72,46,181,190,230,23,31,116,199,186,90,238,182,232,255,214,72,252,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,72,46,239,175,255,176,116,122,233,153,16,1,
+ 146,69,255,214,72,252,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,24,72,46,181,112,75,38,122,233,158,153,153,116,73,255,194,214,72,252,22,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,72,46,168,255,
+ 177,72,199,138,233,250,236,138,31,23,255,214,72,252,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,72,46,168,225,73,77,77,77,233,186,23,116,73,112,255,214,72,252,22,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,24,72,46,123,232,225,141,31,72,233,250,90,117,225,69,255,214,72,252,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,72,46,187,10,78,255,253,77,100,72,73,146,
+ 182,232,255,214,72,252,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,24,72,46,123,123,232,228,225,253,90,73,112,121,78,56,255,214,72,252,22,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,72,208,145,10,
+ 78,85,92,225,238,194,228,175,10,10,255,214,72,252,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,24,209,80,225,112,225,112,225,225,112,112,112,225,112,225,23,177,209,252,22,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,179,60,77,80,95,80,80,80,80,80,95,95,80,80,95,80,97,20,53,142,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,245,216,250,250,250,250,250,250,250,250,250,250,
+ 250,250,250,9,106,203,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,204,227,227,227,227,227,227,227,227,227,227,227,227,227,222,203,40,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,215,215,83,83,83,83,83,215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,50,25,248,254,254,254,248,254,254,254,248,248,25,50,213,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,50,25,248,254,254,248,254,248,254,254,254,248,25,50,213,0,0,0,0,0,0,148,198,167,57,89,57,57,57,57,57,57,57,57,89,185,77,60,
+ 164,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,213,198,167,57,89,38,38,38,38,38,38,57,38,89,185,77,
+ 60,164,0,0,0,0,0,24,1,90,80,91,91,91,91,91,91,91,91,91,91,91,28,77,100,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,24,1,90,80,91,91,91,91,91,91,91,91,91,91,91,28,77,100,22,0,0,0,83,96,185,37,255,194,194,194,194,194,
+ 194,194,194,194,194,255,230,97,20,204,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,215,96,185,37,255,194,112,112,194,
+ 194,112,194,112,112,194,255,141,97,60,204,0,0,0,40,96,101,224,225,78,232,187,78,175,79,69,175,175,69,187,141,240,195,231,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,96,101,224,145,182,121,79,79,78,79,228,69,78,69,85,117,149,20,108,0,0,0,40,96,
+ 206,224,145,175,175,10,78,146,23,145,79,190,78,181,141,240,94,231,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,
+ 96,206,224,168,228,69,79,181,23,146,232,228,228,182,187,117,149,20,108,0,0,0,40,96,206,224,225,190,190,239,146,1,90,253,145,228,190,145,141,240,
+ 94,231,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,96,38,224,145,69,121,10,75,90,31,255,181,230,78,187,75,
+ 149,20,108,0,0,0,40,96,206,224,145,232,56,146,1,16,60,77,79,255,228,181,117,240,94,231,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,40,96,206,224,145,182,194,194,124,250,186,177,123,225,182,145,117,149,20,108,0,0,0,40,96,89,224,168,85,112,90,60,233,
+ 172,31,90,73,225,85,141,240,94,231,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,96,206,224,187,225,253,90,90,
+ 216,233,100,90,141,145,187,117,149,20,108,0,0,0,40,96,206,224,225,194,73,60,233,122,250,250,20,116,73,255,117,240,94,231,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,96,206,224,194,73,77,60,60,250,199,233,100,253,168,145,117,149,20,108,0,0,0,40,96,
+ 206,224,255,253,167,122,233,158,233,233,233,250,31,238,141,240,94,231,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,
+ 96,38,224,23,1,16,233,233,233,158,233,233,116,176,255,117,149,20,108,0,0,0,40,96,89,224,225,146,176,72,158,158,16,77,116,101,75,145,117,240,
+ 94,231,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,96,206,224,225,75,185,116,77,116,122,233,186,51,146,168,117,
+ 149,20,108,0,0,0,40,96,89,224,225,79,23,31,72,122,106,185,177,117,168,168,141,240,94,231,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,40,96,206,224,181,56,117,176,73,172,153,186,90,23,182,181,117,149,20,108,0,0,0,40,96,89,224,225,56,79,23,176,185,
+ 116,167,228,112,190,168,141,240,94,231,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,96,206,224,168,79,145,190,101,
+ 116,167,177,146,182,78,168,117,149,20,108,0,0,0,40,96,89,224,225,92,123,69,146,75,176,253,168,79,232,181,141,240,94,231,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,96,206,224,168,78,228,85,75,176,253,255,182,69,232,168,117,149,20,108,0,0,0,40,96,
+ 89,224,225,92,175,56,92,225,194,181,69,232,190,181,117,240,195,231,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,
+ 96,89,224,145,175,69,182,175,194,112,228,232,79,175,168,117,149,20,108,0,0,0,40,96,38,218,112,145,145,168,145,145,168,181,168,181,145,225,175,240,
+ 20,231,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,40,96,38,218,112,123,181,187,239,168,168,123,181,181,181,225,230,
+ 149,20,108,0,0,0,83,96,124,214,182,117,117,75,117,117,117,117,75,117,117,121,73,149,216,108,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,83,96,124,214,121,75,75,75,75,117,75,75,75,75,117,230,73,149,216,108,0,0,0,0,245,186,111,149,137,137,137,137,137,
+ 137,137,137,137,137,137,149,186,172,203,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,245,186,111,149,137,137,137,137,
+ 137,137,137,137,137,137,137,149,186,172,203,0,0,0,0,213,252,100,9,9,9,9,9,9,9,9,9,9,9,9,216,172,222,142,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,213,252,100,9,9,9,9,9,9,9,9,9,9,9,9,216,172,222,142,0,0,0,0,0,
+ 40,171,108,108,108,108,108,108,108,108,108,108,108,231,108,203,142,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,40,171,108,108,108,108,108,108,108,108,108,108,108,231,108,203,142,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
+ 0,0,0,0,
+};
+const UiPic ui_pics[UI_COUNT] = {{22, 22, 0}, {40, 40, 484}, {22, 22, 2084}, {30, 30, 2568}, {64, 44, 3468}};
diff --git a/games/snowrider/src/ui.h b/games/snowrider/src/ui.h
new file mode 100644
index 00000000..95921bb5
--- /dev/null
+++ b/games/snowrider/src/ui.h
@@ -0,0 +1,25 @@
+/* Snow Rider 3D's own lettering and interface pictures (ui.c, made by tools/ui.py). */
+#ifndef SR_UI_H
+#define SR_UI_H
+#include <stdint.h>
+#include "../../../launcher/src/font.h"
+
+extern const np_font_t sr_font_small, sr_font_mid, sr_font_big;
+
+/* a picture: w x h pixels from ui_px[off], colours ui_pal and their see-through amounts ui_alpha (0: none) */
+typedef struct {
+ uint8_t w, h;
+ uint16_t off;
+} UiPic;
+enum {
+ UI_GIFT,
+ UI_SIGN,
+ UI_SLED,
+ UI_ARROW_BUTTON,
+ UI_KEYS,
+ UI_COUNT
+};
+extern const UiPic ui_pics[UI_COUNT];
+extern const uint16_t ui_pal[256];
+extern const uint8_t ui_alpha[256], ui_px[];
+#endif
diff --git a/games/snowrider/tests/play.c b/games/snowrider/tests/play.c
index 24905d77..a81e4268 100644
--- a/games/snowrider/tests/play.c
+++ b/games/snowrider/tests/play.c
@@ -213,7 +213,7 @@ static void test_saves(const char *dir) {
/* buying a sled with gifts */
gifts = 60;
press(SK_OK);
- press(SK_DOWN), press(SK_OK); /* Sleds */
+ press(SK_LEFT); /* Sleds: the sign at the bottom left */
CHECK(screen == S_SLEDS, "the sleds");
press(SK_RIGHT), press(SK_OK); /* the Metal Sleigh, 50 gifts */
CHECK(owned == 3 && skin == 1 && gifts == 10, "bought: owned %d skin %d gifts %d", owned, skin, gifts);
diff --git a/games/snowrider/tools/ui.py b/games/snowrider/tools/ui.py
new file mode 100644
index 00000000..4077034a
--- /dev/null
+++ b/games/snowrider/tools/ui.py
@@ -0,0 +1,132 @@
+#!/usr/bin/env python3
+"""Snow Rider 3D's own interface for the calculator: src/ui.c and src/ui.h, from the game's Unity project.
+
+ python3 -I tools/ui.py <the Unity project's Assets folder> src (Pillow, NumPy)
+
+- Its lettering: Blockletter (Assets/Font/Blockletter.ttf), at three sizes (the game's 62, 100 and 160 on its
+ 1920 x 1080 canvas, about a sixth here), as the launcher's fonts are kept (np_font_t: 4-bit coverage).
+- Its pictures: the gift, the wooden sign and its sled icon, the shop's arrow buttons and the arrow keys of its
+ first run (Assets/Texture2D), made smaller the same way, in one palette of 255 colours each with its own
+ see-through amount (index 0: nothing)."""
+import os
+import sys
+
+import numpy as np
+from PIL import Image, ImageDraw, ImageFont
+
+UP = 4
+FIRST, LAST = 32, 126
+# name, cap height in pixels
+FONTS = [("sr_font_small", 9), ("sr_font_mid", 14), ("sr_font_big", 23)]
+# picture, file, width and height here
+PICS = [("UI_GIFT", "Gift.png", (22, 22)), ("UI_SIGN", "MenuButton.png", (40, 40)), ("UI_SLED", "MenuSleds.png", (22, 22)),
+ ("UI_ARROW_BUTTON", "directionalButton.png", (30, 30)), ("UI_KEYS", "arrowKeys-300x205_1.png", (64, 44))]
+
+
+def glyph(f, ch):
+ adv = f.getlength(ch) / UP
+ bb = f.getbbox(ch, anchor="ls")
+ if bb[2] <= bb[0] or bb[3] <= bb[1]:
+ return None, round(adv)
+ pad = 2 * UP
+ x0, y0 = pad - bb[0], pad - bb[1]
+ x0 += (-x0) % UP
+ y0 += (-y0) % UP
+ w, h = x0 + bb[2] + pad, y0 + bb[3] + pad
+ w += (-w) % UP
+ h += (-h) % UP
+ im = Image.new("L", (w, h), 0)
+ ImageDraw.Draw(im).text((x0, y0), ch, font=f, fill=255, anchor="ls")
+ a = np.asarray(im).astype(np.float32).reshape(h // UP, UP, w // UP, UP).mean(axis=(1, 3)) / 255
+ q = np.clip(np.round(a * 15), 0, 15).astype(np.uint8)
+ ys, xs = np.nonzero(q)
+ if not len(ys):
+ return None, round(adv)
+ q = q[ys.min():ys.max() + 1, xs.min():xs.max() + 1]
+ return (q, xs.min() - x0 // UP, ys.min() - y0 // UP), round(adv)
+
+
+def load(path, cap):
+ for size in range(6, 400):
+ f = ImageFont.truetype(path, size * UP)
+ if -f.getbbox("H", anchor="ls")[1] >= cap * UP - UP // 2:
+ return f
+ raise SystemExit("size")
+
+
+def smaller(img, size):
+ a = np.asarray(img.convert("RGBA"), np.float64) / 255
+ pre = np.dstack([a[:, :, :3] * a[:, :, 3:], a[:, :, 3:]])
+ small = np.dstack([np.asarray(Image.fromarray(pre[:, :, k].astype(np.float32), "F").resize(size, Image.LANCZOS), np.float64)
+ for k in range(4)])
+ al = np.clip(small[:, :, 3], 0, 1)
+ return np.dstack([np.clip(small[:, :, :3] / np.maximum(al, 1e-6)[:, :, None], 0, 1), al])
+
+
+def main(assets, src):
+ lines = ["/* Made by tools/ui.py: Snow Rider 3D's own lettering (Blockletter) and interface pictures. */", '#include "ui.h"', ""]
+ for name, cap in FONTS:
+ f = load(os.path.join(assets, "Font", "Blockletter.ttf"), cap)
+ data, glyphs, asc, desc = bytearray(), [], 0, 0
+ for c in range(FIRST, LAST + 1):
+ g, adv = glyph(f, chr(c))
+ if g is None:
+ glyphs.append((0, 0, 0, 0, adv, len(data)))
+ continue
+ q, ox, oy = g
+ h, w = q.shape
+ asc, desc = max(asc, -oy), max(desc, h + oy)
+ flat = q.flatten().tolist() + [0]
+ off = len(data)
+ for i in range(0, w * h, 2):
+ data.append(flat[i] | flat[i + 1] << 4)
+ glyphs.append((w, h, ox, oy, adv, off))
+ lines.append(f"static const uint8_t {name}_data[{len(data)}] = {{")
+ lines += [" " + ",".join(str(b) for b in data[i:i + 32]) + "," for i in range(0, len(data), 32)]
+ lines.append("};")
+ lines.append(f"static const np_glyph_t {name}_glyphs[{len(glyphs)}] = {{" + ", ".join("{%d,%d,%d,%d,%d,%d}" % g for g in glyphs) + "};")
+ lines.append(f"const np_font_t {name} = {{{FIRST}, {LAST - FIRST + 1}, {asc}, {desc}, {name}_glyphs, {name}_data}};")
+ lines.append("")
+ pics = [(n, smaller(Image.open(os.path.join(assets, "Texture2D", fn)), size)) for n, fn, size in PICS] # noqa
+ px = np.concatenate([p.reshape(-1, 4) for _, p in pics])
+ px = px[px[:, 3] > 0.04]
+ rng = np.random.default_rng(1)
+ w8 = np.array([1, 1, 1, 1.6])
+ cent = px[rng.choice(len(px), min(255, len(px)), replace=False)].copy()
+ for _ in range(16):
+ idx = (((px[:, None, :] - cent[None]) * w8) ** 2).sum(2).argmin(1)
+ for j in range(len(cent)):
+ m = px[idx == j]
+ if len(m):
+ cent[j] = m.mean(0)
+ data, rows = bytearray(), []
+ for n, p in pics:
+ flat = p.reshape(-1, 4)
+ idx = (((flat[:, None, :] - cent[None]) * w8) ** 2).sum(2).argmin(1) + 1
+ idx[flat[:, 3] <= 0.04] = 0
+ rows.append((n, p.shape[1], p.shape[0], len(data)))
+ data += bytes(idx.astype(np.uint8))
+ pal = [((int(c[0] * 255 + .5) >> 3) << 11) | ((int(c[1] * 255 + .5) >> 2) << 5) | (int(c[2] * 255 + .5) >> 3) for c in cent]
+ alpha = [min(255, int(c[3] * 255 + .5)) for c in cent]
+ pal += [0] * (255 - len(pal))
+ alpha += [0] * (255 - len(alpha))
+ lines.append("const uint16_t ui_pal[256] = {0," + ",".join(map(str, pal)) + "};")
+ lines.append("const uint8_t ui_alpha[256] = {0," + ",".join(map(str, alpha)) + "};")
+ lines.append(f"const uint8_t ui_px[{len(data)}] = {{")
+ lines += [" " + ",".join(str(b) for b in data[i:i + 40]) + "," for i in range(0, len(data), 40)]
+ lines.append("};")
+ lines.append("const UiPic ui_pics[UI_COUNT] = {" + ", ".join("{%d, %d, %d}" % r[1:] for r in rows) + "};")
+ open(os.path.join(src, "ui.c"), "w").write("\n".join(lines) + "\n")
+ h = ["/* Snow Rider 3D's own lettering and interface pictures (ui.c, made by tools/ui.py). */", "#ifndef SR_UI_H", "#define SR_UI_H",
+ "#include <stdint.h>", '#include "../../../launcher/src/font.h"', "",
+ "extern const np_font_t " + ", ".join(n for n, _ in FONTS) + ";", "",
+ "/* a picture: w x h pixels from ui_px[off], colours ui_pal and their see-through amounts ui_alpha (0: none) */",
+ "typedef struct {", " uint8_t w, h;", " uint16_t off;", "} UiPic;", "enum {"] + [f" {r[0]}," for r in rows] + [
+ " UI_COUNT", "};", "extern const UiPic ui_pics[UI_COUNT];", "extern const uint16_t ui_pal[256];",
+ "extern const uint8_t ui_alpha[256], ui_px[];", "#endif", ""]
+ open(os.path.join(src, "ui.h"), "w").write("\n".join(h))
+ print(f"{len(rows)} pictures, {len(data)} pixels")
+
+
+if __name__ == "__main__":
+ main(sys.argv[1], sys.argv[2] if len(sys.argv) > 2 else os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "src"))