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