@rive-app/webgl2 2.26.3 → 2.26.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/package.json +1 -1
  2. package/rive.js +1466 -1459
  3. package/rive.js.map +1 -1
  4. package/rive.wasm +0 -0
package/rive.js CHANGED
@@ -26,54 +26,54 @@ var Rive = (() => {
26
26
  return (
27
27
  function(moduleArg = {}) {
28
28
 
29
- var m = moduleArg, aa, ba;
30
- m.ready = new Promise((a, b) => {
31
- aa = a;
32
- ba = b;
29
+ var k = moduleArg, ba, ca;
30
+ k.ready = new Promise((a, b) => {
31
+ ba = a;
32
+ ca = b;
33
33
  });
34
- function ca() {
34
+ function da() {
35
35
  function a(g) {
36
- const n = d;
36
+ const l = d;
37
37
  c = b = 0;
38
38
  d = new Map();
39
- n.forEach(p => {
39
+ l.forEach(p => {
40
40
  try {
41
41
  p(g);
42
- } catch (l) {
43
- console.error(l);
42
+ } catch (m) {
43
+ console.error(m);
44
44
  }
45
45
  });
46
46
  this.kb();
47
- e && e.Mb();
47
+ e && e.Nb();
48
48
  }
49
49
  let b = 0, c = 0, d = new Map(), e = null, f = null;
50
50
  this.requestAnimationFrame = function(g) {
51
51
  b || (b = requestAnimationFrame(a.bind(this)));
52
- const n = ++c;
53
- d.set(n, g);
54
- return n;
52
+ const l = ++c;
53
+ d.set(l, g);
54
+ return l;
55
55
  };
56
56
  this.cancelAnimationFrame = function(g) {
57
57
  d.delete(g);
58
58
  b && 0 == d.size && (cancelAnimationFrame(b), b = 0);
59
59
  };
60
- this.Kb = function(g) {
60
+ this.Lb = function(g) {
61
61
  f && (document.body.remove(f), f = null);
62
- g || (f = document.createElement("div"), f.style.backgroundColor = "black", f.style.position = "fixed", f.style.right = 0, f.style.top = 0, f.style.color = "white", f.style.padding = "4px", f.innerHTML = "RIVE FPS", g = function(n) {
63
- f.innerHTML = "RIVE FPS " + n.toFixed(1);
62
+ g || (f = document.createElement("div"), f.style.backgroundColor = "black", f.style.position = "fixed", f.style.right = 0, f.style.top = 0, f.style.color = "white", f.style.padding = "4px", f.innerHTML = "RIVE FPS", g = function(l) {
63
+ f.innerHTML = "RIVE FPS " + l.toFixed(1);
64
64
  }, document.body.appendChild(f));
65
65
  e = new function() {
66
- let n = 0, p = 0;
67
- this.Mb = function() {
68
- var l = performance.now();
69
- p ? (++n, l -= p, 1000 < l && (g(1000 * n / l), n = p = 0)) : (p = l, n = 0);
66
+ let l = 0, p = 0;
67
+ this.Nb = function() {
68
+ var m = performance.now();
69
+ p ? (++l, m -= p, 1000 < m && (g(1000 * l / m), l = p = 0)) : (p = m, l = 0);
70
70
  };
71
71
  }();
72
72
  };
73
73
  this.kb = function() {
74
74
  };
75
75
  }
76
- function da() {
76
+ function ea() {
77
77
  console.assert(!0);
78
78
  const a = new Map();
79
79
  let b = -Infinity;
@@ -88,44 +88,44 @@ function da() {
88
88
  return b << 8;
89
89
  };
90
90
  }
91
- const ea = m.onRuntimeInitialized;
92
- m.onRuntimeInitialized = function() {
93
- ea && ea();
94
- let a = m.decodeAudio;
95
- m.decodeAudio = function(e, f) {
91
+ const fa = k.onRuntimeInitialized;
92
+ k.onRuntimeInitialized = function() {
93
+ fa && fa();
94
+ let a = k.decodeAudio;
95
+ k.decodeAudio = function(e, f) {
96
96
  e = a(e);
97
97
  f(e);
98
98
  };
99
- let b = m.decodeFont;
100
- m.decodeFont = function(e, f) {
99
+ let b = k.decodeFont;
100
+ k.decodeFont = function(e, f) {
101
101
  e = b(e);
102
102
  f(e);
103
103
  };
104
- const c = m.FileAssetLoader;
105
- m.ptrToAsset = e => {
106
- let f = m.ptrToFileAsset(e);
107
- return f.isImage ? m.ptrToImageAsset(e) : f.isFont ? m.ptrToFontAsset(e) : f.isAudio ? m.ptrToAudioAsset(e) : f;
104
+ const c = k.FileAssetLoader;
105
+ k.ptrToAsset = e => {
106
+ let f = k.ptrToFileAsset(e);
107
+ return f.isImage ? k.ptrToImageAsset(e) : f.isFont ? k.ptrToFontAsset(e) : f.isAudio ? k.ptrToAudioAsset(e) : f;
108
108
  };
109
- m.CustomFileAssetLoader = c.extend("CustomFileAssetLoader", {__construct:function({loadContents:e}) {
109
+ k.CustomFileAssetLoader = c.extend("CustomFileAssetLoader", {__construct:function({loadContents:e}) {
110
110
  this.__parent.__construct.call(this);
111
111
  this.Bb = e;
112
112
  }, loadContents:function(e, f) {
113
- e = m.ptrToAsset(e);
113
+ e = k.ptrToAsset(e);
114
114
  return this.Bb(e, f);
115
115
  },});
116
- m.CDNFileAssetLoader = c.extend("CDNFileAssetLoader", {__construct:function() {
116
+ k.CDNFileAssetLoader = c.extend("CDNFileAssetLoader", {__construct:function() {
117
117
  this.__parent.__construct.call(this);
118
118
  }, loadContents:function(e) {
119
- let f = m.ptrToAsset(e);
119
+ let f = k.ptrToAsset(e);
120
120
  e = f.cdnUuid;
121
121
  if ("" === e) {
122
122
  return !1;
123
123
  }
124
- (function(g, n) {
124
+ (function(g, l) {
125
125
  var p = new XMLHttpRequest();
126
126
  p.responseType = "arraybuffer";
127
127
  p.onreadystatechange = function() {
128
- 4 == p.readyState && 200 == p.status && n(p);
128
+ 4 == p.readyState && 200 == p.status && l(p);
129
129
  };
130
130
  p.open("GET", g, !0);
131
131
  p.send(null);
@@ -134,7 +134,7 @@ m.onRuntimeInitialized = function() {
134
134
  });
135
135
  return !0;
136
136
  },});
137
- m.FallbackFileAssetLoader = c.extend("FallbackFileAssetLoader", {__construct:function() {
137
+ k.FallbackFileAssetLoader = c.extend("FallbackFileAssetLoader", {__construct:function() {
138
138
  this.__parent.__construct.call(this);
139
139
  this.gb = [];
140
140
  }, addLoader:function(e) {
@@ -147,16 +147,16 @@ m.onRuntimeInitialized = function() {
147
147
  }
148
148
  return !1;
149
149
  },});
150
- let d = m.computeAlignment;
151
- m.computeAlignment = function(e, f, g, n, p = 1.0) {
152
- return d.call(this, e, f, g, n, p);
150
+ let d = k.computeAlignment;
151
+ k.computeAlignment = function(e, f, g, l, p = 1.0) {
152
+ return d.call(this, e, f, g, l, p);
153
153
  };
154
154
  };
155
- const fa = m.onRuntimeInitialized;
156
- m.onRuntimeInitialized = function() {
157
- function a(k) {
158
- this.F = k;
159
- this.Ab = k.getContext("2d");
155
+ const ha = k.onRuntimeInitialized;
156
+ k.onRuntimeInitialized = function() {
157
+ function a(q) {
158
+ this.F = q;
159
+ this.Ab = q.getContext("2d");
160
160
  this.Db = d;
161
161
  this.S = [];
162
162
  this.la = 0;
@@ -172,11 +172,11 @@ m.onRuntimeInitialized = function() {
172
172
  this.restore = function() {
173
173
  0 < this.la && (this.S.push(d.restore.bind(d)), --this.la);
174
174
  };
175
- this.transform = function(q) {
176
- this.S.push(d.transform.bind(d, q));
175
+ this.transform = function(u) {
176
+ this.S.push(d.transform.bind(d, u));
177
177
  };
178
- this.align = function(q, v, y, C, z = 1.0) {
179
- this.S.push(d.align.bind(d, q, v, y, C, z));
178
+ this.align = function(u, y, z, A, G = 1.0) {
179
+ this.S.push(d.align.bind(d, u, y, z, A, G));
180
180
  };
181
181
  this.flush = function() {
182
182
  console.assert(0 == this.la);
@@ -186,158 +186,165 @@ m.onRuntimeInitialized = function() {
186
186
  this["delete"] = function() {
187
187
  };
188
188
  }
189
- function b(k, q = !1) {
190
- var v = {alpha:!0, depth:q, stencil:q, antialias:q, premultipliedAlpha:!0, preserveDrawingBuffer:0, powerPreference:"high-performance", failIfMajorPerformanceCaveat:0, enableExtensionsByDefault:!1, explicitSwapControl:0, renderViaOffscreenBackBuffer:0,};
191
- q = k.getContext("webgl2", v);
192
- if (!q) {
189
+ function b(q, u = !1) {
190
+ var y = {alpha:!0, depth:u, stencil:u, antialias:u, premultipliedAlpha:!0, preserveDrawingBuffer:0, powerPreference:"high-performance", failIfMajorPerformanceCaveat:0, enableExtensionsByDefault:!1, explicitSwapControl:0, renderViaOffscreenBackBuffer:0,};
191
+ u = q.getContext("webgl2", y);
192
+ if (!u) {
193
193
  return null;
194
194
  }
195
- v = ha(q, v);
196
- ia(v);
197
- const y = f(k.width, k.height);
198
- y.Ka = v;
199
- y.F = k;
200
- y.La = k.width;
201
- y.Wa = k.height;
202
- y.T = q;
203
- var C = y.delete;
204
- y.delete = function() {
205
- C.call(this);
206
- var z = this.Ka;
207
- r === w[z] && (r = null);
208
- "object" == typeof JSEvents && JSEvents.Nc(w[z].D.canvas);
209
- w[z] && w[z].D.canvas && (w[z].D.canvas.zb = void 0);
210
- this.Ka = this.F = this.La = this.T = w[z] = null;
195
+ y = ia(u, y);
196
+ ja(y);
197
+ const z = f(q.width, q.height);
198
+ z.Ka = y;
199
+ z.F = q;
200
+ z.La = q.width;
201
+ z.Wa = q.height;
202
+ z.T = u;
203
+ var A = z.delete;
204
+ z.delete = function() {
205
+ A.call(this);
206
+ var G = this.Ka;
207
+ r === w[G] && (r = null);
208
+ "object" == typeof JSEvents && JSEvents.Oc(w[G].D.canvas);
209
+ w[G] && w[G].D.canvas && (w[G].D.canvas.zb = void 0);
210
+ this.Ka = this.F = this.La = this.T = w[G] = null;
211
211
  };
212
- return y;
212
+ return z;
213
213
  }
214
214
  function c() {
215
215
  if (d) {
216
- var k = d.Cb, q = 0, v = 0, y = 0, C = Array(e.size), z = 0;
217
- for (var E of e) {
218
- E.fa = Math.min(E.F.width, k), E.ea = Math.min(E.F.height, k), E.Ia = E.ea * E.fa, q = Math.max(q, E.fa), v = Math.max(v, E.ea), y += E.Ia, C[z++] = E;
216
+ var q = d.Cb, u = 0, y = 0, z = 0, A = Array(e.size), G = 0;
217
+ for (var I of e) {
218
+ I.fa = Math.min(I.F.width, q), I.ea = Math.min(I.F.height, q), I.Ia = I.ea * I.fa, u = Math.max(u, I.fa), y = Math.max(y, I.ea), z += I.Ia, A[G++] = I;
219
219
  }
220
220
  e.clear();
221
- if (!(0 >= y)) {
222
- q = 1 << (0 >= q ? 0 : 32 - Math.clz32(q - 1));
223
- for (v = 1 << (0 >= v ? 0 : 32 - Math.clz32(v - 1)); v * q < y;) {
224
- q <= v ? q *= 2 : v *= 2;
225
- }
226
- q = Math.min(q, k);
227
- q = Math.min(v, k);
228
- C.sort((Z, rb) => rb.Ia - Z.Ia);
229
- y = new m.DynamicRectanizer(k);
230
- for (E = 0; E < C.length;) {
231
- y.reset(q, v);
232
- for (z = E; z < C.length; ++z) {
233
- var H = C[z], F = y.addRect(H.fa, H.ea);
234
- if (0 > F) {
235
- console.assert(z > E);
221
+ if (!(0 >= z)) {
222
+ u = 1 << (0 >= u ? 0 : 32 - Math.clz32(u - 1));
223
+ for (y = 1 << (0 >= y ? 0 : 32 - Math.clz32(y - 1)); y * u < z;) {
224
+ u <= y ? u *= 2 : y *= 2;
225
+ }
226
+ u = Math.min(u, q);
227
+ u = Math.min(y, q);
228
+ A.sort((aa, sb) => sb.Ia - aa.Ia);
229
+ z = new k.DynamicRectanizer(q);
230
+ for (I = 0; I < A.length;) {
231
+ z.reset(u, y);
232
+ for (G = I; G < A.length; ++G) {
233
+ var L = A[G], E = z.addRect(L.fa, L.ea);
234
+ if (0 > E) {
235
+ console.assert(G > I);
236
236
  break;
237
237
  }
238
- H.ra = F & 65535;
239
- H.sa = F >> 16;
238
+ L.ra = E & 65535;
239
+ L.sa = E >> 16;
240
240
  }
241
- H = n.push(y.drawWidth());
242
- F = p.push(y.drawHeight());
243
- console.assert(H >= y.drawWidth());
244
- console.assert(F >= y.drawHeight());
245
- console.assert(H <= k);
246
- console.assert(F <= k);
247
- d.F.width != H && (d.F.width = H);
248
- d.F.height != F && (d.F.height = F);
241
+ L = p.push(z.drawWidth());
242
+ E = m.push(z.drawHeight());
243
+ console.assert(L >= z.drawWidth());
244
+ console.assert(E >= z.drawHeight());
245
+ console.assert(L <= q);
246
+ console.assert(E <= q);
247
+ d.F.width != L && (d.F.width = L);
248
+ d.F.height != E && (d.F.height = E);
249
249
  d.clear();
250
- for (H = E; H < z; ++H) {
251
- F = C[H];
252
- d.saveClipRect(F.ra, F.sa, F.ra + F.fa, F.sa + F.ea);
253
- let Z = new m.Mat2D();
254
- Z.xx = F.fa / F.F.width;
255
- Z.yy = F.ea / F.F.height;
256
- Z.xy = Z.yx = 0;
257
- Z.tx = F.ra;
258
- Z.ty = F.sa;
259
- d.transform(Z);
260
- for (const rb of F.S) {
261
- rb();
250
+ for (L = I; L < G; ++L) {
251
+ E = A[L];
252
+ d.saveClipRect(E.ra, E.sa, E.ra + E.fa, E.sa + E.ea);
253
+ let aa = new k.Mat2D();
254
+ aa.xx = E.fa / E.F.width;
255
+ aa.yy = E.ea / E.F.height;
256
+ aa.xy = aa.yx = 0;
257
+ aa.tx = E.ra;
258
+ aa.ty = E.sa;
259
+ d.transform(aa);
260
+ for (const sb of E.S) {
261
+ sb();
262
262
  }
263
263
  d.restoreClipRect();
264
- F.S = [];
264
+ E.S = [];
265
265
  }
266
- for (d.flush(); E < z; ++E) {
267
- H = C[E], F = H.Ab, F.globalCompositeOperation = "copy", F.drawImage(d.F, H.ra, H.sa, H.fa, H.ea, 0, 0, H.F.width, H.F.height);
266
+ for (d.flush(); I < G; ++I) {
267
+ L = A[I], E = L.Ab, E.globalCompositeOperation = "copy", E.drawImage(d.F, L.ra, L.sa, L.fa, L.ea, 0, 0, L.F.width, L.F.height);
268
268
  }
269
- E = z;
269
+ I = G;
270
270
  }
271
271
  }
272
272
  }
273
273
  }
274
- fa && fa();
274
+ ha && ha();
275
275
  let d = null;
276
- const e = new Set(), f = m.makeRenderer;
277
- m.makeRenderer = function(k, q) {
276
+ const e = new Set(), f = k.makeRenderer;
277
+ k.makeRenderer = function(q, u) {
278
278
  if (!d) {
279
- function v(y) {
280
- var C = document.createElement("canvas");
281
- C.width = 1;
282
- C.height = 1;
283
- d = b(C, y);
279
+ function y(z) {
280
+ var A = document.createElement("canvas");
281
+ A.width = 1;
282
+ A.height = 1;
283
+ d = b(A, z);
284
284
  d.Va = !!d.T.getExtension("WEBGL_shader_pixel_local_storage");
285
285
  d.Cb = Math.min(d.T.getParameter(d.T.MAX_RENDERBUFFER_SIZE), d.T.getParameter(d.T.MAX_TEXTURE_SIZE));
286
286
  d.Ja = !d.Va;
287
- if (y = d.T.getExtension("WEBGL_debug_renderer_info")) {
288
- C = d.T.getParameter(y.UNMASKED_RENDERER_WEBGL), d.T.getParameter(y.UNMASKED_VENDOR_WEBGL).includes("Google") && C.includes("ANGLE Metal Renderer") && (d.Ja = !1);
287
+ if (z = d.T.getExtension("WEBGL_debug_renderer_info")) {
288
+ A = d.T.getParameter(z.UNMASKED_RENDERER_WEBGL), d.T.getParameter(z.UNMASKED_VENDOR_WEBGL).includes("Google") && A.includes("ANGLE Metal Renderer") && (d.Ja = !1);
289
289
  }
290
290
  return d;
291
291
  }
292
- d = v(!0);
293
- d.Ja || (d = v(!1));
292
+ d = y(!0);
293
+ d.Ja || (d = y(!1));
294
294
  }
295
- return q ? new a(k) : b(k, d.Ja);
295
+ return u ? new a(q) : b(q, d.Ja);
296
+ };
297
+ const g = k.Artboard.prototype["delete"];
298
+ k.Artboard.prototype["delete"] = function() {
299
+ this.Eb = !0;
300
+ g.call(this);
296
301
  };
297
- const g = m.Artboard.prototype.draw;
298
- m.Artboard.prototype.draw = function(k) {
299
- k.S ? k.S.push(g.bind(this, k.Db)) : g.call(this, k);
302
+ const l = k.Artboard.prototype.draw;
303
+ k.Artboard.prototype.draw = function(q) {
304
+ q.S ? q.S.push(() => {
305
+ this.Eb || l.call(this, q.Db);
306
+ }) : l.call(this, q);
300
307
  };
301
- const n = new da(), p = new da(), l = new ca();
302
- m.requestAnimationFrame = l.requestAnimationFrame.bind(l);
303
- m.cancelAnimationFrame = l.cancelAnimationFrame.bind(l);
304
- m.enableFPSCounter = l.Kb.bind(l);
305
- l.kb = c;
306
- m.resolveAnimationFrame = c;
307
- let t = m.load;
308
- m.load = function(k, q, v = !0) {
309
- const y = new m.FallbackFileAssetLoader();
310
- void 0 !== q && y.addLoader(q);
311
- v && (q = new m.CDNFileAssetLoader(), y.addLoader(q));
312
- return Promise.resolve(t(k, y));
308
+ const p = new ea(), m = new ea(), t = new da();
309
+ k.requestAnimationFrame = t.requestAnimationFrame.bind(t);
310
+ k.cancelAnimationFrame = t.cancelAnimationFrame.bind(t);
311
+ k.enableFPSCounter = t.Lb.bind(t);
312
+ t.kb = c;
313
+ k.resolveAnimationFrame = c;
314
+ let v = k.load;
315
+ k.load = function(q, u, y = !0) {
316
+ const z = new k.FallbackFileAssetLoader();
317
+ void 0 !== u && z.addLoader(u);
318
+ y && (u = new k.CDNFileAssetLoader(), z.addLoader(u));
319
+ return Promise.resolve(v(q, z));
313
320
  };
314
- const u = m.WebGL2Renderer.prototype.clear;
315
- m.WebGL2Renderer.prototype.clear = function() {
316
- ia(this.Ka);
317
- const k = this.F;
318
- if (this.La != k.width || this.Wa != k.height) {
319
- this.resize(k.width, k.height), this.La = k.width, this.Wa = k.height;
320
- }
321
- u.call(this);
321
+ const x = k.WebGL2Renderer.prototype.clear;
322
+ k.WebGL2Renderer.prototype.clear = function() {
323
+ ja(this.Ka);
324
+ const q = this.F;
325
+ if (this.La != q.width || this.Wa != q.height) {
326
+ this.resize(q.width, q.height), this.La = q.width, this.Wa = q.height;
327
+ }
328
+ x.call(this);
322
329
  };
323
- m.decodeImage = function(k, q) {
324
- k = m.decodeWebGL2Image(k);
325
- q(k);
330
+ k.decodeImage = function(q, u) {
331
+ q = k.decodeWebGL2Image(q);
332
+ u(q);
326
333
  };
327
- let x = m.Renderer.prototype.align;
328
- m.Renderer.prototype.align = function(k, q, v, y, C = 1.0) {
329
- x.call(this, k, q, v, y, C);
334
+ let n = k.Renderer.prototype.align;
335
+ k.Renderer.prototype.align = function(q, u, y, z, A = 1.0) {
336
+ n.call(this, q, u, y, z, A);
330
337
  };
331
338
  };
332
- var ja = Object.assign({}, m), ka = "./this.program", la = "object" == typeof window, ma = "function" == typeof importScripts, A = "", na, oa;
333
- if (la || ma) {
334
- ma ? A = self.location.href : "undefined" != typeof document && document.currentScript && (A = document.currentScript.src), _scriptDir && (A = _scriptDir), 0 !== A.indexOf("blob:") ? A = A.substr(0, A.replace(/[?#].*/, "").lastIndexOf("/") + 1) : A = "", ma && (oa = a => {
339
+ var ka = Object.assign({}, k), la = "./this.program", ma = "object" == typeof window, na = "function" == typeof importScripts, B = "", oa, pa;
340
+ if (ma || na) {
341
+ na ? B = self.location.href : "undefined" != typeof document && document.currentScript && (B = document.currentScript.src), _scriptDir && (B = _scriptDir), 0 !== B.indexOf("blob:") ? B = B.substr(0, B.replace(/[?#].*/, "").lastIndexOf("/") + 1) : B = "", na && (pa = a => {
335
342
  var b = new XMLHttpRequest();
336
343
  b.open("GET", a, !1);
337
344
  b.responseType = "arraybuffer";
338
345
  b.send(null);
339
346
  return new Uint8Array(b.response);
340
- }), na = (a, b, c) => {
347
+ }), oa = (a, b, c) => {
341
348
  var d = new XMLHttpRequest();
342
349
  d.open("GET", a, !0);
343
350
  d.responseType = "arraybuffer";
@@ -348,94 +355,94 @@ if (la || ma) {
348
355
  d.send(null);
349
356
  };
350
357
  }
351
- var pa = m.print || console.log.bind(console), qa = m.printErr || console.error.bind(console);
352
- Object.assign(m, ja);
353
- ja = null;
354
- m.thisProgram && (ka = m.thisProgram);
355
- var ra;
356
- m.wasmBinary && (ra = m.wasmBinary);
357
- var noExitRuntime = m.noExitRuntime || !0;
358
- "object" != typeof WebAssembly && sa("no native wasm support detected");
359
- var ta, B, ua = !1, D, G, I, va, J, K, wa, xa;
360
- function ya() {
361
- var a = ta.buffer;
362
- m.HEAP8 = D = new Int8Array(a);
363
- m.HEAP16 = I = new Int16Array(a);
364
- m.HEAP32 = J = new Int32Array(a);
365
- m.HEAPU8 = G = new Uint8Array(a);
366
- m.HEAPU16 = va = new Uint16Array(a);
367
- m.HEAPU32 = K = new Uint32Array(a);
368
- m.HEAPF32 = wa = new Float32Array(a);
369
- m.HEAPF64 = xa = new Float64Array(a);
358
+ var qa = k.print || console.log.bind(console), ra = k.printErr || console.error.bind(console);
359
+ Object.assign(k, ka);
360
+ ka = null;
361
+ k.thisProgram && (la = k.thisProgram);
362
+ var sa;
363
+ k.wasmBinary && (sa = k.wasmBinary);
364
+ var noExitRuntime = k.noExitRuntime || !0;
365
+ "object" != typeof WebAssembly && ta("no native wasm support detected");
366
+ var ua, C, va = !1, D, F, H, wa, J, K, xa, ya;
367
+ function za() {
368
+ var a = ua.buffer;
369
+ k.HEAP8 = D = new Int8Array(a);
370
+ k.HEAP16 = H = new Int16Array(a);
371
+ k.HEAP32 = J = new Int32Array(a);
372
+ k.HEAPU8 = F = new Uint8Array(a);
373
+ k.HEAPU16 = wa = new Uint16Array(a);
374
+ k.HEAPU32 = K = new Uint32Array(a);
375
+ k.HEAPF32 = xa = new Float32Array(a);
376
+ k.HEAPF64 = ya = new Float64Array(a);
370
377
  }
371
- var za, Aa = [], Ba = [], Ca = [];
372
- function Da() {
373
- var a = m.preRun.shift();
374
- Aa.unshift(a);
378
+ var Aa, Ba = [], Ca = [], Da = [];
379
+ function Ea() {
380
+ var a = k.preRun.shift();
381
+ Ba.unshift(a);
375
382
  }
376
- var Ea = 0, Fa = null, Ga = null;
377
- function sa(a) {
378
- if (m.onAbort) {
379
- m.onAbort(a);
383
+ var Fa = 0, Ga = null, Ha = null;
384
+ function ta(a) {
385
+ if (k.onAbort) {
386
+ k.onAbort(a);
380
387
  }
381
388
  a = "Aborted(" + a + ")";
382
- qa(a);
383
- ua = !0;
389
+ ra(a);
390
+ va = !0;
384
391
  a = new WebAssembly.RuntimeError(a + ". Build with -sASSERTIONS for more info.");
385
- ba(a);
392
+ ca(a);
386
393
  throw a;
387
394
  }
388
- function Ha(a) {
395
+ function Ia(a) {
389
396
  return a.startsWith("data:application/octet-stream;base64,");
390
397
  }
391
- var Ia;
392
- Ia = "webgl2_advanced.wasm";
393
- if (!Ha(Ia)) {
394
- var Ja = Ia;
395
- Ia = m.locateFile ? m.locateFile(Ja, A) : A + Ja;
398
+ var Ja;
399
+ Ja = "webgl2_advanced.wasm";
400
+ if (!Ia(Ja)) {
401
+ var Ka = Ja;
402
+ Ja = k.locateFile ? k.locateFile(Ka, B) : B + Ka;
396
403
  }
397
- function Ka(a) {
398
- if (a == Ia && ra) {
399
- return new Uint8Array(ra);
404
+ function La(a) {
405
+ if (a == Ja && sa) {
406
+ return new Uint8Array(sa);
400
407
  }
401
- if (oa) {
402
- return oa(a);
408
+ if (pa) {
409
+ return pa(a);
403
410
  }
404
411
  throw "both async and sync fetching of the wasm failed";
405
412
  }
406
- function La(a) {
407
- if (!ra && (la || ma)) {
413
+ function Ma(a) {
414
+ if (!sa && (ma || na)) {
408
415
  if ("function" == typeof fetch && !a.startsWith("file://")) {
409
416
  return fetch(a, {credentials:"same-origin"}).then(b => {
410
417
  if (!b.ok) {
411
418
  throw "failed to load wasm binary file at '" + a + "'";
412
419
  }
413
420
  return b.arrayBuffer();
414
- }).catch(() => Ka(a));
421
+ }).catch(() => La(a));
415
422
  }
416
- if (na) {
423
+ if (oa) {
417
424
  return new Promise((b, c) => {
418
- na(a, d => b(new Uint8Array(d)), c);
425
+ oa(a, d => b(new Uint8Array(d)), c);
419
426
  });
420
427
  }
421
428
  }
422
- return Promise.resolve().then(() => Ka(a));
429
+ return Promise.resolve().then(() => La(a));
423
430
  }
424
- function Ma(a, b, c) {
425
- return La(a).then(d => WebAssembly.instantiate(d, b)).then(d => d).then(c, d => {
426
- qa("failed to asynchronously prepare wasm: " + d);
427
- sa(d);
431
+ function Na(a, b, c) {
432
+ return Ma(a).then(d => WebAssembly.instantiate(d, b)).then(d => d).then(c, d => {
433
+ ra("failed to asynchronously prepare wasm: " + d);
434
+ ta(d);
428
435
  });
429
436
  }
430
- function Na(a, b) {
431
- var c = Ia;
432
- return ra || "function" != typeof WebAssembly.instantiateStreaming || Ha(c) || c.startsWith("file://") || "function" != typeof fetch ? Ma(c, a, b) : fetch(c, {credentials:"same-origin"}).then(d => WebAssembly.instantiateStreaming(d, a).then(b, function(e) {
433
- qa("wasm streaming compile failed: " + e);
434
- qa("falling back to ArrayBuffer instantiation");
435
- return Ma(c, a, b);
437
+ function Oa(a, b) {
438
+ var c = Ja;
439
+ return sa || "function" != typeof WebAssembly.instantiateStreaming || Ia(c) || c.startsWith("file://") || "function" != typeof fetch ? Na(c, a, b) : fetch(c, {credentials:"same-origin"}).then(d => WebAssembly.instantiateStreaming(d, a).then(b, function(e) {
440
+ ra("wasm streaming compile failed: " + e);
441
+ ra("falling back to ArrayBuffer instantiation");
442
+ return Na(c, a, b);
436
443
  }));
437
444
  }
438
- var Oa, Pa, Ta = {505374:(a, b, c, d, e) => {
445
+ var Pa, Qa, Ua = {507918:(a, b, c, d, e) => {
439
446
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
440
447
  return 0;
441
448
  }
@@ -450,10 +457,10 @@ var Oa, Pa, Ta = {505374:(a, b, c, d, e) => {
450
457
  window.h.ia.tb = e;
451
458
  let f = window.h;
452
459
  f.C = [];
453
- f.nc = function(g) {
454
- for (var n = 0; n < f.C.length; ++n) {
455
- if (null == f.C[n]) {
456
- return f.C[n] = g, n;
460
+ f.oc = function(g) {
461
+ for (var l = 0; l < f.C.length; ++l) {
462
+ if (null == f.C[l]) {
463
+ return f.C[l] = g, l;
457
464
  }
458
465
  }
459
466
  f.C.push(g);
@@ -468,10 +475,10 @@ var Oa, Pa, Ta = {505374:(a, b, c, d, e) => {
468
475
  }
469
476
  }
470
477
  };
471
- f.Pc = function(g) {
472
- for (var n = 0; n < f.C.length; ++n) {
473
- if (f.C[n] == g) {
474
- return f.yb(n);
478
+ f.Qc = function(g) {
479
+ for (var l = 0; l < f.C.length; ++l) {
480
+ if (f.C[l] == g) {
481
+ return f.yb(l);
475
482
  }
476
483
  }
477
484
  };
@@ -481,9 +488,9 @@ var Oa, Pa, Ta = {505374:(a, b, c, d, e) => {
481
488
  f.xb = ["touchend", "click"];
482
489
  f.unlock = function() {
483
490
  for (var g = 0; g < f.C.length; ++g) {
484
- var n = f.C[g];
485
- null != n && null != n.J && n.state === f.ia.tb && n.J.resume().then(() => {
486
- Qa(n.lb);
491
+ var l = f.C[g];
492
+ null != l && null != l.J && l.state === f.ia.tb && l.J.resume().then(() => {
493
+ Ra(l.lb);
487
494
  }, p => {
488
495
  console.error("Failed to resume audiocontext", p);
489
496
  });
@@ -498,9 +505,9 @@ var Oa, Pa, Ta = {505374:(a, b, c, d, e) => {
498
505
  }
499
506
  window.h.Da += 1;
500
507
  return 1;
501
- }, 507552:() => {
508
+ }, 510096:() => {
502
509
  "undefined" !== typeof window.h && (--window.h.Da, 0 === window.h.Da && delete window.h);
503
- }, 507716:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 507820:() => {
510
+ }, 510260:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 510364:() => {
504
511
  try {
505
512
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
506
513
  a.close();
@@ -508,13 +515,13 @@ var Oa, Pa, Ta = {505374:(a, b, c, d, e) => {
508
515
  } catch (c) {
509
516
  return 0;
510
517
  }
511
- }, 507991:(a, b, c, d, e, f) => {
518
+ }, 510535:(a, b, c, d, e, f) => {
512
519
  if ("undefined" === typeof window.h) {
513
520
  return -1;
514
521
  }
515
- var g = {}, n = {};
516
- a == window.h.I.Ba && 0 != c && (n.sampleRate = c);
517
- g.J = new (window.AudioContext || window.webkitAudioContext)(n);
522
+ var g = {}, l = {};
523
+ a == window.h.I.Ba && 0 != c && (l.sampleRate = c);
524
+ g.J = new (window.AudioContext || window.webkitAudioContext)(l);
518
525
  g.J.suspend();
519
526
  g.state = window.h.ia.stopped;
520
527
  c = 0;
@@ -522,25 +529,25 @@ var Oa, Pa, Ta = {505374:(a, b, c, d, e) => {
522
529
  g.Z = g.J.createScriptProcessor(d, c, b);
523
530
  g.Z.onaudioprocess = function(p) {
524
531
  if (null == g.wa || 0 == g.wa.length) {
525
- g.wa = new Float32Array(wa.buffer, e, d * b);
532
+ g.wa = new Float32Array(xa.buffer, e, d * b);
526
533
  }
527
534
  if (a == window.h.I.capture || a == window.h.I.Na) {
528
- for (var l = 0; l < b; l += 1) {
529
- for (var t = p.inputBuffer.getChannelData(l), u = g.wa, x = 0; x < d; x += 1) {
530
- u[x * b + l] = t[x];
535
+ for (var m = 0; m < b; m += 1) {
536
+ for (var t = p.inputBuffer.getChannelData(m), v = g.wa, x = 0; x < d; x += 1) {
537
+ v[x * b + m] = t[x];
531
538
  }
532
539
  }
533
- Ra(f, d, e);
540
+ Sa(f, d, e);
534
541
  }
535
542
  if (a == window.h.I.Ba || a == window.h.I.Na) {
536
- for (Sa(f, d, e), l = 0; l < p.outputBuffer.numberOfChannels; ++l) {
537
- for (t = p.outputBuffer.getChannelData(l), u = g.wa, x = 0; x < d; x += 1) {
538
- t[x] = u[x * b + l];
543
+ for (Ta(f, d, e), m = 0; m < p.outputBuffer.numberOfChannels; ++m) {
544
+ for (t = p.outputBuffer.getChannelData(m), v = g.wa, x = 0; x < d; x += 1) {
545
+ t[x] = v[x * b + m];
539
546
  }
540
547
  }
541
548
  } else {
542
- for (l = 0; l < p.outputBuffer.numberOfChannels; ++l) {
543
- p.outputBuffer.getChannelData(l).fill(0.0);
549
+ for (m = 0; m < p.outputBuffer.numberOfChannels; ++m) {
550
+ p.outputBuffer.getChannelData(m).fill(0.0);
544
551
  }
545
552
  }
546
553
  };
@@ -553,8 +560,8 @@ var Oa, Pa, Ta = {505374:(a, b, c, d, e) => {
553
560
  });
554
561
  a == window.h.I.Ba && g.Z.connect(g.J.destination);
555
562
  g.lb = f;
556
- return window.h.nc(g);
557
- }, 510868:a => window.h.va(a).J.sampleRate, 510941:a => {
563
+ return window.h.oc(g);
564
+ }, 513412:a => window.h.va(a).J.sampleRate, 513485:a => {
558
565
  a = window.h.va(a);
559
566
  void 0 !== a.Z && (a.Z.onaudioprocess = function() {
560
567
  }, a.Z.disconnect(), a.Z = void 0);
@@ -562,21 +569,21 @@ var Oa, Pa, Ta = {505374:(a, b, c, d, e) => {
562
569
  a.J.close();
563
570
  a.J = void 0;
564
571
  a.lb = void 0;
565
- }, 511341:a => {
572
+ }, 513885:a => {
566
573
  window.h.yb(a);
567
- }, 511391:a => {
574
+ }, 513935:a => {
568
575
  a = window.h.va(a);
569
576
  a.J.resume();
570
577
  a.state = window.h.ia.tb;
571
- }, 511530:a => {
578
+ }, 514074:a => {
572
579
  a = window.h.va(a);
573
580
  a.J.suspend();
574
581
  a.state = window.h.ia.stopped;
575
- }}, Ua = a => {
582
+ }}, Va = a => {
576
583
  for (; 0 < a.length;) {
577
- a.shift()(m);
584
+ a.shift()(k);
578
585
  }
579
- }, Va = (a, b) => {
586
+ }, Wa = (a, b) => {
580
587
  for (var c = 0, d = a.length - 1; 0 <= d; d--) {
581
588
  var e = a[d];
582
589
  "." === e ? a.splice(d, 1) : ".." === e ? (a.splice(d, 1), c++) : c && (a.splice(d, 1), c--);
@@ -587,12 +594,12 @@ var Oa, Pa, Ta = {505374:(a, b, c, d, e) => {
587
594
  }
588
595
  }
589
596
  return a;
590
- }, Wa = a => {
597
+ }, Xa = a => {
591
598
  var b = "/" === a.charAt(0), c = "/" === a.substr(-1);
592
- (a = Va(a.split("/").filter(d => !!d), !b).join("/")) || b || (a = ".");
599
+ (a = Wa(a.split("/").filter(d => !!d), !b).join("/")) || b || (a = ".");
593
600
  a && c && (a += "/");
594
601
  return (b ? "/" : "") + a;
595
- }, Xa = a => {
602
+ }, Ya = a => {
596
603
  var b = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);
597
604
  a = b[0];
598
605
  b = b[1];
@@ -601,21 +608,21 @@ var Oa, Pa, Ta = {505374:(a, b, c, d, e) => {
601
608
  }
602
609
  b && (b = b.substr(0, b.length - 1));
603
610
  return a + b;
604
- }, Ya = a => {
611
+ }, Za = a => {
605
612
  if ("/" === a) {
606
613
  return "/";
607
614
  }
608
- a = Wa(a);
615
+ a = Xa(a);
609
616
  a = a.replace(/\/$/, "");
610
617
  var b = a.lastIndexOf("/");
611
618
  return -1 === b ? a : a.substr(b + 1);
612
- }, Za = () => {
619
+ }, $a = () => {
613
620
  if ("object" == typeof crypto && "function" == typeof crypto.getRandomValues) {
614
621
  return a => crypto.getRandomValues(a);
615
622
  }
616
- sa("initRandomDevice");
617
- }, $a = a => ($a = Za())(a);
618
- function ab() {
623
+ ta("initRandomDevice");
624
+ }, ab = a => (ab = $a())(a);
625
+ function bb() {
619
626
  for (var a = "", b = !1, c = arguments.length - 1; -1 <= c && !b; c--) {
620
627
  b = 0 <= c ? arguments[c] : "/";
621
628
  if ("string" != typeof b) {
@@ -627,16 +634,16 @@ function ab() {
627
634
  a = b + "/" + a;
628
635
  b = "/" === b.charAt(0);
629
636
  }
630
- a = Va(a.split("/").filter(d => !!d), !b).join("/");
637
+ a = Wa(a.split("/").filter(d => !!d), !b).join("/");
631
638
  return (b ? "/" : "") + a || ".";
632
639
  }
633
- var bb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, L = (a, b, c) => {
640
+ var cb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, M = (a, b, c) => {
634
641
  var d = b + c;
635
642
  for (c = b; a[c] && !(c >= d);) {
636
643
  ++c;
637
644
  }
638
- if (16 < c - b && a.buffer && bb) {
639
- return bb.decode(a.subarray(b, c));
645
+ if (16 < c - b && a.buffer && cb) {
646
+ return cb.decode(a.subarray(b, c));
640
647
  }
641
648
  for (d = ""; b < c;) {
642
649
  var e = a[b++];
@@ -654,13 +661,13 @@ var bb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, L
654
661
  }
655
662
  }
656
663
  return d;
657
- }, cb = [], db = a => {
664
+ }, db = [], eb = a => {
658
665
  for (var b = 0, c = 0; c < a.length; ++c) {
659
666
  var d = a.charCodeAt(c);
660
667
  127 >= d ? b++ : 2047 >= d ? b += 2 : 55296 <= d && 57343 >= d ? (b += 4, ++c) : b += 3;
661
668
  }
662
669
  return b;
663
- }, eb = (a, b, c, d) => {
670
+ }, fb = (a, b, c, d) => {
664
671
  if (!(0 < d)) {
665
672
  return 0;
666
673
  }
@@ -669,8 +676,8 @@ var bb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, L
669
676
  for (var f = 0; f < a.length; ++f) {
670
677
  var g = a.charCodeAt(f);
671
678
  if (55296 <= g && 57343 >= g) {
672
- var n = a.charCodeAt(++f);
673
- g = 65536 + ((g & 1023) << 10) | n & 1023;
679
+ var l = a.charCodeAt(++f);
680
+ g = 65536 + ((g & 1023) << 10) | l & 1023;
674
681
  }
675
682
  if (127 >= g) {
676
683
  if (c >= d) {
@@ -704,21 +711,21 @@ var bb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, L
704
711
  b[c] = 0;
705
712
  return c - e;
706
713
  };
707
- function fb(a, b) {
708
- var c = Array(db(a) + 1);
709
- a = eb(a, c, 0, c.length);
714
+ function gb(a, b) {
715
+ var c = Array(eb(a) + 1);
716
+ a = fb(a, c, 0, c.length);
710
717
  b && (c.length = a);
711
718
  return c;
712
719
  }
713
- var gb = [];
714
- function hb(a, b) {
715
- gb[a] = {input:[], G:[], V:b};
716
- ib(a, jb);
720
+ var hb = [];
721
+ function ib(a, b) {
722
+ hb[a] = {input:[], G:[], V:b};
723
+ jb(a, kb);
717
724
  }
718
- var jb = {open:function(a) {
719
- var b = gb[a.node.Ca];
725
+ var kb = {open:function(a) {
726
+ var b = hb[a.node.Ca];
720
727
  if (!b) {
721
- throw new M(43);
728
+ throw new N(43);
722
729
  }
723
730
  a.s = b;
724
731
  a.seekable = !1;
@@ -728,16 +735,16 @@ var jb = {open:function(a) {
728
735
  a.s.V.ua(a.s);
729
736
  }, read:function(a, b, c, d) {
730
737
  if (!a.s || !a.s.V.fb) {
731
- throw new M(60);
738
+ throw new N(60);
732
739
  }
733
740
  for (var e = 0, f = 0; f < d; f++) {
734
741
  try {
735
742
  var g = a.s.V.fb(a.s);
736
- } catch (n) {
737
- throw new M(29);
743
+ } catch (l) {
744
+ throw new N(29);
738
745
  }
739
746
  if (void 0 === g && 0 === e) {
740
- throw new M(6);
747
+ throw new N(6);
741
748
  }
742
749
  if (null === g || void 0 === g) {
743
750
  break;
@@ -749,79 +756,79 @@ var jb = {open:function(a) {
749
756
  return e;
750
757
  }, write:function(a, b, c, d) {
751
758
  if (!a.s || !a.s.V.Qa) {
752
- throw new M(60);
759
+ throw new N(60);
753
760
  }
754
761
  try {
755
762
  for (var e = 0; e < d; e++) {
756
763
  a.s.V.Qa(a.s, b[c + e]);
757
764
  }
758
765
  } catch (f) {
759
- throw new M(29);
766
+ throw new N(29);
760
767
  }
761
768
  d && (a.node.timestamp = Date.now());
762
769
  return e;
763
- },}, kb = {fb:function() {
770
+ },}, lb = {fb:function() {
764
771
  a: {
765
- if (!cb.length) {
772
+ if (!db.length) {
766
773
  var a = null;
767
774
  "undefined" != typeof window && "function" == typeof window.prompt ? (a = window.prompt("Input: "), null !== a && (a += "\n")) : "function" == typeof readline && (a = readline(), null !== a && (a += "\n"));
768
775
  if (!a) {
769
776
  a = null;
770
777
  break a;
771
778
  }
772
- cb = fb(a, !0);
779
+ db = gb(a, !0);
773
780
  }
774
- a = cb.shift();
781
+ a = db.shift();
775
782
  }
776
783
  return a;
777
784
  }, Qa:function(a, b) {
778
- null === b || 10 === b ? (pa(L(a.G, 0)), a.G = []) : 0 != b && a.G.push(b);
785
+ null === b || 10 === b ? (qa(M(a.G, 0)), a.G = []) : 0 != b && a.G.push(b);
779
786
  }, ua:function(a) {
780
- a.G && 0 < a.G.length && (pa(L(a.G, 0)), a.G = []);
781
- }, Wb:function() {
782
- return {tc:25856, vc:5, sc:191, uc:35387, rc:[3, 28, 127, 21, 4, 0, 1, 0, 17, 19, 26, 0, 18, 15, 23, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,]};
787
+ a.G && 0 < a.G.length && (qa(M(a.G, 0)), a.G = []);
783
788
  }, Xb:function() {
784
- return 0;
789
+ return {uc:25856, wc:5, tc:191, vc:35387, sc:[3, 28, 127, 21, 4, 0, 1, 0, 17, 19, 26, 0, 18, 15, 23, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,]};
785
790
  }, Yb:function() {
791
+ return 0;
792
+ }, Zb:function() {
786
793
  return [24, 80];
787
- },}, lb = {Qa:function(a, b) {
788
- null === b || 10 === b ? (qa(L(a.G, 0)), a.G = []) : 0 != b && a.G.push(b);
794
+ },}, mb = {Qa:function(a, b) {
795
+ null === b || 10 === b ? (ra(M(a.G, 0)), a.G = []) : 0 != b && a.G.push(b);
789
796
  }, ua:function(a) {
790
- a.G && 0 < a.G.length && (qa(L(a.G, 0)), a.G = []);
797
+ a.G && 0 < a.G.length && (ra(M(a.G, 0)), a.G = []);
791
798
  },};
792
- function mb(a, b) {
799
+ function nb(a, b) {
793
800
  var c = a.j ? a.j.length : 0;
794
801
  c >= b || (b = Math.max(b, c * (1048576 > c ? 2.0 : 1.125) >>> 0), 0 != c && (b = Math.max(b, 256)), c = a.j, a.j = new Uint8Array(b), 0 < a.v && a.j.set(c.subarray(0, a.v), 0));
795
802
  }
796
- var N = {O:null, U() {
797
- return N.createNode(null, "/", 16895, 0);
803
+ var O = {O:null, U() {
804
+ return O.createNode(null, "/", 16895, 0);
798
805
  }, createNode(a, b, c, d) {
799
806
  if (24576 === (c & 61440) || 4096 === (c & 61440)) {
800
- throw new M(63);
807
+ throw new N(63);
801
808
  }
802
- N.O || (N.O = {dir:{node:{Y:N.l.Y, P:N.l.P, ma:N.l.ma, za:N.l.za, rb:N.l.rb, wb:N.l.wb, sb:N.l.sb, pb:N.l.pb, Fa:N.l.Fa}, stream:{ba:N.m.ba}}, file:{node:{Y:N.l.Y, P:N.l.P}, stream:{ba:N.m.ba, read:N.m.read, write:N.m.write, ta:N.m.ta, hb:N.m.hb, jb:N.m.jb}}, link:{node:{Y:N.l.Y, P:N.l.P, na:N.l.na}, stream:{}}, Xa:{node:{Y:N.l.Y, P:N.l.P}, stream:nb}});
803
- c = ob(a, b, c, d);
804
- 16384 === (c.mode & 61440) ? (c.l = N.O.dir.node, c.m = N.O.dir.stream, c.j = {}) : 32768 === (c.mode & 61440) ? (c.l = N.O.file.node, c.m = N.O.file.stream, c.v = 0, c.j = null) : 40960 === (c.mode & 61440) ? (c.l = N.O.link.node, c.m = N.O.link.stream) : 8192 === (c.mode & 61440) && (c.l = N.O.Xa.node, c.m = N.O.Xa.stream);
809
+ O.O || (O.O = {dir:{node:{Y:O.l.Y, P:O.l.P, ma:O.l.ma, za:O.l.za, rb:O.l.rb, wb:O.l.wb, sb:O.l.sb, pb:O.l.pb, Fa:O.l.Fa}, stream:{ba:O.m.ba}}, file:{node:{Y:O.l.Y, P:O.l.P}, stream:{ba:O.m.ba, read:O.m.read, write:O.m.write, ta:O.m.ta, hb:O.m.hb, jb:O.m.jb}}, link:{node:{Y:O.l.Y, P:O.l.P, na:O.l.na}, stream:{}}, Xa:{node:{Y:O.l.Y, P:O.l.P}, stream:ob}});
810
+ c = pb(a, b, c, d);
811
+ 16384 === (c.mode & 61440) ? (c.l = O.O.dir.node, c.m = O.O.dir.stream, c.j = {}) : 32768 === (c.mode & 61440) ? (c.l = O.O.file.node, c.m = O.O.file.stream, c.v = 0, c.j = null) : 40960 === (c.mode & 61440) ? (c.l = O.O.link.node, c.m = O.O.link.stream) : 8192 === (c.mode & 61440) && (c.l = O.O.Xa.node, c.m = O.O.Xa.stream);
805
812
  c.timestamp = Date.now();
806
813
  a && (a.j[b] = c, a.timestamp = c.timestamp);
807
814
  return c;
808
- }, Ac(a) {
815
+ }, Bc(a) {
809
816
  return a.j ? a.j.subarray ? a.j.subarray(0, a.v) : new Uint8Array(a.j) : new Uint8Array(0);
810
817
  }, l:{Y(a) {
811
818
  var b = {};
812
- b.yc = 8192 === (a.mode & 61440) ? a.id : 1;
813
- b.Cc = a.id;
819
+ b.zc = 8192 === (a.mode & 61440) ? a.id : 1;
820
+ b.Dc = a.id;
814
821
  b.mode = a.mode;
815
- b.Kc = 1;
822
+ b.Lc = 1;
816
823
  b.uid = 0;
817
- b.Bc = 0;
824
+ b.Cc = 0;
818
825
  b.Ca = a.Ca;
819
826
  16384 === (a.mode & 61440) ? b.size = 4096 : 32768 === (a.mode & 61440) ? b.size = a.v : 40960 === (a.mode & 61440) ? b.size = a.link.length : b.size = 0;
820
- b.pc = new Date(a.timestamp);
821
- b.Ic = new Date(a.timestamp);
822
- b.wc = new Date(a.timestamp);
823
- b.Eb = 4096;
824
- b.qc = Math.ceil(b.size / b.Eb);
827
+ b.qc = new Date(a.timestamp);
828
+ b.Jc = new Date(a.timestamp);
829
+ b.xc = new Date(a.timestamp);
830
+ b.Fb = 4096;
831
+ b.rc = Math.ceil(b.size / b.Fb);
825
832
  return b;
826
833
  }, P(a, b) {
827
834
  void 0 !== b.mode && (a.mode = b.mode);
@@ -837,18 +844,18 @@ var N = {O:null, U() {
837
844
  }
838
845
  }
839
846
  }, ma() {
840
- throw pb[44];
847
+ throw qb[44];
841
848
  }, za(a, b, c, d) {
842
- return N.createNode(a, b, c, d);
849
+ return O.createNode(a, b, c, d);
843
850
  }, rb(a, b, c) {
844
851
  if (16384 === (a.mode & 61440)) {
845
852
  try {
846
- var d = qb(b, c);
853
+ var d = rb(b, c);
847
854
  } catch (f) {
848
855
  }
849
856
  if (d) {
850
857
  for (var e in d.j) {
851
- throw new M(55);
858
+ throw new N(55);
852
859
  }
853
860
  }
854
861
  }
@@ -862,9 +869,9 @@ var N = {O:null, U() {
862
869
  delete a.j[b];
863
870
  a.timestamp = Date.now();
864
871
  }, sb(a, b) {
865
- var c = qb(a, b), d;
872
+ var c = rb(a, b), d;
866
873
  for (d in c.j) {
867
- throw new M(55);
874
+ throw new N(55);
868
875
  }
869
876
  delete a.j[b];
870
877
  a.timestamp = Date.now();
@@ -875,12 +882,12 @@ var N = {O:null, U() {
875
882
  }
876
883
  return b;
877
884
  }, Fa(a, b, c) {
878
- a = N.createNode(a, b, 41471, 0);
885
+ a = O.createNode(a, b, 41471, 0);
879
886
  a.link = c;
880
887
  return a;
881
888
  }, na(a) {
882
889
  if (40960 !== (a.mode & 61440)) {
883
- throw new M(28);
890
+ throw new N(28);
884
891
  }
885
892
  return a.link;
886
893
  },}, m:{read(a, b, c, d, e) {
@@ -915,7 +922,7 @@ var N = {O:null, U() {
915
922
  return a.j.set(b.subarray(c, c + d), e), d;
916
923
  }
917
924
  }
918
- mb(a, e + d);
925
+ nb(a, e + d);
919
926
  if (a.j.subarray && b.subarray) {
920
927
  a.j.set(b.subarray(c, c + d), e);
921
928
  } else {
@@ -928,15 +935,15 @@ var N = {O:null, U() {
928
935
  }, ba(a, b, c) {
929
936
  1 === c ? b += a.position : 2 === c && 32768 === (a.node.mode & 61440) && (b += a.node.v);
930
937
  if (0 > b) {
931
- throw new M(28);
938
+ throw new N(28);
932
939
  }
933
940
  return b;
934
941
  }, ta(a, b, c) {
935
- mb(a.node, b + c);
942
+ nb(a.node, b + c);
936
943
  a.node.v = Math.max(a.node.v, b + c);
937
944
  }, hb(a, b, c, d, e) {
938
945
  if (32768 !== (a.node.mode & 61440)) {
939
- throw new M(43);
946
+ throw new N(43);
940
947
  }
941
948
  a = a.node.j;
942
949
  if (e & 2 || a.buffer !== D.buffer) {
@@ -944,10 +951,10 @@ var N = {O:null, U() {
944
951
  a.subarray ? a = a.subarray(c, c + b) : a = Array.prototype.slice.call(a, c, c + b);
945
952
  }
946
953
  c = !0;
947
- sa();
954
+ ta();
948
955
  b = void 0;
949
956
  if (!b) {
950
- throw new M(48);
957
+ throw new N(48);
951
958
  }
952
959
  D.set(a, b);
953
960
  } else {
@@ -955,43 +962,43 @@ var N = {O:null, U() {
955
962
  }
956
963
  return {o:b, M:c};
957
964
  }, jb(a, b, c, d) {
958
- N.m.write(a, b, 0, d, c, !1);
965
+ O.m.write(a, b, 0, d, c, !1);
959
966
  return 0;
960
967
  },},};
961
- function sb(a, b) {
968
+ function tb(a, b) {
962
969
  var c = 0;
963
970
  a && (c |= 365);
964
971
  b && (c |= 146);
965
972
  return c;
966
973
  }
967
- var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {}, Ab = (a, b = {}) => {
968
- a = ab(a);
974
+ var ub = null, vb = {}, wb = [], xb = 1, yb = null, zb = !0, N = null, qb = {}, Bb = (a, b = {}) => {
975
+ a = bb(a);
969
976
  if (!a) {
970
977
  return {path:"", node:null};
971
978
  }
972
979
  b = Object.assign({cb:!0, Sa:0}, b);
973
980
  if (8 < b.Sa) {
974
- throw new M(32);
981
+ throw new N(32);
975
982
  }
976
983
  a = a.split("/").filter(g => !!g);
977
- for (var c = tb, d = "/", e = 0; e < a.length; e++) {
984
+ for (var c = ub, d = "/", e = 0; e < a.length; e++) {
978
985
  var f = e === a.length - 1;
979
986
  if (f && b.parent) {
980
987
  break;
981
988
  }
982
- c = qb(c, a[e]);
983
- d = Wa(d + "/" + a[e]);
989
+ c = rb(c, a[e]);
990
+ d = Xa(d + "/" + a[e]);
984
991
  c.Aa && (!f || f && b.cb) && (c = c.Aa.root);
985
992
  if (!f || b.bb) {
986
993
  for (f = 0; 40960 === (c.mode & 61440);) {
987
- if (c = zb(d), d = ab(Xa(d), c), c = Ab(d, {Sa:b.Sa + 1}).node, 40 < f++) {
988
- throw new M(32);
994
+ if (c = Ab(d), d = bb(Ya(d), c), c = Bb(d, {Sa:b.Sa + 1}).node, 40 < f++) {
995
+ throw new N(32);
989
996
  }
990
997
  }
991
998
  }
992
999
  }
993
1000
  return {path:d, node:c};
994
- }, Bb = a => {
1001
+ }, Cb = a => {
995
1002
  for (var b;;) {
996
1003
  if (a === a.parent) {
997
1004
  return a = a.U.ib, b ? "/" !== a[a.length - 1] ? `${a}/${b}` : a + b : a;
@@ -999,34 +1006,34 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
999
1006
  b = b ? `${a.name}/${b}` : a.name;
1000
1007
  a = a.parent;
1001
1008
  }
1002
- }, Cb = (a, b) => {
1009
+ }, Db = (a, b) => {
1003
1010
  for (var c = 0, d = 0; d < b.length; d++) {
1004
1011
  c = (c << 5) - c + b.charCodeAt(d) | 0;
1005
1012
  }
1006
- return (a + c >>> 0) % xb.length;
1007
- }, qb = (a, b) => {
1013
+ return (a + c >>> 0) % yb.length;
1014
+ }, rb = (a, b) => {
1008
1015
  var c;
1009
- if (c = (c = Db(a, "x")) ? c : a.l.ma ? 0 : 2) {
1010
- throw new M(c, a);
1016
+ if (c = (c = Eb(a, "x")) ? c : a.l.ma ? 0 : 2) {
1017
+ throw new N(c, a);
1011
1018
  }
1012
- for (c = xb[Cb(a.id, b)]; c; c = c.ac) {
1019
+ for (c = yb[Db(a.id, b)]; c; c = c.bc) {
1013
1020
  var d = c.name;
1014
1021
  if (c.parent.id === a.id && d === b) {
1015
1022
  return c;
1016
1023
  }
1017
1024
  }
1018
1025
  return a.l.ma(a, b);
1019
- }, ob = (a, b, c, d) => {
1020
- a = new Eb(a, b, c, d);
1021
- b = Cb(a.parent.id, a.name);
1022
- a.ac = xb[b];
1023
- return xb[b] = a;
1024
- }, Fb = a => {
1026
+ }, pb = (a, b, c, d) => {
1027
+ a = new Fb(a, b, c, d);
1028
+ b = Db(a.parent.id, a.name);
1029
+ a.bc = yb[b];
1030
+ return yb[b] = a;
1031
+ }, Gb = a => {
1025
1032
  var b = ["r", "w", "rw"][a & 3];
1026
1033
  a & 512 && (b += "w");
1027
1034
  return b;
1028
- }, Db = (a, b) => {
1029
- if (yb) {
1035
+ }, Eb = (a, b) => {
1036
+ if (zb) {
1030
1037
  return 0;
1031
1038
  }
1032
1039
  if (!b.includes("r") || a.mode & 292) {
@@ -1037,29 +1044,29 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
1037
1044
  return 2;
1038
1045
  }
1039
1046
  return 0;
1040
- }, Gb = (a, b) => {
1047
+ }, Hb = (a, b) => {
1041
1048
  try {
1042
- return qb(a, b), 20;
1049
+ return rb(a, b), 20;
1043
1050
  } catch (c) {
1044
1051
  }
1045
- return Db(a, "wx");
1046
- }, Hb = () => {
1052
+ return Eb(a, "wx");
1053
+ }, Ib = () => {
1047
1054
  for (var a = 0; 4096 >= a; a++) {
1048
- if (!vb[a]) {
1055
+ if (!wb[a]) {
1049
1056
  return a;
1050
1057
  }
1051
1058
  }
1052
- throw new M(33);
1053
- }, Ib = a => {
1054
- a = vb[a];
1059
+ throw new N(33);
1060
+ }, Jb = a => {
1061
+ a = wb[a];
1055
1062
  if (!a) {
1056
- throw new M(8);
1063
+ throw new N(8);
1057
1064
  }
1058
1065
  return a;
1059
- }, Kb = (a, b = -1) => {
1060
- Jb || (Jb = function() {
1066
+ }, Lb = (a, b = -1) => {
1067
+ Kb || (Kb = function() {
1061
1068
  this.h = {};
1062
- }, Jb.prototype = {}, Object.defineProperties(Jb.prototype, {object:{get() {
1069
+ }, Kb.prototype = {}, Object.defineProperties(Kb.prototype, {object:{get() {
1063
1070
  return this.node;
1064
1071
  }, set(c) {
1065
1072
  this.node = c;
@@ -1072,84 +1079,84 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
1072
1079
  }, set(c) {
1073
1080
  this.h.position = c;
1074
1081
  },},}));
1075
- a = Object.assign(new Jb(), a);
1076
- -1 == b && (b = Hb());
1082
+ a = Object.assign(new Kb(), a);
1083
+ -1 == b && (b = Ib());
1077
1084
  a.X = b;
1078
- return vb[b] = a;
1079
- }, nb = {open:a => {
1080
- a.m = ub[a.node.Ca].m;
1085
+ return wb[b] = a;
1086
+ }, ob = {open:a => {
1087
+ a.m = vb[a.node.Ca].m;
1081
1088
  a.m.open && a.m.open(a);
1082
1089
  }, ba:() => {
1083
- throw new M(70);
1084
- },}, ib = (a, b) => {
1085
- ub[a] = {m:b};
1086
- }, Lb = (a, b) => {
1090
+ throw new N(70);
1091
+ },}, jb = (a, b) => {
1092
+ vb[a] = {m:b};
1093
+ }, Mb = (a, b) => {
1087
1094
  var c = "/" === b, d = !b;
1088
- if (c && tb) {
1089
- throw new M(10);
1095
+ if (c && ub) {
1096
+ throw new N(10);
1090
1097
  }
1091
1098
  if (!c && !d) {
1092
- var e = Ab(b, {cb:!1});
1099
+ var e = Bb(b, {cb:!1});
1093
1100
  b = e.path;
1094
1101
  e = e.node;
1095
1102
  if (e.Aa) {
1096
- throw new M(10);
1103
+ throw new N(10);
1097
1104
  }
1098
1105
  if (16384 !== (e.mode & 61440)) {
1099
- throw new M(54);
1106
+ throw new N(54);
1100
1107
  }
1101
1108
  }
1102
- b = {type:a, Mc:{}, ib:b, $b:[]};
1109
+ b = {type:a, Nc:{}, ib:b, ac:[]};
1103
1110
  a = a.U(b);
1104
1111
  a.U = b;
1105
1112
  b.root = a;
1106
- c ? tb = a : e && (e.Aa = b, e.U && e.U.$b.push(b));
1107
- }, O = (a, b, c) => {
1108
- var d = Ab(a, {parent:!0}).node;
1109
- a = Ya(a);
1113
+ c ? ub = a : e && (e.Aa = b, e.U && e.U.ac.push(b));
1114
+ }, P = (a, b, c) => {
1115
+ var d = Bb(a, {parent:!0}).node;
1116
+ a = Za(a);
1110
1117
  if (!a || "." === a || ".." === a) {
1111
- throw new M(28);
1118
+ throw new N(28);
1112
1119
  }
1113
- var e = Gb(d, a);
1120
+ var e = Hb(d, a);
1114
1121
  if (e) {
1115
- throw new M(e);
1122
+ throw new N(e);
1116
1123
  }
1117
1124
  if (!d.l.za) {
1118
- throw new M(63);
1125
+ throw new N(63);
1119
1126
  }
1120
1127
  return d.l.za(d, a, b, c);
1121
- }, Mb = (a, b, c) => {
1128
+ }, Nb = (a, b, c) => {
1122
1129
  "undefined" == typeof c && (c = b, b = 438);
1123
- O(a, b | 8192, c);
1124
- }, Nb = (a, b) => {
1125
- if (!ab(a)) {
1126
- throw new M(44);
1130
+ P(a, b | 8192, c);
1131
+ }, Ob = (a, b) => {
1132
+ if (!bb(a)) {
1133
+ throw new N(44);
1127
1134
  }
1128
- var c = Ab(b, {parent:!0}).node;
1135
+ var c = Bb(b, {parent:!0}).node;
1129
1136
  if (!c) {
1130
- throw new M(44);
1137
+ throw new N(44);
1131
1138
  }
1132
- b = Ya(b);
1133
- var d = Gb(c, b);
1139
+ b = Za(b);
1140
+ var d = Hb(c, b);
1134
1141
  if (d) {
1135
- throw new M(d);
1142
+ throw new N(d);
1136
1143
  }
1137
1144
  if (!c.l.Fa) {
1138
- throw new M(63);
1145
+ throw new N(63);
1139
1146
  }
1140
1147
  c.l.Fa(c, b, a);
1141
- }, zb = a => {
1142
- a = Ab(a).node;
1148
+ }, Ab = a => {
1149
+ a = Bb(a).node;
1143
1150
  if (!a) {
1144
- throw new M(44);
1151
+ throw new N(44);
1145
1152
  }
1146
1153
  if (!a.l.na) {
1147
- throw new M(28);
1154
+ throw new N(28);
1148
1155
  }
1149
- return ab(Bb(a.parent), a.l.na(a));
1150
- }, Pb = (a, b, c) => {
1156
+ return bb(Cb(a.parent), a.l.na(a));
1157
+ }, Qb = (a, b, c) => {
1151
1158
  if ("" === a) {
1152
- throw new M(44);
1159
+ throw new N(44);
1153
1160
  }
1154
1161
  if ("string" == typeof b) {
1155
1162
  var d = {r:0, "r+":2, w:577, "w+":578, a:1089, "a+":1090,}[b];
@@ -1162,9 +1169,9 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
1162
1169
  if ("object" == typeof a) {
1163
1170
  var e = a;
1164
1171
  } else {
1165
- a = Wa(a);
1172
+ a = Xa(a);
1166
1173
  try {
1167
- e = Ab(a, {bb:!(b & 131072)}).node;
1174
+ e = Bb(a, {bb:!(b & 131072)}).node;
1168
1175
  } catch (f) {
1169
1176
  }
1170
1177
  }
@@ -1172,114 +1179,114 @@ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {},
1172
1179
  if (b & 64) {
1173
1180
  if (e) {
1174
1181
  if (b & 128) {
1175
- throw new M(20);
1182
+ throw new N(20);
1176
1183
  }
1177
1184
  } else {
1178
- e = O(a, c, 0), d = !0;
1185
+ e = P(a, c, 0), d = !0;
1179
1186
  }
1180
1187
  }
1181
1188
  if (!e) {
1182
- throw new M(44);
1189
+ throw new N(44);
1183
1190
  }
1184
1191
  8192 === (e.mode & 61440) && (b &= -513);
1185
1192
  if (b & 65536 && 16384 !== (e.mode & 61440)) {
1186
- throw new M(54);
1193
+ throw new N(54);
1187
1194
  }
1188
- if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !== Fb(b) || b & 512) ? 31 : Db(e, Fb(b)) : 44)) {
1189
- throw new M(c);
1195
+ if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !== Gb(b) || b & 512) ? 31 : Eb(e, Gb(b)) : 44)) {
1196
+ throw new N(c);
1190
1197
  }
1191
1198
  if (b & 512 && !d) {
1192
1199
  c = e;
1193
- c = "string" == typeof c ? Ab(c, {bb:!0}).node : c;
1200
+ c = "string" == typeof c ? Bb(c, {bb:!0}).node : c;
1194
1201
  if (!c.l.P) {
1195
- throw new M(63);
1202
+ throw new N(63);
1196
1203
  }
1197
1204
  if (16384 === (c.mode & 61440)) {
1198
- throw new M(31);
1205
+ throw new N(31);
1199
1206
  }
1200
1207
  if (32768 !== (c.mode & 61440)) {
1201
- throw new M(28);
1208
+ throw new N(28);
1202
1209
  }
1203
- if (d = Db(c, "w")) {
1204
- throw new M(d);
1210
+ if (d = Eb(c, "w")) {
1211
+ throw new N(d);
1205
1212
  }
1206
1213
  c.l.P(c, {size:0, timestamp:Date.now()});
1207
1214
  }
1208
1215
  b &= -131713;
1209
- e = Kb({node:e, path:Bb(e), flags:b, seekable:!0, position:0, m:e.m, oc:[], error:!1});
1216
+ e = Lb({node:e, path:Cb(e), flags:b, seekable:!0, position:0, m:e.m, pc:[], error:!1});
1210
1217
  e.m.open && e.m.open(e);
1211
- !m.logReadFiles || b & 1 || (Ob || (Ob = {}), a in Ob || (Ob[a] = 1));
1218
+ !k.logReadFiles || b & 1 || (Pb || (Pb = {}), a in Pb || (Pb[a] = 1));
1212
1219
  return e;
1213
- }, Qb = (a, b, c) => {
1220
+ }, Rb = (a, b, c) => {
1214
1221
  if (null === a.X) {
1215
- throw new M(8);
1222
+ throw new N(8);
1216
1223
  }
1217
1224
  if (!a.seekable || !a.m.ba) {
1218
- throw new M(70);
1225
+ throw new N(70);
1219
1226
  }
1220
1227
  if (0 != c && 1 != c && 2 != c) {
1221
- throw new M(28);
1228
+ throw new N(28);
1222
1229
  }
1223
1230
  a.position = a.m.ba(a, b, c);
1224
- a.oc = [];
1225
- }, Rb = () => {
1226
- M || (M = function(a, b) {
1231
+ a.pc = [];
1232
+ }, Sb = () => {
1233
+ N || (N = function(a, b) {
1227
1234
  this.name = "ErrnoError";
1228
1235
  this.node = b;
1229
- this.dc = function(c) {
1236
+ this.ec = function(c) {
1230
1237
  this.aa = c;
1231
1238
  };
1232
- this.dc(a);
1239
+ this.ec(a);
1233
1240
  this.message = "FS error";
1234
- }, M.prototype = Error(), M.prototype.constructor = M, [44].forEach(a => {
1235
- pb[a] = new M(a);
1236
- pb[a].stack = "<generic error, no stack>";
1241
+ }, N.prototype = Error(), N.prototype.constructor = N, [44].forEach(a => {
1242
+ qb[a] = new N(a);
1243
+ qb[a].stack = "<generic error, no stack>";
1237
1244
  }));
1238
- }, Sb, Ub = (a, b, c) => {
1239
- a = Wa("/dev/" + a);
1240
- var d = sb(!!b, !!c);
1241
- Tb || (Tb = 64);
1242
- var e = Tb++ << 8 | 0;
1243
- ib(e, {open:f => {
1245
+ }, Tb, Vb = (a, b, c) => {
1246
+ a = Xa("/dev/" + a);
1247
+ var d = tb(!!b, !!c);
1248
+ Ub || (Ub = 64);
1249
+ var e = Ub++ << 8 | 0;
1250
+ jb(e, {open:f => {
1244
1251
  f.seekable = !1;
1245
1252
  }, close:() => {
1246
1253
  c && c.buffer && c.buffer.length && c(10);
1247
- }, read:(f, g, n, p) => {
1248
- for (var l = 0, t = 0; t < p; t++) {
1254
+ }, read:(f, g, l, p) => {
1255
+ for (var m = 0, t = 0; t < p; t++) {
1249
1256
  try {
1250
- var u = b();
1257
+ var v = b();
1251
1258
  } catch (x) {
1252
- throw new M(29);
1259
+ throw new N(29);
1253
1260
  }
1254
- if (void 0 === u && 0 === l) {
1255
- throw new M(6);
1261
+ if (void 0 === v && 0 === m) {
1262
+ throw new N(6);
1256
1263
  }
1257
- if (null === u || void 0 === u) {
1264
+ if (null === v || void 0 === v) {
1258
1265
  break;
1259
1266
  }
1260
- l++;
1261
- g[n + t] = u;
1267
+ m++;
1268
+ g[l + t] = v;
1262
1269
  }
1263
- l && (f.node.timestamp = Date.now());
1264
- return l;
1265
- }, write:(f, g, n, p) => {
1266
- for (var l = 0; l < p; l++) {
1270
+ m && (f.node.timestamp = Date.now());
1271
+ return m;
1272
+ }, write:(f, g, l, p) => {
1273
+ for (var m = 0; m < p; m++) {
1267
1274
  try {
1268
- c(g[n + l]);
1275
+ c(g[l + m]);
1269
1276
  } catch (t) {
1270
- throw new M(29);
1277
+ throw new N(29);
1271
1278
  }
1272
1279
  }
1273
1280
  p && (f.node.timestamp = Date.now());
1274
- return l;
1281
+ return m;
1275
1282
  }});
1276
- Mb(a, d, e);
1277
- }, Tb, Vb = {}, Jb, Ob, Wb = void 0;
1278
- function Xb() {
1279
- Wb += 4;
1280
- return J[Wb - 4 >> 2];
1283
+ Nb(a, d, e);
1284
+ }, Ub, Wb = {}, Kb, Pb, Xb = void 0;
1285
+ function Yb() {
1286
+ Xb += 4;
1287
+ return J[Xb - 4 >> 2];
1281
1288
  }
1282
- function Yb(a) {
1289
+ function Zb(a) {
1283
1290
  if (void 0 === a) {
1284
1291
  return "_unknown";
1285
1292
  }
@@ -1287,24 +1294,24 @@ function Yb(a) {
1287
1294
  var b = a.charCodeAt(0);
1288
1295
  return 48 <= b && 57 >= b ? `_${a}` : a;
1289
1296
  }
1290
- function Zb(a, b) {
1291
- a = Yb(a);
1297
+ function $b(a, b) {
1298
+ a = Zb(a);
1292
1299
  return {[a]:function() {
1293
1300
  return b.apply(this, arguments);
1294
1301
  }}[a];
1295
1302
  }
1296
- function $b() {
1303
+ function ac() {
1297
1304
  this.M = [void 0];
1298
1305
  this.eb = [];
1299
1306
  }
1300
- var P = new $b(), ac = void 0;
1301
- function Q(a) {
1302
- throw new ac(a);
1307
+ var Q = new ac(), bc = void 0;
1308
+ function R(a) {
1309
+ throw new bc(a);
1303
1310
  }
1304
- var R = a => {
1305
- a || Q("Cannot use deleted val. handle = " + a);
1306
- return P.get(a).value;
1307
- }, bc = a => {
1311
+ var S = a => {
1312
+ a || R("Cannot use deleted val. handle = " + a);
1313
+ return Q.get(a).value;
1314
+ }, cc = a => {
1308
1315
  switch(a) {
1309
1316
  case void 0:
1310
1317
  return 1;
@@ -1315,11 +1322,11 @@ var R = a => {
1315
1322
  case !1:
1316
1323
  return 4;
1317
1324
  default:
1318
- return P.ta({qb:1, value:a});
1325
+ return Q.ta({qb:1, value:a});
1319
1326
  }
1320
1327
  };
1321
- function cc(a) {
1322
- var b = Error, c = Zb(a, function(d) {
1328
+ function dc(a) {
1329
+ var b = Error, c = $b(a, function(d) {
1323
1330
  this.name = a;
1324
1331
  this.message = d;
1325
1332
  d = Error(d).stack;
@@ -1332,122 +1339,122 @@ function cc(a) {
1332
1339
  };
1333
1340
  return c;
1334
1341
  }
1335
- var dc = void 0, ec = void 0;
1336
- function S(a) {
1337
- for (var b = ""; G[a];) {
1338
- b += ec[G[a++]];
1342
+ var ec = void 0, fc = void 0;
1343
+ function T(a) {
1344
+ for (var b = ""; F[a];) {
1345
+ b += fc[F[a++]];
1339
1346
  }
1340
1347
  return b;
1341
1348
  }
1342
- var fc = [];
1343
- function gc() {
1344
- for (; fc.length;) {
1345
- var a = fc.pop();
1349
+ var gc = [];
1350
+ function hc() {
1351
+ for (; gc.length;) {
1352
+ var a = gc.pop();
1346
1353
  a.g.ha = !1;
1347
1354
  a["delete"]();
1348
1355
  }
1349
1356
  }
1350
- var hc = void 0, ic = {};
1351
- function jc(a, b) {
1352
- for (void 0 === b && Q("ptr should not be undefined"); a.A;) {
1357
+ var ic = void 0, jc = {};
1358
+ function kc(a, b) {
1359
+ for (void 0 === b && R("ptr should not be undefined"); a.A;) {
1353
1360
  b = a.pa(b), a = a.A;
1354
1361
  }
1355
1362
  return b;
1356
1363
  }
1357
- var kc = {};
1358
- function lc(a) {
1359
- a = mc(a);
1360
- var b = S(a);
1361
- nc(a);
1364
+ var lc = {};
1365
+ function mc(a) {
1366
+ a = nc(a);
1367
+ var b = T(a);
1368
+ oc(a);
1362
1369
  return b;
1363
1370
  }
1364
- function oc(a, b) {
1365
- var c = kc[a];
1366
- void 0 === c && Q(b + " has unknown type " + lc(a));
1371
+ function pc(a, b) {
1372
+ var c = lc[a];
1373
+ void 0 === c && R(b + " has unknown type " + mc(a));
1367
1374
  return c;
1368
1375
  }
1369
- function pc() {
1376
+ function qc() {
1370
1377
  }
1371
- var qc = !1;
1372
- function rc(a) {
1378
+ var rc = !1;
1379
+ function sc(a) {
1373
1380
  --a.count.value;
1374
1381
  0 === a.count.value && (a.H ? a.L.W(a.H) : a.u.i.W(a.o));
1375
1382
  }
1376
- function sc(a, b, c) {
1383
+ function tc(a, b, c) {
1377
1384
  if (b === c) {
1378
1385
  return a;
1379
1386
  }
1380
1387
  if (void 0 === c.A) {
1381
1388
  return null;
1382
1389
  }
1383
- a = sc(a, b, c.A);
1384
- return null === a ? null : c.Ib(a);
1390
+ a = tc(a, b, c.A);
1391
+ return null === a ? null : c.Jb(a);
1385
1392
  }
1386
- var tc = {};
1387
- function uc(a, b) {
1388
- b = jc(a, b);
1389
- return ic[b];
1393
+ var uc = {};
1394
+ function vc(a, b) {
1395
+ b = kc(a, b);
1396
+ return jc[b];
1390
1397
  }
1391
- var vc = void 0;
1392
- function wc(a) {
1393
- throw new vc(a);
1398
+ var wc = void 0;
1399
+ function xc(a) {
1400
+ throw new wc(a);
1394
1401
  }
1395
- function xc(a, b) {
1396
- b.u && b.o || wc("makeClassHandle requires ptr and ptrType");
1397
- !!b.L !== !!b.H && wc("Both smartPtrType and smartPtr must be specified");
1402
+ function yc(a, b) {
1403
+ b.u && b.o || xc("makeClassHandle requires ptr and ptrType");
1404
+ !!b.L !== !!b.H && xc("Both smartPtrType and smartPtr must be specified");
1398
1405
  b.count = {value:1};
1399
- return yc(Object.create(a, {g:{value:b,},}));
1406
+ return zc(Object.create(a, {g:{value:b,},}));
1400
1407
  }
1401
- function yc(a) {
1408
+ function zc(a) {
1402
1409
  if ("undefined" === typeof FinalizationRegistry) {
1403
- return yc = b => b, a;
1410
+ return zc = b => b, a;
1404
1411
  }
1405
- qc = new FinalizationRegistry(b => {
1406
- rc(b.g);
1412
+ rc = new FinalizationRegistry(b => {
1413
+ sc(b.g);
1407
1414
  });
1408
- yc = b => {
1415
+ zc = b => {
1409
1416
  var c = b.g;
1410
- c.H && qc.register(b, {g:c}, b);
1417
+ c.H && rc.register(b, {g:c}, b);
1411
1418
  return b;
1412
1419
  };
1413
- pc = b => {
1414
- qc.unregister(b);
1420
+ qc = b => {
1421
+ rc.unregister(b);
1415
1422
  };
1416
- return yc(a);
1423
+ return zc(a);
1417
1424
  }
1418
- var zc = {};
1419
- function Ac(a) {
1425
+ var Ac = {};
1426
+ function Bc(a) {
1420
1427
  for (; a.length;) {
1421
1428
  var b = a.pop();
1422
1429
  a.pop()(b);
1423
1430
  }
1424
1431
  }
1425
- function Bc(a) {
1432
+ function Cc(a) {
1426
1433
  return this.fromWireType(J[a >> 2]);
1427
1434
  }
1428
- var Cc = {}, Dc = {};
1429
- function T(a, b, c) {
1430
- function d(n) {
1431
- n = c(n);
1432
- n.length !== a.length && wc("Mismatched type converter count");
1435
+ var Dc = {}, Ec = {};
1436
+ function U(a, b, c) {
1437
+ function d(l) {
1438
+ l = c(l);
1439
+ l.length !== a.length && xc("Mismatched type converter count");
1433
1440
  for (var p = 0; p < a.length; ++p) {
1434
- U(a[p], n[p]);
1441
+ V(a[p], l[p]);
1435
1442
  }
1436
1443
  }
1437
- a.forEach(function(n) {
1438
- Dc[n] = b;
1444
+ a.forEach(function(l) {
1445
+ Ec[l] = b;
1439
1446
  });
1440
1447
  var e = Array(b.length), f = [], g = 0;
1441
- b.forEach((n, p) => {
1442
- kc.hasOwnProperty(n) ? e[p] = kc[n] : (f.push(n), Cc.hasOwnProperty(n) || (Cc[n] = []), Cc[n].push(() => {
1443
- e[p] = kc[n];
1448
+ b.forEach((l, p) => {
1449
+ lc.hasOwnProperty(l) ? e[p] = lc[l] : (f.push(l), Dc.hasOwnProperty(l) || (Dc[l] = []), Dc[l].push(() => {
1450
+ e[p] = lc[l];
1444
1451
  ++g;
1445
1452
  g === f.length && d(e);
1446
1453
  }));
1447
1454
  });
1448
1455
  0 === f.length && d(e);
1449
1456
  }
1450
- function Ec(a) {
1457
+ function Fc(a) {
1451
1458
  switch(a) {
1452
1459
  case 1:
1453
1460
  return 0;
@@ -1461,72 +1468,72 @@ function Ec(a) {
1461
1468
  throw new TypeError(`Unknown type size: ${a}`);
1462
1469
  }
1463
1470
  }
1464
- function Fc(a, b, c = {}) {
1471
+ function Gc(a, b, c = {}) {
1465
1472
  var d = b.name;
1466
- a || Q(`type "${d}" must have a positive integer typeid pointer`);
1467
- if (kc.hasOwnProperty(a)) {
1468
- if (c.Tb) {
1473
+ a || R(`type "${d}" must have a positive integer typeid pointer`);
1474
+ if (lc.hasOwnProperty(a)) {
1475
+ if (c.Ub) {
1469
1476
  return;
1470
1477
  }
1471
- Q(`Cannot register type '${d}' twice`);
1478
+ R(`Cannot register type '${d}' twice`);
1472
1479
  }
1473
- kc[a] = b;
1474
- delete Dc[a];
1475
- Cc.hasOwnProperty(a) && (b = Cc[a], delete Cc[a], b.forEach(e => e()));
1480
+ lc[a] = b;
1481
+ delete Ec[a];
1482
+ Dc.hasOwnProperty(a) && (b = Dc[a], delete Dc[a], b.forEach(e => e()));
1476
1483
  }
1477
- function U(a, b, c = {}) {
1484
+ function V(a, b, c = {}) {
1478
1485
  if (!("argPackAdvance" in b)) {
1479
1486
  throw new TypeError("registerType registeredInstance requires argPackAdvance");
1480
1487
  }
1481
- Fc(a, b, c);
1488
+ Gc(a, b, c);
1482
1489
  }
1483
- function Gc(a) {
1484
- Q(a.g.u.i.name + " instance already deleted");
1490
+ function Hc(a) {
1491
+ R(a.g.u.i.name + " instance already deleted");
1485
1492
  }
1486
- function Hc() {
1493
+ function Ic() {
1487
1494
  }
1488
- function Ic(a, b, c) {
1495
+ function Jc(a, b, c) {
1489
1496
  if (void 0 === a[b].B) {
1490
1497
  var d = a[b];
1491
1498
  a[b] = function() {
1492
- a[b].B.hasOwnProperty(arguments.length) || Q(`Function '${c}' called with an invalid number of arguments (${arguments.length}) - expects one of (${a[b].B})!`);
1499
+ a[b].B.hasOwnProperty(arguments.length) || R(`Function '${c}' called with an invalid number of arguments (${arguments.length}) - expects one of (${a[b].B})!`);
1493
1500
  return a[b].B[arguments.length].apply(this, arguments);
1494
1501
  };
1495
1502
  a[b].B = [];
1496
1503
  a[b].B[d.ga] = d;
1497
1504
  }
1498
1505
  }
1499
- function Jc(a, b, c) {
1500
- m.hasOwnProperty(a) ? ((void 0 === c || void 0 !== m[a].B && void 0 !== m[a].B[c]) && Q(`Cannot register public name '${a}' twice`), Ic(m, a, a), m.hasOwnProperty(c) && Q(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`), m[a].B[c] = b) : (m[a] = b, void 0 !== c && (m[a].Lc = c));
1506
+ function Kc(a, b, c) {
1507
+ k.hasOwnProperty(a) ? ((void 0 === c || void 0 !== k[a].B && void 0 !== k[a].B[c]) && R(`Cannot register public name '${a}' twice`), Jc(k, a, a), k.hasOwnProperty(c) && R(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`), k[a].B[c] = b) : (k[a] = b, void 0 !== c && (k[a].Mc = c));
1501
1508
  }
1502
- function Kc(a, b, c, d, e, f, g, n) {
1509
+ function Lc(a, b, c, d, e, f, g, l) {
1503
1510
  this.name = a;
1504
1511
  this.constructor = b;
1505
1512
  this.N = c;
1506
1513
  this.W = d;
1507
1514
  this.A = e;
1508
- this.Nb = f;
1515
+ this.Ob = f;
1509
1516
  this.pa = g;
1510
- this.Ib = n;
1517
+ this.Jb = l;
1511
1518
  this.mb = [];
1512
1519
  }
1513
- function Lc(a, b, c) {
1520
+ function Mc(a, b, c) {
1514
1521
  for (; b !== c;) {
1515
- b.pa || Q(`Expected null or instance of ${c.name}, got an instance of ${b.name}`), a = b.pa(a), b = b.A;
1522
+ b.pa || R(`Expected null or instance of ${c.name}, got an instance of ${b.name}`), a = b.pa(a), b = b.A;
1516
1523
  }
1517
1524
  return a;
1518
1525
  }
1519
- function Mc(a, b) {
1526
+ function Nc(a, b) {
1520
1527
  if (null === b) {
1521
- return this.Pa && Q(`null is not a valid ${this.name}`), 0;
1528
+ return this.Pa && R(`null is not a valid ${this.name}`), 0;
1522
1529
  }
1523
- b.g || Q(`Cannot pass "${Nc(b)}" as a ${this.name}`);
1524
- b.g.o || Q(`Cannot pass deleted object as a pointer of type ${this.name}`);
1525
- return Lc(b.g.o, b.g.u.i, this.i);
1530
+ b.g || R(`Cannot pass "${Oc(b)}" as a ${this.name}`);
1531
+ b.g.o || R(`Cannot pass deleted object as a pointer of type ${this.name}`);
1532
+ return Mc(b.g.o, b.g.u.i, this.i);
1526
1533
  }
1527
- function Oc(a, b) {
1534
+ function Pc(a, b) {
1528
1535
  if (null === b) {
1529
- this.Pa && Q(`null is not a valid ${this.name}`);
1536
+ this.Pa && R(`null is not a valid ${this.name}`);
1530
1537
  if (this.ya) {
1531
1538
  var c = this.Ra();
1532
1539
  null !== a && a.push(this.W, c);
@@ -1534,14 +1541,14 @@ function Oc(a, b) {
1534
1541
  }
1535
1542
  return 0;
1536
1543
  }
1537
- b.g || Q(`Cannot pass "${Nc(b)}" as a ${this.name}`);
1538
- b.g.o || Q(`Cannot pass deleted object as a pointer of type ${this.name}`);
1539
- !this.xa && b.g.u.xa && Q(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1540
- c = Lc(b.g.o, b.g.u.i, this.i);
1544
+ b.g || R(`Cannot pass "${Oc(b)}" as a ${this.name}`);
1545
+ b.g.o || R(`Cannot pass deleted object as a pointer of type ${this.name}`);
1546
+ !this.xa && b.g.u.xa && R(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1547
+ c = Mc(b.g.o, b.g.u.i, this.i);
1541
1548
  if (this.ya) {
1542
- switch(void 0 === b.g.H && Q("Passing raw pointer to smart pointer is illegal"), this.ic) {
1549
+ switch(void 0 === b.g.H && R("Passing raw pointer to smart pointer is illegal"), this.jc) {
1543
1550
  case 0:
1544
- b.g.L === this ? c = b.g.H : Q(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1551
+ b.g.L === this ? c = b.g.H : R(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1545
1552
  break;
1546
1553
  case 1:
1547
1554
  c = b.g.H;
@@ -1551,133 +1558,133 @@ function Oc(a, b) {
1551
1558
  c = b.g.H;
1552
1559
  } else {
1553
1560
  var d = b.clone();
1554
- c = this.cc(c, bc(function() {
1561
+ c = this.dc(c, cc(function() {
1555
1562
  d["delete"]();
1556
1563
  }));
1557
1564
  null !== a && a.push(this.W, c);
1558
1565
  }
1559
1566
  break;
1560
1567
  default:
1561
- Q("Unsupporting sharing policy");
1568
+ R("Unsupporting sharing policy");
1562
1569
  }
1563
1570
  }
1564
1571
  return c;
1565
1572
  }
1566
- function Pc(a, b) {
1573
+ function Qc(a, b) {
1567
1574
  if (null === b) {
1568
- return this.Pa && Q(`null is not a valid ${this.name}`), 0;
1575
+ return this.Pa && R(`null is not a valid ${this.name}`), 0;
1569
1576
  }
1570
- b.g || Q(`Cannot pass "${Nc(b)}" as a ${this.name}`);
1571
- b.g.o || Q(`Cannot pass deleted object as a pointer of type ${this.name}`);
1572
- b.g.u.xa && Q(`Cannot convert argument of type ${b.g.u.name} to parameter type ${this.name}`);
1573
- return Lc(b.g.o, b.g.u.i, this.i);
1577
+ b.g || R(`Cannot pass "${Oc(b)}" as a ${this.name}`);
1578
+ b.g.o || R(`Cannot pass deleted object as a pointer of type ${this.name}`);
1579
+ b.g.u.xa && R(`Cannot convert argument of type ${b.g.u.name} to parameter type ${this.name}`);
1580
+ return Mc(b.g.o, b.g.u.i, this.i);
1574
1581
  }
1575
- function Qc(a, b, c, d) {
1582
+ function Rc(a, b, c, d) {
1576
1583
  this.name = a;
1577
1584
  this.i = b;
1578
1585
  this.Pa = c;
1579
1586
  this.xa = d;
1580
1587
  this.ya = !1;
1581
- this.W = this.cc = this.Ra = this.ob = this.ic = this.bc = void 0;
1582
- void 0 !== b.A ? this.toWireType = Oc : (this.toWireType = d ? Mc : Pc, this.K = null);
1588
+ this.W = this.dc = this.Ra = this.ob = this.jc = this.cc = void 0;
1589
+ void 0 !== b.A ? this.toWireType = Pc : (this.toWireType = d ? Nc : Qc, this.K = null);
1583
1590
  }
1584
- function Rc(a, b, c) {
1585
- m.hasOwnProperty(a) || wc("Replacing nonexistant public symbol");
1586
- void 0 !== m[a].B && void 0 !== c ? m[a].B[c] = b : (m[a] = b, m[a].ga = c);
1591
+ function Sc(a, b, c) {
1592
+ k.hasOwnProperty(a) || xc("Replacing nonexistant public symbol");
1593
+ void 0 !== k[a].B && void 0 !== c ? k[a].B[c] = b : (k[a] = b, k[a].ga = c);
1587
1594
  }
1588
- var Sc = [], Tc = a => {
1589
- var b = Sc[a];
1590
- b || (a >= Sc.length && (Sc.length = a + 1), Sc[a] = b = za.get(a));
1595
+ var Tc = [], Uc = a => {
1596
+ var b = Tc[a];
1597
+ b || (a >= Tc.length && (Tc.length = a + 1), Tc[a] = b = Aa.get(a));
1591
1598
  return b;
1592
- }, Uc = (a, b) => {
1599
+ }, Vc = (a, b) => {
1593
1600
  var c = [];
1594
1601
  return function() {
1595
1602
  c.length = 0;
1596
1603
  Object.assign(c, arguments);
1597
1604
  if (a.includes("j")) {
1598
- var d = m["dynCall_" + a];
1605
+ var d = k["dynCall_" + a];
1599
1606
  d = c && c.length ? d.apply(null, [b].concat(c)) : d.call(null, b);
1600
1607
  } else {
1601
- d = Tc(b).apply(null, c);
1608
+ d = Uc(b).apply(null, c);
1602
1609
  }
1603
1610
  return d;
1604
1611
  };
1605
1612
  };
1606
- function V(a, b) {
1607
- a = S(a);
1608
- var c = a.includes("j") ? Uc(a, b) : Tc(b);
1609
- "function" != typeof c && Q(`unknown function pointer with signature ${a}: ${b}`);
1613
+ function W(a, b) {
1614
+ a = T(a);
1615
+ var c = a.includes("j") ? Vc(a, b) : Uc(b);
1616
+ "function" != typeof c && R(`unknown function pointer with signature ${a}: ${b}`);
1610
1617
  return c;
1611
1618
  }
1612
- var Vc = void 0;
1613
- function Wc(a, b) {
1619
+ var Wc = void 0;
1620
+ function Xc(a, b) {
1614
1621
  function c(f) {
1615
- e[f] || kc[f] || (Dc[f] ? Dc[f].forEach(c) : (d.push(f), e[f] = !0));
1622
+ e[f] || lc[f] || (Ec[f] ? Ec[f].forEach(c) : (d.push(f), e[f] = !0));
1616
1623
  }
1617
1624
  var d = [], e = {};
1618
1625
  b.forEach(c);
1619
- throw new Vc(`${a}: ` + d.map(lc).join([", "]));
1626
+ throw new Wc(`${a}: ` + d.map(mc).join([", "]));
1620
1627
  }
1621
- function Xc(a, b, c, d, e) {
1628
+ function Yc(a, b, c, d, e) {
1622
1629
  var f = b.length;
1623
- 2 > f && Q("argTypes array size mismatch! Must at least get return value and 'this' types!");
1624
- var g = null !== b[1] && null !== c, n = !1;
1630
+ 2 > f && R("argTypes array size mismatch! Must at least get return value and 'this' types!");
1631
+ var g = null !== b[1] && null !== c, l = !1;
1625
1632
  for (c = 1; c < b.length; ++c) {
1626
1633
  if (null !== b[c] && void 0 === b[c].K) {
1627
- n = !0;
1634
+ l = !0;
1628
1635
  break;
1629
1636
  }
1630
1637
  }
1631
- var p = "void" !== b[0].name, l = f - 2, t = Array(l), u = [], x = [];
1638
+ var p = "void" !== b[0].name, m = f - 2, t = Array(m), v = [], x = [];
1632
1639
  return function() {
1633
- arguments.length !== l && Q(`function ${a} called with ${arguments.length} arguments, expected ${l} args!`);
1640
+ arguments.length !== m && R(`function ${a} called with ${arguments.length} arguments, expected ${m} args!`);
1634
1641
  x.length = 0;
1635
- u.length = g ? 2 : 1;
1636
- u[0] = e;
1642
+ v.length = g ? 2 : 1;
1643
+ v[0] = e;
1637
1644
  if (g) {
1638
- var k = b[1].toWireType(x, this);
1639
- u[1] = k;
1645
+ var n = b[1].toWireType(x, this);
1646
+ v[1] = n;
1640
1647
  }
1641
- for (var q = 0; q < l; ++q) {
1642
- t[q] = b[q + 2].toWireType(x, arguments[q]), u.push(t[q]);
1648
+ for (var q = 0; q < m; ++q) {
1649
+ t[q] = b[q + 2].toWireType(x, arguments[q]), v.push(t[q]);
1643
1650
  }
1644
- q = d.apply(null, u);
1645
- if (n) {
1646
- Ac(x);
1651
+ q = d.apply(null, v);
1652
+ if (l) {
1653
+ Bc(x);
1647
1654
  } else {
1648
- for (var v = g ? 1 : 2; v < b.length; v++) {
1649
- var y = 1 === v ? k : t[v - 2];
1650
- null !== b[v].K && b[v].K(y);
1655
+ for (var u = g ? 1 : 2; u < b.length; u++) {
1656
+ var y = 1 === u ? n : t[u - 2];
1657
+ null !== b[u].K && b[u].K(y);
1651
1658
  }
1652
1659
  }
1653
- k = p ? b[0].fromWireType(q) : void 0;
1654
- return k;
1660
+ n = p ? b[0].fromWireType(q) : void 0;
1661
+ return n;
1655
1662
  };
1656
1663
  }
1657
- function Yc(a, b) {
1664
+ function Zc(a, b) {
1658
1665
  for (var c = [], d = 0; d < a; d++) {
1659
1666
  c.push(K[b + 4 * d >> 2]);
1660
1667
  }
1661
1668
  return c;
1662
1669
  }
1663
- function Zc(a, b, c) {
1664
- a instanceof Object || Q(`${c} with invalid "this": ${a}`);
1665
- a instanceof b.i.constructor || Q(`${c} incompatible with "this" of type ${a.constructor.name}`);
1666
- a.g.o || Q(`cannot call emscripten binding method ${c} on deleted object`);
1667
- return Lc(a.g.o, a.g.u.i, b.i);
1670
+ function $c(a, b, c) {
1671
+ a instanceof Object || R(`${c} with invalid "this": ${a}`);
1672
+ a instanceof b.i.constructor || R(`${c} incompatible with "this" of type ${a.constructor.name}`);
1673
+ a.g.o || R(`cannot call emscripten binding method ${c} on deleted object`);
1674
+ return Mc(a.g.o, a.g.u.i, b.i);
1668
1675
  }
1669
- function $c(a) {
1670
- a >= P.h && 0 === --P.get(a).qb && P.Sb(a);
1676
+ function ad(a) {
1677
+ a >= Q.h && 0 === --Q.get(a).qb && Q.Tb(a);
1671
1678
  }
1672
- function ad(a, b, c) {
1679
+ function bd(a, b, c) {
1673
1680
  switch(b) {
1674
1681
  case 0:
1675
1682
  return function(d) {
1676
- return this.fromWireType((c ? D : G)[d]);
1683
+ return this.fromWireType((c ? D : F)[d]);
1677
1684
  };
1678
1685
  case 1:
1679
1686
  return function(d) {
1680
- return this.fromWireType((c ? I : va)[d >> 1]);
1687
+ return this.fromWireType((c ? H : wa)[d >> 1]);
1681
1688
  };
1682
1689
  case 2:
1683
1690
  return function(d) {
@@ -1687,40 +1694,40 @@ function ad(a, b, c) {
1687
1694
  throw new TypeError("Unknown integer type: " + a);
1688
1695
  }
1689
1696
  }
1690
- function Nc(a) {
1697
+ function Oc(a) {
1691
1698
  if (null === a) {
1692
1699
  return "null";
1693
1700
  }
1694
1701
  var b = typeof a;
1695
1702
  return "object" === b || "array" === b || "function" === b ? a.toString() : "" + a;
1696
1703
  }
1697
- function bd(a, b) {
1704
+ function cd(a, b) {
1698
1705
  switch(b) {
1699
1706
  case 2:
1700
1707
  return function(c) {
1701
- return this.fromWireType(wa[c >> 2]);
1708
+ return this.fromWireType(xa[c >> 2]);
1702
1709
  };
1703
1710
  case 3:
1704
1711
  return function(c) {
1705
- return this.fromWireType(xa[c >> 3]);
1712
+ return this.fromWireType(ya[c >> 3]);
1706
1713
  };
1707
1714
  default:
1708
1715
  throw new TypeError("Unknown float type: " + a);
1709
1716
  }
1710
1717
  }
1711
- function cd(a, b, c) {
1718
+ function dd(a, b, c) {
1712
1719
  switch(b) {
1713
1720
  case 0:
1714
1721
  return c ? function(d) {
1715
1722
  return D[d];
1716
1723
  } : function(d) {
1717
- return G[d];
1724
+ return F[d];
1718
1725
  };
1719
1726
  case 1:
1720
1727
  return c ? function(d) {
1721
- return I[d >> 1];
1728
+ return H[d >> 1];
1722
1729
  } : function(d) {
1723
- return va[d >> 1];
1730
+ return wa[d >> 1];
1724
1731
  };
1725
1732
  case 2:
1726
1733
  return c ? function(d) {
@@ -1732,25 +1739,25 @@ function cd(a, b, c) {
1732
1739
  throw new TypeError("Unknown integer type: " + a);
1733
1740
  }
1734
1741
  }
1735
- var dd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void 0, ed = (a, b) => {
1742
+ var ed = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void 0, fd = (a, b) => {
1736
1743
  var c = a >> 1;
1737
- for (var d = c + b / 2; !(c >= d) && va[c];) {
1744
+ for (var d = c + b / 2; !(c >= d) && wa[c];) {
1738
1745
  ++c;
1739
1746
  }
1740
1747
  c <<= 1;
1741
- if (32 < c - a && dd) {
1742
- return dd.decode(G.subarray(a, c));
1748
+ if (32 < c - a && ed) {
1749
+ return ed.decode(F.subarray(a, c));
1743
1750
  }
1744
1751
  c = "";
1745
1752
  for (d = 0; !(d >= b / 2); ++d) {
1746
- var e = I[a + 2 * d >> 1];
1753
+ var e = H[a + 2 * d >> 1];
1747
1754
  if (0 == e) {
1748
1755
  break;
1749
1756
  }
1750
1757
  c += String.fromCharCode(e);
1751
1758
  }
1752
1759
  return c;
1753
- }, fd = (a, b, c) => {
1760
+ }, gd = (a, b, c) => {
1754
1761
  void 0 === c && (c = 2147483647);
1755
1762
  if (2 > c) {
1756
1763
  return 0;
@@ -1759,11 +1766,11 @@ var dd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1759
1766
  var d = b;
1760
1767
  c = c < 2 * a.length ? c / 2 : a.length;
1761
1768
  for (var e = 0; e < c; ++e) {
1762
- I[b >> 1] = a.charCodeAt(e), b += 2;
1769
+ H[b >> 1] = a.charCodeAt(e), b += 2;
1763
1770
  }
1764
- I[b >> 1] = 0;
1771
+ H[b >> 1] = 0;
1765
1772
  return b - d;
1766
- }, gd = a => 2 * a.length, hd = (a, b) => {
1773
+ }, hd = a => 2 * a.length, jd = (a, b) => {
1767
1774
  for (var c = 0, d = ""; !(c >= b / 4);) {
1768
1775
  var e = J[a + 4 * c >> 2];
1769
1776
  if (0 == e) {
@@ -1773,7 +1780,7 @@ var dd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1773
1780
  65536 <= e ? (e -= 65536, d += String.fromCharCode(55296 | e >> 10, 56320 | e & 1023)) : d += String.fromCharCode(e);
1774
1781
  }
1775
1782
  return d;
1776
- }, jd = (a, b, c) => {
1783
+ }, kd = (a, b, c) => {
1777
1784
  void 0 === c && (c = 2147483647);
1778
1785
  if (4 > c) {
1779
1786
  return 0;
@@ -1794,102 +1801,102 @@ var dd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1794
1801
  }
1795
1802
  J[b >> 2] = 0;
1796
1803
  return b - d;
1797
- }, kd = a => {
1804
+ }, ld = a => {
1798
1805
  for (var b = 0, c = 0; c < a.length; ++c) {
1799
1806
  var d = a.charCodeAt(c);
1800
1807
  55296 <= d && 57343 >= d && ++c;
1801
1808
  b += 4;
1802
1809
  }
1803
1810
  return b;
1804
- }, ld = {};
1805
- function md(a) {
1806
- var b = ld[a];
1807
- return void 0 === b ? S(a) : b;
1811
+ }, md = {};
1812
+ function nd(a) {
1813
+ var b = md[a];
1814
+ return void 0 === b ? T(a) : b;
1808
1815
  }
1809
- var nd = [];
1810
- function od(a) {
1811
- var b = nd.length;
1812
- nd.push(a);
1816
+ var od = [];
1817
+ function pd(a) {
1818
+ var b = od.length;
1819
+ od.push(a);
1813
1820
  return b;
1814
1821
  }
1815
- function pd(a, b) {
1822
+ function qd(a, b) {
1816
1823
  for (var c = Array(a), d = 0; d < a; ++d) {
1817
- c[d] = oc(K[b + 4 * d >> 2], "parameter " + d);
1824
+ c[d] = pc(K[b + 4 * d >> 2], "parameter " + d);
1818
1825
  }
1819
1826
  return c;
1820
1827
  }
1821
- var qd = [], rd = [];
1822
- function sd(a) {
1823
- a.zc = a.getExtension("WEBGL_draw_instanced_base_vertex_base_instance");
1824
- }
1828
+ var rd = [], sd = [];
1825
1829
  function td(a) {
1826
- a.Hc = a.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance");
1830
+ a.Ac = a.getExtension("WEBGL_draw_instanced_base_vertex_base_instance");
1831
+ }
1832
+ function ud(a) {
1833
+ a.Ic = a.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance");
1827
1834
  }
1828
- var ud = 1, vd = [], W = [], wd = [], xd = [], yd = [], zd = [], Ad = [], w = [], Bd = {};
1829
- function X(a) {
1830
- Cd || (Cd = a);
1835
+ var vd = 1, wd = [], X = [], xd = [], yd = [], zd = [], Ad = [], Bd = [], w = [], Cd = {};
1836
+ function Y(a) {
1837
+ Dd || (Dd = a);
1831
1838
  }
1832
- function Dd(a) {
1833
- for (var b = ud++, c = a.length; c < b; c++) {
1839
+ function Ed(a) {
1840
+ for (var b = vd++, c = a.length; c < b; c++) {
1834
1841
  a[c] = null;
1835
1842
  }
1836
1843
  return b;
1837
1844
  }
1838
- function ha(a, b) {
1839
- var c = Dd(w), d = {handle:c, attributes:b, version:b.Dc, D:a};
1845
+ function ia(a, b) {
1846
+ var c = Ed(w), d = {handle:c, attributes:b, version:b.Ec, D:a};
1840
1847
  a.canvas && (a.canvas.zb = d);
1841
1848
  w[c] = d;
1842
- ("undefined" == typeof b.Jb || b.Jb) && Ed(d);
1849
+ ("undefined" == typeof b.Kb || b.Kb) && Fd(d);
1843
1850
  return c;
1844
1851
  }
1845
- function ia(a) {
1852
+ function ja(a) {
1846
1853
  r = w[a];
1847
- m.xc = Y = r && r.D;
1848
- return !(a && !Y);
1854
+ k.yc = Z = r && r.D;
1855
+ return !(a && !Z);
1849
1856
  }
1850
- function Ed(a) {
1857
+ function Fd(a) {
1851
1858
  a || (a = r);
1852
- if (!a.Ub) {
1853
- a.Ub = !0;
1859
+ if (!a.Vb) {
1860
+ a.Vb = !0;
1854
1861
  var b = a.D;
1855
- sd(b);
1856
1862
  td(b);
1863
+ ud(b);
1857
1864
  2 <= a.version && (b.$a = b.getExtension("EXT_disjoint_timer_query_webgl2"));
1858
1865
  if (2 > a.version || !b.$a) {
1859
1866
  b.$a = b.getExtension("EXT_disjoint_timer_query");
1860
1867
  }
1861
- Fd(b);
1868
+ Gd(b);
1862
1869
  (b.getSupportedExtensions() || []).forEach(function(c) {
1863
1870
  c.includes("lose_context") || c.includes("debug") || b.getExtension(c);
1864
1871
  });
1865
1872
  }
1866
1873
  }
1867
- var Cd, r;
1868
- function Fd(a) {
1869
- a.Jc = a.getExtension("WEBGL_multi_draw");
1874
+ var Dd, r;
1875
+ function Gd(a) {
1876
+ a.Kc = a.getExtension("WEBGL_multi_draw");
1870
1877
  }
1871
- var Gd = {}, Id = () => {
1872
- if (!Hd) {
1873
- var a = {USER:"web_user", LOGNAME:"web_user", PATH:"/", PWD:"/", HOME:"/home/web_user", LANG:("object" == typeof navigator && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", _:ka || "./this.program"}, b;
1874
- for (b in Gd) {
1875
- void 0 === Gd[b] ? delete a[b] : a[b] = Gd[b];
1878
+ var Hd = {}, Jd = () => {
1879
+ if (!Id) {
1880
+ var a = {USER:"web_user", LOGNAME:"web_user", PATH:"/", PWD:"/", HOME:"/home/web_user", LANG:("object" == typeof navigator && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", _:la || "./this.program"}, b;
1881
+ for (b in Hd) {
1882
+ void 0 === Hd[b] ? delete a[b] : a[b] = Hd[b];
1876
1883
  }
1877
1884
  var c = [];
1878
1885
  for (b in a) {
1879
1886
  c.push(`${b}=${a[b]}`);
1880
1887
  }
1881
- Hd = c;
1888
+ Id = c;
1882
1889
  }
1883
- return Hd;
1884
- }, Hd, Jd = [];
1885
- function Kd(a, b, c, d) {
1890
+ return Id;
1891
+ }, Id, Kd = [];
1892
+ function Ld(a, b, c, d) {
1886
1893
  for (var e = 0; e < a; e++) {
1887
- var f = Y[c](), g = f && Dd(d);
1888
- f ? (f.name = g, d[g] = f) : X(1282);
1894
+ var f = Z[c](), g = f && Ed(d);
1895
+ f ? (f.name = g, d[g] = f) : Y(1282);
1889
1896
  J[b + 4 * e >> 2] = g;
1890
1897
  }
1891
1898
  }
1892
- function Ld(a, b) {
1899
+ function Md(a, b) {
1893
1900
  if (b) {
1894
1901
  var c = void 0;
1895
1902
  switch(a) {
@@ -1903,26 +1910,26 @@ function Ld(a, b) {
1903
1910
  c = 0;
1904
1911
  break;
1905
1912
  case 34466:
1906
- var d = Y.getParameter(34467);
1913
+ var d = Z.getParameter(34467);
1907
1914
  c = d ? d.length : 0;
1908
1915
  break;
1909
1916
  case 33309:
1910
1917
  if (2 > r.version) {
1911
- X(1282);
1918
+ Y(1282);
1912
1919
  return;
1913
1920
  }
1914
- c = 2 * (Y.getSupportedExtensions() || []).length;
1921
+ c = 2 * (Z.getSupportedExtensions() || []).length;
1915
1922
  break;
1916
1923
  case 33307:
1917
1924
  case 33308:
1918
1925
  if (2 > r.version) {
1919
- X(1280);
1926
+ Y(1280);
1920
1927
  return;
1921
1928
  }
1922
1929
  c = 33307 == a ? 3 : 0;
1923
1930
  }
1924
1931
  if (void 0 === c) {
1925
- switch(d = Y.getParameter(a), typeof d) {
1932
+ switch(d = Z.getParameter(a), typeof d) {
1926
1933
  case "number":
1927
1934
  c = d;
1928
1935
  break;
@@ -1930,7 +1937,7 @@ function Ld(a, b) {
1930
1937
  c = d ? 1 : 0;
1931
1938
  break;
1932
1939
  case "string":
1933
- X(1280);
1940
+ Y(1280);
1934
1941
  return;
1935
1942
  case "object":
1936
1943
  if (null === d) {
@@ -1957,7 +1964,7 @@ function Ld(a, b) {
1957
1964
  c = 0;
1958
1965
  break;
1959
1966
  default:
1960
- X(1280);
1967
+ Y(1280);
1961
1968
  return;
1962
1969
  }
1963
1970
  } else {
@@ -1970,141 +1977,141 @@ function Ld(a, b) {
1970
1977
  try {
1971
1978
  c = d.name | 0;
1972
1979
  } catch (e) {
1973
- X(1280);
1974
- qa("GL_INVALID_ENUM in glGet0v: Unknown object returned from WebGL getParameter(" + a + ")! (error: " + e + ")");
1980
+ Y(1280);
1981
+ ra("GL_INVALID_ENUM in glGet0v: Unknown object returned from WebGL getParameter(" + a + ")! (error: " + e + ")");
1975
1982
  return;
1976
1983
  }
1977
1984
  }
1978
1985
  break;
1979
1986
  default:
1980
- X(1280);
1981
- qa("GL_INVALID_ENUM in glGet0v: Native code calling glGet0v(" + a + ") and it returns " + d + " of type " + typeof d + "!");
1987
+ Y(1280);
1988
+ ra("GL_INVALID_ENUM in glGet0v: Native code calling glGet0v(" + a + ") and it returns " + d + " of type " + typeof d + "!");
1982
1989
  return;
1983
1990
  }
1984
1991
  }
1985
1992
  J[b >> 2] = c;
1986
1993
  } else {
1987
- X(1281);
1994
+ Y(1281);
1988
1995
  }
1989
1996
  }
1990
- var Nd = a => {
1991
- var b = db(a) + 1, c = Md(b);
1992
- c && eb(a, G, c, b);
1997
+ var Od = a => {
1998
+ var b = eb(a) + 1, c = Nd(b);
1999
+ c && fb(a, F, c, b);
1993
2000
  return c;
1994
2001
  };
1995
- function Od(a) {
2002
+ function Pd(a) {
1996
2003
  return "]" == a.slice(-1) && a.lastIndexOf("[");
1997
2004
  }
1998
- var Pd = a => 0 === a % 4 && (0 !== a % 100 || 0 === a % 400), Qd = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Rd = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Sd = (a, b, c, d) => {
1999
- function e(k, q, v) {
2000
- for (k = "number" == typeof k ? k.toString() : k || ""; k.length < q;) {
2001
- k = v[0] + k;
2005
+ var Qd = a => 0 === a % 4 && (0 !== a % 100 || 0 === a % 400), Rd = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Sd = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Td = (a, b, c, d) => {
2006
+ function e(n, q, u) {
2007
+ for (n = "number" == typeof n ? n.toString() : n || ""; n.length < q;) {
2008
+ n = u[0] + n;
2002
2009
  }
2003
- return k;
2010
+ return n;
2004
2011
  }
2005
- function f(k, q) {
2006
- return e(k, q, "0");
2012
+ function f(n, q) {
2013
+ return e(n, q, "0");
2007
2014
  }
2008
- function g(k, q) {
2009
- function v(C) {
2010
- return 0 > C ? -1 : 0 < C ? 1 : 0;
2015
+ function g(n, q) {
2016
+ function u(z) {
2017
+ return 0 > z ? -1 : 0 < z ? 1 : 0;
2011
2018
  }
2012
2019
  var y;
2013
- 0 === (y = v(k.getFullYear() - q.getFullYear())) && 0 === (y = v(k.getMonth() - q.getMonth())) && (y = v(k.getDate() - q.getDate()));
2020
+ 0 === (y = u(n.getFullYear() - q.getFullYear())) && 0 === (y = u(n.getMonth() - q.getMonth())) && (y = u(n.getDate() - q.getDate()));
2014
2021
  return y;
2015
2022
  }
2016
- function n(k) {
2017
- switch(k.getDay()) {
2023
+ function l(n) {
2024
+ switch(n.getDay()) {
2018
2025
  case 0:
2019
- return new Date(k.getFullYear() - 1, 11, 29);
2026
+ return new Date(n.getFullYear() - 1, 11, 29);
2020
2027
  case 1:
2021
- return k;
2028
+ return n;
2022
2029
  case 2:
2023
- return new Date(k.getFullYear(), 0, 3);
2030
+ return new Date(n.getFullYear(), 0, 3);
2024
2031
  case 3:
2025
- return new Date(k.getFullYear(), 0, 2);
2032
+ return new Date(n.getFullYear(), 0, 2);
2026
2033
  case 4:
2027
- return new Date(k.getFullYear(), 0, 1);
2034
+ return new Date(n.getFullYear(), 0, 1);
2028
2035
  case 5:
2029
- return new Date(k.getFullYear() - 1, 11, 31);
2036
+ return new Date(n.getFullYear() - 1, 11, 31);
2030
2037
  case 6:
2031
- return new Date(k.getFullYear() - 1, 11, 30);
2038
+ return new Date(n.getFullYear() - 1, 11, 30);
2032
2039
  }
2033
2040
  }
2034
- function p(k) {
2035
- var q = k.ca;
2036
- for (k = new Date((new Date(k.da + 1900, 0, 1)).getTime()); 0 < q;) {
2037
- var v = k.getMonth(), y = (Pd(k.getFullYear()) ? Qd : Rd)[v];
2038
- if (q > y - k.getDate()) {
2039
- q -= y - k.getDate() + 1, k.setDate(1), 11 > v ? k.setMonth(v + 1) : (k.setMonth(0), k.setFullYear(k.getFullYear() + 1));
2041
+ function p(n) {
2042
+ var q = n.ca;
2043
+ for (n = new Date((new Date(n.da + 1900, 0, 1)).getTime()); 0 < q;) {
2044
+ var u = n.getMonth(), y = (Qd(n.getFullYear()) ? Rd : Sd)[u];
2045
+ if (q > y - n.getDate()) {
2046
+ q -= y - n.getDate() + 1, n.setDate(1), 11 > u ? n.setMonth(u + 1) : (n.setMonth(0), n.setFullYear(n.getFullYear() + 1));
2040
2047
  } else {
2041
- k.setDate(k.getDate() + q);
2048
+ n.setDate(n.getDate() + q);
2042
2049
  break;
2043
2050
  }
2044
2051
  }
2045
- v = new Date(k.getFullYear() + 1, 0, 4);
2046
- q = n(new Date(k.getFullYear(), 0, 4));
2047
- v = n(v);
2048
- return 0 >= g(q, k) ? 0 >= g(v, k) ? k.getFullYear() + 1 : k.getFullYear() : k.getFullYear() - 1;
2049
- }
2050
- var l = J[d + 40 >> 2];
2051
- d = {lc:J[d >> 2], kc:J[d + 4 >> 2], Ga:J[d + 8 >> 2], Ta:J[d + 12 >> 2], Ha:J[d + 16 >> 2], da:J[d + 20 >> 2], R:J[d + 24 >> 2], ca:J[d + 28 >> 2], Oc:J[d + 32 >> 2], jc:J[d + 36 >> 2], mc:l ? l ? L(G, l) : "" : ""};
2052
- c = c ? L(G, c) : "";
2053
- l = {"%c":"%a %b %d %H:%M:%S %Y", "%D":"%m/%d/%y", "%F":"%Y-%m-%d", "%h":"%b", "%r":"%I:%M:%S %p", "%R":"%H:%M", "%T":"%H:%M:%S", "%x":"%m/%d/%y", "%X":"%H:%M:%S", "%Ec":"%c", "%EC":"%C", "%Ex":"%m/%d/%y", "%EX":"%H:%M:%S", "%Ey":"%y", "%EY":"%Y", "%Od":"%d", "%Oe":"%e", "%OH":"%H", "%OI":"%I", "%Om":"%m", "%OM":"%M", "%OS":"%S", "%Ou":"%u", "%OU":"%U", "%OV":"%V", "%Ow":"%w", "%OW":"%W", "%Oy":"%y",};
2054
- for (var t in l) {
2055
- c = c.replace(new RegExp(t, "g"), l[t]);
2056
- }
2057
- var u = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), x = "January February March April May June July August September October November December".split(" ");
2058
- l = {"%a":k => u[k.R].substring(0, 3), "%A":k => u[k.R], "%b":k => x[k.Ha].substring(0, 3), "%B":k => x[k.Ha], "%C":k => f((k.da + 1900) / 100 | 0, 2), "%d":k => f(k.Ta, 2), "%e":k => e(k.Ta, 2, " "), "%g":k => p(k).toString().substring(2), "%G":k => p(k), "%H":k => f(k.Ga, 2), "%I":k => {
2059
- k = k.Ga;
2060
- 0 == k ? k = 12 : 12 < k && (k -= 12);
2061
- return f(k, 2);
2062
- }, "%j":k => {
2063
- for (var q = 0, v = 0; v <= k.Ha - 1; q += (Pd(k.da + 1900) ? Qd : Rd)[v++]) {
2064
- }
2065
- return f(k.Ta + q, 3);
2066
- }, "%m":k => f(k.Ha + 1, 2), "%M":k => f(k.kc, 2), "%n":() => "\n", "%p":k => 0 <= k.Ga && 12 > k.Ga ? "AM" : "PM", "%S":k => f(k.lc, 2), "%t":() => "\t", "%u":k => k.R || 7, "%U":k => f(Math.floor((k.ca + 7 - k.R) / 7), 2), "%V":k => {
2067
- var q = Math.floor((k.ca + 7 - (k.R + 6) % 7) / 7);
2068
- 2 >= (k.R + 371 - k.ca - 2) % 7 && q++;
2052
+ u = new Date(n.getFullYear() + 1, 0, 4);
2053
+ q = l(new Date(n.getFullYear(), 0, 4));
2054
+ u = l(u);
2055
+ return 0 >= g(q, n) ? 0 >= g(u, n) ? n.getFullYear() + 1 : n.getFullYear() : n.getFullYear() - 1;
2056
+ }
2057
+ var m = J[d + 40 >> 2];
2058
+ d = {mc:J[d >> 2], lc:J[d + 4 >> 2], Ga:J[d + 8 >> 2], Ta:J[d + 12 >> 2], Ha:J[d + 16 >> 2], da:J[d + 20 >> 2], R:J[d + 24 >> 2], ca:J[d + 28 >> 2], Pc:J[d + 32 >> 2], kc:J[d + 36 >> 2], nc:m ? m ? M(F, m) : "" : ""};
2059
+ c = c ? M(F, c) : "";
2060
+ m = {"%c":"%a %b %d %H:%M:%S %Y", "%D":"%m/%d/%y", "%F":"%Y-%m-%d", "%h":"%b", "%r":"%I:%M:%S %p", "%R":"%H:%M", "%T":"%H:%M:%S", "%x":"%m/%d/%y", "%X":"%H:%M:%S", "%Ec":"%c", "%EC":"%C", "%Ex":"%m/%d/%y", "%EX":"%H:%M:%S", "%Ey":"%y", "%EY":"%Y", "%Od":"%d", "%Oe":"%e", "%OH":"%H", "%OI":"%I", "%Om":"%m", "%OM":"%M", "%OS":"%S", "%Ou":"%u", "%OU":"%U", "%OV":"%V", "%Ow":"%w", "%OW":"%W", "%Oy":"%y",};
2061
+ for (var t in m) {
2062
+ c = c.replace(new RegExp(t, "g"), m[t]);
2063
+ }
2064
+ var v = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), x = "January February March April May June July August September October November December".split(" ");
2065
+ m = {"%a":n => v[n.R].substring(0, 3), "%A":n => v[n.R], "%b":n => x[n.Ha].substring(0, 3), "%B":n => x[n.Ha], "%C":n => f((n.da + 1900) / 100 | 0, 2), "%d":n => f(n.Ta, 2), "%e":n => e(n.Ta, 2, " "), "%g":n => p(n).toString().substring(2), "%G":n => p(n), "%H":n => f(n.Ga, 2), "%I":n => {
2066
+ n = n.Ga;
2067
+ 0 == n ? n = 12 : 12 < n && (n -= 12);
2068
+ return f(n, 2);
2069
+ }, "%j":n => {
2070
+ for (var q = 0, u = 0; u <= n.Ha - 1; q += (Qd(n.da + 1900) ? Rd : Sd)[u++]) {
2071
+ }
2072
+ return f(n.Ta + q, 3);
2073
+ }, "%m":n => f(n.Ha + 1, 2), "%M":n => f(n.lc, 2), "%n":() => "\n", "%p":n => 0 <= n.Ga && 12 > n.Ga ? "AM" : "PM", "%S":n => f(n.mc, 2), "%t":() => "\t", "%u":n => n.R || 7, "%U":n => f(Math.floor((n.ca + 7 - n.R) / 7), 2), "%V":n => {
2074
+ var q = Math.floor((n.ca + 7 - (n.R + 6) % 7) / 7);
2075
+ 2 >= (n.R + 371 - n.ca - 2) % 7 && q++;
2069
2076
  if (q) {
2070
- 53 == q && (v = (k.R + 371 - k.ca) % 7, 4 == v || 3 == v && Pd(k.da) || (q = 1));
2077
+ 53 == q && (u = (n.R + 371 - n.ca) % 7, 4 == u || 3 == u && Qd(n.da) || (q = 1));
2071
2078
  } else {
2072
2079
  q = 52;
2073
- var v = (k.R + 7 - k.ca - 1) % 7;
2074
- (4 == v || 5 == v && Pd(k.da % 400 - 1)) && q++;
2080
+ var u = (n.R + 7 - n.ca - 1) % 7;
2081
+ (4 == u || 5 == u && Qd(n.da % 400 - 1)) && q++;
2075
2082
  }
2076
2083
  return f(q, 2);
2077
- }, "%w":k => k.R, "%W":k => f(Math.floor((k.ca + 7 - (k.R + 6) % 7) / 7), 2), "%y":k => (k.da + 1900).toString().substring(2), "%Y":k => k.da + 1900, "%z":k => {
2078
- k = k.jc;
2079
- var q = 0 <= k;
2080
- k = Math.abs(k) / 60;
2081
- return (q ? "+" : "-") + String("0000" + (k / 60 * 100 + k % 60)).slice(-4);
2082
- }, "%Z":k => k.mc, "%%":() => "%"};
2084
+ }, "%w":n => n.R, "%W":n => f(Math.floor((n.ca + 7 - (n.R + 6) % 7) / 7), 2), "%y":n => (n.da + 1900).toString().substring(2), "%Y":n => n.da + 1900, "%z":n => {
2085
+ n = n.kc;
2086
+ var q = 0 <= n;
2087
+ n = Math.abs(n) / 60;
2088
+ return (q ? "+" : "-") + String("0000" + (n / 60 * 100 + n % 60)).slice(-4);
2089
+ }, "%Z":n => n.nc, "%%":() => "%"};
2083
2090
  c = c.replace(/%%/g, "\x00\x00");
2084
- for (t in l) {
2085
- c.includes(t) && (c = c.replace(new RegExp(t, "g"), l[t](d)));
2091
+ for (t in m) {
2092
+ c.includes(t) && (c = c.replace(new RegExp(t, "g"), m[t](d)));
2086
2093
  }
2087
2094
  c = c.replace(/\0\0/g, "%");
2088
- t = fb(c, !1);
2095
+ t = gb(c, !1);
2089
2096
  if (t.length > b) {
2090
2097
  return 0;
2091
2098
  }
2092
2099
  D.set(t, a);
2093
2100
  return t.length - 1;
2094
2101
  };
2095
- function Eb(a, b, c, d) {
2102
+ function Fb(a, b, c, d) {
2096
2103
  a || (a = this);
2097
2104
  this.parent = a;
2098
2105
  this.U = a.U;
2099
2106
  this.Aa = null;
2100
- this.id = wb++;
2107
+ this.id = xb++;
2101
2108
  this.name = b;
2102
2109
  this.mode = c;
2103
2110
  this.l = {};
2104
2111
  this.m = {};
2105
2112
  this.Ca = d;
2106
2113
  }
2107
- Object.defineProperties(Eb.prototype, {read:{get:function() {
2114
+ Object.defineProperties(Fb.prototype, {read:{get:function() {
2108
2115
  return 365 === (this.mode & 365);
2109
2116
  }, set:function(a) {
2110
2117
  a ? this.mode |= 365 : this.mode &= -366;
@@ -2113,44 +2120,44 @@ Object.defineProperties(Eb.prototype, {read:{get:function() {
2113
2120
  }, set:function(a) {
2114
2121
  a ? this.mode |= 146 : this.mode &= -147;
2115
2122
  }}});
2116
- Rb();
2117
- xb = Array(4096);
2118
- Lb(N, "/");
2119
- O("/tmp", 16895, 0);
2120
- O("/home", 16895, 0);
2121
- O("/home/web_user", 16895, 0);
2123
+ Sb();
2124
+ yb = Array(4096);
2125
+ Mb(O, "/");
2126
+ P("/tmp", 16895, 0);
2127
+ P("/home", 16895, 0);
2128
+ P("/home/web_user", 16895, 0);
2122
2129
  (() => {
2123
- O("/dev", 16895, 0);
2124
- ib(259, {read:() => 0, write:(d, e, f, g) => g,});
2125
- Mb("/dev/null", 259);
2126
- hb(1280, kb);
2127
- hb(1536, lb);
2128
- Mb("/dev/tty", 1280);
2129
- Mb("/dev/tty1", 1536);
2130
+ P("/dev", 16895, 0);
2131
+ jb(259, {read:() => 0, write:(d, e, f, g) => g,});
2132
+ Nb("/dev/null", 259);
2133
+ ib(1280, lb);
2134
+ ib(1536, mb);
2135
+ Nb("/dev/tty", 1280);
2136
+ Nb("/dev/tty1", 1536);
2130
2137
  var a = new Uint8Array(1024), b = 0, c = () => {
2131
- 0 === b && (b = $a(a).byteLength);
2138
+ 0 === b && (b = ab(a).byteLength);
2132
2139
  return a[--b];
2133
2140
  };
2134
- Ub("random", c);
2135
- Ub("urandom", c);
2136
- O("/dev/shm", 16895, 0);
2137
- O("/dev/shm/tmp", 16895, 0);
2141
+ Vb("random", c);
2142
+ Vb("urandom", c);
2143
+ P("/dev/shm", 16895, 0);
2144
+ P("/dev/shm/tmp", 16895, 0);
2138
2145
  })();
2139
2146
  (() => {
2140
- O("/proc", 16895, 0);
2141
- var a = O("/proc/self", 16895, 0);
2142
- O("/proc/self/fd", 16895, 0);
2143
- Lb({U:() => {
2144
- var b = ob(a, "fd", 16895, 73);
2147
+ P("/proc", 16895, 0);
2148
+ var a = P("/proc/self", 16895, 0);
2149
+ P("/proc/self/fd", 16895, 0);
2150
+ Mb({U:() => {
2151
+ var b = pb(a, "fd", 16895, 73);
2145
2152
  b.l = {ma:(c, d) => {
2146
- var e = Ib(+d);
2153
+ var e = Jb(+d);
2147
2154
  c = {parent:null, U:{ib:"fake"}, l:{na:() => e.path},};
2148
2155
  return c.parent = c;
2149
2156
  }};
2150
2157
  return b;
2151
2158
  }}, "/proc/self/fd");
2152
2159
  })();
2153
- Object.assign($b.prototype, {get(a) {
2160
+ Object.assign(ac.prototype, {get(a) {
2154
2161
  return this.M[a];
2155
2162
  }, has(a) {
2156
2163
  return void 0 !== this.M[a];
@@ -2158,52 +2165,52 @@ Object.assign($b.prototype, {get(a) {
2158
2165
  var b = this.eb.pop() || this.M.length;
2159
2166
  this.M[b] = a;
2160
2167
  return b;
2161
- }, Sb(a) {
2168
+ }, Tb(a) {
2162
2169
  this.M[a] = void 0;
2163
2170
  this.eb.push(a);
2164
2171
  }});
2165
- ac = m.BindingError = class extends Error {
2172
+ bc = k.BindingError = class extends Error {
2166
2173
  constructor(a) {
2167
2174
  super(a);
2168
2175
  this.name = "BindingError";
2169
2176
  }
2170
2177
  };
2171
- P.M.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
2172
- P.h = P.M.length;
2173
- m.count_emval_handles = function() {
2174
- for (var a = 0, b = P.h; b < P.M.length; ++b) {
2175
- void 0 !== P.M[b] && ++a;
2178
+ Q.M.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
2179
+ Q.h = Q.M.length;
2180
+ k.count_emval_handles = function() {
2181
+ for (var a = 0, b = Q.h; b < Q.M.length; ++b) {
2182
+ void 0 !== Q.M[b] && ++a;
2176
2183
  }
2177
2184
  return a;
2178
2185
  };
2179
- dc = m.PureVirtualError = cc("PureVirtualError");
2180
- for (var Td = Array(256), Ud = 0; 256 > Ud; ++Ud) {
2181
- Td[Ud] = String.fromCharCode(Ud);
2186
+ ec = k.PureVirtualError = dc("PureVirtualError");
2187
+ for (var Ud = Array(256), Vd = 0; 256 > Vd; ++Vd) {
2188
+ Ud[Vd] = String.fromCharCode(Vd);
2182
2189
  }
2183
- ec = Td;
2184
- m.getInheritedInstanceCount = function() {
2185
- return Object.keys(ic).length;
2190
+ fc = Ud;
2191
+ k.getInheritedInstanceCount = function() {
2192
+ return Object.keys(jc).length;
2186
2193
  };
2187
- m.getLiveInheritedInstances = function() {
2194
+ k.getLiveInheritedInstances = function() {
2188
2195
  var a = [], b;
2189
- for (b in ic) {
2190
- ic.hasOwnProperty(b) && a.push(ic[b]);
2196
+ for (b in jc) {
2197
+ jc.hasOwnProperty(b) && a.push(jc[b]);
2191
2198
  }
2192
2199
  return a;
2193
2200
  };
2194
- m.flushPendingDeletes = gc;
2195
- m.setDelayFunction = function(a) {
2196
- hc = a;
2197
- fc.length && hc && hc(gc);
2201
+ k.flushPendingDeletes = hc;
2202
+ k.setDelayFunction = function(a) {
2203
+ ic = a;
2204
+ gc.length && ic && ic(hc);
2198
2205
  };
2199
- vc = m.InternalError = class extends Error {
2206
+ wc = k.InternalError = class extends Error {
2200
2207
  constructor(a) {
2201
2208
  super(a);
2202
2209
  this.name = "InternalError";
2203
2210
  }
2204
2211
  };
2205
- Hc.prototype.isAliasOf = function(a) {
2206
- if (!(this instanceof Hc && a instanceof Hc)) {
2212
+ Ic.prototype.isAliasOf = function(a) {
2213
+ if (!(this instanceof Ic && a instanceof Ic)) {
2207
2214
  return !1;
2208
2215
  }
2209
2216
  var b = this.g.u.i, c = this.g.o, d = a.g.u.i;
@@ -2215,58 +2222,58 @@ Hc.prototype.isAliasOf = function(a) {
2215
2222
  }
2216
2223
  return b === d && c === a;
2217
2224
  };
2218
- Hc.prototype.clone = function() {
2219
- this.g.o || Gc(this);
2225
+ Ic.prototype.clone = function() {
2226
+ this.g.o || Hc(this);
2220
2227
  if (this.g.ka) {
2221
2228
  return this.g.count.value += 1, this;
2222
2229
  }
2223
- var a = yc, b = Object, c = b.create, d = Object.getPrototypeOf(this), e = this.g;
2230
+ var a = zc, b = Object, c = b.create, d = Object.getPrototypeOf(this), e = this.g;
2224
2231
  a = a(c.call(b, d, {g:{value:{count:e.count, ha:e.ha, ka:e.ka, o:e.o, u:e.u, H:e.H, L:e.L,},}}));
2225
2232
  a.g.count.value += 1;
2226
2233
  a.g.ha = !1;
2227
2234
  return a;
2228
2235
  };
2229
- Hc.prototype["delete"] = function() {
2230
- this.g.o || Gc(this);
2231
- this.g.ha && !this.g.ka && Q("Object already scheduled for deletion");
2232
- pc(this);
2233
- rc(this.g);
2236
+ Ic.prototype["delete"] = function() {
2237
+ this.g.o || Hc(this);
2238
+ this.g.ha && !this.g.ka && R("Object already scheduled for deletion");
2239
+ qc(this);
2240
+ sc(this.g);
2234
2241
  this.g.ka || (this.g.H = void 0, this.g.o = void 0);
2235
2242
  };
2236
- Hc.prototype.isDeleted = function() {
2243
+ Ic.prototype.isDeleted = function() {
2237
2244
  return !this.g.o;
2238
2245
  };
2239
- Hc.prototype.deleteLater = function() {
2240
- this.g.o || Gc(this);
2241
- this.g.ha && !this.g.ka && Q("Object already scheduled for deletion");
2242
- fc.push(this);
2243
- 1 === fc.length && hc && hc(gc);
2246
+ Ic.prototype.deleteLater = function() {
2247
+ this.g.o || Hc(this);
2248
+ this.g.ha && !this.g.ka && R("Object already scheduled for deletion");
2249
+ gc.push(this);
2250
+ 1 === gc.length && ic && ic(hc);
2244
2251
  this.g.ha = !0;
2245
2252
  return this;
2246
2253
  };
2247
- Qc.prototype.Ob = function(a) {
2254
+ Rc.prototype.Pb = function(a) {
2248
2255
  this.ob && (a = this.ob(a));
2249
2256
  return a;
2250
2257
  };
2251
- Qc.prototype.Za = function(a) {
2258
+ Rc.prototype.Za = function(a) {
2252
2259
  this.W && this.W(a);
2253
2260
  };
2254
- Qc.prototype.argPackAdvance = 8;
2255
- Qc.prototype.readValueFromPointer = Bc;
2256
- Qc.prototype.deleteObject = function(a) {
2261
+ Rc.prototype.argPackAdvance = 8;
2262
+ Rc.prototype.readValueFromPointer = Cc;
2263
+ Rc.prototype.deleteObject = function(a) {
2257
2264
  if (null !== a) {
2258
2265
  a["delete"]();
2259
2266
  }
2260
2267
  };
2261
- Qc.prototype.fromWireType = function(a) {
2268
+ Rc.prototype.fromWireType = function(a) {
2262
2269
  function b() {
2263
- return this.ya ? xc(this.i.N, {u:this.bc, o:c, L:this, H:a,}) : xc(this.i.N, {u:this, o:a,});
2270
+ return this.ya ? yc(this.i.N, {u:this.cc, o:c, L:this, H:a,}) : yc(this.i.N, {u:this, o:a,});
2264
2271
  }
2265
- var c = this.Ob(a);
2272
+ var c = this.Pb(a);
2266
2273
  if (!c) {
2267
2274
  return this.Za(a), null;
2268
2275
  }
2269
- var d = uc(this.i, c);
2276
+ var d = vc(this.i, c);
2270
2277
  if (void 0 !== d) {
2271
2278
  if (0 === d.g.count.value) {
2272
2279
  return d.g.o = c, d.g.H = a, d.clone();
@@ -2275,36 +2282,36 @@ Qc.prototype.fromWireType = function(a) {
2275
2282
  this.Za(a);
2276
2283
  return d;
2277
2284
  }
2278
- d = this.i.Nb(c);
2279
- d = tc[d];
2285
+ d = this.i.Ob(c);
2286
+ d = uc[d];
2280
2287
  if (!d) {
2281
2288
  return b.call(this);
2282
2289
  }
2283
- d = this.xa ? d.Fb : d.pointerType;
2284
- var e = sc(c, this.i, d.i);
2285
- return null === e ? b.call(this) : this.ya ? xc(d.i.N, {u:d, o:e, L:this, H:a,}) : xc(d.i.N, {u:d, o:e,});
2290
+ d = this.xa ? d.Gb : d.pointerType;
2291
+ var e = tc(c, this.i, d.i);
2292
+ return null === e ? b.call(this) : this.ya ? yc(d.i.N, {u:d, o:e, L:this, H:a,}) : yc(d.i.N, {u:d, o:e,});
2286
2293
  };
2287
- Vc = m.UnboundTypeError = cc("UnboundTypeError");
2288
- for (var Y, Vd = 0; 32 > Vd; ++Vd) {
2289
- Jd.push(Array(Vd));
2294
+ Wc = k.UnboundTypeError = dc("UnboundTypeError");
2295
+ for (var Z, Wd = 0; 32 > Wd; ++Wd) {
2296
+ Kd.push(Array(Wd));
2290
2297
  }
2291
- var Xd = {__syscall_fcntl64:function(a, b, c) {
2292
- Wb = c;
2298
+ var Yd = {__syscall_fcntl64:function(a, b, c) {
2299
+ Xb = c;
2293
2300
  try {
2294
- var d = Ib(a);
2301
+ var d = Jb(a);
2295
2302
  switch(b) {
2296
2303
  case 0:
2297
- var e = Xb();
2298
- return 0 > e ? -28 : Kb(d, e).X;
2304
+ var e = Yb();
2305
+ return 0 > e ? -28 : Lb(d, e).X;
2299
2306
  case 1:
2300
2307
  case 2:
2301
2308
  return 0;
2302
2309
  case 3:
2303
2310
  return d.flags;
2304
2311
  case 4:
2305
- return e = Xb(), d.flags |= e, 0;
2312
+ return e = Yb(), d.flags |= e, 0;
2306
2313
  case 5:
2307
- return e = Xb(), I[e + 0 >> 1] = 2, 0;
2314
+ return e = Yb(), H[e + 0 >> 1] = 2, 0;
2308
2315
  case 6:
2309
2316
  case 7:
2310
2317
  return 0;
@@ -2312,20 +2319,20 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2312
2319
  case 8:
2313
2320
  return -28;
2314
2321
  case 9:
2315
- return J[Wd() >> 2] = 28, -1;
2322
+ return J[Xd() >> 2] = 28, -1;
2316
2323
  default:
2317
2324
  return -28;
2318
2325
  }
2319
2326
  } catch (f) {
2320
- if ("undefined" == typeof Vb || "ErrnoError" !== f.name) {
2327
+ if ("undefined" == typeof Wb || "ErrnoError" !== f.name) {
2321
2328
  throw f;
2322
2329
  }
2323
2330
  return -f.aa;
2324
2331
  }
2325
2332
  }, __syscall_ioctl:function(a, b, c) {
2326
- Wb = c;
2333
+ Xb = c;
2327
2334
  try {
2328
- var d = Ib(a);
2335
+ var d = Jb(a);
2329
2336
  switch(b) {
2330
2337
  case 21509:
2331
2338
  return d.s ? 0 : -59;
@@ -2333,9 +2340,9 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2333
2340
  if (!d.s) {
2334
2341
  return -59;
2335
2342
  }
2336
- if (d.s.V.Wb) {
2343
+ if (d.s.V.Xb) {
2337
2344
  b = [3, 28, 127, 21, 4, 0, 1, 0, 17, 19, 26, 0, 18, 15, 23, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,];
2338
- var e = Xb();
2345
+ var e = Yb();
2339
2346
  J[e >> 2] = 25856;
2340
2347
  J[e + 4 >> 2] = 5;
2341
2348
  J[e + 8 >> 2] = 191;
@@ -2355,8 +2362,8 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2355
2362
  if (!d.s) {
2356
2363
  return -59;
2357
2364
  }
2358
- if (d.s.V.Xb) {
2359
- for (e = Xb(), b = [], f = 0; 32 > f; f++) {
2365
+ if (d.s.V.Yb) {
2366
+ for (e = Yb(), b = [], f = 0; 32 > f; f++) {
2360
2367
  b.push(D[e + f + 17 >> 0]);
2361
2368
  }
2362
2369
  }
@@ -2365,21 +2372,21 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2365
2372
  if (!d.s) {
2366
2373
  return -59;
2367
2374
  }
2368
- e = Xb();
2375
+ e = Yb();
2369
2376
  return J[e >> 2] = 0;
2370
2377
  case 21520:
2371
2378
  return d.s ? -28 : -59;
2372
2379
  case 21531:
2373
- e = Xb();
2374
- if (!d.m.Vb) {
2375
- throw new M(59);
2380
+ e = Yb();
2381
+ if (!d.m.Wb) {
2382
+ throw new N(59);
2376
2383
  }
2377
- return d.m.Vb(d, b, e);
2384
+ return d.m.Wb(d, b, e);
2378
2385
  case 21523:
2379
2386
  if (!d.s) {
2380
2387
  return -59;
2381
2388
  }
2382
- d.s.V.Yb && (f = [24, 80], e = Xb(), I[e >> 1] = f[0], I[e + 2 >> 1] = f[1]);
2389
+ d.s.V.Zb && (f = [24, 80], e = Yb(), H[e >> 1] = f[0], H[e + 2 >> 1] = f[1]);
2383
2390
  return 0;
2384
2391
  case 21524:
2385
2392
  return d.s ? 0 : -59;
@@ -2389,217 +2396,217 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2389
2396
  return -28;
2390
2397
  }
2391
2398
  } catch (g) {
2392
- if ("undefined" == typeof Vb || "ErrnoError" !== g.name) {
2399
+ if ("undefined" == typeof Wb || "ErrnoError" !== g.name) {
2393
2400
  throw g;
2394
2401
  }
2395
2402
  return -g.aa;
2396
2403
  }
2397
2404
  }, __syscall_openat:function(a, b, c, d) {
2398
- Wb = d;
2405
+ Xb = d;
2399
2406
  try {
2400
- b = b ? L(G, b) : "";
2407
+ b = b ? M(F, b) : "";
2401
2408
  var e = b;
2402
2409
  if ("/" === e.charAt(0)) {
2403
2410
  b = e;
2404
2411
  } else {
2405
- var f = -100 === a ? "/" : Ib(a).path;
2412
+ var f = -100 === a ? "/" : Jb(a).path;
2406
2413
  if (0 == e.length) {
2407
- throw new M(44);
2414
+ throw new N(44);
2408
2415
  }
2409
- b = Wa(f + "/" + e);
2416
+ b = Xa(f + "/" + e);
2410
2417
  }
2411
- var g = d ? Xb() : 0;
2412
- return Pb(b, c, g).X;
2413
- } catch (n) {
2414
- if ("undefined" == typeof Vb || "ErrnoError" !== n.name) {
2415
- throw n;
2418
+ var g = d ? Yb() : 0;
2419
+ return Qb(b, c, g).X;
2420
+ } catch (l) {
2421
+ if ("undefined" == typeof Wb || "ErrnoError" !== l.name) {
2422
+ throw l;
2416
2423
  }
2417
- return -n.aa;
2424
+ return -l.aa;
2418
2425
  }
2419
2426
  }, _embind_create_inheriting_constructor:function(a, b, c) {
2420
- a = S(a);
2421
- b = oc(b, "wrapper");
2422
- c = R(c);
2423
- var d = [].slice, e = b.i, f = e.N, g = e.A.N, n = e.A.constructor;
2424
- a = Zb(a, function() {
2425
- e.A.mb.forEach(function(l) {
2426
- if (this[l] === g[l]) {
2427
- throw new dc(`Pure virtual function ${l} must be implemented in JavaScript`);
2427
+ a = T(a);
2428
+ b = pc(b, "wrapper");
2429
+ c = S(c);
2430
+ var d = [].slice, e = b.i, f = e.N, g = e.A.N, l = e.A.constructor;
2431
+ a = $b(a, function() {
2432
+ e.A.mb.forEach(function(m) {
2433
+ if (this[m] === g[m]) {
2434
+ throw new ec(`Pure virtual function ${m} must be implemented in JavaScript`);
2428
2435
  }
2429
2436
  }.bind(this));
2430
2437
  Object.defineProperty(this, "__parent", {value:f});
2431
2438
  this.__construct.apply(this, d.call(arguments));
2432
2439
  });
2433
2440
  f.__construct = function() {
2434
- this === f && Q("Pass correct 'this' to __construct");
2435
- var l = n.implement.apply(void 0, [this].concat(d.call(arguments)));
2436
- pc(l);
2437
- var t = l.g;
2438
- l.notifyOnDestruction();
2441
+ this === f && R("Pass correct 'this' to __construct");
2442
+ var m = l.implement.apply(void 0, [this].concat(d.call(arguments)));
2443
+ qc(m);
2444
+ var t = m.g;
2445
+ m.notifyOnDestruction();
2439
2446
  t.ka = !0;
2440
2447
  Object.defineProperties(this, {g:{value:t}});
2441
- yc(this);
2442
- l = t.o;
2443
- l = jc(e, l);
2444
- ic.hasOwnProperty(l) ? Q(`Tried to register registered instance: ${l}`) : ic[l] = this;
2448
+ zc(this);
2449
+ m = t.o;
2450
+ m = kc(e, m);
2451
+ jc.hasOwnProperty(m) ? R(`Tried to register registered instance: ${m}`) : jc[m] = this;
2445
2452
  };
2446
2453
  f.__destruct = function() {
2447
- this === f && Q("Pass correct 'this' to __destruct");
2448
- pc(this);
2449
- var l = this.g.o;
2450
- l = jc(e, l);
2451
- ic.hasOwnProperty(l) ? delete ic[l] : Q(`Tried to unregister unregistered instance: ${l}`);
2454
+ this === f && R("Pass correct 'this' to __destruct");
2455
+ qc(this);
2456
+ var m = this.g.o;
2457
+ m = kc(e, m);
2458
+ jc.hasOwnProperty(m) ? delete jc[m] : R(`Tried to unregister unregistered instance: ${m}`);
2452
2459
  };
2453
2460
  a.prototype = Object.create(f);
2454
2461
  for (var p in c) {
2455
2462
  a.prototype[p] = c[p];
2456
2463
  }
2457
- return bc(a);
2464
+ return cc(a);
2458
2465
  }, _embind_finalize_value_object:function(a) {
2459
- var b = zc[a];
2460
- delete zc[a];
2461
- var c = b.Ra, d = b.W, e = b.ab, f = e.map(g => g.Rb).concat(e.map(g => g.fc));
2462
- T([a], f, g => {
2463
- var n = {};
2464
- e.forEach((p, l) => {
2465
- var t = g[l], u = p.Pb, x = p.Qb, k = g[l + e.length], q = p.ec, v = p.hc;
2466
- n[p.Lb] = {read:y => t.fromWireType(u(x, y)), write:(y, C) => {
2467
- var z = [];
2468
- q(v, y, k.toWireType(z, C));
2469
- Ac(z);
2466
+ var b = Ac[a];
2467
+ delete Ac[a];
2468
+ var c = b.Ra, d = b.W, e = b.ab, f = e.map(g => g.Sb).concat(e.map(g => g.hc));
2469
+ U([a], f, g => {
2470
+ var l = {};
2471
+ e.forEach((p, m) => {
2472
+ var t = g[m], v = p.Qb, x = p.Rb, n = g[m + e.length], q = p.fc, u = p.ic;
2473
+ l[p.Mb] = {read:y => t.fromWireType(v(x, y)), write:(y, z) => {
2474
+ var A = [];
2475
+ q(u, y, n.toWireType(A, z));
2476
+ Bc(A);
2470
2477
  }};
2471
2478
  });
2472
2479
  return [{name:b.name, fromWireType:function(p) {
2473
- var l = {}, t;
2474
- for (t in n) {
2475
- l[t] = n[t].read(p);
2480
+ var m = {}, t;
2481
+ for (t in l) {
2482
+ m[t] = l[t].read(p);
2476
2483
  }
2477
2484
  d(p);
2478
- return l;
2479
- }, toWireType:function(p, l) {
2480
- for (var t in n) {
2481
- if (!(t in l)) {
2485
+ return m;
2486
+ }, toWireType:function(p, m) {
2487
+ for (var t in l) {
2488
+ if (!(t in m)) {
2482
2489
  throw new TypeError(`Missing field: "${t}"`);
2483
2490
  }
2484
2491
  }
2485
- var u = c();
2486
- for (t in n) {
2487
- n[t].write(u, l[t]);
2492
+ var v = c();
2493
+ for (t in l) {
2494
+ l[t].write(v, m[t]);
2488
2495
  }
2489
- null !== p && p.push(d, u);
2490
- return u;
2491
- }, argPackAdvance:8, readValueFromPointer:Bc, K:d,}];
2496
+ null !== p && p.push(d, v);
2497
+ return v;
2498
+ }, argPackAdvance:8, readValueFromPointer:Cc, K:d,}];
2492
2499
  });
2493
2500
  }, _embind_register_bigint:function() {
2494
2501
  }, _embind_register_bool:function(a, b, c, d, e) {
2495
- var f = Ec(c);
2496
- b = S(b);
2497
- U(a, {name:b, fromWireType:function(g) {
2502
+ var f = Fc(c);
2503
+ b = T(b);
2504
+ V(a, {name:b, fromWireType:function(g) {
2498
2505
  return !!g;
2499
- }, toWireType:function(g, n) {
2500
- return n ? d : e;
2506
+ }, toWireType:function(g, l) {
2507
+ return l ? d : e;
2501
2508
  }, argPackAdvance:8, readValueFromPointer:function(g) {
2502
2509
  if (1 === c) {
2503
- var n = D;
2510
+ var l = D;
2504
2511
  } else if (2 === c) {
2505
- n = I;
2512
+ l = H;
2506
2513
  } else if (4 === c) {
2507
- n = J;
2514
+ l = J;
2508
2515
  } else {
2509
2516
  throw new TypeError("Unknown boolean type size: " + b);
2510
2517
  }
2511
- return this.fromWireType(n[g >> f]);
2518
+ return this.fromWireType(l[g >> f]);
2512
2519
  }, K:null,});
2513
- }, _embind_register_class:function(a, b, c, d, e, f, g, n, p, l, t, u, x) {
2514
- t = S(t);
2515
- f = V(e, f);
2516
- n && (n = V(g, n));
2517
- l && (l = V(p, l));
2518
- x = V(u, x);
2519
- var k = Yb(t);
2520
- Jc(k, function() {
2521
- Wc(`Cannot construct ${t} due to unbound types`, [d]);
2520
+ }, _embind_register_class:function(a, b, c, d, e, f, g, l, p, m, t, v, x) {
2521
+ t = T(t);
2522
+ f = W(e, f);
2523
+ l && (l = W(g, l));
2524
+ m && (m = W(p, m));
2525
+ x = W(v, x);
2526
+ var n = Zb(t);
2527
+ Kc(n, function() {
2528
+ Xc(`Cannot construct ${t} due to unbound types`, [d]);
2522
2529
  });
2523
- T([a, b, c], d ? [d] : [], function(q) {
2530
+ U([a, b, c], d ? [d] : [], function(q) {
2524
2531
  q = q[0];
2525
2532
  if (d) {
2526
- var v = q.i;
2527
- var y = v.N;
2533
+ var u = q.i;
2534
+ var y = u.N;
2528
2535
  } else {
2529
- y = Hc.prototype;
2536
+ y = Ic.prototype;
2530
2537
  }
2531
- q = Zb(k, function() {
2532
- if (Object.getPrototypeOf(this) !== C) {
2533
- throw new ac("Use 'new' to construct " + t);
2538
+ q = $b(n, function() {
2539
+ if (Object.getPrototypeOf(this) !== z) {
2540
+ throw new bc("Use 'new' to construct " + t);
2534
2541
  }
2535
- if (void 0 === z.$) {
2536
- throw new ac(t + " has no accessible constructor");
2542
+ if (void 0 === A.$) {
2543
+ throw new bc(t + " has no accessible constructor");
2537
2544
  }
2538
- var H = z.$[arguments.length];
2539
- if (void 0 === H) {
2540
- throw new ac(`Tried to invoke ctor of ${t} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(z.$).toString()}) parameters instead!`);
2545
+ var I = A.$[arguments.length];
2546
+ if (void 0 === I) {
2547
+ throw new bc(`Tried to invoke ctor of ${t} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(A.$).toString()}) parameters instead!`);
2541
2548
  }
2542
- return H.apply(this, arguments);
2549
+ return I.apply(this, arguments);
2543
2550
  });
2544
- var C = Object.create(y, {constructor:{value:q},});
2545
- q.prototype = C;
2546
- var z = new Kc(t, q, C, x, v, f, n, l);
2547
- z.A && (void 0 === z.A.qa && (z.A.qa = []), z.A.qa.push(z));
2548
- v = new Qc(t, z, !0, !1);
2549
- y = new Qc(t + "*", z, !1, !1);
2550
- var E = new Qc(t + " const*", z, !1, !0);
2551
- tc[a] = {pointerType:y, Fb:E};
2552
- Rc(k, q);
2553
- return [v, y, E];
2551
+ var z = Object.create(y, {constructor:{value:q},});
2552
+ q.prototype = z;
2553
+ var A = new Lc(t, q, z, x, u, f, l, m);
2554
+ A.A && (void 0 === A.A.qa && (A.A.qa = []), A.A.qa.push(A));
2555
+ u = new Rc(t, A, !0, !1);
2556
+ y = new Rc(t + "*", A, !1, !1);
2557
+ var G = new Rc(t + " const*", A, !1, !0);
2558
+ uc[a] = {pointerType:y, Gb:G};
2559
+ Sc(n, q);
2560
+ return [u, y, G];
2554
2561
  });
2555
2562
  }, _embind_register_class_class_function:function(a, b, c, d, e, f, g) {
2556
- var n = Yc(c, d);
2557
- b = S(b);
2558
- f = V(e, f);
2559
- T([], [a], function(p) {
2560
- function l() {
2561
- Wc(`Cannot call ${t} due to unbound types`, n);
2563
+ var l = Zc(c, d);
2564
+ b = T(b);
2565
+ f = W(e, f);
2566
+ U([], [a], function(p) {
2567
+ function m() {
2568
+ Xc(`Cannot call ${t} due to unbound types`, l);
2562
2569
  }
2563
2570
  p = p[0];
2564
2571
  var t = `${p.name}.${b}`;
2565
2572
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2566
- var u = p.i.constructor;
2567
- void 0 === u[b] ? (l.ga = c - 1, u[b] = l) : (Ic(u, b, t), u[b].B[c - 1] = l);
2568
- T([], n, function(x) {
2569
- x = Xc(t, [x[0], null].concat(x.slice(1)), null, f, g);
2570
- void 0 === u[b].B ? (x.ga = c - 1, u[b] = x) : u[b].B[c - 1] = x;
2573
+ var v = p.i.constructor;
2574
+ void 0 === v[b] ? (m.ga = c - 1, v[b] = m) : (Jc(v, b, t), v[b].B[c - 1] = m);
2575
+ U([], l, function(x) {
2576
+ x = Yc(t, [x[0], null].concat(x.slice(1)), null, f, g);
2577
+ void 0 === v[b].B ? (x.ga = c - 1, v[b] = x) : v[b].B[c - 1] = x;
2571
2578
  if (p.i.qa) {
2572
- for (const k of p.i.qa) {
2573
- k.constructor.hasOwnProperty(b) || (k.constructor[b] = x);
2579
+ for (const n of p.i.qa) {
2580
+ n.constructor.hasOwnProperty(b) || (n.constructor[b] = x);
2574
2581
  }
2575
2582
  }
2576
2583
  return [];
2577
2584
  });
2578
2585
  return [];
2579
2586
  });
2580
- }, _embind_register_class_class_property:function(a, b, c, d, e, f, g, n) {
2581
- b = S(b);
2582
- f = V(e, f);
2583
- T([], [a], function(p) {
2587
+ }, _embind_register_class_class_property:function(a, b, c, d, e, f, g, l) {
2588
+ b = T(b);
2589
+ f = W(e, f);
2590
+ U([], [a], function(p) {
2584
2591
  p = p[0];
2585
- var l = `${p.name}.${b}`, t = {get() {
2586
- Wc(`Cannot access ${l} due to unbound types`, [c]);
2592
+ var m = `${p.name}.${b}`, t = {get() {
2593
+ Xc(`Cannot access ${m} due to unbound types`, [c]);
2587
2594
  }, enumerable:!0, configurable:!0};
2588
- t.set = n ? () => {
2589
- Wc(`Cannot access ${l} due to unbound types`, [c]);
2595
+ t.set = l ? () => {
2596
+ Xc(`Cannot access ${m} due to unbound types`, [c]);
2590
2597
  } : () => {
2591
- Q(`${l} is a read-only property`);
2598
+ R(`${m} is a read-only property`);
2592
2599
  };
2593
2600
  Object.defineProperty(p.i.constructor, b, t);
2594
- T([], [c], function(u) {
2595
- u = u[0];
2601
+ U([], [c], function(v) {
2602
+ v = v[0];
2596
2603
  var x = {get() {
2597
- return u.fromWireType(f(d));
2604
+ return v.fromWireType(f(d));
2598
2605
  }, enumerable:!0};
2599
- n && (n = V(g, n), x.set = k => {
2606
+ l && (l = W(g, l), x.set = n => {
2600
2607
  var q = [];
2601
- n(d, u.toWireType(q, k));
2602
- Ac(q);
2608
+ l(d, v.toWireType(q, n));
2609
+ Bc(q);
2603
2610
  });
2604
2611
  Object.defineProperty(p.i.constructor, b, x);
2605
2612
  return [];
@@ -2607,142 +2614,142 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2607
2614
  return [];
2608
2615
  });
2609
2616
  }, _embind_register_class_constructor:function(a, b, c, d, e, f) {
2610
- var g = Yc(b, c);
2611
- e = V(d, e);
2612
- T([], [a], function(n) {
2613
- n = n[0];
2614
- var p = `constructor ${n.name}`;
2615
- void 0 === n.i.$ && (n.i.$ = []);
2616
- if (void 0 !== n.i.$[b - 1]) {
2617
- throw new ac(`Cannot register multiple constructors with identical number of parameters (${b - 1}) for class '${n.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
2618
- }
2619
- n.i.$[b - 1] = () => {
2620
- Wc(`Cannot construct ${n.name} due to unbound types`, g);
2617
+ var g = Zc(b, c);
2618
+ e = W(d, e);
2619
+ U([], [a], function(l) {
2620
+ l = l[0];
2621
+ var p = `constructor ${l.name}`;
2622
+ void 0 === l.i.$ && (l.i.$ = []);
2623
+ if (void 0 !== l.i.$[b - 1]) {
2624
+ throw new bc(`Cannot register multiple constructors with identical number of parameters (${b - 1}) for class '${l.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
2625
+ }
2626
+ l.i.$[b - 1] = () => {
2627
+ Xc(`Cannot construct ${l.name} due to unbound types`, g);
2621
2628
  };
2622
- T([], g, function(l) {
2623
- l.splice(1, 0, null);
2624
- n.i.$[b - 1] = Xc(p, l, null, e, f);
2629
+ U([], g, function(m) {
2630
+ m.splice(1, 0, null);
2631
+ l.i.$[b - 1] = Yc(p, m, null, e, f);
2625
2632
  return [];
2626
2633
  });
2627
2634
  return [];
2628
2635
  });
2629
- }, _embind_register_class_function:function(a, b, c, d, e, f, g, n) {
2630
- var p = Yc(c, d);
2631
- b = S(b);
2632
- f = V(e, f);
2633
- T([], [a], function(l) {
2636
+ }, _embind_register_class_function:function(a, b, c, d, e, f, g, l) {
2637
+ var p = Zc(c, d);
2638
+ b = T(b);
2639
+ f = W(e, f);
2640
+ U([], [a], function(m) {
2634
2641
  function t() {
2635
- Wc(`Cannot call ${u} due to unbound types`, p);
2642
+ Xc(`Cannot call ${v} due to unbound types`, p);
2636
2643
  }
2637
- l = l[0];
2638
- var u = `${l.name}.${b}`;
2644
+ m = m[0];
2645
+ var v = `${m.name}.${b}`;
2639
2646
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2640
- n && l.i.mb.push(b);
2641
- var x = l.i.N, k = x[b];
2642
- void 0 === k || void 0 === k.B && k.className !== l.name && k.ga === c - 2 ? (t.ga = c - 2, t.className = l.name, x[b] = t) : (Ic(x, b, u), x[b].B[c - 2] = t);
2643
- T([], p, function(q) {
2644
- q = Xc(u, q, l, f, g);
2647
+ l && m.i.mb.push(b);
2648
+ var x = m.i.N, n = x[b];
2649
+ void 0 === n || void 0 === n.B && n.className !== m.name && n.ga === c - 2 ? (t.ga = c - 2, t.className = m.name, x[b] = t) : (Jc(x, b, v), x[b].B[c - 2] = t);
2650
+ U([], p, function(q) {
2651
+ q = Yc(v, q, m, f, g);
2645
2652
  void 0 === x[b].B ? (q.ga = c - 2, x[b] = q) : x[b].B[c - 2] = q;
2646
2653
  return [];
2647
2654
  });
2648
2655
  return [];
2649
2656
  });
2650
- }, _embind_register_class_property:function(a, b, c, d, e, f, g, n, p, l) {
2651
- b = S(b);
2652
- e = V(d, e);
2653
- T([], [a], function(t) {
2657
+ }, _embind_register_class_property:function(a, b, c, d, e, f, g, l, p, m) {
2658
+ b = T(b);
2659
+ e = W(d, e);
2660
+ U([], [a], function(t) {
2654
2661
  t = t[0];
2655
- var u = `${t.name}.${b}`, x = {get() {
2656
- Wc(`Cannot access ${u} due to unbound types`, [c, g]);
2662
+ var v = `${t.name}.${b}`, x = {get() {
2663
+ Xc(`Cannot access ${v} due to unbound types`, [c, g]);
2657
2664
  }, enumerable:!0, configurable:!0};
2658
2665
  x.set = p ? () => {
2659
- Wc(`Cannot access ${u} due to unbound types`, [c, g]);
2666
+ Xc(`Cannot access ${v} due to unbound types`, [c, g]);
2660
2667
  } : () => {
2661
- Q(u + " is a read-only property");
2668
+ R(v + " is a read-only property");
2662
2669
  };
2663
2670
  Object.defineProperty(t.i.N, b, x);
2664
- T([], p ? [c, g] : [c], function(k) {
2665
- var q = k[0], v = {get() {
2666
- var C = Zc(this, t, u + " getter");
2667
- return q.fromWireType(e(f, C));
2671
+ U([], p ? [c, g] : [c], function(n) {
2672
+ var q = n[0], u = {get() {
2673
+ var z = $c(this, t, v + " getter");
2674
+ return q.fromWireType(e(f, z));
2668
2675
  }, enumerable:!0};
2669
2676
  if (p) {
2670
- p = V(n, p);
2671
- var y = k[1];
2672
- v.set = function(C) {
2673
- var z = Zc(this, t, u + " setter"), E = [];
2674
- p(l, z, y.toWireType(E, C));
2675
- Ac(E);
2677
+ p = W(l, p);
2678
+ var y = n[1];
2679
+ u.set = function(z) {
2680
+ var A = $c(this, t, v + " setter"), G = [];
2681
+ p(m, A, y.toWireType(G, z));
2682
+ Bc(G);
2676
2683
  };
2677
2684
  }
2678
- Object.defineProperty(t.i.N, b, v);
2685
+ Object.defineProperty(t.i.N, b, u);
2679
2686
  return [];
2680
2687
  });
2681
2688
  return [];
2682
2689
  });
2683
2690
  }, _embind_register_emval:function(a, b) {
2684
- b = S(b);
2685
- U(a, {name:b, fromWireType:function(c) {
2686
- var d = R(c);
2687
- $c(c);
2691
+ b = T(b);
2692
+ V(a, {name:b, fromWireType:function(c) {
2693
+ var d = S(c);
2694
+ ad(c);
2688
2695
  return d;
2689
2696
  }, toWireType:function(c, d) {
2690
- return bc(d);
2691
- }, argPackAdvance:8, readValueFromPointer:Bc, K:null,});
2697
+ return cc(d);
2698
+ }, argPackAdvance:8, readValueFromPointer:Cc, K:null,});
2692
2699
  }, _embind_register_enum:function(a, b, c, d) {
2693
2700
  function e() {
2694
2701
  }
2695
- c = Ec(c);
2696
- b = S(b);
2702
+ c = Fc(c);
2703
+ b = T(b);
2697
2704
  e.values = {};
2698
- U(a, {name:b, constructor:e, fromWireType:function(f) {
2705
+ V(a, {name:b, constructor:e, fromWireType:function(f) {
2699
2706
  return this.constructor.values[f];
2700
2707
  }, toWireType:function(f, g) {
2701
2708
  return g.value;
2702
- }, argPackAdvance:8, readValueFromPointer:ad(b, c, d), K:null,});
2703
- Jc(b, e);
2709
+ }, argPackAdvance:8, readValueFromPointer:bd(b, c, d), K:null,});
2710
+ Kc(b, e);
2704
2711
  }, _embind_register_enum_value:function(a, b, c) {
2705
- var d = oc(a, "enum");
2706
- b = S(b);
2712
+ var d = pc(a, "enum");
2713
+ b = T(b);
2707
2714
  a = d.constructor;
2708
- d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:Zb(`${d.name}_${b}`, function() {
2715
+ d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:$b(`${d.name}_${b}`, function() {
2709
2716
  })},});
2710
2717
  a.values[c] = d;
2711
2718
  a[b] = d;
2712
2719
  }, _embind_register_float:function(a, b, c) {
2713
- c = Ec(c);
2714
- b = S(b);
2715
- U(a, {name:b, fromWireType:function(d) {
2720
+ c = Fc(c);
2721
+ b = T(b);
2722
+ V(a, {name:b, fromWireType:function(d) {
2716
2723
  return d;
2717
2724
  }, toWireType:function(d, e) {
2718
2725
  return e;
2719
- }, argPackAdvance:8, readValueFromPointer:bd(b, c), K:null,});
2726
+ }, argPackAdvance:8, readValueFromPointer:cd(b, c), K:null,});
2720
2727
  }, _embind_register_function:function(a, b, c, d, e, f) {
2721
- var g = Yc(b, c);
2722
- a = S(a);
2723
- e = V(d, e);
2724
- Jc(a, function() {
2725
- Wc(`Cannot call ${a} due to unbound types`, g);
2728
+ var g = Zc(b, c);
2729
+ a = T(a);
2730
+ e = W(d, e);
2731
+ Kc(a, function() {
2732
+ Xc(`Cannot call ${a} due to unbound types`, g);
2726
2733
  }, b - 1);
2727
- T([], g, function(n) {
2728
- Rc(a, Xc(a, [n[0], null].concat(n.slice(1)), null, e, f), b - 1);
2734
+ U([], g, function(l) {
2735
+ Sc(a, Yc(a, [l[0], null].concat(l.slice(1)), null, e, f), b - 1);
2729
2736
  return [];
2730
2737
  });
2731
2738
  }, _embind_register_integer:function(a, b, c, d, e) {
2732
- b = S(b);
2739
+ b = T(b);
2733
2740
  -1 === e && (e = 4294967295);
2734
- e = Ec(c);
2735
- var f = n => n;
2741
+ e = Fc(c);
2742
+ var f = l => l;
2736
2743
  if (0 === d) {
2737
2744
  var g = 32 - 8 * c;
2738
- f = n => n << g >>> g;
2745
+ f = l => l << g >>> g;
2739
2746
  }
2740
- c = b.includes("unsigned") ? function(n, p) {
2747
+ c = b.includes("unsigned") ? function(l, p) {
2741
2748
  return p >>> 0;
2742
- } : function(n, p) {
2749
+ } : function(l, p) {
2743
2750
  return p;
2744
2751
  };
2745
- U(a, {name:b, fromWireType:f, toWireType:c, argPackAdvance:8, readValueFromPointer:cd(b, e, 0 !== d), K:null,});
2752
+ V(a, {name:b, fromWireType:f, toWireType:c, argPackAdvance:8, readValueFromPointer:dd(b, e, 0 !== d), K:null,});
2746
2753
  }, _embind_register_memory_view:function(a, b, c) {
2747
2754
  function d(f) {
2748
2755
  f >>= 2;
@@ -2750,195 +2757,195 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2750
2757
  return new e(g.buffer, g[f + 1], g[f]);
2751
2758
  }
2752
2759
  var e = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array,][b];
2753
- c = S(c);
2754
- U(a, {name:c, fromWireType:d, argPackAdvance:8, readValueFromPointer:d,}, {Tb:!0,});
2760
+ c = T(c);
2761
+ V(a, {name:c, fromWireType:d, argPackAdvance:8, readValueFromPointer:d,}, {Ub:!0,});
2755
2762
  }, _embind_register_std_string:function(a, b) {
2756
- b = S(b);
2763
+ b = T(b);
2757
2764
  var c = "std::string" === b;
2758
- U(a, {name:b, fromWireType:function(d) {
2765
+ V(a, {name:b, fromWireType:function(d) {
2759
2766
  var e = K[d >> 2], f = d + 4;
2760
2767
  if (c) {
2761
- for (var g = f, n = 0; n <= e; ++n) {
2762
- var p = f + n;
2763
- if (n == e || 0 == G[p]) {
2764
- g = g ? L(G, g, p - g) : "";
2765
- if (void 0 === l) {
2766
- var l = g;
2768
+ for (var g = f, l = 0; l <= e; ++l) {
2769
+ var p = f + l;
2770
+ if (l == e || 0 == F[p]) {
2771
+ g = g ? M(F, g, p - g) : "";
2772
+ if (void 0 === m) {
2773
+ var m = g;
2767
2774
  } else {
2768
- l += String.fromCharCode(0), l += g;
2775
+ m += String.fromCharCode(0), m += g;
2769
2776
  }
2770
2777
  g = p + 1;
2771
2778
  }
2772
2779
  }
2773
2780
  } else {
2774
- l = Array(e);
2775
- for (n = 0; n < e; ++n) {
2776
- l[n] = String.fromCharCode(G[f + n]);
2781
+ m = Array(e);
2782
+ for (l = 0; l < e; ++l) {
2783
+ m[l] = String.fromCharCode(F[f + l]);
2777
2784
  }
2778
- l = l.join("");
2785
+ m = m.join("");
2779
2786
  }
2780
- nc(d);
2781
- return l;
2787
+ oc(d);
2788
+ return m;
2782
2789
  }, toWireType:function(d, e) {
2783
2790
  e instanceof ArrayBuffer && (e = new Uint8Array(e));
2784
2791
  var f = "string" == typeof e;
2785
- f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || Q("Cannot pass non-string to std::string");
2786
- var g = c && f ? db(e) : e.length;
2787
- var n = Md(4 + g + 1), p = n + 4;
2788
- K[n >> 2] = g;
2792
+ f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || R("Cannot pass non-string to std::string");
2793
+ var g = c && f ? eb(e) : e.length;
2794
+ var l = Nd(4 + g + 1), p = l + 4;
2795
+ K[l >> 2] = g;
2789
2796
  if (c && f) {
2790
- eb(e, G, p, g + 1);
2797
+ fb(e, F, p, g + 1);
2791
2798
  } else {
2792
2799
  if (f) {
2793
2800
  for (f = 0; f < g; ++f) {
2794
- var l = e.charCodeAt(f);
2795
- 255 < l && (nc(p), Q("String has UTF-16 code units that do not fit in 8 bits"));
2796
- G[p + f] = l;
2801
+ var m = e.charCodeAt(f);
2802
+ 255 < m && (oc(p), R("String has UTF-16 code units that do not fit in 8 bits"));
2803
+ F[p + f] = m;
2797
2804
  }
2798
2805
  } else {
2799
2806
  for (f = 0; f < g; ++f) {
2800
- G[p + f] = e[f];
2807
+ F[p + f] = e[f];
2801
2808
  }
2802
2809
  }
2803
2810
  }
2804
- null !== d && d.push(nc, n);
2805
- return n;
2806
- }, argPackAdvance:8, readValueFromPointer:Bc, K:function(d) {
2807
- nc(d);
2811
+ null !== d && d.push(oc, l);
2812
+ return l;
2813
+ }, argPackAdvance:8, readValueFromPointer:Cc, K:function(d) {
2814
+ oc(d);
2808
2815
  },});
2809
2816
  }, _embind_register_std_wstring:function(a, b, c) {
2810
- c = S(c);
2817
+ c = T(c);
2811
2818
  if (2 === b) {
2812
- var d = ed;
2813
- var e = fd;
2814
- var f = gd;
2815
- var g = () => va;
2816
- var n = 1;
2819
+ var d = fd;
2820
+ var e = gd;
2821
+ var f = hd;
2822
+ var g = () => wa;
2823
+ var l = 1;
2817
2824
  } else {
2818
- 4 === b && (d = hd, e = jd, f = kd, g = () => K, n = 2);
2825
+ 4 === b && (d = jd, e = kd, f = ld, g = () => K, l = 2);
2819
2826
  }
2820
- U(a, {name:c, fromWireType:function(p) {
2821
- for (var l = K[p >> 2], t = g(), u, x = p + 4, k = 0; k <= l; ++k) {
2822
- var q = p + 4 + k * b;
2823
- if (k == l || 0 == t[q >> n]) {
2824
- x = d(x, q - x), void 0 === u ? u = x : (u += String.fromCharCode(0), u += x), x = q + b;
2827
+ V(a, {name:c, fromWireType:function(p) {
2828
+ for (var m = K[p >> 2], t = g(), v, x = p + 4, n = 0; n <= m; ++n) {
2829
+ var q = p + 4 + n * b;
2830
+ if (n == m || 0 == t[q >> l]) {
2831
+ x = d(x, q - x), void 0 === v ? v = x : (v += String.fromCharCode(0), v += x), x = q + b;
2825
2832
  }
2826
2833
  }
2827
- nc(p);
2828
- return u;
2829
- }, toWireType:function(p, l) {
2830
- "string" != typeof l && Q(`Cannot pass non-string to C++ string type ${c}`);
2831
- var t = f(l), u = Md(4 + t + b);
2832
- K[u >> 2] = t >> n;
2833
- e(l, u + 4, t + b);
2834
- null !== p && p.push(nc, u);
2835
- return u;
2836
- }, argPackAdvance:8, readValueFromPointer:Bc, K:function(p) {
2837
- nc(p);
2834
+ oc(p);
2835
+ return v;
2836
+ }, toWireType:function(p, m) {
2837
+ "string" != typeof m && R(`Cannot pass non-string to C++ string type ${c}`);
2838
+ var t = f(m), v = Nd(4 + t + b);
2839
+ K[v >> 2] = t >> l;
2840
+ e(m, v + 4, t + b);
2841
+ null !== p && p.push(oc, v);
2842
+ return v;
2843
+ }, argPackAdvance:8, readValueFromPointer:Cc, K:function(p) {
2844
+ oc(p);
2838
2845
  },});
2839
2846
  }, _embind_register_value_object:function(a, b, c, d, e, f) {
2840
- zc[a] = {name:S(b), Ra:V(c, d), W:V(e, f), ab:[],};
2841
- }, _embind_register_value_object_field:function(a, b, c, d, e, f, g, n, p, l) {
2842
- zc[a].ab.push({Lb:S(b), Rb:c, Pb:V(d, e), Qb:f, fc:g, ec:V(n, p), hc:l,});
2847
+ Ac[a] = {name:T(b), Ra:W(c, d), W:W(e, f), ab:[],};
2848
+ }, _embind_register_value_object_field:function(a, b, c, d, e, f, g, l, p, m) {
2849
+ Ac[a].ab.push({Mb:T(b), Sb:c, Qb:W(d, e), Rb:f, hc:g, fc:W(l, p), ic:m,});
2843
2850
  }, _embind_register_void:function(a, b) {
2844
- b = S(b);
2845
- U(a, {Zb:!0, name:b, argPackAdvance:0, fromWireType:function() {
2851
+ b = T(b);
2852
+ V(a, {$b:!0, name:b, argPackAdvance:0, fromWireType:function() {
2846
2853
  }, toWireType:function() {
2847
2854
  },});
2848
2855
  }, _emscripten_get_now_is_monotonic:() => !0, _emval_as:function(a, b, c) {
2849
- a = R(a);
2850
- b = oc(b, "emval::as");
2851
- var d = [], e = bc(d);
2856
+ a = S(a);
2857
+ b = pc(b, "emval::as");
2858
+ var d = [], e = cc(d);
2852
2859
  K[c >> 2] = e;
2853
2860
  return b.toWireType(d, a);
2854
2861
  }, _emval_call_method:function(a, b, c, d, e) {
2855
- a = nd[a];
2856
- b = R(b);
2857
- c = md(c);
2862
+ a = od[a];
2863
+ b = S(b);
2864
+ c = nd(c);
2858
2865
  var f = [];
2859
- K[d >> 2] = bc(f);
2866
+ K[d >> 2] = cc(f);
2860
2867
  return a(b, c, f, e);
2861
2868
  }, _emval_call_void_method:function(a, b, c, d) {
2862
- a = nd[a];
2863
- b = R(b);
2864
- c = md(c);
2869
+ a = od[a];
2870
+ b = S(b);
2871
+ c = nd(c);
2865
2872
  a(b, c, null, d);
2866
- }, _emval_decref:$c, _emval_get_method_caller:function(a, b) {
2867
- var c = pd(a, b), d = c[0];
2873
+ }, _emval_decref:ad, _emval_get_method_caller:function(a, b) {
2874
+ var c = qd(a, b), d = c[0];
2868
2875
  b = d.name + "_$" + c.slice(1).map(function(g) {
2869
2876
  return g.name;
2870
2877
  }).join("_") + "$";
2871
- var e = qd[b];
2878
+ var e = rd[b];
2872
2879
  if (void 0 !== e) {
2873
2880
  return e;
2874
2881
  }
2875
2882
  var f = Array(a - 1);
2876
- e = od((g, n, p, l) => {
2877
- for (var t = 0, u = 0; u < a - 1; ++u) {
2878
- f[u] = c[u + 1].readValueFromPointer(l + t), t += c[u + 1].argPackAdvance;
2883
+ e = pd((g, l, p, m) => {
2884
+ for (var t = 0, v = 0; v < a - 1; ++v) {
2885
+ f[v] = c[v + 1].readValueFromPointer(m + t), t += c[v + 1].argPackAdvance;
2879
2886
  }
2880
- g = g[n].apply(g, f);
2881
- for (u = 0; u < a - 1; ++u) {
2882
- c[u + 1].Hb && c[u + 1].Hb(f[u]);
2887
+ g = g[l].apply(g, f);
2888
+ for (v = 0; v < a - 1; ++v) {
2889
+ c[v + 1].Ib && c[v + 1].Ib(f[v]);
2883
2890
  }
2884
- if (!d.Zb) {
2891
+ if (!d.$b) {
2885
2892
  return d.toWireType(p, g);
2886
2893
  }
2887
2894
  });
2888
- return qd[b] = e;
2895
+ return rd[b] = e;
2889
2896
  }, _emval_get_property:function(a, b) {
2890
- a = R(a);
2891
- b = R(b);
2892
- return bc(a[b]);
2897
+ a = S(a);
2898
+ b = S(b);
2899
+ return cc(a[b]);
2893
2900
  }, _emval_incref:function(a) {
2894
- 4 < a && (P.get(a).qb += 1);
2901
+ 4 < a && (Q.get(a).qb += 1);
2895
2902
  }, _emval_new_cstring:function(a) {
2896
- return bc(md(a));
2903
+ return cc(nd(a));
2897
2904
  }, _emval_new_object:function() {
2898
- return bc({});
2905
+ return cc({});
2899
2906
  }, _emval_run_destructors:function(a) {
2900
- var b = R(a);
2901
- Ac(b);
2902
- $c(a);
2907
+ var b = S(a);
2908
+ Bc(b);
2909
+ ad(a);
2903
2910
  }, _emval_set_property:function(a, b, c) {
2904
- a = R(a);
2905
- b = R(b);
2906
- c = R(c);
2911
+ a = S(a);
2912
+ b = S(b);
2913
+ c = S(c);
2907
2914
  a[b] = c;
2908
2915
  }, _emval_take_value:function(a, b) {
2909
- a = oc(a, "_emval_take_value");
2916
+ a = pc(a, "_emval_take_value");
2910
2917
  a = a.readValueFromPointer(b);
2911
- return bc(a);
2918
+ return cc(a);
2912
2919
  }, abort:() => {
2913
- sa("");
2920
+ ta("");
2914
2921
  }, beginPixelLocalStorageWEBGL:function(a, b, c) {
2915
- (a = w[a].D.ja) && a.beginPixelLocalStorageWEBGL(m.HEAPU32.subarray(c, c + b));
2922
+ (a = w[a].D.ja) && a.beginPixelLocalStorageWEBGL(k.HEAPU32.subarray(c, c + b));
2916
2923
  }, decode_image:function(a, b, c) {
2917
- var d = m.images;
2918
- d || (d = new Map(), m.images = d);
2924
+ var d = k.images;
2925
+ d || (d = new Map(), k.images = d);
2919
2926
  var e = new Image();
2920
2927
  d.set(a, e);
2921
- b = m.HEAP8.subarray(b, b + c);
2928
+ b = k.HEAP8.subarray(b, b + c);
2922
2929
  c = new Uint8Array(c);
2923
2930
  c.set(b);
2924
2931
  e.src = URL.createObjectURL(new Blob([c], {type:"image/png"}));
2925
2932
  e.onload = function() {
2926
- m._setWebImage(a, e.width, e.height);
2933
+ k._setWebImage(a, e.width, e.height);
2927
2934
  };
2928
2935
  }, delete_image:function(a) {
2929
- var b = m.images;
2936
+ var b = k.images;
2930
2937
  b && b.get(a) && b.delete(a);
2931
2938
  }, emscripten_asm_const_int:(a, b, c) => {
2932
- rd.length = 0;
2939
+ sd.length = 0;
2933
2940
  var d;
2934
- for (c >>= 2; d = G[b++];) {
2935
- c += 105 != d & c, rd.push(105 == d ? J[c] : xa[c++ >> 1]), ++c;
2941
+ for (c >>= 2; d = F[b++];) {
2942
+ c += 105 != d & c, sd.push(105 == d ? J[c] : ya[c++ >> 1]), ++c;
2936
2943
  }
2937
- return Ta[a].apply(null, rd);
2944
+ return Ua[a].apply(null, sd);
2938
2945
  }, emscripten_date_now:function() {
2939
2946
  return Date.now();
2940
- }, emscripten_get_now:() => performance.now(), emscripten_memcpy_big:(a, b, c) => G.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
2941
- var b = G.length;
2947
+ }, emscripten_get_now:() => performance.now(), emscripten_memcpy_big:(a, b, c) => F.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
2948
+ var b = F.length;
2942
2949
  a >>>= 0;
2943
2950
  if (2147483648 < a) {
2944
2951
  return !1;
@@ -2949,10 +2956,10 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2949
2956
  var e = Math;
2950
2957
  d = Math.max(a, d);
2951
2958
  a: {
2952
- e = e.min.call(e, 2147483648, d + (65536 - d % 65536) % 65536) - ta.buffer.byteLength + 65535 >>> 16;
2959
+ e = e.min.call(e, 2147483648, d + (65536 - d % 65536) % 65536) - ua.buffer.byteLength + 65535 >>> 16;
2953
2960
  try {
2954
- ta.grow(e);
2955
- ya();
2961
+ ua.grow(e);
2962
+ za();
2956
2963
  var f = 1;
2957
2964
  break a;
2958
2965
  } catch (g) {
@@ -2966,16 +2973,16 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2966
2973
  return !1;
2967
2974
  }, emscripten_webgl_enable_extension:function(a, b) {
2968
2975
  a = w[a];
2969
- b = b ? L(G, b) : "";
2976
+ b = b ? M(F, b) : "";
2970
2977
  b.startsWith("GL_") && (b = b.substr(3));
2971
- "WEBGL_draw_instanced_base_vertex_base_instance" == b && sd(Y);
2972
- "WEBGL_multi_draw_instanced_base_vertex_base_instance" == b && td(Y);
2973
- "WEBGL_multi_draw" == b && Fd(Y);
2978
+ "WEBGL_draw_instanced_base_vertex_base_instance" == b && td(Z);
2979
+ "WEBGL_multi_draw_instanced_base_vertex_base_instance" == b && ud(Z);
2980
+ "WEBGL_multi_draw" == b && Gd(Z);
2974
2981
  return !!a.D.getExtension(b);
2975
2982
  }, emscripten_webgl_get_current_context:function() {
2976
2983
  return r ? r.handle : 0;
2977
2984
  }, emscripten_webgl_make_context_current:function(a) {
2978
- return ia(a) ? 0 : -5;
2985
+ return ja(a) ? 0 : -5;
2979
2986
  }, enable_WEBGL_provoking_vertex:function(a) {
2980
2987
  a = w[a].D;
2981
2988
  a.nb = a.getExtension("WEBGL_provoking_vertex");
@@ -2985,10 +2992,10 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2985
2992
  a.ja = a.getExtension("WEBGL_shader_pixel_local_storage");
2986
2993
  return !(!a.ja || !a.ja.isCoherent());
2987
2994
  }, endPixelLocalStorageWEBGL:function(a, b, c) {
2988
- (a = w[a].D.ja) && a.endPixelLocalStorageWEBGL(m.HEAPU32.subarray(c, c + b));
2995
+ (a = w[a].D.ja) && a.endPixelLocalStorageWEBGL(k.HEAPU32.subarray(c, c + b));
2989
2996
  }, environ_get:(a, b) => {
2990
2997
  var c = 0;
2991
- Id().forEach(function(d, e) {
2998
+ Jd().forEach(function(d, e) {
2992
2999
  var f = b + c;
2993
3000
  e = K[a + 4 * e >> 2] = f;
2994
3001
  for (f = 0; f < d.length; ++f) {
@@ -2999,7 +3006,7 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
2999
3006
  });
3000
3007
  return 0;
3001
3008
  }, environ_sizes_get:(a, b) => {
3002
- var c = Id();
3009
+ var c = Jd();
3003
3010
  K[a >> 2] = c.length;
3004
3011
  var d = 0;
3005
3012
  c.forEach(function(e) {
@@ -3009,9 +3016,9 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
3009
3016
  return 0;
3010
3017
  }, fd_close:function(a) {
3011
3018
  try {
3012
- var b = Ib(a);
3019
+ var b = Jb(a);
3013
3020
  if (null === b.X) {
3014
- throw new M(8);
3021
+ throw new N(8);
3015
3022
  }
3016
3023
  b.Oa && (b.Oa = null);
3017
3024
  try {
@@ -3019,12 +3026,12 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
3019
3026
  } catch (c) {
3020
3027
  throw c;
3021
3028
  } finally {
3022
- vb[b.X] = null;
3029
+ wb[b.X] = null;
3023
3030
  }
3024
3031
  b.X = null;
3025
3032
  return 0;
3026
3033
  } catch (c) {
3027
- if ("undefined" == typeof Vb || "ErrnoError" !== c.name) {
3034
+ if ("undefined" == typeof Wb || "ErrnoError" !== c.name) {
3028
3035
  throw c;
3029
3036
  }
3030
3037
  return c.aa;
@@ -3032,38 +3039,38 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
3032
3039
  }, fd_read:function(a, b, c, d) {
3033
3040
  try {
3034
3041
  a: {
3035
- var e = Ib(a);
3042
+ var e = Jb(a);
3036
3043
  a = b;
3037
3044
  for (var f, g = b = 0; g < c; g++) {
3038
- var n = K[a >> 2], p = K[a + 4 >> 2];
3045
+ var l = K[a >> 2], p = K[a + 4 >> 2];
3039
3046
  a += 8;
3040
- var l = e, t = n, u = p, x = f, k = D;
3041
- if (0 > u || 0 > x) {
3042
- throw new M(28);
3047
+ var m = e, t = l, v = p, x = f, n = D;
3048
+ if (0 > v || 0 > x) {
3049
+ throw new N(28);
3043
3050
  }
3044
- if (null === l.X) {
3045
- throw new M(8);
3051
+ if (null === m.X) {
3052
+ throw new N(8);
3046
3053
  }
3047
- if (1 === (l.flags & 2097155)) {
3048
- throw new M(8);
3054
+ if (1 === (m.flags & 2097155)) {
3055
+ throw new N(8);
3049
3056
  }
3050
- if (16384 === (l.node.mode & 61440)) {
3051
- throw new M(31);
3057
+ if (16384 === (m.node.mode & 61440)) {
3058
+ throw new N(31);
3052
3059
  }
3053
- if (!l.m.read) {
3054
- throw new M(28);
3060
+ if (!m.m.read) {
3061
+ throw new N(28);
3055
3062
  }
3056
3063
  var q = "undefined" != typeof x;
3057
3064
  if (!q) {
3058
- x = l.position;
3059
- } else if (!l.seekable) {
3060
- throw new M(70);
3065
+ x = m.position;
3066
+ } else if (!m.seekable) {
3067
+ throw new N(70);
3061
3068
  }
3062
- var v = l.m.read(l, k, t, u, x);
3063
- q || (l.position += v);
3064
- var y = v;
3069
+ var u = m.m.read(m, n, t, v, x);
3070
+ q || (m.position += u);
3071
+ var y = u;
3065
3072
  if (0 > y) {
3066
- var C = -1;
3073
+ var z = -1;
3067
3074
  break a;
3068
3075
  }
3069
3076
  b += y;
@@ -3072,15 +3079,15 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
3072
3079
  }
3073
3080
  "undefined" !== typeof f && (f += y);
3074
3081
  }
3075
- C = b;
3082
+ z = b;
3076
3083
  }
3077
- K[d >> 2] = C;
3084
+ K[d >> 2] = z;
3078
3085
  return 0;
3079
- } catch (z) {
3080
- if ("undefined" == typeof Vb || "ErrnoError" !== z.name) {
3081
- throw z;
3086
+ } catch (A) {
3087
+ if ("undefined" == typeof Wb || "ErrnoError" !== A.name) {
3088
+ throw A;
3082
3089
  }
3083
- return z.aa;
3090
+ return A.aa;
3084
3091
  }
3085
3092
  }, fd_seek:function(a, b, c, d, e) {
3086
3093
  b = c + 2097152 >>> 0 < 4194305 - !!b ? (b >>> 0) + 4294967296 * c : NaN;
@@ -3088,15 +3095,15 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
3088
3095
  if (isNaN(b)) {
3089
3096
  return 61;
3090
3097
  }
3091
- var f = Ib(a);
3092
- Qb(f, b, d);
3093
- Pa = [f.position >>> 0, (Oa = f.position, 1.0 <= +Math.abs(Oa) ? 0.0 < Oa ? +Math.floor(Oa / 4294967296.0) >>> 0 : ~~+Math.ceil((Oa - +(~~Oa >>> 0)) / 4294967296.0) >>> 0 : 0)];
3094
- J[e >> 2] = Pa[0];
3095
- J[e + 4 >> 2] = Pa[1];
3098
+ var f = Jb(a);
3099
+ Rb(f, b, d);
3100
+ Qa = [f.position >>> 0, (Pa = f.position, 1.0 <= +Math.abs(Pa) ? 0.0 < Pa ? +Math.floor(Pa / 4294967296.0) >>> 0 : ~~+Math.ceil((Pa - +(~~Pa >>> 0)) / 4294967296.0) >>> 0 : 0)];
3101
+ J[e >> 2] = Qa[0];
3102
+ J[e + 4 >> 2] = Qa[1];
3096
3103
  f.Oa && 0 === b && 0 === d && (f.Oa = null);
3097
3104
  return 0;
3098
3105
  } catch (g) {
3099
- if ("undefined" == typeof Vb || "ErrnoError" !== g.name) {
3106
+ if ("undefined" == typeof Wb || "ErrnoError" !== g.name) {
3100
3107
  throw g;
3101
3108
  }
3102
3109
  return g.aa;
@@ -3104,432 +3111,432 @@ var Xd = {__syscall_fcntl64:function(a, b, c) {
3104
3111
  }, fd_write:function(a, b, c, d) {
3105
3112
  try {
3106
3113
  a: {
3107
- var e = Ib(a);
3114
+ var e = Jb(a);
3108
3115
  a = b;
3109
3116
  for (var f, g = b = 0; g < c; g++) {
3110
- var n = K[a >> 2], p = K[a + 4 >> 2];
3117
+ var l = K[a >> 2], p = K[a + 4 >> 2];
3111
3118
  a += 8;
3112
- var l = e, t = n, u = p, x = f, k = D;
3113
- if (0 > u || 0 > x) {
3114
- throw new M(28);
3119
+ var m = e, t = l, v = p, x = f, n = D;
3120
+ if (0 > v || 0 > x) {
3121
+ throw new N(28);
3115
3122
  }
3116
- if (null === l.X) {
3117
- throw new M(8);
3123
+ if (null === m.X) {
3124
+ throw new N(8);
3118
3125
  }
3119
- if (0 === (l.flags & 2097155)) {
3120
- throw new M(8);
3126
+ if (0 === (m.flags & 2097155)) {
3127
+ throw new N(8);
3121
3128
  }
3122
- if (16384 === (l.node.mode & 61440)) {
3123
- throw new M(31);
3129
+ if (16384 === (m.node.mode & 61440)) {
3130
+ throw new N(31);
3124
3131
  }
3125
- if (!l.m.write) {
3126
- throw new M(28);
3132
+ if (!m.m.write) {
3133
+ throw new N(28);
3127
3134
  }
3128
- l.seekable && l.flags & 1024 && Qb(l, 0, 2);
3135
+ m.seekable && m.flags & 1024 && Rb(m, 0, 2);
3129
3136
  var q = "undefined" != typeof x;
3130
3137
  if (!q) {
3131
- x = l.position;
3132
- } else if (!l.seekable) {
3133
- throw new M(70);
3138
+ x = m.position;
3139
+ } else if (!m.seekable) {
3140
+ throw new N(70);
3134
3141
  }
3135
- var v = l.m.write(l, k, t, u, x, void 0);
3136
- q || (l.position += v);
3137
- var y = v;
3142
+ var u = m.m.write(m, n, t, v, x, void 0);
3143
+ q || (m.position += u);
3144
+ var y = u;
3138
3145
  if (0 > y) {
3139
- var C = -1;
3146
+ var z = -1;
3140
3147
  break a;
3141
3148
  }
3142
3149
  b += y;
3143
3150
  "undefined" !== typeof f && (f += y);
3144
3151
  }
3145
- C = b;
3152
+ z = b;
3146
3153
  }
3147
- K[d >> 2] = C;
3154
+ K[d >> 2] = z;
3148
3155
  return 0;
3149
- } catch (z) {
3150
- if ("undefined" == typeof Vb || "ErrnoError" !== z.name) {
3151
- throw z;
3156
+ } catch (A) {
3157
+ if ("undefined" == typeof Wb || "ErrnoError" !== A.name) {
3158
+ throw A;
3152
3159
  }
3153
- return z.aa;
3160
+ return A.aa;
3154
3161
  }
3155
3162
  }, framebufferPixelLocalClearValuefvWEBGL:function(a, b, c, d, e, f) {
3156
3163
  (a = w[a].D.ja) && a.framebufferPixelLocalClearValuefvWEBGL(b, [c, d, e, f]);
3157
3164
  }, framebufferTexturePixelLocalStorageWEBGL:function(a, b, c, d, e) {
3158
- (a = w[a].D.ja) && a.framebufferTexturePixelLocalStorageWEBGL(b, yd[c], d, e);
3165
+ (a = w[a].D.ja) && a.framebufferTexturePixelLocalStorageWEBGL(b, zd[c], d, e);
3159
3166
  }, glActiveTexture:function(a) {
3160
- Y.activeTexture(a);
3167
+ Z.activeTexture(a);
3161
3168
  }, glAttachShader:function(a, b) {
3162
- Y.attachShader(W[a], zd[b]);
3169
+ Z.attachShader(X[a], Ad[b]);
3163
3170
  }, glBindBuffer:function(a, b) {
3164
- 35051 == a ? Y.Ya = b : 35052 == a && (Y.Ma = b);
3165
- Y.bindBuffer(a, vd[b]);
3171
+ 35051 == a ? Z.Ya = b : 35052 == a && (Z.Ma = b);
3172
+ Z.bindBuffer(a, wd[b]);
3166
3173
  }, glBindBufferRange:function(a, b, c, d, e) {
3167
- Y.bindBufferRange(a, b, vd[c], d, e);
3174
+ Z.bindBufferRange(a, b, wd[c], d, e);
3168
3175
  }, glBindFramebuffer:function(a, b) {
3169
- Y.bindFramebuffer(a, wd[b]);
3176
+ Z.bindFramebuffer(a, xd[b]);
3170
3177
  }, glBindRenderbuffer:function(a, b) {
3171
- Y.bindRenderbuffer(a, xd[b]);
3178
+ Z.bindRenderbuffer(a, yd[b]);
3172
3179
  }, glBindTexture:function(a, b) {
3173
- Y.bindTexture(a, yd[b]);
3180
+ Z.bindTexture(a, zd[b]);
3174
3181
  }, glBindVertexArray:function(a) {
3175
- Y.bindVertexArray(Ad[a]);
3182
+ Z.bindVertexArray(Bd[a]);
3176
3183
  }, glBlendEquation:function(a) {
3177
- Y.blendEquation(a);
3184
+ Z.blendEquation(a);
3178
3185
  }, glBlendFunc:function(a, b) {
3179
- Y.blendFunc(a, b);
3180
- }, glBlitFramebuffer:function(a, b, c, d, e, f, g, n, p, l) {
3181
- Y.blitFramebuffer(a, b, c, d, e, f, g, n, p, l);
3186
+ Z.blendFunc(a, b);
3187
+ }, glBlitFramebuffer:function(a, b, c, d, e, f, g, l, p, m) {
3188
+ Z.blitFramebuffer(a, b, c, d, e, f, g, l, p, m);
3182
3189
  }, glBufferData:function(a, b, c, d) {
3183
- c && b ? Y.bufferData(a, G, d, c, b) : Y.bufferData(a, b, d);
3190
+ c && b ? Z.bufferData(a, F, d, c, b) : Z.bufferData(a, b, d);
3184
3191
  }, glBufferSubData:function(a, b, c, d) {
3185
- c && Y.bufferSubData(a, b, G, d, c);
3192
+ c && Z.bufferSubData(a, b, F, d, c);
3186
3193
  }, glClear:function(a) {
3187
- Y.clear(a);
3194
+ Z.clear(a);
3188
3195
  }, glClearColor:function(a, b, c, d) {
3189
- Y.clearColor(a, b, c, d);
3196
+ Z.clearColor(a, b, c, d);
3190
3197
  }, glClearDepthf:function(a) {
3191
- Y.clearDepth(a);
3198
+ Z.clearDepth(a);
3192
3199
  }, glClearStencil:function(a) {
3193
- Y.clearStencil(a);
3200
+ Z.clearStencil(a);
3194
3201
  }, glColorMask:function(a, b, c, d) {
3195
- Y.colorMask(!!a, !!b, !!c, !!d);
3202
+ Z.colorMask(!!a, !!b, !!c, !!d);
3196
3203
  }, glCompileShader:function(a) {
3197
- Y.compileShader(zd[a]);
3204
+ Z.compileShader(Ad[a]);
3198
3205
  }, glCreateProgram:function() {
3199
- var a = Dd(W), b = Y.createProgram();
3206
+ var a = Ed(X), b = Z.createProgram();
3200
3207
  b.name = a;
3201
- b.Gc = b.Ec = b.Fc = 0;
3208
+ b.Hc = b.Fc = b.Gc = 0;
3202
3209
  b.Ua = 1;
3203
- W[a] = b;
3210
+ X[a] = b;
3204
3211
  return a;
3205
3212
  }, glCreateShader:function(a) {
3206
- var b = Dd(zd);
3207
- zd[b] = Y.createShader(a);
3213
+ var b = Ed(Ad);
3214
+ Ad[b] = Z.createShader(a);
3208
3215
  return b;
3209
3216
  }, glCullFace:function(a) {
3210
- Y.cullFace(a);
3217
+ Z.cullFace(a);
3211
3218
  }, glDeleteBuffers:function(a, b) {
3212
3219
  for (var c = 0; c < a; c++) {
3213
- var d = J[b + 4 * c >> 2], e = vd[d];
3214
- e && (Y.deleteBuffer(e), e.name = 0, vd[d] = null, d == Y.Ya && (Y.Ya = 0), d == Y.Ma && (Y.Ma = 0));
3220
+ var d = J[b + 4 * c >> 2], e = wd[d];
3221
+ e && (Z.deleteBuffer(e), e.name = 0, wd[d] = null, d == Z.Ya && (Z.Ya = 0), d == Z.Ma && (Z.Ma = 0));
3215
3222
  }
3216
3223
  }, glDeleteFramebuffers:function(a, b) {
3217
3224
  for (var c = 0; c < a; ++c) {
3218
- var d = J[b + 4 * c >> 2], e = wd[d];
3219
- e && (Y.deleteFramebuffer(e), e.name = 0, wd[d] = null);
3225
+ var d = J[b + 4 * c >> 2], e = xd[d];
3226
+ e && (Z.deleteFramebuffer(e), e.name = 0, xd[d] = null);
3220
3227
  }
3221
3228
  }, glDeleteProgram:function(a) {
3222
3229
  if (a) {
3223
- var b = W[a];
3224
- b ? (Y.deleteProgram(b), b.name = 0, W[a] = null) : X(1281);
3230
+ var b = X[a];
3231
+ b ? (Z.deleteProgram(b), b.name = 0, X[a] = null) : Y(1281);
3225
3232
  }
3226
3233
  }, glDeleteRenderbuffers:function(a, b) {
3227
3234
  for (var c = 0; c < a; c++) {
3228
- var d = J[b + 4 * c >> 2], e = xd[d];
3229
- e && (Y.deleteRenderbuffer(e), e.name = 0, xd[d] = null);
3235
+ var d = J[b + 4 * c >> 2], e = yd[d];
3236
+ e && (Z.deleteRenderbuffer(e), e.name = 0, yd[d] = null);
3230
3237
  }
3231
3238
  }, glDeleteShader:function(a) {
3232
3239
  if (a) {
3233
- var b = zd[a];
3234
- b ? (Y.deleteShader(b), zd[a] = null) : X(1281);
3240
+ var b = Ad[a];
3241
+ b ? (Z.deleteShader(b), Ad[a] = null) : Y(1281);
3235
3242
  }
3236
3243
  }, glDeleteTextures:function(a, b) {
3237
3244
  for (var c = 0; c < a; c++) {
3238
- var d = J[b + 4 * c >> 2], e = yd[d];
3239
- e && (Y.deleteTexture(e), e.name = 0, yd[d] = null);
3245
+ var d = J[b + 4 * c >> 2], e = zd[d];
3246
+ e && (Z.deleteTexture(e), e.name = 0, zd[d] = null);
3240
3247
  }
3241
3248
  }, glDeleteVertexArrays:function(a, b) {
3242
3249
  for (var c = 0; c < a; c++) {
3243
3250
  var d = J[b + 4 * c >> 2];
3244
- Y.deleteVertexArray(Ad[d]);
3245
- Ad[d] = null;
3251
+ Z.deleteVertexArray(Bd[d]);
3252
+ Bd[d] = null;
3246
3253
  }
3247
3254
  }, glDepthFunc:function(a) {
3248
- Y.depthFunc(a);
3255
+ Z.depthFunc(a);
3249
3256
  }, glDepthMask:function(a) {
3250
- Y.depthMask(!!a);
3257
+ Z.depthMask(!!a);
3251
3258
  }, glDepthRangef:function(a, b) {
3252
- Y.depthRange(a, b);
3259
+ Z.depthRange(a, b);
3253
3260
  }, glDisable:function(a) {
3254
- Y.disable(a);
3261
+ Z.disable(a);
3255
3262
  }, glDrawArrays:function(a, b, c) {
3256
- Y.drawArrays(a, b, c);
3263
+ Z.drawArrays(a, b, c);
3257
3264
  }, glDrawArraysInstanced:function(a, b, c, d) {
3258
- Y.drawArraysInstanced(a, b, c, d);
3265
+ Z.drawArraysInstanced(a, b, c, d);
3259
3266
  }, glDrawBuffers:function(a, b) {
3260
- for (var c = Jd[a], d = 0; d < a; d++) {
3267
+ for (var c = Kd[a], d = 0; d < a; d++) {
3261
3268
  c[d] = J[b + 4 * d >> 2];
3262
3269
  }
3263
- Y.drawBuffers(c);
3270
+ Z.drawBuffers(c);
3264
3271
  }, glDrawElements:function(a, b, c, d) {
3265
- Y.drawElements(a, b, c, d);
3272
+ Z.drawElements(a, b, c, d);
3266
3273
  }, glDrawElementsInstanced:function(a, b, c, d, e) {
3267
- Y.drawElementsInstanced(a, b, c, d, e);
3274
+ Z.drawElementsInstanced(a, b, c, d, e);
3268
3275
  }, glEnable:function(a) {
3269
- Y.enable(a);
3276
+ Z.enable(a);
3270
3277
  }, glEnableVertexAttribArray:function(a) {
3271
- Y.enableVertexAttribArray(a);
3278
+ Z.enableVertexAttribArray(a);
3272
3279
  }, glFlush:function() {
3273
- Y.flush();
3280
+ Z.flush();
3274
3281
  }, glFramebufferRenderbuffer:function(a, b, c, d) {
3275
- Y.framebufferRenderbuffer(a, b, c, xd[d]);
3282
+ Z.framebufferRenderbuffer(a, b, c, yd[d]);
3276
3283
  }, glFramebufferTexture2D:function(a, b, c, d, e) {
3277
- Y.framebufferTexture2D(a, b, c, yd[d], e);
3284
+ Z.framebufferTexture2D(a, b, c, zd[d], e);
3278
3285
  }, glFrontFace:function(a) {
3279
- Y.frontFace(a);
3286
+ Z.frontFace(a);
3280
3287
  }, glGenBuffers:function(a, b) {
3281
- Kd(a, b, "createBuffer", vd);
3288
+ Ld(a, b, "createBuffer", wd);
3282
3289
  }, glGenFramebuffers:function(a, b) {
3283
- Kd(a, b, "createFramebuffer", wd);
3290
+ Ld(a, b, "createFramebuffer", xd);
3284
3291
  }, glGenRenderbuffers:function(a, b) {
3285
- Kd(a, b, "createRenderbuffer", xd);
3292
+ Ld(a, b, "createRenderbuffer", yd);
3286
3293
  }, glGenTextures:function(a, b) {
3287
- Kd(a, b, "createTexture", yd);
3294
+ Ld(a, b, "createTexture", zd);
3288
3295
  }, glGenVertexArrays:function(a, b) {
3289
- Kd(a, b, "createVertexArray", Ad);
3296
+ Ld(a, b, "createVertexArray", Bd);
3290
3297
  }, glGenerateMipmap:function(a) {
3291
- Y.generateMipmap(a);
3298
+ Z.generateMipmap(a);
3292
3299
  }, glGetIntegerv:function(a, b) {
3293
- Ld(a, b);
3300
+ Md(a, b);
3294
3301
  }, glGetString:function(a) {
3295
- var b = Bd[a];
3302
+ var b = Cd[a];
3296
3303
  if (!b) {
3297
3304
  switch(a) {
3298
3305
  case 7939:
3299
- b = Y.getSupportedExtensions() || [];
3306
+ b = Z.getSupportedExtensions() || [];
3300
3307
  b = b.concat(b.map(function(d) {
3301
3308
  return "GL_" + d;
3302
3309
  }));
3303
- b = Nd(b.join(" "));
3310
+ b = Od(b.join(" "));
3304
3311
  break;
3305
3312
  case 7936:
3306
3313
  case 7937:
3307
3314
  case 37445:
3308
3315
  case 37446:
3309
- (b = Y.getParameter(a)) || X(1280);
3310
- b = b && Nd(b);
3316
+ (b = Z.getParameter(a)) || Y(1280);
3317
+ b = b && Od(b);
3311
3318
  break;
3312
3319
  case 7938:
3313
- b = Nd("OpenGL ES 3.0 (" + Y.getParameter(7938) + ")");
3320
+ b = Od("OpenGL ES 3.0 (" + Z.getParameter(7938) + ")");
3314
3321
  break;
3315
3322
  case 35724:
3316
- b = Y.getParameter(35724);
3323
+ b = Z.getParameter(35724);
3317
3324
  var c = b.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);
3318
3325
  null !== c && (3 == c[1].length && (c[1] += "0"), b = "OpenGL ES GLSL ES " + c[1] + " (" + b + ")");
3319
- b = Nd(b);
3326
+ b = Od(b);
3320
3327
  break;
3321
3328
  default:
3322
- X(1280);
3329
+ Y(1280);
3323
3330
  }
3324
- Bd[a] = b;
3331
+ Cd[a] = b;
3325
3332
  }
3326
3333
  return b;
3327
3334
  }, glGetUniformBlockIndex:function(a, b) {
3328
- return Y.getUniformBlockIndex(W[a], b ? L(G, b) : "");
3335
+ return Z.getUniformBlockIndex(X[a], b ? M(F, b) : "");
3329
3336
  }, glGetUniformLocation:function(a, b) {
3330
- b = b ? L(G, b) : "";
3331
- if (a = W[a]) {
3337
+ b = b ? M(F, b) : "";
3338
+ if (a = X[a]) {
3332
3339
  var c = a, d = c.oa, e = c.vb, f;
3333
3340
  if (!d) {
3334
- for (c.oa = d = {}, c.ub = {}, f = 0; f < Y.getProgramParameter(c, 35718); ++f) {
3335
- var g = Y.getActiveUniform(c, f);
3336
- var n = g.name;
3341
+ for (c.oa = d = {}, c.ub = {}, f = 0; f < Z.getProgramParameter(c, 35718); ++f) {
3342
+ var g = Z.getActiveUniform(c, f);
3343
+ var l = g.name;
3337
3344
  g = g.size;
3338
- var p = Od(n);
3339
- p = 0 < p ? n.slice(0, p) : n;
3340
- var l = c.Ua;
3345
+ var p = Pd(l);
3346
+ p = 0 < p ? l.slice(0, p) : l;
3347
+ var m = c.Ua;
3341
3348
  c.Ua += g;
3342
- e[p] = [g, l];
3343
- for (n = 0; n < g; ++n) {
3344
- d[l] = n, c.ub[l++] = p;
3349
+ e[p] = [g, m];
3350
+ for (l = 0; l < g; ++l) {
3351
+ d[m] = l, c.ub[m++] = p;
3345
3352
  }
3346
3353
  }
3347
3354
  }
3348
3355
  c = a.oa;
3349
3356
  d = 0;
3350
3357
  e = b;
3351
- f = Od(b);
3358
+ f = Pd(b);
3352
3359
  0 < f && (d = parseInt(b.slice(f + 1)) >>> 0, e = b.slice(0, f));
3353
- if ((e = a.vb[e]) && d < e[0] && (d += e[1], c[d] = c[d] || Y.getUniformLocation(a, b))) {
3360
+ if ((e = a.vb[e]) && d < e[0] && (d += e[1], c[d] = c[d] || Z.getUniformLocation(a, b))) {
3354
3361
  return d;
3355
3362
  }
3356
3363
  } else {
3357
- X(1281);
3364
+ Y(1281);
3358
3365
  }
3359
3366
  return -1;
3360
3367
  }, glInvalidateFramebuffer:function(a, b, c) {
3361
- for (var d = Jd[b], e = 0; e < b; e++) {
3368
+ for (var d = Kd[b], e = 0; e < b; e++) {
3362
3369
  d[e] = J[c + 4 * e >> 2];
3363
3370
  }
3364
- Y.invalidateFramebuffer(a, d);
3371
+ Z.invalidateFramebuffer(a, d);
3365
3372
  }, glLinkProgram:function(a) {
3366
- a = W[a];
3367
- Y.linkProgram(a);
3373
+ a = X[a];
3374
+ Z.linkProgram(a);
3368
3375
  a.oa = 0;
3369
3376
  a.vb = {};
3370
3377
  }, glPixelStorei:function(a, b) {
3371
- Y.pixelStorei(a, b);
3378
+ Z.pixelStorei(a, b);
3372
3379
  }, glRenderbufferStorageMultisample:function(a, b, c, d, e) {
3373
- Y.renderbufferStorageMultisample(a, b, c, d, e);
3380
+ Z.renderbufferStorageMultisample(a, b, c, d, e);
3374
3381
  }, glScissor:function(a, b, c, d) {
3375
- Y.scissor(a, b, c, d);
3382
+ Z.scissor(a, b, c, d);
3376
3383
  }, glShaderSource:function(a, b, c, d) {
3377
3384
  for (var e = "", f = 0; f < b; ++f) {
3378
- var g = d ? J[d + 4 * f >> 2] : -1, n = J[c + 4 * f >> 2];
3379
- g = n ? L(G, n, 0 > g ? void 0 : g) : "";
3385
+ var g = d ? J[d + 4 * f >> 2] : -1, l = J[c + 4 * f >> 2];
3386
+ g = l ? M(F, l, 0 > g ? void 0 : g) : "";
3380
3387
  e += g;
3381
3388
  }
3382
- Y.shaderSource(zd[a], e);
3389
+ Z.shaderSource(Ad[a], e);
3383
3390
  }, glStencilFunc:function(a, b, c) {
3384
- Y.stencilFunc(a, b, c);
3391
+ Z.stencilFunc(a, b, c);
3385
3392
  }, glStencilFuncSeparate:function(a, b, c, d) {
3386
- Y.stencilFuncSeparate(a, b, c, d);
3393
+ Z.stencilFuncSeparate(a, b, c, d);
3387
3394
  }, glStencilMask:function(a) {
3388
- Y.stencilMask(a);
3395
+ Z.stencilMask(a);
3389
3396
  }, glStencilOp:function(a, b, c) {
3390
- Y.stencilOp(a, b, c);
3397
+ Z.stencilOp(a, b, c);
3391
3398
  }, glStencilOpSeparate:function(a, b, c, d) {
3392
- Y.stencilOpSeparate(a, b, c, d);
3399
+ Z.stencilOpSeparate(a, b, c, d);
3393
3400
  }, glTexParameteri:function(a, b, c) {
3394
- Y.texParameteri(a, b, c);
3401
+ Z.texParameteri(a, b, c);
3395
3402
  }, glTexStorage2D:function(a, b, c, d, e) {
3396
- Y.texStorage2D(a, b, c, d, e);
3397
- }, glTexSubImage2D:function(a, b, c, d, e, f, g, n, p) {
3398
- if (Y.Ma) {
3399
- Y.texSubImage2D(a, b, c, d, e, f, g, n, p);
3403
+ Z.texStorage2D(a, b, c, d, e);
3404
+ }, glTexSubImage2D:function(a, b, c, d, e, f, g, l, p) {
3405
+ if (Z.Ma) {
3406
+ Z.texSubImage2D(a, b, c, d, e, f, g, l, p);
3400
3407
  } else if (p) {
3401
- var l = n - 5120;
3402
- l = 0 == l ? D : 1 == l ? G : 2 == l ? I : 4 == l ? J : 6 == l ? wa : 5 == l || 28922 == l || 28520 == l || 30779 == l || 30782 == l ? K : va;
3403
- Y.texSubImage2D(a, b, c, d, e, f, g, n, l, p >> 31 - Math.clz32(l.BYTES_PER_ELEMENT));
3408
+ var m = l - 5120;
3409
+ m = 0 == m ? D : 1 == m ? F : 2 == m ? H : 4 == m ? J : 6 == m ? xa : 5 == m || 28922 == m || 28520 == m || 30779 == m || 30782 == m ? K : wa;
3410
+ Z.texSubImage2D(a, b, c, d, e, f, g, l, m, p >> 31 - Math.clz32(m.BYTES_PER_ELEMENT));
3404
3411
  } else {
3405
- Y.texSubImage2D(a, b, c, d, e, f, g, n, null);
3412
+ Z.texSubImage2D(a, b, c, d, e, f, g, l, null);
3406
3413
  }
3407
3414
  }, glUniform1i:function(a, b) {
3408
- var c = Y, d = c.uniform1i;
3409
- var e = Y.Gb;
3415
+ var c = Z, d = c.uniform1i;
3416
+ var e = Z.Hb;
3410
3417
  if (e) {
3411
3418
  var f = e.oa[a];
3412
- "number" == typeof f && (e.oa[a] = f = Y.getUniformLocation(e, e.ub[a] + (0 < f ? "[" + f + "]" : "")));
3419
+ "number" == typeof f && (e.oa[a] = f = Z.getUniformLocation(e, e.ub[a] + (0 < f ? "[" + f + "]" : "")));
3413
3420
  a = f;
3414
3421
  } else {
3415
- X(1282), a = void 0;
3422
+ Y(1282), a = void 0;
3416
3423
  }
3417
3424
  d.call(c, a, b);
3418
3425
  }, glUniformBlockBinding:function(a, b, c) {
3419
- a = W[a];
3420
- Y.uniformBlockBinding(a, b, c);
3426
+ a = X[a];
3427
+ Z.uniformBlockBinding(a, b, c);
3421
3428
  }, glUseProgram:function(a) {
3422
- a = W[a];
3423
- Y.useProgram(a);
3424
- Y.Gb = a;
3429
+ a = X[a];
3430
+ Z.useProgram(a);
3431
+ Z.Hb = a;
3425
3432
  }, glVertexAttribDivisor:function(a, b) {
3426
- Y.vertexAttribDivisor(a, b);
3433
+ Z.vertexAttribDivisor(a, b);
3427
3434
  }, glVertexAttribIPointer:function(a, b, c, d, e) {
3428
- Y.vertexAttribIPointer(a, b, c, d, e);
3435
+ Z.vertexAttribIPointer(a, b, c, d, e);
3429
3436
  }, glVertexAttribPointer:function(a, b, c, d, e, f) {
3430
- Y.vertexAttribPointer(a, b, c, !!d, e, f);
3437
+ Z.vertexAttribPointer(a, b, c, !!d, e, f);
3431
3438
  }, glViewport:function(a, b, c, d) {
3432
- Y.viewport(a, b, c, d);
3439
+ Z.viewport(a, b, c, d);
3433
3440
  }, provokingVertexWEBGL:function(a, b) {
3434
3441
  (a = w[a].D.nb) && a.provokingVertexWEBGL(b);
3435
- }, strftime_l:(a, b, c, d) => Sd(a, b, c, d), upload_image:function(a, b) {
3436
- var c = m.images;
3442
+ }, strftime_l:(a, b, c, d) => Td(a, b, c, d), upload_image:function(a, b) {
3443
+ var c = k.images;
3437
3444
  c && (b = c.get(b)) && (a = w[a].D, a.texImage2D(a.TEXTURE_2D, 0, a.RGBA, a.RGBA, a.UNSIGNED_BYTE, b));
3438
3445
  }};
3439
3446
  (function() {
3440
3447
  function a(c) {
3441
- B = c = c.exports;
3442
- ta = B.memory;
3443
- ya();
3444
- za = B.__indirect_function_table;
3445
- Ba.unshift(B.__wasm_call_ctors);
3446
- Ea--;
3447
- m.monitorRunDependencies && m.monitorRunDependencies(Ea);
3448
- if (0 == Ea && (null !== Fa && (clearInterval(Fa), Fa = null), Ga)) {
3449
- var d = Ga;
3450
- Ga = null;
3448
+ C = c = c.exports;
3449
+ ua = C.memory;
3450
+ za();
3451
+ Aa = C.__indirect_function_table;
3452
+ Ca.unshift(C.__wasm_call_ctors);
3453
+ Fa--;
3454
+ k.monitorRunDependencies && k.monitorRunDependencies(Fa);
3455
+ if (0 == Fa && (null !== Ga && (clearInterval(Ga), Ga = null), Ha)) {
3456
+ var d = Ha;
3457
+ Ha = null;
3451
3458
  d();
3452
3459
  }
3453
3460
  return c;
3454
3461
  }
3455
- var b = {env:Xd, wasi_snapshot_preview1:Xd,};
3456
- Ea++;
3457
- m.monitorRunDependencies && m.monitorRunDependencies(Ea);
3458
- if (m.instantiateWasm) {
3462
+ var b = {env:Yd, wasi_snapshot_preview1:Yd,};
3463
+ Fa++;
3464
+ k.monitorRunDependencies && k.monitorRunDependencies(Fa);
3465
+ if (k.instantiateWasm) {
3459
3466
  try {
3460
- return m.instantiateWasm(b, a);
3467
+ return k.instantiateWasm(b, a);
3461
3468
  } catch (c) {
3462
- qa("Module.instantiateWasm callback failed with error: " + c), ba(c);
3469
+ ra("Module.instantiateWasm callback failed with error: " + c), ca(c);
3463
3470
  }
3464
3471
  }
3465
- Na(b, function(c) {
3472
+ Oa(b, function(c) {
3466
3473
  a(c.instance);
3467
- }).catch(ba);
3474
+ }).catch(ca);
3468
3475
  return {};
3469
3476
  })();
3470
- var nc = a => (nc = B.free)(a), Md = a => (Md = B.malloc)(a);
3471
- m._setWebImage = (a, b, c) => (m._setWebImage = B.setWebImage)(a, b, c);
3472
- var Qa = m._ma_device__on_notification_unlocked = a => (Qa = m._ma_device__on_notification_unlocked = B.ma_device__on_notification_unlocked)(a);
3473
- m._ma_malloc_emscripten = (a, b) => (m._ma_malloc_emscripten = B.ma_malloc_emscripten)(a, b);
3474
- m._ma_free_emscripten = (a, b) => (m._ma_free_emscripten = B.ma_free_emscripten)(a, b);
3475
- var Ra = m._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => (Ra = m._ma_device_process_pcm_frames_capture__webaudio = B.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), Sa = m._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (Sa = m._ma_device_process_pcm_frames_playback__webaudio = B.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), Wd = () => (Wd = B.__errno_location)(), mc = a => (mc = B.__getTypeName)(a);
3476
- m.__embind_initialize_bindings = () => (m.__embind_initialize_bindings = B._embind_initialize_bindings)();
3477
- m.dynCall_iiji = (a, b, c, d, e) => (m.dynCall_iiji = B.dynCall_iiji)(a, b, c, d, e);
3478
- m.dynCall_iiiji = (a, b, c, d, e, f) => (m.dynCall_iiiji = B.dynCall_iiiji)(a, b, c, d, e, f);
3479
- m.dynCall_iij = (a, b, c, d) => (m.dynCall_iij = B.dynCall_iij)(a, b, c, d);
3480
- m.dynCall_jii = (a, b, c) => (m.dynCall_jii = B.dynCall_jii)(a, b, c);
3481
- m.dynCall_jiji = (a, b, c, d, e) => (m.dynCall_jiji = B.dynCall_jiji)(a, b, c, d, e);
3482
- m.dynCall_viijii = (a, b, c, d, e, f, g) => (m.dynCall_viijii = B.dynCall_viijii)(a, b, c, d, e, f, g);
3483
- m.dynCall_iiiiij = (a, b, c, d, e, f, g) => (m.dynCall_iiiiij = B.dynCall_iiiiij)(a, b, c, d, e, f, g);
3484
- m.dynCall_iiiiijj = (a, b, c, d, e, f, g, n, p) => (m.dynCall_iiiiijj = B.dynCall_iiiiijj)(a, b, c, d, e, f, g, n, p);
3485
- m.dynCall_iiiiiijj = (a, b, c, d, e, f, g, n, p, l) => (m.dynCall_iiiiiijj = B.dynCall_iiiiiijj)(a, b, c, d, e, f, g, n, p, l);
3486
- m.___start_em_js = 502940;
3487
- m.___stop_em_js = 505374;
3488
- var Yd;
3489
- Ga = function Zd() {
3490
- Yd || $d();
3491
- Yd || (Ga = Zd);
3477
+ var oc = a => (oc = C.free)(a), Nd = a => (Nd = C.malloc)(a);
3478
+ k._setWebImage = (a, b, c) => (k._setWebImage = C.setWebImage)(a, b, c);
3479
+ var Ra = k._ma_device__on_notification_unlocked = a => (Ra = k._ma_device__on_notification_unlocked = C.ma_device__on_notification_unlocked)(a);
3480
+ k._ma_malloc_emscripten = (a, b) => (k._ma_malloc_emscripten = C.ma_malloc_emscripten)(a, b);
3481
+ k._ma_free_emscripten = (a, b) => (k._ma_free_emscripten = C.ma_free_emscripten)(a, b);
3482
+ var Sa = k._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => (Sa = k._ma_device_process_pcm_frames_capture__webaudio = C.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), Ta = k._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (Ta = k._ma_device_process_pcm_frames_playback__webaudio = C.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), Xd = () => (Xd = C.__errno_location)(), nc = a => (nc = C.__getTypeName)(a);
3483
+ k.__embind_initialize_bindings = () => (k.__embind_initialize_bindings = C._embind_initialize_bindings)();
3484
+ k.dynCall_iiji = (a, b, c, d, e) => (k.dynCall_iiji = C.dynCall_iiji)(a, b, c, d, e);
3485
+ k.dynCall_iiiji = (a, b, c, d, e, f) => (k.dynCall_iiiji = C.dynCall_iiiji)(a, b, c, d, e, f);
3486
+ k.dynCall_iij = (a, b, c, d) => (k.dynCall_iij = C.dynCall_iij)(a, b, c, d);
3487
+ k.dynCall_jii = (a, b, c) => (k.dynCall_jii = C.dynCall_jii)(a, b, c);
3488
+ k.dynCall_jiji = (a, b, c, d, e) => (k.dynCall_jiji = C.dynCall_jiji)(a, b, c, d, e);
3489
+ k.dynCall_viijii = (a, b, c, d, e, f, g) => (k.dynCall_viijii = C.dynCall_viijii)(a, b, c, d, e, f, g);
3490
+ k.dynCall_iiiiij = (a, b, c, d, e, f, g) => (k.dynCall_iiiiij = C.dynCall_iiiiij)(a, b, c, d, e, f, g);
3491
+ k.dynCall_iiiiijj = (a, b, c, d, e, f, g, l, p) => (k.dynCall_iiiiijj = C.dynCall_iiiiijj)(a, b, c, d, e, f, g, l, p);
3492
+ k.dynCall_iiiiiijj = (a, b, c, d, e, f, g, l, p, m) => (k.dynCall_iiiiiijj = C.dynCall_iiiiiijj)(a, b, c, d, e, f, g, l, p, m);
3493
+ k.___start_em_js = 505484;
3494
+ k.___stop_em_js = 507918;
3495
+ var Zd;
3496
+ Ha = function $d() {
3497
+ Zd || ae();
3498
+ Zd || (Ha = $d);
3492
3499
  };
3493
- function $d() {
3500
+ function ae() {
3494
3501
  function a() {
3495
- if (!Yd && (Yd = !0, m.calledRun = !0, !ua)) {
3496
- m.noFSInit || Sb || (Sb = !0, Rb(), m.stdin = m.stdin, m.stdout = m.stdout, m.stderr = m.stderr, m.stdin ? Ub("stdin", m.stdin) : Nb("/dev/tty", "/dev/stdin"), m.stdout ? Ub("stdout", null, m.stdout) : Nb("/dev/tty", "/dev/stdout"), m.stderr ? Ub("stderr", null, m.stderr) : Nb("/dev/tty1", "/dev/stderr"), Pb("/dev/stdin", 0), Pb("/dev/stdout", 1), Pb("/dev/stderr", 1));
3497
- yb = !1;
3498
- Ua(Ba);
3499
- aa(m);
3500
- if (m.onRuntimeInitialized) {
3501
- m.onRuntimeInitialized();
3502
+ if (!Zd && (Zd = !0, k.calledRun = !0, !va)) {
3503
+ k.noFSInit || Tb || (Tb = !0, Sb(), k.stdin = k.stdin, k.stdout = k.stdout, k.stderr = k.stderr, k.stdin ? Vb("stdin", k.stdin) : Ob("/dev/tty", "/dev/stdin"), k.stdout ? Vb("stdout", null, k.stdout) : Ob("/dev/tty", "/dev/stdout"), k.stderr ? Vb("stderr", null, k.stderr) : Ob("/dev/tty1", "/dev/stderr"), Qb("/dev/stdin", 0), Qb("/dev/stdout", 1), Qb("/dev/stderr", 1));
3504
+ zb = !1;
3505
+ Va(Ca);
3506
+ ba(k);
3507
+ if (k.onRuntimeInitialized) {
3508
+ k.onRuntimeInitialized();
3502
3509
  }
3503
- if (m.postRun) {
3504
- for ("function" == typeof m.postRun && (m.postRun = [m.postRun]); m.postRun.length;) {
3505
- var b = m.postRun.shift();
3506
- Ca.unshift(b);
3510
+ if (k.postRun) {
3511
+ for ("function" == typeof k.postRun && (k.postRun = [k.postRun]); k.postRun.length;) {
3512
+ var b = k.postRun.shift();
3513
+ Da.unshift(b);
3507
3514
  }
3508
3515
  }
3509
- Ua(Ca);
3516
+ Va(Da);
3510
3517
  }
3511
3518
  }
3512
- if (!(0 < Ea)) {
3513
- if (m.preRun) {
3514
- for ("function" == typeof m.preRun && (m.preRun = [m.preRun]); m.preRun.length;) {
3515
- Da();
3519
+ if (!(0 < Fa)) {
3520
+ if (k.preRun) {
3521
+ for ("function" == typeof k.preRun && (k.preRun = [k.preRun]); k.preRun.length;) {
3522
+ Ea();
3516
3523
  }
3517
3524
  }
3518
- Ua(Aa);
3519
- 0 < Ea || (m.setStatus ? (m.setStatus("Running..."), setTimeout(function() {
3525
+ Va(Ba);
3526
+ 0 < Fa || (k.setStatus ? (k.setStatus("Running..."), setTimeout(function() {
3520
3527
  setTimeout(function() {
3521
- m.setStatus("");
3528
+ k.setStatus("");
3522
3529
  }, 1);
3523
3530
  a();
3524
3531
  }, 1)) : a());
3525
3532
  }
3526
3533
  }
3527
- if (m.preInit) {
3528
- for ("function" == typeof m.preInit && (m.preInit = [m.preInit]); 0 < m.preInit.length;) {
3529
- m.preInit.pop()();
3534
+ if (k.preInit) {
3535
+ for ("function" == typeof k.preInit && (k.preInit = [k.preInit]); 0 < k.preInit.length;) {
3536
+ k.preInit.pop()();
3530
3537
  }
3531
3538
  }
3532
- $d();
3539
+ ae();
3533
3540
 
3534
3541
 
3535
3542
 
@@ -3544,7 +3551,7 @@ $d();
3544
3551
  /* 2 */
3545
3552
  /***/ ((module) => {
3546
3553
 
3547
- module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/webgl2","version":"2.26.3","description":"Rive\'s webgl2 based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)","Chris Dalton <chris@rive.app> (https://rive.app)"],"license":"MIT","files":["rive.js","rive.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3554
+ module.exports = /*#__PURE__*/JSON.parse('{"name":"@rive-app/webgl2","version":"2.26.4","description":"Rive\'s webgl2 based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)","Chris Dalton <chris@rive.app> (https://rive.app)"],"license":"MIT","files":["rive.js","rive.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3548
3555
 
3549
3556
  /***/ }),
3550
3557
  /* 3 */