yuzhewu207 commited on
Commit
a54e6a7
·
verified ·
1 Parent(s): 7d67b48

ww_index: window list, captions, lags and scripts to rebuild the WildWorld windows from upstream

Browse files
Files changed (33) hide show
  1. .gitattributes +1 -0
  2. ww_index/README.md +27 -0
  3. ww_index/filelist_part1.json +0 -0
  4. ww_index/scripts/build_v7.py +447 -0
  5. ww_index/scripts/condv2/cond_v2.py +98 -0
  6. ww_index/scripts/gbuf_ww.py +71 -0
  7. ww_index/scripts/precompute_wan_mix.py +108 -0
  8. ww_index/scripts/proxykit36/proxykit/__init__.py +0 -0
  9. ww_index/scripts/proxykit36/proxykit/cameras.py +55 -0
  10. ww_index/scripts/proxykit36/proxykit/data/humanoid_clips.npz +3 -0
  11. ww_index/scripts/proxykit36/proxykit/effector.py +409 -0
  12. ww_index/scripts/proxykit36/proxykit/geometry.py +113 -0
  13. ww_index/scripts/proxykit36/proxykit/library.py +117 -0
  14. ww_index/scripts/proxykit36/proxykit/motion.py +287 -0
  15. ww_index/scripts/proxykit36/proxykit/moves.py +258 -0
  16. ww_index/scripts/proxykit36/proxykit/render.py +203 -0
  17. ww_index/scripts/proxykit36/proxykit/runtime.py +245 -0
  18. ww_index/scripts/proxykit36/proxykit/scene.py +113 -0
  19. ww_index/scripts/proxykit36/proxykit/skeleton.py +290 -0
  20. ww_index/scripts/proxykit36/proxykit/validate.py +80 -0
  21. ww_index/scripts/v7enc.py +74 -0
  22. ww_index/scripts/ww_build_windows_grid.py +52 -0
  23. ww_index/scripts/ww_offset_est.py +129 -0
  24. ww_index/scripts/ww_offset_perwin.py +13 -0
  25. ww_index/scripts/ww_to_bossv2v_v2.py +433 -0
  26. ww_index/selection_50h.json +4349 -0
  27. ww_index/skeleton_edges.json +7956 -0
  28. ww_index/windows.jsonl +3 -0
  29. ww_index/ww_offset_perwin.json +0 -0
  30. ww_index/ww_offset_summary.json +1 -0
  31. ww_index/ww_offsets_shard0.json +0 -0
  32. ww_index/ww_offsets_shard1.json +0 -0
  33. ww_index/ww_offsets_shard2.json +0 -0
.gitattributes CHANGED
@@ -64,3 +64,4 @@ precoded_meta/wan_mix/real_train.jsonl filter=lfs diff=lfs merge=lfs -text
64
  precoded_meta/wan_mix5/list.jsonl filter=lfs diff=lfs merge=lfs -text
65
  precoded_meta/wan_v6/v5_list.jsonl filter=lfs diff=lfs merge=lfs -text
66
  precoded_meta/wan_v7/v5_list.jsonl filter=lfs diff=lfs merge=lfs -text
 
 
64
  precoded_meta/wan_mix5/list.jsonl filter=lfs diff=lfs merge=lfs -text
65
  precoded_meta/wan_v6/v5_list.jsonl filter=lfs diff=lfs merge=lfs -text
66
  precoded_meta/wan_v7/v5_list.jsonl filter=lfs diff=lfs merge=lfs -text
67
+ ww_index/windows.jsonl filter=lfs diff=lfs merge=lfs -text
ww_index/README.md ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Rebuilding the WildWorld windows (group `ww`)
2
+
3
+ The WildWorld windows (23,654 of the 47,292 training rows) are not redistributed (non-commercial licence). This folder holds everything needed to rebuild them from the upstream dataset [`AlayaLab/WildWorld`](https://huggingface.co/datasets/AlayaLab/WildWorld) (request access there): which windows were used, the state↔video lags we estimated, the captions, and the scripts that turned an upstream sample into a training window. No WildWorld pixels, depth or states are in this folder.
4
+
5
+ ## Files
6
+
7
+ | file | content |
8
+ |---|---|
9
+ | `windows.jsonl` | one line per window (27,882; `in_training: true` for the 23,654 used): `window` (`<sample>_<t0>`), `key` (the training key, `md5("/data/yuzhewu/datasets/wildworld/windows_v2_121/<window>/rgb.mp4")[:16]`, matches `clip_<key>.pt`), `sample`, `t0` (first frame in the upstream sample, 30 fps), `frames` (121), monster / NPC / weapon ids, player and monster size (m), ground height, skeleton chain labels, `session_state_lag` / `window_state_lag` (frames; state shifted against video), `caption` |
10
+ | `selection_50h.json` | the 50 h of upstream samples the windows were cut from (`data_part1`; id, frames, monster, weapon, npc) |
11
+ | `filelist_part1.json` | upstream file listing of `data_part1` at download time |
12
+ | `skeleton_edges.json` | joint topology used to draw the skeletons |
13
+ | `ww_offsets_shard*.json`, `ww_offset_perwin.json`, `ww_offset_summary.json` | state↔video lag estimates (per session / per window) |
14
+ | `scripts/` | the scripts as used (absolute paths of the original machine, `/data/yuzhewu/...`; adjust the constants at their top) |
15
+
16
+ ## Pipeline (upstream sample → training files)
17
+
18
+ Per upstream sample `data_part1/<sample>/` (`rgb.mp4`, `depth.mkv`, `skeleton.npz`, `state.csv`):
19
+
20
+ 1. **Download** the samples listed in `selection_50h.json` from `AlayaLab/WildWorld` (`data_part1/<id>/`, ~420 GB for all four files of the 328 samples behind the training windows).
21
+ 2. **Cut windows and render the proxy video (v5 encoding)** — `scripts/ww_to_bossv2v_v2.py` (renderer `scripts/proxykit36/proxykit`, colour coding `scripts/condv2/cond_v2.py`): for each `(sample, t0)` of `windows.jsonl`, 121 frames → `windows_v2_121/<window>/{rgb.mp4, cond.mp4, meta.json}`. The grid of `t0` (150 + 121k) is the one of `scripts/ww_build_windows_grid.py`; apply the lag of `windows.jsonl` to the states (`scripts/ww_offset_est.py` re-estimates it with SAM2 if needed).
22
+ 3. **Geometry** — `scripts/gbuf_ww.py`: per-cell planar depth, cameras, character cells from the upstream depth/states → `wan_v6/gbuf2/clip_<key>.pt` (read as `wan_v7/gbuf2`).
23
+ 4. **v7 proxy latent** — `scripts/build_v7.py ww` (encoding `scripts/v7enc.py`): → `wan_v7/cond7/clip_<key>.pt` (+ the `cond7_unk2` variant for the keys that have one).
24
+ 5. **Target latent, character cover, references** — `scripts/precompute_wan_mix.py enc`: Wan2.2-VAE latent of `rgb.mp4`, `cover` from the G bands of the v5 `cond.mp4` (player 34–148, monster ≥ 148), the monster on slot 2 or 3 by key hash → `wan_mix/clips/clip_<key>.pt` (link it as `wan_mix5/clips/clip_<key>.pt`). The reference image of each monster type was a cut-out of official artwork and is not provided; use your own 480×480 image per `monster_type`.
25
+ 6. **Rows** — append `{"key": <key>, "group": "ww", "video": <path of rgb.mp4>, "prev": []}` for every `in_training` window to `wan_v7/v7_rows.jsonl`, and add the `caption`s to `wan_mix5/text_table.pt` (UMT5, as `precompute_wan_mix.py text`).
26
+
27
+ Rebuilt windows match ours to the extent the upstream files are unchanged; the lag and the window grid are fixed by `windows.jsonl`, so the cut is the same.
ww_index/filelist_part1.json ADDED
The diff for this file is too large to render. See raw diff
 
ww_index/scripts/build_v7.py ADDED
@@ -0,0 +1,447 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """10-17 (user: v7 条件,开始编码数据) the v7 condition of every training window -> /data/yuzhewu/datasets/wan_v7/cond7/clip_<key>.pt
2
+ cond [48,31,30,52] bf16 VAE latent of the v7 condition video (832x480 crop)
3
+ dep [121,60,104] f16 planar depth (m) at the cell centres for the token coordinates (0 = none: sky / characters)
4
+ tier [121,60,104] u8 0 sky | 1 unknown | 2 coarse | 3 exact (token tier channel; characters' cells carry nothing via dep = 0)
5
+ meta dict source, variant (moge / holes / patch), normals
6
+ Encoding (v7enc.py): R height, B depth (v5), skeleton on top with a black outline (+ the player's shield disc), G = tier, exact G modulated by normals.
7
+ Sources (tier by where the geometry comes from):
8
+ ww exact WildWorld 8-bit depth (sigma 5), characters = silhouette_mask, background behind them from other frames
9
+ bk exact Black Knife raw depth_packed (lossless), characters = capsules of shot.npz, other frames
10
+ roam exact memroam windows: capture.mkv depth, player capsules (prep_mem), skeleton layer = prep_mem.Skel, R/B built here
11
+ synth exact ground plane (analytic) + the v5 props; above the horizon: sky (MoGe-2 by direction) / unknown
12
+ er,ue coarse the BOSSV2V proxy geometry of the v5 condition, black = sky (MoGe-2) / unknown
13
+ Variants (fixed per window by its key): 30% MoGe-2 first-frame world (coarse; outside it unknown; exact sources: 50% of them get a world-anchored exact patch),
14
+ 15% time-spanning holes (unknown), normals off for 20%.
15
+ build_v7.py <source> --rank R --world N [--limit K] [--preview]"""
16
+ import sys, os, json, gzip, hashlib, argparse, subprocess, time
17
+ import numpy as np, cv2, torch
18
+ import torch.nn.functional as F
19
+ sys.path.insert(0, "/data/yuzhewu/runs/v7demo"); sys.path.insert(0, "/data/yuzhewu/wancond_mem"); sys.path.insert(0, "/data/yuzhewu/wancond")
20
+ sys.path.insert(0, "/data/yuzhewu/datasets/wildworld"); sys.path.insert(0, "/data/yuzhewu/runs/proxykit")
21
+ import v7enc as E
22
+ DS = "/data/yuzhewu/datasets"; OUT = f"{DS}/wan_v7"; CK = "/data/yuzhewu/models/Wan2.2-TI2V-5B"; N = 121; W8, H8, X0 = 853, 480, 10
23
+ GV, GU = np.mgrid[0:60, 0:104]; CV, CU = 8 * GV + 4, 8 * GU + 4 + X0 # cell centres in the 853x480 frame
24
+ NB = (-60, -40, -25, -12, 12, 25, 40, 60) # other frames for the background behind the characters
25
+ PAR17 = [-1, 0, 1, 2, 3, 2, 5, 6, 2, 8, 9, 0, 11, 12, 0, 14, 15]
26
+ key_of = lambda v: hashlib.md5(v.encode()).hexdigest()[:16]
27
+ def u100(key, salt): return int(hashlib.md5((key + salt).encode()).hexdigest(), 16) % 100
28
+
29
+ def ff(path, start, n, w=None, h=None, fmt="rgb24", scale=None):
30
+ """frames [start, start+n) of a video -> uint8/uint16 array"""
31
+ vf = f"select='between(n\\,{start}\\,{start + n - 1})'" + (f",scale={scale[0]}:{scale[1]}:flags=area" if scale else "")
32
+ if w is None or scale:
33
+ if scale: w, h = scale
34
+ else: w, h = map(int, subprocess.run(["ffprobe", "-v", "error", "-select_streams", "v:0", "-show_entries", "stream=width,height", "-of", "csv=p=0", path], capture_output=True, text=True).stdout.strip().split(",")[:2])
35
+ raw = subprocess.run(["ffmpeg", "-v", "error", "-i", path, "-vf", vf, "-vsync", "0", "-f", "rawvideo", "-pix_fmt", fmt, "-"], capture_output=True).stdout
36
+ dt = np.uint16 if fmt == "rgb48le" else np.uint8; a = np.frombuffer(raw, dt)
37
+ return a.reshape(-1, h, w, 3)[:n]
38
+ def r853(x, interp=cv2.INTER_AREA): return cv2.resize(x, (W8, H8), interpolation=interp)
39
+ def z853(z, ok):
40
+ """planar depth -> 853x480 by AREA in disparity (nearest aliases into a grid in the normals); 0 where mostly invalid"""
41
+ d = np.where(ok, 1.0 / np.maximum(z, 1e-3), 0).astype(np.float32); w = ok.astype(np.float32)
42
+ d = cv2.resize(d, (W8, H8), interpolation=cv2.INTER_AREA); w = cv2.resize(w, (W8, H8), interpolation=cv2.INTER_AREA); good = w > 0.5
43
+ return np.where(good, 1.0 / np.maximum(d / np.maximum(w, 1e-6), 1e-6), 0.0), good
44
+
45
+ class Models:
46
+ def __init__(self):
47
+ from wanvendor.vae2_2 import Wan2_2_VAE
48
+ self.vae = Wan2_2_VAE(vae_pth=f"{CK}/Wan2.2_VAE.pth", device="cuda"); self.moge = None
49
+ def mg(self, im):
50
+ if self.moge is None:
51
+ from moge.model.v2 import MoGeModel; self.moge = MoGeModel.from_pretrained("Ruicheng/moge-2-vitl-normal").to("cuda").eval()
52
+ with torch.no_grad(): o = self.moge.infer(torch.from_numpy(np.ascontiguousarray(im)).permute(2, 0, 1).float().div(255).cuda())
53
+ return o["points"].cpu().numpy().astype(np.float64), o["mask"].cpu().numpy().astype(bool)
54
+ def encode(self, v): # [121,480,832,3] uint8 (numpy or cuda) -> [48,31,30,52]
55
+ if isinstance(v, np.ndarray): v = torch.from_numpy(np.ascontiguousarray(v))
56
+ x = v.cuda().permute(3, 0, 1, 2).float().div(127.5).sub(1.0)
57
+ with torch.no_grad(): return self.vae.encode([x])[0].to(torch.bfloat16).cpu()
58
+
59
+ # ------------------------------------------------------------------ geometry helpers (853x480, cam = (pos, Rrows right/up/forward, f, cx, cy), y up, metres)
60
+ def world_pts(cam, z):
61
+ pos, R, f, cx, cy = cam; v, u = np.mgrid[0:z.shape[0], 0:z.shape[1]] + 0.5
62
+ return pos + ((u - cx) / f * z)[..., None] * R[0] - ((v - cy) / f * z)[..., None] * R[1] + z[..., None] * R[2]
63
+ def capsules(cam, J, rad, shape, par=PAR17):
64
+ """character mask from joints [n,3] (world): bones as thick lines of radius rad (m) in perspective"""
65
+ pos, R, f, cx, cy = cam; rel = J - pos; X, Y, Zc = rel @ R[0], rel @ R[1], rel @ R[2]; m = np.zeros(shape, np.uint8)
66
+ for j, p in enumerate(par):
67
+ if p is None or not (np.isfinite(J[j]).all() and np.isfinite(J[p]).all()): continue
68
+ if p < 0 or Zc[j] < 0.2 or Zc[p] < 0.2: continue
69
+ a = (int(cx + f * X[j] / Zc[j]), int(cy - f * Y[j] / Zc[j])); b = (int(cx + f * X[p] / Zc[p]), int(cy - f * Y[p] / Zc[p]))
70
+ wpx = max(3, int(round(f * rad / min(Zc[j], Zc[p])))); cv2.line(m, a, b, 1, 2 * wpx); cv2.circle(m, a, wpx, 1, -1)
71
+ return m.astype(bool)
72
+ def fill_chars(Z, valid, CH, cams):
73
+ """depth behind the characters: other frames reprojected (v7enc.temporal_fill), then the smooth fill"""
74
+ out = []
75
+ for t in range(len(Z)):
76
+ m = CH[t] & valid[t]; z = Z[t]
77
+ if m.any():
78
+ srcs = [(cams[t + d], Z[t + d], valid[t + d] & ~CH[t + d]) for d in NB if 0 <= t + d < len(Z)]
79
+ z, got = E.temporal_fill(cams[t], np.where(m, 0, z), m, srcs); m = m & ~got
80
+ z = E.fill_under(z, m, valid[t] | CH[t])
81
+ out.append(z)
82
+ return np.stack(out)
83
+ def height_fit(V5, Z, valid, cams):
84
+ """the v5 R = a * (world height) + b on the environment of frame 0 (each source has its own range / origin)"""
85
+ P = world_pts(cams[0], Z[0]); r = V5[0][..., 0].astype(float) / 255; ok = valid[0] & (r > 0.52) & (r < 0.98) & (V5[0][..., 1] < 20)
86
+ if ok.sum() < 500: return 0.5 / 56, 0.5 + 0.5 * 8 / 56
87
+ A = np.stack([P[..., 1][ok], np.ones(ok.sum())], 1); a, b = np.linalg.lstsq(A, r[ok], rcond=None)[0]; return a, b
88
+ def rb_from(z, cam, ab):
89
+ P = world_pts(cam, z); R_ = np.clip(ab[0] * P[..., 1] + ab[1], 0.5, 1.0); B_ = 1 - np.clip((z - 0.1) / 79.9, 0, 1); return R_, B_
90
+
91
+ # ------------------------------------------------------------------ the shared core
92
+ def core(key, src, V5, Z, valid, sky, CH, cams, exact_src, sig, rgb0, M, shield=None, ab=None, tier0=None):
93
+ """V5 [121,480,853,3] (characters drawn), Z planar depth (0 = none), valid geometry, sky, CH characters (excluded from geometry),
94
+ tier0: optional base tier map (synth). GPU (v7gpu.py). Returns v7 frames (cuda uint8 [121,480,832,3]), dep cells, tier cells, meta."""
95
+ import v7gpu as G
96
+ dev = "cuda"; moge = u100(key, "moge") < 30; holes = u100(key, "holes") < 15; normals = u100(key, "nrm") >= 20; patch = exact_src and moge and u100(key, "patch") < 50
97
+ pos = torch.tensor(np.stack([c[0] for c in cams]), dtype=torch.float32, device=dev); R = torch.tensor(np.stack([c[1] for c in cams]), dtype=torch.float32, device=dev)
98
+ f, cx, cy = float(cams[0][2]), float(cams[0][3]), float(cams[0][4])
99
+ Zt = torch.from_numpy(np.ascontiguousarray(Z)).float().to(dev); vt = torch.from_numpy(valid).to(dev); skt = torch.from_numpy(sky).to(dev); cht = torch.from_numpy(CH).to(dev)
100
+ if exact_src: Zf, miss = G.temporal_fill(Zt, vt, cht, pos, R, f, cx, cy); Zf = G.fill_rest(Zf, miss, vt)
101
+ else: Zf = Zt
102
+ if tier0 is not None: tier = torch.from_numpy(tier0).to(dev)
103
+ else: tier = torch.where(vt, torch.full_like(Zt, 3 if exact_src else 2), torch.where(skt, torch.zeros_like(Zt), torch.ones_like(Zt))).to(torch.uint8)
104
+ Zc = Zf; RB = None; pm = None
105
+ if moge: # the inference world: MoGe-2 of the first frame along the true cameras
106
+ Zf0 = Zf[0].cpu().numpy().astype(np.float64)
107
+ P, ok = M.mg(rgb0); sel = valid[0] & ok & ~CH[0]
108
+ s = float(np.median((Z[0][sel] + 1e-6) / (P[..., 2][sel] + 1e-6))) if sel.sum() > 500 else 1.0
109
+ chm = cv2.dilate(CH[0].astype(np.uint8), np.ones((15, 15), np.uint8)).astype(bool)
110
+ near = valid[0] & (s * P[..., 2] < 0.9 * Zf0 - 0.3) # (10-18) nearer than the environment = a character (bodies are wider than skeleton lines)
111
+ g0 = V5[0][..., 1].astype(int); hull = np.zeros((H8, W8), np.uint8) # and each character's skeleton hull (a boss against the sky has no environment behind it)
112
+ for slot in np.unique(g0[g0 >= 20] // 32):
113
+ ys, xs = np.nonzero((g0 >= 20) & (g0 // 32 == slot))
114
+ if len(xs) >= 3: cv2.fillConvexPoly(hull, cv2.convexHull(np.stack([xs, ys], 1).astype(np.int32)), 1)
115
+ near |= cv2.dilate(hull, np.ones((61, 61), np.uint8)).astype(bool)
116
+ chm |= cv2.dilate(near.astype(np.uint8), np.ones((9, 9), np.uint8)).astype(bool); okm = ok & ~chm & np.isfinite(P).all(-1)
117
+ fillm = chm & ~char_fill(~ok, chm) # the characters' pixels whose surroundings are ground / walls (not sky): fill those only
118
+ zM = np.where(okm, s * P[..., 2], 0.0); zM = E.fill_under(zM, fillm, okm | fillm); okm = okm | fillm
119
+ Pw = world_pts(cams[0], zM); st = 2; Q = Pw[::st, ::st]; mm = okm[::st, ::st]; dd = zM[::st, ::st]; idx = np.arange(mm.size).reshape(mm.shape)
120
+ a_, b_, c_, d_ = idx[:-1, :-1], idx[:-1, 1:], idx[1:, :-1], idx[1:, 1:]; D4 = np.stack([dd[:-1, :-1], dd[:-1, 1:], dd[1:, :-1], dd[1:, 1:]])
121
+ g = mm[:-1, :-1] & mm[:-1, 1:] & mm[1:, :-1] & mm[1:, 1:] & (D4.max(0) < 1.12 * D4.min(0))
122
+ F_ = np.concatenate([np.stack([a_[g], b_[g], c_[g]], 1), np.stack([b_[g], d_[g], c_[g]], 1)]); Vm = Q.reshape(-1, 3)[F_].reshape(-1, 3).astype("f4")
123
+ zc = G.splat_grid(torch.from_numpy(Pw).float().to(dev), torch.from_numpy(okm).to(dev), pos, R, f, cx, cy, H8, W8) # GPU surface splat (EGL in many processes aborts: exit 134)
124
+ if ab is None: ab = height_fit(V5, Zf.cpu().numpy(), valid, cams)
125
+ ray = G.rays(N, H8, W8, f, cx, cy, R, dev); Py = (pos[:, None, None] + zc[..., None] * ray)[..., 1]
126
+ RB = ((ab[0] * Py + ab[1]).clamp(0.5, 1.0), 1 - ((zc - 0.1) / 79.9).clamp(0, 1)); cov = zc > 0
127
+ skyd = torch.from_numpy(sky_dirs(cams, char_fill(~ok, cv2.dilate(chm.astype(np.uint8), np.ones((15, 15), np.uint8)).astype(bool)))).to(dev) # what inference knows: sky = directions frame 0 saw as sky
128
+ skyd &= ~(vt & ~cht) # (10-18) sky only where the truth has no geometry: a big boss's char_fill must not call the ruins behind it sky
129
+ tier = torch.where(cov, torch.full_like(tier, 2), torch.where(skyd, torch.zeros_like(tier), torch.ones_like(tier))); Zc = torch.where(cov, zc, Zf)
130
+ if patch: # a world-anchored exact block round a ground point of frame 0 (an agent's object)
131
+ yy, xx = int(H8 * 0.68), W8 // 2
132
+ if valid[0][yy, xx]:
133
+ Pf = pos[:, None, None] + Zf[..., None] * ray; pc = Pf[0, yy, xx]; half = torch.tensor([2.0, 2.5, 2.0], device=dev)
134
+ pm = ((Pf - pc).abs() < half).all(-1) & vt; tier[pm] = 3; Zc = torch.where(pm, Zf, Zc)
135
+ if holes: # 1-3 ellipses, each over a contiguous span of frames
136
+ rng = np.random.default_rng(int(key, 16) % 2 ** 32); hm = np.zeros((N, H8, W8), bool)
137
+ for _ in range(int(rng.integers(1, 4))):
138
+ t0 = int(rng.integers(0, 80)); t1 = int(rng.integers(t0 + 40, N + 1)); cx_, cy_ = int(rng.integers(100, 750)), int(rng.integers(80, 400))
139
+ ax_ = (int(rng.integers(60, 220)), int(rng.integers(40, 160))); m = np.zeros((H8, W8), np.uint8); cv2.ellipse(m, (cx_, cy_), ax_, float(rng.uniform(0, 180)), 0, 360, 1, -1)
140
+ hm[t0:t1] |= m.astype(bool)[None]
141
+ hm = torch.from_numpy(hm).to(dev); tier = torch.where(hm & (tier != 0), torch.ones_like(tier), tier)
142
+ if os.environ.get("MEMUNK") == "1": # (10-19 user: 必须看记忆的窗口一定比例给未知) the whole environment unknown in the VIDEO; the cells keep their depth -> tokens keep coordinates
143
+ tier = torch.where(tier != 0, torch.ones_like(tier), tier); meta_memunk = True
144
+ if shield is not None: V5 = np.stack([E.draw_shield_853(V5[t], shield[t]) if np.isfinite(shield[t][0]) else V5[t] for t in range(N)])
145
+ V5t = torch.from_numpy(np.ascontiguousarray(V5)).to(dev)
146
+ if RB is not None: # the coarse MoGe world's R / B (the patch and the characters keep theirs)
147
+ keep = (V5t[..., 1] >= 20) | (pm if pm is not None else torch.zeros_like(vt))
148
+ V5t[..., 0] = torch.where(keep, V5t[..., 0], torch.round(RB[0] * 255).to(torch.uint8)); V5t[..., 2] = torch.where(keep, V5t[..., 2], torch.round(RB[1] * 255).to(torch.uint8))
149
+ ex = tier == 3
150
+ sh = G.shade(torch.where(ex, Zf, Zc), ex, R, f, cx, cy, sig * W8 / 1280) if normals else torch.full_like(Zt, 0.5)
151
+ out = G.compose(V5t, tier, sh)[:, :, X0:X0 + 832]
152
+ cvi = torch.from_numpy(CV).to(dev); cui = torch.from_numpy(CU).to(dev)
153
+ chc = F.max_pool2d(cht[:, None].float(), 9, 1, 4)[:, 0] > 0
154
+ zc_ = torch.where(chc | (tier == 0), torch.zeros_like(Zc), Zc)
155
+ zc_ = torch.where(torch.isfinite(zc_) & (zc_ < 1000), zc_, torch.zeros_like(zc_)) # f16 cells: nothing past 1 km
156
+ dep = zc_[:, cvi, cui].half().cpu().numpy(); tc = tier[:, cvi, cui].cpu().numpy()
157
+ return out, dep, tc, dict(src=src, moge=moge, holes=holes, patch=bool(patch and pm is not None), normals=normals)
158
+
159
+ _ctx = {}
160
+ class egl_lock:
161
+ """one EGL user per card at a time: many processes rendering on one card stall in the driver's lock (os_acquire_rwlock) and abort (exit 134)"""
162
+ def __enter__(self):
163
+ import fcntl; self.f = open(f"/tmp/v7_egl_{os.environ.get('EGL', '0')}.lock", "w"); fcntl.flock(self.f, fcntl.LOCK_EX); return self
164
+ def __exit__(self, *a):
165
+ import fcntl; fcntl.flock(self.f, fcntl.LOCK_UN); self.f.close()
166
+
167
+ def render_mesh(Vm, cams):
168
+ with egl_lock(): return _render_mesh(Vm, cams)
169
+
170
+ def _render_mesh(Vm, cams):
171
+ import moderngl
172
+ if True: # a fresh context per call: Skel's renderer can invalidate a cached one
173
+ ctx = moderngl.create_standalone_context(backend="egl", require=330, device_index=int(os.environ.get("EGL", "0"))); ctx.enable(moderngl.DEPTH_TEST)
174
+ prog = ctx.program(vertex_shader="""#version 330
175
+ uniform vec3 cf, cr, cu, cpos; uniform float foc, ox, oy, hw, hh; in vec3 pos; out float fd;
176
+ void main(){ vec3 d = pos - cpos; float z = dot(d, cf); fd = z; float n = 0.05, f = 5000.0;
177
+ gl_Position = vec4((foc * dot(d, cr) + ox * z) / hw, (foc * dot(d, cu) + oy * z) / hh, z * (f + n) / (f - n) - 2.0 * f * n / (f - n), z); }""",
178
+ fragment_shader="#version 330\nin float fd; out float o; void main(){ o = fd; }")
179
+ fbo = ctx.framebuffer(color_attachments=[ctx.texture((W8, H8), 1, dtype="f4")], depth_attachment=ctx.depth_renderbuffer((W8, H8)))
180
+ _ctx.update(ctx=ctx, prog=prog, fbo=fbo)
181
+ ctx, prog, fbo = _ctx["ctx"], _ctx["prog"], _ctx["fbo"]; buf = ctx.buffer(Vm.tobytes()); vao = ctx.vertex_array(prog, [(buf, "3f", "pos")]); out = []
182
+ prog["hw"].value = W8 / 2; prog["hh"].value = H8 / 2
183
+ for pos, R, f, cx, cy in cams:
184
+ for k_, v_ in (("cf", R[2]), ("cr", R[0]), ("cu", R[1]), ("cpos", pos)): prog[k_].value = tuple(map(float, v_))
185
+ prog["foc"].value = float(f); prog["ox"].value = float(cx - W8 / 2); prog["oy"].value = float(-(cy - H8 / 2))
186
+ fbo.use(); fbo.clear(0.0, 0.0, 0.0, 0.0, depth=1.0); vao.render(); out.append(np.frombuffer(fbo.read(components=1, dtype="f4"), np.float32).reshape(H8, W8)[::-1].astype(np.float64))
187
+ vao.release(); buf.release(); fbo.release(); prog.release(); ctx.release(); _ctx.clear(); return np.stack(out)
188
+
189
+ def dir_grid(cam):
190
+ pos, R, f, cx, cy = cam; v, u = np.mgrid[0:H8, 0:W8] + 0.5
191
+ d = ((u - cx) / f)[..., None] * R[0] - ((v - cy) / f)[..., None] * R[1] + R[2]; d /= np.linalg.norm(d, axis=-1, keepdims=True)
192
+ yaw = ((np.degrees(np.arctan2(d[..., 0], d[..., 2])) + 180) * 2).astype(int) % 720; pit = np.clip(((np.degrees(np.arcsin(np.clip(d[..., 1], -1, 1))) + 90) * 2).astype(int), 0, 359)
193
+ return pit, yaw
194
+ def char_fill(sky, char):
195
+ """(10-18) characters must not decide sky / not sky (a character-shaped unknown hole in the sky = a cut-out trace): inside the character
196
+ mask take the label of the nearest pixel outside it"""
197
+ if not char.any() or char.all(): return sky
198
+ from scipy import ndimage as ndi
199
+ _, (iy, ix) = ndi.distance_transform_edt(char, return_indices=True); return np.where(char, sky[iy, ix], sky)
200
+
201
+ def sky_dirs(cams, sky0):
202
+ """sky in every frame = the directions frame 0 saw as sky (0.5 deg grid); directions frame 0 never saw are NOT sky"""
203
+ sky0 = cv2.morphologyEx(sky0.astype(np.uint8), cv2.MORPH_OPEN, np.ones((7, 7), np.uint8)).astype(bool) # MoGe's invalid specks on grass / edges are not sky
204
+ p0, y0 = dir_grid(cams[0]); sky0 &= p0 >= 178 # and nothing below the horizon is sky
205
+ G = np.zeros((360, 720), np.int8); G[p0[sky0], y0[sky0]] = 1
206
+ G = cv2.dilate(G.astype(np.uint8), np.ones((3, 3), np.uint8)).astype(bool)
207
+ return np.stack([G[dir_grid(c)] for c in cams])
208
+
209
+ def gb_cams(gb):
210
+ Kg = gb["K"].numpy().astype(float); f = Kg[0] * 8; cx = Kg[2] * 8 + X0; cy = Kg[3] * 8
211
+ return [(gb["pos"][t].numpy().astype(float), gb["R"][t].numpy().astype(float), f, cx, cy) for t in range(N)]
212
+ def sky_mg(M, frames, every=10, CH=None):
213
+ """MoGe-2 sky (its invalid mask) every `every` frames, nearest for the rest; characters filled from their surroundings"""
214
+ ks = list(range(0, N, every)) + ([N - 1] if (N - 1) % every else []); S = {k: (char_fill(~M.mg(frames[k])[1], CH[k]) if CH is not None else ~M.mg(frames[k])[1]) for k in ks}
215
+ return np.stack([S[min(ks, key=lambda k: abs(k - t))] for t in range(N)])
216
+
217
+ # ------------------------------------------------------------------ sources
218
+ def rows_of(src):
219
+ v5 = {json.loads(l)["video"]: json.loads(l) for l in open(f"{OUT}/v5_list.jsonl")}
220
+ rows = [json.loads(l) for l in open(f"{OUT}/v6_rows.jsonl")]
221
+ if src == "ww": return [r for r in rows if r["group"] == "ww"]
222
+ if src == "bk": return [r for r in rows if r["group"] == "bk"]
223
+ if src == "er": return [r for r in rows if r["group"] == "er"]
224
+ if src == "ue": return [r for r in rows if r["group"] == "ue"]
225
+ if src == "synth": return [r for r in rows if r["group"] in ("e1o", "e2o", "e1n", "e2n", "e1x", "turn")]
226
+ def cond_of(v):
227
+ d = os.path.dirname(v); b = os.path.basename(v)
228
+ return f"{d}/" + (b.replace("rgb_", "condition_") if b.startswith("rgb_") else "cond.mp4")
229
+
230
+ def do_coarse(r, M):
231
+ key = r["key"]; gb = torch.load(f"{OUT}/gbuf2/clip_{key}.pt", weights_only=False); cams = gb_cams(gb)
232
+ V5 = np.stack([r853(x) for x in ff(cond_of(r["video"]), 0, N)]); rgb = np.stack([r853(x) for x in ff(r["video"], 0, N)])
233
+ env = ((V5[..., 0] > 8) | (V5[..., 2] > 8)) & (V5[..., 1] < 20); Z = np.where(env, 0.1 + (1 - V5[..., 2] / 255.0) * 79.9, 0.0)
234
+ CH = np.stack([cv2.dilate((x[..., 1] >= 20).astype(np.uint8), np.ones((15, 15), np.uint8)) > 0 for x in V5]); valid = env | CH
235
+ CHw = np.stack([cv2.dilate((x[..., 1] >= 20).astype(np.uint8), np.ones((41, 41), np.uint8)) > 0 for x in V5])
236
+ sky = sky_mg(M, rgb, CH=CHw) & ~valid
237
+ return core(key, r["group"], V5, Z, valid, sky, CH, cams, False, 1.0, rgb[0], M, shield=shield_of(key))
238
+ def shield_of(key):
239
+ p = f"{OUT}/shield/clip_{key}.npy"; return np.load(p) if os.path.exists(p) else None
240
+
241
+ def do_ww(r, M, cache):
242
+ import ww_to_bossv2v_v2 as WW
243
+ from proxykit.geometry import Camera, quat_from_matrix
244
+ wd = os.path.dirname(r["video"]); m = json.load(open(f"{wd}/meta.json")); sd = f"{DS}/wildworld/data_part1/{m['sample']}"; t0 = int(m["t0"]); ts = np.arange(t0, t0 + N)
245
+ if cache.get("sid") != m["sample"]:
246
+ st = WW.load_state(f"{sd}/state.csv"); z = np.load(f"{sd}/skeleton.npz"); keys = {k[0]: k for k in z.files}; ents = {}
247
+ edges = json.load(open(f"{DS}/wildworld/skeleton_edges.json"))
248
+ for kind, rotcol in (("n", "npc.list.1.rot"), ("m", "monster.list.1.rot")):
249
+ k = keys[kind]; tid = k.split("_", 1)[1]; ek = "npc" if kind == "n" else f"em_{tid}"
250
+ parts, parent, size, labels, _ = WW.assign_parts(z[k], edges[ek], st[rotcol], kind); ents[kind] = dict(joints=z[k], parts=parts, parent=parent, size_m=size)
251
+ cache.clear(); cache.update(sid=m["sample"], st=st, ents=ents)
252
+ st, ents = cache["st"], cache["ents"]; K = st["camera.K"][ts]; ground = float(m["ground_y_m"]); to_ue = lambda p: WW.S_SWAP(p - np.array([0, ground, 0])) * 100.0
253
+ dep = WW.decode_gray(f"{sd}/depth.mkv", t0, N); W_, H_ = 1280, 720
254
+ global LUT8
255
+ if "LUT8" not in globals(): LUT8 = WW.depth8_to_m(np.arange(256, dtype=np.uint8))
256
+ e_ = lambda v: np.array([v[0], v[2], -v[1]], float)
257
+ V5 = np.stack([r853(x) for x in ff(f"{wd}/cond.mp4", 0, N)]); rgb0 = r853(ff(r["video"], 0, 1)[0])
258
+ Z, valid, sky, CH, cams = [], [], [], [], []
259
+ for i, t in enumerate(ts):
260
+ Rgl = WW.q2R(st["camera.rot"][t]); Mx = np.stack([WW.S_SWAP(-Rgl[:, 2]), WW.S_SWAP(Rgl[:, 0]), WW.S_SWAP(Rgl[:, 1])], 1)
261
+ cam = Camera(to_ue(st["camera.pos"][t]), quat_from_matrix(Mx), float(np.degrees(2 * np.arctan(W_ / 2 / K[i, 0]))), W_, H_)
262
+ zm = LUT8[dep[i]]; sk = dep[i] >= WW.SKY_DEPTH8
263
+ zz, gd = z853(zm, ~sk); Z.append(zz); sky.append(~gd); valid.append(gd)
264
+ s = 480 / 720; cams.append((e_(cam.position) / 100.0, np.stack([e_(cam.R[:, 1]), e_(cam.R[:, 2]), e_(cam.R[:, 0])]), cam.focal * s, W8 / 2, H8 / 2))
265
+ m = np.zeros((H8, W8), bool) # characters: capsules round their bones (radius by body size)
266
+ for e in ents.values():
267
+ Jw = np.stack([e_(to_ue(q)) / 100.0 if np.isfinite(q).all() else np.full(3, np.nan) for q in e["joints"][t]])
268
+ par = [int(p) if (p is not None and p >= 0 and e["parts"][j] > 0 and e["parts"][int(p)] > 0) else None for j, p in enumerate(e["parent"])]
269
+ m |= capsules(cams[-1], Jw, max(0.3, 0.16 * float(e["size_m"])), (H8, W8), par)
270
+ CH.append(cv2.dilate(m.astype(np.uint8), np.ones((11, 11), np.uint8)) > 0)
271
+ Z = np.stack(Z).astype(np.float64); return core(r["key"], "ww", V5, Z, np.stack(valid), np.stack(sky), np.stack(CH), cams, True, 5.0, rgb0, M)
272
+
273
+ def do_bk(r, M):
274
+ import prep_mem as PM
275
+ v = r["video"]; clip = os.path.dirname(v); k = int(os.path.basename(v)[4:7]); b0 = k * 120
276
+ src = clip.replace("/blackknife_121/", "/blackknife_cond/"); meta = json.load(open(f"{src}/meta.json")); raw = meta["attempt"]; sh = np.load(f"{src}/shot.npz")
277
+ off = int(round(float(meta.get("window", [0.0])[0]) * 30)) # the cond's frame 0 in the raw capture
278
+ gb = torch.load(f"{OUT}/gbuf2/clip_{r['key']}.pt", weights_only=False); cams = gb_cams(gb)
279
+ V5 = np.stack([r853(x) for x in ff(cond_of(v), 0, N)]); dp = ff(f"{raw}/depth_packed.mkv", off + b0, N); rgb0 = r853(ff(f"{raw}/rgb.mp4", off + b0, 1)[0])
280
+ e_ = lambda p: np.stack([p[..., 0], p[..., 2], -p[..., 1]], -1) / 100.0
281
+ Z, valid, CH = [], [], []
282
+ for i in range(N):
283
+ z, ok = PM.depth_m(dp[i]); ok &= z < 2000; zz, gd = z853(z, ok); Z.append(zz); valid.append(gd)
284
+ m = capsules(cams[i], e_(sh["player_poses"][b0 + i]), 0.30, (H8, W8)) | capsules(cams[i], e_(sh["boss_poses"][b0 + i]), 0.35, (H8, W8))
285
+ CH.append(m | (cv2.dilate((V5[i][..., 1] >= 20).astype(np.uint8), np.ones((7, 7), np.uint8)) > 0))
286
+ Z = np.stack(Z).astype(np.float64); valid = np.stack(valid); return core(r["key"], "bk", V5, Z, valid, ~valid, np.stack(CH), cams, True, 1.0, rgb0, M, shield=shield_of(r["key"]))
287
+
288
+ def do_synth(r, M):
289
+ key = r["key"]; gb = torch.load(f"{OUT}/gbuf2/clip_{key}.pt", weights_only=False); cams = gb_cams(gb)
290
+ V5 = np.stack([r853(x) for x in ff(cond_of(r["video"]), 0, N)]); rgb = np.stack([r853(x) for x in ff(r["video"], 0, N)])
291
+ Z, geo, CH, dirs = [], [], [], []
292
+ v, u = np.mgrid[0:H8, 0:W8] + 0.5
293
+ for t in range(N):
294
+ pos, R, f, cx, cy = cams[t]; d = ((u - cx) / f)[..., None] * R[0] - ((v - cy) / f)[..., None] * R[1] + R[2]
295
+ tt = np.where(d[..., 1] < -1e-6, -pos[1] / np.minimum(d[..., 1], -1e-6), 0.0); gnd = (tt > 0) & (tt < 60.0)
296
+ c5 = V5[t]; env5 = ((c5[..., 0] > 8) | (c5[..., 2] > 8)) & (c5[..., 1] < 20); z5 = 0.1 + (1 - c5[..., 2] / 255.0) * 79.9
297
+ prop = env5 & ~(gnd & (np.abs(tt - z5) < 0.05 * tt + 0.3)); Z.append(np.where(prop, z5, np.where(gnd, tt, 0))); geo.append(gnd | env5)
298
+ CH.append(cv2.dilate((c5[..., 1] >= 20).astype(np.uint8), np.ones((15, 15), np.uint8)) > 0); dirs.append(d / np.linalg.norm(d, axis=-1, keepdims=True))
299
+ # sky by DIRECTION (the HDRI is at infinity): MoGe-2 on frames 0 / 60 / 120 votes into a yaw-pitch grid
300
+ G_ = np.zeros((360, 720, 2), np.int32)
301
+ for k in (0, 60, 120):
302
+ skym = char_fill(~M.mg(rgb[k])[1], cv2.dilate(CH[k].astype(np.uint8), np.ones((29, 29), np.uint8)).astype(bool)) & ~geo[k]; dd = dirs[k]; yaw = ((np.degrees(np.arctan2(dd[..., 0], dd[..., 2])) + 180) * 2).astype(int) % 720; pit = np.clip(((np.degrees(np.arcsin(np.clip(dd[..., 1], -1, 1))) + 90) * 2).astype(int), 0, 359)
303
+ np.add.at(G_, (pit.ravel(), yaw.ravel(), skym.ravel().astype(int)), 1)
304
+ sky = []
305
+ for t in range(N):
306
+ dd = dirs[t]; yaw = ((np.degrees(np.arctan2(dd[..., 0], dd[..., 2])) + 180) * 2).astype(int) % 720; pit = np.clip(((np.degrees(np.arcsin(np.clip(dd[..., 1], -1, 1))) + 90) * 2).astype(int), 0, 359)
307
+ c = G_[pit, yaw]; sky.append((c[..., 1] > c[..., 0]) & ~geo[t])
308
+ Z = np.stack(Z).astype(np.float64); geo = np.stack(geo); sky = np.stack(sky)
309
+ tier0 = np.where(geo, 3, np.where(sky, 0, 1)).astype(np.uint8)
310
+ return core(key, r["group"], V5, Z, geo, sky, np.stack(CH), cams, True, 1.0, rgb[0], M, tier0=tier0)
311
+
312
+
313
+ # ------------------------------------------------------------------ roam (memroam windows; whole segments read once)
314
+ def roam_rows():
315
+ """memroam training windows (Leyndell held out); user 10-17: Siofra 1/2, snowfield 1/4, every clip (outfit) keeps >= 1 window"""
316
+ idx = json.load(open(f"{DS}/wan_memroam/index.json")); by = {}
317
+ ev = set(json.load(open(f"{OUT}/leyndell_eval.json"))["eval_segments"]) # (user 10-17) Leyndell trains too, only the 4 eval windows' segments stay out
318
+ for name, v in idx.items():
319
+ if v["test"] and v["seg"] in ev: continue
320
+ by.setdefault(v["seg"], []).append((int(v["f0"]), name[5:-3], v["session"]))
321
+ out = []
322
+ for seg, ws in by.items():
323
+ ws.sort(); keep = 2 if "siofra" in ws[0][2] else 4 if "snowfield" in ws[0][2] else 1
324
+ out += [dict(seg=seg, f0=f0, key=k, session=s) for i, (f0, k, s) in enumerate(ws) if i % keep == 0]
325
+ return out
326
+
327
+ def skel_layer(key, M):
328
+ """memroam stored the skeleton-only layer (prep_mem.Skel, the live engine's actor layer) as a VAE latent: decode it, keep the bone pixels"""
329
+ z = torch.load(f"{DS}/wan_memroam/clips/clip_{key}.pt", map_location="cpu", weights_only=False)["skel"].float().cuda()
330
+ with torch.no_grad(): x = M.vae.decode([z])[0]
331
+ v = ((x.clamp(-1, 1) + 1) * 127.5).round().byte().permute(1, 2, 3, 0).cpu().numpy()[:N]
332
+ m = v[..., 1] >= 24; return np.where(m[..., None], v, 0).astype(np.uint8)
333
+
334
+ def _weapon_track(rows, M, ground):
335
+ """(10-18) the roaming player's sword: samples' weapons[0] (start, end), world = local + the row's offset; into the Skel frame (cm, z up, grounded)"""
336
+ W_ = []
337
+ for r in rows:
338
+ if r["Wp"]:
339
+ off = np.asarray(r["J"][0], float) - np.asarray(r["Jl"][0], float)
340
+ W_.append(np.stack([(np.asarray(p, float) - off) @ M.T * 100.0 for p in r["Wp"][0]]))
341
+ else: W_.append(None)
342
+ ok = [i for i, w in enumerate(W_) if w is not None]
343
+ out = np.stack([W_[min(ok, key=lambda j: abs(j - i))] for i in range(len(W_))]); out[..., 2] -= ground; return out
344
+
345
+ _SKW = None
346
+ def skel_weapon(rows):
347
+ """(10-18) the player's skeleton layer WITH the sword, drawn by prep_mem.Skel.video itself (same renderer, same codes) with tr.weapon set
348
+ (memroam's stored layer has tr.weapon = None, so the roaming windows had no sword condition while every boss-fight source draws it)"""
349
+ global _SKW
350
+ import prep_mem as PM, inspect, textwrap
351
+ if _SKW is None:
352
+ src = textwrap.dedent(inspect.getsource(PM.Skel.video)); assert src.count("tr.weapon = None") == 1
353
+ ns = dict(PM.__dict__); ns["_weapon_track"] = _weapon_track; exec(src.replace("tr.weapon = None", "tr.weapon = _weapon_track(rows, M, ground)"), ns)
354
+ cls = type("SkelW", (PM.Skel,), {"video": ns["video"]}); _SKW = cls(int(os.environ.get("EGL", "0")))
355
+ with egl_lock(): return _SKW.video(rows)
356
+
357
+ def do_roam_seg(seg, wins, M, sk):
358
+ """every window of one recording segment: rgb + packed depth decoded once"""
359
+ import prep_mem as PM
360
+ rows = PM.load_states(seg); last = max(w["f0"] for w in wins) + N; need = set(f for w in wins for f in range(w["f0"], w["f0"] + N))
361
+ S = [json.loads(l) for l in gzip.open(seg + "/samples.jsonl.gz", "rt")]; FA = [json.loads(l) for l in gzip.open(seg + "/frame_association.jsonl.gz", "rt")]
362
+ def equip(f):
363
+ r = FA[f]; s = S[r["raw_sample_index"]] if r["raw_sample_index"] < len(S) else None; return (s or {}).get("equipment") or {}
364
+ RGB, DP = {}, {}
365
+ for f, (fr, fd) in enumerate(zip(PM.frames(seg, 0), PM.frames(seg, 1))):
366
+ if f >= last: break
367
+ if f in need: RGB[f] = r853(fr); DP[f] = fd.copy()
368
+ res = []
369
+ for w in wins:
370
+ f0 = w["f0"]; R_ = [rows[f0 + i] for i in range(N)]
371
+ if any(r is None for r in R_) or (f0 + N - 1) not in DP: continue
372
+ cams, Z, valid, CH = [], [], [], []
373
+ for i, r in enumerate(R_):
374
+ fx, fy, cx, cy = r["K"]; s = 480 / 540; cams.append((np.asarray(r["pos"], float), np.asarray(r["R"], float), fx * s, cx * s, cy * s))
375
+ z, ok = PM.depth_m(DP[f0 + i]); ok &= z < 2000; zz, gd = z853(z, ok); Z.append(zz); valid.append(gd)
376
+ CH.append(capsules(cams[-1], np.asarray(r["J"], float), 0.35, (H8, W8)))
377
+ Z = np.stack(Z); valid = np.stack(valid); CH = np.stack(CH)
378
+ feet = float(np.asarray(R_[0]["J"])[:, 1].min()); ab = (1 / 112.0, 0.5 + (8 - feet) / 112.0) # R = 0.5 + 0.5 clamp((h - feet + 8) / 56)
379
+ skl = skel_weapon(R_) if os.environ.get("V7_SWORD") and any(r["Wp"] for r in R_) else skel_layer(w["key"], M) # (10-18) sword off: the samples' weapon direction is unreliable (curved / reverse-grip blades point the wrong way) # the player's skeleton layer prep_mem.Skel drew for this window (no EGL here)
380
+ V5 = np.zeros((N, H8, W8, 3), np.uint8)
381
+ for t in range(N):
382
+ Rr, Bb = rb_from(Z[t], cams[t], ab); V5[t][..., 0] = np.where(valid[t], np.round(Rr * 255), 0); V5[t][..., 2] = np.where(valid[t], np.round(Bb * 255), 0)
383
+ a = skl[t][..., 1] > 0; V5[t][:, X0:X0 + 832][a] = skl[t][a]
384
+ sh = None # the round shield (left_param_id 30000000..33000000): a disc 6 cm past the left hand, r 0.30 m
385
+ if 30000000 <= int(equip(f0).get("left_param_id") or 0) < 33000000:
386
+ sh = []
387
+ for t, r in enumerate(R_):
388
+ J = np.asarray(r["J"], float); pos, Rm, f, cx, cy = cams[t]; p = J[7] + 0.06 * (J[7] - J[6]) / max(np.linalg.norm(J[7] - J[6]), 1e-6) - pos
389
+ x, y, z = p @ Rm[0], p @ Rm[1], p @ Rm[2]
390
+ sh.append((cx + f * x / z - X0, cy - f * y / z, f * 0.30 / z) if z > 0.2 else (np.nan,) * 3)
391
+ sh = np.array(sh)
392
+ res.append((w, core(w["key"], "roam", V5, Z, valid, ~valid, CH, cams, True, 1.0, RGB[f0], M, shield=sh, ab=ab)))
393
+ return res
394
+
395
+ MARK = os.environ.get("V7_MARK", "redo_"); C7 = os.environ.get("V7_SUB", "cond7") # (10-19) MEMUNK=1 V7_SUB=cond7_memunk writes the variant beside the normal ones
396
+ KEYS = set(json.load(open(os.environ["V7_KEYS"]))) if os.environ.get("V7_KEYS") else None # (10-18) re-render these windows (overwrite); a redo_<key> marker = done
397
+ def main():
398
+ ap = argparse.ArgumentParser(); ap.add_argument("src"); ap.add_argument("--rank", type=int, default=0); ap.add_argument("--world", type=int, default=1)
399
+ ap.add_argument("--limit", type=int, default=0); ap.add_argument("--preview", action="store_true"); a = ap.parse_args()
400
+ os.makedirs(f"{OUT}/cond7", exist_ok=True); os.makedirs(f"{OUT}/{C7}", exist_ok=True); os.makedirs(f"{OUT}/preview", exist_ok=True); torch.set_num_threads(4); cv2.setNumThreads(4)
401
+ if a.src == "roam":
402
+ import prep_mem as PM
403
+ W_ = roam_rows(); segs = {}
404
+ if KEYS is not None: W_ = [w for w in W_ if w["key"] in KEYS]
405
+ for w in W_: segs.setdefault(w["seg"], []).append(w)
406
+ mine = sorted(segs)[a.rank::a.world]; M = Models(); sk = None; n = 0; t_ = time.time() # skeleton layer from memroam's latent
407
+ print(f"rank {a.rank} roam: {len(W_)} windows in {len(segs)} segments, mine {len(mine)}", flush=True)
408
+ for seg in mine:
409
+ todo = [w for w in segs[seg] if KEYS is not None and not os.path.exists(f"{OUT}/{C7}/{MARK}{w['key']}") or not os.path.exists(f"{OUT}/{C7}/clip_{w['key']}.pt")]
410
+ if not todo: continue
411
+ try: res = do_roam_seg(seg, todo, M, sk)
412
+ except Exception as ex:
413
+ import traceback; print("FAIL", seg, repr(ex)[:200], traceback.format_exc().splitlines()[-3:], flush=True); continue
414
+ for w, (v7, dep, tc, meta) in res:
415
+ dst = f"{OUT}/{C7}/clip_{w['key']}.pt"; meta["session"] = w["session"]
416
+ torch.save(dict(cond=M.encode(v7), dep=torch.from_numpy(dep), tier=torch.from_numpy(tc), meta=meta), dst + ".tmp"); os.replace(dst + ".tmp", dst); n += 1
417
+ if KEYS is not None: open(f"{OUT}/{C7}/{MARK}{w['key']}", "w").close()
418
+ if a.preview and n <= 3: cv2.imwrite(f"{OUT}/preview/roam_{w['key']}.jpg", cv2.cvtColor(np.concatenate([v7[i].cpu().numpy() for i in (0, 60, 120)], 1), cv2.COLOR_RGB2BGR))
419
+ if a.limit and n >= a.limit: break
420
+ print(f"rank {a.rank} roam: {n} done, {(time.time() - t_) / max(n, 1):.1f} s/window", flush=True)
421
+ if a.limit and n >= a.limit: break
422
+ print(f"rank {a.rank} roam BUILD_V7_DONE {n}", flush=True); return
423
+ rows = rows_of(a.src)
424
+ if KEYS is not None: rows = [r for r in rows if r["key"] in KEYS]
425
+ if a.src == "ww": rows = sorted(rows, key=lambda r: r["video"]) # windows of one sample together (state cache)
426
+ rows = rows[a.rank::a.world]; M = Models(); cache = {}; n = 0; t_ = time.time()
427
+ if os.environ.get("REVERSE"): rows = rows[::-1] # a second host works from the other end
428
+ for r in rows:
429
+ dst = f"{OUT}/{C7}/clip_{r['key']}.pt"
430
+ if os.path.exists(dst) and (KEYS is None or os.path.exists(f"{OUT}/{C7}/{MARK}{r['key']}")): continue
431
+ try:
432
+ if a.src in ("er", "ue"): v7, dep, tc, meta = do_coarse(r, M)
433
+ elif a.src == "ww": v7, dep, tc, meta = do_ww(r, M, cache)
434
+ elif a.src == "bk": v7, dep, tc, meta = do_bk(r, M)
435
+ elif a.src == "synth": v7, dep, tc, meta = do_synth(r, M)
436
+ except Exception as ex:
437
+ import traceback; print("FAIL", r["video"], repr(ex)[:200], traceback.format_exc().splitlines()[-3:], flush=True); continue
438
+ lat = M.encode(v7); torch.save(dict(cond=lat, dep=torch.from_numpy(dep), tier=torch.from_numpy(tc), meta=meta), dst + ".tmp"); os.replace(dst + ".tmp", dst); n += 1
439
+ if KEYS is not None: open(f"{OUT}/{C7}/{MARK}{r['key']}", "w").close()
440
+ if a.preview and n <= 3:
441
+ img = np.concatenate([v7[i].cpu().numpy() for i in (0, 60, 120)], 1); cv2.imwrite(f"{OUT}/preview/{a.src}_{r['key']}_{'m' if meta['moge'] else ''}{'h' if meta['holes'] else ''}{'p' if meta['patch'] else ''}.jpg", cv2.cvtColor(img, cv2.COLOR_RGB2BGR))
442
+ if n % 20 == 0: print(f"rank {a.rank} {a.src}: {n} done, {(time.time() - t_) / n:.1f} s/window", flush=True)
443
+ if a.limit and n >= a.limit: break
444
+ print(f"rank {a.rank} {a.src} BUILD_V7_DONE {n}", flush=True)
445
+
446
+ if __name__ == "__main__":
447
+ main()
ww_index/scripts/condv2/cond_v2.py ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Condition encoding v2 = a post-process of the v1 condition (R height, G slot*32+part, B reverse depth), one code path for every
2
+ source (UE batches, Elden Ring captures, WildWorld) and for inference.
3
+
4
+ Why: after the LTX VAE the part ids are gone (|dG| median 5.4/255 inside sticks, 5.7% of part codes recovered) and 2-3 px sticks lose
5
+ 25-30 levels of every channel. So G is re-spent on what survives:
6
+ * G = the entity's band, the player 48..128 and every other entity 168..248, and within the band its FACING to the camera,
7
+ f = (1 + cos(forward, to-camera)) / 2 -- top of the band facing the camera, bottom its back, a turn a smooth ramp;
8
+ * a line-width floor: strokes thinner than MIN_WIDTH_PX (at the 1024-wide model input) are widened to it by copying their own pixels
9
+ outwards, never over nearer environment; thicker strokes are untouched.
10
+ R (height) and B (depth) are the v1 values. Work at the source's native resolution, BEFORE any resize (a resized edge blends G and
11
+ would misread the slot).
12
+ """
13
+ import numpy as np
14
+ from scipy.ndimage import distance_transform_edt, maximum_filter
15
+
16
+ BANDS = {"player": (48.0, 128.0), "other": (168.0, 248.0)}
17
+ MIN_WIDTH_PX = 6.0
18
+ ACTOR_G8 = 16.0 # v1: environment/background G = 0, actors >= 33
19
+
20
+
21
+ def band(slot):
22
+ return BANDS["player"] if slot == 1 else BANDS["other"]
23
+
24
+
25
+ def facing(forward, entity_pos, cam_pos, up):
26
+ """(1 + cos)/2 of the horizontal angle between the entity's forward and the direction to the camera."""
27
+ up = np.asarray(up, float); f = np.asarray(forward, float); c = np.asarray(cam_pos, float) - np.asarray(entity_pos, float)
28
+ f = f - up * (f @ up); c = c - up * (c @ up)
29
+ n = np.linalg.norm(f) * np.linalg.norm(c)
30
+ return 0.5 if n < 1e-9 else float((1 + (f @ c) / n) / 2)
31
+
32
+
33
+ def encode(frame, faces, width_ref=1024, min_width=MIN_WIDTH_PX):
34
+ """frame: float32 HxWx3 in [0,1] (v1, native resolution). faces: {slot: f in [0,1]} (missing slot -> 0.5).
35
+ Returns the v2 frame (float32, same size). Works on the actors' bounding box (padded past every reach of the floor), which
36
+ gives exactly the full-frame result at a fraction of the cost."""
37
+ g8 = frame[..., 1] * 255.0; act = g8 >= ACTOR_G8
38
+ if not act.any(): return frame.copy()
39
+ r0 = min_width / 2 * frame.shape[1] / width_ref; pad = int(np.ceil(3 * r0)) + 4
40
+ ys, xs = np.nonzero(act.any(1))[0], np.nonzero(act.any(0))[0]
41
+ y0, y1, x0, x1 = max(0, ys[0] - pad), min(frame.shape[0], ys[-1] + pad + 1), max(0, xs[0] - pad), min(frame.shape[1], xs[-1] + pad + 1)
42
+ out = frame.copy(); out[y0:y1, x0:x1] = _encode(frame[y0:y1, x0:x1], faces, r0)
43
+ return out
44
+
45
+
46
+ def _encode(frame, faces, r0):
47
+ R, G, B = frame[..., 0], frame[..., 1], frame[..., 2]
48
+ g8 = G * 255.0; actor = g8 >= ACTOR_G8
49
+ slot = np.where(actor, np.floor(g8 / 32.0 + 1e-3), 0).astype(np.int32)
50
+ out = frame.copy()
51
+ if r0 > 0.5 and actor.any():
52
+ inner = distance_transform_edt(actor) # half-width at each actor pixel
53
+ thick = maximum_filter(inner, size=int(np.ceil(2 * r0)) + 1) # stroke half-width around it
54
+ dist, (iy, ix) = distance_transform_edt(~actor, return_indices=True)
55
+ cand = (~actor) & (dist <= r0)
56
+ qy, qx = iy[cand], ix[cand]
57
+ grow = dist[cand] <= (r0 - thick[qy, qx] + 0.5) # only thin strokes grow, up to the floor
58
+ env = (g8[cand] < ACTOR_G8) & (R[cand] > 0) # environment (not sky/background)
59
+ grow &= ~(env & (B[cand] > B[qy, qx])) # never over a nearer occluder
60
+ py, px = np.nonzero(cand); py, px, qy, qx = py[grow], px[grow], qy[grow], qx[grow]
61
+ out[py, px] = frame[qy, qx]; slot[py, px] = slot[qy, qx]; actor = actor.copy(); actor[py, px] = True
62
+ for s in np.unique(slot[actor]):
63
+ lo, hi = band(int(s)); m = actor & (slot == s)
64
+ out[..., 1][m] = (lo + faces.get(int(s), 0.5) * (hi - lo)) / 255.0
65
+ return out
66
+
67
+
68
+ # ---------------------------------------------------------------- GPU path (cupy): same algorithm, same exact EDT; set COND_V2_GPU=<card>
69
+ import os as _os
70
+ _GPU = _os.environ.get("COND_V2_GPU_ON") # opt-in: one card shared by many workers is slower than the CPU path
71
+ if _GPU is not None:
72
+ import cupy as cp, cupyx.scipy.ndimage as cnd
73
+ cp.cuda.Device(int(_GPU)).use()
74
+
75
+ def _encode_gpu(frame, faces, r0):
76
+ f = cp.asarray(frame); R, G, B = f[..., 0], f[..., 1], f[..., 2]
77
+ g8 = G * 255.0; actor = g8 >= ACTOR_G8
78
+ slot = cp.where(actor, cp.floor(g8 / 32.0 + 1e-3), 0).astype(cp.int32)
79
+ out = f.copy()
80
+ if r0 > 0.5:
81
+ inner = cnd.distance_transform_edt(actor)
82
+ thick = cnd.maximum_filter(inner, size=int(np.ceil(2 * r0)) + 1)
83
+ dist, ind = cnd.distance_transform_edt(~actor, return_indices=True); iy, ix = ind[0], ind[1]
84
+ cand = (~actor) & (dist <= r0)
85
+ grow = cand & (dist <= (r0 - thick[iy, ix] + 0.5))
86
+ grow &= ~((g8 < ACTOR_G8) & (R > 0) & (B > B[iy, ix]))
87
+ src = f[iy, ix]
88
+ out = cp.where(grow[..., None], src, out); slot = cp.where(grow, slot[iy, ix], slot); actor = actor | grow
89
+ gnew = out[..., 1]
90
+ for s in cp.unique(slot[actor]).get():
91
+ lo, hi = band(int(s)); gnew = cp.where(actor & (slot == s), (lo + faces.get(int(s), 0.5) * (hi - lo)) / 255.0, gnew)
92
+ out[..., 1] = gnew
93
+ return cp.asnumpy(out)
94
+
95
+ _encode_cpu = _encode
96
+
97
+ def _encode(frame, faces, r0):
98
+ return _encode_gpu(frame, faces, r0)
ww_index/scripts/gbuf_ww.py ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """10-16 (user: 不挖,环境连续) depth CONTINUOUS behind the characters + their cells in "actor"; output gbuf2/.
2
+ 10-15 (v6): G-buffer of the WildWorld windows of v5 (windows_v2_121/<sample>_<t0>), from the raw data_part1 sample (8-bit depth -> metres by the
3
+ LUT of ww_to_bossv2v_v2, its sky threshold, its character silhouette mask) -- the same per-frame geometry the v5 condition was drawn from.
4
+ Convention as the roaming G-buffer (prep_mem.py): planar depth (m) at the 104x60 cell centres of the 832x480 crop of the 1280x720 frame, 0 = sky / no
5
+ depth / a character; camera in y-up metres (pos, R rows right / up / forward); grid intrinsics K; origin = the player's root at the window's first frame;
6
+ hp = the player's size (m). Normals are not stored (v6 drops them).
7
+ <out>/gbuf2/clip_<md5(rgb path)[:16]>.pt
8
+ gbuf_ww.py <v5_list.jsonl> <out> --rank R --world N"""
9
+ import sys, os, json, hashlib, argparse
10
+ import numpy as np, torch
11
+ sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
12
+ from env_fill import fill_env
13
+ sys.path.insert(0, "/data/yuzhewu/datasets/wildworld"); sys.path.insert(0, "/data/yuzhewu/runs/proxykit")
14
+ import ww_to_bossv2v_v2 as WW
15
+ from proxykit.geometry import Camera, quat_from_matrix
16
+ RAW = "/data/yuzhewu/datasets/wildworld/data_part1"; W, H = 1280, 720
17
+ GV, GU = np.mgrid[0:60, 0:104]; SU = np.clip(((8 * GU + 4 + 10.5) * 1.5).astype(int), 0, W - 1); SV = np.clip(((8 * GV + 4) * 1.5).astype(int), 0, H - 1)
18
+ e_ = lambda v: np.array([v[0], v[2], -v[1]], float) # proxykit (z up, cm) -> y up (cm); /100 for metres
19
+
20
+
21
+ def window(sd, t0, st, ents, edges_w, meta):
22
+ ts = np.arange(t0, t0 + 121); K = st["camera.K"][ts]
23
+ ground = float(meta["ground_y_m"]); to_ue = lambda p: WW.S_SWAP(p - np.array([0, ground, 0])) * 100.0
24
+ dep = WW.decode_gray(f"{sd}/depth.mkv", t0, 121); assert len(dep) == 121
25
+ D, A, P_, R_ = [], [], [], []
26
+ for i, t in enumerate(ts):
27
+ Rgl = WW.q2R(st["camera.rot"][t]); pos = st["camera.pos"][t]
28
+ M = np.stack([WW.S_SWAP(-Rgl[:, 2]), WW.S_SWAP(Rgl[:, 0]), WW.S_SWAP(Rgl[:, 1])], 1)
29
+ cam = Camera(to_ue(pos), quat_from_matrix(M), float(np.degrees(2 * np.arctan(W / 2 / K[i, 0]))), W, H)
30
+ sil = [(to_ue(e["joints"][t]), e["parent"], e["size_m"] * 100) for e in ents.values()]
31
+ d8 = dep[i]; zm = WW.depth8_to_m(d8); sky = d8 >= WW.SKY_DEPTH8
32
+ zlo = zm[2::4, 2::4][:H // 4, :W // 4]; mask = np.repeat(np.repeat(WW.silhouette_mask(cam, sil, zlo), 4, 0), 4, 1)[:H, :W]
33
+ act = mask[SV, SU]; z = fill_env(np.where(sky | mask, 0.0, zm)[SV, SU], act)
34
+ D.append(z.astype(np.float16)); A.append(act); P_.append(e_(cam.position) / 100.0); R_.append(np.stack([e_(cam.R[:, 1]), e_(cam.R[:, 2]), e_(cam.R[:, 0])]))
35
+ if i == 0:
36
+ fo = cam.focal / 1.5 / 8; Kg = np.array([fo, fo, (W / 2 / 1.5 - 10.5) / 8, H / 2 / 1.5 / 8], np.float32)
37
+ n = ents["n"]; ok = (n["parts"] > 0) & ~np.isnan(n["joints"][t]).any(1); org = e_(to_ue(n["joints"][t][ok].mean(0))) / 100.0
38
+ return dict(depth=torch.from_numpy(np.stack(D)), pos=torch.tensor(np.stack(P_), dtype=torch.float32), R=torch.tensor(np.stack(R_), dtype=torch.float32),
39
+ K=torch.from_numpy(Kg), origin=torch.tensor(org, dtype=torch.float32), hp=float(meta["player_size_m"]), src="ww", actor=torch.from_numpy(np.stack(A)))
40
+
41
+
42
+ def main():
43
+ ap = argparse.ArgumentParser(); ap.add_argument("list"); ap.add_argument("out"); ap.add_argument("--rank", type=int, default=0); ap.add_argument("--world", type=int, default=1)
44
+ ap.add_argument("--limit", type=int, default=0); a = ap.parse_args(); os.makedirs(f"{a.out}/gbuf2", exist_ok=True)
45
+ edges = json.load(open("/data/yuzhewu/datasets/wildworld/skeleton_edges.json"))
46
+ rows = [json.loads(l) for l in open(a.list)]; rows = [r for r in rows if "/wildworld/windows_v2_121/" in r["video"]]
47
+ by = {}
48
+ for r in rows: wd = os.path.dirname(r["video"]); m = json.load(open(f"{wd}/meta.json")); by.setdefault(m["sample"], []).append((r, m))
49
+ samples = sorted(by)[a.rank::a.world]; n = 0
50
+ for sid in samples:
51
+ todo = [(r, m) for r, m in by[sid] if not os.path.exists(f"{a.out}/gbuf2/clip_{hashlib.md5(r['video'].encode()).hexdigest()[:16]}.pt")]
52
+ if not todo: continue
53
+ sd = f"{RAW}/{sid}"
54
+ try: # a sample whose raw data is not on this machine: skip it, do not die
55
+ st = WW.load_state(f"{sd}/state.csv"); z = np.load(f"{sd}/skeleton.npz"); keys = {k[0]: k for k in z.files}; ents = {}
56
+ for kind, rotcol in (("n", "npc.list.1.rot"), ("m", "monster.list.1.rot")):
57
+ k = keys[kind]; tid = k.split("_", 1)[1]; ek = "npc" if kind == "n" else f"em_{tid}"
58
+ parts, parent, size, labels, _ = WW.assign_parts(z[k], edges[ek], st[rotcol], kind); ents[kind] = dict(joints=z[k], parts=parts, parent=parent, size_m=size)
59
+ except Exception as ex: print("skip sample", sid, repr(ex)[:100], flush=True); continue
60
+ for r, m in todo:
61
+ dst = f"{a.out}/gbuf2/clip_{hashlib.md5(r['video'].encode()).hexdigest()[:16]}.pt"
62
+ try: g = window(sd, int(m["t0"]), st, ents, None, m)
63
+ except Exception as ex: print("skip", r["video"], repr(ex)[:100], flush=True); continue
64
+ torch.save(g, dst + ".tmp"); os.replace(dst + ".tmp", dst); n += 1
65
+ if a.limit and n >= a.limit: print(f"rank {a.rank} LIMIT {n}", flush=True); return
66
+ print(f"rank {a.rank}: {sid} {len(todo)} windows | total {n}", flush=True)
67
+ print(f"rank {a.rank} GBUF_WW_DONE {n}", flush=True)
68
+
69
+
70
+ if __name__ == "__main__":
71
+ main()
ww_index/scripts/precompute_wan_mix.py ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """10-03: Wan2.2-TI2V-5B latents for the MIXED reference-image data (real windows + synthetic v2 sets [+ Black Knife]) -- the same samples the
2
+ LTX run ltx25_mixref uses, so the Wan line can be tested for generalisation instead of one overfit boss.
3
+ Per clip (121 frames, 30 fps, 832x480): clip_<key>.pt = {latent [48,31,30,52], cond (same shape, the v2 condition video), prompt (the clip's own
4
+ caption; embeddings in text_table.pt), ref_latents [2,48,1,30,30] (480x480 studio references; a missing one is the grey dummy),
5
+ ref_slots [2] (which slot owns each reference, 0 = nobody), cover [31,15,26,3] float16 (token cover of player / boss A / boss B on the
6
+ 2x2-patch grid, per latent frame: frame 0 alone, then 4 px frames each), group, video}.
7
+ Slot maps: two-boss synthetic from the renderer's pixel_bits; everything else from the condition video's G bands (cond_slots rule:
8
+ player 34..148, boss >= 148), the single boss on slot 2 or 3 by key hash.
9
+ python precompute_wan_mix.py list <out> build <out>/list.jsonl (run where the data lives: .13)
10
+ python precompute_wan_mix.py text <out> text_table.pt (every distinct caption) + neg_emb.pt
11
+ python precompute_wan_mix.py enc <out> --rank R --world N (CUDA_VISIBLE_DEVICES per rank; incremental)"""
12
+ import sys, os, json, argparse, subprocess, hashlib, zlib, glob
13
+ import numpy as np, torch
14
+ sys.path.insert(0, "/data/yuzhewu/wancond")
15
+ CK = "/data/yuzhewu/models/Wan2.2-TI2V-5B"; W, H, N = 832, 480, 121; GREY = (165, 165, 169)
16
+ POOL = "/data/yuzhewu/datasets/mixref_ltx/refpool2"; SYN = "/data/yuzhewu/datasets/v2v_synth"
17
+ SRC_POOL = {"20260918_native_fallingstar_gelmir_2h": "er_fallingstar", "20260923_eldenring_agheel_2h": "er_agheel", "20260923_eldenring_bats": "er_bat",
18
+ "20260924_eldenring_malenia_2h": "er_malenia", "20260922_eldenring_crucible_gameplay_1h": "er_crucible", "20260922_eldenring_crucible_gameplay_hour2": "er_crucible",
19
+ "20260916_forest_redarmor_clean": "ue_redarmor", "20260916_forest_redarmor_orbit360": "ue_redarmor", "20260925_forest_redarmor_recovered": "ue_redarmor",
20
+ "20260916_stone_boss_v23_1h": "ue_stone", "sea_stone": "ue_sea"}
21
+ P_E1 = ("几何条件画面:粉紫色是场景粗几何(颜色编码高度与深度),火柴人与棍状线条是玩家和 BOSS 的骨架与武器,线条的绿色深浅表示角色朝向(越亮越朝向镜头,越暗越背对镜头),"
22
+ "完整呈现两名角色的动作、朝向、武器轨迹与相对远近。BOSS 的外观与参考图完全一致;BOSS 可能从画面外进入,也可能离开画面后再回来。")
23
+ P_E2 = ("几何条件画面:粉紫色是场景粗几何(颜色编码高度与深度),火柴人与棍状线条是玩家和两个 BOSS 的骨架,线条的绿色深浅表示角色朝向(越亮越朝向镜头,越暗越背对镜头),"
24
+ "完整呈现三名角色的动作、朝向与相对远近。两个 BOSS 的外观分别与各自的参考图完全一致;BOSS 从画面外进入。")
25
+
26
+
27
+ def read(path, frames):
28
+ raw = subprocess.run(["ffmpeg", "-v", "error", "-i", path, "-vf", f"scale=-2:{H}:flags=bicubic,crop={W}:{H}", "-frames:v", str(frames), "-f", "rawvideo", "-pix_fmt", "rgb24", "-"],
29
+ capture_output=True).stdout
30
+ v = np.frombuffer(raw, np.uint8).reshape(-1, H, W, 3)
31
+ return v if len(v) >= frames else None
32
+
33
+
34
+ def lat_cover(m):
35
+ """(N, H, W, K) bool pixel masks -> (31, 15, 26, K) float16 token cover per latent frame."""
36
+ tok = m.reshape(N, 15, H // 15, 26, W // 26, m.shape[-1]).mean((2, 4)).astype(np.float32); L = (N - 1) // 4 + 1
37
+ out = np.zeros((L,) + tok.shape[1:], np.float16); out[0] = tok[0]
38
+ for j in range(1, L): out[j] = tok[4 * j - 3: 4 * j + 1].max(0)
39
+ return out
40
+
41
+
42
+ def build_list(out):
43
+ rows = []
44
+ wt = {s["id"]: s["monster"] for s in json.load(open("/data/yuzhewu/datasets/wildworld/selection_50h.json"))}
45
+ for l in open(f"{out}/real_train.jsonl"): # = .12 datasets/mix_v2_121/train.jsonl
46
+ r = json.loads(l); p = r["video"].split("/")
47
+ if "wildworld" in p: pool = f"ww_{wt.get(p[-2].rsplit('_', 1)[0])}"; grp = "ww"
48
+ else: pool = SRC_POOL.get(p[p.index("bossv2v_v2_121") + 1]); grp = (pool or "x").split("_")[0]
49
+ ref = f"{POOL}/{pool}/v0.png" if pool and os.path.exists(f"{POOL}/{pool}/v0.png") else None
50
+ rows.append(dict(video=r["video"], cond=r["reference_video"], caption=r["caption"], refs=[ref] if ref else [], group=grp))
51
+ for d in sorted(glob.glob(f"{SYN}/entry1_v2/t11_*")): rows.append(dict(video=f"{d}/rgb.mp4", cond=f"{d}/cond.mp4", caption=P_E1, refs=[f"{d}/ref.png"], group="e1"))
52
+ for d in sorted(glob.glob(f"{SYN}/entry2_v2/t220_*")): rows.append(dict(video=f"{d}/rgb.mp4", cond=f"{d}/cond.mp4", caption=P_E2, refs=[f"{d}/ref_A.png", f"{d}/ref_B.png"], group="e2", bits=f"{d}/slots.npz"))
53
+ if os.path.exists(f"{out}/extra.jsonl"): rows += [json.loads(l) for l in open(f"{out}/extra.jsonl")]
54
+ import collections
55
+ open(f"{out}/list.jsonl", "w").write("".join(json.dumps(r, ensure_ascii=False) + "\n" for r in rows))
56
+ print(len(rows), dict(collections.Counter(r["group"] for r in rows)), "without ref:", sum(not r["refs"] for r in rows), "distinct captions:", len({r["caption"] for r in rows}))
57
+
58
+
59
+ def text(out):
60
+ from wanvendor.t5 import T5EncoderModel
61
+ caps = sorted({json.loads(l)["caption"] for l in open(f"{out}/list.jsonl")}) + [""]
62
+ t5 = T5EncoderModel(text_len=512, dtype=torch.bfloat16, device="cuda", checkpoint_path=f"{CK}/models_t5_umt5-xxl-enc-bf16.pth", tokenizer_path=f"{CK}/google/umt5-xxl"); emb = {}
63
+ for i, p in enumerate(caps):
64
+ with torch.no_grad(): e = t5([p], "cuda")[0][:512]
65
+ emb[p] = e.to(torch.bfloat16).cpu().clone() # variable length; the dataset pads to 512
66
+ if i % 100 == 0: print(i, len(caps), tuple(e.shape), flush=True)
67
+ torch.save({"emb": emb, "text_len": 512, "padded": False}, f"{out}/text_table.pt"); torch.save({"neg_emb": emb[""], "prompt": ""}, f"{out}/neg_emb.pt"); print("TEXT_DONE", len(emb))
68
+
69
+
70
+ def enc(out, rank, world, limit):
71
+ from PIL import Image
72
+ from wanvendor.vae2_2 import Wan2_2_VAE
73
+ rows = [json.loads(l) for l in open(f"{out}/list.jsonl")]
74
+ if limit: rows = rows[::max(1, len(rows) // limit)]
75
+ if os.environ.get("ENC_REVERSE"): rows = rows[::-1] # a second set of workers eats the list from the other end; both skip finished clips
76
+ rows = rows[rank::world]; os.makedirs(f"{out}/clips", exist_ok=True)
77
+ vae = Wan2_2_VAE(vae_pth=f"{CK}/Wan2.2_VAE.pth", device="cuda"); T = lambda v: torch.from_numpy(v.copy()).permute(3, 0, 1, 2).float().div(127.5).sub(1.0).cuda()
78
+ img = lambda p: T(np.asarray((Image.open(p) if p else Image.new("RGB", (480, 480), GREY)).convert("RGB").resize((480, 480), Image.LANCZOS))[None])
79
+ with torch.no_grad(): dummy = vae.encode([img(None)])[0].to(torch.bfloat16).cpu()
80
+ n = miss = 0
81
+ for r in rows:
82
+ key = hashlib.md5(r["video"].encode()).hexdigest()[:16]; dst = f"{out}/clips/clip_{key}.pt"
83
+ if os.path.exists(dst): continue
84
+ if not (os.path.exists(r["video"]) and os.path.exists(r["cond"])): miss += 1; continue
85
+ x = read(r["video"], N); c = read(r["cond"], N)
86
+ if x is None or c is None: miss += 1; continue
87
+ g = c[..., 1].astype(np.int16); h = zlib.crc32(key.encode()); m = np.zeros((N, H, W, 3), bool); m[..., 0] = (g > 34) & (g < 148)
88
+ if r.get("bits"):
89
+ pb = np.load(r["bits"])["pixel_bits"]; pb = pb.repeat(4, 1).repeat(4, 2) # (N, 576, 1024) nearest
90
+ ys = (np.arange(H) * 576 / H).astype(int); xs = ((np.arange(W) + (853 - W) / 2) * 1024 / 853).astype(int); pb = pb[:, ys][:, :, xs]
91
+ for k in range(3): m[..., k] = (pb >> k) & 1 > 0
92
+ order = [1, 0] if h % 2 else [0, 1]; refs = [r["refs"][i] for i in order]; slots = [2 + i for i in order]
93
+ else:
94
+ s = 2 + (h // 2) % 2; m[..., s - 1] = g >= 148; ref = r["refs"][0] if r["refs"] else None
95
+ refs, slots = ([None, ref], [0, s if ref else 0]) if h % 2 else ([ref, None], [s if ref else 0, 0])
96
+ with torch.no_grad():
97
+ zx, zc = vae.encode([T(x), T(c)]); zr = [dummy if p is None else vae.encode([img(p)])[0].to(torch.bfloat16).cpu() for p in refs]
98
+ torch.save({"latent": zx.to(torch.bfloat16).cpu(), "cond": zc.to(torch.bfloat16).cpu(), "prompt": r["caption"], "video": r["video"], "group": r["group"],
99
+ "ref_latents": torch.stack(zr), "ref_slots": torch.tensor(slots), "cover": torch.from_numpy(lat_cover(m))}, dst + ".tmp")
100
+ os.replace(dst + ".tmp", dst); n += 1
101
+ if n % 200 == 0: print(f"rank {rank}: {n} done, {miss} missing, of {len(rows)}", flush=True)
102
+ print(f"rank {rank} ENC_DONE {n} new, {miss} missing", flush=True)
103
+
104
+
105
+ if __name__ == "__main__":
106
+ ap = argparse.ArgumentParser(); ap.add_argument("mode"); ap.add_argument("out"); ap.add_argument("--rank", type=int, default=0); ap.add_argument("--world", type=int, default=1)
107
+ ap.add_argument("--limit", type=int, default=0); a = ap.parse_args()
108
+ {"list": lambda: build_list(a.out), "text": lambda: text(a.out), "enc": lambda: enc(a.out, a.rank, a.world, a.limit)}[a.mode]()
ww_index/scripts/proxykit36/proxykit/__init__.py ADDED
File without changes
ww_index/scripts/proxykit36/proxykit/cameras.py ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Camera tracks for combat shots: third-person follow behind the player facing the monster (the BOSSV2V training
2
+ view), and a transition that orbits from any start camera (e.g. the first-frame view) into the follow camera."""
3
+ import numpy as np
4
+ from .geometry import Camera, UP
5
+ from .motion import ease
6
+
7
+ flat = lambda v: np.array([v[0], v[1], 0.0])
8
+
9
+
10
+ def follow_behind_raw(scene, player, subject, t, dist=450.0, height=210.0, shoulder=60.0, look=0.5, look_z=120.0):
11
+ p = scene.entities[player]["track"].poses[t, 0]; s = scene.entities[subject]["track"].poses[t, 0]
12
+ d = flat(s - p); d = d / np.linalg.norm(d)
13
+ right = np.array([-d[1], d[0], 0.0]) # UE: +Y is right of +X
14
+ pos = flat(p) - d * dist + right * shoulder + UP * height
15
+ target = flat(p) * (1 - look) + flat(s) * look + UP * look_z
16
+ return pos, target
17
+
18
+
19
+ def _smooth(xs, alpha):
20
+ out = np.array(xs, float)
21
+ for i in range(1, len(out)):
22
+ out[i] = out[i - 1] + alpha * (out[i] - out[i - 1])
23
+ return out
24
+
25
+
26
+ def orbit_into_follow(scene, start_cam, t0, t1, player, subject, smooth=0.25, fov=None, **follow_kw):
27
+ """Frames < t0 keep start_cam; [t0, t1) orbit around the player (angle, radius, height and aim eased) from the
28
+ start view to the follow view; frames >= t1 follow behind the player (exponentially smoothed)."""
29
+ T = scene.frames
30
+ raw = [follow_behind_raw(scene, player, subject, t, **follow_kw) for t in range(T)]
31
+ pos = _smooth([r[0] for r in raw], smooth); tgt = _smooth([r[1] for r in raw], smooth)
32
+ fov = fov if fov is not None else start_cam.fov
33
+ p_track = scene.entities[player]["track"]
34
+ s_pos = np.asarray(start_cam.position, float)
35
+ s_dist = np.linalg.norm(flat(p_track.poses[t0, 0] - s_pos))
36
+ s_tgt = s_pos + start_cam.R[:, 0] * s_dist
37
+ cams = []
38
+ for t in range(T):
39
+ if t < t0:
40
+ cams.append(start_cam); continue
41
+ if t >= t1:
42
+ cams.append(Camera.look_at(pos[t], tgt[t], fov)); continue
43
+ u = ease((t - t0) / max(1, t1 - t0))
44
+ c = flat(p_track.poses[t, 0])
45
+ a0 = s_pos - c; a1 = pos[t] - c
46
+ th0, th1 = np.arctan2(a0[1], a0[0]), np.arctan2(a1[1], a1[0])
47
+ dth = (th1 - th0 + np.pi) % (2 * np.pi) - np.pi
48
+ th = th0 + dth * u
49
+ r = np.linalg.norm(a0[:2]) * (1 - u) + np.linalg.norm(a1[:2]) * u
50
+ z = s_pos[2] * (1 - u) + pos[t][2] * u
51
+ p = c + np.array([np.cos(th) * r, np.sin(th) * r, 0.0]); p[2] = z
52
+ aim = s_tgt * (1 - u) + tgt[t] * u
53
+ cams.append(Camera.look_at(p, aim, fov))
54
+ scene.cameras = cams
55
+ return cams
ww_index/scripts/proxykit36/proxykit/data/humanoid_clips.npz ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:99e1352b4f16ec6827de511f3b2adc4d6474a4b57659fdd889bd394a05d15e4b
3
+ size 1303010
ww_index/scripts/proxykit36/proxykit/effector.py ADDED
@@ -0,0 +1,409 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Effector-keyframe moves evaluated one frame at a time (real-time). An agent designs a move as phases of body-part
2
+ goals; this module turns it into a pose each frame from the live world state, with automatic feet (plant / step /
3
+ tuck in the air), a smoothed balance correction and floor clamping. No clip library is involved.
4
+
5
+ Conventions: cm, UE axes (+X forward at yaw 0, +Y right, +Z up). Body-frame points are [forward, right, up] from the
6
+ root joint (pelvis). Pitch > 0 tips a bone nose-down / tail-up; yaw > 0 turns left (counter-clockwise from above);
7
+ roll > 0 leans left. A bone rotates about its parent joint unless "pivot" names another joint.
8
+
9
+ MoveSpec (JSON-able dict); every list is aligned with `keys`:
10
+ name, design: str (why the move fits the character), keys: [0, k1, ..., duration] frame offsets, ease: per segment
11
+ root: {"points": [P, ...], "arc": [apex cm per segment], "yaw": [rad, ...], "face": [0..1 per key], "retarget": k}
12
+ Root points place the body CENTRE (mid torso); z is relative to standing height. P = [f, r, u] in the
13
+ move-start body frame, or {"space": "target", "p": [...]}: origin at the target's centre, +x from mover to
14
+ target, sampled at move start and re-sampled when segment `retarget` begins (so a feint tracks a dodge; keep
15
+ target-space points off key `retarget`). "face" blends the base yaw from the start yaw (0) to the target (1).
16
+ spine / neck: {"joint": name, "pivot": name, "pitch": [...], "yaw": [...], "roll": [...]} added to the posture
17
+ chains: {"tail" | "wing_l" | "wing_r" | "body": {"pitch": [...], "yaw": [...]}} spread evenly over the chain
18
+ limbs: {limb: [P | {"space": "body"|"target"|"start", "p": [...]} | None, ...]} limb = hand_l/hand_r/foot_l/foot_r
19
+ (humanoid), front_l/front_r/hind_l/hind_r (quadruped). None = not driven: feet plant / step by themselves,
20
+ hands keep the posture. A None key before a goal starts from wherever the limb is; a foot released in the air
21
+ steps back down.
22
+ weapon: {"dir": [[f, r, u] | None, ...]} blade direction in the body frame (None = posture)
23
+ hit: {"window": [from, to], "parts": [joint names] | ["weapon"], "radius": cm, "damage": n}
24
+ invulnerable: [from, to]
25
+ Posture (idle, per character): {"spine": {...}, "neck": {...}, "chains": {...}, "limbs": {hand: [f, r, u]},
26
+ "weapon_dir": [f, r, u], "root_z": cm, "stance": {foot: [f, r]}} with single values instead of lists.
27
+ """
28
+ import json
29
+ import numpy as np
30
+ from .geometry import rot_axis, UP
31
+
32
+ EASE = {"io": lambda u: u * u * (3 - 2 * u), "i": lambda u: u * u, "o": lambda u: 1 - (1 - u) ** 2, "l": lambda u: u}
33
+ TORSO = ("pelvis", "spine_01", "spine_02")
34
+ flat = lambda v: np.array([v[0], v[1], 0.0])
35
+ wrap = lambda a: float((a + np.pi) % (2 * np.pi) - np.pi)
36
+
37
+
38
+ def axes(yaw):
39
+ return np.array([np.cos(yaw), np.sin(yaw), 0.0]), np.array([-np.sin(yaw), np.cos(yaw), 0.0])
40
+
41
+
42
+ def body_to_world(origin, yaw, p):
43
+ f, r = axes(yaw)
44
+ return np.asarray(origin, float) + f * p[0] + r * p[1] + UP * p[2]
45
+
46
+
47
+ def mirror(spec):
48
+ """Left-right mirrored copy of a MoveSpec."""
49
+ s = json.loads(json.dumps(spec))
50
+ def flip_p(P):
51
+ if P is not None:
52
+ (P["p"] if isinstance(P, dict) else P)[1] *= -1
53
+ for P in s.get("root", {}).get("points", []):
54
+ flip_p(P)
55
+ if "yaw" in s.get("root", {}):
56
+ s["root"]["yaw"] = [-v for v in s["root"]["yaw"]]
57
+ for name in ("spine", "neck"):
58
+ for a in ("yaw", "roll"):
59
+ if a in s.get(name, {}):
60
+ s[name][a] = [-v for v in s[name][a]]
61
+ for g in s.get("chains", {}):
62
+ if "yaw" in s["chains"][g]:
63
+ s["chains"][g]["yaw"] = [-v for v in s["chains"][g]["yaw"]]
64
+ swap = lambda n: n[:-1] + {"l": "r", "r": "l"}.get(n[-1], n[-1])
65
+ s["limbs"] = {swap(k): v for k, v in s.get("limbs", {}).items()}
66
+ for vals in s["limbs"].values():
67
+ for P in vals:
68
+ flip_p(P)
69
+ for d in s.get("weapon", {}).get("dir", []):
70
+ if d is not None:
71
+ d[1] *= -1
72
+ return s
73
+
74
+
75
+ # ---------------------------------------------------------------------------------------------------- pose utilities
76
+ def rotate_subtree(pose, sk, joint, R, pivot=None):
77
+ idx = sk.descendants(joint)
78
+ p = pose[sk.index[pivot] if pivot else sk.parent_idx[sk.index[joint]]].copy()
79
+ pose[idx] = (pose[idx] - p) @ R.T + p
80
+
81
+
82
+ def ik2(pose, sk, chain, target, pole):
83
+ """Two-bone IK with exact bone lengths; the end joint's subtree moves with it."""
84
+ i0, i1, i2 = (sk.index[n] for n in chain)
85
+ L1 = np.linalg.norm(sk.rest[i1] - sk.rest[i0]); L2 = np.linalg.norm(sk.rest[i2] - sk.rest[i1])
86
+ a = pose[i0].copy(); d = np.asarray(target, float) - a
87
+ n = np.linalg.norm(d); dn = d / max(n, 1e-6)
88
+ dist = float(np.clip(n, abs(L1 - L2) + 1e-3, (L1 + L2) * 0.999))
89
+ cos_a = np.clip((L1 * L1 + dist * dist - L2 * L2) / (2 * L1 * dist), -1, 1)
90
+ pole = np.asarray(pole, float); pole = pole - dn * (pole @ dn); pn = np.linalg.norm(pole)
91
+ if pn < 1e-6:
92
+ pole = np.cross(dn, UP); pn = max(np.linalg.norm(pole), 1e-6)
93
+ pole = pole / pn
94
+ pose[i1] = a + dn * L1 * cos_a + pole * L1 * np.sqrt(max(0.0, 1 - cos_a ** 2))
95
+ pose[sk.descendants(chain[2])] += a + dn * dist - pose[i2]
96
+
97
+
98
+ def limb_chain(sk, limb):
99
+ if sk.family == "humanoid":
100
+ side = limb[-1]
101
+ return {"hand": (f"upperarm_{side}", f"lowerarm_{side}", f"hand_{side}"),
102
+ "foot": (f"thigh_{side}", f"calf_{side}", f"foot_{side}")}[limb[:-2]]
103
+ if limb.startswith("leg"):
104
+ return (f"{limb}_hip", f"{limb}_knee", f"{limb}_foot")
105
+ return (f"{limb}_upper", f"{limb}_lower", f"{limb}_foot")
106
+
107
+
108
+ def foot_limbs(sk):
109
+ if sk.family == "humanoid":
110
+ return ["foot_l", "foot_r"]
111
+ return sorted({n.rsplit("_", 1)[0] for n in sk.joints if n.endswith("_foot")})
112
+
113
+
114
+ def chain_group(sk, group):
115
+ pre = {"tail": "tail_", "wing_l": "wing_l_", "wing_r": "wing_r_", "body": "body_"}[group]
116
+ return [n for n in sk.joints if n.startswith(pre)]
117
+
118
+
119
+ # -------------------------------------------------------------------------------------------------------- move runs
120
+ class MoveRun:
121
+ """One execution of a MoveSpec by an actor, started at world frame t0 against a target actor."""
122
+
123
+ def __init__(self, spec, actor, target, t0):
124
+ self.spec, self.actor, self.target, self.t0 = spec, actor, target, t0
125
+ self.keys = list(spec["keys"]); self.duration = self.keys[-1]
126
+ self.ease = spec.get("ease") or ["io"] * (len(self.keys) - 1)
127
+ self.start_yaw = actor.yaw
128
+ self.start_center = body_to_world(flat(actor.root), actor.yaw, [actor.center_offset, 0, 0]) + UP * (actor.root[2] - actor.base_z)
129
+ self._sample_target()
130
+ self.retarget = spec.get("root", {}).get("retarget"); self.retargeted = False
131
+ self.captured = {}
132
+ self.hit_done = False
133
+
134
+ def _sample_target(self):
135
+ me = flat(self.actor.center())
136
+ tp = flat(self.target.center()) if self.target is not None else me + axes(self.start_yaw)[0] * 300
137
+ d = tp - me
138
+ yaw = float(np.arctan2(d[1], d[0])) if np.linalg.norm(d) > 1 else self.start_yaw
139
+ self.target_origin, self.target_yaw = tp, self.start_yaw + wrap(yaw - self.start_yaw)
140
+
141
+ # ---- time
142
+ def seg(self, t):
143
+ tau = min(max(t - self.t0, 0), self.duration)
144
+ k = int(max(0, min(len(self.keys) - 2, np.searchsorted(self.keys, tau, side="right") - 1)))
145
+ if self.retarget is not None and not self.retargeted and k >= self.retarget:
146
+ self._sample_target(); self.retargeted = True
147
+ span = max(1, self.keys[k + 1] - self.keys[k])
148
+ u = EASE[self.ease[k] if k < len(self.ease) else "io"](min(1.0, (tau - self.keys[k]) / span))
149
+ return k, u, tau
150
+
151
+ def done(self, t):
152
+ return t - self.t0 >= self.duration
153
+
154
+ def in_window(self, t, window):
155
+ return window is not None and window[0] <= t - self.t0 <= window[1]
156
+
157
+ def phase(self, t):
158
+ """'windup' before the hit window, 'active' inside it, 'recovery' after it (None if the move has no hit)."""
159
+ h = self.spec.get("hit")
160
+ if not h:
161
+ return None
162
+ tau = t - self.t0
163
+ return "windup" if tau < h["window"][0] else "active" if tau <= h["window"][1] else "recovery"
164
+
165
+ # ---- channels
166
+ @staticmethod
167
+ def _lerp(vals, k, u):
168
+ return vals[k] * (1 - u) + vals[k + 1] * u
169
+
170
+ def start_root(self):
171
+ return flat(self.start_center) - axes(self.start_yaw)[0] * self.actor.center_offset + UP * self.actor.base_z
172
+
173
+ def point(self, P, now_root, now_yaw):
174
+ sp, p = (P.get("space", "start"), P["p"]) if isinstance(P, dict) else ("start", P)
175
+ if sp == "target":
176
+ return body_to_world(self.target_origin, self.target_yaw, p)
177
+ if sp == "body":
178
+ return body_to_world(now_root, now_yaw, p)
179
+ return body_to_world(self.start_root(), self.start_yaw, p)
180
+
181
+ def _yaw_at(self, k):
182
+ r = self.spec.get("root", {})
183
+ face = r.get("face", [0.0] * len(self.keys))[k]
184
+ return self.start_yaw * (1 - face) + self.target_yaw * face + (r["yaw"][k] if r.get("yaw") else 0.0)
185
+
186
+ def _center_at(self, k):
187
+ P = self.spec["root"]["points"][k]
188
+ if isinstance(P, dict) and P.get("space") == "target":
189
+ p = P["p"]; c = body_to_world(self.target_origin, self.target_yaw, [p[0], p[1], 0.0])
190
+ c[2] = p[2]
191
+ return c
192
+ p = P["p"] if isinstance(P, dict) else P
193
+ return body_to_world(self.start_center, self.start_yaw, p)
194
+
195
+ def root_pose(self, t):
196
+ k, u, _ = self.seg(t)
197
+ r = self.spec.get("root", {})
198
+ yaw = self._yaw_at(k) * (1 - u) + self._yaw_at(k + 1) * u
199
+ if r.get("points"):
200
+ c = self._center_at(k) * (1 - u) + self._center_at(k + 1) * u
201
+ arc = r.get("arc")
202
+ if arc and k < len(arc):
203
+ c[2] += 4 * arc[k] * u * (1 - u)
204
+ else:
205
+ c = self.start_center.copy()
206
+ root = c - axes(yaw)[0] * self.actor.center_offset
207
+ root[2] = self.actor.base_z + c[2]
208
+ return root, yaw
209
+
210
+ def rot(self, name, t):
211
+ ch = self.spec.get(name)
212
+ if not ch:
213
+ return {}
214
+ k, u, _ = self.seg(t)
215
+ return {a: self._lerp(ch[a], k, u) for a in ("pitch", "yaw", "roll") if a in ch}
216
+
217
+ def chains(self, t):
218
+ k, u, _ = self.seg(t)
219
+ return {g: {a: self._lerp(v[a], k, u) for a in ("pitch", "yaw") if a in v} for g, v in self.spec.get("chains", {}).items()}
220
+
221
+ def limb_target(self, limb, t, current_world, now_root, now_yaw):
222
+ vals = self.spec.get("limbs", {}).get(limb)
223
+ if vals is None:
224
+ return None
225
+ k, u, _ = self.seg(t)
226
+ a, b = vals[k], vals[k + 1]
227
+ if b is None:
228
+ return None
229
+ if a is None:
230
+ if (limb, k) not in self.captured:
231
+ self.captured[(limb, k)] = np.asarray(current_world, float).copy()
232
+ wa = self.captured[(limb, k)]
233
+ else:
234
+ wa = self.point(a, now_root, now_yaw)
235
+ return wa * (1 - u) + self.point(b, now_root, now_yaw) * u
236
+
237
+ def weapon_dir(self, t, default):
238
+ vals = self.spec.get("weapon", {}).get("dir")
239
+ if not vals:
240
+ return None
241
+ k, u, _ = self.seg(t)
242
+ a = np.asarray(vals[k] if vals[k] is not None else default, float)
243
+ b = np.asarray(vals[k + 1] if vals[k + 1] is not None else default, float)
244
+ v = a * (1 - u) + b * u
245
+ return v / max(np.linalg.norm(v), 1e-6)
246
+
247
+
248
+ # ------------------------------------------------------------------------------------------------------------ actor
249
+ class Actor:
250
+ """Live character state: root/yaw, posture, planted feet and steps, current move, weapon, hp."""
251
+
252
+ def __init__(self, name, skeleton, slot, center_xy, yaw, posture=None, hp=10):
253
+ self.name, self.sk, self.slot = name, skeleton, slot
254
+ self.posture = posture or {}
255
+ sk = skeleton
256
+ torso = [sk.index[j] for j in TORSO if j in sk.index]
257
+ self.center_offset = float(sk.rest[torso, 0].mean() - sk.rest[0, 0])
258
+ self.base_z = float(sk.rest[0, 2] + self.posture.get("root_z", 0.0))
259
+ self.yaw = float(yaw)
260
+ self.root = body_to_world([center_xy[0], center_xy[1], self.base_z], self.yaw, [-self.center_offset, 0, 0])
261
+ self.move = None; self.last_root = self.root.copy()
262
+ self.pose = sk.place(self.root, self.yaw)
263
+ self.feet = foot_limbs(sk)
264
+ st = self.posture.get("stance") or {}
265
+ self.foot_offset = {}
266
+ for ft in self.feet:
267
+ rel = sk.rest[sk.index[limb_chain(sk, ft)[2]]] - sk.rest[0]
268
+ self.foot_offset[ft] = np.array([st[ft][0], st[ft][1], 0.0]) if ft in st else flat(rel)
269
+ self.plants = {ft: flat(body_to_world(self.root, self.yaw, self.foot_offset[ft])) for ft in self.feet}
270
+ self.steps, self.driven = {}, set()
271
+ bl = sk.bone_lengths
272
+ self.leg_len = {ft: float(sum(bl[sk.index[j]] for j in limb_chain(sk, ft)[1:])) for ft in self.feet}
273
+ self.step_frames = 6 if sk.family == "humanoid" else 7
274
+ self.balance = np.zeros(3)
275
+ self.weapon = None
276
+ self.hp = hp; self.invulnerable = False; self.floor_clamps = 0
277
+
278
+ def center(self):
279
+ return self.pose[[self.sk.index[j] for j in TORSO if j in self.sk.index]].mean(axis=0)
280
+
281
+ def start(self, spec, target, t):
282
+ self.move = MoveRun(spec, self, target, t)
283
+
284
+ def shift(self, v):
285
+ """External displacement (collision push, arena bounds); keeps a running move consistent."""
286
+ v = flat(v)
287
+ self.root += v; self.last_root += v; self.pose += v
288
+ if self.weapon is not None:
289
+ self.weapon += v
290
+ if self.move is not None:
291
+ self.move.start_center += v
292
+
293
+ # ---- one frame
294
+ def evaluate(self, t):
295
+ sk, mv, prev = self.sk, self.move, self.pose
296
+ if mv is not None:
297
+ self.root, self.yaw = mv.root_pose(t)
298
+ lift = self.root[2] - self.base_z
299
+ air = lift > 1.0
300
+ vel = flat(self.root - self.last_root); self.last_root = self.root.copy()
301
+ pose = sk.place(self.root, self.yaw)
302
+ f, r = axes(self.yaw)
303
+
304
+ for name, default in (("spine", "spine_01"), ("neck", "neck_01")):
305
+ base = self.posture.get(name, {}); add = mv.rot(name, t) if mv else {}
306
+ ms = mv.spec.get(name, {}) if mv else {}
307
+ joint = ms.get("joint") or base.get("joint", default)
308
+ if joint not in sk.index:
309
+ continue
310
+ ang = {a: base.get(a, 0.0) + add.get(a, 0.0) for a in ("pitch", "yaw", "roll")}
311
+ if any(abs(v) > 1e-9 for v in ang.values()):
312
+ R = rot_axis(UP, ang["yaw"]) @ rot_axis(r, ang["pitch"]) @ rot_axis(f, ang["roll"])
313
+ rotate_subtree(pose, sk, joint, R, ms.get("pivot") or base.get("pivot"))
314
+
315
+ mch = mv.chains(t) if mv else {}
316
+ for group in sorted(set(self.posture.get("chains", {})) | set(mch)):
317
+ js = chain_group(sk, group)
318
+ if not js:
319
+ continue
320
+ base = self.posture.get("chains", {}).get(group, {}); add = mch.get(group, {})
321
+ pitch = (base.get("pitch", 0.0) + add.get("pitch", 0.0)) / len(js)
322
+ yaw_ = (base.get("yaw", 0.0) + add.get("yaw", 0.0)) / len(js)
323
+ R = rot_axis(UP, yaw_) @ rot_axis(r, pitch)
324
+ for j in js:
325
+ rotate_subtree(pose, sk, j, R)
326
+
327
+ move_limbs = mv.spec.get("limbs", {}) if mv else {}
328
+ for limb in sorted((set(self.posture.get("limbs", {})) | set(move_limbs)) - set(self.feet)):
329
+ chain = limb_chain(sk, limb)
330
+ tgt = mv.limb_target(limb, t, prev[sk.index[chain[2]]], self.root, self.yaw) if mv else None
331
+ if tgt is None and limb in self.posture.get("limbs", {}):
332
+ tgt = body_to_world(self.root, self.yaw, self.posture["limbs"][limb])
333
+ if tgt is not None:
334
+ ik2(pose, sk, chain, tgt, pole=-UP + r * (0.4 if limb.endswith("r") else -0.4) - f * 0.2)
335
+
336
+ driven = set()
337
+ for ft in self.feet:
338
+ chain = limb_chain(sk, ft); prev_end = prev[sk.index[chain[2]]]
339
+ tgt = mv.limb_target(ft, t, prev_end, self.root, self.yaw) if mv else None
340
+ if tgt is not None:
341
+ driven.add(ft); self.steps.pop(ft, None)
342
+ tgt = np.array(tgt, float); tgt[2] = max(tgt[2], 0.0)
343
+ ik2(pose, sk, chain, tgt, pole=f + UP * 0.2)
344
+ continue
345
+ desired = flat(body_to_world(self.root, self.yaw, self.foot_offset[ft])) + vel * 3
346
+ if ft in self.driven: # released this frame: step down from where it was
347
+ self.steps[ft] = [prev_end.copy(), desired, t, self.step_frames]
348
+ if air:
349
+ self.steps.pop(ft, None)
350
+ self.plants[ft] = self.plants[ft] + 0.35 * (desired - self.plants[ft])
351
+ target = self.plants[ft] + UP * (lift + min(0.4 * lift, 0.3 * self.leg_len[ft]))
352
+ elif ft in self.steps:
353
+ st = self.steps[ft]; st[1] = desired
354
+ s = min(1.0, (t - st[2]) / st[3]); e = EASE["io"](s)
355
+ target = st[0] * (1 - e) + st[1] * e + UP * 0.1 * min(sk.height, 200.0) * np.sin(np.pi * s)
356
+ if s >= 1.0:
357
+ self.plants[ft] = flat(st[1]); del self.steps[ft]
358
+ else:
359
+ target = self.plants[ft]
360
+ hip = pose[sk.index[chain[0]]]
361
+ err = np.linalg.norm(self.plants[ft] - desired)
362
+ reach = np.linalg.norm(hip - self.plants[ft]) / max(self.leg_len[ft], 1e-6)
363
+ if (err > 0.3 * self.leg_len[ft] or reach > 0.98) and len(self.steps) < max(1, len(self.feet) // 2):
364
+ self.steps[ft] = [self.plants[ft].copy(), desired, t, self.step_frames]
365
+ target = np.array(target, float); target[2] = max(target[2], 0.0)
366
+ ik2(pose, sk, chain, target, pole=f + UP * 0.2)
367
+ self.driven = driven
368
+
369
+ if sk.weapon is not None:
370
+ default = self.posture.get("weapon_dir", [0.94, 0.0, 0.34])
371
+ d = mv.weapon_dir(t, default) if mv else None
372
+ d = np.asarray(default, float) if d is None else d
373
+ dw = f * d[0] + r * d[1] + UP * d[2]; dw = dw / np.linalg.norm(dw)
374
+ butt = pose[sk.index[sk.weapon.hand]] - dw * sk.weapon.grip_offset
375
+ self.weapon = np.stack([butt, butt + dw * sk.weapon.length])
376
+
377
+ # balance: ease the torso back over the grounded, non-driven feet (smoothed, recomputed each frame)
378
+ want = np.zeros(3)
379
+ support = [self.plants[ft] for ft in self.feet if ft not in self.steps and ft not in driven]
380
+ if not air and support:
381
+ com = flat(pose[[sk.index[j] for j in TORSO if j in sk.index]].mean(axis=0)); cen = np.mean(support, axis=0)
382
+ radius = max(max(np.linalg.norm(s - cen) for s in support), 0.12 * sk.height)
383
+ off = com - cen; dist = np.linalg.norm(off)
384
+ if dist > radius:
385
+ want = -off / dist * min(dist - radius, 0.2 * sk.height)
386
+ self.balance = self.balance + 0.25 * (want - self.balance)
387
+ if np.linalg.norm(self.balance) > 0.5:
388
+ pose += self.balance
389
+ for ft in self.feet:
390
+ if ft not in driven:
391
+ chain = limb_chain(sk, ft)
392
+ ik2(pose, sk, chain, pose[sk.index[chain[2]]] - self.balance, pole=f + UP * 0.2)
393
+ if self.weapon is not None:
394
+ self.weapon += self.balance
395
+
396
+ below = pose[:, 2] < 0.0
397
+ if below.any():
398
+ self.floor_clamps += int(below.sum()); pose[below, 2] = 0.0
399
+ if self.weapon is not None:
400
+ self.weapon[:, 2] = np.maximum(self.weapon[:, 2], 0.0)
401
+ self.pose = pose
402
+ self.invulnerable = bool(mv and mv.in_window(t, mv.spec.get("invulnerable")))
403
+ if mv is not None and mv.done(t):
404
+ self.root[2] = self.base_z
405
+ self.move = None
406
+ return pose
407
+
408
+ def capsules(self):
409
+ return self.sk.capsules(self.pose, self.slot, self.weapon)
ww_index/scripts/proxykit36/proxykit/geometry.py ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Camera and world geometry in the BOSSV2V convention.
2
+
3
+ World: UE centimetres, X forward, Y right, Z up. A camera is (quaternion xyzw, position cm, horizontal FOV deg); the
4
+ columns of rotation(q) are the camera's forward, right and up axes, with up = forward x right and right = up x forward
5
+ (zero roll in all recordings). Images are 1280x720 unless stated otherwise.
6
+ """
7
+ from dataclasses import dataclass
8
+ import numpy as np
9
+
10
+ UP = np.array([0.0, 0.0, 1.0])
11
+
12
+
13
+ def rotation(q):
14
+ """Quaternion (x, y, z, w) -> 3x3 matrix; same formula as the dataset exporter."""
15
+ q = np.asarray(q, dtype=float)
16
+ x, y, z, w = q / np.linalg.norm(q)
17
+ return np.array([[1 - 2 * (y * y + z * z), 2 * (x * y - z * w), 2 * (x * z + y * w)],
18
+ [2 * (x * y + z * w), 1 - 2 * (x * x + z * z), 2 * (y * z - x * w)],
19
+ [2 * (x * z - y * w), 2 * (y * z + x * w), 1 - 2 * (x * x + y * y)]])
20
+
21
+
22
+ def quat_from_matrix(R):
23
+ w = np.sqrt(max(0.0, 1 + R[0, 0] + R[1, 1] + R[2, 2])) / 2
24
+ x = np.copysign(np.sqrt(max(0.0, 1 + R[0, 0] - R[1, 1] - R[2, 2])) / 2, R[2, 1] - R[1, 2])
25
+ y = np.copysign(np.sqrt(max(0.0, 1 - R[0, 0] + R[1, 1] - R[2, 2])) / 2, R[0, 2] - R[2, 0])
26
+ z = np.copysign(np.sqrt(max(0.0, 1 - R[0, 0] - R[1, 1] + R[2, 2])) / 2, R[1, 0] - R[0, 1])
27
+ q = np.array([x, y, z, w])
28
+ return q / np.linalg.norm(q)
29
+
30
+
31
+ def look_rotation(forward):
32
+ """Zero-roll camera rotation looking along `forward`."""
33
+ f = np.asarray(forward, float); f = f / np.linalg.norm(f)
34
+ r = np.cross(UP, f); r /= np.linalg.norm(r)
35
+ return np.stack([f, r, np.cross(f, r)], axis=1)
36
+
37
+
38
+ def rot_z(angle):
39
+ c, s = np.cos(angle), np.sin(angle)
40
+ return np.array([[c, -s, 0.0], [s, c, 0.0], [0.0, 0.0, 1.0]])
41
+
42
+
43
+ def rot_axis(axis, angle):
44
+ """Rodrigues rotation matrix about an arbitrary axis."""
45
+ a = np.asarray(axis, float); a = a / np.linalg.norm(a)
46
+ K = np.array([[0, -a[2], a[1]], [a[2], 0, -a[0]], [-a[1], a[0], 0]])
47
+ return np.eye(3) + np.sin(angle) * K + (1 - np.cos(angle)) * K @ K
48
+
49
+
50
+ @dataclass
51
+ class Camera:
52
+ position: np.ndarray # cm
53
+ quat: np.ndarray # xyzw
54
+ fov: float = 70.0 # horizontal degrees
55
+ width: int = 1280
56
+ height: int = 720
57
+
58
+ @staticmethod
59
+ def look_at(position, target, fov=70.0, width=1280, height=720):
60
+ position = np.asarray(position, float)
61
+ return Camera(position, quat_from_matrix(look_rotation(np.asarray(target, float) - position)), fov, width, height)
62
+
63
+ @staticmethod
64
+ def from_horizon(v_horizon, camera_height_cm=220.0, fov=70.0, yaw=0.0, xy=(0.0, 0.0), width=1280, height=720):
65
+ """Camera guessed from a single image: the horizon's image row fixes the pitch (row above the centre = camera
66
+ looks down), plus an assumed height above the ground (z = 0), FOV and facing yaw (rad about +Z)."""
67
+ f = width / 2 / np.tan(np.radians(fov) / 2)
68
+ pitch = np.arctan((height / 2 - v_horizon) / f) # > 0: horizon above centre -> camera pitched down
69
+ fwd = np.array([np.cos(yaw) * np.cos(-pitch), np.sin(yaw) * np.cos(-pitch), np.sin(-pitch)])
70
+ pos = np.array([xy[0], xy[1], camera_height_cm], float)
71
+ return Camera(pos, quat_from_matrix(look_rotation(fwd)), fov, width, height)
72
+
73
+ @property
74
+ def R(self):
75
+ return rotation(self.quat)
76
+
77
+ @property
78
+ def focal(self):
79
+ return self.width / 2 / np.tan(np.radians(self.fov) / 2)
80
+
81
+ def transform(self):
82
+ """10-vector as stored in states.npz camera_transforms: quat xyzw, position, 3 unused."""
83
+ return np.concatenate([self.quat, self.position, np.zeros(3)])
84
+
85
+ def project(self, pts):
86
+ """World points (...,3) -> pixel (u, v) and camera-forward depth (cm)."""
87
+ rel = np.asarray(pts, float) - self.position
88
+ R = self.R
89
+ x, y, z = rel @ R[:, 0], rel @ R[:, 1], rel @ R[:, 2]
90
+ xs = np.maximum(x, 1e-6)
91
+ return np.stack([self.width / 2 + self.focal * y / xs, self.height / 2 - self.focal * z / xs], -1), x
92
+
93
+ def ray(self, u, v):
94
+ R = self.R
95
+ d = R[:, 0] + R[:, 1] * (u - self.width / 2) / self.focal - R[:, 2] * (v - self.height / 2) / self.focal
96
+ return d / np.linalg.norm(d)
97
+
98
+ def ground_point(self, u, v, ground_z=0.0):
99
+ """Intersect the pixel ray with the plane z = ground_z (e.g. the pixel under a character's feet)."""
100
+ d = self.ray(u, v)
101
+ assert d[2] < -1e-6, "pixel is above the horizon; cannot place it on the ground"
102
+ t = (ground_z - self.position[2]) / d[2]
103
+ return self.position + t * d
104
+
105
+ def height_at(self, world_point, v_top):
106
+ """World height (cm) of a vertical extent standing at world_point whose top projects to image row v_top."""
107
+ _, depth = self.project(world_point)
108
+ uv, _ = self.project(world_point)
109
+ return float((uv[1] - v_top) * depth / self.focal)
110
+
111
+ def in_view(self, pts, margin=0):
112
+ uv, d = self.project(pts)
113
+ return (d > 10) & (uv[..., 0] >= -margin) & (uv[..., 0] < self.width + margin) & (uv[..., 1] >= -margin) & (uv[..., 1] < self.height + margin)
ww_index/scripts/proxykit36/proxykit/library.py ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Recorded humanoid motion clips from BOSSV2V, stored body-relative and retargeted to any humanoid skeleton.
2
+
3
+ Clip frame: root (pelvis) ground point at the clip's first frame at the origin, facing +X (UE: +Y right). Facing is
4
+ taken from the hips: right = thigh_r - thigh_l (horizontal), forward = (right_y, -right_x).
5
+ Retargeting walks the joint tree parent-first and re-lays every bone along the clip's bone direction with the target
6
+ skeleton's length; the root path is scaled by the leg-length ratio; the weapon keeps its clip direction, re-anchored
7
+ to the target hand.
8
+ """
9
+ import glob, json
10
+ from pathlib import Path
11
+ import numpy as np
12
+ from .geometry import rot_z
13
+ from .skeleton import HUMANOID_JOINTS
14
+
15
+ DATA = Path(__file__).resolve().parent / "data"
16
+ BOSSV2V = "/data/yuzhewu/datasets/BOSSV2V"
17
+ _J = {n: i for i, n in enumerate(HUMANOID_JOINTS)}
18
+
19
+
20
+ def facing_yaw(joints):
21
+ r = joints[_J["thigh_r"]] - joints[_J["thigh_l"]]
22
+ return float(np.arctan2(-r[0], r[1])) # forward = (r_y, -r_x)
23
+
24
+
25
+ def to_clip_frame(J, W):
26
+ """World (T,17,3) joints and (T,2,3) weapon -> clip frame of their first frame."""
27
+ yaw0 = facing_yaw(J[0]); origin = J[0, 0].copy(); origin[2] = 0.0
28
+ R = rot_z(-yaw0)
29
+ return (J - origin) @ R.T, (W - origin) @ R.T
30
+
31
+
32
+ def extract(out=DATA / "humanoid_clips.npz", min_frames=12):
33
+ """Cut every labelled boss move (and player hit reactions) out of the local BOSSV2V clips."""
34
+ clips = {}
35
+ for d in sorted(glob.glob(f"{BOSSV2V}/session_*")):
36
+ if not (Path(d, "pairs.jsonl").exists() and Path(d, "states.npz").exists()):
37
+ continue
38
+ rows = [json.loads(l) for l in open(Path(d, "pairs.jsonl"))]
39
+ z = np.load(Path(d, "states.npz")); J = z["joints_world_cm"]; W = z["weapon_endpoints_world_cm"]
40
+ for key, ent in (("boss_move", 1), ("player_reaction", 0)):
41
+ labels = [r[key] for r in rows]
42
+ s = 0
43
+ for i in range(1, len(labels) + 1):
44
+ if i == len(labels) or labels[i] != labels[s]:
45
+ name = labels[s]
46
+ if name not in (None, "None") and i - s >= min_frames:
47
+ role = "boss" if ent == 1 else "player"
48
+ j, w = to_clip_frame(J[s:i, ent], W[s:i, ent])
49
+ k = f"{role}/{name}/{Path(d).name[-8:]}_{s:04d}"
50
+ clips[k + "/joints"] = j.astype(np.float32); clips[k + "/weapon"] = w.astype(np.float32)
51
+ s = i
52
+ DATA.mkdir(parents=True, exist_ok=True)
53
+ np.savez_compressed(out, **clips)
54
+ return sorted({k.rsplit("/", 1)[0] for k in clips})
55
+
56
+
57
+ def load(path=DATA / "humanoid_clips.npz"):
58
+ z = np.load(path)
59
+ clips = {}
60
+ for k in z.files:
61
+ base, what = k.rsplit("/", 1)
62
+ clips.setdefault(base, {})[what] = z[k]
63
+ return clips
64
+
65
+
66
+ def names(clips, role=None, move=None):
67
+ return sorted(k for k in clips if (role is None or k.split("/")[0] == role) and (move is None or k.split("/")[1] == move))
68
+
69
+
70
+ def retarget(clip, skeleton, speed=1.0, mirror=False):
71
+ """Clip (clip frame) -> (joints (T',17,3), weapon (T',2,3)) in the clip frame for `skeleton`'s bone lengths."""
72
+ J, W = clip["joints"].astype(float), clip["weapon"].astype(float)
73
+ if mirror:
74
+ J = J.copy(); W = W.copy(); J[..., 1] *= -1; W[..., 1] *= -1
75
+ swap = [_J[n.replace("_l", "_TMP").replace("_r", "_l").replace("_TMP", "_r")] for n in HUMANOID_JOINTS]
76
+ J = J[:, swap]
77
+ T = J.shape[0]
78
+ src_t = np.arange(0, T - 1 + 1e-6, speed)
79
+ idx = np.floor(src_t).astype(int); frac = (src_t - idx)[:, None, None]
80
+ nxt = np.minimum(idx + 1, T - 1)
81
+ J = J[idx] * (1 - frac) + J[nxt] * frac; W = W[idx] * (1 - frac) + W[nxt] * frac
82
+ sk = skeleton; lengths = sk.bone_lengths
83
+ src_leg = np.median(np.linalg.norm(J[:, _J["thigh_l"]] - J[:, _J["calf_l"]], axis=1) + np.linalg.norm(J[:, _J["calf_l"]] - J[:, _J["foot_l"]], axis=1))
84
+ tgt_leg = lengths[_J["calf_l"]] + lengths[_J["foot_l"]]
85
+ scale = tgt_leg / src_leg
86
+ out = np.zeros_like(J)
87
+ out[:, 0] = J[:, 0] * scale
88
+ for i in range(1, 17):
89
+ p = sk.parent_idx[i]
90
+ d = J[:, i] - J[:, p]; d = d / np.maximum(np.linalg.norm(d, axis=1, keepdims=True), 1e-6)
91
+ out[:, i] = out[:, p] + d * lengths[i]
92
+ weapon = None
93
+ if sk.weapon is not None:
94
+ h = _J[sk.weapon.hand]
95
+ d = W[:, 1] - W[:, 0]; d = d / np.maximum(np.linalg.norm(d, axis=1, keepdims=True), 1e-6)
96
+ butt = out[:, h] + (W[:, 0] - J[:, h]) / np.maximum(np.linalg.norm(W[:, 0] - J[:, h], axis=1, keepdims=True), 1e-6) * sk.weapon.grip_offset
97
+ weapon = np.stack([butt, butt + d * sk.weapon.length], axis=1)
98
+ return out, weapon
99
+
100
+
101
+ def play(track, clip, t0, root_xy=None, yaw=None, speed=1.0, mirror=False, hold=True):
102
+ """Write a retargeted clip into a Track starting at frame t0, placed at root_xy / yaw (default: where the track's
103
+ root and facing are at t0). Frames after the clip hold its last pose if hold."""
104
+ J, W = retarget(clip, track.sk, speed, mirror)
105
+ root_xy = track.poses[t0, 0, :2] if root_xy is None else np.asarray(root_xy, float)
106
+ yaw = track.yaw[t0] if yaw is None else yaw
107
+ R = rot_z(yaw); off = np.array([root_xy[0], root_xy[1], 0.0])
108
+ n = min(len(J), track.T - t0)
109
+ track.poses[t0:t0 + n] = J[:n] @ R.T + off
110
+ track.yaw[t0:t0 + n] = yaw
111
+ if W is not None:
112
+ if track.weapon is None:
113
+ track.weapon = np.zeros((track.T, 2, 3))
114
+ track.weapon[t0:t0 + n] = W[:n] @ R.T + off
115
+ if hold and t0 + n < track.T:
116
+ track.freeze(t0 + n, track.T, at=t0 + n - 1)
117
+ return n
ww_index/scripts/proxykit36/proxykit/motion.py ADDED
@@ -0,0 +1,287 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Motion primitives on world-space pose tracks. Every edit is a rigid rotation of a joint subtree or an IK solve with
2
+ fixed bone lengths, so bone lengths never drift.
3
+
4
+ A Track holds one entity over the whole shot:
5
+ poses (T, J, 3) world cm
6
+ weapon (T, 2, 3) grip end, tip end (or None)
7
+ Primitives take frame ranges [t0, t1) and edit the track in place; they compose left to right.
8
+ """
9
+ import numpy as np
10
+ from .geometry import rot_axis, rot_z, UP
11
+
12
+ ease = lambda u: u * u * (3 - 2 * u)
13
+
14
+
15
+ class Track:
16
+ def __init__(self, skeleton, frames, root=(0, 0, None), yaw=0.0):
17
+ self.sk = skeleton; self.T = frames
18
+ r = np.array(root, dtype=object)
19
+ z = skeleton.rest[0, 2] if root[2] is None else root[2]
20
+ base = skeleton.place([float(root[0]), float(root[1]), float(z)], yaw)
21
+ self.poses = np.repeat(base[None], frames, axis=0)
22
+ self.yaw = np.full(frames, float(yaw))
23
+ self.weapon = None
24
+ if skeleton.weapon is not None:
25
+ self.attach_weapon(0, frames)
26
+
27
+ # ------------------------------------------------------------------ helpers
28
+ def j(self, name):
29
+ return self.sk.index[name]
30
+
31
+ def forward(self, t):
32
+ return np.array([np.cos(self.yaw[t]), np.sin(self.yaw[t]), 0.0])
33
+
34
+ def right(self, t):
35
+ return np.array([-np.sin(self.yaw[t]), np.cos(self.yaw[t]), 0.0]) # UE: +Y is right of +X
36
+
37
+ def rotate_subtree(self, t, joint, R, pivot=None):
38
+ """Rotate `joint`'s subtree about pivot (default the joint); a weapon held by a hand in the subtree rotates too."""
39
+ idx = self.sk.descendants(joint)
40
+ p = self.poses[t, self.j(joint)] if pivot is None else np.asarray(pivot, float)
41
+ self.poses[t, idx] = (self.poses[t, idx] - p) @ R.T + p
42
+ if self._holds_weapon(idx):
43
+ self.weapon[t] = (self.weapon[t] - p) @ R.T + p
44
+
45
+ def _holds_weapon(self, idx):
46
+ return self.weapon is not None and self.sk.weapon is not None and self.j(self.sk.weapon.hand) in idx
47
+
48
+ def attach_weapon(self, t0, t1, direction=None, pitch_deg=35.0):
49
+ """Weapon rigid in the hand: grip end behind the hand by grip_offset, pointing `direction` (world, per-frame
50
+ callable or vector) or, by default, forward-up from the forearm (pitch_deg above the facing direction)."""
51
+ w = self.sk.weapon; assert w is not None
52
+ if self.weapon is None:
53
+ self.weapon = np.zeros((self.T, 2, 3))
54
+ hand = self.j(w.hand)
55
+ for t in range(t0, t1):
56
+ if direction is None:
57
+ d = self.forward(t) * np.cos(np.radians(pitch_deg)) + UP * np.sin(np.radians(pitch_deg))
58
+ else:
59
+ d = np.asarray(direction(t) if callable(direction) else direction, float)
60
+ d = d / np.linalg.norm(d)
61
+ butt = self.poses[t, hand] - d * w.grip_offset
62
+ self.weapon[t] = [butt, butt + d * w.length]
63
+
64
+ def carry_weapon_rigidly(self, t0, t1, joint=None):
65
+ """Keep the weapon's pose relative to `joint` (default the hand) as it was at t0 - 1, translating with the joint
66
+ and rotating with the subtree yaw -- use after primitives that move the hand."""
67
+ joint = joint or self.sk.weapon.hand
68
+ ref = max(t0 - 1, 0); h = self.j(joint)
69
+ rel = self.weapon[ref] - self.poses[ref, h]; yaw0 = self.yaw[ref]
70
+ for t in range(t0, t1):
71
+ self.weapon[t] = self.poses[t, h] + rel @ rot_z(self.yaw[t] - yaw0).T
72
+
73
+ # ---------------------------------------------------------------- whole body
74
+ def translate(self, t0, t1, offset):
75
+ off = np.asarray(offset, float)
76
+ self.poses[t0:t1] += off
77
+ if self.weapon is not None:
78
+ self.weapon[t0:t1] += off
79
+
80
+ def freeze(self, t0, t1=None, at=None):
81
+ """Hold the pose (and weapon) of frame `at` (default t0) for [t0, t1)."""
82
+ t1 = self.T if t1 is None else t1; at = t0 if at is None else at
83
+ self.poses[t0:t1] = self.poses[at]; self.yaw[t0:t1] = self.yaw[at]
84
+ if self.weapon is not None:
85
+ self.weapon[t0:t1] = self.weapon[at]
86
+
87
+ def turn(self, t0, t1, dyaw, hold=True):
88
+ """Rotate about the root's vertical axis by dyaw (rad), eased over [t0, t1); frames after t1 keep the new
89
+ facing if hold."""
90
+ end = self.T if hold else t1
91
+ for t in range(t0, end):
92
+ a = dyaw * (ease((t - t0) / max(1, t1 - t0)) if t < t1 else 1.0)
93
+ R = rot_z(a); p = self.poses[t, 0].copy()
94
+ self.poses[t] = (self.poses[t] - p) @ R.T + p
95
+ if self.weapon is not None:
96
+ self.weapon[t] = (self.weapon[t] - p) @ R.T + p
97
+ self.yaw[t] += a
98
+
99
+ def move_root_path(self, t0, t1, waypoints, face_motion=True, hold=True):
100
+ """Carry the whole body along a polyline of world xy waypoints (first = current root xy), eased by arc length.
101
+ Faces the direction of travel when face_motion. Legs are not animated here -- use gait() afterwards."""
102
+ wp = np.asarray(waypoints, float)
103
+ seglen = np.linalg.norm(np.diff(wp, axis=0), axis=1); cum = np.r_[0, np.cumsum(seglen)]; total = cum[-1]
104
+ start_xy = self.poses[t0, 0, :2].copy()
105
+ def at(s):
106
+ k = min(np.searchsorted(cum, s, side="right") - 1, len(seglen) - 1)
107
+ return wp[k] + (wp[k + 1] - wp[k]) * ((s - cum[k]) / max(seglen[k], 1e-6))
108
+ end = self.T if hold else t1
109
+ for t in range(t0, end):
110
+ u = ease((t - t0) / max(1, t1 - t0)) if t < t1 else 1.0
111
+ xy = at(u * total)
112
+ self.translate(t, t + 1, [xy[0] - self.poses[t, 0, 0], xy[1] - self.poses[t, 0, 1], 0.0])
113
+ if face_motion and t < t1:
114
+ ahead = at(min(total, u * total + 5.0)) - xy
115
+ if np.linalg.norm(ahead) > 1e-3:
116
+ target = np.arctan2(ahead[1], ahead[0])
117
+ d = (target - self.yaw[t] + np.pi) % (2 * np.pi) - np.pi
118
+ self.turn(t, t + 1, d, hold=False)
119
+ if t + 1 < self.T:
120
+ self.yaw[t + 1:] = self.yaw[t]
121
+ _ = start_xy
122
+
123
+ def jump(self, t0, t1, height, offset=(0, 0), tuck=0.35):
124
+ """Parabolic hop over [t0, t1): apex `height` cm, horizontal `offset` (world xy cm, persists after landing).
125
+ Knees tuck toward the body at the apex by `tuck` of leg length when IK legs are known."""
126
+ off = np.asarray(offset, float)
127
+ for t in range(t0, self.T):
128
+ u = min(1.0, (t - t0) / max(1, t1 - t0))
129
+ lift = 4 * height * u * (1 - u) if t < t1 else 0.0
130
+ self.translate(t, t + 1, [off[0] * ease(u), off[1] * ease(u), lift])
131
+
132
+ # -------------------------------------------------------------------- limbs
133
+ def two_bone_ik(self, t, upper, lower, end, target, pole):
134
+ """Place `lower` and `end` so `end` reaches `target` (clamped), bending toward `pole` (world direction)."""
135
+ a = self.poses[t, self.j(upper)]; L1 = np.linalg.norm(self.sk.rest[self.j(lower)] - self.sk.rest[self.j(upper)])
136
+ L2 = np.linalg.norm(self.sk.rest[self.j(end)] - self.sk.rest[self.j(lower)])
137
+ d = np.asarray(target, float) - a; dist = np.clip(np.linalg.norm(d), 1e-3, (L1 + L2) * 0.999)
138
+ dn = d / np.linalg.norm(d)
139
+ cos_a = np.clip((L1 * L1 + dist * dist - L2 * L2) / (2 * L1 * dist), -1, 1)
140
+ pole = np.asarray(pole, float); pole = pole - dn * (pole @ dn)
141
+ pole = pole / np.linalg.norm(pole) if np.linalg.norm(pole) > 1e-6 else np.cross(dn, UP)
142
+ knee = a + dn * L1 * cos_a + pole * L1 * np.sqrt(1 - cos_a ** 2)
143
+ tail = self.sk.descendants(end)
144
+ old_end = self.poses[t, self.j(end)].copy()
145
+ shift = a + dn * dist - self.poses[t, self.j(end)]
146
+ self.poses[t, self.j(lower)] = knee
147
+ self.poses[t, tail] += shift
148
+ # re-normalise the lower bone exactly
149
+ e = self.poses[t, self.j(end)]; v = e - knee
150
+ self.poses[t, tail] += knee + v / np.linalg.norm(v) * L2 - e
151
+ if self._holds_weapon(tail): # a held weapon follows the hand
152
+ self.weapon[t] += self.poses[t, self.j(end)] - old_end
153
+
154
+ def legs(self):
155
+ """(upper, lower, foot) chains of the skeleton, detected by naming."""
156
+ sk = self.sk; out = []
157
+ for n in sk.joints:
158
+ if n.startswith("thigh_"):
159
+ s = n[len("thigh_"):]; out.append((n, f"calf_{s}", f"foot_{s}"))
160
+ elif n.endswith("_upper") and (n.startswith("front") or n.startswith("hind")):
161
+ p = n[:-len("_upper")]; out.append((n, f"{p}_lower", f"{p}_foot"))
162
+ elif n.endswith("_hip") and n.startswith("leg"):
163
+ p = n[:-len("_hip")]; out.append((n, f"{p}_knee", f"{p}_foot"))
164
+ return out
165
+
166
+ def gait(self, t0, t1, period=None, duty=0.6, lift=None, phases=None, max_stride=0.7, foot_offsets=None, blend_in=4):
167
+ """Plant-and-swing feet under the moving root over [t0, t1) with two-bone IK. Rest foot offsets are carried in
168
+ the body frame; each foot stays fixed on the ground during stance. phases: per-leg cycle offsets (default:
169
+ alternate left/right, diagonal pairs for four legs, tripod-like for six+). period=None picks the cycle length
170
+ from the root speed so one stance covers at most max_stride of the leg length (otherwise IK cannot keep the
171
+ planted foot and it slides)."""
172
+ chains = self.legs(); assert chains, "skeleton has no recognised legs"
173
+ if period is None:
174
+ leg_len = np.mean([self.sk.bone_lengths[self.j(c[1])] + self.sk.bone_lengths[self.j(c[2])] for c in chains])
175
+ speed = np.linalg.norm(self.poses[t1 - 1, 0, :2] - self.poses[t0, 0, :2]) / max(1, t1 - t0)
176
+ peak = 1.5 * speed # eased paths peak at 1.5x the mean speed
177
+ period = int(np.clip(max_stride * leg_len / max(peak * duty, 1e-3), 8, 48))
178
+ self.gait_period = period
179
+ n = len(chains)
180
+ if phases is None:
181
+ phases = [((k % 2) * 0.5 + (k // 2) * 0.25) % 1.0 for k in range(n)] if n > 2 else [0.0, 0.5]
182
+ lift = lift if lift is not None else 0.12 * self.sk.height
183
+ # body-frame foot offsets (x forward, y right): the skeleton's rest stance unless given (e.g. a wide lunge)
184
+ rest_rel = foot_offsets or {c: self.sk.rest[self.j(c[2])] - self.sk.rest[0] for c in chains}
185
+ def plant(c, cyc, ph):
186
+ tc = int(round(t0 + (cyc + duty / 2 - ph) * period)); tc = min(max(tc, 0), self.T - 1)
187
+ off = rest_rel[c] @ rot_z(self.yaw[tc]).T
188
+ p = self.poses[tc, 0] + off; p[2] = 0.0
189
+ return p
190
+ prev_feet = {c: self.poses[max(t0 - 1, 0), self.j(c[2])].copy() for c in chains}
191
+ for t in range(t0, t1):
192
+ for c, ph in zip(chains, phases):
193
+ x = (t - t0) / period + ph; cyc = int(np.floor(x)); s = x - cyc
194
+ if s < duty:
195
+ target = plant(c, cyc, ph)
196
+ else:
197
+ u = (s - duty) / (1 - duty)
198
+ target = plant(c, cyc, ph) * (1 - ease(u)) + plant(c, cyc + 1, ph) * ease(u)
199
+ target[2] += lift * np.sin(np.pi * u)
200
+ if blend_in and t0 > 0 and t - t0 < blend_in: # ease in from the feet before the gait
201
+ k = ease((t - t0 + 1) / (blend_in + 1))
202
+ target = prev_feet[c] * (1 - k) + target * k
203
+ self.two_bone_ik(t, *c, target=target, pole=self.forward(t) + 0.3 * UP)
204
+
205
+ def swing_limb(self, t0, t1, joint, axis, angle, back_by=None):
206
+ """Rotate `joint`'s subtree about `axis` (world vector or 'right'/'forward'/'up', body-relative) by `angle` rad
207
+ with ease-in-out, returning to rest over the following `back_by` frames if given."""
208
+ for t in range(t0, min(self.T, t1 + (back_by or 0))):
209
+ if t < t1:
210
+ a = angle * ease((t - t0) / max(1, t1 - t0))
211
+ else:
212
+ a = angle * (1 - ease((t - t1) / back_by))
213
+ ax = {"right": self.right(t), "forward": self.forward(t), "up": UP}.get(axis, axis) if isinstance(axis, str) else axis
214
+ self.rotate_subtree(t, joint, rot_axis(ax, a))
215
+
216
+ def reach(self, t0, t1, joint_chain, target, hold=0, pole=None):
217
+ """Two-bone reach of an (upper, lower, end) chain toward a world target and back."""
218
+ pole = pole if pole is not None else UP
219
+ for t in range(t0, min(self.T, t1 + hold + (t1 - t0))):
220
+ if t < t1:
221
+ u = ease((t - t0) / max(1, t1 - t0))
222
+ elif t < t1 + hold:
223
+ u = 1.0
224
+ else:
225
+ u = 1 - ease((t - t1 - hold) / max(1, t1 - t0))
226
+ cur = self.poses[t, self.j(joint_chain[2])]
227
+ self.two_bone_ik(t, *joint_chain, target=cur * (1 - u) + np.asarray(target, float) * u, pole=pole)
228
+
229
+ def lunge(self, t0, t1, distance, head_drop=0.0, recover=None, plant_feet=True):
230
+ """Body thrust forward `distance` cm (bite / charge) with optional head dip, then back over `recover` frames
231
+ (or stay if None). plant_feet keeps the feet on their t0 positions via IK while the body moves."""
232
+ planted = {c: self.poses[t0, self.j(c[2])].copy() for c in self.legs()}
233
+ for t in range(t0, self.T):
234
+ if t < t1:
235
+ u = ease((t - t0) / max(1, t1 - t0))
236
+ elif recover:
237
+ u = 1 - ease(min(1.0, (t - t1) / recover))
238
+ else:
239
+ u = 1.0
240
+ self.translate(t, t + 1, self.forward(t) * distance * u)
241
+ if head_drop and "neck_01" in self.sk.index:
242
+ self.rotate_subtree(t, "neck_01", rot_axis(self.right(t), head_drop * u))
243
+ if plant_feet and u > 0:
244
+ for c in self.legs(): # feet stay where they stood at t0
245
+ self.two_bone_ik(t, *c, target=planted[c], pole=self.forward(t) + 0.3 * UP)
246
+
247
+ def chain_wave(self, t0, t1, joints, axis, amplitude, cycles=1.0, delay=0.15):
248
+ """Travelling rotation along a joint chain (tail swipe, serpent slither, wing flap): joint k rotates about
249
+ `axis` by amplitude * sin(2 pi (cycles * u - k * delay)), applied root-to-tip."""
250
+ for t in range(t0, t1):
251
+ u = (t - t0) / max(1, t1 - t0); env = np.sin(np.pi * u)
252
+ for k, jn in enumerate(joints):
253
+ ax = {"right": self.right(t), "forward": self.forward(t), "up": UP}.get(axis, axis) if isinstance(axis, str) else axis
254
+ a = amplitude * env * np.sin(2 * np.pi * (cycles * u - k * delay))
255
+ self.rotate_subtree(t, jn, rot_axis(ax, a / max(1, len(joints)) * 1.5))
256
+
257
+ def hit_react(self, t0, t1, direction, push=40.0, lean=0.35):
258
+ """Stagger: pushed `push` cm along world `direction` with the upper body leaning away, recovering by t1."""
259
+ d = np.asarray(direction, float); d[2] = 0; d = d / np.linalg.norm(d)
260
+ spine = "spine_01" if "spine_01" in self.sk.index else self.sk.joints[1]
261
+ for t in range(t0, self.T):
262
+ u = (t - t0) / max(1, t1 - t0)
263
+ k = np.sin(np.pi * min(u, 1.0)) if t < t1 else 0.0
264
+ self.translate(t, t + 1, d * push * ease(min(u, 1.0)))
265
+ if k:
266
+ self.rotate_subtree(t, spine, rot_axis(np.cross(UP, d), lean * k))
267
+
268
+ # -------------------------------------------------------------------- weapon
269
+ def throw_weapon(self, t_release, t_catch, hold_frame, loop_side=250.0, loop_out=0.0, lift=40.0, spins=3,
270
+ spin_axis=None, camera_forward=None):
271
+ """Detach the weapon at t_release, fly a boomerang loop and land exactly on the weapon pose of `hold_frame`
272
+ at t_catch (pose there must already hold the weapon). spin_axis default: toward the camera (pinwheel)."""
273
+ w0 = self.weapon[t_release].copy(); w1 = self.weapon[hold_frame].copy()
274
+ L = np.linalg.norm(w0[1] - w0[0]); c0, c1 = w0.mean(0), w1.mean(0)
275
+ a0, a1 = (w0[1] - w0[0]) / L, (w1[1] - w1[0]) / L
276
+ fwd = np.asarray(camera_forward, float) if camera_forward is not None else self.forward(t_release)
277
+ tocam = -fwd.copy(); tocam[2] = 0; tocam /= np.linalg.norm(tocam)
278
+ side = np.cross(UP, tocam); side /= np.linalg.norm(side)
279
+ axis = tocam if spin_axis is None else np.asarray(spin_axis, float)
280
+ def slerp(p, q, u):
281
+ om = np.arccos(np.clip(p @ q, -1, 1))
282
+ return p if om < 1e-6 else (np.sin((1 - u) * om) * p + np.sin(u * om) * q) / np.sin(om)
283
+ for t in range(t_release + 1, t_catch):
284
+ u = (t - t_release) / (t_catch - t_release)
285
+ c = c0 + (c1 - c0) * ease(u) + loop_out * np.sin(np.pi * u) * tocam + loop_side * np.sin(2 * np.pi * u) * side + lift * np.sin(np.pi * u) * UP
286
+ d = rot_axis(axis, 2 * np.pi * spins * ease(u)) @ slerp(a0, a1, ease(u))
287
+ self.weapon[t] = [c - d * L / 2, c + d * L / 2]
ww_index/scripts/proxykit36/proxykit/moves.py ADDED
@@ -0,0 +1,258 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Combat moves built from the motion primitives. Each move edits a Track over a frame range and keeps feet planted
2
+ (or stepping) so the validator's foot-slide and floor checks pass without per-shot hand tuning.
3
+
4
+ Conventions: frame ranges are [t0, t1); world xy targets in cm; humanoid moves assume the BOSSV2V 17-joint layout with
5
+ the weapon in hand_r; quadruped moves assume the `quadruped`/`dragon` joint names.
6
+ """
7
+ import numpy as np
8
+ from .geometry import rot_axis, rot_z, UP
9
+ from .motion import ease
10
+
11
+ flat = lambda v: np.array([v[0], v[1], 0.0])
12
+ unit = lambda v: np.asarray(v, float) / np.linalg.norm(v)
13
+
14
+
15
+ def _clip01(x):
16
+ return float(np.clip(x, 0.0, 1.0))
17
+
18
+
19
+ # ------------------------------------------------------------------------------------------------------ feet control
20
+ def plant(tr, t0, t1, targets=None, pole_up=0.3):
21
+ """IK every leg to fixed world feet over [t0, t1). targets: {chain: xyz}; default = feet at t0 dropped to z=0."""
22
+ chains = tr.legs()
23
+ targets = targets or {c: flat(tr.poses[t0, tr.j(c[2])]) for c in chains}
24
+ for t in range(t0, min(t1, tr.T)):
25
+ for c in chains:
26
+ tr.two_bone_ik(t, *c, target=targets[c], pole=tr.forward(t) + UP * pole_up)
27
+ return targets
28
+
29
+
30
+ def step_to(tr, t0, t1, end_targets, lead=None, lift=None, pole_up=0.3, start_targets=None):
31
+ """Move each foot from its t0 position to end_targets[chain] with a lifted step, leading legs in the first 60 %
32
+ of the range and trailing legs in the last 60 %; feet are planted otherwise. The body must already be where it
33
+ should be for these frames (translate/turn first)."""
34
+ chains = tr.legs()
35
+ lead = lead or ("front" if any(c[0].startswith("front") for c in chains) else "thigh_l")
36
+ lift = lift if lift is not None else 0.12 * tr.sk.height
37
+ start = start_targets or {c: flat(tr.poses[t0, tr.j(c[2])]) for c in chains}
38
+ for t in range(t0, min(t1, tr.T)):
39
+ u = (t - t0) / max(1, t1 - t0 - 1)
40
+ for c in chains:
41
+ s = _clip01(u / 0.6) if c[0].startswith(lead) else _clip01((u - 0.4) / 0.6)
42
+ k = ease(s)
43
+ target = start[c] * (1 - k) + end_targets[c] * k + UP * lift * np.sin(np.pi * s)
44
+ tr.two_bone_ik(t, *c, target=target, pole=tr.forward(t) + UP * pole_up)
45
+ return end_targets
46
+
47
+
48
+ def body_feet_offsets(tr, t):
49
+ """Feet relative to the root in the body frame at frame t (for re-planting after moves)."""
50
+ R = rot_z(-tr.yaw[t]); root = flat(tr.poses[t, 0])
51
+ return {c: (flat(tr.poses[t, tr.j(c[2])]) - root) @ R.T for c in tr.legs()}
52
+
53
+
54
+ def feet_at(tr, t, offsets):
55
+ R = rot_z(tr.yaw[t]); root = flat(tr.poses[t, 0])
56
+ return {c: flat(root + o @ R.T) for c, o in offsets.items()}
57
+
58
+
59
+ # ----------------------------------------------------------------------------------------------------- body moves
60
+ def step_shift(tr, t0, t1, vec, hold_until=None, lead=None, extra=None):
61
+ """Shift the body by vec (world cm) over [t0, t1) with stepping feet; hold the new position afterwards (until the
62
+ end of the track or hold_until). extra(t, u) can rotate subtrees before the feet are solved."""
63
+ vec = np.asarray(vec, float); end = tr.T if hold_until is None else hold_until
64
+ offs = body_feet_offsets(tr, t0); start = {c: flat(tr.poses[t0, tr.j(c[2])]) for c in tr.legs()}
65
+ for t in range(t0, end):
66
+ u = ease(_clip01((t - t0) / max(1, t1 - t0)))
67
+ tr.translate(t, t + 1, vec * u)
68
+ if extra:
69
+ extra(t, u)
70
+ ends = {c: start[c] + flat(vec) for c in start}
71
+ step_to(tr, t0, t1, ends, lead=lead, start_targets=start)
72
+ plant(tr, t1, end, ends)
73
+ _ = offs
74
+
75
+
76
+ def turn_in_place(tr, t0, t1, dyaw, hold_until=None):
77
+ """Turn about the root by dyaw (rad) with stepping feet, holding the new facing afterwards."""
78
+ start = {c: flat(tr.poses[t0, tr.j(c[2])]) for c in tr.legs()}
79
+ offs = body_feet_offsets(tr, t0)
80
+ tr.turn(t0, t1, dyaw, hold=True)
81
+ end = tr.T if hold_until is None else hold_until
82
+ ends = feet_at(tr, min(t1, tr.T - 1), offs)
83
+ step_to(tr, t0, t1, ends, start_targets=start)
84
+ plant(tr, t1, end, ends)
85
+
86
+
87
+ def turn_toward(tr, t0, t1, target_xy, hold_until=None):
88
+ d = flat(np.asarray(target_xy, float)[:2].tolist() + [0]) - flat(tr.poses[t0, 0])
89
+ want = np.arctan2(d[1], d[0]); dy = (want - tr.yaw[t0] + np.pi) % (2 * np.pi) - np.pi
90
+ turn_in_place(tr, t0, t1, dy, hold_until)
91
+
92
+
93
+ def crouch(tr, t0, t1, depth, hold_until=None, release=None):
94
+ """Lower the body by depth cm (eased) with planted feet; hold until hold_until, then rise over release frames."""
95
+ feet = {c: flat(tr.poses[t0, tr.j(c[2])]) for c in tr.legs()}
96
+ end = tr.T if hold_until is None else hold_until
97
+ for t in range(t0, min(tr.T, end + (release or 0))):
98
+ if t < t1:
99
+ u = ease((t - t0) / max(1, t1 - t0))
100
+ elif t < end:
101
+ u = 1.0
102
+ else:
103
+ u = 1 - ease((t - end) / release)
104
+ tr.translate(t, t + 1, -UP * depth * u)
105
+ plant(tr, t0, min(tr.T, end + (release or 0)), feet)
106
+
107
+
108
+ # ------------------------------------------------------------------------------------------------ quadruped moves
109
+ def pounce(tr, t0, t_takeoff, t_land, target_xy, height=120.0, crouch_depth=None, recover=14, bite=0.5):
110
+ """Quadruped leap: crouch [t0, t_takeoff), fly to put the front paws at target_xy, land and stand back up.
111
+ Front legs reach forward and hind legs stretch back in the air; the head dips to bite on the way down."""
112
+ H = tr.sk.meta.get("shoulder_height", tr.sk.height * 0.5)
113
+ crouch_depth = crouch_depth if crouch_depth is not None else 0.2 * H
114
+ crouch(tr, t0, t_takeoff, crouch_depth, hold_until=t_takeoff)
115
+ offs = body_feet_offsets(tr, t0)
116
+ fwd = tr.forward(t_takeoff)
117
+ # a wyvern's forelimbs are its wings, so it has no "front" legs and lands on its hind feet instead
118
+ front_feet = [c for c in tr.legs() if c[0].startswith("front")] or list(tr.legs())
119
+ front_off = np.mean([offs[c] for c in front_feet], axis=0) # body-frame front-paw centroid
120
+ root0 = tr.poses[t_takeoff, 0].copy()
121
+ land_root_xy = np.asarray(target_xy, float)[:2] - (rot_z(tr.yaw[t_takeoff]) @ front_off)[:2]
122
+ delta = np.array([land_root_xy[0] - root0[0], land_root_xy[1] - root0[1], 0.0])
123
+ leg_len = np.mean([tr.sk.bone_lengths[tr.j(c[1])] + tr.sk.bone_lengths[tr.j(c[2])] for c in tr.legs()])
124
+ for t in range(t_takeoff, tr.T):
125
+ u = _clip01((t - t_takeoff) / max(1, t_land - t_takeoff))
126
+ z = 4 * height * u * (1 - u) - crouch_depth * (1 - ease(_clip01(u * 4))) # rise out of the crouch smoothly
127
+ tr.translate(t, t + 1, delta * ease(u) + UP * (z if t < t_land else 0.0))
128
+ for t in range(t_takeoff, t_land):
129
+ u = (t - t_takeoff) / max(1, t_land - t_takeoff)
130
+ if bite:
131
+ tr.rotate_subtree(t, "neck_01", rot_axis(tr.right(t), bite * np.sin(np.pi * u)))
132
+ for c in tr.legs():
133
+ hip = tr.poses[t, tr.j(c[0])]
134
+ if c[0].startswith("front"):
135
+ target = hip + fwd * 0.55 * leg_len - UP * 0.55 * leg_len
136
+ else:
137
+ target = hip - fwd * 0.6 * leg_len - UP * 0.45 * leg_len
138
+ tr.two_bone_ik(t, *c, target=target, pole=fwd + UP * 0.3)
139
+ land_feet = feet_at(tr, min(t_land, tr.T - 1), offs)
140
+ crouch(tr, t_land, t_land + 3, 0.15 * H, hold_until=t_land + 3, release=recover)
141
+ plant(tr, t_land, tr.T, land_feet)
142
+
143
+
144
+ # ------------------------------------------------------------------------------------------------- humanoid moves
145
+ LEGS_H = (("thigh_l", "calf_l", "foot_l"), ("thigh_r", "calf_r", "foot_r"))
146
+
147
+
148
+ def stance_targets(tr, t, front_local=(58.0, -12.0), back_local=(-58.0, 12.0), front="l"):
149
+ """World feet of a lunge stance for the root and facing at frame t; *_local are body-frame (forward, right) cm."""
150
+ R = rot_z(tr.yaw[t]); root = flat(tr.poses[t, 0])
151
+ loc = {front: front_local, ("r" if front == "l" else "l"): back_local}
152
+ return {c: flat(root + R @ np.array([loc[c[0][-1]][0], loc[c[0][-1]][1], 0.0])) for c in LEGS_H}
153
+
154
+
155
+ def stance_offsets(front_local=(58.0, -12.0), back_local=(-58.0, 12.0), front="l"):
156
+ """The same stance as body-frame offsets per leg chain (for Track.gait(foot_offsets=...))."""
157
+ loc = {front: front_local, ("r" if front == "l" else "l"): back_local}
158
+ return {c: np.array([loc[c[0][-1]][0], loc[c[0][-1]][1], 0.0]) for c in LEGS_H}
159
+
160
+
161
+ def stance(tr, t0, t1, planted=True, from_current=False, **kw):
162
+ """Humanoid lunge stance over [t0, t1): feet planted at their t0 stance positions (or following the root).
163
+ from_current plants the feet where they already are at t0 - 1 (continuity after a gait or another move)."""
164
+ fixed = ({c: flat(tr.poses[max(t0 - 1, 0), tr.j(c[2])]) for c in LEGS_H} if from_current and t0 > 0
165
+ else stance_targets(tr, t0, **kw))
166
+ for t in range(t0, min(t1, tr.T)):
167
+ tg = fixed if planted else stance_targets(tr, t, **kw)
168
+ for c in LEGS_H:
169
+ tr.two_bone_ik(t, *c, target=tg[c], pole=tr.forward(t) + UP * 0.2)
170
+
171
+
172
+ def _airborne_legs(tr, t0, t1, start, land, tuck_fn):
173
+ """Feet through a jump: blend from the take-off feet to the tucked pose in the first 25 %, tucked in the middle,
174
+ blend to the landing stance in the last 25 %; never below the floor."""
175
+ def mix(a, b, kh, kv):
176
+ return np.array([a[0] * (1 - kh) + b[0] * kh, a[1] * (1 - kh) + b[1] * kh, a[2] * (1 - kv) + b[2] * kv])
177
+ for t in range(t0, t1):
178
+ u = (t - t0) / max(1, t1 - t0 - 1) # reaches 1 on the last airborne frame
179
+ for i, c in enumerate(LEGS_H):
180
+ tuck = tuck_fn(t, u, i, c)
181
+ if u < 0.25: # take-off: lift first, then draw the foot in
182
+ k = u / 0.25; tg = mix(start[c], tuck, ease(_clip01((k - 0.4) / 0.6)), ease(_clip01(k / 0.4)))
183
+ if tg[2] < 8.0: # still touching the ground: no horizontal travel yet
184
+ tg[:2] = start[c][:2]
185
+ elif u > 0.75: # landing: line up over the landing spot, then put it down
186
+ k = (u - 0.75) / 0.25; tg = mix(tuck, land[c], ease(_clip01(k / 0.6)), ease(_clip01((k - 0.6) / 0.4)))
187
+ if tg[2] < 8.0: # touching down: already over the landing spot
188
+ tg[:2] = land[c][:2]
189
+ else:
190
+ tg = tuck.copy()
191
+ tg[2] = max(tg[2], 0.0)
192
+ tr.two_bone_ik(t, *c, target=tg, pole=tr.forward(t))
193
+
194
+
195
+ def side_hop(tr, t0, t1, offset_xy, height=35.0, tilt=0.45, stance_kw=None):
196
+ """Dodge hop with a sideways body roll, landing back into a planted stance."""
197
+ stance_kw = stance_kw or {}
198
+ start = {c: flat(tr.poses[t0, tr.j(c[2])]) for c in LEGS_H}
199
+ tr.jump(t0, t1, height=height, offset=offset_xy)
200
+ off = np.array([offset_xy[0], offset_xy[1], 0.0]); side = np.sign(off @ tr.right(t0)) or 1.0
201
+ leg = tr.sk.bone_lengths[tr.j("calf_l")] + tr.sk.bone_lengths[tr.j("foot_l")]
202
+ land = stance_targets(tr, min(t1, tr.T - 1), **stance_kw)
203
+ for t in range(t0, t1):
204
+ u = (t - t0) / max(1, t1 - t0)
205
+ tr.rotate_subtree(t, "spine_01", rot_axis(tr.forward(t), -side * tilt * np.sin(np.pi * u)))
206
+ _airborne_legs(tr, t0, t1, start, land,
207
+ lambda t, u, i, c: tr.poses[t, tr.j(c[0])] - UP * leg * (0.95 - 0.4 * np.sin(np.pi * u)) + tr.forward(t) * 10)
208
+ stance(tr, t1, tr.T, **stance_kw)
209
+
210
+
211
+ def arm_arc(tr, t0, t1, axis, angles, joint="upperarm_r"):
212
+ """Rotate an arm subtree about a body axis ('right', 'up', 'forward' or a vector) following keyframed angles:
213
+ angles = [(u, rad), ...] with u in [0, 1] over [t0, t1); held weapons follow."""
214
+ us = np.array([a[0] for a in angles]); vs = np.array([a[1] for a in angles])
215
+ for t in range(t0, min(t1, tr.T)):
216
+ u = (t - t0) / max(1, t1 - t0 - 1)
217
+ k = np.searchsorted(us, u, side="right") - 1; k = min(max(k, 0), len(us) - 2)
218
+ w = ease(_clip01((u - us[k]) / max(us[k + 1] - us[k], 1e-6)))
219
+ a = vs[k] * (1 - w) + vs[k + 1] * w
220
+ ax = {"right": tr.right(t), "forward": tr.forward(t), "up": UP}[axis] if isinstance(axis, str) else axis
221
+ tr.rotate_subtree(t, joint, rot_axis(ax, a))
222
+
223
+
224
+ def slash(tr, t0, t1, direction="rl", arc=1.8, twist=0.45, recover=10):
225
+ """Horizontal sword slash: wind back, shoulder sweep with a torso twist, back to guard over `recover` frames."""
226
+ s = -1.0 if direction == "rl" else 1.0
227
+ x = (t1 - t0) / (t1 - t0 + recover)
228
+ arm_arc(tr, t0, t1 + recover, "up", [(0.0, 0.0), (0.3 * x, -s * 0.6), (x, s * arc), (1.0, 0.0)])
229
+ arm_arc(tr, t0, t1 + recover, "up", [(0.0, 0.0), (0.3 * x, -s * 0.2), (x, s * twist), (1.0, 0.0)], joint="spine_01")
230
+
231
+
232
+ def jump_attack(tr, t0, t_land, target_xy, height=70.0, windup=6, recover=10, stance_kw=None):
233
+ """Leaping overhead chop: crouch windup, fly to target_xy with the sword raised overhead, chop down through the
234
+ landing into a planted lunge stance."""
235
+ stance_kw = stance_kw or {}
236
+ t_take = t0 + windup
237
+ start = {c: flat(tr.poses[max(t0 - 1, 0), tr.j(c[2])]) for c in LEGS_H} # take off from where the feet are
238
+ root0 = tr.poses[t_take, 0].copy()
239
+ d = np.array([target_xy[0] - root0[0], target_xy[1] - root0[1], 0.0])
240
+ for t in range(t0, t_take):
241
+ tr.translate(t, t + 1, -UP * 12 * ease((t - t0) / max(1, windup)))
242
+ for t in range(t_take, tr.T):
243
+ u = _clip01((t - t_take) / max(1, t_land - t_take))
244
+ z = 4 * height * u * (1 - u) - 12 * (1 - ease(_clip01(u * 3))) # leave the 12 cm windup crouch smoothly
245
+ tr.translate(t, t + 1, d * ease(u) + UP * (z if t < t_land else 0.0))
246
+ leg = tr.sk.bone_lengths[tr.j("calf_l")] + tr.sk.bone_lengths[tr.j("foot_l")]
247
+ for t in range(t0, t_take):
248
+ for c in LEGS_H:
249
+ tr.two_bone_ik(t, *c, target=start[c], pole=tr.forward(t) + UP * 0.2)
250
+ land = stance_targets(tr, min(t_land, tr.T - 1), **stance_kw)
251
+ _airborne_legs(tr, t_take, t_land, start, land,
252
+ lambda t, u, i, c: tr.poses[t, tr.j(c[0])] - UP * leg * (0.95 - 0.45 * np.sin(np.pi * u))
253
+ + tr.forward(t) * ((18 if i == 0 else -12) * np.sin(np.pi * u)))
254
+ stance(tr, t_land, tr.T, **stance_kw)
255
+ total = (t_land + recover) - t0
256
+ arm_arc(tr, t0, t_land + recover, "right",
257
+ [(0.0, 0.0), ((t_take - t0 + 0.55 * (t_land - t_take)) / total, -3.3), ((t_land + 2 - t0) / total, -0.9), (1.0, 0.0)])
258
+ arm_arc(tr, t_take, t_land + recover, "right", [(0.0, 0.0), (0.5, -0.25), ((t_land + 2 - t_take) / (t_land + recover - t_take), 0.35), (1.0, 0.0)], joint="spine_01")
ww_index/scripts/proxykit36/proxykit/render.py ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Condition renderer for arbitrary skeleton topologies, encoding identical to BOSSV2V capture_720p30_v1.
2
+
3
+ The fragment shader is the dataset's analytic ray caster (entity_geometry_gpu.py) with larger uniform arrays
4
+ (256 capsules, 128 boxes) so non-humanoid monsters fit. Per pixel, nearest surface among: sea plane (id 5), finite
5
+ platform disc (id 1), yaw-rotated boxes (ids 2-4), capsules/spheres (id = slot * 32 + part_id).
6
+ R = environment: 0.5 + 0.5 * h ; actors: 0.2 * h h = clamp((world_z_m - hmin) / (hmax - hmin))
7
+ G = actor id / 255 (environment 0)
8
+ B = 1 - clamp((camera_forward_depth_m - near) / (far - near))
9
+ Output rgb16 (H, W, 3) uint16, bottom-up flipped to image order.
10
+ """
11
+ import math, shutil, subprocess
12
+ import numpy as np
13
+ import moderngl
14
+
15
+ MAX_CAPSULES, MAX_BOXES = 256, 128
16
+ HEIGHT_RANGE_M, DEPTH_RANGE_M = (-8.0, 32.0), (0.1, 80.0)
17
+
18
+ VERTEX = '''#version 330
19
+ void main(){vec2 p=vec2((gl_VertexID<<1)&2,gl_VertexID&2);gl_Position=vec4(p*2.-1.,0.,1.);}'''
20
+ FRAGMENT = '''#version 330
21
+ uniform vec2 resolution;uniform vec3 origin,forward,right,up;uniform float hfov;
22
+ uniform vec2 heightRange,depthRange;
23
+ uniform int sceneCount;uniform vec4 boxCenter[%(B)d],boxSize[%(B)d];uniform vec3 platform;
24
+ uniform int count;uniform vec4 aa[%(C)d],bb[%(C)d];layout(location=0) out uvec4 outData;
25
+ float sphere(vec3 rd,vec3 center,float r){vec3 q=-center;float b=dot(q,rd),c=dot(q,q)-r*r,h=b*b-c;if(h<0.)return 1e20;float t=-b-sqrt(h);if(t<=1.)t=-b+sqrt(h);return t>1.?t:1e20;}
26
+ float capsule(vec3 rd,vec3 a,vec3 b,float radius){
27
+ vec3 ba=b-a,oa=-a;float baba=dot(ba,ba),result=min(sphere(rd,a,radius),sphere(rd,b,radius));
28
+ if(baba<1e-8)return result;
29
+ float bard=dot(ba,rd),baoa=dot(ba,oa),rdoa=dot(rd,oa);
30
+ float A=baba-bard*bard,B=baba*rdoa-baoa*bard,C=baba*dot(oa,oa)-baoa*baoa-radius*radius*baba;
31
+ float h=B*B-A*C;if(h>=0.&&abs(A)>1e-8){float root=sqrt(h);
32
+ float t=(-B-root)/A,y=baoa+t*bard;if(t>1.&&y>=0.&&y<=baba)result=min(result,t);
33
+ t=(-B+root)/A;y=baoa+t*bard;if(t>1.&&y>=0.&&y<=baba)result=min(result,t);}
34
+ return result;
35
+ }
36
+ float boxHit(vec3 rd,vec4 center,vec3 halfSize){
37
+ vec3 q=origin-center.xyz;float c=cos(center.w),s=sin(center.w);
38
+ vec3 ro=vec3(c*q.x+s*q.y,-s*q.x+c*q.y,q.z);rd=vec3(c*rd.x+s*rd.y,-s*rd.x+c*rd.y,rd.z);
39
+ float nearT=-1e20,farT=1e20;
40
+ for(int k=0;k<3;k++){if(abs(rd[k])<1e-8){if(abs(ro[k])>halfSize[k])return 1e20;}
41
+ else{float a=(-halfSize[k]-ro[k])/rd[k],b=(halfSize[k]-ro[k])/rd[k];nearT=max(nearT,min(a,b));farT=min(farT,max(a,b));}}
42
+ if(farT<nearT)return 1e20;float t=nearT>1.?nearT:farT;return t>1.?t:1e20;
43
+ }
44
+ void main(){
45
+ vec2 xy=(gl_FragCoord.xy-resolution*.5)/(resolution.x*.5/tan(hfov*.5));
46
+ vec3 localRay=normalize(vec3(1.,xy.x,xy.y));vec3 ray=forward*localRay.x+right*localRay.y+up*localRay.z;
47
+ float t=1e20;uint id=0u;
48
+ if(abs(ray.z)>1e-7){float d=(platform.z-origin.z)/ray.z;if(d>1.&&d<100000.){t=d;id=5u;}
49
+ d=(platform.y-origin.z)/ray.z;vec2 p=origin.xy+ray.xy*d;if(d>1.&&d<t&&d<100000.&&dot(p,p)<=platform.x*platform.x){t=d;id=1u;}}
50
+ for(int i=0;i<%(B)d;i++){if(i>=sceneCount)break;float d=boxHit(ray,boxCenter[i],boxSize[i].xyz);if(d<t){t=d;id=uint(boxSize[i].w);}}
51
+ for(int i=0;i<%(C)d;i++){if(i>=count)break;float d=capsule(localRay,aa[i].xyz,bb[i].xyz,aa[i].w);if(d<t){t=d;id=uint(bb[i].w);}}
52
+ if(id==0u){outData=uvec4(0);return;}
53
+ bool environment=id<=5u;float height=(origin.z+t*ray.z)*.01,depth=t*localRay.x*.01;
54
+ float h=clamp((height-heightRange.x)/(heightRange.y-heightRange.x),0.,1.);
55
+ float red=environment?.5+.5*h:.2*h;
56
+ float blue=1.-clamp((depth-depthRange.x)/(depthRange.y-depthRange.x),0.,1.);
57
+ uint flags=8u;if(height<heightRange.x||height>heightRange.y)flags|=1u;
58
+ if(depth<depthRange.x||depth>depthRange.y)flags|=environment?4u:2u;
59
+ outData=uvec4(uint(round(red*65535.)),environment?0u:id*257u,uint(round(blue*65535.)),flags);
60
+ }''' % {"B": MAX_BOXES, "C": MAX_CAPSULES}
61
+
62
+
63
+ class Renderer:
64
+ """scene: dict(platform=dict(radius_cm, z_cm), sea_z_cm, boxes=[dict(center_cm, size_cm, yaw_degrees, label)])."""
65
+
66
+ def __init__(self, scene, width=1280, height=720, device_index=None):
67
+ kw = dict(backend="egl", require=330)
68
+ if device_index is not None:
69
+ kw["device_index"] = int(device_index)
70
+ self.ctx = moderngl.create_standalone_context(**kw)
71
+ self.w, self.h = width, height
72
+ self.program = self.ctx.program(vertex_shader=VERTEX, fragment_shader=FRAGMENT)
73
+ self.vao = self.ctx.vertex_array(self.program, [])
74
+ self.texture = self.ctx.texture((width, height), 4, dtype="u2")
75
+ self.fbo = self.ctx.framebuffer(color_attachments=[self.texture])
76
+ self.program["resolution"].value = (width, height)
77
+ self.program["heightRange"].value = HEIGHT_RANGE_M
78
+ self.program["depthRange"].value = DEPTH_RANGE_M
79
+ self.set_scene(scene)
80
+
81
+ def set_scene(self, scene):
82
+ boxes = scene.get("boxes", [])
83
+ assert len(boxes) <= MAX_BOXES, f"{len(boxes)} boxes > {MAX_BOXES}"
84
+ self.program["platform"].value = (scene["platform"]["radius_cm"], scene["platform"]["z_cm"], scene["sea_z_cm"])
85
+ centers = np.zeros((MAX_BOXES, 4), np.float32); sizes = np.zeros_like(centers)
86
+ for i, b in enumerate(boxes):
87
+ assert b["label"] in (2, 3, 4)
88
+ centers[i] = [*b["center_cm"], math.radians(b["yaw_degrees"])]
89
+ sizes[i] = [*[v * 0.5 for v in b["size_cm"]], b["label"]]
90
+ self.program["boxCenter"].write(centers.tobytes()); self.program["boxSize"].write(sizes.tobytes())
91
+ self.program["sceneCount"].value = len(boxes)
92
+
93
+ def render(self, camera, capsules):
94
+ """camera: geometry.Camera; capsules: iterable of (a_cm, b_cm, radius_cm, label). Returns rgb16 and clip stats."""
95
+ rot = camera.R; origin = np.asarray(camera.position, float)
96
+ for i, key in enumerate(["forward", "right", "up"]):
97
+ self.program[key].value = tuple(rot[:, i])
98
+ self.program["origin"].value = tuple(origin)
99
+ self.program["hfov"].value = math.radians(camera.fov)
100
+ aa = np.zeros((MAX_CAPSULES, 4), np.float32); bb = np.zeros_like(aa); n = 0
101
+ for a, b, radius, label in capsules:
102
+ assert n < MAX_CAPSULES, "too many capsules"
103
+ assert 0 < int(label) < 256 and int(label) > 5, f"actor label {label} collides with environment ids"
104
+ aa[n] = [*((np.asarray(a, float) - origin) @ rot), radius]
105
+ bb[n] = [*((np.asarray(b, float) - origin) @ rot), label]
106
+ n += 1
107
+ self.program["aa"].write(aa.tobytes()); self.program["bb"].write(bb.tobytes()); self.program["count"].value = n
108
+ self.fbo.use(); self.ctx.viewport = (0, 0, self.w, self.h); self.vao.render(vertices=3)
109
+ rgba = np.frombuffer(self.fbo.read(components=4, dtype="u2", alignment=1), dtype="<u2").reshape(self.h, self.w, 4)[::-1]
110
+ return np.ascontiguousarray(rgba[:, :, :3]), {
111
+ "height_clipped": int(np.count_nonzero(rgba[:, :, 3] & 1)),
112
+ "actor_depth_clipped": int(np.count_nonzero(rgba[:, :, 3] & 2))}
113
+
114
+ def close(self):
115
+ self.vao.release(); self.fbo.release(); self.texture.release(); self.program.release(); self.ctx.release()
116
+
117
+
118
+ class VideoWriter:
119
+ """rgb16 frames -> 10-bit 4:4:4 full-range BT.709 CRF12 MP4 (dataset settings); optional 1024x576 training scale."""
120
+
121
+ def __init__(self, path, width=1280, height=720, fps=30, scale_to=None):
122
+ vf = "scale=in_range=full:out_range=full:out_color_matrix=bt709"
123
+ if scale_to:
124
+ vf = f"scale={scale_to[0]}:{scale_to[1]}:flags=area:in_range=full:out_range=full:out_color_matrix=bt709"
125
+ cmd = [shutil.which("ffmpeg"), "-threads", "2", "-filter_threads", "1", "-v", "error", "-y", "-f", "rawvideo", "-pix_fmt", "rgb48le", "-s", f"{width}x{height}",
126
+ "-r", str(fps), "-i", "-", "-an", "-vf", vf, "-threads", "2", "-c:v", "libx264", "-crf", "12", "-preset", "fast",
127
+ "-pix_fmt", "yuv444p10le", "-profile:v", "high444", "-color_range", "pc", "-colorspace", "bt709",
128
+ "-color_primaries", "bt709", "-color_trc", "bt709", "-movflags", "+faststart", str(path)]
129
+ self.proc = subprocess.Popen(cmd, stdin=subprocess.PIPE)
130
+
131
+ def write(self, rgb16):
132
+ self.proc.stdin.write(np.ascontiguousarray(rgb16, dtype="<u2").tobytes())
133
+
134
+ def close(self):
135
+ self.proc.stdin.close()
136
+ assert self.proc.wait(timeout=300) == 0, "ffmpeg failed"
137
+
138
+
139
+ def preview_rgb8(rgb16):
140
+ return (rgb16 // 257).astype(np.uint8)
141
+
142
+
143
+ _SLOT_HUES = {1: (60, 200, 255), 2: (255, 120, 40), 3: (120, 255, 120), 4: (230, 90, 255), 5: (255, 230, 80), 6: (255, 90, 150), 7: (180, 180, 255)}
144
+
145
+
146
+ def _actor_lut():
147
+ """G value (slot*32 + part) -> RGB8 for the human-readable view: hue by slot, shade by part (head bright, left
148
+ limbs light, right limbs dark, tail/wings mid), weapon bright yellow."""
149
+ lut = np.zeros((256, 3), np.float32)
150
+ for g in range(33, 256):
151
+ slot, part = divmod(g, 32)
152
+ if slot not in _SLOT_HUES or part == 0:
153
+ continue
154
+ base = np.array(_SLOT_HUES[slot], np.float32)
155
+ if part == 18:
156
+ lut[g] = (255, 255, 90)
157
+ continue
158
+ if part == 5:
159
+ k = 1.25
160
+ elif part in (6, 7, 8, 12, 13, 14, 23, 24, 25, 29):
161
+ k = 1.1
162
+ elif part in (9, 10, 11, 15, 16, 17, 26, 27, 28, 30):
163
+ k = 0.7
164
+ else:
165
+ k = 0.9
166
+ lut[g] = np.clip(base * k + (40 if part == 5 else 0), 0, 255)
167
+ return lut.astype(np.uint8)
168
+
169
+
170
+ ACTOR_LUT = _actor_lut()
171
+
172
+
173
+ def readable_rgb8(rgb16):
174
+ """Human-readable frame from an exact (pre-encoding) condition frame: environment in grey shaded by nearness,
175
+ sky dark blue, actors coloured by identity slot and body part."""
176
+ g = (rgb16[..., 1] // 257).astype(np.int32)
177
+ r = rgb16[..., 0].astype(np.float32) / 65535
178
+ b = rgb16[..., 2].astype(np.float32) / 65535
179
+ out = np.empty(rgb16.shape, np.uint8)
180
+ out[:] = (18, 22, 38)
181
+ env = (g == 0) & (r > 0)
182
+ shade = np.clip(60 + 150 * b + 60 * (r - 0.5), 0, 255)
183
+ out[env] = shade[env][:, None].astype(np.uint8)
184
+ actor = g > 0
185
+ out[actor] = ACTOR_LUT[g[actor]]
186
+ return out
187
+
188
+
189
+ class ReadableWriter:
190
+ """RGB8 frames -> H.264 yuv420p CRF18 MP4 for viewing."""
191
+
192
+ def __init__(self, path, width=1280, height=720, fps=30):
193
+ cmd = [shutil.which("ffmpeg"), "-threads", "2", "-filter_threads", "1", "-v", "error", "-y", "-f", "rawvideo", "-pix_fmt", "rgb24", "-s", f"{width}x{height}",
194
+ "-r", str(fps), "-i", "-", "-an", "-threads", "2", "-c:v", "libx264", "-crf", "18", "-preset", "fast", "-pix_fmt", "yuv420p",
195
+ "-movflags", "+faststart", str(path)]
196
+ self.proc = subprocess.Popen(cmd, stdin=subprocess.PIPE)
197
+
198
+ def write(self, rgb8):
199
+ self.proc.stdin.write(np.ascontiguousarray(rgb8, dtype=np.uint8).tobytes())
200
+
201
+ def close(self):
202
+ self.proc.stdin.close()
203
+ assert self.proc.wait(timeout=300) == 0, "ffmpeg failed"
ww_index/scripts/proxykit36/proxykit/runtime.py ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Real-time combat loop: brains pick agent-designed moves from the live state, actors evaluate one frame at a time,
2
+ hits trigger reactions, bodies push apart, a causal follow camera frames the fight, and every frame renders straight
3
+ to condition frames (the model input) and readable frames.
4
+
5
+ Brain spec (JSON-able, written by the agent per character):
6
+ {"moves": {name: {"range": [min_cm, max_cm], "angle": deg, "cooldown": frames, "weight": w}},
7
+ "locomotion": {"speed": cm/frame, "turn": rad/frame, "keep": [min_cm, max_cm], "circle": cm/frame},
8
+ "aggression": chance per idle frame to attack when a move is eligible, "min_idle": frames between moves,
9
+ "reaction": move played when hit,
10
+ player bot only: "dodge": {"default": move, "<joint prefix>": move}, "dodge_chance", "reaction_frames", "punish"}
11
+ Distances are between body centres.
12
+ """
13
+ import json, time
14
+ from pathlib import Path
15
+ import numpy as np
16
+ from .effector import MoveRun, flat, axes, mirror, wrap, TORSO
17
+ from .geometry import Camera, UP
18
+ from .render import Renderer, VideoWriter, ReadableWriter, readable_rgb8
19
+
20
+
21
+ def relation(actor, other):
22
+ d = flat(other.center() - actor.center())
23
+ return wrap(np.arctan2(d[1], d[0]) - actor.yaw), float(np.linalg.norm(d))
24
+
25
+
26
+ def _seg_dist(p, a, b):
27
+ ab = b - a; s = np.clip(((p - a) * ab).sum(-1) / np.maximum((ab * ab).sum(-1), 1e-9), 0, 1)
28
+ return np.linalg.norm(a + ab * s[..., None] - p, axis=-1)
29
+
30
+
31
+ def body_radius(sk):
32
+ return 0.13 * sk.height if sk.family == "humanoid" else 0.24 * sk.meta.get("shoulder_height", sk.height)
33
+
34
+
35
+ class Brain:
36
+ """Utility brain: when idle, maybe start an eligible move (range, facing, cooldown) chosen by weight; otherwise turn
37
+ toward the opponent and manage distance (approach / back off / circle)."""
38
+
39
+ def __init__(self, spec, moves, rng):
40
+ self.spec, self.moves, self.rng = spec, moves, rng
41
+ self.cool = {m: 0 for m in spec["moves"]}; self.idle = 0
42
+
43
+ def eligible(self, actor, other, t):
44
+ ang, dist = relation(actor, other)
45
+ return [(n, c.get("weight", 1.0)) for n, c in self.spec["moves"].items()
46
+ if t >= self.cool[n] and c["range"][0] <= dist <= c["range"][1] and abs(np.degrees(ang)) <= c.get("angle", 45)]
47
+
48
+ def start(self, actor, other, t, world, name, spec=None, label=None):
49
+ actor.start(spec or self.moves[name], other, t)
50
+ if name in self.cool:
51
+ self.cool[name] = t + self.spec["moves"][name].get("cooldown", 60)
52
+ self.idle = 0
53
+ world.log.append((t, actor.name, label or name))
54
+
55
+ def attack(self, actor, other, t, world, force=False):
56
+ if self.idle < self.spec.get("min_idle", 12):
57
+ return False
58
+ choices = self.eligible(actor, other, t)
59
+ if choices and (force or self.rng.random() < self.spec.get("aggression", 0.2)):
60
+ names, w = zip(*choices)
61
+ self.start(actor, other, t, world, str(self.rng.choice(names, p=np.array(w) / sum(w))))
62
+ return True
63
+ return False
64
+
65
+ def locomote(self, actor, other, t):
66
+ loco = self.spec.get("locomotion", {})
67
+ ang, dist = relation(actor, other)
68
+ actor.yaw += float(np.clip(ang, -loco.get("turn", 0.08), loco.get("turn", 0.08)))
69
+ f, r = axes(actor.yaw)
70
+ lo, hi = loco.get("keep", [250, 450]); speed = loco.get("speed", 6.0)
71
+ if dist > hi:
72
+ step = f * min(speed, dist - hi)
73
+ elif dist < lo:
74
+ step = -f * min(speed * 0.7, lo - dist)
75
+ else:
76
+ step = r * loco.get("circle", 3.0) * (1 if (t // 100) % 2 == 0 else -1)
77
+ actor.root += step
78
+
79
+ def act(self, actor, other, t, world):
80
+ if actor.move is not None:
81
+ return
82
+ self.idle += 1
83
+ if not self.attack(actor, other, t, world):
84
+ self.locomote(actor, other, t)
85
+
86
+
87
+ class PlayerBot(Brain):
88
+ """Stand-in for a human: reacts to the opponent's wind-up with a dodge (or a jump for low sweeps) and punishes
89
+ recovery frames. Replace act() with controller input for live play."""
90
+
91
+ def __init__(self, spec, moves, rng):
92
+ super().__init__(spec, moves, rng); self.read = None
93
+
94
+ def act(self, actor, other, t, world):
95
+ if actor.move is not None:
96
+ return
97
+ self.idle += 1
98
+ om = other.move
99
+ if om is not None and om.phase(t) == "windup" and self.read is not om and t - om.t0 >= self.spec.get("reaction_frames", 6):
100
+ self.read = om
101
+ if self.rng.random() < self.spec.get("dodge_chance", 0.7):
102
+ parts = om.spec["hit"]["parts"]; dodge = self.spec["dodge"]
103
+ name = next((m for pre, m in dodge.items() if pre != "default" and any(p.startswith(pre) for p in parts)), dodge["default"])
104
+ ang, _ = relation(other, actor) # dodge away from the side the attacker leans to
105
+ side = mirror(self.moves[name]) if (ang > 0) == (self.rng.random() < 0.8) else self.moves[name]
106
+ self.start(actor, other, t, world, name, spec=side, label=name)
107
+ return
108
+ if self.spec.get("punish") and om is not None and om.phase(t) == "recovery":
109
+ if self.attack(actor, other, t, world, force=True):
110
+ return
111
+ if not self.attack(actor, other, t, world):
112
+ self.locomote(actor, other, t)
113
+
114
+
115
+ class World:
116
+ def __init__(self, env, actors, brains, reactions, fps=30):
117
+ self.env, self.actors, self.brains, self.reactions, self.fps = env, actors, brains, reactions, fps
118
+ self.log, self.hits = [], []
119
+ self.cam_pos = self.cam_tgt = None
120
+ self.arena = env.get("platform", {}).get("radius_cm", 1e9)
121
+
122
+ def other(self, a):
123
+ return next(x for x in self.actors if x is not a)
124
+
125
+ def camera(self, player, subject, dist=620.0, height=280.0, shoulder=230.0, look=0.55, look_z=110.0, alpha=0.18, fov=60.0):
126
+ p, s = flat(player.center()), flat(subject.center())
127
+ d = s - p; n = np.linalg.norm(d); d = d / n if n > 1 else axes(player.yaw)[0]
128
+ right = np.array([-d[1], d[0], 0.0])
129
+ pos = p - d * dist + right * shoulder + UP * height
130
+ tgt = p * (1 - look) + s * look + UP * look_z
131
+ if self.cam_pos is None:
132
+ self.cam_pos, self.cam_tgt = pos, tgt
133
+ self.cam_pos = self.cam_pos + alpha * (pos - self.cam_pos); self.cam_tgt = self.cam_tgt + alpha * (tgt - self.cam_tgt)
134
+ return Camera.look_at(self.cam_pos, self.cam_tgt, fov)
135
+
136
+ def _torso_points(self, a):
137
+ idx = [a.sk.index[j] for j in TORSO + ("neck_01",) if j in a.sk.index]
138
+ return np.concatenate([np.linspace(a.pose[i], a.pose[j], 5) for i, j in zip(idx[:-1], idx[1:])])
139
+
140
+ @staticmethod
141
+ def _bone_points(a, n=4):
142
+ P = a.pose; pi = a.sk.parent_idx[1:]
143
+ s = np.linspace(0, 1, n)[None, :, None]
144
+ return (P[pi][:, None] * (1 - s) + P[1:][:, None] * s).reshape(-1, 3)
145
+
146
+ def _separate(self):
147
+ a, b = self.actors
148
+ pa, pb = self._torso_points(a), self._torso_points(b)
149
+ D = np.linalg.norm(flat(pa[:, None] - pb[None, :].copy()) if False else (pa[:, None, :2] - pb[None, :, :2]), axis=-1)
150
+ i, j = np.unravel_index(np.argmin(D), D.shape)
151
+ need = body_radius(a.sk) + body_radius(b.sk)
152
+ if D[i, j] < need:
153
+ light, heavy = (a, b) if a.sk.height <= b.sk.height else (b, a)
154
+ pl, ph = (pa[i], pb[j]) if light is a else (pb[j], pa[i])
155
+ v = flat(pl - ph); n = np.linalg.norm(v)
156
+ v = v / n if n > 1e-3 else -axes(light.yaw)[0]
157
+ light.shift(v * (need - D[i, j]))
158
+ # limbs / neck / head of either body: keep bones ~limb thickness apart (the lighter body gives way)
159
+ light, heavy = (a, b) if a.sk.height <= b.sk.height else (b, a)
160
+ pl, ph = self._bone_points(light), self._bone_points(heavy)
161
+ D = np.linalg.norm(pl[:, None] - ph[None], axis=-1)
162
+ i, j = np.unravel_index(np.argmin(D), D.shape)
163
+ limb_gap = 14.0
164
+ if D[i, j] < limb_gap:
165
+ v = flat(pl[i] - ph[j]); n = np.linalg.norm(v)
166
+ if n < 1e-3:
167
+ v = flat(light.center() - heavy.center()); n = max(np.linalg.norm(v), 1e-3)
168
+ light.shift(v / n * (limb_gap - D[i, j]))
169
+ for x in self.actors:
170
+ c = flat(x.center()); n = np.linalg.norm(c); lim = self.arena - 120
171
+ if n > lim:
172
+ x.shift(-c / n * (n - lim))
173
+
174
+ def step(self, t):
175
+ for a in self.actors:
176
+ self.brains[a.name].act(a, self.other(a), t, self)
177
+ for a in self.actors:
178
+ a.evaluate(t)
179
+ self._separate()
180
+ for a in self.actors:
181
+ mv = a.move
182
+ if mv is None or mv.hit_done or "hit" not in mv.spec or not mv.in_window(t, mv.spec["hit"]["window"]):
183
+ continue
184
+ victim = self.other(a)
185
+ if victim.invulnerable:
186
+ continue
187
+ h = mv.spec["hit"]; sk = victim.sk
188
+ sa, sb = victim.pose[sk.parent_idx[1:]], victim.pose[1:]
189
+ if h["parts"] == ["weapon"]:
190
+ if a.weapon is None:
191
+ continue
192
+ pts = np.linspace(a.weapon[0], a.weapon[1], 10)
193
+ else:
194
+ pts = np.stack([a.pose[a.sk.index[j]] for j in h["parts"]])
195
+ dmin = min(float(_seg_dist(p, sa, sb).min()) for p in pts)
196
+ if dmin < h["radius"]:
197
+ mv.hit_done = True; victim.hp -= h.get("damage", 1)
198
+ self.hits.append((t, a.name, victim.name, mv.spec["name"]))
199
+ react = self.reactions.get(victim.name)
200
+ if victim.move is not None and victim.move.spec.get("armor"):
201
+ react = None # hyper armor: damage without flinching
202
+ if react is not None:
203
+ victim.start(react, a, t + 1)
204
+ self.log.append((t + 1, victim.name, react["name"]))
205
+
206
+ def run(self, frames, out=None, player="player", device=None, render=True, width=1280, height=720):
207
+ pa = next(a for a in self.actors if a.name == player); sa = self.other(pa)
208
+ rnd = Renderer(self.env, width, height, device) if render else None
209
+ writers = None
210
+ if out is not None:
211
+ out = Path(out); out.mkdir(parents=True, exist_ok=True)
212
+ if render:
213
+ writers = (ReadableWriter(out / "readable.mp4", width, height), VideoWriter(out / "cond.mp4", width, height, scale_to=(1024, 576)))
214
+ sim_ms, ren_ms = [], []
215
+ track = {a.name: {"pose": [], "weapon": []} for a in self.actors}
216
+ try:
217
+ for t in range(frames):
218
+ t0 = time.perf_counter()
219
+ self.step(t); cam = self.camera(pa, sa)
220
+ caps = [c for a in self.actors for c in a.capsules()]
221
+ t1 = time.perf_counter()
222
+ sim_ms.append((t1 - t0) * 1000)
223
+ if rnd is not None:
224
+ rgb, _ = rnd.render(cam, caps)
225
+ ren_ms.append((time.perf_counter() - t1) * 1000)
226
+ if writers:
227
+ writers[0].write(readable_rgb8(rgb)); writers[1].write(rgb)
228
+ for a in self.actors:
229
+ track[a.name]["pose"].append(a.pose.copy())
230
+ track[a.name]["weapon"].append(a.weapon.copy() if a.weapon is not None else np.zeros((2, 3)))
231
+ finally:
232
+ if writers:
233
+ writers[0].close(); writers[1].close()
234
+ if rnd is not None:
235
+ rnd.close()
236
+ track = {n: {k: np.stack(v) for k, v in d.items()} for n, d in track.items()}
237
+ stats = {"frames": frames, "sim_ms_mean": float(np.mean(sim_ms)), "sim_ms_p95": float(np.percentile(sim_ms, 95)),
238
+ "render_ms_mean": float(np.mean(ren_ms)) if ren_ms else None,
239
+ "render_ms_p95": float(np.percentile(ren_ms, 95)) if ren_ms else None,
240
+ "moves": self.log, "hits": self.hits, "hp": {a.name: a.hp for a in self.actors},
241
+ "floor_clamps": {a.name: a.floor_clamps for a in self.actors}}
242
+ if out is not None:
243
+ json.dump(stats, open(out / "runtime.json", "w"), indent=1, default=str)
244
+ np.savez_compressed(out / "track.npz", **{f"{n}_{k}": v for n, d in track.items() for k, v in d.items()})
245
+ return stats, track
ww_index/scripts/proxykit36/proxykit/scene.py ADDED
@@ -0,0 +1,113 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """A shot: camera track, static environment, entities (skeleton + motion track + identity slot). Renders the
2
+ condition video exactly in the BOSSV2V encoding, plus a preview grid, a first-frame overlay and a validation report,
3
+ and can run the stage-1 video model on it.
4
+
5
+ scene = Scene(frames=121, fps=30, camera=Camera.look_at(...), env=ground_env())
6
+ boss = scene.add("boss", skeleton, slot=2, root=(x, y, None), yaw=...)
7
+ boss.gait(...); boss.throw_weapon(...)
8
+ scene.render("out/", first_frame="first.png")
9
+ """
10
+ import json, os, subprocess, sys
11
+ from pathlib import Path
12
+ import numpy as np
13
+ from PIL import Image
14
+ from .geometry import Camera
15
+ from .motion import Track
16
+ from .render import Renderer, VideoWriter, ReadableWriter, readable_rgb8
17
+ from . import validate as V
18
+
19
+ RUNS = "/data/yuzhewu/runs"
20
+
21
+
22
+ def ground_env(radius_cm=6000.0, z_cm=0.0, boxes=()):
23
+ """Flat round arena at z with the sea far below (so the horizon stays dark red like the dataset) plus boxes."""
24
+ return {"platform": {"radius_cm": float(radius_cm), "z_cm": float(z_cm)}, "sea_z_cm": -730.0, "boxes": list(boxes)}
25
+
26
+
27
+ def box(center, size, yaw_deg=0.0, label=2):
28
+ return {"center_cm": [float(v) for v in center], "size_cm": [float(v) for v in size], "yaw_degrees": float(yaw_deg), "label": int(label)}
29
+
30
+
31
+ class Scene:
32
+ def __init__(self, frames=121, fps=30, camera=None, env=None, width=1280, height=720):
33
+ assert (frames - 1) % 8 == 0, "frames must be 8k+1 for the video VAE"
34
+ self.frames, self.fps, self.w, self.h = frames, fps, width, height
35
+ self.env = env or ground_env()
36
+ self.cameras = [camera or Camera.look_at([0, -900, 220], [0, 0, 150])] * frames
37
+ self.entities = {}
38
+
39
+ # ---------------------------------------------------------------- building
40
+ def add(self, name, skeleton, slot, root=(0, 0, None), yaw=0.0):
41
+ assert 1 <= slot <= 7 and all(e["slot"] != slot for e in self.entities.values()), "slots must be unique 1..7"
42
+ tr = Track(skeleton, self.frames, root, yaw)
43
+ self.entities[name] = {"skeleton": skeleton, "slot": slot, "track": tr}
44
+ return tr
45
+
46
+ def camera_at(self, t):
47
+ return self.cameras[t]
48
+
49
+ def set_camera_track(self, fn):
50
+ """fn(t) -> Camera for every frame."""
51
+ self.cameras = [fn(t) for t in range(self.frames)]
52
+
53
+ # ---------------------------------------------------------------- outputs
54
+ def capsules(self, t):
55
+ caps = []
56
+ for ent in self.entities.values():
57
+ w = ent["track"].weapon[t] if ent["track"].weapon is not None else None
58
+ caps += ent["skeleton"].capsules(ent["track"].poses[t], ent["slot"], w)
59
+ return caps
60
+
61
+ def check(self, **kw):
62
+ return V.check(self, floor_z=self.env["platform"]["z_cm"], **kw)
63
+
64
+ def render(self, out, first_frame=None, device=None, train_scale=(1024, 576), overlay=False):
65
+ """Writes readable.mp4 (colour-coded stick figures for people), cond.mp4 (1024x576 model input), shot.npz and
66
+ report.json. overlay=True with first_frame also writes overlay_first_frame.png (for the agent's own alignment
67
+ check; not a deliverable)."""
68
+ out = Path(out); out.mkdir(parents=True, exist_ok=True)
69
+ device = device if device is not None else int(os.environ.get("EGL_DEVICE", 4))
70
+ report = self.check()
71
+ rnd = Renderer(self.env, self.w, self.h, device)
72
+ readable = ReadableWriter(out / "readable.mp4", self.w, self.h, self.fps)
73
+ train = VideoWriter(out / "cond.mp4", self.w, self.h, self.fps, scale_to=train_scale)
74
+ clipped, frame0 = 0, None
75
+ try:
76
+ for t in range(self.frames):
77
+ rgb, stats = rnd.render(self.camera_at(t), self.capsules(t))
78
+ clipped += stats["actor_depth_clipped"]
79
+ readable.write(readable_rgb8(rgb)); train.write(rgb)
80
+ if t == 0:
81
+ frame0 = rgb
82
+ finally:
83
+ readable.close(); train.close(); rnd.close()
84
+ report["actor_depth_clipped_pixels"] = clipped
85
+ if first_frame is not None:
86
+ img = Image.open(first_frame).convert("RGB").resize((self.w, self.h))
87
+ img.resize(train_scale).save(out / "first_frame.png")
88
+ if overlay:
89
+ cond = Image.fromarray(readable_rgb8(frame0))
90
+ mask = Image.fromarray(((frame0[..., 1] > 0) * 255).astype(np.uint8)) # actors only
91
+ over = img.copy(); over.paste(cond, (0, 0), mask)
92
+ over.save(out / "overlay_first_frame.png")
93
+ np.savez_compressed(out / "shot.npz", cameras=np.stack([c.transform() for c in self.cameras]),
94
+ **{f"{n}_poses": e["track"].poses for n, e in self.entities.items()},
95
+ **{f"{n}_weapon": e["track"].weapon for n, e in self.entities.items() if e["track"].weapon is not None})
96
+ json.dump(report, open(out / "report.json", "w"), indent=1)
97
+ return report
98
+
99
+ def generate(self, out, prompt, lora=f"{RUNS}/ltx25_bossv2v121/checkpoints/lora_weights_step_06000.safetensors", gpu=4,
100
+ first_frame=True):
101
+ """Run the stage-1 video model (1024x576@30, 121 frames) on out/cond.mp4. Returns the generated mp4 path."""
102
+ out = Path(out)
103
+ cmd = [f"/data/yuzhewu/venv_ltx/bin/python", f"{RUNS}/infer_v2v.py", "--config", f"{RUNS}/ltx25_bossv2v121.yaml",
104
+ "--lora", lora, "--whitebox", str(out / "cond.mp4"), "--prompt", prompt, "--width", "1024", "--height", "576",
105
+ "--frames", str(self.frames), "--fps", str(self.fps), "--out-dir", str(out / "gen")]
106
+ if first_frame and (out / "first_frame.png").exists():
107
+ cmd += ["--first-frame", str(out / "first_frame.png")]
108
+ env = dict(os.environ, CUDA_VISIBLE_DEVICES=str(gpu))
109
+ with open(out / "generate.log", "w") as log:
110
+ subprocess.run(cmd, cwd="/data/yuzhewu/LTX-2/packages/ltx-trainer", env=env, stdout=log, stderr=subprocess.STDOUT, check=True)
111
+ vids = sorted((out / "gen" / "samples").glob("*.mp4"))
112
+ assert vids, "generation produced no video"
113
+ return vids[-1]
ww_index/scripts/proxykit36/proxykit/skeleton.py ADDED
@@ -0,0 +1,290 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Skeletons for the condition proxy: a joint tree, per-joint part ids, a rest pose, and capsule sizing.
2
+
3
+ Part ids (1..30) reuse the BOSSV2V humanoid vocabulary where the anatomy matches so a quadruped's front legs look like
4
+ arms and its hind legs like legs to the model; new structures get new ids:
5
+ 1 pelvis/root 2 spine_01 3 spine_02/chest 4 neck 5 head
6
+ 6/7/8 upperarm/lowerarm/hand L 9/10/11 R 12/13/14 thigh/calf/foot L 15/16/17 R 18 weapon
7
+ 19-22 tail segments 23-25 wing L 26-28 wing R 29-30 extra limbs
8
+ Rest poses are in a local frame: root above the origin, facing +X, UE axes (Y = right, so the LEFT side is -Y), cm.
9
+ Links are drawn with the CHILD joint's part id (dataset rule).
10
+ """
11
+ from dataclasses import dataclass, field
12
+ import numpy as np
13
+
14
+ HUMANOID_JOINTS = ["pelvis", "spine_01", "spine_02", "neck_01", "head", "upperarm_l", "lowerarm_l", "hand_l",
15
+ "upperarm_r", "lowerarm_r", "hand_r", "thigh_l", "calf_l", "foot_l", "thigh_r", "calf_r", "foot_r"]
16
+ HUMANOID_PARENTS = ["", "pelvis", "spine_01", "spine_02", "neck_01", "neck_01", "upperarm_l", "lowerarm_l",
17
+ "neck_01", "upperarm_r", "lowerarm_r", "pelvis", "thigh_l", "calf_l", "pelvis", "thigh_r", "calf_r"]
18
+ LINE_RATIO, JOINT_RATIO, HEAD_RATIO = 0.006, 0.012, 0.018 # of body height, as in condition_profile.json
19
+ WEAPON_PART = 18
20
+
21
+
22
+ @dataclass
23
+ class Weapon:
24
+ hand: str # joint the grip follows
25
+ length: float # cm
26
+ radius: float # cm (dataset: player 1.75, boss 5.5)
27
+ grip_offset: float = 0.0 # cm from the grip end to the hand along the shaft (butt sticks out behind the hand)
28
+
29
+
30
+ @dataclass
31
+ class Skeleton:
32
+ name: str
33
+ joints: list
34
+ parents: list # parent joint name per joint ("" for the root)
35
+ parts: list # part id per joint
36
+ rest: np.ndarray # (J, 3) local rest positions, facing +X, root at index 0
37
+ height: float # body size used for capsule radii (cm)
38
+ weapon: Weapon = None
39
+ family: str = "custom"
40
+ meta: dict = field(default_factory=dict)
41
+
42
+ def __post_init__(self):
43
+ self.rest = np.asarray(self.rest, float)
44
+ assert len(self.joints) == len(self.parents) == len(self.parts) == len(self.rest)
45
+ assert self.parents[0] == "" and all(p in self.joints for p in self.parents[1:])
46
+ assert all(1 <= p <= 30 for p in self.parts)
47
+ self.index = {n: i for i, n in enumerate(self.joints)}
48
+ self.parent_idx = [-1] + [self.index[p] for p in self.parents[1:]]
49
+ assert all(self.parent_idx[i] < i for i in range(1, len(self.joints))), "joints must be topologically ordered"
50
+
51
+ @property
52
+ def bone_lengths(self):
53
+ return np.array([0.0] + [np.linalg.norm(self.rest[i] - self.rest[self.parent_idx[i]]) for i in range(1, len(self.joints))])
54
+
55
+ def descendants(self, joint):
56
+ """Indices of `joint` and every joint below it."""
57
+ root = self.index[joint]; out = [root]
58
+ for i in range(root + 1, len(self.joints)):
59
+ if self.parent_idx[i] in out:
60
+ out.append(i)
61
+ return out
62
+
63
+ def place(self, root_pos, yaw=0.0):
64
+ """Rest pose moved so the root sits at root_pos and the body faces yaw (rad about +Z; 0 = +X)."""
65
+ from .geometry import rot_z
66
+ return np.asarray(root_pos, float) + (self.rest - self.rest[0]) @ rot_z(yaw).T
67
+
68
+ def capsules(self, pose, slot, weapon_ends=None):
69
+ """Capsules for one frame: links (child part), joint spheres, weapon stick."""
70
+ caps = []
71
+ size = self.height
72
+ for i in range(1, len(self.joints)):
73
+ caps.append((pose[self.parent_idx[i]], pose[i], size * LINE_RATIO, slot * 32 + self.parts[i]))
74
+ for i, n in enumerate(self.joints):
75
+ r = HEAD_RATIO if self.parts[i] == 5 else JOINT_RATIO
76
+ caps.append((pose[i], pose[i], size * r, slot * 32 + self.parts[i]))
77
+ if weapon_ends is not None and self.weapon is not None:
78
+ caps.append((weapon_ends[0], weapon_ends[1], self.weapon.radius, slot * 32 + WEAPON_PART))
79
+ return caps
80
+
81
+
82
+ # ----------------------------------------------------------------------------------------------------------- families
83
+ def humanoid(height=180.0, shoulder=0.13, hip=0.055, weapon=None, name="humanoid", lengths=None):
84
+ """Proportional humanoid in the BOSSV2V 17-joint layout, standing, arms slightly out. `lengths` (joint -> bone cm)
85
+ overrides the proportional defaults (use humanoid_from_states for a measured character)."""
86
+ H = height
87
+ z_pelvis = 0.53 * H
88
+ rest = {
89
+ "pelvis": [0, 0, z_pelvis], "spine_01": [0, 0, z_pelvis + 0.07 * H], "spine_02": [0, 0, z_pelvis + 0.17 * H],
90
+ "neck_01": [0, 0, z_pelvis + 0.30 * H], "head": [0, 0, z_pelvis + 0.40 * H],
91
+ "upperarm_l": [0, -shoulder * H, z_pelvis + 0.29 * H], "lowerarm_l": [0, -shoulder * H - 0.05 * H, z_pelvis + 0.13 * H],
92
+ "hand_l": [0.03 * H, -shoulder * H - 0.07 * H, z_pelvis - 0.02 * H],
93
+ "upperarm_r": [0, shoulder * H, z_pelvis + 0.29 * H], "lowerarm_r": [0, shoulder * H + 0.05 * H, z_pelvis + 0.13 * H],
94
+ "hand_r": [0.03 * H, shoulder * H + 0.07 * H, z_pelvis - 0.02 * H],
95
+ "thigh_l": [0, -hip * H, z_pelvis - 0.02 * H], "calf_l": [0.01 * H, -hip * H, 0.28 * H], "foot_l": [0, -hip * H, 0.0],
96
+ "thigh_r": [0, hip * H, z_pelvis - 0.02 * H], "calf_r": [0.01 * H, hip * H, 0.28 * H], "foot_r": [0, hip * H, 0.0],
97
+ }
98
+ pts = np.array([rest[j] for j in HUMANOID_JOINTS], float)
99
+ sk = Skeleton(name, HUMANOID_JOINTS, HUMANOID_PARENTS, list(range(1, 18)), pts, H, weapon, "humanoid")
100
+ if lengths:
101
+ sk = with_bone_lengths(sk, lengths)
102
+ return sk
103
+
104
+
105
+ def with_bone_lengths(sk, lengths):
106
+ """Rescale individual bones (joint -> new length from its parent) keeping rest directions."""
107
+ rest = sk.rest.copy(); rel = sk.rest - np.r_[[sk.rest[0]], sk.rest[sk.parent_idx[1:]]]
108
+ for i in range(1, len(sk.joints)):
109
+ d = rel[i]; L = np.linalg.norm(d)
110
+ new_L = lengths.get(sk.joints[i], L)
111
+ rest[i] = rest[sk.parent_idx[i]] + (d / L * new_L if L > 1e-6 else d)
112
+ return Skeleton(sk.name, sk.joints, sk.parents, sk.parts, rest, sk.height, sk.weapon, sk.family, dict(sk.meta))
113
+
114
+
115
+ def _chain(prefix, start, direction, n, seg_len, parent, parts):
116
+ names, parents, pts, pids = [], [], [], []
117
+ d = np.asarray(direction, float); d = d / np.linalg.norm(d)
118
+ prev, p = parent, np.asarray(start, float)
119
+ for k in range(n):
120
+ p = p + d * seg_len
121
+ nm = f"{prefix}_{k + 1}"
122
+ names.append(nm); parents.append(prev); pts.append(p.copy()); pids.append(parts[min(k, len(parts) - 1)])
123
+ prev = nm
124
+ return names, parents, pts, pids
125
+
126
+
127
+ def quadruped(body_length=300.0, shoulder_height=150.0, neck=80.0, head=50.0, tail_segments=4, tail_length=200.0,
128
+ name="quadruped", wings=0.0, belly=None, leg_spread=0.18):
129
+ """Four-legged beast facing +X. Front legs use the arm part ids, hind legs the leg part ids. wings > 0 adds two
130
+ 3-segment wings of that span (cm) at the shoulders (dragon)."""
131
+ Hs = shoulder_height; half = body_length / 2; lat = leg_spread * body_length
132
+ belly = Hs * 0.62 if belly is None else float(belly) # chest/elbow line: the legs hang from here, not from the back # trunk height above ground: short-legged beasts sit low
133
+ names = ["pelvis", "spine_01", "spine_02", "neck_01", "head"]
134
+ parents = ["", "pelvis", "spine_01", "spine_02", "neck_01"]
135
+ withers = Hs # the back rides at the nominal shoulder height; the drop
136
+ pts = [[-half, 0, Hs * 0.94], [0, 0, Hs * 0.97], [half, 0, withers], # from here down to `belly` is the chest depth
137
+ [half + neck * 0.55, 0, withers + neck * 0.35], [half + neck * 0.55 + head * 0.9, 0, withers + neck * 0.18]]
138
+ parts = [1, 2, 3, 4, 5]
139
+
140
+ def leg(prefix, hip_joint, x, y, ids, bend):
141
+ """bend -1: elbow folds back (front legs); +1: stifle points forward (hind legs) -> animal, not table."""
142
+ nonlocal names, parents, pts, parts
143
+ upper = [x, y, belly]
144
+ knee = [x + bend * 0.28 * belly, y, belly * 0.48]
145
+ foot = [x - bend * 0.08 * belly, y, 0.0]
146
+ names += [f"{prefix}_upper", f"{prefix}_lower", f"{prefix}_foot"]
147
+ parents += [hip_joint, f"{prefix}_upper", f"{prefix}_lower"]
148
+ pts += [upper, knee, foot]; parts += list(ids)
149
+
150
+ leg("front_l", "spine_02", half, -lat, (6, 7, 8), -1); leg("front_r", "spine_02", half, lat, (9, 10, 11), -1)
151
+ leg("hind_l", "pelvis", -half, -lat, (12, 13, 14), 1); leg("hind_r", "pelvis", -half, lat, (15, 16, 17), 1)
152
+ if tail_segments:
153
+ n, pa, pp, pi = _chain("tail", pts[0], [-1, 0, -0.15], tail_segments, tail_length / tail_segments, "pelvis", [19, 20, 21, 22])
154
+ names += n; parents += pa; pts += [list(x) for x in pp]; parts += pi
155
+ if wings > 0:
156
+ arm = wings / 2 * 0.42 # shoulder -> raised wrist
157
+ finger = wings / 2 * 0.58 # wrist -> tip, fingers sweep down and back into an arc
158
+ for side, sgn, ids in (("wing_l", -1, [23, 24, 25]), ("wing_r", 1, [26, 27, 28])):
159
+ root_pt = [half * 0.75, sgn * lat * 0.45, belly * 1.05]
160
+ nm, pa, pp, pi = _chain(side, root_pt, [0.05, sgn * 0.8, 0.62], 2, arm / 2, "spine_02", ids[:2])
161
+ names += nm; parents += pa; pts += [list(x) for x in pp]; parts += pi
162
+ wrist = np.asarray(pp[-1], float); wrist_name = nm[-1]
163
+ # graded finger lengths with the outer half curling down: a swept membrane edge, not three straight spokes
164
+ for k, (d, frac) in enumerate((([0.45, sgn * 0.85, -0.25], 1.00),
165
+ ([-0.15, sgn * 0.92, -0.32], 0.86),
166
+ ([-0.70, sgn * 0.62, -0.30], 0.64))):
167
+ d = np.asarray(d, float); d /= np.linalg.norm(d)
168
+ d2 = d + np.array([0.0, 0.0, -0.55]); d2 /= np.linalg.norm(d2)
169
+ a = wrist + d * finger * frac * 0.55
170
+ b = a + d2 * finger * frac * 0.45
171
+ names += [f"{side}f{k + 1}_1", f"{side}f{k + 1}_2"]
172
+ parents += [wrist_name, f"{side}f{k + 1}_1"]
173
+ pts += [list(a), list(b)]; parts += [ids[2], ids[2]]
174
+ size = max(body_length, Hs)
175
+ return Skeleton(name, names, parents, parts, np.array(pts, float), size, None, "dragon" if wings > 0 else "quadruped",
176
+ dict(body_length=body_length, shoulder_height=Hs))
177
+
178
+
179
+ def dragon(body_length=500.0, shoulder_height=260.0, wingspan=1200.0, **kw):
180
+ return quadruped(body_length, shoulder_height, neck=kw.pop("neck", 220.0), head=kw.pop("head", 110.0),
181
+ tail_segments=kw.pop("tail_segments", 4), tail_length=kw.pop("tail_length", 450.0), wings=wingspan,
182
+ name=kw.pop("name", "dragon"), **kw)
183
+
184
+
185
+ def wyvern(body_length=380.0, hip_height=185.0, shoulder_height=375.0, neck=150.0, head=90.0,
186
+ wingspan=1230.0, wing_rise=210.0, stance_width=315.0, tail_segments=5, tail_length=280.0,
187
+ name="wyvern"):
188
+ """Two-legged winged dragon facing +X: the wings ARE the forelimbs, so there are NO front legs.
189
+
190
+ This is WildWorld's most common monster body plan (2 legs + 2 wings = 4874 of 15226 windows;
191
+ 4 legs + 2 wings is only 520), and it is what concept art calls a dragon. quadruped(wings=...)
192
+ draws four legs plus wings and produces a ten-limbed creature. Every size here is meant to be
193
+ MEASURED off the first frame (hip and shoulder height, body length, wingspan), never guessed."""
194
+ half = body_length / 2; hs = shoulder_height; half_span = wingspan / 2; lat = stance_width / 2
195
+ names = ["pelvis", "spine_01", "spine_02", "neck_01", "head"]
196
+ parents = ["", "pelvis", "spine_01", "spine_02", "neck_01"]
197
+ pts = [[-half, 0, hip_height], # reared trunk: hips low, shoulders high
198
+ [0, 0, (hip_height + hs) / 2],
199
+ [half, 0, hs],
200
+ [half + neck * 0.55, 0, hs * 0.97],
201
+ [half + neck * 0.55 + head, 0, hs * 0.88]] # head carried forward and a little below the back
202
+ parts = [1, 2, 3, 4, 5]
203
+ for side, sgn, ids in (("hind_l", -1, (12, 13, 14)), ("hind_r", 1, (15, 16, 17))):
204
+ names += [f"{side}_upper", f"{side}_lower", f"{side}_foot"]
205
+ parents += ["pelvis", f"{side}_upper", f"{side}_lower"]
206
+ pts += [[-half, sgn * lat, hip_height * 0.98],
207
+ [-half + 0.30 * hip_height, sgn * lat, hip_height * 0.46], # stifle forward, bird-like
208
+ [-half - 0.06 * hip_height, sgn * lat, 0.0]]
209
+ parts += list(ids)
210
+ if tail_segments:
211
+ n, pa, pp, pi = _chain("tail", pts[0], [-1, 0, -0.25], tail_segments, tail_length / tail_segments,
212
+ "pelvis", [19, 20, 21, 22])
213
+ names += n; parents += pa; pts += [list(x) for x in pp]; parts += pi
214
+ for side, sgn, ids in (("wing_l", -1, [23, 24, 25]), ("wing_r", 1, [26, 27, 28])):
215
+ root = np.array([half * 0.75, sgn * lat * 0.35, hs * 0.98])
216
+ wrist = np.array([root[0] + 0.06 * half_span, sgn * 0.40 * half_span, root[2] + 0.62 * wing_rise])
217
+ elbow = root + 0.5 * (wrist - root) + np.array([0.0, 0.0, 0.12 * wing_rise])
218
+ names += [f"{side}_1", f"{side}_2"]; parents += ["spine_02", f"{side}_1"]
219
+ pts += [list(elbow), list(wrist)]; parts += ids[:2]
220
+ # leading finger carries the claw high, middle finger sets the span, trailing finger drops behind
221
+ for k, (fx, fy, fz) in enumerate(((0.28, 0.48, 0.87), (-0.02, 1.00, 0.00), (-0.42, 0.66, -0.30))):
222
+ tip = np.array([root[0] + fx * half_span, sgn * fy * half_span, root[2] + fz * wing_rise])
223
+ mid = wrist + 0.5 * (tip - wrist) + np.array([0.0, 0.0, 0.03 * wing_rise])
224
+ names += [f"{side}f{k + 1}_1", f"{side}f{k + 1}_2"]
225
+ parents += [f"{side}_2", f"{side}f{k + 1}_1"]
226
+ pts += [list(mid), list(tip)]; parts += [ids[2], ids[2]]
227
+ return Skeleton(name, names, parents, parts, np.array(pts, float), max(body_length, hs), None, "dragon",
228
+ dict(body_length=body_length, shoulder_height=hs, wingspan=wingspan))
229
+
230
+
231
+ def serpent(length=1200.0, segments=10, girth_height=60.0, head_raise=120.0, name="serpent", s_curve=0.55):
232
+ """Snake/worm facing +X: root at the front of the body, neck and head rearing forward, body segments trailing -X."""
233
+ seg = length / segments
234
+ # Reared front: the neck rises and leans back, then the head comes forward again -> the S the reference art shows.
235
+ names = ["pelvis", "neck_01", "neck_02", "neck_03", "neck_04", "head"]
236
+ parents = ["", "pelvis", "neck_01", "neck_02", "neck_03", "neck_04"]
237
+ # five joints trace a smooth S (scaled by the rear-up, not by one body segment): rise forward, ease back
238
+ # over the coil, then the head thrusts out again. Three joints made it read as a hard Z.
239
+ k = s_curve / 0.55
240
+ prof = ((0.22 * k, 0.25), (0.31 * k, 0.52), (0.19 * k, 0.74), (0.17 * k, 0.96), (0.56, 0.90))
241
+ pts = [[0.0, 0.0, girth_height]] + [[head_raise * fx, 0.0, girth_height + head_raise * fz] for fx, fz in prof]
242
+ parts = [1, 3, 3, 4, 4, 5]
243
+ prev = "pelvis"
244
+ for k in range(1, segments):
245
+ names.append(f"body_{k}"); parents.append(prev); prev = f"body_{k}"
246
+ pts.append([-k * seg, 0.0, girth_height]); parts.append(2 if k < segments / 3 else (3 if k < 2 * segments / 3 else 19 + min(3, k % 4)))
247
+ return Skeleton(name, names, parents, parts, np.array(pts, float), max(length / 4, girth_height + head_raise), None, "serpent",
248
+ dict(length=length, segments=segments))
249
+
250
+
251
+ def spider(leg_count=8, body_length=200.0, body_height=90.0, leg_span=350.0, name="spider"):
252
+ """Arachnid/insect: thorax + abdomen + head, leg_count legs (even) spread along the body, 3 segments each."""
253
+ names = ["pelvis", "spine_01", "spine_02", "neck_01", "head"]
254
+ parents = ["", "pelvis", "spine_01", "spine_02", "neck_01"]
255
+ L = body_length
256
+ pts = [[-0.4 * L, 0, body_height], [-0.1 * L, 0, body_height], [0.15 * L, 0, body_height], [0.3 * L, 0, body_height * 1.02], [0.45 * L, 0, body_height * 0.95]]
257
+ parts = [1, 2, 3, 4, 5]
258
+ pairs = leg_count // 2
259
+ id_sets = [((6, 7, 8), (9, 10, 11)), ((12, 13, 14), (15, 16, 17)), ((29, 7, 8), (30, 10, 11)), ((29, 13, 14), (30, 16, 17))]
260
+ for k in range(pairs):
261
+ x = 0.2 * L - k * (0.35 * L / max(1, pairs - 1))
262
+ for side, sgn, ids in (("l", -1, id_sets[k % 4][0]), ("r", 1, id_sets[k % 4][1])):
263
+ pre = f"leg{k + 1}_{side}"
264
+ hip = [x, sgn * 0.12 * L, body_height]
265
+ knee = [x + 0.05 * L * (1.5 - k), sgn * leg_span * 0.3, body_height * 1.6]
266
+ foot = [x + 0.12 * L * (1.5 - k), sgn * leg_span * 0.5, 0.0]
267
+ names += [f"{pre}_hip", f"{pre}_knee", f"{pre}_foot"]
268
+ parents += ["spine_01", f"{pre}_hip", f"{pre}_knee"]
269
+ pts += [hip, knee, foot]; parts += list(ids)
270
+ return Skeleton(name, names, parents, parts, np.array(pts, float), max(body_length, leg_span) * 0.8, None, "spider",
271
+ dict(leg_count=leg_count))
272
+
273
+
274
+ def humanoid_from_states(states_path, entity, weapon_radius=None, name=None):
275
+ """Measured humanoid (BOSSV2V entity 0 = player, 1 = boss): median bone lengths over the clip on the proportional
276
+ rest directions, plus the measured weapon length and grip offset from the right hand."""
277
+ z = np.load(states_path)
278
+ Jw = z["joints_world_cm"][:, entity]; Ww = z["weapon_endpoints_world_cm"][:, entity]
279
+ base = humanoid(height=float(np.median(Jw[:, 4, 2] - np.minimum(Jw[:, 13, 2], Jw[:, 16, 2]))) * 1.08)
280
+ lengths = {}
281
+ for i in range(1, 17):
282
+ lengths[HUMANOID_JOINTS[i]] = float(np.median(np.linalg.norm(Jw[:, i] - Jw[:, base.parent_idx[i]], axis=1)))
283
+ wlen = float(np.median(np.linalg.norm(Ww[:, 1] - Ww[:, 0], axis=1)))
284
+ grip = float(np.median(np.linalg.norm(Ww[:, 0] - Jw[:, 10], axis=1)))
285
+ radius = weapon_radius if weapon_radius is not None else (1.75 if entity == 0 else 5.5)
286
+ height = 180.0 if entity == 0 else 460.0 # the dataset's fixed sizing constants
287
+ sk = with_bone_lengths(humanoid(height=height), lengths)
288
+ sk.weapon = Weapon("hand_r", wlen, radius, grip)
289
+ sk.name = name or ("player" if entity == 0 else "boss"); sk.height = height
290
+ return sk
ww_index/scripts/proxykit36/proxykit/validate.py ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Physical-plausibility and framing checks for a shot. Returns a report dict; `problems` lists what an agent should fix."""
2
+ import numpy as np
3
+ from .skeleton import LINE_RATIO
4
+
5
+ FOOT_NAMES = ("foot",)
6
+
7
+
8
+ def _segments_distance(p1, q1, p2, q2):
9
+ """Minimum distance between segments p1q1 and p2q2 (vectorised over leading dims)."""
10
+ d1, d2, r = q1 - p1, q2 - p2, p1 - p2
11
+ a = (d1 * d1).sum(-1); e = (d2 * d2).sum(-1); f = (d2 * r).sum(-1)
12
+ c = (d1 * r).sum(-1); b = (d1 * d2).sum(-1); den = a * e - b * b
13
+ s = np.clip(np.where(den > 1e-9, (b * f - c * e) / np.maximum(den, 1e-9), 0.0), 0, 1)
14
+ t = np.where(e > 1e-9, (b * s + f) / np.maximum(e, 1e-9), 0.0)
15
+ s = np.where(t < 0, np.clip(-c / np.maximum(a, 1e-9), 0, 1), np.where(t > 1, np.clip((b - c) / np.maximum(a, 1e-9), 0, 1), s))
16
+ t = np.clip(t, 0, 1)
17
+ return np.linalg.norm(p1 + d1 * s[..., None] - (p2 + d2 * t[..., None]), axis=-1)
18
+
19
+
20
+ def check(scene, floor_z=0.0, min_clearance=-5.0, max_bone_drift=0.01, min_gap=5.0, max_foot_slide=6.0, min_on_screen=0.6):
21
+ report = {"entities": {}, "problems": []}
22
+ T = scene.frames
23
+ for name, ent in scene.entities.items():
24
+ tr, sk = ent["track"], ent["skeleton"]
25
+ P = tr.poses
26
+ r = {}
27
+ if not np.isfinite(P).all() or (tr.weapon is not None and not np.isfinite(tr.weapon).all()):
28
+ report["problems"].append(f"{name}: NaN/inf in pose"); report["entities"][name] = r; continue
29
+ L0 = sk.bone_lengths[1:]
30
+ L = np.linalg.norm(P[:, 1:] - P[:, sk.parent_idx[1:]], axis=-1)
31
+ drift = float(np.max(np.abs(L - L0) / np.maximum(L0, 1e-6))); r["bone_drift"] = drift
32
+ if drift > max_bone_drift:
33
+ report["problems"].append(f"{name}: bone length drift {drift:.1%}")
34
+ low = float((P[..., 2].min(axis=1) - sk.height * LINE_RATIO).min() - floor_z); r["lowest_joint_cm"] = low
35
+ if low < min_clearance:
36
+ t = int(np.argmin(P[..., 2].min(axis=1)))
37
+ report["problems"].append(f"{name}: body goes {-low:.0f} cm below the floor (frame {t})")
38
+ if tr.weapon is not None:
39
+ wl = np.linalg.norm(tr.weapon[:, 1] - tr.weapon[:, 0], axis=1)
40
+ r["weapon_length_range"] = [float(wl.min()), float(wl.max())]
41
+ wlow = float(tr.weapon[..., 2].min() - floor_z); r["weapon_lowest_cm"] = wlow
42
+ if wlow < min_clearance - sk.weapon.radius:
43
+ report["problems"].append(f"{name}: weapon goes {-wlow:.0f} cm below the floor (frame {int(np.argmin(tr.weapon[..., 2].min(axis=1)))})")
44
+ feet = [i for i, n in enumerate(sk.joints) if any(f in n for f in FOOT_NAMES)]
45
+ if feet:
46
+ F = P[:, feet]; grounded = F[1:, :, 2] < 8.0
47
+ slide = np.linalg.norm(F[1:, :, :2] - F[:-1, :, :2], axis=-1)
48
+ slide = slide[grounded & (F[:-1, :, 2] < 8.0)]
49
+ r["foot_slide_p95_cm_per_frame"] = float(np.percentile(slide, 95)) if slide.size else 0.0
50
+ if slide.size and r["foot_slide_p95_cm_per_frame"] > max_foot_slide:
51
+ report["problems"].append(f"{name}: grounded feet slide {r['foot_slide_p95_cm_per_frame']:.1f} cm/frame (p95)")
52
+ vis = np.array([scene.camera_at(t).in_view(P[t]).mean() for t in range(T)])
53
+ r["on_screen_mean"] = float(vis.mean()); r["on_screen_min"] = float(vis.min())
54
+ if vis.mean() < min_on_screen:
55
+ report["problems"].append(f"{name}: only {vis.mean():.0%} of joints on screen on average")
56
+ report["entities"][name] = r
57
+ names = list(scene.entities)
58
+ for i in range(len(names)):
59
+ for k in range(i + 1, len(names)):
60
+ a, b = scene.entities[names[i]], scene.entities[names[k]]
61
+ gap = np.inf; worst_t = 0
62
+ for t in range(0, T, 2):
63
+ sa = _segs(a, t); sb = _segs(b, t)
64
+ d = _segments_distance(sa[0][:, None], sa[1][:, None], sb[0][None], sb[1][None]) - sa[2][:, None] - sb[2][None]
65
+ if d.min() < gap:
66
+ gap, worst_t = float(d.min()), t
67
+ report[f"gap_{names[i]}_{names[k]}_cm"] = gap
68
+ if gap < min_gap:
69
+ report["problems"].append(f"{names[i]} and {names[k]} interpenetrate by {-gap:.0f} cm (frame {worst_t})" if gap < 0 else
70
+ f"{names[i]} and {names[k]} come within {gap:.0f} cm (frame {worst_t})")
71
+ return report
72
+
73
+
74
+ def _segs(ent, t):
75
+ sk, tr = ent["skeleton"], ent["track"]
76
+ P = tr.poses[t]
77
+ a = P[sk.parent_idx[1:]]; b = P[1:]; r = np.full(len(b), sk.height * LINE_RATIO)
78
+ if tr.weapon is not None and sk.weapon is not None:
79
+ a = np.vstack([a, tr.weapon[t, :1]]); b = np.vstack([b, tr.weapon[t, 1:]]); r = np.r_[r, sk.weapon.radius]
80
+ return a, b, r
ww_index/scripts/v7enc.py ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """10-17 v7 condition encoder (shared by every source; inference must call the same shade()).
2
+ v7 frame (1024x576 RGB) = v5 condition's R (height) / B (depth) and characters, with
3
+ G = tier: sky 0 | unknown: R=B=0, G=38 | coarse: G=77 | exact: G = 153..255 by the normal shading (fixed world light)
4
+ + a 2 px black outline round the characters.
5
+ Normals: camera-space from the planar depth (disparity smoothed sigma = 5 px at 1280 wide), to world with the camera rows (right, up, forward; y up)."""
6
+ import numpy as np, cv2
7
+ L = np.array([0.45, 0.84, -0.30]); L /= np.linalg.norm(L) # world y up
8
+ G_UNK, G_COARSE, G_EX0, G_EX1 = 38, 77, 153, 255
9
+
10
+ def shade(z, f, Rrows, valid, sig1280=5.0):
11
+ """z [h,w] planar depth (m), f focal (px at this resolution), Rrows [3,3] right/up/forward (world, y up) -> Lambert [h,w] in 0..1"""
12
+ h, w = z.shape; sig = sig1280 * w / 1280.0
13
+ disp = cv2.GaussianBlur((1.0 / np.maximum(np.where(valid, z, 1e3), 0.05)).astype(np.float32), (0, 0), sig); zs = 1.0 / np.maximum(disp, 1e-4)
14
+ u = (np.arange(w) + 0.5 - w / 2) / f; v = (np.arange(h) + 0.5 - h / 2) / f
15
+ P = np.stack([u[None, :] * zs, -v[:, None] * zs, zs], -1).astype(np.float32) # camera (right, up, forward)
16
+ n = np.cross(np.gradient(P, axis=1), np.gradient(P, axis=0)); n /= np.linalg.norm(n, axis=-1, keepdims=True) + 1e-9
17
+ n = np.where(((n * P).sum(-1) > 0)[..., None], -n, n) # facing the camera
18
+ nw = n @ np.asarray(Rrows, float) # world
19
+ return np.where(valid, np.clip(nw @ L, 0, 1), 0.0)
20
+
21
+ def fill_under(z, mask, valid):
22
+ """depth under the characters from the surrounding environment (nearest + blur, in disparity)"""
23
+ from scipy import ndimage as ndi
24
+ m = mask & valid
25
+ if not m.any(): return z
26
+ disp = np.where(valid & ~m, 1.0 / np.maximum(z, 0.05), 0.0); src = valid & ~m
27
+ _, (iy, ix) = ndi.distance_transform_edt(~src, return_indices=True); d2 = disp[iy, ix]
28
+ d2 = np.where(m, cv2.GaussianBlur(d2.astype(np.float32), (0, 0), 6.0), d2); return np.where(m, 1.0 / np.maximum(d2, 1e-4), z)
29
+
30
+ SHIELD_PART = 19
31
+ def draw_shield(v5, disc):
32
+ """(user: 把盾画出来) the player's shield: a filled disc in the player's colour, G = slot 1 * 32 + SHIELD_PART; disc = (u, v, r) in the
33
+ 832x480 crop (wan_v6/shield) -> 1024x576 (crop x0 = 10.5 of 853 wide, scale 1.2). Drawn into the v5 frame BEFORE compose, so it is a character pixel."""
34
+ u_, w_, r_ = disc
35
+ if not np.isfinite(u_): return v5
36
+ v = v5.copy(); pl = (v[..., 1] >= 34) & (v[..., 1] < 148); col = np.median(v[pl], 0) if pl.any() else np.array([20, 0, 230])
37
+ cv2.circle(v, (int(round((u_ + 10.5) * 1.2)), int(round(w_ * 1.2))), max(2, int(round(r_ * 1.2))), (int(col[0]), 32 + SHIELD_PART, int(col[2])), -1); return v
38
+
39
+ def compose(v5, tier, sh=None):
40
+ """v5 [576,1024,3] uint8; tier [576,1024] uint8 0 sky 1 unknown 2 coarse 3 exact; sh [576,1024] shading (exact)"""
41
+ act = v5[..., 1] >= 20; out = v5.copy(); g = out[..., 1]
42
+ g[tier == 1] = G_UNK; g[tier == 2] = G_COARSE
43
+ if sh is not None: ex = tier == 3; g[ex] = np.round(G_EX0 + (G_EX1 - G_EX0) * sh[ex]).astype(np.uint8)
44
+ out[tier == 1, 0] = 0; out[tier == 1, 2] = 0; out[tier == 0] = 0
45
+ out[act] = v5[act] # characters on top
46
+ halo = cv2.dilate(act.astype(np.uint8), np.ones((5, 5), np.uint8)).astype(bool) & ~act; out[halo] = 0
47
+ return out
48
+
49
+ def temporal_fill(cam_t, z_t, mask_t, srcs, step=2):
50
+ """(10-17, user: 修) the environment behind the characters from OTHER frames: every source frame's background points (its own characters excluded),
51
+ reprojected into frame t, z-buffered; mask pixels they reach get that depth, the rest stays for fill_under.
52
+ cam = (pos [3], Rrows [3,3] right/up/forward, f, cx, cy) in one world (y up, metres); z planar depth; srcs = [(cam, z, bg_valid)]"""
53
+ h, w = z_t.shape; buf = np.full(h * w, np.inf)
54
+ pos_t, R_t, f_t, cx_t, cy_t = cam_t
55
+ for (pos, R, f, cx, cy), z, ok in srcs:
56
+ vv, uu = np.mgrid[0:z.shape[0]:step, 0:z.shape[1]:step]; zz = z[::step, ::step]; m = ok[::step, ::step]
57
+ u = uu[m] + 0.5; v = vv[m] + 0.5; zz = zz[m]
58
+ P = pos + ((u - cx) / f * zz)[:, None] * R[0] - ((v - cy) / f * zz)[:, None] * R[1] + zz[:, None] * R[2]
59
+ rel = P - pos_t; zc = rel @ R_t[2]; keep = zc > 0.1
60
+ ut = cx_t + f_t * (rel[keep] @ R_t[0]) / zc[keep]; vt = cy_t - f_t * (rel[keep] @ R_t[1]) / zc[keep]; zc = zc[keep]
61
+ iu = np.floor(ut).astype(int); iv = np.floor(vt).astype(int); inb = (iu >= 0) & (iu < w) & (iv >= 0) & (iv < h)
62
+ iu, iv, zc = iu[inb], iv[inb], zc[inb]; sel = mask_t[iv, iu]
63
+ np.minimum.at(buf, iv[sel] * w + iu[sel], zc[sel])
64
+ buf = buf.reshape(h, w); got = np.isfinite(buf)
65
+ # close the splat gaps (points every `step` px): min-filter the reached depth over a small window, only inside the mask
66
+ k = 2 * step + 1; b2 = np.where(got, buf, 1e9).astype(np.float32); b2 = -cv2.dilate(-b2, np.ones((k, k), np.uint8)); got2 = (b2 < 1e8) & mask_t
67
+ zf = np.where(got2, b2, z_t); return zf, got2
68
+
69
+ def draw_shield_853(v5, disc, x0=10):
70
+ """the shield disc (u, v, r in the 832x480 crop) into a 853x480 frame"""
71
+ u_, w_, r_ = disc
72
+ if not np.isfinite(u_): return v5
73
+ v = v5.copy(); pl = (v[..., 1] >= 34) & (v[..., 1] < 148); col = np.median(v[pl], 0) if pl.any() else np.array([20, 0, 230])
74
+ cv2.circle(v, (int(round(u_ + x0)), int(round(w_))), max(2, int(round(r_))), (int(col[0]), 32 + SHIELD_PART, int(col[2])), -1); return v
ww_index/scripts/ww_build_windows_grid.py ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Back-to-back 121-frame WildWorld windows on one grid (t0 = 150 + 121k), sharded across machines. Samples are sorted by
2
+ length and dealt alternately so each shard gets ~half the hours. Existing windows (same <id>_<t0>) are skipped.
3
+ python ww_build_windows_grid.py <shard> <nshards> <workers> <gpu,gpu,...>"""
4
+ import json, os, sys, time, traceback
5
+ import multiprocessing as mp
6
+ from pathlib import Path
7
+ ROOT = Path("/data/yuzhewu/datasets/wildworld")
8
+ OUT = ROOT / "windows_121"
9
+ LEAD, WIN = 150, 121
10
+
11
+
12
+ def grid(frames):
13
+ return list(range(LEAD, frames - WIN, WIN))
14
+
15
+
16
+ def shard_samples(shard, nshards):
17
+ sel = sorted(json.load(open(ROOT / "selection_50h.json")), key=lambda r: -r["frames"])
18
+ return [r for i, r in enumerate(sel) if i % nshards == shard]
19
+
20
+
21
+ def work(args):
22
+ wid, sid, frames, gpus = args
23
+ os.environ.setdefault("OMP_NUM_THREADS", "1")
24
+ sys.path.insert(0, str(ROOT))
25
+ import ww_to_bossv2v as ww
26
+ edges = json.load(open(ROOT / "skeleton_edges.json"))
27
+ start = time.time()
28
+ try:
29
+ res = ww.convert(ROOT / "data_part1" / sid, edges, grid(frames), OUT, device=gpus[wid % len(gpus)], readable=False, verbose=False)
30
+ made = sum(isinstance(i, dict) for _, i in res); skipped = {}
31
+ for _, i in res:
32
+ if isinstance(i, str):
33
+ skipped[i] = skipped.get(i, 0) + 1
34
+ return dict(sid=sid, windows=len(grid(frames)), made=made, skipped=skipped, seconds=round(time.time() - start, 1))
35
+ except Exception as e:
36
+ return dict(sid=sid, error=repr(e), tb=traceback.format_exc()[-800:])
37
+
38
+
39
+ if __name__ == "__main__":
40
+ shard, nshards, nproc = int(sys.argv[1]), int(sys.argv[2]), int(sys.argv[3])
41
+ gpus = [int(g) for g in sys.argv[4].split(",")]
42
+ rows = shard_samples(shard, nshards)
43
+ OUT.mkdir(exist_ok=True)
44
+ tasks = [(i, r["id"], r["frames"], gpus) for i, r in enumerate(rows)]
45
+ print(f"shard {shard}/{nshards}: {len(rows)} samples, {sum(r['hours'] for r in rows):.1f} h, {sum(len(grid(r['frames'])) for r in rows)} grid windows, {nproc} workers on GPUs {gpus}", flush=True)
46
+ done = 0
47
+ with mp.get_context("spawn").Pool(nproc, maxtasksperchild=2) as pool, open(ROOT / f"build_windows_grid_s{shard}_results.jsonl", "a") as log:
48
+ for r in pool.imap_unordered(work, tasks):
49
+ done += 1; log.write(json.dumps(r) + "\n"); log.flush()
50
+ if "error" in r or done % 20 == 0:
51
+ print(time.strftime("%H:%M:%S"), f"{done}/{len(tasks)}", json.dumps(r)[:300], flush=True)
52
+ print(f"GRID_BUILD_DONE shard {shard}", flush=True)
ww_index/scripts/ww_offset_est.py ADDED
@@ -0,0 +1,129 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Per-session state<->video lag estimate for WildWorld. For a few frames of 2 windows per session, SAM2 (point grid)
2
+ gives object masks that do not depend on the state; the monster's state joints are projected at shifts s in [-90, 90]
3
+ and the shift whose projection falls best inside one object mask wins. A constant per-session lag was seen by eye
4
+ (bear session ~-40, most sessions 0). Output: ww_offsets.json {sid: {best_s, score_best, score_0, n_frames, ...}}.
5
+ python ww_offset_est.py <shard> <nshards> [sessions_csv] (CUDA_VISIBLE_DEVICES picks the GPU)"""
6
+ import glob, json, subprocess, sys, time
7
+ from pathlib import Path
8
+ import numpy as np, torch
9
+ from PIL import Image
10
+ sys.path.insert(0, "/data/yuzhewu/runs/proxykit"); sys.path.insert(0, "/data/yuzhewu/datasets/wildworld")
11
+ import ww_to_bossv2v as ww
12
+ from proxykit.geometry import Camera, quat_from_matrix
13
+ from transformers import Sam2Model, Sam2Processor
14
+ ROOT = Path("/data/yuzhewu/datasets/wildworld"); edges = json.load(open(ROOT / "skeleton_edges.json"))
15
+ SHIFTS = np.arange(-90, 91); FRAMES = (20, 60, 100); GRID = (24, 14); DEV = "cuda"
16
+ model = Sam2Model.from_pretrained("facebook/sam2.1-hiera-large", torch_dtype=torch.bfloat16).to(DEV).eval(); proc = Sam2Processor.from_pretrained("facebook/sam2.1-hiera-large")
17
+
18
+
19
+ def masks_for(img):
20
+ """SAM2 masks from a point grid: list of bool (720,1280) masks, deduped, 0.3%..50% of the frame."""
21
+ W, H = img.size; xs = (np.arange(GRID[0]) + 0.5) / GRID[0] * W; ys = (np.arange(GRID[1]) + 0.5) / GRID[1] * H
22
+ pts = [[[float(x), float(y)]] for y in ys for x in xs]
23
+ inputs = proc(images=img, input_points=[pts], input_labels=[[[1]] * len(pts)], return_tensors="pt").to(DEV)
24
+ with torch.no_grad():
25
+ out = model(**{k: (v.to(torch.bfloat16) if v.dtype == torch.float32 else v) for k, v in inputs.items()}, multimask_output=True)
26
+ m = proc.post_process_masks(out.pred_masks.float().cpu(), inputs["original_sizes"].cpu())[0] # (N, 3, H, W) bool
27
+ iou = out.iou_scores.float().cpu()[0] # (N, 3)
28
+ best = iou.argmax(-1); m = m[torch.arange(len(m)), best].numpy(); iou = iou[torch.arange(len(iou)), best].numpy()
29
+ keep = []
30
+ for k in np.argsort(-iou):
31
+ a = m[k].mean()
32
+ if not (0.003 <= a <= 0.5): continue
33
+ if any((m[k] & m[j]).sum() / max((m[k] | m[j]).sum(), 1) > 0.8 for j in keep): continue
34
+ keep.append(k)
35
+ return [m[k] for k in keep]
36
+
37
+
38
+ def session_tables(sid):
39
+ sd = ROOT / "data_part1" / sid; st = ww.load_state(sd / "state.csv"); z = np.load(sd / "skeleton.npz"); keys = {k[0]: k for k in z.files}; km = keys["m"]
40
+ parts = ww.assign_parts(z[km], edges[f"em_{km.split('_', 1)[1]}"], st["monster.list.1.rot"], "m")[0]
41
+ return st, z[km], np.asarray(parts) > 0, len(z[km])
42
+
43
+
44
+ def project(st, Jm, ok, t, ground):
45
+ if t < 0 or t >= len(Jm) or np.isnan(st["camera.rot"][t]).any(): return None
46
+ Rgl = ww.q2R(st["camera.rot"][t]); M = np.stack([ww.S_SWAP(-Rgl[:, 2]), ww.S_SWAP(Rgl[:, 0]), ww.S_SWAP(Rgl[:, 1])], 1)
47
+ K = st["camera.K"][t]; cam = Camera(ww.S_SWAP(st["camera.pos"][t] - np.array([0, ground, 0])) * 100, quat_from_matrix(M), float(np.degrees(2 * np.arctan(640 / K[0]))), 1280, 720)
48
+ P = ww.S_SWAP(Jm[t] - np.array([0, ground, 0])) * 100; good = ok & ~np.isnan(P).any(1)
49
+ if good.sum() < 6: return None
50
+ uv, d = cam.project(P[good]); vis = d > 50
51
+ return uv[vis] if vis.sum() >= 6 else None
52
+
53
+
54
+ def hull_mask(uv):
55
+ """Filled convex hull of the projected joints (monotone chain), as a bool (720,1280) mask."""
56
+ from PIL import ImageDraw
57
+ pts = sorted(set((float(x), float(y)) for x, y in uv))
58
+ if len(pts) < 3: return None
59
+ cross = lambda o, a, b: (a[0] - o[0]) * (b[1] - o[1]) - (a[1] - o[1]) * (b[0] - o[0])
60
+ lo, up = [], []
61
+ for q in pts:
62
+ while len(lo) >= 2 and cross(lo[-2], lo[-1], q) <= 0: lo.pop()
63
+ lo.append(q)
64
+ for q in reversed(pts):
65
+ while len(up) >= 2 and cross(up[-2], up[-1], q) <= 0: up.pop()
66
+ up.append(q)
67
+ hull = lo[:-1] + up[:-1]
68
+ im = Image.new("L", (1280, 720), 0); ImageDraw.Draw(im).polygon(hull, fill=255)
69
+ return np.asarray(im) > 0
70
+
71
+
72
+ def frame_score(masks, uv):
73
+ """max over SAM masks of IoU(convex hull of projected joints, mask); 0 if the hull is mostly off-screen."""
74
+ ins = (uv[:, 0] >= 0) & (uv[:, 0] < 1280) & (uv[:, 1] >= 0) & (uv[:, 1] < 720)
75
+ if ins.mean() < 0.6: return 0.0
76
+ hm = hull_mask(np.stack([np.clip(uv[:, 0], 0, 1279), np.clip(uv[:, 1], 0, 719)], 1))
77
+ if hm is None or hm.sum() < 200: return 0.0
78
+ best = 0.0
79
+ for m in masks:
80
+ inter = (hm & m).sum()
81
+ if inter == 0: continue
82
+ best = max(best, inter / (hm | m).sum())
83
+ return float(best)
84
+
85
+
86
+ def estimate(sid, wins):
87
+ st, Jm, ok, n = session_tables(sid); rows = []; t_start = time.time()
88
+ for win in wins:
89
+ m = json.load(open(ROOT / "windows_121" / win / "meta.json")); t0 = m["t0"]; ground = m["ground_y_m"]
90
+ for i in FRAMES:
91
+ uv0 = project(st, Jm, ok, t0 + i, ground)
92
+ if uv0 is None: continue
93
+ fp = Path("/tmp/claude-2007/-home-yuzhewu/5fdd2e27-0190-4cf5-b6bf-9a4d1f89d67d/scratchpad") / f"off_{sid}_{i}.png"; fp.parent.mkdir(parents=True, exist_ok=True)
94
+ subprocess.run(["ffmpeg", "-v", "error", "-y", "-i", str(ROOT / "windows_121" / win / "rgb.mp4"), "-vf", f"select=eq(n\\,{i}),scale=1280:720", "-vframes", "1", str(fp)], check=False)
95
+ if not fp.exists(): continue
96
+ masks = masks_for(Image.open(fp).convert("RGB")); fp.unlink()
97
+ if not masks: continue
98
+ sc = np.zeros(len(SHIFTS))
99
+ for k, s in enumerate(SHIFTS):
100
+ uv = project(st, Jm, ok, t0 + i + s, ground)
101
+ sc[k] = frame_score(masks, uv) if uv is not None else 0.0
102
+ rows.append(sc)
103
+ if not rows: return dict(sid=sid, n_frames=0)
104
+ k0 = int(np.where(SHIFTS == 0)[0][0])
105
+ def width(r): # frames of the plateau within 90% of the peak: sharp = informative
106
+ return int((r >= 0.9 * r.max()).sum())
107
+ info = [r for r in rows if r.max() - np.median(r) >= 0.12 and width(r) <= 12] # a real, sharp peak
108
+ use = info if info else rows
109
+ tot = np.mean(use, 0); k = int(np.argmax(tot)); pf = [int(SHIFTS[int(np.argmax(r))]) for r in use]
110
+ return dict(sid=sid, n_frames=len(rows), n_info=len(info), best_s=int(SHIFTS[k]), median_s=int(np.median(pf)), spread=int(max(pf) - min(pf)),
111
+ score_best=float(tot[k]), score_0=float(tot[k0]), score_med=float(np.median(tot)),
112
+ per_frame_best=[int(SHIFTS[int(np.argmax(r))]) for r in rows], per_frame_peak=[round(float(r.max() - np.median(r)), 2) for r in rows],
113
+ per_frame_width=[width(r) for r in rows], curves=[np.round(r, 3).tolist() for r in rows], secs=round(time.time() - t_start, 1))
114
+
115
+
116
+ if __name__ == "__main__":
117
+ shard, nsh = int(sys.argv[1]), int(sys.argv[2])
118
+ by_sid = {}
119
+ for f in sorted(glob.glob(str(ROOT / "windows_121" / "*/meta.json"))):
120
+ win = Path(f).parent.name; sid = win.rsplit("_", 1)[0]
121
+ if (ROOT / "data_part1" / sid).exists(): by_sid.setdefault(sid, []).append(win)
122
+ sids = sys.argv[3].split(",") if len(sys.argv) > 3 else sorted(by_sid)
123
+ out = Path(ROOT / f"ww_offsets_shard{shard}.json"); res = json.load(open(out)) if out.exists() else {}
124
+ for n, sid in enumerate(sids):
125
+ if n % nsh != shard or sid in res: continue
126
+ w = by_sid[sid]; pick = [w[0], w[len(w) // 2]] if len(w) > 1 else w[:1]
127
+ r = estimate(sid, pick); res[sid] = r; json.dump(res, open(out, "w"), indent=1)
128
+ print(f"[{time.strftime('%H:%M:%S')}] {sid} frames {r.get('n_frames')} best_s {r.get('best_s')} median_s {r.get('median_s')} spread {r.get('spread')} info {r.get('n_info')} score {r.get('score_best', 0):.2f} (s=0: {r.get('score_0', 0):.2f}, med {r.get('score_med', 0):.2f}) per-frame {r.get('per_frame_best')} peaks {r.get('per_frame_peak')} widths {r.get('per_frame_width')} {r.get('secs')}s", flush=True)
129
+ print("SHARD_DONE", shard)
ww_index/scripts/ww_offset_perwin.py ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Per-window lag estimates for whole sessions: python ww_offset_perwin.py <sid>[,<sid>...] -> ww_offset_perwin.log"""
2
+ import glob, json, sys
3
+ sys.argv_saved = list(sys.argv); sys.argv = ["x", "0", "1", "none"]
4
+ exec(open("/data/yuzhewu/datasets/wildworld/ww_offset_est.py").read().split('if __name__ == "__main__":')[0])
5
+ out = {}
6
+ for sid in sys.argv_saved[1].split(","):
7
+ wins = sorted(Path(f).parent.name for f in glob.glob(str(ROOT / "windows_121" / f"{sid}_*/meta.json")))
8
+ print(sid, len(wins), "windows", flush=True)
9
+ for w in wins:
10
+ r = estimate(sid, [w]); out[w] = r
11
+ print(f" t0={int(w.rsplit('_', 1)[1]):6d} best_s {r.get('best_s'):>4} median_s {r.get('median_s'):>4} per-frame {r.get('per_frame_best')} peaks {r.get('per_frame_peak')}", flush=True)
12
+ json.dump(out, open(ROOT / "ww_offset_perwin.json", "w"), indent=1)
13
+ print("PERWIN_DONE", flush=True)
ww_index/scripts/ww_to_bossv2v_v2.py ADDED
@@ -0,0 +1,433 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """v2 ENCODING (runs/condv2/cond_v2.py: G = facing band per entity, line-width floor), applied per frame at 1280x720 before the
2
+ area scale. Facing: +Z of npc/monster rot (checked against velocity: npc 0.99, monster 0.64). Otherwise identical to ww_to_bossv2v.py.
3
+
4
+ WildWorld sample -> BOSSV2V-encoded training windows (same encoding as proxykit / capture_720p30_v1).
5
+
6
+ Per window (121 frames @ 30 fps): rgb.mp4 (1024x576), cond.mp4 (1280x720 rendered, area-scaled to 1024x576, 10-bit
7
+ 4:4:4), readable.mp4 (for inspection), meta.json.
8
+
9
+ actors skeleton.npz joints -> capsules with the proxykit shader (player slot 1, monster slot 2, weapon part 18);
10
+ tiny leaf chains (fingers, face) are pruned, remaining chains get BOSSV2V-style part ids from topology.
11
+ environment WildWorld 8-bit depth -> metric camera depth (LUT fitted on joint depths) with the characters' silhouettes
12
+ masked and filled, back-projected to world height; encoded exactly like the shader's environment branch.
13
+ frames WildWorld is Y-up metres (GL right-handed); proxykit is Z-up centimetres. p_ue = 100 * (x, z, y - ground)
14
+ where ground = median lowest player joint in the window, so the arena floor sits near 0 m.
15
+ """
16
+ import argparse, ast, csv, json, subprocess, sys
17
+ from pathlib import Path
18
+ import numpy as np
19
+ sys.path.insert(0, '/data/yuzhewu/runs/condv2'); import cond_v2
20
+ sys.path.insert(0, "/data/yuzhewu/runs/proxykit36")
21
+ from proxykit.geometry import Camera, quat_from_matrix, rotation
22
+ from proxykit.render import Renderer, VideoWriter, ReadableWriter, readable_rgb8, HEIGHT_RANGE_M, DEPTH_RANGE_M
23
+ from proxykit.skeleton import LINE_RATIO, JOINT_RATIO, HEAD_RATIO, WEAPON_PART
24
+
25
+ W, H, FPS, WIN = 1280, 720, 30, 121
26
+ DEPTH_LUT = np.array([[0, 0.5], [13, 3.5], [20, 5.0], [30, 7.0], [34, 9.0], [38, 11.5], [49, 14.5], [62, 18.0], [72, 22.5],
27
+ [84, 27.5], [97, 35.0], [136, 60.0], [175, 125.0], [255, 258.0]]) # depth8 -> metres (medians)
28
+ SKY_DEPTH8 = 215
29
+ EMPTY_ENV = {"platform": {"radius_cm": 0.0, "z_cm": -1e9}, "sea_z_cm": -1e9, "boxes": []}
30
+
31
+
32
+ def q2R(q):
33
+ x, y, z, w = q
34
+ return np.array([[1 - 2 * (y * y + z * z), 2 * (x * y - z * w), 2 * (x * z + y * w)],
35
+ [2 * (x * y + z * w), 1 - 2 * (x * x + z * z), 2 * (y * z - x * w)],
36
+ [2 * (x * z - y * w), 2 * (y * z + x * w), 1 - 2 * (x * x + y * y)]])
37
+
38
+
39
+ S_SWAP = lambda v: np.stack([v[..., 0], v[..., 2], v[..., 1]], -1) # Y-up (x, y, z) -> Z-up (x, z, y)
40
+
41
+
42
+ def load_state(path):
43
+ cols = {"camera.K": 4, "camera.pos": 3, "camera.rot": 4, "npc.list.1.pos": 3, "npc.list.1.rot": 4,
44
+ "monster.list.1.pos": 3, "monster.list.1.rot": 4}
45
+ out = {c: [] for c in cols}
46
+ for r in csv.DictReader(open(path)):
47
+ for c, n in cols.items():
48
+ try:
49
+ v = ast.literal_eval(r.get(c) or "None")
50
+ a = np.array(v, float) if isinstance(v, tuple) and len(v) == n else np.full(n, np.nan)
51
+ except (ValueError, SyntaxError):
52
+ a = np.full(n, np.nan)
53
+ out[c].append(a)
54
+ return {c: np.stack(v) for c, v in out.items()}
55
+
56
+
57
+ # ------------------------------------------------------------------------------------------------ topology -> parts
58
+ def tree(J, edges, root):
59
+ adj = [[] for _ in range(J)]
60
+ for a, b in edges:
61
+ adj[a].append(b); adj[b].append(a)
62
+ parent = np.full(J, -2); order = []
63
+ for start in [root] + list(range(J)):
64
+ if parent[start] != -2:
65
+ continue
66
+ parent[start] = -1; stack = [start]
67
+ while stack:
68
+ u = stack.pop(); order.append(u)
69
+ for v in adj[u]:
70
+ if parent[v] == -2:
71
+ parent[v] = u; stack.append(v)
72
+ return parent, order
73
+
74
+
75
+ def assign_parts(joints, edges, rots, kind):
76
+ """joints (N, J, 3) Y-up metres; rots (N, 4) entity quaternions; kind 'n' (player) or 'm' (monster).
77
+ Returns (parts (J,) int with 0 = pruned, parent (J,), size_m)."""
78
+ N, J, _ = joints.shape
79
+ valid = np.nonzero(~np.isnan(joints).any((1, 2)) & ~np.isnan(rots).any(1))[0]
80
+ assert len(valid) > 0, "entity never valid"
81
+ frames = valid[np.linspace(0, len(valid) - 1, min(24, len(valid))).astype(int)]
82
+ ext = np.median([np.ptp(joints[t], 0).max() for t in frames])
83
+ size = float(ext)
84
+ t0 = frames[len(frames) // 2]
85
+ root = int(np.argmin(np.linalg.norm(joints[t0] - np.median(joints[t0], 0), axis=1)))
86
+ parent, order = tree(J, edges, root)
87
+ blen = np.array([np.nanmedian(np.linalg.norm(joints[frames, j] - joints[frames, parent[j]], axis=-1)) if parent[j] >= 0 else 0.0
88
+ for j in range(J)])
89
+ alive = np.ones(J, bool); pruned_to = {}
90
+ prune_len = 0.06 * size if kind == "m" else 0.16 * size
91
+ fr_axes = []
92
+ for t in frames:
93
+ R = q2R(rots[t]); f = R @ np.array([0, 0, 1.0]); f[1] = 0; fr_axes.append(f / max(np.linalg.norm(f), 1e-6))
94
+ fwd_score = np.median([(joints[t] - joints[t, root]) @ f for t, f in zip(frames, fr_axes)], 0)
95
+ up_score = np.median([joints[t, :, 1] - joints[t, root, 1] for t in frames], 0)
96
+ head_joint = int(np.argmax(up_score if kind == "n" else fwd_score))
97
+ tail_joint = int(np.argmin(fwd_score))
98
+ while True:
99
+ children = [[] for _ in range(J)]
100
+ for j in range(J):
101
+ if alive[j] and parent[j] >= 0 and alive[parent[j]]:
102
+ children[parent[j]].append(j)
103
+ removed = False
104
+ for leaf in range(J):
105
+ if not alive[leaf] or children[leaf] or parent[leaf] < 0:
106
+ continue
107
+ chain, p = [leaf], parent[leaf]
108
+ while p >= 0 and len(children[p]) == 1 and p != root:
109
+ chain.append(p); p = parent[p]
110
+ if sum(blen[c] for c in chain) < prune_len and p >= 0 and head_joint not in chain:
111
+ for c in chain:
112
+ alive[c] = False; pruned_to[c] = p
113
+ removed = True
114
+ if not removed:
115
+ break
116
+ children = [[] for _ in range(J)]
117
+ for j in range(J):
118
+ if alive[j] and parent[j] >= 0 and alive[parent[j]]:
119
+ children[parent[j]].append(j)
120
+ chains = []
121
+ for leaf in range(J):
122
+ if alive[leaf] and not children[leaf] and parent[leaf] >= 0:
123
+ chain, p = [leaf], parent[leaf]
124
+ while p >= 0 and len(children[p]) == 1 and p != root:
125
+ chain.append(p); p = parent[p]
126
+ chains.append(dict(joints=chain[::-1], branch=p, length=sum(blen[c] for c in chain)))
127
+ in_chain = {j for c in chains for j in c["joints"]}
128
+ core = [j for j in range(J) if alive[j] and j not in in_chain]
129
+
130
+ votes = [dict() for _ in chains]
131
+ for t in frames:
132
+ P = joints[t]; R = q2R(rots[t])
133
+ f = R @ np.array([0, 0, 1.0]); f[1] = 0; f /= max(np.linalg.norm(f), 1e-6)
134
+ up = np.array([0, 1.0, 0]); r = np.cross(f, up)
135
+ cen = np.nanmean(P[core], 0) if core else P[root]
136
+ ground = np.nanmin(P[:, 1])
137
+ rel = [(P[c["joints"][-1]] - cen) for c in chains]
138
+ lf = np.array([x @ f for x in rel]); lr = np.array([x @ r for x in rel])
139
+ height = np.array([P[c["joints"][-1], 1] - ground for c in chains])
140
+ br_h = np.array([P[c["joints"][0], 1] - ground for c in chains])
141
+ L = np.array([c["length"] for c in chains])
142
+ lab = ["other"] * len(chains)
143
+ legs = [i for i in range(len(chains)) if height[i] < (0.10 if kind == "m" else 0.15) * size and br_h[i] > height[i] + 0.1 * L[i]]
144
+ for i in legs:
145
+ side = "l" if lr[i] < 0 else "r"
146
+ lab[i] = f"leg_{'front' if (kind == 'm' and lf[i] > 0 and len(legs) > 2) else 'hind'}_{side}"
147
+ rest = [i for i in range(len(chains)) if i not in legs]
148
+ if rest:
149
+ head = max(rest, key=lambda i: lf[i] if kind == "m" else height[i])
150
+ lab[head] = "head"; rest.remove(head)
151
+ if kind == "m" and rest:
152
+ tail = min(rest, key=lambda i: lf[i])
153
+ if lf[tail] < 0 and L[tail] > 0.15 * size:
154
+ lab[tail] = "tail"; rest.remove(tail)
155
+ for i in rest:
156
+ if L[i] > 0.2 * size:
157
+ lab[i] = f"{'wing' if kind == 'm' else 'arm'}_{'l' if lr[i] < 0 else 'r'}"
158
+ for i, l in enumerate(lab):
159
+ votes[i][l] = votes[i].get(l, 0) + 1
160
+
161
+ PART = {"leg_front_l": [6, 7, 8], "leg_front_r": [9, 10, 11], "leg_hind_l": [12, 13, 14], "leg_hind_r": [15, 16, 17],
162
+ "arm_l": [6, 7, 8], "arm_r": [9, 10, 11], "wing_l": [23, 24, 25], "wing_r": [26, 27, 28], "tail": [19, 20, 21, 22],
163
+ "head": [4, 4, 5]}
164
+ parts = np.zeros(J, int)
165
+ t = frames[len(frames) // 2]
166
+ if core:
167
+ R = q2R(rots[t]); f = R @ np.array([0, 0, 1.0]); f[1] = 0; f /= max(np.linalg.norm(f), 1e-6)
168
+ key = (joints[t, core] @ f) if kind == "m" else joints[t, core, 1]
169
+ ranks = np.argsort(np.argsort(key))
170
+ for j, rk in zip(core, ranks):
171
+ parts[j] = 1 + int(3 * rk / max(len(core), 1))
172
+ labels = []
173
+ for c, v in zip(chains, votes):
174
+ l = max(v, key=v.get)
175
+ if head_joint in c["joints"]:
176
+ l = "head"
177
+ elif kind == "m" and tail_joint in c["joints"] and c["length"] > 0.15 * size:
178
+ l = "tail"
179
+ elif l in ("head", "tail"):
180
+ l = "other"
181
+ labels.append(l)
182
+ seq = PART.get(l)
183
+ for k, j in enumerate(c["joints"]):
184
+ parts[j] = seq[min(len(seq) - 1, int(len(seq) * k / len(c["joints"])))] if seq else 0
185
+ for c, l in zip(chains, labels): # "other" chains inherit their branch joint
186
+ if l == "other":
187
+ for j in c["joints"]:
188
+ parts[j] = parts[c["branch"]] if c["branch"] >= 0 and parts[c["branch"]] else 2
189
+ for j in order:
190
+ if not alive[j]:
191
+ parts[j] = 0
192
+ parents_alive = np.array([parent[j] if parent[j] >= 0 and alive[parent[j]] else -1 for j in range(J)])
193
+ debug = [dict(label=l, length_rel=round(c["length"] / size, 3), n=len(c["joints"]), votes=v) for c, l, v in zip(chains, labels, votes)]
194
+ return parts, parents_alive, size, dict(zip(range(len(chains)), labels)), debug
195
+
196
+
197
+ # --------------------------------------------------------------------------------------------------- environment
198
+ def depth8_to_m(d8):
199
+ return np.interp(d8.astype(np.float32), DEPTH_LUT[:, 0], DEPTH_LUT[:, 1])
200
+
201
+
202
+ def blur3(a):
203
+ p = np.pad(a, 1, mode="edge")
204
+ return sum(p[dy:dy + a.shape[0], dx:dx + a.shape[1]] for dy in range(3) for dx in range(3)) / 9.0
205
+
206
+
207
+ def upsample2(a, shape):
208
+ return blur3(np.repeat(np.repeat(a, 2, 0), 2, 1)[:shape[0], :shape[1]])
209
+
210
+
211
+ def fill_masked(z, mask, levels=6):
212
+ """Push-pull inpainting with smoothed upsampling: valid-weighted averages down a pyramid, masked pixels filled from
213
+ the (blurred) coarser level."""
214
+ if not mask.any():
215
+ return z
216
+ vals, wts, shapes = [np.where(mask, 0.0, z)], [(~mask).astype(np.float64)], [z.shape]
217
+ for _ in range(levels):
218
+ v, w = vals[-1], wts[-1]
219
+ h2, w2 = (v.shape[0] + 1) // 2, (v.shape[1] + 1) // 2
220
+ pv = np.zeros((h2 * 2, w2 * 2)); pw = np.zeros((h2 * 2, w2 * 2))
221
+ pv[:v.shape[0], :v.shape[1]] = v * w; pw[:v.shape[0], :v.shape[1]] = w
222
+ sv = pv.reshape(h2, 2, w2, 2).sum((1, 3)); sw = pw.reshape(h2, 2, w2, 2).sum((1, 3))
223
+ vals.append(np.where(sw > 0, sv / np.maximum(sw, 1e-9), 0.0)); wts.append(np.minimum(sw / 4.0 * 2.0, 1.0)); shapes.append((h2, w2))
224
+ filled = vals[-1]
225
+ for lv in range(levels - 1, -1, -1):
226
+ up = upsample2(filled, shapes[lv]); w = wts[lv]
227
+ filled = vals[lv] * w + up * (1 - w)
228
+ return np.where(mask, filled, z)
229
+
230
+
231
+ def _hull(pts):
232
+ pts = sorted(map(tuple, pts))
233
+ if len(pts) < 3:
234
+ return pts
235
+ cross = lambda o, a, b: (a[0] - o[0]) * (b[1] - o[1]) - (a[1] - o[1]) * (b[0] - o[0])
236
+ lo, hi = [], []
237
+ for p in pts:
238
+ while len(lo) >= 2 and cross(lo[-2], lo[-1], p) <= 0:
239
+ lo.pop()
240
+ lo.append(p)
241
+ for p in reversed(pts):
242
+ while len(hi) >= 2 and cross(hi[-2], hi[-1], p) <= 0:
243
+ hi.pop()
244
+ hi.append(p)
245
+ return lo[:-1] + hi[:-1]
246
+
247
+
248
+ def silhouette_mask(cam_ue, ents, z_lo, scale=4):
249
+ """Low-res mask of environment-depth pixels that belong to the characters: thick bones always, plus every pixel inside
250
+ an entity's dilated 2-D joint hull whose depth lies within that entity's joint depth range (fur, membranes, weapons)."""
251
+ from PIL import Image, ImageDraw
252
+ w, h = W // scale, H // scale
253
+ bones = Image.new("L", (w, h), 0); db = ImageDraw.Draw(bones)
254
+ mask = np.zeros((h, w), bool)
255
+ for P, parent, size_cm in ents:
256
+ ok = ~np.isnan(P).any(1)
257
+ uv, d = cam_ue.project(np.where(ok[:, None], P, 0.0))
258
+ vis = ok & (d > 30)
259
+ thick = 0.16 * size_cm
260
+ for j in np.nonzero(vis)[0]:
261
+ p = parent[j]
262
+ if p >= 0 and vis[p]:
263
+ wpx = max(2, int(cam_ue.focal * thick / min(d[j], d[p]) / scale))
264
+ db.line([tuple(uv[p] / scale), tuple(uv[j] / scale)], fill=255, width=wpx)
265
+ if vis.sum() >= 3:
266
+ c = uv[vis] / scale; cen = c.mean(0)
267
+ pad = cam_ue.focal * 0.15 * size_cm / max(float(np.median(d[vis])), 30.0) / scale
268
+ hull = [tuple(cen + (np.array(q) - cen) * 1.0 + (np.array(q) - cen) / max(np.linalg.norm(np.array(q) - cen), 1e-6) * pad)
269
+ for q in _hull(c)]
270
+ him = Image.new("L", (w, h), 0); ImageDraw.Draw(him).polygon(hull, fill=255)
271
+ zmin, zmax = d[vis].min() / 100.0, d[vis].max() / 100.0
272
+ margin = 0.25 * size_cm / 100.0
273
+ mask |= (np.asarray(him) > 0) & (z_lo > zmin - margin) & (z_lo < zmax + margin)
274
+ return mask | (np.asarray(bones) > 0)
275
+
276
+
277
+ def ray_up_component(cam_ue, us, vs):
278
+ R = cam_ue.R
279
+ u = (us + 0.5 - W / 2) / cam_ue.focal; v = (vs + 0.5 - H / 2) / cam_ue.focal
280
+ return R[2, 0] + R[2, 1] * u[None, :] - R[2, 2] * v[:, None]
281
+
282
+
283
+ def env_encode(z_m, cam_ue, ground_ue_m, sky, height_override=None, override_mask=None):
284
+ """Per-pixel environment encoding (uint16 rgb) from metric camera-forward depth, as the shader's environment branch."""
285
+ R = cam_ue.R; u = (np.arange(W) + 0.5 - W / 2) / cam_ue.focal; v = (np.arange(H) + 0.5 - H / 2) / cam_ue.focal
286
+ upc = R[2, 0] + R[2, 1] * u[None, :] - R[2, 2] * v[:, None] # world-z component of the unnormalised ray
287
+ height = cam_ue.position[2] / 100.0 + z_m * upc
288
+ if height_override is not None:
289
+ height = np.where(override_mask, height_override, height)
290
+ hn = np.clip((height - HEIGHT_RANGE_M[0]) / (HEIGHT_RANGE_M[1] - HEIGHT_RANGE_M[0]), 0, 1)
291
+ red = 0.5 + 0.5 * hn
292
+ blue = 1 - np.clip((z_m - DEPTH_RANGE_M[0]) / (DEPTH_RANGE_M[1] - DEPTH_RANGE_M[0]), 0, 1)
293
+ out = np.zeros((H, W, 3), np.uint16)
294
+ out[..., 0] = np.round(red * 65535); out[..., 2] = np.round(blue * 65535)
295
+ out[sky] = 0
296
+ return out
297
+
298
+
299
+ # ------------------------------------------------------------------------------------------------------- windows
300
+ def decode_gray(path, t0, n):
301
+ raw = subprocess.run(["ffmpeg", "-threads", "2", "-filter_threads", "1", "-v", "error", "-ss", f"{t0 / FPS:.6f}", "-i", str(path), "-frames:v", str(n),
302
+ "-f", "rawvideo", "-pix_fmt", "gray", "-"], capture_output=True, check=True).stdout
303
+ return np.frombuffer(raw, np.uint8).reshape(-1, H, W)
304
+
305
+
306
+ def convert(sample_dir, edges, windows, out_root, device=None, readable=True, verbose=True):
307
+ sd = Path(sample_dir); sid = sd.name
308
+ st = load_state(sd / "state.csv"); z = np.load(sd / "skeleton.npz")
309
+ keys = {k[0]: k for k in z.files}
310
+ ents = {}
311
+ for kind, slot, rotcol in (("n", 1, "npc.list.1.rot"), ("m", 2, "monster.list.1.rot")):
312
+ k = keys[kind]; tid = k.split("_", 1)[1]
313
+ ek = "npc" if kind == "n" else f"em_{tid}"
314
+ parts, parent, size, labels, debug = assign_parts(z[k], edges[ek], st[rotcol], kind)
315
+ if verbose:
316
+ print(sid[:8], kind, "size_m", round(size, 2), "kept joints", int((parts > 0).sum()), "/", len(parts), json.dumps(debug), flush=True)
317
+ ents[kind] = dict(key=k, joints=z[k], parts=parts, parent=parent, size_m=size, slot=slot, labels=labels, type_id=tid)
318
+ wk = keys.get("w"); wedges = edges[f"wp_{wk.split('_', 1)[1]}"] if wk else []
319
+ rnd = Renderer(EMPTY_ENV, W, H, device)
320
+ results = []
321
+ try:
322
+ for t0 in windows:
323
+ ts = np.arange(t0, t0 + WIN)
324
+ K = st["camera.K"][ts]
325
+ if np.isnan(K).any() or np.isnan(st["camera.rot"][ts]).any():
326
+ results.append((t0, "skip: invalid camera")); continue
327
+ if np.isnan(ents["m"]["joints"][ts]).any((1, 2)).mean() > 0.05 or np.isnan(ents["n"]["joints"][ts]).any((1, 2)).mean() > 0.05:
328
+ results.append((t0, "skip: entity missing")); continue
329
+ vis_ok = True
330
+ for kind in ("n", "m"):
331
+ inview = 0
332
+ for t in ts[::6]:
333
+ Rgl = q2R(st["camera.rot"][t]); P = ents[kind]["joints"][t][ents[kind]["parts"] > 0] - st["camera.pos"][t]
334
+ pc = P @ Rgl * np.array([1, -1, -1])
335
+ ok = ~np.isnan(pc).any(1) & (pc[:, 2] > 0.5)
336
+ u = K[0, 0] * pc[ok, 0] / pc[ok, 2] + W / 2; v = K[0, 1] * pc[ok, 1] / pc[ok, 2] + H / 2
337
+ frac = ((u >= 0) & (u < W) & (v >= 0) & (v < H)).sum() / max(len(P), 1)
338
+ inview += frac >= 0.3
339
+ if inview / len(ts[::6]) < 0.6:
340
+ vis_ok = False
341
+ if not vis_ok:
342
+ results.append((t0, "skip: character not in view")); continue
343
+ if (Path(out_root) / f"{sid}_{t0:06d}" / "meta.json").exists():
344
+ results.append((t0, "exists")); continue
345
+ assert np.allclose(K[:, 0], K[:, 1], rtol=1e-3) and np.allclose(K[:, 2], W / 2) and np.allclose(K[:, 3], H / 2), "non-centred intrinsics"
346
+ ground = float(np.nanmedian(np.nanmin(ents["n"]["joints"][ts, :, 1], axis=1)))
347
+ to_ue = lambda p: S_SWAP(p - np.array([0, ground, 0])) * 100.0
348
+ dep = decode_gray(sd / "depth.mkv", t0, WIN)
349
+ assert len(dep) == WIN, f"depth decoded {len(dep)} frames"
350
+ od = Path(out_root) / f"{sid}_{t0:06d}"; od.mkdir(parents=True, exist_ok=True)
351
+ subprocess.run(["ffmpeg", "-threads", "2", "-filter_threads", "1", "-v", "error", "-y", "-ss", f"{t0 / FPS:.6f}", "-i", str(sd / "rgb.mp4"), "-frames:v", str(WIN),
352
+ "-vf", "scale=1024:576:flags=area", "-an", "-threads", "2", "-c:v", "libx264", "-crf", "12", "-pix_fmt", "yuv420p",
353
+ str(od / "rgb.mp4")], check=True)
354
+ cw = VideoWriter(od / "cond.mp4", W, H, FPS, scale_to=(1024, 576)); rw = ReadableWriter(od / "readable.mp4", W, H, FPS) if (readable is True or (callable(readable) and readable(t0))) else None
355
+ stats = dict(caps_max=0, actor_px=0.0, masked_px=0.0)
356
+ for i, t in enumerate(ts):
357
+ Rgl = q2R(st["camera.rot"][t]); pos = st["camera.pos"][t]
358
+ M = np.stack([S_SWAP(-Rgl[:, 2]), S_SWAP(Rgl[:, 0]), S_SWAP(Rgl[:, 1])], 1)
359
+ fov = float(np.degrees(2 * np.arctan(W / 2 / K[i, 0])))
360
+ cam = Camera(to_ue(pos), quat_from_matrix(M), fov, W, H)
361
+ if i == 0:
362
+ assert np.allclose(rotation(cam.quat), M, atol=1e-5), "camera rotation round-trip failed"
363
+ caps, sil = [], []
364
+ for kind in ("n", "m"):
365
+ e = ents[kind]; P = to_ue(e["joints"][t]); size_cm = e["size_m"] * 100
366
+ for j in range(len(P)):
367
+ if e["parts"][j] == 0 or np.isnan(P[j]).any():
368
+ continue
369
+ lab = e["slot"] * 32 + int(e["parts"][j]); p = e["parent"][j]
370
+ if p >= 0 and not np.isnan(P[p]).any():
371
+ caps.append((P[p], P[j], size_cm * LINE_RATIO, lab))
372
+ caps.append((P[j], P[j], size_cm * (HEAD_RATIO if e["parts"][j] == 5 else JOINT_RATIO), lab))
373
+ if kind == "n" and wk is not None:
374
+ Pw = to_ue(z[wk][t]); P = np.concatenate([P, Pw]); par = np.concatenate([e["parent"], [-1] * len(Pw)])
375
+ for a, b in wedges:
376
+ par[len(e["parent"]) + b] = len(e["parent"]) + a
377
+ sil.append((P, par, size_cm))
378
+ else:
379
+ sil.append((P, e["parent"], size_cm))
380
+ if wk is not None:
381
+ Pw = to_ue(z[wk][t])
382
+ for a, b in wedges:
383
+ if not (np.isnan(Pw[a]).any() or np.isnan(Pw[b]).any()):
384
+ caps.append((Pw[a], Pw[b], 2.0, 1 * 32 + WEAPON_PART))
385
+ stats["caps_max"] = max(stats["caps_max"], len(caps))
386
+ actor, _ = rnd.render(cam, caps[:256])
387
+ d8 = dep[i]; zm = depth8_to_m(d8); sky = d8 >= SKY_DEPTH8
388
+ zlo = zm[2::4, 2::4][:H // 4, :W // 4]
389
+ mask_lo = silhouette_mask(cam, sil, zlo)
390
+ zfill = fill_masked(zlo.astype(np.float64), mask_lo) # smooth background depth behind the characters
391
+ mask = np.repeat(np.repeat(mask_lo, 4, 0), 4, 1)[:H, :W]
392
+ zup = blur3(np.repeat(np.repeat(zfill, 4, 0), 4, 1)[:H, :W])
393
+ zm = np.where(mask, zup, zm); sky = sky & ~mask
394
+ env = env_encode(zm, cam, 0.0, sky)
395
+ amask = actor[..., 1] > 0
396
+ adepth = DEPTH_RANGE_M[0] + (1 - actor[..., 2] / 65535.0) * (DEPTH_RANGE_M[1] - DEPTH_RANGE_M[0])
397
+ front = amask & (mask | (adepth < zm + 0.5))
398
+ frame = env.copy(); frame[front] = actor[front]
399
+ stats["actor_px"] += float(front.mean()) / WIN; stats["masked_px"] += float(mask.mean()) / WIN
400
+ cp = st['camera.pos'][t]
401
+ faces = {1: cond_v2.facing(q2R(st['npc.list.1.rot'][t]) @ [0, 0, 1.0], st['npc.list.1.pos'][t], cp, (0, 1, 0)),
402
+ 2: cond_v2.facing(q2R(st['monster.list.1.rot'][t]) @ [0, 0, 1.0], st['monster.list.1.pos'][t], cp, (0, 1, 0))}
403
+ faces = {k: (0.5 if not np.isfinite(v) else v) for k, v in faces.items()}
404
+ frame = (np.clip(cond_v2.encode(frame.astype(np.float32) / 65535.0, faces), 0, 1) * 65535 + 0.5).astype(np.uint16)
405
+ cw.write(frame)
406
+ if rw:
407
+ rw.write(readable_rgb8(frame))
408
+ cw.close()
409
+ if rw:
410
+ rw.close()
411
+ meta = dict(sample=sid, t0=int(t0), frames=WIN, fps=FPS, ground_y_m=ground, monster_type=ents["m"]["type_id"],
412
+ npc_key=ents["n"]["key"], weapon_key=wk, player_size_m=ents["n"]["size_m"], monster_size_m=ents["m"]["size_m"],
413
+ monster_chain_labels=sorted(set(ents["m"]["labels"].values())), player_chain_labels=sorted(set(ents["n"]["labels"].values())),
414
+ **{k: (round(v, 4) if isinstance(v, float) else v) for k, v in stats.items()})
415
+ json.dump(meta, open(od / "meta.json", "w"), indent=1)
416
+ results.append((t0, meta))
417
+ finally:
418
+ rnd.close()
419
+ return results
420
+
421
+
422
+ if __name__ == "__main__":
423
+ ap = argparse.ArgumentParser()
424
+ ap.add_argument("samples", nargs="+")
425
+ ap.add_argument("--edges", default="/data/yuzhewu/datasets/wildworld/skeleton_edges.json")
426
+ ap.add_argument("--out", default="/data/yuzhewu/datasets/wildworld/windows_test")
427
+ ap.add_argument("--t0", type=int, nargs="*", default=[3000])
428
+ ap.add_argument("--device", type=int, default=None)
429
+ a = ap.parse_args()
430
+ edges = json.load(open(a.edges))
431
+ for s in a.samples:
432
+ for t0, info in convert(s, edges, a.t0, a.out, a.device):
433
+ print(t0, json.dumps(info) if isinstance(info, dict) else info, flush=True)
ww_index/selection_50h.json ADDED
@@ -0,0 +1,4349 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "id": "6TiOpU5HQsezBpXogJ-ZGw",
4
+ "frames": 6144,
5
+ "hours": 0.05688888888888889,
6
+ "monster": "0",
7
+ "weapon": "6",
8
+ "npc": "4",
9
+ "rgb_gb": 0.316202869
10
+ },
11
+ {
12
+ "id": "knt8T00GQVeDC-2YQcWGgA",
13
+ "frames": 8423,
14
+ "hours": 0.07799074074074074,
15
+ "monster": "0",
16
+ "weapon": "1",
17
+ "npc": "25",
18
+ "rgb_gb": 0.453296856
19
+ },
20
+ {
21
+ "id": "G1mE47H9QiCo-63APLvc9g",
22
+ "frames": 8710,
23
+ "hours": 0.08064814814814815,
24
+ "monster": "0",
25
+ "weapon": "4",
26
+ "npc": "12",
27
+ "rgb_gb": 0.424888319
28
+ },
29
+ {
30
+ "id": "0cHgtBHCRiSjr9R9q2sX0g",
31
+ "frames": 14647,
32
+ "hours": 0.13562037037037036,
33
+ "monster": "0",
34
+ "weapon": "0",
35
+ "npc": "9",
36
+ "rgb_gb": 0.708857553
37
+ },
38
+ {
39
+ "id": "cshCfwsiRBSthM_uKjBQOA",
40
+ "frames": 12607,
41
+ "hours": 0.11673148148148148,
42
+ "monster": "0",
43
+ "weapon": "1",
44
+ "npc": "17",
45
+ "rgb_gb": 0.650328317
46
+ },
47
+ {
48
+ "id": "zw-llHHmSbuTkxtbxR_mtw",
49
+ "frames": 13122,
50
+ "hours": 0.1215,
51
+ "monster": "0",
52
+ "weapon": "5",
53
+ "npc": "12",
54
+ "rgb_gb": 0.675257195
55
+ },
56
+ {
57
+ "id": "Nborzw27RFeYEmt-G6eBew",
58
+ "frames": 8512,
59
+ "hours": 0.07881481481481481,
60
+ "monster": "0",
61
+ "weapon": "4",
62
+ "npc": "4",
63
+ "rgb_gb": 0.487314697
64
+ },
65
+ {
66
+ "id": "65oYzDWcSLayV3_ugYnpzg",
67
+ "frames": 14941,
68
+ "hours": 0.1383425925925926,
69
+ "monster": "0",
70
+ "weapon": "6",
71
+ "npc": "27",
72
+ "rgb_gb": 0.818112231
73
+ },
74
+ {
75
+ "id": "Nx3gDxIoT520GCYYiPiWpw",
76
+ "frames": 8447,
77
+ "hours": 0.07821296296296296,
78
+ "monster": "0",
79
+ "weapon": "1",
80
+ "npc": "25",
81
+ "rgb_gb": 0.468880131
82
+ },
83
+ {
84
+ "id": "nH2mA9DcSHK7m0_GqwT4ZA",
85
+ "frames": 17386,
86
+ "hours": 0.16098148148148148,
87
+ "monster": "0",
88
+ "weapon": "0",
89
+ "npc": "17",
90
+ "rgb_gb": 0.909086165
91
+ },
92
+ {
93
+ "id": "PONPCK3hTkOqbwZeq8z05Q",
94
+ "frames": 12478,
95
+ "hours": 0.11553703703703704,
96
+ "monster": "0",
97
+ "weapon": "4",
98
+ "npc": "9",
99
+ "rgb_gb": 0.616055794
100
+ },
101
+ {
102
+ "id": "LKBfQcpGQEOKY5MEmZ_E5g",
103
+ "frames": 15072,
104
+ "hours": 0.13955555555555554,
105
+ "monster": "0",
106
+ "weapon": "6",
107
+ "npc": "27",
108
+ "rgb_gb": 0.758434816
109
+ },
110
+ {
111
+ "id": "bSk7cb9aS7GYp267ShawpQ",
112
+ "frames": 15221,
113
+ "hours": 0.1409351851851852,
114
+ "monster": "0",
115
+ "weapon": "5",
116
+ "npc": "12",
117
+ "rgb_gb": 0.758793278
118
+ },
119
+ {
120
+ "id": "m_me9Lv3R2O_Eqtzz7E9fg",
121
+ "frames": 13318,
122
+ "hours": 0.12331481481481482,
123
+ "monster": "0",
124
+ "weapon": "0",
125
+ "npc": "4",
126
+ "rgb_gb": 0.646248236
127
+ },
128
+ {
129
+ "id": "mswDnSd6TBe-abpXoRm7VA",
130
+ "frames": 9551,
131
+ "hours": 0.08843518518518519,
132
+ "monster": "0",
133
+ "weapon": "1",
134
+ "npc": "25",
135
+ "rgb_gb": 0.44417056
136
+ },
137
+ {
138
+ "id": "bUWH1RhtTD25yKjARpmtFQ",
139
+ "frames": 18094,
140
+ "hours": 0.16753703703703704,
141
+ "monster": "0",
142
+ "weapon": "5",
143
+ "npc": "17",
144
+ "rgb_gb": 0.89677147
145
+ },
146
+ {
147
+ "id": "t6SB5TtdR1-owiU36yfulA",
148
+ "frames": 14023,
149
+ "hours": 0.1298425925925926,
150
+ "monster": "0",
151
+ "weapon": "4",
152
+ "npc": "9",
153
+ "rgb_gb": 0.731870665
154
+ },
155
+ {
156
+ "id": "ep9aodXZR6uaASacifMRlQ",
157
+ "frames": 8798,
158
+ "hours": 0.08146296296296296,
159
+ "monster": "1",
160
+ "weapon": "6",
161
+ "npc": "4",
162
+ "rgb_gb": 0.257090928
163
+ },
164
+ {
165
+ "id": "KicJqIAXTh2HlhzatWfJsw",
166
+ "frames": 9981,
167
+ "hours": 0.09241666666666666,
168
+ "monster": "1",
169
+ "weapon": "0",
170
+ "npc": "12",
171
+ "rgb_gb": 0.356564762
172
+ },
173
+ {
174
+ "id": "-jS5LqbgR7WeHMCWQ5Zr-A",
175
+ "frames": 8086,
176
+ "hours": 0.07487037037037036,
177
+ "monster": "1",
178
+ "weapon": "1",
179
+ "npc": "25",
180
+ "rgb_gb": 0.304256683
181
+ },
182
+ {
183
+ "id": "zAG4SdyrR0CFRIsYHb2cxw",
184
+ "frames": 16674,
185
+ "hours": 0.15438888888888888,
186
+ "monster": "1",
187
+ "weapon": "0",
188
+ "npc": "27",
189
+ "rgb_gb": 0.60832142
190
+ },
191
+ {
192
+ "id": "RYCV5scYSLugovBsciDAxA",
193
+ "frames": 9230,
194
+ "hours": 0.08546296296296296,
195
+ "monster": "1",
196
+ "weapon": "6",
197
+ "npc": "4",
198
+ "rgb_gb": 0.306800442
199
+ },
200
+ {
201
+ "id": "6zDduaN5TPmDPslliEh4qg",
202
+ "frames": 20176,
203
+ "hours": 0.18681481481481482,
204
+ "monster": "1",
205
+ "weapon": "5",
206
+ "npc": "17",
207
+ "rgb_gb": 0.794212317
208
+ },
209
+ {
210
+ "id": "uEZXxvCVTV2x3a_Cz5n9Fg",
211
+ "frames": 15397,
212
+ "hours": 0.1425648148148148,
213
+ "monster": "1",
214
+ "weapon": "4",
215
+ "npc": "9",
216
+ "rgb_gb": 0.555738468
217
+ },
218
+ {
219
+ "id": "aJhj3gIaSY27CGbwqOVV3w",
220
+ "frames": 9142,
221
+ "hours": 0.08464814814814815,
222
+ "monster": "1",
223
+ "weapon": "1",
224
+ "npc": "12",
225
+ "rgb_gb": 0.319933579
226
+ },
227
+ {
228
+ "id": "fuwang7jT5eAtBaf34PkaQ",
229
+ "frames": 10275,
230
+ "hours": 0.09513888888888888,
231
+ "monster": "1",
232
+ "weapon": "6",
233
+ "npc": "25",
234
+ "rgb_gb": 0.349088262
235
+ },
236
+ {
237
+ "id": "OjUxCMsKROqMyTX--yM-6Q",
238
+ "frames": 24374,
239
+ "hours": 0.22568518518518518,
240
+ "monster": "1",
241
+ "weapon": "5",
242
+ "npc": "27",
243
+ "rgb_gb": 0.810568176
244
+ },
245
+ {
246
+ "id": "XsQXX-WvQR2cnp39msR4uA",
247
+ "frames": 15779,
248
+ "hours": 0.14610185185185184,
249
+ "monster": "1",
250
+ "weapon": "4",
251
+ "npc": "9",
252
+ "rgb_gb": 0.54549687
253
+ },
254
+ {
255
+ "id": "p2NF-s3eS7O8zvHDiNXpDg",
256
+ "frames": 13941,
257
+ "hours": 0.12908333333333333,
258
+ "monster": "1",
259
+ "weapon": "0",
260
+ "npc": "25",
261
+ "rgb_gb": 0.50545521
262
+ },
263
+ {
264
+ "id": "NgMrb0-ZQYy-rlrIoUQrFg",
265
+ "frames": 9464,
266
+ "hours": 0.08762962962962963,
267
+ "monster": "1",
268
+ "weapon": "6",
269
+ "npc": "4",
270
+ "rgb_gb": 0.293827275
271
+ },
272
+ {
273
+ "id": "a_886zEKT7O362wNLduVkw",
274
+ "frames": 20510,
275
+ "hours": 0.1899074074074074,
276
+ "monster": "1",
277
+ "weapon": "5",
278
+ "npc": "17",
279
+ "rgb_gb": 0.764732199
280
+ },
281
+ {
282
+ "id": "VbVQJ4TXTly6QjI4rUd14A",
283
+ "frames": 10296,
284
+ "hours": 0.09533333333333334,
285
+ "monster": "1",
286
+ "weapon": "1",
287
+ "npc": "12",
288
+ "rgb_gb": 0.379511971
289
+ },
290
+ {
291
+ "id": "61TwWzlqSZW8qBAIz4ZPyg",
292
+ "frames": 18942,
293
+ "hours": 0.1753888888888889,
294
+ "monster": "10",
295
+ "weapon": "1",
296
+ "npc": "17",
297
+ "rgb_gb": 0.537128071
298
+ },
299
+ {
300
+ "id": "BLdtinktSeKX4krAQZ-UfA",
301
+ "frames": 24375,
302
+ "hours": 0.22569444444444445,
303
+ "monster": "10",
304
+ "weapon": "6",
305
+ "npc": "27",
306
+ "rgb_gb": 0.737460115
307
+ },
308
+ {
309
+ "id": "GdbmXss8R4WZhmu3RSvG3w",
310
+ "frames": 22077,
311
+ "hours": 0.20441666666666666,
312
+ "monster": "10",
313
+ "weapon": "0",
314
+ "npc": "4",
315
+ "rgb_gb": 0.635039842
316
+ },
317
+ {
318
+ "id": "MWl--TuLSaSN9fgb-eOxnA",
319
+ "frames": 27608,
320
+ "hours": 0.25562962962962965,
321
+ "monster": "10",
322
+ "weapon": "4",
323
+ "npc": "9",
324
+ "rgb_gb": 0.77980396
325
+ },
326
+ {
327
+ "id": "vE3JaoL5TxaWtt5mY2xN3Q",
328
+ "frames": 15530,
329
+ "hours": 0.14379629629629628,
330
+ "monster": "10",
331
+ "weapon": "1",
332
+ "npc": "12",
333
+ "rgb_gb": 0.419970082
334
+ },
335
+ {
336
+ "id": "TIcopNq1Q-evt8S27fSO7w",
337
+ "frames": 26849,
338
+ "hours": 0.24860185185185185,
339
+ "monster": "10",
340
+ "weapon": "5",
341
+ "npc": "17",
342
+ "rgb_gb": 0.842853455
343
+ },
344
+ {
345
+ "id": "fvvpwAPGQxub41vkVrTIlg",
346
+ "frames": 19118,
347
+ "hours": 0.17701851851851852,
348
+ "monster": "10",
349
+ "weapon": "6",
350
+ "npc": "25",
351
+ "rgb_gb": 0.382917335
352
+ },
353
+ {
354
+ "id": "3y_CI3LAQJ2i1hA17HAAnA",
355
+ "frames": 31488,
356
+ "hours": 0.29155555555555557,
357
+ "monster": "10",
358
+ "weapon": "0",
359
+ "npc": "27",
360
+ "rgb_gb": 0.85676824
361
+ },
362
+ {
363
+ "id": "JS8WXTx9T9u0hDYRXvhvyQ",
364
+ "frames": 22202,
365
+ "hours": 0.20557407407407408,
366
+ "monster": "10",
367
+ "weapon": "4",
368
+ "npc": "4",
369
+ "rgb_gb": 0.600135983
370
+ },
371
+ {
372
+ "id": "EiOhHihQTBG2KboZ0zMXag",
373
+ "frames": 13543,
374
+ "hours": 0.12539814814814815,
375
+ "monster": "13",
376
+ "weapon": "4",
377
+ "npc": "12",
378
+ "rgb_gb": 0.324536618
379
+ },
380
+ {
381
+ "id": "BfQl1EdzTwqtvm2j0x9nSw",
382
+ "frames": 24465,
383
+ "hours": 0.22652777777777777,
384
+ "monster": "13",
385
+ "weapon": "0",
386
+ "npc": "9",
387
+ "rgb_gb": 0.697421827
388
+ },
389
+ {
390
+ "id": "-lT1VCccSPaLiUiRBVKDbA",
391
+ "frames": 14449,
392
+ "hours": 0.13378703703703704,
393
+ "monster": "13",
394
+ "weapon": "1",
395
+ "npc": "25",
396
+ "rgb_gb": 0.364873518
397
+ },
398
+ {
399
+ "id": "TJjESqpATSumF3B4gOCWiA",
400
+ "frames": 12394,
401
+ "hours": 0.11475925925925926,
402
+ "monster": "13",
403
+ "weapon": "6",
404
+ "npc": "4",
405
+ "rgb_gb": 0.29135109
406
+ },
407
+ {
408
+ "id": "X33iy6FKTwiog_kgpg5IqA",
409
+ "frames": 13937,
410
+ "hours": 0.1290462962962963,
411
+ "monster": "13",
412
+ "weapon": "4",
413
+ "npc": "12",
414
+ "rgb_gb": 0.362783333
415
+ },
416
+ {
417
+ "id": "vL5C6nlwQXeXRnfhtPp2tA",
418
+ "frames": 28131,
419
+ "hours": 0.2604722222222222,
420
+ "monster": "13",
421
+ "weapon": "0",
422
+ "npc": "27",
423
+ "rgb_gb": 0.880417835
424
+ },
425
+ {
426
+ "id": "I6J1QDjvTNyouc-lfYWaJA",
427
+ "frames": 33711,
428
+ "hours": 0.3121388888888889,
429
+ "monster": "13",
430
+ "weapon": "5",
431
+ "npc": "17",
432
+ "rgb_gb": 1.146877366
433
+ },
434
+ {
435
+ "id": "HjuDbnk0TnCYYQ3x7LZtOQ",
436
+ "frames": 14670,
437
+ "hours": 0.13583333333333333,
438
+ "monster": "13",
439
+ "weapon": "4",
440
+ "npc": "25",
441
+ "rgb_gb": 0.389451282
442
+ },
443
+ {
444
+ "id": "RaYjdyRNSSmqd0x8STuJVA",
445
+ "frames": 10126,
446
+ "hours": 0.09375925925925926,
447
+ "monster": "13",
448
+ "weapon": "1",
449
+ "npc": "4",
450
+ "rgb_gb": 0.254804841
451
+ },
452
+ {
453
+ "id": "Ki-6b6FmRCqjq2Cpap9qlw",
454
+ "frames": 23403,
455
+ "hours": 0.21669444444444444,
456
+ "monster": "13",
457
+ "weapon": "6",
458
+ "npc": "27",
459
+ "rgb_gb": 0.677464849
460
+ },
461
+ {
462
+ "id": "lidnDuiYSoCWncO_nrae1w",
463
+ "frames": 25263,
464
+ "hours": 0.23391666666666666,
465
+ "monster": "13",
466
+ "weapon": "0",
467
+ "npc": "9",
468
+ "rgb_gb": 0.708463803
469
+ },
470
+ {
471
+ "id": "w_xA6fENRq6puTxi5dS2Dg",
472
+ "frames": 22739,
473
+ "hours": 0.2105462962962963,
474
+ "monster": "14",
475
+ "weapon": "5",
476
+ "npc": "17",
477
+ "rgb_gb": 0.923201626
478
+ },
479
+ {
480
+ "id": "RmT9qS75RiSnkL6XqWza1Q",
481
+ "frames": 9961,
482
+ "hours": 0.09223148148148148,
483
+ "monster": "14",
484
+ "weapon": "6",
485
+ "npc": "25",
486
+ "rgb_gb": 0.400148638
487
+ },
488
+ {
489
+ "id": "vWKR0pY4QUqSZWpeLLqa1Q",
490
+ "frames": 21165,
491
+ "hours": 0.19597222222222221,
492
+ "monster": "14",
493
+ "weapon": "5",
494
+ "npc": "12",
495
+ "rgb_gb": 0.784013972
496
+ },
497
+ {
498
+ "id": "B8ph8wIgTfCWRoCMEM7duw",
499
+ "frames": 18118,
500
+ "hours": 0.16775925925925925,
501
+ "monster": "14",
502
+ "weapon": "4",
503
+ "npc": "9",
504
+ "rgb_gb": 0.681122759
505
+ },
506
+ {
507
+ "id": "6Vx6IPm9R3mERnf_u80Ckg",
508
+ "frames": 18606,
509
+ "hours": 0.17227777777777778,
510
+ "monster": "14",
511
+ "weapon": "0",
512
+ "npc": "27",
513
+ "rgb_gb": 0.650740381
514
+ },
515
+ {
516
+ "id": "8FwGZuyQSlyS3BDGIUqzOw",
517
+ "frames": 10217,
518
+ "hours": 0.09460185185185185,
519
+ "monster": "14",
520
+ "weapon": "1",
521
+ "npc": "4",
522
+ "rgb_gb": 0.39488182
523
+ },
524
+ {
525
+ "id": "r8NuEl_AQOaiTx7Gie0q1Q",
526
+ "frames": 9984,
527
+ "hours": 0.09244444444444444,
528
+ "monster": "14",
529
+ "weapon": "6",
530
+ "npc": "25",
531
+ "rgb_gb": 0.389983888
532
+ },
533
+ {
534
+ "id": "u8fMNMKlQa-kQG-KZd0VNA",
535
+ "frames": 10871,
536
+ "hours": 0.1006574074074074,
537
+ "monster": "14",
538
+ "weapon": "1",
539
+ "npc": "12",
540
+ "rgb_gb": 0.439536623
541
+ },
542
+ {
543
+ "id": "9ifPBHWTRWuh0k8c0oMMYA",
544
+ "frames": 27689,
545
+ "hours": 0.2563796296296296,
546
+ "monster": "14",
547
+ "weapon": "5",
548
+ "npc": "17",
549
+ "rgb_gb": 1.091542926
550
+ },
551
+ {
552
+ "id": "ntujXmY5Qhi0wMG0-b0htg",
553
+ "frames": 15916,
554
+ "hours": 0.14737037037037037,
555
+ "monster": "14",
556
+ "weapon": "6",
557
+ "npc": "27",
558
+ "rgb_gb": 0.635798243
559
+ },
560
+ {
561
+ "id": "SqM2rLQHRVmRU57YrYdQcA",
562
+ "frames": 21729,
563
+ "hours": 0.20119444444444445,
564
+ "monster": "14",
565
+ "weapon": "0",
566
+ "npc": "9",
567
+ "rgb_gb": 0.787925629
568
+ },
569
+ {
570
+ "id": "yoz4vCTFSaWrOAEG8cv-GQ",
571
+ "frames": 10975,
572
+ "hours": 0.10162037037037037,
573
+ "monster": "14",
574
+ "weapon": "4",
575
+ "npc": "4",
576
+ "rgb_gb": 0.449729115
577
+ },
578
+ {
579
+ "id": "4H4hV9B6Q0SklY2QZS2cMQ",
580
+ "frames": 22697,
581
+ "hours": 0.2101574074074074,
582
+ "monster": "14",
583
+ "weapon": "5",
584
+ "npc": "25",
585
+ "rgb_gb": 0.81454546
586
+ },
587
+ {
588
+ "id": "4cmufGfaQoa41OFI87C0mQ",
589
+ "frames": 19527,
590
+ "hours": 0.18080555555555555,
591
+ "monster": "15",
592
+ "weapon": "5",
593
+ "npc": "17",
594
+ "rgb_gb": 0.661751345
595
+ },
596
+ {
597
+ "id": "0RPX5P4STJSXpmc1NtPYRw",
598
+ "frames": 14742,
599
+ "hours": 0.1365,
600
+ "monster": "15",
601
+ "weapon": "4",
602
+ "npc": "9",
603
+ "rgb_gb": 0.499512161
604
+ },
605
+ {
606
+ "id": "wBFXrHVFRDmc95Oo0NzDgw",
607
+ "frames": 10576,
608
+ "hours": 0.09792592592592593,
609
+ "monster": "15",
610
+ "weapon": "1",
611
+ "npc": "12",
612
+ "rgb_gb": 0.350788538
613
+ },
614
+ {
615
+ "id": "rvIXq4YSRyi2GKfBojS34Q",
616
+ "frames": 14806,
617
+ "hours": 0.1370925925925926,
618
+ "monster": "15",
619
+ "weapon": "6",
620
+ "npc": "27",
621
+ "rgb_gb": 0.424229902
622
+ },
623
+ {
624
+ "id": "48flXIbiQQu9K09SALF3aA",
625
+ "frames": 13599,
626
+ "hours": 0.12591666666666668,
627
+ "monster": "15",
628
+ "weapon": "0",
629
+ "npc": "25",
630
+ "rgb_gb": 0.427670747
631
+ },
632
+ {
633
+ "id": "Oj_0gX9SR72yWUjUuL1T9A",
634
+ "frames": 8972,
635
+ "hours": 0.08307407407407408,
636
+ "monster": "15",
637
+ "weapon": "1",
638
+ "npc": "4",
639
+ "rgb_gb": 0.34261286
640
+ },
641
+ {
642
+ "id": "BSX29PluQZqeBfNZ_OIWCg",
643
+ "frames": 9604,
644
+ "hours": 0.08892592592592592,
645
+ "monster": "15",
646
+ "weapon": "4",
647
+ "npc": "12",
648
+ "rgb_gb": 0.303894913
649
+ },
650
+ {
651
+ "id": "04eopMkzT72i_ezk8cEIpQ",
652
+ "frames": 23272,
653
+ "hours": 0.21548148148148147,
654
+ "monster": "15",
655
+ "weapon": "5",
656
+ "npc": "17",
657
+ "rgb_gb": 0.785462089
658
+ },
659
+ {
660
+ "id": "R05fuKI8QASEz13UaLd2yQ",
661
+ "frames": 21480,
662
+ "hours": 0.1988888888888889,
663
+ "monster": "15",
664
+ "weapon": "0",
665
+ "npc": "27",
666
+ "rgb_gb": 0.657762089
667
+ },
668
+ {
669
+ "id": "Kv-u-B9JSVuSL-jcOk1srw",
670
+ "frames": 16109,
671
+ "hours": 0.1491574074074074,
672
+ "monster": "15",
673
+ "weapon": "4",
674
+ "npc": "9",
675
+ "rgb_gb": 0.518209175
676
+ },
677
+ {
678
+ "id": "dZkocX4USl6XxIS8AGmZtg",
679
+ "frames": 9930,
680
+ "hours": 0.09194444444444444,
681
+ "monster": "15",
682
+ "weapon": "6",
683
+ "npc": "4",
684
+ "rgb_gb": 0.314198141
685
+ },
686
+ {
687
+ "id": "Wr7dsNTdQ46yKrKuxiElQw",
688
+ "frames": 15488,
689
+ "hours": 0.1434074074074074,
690
+ "monster": "15",
691
+ "weapon": "5",
692
+ "npc": "25",
693
+ "rgb_gb": 0.46534786
694
+ },
695
+ {
696
+ "id": "GykTUUmTQtOoOgfFLxRf0w",
697
+ "frames": 17327,
698
+ "hours": 0.16043518518518518,
699
+ "monster": "15",
700
+ "weapon": "1",
701
+ "npc": "17",
702
+ "rgb_gb": 0.566346027
703
+ },
704
+ {
705
+ "id": "xsdoSa7ERvCa_hhhX80Raw",
706
+ "frames": 14112,
707
+ "hours": 0.13066666666666665,
708
+ "monster": "15",
709
+ "weapon": "0",
710
+ "npc": "12",
711
+ "rgb_gb": 0.476676213
712
+ },
713
+ {
714
+ "id": "H--H4FTASqO59Vj83UHoJQ",
715
+ "frames": 11497,
716
+ "hours": 0.1064537037037037,
717
+ "monster": "16",
718
+ "weapon": "4",
719
+ "npc": "9",
720
+ "rgb_gb": 0.260748347
721
+ },
722
+ {
723
+ "id": "q7dVc-q0R--T06jrd3bz7Q",
724
+ "frames": 13889,
725
+ "hours": 0.12860185185185186,
726
+ "monster": "16",
727
+ "weapon": "6",
728
+ "npc": "27",
729
+ "rgb_gb": 0.32565431
730
+ },
731
+ {
732
+ "id": "WmWkaA0yQFm6irWXPPHwyg",
733
+ "frames": 16835,
734
+ "hours": 0.15587962962962962,
735
+ "monster": "16",
736
+ "weapon": "5",
737
+ "npc": "17",
738
+ "rgb_gb": 0.484324356
739
+ },
740
+ {
741
+ "id": "1VkODxcUT9ansvH_s129nQ",
742
+ "frames": 8446,
743
+ "hours": 0.0782037037037037,
744
+ "monster": "16",
745
+ "weapon": "0",
746
+ "npc": "4",
747
+ "rgb_gb": 0.16366982
748
+ },
749
+ {
750
+ "id": "Aya3WN5ASWKCG7kJbOnJ3A",
751
+ "frames": 9377,
752
+ "hours": 0.08682407407407407,
753
+ "monster": "16",
754
+ "weapon": "1",
755
+ "npc": "25",
756
+ "rgb_gb": 0.224784251
757
+ },
758
+ {
759
+ "id": "2bCN0Gv8S0-ZkLKDX1hC7Q",
760
+ "frames": 17474,
761
+ "hours": 0.1617962962962963,
762
+ "monster": "16",
763
+ "weapon": "5",
764
+ "npc": "9",
765
+ "rgb_gb": 0.398808189
766
+ },
767
+ {
768
+ "id": "3a8MCzzeRiKh8Qz5XRQL6A",
769
+ "frames": 14510,
770
+ "hours": 0.13435185185185186,
771
+ "monster": "16",
772
+ "weapon": "6",
773
+ "npc": "27",
774
+ "rgb_gb": 0.272860873
775
+ },
776
+ {
777
+ "id": "wolbW0mLRhOl8j4s-C4Khw",
778
+ "frames": 9284,
779
+ "hours": 0.08596296296296296,
780
+ "monster": "16",
781
+ "weapon": "4",
782
+ "npc": "12",
783
+ "rgb_gb": 0.223516387
784
+ },
785
+ {
786
+ "id": "qAu2VLXnTxqjBbTD1mTT-A",
787
+ "frames": 8512,
788
+ "hours": 0.07881481481481481,
789
+ "monster": "16",
790
+ "weapon": "1",
791
+ "npc": "4",
792
+ "rgb_gb": 0.22650621
793
+ },
794
+ {
795
+ "id": "hbBblBwxTtO7wXzhAilEwA",
796
+ "frames": 17059,
797
+ "hours": 0.1579537037037037,
798
+ "monster": "16",
799
+ "weapon": "0",
800
+ "npc": "9",
801
+ "rgb_gb": 0.300995569
802
+ },
803
+ {
804
+ "id": "QNKrt3BXQ4-rGrvfz2HtiQ",
805
+ "frames": 17882,
806
+ "hours": 0.16557407407407407,
807
+ "monster": "16",
808
+ "weapon": "5",
809
+ "npc": "17",
810
+ "rgb_gb": 0.453358927
811
+ },
812
+ {
813
+ "id": "MkinoR29RfmYDjl9vd9OLw",
814
+ "frames": 14582,
815
+ "hours": 0.1350185185185185,
816
+ "monster": "16",
817
+ "weapon": "6",
818
+ "npc": "27",
819
+ "rgb_gb": 0.314534573
820
+ },
821
+ {
822
+ "id": "4Sf88uIGRE6Hg8_liL1g5g",
823
+ "frames": 9668,
824
+ "hours": 0.08951851851851853,
825
+ "monster": "16",
826
+ "weapon": "1",
827
+ "npc": "12",
828
+ "rgb_gb": 0.227105233
829
+ },
830
+ {
831
+ "id": "Rtsc9upqTaCzRvL9prw4zA",
832
+ "frames": 9984,
833
+ "hours": 0.09244444444444444,
834
+ "monster": "16",
835
+ "weapon": "4",
836
+ "npc": "25",
837
+ "rgb_gb": 0.236206668
838
+ },
839
+ {
840
+ "id": "GI6yQH53SMeYlnJCame19Q",
841
+ "frames": 10697,
842
+ "hours": 0.0990462962962963,
843
+ "monster": "16",
844
+ "weapon": "0",
845
+ "npc": "4",
846
+ "rgb_gb": 0.248590737
847
+ },
848
+ {
849
+ "id": "p44NEBTHRTWQwPHrriDJkQ",
850
+ "frames": 18141,
851
+ "hours": 0.16797222222222222,
852
+ "monster": "16",
853
+ "weapon": "5",
854
+ "npc": "17",
855
+ "rgb_gb": 0.375366451
856
+ },
857
+ {
858
+ "id": "QCp82qhaR0CFfu7JCdMQiA",
859
+ "frames": 13914,
860
+ "hours": 0.12883333333333333,
861
+ "monster": "17",
862
+ "weapon": "4",
863
+ "npc": "9",
864
+ "rgb_gb": 0.489389263
865
+ },
866
+ {
867
+ "id": "gzU6vlyoQvK6IgJkeZrnaw",
868
+ "frames": 11599,
869
+ "hours": 0.10739814814814815,
870
+ "monster": "17",
871
+ "weapon": "1",
872
+ "npc": "12",
873
+ "rgb_gb": 0.394075295
874
+ },
875
+ {
876
+ "id": "2W8QtgV3TtyDxn3KoRI34g",
877
+ "frames": 17163,
878
+ "hours": 0.15891666666666668,
879
+ "monster": "17",
880
+ "weapon": "6",
881
+ "npc": "27",
882
+ "rgb_gb": 0.617199574
883
+ },
884
+ {
885
+ "id": "dkzDM6kqRCWlQJMjBuk8SA",
886
+ "frames": 10415,
887
+ "hours": 0.09643518518518518,
888
+ "monster": "17",
889
+ "weapon": "4",
890
+ "npc": "25",
891
+ "rgb_gb": 0.385497086
892
+ },
893
+ {
894
+ "id": "zvMqjikeQFaiDT7gPpyHSw",
895
+ "frames": 12326,
896
+ "hours": 0.11412962962962964,
897
+ "monster": "17",
898
+ "weapon": "5",
899
+ "npc": "12",
900
+ "rgb_gb": 0.456576352
901
+ },
902
+ {
903
+ "id": "5LXxEPEzTkKiidT53UyeaQ",
904
+ "frames": 7864,
905
+ "hours": 0.07281481481481482,
906
+ "monster": "17",
907
+ "weapon": "6",
908
+ "npc": "4",
909
+ "rgb_gb": 0.278700169
910
+ },
911
+ {
912
+ "id": "4fLijVboSaurDfbf9QnNSA",
913
+ "frames": 20648,
914
+ "hours": 0.19118518518518518,
915
+ "monster": "17",
916
+ "weapon": "0",
917
+ "npc": "9",
918
+ "rgb_gb": 0.714906762
919
+ },
920
+ {
921
+ "id": "1dRxMih7SAOil-IdLUoA9w",
922
+ "frames": 15975,
923
+ "hours": 0.14791666666666667,
924
+ "monster": "17",
925
+ "weapon": "1",
926
+ "npc": "17",
927
+ "rgb_gb": 0.540590492
928
+ },
929
+ {
930
+ "id": "oLgpUKduRvyWME-_isSDSQ",
931
+ "frames": 11881,
932
+ "hours": 0.11000925925925926,
933
+ "monster": "17",
934
+ "weapon": "4",
935
+ "npc": "25",
936
+ "rgb_gb": 0.35894457
937
+ },
938
+ {
939
+ "id": "c0QRH7TxQrK96d4S-hNZ2Q",
940
+ "frames": 17547,
941
+ "hours": 0.1624722222222222,
942
+ "monster": "17",
943
+ "weapon": "6",
944
+ "npc": "27",
945
+ "rgb_gb": 0.542861481
946
+ },
947
+ {
948
+ "id": "Lm54qMdNSLGNiumEpH65Wg",
949
+ "frames": 14830,
950
+ "hours": 0.1373148148148148,
951
+ "monster": "17",
952
+ "weapon": "0",
953
+ "npc": "4",
954
+ "rgb_gb": 0.473847545
955
+ },
956
+ {
957
+ "id": "wsuti9gMSeqL9-zVw7tdzw",
958
+ "frames": 21354,
959
+ "hours": 0.19772222222222222,
960
+ "monster": "17",
961
+ "weapon": "5",
962
+ "npc": "17",
963
+ "rgb_gb": 0.842465214
964
+ },
965
+ {
966
+ "id": "tXDF9JIQR9iauKb5J2fSsA",
967
+ "frames": 12767,
968
+ "hours": 0.11821296296296296,
969
+ "monster": "17",
970
+ "weapon": "1",
971
+ "npc": "12",
972
+ "rgb_gb": 0.462304167
973
+ },
974
+ {
975
+ "id": "DgTgttDsSkOjv1CyzhnuPA",
976
+ "frames": 14197,
977
+ "hours": 0.1314537037037037,
978
+ "monster": "17",
979
+ "weapon": "4",
980
+ "npc": "9",
981
+ "rgb_gb": 0.513472562
982
+ },
983
+ {
984
+ "id": "CN6WirokTH6n8c7hSSXk7A",
985
+ "frames": 13952,
986
+ "hours": 0.12918518518518518,
987
+ "monster": "18",
988
+ "weapon": "0",
989
+ "npc": "27",
990
+ "rgb_gb": 0.168921603
991
+ },
992
+ {
993
+ "id": "X0hBAih7Qkq6JRsIWGVsLw",
994
+ "frames": 12659,
995
+ "hours": 0.11721296296296296,
996
+ "monster": "18",
997
+ "weapon": "5",
998
+ "npc": "25",
999
+ "rgb_gb": 0.15918767
1000
+ },
1001
+ {
1002
+ "id": "vWSKjuVPSaKH8pQj1lKp5w",
1003
+ "frames": 11321,
1004
+ "hours": 0.10482407407407407,
1005
+ "monster": "18",
1006
+ "weapon": "1",
1007
+ "npc": "17",
1008
+ "rgb_gb": 0.139023139
1009
+ },
1010
+ {
1011
+ "id": "iZyWVot1Symv-giab2en9g",
1012
+ "frames": 11359,
1013
+ "hours": 0.10517592592592592,
1014
+ "monster": "18",
1015
+ "weapon": "6",
1016
+ "npc": "27",
1017
+ "rgb_gb": 0.159392116
1018
+ },
1019
+ {
1020
+ "id": "fKO7SLEIRj29k5d41jSGpw",
1021
+ "frames": 14621,
1022
+ "hours": 0.13537962962962963,
1023
+ "monster": "18",
1024
+ "weapon": "0",
1025
+ "npc": "9",
1026
+ "rgb_gb": 0.176739585
1027
+ },
1028
+ {
1029
+ "id": "Ysi5TjxJQNqQZtolB15XBA",
1030
+ "frames": 10991,
1031
+ "hours": 0.10176851851851852,
1032
+ "monster": "18",
1033
+ "weapon": "5",
1034
+ "npc": "4",
1035
+ "rgb_gb": 0.16116252
1036
+ },
1037
+ {
1038
+ "id": "ugb_eA41RZeLoNjv4VwNGw",
1039
+ "frames": 7812,
1040
+ "hours": 0.07233333333333333,
1041
+ "monster": "18",
1042
+ "weapon": "6",
1043
+ "npc": "25",
1044
+ "rgb_gb": 0.103373367
1045
+ },
1046
+ {
1047
+ "id": "aAz4Su6bQ3-kLdBdlyp6gg",
1048
+ "frames": 8104,
1049
+ "hours": 0.07503703703703704,
1050
+ "monster": "18",
1051
+ "weapon": "4",
1052
+ "npc": "17",
1053
+ "rgb_gb": 0.127429459
1054
+ },
1055
+ {
1056
+ "id": "rTgQGwTGQOWfLG5QMiJ5tQ",
1057
+ "frames": 8254,
1058
+ "hours": 0.07642592592592592,
1059
+ "monster": "18",
1060
+ "weapon": "1",
1061
+ "npc": "12",
1062
+ "rgb_gb": 0.098095054
1063
+ },
1064
+ {
1065
+ "id": "kN422-nvSn-CeJkhrp23SQ",
1066
+ "frames": 9981,
1067
+ "hours": 0.09241666666666666,
1068
+ "monster": "18",
1069
+ "weapon": "0",
1070
+ "npc": "12",
1071
+ "rgb_gb": 0.140688072
1072
+ },
1073
+ {
1074
+ "id": "Wt8ZQ-aCQNyGFZqxeO0nHQ",
1075
+ "frames": 10786,
1076
+ "hours": 0.09987037037037037,
1077
+ "monster": "18",
1078
+ "weapon": "4",
1079
+ "npc": "9",
1080
+ "rgb_gb": 0.134205365
1081
+ },
1082
+ {
1083
+ "id": "KktOWwAhRw-HWiNYq0tU6A",
1084
+ "frames": 11654,
1085
+ "hours": 0.10790740740740741,
1086
+ "monster": "18",
1087
+ "weapon": "6",
1088
+ "npc": "27",
1089
+ "rgb_gb": 0.165266871
1090
+ },
1091
+ {
1092
+ "id": "n5qmtKYORqGvhM9igFz0Tw",
1093
+ "frames": 13396,
1094
+ "hours": 0.12403703703703704,
1095
+ "monster": "18",
1096
+ "weapon": "5",
1097
+ "npc": "4",
1098
+ "rgb_gb": 0.333301169
1099
+ },
1100
+ {
1101
+ "id": "2IcQ3HwkSqSltA7tZKKxqg",
1102
+ "frames": 10069,
1103
+ "hours": 0.09323148148148148,
1104
+ "monster": "18",
1105
+ "weapon": "1",
1106
+ "npc": "25",
1107
+ "rgb_gb": 0.240667099
1108
+ },
1109
+ {
1110
+ "id": "Qx1Q9nUNS9y2jiIUCaO_Qw",
1111
+ "frames": 12045,
1112
+ "hours": 0.11152777777777778,
1113
+ "monster": "18",
1114
+ "weapon": "0",
1115
+ "npc": "17",
1116
+ "rgb_gb": 0.164732159
1117
+ },
1118
+ {
1119
+ "id": "jgOT4DpaTKKED0PbVKkg1Q",
1120
+ "frames": 11047,
1121
+ "hours": 0.10228703703703704,
1122
+ "monster": "18",
1123
+ "weapon": "4",
1124
+ "npc": "9",
1125
+ "rgb_gb": 0.129798158
1126
+ },
1127
+ {
1128
+ "id": "BhoB4l2aSh-nGocn7S-ZoA",
1129
+ "frames": 17056,
1130
+ "hours": 0.15792592592592591,
1131
+ "monster": "18",
1132
+ "weapon": "5",
1133
+ "npc": "27",
1134
+ "rgb_gb": 0.252795726
1135
+ },
1136
+ {
1137
+ "id": "t2bNS5T-QUyJV_eB5K66aQ",
1138
+ "frames": 8153,
1139
+ "hours": 0.07549074074074075,
1140
+ "monster": "18",
1141
+ "weapon": "1",
1142
+ "npc": "4",
1143
+ "rgb_gb": 0.115190268
1144
+ },
1145
+ {
1146
+ "id": "RIg3T_tqS0qrBhtcd3HMtA",
1147
+ "frames": 4636,
1148
+ "hours": 0.04292592592592592,
1149
+ "monster": "19",
1150
+ "weapon": "6",
1151
+ "npc": "12",
1152
+ "rgb_gb": 0.17638094
1153
+ },
1154
+ {
1155
+ "id": "3ZpJIHUvQRaU0NbXmPEiwg",
1156
+ "frames": 4878,
1157
+ "hours": 0.04516666666666667,
1158
+ "monster": "19",
1159
+ "weapon": "0",
1160
+ "npc": "25",
1161
+ "rgb_gb": 0.146338265
1162
+ },
1163
+ {
1164
+ "id": "o54b6gxUQS-SymrT4WBGvg",
1165
+ "frames": 7256,
1166
+ "hours": 0.06718518518518518,
1167
+ "monster": "19",
1168
+ "weapon": "5",
1169
+ "npc": "9",
1170
+ "rgb_gb": 0.235019541
1171
+ },
1172
+ {
1173
+ "id": "03ZgCqHST-OGmcYKeobecg",
1174
+ "frames": 5601,
1175
+ "hours": 0.05186111111111111,
1176
+ "monster": "19",
1177
+ "weapon": "4",
1178
+ "npc": "17",
1179
+ "rgb_gb": 0.19941416
1180
+ },
1181
+ {
1182
+ "id": "4HuGMjeKTxesTEQYo6Blmw",
1183
+ "frames": 6207,
1184
+ "hours": 0.05747222222222222,
1185
+ "monster": "19",
1186
+ "weapon": "6",
1187
+ "npc": "27",
1188
+ "rgb_gb": 0.259755558
1189
+ },
1190
+ {
1191
+ "id": "HHiRegOcTnmJixkOwIvPBQ",
1192
+ "frames": 4083,
1193
+ "hours": 0.03780555555555556,
1194
+ "monster": "19",
1195
+ "weapon": "1",
1196
+ "npc": "12",
1197
+ "rgb_gb": 0.1314287
1198
+ },
1199
+ {
1200
+ "id": "Sf0TOXKNTi6RaiI7V-jHDw",
1201
+ "frames": 5955,
1202
+ "hours": 0.05513888888888889,
1203
+ "monster": "19",
1204
+ "weapon": "0",
1205
+ "npc": "25",
1206
+ "rgb_gb": 0.231257423
1207
+ },
1208
+ {
1209
+ "id": "T0FmQIUjS3WbGpF4o3ojsA",
1210
+ "frames": 6328,
1211
+ "hours": 0.05859259259259259,
1212
+ "monster": "19",
1213
+ "weapon": "5",
1214
+ "npc": "4",
1215
+ "rgb_gb": 0.256800042
1216
+ },
1217
+ {
1218
+ "id": "wRPLcInSRH2nPbqmIstWNA",
1219
+ "frames": 6239,
1220
+ "hours": 0.05776851851851852,
1221
+ "monster": "19",
1222
+ "weapon": "4",
1223
+ "npc": "9",
1224
+ "rgb_gb": 0.221558545
1225
+ },
1226
+ {
1227
+ "id": "YmRpo2sKRVq3DP38QIL3rw",
1228
+ "frames": 6453,
1229
+ "hours": 0.05975,
1230
+ "monster": "19",
1231
+ "weapon": "6",
1232
+ "npc": "27",
1233
+ "rgb_gb": 0.242710031
1234
+ },
1235
+ {
1236
+ "id": "l-VP4yhsQ7WWS8s2-Yh7uw",
1237
+ "frames": 6608,
1238
+ "hours": 0.06118518518518518,
1239
+ "monster": "19",
1240
+ "weapon": "1",
1241
+ "npc": "17",
1242
+ "rgb_gb": 0.28484783
1243
+ },
1244
+ {
1245
+ "id": "sUrG1CiETXuf9gipHY8cgg",
1246
+ "frames": 6508,
1247
+ "hours": 0.06025925925925926,
1248
+ "monster": "19",
1249
+ "weapon": "5",
1250
+ "npc": "25",
1251
+ "rgb_gb": 0.23815401
1252
+ },
1253
+ {
1254
+ "id": "fpPzupouTSytdLuTB8nIHQ",
1255
+ "frames": 6514,
1256
+ "hours": 0.060314814814814814,
1257
+ "monster": "19",
1258
+ "weapon": "0",
1259
+ "npc": "4",
1260
+ "rgb_gb": 0.227484591
1261
+ },
1262
+ {
1263
+ "id": "H9zW8jxYQdGtl-2KxuUSpg",
1264
+ "frames": 4043,
1265
+ "hours": 0.03743518518518518,
1266
+ "monster": "19",
1267
+ "weapon": "4",
1268
+ "npc": "12",
1269
+ "rgb_gb": 0.137481616
1270
+ },
1271
+ {
1272
+ "id": "ER7yLmWZRBSbn6YsI8rwlw",
1273
+ "frames": 6759,
1274
+ "hours": 0.06258333333333334,
1275
+ "monster": "19",
1276
+ "weapon": "6",
1277
+ "npc": "27",
1278
+ "rgb_gb": 0.241201044
1279
+ },
1280
+ {
1281
+ "id": "4iwyJiEJQVGL7mq6k-yo-w",
1282
+ "frames": 7397,
1283
+ "hours": 0.06849074074074074,
1284
+ "monster": "19",
1285
+ "weapon": "1",
1286
+ "npc": "17",
1287
+ "rgb_gb": 0.284987797
1288
+ },
1289
+ {
1290
+ "id": "vAp79HtcSJ2L6RpXcmdxJw",
1291
+ "frames": 8622,
1292
+ "hours": 0.07983333333333334,
1293
+ "monster": "19",
1294
+ "weapon": "0",
1295
+ "npc": "9",
1296
+ "rgb_gb": 0.330897859
1297
+ },
1298
+ {
1299
+ "id": "Za9xeH12R9yDY5hwG9r92w",
1300
+ "frames": 6683,
1301
+ "hours": 0.06187962962962963,
1302
+ "monster": "19",
1303
+ "weapon": "5",
1304
+ "npc": "12",
1305
+ "rgb_gb": 0.213557017
1306
+ },
1307
+ {
1308
+ "id": "0xNttMywSXCAR4YDZTGZqQ",
1309
+ "frames": 2922,
1310
+ "hours": 0.027055555555555555,
1311
+ "monster": "19",
1312
+ "weapon": "6",
1313
+ "npc": "4",
1314
+ "rgb_gb": 0.119566202
1315
+ },
1316
+ {
1317
+ "id": "K41sCToOT6WQRuegNperOg",
1318
+ "frames": 4881,
1319
+ "hours": 0.04519444444444445,
1320
+ "monster": "19",
1321
+ "weapon": "4",
1322
+ "npc": "25",
1323
+ "rgb_gb": 0.179404481
1324
+ },
1325
+ {
1326
+ "id": "EpntHLuSR1ujkAuck36qkQ",
1327
+ "frames": 7811,
1328
+ "hours": 0.07232407407407407,
1329
+ "monster": "19",
1330
+ "weapon": "0",
1331
+ "npc": "17",
1332
+ "rgb_gb": 0.317224367
1333
+ },
1334
+ {
1335
+ "id": "Qk_XGnaVQS61L-e_Gco4Ow",
1336
+ "frames": 4124,
1337
+ "hours": 0.03818518518518518,
1338
+ "monster": "19",
1339
+ "weapon": "1",
1340
+ "npc": "4",
1341
+ "rgb_gb": 0.15764709
1342
+ },
1343
+ {
1344
+ "id": "uqDrlhW1QOyIjgDrvHcsoQ",
1345
+ "frames": 10321,
1346
+ "hours": 0.09556481481481481,
1347
+ "monster": "19",
1348
+ "weapon": "5",
1349
+ "npc": "27",
1350
+ "rgb_gb": 0.35683723
1351
+ },
1352
+ {
1353
+ "id": "p-lg8BTJRDqob3g2mVqHNA",
1354
+ "frames": 6432,
1355
+ "hours": 0.059555555555555556,
1356
+ "monster": "19",
1357
+ "weapon": "4",
1358
+ "npc": "9",
1359
+ "rgb_gb": 0.262912701
1360
+ },
1361
+ {
1362
+ "id": "reuBRXgsTrOLxRoNTBddNg",
1363
+ "frames": 5126,
1364
+ "hours": 0.047462962962962964,
1365
+ "monster": "19",
1366
+ "weapon": "6",
1367
+ "npc": "25",
1368
+ "rgb_gb": 0.202804353
1369
+ },
1370
+ {
1371
+ "id": "8udsEbtsR7CXqs6Fo79sAw",
1372
+ "frames": 5627,
1373
+ "hours": 0.05210185185185185,
1374
+ "monster": "19",
1375
+ "weapon": "1",
1376
+ "npc": "12",
1377
+ "rgb_gb": 0.208925203
1378
+ },
1379
+ {
1380
+ "id": "lOafwU9GTeW8q97YnXriJw",
1381
+ "frames": 7925,
1382
+ "hours": 0.07337962962962963,
1383
+ "monster": "19",
1384
+ "weapon": "0",
1385
+ "npc": "17",
1386
+ "rgb_gb": 0.268350712
1387
+ },
1388
+ {
1389
+ "id": "6NTH-iMwSVeIHbcQn7-zMQ",
1390
+ "frames": 10783,
1391
+ "hours": 0.0998425925925926,
1392
+ "monster": "19",
1393
+ "weapon": "5",
1394
+ "npc": "9",
1395
+ "rgb_gb": 0.415097344
1396
+ },
1397
+ {
1398
+ "id": "W5d-BNdlSlKSiT6gbpJNmQ",
1399
+ "frames": 7451,
1400
+ "hours": 0.06899074074074074,
1401
+ "monster": "19",
1402
+ "weapon": "6",
1403
+ "npc": "27",
1404
+ "rgb_gb": 0.282893959
1405
+ },
1406
+ {
1407
+ "id": "aoXfDlPaSEuP0kojCVnRLA",
1408
+ "frames": 4266,
1409
+ "hours": 0.0395,
1410
+ "monster": "19",
1411
+ "weapon": "4",
1412
+ "npc": "12",
1413
+ "rgb_gb": 0.134862113
1414
+ },
1415
+ {
1416
+ "id": "E5m0IE8zQ4uAezoY8_dZ5w",
1417
+ "frames": 4924,
1418
+ "hours": 0.045592592592592594,
1419
+ "monster": "19",
1420
+ "weapon": "1",
1421
+ "npc": "4",
1422
+ "rgb_gb": 0.189352739
1423
+ },
1424
+ {
1425
+ "id": "ovRfoCPNSB2-H9iA20nUuA",
1426
+ "frames": 7036,
1427
+ "hours": 0.06514814814814815,
1428
+ "monster": "19",
1429
+ "weapon": "0",
1430
+ "npc": "25",
1431
+ "rgb_gb": 0.249944438
1432
+ },
1433
+ {
1434
+ "id": "XIzLxx-AQFiSCr0qJz-pEw",
1435
+ "frames": 7817,
1436
+ "hours": 0.07237962962962963,
1437
+ "monster": "2",
1438
+ "weapon": "1",
1439
+ "npc": "4",
1440
+ "rgb_gb": 0.309233553
1441
+ },
1442
+ {
1443
+ "id": "fVcTw3GZSCaYa2e00PjCig",
1444
+ "frames": 15939,
1445
+ "hours": 0.14758333333333334,
1446
+ "monster": "2",
1447
+ "weapon": "6",
1448
+ "npc": "9",
1449
+ "rgb_gb": 0.691791899
1450
+ },
1451
+ {
1452
+ "id": "uEjH4R81Rc-eRnmH4Cin6w",
1453
+ "frames": 23622,
1454
+ "hours": 0.21872222222222223,
1455
+ "monster": "2",
1456
+ "weapon": "5",
1457
+ "npc": "17",
1458
+ "rgb_gb": 0.913300521
1459
+ },
1460
+ {
1461
+ "id": "5Y_Qlas1T0ui5nvOwM8KXA",
1462
+ "frames": 8870,
1463
+ "hours": 0.08212962962962964,
1464
+ "monster": "2",
1465
+ "weapon": "1",
1466
+ "npc": "12",
1467
+ "rgb_gb": 0.3418693
1468
+ },
1469
+ {
1470
+ "id": "XEp6UpJoTkiGYhSFzs-TRg",
1471
+ "frames": 16697,
1472
+ "hours": 0.15460185185185185,
1473
+ "monster": "2",
1474
+ "weapon": "0",
1475
+ "npc": "25",
1476
+ "rgb_gb": 0.601860348
1477
+ },
1478
+ {
1479
+ "id": "1ob0hPgkQr-UQOC9O-rfqw",
1480
+ "frames": 12487,
1481
+ "hours": 0.11562037037037037,
1482
+ "monster": "2",
1483
+ "weapon": "4",
1484
+ "npc": "4",
1485
+ "rgb_gb": 0.450565791
1486
+ },
1487
+ {
1488
+ "id": "oBq2to4eSOK_8mhdRxcQ3g",
1489
+ "frames": 19844,
1490
+ "hours": 0.18374074074074073,
1491
+ "monster": "2",
1492
+ "weapon": "6",
1493
+ "npc": "27",
1494
+ "rgb_gb": 0.836557352
1495
+ },
1496
+ {
1497
+ "id": "-lpRAqIqSs6YYkZQxx1xcg",
1498
+ "frames": 18989,
1499
+ "hours": 0.17582407407407408,
1500
+ "monster": "2",
1501
+ "weapon": "0",
1502
+ "npc": "17",
1503
+ "rgb_gb": 0.752973728
1504
+ },
1505
+ {
1506
+ "id": "3XZ8CEOZSfqfUfbgLsKEbg",
1507
+ "frames": 9644,
1508
+ "hours": 0.08929629629629629,
1509
+ "monster": "2",
1510
+ "weapon": "1",
1511
+ "npc": "12",
1512
+ "rgb_gb": 0.416871136
1513
+ },
1514
+ {
1515
+ "id": "jg4Rz9MFRMiE5Gc2nIEEgA",
1516
+ "frames": 21166,
1517
+ "hours": 0.19598148148148148,
1518
+ "monster": "2",
1519
+ "weapon": "4",
1520
+ "npc": "9",
1521
+ "rgb_gb": 0.767882019
1522
+ },
1523
+ {
1524
+ "id": "VLW06435RoKul08gl-Qmyg",
1525
+ "frames": 26204,
1526
+ "hours": 0.24262962962962964,
1527
+ "monster": "2",
1528
+ "weapon": "5",
1529
+ "npc": "25",
1530
+ "rgb_gb": 1.022106835
1531
+ },
1532
+ {
1533
+ "id": "M2NKjy65Rkqltz2H6rhcUg",
1534
+ "frames": 21267,
1535
+ "hours": 0.19691666666666666,
1536
+ "monster": "2",
1537
+ "weapon": "6",
1538
+ "npc": "27",
1539
+ "rgb_gb": 0.762846409
1540
+ },
1541
+ {
1542
+ "id": "om6Wt2XiRPKwgopKNZvoWg",
1543
+ "frames": 7157,
1544
+ "hours": 0.06626851851851852,
1545
+ "monster": "20",
1546
+ "weapon": "5",
1547
+ "npc": "27",
1548
+ "rgb_gb": 0.642980184
1549
+ },
1550
+ {
1551
+ "id": "6ZbnTEz-STKHBBFUAtU54A",
1552
+ "frames": 5532,
1553
+ "hours": 0.051222222222222225,
1554
+ "monster": "20",
1555
+ "weapon": "4",
1556
+ "npc": "17",
1557
+ "rgb_gb": 0.479504924
1558
+ },
1559
+ {
1560
+ "id": "E8Y4tyRYTBOsItme75iE2Q",
1561
+ "frames": 9036,
1562
+ "hours": 0.08366666666666667,
1563
+ "monster": "20",
1564
+ "weapon": "0",
1565
+ "npc": "9",
1566
+ "rgb_gb": 0.702922328
1567
+ },
1568
+ {
1569
+ "id": "YP47yxqfQFeqO7XOsczwhg",
1570
+ "frames": 6653,
1571
+ "hours": 0.06160185185185185,
1572
+ "monster": "20",
1573
+ "weapon": "5",
1574
+ "npc": "12",
1575
+ "rgb_gb": 0.597772628
1576
+ },
1577
+ {
1578
+ "id": "LDTJHb_QRTKsZMVE4BFeZg",
1579
+ "frames": 3620,
1580
+ "hours": 0.03351851851851852,
1581
+ "monster": "20",
1582
+ "weapon": "6",
1583
+ "npc": "4",
1584
+ "rgb_gb": 0.327317398
1585
+ },
1586
+ {
1587
+ "id": "tswmgjOwRYKayFR-hi4msg",
1588
+ "frames": 3718,
1589
+ "hours": 0.03442592592592593,
1590
+ "monster": "20",
1591
+ "weapon": "4",
1592
+ "npc": "25",
1593
+ "rgb_gb": 0.322648438
1594
+ },
1595
+ {
1596
+ "id": "nojie99gQLmLIqo8GatKdA",
1597
+ "frames": 6581,
1598
+ "hours": 0.06093518518518518,
1599
+ "monster": "20",
1600
+ "weapon": "1",
1601
+ "npc": "17",
1602
+ "rgb_gb": 0.531995285
1603
+ },
1604
+ {
1605
+ "id": "ELnWQ8NVTx66_QIWuluvwg",
1606
+ "frames": 8086,
1607
+ "hours": 0.07487037037037036,
1608
+ "monster": "20",
1609
+ "weapon": "0",
1610
+ "npc": "27",
1611
+ "rgb_gb": 0.500417231
1612
+ },
1613
+ {
1614
+ "id": "pWgKUaKRQ--8jV15Wfe7Tg",
1615
+ "frames": 10990,
1616
+ "hours": 0.10175925925925926,
1617
+ "monster": "20",
1618
+ "weapon": "5",
1619
+ "npc": "9",
1620
+ "rgb_gb": 0.941130932
1621
+ },
1622
+ {
1623
+ "id": "LPNgfOs_S1mFeKwzTSbOlw",
1624
+ "frames": 4067,
1625
+ "hours": 0.03765740740740741,
1626
+ "monster": "20",
1627
+ "weapon": "6",
1628
+ "npc": "25",
1629
+ "rgb_gb": 0.356801689
1630
+ },
1631
+ {
1632
+ "id": "IcQjIo99QgGHwADlrCx2Ag",
1633
+ "frames": 4258,
1634
+ "hours": 0.03942592592592593,
1635
+ "monster": "20",
1636
+ "weapon": "1",
1637
+ "npc": "4",
1638
+ "rgb_gb": 0.361327429
1639
+ },
1640
+ {
1641
+ "id": "SdH0BbALRp-A47_3IPJe5Q",
1642
+ "frames": 5189,
1643
+ "hours": 0.048046296296296295,
1644
+ "monster": "20",
1645
+ "weapon": "0",
1646
+ "npc": "12",
1647
+ "rgb_gb": 0.428769094
1648
+ },
1649
+ {
1650
+ "id": "oCkdcTDFQt2omaN88gcJCA",
1651
+ "frames": 6088,
1652
+ "hours": 0.05637037037037037,
1653
+ "monster": "20",
1654
+ "weapon": "4",
1655
+ "npc": "9",
1656
+ "rgb_gb": 0.47402335
1657
+ },
1658
+ {
1659
+ "id": "hLw7Xw5hTq6YEfq7TvsbdQ",
1660
+ "frames": 10347,
1661
+ "hours": 0.09580555555555556,
1662
+ "monster": "20",
1663
+ "weapon": "5",
1664
+ "npc": "27",
1665
+ "rgb_gb": 0.87206251
1666
+ },
1667
+ {
1668
+ "id": "3gyO5XRWSSq3CKXoHBjAWQ",
1669
+ "frames": 6163,
1670
+ "hours": 0.05706481481481482,
1671
+ "monster": "20",
1672
+ "weapon": "4",
1673
+ "npc": "17",
1674
+ "rgb_gb": 0.502293176
1675
+ },
1676
+ {
1677
+ "id": "fu5j9N-bStSfk4ZNF0utsA",
1678
+ "frames": 4548,
1679
+ "hours": 0.04211111111111111,
1680
+ "monster": "20",
1681
+ "weapon": "6",
1682
+ "npc": "4",
1683
+ "rgb_gb": 0.359785191
1684
+ },
1685
+ {
1686
+ "id": "hfZBm7UGRtS1hnkjL8aIOA",
1687
+ "frames": 4831,
1688
+ "hours": 0.04473148148148148,
1689
+ "monster": "20",
1690
+ "weapon": "1",
1691
+ "npc": "12",
1692
+ "rgb_gb": 0.419897163
1693
+ },
1694
+ {
1695
+ "id": "iAXjamKDQmea9oJCO3-e_g",
1696
+ "frames": 6138,
1697
+ "hours": 0.05683333333333333,
1698
+ "monster": "20",
1699
+ "weapon": "0",
1700
+ "npc": "25",
1701
+ "rgb_gb": 0.460028098
1702
+ },
1703
+ {
1704
+ "id": "WZa4ixqUR9SW4IKHX7AZ6Q",
1705
+ "frames": 11011,
1706
+ "hours": 0.1019537037037037,
1707
+ "monster": "20",
1708
+ "weapon": "5",
1709
+ "npc": "27",
1710
+ "rgb_gb": 0.902076604
1711
+ },
1712
+ {
1713
+ "id": "rW-0KjG9SxuXEOyGZUrx5A",
1714
+ "frames": 6303,
1715
+ "hours": 0.058361111111111114,
1716
+ "monster": "20",
1717
+ "weapon": "4",
1718
+ "npc": "9",
1719
+ "rgb_gb": 0.385188838
1720
+ },
1721
+ {
1722
+ "id": "dD_2aeG9QMGsBJ2laq6cdw",
1723
+ "frames": 6754,
1724
+ "hours": 0.06253703703703704,
1725
+ "monster": "20",
1726
+ "weapon": "1",
1727
+ "npc": "17",
1728
+ "rgb_gb": 0.568593282
1729
+ },
1730
+ {
1731
+ "id": "XCWa7UxXT1-VO3-6Am8zYw",
1732
+ "frames": 4595,
1733
+ "hours": 0.0425462962962963,
1734
+ "monster": "20",
1735
+ "weapon": "6",
1736
+ "npc": "4",
1737
+ "rgb_gb": 0.397031052
1738
+ },
1739
+ {
1740
+ "id": "SZrbIpAHQfWdZlOYmO_u6A",
1741
+ "frames": 5709,
1742
+ "hours": 0.05286111111111111,
1743
+ "monster": "20",
1744
+ "weapon": "0",
1745
+ "npc": "12",
1746
+ "rgb_gb": 0.451056347
1747
+ },
1748
+ {
1749
+ "id": "aSlrTCeJSZCRG0qpZnm_yA",
1750
+ "frames": 7463,
1751
+ "hours": 0.06910185185185186,
1752
+ "monster": "20",
1753
+ "weapon": "5",
1754
+ "npc": "25",
1755
+ "rgb_gb": 0.609141735
1756
+ },
1757
+ {
1758
+ "id": "q2gcj0VGQ86AKlHDt0QfRg",
1759
+ "frames": 6322,
1760
+ "hours": 0.05853703703703704,
1761
+ "monster": "20",
1762
+ "weapon": "4",
1763
+ "npc": "9",
1764
+ "rgb_gb": 0.477990175
1765
+ },
1766
+ {
1767
+ "id": "l6x7vGwnQl6rjHJry81SWw",
1768
+ "frames": 6826,
1769
+ "hours": 0.0632037037037037,
1770
+ "monster": "20",
1771
+ "weapon": "6",
1772
+ "npc": "27",
1773
+ "rgb_gb": 0.574230857
1774
+ },
1775
+ {
1776
+ "id": "FMnpwzPkR_eRsBaBSFgT0A",
1777
+ "frames": 7019,
1778
+ "hours": 0.06499074074074074,
1779
+ "monster": "20",
1780
+ "weapon": "1",
1781
+ "npc": "17",
1782
+ "rgb_gb": 0.426834833
1783
+ },
1784
+ {
1785
+ "id": "1LbUeT6aQVqGFBppDkR9mw",
1786
+ "frames": 5883,
1787
+ "hours": 0.05447222222222222,
1788
+ "monster": "20",
1789
+ "weapon": "0",
1790
+ "npc": "12",
1791
+ "rgb_gb": 0.509881217
1792
+ },
1793
+ {
1794
+ "id": "F_MtYJcDS82El29kxdGCig",
1795
+ "frames": 6871,
1796
+ "hours": 0.06362037037037037,
1797
+ "monster": "20",
1798
+ "weapon": "5",
1799
+ "npc": "4",
1800
+ "rgb_gb": 0.473620026
1801
+ },
1802
+ {
1803
+ "id": "kKrYw90NSr61D2Zi4m7b4A",
1804
+ "frames": 5153,
1805
+ "hours": 0.047712962962962964,
1806
+ "monster": "20",
1807
+ "weapon": "4",
1808
+ "npc": "25",
1809
+ "rgb_gb": 0.437563956
1810
+ },
1811
+ {
1812
+ "id": "MjNV-zelTMOqrkkHHknsnA",
1813
+ "frames": 6926,
1814
+ "hours": 0.06412962962962963,
1815
+ "monster": "20",
1816
+ "weapon": "6",
1817
+ "npc": "27",
1818
+ "rgb_gb": 0.581521422
1819
+ },
1820
+ {
1821
+ "id": "U4E4FGnmRJ-qRF3MWxZYsg",
1822
+ "frames": 7890,
1823
+ "hours": 0.07305555555555555,
1824
+ "monster": "20",
1825
+ "weapon": "0",
1826
+ "npc": "17",
1827
+ "rgb_gb": 0.626242494
1828
+ },
1829
+ {
1830
+ "id": "cleCel5cTJW5E1LohDncGw",
1831
+ "frames": 5208,
1832
+ "hours": 0.04822222222222222,
1833
+ "monster": "21",
1834
+ "weapon": "1",
1835
+ "npc": "12",
1836
+ "rgb_gb": 0.120518311
1837
+ },
1838
+ {
1839
+ "id": "zGQrMaurTKOANMidn4bang",
1840
+ "frames": 6781,
1841
+ "hours": 0.06278703703703704,
1842
+ "monster": "21",
1843
+ "weapon": "5",
1844
+ "npc": "25",
1845
+ "rgb_gb": 0.166048726
1846
+ },
1847
+ {
1848
+ "id": "Dzt6pVYbQyiAGIO4OrpURg",
1849
+ "frames": 8827,
1850
+ "hours": 0.08173148148148149,
1851
+ "monster": "21",
1852
+ "weapon": "4",
1853
+ "npc": "9",
1854
+ "rgb_gb": 0.219063508
1855
+ },
1856
+ {
1857
+ "id": "UE1s6nLXR0Wcdre4yadKBw",
1858
+ "frames": 5793,
1859
+ "hours": 0.05363888888888889,
1860
+ "monster": "21",
1861
+ "weapon": "1",
1862
+ "npc": "4",
1863
+ "rgb_gb": 0.261947098
1864
+ },
1865
+ {
1866
+ "id": "T4y72cDhSWqTcrTRQun7_Q",
1867
+ "frames": 6406,
1868
+ "hours": 0.05931481481481481,
1869
+ "monster": "21",
1870
+ "weapon": "6",
1871
+ "npc": "17",
1872
+ "rgb_gb": 0.210286194
1873
+ },
1874
+ {
1875
+ "id": "1RtcDIYvSxyjxa-h7vPs4g",
1876
+ "frames": 11519,
1877
+ "hours": 0.10665740740740741,
1878
+ "monster": "21",
1879
+ "weapon": "5",
1880
+ "npc": "27",
1881
+ "rgb_gb": 0.485964024
1882
+ },
1883
+ {
1884
+ "id": "VheKPb1IQvWwgOnfdtfsvQ",
1885
+ "frames": 11843,
1886
+ "hours": 0.10965740740740741,
1887
+ "monster": "21",
1888
+ "weapon": "0",
1889
+ "npc": "9",
1890
+ "rgb_gb": 0.525546211
1891
+ },
1892
+ {
1893
+ "id": "xsIkANmTSBe2_7lwrKgahw",
1894
+ "frames": 4866,
1895
+ "hours": 0.04505555555555556,
1896
+ "monster": "21",
1897
+ "weapon": "6",
1898
+ "npc": "12",
1899
+ "rgb_gb": 0.111216305
1900
+ },
1901
+ {
1902
+ "id": "qZY6eEuRSLqxfXR9LsPgZg",
1903
+ "frames": 5924,
1904
+ "hours": 0.05485185185185185,
1905
+ "monster": "21",
1906
+ "weapon": "1",
1907
+ "npc": "4",
1908
+ "rgb_gb": 0.12763179
1909
+ },
1910
+ {
1911
+ "id": "mhhDC2rbTN-_zVI3BoliyQ",
1912
+ "frames": 6562,
1913
+ "hours": 0.060759259259259256,
1914
+ "monster": "21",
1915
+ "weapon": "4",
1916
+ "npc": "25",
1917
+ "rgb_gb": 0.143583848
1918
+ },
1919
+ {
1920
+ "id": "ZukxxPxBR0-31rJWKeJKYg",
1921
+ "frames": 10063,
1922
+ "hours": 0.09317592592592593,
1923
+ "monster": "21",
1924
+ "weapon": "5",
1925
+ "npc": "17",
1926
+ "rgb_gb": 0.469182505
1927
+ },
1928
+ {
1929
+ "id": "jfyB8yXIT2mSC24cELfakw",
1930
+ "frames": 11600,
1931
+ "hours": 0.10740740740740741,
1932
+ "monster": "21",
1933
+ "weapon": "0",
1934
+ "npc": "27",
1935
+ "rgb_gb": 0.260439594
1936
+ },
1937
+ {
1938
+ "id": "CGsHAyk5Q9Cgv52SfJsaZQ",
1939
+ "frames": 8840,
1940
+ "hours": 0.08185185185185186,
1941
+ "monster": "21",
1942
+ "weapon": "6",
1943
+ "npc": "9",
1944
+ "rgb_gb": 0.201322795
1945
+ },
1946
+ {
1947
+ "id": "hwZJ9hM3SbC5O1Kaan7EgQ",
1948
+ "frames": 5308,
1949
+ "hours": 0.04914814814814815,
1950
+ "monster": "21",
1951
+ "weapon": "4",
1952
+ "npc": "12",
1953
+ "rgb_gb": 0.124548041
1954
+ },
1955
+ {
1956
+ "id": "UePtfwQDStiNjcDjywZCGg",
1957
+ "frames": 5994,
1958
+ "hours": 0.0555,
1959
+ "monster": "21",
1960
+ "weapon": "1",
1961
+ "npc": "25",
1962
+ "rgb_gb": 0.260166399
1963
+ },
1964
+ {
1965
+ "id": "KdcPKTPJQGOje4FlIYNBfQ",
1966
+ "frames": 8160,
1967
+ "hours": 0.07555555555555556,
1968
+ "monster": "21",
1969
+ "weapon": "0",
1970
+ "npc": "4",
1971
+ "rgb_gb": 0.341940253
1972
+ },
1973
+ {
1974
+ "id": "10MIjlhjT06uE9p5vRqcKQ",
1975
+ "frames": 6335,
1976
+ "hours": 0.05865740740740741,
1977
+ "monster": "21",
1978
+ "weapon": "1",
1979
+ "npc": "17",
1980
+ "rgb_gb": 0.160270339
1981
+ },
1982
+ {
1983
+ "id": "k35beu8oTg6L3xIPbkk5xw",
1984
+ "frames": 11906,
1985
+ "hours": 0.11024074074074074,
1986
+ "monster": "21",
1987
+ "weapon": "5",
1988
+ "npc": "27",
1989
+ "rgb_gb": 0.228598596
1990
+ },
1991
+ {
1992
+ "id": "m8xzgGxfQt-vjk6t7x7twg",
1993
+ "frames": 8900,
1994
+ "hours": 0.0824074074074074,
1995
+ "monster": "21",
1996
+ "weapon": "6",
1997
+ "npc": "9",
1998
+ "rgb_gb": 0.218969222
1999
+ },
2000
+ {
2001
+ "id": "nQpDLHqmSbqZk5U5wCP1Gg",
2002
+ "frames": 5736,
2003
+ "hours": 0.05311111111111111,
2004
+ "monster": "21",
2005
+ "weapon": "4",
2006
+ "npc": "12",
2007
+ "rgb_gb": 0.117748744
2008
+ },
2009
+ {
2010
+ "id": "qgeOiRG3RQO0IFuy2dIKPg",
2011
+ "frames": 8153,
2012
+ "hours": 0.07549074074074075,
2013
+ "monster": "21",
2014
+ "weapon": "0",
2015
+ "npc": "25",
2016
+ "rgb_gb": 0.185754682
2017
+ },
2018
+ {
2019
+ "id": "5333Op3fTZei0qYLG3F-Pw",
2020
+ "frames": 9865,
2021
+ "hours": 0.09134259259259259,
2022
+ "monster": "21",
2023
+ "weapon": "5",
2024
+ "npc": "4",
2025
+ "rgb_gb": 0.238005385
2026
+ },
2027
+ {
2028
+ "id": "bQtwF-odR0mj6SxJMh_47g",
2029
+ "frames": 8302,
2030
+ "hours": 0.07687037037037037,
2031
+ "monster": "21",
2032
+ "weapon": "1",
2033
+ "npc": "17",
2034
+ "rgb_gb": 0.393834348
2035
+ },
2036
+ {
2037
+ "id": "1x2CKvWfS02OckghB-xTSQ",
2038
+ "frames": 8308,
2039
+ "hours": 0.07692592592592593,
2040
+ "monster": "21",
2041
+ "weapon": "6",
2042
+ "npc": "27",
2043
+ "rgb_gb": 0.1764698
2044
+ },
2045
+ {
2046
+ "id": "x4p1-eNdTBe1HAtx8Y7zYw",
2047
+ "frames": 9042,
2048
+ "hours": 0.08372222222222223,
2049
+ "monster": "21",
2050
+ "weapon": "4",
2051
+ "npc": "9",
2052
+ "rgb_gb": 0.216299445
2053
+ },
2054
+ {
2055
+ "id": "1_76Hn39RouFsV-1Sp8R1Q",
2056
+ "frames": 7001,
2057
+ "hours": 0.06482407407407408,
2058
+ "monster": "22",
2059
+ "weapon": "0",
2060
+ "npc": "25",
2061
+ "rgb_gb": 0.164818293
2062
+ },
2063
+ {
2064
+ "id": "e7EsY4TMRv--_99eCako-g",
2065
+ "frames": 8164,
2066
+ "hours": 0.07559259259259259,
2067
+ "monster": "22",
2068
+ "weapon": "5",
2069
+ "npc": "4",
2070
+ "rgb_gb": 0.239068849
2071
+ },
2072
+ {
2073
+ "id": "ItQKYtwiTNSValD6WGxf4w",
2074
+ "frames": 6869,
2075
+ "hours": 0.06360185185185185,
2076
+ "monster": "22",
2077
+ "weapon": "1",
2078
+ "npc": "12",
2079
+ "rgb_gb": 0.175331251
2080
+ },
2081
+ {
2082
+ "id": "Lv5bztarRZeRdFDWbcJy8Q",
2083
+ "frames": 8142,
2084
+ "hours": 0.0753888888888889,
2085
+ "monster": "22",
2086
+ "weapon": "6",
2087
+ "npc": "9",
2088
+ "rgb_gb": 0.211887312
2089
+ },
2090
+ {
2091
+ "id": "hrsy8e4yTYaFCOzZB4_Meg",
2092
+ "frames": 8221,
2093
+ "hours": 0.07612037037037037,
2094
+ "monster": "22",
2095
+ "weapon": "0",
2096
+ "npc": "17",
2097
+ "rgb_gb": 0.215244842
2098
+ },
2099
+ {
2100
+ "id": "_yi_bXYATfewXSV11ll6rw",
2101
+ "frames": 7458,
2102
+ "hours": 0.06905555555555555,
2103
+ "monster": "22",
2104
+ "weapon": "4",
2105
+ "npc": "4",
2106
+ "rgb_gb": 0.157372437
2107
+ },
2108
+ {
2109
+ "id": "rLchk9mHTveeonj4sxKnMA",
2110
+ "frames": 8599,
2111
+ "hours": 0.07962037037037037,
2112
+ "monster": "22",
2113
+ "weapon": "6",
2114
+ "npc": "27",
2115
+ "rgb_gb": 0.195784199
2116
+ },
2117
+ {
2118
+ "id": "Tb-yZitsT9qDWU9RaqT91Q",
2119
+ "frames": 9278,
2120
+ "hours": 0.0859074074074074,
2121
+ "monster": "22",
2122
+ "weapon": "5",
2123
+ "npc": "25",
2124
+ "rgb_gb": 0.221354537
2125
+ },
2126
+ {
2127
+ "id": "_kTFVeCDQOKi3k0-mlD3HQ",
2128
+ "frames": 7233,
2129
+ "hours": 0.06697222222222222,
2130
+ "monster": "22",
2131
+ "weapon": "0",
2132
+ "npc": "12",
2133
+ "rgb_gb": 0.179229832
2134
+ },
2135
+ {
2136
+ "id": "ETY7dMDJQjalH6roHuV3PQ",
2137
+ "frames": 8821,
2138
+ "hours": 0.08167592592592593,
2139
+ "monster": "22",
2140
+ "weapon": "1",
2141
+ "npc": "17",
2142
+ "rgb_gb": 0.229061812
2143
+ },
2144
+ {
2145
+ "id": "gh1ZaE_lTa2WDm7KJitpAQ",
2146
+ "frames": 10061,
2147
+ "hours": 0.09315740740740741,
2148
+ "monster": "22",
2149
+ "weapon": "4",
2150
+ "npc": "9",
2151
+ "rgb_gb": 0.241448809
2152
+ },
2153
+ {
2154
+ "id": "qXaxDFDNQVqT4zNdUyZ7iA",
2155
+ "frames": 8941,
2156
+ "hours": 0.08278703703703703,
2157
+ "monster": "22",
2158
+ "weapon": "6",
2159
+ "npc": "27",
2160
+ "rgb_gb": 0.243399985
2161
+ },
2162
+ {
2163
+ "id": "cu2FEDWBREGyIpI6TfZsQw",
2164
+ "frames": 9462,
2165
+ "hours": 0.08761111111111111,
2166
+ "monster": "22",
2167
+ "weapon": "5",
2168
+ "npc": "12",
2169
+ "rgb_gb": 0.245003843
2170
+ },
2171
+ {
2172
+ "id": "3iq-Xu7qS1mZUMISUMLclA",
2173
+ "frames": 6328,
2174
+ "hours": 0.05859259259259259,
2175
+ "monster": "22",
2176
+ "weapon": "1",
2177
+ "npc": "25",
2178
+ "rgb_gb": 0.164697142
2179
+ },
2180
+ {
2181
+ "id": "dj1H6Z8GTyC-ywB3S8KbdA",
2182
+ "frames": 8001,
2183
+ "hours": 0.07408333333333333,
2184
+ "monster": "22",
2185
+ "weapon": "4",
2186
+ "npc": "4",
2187
+ "rgb_gb": 0.189684129
2188
+ },
2189
+ {
2190
+ "id": "yz1PkhT4TFeGM_lfhi1zfQ",
2191
+ "frames": 10709,
2192
+ "hours": 0.0991574074074074,
2193
+ "monster": "22",
2194
+ "weapon": "0",
2195
+ "npc": "17",
2196
+ "rgb_gb": 0.262500005
2197
+ },
2198
+ {
2199
+ "id": "Hb5tpZAPSu6b1iXt_0qp2g",
2200
+ "frames": 12592,
2201
+ "hours": 0.1165925925925926,
2202
+ "monster": "22",
2203
+ "weapon": "5",
2204
+ "npc": "9",
2205
+ "rgb_gb": 0.319355974
2206
+ },
2207
+ {
2208
+ "id": "G-QucNrQT8ixoVr38M-RVA",
2209
+ "frames": 9774,
2210
+ "hours": 0.0905,
2211
+ "monster": "22",
2212
+ "weapon": "6",
2213
+ "npc": "27",
2214
+ "rgb_gb": 0.249428061
2215
+ },
2216
+ {
2217
+ "id": "-Prk1G6GSBWRV0Y9e_mfwA",
2218
+ "frames": 6387,
2219
+ "hours": 0.05913888888888889,
2220
+ "monster": "22",
2221
+ "weapon": "1",
2222
+ "npc": "4",
2223
+ "rgb_gb": 0.163660908
2224
+ },
2225
+ {
2226
+ "id": "PJAn2XtqT7ee2xZozlsQ_Q",
2227
+ "frames": 7461,
2228
+ "hours": 0.06908333333333333,
2229
+ "monster": "22",
2230
+ "weapon": "0",
2231
+ "npc": "25",
2232
+ "rgb_gb": 0.193518071
2233
+ },
2234
+ {
2235
+ "id": "AFOAWWDTTE-YxSwflfg5ag",
2236
+ "frames": 8124,
2237
+ "hours": 0.07522222222222222,
2238
+ "monster": "22",
2239
+ "weapon": "4",
2240
+ "npc": "12",
2241
+ "rgb_gb": 0.208862902
2242
+ },
2243
+ {
2244
+ "id": "CcUlXbIERWmGXOuIJp69Kg",
2245
+ "frames": 11512,
2246
+ "hours": 0.10659259259259259,
2247
+ "monster": "22",
2248
+ "weapon": "5",
2249
+ "npc": "17",
2250
+ "rgb_gb": 0.334524656
2251
+ },
2252
+ {
2253
+ "id": "atLRWC55S-CHHLeBknsEZA",
2254
+ "frames": 8152,
2255
+ "hours": 0.07548148148148148,
2256
+ "monster": "22",
2257
+ "weapon": "6",
2258
+ "npc": "9",
2259
+ "rgb_gb": 0.198961917
2260
+ },
2261
+ {
2262
+ "id": "0mzJNkfvTyKdI9-GNoXxmQ",
2263
+ "frames": 11754,
2264
+ "hours": 0.10883333333333334,
2265
+ "monster": "22",
2266
+ "weapon": "0",
2267
+ "npc": "27",
2268
+ "rgb_gb": 0.325754082
2269
+ },
2270
+ {
2271
+ "id": "EhfI3n2FQBqUsLCot5vJVw",
2272
+ "frames": 6892,
2273
+ "hours": 0.06381481481481481,
2274
+ "monster": "23",
2275
+ "weapon": "0",
2276
+ "npc": "27",
2277
+ "rgb_gb": 0.15065947
2278
+ },
2279
+ {
2280
+ "id": "yo5oSbZUTku7JEwjxOx2Pg",
2281
+ "frames": 12689,
2282
+ "hours": 0.11749074074074074,
2283
+ "monster": "23",
2284
+ "weapon": "1",
2285
+ "npc": "4",
2286
+ "rgb_gb": 0.306610835
2287
+ },
2288
+ {
2289
+ "id": "ycTWe7WUQVKRU-QiUNkRpA",
2290
+ "frames": 12823,
2291
+ "hours": 0.11873148148148148,
2292
+ "monster": "23",
2293
+ "weapon": "4",
2294
+ "npc": "25",
2295
+ "rgb_gb": 0.373886505
2296
+ },
2297
+ {
2298
+ "id": "jMYO1xuHTam2VB1WfKeZmg",
2299
+ "frames": 14874,
2300
+ "hours": 0.13772222222222222,
2301
+ "monster": "23",
2302
+ "weapon": "1",
2303
+ "npc": "12",
2304
+ "rgb_gb": 0.432420911
2305
+ },
2306
+ {
2307
+ "id": "G83hgza-QjmNySYCaNb22w",
2308
+ "frames": 11735,
2309
+ "hours": 0.10865740740740741,
2310
+ "monster": "23",
2311
+ "weapon": "6",
2312
+ "npc": "4",
2313
+ "rgb_gb": 0.262485284
2314
+ },
2315
+ {
2316
+ "id": "WawS1GOLRC6bK5c7os7Xxg",
2317
+ "frames": 15879,
2318
+ "hours": 0.14702777777777779,
2319
+ "monster": "23",
2320
+ "weapon": "4",
2321
+ "npc": "12",
2322
+ "rgb_gb": 0.332289367
2323
+ },
2324
+ {
2325
+ "id": "7o_KAGIVRsqb99obSUgc3g",
2326
+ "frames": 19481,
2327
+ "hours": 0.18037962962962964,
2328
+ "monster": "23",
2329
+ "weapon": "1",
2330
+ "npc": "17",
2331
+ "rgb_gb": 0.579696238
2332
+ },
2333
+ {
2334
+ "id": "LvIPcdnTRqC8LDY50ml0zA",
2335
+ "frames": 15151,
2336
+ "hours": 0.14028703703703704,
2337
+ "monster": "23",
2338
+ "weapon": "6",
2339
+ "npc": "25",
2340
+ "rgb_gb": 0.377152362
2341
+ },
2342
+ {
2343
+ "id": "lPySjKOhTjWNSfwMj7Ncfg",
2344
+ "frames": 22054,
2345
+ "hours": 0.2042037037037037,
2346
+ "monster": "23",
2347
+ "weapon": "4",
2348
+ "npc": "9",
2349
+ "rgb_gb": 0.646517345
2350
+ },
2351
+ {
2352
+ "id": "J240QiGoR3OX9bE30DGCDA",
2353
+ "frames": 16147,
2354
+ "hours": 0.14950925925925926,
2355
+ "monster": "23",
2356
+ "weapon": "0",
2357
+ "npc": "12",
2358
+ "rgb_gb": 0.531062158
2359
+ },
2360
+ {
2361
+ "id": "tbDi6DJLTdOrro8iIRhoIg",
2362
+ "frames": 28636,
2363
+ "hours": 0.26514814814814813,
2364
+ "monster": "23",
2365
+ "weapon": "5",
2366
+ "npc": "4",
2367
+ "rgb_gb": 0.875638703
2368
+ },
2369
+ {
2370
+ "id": "qkS-nZPnRVyOmEpHkl4nLg",
2371
+ "frames": 19603,
2372
+ "hours": 0.18150925925925926,
2373
+ "monster": "23",
2374
+ "weapon": "1",
2375
+ "npc": "17",
2376
+ "rgb_gb": 0.57710405
2377
+ },
2378
+ {
2379
+ "id": "XccCu0-iTXC86fv1UwsBaw",
2380
+ "frames": 22437,
2381
+ "hours": 0.20775,
2382
+ "monster": "23",
2383
+ "weapon": "4",
2384
+ "npc": "9",
2385
+ "rgb_gb": 0.524848555
2386
+ },
2387
+ {
2388
+ "id": "ACTF2cm4QZC2qGQOtvX3QQ",
2389
+ "frames": 10152,
2390
+ "hours": 0.094,
2391
+ "monster": "24",
2392
+ "weapon": "6",
2393
+ "npc": "4",
2394
+ "rgb_gb": 0.18729191
2395
+ },
2396
+ {
2397
+ "id": "8Wfbf05hSrqLW4AD5SGMDg",
2398
+ "frames": 18951,
2399
+ "hours": 0.17547222222222222,
2400
+ "monster": "24",
2401
+ "weapon": "0",
2402
+ "npc": "25",
2403
+ "rgb_gb": 0.373348177
2404
+ },
2405
+ {
2406
+ "id": "HgO7yEzqSSGGotIa34n4hg",
2407
+ "frames": 10261,
2408
+ "hours": 0.09500925925925927,
2409
+ "monster": "24",
2410
+ "weapon": "1",
2411
+ "npc": "12",
2412
+ "rgb_gb": 0.160031353
2413
+ },
2414
+ {
2415
+ "id": "CeR4Fr8PTdG-XhnbKMkCKg",
2416
+ "frames": 22377,
2417
+ "hours": 0.20719444444444443,
2418
+ "monster": "24",
2419
+ "weapon": "6",
2420
+ "npc": "27",
2421
+ "rgb_gb": 0.383544376
2422
+ },
2423
+ {
2424
+ "id": "uKdEgkVtQRCzxGCfs4Rf7w",
2425
+ "frames": 22521,
2426
+ "hours": 0.20852777777777778,
2427
+ "monster": "24",
2428
+ "weapon": "5",
2429
+ "npc": "4",
2430
+ "rgb_gb": 0.490320596
2431
+ },
2432
+ {
2433
+ "id": "VgqAHbEHT1qLZz4BmIvIPQ",
2434
+ "frames": 17682,
2435
+ "hours": 0.1637222222222222,
2436
+ "monster": "24",
2437
+ "weapon": "4",
2438
+ "npc": "9",
2439
+ "rgb_gb": 0.371554854
2440
+ },
2441
+ {
2442
+ "id": "7ubaASdaQLWutSYpsdbKcA",
2443
+ "frames": 29801,
2444
+ "hours": 0.27593518518518517,
2445
+ "monster": "24",
2446
+ "weapon": "5",
2447
+ "npc": "25",
2448
+ "rgb_gb": 0.50144944
2449
+ },
2450
+ {
2451
+ "id": "6klFNV-lSj6miMkwFITx_w",
2452
+ "frames": 26067,
2453
+ "hours": 0.2413611111111111,
2454
+ "monster": "24",
2455
+ "weapon": "0",
2456
+ "npc": "27",
2457
+ "rgb_gb": 0.511076713
2458
+ },
2459
+ {
2460
+ "id": "s8-d0CXaRiqQoCZH0uFT_A",
2461
+ "frames": 21809,
2462
+ "hours": 0.2019351851851852,
2463
+ "monster": "24",
2464
+ "weapon": "1",
2465
+ "npc": "17",
2466
+ "rgb_gb": 0.396341958
2467
+ },
2468
+ {
2469
+ "id": "kenrNT1HSiikf7J0CQqOlg",
2470
+ "frames": 13200,
2471
+ "hours": 0.12222222222222222,
2472
+ "monster": "24",
2473
+ "weapon": "6",
2474
+ "npc": "12",
2475
+ "rgb_gb": 0.255847804
2476
+ },
2477
+ {
2478
+ "id": "FOnfgNhNRH6K1sZUHk_2Xw",
2479
+ "frames": 15748,
2480
+ "hours": 0.1458148148148148,
2481
+ "monster": "24",
2482
+ "weapon": "4",
2483
+ "npc": "25",
2484
+ "rgb_gb": 0.312904068
2485
+ },
2486
+ {
2487
+ "id": "JpwNe5xLThSGQhtPvB0w0g",
2488
+ "frames": 28566,
2489
+ "hours": 0.2645,
2490
+ "monster": "25",
2491
+ "weapon": "5",
2492
+ "npc": "17",
2493
+ "rgb_gb": 1.234300929
2494
+ },
2495
+ {
2496
+ "id": "JUidFWfYStaNnxNviDN9Vw",
2497
+ "frames": 11849,
2498
+ "hours": 0.10971296296296296,
2499
+ "monster": "25",
2500
+ "weapon": "0",
2501
+ "npc": "4",
2502
+ "rgb_gb": 0.58437018
2503
+ },
2504
+ {
2505
+ "id": "oiWcpq2TTrW4H1fjKHn1uA",
2506
+ "frames": 20002,
2507
+ "hours": 0.1852037037037037,
2508
+ "monster": "25",
2509
+ "weapon": "4",
2510
+ "npc": "9",
2511
+ "rgb_gb": 0.869766645
2512
+ },
2513
+ {
2514
+ "id": "MaXwyb5DR6m58hfK4sKilA",
2515
+ "frames": 21212,
2516
+ "hours": 0.19640740740740742,
2517
+ "monster": "25",
2518
+ "weapon": "6",
2519
+ "npc": "27",
2520
+ "rgb_gb": 0.931259902
2521
+ },
2522
+ {
2523
+ "id": "cKuPX25aR0aPl-B-MkEwOA",
2524
+ "frames": 13477,
2525
+ "hours": 0.12478703703703704,
2526
+ "monster": "25",
2527
+ "weapon": "1",
2528
+ "npc": "25",
2529
+ "rgb_gb": 0.695346826
2530
+ },
2531
+ {
2532
+ "id": "fe8Ox3yvS5iHbxOoc8V8Ww",
2533
+ "frames": 29820,
2534
+ "hours": 0.2761111111111111,
2535
+ "monster": "25",
2536
+ "weapon": "5",
2537
+ "npc": "17",
2538
+ "rgb_gb": 1.25862928
2539
+ },
2540
+ {
2541
+ "id": "hOSWiigxSwu-QuILqh5v8A",
2542
+ "frames": 9478,
2543
+ "hours": 0.08775925925925926,
2544
+ "monster": "25",
2545
+ "weapon": "4",
2546
+ "npc": "12",
2547
+ "rgb_gb": 0.455896023
2548
+ },
2549
+ {
2550
+ "id": "6IDCSILpSgGHGLjVGqGGkg",
2551
+ "frames": 8798,
2552
+ "hours": 0.08146296296296296,
2553
+ "monster": "25",
2554
+ "weapon": "6",
2555
+ "npc": "4",
2556
+ "rgb_gb": 0.425274594
2557
+ },
2558
+ {
2559
+ "id": "6HkG3lhOSWO4HWuaJgMIgQ",
2560
+ "frames": 34174,
2561
+ "hours": 0.31642592592592594,
2562
+ "monster": "25",
2563
+ "weapon": "5",
2564
+ "npc": "9",
2565
+ "rgb_gb": 1.486149
2566
+ },
2567
+ {
2568
+ "id": "tRT1c9MOQiurQGZwR5JPiA",
2569
+ "frames": 18588,
2570
+ "hours": 0.1721111111111111,
2571
+ "monster": "25",
2572
+ "weapon": "0",
2573
+ "npc": "25",
2574
+ "rgb_gb": 0.781450191
2575
+ },
2576
+ {
2577
+ "id": "P_EE6NJETqGyQ6zZL0BG3w",
2578
+ "frames": 12950,
2579
+ "hours": 0.11990740740740741,
2580
+ "monster": "25",
2581
+ "weapon": "1",
2582
+ "npc": "4",
2583
+ "rgb_gb": 0.622066942
2584
+ },
2585
+ {
2586
+ "id": "Tbp_xU5KQtKIdUsZjOpy_w",
2587
+ "frames": 15177,
2588
+ "hours": 0.14052777777777778,
2589
+ "monster": "26",
2590
+ "weapon": "6",
2591
+ "npc": "27",
2592
+ "rgb_gb": 0.409081414
2593
+ },
2594
+ {
2595
+ "id": "1LDXULHSQfyCz7VnW6sU9w",
2596
+ "frames": 14958,
2597
+ "hours": 0.1385,
2598
+ "monster": "26",
2599
+ "weapon": "4",
2600
+ "npc": "9",
2601
+ "rgb_gb": 0.380998696
2602
+ },
2603
+ {
2604
+ "id": "L3omN8E6TCGk3RDypeV7mg",
2605
+ "frames": 9838,
2606
+ "hours": 0.09109259259259259,
2607
+ "monster": "26",
2608
+ "weapon": "1",
2609
+ "npc": "12",
2610
+ "rgb_gb": 0.225423642
2611
+ },
2612
+ {
2613
+ "id": "B9-37E1jR1C04Ofsmi--RQ",
2614
+ "frames": 24207,
2615
+ "hours": 0.2241388888888889,
2616
+ "monster": "26",
2617
+ "weapon": "0",
2618
+ "npc": "27",
2619
+ "rgb_gb": 0.618170837
2620
+ },
2621
+ {
2622
+ "id": "cIKmz1SUSc2b_H_Jzjq1Qw",
2623
+ "frames": 21398,
2624
+ "hours": 0.19812962962962963,
2625
+ "monster": "26",
2626
+ "weapon": "5",
2627
+ "npc": "25",
2628
+ "rgb_gb": 0.436463669
2629
+ },
2630
+ {
2631
+ "id": "RYa6X0fPTtqAN0feU3M8Cg",
2632
+ "frames": 16518,
2633
+ "hours": 0.15294444444444444,
2634
+ "monster": "26",
2635
+ "weapon": "6",
2636
+ "npc": "17",
2637
+ "rgb_gb": 0.399539853
2638
+ },
2639
+ {
2640
+ "id": "Pd4sSTsWSdCgeeYXpLtjyw",
2641
+ "frames": 16118,
2642
+ "hours": 0.14924074074074073,
2643
+ "monster": "26",
2644
+ "weapon": "0",
2645
+ "npc": "12",
2646
+ "rgb_gb": 0.295942461
2647
+ },
2648
+ {
2649
+ "id": "8f7FCJ5FR8WCr6QaJgPsCA",
2650
+ "frames": 17483,
2651
+ "hours": 0.16187962962962962,
2652
+ "monster": "26",
2653
+ "weapon": "4",
2654
+ "npc": "17",
2655
+ "rgb_gb": 0.419543725
2656
+ },
2657
+ {
2658
+ "id": "QGANXbz8TWKDu-EUSEKpCw",
2659
+ "frames": 30794,
2660
+ "hours": 0.2851296296296296,
2661
+ "monster": "26",
2662
+ "weapon": "5",
2663
+ "npc": "27",
2664
+ "rgb_gb": 0.769878206
2665
+ },
2666
+ {
2667
+ "id": "WHHEFQbeT4qWcqJTWkS1lQ",
2668
+ "frames": 11558,
2669
+ "hours": 0.10701851851851851,
2670
+ "monster": "26",
2671
+ "weapon": "1",
2672
+ "npc": "25",
2673
+ "rgb_gb": 0.284502298
2674
+ },
2675
+ {
2676
+ "id": "BzK5fV76RWm7J6jDbemQjw",
2677
+ "frames": 17037,
2678
+ "hours": 0.15775,
2679
+ "monster": "26",
2680
+ "weapon": "6",
2681
+ "npc": "9",
2682
+ "rgb_gb": 0.446627275
2683
+ },
2684
+ {
2685
+ "id": "ApowMYbLRmKhtXCE6_nETw",
2686
+ "frames": 14711,
2687
+ "hours": 0.13621296296296295,
2688
+ "monster": "26",
2689
+ "weapon": "0",
2690
+ "npc": "4",
2691
+ "rgb_gb": 0.337152441
2692
+ },
2693
+ {
2694
+ "id": "bgKlo0VaSz-9k-CxN8Jswg",
2695
+ "frames": 33580,
2696
+ "hours": 0.31092592592592594,
2697
+ "monster": "27",
2698
+ "weapon": "5",
2699
+ "npc": "17",
2700
+ "rgb_gb": 1.586718521
2701
+ },
2702
+ {
2703
+ "id": "kLYnvILDScmEobm5Bf2NxQ",
2704
+ "frames": 17739,
2705
+ "hours": 0.16425,
2706
+ "monster": "27",
2707
+ "weapon": "1",
2708
+ "npc": "12",
2709
+ "rgb_gb": 0.62614206
2710
+ },
2711
+ {
2712
+ "id": "Ji25Sz4WSLa6h9z-tLysqw",
2713
+ "frames": 26878,
2714
+ "hours": 0.24887037037037038,
2715
+ "monster": "27",
2716
+ "weapon": "4",
2717
+ "npc": "9",
2718
+ "rgb_gb": 1.086193349
2719
+ },
2720
+ {
2721
+ "id": "c6FUtGEWQJOiFOY8iKce9Q",
2722
+ "frames": 15537,
2723
+ "hours": 0.1438611111111111,
2724
+ "monster": "27",
2725
+ "weapon": "6",
2726
+ "npc": "4",
2727
+ "rgb_gb": 0.388641306
2728
+ },
2729
+ {
2730
+ "id": "-h3NAHuXRyqD8bcvHE2vzg",
2731
+ "frames": 22249,
2732
+ "hours": 0.20600925925925925,
2733
+ "monster": "27",
2734
+ "weapon": "0",
2735
+ "npc": "12",
2736
+ "rgb_gb": 0.816771618
2737
+ },
2738
+ {
2739
+ "id": "cXx2WvOjR3ClX24C9NNUcg",
2740
+ "frames": 27564,
2741
+ "hours": 0.25522222222222224,
2742
+ "monster": "27",
2743
+ "weapon": "6",
2744
+ "npc": "27",
2745
+ "rgb_gb": 1.170338428
2746
+ },
2747
+ {
2748
+ "id": "HNZYetH0T2KzPpNsyHumcA",
2749
+ "frames": 22810,
2750
+ "hours": 0.2112037037037037,
2751
+ "monster": "27",
2752
+ "weapon": "1",
2753
+ "npc": "25",
2754
+ "rgb_gb": 0.838714935
2755
+ },
2756
+ {
2757
+ "id": "ZAU4krtIQrGZtFCltdBV5Q",
2758
+ "frames": 31094,
2759
+ "hours": 0.2879074074074074,
2760
+ "monster": "27",
2761
+ "weapon": "4",
2762
+ "npc": "9",
2763
+ "rgb_gb": 1.282703953
2764
+ },
2765
+ {
2766
+ "id": "UzrmYofETUKI-ngFPF2ZzA",
2767
+ "frames": 44293,
2768
+ "hours": 0.41012037037037036,
2769
+ "monster": "27",
2770
+ "weapon": "5",
2771
+ "npc": "17",
2772
+ "rgb_gb": 2.174744918
2773
+ },
2774
+ {
2775
+ "id": "2BK4gxiESrOKB_bA9bCdxQ",
2776
+ "frames": 12243,
2777
+ "hours": 0.11336111111111111,
2778
+ "monster": "29",
2779
+ "weapon": "0",
2780
+ "npc": "27",
2781
+ "rgb_gb": 0.221196631
2782
+ },
2783
+ {
2784
+ "id": "eCKVQ3rMTj28VtyrKrg2eA",
2785
+ "frames": 8947,
2786
+ "hours": 0.08284259259259259,
2787
+ "monster": "29",
2788
+ "weapon": "5",
2789
+ "npc": "4",
2790
+ "rgb_gb": 0.219571788
2791
+ },
2792
+ {
2793
+ "id": "vDZzjUa-QNKIxRFhzNWJDg",
2794
+ "frames": 8577,
2795
+ "hours": 0.07941666666666666,
2796
+ "monster": "29",
2797
+ "weapon": "4",
2798
+ "npc": "9",
2799
+ "rgb_gb": 0.15242825
2800
+ },
2801
+ {
2802
+ "id": "mXBHZnYTT3KiJLObnY1JFQ",
2803
+ "frames": 9513,
2804
+ "hours": 0.08808333333333333,
2805
+ "monster": "29",
2806
+ "weapon": "1",
2807
+ "npc": "17",
2808
+ "rgb_gb": 0.221784828
2809
+ },
2810
+ {
2811
+ "id": "C-4Ii87NQJ-UtUEQDNUTAg",
2812
+ "frames": 8208,
2813
+ "hours": 0.076,
2814
+ "monster": "29",
2815
+ "weapon": "0",
2816
+ "npc": "25",
2817
+ "rgb_gb": 0.190291437
2818
+ },
2819
+ {
2820
+ "id": "9VDSC2CMRya4BmDWX7U59g",
2821
+ "frames": 19454,
2822
+ "hours": 0.18012962962962964,
2823
+ "monster": "29",
2824
+ "weapon": "5",
2825
+ "npc": "27",
2826
+ "rgb_gb": 0.448529034
2827
+ },
2828
+ {
2829
+ "id": "x_BuM5wISDCUTp9iPeJWTQ",
2830
+ "frames": 7849,
2831
+ "hours": 0.07267592592592592,
2832
+ "monster": "29",
2833
+ "weapon": "4",
2834
+ "npc": "12",
2835
+ "rgb_gb": 0.166330911
2836
+ },
2837
+ {
2838
+ "id": "D6nMGj1DRYO7TDOZ4skM_Q",
2839
+ "frames": 9485,
2840
+ "hours": 0.08782407407407407,
2841
+ "monster": "29",
2842
+ "weapon": "6",
2843
+ "npc": "17",
2844
+ "rgb_gb": 0.226282851
2845
+ },
2846
+ {
2847
+ "id": "0W2vbydESB25SmpmOGL3VQ",
2848
+ "frames": 9814,
2849
+ "hours": 0.09087037037037037,
2850
+ "monster": "29",
2851
+ "weapon": "0",
2852
+ "npc": "9",
2853
+ "rgb_gb": 0.23375714
2854
+ },
2855
+ {
2856
+ "id": "PnialJp2TYiJPy2SVlL0AA",
2857
+ "frames": 7546,
2858
+ "hours": 0.06987037037037037,
2859
+ "monster": "29",
2860
+ "weapon": "1",
2861
+ "npc": "25",
2862
+ "rgb_gb": 0.187903259
2863
+ },
2864
+ {
2865
+ "id": "aBE1qhMkQ2edMAgGRg7PdQ",
2866
+ "frames": 19548,
2867
+ "hours": 0.181,
2868
+ "monster": "29",
2869
+ "weapon": "5",
2870
+ "npc": "27",
2871
+ "rgb_gb": 0.472455252
2872
+ },
2873
+ {
2874
+ "id": "ivn0ZpFURs-TZaPrHLPw4A",
2875
+ "frames": 6125,
2876
+ "hours": 0.056712962962962965,
2877
+ "monster": "29",
2878
+ "weapon": "6",
2879
+ "npc": "4",
2880
+ "rgb_gb": 0.14649612
2881
+ },
2882
+ {
2883
+ "id": "IANa8ZGDTAKdE5ky6wtoRA",
2884
+ "frames": 8255,
2885
+ "hours": 0.07643518518518519,
2886
+ "monster": "29",
2887
+ "weapon": "0",
2888
+ "npc": "12",
2889
+ "rgb_gb": 0.191375055
2890
+ },
2891
+ {
2892
+ "id": "6DUY0zAXTJOLd-KpraG-7Q",
2893
+ "frames": 9046,
2894
+ "hours": 0.08375925925925926,
2895
+ "monster": "29",
2896
+ "weapon": "4",
2897
+ "npc": "17",
2898
+ "rgb_gb": 0.215460391
2899
+ },
2900
+ {
2901
+ "id": "CJTSrozkQdOlTyw6XMJGtg",
2902
+ "frames": 16200,
2903
+ "hours": 0.15,
2904
+ "monster": "29",
2905
+ "weapon": "5",
2906
+ "npc": "9",
2907
+ "rgb_gb": 0.357294755
2908
+ },
2909
+ {
2910
+ "id": "MF5R_eP1Q3WKx0fxtet4sA",
2911
+ "frames": 8885,
2912
+ "hours": 0.08226851851851852,
2913
+ "monster": "29",
2914
+ "weapon": "1",
2915
+ "npc": "12",
2916
+ "rgb_gb": 0.195511458
2917
+ },
2918
+ {
2919
+ "id": "hUlbrERRRKK9Cd_BS-97xQ",
2920
+ "frames": 9743,
2921
+ "hours": 0.09021296296296297,
2922
+ "monster": "29",
2923
+ "weapon": "6",
2924
+ "npc": "27",
2925
+ "rgb_gb": 0.2279255
2926
+ },
2927
+ {
2928
+ "id": "4lzeJ9pxS8Kzd88T70c4qQ",
2929
+ "frames": 6217,
2930
+ "hours": 0.05756481481481481,
2931
+ "monster": "29",
2932
+ "weapon": "4",
2933
+ "npc": "25",
2934
+ "rgb_gb": 0.139601343
2935
+ },
2936
+ {
2937
+ "id": "4cye28muTVqFXCJ_9sNj2Q",
2938
+ "frames": 8422,
2939
+ "hours": 0.07798148148148148,
2940
+ "monster": "29",
2941
+ "weapon": "0",
2942
+ "npc": "4",
2943
+ "rgb_gb": 0.203425492
2944
+ },
2945
+ {
2946
+ "id": "FeEa6CxdQnKf2VxewklmNA",
2947
+ "frames": 10159,
2948
+ "hours": 0.09406481481481481,
2949
+ "monster": "29",
2950
+ "weapon": "1",
2951
+ "npc": "17",
2952
+ "rgb_gb": 0.234976464
2953
+ },
2954
+ {
2955
+ "id": "PEWX5IeaSIqd0txcl1tedg",
2956
+ "frames": 10638,
2957
+ "hours": 0.0985,
2958
+ "monster": "3",
2959
+ "weapon": "1",
2960
+ "npc": "12",
2961
+ "rgb_gb": 0.499395152
2962
+ },
2963
+ {
2964
+ "id": "ysWVhVVDTfqXRjQj2lt58w",
2965
+ "frames": 21499,
2966
+ "hours": 0.1990648148148148,
2967
+ "monster": "3",
2968
+ "weapon": "5",
2969
+ "npc": "4",
2970
+ "rgb_gb": 0.865018908
2971
+ },
2972
+ {
2973
+ "id": "l13rCsvJRkK4M8e6rlCcIg",
2974
+ "frames": 19489,
2975
+ "hours": 0.1804537037037037,
2976
+ "monster": "3",
2977
+ "weapon": "6",
2978
+ "npc": "27",
2979
+ "rgb_gb": 0.900015116
2980
+ },
2981
+ {
2982
+ "id": "w0UbLh6fQcugyJDdkPDnog",
2983
+ "frames": 22486,
2984
+ "hours": 0.2082037037037037,
2985
+ "monster": "3",
2986
+ "weapon": "4",
2987
+ "npc": "9",
2988
+ "rgb_gb": 0.908006486
2989
+ },
2990
+ {
2991
+ "id": "1QYI6XPHSh64UTawxdfGlw",
2992
+ "frames": 13177,
2993
+ "hours": 0.12200925925925926,
2994
+ "monster": "3",
2995
+ "weapon": "1",
2996
+ "npc": "25",
2997
+ "rgb_gb": 0.553407991
2998
+ },
2999
+ {
3000
+ "id": "uzBu8E4YSZeZhq4Achn6rw",
3001
+ "frames": 26790,
3002
+ "hours": 0.24805555555555556,
3003
+ "monster": "3",
3004
+ "weapon": "5",
3005
+ "npc": "17",
3006
+ "rgb_gb": 1.25713575
3007
+ },
3008
+ {
3009
+ "id": "bFDVs80SRWGlL09jDFVcNQ",
3010
+ "frames": 18107,
3011
+ "hours": 0.1676574074074074,
3012
+ "monster": "3",
3013
+ "weapon": "0",
3014
+ "npc": "4",
3015
+ "rgb_gb": 0.729575594
3016
+ },
3017
+ {
3018
+ "id": "y_oRP88wQ4GS1bsk4QaSKw",
3019
+ "frames": 13396,
3020
+ "hours": 0.12403703703703704,
3021
+ "monster": "3",
3022
+ "weapon": "6",
3023
+ "npc": "12",
3024
+ "rgb_gb": 0.526077756
3025
+ },
3026
+ {
3027
+ "id": "Br18JwO7S_a55QbEEjrAHw",
3028
+ "frames": 22772,
3029
+ "hours": 0.21085185185185185,
3030
+ "monster": "3",
3031
+ "weapon": "4",
3032
+ "npc": "9",
3033
+ "rgb_gb": 0.897076014
3034
+ },
3035
+ {
3036
+ "id": "Et1pvr4ATNeDrEoMDOjknA",
3037
+ "frames": 24373,
3038
+ "hours": 0.22567592592592592,
3039
+ "monster": "3",
3040
+ "weapon": "5",
3041
+ "npc": "25",
3042
+ "rgb_gb": 0.840317945
3043
+ },
3044
+ {
3045
+ "id": "3VWJj-eBRxKpobURIClq1Q",
3046
+ "frames": 19584,
3047
+ "hours": 0.18133333333333335,
3048
+ "monster": "3",
3049
+ "weapon": "6",
3050
+ "npc": "27",
3051
+ "rgb_gb": 0.906996388
3052
+ },
3053
+ {
3054
+ "id": "MT-xPglvQ86Tav0ZeIiELQ",
3055
+ "frames": 6934,
3056
+ "hours": 0.06420370370370371,
3057
+ "monster": "31",
3058
+ "weapon": "0",
3059
+ "npc": "4",
3060
+ "rgb_gb": 0.238636454
3061
+ },
3062
+ {
3063
+ "id": "d_QIIUIuQ2KOThFmzS-57g",
3064
+ "frames": 8843,
3065
+ "hours": 0.08187962962962964,
3066
+ "monster": "31",
3067
+ "weapon": "1",
3068
+ "npc": "17",
3069
+ "rgb_gb": 0.304840774
3070
+ },
3071
+ {
3072
+ "id": "NmMZTpxQToGD4_Vdq8L44g",
3073
+ "frames": 9722,
3074
+ "hours": 0.09001851851851851,
3075
+ "monster": "31",
3076
+ "weapon": "4",
3077
+ "npc": "9",
3078
+ "rgb_gb": 0.32998574
3079
+ },
3080
+ {
3081
+ "id": "Gdu1Ty6oSDuIW59e7mNz3Q",
3082
+ "frames": 13313,
3083
+ "hours": 0.12326851851851851,
3084
+ "monster": "31",
3085
+ "weapon": "5",
3086
+ "npc": "25",
3087
+ "rgb_gb": 0.450804402
3088
+ },
3089
+ {
3090
+ "id": "yNK6rWCGTTm5JWDTpHMArQ",
3091
+ "frames": 14276,
3092
+ "hours": 0.13218518518518518,
3093
+ "monster": "31",
3094
+ "weapon": "0",
3095
+ "npc": "27",
3096
+ "rgb_gb": 0.486692816
3097
+ },
3098
+ {
3099
+ "id": "Dw1FY5lkQYiRUT_g_UG0Iw",
3100
+ "frames": 7182,
3101
+ "hours": 0.0665,
3102
+ "monster": "31",
3103
+ "weapon": "6",
3104
+ "npc": "12",
3105
+ "rgb_gb": 0.227188738
3106
+ },
3107
+ {
3108
+ "id": "zT7CiNQRS7Gd8Zd_1mwVpw",
3109
+ "frames": 9269,
3110
+ "hours": 0.08582407407407408,
3111
+ "monster": "31",
3112
+ "weapon": "5",
3113
+ "npc": "4",
3114
+ "rgb_gb": 0.322509049
3115
+ },
3116
+ {
3117
+ "id": "W9wvbj4uQEO5JKj6B_BHQQ",
3118
+ "frames": 9951,
3119
+ "hours": 0.0921388888888889,
3120
+ "monster": "31",
3121
+ "weapon": "1",
3122
+ "npc": "17",
3123
+ "rgb_gb": 0.336034664
3124
+ },
3125
+ {
3126
+ "id": "R9afH6zqRl-MuEAmVho6zA",
3127
+ "frames": 11937,
3128
+ "hours": 0.11052777777777778,
3129
+ "monster": "31",
3130
+ "weapon": "4",
3131
+ "npc": "9",
3132
+ "rgb_gb": 0.400368579
3133
+ },
3134
+ {
3135
+ "id": "TYivekokSDWksWerekyMAA",
3136
+ "frames": 9273,
3137
+ "hours": 0.08586111111111111,
3138
+ "monster": "31",
3139
+ "weapon": "6",
3140
+ "npc": "27",
3141
+ "rgb_gb": 0.283263304
3142
+ },
3143
+ {
3144
+ "id": "PqEv6rNbQ0CuDhE-9Uy3IQ",
3145
+ "frames": 9332,
3146
+ "hours": 0.0864074074074074,
3147
+ "monster": "31",
3148
+ "weapon": "0",
3149
+ "npc": "25",
3150
+ "rgb_gb": 0.310948116
3151
+ },
3152
+ {
3153
+ "id": "fACNArxlRNiu_P9Lu4MokQ",
3154
+ "frames": 8332,
3155
+ "hours": 0.07714814814814815,
3156
+ "monster": "31",
3157
+ "weapon": "1",
3158
+ "npc": "12",
3159
+ "rgb_gb": 0.260160351
3160
+ },
3161
+ {
3162
+ "id": "hY-ox7Y2Rj-bGlJpvoXa3Q",
3163
+ "frames": 14892,
3164
+ "hours": 0.1378888888888889,
3165
+ "monster": "31",
3166
+ "weapon": "5",
3167
+ "npc": "17",
3168
+ "rgb_gb": 0.50299121
3169
+ },
3170
+ {
3171
+ "id": "lFr0EYyjQJW6VwYdM_JVMQ",
3172
+ "frames": 12305,
3173
+ "hours": 0.11393518518518518,
3174
+ "monster": "31",
3175
+ "weapon": "4",
3176
+ "npc": "9",
3177
+ "rgb_gb": 0.404518187
3178
+ },
3179
+ {
3180
+ "id": "Dq-llW00RzqyylJFKvFmrg",
3181
+ "frames": 9534,
3182
+ "hours": 0.08827777777777777,
3183
+ "monster": "31",
3184
+ "weapon": "0",
3185
+ "npc": "12",
3186
+ "rgb_gb": 0.295466062
3187
+ },
3188
+ {
3189
+ "id": "krayY1GjSIaCKxF1rf6JRQ",
3190
+ "frames": 11552,
3191
+ "hours": 0.10696296296296297,
3192
+ "monster": "31",
3193
+ "weapon": "5",
3194
+ "npc": "4",
3195
+ "rgb_gb": 0.406937405
3196
+ },
3197
+ {
3198
+ "id": "F-EB-gi6TsG6BX5H9Y14FQ",
3199
+ "frames": 11656,
3200
+ "hours": 0.10792592592592593,
3201
+ "monster": "31",
3202
+ "weapon": "6",
3203
+ "npc": "27",
3204
+ "rgb_gb": 0.371993147
3205
+ },
3206
+ {
3207
+ "id": "KXZDdmtfQDer9GEn0-Mumw",
3208
+ "frames": 8087,
3209
+ "hours": 0.07487962962962963,
3210
+ "monster": "31",
3211
+ "weapon": "1",
3212
+ "npc": "25",
3213
+ "rgb_gb": 0.241576261
3214
+ },
3215
+ {
3216
+ "id": "Y5pDklTERruqmJe_D4jRIQ",
3217
+ "frames": 11979,
3218
+ "hours": 0.11091666666666666,
3219
+ "monster": "31",
3220
+ "weapon": "4",
3221
+ "npc": "17",
3222
+ "rgb_gb": 0.347674776
3223
+ },
3224
+ {
3225
+ "id": "9ulvA5tIT4y2BdE8yM04qQ",
3226
+ "frames": 13717,
3227
+ "hours": 0.12700925925925927,
3228
+ "monster": "31",
3229
+ "weapon": "0",
3230
+ "npc": "9",
3231
+ "rgb_gb": 0.427970657
3232
+ },
3233
+ {
3234
+ "id": "zGuWOUjWRsyedxX1vCXw8g",
3235
+ "frames": 7642,
3236
+ "hours": 0.07075925925925926,
3237
+ "monster": "4",
3238
+ "weapon": "5",
3239
+ "npc": "27",
3240
+ "rgb_gb": 0.1861409
3241
+ },
3242
+ {
3243
+ "id": "nCEbJEZ8Q_mm2gXB8IFDbA",
3244
+ "frames": 2287,
3245
+ "hours": 0.021175925925925924,
3246
+ "monster": "4",
3247
+ "weapon": "6",
3248
+ "npc": "4",
3249
+ "rgb_gb": 0.050188524
3250
+ },
3251
+ {
3252
+ "id": "F7Nhc5UvReOB3Myg9pgv5g",
3253
+ "frames": 2533,
3254
+ "hours": 0.023453703703703702,
3255
+ "monster": "4",
3256
+ "weapon": "4",
3257
+ "npc": "12",
3258
+ "rgb_gb": 0.067943853
3259
+ },
3260
+ {
3261
+ "id": "MJkHmOeETOqKrcbrJXkoxg",
3262
+ "frames": 2859,
3263
+ "hours": 0.026472222222222223,
3264
+ "monster": "4",
3265
+ "weapon": "1",
3266
+ "npc": "25",
3267
+ "rgb_gb": 0.074321666
3268
+ },
3269
+ {
3270
+ "id": "4rta9i22SDuluoE8eyL97g",
3271
+ "frames": 5637,
3272
+ "hours": 0.052194444444444446,
3273
+ "monster": "4",
3274
+ "weapon": "0",
3275
+ "npc": "27",
3276
+ "rgb_gb": 0.08954936
3277
+ },
3278
+ {
3279
+ "id": "UO1OJHljSJytGwTCRg6UTA",
3280
+ "frames": 7380,
3281
+ "hours": 0.06833333333333333,
3282
+ "monster": "4",
3283
+ "weapon": "5",
3284
+ "npc": "17",
3285
+ "rgb_gb": 0.208112434
3286
+ },
3287
+ {
3288
+ "id": "8BDJfeIjRH2nzhf-8e5r-Q",
3289
+ "frames": 3714,
3290
+ "hours": 0.034388888888888886,
3291
+ "monster": "4",
3292
+ "weapon": "4",
3293
+ "npc": "9",
3294
+ "rgb_gb": 0.09251239
3295
+ },
3296
+ {
3297
+ "id": "90Cx478hSem1qwyWRTOKaA",
3298
+ "frames": 2699,
3299
+ "hours": 0.02499074074074074,
3300
+ "monster": "4",
3301
+ "weapon": "1",
3302
+ "npc": "4",
3303
+ "rgb_gb": 0.058653229
3304
+ },
3305
+ {
3306
+ "id": "rnEnMfCkSNGrTgi-hcRJjQ",
3307
+ "frames": 3176,
3308
+ "hours": 0.029407407407407406,
3309
+ "monster": "4",
3310
+ "weapon": "6",
3311
+ "npc": "12",
3312
+ "rgb_gb": 0.084664953
3313
+ },
3314
+ {
3315
+ "id": "9ycEKyOvREGjbeLkCBHo9g",
3316
+ "frames": 5070,
3317
+ "hours": 0.04694444444444444,
3318
+ "monster": "4",
3319
+ "weapon": "5",
3320
+ "npc": "25",
3321
+ "rgb_gb": 0.10487951
3322
+ },
3323
+ {
3324
+ "id": "tkStAtBfSEm863KnO7cGXA",
3325
+ "frames": 5976,
3326
+ "hours": 0.05533333333333333,
3327
+ "monster": "4",
3328
+ "weapon": "0",
3329
+ "npc": "9",
3330
+ "rgb_gb": 0.145204539
3331
+ },
3332
+ {
3333
+ "id": "yofvahReSiaLgXa3BbXl6w",
3334
+ "frames": 4435,
3335
+ "hours": 0.04106481481481482,
3336
+ "monster": "4",
3337
+ "weapon": "1",
3338
+ "npc": "17",
3339
+ "rgb_gb": 0.09523735
3340
+ },
3341
+ {
3342
+ "id": "fDmelV7NRkev7tcI8rcpvA",
3343
+ "frames": 5081,
3344
+ "hours": 0.047046296296296294,
3345
+ "monster": "4",
3346
+ "weapon": "6",
3347
+ "npc": "27",
3348
+ "rgb_gb": 0.098965663
3349
+ },
3350
+ {
3351
+ "id": "MchCyyjNSKqVZN8J1N6ISw",
3352
+ "frames": 3077,
3353
+ "hours": 0.02849074074074074,
3354
+ "monster": "4",
3355
+ "weapon": "4",
3356
+ "npc": "12",
3357
+ "rgb_gb": 0.068555126
3358
+ },
3359
+ {
3360
+ "id": "gu67EM4KQtOfNfOlfmPNIQ",
3361
+ "frames": 5208,
3362
+ "hours": 0.04822222222222222,
3363
+ "monster": "4",
3364
+ "weapon": "0",
3365
+ "npc": "25",
3366
+ "rgb_gb": 0.102843706
3367
+ },
3368
+ {
3369
+ "id": "3syXiC3DRL-yDG4KxmonAg",
3370
+ "frames": 5984,
3371
+ "hours": 0.055407407407407405,
3372
+ "monster": "4",
3373
+ "weapon": "5",
3374
+ "npc": "4",
3375
+ "rgb_gb": 0.165174362
3376
+ },
3377
+ {
3378
+ "id": "VouPTxGMRWC0nVekHZnt9w",
3379
+ "frames": 3809,
3380
+ "hours": 0.03526851851851852,
3381
+ "monster": "4",
3382
+ "weapon": "4",
3383
+ "npc": "9",
3384
+ "rgb_gb": 0.095191445
3385
+ },
3386
+ {
3387
+ "id": "PaEmXvynQQu-MxEYhbChQg",
3388
+ "frames": 4490,
3389
+ "hours": 0.041574074074074076,
3390
+ "monster": "4",
3391
+ "weapon": "1",
3392
+ "npc": "17",
3393
+ "rgb_gb": 0.074524817
3394
+ },
3395
+ {
3396
+ "id": "zPBZLOVIQ6KjYgyJcZMX8Q",
3397
+ "frames": 5384,
3398
+ "hours": 0.04985185185185185,
3399
+ "monster": "4",
3400
+ "weapon": "6",
3401
+ "npc": "27",
3402
+ "rgb_gb": 0.086373275
3403
+ },
3404
+ {
3405
+ "id": "hNxQTQB4RZuZxlzMTr4x9A",
3406
+ "frames": 5268,
3407
+ "hours": 0.04877777777777778,
3408
+ "monster": "4",
3409
+ "weapon": "5",
3410
+ "npc": "25",
3411
+ "rgb_gb": 0.102628499
3412
+ },
3413
+ {
3414
+ "id": "tNx9Kx2mQHiyevMcL6r49Q",
3415
+ "frames": 5802,
3416
+ "hours": 0.05372222222222222,
3417
+ "monster": "4",
3418
+ "weapon": "0",
3419
+ "npc": "4",
3420
+ "rgb_gb": 0.111240831
3421
+ },
3422
+ {
3423
+ "id": "97sPxydlTfm3oOmx6fHrjQ",
3424
+ "frames": 3443,
3425
+ "hours": 0.03187962962962963,
3426
+ "monster": "4",
3427
+ "weapon": "6",
3428
+ "npc": "12",
3429
+ "rgb_gb": 0.092684444
3430
+ },
3431
+ {
3432
+ "id": "iax7Ag4LQnm01Bw791eOcA",
3433
+ "frames": 3863,
3434
+ "hours": 0.03576851851851852,
3435
+ "monster": "4",
3436
+ "weapon": "4",
3437
+ "npc": "9",
3438
+ "rgb_gb": 0.101930866
3439
+ },
3440
+ {
3441
+ "id": "I099u1WkTX-_x-1aK_nU2Q",
3442
+ "frames": 5201,
3443
+ "hours": 0.048157407407407406,
3444
+ "monster": "4",
3445
+ "weapon": "1",
3446
+ "npc": "17",
3447
+ "rgb_gb": 0.096248725
3448
+ },
3449
+ {
3450
+ "id": "_7OFdKepTQKYtGHwec7rig",
3451
+ "frames": 6510,
3452
+ "hours": 0.06027777777777778,
3453
+ "monster": "4",
3454
+ "weapon": "0",
3455
+ "npc": "27",
3456
+ "rgb_gb": 0.13876635
3457
+ },
3458
+ {
3459
+ "id": "Pg3R-1suTeyOZvhwD-_Oww",
3460
+ "frames": 6964,
3461
+ "hours": 0.06448148148148149,
3462
+ "monster": "4",
3463
+ "weapon": "5",
3464
+ "npc": "12",
3465
+ "rgb_gb": 0.132644817
3466
+ },
3467
+ {
3468
+ "id": "l5-TVJAzRoKWumRTpugv1Q",
3469
+ "frames": 2991,
3470
+ "hours": 0.027694444444444445,
3471
+ "monster": "4",
3472
+ "weapon": "6",
3473
+ "npc": "4",
3474
+ "rgb_gb": 0.077323155
3475
+ },
3476
+ {
3477
+ "id": "WH_yzBODR8-qjEDj3HydLA",
3478
+ "frames": 3099,
3479
+ "hours": 0.028694444444444446,
3480
+ "monster": "4",
3481
+ "weapon": "4",
3482
+ "npc": "25",
3483
+ "rgb_gb": 0.0699636
3484
+ },
3485
+ {
3486
+ "id": "vEysRVQVQVWdryT8uKhrcw",
3487
+ "frames": 5568,
3488
+ "hours": 0.051555555555555556,
3489
+ "monster": "4",
3490
+ "weapon": "1",
3491
+ "npc": "17",
3492
+ "rgb_gb": 0.103589381
3493
+ },
3494
+ {
3495
+ "id": "gynkvWh3Q3-Pfku5dHYgwg",
3496
+ "frames": 7075,
3497
+ "hours": 0.06550925925925925,
3498
+ "monster": "4",
3499
+ "weapon": "0",
3500
+ "npc": "27",
3501
+ "rgb_gb": 0.194106294
3502
+ },
3503
+ {
3504
+ "id": "hdlig22dSeeq3kJknQziYA",
3505
+ "frames": 7487,
3506
+ "hours": 0.06932407407407408,
3507
+ "monster": "4",
3508
+ "weapon": "5",
3509
+ "npc": "9",
3510
+ "rgb_gb": 0.17782086
3511
+ },
3512
+ {
3513
+ "id": "I8Cc9rluT_a0U2508PgeoA",
3514
+ "frames": 3134,
3515
+ "hours": 0.02901851851851852,
3516
+ "monster": "4",
3517
+ "weapon": "1",
3518
+ "npc": "4",
3519
+ "rgb_gb": 0.059891948
3520
+ },
3521
+ {
3522
+ "id": "HAgbiV-OQDS6ivqOY8Ybaw",
3523
+ "frames": 3885,
3524
+ "hours": 0.035972222222222225,
3525
+ "monster": "4",
3526
+ "weapon": "6",
3527
+ "npc": "25",
3528
+ "rgb_gb": 0.082980497
3529
+ },
3530
+ {
3531
+ "id": "ThXQyrmqRhK4hSoWVb26mw",
3532
+ "frames": 4030,
3533
+ "hours": 0.037314814814814815,
3534
+ "monster": "4",
3535
+ "weapon": "4",
3536
+ "npc": "12",
3537
+ "rgb_gb": 0.0896945
3538
+ },
3539
+ {
3540
+ "id": "rAqrbhl8R1O70Joul6SqiA",
3541
+ "frames": 7196,
3542
+ "hours": 0.06662962962962964,
3543
+ "monster": "4",
3544
+ "weapon": "0",
3545
+ "npc": "17",
3546
+ "rgb_gb": 0.142606604
3547
+ },
3548
+ {
3549
+ "id": "ABoTuZswTbKM2x_oCZtkug",
3550
+ "frames": 7902,
3551
+ "hours": 0.07316666666666667,
3552
+ "monster": "4",
3553
+ "weapon": "5",
3554
+ "npc": "27",
3555
+ "rgb_gb": 0.149314673
3556
+ },
3557
+ {
3558
+ "id": "UaPbZMOZQiS_mqY3KlWNVA",
3559
+ "frames": 4154,
3560
+ "hours": 0.03846296296296296,
3561
+ "monster": "4",
3562
+ "weapon": "4",
3563
+ "npc": "9",
3564
+ "rgb_gb": 0.073703102
3565
+ },
3566
+ {
3567
+ "id": "fEpNRQA2Qmmaj1Pn37-2Jw",
3568
+ "frames": 3150,
3569
+ "hours": 0.029166666666666667,
3570
+ "monster": "4",
3571
+ "weapon": "6",
3572
+ "npc": "4",
3573
+ "rgb_gb": 0.087328875
3574
+ },
3575
+ {
3576
+ "id": "6gxleREvTbGhLkQ5IvuLGw",
3577
+ "frames": 4201,
3578
+ "hours": 0.03889814814814815,
3579
+ "monster": "4",
3580
+ "weapon": "1",
3581
+ "npc": "25",
3582
+ "rgb_gb": 0.08380744
3583
+ },
3584
+ {
3585
+ "id": "b3tpM7MYQ3OZNmu6_EaZrA",
3586
+ "frames": 7370,
3587
+ "hours": 0.06824074074074074,
3588
+ "monster": "4",
3589
+ "weapon": "0",
3590
+ "npc": "27",
3591
+ "rgb_gb": 0.199022169
3592
+ },
3593
+ {
3594
+ "id": "9P14XkG6S9eJxCxbtwTI3w",
3595
+ "frames": 8604,
3596
+ "hours": 0.07966666666666666,
3597
+ "monster": "4",
3598
+ "weapon": "5",
3599
+ "npc": "12",
3600
+ "rgb_gb": 0.184265819
3601
+ },
3602
+ {
3603
+ "id": "h00DdBJDRh6GFVIk24EzGw",
3604
+ "frames": 10863,
3605
+ "hours": 0.10058333333333333,
3606
+ "monster": "5",
3607
+ "weapon": "1",
3608
+ "npc": "17",
3609
+ "rgb_gb": 0.471348156
3610
+ },
3611
+ {
3612
+ "id": "P0o3zqh3Tj6MnTyN-d6kKQ",
3613
+ "frames": 7528,
3614
+ "hours": 0.0697037037037037,
3615
+ "monster": "5",
3616
+ "weapon": "6",
3617
+ "npc": "12",
3618
+ "rgb_gb": 0.300044877
3619
+ },
3620
+ {
3621
+ "id": "ZTQXSHERTVK7PLYfYDtNKA",
3622
+ "frames": 13259,
3623
+ "hours": 0.12276851851851851,
3624
+ "monster": "5",
3625
+ "weapon": "4",
3626
+ "npc": "9",
3627
+ "rgb_gb": 0.498585992
3628
+ },
3629
+ {
3630
+ "id": "yTJAG5ZcQhKSfsP5JkTreA",
3631
+ "frames": 9972,
3632
+ "hours": 0.09233333333333334,
3633
+ "monster": "5",
3634
+ "weapon": "0",
3635
+ "npc": "4",
3636
+ "rgb_gb": 0.374754062
3637
+ },
3638
+ {
3639
+ "id": "UQ2SaqvOQqG4yVGjzD5W-w",
3640
+ "frames": 7596,
3641
+ "hours": 0.07033333333333333,
3642
+ "monster": "5",
3643
+ "weapon": "6",
3644
+ "npc": "25",
3645
+ "rgb_gb": 0.326088308
3646
+ },
3647
+ {
3648
+ "id": "ada8BRTaTUKRAejbUg3BAA",
3649
+ "frames": 13588,
3650
+ "hours": 0.12581481481481482,
3651
+ "monster": "5",
3652
+ "weapon": "5",
3653
+ "npc": "27",
3654
+ "rgb_gb": 0.535677185
3655
+ },
3656
+ {
3657
+ "id": "WE-vK_LESlypnPfWn67bfw",
3658
+ "frames": 13261,
3659
+ "hours": 0.12278703703703704,
3660
+ "monster": "5",
3661
+ "weapon": "1",
3662
+ "npc": "17",
3663
+ "rgb_gb": 0.556714462
3664
+ },
3665
+ {
3666
+ "id": "0aLd1cOXSnav2_myiBvXCg",
3667
+ "frames": 13628,
3668
+ "hours": 0.12618518518518518,
3669
+ "monster": "5",
3670
+ "weapon": "4",
3671
+ "npc": "9",
3672
+ "rgb_gb": 0.571716429
3673
+ },
3674
+ {
3675
+ "id": "ugDWgW7IQzCw_zhAJjY6fg",
3676
+ "frames": 10995,
3677
+ "hours": 0.10180555555555555,
3678
+ "monster": "5",
3679
+ "weapon": "0",
3680
+ "npc": "12",
3681
+ "rgb_gb": 0.401172937
3682
+ },
3683
+ {
3684
+ "id": "LDgbJVYeTIuEQfRKalWTDQ",
3685
+ "frames": 8276,
3686
+ "hours": 0.07662962962962963,
3687
+ "monster": "5",
3688
+ "weapon": "6",
3689
+ "npc": "4",
3690
+ "rgb_gb": 0.334194017
3691
+ },
3692
+ {
3693
+ "id": "YAMMZcFdS-KAGn4mazPQcg",
3694
+ "frames": 8595,
3695
+ "hours": 0.07958333333333334,
3696
+ "monster": "5",
3697
+ "weapon": "1",
3698
+ "npc": "25",
3699
+ "rgb_gb": 0.34953641
3700
+ },
3701
+ {
3702
+ "id": "H2HTkIC5Q8ShTGDDAutBHQ",
3703
+ "frames": 12426,
3704
+ "hours": 0.11505555555555555,
3705
+ "monster": "5",
3706
+ "weapon": "0",
3707
+ "npc": "27",
3708
+ "rgb_gb": 0.52446724
3709
+ },
3710
+ {
3711
+ "id": "VXr2xUDwQqiZwfYQHqkKMQ",
3712
+ "frames": 17872,
3713
+ "hours": 0.16548148148148148,
3714
+ "monster": "5",
3715
+ "weapon": "5",
3716
+ "npc": "17",
3717
+ "rgb_gb": 0.801392746
3718
+ },
3719
+ {
3720
+ "id": "YHkmIcMEQpeHKSseU0FN2Q",
3721
+ "frames": 9391,
3722
+ "hours": 0.0869537037037037,
3723
+ "monster": "5",
3724
+ "weapon": "4",
3725
+ "npc": "4",
3726
+ "rgb_gb": 0.38111025
3727
+ },
3728
+ {
3729
+ "id": "D4s_kYsEQ8GUL2USR8Cp1w",
3730
+ "frames": 13522,
3731
+ "hours": 0.1252037037037037,
3732
+ "monster": "5",
3733
+ "weapon": "6",
3734
+ "npc": "9",
3735
+ "rgb_gb": 0.494211027
3736
+ },
3737
+ {
3738
+ "id": "Yk_J1YGtRWyvpuGJjI6aRw",
3739
+ "frames": 8309,
3740
+ "hours": 0.07693518518518519,
3741
+ "monster": "5",
3742
+ "weapon": "1",
3743
+ "npc": "12",
3744
+ "rgb_gb": 0.336795732
3745
+ },
3746
+ {
3747
+ "id": "Fetmyr7kRUiqGCX2BFOBtA",
3748
+ "frames": 14611,
3749
+ "hours": 0.13528703703703704,
3750
+ "monster": "5",
3751
+ "weapon": "5",
3752
+ "npc": "25",
3753
+ "rgb_gb": 0.50089085
3754
+ },
3755
+ {
3756
+ "id": "0qRwM4pxTpm_RQHY1UuLHg",
3757
+ "frames": 12681,
3758
+ "hours": 0.11741666666666667,
3759
+ "monster": "5",
3760
+ "weapon": "0",
3761
+ "npc": "27",
3762
+ "rgb_gb": 0.483913885
3763
+ },
3764
+ {
3765
+ "id": "OoCpk85eR2-xclQDliL9Pg",
3766
+ "frames": 10200,
3767
+ "hours": 0.09444444444444444,
3768
+ "monster": "6",
3769
+ "weapon": "4",
3770
+ "npc": "9",
3771
+ "rgb_gb": 0.432797056
3772
+ },
3773
+ {
3774
+ "id": "sOl3AkyMRPKYIfqtxAcZbQ",
3775
+ "frames": 13651,
3776
+ "hours": 0.12639814814814815,
3777
+ "monster": "6",
3778
+ "weapon": "5",
3779
+ "npc": "17",
3780
+ "rgb_gb": 0.699276772
3781
+ },
3782
+ {
3783
+ "id": "fpSgxo2ITOOLOOR8YnVU0Q",
3784
+ "frames": 6249,
3785
+ "hours": 0.05786111111111111,
3786
+ "monster": "6",
3787
+ "weapon": "6",
3788
+ "npc": "4",
3789
+ "rgb_gb": 0.292508792
3790
+ },
3791
+ {
3792
+ "id": "Sjzj-5owTbWRC8xIM8zuHQ",
3793
+ "frames": 7140,
3794
+ "hours": 0.0661111111111111,
3795
+ "monster": "6",
3796
+ "weapon": "1",
3797
+ "npc": "25",
3798
+ "rgb_gb": 0.308378852
3799
+ },
3800
+ {
3801
+ "id": "8k7QL3U4Sd2zqHG0wP4ukA",
3802
+ "frames": 10250,
3803
+ "hours": 0.09490740740740741,
3804
+ "monster": "6",
3805
+ "weapon": "4",
3806
+ "npc": "17",
3807
+ "rgb_gb": 0.453560256
3808
+ },
3809
+ {
3810
+ "id": "Grv1HtOUQsCtolVY-zsV-g",
3811
+ "frames": 10415,
3812
+ "hours": 0.09643518518518518,
3813
+ "monster": "6",
3814
+ "weapon": "0",
3815
+ "npc": "12",
3816
+ "rgb_gb": 0.425607087
3817
+ },
3818
+ {
3819
+ "id": "zKM3DWYBQNO5vooJ9K4LlA",
3820
+ "frames": 9644,
3821
+ "hours": 0.08929629629629629,
3822
+ "monster": "6",
3823
+ "weapon": "6",
3824
+ "npc": "27",
3825
+ "rgb_gb": 0.430102362
3826
+ },
3827
+ {
3828
+ "id": "rzjRWMyKQkuoTx6wx5LzGA",
3829
+ "frames": 10121,
3830
+ "hours": 0.09371296296296296,
3831
+ "monster": "6",
3832
+ "weapon": "5",
3833
+ "npc": "4",
3834
+ "rgb_gb": 0.483877591
3835
+ },
3836
+ {
3837
+ "id": "XsY1sLvqTzu-g6kRdc3Wjw",
3838
+ "frames": 10884,
3839
+ "hours": 0.10077777777777777,
3840
+ "monster": "6",
3841
+ "weapon": "4",
3842
+ "npc": "9",
3843
+ "rgb_gb": 0.566247338
3844
+ },
3845
+ {
3846
+ "id": "levFk-TmS3ilyaC51c9AUQ",
3847
+ "frames": 7279,
3848
+ "hours": 0.06739814814814815,
3849
+ "monster": "6",
3850
+ "weapon": "1",
3851
+ "npc": "25",
3852
+ "rgb_gb": 0.322784002
3853
+ },
3854
+ {
3855
+ "id": "kGs2S2ATRueRdnCTS239Ww",
3856
+ "frames": 10565,
3857
+ "hours": 0.09782407407407408,
3858
+ "monster": "6",
3859
+ "weapon": "0",
3860
+ "npc": "17",
3861
+ "rgb_gb": 0.566097263
3862
+ },
3863
+ {
3864
+ "id": "FnW5JiKYRXWJylgdApzkLw",
3865
+ "frames": 7377,
3866
+ "hours": 0.06830555555555555,
3867
+ "monster": "6",
3868
+ "weapon": "1",
3869
+ "npc": "12",
3870
+ "rgb_gb": 0.265236311
3871
+ },
3872
+ {
3873
+ "id": "AVF56Y7MQ-S_89WCjxi-fw",
3874
+ "frames": 10073,
3875
+ "hours": 0.09326851851851851,
3876
+ "monster": "6",
3877
+ "weapon": "6",
3878
+ "npc": "9",
3879
+ "rgb_gb": 0.445968635
3880
+ },
3881
+ {
3882
+ "id": "fpjO58SlRHyX62dQI2hKow",
3883
+ "frames": 10280,
3884
+ "hours": 0.09518518518518519,
3885
+ "monster": "6",
3886
+ "weapon": "5",
3887
+ "npc": "4",
3888
+ "rgb_gb": 0.477034949
3889
+ },
3890
+ {
3891
+ "id": "dZRWXdTiR9GWPY1CCDRenA",
3892
+ "frames": 11125,
3893
+ "hours": 0.10300925925925926,
3894
+ "monster": "6",
3895
+ "weapon": "0",
3896
+ "npc": "27",
3897
+ "rgb_gb": 0.446658393
3898
+ },
3899
+ {
3900
+ "id": "7jxE7jGOQAOYt-YSPsvKog",
3901
+ "frames": 8972,
3902
+ "hours": 0.08307407407407408,
3903
+ "monster": "6",
3904
+ "weapon": "4",
3905
+ "npc": "25",
3906
+ "rgb_gb": 0.420924597
3907
+ },
3908
+ {
3909
+ "id": "ksqWSXLVRe2LpkB9SUQrig",
3910
+ "frames": 7522,
3911
+ "hours": 0.06964814814814815,
3912
+ "monster": "6",
3913
+ "weapon": "6",
3914
+ "npc": "12",
3915
+ "rgb_gb": 0.307848992
3916
+ },
3917
+ {
3918
+ "id": "RBDH1rG3QlisHCihVUdM8g",
3919
+ "frames": 14574,
3920
+ "hours": 0.13494444444444445,
3921
+ "monster": "6",
3922
+ "weapon": "5",
3923
+ "npc": "17",
3924
+ "rgb_gb": 0.741525792
3925
+ },
3926
+ {
3927
+ "id": "OMv8VgcgRkKEFsxqczZ9vg",
3928
+ "frames": 11374,
3929
+ "hours": 0.10531481481481482,
3930
+ "monster": "6",
3931
+ "weapon": "4",
3932
+ "npc": "9",
3933
+ "rgb_gb": 0.480224124
3934
+ },
3935
+ {
3936
+ "id": "drJjPMLXQoS26nyGT6rb7A",
3937
+ "frames": 6536,
3938
+ "hours": 0.06051851851851852,
3939
+ "monster": "6",
3940
+ "weapon": "1",
3941
+ "npc": "4",
3942
+ "rgb_gb": 0.27948919
3943
+ },
3944
+ {
3945
+ "id": "CQlsO4gtQZmwL-poMCTH1w",
3946
+ "frames": 12290,
3947
+ "hours": 0.1137962962962963,
3948
+ "monster": "6",
3949
+ "weapon": "0",
3950
+ "npc": "27",
3951
+ "rgb_gb": 0.557030492
3952
+ },
3953
+ {
3954
+ "id": "4uWXoYYqQCminCteBIAw7A",
3955
+ "frames": 10065,
3956
+ "hours": 0.09319444444444444,
3957
+ "monster": "7",
3958
+ "weapon": "5",
3959
+ "npc": "25",
3960
+ "rgb_gb": 0.217130436
3961
+ },
3962
+ {
3963
+ "id": "K5G_VopiRBOG3-QopEk3Aw",
3964
+ "frames": 6418,
3965
+ "hours": 0.059425925925925924,
3966
+ "monster": "7",
3967
+ "weapon": "1",
3968
+ "npc": "12",
3969
+ "rgb_gb": 0.159249244
3970
+ },
3971
+ {
3972
+ "id": "zbX7XMC7SZWmXvVKjL0hGQ",
3973
+ "frames": 9172,
3974
+ "hours": 0.08492592592592593,
3975
+ "monster": "7",
3976
+ "weapon": "4",
3977
+ "npc": "9",
3978
+ "rgb_gb": 0.210531771
3979
+ },
3980
+ {
3981
+ "id": "gX0Cay6IQ3qRleTxTAEYcA",
3982
+ "frames": 4487,
3983
+ "hours": 0.041546296296296296,
3984
+ "monster": "7",
3985
+ "weapon": "6",
3986
+ "npc": "4",
3987
+ "rgb_gb": 0.083475575
3988
+ },
3989
+ {
3990
+ "id": "hi6tfy-hSYe6og5RhLCIOw",
3991
+ "frames": 14750,
3992
+ "hours": 0.13657407407407407,
3993
+ "monster": "7",
3994
+ "weapon": "0",
3995
+ "npc": "17",
3996
+ "rgb_gb": 0.249535904
3997
+ },
3998
+ {
3999
+ "id": "xZCvC0Q2SJi2kEtJStoPrw",
4000
+ "frames": 16125,
4001
+ "hours": 0.14930555555555555,
4002
+ "monster": "7",
4003
+ "weapon": "5",
4004
+ "npc": "27",
4005
+ "rgb_gb": 0.322562235
4006
+ },
4007
+ {
4008
+ "id": "9JHCOkMoS9iA8NNjBdUYig",
4009
+ "frames": 7205,
4010
+ "hours": 0.06671296296296296,
4011
+ "monster": "7",
4012
+ "weapon": "1",
4013
+ "npc": "25",
4014
+ "rgb_gb": 0.167681398
4015
+ },
4016
+ {
4017
+ "id": "j1NCBOiGQqiZnrglEOni8Q",
4018
+ "frames": 8184,
4019
+ "hours": 0.07577777777777778,
4020
+ "monster": "7",
4021
+ "weapon": "6",
4022
+ "npc": "12",
4023
+ "rgb_gb": 0.110569005
4024
+ },
4025
+ {
4026
+ "id": "ZIcg35euQC2PKfVrcuuI4w",
4027
+ "frames": 10018,
4028
+ "hours": 0.09275925925925926,
4029
+ "monster": "7",
4030
+ "weapon": "4",
4031
+ "npc": "9",
4032
+ "rgb_gb": 0.189016237
4033
+ },
4034
+ {
4035
+ "id": "A13gxQ_rSdOvWzPsP98kIg",
4036
+ "frames": 14760,
4037
+ "hours": 0.13666666666666666,
4038
+ "monster": "7",
4039
+ "weapon": "0",
4040
+ "npc": "27",
4041
+ "rgb_gb": 0.319054579
4042
+ },
4043
+ {
4044
+ "id": "vhR6ameXTFedi3ga_0Ttbw",
4045
+ "frames": 4670,
4046
+ "hours": 0.04324074074074074,
4047
+ "monster": "7",
4048
+ "weapon": "6",
4049
+ "npc": "4",
4050
+ "rgb_gb": 0.081372599
4051
+ },
4052
+ {
4053
+ "id": "M6EQojkaQga6DdQQEx1kcQ",
4054
+ "frames": 15930,
4055
+ "hours": 0.1475,
4056
+ "monster": "7",
4057
+ "weapon": "5",
4058
+ "npc": "17",
4059
+ "rgb_gb": 0.340206464
4060
+ },
4061
+ {
4062
+ "id": "lQPh0RYZTg2MPW9RDWLSqA",
4063
+ "frames": 7583,
4064
+ "hours": 0.07021296296296296,
4065
+ "monster": "7",
4066
+ "weapon": "1",
4067
+ "npc": "25",
4068
+ "rgb_gb": 0.108714659
4069
+ },
4070
+ {
4071
+ "id": "06P3JUbzRw6qCqVihhMRIA",
4072
+ "frames": 8812,
4073
+ "hours": 0.08159259259259259,
4074
+ "monster": "7",
4075
+ "weapon": "4",
4076
+ "npc": "12",
4077
+ "rgb_gb": 0.149176742
4078
+ },
4079
+ {
4080
+ "id": "iflfut9DSb2zxIB4hqDyZg",
4081
+ "frames": 13091,
4082
+ "hours": 0.12121296296296297,
4083
+ "monster": "7",
4084
+ "weapon": "0",
4085
+ "npc": "9",
4086
+ "rgb_gb": 0.226991295
4087
+ },
4088
+ {
4089
+ "id": "MjpF_V89TL-YJF2KV8gdFg",
4090
+ "frames": 11174,
4091
+ "hours": 0.10346296296296296,
4092
+ "monster": "7",
4093
+ "weapon": "6",
4094
+ "npc": "17",
4095
+ "rgb_gb": 0.164149663
4096
+ },
4097
+ {
4098
+ "id": "MRRzymirTh-DUmsRpLVvJg",
4099
+ "frames": 11354,
4100
+ "hours": 0.10512962962962963,
4101
+ "monster": "7",
4102
+ "weapon": "5",
4103
+ "npc": "25",
4104
+ "rgb_gb": 0.245303448
4105
+ },
4106
+ {
4107
+ "id": "fhfHrMB0RoKivuqebowThw",
4108
+ "frames": 6171,
4109
+ "hours": 0.05713888888888889,
4110
+ "monster": "7",
4111
+ "weapon": "4",
4112
+ "npc": "4",
4113
+ "rgb_gb": 0.091423315
4114
+ },
4115
+ {
4116
+ "id": "rz1gjbWfRu-xvyT52oCmfA",
4117
+ "frames": 7710,
4118
+ "hours": 0.07138888888888889,
4119
+ "monster": "7",
4120
+ "weapon": "1",
4121
+ "npc": "12",
4122
+ "rgb_gb": 0.168835224
4123
+ },
4124
+ {
4125
+ "id": "s-hnYlPFTTSu011DqNThHg",
4126
+ "frames": 15374,
4127
+ "hours": 0.14235185185185184,
4128
+ "monster": "7",
4129
+ "weapon": "0",
4130
+ "npc": "27",
4131
+ "rgb_gb": 0.311592685
4132
+ },
4133
+ {
4134
+ "id": "V3xXEED-RziKQtaro4-8ww",
4135
+ "frames": 9077,
4136
+ "hours": 0.0840462962962963,
4137
+ "monster": "9",
4138
+ "weapon": "5",
4139
+ "npc": "17",
4140
+ "rgb_gb": 0.361362592
4141
+ },
4142
+ {
4143
+ "id": "BBRN_2O7Q6OHXZfcQ6MVNQ",
4144
+ "frames": 8213,
4145
+ "hours": 0.07604629629629629,
4146
+ "monster": "9",
4147
+ "weapon": "4",
4148
+ "npc": "9",
4149
+ "rgb_gb": 0.235424441
4150
+ },
4151
+ {
4152
+ "id": "On7nWNgmSW6hZhK8DTLpBA",
4153
+ "frames": 8992,
4154
+ "hours": 0.08325925925925926,
4155
+ "monster": "9",
4156
+ "weapon": "6",
4157
+ "npc": "27",
4158
+ "rgb_gb": 0.301318472
4159
+ },
4160
+ {
4161
+ "id": "5eHfqcQuRwSXTDvjsT5OLQ",
4162
+ "frames": 7101,
4163
+ "hours": 0.06575,
4164
+ "monster": "9",
4165
+ "weapon": "1",
4166
+ "npc": "4",
4167
+ "rgb_gb": 0.24613429
4168
+ },
4169
+ {
4170
+ "id": "YChLKMEdQ3OUuLG3j18AEg",
4171
+ "frames": 8202,
4172
+ "hours": 0.07594444444444444,
4173
+ "monster": "9",
4174
+ "weapon": "5",
4175
+ "npc": "25",
4176
+ "rgb_gb": 0.243076942
4177
+ },
4178
+ {
4179
+ "id": "2K8JRQ8LQmme928bLtSl-g",
4180
+ "frames": 9151,
4181
+ "hours": 0.08473148148148148,
4182
+ "monster": "9",
4183
+ "weapon": "0",
4184
+ "npc": "27",
4185
+ "rgb_gb": 0.216346888
4186
+ },
4187
+ {
4188
+ "id": "rD3ZSBKeTAiFV7CpwWmuYA",
4189
+ "frames": 7561,
4190
+ "hours": 0.07000925925925926,
4191
+ "monster": "9",
4192
+ "weapon": "1",
4193
+ "npc": "12",
4194
+ "rgb_gb": 0.260374524
4195
+ },
4196
+ {
4197
+ "id": "Ze3se9sJSs-XhfO-xP0oBg",
4198
+ "frames": 8070,
4199
+ "hours": 0.07472222222222222,
4200
+ "monster": "9",
4201
+ "weapon": "4",
4202
+ "npc": "17",
4203
+ "rgb_gb": 0.271541174
4204
+ },
4205
+ {
4206
+ "id": "gNBPXuOwR32S6Hb_s0vhhw",
4207
+ "frames": 9714,
4208
+ "hours": 0.08994444444444444,
4209
+ "monster": "9",
4210
+ "weapon": "6",
4211
+ "npc": "9",
4212
+ "rgb_gb": 0.374043136
4213
+ },
4214
+ {
4215
+ "id": "Xo1NNpZeQXaR7XchEOldnA",
4216
+ "frames": 7187,
4217
+ "hours": 0.0665462962962963,
4218
+ "monster": "9",
4219
+ "weapon": "5",
4220
+ "npc": "4",
4221
+ "rgb_gb": 0.254956946
4222
+ },
4223
+ {
4224
+ "id": "C6vBRT24TmO77B85pWQSlQ",
4225
+ "frames": 8717,
4226
+ "hours": 0.08071296296296296,
4227
+ "monster": "9",
4228
+ "weapon": "0",
4229
+ "npc": "25",
4230
+ "rgb_gb": 0.24778825
4231
+ },
4232
+ {
4233
+ "id": "TLW9r1bQRImOYhOKdK2mpA",
4234
+ "frames": 7969,
4235
+ "hours": 0.07378703703703704,
4236
+ "monster": "9",
4237
+ "weapon": "1",
4238
+ "npc": "17",
4239
+ "rgb_gb": 0.263065863
4240
+ },
4241
+ {
4242
+ "id": "GAnAHVNwTHa4QOgiOPDhag",
4243
+ "frames": 8339,
4244
+ "hours": 0.07721296296296297,
4245
+ "monster": "9",
4246
+ "weapon": "4",
4247
+ "npc": "9",
4248
+ "rgb_gb": 0.282933097
4249
+ },
4250
+ {
4251
+ "id": "PEAtI2zBRz-J1vG0cKiZTQ",
4252
+ "frames": 9322,
4253
+ "hours": 0.08631481481481482,
4254
+ "monster": "9",
4255
+ "weapon": "5",
4256
+ "npc": "12",
4257
+ "rgb_gb": 0.271868571
4258
+ },
4259
+ {
4260
+ "id": "5Mcr571kRuq6gMCIWOnqJw",
4261
+ "frames": 9368,
4262
+ "hours": 0.08674074074074074,
4263
+ "monster": "9",
4264
+ "weapon": "0",
4265
+ "npc": "27",
4266
+ "rgb_gb": 0.270691096
4267
+ },
4268
+ {
4269
+ "id": "4y80rVAKQVG2Vxp9LWAQ_g",
4270
+ "frames": 6449,
4271
+ "hours": 0.05971296296296296,
4272
+ "monster": "9",
4273
+ "weapon": "6",
4274
+ "npc": "4",
4275
+ "rgb_gb": 0.240186083
4276
+ },
4277
+ {
4278
+ "id": "oB76DXYwQ5aPqzMVNkULJw",
4279
+ "frames": 5195,
4280
+ "hours": 0.048101851851851854,
4281
+ "monster": "9",
4282
+ "weapon": "4",
4283
+ "npc": "25",
4284
+ "rgb_gb": 0.138500278
4285
+ },
4286
+ {
4287
+ "id": "5MHjP09AR5K3q8o_xWRLYg",
4288
+ "frames": 8629,
4289
+ "hours": 0.07989814814814815,
4290
+ "monster": "9",
4291
+ "weapon": "1",
4292
+ "npc": "17",
4293
+ "rgb_gb": 0.318784101
4294
+ },
4295
+ {
4296
+ "id": "KQ5NOcpET6arIWpu9E3yCQ",
4297
+ "frames": 10462,
4298
+ "hours": 0.09687037037037037,
4299
+ "monster": "9",
4300
+ "weapon": "6",
4301
+ "npc": "27",
4302
+ "rgb_gb": 0.284872791
4303
+ },
4304
+ {
4305
+ "id": "k7vMDTvAReGT-msoQBSZSQ",
4306
+ "frames": 10822,
4307
+ "hours": 0.1002037037037037,
4308
+ "monster": "9",
4309
+ "weapon": "0",
4310
+ "npc": "12",
4311
+ "rgb_gb": 0.26186422
4312
+ },
4313
+ {
4314
+ "id": "s-Uyz2nyT4CUuvTiSnyMYQ",
4315
+ "frames": 13492,
4316
+ "hours": 0.12492592592592593,
4317
+ "monster": "9",
4318
+ "weapon": "5",
4319
+ "npc": "9",
4320
+ "rgb_gb": 0.427236939
4321
+ },
4322
+ {
4323
+ "id": "--bxDUWNRsStQq83r2obuA",
4324
+ "frames": 5889,
4325
+ "hours": 0.05452777777777778,
4326
+ "monster": "9",
4327
+ "weapon": "4",
4328
+ "npc": "4",
4329
+ "rgb_gb": 0.192122255
4330
+ },
4331
+ {
4332
+ "id": "kV2Ce5q-QAiWpoP2zjmYhg",
4333
+ "frames": 7248,
4334
+ "hours": 0.06711111111111111,
4335
+ "monster": "9",
4336
+ "weapon": "1",
4337
+ "npc": "25",
4338
+ "rgb_gb": 0.246979881
4339
+ },
4340
+ {
4341
+ "id": "L4choVvgTsy5HxnZ2phOlA",
4342
+ "frames": 8836,
4343
+ "hours": 0.08181481481481481,
4344
+ "monster": "9",
4345
+ "weapon": "6",
4346
+ "npc": "17",
4347
+ "rgb_gb": 0.280999104
4348
+ }
4349
+ ]
ww_index/skeleton_edges.json ADDED
@@ -0,0 +1,7956 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "em_0": [
3
+ [
4
+ 0,
5
+ 23
6
+ ],
7
+ [
8
+ 0,
9
+ 28
10
+ ],
11
+ [
12
+ 0,
13
+ 51
14
+ ],
15
+ [
16
+ 1,
17
+ 3
18
+ ],
19
+ [
20
+ 1,
21
+ 5
22
+ ],
23
+ [
24
+ 1,
25
+ 33
26
+ ],
27
+ [
28
+ 2,
29
+ 18
30
+ ],
31
+ [
32
+ 2,
33
+ 46
34
+ ],
35
+ [
36
+ 2,
37
+ 57
38
+ ],
39
+ [
40
+ 2,
41
+ 59
42
+ ],
43
+ [
44
+ 5,
45
+ 4
46
+ ],
47
+ [
48
+ 6,
49
+ 7
50
+ ],
51
+ [
52
+ 7,
53
+ 8
54
+ ],
55
+ [
56
+ 8,
57
+ 10
58
+ ],
59
+ [
60
+ 8,
61
+ 20
62
+ ],
63
+ [
64
+ 9,
65
+ 13
66
+ ],
67
+ [
68
+ 9,
69
+ 24
70
+ ],
71
+ [
72
+ 10,
73
+ 11
74
+ ],
75
+ [
76
+ 11,
77
+ 12
78
+ ],
79
+ [
80
+ 13,
81
+ 14
82
+ ],
83
+ [
84
+ 14,
85
+ 15
86
+ ],
87
+ [
88
+ 15,
89
+ 16
90
+ ],
91
+ [
92
+ 17,
93
+ 6
94
+ ],
95
+ [
96
+ 18,
97
+ 19
98
+ ],
99
+ [
100
+ 19,
101
+ 17
102
+ ],
103
+ [
104
+ 20,
105
+ 21
106
+ ],
107
+ [
108
+ 21,
109
+ 22
110
+ ],
111
+ [
112
+ 23,
113
+ 26
114
+ ],
115
+ [
116
+ 25,
117
+ 9
118
+ ],
119
+ [
120
+ 26,
121
+ 27
122
+ ],
123
+ [
124
+ 27,
125
+ 25
126
+ ],
127
+ [
128
+ 28,
129
+ 29
130
+ ],
131
+ [
132
+ 29,
133
+ 30
134
+ ],
135
+ [
136
+ 30,
137
+ 31
138
+ ],
139
+ [
140
+ 31,
141
+ 1
142
+ ],
143
+ [
144
+ 33,
145
+ 32
146
+ ],
147
+ [
148
+ 34,
149
+ 35
150
+ ],
151
+ [
152
+ 35,
153
+ 36
154
+ ],
155
+ [
156
+ 36,
157
+ 38
158
+ ],
159
+ [
160
+ 36,
161
+ 48
162
+ ],
163
+ [
164
+ 37,
165
+ 41
166
+ ],
167
+ [
168
+ 37,
169
+ 52
170
+ ],
171
+ [
172
+ 38,
173
+ 39
174
+ ],
175
+ [
176
+ 39,
177
+ 40
178
+ ],
179
+ [
180
+ 41,
181
+ 42
182
+ ],
183
+ [
184
+ 42,
185
+ 43
186
+ ],
187
+ [
188
+ 43,
189
+ 44
190
+ ],
191
+ [
192
+ 45,
193
+ 34
194
+ ],
195
+ [
196
+ 46,
197
+ 47
198
+ ],
199
+ [
200
+ 47,
201
+ 45
202
+ ],
203
+ [
204
+ 48,
205
+ 49
206
+ ],
207
+ [
208
+ 49,
209
+ 50
210
+ ],
211
+ [
212
+ 51,
213
+ 54
214
+ ],
215
+ [
216
+ 53,
217
+ 37
218
+ ],
219
+ [
220
+ 54,
221
+ 55
222
+ ],
223
+ [
224
+ 55,
225
+ 53
226
+ ],
227
+ [
228
+ 56,
229
+ 2
230
+ ],
231
+ [
232
+ 57,
233
+ 58
234
+ ],
235
+ [
236
+ 58,
237
+ 0
238
+ ],
239
+ [
240
+ 59,
241
+ 60
242
+ ],
243
+ [
244
+ 60,
245
+ 61
246
+ ],
247
+ [
248
+ 61,
249
+ 62
250
+ ],
251
+ [
252
+ 62,
253
+ 63
254
+ ],
255
+ [
256
+ 63,
257
+ 64
258
+ ],
259
+ [
260
+ 64,
261
+ 65
262
+ ],
263
+ [
264
+ 65,
265
+ 66
266
+ ]
267
+ ],
268
+ "em_1": [
269
+ [
270
+ 0,
271
+ 23
272
+ ],
273
+ [
274
+ 0,
275
+ 28
276
+ ],
277
+ [
278
+ 0,
279
+ 51
280
+ ],
281
+ [
282
+ 1,
283
+ 3
284
+ ],
285
+ [
286
+ 1,
287
+ 5
288
+ ],
289
+ [
290
+ 1,
291
+ 33
292
+ ],
293
+ [
294
+ 2,
295
+ 18
296
+ ],
297
+ [
298
+ 2,
299
+ 46
300
+ ],
301
+ [
302
+ 2,
303
+ 57
304
+ ],
305
+ [
306
+ 2,
307
+ 59
308
+ ],
309
+ [
310
+ 5,
311
+ 4
312
+ ],
313
+ [
314
+ 6,
315
+ 7
316
+ ],
317
+ [
318
+ 7,
319
+ 8
320
+ ],
321
+ [
322
+ 8,
323
+ 10
324
+ ],
325
+ [
326
+ 8,
327
+ 20
328
+ ],
329
+ [
330
+ 9,
331
+ 13
332
+ ],
333
+ [
334
+ 9,
335
+ 24
336
+ ],
337
+ [
338
+ 10,
339
+ 11
340
+ ],
341
+ [
342
+ 11,
343
+ 12
344
+ ],
345
+ [
346
+ 13,
347
+ 14
348
+ ],
349
+ [
350
+ 14,
351
+ 15
352
+ ],
353
+ [
354
+ 15,
355
+ 16
356
+ ],
357
+ [
358
+ 17,
359
+ 6
360
+ ],
361
+ [
362
+ 18,
363
+ 19
364
+ ],
365
+ [
366
+ 19,
367
+ 17
368
+ ],
369
+ [
370
+ 20,
371
+ 21
372
+ ],
373
+ [
374
+ 21,
375
+ 22
376
+ ],
377
+ [
378
+ 23,
379
+ 26
380
+ ],
381
+ [
382
+ 25,
383
+ 9
384
+ ],
385
+ [
386
+ 26,
387
+ 27
388
+ ],
389
+ [
390
+ 27,
391
+ 25
392
+ ],
393
+ [
394
+ 28,
395
+ 29
396
+ ],
397
+ [
398
+ 29,
399
+ 30
400
+ ],
401
+ [
402
+ 30,
403
+ 31
404
+ ],
405
+ [
406
+ 31,
407
+ 1
408
+ ],
409
+ [
410
+ 33,
411
+ 32
412
+ ],
413
+ [
414
+ 34,
415
+ 35
416
+ ],
417
+ [
418
+ 35,
419
+ 36
420
+ ],
421
+ [
422
+ 36,
423
+ 38
424
+ ],
425
+ [
426
+ 36,
427
+ 48
428
+ ],
429
+ [
430
+ 37,
431
+ 41
432
+ ],
433
+ [
434
+ 37,
435
+ 52
436
+ ],
437
+ [
438
+ 38,
439
+ 39
440
+ ],
441
+ [
442
+ 39,
443
+ 40
444
+ ],
445
+ [
446
+ 41,
447
+ 42
448
+ ],
449
+ [
450
+ 42,
451
+ 43
452
+ ],
453
+ [
454
+ 43,
455
+ 44
456
+ ],
457
+ [
458
+ 45,
459
+ 34
460
+ ],
461
+ [
462
+ 46,
463
+ 47
464
+ ],
465
+ [
466
+ 47,
467
+ 45
468
+ ],
469
+ [
470
+ 48,
471
+ 49
472
+ ],
473
+ [
474
+ 49,
475
+ 50
476
+ ],
477
+ [
478
+ 51,
479
+ 54
480
+ ],
481
+ [
482
+ 53,
483
+ 37
484
+ ],
485
+ [
486
+ 54,
487
+ 55
488
+ ],
489
+ [
490
+ 55,
491
+ 53
492
+ ],
493
+ [
494
+ 56,
495
+ 2
496
+ ],
497
+ [
498
+ 57,
499
+ 58
500
+ ],
501
+ [
502
+ 58,
503
+ 0
504
+ ],
505
+ [
506
+ 59,
507
+ 60
508
+ ],
509
+ [
510
+ 60,
511
+ 61
512
+ ],
513
+ [
514
+ 61,
515
+ 62
516
+ ],
517
+ [
518
+ 62,
519
+ 63
520
+ ],
521
+ [
522
+ 63,
523
+ 64
524
+ ],
525
+ [
526
+ 64,
527
+ 65
528
+ ],
529
+ [
530
+ 65,
531
+ 66
532
+ ]
533
+ ],
534
+ "em_10": [
535
+ [
536
+ 0,
537
+ 28
538
+ ],
539
+ [
540
+ 0,
541
+ 29
542
+ ],
543
+ [
544
+ 0,
545
+ 38
546
+ ],
547
+ [
548
+ 0,
549
+ 64
550
+ ],
551
+ [
552
+ 0,
553
+ 65
554
+ ],
555
+ [
556
+ 1,
557
+ 4
558
+ ],
559
+ [
560
+ 1,
561
+ 5
562
+ ],
563
+ [
564
+ 1,
565
+ 41
566
+ ],
567
+ [
568
+ 2,
569
+ 24
570
+ ],
571
+ [
572
+ 2,
573
+ 60
574
+ ],
575
+ [
576
+ 2,
577
+ 75
578
+ ],
579
+ [
580
+ 2,
581
+ 77
582
+ ],
583
+ [
584
+ 4,
585
+ 3
586
+ ],
587
+ [
588
+ 6,
589
+ 11
590
+ ],
591
+ [
592
+ 7,
593
+ 8
594
+ ],
595
+ [
596
+ 8,
597
+ 6
598
+ ],
599
+ [
600
+ 9,
601
+ 10
602
+ ],
603
+ [
604
+ 10,
605
+ 15
606
+ ],
607
+ [
608
+ 10,
609
+ 26
610
+ ],
611
+ [
612
+ 11,
613
+ 12
614
+ ],
615
+ [
616
+ 12,
617
+ 17
618
+ ],
619
+ [
620
+ 12,
621
+ 30
622
+ ],
623
+ [
624
+ 13,
625
+ 14
626
+ ],
627
+ [
628
+ 13,
629
+ 33
630
+ ],
631
+ [
632
+ 14,
633
+ 20
634
+ ],
635
+ [
636
+ 15,
637
+ 16
638
+ ],
639
+ [
640
+ 17,
641
+ 18
642
+ ],
643
+ [
644
+ 18,
645
+ 19
646
+ ],
647
+ [
648
+ 20,
649
+ 21
650
+ ],
651
+ [
652
+ 22,
653
+ 23
654
+ ],
655
+ [
656
+ 23,
657
+ 9
658
+ ],
659
+ [
660
+ 24,
661
+ 25
662
+ ],
663
+ [
664
+ 25,
665
+ 22
666
+ ],
667
+ [
668
+ 26,
669
+ 27
670
+ ],
671
+ [
672
+ 28,
673
+ 7
674
+ ],
675
+ [
676
+ 29,
677
+ 36
678
+ ],
679
+ [
680
+ 30,
681
+ 31
682
+ ],
683
+ [
684
+ 31,
685
+ 32
686
+ ],
687
+ [
688
+ 33,
689
+ 34
690
+ ],
691
+ [
692
+ 35,
693
+ 13
694
+ ],
695
+ [
696
+ 36,
697
+ 37
698
+ ],
699
+ [
700
+ 37,
701
+ 35
702
+ ],
703
+ [
704
+ 38,
705
+ 39
706
+ ],
707
+ [
708
+ 39,
709
+ 40
710
+ ],
711
+ [
712
+ 40,
713
+ 1
714
+ ],
715
+ [
716
+ 42,
717
+ 47
718
+ ],
719
+ [
720
+ 43,
721
+ 44
722
+ ],
723
+ [
724
+ 44,
725
+ 42
726
+ ],
727
+ [
728
+ 45,
729
+ 46
730
+ ],
731
+ [
732
+ 46,
733
+ 51
734
+ ],
735
+ [
736
+ 46,
737
+ 62
738
+ ],
739
+ [
740
+ 47,
741
+ 48
742
+ ],
743
+ [
744
+ 48,
745
+ 53
746
+ ],
747
+ [
748
+ 48,
749
+ 66
750
+ ],
751
+ [
752
+ 49,
753
+ 50
754
+ ],
755
+ [
756
+ 49,
757
+ 69
758
+ ],
759
+ [
760
+ 50,
761
+ 56
762
+ ],
763
+ [
764
+ 51,
765
+ 52
766
+ ],
767
+ [
768
+ 53,
769
+ 54
770
+ ],
771
+ [
772
+ 54,
773
+ 55
774
+ ],
775
+ [
776
+ 56,
777
+ 57
778
+ ],
779
+ [
780
+ 58,
781
+ 59
782
+ ],
783
+ [
784
+ 59,
785
+ 45
786
+ ],
787
+ [
788
+ 60,
789
+ 61
790
+ ],
791
+ [
792
+ 61,
793
+ 58
794
+ ],
795
+ [
796
+ 62,
797
+ 63
798
+ ],
799
+ [
800
+ 64,
801
+ 43
802
+ ],
803
+ [
804
+ 65,
805
+ 72
806
+ ],
807
+ [
808
+ 66,
809
+ 67
810
+ ],
811
+ [
812
+ 67,
813
+ 68
814
+ ],
815
+ [
816
+ 69,
817
+ 70
818
+ ],
819
+ [
820
+ 71,
821
+ 49
822
+ ],
823
+ [
824
+ 72,
825
+ 73
826
+ ],
827
+ [
828
+ 73,
829
+ 71
830
+ ],
831
+ [
832
+ 74,
833
+ 2
834
+ ],
835
+ [
836
+ 75,
837
+ 76
838
+ ],
839
+ [
840
+ 76,
841
+ 0
842
+ ],
843
+ [
844
+ 77,
845
+ 78
846
+ ],
847
+ [
848
+ 78,
849
+ 79
850
+ ]
851
+ ],
852
+ "em_13": [
853
+ [
854
+ 0,
855
+ 20
856
+ ],
857
+ [
858
+ 0,
859
+ 23
860
+ ],
861
+ [
862
+ 0,
863
+ 43
864
+ ],
865
+ [
866
+ 1,
867
+ 4
868
+ ],
869
+ [
870
+ 2,
871
+ 17
872
+ ],
873
+ [
874
+ 2,
875
+ 40
876
+ ],
877
+ [
878
+ 2,
879
+ 47
880
+ ],
881
+ [
882
+ 2,
883
+ 52
884
+ ],
885
+ [
886
+ 4,
887
+ 3
888
+ ],
889
+ [
890
+ 5,
891
+ 10
892
+ ],
893
+ [
894
+ 6,
895
+ 5
896
+ ],
897
+ [
898
+ 7,
899
+ 8
900
+ ],
901
+ [
902
+ 8,
903
+ 9
904
+ ],
905
+ [
906
+ 8,
907
+ 21
908
+ ],
909
+ [
910
+ 9,
911
+ 12
912
+ ],
913
+ [
914
+ 9,
915
+ 18
916
+ ],
917
+ [
918
+ 10,
919
+ 11
920
+ ],
921
+ [
922
+ 10,
923
+ 22
924
+ ],
925
+ [
926
+ 11,
927
+ 14
928
+ ],
929
+ [
930
+ 12,
931
+ 13
932
+ ],
933
+ [
934
+ 14,
935
+ 15
936
+ ],
937
+ [
938
+ 16,
939
+ 7
940
+ ],
941
+ [
942
+ 17,
943
+ 16
944
+ ],
945
+ [
946
+ 18,
947
+ 19
948
+ ],
949
+ [
950
+ 20,
951
+ 6
952
+ ],
953
+ [
954
+ 23,
955
+ 24
956
+ ],
957
+ [
958
+ 24,
959
+ 25
960
+ ],
961
+ [
962
+ 25,
963
+ 26
964
+ ],
965
+ [
966
+ 26,
967
+ 27
968
+ ],
969
+ [
970
+ 27,
971
+ 1
972
+ ],
973
+ [
974
+ 28,
975
+ 33
976
+ ],
977
+ [
978
+ 29,
979
+ 28
980
+ ],
981
+ [
982
+ 30,
983
+ 31
984
+ ],
985
+ [
986
+ 31,
987
+ 32
988
+ ],
989
+ [
990
+ 31,
991
+ 44
992
+ ],
993
+ [
994
+ 32,
995
+ 35
996
+ ],
997
+ [
998
+ 32,
999
+ 41
1000
+ ],
1001
+ [
1002
+ 33,
1003
+ 34
1004
+ ],
1005
+ [
1006
+ 33,
1007
+ 45
1008
+ ],
1009
+ [
1010
+ 34,
1011
+ 37
1012
+ ],
1013
+ [
1014
+ 35,
1015
+ 36
1016
+ ],
1017
+ [
1018
+ 37,
1019
+ 38
1020
+ ],
1021
+ [
1022
+ 39,
1023
+ 30
1024
+ ],
1025
+ [
1026
+ 40,
1027
+ 39
1028
+ ],
1029
+ [
1030
+ 41,
1031
+ 42
1032
+ ],
1033
+ [
1034
+ 43,
1035
+ 29
1036
+ ],
1037
+ [
1038
+ 46,
1039
+ 2
1040
+ ],
1041
+ [
1042
+ 47,
1043
+ 48
1044
+ ],
1045
+ [
1046
+ 48,
1047
+ 49
1048
+ ],
1049
+ [
1050
+ 49,
1051
+ 50
1052
+ ],
1053
+ [
1054
+ 50,
1055
+ 51
1056
+ ],
1057
+ [
1058
+ 51,
1059
+ 0
1060
+ ],
1061
+ [
1062
+ 52,
1063
+ 53
1064
+ ],
1065
+ [
1066
+ 53,
1067
+ 54
1068
+ ],
1069
+ [
1070
+ 54,
1071
+ 55
1072
+ ],
1073
+ [
1074
+ 55,
1075
+ 56
1076
+ ]
1077
+ ],
1078
+ "em_14": [
1079
+ [
1080
+ 0,
1081
+ 23
1082
+ ],
1083
+ [
1084
+ 0,
1085
+ 24
1086
+ ],
1087
+ [
1088
+ 0,
1089
+ 49
1090
+ ],
1091
+ [
1092
+ 1,
1093
+ 3
1094
+ ],
1095
+ [
1096
+ 2,
1097
+ 10
1098
+ ],
1099
+ [
1100
+ 2,
1101
+ 12
1102
+ ],
1103
+ [
1104
+ 2,
1105
+ 19
1106
+ ],
1107
+ [
1108
+ 2,
1109
+ 36
1110
+ ],
1111
+ [
1112
+ 2,
1113
+ 38
1114
+ ],
1115
+ [
1116
+ 2,
1117
+ 45
1118
+ ],
1119
+ [
1120
+ 2,
1121
+ 51
1122
+ ],
1123
+ [
1124
+ 2,
1125
+ 52
1126
+ ],
1127
+ [
1128
+ 4,
1129
+ 9
1130
+ ],
1131
+ [
1132
+ 5,
1133
+ 4
1134
+ ],
1135
+ [
1136
+ 6,
1137
+ 7
1138
+ ],
1139
+ [
1140
+ 7,
1141
+ 8
1142
+ ],
1143
+ [
1144
+ 8,
1145
+ 16
1146
+ ],
1147
+ [
1148
+ 8,
1149
+ 21
1150
+ ],
1151
+ [
1152
+ 9,
1153
+ 18
1154
+ ],
1155
+ [
1156
+ 10,
1157
+ 11
1158
+ ],
1159
+ [
1160
+ 12,
1161
+ 13
1162
+ ],
1163
+ [
1164
+ 14,
1165
+ 15
1166
+ ],
1167
+ [
1168
+ 16,
1169
+ 17
1170
+ ],
1171
+ [
1172
+ 19,
1173
+ 20
1174
+ ],
1175
+ [
1176
+ 20,
1177
+ 6
1178
+ ],
1179
+ [
1180
+ 21,
1181
+ 22
1182
+ ],
1183
+ [
1184
+ 23,
1185
+ 5
1186
+ ],
1187
+ [
1188
+ 24,
1189
+ 25
1190
+ ],
1191
+ [
1192
+ 25,
1193
+ 26
1194
+ ],
1195
+ [
1196
+ 26,
1197
+ 27
1198
+ ],
1199
+ [
1200
+ 27,
1201
+ 28
1202
+ ],
1203
+ [
1204
+ 28,
1205
+ 29
1206
+ ],
1207
+ [
1208
+ 29,
1209
+ 1
1210
+ ],
1211
+ [
1212
+ 30,
1213
+ 35
1214
+ ],
1215
+ [
1216
+ 31,
1217
+ 30
1218
+ ],
1219
+ [
1220
+ 32,
1221
+ 33
1222
+ ],
1223
+ [
1224
+ 33,
1225
+ 34
1226
+ ],
1227
+ [
1228
+ 34,
1229
+ 42
1230
+ ],
1231
+ [
1232
+ 34,
1233
+ 47
1234
+ ],
1235
+ [
1236
+ 35,
1237
+ 44
1238
+ ],
1239
+ [
1240
+ 36,
1241
+ 37
1242
+ ],
1243
+ [
1244
+ 38,
1245
+ 39
1246
+ ],
1247
+ [
1248
+ 40,
1249
+ 41
1250
+ ],
1251
+ [
1252
+ 42,
1253
+ 43
1254
+ ],
1255
+ [
1256
+ 45,
1257
+ 46
1258
+ ],
1259
+ [
1260
+ 46,
1261
+ 32
1262
+ ],
1263
+ [
1264
+ 47,
1265
+ 48
1266
+ ],
1267
+ [
1268
+ 49,
1269
+ 31
1270
+ ],
1271
+ [
1272
+ 50,
1273
+ 2
1274
+ ],
1275
+ [
1276
+ 51,
1277
+ 0
1278
+ ],
1279
+ [
1280
+ 52,
1281
+ 53
1282
+ ],
1283
+ [
1284
+ 53,
1285
+ 14
1286
+ ],
1287
+ [
1288
+ 53,
1289
+ 40
1290
+ ],
1291
+ [
1292
+ 53,
1293
+ 54
1294
+ ],
1295
+ [
1296
+ 54,
1297
+ 55
1298
+ ]
1299
+ ],
1300
+ "em_15": [
1301
+ [
1302
+ 0,
1303
+ 18
1304
+ ],
1305
+ [
1306
+ 0,
1307
+ 19
1308
+ ],
1309
+ [
1310
+ 0,
1311
+ 35
1312
+ ],
1313
+ [
1314
+ 1,
1315
+ 3
1316
+ ],
1317
+ [
1318
+ 2,
1319
+ 14
1320
+ ],
1321
+ [
1322
+ 2,
1323
+ 31
1324
+ ],
1325
+ [
1326
+ 2,
1327
+ 37
1328
+ ],
1329
+ [
1330
+ 2,
1331
+ 38
1332
+ ],
1333
+ [
1334
+ 4,
1335
+ 8
1336
+ ],
1337
+ [
1338
+ 5,
1339
+ 4
1340
+ ],
1341
+ [
1342
+ 6,
1343
+ 7
1344
+ ],
1345
+ [
1346
+ 7,
1347
+ 10
1348
+ ],
1349
+ [
1350
+ 7,
1351
+ 16
1352
+ ],
1353
+ [
1354
+ 8,
1355
+ 9
1356
+ ],
1357
+ [
1358
+ 9,
1359
+ 12
1360
+ ],
1361
+ [
1362
+ 10,
1363
+ 11
1364
+ ],
1365
+ [
1366
+ 12,
1367
+ 13
1368
+ ],
1369
+ [
1370
+ 14,
1371
+ 15
1372
+ ],
1373
+ [
1374
+ 15,
1375
+ 6
1376
+ ],
1377
+ [
1378
+ 16,
1379
+ 17
1380
+ ],
1381
+ [
1382
+ 18,
1383
+ 5
1384
+ ],
1385
+ [
1386
+ 19,
1387
+ 20
1388
+ ],
1389
+ [
1390
+ 20,
1391
+ 1
1392
+ ],
1393
+ [
1394
+ 21,
1395
+ 25
1396
+ ],
1397
+ [
1398
+ 22,
1399
+ 21
1400
+ ],
1401
+ [
1402
+ 23,
1403
+ 24
1404
+ ],
1405
+ [
1406
+ 24,
1407
+ 27
1408
+ ],
1409
+ [
1410
+ 24,
1411
+ 33
1412
+ ],
1413
+ [
1414
+ 25,
1415
+ 26
1416
+ ],
1417
+ [
1418
+ 26,
1419
+ 29
1420
+ ],
1421
+ [
1422
+ 27,
1423
+ 28
1424
+ ],
1425
+ [
1426
+ 29,
1427
+ 30
1428
+ ],
1429
+ [
1430
+ 31,
1431
+ 32
1432
+ ],
1433
+ [
1434
+ 32,
1435
+ 23
1436
+ ],
1437
+ [
1438
+ 33,
1439
+ 34
1440
+ ],
1441
+ [
1442
+ 35,
1443
+ 22
1444
+ ],
1445
+ [
1446
+ 36,
1447
+ 2
1448
+ ],
1449
+ [
1450
+ 37,
1451
+ 0
1452
+ ],
1453
+ [
1454
+ 38,
1455
+ 39
1456
+ ],
1457
+ [
1458
+ 39,
1459
+ 40
1460
+ ],
1461
+ [
1462
+ 40,
1463
+ 41
1464
+ ],
1465
+ [
1466
+ 41,
1467
+ 42
1468
+ ]
1469
+ ],
1470
+ "em_16": [
1471
+ [
1472
+ 0,
1473
+ 23
1474
+ ],
1475
+ [
1476
+ 0,
1477
+ 26
1478
+ ],
1479
+ [
1480
+ 0,
1481
+ 48
1482
+ ],
1483
+ [
1484
+ 1,
1485
+ 4
1486
+ ],
1487
+ [
1488
+ 2,
1489
+ 18
1490
+ ],
1491
+ [
1492
+ 2,
1493
+ 43
1494
+ ],
1495
+ [
1496
+ 2,
1497
+ 52
1498
+ ],
1499
+ [
1500
+ 2,
1501
+ 55
1502
+ ],
1503
+ [
1504
+ 4,
1505
+ 3
1506
+ ],
1507
+ [
1508
+ 5,
1509
+ 11
1510
+ ],
1511
+ [
1512
+ 6,
1513
+ 7
1514
+ ],
1515
+ [
1516
+ 7,
1517
+ 5
1518
+ ],
1519
+ [
1520
+ 8,
1521
+ 9
1522
+ ],
1523
+ [
1524
+ 9,
1525
+ 10
1526
+ ],
1527
+ [
1528
+ 10,
1529
+ 13
1530
+ ],
1531
+ [
1532
+ 10,
1533
+ 20
1534
+ ],
1535
+ [
1536
+ 11,
1537
+ 12
1538
+ ],
1539
+ [
1540
+ 12,
1541
+ 15
1542
+ ],
1543
+ [
1544
+ 12,
1545
+ 24
1546
+ ],
1547
+ [
1548
+ 13,
1549
+ 14
1550
+ ],
1551
+ [
1552
+ 15,
1553
+ 16
1554
+ ],
1555
+ [
1556
+ 17,
1557
+ 8
1558
+ ],
1559
+ [
1560
+ 18,
1561
+ 19
1562
+ ],
1563
+ [
1564
+ 19,
1565
+ 17
1566
+ ],
1567
+ [
1568
+ 20,
1569
+ 21
1570
+ ],
1571
+ [
1572
+ 22,
1573
+ 6
1574
+ ],
1575
+ [
1576
+ 23,
1577
+ 22
1578
+ ],
1579
+ [
1580
+ 24,
1581
+ 25
1582
+ ],
1583
+ [
1584
+ 26,
1585
+ 27
1586
+ ],
1587
+ [
1588
+ 27,
1589
+ 28
1590
+ ],
1591
+ [
1592
+ 28,
1593
+ 29
1594
+ ],
1595
+ [
1596
+ 29,
1597
+ 1
1598
+ ],
1599
+ [
1600
+ 30,
1601
+ 36
1602
+ ],
1603
+ [
1604
+ 31,
1605
+ 32
1606
+ ],
1607
+ [
1608
+ 32,
1609
+ 30
1610
+ ],
1611
+ [
1612
+ 33,
1613
+ 34
1614
+ ],
1615
+ [
1616
+ 34,
1617
+ 35
1618
+ ],
1619
+ [
1620
+ 35,
1621
+ 38
1622
+ ],
1623
+ [
1624
+ 35,
1625
+ 45
1626
+ ],
1627
+ [
1628
+ 36,
1629
+ 37
1630
+ ],
1631
+ [
1632
+ 37,
1633
+ 40
1634
+ ],
1635
+ [
1636
+ 37,
1637
+ 49
1638
+ ],
1639
+ [
1640
+ 38,
1641
+ 39
1642
+ ],
1643
+ [
1644
+ 40,
1645
+ 41
1646
+ ],
1647
+ [
1648
+ 42,
1649
+ 33
1650
+ ],
1651
+ [
1652
+ 43,
1653
+ 44
1654
+ ],
1655
+ [
1656
+ 44,
1657
+ 42
1658
+ ],
1659
+ [
1660
+ 45,
1661
+ 46
1662
+ ],
1663
+ [
1664
+ 47,
1665
+ 31
1666
+ ],
1667
+ [
1668
+ 48,
1669
+ 47
1670
+ ],
1671
+ [
1672
+ 49,
1673
+ 50
1674
+ ],
1675
+ [
1676
+ 51,
1677
+ 2
1678
+ ],
1679
+ [
1680
+ 52,
1681
+ 53
1682
+ ],
1683
+ [
1684
+ 53,
1685
+ 54
1686
+ ],
1687
+ [
1688
+ 54,
1689
+ 0
1690
+ ],
1691
+ [
1692
+ 55,
1693
+ 56
1694
+ ],
1695
+ [
1696
+ 56,
1697
+ 57
1698
+ ],
1699
+ [
1700
+ 57,
1701
+ 58
1702
+ ],
1703
+ [
1704
+ 58,
1705
+ 59
1706
+ ],
1707
+ [
1708
+ 59,
1709
+ 60
1710
+ ],
1711
+ [
1712
+ 60,
1713
+ 61
1714
+ ],
1715
+ [
1716
+ 61,
1717
+ 62
1718
+ ]
1719
+ ],
1720
+ "em_17": [
1721
+ [
1722
+ 0,
1723
+ 23
1724
+ ],
1725
+ [
1726
+ 0,
1727
+ 26
1728
+ ],
1729
+ [
1730
+ 0,
1731
+ 48
1732
+ ],
1733
+ [
1734
+ 1,
1735
+ 4
1736
+ ],
1737
+ [
1738
+ 2,
1739
+ 18
1740
+ ],
1741
+ [
1742
+ 2,
1743
+ 43
1744
+ ],
1745
+ [
1746
+ 2,
1747
+ 52
1748
+ ],
1749
+ [
1750
+ 2,
1751
+ 55
1752
+ ],
1753
+ [
1754
+ 4,
1755
+ 3
1756
+ ],
1757
+ [
1758
+ 5,
1759
+ 11
1760
+ ],
1761
+ [
1762
+ 6,
1763
+ 7
1764
+ ],
1765
+ [
1766
+ 7,
1767
+ 5
1768
+ ],
1769
+ [
1770
+ 8,
1771
+ 9
1772
+ ],
1773
+ [
1774
+ 9,
1775
+ 10
1776
+ ],
1777
+ [
1778
+ 10,
1779
+ 13
1780
+ ],
1781
+ [
1782
+ 10,
1783
+ 20
1784
+ ],
1785
+ [
1786
+ 11,
1787
+ 12
1788
+ ],
1789
+ [
1790
+ 12,
1791
+ 15
1792
+ ],
1793
+ [
1794
+ 12,
1795
+ 24
1796
+ ],
1797
+ [
1798
+ 13,
1799
+ 14
1800
+ ],
1801
+ [
1802
+ 15,
1803
+ 16
1804
+ ],
1805
+ [
1806
+ 17,
1807
+ 8
1808
+ ],
1809
+ [
1810
+ 18,
1811
+ 19
1812
+ ],
1813
+ [
1814
+ 19,
1815
+ 17
1816
+ ],
1817
+ [
1818
+ 20,
1819
+ 21
1820
+ ],
1821
+ [
1822
+ 22,
1823
+ 6
1824
+ ],
1825
+ [
1826
+ 23,
1827
+ 22
1828
+ ],
1829
+ [
1830
+ 24,
1831
+ 25
1832
+ ],
1833
+ [
1834
+ 26,
1835
+ 27
1836
+ ],
1837
+ [
1838
+ 27,
1839
+ 28
1840
+ ],
1841
+ [
1842
+ 28,
1843
+ 29
1844
+ ],
1845
+ [
1846
+ 29,
1847
+ 1
1848
+ ],
1849
+ [
1850
+ 30,
1851
+ 36
1852
+ ],
1853
+ [
1854
+ 31,
1855
+ 32
1856
+ ],
1857
+ [
1858
+ 32,
1859
+ 30
1860
+ ],
1861
+ [
1862
+ 33,
1863
+ 34
1864
+ ],
1865
+ [
1866
+ 34,
1867
+ 35
1868
+ ],
1869
+ [
1870
+ 35,
1871
+ 38
1872
+ ],
1873
+ [
1874
+ 35,
1875
+ 45
1876
+ ],
1877
+ [
1878
+ 36,
1879
+ 37
1880
+ ],
1881
+ [
1882
+ 37,
1883
+ 40
1884
+ ],
1885
+ [
1886
+ 37,
1887
+ 49
1888
+ ],
1889
+ [
1890
+ 38,
1891
+ 39
1892
+ ],
1893
+ [
1894
+ 40,
1895
+ 41
1896
+ ],
1897
+ [
1898
+ 42,
1899
+ 33
1900
+ ],
1901
+ [
1902
+ 43,
1903
+ 44
1904
+ ],
1905
+ [
1906
+ 44,
1907
+ 42
1908
+ ],
1909
+ [
1910
+ 45,
1911
+ 46
1912
+ ],
1913
+ [
1914
+ 47,
1915
+ 31
1916
+ ],
1917
+ [
1918
+ 48,
1919
+ 47
1920
+ ],
1921
+ [
1922
+ 49,
1923
+ 50
1924
+ ],
1925
+ [
1926
+ 51,
1927
+ 2
1928
+ ],
1929
+ [
1930
+ 52,
1931
+ 53
1932
+ ],
1933
+ [
1934
+ 53,
1935
+ 54
1936
+ ],
1937
+ [
1938
+ 54,
1939
+ 0
1940
+ ],
1941
+ [
1942
+ 55,
1943
+ 56
1944
+ ],
1945
+ [
1946
+ 56,
1947
+ 57
1948
+ ],
1949
+ [
1950
+ 57,
1951
+ 58
1952
+ ],
1953
+ [
1954
+ 58,
1955
+ 59
1956
+ ],
1957
+ [
1958
+ 59,
1959
+ 60
1960
+ ],
1961
+ [
1962
+ 60,
1963
+ 61
1964
+ ],
1965
+ [
1966
+ 61,
1967
+ 62
1968
+ ]
1969
+ ],
1970
+ "em_18": [
1971
+ [
1972
+ 0,
1973
+ 23
1974
+ ],
1975
+ [
1976
+ 0,
1977
+ 25
1978
+ ],
1979
+ [
1980
+ 0,
1981
+ 52
1982
+ ],
1983
+ [
1984
+ 1,
1985
+ 17
1986
+ ],
1987
+ [
1988
+ 1,
1989
+ 46
1990
+ ],
1991
+ [
1992
+ 2,
1993
+ 19
1994
+ ],
1995
+ [
1996
+ 2,
1997
+ 48
1998
+ ],
1999
+ [
2000
+ 2,
2001
+ 58
2002
+ ],
2003
+ [
2004
+ 3,
2005
+ 9
2006
+ ],
2007
+ [
2008
+ 4,
2009
+ 5
2010
+ ],
2011
+ [
2012
+ 5,
2013
+ 3
2014
+ ],
2015
+ [
2016
+ 6,
2017
+ 7
2018
+ ],
2019
+ [
2020
+ 7,
2021
+ 8
2022
+ ],
2023
+ [
2024
+ 8,
2025
+ 11
2026
+ ],
2027
+ [
2028
+ 8,
2029
+ 21
2030
+ ],
2031
+ [
2032
+ 9,
2033
+ 10
2034
+ ],
2035
+ [
2036
+ 10,
2037
+ 13
2038
+ ],
2039
+ [
2040
+ 10,
2041
+ 24
2042
+ ],
2043
+ [
2044
+ 11,
2045
+ 12
2046
+ ],
2047
+ [
2048
+ 13,
2049
+ 14
2050
+ ],
2051
+ [
2052
+ 14,
2053
+ 15
2054
+ ],
2055
+ [
2056
+ 17,
2057
+ 16
2058
+ ],
2059
+ [
2060
+ 18,
2061
+ 6
2062
+ ],
2063
+ [
2064
+ 19,
2065
+ 20
2066
+ ],
2067
+ [
2068
+ 20,
2069
+ 18
2070
+ ],
2071
+ [
2072
+ 21,
2073
+ 22
2074
+ ],
2075
+ [
2076
+ 23,
2077
+ 4
2078
+ ],
2079
+ [
2080
+ 25,
2081
+ 26
2082
+ ],
2083
+ [
2084
+ 26,
2085
+ 27
2086
+ ],
2087
+ [
2088
+ 27,
2089
+ 28
2090
+ ],
2091
+ [
2092
+ 28,
2093
+ 29
2094
+ ],
2095
+ [
2096
+ 29,
2097
+ 30
2098
+ ],
2099
+ [
2100
+ 30,
2101
+ 31
2102
+ ],
2103
+ [
2104
+ 31,
2105
+ 1
2106
+ ],
2107
+ [
2108
+ 32,
2109
+ 38
2110
+ ],
2111
+ [
2112
+ 33,
2113
+ 34
2114
+ ],
2115
+ [
2116
+ 34,
2117
+ 32
2118
+ ],
2119
+ [
2120
+ 35,
2121
+ 36
2122
+ ],
2123
+ [
2124
+ 36,
2125
+ 37
2126
+ ],
2127
+ [
2128
+ 37,
2129
+ 40
2130
+ ],
2131
+ [
2132
+ 37,
2133
+ 50
2134
+ ],
2135
+ [
2136
+ 38,
2137
+ 39
2138
+ ],
2139
+ [
2140
+ 39,
2141
+ 42
2142
+ ],
2143
+ [
2144
+ 39,
2145
+ 53
2146
+ ],
2147
+ [
2148
+ 40,
2149
+ 41
2150
+ ],
2151
+ [
2152
+ 42,
2153
+ 43
2154
+ ],
2155
+ [
2156
+ 43,
2157
+ 44
2158
+ ],
2159
+ [
2160
+ 46,
2161
+ 45
2162
+ ],
2163
+ [
2164
+ 47,
2165
+ 35
2166
+ ],
2167
+ [
2168
+ 48,
2169
+ 49
2170
+ ],
2171
+ [
2172
+ 49,
2173
+ 47
2174
+ ],
2175
+ [
2176
+ 50,
2177
+ 51
2178
+ ],
2179
+ [
2180
+ 52,
2181
+ 33
2182
+ ],
2183
+ [
2184
+ 54,
2185
+ 55
2186
+ ],
2187
+ [
2188
+ 54,
2189
+ 56
2190
+ ],
2191
+ [
2192
+ 54,
2193
+ 57
2194
+ ],
2195
+ [
2196
+ 55,
2197
+ 0
2198
+ ],
2199
+ [
2200
+ 56,
2201
+ 2
2202
+ ],
2203
+ [
2204
+ 58,
2205
+ 59
2206
+ ],
2207
+ [
2208
+ 59,
2209
+ 60
2210
+ ],
2211
+ [
2212
+ 60,
2213
+ 61
2214
+ ],
2215
+ [
2216
+ 61,
2217
+ 62
2218
+ ],
2219
+ [
2220
+ 62,
2221
+ 63
2222
+ ],
2223
+ [
2224
+ 63,
2225
+ 64
2226
+ ],
2227
+ [
2228
+ 64,
2229
+ 65
2230
+ ]
2231
+ ],
2232
+ "em_19": [
2233
+ [
2234
+ 0,
2235
+ 35
2236
+ ],
2237
+ [
2238
+ 0,
2239
+ 39
2240
+ ],
2241
+ [
2242
+ 0,
2243
+ 72
2244
+ ],
2245
+ [
2246
+ 1,
2247
+ 7
2248
+ ],
2249
+ [
2250
+ 1,
2251
+ 44
2252
+ ],
2253
+ [
2254
+ 2,
2255
+ 1
2256
+ ],
2257
+ [
2258
+ 3,
2259
+ 20
2260
+ ],
2261
+ [
2262
+ 3,
2263
+ 57
2264
+ ],
2265
+ [
2266
+ 3,
2267
+ 77
2268
+ ],
2269
+ [
2270
+ 4,
2271
+ 11
2272
+ ],
2273
+ [
2274
+ 5,
2275
+ 6
2276
+ ],
2277
+ [
2278
+ 6,
2279
+ 4
2280
+ ],
2281
+ [
2282
+ 8,
2283
+ 9
2284
+ ],
2285
+ [
2286
+ 9,
2287
+ 10
2288
+ ],
2289
+ [
2290
+ 10,
2291
+ 13
2292
+ ],
2293
+ [
2294
+ 10,
2295
+ 22
2296
+ ],
2297
+ [
2298
+ 10,
2299
+ 29
2300
+ ],
2301
+ [
2302
+ 11,
2303
+ 12
2304
+ ],
2305
+ [
2306
+ 11,
2307
+ 36
2308
+ ],
2309
+ [
2310
+ 12,
2311
+ 16
2312
+ ],
2313
+ [
2314
+ 12,
2315
+ 25
2316
+ ],
2317
+ [
2318
+ 12,
2319
+ 28
2320
+ ],
2321
+ [
2322
+ 13,
2323
+ 14
2324
+ ],
2325
+ [
2326
+ 14,
2327
+ 15
2328
+ ],
2329
+ [
2330
+ 16,
2331
+ 17
2332
+ ],
2333
+ [
2334
+ 17,
2335
+ 18
2336
+ ],
2337
+ [
2338
+ 19,
2339
+ 8
2340
+ ],
2341
+ [
2342
+ 20,
2343
+ 21
2344
+ ],
2345
+ [
2346
+ 21,
2347
+ 19
2348
+ ],
2349
+ [
2350
+ 22,
2351
+ 23
2352
+ ],
2353
+ [
2354
+ 23,
2355
+ 24
2356
+ ],
2357
+ [
2358
+ 25,
2359
+ 26
2360
+ ],
2361
+ [
2362
+ 26,
2363
+ 27
2364
+ ],
2365
+ [
2366
+ 28,
2367
+ 32
2368
+ ],
2369
+ [
2370
+ 29,
2371
+ 30
2372
+ ],
2373
+ [
2374
+ 30,
2375
+ 31
2376
+ ],
2377
+ [
2378
+ 32,
2379
+ 33
2380
+ ],
2381
+ [
2382
+ 33,
2383
+ 34
2384
+ ],
2385
+ [
2386
+ 35,
2387
+ 5
2388
+ ],
2389
+ [
2390
+ 36,
2391
+ 37
2392
+ ],
2393
+ [
2394
+ 37,
2395
+ 38
2396
+ ],
2397
+ [
2398
+ 39,
2399
+ 40
2400
+ ],
2401
+ [
2402
+ 40,
2403
+ 2
2404
+ ],
2405
+ [
2406
+ 41,
2407
+ 48
2408
+ ],
2409
+ [
2410
+ 42,
2411
+ 43
2412
+ ],
2413
+ [
2414
+ 43,
2415
+ 41
2416
+ ],
2417
+ [
2418
+ 45,
2419
+ 46
2420
+ ],
2421
+ [
2422
+ 46,
2423
+ 47
2424
+ ],
2425
+ [
2426
+ 47,
2427
+ 50
2428
+ ],
2429
+ [
2430
+ 47,
2431
+ 59
2432
+ ],
2433
+ [
2434
+ 47,
2435
+ 66
2436
+ ],
2437
+ [
2438
+ 48,
2439
+ 49
2440
+ ],
2441
+ [
2442
+ 48,
2443
+ 73
2444
+ ],
2445
+ [
2446
+ 49,
2447
+ 53
2448
+ ],
2449
+ [
2450
+ 49,
2451
+ 62
2452
+ ],
2453
+ [
2454
+ 49,
2455
+ 65
2456
+ ],
2457
+ [
2458
+ 50,
2459
+ 51
2460
+ ],
2461
+ [
2462
+ 51,
2463
+ 52
2464
+ ],
2465
+ [
2466
+ 53,
2467
+ 54
2468
+ ],
2469
+ [
2470
+ 54,
2471
+ 55
2472
+ ],
2473
+ [
2474
+ 56,
2475
+ 45
2476
+ ],
2477
+ [
2478
+ 57,
2479
+ 58
2480
+ ],
2481
+ [
2482
+ 58,
2483
+ 56
2484
+ ],
2485
+ [
2486
+ 59,
2487
+ 60
2488
+ ],
2489
+ [
2490
+ 60,
2491
+ 61
2492
+ ],
2493
+ [
2494
+ 62,
2495
+ 63
2496
+ ],
2497
+ [
2498
+ 63,
2499
+ 64
2500
+ ],
2501
+ [
2502
+ 65,
2503
+ 69
2504
+ ],
2505
+ [
2506
+ 66,
2507
+ 67
2508
+ ],
2509
+ [
2510
+ 67,
2511
+ 68
2512
+ ],
2513
+ [
2514
+ 69,
2515
+ 70
2516
+ ],
2517
+ [
2518
+ 70,
2519
+ 71
2520
+ ],
2521
+ [
2522
+ 72,
2523
+ 42
2524
+ ],
2525
+ [
2526
+ 73,
2527
+ 74
2528
+ ],
2529
+ [
2530
+ 74,
2531
+ 75
2532
+ ],
2533
+ [
2534
+ 76,
2535
+ 3
2536
+ ],
2537
+ [
2538
+ 77,
2539
+ 0
2540
+ ]
2541
+ ],
2542
+ "em_2": [
2543
+ [
2544
+ 0,
2545
+ 23
2546
+ ],
2547
+ [
2548
+ 0,
2549
+ 28
2550
+ ],
2551
+ [
2552
+ 0,
2553
+ 51
2554
+ ],
2555
+ [
2556
+ 1,
2557
+ 3
2558
+ ],
2559
+ [
2560
+ 1,
2561
+ 5
2562
+ ],
2563
+ [
2564
+ 1,
2565
+ 33
2566
+ ],
2567
+ [
2568
+ 2,
2569
+ 18
2570
+ ],
2571
+ [
2572
+ 2,
2573
+ 46
2574
+ ],
2575
+ [
2576
+ 2,
2577
+ 57
2578
+ ],
2579
+ [
2580
+ 2,
2581
+ 59
2582
+ ],
2583
+ [
2584
+ 5,
2585
+ 4
2586
+ ],
2587
+ [
2588
+ 6,
2589
+ 7
2590
+ ],
2591
+ [
2592
+ 7,
2593
+ 8
2594
+ ],
2595
+ [
2596
+ 8,
2597
+ 10
2598
+ ],
2599
+ [
2600
+ 8,
2601
+ 20
2602
+ ],
2603
+ [
2604
+ 9,
2605
+ 13
2606
+ ],
2607
+ [
2608
+ 9,
2609
+ 24
2610
+ ],
2611
+ [
2612
+ 10,
2613
+ 11
2614
+ ],
2615
+ [
2616
+ 11,
2617
+ 12
2618
+ ],
2619
+ [
2620
+ 13,
2621
+ 14
2622
+ ],
2623
+ [
2624
+ 14,
2625
+ 15
2626
+ ],
2627
+ [
2628
+ 15,
2629
+ 16
2630
+ ],
2631
+ [
2632
+ 17,
2633
+ 6
2634
+ ],
2635
+ [
2636
+ 18,
2637
+ 19
2638
+ ],
2639
+ [
2640
+ 19,
2641
+ 17
2642
+ ],
2643
+ [
2644
+ 20,
2645
+ 21
2646
+ ],
2647
+ [
2648
+ 21,
2649
+ 22
2650
+ ],
2651
+ [
2652
+ 23,
2653
+ 26
2654
+ ],
2655
+ [
2656
+ 25,
2657
+ 9
2658
+ ],
2659
+ [
2660
+ 26,
2661
+ 27
2662
+ ],
2663
+ [
2664
+ 27,
2665
+ 25
2666
+ ],
2667
+ [
2668
+ 28,
2669
+ 29
2670
+ ],
2671
+ [
2672
+ 29,
2673
+ 30
2674
+ ],
2675
+ [
2676
+ 30,
2677
+ 31
2678
+ ],
2679
+ [
2680
+ 31,
2681
+ 1
2682
+ ],
2683
+ [
2684
+ 33,
2685
+ 32
2686
+ ],
2687
+ [
2688
+ 34,
2689
+ 35
2690
+ ],
2691
+ [
2692
+ 35,
2693
+ 36
2694
+ ],
2695
+ [
2696
+ 36,
2697
+ 38
2698
+ ],
2699
+ [
2700
+ 36,
2701
+ 48
2702
+ ],
2703
+ [
2704
+ 37,
2705
+ 41
2706
+ ],
2707
+ [
2708
+ 37,
2709
+ 52
2710
+ ],
2711
+ [
2712
+ 38,
2713
+ 39
2714
+ ],
2715
+ [
2716
+ 39,
2717
+ 40
2718
+ ],
2719
+ [
2720
+ 41,
2721
+ 42
2722
+ ],
2723
+ [
2724
+ 42,
2725
+ 43
2726
+ ],
2727
+ [
2728
+ 43,
2729
+ 44
2730
+ ],
2731
+ [
2732
+ 45,
2733
+ 34
2734
+ ],
2735
+ [
2736
+ 46,
2737
+ 47
2738
+ ],
2739
+ [
2740
+ 47,
2741
+ 45
2742
+ ],
2743
+ [
2744
+ 48,
2745
+ 49
2746
+ ],
2747
+ [
2748
+ 49,
2749
+ 50
2750
+ ],
2751
+ [
2752
+ 51,
2753
+ 54
2754
+ ],
2755
+ [
2756
+ 53,
2757
+ 37
2758
+ ],
2759
+ [
2760
+ 54,
2761
+ 55
2762
+ ],
2763
+ [
2764
+ 55,
2765
+ 53
2766
+ ],
2767
+ [
2768
+ 56,
2769
+ 2
2770
+ ],
2771
+ [
2772
+ 57,
2773
+ 58
2774
+ ],
2775
+ [
2776
+ 58,
2777
+ 0
2778
+ ],
2779
+ [
2780
+ 59,
2781
+ 60
2782
+ ],
2783
+ [
2784
+ 60,
2785
+ 61
2786
+ ],
2787
+ [
2788
+ 61,
2789
+ 62
2790
+ ],
2791
+ [
2792
+ 62,
2793
+ 63
2794
+ ],
2795
+ [
2796
+ 63,
2797
+ 64
2798
+ ],
2799
+ [
2800
+ 64,
2801
+ 65
2802
+ ],
2803
+ [
2804
+ 65,
2805
+ 66
2806
+ ]
2807
+ ],
2808
+ "em_20": [
2809
+ [
2810
+ 0,
2811
+ 22
2812
+ ],
2813
+ [
2814
+ 0,
2815
+ 25
2816
+ ],
2817
+ [
2818
+ 0,
2819
+ 48
2820
+ ],
2821
+ [
2822
+ 1,
2823
+ 4
2824
+ ],
2825
+ [
2826
+ 2,
2827
+ 18
2828
+ ],
2829
+ [
2830
+ 2,
2831
+ 44
2832
+ ],
2833
+ [
2834
+ 2,
2835
+ 52
2836
+ ],
2837
+ [
2838
+ 2,
2839
+ 54
2840
+ ],
2841
+ [
2842
+ 4,
2843
+ 3
2844
+ ],
2845
+ [
2846
+ 5,
2847
+ 10
2848
+ ],
2849
+ [
2850
+ 6,
2851
+ 5
2852
+ ],
2853
+ [
2854
+ 7,
2855
+ 8
2856
+ ],
2857
+ [
2858
+ 8,
2859
+ 9
2860
+ ],
2861
+ [
2862
+ 9,
2863
+ 12
2864
+ ],
2865
+ [
2866
+ 9,
2867
+ 20
2868
+ ],
2869
+ [
2870
+ 10,
2871
+ 11
2872
+ ],
2873
+ [
2874
+ 10,
2875
+ 23
2876
+ ],
2877
+ [
2878
+ 11,
2879
+ 14
2880
+ ],
2881
+ [
2882
+ 12,
2883
+ 13
2884
+ ],
2885
+ [
2886
+ 14,
2887
+ 15
2888
+ ],
2889
+ [
2890
+ 15,
2891
+ 16
2892
+ ],
2893
+ [
2894
+ 17,
2895
+ 7
2896
+ ],
2897
+ [
2898
+ 18,
2899
+ 19
2900
+ ],
2901
+ [
2902
+ 19,
2903
+ 17
2904
+ ],
2905
+ [
2906
+ 20,
2907
+ 21
2908
+ ],
2909
+ [
2910
+ 22,
2911
+ 6
2912
+ ],
2913
+ [
2914
+ 23,
2915
+ 24
2916
+ ],
2917
+ [
2918
+ 25,
2919
+ 26
2920
+ ],
2921
+ [
2922
+ 26,
2923
+ 27
2924
+ ],
2925
+ [
2926
+ 27,
2927
+ 28
2928
+ ],
2929
+ [
2930
+ 28,
2931
+ 29
2932
+ ],
2933
+ [
2934
+ 29,
2935
+ 30
2936
+ ],
2937
+ [
2938
+ 30,
2939
+ 1
2940
+ ],
2941
+ [
2942
+ 31,
2943
+ 36
2944
+ ],
2945
+ [
2946
+ 32,
2947
+ 31
2948
+ ],
2949
+ [
2950
+ 33,
2951
+ 34
2952
+ ],
2953
+ [
2954
+ 34,
2955
+ 35
2956
+ ],
2957
+ [
2958
+ 35,
2959
+ 38
2960
+ ],
2961
+ [
2962
+ 35,
2963
+ 46
2964
+ ],
2965
+ [
2966
+ 36,
2967
+ 37
2968
+ ],
2969
+ [
2970
+ 36,
2971
+ 49
2972
+ ],
2973
+ [
2974
+ 37,
2975
+ 40
2976
+ ],
2977
+ [
2978
+ 38,
2979
+ 39
2980
+ ],
2981
+ [
2982
+ 40,
2983
+ 41
2984
+ ],
2985
+ [
2986
+ 41,
2987
+ 42
2988
+ ],
2989
+ [
2990
+ 43,
2991
+ 33
2992
+ ],
2993
+ [
2994
+ 44,
2995
+ 45
2996
+ ],
2997
+ [
2998
+ 45,
2999
+ 43
3000
+ ],
3001
+ [
3002
+ 46,
3003
+ 47
3004
+ ],
3005
+ [
3006
+ 48,
3007
+ 32
3008
+ ],
3009
+ [
3010
+ 49,
3011
+ 50
3012
+ ],
3013
+ [
3014
+ 51,
3015
+ 2
3016
+ ],
3017
+ [
3018
+ 52,
3019
+ 53
3020
+ ],
3021
+ [
3022
+ 53,
3023
+ 0
3024
+ ],
3025
+ [
3026
+ 54,
3027
+ 55
3028
+ ],
3029
+ [
3030
+ 55,
3031
+ 56
3032
+ ],
3033
+ [
3034
+ 56,
3035
+ 57
3036
+ ],
3037
+ [
3038
+ 57,
3039
+ 58
3040
+ ],
3041
+ [
3042
+ 58,
3043
+ 59
3044
+ ],
3045
+ [
3046
+ 59,
3047
+ 60
3048
+ ]
3049
+ ],
3050
+ "em_21": [
3051
+ [
3052
+ 0,
3053
+ 3
3054
+ ],
3055
+ [
3056
+ 1,
3057
+ 0
3058
+ ],
3059
+ [
3060
+ 1,
3061
+ 4
3062
+ ],
3063
+ [
3064
+ 1,
3065
+ 15
3066
+ ],
3067
+ [
3068
+ 1,
3069
+ 23
3070
+ ],
3071
+ [
3072
+ 1,
3073
+ 29
3074
+ ],
3075
+ [
3076
+ 1,
3077
+ 40
3078
+ ],
3079
+ [
3080
+ 1,
3081
+ 48
3082
+ ],
3083
+ [
3084
+ 1,
3085
+ 55
3086
+ ],
3087
+ [
3088
+ 3,
3089
+ 2
3090
+ ],
3091
+ [
3092
+ 4,
3093
+ 5
3094
+ ],
3095
+ [
3096
+ 5,
3097
+ 6
3098
+ ],
3099
+ [
3100
+ 6,
3101
+ 7
3102
+ ],
3103
+ [
3104
+ 7,
3105
+ 8
3106
+ ],
3107
+ [
3108
+ 8,
3109
+ 9
3110
+ ],
3111
+ [
3112
+ 9,
3113
+ 10
3114
+ ],
3115
+ [
3116
+ 10,
3117
+ 11
3118
+ ],
3119
+ [
3120
+ 11,
3121
+ 12
3122
+ ],
3123
+ [
3124
+ 15,
3125
+ 16
3126
+ ],
3127
+ [
3128
+ 16,
3129
+ 17
3130
+ ],
3131
+ [
3132
+ 17,
3133
+ 18
3134
+ ],
3135
+ [
3136
+ 18,
3137
+ 19
3138
+ ],
3139
+ [
3140
+ 19,
3141
+ 20
3142
+ ],
3143
+ [
3144
+ 20,
3145
+ 13
3146
+ ],
3147
+ [
3148
+ 20,
3149
+ 21
3150
+ ],
3151
+ [
3152
+ 23,
3153
+ 24
3154
+ ],
3155
+ [
3156
+ 24,
3157
+ 25
3158
+ ],
3159
+ [
3160
+ 25,
3161
+ 26
3162
+ ],
3163
+ [
3164
+ 26,
3165
+ 27
3166
+ ],
3167
+ [
3168
+ 27,
3169
+ 28
3170
+ ],
3171
+ [
3172
+ 28,
3173
+ 14
3174
+ ],
3175
+ [
3176
+ 28,
3177
+ 22
3178
+ ],
3179
+ [
3180
+ 29,
3181
+ 30
3182
+ ],
3183
+ [
3184
+ 30,
3185
+ 31
3186
+ ],
3187
+ [
3188
+ 31,
3189
+ 32
3190
+ ],
3191
+ [
3192
+ 32,
3193
+ 33
3194
+ ],
3195
+ [
3196
+ 33,
3197
+ 34
3198
+ ],
3199
+ [
3200
+ 34,
3201
+ 35
3202
+ ],
3203
+ [
3204
+ 35,
3205
+ 36
3206
+ ],
3207
+ [
3208
+ 36,
3209
+ 37
3210
+ ],
3211
+ [
3212
+ 40,
3213
+ 41
3214
+ ],
3215
+ [
3216
+ 41,
3217
+ 42
3218
+ ],
3219
+ [
3220
+ 42,
3221
+ 43
3222
+ ],
3223
+ [
3224
+ 43,
3225
+ 44
3226
+ ],
3227
+ [
3228
+ 44,
3229
+ 45
3230
+ ],
3231
+ [
3232
+ 45,
3233
+ 38
3234
+ ],
3235
+ [
3236
+ 45,
3237
+ 46
3238
+ ],
3239
+ [
3240
+ 48,
3241
+ 49
3242
+ ],
3243
+ [
3244
+ 49,
3245
+ 50
3246
+ ],
3247
+ [
3248
+ 50,
3249
+ 51
3250
+ ],
3251
+ [
3252
+ 51,
3253
+ 52
3254
+ ],
3255
+ [
3256
+ 52,
3257
+ 53
3258
+ ],
3259
+ [
3260
+ 53,
3261
+ 39
3262
+ ],
3263
+ [
3264
+ 53,
3265
+ 47
3266
+ ],
3267
+ [
3268
+ 54,
3269
+ 1
3270
+ ],
3271
+ [
3272
+ 55,
3273
+ 56
3274
+ ],
3275
+ [
3276
+ 56,
3277
+ 57
3278
+ ],
3279
+ [
3280
+ 57,
3281
+ 58
3282
+ ],
3283
+ [
3284
+ 58,
3285
+ 59
3286
+ ],
3287
+ [
3288
+ 58,
3289
+ 61
3290
+ ],
3291
+ [
3292
+ 59,
3293
+ 60
3294
+ ],
3295
+ [
3296
+ 61,
3297
+ 62
3298
+ ],
3299
+ [
3300
+ 62,
3301
+ 63
3302
+ ],
3303
+ [
3304
+ 63,
3305
+ 64
3306
+ ],
3307
+ [
3308
+ 64,
3309
+ 65
3310
+ ]
3311
+ ],
3312
+ "em_22": [
3313
+ [
3314
+ 0,
3315
+ 24
3316
+ ],
3317
+ [
3318
+ 0,
3319
+ 27
3320
+ ],
3321
+ [
3322
+ 0,
3323
+ 52
3324
+ ],
3325
+ [
3326
+ 1,
3327
+ 4
3328
+ ],
3329
+ [
3330
+ 2,
3331
+ 19
3332
+ ],
3333
+ [
3334
+ 2,
3335
+ 47
3336
+ ],
3337
+ [
3338
+ 2,
3339
+ 56
3340
+ ],
3341
+ [
3342
+ 2,
3343
+ 58
3344
+ ],
3345
+ [
3346
+ 4,
3347
+ 3
3348
+ ],
3349
+ [
3350
+ 5,
3351
+ 10
3352
+ ],
3353
+ [
3354
+ 6,
3355
+ 5
3356
+ ],
3357
+ [
3358
+ 7,
3359
+ 8
3360
+ ],
3361
+ [
3362
+ 8,
3363
+ 9
3364
+ ],
3365
+ [
3366
+ 9,
3367
+ 11
3368
+ ],
3369
+ [
3370
+ 9,
3371
+ 21
3372
+ ],
3373
+ [
3374
+ 10,
3375
+ 14
3376
+ ],
3377
+ [
3378
+ 10,
3379
+ 25
3380
+ ],
3381
+ [
3382
+ 11,
3383
+ 12
3384
+ ],
3385
+ [
3386
+ 12,
3387
+ 13
3388
+ ],
3389
+ [
3390
+ 14,
3391
+ 15
3392
+ ],
3393
+ [
3394
+ 15,
3395
+ 16
3396
+ ],
3397
+ [
3398
+ 16,
3399
+ 17
3400
+ ],
3401
+ [
3402
+ 18,
3403
+ 7
3404
+ ],
3405
+ [
3406
+ 19,
3407
+ 20
3408
+ ],
3409
+ [
3410
+ 20,
3411
+ 18
3412
+ ],
3413
+ [
3414
+ 21,
3415
+ 22
3416
+ ],
3417
+ [
3418
+ 22,
3419
+ 23
3420
+ ],
3421
+ [
3422
+ 24,
3423
+ 6
3424
+ ],
3425
+ [
3426
+ 25,
3427
+ 26
3428
+ ],
3429
+ [
3430
+ 27,
3431
+ 28
3432
+ ],
3433
+ [
3434
+ 28,
3435
+ 29
3436
+ ],
3437
+ [
3438
+ 29,
3439
+ 30
3440
+ ],
3441
+ [
3442
+ 30,
3443
+ 31
3444
+ ],
3445
+ [
3446
+ 31,
3447
+ 32
3448
+ ],
3449
+ [
3450
+ 32,
3451
+ 1
3452
+ ],
3453
+ [
3454
+ 33,
3455
+ 38
3456
+ ],
3457
+ [
3458
+ 34,
3459
+ 33
3460
+ ],
3461
+ [
3462
+ 35,
3463
+ 36
3464
+ ],
3465
+ [
3466
+ 36,
3467
+ 37
3468
+ ],
3469
+ [
3470
+ 37,
3471
+ 39
3472
+ ],
3473
+ [
3474
+ 37,
3475
+ 49
3476
+ ],
3477
+ [
3478
+ 38,
3479
+ 42
3480
+ ],
3481
+ [
3482
+ 38,
3483
+ 53
3484
+ ],
3485
+ [
3486
+ 39,
3487
+ 40
3488
+ ],
3489
+ [
3490
+ 40,
3491
+ 41
3492
+ ],
3493
+ [
3494
+ 42,
3495
+ 43
3496
+ ],
3497
+ [
3498
+ 43,
3499
+ 44
3500
+ ],
3501
+ [
3502
+ 44,
3503
+ 45
3504
+ ],
3505
+ [
3506
+ 46,
3507
+ 35
3508
+ ],
3509
+ [
3510
+ 47,
3511
+ 48
3512
+ ],
3513
+ [
3514
+ 48,
3515
+ 46
3516
+ ],
3517
+ [
3518
+ 49,
3519
+ 50
3520
+ ],
3521
+ [
3522
+ 50,
3523
+ 51
3524
+ ],
3525
+ [
3526
+ 52,
3527
+ 34
3528
+ ],
3529
+ [
3530
+ 53,
3531
+ 54
3532
+ ],
3533
+ [
3534
+ 55,
3535
+ 2
3536
+ ],
3537
+ [
3538
+ 56,
3539
+ 57
3540
+ ],
3541
+ [
3542
+ 57,
3543
+ 0
3544
+ ],
3545
+ [
3546
+ 58,
3547
+ 59
3548
+ ],
3549
+ [
3550
+ 59,
3551
+ 60
3552
+ ],
3553
+ [
3554
+ 60,
3555
+ 61
3556
+ ],
3557
+ [
3558
+ 61,
3559
+ 62
3560
+ ],
3561
+ [
3562
+ 62,
3563
+ 63
3564
+ ],
3565
+ [
3566
+ 63,
3567
+ 64
3568
+ ]
3569
+ ],
3570
+ "em_23": [
3571
+ [
3572
+ 0,
3573
+ 23
3574
+ ],
3575
+ [
3576
+ 0,
3577
+ 28
3578
+ ],
3579
+ [
3580
+ 0,
3581
+ 51
3582
+ ],
3583
+ [
3584
+ 1,
3585
+ 3
3586
+ ],
3587
+ [
3588
+ 1,
3589
+ 8
3590
+ ],
3591
+ [
3592
+ 1,
3593
+ 36
3594
+ ],
3595
+ [
3596
+ 2,
3597
+ 18
3598
+ ],
3599
+ [
3600
+ 2,
3601
+ 46
3602
+ ],
3603
+ [
3604
+ 2,
3605
+ 57
3606
+ ],
3607
+ [
3608
+ 2,
3609
+ 59
3610
+ ],
3611
+ [
3612
+ 4,
3613
+ 5
3614
+ ],
3615
+ [
3616
+ 5,
3617
+ 6
3618
+ ],
3619
+ [
3620
+ 6,
3621
+ 10
3622
+ ],
3623
+ [
3624
+ 6,
3625
+ 20
3626
+ ],
3627
+ [
3628
+ 7,
3629
+ 13
3630
+ ],
3631
+ [
3632
+ 7,
3633
+ 24
3634
+ ],
3635
+ [
3636
+ 8,
3637
+ 9
3638
+ ],
3639
+ [
3640
+ 10,
3641
+ 11
3642
+ ],
3643
+ [
3644
+ 11,
3645
+ 12
3646
+ ],
3647
+ [
3648
+ 13,
3649
+ 14
3650
+ ],
3651
+ [
3652
+ 14,
3653
+ 15
3654
+ ],
3655
+ [
3656
+ 15,
3657
+ 16
3658
+ ],
3659
+ [
3660
+ 17,
3661
+ 4
3662
+ ],
3663
+ [
3664
+ 18,
3665
+ 19
3666
+ ],
3667
+ [
3668
+ 19,
3669
+ 17
3670
+ ],
3671
+ [
3672
+ 20,
3673
+ 21
3674
+ ],
3675
+ [
3676
+ 21,
3677
+ 22
3678
+ ],
3679
+ [
3680
+ 23,
3681
+ 26
3682
+ ],
3683
+ [
3684
+ 25,
3685
+ 7
3686
+ ],
3687
+ [
3688
+ 26,
3689
+ 27
3690
+ ],
3691
+ [
3692
+ 27,
3693
+ 25
3694
+ ],
3695
+ [
3696
+ 28,
3697
+ 29
3698
+ ],
3699
+ [
3700
+ 29,
3701
+ 30
3702
+ ],
3703
+ [
3704
+ 30,
3705
+ 31
3706
+ ],
3707
+ [
3708
+ 31,
3709
+ 1
3710
+ ],
3711
+ [
3712
+ 32,
3713
+ 33
3714
+ ],
3715
+ [
3716
+ 33,
3717
+ 34
3718
+ ],
3719
+ [
3720
+ 34,
3721
+ 38
3722
+ ],
3723
+ [
3724
+ 34,
3725
+ 48
3726
+ ],
3727
+ [
3728
+ 35,
3729
+ 41
3730
+ ],
3731
+ [
3732
+ 35,
3733
+ 52
3734
+ ],
3735
+ [
3736
+ 36,
3737
+ 37
3738
+ ],
3739
+ [
3740
+ 38,
3741
+ 39
3742
+ ],
3743
+ [
3744
+ 39,
3745
+ 40
3746
+ ],
3747
+ [
3748
+ 41,
3749
+ 42
3750
+ ],
3751
+ [
3752
+ 42,
3753
+ 43
3754
+ ],
3755
+ [
3756
+ 43,
3757
+ 44
3758
+ ],
3759
+ [
3760
+ 45,
3761
+ 32
3762
+ ],
3763
+ [
3764
+ 46,
3765
+ 47
3766
+ ],
3767
+ [
3768
+ 47,
3769
+ 45
3770
+ ],
3771
+ [
3772
+ 48,
3773
+ 49
3774
+ ],
3775
+ [
3776
+ 49,
3777
+ 50
3778
+ ],
3779
+ [
3780
+ 51,
3781
+ 54
3782
+ ],
3783
+ [
3784
+ 53,
3785
+ 35
3786
+ ],
3787
+ [
3788
+ 54,
3789
+ 55
3790
+ ],
3791
+ [
3792
+ 55,
3793
+ 53
3794
+ ],
3795
+ [
3796
+ 56,
3797
+ 2
3798
+ ],
3799
+ [
3800
+ 57,
3801
+ 58
3802
+ ],
3803
+ [
3804
+ 58,
3805
+ 0
3806
+ ],
3807
+ [
3808
+ 59,
3809
+ 60
3810
+ ],
3811
+ [
3812
+ 60,
3813
+ 61
3814
+ ],
3815
+ [
3816
+ 61,
3817
+ 62
3818
+ ],
3819
+ [
3820
+ 62,
3821
+ 63
3822
+ ],
3823
+ [
3824
+ 63,
3825
+ 64
3826
+ ],
3827
+ [
3828
+ 64,
3829
+ 65
3830
+ ],
3831
+ [
3832
+ 65,
3833
+ 66
3834
+ ],
3835
+ [
3836
+ 66,
3837
+ 67
3838
+ ]
3839
+ ],
3840
+ "em_24": [
3841
+ [
3842
+ 0,
3843
+ 23
3844
+ ],
3845
+ [
3846
+ 0,
3847
+ 32
3848
+ ],
3849
+ [
3850
+ 0,
3851
+ 55
3852
+ ],
3853
+ [
3854
+ 1,
3855
+ 4
3856
+ ],
3857
+ [
3858
+ 1,
3859
+ 24
3860
+ ],
3861
+ [
3862
+ 1,
3863
+ 56
3864
+ ],
3865
+ [
3866
+ 2,
3867
+ 19
3868
+ ],
3869
+ [
3870
+ 2,
3871
+ 51
3872
+ ],
3873
+ [
3874
+ 2,
3875
+ 65
3876
+ ],
3877
+ [
3878
+ 2,
3879
+ 69
3880
+ ],
3881
+ [
3882
+ 4,
3883
+ 3
3884
+ ],
3885
+ [
3886
+ 5,
3887
+ 11
3888
+ ],
3889
+ [
3890
+ 6,
3891
+ 7
3892
+ ],
3893
+ [
3894
+ 7,
3895
+ 5
3896
+ ],
3897
+ [
3898
+ 8,
3899
+ 9
3900
+ ],
3901
+ [
3902
+ 9,
3903
+ 10
3904
+ ],
3905
+ [
3906
+ 10,
3907
+ 13
3908
+ ],
3909
+ [
3910
+ 10,
3911
+ 21
3912
+ ],
3913
+ [
3914
+ 11,
3915
+ 12
3916
+ ],
3917
+ [
3918
+ 12,
3919
+ 15
3920
+ ],
3921
+ [
3922
+ 12,
3923
+ 30
3924
+ ],
3925
+ [
3926
+ 13,
3927
+ 14
3928
+ ],
3929
+ [
3930
+ 15,
3931
+ 16
3932
+ ],
3933
+ [
3934
+ 16,
3935
+ 17
3936
+ ],
3937
+ [
3938
+ 18,
3939
+ 8
3940
+ ],
3941
+ [
3942
+ 19,
3943
+ 20
3944
+ ],
3945
+ [
3946
+ 20,
3947
+ 18
3948
+ ],
3949
+ [
3950
+ 21,
3951
+ 22
3952
+ ],
3953
+ [
3954
+ 23,
3955
+ 6
3956
+ ],
3957
+ [
3958
+ 24,
3959
+ 25
3960
+ ],
3961
+ [
3962
+ 25,
3963
+ 26
3964
+ ],
3965
+ [
3966
+ 26,
3967
+ 27
3968
+ ],
3969
+ [
3970
+ 27,
3971
+ 28
3972
+ ],
3973
+ [
3974
+ 28,
3975
+ 29
3976
+ ],
3977
+ [
3978
+ 30,
3979
+ 31
3980
+ ],
3981
+ [
3982
+ 32,
3983
+ 33
3984
+ ],
3985
+ [
3986
+ 33,
3987
+ 34
3988
+ ],
3989
+ [
3990
+ 34,
3991
+ 35
3992
+ ],
3993
+ [
3994
+ 35,
3995
+ 36
3996
+ ],
3997
+ [
3998
+ 36,
3999
+ 1
4000
+ ],
4001
+ [
4002
+ 37,
4003
+ 43
4004
+ ],
4005
+ [
4006
+ 38,
4007
+ 39
4008
+ ],
4009
+ [
4010
+ 39,
4011
+ 37
4012
+ ],
4013
+ [
4014
+ 40,
4015
+ 41
4016
+ ],
4017
+ [
4018
+ 41,
4019
+ 42
4020
+ ],
4021
+ [
4022
+ 42,
4023
+ 45
4024
+ ],
4025
+ [
4026
+ 42,
4027
+ 53
4028
+ ],
4029
+ [
4030
+ 43,
4031
+ 44
4032
+ ],
4033
+ [
4034
+ 44,
4035
+ 47
4036
+ ],
4037
+ [
4038
+ 44,
4039
+ 62
4040
+ ],
4041
+ [
4042
+ 45,
4043
+ 46
4044
+ ],
4045
+ [
4046
+ 47,
4047
+ 48
4048
+ ],
4049
+ [
4050
+ 48,
4051
+ 49
4052
+ ],
4053
+ [
4054
+ 50,
4055
+ 40
4056
+ ],
4057
+ [
4058
+ 51,
4059
+ 52
4060
+ ],
4061
+ [
4062
+ 52,
4063
+ 50
4064
+ ],
4065
+ [
4066
+ 53,
4067
+ 54
4068
+ ],
4069
+ [
4070
+ 55,
4071
+ 38
4072
+ ],
4073
+ [
4074
+ 56,
4075
+ 57
4076
+ ],
4077
+ [
4078
+ 57,
4079
+ 58
4080
+ ],
4081
+ [
4082
+ 58,
4083
+ 59
4084
+ ],
4085
+ [
4086
+ 59,
4087
+ 60
4088
+ ],
4089
+ [
4090
+ 60,
4091
+ 61
4092
+ ],
4093
+ [
4094
+ 62,
4095
+ 63
4096
+ ],
4097
+ [
4098
+ 64,
4099
+ 2
4100
+ ],
4101
+ [
4102
+ 65,
4103
+ 66
4104
+ ],
4105
+ [
4106
+ 66,
4107
+ 67
4108
+ ],
4109
+ [
4110
+ 67,
4111
+ 68
4112
+ ],
4113
+ [
4114
+ 68,
4115
+ 0
4116
+ ],
4117
+ [
4118
+ 69,
4119
+ 70
4120
+ ],
4121
+ [
4122
+ 70,
4123
+ 71
4124
+ ],
4125
+ [
4126
+ 71,
4127
+ 72
4128
+ ],
4129
+ [
4130
+ 72,
4131
+ 73
4132
+ ],
4133
+ [
4134
+ 73,
4135
+ 74
4136
+ ],
4137
+ [
4138
+ 74,
4139
+ 75
4140
+ ]
4141
+ ],
4142
+ "em_25": [
4143
+ [
4144
+ 2,
4145
+ 3
4146
+ ],
4147
+ [
4148
+ 3,
4149
+ 4
4150
+ ],
4151
+ [
4152
+ 4,
4153
+ 5
4154
+ ],
4155
+ [
4156
+ 5,
4157
+ 6
4158
+ ],
4159
+ [
4160
+ 7,
4161
+ 2
4162
+ ],
4163
+ [
4164
+ 8,
4165
+ 10
4166
+ ],
4167
+ [
4168
+ 8,
4169
+ 11
4170
+ ],
4171
+ [
4172
+ 8,
4173
+ 19
4174
+ ],
4175
+ [
4176
+ 8,
4177
+ 26
4178
+ ],
4179
+ [
4180
+ 8,
4181
+ 33
4182
+ ],
4183
+ [
4184
+ 8,
4185
+ 40
4186
+ ],
4187
+ [
4188
+ 8,
4189
+ 48
4190
+ ],
4191
+ [
4192
+ 8,
4193
+ 55
4194
+ ],
4195
+ [
4196
+ 8,
4197
+ 62
4198
+ ],
4199
+ [
4200
+ 8,
4201
+ 70
4202
+ ],
4203
+ [
4204
+ 9,
4205
+ 0
4206
+ ],
4207
+ [
4208
+ 9,
4209
+ 1
4210
+ ],
4211
+ [
4212
+ 10,
4213
+ 9
4214
+ ],
4215
+ [
4216
+ 11,
4217
+ 12
4218
+ ],
4219
+ [
4220
+ 12,
4221
+ 13
4222
+ ],
4223
+ [
4224
+ 13,
4225
+ 14
4226
+ ],
4227
+ [
4228
+ 14,
4229
+ 15
4230
+ ],
4231
+ [
4232
+ 15,
4233
+ 16
4234
+ ],
4235
+ [
4236
+ 16,
4237
+ 17
4238
+ ],
4239
+ [
4240
+ 17,
4241
+ 18
4242
+ ],
4243
+ [
4244
+ 19,
4245
+ 23
4246
+ ],
4247
+ [
4248
+ 20,
4249
+ 21
4250
+ ],
4251
+ [
4252
+ 21,
4253
+ 22
4254
+ ],
4255
+ [
4256
+ 23,
4257
+ 24
4258
+ ],
4259
+ [
4260
+ 24,
4261
+ 25
4262
+ ],
4263
+ [
4264
+ 25,
4265
+ 20
4266
+ ],
4267
+ [
4268
+ 26,
4269
+ 30
4270
+ ],
4271
+ [
4272
+ 27,
4273
+ 28
4274
+ ],
4275
+ [
4276
+ 28,
4277
+ 29
4278
+ ],
4279
+ [
4280
+ 30,
4281
+ 31
4282
+ ],
4283
+ [
4284
+ 31,
4285
+ 32
4286
+ ],
4287
+ [
4288
+ 32,
4289
+ 27
4290
+ ],
4291
+ [
4292
+ 33,
4293
+ 37
4294
+ ],
4295
+ [
4296
+ 34,
4297
+ 35
4298
+ ],
4299
+ [
4300
+ 35,
4301
+ 36
4302
+ ],
4303
+ [
4304
+ 37,
4305
+ 38
4306
+ ],
4307
+ [
4308
+ 38,
4309
+ 39
4310
+ ],
4311
+ [
4312
+ 39,
4313
+ 34
4314
+ ],
4315
+ [
4316
+ 40,
4317
+ 41
4318
+ ],
4319
+ [
4320
+ 41,
4321
+ 42
4322
+ ],
4323
+ [
4324
+ 42,
4325
+ 43
4326
+ ],
4327
+ [
4328
+ 43,
4329
+ 44
4330
+ ],
4331
+ [
4332
+ 44,
4333
+ 45
4334
+ ],
4335
+ [
4336
+ 45,
4337
+ 46
4338
+ ],
4339
+ [
4340
+ 46,
4341
+ 47
4342
+ ],
4343
+ [
4344
+ 48,
4345
+ 52
4346
+ ],
4347
+ [
4348
+ 49,
4349
+ 50
4350
+ ],
4351
+ [
4352
+ 50,
4353
+ 51
4354
+ ],
4355
+ [
4356
+ 52,
4357
+ 53
4358
+ ],
4359
+ [
4360
+ 53,
4361
+ 54
4362
+ ],
4363
+ [
4364
+ 54,
4365
+ 49
4366
+ ],
4367
+ [
4368
+ 55,
4369
+ 59
4370
+ ],
4371
+ [
4372
+ 56,
4373
+ 57
4374
+ ],
4375
+ [
4376
+ 57,
4377
+ 58
4378
+ ],
4379
+ [
4380
+ 59,
4381
+ 60
4382
+ ],
4383
+ [
4384
+ 60,
4385
+ 61
4386
+ ],
4387
+ [
4388
+ 61,
4389
+ 56
4390
+ ],
4391
+ [
4392
+ 62,
4393
+ 66
4394
+ ],
4395
+ [
4396
+ 63,
4397
+ 64
4398
+ ],
4399
+ [
4400
+ 64,
4401
+ 65
4402
+ ],
4403
+ [
4404
+ 66,
4405
+ 67
4406
+ ],
4407
+ [
4408
+ 67,
4409
+ 68
4410
+ ],
4411
+ [
4412
+ 68,
4413
+ 63
4414
+ ],
4415
+ [
4416
+ 69,
4417
+ 8
4418
+ ],
4419
+ [
4420
+ 70,
4421
+ 7
4422
+ ]
4423
+ ],
4424
+ "em_26": [
4425
+ [
4426
+ 0,
4427
+ 28
4428
+ ],
4429
+ [
4430
+ 0,
4431
+ 32
4432
+ ],
4433
+ [
4434
+ 0,
4435
+ 55
4436
+ ],
4437
+ [
4438
+ 1,
4439
+ 9
4440
+ ],
4441
+ [
4442
+ 1,
4443
+ 37
4444
+ ],
4445
+ [
4446
+ 2,
4447
+ 1
4448
+ ],
4449
+ [
4450
+ 2,
4451
+ 5
4452
+ ],
4453
+ [
4454
+ 3,
4455
+ 23
4456
+ ],
4457
+ [
4458
+ 3,
4459
+ 50
4460
+ ],
4461
+ [
4462
+ 3,
4463
+ 60
4464
+ ],
4465
+ [
4466
+ 3,
4467
+ 61
4468
+ ],
4469
+ [
4470
+ 5,
4471
+ 4
4472
+ ],
4473
+ [
4474
+ 6,
4475
+ 13
4476
+ ],
4477
+ [
4478
+ 7,
4479
+ 8
4480
+ ],
4481
+ [
4482
+ 8,
4483
+ 6
4484
+ ],
4485
+ [
4486
+ 10,
4487
+ 11
4488
+ ],
4489
+ [
4490
+ 11,
4491
+ 12
4492
+ ],
4493
+ [
4494
+ 12,
4495
+ 15
4496
+ ],
4497
+ [
4498
+ 12,
4499
+ 25
4500
+ ],
4501
+ [
4502
+ 13,
4503
+ 14
4504
+ ],
4505
+ [
4506
+ 13,
4507
+ 29
4508
+ ],
4509
+ [
4510
+ 14,
4511
+ 19
4512
+ ],
4513
+ [
4514
+ 15,
4515
+ 16
4516
+ ],
4517
+ [
4518
+ 16,
4519
+ 17
4520
+ ],
4521
+ [
4522
+ 17,
4523
+ 18
4524
+ ],
4525
+ [
4526
+ 19,
4527
+ 20
4528
+ ],
4529
+ [
4530
+ 20,
4531
+ 21
4532
+ ],
4533
+ [
4534
+ 22,
4535
+ 10
4536
+ ],
4537
+ [
4538
+ 23,
4539
+ 24
4540
+ ],
4541
+ [
4542
+ 24,
4543
+ 22
4544
+ ],
4545
+ [
4546
+ 25,
4547
+ 26
4548
+ ],
4549
+ [
4550
+ 26,
4551
+ 27
4552
+ ],
4553
+ [
4554
+ 28,
4555
+ 7
4556
+ ],
4557
+ [
4558
+ 29,
4559
+ 30
4560
+ ],
4561
+ [
4562
+ 30,
4563
+ 31
4564
+ ],
4565
+ [
4566
+ 32,
4567
+ 33
4568
+ ],
4569
+ [
4570
+ 33,
4571
+ 2
4572
+ ],
4573
+ [
4574
+ 34,
4575
+ 41
4576
+ ],
4577
+ [
4578
+ 35,
4579
+ 36
4580
+ ],
4581
+ [
4582
+ 36,
4583
+ 34
4584
+ ],
4585
+ [
4586
+ 38,
4587
+ 39
4588
+ ],
4589
+ [
4590
+ 39,
4591
+ 40
4592
+ ],
4593
+ [
4594
+ 40,
4595
+ 43
4596
+ ],
4597
+ [
4598
+ 40,
4599
+ 52
4600
+ ],
4601
+ [
4602
+ 41,
4603
+ 42
4604
+ ],
4605
+ [
4606
+ 41,
4607
+ 56
4608
+ ],
4609
+ [
4610
+ 42,
4611
+ 46
4612
+ ],
4613
+ [
4614
+ 43,
4615
+ 44
4616
+ ],
4617
+ [
4618
+ 44,
4619
+ 45
4620
+ ],
4621
+ [
4622
+ 46,
4623
+ 47
4624
+ ],
4625
+ [
4626
+ 47,
4627
+ 48
4628
+ ],
4629
+ [
4630
+ 49,
4631
+ 38
4632
+ ],
4633
+ [
4634
+ 50,
4635
+ 51
4636
+ ],
4637
+ [
4638
+ 51,
4639
+ 49
4640
+ ],
4641
+ [
4642
+ 52,
4643
+ 53
4644
+ ],
4645
+ [
4646
+ 53,
4647
+ 54
4648
+ ],
4649
+ [
4650
+ 55,
4651
+ 35
4652
+ ],
4653
+ [
4654
+ 56,
4655
+ 57
4656
+ ],
4657
+ [
4658
+ 57,
4659
+ 58
4660
+ ],
4661
+ [
4662
+ 59,
4663
+ 3
4664
+ ],
4665
+ [
4666
+ 60,
4667
+ 0
4668
+ ],
4669
+ [
4670
+ 61,
4671
+ 62
4672
+ ],
4673
+ [
4674
+ 62,
4675
+ 67
4676
+ ],
4677
+ [
4678
+ 63,
4679
+ 64
4680
+ ],
4681
+ [
4682
+ 64,
4683
+ 65
4684
+ ],
4685
+ [
4686
+ 65,
4687
+ 66
4688
+ ],
4689
+ [
4690
+ 67,
4691
+ 68
4692
+ ],
4693
+ [
4694
+ 68,
4695
+ 69
4696
+ ],
4697
+ [
4698
+ 69,
4699
+ 70
4700
+ ],
4701
+ [
4702
+ 70,
4703
+ 71
4704
+ ],
4705
+ [
4706
+ 71,
4707
+ 72
4708
+ ],
4709
+ [
4710
+ 72,
4711
+ 73
4712
+ ],
4713
+ [
4714
+ 73,
4715
+ 74
4716
+ ],
4717
+ [
4718
+ 74,
4719
+ 63
4720
+ ]
4721
+ ],
4722
+ "em_27": [
4723
+ [
4724
+ 0,
4725
+ 21
4726
+ ],
4727
+ [
4728
+ 0,
4729
+ 28
4730
+ ],
4731
+ [
4732
+ 0,
4733
+ 48
4734
+ ],
4735
+ [
4736
+ 1,
4737
+ 4
4738
+ ],
4739
+ [
4740
+ 2,
4741
+ 16
4742
+ ],
4743
+ [
4744
+ 2,
4745
+ 43
4746
+ ],
4747
+ [
4748
+ 2,
4749
+ 56
4750
+ ],
4751
+ [
4752
+ 2,
4753
+ 58
4754
+ ],
4755
+ [
4756
+ 4,
4757
+ 3
4758
+ ],
4759
+ [
4760
+ 5,
4761
+ 6
4762
+ ],
4763
+ [
4764
+ 6,
4765
+ 7
4766
+ ],
4767
+ [
4768
+ 7,
4769
+ 9
4770
+ ],
4771
+ [
4772
+ 7,
4773
+ 18
4774
+ ],
4775
+ [
4776
+ 8,
4777
+ 12
4778
+ ],
4779
+ [
4780
+ 8,
4781
+ 22
4782
+ ],
4783
+ [
4784
+ 9,
4785
+ 10
4786
+ ],
4787
+ [
4788
+ 10,
4789
+ 11
4790
+ ],
4791
+ [
4792
+ 12,
4793
+ 13
4794
+ ],
4795
+ [
4796
+ 13,
4797
+ 14
4798
+ ],
4799
+ [
4800
+ 15,
4801
+ 5
4802
+ ],
4803
+ [
4804
+ 16,
4805
+ 17
4806
+ ],
4807
+ [
4808
+ 17,
4809
+ 15
4810
+ ],
4811
+ [
4812
+ 18,
4813
+ 19
4814
+ ],
4815
+ [
4816
+ 19,
4817
+ 20
4818
+ ],
4819
+ [
4820
+ 21,
4821
+ 26
4822
+ ],
4823
+ [
4824
+ 22,
4825
+ 23
4826
+ ],
4827
+ [
4828
+ 23,
4829
+ 24
4830
+ ],
4831
+ [
4832
+ 25,
4833
+ 8
4834
+ ],
4835
+ [
4836
+ 26,
4837
+ 27
4838
+ ],
4839
+ [
4840
+ 27,
4841
+ 25
4842
+ ],
4843
+ [
4844
+ 28,
4845
+ 29
4846
+ ],
4847
+ [
4848
+ 29,
4849
+ 30
4850
+ ],
4851
+ [
4852
+ 30,
4853
+ 31
4854
+ ],
4855
+ [
4856
+ 31,
4857
+ 1
4858
+ ],
4859
+ [
4860
+ 32,
4861
+ 33
4862
+ ],
4863
+ [
4864
+ 33,
4865
+ 34
4866
+ ],
4867
+ [
4868
+ 34,
4869
+ 36
4870
+ ],
4871
+ [
4872
+ 34,
4873
+ 45
4874
+ ],
4875
+ [
4876
+ 35,
4877
+ 39
4878
+ ],
4879
+ [
4880
+ 35,
4881
+ 49
4882
+ ],
4883
+ [
4884
+ 36,
4885
+ 37
4886
+ ],
4887
+ [
4888
+ 37,
4889
+ 38
4890
+ ],
4891
+ [
4892
+ 39,
4893
+ 40
4894
+ ],
4895
+ [
4896
+ 40,
4897
+ 41
4898
+ ],
4899
+ [
4900
+ 42,
4901
+ 32
4902
+ ],
4903
+ [
4904
+ 43,
4905
+ 44
4906
+ ],
4907
+ [
4908
+ 44,
4909
+ 42
4910
+ ],
4911
+ [
4912
+ 45,
4913
+ 46
4914
+ ],
4915
+ [
4916
+ 46,
4917
+ 47
4918
+ ],
4919
+ [
4920
+ 48,
4921
+ 53
4922
+ ],
4923
+ [
4924
+ 49,
4925
+ 50
4926
+ ],
4927
+ [
4928
+ 50,
4929
+ 51
4930
+ ],
4931
+ [
4932
+ 52,
4933
+ 35
4934
+ ],
4935
+ [
4936
+ 53,
4937
+ 54
4938
+ ],
4939
+ [
4940
+ 54,
4941
+ 52
4942
+ ],
4943
+ [
4944
+ 55,
4945
+ 2
4946
+ ],
4947
+ [
4948
+ 56,
4949
+ 57
4950
+ ],
4951
+ [
4952
+ 57,
4953
+ 0
4954
+ ],
4955
+ [
4956
+ 58,
4957
+ 59
4958
+ ],
4959
+ [
4960
+ 59,
4961
+ 60
4962
+ ],
4963
+ [
4964
+ 60,
4965
+ 61
4966
+ ],
4967
+ [
4968
+ 61,
4969
+ 62
4970
+ ],
4971
+ [
4972
+ 62,
4973
+ 63
4974
+ ]
4975
+ ],
4976
+ "em_29": [
4977
+ [
4978
+ 0,
4979
+ 25
4980
+ ],
4981
+ [
4982
+ 0,
4983
+ 28
4984
+ ],
4985
+ [
4986
+ 0,
4987
+ 57
4988
+ ],
4989
+ [
4990
+ 1,
4991
+ 18
4992
+ ],
4993
+ [
4994
+ 1,
4995
+ 50
4996
+ ],
4997
+ [
4998
+ 2,
4999
+ 20
5000
+ ],
5001
+ [
5002
+ 2,
5003
+ 52
5004
+ ],
5005
+ [
5006
+ 2,
5007
+ 67
5008
+ ],
5009
+ [
5010
+ 3,
5011
+ 9
5012
+ ],
5013
+ [
5014
+ 4,
5015
+ 5
5016
+ ],
5017
+ [
5018
+ 5,
5019
+ 3
5020
+ ],
5021
+ [
5022
+ 6,
5023
+ 7
5024
+ ],
5025
+ [
5026
+ 7,
5027
+ 8
5028
+ ],
5029
+ [
5030
+ 8,
5031
+ 11
5032
+ ],
5033
+ [
5034
+ 8,
5035
+ 22
5036
+ ],
5037
+ [
5038
+ 9,
5039
+ 10
5040
+ ],
5041
+ [
5042
+ 10,
5043
+ 14
5044
+ ],
5045
+ [
5046
+ 10,
5047
+ 26
5048
+ ],
5049
+ [
5050
+ 11,
5051
+ 12
5052
+ ],
5053
+ [
5054
+ 12,
5055
+ 13
5056
+ ],
5057
+ [
5058
+ 14,
5059
+ 15
5060
+ ],
5061
+ [
5062
+ 15,
5063
+ 16
5064
+ ],
5065
+ [
5066
+ 18,
5067
+ 17
5068
+ ],
5069
+ [
5070
+ 19,
5071
+ 6
5072
+ ],
5073
+ [
5074
+ 20,
5075
+ 21
5076
+ ],
5077
+ [
5078
+ 21,
5079
+ 19
5080
+ ],
5081
+ [
5082
+ 22,
5083
+ 23
5084
+ ],
5085
+ [
5086
+ 23,
5087
+ 24
5088
+ ],
5089
+ [
5090
+ 25,
5091
+ 4
5092
+ ],
5093
+ [
5094
+ 26,
5095
+ 27
5096
+ ],
5097
+ [
5098
+ 28,
5099
+ 29
5100
+ ],
5101
+ [
5102
+ 29,
5103
+ 30
5104
+ ],
5105
+ [
5106
+ 30,
5107
+ 31
5108
+ ],
5109
+ [
5110
+ 31,
5111
+ 32
5112
+ ],
5113
+ [
5114
+ 32,
5115
+ 33
5116
+ ],
5117
+ [
5118
+ 33,
5119
+ 34
5120
+ ],
5121
+ [
5122
+ 34,
5123
+ 1
5124
+ ],
5125
+ [
5126
+ 35,
5127
+ 41
5128
+ ],
5129
+ [
5130
+ 36,
5131
+ 37
5132
+ ],
5133
+ [
5134
+ 37,
5135
+ 35
5136
+ ],
5137
+ [
5138
+ 38,
5139
+ 39
5140
+ ],
5141
+ [
5142
+ 39,
5143
+ 40
5144
+ ],
5145
+ [
5146
+ 40,
5147
+ 43
5148
+ ],
5149
+ [
5150
+ 40,
5151
+ 54
5152
+ ],
5153
+ [
5154
+ 41,
5155
+ 42
5156
+ ],
5157
+ [
5158
+ 42,
5159
+ 46
5160
+ ],
5161
+ [
5162
+ 42,
5163
+ 58
5164
+ ],
5165
+ [
5166
+ 43,
5167
+ 44
5168
+ ],
5169
+ [
5170
+ 44,
5171
+ 45
5172
+ ],
5173
+ [
5174
+ 46,
5175
+ 47
5176
+ ],
5177
+ [
5178
+ 47,
5179
+ 48
5180
+ ],
5181
+ [
5182
+ 50,
5183
+ 49
5184
+ ],
5185
+ [
5186
+ 51,
5187
+ 38
5188
+ ],
5189
+ [
5190
+ 52,
5191
+ 53
5192
+ ],
5193
+ [
5194
+ 53,
5195
+ 51
5196
+ ],
5197
+ [
5198
+ 54,
5199
+ 55
5200
+ ],
5201
+ [
5202
+ 55,
5203
+ 56
5204
+ ],
5205
+ [
5206
+ 57,
5207
+ 36
5208
+ ],
5209
+ [
5210
+ 58,
5211
+ 59
5212
+ ],
5213
+ [
5214
+ 60,
5215
+ 61
5216
+ ],
5217
+ [
5218
+ 60,
5219
+ 62
5220
+ ],
5221
+ [
5222
+ 60,
5223
+ 63
5224
+ ],
5225
+ [
5226
+ 60,
5227
+ 64
5228
+ ],
5229
+ [
5230
+ 60,
5231
+ 65
5232
+ ],
5233
+ [
5234
+ 60,
5235
+ 66
5236
+ ],
5237
+ [
5238
+ 61,
5239
+ 0
5240
+ ],
5241
+ [
5242
+ 62,
5243
+ 2
5244
+ ],
5245
+ [
5246
+ 67,
5247
+ 68
5248
+ ],
5249
+ [
5250
+ 68,
5251
+ 69
5252
+ ],
5253
+ [
5254
+ 69,
5255
+ 70
5256
+ ],
5257
+ [
5258
+ 70,
5259
+ 71
5260
+ ],
5261
+ [
5262
+ 71,
5263
+ 72
5264
+ ],
5265
+ [
5266
+ 72,
5267
+ 73
5268
+ ],
5269
+ [
5270
+ 73,
5271
+ 74
5272
+ ]
5273
+ ],
5274
+ "em_3": [
5275
+ [
5276
+ 0,
5277
+ 23
5278
+ ],
5279
+ [
5280
+ 0,
5281
+ 28
5282
+ ],
5283
+ [
5284
+ 0,
5285
+ 50
5286
+ ],
5287
+ [
5288
+ 1,
5289
+ 4
5290
+ ],
5291
+ [
5292
+ 1,
5293
+ 5
5294
+ ],
5295
+ [
5296
+ 1,
5297
+ 32
5298
+ ],
5299
+ [
5300
+ 2,
5301
+ 18
5302
+ ],
5303
+ [
5304
+ 2,
5305
+ 45
5306
+ ],
5307
+ [
5308
+ 2,
5309
+ 56
5310
+ ],
5311
+ [
5312
+ 2,
5313
+ 58
5314
+ ],
5315
+ [
5316
+ 4,
5317
+ 3
5318
+ ],
5319
+ [
5320
+ 6,
5321
+ 7
5322
+ ],
5323
+ [
5324
+ 7,
5325
+ 8
5326
+ ],
5327
+ [
5328
+ 8,
5329
+ 10
5330
+ ],
5331
+ [
5332
+ 8,
5333
+ 20
5334
+ ],
5335
+ [
5336
+ 9,
5337
+ 13
5338
+ ],
5339
+ [
5340
+ 9,
5341
+ 24
5342
+ ],
5343
+ [
5344
+ 10,
5345
+ 11
5346
+ ],
5347
+ [
5348
+ 11,
5349
+ 12
5350
+ ],
5351
+ [
5352
+ 13,
5353
+ 14
5354
+ ],
5355
+ [
5356
+ 14,
5357
+ 15
5358
+ ],
5359
+ [
5360
+ 15,
5361
+ 16
5362
+ ],
5363
+ [
5364
+ 17,
5365
+ 6
5366
+ ],
5367
+ [
5368
+ 18,
5369
+ 19
5370
+ ],
5371
+ [
5372
+ 19,
5373
+ 17
5374
+ ],
5375
+ [
5376
+ 20,
5377
+ 21
5378
+ ],
5379
+ [
5380
+ 21,
5381
+ 22
5382
+ ],
5383
+ [
5384
+ 23,
5385
+ 26
5386
+ ],
5387
+ [
5388
+ 25,
5389
+ 9
5390
+ ],
5391
+ [
5392
+ 26,
5393
+ 27
5394
+ ],
5395
+ [
5396
+ 27,
5397
+ 25
5398
+ ],
5399
+ [
5400
+ 28,
5401
+ 29
5402
+ ],
5403
+ [
5404
+ 29,
5405
+ 30
5406
+ ],
5407
+ [
5408
+ 30,
5409
+ 31
5410
+ ],
5411
+ [
5412
+ 31,
5413
+ 1
5414
+ ],
5415
+ [
5416
+ 33,
5417
+ 34
5418
+ ],
5419
+ [
5420
+ 34,
5421
+ 35
5422
+ ],
5423
+ [
5424
+ 35,
5425
+ 37
5426
+ ],
5427
+ [
5428
+ 35,
5429
+ 47
5430
+ ],
5431
+ [
5432
+ 36,
5433
+ 40
5434
+ ],
5435
+ [
5436
+ 36,
5437
+ 51
5438
+ ],
5439
+ [
5440
+ 37,
5441
+ 38
5442
+ ],
5443
+ [
5444
+ 38,
5445
+ 39
5446
+ ],
5447
+ [
5448
+ 40,
5449
+ 41
5450
+ ],
5451
+ [
5452
+ 41,
5453
+ 42
5454
+ ],
5455
+ [
5456
+ 42,
5457
+ 43
5458
+ ],
5459
+ [
5460
+ 44,
5461
+ 33
5462
+ ],
5463
+ [
5464
+ 45,
5465
+ 46
5466
+ ],
5467
+ [
5468
+ 46,
5469
+ 44
5470
+ ],
5471
+ [
5472
+ 47,
5473
+ 48
5474
+ ],
5475
+ [
5476
+ 48,
5477
+ 49
5478
+ ],
5479
+ [
5480
+ 50,
5481
+ 53
5482
+ ],
5483
+ [
5484
+ 52,
5485
+ 36
5486
+ ],
5487
+ [
5488
+ 53,
5489
+ 54
5490
+ ],
5491
+ [
5492
+ 54,
5493
+ 52
5494
+ ],
5495
+ [
5496
+ 55,
5497
+ 2
5498
+ ],
5499
+ [
5500
+ 56,
5501
+ 57
5502
+ ],
5503
+ [
5504
+ 57,
5505
+ 0
5506
+ ],
5507
+ [
5508
+ 58,
5509
+ 59
5510
+ ],
5511
+ [
5512
+ 59,
5513
+ 60
5514
+ ],
5515
+ [
5516
+ 60,
5517
+ 61
5518
+ ],
5519
+ [
5520
+ 61,
5521
+ 62
5522
+ ],
5523
+ [
5524
+ 62,
5525
+ 63
5526
+ ],
5527
+ [
5528
+ 63,
5529
+ 64
5530
+ ],
5531
+ [
5532
+ 64,
5533
+ 65
5534
+ ]
5535
+ ],
5536
+ "em_30": [
5537
+ [
5538
+ 0,
5539
+ 23
5540
+ ],
5541
+ [
5542
+ 0,
5543
+ 25
5544
+ ],
5545
+ [
5546
+ 0,
5547
+ 52
5548
+ ],
5549
+ [
5550
+ 1,
5551
+ 17
5552
+ ],
5553
+ [
5554
+ 1,
5555
+ 46
5556
+ ],
5557
+ [
5558
+ 2,
5559
+ 19
5560
+ ],
5561
+ [
5562
+ 2,
5563
+ 48
5564
+ ],
5565
+ [
5566
+ 2,
5567
+ 59
5568
+ ],
5569
+ [
5570
+ 3,
5571
+ 9
5572
+ ],
5573
+ [
5574
+ 4,
5575
+ 5
5576
+ ],
5577
+ [
5578
+ 5,
5579
+ 3
5580
+ ],
5581
+ [
5582
+ 6,
5583
+ 7
5584
+ ],
5585
+ [
5586
+ 7,
5587
+ 8
5588
+ ],
5589
+ [
5590
+ 8,
5591
+ 11
5592
+ ],
5593
+ [
5594
+ 8,
5595
+ 21
5596
+ ],
5597
+ [
5598
+ 9,
5599
+ 10
5600
+ ],
5601
+ [
5602
+ 10,
5603
+ 13
5604
+ ],
5605
+ [
5606
+ 10,
5607
+ 24
5608
+ ],
5609
+ [
5610
+ 11,
5611
+ 12
5612
+ ],
5613
+ [
5614
+ 13,
5615
+ 14
5616
+ ],
5617
+ [
5618
+ 14,
5619
+ 15
5620
+ ],
5621
+ [
5622
+ 17,
5623
+ 16
5624
+ ],
5625
+ [
5626
+ 18,
5627
+ 6
5628
+ ],
5629
+ [
5630
+ 19,
5631
+ 20
5632
+ ],
5633
+ [
5634
+ 20,
5635
+ 18
5636
+ ],
5637
+ [
5638
+ 21,
5639
+ 22
5640
+ ],
5641
+ [
5642
+ 23,
5643
+ 4
5644
+ ],
5645
+ [
5646
+ 25,
5647
+ 26
5648
+ ],
5649
+ [
5650
+ 26,
5651
+ 27
5652
+ ],
5653
+ [
5654
+ 26,
5655
+ 68
5656
+ ],
5657
+ [
5658
+ 27,
5659
+ 28
5660
+ ],
5661
+ [
5662
+ 28,
5663
+ 29
5664
+ ],
5665
+ [
5666
+ 29,
5667
+ 30
5668
+ ],
5669
+ [
5670
+ 30,
5671
+ 31
5672
+ ],
5673
+ [
5674
+ 31,
5675
+ 1
5676
+ ],
5677
+ [
5678
+ 31,
5679
+ 69
5680
+ ],
5681
+ [
5682
+ 32,
5683
+ 38
5684
+ ],
5685
+ [
5686
+ 33,
5687
+ 34
5688
+ ],
5689
+ [
5690
+ 34,
5691
+ 32
5692
+ ],
5693
+ [
5694
+ 35,
5695
+ 36
5696
+ ],
5697
+ [
5698
+ 36,
5699
+ 37
5700
+ ],
5701
+ [
5702
+ 37,
5703
+ 40
5704
+ ],
5705
+ [
5706
+ 37,
5707
+ 50
5708
+ ],
5709
+ [
5710
+ 38,
5711
+ 39
5712
+ ],
5713
+ [
5714
+ 39,
5715
+ 42
5716
+ ],
5717
+ [
5718
+ 39,
5719
+ 53
5720
+ ],
5721
+ [
5722
+ 40,
5723
+ 41
5724
+ ],
5725
+ [
5726
+ 42,
5727
+ 43
5728
+ ],
5729
+ [
5730
+ 43,
5731
+ 44
5732
+ ],
5733
+ [
5734
+ 46,
5735
+ 45
5736
+ ],
5737
+ [
5738
+ 47,
5739
+ 35
5740
+ ],
5741
+ [
5742
+ 48,
5743
+ 49
5744
+ ],
5745
+ [
5746
+ 49,
5747
+ 47
5748
+ ],
5749
+ [
5750
+ 50,
5751
+ 51
5752
+ ],
5753
+ [
5754
+ 52,
5755
+ 33
5756
+ ],
5757
+ [
5758
+ 54,
5759
+ 55
5760
+ ],
5761
+ [
5762
+ 54,
5763
+ 56
5764
+ ],
5765
+ [
5766
+ 54,
5767
+ 57
5768
+ ],
5769
+ [
5770
+ 55,
5771
+ 58
5772
+ ],
5773
+ [
5774
+ 56,
5775
+ 2
5776
+ ],
5777
+ [
5778
+ 58,
5779
+ 0
5780
+ ],
5781
+ [
5782
+ 59,
5783
+ 60
5784
+ ],
5785
+ [
5786
+ 60,
5787
+ 61
5788
+ ],
5789
+ [
5790
+ 61,
5791
+ 62
5792
+ ],
5793
+ [
5794
+ 62,
5795
+ 63
5796
+ ],
5797
+ [
5798
+ 63,
5799
+ 64
5800
+ ],
5801
+ [
5802
+ 64,
5803
+ 65
5804
+ ],
5805
+ [
5806
+ 65,
5807
+ 66
5808
+ ],
5809
+ [
5810
+ 66,
5811
+ 67
5812
+ ]
5813
+ ],
5814
+ "em_31": [
5815
+ [
5816
+ 0,
5817
+ 1
5818
+ ],
5819
+ [
5820
+ 1,
5821
+ 2
5822
+ ],
5823
+ [
5824
+ 2,
5825
+ 3
5826
+ ],
5827
+ [
5828
+ 3,
5829
+ 4
5830
+ ],
5831
+ [
5832
+ 3,
5833
+ 10
5834
+ ],
5835
+ [
5836
+ 4,
5837
+ 5
5838
+ ],
5839
+ [
5840
+ 5,
5841
+ 6
5842
+ ],
5843
+ [
5844
+ 6,
5845
+ 7
5846
+ ],
5847
+ [
5848
+ 7,
5849
+ 8
5850
+ ],
5851
+ [
5852
+ 8,
5853
+ 9
5854
+ ],
5855
+ [
5856
+ 10,
5857
+ 11
5858
+ ],
5859
+ [
5860
+ 11,
5861
+ 12
5862
+ ],
5863
+ [
5864
+ 13,
5865
+ 0
5866
+ ],
5867
+ [
5868
+ 14,
5869
+ 15
5870
+ ],
5871
+ [
5872
+ 14,
5873
+ 24
5874
+ ],
5875
+ [
5876
+ 14,
5877
+ 32
5878
+ ],
5879
+ [
5880
+ 14,
5881
+ 39
5882
+ ],
5883
+ [
5884
+ 14,
5885
+ 45
5886
+ ],
5887
+ [
5888
+ 14,
5889
+ 54
5890
+ ],
5891
+ [
5892
+ 14,
5893
+ 62
5894
+ ],
5895
+ [
5896
+ 14,
5897
+ 69
5898
+ ],
5899
+ [
5900
+ 14,
5901
+ 76
5902
+ ],
5903
+ [
5904
+ 15,
5905
+ 16
5906
+ ],
5907
+ [
5908
+ 16,
5909
+ 17
5910
+ ],
5911
+ [
5912
+ 17,
5913
+ 18
5914
+ ],
5915
+ [
5916
+ 18,
5917
+ 19
5918
+ ],
5919
+ [
5920
+ 19,
5921
+ 20
5922
+ ],
5923
+ [
5924
+ 20,
5925
+ 21
5926
+ ],
5927
+ [
5928
+ 21,
5929
+ 22
5930
+ ],
5931
+ [
5932
+ 23,
5933
+ 26
5934
+ ],
5935
+ [
5936
+ 23,
5937
+ 29
5938
+ ],
5939
+ [
5940
+ 24,
5941
+ 23
5942
+ ],
5943
+ [
5944
+ 26,
5945
+ 27
5946
+ ],
5947
+ [
5948
+ 27,
5949
+ 28
5950
+ ],
5951
+ [
5952
+ 28,
5953
+ 25
5954
+ ],
5955
+ [
5956
+ 30,
5957
+ 34
5958
+ ],
5959
+ [
5960
+ 30,
5961
+ 37
5962
+ ],
5963
+ [
5964
+ 32,
5965
+ 30
5966
+ ],
5967
+ [
5968
+ 32,
5969
+ 31
5970
+ ],
5971
+ [
5972
+ 34,
5973
+ 35
5974
+ ],
5975
+ [
5976
+ 35,
5977
+ 36
5978
+ ],
5979
+ [
5980
+ 36,
5981
+ 33
5982
+ ],
5983
+ [
5984
+ 38,
5985
+ 41
5986
+ ],
5987
+ [
5988
+ 38,
5989
+ 44
5990
+ ],
5991
+ [
5992
+ 39,
5993
+ 38
5994
+ ],
5995
+ [
5996
+ 41,
5997
+ 42
5998
+ ],
5999
+ [
6000
+ 42,
6001
+ 43
6002
+ ],
6003
+ [
6004
+ 43,
6005
+ 40
6006
+ ],
6007
+ [
6008
+ 45,
6009
+ 46
6010
+ ],
6011
+ [
6012
+ 46,
6013
+ 47
6014
+ ],
6015
+ [
6016
+ 47,
6017
+ 48
6018
+ ],
6019
+ [
6020
+ 48,
6021
+ 49
6022
+ ],
6023
+ [
6024
+ 49,
6025
+ 50
6026
+ ],
6027
+ [
6028
+ 50,
6029
+ 51
6030
+ ],
6031
+ [
6032
+ 51,
6033
+ 52
6034
+ ],
6035
+ [
6036
+ 53,
6037
+ 56
6038
+ ],
6039
+ [
6040
+ 53,
6041
+ 59
6042
+ ],
6043
+ [
6044
+ 54,
6045
+ 53
6046
+ ],
6047
+ [
6048
+ 56,
6049
+ 57
6050
+ ],
6051
+ [
6052
+ 57,
6053
+ 58
6054
+ ],
6055
+ [
6056
+ 58,
6057
+ 55
6058
+ ],
6059
+ [
6060
+ 60,
6061
+ 64
6062
+ ],
6063
+ [
6064
+ 60,
6065
+ 67
6066
+ ],
6067
+ [
6068
+ 62,
6069
+ 60
6070
+ ],
6071
+ [
6072
+ 62,
6073
+ 61
6074
+ ],
6075
+ [
6076
+ 64,
6077
+ 65
6078
+ ],
6079
+ [
6080
+ 65,
6081
+ 66
6082
+ ],
6083
+ [
6084
+ 66,
6085
+ 63
6086
+ ],
6087
+ [
6088
+ 68,
6089
+ 71
6090
+ ],
6091
+ [
6092
+ 68,
6093
+ 74
6094
+ ],
6095
+ [
6096
+ 69,
6097
+ 68
6098
+ ],
6099
+ [
6100
+ 71,
6101
+ 72
6102
+ ],
6103
+ [
6104
+ 72,
6105
+ 73
6106
+ ],
6107
+ [
6108
+ 73,
6109
+ 70
6110
+ ],
6111
+ [
6112
+ 75,
6113
+ 14
6114
+ ],
6115
+ [
6116
+ 76,
6117
+ 13
6118
+ ]
6119
+ ],
6120
+ "em_4": [
6121
+ [
6122
+ 0,
6123
+ 21
6124
+ ],
6125
+ [
6126
+ 0,
6127
+ 26
6128
+ ],
6129
+ [
6130
+ 0,
6131
+ 47
6132
+ ],
6133
+ [
6134
+ 1,
6135
+ 3
6136
+ ],
6137
+ [
6138
+ 2,
6139
+ 16
6140
+ ],
6141
+ [
6142
+ 2,
6143
+ 42
6144
+ ],
6145
+ [
6146
+ 2,
6147
+ 53
6148
+ ],
6149
+ [
6150
+ 2,
6151
+ 55
6152
+ ],
6153
+ [
6154
+ 4,
6155
+ 5
6156
+ ],
6157
+ [
6158
+ 5,
6159
+ 6
6160
+ ],
6161
+ [
6162
+ 6,
6163
+ 8
6164
+ ],
6165
+ [
6166
+ 6,
6167
+ 18
6168
+ ],
6169
+ [
6170
+ 7,
6171
+ 11
6172
+ ],
6173
+ [
6174
+ 7,
6175
+ 22
6176
+ ],
6177
+ [
6178
+ 8,
6179
+ 9
6180
+ ],
6181
+ [
6182
+ 9,
6183
+ 10
6184
+ ],
6185
+ [
6186
+ 11,
6187
+ 12
6188
+ ],
6189
+ [
6190
+ 12,
6191
+ 13
6192
+ ],
6193
+ [
6194
+ 13,
6195
+ 14
6196
+ ],
6197
+ [
6198
+ 15,
6199
+ 4
6200
+ ],
6201
+ [
6202
+ 16,
6203
+ 17
6204
+ ],
6205
+ [
6206
+ 17,
6207
+ 15
6208
+ ],
6209
+ [
6210
+ 18,
6211
+ 19
6212
+ ],
6213
+ [
6214
+ 19,
6215
+ 20
6216
+ ],
6217
+ [
6218
+ 21,
6219
+ 24
6220
+ ],
6221
+ [
6222
+ 23,
6223
+ 7
6224
+ ],
6225
+ [
6226
+ 24,
6227
+ 25
6228
+ ],
6229
+ [
6230
+ 25,
6231
+ 23
6232
+ ],
6233
+ [
6234
+ 26,
6235
+ 27
6236
+ ],
6237
+ [
6238
+ 27,
6239
+ 28
6240
+ ],
6241
+ [
6242
+ 28,
6243
+ 29
6244
+ ],
6245
+ [
6246
+ 29,
6247
+ 1
6248
+ ],
6249
+ [
6250
+ 30,
6251
+ 31
6252
+ ],
6253
+ [
6254
+ 31,
6255
+ 32
6256
+ ],
6257
+ [
6258
+ 32,
6259
+ 34
6260
+ ],
6261
+ [
6262
+ 32,
6263
+ 44
6264
+ ],
6265
+ [
6266
+ 33,
6267
+ 37
6268
+ ],
6269
+ [
6270
+ 33,
6271
+ 48
6272
+ ],
6273
+ [
6274
+ 34,
6275
+ 35
6276
+ ],
6277
+ [
6278
+ 35,
6279
+ 36
6280
+ ],
6281
+ [
6282
+ 37,
6283
+ 38
6284
+ ],
6285
+ [
6286
+ 38,
6287
+ 39
6288
+ ],
6289
+ [
6290
+ 39,
6291
+ 40
6292
+ ],
6293
+ [
6294
+ 41,
6295
+ 30
6296
+ ],
6297
+ [
6298
+ 42,
6299
+ 43
6300
+ ],
6301
+ [
6302
+ 43,
6303
+ 41
6304
+ ],
6305
+ [
6306
+ 44,
6307
+ 45
6308
+ ],
6309
+ [
6310
+ 45,
6311
+ 46
6312
+ ],
6313
+ [
6314
+ 47,
6315
+ 50
6316
+ ],
6317
+ [
6318
+ 49,
6319
+ 33
6320
+ ],
6321
+ [
6322
+ 50,
6323
+ 51
6324
+ ],
6325
+ [
6326
+ 51,
6327
+ 49
6328
+ ],
6329
+ [
6330
+ 52,
6331
+ 2
6332
+ ],
6333
+ [
6334
+ 53,
6335
+ 54
6336
+ ],
6337
+ [
6338
+ 54,
6339
+ 0
6340
+ ],
6341
+ [
6342
+ 55,
6343
+ 56
6344
+ ],
6345
+ [
6346
+ 56,
6347
+ 57
6348
+ ],
6349
+ [
6350
+ 57,
6351
+ 58
6352
+ ],
6353
+ [
6354
+ 58,
6355
+ 59
6356
+ ],
6357
+ [
6358
+ 59,
6359
+ 60
6360
+ ]
6361
+ ],
6362
+ "em_5": [
6363
+ [
6364
+ 0,
6365
+ 21
6366
+ ],
6367
+ [
6368
+ 0,
6369
+ 26
6370
+ ],
6371
+ [
6372
+ 0,
6373
+ 47
6374
+ ],
6375
+ [
6376
+ 1,
6377
+ 3
6378
+ ],
6379
+ [
6380
+ 2,
6381
+ 16
6382
+ ],
6383
+ [
6384
+ 2,
6385
+ 42
6386
+ ],
6387
+ [
6388
+ 2,
6389
+ 53
6390
+ ],
6391
+ [
6392
+ 2,
6393
+ 55
6394
+ ],
6395
+ [
6396
+ 4,
6397
+ 5
6398
+ ],
6399
+ [
6400
+ 5,
6401
+ 6
6402
+ ],
6403
+ [
6404
+ 6,
6405
+ 8
6406
+ ],
6407
+ [
6408
+ 6,
6409
+ 18
6410
+ ],
6411
+ [
6412
+ 7,
6413
+ 11
6414
+ ],
6415
+ [
6416
+ 7,
6417
+ 22
6418
+ ],
6419
+ [
6420
+ 8,
6421
+ 9
6422
+ ],
6423
+ [
6424
+ 9,
6425
+ 10
6426
+ ],
6427
+ [
6428
+ 11,
6429
+ 12
6430
+ ],
6431
+ [
6432
+ 12,
6433
+ 13
6434
+ ],
6435
+ [
6436
+ 13,
6437
+ 14
6438
+ ],
6439
+ [
6440
+ 15,
6441
+ 4
6442
+ ],
6443
+ [
6444
+ 16,
6445
+ 17
6446
+ ],
6447
+ [
6448
+ 17,
6449
+ 15
6450
+ ],
6451
+ [
6452
+ 18,
6453
+ 19
6454
+ ],
6455
+ [
6456
+ 19,
6457
+ 20
6458
+ ],
6459
+ [
6460
+ 21,
6461
+ 24
6462
+ ],
6463
+ [
6464
+ 23,
6465
+ 7
6466
+ ],
6467
+ [
6468
+ 24,
6469
+ 25
6470
+ ],
6471
+ [
6472
+ 25,
6473
+ 23
6474
+ ],
6475
+ [
6476
+ 26,
6477
+ 27
6478
+ ],
6479
+ [
6480
+ 27,
6481
+ 28
6482
+ ],
6483
+ [
6484
+ 28,
6485
+ 29
6486
+ ],
6487
+ [
6488
+ 29,
6489
+ 1
6490
+ ],
6491
+ [
6492
+ 30,
6493
+ 31
6494
+ ],
6495
+ [
6496
+ 31,
6497
+ 32
6498
+ ],
6499
+ [
6500
+ 32,
6501
+ 34
6502
+ ],
6503
+ [
6504
+ 32,
6505
+ 44
6506
+ ],
6507
+ [
6508
+ 33,
6509
+ 37
6510
+ ],
6511
+ [
6512
+ 33,
6513
+ 48
6514
+ ],
6515
+ [
6516
+ 34,
6517
+ 35
6518
+ ],
6519
+ [
6520
+ 35,
6521
+ 36
6522
+ ],
6523
+ [
6524
+ 37,
6525
+ 38
6526
+ ],
6527
+ [
6528
+ 38,
6529
+ 39
6530
+ ],
6531
+ [
6532
+ 39,
6533
+ 40
6534
+ ],
6535
+ [
6536
+ 41,
6537
+ 30
6538
+ ],
6539
+ [
6540
+ 42,
6541
+ 43
6542
+ ],
6543
+ [
6544
+ 43,
6545
+ 41
6546
+ ],
6547
+ [
6548
+ 44,
6549
+ 45
6550
+ ],
6551
+ [
6552
+ 45,
6553
+ 46
6554
+ ],
6555
+ [
6556
+ 47,
6557
+ 50
6558
+ ],
6559
+ [
6560
+ 49,
6561
+ 33
6562
+ ],
6563
+ [
6564
+ 50,
6565
+ 51
6566
+ ],
6567
+ [
6568
+ 51,
6569
+ 49
6570
+ ],
6571
+ [
6572
+ 52,
6573
+ 2
6574
+ ],
6575
+ [
6576
+ 53,
6577
+ 54
6578
+ ],
6579
+ [
6580
+ 54,
6581
+ 0
6582
+ ],
6583
+ [
6584
+ 55,
6585
+ 56
6586
+ ],
6587
+ [
6588
+ 56,
6589
+ 57
6590
+ ],
6591
+ [
6592
+ 57,
6593
+ 58
6594
+ ],
6595
+ [
6596
+ 58,
6597
+ 59
6598
+ ],
6599
+ [
6600
+ 59,
6601
+ 60
6602
+ ],
6603
+ [
6604
+ 60,
6605
+ 61
6606
+ ],
6607
+ [
6608
+ 61,
6609
+ 62
6610
+ ],
6611
+ [
6612
+ 62,
6613
+ 63
6614
+ ],
6615
+ [
6616
+ 63,
6617
+ 64
6618
+ ],
6619
+ [
6620
+ 64,
6621
+ 65
6622
+ ]
6623
+ ],
6624
+ "em_6": [
6625
+ [
6626
+ 0,
6627
+ 27
6628
+ ],
6629
+ [
6630
+ 0,
6631
+ 31
6632
+ ],
6633
+ [
6634
+ 0,
6635
+ 54
6636
+ ],
6637
+ [
6638
+ 1,
6639
+ 9
6640
+ ],
6641
+ [
6642
+ 1,
6643
+ 36
6644
+ ],
6645
+ [
6646
+ 2,
6647
+ 1
6648
+ ],
6649
+ [
6650
+ 2,
6651
+ 5
6652
+ ],
6653
+ [
6654
+ 3,
6655
+ 22
6656
+ ],
6657
+ [
6658
+ 3,
6659
+ 49
6660
+ ],
6661
+ [
6662
+ 3,
6663
+ 59
6664
+ ],
6665
+ [
6666
+ 3,
6667
+ 60
6668
+ ],
6669
+ [
6670
+ 5,
6671
+ 4
6672
+ ],
6673
+ [
6674
+ 6,
6675
+ 13
6676
+ ],
6677
+ [
6678
+ 7,
6679
+ 8
6680
+ ],
6681
+ [
6682
+ 8,
6683
+ 6
6684
+ ],
6685
+ [
6686
+ 10,
6687
+ 11
6688
+ ],
6689
+ [
6690
+ 11,
6691
+ 12
6692
+ ],
6693
+ [
6694
+ 12,
6695
+ 15
6696
+ ],
6697
+ [
6698
+ 12,
6699
+ 24
6700
+ ],
6701
+ [
6702
+ 13,
6703
+ 14
6704
+ ],
6705
+ [
6706
+ 13,
6707
+ 28
6708
+ ],
6709
+ [
6710
+ 14,
6711
+ 18
6712
+ ],
6713
+ [
6714
+ 15,
6715
+ 16
6716
+ ],
6717
+ [
6718
+ 16,
6719
+ 17
6720
+ ],
6721
+ [
6722
+ 18,
6723
+ 19
6724
+ ],
6725
+ [
6726
+ 19,
6727
+ 20
6728
+ ],
6729
+ [
6730
+ 21,
6731
+ 10
6732
+ ],
6733
+ [
6734
+ 22,
6735
+ 23
6736
+ ],
6737
+ [
6738
+ 23,
6739
+ 21
6740
+ ],
6741
+ [
6742
+ 24,
6743
+ 25
6744
+ ],
6745
+ [
6746
+ 25,
6747
+ 26
6748
+ ],
6749
+ [
6750
+ 27,
6751
+ 7
6752
+ ],
6753
+ [
6754
+ 28,
6755
+ 29
6756
+ ],
6757
+ [
6758
+ 29,
6759
+ 30
6760
+ ],
6761
+ [
6762
+ 31,
6763
+ 32
6764
+ ],
6765
+ [
6766
+ 32,
6767
+ 2
6768
+ ],
6769
+ [
6770
+ 33,
6771
+ 40
6772
+ ],
6773
+ [
6774
+ 34,
6775
+ 35
6776
+ ],
6777
+ [
6778
+ 35,
6779
+ 33
6780
+ ],
6781
+ [
6782
+ 37,
6783
+ 38
6784
+ ],
6785
+ [
6786
+ 38,
6787
+ 39
6788
+ ],
6789
+ [
6790
+ 39,
6791
+ 42
6792
+ ],
6793
+ [
6794
+ 39,
6795
+ 51
6796
+ ],
6797
+ [
6798
+ 40,
6799
+ 41
6800
+ ],
6801
+ [
6802
+ 40,
6803
+ 55
6804
+ ],
6805
+ [
6806
+ 41,
6807
+ 45
6808
+ ],
6809
+ [
6810
+ 42,
6811
+ 43
6812
+ ],
6813
+ [
6814
+ 43,
6815
+ 44
6816
+ ],
6817
+ [
6818
+ 45,
6819
+ 46
6820
+ ],
6821
+ [
6822
+ 46,
6823
+ 47
6824
+ ],
6825
+ [
6826
+ 48,
6827
+ 37
6828
+ ],
6829
+ [
6830
+ 49,
6831
+ 50
6832
+ ],
6833
+ [
6834
+ 50,
6835
+ 48
6836
+ ],
6837
+ [
6838
+ 51,
6839
+ 52
6840
+ ],
6841
+ [
6842
+ 52,
6843
+ 53
6844
+ ],
6845
+ [
6846
+ 54,
6847
+ 34
6848
+ ],
6849
+ [
6850
+ 55,
6851
+ 56
6852
+ ],
6853
+ [
6854
+ 56,
6855
+ 57
6856
+ ],
6857
+ [
6858
+ 58,
6859
+ 3
6860
+ ],
6861
+ [
6862
+ 59,
6863
+ 0
6864
+ ],
6865
+ [
6866
+ 60,
6867
+ 61
6868
+ ],
6869
+ [
6870
+ 61,
6871
+ 65
6872
+ ],
6873
+ [
6874
+ 62,
6875
+ 63
6876
+ ],
6877
+ [
6878
+ 63,
6879
+ 64
6880
+ ],
6881
+ [
6882
+ 65,
6883
+ 66
6884
+ ],
6885
+ [
6886
+ 66,
6887
+ 67
6888
+ ],
6889
+ [
6890
+ 67,
6891
+ 68
6892
+ ],
6893
+ [
6894
+ 68,
6895
+ 69
6896
+ ],
6897
+ [
6898
+ 69,
6899
+ 70
6900
+ ],
6901
+ [
6902
+ 70,
6903
+ 71
6904
+ ],
6905
+ [
6906
+ 71,
6907
+ 72
6908
+ ],
6909
+ [
6910
+ 72,
6911
+ 62
6912
+ ]
6913
+ ],
6914
+ "em_7": [
6915
+ [
6916
+ 0,
6917
+ 26
6918
+ ],
6919
+ [
6920
+ 0,
6921
+ 30
6922
+ ],
6923
+ [
6924
+ 0,
6925
+ 53
6926
+ ],
6927
+ [
6928
+ 1,
6929
+ 4
6930
+ ],
6931
+ [
6932
+ 1,
6933
+ 8
6934
+ ],
6935
+ [
6936
+ 1,
6937
+ 35
6938
+ ],
6939
+ [
6940
+ 2,
6941
+ 21
6942
+ ],
6943
+ [
6944
+ 2,
6945
+ 48
6946
+ ],
6947
+ [
6948
+ 2,
6949
+ 58
6950
+ ],
6951
+ [
6952
+ 2,
6953
+ 59
6954
+ ],
6955
+ [
6956
+ 4,
6957
+ 3
6958
+ ],
6959
+ [
6960
+ 5,
6961
+ 12
6962
+ ],
6963
+ [
6964
+ 6,
6965
+ 7
6966
+ ],
6967
+ [
6968
+ 7,
6969
+ 5
6970
+ ],
6971
+ [
6972
+ 9,
6973
+ 10
6974
+ ],
6975
+ [
6976
+ 10,
6977
+ 11
6978
+ ],
6979
+ [
6980
+ 11,
6981
+ 14
6982
+ ],
6983
+ [
6984
+ 11,
6985
+ 23
6986
+ ],
6987
+ [
6988
+ 12,
6989
+ 13
6990
+ ],
6991
+ [
6992
+ 12,
6993
+ 27
6994
+ ],
6995
+ [
6996
+ 13,
6997
+ 17
6998
+ ],
6999
+ [
7000
+ 14,
7001
+ 15
7002
+ ],
7003
+ [
7004
+ 15,
7005
+ 16
7006
+ ],
7007
+ [
7008
+ 17,
7009
+ 18
7010
+ ],
7011
+ [
7012
+ 18,
7013
+ 19
7014
+ ],
7015
+ [
7016
+ 20,
7017
+ 9
7018
+ ],
7019
+ [
7020
+ 21,
7021
+ 22
7022
+ ],
7023
+ [
7024
+ 22,
7025
+ 20
7026
+ ],
7027
+ [
7028
+ 23,
7029
+ 24
7030
+ ],
7031
+ [
7032
+ 24,
7033
+ 25
7034
+ ],
7035
+ [
7036
+ 26,
7037
+ 6
7038
+ ],
7039
+ [
7040
+ 27,
7041
+ 28
7042
+ ],
7043
+ [
7044
+ 28,
7045
+ 29
7046
+ ],
7047
+ [
7048
+ 30,
7049
+ 31
7050
+ ],
7051
+ [
7052
+ 31,
7053
+ 1
7054
+ ],
7055
+ [
7056
+ 32,
7057
+ 39
7058
+ ],
7059
+ [
7060
+ 33,
7061
+ 34
7062
+ ],
7063
+ [
7064
+ 34,
7065
+ 32
7066
+ ],
7067
+ [
7068
+ 36,
7069
+ 37
7070
+ ],
7071
+ [
7072
+ 37,
7073
+ 38
7074
+ ],
7075
+ [
7076
+ 38,
7077
+ 41
7078
+ ],
7079
+ [
7080
+ 38,
7081
+ 50
7082
+ ],
7083
+ [
7084
+ 39,
7085
+ 40
7086
+ ],
7087
+ [
7088
+ 39,
7089
+ 54
7090
+ ],
7091
+ [
7092
+ 40,
7093
+ 44
7094
+ ],
7095
+ [
7096
+ 41,
7097
+ 42
7098
+ ],
7099
+ [
7100
+ 42,
7101
+ 43
7102
+ ],
7103
+ [
7104
+ 44,
7105
+ 45
7106
+ ],
7107
+ [
7108
+ 45,
7109
+ 46
7110
+ ],
7111
+ [
7112
+ 47,
7113
+ 36
7114
+ ],
7115
+ [
7116
+ 48,
7117
+ 49
7118
+ ],
7119
+ [
7120
+ 49,
7121
+ 47
7122
+ ],
7123
+ [
7124
+ 50,
7125
+ 51
7126
+ ],
7127
+ [
7128
+ 51,
7129
+ 52
7130
+ ],
7131
+ [
7132
+ 53,
7133
+ 33
7134
+ ],
7135
+ [
7136
+ 54,
7137
+ 55
7138
+ ],
7139
+ [
7140
+ 55,
7141
+ 56
7142
+ ],
7143
+ [
7144
+ 57,
7145
+ 2
7146
+ ],
7147
+ [
7148
+ 58,
7149
+ 0
7150
+ ],
7151
+ [
7152
+ 59,
7153
+ 60
7154
+ ],
7155
+ [
7156
+ 60,
7157
+ 61
7158
+ ],
7159
+ [
7160
+ 61,
7161
+ 62
7162
+ ],
7163
+ [
7164
+ 62,
7165
+ 63
7166
+ ],
7167
+ [
7168
+ 63,
7169
+ 64
7170
+ ],
7171
+ [
7172
+ 64,
7173
+ 65
7174
+ ],
7175
+ [
7176
+ 65,
7177
+ 66
7178
+ ]
7179
+ ],
7180
+ "em_9": [
7181
+ [
7182
+ 1,
7183
+ 3
7184
+ ],
7185
+ [
7186
+ 1,
7187
+ 9
7188
+ ],
7189
+ [
7190
+ 1,
7191
+ 28
7192
+ ],
7193
+ [
7194
+ 2,
7195
+ 1
7196
+ ],
7197
+ [
7198
+ 2,
7199
+ 4
7200
+ ],
7201
+ [
7202
+ 2,
7203
+ 11
7204
+ ],
7205
+ [
7206
+ 2,
7207
+ 17
7208
+ ],
7209
+ [
7210
+ 2,
7211
+ 23
7212
+ ],
7213
+ [
7214
+ 2,
7215
+ 30
7216
+ ],
7217
+ [
7218
+ 2,
7219
+ 36
7220
+ ],
7221
+ [
7222
+ 2,
7223
+ 43
7224
+ ],
7225
+ [
7226
+ 3,
7227
+ 10
7228
+ ],
7229
+ [
7230
+ 3,
7231
+ 29
7232
+ ],
7233
+ [
7234
+ 4,
7235
+ 5
7236
+ ],
7237
+ [
7238
+ 5,
7239
+ 6
7240
+ ],
7241
+ [
7242
+ 6,
7243
+ 7
7244
+ ],
7245
+ [
7246
+ 7,
7247
+ 8
7248
+ ],
7249
+ [
7250
+ 11,
7251
+ 12
7252
+ ],
7253
+ [
7254
+ 12,
7255
+ 13
7256
+ ],
7257
+ [
7258
+ 13,
7259
+ 14
7260
+ ],
7261
+ [
7262
+ 14,
7263
+ 15
7264
+ ],
7265
+ [
7266
+ 15,
7267
+ 16
7268
+ ],
7269
+ [
7270
+ 17,
7271
+ 18
7272
+ ],
7273
+ [
7274
+ 18,
7275
+ 19
7276
+ ],
7277
+ [
7278
+ 19,
7279
+ 20
7280
+ ],
7281
+ [
7282
+ 20,
7283
+ 21
7284
+ ],
7285
+ [
7286
+ 21,
7287
+ 22
7288
+ ],
7289
+ [
7290
+ 23,
7291
+ 24
7292
+ ],
7293
+ [
7294
+ 24,
7295
+ 25
7296
+ ],
7297
+ [
7298
+ 25,
7299
+ 26
7300
+ ],
7301
+ [
7302
+ 26,
7303
+ 27
7304
+ ],
7305
+ [
7306
+ 30,
7307
+ 31
7308
+ ],
7309
+ [
7310
+ 31,
7311
+ 32
7312
+ ],
7313
+ [
7314
+ 32,
7315
+ 33
7316
+ ],
7317
+ [
7318
+ 33,
7319
+ 34
7320
+ ],
7321
+ [
7322
+ 34,
7323
+ 35
7324
+ ],
7325
+ [
7326
+ 36,
7327
+ 37
7328
+ ],
7329
+ [
7330
+ 37,
7331
+ 38
7332
+ ],
7333
+ [
7334
+ 38,
7335
+ 39
7336
+ ],
7337
+ [
7338
+ 39,
7339
+ 40
7340
+ ],
7341
+ [
7342
+ 40,
7343
+ 41
7344
+ ],
7345
+ [
7346
+ 42,
7347
+ 2
7348
+ ],
7349
+ [
7350
+ 43,
7351
+ 44
7352
+ ],
7353
+ [
7354
+ 44,
7355
+ 45
7356
+ ],
7357
+ [
7358
+ 45,
7359
+ 0
7360
+ ],
7361
+ [
7362
+ 45,
7363
+ 46
7364
+ ],
7365
+ [
7366
+ 46,
7367
+ 47
7368
+ ],
7369
+ [
7370
+ 47,
7371
+ 48
7372
+ ],
7373
+ [
7374
+ 48,
7375
+ 49
7376
+ ],
7377
+ [
7378
+ 49,
7379
+ 50
7380
+ ]
7381
+ ],
7382
+ "em_pin": [
7383
+ [
7384
+ 0,
7385
+ 22
7386
+ ],
7387
+ [
7388
+ 0,
7389
+ 29
7390
+ ],
7391
+ [
7392
+ 0,
7393
+ 50
7394
+ ],
7395
+ [
7396
+ 1,
7397
+ 4
7398
+ ],
7399
+ [
7400
+ 1,
7401
+ 5
7402
+ ],
7403
+ [
7404
+ 1,
7405
+ 33
7406
+ ],
7407
+ [
7408
+ 2,
7409
+ 17
7410
+ ],
7411
+ [
7412
+ 2,
7413
+ 45
7414
+ ],
7415
+ [
7416
+ 2,
7417
+ 58
7418
+ ],
7419
+ [
7420
+ 2,
7421
+ 60
7422
+ ],
7423
+ [
7424
+ 4,
7425
+ 3
7426
+ ],
7427
+ [
7428
+ 6,
7429
+ 7
7430
+ ],
7431
+ [
7432
+ 7,
7433
+ 8
7434
+ ],
7435
+ [
7436
+ 8,
7437
+ 10
7438
+ ],
7439
+ [
7440
+ 8,
7441
+ 19
7442
+ ],
7443
+ [
7444
+ 9,
7445
+ 13
7446
+ ],
7447
+ [
7448
+ 9,
7449
+ 23
7450
+ ],
7451
+ [
7452
+ 10,
7453
+ 11
7454
+ ],
7455
+ [
7456
+ 11,
7457
+ 12
7458
+ ],
7459
+ [
7460
+ 13,
7461
+ 14
7462
+ ],
7463
+ [
7464
+ 14,
7465
+ 15
7466
+ ],
7467
+ [
7468
+ 16,
7469
+ 6
7470
+ ],
7471
+ [
7472
+ 17,
7473
+ 18
7474
+ ],
7475
+ [
7476
+ 18,
7477
+ 16
7478
+ ],
7479
+ [
7480
+ 19,
7481
+ 20
7482
+ ],
7483
+ [
7484
+ 20,
7485
+ 21
7486
+ ],
7487
+ [
7488
+ 22,
7489
+ 27
7490
+ ],
7491
+ [
7492
+ 23,
7493
+ 24
7494
+ ],
7495
+ [
7496
+ 24,
7497
+ 25
7498
+ ],
7499
+ [
7500
+ 26,
7501
+ 9
7502
+ ],
7503
+ [
7504
+ 27,
7505
+ 28
7506
+ ],
7507
+ [
7508
+ 28,
7509
+ 26
7510
+ ],
7511
+ [
7512
+ 29,
7513
+ 30
7514
+ ],
7515
+ [
7516
+ 30,
7517
+ 31
7518
+ ],
7519
+ [
7520
+ 31,
7521
+ 32
7522
+ ],
7523
+ [
7524
+ 32,
7525
+ 1
7526
+ ],
7527
+ [
7528
+ 34,
7529
+ 35
7530
+ ],
7531
+ [
7532
+ 35,
7533
+ 36
7534
+ ],
7535
+ [
7536
+ 36,
7537
+ 38
7538
+ ],
7539
+ [
7540
+ 36,
7541
+ 47
7542
+ ],
7543
+ [
7544
+ 37,
7545
+ 41
7546
+ ],
7547
+ [
7548
+ 37,
7549
+ 51
7550
+ ],
7551
+ [
7552
+ 38,
7553
+ 39
7554
+ ],
7555
+ [
7556
+ 39,
7557
+ 40
7558
+ ],
7559
+ [
7560
+ 41,
7561
+ 42
7562
+ ],
7563
+ [
7564
+ 42,
7565
+ 43
7566
+ ],
7567
+ [
7568
+ 44,
7569
+ 34
7570
+ ],
7571
+ [
7572
+ 45,
7573
+ 46
7574
+ ],
7575
+ [
7576
+ 46,
7577
+ 44
7578
+ ],
7579
+ [
7580
+ 47,
7581
+ 48
7582
+ ],
7583
+ [
7584
+ 48,
7585
+ 49
7586
+ ],
7587
+ [
7588
+ 50,
7589
+ 55
7590
+ ],
7591
+ [
7592
+ 51,
7593
+ 52
7594
+ ],
7595
+ [
7596
+ 52,
7597
+ 53
7598
+ ],
7599
+ [
7600
+ 54,
7601
+ 37
7602
+ ],
7603
+ [
7604
+ 55,
7605
+ 56
7606
+ ],
7607
+ [
7608
+ 56,
7609
+ 54
7610
+ ],
7611
+ [
7612
+ 57,
7613
+ 2
7614
+ ],
7615
+ [
7616
+ 58,
7617
+ 59
7618
+ ],
7619
+ [
7620
+ 59,
7621
+ 0
7622
+ ],
7623
+ [
7624
+ 60,
7625
+ 61
7626
+ ],
7627
+ [
7628
+ 61,
7629
+ 62
7630
+ ],
7631
+ [
7632
+ 62,
7633
+ 63
7634
+ ],
7635
+ [
7636
+ 63,
7637
+ 64
7638
+ ],
7639
+ [
7640
+ 64,
7641
+ 65
7642
+ ]
7643
+ ],
7644
+ "npc": [
7645
+ [
7646
+ 0,
7647
+ 2
7648
+ ],
7649
+ [
7650
+ 0,
7651
+ 31
7652
+ ],
7653
+ [
7654
+ 1,
7655
+ 23
7656
+ ],
7657
+ [
7658
+ 1,
7659
+ 52
7660
+ ],
7661
+ [
7662
+ 1,
7663
+ 59
7664
+ ],
7665
+ [
7666
+ 3,
7667
+ 9
7668
+ ],
7669
+ [
7670
+ 4,
7671
+ 5
7672
+ ],
7673
+ [
7674
+ 5,
7675
+ 6
7676
+ ],
7677
+ [
7678
+ 5,
7679
+ 11
7680
+ ],
7681
+ [
7682
+ 5,
7683
+ 14
7684
+ ],
7685
+ [
7686
+ 5,
7687
+ 24
7688
+ ],
7689
+ [
7690
+ 6,
7691
+ 7
7692
+ ],
7693
+ [
7694
+ 7,
7695
+ 8
7696
+ ],
7697
+ [
7698
+ 9,
7699
+ 27
7700
+ ],
7701
+ [
7702
+ 10,
7703
+ 21
7704
+ ],
7705
+ [
7706
+ 11,
7707
+ 12
7708
+ ],
7709
+ [
7710
+ 12,
7711
+ 13
7712
+ ],
7713
+ [
7714
+ 14,
7715
+ 15
7716
+ ],
7717
+ [
7718
+ 14,
7719
+ 18
7720
+ ],
7721
+ [
7722
+ 15,
7723
+ 16
7724
+ ],
7725
+ [
7726
+ 16,
7727
+ 17
7728
+ ],
7729
+ [
7730
+ 18,
7731
+ 19
7732
+ ],
7733
+ [
7734
+ 19,
7735
+ 20
7736
+ ],
7737
+ [
7738
+ 21,
7739
+ 3
7740
+ ],
7741
+ [
7742
+ 22,
7743
+ 28
7744
+ ],
7745
+ [
7746
+ 23,
7747
+ 10
7748
+ ],
7749
+ [
7750
+ 24,
7751
+ 25
7752
+ ],
7753
+ [
7754
+ 25,
7755
+ 26
7756
+ ],
7757
+ [
7758
+ 28,
7759
+ 4
7760
+ ],
7761
+ [
7762
+ 29,
7763
+ 30
7764
+ ],
7765
+ [
7766
+ 30,
7767
+ 0
7768
+ ],
7769
+ [
7770
+ 32,
7771
+ 38
7772
+ ],
7773
+ [
7774
+ 33,
7775
+ 34
7776
+ ],
7777
+ [
7778
+ 34,
7779
+ 35
7780
+ ],
7781
+ [
7782
+ 34,
7783
+ 40
7784
+ ],
7785
+ [
7786
+ 34,
7787
+ 43
7788
+ ],
7789
+ [
7790
+ 34,
7791
+ 53
7792
+ ],
7793
+ [
7794
+ 35,
7795
+ 36
7796
+ ],
7797
+ [
7798
+ 36,
7799
+ 37
7800
+ ],
7801
+ [
7802
+ 38,
7803
+ 56
7804
+ ],
7805
+ [
7806
+ 39,
7807
+ 50
7808
+ ],
7809
+ [
7810
+ 40,
7811
+ 41
7812
+ ],
7813
+ [
7814
+ 41,
7815
+ 42
7816
+ ],
7817
+ [
7818
+ 43,
7819
+ 44
7820
+ ],
7821
+ [
7822
+ 43,
7823
+ 47
7824
+ ],
7825
+ [
7826
+ 44,
7827
+ 45
7828
+ ],
7829
+ [
7830
+ 45,
7831
+ 46
7832
+ ],
7833
+ [
7834
+ 47,
7835
+ 48
7836
+ ],
7837
+ [
7838
+ 48,
7839
+ 49
7840
+ ],
7841
+ [
7842
+ 50,
7843
+ 32
7844
+ ],
7845
+ [
7846
+ 51,
7847
+ 57
7848
+ ],
7849
+ [
7850
+ 52,
7851
+ 39
7852
+ ],
7853
+ [
7854
+ 53,
7855
+ 54
7856
+ ],
7857
+ [
7858
+ 54,
7859
+ 55
7860
+ ],
7861
+ [
7862
+ 57,
7863
+ 33
7864
+ ],
7865
+ [
7866
+ 58,
7867
+ 1
7868
+ ],
7869
+ [
7870
+ 59,
7871
+ 60
7872
+ ],
7873
+ [
7874
+ 60,
7875
+ 61
7876
+ ],
7877
+ [
7878
+ 61,
7879
+ 22
7880
+ ],
7881
+ [
7882
+ 61,
7883
+ 29
7884
+ ],
7885
+ [
7886
+ 61,
7887
+ 51
7888
+ ]
7889
+ ],
7890
+ "wp_0": [
7891
+ [
7892
+ 0,
7893
+ 1
7894
+ ],
7895
+ [
7896
+ 0,
7897
+ 3
7898
+ ],
7899
+ [
7900
+ 2,
7901
+ 0
7902
+ ]
7903
+ ],
7904
+ "wp_1": [
7905
+ [
7906
+ 0,
7907
+ 2
7908
+ ],
7909
+ [
7910
+ 1,
7911
+ 0
7912
+ ]
7913
+ ],
7914
+ "wp_4": [
7915
+ [
7916
+ 0,
7917
+ 2
7918
+ ],
7919
+ [
7920
+ 1,
7921
+ 0
7922
+ ]
7923
+ ],
7924
+ "wp_5": [
7925
+ [
7926
+ 0,
7927
+ 3
7928
+ ],
7929
+ [
7930
+ 0,
7931
+ 4
7932
+ ],
7933
+ [
7934
+ 1,
7935
+ 0
7936
+ ],
7937
+ [
7938
+ 3,
7939
+ 2
7940
+ ]
7941
+ ],
7942
+ "wp_6": [
7943
+ [
7944
+ 0,
7945
+ 1
7946
+ ],
7947
+ [
7948
+ 0,
7949
+ 3
7950
+ ],
7951
+ [
7952
+ 2,
7953
+ 0
7954
+ ]
7955
+ ]
7956
+ }
ww_index/windows.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:130f1b237e9885794d296e91a7a9055980534b866ddac3690bb358ef4e4373b7
3
+ size 39850274
ww_index/ww_offset_perwin.json ADDED
The diff for this file is too large to render. See raw diff
 
ww_index/ww_offset_summary.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"aligned": ["1VkODxcUT9ansvH_s129nQ", "YHkmIcMEQpeHKSseU0FN2Q", "rTgQGwTGQOWfLG5QMiJ5tQ", "Fetmyr7kRUiqGCX2BFOBtA", "RYCV5scYSLugovBsciDAxA", "c0QRH7TxQrK96d4S-hNZ2Q", "wolbW0mLRhOl8j4s-C4Khw"], "offset": {"ep9aodXZR6uaASacifMRlQ": 27.0}}
ww_index/ww_offsets_shard0.json ADDED
The diff for this file is too large to render. See raw diff
 
ww_index/ww_offsets_shard1.json ADDED
The diff for this file is too large to render. See raw diff
 
ww_index/ww_offsets_shard2.json ADDED
The diff for this file is too large to render. See raw diff