@rive-app/webgl 2.21.6 → 2.22.0

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,8 +26,8 @@ var Rive = (() => {
26
26
  return (
27
27
  function(moduleArg = {}) {
28
28
 
29
- var m = moduleArg, aa, ba;
30
- m.ready = new Promise((a, b) => {
29
+ var l = moduleArg, aa, ba;
30
+ l.ready = new Promise((a, b) => {
31
31
  aa = a;
32
32
  ba = b;
33
33
  });
@@ -36,9 +36,9 @@ function ca() {
36
36
  const k = d;
37
37
  c = b = 0;
38
38
  d = new Map();
39
- k.forEach(q => {
39
+ k.forEach(p => {
40
40
  try {
41
- q(g);
41
+ p(g);
42
42
  } catch (n) {
43
43
  console.error(n);
44
44
  }
@@ -63,10 +63,10 @@ function ca() {
63
63
  f.innerHTML = "RIVE FPS " + k.toFixed(1);
64
64
  }, document.body.appendChild(f));
65
65
  e = new function() {
66
- let k = 0, q = 0;
66
+ let k = 0, p = 0;
67
67
  this.Mb = function() {
68
68
  var n = performance.now();
69
- q ? (++k, n -= q, 1000 < n && (g(1000 * k / n), k = q = 0)) : (q = n, k = 0);
69
+ p ? (++k, n -= p, 1000 < n && (g(1000 * k / n), k = p = 0)) : (p = n, k = 0);
70
70
  };
71
71
  }();
72
72
  };
@@ -88,71 +88,75 @@ function da() {
88
88
  return b << 8;
89
89
  };
90
90
  }
91
- const ea = m.onRuntimeInitialized;
92
- m.onRuntimeInitialized = function() {
91
+ const ea = l.onRuntimeInitialized;
92
+ l.onRuntimeInitialized = function() {
93
93
  ea && ea();
94
- let a = m.decodeAudio;
95
- m.decodeAudio = function(d, e) {
96
- d = a(d);
97
- e(d);
94
+ let a = l.decodeAudio;
95
+ l.decodeAudio = function(e, f) {
96
+ e = a(e);
97
+ f(e);
98
98
  };
99
- let b = m.decodeFont;
100
- m.decodeFont = function(d, e) {
101
- d = b(d);
102
- e(d);
99
+ let b = l.decodeFont;
100
+ l.decodeFont = function(e, f) {
101
+ e = b(e);
102
+ f(e);
103
103
  };
104
- const c = m.FileAssetLoader;
105
- m.ptrToAsset = d => {
106
- let e = m.ptrToFileAsset(d);
107
- return e.isImage ? m.ptrToImageAsset(d) : e.isFont ? m.ptrToFontAsset(d) : e.isAudio ? m.ptrToAudioAsset(d) : e;
104
+ const c = l.FileAssetLoader;
105
+ l.ptrToAsset = e => {
106
+ let f = l.ptrToFileAsset(e);
107
+ return f.isImage ? l.ptrToImageAsset(e) : f.isFont ? l.ptrToFontAsset(e) : f.isAudio ? l.ptrToAudioAsset(e) : f;
108
108
  };
109
- m.CustomFileAssetLoader = c.extend("CustomFileAssetLoader", {__construct:function({loadContents:d}) {
109
+ l.CustomFileAssetLoader = c.extend("CustomFileAssetLoader", {__construct:function({loadContents:e}) {
110
110
  this.__parent.__construct.call(this);
111
- this.Bb = d;
112
- }, loadContents:function(d, e) {
113
- d = m.ptrToAsset(d);
114
- return this.Bb(d, e);
111
+ this.Bb = e;
112
+ }, loadContents:function(e, f) {
113
+ e = l.ptrToAsset(e);
114
+ return this.Bb(e, f);
115
115
  },});
116
- m.CDNFileAssetLoader = c.extend("CDNFileAssetLoader", {__construct:function() {
116
+ l.CDNFileAssetLoader = c.extend("CDNFileAssetLoader", {__construct:function() {
117
117
  this.__parent.__construct.call(this);
118
- }, loadContents:function(d) {
119
- let e = m.ptrToAsset(d);
120
- d = e.cdnUuid;
121
- if ("" === d) {
118
+ }, loadContents:function(e) {
119
+ let f = l.ptrToAsset(e);
120
+ e = f.cdnUuid;
121
+ if ("" === e) {
122
122
  return !1;
123
123
  }
124
- (function(f, g) {
125
- var k = new XMLHttpRequest();
126
- k.responseType = "arraybuffer";
127
- k.onreadystatechange = function() {
128
- 4 == k.readyState && 200 == k.status && g(k);
124
+ (function(g, k) {
125
+ var p = new XMLHttpRequest();
126
+ p.responseType = "arraybuffer";
127
+ p.onreadystatechange = function() {
128
+ 4 == p.readyState && 200 == p.status && k(p);
129
129
  };
130
- k.open("GET", f, !0);
131
- k.send(null);
132
- })(e.cdnBaseUrl + "/" + d, f => {
133
- e.decode(new Uint8Array(f.response));
130
+ p.open("GET", g, !0);
131
+ p.send(null);
132
+ })(f.cdnBaseUrl + "/" + e, g => {
133
+ f.decode(new Uint8Array(g.response));
134
134
  });
135
135
  return !0;
136
136
  },});
137
- m.FallbackFileAssetLoader = c.extend("FallbackFileAssetLoader", {__construct:function() {
137
+ l.FallbackFileAssetLoader = c.extend("FallbackFileAssetLoader", {__construct:function() {
138
138
  this.__parent.__construct.call(this);
139
139
  this.fb = [];
140
- }, addLoader:function(d) {
141
- this.fb.push(d);
142
- }, loadContents:function(d, e) {
143
- for (let f of this.fb) {
144
- if (f.loadContents(d, e)) {
140
+ }, addLoader:function(e) {
141
+ this.fb.push(e);
142
+ }, loadContents:function(e, f) {
143
+ for (let g of this.fb) {
144
+ if (g.loadContents(e, f)) {
145
145
  return !0;
146
146
  }
147
147
  }
148
148
  return !1;
149
149
  },});
150
+ let d = l.computeAlignment;
151
+ l.computeAlignment = function(e, f, g, k, p = 1.0) {
152
+ return d.call(this, e, f, g, k, p);
153
+ };
150
154
  };
151
- const fa = m.onRuntimeInitialized;
152
- m.onRuntimeInitialized = function() {
153
- function a(l) {
154
- this.F = l;
155
- this.yb = l.getContext("2d");
155
+ const fa = l.onRuntimeInitialized;
156
+ l.onRuntimeInitialized = function() {
157
+ function a(r) {
158
+ this.F = r;
159
+ this.yb = r.getContext("2d");
156
160
  this.Db = e;
157
161
  this.R = [];
158
162
  this.ja = 0;
@@ -168,11 +172,11 @@ m.onRuntimeInitialized = function() {
168
172
  this.restore = function() {
169
173
  0 < this.ja && (this.R.push(e.restore.bind(e)), --this.ja);
170
174
  };
171
- this.transform = function(r) {
172
- this.R.push(e.transform.bind(e, r));
175
+ this.transform = function(u) {
176
+ this.R.push(e.transform.bind(e, u));
173
177
  };
174
- this.align = function(r, x, z, G) {
175
- this.R.push(e.align.bind(e, r, x, z, G));
178
+ this.align = function(u, z, B, C, O = 1.0) {
179
+ this.R.push(e.align.bind(e, u, z, B, C, O));
176
180
  };
177
181
  this.flush = function() {
178
182
  console.assert(0 == this.ja);
@@ -180,78 +184,78 @@ m.onRuntimeInitialized = function() {
180
184
  d && c();
181
185
  };
182
186
  }
183
- function b(l) {
184
- var r = {alpha:1, depth:0, stencil:8, antialias:0, premultipliedAlpha:1, preserveDrawingBuffer:0, preferLowPowerToHighPerformance:0, failIfMajorPerformanceCaveat:0, enableExtensionsByDefault:1, explicitSwapControl:0, renderViaOffscreenBackBuffer:0,}, x = l.getContext("webgl2", r);
185
- x || (x = l.getContext("webgl", r));
186
- var z = x, G = ia(ja), C = {handle:G, attributes:r, version:r.Dc, Ta:z};
187
- z.canvas && (z.canvas.pc = C);
188
- ja[G] = C;
189
- ("undefined" == typeof r.Jb || r.Jb) && ka(C);
190
- la(G);
191
- r = g(l.width, l.height);
192
- r.Ab = G;
193
- r.F = l;
194
- r.Va = l.width;
195
- r.Ua = l.height;
196
- r.zb = x;
197
- return r;
187
+ function b(r) {
188
+ var u = {alpha:1, depth:0, stencil:8, antialias:0, premultipliedAlpha:1, preserveDrawingBuffer:0, preferLowPowerToHighPerformance:0, failIfMajorPerformanceCaveat:0, enableExtensionsByDefault:1, explicitSwapControl:0, renderViaOffscreenBackBuffer:0,}, z = r.getContext("webgl2", u);
189
+ z || (z = r.getContext("webgl", u));
190
+ var B = z, C = ha(ja), O = {handle:C, attributes:u, version:u.Dc, Ta:B};
191
+ B.canvas && (B.canvas.pc = O);
192
+ ja[C] = O;
193
+ ("undefined" == typeof u.Jb || u.Jb) && ka(O);
194
+ la(C);
195
+ u = g(r.width, r.height);
196
+ u.Ab = C;
197
+ u.F = r;
198
+ u.Va = r.width;
199
+ u.Ua = r.height;
200
+ u.zb = z;
201
+ return u;
198
202
  }
199
203
  function c() {
200
204
  if (e) {
201
- var l = e.Cb, r = 0, x = 0, z = 0, G = Array(f.size), C = 0;
202
- for (var J of f) {
203
- J.da = Math.min(J.F.width, l), J.ca = Math.min(J.F.height, l), J.Ja = J.ca * J.da, r = Math.max(r, J.da), x = Math.max(x, J.ca), z += J.Ja, G[C++] = J;
205
+ var r = e.Cb, u = 0, z = 0, B = 0, C = Array(f.size), O = 0;
206
+ for (var M of f) {
207
+ M.da = Math.min(M.F.width, r), M.ca = Math.min(M.F.height, r), M.Ja = M.ca * M.da, u = Math.max(u, M.da), z = Math.max(z, M.ca), B += M.Ja, C[O++] = M;
204
208
  }
205
209
  f.clear();
206
- if (!(0 >= z)) {
207
- r = 1 << (0 >= r ? 0 : 32 - Math.clz32(r - 1));
208
- for (x = 1 << (0 >= x ? 0 : 32 - Math.clz32(x - 1)); x * r < z;) {
209
- r <= x ? r *= 2 : x *= 2;
210
- }
211
- r = Math.min(r, l);
212
- r = Math.min(x, l);
213
- G.sort((ha, Fb) => Fb.Ja - ha.Ja);
214
- z = new m.DynamicRectanizer(l);
215
- for (J = 0; J < G.length;) {
216
- z.reset(r, x);
217
- for (C = J; C < G.length; ++C) {
218
- var N = G[C], K = z.addRect(N.da, N.ca);
219
- if (0 > K) {
220
- console.assert(C > J);
210
+ if (!(0 >= B)) {
211
+ u = 1 << (0 >= u ? 0 : 32 - Math.clz32(u - 1));
212
+ for (z = 1 << (0 >= z ? 0 : 32 - Math.clz32(z - 1)); z * u < B;) {
213
+ u <= z ? u *= 2 : z *= 2;
214
+ }
215
+ u = Math.min(u, r);
216
+ u = Math.min(z, r);
217
+ C.sort((ia, Gb) => Gb.Ja - ia.Ja);
218
+ B = new l.DynamicRectanizer(r);
219
+ for (M = 0; M < C.length;) {
220
+ B.reset(u, z);
221
+ for (O = M; O < C.length; ++O) {
222
+ var P = C[O], J = B.addRect(P.da, P.ca);
223
+ if (0 > J) {
224
+ console.assert(O > M);
221
225
  break;
222
226
  }
223
- N.pa = K & 65535;
224
- N.qa = K >> 16;
227
+ P.pa = J & 65535;
228
+ P.qa = J >> 16;
225
229
  }
226
- N = q.push(z.drawWidth());
227
- K = n.push(z.drawHeight());
228
- console.assert(N >= z.drawWidth());
229
- console.assert(K >= z.drawHeight());
230
- console.assert(N <= l);
231
- console.assert(K <= l);
232
- e.F.width != N && (e.F.width = N);
233
- e.F.height != K && (e.F.height = K);
230
+ P = p.push(B.drawWidth());
231
+ J = n.push(B.drawHeight());
232
+ console.assert(P >= B.drawWidth());
233
+ console.assert(J >= B.drawHeight());
234
+ console.assert(P <= r);
235
+ console.assert(J <= r);
236
+ e.F.width != P && (e.F.width = P);
237
+ e.F.height != J && (e.F.height = J);
234
238
  e.clear();
235
- for (N = J; N < C; ++N) {
236
- K = G[N];
237
- e.saveClipRect(K.pa, K.qa, K.pa + K.da, K.qa + K.ca);
238
- let ha = new m.Mat2D();
239
- ha.xx = K.da / K.F.width;
240
- ha.yy = K.ca / K.F.height;
241
- ha.xy = ha.yx = 0;
242
- ha.tx = K.pa;
243
- ha.ty = K.qa;
244
- e.transform(ha);
245
- for (const Fb of K.R) {
246
- Fb();
239
+ for (P = M; P < O; ++P) {
240
+ J = C[P];
241
+ e.saveClipRect(J.pa, J.qa, J.pa + J.da, J.qa + J.ca);
242
+ let ia = new l.Mat2D();
243
+ ia.xx = J.da / J.F.width;
244
+ ia.yy = J.ca / J.F.height;
245
+ ia.xy = ia.yx = 0;
246
+ ia.tx = J.pa;
247
+ ia.ty = J.qa;
248
+ e.transform(ia);
249
+ for (const Gb of J.R) {
250
+ Gb();
247
251
  }
248
252
  e.restoreClipRect();
249
- K.R = [];
253
+ J.R = [];
250
254
  }
251
- for (e.flush(); J < C; ++J) {
252
- N = G[J], K = N.yb, K.globalCompositeOperation = "copy", K.drawImage(e.F, N.pa, N.qa, N.da, N.ca, 0, 0, N.F.width, N.F.height);
255
+ for (e.flush(); M < O; ++M) {
256
+ P = C[M], J = P.yb, J.globalCompositeOperation = "copy", J.drawImage(e.F, P.pa, P.qa, P.da, P.ca, 0, 0, P.F.width, P.F.height);
253
257
  }
254
- J = C;
258
+ M = O;
255
259
  }
256
260
  }
257
261
  }
@@ -259,42 +263,46 @@ m.onRuntimeInitialized = function() {
259
263
  fa && fa();
260
264
  const d = navigator.userAgent.match(/firefox|fxios/i);
261
265
  let e = null;
262
- const f = new Set(), g = m.makeRenderer;
263
- m.makeRenderer = function(l, r) {
264
- return r ? (e || (e = b(document.createElement("canvas")), r = e.zb, e.Cb = Math.min(r.getParameter(r.MAX_RENDERBUFFER_SIZE), r.getParameter(r.MAX_TEXTURE_SIZE))), new a(l)) : b(l);
266
+ const f = new Set(), g = l.makeRenderer;
267
+ l.makeRenderer = function(r, u) {
268
+ return u ? (e || (e = b(document.createElement("canvas")), u = e.zb, e.Cb = Math.min(u.getParameter(u.MAX_RENDERBUFFER_SIZE), u.getParameter(u.MAX_TEXTURE_SIZE))), new a(r)) : b(r);
265
269
  };
266
- const k = m.Artboard.prototype.draw;
267
- m.Artboard.prototype.draw = function(l) {
268
- l.R ? l.R.push(k.bind(this, l.Db)) : k.call(this, l);
270
+ const k = l.Artboard.prototype.draw;
271
+ l.Artboard.prototype.draw = function(r) {
272
+ r.R ? r.R.push(k.bind(this, r.Db)) : k.call(this, r);
269
273
  };
270
- const q = new da(), n = new da(), t = new ca();
271
- m.requestAnimationFrame = t.requestAnimationFrame.bind(t);
272
- m.cancelAnimationFrame = t.cancelAnimationFrame.bind(t);
273
- m.enableFPSCounter = t.Kb.bind(t);
274
+ const p = new da(), n = new da(), t = new ca();
275
+ l.requestAnimationFrame = t.requestAnimationFrame.bind(t);
276
+ l.cancelAnimationFrame = t.cancelAnimationFrame.bind(t);
277
+ l.enableFPSCounter = t.Kb.bind(t);
274
278
  t.kb = c;
275
- m.resolveAnimationFrame = c;
276
- let v = m.load;
277
- m.load = function(l, r, x = !0) {
278
- const z = new m.FallbackFileAssetLoader();
279
- void 0 !== r && z.addLoader(r);
280
- x && (r = new m.CDNFileAssetLoader(), z.addLoader(r));
281
- return Promise.resolve(v(l, z));
279
+ l.resolveAnimationFrame = c;
280
+ let w = l.load;
281
+ l.load = function(r, u, z = !0) {
282
+ const B = new l.FallbackFileAssetLoader();
283
+ void 0 !== u && B.addLoader(u);
284
+ z && (u = new l.CDNFileAssetLoader(), B.addLoader(u));
285
+ return Promise.resolve(w(r, B));
282
286
  };
283
- const y = m.WebGLRenderer.prototype.clear;
284
- m.WebGLRenderer.prototype.clear = function() {
287
+ const y = l.WebGLRenderer.prototype.clear;
288
+ l.WebGLRenderer.prototype.clear = function() {
285
289
  la(this.Ab);
286
- const l = this.F;
287
- if (this.Va != l.width || this.Ua != l.height) {
288
- this.resize(l.width, l.height), this.Va = l.width, this.Ua = l.height;
290
+ const r = this.F;
291
+ if (this.Va != r.width || this.Ua != r.height) {
292
+ this.resize(r.width, r.height), this.Va = r.width, this.Ua = r.height;
289
293
  }
290
294
  y.call(this);
291
295
  };
292
- m.decodeImage = function(l, r) {
293
- l = m.decodeImageSkia(l);
294
- r(l);
296
+ l.decodeImage = function(r, u) {
297
+ r = l.decodeImageSkia(r);
298
+ u(r);
299
+ };
300
+ let q = l.Renderer.prototype.align;
301
+ l.Renderer.prototype.align = function(r, u, z, B, C = 1.0) {
302
+ q.call(this, r, u, z, B, C);
295
303
  };
296
304
  };
297
- var ma = Object.assign({}, m), na = "./this.program", oa = "object" == typeof window, pa = "function" == typeof importScripts, qa = "", ra, sa;
305
+ var ma = Object.assign({}, l), na = "./this.program", oa = "object" == typeof window, pa = "function" == typeof importScripts, qa = "", ra, sa;
298
306
  if (oa || pa) {
299
307
  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 => {
300
308
  var b = new XMLHttpRequest();
@@ -313,35 +321,35 @@ if (oa || pa) {
313
321
  d.send(null);
314
322
  };
315
323
  }
316
- var ta = m.print || console.log.bind(console), ua = m.printErr || console.error.bind(console);
317
- Object.assign(m, ma);
324
+ var ta = l.print || console.log.bind(console), ua = l.printErr || console.error.bind(console);
325
+ Object.assign(l, ma);
318
326
  ma = null;
319
- m.thisProgram && (na = m.thisProgram);
327
+ l.thisProgram && (na = l.thisProgram);
320
328
  var va;
321
- m.wasmBinary && (va = m.wasmBinary);
322
- var noExitRuntime = m.noExitRuntime || !0;
329
+ l.wasmBinary && (va = l.wasmBinary);
330
+ var noExitRuntime = l.noExitRuntime || !0;
323
331
  "object" != typeof WebAssembly && wa("no native wasm support detected");
324
- var xa, p, ya = !1, u, w, A, za, B, D, E, Aa;
332
+ var xa, m, ya = !1, v, x, A, za, D, E, F, Aa;
325
333
  function Ba() {
326
334
  var a = xa.buffer;
327
- m.HEAP8 = u = new Int8Array(a);
328
- m.HEAP16 = A = new Int16Array(a);
329
- m.HEAP32 = B = new Int32Array(a);
330
- m.HEAPU8 = w = new Uint8Array(a);
331
- m.HEAPU16 = za = new Uint16Array(a);
332
- m.HEAPU32 = D = new Uint32Array(a);
333
- m.HEAPF32 = E = new Float32Array(a);
334
- m.HEAPF64 = Aa = new Float64Array(a);
335
+ l.HEAP8 = v = new Int8Array(a);
336
+ l.HEAP16 = A = new Int16Array(a);
337
+ l.HEAP32 = D = new Int32Array(a);
338
+ l.HEAPU8 = x = new Uint8Array(a);
339
+ l.HEAPU16 = za = new Uint16Array(a);
340
+ l.HEAPU32 = E = new Uint32Array(a);
341
+ l.HEAPF32 = F = new Float32Array(a);
342
+ l.HEAPF64 = Aa = new Float64Array(a);
335
343
  }
336
344
  var Ca, Da = [], Ea = [], Fa = [];
337
345
  function Ga() {
338
- var a = m.preRun.shift();
346
+ var a = l.preRun.shift();
339
347
  Da.unshift(a);
340
348
  }
341
349
  var Ha = 0, Ia = null, Ja = null;
342
350
  function wa(a) {
343
- if (m.onAbort) {
344
- m.onAbort(a);
351
+ if (l.onAbort) {
352
+ l.onAbort(a);
345
353
  }
346
354
  a = "Aborted(" + a + ")";
347
355
  ua(a);
@@ -357,7 +365,7 @@ var La;
357
365
  La = "webgl_advanced.wasm";
358
366
  if (!Ka(La)) {
359
367
  var Ma = La;
360
- La = m.locateFile ? m.locateFile(Ma, qa) : qa + Ma;
368
+ La = l.locateFile ? l.locateFile(Ma, qa) : qa + Ma;
361
369
  }
362
370
  function Na(a) {
363
371
  if (a == La && va) {
@@ -400,7 +408,7 @@ function Qa(a, b) {
400
408
  return Pa(c, a, b);
401
409
  }));
402
410
  }
403
- var Ra, Sa, Wa = {692684:(a, b, c, d, e) => {
411
+ var Ra, Sa, Wa = {693276:(a, b, c, d, e) => {
404
412
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
405
413
  return 0;
406
414
  }
@@ -449,12 +457,12 @@ var Ra, Sa, Wa = {692684:(a, b, c, d, e) => {
449
457
  var k = f.C[g];
450
458
  null != k && null != k.I && k.state === f.ha.sb && k.I.resume().then(() => {
451
459
  Ta(k.lb);
452
- }, q => {
453
- console.error("Failed to resume audiocontext", q);
460
+ }, p => {
461
+ console.error("Failed to resume audiocontext", p);
454
462
  });
455
463
  }
456
- f.wb.map(function(q) {
457
- document.removeEventListener(q, f.unlock, !0);
464
+ f.wb.map(function(p) {
465
+ document.removeEventListener(p, f.unlock, !0);
458
466
  });
459
467
  };
460
468
  f.wb.map(function(g) {
@@ -463,9 +471,9 @@ var Ra, Sa, Wa = {692684:(a, b, c, d, e) => {
463
471
  }
464
472
  window.h.Ea += 1;
465
473
  return 1;
466
- }, 694862:() => {
474
+ }, 695454:() => {
467
475
  "undefined" !== typeof window.h && (--window.h.Ea, 0 === window.h.Ea && delete window.h);
468
- }, 695026:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 695130:() => {
476
+ }, 695618:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 695722:() => {
469
477
  try {
470
478
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
471
479
  a.close();
@@ -473,7 +481,7 @@ var Ra, Sa, Wa = {692684:(a, b, c, d, e) => {
473
481
  } catch (c) {
474
482
  return 0;
475
483
  }
476
- }, 695301:(a, b, c, d, e, f) => {
484
+ }, 695893:(a, b, c, d, e, f) => {
477
485
  if ("undefined" === typeof window.h) {
478
486
  return -1;
479
487
  }
@@ -485,41 +493,41 @@ var Ra, Sa, Wa = {692684:(a, b, c, d, e) => {
485
493
  c = 0;
486
494
  a != window.h.H.Ca && (c = b);
487
495
  g.X = g.I.createScriptProcessor(d, c, b);
488
- g.X.onaudioprocess = function(q) {
496
+ g.X.onaudioprocess = function(p) {
489
497
  if (null == g.ua || 0 == g.ua.length) {
490
- g.ua = new Float32Array(E.buffer, e, d * b);
498
+ g.ua = new Float32Array(F.buffer, e, d * b);
491
499
  }
492
500
  if (a == window.h.H.capture || a == window.h.H.La) {
493
501
  for (var n = 0; n < b; n += 1) {
494
- for (var t = q.inputBuffer.getChannelData(n), v = g.ua, y = 0; y < d; y += 1) {
495
- v[y * b + n] = t[y];
502
+ for (var t = p.inputBuffer.getChannelData(n), w = g.ua, y = 0; y < d; y += 1) {
503
+ w[y * b + n] = t[y];
496
504
  }
497
505
  }
498
506
  Ua(f, d, e);
499
507
  }
500
508
  if (a == window.h.H.Ca || a == window.h.H.La) {
501
- for (Va(f, d, e), n = 0; n < q.outputBuffer.numberOfChannels; ++n) {
502
- for (t = q.outputBuffer.getChannelData(n), v = g.ua, y = 0; y < d; y += 1) {
503
- t[y] = v[y * b + n];
509
+ for (Va(f, d, e), n = 0; n < p.outputBuffer.numberOfChannels; ++n) {
510
+ for (t = p.outputBuffer.getChannelData(n), w = g.ua, y = 0; y < d; y += 1) {
511
+ t[y] = w[y * b + n];
504
512
  }
505
513
  }
506
514
  } else {
507
- for (n = 0; n < q.outputBuffer.numberOfChannels; ++n) {
508
- q.outputBuffer.getChannelData(n).fill(0.0);
515
+ for (n = 0; n < p.outputBuffer.numberOfChannels; ++n) {
516
+ p.outputBuffer.getChannelData(n).fill(0.0);
509
517
  }
510
518
  }
511
519
  };
512
- a != window.h.H.capture && a != window.h.H.La || navigator.mediaDevices.getUserMedia({audio:!0, video:!1}).then(function(q) {
513
- g.Fa = g.I.createMediaStreamSource(q);
520
+ a != window.h.H.capture && a != window.h.H.La || navigator.mediaDevices.getUserMedia({audio:!0, video:!1}).then(function(p) {
521
+ g.Fa = g.I.createMediaStreamSource(p);
514
522
  g.Fa.connect(g.X);
515
523
  g.X.connect(g.I.destination);
516
- }).catch(function(q) {
517
- console.log("Failed to get user media: " + q);
524
+ }).catch(function(p) {
525
+ console.log("Failed to get user media: " + p);
518
526
  });
519
527
  a == window.h.H.Ca && g.X.connect(g.I.destination);
520
528
  g.lb = f;
521
529
  return window.h.nc(g);
522
- }, 698178:a => window.h.ta(a).I.sampleRate, 698251:a => {
530
+ }, 698770:a => window.h.ta(a).I.sampleRate, 698843:a => {
523
531
  a = window.h.ta(a);
524
532
  void 0 !== a.X && (a.X.onaudioprocess = function() {
525
533
  }, a.X.disconnect(), a.X = void 0);
@@ -527,19 +535,19 @@ var Ra, Sa, Wa = {692684:(a, b, c, d, e) => {
527
535
  a.I.close();
528
536
  a.I = void 0;
529
537
  a.lb = void 0;
530
- }, 698651:a => {
538
+ }, 699243:a => {
531
539
  window.h.xb(a);
532
- }, 698701:a => {
540
+ }, 699293:a => {
533
541
  a = window.h.ta(a);
534
542
  a.I.resume();
535
543
  a.state = window.h.ha.sb;
536
- }, 698840:a => {
544
+ }, 699432:a => {
537
545
  a = window.h.ta(a);
538
546
  a.I.suspend();
539
547
  a.state = window.h.ha.stopped;
540
548
  }}, Xa = a => {
541
549
  for (; 0 < a.length;) {
542
- a.shift()(m);
550
+ a.shift()(l);
543
551
  }
544
552
  }, Ya = (a, b) => {
545
553
  for (var c = 0, d = a.length - 1; 0 <= d; d--) {
@@ -595,7 +603,7 @@ function db() {
595
603
  a = Ya(a.split("/").filter(d => !!d), !b).join("/");
596
604
  return (b ? "/" : "") + a || ".";
597
605
  }
598
- var eb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, F = (a, b, c) => {
606
+ var eb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, fb = (a, b, c) => {
599
607
  var d = b + c;
600
608
  for (c = b; a[c] && !(c >= d);) {
601
609
  ++c;
@@ -619,13 +627,13 @@ var eb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, F
619
627
  }
620
628
  }
621
629
  return d;
622
- }, fb = [], gb = a => {
630
+ }, gb = [], hb = a => {
623
631
  for (var b = 0, c = 0; c < a.length; ++c) {
624
632
  var d = a.charCodeAt(c);
625
633
  127 >= d ? b++ : 2047 >= d ? b += 2 : 55296 <= d && 57343 >= d ? (b += 4, ++c) : b += 3;
626
634
  }
627
635
  return b;
628
- }, hb = (a, b, c, d) => {
636
+ }, ib = (a, b, c, d) => {
629
637
  if (!(0 < d)) {
630
638
  return 0;
631
639
  }
@@ -669,21 +677,21 @@ var eb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, F
669
677
  b[c] = 0;
670
678
  return c - e;
671
679
  };
672
- function ib(a, b) {
673
- var c = Array(gb(a) + 1);
674
- a = hb(a, c, 0, c.length);
680
+ function jb(a, b) {
681
+ var c = Array(hb(a) + 1);
682
+ a = ib(a, c, 0, c.length);
675
683
  b && (c.length = a);
676
684
  return c;
677
685
  }
678
- var jb = [];
679
- function kb(a, b) {
680
- jb[a] = {input:[], D:[], T:b};
681
- lb(a, mb);
686
+ var kb = [];
687
+ function lb(a, b) {
688
+ kb[a] = {input:[], D:[], T:b};
689
+ mb(a, nb);
682
690
  }
683
- var mb = {open:function(a) {
684
- var b = jb[a.node.Da];
691
+ var nb = {open:function(a) {
692
+ var b = kb[a.node.Da];
685
693
  if (!b) {
686
- throw new H(43);
694
+ throw new G(43);
687
695
  }
688
696
  a.s = b;
689
697
  a.seekable = !1;
@@ -693,16 +701,16 @@ var mb = {open:function(a) {
693
701
  a.s.T.sa(a.s);
694
702
  }, read:function(a, b, c, d) {
695
703
  if (!a.s || !a.s.T.eb) {
696
- throw new H(60);
704
+ throw new G(60);
697
705
  }
698
706
  for (var e = 0, f = 0; f < d; f++) {
699
707
  try {
700
708
  var g = a.s.T.eb(a.s);
701
709
  } catch (k) {
702
- throw new H(29);
710
+ throw new G(29);
703
711
  }
704
712
  if (void 0 === g && 0 === e) {
705
- throw new H(6);
713
+ throw new G(6);
706
714
  }
707
715
  if (null === g || void 0 === g) {
708
716
  break;
@@ -714,59 +722,59 @@ var mb = {open:function(a) {
714
722
  return e;
715
723
  }, write:function(a, b, c, d) {
716
724
  if (!a.s || !a.s.T.Oa) {
717
- throw new H(60);
725
+ throw new G(60);
718
726
  }
719
727
  try {
720
728
  for (var e = 0; e < d; e++) {
721
729
  a.s.T.Oa(a.s, b[c + e]);
722
730
  }
723
731
  } catch (f) {
724
- throw new H(29);
732
+ throw new G(29);
725
733
  }
726
734
  d && (a.node.timestamp = Date.now());
727
735
  return e;
728
- },}, nb = {eb:function() {
736
+ },}, ob = {eb:function() {
729
737
  a: {
730
- if (!fb.length) {
738
+ if (!gb.length) {
731
739
  var a = null;
732
740
  "undefined" != typeof window && "function" == typeof window.prompt ? (a = window.prompt("Input: "), null !== a && (a += "\n")) : "function" == typeof readline && (a = readline(), null !== a && (a += "\n"));
733
741
  if (!a) {
734
742
  a = null;
735
743
  break a;
736
744
  }
737
- fb = ib(a, !0);
745
+ gb = jb(a, !0);
738
746
  }
739
- a = fb.shift();
747
+ a = gb.shift();
740
748
  }
741
749
  return a;
742
750
  }, Oa:function(a, b) {
743
- null === b || 10 === b ? (ta(F(a.D, 0)), a.D = []) : 0 != b && a.D.push(b);
751
+ null === b || 10 === b ? (ta(fb(a.D, 0)), a.D = []) : 0 != b && a.D.push(b);
744
752
  }, sa:function(a) {
745
- a.D && 0 < a.D.length && (ta(F(a.D, 0)), a.D = []);
753
+ a.D && 0 < a.D.length && (ta(fb(a.D, 0)), a.D = []);
746
754
  }, Wb:function() {
747
755
  return {uc:25856, wc:5, tc:191, vc:35387, sc:[3, 28, 127, 21, 4, 0, 1, 0, 17, 19, 26, 0, 18, 15, 23, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,]};
748
756
  }, Xb:function() {
749
757
  return 0;
750
758
  }, Yb:function() {
751
759
  return [24, 80];
752
- },}, ob = {Oa:function(a, b) {
753
- null === b || 10 === b ? (ua(F(a.D, 0)), a.D = []) : 0 != b && a.D.push(b);
760
+ },}, pb = {Oa:function(a, b) {
761
+ null === b || 10 === b ? (ua(fb(a.D, 0)), a.D = []) : 0 != b && a.D.push(b);
754
762
  }, sa:function(a) {
755
- a.D && 0 < a.D.length && (ua(F(a.D, 0)), a.D = []);
763
+ a.D && 0 < a.D.length && (ua(fb(a.D, 0)), a.D = []);
756
764
  },};
757
- function pb(a, b) {
765
+ function qb(a, b) {
758
766
  var c = a.j ? a.j.length : 0;
759
767
  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));
760
768
  }
761
- var I = {N:null, S() {
762
- return I.createNode(null, "/", 16895, 0);
769
+ var H = {N:null, S() {
770
+ return H.createNode(null, "/", 16895, 0);
763
771
  }, createNode(a, b, c, d) {
764
772
  if (24576 === (c & 61440) || 4096 === (c & 61440)) {
765
- throw new H(63);
773
+ throw new G(63);
766
774
  }
767
- I.N || (I.N = {dir:{node:{W:I.l.W, O:I.l.O, ka:I.l.ka, Aa:I.l.Aa, qb:I.l.qb, vb:I.l.vb, rb:I.l.rb, ob:I.l.ob, Ga:I.l.Ga}, stream:{$:I.m.$}}, file:{node:{W:I.l.W, O:I.l.O}, stream:{$:I.m.$, read:I.m.read, write:I.m.write, ra:I.m.ra, hb:I.m.hb, jb:I.m.jb}}, link:{node:{W:I.l.W, O:I.l.O, la:I.l.la}, stream:{}}, Wa:{node:{W:I.l.W, O:I.l.O}, stream:qb}});
768
- c = rb(a, b, c, d);
769
- 16384 === (c.mode & 61440) ? (c.l = I.N.dir.node, c.m = I.N.dir.stream, c.j = {}) : 32768 === (c.mode & 61440) ? (c.l = I.N.file.node, c.m = I.N.file.stream, c.v = 0, c.j = null) : 40960 === (c.mode & 61440) ? (c.l = I.N.link.node, c.m = I.N.link.stream) : 8192 === (c.mode & 61440) && (c.l = I.N.Wa.node, c.m = I.N.Wa.stream);
775
+ H.N || (H.N = {dir:{node:{W:H.l.W, O:H.l.O, ka:H.l.ka, Aa:H.l.Aa, qb:H.l.qb, vb:H.l.vb, rb:H.l.rb, ob:H.l.ob, Ga:H.l.Ga}, stream:{$:H.m.$}}, file:{node:{W:H.l.W, O:H.l.O}, stream:{$:H.m.$, read:H.m.read, write:H.m.write, ra:H.m.ra, hb:H.m.hb, jb:H.m.jb}}, link:{node:{W:H.l.W, O:H.l.O, la:H.l.la}, stream:{}}, Wa:{node:{W:H.l.W, O:H.l.O}, stream:rb}});
776
+ c = sb(a, b, c, d);
777
+ 16384 === (c.mode & 61440) ? (c.l = H.N.dir.node, c.m = H.N.dir.stream, c.j = {}) : 32768 === (c.mode & 61440) ? (c.l = H.N.file.node, c.m = H.N.file.stream, c.v = 0, c.j = null) : 40960 === (c.mode & 61440) ? (c.l = H.N.link.node, c.m = H.N.link.stream) : 8192 === (c.mode & 61440) && (c.l = H.N.Wa.node, c.m = H.N.Wa.stream);
770
778
  c.timestamp = Date.now();
771
779
  a && (a.j[b] = c, a.timestamp = c.timestamp);
772
780
  return c;
@@ -802,18 +810,18 @@ var I = {N:null, S() {
802
810
  }
803
811
  }
804
812
  }, ka() {
805
- throw sb[44];
813
+ throw tb[44];
806
814
  }, Aa(a, b, c, d) {
807
- return I.createNode(a, b, c, d);
815
+ return H.createNode(a, b, c, d);
808
816
  }, qb(a, b, c) {
809
817
  if (16384 === (a.mode & 61440)) {
810
818
  try {
811
- var d = tb(b, c);
819
+ var d = ub(b, c);
812
820
  } catch (f) {
813
821
  }
814
822
  if (d) {
815
823
  for (var e in d.j) {
816
- throw new H(55);
824
+ throw new G(55);
817
825
  }
818
826
  }
819
827
  }
@@ -827,9 +835,9 @@ var I = {N:null, S() {
827
835
  delete a.j[b];
828
836
  a.timestamp = Date.now();
829
837
  }, rb(a, b) {
830
- var c = tb(a, b), d;
838
+ var c = ub(a, b), d;
831
839
  for (d in c.j) {
832
- throw new H(55);
840
+ throw new G(55);
833
841
  }
834
842
  delete a.j[b];
835
843
  a.timestamp = Date.now();
@@ -840,12 +848,12 @@ var I = {N:null, S() {
840
848
  }
841
849
  return b;
842
850
  }, Ga(a, b, c) {
843
- a = I.createNode(a, b, 41471, 0);
851
+ a = H.createNode(a, b, 41471, 0);
844
852
  a.link = c;
845
853
  return a;
846
854
  }, la(a) {
847
855
  if (40960 !== (a.mode & 61440)) {
848
- throw new H(28);
856
+ throw new G(28);
849
857
  }
850
858
  return a.link;
851
859
  },}, m:{read(a, b, c, d, e) {
@@ -863,7 +871,7 @@ var I = {N:null, S() {
863
871
  }
864
872
  return a;
865
873
  }, write(a, b, c, d, e, f) {
866
- b.buffer === u.buffer && (f = !1);
874
+ b.buffer === v.buffer && (f = !1);
867
875
  if (!d) {
868
876
  return 0;
869
877
  }
@@ -880,7 +888,7 @@ var I = {N:null, S() {
880
888
  return a.j.set(b.subarray(c, c + d), e), d;
881
889
  }
882
890
  }
883
- pb(a, e + d);
891
+ qb(a, e + d);
884
892
  if (a.j.subarray && b.subarray) {
885
893
  a.j.set(b.subarray(c, c + d), e);
886
894
  } else {
@@ -893,70 +901,70 @@ var I = {N:null, S() {
893
901
  }, $(a, b, c) {
894
902
  1 === c ? b += a.position : 2 === c && 32768 === (a.node.mode & 61440) && (b += a.node.v);
895
903
  if (0 > b) {
896
- throw new H(28);
904
+ throw new G(28);
897
905
  }
898
906
  return b;
899
907
  }, ra(a, b, c) {
900
- pb(a.node, b + c);
908
+ qb(a.node, b + c);
901
909
  a.node.v = Math.max(a.node.v, b + c);
902
910
  }, hb(a, b, c, d, e) {
903
911
  if (32768 !== (a.node.mode & 61440)) {
904
- throw new H(43);
912
+ throw new G(43);
905
913
  }
906
914
  a = a.node.j;
907
- if (e & 2 || a.buffer !== u.buffer) {
915
+ if (e & 2 || a.buffer !== v.buffer) {
908
916
  if (0 < c || c + b < a.length) {
909
917
  a.subarray ? a = a.subarray(c, c + b) : a = Array.prototype.slice.call(a, c, c + b);
910
918
  }
911
919
  c = !0;
912
920
  b = 65536 * Math.ceil(b / 65536);
913
- (e = ub(65536, b)) ? (w.fill(0, e, e + b), b = e) : b = 0;
921
+ (e = vb(65536, b)) ? (x.fill(0, e, e + b), b = e) : b = 0;
914
922
  if (!b) {
915
- throw new H(48);
923
+ throw new G(48);
916
924
  }
917
- u.set(a, b);
925
+ v.set(a, b);
918
926
  } else {
919
927
  c = !1, b = a.byteOffset;
920
928
  }
921
929
  return {o:b, L:c};
922
930
  }, jb(a, b, c, d) {
923
- I.m.write(a, b, 0, d, c, !1);
931
+ H.m.write(a, b, 0, d, c, !1);
924
932
  return 0;
925
933
  },},};
926
- function vb(a, b) {
934
+ function wb(a, b) {
927
935
  var c = 0;
928
936
  a && (c |= 365);
929
937
  b && (c |= 146);
930
938
  return c;
931
939
  }
932
- var wb = null, xb = {}, yb = [], zb = 1, Ab = null, Bb = !0, H = null, sb = {}, Db = (a, b = {}) => {
940
+ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, G = null, tb = {}, Eb = (a, b = {}) => {
933
941
  a = db(a);
934
942
  if (!a) {
935
943
  return {path:"", node:null};
936
944
  }
937
945
  b = Object.assign({bb:!0, Qa:0}, b);
938
946
  if (8 < b.Qa) {
939
- throw new H(32);
947
+ throw new G(32);
940
948
  }
941
949
  a = a.split("/").filter(g => !!g);
942
- for (var c = wb, d = "/", e = 0; e < a.length; e++) {
950
+ for (var c = xb, d = "/", e = 0; e < a.length; e++) {
943
951
  var f = e === a.length - 1;
944
952
  if (f && b.parent) {
945
953
  break;
946
954
  }
947
- c = tb(c, a[e]);
955
+ c = ub(c, a[e]);
948
956
  d = Za(d + "/" + a[e]);
949
957
  c.Ba && (!f || f && b.bb) && (c = c.Ba.root);
950
958
  if (!f || b.ab) {
951
959
  for (f = 0; 40960 === (c.mode & 61440);) {
952
- if (c = Cb(d), d = db($a(d), c), c = Db(d, {Qa:b.Qa + 1}).node, 40 < f++) {
953
- throw new H(32);
960
+ if (c = Db(d), d = db($a(d), c), c = Eb(d, {Qa:b.Qa + 1}).node, 40 < f++) {
961
+ throw new G(32);
954
962
  }
955
963
  }
956
964
  }
957
965
  }
958
966
  return {path:d, node:c};
959
- }, Eb = a => {
967
+ }, Fb = a => {
960
968
  for (var b;;) {
961
969
  if (a === a.parent) {
962
970
  return a = a.S.ib, b ? "/" !== a[a.length - 1] ? `${a}/${b}` : a + b : a;
@@ -964,34 +972,34 @@ var wb = null, xb = {}, yb = [], zb = 1, Ab = null, Bb = !0, H = null, sb = {},
964
972
  b = b ? `${a.name}/${b}` : a.name;
965
973
  a = a.parent;
966
974
  }
967
- }, Gb = (a, b) => {
975
+ }, Hb = (a, b) => {
968
976
  for (var c = 0, d = 0; d < b.length; d++) {
969
977
  c = (c << 5) - c + b.charCodeAt(d) | 0;
970
978
  }
971
- return (a + c >>> 0) % Ab.length;
972
- }, tb = (a, b) => {
979
+ return (a + c >>> 0) % Bb.length;
980
+ }, ub = (a, b) => {
973
981
  var c;
974
- if (c = (c = Hb(a, "x")) ? c : a.l.ka ? 0 : 2) {
975
- throw new H(c, a);
982
+ if (c = (c = Ib(a, "x")) ? c : a.l.ka ? 0 : 2) {
983
+ throw new G(c, a);
976
984
  }
977
- for (c = Ab[Gb(a.id, b)]; c; c = c.ac) {
985
+ for (c = Bb[Hb(a.id, b)]; c; c = c.ac) {
978
986
  var d = c.name;
979
987
  if (c.parent.id === a.id && d === b) {
980
988
  return c;
981
989
  }
982
990
  }
983
991
  return a.l.ka(a, b);
984
- }, rb = (a, b, c, d) => {
985
- a = new Ib(a, b, c, d);
986
- b = Gb(a.parent.id, a.name);
987
- a.ac = Ab[b];
988
- return Ab[b] = a;
989
- }, Jb = a => {
992
+ }, sb = (a, b, c, d) => {
993
+ a = new Jb(a, b, c, d);
994
+ b = Hb(a.parent.id, a.name);
995
+ a.ac = Bb[b];
996
+ return Bb[b] = a;
997
+ }, Kb = a => {
990
998
  var b = ["r", "w", "rw"][a & 3];
991
999
  a & 512 && (b += "w");
992
1000
  return b;
993
- }, Hb = (a, b) => {
994
- if (Bb) {
1001
+ }, Ib = (a, b) => {
1002
+ if (Cb) {
995
1003
  return 0;
996
1004
  }
997
1005
  if (!b.includes("r") || a.mode & 292) {
@@ -1002,29 +1010,29 @@ var wb = null, xb = {}, yb = [], zb = 1, Ab = null, Bb = !0, H = null, sb = {},
1002
1010
  return 2;
1003
1011
  }
1004
1012
  return 0;
1005
- }, Kb = (a, b) => {
1013
+ }, Lb = (a, b) => {
1006
1014
  try {
1007
- return tb(a, b), 20;
1015
+ return ub(a, b), 20;
1008
1016
  } catch (c) {
1009
1017
  }
1010
- return Hb(a, "wx");
1011
- }, Lb = () => {
1018
+ return Ib(a, "wx");
1019
+ }, Mb = () => {
1012
1020
  for (var a = 0; 4096 >= a; a++) {
1013
- if (!yb[a]) {
1021
+ if (!zb[a]) {
1014
1022
  return a;
1015
1023
  }
1016
1024
  }
1017
- throw new H(33);
1018
- }, Mb = a => {
1019
- a = yb[a];
1025
+ throw new G(33);
1026
+ }, Nb = a => {
1027
+ a = zb[a];
1020
1028
  if (!a) {
1021
- throw new H(8);
1029
+ throw new G(8);
1022
1030
  }
1023
1031
  return a;
1024
- }, Ob = (a, b = -1) => {
1025
- Nb || (Nb = function() {
1032
+ }, Pb = (a, b = -1) => {
1033
+ Ob || (Ob = function() {
1026
1034
  this.h = {};
1027
- }, Nb.prototype = {}, Object.defineProperties(Nb.prototype, {object:{get() {
1035
+ }, Ob.prototype = {}, Object.defineProperties(Ob.prototype, {object:{get() {
1028
1036
  return this.node;
1029
1037
  }, set(c) {
1030
1038
  this.node = c;
@@ -1037,84 +1045,84 @@ var wb = null, xb = {}, yb = [], zb = 1, Ab = null, Bb = !0, H = null, sb = {},
1037
1045
  }, set(c) {
1038
1046
  this.h.position = c;
1039
1047
  },},}));
1040
- a = Object.assign(new Nb(), a);
1041
- -1 == b && (b = Lb());
1048
+ a = Object.assign(new Ob(), a);
1049
+ -1 == b && (b = Mb());
1042
1050
  a.V = b;
1043
- return yb[b] = a;
1044
- }, qb = {open:a => {
1045
- a.m = xb[a.node.Da].m;
1051
+ return zb[b] = a;
1052
+ }, rb = {open:a => {
1053
+ a.m = yb[a.node.Da].m;
1046
1054
  a.m.open && a.m.open(a);
1047
1055
  }, $:() => {
1048
- throw new H(70);
1049
- },}, lb = (a, b) => {
1050
- xb[a] = {m:b};
1051
- }, Pb = (a, b) => {
1056
+ throw new G(70);
1057
+ },}, mb = (a, b) => {
1058
+ yb[a] = {m:b};
1059
+ }, Qb = (a, b) => {
1052
1060
  var c = "/" === b, d = !b;
1053
- if (c && wb) {
1054
- throw new H(10);
1061
+ if (c && xb) {
1062
+ throw new G(10);
1055
1063
  }
1056
1064
  if (!c && !d) {
1057
- var e = Db(b, {bb:!1});
1065
+ var e = Eb(b, {bb:!1});
1058
1066
  b = e.path;
1059
1067
  e = e.node;
1060
1068
  if (e.Ba) {
1061
- throw new H(10);
1069
+ throw new G(10);
1062
1070
  }
1063
1071
  if (16384 !== (e.mode & 61440)) {
1064
- throw new H(54);
1072
+ throw new G(54);
1065
1073
  }
1066
1074
  }
1067
1075
  b = {type:a, Ic:{}, ib:b, $b:[]};
1068
1076
  a = a.S(b);
1069
1077
  a.S = b;
1070
1078
  b.root = a;
1071
- c ? wb = a : e && (e.Ba = b, e.S && e.S.$b.push(b));
1072
- }, Qb = (a, b, c) => {
1073
- var d = Db(a, {parent:!0}).node;
1079
+ c ? xb = a : e && (e.Ba = b, e.S && e.S.$b.push(b));
1080
+ }, Rb = (a, b, c) => {
1081
+ var d = Eb(a, {parent:!0}).node;
1074
1082
  a = ab(a);
1075
1083
  if (!a || "." === a || ".." === a) {
1076
- throw new H(28);
1084
+ throw new G(28);
1077
1085
  }
1078
- var e = Kb(d, a);
1086
+ var e = Lb(d, a);
1079
1087
  if (e) {
1080
- throw new H(e);
1088
+ throw new G(e);
1081
1089
  }
1082
1090
  if (!d.l.Aa) {
1083
- throw new H(63);
1091
+ throw new G(63);
1084
1092
  }
1085
1093
  return d.l.Aa(d, a, b, c);
1086
- }, Rb = (a, b, c) => {
1094
+ }, Sb = (a, b, c) => {
1087
1095
  "undefined" == typeof c && (c = b, b = 438);
1088
- Qb(a, b | 8192, c);
1089
- }, Sb = (a, b) => {
1096
+ Rb(a, b | 8192, c);
1097
+ }, Tb = (a, b) => {
1090
1098
  if (!db(a)) {
1091
- throw new H(44);
1099
+ throw new G(44);
1092
1100
  }
1093
- var c = Db(b, {parent:!0}).node;
1101
+ var c = Eb(b, {parent:!0}).node;
1094
1102
  if (!c) {
1095
- throw new H(44);
1103
+ throw new G(44);
1096
1104
  }
1097
1105
  b = ab(b);
1098
- var d = Kb(c, b);
1106
+ var d = Lb(c, b);
1099
1107
  if (d) {
1100
- throw new H(d);
1108
+ throw new G(d);
1101
1109
  }
1102
1110
  if (!c.l.Ga) {
1103
- throw new H(63);
1111
+ throw new G(63);
1104
1112
  }
1105
1113
  c.l.Ga(c, b, a);
1106
- }, Cb = a => {
1107
- a = Db(a).node;
1114
+ }, Db = a => {
1115
+ a = Eb(a).node;
1108
1116
  if (!a) {
1109
- throw new H(44);
1117
+ throw new G(44);
1110
1118
  }
1111
1119
  if (!a.l.la) {
1112
- throw new H(28);
1120
+ throw new G(28);
1113
1121
  }
1114
- return db(Eb(a.parent), a.l.la(a));
1115
- }, Ub = (a, b, c) => {
1122
+ return db(Fb(a.parent), a.l.la(a));
1123
+ }, Vb = (a, b, c) => {
1116
1124
  if ("" === a) {
1117
- throw new H(44);
1125
+ throw new G(44);
1118
1126
  }
1119
1127
  if ("string" == typeof b) {
1120
1128
  var d = {r:0, "r+":2, w:577, "w+":578, a:1089, "a+":1090,}[b];
@@ -1129,7 +1137,7 @@ var wb = null, xb = {}, yb = [], zb = 1, Ab = null, Bb = !0, H = null, sb = {},
1129
1137
  } else {
1130
1138
  a = Za(a);
1131
1139
  try {
1132
- e = Db(a, {ab:!(b & 131072)}).node;
1140
+ e = Eb(a, {ab:!(b & 131072)}).node;
1133
1141
  } catch (f) {
1134
1142
  }
1135
1143
  }
@@ -1137,58 +1145,58 @@ var wb = null, xb = {}, yb = [], zb = 1, Ab = null, Bb = !0, H = null, sb = {},
1137
1145
  if (b & 64) {
1138
1146
  if (e) {
1139
1147
  if (b & 128) {
1140
- throw new H(20);
1148
+ throw new G(20);
1141
1149
  }
1142
1150
  } else {
1143
- e = Qb(a, c, 0), d = !0;
1151
+ e = Rb(a, c, 0), d = !0;
1144
1152
  }
1145
1153
  }
1146
1154
  if (!e) {
1147
- throw new H(44);
1155
+ throw new G(44);
1148
1156
  }
1149
1157
  8192 === (e.mode & 61440) && (b &= -513);
1150
1158
  if (b & 65536 && 16384 !== (e.mode & 61440)) {
1151
- throw new H(54);
1159
+ throw new G(54);
1152
1160
  }
1153
- if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !== Jb(b) || b & 512) ? 31 : Hb(e, Jb(b)) : 44)) {
1154
- throw new H(c);
1161
+ if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !== Kb(b) || b & 512) ? 31 : Ib(e, Kb(b)) : 44)) {
1162
+ throw new G(c);
1155
1163
  }
1156
1164
  if (b & 512 && !d) {
1157
1165
  c = e;
1158
- c = "string" == typeof c ? Db(c, {ab:!0}).node : c;
1166
+ c = "string" == typeof c ? Eb(c, {ab:!0}).node : c;
1159
1167
  if (!c.l.O) {
1160
- throw new H(63);
1168
+ throw new G(63);
1161
1169
  }
1162
1170
  if (16384 === (c.mode & 61440)) {
1163
- throw new H(31);
1171
+ throw new G(31);
1164
1172
  }
1165
1173
  if (32768 !== (c.mode & 61440)) {
1166
- throw new H(28);
1174
+ throw new G(28);
1167
1175
  }
1168
- if (d = Hb(c, "w")) {
1169
- throw new H(d);
1176
+ if (d = Ib(c, "w")) {
1177
+ throw new G(d);
1170
1178
  }
1171
1179
  c.l.O(c, {size:0, timestamp:Date.now()});
1172
1180
  }
1173
1181
  b &= -131713;
1174
- e = Ob({node:e, path:Eb(e), flags:b, seekable:!0, position:0, m:e.m, oc:[], error:!1});
1182
+ e = Pb({node:e, path:Fb(e), flags:b, seekable:!0, position:0, m:e.m, oc:[], error:!1});
1175
1183
  e.m.open && e.m.open(e);
1176
- !m.logReadFiles || b & 1 || (Tb || (Tb = {}), a in Tb || (Tb[a] = 1));
1184
+ !l.logReadFiles || b & 1 || (Ub || (Ub = {}), a in Ub || (Ub[a] = 1));
1177
1185
  return e;
1178
- }, Vb = (a, b, c) => {
1186
+ }, Wb = (a, b, c) => {
1179
1187
  if (null === a.V) {
1180
- throw new H(8);
1188
+ throw new G(8);
1181
1189
  }
1182
1190
  if (!a.seekable || !a.m.$) {
1183
- throw new H(70);
1191
+ throw new G(70);
1184
1192
  }
1185
1193
  if (0 != c && 1 != c && 2 != c) {
1186
- throw new H(28);
1194
+ throw new G(28);
1187
1195
  }
1188
1196
  a.position = a.m.$(a, b, c);
1189
1197
  a.oc = [];
1190
- }, Wb = () => {
1191
- H || (H = function(a, b) {
1198
+ }, Xb = () => {
1199
+ G || (G = function(a, b) {
1192
1200
  this.name = "ErrnoError";
1193
1201
  this.node = b;
1194
1202
  this.dc = function(c) {
@@ -1196,55 +1204,55 @@ var wb = null, xb = {}, yb = [], zb = 1, Ab = null, Bb = !0, H = null, sb = {},
1196
1204
  };
1197
1205
  this.dc(a);
1198
1206
  this.message = "FS error";
1199
- }, H.prototype = Error(), H.prototype.constructor = H, [44].forEach(a => {
1200
- sb[a] = new H(a);
1201
- sb[a].stack = "<generic error, no stack>";
1207
+ }, G.prototype = Error(), G.prototype.constructor = G, [44].forEach(a => {
1208
+ tb[a] = new G(a);
1209
+ tb[a].stack = "<generic error, no stack>";
1202
1210
  }));
1203
- }, Xb, Zb = (a, b, c) => {
1211
+ }, Yb, $b = (a, b, c) => {
1204
1212
  a = Za("/dev/" + a);
1205
- var d = vb(!!b, !!c);
1206
- Yb || (Yb = 64);
1207
- var e = Yb++ << 8 | 0;
1208
- lb(e, {open:f => {
1213
+ var d = wb(!!b, !!c);
1214
+ Zb || (Zb = 64);
1215
+ var e = Zb++ << 8 | 0;
1216
+ mb(e, {open:f => {
1209
1217
  f.seekable = !1;
1210
1218
  }, close:() => {
1211
1219
  c && c.buffer && c.buffer.length && c(10);
1212
- }, read:(f, g, k, q) => {
1213
- for (var n = 0, t = 0; t < q; t++) {
1220
+ }, read:(f, g, k, p) => {
1221
+ for (var n = 0, t = 0; t < p; t++) {
1214
1222
  try {
1215
- var v = b();
1223
+ var w = b();
1216
1224
  } catch (y) {
1217
- throw new H(29);
1225
+ throw new G(29);
1218
1226
  }
1219
- if (void 0 === v && 0 === n) {
1220
- throw new H(6);
1227
+ if (void 0 === w && 0 === n) {
1228
+ throw new G(6);
1221
1229
  }
1222
- if (null === v || void 0 === v) {
1230
+ if (null === w || void 0 === w) {
1223
1231
  break;
1224
1232
  }
1225
1233
  n++;
1226
- g[k + t] = v;
1234
+ g[k + t] = w;
1227
1235
  }
1228
1236
  n && (f.node.timestamp = Date.now());
1229
1237
  return n;
1230
- }, write:(f, g, k, q) => {
1231
- for (var n = 0; n < q; n++) {
1238
+ }, write:(f, g, k, p) => {
1239
+ for (var n = 0; n < p; n++) {
1232
1240
  try {
1233
1241
  c(g[k + n]);
1234
1242
  } catch (t) {
1235
- throw new H(29);
1243
+ throw new G(29);
1236
1244
  }
1237
1245
  }
1238
- q && (f.node.timestamp = Date.now());
1246
+ p && (f.node.timestamp = Date.now());
1239
1247
  return n;
1240
1248
  }});
1241
- Rb(a, d, e);
1242
- }, Yb, $b = {}, Nb, Tb, ac = void 0;
1243
- function bc() {
1244
- ac += 4;
1245
- return B[ac - 4 >> 2];
1249
+ Sb(a, d, e);
1250
+ }, Zb, ac = {}, Ob, Ub, bc = void 0;
1251
+ function cc() {
1252
+ bc += 4;
1253
+ return D[bc - 4 >> 2];
1246
1254
  }
1247
- function cc(a) {
1255
+ function dc(a) {
1248
1256
  if (void 0 === a) {
1249
1257
  return "_unknown";
1250
1258
  }
@@ -1252,24 +1260,24 @@ function cc(a) {
1252
1260
  var b = a.charCodeAt(0);
1253
1261
  return 48 <= b && 57 >= b ? `_${a}` : a;
1254
1262
  }
1255
- function dc(a, b) {
1256
- a = cc(a);
1263
+ function ec(a, b) {
1264
+ a = dc(a);
1257
1265
  return {[a]:function() {
1258
1266
  return b.apply(this, arguments);
1259
1267
  }}[a];
1260
1268
  }
1261
- function ec() {
1269
+ function fc() {
1262
1270
  this.L = [void 0];
1263
1271
  this.cb = [];
1264
1272
  }
1265
- var L = new ec(), fc = void 0;
1266
- function M(a) {
1267
- throw new fc(a);
1273
+ var I = new fc(), gc = void 0;
1274
+ function K(a) {
1275
+ throw new gc(a);
1268
1276
  }
1269
- var gc = a => {
1270
- a || M("Cannot use deleted val. handle = " + a);
1271
- return L.get(a).value;
1272
- }, hc = a => {
1277
+ var hc = a => {
1278
+ a || K("Cannot use deleted val. handle = " + a);
1279
+ return I.get(a).value;
1280
+ }, ic = a => {
1273
1281
  switch(a) {
1274
1282
  case void 0:
1275
1283
  return 1;
@@ -1280,11 +1288,11 @@ var gc = a => {
1280
1288
  case !1:
1281
1289
  return 4;
1282
1290
  default:
1283
- return L.ra({pb:1, value:a});
1291
+ return I.ra({pb:1, value:a});
1284
1292
  }
1285
1293
  };
1286
- function ic(a) {
1287
- var b = Error, c = dc(a, function(d) {
1294
+ function jc(a) {
1295
+ var b = Error, c = ec(a, function(d) {
1288
1296
  this.name = a;
1289
1297
  this.message = d;
1290
1298
  d = Error(d).stack;
@@ -1297,122 +1305,122 @@ function ic(a) {
1297
1305
  };
1298
1306
  return c;
1299
1307
  }
1300
- var jc = void 0, kc = void 0;
1301
- function O(a) {
1302
- for (var b = ""; w[a];) {
1303
- b += kc[w[a++]];
1308
+ var kc = void 0, lc = void 0;
1309
+ function L(a) {
1310
+ for (var b = ""; x[a];) {
1311
+ b += lc[x[a++]];
1304
1312
  }
1305
1313
  return b;
1306
1314
  }
1307
- var lc = [];
1308
- function mc() {
1309
- for (; lc.length;) {
1310
- var a = lc.pop();
1315
+ var mc = [];
1316
+ function nc() {
1317
+ for (; mc.length;) {
1318
+ var a = mc.pop();
1311
1319
  a.g.ga = !1;
1312
1320
  a["delete"]();
1313
1321
  }
1314
1322
  }
1315
- var nc = void 0, oc = {};
1316
- function pc(a, b) {
1317
- for (void 0 === b && M("ptr should not be undefined"); a.A;) {
1323
+ var oc = void 0, pc = {};
1324
+ function qc(a, b) {
1325
+ for (void 0 === b && K("ptr should not be undefined"); a.A;) {
1318
1326
  b = a.na(b), a = a.A;
1319
1327
  }
1320
1328
  return b;
1321
1329
  }
1322
- var qc = {};
1323
- function rc(a) {
1324
- a = sc(a);
1325
- var b = O(a);
1326
- tc(a);
1330
+ var rc = {};
1331
+ function sc(a) {
1332
+ a = tc(a);
1333
+ var b = L(a);
1334
+ uc(a);
1327
1335
  return b;
1328
1336
  }
1329
- function uc(a, b) {
1330
- var c = qc[a];
1331
- void 0 === c && M(b + " has unknown type " + rc(a));
1337
+ function vc(a, b) {
1338
+ var c = rc[a];
1339
+ void 0 === c && K(b + " has unknown type " + sc(a));
1332
1340
  return c;
1333
1341
  }
1334
- function vc() {
1342
+ function wc() {
1335
1343
  }
1336
- var wc = !1;
1337
- function xc(a) {
1344
+ var xc = !1;
1345
+ function yc(a) {
1338
1346
  --a.count.value;
1339
1347
  0 === a.count.value && (a.G ? a.K.U(a.G) : a.u.i.U(a.o));
1340
1348
  }
1341
- function yc(a, b, c) {
1349
+ function zc(a, b, c) {
1342
1350
  if (b === c) {
1343
1351
  return a;
1344
1352
  }
1345
1353
  if (void 0 === c.A) {
1346
1354
  return null;
1347
1355
  }
1348
- a = yc(a, b, c.A);
1356
+ a = zc(a, b, c.A);
1349
1357
  return null === a ? null : c.Ib(a);
1350
1358
  }
1351
- var zc = {};
1352
- function Ac(a, b) {
1353
- b = pc(a, b);
1354
- return oc[b];
1359
+ var Ac = {};
1360
+ function Bc(a, b) {
1361
+ b = qc(a, b);
1362
+ return pc[b];
1355
1363
  }
1356
- var Bc = void 0;
1357
- function Cc(a) {
1358
- throw new Bc(a);
1364
+ var Cc = void 0;
1365
+ function Dc(a) {
1366
+ throw new Cc(a);
1359
1367
  }
1360
- function Dc(a, b) {
1361
- b.u && b.o || Cc("makeClassHandle requires ptr and ptrType");
1362
- !!b.K !== !!b.G && Cc("Both smartPtrType and smartPtr must be specified");
1368
+ function Ec(a, b) {
1369
+ b.u && b.o || Dc("makeClassHandle requires ptr and ptrType");
1370
+ !!b.K !== !!b.G && Dc("Both smartPtrType and smartPtr must be specified");
1363
1371
  b.count = {value:1};
1364
- return Ec(Object.create(a, {g:{value:b,},}));
1372
+ return Fc(Object.create(a, {g:{value:b,},}));
1365
1373
  }
1366
- function Ec(a) {
1374
+ function Fc(a) {
1367
1375
  if ("undefined" === typeof FinalizationRegistry) {
1368
- return Ec = b => b, a;
1376
+ return Fc = b => b, a;
1369
1377
  }
1370
- wc = new FinalizationRegistry(b => {
1371
- xc(b.g);
1378
+ xc = new FinalizationRegistry(b => {
1379
+ yc(b.g);
1372
1380
  });
1373
- Ec = b => {
1381
+ Fc = b => {
1374
1382
  var c = b.g;
1375
- c.G && wc.register(b, {g:c}, b);
1383
+ c.G && xc.register(b, {g:c}, b);
1376
1384
  return b;
1377
1385
  };
1378
- vc = b => {
1379
- wc.unregister(b);
1386
+ wc = b => {
1387
+ xc.unregister(b);
1380
1388
  };
1381
- return Ec(a);
1389
+ return Fc(a);
1382
1390
  }
1383
- var Fc = {};
1384
- function Gc(a) {
1391
+ var Gc = {};
1392
+ function Hc(a) {
1385
1393
  for (; a.length;) {
1386
1394
  var b = a.pop();
1387
1395
  a.pop()(b);
1388
1396
  }
1389
1397
  }
1390
- function Hc(a) {
1391
- return this.fromWireType(B[a >> 2]);
1398
+ function Ic(a) {
1399
+ return this.fromWireType(D[a >> 2]);
1392
1400
  }
1393
- var Ic = {}, Jc = {};
1394
- function P(a, b, c) {
1401
+ var Jc = {}, Kc = {};
1402
+ function N(a, b, c) {
1395
1403
  function d(k) {
1396
1404
  k = c(k);
1397
- k.length !== a.length && Cc("Mismatched type converter count");
1398
- for (var q = 0; q < a.length; ++q) {
1399
- Kc(a[q], k[q]);
1405
+ k.length !== a.length && Dc("Mismatched type converter count");
1406
+ for (var p = 0; p < a.length; ++p) {
1407
+ Lc(a[p], k[p]);
1400
1408
  }
1401
1409
  }
1402
1410
  a.forEach(function(k) {
1403
- Jc[k] = b;
1411
+ Kc[k] = b;
1404
1412
  });
1405
1413
  var e = Array(b.length), f = [], g = 0;
1406
- b.forEach((k, q) => {
1407
- qc.hasOwnProperty(k) ? e[q] = qc[k] : (f.push(k), Ic.hasOwnProperty(k) || (Ic[k] = []), Ic[k].push(() => {
1408
- e[q] = qc[k];
1414
+ b.forEach((k, p) => {
1415
+ rc.hasOwnProperty(k) ? e[p] = rc[k] : (f.push(k), Jc.hasOwnProperty(k) || (Jc[k] = []), Jc[k].push(() => {
1416
+ e[p] = rc[k];
1409
1417
  ++g;
1410
1418
  g === f.length && d(e);
1411
1419
  }));
1412
1420
  });
1413
1421
  0 === f.length && d(e);
1414
1422
  }
1415
- function Lc(a) {
1423
+ function Mc(a) {
1416
1424
  switch(a) {
1417
1425
  case 1:
1418
1426
  return 0;
@@ -1426,45 +1434,45 @@ function Lc(a) {
1426
1434
  throw new TypeError(`Unknown type size: ${a}`);
1427
1435
  }
1428
1436
  }
1429
- function Mc(a, b, c = {}) {
1437
+ function Nc(a, b, c = {}) {
1430
1438
  var d = b.name;
1431
- a || M(`type "${d}" must have a positive integer typeid pointer`);
1432
- if (qc.hasOwnProperty(a)) {
1439
+ a || K(`type "${d}" must have a positive integer typeid pointer`);
1440
+ if (rc.hasOwnProperty(a)) {
1433
1441
  if (c.Tb) {
1434
1442
  return;
1435
1443
  }
1436
- M(`Cannot register type '${d}' twice`);
1444
+ K(`Cannot register type '${d}' twice`);
1437
1445
  }
1438
- qc[a] = b;
1439
- delete Jc[a];
1440
- Ic.hasOwnProperty(a) && (b = Ic[a], delete Ic[a], b.forEach(e => e()));
1446
+ rc[a] = b;
1447
+ delete Kc[a];
1448
+ Jc.hasOwnProperty(a) && (b = Jc[a], delete Jc[a], b.forEach(e => e()));
1441
1449
  }
1442
- function Kc(a, b, c = {}) {
1450
+ function Lc(a, b, c = {}) {
1443
1451
  if (!("argPackAdvance" in b)) {
1444
1452
  throw new TypeError("registerType registeredInstance requires argPackAdvance");
1445
1453
  }
1446
- Mc(a, b, c);
1454
+ Nc(a, b, c);
1447
1455
  }
1448
- function Nc(a) {
1449
- M(a.g.u.i.name + " instance already deleted");
1456
+ function Oc(a) {
1457
+ K(a.g.u.i.name + " instance already deleted");
1450
1458
  }
1451
- function Oc() {
1459
+ function Pc() {
1452
1460
  }
1453
- function Pc(a, b, c) {
1461
+ function Qc(a, b, c) {
1454
1462
  if (void 0 === a[b].B) {
1455
1463
  var d = a[b];
1456
1464
  a[b] = function() {
1457
- a[b].B.hasOwnProperty(arguments.length) || M(`Function '${c}' called with an invalid number of arguments (${arguments.length}) - expects one of (${a[b].B})!`);
1465
+ a[b].B.hasOwnProperty(arguments.length) || K(`Function '${c}' called with an invalid number of arguments (${arguments.length}) - expects one of (${a[b].B})!`);
1458
1466
  return a[b].B[arguments.length].apply(this, arguments);
1459
1467
  };
1460
1468
  a[b].B = [];
1461
1469
  a[b].B[d.ea] = d;
1462
1470
  }
1463
1471
  }
1464
- function Qc(a, b, c) {
1465
- m.hasOwnProperty(a) ? ((void 0 === c || void 0 !== m[a].B && void 0 !== m[a].B[c]) && M(`Cannot register public name '${a}' twice`), Pc(m, a, a), m.hasOwnProperty(c) && M(`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].Hc = c));
1472
+ function Rc(a, b, c) {
1473
+ l.hasOwnProperty(a) ? ((void 0 === c || void 0 !== l[a].B && void 0 !== l[a].B[c]) && K(`Cannot register public name '${a}' twice`), Qc(l, a, a), l.hasOwnProperty(c) && K(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`), l[a].B[c] = b) : (l[a] = b, void 0 !== c && (l[a].Hc = c));
1466
1474
  }
1467
- function Rc(a, b, c, d, e, f, g, k) {
1475
+ function Sc(a, b, c, d, e, f, g, k) {
1468
1476
  this.name = a;
1469
1477
  this.constructor = b;
1470
1478
  this.M = c;
@@ -1475,23 +1483,23 @@ function Rc(a, b, c, d, e, f, g, k) {
1475
1483
  this.Ib = k;
1476
1484
  this.mb = [];
1477
1485
  }
1478
- function Sc(a, b, c) {
1486
+ function Tc(a, b, c) {
1479
1487
  for (; b !== c;) {
1480
- b.na || M(`Expected null or instance of ${c.name}, got an instance of ${b.name}`), a = b.na(a), b = b.A;
1488
+ b.na || K(`Expected null or instance of ${c.name}, got an instance of ${b.name}`), a = b.na(a), b = b.A;
1481
1489
  }
1482
1490
  return a;
1483
1491
  }
1484
- function Tc(a, b) {
1492
+ function Uc(a, b) {
1485
1493
  if (null === b) {
1486
- return this.Na && M(`null is not a valid ${this.name}`), 0;
1494
+ return this.Na && K(`null is not a valid ${this.name}`), 0;
1487
1495
  }
1488
- b.g || M(`Cannot pass "${Uc(b)}" as a ${this.name}`);
1489
- b.g.o || M(`Cannot pass deleted object as a pointer of type ${this.name}`);
1490
- return Sc(b.g.o, b.g.u.i, this.i);
1496
+ b.g || K(`Cannot pass "${Vc(b)}" as a ${this.name}`);
1497
+ b.g.o || K(`Cannot pass deleted object as a pointer of type ${this.name}`);
1498
+ return Tc(b.g.o, b.g.u.i, this.i);
1491
1499
  }
1492
- function Vc(a, b) {
1500
+ function Wc(a, b) {
1493
1501
  if (null === b) {
1494
- this.Na && M(`null is not a valid ${this.name}`);
1502
+ this.Na && K(`null is not a valid ${this.name}`);
1495
1503
  if (this.wa) {
1496
1504
  var c = this.Pa();
1497
1505
  null !== a && a.push(this.U, c);
@@ -1499,14 +1507,14 @@ function Vc(a, b) {
1499
1507
  }
1500
1508
  return 0;
1501
1509
  }
1502
- b.g || M(`Cannot pass "${Uc(b)}" as a ${this.name}`);
1503
- b.g.o || M(`Cannot pass deleted object as a pointer of type ${this.name}`);
1504
- !this.va && b.g.u.va && M(`Cannot convert argument of type ${b.g.K ? b.g.K.name : b.g.u.name} to parameter type ${this.name}`);
1505
- c = Sc(b.g.o, b.g.u.i, this.i);
1510
+ b.g || K(`Cannot pass "${Vc(b)}" as a ${this.name}`);
1511
+ b.g.o || K(`Cannot pass deleted object as a pointer of type ${this.name}`);
1512
+ !this.va && b.g.u.va && K(`Cannot convert argument of type ${b.g.K ? b.g.K.name : b.g.u.name} to parameter type ${this.name}`);
1513
+ c = Tc(b.g.o, b.g.u.i, this.i);
1506
1514
  if (this.wa) {
1507
- switch(void 0 === b.g.G && M("Passing raw pointer to smart pointer is illegal"), this.ic) {
1515
+ switch(void 0 === b.g.G && K("Passing raw pointer to smart pointer is illegal"), this.ic) {
1508
1516
  case 0:
1509
- b.g.K === this ? c = b.g.G : M(`Cannot convert argument of type ${b.g.K ? b.g.K.name : b.g.u.name} to parameter type ${this.name}`);
1517
+ b.g.K === this ? c = b.g.G : K(`Cannot convert argument of type ${b.g.K ? b.g.K.name : b.g.u.name} to parameter type ${this.name}`);
1510
1518
  break;
1511
1519
  case 1:
1512
1520
  c = b.g.G;
@@ -1516,51 +1524,51 @@ function Vc(a, b) {
1516
1524
  c = b.g.G;
1517
1525
  } else {
1518
1526
  var d = b.clone();
1519
- c = this.cc(c, hc(function() {
1527
+ c = this.cc(c, ic(function() {
1520
1528
  d["delete"]();
1521
1529
  }));
1522
1530
  null !== a && a.push(this.U, c);
1523
1531
  }
1524
1532
  break;
1525
1533
  default:
1526
- M("Unsupporting sharing policy");
1534
+ K("Unsupporting sharing policy");
1527
1535
  }
1528
1536
  }
1529
1537
  return c;
1530
1538
  }
1531
- function Wc(a, b) {
1539
+ function Xc(a, b) {
1532
1540
  if (null === b) {
1533
- return this.Na && M(`null is not a valid ${this.name}`), 0;
1541
+ return this.Na && K(`null is not a valid ${this.name}`), 0;
1534
1542
  }
1535
- b.g || M(`Cannot pass "${Uc(b)}" as a ${this.name}`);
1536
- b.g.o || M(`Cannot pass deleted object as a pointer of type ${this.name}`);
1537
- b.g.u.va && M(`Cannot convert argument of type ${b.g.u.name} to parameter type ${this.name}`);
1538
- return Sc(b.g.o, b.g.u.i, this.i);
1543
+ b.g || K(`Cannot pass "${Vc(b)}" as a ${this.name}`);
1544
+ b.g.o || K(`Cannot pass deleted object as a pointer of type ${this.name}`);
1545
+ b.g.u.va && K(`Cannot convert argument of type ${b.g.u.name} to parameter type ${this.name}`);
1546
+ return Tc(b.g.o, b.g.u.i, this.i);
1539
1547
  }
1540
- function Xc(a, b, c, d) {
1548
+ function Yc(a, b, c, d) {
1541
1549
  this.name = a;
1542
1550
  this.i = b;
1543
1551
  this.Na = c;
1544
1552
  this.va = d;
1545
1553
  this.wa = !1;
1546
1554
  this.U = this.cc = this.Pa = this.nb = this.ic = this.bc = void 0;
1547
- void 0 !== b.A ? this.toWireType = Vc : (this.toWireType = d ? Tc : Wc, this.J = null);
1555
+ void 0 !== b.A ? this.toWireType = Wc : (this.toWireType = d ? Uc : Xc, this.J = null);
1548
1556
  }
1549
- function Yc(a, b, c) {
1550
- m.hasOwnProperty(a) || Cc("Replacing nonexistant public symbol");
1551
- void 0 !== m[a].B && void 0 !== c ? m[a].B[c] = b : (m[a] = b, m[a].ea = c);
1557
+ function Zc(a, b, c) {
1558
+ l.hasOwnProperty(a) || Dc("Replacing nonexistant public symbol");
1559
+ void 0 !== l[a].B && void 0 !== c ? l[a].B[c] = b : (l[a] = b, l[a].ea = c);
1552
1560
  }
1553
- var Zc = [], Q = a => {
1554
- var b = Zc[a];
1555
- b || (a >= Zc.length && (Zc.length = a + 1), Zc[a] = b = Ca.get(a));
1561
+ var $c = [], Q = a => {
1562
+ var b = $c[a];
1563
+ b || (a >= $c.length && ($c.length = a + 1), $c[a] = b = Ca.get(a));
1556
1564
  return b;
1557
- }, $c = (a, b) => {
1565
+ }, ad = (a, b) => {
1558
1566
  var c = [];
1559
1567
  return function() {
1560
1568
  c.length = 0;
1561
1569
  Object.assign(c, arguments);
1562
1570
  if (a.includes("j")) {
1563
- var d = m["dynCall_" + a];
1571
+ var d = l["dynCall_" + a];
1564
1572
  d = c && c.length ? d.apply(null, [b].concat(c)) : d.call(null, b);
1565
1573
  } else {
1566
1574
  d = Q(b).apply(null, c);
@@ -1569,23 +1577,23 @@ var Zc = [], Q = a => {
1569
1577
  };
1570
1578
  };
1571
1579
  function R(a, b) {
1572
- a = O(a);
1573
- var c = a.includes("j") ? $c(a, b) : Q(b);
1574
- "function" != typeof c && M(`unknown function pointer with signature ${a}: ${b}`);
1580
+ a = L(a);
1581
+ var c = a.includes("j") ? ad(a, b) : Q(b);
1582
+ "function" != typeof c && K(`unknown function pointer with signature ${a}: ${b}`);
1575
1583
  return c;
1576
1584
  }
1577
- var ad = void 0;
1578
- function bd(a, b) {
1585
+ var bd = void 0;
1586
+ function cd(a, b) {
1579
1587
  function c(f) {
1580
- e[f] || qc[f] || (Jc[f] ? Jc[f].forEach(c) : (d.push(f), e[f] = !0));
1588
+ e[f] || rc[f] || (Kc[f] ? Kc[f].forEach(c) : (d.push(f), e[f] = !0));
1581
1589
  }
1582
1590
  var d = [], e = {};
1583
1591
  b.forEach(c);
1584
- throw new ad(`${a}: ` + d.map(rc).join([", "]));
1592
+ throw new bd(`${a}: ` + d.map(sc).join([", "]));
1585
1593
  }
1586
- function cd(a, b, c, d, e) {
1594
+ function dd(a, b, c, d, e) {
1587
1595
  var f = b.length;
1588
- 2 > f && M("argTypes array size mismatch! Must at least get return value and 'this' types!");
1596
+ 2 > f && K("argTypes array size mismatch! Must at least get return value and 'this' types!");
1589
1597
  var g = null !== b[1] && null !== c, k = !1;
1590
1598
  for (c = 1; c < b.length; ++c) {
1591
1599
  if (null !== b[c] && void 0 === b[c].J) {
@@ -1593,52 +1601,52 @@ function cd(a, b, c, d, e) {
1593
1601
  break;
1594
1602
  }
1595
1603
  }
1596
- var q = "void" !== b[0].name, n = f - 2, t = Array(n), v = [], y = [];
1604
+ var p = "void" !== b[0].name, n = f - 2, t = Array(n), w = [], y = [];
1597
1605
  return function() {
1598
- arguments.length !== n && M(`function ${a} called with ${arguments.length} arguments, expected ${n} args!`);
1606
+ arguments.length !== n && K(`function ${a} called with ${arguments.length} arguments, expected ${n} args!`);
1599
1607
  y.length = 0;
1600
- v.length = g ? 2 : 1;
1601
- v[0] = e;
1608
+ w.length = g ? 2 : 1;
1609
+ w[0] = e;
1602
1610
  if (g) {
1603
- var l = b[1].toWireType(y, this);
1604
- v[1] = l;
1611
+ var q = b[1].toWireType(y, this);
1612
+ w[1] = q;
1605
1613
  }
1606
1614
  for (var r = 0; r < n; ++r) {
1607
- t[r] = b[r + 2].toWireType(y, arguments[r]), v.push(t[r]);
1615
+ t[r] = b[r + 2].toWireType(y, arguments[r]), w.push(t[r]);
1608
1616
  }
1609
- r = d.apply(null, v);
1617
+ r = d.apply(null, w);
1610
1618
  if (k) {
1611
- Gc(y);
1619
+ Hc(y);
1612
1620
  } else {
1613
- for (var x = g ? 1 : 2; x < b.length; x++) {
1614
- var z = 1 === x ? l : t[x - 2];
1615
- null !== b[x].J && b[x].J(z);
1621
+ for (var u = g ? 1 : 2; u < b.length; u++) {
1622
+ var z = 1 === u ? q : t[u - 2];
1623
+ null !== b[u].J && b[u].J(z);
1616
1624
  }
1617
1625
  }
1618
- l = q ? b[0].fromWireType(r) : void 0;
1619
- return l;
1626
+ q = p ? b[0].fromWireType(r) : void 0;
1627
+ return q;
1620
1628
  };
1621
1629
  }
1622
- function dd(a, b) {
1630
+ function ed(a, b) {
1623
1631
  for (var c = [], d = 0; d < a; d++) {
1624
- c.push(D[b + 4 * d >> 2]);
1632
+ c.push(E[b + 4 * d >> 2]);
1625
1633
  }
1626
1634
  return c;
1627
1635
  }
1628
- function ed(a, b, c) {
1629
- a instanceof Object || M(`${c} with invalid "this": ${a}`);
1630
- a instanceof b.i.constructor || M(`${c} incompatible with "this" of type ${a.constructor.name}`);
1631
- a.g.o || M(`cannot call emscripten binding method ${c} on deleted object`);
1632
- return Sc(a.g.o, a.g.u.i, b.i);
1636
+ function fd(a, b, c) {
1637
+ a instanceof Object || K(`${c} with invalid "this": ${a}`);
1638
+ a instanceof b.i.constructor || K(`${c} incompatible with "this" of type ${a.constructor.name}`);
1639
+ a.g.o || K(`cannot call emscripten binding method ${c} on deleted object`);
1640
+ return Tc(a.g.o, a.g.u.i, b.i);
1633
1641
  }
1634
- function fd(a) {
1635
- a >= L.h && 0 === --L.get(a).pb && L.Sb(a);
1642
+ function gd(a) {
1643
+ a >= I.h && 0 === --I.get(a).pb && I.Sb(a);
1636
1644
  }
1637
- function gd(a, b, c) {
1645
+ function hd(a, b, c) {
1638
1646
  switch(b) {
1639
1647
  case 0:
1640
1648
  return function(d) {
1641
- return this.fromWireType((c ? u : w)[d]);
1649
+ return this.fromWireType((c ? v : x)[d]);
1642
1650
  };
1643
1651
  case 1:
1644
1652
  return function(d) {
@@ -1646,24 +1654,24 @@ function gd(a, b, c) {
1646
1654
  };
1647
1655
  case 2:
1648
1656
  return function(d) {
1649
- return this.fromWireType((c ? B : D)[d >> 2]);
1657
+ return this.fromWireType((c ? D : E)[d >> 2]);
1650
1658
  };
1651
1659
  default:
1652
1660
  throw new TypeError("Unknown integer type: " + a);
1653
1661
  }
1654
1662
  }
1655
- function Uc(a) {
1663
+ function Vc(a) {
1656
1664
  if (null === a) {
1657
1665
  return "null";
1658
1666
  }
1659
1667
  var b = typeof a;
1660
1668
  return "object" === b || "array" === b || "function" === b ? a.toString() : "" + a;
1661
1669
  }
1662
- function hd(a, b) {
1670
+ function jd(a, b) {
1663
1671
  switch(b) {
1664
1672
  case 2:
1665
1673
  return function(c) {
1666
- return this.fromWireType(E[c >> 2]);
1674
+ return this.fromWireType(F[c >> 2]);
1667
1675
  };
1668
1676
  case 3:
1669
1677
  return function(c) {
@@ -1673,13 +1681,13 @@ function hd(a, b) {
1673
1681
  throw new TypeError("Unknown float type: " + a);
1674
1682
  }
1675
1683
  }
1676
- function jd(a, b, c) {
1684
+ function kd(a, b, c) {
1677
1685
  switch(b) {
1678
1686
  case 0:
1679
1687
  return c ? function(d) {
1680
- return u[d];
1688
+ return v[d];
1681
1689
  } : function(d) {
1682
- return w[d];
1690
+ return x[d];
1683
1691
  };
1684
1692
  case 1:
1685
1693
  return c ? function(d) {
@@ -1689,22 +1697,22 @@ function jd(a, b, c) {
1689
1697
  };
1690
1698
  case 2:
1691
1699
  return c ? function(d) {
1692
- return B[d >> 2];
1693
- } : function(d) {
1694
1700
  return D[d >> 2];
1701
+ } : function(d) {
1702
+ return E[d >> 2];
1695
1703
  };
1696
1704
  default:
1697
1705
  throw new TypeError("Unknown integer type: " + a);
1698
1706
  }
1699
1707
  }
1700
- var kd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void 0, ld = (a, b) => {
1708
+ var ld = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void 0, md = (a, b) => {
1701
1709
  var c = a >> 1;
1702
1710
  for (var d = c + b / 2; !(c >= d) && za[c];) {
1703
1711
  ++c;
1704
1712
  }
1705
1713
  c <<= 1;
1706
- if (32 < c - a && kd) {
1707
- return kd.decode(w.subarray(a, c));
1714
+ if (32 < c - a && ld) {
1715
+ return ld.decode(x.subarray(a, c));
1708
1716
  }
1709
1717
  c = "";
1710
1718
  for (d = 0; !(d >= b / 2); ++d) {
@@ -1715,7 +1723,7 @@ var kd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1715
1723
  c += String.fromCharCode(e);
1716
1724
  }
1717
1725
  return c;
1718
- }, md = (a, b, c) => {
1726
+ }, nd = (a, b, c) => {
1719
1727
  void 0 === c && (c = 2147483647);
1720
1728
  if (2 > c) {
1721
1729
  return 0;
@@ -1728,9 +1736,9 @@ var kd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1728
1736
  }
1729
1737
  A[b >> 1] = 0;
1730
1738
  return b - d;
1731
- }, nd = a => 2 * a.length, od = (a, b) => {
1739
+ }, od = a => 2 * a.length, pd = (a, b) => {
1732
1740
  for (var c = 0, d = ""; !(c >= b / 4);) {
1733
- var e = B[a + 4 * c >> 2];
1741
+ var e = D[a + 4 * c >> 2];
1734
1742
  if (0 == e) {
1735
1743
  break;
1736
1744
  }
@@ -1738,7 +1746,7 @@ var kd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1738
1746
  65536 <= e ? (e -= 65536, d += String.fromCharCode(55296 | e >> 10, 56320 | e & 1023)) : d += String.fromCharCode(e);
1739
1747
  }
1740
1748
  return d;
1741
- }, pd = (a, b, c) => {
1749
+ }, qd = (a, b, c) => {
1742
1750
  void 0 === c && (c = 2147483647);
1743
1751
  if (4 > c) {
1744
1752
  return 0;
@@ -1751,40 +1759,40 @@ var kd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1751
1759
  var g = a.charCodeAt(++e);
1752
1760
  f = 65536 + ((f & 1023) << 10) | g & 1023;
1753
1761
  }
1754
- B[b >> 2] = f;
1762
+ D[b >> 2] = f;
1755
1763
  b += 4;
1756
1764
  if (b + 4 > c) {
1757
1765
  break;
1758
1766
  }
1759
1767
  }
1760
- B[b >> 2] = 0;
1768
+ D[b >> 2] = 0;
1761
1769
  return b - d;
1762
- }, qd = a => {
1770
+ }, rd = a => {
1763
1771
  for (var b = 0, c = 0; c < a.length; ++c) {
1764
1772
  var d = a.charCodeAt(c);
1765
1773
  55296 <= d && 57343 >= d && ++c;
1766
1774
  b += 4;
1767
1775
  }
1768
1776
  return b;
1769
- }, rd = {};
1770
- function sd(a) {
1771
- var b = rd[a];
1772
- return void 0 === b ? O(a) : b;
1777
+ }, sd = {};
1778
+ function td(a) {
1779
+ var b = sd[a];
1780
+ return void 0 === b ? L(a) : b;
1773
1781
  }
1774
- var td = [];
1775
- function ud(a) {
1776
- var b = td.length;
1777
- td.push(a);
1782
+ var ud = [];
1783
+ function vd(a) {
1784
+ var b = ud.length;
1785
+ ud.push(a);
1778
1786
  return b;
1779
1787
  }
1780
- function vd(a, b) {
1788
+ function wd(a, b) {
1781
1789
  for (var c = Array(a), d = 0; d < a; ++d) {
1782
- c[d] = uc(D[b + 4 * d >> 2], "parameter " + d);
1790
+ c[d] = vc(E[b + 4 * d >> 2], "parameter " + d);
1783
1791
  }
1784
1792
  return c;
1785
1793
  }
1786
- var wd = [], xd = [];
1787
- function yd(a) {
1794
+ var xd = [], yd = [];
1795
+ function zd(a) {
1788
1796
  var b = a.getExtension("ANGLE_instanced_arrays");
1789
1797
  b && (a.vertexAttribDivisor = function(c, d) {
1790
1798
  b.vertexAttribDivisorANGLE(c, d);
@@ -1794,7 +1802,7 @@ function yd(a) {
1794
1802
  b.drawElementsInstancedANGLE(c, d, e, f, g);
1795
1803
  });
1796
1804
  }
1797
- function zd(a) {
1805
+ function Ad(a) {
1798
1806
  var b = a.getExtension("OES_vertex_array_object");
1799
1807
  b && (a.createVertexArray = function() {
1800
1808
  return b.createVertexArrayOES();
@@ -1806,25 +1814,25 @@ function zd(a) {
1806
1814
  return b.isVertexArrayOES(c);
1807
1815
  });
1808
1816
  }
1809
- function Ad(a) {
1817
+ function Bd(a) {
1810
1818
  var b = a.getExtension("WEBGL_draw_buffers");
1811
1819
  b && (a.drawBuffers = function(c, d) {
1812
1820
  b.drawBuffersWEBGL(c, d);
1813
1821
  });
1814
1822
  }
1815
- var Bd = 1, Cd = [], Dd = [], Ed = [], Fd = [], Gd = [], Hd = [], Id = [], ja = [], Jd = [], Kd = [], Ld = {}, Md = {}, Nd = 4;
1823
+ var Cd = 1, Dd = [], Ed = [], Fd = [], Gd = [], Hd = [], Id = [], Jd = [], ja = [], Kd = [], Ld = [], Md = {}, Nd = {}, Od = 4;
1816
1824
  function S(a) {
1817
- Od || (Od = a);
1825
+ Pd || (Pd = a);
1818
1826
  }
1819
- function ia(a) {
1820
- for (var b = Bd++, c = a.length; c < b; c++) {
1827
+ function ha(a) {
1828
+ for (var b = Cd++, c = a.length; c < b; c++) {
1821
1829
  a[c] = null;
1822
1830
  }
1823
1831
  return b;
1824
1832
  }
1825
1833
  function la(a) {
1826
1834
  T = ja[a];
1827
- m.yc = U = T && T.Ta;
1835
+ l.yc = U = T && T.Ta;
1828
1836
  return !(a && !U);
1829
1837
  }
1830
1838
  function ka(a) {
@@ -1832,9 +1840,9 @@ function ka(a) {
1832
1840
  if (!a.Ub) {
1833
1841
  a.Ub = !0;
1834
1842
  var b = a.Ta;
1835
- yd(b);
1836
1843
  zd(b);
1837
1844
  Ad(b);
1845
+ Bd(b);
1838
1846
  b.Ya = b.getExtension("WEBGL_draw_instanced_base_vertex_base_instance");
1839
1847
  b.gb = b.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance");
1840
1848
  2 <= a.version && (b.Za = b.getExtension("EXT_disjoint_timer_query_webgl2"));
@@ -1847,35 +1855,35 @@ function ka(a) {
1847
1855
  });
1848
1856
  }
1849
1857
  }
1850
- var Od, T;
1851
- function Pd(a, b) {
1852
- U.bindFramebuffer(a, Ed[b]);
1858
+ var Pd, T;
1859
+ function Qd(a, b) {
1860
+ U.bindFramebuffer(a, Fd[b]);
1853
1861
  }
1854
- function Qd(a) {
1855
- U.bindVertexArray(Id[a]);
1862
+ function Rd(a) {
1863
+ U.bindVertexArray(Jd[a]);
1856
1864
  }
1857
- function Rd(a, b) {
1865
+ function Sd(a, b) {
1858
1866
  for (var c = 0; c < a; c++) {
1859
- var d = B[b + 4 * c >> 2];
1860
- U.deleteVertexArray(Id[d]);
1861
- Id[d] = null;
1867
+ var d = D[b + 4 * c >> 2];
1868
+ U.deleteVertexArray(Jd[d]);
1869
+ Jd[d] = null;
1862
1870
  }
1863
1871
  }
1864
- var Sd = [];
1865
- function Td(a, b, c, d) {
1872
+ var Td = [];
1873
+ function Ud(a, b, c, d) {
1866
1874
  U.drawElements(a, b, c, d);
1867
1875
  }
1868
- function Ud(a, b, c, d) {
1876
+ function Vd(a, b, c, d) {
1869
1877
  for (var e = 0; e < a; e++) {
1870
- var f = U[c](), g = f && ia(d);
1878
+ var f = U[c](), g = f && ha(d);
1871
1879
  f ? (f.name = g, d[g] = f) : S(1282);
1872
- B[b + 4 * e >> 2] = g;
1880
+ D[b + 4 * e >> 2] = g;
1873
1881
  }
1874
1882
  }
1875
- function Vd(a, b) {
1876
- Ud(a, b, "createVertexArray", Id);
1877
- }
1878
1883
  function Wd(a, b) {
1884
+ Vd(a, b, "createVertexArray", Jd);
1885
+ }
1886
+ function Xd(a, b) {
1879
1887
  if (b) {
1880
1888
  var c = void 0;
1881
1889
  switch(a) {
@@ -1949,7 +1957,7 @@ function Wd(a, b) {
1949
1957
  } else {
1950
1958
  if (d instanceof Float32Array || d instanceof Uint32Array || d instanceof Int32Array || d instanceof Array) {
1951
1959
  for (a = 0; a < d.length; ++a) {
1952
- B[b + 4 * a >> 2] = d[a];
1960
+ D[b + 4 * a >> 2] = d[a];
1953
1961
  }
1954
1962
  return;
1955
1963
  }
@@ -1968,29 +1976,29 @@ function Wd(a, b) {
1968
1976
  return;
1969
1977
  }
1970
1978
  }
1971
- B[b >> 2] = c;
1979
+ D[b >> 2] = c;
1972
1980
  } else {
1973
1981
  S(1281);
1974
1982
  }
1975
1983
  }
1976
- function Xd(a, b) {
1977
- Wd(a, b);
1984
+ function Yd(a, b) {
1985
+ Xd(a, b);
1978
1986
  }
1979
- var Zd = a => {
1980
- var b = gb(a) + 1, c = Yd(b);
1981
- c && hb(a, w, c, b);
1987
+ var $d = a => {
1988
+ var b = hb(a) + 1, c = Zd(b);
1989
+ c && ib(a, x, c, b);
1982
1990
  return c;
1983
1991
  };
1984
- function $d(a) {
1992
+ function ae(a) {
1985
1993
  return "]" == a.slice(-1) && a.lastIndexOf("[");
1986
1994
  }
1987
- function ae(a) {
1995
+ function be(a) {
1988
1996
  a -= 5120;
1989
- return 0 == a ? u : 1 == a ? w : 2 == a ? A : 4 == a ? B : 6 == a ? E : 5 == a || 28922 == a || 28520 == a || 30779 == a || 30782 == a ? D : za;
1997
+ return 0 == a ? v : 1 == a ? x : 2 == a ? A : 4 == a ? D : 6 == a ? F : 5 == a || 28922 == a || 28520 == a || 30779 == a || 30782 == a ? E : za;
1990
1998
  }
1991
- function be(a, b, c, d, e) {
1992
- a = ae(a);
1993
- var f = 31 - Math.clz32(a.BYTES_PER_ELEMENT), g = Nd;
1999
+ function ce(a, b, c, d, e) {
2000
+ a = be(a);
2001
+ var f = 31 - Math.clz32(a.BYTES_PER_ELEMENT), g = Od;
1994
2002
  return a.subarray(e >> f, e + d * (c * ({5:3, 6:4, 8:2, 29502:3, 29504:4, 26917:2, 26918:2, 29846:3, 29847:4}[b - 6402] || 1) * (1 << f) + g - 1 & -g) >> f);
1995
2003
  }
1996
2004
  function V(a) {
@@ -2002,129 +2010,129 @@ function V(a) {
2002
2010
  }
2003
2011
  S(1282);
2004
2012
  }
2005
- var ce = [], de = [], ee = {}, ge = () => {
2006
- if (!fe) {
2013
+ var de = [], ee = [], fe = {}, he = () => {
2014
+ if (!ge) {
2007
2015
  var a = {USER:"web_user", LOGNAME:"web_user", PATH:"/", PWD:"/", HOME:"/home/web_user", LANG:("object" == typeof navigator && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", _:na || "./this.program"}, b;
2008
- for (b in ee) {
2009
- void 0 === ee[b] ? delete a[b] : a[b] = ee[b];
2016
+ for (b in fe) {
2017
+ void 0 === fe[b] ? delete a[b] : a[b] = fe[b];
2010
2018
  }
2011
2019
  var c = [];
2012
2020
  for (b in a) {
2013
2021
  c.push(`${b}=${a[b]}`);
2014
2022
  }
2015
- fe = c;
2023
+ ge = c;
2016
2024
  }
2017
- return fe;
2018
- }, fe, he = a => 0 === a % 4 && (0 !== a % 100 || 0 === a % 400), ie = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], je = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], ke = (a, b, c, d) => {
2019
- function e(l, r, x) {
2020
- for (l = "number" == typeof l ? l.toString() : l || ""; l.length < r;) {
2021
- l = x[0] + l;
2025
+ return ge;
2026
+ }, ge, ie = a => 0 === a % 4 && (0 !== a % 100 || 0 === a % 400), je = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], ke = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], le = (a, b, c, d) => {
2027
+ function e(q, r, u) {
2028
+ for (q = "number" == typeof q ? q.toString() : q || ""; q.length < r;) {
2029
+ q = u[0] + q;
2022
2030
  }
2023
- return l;
2031
+ return q;
2024
2032
  }
2025
- function f(l, r) {
2026
- return e(l, r, "0");
2033
+ function f(q, r) {
2034
+ return e(q, r, "0");
2027
2035
  }
2028
- function g(l, r) {
2029
- function x(G) {
2030
- return 0 > G ? -1 : 0 < G ? 1 : 0;
2036
+ function g(q, r) {
2037
+ function u(B) {
2038
+ return 0 > B ? -1 : 0 < B ? 1 : 0;
2031
2039
  }
2032
2040
  var z;
2033
- 0 === (z = x(l.getFullYear() - r.getFullYear())) && 0 === (z = x(l.getMonth() - r.getMonth())) && (z = x(l.getDate() - r.getDate()));
2041
+ 0 === (z = u(q.getFullYear() - r.getFullYear())) && 0 === (z = u(q.getMonth() - r.getMonth())) && (z = u(q.getDate() - r.getDate()));
2034
2042
  return z;
2035
2043
  }
2036
- function k(l) {
2037
- switch(l.getDay()) {
2044
+ function k(q) {
2045
+ switch(q.getDay()) {
2038
2046
  case 0:
2039
- return new Date(l.getFullYear() - 1, 11, 29);
2047
+ return new Date(q.getFullYear() - 1, 11, 29);
2040
2048
  case 1:
2041
- return l;
2049
+ return q;
2042
2050
  case 2:
2043
- return new Date(l.getFullYear(), 0, 3);
2051
+ return new Date(q.getFullYear(), 0, 3);
2044
2052
  case 3:
2045
- return new Date(l.getFullYear(), 0, 2);
2053
+ return new Date(q.getFullYear(), 0, 2);
2046
2054
  case 4:
2047
- return new Date(l.getFullYear(), 0, 1);
2055
+ return new Date(q.getFullYear(), 0, 1);
2048
2056
  case 5:
2049
- return new Date(l.getFullYear() - 1, 11, 31);
2057
+ return new Date(q.getFullYear() - 1, 11, 31);
2050
2058
  case 6:
2051
- return new Date(l.getFullYear() - 1, 11, 30);
2059
+ return new Date(q.getFullYear() - 1, 11, 30);
2052
2060
  }
2053
2061
  }
2054
- function q(l) {
2055
- var r = l.aa;
2056
- for (l = new Date((new Date(l.ba + 1900, 0, 1)).getTime()); 0 < r;) {
2057
- var x = l.getMonth(), z = (he(l.getFullYear()) ? ie : je)[x];
2058
- if (r > z - l.getDate()) {
2059
- r -= z - l.getDate() + 1, l.setDate(1), 11 > x ? l.setMonth(x + 1) : (l.setMonth(0), l.setFullYear(l.getFullYear() + 1));
2062
+ function p(q) {
2063
+ var r = q.aa;
2064
+ for (q = new Date((new Date(q.ba + 1900, 0, 1)).getTime()); 0 < r;) {
2065
+ var u = q.getMonth(), z = (ie(q.getFullYear()) ? je : ke)[u];
2066
+ if (r > z - q.getDate()) {
2067
+ r -= z - q.getDate() + 1, q.setDate(1), 11 > u ? q.setMonth(u + 1) : (q.setMonth(0), q.setFullYear(q.getFullYear() + 1));
2060
2068
  } else {
2061
- l.setDate(l.getDate() + r);
2069
+ q.setDate(q.getDate() + r);
2062
2070
  break;
2063
2071
  }
2064
2072
  }
2065
- x = new Date(l.getFullYear() + 1, 0, 4);
2066
- r = k(new Date(l.getFullYear(), 0, 4));
2067
- x = k(x);
2068
- return 0 >= g(r, l) ? 0 >= g(x, l) ? l.getFullYear() + 1 : l.getFullYear() : l.getFullYear() - 1;
2073
+ u = new Date(q.getFullYear() + 1, 0, 4);
2074
+ r = k(new Date(q.getFullYear(), 0, 4));
2075
+ u = k(u);
2076
+ return 0 >= g(r, q) ? 0 >= g(u, q) ? q.getFullYear() + 1 : q.getFullYear() : q.getFullYear() - 1;
2069
2077
  }
2070
- var n = B[d + 40 >> 2];
2071
- d = {lc:B[d >> 2], kc:B[d + 4 >> 2], Ha:B[d + 8 >> 2], Ra:B[d + 12 >> 2], Ia:B[d + 16 >> 2], ba:B[d + 20 >> 2], P:B[d + 24 >> 2], aa:B[d + 28 >> 2], Jc:B[d + 32 >> 2], jc:B[d + 36 >> 2], mc:n ? n ? F(w, n) : "" : ""};
2072
- c = c ? F(w, c) : "";
2078
+ var n = D[d + 40 >> 2];
2079
+ d = {lc:D[d >> 2], kc:D[d + 4 >> 2], Ha:D[d + 8 >> 2], Ra:D[d + 12 >> 2], Ia:D[d + 16 >> 2], ba:D[d + 20 >> 2], P:D[d + 24 >> 2], aa:D[d + 28 >> 2], Jc:D[d + 32 >> 2], jc:D[d + 36 >> 2], mc:n ? n ? fb(x, n) : "" : ""};
2080
+ c = c ? fb(x, c) : "";
2073
2081
  n = {"%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",};
2074
2082
  for (var t in n) {
2075
2083
  c = c.replace(new RegExp(t, "g"), n[t]);
2076
2084
  }
2077
- var v = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), y = "January February March April May June July August September October November December".split(" ");
2078
- n = {"%a":l => v[l.P].substring(0, 3), "%A":l => v[l.P], "%b":l => y[l.Ia].substring(0, 3), "%B":l => y[l.Ia], "%C":l => f((l.ba + 1900) / 100 | 0, 2), "%d":l => f(l.Ra, 2), "%e":l => e(l.Ra, 2, " "), "%g":l => q(l).toString().substring(2), "%G":l => q(l), "%H":l => f(l.Ha, 2), "%I":l => {
2079
- l = l.Ha;
2080
- 0 == l ? l = 12 : 12 < l && (l -= 12);
2081
- return f(l, 2);
2082
- }, "%j":l => {
2083
- for (var r = 0, x = 0; x <= l.Ia - 1; r += (he(l.ba + 1900) ? ie : je)[x++]) {
2084
- }
2085
- return f(l.Ra + r, 3);
2086
- }, "%m":l => f(l.Ia + 1, 2), "%M":l => f(l.kc, 2), "%n":() => "\n", "%p":l => 0 <= l.Ha && 12 > l.Ha ? "AM" : "PM", "%S":l => f(l.lc, 2), "%t":() => "\t", "%u":l => l.P || 7, "%U":l => f(Math.floor((l.aa + 7 - l.P) / 7), 2), "%V":l => {
2087
- var r = Math.floor((l.aa + 7 - (l.P + 6) % 7) / 7);
2088
- 2 >= (l.P + 371 - l.aa - 2) % 7 && r++;
2085
+ var w = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), y = "January February March April May June July August September October November December".split(" ");
2086
+ n = {"%a":q => w[q.P].substring(0, 3), "%A":q => w[q.P], "%b":q => y[q.Ia].substring(0, 3), "%B":q => y[q.Ia], "%C":q => f((q.ba + 1900) / 100 | 0, 2), "%d":q => f(q.Ra, 2), "%e":q => e(q.Ra, 2, " "), "%g":q => p(q).toString().substring(2), "%G":q => p(q), "%H":q => f(q.Ha, 2), "%I":q => {
2087
+ q = q.Ha;
2088
+ 0 == q ? q = 12 : 12 < q && (q -= 12);
2089
+ return f(q, 2);
2090
+ }, "%j":q => {
2091
+ for (var r = 0, u = 0; u <= q.Ia - 1; r += (ie(q.ba + 1900) ? je : ke)[u++]) {
2092
+ }
2093
+ return f(q.Ra + r, 3);
2094
+ }, "%m":q => f(q.Ia + 1, 2), "%M":q => f(q.kc, 2), "%n":() => "\n", "%p":q => 0 <= q.Ha && 12 > q.Ha ? "AM" : "PM", "%S":q => f(q.lc, 2), "%t":() => "\t", "%u":q => q.P || 7, "%U":q => f(Math.floor((q.aa + 7 - q.P) / 7), 2), "%V":q => {
2095
+ var r = Math.floor((q.aa + 7 - (q.P + 6) % 7) / 7);
2096
+ 2 >= (q.P + 371 - q.aa - 2) % 7 && r++;
2089
2097
  if (r) {
2090
- 53 == r && (x = (l.P + 371 - l.aa) % 7, 4 == x || 3 == x && he(l.ba) || (r = 1));
2098
+ 53 == r && (u = (q.P + 371 - q.aa) % 7, 4 == u || 3 == u && ie(q.ba) || (r = 1));
2091
2099
  } else {
2092
2100
  r = 52;
2093
- var x = (l.P + 7 - l.aa - 1) % 7;
2094
- (4 == x || 5 == x && he(l.ba % 400 - 1)) && r++;
2101
+ var u = (q.P + 7 - q.aa - 1) % 7;
2102
+ (4 == u || 5 == u && ie(q.ba % 400 - 1)) && r++;
2095
2103
  }
2096
2104
  return f(r, 2);
2097
- }, "%w":l => l.P, "%W":l => f(Math.floor((l.aa + 7 - (l.P + 6) % 7) / 7), 2), "%y":l => (l.ba + 1900).toString().substring(2), "%Y":l => l.ba + 1900, "%z":l => {
2098
- l = l.jc;
2099
- var r = 0 <= l;
2100
- l = Math.abs(l) / 60;
2101
- return (r ? "+" : "-") + String("0000" + (l / 60 * 100 + l % 60)).slice(-4);
2102
- }, "%Z":l => l.mc, "%%":() => "%"};
2105
+ }, "%w":q => q.P, "%W":q => f(Math.floor((q.aa + 7 - (q.P + 6) % 7) / 7), 2), "%y":q => (q.ba + 1900).toString().substring(2), "%Y":q => q.ba + 1900, "%z":q => {
2106
+ q = q.jc;
2107
+ var r = 0 <= q;
2108
+ q = Math.abs(q) / 60;
2109
+ return (r ? "+" : "-") + String("0000" + (q / 60 * 100 + q % 60)).slice(-4);
2110
+ }, "%Z":q => q.mc, "%%":() => "%"};
2103
2111
  c = c.replace(/%%/g, "\x00\x00");
2104
2112
  for (t in n) {
2105
2113
  c.includes(t) && (c = c.replace(new RegExp(t, "g"), n[t](d)));
2106
2114
  }
2107
2115
  c = c.replace(/\0\0/g, "%");
2108
- t = ib(c, !1);
2116
+ t = jb(c, !1);
2109
2117
  if (t.length > b) {
2110
2118
  return 0;
2111
2119
  }
2112
- u.set(t, a);
2120
+ v.set(t, a);
2113
2121
  return t.length - 1;
2114
2122
  };
2115
- function Ib(a, b, c, d) {
2123
+ function Jb(a, b, c, d) {
2116
2124
  a || (a = this);
2117
2125
  this.parent = a;
2118
2126
  this.S = a.S;
2119
2127
  this.Ba = null;
2120
- this.id = zb++;
2128
+ this.id = Ab++;
2121
2129
  this.name = b;
2122
2130
  this.mode = c;
2123
2131
  this.l = {};
2124
2132
  this.m = {};
2125
2133
  this.Da = d;
2126
2134
  }
2127
- Object.defineProperties(Ib.prototype, {read:{get:function() {
2135
+ Object.defineProperties(Jb.prototype, {read:{get:function() {
2128
2136
  return 365 === (this.mode & 365);
2129
2137
  }, set:function(a) {
2130
2138
  a ? this.mode |= 365 : this.mode &= -366;
@@ -2133,44 +2141,44 @@ Object.defineProperties(Ib.prototype, {read:{get:function() {
2133
2141
  }, set:function(a) {
2134
2142
  a ? this.mode |= 146 : this.mode &= -147;
2135
2143
  }}});
2136
- Wb();
2137
- Ab = Array(4096);
2138
- Pb(I, "/");
2139
- Qb("/tmp", 16895, 0);
2140
- Qb("/home", 16895, 0);
2141
- Qb("/home/web_user", 16895, 0);
2144
+ Xb();
2145
+ Bb = Array(4096);
2146
+ Qb(H, "/");
2147
+ Rb("/tmp", 16895, 0);
2148
+ Rb("/home", 16895, 0);
2149
+ Rb("/home/web_user", 16895, 0);
2142
2150
  (() => {
2143
- Qb("/dev", 16895, 0);
2144
- lb(259, {read:() => 0, write:(d, e, f, g) => g,});
2145
- Rb("/dev/null", 259);
2146
- kb(1280, nb);
2147
- kb(1536, ob);
2148
- Rb("/dev/tty", 1280);
2149
- Rb("/dev/tty1", 1536);
2151
+ Rb("/dev", 16895, 0);
2152
+ mb(259, {read:() => 0, write:(d, e, f, g) => g,});
2153
+ Sb("/dev/null", 259);
2154
+ lb(1280, ob);
2155
+ lb(1536, pb);
2156
+ Sb("/dev/tty", 1280);
2157
+ Sb("/dev/tty1", 1536);
2150
2158
  var a = new Uint8Array(1024), b = 0, c = () => {
2151
2159
  0 === b && (b = cb(a).byteLength);
2152
2160
  return a[--b];
2153
2161
  };
2154
- Zb("random", c);
2155
- Zb("urandom", c);
2156
- Qb("/dev/shm", 16895, 0);
2157
- Qb("/dev/shm/tmp", 16895, 0);
2162
+ $b("random", c);
2163
+ $b("urandom", c);
2164
+ Rb("/dev/shm", 16895, 0);
2165
+ Rb("/dev/shm/tmp", 16895, 0);
2158
2166
  })();
2159
2167
  (() => {
2160
- Qb("/proc", 16895, 0);
2161
- var a = Qb("/proc/self", 16895, 0);
2162
- Qb("/proc/self/fd", 16895, 0);
2163
- Pb({S:() => {
2164
- var b = rb(a, "fd", 16895, 73);
2168
+ Rb("/proc", 16895, 0);
2169
+ var a = Rb("/proc/self", 16895, 0);
2170
+ Rb("/proc/self/fd", 16895, 0);
2171
+ Qb({S:() => {
2172
+ var b = sb(a, "fd", 16895, 73);
2165
2173
  b.l = {ka:(c, d) => {
2166
- var e = Mb(+d);
2174
+ var e = Nb(+d);
2167
2175
  c = {parent:null, S:{ib:"fake"}, l:{la:() => e.path},};
2168
2176
  return c.parent = c;
2169
2177
  }};
2170
2178
  return b;
2171
2179
  }}, "/proc/self/fd");
2172
2180
  })();
2173
- Object.assign(ec.prototype, {get(a) {
2181
+ Object.assign(fc.prototype, {get(a) {
2174
2182
  return this.L[a];
2175
2183
  }, has(a) {
2176
2184
  return void 0 !== this.L[a];
@@ -2182,48 +2190,48 @@ Object.assign(ec.prototype, {get(a) {
2182
2190
  this.L[a] = void 0;
2183
2191
  this.cb.push(a);
2184
2192
  }});
2185
- fc = m.BindingError = class extends Error {
2193
+ gc = l.BindingError = class extends Error {
2186
2194
  constructor(a) {
2187
2195
  super(a);
2188
2196
  this.name = "BindingError";
2189
2197
  }
2190
2198
  };
2191
- L.L.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
2192
- L.h = L.L.length;
2193
- m.count_emval_handles = function() {
2194
- for (var a = 0, b = L.h; b < L.L.length; ++b) {
2195
- void 0 !== L.L[b] && ++a;
2199
+ I.L.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
2200
+ I.h = I.L.length;
2201
+ l.count_emval_handles = function() {
2202
+ for (var a = 0, b = I.h; b < I.L.length; ++b) {
2203
+ void 0 !== I.L[b] && ++a;
2196
2204
  }
2197
2205
  return a;
2198
2206
  };
2199
- jc = m.PureVirtualError = ic("PureVirtualError");
2200
- for (var le = Array(256), me = 0; 256 > me; ++me) {
2201
- le[me] = String.fromCharCode(me);
2207
+ kc = l.PureVirtualError = jc("PureVirtualError");
2208
+ for (var me = Array(256), ne = 0; 256 > ne; ++ne) {
2209
+ me[ne] = String.fromCharCode(ne);
2202
2210
  }
2203
- kc = le;
2204
- m.getInheritedInstanceCount = function() {
2205
- return Object.keys(oc).length;
2211
+ lc = me;
2212
+ l.getInheritedInstanceCount = function() {
2213
+ return Object.keys(pc).length;
2206
2214
  };
2207
- m.getLiveInheritedInstances = function() {
2215
+ l.getLiveInheritedInstances = function() {
2208
2216
  var a = [], b;
2209
- for (b in oc) {
2210
- oc.hasOwnProperty(b) && a.push(oc[b]);
2217
+ for (b in pc) {
2218
+ pc.hasOwnProperty(b) && a.push(pc[b]);
2211
2219
  }
2212
2220
  return a;
2213
2221
  };
2214
- m.flushPendingDeletes = mc;
2215
- m.setDelayFunction = function(a) {
2216
- nc = a;
2217
- lc.length && nc && nc(mc);
2222
+ l.flushPendingDeletes = nc;
2223
+ l.setDelayFunction = function(a) {
2224
+ oc = a;
2225
+ mc.length && oc && oc(nc);
2218
2226
  };
2219
- Bc = m.InternalError = class extends Error {
2227
+ Cc = l.InternalError = class extends Error {
2220
2228
  constructor(a) {
2221
2229
  super(a);
2222
2230
  this.name = "InternalError";
2223
2231
  }
2224
2232
  };
2225
- Oc.prototype.isAliasOf = function(a) {
2226
- if (!(this instanceof Oc && a instanceof Oc)) {
2233
+ Pc.prototype.isAliasOf = function(a) {
2234
+ if (!(this instanceof Pc && a instanceof Pc)) {
2227
2235
  return !1;
2228
2236
  }
2229
2237
  var b = this.g.u.i, c = this.g.o, d = a.g.u.i;
@@ -2235,58 +2243,58 @@ Oc.prototype.isAliasOf = function(a) {
2235
2243
  }
2236
2244
  return b === d && c === a;
2237
2245
  };
2238
- Oc.prototype.clone = function() {
2239
- this.g.o || Nc(this);
2246
+ Pc.prototype.clone = function() {
2247
+ this.g.o || Oc(this);
2240
2248
  if (this.g.ia) {
2241
2249
  return this.g.count.value += 1, this;
2242
2250
  }
2243
- var a = Ec, b = Object, c = b.create, d = Object.getPrototypeOf(this), e = this.g;
2251
+ var a = Fc, b = Object, c = b.create, d = Object.getPrototypeOf(this), e = this.g;
2244
2252
  a = a(c.call(b, d, {g:{value:{count:e.count, ga:e.ga, ia:e.ia, o:e.o, u:e.u, G:e.G, K:e.K,},}}));
2245
2253
  a.g.count.value += 1;
2246
2254
  a.g.ga = !1;
2247
2255
  return a;
2248
2256
  };
2249
- Oc.prototype["delete"] = function() {
2250
- this.g.o || Nc(this);
2251
- this.g.ga && !this.g.ia && M("Object already scheduled for deletion");
2252
- vc(this);
2253
- xc(this.g);
2257
+ Pc.prototype["delete"] = function() {
2258
+ this.g.o || Oc(this);
2259
+ this.g.ga && !this.g.ia && K("Object already scheduled for deletion");
2260
+ wc(this);
2261
+ yc(this.g);
2254
2262
  this.g.ia || (this.g.G = void 0, this.g.o = void 0);
2255
2263
  };
2256
- Oc.prototype.isDeleted = function() {
2264
+ Pc.prototype.isDeleted = function() {
2257
2265
  return !this.g.o;
2258
2266
  };
2259
- Oc.prototype.deleteLater = function() {
2260
- this.g.o || Nc(this);
2261
- this.g.ga && !this.g.ia && M("Object already scheduled for deletion");
2262
- lc.push(this);
2263
- 1 === lc.length && nc && nc(mc);
2267
+ Pc.prototype.deleteLater = function() {
2268
+ this.g.o || Oc(this);
2269
+ this.g.ga && !this.g.ia && K("Object already scheduled for deletion");
2270
+ mc.push(this);
2271
+ 1 === mc.length && oc && oc(nc);
2264
2272
  this.g.ga = !0;
2265
2273
  return this;
2266
2274
  };
2267
- Xc.prototype.Ob = function(a) {
2275
+ Yc.prototype.Ob = function(a) {
2268
2276
  this.nb && (a = this.nb(a));
2269
2277
  return a;
2270
2278
  };
2271
- Xc.prototype.Xa = function(a) {
2279
+ Yc.prototype.Xa = function(a) {
2272
2280
  this.U && this.U(a);
2273
2281
  };
2274
- Xc.prototype.argPackAdvance = 8;
2275
- Xc.prototype.readValueFromPointer = Hc;
2276
- Xc.prototype.deleteObject = function(a) {
2282
+ Yc.prototype.argPackAdvance = 8;
2283
+ Yc.prototype.readValueFromPointer = Ic;
2284
+ Yc.prototype.deleteObject = function(a) {
2277
2285
  if (null !== a) {
2278
2286
  a["delete"]();
2279
2287
  }
2280
2288
  };
2281
- Xc.prototype.fromWireType = function(a) {
2289
+ Yc.prototype.fromWireType = function(a) {
2282
2290
  function b() {
2283
- return this.wa ? Dc(this.i.M, {u:this.bc, o:c, K:this, G:a,}) : Dc(this.i.M, {u:this, o:a,});
2291
+ return this.wa ? Ec(this.i.M, {u:this.bc, o:c, K:this, G:a,}) : Ec(this.i.M, {u:this, o:a,});
2284
2292
  }
2285
2293
  var c = this.Ob(a);
2286
2294
  if (!c) {
2287
2295
  return this.Xa(a), null;
2288
2296
  }
2289
- var d = Ac(this.i, c);
2297
+ var d = Bc(this.i, c);
2290
2298
  if (void 0 !== d) {
2291
2299
  if (0 === d.g.count.value) {
2292
2300
  return d.g.o = c, d.g.G = a, d.clone();
@@ -2296,43 +2304,43 @@ Xc.prototype.fromWireType = function(a) {
2296
2304
  return d;
2297
2305
  }
2298
2306
  d = this.i.Nb(c);
2299
- d = zc[d];
2307
+ d = Ac[d];
2300
2308
  if (!d) {
2301
2309
  return b.call(this);
2302
2310
  }
2303
2311
  d = this.va ? d.Fb : d.pointerType;
2304
- var e = yc(c, this.i, d.i);
2305
- return null === e ? b.call(this) : this.wa ? Dc(d.i.M, {u:d, o:e, K:this, G:a,}) : Dc(d.i.M, {u:d, o:e,});
2312
+ var e = zc(c, this.i, d.i);
2313
+ return null === e ? b.call(this) : this.wa ? Ec(d.i.M, {u:d, o:e, K:this, G:a,}) : Ec(d.i.M, {u:d, o:e,});
2306
2314
  };
2307
- ad = m.UnboundTypeError = ic("UnboundTypeError");
2315
+ bd = l.UnboundTypeError = jc("UnboundTypeError");
2308
2316
  for (var U, W = 0; 32 > W; ++W) {
2309
- Sd.push(Array(W));
2317
+ Td.push(Array(W));
2310
2318
  }
2311
- var ne = new Float32Array(288);
2319
+ var oe = new Float32Array(288);
2312
2320
  for (W = 0; 288 > W; ++W) {
2313
- ce[W] = ne.subarray(0, W + 1);
2321
+ de[W] = oe.subarray(0, W + 1);
2314
2322
  }
2315
- var oe = new Int32Array(288);
2323
+ var pe = new Int32Array(288);
2316
2324
  for (W = 0; 288 > W; ++W) {
2317
- de[W] = oe.subarray(0, W + 1);
2325
+ ee[W] = pe.subarray(0, W + 1);
2318
2326
  }
2319
- var Fe = {__syscall_fcntl64:function(a, b, c) {
2320
- ac = c;
2327
+ var Ge = {__syscall_fcntl64:function(a, b, c) {
2328
+ bc = c;
2321
2329
  try {
2322
- var d = Mb(a);
2330
+ var d = Nb(a);
2323
2331
  switch(b) {
2324
2332
  case 0:
2325
- var e = bc();
2326
- return 0 > e ? -28 : Ob(d, e).V;
2333
+ var e = cc();
2334
+ return 0 > e ? -28 : Pb(d, e).V;
2327
2335
  case 1:
2328
2336
  case 2:
2329
2337
  return 0;
2330
2338
  case 3:
2331
2339
  return d.flags;
2332
2340
  case 4:
2333
- return e = bc(), d.flags |= e, 0;
2341
+ return e = cc(), d.flags |= e, 0;
2334
2342
  case 5:
2335
- return e = bc(), A[e + 0 >> 1] = 2, 0;
2343
+ return e = cc(), A[e + 0 >> 1] = 2, 0;
2336
2344
  case 6:
2337
2345
  case 7:
2338
2346
  return 0;
@@ -2340,20 +2348,20 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
2340
2348
  case 8:
2341
2349
  return -28;
2342
2350
  case 9:
2343
- return B[pe() >> 2] = 28, -1;
2351
+ return D[qe() >> 2] = 28, -1;
2344
2352
  default:
2345
2353
  return -28;
2346
2354
  }
2347
2355
  } catch (f) {
2348
- if ("undefined" == typeof $b || "ErrnoError" !== f.name) {
2356
+ if ("undefined" == typeof ac || "ErrnoError" !== f.name) {
2349
2357
  throw f;
2350
2358
  }
2351
2359
  return -f.Z;
2352
2360
  }
2353
2361
  }, __syscall_ioctl:function(a, b, c) {
2354
- ac = c;
2362
+ bc = c;
2355
2363
  try {
2356
- var d = Mb(a);
2364
+ var d = Nb(a);
2357
2365
  switch(b) {
2358
2366
  case 21509:
2359
2367
  return d.s ? 0 : -59;
@@ -2363,13 +2371,13 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
2363
2371
  }
2364
2372
  if (d.s.T.Wb) {
2365
2373
  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,];
2366
- var e = bc();
2367
- B[e >> 2] = 25856;
2368
- B[e + 4 >> 2] = 5;
2369
- B[e + 8 >> 2] = 191;
2370
- B[e + 12 >> 2] = 35387;
2374
+ var e = cc();
2375
+ D[e >> 2] = 25856;
2376
+ D[e + 4 >> 2] = 5;
2377
+ D[e + 8 >> 2] = 191;
2378
+ D[e + 12 >> 2] = 35387;
2371
2379
  for (var f = 0; 32 > f; f++) {
2372
- u[e + f + 17 >> 0] = b[f] || 0;
2380
+ v[e + f + 17 >> 0] = b[f] || 0;
2373
2381
  }
2374
2382
  }
2375
2383
  return 0;
@@ -2384,8 +2392,8 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
2384
2392
  return -59;
2385
2393
  }
2386
2394
  if (d.s.T.Xb) {
2387
- for (e = bc(), b = [], f = 0; 32 > f; f++) {
2388
- b.push(u[e + f + 17 >> 0]);
2395
+ for (e = cc(), b = [], f = 0; 32 > f; f++) {
2396
+ b.push(v[e + f + 17 >> 0]);
2389
2397
  }
2390
2398
  }
2391
2399
  return 0;
@@ -2393,21 +2401,21 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
2393
2401
  if (!d.s) {
2394
2402
  return -59;
2395
2403
  }
2396
- e = bc();
2397
- return B[e >> 2] = 0;
2404
+ e = cc();
2405
+ return D[e >> 2] = 0;
2398
2406
  case 21520:
2399
2407
  return d.s ? -28 : -59;
2400
2408
  case 21531:
2401
- e = bc();
2409
+ e = cc();
2402
2410
  if (!d.m.Vb) {
2403
- throw new H(59);
2411
+ throw new G(59);
2404
2412
  }
2405
2413
  return d.m.Vb(d, b, e);
2406
2414
  case 21523:
2407
2415
  if (!d.s) {
2408
2416
  return -59;
2409
2417
  }
2410
- d.s.T.Yb && (f = [24, 80], e = bc(), A[e >> 1] = f[0], A[e + 2 >> 1] = f[1]);
2418
+ d.s.T.Yb && (f = [24, 80], e = cc(), A[e >> 1] = f[0], A[e + 2 >> 1] = f[1]);
2411
2419
  return 0;
2412
2420
  case 21524:
2413
2421
  return d.s ? 0 : -59;
@@ -2417,188 +2425,188 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
2417
2425
  return -28;
2418
2426
  }
2419
2427
  } catch (g) {
2420
- if ("undefined" == typeof $b || "ErrnoError" !== g.name) {
2428
+ if ("undefined" == typeof ac || "ErrnoError" !== g.name) {
2421
2429
  throw g;
2422
2430
  }
2423
2431
  return -g.Z;
2424
2432
  }
2425
2433
  }, __syscall_openat:function(a, b, c, d) {
2426
- ac = d;
2434
+ bc = d;
2427
2435
  try {
2428
- b = b ? F(w, b) : "";
2436
+ b = b ? fb(x, b) : "";
2429
2437
  var e = b;
2430
2438
  if ("/" === e.charAt(0)) {
2431
2439
  b = e;
2432
2440
  } else {
2433
- var f = -100 === a ? "/" : Mb(a).path;
2441
+ var f = -100 === a ? "/" : Nb(a).path;
2434
2442
  if (0 == e.length) {
2435
- throw new H(44);
2443
+ throw new G(44);
2436
2444
  }
2437
2445
  b = Za(f + "/" + e);
2438
2446
  }
2439
- var g = d ? bc() : 0;
2440
- return Ub(b, c, g).V;
2447
+ var g = d ? cc() : 0;
2448
+ return Vb(b, c, g).V;
2441
2449
  } catch (k) {
2442
- if ("undefined" == typeof $b || "ErrnoError" !== k.name) {
2450
+ if ("undefined" == typeof ac || "ErrnoError" !== k.name) {
2443
2451
  throw k;
2444
2452
  }
2445
2453
  return -k.Z;
2446
2454
  }
2447
2455
  }, _embind_create_inheriting_constructor:function(a, b, c) {
2448
- a = O(a);
2449
- b = uc(b, "wrapper");
2450
- c = gc(c);
2456
+ a = L(a);
2457
+ b = vc(b, "wrapper");
2458
+ c = hc(c);
2451
2459
  var d = [].slice, e = b.i, f = e.M, g = e.A.M, k = e.A.constructor;
2452
- a = dc(a, function() {
2460
+ a = ec(a, function() {
2453
2461
  e.A.mb.forEach(function(n) {
2454
2462
  if (this[n] === g[n]) {
2455
- throw new jc(`Pure virtual function ${n} must be implemented in JavaScript`);
2463
+ throw new kc(`Pure virtual function ${n} must be implemented in JavaScript`);
2456
2464
  }
2457
2465
  }.bind(this));
2458
2466
  Object.defineProperty(this, "__parent", {value:f});
2459
2467
  this.__construct.apply(this, d.call(arguments));
2460
2468
  });
2461
2469
  f.__construct = function() {
2462
- this === f && M("Pass correct 'this' to __construct");
2470
+ this === f && K("Pass correct 'this' to __construct");
2463
2471
  var n = k.implement.apply(void 0, [this].concat(d.call(arguments)));
2464
- vc(n);
2472
+ wc(n);
2465
2473
  var t = n.g;
2466
2474
  n.notifyOnDestruction();
2467
2475
  t.ia = !0;
2468
2476
  Object.defineProperties(this, {g:{value:t}});
2469
- Ec(this);
2477
+ Fc(this);
2470
2478
  n = t.o;
2471
- n = pc(e, n);
2472
- oc.hasOwnProperty(n) ? M(`Tried to register registered instance: ${n}`) : oc[n] = this;
2479
+ n = qc(e, n);
2480
+ pc.hasOwnProperty(n) ? K(`Tried to register registered instance: ${n}`) : pc[n] = this;
2473
2481
  };
2474
2482
  f.__destruct = function() {
2475
- this === f && M("Pass correct 'this' to __destruct");
2476
- vc(this);
2483
+ this === f && K("Pass correct 'this' to __destruct");
2484
+ wc(this);
2477
2485
  var n = this.g.o;
2478
- n = pc(e, n);
2479
- oc.hasOwnProperty(n) ? delete oc[n] : M(`Tried to unregister unregistered instance: ${n}`);
2486
+ n = qc(e, n);
2487
+ pc.hasOwnProperty(n) ? delete pc[n] : K(`Tried to unregister unregistered instance: ${n}`);
2480
2488
  };
2481
2489
  a.prototype = Object.create(f);
2482
- for (var q in c) {
2483
- a.prototype[q] = c[q];
2490
+ for (var p in c) {
2491
+ a.prototype[p] = c[p];
2484
2492
  }
2485
- return hc(a);
2493
+ return ic(a);
2486
2494
  }, _embind_finalize_value_object:function(a) {
2487
- var b = Fc[a];
2488
- delete Fc[a];
2495
+ var b = Gc[a];
2496
+ delete Gc[a];
2489
2497
  var c = b.Pa, d = b.U, e = b.$a, f = e.map(g => g.Rb).concat(e.map(g => g.fc));
2490
- P([a], f, g => {
2498
+ N([a], f, g => {
2491
2499
  var k = {};
2492
- e.forEach((q, n) => {
2493
- var t = g[n], v = q.Pb, y = q.Qb, l = g[n + e.length], r = q.ec, x = q.hc;
2494
- k[q.Lb] = {read:z => t.fromWireType(v(y, z)), write:(z, G) => {
2500
+ e.forEach((p, n) => {
2501
+ var t = g[n], w = p.Pb, y = p.Qb, q = g[n + e.length], r = p.ec, u = p.hc;
2502
+ k[p.Lb] = {read:z => t.fromWireType(w(y, z)), write:(z, B) => {
2495
2503
  var C = [];
2496
- r(x, z, l.toWireType(C, G));
2497
- Gc(C);
2504
+ r(u, z, q.toWireType(C, B));
2505
+ Hc(C);
2498
2506
  }};
2499
2507
  });
2500
- return [{name:b.name, fromWireType:function(q) {
2508
+ return [{name:b.name, fromWireType:function(p) {
2501
2509
  var n = {}, t;
2502
2510
  for (t in k) {
2503
- n[t] = k[t].read(q);
2511
+ n[t] = k[t].read(p);
2504
2512
  }
2505
- d(q);
2513
+ d(p);
2506
2514
  return n;
2507
- }, toWireType:function(q, n) {
2515
+ }, toWireType:function(p, n) {
2508
2516
  for (var t in k) {
2509
2517
  if (!(t in n)) {
2510
2518
  throw new TypeError(`Missing field: "${t}"`);
2511
2519
  }
2512
2520
  }
2513
- var v = c();
2521
+ var w = c();
2514
2522
  for (t in k) {
2515
- k[t].write(v, n[t]);
2523
+ k[t].write(w, n[t]);
2516
2524
  }
2517
- null !== q && q.push(d, v);
2518
- return v;
2519
- }, argPackAdvance:8, readValueFromPointer:Hc, J:d,}];
2525
+ null !== p && p.push(d, w);
2526
+ return w;
2527
+ }, argPackAdvance:8, readValueFromPointer:Ic, J:d,}];
2520
2528
  });
2521
2529
  }, _embind_register_bigint:function() {
2522
2530
  }, _embind_register_bool:function(a, b, c, d, e) {
2523
- var f = Lc(c);
2524
- b = O(b);
2525
- Kc(a, {name:b, fromWireType:function(g) {
2531
+ var f = Mc(c);
2532
+ b = L(b);
2533
+ Lc(a, {name:b, fromWireType:function(g) {
2526
2534
  return !!g;
2527
2535
  }, toWireType:function(g, k) {
2528
2536
  return k ? d : e;
2529
2537
  }, argPackAdvance:8, readValueFromPointer:function(g) {
2530
2538
  if (1 === c) {
2531
- var k = u;
2539
+ var k = v;
2532
2540
  } else if (2 === c) {
2533
2541
  k = A;
2534
2542
  } else if (4 === c) {
2535
- k = B;
2543
+ k = D;
2536
2544
  } else {
2537
2545
  throw new TypeError("Unknown boolean type size: " + b);
2538
2546
  }
2539
2547
  return this.fromWireType(k[g >> f]);
2540
2548
  }, J:null,});
2541
- }, _embind_register_class:function(a, b, c, d, e, f, g, k, q, n, t, v, y) {
2542
- t = O(t);
2549
+ }, _embind_register_class:function(a, b, c, d, e, f, g, k, p, n, t, w, y) {
2550
+ t = L(t);
2543
2551
  f = R(e, f);
2544
2552
  k && (k = R(g, k));
2545
- n && (n = R(q, n));
2546
- y = R(v, y);
2547
- var l = cc(t);
2548
- Qc(l, function() {
2549
- bd(`Cannot construct ${t} due to unbound types`, [d]);
2553
+ n && (n = R(p, n));
2554
+ y = R(w, y);
2555
+ var q = dc(t);
2556
+ Rc(q, function() {
2557
+ cd(`Cannot construct ${t} due to unbound types`, [d]);
2550
2558
  });
2551
- P([a, b, c], d ? [d] : [], function(r) {
2559
+ N([a, b, c], d ? [d] : [], function(r) {
2552
2560
  r = r[0];
2553
2561
  if (d) {
2554
- var x = r.i;
2555
- var z = x.M;
2562
+ var u = r.i;
2563
+ var z = u.M;
2556
2564
  } else {
2557
- z = Oc.prototype;
2565
+ z = Pc.prototype;
2558
2566
  }
2559
- r = dc(l, function() {
2560
- if (Object.getPrototypeOf(this) !== G) {
2561
- throw new fc("Use 'new' to construct " + t);
2567
+ r = ec(q, function() {
2568
+ if (Object.getPrototypeOf(this) !== B) {
2569
+ throw new gc("Use 'new' to construct " + t);
2562
2570
  }
2563
2571
  if (void 0 === C.Y) {
2564
- throw new fc(t + " has no accessible constructor");
2572
+ throw new gc(t + " has no accessible constructor");
2565
2573
  }
2566
- var N = C.Y[arguments.length];
2567
- if (void 0 === N) {
2568
- throw new fc(`Tried to invoke ctor of ${t} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(C.Y).toString()}) parameters instead!`);
2574
+ var M = C.Y[arguments.length];
2575
+ if (void 0 === M) {
2576
+ throw new gc(`Tried to invoke ctor of ${t} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(C.Y).toString()}) parameters instead!`);
2569
2577
  }
2570
- return N.apply(this, arguments);
2578
+ return M.apply(this, arguments);
2571
2579
  });
2572
- var G = Object.create(z, {constructor:{value:r},});
2573
- r.prototype = G;
2574
- var C = new Rc(t, r, G, y, x, f, k, n);
2580
+ var B = Object.create(z, {constructor:{value:r},});
2581
+ r.prototype = B;
2582
+ var C = new Sc(t, r, B, y, u, f, k, n);
2575
2583
  C.A && (void 0 === C.A.oa && (C.A.oa = []), C.A.oa.push(C));
2576
- x = new Xc(t, C, !0, !1);
2577
- z = new Xc(t + "*", C, !1, !1);
2578
- var J = new Xc(t + " const*", C, !1, !0);
2579
- zc[a] = {pointerType:z, Fb:J};
2580
- Yc(l, r);
2581
- return [x, z, J];
2584
+ u = new Yc(t, C, !0, !1);
2585
+ z = new Yc(t + "*", C, !1, !1);
2586
+ var O = new Yc(t + " const*", C, !1, !0);
2587
+ Ac[a] = {pointerType:z, Fb:O};
2588
+ Zc(q, r);
2589
+ return [u, z, O];
2582
2590
  });
2583
2591
  }, _embind_register_class_class_function:function(a, b, c, d, e, f, g) {
2584
- var k = dd(c, d);
2585
- b = O(b);
2592
+ var k = ed(c, d);
2593
+ b = L(b);
2586
2594
  f = R(e, f);
2587
- P([], [a], function(q) {
2595
+ N([], [a], function(p) {
2588
2596
  function n() {
2589
- bd(`Cannot call ${t} due to unbound types`, k);
2597
+ cd(`Cannot call ${t} due to unbound types`, k);
2590
2598
  }
2591
- q = q[0];
2592
- var t = `${q.name}.${b}`;
2599
+ p = p[0];
2600
+ var t = `${p.name}.${b}`;
2593
2601
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2594
- var v = q.i.constructor;
2595
- void 0 === v[b] ? (n.ea = c - 1, v[b] = n) : (Pc(v, b, t), v[b].B[c - 1] = n);
2596
- P([], k, function(y) {
2597
- y = cd(t, [y[0], null].concat(y.slice(1)), null, f, g);
2598
- void 0 === v[b].B ? (y.ea = c - 1, v[b] = y) : v[b].B[c - 1] = y;
2599
- if (q.i.oa) {
2600
- for (const l of q.i.oa) {
2601
- l.constructor.hasOwnProperty(b) || (l.constructor[b] = y);
2602
+ var w = p.i.constructor;
2603
+ void 0 === w[b] ? (n.ea = c - 1, w[b] = n) : (Qc(w, b, t), w[b].B[c - 1] = n);
2604
+ N([], k, function(y) {
2605
+ y = dd(t, [y[0], null].concat(y.slice(1)), null, f, g);
2606
+ void 0 === w[b].B ? (y.ea = c - 1, w[b] = y) : w[b].B[c - 1] = y;
2607
+ if (p.i.oa) {
2608
+ for (const q of p.i.oa) {
2609
+ q.constructor.hasOwnProperty(b) || (q.constructor[b] = y);
2602
2610
  }
2603
2611
  }
2604
2612
  return [];
@@ -2606,377 +2614,377 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
2606
2614
  return [];
2607
2615
  });
2608
2616
  }, _embind_register_class_class_property:function(a, b, c, d, e, f, g, k) {
2609
- b = O(b);
2617
+ b = L(b);
2610
2618
  f = R(e, f);
2611
- P([], [a], function(q) {
2612
- q = q[0];
2613
- var n = `${q.name}.${b}`, t = {get() {
2614
- bd(`Cannot access ${n} due to unbound types`, [c]);
2619
+ N([], [a], function(p) {
2620
+ p = p[0];
2621
+ var n = `${p.name}.${b}`, t = {get() {
2622
+ cd(`Cannot access ${n} due to unbound types`, [c]);
2615
2623
  }, enumerable:!0, configurable:!0};
2616
2624
  t.set = k ? () => {
2617
- bd(`Cannot access ${n} due to unbound types`, [c]);
2625
+ cd(`Cannot access ${n} due to unbound types`, [c]);
2618
2626
  } : () => {
2619
- M(`${n} is a read-only property`);
2627
+ K(`${n} is a read-only property`);
2620
2628
  };
2621
- Object.defineProperty(q.i.constructor, b, t);
2622
- P([], [c], function(v) {
2623
- v = v[0];
2629
+ Object.defineProperty(p.i.constructor, b, t);
2630
+ N([], [c], function(w) {
2631
+ w = w[0];
2624
2632
  var y = {get() {
2625
- return v.fromWireType(f(d));
2633
+ return w.fromWireType(f(d));
2626
2634
  }, enumerable:!0};
2627
- k && (k = R(g, k), y.set = l => {
2635
+ k && (k = R(g, k), y.set = q => {
2628
2636
  var r = [];
2629
- k(d, v.toWireType(r, l));
2630
- Gc(r);
2637
+ k(d, w.toWireType(r, q));
2638
+ Hc(r);
2631
2639
  });
2632
- Object.defineProperty(q.i.constructor, b, y);
2640
+ Object.defineProperty(p.i.constructor, b, y);
2633
2641
  return [];
2634
2642
  });
2635
2643
  return [];
2636
2644
  });
2637
2645
  }, _embind_register_class_constructor:function(a, b, c, d, e, f) {
2638
- var g = dd(b, c);
2646
+ var g = ed(b, c);
2639
2647
  e = R(d, e);
2640
- P([], [a], function(k) {
2648
+ N([], [a], function(k) {
2641
2649
  k = k[0];
2642
- var q = `constructor ${k.name}`;
2650
+ var p = `constructor ${k.name}`;
2643
2651
  void 0 === k.i.Y && (k.i.Y = []);
2644
2652
  if (void 0 !== k.i.Y[b - 1]) {
2645
- throw new fc(`Cannot register multiple constructors with identical number of parameters (${b - 1}) for class '${k.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
2653
+ throw new gc(`Cannot register multiple constructors with identical number of parameters (${b - 1}) for class '${k.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
2646
2654
  }
2647
2655
  k.i.Y[b - 1] = () => {
2648
- bd(`Cannot construct ${k.name} due to unbound types`, g);
2656
+ cd(`Cannot construct ${k.name} due to unbound types`, g);
2649
2657
  };
2650
- P([], g, function(n) {
2658
+ N([], g, function(n) {
2651
2659
  n.splice(1, 0, null);
2652
- k.i.Y[b - 1] = cd(q, n, null, e, f);
2660
+ k.i.Y[b - 1] = dd(p, n, null, e, f);
2653
2661
  return [];
2654
2662
  });
2655
2663
  return [];
2656
2664
  });
2657
2665
  }, _embind_register_class_function:function(a, b, c, d, e, f, g, k) {
2658
- var q = dd(c, d);
2659
- b = O(b);
2666
+ var p = ed(c, d);
2667
+ b = L(b);
2660
2668
  f = R(e, f);
2661
- P([], [a], function(n) {
2669
+ N([], [a], function(n) {
2662
2670
  function t() {
2663
- bd(`Cannot call ${v} due to unbound types`, q);
2671
+ cd(`Cannot call ${w} due to unbound types`, p);
2664
2672
  }
2665
2673
  n = n[0];
2666
- var v = `${n.name}.${b}`;
2674
+ var w = `${n.name}.${b}`;
2667
2675
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2668
2676
  k && n.i.mb.push(b);
2669
- var y = n.i.M, l = y[b];
2670
- void 0 === l || void 0 === l.B && l.className !== n.name && l.ea === c - 2 ? (t.ea = c - 2, t.className = n.name, y[b] = t) : (Pc(y, b, v), y[b].B[c - 2] = t);
2671
- P([], q, function(r) {
2672
- r = cd(v, r, n, f, g);
2677
+ var y = n.i.M, q = y[b];
2678
+ void 0 === q || void 0 === q.B && q.className !== n.name && q.ea === c - 2 ? (t.ea = c - 2, t.className = n.name, y[b] = t) : (Qc(y, b, w), y[b].B[c - 2] = t);
2679
+ N([], p, function(r) {
2680
+ r = dd(w, r, n, f, g);
2673
2681
  void 0 === y[b].B ? (r.ea = c - 2, y[b] = r) : y[b].B[c - 2] = r;
2674
2682
  return [];
2675
2683
  });
2676
2684
  return [];
2677
2685
  });
2678
- }, _embind_register_class_property:function(a, b, c, d, e, f, g, k, q, n) {
2679
- b = O(b);
2686
+ }, _embind_register_class_property:function(a, b, c, d, e, f, g, k, p, n) {
2687
+ b = L(b);
2680
2688
  e = R(d, e);
2681
- P([], [a], function(t) {
2689
+ N([], [a], function(t) {
2682
2690
  t = t[0];
2683
- var v = `${t.name}.${b}`, y = {get() {
2684
- bd(`Cannot access ${v} due to unbound types`, [c, g]);
2691
+ var w = `${t.name}.${b}`, y = {get() {
2692
+ cd(`Cannot access ${w} due to unbound types`, [c, g]);
2685
2693
  }, enumerable:!0, configurable:!0};
2686
- y.set = q ? () => {
2687
- bd(`Cannot access ${v} due to unbound types`, [c, g]);
2694
+ y.set = p ? () => {
2695
+ cd(`Cannot access ${w} due to unbound types`, [c, g]);
2688
2696
  } : () => {
2689
- M(v + " is a read-only property");
2697
+ K(w + " is a read-only property");
2690
2698
  };
2691
2699
  Object.defineProperty(t.i.M, b, y);
2692
- P([], q ? [c, g] : [c], function(l) {
2693
- var r = l[0], x = {get() {
2694
- var G = ed(this, t, v + " getter");
2695
- return r.fromWireType(e(f, G));
2700
+ N([], p ? [c, g] : [c], function(q) {
2701
+ var r = q[0], u = {get() {
2702
+ var B = fd(this, t, w + " getter");
2703
+ return r.fromWireType(e(f, B));
2696
2704
  }, enumerable:!0};
2697
- if (q) {
2698
- q = R(k, q);
2699
- var z = l[1];
2700
- x.set = function(G) {
2701
- var C = ed(this, t, v + " setter"), J = [];
2702
- q(n, C, z.toWireType(J, G));
2703
- Gc(J);
2705
+ if (p) {
2706
+ p = R(k, p);
2707
+ var z = q[1];
2708
+ u.set = function(B) {
2709
+ var C = fd(this, t, w + " setter"), O = [];
2710
+ p(n, C, z.toWireType(O, B));
2711
+ Hc(O);
2704
2712
  };
2705
2713
  }
2706
- Object.defineProperty(t.i.M, b, x);
2714
+ Object.defineProperty(t.i.M, b, u);
2707
2715
  return [];
2708
2716
  });
2709
2717
  return [];
2710
2718
  });
2711
2719
  }, _embind_register_emval:function(a, b) {
2712
- b = O(b);
2713
- Kc(a, {name:b, fromWireType:function(c) {
2714
- var d = gc(c);
2715
- fd(c);
2720
+ b = L(b);
2721
+ Lc(a, {name:b, fromWireType:function(c) {
2722
+ var d = hc(c);
2723
+ gd(c);
2716
2724
  return d;
2717
2725
  }, toWireType:function(c, d) {
2718
- return hc(d);
2719
- }, argPackAdvance:8, readValueFromPointer:Hc, J:null,});
2726
+ return ic(d);
2727
+ }, argPackAdvance:8, readValueFromPointer:Ic, J:null,});
2720
2728
  }, _embind_register_enum:function(a, b, c, d) {
2721
2729
  function e() {
2722
2730
  }
2723
- c = Lc(c);
2724
- b = O(b);
2731
+ c = Mc(c);
2732
+ b = L(b);
2725
2733
  e.values = {};
2726
- Kc(a, {name:b, constructor:e, fromWireType:function(f) {
2734
+ Lc(a, {name:b, constructor:e, fromWireType:function(f) {
2727
2735
  return this.constructor.values[f];
2728
2736
  }, toWireType:function(f, g) {
2729
2737
  return g.value;
2730
- }, argPackAdvance:8, readValueFromPointer:gd(b, c, d), J:null,});
2731
- Qc(b, e);
2738
+ }, argPackAdvance:8, readValueFromPointer:hd(b, c, d), J:null,});
2739
+ Rc(b, e);
2732
2740
  }, _embind_register_enum_value:function(a, b, c) {
2733
- var d = uc(a, "enum");
2734
- b = O(b);
2741
+ var d = vc(a, "enum");
2742
+ b = L(b);
2735
2743
  a = d.constructor;
2736
- d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:dc(`${d.name}_${b}`, function() {
2744
+ d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:ec(`${d.name}_${b}`, function() {
2737
2745
  })},});
2738
2746
  a.values[c] = d;
2739
2747
  a[b] = d;
2740
2748
  }, _embind_register_float:function(a, b, c) {
2741
- c = Lc(c);
2742
- b = O(b);
2743
- Kc(a, {name:b, fromWireType:function(d) {
2749
+ c = Mc(c);
2750
+ b = L(b);
2751
+ Lc(a, {name:b, fromWireType:function(d) {
2744
2752
  return d;
2745
2753
  }, toWireType:function(d, e) {
2746
2754
  return e;
2747
- }, argPackAdvance:8, readValueFromPointer:hd(b, c), J:null,});
2755
+ }, argPackAdvance:8, readValueFromPointer:jd(b, c), J:null,});
2748
2756
  }, _embind_register_function:function(a, b, c, d, e, f) {
2749
- var g = dd(b, c);
2750
- a = O(a);
2757
+ var g = ed(b, c);
2758
+ a = L(a);
2751
2759
  e = R(d, e);
2752
- Qc(a, function() {
2753
- bd(`Cannot call ${a} due to unbound types`, g);
2760
+ Rc(a, function() {
2761
+ cd(`Cannot call ${a} due to unbound types`, g);
2754
2762
  }, b - 1);
2755
- P([], g, function(k) {
2756
- Yc(a, cd(a, [k[0], null].concat(k.slice(1)), null, e, f), b - 1);
2763
+ N([], g, function(k) {
2764
+ Zc(a, dd(a, [k[0], null].concat(k.slice(1)), null, e, f), b - 1);
2757
2765
  return [];
2758
2766
  });
2759
2767
  }, _embind_register_integer:function(a, b, c, d, e) {
2760
- b = O(b);
2768
+ b = L(b);
2761
2769
  -1 === e && (e = 4294967295);
2762
- e = Lc(c);
2770
+ e = Mc(c);
2763
2771
  var f = k => k;
2764
2772
  if (0 === d) {
2765
2773
  var g = 32 - 8 * c;
2766
2774
  f = k => k << g >>> g;
2767
2775
  }
2768
- c = b.includes("unsigned") ? function(k, q) {
2769
- return q >>> 0;
2770
- } : function(k, q) {
2771
- return q;
2776
+ c = b.includes("unsigned") ? function(k, p) {
2777
+ return p >>> 0;
2778
+ } : function(k, p) {
2779
+ return p;
2772
2780
  };
2773
- Kc(a, {name:b, fromWireType:f, toWireType:c, argPackAdvance:8, readValueFromPointer:jd(b, e, 0 !== d), J:null,});
2781
+ Lc(a, {name:b, fromWireType:f, toWireType:c, argPackAdvance:8, readValueFromPointer:kd(b, e, 0 !== d), J:null,});
2774
2782
  }, _embind_register_memory_view:function(a, b, c) {
2775
2783
  function d(f) {
2776
2784
  f >>= 2;
2777
- var g = D;
2785
+ var g = E;
2778
2786
  return new e(g.buffer, g[f + 1], g[f]);
2779
2787
  }
2780
2788
  var e = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array,][b];
2781
- c = O(c);
2782
- Kc(a, {name:c, fromWireType:d, argPackAdvance:8, readValueFromPointer:d,}, {Tb:!0,});
2789
+ c = L(c);
2790
+ Lc(a, {name:c, fromWireType:d, argPackAdvance:8, readValueFromPointer:d,}, {Tb:!0,});
2783
2791
  }, _embind_register_std_string:function(a, b) {
2784
- b = O(b);
2792
+ b = L(b);
2785
2793
  var c = "std::string" === b;
2786
- Kc(a, {name:b, fromWireType:function(d) {
2787
- var e = D[d >> 2], f = d + 4;
2794
+ Lc(a, {name:b, fromWireType:function(d) {
2795
+ var e = E[d >> 2], f = d + 4;
2788
2796
  if (c) {
2789
2797
  for (var g = f, k = 0; k <= e; ++k) {
2790
- var q = f + k;
2791
- if (k == e || 0 == w[q]) {
2792
- g = g ? F(w, g, q - g) : "";
2798
+ var p = f + k;
2799
+ if (k == e || 0 == x[p]) {
2800
+ g = g ? fb(x, g, p - g) : "";
2793
2801
  if (void 0 === n) {
2794
2802
  var n = g;
2795
2803
  } else {
2796
2804
  n += String.fromCharCode(0), n += g;
2797
2805
  }
2798
- g = q + 1;
2806
+ g = p + 1;
2799
2807
  }
2800
2808
  }
2801
2809
  } else {
2802
2810
  n = Array(e);
2803
2811
  for (k = 0; k < e; ++k) {
2804
- n[k] = String.fromCharCode(w[f + k]);
2812
+ n[k] = String.fromCharCode(x[f + k]);
2805
2813
  }
2806
2814
  n = n.join("");
2807
2815
  }
2808
- tc(d);
2816
+ uc(d);
2809
2817
  return n;
2810
2818
  }, toWireType:function(d, e) {
2811
2819
  e instanceof ArrayBuffer && (e = new Uint8Array(e));
2812
2820
  var f = "string" == typeof e;
2813
- f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || M("Cannot pass non-string to std::string");
2814
- var g = c && f ? gb(e) : e.length;
2815
- var k = Yd(4 + g + 1), q = k + 4;
2816
- D[k >> 2] = g;
2821
+ f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || K("Cannot pass non-string to std::string");
2822
+ var g = c && f ? hb(e) : e.length;
2823
+ var k = Zd(4 + g + 1), p = k + 4;
2824
+ E[k >> 2] = g;
2817
2825
  if (c && f) {
2818
- hb(e, w, q, g + 1);
2826
+ ib(e, x, p, g + 1);
2819
2827
  } else {
2820
2828
  if (f) {
2821
2829
  for (f = 0; f < g; ++f) {
2822
2830
  var n = e.charCodeAt(f);
2823
- 255 < n && (tc(q), M("String has UTF-16 code units that do not fit in 8 bits"));
2824
- w[q + f] = n;
2831
+ 255 < n && (uc(p), K("String has UTF-16 code units that do not fit in 8 bits"));
2832
+ x[p + f] = n;
2825
2833
  }
2826
2834
  } else {
2827
2835
  for (f = 0; f < g; ++f) {
2828
- w[q + f] = e[f];
2836
+ x[p + f] = e[f];
2829
2837
  }
2830
2838
  }
2831
2839
  }
2832
- null !== d && d.push(tc, k);
2840
+ null !== d && d.push(uc, k);
2833
2841
  return k;
2834
- }, argPackAdvance:8, readValueFromPointer:Hc, J:function(d) {
2835
- tc(d);
2842
+ }, argPackAdvance:8, readValueFromPointer:Ic, J:function(d) {
2843
+ uc(d);
2836
2844
  },});
2837
2845
  }, _embind_register_std_wstring:function(a, b, c) {
2838
- c = O(c);
2846
+ c = L(c);
2839
2847
  if (2 === b) {
2840
- var d = ld;
2841
- var e = md;
2842
- var f = nd;
2848
+ var d = md;
2849
+ var e = nd;
2850
+ var f = od;
2843
2851
  var g = () => za;
2844
2852
  var k = 1;
2845
2853
  } else {
2846
- 4 === b && (d = od, e = pd, f = qd, g = () => D, k = 2);
2854
+ 4 === b && (d = pd, e = qd, f = rd, g = () => E, k = 2);
2847
2855
  }
2848
- Kc(a, {name:c, fromWireType:function(q) {
2849
- for (var n = D[q >> 2], t = g(), v, y = q + 4, l = 0; l <= n; ++l) {
2850
- var r = q + 4 + l * b;
2851
- if (l == n || 0 == t[r >> k]) {
2852
- y = d(y, r - y), void 0 === v ? v = y : (v += String.fromCharCode(0), v += y), y = r + b;
2856
+ Lc(a, {name:c, fromWireType:function(p) {
2857
+ for (var n = E[p >> 2], t = g(), w, y = p + 4, q = 0; q <= n; ++q) {
2858
+ var r = p + 4 + q * b;
2859
+ if (q == n || 0 == t[r >> k]) {
2860
+ y = d(y, r - y), void 0 === w ? w = y : (w += String.fromCharCode(0), w += y), y = r + b;
2853
2861
  }
2854
2862
  }
2855
- tc(q);
2856
- return v;
2857
- }, toWireType:function(q, n) {
2858
- "string" != typeof n && M(`Cannot pass non-string to C++ string type ${c}`);
2859
- var t = f(n), v = Yd(4 + t + b);
2860
- D[v >> 2] = t >> k;
2861
- e(n, v + 4, t + b);
2862
- null !== q && q.push(tc, v);
2863
- return v;
2864
- }, argPackAdvance:8, readValueFromPointer:Hc, J:function(q) {
2865
- tc(q);
2863
+ uc(p);
2864
+ return w;
2865
+ }, toWireType:function(p, n) {
2866
+ "string" != typeof n && K(`Cannot pass non-string to C++ string type ${c}`);
2867
+ var t = f(n), w = Zd(4 + t + b);
2868
+ E[w >> 2] = t >> k;
2869
+ e(n, w + 4, t + b);
2870
+ null !== p && p.push(uc, w);
2871
+ return w;
2872
+ }, argPackAdvance:8, readValueFromPointer:Ic, J:function(p) {
2873
+ uc(p);
2866
2874
  },});
2867
2875
  }, _embind_register_value_object:function(a, b, c, d, e, f) {
2868
- Fc[a] = {name:O(b), Pa:R(c, d), U:R(e, f), $a:[],};
2869
- }, _embind_register_value_object_field:function(a, b, c, d, e, f, g, k, q, n) {
2870
- Fc[a].$a.push({Lb:O(b), Rb:c, Pb:R(d, e), Qb:f, fc:g, ec:R(k, q), hc:n,});
2876
+ Gc[a] = {name:L(b), Pa:R(c, d), U:R(e, f), $a:[],};
2877
+ }, _embind_register_value_object_field:function(a, b, c, d, e, f, g, k, p, n) {
2878
+ Gc[a].$a.push({Lb:L(b), Rb:c, Pb:R(d, e), Qb:f, fc:g, ec:R(k, p), hc:n,});
2871
2879
  }, _embind_register_void:function(a, b) {
2872
- b = O(b);
2873
- Kc(a, {Zb:!0, name:b, argPackAdvance:0, fromWireType:function() {
2880
+ b = L(b);
2881
+ Lc(a, {Zb:!0, name:b, argPackAdvance:0, fromWireType:function() {
2874
2882
  }, toWireType:function() {
2875
2883
  },});
2876
2884
  }, _emscripten_get_now_is_monotonic:() => !0, _emscripten_throw_longjmp:() => {
2877
2885
  throw Infinity;
2878
2886
  }, _emval_as:function(a, b, c) {
2879
- a = gc(a);
2880
- b = uc(b, "emval::as");
2881
- var d = [], e = hc(d);
2882
- D[c >> 2] = e;
2887
+ a = hc(a);
2888
+ b = vc(b, "emval::as");
2889
+ var d = [], e = ic(d);
2890
+ E[c >> 2] = e;
2883
2891
  return b.toWireType(d, a);
2884
2892
  }, _emval_call_method:function(a, b, c, d, e) {
2885
- a = td[a];
2886
- b = gc(b);
2887
- c = sd(c);
2893
+ a = ud[a];
2894
+ b = hc(b);
2895
+ c = td(c);
2888
2896
  var f = [];
2889
- D[d >> 2] = hc(f);
2897
+ E[d >> 2] = ic(f);
2890
2898
  return a(b, c, f, e);
2891
2899
  }, _emval_call_void_method:function(a, b, c, d) {
2892
- a = td[a];
2893
- b = gc(b);
2894
- c = sd(c);
2900
+ a = ud[a];
2901
+ b = hc(b);
2902
+ c = td(c);
2895
2903
  a(b, c, null, d);
2896
- }, _emval_decref:fd, _emval_get_method_caller:function(a, b) {
2897
- var c = vd(a, b), d = c[0];
2904
+ }, _emval_decref:gd, _emval_get_method_caller:function(a, b) {
2905
+ var c = wd(a, b), d = c[0];
2898
2906
  b = d.name + "_$" + c.slice(1).map(function(g) {
2899
2907
  return g.name;
2900
2908
  }).join("_") + "$";
2901
- var e = wd[b];
2909
+ var e = xd[b];
2902
2910
  if (void 0 !== e) {
2903
2911
  return e;
2904
2912
  }
2905
2913
  var f = Array(a - 1);
2906
- e = ud((g, k, q, n) => {
2907
- for (var t = 0, v = 0; v < a - 1; ++v) {
2908
- f[v] = c[v + 1].readValueFromPointer(n + t), t += c[v + 1].argPackAdvance;
2914
+ e = vd((g, k, p, n) => {
2915
+ for (var t = 0, w = 0; w < a - 1; ++w) {
2916
+ f[w] = c[w + 1].readValueFromPointer(n + t), t += c[w + 1].argPackAdvance;
2909
2917
  }
2910
2918
  g = g[k].apply(g, f);
2911
- for (v = 0; v < a - 1; ++v) {
2912
- c[v + 1].Hb && c[v + 1].Hb(f[v]);
2919
+ for (w = 0; w < a - 1; ++w) {
2920
+ c[w + 1].Hb && c[w + 1].Hb(f[w]);
2913
2921
  }
2914
2922
  if (!d.Zb) {
2915
- return d.toWireType(q, g);
2923
+ return d.toWireType(p, g);
2916
2924
  }
2917
2925
  });
2918
- return wd[b] = e;
2926
+ return xd[b] = e;
2919
2927
  }, _emval_get_property:function(a, b) {
2920
- a = gc(a);
2921
- b = gc(b);
2922
- return hc(a[b]);
2928
+ a = hc(a);
2929
+ b = hc(b);
2930
+ return ic(a[b]);
2923
2931
  }, _emval_incref:function(a) {
2924
- 4 < a && (L.get(a).pb += 1);
2932
+ 4 < a && (I.get(a).pb += 1);
2925
2933
  }, _emval_new_cstring:function(a) {
2926
- return hc(sd(a));
2934
+ return ic(td(a));
2927
2935
  }, _emval_new_object:function() {
2928
- return hc({});
2936
+ return ic({});
2929
2937
  }, _emval_run_destructors:function(a) {
2930
- var b = gc(a);
2931
- Gc(b);
2932
- fd(a);
2938
+ var b = hc(a);
2939
+ Hc(b);
2940
+ gd(a);
2933
2941
  }, _emval_set_property:function(a, b, c) {
2934
- a = gc(a);
2935
- b = gc(b);
2936
- c = gc(c);
2942
+ a = hc(a);
2943
+ b = hc(b);
2944
+ c = hc(c);
2937
2945
  a[b] = c;
2938
2946
  }, _emval_take_value:function(a, b) {
2939
- a = uc(a, "_emval_take_value");
2947
+ a = vc(a, "_emval_take_value");
2940
2948
  a = a.readValueFromPointer(b);
2941
- return hc(a);
2949
+ return ic(a);
2942
2950
  }, abort:() => {
2943
2951
  wa("");
2944
2952
  }, emscripten_asm_const_int:(a, b, c) => {
2945
- xd.length = 0;
2953
+ yd.length = 0;
2946
2954
  var d;
2947
- for (c >>= 2; d = w[b++];) {
2948
- c += 105 != d & c, xd.push(105 == d ? B[c] : Aa[c++ >> 1]), ++c;
2955
+ for (c >>= 2; d = x[b++];) {
2956
+ c += 105 != d & c, yd.push(105 == d ? D[c] : Aa[c++ >> 1]), ++c;
2949
2957
  }
2950
- return Wa[a].apply(null, xd);
2958
+ return Wa[a].apply(null, yd);
2951
2959
  }, emscripten_date_now:function() {
2952
2960
  return Date.now();
2953
2961
  }, emscripten_get_now:() => performance.now(), emscripten_glActiveTexture:function(a) {
2954
2962
  U.activeTexture(a);
2955
2963
  }, emscripten_glAttachShader:function(a, b) {
2956
- U.attachShader(Dd[a], Hd[b]);
2964
+ U.attachShader(Ed[a], Id[b]);
2957
2965
  }, emscripten_glBindAttribLocation:function(a, b, c) {
2958
- U.bindAttribLocation(Dd[a], b, c ? F(w, c) : "");
2966
+ U.bindAttribLocation(Ed[a], b, c ? fb(x, c) : "");
2959
2967
  }, emscripten_glBindBuffer:function(a, b) {
2960
2968
  35051 == a ? U.Ka = b : 35052 == a && (U.fa = b);
2961
- U.bindBuffer(a, Cd[b]);
2962
- }, emscripten_glBindFramebuffer:Pd, emscripten_glBindRenderbuffer:function(a, b) {
2963
- U.bindRenderbuffer(a, Fd[b]);
2969
+ U.bindBuffer(a, Dd[b]);
2970
+ }, emscripten_glBindFramebuffer:Qd, emscripten_glBindRenderbuffer:function(a, b) {
2971
+ U.bindRenderbuffer(a, Gd[b]);
2964
2972
  }, emscripten_glBindSampler:function(a, b) {
2965
- U.bindSampler(a, Jd[b]);
2973
+ U.bindSampler(a, Kd[b]);
2966
2974
  }, emscripten_glBindTexture:function(a, b) {
2967
- U.bindTexture(a, Gd[b]);
2968
- }, emscripten_glBindVertexArray:Qd, emscripten_glBindVertexArrayOES:Qd, emscripten_glBlendColor:function(a, b, c, d) {
2975
+ U.bindTexture(a, Hd[b]);
2976
+ }, emscripten_glBindVertexArray:Rd, emscripten_glBindVertexArrayOES:Rd, emscripten_glBlendColor:function(a, b, c, d) {
2969
2977
  U.blendColor(a, b, c, d);
2970
2978
  }, emscripten_glBlendEquation:function(a) {
2971
2979
  U.blendEquation(a);
2972
2980
  }, emscripten_glBlendFunc:function(a, b) {
2973
2981
  U.blendFunc(a, b);
2974
- }, emscripten_glBlitFramebuffer:function(a, b, c, d, e, f, g, k, q, n) {
2975
- U.blitFramebuffer(a, b, c, d, e, f, g, k, q, n);
2982
+ }, emscripten_glBlitFramebuffer:function(a, b, c, d, e, f, g, k, p, n) {
2983
+ U.blitFramebuffer(a, b, c, d, e, f, g, k, p, n);
2976
2984
  }, emscripten_glBufferData:function(a, b, c, d) {
2977
- 2 <= T.version ? c && b ? U.bufferData(a, w, d, c, b) : U.bufferData(a, b, d) : U.bufferData(a, c ? w.subarray(c, c + b) : b, d);
2985
+ 2 <= T.version ? c && b ? U.bufferData(a, x, d, c, b) : U.bufferData(a, b, d) : U.bufferData(a, c ? x.subarray(c, c + b) : b, d);
2978
2986
  }, emscripten_glBufferSubData:function(a, b, c, d) {
2979
- 2 <= T.version ? c && U.bufferSubData(a, b, w, d, c) : U.bufferSubData(a, b, w.subarray(d, d + c));
2987
+ 2 <= T.version ? c && U.bufferSubData(a, b, x, d, c) : U.bufferSubData(a, b, x.subarray(d, d + c));
2980
2988
  }, emscripten_glCheckFramebufferStatus:function(a) {
2981
2989
  return U.checkFramebufferStatus(a);
2982
2990
  }, emscripten_glClear:function(a) {
@@ -2986,71 +2994,71 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
2986
2994
  }, emscripten_glClearStencil:function(a) {
2987
2995
  U.clearStencil(a);
2988
2996
  }, emscripten_glClientWaitSync:function(a, b, c, d) {
2989
- return U.clientWaitSync(Kd[a], b, (c >>> 0) + 4294967296 * d);
2997
+ return U.clientWaitSync(Ld[a], b, (c >>> 0) + 4294967296 * d);
2990
2998
  }, emscripten_glColorMask:function(a, b, c, d) {
2991
2999
  U.colorMask(!!a, !!b, !!c, !!d);
2992
3000
  }, emscripten_glCompileShader:function(a) {
2993
- U.compileShader(Hd[a]);
3001
+ U.compileShader(Id[a]);
2994
3002
  }, emscripten_glCompressedTexImage2D:function(a, b, c, d, e, f, g, k) {
2995
- 2 <= T.version ? U.fa || !g ? U.compressedTexImage2D(a, b, c, d, e, f, g, k) : U.compressedTexImage2D(a, b, c, d, e, f, w, k, g) : U.compressedTexImage2D(a, b, c, d, e, f, k ? w.subarray(k, k + g) : null);
2996
- }, emscripten_glCompressedTexSubImage2D:function(a, b, c, d, e, f, g, k, q) {
2997
- 2 <= T.version ? U.fa || !k ? U.compressedTexSubImage2D(a, b, c, d, e, f, g, k, q) : U.compressedTexSubImage2D(a, b, c, d, e, f, g, w, q, k) : U.compressedTexSubImage2D(a, b, c, d, e, f, g, q ? w.subarray(q, q + k) : null);
3003
+ 2 <= T.version ? U.fa || !g ? U.compressedTexImage2D(a, b, c, d, e, f, g, k) : U.compressedTexImage2D(a, b, c, d, e, f, x, k, g) : U.compressedTexImage2D(a, b, c, d, e, f, k ? x.subarray(k, k + g) : null);
3004
+ }, emscripten_glCompressedTexSubImage2D:function(a, b, c, d, e, f, g, k, p) {
3005
+ 2 <= T.version ? U.fa || !k ? U.compressedTexSubImage2D(a, b, c, d, e, f, g, k, p) : U.compressedTexSubImage2D(a, b, c, d, e, f, g, x, p, k) : U.compressedTexSubImage2D(a, b, c, d, e, f, g, p ? x.subarray(p, p + k) : null);
2998
3006
  }, emscripten_glCopyTexSubImage2D:function(a, b, c, d, e, f, g, k) {
2999
3007
  U.copyTexSubImage2D(a, b, c, d, e, f, g, k);
3000
3008
  }, emscripten_glCreateProgram:function() {
3001
- var a = ia(Dd), b = U.createProgram();
3009
+ var a = ha(Ed), b = U.createProgram();
3002
3010
  b.name = a;
3003
3011
  b.za = b.xa = b.ya = 0;
3004
3012
  b.Sa = 1;
3005
- Dd[a] = b;
3013
+ Ed[a] = b;
3006
3014
  return a;
3007
3015
  }, emscripten_glCreateShader:function(a) {
3008
- var b = ia(Hd);
3009
- Hd[b] = U.createShader(a);
3016
+ var b = ha(Id);
3017
+ Id[b] = U.createShader(a);
3010
3018
  return b;
3011
3019
  }, emscripten_glCullFace:function(a) {
3012
3020
  U.cullFace(a);
3013
3021
  }, emscripten_glDeleteBuffers:function(a, b) {
3014
3022
  for (var c = 0; c < a; c++) {
3015
- var d = B[b + 4 * c >> 2], e = Cd[d];
3016
- e && (U.deleteBuffer(e), e.name = 0, Cd[d] = null, d == U.Ka && (U.Ka = 0), d == U.fa && (U.fa = 0));
3023
+ var d = D[b + 4 * c >> 2], e = Dd[d];
3024
+ e && (U.deleteBuffer(e), e.name = 0, Dd[d] = null, d == U.Ka && (U.Ka = 0), d == U.fa && (U.fa = 0));
3017
3025
  }
3018
3026
  }, emscripten_glDeleteFramebuffers:function(a, b) {
3019
3027
  for (var c = 0; c < a; ++c) {
3020
- var d = B[b + 4 * c >> 2], e = Ed[d];
3021
- e && (U.deleteFramebuffer(e), e.name = 0, Ed[d] = null);
3028
+ var d = D[b + 4 * c >> 2], e = Fd[d];
3029
+ e && (U.deleteFramebuffer(e), e.name = 0, Fd[d] = null);
3022
3030
  }
3023
3031
  }, emscripten_glDeleteProgram:function(a) {
3024
3032
  if (a) {
3025
- var b = Dd[a];
3026
- b ? (U.deleteProgram(b), b.name = 0, Dd[a] = null) : S(1281);
3033
+ var b = Ed[a];
3034
+ b ? (U.deleteProgram(b), b.name = 0, Ed[a] = null) : S(1281);
3027
3035
  }
3028
3036
  }, emscripten_glDeleteRenderbuffers:function(a, b) {
3029
3037
  for (var c = 0; c < a; c++) {
3030
- var d = B[b + 4 * c >> 2], e = Fd[d];
3031
- e && (U.deleteRenderbuffer(e), e.name = 0, Fd[d] = null);
3038
+ var d = D[b + 4 * c >> 2], e = Gd[d];
3039
+ e && (U.deleteRenderbuffer(e), e.name = 0, Gd[d] = null);
3032
3040
  }
3033
3041
  }, emscripten_glDeleteSamplers:function(a, b) {
3034
3042
  for (var c = 0; c < a; c++) {
3035
- var d = B[b + 4 * c >> 2], e = Jd[d];
3036
- e && (U.deleteSampler(e), e.name = 0, Jd[d] = null);
3043
+ var d = D[b + 4 * c >> 2], e = Kd[d];
3044
+ e && (U.deleteSampler(e), e.name = 0, Kd[d] = null);
3037
3045
  }
3038
3046
  }, emscripten_glDeleteShader:function(a) {
3039
3047
  if (a) {
3040
- var b = Hd[a];
3041
- b ? (U.deleteShader(b), Hd[a] = null) : S(1281);
3048
+ var b = Id[a];
3049
+ b ? (U.deleteShader(b), Id[a] = null) : S(1281);
3042
3050
  }
3043
3051
  }, emscripten_glDeleteSync:function(a) {
3044
3052
  if (a) {
3045
- var b = Kd[a];
3046
- b ? (U.deleteSync(b), b.name = 0, Kd[a] = null) : S(1281);
3053
+ var b = Ld[a];
3054
+ b ? (U.deleteSync(b), b.name = 0, Ld[a] = null) : S(1281);
3047
3055
  }
3048
3056
  }, emscripten_glDeleteTextures:function(a, b) {
3049
3057
  for (var c = 0; c < a; c++) {
3050
- var d = B[b + 4 * c >> 2], e = Gd[d];
3051
- e && (U.deleteTexture(e), e.name = 0, Gd[d] = null);
3058
+ var d = D[b + 4 * c >> 2], e = Hd[d];
3059
+ e && (U.deleteTexture(e), e.name = 0, Hd[d] = null);
3052
3060
  }
3053
- }, emscripten_glDeleteVertexArrays:Rd, emscripten_glDeleteVertexArraysOES:Rd, emscripten_glDepthMask:function(a) {
3061
+ }, emscripten_glDeleteVertexArrays:Sd, emscripten_glDeleteVertexArraysOES:Sd, emscripten_glDepthMask:function(a) {
3054
3062
  U.depthMask(!!a);
3055
3063
  }, emscripten_glDisable:function(a) {
3056
3064
  U.disable(a);
@@ -3063,112 +3071,112 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3063
3071
  }, emscripten_glDrawArraysInstancedBaseInstanceWEBGL:function(a, b, c, d, e) {
3064
3072
  U.Ya.drawArraysInstancedBaseInstanceWEBGL(a, b, c, d, e);
3065
3073
  }, emscripten_glDrawBuffers:function(a, b) {
3066
- for (var c = Sd[a], d = 0; d < a; d++) {
3067
- c[d] = B[b + 4 * d >> 2];
3074
+ for (var c = Td[a], d = 0; d < a; d++) {
3075
+ c[d] = D[b + 4 * d >> 2];
3068
3076
  }
3069
3077
  U.drawBuffers(c);
3070
- }, emscripten_glDrawElements:Td, emscripten_glDrawElementsInstanced:function(a, b, c, d, e) {
3078
+ }, emscripten_glDrawElements:Ud, emscripten_glDrawElementsInstanced:function(a, b, c, d, e) {
3071
3079
  U.drawElementsInstanced(a, b, c, d, e);
3072
3080
  }, emscripten_glDrawElementsInstancedBaseVertexBaseInstanceWEBGL:function(a, b, c, d, e, f, g) {
3073
3081
  U.Ya.drawElementsInstancedBaseVertexBaseInstanceWEBGL(a, b, c, d, e, f, g);
3074
3082
  }, emscripten_glDrawRangeElements:function(a, b, c, d, e, f) {
3075
- Td(a, d, e, f);
3083
+ Ud(a, d, e, f);
3076
3084
  }, emscripten_glEnable:function(a) {
3077
3085
  U.enable(a);
3078
3086
  }, emscripten_glEnableVertexAttribArray:function(a) {
3079
3087
  U.enableVertexAttribArray(a);
3080
3088
  }, emscripten_glFenceSync:function(a, b) {
3081
- return (a = U.fenceSync(a, b)) ? (b = ia(Kd), a.name = b, Kd[b] = a, b) : 0;
3089
+ return (a = U.fenceSync(a, b)) ? (b = ha(Ld), a.name = b, Ld[b] = a, b) : 0;
3082
3090
  }, emscripten_glFinish:function() {
3083
3091
  U.finish();
3084
3092
  }, emscripten_glFlush:function() {
3085
3093
  U.flush();
3086
3094
  }, emscripten_glFramebufferRenderbuffer:function(a, b, c, d) {
3087
- U.framebufferRenderbuffer(a, b, c, Fd[d]);
3095
+ U.framebufferRenderbuffer(a, b, c, Gd[d]);
3088
3096
  }, emscripten_glFramebufferTexture2D:function(a, b, c, d, e) {
3089
- U.framebufferTexture2D(a, b, c, Gd[d], e);
3097
+ U.framebufferTexture2D(a, b, c, Hd[d], e);
3090
3098
  }, emscripten_glFrontFace:function(a) {
3091
3099
  U.frontFace(a);
3092
3100
  }, emscripten_glGenBuffers:function(a, b) {
3093
- Ud(a, b, "createBuffer", Cd);
3101
+ Vd(a, b, "createBuffer", Dd);
3094
3102
  }, emscripten_glGenFramebuffers:function(a, b) {
3095
- Ud(a, b, "createFramebuffer", Ed);
3103
+ Vd(a, b, "createFramebuffer", Fd);
3096
3104
  }, emscripten_glGenRenderbuffers:function(a, b) {
3097
- Ud(a, b, "createRenderbuffer", Fd);
3105
+ Vd(a, b, "createRenderbuffer", Gd);
3098
3106
  }, emscripten_glGenSamplers:function(a, b) {
3099
- Ud(a, b, "createSampler", Jd);
3107
+ Vd(a, b, "createSampler", Kd);
3100
3108
  }, emscripten_glGenTextures:function(a, b) {
3101
- Ud(a, b, "createTexture", Gd);
3102
- }, emscripten_glGenVertexArrays:Vd, emscripten_glGenVertexArraysOES:Vd, emscripten_glGenerateMipmap:function(a) {
3109
+ Vd(a, b, "createTexture", Hd);
3110
+ }, emscripten_glGenVertexArrays:Wd, emscripten_glGenVertexArraysOES:Wd, emscripten_glGenerateMipmap:function(a) {
3103
3111
  U.generateMipmap(a);
3104
3112
  }, emscripten_glGetBufferParameteriv:function(a, b, c) {
3105
- c ? B[c >> 2] = U.getBufferParameter(a, b) : S(1281);
3113
+ c ? D[c >> 2] = U.getBufferParameter(a, b) : S(1281);
3106
3114
  }, emscripten_glGetError:function() {
3107
- var a = U.getError() || Od;
3108
- Od = 0;
3115
+ var a = U.getError() || Pd;
3116
+ Pd = 0;
3109
3117
  return a;
3110
3118
  }, emscripten_glGetFramebufferAttachmentParameteriv:function(a, b, c, d) {
3111
3119
  a = U.getFramebufferAttachmentParameter(a, b, c);
3112
3120
  if (a instanceof WebGLRenderbuffer || a instanceof WebGLTexture) {
3113
3121
  a = a.name | 0;
3114
3122
  }
3115
- B[d >> 2] = a;
3116
- }, emscripten_glGetIntegerv:Xd, emscripten_glGetProgramInfoLog:function(a, b, c, d) {
3117
- a = U.getProgramInfoLog(Dd[a]);
3123
+ D[d >> 2] = a;
3124
+ }, emscripten_glGetIntegerv:Yd, emscripten_glGetProgramInfoLog:function(a, b, c, d) {
3125
+ a = U.getProgramInfoLog(Ed[a]);
3118
3126
  null === a && (a = "(unknown error)");
3119
- b = 0 < b && d ? hb(a, w, d, b) : 0;
3120
- c && (B[c >> 2] = b);
3127
+ b = 0 < b && d ? ib(a, x, d, b) : 0;
3128
+ c && (D[c >> 2] = b);
3121
3129
  }, emscripten_glGetProgramiv:function(a, b, c) {
3122
3130
  if (c) {
3123
- if (a >= Bd) {
3131
+ if (a >= Cd) {
3124
3132
  S(1281);
3125
3133
  } else {
3126
- if (a = Dd[a], 35716 == b) {
3127
- a = U.getProgramInfoLog(a), null === a && (a = "(unknown error)"), B[c >> 2] = a.length + 1;
3134
+ if (a = Ed[a], 35716 == b) {
3135
+ a = U.getProgramInfoLog(a), null === a && (a = "(unknown error)"), D[c >> 2] = a.length + 1;
3128
3136
  } else if (35719 == b) {
3129
3137
  if (!a.za) {
3130
3138
  for (b = 0; b < U.getProgramParameter(a, 35718); ++b) {
3131
3139
  a.za = Math.max(a.za, U.getActiveUniform(a, b).name.length + 1);
3132
3140
  }
3133
3141
  }
3134
- B[c >> 2] = a.za;
3142
+ D[c >> 2] = a.za;
3135
3143
  } else if (35722 == b) {
3136
3144
  if (!a.xa) {
3137
3145
  for (b = 0; b < U.getProgramParameter(a, 35721); ++b) {
3138
3146
  a.xa = Math.max(a.xa, U.getActiveAttrib(a, b).name.length + 1);
3139
3147
  }
3140
3148
  }
3141
- B[c >> 2] = a.xa;
3149
+ D[c >> 2] = a.xa;
3142
3150
  } else if (35381 == b) {
3143
3151
  if (!a.ya) {
3144
3152
  for (b = 0; b < U.getProgramParameter(a, 35382); ++b) {
3145
3153
  a.ya = Math.max(a.ya, U.getActiveUniformBlockName(a, b).length + 1);
3146
3154
  }
3147
3155
  }
3148
- B[c >> 2] = a.ya;
3156
+ D[c >> 2] = a.ya;
3149
3157
  } else {
3150
- B[c >> 2] = U.getProgramParameter(a, b);
3158
+ D[c >> 2] = U.getProgramParameter(a, b);
3151
3159
  }
3152
3160
  }
3153
3161
  } else {
3154
3162
  S(1281);
3155
3163
  }
3156
3164
  }, emscripten_glGetRenderbufferParameteriv:function(a, b, c) {
3157
- c ? B[c >> 2] = U.getRenderbufferParameter(a, b) : S(1281);
3165
+ c ? D[c >> 2] = U.getRenderbufferParameter(a, b) : S(1281);
3158
3166
  }, emscripten_glGetShaderInfoLog:function(a, b, c, d) {
3159
- a = U.getShaderInfoLog(Hd[a]);
3167
+ a = U.getShaderInfoLog(Id[a]);
3160
3168
  null === a && (a = "(unknown error)");
3161
- b = 0 < b && d ? hb(a, w, d, b) : 0;
3162
- c && (B[c >> 2] = b);
3169
+ b = 0 < b && d ? ib(a, x, d, b) : 0;
3170
+ c && (D[c >> 2] = b);
3163
3171
  }, emscripten_glGetShaderPrecisionFormat:function(a, b, c, d) {
3164
3172
  a = U.getShaderPrecisionFormat(a, b);
3165
- B[c >> 2] = a.rangeMin;
3166
- B[c + 4 >> 2] = a.rangeMax;
3167
- B[d >> 2] = a.precision;
3173
+ D[c >> 2] = a.rangeMin;
3174
+ D[c + 4 >> 2] = a.rangeMax;
3175
+ D[d >> 2] = a.precision;
3168
3176
  }, emscripten_glGetShaderiv:function(a, b, c) {
3169
- c ? 35716 == b ? (a = U.getShaderInfoLog(Hd[a]), null === a && (a = "(unknown error)"), B[c >> 2] = a ? a.length + 1 : 0) : 35720 == b ? (a = U.getShaderSource(Hd[a]), B[c >> 2] = a ? a.length + 1 : 0) : B[c >> 2] = U.getShaderParameter(Hd[a], b) : S(1281);
3177
+ c ? 35716 == b ? (a = U.getShaderInfoLog(Id[a]), null === a && (a = "(unknown error)"), D[c >> 2] = a ? a.length + 1 : 0) : 35720 == b ? (a = U.getShaderSource(Id[a]), D[c >> 2] = a ? a.length + 1 : 0) : D[c >> 2] = U.getShaderParameter(Id[a], b) : S(1281);
3170
3178
  }, emscripten_glGetString:function(a) {
3171
- var b = Ld[a];
3179
+ var b = Md[a];
3172
3180
  if (!b) {
3173
3181
  switch(a) {
3174
3182
  case 7939:
@@ -3176,37 +3184,37 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3176
3184
  b = b.concat(b.map(function(d) {
3177
3185
  return "GL_" + d;
3178
3186
  }));
3179
- b = Zd(b.join(" "));
3187
+ b = $d(b.join(" "));
3180
3188
  break;
3181
3189
  case 7936:
3182
3190
  case 7937:
3183
3191
  case 37445:
3184
3192
  case 37446:
3185
3193
  (b = U.getParameter(a)) || S(1280);
3186
- b = b && Zd(b);
3194
+ b = b && $d(b);
3187
3195
  break;
3188
3196
  case 7938:
3189
3197
  b = U.getParameter(7938);
3190
3198
  b = 2 <= T.version ? "OpenGL ES 3.0 (" + b + ")" : "OpenGL ES 2.0 (" + b + ")";
3191
- b = Zd(b);
3199
+ b = $d(b);
3192
3200
  break;
3193
3201
  case 35724:
3194
3202
  b = U.getParameter(35724);
3195
3203
  var c = b.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);
3196
3204
  null !== c && (3 == c[1].length && (c[1] += "0"), b = "OpenGL ES GLSL ES " + c[1] + " (" + b + ")");
3197
- b = Zd(b);
3205
+ b = $d(b);
3198
3206
  break;
3199
3207
  default:
3200
3208
  S(1280);
3201
3209
  }
3202
- Ld[a] = b;
3210
+ Md[a] = b;
3203
3211
  }
3204
3212
  return b;
3205
3213
  }, emscripten_glGetStringi:function(a, b) {
3206
3214
  if (2 > T.version) {
3207
3215
  return S(1282), 0;
3208
3216
  }
3209
- var c = Md[a];
3217
+ var c = Nd[a];
3210
3218
  if (c) {
3211
3219
  return 0 > b || b >= c.length ? (S(1281), 0) : c[b];
3212
3220
  }
@@ -3215,34 +3223,34 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3215
3223
  return c = U.getSupportedExtensions() || [], c = c.concat(c.map(function(d) {
3216
3224
  return "GL_" + d;
3217
3225
  })), c = c.map(function(d) {
3218
- return Zd(d);
3219
- }), c = Md[a] = c, 0 > b || b >= c.length ? (S(1281), 0) : c[b];
3226
+ return $d(d);
3227
+ }), c = Nd[a] = c, 0 > b || b >= c.length ? (S(1281), 0) : c[b];
3220
3228
  default:
3221
3229
  return S(1280), 0;
3222
3230
  }
3223
3231
  }, emscripten_glGetUniformLocation:function(a, b) {
3224
- b = b ? F(w, b) : "";
3225
- if (a = Dd[a]) {
3232
+ b = b ? fb(x, b) : "";
3233
+ if (a = Ed[a]) {
3226
3234
  var c = a, d = c.ma, e = c.ub, f;
3227
3235
  if (!d) {
3228
3236
  for (c.ma = d = {}, c.tb = {}, f = 0; f < U.getProgramParameter(c, 35718); ++f) {
3229
3237
  var g = U.getActiveUniform(c, f);
3230
3238
  var k = g.name;
3231
3239
  g = g.size;
3232
- var q = $d(k);
3233
- q = 0 < q ? k.slice(0, q) : k;
3240
+ var p = ae(k);
3241
+ p = 0 < p ? k.slice(0, p) : k;
3234
3242
  var n = c.Sa;
3235
3243
  c.Sa += g;
3236
- e[q] = [g, n];
3244
+ e[p] = [g, n];
3237
3245
  for (k = 0; k < g; ++k) {
3238
- d[n] = k, c.tb[n++] = q;
3246
+ d[n] = k, c.tb[n++] = p;
3239
3247
  }
3240
3248
  }
3241
3249
  }
3242
3250
  c = a.ma;
3243
3251
  d = 0;
3244
3252
  e = b;
3245
- f = $d(b);
3253
+ f = ae(b);
3246
3254
  0 < f && (d = parseInt(b.slice(f + 1)) >>> 0, e = b.slice(0, f));
3247
3255
  if ((e = a.ub[e]) && d < e[0] && (d += e[1], c[d] = c[d] || U.getUniformLocation(a, b))) {
3248
3256
  return d;
@@ -3252,32 +3260,32 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3252
3260
  }
3253
3261
  return -1;
3254
3262
  }, emscripten_glInvalidateFramebuffer:function(a, b, c) {
3255
- for (var d = Sd[b], e = 0; e < b; e++) {
3256
- d[e] = B[c + 4 * e >> 2];
3263
+ for (var d = Td[b], e = 0; e < b; e++) {
3264
+ d[e] = D[c + 4 * e >> 2];
3257
3265
  }
3258
3266
  U.invalidateFramebuffer(a, d);
3259
3267
  }, emscripten_glInvalidateSubFramebuffer:function(a, b, c, d, e, f, g) {
3260
- for (var k = Sd[b], q = 0; q < b; q++) {
3261
- k[q] = B[c + 4 * q >> 2];
3268
+ for (var k = Td[b], p = 0; p < b; p++) {
3269
+ k[p] = D[c + 4 * p >> 2];
3262
3270
  }
3263
3271
  U.invalidateSubFramebuffer(a, k, d, e, f, g);
3264
3272
  }, emscripten_glIsSync:function(a) {
3265
- return U.isSync(Kd[a]);
3273
+ return U.isSync(Ld[a]);
3266
3274
  }, emscripten_glIsTexture:function(a) {
3267
- return (a = Gd[a]) ? U.isTexture(a) : 0;
3275
+ return (a = Hd[a]) ? U.isTexture(a) : 0;
3268
3276
  }, emscripten_glLineWidth:function(a) {
3269
3277
  U.lineWidth(a);
3270
3278
  }, emscripten_glLinkProgram:function(a) {
3271
- a = Dd[a];
3279
+ a = Ed[a];
3272
3280
  U.linkProgram(a);
3273
3281
  a.ma = 0;
3274
3282
  a.ub = {};
3275
3283
  }, emscripten_glMultiDrawArraysInstancedBaseInstanceWEBGL:function(a, b, c, d, e, f) {
3276
- U.gb.multiDrawArraysInstancedBaseInstanceWEBGL(a, B, b >> 2, B, c >> 2, B, d >> 2, D, e >> 2, f);
3284
+ U.gb.multiDrawArraysInstancedBaseInstanceWEBGL(a, D, b >> 2, D, c >> 2, D, d >> 2, E, e >> 2, f);
3277
3285
  }, emscripten_glMultiDrawElementsInstancedBaseVertexBaseInstanceWEBGL:function(a, b, c, d, e, f, g, k) {
3278
- U.gb.multiDrawElementsInstancedBaseVertexBaseInstanceWEBGL(a, B, b >> 2, c, B, d >> 2, B, e >> 2, B, f >> 2, D, g >> 2, k);
3286
+ U.gb.multiDrawElementsInstancedBaseVertexBaseInstanceWEBGL(a, D, b >> 2, c, D, d >> 2, D, e >> 2, D, f >> 2, E, g >> 2, k);
3279
3287
  }, emscripten_glPixelStorei:function(a, b) {
3280
- 3317 == a && (Nd = b);
3288
+ 3317 == a && (Od = b);
3281
3289
  U.pixelStorei(a, b);
3282
3290
  }, emscripten_glReadBuffer:function(a) {
3283
3291
  U.readBuffer(a);
@@ -3286,29 +3294,29 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3286
3294
  if (U.Ka) {
3287
3295
  U.readPixels(a, b, c, d, e, f, g);
3288
3296
  } else {
3289
- var k = ae(f);
3297
+ var k = be(f);
3290
3298
  U.readPixels(a, b, c, d, e, f, k, g >> 31 - Math.clz32(k.BYTES_PER_ELEMENT));
3291
3299
  }
3292
3300
  } else {
3293
- (g = be(f, e, c, d, g)) ? U.readPixels(a, b, c, d, e, f, g) : S(1280);
3301
+ (g = ce(f, e, c, d, g)) ? U.readPixels(a, b, c, d, e, f, g) : S(1280);
3294
3302
  }
3295
3303
  }, emscripten_glRenderbufferStorage:function(a, b, c, d) {
3296
3304
  U.renderbufferStorage(a, b, c, d);
3297
3305
  }, emscripten_glRenderbufferStorageMultisample:function(a, b, c, d, e) {
3298
3306
  U.renderbufferStorageMultisample(a, b, c, d, e);
3299
3307
  }, emscripten_glSamplerParameteri:function(a, b, c) {
3300
- U.samplerParameteri(Jd[a], b, c);
3308
+ U.samplerParameteri(Kd[a], b, c);
3301
3309
  }, emscripten_glSamplerParameteriv:function(a, b, c) {
3302
- U.samplerParameteri(Jd[a], b, B[c >> 2]);
3310
+ U.samplerParameteri(Kd[a], b, D[c >> 2]);
3303
3311
  }, emscripten_glScissor:function(a, b, c, d) {
3304
3312
  U.scissor(a, b, c, d);
3305
3313
  }, emscripten_glShaderSource:function(a, b, c, d) {
3306
3314
  for (var e = "", f = 0; f < b; ++f) {
3307
- var g = d ? B[d + 4 * f >> 2] : -1, k = B[c + 4 * f >> 2];
3308
- g = k ? F(w, k, 0 > g ? void 0 : g) : "";
3315
+ var g = d ? D[d + 4 * f >> 2] : -1, k = D[c + 4 * f >> 2];
3316
+ g = k ? fb(x, k, 0 > g ? void 0 : g) : "";
3309
3317
  e += g;
3310
3318
  }
3311
- U.shaderSource(Hd[a], e);
3319
+ U.shaderSource(Id[a], e);
3312
3320
  }, emscripten_glStencilFunc:function(a, b, c) {
3313
3321
  U.stencilFunc(a, b, c);
3314
3322
  }, emscripten_glStencilFuncSeparate:function(a, b, c, d) {
@@ -3321,54 +3329,54 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3321
3329
  U.stencilOp(a, b, c);
3322
3330
  }, emscripten_glStencilOpSeparate:function(a, b, c, d) {
3323
3331
  U.stencilOpSeparate(a, b, c, d);
3324
- }, emscripten_glTexImage2D:function(a, b, c, d, e, f, g, k, q) {
3332
+ }, emscripten_glTexImage2D:function(a, b, c, d, e, f, g, k, p) {
3325
3333
  if (2 <= T.version) {
3326
3334
  if (U.fa) {
3327
- U.texImage2D(a, b, c, d, e, f, g, k, q);
3328
- } else if (q) {
3329
- var n = ae(k);
3330
- U.texImage2D(a, b, c, d, e, f, g, k, n, q >> 31 - Math.clz32(n.BYTES_PER_ELEMENT));
3335
+ U.texImage2D(a, b, c, d, e, f, g, k, p);
3336
+ } else if (p) {
3337
+ var n = be(k);
3338
+ U.texImage2D(a, b, c, d, e, f, g, k, n, p >> 31 - Math.clz32(n.BYTES_PER_ELEMENT));
3331
3339
  } else {
3332
3340
  U.texImage2D(a, b, c, d, e, f, g, k, null);
3333
3341
  }
3334
3342
  } else {
3335
- U.texImage2D(a, b, c, d, e, f, g, k, q ? be(k, g, d, e, q) : null);
3343
+ U.texImage2D(a, b, c, d, e, f, g, k, p ? ce(k, g, d, e, p) : null);
3336
3344
  }
3337
3345
  }, emscripten_glTexParameterf:function(a, b, c) {
3338
3346
  U.texParameterf(a, b, c);
3339
3347
  }, emscripten_glTexParameterfv:function(a, b, c) {
3340
- U.texParameterf(a, b, E[c >> 2]);
3348
+ U.texParameterf(a, b, F[c >> 2]);
3341
3349
  }, emscripten_glTexParameteri:function(a, b, c) {
3342
3350
  U.texParameteri(a, b, c);
3343
3351
  }, emscripten_glTexParameteriv:function(a, b, c) {
3344
- U.texParameteri(a, b, B[c >> 2]);
3352
+ U.texParameteri(a, b, D[c >> 2]);
3345
3353
  }, emscripten_glTexStorage2D:function(a, b, c, d, e) {
3346
3354
  U.texStorage2D(a, b, c, d, e);
3347
- }, emscripten_glTexSubImage2D:function(a, b, c, d, e, f, g, k, q) {
3355
+ }, emscripten_glTexSubImage2D:function(a, b, c, d, e, f, g, k, p) {
3348
3356
  if (2 <= T.version) {
3349
3357
  if (U.fa) {
3350
- U.texSubImage2D(a, b, c, d, e, f, g, k, q);
3351
- } else if (q) {
3352
- var n = ae(k);
3353
- U.texSubImage2D(a, b, c, d, e, f, g, k, n, q >> 31 - Math.clz32(n.BYTES_PER_ELEMENT));
3358
+ U.texSubImage2D(a, b, c, d, e, f, g, k, p);
3359
+ } else if (p) {
3360
+ var n = be(k);
3361
+ U.texSubImage2D(a, b, c, d, e, f, g, k, n, p >> 31 - Math.clz32(n.BYTES_PER_ELEMENT));
3354
3362
  } else {
3355
3363
  U.texSubImage2D(a, b, c, d, e, f, g, k, null);
3356
3364
  }
3357
3365
  } else {
3358
- n = null, q && (n = be(k, g, e, f, q)), U.texSubImage2D(a, b, c, d, e, f, g, k, n);
3366
+ n = null, p && (n = ce(k, g, e, f, p)), U.texSubImage2D(a, b, c, d, e, f, g, k, n);
3359
3367
  }
3360
3368
  }, emscripten_glUniform1f:function(a, b) {
3361
3369
  U.uniform1f(V(a), b);
3362
3370
  }, emscripten_glUniform1fv:function(a, b, c) {
3363
3371
  if (2 <= T.version) {
3364
- b && U.uniform1fv(V(a), E, c >> 2, b);
3372
+ b && U.uniform1fv(V(a), F, c >> 2, b);
3365
3373
  } else {
3366
3374
  if (288 >= b) {
3367
- for (var d = ce[b - 1], e = 0; e < b; ++e) {
3368
- d[e] = E[c + 4 * e >> 2];
3375
+ for (var d = de[b - 1], e = 0; e < b; ++e) {
3376
+ d[e] = F[c + 4 * e >> 2];
3369
3377
  }
3370
3378
  } else {
3371
- d = E.subarray(c >> 2, c + 4 * b >> 2);
3379
+ d = F.subarray(c >> 2, c + 4 * b >> 2);
3372
3380
  }
3373
3381
  U.uniform1fv(V(a), d);
3374
3382
  }
@@ -3376,14 +3384,14 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3376
3384
  U.uniform1i(V(a), b);
3377
3385
  }, emscripten_glUniform1iv:function(a, b, c) {
3378
3386
  if (2 <= T.version) {
3379
- b && U.uniform1iv(V(a), B, c >> 2, b);
3387
+ b && U.uniform1iv(V(a), D, c >> 2, b);
3380
3388
  } else {
3381
3389
  if (288 >= b) {
3382
- for (var d = de[b - 1], e = 0; e < b; ++e) {
3383
- d[e] = B[c + 4 * e >> 2];
3390
+ for (var d = ee[b - 1], e = 0; e < b; ++e) {
3391
+ d[e] = D[c + 4 * e >> 2];
3384
3392
  }
3385
3393
  } else {
3386
- d = B.subarray(c >> 2, c + 4 * b >> 2);
3394
+ d = D.subarray(c >> 2, c + 4 * b >> 2);
3387
3395
  }
3388
3396
  U.uniform1iv(V(a), d);
3389
3397
  }
@@ -3391,14 +3399,14 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3391
3399
  U.uniform2f(V(a), b, c);
3392
3400
  }, emscripten_glUniform2fv:function(a, b, c) {
3393
3401
  if (2 <= T.version) {
3394
- b && U.uniform2fv(V(a), E, c >> 2, 2 * b);
3402
+ b && U.uniform2fv(V(a), F, c >> 2, 2 * b);
3395
3403
  } else {
3396
3404
  if (144 >= b) {
3397
- for (var d = ce[2 * b - 1], e = 0; e < 2 * b; e += 2) {
3398
- d[e] = E[c + 4 * e >> 2], d[e + 1] = E[c + (4 * e + 4) >> 2];
3405
+ for (var d = de[2 * b - 1], e = 0; e < 2 * b; e += 2) {
3406
+ d[e] = F[c + 4 * e >> 2], d[e + 1] = F[c + (4 * e + 4) >> 2];
3399
3407
  }
3400
3408
  } else {
3401
- d = E.subarray(c >> 2, c + 8 * b >> 2);
3409
+ d = F.subarray(c >> 2, c + 8 * b >> 2);
3402
3410
  }
3403
3411
  U.uniform2fv(V(a), d);
3404
3412
  }
@@ -3406,14 +3414,14 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3406
3414
  U.uniform2i(V(a), b, c);
3407
3415
  }, emscripten_glUniform2iv:function(a, b, c) {
3408
3416
  if (2 <= T.version) {
3409
- b && U.uniform2iv(V(a), B, c >> 2, 2 * b);
3417
+ b && U.uniform2iv(V(a), D, c >> 2, 2 * b);
3410
3418
  } else {
3411
3419
  if (144 >= b) {
3412
- for (var d = de[2 * b - 1], e = 0; e < 2 * b; e += 2) {
3413
- d[e] = B[c + 4 * e >> 2], d[e + 1] = B[c + (4 * e + 4) >> 2];
3420
+ for (var d = ee[2 * b - 1], e = 0; e < 2 * b; e += 2) {
3421
+ d[e] = D[c + 4 * e >> 2], d[e + 1] = D[c + (4 * e + 4) >> 2];
3414
3422
  }
3415
3423
  } else {
3416
- d = B.subarray(c >> 2, c + 8 * b >> 2);
3424
+ d = D.subarray(c >> 2, c + 8 * b >> 2);
3417
3425
  }
3418
3426
  U.uniform2iv(V(a), d);
3419
3427
  }
@@ -3421,14 +3429,14 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3421
3429
  U.uniform3f(V(a), b, c, d);
3422
3430
  }, emscripten_glUniform3fv:function(a, b, c) {
3423
3431
  if (2 <= T.version) {
3424
- b && U.uniform3fv(V(a), E, c >> 2, 3 * b);
3432
+ b && U.uniform3fv(V(a), F, c >> 2, 3 * b);
3425
3433
  } else {
3426
3434
  if (96 >= b) {
3427
- for (var d = ce[3 * b - 1], e = 0; e < 3 * b; e += 3) {
3428
- d[e] = E[c + 4 * e >> 2], d[e + 1] = E[c + (4 * e + 4) >> 2], d[e + 2] = E[c + (4 * e + 8) >> 2];
3435
+ for (var d = de[3 * b - 1], e = 0; e < 3 * b; e += 3) {
3436
+ d[e] = F[c + 4 * e >> 2], d[e + 1] = F[c + (4 * e + 4) >> 2], d[e + 2] = F[c + (4 * e + 8) >> 2];
3429
3437
  }
3430
3438
  } else {
3431
- d = E.subarray(c >> 2, c + 12 * b >> 2);
3439
+ d = F.subarray(c >> 2, c + 12 * b >> 2);
3432
3440
  }
3433
3441
  U.uniform3fv(V(a), d);
3434
3442
  }
@@ -3436,14 +3444,14 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3436
3444
  U.uniform3i(V(a), b, c, d);
3437
3445
  }, emscripten_glUniform3iv:function(a, b, c) {
3438
3446
  if (2 <= T.version) {
3439
- b && U.uniform3iv(V(a), B, c >> 2, 3 * b);
3447
+ b && U.uniform3iv(V(a), D, c >> 2, 3 * b);
3440
3448
  } else {
3441
3449
  if (96 >= b) {
3442
- for (var d = de[3 * b - 1], e = 0; e < 3 * b; e += 3) {
3443
- d[e] = B[c + 4 * e >> 2], d[e + 1] = B[c + (4 * e + 4) >> 2], d[e + 2] = B[c + (4 * e + 8) >> 2];
3450
+ for (var d = ee[3 * b - 1], e = 0; e < 3 * b; e += 3) {
3451
+ d[e] = D[c + 4 * e >> 2], d[e + 1] = D[c + (4 * e + 4) >> 2], d[e + 2] = D[c + (4 * e + 8) >> 2];
3444
3452
  }
3445
3453
  } else {
3446
- d = B.subarray(c >> 2, c + 12 * b >> 2);
3454
+ d = D.subarray(c >> 2, c + 12 * b >> 2);
3447
3455
  }
3448
3456
  U.uniform3iv(V(a), d);
3449
3457
  }
@@ -3451,10 +3459,10 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3451
3459
  U.uniform4f(V(a), b, c, d, e);
3452
3460
  }, emscripten_glUniform4fv:function(a, b, c) {
3453
3461
  if (2 <= T.version) {
3454
- b && U.uniform4fv(V(a), E, c >> 2, 4 * b);
3462
+ b && U.uniform4fv(V(a), F, c >> 2, 4 * b);
3455
3463
  } else {
3456
3464
  if (72 >= b) {
3457
- var d = ce[4 * b - 1], e = E;
3465
+ var d = de[4 * b - 1], e = F;
3458
3466
  c >>= 2;
3459
3467
  for (var f = 0; f < 4 * b; f += 4) {
3460
3468
  var g = c + f;
@@ -3464,7 +3472,7 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3464
3472
  d[f + 3] = e[g + 3];
3465
3473
  }
3466
3474
  } else {
3467
- d = E.subarray(c >> 2, c + 16 * b >> 2);
3475
+ d = F.subarray(c >> 2, c + 16 * b >> 2);
3468
3476
  }
3469
3477
  U.uniform4fv(V(a), d);
3470
3478
  }
@@ -3472,49 +3480,49 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3472
3480
  U.uniform4i(V(a), b, c, d, e);
3473
3481
  }, emscripten_glUniform4iv:function(a, b, c) {
3474
3482
  if (2 <= T.version) {
3475
- b && U.uniform4iv(V(a), B, c >> 2, 4 * b);
3483
+ b && U.uniform4iv(V(a), D, c >> 2, 4 * b);
3476
3484
  } else {
3477
3485
  if (72 >= b) {
3478
- for (var d = de[4 * b - 1], e = 0; e < 4 * b; e += 4) {
3479
- d[e] = B[c + 4 * e >> 2], d[e + 1] = B[c + (4 * e + 4) >> 2], d[e + 2] = B[c + (4 * e + 8) >> 2], d[e + 3] = B[c + (4 * e + 12) >> 2];
3486
+ for (var d = ee[4 * b - 1], e = 0; e < 4 * b; e += 4) {
3487
+ d[e] = D[c + 4 * e >> 2], d[e + 1] = D[c + (4 * e + 4) >> 2], d[e + 2] = D[c + (4 * e + 8) >> 2], d[e + 3] = D[c + (4 * e + 12) >> 2];
3480
3488
  }
3481
3489
  } else {
3482
- d = B.subarray(c >> 2, c + 16 * b >> 2);
3490
+ d = D.subarray(c >> 2, c + 16 * b >> 2);
3483
3491
  }
3484
3492
  U.uniform4iv(V(a), d);
3485
3493
  }
3486
3494
  }, emscripten_glUniformMatrix2fv:function(a, b, c, d) {
3487
3495
  if (2 <= T.version) {
3488
- b && U.uniformMatrix2fv(V(a), !!c, E, d >> 2, 4 * b);
3496
+ b && U.uniformMatrix2fv(V(a), !!c, F, d >> 2, 4 * b);
3489
3497
  } else {
3490
3498
  if (72 >= b) {
3491
- for (var e = ce[4 * b - 1], f = 0; f < 4 * b; f += 4) {
3492
- e[f] = E[d + 4 * f >> 2], e[f + 1] = E[d + (4 * f + 4) >> 2], e[f + 2] = E[d + (4 * f + 8) >> 2], e[f + 3] = E[d + (4 * f + 12) >> 2];
3499
+ for (var e = de[4 * b - 1], f = 0; f < 4 * b; f += 4) {
3500
+ e[f] = F[d + 4 * f >> 2], e[f + 1] = F[d + (4 * f + 4) >> 2], e[f + 2] = F[d + (4 * f + 8) >> 2], e[f + 3] = F[d + (4 * f + 12) >> 2];
3493
3501
  }
3494
3502
  } else {
3495
- e = E.subarray(d >> 2, d + 16 * b >> 2);
3503
+ e = F.subarray(d >> 2, d + 16 * b >> 2);
3496
3504
  }
3497
3505
  U.uniformMatrix2fv(V(a), !!c, e);
3498
3506
  }
3499
3507
  }, emscripten_glUniformMatrix3fv:function(a, b, c, d) {
3500
3508
  if (2 <= T.version) {
3501
- b && U.uniformMatrix3fv(V(a), !!c, E, d >> 2, 9 * b);
3509
+ b && U.uniformMatrix3fv(V(a), !!c, F, d >> 2, 9 * b);
3502
3510
  } else {
3503
3511
  if (32 >= b) {
3504
- for (var e = ce[9 * b - 1], f = 0; f < 9 * b; f += 9) {
3505
- e[f] = E[d + 4 * f >> 2], e[f + 1] = E[d + (4 * f + 4) >> 2], e[f + 2] = E[d + (4 * f + 8) >> 2], e[f + 3] = E[d + (4 * f + 12) >> 2], e[f + 4] = E[d + (4 * f + 16) >> 2], e[f + 5] = E[d + (4 * f + 20) >> 2], e[f + 6] = E[d + (4 * f + 24) >> 2], e[f + 7] = E[d + (4 * f + 28) >> 2], e[f + 8] = E[d + (4 * f + 32) >> 2];
3512
+ for (var e = de[9 * b - 1], f = 0; f < 9 * b; f += 9) {
3513
+ e[f] = F[d + 4 * f >> 2], e[f + 1] = F[d + (4 * f + 4) >> 2], e[f + 2] = F[d + (4 * f + 8) >> 2], e[f + 3] = F[d + (4 * f + 12) >> 2], e[f + 4] = F[d + (4 * f + 16) >> 2], e[f + 5] = F[d + (4 * f + 20) >> 2], e[f + 6] = F[d + (4 * f + 24) >> 2], e[f + 7] = F[d + (4 * f + 28) >> 2], e[f + 8] = F[d + (4 * f + 32) >> 2];
3506
3514
  }
3507
3515
  } else {
3508
- e = E.subarray(d >> 2, d + 36 * b >> 2);
3516
+ e = F.subarray(d >> 2, d + 36 * b >> 2);
3509
3517
  }
3510
3518
  U.uniformMatrix3fv(V(a), !!c, e);
3511
3519
  }
3512
3520
  }, emscripten_glUniformMatrix4fv:function(a, b, c, d) {
3513
3521
  if (2 <= T.version) {
3514
- b && U.uniformMatrix4fv(V(a), !!c, E, d >> 2, 16 * b);
3522
+ b && U.uniformMatrix4fv(V(a), !!c, F, d >> 2, 16 * b);
3515
3523
  } else {
3516
3524
  if (18 >= b) {
3517
- var e = ce[16 * b - 1], f = E;
3525
+ var e = de[16 * b - 1], f = F;
3518
3526
  d >>= 2;
3519
3527
  for (var g = 0; g < 16 * b; g += 16) {
3520
3528
  var k = d + g;
@@ -3536,22 +3544,22 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3536
3544
  e[g + 15] = f[k + 15];
3537
3545
  }
3538
3546
  } else {
3539
- e = E.subarray(d >> 2, d + 64 * b >> 2);
3547
+ e = F.subarray(d >> 2, d + 64 * b >> 2);
3540
3548
  }
3541
3549
  U.uniformMatrix4fv(V(a), !!c, e);
3542
3550
  }
3543
3551
  }, emscripten_glUseProgram:function(a) {
3544
- a = Dd[a];
3552
+ a = Ed[a];
3545
3553
  U.useProgram(a);
3546
3554
  U.Gb = a;
3547
3555
  }, emscripten_glVertexAttrib1f:function(a, b) {
3548
3556
  U.vertexAttrib1f(a, b);
3549
3557
  }, emscripten_glVertexAttrib2fv:function(a, b) {
3550
- U.vertexAttrib2f(a, E[b >> 2], E[b + 4 >> 2]);
3558
+ U.vertexAttrib2f(a, F[b >> 2], F[b + 4 >> 2]);
3551
3559
  }, emscripten_glVertexAttrib3fv:function(a, b) {
3552
- U.vertexAttrib3f(a, E[b >> 2], E[b + 4 >> 2], E[b + 8 >> 2]);
3560
+ U.vertexAttrib3f(a, F[b >> 2], F[b + 4 >> 2], F[b + 8 >> 2]);
3553
3561
  }, emscripten_glVertexAttrib4fv:function(a, b) {
3554
- U.vertexAttrib4f(a, E[b >> 2], E[b + 4 >> 2], E[b + 8 >> 2], E[b + 12 >> 2]);
3562
+ U.vertexAttrib4f(a, F[b >> 2], F[b + 4 >> 2], F[b + 8 >> 2], F[b + 12 >> 2]);
3555
3563
  }, emscripten_glVertexAttribDivisor:function(a, b) {
3556
3564
  U.vertexAttribDivisor(a, b);
3557
3565
  }, emscripten_glVertexAttribIPointer:function(a, b, c, d, e) {
@@ -3561,9 +3569,9 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3561
3569
  }, emscripten_glViewport:function(a, b, c, d) {
3562
3570
  U.viewport(a, b, c, d);
3563
3571
  }, emscripten_glWaitSync:function(a, b, c, d) {
3564
- U.waitSync(Kd[a], b, (c >>> 0) + 4294967296 * d);
3565
- }, emscripten_memcpy_big:(a, b, c) => w.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
3566
- var b = w.length;
3572
+ U.waitSync(Ld[a], b, (c >>> 0) + 4294967296 * d);
3573
+ }, emscripten_memcpy_big:(a, b, c) => x.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
3574
+ var b = x.length;
3567
3575
  a >>>= 0;
3568
3576
  if (2147483648 < a) {
3569
3577
  return !1;
@@ -3595,30 +3603,30 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3595
3603
  return la(a) ? 0 : -5;
3596
3604
  }, environ_get:(a, b) => {
3597
3605
  var c = 0;
3598
- ge().forEach(function(d, e) {
3606
+ he().forEach(function(d, e) {
3599
3607
  var f = b + c;
3600
- e = D[a + 4 * e >> 2] = f;
3608
+ e = E[a + 4 * e >> 2] = f;
3601
3609
  for (f = 0; f < d.length; ++f) {
3602
- u[e++ >> 0] = d.charCodeAt(f);
3610
+ v[e++ >> 0] = d.charCodeAt(f);
3603
3611
  }
3604
- u[e >> 0] = 0;
3612
+ v[e >> 0] = 0;
3605
3613
  c += d.length + 1;
3606
3614
  });
3607
3615
  return 0;
3608
3616
  }, environ_sizes_get:(a, b) => {
3609
- var c = ge();
3610
- D[a >> 2] = c.length;
3617
+ var c = he();
3618
+ E[a >> 2] = c.length;
3611
3619
  var d = 0;
3612
3620
  c.forEach(function(e) {
3613
3621
  d += e.length + 1;
3614
3622
  });
3615
- D[b >> 2] = d;
3623
+ E[b >> 2] = d;
3616
3624
  return 0;
3617
3625
  }, fd_close:function(a) {
3618
3626
  try {
3619
- var b = Mb(a);
3627
+ var b = Nb(a);
3620
3628
  if (null === b.V) {
3621
- throw new H(8);
3629
+ throw new G(8);
3622
3630
  }
3623
3631
  b.Ma && (b.Ma = null);
3624
3632
  try {
@@ -3626,12 +3634,12 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3626
3634
  } catch (c) {
3627
3635
  throw c;
3628
3636
  } finally {
3629
- yb[b.V] = null;
3637
+ zb[b.V] = null;
3630
3638
  }
3631
3639
  b.V = null;
3632
3640
  return 0;
3633
3641
  } catch (c) {
3634
- if ("undefined" == typeof $b || "ErrnoError" !== c.name) {
3642
+ if ("undefined" == typeof ac || "ErrnoError" !== c.name) {
3635
3643
  throw c;
3636
3644
  }
3637
3645
  return c.Z;
@@ -3639,52 +3647,52 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3639
3647
  }, fd_read:function(a, b, c, d) {
3640
3648
  try {
3641
3649
  a: {
3642
- var e = Mb(a);
3650
+ var e = Nb(a);
3643
3651
  a = b;
3644
3652
  for (var f, g = b = 0; g < c; g++) {
3645
- var k = D[a >> 2], q = D[a + 4 >> 2];
3653
+ var k = E[a >> 2], p = E[a + 4 >> 2];
3646
3654
  a += 8;
3647
- var n = e, t = k, v = q, y = f, l = u;
3648
- if (0 > v || 0 > y) {
3649
- throw new H(28);
3655
+ var n = e, t = k, w = p, y = f, q = v;
3656
+ if (0 > w || 0 > y) {
3657
+ throw new G(28);
3650
3658
  }
3651
3659
  if (null === n.V) {
3652
- throw new H(8);
3660
+ throw new G(8);
3653
3661
  }
3654
3662
  if (1 === (n.flags & 2097155)) {
3655
- throw new H(8);
3663
+ throw new G(8);
3656
3664
  }
3657
3665
  if (16384 === (n.node.mode & 61440)) {
3658
- throw new H(31);
3666
+ throw new G(31);
3659
3667
  }
3660
3668
  if (!n.m.read) {
3661
- throw new H(28);
3669
+ throw new G(28);
3662
3670
  }
3663
3671
  var r = "undefined" != typeof y;
3664
3672
  if (!r) {
3665
3673
  y = n.position;
3666
3674
  } else if (!n.seekable) {
3667
- throw new H(70);
3675
+ throw new G(70);
3668
3676
  }
3669
- var x = n.m.read(n, l, t, v, y);
3670
- r || (n.position += x);
3671
- var z = x;
3677
+ var u = n.m.read(n, q, t, w, y);
3678
+ r || (n.position += u);
3679
+ var z = u;
3672
3680
  if (0 > z) {
3673
- var G = -1;
3681
+ var B = -1;
3674
3682
  break a;
3675
3683
  }
3676
3684
  b += z;
3677
- if (z < q) {
3685
+ if (z < p) {
3678
3686
  break;
3679
3687
  }
3680
3688
  "undefined" !== typeof f && (f += z);
3681
3689
  }
3682
- G = b;
3690
+ B = b;
3683
3691
  }
3684
- D[d >> 2] = G;
3692
+ E[d >> 2] = B;
3685
3693
  return 0;
3686
3694
  } catch (C) {
3687
- if ("undefined" == typeof $b || "ErrnoError" !== C.name) {
3695
+ if ("undefined" == typeof ac || "ErrnoError" !== C.name) {
3688
3696
  throw C;
3689
3697
  }
3690
3698
  return C.Z;
@@ -3695,15 +3703,15 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3695
3703
  if (isNaN(b)) {
3696
3704
  return 61;
3697
3705
  }
3698
- var f = Mb(a);
3699
- Vb(f, b, d);
3706
+ var f = Nb(a);
3707
+ Wb(f, b, d);
3700
3708
  Sa = [f.position >>> 0, (Ra = f.position, 1.0 <= +Math.abs(Ra) ? 0.0 < Ra ? +Math.floor(Ra / 4294967296.0) >>> 0 : ~~+Math.ceil((Ra - +(~~Ra >>> 0)) / 4294967296.0) >>> 0 : 0)];
3701
- B[e >> 2] = Sa[0];
3702
- B[e + 4 >> 2] = Sa[1];
3709
+ D[e >> 2] = Sa[0];
3710
+ D[e + 4 >> 2] = Sa[1];
3703
3711
  f.Ma && 0 === b && 0 === d && (f.Ma = null);
3704
3712
  return 0;
3705
3713
  } catch (g) {
3706
- if ("undefined" == typeof $b || "ErrnoError" !== g.name) {
3714
+ if ("undefined" == typeof ac || "ErrnoError" !== g.name) {
3707
3715
  throw g;
3708
3716
  }
3709
3717
  return g.Z;
@@ -3711,64 +3719,64 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3711
3719
  }, fd_write:function(a, b, c, d) {
3712
3720
  try {
3713
3721
  a: {
3714
- var e = Mb(a);
3722
+ var e = Nb(a);
3715
3723
  a = b;
3716
3724
  for (var f, g = b = 0; g < c; g++) {
3717
- var k = D[a >> 2], q = D[a + 4 >> 2];
3725
+ var k = E[a >> 2], p = E[a + 4 >> 2];
3718
3726
  a += 8;
3719
- var n = e, t = k, v = q, y = f, l = u;
3720
- if (0 > v || 0 > y) {
3721
- throw new H(28);
3727
+ var n = e, t = k, w = p, y = f, q = v;
3728
+ if (0 > w || 0 > y) {
3729
+ throw new G(28);
3722
3730
  }
3723
3731
  if (null === n.V) {
3724
- throw new H(8);
3732
+ throw new G(8);
3725
3733
  }
3726
3734
  if (0 === (n.flags & 2097155)) {
3727
- throw new H(8);
3735
+ throw new G(8);
3728
3736
  }
3729
3737
  if (16384 === (n.node.mode & 61440)) {
3730
- throw new H(31);
3738
+ throw new G(31);
3731
3739
  }
3732
3740
  if (!n.m.write) {
3733
- throw new H(28);
3741
+ throw new G(28);
3734
3742
  }
3735
- n.seekable && n.flags & 1024 && Vb(n, 0, 2);
3743
+ n.seekable && n.flags & 1024 && Wb(n, 0, 2);
3736
3744
  var r = "undefined" != typeof y;
3737
3745
  if (!r) {
3738
3746
  y = n.position;
3739
3747
  } else if (!n.seekable) {
3740
- throw new H(70);
3748
+ throw new G(70);
3741
3749
  }
3742
- var x = n.m.write(n, l, t, v, y, void 0);
3743
- r || (n.position += x);
3744
- var z = x;
3750
+ var u = n.m.write(n, q, t, w, y, void 0);
3751
+ r || (n.position += u);
3752
+ var z = u;
3745
3753
  if (0 > z) {
3746
- var G = -1;
3754
+ var B = -1;
3747
3755
  break a;
3748
3756
  }
3749
3757
  b += z;
3750
3758
  "undefined" !== typeof f && (f += z);
3751
3759
  }
3752
- G = b;
3760
+ B = b;
3753
3761
  }
3754
- D[d >> 2] = G;
3762
+ E[d >> 2] = B;
3755
3763
  return 0;
3756
3764
  } catch (C) {
3757
- if ("undefined" == typeof $b || "ErrnoError" !== C.name) {
3765
+ if ("undefined" == typeof ac || "ErrnoError" !== C.name) {
3758
3766
  throw C;
3759
3767
  }
3760
3768
  return C.Z;
3761
3769
  }
3762
- }, glBindFramebuffer:Pd, glGetIntegerv:Xd, invoke_ii:qe, invoke_iii:re, invoke_iiii:se, invoke_iiiii:te, invoke_iiiiii:ue, invoke_iiiiiii:ve, invoke_iiiiiiiiii:we, invoke_v:xe, invoke_vi:ye, invoke_vii:ze, invoke_viii:Ae, invoke_viiii:Be, invoke_viiiiii:Ce, invoke_viiiiiii:De, invoke_viiiiiiii:Ee, strftime_l:(a, b, c, d) => ke(a, b, c, d)};
3770
+ }, glBindFramebuffer:Qd, glGetIntegerv:Yd, invoke_ii:re, invoke_iii:se, invoke_iiii:te, invoke_iiiii:ue, invoke_iiiiii:ve, invoke_iiiiiii:we, invoke_iiiiiiiiii:xe, invoke_v:ye, invoke_vi:ze, invoke_vii:Ae, invoke_viii:Be, invoke_viiii:Ce, invoke_viiiiii:De, invoke_viiiiiii:Ee, invoke_viiiiiiii:Fe, strftime_l:(a, b, c, d) => le(a, b, c, d)};
3763
3771
  (function() {
3764
3772
  function a(c) {
3765
- p = c = c.exports;
3766
- xa = p.memory;
3773
+ m = c = c.exports;
3774
+ xa = m.memory;
3767
3775
  Ba();
3768
- Ca = p.__indirect_function_table;
3769
- Ea.unshift(p.__wasm_call_ctors);
3776
+ Ca = m.__indirect_function_table;
3777
+ Ea.unshift(m.__wasm_call_ctors);
3770
3778
  Ha--;
3771
- m.monitorRunDependencies && m.monitorRunDependencies(Ha);
3779
+ l.monitorRunDependencies && l.monitorRunDependencies(Ha);
3772
3780
  if (0 == Ha && (null !== Ia && (clearInterval(Ia), Ia = null), Ja)) {
3773
3781
  var d = Ja;
3774
3782
  Ja = null;
@@ -3776,12 +3784,12 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3776
3784
  }
3777
3785
  return c;
3778
3786
  }
3779
- var b = {env:Fe, wasi_snapshot_preview1:Fe,};
3787
+ var b = {env:Ge, wasi_snapshot_preview1:Ge,};
3780
3788
  Ha++;
3781
- m.monitorRunDependencies && m.monitorRunDependencies(Ha);
3782
- if (m.instantiateWasm) {
3789
+ l.monitorRunDependencies && l.monitorRunDependencies(Ha);
3790
+ if (l.instantiateWasm) {
3783
3791
  try {
3784
- return m.instantiateWasm(b, a);
3792
+ return l.instantiateWasm(b, a);
3785
3793
  } catch (c) {
3786
3794
  ua("Module.instantiateWasm callback failed with error: " + c), ba(c);
3787
3795
  }
@@ -3791,30 +3799,30 @@ var Fe = {__syscall_fcntl64:function(a, b, c) {
3791
3799
  }).catch(ba);
3792
3800
  return {};
3793
3801
  })();
3794
- var tc = a => (tc = p.free)(a), Yd = a => (Yd = p.malloc)(a), Ta = m._ma_device__on_notification_unlocked = a => (Ta = m._ma_device__on_notification_unlocked = p.ma_device__on_notification_unlocked)(a);
3795
- m._ma_malloc_emscripten = (a, b) => (m._ma_malloc_emscripten = p.ma_malloc_emscripten)(a, b);
3796
- m._ma_free_emscripten = (a, b) => (m._ma_free_emscripten = p.ma_free_emscripten)(a, b);
3797
- var Ua = m._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => (Ua = m._ma_device_process_pcm_frames_capture__webaudio = p.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), Va = m._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (Va = m._ma_device_process_pcm_frames_playback__webaudio = p.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), pe = () => (pe = p.__errno_location)(), sc = a => (sc = p.__getTypeName)(a);
3798
- m.__embind_initialize_bindings = () => (m.__embind_initialize_bindings = p._embind_initialize_bindings)();
3799
- var ub = (a, b) => (ub = p.emscripten_builtin_memalign)(a, b), X = (a, b) => (X = p.setThrew)(a, b), Y = () => (Y = p.stackSave)(), Z = a => (Z = p.stackRestore)(a);
3800
- m.dynCall_iiiij = (a, b, c, d, e, f) => (m.dynCall_iiiij = p.dynCall_iiiij)(a, b, c, d, e, f);
3801
- m.dynCall_viiij = (a, b, c, d, e, f) => (m.dynCall_viiij = p.dynCall_viiij)(a, b, c, d, e, f);
3802
- m.dynCall_iiij = (a, b, c, d, e) => (m.dynCall_iiij = p.dynCall_iiij)(a, b, c, d, e);
3803
- m.dynCall_viij = (a, b, c, d, e) => (m.dynCall_viij = p.dynCall_viij)(a, b, c, d, e);
3804
- m.dynCall_iiji = (a, b, c, d, e) => (m.dynCall_iiji = p.dynCall_iiji)(a, b, c, d, e);
3805
- m.dynCall_jiji = (a, b, c, d, e) => (m.dynCall_jiji = p.dynCall_jiji)(a, b, c, d, e);
3806
- m.dynCall_iiiji = (a, b, c, d, e, f) => (m.dynCall_iiiji = p.dynCall_iiiji)(a, b, c, d, e, f);
3807
- m.dynCall_iij = (a, b, c, d) => (m.dynCall_iij = p.dynCall_iij)(a, b, c, d);
3808
- m.dynCall_jii = (a, b, c) => (m.dynCall_jii = p.dynCall_jii)(a, b, c);
3809
- m.dynCall_viiiiij = (a, b, c, d, e, f, g, k) => (m.dynCall_viiiiij = p.dynCall_viiiiij)(a, b, c, d, e, f, g, k);
3810
- m.dynCall_viji = (a, b, c, d, e) => (m.dynCall_viji = p.dynCall_viji)(a, b, c, d, e);
3811
- m.dynCall_ji = (a, b) => (m.dynCall_ji = p.dynCall_ji)(a, b);
3812
- m.dynCall_vij = (a, b, c, d) => (m.dynCall_vij = p.dynCall_vij)(a, b, c, d);
3813
- m.dynCall_viijii = (a, b, c, d, e, f, g) => (m.dynCall_viijii = p.dynCall_viijii)(a, b, c, d, e, f, g);
3814
- m.dynCall_iiiiij = (a, b, c, d, e, f, g) => (m.dynCall_iiiiij = p.dynCall_iiiiij)(a, b, c, d, e, f, g);
3815
- m.dynCall_iiiiijj = (a, b, c, d, e, f, g, k, q) => (m.dynCall_iiiiijj = p.dynCall_iiiiijj)(a, b, c, d, e, f, g, k, q);
3816
- m.dynCall_iiiiiijj = (a, b, c, d, e, f, g, k, q, n) => (m.dynCall_iiiiiijj = p.dynCall_iiiiiijj)(a, b, c, d, e, f, g, k, q, n);
3817
- function qe(a, b) {
3802
+ var uc = a => (uc = m.free)(a), Zd = a => (Zd = m.malloc)(a), Ta = l._ma_device__on_notification_unlocked = a => (Ta = l._ma_device__on_notification_unlocked = m.ma_device__on_notification_unlocked)(a);
3803
+ l._ma_malloc_emscripten = (a, b) => (l._ma_malloc_emscripten = m.ma_malloc_emscripten)(a, b);
3804
+ l._ma_free_emscripten = (a, b) => (l._ma_free_emscripten = m.ma_free_emscripten)(a, b);
3805
+ var Ua = l._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => (Ua = l._ma_device_process_pcm_frames_capture__webaudio = m.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), Va = l._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (Va = l._ma_device_process_pcm_frames_playback__webaudio = m.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), qe = () => (qe = m.__errno_location)(), tc = a => (tc = m.__getTypeName)(a);
3806
+ l.__embind_initialize_bindings = () => (l.__embind_initialize_bindings = m._embind_initialize_bindings)();
3807
+ var vb = (a, b) => (vb = m.emscripten_builtin_memalign)(a, b), X = (a, b) => (X = m.setThrew)(a, b), Y = () => (Y = m.stackSave)(), Z = a => (Z = m.stackRestore)(a);
3808
+ l.dynCall_iiiij = (a, b, c, d, e, f) => (l.dynCall_iiiij = m.dynCall_iiiij)(a, b, c, d, e, f);
3809
+ l.dynCall_viiij = (a, b, c, d, e, f) => (l.dynCall_viiij = m.dynCall_viiij)(a, b, c, d, e, f);
3810
+ l.dynCall_iiij = (a, b, c, d, e) => (l.dynCall_iiij = m.dynCall_iiij)(a, b, c, d, e);
3811
+ l.dynCall_viij = (a, b, c, d, e) => (l.dynCall_viij = m.dynCall_viij)(a, b, c, d, e);
3812
+ l.dynCall_iiji = (a, b, c, d, e) => (l.dynCall_iiji = m.dynCall_iiji)(a, b, c, d, e);
3813
+ l.dynCall_jiji = (a, b, c, d, e) => (l.dynCall_jiji = m.dynCall_jiji)(a, b, c, d, e);
3814
+ l.dynCall_iiiji = (a, b, c, d, e, f) => (l.dynCall_iiiji = m.dynCall_iiiji)(a, b, c, d, e, f);
3815
+ l.dynCall_iij = (a, b, c, d) => (l.dynCall_iij = m.dynCall_iij)(a, b, c, d);
3816
+ l.dynCall_jii = (a, b, c) => (l.dynCall_jii = m.dynCall_jii)(a, b, c);
3817
+ l.dynCall_viiiiij = (a, b, c, d, e, f, g, k) => (l.dynCall_viiiiij = m.dynCall_viiiiij)(a, b, c, d, e, f, g, k);
3818
+ l.dynCall_viji = (a, b, c, d, e) => (l.dynCall_viji = m.dynCall_viji)(a, b, c, d, e);
3819
+ l.dynCall_ji = (a, b) => (l.dynCall_ji = m.dynCall_ji)(a, b);
3820
+ l.dynCall_vij = (a, b, c, d) => (l.dynCall_vij = m.dynCall_vij)(a, b, c, d);
3821
+ l.dynCall_viijii = (a, b, c, d, e, f, g) => (l.dynCall_viijii = m.dynCall_viijii)(a, b, c, d, e, f, g);
3822
+ l.dynCall_iiiiij = (a, b, c, d, e, f, g) => (l.dynCall_iiiiij = m.dynCall_iiiiij)(a, b, c, d, e, f, g);
3823
+ l.dynCall_iiiiijj = (a, b, c, d, e, f, g, k, p) => (l.dynCall_iiiiijj = m.dynCall_iiiiijj)(a, b, c, d, e, f, g, k, p);
3824
+ l.dynCall_iiiiiijj = (a, b, c, d, e, f, g, k, p, n) => (l.dynCall_iiiiiijj = m.dynCall_iiiiiijj)(a, b, c, d, e, f, g, k, p, n);
3825
+ function re(a, b) {
3818
3826
  var c = Y();
3819
3827
  try {
3820
3828
  return Q(a)(b);
@@ -3826,7 +3834,7 @@ function qe(a, b) {
3826
3834
  X(1, 0);
3827
3835
  }
3828
3836
  }
3829
- function ze(a, b, c) {
3837
+ function Ae(a, b, c) {
3830
3838
  var d = Y();
3831
3839
  try {
3832
3840
  Q(a)(b, c);
@@ -3838,7 +3846,7 @@ function ze(a, b, c) {
3838
3846
  X(1, 0);
3839
3847
  }
3840
3848
  }
3841
- function ye(a, b) {
3849
+ function ze(a, b) {
3842
3850
  var c = Y();
3843
3851
  try {
3844
3852
  Q(a)(b);
@@ -3850,7 +3858,7 @@ function ye(a, b) {
3850
3858
  X(1, 0);
3851
3859
  }
3852
3860
  }
3853
- function se(a, b, c, d) {
3861
+ function te(a, b, c, d) {
3854
3862
  var e = Y();
3855
3863
  try {
3856
3864
  return Q(a)(b, c, d);
@@ -3862,7 +3870,7 @@ function se(a, b, c, d) {
3862
3870
  X(1, 0);
3863
3871
  }
3864
3872
  }
3865
- function Ae(a, b, c, d) {
3873
+ function Be(a, b, c, d) {
3866
3874
  var e = Y();
3867
3875
  try {
3868
3876
  Q(a)(b, c, d);
@@ -3874,7 +3882,7 @@ function Ae(a, b, c, d) {
3874
3882
  X(1, 0);
3875
3883
  }
3876
3884
  }
3877
- function Be(a, b, c, d, e) {
3885
+ function Ce(a, b, c, d, e) {
3878
3886
  var f = Y();
3879
3887
  try {
3880
3888
  Q(a)(b, c, d, e);
@@ -3886,7 +3894,7 @@ function Be(a, b, c, d, e) {
3886
3894
  X(1, 0);
3887
3895
  }
3888
3896
  }
3889
- function xe(a) {
3897
+ function ye(a) {
3890
3898
  var b = Y();
3891
3899
  try {
3892
3900
  Q(a)();
@@ -3898,19 +3906,19 @@ function xe(a) {
3898
3906
  X(1, 0);
3899
3907
  }
3900
3908
  }
3901
- function ve(a, b, c, d, e, f, g) {
3909
+ function we(a, b, c, d, e, f, g) {
3902
3910
  var k = Y();
3903
3911
  try {
3904
3912
  return Q(a)(b, c, d, e, f, g);
3905
- } catch (q) {
3913
+ } catch (p) {
3906
3914
  Z(k);
3907
- if (q !== q + 0) {
3908
- throw q;
3915
+ if (p !== p + 0) {
3916
+ throw p;
3909
3917
  }
3910
3918
  X(1, 0);
3911
3919
  }
3912
3920
  }
3913
- function re(a, b, c) {
3921
+ function se(a, b, c) {
3914
3922
  var d = Y();
3915
3923
  try {
3916
3924
  return Q(a)(b, c);
@@ -3922,31 +3930,31 @@ function re(a, b, c) {
3922
3930
  X(1, 0);
3923
3931
  }
3924
3932
  }
3925
- function De(a, b, c, d, e, f, g, k) {
3926
- var q = Y();
3933
+ function Ee(a, b, c, d, e, f, g, k) {
3934
+ var p = Y();
3927
3935
  try {
3928
3936
  Q(a)(b, c, d, e, f, g, k);
3929
3937
  } catch (n) {
3930
- Z(q);
3938
+ Z(p);
3931
3939
  if (n !== n + 0) {
3932
3940
  throw n;
3933
3941
  }
3934
3942
  X(1, 0);
3935
3943
  }
3936
3944
  }
3937
- function we(a, b, c, d, e, f, g, k, q, n) {
3945
+ function xe(a, b, c, d, e, f, g, k, p, n) {
3938
3946
  var t = Y();
3939
3947
  try {
3940
- return Q(a)(b, c, d, e, f, g, k, q, n);
3941
- } catch (v) {
3948
+ return Q(a)(b, c, d, e, f, g, k, p, n);
3949
+ } catch (w) {
3942
3950
  Z(t);
3943
- if (v !== v + 0) {
3944
- throw v;
3951
+ if (w !== w + 0) {
3952
+ throw w;
3945
3953
  }
3946
3954
  X(1, 0);
3947
3955
  }
3948
3956
  }
3949
- function te(a, b, c, d, e) {
3957
+ function ue(a, b, c, d, e) {
3950
3958
  var f = Y();
3951
3959
  try {
3952
3960
  return Q(a)(b, c, d, e);
@@ -3958,10 +3966,10 @@ function te(a, b, c, d, e) {
3958
3966
  X(1, 0);
3959
3967
  }
3960
3968
  }
3961
- function Ee(a, b, c, d, e, f, g, k, q) {
3969
+ function Fe(a, b, c, d, e, f, g, k, p) {
3962
3970
  var n = Y();
3963
3971
  try {
3964
- Q(a)(b, c, d, e, f, g, k, q);
3972
+ Q(a)(b, c, d, e, f, g, k, p);
3965
3973
  } catch (t) {
3966
3974
  Z(n);
3967
3975
  if (t !== t + 0) {
@@ -3970,7 +3978,7 @@ function Ee(a, b, c, d, e, f, g, k, q) {
3970
3978
  X(1, 0);
3971
3979
  }
3972
3980
  }
3973
- function ue(a, b, c, d, e, f) {
3981
+ function ve(a, b, c, d, e, f) {
3974
3982
  var g = Y();
3975
3983
  try {
3976
3984
  return Q(a)(b, c, d, e, f);
@@ -3982,36 +3990,36 @@ function ue(a, b, c, d, e, f) {
3982
3990
  X(1, 0);
3983
3991
  }
3984
3992
  }
3985
- function Ce(a, b, c, d, e, f, g) {
3993
+ function De(a, b, c, d, e, f, g) {
3986
3994
  var k = Y();
3987
3995
  try {
3988
3996
  Q(a)(b, c, d, e, f, g);
3989
- } catch (q) {
3997
+ } catch (p) {
3990
3998
  Z(k);
3991
- if (q !== q + 0) {
3992
- throw q;
3999
+ if (p !== p + 0) {
4000
+ throw p;
3993
4001
  }
3994
4002
  X(1, 0);
3995
4003
  }
3996
4004
  }
3997
- var Ge;
3998
- Ja = function He() {
3999
- Ge || Ie();
4000
- Ge || (Ja = He);
4005
+ var He;
4006
+ Ja = function Ie() {
4007
+ He || Je();
4008
+ He || (Ja = Ie);
4001
4009
  };
4002
- function Ie() {
4010
+ function Je() {
4003
4011
  function a() {
4004
- if (!Ge && (Ge = !0, m.calledRun = !0, !ya)) {
4005
- m.noFSInit || Xb || (Xb = !0, Wb(), m.stdin = m.stdin, m.stdout = m.stdout, m.stderr = m.stderr, m.stdin ? Zb("stdin", m.stdin) : Sb("/dev/tty", "/dev/stdin"), m.stdout ? Zb("stdout", null, m.stdout) : Sb("/dev/tty", "/dev/stdout"), m.stderr ? Zb("stderr", null, m.stderr) : Sb("/dev/tty1", "/dev/stderr"), Ub("/dev/stdin", 0), Ub("/dev/stdout", 1), Ub("/dev/stderr", 1));
4006
- Bb = !1;
4012
+ if (!He && (He = !0, l.calledRun = !0, !ya)) {
4013
+ l.noFSInit || Yb || (Yb = !0, Xb(), l.stdin = l.stdin, l.stdout = l.stdout, l.stderr = l.stderr, l.stdin ? $b("stdin", l.stdin) : Tb("/dev/tty", "/dev/stdin"), l.stdout ? $b("stdout", null, l.stdout) : Tb("/dev/tty", "/dev/stdout"), l.stderr ? $b("stderr", null, l.stderr) : Tb("/dev/tty1", "/dev/stderr"), Vb("/dev/stdin", 0), Vb("/dev/stdout", 1), Vb("/dev/stderr", 1));
4014
+ Cb = !1;
4007
4015
  Xa(Ea);
4008
- aa(m);
4009
- if (m.onRuntimeInitialized) {
4010
- m.onRuntimeInitialized();
4016
+ aa(l);
4017
+ if (l.onRuntimeInitialized) {
4018
+ l.onRuntimeInitialized();
4011
4019
  }
4012
- if (m.postRun) {
4013
- for ("function" == typeof m.postRun && (m.postRun = [m.postRun]); m.postRun.length;) {
4014
- var b = m.postRun.shift();
4020
+ if (l.postRun) {
4021
+ for ("function" == typeof l.postRun && (l.postRun = [l.postRun]); l.postRun.length;) {
4022
+ var b = l.postRun.shift();
4015
4023
  Fa.unshift(b);
4016
4024
  }
4017
4025
  }
@@ -4019,26 +4027,26 @@ function Ie() {
4019
4027
  }
4020
4028
  }
4021
4029
  if (!(0 < Ha)) {
4022
- if (m.preRun) {
4023
- for ("function" == typeof m.preRun && (m.preRun = [m.preRun]); m.preRun.length;) {
4030
+ if (l.preRun) {
4031
+ for ("function" == typeof l.preRun && (l.preRun = [l.preRun]); l.preRun.length;) {
4024
4032
  Ga();
4025
4033
  }
4026
4034
  }
4027
4035
  Xa(Da);
4028
- 0 < Ha || (m.setStatus ? (m.setStatus("Running..."), setTimeout(function() {
4036
+ 0 < Ha || (l.setStatus ? (l.setStatus("Running..."), setTimeout(function() {
4029
4037
  setTimeout(function() {
4030
- m.setStatus("");
4038
+ l.setStatus("");
4031
4039
  }, 1);
4032
4040
  a();
4033
4041
  }, 1)) : a());
4034
4042
  }
4035
4043
  }
4036
- if (m.preInit) {
4037
- for ("function" == typeof m.preInit && (m.preInit = [m.preInit]); 0 < m.preInit.length;) {
4038
- m.preInit.pop()();
4044
+ if (l.preInit) {
4045
+ for ("function" == typeof l.preInit && (l.preInit = [l.preInit]); 0 < l.preInit.length;) {
4046
+ l.preInit.pop()();
4039
4047
  }
4040
4048
  }
4041
- Ie();
4049
+ Je();
4042
4050
 
4043
4051
 
4044
4052
 
@@ -4053,7 +4061,7 @@ Ie();
4053
4061
  /* 2 */
4054
4062
  /***/ ((module) => {
4055
4063
 
4056
- module.exports = JSON.parse('{"name":"@rive-app/webgl","version":"2.21.6","description":"Rive\'s webgl 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.wasm","rive_fallback.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
4064
+ module.exports = JSON.parse('{"name":"@rive-app/webgl","version":"2.22.0","description":"Rive\'s webgl 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.wasm","rive_fallback.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
4057
4065
 
4058
4066
  /***/ }),
4059
4067
  /* 3 */
@@ -4597,6 +4605,7 @@ var Fit;
4597
4605
  Fit["FitHeight"] = "fitHeight";
4598
4606
  Fit["None"] = "none";
4599
4607
  Fit["ScaleDown"] = "scaleDown";
4608
+ Fit["Layout"] = "layout";
4600
4609
  })(Fit || (Fit = {}));
4601
4610
  // Alignment options for the canvas
4602
4611
  var Alignment;
@@ -4614,13 +4623,14 @@ var Alignment;
4614
4623
  // Alignment options for Rive animations in a HTML canvas
4615
4624
  var Layout = /** @class */ (function () {
4616
4625
  function Layout(params) {
4617
- var _a, _b, _c, _d, _e, _f;
4626
+ var _a, _b, _c, _d, _e, _f, _g;
4618
4627
  this.fit = (_a = params === null || params === void 0 ? void 0 : params.fit) !== null && _a !== void 0 ? _a : Fit.Contain;
4619
4628
  this.alignment = (_b = params === null || params === void 0 ? void 0 : params.alignment) !== null && _b !== void 0 ? _b : Alignment.Center;
4620
- this.minX = (_c = params === null || params === void 0 ? void 0 : params.minX) !== null && _c !== void 0 ? _c : 0;
4621
- this.minY = (_d = params === null || params === void 0 ? void 0 : params.minY) !== null && _d !== void 0 ? _d : 0;
4622
- this.maxX = (_e = params === null || params === void 0 ? void 0 : params.maxX) !== null && _e !== void 0 ? _e : 0;
4623
- this.maxY = (_f = params === null || params === void 0 ? void 0 : params.maxY) !== null && _f !== void 0 ? _f : 0;
4629
+ this.layoutScaleFactor = (_c = params === null || params === void 0 ? void 0 : params.layoutScaleFactor) !== null && _c !== void 0 ? _c : 1;
4630
+ this.minX = (_d = params === null || params === void 0 ? void 0 : params.minX) !== null && _d !== void 0 ? _d : 0;
4631
+ this.minY = (_e = params === null || params === void 0 ? void 0 : params.minY) !== null && _e !== void 0 ? _e : 0;
4632
+ this.maxX = (_f = params === null || params === void 0 ? void 0 : params.maxX) !== null && _f !== void 0 ? _f : 0;
4633
+ this.maxY = (_g = params === null || params === void 0 ? void 0 : params.maxY) !== null && _g !== void 0 ? _g : 0;
4624
4634
  }
4625
4635
  // Alternative constructor to build a Layout from an interface/object
4626
4636
  Layout.new = function (_a) {
@@ -4632,10 +4642,11 @@ var Layout = /** @class */ (function () {
4632
4642
  * Makes a copy of the layout, replacing any specified parameters
4633
4643
  */
4634
4644
  Layout.prototype.copyWith = function (_a) {
4635
- var fit = _a.fit, alignment = _a.alignment, minX = _a.minX, minY = _a.minY, maxX = _a.maxX, maxY = _a.maxY;
4645
+ var fit = _a.fit, alignment = _a.alignment, layoutScaleFactor = _a.layoutScaleFactor, minX = _a.minX, minY = _a.minY, maxX = _a.maxX, maxY = _a.maxY;
4636
4646
  return new Layout({
4637
4647
  fit: fit !== null && fit !== void 0 ? fit : this.fit,
4638
4648
  alignment: alignment !== null && alignment !== void 0 ? alignment : this.alignment,
4649
+ layoutScaleFactor: layoutScaleFactor !== null && layoutScaleFactor !== void 0 ? layoutScaleFactor : this.layoutScaleFactor,
4639
4650
  minX: minX !== null && minX !== void 0 ? minX : this.minX,
4640
4651
  minY: minY !== null && minY !== void 0 ? minY : this.minY,
4641
4652
  maxX: maxX !== null && maxX !== void 0 ? maxX : this.maxX,
@@ -4659,6 +4670,8 @@ var Layout = /** @class */ (function () {
4659
4670
  fit = rive.Fit.fitHeight;
4660
4671
  else if (this.fit === Fit.ScaleDown)
4661
4672
  fit = rive.Fit.scaleDown;
4673
+ else if (this.fit === Fit.Layout)
4674
+ fit = rive.Fit.layout;
4662
4675
  else
4663
4676
  fit = rive.Fit.none;
4664
4677
  this.cachedRuntimeFit = fit;
@@ -5777,6 +5790,7 @@ var Rive = /** @class */ (function () {
5777
5790
  this.enableRiveAssetCDN = true;
5778
5791
  // Keep a local value of the set volume to update it asynchronously
5779
5792
  this._volume = 1;
5793
+ this._devicePixelRatioUsed = 1;
5780
5794
  // Whether the canvas element's size is 0
5781
5795
  this._hasZeroSize = false;
5782
5796
  // Durations to generate a frame for the last second. Used for performance profiling.
@@ -6203,7 +6217,7 @@ var Rive = /** @class */ (function () {
6203
6217
  minY: _layout.minY,
6204
6218
  maxX: _layout.maxX,
6205
6219
  maxY: _layout.maxY,
6206
- }, artboard.bounds);
6220
+ }, artboard.bounds, this._devicePixelRatioUsed * _layout.layoutScaleFactor);
6207
6221
  };
6208
6222
  Object.defineProperty(Rive.prototype, "fps", {
6209
6223
  get: function () {
@@ -6456,10 +6470,16 @@ var Rive = /** @class */ (function () {
6456
6470
  if (this.canvas instanceof HTMLCanvasElement && !!window) {
6457
6471
  var _a = this.canvas.getBoundingClientRect(), width = _a.width, height = _a.height;
6458
6472
  var dpr = customDevicePixelRatio || window.devicePixelRatio || 1;
6473
+ this._devicePixelRatioUsed = dpr;
6459
6474
  this.canvas.width = dpr * width;
6460
6475
  this.canvas.height = dpr * height;
6461
6476
  this.startRendering();
6462
6477
  this.resizeToCanvas();
6478
+ if (this.layout.fit === Fit.Layout) {
6479
+ var scaleFactor = this._layout.layoutScaleFactor;
6480
+ this.artboard.width = width / scaleFactor;
6481
+ this.artboard.height = height / scaleFactor;
6482
+ }
6463
6483
  }
6464
6484
  };
6465
6485
  Object.defineProperty(Rive.prototype, "source", {