@rive-app/webgl2-advanced 2.23.3 → 2.23.5

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.
@@ -196,7 +196,7 @@ n.onRuntimeInitialized = function() {
196
196
  }
197
197
  q = Math.min(q, k);
198
198
  q = Math.min(v, k);
199
- B.sort((Z, rb) => rb.Ia - Z.Ia);
199
+ B.sort((Y, rb) => rb.Ia - Y.Ia);
200
200
  y = new n.DynamicRectanizer(k);
201
201
  for (E = 0; E < B.length;) {
202
202
  y.reset(q, v);
@@ -221,13 +221,13 @@ n.onRuntimeInitialized = function() {
221
221
  for (H = E; H < D; ++H) {
222
222
  F = B[H];
223
223
  d.saveClipRect(F.ra, F.sa, F.ra + F.ea, F.sa + F.da);
224
- let Z = new n.Mat2D();
225
- Z.xx = F.ea / F.F.width;
226
- Z.yy = F.da / F.F.height;
227
- Z.xy = Z.yx = 0;
228
- Z.tx = F.ra;
229
- Z.ty = F.sa;
230
- d.transform(Z);
224
+ let Y = new n.Mat2D();
225
+ Y.xx = F.ea / F.F.width;
226
+ Y.yy = F.da / F.F.height;
227
+ Y.xy = Y.yx = 0;
228
+ Y.tx = F.ra;
229
+ Y.ty = F.sa;
230
+ d.transform(Y);
231
231
  for (const rb of F.S) {
232
232
  rb();
233
233
  }
@@ -315,70 +315,70 @@ if (ma || na) {
315
315
  d.send(null);
316
316
  };
317
317
  }
318
- var qa = n.print || console.log.bind(console), ra = n.printErr || console.error.bind(console);
318
+ var qa = n.print || console.log.bind(console), z = n.printErr || console.error.bind(console);
319
319
  Object.assign(n, ka);
320
320
  ka = null;
321
321
  n.thisProgram && (la = n.thisProgram);
322
- var sa;
323
- n.wasmBinary && (sa = n.wasmBinary);
322
+ var ra;
323
+ n.wasmBinary && (ra = n.wasmBinary);
324
324
  var noExitRuntime = n.noExitRuntime || !0;
325
- "object" != typeof WebAssembly && ta("no native wasm support detected");
326
- var ua, z, va = !1, A, C, G, wa, I, J, xa, ya;
327
- function za() {
328
- var a = ua.buffer;
329
- n.HEAP8 = A = new Int8Array(a);
330
- n.HEAP16 = G = new Int16Array(a);
331
- n.HEAP32 = I = new Int32Array(a);
332
- n.HEAPU8 = C = new Uint8Array(a);
333
- n.HEAPU16 = wa = new Uint16Array(a);
334
- n.HEAPU32 = J = new Uint32Array(a);
335
- n.HEAPF32 = xa = new Float32Array(a);
336
- n.HEAPF64 = ya = new Float64Array(a);
337
- }
338
- var Aa, Ba = [], Ca = [], Da = [];
339
- function Ea() {
325
+ "object" != typeof WebAssembly && sa("no native wasm support detected");
326
+ var ta, A, ua = !1, C, G, I, va, J, K, wa, xa;
327
+ function ya() {
328
+ var a = ta.buffer;
329
+ n.HEAP8 = C = new Int8Array(a);
330
+ n.HEAP16 = I = new Int16Array(a);
331
+ n.HEAP32 = J = new Int32Array(a);
332
+ n.HEAPU8 = G = new Uint8Array(a);
333
+ n.HEAPU16 = va = new Uint16Array(a);
334
+ n.HEAPU32 = K = new Uint32Array(a);
335
+ n.HEAPF32 = wa = new Float32Array(a);
336
+ n.HEAPF64 = xa = new Float64Array(a);
337
+ }
338
+ var za, Aa = [], Ba = [], Ca = [];
339
+ function Da() {
340
340
  var a = n.preRun.shift();
341
- Ba.unshift(a);
341
+ Aa.unshift(a);
342
342
  }
343
- var Fa = 0, Ga = null, Ha = null;
344
- function ta(a) {
343
+ var Ea = 0, Fa = null, Ga = null;
344
+ function sa(a) {
345
345
  if (n.onAbort) {
346
346
  n.onAbort(a);
347
347
  }
348
348
  a = "Aborted(" + a + ")";
349
- ra(a);
350
- va = !0;
349
+ z(a);
350
+ ua = !0;
351
351
  a = new WebAssembly.RuntimeError(a + ". Build with -sASSERTIONS for more info.");
352
352
  ba(a);
353
353
  throw a;
354
354
  }
355
- function Ia(a) {
355
+ function Ha(a) {
356
356
  return a.startsWith("data:application/octet-stream;base64,");
357
357
  }
358
- var Ja;
359
- Ja = "webgl2_advanced.wasm";
360
- if (!Ia(Ja)) {
361
- var Ka = Ja;
362
- Ja = n.locateFile ? n.locateFile(Ka, w) : w + Ka;
358
+ var Ia;
359
+ Ia = "webgl2_advanced.wasm";
360
+ if (!Ha(Ia)) {
361
+ var Ja = Ia;
362
+ Ia = n.locateFile ? n.locateFile(Ja, w) : w + Ja;
363
363
  }
364
- function La(a) {
365
- if (a == Ja && sa) {
366
- return new Uint8Array(sa);
364
+ function Ka(a) {
365
+ if (a == Ia && ra) {
366
+ return new Uint8Array(ra);
367
367
  }
368
368
  if (pa) {
369
369
  return pa(a);
370
370
  }
371
371
  throw "both async and sync fetching of the wasm failed";
372
372
  }
373
- function Ma(a) {
374
- if (!sa && (ma || na)) {
373
+ function La(a) {
374
+ if (!ra && (ma || na)) {
375
375
  if ("function" == typeof fetch && !a.startsWith("file://")) {
376
376
  return fetch(a, {credentials:"same-origin"}).then(b => {
377
377
  if (!b.ok) {
378
378
  throw "failed to load wasm binary file at '" + a + "'";
379
379
  }
380
380
  return b.arrayBuffer();
381
- }).catch(() => La(a));
381
+ }).catch(() => Ka(a));
382
382
  }
383
383
  if (oa) {
384
384
  return new Promise((b, c) => {
@@ -386,23 +386,23 @@ function Ma(a) {
386
386
  });
387
387
  }
388
388
  }
389
- return Promise.resolve().then(() => La(a));
389
+ return Promise.resolve().then(() => Ka(a));
390
390
  }
391
- function Na(a, b, c) {
392
- return Ma(a).then(d => WebAssembly.instantiate(d, b)).then(d => d).then(c, d => {
393
- ra("failed to asynchronously prepare wasm: " + d);
394
- ta(d);
391
+ function Ma(a, b, c) {
392
+ return La(a).then(d => WebAssembly.instantiate(d, b)).then(d => d).then(c, d => {
393
+ z("failed to asynchronously prepare wasm: " + d);
394
+ sa(d);
395
395
  });
396
396
  }
397
- function Oa(a, b) {
398
- var c = Ja;
399
- return sa || "function" != typeof WebAssembly.instantiateStreaming || Ia(c) || c.startsWith("file://") || "function" != typeof fetch ? Na(c, a, b) : fetch(c, {credentials:"same-origin"}).then(d => WebAssembly.instantiateStreaming(d, a).then(b, function(e) {
400
- ra("wasm streaming compile failed: " + e);
401
- ra("falling back to ArrayBuffer instantiation");
402
- return Na(c, a, b);
397
+ function Na(a, b) {
398
+ var c = Ia;
399
+ return ra || "function" != typeof WebAssembly.instantiateStreaming || Ha(c) || c.startsWith("file://") || "function" != typeof fetch ? Ma(c, a, b) : fetch(c, {credentials:"same-origin"}).then(d => WebAssembly.instantiateStreaming(d, a).then(b, function(e) {
400
+ z("wasm streaming compile failed: " + e);
401
+ z("falling back to ArrayBuffer instantiation");
402
+ return Ma(c, a, b);
403
403
  }));
404
404
  }
405
- var Pa, Qa, Ua = {488613:(a, b, c, d, e) => {
405
+ var Oa, Pa, Ta = {491140:(a, b, c, d, e) => {
406
406
  if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
407
407
  return 0;
408
408
  }
@@ -450,7 +450,7 @@ var Pa, Qa, Ua = {488613:(a, b, c, d, e) => {
450
450
  for (var g = 0; g < f.C.length; ++g) {
451
451
  var m = f.C[g];
452
452
  null != m && null != m.J && m.state === f.ha.rb && m.J.resume().then(() => {
453
- Ra(m.jb);
453
+ Qa(m.jb);
454
454
  }, p => {
455
455
  console.error("Failed to resume audiocontext", p);
456
456
  });
@@ -465,9 +465,9 @@ var Pa, Qa, Ua = {488613:(a, b, c, d, e) => {
465
465
  }
466
466
  window.h.Da += 1;
467
467
  return 1;
468
- }, 490791:() => {
468
+ }, 493318:() => {
469
469
  "undefined" !== typeof window.h && (--window.h.Da, 0 === window.h.Da && delete window.h);
470
- }, 490955:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 491059:() => {
470
+ }, 493482:() => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia, 493586:() => {
471
471
  try {
472
472
  var a = new (window.AudioContext || window.webkitAudioContext)(), b = a.sampleRate;
473
473
  a.close();
@@ -475,7 +475,7 @@ var Pa, Qa, Ua = {488613:(a, b, c, d, e) => {
475
475
  } catch (c) {
476
476
  return 0;
477
477
  }
478
- }, 491230:(a, b, c, d, e, f) => {
478
+ }, 493757:(a, b, c, d, e, f) => {
479
479
  if ("undefined" === typeof window.h) {
480
480
  return -1;
481
481
  }
@@ -489,7 +489,7 @@ var Pa, Qa, Ua = {488613:(a, b, c, d, e) => {
489
489
  g.Y = g.J.createScriptProcessor(d, c, b);
490
490
  g.Y.onaudioprocess = function(p) {
491
491
  if (null == g.wa || 0 == g.wa.length) {
492
- g.wa = new Float32Array(xa.buffer, e, d * b);
492
+ g.wa = new Float32Array(wa.buffer, e, d * b);
493
493
  }
494
494
  if (a == window.h.I.capture || a == window.h.I.La) {
495
495
  for (var l = 0; l < b; l += 1) {
@@ -497,10 +497,10 @@ var Pa, Qa, Ua = {488613:(a, b, c, d, e) => {
497
497
  u[x * b + l] = t[x];
498
498
  }
499
499
  }
500
- Sa(f, d, e);
500
+ Ra(f, d, e);
501
501
  }
502
502
  if (a == window.h.I.Ba || a == window.h.I.La) {
503
- for (Ta(f, d, e), l = 0; l < p.outputBuffer.numberOfChannels; ++l) {
503
+ for (Sa(f, d, e), l = 0; l < p.outputBuffer.numberOfChannels; ++l) {
504
504
  for (t = p.outputBuffer.getChannelData(l), u = g.wa, x = 0; x < d; x += 1) {
505
505
  t[x] = u[x * b + l];
506
506
  }
@@ -521,7 +521,7 @@ var Pa, Qa, Ua = {488613:(a, b, c, d, e) => {
521
521
  a == window.h.I.Ba && g.Y.connect(g.J.destination);
522
522
  g.jb = f;
523
523
  return window.h.lc(g);
524
- }, 494107:a => window.h.va(a).J.sampleRate, 494180:a => {
524
+ }, 496634:a => window.h.va(a).J.sampleRate, 496707:a => {
525
525
  a = window.h.va(a);
526
526
  void 0 !== a.Y && (a.Y.onaudioprocess = function() {
527
527
  }, a.Y.disconnect(), a.Y = void 0);
@@ -529,21 +529,21 @@ var Pa, Qa, Ua = {488613:(a, b, c, d, e) => {
529
529
  a.J.close();
530
530
  a.J = void 0;
531
531
  a.jb = void 0;
532
- }, 494580:a => {
532
+ }, 497107:a => {
533
533
  window.h.wb(a);
534
- }, 494630:a => {
534
+ }, 497157:a => {
535
535
  a = window.h.va(a);
536
536
  a.J.resume();
537
537
  a.state = window.h.ha.rb;
538
- }, 494769:a => {
538
+ }, 497296:a => {
539
539
  a = window.h.va(a);
540
540
  a.J.suspend();
541
541
  a.state = window.h.ha.stopped;
542
- }}, Va = a => {
542
+ }}, Ua = a => {
543
543
  for (; 0 < a.length;) {
544
544
  a.shift()(n);
545
545
  }
546
- }, Wa = (a, b) => {
546
+ }, Va = (a, b) => {
547
547
  for (var c = 0, d = a.length - 1; 0 <= d; d--) {
548
548
  var e = a[d];
549
549
  "." === e ? a.splice(d, 1) : ".." === e ? (a.splice(d, 1), c++) : c && (a.splice(d, 1), c--);
@@ -554,12 +554,12 @@ var Pa, Qa, Ua = {488613:(a, b, c, d, e) => {
554
554
  }
555
555
  }
556
556
  return a;
557
- }, Xa = a => {
557
+ }, Wa = a => {
558
558
  var b = "/" === a.charAt(0), c = "/" === a.substr(-1);
559
- (a = Wa(a.split("/").filter(d => !!d), !b).join("/")) || b || (a = ".");
559
+ (a = Va(a.split("/").filter(d => !!d), !b).join("/")) || b || (a = ".");
560
560
  a && c && (a += "/");
561
561
  return (b ? "/" : "") + a;
562
- }, Ya = a => {
562
+ }, Xa = a => {
563
563
  var b = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);
564
564
  a = b[0];
565
565
  b = b[1];
@@ -568,21 +568,21 @@ var Pa, Qa, Ua = {488613:(a, b, c, d, e) => {
568
568
  }
569
569
  b && (b = b.substr(0, b.length - 1));
570
570
  return a + b;
571
- }, Za = a => {
571
+ }, Ya = a => {
572
572
  if ("/" === a) {
573
573
  return "/";
574
574
  }
575
- a = Xa(a);
575
+ a = Wa(a);
576
576
  a = a.replace(/\/$/, "");
577
577
  var b = a.lastIndexOf("/");
578
578
  return -1 === b ? a : a.substr(b + 1);
579
- }, $a = () => {
579
+ }, Za = () => {
580
580
  if ("object" == typeof crypto && "function" == typeof crypto.getRandomValues) {
581
581
  return a => crypto.getRandomValues(a);
582
582
  }
583
- ta("initRandomDevice");
584
- }, ab = a => (ab = $a())(a);
585
- function bb() {
583
+ sa("initRandomDevice");
584
+ }, $a = a => ($a = Za())(a);
585
+ function ab() {
586
586
  for (var a = "", b = !1, c = arguments.length - 1; -1 <= c && !b; c--) {
587
587
  b = 0 <= c ? arguments[c] : "/";
588
588
  if ("string" != typeof b) {
@@ -594,16 +594,16 @@ function bb() {
594
594
  a = b + "/" + a;
595
595
  b = "/" === b.charAt(0);
596
596
  }
597
- a = Wa(a.split("/").filter(d => !!d), !b).join("/");
597
+ a = Va(a.split("/").filter(d => !!d), !b).join("/");
598
598
  return (b ? "/" : "") + a || ".";
599
599
  }
600
- var cb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, K = (a, b, c) => {
600
+ var bb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, L = (a, b, c) => {
601
601
  var d = b + c;
602
602
  for (c = b; a[c] && !(c >= d);) {
603
603
  ++c;
604
604
  }
605
- if (16 < c - b && a.buffer && cb) {
606
- return cb.decode(a.subarray(b, c));
605
+ if (16 < c - b && a.buffer && bb) {
606
+ return bb.decode(a.subarray(b, c));
607
607
  }
608
608
  for (d = ""; b < c;) {
609
609
  var e = a[b++];
@@ -621,13 +621,13 @@ var cb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, K
621
621
  }
622
622
  }
623
623
  return d;
624
- }, db = [], eb = a => {
624
+ }, cb = [], db = a => {
625
625
  for (var b = 0, c = 0; c < a.length; ++c) {
626
626
  var d = a.charCodeAt(c);
627
627
  127 >= d ? b++ : 2047 >= d ? b += 2 : 55296 <= d && 57343 >= d ? (b += 4, ++c) : b += 3;
628
628
  }
629
629
  return b;
630
- }, fb = (a, b, c, d) => {
630
+ }, eb = (a, b, c, d) => {
631
631
  if (!(0 < d)) {
632
632
  return 0;
633
633
  }
@@ -671,21 +671,21 @@ var cb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, K
671
671
  b[c] = 0;
672
672
  return c - e;
673
673
  };
674
- function gb(a, b) {
675
- var c = Array(eb(a) + 1);
676
- a = fb(a, c, 0, c.length);
674
+ function fb(a, b) {
675
+ var c = Array(db(a) + 1);
676
+ a = eb(a, c, 0, c.length);
677
677
  b && (c.length = a);
678
678
  return c;
679
679
  }
680
- var hb = [];
681
- function ib(a, b) {
682
- hb[a] = {input:[], D:[], U:b};
683
- jb(a, kb);
680
+ var gb = [];
681
+ function hb(a, b) {
682
+ gb[a] = {input:[], D:[], U:b};
683
+ ib(a, jb);
684
684
  }
685
- var kb = {open:function(a) {
686
- var b = hb[a.node.Ca];
685
+ var jb = {open:function(a) {
686
+ var b = gb[a.node.Ca];
687
687
  if (!b) {
688
- throw new L(43);
688
+ throw new M(43);
689
689
  }
690
690
  a.s = b;
691
691
  a.seekable = !1;
@@ -695,16 +695,16 @@ var kb = {open:function(a) {
695
695
  a.s.U.ua(a.s);
696
696
  }, read:function(a, b, c, d) {
697
697
  if (!a.s || !a.s.U.cb) {
698
- throw new L(60);
698
+ throw new M(60);
699
699
  }
700
700
  for (var e = 0, f = 0; f < d; f++) {
701
701
  try {
702
702
  var g = a.s.U.cb(a.s);
703
703
  } catch (m) {
704
- throw new L(29);
704
+ throw new M(29);
705
705
  }
706
706
  if (void 0 === g && 0 === e) {
707
- throw new L(6);
707
+ throw new M(6);
708
708
  }
709
709
  if (null === g || void 0 === g) {
710
710
  break;
@@ -716,59 +716,59 @@ var kb = {open:function(a) {
716
716
  return e;
717
717
  }, write:function(a, b, c, d) {
718
718
  if (!a.s || !a.s.U.Oa) {
719
- throw new L(60);
719
+ throw new M(60);
720
720
  }
721
721
  try {
722
722
  for (var e = 0; e < d; e++) {
723
723
  a.s.U.Oa(a.s, b[c + e]);
724
724
  }
725
725
  } catch (f) {
726
- throw new L(29);
726
+ throw new M(29);
727
727
  }
728
728
  d && (a.node.timestamp = Date.now());
729
729
  return e;
730
- },}, lb = {cb:function() {
730
+ },}, kb = {cb:function() {
731
731
  a: {
732
- if (!db.length) {
732
+ if (!cb.length) {
733
733
  var a = null;
734
734
  "undefined" != typeof window && "function" == typeof window.prompt ? (a = window.prompt("Input: "), null !== a && (a += "\n")) : "function" == typeof readline && (a = readline(), null !== a && (a += "\n"));
735
735
  if (!a) {
736
736
  a = null;
737
737
  break a;
738
738
  }
739
- db = gb(a, !0);
739
+ cb = fb(a, !0);
740
740
  }
741
- a = db.shift();
741
+ a = cb.shift();
742
742
  }
743
743
  return a;
744
744
  }, Oa:function(a, b) {
745
- null === b || 10 === b ? (qa(K(a.D, 0)), a.D = []) : 0 != b && a.D.push(b);
745
+ null === b || 10 === b ? (qa(L(a.D, 0)), a.D = []) : 0 != b && a.D.push(b);
746
746
  }, ua:function(a) {
747
- a.D && 0 < a.D.length && (qa(K(a.D, 0)), a.D = []);
747
+ a.D && 0 < a.D.length && (qa(L(a.D, 0)), a.D = []);
748
748
  }, Ub:function() {
749
749
  return {sc:25856, uc:5, rc:191, tc:35387, qc:[3, 28, 127, 21, 4, 0, 1, 0, 17, 19, 26, 0, 18, 15, 23, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,]};
750
750
  }, Vb:function() {
751
751
  return 0;
752
752
  }, Wb:function() {
753
753
  return [24, 80];
754
- },}, mb = {Oa:function(a, b) {
755
- null === b || 10 === b ? (ra(K(a.D, 0)), a.D = []) : 0 != b && a.D.push(b);
754
+ },}, lb = {Oa:function(a, b) {
755
+ null === b || 10 === b ? (z(L(a.D, 0)), a.D = []) : 0 != b && a.D.push(b);
756
756
  }, ua:function(a) {
757
- a.D && 0 < a.D.length && (ra(K(a.D, 0)), a.D = []);
757
+ a.D && 0 < a.D.length && (z(L(a.D, 0)), a.D = []);
758
758
  },};
759
- function nb(a, b) {
759
+ function mb(a, b) {
760
760
  var c = a.j ? a.j.length : 0;
761
761
  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));
762
762
  }
763
- var M = {O:null, T() {
764
- return M.createNode(null, "/", 16895, 0);
763
+ var N = {O:null, T() {
764
+ return N.createNode(null, "/", 16895, 0);
765
765
  }, createNode(a, b, c, d) {
766
766
  if (24576 === (c & 61440) || 4096 === (c & 61440)) {
767
- throw new L(63);
767
+ throw new M(63);
768
768
  }
769
- M.O || (M.O = {dir:{node:{X:M.l.X, P:M.l.P, ma:M.l.ma, za:M.l.za, pb:M.l.pb, ub:M.l.ub, qb:M.l.qb, nb:M.l.nb, Fa:M.l.Fa}, stream:{aa:M.m.aa}}, file:{node:{X:M.l.X, P:M.l.P}, stream:{aa:M.m.aa, read:M.m.read, write:M.m.write, ta:M.m.ta, fb:M.m.fb, hb:M.m.hb}}, link:{node:{X:M.l.X, P:M.l.P, na:M.l.na}, stream:{}}, Va:{node:{X:M.l.X, P:M.l.P}, stream:ob}});
770
- c = pb(a, b, c, d);
771
- 16384 === (c.mode & 61440) ? (c.l = M.O.dir.node, c.m = M.O.dir.stream, c.j = {}) : 32768 === (c.mode & 61440) ? (c.l = M.O.file.node, c.m = M.O.file.stream, c.v = 0, c.j = null) : 40960 === (c.mode & 61440) ? (c.l = M.O.link.node, c.m = M.O.link.stream) : 8192 === (c.mode & 61440) && (c.l = M.O.Va.node, c.m = M.O.Va.stream);
769
+ N.O || (N.O = {dir:{node:{X:N.l.X, P:N.l.P, ma:N.l.ma, za:N.l.za, pb:N.l.pb, ub:N.l.ub, qb:N.l.qb, nb:N.l.nb, Fa:N.l.Fa}, stream:{aa:N.m.aa}}, file:{node:{X:N.l.X, P:N.l.P}, stream:{aa:N.m.aa, read:N.m.read, write:N.m.write, ta:N.m.ta, fb:N.m.fb, hb:N.m.hb}}, link:{node:{X:N.l.X, P:N.l.P, na:N.l.na}, stream:{}}, Va:{node:{X:N.l.X, P:N.l.P}, stream:nb}});
770
+ c = ob(a, b, c, d);
771
+ 16384 === (c.mode & 61440) ? (c.l = N.O.dir.node, c.m = N.O.dir.stream, c.j = {}) : 32768 === (c.mode & 61440) ? (c.l = N.O.file.node, c.m = N.O.file.stream, c.v = 0, c.j = null) : 40960 === (c.mode & 61440) ? (c.l = N.O.link.node, c.m = N.O.link.stream) : 8192 === (c.mode & 61440) && (c.l = N.O.Va.node, c.m = N.O.Va.stream);
772
772
  c.timestamp = Date.now();
773
773
  a && (a.j[b] = c, a.timestamp = c.timestamp);
774
774
  return c;
@@ -804,18 +804,18 @@ var M = {O:null, T() {
804
804
  }
805
805
  }
806
806
  }, ma() {
807
- throw qb[44];
807
+ throw pb[44];
808
808
  }, za(a, b, c, d) {
809
- return M.createNode(a, b, c, d);
809
+ return N.createNode(a, b, c, d);
810
810
  }, pb(a, b, c) {
811
811
  if (16384 === (a.mode & 61440)) {
812
812
  try {
813
- var d = sb(b, c);
813
+ var d = qb(b, c);
814
814
  } catch (f) {
815
815
  }
816
816
  if (d) {
817
817
  for (var e in d.j) {
818
- throw new L(55);
818
+ throw new M(55);
819
819
  }
820
820
  }
821
821
  }
@@ -829,9 +829,9 @@ var M = {O:null, T() {
829
829
  delete a.j[b];
830
830
  a.timestamp = Date.now();
831
831
  }, qb(a, b) {
832
- var c = sb(a, b), d;
832
+ var c = qb(a, b), d;
833
833
  for (d in c.j) {
834
- throw new L(55);
834
+ throw new M(55);
835
835
  }
836
836
  delete a.j[b];
837
837
  a.timestamp = Date.now();
@@ -842,12 +842,12 @@ var M = {O:null, T() {
842
842
  }
843
843
  return b;
844
844
  }, Fa(a, b, c) {
845
- a = M.createNode(a, b, 41471, 0);
845
+ a = N.createNode(a, b, 41471, 0);
846
846
  a.link = c;
847
847
  return a;
848
848
  }, na(a) {
849
849
  if (40960 !== (a.mode & 61440)) {
850
- throw new L(28);
850
+ throw new M(28);
851
851
  }
852
852
  return a.link;
853
853
  },}, m:{read(a, b, c, d, e) {
@@ -865,7 +865,7 @@ var M = {O:null, T() {
865
865
  }
866
866
  return a;
867
867
  }, write(a, b, c, d, e, f) {
868
- b.buffer === A.buffer && (f = !1);
868
+ b.buffer === C.buffer && (f = !1);
869
869
  if (!d) {
870
870
  return 0;
871
871
  }
@@ -882,7 +882,7 @@ var M = {O:null, T() {
882
882
  return a.j.set(b.subarray(c, c + d), e), d;
883
883
  }
884
884
  }
885
- nb(a, e + d);
885
+ mb(a, e + d);
886
886
  if (a.j.subarray && b.subarray) {
887
887
  a.j.set(b.subarray(c, c + d), e);
888
888
  } else {
@@ -895,70 +895,70 @@ var M = {O:null, T() {
895
895
  }, aa(a, b, c) {
896
896
  1 === c ? b += a.position : 2 === c && 32768 === (a.node.mode & 61440) && (b += a.node.v);
897
897
  if (0 > b) {
898
- throw new L(28);
898
+ throw new M(28);
899
899
  }
900
900
  return b;
901
901
  }, ta(a, b, c) {
902
- nb(a.node, b + c);
902
+ mb(a.node, b + c);
903
903
  a.node.v = Math.max(a.node.v, b + c);
904
904
  }, fb(a, b, c, d, e) {
905
905
  if (32768 !== (a.node.mode & 61440)) {
906
- throw new L(43);
906
+ throw new M(43);
907
907
  }
908
908
  a = a.node.j;
909
- if (e & 2 || a.buffer !== A.buffer) {
909
+ if (e & 2 || a.buffer !== C.buffer) {
910
910
  if (0 < c || c + b < a.length) {
911
911
  a.subarray ? a = a.subarray(c, c + b) : a = Array.prototype.slice.call(a, c, c + b);
912
912
  }
913
913
  c = !0;
914
- ta();
914
+ sa();
915
915
  b = void 0;
916
916
  if (!b) {
917
- throw new L(48);
917
+ throw new M(48);
918
918
  }
919
- A.set(a, b);
919
+ C.set(a, b);
920
920
  } else {
921
921
  c = !1, b = a.byteOffset;
922
922
  }
923
923
  return {o:b, M:c};
924
924
  }, hb(a, b, c, d) {
925
- M.m.write(a, b, 0, d, c, !1);
925
+ N.m.write(a, b, 0, d, c, !1);
926
926
  return 0;
927
927
  },},};
928
- function tb(a, b) {
928
+ function sb(a, b) {
929
929
  var c = 0;
930
930
  a && (c |= 365);
931
931
  b && (c |= 146);
932
932
  return c;
933
933
  }
934
- var ub = null, vb = {}, wb = [], xb = 1, yb = null, zb = !0, L = null, qb = {}, Bb = (a, b = {}) => {
935
- a = bb(a);
934
+ var tb = null, ub = {}, vb = [], wb = 1, xb = null, yb = !0, M = null, pb = {}, Ab = (a, b = {}) => {
935
+ a = ab(a);
936
936
  if (!a) {
937
937
  return {path:"", node:null};
938
938
  }
939
939
  b = Object.assign({ab:!0, Qa:0}, b);
940
940
  if (8 < b.Qa) {
941
- throw new L(32);
941
+ throw new M(32);
942
942
  }
943
943
  a = a.split("/").filter(g => !!g);
944
- for (var c = ub, d = "/", e = 0; e < a.length; e++) {
944
+ for (var c = tb, d = "/", e = 0; e < a.length; e++) {
945
945
  var f = e === a.length - 1;
946
946
  if (f && b.parent) {
947
947
  break;
948
948
  }
949
- c = sb(c, a[e]);
950
- d = Xa(d + "/" + a[e]);
949
+ c = qb(c, a[e]);
950
+ d = Wa(d + "/" + a[e]);
951
951
  c.Aa && (!f || f && b.ab) && (c = c.Aa.root);
952
952
  if (!f || b.$a) {
953
953
  for (f = 0; 40960 === (c.mode & 61440);) {
954
- if (c = Ab(d), d = bb(Ya(d), c), c = Bb(d, {Qa:b.Qa + 1}).node, 40 < f++) {
955
- throw new L(32);
954
+ if (c = zb(d), d = ab(Xa(d), c), c = Ab(d, {Qa:b.Qa + 1}).node, 40 < f++) {
955
+ throw new M(32);
956
956
  }
957
957
  }
958
958
  }
959
959
  }
960
960
  return {path:d, node:c};
961
- }, Cb = a => {
961
+ }, Bb = a => {
962
962
  for (var b;;) {
963
963
  if (a === a.parent) {
964
964
  return a = a.T.gb, b ? "/" !== a[a.length - 1] ? `${a}/${b}` : a + b : a;
@@ -966,34 +966,34 @@ var ub = null, vb = {}, wb = [], xb = 1, yb = null, zb = !0, L = null, qb = {},
966
966
  b = b ? `${a.name}/${b}` : a.name;
967
967
  a = a.parent;
968
968
  }
969
- }, Db = (a, b) => {
969
+ }, Cb = (a, b) => {
970
970
  for (var c = 0, d = 0; d < b.length; d++) {
971
971
  c = (c << 5) - c + b.charCodeAt(d) | 0;
972
972
  }
973
- return (a + c >>> 0) % yb.length;
974
- }, sb = (a, b) => {
973
+ return (a + c >>> 0) % xb.length;
974
+ }, qb = (a, b) => {
975
975
  var c;
976
- if (c = (c = Eb(a, "x")) ? c : a.l.ma ? 0 : 2) {
977
- throw new L(c, a);
976
+ if (c = (c = Db(a, "x")) ? c : a.l.ma ? 0 : 2) {
977
+ throw new M(c, a);
978
978
  }
979
- for (c = yb[Db(a.id, b)]; c; c = c.Zb) {
979
+ for (c = xb[Cb(a.id, b)]; c; c = c.Zb) {
980
980
  var d = c.name;
981
981
  if (c.parent.id === a.id && d === b) {
982
982
  return c;
983
983
  }
984
984
  }
985
985
  return a.l.ma(a, b);
986
- }, pb = (a, b, c, d) => {
987
- a = new Fb(a, b, c, d);
988
- b = Db(a.parent.id, a.name);
989
- a.Zb = yb[b];
990
- return yb[b] = a;
991
- }, Gb = a => {
986
+ }, ob = (a, b, c, d) => {
987
+ a = new Eb(a, b, c, d);
988
+ b = Cb(a.parent.id, a.name);
989
+ a.Zb = xb[b];
990
+ return xb[b] = a;
991
+ }, Fb = a => {
992
992
  var b = ["r", "w", "rw"][a & 3];
993
993
  a & 512 && (b += "w");
994
994
  return b;
995
- }, Eb = (a, b) => {
996
- if (zb) {
995
+ }, Db = (a, b) => {
996
+ if (yb) {
997
997
  return 0;
998
998
  }
999
999
  if (!b.includes("r") || a.mode & 292) {
@@ -1004,29 +1004,29 @@ var ub = null, vb = {}, wb = [], xb = 1, yb = null, zb = !0, L = null, qb = {},
1004
1004
  return 2;
1005
1005
  }
1006
1006
  return 0;
1007
- }, Hb = (a, b) => {
1007
+ }, Gb = (a, b) => {
1008
1008
  try {
1009
- return sb(a, b), 20;
1009
+ return qb(a, b), 20;
1010
1010
  } catch (c) {
1011
1011
  }
1012
- return Eb(a, "wx");
1013
- }, Ib = () => {
1012
+ return Db(a, "wx");
1013
+ }, Hb = () => {
1014
1014
  for (var a = 0; 4096 >= a; a++) {
1015
- if (!wb[a]) {
1015
+ if (!vb[a]) {
1016
1016
  return a;
1017
1017
  }
1018
1018
  }
1019
- throw new L(33);
1020
- }, Jb = a => {
1021
- a = wb[a];
1019
+ throw new M(33);
1020
+ }, Ib = a => {
1021
+ a = vb[a];
1022
1022
  if (!a) {
1023
- throw new L(8);
1023
+ throw new M(8);
1024
1024
  }
1025
1025
  return a;
1026
- }, Lb = (a, b = -1) => {
1027
- Kb || (Kb = function() {
1026
+ }, Kb = (a, b = -1) => {
1027
+ Jb || (Jb = function() {
1028
1028
  this.h = {};
1029
- }, Kb.prototype = {}, Object.defineProperties(Kb.prototype, {object:{get() {
1029
+ }, Jb.prototype = {}, Object.defineProperties(Jb.prototype, {object:{get() {
1030
1030
  return this.node;
1031
1031
  }, set(c) {
1032
1032
  this.node = c;
@@ -1039,84 +1039,84 @@ var ub = null, vb = {}, wb = [], xb = 1, yb = null, zb = !0, L = null, qb = {},
1039
1039
  }, set(c) {
1040
1040
  this.h.position = c;
1041
1041
  },},}));
1042
- a = Object.assign(new Kb(), a);
1043
- -1 == b && (b = Ib());
1042
+ a = Object.assign(new Jb(), a);
1043
+ -1 == b && (b = Hb());
1044
1044
  a.W = b;
1045
- return wb[b] = a;
1046
- }, ob = {open:a => {
1047
- a.m = vb[a.node.Ca].m;
1045
+ return vb[b] = a;
1046
+ }, nb = {open:a => {
1047
+ a.m = ub[a.node.Ca].m;
1048
1048
  a.m.open && a.m.open(a);
1049
1049
  }, aa:() => {
1050
- throw new L(70);
1051
- },}, jb = (a, b) => {
1052
- vb[a] = {m:b};
1053
- }, Mb = (a, b) => {
1050
+ throw new M(70);
1051
+ },}, ib = (a, b) => {
1052
+ ub[a] = {m:b};
1053
+ }, Lb = (a, b) => {
1054
1054
  var c = "/" === b, d = !b;
1055
- if (c && ub) {
1056
- throw new L(10);
1055
+ if (c && tb) {
1056
+ throw new M(10);
1057
1057
  }
1058
1058
  if (!c && !d) {
1059
- var e = Bb(b, {ab:!1});
1059
+ var e = Ab(b, {ab:!1});
1060
1060
  b = e.path;
1061
1061
  e = e.node;
1062
1062
  if (e.Aa) {
1063
- throw new L(10);
1063
+ throw new M(10);
1064
1064
  }
1065
1065
  if (16384 !== (e.mode & 61440)) {
1066
- throw new L(54);
1066
+ throw new M(54);
1067
1067
  }
1068
1068
  }
1069
1069
  b = {type:a, Lc:{}, gb:b, Yb:[]};
1070
1070
  a = a.T(b);
1071
1071
  a.T = b;
1072
1072
  b.root = a;
1073
- c ? ub = a : e && (e.Aa = b, e.T && e.T.Yb.push(b));
1074
- }, N = (a, b, c) => {
1075
- var d = Bb(a, {parent:!0}).node;
1076
- a = Za(a);
1073
+ c ? tb = a : e && (e.Aa = b, e.T && e.T.Yb.push(b));
1074
+ }, O = (a, b, c) => {
1075
+ var d = Ab(a, {parent:!0}).node;
1076
+ a = Ya(a);
1077
1077
  if (!a || "." === a || ".." === a) {
1078
- throw new L(28);
1078
+ throw new M(28);
1079
1079
  }
1080
- var e = Hb(d, a);
1080
+ var e = Gb(d, a);
1081
1081
  if (e) {
1082
- throw new L(e);
1082
+ throw new M(e);
1083
1083
  }
1084
1084
  if (!d.l.za) {
1085
- throw new L(63);
1085
+ throw new M(63);
1086
1086
  }
1087
1087
  return d.l.za(d, a, b, c);
1088
- }, Nb = (a, b, c) => {
1088
+ }, Mb = (a, b, c) => {
1089
1089
  "undefined" == typeof c && (c = b, b = 438);
1090
- N(a, b | 8192, c);
1091
- }, Ob = (a, b) => {
1092
- if (!bb(a)) {
1093
- throw new L(44);
1090
+ O(a, b | 8192, c);
1091
+ }, Nb = (a, b) => {
1092
+ if (!ab(a)) {
1093
+ throw new M(44);
1094
1094
  }
1095
- var c = Bb(b, {parent:!0}).node;
1095
+ var c = Ab(b, {parent:!0}).node;
1096
1096
  if (!c) {
1097
- throw new L(44);
1097
+ throw new M(44);
1098
1098
  }
1099
- b = Za(b);
1100
- var d = Hb(c, b);
1099
+ b = Ya(b);
1100
+ var d = Gb(c, b);
1101
1101
  if (d) {
1102
- throw new L(d);
1102
+ throw new M(d);
1103
1103
  }
1104
1104
  if (!c.l.Fa) {
1105
- throw new L(63);
1105
+ throw new M(63);
1106
1106
  }
1107
1107
  c.l.Fa(c, b, a);
1108
- }, Ab = a => {
1109
- a = Bb(a).node;
1108
+ }, zb = a => {
1109
+ a = Ab(a).node;
1110
1110
  if (!a) {
1111
- throw new L(44);
1111
+ throw new M(44);
1112
1112
  }
1113
1113
  if (!a.l.na) {
1114
- throw new L(28);
1114
+ throw new M(28);
1115
1115
  }
1116
- return bb(Cb(a.parent), a.l.na(a));
1117
- }, Qb = (a, b, c) => {
1116
+ return ab(Bb(a.parent), a.l.na(a));
1117
+ }, Pb = (a, b, c) => {
1118
1118
  if ("" === a) {
1119
- throw new L(44);
1119
+ throw new M(44);
1120
1120
  }
1121
1121
  if ("string" == typeof b) {
1122
1122
  var d = {r:0, "r+":2, w:577, "w+":578, a:1089, "a+":1090,}[b];
@@ -1129,9 +1129,9 @@ var ub = null, vb = {}, wb = [], xb = 1, yb = null, zb = !0, L = null, qb = {},
1129
1129
  if ("object" == typeof a) {
1130
1130
  var e = a;
1131
1131
  } else {
1132
- a = Xa(a);
1132
+ a = Wa(a);
1133
1133
  try {
1134
- e = Bb(a, {$a:!(b & 131072)}).node;
1134
+ e = Ab(a, {$a:!(b & 131072)}).node;
1135
1135
  } catch (f) {
1136
1136
  }
1137
1137
  }
@@ -1139,58 +1139,58 @@ var ub = null, vb = {}, wb = [], xb = 1, yb = null, zb = !0, L = null, qb = {},
1139
1139
  if (b & 64) {
1140
1140
  if (e) {
1141
1141
  if (b & 128) {
1142
- throw new L(20);
1142
+ throw new M(20);
1143
1143
  }
1144
1144
  } else {
1145
- e = N(a, c, 0), d = !0;
1145
+ e = O(a, c, 0), d = !0;
1146
1146
  }
1147
1147
  }
1148
1148
  if (!e) {
1149
- throw new L(44);
1149
+ throw new M(44);
1150
1150
  }
1151
1151
  8192 === (e.mode & 61440) && (b &= -513);
1152
1152
  if (b & 65536 && 16384 !== (e.mode & 61440)) {
1153
- throw new L(54);
1153
+ throw new M(54);
1154
1154
  }
1155
- if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !== Gb(b) || b & 512) ? 31 : Eb(e, Gb(b)) : 44)) {
1156
- throw new L(c);
1155
+ if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !== Fb(b) || b & 512) ? 31 : Db(e, Fb(b)) : 44)) {
1156
+ throw new M(c);
1157
1157
  }
1158
1158
  if (b & 512 && !d) {
1159
1159
  c = e;
1160
- c = "string" == typeof c ? Bb(c, {$a:!0}).node : c;
1160
+ c = "string" == typeof c ? Ab(c, {$a:!0}).node : c;
1161
1161
  if (!c.l.P) {
1162
- throw new L(63);
1162
+ throw new M(63);
1163
1163
  }
1164
1164
  if (16384 === (c.mode & 61440)) {
1165
- throw new L(31);
1165
+ throw new M(31);
1166
1166
  }
1167
1167
  if (32768 !== (c.mode & 61440)) {
1168
- throw new L(28);
1168
+ throw new M(28);
1169
1169
  }
1170
- if (d = Eb(c, "w")) {
1171
- throw new L(d);
1170
+ if (d = Db(c, "w")) {
1171
+ throw new M(d);
1172
1172
  }
1173
1173
  c.l.P(c, {size:0, timestamp:Date.now()});
1174
1174
  }
1175
1175
  b &= -131713;
1176
- e = Lb({node:e, path:Cb(e), flags:b, seekable:!0, position:0, m:e.m, mc:[], error:!1});
1176
+ e = Kb({node:e, path:Bb(e), flags:b, seekable:!0, position:0, m:e.m, mc:[], error:!1});
1177
1177
  e.m.open && e.m.open(e);
1178
- !n.logReadFiles || b & 1 || (Pb || (Pb = {}), a in Pb || (Pb[a] = 1));
1178
+ !n.logReadFiles || b & 1 || (Ob || (Ob = {}), a in Ob || (Ob[a] = 1));
1179
1179
  return e;
1180
- }, Rb = (a, b, c) => {
1180
+ }, Qb = (a, b, c) => {
1181
1181
  if (null === a.W) {
1182
- throw new L(8);
1182
+ throw new M(8);
1183
1183
  }
1184
1184
  if (!a.seekable || !a.m.aa) {
1185
- throw new L(70);
1185
+ throw new M(70);
1186
1186
  }
1187
1187
  if (0 != c && 1 != c && 2 != c) {
1188
- throw new L(28);
1188
+ throw new M(28);
1189
1189
  }
1190
1190
  a.position = a.m.aa(a, b, c);
1191
1191
  a.mc = [];
1192
- }, Sb = () => {
1193
- L || (L = function(a, b) {
1192
+ }, Rb = () => {
1193
+ M || (M = function(a, b) {
1194
1194
  this.name = "ErrnoError";
1195
1195
  this.node = b;
1196
1196
  this.bc = function(c) {
@@ -1198,16 +1198,16 @@ var ub = null, vb = {}, wb = [], xb = 1, yb = null, zb = !0, L = null, qb = {},
1198
1198
  };
1199
1199
  this.bc(a);
1200
1200
  this.message = "FS error";
1201
- }, L.prototype = Error(), L.prototype.constructor = L, [44].forEach(a => {
1202
- qb[a] = new L(a);
1203
- qb[a].stack = "<generic error, no stack>";
1201
+ }, M.prototype = Error(), M.prototype.constructor = M, [44].forEach(a => {
1202
+ pb[a] = new M(a);
1203
+ pb[a].stack = "<generic error, no stack>";
1204
1204
  }));
1205
- }, Tb, Vb = (a, b, c) => {
1206
- a = Xa("/dev/" + a);
1207
- var d = tb(!!b, !!c);
1208
- Ub || (Ub = 64);
1209
- var e = Ub++ << 8 | 0;
1210
- jb(e, {open:f => {
1205
+ }, Sb, Ub = (a, b, c) => {
1206
+ a = Wa("/dev/" + a);
1207
+ var d = sb(!!b, !!c);
1208
+ Tb || (Tb = 64);
1209
+ var e = Tb++ << 8 | 0;
1210
+ ib(e, {open:f => {
1211
1211
  f.seekable = !1;
1212
1212
  }, close:() => {
1213
1213
  c && c.buffer && c.buffer.length && c(10);
@@ -1216,10 +1216,10 @@ var ub = null, vb = {}, wb = [], xb = 1, yb = null, zb = !0, L = null, qb = {},
1216
1216
  try {
1217
1217
  var u = b();
1218
1218
  } catch (x) {
1219
- throw new L(29);
1219
+ throw new M(29);
1220
1220
  }
1221
1221
  if (void 0 === u && 0 === l) {
1222
- throw new L(6);
1222
+ throw new M(6);
1223
1223
  }
1224
1224
  if (null === u || void 0 === u) {
1225
1225
  break;
@@ -1234,19 +1234,19 @@ var ub = null, vb = {}, wb = [], xb = 1, yb = null, zb = !0, L = null, qb = {},
1234
1234
  try {
1235
1235
  c(g[m + l]);
1236
1236
  } catch (t) {
1237
- throw new L(29);
1237
+ throw new M(29);
1238
1238
  }
1239
1239
  }
1240
1240
  p && (f.node.timestamp = Date.now());
1241
1241
  return l;
1242
1242
  }});
1243
- Nb(a, d, e);
1244
- }, Ub, Wb = {}, Kb, Pb, Xb = void 0;
1245
- function Yb() {
1246
- Xb += 4;
1247
- return I[Xb - 4 >> 2];
1243
+ Mb(a, d, e);
1244
+ }, Tb, Vb = {}, Jb, Ob, Wb = void 0;
1245
+ function Xb() {
1246
+ Wb += 4;
1247
+ return J[Wb - 4 >> 2];
1248
1248
  }
1249
- function Zb(a) {
1249
+ function Yb(a) {
1250
1250
  if (void 0 === a) {
1251
1251
  return "_unknown";
1252
1252
  }
@@ -1254,24 +1254,24 @@ function Zb(a) {
1254
1254
  var b = a.charCodeAt(0);
1255
1255
  return 48 <= b && 57 >= b ? `_${a}` : a;
1256
1256
  }
1257
- function $b(a, b) {
1258
- a = Zb(a);
1257
+ function Zb(a, b) {
1258
+ a = Yb(a);
1259
1259
  return {[a]:function() {
1260
1260
  return b.apply(this, arguments);
1261
1261
  }}[a];
1262
1262
  }
1263
- function ac() {
1263
+ function $b() {
1264
1264
  this.M = [void 0];
1265
1265
  this.bb = [];
1266
1266
  }
1267
- var O = new ac(), bc = void 0;
1268
- function P(a) {
1269
- throw new bc(a);
1267
+ var P = new $b(), ac = void 0;
1268
+ function Q(a) {
1269
+ throw new ac(a);
1270
1270
  }
1271
- var Q = a => {
1272
- a || P("Cannot use deleted val. handle = " + a);
1273
- return O.get(a).value;
1274
- }, cc = a => {
1271
+ var R = a => {
1272
+ a || Q("Cannot use deleted val. handle = " + a);
1273
+ return P.get(a).value;
1274
+ }, bc = a => {
1275
1275
  switch(a) {
1276
1276
  case void 0:
1277
1277
  return 1;
@@ -1282,11 +1282,11 @@ var Q = a => {
1282
1282
  case !1:
1283
1283
  return 4;
1284
1284
  default:
1285
- return O.ta({ob:1, value:a});
1285
+ return P.ta({ob:1, value:a});
1286
1286
  }
1287
1287
  };
1288
- function dc(a) {
1289
- var b = Error, c = $b(a, function(d) {
1288
+ function cc(a) {
1289
+ var b = Error, c = Zb(a, function(d) {
1290
1290
  this.name = a;
1291
1291
  this.message = d;
1292
1292
  d = Error(d).stack;
@@ -1299,122 +1299,122 @@ function dc(a) {
1299
1299
  };
1300
1300
  return c;
1301
1301
  }
1302
- var ec = void 0, fc = void 0;
1303
- function R(a) {
1304
- for (var b = ""; C[a];) {
1305
- b += fc[C[a++]];
1302
+ var dc = void 0, ec = void 0;
1303
+ function S(a) {
1304
+ for (var b = ""; G[a];) {
1305
+ b += ec[G[a++]];
1306
1306
  }
1307
1307
  return b;
1308
1308
  }
1309
- var gc = [];
1310
- function hc() {
1311
- for (; gc.length;) {
1312
- var a = gc.pop();
1309
+ var fc = [];
1310
+ function gc() {
1311
+ for (; fc.length;) {
1312
+ var a = fc.pop();
1313
1313
  a.g.ga = !1;
1314
1314
  a["delete"]();
1315
1315
  }
1316
1316
  }
1317
- var ic = void 0, jc = {};
1318
- function kc(a, b) {
1319
- for (void 0 === b && P("ptr should not be undefined"); a.A;) {
1317
+ var hc = void 0, ic = {};
1318
+ function jc(a, b) {
1319
+ for (void 0 === b && Q("ptr should not be undefined"); a.A;) {
1320
1320
  b = a.pa(b), a = a.A;
1321
1321
  }
1322
1322
  return b;
1323
1323
  }
1324
- var lc = {};
1325
- function mc(a) {
1326
- a = nc(a);
1327
- var b = R(a);
1328
- oc(a);
1324
+ var kc = {};
1325
+ function lc(a) {
1326
+ a = mc(a);
1327
+ var b = S(a);
1328
+ nc(a);
1329
1329
  return b;
1330
1330
  }
1331
- function pc(a, b) {
1332
- var c = lc[a];
1333
- void 0 === c && P(b + " has unknown type " + mc(a));
1331
+ function oc(a, b) {
1332
+ var c = kc[a];
1333
+ void 0 === c && Q(b + " has unknown type " + lc(a));
1334
1334
  return c;
1335
1335
  }
1336
- function qc() {
1336
+ function pc() {
1337
1337
  }
1338
- var rc = !1;
1339
- function sc(a) {
1338
+ var qc = !1;
1339
+ function rc(a) {
1340
1340
  --a.count.value;
1341
1341
  0 === a.count.value && (a.G ? a.L.V(a.G) : a.u.i.V(a.o));
1342
1342
  }
1343
- function tc(a, b, c) {
1343
+ function sc(a, b, c) {
1344
1344
  if (b === c) {
1345
1345
  return a;
1346
1346
  }
1347
1347
  if (void 0 === c.A) {
1348
1348
  return null;
1349
1349
  }
1350
- a = tc(a, b, c.A);
1350
+ a = sc(a, b, c.A);
1351
1351
  return null === a ? null : c.Gb(a);
1352
1352
  }
1353
- var uc = {};
1354
- function vc(a, b) {
1355
- b = kc(a, b);
1356
- return jc[b];
1353
+ var tc = {};
1354
+ function uc(a, b) {
1355
+ b = jc(a, b);
1356
+ return ic[b];
1357
1357
  }
1358
- var wc = void 0;
1359
- function xc(a) {
1360
- throw new wc(a);
1358
+ var vc = void 0;
1359
+ function wc(a) {
1360
+ throw new vc(a);
1361
1361
  }
1362
- function yc(a, b) {
1363
- b.u && b.o || xc("makeClassHandle requires ptr and ptrType");
1364
- !!b.L !== !!b.G && xc("Both smartPtrType and smartPtr must be specified");
1362
+ function xc(a, b) {
1363
+ b.u && b.o || wc("makeClassHandle requires ptr and ptrType");
1364
+ !!b.L !== !!b.G && wc("Both smartPtrType and smartPtr must be specified");
1365
1365
  b.count = {value:1};
1366
- return zc(Object.create(a, {g:{value:b,},}));
1366
+ return yc(Object.create(a, {g:{value:b,},}));
1367
1367
  }
1368
- function zc(a) {
1368
+ function yc(a) {
1369
1369
  if ("undefined" === typeof FinalizationRegistry) {
1370
- return zc = b => b, a;
1370
+ return yc = b => b, a;
1371
1371
  }
1372
- rc = new FinalizationRegistry(b => {
1373
- sc(b.g);
1372
+ qc = new FinalizationRegistry(b => {
1373
+ rc(b.g);
1374
1374
  });
1375
- zc = b => {
1375
+ yc = b => {
1376
1376
  var c = b.g;
1377
- c.G && rc.register(b, {g:c}, b);
1377
+ c.G && qc.register(b, {g:c}, b);
1378
1378
  return b;
1379
1379
  };
1380
- qc = b => {
1381
- rc.unregister(b);
1380
+ pc = b => {
1381
+ qc.unregister(b);
1382
1382
  };
1383
- return zc(a);
1383
+ return yc(a);
1384
1384
  }
1385
- var Ac = {};
1386
- function Bc(a) {
1385
+ var zc = {};
1386
+ function Ac(a) {
1387
1387
  for (; a.length;) {
1388
1388
  var b = a.pop();
1389
1389
  a.pop()(b);
1390
1390
  }
1391
1391
  }
1392
- function Cc(a) {
1393
- return this.fromWireType(I[a >> 2]);
1392
+ function Bc(a) {
1393
+ return this.fromWireType(J[a >> 2]);
1394
1394
  }
1395
- var Dc = {}, Ec = {};
1396
- function S(a, b, c) {
1395
+ var Cc = {}, Dc = {};
1396
+ function T(a, b, c) {
1397
1397
  function d(m) {
1398
1398
  m = c(m);
1399
- m.length !== a.length && xc("Mismatched type converter count");
1399
+ m.length !== a.length && wc("Mismatched type converter count");
1400
1400
  for (var p = 0; p < a.length; ++p) {
1401
- T(a[p], m[p]);
1401
+ U(a[p], m[p]);
1402
1402
  }
1403
1403
  }
1404
1404
  a.forEach(function(m) {
1405
- Ec[m] = b;
1405
+ Dc[m] = b;
1406
1406
  });
1407
1407
  var e = Array(b.length), f = [], g = 0;
1408
1408
  b.forEach((m, p) => {
1409
- lc.hasOwnProperty(m) ? e[p] = lc[m] : (f.push(m), Dc.hasOwnProperty(m) || (Dc[m] = []), Dc[m].push(() => {
1410
- e[p] = lc[m];
1409
+ kc.hasOwnProperty(m) ? e[p] = kc[m] : (f.push(m), Cc.hasOwnProperty(m) || (Cc[m] = []), Cc[m].push(() => {
1410
+ e[p] = kc[m];
1411
1411
  ++g;
1412
1412
  g === f.length && d(e);
1413
1413
  }));
1414
1414
  });
1415
1415
  0 === f.length && d(e);
1416
1416
  }
1417
- function Fc(a) {
1417
+ function Ec(a) {
1418
1418
  switch(a) {
1419
1419
  case 1:
1420
1420
  return 0;
@@ -1428,45 +1428,45 @@ function Fc(a) {
1428
1428
  throw new TypeError(`Unknown type size: ${a}`);
1429
1429
  }
1430
1430
  }
1431
- function Gc(a, b, c = {}) {
1431
+ function Fc(a, b, c = {}) {
1432
1432
  var d = b.name;
1433
- a || P(`type "${d}" must have a positive integer typeid pointer`);
1434
- if (lc.hasOwnProperty(a)) {
1433
+ a || Q(`type "${d}" must have a positive integer typeid pointer`);
1434
+ if (kc.hasOwnProperty(a)) {
1435
1435
  if (c.Rb) {
1436
1436
  return;
1437
1437
  }
1438
- P(`Cannot register type '${d}' twice`);
1438
+ Q(`Cannot register type '${d}' twice`);
1439
1439
  }
1440
- lc[a] = b;
1441
- delete Ec[a];
1442
- Dc.hasOwnProperty(a) && (b = Dc[a], delete Dc[a], b.forEach(e => e()));
1440
+ kc[a] = b;
1441
+ delete Dc[a];
1442
+ Cc.hasOwnProperty(a) && (b = Cc[a], delete Cc[a], b.forEach(e => e()));
1443
1443
  }
1444
- function T(a, b, c = {}) {
1444
+ function U(a, b, c = {}) {
1445
1445
  if (!("argPackAdvance" in b)) {
1446
1446
  throw new TypeError("registerType registeredInstance requires argPackAdvance");
1447
1447
  }
1448
- Gc(a, b, c);
1448
+ Fc(a, b, c);
1449
1449
  }
1450
- function Hc(a) {
1451
- P(a.g.u.i.name + " instance already deleted");
1450
+ function Gc(a) {
1451
+ Q(a.g.u.i.name + " instance already deleted");
1452
1452
  }
1453
- function Ic() {
1453
+ function Hc() {
1454
1454
  }
1455
- function Jc(a, b, c) {
1455
+ function Ic(a, b, c) {
1456
1456
  if (void 0 === a[b].B) {
1457
1457
  var d = a[b];
1458
1458
  a[b] = function() {
1459
- a[b].B.hasOwnProperty(arguments.length) || P(`Function '${c}' called with an invalid number of arguments (${arguments.length}) - expects one of (${a[b].B})!`);
1459
+ a[b].B.hasOwnProperty(arguments.length) || Q(`Function '${c}' called with an invalid number of arguments (${arguments.length}) - expects one of (${a[b].B})!`);
1460
1460
  return a[b].B[arguments.length].apply(this, arguments);
1461
1461
  };
1462
1462
  a[b].B = [];
1463
1463
  a[b].B[d.fa] = d;
1464
1464
  }
1465
1465
  }
1466
- function Kc(a, b, c) {
1467
- n.hasOwnProperty(a) ? ((void 0 === c || void 0 !== n[a].B && void 0 !== n[a].B[c]) && P(`Cannot register public name '${a}' twice`), Jc(n, a, a), n.hasOwnProperty(c) && P(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`), n[a].B[c] = b) : (n[a] = b, void 0 !== c && (n[a].Kc = c));
1466
+ function Jc(a, b, c) {
1467
+ n.hasOwnProperty(a) ? ((void 0 === c || void 0 !== n[a].B && void 0 !== n[a].B[c]) && Q(`Cannot register public name '${a}' twice`), Ic(n, a, a), n.hasOwnProperty(c) && Q(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`), n[a].B[c] = b) : (n[a] = b, void 0 !== c && (n[a].Kc = c));
1468
1468
  }
1469
- function Lc(a, b, c, d, e, f, g, m) {
1469
+ function Kc(a, b, c, d, e, f, g, m) {
1470
1470
  this.name = a;
1471
1471
  this.constructor = b;
1472
1472
  this.N = c;
@@ -1477,23 +1477,23 @@ function Lc(a, b, c, d, e, f, g, m) {
1477
1477
  this.Gb = m;
1478
1478
  this.kb = [];
1479
1479
  }
1480
- function Mc(a, b, c) {
1480
+ function Lc(a, b, c) {
1481
1481
  for (; b !== c;) {
1482
- b.pa || P(`Expected null or instance of ${c.name}, got an instance of ${b.name}`), a = b.pa(a), b = b.A;
1482
+ b.pa || Q(`Expected null or instance of ${c.name}, got an instance of ${b.name}`), a = b.pa(a), b = b.A;
1483
1483
  }
1484
1484
  return a;
1485
1485
  }
1486
- function Nc(a, b) {
1486
+ function Mc(a, b) {
1487
1487
  if (null === b) {
1488
- return this.Na && P(`null is not a valid ${this.name}`), 0;
1488
+ return this.Na && Q(`null is not a valid ${this.name}`), 0;
1489
1489
  }
1490
- b.g || P(`Cannot pass "${Oc(b)}" as a ${this.name}`);
1491
- b.g.o || P(`Cannot pass deleted object as a pointer of type ${this.name}`);
1492
- return Mc(b.g.o, b.g.u.i, this.i);
1490
+ b.g || Q(`Cannot pass "${Nc(b)}" as a ${this.name}`);
1491
+ b.g.o || Q(`Cannot pass deleted object as a pointer of type ${this.name}`);
1492
+ return Lc(b.g.o, b.g.u.i, this.i);
1493
1493
  }
1494
- function Pc(a, b) {
1494
+ function Oc(a, b) {
1495
1495
  if (null === b) {
1496
- this.Na && P(`null is not a valid ${this.name}`);
1496
+ this.Na && Q(`null is not a valid ${this.name}`);
1497
1497
  if (this.ya) {
1498
1498
  var c = this.Pa();
1499
1499
  null !== a && a.push(this.V, c);
@@ -1501,14 +1501,14 @@ function Pc(a, b) {
1501
1501
  }
1502
1502
  return 0;
1503
1503
  }
1504
- b.g || P(`Cannot pass "${Oc(b)}" as a ${this.name}`);
1505
- b.g.o || P(`Cannot pass deleted object as a pointer of type ${this.name}`);
1506
- !this.xa && b.g.u.xa && P(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1507
- c = Mc(b.g.o, b.g.u.i, this.i);
1504
+ b.g || Q(`Cannot pass "${Nc(b)}" as a ${this.name}`);
1505
+ b.g.o || Q(`Cannot pass deleted object as a pointer of type ${this.name}`);
1506
+ !this.xa && b.g.u.xa && Q(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1507
+ c = Lc(b.g.o, b.g.u.i, this.i);
1508
1508
  if (this.ya) {
1509
- switch(void 0 === b.g.G && P("Passing raw pointer to smart pointer is illegal"), this.fc) {
1509
+ switch(void 0 === b.g.G && Q("Passing raw pointer to smart pointer is illegal"), this.fc) {
1510
1510
  case 0:
1511
- b.g.L === this ? c = b.g.G : P(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1511
+ b.g.L === this ? c = b.g.G : Q(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
1512
1512
  break;
1513
1513
  case 1:
1514
1514
  c = b.g.G;
@@ -1518,45 +1518,45 @@ function Pc(a, b) {
1518
1518
  c = b.g.G;
1519
1519
  } else {
1520
1520
  var d = b.clone();
1521
- c = this.ac(c, cc(function() {
1521
+ c = this.ac(c, bc(function() {
1522
1522
  d["delete"]();
1523
1523
  }));
1524
1524
  null !== a && a.push(this.V, c);
1525
1525
  }
1526
1526
  break;
1527
1527
  default:
1528
- P("Unsupporting sharing policy");
1528
+ Q("Unsupporting sharing policy");
1529
1529
  }
1530
1530
  }
1531
1531
  return c;
1532
1532
  }
1533
- function Qc(a, b) {
1533
+ function Pc(a, b) {
1534
1534
  if (null === b) {
1535
- return this.Na && P(`null is not a valid ${this.name}`), 0;
1535
+ return this.Na && Q(`null is not a valid ${this.name}`), 0;
1536
1536
  }
1537
- b.g || P(`Cannot pass "${Oc(b)}" as a ${this.name}`);
1538
- b.g.o || P(`Cannot pass deleted object as a pointer of type ${this.name}`);
1539
- b.g.u.xa && P(`Cannot convert argument of type ${b.g.u.name} to parameter type ${this.name}`);
1540
- return Mc(b.g.o, b.g.u.i, this.i);
1537
+ b.g || Q(`Cannot pass "${Nc(b)}" as a ${this.name}`);
1538
+ b.g.o || Q(`Cannot pass deleted object as a pointer of type ${this.name}`);
1539
+ b.g.u.xa && Q(`Cannot convert argument of type ${b.g.u.name} to parameter type ${this.name}`);
1540
+ return Lc(b.g.o, b.g.u.i, this.i);
1541
1541
  }
1542
- function Rc(a, b, c, d) {
1542
+ function Qc(a, b, c, d) {
1543
1543
  this.name = a;
1544
1544
  this.i = b;
1545
1545
  this.Na = c;
1546
1546
  this.xa = d;
1547
1547
  this.ya = !1;
1548
1548
  this.V = this.ac = this.Pa = this.mb = this.fc = this.$b = void 0;
1549
- void 0 !== b.A ? this.toWireType = Pc : (this.toWireType = d ? Nc : Qc, this.K = null);
1549
+ void 0 !== b.A ? this.toWireType = Oc : (this.toWireType = d ? Mc : Pc, this.K = null);
1550
1550
  }
1551
- function Sc(a, b, c) {
1552
- n.hasOwnProperty(a) || xc("Replacing nonexistant public symbol");
1551
+ function Rc(a, b, c) {
1552
+ n.hasOwnProperty(a) || wc("Replacing nonexistant public symbol");
1553
1553
  void 0 !== n[a].B && void 0 !== c ? n[a].B[c] = b : (n[a] = b, n[a].fa = c);
1554
1554
  }
1555
- var Tc = [], Uc = a => {
1556
- var b = Tc[a];
1557
- b || (a >= Tc.length && (Tc.length = a + 1), Tc[a] = b = Aa.get(a));
1555
+ var Sc = [], Tc = a => {
1556
+ var b = Sc[a];
1557
+ b || (a >= Sc.length && (Sc.length = a + 1), Sc[a] = b = za.get(a));
1558
1558
  return b;
1559
- }, Vc = (a, b) => {
1559
+ }, Uc = (a, b) => {
1560
1560
  var c = [];
1561
1561
  return function() {
1562
1562
  c.length = 0;
@@ -1565,29 +1565,29 @@ var Tc = [], Uc = a => {
1565
1565
  var d = n["dynCall_" + a];
1566
1566
  d = c && c.length ? d.apply(null, [b].concat(c)) : d.call(null, b);
1567
1567
  } else {
1568
- d = Uc(b).apply(null, c);
1568
+ d = Tc(b).apply(null, c);
1569
1569
  }
1570
1570
  return d;
1571
1571
  };
1572
1572
  };
1573
- function U(a, b) {
1574
- a = R(a);
1575
- var c = a.includes("j") ? Vc(a, b) : Uc(b);
1576
- "function" != typeof c && P(`unknown function pointer with signature ${a}: ${b}`);
1573
+ function V(a, b) {
1574
+ a = S(a);
1575
+ var c = a.includes("j") ? Uc(a, b) : Tc(b);
1576
+ "function" != typeof c && Q(`unknown function pointer with signature ${a}: ${b}`);
1577
1577
  return c;
1578
1578
  }
1579
- var Wc = void 0;
1580
- function Xc(a, b) {
1579
+ var Vc = void 0;
1580
+ function Wc(a, b) {
1581
1581
  function c(f) {
1582
- e[f] || lc[f] || (Ec[f] ? Ec[f].forEach(c) : (d.push(f), e[f] = !0));
1582
+ e[f] || kc[f] || (Dc[f] ? Dc[f].forEach(c) : (d.push(f), e[f] = !0));
1583
1583
  }
1584
1584
  var d = [], e = {};
1585
1585
  b.forEach(c);
1586
- throw new Wc(`${a}: ` + d.map(mc).join([", "]));
1586
+ throw new Vc(`${a}: ` + d.map(lc).join([", "]));
1587
1587
  }
1588
- function Yc(a, b, c, d, e) {
1588
+ function Xc(a, b, c, d, e) {
1589
1589
  var f = b.length;
1590
- 2 > f && P("argTypes array size mismatch! Must at least get return value and 'this' types!");
1590
+ 2 > f && Q("argTypes array size mismatch! Must at least get return value and 'this' types!");
1591
1591
  var g = null !== b[1] && null !== c, m = !1;
1592
1592
  for (c = 1; c < b.length; ++c) {
1593
1593
  if (null !== b[c] && void 0 === b[c].K) {
@@ -1597,7 +1597,7 @@ function Yc(a, b, c, d, e) {
1597
1597
  }
1598
1598
  var p = "void" !== b[0].name, l = f - 2, t = Array(l), u = [], x = [];
1599
1599
  return function() {
1600
- arguments.length !== l && P(`function ${a} called with ${arguments.length} arguments, expected ${l} args!`);
1600
+ arguments.length !== l && Q(`function ${a} called with ${arguments.length} arguments, expected ${l} args!`);
1601
1601
  x.length = 0;
1602
1602
  u.length = g ? 2 : 1;
1603
1603
  u[0] = e;
@@ -1610,7 +1610,7 @@ function Yc(a, b, c, d, e) {
1610
1610
  }
1611
1611
  q = d.apply(null, u);
1612
1612
  if (m) {
1613
- Bc(x);
1613
+ Ac(x);
1614
1614
  } else {
1615
1615
  for (var v = g ? 1 : 2; v < b.length; v++) {
1616
1616
  var y = 1 === v ? k : t[v - 2];
@@ -1621,103 +1621,103 @@ function Yc(a, b, c, d, e) {
1621
1621
  return k;
1622
1622
  };
1623
1623
  }
1624
- function Zc(a, b) {
1624
+ function Yc(a, b) {
1625
1625
  for (var c = [], d = 0; d < a; d++) {
1626
- c.push(J[b + 4 * d >> 2]);
1626
+ c.push(K[b + 4 * d >> 2]);
1627
1627
  }
1628
1628
  return c;
1629
1629
  }
1630
- function $c(a, b, c) {
1631
- a instanceof Object || P(`${c} with invalid "this": ${a}`);
1632
- a instanceof b.i.constructor || P(`${c} incompatible with "this" of type ${a.constructor.name}`);
1633
- a.g.o || P(`cannot call emscripten binding method ${c} on deleted object`);
1634
- return Mc(a.g.o, a.g.u.i, b.i);
1630
+ function Zc(a, b, c) {
1631
+ a instanceof Object || Q(`${c} with invalid "this": ${a}`);
1632
+ a instanceof b.i.constructor || Q(`${c} incompatible with "this" of type ${a.constructor.name}`);
1633
+ a.g.o || Q(`cannot call emscripten binding method ${c} on deleted object`);
1634
+ return Lc(a.g.o, a.g.u.i, b.i);
1635
1635
  }
1636
- function ad(a) {
1637
- a >= O.h && 0 === --O.get(a).ob && O.Qb(a);
1636
+ function $c(a) {
1637
+ a >= P.h && 0 === --P.get(a).ob && P.Qb(a);
1638
1638
  }
1639
- function bd(a, b, c) {
1639
+ function ad(a, b, c) {
1640
1640
  switch(b) {
1641
1641
  case 0:
1642
1642
  return function(d) {
1643
- return this.fromWireType((c ? A : C)[d]);
1643
+ return this.fromWireType((c ? C : G)[d]);
1644
1644
  };
1645
1645
  case 1:
1646
1646
  return function(d) {
1647
- return this.fromWireType((c ? G : wa)[d >> 1]);
1647
+ return this.fromWireType((c ? I : va)[d >> 1]);
1648
1648
  };
1649
1649
  case 2:
1650
1650
  return function(d) {
1651
- return this.fromWireType((c ? I : J)[d >> 2]);
1651
+ return this.fromWireType((c ? J : K)[d >> 2]);
1652
1652
  };
1653
1653
  default:
1654
1654
  throw new TypeError("Unknown integer type: " + a);
1655
1655
  }
1656
1656
  }
1657
- function Oc(a) {
1657
+ function Nc(a) {
1658
1658
  if (null === a) {
1659
1659
  return "null";
1660
1660
  }
1661
1661
  var b = typeof a;
1662
1662
  return "object" === b || "array" === b || "function" === b ? a.toString() : "" + a;
1663
1663
  }
1664
- function cd(a, b) {
1664
+ function bd(a, b) {
1665
1665
  switch(b) {
1666
1666
  case 2:
1667
1667
  return function(c) {
1668
- return this.fromWireType(xa[c >> 2]);
1668
+ return this.fromWireType(wa[c >> 2]);
1669
1669
  };
1670
1670
  case 3:
1671
1671
  return function(c) {
1672
- return this.fromWireType(ya[c >> 3]);
1672
+ return this.fromWireType(xa[c >> 3]);
1673
1673
  };
1674
1674
  default:
1675
1675
  throw new TypeError("Unknown float type: " + a);
1676
1676
  }
1677
1677
  }
1678
- function dd(a, b, c) {
1678
+ function cd(a, b, c) {
1679
1679
  switch(b) {
1680
1680
  case 0:
1681
1681
  return c ? function(d) {
1682
- return A[d];
1683
- } : function(d) {
1684
1682
  return C[d];
1683
+ } : function(d) {
1684
+ return G[d];
1685
1685
  };
1686
1686
  case 1:
1687
1687
  return c ? function(d) {
1688
- return G[d >> 1];
1688
+ return I[d >> 1];
1689
1689
  } : function(d) {
1690
- return wa[d >> 1];
1690
+ return va[d >> 1];
1691
1691
  };
1692
1692
  case 2:
1693
1693
  return c ? function(d) {
1694
- return I[d >> 2];
1695
- } : function(d) {
1696
1694
  return J[d >> 2];
1695
+ } : function(d) {
1696
+ return K[d >> 2];
1697
1697
  };
1698
1698
  default:
1699
1699
  throw new TypeError("Unknown integer type: " + a);
1700
1700
  }
1701
1701
  }
1702
- var ed = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void 0, fd = (a, b) => {
1702
+ var dd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void 0, ed = (a, b) => {
1703
1703
  var c = a >> 1;
1704
- for (var d = c + b / 2; !(c >= d) && wa[c];) {
1704
+ for (var d = c + b / 2; !(c >= d) && va[c];) {
1705
1705
  ++c;
1706
1706
  }
1707
1707
  c <<= 1;
1708
- if (32 < c - a && ed) {
1709
- return ed.decode(C.subarray(a, c));
1708
+ if (32 < c - a && dd) {
1709
+ return dd.decode(G.subarray(a, c));
1710
1710
  }
1711
1711
  c = "";
1712
1712
  for (d = 0; !(d >= b / 2); ++d) {
1713
- var e = G[a + 2 * d >> 1];
1713
+ var e = I[a + 2 * d >> 1];
1714
1714
  if (0 == e) {
1715
1715
  break;
1716
1716
  }
1717
1717
  c += String.fromCharCode(e);
1718
1718
  }
1719
1719
  return c;
1720
- }, gd = (a, b, c) => {
1720
+ }, fd = (a, b, c) => {
1721
1721
  void 0 === c && (c = 2147483647);
1722
1722
  if (2 > c) {
1723
1723
  return 0;
@@ -1726,13 +1726,13 @@ var ed = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1726
1726
  var d = b;
1727
1727
  c = c < 2 * a.length ? c / 2 : a.length;
1728
1728
  for (var e = 0; e < c; ++e) {
1729
- G[b >> 1] = a.charCodeAt(e), b += 2;
1729
+ I[b >> 1] = a.charCodeAt(e), b += 2;
1730
1730
  }
1731
- G[b >> 1] = 0;
1731
+ I[b >> 1] = 0;
1732
1732
  return b - d;
1733
- }, hd = a => 2 * a.length, jd = (a, b) => {
1733
+ }, gd = a => 2 * a.length, hd = (a, b) => {
1734
1734
  for (var c = 0, d = ""; !(c >= b / 4);) {
1735
- var e = I[a + 4 * c >> 2];
1735
+ var e = J[a + 4 * c >> 2];
1736
1736
  if (0 == e) {
1737
1737
  break;
1738
1738
  }
@@ -1740,7 +1740,7 @@ var ed = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1740
1740
  65536 <= e ? (e -= 65536, d += String.fromCharCode(55296 | e >> 10, 56320 | e & 1023)) : d += String.fromCharCode(e);
1741
1741
  }
1742
1742
  return d;
1743
- }, kd = (a, b, c) => {
1743
+ }, jd = (a, b, c) => {
1744
1744
  void 0 === c && (c = 2147483647);
1745
1745
  if (4 > c) {
1746
1746
  return 0;
@@ -1753,67 +1753,67 @@ var ed = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
1753
1753
  var g = a.charCodeAt(++e);
1754
1754
  f = 65536 + ((f & 1023) << 10) | g & 1023;
1755
1755
  }
1756
- I[b >> 2] = f;
1756
+ J[b >> 2] = f;
1757
1757
  b += 4;
1758
1758
  if (b + 4 > c) {
1759
1759
  break;
1760
1760
  }
1761
1761
  }
1762
- I[b >> 2] = 0;
1762
+ J[b >> 2] = 0;
1763
1763
  return b - d;
1764
- }, ld = a => {
1764
+ }, kd = a => {
1765
1765
  for (var b = 0, c = 0; c < a.length; ++c) {
1766
1766
  var d = a.charCodeAt(c);
1767
1767
  55296 <= d && 57343 >= d && ++c;
1768
1768
  b += 4;
1769
1769
  }
1770
1770
  return b;
1771
- }, md = {};
1772
- function nd(a) {
1773
- var b = md[a];
1774
- return void 0 === b ? R(a) : b;
1775
- }
1776
- var od = [];
1777
- function pd(a) {
1778
- var b = od.length;
1779
- od.push(a);
1771
+ }, ld = {};
1772
+ function md(a) {
1773
+ var b = ld[a];
1774
+ return void 0 === b ? S(a) : b;
1775
+ }
1776
+ var nd = [];
1777
+ function od(a) {
1778
+ var b = nd.length;
1779
+ nd.push(a);
1780
1780
  return b;
1781
1781
  }
1782
- function qd(a, b) {
1782
+ function pd(a, b) {
1783
1783
  for (var c = Array(a), d = 0; d < a; ++d) {
1784
- c[d] = pc(J[b + 4 * d >> 2], "parameter " + d);
1784
+ c[d] = oc(K[b + 4 * d >> 2], "parameter " + d);
1785
1785
  }
1786
1786
  return c;
1787
1787
  }
1788
- var rd = [], sd = [];
1789
- function td(a) {
1788
+ var qd = [], rd = [];
1789
+ function sd(a) {
1790
1790
  a.yc = a.getExtension("WEBGL_draw_instanced_base_vertex_base_instance");
1791
1791
  }
1792
- function ud(a) {
1792
+ function td(a) {
1793
1793
  a.Gc = a.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance");
1794
1794
  }
1795
- var vd = 1, wd = [], V = [], xd = [], yd = [], W = [], zd = [], Ad = [], r = [], Bd = {};
1795
+ var ud = 1, vd = [], W = [], wd = [], xd = [], yd = [], zd = [], Ad = [], r = [], Bd = {};
1796
1796
  function X(a) {
1797
1797
  Cd || (Cd = a);
1798
1798
  }
1799
1799
  function ha(a) {
1800
- for (var b = vd++, c = a.length; c < b; c++) {
1800
+ for (var b = ud++, c = a.length; c < b; c++) {
1801
1801
  a[c] = null;
1802
1802
  }
1803
1803
  return b;
1804
1804
  }
1805
1805
  function ja(a) {
1806
1806
  Dd = r[a];
1807
- n.wc = Y = Dd && Dd.H;
1808
- return !(a && !Y);
1807
+ n.wc = Z = Dd && Dd.H;
1808
+ return !(a && !Z);
1809
1809
  }
1810
1810
  function ia(a) {
1811
1811
  a || (a = Dd);
1812
1812
  if (!a.Sb) {
1813
1813
  a.Sb = !0;
1814
1814
  var b = a.H;
1815
+ sd(b);
1815
1816
  td(b);
1816
- ud(b);
1817
1817
  2 <= a.version && (b.Ya = b.getExtension("EXT_disjoint_timer_query_webgl2"));
1818
1818
  if (2 > a.version || !b.Ya) {
1819
1819
  b.Ya = b.getExtension("EXT_disjoint_timer_query");
@@ -1844,9 +1844,9 @@ var Fd = {}, Hd = () => {
1844
1844
  }, Gd, Id = [];
1845
1845
  function Jd(a, b, c, d) {
1846
1846
  for (var e = 0; e < a; e++) {
1847
- var f = Y[c](), g = f && ha(d);
1847
+ var f = Z[c](), g = f && ha(d);
1848
1848
  f ? (f.name = g, d[g] = f) : X(1282);
1849
- I[b + 4 * e >> 2] = g;
1849
+ J[b + 4 * e >> 2] = g;
1850
1850
  }
1851
1851
  }
1852
1852
  function Kd(a, b) {
@@ -1863,7 +1863,7 @@ function Kd(a, b) {
1863
1863
  c = 0;
1864
1864
  break;
1865
1865
  case 34466:
1866
- var d = Y.getParameter(34467);
1866
+ var d = Z.getParameter(34467);
1867
1867
  c = d ? d.length : 0;
1868
1868
  break;
1869
1869
  case 33309:
@@ -1871,7 +1871,7 @@ function Kd(a, b) {
1871
1871
  X(1282);
1872
1872
  return;
1873
1873
  }
1874
- c = 2 * (Y.getSupportedExtensions() || []).length;
1874
+ c = 2 * (Z.getSupportedExtensions() || []).length;
1875
1875
  break;
1876
1876
  case 33307:
1877
1877
  case 33308:
@@ -1882,7 +1882,7 @@ function Kd(a, b) {
1882
1882
  c = 33307 == a ? 3 : 0;
1883
1883
  }
1884
1884
  if (void 0 === c) {
1885
- switch(d = Y.getParameter(a), typeof d) {
1885
+ switch(d = Z.getParameter(a), typeof d) {
1886
1886
  case "number":
1887
1887
  c = d;
1888
1888
  break;
@@ -1923,7 +1923,7 @@ function Kd(a, b) {
1923
1923
  } else {
1924
1924
  if (d instanceof Float32Array || d instanceof Uint32Array || d instanceof Int32Array || d instanceof Array) {
1925
1925
  for (a = 0; a < d.length; ++a) {
1926
- I[b + 4 * a >> 2] = d[a];
1926
+ J[b + 4 * a >> 2] = d[a];
1927
1927
  }
1928
1928
  return;
1929
1929
  }
@@ -1931,25 +1931,25 @@ function Kd(a, b) {
1931
1931
  c = d.name | 0;
1932
1932
  } catch (e) {
1933
1933
  X(1280);
1934
- ra("GL_INVALID_ENUM in glGet0v: Unknown object returned from WebGL getParameter(" + a + ")! (error: " + e + ")");
1934
+ z("GL_INVALID_ENUM in glGet0v: Unknown object returned from WebGL getParameter(" + a + ")! (error: " + e + ")");
1935
1935
  return;
1936
1936
  }
1937
1937
  }
1938
1938
  break;
1939
1939
  default:
1940
1940
  X(1280);
1941
- ra("GL_INVALID_ENUM in glGet0v: Native code calling glGet0v(" + a + ") and it returns " + d + " of type " + typeof d + "!");
1941
+ z("GL_INVALID_ENUM in glGet0v: Native code calling glGet0v(" + a + ") and it returns " + d + " of type " + typeof d + "!");
1942
1942
  return;
1943
1943
  }
1944
1944
  }
1945
- I[b >> 2] = c;
1945
+ J[b >> 2] = c;
1946
1946
  } else {
1947
1947
  X(1281);
1948
1948
  }
1949
1949
  }
1950
1950
  var Md = a => {
1951
- var b = eb(a) + 1, c = Ld(b);
1952
- c && fb(a, C, c, b);
1951
+ var b = db(a) + 1, c = Ld(b);
1952
+ c && eb(a, G, c, b);
1953
1953
  return c;
1954
1954
  };
1955
1955
  function Nd(a) {
@@ -2007,9 +2007,9 @@ var Od = a => 0 === a % 4 && (0 !== a % 100 || 0 === a % 400), Pd = [31, 29, 31,
2007
2007
  v = m(v);
2008
2008
  return 0 >= g(q, k) ? 0 >= g(v, k) ? k.getFullYear() + 1 : k.getFullYear() : k.getFullYear() - 1;
2009
2009
  }
2010
- var l = I[d + 40 >> 2];
2011
- d = {jc:I[d >> 2], ic:I[d + 4 >> 2], Ga:I[d + 8 >> 2], Ra:I[d + 12 >> 2], Ha:I[d + 16 >> 2], ca:I[d + 20 >> 2], R:I[d + 24 >> 2], ba:I[d + 28 >> 2], Mc:I[d + 32 >> 2], hc:I[d + 36 >> 2], kc:l ? l ? K(C, l) : "" : ""};
2012
- c = c ? K(C, c) : "";
2010
+ var l = J[d + 40 >> 2];
2011
+ d = {jc:J[d >> 2], ic:J[d + 4 >> 2], Ga:J[d + 8 >> 2], Ra:J[d + 12 >> 2], Ha:J[d + 16 >> 2], ca:J[d + 20 >> 2], R:J[d + 24 >> 2], ba:J[d + 28 >> 2], Mc:J[d + 32 >> 2], hc:J[d + 36 >> 2], kc:l ? l ? L(G, l) : "" : ""};
2012
+ c = c ? L(G, c) : "";
2013
2013
  l = {"%c":"%a %b %d %H:%M:%S %Y", "%D":"%m/%d/%y", "%F":"%Y-%m-%d", "%h":"%b", "%r":"%I:%M:%S %p", "%R":"%H:%M", "%T":"%H:%M:%S", "%x":"%m/%d/%y", "%X":"%H:%M:%S", "%Ec":"%c", "%EC":"%C", "%Ex":"%m/%d/%y", "%EX":"%H:%M:%S", "%Ey":"%y", "%EY":"%Y", "%Od":"%d", "%Oe":"%e", "%OH":"%H", "%OI":"%I", "%Om":"%m", "%OM":"%M", "%OS":"%S", "%Ou":"%u", "%OU":"%U", "%OV":"%V", "%Ow":"%w", "%OW":"%W", "%Oy":"%y",};
2014
2014
  for (var t in l) {
2015
2015
  c = c.replace(new RegExp(t, "g"), l[t]);
@@ -2045,26 +2045,26 @@ var Od = a => 0 === a % 4 && (0 !== a % 100 || 0 === a % 400), Pd = [31, 29, 31,
2045
2045
  c.includes(t) && (c = c.replace(new RegExp(t, "g"), l[t](d)));
2046
2046
  }
2047
2047
  c = c.replace(/\0\0/g, "%");
2048
- t = gb(c, !1);
2048
+ t = fb(c, !1);
2049
2049
  if (t.length > b) {
2050
2050
  return 0;
2051
2051
  }
2052
- A.set(t, a);
2052
+ C.set(t, a);
2053
2053
  return t.length - 1;
2054
2054
  };
2055
- function Fb(a, b, c, d) {
2055
+ function Eb(a, b, c, d) {
2056
2056
  a || (a = this);
2057
2057
  this.parent = a;
2058
2058
  this.T = a.T;
2059
2059
  this.Aa = null;
2060
- this.id = xb++;
2060
+ this.id = wb++;
2061
2061
  this.name = b;
2062
2062
  this.mode = c;
2063
2063
  this.l = {};
2064
2064
  this.m = {};
2065
2065
  this.Ca = d;
2066
2066
  }
2067
- Object.defineProperties(Fb.prototype, {read:{get:function() {
2067
+ Object.defineProperties(Eb.prototype, {read:{get:function() {
2068
2068
  return 365 === (this.mode & 365);
2069
2069
  }, set:function(a) {
2070
2070
  a ? this.mode |= 365 : this.mode &= -366;
@@ -2073,44 +2073,44 @@ Object.defineProperties(Fb.prototype, {read:{get:function() {
2073
2073
  }, set:function(a) {
2074
2074
  a ? this.mode |= 146 : this.mode &= -147;
2075
2075
  }}});
2076
- Sb();
2077
- yb = Array(4096);
2078
- Mb(M, "/");
2079
- N("/tmp", 16895, 0);
2080
- N("/home", 16895, 0);
2081
- N("/home/web_user", 16895, 0);
2076
+ Rb();
2077
+ xb = Array(4096);
2078
+ Lb(N, "/");
2079
+ O("/tmp", 16895, 0);
2080
+ O("/home", 16895, 0);
2081
+ O("/home/web_user", 16895, 0);
2082
2082
  (() => {
2083
- N("/dev", 16895, 0);
2084
- jb(259, {read:() => 0, write:(d, e, f, g) => g,});
2085
- Nb("/dev/null", 259);
2086
- ib(1280, lb);
2087
- ib(1536, mb);
2088
- Nb("/dev/tty", 1280);
2089
- Nb("/dev/tty1", 1536);
2083
+ O("/dev", 16895, 0);
2084
+ ib(259, {read:() => 0, write:(d, e, f, g) => g,});
2085
+ Mb("/dev/null", 259);
2086
+ hb(1280, kb);
2087
+ hb(1536, lb);
2088
+ Mb("/dev/tty", 1280);
2089
+ Mb("/dev/tty1", 1536);
2090
2090
  var a = new Uint8Array(1024), b = 0, c = () => {
2091
- 0 === b && (b = ab(a).byteLength);
2091
+ 0 === b && (b = $a(a).byteLength);
2092
2092
  return a[--b];
2093
2093
  };
2094
- Vb("random", c);
2095
- Vb("urandom", c);
2096
- N("/dev/shm", 16895, 0);
2097
- N("/dev/shm/tmp", 16895, 0);
2094
+ Ub("random", c);
2095
+ Ub("urandom", c);
2096
+ O("/dev/shm", 16895, 0);
2097
+ O("/dev/shm/tmp", 16895, 0);
2098
2098
  })();
2099
2099
  (() => {
2100
- N("/proc", 16895, 0);
2101
- var a = N("/proc/self", 16895, 0);
2102
- N("/proc/self/fd", 16895, 0);
2103
- Mb({T:() => {
2104
- var b = pb(a, "fd", 16895, 73);
2100
+ O("/proc", 16895, 0);
2101
+ var a = O("/proc/self", 16895, 0);
2102
+ O("/proc/self/fd", 16895, 0);
2103
+ Lb({T:() => {
2104
+ var b = ob(a, "fd", 16895, 73);
2105
2105
  b.l = {ma:(c, d) => {
2106
- var e = Jb(+d);
2106
+ var e = Ib(+d);
2107
2107
  c = {parent:null, T:{gb:"fake"}, l:{na:() => e.path},};
2108
2108
  return c.parent = c;
2109
2109
  }};
2110
2110
  return b;
2111
2111
  }}, "/proc/self/fd");
2112
2112
  })();
2113
- Object.assign(ac.prototype, {get(a) {
2113
+ Object.assign($b.prototype, {get(a) {
2114
2114
  return this.M[a];
2115
2115
  }, has(a) {
2116
2116
  return void 0 !== this.M[a];
@@ -2122,48 +2122,48 @@ Object.assign(ac.prototype, {get(a) {
2122
2122
  this.M[a] = void 0;
2123
2123
  this.bb.push(a);
2124
2124
  }});
2125
- bc = n.BindingError = class extends Error {
2125
+ ac = n.BindingError = class extends Error {
2126
2126
  constructor(a) {
2127
2127
  super(a);
2128
2128
  this.name = "BindingError";
2129
2129
  }
2130
2130
  };
2131
- O.M.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
2132
- O.h = O.M.length;
2131
+ P.M.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
2132
+ P.h = P.M.length;
2133
2133
  n.count_emval_handles = function() {
2134
- for (var a = 0, b = O.h; b < O.M.length; ++b) {
2135
- void 0 !== O.M[b] && ++a;
2134
+ for (var a = 0, b = P.h; b < P.M.length; ++b) {
2135
+ void 0 !== P.M[b] && ++a;
2136
2136
  }
2137
2137
  return a;
2138
2138
  };
2139
- ec = n.PureVirtualError = dc("PureVirtualError");
2139
+ dc = n.PureVirtualError = cc("PureVirtualError");
2140
2140
  for (var Sd = Array(256), Td = 0; 256 > Td; ++Td) {
2141
2141
  Sd[Td] = String.fromCharCode(Td);
2142
2142
  }
2143
- fc = Sd;
2143
+ ec = Sd;
2144
2144
  n.getInheritedInstanceCount = function() {
2145
- return Object.keys(jc).length;
2145
+ return Object.keys(ic).length;
2146
2146
  };
2147
2147
  n.getLiveInheritedInstances = function() {
2148
2148
  var a = [], b;
2149
- for (b in jc) {
2150
- jc.hasOwnProperty(b) && a.push(jc[b]);
2149
+ for (b in ic) {
2150
+ ic.hasOwnProperty(b) && a.push(ic[b]);
2151
2151
  }
2152
2152
  return a;
2153
2153
  };
2154
- n.flushPendingDeletes = hc;
2154
+ n.flushPendingDeletes = gc;
2155
2155
  n.setDelayFunction = function(a) {
2156
- ic = a;
2157
- gc.length && ic && ic(hc);
2156
+ hc = a;
2157
+ fc.length && hc && hc(gc);
2158
2158
  };
2159
- wc = n.InternalError = class extends Error {
2159
+ vc = n.InternalError = class extends Error {
2160
2160
  constructor(a) {
2161
2161
  super(a);
2162
2162
  this.name = "InternalError";
2163
2163
  }
2164
2164
  };
2165
- Ic.prototype.isAliasOf = function(a) {
2166
- if (!(this instanceof Ic && a instanceof Ic)) {
2165
+ Hc.prototype.isAliasOf = function(a) {
2166
+ if (!(this instanceof Hc && a instanceof Hc)) {
2167
2167
  return !1;
2168
2168
  }
2169
2169
  var b = this.g.u.i, c = this.g.o, d = a.g.u.i;
@@ -2175,58 +2175,58 @@ Ic.prototype.isAliasOf = function(a) {
2175
2175
  }
2176
2176
  return b === d && c === a;
2177
2177
  };
2178
- Ic.prototype.clone = function() {
2179
- this.g.o || Hc(this);
2178
+ Hc.prototype.clone = function() {
2179
+ this.g.o || Gc(this);
2180
2180
  if (this.g.ja) {
2181
2181
  return this.g.count.value += 1, this;
2182
2182
  }
2183
- var a = zc, b = Object, c = b.create, d = Object.getPrototypeOf(this), e = this.g;
2183
+ var a = yc, b = Object, c = b.create, d = Object.getPrototypeOf(this), e = this.g;
2184
2184
  a = a(c.call(b, d, {g:{value:{count:e.count, ga:e.ga, ja:e.ja, o:e.o, u:e.u, G:e.G, L:e.L,},}}));
2185
2185
  a.g.count.value += 1;
2186
2186
  a.g.ga = !1;
2187
2187
  return a;
2188
2188
  };
2189
- Ic.prototype["delete"] = function() {
2190
- this.g.o || Hc(this);
2191
- this.g.ga && !this.g.ja && P("Object already scheduled for deletion");
2192
- qc(this);
2193
- sc(this.g);
2189
+ Hc.prototype["delete"] = function() {
2190
+ this.g.o || Gc(this);
2191
+ this.g.ga && !this.g.ja && Q("Object already scheduled for deletion");
2192
+ pc(this);
2193
+ rc(this.g);
2194
2194
  this.g.ja || (this.g.G = void 0, this.g.o = void 0);
2195
2195
  };
2196
- Ic.prototype.isDeleted = function() {
2196
+ Hc.prototype.isDeleted = function() {
2197
2197
  return !this.g.o;
2198
2198
  };
2199
- Ic.prototype.deleteLater = function() {
2200
- this.g.o || Hc(this);
2201
- this.g.ga && !this.g.ja && P("Object already scheduled for deletion");
2202
- gc.push(this);
2203
- 1 === gc.length && ic && ic(hc);
2199
+ Hc.prototype.deleteLater = function() {
2200
+ this.g.o || Gc(this);
2201
+ this.g.ga && !this.g.ja && Q("Object already scheduled for deletion");
2202
+ fc.push(this);
2203
+ 1 === fc.length && hc && hc(gc);
2204
2204
  this.g.ga = !0;
2205
2205
  return this;
2206
2206
  };
2207
- Rc.prototype.Mb = function(a) {
2207
+ Qc.prototype.Mb = function(a) {
2208
2208
  this.mb && (a = this.mb(a));
2209
2209
  return a;
2210
2210
  };
2211
- Rc.prototype.Xa = function(a) {
2211
+ Qc.prototype.Xa = function(a) {
2212
2212
  this.V && this.V(a);
2213
2213
  };
2214
- Rc.prototype.argPackAdvance = 8;
2215
- Rc.prototype.readValueFromPointer = Cc;
2216
- Rc.prototype.deleteObject = function(a) {
2214
+ Qc.prototype.argPackAdvance = 8;
2215
+ Qc.prototype.readValueFromPointer = Bc;
2216
+ Qc.prototype.deleteObject = function(a) {
2217
2217
  if (null !== a) {
2218
2218
  a["delete"]();
2219
2219
  }
2220
2220
  };
2221
- Rc.prototype.fromWireType = function(a) {
2221
+ Qc.prototype.fromWireType = function(a) {
2222
2222
  function b() {
2223
- return this.ya ? yc(this.i.N, {u:this.$b, o:c, L:this, G:a,}) : yc(this.i.N, {u:this, o:a,});
2223
+ return this.ya ? xc(this.i.N, {u:this.$b, o:c, L:this, G:a,}) : xc(this.i.N, {u:this, o:a,});
2224
2224
  }
2225
2225
  var c = this.Mb(a);
2226
2226
  if (!c) {
2227
2227
  return this.Xa(a), null;
2228
2228
  }
2229
- var d = vc(this.i, c);
2229
+ var d = uc(this.i, c);
2230
2230
  if (void 0 !== d) {
2231
2231
  if (0 === d.g.count.value) {
2232
2232
  return d.g.o = c, d.g.G = a, d.clone();
@@ -2236,35 +2236,35 @@ Rc.prototype.fromWireType = function(a) {
2236
2236
  return d;
2237
2237
  }
2238
2238
  d = this.i.Lb(c);
2239
- d = uc[d];
2239
+ d = tc[d];
2240
2240
  if (!d) {
2241
2241
  return b.call(this);
2242
2242
  }
2243
2243
  d = this.xa ? d.Db : d.pointerType;
2244
- var e = tc(c, this.i, d.i);
2245
- return null === e ? b.call(this) : this.ya ? yc(d.i.N, {u:d, o:e, L:this, G:a,}) : yc(d.i.N, {u:d, o:e,});
2244
+ var e = sc(c, this.i, d.i);
2245
+ return null === e ? b.call(this) : this.ya ? xc(d.i.N, {u:d, o:e, L:this, G:a,}) : xc(d.i.N, {u:d, o:e,});
2246
2246
  };
2247
- Wc = n.UnboundTypeError = dc("UnboundTypeError");
2248
- for (var Y, Ud = 0; 32 > Ud; ++Ud) {
2247
+ Vc = n.UnboundTypeError = cc("UnboundTypeError");
2248
+ for (var Z, Ud = 0; 32 > Ud; ++Ud) {
2249
2249
  Id.push(Array(Ud));
2250
2250
  }
2251
2251
  var Wd = {__syscall_fcntl64:function(a, b, c) {
2252
- Xb = c;
2252
+ Wb = c;
2253
2253
  try {
2254
- var d = Jb(a);
2254
+ var d = Ib(a);
2255
2255
  switch(b) {
2256
2256
  case 0:
2257
- var e = Yb();
2258
- return 0 > e ? -28 : Lb(d, e).W;
2257
+ var e = Xb();
2258
+ return 0 > e ? -28 : Kb(d, e).W;
2259
2259
  case 1:
2260
2260
  case 2:
2261
2261
  return 0;
2262
2262
  case 3:
2263
2263
  return d.flags;
2264
2264
  case 4:
2265
- return e = Yb(), d.flags |= e, 0;
2265
+ return e = Xb(), d.flags |= e, 0;
2266
2266
  case 5:
2267
- return e = Yb(), G[e + 0 >> 1] = 2, 0;
2267
+ return e = Xb(), I[e + 0 >> 1] = 2, 0;
2268
2268
  case 6:
2269
2269
  case 7:
2270
2270
  return 0;
@@ -2272,20 +2272,20 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2272
2272
  case 8:
2273
2273
  return -28;
2274
2274
  case 9:
2275
- return I[Vd() >> 2] = 28, -1;
2275
+ return J[Vd() >> 2] = 28, -1;
2276
2276
  default:
2277
2277
  return -28;
2278
2278
  }
2279
2279
  } catch (f) {
2280
- if ("undefined" == typeof Wb || "ErrnoError" !== f.name) {
2280
+ if ("undefined" == typeof Vb || "ErrnoError" !== f.name) {
2281
2281
  throw f;
2282
2282
  }
2283
2283
  return -f.$;
2284
2284
  }
2285
2285
  }, __syscall_ioctl:function(a, b, c) {
2286
- Xb = c;
2286
+ Wb = c;
2287
2287
  try {
2288
- var d = Jb(a);
2288
+ var d = Ib(a);
2289
2289
  switch(b) {
2290
2290
  case 21509:
2291
2291
  return d.s ? 0 : -59;
@@ -2295,13 +2295,13 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2295
2295
  }
2296
2296
  if (d.s.U.Ub) {
2297
2297
  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,];
2298
- var e = Yb();
2299
- I[e >> 2] = 25856;
2300
- I[e + 4 >> 2] = 5;
2301
- I[e + 8 >> 2] = 191;
2302
- I[e + 12 >> 2] = 35387;
2298
+ var e = Xb();
2299
+ J[e >> 2] = 25856;
2300
+ J[e + 4 >> 2] = 5;
2301
+ J[e + 8 >> 2] = 191;
2302
+ J[e + 12 >> 2] = 35387;
2303
2303
  for (var f = 0; 32 > f; f++) {
2304
- A[e + f + 17 >> 0] = b[f] || 0;
2304
+ C[e + f + 17 >> 0] = b[f] || 0;
2305
2305
  }
2306
2306
  }
2307
2307
  return 0;
@@ -2316,8 +2316,8 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2316
2316
  return -59;
2317
2317
  }
2318
2318
  if (d.s.U.Vb) {
2319
- for (e = Yb(), b = [], f = 0; 32 > f; f++) {
2320
- b.push(A[e + f + 17 >> 0]);
2319
+ for (e = Xb(), b = [], f = 0; 32 > f; f++) {
2320
+ b.push(C[e + f + 17 >> 0]);
2321
2321
  }
2322
2322
  }
2323
2323
  return 0;
@@ -2325,21 +2325,21 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2325
2325
  if (!d.s) {
2326
2326
  return -59;
2327
2327
  }
2328
- e = Yb();
2329
- return I[e >> 2] = 0;
2328
+ e = Xb();
2329
+ return J[e >> 2] = 0;
2330
2330
  case 21520:
2331
2331
  return d.s ? -28 : -59;
2332
2332
  case 21531:
2333
- e = Yb();
2333
+ e = Xb();
2334
2334
  if (!d.m.Tb) {
2335
- throw new L(59);
2335
+ throw new M(59);
2336
2336
  }
2337
2337
  return d.m.Tb(d, b, e);
2338
2338
  case 21523:
2339
2339
  if (!d.s) {
2340
2340
  return -59;
2341
2341
  }
2342
- d.s.U.Wb && (f = [24, 80], e = Yb(), G[e >> 1] = f[0], G[e + 2 >> 1] = f[1]);
2342
+ d.s.U.Wb && (f = [24, 80], e = Xb(), I[e >> 1] = f[0], I[e + 2 >> 1] = f[1]);
2343
2343
  return 0;
2344
2344
  case 21524:
2345
2345
  return d.s ? 0 : -59;
@@ -2349,84 +2349,84 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2349
2349
  return -28;
2350
2350
  }
2351
2351
  } catch (g) {
2352
- if ("undefined" == typeof Wb || "ErrnoError" !== g.name) {
2352
+ if ("undefined" == typeof Vb || "ErrnoError" !== g.name) {
2353
2353
  throw g;
2354
2354
  }
2355
2355
  return -g.$;
2356
2356
  }
2357
2357
  }, __syscall_openat:function(a, b, c, d) {
2358
- Xb = d;
2358
+ Wb = d;
2359
2359
  try {
2360
- b = b ? K(C, b) : "";
2360
+ b = b ? L(G, b) : "";
2361
2361
  var e = b;
2362
2362
  if ("/" === e.charAt(0)) {
2363
2363
  b = e;
2364
2364
  } else {
2365
- var f = -100 === a ? "/" : Jb(a).path;
2365
+ var f = -100 === a ? "/" : Ib(a).path;
2366
2366
  if (0 == e.length) {
2367
- throw new L(44);
2367
+ throw new M(44);
2368
2368
  }
2369
- b = Xa(f + "/" + e);
2369
+ b = Wa(f + "/" + e);
2370
2370
  }
2371
- var g = d ? Yb() : 0;
2372
- return Qb(b, c, g).W;
2371
+ var g = d ? Xb() : 0;
2372
+ return Pb(b, c, g).W;
2373
2373
  } catch (m) {
2374
- if ("undefined" == typeof Wb || "ErrnoError" !== m.name) {
2374
+ if ("undefined" == typeof Vb || "ErrnoError" !== m.name) {
2375
2375
  throw m;
2376
2376
  }
2377
2377
  return -m.$;
2378
2378
  }
2379
2379
  }, _embind_create_inheriting_constructor:function(a, b, c) {
2380
- a = R(a);
2381
- b = pc(b, "wrapper");
2382
- c = Q(c);
2380
+ a = S(a);
2381
+ b = oc(b, "wrapper");
2382
+ c = R(c);
2383
2383
  var d = [].slice, e = b.i, f = e.N, g = e.A.N, m = e.A.constructor;
2384
- a = $b(a, function() {
2384
+ a = Zb(a, function() {
2385
2385
  e.A.kb.forEach(function(l) {
2386
2386
  if (this[l] === g[l]) {
2387
- throw new ec(`Pure virtual function ${l} must be implemented in JavaScript`);
2387
+ throw new dc(`Pure virtual function ${l} must be implemented in JavaScript`);
2388
2388
  }
2389
2389
  }.bind(this));
2390
2390
  Object.defineProperty(this, "__parent", {value:f});
2391
2391
  this.__construct.apply(this, d.call(arguments));
2392
2392
  });
2393
2393
  f.__construct = function() {
2394
- this === f && P("Pass correct 'this' to __construct");
2394
+ this === f && Q("Pass correct 'this' to __construct");
2395
2395
  var l = m.implement.apply(void 0, [this].concat(d.call(arguments)));
2396
- qc(l);
2396
+ pc(l);
2397
2397
  var t = l.g;
2398
2398
  l.notifyOnDestruction();
2399
2399
  t.ja = !0;
2400
2400
  Object.defineProperties(this, {g:{value:t}});
2401
- zc(this);
2401
+ yc(this);
2402
2402
  l = t.o;
2403
- l = kc(e, l);
2404
- jc.hasOwnProperty(l) ? P(`Tried to register registered instance: ${l}`) : jc[l] = this;
2403
+ l = jc(e, l);
2404
+ ic.hasOwnProperty(l) ? Q(`Tried to register registered instance: ${l}`) : ic[l] = this;
2405
2405
  };
2406
2406
  f.__destruct = function() {
2407
- this === f && P("Pass correct 'this' to __destruct");
2408
- qc(this);
2407
+ this === f && Q("Pass correct 'this' to __destruct");
2408
+ pc(this);
2409
2409
  var l = this.g.o;
2410
- l = kc(e, l);
2411
- jc.hasOwnProperty(l) ? delete jc[l] : P(`Tried to unregister unregistered instance: ${l}`);
2410
+ l = jc(e, l);
2411
+ ic.hasOwnProperty(l) ? delete ic[l] : Q(`Tried to unregister unregistered instance: ${l}`);
2412
2412
  };
2413
2413
  a.prototype = Object.create(f);
2414
2414
  for (var p in c) {
2415
2415
  a.prototype[p] = c[p];
2416
2416
  }
2417
- return cc(a);
2417
+ return bc(a);
2418
2418
  }, _embind_finalize_value_object:function(a) {
2419
- var b = Ac[a];
2420
- delete Ac[a];
2419
+ var b = zc[a];
2420
+ delete zc[a];
2421
2421
  var c = b.Pa, d = b.V, e = b.Za, f = e.map(g => g.Pb).concat(e.map(g => g.dc));
2422
- S([a], f, g => {
2422
+ T([a], f, g => {
2423
2423
  var m = {};
2424
2424
  e.forEach((p, l) => {
2425
2425
  var t = g[l], u = p.Nb, x = p.Ob, k = g[l + e.length], q = p.cc, v = p.ec;
2426
2426
  m[p.Jb] = {read:y => t.fromWireType(u(x, y)), write:(y, B) => {
2427
2427
  var D = [];
2428
2428
  q(v, y, k.toWireType(D, B));
2429
- Bc(D);
2429
+ Ac(D);
2430
2430
  }};
2431
2431
  });
2432
2432
  return [{name:b.name, fromWireType:function(p) {
@@ -2448,85 +2448,85 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2448
2448
  }
2449
2449
  null !== p && p.push(d, u);
2450
2450
  return u;
2451
- }, argPackAdvance:8, readValueFromPointer:Cc, K:d,}];
2451
+ }, argPackAdvance:8, readValueFromPointer:Bc, K:d,}];
2452
2452
  });
2453
2453
  }, _embind_register_bigint:function() {
2454
2454
  }, _embind_register_bool:function(a, b, c, d, e) {
2455
- var f = Fc(c);
2456
- b = R(b);
2457
- T(a, {name:b, fromWireType:function(g) {
2455
+ var f = Ec(c);
2456
+ b = S(b);
2457
+ U(a, {name:b, fromWireType:function(g) {
2458
2458
  return !!g;
2459
2459
  }, toWireType:function(g, m) {
2460
2460
  return m ? d : e;
2461
2461
  }, argPackAdvance:8, readValueFromPointer:function(g) {
2462
2462
  if (1 === c) {
2463
- var m = A;
2463
+ var m = C;
2464
2464
  } else if (2 === c) {
2465
- m = G;
2466
- } else if (4 === c) {
2467
2465
  m = I;
2466
+ } else if (4 === c) {
2467
+ m = J;
2468
2468
  } else {
2469
2469
  throw new TypeError("Unknown boolean type size: " + b);
2470
2470
  }
2471
2471
  return this.fromWireType(m[g >> f]);
2472
2472
  }, K:null,});
2473
2473
  }, _embind_register_class:function(a, b, c, d, e, f, g, m, p, l, t, u, x) {
2474
- t = R(t);
2475
- f = U(e, f);
2476
- m && (m = U(g, m));
2477
- l && (l = U(p, l));
2478
- x = U(u, x);
2479
- var k = Zb(t);
2480
- Kc(k, function() {
2481
- Xc(`Cannot construct ${t} due to unbound types`, [d]);
2474
+ t = S(t);
2475
+ f = V(e, f);
2476
+ m && (m = V(g, m));
2477
+ l && (l = V(p, l));
2478
+ x = V(u, x);
2479
+ var k = Yb(t);
2480
+ Jc(k, function() {
2481
+ Wc(`Cannot construct ${t} due to unbound types`, [d]);
2482
2482
  });
2483
- S([a, b, c], d ? [d] : [], function(q) {
2483
+ T([a, b, c], d ? [d] : [], function(q) {
2484
2484
  q = q[0];
2485
2485
  if (d) {
2486
2486
  var v = q.i;
2487
2487
  var y = v.N;
2488
2488
  } else {
2489
- y = Ic.prototype;
2489
+ y = Hc.prototype;
2490
2490
  }
2491
- q = $b(k, function() {
2491
+ q = Zb(k, function() {
2492
2492
  if (Object.getPrototypeOf(this) !== B) {
2493
- throw new bc("Use 'new' to construct " + t);
2493
+ throw new ac("Use 'new' to construct " + t);
2494
2494
  }
2495
2495
  if (void 0 === D.Z) {
2496
- throw new bc(t + " has no accessible constructor");
2496
+ throw new ac(t + " has no accessible constructor");
2497
2497
  }
2498
2498
  var H = D.Z[arguments.length];
2499
2499
  if (void 0 === H) {
2500
- throw new bc(`Tried to invoke ctor of ${t} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(D.Z).toString()}) parameters instead!`);
2500
+ throw new ac(`Tried to invoke ctor of ${t} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(D.Z).toString()}) parameters instead!`);
2501
2501
  }
2502
2502
  return H.apply(this, arguments);
2503
2503
  });
2504
2504
  var B = Object.create(y, {constructor:{value:q},});
2505
2505
  q.prototype = B;
2506
- var D = new Lc(t, q, B, x, v, f, m, l);
2506
+ var D = new Kc(t, q, B, x, v, f, m, l);
2507
2507
  D.A && (void 0 === D.A.qa && (D.A.qa = []), D.A.qa.push(D));
2508
- v = new Rc(t, D, !0, !1);
2509
- y = new Rc(t + "*", D, !1, !1);
2510
- var E = new Rc(t + " const*", D, !1, !0);
2511
- uc[a] = {pointerType:y, Db:E};
2512
- Sc(k, q);
2508
+ v = new Qc(t, D, !0, !1);
2509
+ y = new Qc(t + "*", D, !1, !1);
2510
+ var E = new Qc(t + " const*", D, !1, !0);
2511
+ tc[a] = {pointerType:y, Db:E};
2512
+ Rc(k, q);
2513
2513
  return [v, y, E];
2514
2514
  });
2515
2515
  }, _embind_register_class_class_function:function(a, b, c, d, e, f, g) {
2516
- var m = Zc(c, d);
2517
- b = R(b);
2518
- f = U(e, f);
2519
- S([], [a], function(p) {
2516
+ var m = Yc(c, d);
2517
+ b = S(b);
2518
+ f = V(e, f);
2519
+ T([], [a], function(p) {
2520
2520
  function l() {
2521
- Xc(`Cannot call ${t} due to unbound types`, m);
2521
+ Wc(`Cannot call ${t} due to unbound types`, m);
2522
2522
  }
2523
2523
  p = p[0];
2524
2524
  var t = `${p.name}.${b}`;
2525
2525
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2526
2526
  var u = p.i.constructor;
2527
- void 0 === u[b] ? (l.fa = c - 1, u[b] = l) : (Jc(u, b, t), u[b].B[c - 1] = l);
2528
- S([], m, function(x) {
2529
- x = Yc(t, [x[0], null].concat(x.slice(1)), null, f, g);
2527
+ void 0 === u[b] ? (l.fa = c - 1, u[b] = l) : (Ic(u, b, t), u[b].B[c - 1] = l);
2528
+ T([], m, function(x) {
2529
+ x = Xc(t, [x[0], null].concat(x.slice(1)), null, f, g);
2530
2530
  void 0 === u[b].B ? (x.fa = c - 1, u[b] = x) : u[b].B[c - 1] = x;
2531
2531
  if (p.i.qa) {
2532
2532
  for (const k of p.i.qa) {
@@ -2538,28 +2538,28 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2538
2538
  return [];
2539
2539
  });
2540
2540
  }, _embind_register_class_class_property:function(a, b, c, d, e, f, g, m) {
2541
- b = R(b);
2542
- f = U(e, f);
2543
- S([], [a], function(p) {
2541
+ b = S(b);
2542
+ f = V(e, f);
2543
+ T([], [a], function(p) {
2544
2544
  p = p[0];
2545
2545
  var l = `${p.name}.${b}`, t = {get() {
2546
- Xc(`Cannot access ${l} due to unbound types`, [c]);
2546
+ Wc(`Cannot access ${l} due to unbound types`, [c]);
2547
2547
  }, enumerable:!0, configurable:!0};
2548
2548
  t.set = m ? () => {
2549
- Xc(`Cannot access ${l} due to unbound types`, [c]);
2549
+ Wc(`Cannot access ${l} due to unbound types`, [c]);
2550
2550
  } : () => {
2551
- P(`${l} is a read-only property`);
2551
+ Q(`${l} is a read-only property`);
2552
2552
  };
2553
2553
  Object.defineProperty(p.i.constructor, b, t);
2554
- S([], [c], function(u) {
2554
+ T([], [c], function(u) {
2555
2555
  u = u[0];
2556
2556
  var x = {get() {
2557
2557
  return u.fromWireType(f(d));
2558
2558
  }, enumerable:!0};
2559
- m && (m = U(g, m), x.set = k => {
2559
+ m && (m = V(g, m), x.set = k => {
2560
2560
  var q = [];
2561
2561
  m(d, u.toWireType(q, k));
2562
- Bc(q);
2562
+ Ac(q);
2563
2563
  });
2564
2564
  Object.defineProperty(p.i.constructor, b, x);
2565
2565
  return [];
@@ -2567,72 +2567,72 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2567
2567
  return [];
2568
2568
  });
2569
2569
  }, _embind_register_class_constructor:function(a, b, c, d, e, f) {
2570
- var g = Zc(b, c);
2571
- e = U(d, e);
2572
- S([], [a], function(m) {
2570
+ var g = Yc(b, c);
2571
+ e = V(d, e);
2572
+ T([], [a], function(m) {
2573
2573
  m = m[0];
2574
2574
  var p = `constructor ${m.name}`;
2575
2575
  void 0 === m.i.Z && (m.i.Z = []);
2576
2576
  if (void 0 !== m.i.Z[b - 1]) {
2577
- throw new bc(`Cannot register multiple constructors with identical number of parameters (${b - 1}) for class '${m.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
2577
+ throw new ac(`Cannot register multiple constructors with identical number of parameters (${b - 1}) for class '${m.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
2578
2578
  }
2579
2579
  m.i.Z[b - 1] = () => {
2580
- Xc(`Cannot construct ${m.name} due to unbound types`, g);
2580
+ Wc(`Cannot construct ${m.name} due to unbound types`, g);
2581
2581
  };
2582
- S([], g, function(l) {
2582
+ T([], g, function(l) {
2583
2583
  l.splice(1, 0, null);
2584
- m.i.Z[b - 1] = Yc(p, l, null, e, f);
2584
+ m.i.Z[b - 1] = Xc(p, l, null, e, f);
2585
2585
  return [];
2586
2586
  });
2587
2587
  return [];
2588
2588
  });
2589
2589
  }, _embind_register_class_function:function(a, b, c, d, e, f, g, m) {
2590
- var p = Zc(c, d);
2591
- b = R(b);
2592
- f = U(e, f);
2593
- S([], [a], function(l) {
2590
+ var p = Yc(c, d);
2591
+ b = S(b);
2592
+ f = V(e, f);
2593
+ T([], [a], function(l) {
2594
2594
  function t() {
2595
- Xc(`Cannot call ${u} due to unbound types`, p);
2595
+ Wc(`Cannot call ${u} due to unbound types`, p);
2596
2596
  }
2597
2597
  l = l[0];
2598
2598
  var u = `${l.name}.${b}`;
2599
2599
  b.startsWith("@@") && (b = Symbol[b.substring(2)]);
2600
2600
  m && l.i.kb.push(b);
2601
2601
  var x = l.i.N, k = x[b];
2602
- void 0 === k || void 0 === k.B && k.className !== l.name && k.fa === c - 2 ? (t.fa = c - 2, t.className = l.name, x[b] = t) : (Jc(x, b, u), x[b].B[c - 2] = t);
2603
- S([], p, function(q) {
2604
- q = Yc(u, q, l, f, g);
2602
+ void 0 === k || void 0 === k.B && k.className !== l.name && k.fa === c - 2 ? (t.fa = c - 2, t.className = l.name, x[b] = t) : (Ic(x, b, u), x[b].B[c - 2] = t);
2603
+ T([], p, function(q) {
2604
+ q = Xc(u, q, l, f, g);
2605
2605
  void 0 === x[b].B ? (q.fa = c - 2, x[b] = q) : x[b].B[c - 2] = q;
2606
2606
  return [];
2607
2607
  });
2608
2608
  return [];
2609
2609
  });
2610
2610
  }, _embind_register_class_property:function(a, b, c, d, e, f, g, m, p, l) {
2611
- b = R(b);
2612
- e = U(d, e);
2613
- S([], [a], function(t) {
2611
+ b = S(b);
2612
+ e = V(d, e);
2613
+ T([], [a], function(t) {
2614
2614
  t = t[0];
2615
2615
  var u = `${t.name}.${b}`, x = {get() {
2616
- Xc(`Cannot access ${u} due to unbound types`, [c, g]);
2616
+ Wc(`Cannot access ${u} due to unbound types`, [c, g]);
2617
2617
  }, enumerable:!0, configurable:!0};
2618
2618
  x.set = p ? () => {
2619
- Xc(`Cannot access ${u} due to unbound types`, [c, g]);
2619
+ Wc(`Cannot access ${u} due to unbound types`, [c, g]);
2620
2620
  } : () => {
2621
- P(u + " is a read-only property");
2621
+ Q(u + " is a read-only property");
2622
2622
  };
2623
2623
  Object.defineProperty(t.i.N, b, x);
2624
- S([], p ? [c, g] : [c], function(k) {
2624
+ T([], p ? [c, g] : [c], function(k) {
2625
2625
  var q = k[0], v = {get() {
2626
- var B = $c(this, t, u + " getter");
2626
+ var B = Zc(this, t, u + " getter");
2627
2627
  return q.fromWireType(e(f, B));
2628
2628
  }, enumerable:!0};
2629
2629
  if (p) {
2630
- p = U(m, p);
2630
+ p = V(m, p);
2631
2631
  var y = k[1];
2632
2632
  v.set = function(B) {
2633
- var D = $c(this, t, u + " setter"), E = [];
2633
+ var D = Zc(this, t, u + " setter"), E = [];
2634
2634
  p(l, D, y.toWireType(E, B));
2635
- Bc(E);
2635
+ Ac(E);
2636
2636
  };
2637
2637
  }
2638
2638
  Object.defineProperty(t.i.N, b, v);
@@ -2641,57 +2641,57 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2641
2641
  return [];
2642
2642
  });
2643
2643
  }, _embind_register_emval:function(a, b) {
2644
- b = R(b);
2645
- T(a, {name:b, fromWireType:function(c) {
2646
- var d = Q(c);
2647
- ad(c);
2644
+ b = S(b);
2645
+ U(a, {name:b, fromWireType:function(c) {
2646
+ var d = R(c);
2647
+ $c(c);
2648
2648
  return d;
2649
2649
  }, toWireType:function(c, d) {
2650
- return cc(d);
2651
- }, argPackAdvance:8, readValueFromPointer:Cc, K:null,});
2650
+ return bc(d);
2651
+ }, argPackAdvance:8, readValueFromPointer:Bc, K:null,});
2652
2652
  }, _embind_register_enum:function(a, b, c, d) {
2653
2653
  function e() {
2654
2654
  }
2655
- c = Fc(c);
2656
- b = R(b);
2655
+ c = Ec(c);
2656
+ b = S(b);
2657
2657
  e.values = {};
2658
- T(a, {name:b, constructor:e, fromWireType:function(f) {
2658
+ U(a, {name:b, constructor:e, fromWireType:function(f) {
2659
2659
  return this.constructor.values[f];
2660
2660
  }, toWireType:function(f, g) {
2661
2661
  return g.value;
2662
- }, argPackAdvance:8, readValueFromPointer:bd(b, c, d), K:null,});
2663
- Kc(b, e);
2662
+ }, argPackAdvance:8, readValueFromPointer:ad(b, c, d), K:null,});
2663
+ Jc(b, e);
2664
2664
  }, _embind_register_enum_value:function(a, b, c) {
2665
- var d = pc(a, "enum");
2666
- b = R(b);
2665
+ var d = oc(a, "enum");
2666
+ b = S(b);
2667
2667
  a = d.constructor;
2668
- d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:$b(`${d.name}_${b}`, function() {
2668
+ d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:Zb(`${d.name}_${b}`, function() {
2669
2669
  })},});
2670
2670
  a.values[c] = d;
2671
2671
  a[b] = d;
2672
2672
  }, _embind_register_float:function(a, b, c) {
2673
- c = Fc(c);
2674
- b = R(b);
2675
- T(a, {name:b, fromWireType:function(d) {
2673
+ c = Ec(c);
2674
+ b = S(b);
2675
+ U(a, {name:b, fromWireType:function(d) {
2676
2676
  return d;
2677
2677
  }, toWireType:function(d, e) {
2678
2678
  return e;
2679
- }, argPackAdvance:8, readValueFromPointer:cd(b, c), K:null,});
2679
+ }, argPackAdvance:8, readValueFromPointer:bd(b, c), K:null,});
2680
2680
  }, _embind_register_function:function(a, b, c, d, e, f) {
2681
- var g = Zc(b, c);
2682
- a = R(a);
2683
- e = U(d, e);
2684
- Kc(a, function() {
2685
- Xc(`Cannot call ${a} due to unbound types`, g);
2681
+ var g = Yc(b, c);
2682
+ a = S(a);
2683
+ e = V(d, e);
2684
+ Jc(a, function() {
2685
+ Wc(`Cannot call ${a} due to unbound types`, g);
2686
2686
  }, b - 1);
2687
- S([], g, function(m) {
2688
- Sc(a, Yc(a, [m[0], null].concat(m.slice(1)), null, e, f), b - 1);
2687
+ T([], g, function(m) {
2688
+ Rc(a, Xc(a, [m[0], null].concat(m.slice(1)), null, e, f), b - 1);
2689
2689
  return [];
2690
2690
  });
2691
2691
  }, _embind_register_integer:function(a, b, c, d, e) {
2692
- b = R(b);
2692
+ b = S(b);
2693
2693
  -1 === e && (e = 4294967295);
2694
- e = Fc(c);
2694
+ e = Ec(c);
2695
2695
  var f = m => m;
2696
2696
  if (0 === d) {
2697
2697
  var g = 32 - 8 * c;
@@ -2702,26 +2702,26 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2702
2702
  } : function(m, p) {
2703
2703
  return p;
2704
2704
  };
2705
- T(a, {name:b, fromWireType:f, toWireType:c, argPackAdvance:8, readValueFromPointer:dd(b, e, 0 !== d), K:null,});
2705
+ U(a, {name:b, fromWireType:f, toWireType:c, argPackAdvance:8, readValueFromPointer:cd(b, e, 0 !== d), K:null,});
2706
2706
  }, _embind_register_memory_view:function(a, b, c) {
2707
2707
  function d(f) {
2708
2708
  f >>= 2;
2709
- var g = J;
2709
+ var g = K;
2710
2710
  return new e(g.buffer, g[f + 1], g[f]);
2711
2711
  }
2712
2712
  var e = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array,][b];
2713
- c = R(c);
2714
- T(a, {name:c, fromWireType:d, argPackAdvance:8, readValueFromPointer:d,}, {Rb:!0,});
2713
+ c = S(c);
2714
+ U(a, {name:c, fromWireType:d, argPackAdvance:8, readValueFromPointer:d,}, {Rb:!0,});
2715
2715
  }, _embind_register_std_string:function(a, b) {
2716
- b = R(b);
2716
+ b = S(b);
2717
2717
  var c = "std::string" === b;
2718
- T(a, {name:b, fromWireType:function(d) {
2719
- var e = J[d >> 2], f = d + 4;
2718
+ U(a, {name:b, fromWireType:function(d) {
2719
+ var e = K[d >> 2], f = d + 4;
2720
2720
  if (c) {
2721
2721
  for (var g = f, m = 0; m <= e; ++m) {
2722
2722
  var p = f + m;
2723
- if (m == e || 0 == C[p]) {
2724
- g = g ? K(C, g, p - g) : "";
2723
+ if (m == e || 0 == G[p]) {
2724
+ g = g ? L(G, g, p - g) : "";
2725
2725
  if (void 0 === l) {
2726
2726
  var l = g;
2727
2727
  } else {
@@ -2733,107 +2733,107 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2733
2733
  } else {
2734
2734
  l = Array(e);
2735
2735
  for (m = 0; m < e; ++m) {
2736
- l[m] = String.fromCharCode(C[f + m]);
2736
+ l[m] = String.fromCharCode(G[f + m]);
2737
2737
  }
2738
2738
  l = l.join("");
2739
2739
  }
2740
- oc(d);
2740
+ nc(d);
2741
2741
  return l;
2742
2742
  }, toWireType:function(d, e) {
2743
2743
  e instanceof ArrayBuffer && (e = new Uint8Array(e));
2744
2744
  var f = "string" == typeof e;
2745
- f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || P("Cannot pass non-string to std::string");
2746
- var g = c && f ? eb(e) : e.length;
2745
+ f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || Q("Cannot pass non-string to std::string");
2746
+ var g = c && f ? db(e) : e.length;
2747
2747
  var m = Ld(4 + g + 1), p = m + 4;
2748
- J[m >> 2] = g;
2748
+ K[m >> 2] = g;
2749
2749
  if (c && f) {
2750
- fb(e, C, p, g + 1);
2750
+ eb(e, G, p, g + 1);
2751
2751
  } else {
2752
2752
  if (f) {
2753
2753
  for (f = 0; f < g; ++f) {
2754
2754
  var l = e.charCodeAt(f);
2755
- 255 < l && (oc(p), P("String has UTF-16 code units that do not fit in 8 bits"));
2756
- C[p + f] = l;
2755
+ 255 < l && (nc(p), Q("String has UTF-16 code units that do not fit in 8 bits"));
2756
+ G[p + f] = l;
2757
2757
  }
2758
2758
  } else {
2759
2759
  for (f = 0; f < g; ++f) {
2760
- C[p + f] = e[f];
2760
+ G[p + f] = e[f];
2761
2761
  }
2762
2762
  }
2763
2763
  }
2764
- null !== d && d.push(oc, m);
2764
+ null !== d && d.push(nc, m);
2765
2765
  return m;
2766
- }, argPackAdvance:8, readValueFromPointer:Cc, K:function(d) {
2767
- oc(d);
2766
+ }, argPackAdvance:8, readValueFromPointer:Bc, K:function(d) {
2767
+ nc(d);
2768
2768
  },});
2769
2769
  }, _embind_register_std_wstring:function(a, b, c) {
2770
- c = R(c);
2770
+ c = S(c);
2771
2771
  if (2 === b) {
2772
- var d = fd;
2773
- var e = gd;
2774
- var f = hd;
2775
- var g = () => wa;
2772
+ var d = ed;
2773
+ var e = fd;
2774
+ var f = gd;
2775
+ var g = () => va;
2776
2776
  var m = 1;
2777
2777
  } else {
2778
- 4 === b && (d = jd, e = kd, f = ld, g = () => J, m = 2);
2778
+ 4 === b && (d = hd, e = jd, f = kd, g = () => K, m = 2);
2779
2779
  }
2780
- T(a, {name:c, fromWireType:function(p) {
2781
- for (var l = J[p >> 2], t = g(), u, x = p + 4, k = 0; k <= l; ++k) {
2780
+ U(a, {name:c, fromWireType:function(p) {
2781
+ for (var l = K[p >> 2], t = g(), u, x = p + 4, k = 0; k <= l; ++k) {
2782
2782
  var q = p + 4 + k * b;
2783
2783
  if (k == l || 0 == t[q >> m]) {
2784
2784
  x = d(x, q - x), void 0 === u ? u = x : (u += String.fromCharCode(0), u += x), x = q + b;
2785
2785
  }
2786
2786
  }
2787
- oc(p);
2787
+ nc(p);
2788
2788
  return u;
2789
2789
  }, toWireType:function(p, l) {
2790
- "string" != typeof l && P(`Cannot pass non-string to C++ string type ${c}`);
2790
+ "string" != typeof l && Q(`Cannot pass non-string to C++ string type ${c}`);
2791
2791
  var t = f(l), u = Ld(4 + t + b);
2792
- J[u >> 2] = t >> m;
2792
+ K[u >> 2] = t >> m;
2793
2793
  e(l, u + 4, t + b);
2794
- null !== p && p.push(oc, u);
2794
+ null !== p && p.push(nc, u);
2795
2795
  return u;
2796
- }, argPackAdvance:8, readValueFromPointer:Cc, K:function(p) {
2797
- oc(p);
2796
+ }, argPackAdvance:8, readValueFromPointer:Bc, K:function(p) {
2797
+ nc(p);
2798
2798
  },});
2799
2799
  }, _embind_register_value_object:function(a, b, c, d, e, f) {
2800
- Ac[a] = {name:R(b), Pa:U(c, d), V:U(e, f), Za:[],};
2800
+ zc[a] = {name:S(b), Pa:V(c, d), V:V(e, f), Za:[],};
2801
2801
  }, _embind_register_value_object_field:function(a, b, c, d, e, f, g, m, p, l) {
2802
- Ac[a].Za.push({Jb:R(b), Pb:c, Nb:U(d, e), Ob:f, dc:g, cc:U(m, p), ec:l,});
2802
+ zc[a].Za.push({Jb:S(b), Pb:c, Nb:V(d, e), Ob:f, dc:g, cc:V(m, p), ec:l,});
2803
2803
  }, _embind_register_void:function(a, b) {
2804
- b = R(b);
2805
- T(a, {Xb:!0, name:b, argPackAdvance:0, fromWireType:function() {
2804
+ b = S(b);
2805
+ U(a, {Xb:!0, name:b, argPackAdvance:0, fromWireType:function() {
2806
2806
  }, toWireType:function() {
2807
2807
  },});
2808
2808
  }, _emscripten_get_now_is_monotonic:() => !0, _emval_as:function(a, b, c) {
2809
- a = Q(a);
2810
- b = pc(b, "emval::as");
2811
- var d = [], e = cc(d);
2812
- J[c >> 2] = e;
2809
+ a = R(a);
2810
+ b = oc(b, "emval::as");
2811
+ var d = [], e = bc(d);
2812
+ K[c >> 2] = e;
2813
2813
  return b.toWireType(d, a);
2814
2814
  }, _emval_call_method:function(a, b, c, d, e) {
2815
- a = od[a];
2816
- b = Q(b);
2817
- c = nd(c);
2815
+ a = nd[a];
2816
+ b = R(b);
2817
+ c = md(c);
2818
2818
  var f = [];
2819
- J[d >> 2] = cc(f);
2819
+ K[d >> 2] = bc(f);
2820
2820
  return a(b, c, f, e);
2821
2821
  }, _emval_call_void_method:function(a, b, c, d) {
2822
- a = od[a];
2823
- b = Q(b);
2824
- c = nd(c);
2822
+ a = nd[a];
2823
+ b = R(b);
2824
+ c = md(c);
2825
2825
  a(b, c, null, d);
2826
- }, _emval_decref:ad, _emval_get_method_caller:function(a, b) {
2827
- var c = qd(a, b), d = c[0];
2826
+ }, _emval_decref:$c, _emval_get_method_caller:function(a, b) {
2827
+ var c = pd(a, b), d = c[0];
2828
2828
  b = d.name + "_$" + c.slice(1).map(function(g) {
2829
2829
  return g.name;
2830
2830
  }).join("_") + "$";
2831
- var e = rd[b];
2831
+ var e = qd[b];
2832
2832
  if (void 0 !== e) {
2833
2833
  return e;
2834
2834
  }
2835
2835
  var f = Array(a - 1);
2836
- e = pd((g, m, p, l) => {
2836
+ e = od((g, m, p, l) => {
2837
2837
  for (var t = 0, u = 0; u < a - 1; ++u) {
2838
2838
  f[u] = c[u + 1].readValueFromPointer(l + t), t += c[u + 1].argPackAdvance;
2839
2839
  }
@@ -2845,50 +2845,57 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2845
2845
  return d.toWireType(p, g);
2846
2846
  }
2847
2847
  });
2848
- return rd[b] = e;
2848
+ return qd[b] = e;
2849
2849
  }, _emval_get_property:function(a, b) {
2850
- a = Q(a);
2851
- b = Q(b);
2852
- return cc(a[b]);
2850
+ a = R(a);
2851
+ b = R(b);
2852
+ return bc(a[b]);
2853
2853
  }, _emval_incref:function(a) {
2854
- 4 < a && (O.get(a).ob += 1);
2854
+ 4 < a && (P.get(a).ob += 1);
2855
2855
  }, _emval_new_cstring:function(a) {
2856
- return cc(nd(a));
2856
+ return bc(md(a));
2857
2857
  }, _emval_new_object:function() {
2858
- return cc({});
2858
+ return bc({});
2859
2859
  }, _emval_run_destructors:function(a) {
2860
- var b = Q(a);
2861
- Bc(b);
2862
- ad(a);
2860
+ var b = R(a);
2861
+ Ac(b);
2862
+ $c(a);
2863
2863
  }, _emval_set_property:function(a, b, c) {
2864
- a = Q(a);
2865
- b = Q(b);
2866
- c = Q(c);
2864
+ a = R(a);
2865
+ b = R(b);
2866
+ c = R(c);
2867
2867
  a[b] = c;
2868
2868
  }, _emval_take_value:function(a, b) {
2869
- a = pc(a, "_emval_take_value");
2869
+ a = oc(a, "_emval_take_value");
2870
2870
  a = a.readValueFromPointer(b);
2871
- return cc(a);
2871
+ return bc(a);
2872
2872
  }, abort:() => {
2873
- ta("");
2873
+ sa("");
2874
2874
  }, beginPixelLocalStorageWEBGL:function(a, b, c) {
2875
2875
  (a = r[a].H.ia) && a.beginPixelLocalStorageWEBGL(n.HEAPU32.subarray(c, c + b));
2876
- }, begin_texture_image_decode:function(a, b, c) {
2877
- a = W[a];
2878
- a.image = new Image();
2879
- a.image.src = URL.createObjectURL(new Blob([n.HEAP8.subarray(b, b + c)]), {type:"image/png"});
2880
- a.complete = !1;
2876
+ }, decode_image:function(a, b, c) {
2877
+ var d = n.images;
2878
+ d || (d = new Map(), n.images = d);
2879
+ var e = new Image();
2880
+ d.set(a, e);
2881
+ b = n.HEAP8.subarray(b, b + c);
2882
+ c = new Uint8Array(c);
2883
+ c.set(b);
2884
+ e.src = URL.createObjectURL(new Blob([c], {type:"image/png"}));
2885
+ e.onload = function() {
2886
+ n._setWebImage(a, e.width, e.height);
2887
+ };
2881
2888
  }, emscripten_asm_const_int:(a, b, c) => {
2882
- sd.length = 0;
2889
+ rd.length = 0;
2883
2890
  var d;
2884
- for (c >>= 2; d = C[b++];) {
2885
- c += 105 != d & c, sd.push(105 == d ? I[c] : ya[c++ >> 1]), ++c;
2891
+ for (c >>= 2; d = G[b++];) {
2892
+ c += 105 != d & c, rd.push(105 == d ? J[c] : xa[c++ >> 1]), ++c;
2886
2893
  }
2887
- return Ua[a].apply(null, sd);
2894
+ return Ta[a].apply(null, rd);
2888
2895
  }, emscripten_date_now:function() {
2889
2896
  return Date.now();
2890
- }, emscripten_get_now:() => performance.now(), emscripten_memcpy_big:(a, b, c) => C.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
2891
- var b = C.length;
2897
+ }, emscripten_get_now:() => performance.now(), emscripten_memcpy_big:(a, b, c) => G.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
2898
+ var b = G.length;
2892
2899
  a >>>= 0;
2893
2900
  if (2147483648 < a) {
2894
2901
  return !1;
@@ -2899,10 +2906,10 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2899
2906
  var e = Math;
2900
2907
  d = Math.max(a, d);
2901
2908
  a: {
2902
- e = e.min.call(e, 2147483648, d + (65536 - d % 65536) % 65536) - ua.buffer.byteLength + 65535 >>> 16;
2909
+ e = e.min.call(e, 2147483648, d + (65536 - d % 65536) % 65536) - ta.buffer.byteLength + 65535 >>> 16;
2903
2910
  try {
2904
- ua.grow(e);
2905
- za();
2911
+ ta.grow(e);
2912
+ ya();
2906
2913
  var f = 1;
2907
2914
  break a;
2908
2915
  } catch (g) {
@@ -2916,11 +2923,11 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2916
2923
  return !1;
2917
2924
  }, emscripten_webgl_enable_extension:function(a, b) {
2918
2925
  a = r[a];
2919
- b = b ? K(C, b) : "";
2926
+ b = b ? L(G, b) : "";
2920
2927
  b.startsWith("GL_") && (b = b.substr(3));
2921
- "WEBGL_draw_instanced_base_vertex_base_instance" == b && td(Y);
2922
- "WEBGL_multi_draw_instanced_base_vertex_base_instance" == b && ud(Y);
2923
- "WEBGL_multi_draw" == b && Ed(Y);
2928
+ "WEBGL_draw_instanced_base_vertex_base_instance" == b && sd(Z);
2929
+ "WEBGL_multi_draw_instanced_base_vertex_base_instance" == b && td(Z);
2930
+ "WEBGL_multi_draw" == b && Ed(Z);
2924
2931
  return !!a.H.getExtension(b);
2925
2932
  }, emscripten_webgl_get_current_context:function() {
2926
2933
  return Dd ? Dd.handle : 0;
@@ -2940,28 +2947,28 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2940
2947
  var c = 0;
2941
2948
  Hd().forEach(function(d, e) {
2942
2949
  var f = b + c;
2943
- e = J[a + 4 * e >> 2] = f;
2950
+ e = K[a + 4 * e >> 2] = f;
2944
2951
  for (f = 0; f < d.length; ++f) {
2945
- A[e++ >> 0] = d.charCodeAt(f);
2952
+ C[e++ >> 0] = d.charCodeAt(f);
2946
2953
  }
2947
- A[e >> 0] = 0;
2954
+ C[e >> 0] = 0;
2948
2955
  c += d.length + 1;
2949
2956
  });
2950
2957
  return 0;
2951
2958
  }, environ_sizes_get:(a, b) => {
2952
2959
  var c = Hd();
2953
- J[a >> 2] = c.length;
2960
+ K[a >> 2] = c.length;
2954
2961
  var d = 0;
2955
2962
  c.forEach(function(e) {
2956
2963
  d += e.length + 1;
2957
2964
  });
2958
- J[b >> 2] = d;
2965
+ K[b >> 2] = d;
2959
2966
  return 0;
2960
2967
  }, fd_close:function(a) {
2961
2968
  try {
2962
- var b = Jb(a);
2969
+ var b = Ib(a);
2963
2970
  if (null === b.W) {
2964
- throw new L(8);
2971
+ throw new M(8);
2965
2972
  }
2966
2973
  b.Ma && (b.Ma = null);
2967
2974
  try {
@@ -2969,12 +2976,12 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2969
2976
  } catch (c) {
2970
2977
  throw c;
2971
2978
  } finally {
2972
- wb[b.W] = null;
2979
+ vb[b.W] = null;
2973
2980
  }
2974
2981
  b.W = null;
2975
2982
  return 0;
2976
2983
  } catch (c) {
2977
- if ("undefined" == typeof Wb || "ErrnoError" !== c.name) {
2984
+ if ("undefined" == typeof Vb || "ErrnoError" !== c.name) {
2978
2985
  throw c;
2979
2986
  }
2980
2987
  return c.$;
@@ -2982,32 +2989,32 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
2982
2989
  }, fd_read:function(a, b, c, d) {
2983
2990
  try {
2984
2991
  a: {
2985
- var e = Jb(a);
2992
+ var e = Ib(a);
2986
2993
  a = b;
2987
2994
  for (var f, g = b = 0; g < c; g++) {
2988
- var m = J[a >> 2], p = J[a + 4 >> 2];
2995
+ var m = K[a >> 2], p = K[a + 4 >> 2];
2989
2996
  a += 8;
2990
- var l = e, t = m, u = p, x = f, k = A;
2997
+ var l = e, t = m, u = p, x = f, k = C;
2991
2998
  if (0 > u || 0 > x) {
2992
- throw new L(28);
2999
+ throw new M(28);
2993
3000
  }
2994
3001
  if (null === l.W) {
2995
- throw new L(8);
3002
+ throw new M(8);
2996
3003
  }
2997
3004
  if (1 === (l.flags & 2097155)) {
2998
- throw new L(8);
3005
+ throw new M(8);
2999
3006
  }
3000
3007
  if (16384 === (l.node.mode & 61440)) {
3001
- throw new L(31);
3008
+ throw new M(31);
3002
3009
  }
3003
3010
  if (!l.m.read) {
3004
- throw new L(28);
3011
+ throw new M(28);
3005
3012
  }
3006
3013
  var q = "undefined" != typeof x;
3007
3014
  if (!q) {
3008
3015
  x = l.position;
3009
3016
  } else if (!l.seekable) {
3010
- throw new L(70);
3017
+ throw new M(70);
3011
3018
  }
3012
3019
  var v = l.m.read(l, k, t, u, x);
3013
3020
  q || (l.position += v);
@@ -3024,10 +3031,10 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3024
3031
  }
3025
3032
  B = b;
3026
3033
  }
3027
- J[d >> 2] = B;
3034
+ K[d >> 2] = B;
3028
3035
  return 0;
3029
3036
  } catch (D) {
3030
- if ("undefined" == typeof Wb || "ErrnoError" !== D.name) {
3037
+ if ("undefined" == typeof Vb || "ErrnoError" !== D.name) {
3031
3038
  throw D;
3032
3039
  }
3033
3040
  return D.$;
@@ -3038,15 +3045,15 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3038
3045
  if (isNaN(b)) {
3039
3046
  return 61;
3040
3047
  }
3041
- var f = Jb(a);
3042
- Rb(f, b, d);
3043
- Qa = [f.position >>> 0, (Pa = f.position, 1.0 <= +Math.abs(Pa) ? 0.0 < Pa ? +Math.floor(Pa / 4294967296.0) >>> 0 : ~~+Math.ceil((Pa - +(~~Pa >>> 0)) / 4294967296.0) >>> 0 : 0)];
3044
- I[e >> 2] = Qa[0];
3045
- I[e + 4 >> 2] = Qa[1];
3048
+ var f = Ib(a);
3049
+ Qb(f, b, d);
3050
+ Pa = [f.position >>> 0, (Oa = f.position, 1.0 <= +Math.abs(Oa) ? 0.0 < Oa ? +Math.floor(Oa / 4294967296.0) >>> 0 : ~~+Math.ceil((Oa - +(~~Oa >>> 0)) / 4294967296.0) >>> 0 : 0)];
3051
+ J[e >> 2] = Pa[0];
3052
+ J[e + 4 >> 2] = Pa[1];
3046
3053
  f.Ma && 0 === b && 0 === d && (f.Ma = null);
3047
3054
  return 0;
3048
3055
  } catch (g) {
3049
- if ("undefined" == typeof Wb || "ErrnoError" !== g.name) {
3056
+ if ("undefined" == typeof Vb || "ErrnoError" !== g.name) {
3050
3057
  throw g;
3051
3058
  }
3052
3059
  return g.$;
@@ -3054,33 +3061,33 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3054
3061
  }, fd_write:function(a, b, c, d) {
3055
3062
  try {
3056
3063
  a: {
3057
- var e = Jb(a);
3064
+ var e = Ib(a);
3058
3065
  a = b;
3059
3066
  for (var f, g = b = 0; g < c; g++) {
3060
- var m = J[a >> 2], p = J[a + 4 >> 2];
3067
+ var m = K[a >> 2], p = K[a + 4 >> 2];
3061
3068
  a += 8;
3062
- var l = e, t = m, u = p, x = f, k = A;
3069
+ var l = e, t = m, u = p, x = f, k = C;
3063
3070
  if (0 > u || 0 > x) {
3064
- throw new L(28);
3071
+ throw new M(28);
3065
3072
  }
3066
3073
  if (null === l.W) {
3067
- throw new L(8);
3074
+ throw new M(8);
3068
3075
  }
3069
3076
  if (0 === (l.flags & 2097155)) {
3070
- throw new L(8);
3077
+ throw new M(8);
3071
3078
  }
3072
3079
  if (16384 === (l.node.mode & 61440)) {
3073
- throw new L(31);
3080
+ throw new M(31);
3074
3081
  }
3075
3082
  if (!l.m.write) {
3076
- throw new L(28);
3083
+ throw new M(28);
3077
3084
  }
3078
- l.seekable && l.flags & 1024 && Rb(l, 0, 2);
3085
+ l.seekable && l.flags & 1024 && Qb(l, 0, 2);
3079
3086
  var q = "undefined" != typeof x;
3080
3087
  if (!q) {
3081
3088
  x = l.position;
3082
3089
  } else if (!l.seekable) {
3083
- throw new L(70);
3090
+ throw new M(70);
3084
3091
  }
3085
3092
  var v = l.m.write(l, k, t, u, x, void 0);
3086
3093
  q || (l.position += v);
@@ -3094,10 +3101,10 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3094
3101
  }
3095
3102
  B = b;
3096
3103
  }
3097
- J[d >> 2] = B;
3104
+ K[d >> 2] = B;
3098
3105
  return 0;
3099
3106
  } catch (D) {
3100
- if ("undefined" == typeof Wb || "ErrnoError" !== D.name) {
3107
+ if ("undefined" == typeof Vb || "ErrnoError" !== D.name) {
3101
3108
  throw D;
3102
3109
  }
3103
3110
  return D.$;
@@ -3105,138 +3112,138 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3105
3112
  }, framebufferPixelLocalClearValuefvWEBGL:function(a, b, c, d, e, f) {
3106
3113
  (a = r[a].H.ia) && a.framebufferPixelLocalClearValuefvWEBGL(b, [c, d, e, f]);
3107
3114
  }, framebufferTexturePixelLocalStorageWEBGL:function(a, b, c, d, e) {
3108
- (a = r[a].H.ia) && a.framebufferTexturePixelLocalStorageWEBGL(b, W[c], d, e);
3115
+ (a = r[a].H.ia) && a.framebufferTexturePixelLocalStorageWEBGL(b, yd[c], d, e);
3109
3116
  }, glActiveTexture:function(a) {
3110
- Y.activeTexture(a);
3117
+ Z.activeTexture(a);
3111
3118
  }, glAttachShader:function(a, b) {
3112
- Y.attachShader(V[a], zd[b]);
3119
+ Z.attachShader(W[a], zd[b]);
3113
3120
  }, glBindBuffer:function(a, b) {
3114
- 35051 == a ? Y.Wa = b : 35052 == a && (Y.Ka = b);
3115
- Y.bindBuffer(a, wd[b]);
3121
+ 35051 == a ? Z.Wa = b : 35052 == a && (Z.Ka = b);
3122
+ Z.bindBuffer(a, vd[b]);
3116
3123
  }, glBindBufferRange:function(a, b, c, d, e) {
3117
- Y.bindBufferRange(a, b, wd[c], d, e);
3124
+ Z.bindBufferRange(a, b, vd[c], d, e);
3118
3125
  }, glBindFramebuffer:function(a, b) {
3119
- Y.bindFramebuffer(a, xd[b]);
3126
+ Z.bindFramebuffer(a, wd[b]);
3120
3127
  }, glBindRenderbuffer:function(a, b) {
3121
- Y.bindRenderbuffer(a, yd[b]);
3128
+ Z.bindRenderbuffer(a, xd[b]);
3122
3129
  }, glBindTexture:function(a, b) {
3123
- Y.bindTexture(a, W[b]);
3130
+ Z.bindTexture(a, yd[b]);
3124
3131
  }, glBindVertexArray:function(a) {
3125
- Y.bindVertexArray(Ad[a]);
3132
+ Z.bindVertexArray(Ad[a]);
3126
3133
  }, glBlendEquation:function(a) {
3127
- Y.blendEquation(a);
3134
+ Z.blendEquation(a);
3128
3135
  }, glBlendFunc:function(a, b) {
3129
- Y.blendFunc(a, b);
3136
+ Z.blendFunc(a, b);
3130
3137
  }, glBlitFramebuffer:function(a, b, c, d, e, f, g, m, p, l) {
3131
- Y.blitFramebuffer(a, b, c, d, e, f, g, m, p, l);
3138
+ Z.blitFramebuffer(a, b, c, d, e, f, g, m, p, l);
3132
3139
  }, glBufferData:function(a, b, c, d) {
3133
- c && b ? Y.bufferData(a, C, d, c, b) : Y.bufferData(a, b, d);
3140
+ c && b ? Z.bufferData(a, G, d, c, b) : Z.bufferData(a, b, d);
3134
3141
  }, glBufferSubData:function(a, b, c, d) {
3135
- c && Y.bufferSubData(a, b, C, d, c);
3142
+ c && Z.bufferSubData(a, b, G, d, c);
3136
3143
  }, glClear:function(a) {
3137
- Y.clear(a);
3144
+ Z.clear(a);
3138
3145
  }, glClearColor:function(a, b, c, d) {
3139
- Y.clearColor(a, b, c, d);
3146
+ Z.clearColor(a, b, c, d);
3140
3147
  }, glClearDepthf:function(a) {
3141
- Y.clearDepth(a);
3148
+ Z.clearDepth(a);
3142
3149
  }, glClearStencil:function(a) {
3143
- Y.clearStencil(a);
3150
+ Z.clearStencil(a);
3144
3151
  }, glColorMask:function(a, b, c, d) {
3145
- Y.colorMask(!!a, !!b, !!c, !!d);
3152
+ Z.colorMask(!!a, !!b, !!c, !!d);
3146
3153
  }, glCompileShader:function(a) {
3147
- Y.compileShader(zd[a]);
3154
+ Z.compileShader(zd[a]);
3148
3155
  }, glCreateProgram:function() {
3149
- var a = ha(V), b = Y.createProgram();
3156
+ var a = ha(W), b = Z.createProgram();
3150
3157
  b.name = a;
3151
3158
  b.Fc = b.Dc = b.Ec = 0;
3152
3159
  b.Sa = 1;
3153
- V[a] = b;
3160
+ W[a] = b;
3154
3161
  return a;
3155
3162
  }, glCreateShader:function(a) {
3156
3163
  var b = ha(zd);
3157
- zd[b] = Y.createShader(a);
3164
+ zd[b] = Z.createShader(a);
3158
3165
  return b;
3159
3166
  }, glCullFace:function(a) {
3160
- Y.cullFace(a);
3167
+ Z.cullFace(a);
3161
3168
  }, glDeleteBuffers:function(a, b) {
3162
3169
  for (var c = 0; c < a; c++) {
3163
- var d = I[b + 4 * c >> 2], e = wd[d];
3164
- e && (Y.deleteBuffer(e), e.name = 0, wd[d] = null, d == Y.Wa && (Y.Wa = 0), d == Y.Ka && (Y.Ka = 0));
3170
+ var d = J[b + 4 * c >> 2], e = vd[d];
3171
+ e && (Z.deleteBuffer(e), e.name = 0, vd[d] = null, d == Z.Wa && (Z.Wa = 0), d == Z.Ka && (Z.Ka = 0));
3165
3172
  }
3166
3173
  }, glDeleteFramebuffers:function(a, b) {
3167
3174
  for (var c = 0; c < a; ++c) {
3168
- var d = I[b + 4 * c >> 2], e = xd[d];
3169
- e && (Y.deleteFramebuffer(e), e.name = 0, xd[d] = null);
3175
+ var d = J[b + 4 * c >> 2], e = wd[d];
3176
+ e && (Z.deleteFramebuffer(e), e.name = 0, wd[d] = null);
3170
3177
  }
3171
3178
  }, glDeleteProgram:function(a) {
3172
3179
  if (a) {
3173
- var b = V[a];
3174
- b ? (Y.deleteProgram(b), b.name = 0, V[a] = null) : X(1281);
3180
+ var b = W[a];
3181
+ b ? (Z.deleteProgram(b), b.name = 0, W[a] = null) : X(1281);
3175
3182
  }
3176
3183
  }, glDeleteRenderbuffers:function(a, b) {
3177
3184
  for (var c = 0; c < a; c++) {
3178
- var d = I[b + 4 * c >> 2], e = yd[d];
3179
- e && (Y.deleteRenderbuffer(e), e.name = 0, yd[d] = null);
3185
+ var d = J[b + 4 * c >> 2], e = xd[d];
3186
+ e && (Z.deleteRenderbuffer(e), e.name = 0, xd[d] = null);
3180
3187
  }
3181
3188
  }, glDeleteShader:function(a) {
3182
3189
  if (a) {
3183
3190
  var b = zd[a];
3184
- b ? (Y.deleteShader(b), zd[a] = null) : X(1281);
3191
+ b ? (Z.deleteShader(b), zd[a] = null) : X(1281);
3185
3192
  }
3186
3193
  }, glDeleteTextures:function(a, b) {
3187
3194
  for (var c = 0; c < a; c++) {
3188
- var d = I[b + 4 * c >> 2], e = W[d];
3189
- e && (Y.deleteTexture(e), e.name = 0, W[d] = null);
3195
+ var d = J[b + 4 * c >> 2], e = yd[d];
3196
+ e && (Z.deleteTexture(e), e.name = 0, yd[d] = null);
3190
3197
  }
3191
3198
  }, glDeleteVertexArrays:function(a, b) {
3192
3199
  for (var c = 0; c < a; c++) {
3193
- var d = I[b + 4 * c >> 2];
3194
- Y.deleteVertexArray(Ad[d]);
3200
+ var d = J[b + 4 * c >> 2];
3201
+ Z.deleteVertexArray(Ad[d]);
3195
3202
  Ad[d] = null;
3196
3203
  }
3197
3204
  }, glDepthFunc:function(a) {
3198
- Y.depthFunc(a);
3205
+ Z.depthFunc(a);
3199
3206
  }, glDepthMask:function(a) {
3200
- Y.depthMask(!!a);
3207
+ Z.depthMask(!!a);
3201
3208
  }, glDepthRangef:function(a, b) {
3202
- Y.depthRange(a, b);
3209
+ Z.depthRange(a, b);
3203
3210
  }, glDisable:function(a) {
3204
- Y.disable(a);
3211
+ Z.disable(a);
3205
3212
  }, glDrawArrays:function(a, b, c) {
3206
- Y.drawArrays(a, b, c);
3213
+ Z.drawArrays(a, b, c);
3207
3214
  }, glDrawArraysInstanced:function(a, b, c, d) {
3208
- Y.drawArraysInstanced(a, b, c, d);
3215
+ Z.drawArraysInstanced(a, b, c, d);
3209
3216
  }, glDrawBuffers:function(a, b) {
3210
3217
  for (var c = Id[a], d = 0; d < a; d++) {
3211
- c[d] = I[b + 4 * d >> 2];
3218
+ c[d] = J[b + 4 * d >> 2];
3212
3219
  }
3213
- Y.drawBuffers(c);
3220
+ Z.drawBuffers(c);
3214
3221
  }, glDrawElements:function(a, b, c, d) {
3215
- Y.drawElements(a, b, c, d);
3222
+ Z.drawElements(a, b, c, d);
3216
3223
  }, glDrawElementsInstanced:function(a, b, c, d, e) {
3217
- Y.drawElementsInstanced(a, b, c, d, e);
3224
+ Z.drawElementsInstanced(a, b, c, d, e);
3218
3225
  }, glEnable:function(a) {
3219
- Y.enable(a);
3226
+ Z.enable(a);
3220
3227
  }, glEnableVertexAttribArray:function(a) {
3221
- Y.enableVertexAttribArray(a);
3228
+ Z.enableVertexAttribArray(a);
3222
3229
  }, glFramebufferRenderbuffer:function(a, b, c, d) {
3223
- Y.framebufferRenderbuffer(a, b, c, yd[d]);
3230
+ Z.framebufferRenderbuffer(a, b, c, xd[d]);
3224
3231
  }, glFramebufferTexture2D:function(a, b, c, d, e) {
3225
- Y.framebufferTexture2D(a, b, c, W[d], e);
3232
+ Z.framebufferTexture2D(a, b, c, yd[d], e);
3226
3233
  }, glFrontFace:function(a) {
3227
- Y.frontFace(a);
3234
+ Z.frontFace(a);
3228
3235
  }, glGenBuffers:function(a, b) {
3229
- Jd(a, b, "createBuffer", wd);
3236
+ Jd(a, b, "createBuffer", vd);
3230
3237
  }, glGenFramebuffers:function(a, b) {
3231
- Jd(a, b, "createFramebuffer", xd);
3238
+ Jd(a, b, "createFramebuffer", wd);
3232
3239
  }, glGenRenderbuffers:function(a, b) {
3233
- Jd(a, b, "createRenderbuffer", yd);
3240
+ Jd(a, b, "createRenderbuffer", xd);
3234
3241
  }, glGenTextures:function(a, b) {
3235
- Jd(a, b, "createTexture", W);
3242
+ Jd(a, b, "createTexture", yd);
3236
3243
  }, glGenVertexArrays:function(a, b) {
3237
3244
  Jd(a, b, "createVertexArray", Ad);
3238
3245
  }, glGenerateMipmap:function(a) {
3239
- Y.generateMipmap(a);
3246
+ Z.generateMipmap(a);
3240
3247
  }, glGetIntegerv:function(a, b) {
3241
3248
  Kd(a, b);
3242
3249
  }, glGetString:function(a) {
@@ -3244,7 +3251,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3244
3251
  if (!b) {
3245
3252
  switch(a) {
3246
3253
  case 7939:
3247
- b = Y.getSupportedExtensions() || [];
3254
+ b = Z.getSupportedExtensions() || [];
3248
3255
  b = b.concat(b.map(function(d) {
3249
3256
  return "GL_" + d;
3250
3257
  }));
@@ -3254,14 +3261,14 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3254
3261
  case 7937:
3255
3262
  case 37445:
3256
3263
  case 37446:
3257
- (b = Y.getParameter(a)) || X(1280);
3264
+ (b = Z.getParameter(a)) || X(1280);
3258
3265
  b = b && Md(b);
3259
3266
  break;
3260
3267
  case 7938:
3261
- b = Md("OpenGL ES 3.0 (" + Y.getParameter(7938) + ")");
3268
+ b = Md("OpenGL ES 3.0 (" + Z.getParameter(7938) + ")");
3262
3269
  break;
3263
3270
  case 35724:
3264
- b = Y.getParameter(35724);
3271
+ b = Z.getParameter(35724);
3265
3272
  var c = b.match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);
3266
3273
  null !== c && (3 == c[1].length && (c[1] += "0"), b = "OpenGL ES GLSL ES " + c[1] + " (" + b + ")");
3267
3274
  b = Md(b);
@@ -3273,14 +3280,14 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3273
3280
  }
3274
3281
  return b;
3275
3282
  }, glGetUniformBlockIndex:function(a, b) {
3276
- return Y.getUniformBlockIndex(V[a], b ? K(C, b) : "");
3283
+ return Z.getUniformBlockIndex(W[a], b ? L(G, b) : "");
3277
3284
  }, glGetUniformLocation:function(a, b) {
3278
- b = b ? K(C, b) : "";
3279
- if (a = V[a]) {
3285
+ b = b ? L(G, b) : "";
3286
+ if (a = W[a]) {
3280
3287
  var c = a, d = c.oa, e = c.tb, f;
3281
3288
  if (!d) {
3282
- for (c.oa = d = {}, c.sb = {}, f = 0; f < Y.getProgramParameter(c, 35718); ++f) {
3283
- var g = Y.getActiveUniform(c, f);
3289
+ for (c.oa = d = {}, c.sb = {}, f = 0; f < Z.getProgramParameter(c, 35718); ++f) {
3290
+ var g = Z.getActiveUniform(c, f);
3284
3291
  var m = g.name;
3285
3292
  g = g.size;
3286
3293
  var p = Nd(m);
@@ -3298,7 +3305,7 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3298
3305
  e = b;
3299
3306
  f = Nd(b);
3300
3307
  0 < f && (d = parseInt(b.slice(f + 1)) >>> 0, e = b.slice(0, f));
3301
- if ((e = a.tb[e]) && d < e[0] && (d += e[1], c[d] = c[d] || Y.getUniformLocation(a, b))) {
3308
+ if ((e = a.tb[e]) && d < e[0] && (d += e[1], c[d] = c[d] || Z.getUniformLocation(a, b))) {
3302
3309
  return d;
3303
3310
  }
3304
3311
  } else {
@@ -3307,158 +3314,149 @@ var Wd = {__syscall_fcntl64:function(a, b, c) {
3307
3314
  return -1;
3308
3315
  }, glInvalidateFramebuffer:function(a, b, c) {
3309
3316
  for (var d = Id[b], e = 0; e < b; e++) {
3310
- d[e] = I[c + 4 * e >> 2];
3317
+ d[e] = J[c + 4 * e >> 2];
3311
3318
  }
3312
- Y.invalidateFramebuffer(a, d);
3319
+ Z.invalidateFramebuffer(a, d);
3313
3320
  }, glLinkProgram:function(a) {
3314
- a = V[a];
3315
- Y.linkProgram(a);
3321
+ a = W[a];
3322
+ Z.linkProgram(a);
3316
3323
  a.oa = 0;
3317
3324
  a.tb = {};
3318
3325
  }, glPixelStorei:function(a, b) {
3319
- Y.pixelStorei(a, b);
3326
+ Z.pixelStorei(a, b);
3320
3327
  }, glRenderbufferStorageMultisample:function(a, b, c, d, e) {
3321
- Y.renderbufferStorageMultisample(a, b, c, d, e);
3328
+ Z.renderbufferStorageMultisample(a, b, c, d, e);
3322
3329
  }, glScissor:function(a, b, c, d) {
3323
- Y.scissor(a, b, c, d);
3330
+ Z.scissor(a, b, c, d);
3324
3331
  }, glShaderSource:function(a, b, c, d) {
3325
3332
  for (var e = "", f = 0; f < b; ++f) {
3326
- var g = d ? I[d + 4 * f >> 2] : -1, m = I[c + 4 * f >> 2];
3327
- g = m ? K(C, m, 0 > g ? void 0 : g) : "";
3333
+ var g = d ? J[d + 4 * f >> 2] : -1, m = J[c + 4 * f >> 2];
3334
+ g = m ? L(G, m, 0 > g ? void 0 : g) : "";
3328
3335
  e += g;
3329
3336
  }
3330
- Y.shaderSource(zd[a], e);
3337
+ Z.shaderSource(zd[a], e);
3331
3338
  }, glStencilFunc:function(a, b, c) {
3332
- Y.stencilFunc(a, b, c);
3339
+ Z.stencilFunc(a, b, c);
3333
3340
  }, glStencilFuncSeparate:function(a, b, c, d) {
3334
- Y.stencilFuncSeparate(a, b, c, d);
3341
+ Z.stencilFuncSeparate(a, b, c, d);
3335
3342
  }, glStencilMask:function(a) {
3336
- Y.stencilMask(a);
3343
+ Z.stencilMask(a);
3337
3344
  }, glStencilOp:function(a, b, c) {
3338
- Y.stencilOp(a, b, c);
3345
+ Z.stencilOp(a, b, c);
3339
3346
  }, glStencilOpSeparate:function(a, b, c, d) {
3340
- Y.stencilOpSeparate(a, b, c, d);
3347
+ Z.stencilOpSeparate(a, b, c, d);
3341
3348
  }, glTexParameteri:function(a, b, c) {
3342
- Y.texParameteri(a, b, c);
3349
+ Z.texParameteri(a, b, c);
3343
3350
  }, glTexStorage2D:function(a, b, c, d, e) {
3344
- Y.texStorage2D(a, b, c, d, e);
3351
+ Z.texStorage2D(a, b, c, d, e);
3345
3352
  }, glTexSubImage2D:function(a, b, c, d, e, f, g, m, p) {
3346
- if (Y.Ka) {
3347
- Y.texSubImage2D(a, b, c, d, e, f, g, m, p);
3353
+ if (Z.Ka) {
3354
+ Z.texSubImage2D(a, b, c, d, e, f, g, m, p);
3348
3355
  } else if (p) {
3349
3356
  var l = m - 5120;
3350
- l = 0 == l ? A : 1 == l ? C : 2 == l ? G : 4 == l ? I : 6 == l ? xa : 5 == l || 28922 == l || 28520 == l || 30779 == l || 30782 == l ? J : wa;
3351
- Y.texSubImage2D(a, b, c, d, e, f, g, m, l, p >> 31 - Math.clz32(l.BYTES_PER_ELEMENT));
3357
+ l = 0 == l ? C : 1 == l ? G : 2 == l ? I : 4 == l ? J : 6 == l ? wa : 5 == l || 28922 == l || 28520 == l || 30779 == l || 30782 == l ? K : va;
3358
+ Z.texSubImage2D(a, b, c, d, e, f, g, m, l, p >> 31 - Math.clz32(l.BYTES_PER_ELEMENT));
3352
3359
  } else {
3353
- Y.texSubImage2D(a, b, c, d, e, f, g, m, null);
3360
+ Z.texSubImage2D(a, b, c, d, e, f, g, m, null);
3354
3361
  }
3355
3362
  }, glUniform1i:function(a, b) {
3356
- var c = Y, d = c.uniform1i;
3357
- var e = Y.Eb;
3363
+ var c = Z, d = c.uniform1i;
3364
+ var e = Z.Eb;
3358
3365
  if (e) {
3359
3366
  var f = e.oa[a];
3360
- "number" == typeof f && (e.oa[a] = f = Y.getUniformLocation(e, e.sb[a] + (0 < f ? "[" + f + "]" : "")));
3367
+ "number" == typeof f && (e.oa[a] = f = Z.getUniformLocation(e, e.sb[a] + (0 < f ? "[" + f + "]" : "")));
3361
3368
  a = f;
3362
3369
  } else {
3363
3370
  X(1282), a = void 0;
3364
3371
  }
3365
3372
  d.call(c, a, b);
3366
3373
  }, glUniformBlockBinding:function(a, b, c) {
3367
- a = V[a];
3368
- Y.uniformBlockBinding(a, b, c);
3374
+ a = W[a];
3375
+ Z.uniformBlockBinding(a, b, c);
3369
3376
  }, glUseProgram:function(a) {
3370
- a = V[a];
3371
- Y.useProgram(a);
3372
- Y.Eb = a;
3377
+ a = W[a];
3378
+ Z.useProgram(a);
3379
+ Z.Eb = a;
3373
3380
  }, glVertexAttribDivisor:function(a, b) {
3374
- Y.vertexAttribDivisor(a, b);
3381
+ Z.vertexAttribDivisor(a, b);
3375
3382
  }, glVertexAttribIPointer:function(a, b, c, d, e) {
3376
- Y.vertexAttribIPointer(a, b, c, d, e);
3383
+ Z.vertexAttribIPointer(a, b, c, d, e);
3377
3384
  }, glVertexAttribPointer:function(a, b, c, d, e, f) {
3378
- Y.vertexAttribPointer(a, b, c, !!d, e, f);
3385
+ Z.vertexAttribPointer(a, b, c, !!d, e, f);
3379
3386
  }, glViewport:function(a, b, c, d) {
3380
- Y.viewport(a, b, c, d);
3381
- }, is_texture_image_done_decoding:function(a) {
3382
- a = W[a];
3383
- return a.complete || a.image.complete;
3387
+ Z.viewport(a, b, c, d);
3384
3388
  }, provokingVertexWEBGL:function(a, b) {
3385
3389
  (a = r[a].H.lb) && a.provokingVertexWEBGL(b);
3386
- }, set_decoded_tex_image_2d:function(a, b) {
3387
- a = r[a].H;
3388
- b = W[b];
3389
- a.texImage2D(a.TEXTURE_2D, 0, a.RGBA, a.RGBA, a.UNSIGNED_BYTE, b.image);
3390
- b.imageWidth = b.image.width;
3391
- b.imageHeight = b.image.height;
3392
- b.complete = !0;
3393
- delete b.image;
3394
- }, strftime_l:(a, b, c, d) => Rd(a, b, c, d), texture_image_height:function(a) {
3395
- a = W[a];
3396
- return a.imageHeight;
3397
- }, texture_image_width:function(a) {
3398
- a = W[a];
3399
- return a.imageWidth;
3390
+ }, strftime_l:(a, b, c, d) => Rd(a, b, c, d), upload_image:function(a, b) {
3391
+ var c = n.images;
3392
+ if (c) {
3393
+ var d = c.get(b);
3394
+ d ? (a = r[a].H, console.log("GL IS", a, d), a.texImage2D(a.TEXTURE_2D, 0, a.RGBA, a.RGBA, a.UNSIGNED_BYTE, d), c.delete(b)) : console.log("NO IMAGE");
3395
+ }
3400
3396
  }, webgl_texSubImage2DWithOffset:function(a, b, c, d, e, f, g, m, p, l) {
3401
3397
  a = r[a].H;
3402
3398
  a.texSubImage2D(b, c, d, e, f, g, m, p, l);
3403
3399
  }};
3404
3400
  (function() {
3405
3401
  function a(c) {
3406
- z = c = c.exports;
3407
- ua = z.memory;
3408
- za();
3409
- Aa = z.__indirect_function_table;
3410
- Ca.unshift(z.__wasm_call_ctors);
3411
- Fa--;
3412
- n.monitorRunDependencies && n.monitorRunDependencies(Fa);
3413
- if (0 == Fa && (null !== Ga && (clearInterval(Ga), Ga = null), Ha)) {
3414
- var d = Ha;
3415
- Ha = null;
3402
+ A = c = c.exports;
3403
+ ta = A.memory;
3404
+ ya();
3405
+ za = A.__indirect_function_table;
3406
+ Ba.unshift(A.__wasm_call_ctors);
3407
+ Ea--;
3408
+ n.monitorRunDependencies && n.monitorRunDependencies(Ea);
3409
+ if (0 == Ea && (null !== Fa && (clearInterval(Fa), Fa = null), Ga)) {
3410
+ var d = Ga;
3411
+ Ga = null;
3416
3412
  d();
3417
3413
  }
3418
3414
  return c;
3419
3415
  }
3420
3416
  var b = {env:Wd, wasi_snapshot_preview1:Wd,};
3421
- Fa++;
3422
- n.monitorRunDependencies && n.monitorRunDependencies(Fa);
3417
+ Ea++;
3418
+ n.monitorRunDependencies && n.monitorRunDependencies(Ea);
3423
3419
  if (n.instantiateWasm) {
3424
3420
  try {
3425
3421
  return n.instantiateWasm(b, a);
3426
3422
  } catch (c) {
3427
- ra("Module.instantiateWasm callback failed with error: " + c), ba(c);
3423
+ z("Module.instantiateWasm callback failed with error: " + c), ba(c);
3428
3424
  }
3429
3425
  }
3430
- Oa(b, function(c) {
3426
+ Na(b, function(c) {
3431
3427
  a(c.instance);
3432
3428
  }).catch(ba);
3433
3429
  return {};
3434
3430
  })();
3435
- var oc = a => (oc = z.free)(a), Ld = a => (Ld = z.malloc)(a), Ra = n._ma_device__on_notification_unlocked = a => (Ra = n._ma_device__on_notification_unlocked = z.ma_device__on_notification_unlocked)(a);
3436
- n._ma_malloc_emscripten = (a, b) => (n._ma_malloc_emscripten = z.ma_malloc_emscripten)(a, b);
3437
- n._ma_free_emscripten = (a, b) => (n._ma_free_emscripten = z.ma_free_emscripten)(a, b);
3438
- var Sa = n._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => (Sa = n._ma_device_process_pcm_frames_capture__webaudio = z.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), Ta = n._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (Ta = n._ma_device_process_pcm_frames_playback__webaudio = z.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), Vd = () => (Vd = z.__errno_location)(), nc = a => (nc = z.__getTypeName)(a);
3439
- n.__embind_initialize_bindings = () => (n.__embind_initialize_bindings = z._embind_initialize_bindings)();
3440
- n.dynCall_iiji = (a, b, c, d, e) => (n.dynCall_iiji = z.dynCall_iiji)(a, b, c, d, e);
3441
- n.dynCall_iiiji = (a, b, c, d, e, f) => (n.dynCall_iiiji = z.dynCall_iiiji)(a, b, c, d, e, f);
3442
- n.dynCall_iij = (a, b, c, d) => (n.dynCall_iij = z.dynCall_iij)(a, b, c, d);
3443
- n.dynCall_jii = (a, b, c) => (n.dynCall_jii = z.dynCall_jii)(a, b, c);
3444
- n.dynCall_jiji = (a, b, c, d, e) => (n.dynCall_jiji = z.dynCall_jiji)(a, b, c, d, e);
3445
- n.dynCall_viijii = (a, b, c, d, e, f, g) => (n.dynCall_viijii = z.dynCall_viijii)(a, b, c, d, e, f, g);
3446
- n.dynCall_iiiiij = (a, b, c, d, e, f, g) => (n.dynCall_iiiiij = z.dynCall_iiiiij)(a, b, c, d, e, f, g);
3447
- n.dynCall_iiiiijj = (a, b, c, d, e, f, g, m, p) => (n.dynCall_iiiiijj = z.dynCall_iiiiijj)(a, b, c, d, e, f, g, m, p);
3448
- n.dynCall_iiiiiijj = (a, b, c, d, e, f, g, m, p, l) => (n.dynCall_iiiiiijj = z.dynCall_iiiiiijj)(a, b, c, d, e, f, g, m, p, l);
3449
- n.___start_em_js = 485988;
3450
- n.___stop_em_js = 488613;
3431
+ var nc = a => (nc = A.free)(a), Ld = a => (Ld = A.malloc)(a);
3432
+ n._setWebImage = (a, b, c) => (n._setWebImage = A.setWebImage)(a, b, c);
3433
+ var Qa = n._ma_device__on_notification_unlocked = a => (Qa = n._ma_device__on_notification_unlocked = A.ma_device__on_notification_unlocked)(a);
3434
+ n._ma_malloc_emscripten = (a, b) => (n._ma_malloc_emscripten = A.ma_malloc_emscripten)(a, b);
3435
+ n._ma_free_emscripten = (a, b) => (n._ma_free_emscripten = A.ma_free_emscripten)(a, b);
3436
+ var Ra = n._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => (Ra = n._ma_device_process_pcm_frames_capture__webaudio = A.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), Sa = n._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (Sa = n._ma_device_process_pcm_frames_playback__webaudio = A.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), Vd = () => (Vd = A.__errno_location)(), mc = a => (mc = A.__getTypeName)(a);
3437
+ n.__embind_initialize_bindings = () => (n.__embind_initialize_bindings = A._embind_initialize_bindings)();
3438
+ n.dynCall_iiji = (a, b, c, d, e) => (n.dynCall_iiji = A.dynCall_iiji)(a, b, c, d, e);
3439
+ n.dynCall_iiiji = (a, b, c, d, e, f) => (n.dynCall_iiiji = A.dynCall_iiiji)(a, b, c, d, e, f);
3440
+ n.dynCall_iij = (a, b, c, d) => (n.dynCall_iij = A.dynCall_iij)(a, b, c, d);
3441
+ n.dynCall_jii = (a, b, c) => (n.dynCall_jii = A.dynCall_jii)(a, b, c);
3442
+ n.dynCall_jiji = (a, b, c, d, e) => (n.dynCall_jiji = A.dynCall_jiji)(a, b, c, d, e);
3443
+ n.dynCall_viijii = (a, b, c, d, e, f, g) => (n.dynCall_viijii = A.dynCall_viijii)(a, b, c, d, e, f, g);
3444
+ n.dynCall_iiiiij = (a, b, c, d, e, f, g) => (n.dynCall_iiiiij = A.dynCall_iiiiij)(a, b, c, d, e, f, g);
3445
+ n.dynCall_iiiiijj = (a, b, c, d, e, f, g, m, p) => (n.dynCall_iiiiijj = A.dynCall_iiiiijj)(a, b, c, d, e, f, g, m, p);
3446
+ n.dynCall_iiiiiijj = (a, b, c, d, e, f, g, m, p, l) => (n.dynCall_iiiiiijj = A.dynCall_iiiiiijj)(a, b, c, d, e, f, g, m, p, l);
3447
+ n.___start_em_js = 488500;
3448
+ n.___stop_em_js = 491140;
3451
3449
  var Xd;
3452
- Ha = function Yd() {
3450
+ Ga = function Yd() {
3453
3451
  Xd || Zd();
3454
- Xd || (Ha = Yd);
3452
+ Xd || (Ga = Yd);
3455
3453
  };
3456
3454
  function Zd() {
3457
3455
  function a() {
3458
- if (!Xd && (Xd = !0, n.calledRun = !0, !va)) {
3459
- n.noFSInit || Tb || (Tb = !0, Sb(), n.stdin = n.stdin, n.stdout = n.stdout, n.stderr = n.stderr, n.stdin ? Vb("stdin", n.stdin) : Ob("/dev/tty", "/dev/stdin"), n.stdout ? Vb("stdout", null, n.stdout) : Ob("/dev/tty", "/dev/stdout"), n.stderr ? Vb("stderr", null, n.stderr) : Ob("/dev/tty1", "/dev/stderr"), Qb("/dev/stdin", 0), Qb("/dev/stdout", 1), Qb("/dev/stderr", 1));
3460
- zb = !1;
3461
- Va(Ca);
3456
+ if (!Xd && (Xd = !0, n.calledRun = !0, !ua)) {
3457
+ n.noFSInit || Sb || (Sb = !0, Rb(), n.stdin = n.stdin, n.stdout = n.stdout, n.stderr = n.stderr, n.stdin ? Ub("stdin", n.stdin) : Nb("/dev/tty", "/dev/stdin"), n.stdout ? Ub("stdout", null, n.stdout) : Nb("/dev/tty", "/dev/stdout"), n.stderr ? Ub("stderr", null, n.stderr) : Nb("/dev/tty1", "/dev/stderr"), Pb("/dev/stdin", 0), Pb("/dev/stdout", 1), Pb("/dev/stderr", 1));
3458
+ yb = !1;
3459
+ Ua(Ba);
3462
3460
  aa(n);
3463
3461
  if (n.onRuntimeInitialized) {
3464
3462
  n.onRuntimeInitialized();
@@ -3466,20 +3464,20 @@ function Zd() {
3466
3464
  if (n.postRun) {
3467
3465
  for ("function" == typeof n.postRun && (n.postRun = [n.postRun]); n.postRun.length;) {
3468
3466
  var b = n.postRun.shift();
3469
- Da.unshift(b);
3467
+ Ca.unshift(b);
3470
3468
  }
3471
3469
  }
3472
- Va(Da);
3470
+ Ua(Ca);
3473
3471
  }
3474
3472
  }
3475
- if (!(0 < Fa)) {
3473
+ if (!(0 < Ea)) {
3476
3474
  if (n.preRun) {
3477
3475
  for ("function" == typeof n.preRun && (n.preRun = [n.preRun]); n.preRun.length;) {
3478
- Ea();
3476
+ Da();
3479
3477
  }
3480
3478
  }
3481
- Va(Ba);
3482
- 0 < Fa || (n.setStatus ? (n.setStatus("Running..."), setTimeout(function() {
3479
+ Ua(Aa);
3480
+ 0 < Ea || (n.setStatus ? (n.setStatus("Running..."), setTimeout(function() {
3483
3481
  setTimeout(function() {
3484
3482
  n.setStatus("");
3485
3483
  }, 1);