@rive-app/canvas 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.
package/rive.js CHANGED
@@ -26,55 +26,55 @@ var Rive = (() => {
26
26
  return (
27
27
  function(moduleArg = {}) {
28
28
 
29
- var n = moduleArg, aa, ba;
30
- n.ready = new Promise((a, b) => {
29
+ var m = moduleArg, aa, ea;
30
+ m.ready = new Promise((a, b) => {
31
31
  aa = a;
32
- ba = b;
32
+ ea = b;
33
33
  });
34
- function ca() {
34
+ function fa() {
35
35
  function a(g) {
36
- const m = d;
36
+ const n = d;
37
37
  c = b = 0;
38
38
  d = new Map();
39
- m.forEach(p => {
39
+ n.forEach(p => {
40
40
  try {
41
41
  p(g);
42
42
  } catch (l) {
43
43
  console.error(l);
44
44
  }
45
45
  });
46
- this.pb();
47
- e && e.Yb();
46
+ this.ob();
47
+ e && e.Tb();
48
48
  }
49
49
  let b = 0, c = 0, d = new Map(), e = null, f = null;
50
50
  this.requestAnimationFrame = function(g) {
51
51
  b || (b = requestAnimationFrame(a.bind(this)));
52
- const m = ++c;
53
- d.set(m, g);
54
- return m;
52
+ const n = ++c;
53
+ d.set(n, g);
54
+ return n;
55
55
  };
56
56
  this.cancelAnimationFrame = function(g) {
57
57
  d.delete(g);
58
58
  b && 0 == d.size && (cancelAnimationFrame(b), b = 0);
59
59
  };
60
- this.Wb = function(g) {
60
+ this.Rb = function(g) {
61
61
  f && (document.body.remove(f), f = null);
62
- g || (f = document.createElement("div"), f.style.backgroundColor = "black", f.style.position = "fixed", f.style.right = 0, f.style.top = 0, f.style.color = "white", f.style.padding = "4px", f.innerHTML = "RIVE FPS", g = function(m) {
63
- f.innerHTML = "RIVE FPS " + m.toFixed(1);
62
+ g || (f = document.createElement("div"), f.style.backgroundColor = "black", f.style.position = "fixed", f.style.right = 0, f.style.top = 0, f.style.color = "white", f.style.padding = "4px", f.innerHTML = "RIVE FPS", g = function(n) {
63
+ f.innerHTML = "RIVE FPS " + n.toFixed(1);
64
64
  }, document.body.appendChild(f));
65
65
  e = new function() {
66
- let m = 0, p = 0;
67
- this.Yb = function() {
66
+ let n = 0, p = 0;
67
+ this.Tb = function() {
68
68
  var l = performance.now();
69
- p ? (++m, l -= p, 1000 < l && (g(1000 * m / l), m = p = 0)) : (p = l, m = 0);
69
+ p ? (++n, l -= p, 1000 < l && (g(1000 * n / l), n = p = 0)) : (p = l, n = 0);
70
70
  };
71
71
  }();
72
72
  };
73
- this.Tb = function() {
73
+ this.Ob = function() {
74
74
  f && (document.body.remove(f), f = null);
75
75
  e = null;
76
76
  };
77
- this.pb = function() {
77
+ this.ob = function() {
78
78
  };
79
79
  }
80
80
  function ha(a) {
@@ -92,59 +92,59 @@ function ha(a) {
92
92
  return c << a;
93
93
  };
94
94
  }
95
- const ia = n.onRuntimeInitialized;
96
- n.onRuntimeInitialized = function() {
95
+ const ia = m.onRuntimeInitialized;
96
+ m.onRuntimeInitialized = function() {
97
97
  ia && ia();
98
- let a = n.decodeAudio;
99
- n.decodeAudio = function(d, e) {
98
+ let a = m.decodeAudio;
99
+ m.decodeAudio = function(d, e) {
100
100
  d = a(d);
101
101
  e(d);
102
102
  };
103
- let b = n.decodeFont;
104
- n.decodeFont = function(d, e) {
103
+ let b = m.decodeFont;
104
+ m.decodeFont = function(d, e) {
105
105
  d = b(d);
106
106
  e(d);
107
107
  };
108
- const c = n.FileAssetLoader;
109
- n.ptrToAsset = d => {
110
- let e = n.ptrToFileAsset(d);
111
- return e.isImage ? n.ptrToImageAsset(d) : e.isFont ? n.ptrToFontAsset(d) : e.isAudio ? n.ptrToAudioAsset(d) : e;
108
+ const c = m.FileAssetLoader;
109
+ m.ptrToAsset = d => {
110
+ let e = m.ptrToFileAsset(d);
111
+ return e.isImage ? m.ptrToImageAsset(d) : e.isFont ? m.ptrToFontAsset(d) : e.isAudio ? m.ptrToAudioAsset(d) : e;
112
112
  };
113
- n.CustomFileAssetLoader = c.extend("CustomFileAssetLoader", {__construct:function({loadContents:d}) {
113
+ m.CustomFileAssetLoader = c.extend("CustomFileAssetLoader", {__construct:function({loadContents:d}) {
114
114
  this.__parent.__construct.call(this);
115
- this.Hb = d;
115
+ this.Gb = d;
116
116
  }, loadContents:function(d, e) {
117
- d = n.ptrToAsset(d);
118
- return this.Hb(d, e);
117
+ d = m.ptrToAsset(d);
118
+ return this.Gb(d, e);
119
119
  },});
120
- n.CDNFileAssetLoader = c.extend("CDNFileAssetLoader", {__construct:function() {
120
+ m.CDNFileAssetLoader = c.extend("CDNFileAssetLoader", {__construct:function() {
121
121
  this.__parent.__construct.call(this);
122
122
  }, loadContents:function(d) {
123
- let e = n.ptrToAsset(d);
123
+ let e = m.ptrToAsset(d);
124
124
  d = e.cdnUuid;
125
125
  if ("" === d) {
126
126
  return !1;
127
127
  }
128
128
  (function(f, g) {
129
- var m = new XMLHttpRequest();
130
- m.responseType = "arraybuffer";
131
- m.onreadystatechange = function() {
132
- 4 == m.readyState && 200 == m.status && g(m);
129
+ var n = new XMLHttpRequest();
130
+ n.responseType = "arraybuffer";
131
+ n.onreadystatechange = function() {
132
+ 4 == n.readyState && 200 == n.status && g(n);
133
133
  };
134
- m.open("GET", f, !0);
135
- m.send(null);
134
+ n.open("GET", f, !0);
135
+ n.send(null);
136
136
  })(e.cdnBaseUrl + "/" + d, f => {
137
137
  e.decode(new Uint8Array(f.response));
138
138
  });
139
139
  return !0;
140
140
  },});
141
- n.FallbackFileAssetLoader = c.extend("FallbackFileAssetLoader", {__construct:function() {
141
+ m.FallbackFileAssetLoader = c.extend("FallbackFileAssetLoader", {__construct:function() {
142
142
  this.__parent.__construct.call(this);
143
- this.lb = [];
143
+ this.kb = [];
144
144
  }, addLoader:function(d) {
145
- this.lb.push(d);
145
+ this.kb.push(d);
146
146
  }, loadContents:function(d, e) {
147
- for (let f of this.lb) {
147
+ for (let f of this.kb) {
148
148
  if (f.loadContents(d, e)) {
149
149
  return !0;
150
150
  }
@@ -172,38 +172,38 @@ const ja = "createConicGradient createImageData createLinearGradient createPatte
172
172
  }
173
173
  }
174
174
  }
175
- r = new Proxy(r, {get(E, w) {
176
- if (E.isContextLost()) {
177
- if (p || (console.error("Cannot render the mesh because the GL Context was lost. Tried to invoke ", w), p = !0), "function" === typeof E[w]) {
175
+ r = new Proxy(r, {get(D, w) {
176
+ if (D.isContextLost()) {
177
+ if (p || (console.error("Cannot render the mesh because the GL Context was lost. Tried to invoke ", w), p = !0), "function" === typeof D[w]) {
178
178
  return function() {
179
179
  };
180
180
  }
181
181
  } else {
182
- return "function" === typeof E[w] ? function(...O) {
183
- return E[w].apply(E, O);
184
- } : E[w];
182
+ return "function" === typeof D[w] ? function(...M) {
183
+ return D[w].apply(D, M);
184
+ } : D[w];
185
185
  }
186
- }, set(E, w, O) {
187
- if (E.isContextLost()) {
186
+ }, set(D, w, M) {
187
+ if (D.isContextLost()) {
188
188
  p || (console.error("Cannot render the mesh because the GL Context was lost. Tried to set property " + w), p = !0);
189
189
  } else {
190
- return E[w] = O, !0;
190
+ return D[w] = M, !0;
191
191
  }
192
192
  },});
193
193
  d = Math.min(r.getParameter(r.MAX_RENDERBUFFER_SIZE), r.getParameter(r.MAX_TEXTURE_SIZE));
194
- function B(E, w, O) {
194
+ function A(D, w, M) {
195
195
  w = r.createShader(w);
196
- r.shaderSource(w, O);
196
+ r.shaderSource(w, M);
197
197
  r.compileShader(w);
198
- O = r.getShaderInfoLog(w);
199
- if (0 < (O || "").length) {
200
- throw O;
198
+ M = r.getShaderInfoLog(w);
199
+ if (0 < (M || "").length) {
200
+ throw M;
201
201
  }
202
- r.attachShader(E, w);
202
+ r.attachShader(D, w);
203
203
  }
204
204
  k = r.createProgram();
205
- B(k, r.VERTEX_SHADER, "attribute vec2 vertex;\n attribute vec2 uv;\n uniform vec4 mat;\n uniform vec2 translate;\n varying vec2 st;\n void main() {\n st = uv;\n gl_Position = vec4(mat2(mat) * vertex + translate, 0, 1);\n }");
206
- B(k, r.FRAGMENT_SHADER, "precision highp float;\n uniform sampler2D image;\n varying vec2 st;\n void main() {\n gl_FragColor = texture2D(image, st);\n }");
205
+ A(k, r.VERTEX_SHADER, "attribute vec2 vertex;\n attribute vec2 uv;\n uniform vec4 mat;\n uniform vec2 translate;\n varying vec2 st;\n void main() {\n st = uv;\n gl_Position = vec4(mat2(mat) * vertex + translate, 0, 1);\n }");
206
+ A(k, r.FRAGMENT_SHADER, "precision highp float;\n uniform sampler2D image;\n varying vec2 st;\n void main() {\n gl_FragColor = texture2D(image, st);\n }");
207
207
  r.bindAttribLocation(k, 0, "vertex");
208
208
  r.bindAttribLocation(k, 1, "uv");
209
209
  r.linkProgram(k);
@@ -224,16 +224,16 @@ const ja = "createConicGradient createImageData createLinearGradient createPatte
224
224
  }
225
225
  return !0;
226
226
  }
227
- let b = null, c = 0, d = 0, e = null, f = null, g = 0, m = 0, p = !1;
227
+ let b = null, c = 0, d = 0, e = null, f = null, g = 0, n = 0, p = !1;
228
228
  a();
229
- this.nc = function() {
229
+ this.hc = function() {
230
230
  a();
231
231
  return d;
232
232
  };
233
- this.Qb = function(k) {
233
+ this.Mb = function(k) {
234
234
  b.deleteTexture && b.deleteTexture(k);
235
235
  };
236
- this.Ob = function(k) {
236
+ this.Lb = function(k) {
237
237
  if (!a()) {
238
238
  return null;
239
239
  }
@@ -249,64 +249,64 @@ const ja = "createConicGradient createImageData createLinearGradient createPatte
249
249
  2 == c ? (b.texParameteri(b.TEXTURE_2D, b.TEXTURE_MIN_FILTER, b.LINEAR_MIPMAP_LINEAR), b.generateMipmap(b.TEXTURE_2D)) : b.texParameteri(b.TEXTURE_2D, b.TEXTURE_MIN_FILTER, b.LINEAR);
250
250
  return t;
251
251
  };
252
- const l = new ha(8), u = new ha(8), v = new ha(10), y = new ha(10);
253
- this.Vb = function(k, t, r, B, E) {
252
+ const l = new ha(8), u = new ha(8), v = new ha(10), x = new ha(10);
253
+ this.Qb = function(k, t, r, A, D) {
254
254
  if (a()) {
255
- var w = l.push(k), O = u.push(t);
255
+ var w = l.push(k), M = u.push(t);
256
256
  if (b.canvas) {
257
- if (b.canvas.width != w || b.canvas.height != O) {
258
- b.canvas.width = w, b.canvas.height = O;
257
+ if (b.canvas.width != w || b.canvas.height != M) {
258
+ b.canvas.width = w, b.canvas.height = M;
259
259
  }
260
- b.viewport(0, O - t, k, t);
260
+ b.viewport(0, M - t, k, t);
261
261
  b.disable(b.SCISSOR_TEST);
262
262
  b.clearColor(0, 0, 0, 0);
263
263
  b.clear(b.COLOR_BUFFER_BIT);
264
264
  b.enable(b.SCISSOR_TEST);
265
- r.sort((H, da) => da.xb - H.xb);
266
- w = v.push(B);
265
+ r.sort((F, ba) => ba.wb - F.wb);
266
+ w = v.push(A);
267
267
  g != w && (b.bufferData(b.ARRAY_BUFFER, 8 * w, b.DYNAMIC_DRAW), g = w);
268
268
  w = 0;
269
- for (var V of r) {
270
- b.bufferSubData(b.ARRAY_BUFFER, w, V.Ua), w += 4 * V.Ua.length;
269
+ for (var T of r) {
270
+ b.bufferSubData(b.ARRAY_BUFFER, w, T.Ta), w += 4 * T.Ta.length;
271
271
  }
272
- console.assert(w == 4 * B);
273
- for (var ea of r) {
274
- b.bufferSubData(b.ARRAY_BUFFER, w, ea.Eb), w += 4 * ea.Eb.length;
272
+ console.assert(w == 4 * A);
273
+ for (var ca of r) {
274
+ b.bufferSubData(b.ARRAY_BUFFER, w, ca.Db), w += 4 * ca.Db.length;
275
275
  }
276
- console.assert(w == 8 * B);
277
- w = y.push(E);
278
- m != w && (b.bufferData(b.ELEMENT_ARRAY_BUFFER, 2 * w, b.DYNAMIC_DRAW), m = w);
279
- V = 0;
280
- for (var va of r) {
281
- b.bufferSubData(b.ELEMENT_ARRAY_BUFFER, V, va.indices), V += 2 * va.indices.length;
276
+ console.assert(w == 8 * A);
277
+ w = x.push(D);
278
+ n != w && (b.bufferData(b.ELEMENT_ARRAY_BUFFER, 2 * w, b.DYNAMIC_DRAW), n = w);
279
+ T = 0;
280
+ for (var ra of r) {
281
+ b.bufferSubData(b.ELEMENT_ARRAY_BUFFER, T, ra.indices), T += 2 * ra.indices.length;
282
282
  }
283
- console.assert(V == 2 * E);
284
- va = 0;
285
- ea = !0;
286
- w = V = 0;
287
- for (const H of r) {
288
- H.image.Ka != va && (b.bindTexture(b.TEXTURE_2D, H.image.Ja || null), va = H.image.Ka);
289
- H.tc ? (b.scissor(H.Za, O - H.$a - H.jb, H.Ic, H.jb), ea = !0) : ea && (b.scissor(0, O - t, k, t), ea = !1);
283
+ console.assert(T == 2 * D);
284
+ ra = 0;
285
+ ca = !0;
286
+ w = T = 0;
287
+ for (const F of r) {
288
+ F.image.Ka != ra && (b.bindTexture(b.TEXTURE_2D, F.image.Ja || null), ra = F.image.Ka);
289
+ F.mc ? (b.scissor(F.Ya, M - F.Za - F.jb, F.Ac, F.jb), ca = !0) : ca && (b.scissor(0, M - t, k, t), ca = !1);
290
290
  r = 2 / k;
291
- const da = -2 / t;
292
- b.uniform4f(e, H.ha[0] * r * H.Ba, H.ha[1] * da * H.Ca, H.ha[2] * r * H.Ba, H.ha[3] * da * H.Ca);
293
- b.uniform2f(f, H.ha[4] * r * H.Ba + r * (H.Za - H.oc * H.Ba) - 1, H.ha[5] * da * H.Ca + da * (H.$a - H.pc * H.Ca) + 1);
291
+ const ba = -2 / t;
292
+ b.uniform4f(e, F.ha[0] * r * F.Ba, F.ha[1] * ba * F.Ca, F.ha[2] * r * F.Ba, F.ha[3] * ba * F.Ca);
293
+ b.uniform2f(f, F.ha[4] * r * F.Ba + r * (F.Ya - F.ic * F.Ba) - 1, F.ha[5] * ba * F.Ca + ba * (F.Za - F.jc * F.Ca) + 1);
294
294
  b.vertexAttribPointer(0, 2, b.FLOAT, !1, 0, w);
295
- b.vertexAttribPointer(1, 2, b.FLOAT, !1, 0, w + 4 * B);
296
- b.drawElements(b.TRIANGLES, H.indices.length, b.UNSIGNED_SHORT, V);
297
- w += 4 * H.Ua.length;
298
- V += 2 * H.indices.length;
295
+ b.vertexAttribPointer(1, 2, b.FLOAT, !1, 0, w + 4 * A);
296
+ b.drawElements(b.TRIANGLES, F.indices.length, b.UNSIGNED_SHORT, T);
297
+ w += 4 * F.Ta.length;
298
+ T += 2 * F.indices.length;
299
299
  }
300
- console.assert(w == 4 * B);
301
- console.assert(V == 2 * E);
300
+ console.assert(w == 4 * A);
301
+ console.assert(T == 2 * D);
302
302
  }
303
303
  }
304
304
  };
305
305
  this.canvas = function() {
306
306
  return a() && b.canvas;
307
307
  };
308
- }(), la = n.onRuntimeInitialized;
309
- n.onRuntimeInitialized = function() {
308
+ }(), la = m.onRuntimeInitialized;
309
+ m.onRuntimeInitialized = function() {
310
310
  function a(q) {
311
311
  switch(q) {
312
312
  case l.srcOver:
@@ -347,70 +347,70 @@ n.onRuntimeInitialized = function() {
347
347
  return "rgba(" + ((16711680 & q) >>> 16) + "," + ((65280 & q) >>> 8) + "," + ((255 & q) >>> 0) + "," + ((4278190080 & q) >>> 24) / 255 + ")";
348
348
  }
349
349
  function c() {
350
- 0 < O.length && (ka.Vb(w.drawWidth(), w.drawHeight(), O, V, ea), O = [], ea = V = 0, w.reset(512, 512));
351
- for (const q of E) {
350
+ 0 < M.length && (ka.Qb(w.drawWidth(), w.drawHeight(), M, T, ca), M = [], ca = T = 0, w.reset(512, 512));
351
+ for (const q of D) {
352
352
  for (const z of q.J) {
353
353
  z();
354
354
  }
355
355
  q.J = [];
356
356
  }
357
- E.clear();
357
+ D.clear();
358
358
  }
359
359
  la && la();
360
- var d = n.RenderPaintStyle;
361
- const e = n.RenderPath, f = n.RenderPaint, g = n.Renderer, m = n.StrokeCap, p = n.StrokeJoin, l = n.BlendMode, u = d.fill, v = d.stroke, y = n.FillRule.evenOdd;
360
+ var d = m.RenderPaintStyle;
361
+ const e = m.RenderPath, f = m.RenderPaint, g = m.Renderer, n = m.StrokeCap, p = m.StrokeJoin, l = m.BlendMode, u = d.fill, v = d.stroke, x = m.FillRule.evenOdd;
362
362
  let k = 1;
363
- var t = n.RenderImage.extend("CanvasRenderImage", {__construct:function({la:q, ya:z} = {}) {
363
+ var t = m.RenderImage.extend("CanvasRenderImage", {__construct:function({la:q, xa:z} = {}) {
364
364
  this.__parent.__construct.call(this);
365
365
  this.Ka = k;
366
366
  k = k + 1 & 2147483647 || 1;
367
367
  this.la = q;
368
- this.ya = z;
368
+ this.xa = z;
369
369
  }, __destruct:function() {
370
- this.Ja && (ka.Qb(this.Ja), URL.revokeObjectURL(this.Xa));
370
+ this.Ja && (ka.Mb(this.Ja), URL.revokeObjectURL(this.Wa));
371
371
  this.__parent.__destruct.call(this);
372
372
  }, decode:function(q) {
373
373
  var z = this;
374
- z.ya && z.ya(z);
375
- var I = new Image();
376
- z.Xa = URL.createObjectURL(new Blob([q], {type:"image/png",}));
377
- I.onload = function() {
378
- z.Gb = I;
379
- z.Ja = ka.Ob(I);
380
- z.size(I.width, I.height);
374
+ z.xa && z.xa(z);
375
+ var G = new Image();
376
+ z.Wa = URL.createObjectURL(new Blob([q], {type:"image/png",}));
377
+ G.onload = function() {
378
+ z.Fb = G;
379
+ z.Ja = ka.Lb(G);
380
+ z.size(G.width, G.height);
381
381
  z.la && z.la(z);
382
382
  };
383
- I.src = z.Xa;
383
+ G.src = z.Wa;
384
384
  },}), r = e.extend("CanvasRenderPath", {__construct:function() {
385
385
  this.__parent.__construct.call(this);
386
- this.U = new Path2D();
386
+ this.T = new Path2D();
387
387
  }, rewind:function() {
388
- this.U = new Path2D();
389
- }, addPath:function(q, z, I, J, D, K, L) {
390
- var M = this.U, Z = M.addPath;
391
- q = q.U;
392
- const R = new DOMMatrix();
393
- R.a = z;
394
- R.b = I;
395
- R.c = J;
396
- R.d = D;
397
- R.e = K;
398
- R.f = L;
399
- Z.call(M, q, R);
388
+ this.T = new Path2D();
389
+ }, addPath:function(q, z, G, H, C, I, J) {
390
+ var K = this.T, X = K.addPath;
391
+ q = q.T;
392
+ const Q = new DOMMatrix();
393
+ Q.a = z;
394
+ Q.b = G;
395
+ Q.c = H;
396
+ Q.d = C;
397
+ Q.e = I;
398
+ Q.f = J;
399
+ X.call(K, q, Q);
400
400
  }, fillRule:function(q) {
401
- this.Wa = q;
401
+ this.Va = q;
402
402
  }, moveTo:function(q, z) {
403
- this.U.moveTo(q, z);
403
+ this.T.moveTo(q, z);
404
404
  }, lineTo:function(q, z) {
405
- this.U.lineTo(q, z);
406
- }, cubicTo:function(q, z, I, J, D, K) {
407
- this.U.bezierCurveTo(q, z, I, J, D, K);
405
+ this.T.lineTo(q, z);
406
+ }, cubicTo:function(q, z, G, H, C, I) {
407
+ this.T.bezierCurveTo(q, z, G, H, C, I);
408
408
  }, close:function() {
409
- this.U.closePath();
410
- },}), B = f.extend("CanvasRenderPaint", {color:function(q) {
411
- this.Ya = b(q);
409
+ this.T.closePath();
410
+ },}), A = f.extend("CanvasRenderPaint", {color:function(q) {
411
+ this.Xa = b(q);
412
412
  }, thickness:function(q) {
413
- this.Jb = q;
413
+ this.Ib = q;
414
414
  }, join:function(q) {
415
415
  switch(q) {
416
416
  case p.miter:
@@ -424,178 +424,178 @@ n.onRuntimeInitialized = function() {
424
424
  }
425
425
  }, cap:function(q) {
426
426
  switch(q) {
427
- case m.butt:
427
+ case n.butt:
428
428
  this.Ha = "butt";
429
429
  break;
430
- case m.round:
430
+ case n.round:
431
431
  this.Ha = "round";
432
432
  break;
433
- case m.square:
433
+ case n.square:
434
434
  this.Ha = "square";
435
435
  }
436
436
  }, style:function(q) {
437
- this.Ib = q;
437
+ this.Hb = q;
438
438
  }, blendMode:function(q) {
439
- this.Fb = a(q);
439
+ this.Eb = a(q);
440
440
  }, clearGradient:function() {
441
441
  this.ja = null;
442
- }, linearGradient:function(q, z, I, J) {
443
- this.ja = {zb:q, Ab:z, cb:I, eb:J, Sa:[],};
444
- }, radialGradient:function(q, z, I, J) {
445
- this.ja = {zb:q, Ab:z, cb:I, eb:J, Sa:[], lc:!0,};
442
+ }, linearGradient:function(q, z, G, H) {
443
+ this.ja = {yb:q, zb:z, bb:G, cb:H, Ra:[],};
444
+ }, radialGradient:function(q, z, G, H) {
445
+ this.ja = {yb:q, zb:z, bb:G, cb:H, Ra:[], ec:!0,};
446
446
  }, addStop:function(q, z) {
447
- this.ja.Sa.push({color:q, stop:z,});
447
+ this.ja.Ra.push({color:q, stop:z,});
448
448
  }, completeGradient:function() {
449
- }, draw:function(q, z, I) {
450
- let J = this.Ib;
451
- var D = this.Ya, K = this.ja;
452
- q.globalCompositeOperation = this.Fb;
453
- if (null != K) {
454
- D = K.zb;
455
- var L = K.Ab;
456
- const Z = K.cb;
457
- var M = K.eb;
458
- const R = K.Sa;
459
- K.lc ? (K = Z - D, M -= L, D = q.createRadialGradient(D, L, 0, D, L, Math.sqrt(K * K + M * M))) : D = q.createLinearGradient(D, L, Z, M);
460
- for (let fa = 0, S = R.length; fa < S; fa++) {
461
- L = R[fa], D.addColorStop(L.stop, b(L.color));
449
+ }, draw:function(q, z, G) {
450
+ let H = this.Hb;
451
+ var C = this.Xa, I = this.ja;
452
+ q.globalCompositeOperation = this.Eb;
453
+ if (null != I) {
454
+ C = I.yb;
455
+ var J = I.zb;
456
+ const X = I.bb;
457
+ var K = I.cb;
458
+ const Q = I.Ra;
459
+ I.ec ? (I = X - C, K -= J, C = q.createRadialGradient(C, J, 0, C, J, Math.sqrt(I * I + K * K))) : C = q.createLinearGradient(C, J, X, K);
460
+ for (let da = 0, R = Q.length; da < R; da++) {
461
+ J = Q[da], C.addColorStop(J.stop, b(J.color));
462
462
  }
463
- this.Ya = D;
463
+ this.Xa = C;
464
464
  this.ja = null;
465
465
  }
466
- switch(J) {
466
+ switch(H) {
467
467
  case v:
468
- q.strokeStyle = D;
469
- q.lineWidth = this.Jb;
468
+ q.strokeStyle = C;
469
+ q.lineWidth = this.Ib;
470
470
  q.lineCap = this.Ha;
471
471
  q.lineJoin = this.Ia;
472
472
  q.stroke(z);
473
473
  break;
474
474
  case u:
475
- q.fillStyle = D, q.fill(z, I);
475
+ q.fillStyle = C, q.fill(z, G);
476
476
  }
477
477
  },});
478
- const E = new Set();
479
- let w = null, O = [], V = 0, ea = 0;
480
- var va = n.CanvasRenderer = g.extend("Renderer", {__construct:function(q) {
478
+ const D = new Set();
479
+ let w = null, M = [], T = 0, ca = 0;
480
+ var ra = m.CanvasRenderer = g.extend("Renderer", {__construct:function(q) {
481
481
  this.__parent.__construct.call(this);
482
- this.T = [1, 0, 0, 1, 0, 0];
482
+ this.S = [1, 0, 0, 1, 0, 0];
483
483
  this.C = q.getContext("2d");
484
- this.Va = q;
484
+ this.Ua = q;
485
485
  this.J = [];
486
486
  }, save:function() {
487
- this.T.push(...this.T.slice(this.T.length - 6));
487
+ this.S.push(...this.S.slice(this.S.length - 6));
488
488
  this.J.push(this.C.save.bind(this.C));
489
489
  }, restore:function() {
490
- const q = this.T.length - 6;
490
+ const q = this.S.length - 6;
491
491
  if (6 > q) {
492
492
  throw "restore() called without matching save().";
493
493
  }
494
- this.T.splice(q);
494
+ this.S.splice(q);
495
495
  this.J.push(this.C.restore.bind(this.C));
496
- }, transform:function(q, z, I, J, D, K) {
497
- const L = this.T, M = L.length - 6;
498
- L.splice(M, 6, L[M] * q + L[M + 2] * z, L[M + 1] * q + L[M + 3] * z, L[M] * I + L[M + 2] * J, L[M + 1] * I + L[M + 3] * J, L[M] * D + L[M + 2] * K + L[M + 4], L[M + 1] * D + L[M + 3] * K + L[M + 5]);
499
- this.J.push(this.C.transform.bind(this.C, q, z, I, J, D, K));
496
+ }, transform:function(q, z, G, H, C, I) {
497
+ const J = this.S, K = J.length - 6;
498
+ J.splice(K, 6, J[K] * q + J[K + 2] * z, J[K + 1] * q + J[K + 3] * z, J[K] * G + J[K + 2] * H, J[K + 1] * G + J[K + 3] * H, J[K] * C + J[K + 2] * I + J[K + 4], J[K + 1] * C + J[K + 3] * I + J[K + 5]);
499
+ this.J.push(this.C.transform.bind(this.C, q, z, G, H, C, I));
500
500
  }, rotate:function(q) {
501
501
  const z = Math.sin(q);
502
502
  q = Math.cos(q);
503
503
  this.transform(q, z, -z, q, 0, 0);
504
504
  }, _drawPath:function(q, z) {
505
- this.J.push(z.draw.bind(z, this.C, q.U, q.Wa === y ? "evenodd" : "nonzero"));
506
- }, _drawRiveImage:function(q, z, I) {
507
- var J = q.Gb;
508
- if (J) {
509
- var D = this.C, K = a(z);
505
+ this.J.push(z.draw.bind(z, this.C, q.T, q.Va === x ? "evenodd" : "nonzero"));
506
+ }, _drawRiveImage:function(q, z, G) {
507
+ var H = q.Fb;
508
+ if (H) {
509
+ var C = this.C, I = a(z);
510
510
  this.J.push(function() {
511
- D.globalCompositeOperation = K;
512
- D.globalAlpha = I;
513
- D.drawImage(J, 0, 0);
514
- D.globalAlpha = 1;
511
+ C.globalCompositeOperation = I;
512
+ C.globalAlpha = G;
513
+ C.drawImage(H, 0, 0);
514
+ C.globalAlpha = 1;
515
515
  });
516
516
  }
517
517
  }, _getMatrix:function(q) {
518
- const z = this.T, I = z.length - 6;
519
- for (let J = 0; 6 > J; ++J) {
520
- q[J] = z[I + J];
521
- }
522
- }, _drawImageMesh:function(q, z, I, J, D, K, L, M, Z, R) {
523
- var fa = this.C.canvas.width, S = this.C.canvas.height;
524
- const Zb = Z - L, $b = R - M;
525
- L = Math.max(L, 0);
526
- M = Math.max(M, 0);
527
- Z = Math.min(Z, fa);
528
- R = Math.min(R, S);
529
- const Ia = Z - L, Ja = R - M;
530
- console.assert(Ia <= Math.min(Zb, fa));
531
- console.assert(Ja <= Math.min($b, S));
532
- if (!(0 >= Ia || 0 >= Ja)) {
533
- Z = Ia < Zb || Ja < $b;
534
- fa = R = 1;
535
- var wa = Math.ceil(Ia * R), xa = Math.ceil(Ja * fa);
536
- S = ka.nc();
537
- wa > S && (R *= S / wa, wa = S);
538
- xa > S && (fa *= S / xa, xa = S);
539
- w || (w = new n.DynamicRectanizer(S), w.reset(512, 512));
540
- S = w.addRect(wa, xa);
541
- 0 > S && (c(), E.add(this), S = w.addRect(wa, xa), console.assert(0 <= S));
542
- var ac = S & 65535, bc = S >> 16;
543
- O.push({ha:this.T.slice(this.T.length - 6), image:q, Za:ac, $a:bc, oc:L, pc:M, Ic:wa, jb:xa, Ba:R, Ca:fa, Ua:new Float32Array(J), Eb:new Float32Array(D), indices:new Uint16Array(K), tc:Z, xb:q.Ka << 1 | (Z ? 1 : 0),});
544
- V += J.length;
545
- ea += K.length;
546
- var Ca = this.C, qd = a(z);
518
+ const z = this.S, G = z.length - 6;
519
+ for (let H = 0; 6 > H; ++H) {
520
+ q[H] = z[G + H];
521
+ }
522
+ }, _drawImageMesh:function(q, z, G, H, C, I, J, K, X, Q) {
523
+ var da = this.C.canvas.width, R = this.C.canvas.height;
524
+ const Yb = X - J, Zb = Q - K;
525
+ J = Math.max(J, 0);
526
+ K = Math.max(K, 0);
527
+ X = Math.min(X, da);
528
+ Q = Math.min(Q, R);
529
+ const Ga = X - J, Ha = Q - K;
530
+ console.assert(Ga <= Math.min(Yb, da));
531
+ console.assert(Ha <= Math.min(Zb, R));
532
+ if (!(0 >= Ga || 0 >= Ha)) {
533
+ X = Ga < Yb || Ha < Zb;
534
+ da = Q = 1;
535
+ var sa = Math.ceil(Ga * Q), ta = Math.ceil(Ha * da);
536
+ R = ka.hc();
537
+ sa > R && (Q *= R / sa, sa = R);
538
+ ta > R && (da *= R / ta, ta = R);
539
+ w || (w = new m.DynamicRectanizer(R), w.reset(512, 512));
540
+ R = w.addRect(sa, ta);
541
+ 0 > R && (c(), D.add(this), R = w.addRect(sa, ta), console.assert(0 <= R));
542
+ var $b = R & 65535, ac = R >> 16;
543
+ M.push({ha:this.S.slice(this.S.length - 6), image:q, Ya:$b, Za:ac, ic:J, jc:K, Ac:sa, jb:ta, Ba:Q, Ca:da, Ta:new Float32Array(H), Db:new Float32Array(C), indices:new Uint16Array(I), mc:X, wb:q.Ka << 1 | (X ? 1 : 0),});
544
+ T += H.length;
545
+ ca += I.length;
546
+ var za = this.C, qd = a(z);
547
547
  this.J.push(function() {
548
- Ca.save();
549
- Ca.resetTransform();
550
- Ca.globalCompositeOperation = qd;
551
- Ca.globalAlpha = I;
552
- const cc = ka.canvas();
553
- cc && Ca.drawImage(cc, ac, bc, wa, xa, L, M, Ia, Ja);
554
- Ca.restore();
548
+ za.save();
549
+ za.resetTransform();
550
+ za.globalCompositeOperation = qd;
551
+ za.globalAlpha = G;
552
+ const bc = ka.canvas();
553
+ bc && za.drawImage(bc, $b, ac, sa, ta, J, K, Ga, Ha);
554
+ za.restore();
555
555
  });
556
556
  }
557
557
  }, _clipPath:function(q) {
558
- this.J.push(this.C.clip.bind(this.C, q.U, q.Wa === y ? "evenodd" : "nonzero"));
558
+ this.J.push(this.C.clip.bind(this.C, q.T, q.Va === x ? "evenodd" : "nonzero"));
559
559
  }, clear:function() {
560
- E.add(this);
561
- this.J.push(this.C.clearRect.bind(this.C, 0, 0, this.Va.width, this.Va.height));
560
+ D.add(this);
561
+ this.J.push(this.C.clearRect.bind(this.C, 0, 0, this.Ua.width, this.Ua.height));
562
562
  }, flush:function() {
563
563
  }, translate:function(q, z) {
564
564
  this.transform(1, 0, 0, 1, q, z);
565
565
  },});
566
- n.makeRenderer = function(q) {
567
- const z = new va(q), I = z.C;
568
- return new Proxy(z, {get(J, D) {
569
- if ("function" === typeof J[D]) {
570
- return function(...K) {
571
- return J[D].apply(J, K);
566
+ m.makeRenderer = function(q) {
567
+ const z = new ra(q), G = z.C;
568
+ return new Proxy(z, {get(H, C) {
569
+ if ("function" === typeof H[C]) {
570
+ return function(...I) {
571
+ return H[C].apply(H, I);
572
572
  };
573
573
  }
574
- if ("function" === typeof I[D]) {
575
- if (-1 < ja.indexOf(D)) {
576
- throw Error("RiveException: Method call to '" + D + "()' is not allowed, as the renderer cannot immediately pass through the return values of any canvas 2d context methods.");
574
+ if ("function" === typeof G[C]) {
575
+ if (-1 < ja.indexOf(C)) {
576
+ throw Error("RiveException: Method call to '" + C + "()' is not allowed, as the renderer cannot immediately pass through the return values of any canvas 2d context methods.");
577
577
  }
578
- return function(...K) {
579
- z.J.push(I[D].bind(I, ...K));
578
+ return function(...I) {
579
+ z.J.push(G[C].bind(G, ...I));
580
580
  };
581
581
  }
582
- return J[D];
583
- }, set(J, D, K) {
584
- if (D in I) {
585
- return I[D] = K, !0;
582
+ return H[C];
583
+ }, set(H, C, I) {
584
+ if (C in G) {
585
+ return G[C] = I, !0;
586
586
  }
587
587
  },});
588
588
  };
589
- n.decodeImage = function(q, z) {
589
+ m.decodeImage = function(q, z) {
590
590
  (new t({la:z})).decode(q);
591
591
  };
592
- n.renderFactory = {makeRenderPaint:function() {
593
- return new B();
592
+ m.renderFactory = {makeRenderPaint:function() {
593
+ return new A();
594
594
  }, makeRenderPath:function() {
595
595
  return new r();
596
596
  }, makeRenderImage:function() {
597
- let q = da;
598
- return new t({ya:() => {
597
+ let q = ba;
598
+ return new t({xa:() => {
599
599
  q.total++;
600
600
  }, la:() => {
601
601
  q.loaded++;
@@ -605,40 +605,40 @@ n.onRuntimeInitialized = function() {
605
605
  }
606
606
  },});
607
607
  },};
608
- let H = n.load, da = null;
609
- n.load = function(q, z, I = !0) {
610
- const J = new n.FallbackFileAssetLoader();
611
- void 0 !== z && J.addLoader(z);
612
- I && (z = new n.CDNFileAssetLoader(), J.addLoader(z));
613
- return new Promise(function(D) {
614
- let K = null;
615
- da = {total:0, loaded:0, ready:function() {
616
- D(K);
608
+ let F = m.load, ba = null;
609
+ m.load = function(q, z, G = !0) {
610
+ const H = new m.FallbackFileAssetLoader();
611
+ void 0 !== z && H.addLoader(z);
612
+ G && (z = new m.CDNFileAssetLoader(), H.addLoader(z));
613
+ return new Promise(function(C) {
614
+ let I = null;
615
+ ba = {total:0, loaded:0, ready:function() {
616
+ C(I);
617
617
  },};
618
- K = H(q, J);
619
- 0 == da.total && D(K);
618
+ I = F(q, H);
619
+ 0 == ba.total && C(I);
620
620
  });
621
621
  };
622
- d = new ca();
623
- n.requestAnimationFrame = d.requestAnimationFrame.bind(d);
624
- n.cancelAnimationFrame = d.cancelAnimationFrame.bind(d);
625
- n.enableFPSCounter = d.Wb.bind(d);
626
- n.disableFPSCounter = d.Tb;
627
- d.pb = c;
628
- n.resolveAnimationFrame = c;
629
- n.cleanup = function() {
622
+ d = new fa();
623
+ m.requestAnimationFrame = d.requestAnimationFrame.bind(d);
624
+ m.cancelAnimationFrame = d.cancelAnimationFrame.bind(d);
625
+ m.enableFPSCounter = d.Rb.bind(d);
626
+ m.disableFPSCounter = d.Ob;
627
+ d.ob = c;
628
+ m.resolveAnimationFrame = c;
629
+ m.cleanup = function() {
630
630
  w && w.delete();
631
631
  };
632
632
  };
633
- var ma = Object.assign({}, n), na = "./this.program", oa = "object" == typeof window, pa = "function" == typeof importScripts, qa = "", ra, sa;
633
+ var ma = Object.assign({}, m), na = "./this.program", oa = "object" == typeof window, pa = "function" == typeof importScripts, qa = "", ua, va;
634
634
  if (oa || pa) {
635
- pa ? qa = self.location.href : "undefined" != typeof document && document.currentScript && (qa = document.currentScript.src), _scriptDir && (qa = _scriptDir), 0 !== qa.indexOf("blob:") ? qa = qa.substr(0, qa.replace(/[?#].*/, "").lastIndexOf("/") + 1) : qa = "", pa && (sa = a => {
635
+ pa ? qa = self.location.href : "undefined" != typeof document && document.currentScript && (qa = document.currentScript.src), _scriptDir && (qa = _scriptDir), 0 !== qa.indexOf("blob:") ? qa = qa.substr(0, qa.replace(/[?#].*/, "").lastIndexOf("/") + 1) : qa = "", pa && (va = a => {
636
636
  var b = new XMLHttpRequest();
637
637
  b.open("GET", a, !1);
638
638
  b.responseType = "arraybuffer";
639
639
  b.send(null);
640
640
  return new Uint8Array(b.response);
641
- }), ra = (a, b, c) => {
641
+ }), ua = (a, b, c) => {
642
642
  var d = new XMLHttpRequest();
643
643
  d.open("GET", a, !0);
644
644
  d.responseType = "arraybuffer";
@@ -649,41 +649,41 @@ if (oa || pa) {
649
649
  d.send(null);
650
650
  };
651
651
  }
652
- var ta = n.print || console.log.bind(console), ua = n.printErr || console.error.bind(console);
653
- Object.assign(n, ma);
652
+ var wa = m.print || console.log.bind(console), xa = m.printErr || console.error.bind(console);
653
+ Object.assign(m, ma);
654
654
  ma = null;
655
- n.thisProgram && (na = n.thisProgram);
655
+ m.thisProgram && (na = m.thisProgram);
656
656
  var ya;
657
- n.wasmBinary && (ya = n.wasmBinary);
658
- var noExitRuntime = n.noExitRuntime || !0;
659
- "object" != typeof WebAssembly && za("no native wasm support detected");
660
- var Aa, x, Ba = !1, A, C, Da, Ea, F, G, Fa, Ga;
661
- function Ha() {
662
- var a = Aa.buffer;
663
- n.HEAP8 = A = new Int8Array(a);
664
- n.HEAP16 = Da = new Int16Array(a);
665
- n.HEAP32 = F = new Int32Array(a);
666
- n.HEAPU8 = C = new Uint8Array(a);
667
- n.HEAPU16 = Ea = new Uint16Array(a);
668
- n.HEAPU32 = G = new Uint32Array(a);
669
- n.HEAPF32 = Fa = new Float32Array(a);
670
- n.HEAPF64 = Ga = new Float64Array(a);
657
+ m.wasmBinary && (ya = m.wasmBinary);
658
+ var noExitRuntime = m.noExitRuntime || !0;
659
+ "object" != typeof WebAssembly && Aa("no native wasm support detected");
660
+ var Ba, y, Ca = !1, B, E, Da, Ea, L, N, Fa, Ia;
661
+ function Ja() {
662
+ var a = Ba.buffer;
663
+ m.HEAP8 = B = new Int8Array(a);
664
+ m.HEAP16 = Da = new Int16Array(a);
665
+ m.HEAP32 = L = new Int32Array(a);
666
+ m.HEAPU8 = E = new Uint8Array(a);
667
+ m.HEAPU16 = Ea = new Uint16Array(a);
668
+ m.HEAPU32 = N = new Uint32Array(a);
669
+ m.HEAPF32 = Fa = new Float32Array(a);
670
+ m.HEAPF64 = Ia = new Float64Array(a);
671
671
  }
672
672
  var Ka, La = [], Ma = [], Na = [];
673
673
  function Oa() {
674
- var a = n.preRun.shift();
674
+ var a = m.preRun.shift();
675
675
  La.unshift(a);
676
676
  }
677
677
  var Pa = 0, Qa = null, Ra = null;
678
- function za(a) {
679
- if (n.onAbort) {
680
- n.onAbort(a);
678
+ function Aa(a) {
679
+ if (m.onAbort) {
680
+ m.onAbort(a);
681
681
  }
682
682
  a = "Aborted(" + a + ")";
683
- ua(a);
684
- Ba = !0;
683
+ xa(a);
684
+ Ca = !0;
685
685
  a = new WebAssembly.RuntimeError(a + ". Build with -sASSERTIONS for more info.");
686
- ba(a);
686
+ ea(a);
687
687
  throw a;
688
688
  }
689
689
  function Sa(a) {
@@ -693,14 +693,14 @@ var Ta;
693
693
  Ta = "canvas_advanced.wasm";
694
694
  if (!Sa(Ta)) {
695
695
  var Ua = Ta;
696
- Ta = n.locateFile ? n.locateFile(Ua, qa) : qa + Ua;
696
+ Ta = m.locateFile ? m.locateFile(Ua, qa) : qa + Ua;
697
697
  }
698
698
  function Va(a) {
699
699
  if (a == Ta && ya) {
700
700
  return new Uint8Array(ya);
701
701
  }
702
- if (sa) {
703
- return sa(a);
702
+ if (va) {
703
+ return va(a);
704
704
  }
705
705
  throw "both async and sync fetching of the wasm failed";
706
706
  }
@@ -714,9 +714,9 @@ function Wa(a) {
714
714
  return b.arrayBuffer();
715
715
  }).catch(() => Va(a));
716
716
  }
717
- if (ra) {
717
+ if (ua) {
718
718
  return new Promise((b, c) => {
719
- ra(a, d => b(new Uint8Array(d)), c);
719
+ ua(a, d => b(new Uint8Array(d)), c);
720
720
  });
721
721
  }
722
722
  }
@@ -724,43 +724,43 @@ function Wa(a) {
724
724
  }
725
725
  function Xa(a, b, c) {
726
726
  return Wa(a).then(d => WebAssembly.instantiate(d, b)).then(d => d).then(c, d => {
727
- ua("failed to asynchronously prepare wasm: " + d);
728
- za(d);
727
+ xa("failed to asynchronously prepare wasm: " + d);
728
+ Aa(d);
729
729
  });
730
730
  }
731
731
  function Ya(a, b) {
732
732
  var c = Ta;
733
733
  return ya || "function" != typeof WebAssembly.instantiateStreaming || Sa(c) || c.startsWith("file://") || "function" != typeof fetch ? Xa(c, a, b) : fetch(c, {credentials:"same-origin"}).then(d => WebAssembly.instantiateStreaming(d, a).then(b, function(e) {
734
- ua("wasm streaming compile failed: " + e);
735
- ua("falling back to ArrayBuffer instantiation");
734
+ xa("wasm streaming compile failed: " + e);
735
+ xa("falling back to ArrayBuffer instantiation");
736
736
  return Xa(c, a, b);
737
737
  }));
738
738
  }
739
- var N, P, bb = {433788:(a, b, c, d, e) => {
739
+ var Za, $a, db = {429492:(a, b, c, d, e) => {
740
740
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
741
741
  return 0;
742
742
  }
743
743
  if ("undefined" === typeof window.h) {
744
744
  window.h = {Aa:0};
745
745
  window.h.H = {};
746
- window.h.H.za = a;
746
+ window.h.H.ya = a;
747
747
  window.h.H.capture = b;
748
748
  window.h.H.La = c;
749
749
  window.h.ga = {};
750
750
  window.h.ga.stopped = d;
751
- window.h.ga.yb = e;
751
+ window.h.ga.xb = e;
752
752
  let f = window.h;
753
753
  f.D = [];
754
- f.Gc = function(g) {
755
- for (var m = 0; m < f.D.length; ++m) {
756
- if (null == f.D[m]) {
757
- return f.D[m] = g, m;
754
+ f.yc = function(g) {
755
+ for (var n = 0; n < f.D.length; ++n) {
756
+ if (null == f.D[n]) {
757
+ return f.D[n] = g, n;
758
758
  }
759
759
  }
760
760
  f.D.push(g);
761
761
  return f.D.length - 1;
762
762
  };
763
- f.Db = function(g) {
763
+ f.Cb = function(g) {
764
764
  for (f.D[g] = null; 0 < f.D.length;) {
765
765
  if (null == f.D[f.D.length - 1]) {
766
766
  f.D.pop();
@@ -770,38 +770,38 @@ var N, P, bb = {433788:(a, b, c, d, e) => {
770
770
  }
771
771
  };
772
772
  f.Sc = function(g) {
773
- for (var m = 0; m < f.D.length; ++m) {
774
- if (f.D[m] == g) {
775
- return f.Db(m);
773
+ for (var n = 0; n < f.D.length; ++n) {
774
+ if (f.D[n] == g) {
775
+ return f.Cb(n);
776
776
  }
777
777
  }
778
778
  };
779
- f.sa = function(g) {
779
+ f.ra = function(g) {
780
780
  return f.D[g];
781
781
  };
782
- f.Cb = ["touchend", "click"];
782
+ f.Bb = ["touchend", "click"];
783
783
  f.unlock = function() {
784
784
  for (var g = 0; g < f.D.length; ++g) {
785
- var m = f.D[g];
786
- null != m && null != m.I && m.state === f.ga.yb && m.I.resume().then(() => {
787
- Za(m.qb);
785
+ var n = f.D[g];
786
+ null != n && null != n.I && n.state === f.ga.xb && n.I.resume().then(() => {
787
+ ab(n.pb);
788
788
  }, p => {
789
789
  console.error("Failed to resume audiocontext", p);
790
790
  });
791
791
  }
792
- f.Cb.map(function(p) {
792
+ f.Bb.map(function(p) {
793
793
  document.removeEventListener(p, f.unlock, !0);
794
794
  });
795
795
  };
796
- f.Cb.map(function(g) {
796
+ f.Bb.map(function(g) {
797
797
  document.addEventListener(g, f.unlock, !0);
798
798
  });
799
799
  }
800
800
  window.h.Aa += 1;
801
801
  return 1;
802
- }, 435966:() => {
802
+ }, 431670:() => {
803
803
  "undefined" !== typeof window.h && (--window.h.Aa, 0 === window.h.Aa && delete window.h);
804
- }, 436130:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 436234:() => {
804
+ }, 431834:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 431938:() => {
805
805
  try {
806
806
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
807
807
  a.close();
@@ -809,34 +809,34 @@ var N, P, bb = {433788:(a, b, c, d, e) => {
809
809
  } catch (c) {
810
810
  return 0;
811
811
  }
812
- }, 436405:(a, b, c, d, e, f) => {
812
+ }, 432109:(a, b, c, d, e, f) => {
813
813
  if ("undefined" === typeof window.h) {
814
814
  return -1;
815
815
  }
816
- var g = {}, m = {};
817
- a == window.h.H.za && 0 != c && (m.sampleRate = c);
818
- g.I = new (window.AudioContext || window.webkitAudioContext)(m);
816
+ var g = {}, n = {};
817
+ a == window.h.H.ya && 0 != c && (n.sampleRate = c);
818
+ g.I = new (window.AudioContext || window.webkitAudioContext)(n);
819
819
  g.I.suspend();
820
820
  g.state = window.h.ga.stopped;
821
821
  c = 0;
822
- a != window.h.H.za && (c = b);
823
- g.$ = g.I.createScriptProcessor(d, c, b);
824
- g.$.onaudioprocess = function(p) {
825
- if (null == g.ta || 0 == g.ta.length) {
826
- g.ta = new Float32Array(Fa.buffer, e, d * b);
822
+ a != window.h.H.ya && (c = b);
823
+ g.Z = g.I.createScriptProcessor(d, c, b);
824
+ g.Z.onaudioprocess = function(p) {
825
+ if (null == g.sa || 0 == g.sa.length) {
826
+ g.sa = new Float32Array(Fa.buffer, e, d * b);
827
827
  }
828
828
  if (a == window.h.H.capture || a == window.h.H.La) {
829
829
  for (var l = 0; l < b; l += 1) {
830
- for (var u = p.inputBuffer.getChannelData(l), v = g.ta, y = 0; y < d; y += 1) {
831
- v[y * b + l] = u[y];
830
+ for (var u = p.inputBuffer.getChannelData(l), v = g.sa, x = 0; x < d; x += 1) {
831
+ v[x * b + l] = u[x];
832
832
  }
833
833
  }
834
- $a(f, d, e);
834
+ bb(f, d, e);
835
835
  }
836
- if (a == window.h.H.za || a == window.h.H.La) {
837
- for (ab(f, d, e), l = 0; l < p.outputBuffer.numberOfChannels; ++l) {
838
- for (u = p.outputBuffer.getChannelData(l), v = g.ta, y = 0; y < d; y += 1) {
839
- u[y] = v[y * b + l];
836
+ if (a == window.h.H.ya || a == window.h.H.La) {
837
+ for (cb(f, d, e), l = 0; l < p.outputBuffer.numberOfChannels; ++l) {
838
+ for (u = p.outputBuffer.getChannelData(l), v = g.sa, x = 0; x < d; x += 1) {
839
+ u[x] = v[x * b + l];
840
840
  }
841
841
  }
842
842
  } else {
@@ -847,37 +847,37 @@ var N, P, bb = {433788:(a, b, c, d, e) => {
847
847
  };
848
848
  a != window.h.H.capture && a != window.h.H.La || navigator.mediaDevices.getUserMedia({audio:!0, video:!1}).then(function(p) {
849
849
  g.Da = g.I.createMediaStreamSource(p);
850
- g.Da.connect(g.$);
851
- g.$.connect(g.I.destination);
850
+ g.Da.connect(g.Z);
851
+ g.Z.connect(g.I.destination);
852
852
  }).catch(function(p) {
853
853
  console.log("Failed to get user media: " + p);
854
854
  });
855
- a == window.h.H.za && g.$.connect(g.I.destination);
856
- g.qb = f;
857
- return window.h.Gc(g);
858
- }, 439282:a => window.h.sa(a).I.sampleRate, 439355:a => {
859
- a = window.h.sa(a);
860
- void 0 !== a.$ && (a.$.onaudioprocess = function() {
861
- }, a.$.disconnect(), a.$ = void 0);
855
+ a == window.h.H.ya && g.Z.connect(g.I.destination);
856
+ g.pb = f;
857
+ return window.h.yc(g);
858
+ }, 434986:a => window.h.ra(a).I.sampleRate, 435059:a => {
859
+ a = window.h.ra(a);
860
+ void 0 !== a.Z && (a.Z.onaudioprocess = function() {
861
+ }, a.Z.disconnect(), a.Z = void 0);
862
862
  void 0 !== a.Da && (a.Da.disconnect(), a.Da = void 0);
863
863
  a.I.close();
864
864
  a.I = void 0;
865
- a.qb = void 0;
866
- }, 439755:a => {
867
- window.h.Db(a);
868
- }, 439805:a => {
869
- a = window.h.sa(a);
865
+ a.pb = void 0;
866
+ }, 435459:a => {
867
+ window.h.Cb(a);
868
+ }, 435509:a => {
869
+ a = window.h.ra(a);
870
870
  a.I.resume();
871
- a.state = window.h.ga.yb;
872
- }, 439944:a => {
873
- a = window.h.sa(a);
871
+ a.state = window.h.ga.xb;
872
+ }, 435648:a => {
873
+ a = window.h.ra(a);
874
874
  a.I.suspend();
875
875
  a.state = window.h.ga.stopped;
876
- }}, cb = a => {
876
+ }}, eb = a => {
877
877
  for (; 0 < a.length;) {
878
- a.shift()(n);
878
+ a.shift()(m);
879
879
  }
880
- }, db = (a, b) => {
880
+ }, fb = (a, b) => {
881
881
  for (var c = 0, d = a.length - 1; 0 <= d; d--) {
882
882
  var e = a[d];
883
883
  "." === e ? a.splice(d, 1) : ".." === e ? (a.splice(d, 1), c++) : c && (a.splice(d, 1), c--);
@@ -888,12 +888,12 @@ var N, P, bb = {433788:(a, b, c, d, e) => {
888
888
  }
889
889
  }
890
890
  return a;
891
- }, eb = a => {
891
+ }, gb = a => {
892
892
  var b = "/" === a.charAt(0), c = "/" === a.substr(-1);
893
- (a = db(a.split("/").filter(d => !!d), !b).join("/")) || b || (a = ".");
893
+ (a = fb(a.split("/").filter(d => !!d), !b).join("/")) || b || (a = ".");
894
894
  a && c && (a += "/");
895
895
  return (b ? "/" : "") + a;
896
- }, fb = a => {
896
+ }, hb = a => {
897
897
  var b = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);
898
898
  a = b[0];
899
899
  b = b[1];
@@ -902,21 +902,21 @@ var N, P, bb = {433788:(a, b, c, d, e) => {
902
902
  }
903
903
  b && (b = b.substr(0, b.length - 1));
904
904
  return a + b;
905
- }, gb = a => {
905
+ }, ib = a => {
906
906
  if ("/" === a) {
907
907
  return "/";
908
908
  }
909
- a = eb(a);
909
+ a = gb(a);
910
910
  a = a.replace(/\/$/, "");
911
911
  var b = a.lastIndexOf("/");
912
912
  return -1 === b ? a : a.substr(b + 1);
913
- }, hb = () => {
913
+ }, jb = () => {
914
914
  if ("object" == typeof crypto && "function" == typeof crypto.getRandomValues) {
915
915
  return a => crypto.getRandomValues(a);
916
916
  }
917
- za("initRandomDevice");
918
- }, ib = a => (ib = hb())(a);
919
- function jb() {
917
+ Aa("initRandomDevice");
918
+ }, kb = a => (kb = jb())(a);
919
+ function lb() {
920
920
  for (var a = "", b = !1, c = arguments.length - 1; -1 <= c && !b; c--) {
921
921
  b = 0 <= c ? arguments[c] : "/";
922
922
  if ("string" != typeof b) {
@@ -928,16 +928,16 @@ function jb() {
928
928
  a = b + "/" + a;
929
929
  b = "/" === b.charAt(0);
930
930
  }
931
- a = db(a.split("/").filter(d => !!d), !b).join("/");
931
+ a = fb(a.split("/").filter(d => !!d), !b).join("/");
932
932
  return (b ? "/" : "") + a || ".";
933
933
  }
934
- var kb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, lb = (a, b, c) => {
934
+ var mb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, nb = (a, b, c) => {
935
935
  var d = b + c;
936
936
  for (c = b; a[c] && !(c >= d);) {
937
937
  ++c;
938
938
  }
939
- if (16 < c - b && a.buffer && kb) {
940
- return kb.decode(a.subarray(b, c));
939
+ if (16 < c - b && a.buffer && mb) {
940
+ return mb.decode(a.subarray(b, c));
941
941
  }
942
942
  for (d = ""; b < c;) {
943
943
  var e = a[b++];
@@ -955,13 +955,13 @@ var kb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, l
955
955
  }
956
956
  }
957
957
  return d;
958
- }, mb = [], nb = a => {
958
+ }, ob = [], pb = a => {
959
959
  for (var b = 0, c = 0; c < a.length; ++c) {
960
960
  var d = a.charCodeAt(c);
961
961
  127 >= d ? b++ : 2047 >= d ? b += 2 : 55296 <= d && 57343 >= d ? (b += 4, ++c) : b += 3;
962
962
  }
963
963
  return b;
964
- }, ob = (a, b, c, d) => {
964
+ }, qb = (a, b, c, d) => {
965
965
  if (!(0 < d)) {
966
966
  return 0;
967
967
  }
@@ -970,8 +970,8 @@ var kb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, l
970
970
  for (var f = 0; f < a.length; ++f) {
971
971
  var g = a.charCodeAt(f);
972
972
  if (55296 <= g && 57343 >= g) {
973
- var m = a.charCodeAt(++f);
974
- g = 65536 + ((g & 1023) << 10) | m & 1023;
973
+ var n = a.charCodeAt(++f);
974
+ g = 65536 + ((g & 1023) << 10) | n & 1023;
975
975
  }
976
976
  if (127 >= g) {
977
977
  if (c >= d) {
@@ -1005,40 +1005,40 @@ var kb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, l
1005
1005
  b[c] = 0;
1006
1006
  return c - e;
1007
1007
  };
1008
- function pb(a, b) {
1009
- var c = Array(nb(a) + 1);
1010
- a = ob(a, c, 0, c.length);
1008
+ function rb(a, b) {
1009
+ var c = Array(pb(a) + 1);
1010
+ a = qb(a, c, 0, c.length);
1011
1011
  b && (c.length = a);
1012
1012
  return c;
1013
1013
  }
1014
- var qb = [];
1015
- function rb(a, b) {
1016
- qb[a] = {input:[], F:[], W:b};
1017
- sb(a, tb);
1014
+ var sb = [];
1015
+ function tb(a, b) {
1016
+ sb[a] = {input:[], F:[], V:b};
1017
+ ub(a, vb);
1018
1018
  }
1019
- var tb = {open:function(a) {
1020
- var b = qb[a.node.ma];
1019
+ var vb = {open:function(a) {
1020
+ var b = sb[a.node.za];
1021
1021
  if (!b) {
1022
- throw new Q(43);
1022
+ throw new O(43);
1023
1023
  }
1024
1024
  a.s = b;
1025
1025
  a.seekable = !1;
1026
1026
  }, close:function(a) {
1027
- a.s.W.ra(a.s);
1028
- }, ra:function(a) {
1029
- a.s.W.ra(a.s);
1027
+ a.s.V.qa(a.s);
1028
+ }, qa:function(a) {
1029
+ a.s.V.qa(a.s);
1030
1030
  }, read:function(a, b, c, d) {
1031
- if (!a.s || !a.s.W.ib) {
1032
- throw new Q(60);
1031
+ if (!a.s || !a.s.V.ib) {
1032
+ throw new O(60);
1033
1033
  }
1034
1034
  for (var e = 0, f = 0; f < d; f++) {
1035
1035
  try {
1036
- var g = a.s.W.ib(a.s);
1037
- } catch (m) {
1038
- throw new Q(29);
1036
+ var g = a.s.V.ib(a.s);
1037
+ } catch (n) {
1038
+ throw new O(29);
1039
1039
  }
1040
1040
  if (void 0 === g && 0 === e) {
1041
- throw new Q(6);
1041
+ throw new O(6);
1042
1042
  }
1043
1043
  if (null === g || void 0 === g) {
1044
1044
  break;
@@ -1049,143 +1049,143 @@ var tb = {open:function(a) {
1049
1049
  e && (a.node.timestamp = Date.now());
1050
1050
  return e;
1051
1051
  }, write:function(a, b, c, d) {
1052
- if (!a.s || !a.s.W.Pa) {
1053
- throw new Q(60);
1052
+ if (!a.s || !a.s.V.Oa) {
1053
+ throw new O(60);
1054
1054
  }
1055
1055
  try {
1056
1056
  for (var e = 0; e < d; e++) {
1057
- a.s.W.Pa(a.s, b[c + e]);
1057
+ a.s.V.Oa(a.s, b[c + e]);
1058
1058
  }
1059
1059
  } catch (f) {
1060
- throw new Q(29);
1060
+ throw new O(29);
1061
1061
  }
1062
1062
  d && (a.node.timestamp = Date.now());
1063
1063
  return e;
1064
- },}, ub = {ib:function() {
1064
+ },}, wb = {ib:function() {
1065
1065
  a: {
1066
- if (!mb.length) {
1066
+ if (!ob.length) {
1067
1067
  var a = null;
1068
1068
  "undefined" != typeof window && "function" == typeof window.prompt ? (a = window.prompt("Input: "), null !== a && (a += "\n")) : "function" == typeof readline && (a = readline(), null !== a && (a += "\n"));
1069
1069
  if (!a) {
1070
1070
  a = null;
1071
1071
  break a;
1072
1072
  }
1073
- mb = pb(a, !0);
1073
+ ob = rb(a, !0);
1074
1074
  }
1075
- a = mb.shift();
1075
+ a = ob.shift();
1076
1076
  }
1077
1077
  return a;
1078
- }, Pa:function(a, b) {
1079
- null === b || 10 === b ? (ta(lb(a.F, 0)), a.F = []) : 0 != b && a.F.push(b);
1080
- }, ra:function(a) {
1081
- a.F && 0 < a.F.length && (ta(lb(a.F, 0)), a.F = []);
1082
- }, ic:function() {
1083
- return {Lc:25856, Nc:5, Kc:191, Mc:35387, Jc:[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,]};
1084
- }, jc:function() {
1078
+ }, Oa:function(a, b) {
1079
+ null === b || 10 === b ? (wa(nb(a.F, 0)), a.F = []) : 0 != b && a.F.push(b);
1080
+ }, qa:function(a) {
1081
+ a.F && 0 < a.F.length && (wa(nb(a.F, 0)), a.F = []);
1082
+ }, bc:function() {
1083
+ return {Fc:25856, Hc:5, Ec:191, Gc:35387, Dc:[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,]};
1084
+ }, cc:function() {
1085
1085
  return 0;
1086
- }, kc:function() {
1086
+ }, dc:function() {
1087
1087
  return [24, 80];
1088
- },}, vb = {Pa:function(a, b) {
1089
- null === b || 10 === b ? (ua(lb(a.F, 0)), a.F = []) : 0 != b && a.F.push(b);
1090
- }, ra:function(a) {
1091
- a.F && 0 < a.F.length && (ua(lb(a.F, 0)), a.F = []);
1088
+ },}, xb = {Oa:function(a, b) {
1089
+ null === b || 10 === b ? (xa(nb(a.F, 0)), a.F = []) : 0 != b && a.F.push(b);
1090
+ }, qa:function(a) {
1091
+ a.F && 0 < a.F.length && (xa(nb(a.F, 0)), a.F = []);
1092
1092
  },};
1093
- function wb(a, b) {
1094
- var c = a.l ? a.l.length : 0;
1095
- 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));
1093
+ function yb(a, b) {
1094
+ var c = a.j ? a.j.length : 0;
1095
+ 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));
1096
1096
  }
1097
- var T = {P:null, V() {
1098
- return T.createNode(null, "/", 16895, 0);
1097
+ var P = {O:null, U() {
1098
+ return P.createNode(null, "/", 16895, 0);
1099
1099
  }, createNode(a, b, c, d) {
1100
1100
  if (24576 === (c & 61440) || 4096 === (c & 61440)) {
1101
- throw new Q(63);
1101
+ throw new O(63);
1102
1102
  }
1103
- T.P || (T.P = {dir:{node:{N:T.j.N, R:T.j.R, ka:T.j.ka, wa:T.j.wa, vb:T.j.vb, Bb:T.j.Bb, wb:T.j.wb, tb:T.j.tb, Ea:T.j.Ea}, stream:{ba:T.m.ba}}, file:{node:{N:T.j.N, R:T.j.R}, stream:{ba:T.m.ba, read:T.m.read, write:T.m.write, qa:T.m.qa, mb:T.m.mb, ob:T.m.ob}}, link:{node:{N:T.j.N, R:T.j.R, na:T.j.na}, stream:{}}, ab:{node:{N:T.j.N, R:T.j.R}, stream:xb}});
1104
- c = yb(a, b, c, d);
1105
- 16384 === (c.mode & 61440) ? (c.j = T.P.dir.node, c.m = T.P.dir.stream, c.l = {}) : 32768 === (c.mode & 61440) ? (c.j = T.P.file.node, c.m = T.P.file.stream, c.v = 0, c.l = null) : 40960 === (c.mode & 61440) ? (c.j = T.P.link.node, c.m = T.P.link.stream) : 8192 === (c.mode & 61440) && (c.j = T.P.ab.node, c.m = T.P.ab.stream);
1103
+ P.O || (P.O = {dir:{node:{Y:P.l.Y, P:P.l.P, ka:P.l.ka, va:P.l.va, ub:P.l.ub, Ab:P.l.Ab, vb:P.l.vb, sb:P.l.sb, Ea:P.l.Ea}, stream:{ba:P.m.ba}}, file:{node:{Y:P.l.Y, P:P.l.P}, stream:{ba:P.m.ba, read:P.m.read, write:P.m.write, pa:P.m.pa, lb:P.m.lb, nb:P.m.nb}}, link:{node:{Y:P.l.Y, P:P.l.P, ma:P.l.ma}, stream:{}}, $a:{node:{Y:P.l.Y, P:P.l.P}, stream:zb}});
1104
+ c = Ab(a, b, c, d);
1105
+ 16384 === (c.mode & 61440) ? (c.l = P.O.dir.node, c.m = P.O.dir.stream, c.j = {}) : 32768 === (c.mode & 61440) ? (c.l = P.O.file.node, c.m = P.O.file.stream, c.v = 0, c.j = null) : 40960 === (c.mode & 61440) ? (c.l = P.O.link.node, c.m = P.O.link.stream) : 8192 === (c.mode & 61440) && (c.l = P.O.$a.node, c.m = P.O.$a.stream);
1106
1106
  c.timestamp = Date.now();
1107
- a && (a.l[b] = c, a.timestamp = c.timestamp);
1107
+ a && (a.j[b] = c, a.timestamp = c.timestamp);
1108
1108
  return c;
1109
- }, Oc(a) {
1110
- return a.l ? a.l.subarray ? a.l.subarray(0, a.v) : new Uint8Array(a.l) : new Uint8Array(0);
1111
- }, j:{N(a) {
1109
+ }, Kc(a) {
1110
+ return a.j ? a.j.subarray ? a.j.subarray(0, a.v) : new Uint8Array(a.j) : new Uint8Array(0);
1111
+ }, l:{Y(a) {
1112
1112
  var b = {};
1113
- b.Sb = 8192 === (a.mode & 61440) ? a.id : 1;
1114
- b.kb = a.id;
1113
+ b.Jc = 8192 === (a.mode & 61440) ? a.id : 1;
1114
+ b.Mc = a.id;
1115
1115
  b.mode = a.mode;
1116
- b.uc = 1;
1116
+ b.Oc = 1;
1117
1117
  b.uid = 0;
1118
- b.dc = 0;
1119
- b.ma = a.ma;
1118
+ b.Lc = 0;
1119
+ b.za = a.za;
1120
1120
  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;
1121
- b.Kb = new Date(a.timestamp);
1122
- b.rc = new Date(a.timestamp);
1123
- b.Pb = new Date(a.timestamp);
1124
- b.Lb = 4096;
1125
- b.Mb = Math.ceil(b.size / b.Lb);
1121
+ b.Bc = new Date(a.timestamp);
1122
+ b.Nc = new Date(a.timestamp);
1123
+ b.Ic = new Date(a.timestamp);
1124
+ b.Jb = 4096;
1125
+ b.Cc = Math.ceil(b.size / b.Jb);
1126
1126
  return b;
1127
- }, R(a, b) {
1127
+ }, P(a, b) {
1128
1128
  void 0 !== b.mode && (a.mode = b.mode);
1129
1129
  void 0 !== b.timestamp && (a.timestamp = b.timestamp);
1130
1130
  if (void 0 !== b.size && (b = b.size, a.v != b)) {
1131
1131
  if (0 == b) {
1132
- a.l = null, a.v = 0;
1132
+ a.j = null, a.v = 0;
1133
1133
  } else {
1134
- var c = a.l;
1135
- a.l = new Uint8Array(b);
1136
- c && a.l.set(c.subarray(0, Math.min(b, a.v)));
1134
+ var c = a.j;
1135
+ a.j = new Uint8Array(b);
1136
+ c && a.j.set(c.subarray(0, Math.min(b, a.v)));
1137
1137
  a.v = b;
1138
1138
  }
1139
1139
  }
1140
1140
  }, ka() {
1141
- throw zb[44];
1142
- }, wa(a, b, c, d) {
1143
- return T.createNode(a, b, c, d);
1144
- }, vb(a, b, c) {
1141
+ throw Bb[44];
1142
+ }, va(a, b, c, d) {
1143
+ return P.createNode(a, b, c, d);
1144
+ }, ub(a, b, c) {
1145
1145
  if (16384 === (a.mode & 61440)) {
1146
1146
  try {
1147
- var d = Ab(b, c);
1147
+ var d = Cb(b, c);
1148
1148
  } catch (f) {
1149
1149
  }
1150
1150
  if (d) {
1151
- for (var e in d.l) {
1152
- throw new Q(55);
1151
+ for (var e in d.j) {
1152
+ throw new O(55);
1153
1153
  }
1154
1154
  }
1155
1155
  }
1156
- delete a.parent.l[a.name];
1156
+ delete a.parent.j[a.name];
1157
1157
  a.parent.timestamp = Date.now();
1158
1158
  a.name = c;
1159
- b.l[c] = a;
1159
+ b.j[c] = a;
1160
1160
  b.timestamp = a.parent.timestamp;
1161
1161
  a.parent = b;
1162
- }, Bb(a, b) {
1163
- delete a.l[b];
1162
+ }, Ab(a, b) {
1163
+ delete a.j[b];
1164
1164
  a.timestamp = Date.now();
1165
- }, wb(a, b) {
1166
- var c = Ab(a, b), d;
1167
- for (d in c.l) {
1168
- throw new Q(55);
1165
+ }, vb(a, b) {
1166
+ var c = Cb(a, b), d;
1167
+ for (d in c.j) {
1168
+ throw new O(55);
1169
1169
  }
1170
- delete a.l[b];
1170
+ delete a.j[b];
1171
1171
  a.timestamp = Date.now();
1172
- }, tb(a) {
1172
+ }, sb(a) {
1173
1173
  var b = [".", ".."], c;
1174
- for (c in a.l) {
1175
- a.l.hasOwnProperty(c) && b.push(c);
1174
+ for (c in a.j) {
1175
+ a.j.hasOwnProperty(c) && b.push(c);
1176
1176
  }
1177
1177
  return b;
1178
1178
  }, Ea(a, b, c) {
1179
- a = T.createNode(a, b, 41471, 0);
1179
+ a = P.createNode(a, b, 41471, 0);
1180
1180
  a.link = c;
1181
1181
  return a;
1182
- }, na(a) {
1182
+ }, ma(a) {
1183
1183
  if (40960 !== (a.mode & 61440)) {
1184
- throw new Q(28);
1184
+ throw new O(28);
1185
1185
  }
1186
1186
  return a.link;
1187
1187
  },}, m:{read(a, b, c, d, e) {
1188
- var f = a.node.l;
1188
+ var f = a.node.j;
1189
1189
  if (e >= a.node.v) {
1190
1190
  return 0;
1191
1191
  }
@@ -1199,29 +1199,29 @@ var T = {P:null, V() {
1199
1199
  }
1200
1200
  return a;
1201
1201
  }, write(a, b, c, d, e, f) {
1202
- b.buffer === A.buffer && (f = !1);
1202
+ b.buffer === B.buffer && (f = !1);
1203
1203
  if (!d) {
1204
1204
  return 0;
1205
1205
  }
1206
1206
  a = a.node;
1207
1207
  a.timestamp = Date.now();
1208
- if (b.subarray && (!a.l || a.l.subarray)) {
1208
+ if (b.subarray && (!a.j || a.j.subarray)) {
1209
1209
  if (f) {
1210
- return a.l = b.subarray(c, c + d), a.v = d;
1210
+ return a.j = b.subarray(c, c + d), a.v = d;
1211
1211
  }
1212
1212
  if (0 === a.v && 0 === e) {
1213
- return a.l = b.slice(c, c + d), a.v = d;
1213
+ return a.j = b.slice(c, c + d), a.v = d;
1214
1214
  }
1215
1215
  if (e + d <= a.v) {
1216
- return a.l.set(b.subarray(c, c + d), e), d;
1216
+ return a.j.set(b.subarray(c, c + d), e), d;
1217
1217
  }
1218
1218
  }
1219
- wb(a, e + d);
1220
- if (a.l.subarray && b.subarray) {
1221
- a.l.set(b.subarray(c, c + d), e);
1219
+ yb(a, e + d);
1220
+ if (a.j.subarray && b.subarray) {
1221
+ a.j.set(b.subarray(c, c + d), e);
1222
1222
  } else {
1223
1223
  for (f = 0; f < d; f++) {
1224
- a.l[e + f] = b[c + f];
1224
+ a.j[e + f] = b[c + f];
1225
1225
  }
1226
1226
  }
1227
1227
  a.v = Math.max(a.v, e + d);
@@ -1229,105 +1229,105 @@ var T = {P:null, V() {
1229
1229
  }, ba(a, b, c) {
1230
1230
  1 === c ? b += a.position : 2 === c && 32768 === (a.node.mode & 61440) && (b += a.node.v);
1231
1231
  if (0 > b) {
1232
- throw new Q(28);
1232
+ throw new O(28);
1233
1233
  }
1234
1234
  return b;
1235
- }, qa(a, b, c) {
1236
- wb(a.node, b + c);
1235
+ }, pa(a, b, c) {
1236
+ yb(a.node, b + c);
1237
1237
  a.node.v = Math.max(a.node.v, b + c);
1238
- }, mb(a, b, c, d, e) {
1238
+ }, lb(a, b, c, d, e) {
1239
1239
  if (32768 !== (a.node.mode & 61440)) {
1240
- throw new Q(43);
1240
+ throw new O(43);
1241
1241
  }
1242
- a = a.node.l;
1243
- if (e & 2 || a.buffer !== A.buffer) {
1242
+ a = a.node.j;
1243
+ if (e & 2 || a.buffer !== B.buffer) {
1244
1244
  if (0 < c || c + b < a.length) {
1245
1245
  a.subarray ? a = a.subarray(c, c + b) : a = Array.prototype.slice.call(a, c, c + b);
1246
1246
  }
1247
1247
  c = !0;
1248
- za();
1248
+ Aa();
1249
1249
  b = void 0;
1250
1250
  if (!b) {
1251
- throw new Q(48);
1251
+ throw new O(48);
1252
1252
  }
1253
- A.set(a, b);
1253
+ B.set(a, b);
1254
1254
  } else {
1255
1255
  c = !1, b = a.byteOffset;
1256
1256
  }
1257
1257
  return {o:b, M:c};
1258
- }, ob(a, b, c, d) {
1259
- T.m.write(a, b, 0, d, c, !1);
1258
+ }, nb(a, b, c, d) {
1259
+ P.m.write(a, b, 0, d, c, !1);
1260
1260
  return 0;
1261
1261
  },},};
1262
- function Bb(a, b) {
1262
+ function Db(a, b) {
1263
1263
  var c = 0;
1264
1264
  a && (c |= 365);
1265
1265
  b && (c |= 146);
1266
1266
  return c;
1267
1267
  }
1268
- var Cb = null, Db = {}, Eb = [], Fb = 1, Gb = null, Hb = !0, Q = null, zb = {}, Jb = (a, b = {}) => {
1269
- a = jb(a);
1268
+ var Eb = null, Fb = {}, Gb = [], Hb = 1, Ib = null, Jb = !0, O = null, Bb = {}, Lb = (a, b = {}) => {
1269
+ a = lb(a);
1270
1270
  if (!a) {
1271
1271
  return {path:"", node:null};
1272
1272
  }
1273
- b = Object.assign({gb:!0, Ra:0}, b);
1274
- if (8 < b.Ra) {
1275
- throw new Q(32);
1273
+ b = Object.assign({gb:!0, Qa:0}, b);
1274
+ if (8 < b.Qa) {
1275
+ throw new O(32);
1276
1276
  }
1277
1277
  a = a.split("/").filter(g => !!g);
1278
- for (var c = Cb, d = "/", e = 0; e < a.length; e++) {
1278
+ for (var c = Eb, d = "/", e = 0; e < a.length; e++) {
1279
1279
  var f = e === a.length - 1;
1280
1280
  if (f && b.parent) {
1281
1281
  break;
1282
1282
  }
1283
- c = Ab(c, a[e]);
1284
- d = eb(d + "/" + a[e]);
1285
- c.xa && (!f || f && b.gb) && (c = c.xa.root);
1286
- if (!f || b.Ma) {
1283
+ c = Cb(c, a[e]);
1284
+ d = gb(d + "/" + a[e]);
1285
+ c.wa && (!f || f && b.gb) && (c = c.wa.root);
1286
+ if (!f || b.fb) {
1287
1287
  for (f = 0; 40960 === (c.mode & 61440);) {
1288
- if (c = Ib(d), d = jb(fb(d), c), c = Jb(d, {Ra:b.Ra + 1}).node, 40 < f++) {
1289
- throw new Q(32);
1288
+ if (c = Kb(d), d = lb(hb(d), c), c = Lb(d, {Qa:b.Qa + 1}).node, 40 < f++) {
1289
+ throw new O(32);
1290
1290
  }
1291
1291
  }
1292
1292
  }
1293
1293
  }
1294
1294
  return {path:d, node:c};
1295
- }, Kb = a => {
1295
+ }, Mb = a => {
1296
1296
  for (var b;;) {
1297
1297
  if (a === a.parent) {
1298
- return a = a.V.nb, b ? "/" !== a[a.length - 1] ? `${a}/${b}` : a + b : a;
1298
+ return a = a.U.mb, b ? "/" !== a[a.length - 1] ? `${a}/${b}` : a + b : a;
1299
1299
  }
1300
1300
  b = b ? `${a.name}/${b}` : a.name;
1301
1301
  a = a.parent;
1302
1302
  }
1303
- }, Lb = (a, b) => {
1303
+ }, Nb = (a, b) => {
1304
1304
  for (var c = 0, d = 0; d < b.length; d++) {
1305
1305
  c = (c << 5) - c + b.charCodeAt(d) | 0;
1306
1306
  }
1307
- return (a + c >>> 0) % Gb.length;
1308
- }, Ab = (a, b) => {
1307
+ return (a + c >>> 0) % Ib.length;
1308
+ }, Cb = (a, b) => {
1309
1309
  var c;
1310
- if (c = (c = Mb(a, "x")) ? c : a.j.ka ? 0 : 2) {
1311
- throw new Q(c, a);
1310
+ if (c = (c = Ob(a, "x")) ? c : a.l.ka ? 0 : 2) {
1311
+ throw new O(c, a);
1312
1312
  }
1313
- for (c = Gb[Lb(a.id, b)]; c; c = c.sc) {
1313
+ for (c = Ib[Nb(a.id, b)]; c; c = c.lc) {
1314
1314
  var d = c.name;
1315
1315
  if (c.parent.id === a.id && d === b) {
1316
1316
  return c;
1317
1317
  }
1318
1318
  }
1319
- return a.j.ka(a, b);
1320
- }, yb = (a, b, c, d) => {
1321
- a = new Nb(a, b, c, d);
1322
- b = Lb(a.parent.id, a.name);
1323
- a.sc = Gb[b];
1324
- return Gb[b] = a;
1325
- }, Ob = a => {
1319
+ return a.l.ka(a, b);
1320
+ }, Ab = (a, b, c, d) => {
1321
+ a = new Pb(a, b, c, d);
1322
+ b = Nb(a.parent.id, a.name);
1323
+ a.lc = Ib[b];
1324
+ return Ib[b] = a;
1325
+ }, Qb = a => {
1326
1326
  var b = ["r", "w", "rw"][a & 3];
1327
1327
  a & 512 && (b += "w");
1328
1328
  return b;
1329
- }, Mb = (a, b) => {
1330
- if (Hb) {
1329
+ }, Ob = (a, b) => {
1330
+ if (Jb) {
1331
1331
  return 0;
1332
1332
  }
1333
1333
  if (!b.includes("r") || a.mode & 292) {
@@ -1338,29 +1338,29 @@ var Cb = null, Db = {}, Eb = [], Fb = 1, Gb = null, Hb = !0, Q = null, zb = {},
1338
1338
  return 2;
1339
1339
  }
1340
1340
  return 0;
1341
- }, Pb = (a, b) => {
1341
+ }, Rb = (a, b) => {
1342
1342
  try {
1343
- return Ab(a, b), 20;
1343
+ return Cb(a, b), 20;
1344
1344
  } catch (c) {
1345
1345
  }
1346
- return Mb(a, "wx");
1347
- }, Qb = () => {
1346
+ return Ob(a, "wx");
1347
+ }, Sb = () => {
1348
1348
  for (var a = 0; 4096 >= a; a++) {
1349
- if (!Eb[a]) {
1349
+ if (!Gb[a]) {
1350
1350
  return a;
1351
1351
  }
1352
1352
  }
1353
- throw new Q(33);
1354
- }, Rb = a => {
1355
- a = Eb[a];
1353
+ throw new O(33);
1354
+ }, Tb = a => {
1355
+ a = Gb[a];
1356
1356
  if (!a) {
1357
- throw new Q(8);
1357
+ throw new O(8);
1358
1358
  }
1359
1359
  return a;
1360
- }, Tb = (a, b = -1) => {
1361
- Sb || (Sb = function() {
1360
+ }, Vb = (a, b = -1) => {
1361
+ Ub || (Ub = function() {
1362
1362
  this.h = {};
1363
- }, Sb.prototype = {}, Object.defineProperties(Sb.prototype, {object:{get() {
1363
+ }, Ub.prototype = {}, Object.defineProperties(Ub.prototype, {object:{get() {
1364
1364
  return this.node;
1365
1365
  }, set(c) {
1366
1366
  this.node = c;
@@ -1373,84 +1373,84 @@ var Cb = null, Db = {}, Eb = [], Fb = 1, Gb = null, Hb = !0, Q = null, zb = {},
1373
1373
  }, set(c) {
1374
1374
  this.h.position = c;
1375
1375
  },},}));
1376
- a = Object.assign(new Sb(), a);
1377
- -1 == b && (b = Qb());
1378
- a.Z = b;
1379
- return Eb[b] = a;
1380
- }, xb = {open:a => {
1381
- a.m = Db[a.node.ma].m;
1376
+ a = Object.assign(new Ub(), a);
1377
+ -1 == b && (b = Sb());
1378
+ a.X = b;
1379
+ return Gb[b] = a;
1380
+ }, zb = {open:a => {
1381
+ a.m = Fb[a.node.za].m;
1382
1382
  a.m.open && a.m.open(a);
1383
1383
  }, ba:() => {
1384
- throw new Q(70);
1385
- },}, sb = (a, b) => {
1386
- Db[a] = {m:b};
1387
- }, Ub = (a, b) => {
1384
+ throw new O(70);
1385
+ },}, ub = (a, b) => {
1386
+ Fb[a] = {m:b};
1387
+ }, Wb = (a, b) => {
1388
1388
  var c = "/" === b, d = !b;
1389
- if (c && Cb) {
1390
- throw new Q(10);
1389
+ if (c && Eb) {
1390
+ throw new O(10);
1391
1391
  }
1392
1392
  if (!c && !d) {
1393
- var e = Jb(b, {gb:!1});
1393
+ var e = Lb(b, {gb:!1});
1394
1394
  b = e.path;
1395
1395
  e = e.node;
1396
- if (e.xa) {
1397
- throw new Q(10);
1396
+ if (e.wa) {
1397
+ throw new O(10);
1398
1398
  }
1399
1399
  if (16384 !== (e.mode & 61440)) {
1400
- throw new Q(54);
1400
+ throw new O(54);
1401
1401
  }
1402
1402
  }
1403
- b = {type:a, Qc:{}, nb:b, qc:[]};
1404
- a = a.V(b);
1405
- a.V = b;
1403
+ b = {type:a, Qc:{}, mb:b, kc:[]};
1404
+ a = a.U(b);
1405
+ a.U = b;
1406
1406
  b.root = a;
1407
- c ? Cb = a : e && (e.xa = b, e.V && e.V.qc.push(b));
1408
- }, Vb = (a, b, c) => {
1409
- var d = Jb(a, {parent:!0}).node;
1410
- a = gb(a);
1407
+ c ? Eb = a : e && (e.wa = b, e.U && e.U.kc.push(b));
1408
+ }, S = (a, b, c) => {
1409
+ var d = Lb(a, {parent:!0}).node;
1410
+ a = ib(a);
1411
1411
  if (!a || "." === a || ".." === a) {
1412
- throw new Q(28);
1412
+ throw new O(28);
1413
1413
  }
1414
- var e = Pb(d, a);
1414
+ var e = Rb(d, a);
1415
1415
  if (e) {
1416
- throw new Q(e);
1416
+ throw new O(e);
1417
1417
  }
1418
- if (!d.j.wa) {
1419
- throw new Q(63);
1418
+ if (!d.l.va) {
1419
+ throw new O(63);
1420
1420
  }
1421
- return d.j.wa(d, a, b, c);
1422
- }, Wb = (a, b, c) => {
1421
+ return d.l.va(d, a, b, c);
1422
+ }, Xb = (a, b, c) => {
1423
1423
  "undefined" == typeof c && (c = b, b = 438);
1424
- Vb(a, b | 8192, c);
1425
- }, Xb = (a, b) => {
1426
- if (!jb(a)) {
1427
- throw new Q(44);
1424
+ S(a, b | 8192, c);
1425
+ }, cc = (a, b) => {
1426
+ if (!lb(a)) {
1427
+ throw new O(44);
1428
1428
  }
1429
- var c = Jb(b, {parent:!0}).node;
1429
+ var c = Lb(b, {parent:!0}).node;
1430
1430
  if (!c) {
1431
- throw new Q(44);
1431
+ throw new O(44);
1432
1432
  }
1433
- b = gb(b);
1434
- var d = Pb(c, b);
1433
+ b = ib(b);
1434
+ var d = Rb(c, b);
1435
1435
  if (d) {
1436
- throw new Q(d);
1436
+ throw new O(d);
1437
1437
  }
1438
- if (!c.j.Ea) {
1439
- throw new Q(63);
1438
+ if (!c.l.Ea) {
1439
+ throw new O(63);
1440
1440
  }
1441
- c.j.Ea(c, b, a);
1442
- }, Ib = a => {
1443
- a = Jb(a).node;
1441
+ c.l.Ea(c, b, a);
1442
+ }, Kb = a => {
1443
+ a = Lb(a).node;
1444
1444
  if (!a) {
1445
- throw new Q(44);
1445
+ throw new O(44);
1446
1446
  }
1447
- if (!a.j.na) {
1448
- throw new Q(28);
1447
+ if (!a.l.ma) {
1448
+ throw new O(28);
1449
1449
  }
1450
- return jb(Kb(a.parent), a.j.na(a));
1451
- }, dc = (a, b, c) => {
1450
+ return lb(Mb(a.parent), a.l.ma(a));
1451
+ }, ec = (a, b, c) => {
1452
1452
  if ("" === a) {
1453
- throw new Q(44);
1453
+ throw new O(44);
1454
1454
  }
1455
1455
  if ("string" == typeof b) {
1456
1456
  var d = {r:0, "r+":2, w:577, "w+":578, a:1089, "a+":1090,}[b];
@@ -1463,9 +1463,9 @@ var Cb = null, Db = {}, Eb = [], Fb = 1, Gb = null, Hb = !0, Q = null, zb = {},
1463
1463
  if ("object" == typeof a) {
1464
1464
  var e = a;
1465
1465
  } else {
1466
- a = eb(a);
1466
+ a = gb(a);
1467
1467
  try {
1468
- e = Jb(a, {Ma:!(b & 131072)}).node;
1468
+ e = Lb(a, {fb:!(b & 131072)}).node;
1469
1469
  } catch (f) {
1470
1470
  }
1471
1471
  }
@@ -1473,114 +1473,114 @@ var Cb = null, Db = {}, Eb = [], Fb = 1, Gb = null, Hb = !0, Q = null, zb = {},
1473
1473
  if (b & 64) {
1474
1474
  if (e) {
1475
1475
  if (b & 128) {
1476
- throw new Q(20);
1476
+ throw new O(20);
1477
1477
  }
1478
1478
  } else {
1479
- e = Vb(a, c, 0), d = !0;
1479
+ e = S(a, c, 0), d = !0;
1480
1480
  }
1481
1481
  }
1482
1482
  if (!e) {
1483
- throw new Q(44);
1483
+ throw new O(44);
1484
1484
  }
1485
1485
  8192 === (e.mode & 61440) && (b &= -513);
1486
1486
  if (b & 65536 && 16384 !== (e.mode & 61440)) {
1487
- throw new Q(54);
1487
+ throw new O(54);
1488
1488
  }
1489
- if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !== Ob(b) || b & 512) ? 31 : Mb(e, Ob(b)) : 44)) {
1490
- throw new Q(c);
1489
+ if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !== Qb(b) || b & 512) ? 31 : Ob(e, Qb(b)) : 44)) {
1490
+ throw new O(c);
1491
1491
  }
1492
1492
  if (b & 512 && !d) {
1493
1493
  c = e;
1494
- c = "string" == typeof c ? Jb(c, {Ma:!0}).node : c;
1495
- if (!c.j.R) {
1496
- throw new Q(63);
1494
+ c = "string" == typeof c ? Lb(c, {fb:!0}).node : c;
1495
+ if (!c.l.P) {
1496
+ throw new O(63);
1497
1497
  }
1498
1498
  if (16384 === (c.mode & 61440)) {
1499
- throw new Q(31);
1499
+ throw new O(31);
1500
1500
  }
1501
1501
  if (32768 !== (c.mode & 61440)) {
1502
- throw new Q(28);
1502
+ throw new O(28);
1503
1503
  }
1504
- if (d = Mb(c, "w")) {
1505
- throw new Q(d);
1504
+ if (d = Ob(c, "w")) {
1505
+ throw new O(d);
1506
1506
  }
1507
- c.j.R(c, {size:0, timestamp:Date.now()});
1507
+ c.l.P(c, {size:0, timestamp:Date.now()});
1508
1508
  }
1509
1509
  b &= -131713;
1510
- e = Tb({node:e, path:Kb(e), flags:b, seekable:!0, position:0, m:e.m, Hc:[], error:!1});
1510
+ e = Vb({node:e, path:Mb(e), flags:b, seekable:!0, position:0, m:e.m, zc:[], error:!1});
1511
1511
  e.m.open && e.m.open(e);
1512
- !n.logReadFiles || b & 1 || (Yb || (Yb = {}), a in Yb || (Yb[a] = 1));
1512
+ !m.logReadFiles || b & 1 || (dc || (dc = {}), a in dc || (dc[a] = 1));
1513
1513
  return e;
1514
- }, ec = (a, b, c) => {
1515
- if (null === a.Z) {
1516
- throw new Q(8);
1514
+ }, fc = (a, b, c) => {
1515
+ if (null === a.X) {
1516
+ throw new O(8);
1517
1517
  }
1518
1518
  if (!a.seekable || !a.m.ba) {
1519
- throw new Q(70);
1519
+ throw new O(70);
1520
1520
  }
1521
1521
  if (0 != c && 1 != c && 2 != c) {
1522
- throw new Q(28);
1522
+ throw new O(28);
1523
1523
  }
1524
1524
  a.position = a.m.ba(a, b, c);
1525
- a.Hc = [];
1526
- }, fc = () => {
1527
- Q || (Q = function(a, b) {
1525
+ a.zc = [];
1526
+ }, gc = () => {
1527
+ O || (O = function(a, b) {
1528
1528
  this.name = "ErrnoError";
1529
1529
  this.node = b;
1530
- this.xc = function(c) {
1531
- this.Y = c;
1530
+ this.pc = function(c) {
1531
+ this.aa = c;
1532
1532
  };
1533
- this.xc(a);
1533
+ this.pc(a);
1534
1534
  this.message = "FS error";
1535
- }, Q.prototype = Error(), Q.prototype.constructor = Q, [44].forEach(a => {
1536
- zb[a] = new Q(a);
1537
- zb[a].stack = "<generic error, no stack>";
1535
+ }, O.prototype = Error(), O.prototype.constructor = O, [44].forEach(a => {
1536
+ Bb[a] = new O(a);
1537
+ Bb[a].stack = "<generic error, no stack>";
1538
1538
  }));
1539
- }, gc, ic = (a, b, c) => {
1540
- a = eb("/dev/" + a);
1541
- var d = Bb(!!b, !!c);
1542
- hc || (hc = 64);
1543
- var e = hc++ << 8 | 0;
1544
- sb(e, {open:f => {
1539
+ }, hc, jc = (a, b, c) => {
1540
+ a = gb("/dev/" + a);
1541
+ var d = Db(!!b, !!c);
1542
+ ic || (ic = 64);
1543
+ var e = ic++ << 8 | 0;
1544
+ ub(e, {open:f => {
1545
1545
  f.seekable = !1;
1546
1546
  }, close:() => {
1547
1547
  c && c.buffer && c.buffer.length && c(10);
1548
- }, read:(f, g, m, p) => {
1548
+ }, read:(f, g, n, p) => {
1549
1549
  for (var l = 0, u = 0; u < p; u++) {
1550
1550
  try {
1551
1551
  var v = b();
1552
- } catch (y) {
1553
- throw new Q(29);
1552
+ } catch (x) {
1553
+ throw new O(29);
1554
1554
  }
1555
1555
  if (void 0 === v && 0 === l) {
1556
- throw new Q(6);
1556
+ throw new O(6);
1557
1557
  }
1558
1558
  if (null === v || void 0 === v) {
1559
1559
  break;
1560
1560
  }
1561
1561
  l++;
1562
- g[m + u] = v;
1562
+ g[n + u] = v;
1563
1563
  }
1564
1564
  l && (f.node.timestamp = Date.now());
1565
1565
  return l;
1566
- }, write:(f, g, m, p) => {
1566
+ }, write:(f, g, n, p) => {
1567
1567
  for (var l = 0; l < p; l++) {
1568
1568
  try {
1569
- c(g[m + l]);
1569
+ c(g[n + l]);
1570
1570
  } catch (u) {
1571
- throw new Q(29);
1571
+ throw new O(29);
1572
1572
  }
1573
1573
  }
1574
1574
  p && (f.node.timestamp = Date.now());
1575
1575
  return l;
1576
1576
  }});
1577
- Wb(a, d, e);
1578
- }, hc, jc = {}, Sb, Yb, kc = void 0;
1579
- function lc() {
1580
- kc += 4;
1581
- return F[kc - 4 >> 2];
1577
+ Xb(a, d, e);
1578
+ }, ic, kc = {}, Ub, dc, lc = void 0;
1579
+ function mc() {
1580
+ lc += 4;
1581
+ return L[lc - 4 >> 2];
1582
1582
  }
1583
- function mc(a) {
1583
+ function nc(a) {
1584
1584
  if (void 0 === a) {
1585
1585
  return "_unknown";
1586
1586
  }
@@ -1588,23 +1588,23 @@ function mc(a) {
1588
1588
  var b = a.charCodeAt(0);
1589
1589
  return 48 <= b && 57 >= b ? `_${a}` : a;
1590
1590
  }
1591
- function nc(a, b) {
1592
- a = mc(a);
1591
+ function oc(a, b) {
1592
+ a = nc(a);
1593
1593
  return {[a]:function() {
1594
1594
  return b.apply(this, arguments);
1595
1595
  }}[a];
1596
1596
  }
1597
- function oc() {
1597
+ function pc() {
1598
1598
  this.M = [void 0];
1599
1599
  this.hb = [];
1600
1600
  }
1601
- var pc = new oc(), qc = void 0;
1602
- function U(a) {
1601
+ var U = new pc(), qc = void 0;
1602
+ function V(a) {
1603
1603
  throw new qc(a);
1604
1604
  }
1605
1605
  var rc = a => {
1606
- a || U("Cannot use deleted val. handle = " + a);
1607
- return pc.get(a).value;
1606
+ a || V("Cannot use deleted val. handle = " + a);
1607
+ return U.get(a).value;
1608
1608
  }, sc = a => {
1609
1609
  switch(a) {
1610
1610
  case void 0:
@@ -1616,11 +1616,11 @@ var rc = a => {
1616
1616
  case !1:
1617
1617
  return 4;
1618
1618
  default:
1619
- return pc.qa({ub:1, value:a});
1619
+ return U.pa({tb:1, value:a});
1620
1620
  }
1621
1621
  };
1622
1622
  function tc(a) {
1623
- var b = Error, c = nc(a, function(d) {
1623
+ var b = Error, c = oc(a, function(d) {
1624
1624
  this.name = a;
1625
1625
  this.message = d;
1626
1626
  d = Error(d).stack;
@@ -1635,8 +1635,8 @@ function tc(a) {
1635
1635
  }
1636
1636
  var uc = void 0, vc = void 0;
1637
1637
  function W(a) {
1638
- for (var b = ""; C[a];) {
1639
- b += vc[C[a++]];
1638
+ for (var b = ""; E[a];) {
1639
+ b += vc[E[a++]];
1640
1640
  }
1641
1641
  return b;
1642
1642
  }
@@ -1650,8 +1650,8 @@ function xc() {
1650
1650
  }
1651
1651
  var yc = void 0, zc = {};
1652
1652
  function Ac(a, b) {
1653
- for (void 0 === b && U("ptr should not be undefined"); a.A;) {
1654
- b = a.oa(b), a = a.A;
1653
+ for (void 0 === b && V("ptr should not be undefined"); a.A;) {
1654
+ b = a.na(b), a = a.A;
1655
1655
  }
1656
1656
  return b;
1657
1657
  }
@@ -1664,7 +1664,7 @@ function Cc(a) {
1664
1664
  }
1665
1665
  function Fc(a, b) {
1666
1666
  var c = Bc[a];
1667
- void 0 === c && U(b + " has unknown type " + Cc(a));
1667
+ void 0 === c && V(b + " has unknown type " + Cc(a));
1668
1668
  return c;
1669
1669
  }
1670
1670
  function Gc() {
@@ -1672,7 +1672,7 @@ function Gc() {
1672
1672
  var Hc = !1;
1673
1673
  function Ic(a) {
1674
1674
  --a.count.value;
1675
- 0 === a.count.value && (a.G ? a.L.X(a.G) : a.u.i.X(a.o));
1675
+ 0 === a.count.value && (a.G ? a.L.W(a.G) : a.u.i.W(a.o));
1676
1676
  }
1677
1677
  function Jc(a, b, c) {
1678
1678
  if (b === c) {
@@ -1682,7 +1682,7 @@ function Jc(a, b, c) {
1682
1682
  return null;
1683
1683
  }
1684
1684
  a = Jc(a, b, c.A);
1685
- return null === a ? null : c.Ub(a);
1685
+ return null === a ? null : c.Pb(a);
1686
1686
  }
1687
1687
  var Kc = {};
1688
1688
  function Lc(a, b) {
@@ -1724,24 +1724,24 @@ function Rc(a) {
1724
1724
  }
1725
1725
  }
1726
1726
  function Sc(a) {
1727
- return this.fromWireType(F[a >> 2]);
1727
+ return this.fromWireType(L[a >> 2]);
1728
1728
  }
1729
1729
  var Tc = {}, Uc = {};
1730
- function X(a, b, c) {
1731
- function d(m) {
1732
- m = c(m);
1733
- m.length !== a.length && Nc("Mismatched type converter count");
1730
+ function Y(a, b, c) {
1731
+ function d(n) {
1732
+ n = c(n);
1733
+ n.length !== a.length && Nc("Mismatched type converter count");
1734
1734
  for (var p = 0; p < a.length; ++p) {
1735
- Vc(a[p], m[p]);
1735
+ Vc(a[p], n[p]);
1736
1736
  }
1737
1737
  }
1738
- a.forEach(function(m) {
1739
- Uc[m] = b;
1738
+ a.forEach(function(n) {
1739
+ Uc[n] = b;
1740
1740
  });
1741
1741
  var e = Array(b.length), f = [], g = 0;
1742
- b.forEach((m, p) => {
1743
- Bc.hasOwnProperty(m) ? e[p] = Bc[m] : (f.push(m), Tc.hasOwnProperty(m) || (Tc[m] = []), Tc[m].push(() => {
1744
- e[p] = Bc[m];
1742
+ b.forEach((n, p) => {
1743
+ Bc.hasOwnProperty(n) ? e[p] = Bc[n] : (f.push(n), Tc.hasOwnProperty(n) || (Tc[n] = []), Tc[n].push(() => {
1744
+ e[p] = Bc[n];
1745
1745
  ++g;
1746
1746
  g === f.length && d(e);
1747
1747
  }));
@@ -1764,12 +1764,12 @@ function Wc(a) {
1764
1764
  }
1765
1765
  function Xc(a, b, c = {}) {
1766
1766
  var d = b.name;
1767
- a || U(`type "${d}" must have a positive integer typeid pointer`);
1767
+ a || V(`type "${d}" must have a positive integer typeid pointer`);
1768
1768
  if (Bc.hasOwnProperty(a)) {
1769
- if (c.fc) {
1769
+ if (c.$b) {
1770
1770
  return;
1771
1771
  }
1772
- U(`Cannot register type '${d}' twice`);
1772
+ V(`Cannot register type '${d}' twice`);
1773
1773
  }
1774
1774
  Bc[a] = b;
1775
1775
  delete Uc[a];
@@ -1782,7 +1782,7 @@ function Vc(a, b, c = {}) {
1782
1782
  Xc(a, b, c);
1783
1783
  }
1784
1784
  function Yc(a) {
1785
- U(a.g.u.i.name + " instance already deleted");
1785
+ V(a.g.u.i.name + " instance already deleted");
1786
1786
  }
1787
1787
  function Zc() {
1788
1788
  }
@@ -1790,7 +1790,7 @@ function $c(a, b, c) {
1790
1790
  if (void 0 === a[b].B) {
1791
1791
  var d = a[b];
1792
1792
  a[b] = function() {
1793
- a[b].B.hasOwnProperty(arguments.length) || U(`Function '${c}' called with an invalid number of arguments (${arguments.length}) - expects one of (${a[b].B})!`);
1793
+ a[b].B.hasOwnProperty(arguments.length) || V(`Function '${c}' called with an invalid number of arguments (${arguments.length}) - expects one of (${a[b].B})!`);
1794
1794
  return a[b].B[arguments.length].apply(this, arguments);
1795
1795
  };
1796
1796
  a[b].B = [];
@@ -1798,51 +1798,51 @@ function $c(a, b, c) {
1798
1798
  }
1799
1799
  }
1800
1800
  function ad(a, b, c) {
1801
- n.hasOwnProperty(a) ? ((void 0 === c || void 0 !== n[a].B && void 0 !== n[a].B[c]) && U(`Cannot register public name '${a}' twice`), $c(n, a, a), n.hasOwnProperty(c) && U(`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].Pc = c));
1801
+ m.hasOwnProperty(a) ? ((void 0 === c || void 0 !== m[a].B && void 0 !== m[a].B[c]) && V(`Cannot register public name '${a}' twice`), $c(m, a, a), m.hasOwnProperty(c) && V(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`), m[a].B[c] = b) : (m[a] = b, void 0 !== c && (m[a].Pc = c));
1802
1802
  }
1803
- function bd(a, b, c, d, e, f, g, m) {
1803
+ function bd(a, b, c, d, e, f, g, n) {
1804
1804
  this.name = a;
1805
1805
  this.constructor = b;
1806
- this.O = c;
1807
- this.X = d;
1806
+ this.N = c;
1807
+ this.W = d;
1808
1808
  this.A = e;
1809
- this.Zb = f;
1810
- this.oa = g;
1811
- this.Ub = m;
1812
- this.rb = [];
1809
+ this.Ub = f;
1810
+ this.na = g;
1811
+ this.Pb = n;
1812
+ this.qb = [];
1813
1813
  }
1814
1814
  function cd(a, b, c) {
1815
1815
  for (; b !== c;) {
1816
- b.oa || U(`Expected null or instance of ${c.name}, got an instance of ${b.name}`), a = b.oa(a), b = b.A;
1816
+ b.na || V(`Expected null or instance of ${c.name}, got an instance of ${b.name}`), a = b.na(a), b = b.A;
1817
1817
  }
1818
1818
  return a;
1819
1819
  }
1820
1820
  function dd(a, b) {
1821
1821
  if (null === b) {
1822
- return this.Oa && U(`null is not a valid ${this.name}`), 0;
1822
+ return this.Na && V(`null is not a valid ${this.name}`), 0;
1823
1823
  }
1824
- b.g || U(`Cannot pass "${ed(b)}" as a ${this.name}`);
1825
- b.g.o || U(`Cannot pass deleted object as a pointer of type ${this.name}`);
1824
+ b.g || V(`Cannot pass "${ed(b)}" as a ${this.name}`);
1825
+ b.g.o || V(`Cannot pass deleted object as a pointer of type ${this.name}`);
1826
1826
  return cd(b.g.o, b.g.u.i, this.i);
1827
1827
  }
1828
1828
  function fd(a, b) {
1829
1829
  if (null === b) {
1830
- this.Oa && U(`null is not a valid ${this.name}`);
1831
- if (this.va) {
1832
- var c = this.Qa();
1833
- null !== a && a.push(this.X, c);
1830
+ this.Na && V(`null is not a valid ${this.name}`);
1831
+ if (this.ua) {
1832
+ var c = this.Pa();
1833
+ null !== a && a.push(this.W, c);
1834
1834
  return c;
1835
1835
  }
1836
1836
  return 0;
1837
1837
  }
1838
- b.g || U(`Cannot pass "${ed(b)}" as a ${this.name}`);
1839
- b.g.o || U(`Cannot pass deleted object as a pointer of type ${this.name}`);
1840
- !this.ua && b.g.u.ua && U(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1838
+ b.g || V(`Cannot pass "${ed(b)}" as a ${this.name}`);
1839
+ b.g.o || V(`Cannot pass deleted object as a pointer of type ${this.name}`);
1840
+ !this.ta && b.g.u.ta && V(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1841
1841
  c = cd(b.g.o, b.g.u.i, this.i);
1842
- if (this.va) {
1843
- switch(void 0 === b.g.G && U("Passing raw pointer to smart pointer is illegal"), this.Bc) {
1842
+ if (this.ua) {
1843
+ switch(void 0 === b.g.G && V("Passing raw pointer to smart pointer is illegal"), this.tc) {
1844
1844
  case 0:
1845
- b.g.L === this ? c = b.g.G : U(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1845
+ b.g.L === this ? c = b.g.G : V(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1846
1846
  break;
1847
1847
  case 1:
1848
1848
  c = b.g.G;
@@ -1852,39 +1852,39 @@ function fd(a, b) {
1852
1852
  c = b.g.G;
1853
1853
  } else {
1854
1854
  var d = b.clone();
1855
- c = this.wc(c, sc(function() {
1855
+ c = this.oc(c, sc(function() {
1856
1856
  d["delete"]();
1857
1857
  }));
1858
- null !== a && a.push(this.X, c);
1858
+ null !== a && a.push(this.W, c);
1859
1859
  }
1860
1860
  break;
1861
1861
  default:
1862
- U("Unsupporting sharing policy");
1862
+ V("Unsupporting sharing policy");
1863
1863
  }
1864
1864
  }
1865
1865
  return c;
1866
1866
  }
1867
1867
  function gd(a, b) {
1868
1868
  if (null === b) {
1869
- return this.Oa && U(`null is not a valid ${this.name}`), 0;
1869
+ return this.Na && V(`null is not a valid ${this.name}`), 0;
1870
1870
  }
1871
- b.g || U(`Cannot pass "${ed(b)}" as a ${this.name}`);
1872
- b.g.o || U(`Cannot pass deleted object as a pointer of type ${this.name}`);
1873
- b.g.u.ua && U(`Cannot convert argument of type ${b.g.u.name} to parameter type ${this.name}`);
1871
+ b.g || V(`Cannot pass "${ed(b)}" as a ${this.name}`);
1872
+ b.g.o || V(`Cannot pass deleted object as a pointer of type ${this.name}`);
1873
+ b.g.u.ta && V(`Cannot convert argument of type ${b.g.u.name} to parameter type ${this.name}`);
1874
1874
  return cd(b.g.o, b.g.u.i, this.i);
1875
1875
  }
1876
1876
  function hd(a, b, c, d) {
1877
1877
  this.name = a;
1878
1878
  this.i = b;
1879
- this.Oa = c;
1880
- this.ua = d;
1881
- this.va = !1;
1882
- this.X = this.wc = this.Qa = this.sb = this.Bc = this.vc = void 0;
1879
+ this.Na = c;
1880
+ this.ta = d;
1881
+ this.ua = !1;
1882
+ this.W = this.oc = this.Pa = this.rb = this.tc = this.nc = void 0;
1883
1883
  void 0 !== b.A ? this.toWireType = fd : (this.toWireType = d ? dd : gd, this.K = null);
1884
1884
  }
1885
1885
  function jd(a, b, c) {
1886
- n.hasOwnProperty(a) || Nc("Replacing nonexistant public symbol");
1887
- void 0 !== n[a].B && void 0 !== c ? n[a].B[c] = b : (n[a] = b, n[a].ea = c);
1886
+ m.hasOwnProperty(a) || Nc("Replacing nonexistant public symbol");
1887
+ void 0 !== m[a].B && void 0 !== c ? m[a].B[c] = b : (m[a] = b, m[a].ea = c);
1888
1888
  }
1889
1889
  var kd = [], ld = a => {
1890
1890
  var b = kd[a];
@@ -1896,7 +1896,7 @@ var kd = [], ld = a => {
1896
1896
  c.length = 0;
1897
1897
  Object.assign(c, arguments);
1898
1898
  if (a.includes("j")) {
1899
- var d = n["dynCall_" + a];
1899
+ var d = m["dynCall_" + a];
1900
1900
  d = c && c.length ? d.apply(null, [b].concat(c)) : d.call(null, b);
1901
1901
  } else {
1902
1902
  d = ld(b).apply(null, c);
@@ -1904,10 +1904,10 @@ var kd = [], ld = a => {
1904
1904
  return d;
1905
1905
  };
1906
1906
  };
1907
- function Y(a, b) {
1907
+ function Z(a, b) {
1908
1908
  a = W(a);
1909
1909
  var c = a.includes("j") ? md(a, b) : ld(b);
1910
- "function" != typeof c && U(`unknown function pointer with signature ${a}: ${b}`);
1910
+ "function" != typeof c && V(`unknown function pointer with signature ${a}: ${b}`);
1911
1911
  return c;
1912
1912
  }
1913
1913
  var nd = void 0;
@@ -1921,34 +1921,34 @@ function od(a, b) {
1921
1921
  }
1922
1922
  function pd(a, b, c, d, e) {
1923
1923
  var f = b.length;
1924
- 2 > f && U("argTypes array size mismatch! Must at least get return value and 'this' types!");
1925
- var g = null !== b[1] && null !== c, m = !1;
1924
+ 2 > f && V("argTypes array size mismatch! Must at least get return value and 'this' types!");
1925
+ var g = null !== b[1] && null !== c, n = !1;
1926
1926
  for (c = 1; c < b.length; ++c) {
1927
1927
  if (null !== b[c] && void 0 === b[c].K) {
1928
- m = !0;
1928
+ n = !0;
1929
1929
  break;
1930
1930
  }
1931
1931
  }
1932
- var p = "void" !== b[0].name, l = f - 2, u = Array(l), v = [], y = [];
1932
+ var p = "void" !== b[0].name, l = f - 2, u = Array(l), v = [], x = [];
1933
1933
  return function() {
1934
- arguments.length !== l && U(`function ${a} called with ${arguments.length} arguments, expected ${l} args!`);
1935
- y.length = 0;
1934
+ arguments.length !== l && V(`function ${a} called with ${arguments.length} arguments, expected ${l} args!`);
1935
+ x.length = 0;
1936
1936
  v.length = g ? 2 : 1;
1937
1937
  v[0] = e;
1938
1938
  if (g) {
1939
- var k = b[1].toWireType(y, this);
1939
+ var k = b[1].toWireType(x, this);
1940
1940
  v[1] = k;
1941
1941
  }
1942
1942
  for (var t = 0; t < l; ++t) {
1943
- u[t] = b[t + 2].toWireType(y, arguments[t]), v.push(u[t]);
1943
+ u[t] = b[t + 2].toWireType(x, arguments[t]), v.push(u[t]);
1944
1944
  }
1945
1945
  t = d.apply(null, v);
1946
- if (m) {
1947
- Rc(y);
1946
+ if (n) {
1947
+ Rc(x);
1948
1948
  } else {
1949
1949
  for (var r = g ? 1 : 2; r < b.length; r++) {
1950
- var B = 1 === r ? k : u[r - 2];
1951
- null !== b[r].K && b[r].K(B);
1950
+ var A = 1 === r ? k : u[r - 2];
1951
+ null !== b[r].K && b[r].K(A);
1952
1952
  }
1953
1953
  }
1954
1954
  k = p ? b[0].fromWireType(t) : void 0;
@@ -1957,24 +1957,24 @@ function pd(a, b, c, d, e) {
1957
1957
  }
1958
1958
  function rd(a, b) {
1959
1959
  for (var c = [], d = 0; d < a; d++) {
1960
- c.push(G[b + 4 * d >> 2]);
1960
+ c.push(N[b + 4 * d >> 2]);
1961
1961
  }
1962
1962
  return c;
1963
1963
  }
1964
1964
  function sd(a, b, c) {
1965
- a instanceof Object || U(`${c} with invalid "this": ${a}`);
1966
- a instanceof b.i.constructor || U(`${c} incompatible with "this" of type ${a.constructor.name}`);
1967
- a.g.o || U(`cannot call emscripten binding method ${c} on deleted object`);
1965
+ a instanceof Object || V(`${c} with invalid "this": ${a}`);
1966
+ a instanceof b.i.constructor || V(`${c} incompatible with "this" of type ${a.constructor.name}`);
1967
+ a.g.o || V(`cannot call emscripten binding method ${c} on deleted object`);
1968
1968
  return cd(a.g.o, a.g.u.i, b.i);
1969
1969
  }
1970
1970
  function td(a) {
1971
- a >= pc.h && 0 === --pc.get(a).ub && pc.ec(a);
1971
+ a >= U.h && 0 === --U.get(a).tb && U.Zb(a);
1972
1972
  }
1973
1973
  function ud(a, b, c) {
1974
1974
  switch(b) {
1975
1975
  case 0:
1976
1976
  return function(d) {
1977
- return this.fromWireType((c ? A : C)[d]);
1977
+ return this.fromWireType((c ? B : E)[d]);
1978
1978
  };
1979
1979
  case 1:
1980
1980
  return function(d) {
@@ -1982,7 +1982,7 @@ function ud(a, b, c) {
1982
1982
  };
1983
1983
  case 2:
1984
1984
  return function(d) {
1985
- return this.fromWireType((c ? F : G)[d >> 2]);
1985
+ return this.fromWireType((c ? L : N)[d >> 2]);
1986
1986
  };
1987
1987
  default:
1988
1988
  throw new TypeError("Unknown integer type: " + a);
@@ -2003,7 +2003,7 @@ function vd(a, b) {
2003
2003
  };
2004
2004
  case 3:
2005
2005
  return function(c) {
2006
- return this.fromWireType(Ga[c >> 3]);
2006
+ return this.fromWireType(Ia[c >> 3]);
2007
2007
  };
2008
2008
  default:
2009
2009
  throw new TypeError("Unknown float type: " + a);
@@ -2013,9 +2013,9 @@ function wd(a, b, c) {
2013
2013
  switch(b) {
2014
2014
  case 0:
2015
2015
  return c ? function(d) {
2016
- return A[d];
2016
+ return B[d];
2017
2017
  } : function(d) {
2018
- return C[d];
2018
+ return E[d];
2019
2019
  };
2020
2020
  case 1:
2021
2021
  return c ? function(d) {
@@ -2025,9 +2025,9 @@ function wd(a, b, c) {
2025
2025
  };
2026
2026
  case 2:
2027
2027
  return c ? function(d) {
2028
- return F[d >> 2];
2028
+ return L[d >> 2];
2029
2029
  } : function(d) {
2030
- return G[d >> 2];
2030
+ return N[d >> 2];
2031
2031
  };
2032
2032
  default:
2033
2033
  throw new TypeError("Unknown integer type: " + a);
@@ -2040,7 +2040,7 @@ var xd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
2040
2040
  }
2041
2041
  c <<= 1;
2042
2042
  if (32 < c - a && xd) {
2043
- return xd.decode(C.subarray(a, c));
2043
+ return xd.decode(E.subarray(a, c));
2044
2044
  }
2045
2045
  c = "";
2046
2046
  for (d = 0; !(d >= b / 2); ++d) {
@@ -2066,7 +2066,7 @@ var xd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
2066
2066
  return b - d;
2067
2067
  }, Ad = a => 2 * a.length, Bd = (a, b) => {
2068
2068
  for (var c = 0, d = ""; !(c >= b / 4);) {
2069
- var e = F[a + 4 * c >> 2];
2069
+ var e = L[a + 4 * c >> 2];
2070
2070
  if (0 == e) {
2071
2071
  break;
2072
2072
  }
@@ -2087,13 +2087,13 @@ var xd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
2087
2087
  var g = a.charCodeAt(++e);
2088
2088
  f = 65536 + ((f & 1023) << 10) | g & 1023;
2089
2089
  }
2090
- F[b >> 2] = f;
2090
+ L[b >> 2] = f;
2091
2091
  b += 4;
2092
2092
  if (b + 4 > c) {
2093
2093
  break;
2094
2094
  }
2095
2095
  }
2096
- F[b >> 2] = 0;
2096
+ L[b >> 2] = 0;
2097
2097
  return b - d;
2098
2098
  }, Dd = a => {
2099
2099
  for (var b = 0, c = 0; c < a.length; ++c) {
@@ -2115,7 +2115,7 @@ function Hd(a) {
2115
2115
  }
2116
2116
  function Id(a, b) {
2117
2117
  for (var c = Array(a), d = 0; d < a; ++d) {
2118
- c[d] = Fc(G[b + 4 * d >> 2], "parameter " + d);
2118
+ c[d] = Fc(N[b + 4 * d >> 2], "parameter " + d);
2119
2119
  }
2120
2120
  return c;
2121
2121
  }
@@ -2143,14 +2143,14 @@ var Jd = [], Kd = [], Ld = {}, Nd = () => {
2143
2143
  return e(k, t, "0");
2144
2144
  }
2145
2145
  function g(k, t) {
2146
- function r(E) {
2147
- return 0 > E ? -1 : 0 < E ? 1 : 0;
2146
+ function r(D) {
2147
+ return 0 > D ? -1 : 0 < D ? 1 : 0;
2148
2148
  }
2149
- var B;
2150
- 0 === (B = r(k.getFullYear() - t.getFullYear())) && 0 === (B = r(k.getMonth() - t.getMonth())) && (B = r(k.getDate() - t.getDate()));
2151
- return B;
2149
+ var A;
2150
+ 0 === (A = r(k.getFullYear() - t.getFullYear())) && 0 === (A = r(k.getMonth() - t.getMonth())) && (A = r(k.getDate() - t.getDate()));
2151
+ return A;
2152
2152
  }
2153
- function m(k) {
2153
+ function n(k) {
2154
2154
  switch(k.getDay()) {
2155
2155
  case 0:
2156
2156
  return new Date(k.getFullYear() - 1, 11, 29);
@@ -2171,77 +2171,77 @@ var Jd = [], Kd = [], Ld = {}, Nd = () => {
2171
2171
  function p(k) {
2172
2172
  var t = k.ca;
2173
2173
  for (k = new Date((new Date(k.da + 1900, 0, 1)).getTime()); 0 < t;) {
2174
- var r = k.getMonth(), B = (Od(k.getFullYear()) ? Pd : Qd)[r];
2175
- if (t > B - k.getDate()) {
2176
- t -= B - k.getDate() + 1, k.setDate(1), 11 > r ? k.setMonth(r + 1) : (k.setMonth(0), k.setFullYear(k.getFullYear() + 1));
2174
+ var r = k.getMonth(), A = (Od(k.getFullYear()) ? Pd : Qd)[r];
2175
+ if (t > A - k.getDate()) {
2176
+ t -= A - k.getDate() + 1, k.setDate(1), 11 > r ? k.setMonth(r + 1) : (k.setMonth(0), k.setFullYear(k.getFullYear() + 1));
2177
2177
  } else {
2178
2178
  k.setDate(k.getDate() + t);
2179
2179
  break;
2180
2180
  }
2181
2181
  }
2182
2182
  r = new Date(k.getFullYear() + 1, 0, 4);
2183
- t = m(new Date(k.getFullYear(), 0, 4));
2184
- r = m(r);
2183
+ t = n(new Date(k.getFullYear(), 0, 4));
2184
+ r = n(r);
2185
2185
  return 0 >= g(t, k) ? 0 >= g(r, k) ? k.getFullYear() + 1 : k.getFullYear() : k.getFullYear() - 1;
2186
2186
  }
2187
- var l = F[d + 40 >> 2];
2188
- d = {Ec:F[d >> 2], Dc:F[d + 4 >> 2], Fa:F[d + 8 >> 2], Ta:F[d + 12 >> 2], Ga:F[d + 16 >> 2], da:F[d + 20 >> 2], S:F[d + 24 >> 2], ca:F[d + 28 >> 2], Rc:F[d + 32 >> 2], Cc:F[d + 36 >> 2], Fc:l ? l ? lb(C, l) : "" : ""};
2189
- c = c ? lb(C, c) : "";
2187
+ var l = L[d + 40 >> 2];
2188
+ d = {wc:L[d >> 2], vc:L[d + 4 >> 2], Fa:L[d + 8 >> 2], Sa:L[d + 12 >> 2], Ga:L[d + 16 >> 2], da:L[d + 20 >> 2], R:L[d + 24 >> 2], ca:L[d + 28 >> 2], Rc:L[d + 32 >> 2], uc:L[d + 36 >> 2], xc:l ? l ? nb(E, l) : "" : ""};
2189
+ c = c ? nb(E, c) : "";
2190
2190
  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",};
2191
2191
  for (var u in l) {
2192
2192
  c = c.replace(new RegExp(u, "g"), l[u]);
2193
2193
  }
2194
- var v = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), y = "January February March April May June July August September October November December".split(" ");
2195
- l = {"%a":k => v[k.S].substring(0, 3), "%A":k => v[k.S], "%b":k => y[k.Ga].substring(0, 3), "%B":k => y[k.Ga], "%C":k => f((k.da + 1900) / 100 | 0, 2), "%d":k => f(k.Ta, 2), "%e":k => e(k.Ta, 2, " "), "%g":k => p(k).toString().substring(2), "%G":k => p(k), "%H":k => f(k.Fa, 2), "%I":k => {
2194
+ var v = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), x = "January February March April May June July August September October November December".split(" ");
2195
+ l = {"%a":k => v[k.R].substring(0, 3), "%A":k => v[k.R], "%b":k => x[k.Ga].substring(0, 3), "%B":k => x[k.Ga], "%C":k => f((k.da + 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.Fa, 2), "%I":k => {
2196
2196
  k = k.Fa;
2197
2197
  0 == k ? k = 12 : 12 < k && (k -= 12);
2198
2198
  return f(k, 2);
2199
2199
  }, "%j":k => {
2200
2200
  for (var t = 0, r = 0; r <= k.Ga - 1; t += (Od(k.da + 1900) ? Pd : Qd)[r++]) {
2201
2201
  }
2202
- return f(k.Ta + t, 3);
2203
- }, "%m":k => f(k.Ga + 1, 2), "%M":k => f(k.Dc, 2), "%n":() => "\n", "%p":k => 0 <= k.Fa && 12 > k.Fa ? "AM" : "PM", "%S":k => f(k.Ec, 2), "%t":() => "\t", "%u":k => k.S || 7, "%U":k => f(Math.floor((k.ca + 7 - k.S) / 7), 2), "%V":k => {
2204
- var t = Math.floor((k.ca + 7 - (k.S + 6) % 7) / 7);
2205
- 2 >= (k.S + 371 - k.ca - 2) % 7 && t++;
2202
+ return f(k.Sa + t, 3);
2203
+ }, "%m":k => f(k.Ga + 1, 2), "%M":k => f(k.vc, 2), "%n":() => "\n", "%p":k => 0 <= k.Fa && 12 > k.Fa ? "AM" : "PM", "%S":k => f(k.wc, 2), "%t":() => "\t", "%u":k => k.R || 7, "%U":k => f(Math.floor((k.ca + 7 - k.R) / 7), 2), "%V":k => {
2204
+ var t = Math.floor((k.ca + 7 - (k.R + 6) % 7) / 7);
2205
+ 2 >= (k.R + 371 - k.ca - 2) % 7 && t++;
2206
2206
  if (t) {
2207
- 53 == t && (r = (k.S + 371 - k.ca) % 7, 4 == r || 3 == r && Od(k.da) || (t = 1));
2207
+ 53 == t && (r = (k.R + 371 - k.ca) % 7, 4 == r || 3 == r && Od(k.da) || (t = 1));
2208
2208
  } else {
2209
2209
  t = 52;
2210
- var r = (k.S + 7 - k.ca - 1) % 7;
2210
+ var r = (k.R + 7 - k.ca - 1) % 7;
2211
2211
  (4 == r || 5 == r && Od(k.da % 400 - 1)) && t++;
2212
2212
  }
2213
2213
  return f(t, 2);
2214
- }, "%w":k => k.S, "%W":k => f(Math.floor((k.ca + 7 - (k.S + 6) % 7) / 7), 2), "%y":k => (k.da + 1900).toString().substring(2), "%Y":k => k.da + 1900, "%z":k => {
2215
- k = k.Cc;
2214
+ }, "%w":k => k.R, "%W":k => f(Math.floor((k.ca + 7 - (k.R + 6) % 7) / 7), 2), "%y":k => (k.da + 1900).toString().substring(2), "%Y":k => k.da + 1900, "%z":k => {
2215
+ k = k.uc;
2216
2216
  var t = 0 <= k;
2217
2217
  k = Math.abs(k) / 60;
2218
2218
  return (t ? "+" : "-") + String("0000" + (k / 60 * 100 + k % 60)).slice(-4);
2219
- }, "%Z":k => k.Fc, "%%":() => "%"};
2219
+ }, "%Z":k => k.xc, "%%":() => "%"};
2220
2220
  c = c.replace(/%%/g, "\x00\x00");
2221
2221
  for (u in l) {
2222
2222
  c.includes(u) && (c = c.replace(new RegExp(u, "g"), l[u](d)));
2223
2223
  }
2224
2224
  c = c.replace(/\0\0/g, "%");
2225
- u = pb(c, !1);
2225
+ u = rb(c, !1);
2226
2226
  if (u.length > b) {
2227
2227
  return 0;
2228
2228
  }
2229
- A.set(u, a);
2229
+ B.set(u, a);
2230
2230
  return u.length - 1;
2231
2231
  };
2232
- function Nb(a, b, c, d) {
2232
+ function Pb(a, b, c, d) {
2233
2233
  a || (a = this);
2234
2234
  this.parent = a;
2235
- this.V = a.V;
2236
- this.xa = null;
2237
- this.id = Fb++;
2235
+ this.U = a.U;
2236
+ this.wa = null;
2237
+ this.id = Hb++;
2238
2238
  this.name = b;
2239
2239
  this.mode = c;
2240
- this.j = {};
2240
+ this.l = {};
2241
2241
  this.m = {};
2242
- this.ma = d;
2242
+ this.za = d;
2243
2243
  }
2244
- Object.defineProperties(Nb.prototype, {read:{get:function() {
2244
+ Object.defineProperties(Pb.prototype, {read:{get:function() {
2245
2245
  return 365 === (this.mode & 365);
2246
2246
  }, set:function(a) {
2247
2247
  a ? this.mode |= 365 : this.mode &= -366;
@@ -2250,90 +2250,90 @@ Object.defineProperties(Nb.prototype, {read:{get:function() {
2250
2250
  }, set:function(a) {
2251
2251
  a ? this.mode |= 146 : this.mode &= -147;
2252
2252
  }}});
2253
- fc();
2254
- Gb = Array(4096);
2255
- Ub(T, "/");
2256
- Vb("/tmp", 16895, 0);
2257
- Vb("/home", 16895, 0);
2258
- Vb("/home/web_user", 16895, 0);
2253
+ gc();
2254
+ Ib = Array(4096);
2255
+ Wb(P, "/");
2256
+ S("/tmp", 16895, 0);
2257
+ S("/home", 16895, 0);
2258
+ S("/home/web_user", 16895, 0);
2259
2259
  (() => {
2260
- Vb("/dev", 16895, 0);
2261
- sb(259, {read:() => 0, write:(d, e, f, g) => g,});
2262
- Wb("/dev/null", 259);
2263
- rb(1280, ub);
2264
- rb(1536, vb);
2265
- Wb("/dev/tty", 1280);
2266
- Wb("/dev/tty1", 1536);
2260
+ S("/dev", 16895, 0);
2261
+ ub(259, {read:() => 0, write:(d, e, f, g) => g,});
2262
+ Xb("/dev/null", 259);
2263
+ tb(1280, wb);
2264
+ tb(1536, xb);
2265
+ Xb("/dev/tty", 1280);
2266
+ Xb("/dev/tty1", 1536);
2267
2267
  var a = new Uint8Array(1024), b = 0, c = () => {
2268
- 0 === b && (b = ib(a).byteLength);
2268
+ 0 === b && (b = kb(a).byteLength);
2269
2269
  return a[--b];
2270
2270
  };
2271
- ic("random", c);
2272
- ic("urandom", c);
2273
- Vb("/dev/shm", 16895, 0);
2274
- Vb("/dev/shm/tmp", 16895, 0);
2271
+ jc("random", c);
2272
+ jc("urandom", c);
2273
+ S("/dev/shm", 16895, 0);
2274
+ S("/dev/shm/tmp", 16895, 0);
2275
2275
  })();
2276
2276
  (() => {
2277
- Vb("/proc", 16895, 0);
2278
- var a = Vb("/proc/self", 16895, 0);
2279
- Vb("/proc/self/fd", 16895, 0);
2280
- Ub({V:() => {
2281
- var b = yb(a, "fd", 16895, 73);
2282
- b.j = {ka:(c, d) => {
2283
- var e = Rb(+d);
2284
- c = {parent:null, V:{nb:"fake"}, j:{na:() => e.path},};
2277
+ S("/proc", 16895, 0);
2278
+ var a = S("/proc/self", 16895, 0);
2279
+ S("/proc/self/fd", 16895, 0);
2280
+ Wb({U:() => {
2281
+ var b = Ab(a, "fd", 16895, 73);
2282
+ b.l = {ka:(c, d) => {
2283
+ var e = Tb(+d);
2284
+ c = {parent:null, U:{mb:"fake"}, l:{ma:() => e.path},};
2285
2285
  return c.parent = c;
2286
2286
  }};
2287
2287
  return b;
2288
2288
  }}, "/proc/self/fd");
2289
2289
  })();
2290
- Object.assign(oc.prototype, {get(a) {
2290
+ Object.assign(pc.prototype, {get(a) {
2291
2291
  return this.M[a];
2292
2292
  }, has(a) {
2293
2293
  return void 0 !== this.M[a];
2294
- }, qa(a) {
2294
+ }, pa(a) {
2295
2295
  var b = this.hb.pop() || this.M.length;
2296
2296
  this.M[b] = a;
2297
2297
  return b;
2298
- }, ec(a) {
2298
+ }, Zb(a) {
2299
2299
  this.M[a] = void 0;
2300
2300
  this.hb.push(a);
2301
2301
  }});
2302
- qc = n.BindingError = class extends Error {
2302
+ qc = m.BindingError = class extends Error {
2303
2303
  constructor(a) {
2304
2304
  super(a);
2305
2305
  this.name = "BindingError";
2306
2306
  }
2307
2307
  };
2308
- pc.M.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
2309
- pc.h = pc.M.length;
2310
- n.count_emval_handles = function() {
2311
- for (var a = 0, b = pc.h; b < pc.M.length; ++b) {
2312
- void 0 !== pc.M[b] && ++a;
2308
+ U.M.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
2309
+ U.h = U.M.length;
2310
+ m.count_emval_handles = function() {
2311
+ for (var a = 0, b = U.h; b < U.M.length; ++b) {
2312
+ void 0 !== U.M[b] && ++a;
2313
2313
  }
2314
2314
  return a;
2315
2315
  };
2316
- uc = n.PureVirtualError = tc("PureVirtualError");
2316
+ uc = m.PureVirtualError = tc("PureVirtualError");
2317
2317
  for (var Sd = Array(256), Td = 0; 256 > Td; ++Td) {
2318
2318
  Sd[Td] = String.fromCharCode(Td);
2319
2319
  }
2320
2320
  vc = Sd;
2321
- n.getInheritedInstanceCount = function() {
2321
+ m.getInheritedInstanceCount = function() {
2322
2322
  return Object.keys(zc).length;
2323
2323
  };
2324
- n.getLiveInheritedInstances = function() {
2324
+ m.getLiveInheritedInstances = function() {
2325
2325
  var a = [], b;
2326
2326
  for (b in zc) {
2327
2327
  zc.hasOwnProperty(b) && a.push(zc[b]);
2328
2328
  }
2329
2329
  return a;
2330
2330
  };
2331
- n.flushPendingDeletes = xc;
2332
- n.setDelayFunction = function(a) {
2331
+ m.flushPendingDeletes = xc;
2332
+ m.setDelayFunction = function(a) {
2333
2333
  yc = a;
2334
2334
  wc.length && yc && yc(xc);
2335
2335
  };
2336
- Mc = n.InternalError = class extends Error {
2336
+ Mc = m.InternalError = class extends Error {
2337
2337
  constructor(a) {
2338
2338
  super(a);
2339
2339
  this.name = "InternalError";
@@ -2345,10 +2345,10 @@ Zc.prototype.isAliasOf = function(a) {
2345
2345
  }
2346
2346
  var b = this.g.u.i, c = this.g.o, d = a.g.u.i;
2347
2347
  for (a = a.g.o; b.A;) {
2348
- c = b.oa(c), b = b.A;
2348
+ c = b.na(c), b = b.A;
2349
2349
  }
2350
2350
  for (; d.A;) {
2351
- a = d.oa(a), d = d.A;
2351
+ a = d.na(a), d = d.A;
2352
2352
  }
2353
2353
  return b === d && c === a;
2354
2354
  };
@@ -2365,7 +2365,7 @@ Zc.prototype.clone = function() {
2365
2365
  };
2366
2366
  Zc.prototype["delete"] = function() {
2367
2367
  this.g.o || Yc(this);
2368
- this.g.fa && !this.g.ia && U("Object already scheduled for deletion");
2368
+ this.g.fa && !this.g.ia && V("Object already scheduled for deletion");
2369
2369
  Gc(this);
2370
2370
  Ic(this.g);
2371
2371
  this.g.ia || (this.g.G = void 0, this.g.o = void 0);
@@ -2375,18 +2375,18 @@ Zc.prototype.isDeleted = function() {
2375
2375
  };
2376
2376
  Zc.prototype.deleteLater = function() {
2377
2377
  this.g.o || Yc(this);
2378
- this.g.fa && !this.g.ia && U("Object already scheduled for deletion");
2378
+ this.g.fa && !this.g.ia && V("Object already scheduled for deletion");
2379
2379
  wc.push(this);
2380
2380
  1 === wc.length && yc && yc(xc);
2381
2381
  this.g.fa = !0;
2382
2382
  return this;
2383
2383
  };
2384
- hd.prototype.$b = function(a) {
2385
- this.sb && (a = this.sb(a));
2384
+ hd.prototype.Vb = function(a) {
2385
+ this.rb && (a = this.rb(a));
2386
2386
  return a;
2387
2387
  };
2388
- hd.prototype.bb = function(a) {
2389
- this.X && this.X(a);
2388
+ hd.prototype.ab = function(a) {
2389
+ this.W && this.W(a);
2390
2390
  };
2391
2391
  hd.prototype.argPackAdvance = 8;
2392
2392
  hd.prototype.readValueFromPointer = Sc;
@@ -2397,11 +2397,11 @@ hd.prototype.deleteObject = function(a) {
2397
2397
  };
2398
2398
  hd.prototype.fromWireType = function(a) {
2399
2399
  function b() {
2400
- return this.va ? Oc(this.i.O, {u:this.vc, o:c, L:this, G:a,}) : Oc(this.i.O, {u:this, o:a,});
2400
+ return this.ua ? Oc(this.i.N, {u:this.nc, o:c, L:this, G:a,}) : Oc(this.i.N, {u:this, o:a,});
2401
2401
  }
2402
- var c = this.$b(a);
2402
+ var c = this.Vb(a);
2403
2403
  if (!c) {
2404
- return this.bb(a), null;
2404
+ return this.ab(a), null;
2405
2405
  }
2406
2406
  var d = Lc(this.i, c);
2407
2407
  if (void 0 !== d) {
@@ -2409,36 +2409,36 @@ hd.prototype.fromWireType = function(a) {
2409
2409
  return d.g.o = c, d.g.G = a, d.clone();
2410
2410
  }
2411
2411
  d = d.clone();
2412
- this.bb(a);
2412
+ this.ab(a);
2413
2413
  return d;
2414
2414
  }
2415
- d = this.i.Zb(c);
2415
+ d = this.i.Ub(c);
2416
2416
  d = Kc[d];
2417
2417
  if (!d) {
2418
2418
  return b.call(this);
2419
2419
  }
2420
- d = this.ua ? d.Nb : d.pointerType;
2420
+ d = this.ta ? d.Kb : d.pointerType;
2421
2421
  var e = Jc(c, this.i, d.i);
2422
- return null === e ? b.call(this) : this.va ? Oc(d.i.O, {u:d, o:e, L:this, G:a,}) : Oc(d.i.O, {u:d, o:e,});
2422
+ return null === e ? b.call(this) : this.ua ? Oc(d.i.N, {u:d, o:e, L:this, G:a,}) : Oc(d.i.N, {u:d, o:e,});
2423
2423
  };
2424
- nd = n.UnboundTypeError = tc("UnboundTypeError");
2424
+ nd = m.UnboundTypeError = tc("UnboundTypeError");
2425
2425
  var Wd = {__syscall_fcntl64:function(a, b, c) {
2426
- kc = c;
2426
+ lc = c;
2427
2427
  try {
2428
- var d = Rb(a);
2428
+ var d = Tb(a);
2429
2429
  switch(b) {
2430
2430
  case 0:
2431
- var e = lc();
2432
- return 0 > e ? -28 : Tb(d, e).Z;
2431
+ var e = mc();
2432
+ return 0 > e ? -28 : Vb(d, e).X;
2433
2433
  case 1:
2434
2434
  case 2:
2435
2435
  return 0;
2436
2436
  case 3:
2437
2437
  return d.flags;
2438
2438
  case 4:
2439
- return e = lc(), d.flags |= e, 0;
2439
+ return e = mc(), d.flags |= e, 0;
2440
2440
  case 5:
2441
- return e = lc(), Da[e + 0 >> 1] = 2, 0;
2441
+ return e = mc(), Da[e + 0 >> 1] = 2, 0;
2442
2442
  case 6:
2443
2443
  case 7:
2444
2444
  return 0;
@@ -2446,76 +2446,20 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2446
2446
  case 8:
2447
2447
  return -28;
2448
2448
  case 9:
2449
- return F[Ud() >> 2] = 28, -1;
2449
+ return L[Ud() >> 2] = 28, -1;
2450
2450
  default:
2451
2451
  return -28;
2452
2452
  }
2453
2453
  } catch (f) {
2454
- if ("undefined" == typeof jc || "ErrnoError" !== f.name) {
2454
+ if ("undefined" == typeof kc || "ErrnoError" !== f.name) {
2455
2455
  throw f;
2456
2456
  }
2457
- return -f.Y;
2458
- }
2459
- }, __syscall_fstat64:function(a, b) {
2460
- try {
2461
- a: {
2462
- var c = Rb(a).path;
2463
- try {
2464
- var d = Jb(c, {Ma:!0}).node;
2465
- if (!d) {
2466
- throw new Q(44);
2467
- }
2468
- if (!d.j.N) {
2469
- throw new Q(63);
2470
- }
2471
- var e = d.j.N(d);
2472
- } catch (l) {
2473
- if (l && l.node && eb(c) !== eb(Kb(l.node))) {
2474
- var f = -54;
2475
- break a;
2476
- }
2477
- throw l;
2478
- }
2479
- F[b >> 2] = e.Sb;
2480
- F[b + 4 >> 2] = e.mode;
2481
- G[b + 8 >> 2] = e.uc;
2482
- F[b + 12 >> 2] = e.uid;
2483
- F[b + 16 >> 2] = e.dc;
2484
- F[b + 20 >> 2] = e.ma;
2485
- P = [e.size >>> 0, (N = e.size, 1.0 <= +Math.abs(N) ? 0.0 < N ? +Math.floor(N / 4294967296.0) >>> 0 : ~~+Math.ceil((N - +(~~N >>> 0)) / 4294967296.0) >>> 0 : 0)];
2486
- F[b + 24 >> 2] = P[0];
2487
- F[b + 28 >> 2] = P[1];
2488
- F[b + 32 >> 2] = 4096;
2489
- F[b + 36 >> 2] = e.Mb;
2490
- var g = e.Kb.getTime(), m = e.rc.getTime(), p = e.Pb.getTime();
2491
- P = [Math.floor(g / 1000) >>> 0, (N = Math.floor(g / 1000), 1.0 <= +Math.abs(N) ? 0.0 < N ? +Math.floor(N / 4294967296.0) >>> 0 : ~~+Math.ceil((N - +(~~N >>> 0)) / 4294967296.0) >>> 0 : 0)];
2492
- F[b + 40 >> 2] = P[0];
2493
- F[b + 44 >> 2] = P[1];
2494
- G[b + 48 >> 2] = g % 1000 * 1000;
2495
- P = [Math.floor(m / 1000) >>> 0, (N = Math.floor(m / 1000), 1.0 <= +Math.abs(N) ? 0.0 < N ? +Math.floor(N / 4294967296.0) >>> 0 : ~~+Math.ceil((N - +(~~N >>> 0)) / 4294967296.0) >>> 0 : 0)];
2496
- F[b + 56 >> 2] = P[0];
2497
- F[b + 60 >> 2] = P[1];
2498
- G[b + 64 >> 2] = m % 1000 * 1000;
2499
- P = [Math.floor(p / 1000) >>> 0, (N = Math.floor(p / 1000), 1.0 <= +Math.abs(N) ? 0.0 < N ? +Math.floor(N / 4294967296.0) >>> 0 : ~~+Math.ceil((N - +(~~N >>> 0)) / 4294967296.0) >>> 0 : 0)];
2500
- F[b + 72 >> 2] = P[0];
2501
- F[b + 76 >> 2] = P[1];
2502
- G[b + 80 >> 2] = p % 1000 * 1000;
2503
- P = [e.kb >>> 0, (N = e.kb, 1.0 <= +Math.abs(N) ? 0.0 < N ? +Math.floor(N / 4294967296.0) >>> 0 : ~~+Math.ceil((N - +(~~N >>> 0)) / 4294967296.0) >>> 0 : 0)];
2504
- F[b + 88 >> 2] = P[0];
2505
- F[b + 92 >> 2] = P[1];
2506
- f = 0;
2507
- }
2508
- return f;
2509
- } catch (l) {
2510
- if ("undefined" == typeof jc || "ErrnoError" !== l.name) {
2511
- throw l;
2512
- }
2513
- return -l.Y;
2457
+ return -f.aa;
2514
2458
  }
2515
2459
  }, __syscall_ioctl:function(a, b, c) {
2516
- kc = c;
2460
+ lc = c;
2517
2461
  try {
2518
- var d = Rb(a);
2462
+ var d = Tb(a);
2519
2463
  switch(b) {
2520
2464
  case 21509:
2521
2465
  return d.s ? 0 : -59;
@@ -2523,15 +2467,15 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2523
2467
  if (!d.s) {
2524
2468
  return -59;
2525
2469
  }
2526
- if (d.s.W.ic) {
2470
+ if (d.s.V.bc) {
2527
2471
  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,];
2528
- var e = lc();
2529
- F[e >> 2] = 25856;
2530
- F[e + 4 >> 2] = 5;
2531
- F[e + 8 >> 2] = 191;
2532
- F[e + 12 >> 2] = 35387;
2472
+ var e = mc();
2473
+ L[e >> 2] = 25856;
2474
+ L[e + 4 >> 2] = 5;
2475
+ L[e + 8 >> 2] = 191;
2476
+ L[e + 12 >> 2] = 35387;
2533
2477
  for (var f = 0; 32 > f; f++) {
2534
- A[e + f + 17 >> 0] = b[f] || 0;
2478
+ B[e + f + 17 >> 0] = b[f] || 0;
2535
2479
  }
2536
2480
  }
2537
2481
  return 0;
@@ -2545,9 +2489,9 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2545
2489
  if (!d.s) {
2546
2490
  return -59;
2547
2491
  }
2548
- if (d.s.W.jc) {
2549
- for (e = lc(), b = [], f = 0; 32 > f; f++) {
2550
- b.push(A[e + f + 17 >> 0]);
2492
+ if (d.s.V.cc) {
2493
+ for (e = mc(), b = [], f = 0; 32 > f; f++) {
2494
+ b.push(B[e + f + 17 >> 0]);
2551
2495
  }
2552
2496
  }
2553
2497
  return 0;
@@ -2555,21 +2499,21 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2555
2499
  if (!d.s) {
2556
2500
  return -59;
2557
2501
  }
2558
- e = lc();
2559
- return F[e >> 2] = 0;
2502
+ e = mc();
2503
+ return L[e >> 2] = 0;
2560
2504
  case 21520:
2561
2505
  return d.s ? -28 : -59;
2562
2506
  case 21531:
2563
- e = lc();
2564
- if (!d.m.hc) {
2565
- throw new Q(59);
2507
+ e = mc();
2508
+ if (!d.m.ac) {
2509
+ throw new O(59);
2566
2510
  }
2567
- return d.m.hc(d, b, e);
2511
+ return d.m.ac(d, b, e);
2568
2512
  case 21523:
2569
2513
  if (!d.s) {
2570
2514
  return -59;
2571
2515
  }
2572
- d.s.W.kc && (f = [24, 80], e = lc(), Da[e >> 1] = f[0], Da[e + 2 >> 1] = f[1]);
2516
+ d.s.V.dc && (f = [24, 80], e = mc(), Da[e >> 1] = f[0], Da[e + 2 >> 1] = f[1]);
2573
2517
  return 0;
2574
2518
  case 21524:
2575
2519
  return d.s ? 0 : -59;
@@ -2579,40 +2523,40 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2579
2523
  return -28;
2580
2524
  }
2581
2525
  } catch (g) {
2582
- if ("undefined" == typeof jc || "ErrnoError" !== g.name) {
2526
+ if ("undefined" == typeof kc || "ErrnoError" !== g.name) {
2583
2527
  throw g;
2584
2528
  }
2585
- return -g.Y;
2529
+ return -g.aa;
2586
2530
  }
2587
2531
  }, __syscall_openat:function(a, b, c, d) {
2588
- kc = d;
2532
+ lc = d;
2589
2533
  try {
2590
- b = b ? lb(C, b) : "";
2534
+ b = b ? nb(E, b) : "";
2591
2535
  var e = b;
2592
2536
  if ("/" === e.charAt(0)) {
2593
2537
  b = e;
2594
2538
  } else {
2595
- var f = -100 === a ? "/" : Rb(a).path;
2539
+ var f = -100 === a ? "/" : Tb(a).path;
2596
2540
  if (0 == e.length) {
2597
- throw new Q(44);
2541
+ throw new O(44);
2598
2542
  }
2599
- b = eb(f + "/" + e);
2543
+ b = gb(f + "/" + e);
2600
2544
  }
2601
- var g = d ? lc() : 0;
2602
- return dc(b, c, g).Z;
2603
- } catch (m) {
2604
- if ("undefined" == typeof jc || "ErrnoError" !== m.name) {
2605
- throw m;
2545
+ var g = d ? mc() : 0;
2546
+ return ec(b, c, g).X;
2547
+ } catch (n) {
2548
+ if ("undefined" == typeof kc || "ErrnoError" !== n.name) {
2549
+ throw n;
2606
2550
  }
2607
- return -m.Y;
2551
+ return -n.aa;
2608
2552
  }
2609
2553
  }, _embind_create_inheriting_constructor:function(a, b, c) {
2610
2554
  a = W(a);
2611
2555
  b = Fc(b, "wrapper");
2612
2556
  c = rc(c);
2613
- var d = [].slice, e = b.i, f = e.O, g = e.A.O, m = e.A.constructor;
2614
- a = nc(a, function() {
2615
- e.A.rb.forEach(function(l) {
2557
+ var d = [].slice, e = b.i, f = e.N, g = e.A.N, n = e.A.constructor;
2558
+ a = oc(a, function() {
2559
+ e.A.qb.forEach(function(l) {
2616
2560
  if (this[l] === g[l]) {
2617
2561
  throw new uc(`Pure virtual function ${l} must be implemented in JavaScript`);
2618
2562
  }
@@ -2621,8 +2565,8 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2621
2565
  this.__construct.apply(this, d.call(arguments));
2622
2566
  });
2623
2567
  f.__construct = function() {
2624
- this === f && U("Pass correct 'this' to __construct");
2625
- var l = m.implement.apply(void 0, [this].concat(d.call(arguments)));
2568
+ this === f && V("Pass correct 'this' to __construct");
2569
+ var l = n.implement.apply(void 0, [this].concat(d.call(arguments)));
2626
2570
  Gc(l);
2627
2571
  var u = l.g;
2628
2572
  l.notifyOnDestruction();
@@ -2631,14 +2575,14 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2631
2575
  Pc(this);
2632
2576
  l = u.o;
2633
2577
  l = Ac(e, l);
2634
- zc.hasOwnProperty(l) ? U(`Tried to register registered instance: ${l}`) : zc[l] = this;
2578
+ zc.hasOwnProperty(l) ? V(`Tried to register registered instance: ${l}`) : zc[l] = this;
2635
2579
  };
2636
2580
  f.__destruct = function() {
2637
- this === f && U("Pass correct 'this' to __destruct");
2581
+ this === f && V("Pass correct 'this' to __destruct");
2638
2582
  Gc(this);
2639
2583
  var l = this.g.o;
2640
2584
  l = Ac(e, l);
2641
- zc.hasOwnProperty(l) ? delete zc[l] : U(`Tried to unregister unregistered instance: ${l}`);
2585
+ zc.hasOwnProperty(l) ? delete zc[l] : V(`Tried to unregister unregistered instance: ${l}`);
2642
2586
  };
2643
2587
  a.prototype = Object.create(f);
2644
2588
  for (var p in c) {
@@ -2648,33 +2592,33 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2648
2592
  }, _embind_finalize_value_object:function(a) {
2649
2593
  var b = Qc[a];
2650
2594
  delete Qc[a];
2651
- var c = b.Qa, d = b.X, e = b.fb, f = e.map(g => g.cc).concat(e.map(g => g.zc));
2652
- X([a], f, g => {
2653
- var m = {};
2595
+ var c = b.Pa, d = b.W, e = b.eb, f = e.map(g => g.Yb).concat(e.map(g => g.rc));
2596
+ Y([a], f, g => {
2597
+ var n = {};
2654
2598
  e.forEach((p, l) => {
2655
- var u = g[l], v = p.ac, y = p.bc, k = g[l + e.length], t = p.yc, r = p.Ac;
2656
- m[p.Xb] = {read:B => u.fromWireType(v(y, B)), write:(B, E) => {
2599
+ var u = g[l], v = p.Wb, x = p.Xb, k = g[l + e.length], t = p.qc, r = p.sc;
2600
+ n[p.Sb] = {read:A => u.fromWireType(v(x, A)), write:(A, D) => {
2657
2601
  var w = [];
2658
- t(r, B, k.toWireType(w, E));
2602
+ t(r, A, k.toWireType(w, D));
2659
2603
  Rc(w);
2660
2604
  }};
2661
2605
  });
2662
2606
  return [{name:b.name, fromWireType:function(p) {
2663
2607
  var l = {}, u;
2664
- for (u in m) {
2665
- l[u] = m[u].read(p);
2608
+ for (u in n) {
2609
+ l[u] = n[u].read(p);
2666
2610
  }
2667
2611
  d(p);
2668
2612
  return l;
2669
2613
  }, toWireType:function(p, l) {
2670
- for (var u in m) {
2614
+ for (var u in n) {
2671
2615
  if (!(u in l)) {
2672
2616
  throw new TypeError(`Missing field: "${u}"`);
2673
2617
  }
2674
2618
  }
2675
2619
  var v = c();
2676
- for (u in m) {
2677
- m[u].write(v, l[u]);
2620
+ for (u in n) {
2621
+ n[u].write(v, l[u]);
2678
2622
  }
2679
2623
  null !== p && p.push(d, v);
2680
2624
  return v;
@@ -2686,186 +2630,186 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2686
2630
  b = W(b);
2687
2631
  Vc(a, {name:b, fromWireType:function(g) {
2688
2632
  return !!g;
2689
- }, toWireType:function(g, m) {
2690
- return m ? d : e;
2633
+ }, toWireType:function(g, n) {
2634
+ return n ? d : e;
2691
2635
  }, argPackAdvance:8, readValueFromPointer:function(g) {
2692
2636
  if (1 === c) {
2693
- var m = A;
2637
+ var n = B;
2694
2638
  } else if (2 === c) {
2695
- m = Da;
2639
+ n = Da;
2696
2640
  } else if (4 === c) {
2697
- m = F;
2641
+ n = L;
2698
2642
  } else {
2699
2643
  throw new TypeError("Unknown boolean type size: " + b);
2700
2644
  }
2701
- return this.fromWireType(m[g >> f]);
2645
+ return this.fromWireType(n[g >> f]);
2702
2646
  }, K:null,});
2703
- }, _embind_register_class:function(a, b, c, d, e, f, g, m, p, l, u, v, y) {
2647
+ }, _embind_register_class:function(a, b, c, d, e, f, g, n, p, l, u, v, x) {
2704
2648
  u = W(u);
2705
- f = Y(e, f);
2706
- m && (m = Y(g, m));
2707
- l && (l = Y(p, l));
2708
- y = Y(v, y);
2709
- var k = mc(u);
2649
+ f = Z(e, f);
2650
+ n && (n = Z(g, n));
2651
+ l && (l = Z(p, l));
2652
+ x = Z(v, x);
2653
+ var k = nc(u);
2710
2654
  ad(k, function() {
2711
2655
  od(`Cannot construct ${u} due to unbound types`, [d]);
2712
2656
  });
2713
- X([a, b, c], d ? [d] : [], function(t) {
2657
+ Y([a, b, c], d ? [d] : [], function(t) {
2714
2658
  t = t[0];
2715
2659
  if (d) {
2716
2660
  var r = t.i;
2717
- var B = r.O;
2661
+ var A = r.N;
2718
2662
  } else {
2719
- B = Zc.prototype;
2663
+ A = Zc.prototype;
2720
2664
  }
2721
- t = nc(k, function() {
2722
- if (Object.getPrototypeOf(this) !== E) {
2665
+ t = oc(k, function() {
2666
+ if (Object.getPrototypeOf(this) !== D) {
2723
2667
  throw new qc("Use 'new' to construct " + u);
2724
2668
  }
2725
- if (void 0 === w.aa) {
2669
+ if (void 0 === w.$) {
2726
2670
  throw new qc(u + " has no accessible constructor");
2727
2671
  }
2728
- var V = w.aa[arguments.length];
2729
- if (void 0 === V) {
2730
- throw new qc(`Tried to invoke ctor of ${u} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(w.aa).toString()}) parameters instead!`);
2672
+ var T = w.$[arguments.length];
2673
+ if (void 0 === T) {
2674
+ throw new qc(`Tried to invoke ctor of ${u} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(w.$).toString()}) parameters instead!`);
2731
2675
  }
2732
- return V.apply(this, arguments);
2676
+ return T.apply(this, arguments);
2733
2677
  });
2734
- var E = Object.create(B, {constructor:{value:t},});
2735
- t.prototype = E;
2736
- var w = new bd(u, t, E, y, r, f, m, l);
2737
- w.A && (void 0 === w.A.pa && (w.A.pa = []), w.A.pa.push(w));
2678
+ var D = Object.create(A, {constructor:{value:t},});
2679
+ t.prototype = D;
2680
+ var w = new bd(u, t, D, x, r, f, n, l);
2681
+ w.A && (void 0 === w.A.oa && (w.A.oa = []), w.A.oa.push(w));
2738
2682
  r = new hd(u, w, !0, !1);
2739
- B = new hd(u + "*", w, !1, !1);
2740
- var O = new hd(u + " const*", w, !1, !0);
2741
- Kc[a] = {pointerType:B, Nb:O};
2683
+ A = new hd(u + "*", w, !1, !1);
2684
+ var M = new hd(u + " const*", w, !1, !0);
2685
+ Kc[a] = {pointerType:A, Kb:M};
2742
2686
  jd(k, t);
2743
- return [r, B, O];
2687
+ return [r, A, M];
2744
2688
  });
2745
2689
  }, _embind_register_class_class_function:function(a, b, c, d, e, f, g) {
2746
- var m = rd(c, d);
2690
+ var n = rd(c, d);
2747
2691
  b = W(b);
2748
- f = Y(e, f);
2749
- X([], [a], function(p) {
2692
+ f = Z(e, f);
2693
+ Y([], [a], function(p) {
2750
2694
  function l() {
2751
- od(`Cannot call ${u} due to unbound types`, m);
2695
+ od(`Cannot call ${u} due to unbound types`, n);
2752
2696
  }
2753
2697
  p = p[0];
2754
2698
  var u = `${p.name}.${b}`;
2755
2699
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2756
2700
  var v = p.i.constructor;
2757
2701
  void 0 === v[b] ? (l.ea = c - 1, v[b] = l) : ($c(v, b, u), v[b].B[c - 1] = l);
2758
- X([], m, function(y) {
2759
- y = pd(u, [y[0], null].concat(y.slice(1)), null, f, g);
2760
- void 0 === v[b].B ? (y.ea = c - 1, v[b] = y) : v[b].B[c - 1] = y;
2761
- if (p.i.pa) {
2762
- for (const k of p.i.pa) {
2763
- k.constructor.hasOwnProperty(b) || (k.constructor[b] = y);
2702
+ Y([], n, function(x) {
2703
+ x = pd(u, [x[0], null].concat(x.slice(1)), null, f, g);
2704
+ void 0 === v[b].B ? (x.ea = c - 1, v[b] = x) : v[b].B[c - 1] = x;
2705
+ if (p.i.oa) {
2706
+ for (const k of p.i.oa) {
2707
+ k.constructor.hasOwnProperty(b) || (k.constructor[b] = x);
2764
2708
  }
2765
2709
  }
2766
2710
  return [];
2767
2711
  });
2768
2712
  return [];
2769
2713
  });
2770
- }, _embind_register_class_class_property:function(a, b, c, d, e, f, g, m) {
2714
+ }, _embind_register_class_class_property:function(a, b, c, d, e, f, g, n) {
2771
2715
  b = W(b);
2772
- f = Y(e, f);
2773
- X([], [a], function(p) {
2716
+ f = Z(e, f);
2717
+ Y([], [a], function(p) {
2774
2718
  p = p[0];
2775
2719
  var l = `${p.name}.${b}`, u = {get() {
2776
2720
  od(`Cannot access ${l} due to unbound types`, [c]);
2777
2721
  }, enumerable:!0, configurable:!0};
2778
- u.set = m ? () => {
2722
+ u.set = n ? () => {
2779
2723
  od(`Cannot access ${l} due to unbound types`, [c]);
2780
2724
  } : () => {
2781
- U(`${l} is a read-only property`);
2725
+ V(`${l} is a read-only property`);
2782
2726
  };
2783
2727
  Object.defineProperty(p.i.constructor, b, u);
2784
- X([], [c], function(v) {
2728
+ Y([], [c], function(v) {
2785
2729
  v = v[0];
2786
- var y = {get() {
2730
+ var x = {get() {
2787
2731
  return v.fromWireType(f(d));
2788
2732
  }, enumerable:!0};
2789
- m && (m = Y(g, m), y.set = k => {
2733
+ n && (n = Z(g, n), x.set = k => {
2790
2734
  var t = [];
2791
- m(d, v.toWireType(t, k));
2735
+ n(d, v.toWireType(t, k));
2792
2736
  Rc(t);
2793
2737
  });
2794
- Object.defineProperty(p.i.constructor, b, y);
2738
+ Object.defineProperty(p.i.constructor, b, x);
2795
2739
  return [];
2796
2740
  });
2797
2741
  return [];
2798
2742
  });
2799
2743
  }, _embind_register_class_constructor:function(a, b, c, d, e, f) {
2800
2744
  var g = rd(b, c);
2801
- e = Y(d, e);
2802
- X([], [a], function(m) {
2803
- m = m[0];
2804
- var p = `constructor ${m.name}`;
2805
- void 0 === m.i.aa && (m.i.aa = []);
2806
- if (void 0 !== m.i.aa[b - 1]) {
2807
- throw new qc(`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!`);
2808
- }
2809
- m.i.aa[b - 1] = () => {
2810
- od(`Cannot construct ${m.name} due to unbound types`, g);
2745
+ e = Z(d, e);
2746
+ Y([], [a], function(n) {
2747
+ n = n[0];
2748
+ var p = `constructor ${n.name}`;
2749
+ void 0 === n.i.$ && (n.i.$ = []);
2750
+ if (void 0 !== n.i.$[b - 1]) {
2751
+ throw new qc(`Cannot register multiple constructors with identical number of parameters (${b - 1}) for class '${n.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
2752
+ }
2753
+ n.i.$[b - 1] = () => {
2754
+ od(`Cannot construct ${n.name} due to unbound types`, g);
2811
2755
  };
2812
- X([], g, function(l) {
2756
+ Y([], g, function(l) {
2813
2757
  l.splice(1, 0, null);
2814
- m.i.aa[b - 1] = pd(p, l, null, e, f);
2758
+ n.i.$[b - 1] = pd(p, l, null, e, f);
2815
2759
  return [];
2816
2760
  });
2817
2761
  return [];
2818
2762
  });
2819
- }, _embind_register_class_function:function(a, b, c, d, e, f, g, m) {
2763
+ }, _embind_register_class_function:function(a, b, c, d, e, f, g, n) {
2820
2764
  var p = rd(c, d);
2821
2765
  b = W(b);
2822
- f = Y(e, f);
2823
- X([], [a], function(l) {
2766
+ f = Z(e, f);
2767
+ Y([], [a], function(l) {
2824
2768
  function u() {
2825
2769
  od(`Cannot call ${v} due to unbound types`, p);
2826
2770
  }
2827
2771
  l = l[0];
2828
2772
  var v = `${l.name}.${b}`;
2829
2773
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2830
- m && l.i.rb.push(b);
2831
- var y = l.i.O, k = y[b];
2832
- void 0 === k || void 0 === k.B && k.className !== l.name && k.ea === c - 2 ? (u.ea = c - 2, u.className = l.name, y[b] = u) : ($c(y, b, v), y[b].B[c - 2] = u);
2833
- X([], p, function(t) {
2774
+ n && l.i.qb.push(b);
2775
+ var x = l.i.N, k = x[b];
2776
+ void 0 === k || void 0 === k.B && k.className !== l.name && k.ea === c - 2 ? (u.ea = c - 2, u.className = l.name, x[b] = u) : ($c(x, b, v), x[b].B[c - 2] = u);
2777
+ Y([], p, function(t) {
2834
2778
  t = pd(v, t, l, f, g);
2835
- void 0 === y[b].B ? (t.ea = c - 2, y[b] = t) : y[b].B[c - 2] = t;
2779
+ void 0 === x[b].B ? (t.ea = c - 2, x[b] = t) : x[b].B[c - 2] = t;
2836
2780
  return [];
2837
2781
  });
2838
2782
  return [];
2839
2783
  });
2840
- }, _embind_register_class_property:function(a, b, c, d, e, f, g, m, p, l) {
2784
+ }, _embind_register_class_property:function(a, b, c, d, e, f, g, n, p, l) {
2841
2785
  b = W(b);
2842
- e = Y(d, e);
2843
- X([], [a], function(u) {
2786
+ e = Z(d, e);
2787
+ Y([], [a], function(u) {
2844
2788
  u = u[0];
2845
- var v = `${u.name}.${b}`, y = {get() {
2789
+ var v = `${u.name}.${b}`, x = {get() {
2846
2790
  od(`Cannot access ${v} due to unbound types`, [c, g]);
2847
2791
  }, enumerable:!0, configurable:!0};
2848
- y.set = p ? () => {
2792
+ x.set = p ? () => {
2849
2793
  od(`Cannot access ${v} due to unbound types`, [c, g]);
2850
2794
  } : () => {
2851
- U(v + " is a read-only property");
2795
+ V(v + " is a read-only property");
2852
2796
  };
2853
- Object.defineProperty(u.i.O, b, y);
2854
- X([], p ? [c, g] : [c], function(k) {
2797
+ Object.defineProperty(u.i.N, b, x);
2798
+ Y([], p ? [c, g] : [c], function(k) {
2855
2799
  var t = k[0], r = {get() {
2856
- var E = sd(this, u, v + " getter");
2857
- return t.fromWireType(e(f, E));
2800
+ var D = sd(this, u, v + " getter");
2801
+ return t.fromWireType(e(f, D));
2858
2802
  }, enumerable:!0};
2859
2803
  if (p) {
2860
- p = Y(m, p);
2861
- var B = k[1];
2862
- r.set = function(E) {
2863
- var w = sd(this, u, v + " setter"), O = [];
2864
- p(l, w, B.toWireType(O, E));
2865
- Rc(O);
2804
+ p = Z(n, p);
2805
+ var A = k[1];
2806
+ r.set = function(D) {
2807
+ var w = sd(this, u, v + " setter"), M = [];
2808
+ p(l, w, A.toWireType(M, D));
2809
+ Rc(M);
2866
2810
  };
2867
2811
  }
2868
- Object.defineProperty(u.i.O, b, r);
2812
+ Object.defineProperty(u.i.N, b, r);
2869
2813
  return [];
2870
2814
  });
2871
2815
  return [];
@@ -2895,7 +2839,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2895
2839
  var d = Fc(a, "enum");
2896
2840
  b = W(b);
2897
2841
  a = d.constructor;
2898
- d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:nc(`${d.name}_${b}`, function() {
2842
+ d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:oc(`${d.name}_${b}`, function() {
2899
2843
  })},});
2900
2844
  a.values[c] = d;
2901
2845
  a[b] = d;
@@ -2910,48 +2854,48 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2910
2854
  }, _embind_register_function:function(a, b, c, d, e, f) {
2911
2855
  var g = rd(b, c);
2912
2856
  a = W(a);
2913
- e = Y(d, e);
2857
+ e = Z(d, e);
2914
2858
  ad(a, function() {
2915
2859
  od(`Cannot call ${a} due to unbound types`, g);
2916
2860
  }, b - 1);
2917
- X([], g, function(m) {
2918
- jd(a, pd(a, [m[0], null].concat(m.slice(1)), null, e, f), b - 1);
2861
+ Y([], g, function(n) {
2862
+ jd(a, pd(a, [n[0], null].concat(n.slice(1)), null, e, f), b - 1);
2919
2863
  return [];
2920
2864
  });
2921
2865
  }, _embind_register_integer:function(a, b, c, d, e) {
2922
2866
  b = W(b);
2923
2867
  -1 === e && (e = 4294967295);
2924
2868
  e = Wc(c);
2925
- var f = m => m;
2869
+ var f = n => n;
2926
2870
  if (0 === d) {
2927
2871
  var g = 32 - 8 * c;
2928
- f = m => m << g >>> g;
2872
+ f = n => n << g >>> g;
2929
2873
  }
2930
- c = b.includes("unsigned") ? function(m, p) {
2874
+ c = b.includes("unsigned") ? function(n, p) {
2931
2875
  return p >>> 0;
2932
- } : function(m, p) {
2876
+ } : function(n, p) {
2933
2877
  return p;
2934
2878
  };
2935
2879
  Vc(a, {name:b, fromWireType:f, toWireType:c, argPackAdvance:8, readValueFromPointer:wd(b, e, 0 !== d), K:null,});
2936
2880
  }, _embind_register_memory_view:function(a, b, c) {
2937
2881
  function d(f) {
2938
2882
  f >>= 2;
2939
- var g = G;
2883
+ var g = N;
2940
2884
  return new e(g.buffer, g[f + 1], g[f]);
2941
2885
  }
2942
2886
  var e = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array,][b];
2943
2887
  c = W(c);
2944
- Vc(a, {name:c, fromWireType:d, argPackAdvance:8, readValueFromPointer:d,}, {fc:!0,});
2888
+ Vc(a, {name:c, fromWireType:d, argPackAdvance:8, readValueFromPointer:d,}, {$b:!0,});
2945
2889
  }, _embind_register_std_string:function(a, b) {
2946
2890
  b = W(b);
2947
2891
  var c = "std::string" === b;
2948
2892
  Vc(a, {name:b, fromWireType:function(d) {
2949
- var e = G[d >> 2], f = d + 4;
2893
+ var e = N[d >> 2], f = d + 4;
2950
2894
  if (c) {
2951
- for (var g = f, m = 0; m <= e; ++m) {
2952
- var p = f + m;
2953
- if (m == e || 0 == C[p]) {
2954
- g = g ? lb(C, g, p - g) : "";
2895
+ for (var g = f, n = 0; n <= e; ++n) {
2896
+ var p = f + n;
2897
+ if (n == e || 0 == E[p]) {
2898
+ g = g ? nb(E, g, p - g) : "";
2955
2899
  if (void 0 === l) {
2956
2900
  var l = g;
2957
2901
  } else {
@@ -2962,8 +2906,8 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2962
2906
  }
2963
2907
  } else {
2964
2908
  l = Array(e);
2965
- for (m = 0; m < e; ++m) {
2966
- l[m] = String.fromCharCode(C[f + m]);
2909
+ for (n = 0; n < e; ++n) {
2910
+ l[n] = String.fromCharCode(E[f + n]);
2967
2911
  }
2968
2912
  l = l.join("");
2969
2913
  }
@@ -2972,27 +2916,27 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2972
2916
  }, toWireType:function(d, e) {
2973
2917
  e instanceof ArrayBuffer && (e = new Uint8Array(e));
2974
2918
  var f = "string" == typeof e;
2975
- f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || U("Cannot pass non-string to std::string");
2976
- var g = c && f ? nb(e) : e.length;
2977
- var m = Vd(4 + g + 1), p = m + 4;
2978
- G[m >> 2] = g;
2919
+ f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || V("Cannot pass non-string to std::string");
2920
+ var g = c && f ? pb(e) : e.length;
2921
+ var n = Vd(4 + g + 1), p = n + 4;
2922
+ N[n >> 2] = g;
2979
2923
  if (c && f) {
2980
- ob(e, C, p, g + 1);
2924
+ qb(e, E, p, g + 1);
2981
2925
  } else {
2982
2926
  if (f) {
2983
2927
  for (f = 0; f < g; ++f) {
2984
2928
  var l = e.charCodeAt(f);
2985
- 255 < l && (Ec(p), U("String has UTF-16 code units that do not fit in 8 bits"));
2986
- C[p + f] = l;
2929
+ 255 < l && (Ec(p), V("String has UTF-16 code units that do not fit in 8 bits"));
2930
+ E[p + f] = l;
2987
2931
  }
2988
2932
  } else {
2989
2933
  for (f = 0; f < g; ++f) {
2990
- C[p + f] = e[f];
2934
+ E[p + f] = e[f];
2991
2935
  }
2992
2936
  }
2993
2937
  }
2994
- null !== d && d.push(Ec, m);
2995
- return m;
2938
+ null !== d && d.push(Ec, n);
2939
+ return n;
2996
2940
  }, argPackAdvance:8, readValueFromPointer:Sc, K:function(d) {
2997
2941
  Ec(d);
2998
2942
  },});
@@ -3003,23 +2947,23 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3003
2947
  var e = zd;
3004
2948
  var f = Ad;
3005
2949
  var g = () => Ea;
3006
- var m = 1;
2950
+ var n = 1;
3007
2951
  } else {
3008
- 4 === b && (d = Bd, e = Cd, f = Dd, g = () => G, m = 2);
2952
+ 4 === b && (d = Bd, e = Cd, f = Dd, g = () => N, n = 2);
3009
2953
  }
3010
2954
  Vc(a, {name:c, fromWireType:function(p) {
3011
- for (var l = G[p >> 2], u = g(), v, y = p + 4, k = 0; k <= l; ++k) {
2955
+ for (var l = N[p >> 2], u = g(), v, x = p + 4, k = 0; k <= l; ++k) {
3012
2956
  var t = p + 4 + k * b;
3013
- if (k == l || 0 == u[t >> m]) {
3014
- y = d(y, t - y), void 0 === v ? v = y : (v += String.fromCharCode(0), v += y), y = t + b;
2957
+ if (k == l || 0 == u[t >> n]) {
2958
+ x = d(x, t - x), void 0 === v ? v = x : (v += String.fromCharCode(0), v += x), x = t + b;
3015
2959
  }
3016
2960
  }
3017
2961
  Ec(p);
3018
2962
  return v;
3019
2963
  }, toWireType:function(p, l) {
3020
- "string" != typeof l && U(`Cannot pass non-string to C++ string type ${c}`);
2964
+ "string" != typeof l && V(`Cannot pass non-string to C++ string type ${c}`);
3021
2965
  var u = f(l), v = Vd(4 + u + b);
3022
- G[v >> 2] = u >> m;
2966
+ N[v >> 2] = u >> n;
3023
2967
  e(l, v + 4, u + b);
3024
2968
  null !== p && p.push(Ec, v);
3025
2969
  return v;
@@ -3027,26 +2971,26 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3027
2971
  Ec(p);
3028
2972
  },});
3029
2973
  }, _embind_register_value_object:function(a, b, c, d, e, f) {
3030
- Qc[a] = {name:W(b), Qa:Y(c, d), X:Y(e, f), fb:[],};
3031
- }, _embind_register_value_object_field:function(a, b, c, d, e, f, g, m, p, l) {
3032
- Qc[a].fb.push({Xb:W(b), cc:c, ac:Y(d, e), bc:f, zc:g, yc:Y(m, p), Ac:l,});
2974
+ Qc[a] = {name:W(b), Pa:Z(c, d), W:Z(e, f), eb:[],};
2975
+ }, _embind_register_value_object_field:function(a, b, c, d, e, f, g, n, p, l) {
2976
+ Qc[a].eb.push({Sb:W(b), Yb:c, Wb:Z(d, e), Xb:f, rc:g, qc:Z(n, p), sc:l,});
3033
2977
  }, _embind_register_void:function(a, b) {
3034
2978
  b = W(b);
3035
- Vc(a, {mc:!0, name:b, argPackAdvance:0, fromWireType:function() {
2979
+ Vc(a, {fc:!0, name:b, argPackAdvance:0, fromWireType:function() {
3036
2980
  }, toWireType:function() {
3037
2981
  },});
3038
2982
  }, _emval_as:function(a, b, c) {
3039
2983
  a = rc(a);
3040
2984
  b = Fc(b, "emval::as");
3041
2985
  var d = [], e = sc(d);
3042
- G[c >> 2] = e;
2986
+ N[c >> 2] = e;
3043
2987
  return b.toWireType(d, a);
3044
2988
  }, _emval_call_method:function(a, b, c, d, e) {
3045
2989
  a = Gd[a];
3046
2990
  b = rc(b);
3047
2991
  c = Fd(c);
3048
2992
  var f = [];
3049
- G[d >> 2] = sc(f);
2993
+ N[d >> 2] = sc(f);
3050
2994
  return a(b, c, f, e);
3051
2995
  }, _emval_call_void_method:function(a, b, c, d) {
3052
2996
  a = Gd[a];
@@ -3063,28 +3007,28 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3063
3007
  return e;
3064
3008
  }
3065
3009
  var f = Array(a - 1);
3066
- e = Hd((g, m, p, l) => {
3010
+ e = Hd((g, n, p, l) => {
3067
3011
  for (var u = 0, v = 0; v < a - 1; ++v) {
3068
3012
  f[v] = c[v + 1].readValueFromPointer(l + u), u += c[v + 1].argPackAdvance;
3069
3013
  }
3070
- g = g[m].apply(g, f);
3014
+ g = g[n].apply(g, f);
3071
3015
  for (v = 0; v < a - 1; ++v) {
3072
- c[v + 1].Rb && c[v + 1].Rb(f[v]);
3016
+ c[v + 1].Nb && c[v + 1].Nb(f[v]);
3073
3017
  }
3074
- if (!d.mc) {
3018
+ if (!d.fc) {
3075
3019
  return d.toWireType(p, g);
3076
3020
  }
3077
3021
  });
3078
3022
  return Jd[b] = e;
3079
3023
  }, _emval_get_module_property:function(a) {
3080
3024
  a = Fd(a);
3081
- return sc(n[a]);
3025
+ return sc(m[a]);
3082
3026
  }, _emval_get_property:function(a, b) {
3083
3027
  a = rc(a);
3084
3028
  b = rc(b);
3085
3029
  return sc(a[b]);
3086
3030
  }, _emval_incref:function(a) {
3087
- 4 < a && (pc.get(a).ub += 1);
3031
+ 4 < a && (U.get(a).tb += 1);
3088
3032
  }, _emval_new_cstring:function(a) {
3089
3033
  return sc(Fd(a));
3090
3034
  }, _emval_new_object:function() {
@@ -3103,16 +3047,16 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3103
3047
  a = a.readValueFromPointer(b);
3104
3048
  return sc(a);
3105
3049
  }, abort:() => {
3106
- za("");
3050
+ Aa("");
3107
3051
  }, emscripten_asm_const_int:(a, b, c) => {
3108
3052
  Kd.length = 0;
3109
3053
  var d;
3110
- for (c >>= 2; d = C[b++];) {
3111
- c += 105 != d & c, Kd.push(105 == d ? F[c] : Ga[c++ >> 1]), ++c;
3054
+ for (c >>= 2; d = E[b++];) {
3055
+ c += 105 != d & c, Kd.push(105 == d ? L[c] : Ia[c++ >> 1]), ++c;
3112
3056
  }
3113
- return bb[a].apply(null, Kd);
3114
- }, emscripten_memcpy_big:(a, b, c) => C.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
3115
- var b = C.length;
3057
+ return db[a].apply(null, Kd);
3058
+ }, emscripten_memcpy_big:(a, b, c) => E.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
3059
+ var b = E.length;
3116
3060
  a >>>= 0;
3117
3061
  if (2147483648 < a) {
3118
3062
  return !1;
@@ -3123,10 +3067,10 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3123
3067
  var e = Math;
3124
3068
  d = Math.max(a, d);
3125
3069
  a: {
3126
- e = e.min.call(e, 2147483648, d + (65536 - d % 65536) % 65536) - Aa.buffer.byteLength + 65535 >>> 16;
3070
+ e = e.min.call(e, 2147483648, d + (65536 - d % 65536) % 65536) - Ba.buffer.byteLength + 65535 >>> 16;
3127
3071
  try {
3128
- Aa.grow(e);
3129
- Ha();
3072
+ Ba.grow(e);
3073
+ Ja();
3130
3074
  var f = 1;
3131
3075
  break a;
3132
3076
  } catch (g) {
@@ -3142,97 +3086,97 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3142
3086
  var c = 0;
3143
3087
  Nd().forEach(function(d, e) {
3144
3088
  var f = b + c;
3145
- e = G[a + 4 * e >> 2] = f;
3089
+ e = N[a + 4 * e >> 2] = f;
3146
3090
  for (f = 0; f < d.length; ++f) {
3147
- A[e++ >> 0] = d.charCodeAt(f);
3091
+ B[e++ >> 0] = d.charCodeAt(f);
3148
3092
  }
3149
- A[e >> 0] = 0;
3093
+ B[e >> 0] = 0;
3150
3094
  c += d.length + 1;
3151
3095
  });
3152
3096
  return 0;
3153
3097
  }, environ_sizes_get:(a, b) => {
3154
3098
  var c = Nd();
3155
- G[a >> 2] = c.length;
3099
+ N[a >> 2] = c.length;
3156
3100
  var d = 0;
3157
3101
  c.forEach(function(e) {
3158
3102
  d += e.length + 1;
3159
3103
  });
3160
- G[b >> 2] = d;
3104
+ N[b >> 2] = d;
3161
3105
  return 0;
3162
3106
  }, fd_close:function(a) {
3163
3107
  try {
3164
- var b = Rb(a);
3165
- if (null === b.Z) {
3166
- throw new Q(8);
3108
+ var b = Tb(a);
3109
+ if (null === b.X) {
3110
+ throw new O(8);
3167
3111
  }
3168
- b.Na && (b.Na = null);
3112
+ b.Ma && (b.Ma = null);
3169
3113
  try {
3170
3114
  b.m.close && b.m.close(b);
3171
3115
  } catch (c) {
3172
3116
  throw c;
3173
3117
  } finally {
3174
- Eb[b.Z] = null;
3118
+ Gb[b.X] = null;
3175
3119
  }
3176
- b.Z = null;
3120
+ b.X = null;
3177
3121
  return 0;
3178
3122
  } catch (c) {
3179
- if ("undefined" == typeof jc || "ErrnoError" !== c.name) {
3123
+ if ("undefined" == typeof kc || "ErrnoError" !== c.name) {
3180
3124
  throw c;
3181
3125
  }
3182
- return c.Y;
3126
+ return c.aa;
3183
3127
  }
3184
3128
  }, fd_read:function(a, b, c, d) {
3185
3129
  try {
3186
3130
  a: {
3187
- var e = Rb(a);
3131
+ var e = Tb(a);
3188
3132
  a = b;
3189
3133
  for (var f, g = b = 0; g < c; g++) {
3190
- var m = G[a >> 2], p = G[a + 4 >> 2];
3134
+ var n = N[a >> 2], p = N[a + 4 >> 2];
3191
3135
  a += 8;
3192
- var l = e, u = m, v = p, y = f, k = A;
3193
- if (0 > v || 0 > y) {
3194
- throw new Q(28);
3136
+ var l = e, u = n, v = p, x = f, k = B;
3137
+ if (0 > v || 0 > x) {
3138
+ throw new O(28);
3195
3139
  }
3196
- if (null === l.Z) {
3197
- throw new Q(8);
3140
+ if (null === l.X) {
3141
+ throw new O(8);
3198
3142
  }
3199
3143
  if (1 === (l.flags & 2097155)) {
3200
- throw new Q(8);
3144
+ throw new O(8);
3201
3145
  }
3202
3146
  if (16384 === (l.node.mode & 61440)) {
3203
- throw new Q(31);
3147
+ throw new O(31);
3204
3148
  }
3205
3149
  if (!l.m.read) {
3206
- throw new Q(28);
3150
+ throw new O(28);
3207
3151
  }
3208
- var t = "undefined" != typeof y;
3152
+ var t = "undefined" != typeof x;
3209
3153
  if (!t) {
3210
- y = l.position;
3154
+ x = l.position;
3211
3155
  } else if (!l.seekable) {
3212
- throw new Q(70);
3156
+ throw new O(70);
3213
3157
  }
3214
- var r = l.m.read(l, k, u, v, y);
3158
+ var r = l.m.read(l, k, u, v, x);
3215
3159
  t || (l.position += r);
3216
- var B = r;
3217
- if (0 > B) {
3218
- var E = -1;
3160
+ var A = r;
3161
+ if (0 > A) {
3162
+ var D = -1;
3219
3163
  break a;
3220
3164
  }
3221
- b += B;
3222
- if (B < p) {
3165
+ b += A;
3166
+ if (A < p) {
3223
3167
  break;
3224
3168
  }
3225
- "undefined" !== typeof f && (f += B);
3169
+ "undefined" !== typeof f && (f += A);
3226
3170
  }
3227
- E = b;
3171
+ D = b;
3228
3172
  }
3229
- G[d >> 2] = E;
3173
+ N[d >> 2] = D;
3230
3174
  return 0;
3231
3175
  } catch (w) {
3232
- if ("undefined" == typeof jc || "ErrnoError" !== w.name) {
3176
+ if ("undefined" == typeof kc || "ErrnoError" !== w.name) {
3233
3177
  throw w;
3234
3178
  }
3235
- return w.Y;
3179
+ return w.aa;
3236
3180
  }
3237
3181
  }, fd_seek:function(a, b, c, d, e) {
3238
3182
  b = c + 2097152 >>> 0 < 4194305 - !!b ? (b >>> 0) + 4294967296 * c : NaN;
@@ -3240,80 +3184,80 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3240
3184
  if (isNaN(b)) {
3241
3185
  return 61;
3242
3186
  }
3243
- var f = Rb(a);
3244
- ec(f, b, d);
3245
- P = [f.position >>> 0, (N = f.position, 1.0 <= +Math.abs(N) ? 0.0 < N ? +Math.floor(N / 4294967296.0) >>> 0 : ~~+Math.ceil((N - +(~~N >>> 0)) / 4294967296.0) >>> 0 : 0)];
3246
- F[e >> 2] = P[0];
3247
- F[e + 4 >> 2] = P[1];
3248
- f.Na && 0 === b && 0 === d && (f.Na = null);
3187
+ var f = Tb(a);
3188
+ fc(f, b, d);
3189
+ $a = [f.position >>> 0, (Za = f.position, 1.0 <= +Math.abs(Za) ? 0.0 < Za ? +Math.floor(Za / 4294967296.0) >>> 0 : ~~+Math.ceil((Za - +(~~Za >>> 0)) / 4294967296.0) >>> 0 : 0)];
3190
+ L[e >> 2] = $a[0];
3191
+ L[e + 4 >> 2] = $a[1];
3192
+ f.Ma && 0 === b && 0 === d && (f.Ma = null);
3249
3193
  return 0;
3250
3194
  } catch (g) {
3251
- if ("undefined" == typeof jc || "ErrnoError" !== g.name) {
3195
+ if ("undefined" == typeof kc || "ErrnoError" !== g.name) {
3252
3196
  throw g;
3253
3197
  }
3254
- return g.Y;
3198
+ return g.aa;
3255
3199
  }
3256
3200
  }, fd_write:function(a, b, c, d) {
3257
3201
  try {
3258
3202
  a: {
3259
- var e = Rb(a);
3203
+ var e = Tb(a);
3260
3204
  a = b;
3261
3205
  for (var f, g = b = 0; g < c; g++) {
3262
- var m = G[a >> 2], p = G[a + 4 >> 2];
3206
+ var n = N[a >> 2], p = N[a + 4 >> 2];
3263
3207
  a += 8;
3264
- var l = e, u = m, v = p, y = f, k = A;
3265
- if (0 > v || 0 > y) {
3266
- throw new Q(28);
3208
+ var l = e, u = n, v = p, x = f, k = B;
3209
+ if (0 > v || 0 > x) {
3210
+ throw new O(28);
3267
3211
  }
3268
- if (null === l.Z) {
3269
- throw new Q(8);
3212
+ if (null === l.X) {
3213
+ throw new O(8);
3270
3214
  }
3271
3215
  if (0 === (l.flags & 2097155)) {
3272
- throw new Q(8);
3216
+ throw new O(8);
3273
3217
  }
3274
3218
  if (16384 === (l.node.mode & 61440)) {
3275
- throw new Q(31);
3219
+ throw new O(31);
3276
3220
  }
3277
3221
  if (!l.m.write) {
3278
- throw new Q(28);
3222
+ throw new O(28);
3279
3223
  }
3280
- l.seekable && l.flags & 1024 && ec(l, 0, 2);
3281
- var t = "undefined" != typeof y;
3224
+ l.seekable && l.flags & 1024 && fc(l, 0, 2);
3225
+ var t = "undefined" != typeof x;
3282
3226
  if (!t) {
3283
- y = l.position;
3227
+ x = l.position;
3284
3228
  } else if (!l.seekable) {
3285
- throw new Q(70);
3229
+ throw new O(70);
3286
3230
  }
3287
- var r = l.m.write(l, k, u, v, y, void 0);
3231
+ var r = l.m.write(l, k, u, v, x, void 0);
3288
3232
  t || (l.position += r);
3289
- var B = r;
3290
- if (0 > B) {
3291
- var E = -1;
3233
+ var A = r;
3234
+ if (0 > A) {
3235
+ var D = -1;
3292
3236
  break a;
3293
3237
  }
3294
- b += B;
3295
- "undefined" !== typeof f && (f += B);
3238
+ b += A;
3239
+ "undefined" !== typeof f && (f += A);
3296
3240
  }
3297
- E = b;
3241
+ D = b;
3298
3242
  }
3299
- G[d >> 2] = E;
3243
+ N[d >> 2] = D;
3300
3244
  return 0;
3301
3245
  } catch (w) {
3302
- if ("undefined" == typeof jc || "ErrnoError" !== w.name) {
3246
+ if ("undefined" == typeof kc || "ErrnoError" !== w.name) {
3303
3247
  throw w;
3304
3248
  }
3305
- return w.Y;
3249
+ return w.aa;
3306
3250
  }
3307
3251
  }, strftime_l:(a, b, c, d) => Rd(a, b, c, d)};
3308
3252
  (function() {
3309
3253
  function a(c) {
3310
- x = c = c.exports;
3311
- Aa = x.memory;
3312
- Ha();
3313
- Ka = x.__indirect_function_table;
3314
- Ma.unshift(x.__wasm_call_ctors);
3254
+ y = c = c.exports;
3255
+ Ba = y.memory;
3256
+ Ja();
3257
+ Ka = y.__indirect_function_table;
3258
+ Ma.unshift(y.__wasm_call_ctors);
3315
3259
  Pa--;
3316
- n.monitorRunDependencies && n.monitorRunDependencies(Pa);
3260
+ m.monitorRunDependencies && m.monitorRunDependencies(Pa);
3317
3261
  if (0 == Pa && (null !== Qa && (clearInterval(Qa), Qa = null), Ra)) {
3318
3262
  var d = Ra;
3319
3263
  Ra = null;
@@ -3323,33 +3267,33 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3323
3267
  }
3324
3268
  var b = {env:Wd, wasi_snapshot_preview1:Wd,};
3325
3269
  Pa++;
3326
- n.monitorRunDependencies && n.monitorRunDependencies(Pa);
3327
- if (n.instantiateWasm) {
3270
+ m.monitorRunDependencies && m.monitorRunDependencies(Pa);
3271
+ if (m.instantiateWasm) {
3328
3272
  try {
3329
- return n.instantiateWasm(b, a);
3273
+ return m.instantiateWasm(b, a);
3330
3274
  } catch (c) {
3331
- ua("Module.instantiateWasm callback failed with error: " + c), ba(c);
3275
+ xa("Module.instantiateWasm callback failed with error: " + c), ea(c);
3332
3276
  }
3333
3277
  }
3334
3278
  Ya(b, function(c) {
3335
3279
  a(c.instance);
3336
- }).catch(ba);
3280
+ }).catch(ea);
3337
3281
  return {};
3338
3282
  })();
3339
- var Ec = a => (Ec = x.free)(a), Vd = a => (Vd = x.malloc)(a), Za = n._ma_device__on_notification_unlocked = a => (Za = n._ma_device__on_notification_unlocked = x.ma_device__on_notification_unlocked)(a);
3340
- n._ma_malloc_emscripten = (a, b) => (n._ma_malloc_emscripten = x.ma_malloc_emscripten)(a, b);
3341
- n._ma_free_emscripten = (a, b) => (n._ma_free_emscripten = x.ma_free_emscripten)(a, b);
3342
- var $a = n._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => ($a = n._ma_device_process_pcm_frames_capture__webaudio = x.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), ab = n._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (ab = n._ma_device_process_pcm_frames_playback__webaudio = x.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), Ud = () => (Ud = x.__errno_location)(), Dc = a => (Dc = x.__getTypeName)(a);
3343
- n.__embind_initialize_bindings = () => (n.__embind_initialize_bindings = x._embind_initialize_bindings)();
3344
- n.dynCall_iiiji = (a, b, c, d, e, f) => (n.dynCall_iiiji = x.dynCall_iiiji)(a, b, c, d, e, f);
3345
- n.dynCall_iiji = (a, b, c, d, e) => (n.dynCall_iiji = x.dynCall_iiji)(a, b, c, d, e);
3346
- n.dynCall_jiji = (a, b, c, d, e) => (n.dynCall_jiji = x.dynCall_jiji)(a, b, c, d, e);
3347
- n.dynCall_iij = (a, b, c, d) => (n.dynCall_iij = x.dynCall_iij)(a, b, c, d);
3348
- n.dynCall_jii = (a, b, c) => (n.dynCall_jii = x.dynCall_jii)(a, b, c);
3349
- n.dynCall_viijii = (a, b, c, d, e, f, g) => (n.dynCall_viijii = x.dynCall_viijii)(a, b, c, d, e, f, g);
3350
- n.dynCall_iiiiij = (a, b, c, d, e, f, g) => (n.dynCall_iiiiij = x.dynCall_iiiiij)(a, b, c, d, e, f, g);
3351
- n.dynCall_iiiiijj = (a, b, c, d, e, f, g, m, p) => (n.dynCall_iiiiijj = x.dynCall_iiiiijj)(a, b, c, d, e, f, g, m, p);
3352
- n.dynCall_iiiiiijj = (a, b, c, d, e, f, g, m, p, l) => (n.dynCall_iiiiiijj = x.dynCall_iiiiiijj)(a, b, c, d, e, f, g, m, p, l);
3283
+ var Ec = a => (Ec = y.free)(a), Vd = a => (Vd = y.malloc)(a), ab = m._ma_device__on_notification_unlocked = a => (ab = m._ma_device__on_notification_unlocked = y.ma_device__on_notification_unlocked)(a);
3284
+ m._ma_malloc_emscripten = (a, b) => (m._ma_malloc_emscripten = y.ma_malloc_emscripten)(a, b);
3285
+ m._ma_free_emscripten = (a, b) => (m._ma_free_emscripten = y.ma_free_emscripten)(a, b);
3286
+ var bb = m._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => (bb = m._ma_device_process_pcm_frames_capture__webaudio = y.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), cb = m._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (cb = m._ma_device_process_pcm_frames_playback__webaudio = y.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), Ud = () => (Ud = y.__errno_location)(), Dc = a => (Dc = y.__getTypeName)(a);
3287
+ m.__embind_initialize_bindings = () => (m.__embind_initialize_bindings = y._embind_initialize_bindings)();
3288
+ m.dynCall_iiji = (a, b, c, d, e) => (m.dynCall_iiji = y.dynCall_iiji)(a, b, c, d, e);
3289
+ m.dynCall_jiji = (a, b, c, d, e) => (m.dynCall_jiji = y.dynCall_jiji)(a, b, c, d, e);
3290
+ m.dynCall_iiiji = (a, b, c, d, e, f) => (m.dynCall_iiiji = y.dynCall_iiiji)(a, b, c, d, e, f);
3291
+ m.dynCall_iij = (a, b, c, d) => (m.dynCall_iij = y.dynCall_iij)(a, b, c, d);
3292
+ m.dynCall_jii = (a, b, c) => (m.dynCall_jii = y.dynCall_jii)(a, b, c);
3293
+ m.dynCall_viijii = (a, b, c, d, e, f, g) => (m.dynCall_viijii = y.dynCall_viijii)(a, b, c, d, e, f, g);
3294
+ m.dynCall_iiiiij = (a, b, c, d, e, f, g) => (m.dynCall_iiiiij = y.dynCall_iiiiij)(a, b, c, d, e, f, g);
3295
+ m.dynCall_iiiiijj = (a, b, c, d, e, f, g, n, p) => (m.dynCall_iiiiijj = y.dynCall_iiiiijj)(a, b, c, d, e, f, g, n, p);
3296
+ m.dynCall_iiiiiijj = (a, b, c, d, e, f, g, n, p, l) => (m.dynCall_iiiiiijj = y.dynCall_iiiiiijj)(a, b, c, d, e, f, g, n, p, l);
3353
3297
  var Xd;
3354
3298
  Ra = function Yd() {
3355
3299
  Xd || Zd();
@@ -3357,41 +3301,41 @@ Ra = function Yd() {
3357
3301
  };
3358
3302
  function Zd() {
3359
3303
  function a() {
3360
- if (!Xd && (Xd = !0, n.calledRun = !0, !Ba)) {
3361
- n.noFSInit || gc || (gc = !0, fc(), n.stdin = n.stdin, n.stdout = n.stdout, n.stderr = n.stderr, n.stdin ? ic("stdin", n.stdin) : Xb("/dev/tty", "/dev/stdin"), n.stdout ? ic("stdout", null, n.stdout) : Xb("/dev/tty", "/dev/stdout"), n.stderr ? ic("stderr", null, n.stderr) : Xb("/dev/tty1", "/dev/stderr"), dc("/dev/stdin", 0), dc("/dev/stdout", 1), dc("/dev/stderr", 1));
3362
- Hb = !1;
3363
- cb(Ma);
3364
- aa(n);
3365
- if (n.onRuntimeInitialized) {
3366
- n.onRuntimeInitialized();
3304
+ if (!Xd && (Xd = !0, m.calledRun = !0, !Ca)) {
3305
+ m.noFSInit || hc || (hc = !0, gc(), m.stdin = m.stdin, m.stdout = m.stdout, m.stderr = m.stderr, m.stdin ? jc("stdin", m.stdin) : cc("/dev/tty", "/dev/stdin"), m.stdout ? jc("stdout", null, m.stdout) : cc("/dev/tty", "/dev/stdout"), m.stderr ? jc("stderr", null, m.stderr) : cc("/dev/tty1", "/dev/stderr"), ec("/dev/stdin", 0), ec("/dev/stdout", 1), ec("/dev/stderr", 1));
3306
+ Jb = !1;
3307
+ eb(Ma);
3308
+ aa(m);
3309
+ if (m.onRuntimeInitialized) {
3310
+ m.onRuntimeInitialized();
3367
3311
  }
3368
- if (n.postRun) {
3369
- for ("function" == typeof n.postRun && (n.postRun = [n.postRun]); n.postRun.length;) {
3370
- var b = n.postRun.shift();
3312
+ if (m.postRun) {
3313
+ for ("function" == typeof m.postRun && (m.postRun = [m.postRun]); m.postRun.length;) {
3314
+ var b = m.postRun.shift();
3371
3315
  Na.unshift(b);
3372
3316
  }
3373
3317
  }
3374
- cb(Na);
3318
+ eb(Na);
3375
3319
  }
3376
3320
  }
3377
3321
  if (!(0 < Pa)) {
3378
- if (n.preRun) {
3379
- for ("function" == typeof n.preRun && (n.preRun = [n.preRun]); n.preRun.length;) {
3322
+ if (m.preRun) {
3323
+ for ("function" == typeof m.preRun && (m.preRun = [m.preRun]); m.preRun.length;) {
3380
3324
  Oa();
3381
3325
  }
3382
3326
  }
3383
- cb(La);
3384
- 0 < Pa || (n.setStatus ? (n.setStatus("Running..."), setTimeout(function() {
3327
+ eb(La);
3328
+ 0 < Pa || (m.setStatus ? (m.setStatus("Running..."), setTimeout(function() {
3385
3329
  setTimeout(function() {
3386
- n.setStatus("");
3330
+ m.setStatus("");
3387
3331
  }, 1);
3388
3332
  a();
3389
3333
  }, 1)) : a());
3390
3334
  }
3391
3335
  }
3392
- if (n.preInit) {
3393
- for ("function" == typeof n.preInit && (n.preInit = [n.preInit]); 0 < n.preInit.length;) {
3394
- n.preInit.pop()();
3336
+ if (m.preInit) {
3337
+ for ("function" == typeof m.preInit && (m.preInit = [m.preInit]); 0 < m.preInit.length;) {
3338
+ m.preInit.pop()();
3395
3339
  }
3396
3340
  }
3397
3341
  Zd();
@@ -3409,7 +3353,7 @@ Zd();
3409
3353
  /* 2 */
3410
3354
  /***/ ((module) => {
3411
3355
 
3412
- module.exports = JSON.parse('{"name":"@rive-app/canvas","version":"2.15.2","description":"Rive\'s canvas 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)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3356
+ module.exports = JSON.parse('{"name":"@rive-app/canvas","version":"2.15.4","description":"Rive\'s canvas 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)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
3413
3357
 
3414
3358
  /***/ }),
3415
3359
  /* 3 */
@@ -3896,8 +3840,10 @@ var RuntimeLoader = /** @class */ (function () {
3896
3840
  }
3897
3841
  })
3898
3842
  .catch(function () {
3899
- // In case unpkg fails or goes down, we should try to load from jsdelivr
3900
- 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");
3843
+ // In case unpkg fails, or the wasm was not supported, we try to load the fallback module from jsdelivr.
3844
+ // This `rive_fallback.wasm` is compiled to support older architecture.
3845
+ // TODO: (Gordon): preemptively test browser support and load the correct wasm file. Then use jsdelvr only if unpkg fails.
3846
+ 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");
3901
3847
  if (RuntimeLoader.wasmURL.toLowerCase() !== backupJsdelivrUrl) {
3902
3848
  console.warn("Failed to load WASM from ".concat(RuntimeLoader.wasmURL, ", trying jsdelivr as a backup"));
3903
3849
  RuntimeLoader.setWasmUrl(backupJsdelivrUrl);