@rive-app/flutter-native-wasm 9.0.0 → 10.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/wasm/rive_native.js +453 -447
- package/wasm/rive_native.wasm +0 -0
- package/wasm_compatibility/rive_native.js +497 -494
- package/wasm_compatibility/rive_native.wasm +0 -0
|
@@ -18,7 +18,7 @@ if ("undefined" === typeof globalThis.BigInt64Array) {
|
|
|
18
18
|
if (f.constructor && "ArrayBuffer" === f.constructor.name) {
|
|
19
19
|
f = new Uint32Array(f);
|
|
20
20
|
} else {
|
|
21
|
-
var
|
|
21
|
+
var k = f;
|
|
22
22
|
f = new Uint32Array(2 * f.length);
|
|
23
23
|
}
|
|
24
24
|
}
|
|
@@ -74,7 +74,7 @@ if ("undefined" === typeof globalThis.BigInt64Array) {
|
|
|
74
74
|
return !0;
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
|
-
|
|
77
|
+
k && m.set(k);
|
|
78
78
|
return m;
|
|
79
79
|
}
|
|
80
80
|
return e;
|
|
@@ -115,7 +115,7 @@ d.onRuntimeInitialized = function () {
|
|
|
115
115
|
if (!u) {
|
|
116
116
|
return null;
|
|
117
117
|
}
|
|
118
|
-
var v = ha(
|
|
118
|
+
var v = ha(h),
|
|
119
119
|
p = {
|
|
120
120
|
handle: v,
|
|
121
121
|
attributes: r,
|
|
@@ -123,7 +123,7 @@ d.onRuntimeInitialized = function () {
|
|
|
123
123
|
o: u
|
|
124
124
|
};
|
|
125
125
|
u.canvas && (u.canvas.hb = p);
|
|
126
|
-
|
|
126
|
+
h[v] = p;
|
|
127
127
|
("undefined" == typeof r.Qa || r.Qa) && ia(p);
|
|
128
128
|
ja(v);
|
|
129
129
|
return {
|
|
@@ -173,9 +173,9 @@ d.onRuntimeInitialized = function () {
|
|
|
173
173
|
}
|
|
174
174
|
new Uint8Array(r, l, u - l);
|
|
175
175
|
};
|
|
176
|
-
var
|
|
176
|
+
var k = d.makeGlyphPath;
|
|
177
177
|
d.makeGlyphPath = function (l, r) {
|
|
178
|
-
l =
|
|
178
|
+
l = k(l, r);
|
|
179
179
|
r = l[1];
|
|
180
180
|
var u = d.heapViewU8(l[2], l[3]);
|
|
181
181
|
let v = 0;
|
|
@@ -378,7 +378,7 @@ function La(a, b) {
|
|
|
378
378
|
}));
|
|
379
379
|
}
|
|
380
380
|
var Pa = {
|
|
381
|
-
|
|
381
|
+
489676: (a, b, c, e, f) => {
|
|
382
382
|
if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
|
|
383
383
|
return 0;
|
|
384
384
|
}
|
|
@@ -393,62 +393,62 @@ var Pa = {
|
|
|
393
393
|
window.g.N = {};
|
|
394
394
|
window.g.N.stopped = e;
|
|
395
395
|
window.g.N.Ga = f;
|
|
396
|
-
let
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
for (var n = 0; n <
|
|
400
|
-
if (null ==
|
|
401
|
-
return
|
|
396
|
+
let k = window.g;
|
|
397
|
+
k.m = [];
|
|
398
|
+
k.fb = function (m) {
|
|
399
|
+
for (var n = 0; n < k.m.length; ++n) {
|
|
400
|
+
if (null == k.m[n]) {
|
|
401
|
+
return k.m[n] = m, n;
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
|
|
405
|
-
return
|
|
404
|
+
k.m.push(m);
|
|
405
|
+
return k.m.length - 1;
|
|
406
406
|
};
|
|
407
|
-
|
|
408
|
-
for (
|
|
409
|
-
if (null ==
|
|
410
|
-
|
|
407
|
+
k.Ka = function (m) {
|
|
408
|
+
for (k.m[m] = null; 0 < k.m.length;) {
|
|
409
|
+
if (null == k.m[k.m.length - 1]) {
|
|
410
|
+
k.m.pop();
|
|
411
411
|
} else {
|
|
412
412
|
break;
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
415
|
};
|
|
416
|
-
|
|
417
|
-
for (var n = 0; n <
|
|
418
|
-
if (
|
|
419
|
-
return
|
|
416
|
+
k.Db = function (m) {
|
|
417
|
+
for (var n = 0; n < k.m.length; ++n) {
|
|
418
|
+
if (k.m[n] == m) {
|
|
419
|
+
return k.Ka(n);
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
};
|
|
423
|
-
|
|
424
|
-
return
|
|
423
|
+
k.S = function (m) {
|
|
424
|
+
return k.m[m];
|
|
425
425
|
};
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
for (var m = 0; m <
|
|
429
|
-
var n =
|
|
430
|
-
null != n && null != n.u && n.state ===
|
|
426
|
+
k.Ja = ["touchend", "click"];
|
|
427
|
+
k.unlock = function () {
|
|
428
|
+
for (var m = 0; m < k.m.length; ++m) {
|
|
429
|
+
var n = k.m[m];
|
|
430
|
+
null != n && null != n.u && n.state === k.N.Ga && n.u.resume().then(() => {
|
|
431
431
|
Ma(n.Ea);
|
|
432
432
|
}, q => {
|
|
433
433
|
console.error("Failed to resume audiocontext", q);
|
|
434
434
|
});
|
|
435
435
|
}
|
|
436
|
-
|
|
437
|
-
document.removeEventListener(q,
|
|
436
|
+
k.Ja.map(function (q) {
|
|
437
|
+
document.removeEventListener(q, k.unlock, !0);
|
|
438
438
|
});
|
|
439
439
|
};
|
|
440
|
-
|
|
441
|
-
document.addEventListener(m,
|
|
440
|
+
k.Ja.map(function (m) {
|
|
441
|
+
document.addEventListener(m, k.unlock, !0);
|
|
442
442
|
});
|
|
443
443
|
}
|
|
444
444
|
window.g.X += 1;
|
|
445
445
|
return 1;
|
|
446
446
|
},
|
|
447
|
-
|
|
447
|
+
491854: () => {
|
|
448
448
|
"undefined" !== typeof window.g && (--window.g.X, 0 === window.g.X && delete window.g);
|
|
449
449
|
},
|
|
450
|
-
|
|
451
|
-
|
|
450
|
+
492018: () => void 0 !== navigator.mediaDevices && void 0 !== navigator.mediaDevices.getUserMedia,
|
|
451
|
+
492122: () => {
|
|
452
452
|
try {
|
|
453
453
|
var a = new (window.AudioContext || window.webkitAudioContext)(),
|
|
454
454
|
b = a.sampleRate;
|
|
@@ -458,7 +458,7 @@ var Pa = {
|
|
|
458
458
|
return 0;
|
|
459
459
|
}
|
|
460
460
|
},
|
|
461
|
-
|
|
461
|
+
492293: (a, b, c, e, f, k) => {
|
|
462
462
|
if ("undefined" === typeof window.g) {
|
|
463
463
|
return -1;
|
|
464
464
|
}
|
|
@@ -481,10 +481,10 @@ var Pa = {
|
|
|
481
481
|
u[v * b + l] = r[v];
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
|
-
Na(
|
|
484
|
+
Na(k, e, f);
|
|
485
485
|
}
|
|
486
486
|
if (a == window.g.s.W || a == window.g.s.ba) {
|
|
487
|
-
for (Oa(
|
|
487
|
+
for (Oa(k, e, f), l = 0; l < q.outputBuffer.numberOfChannels; ++l) {
|
|
488
488
|
for (r = q.outputBuffer.getChannelData(l), u = m.T, v = 0; v < e; v += 1) {
|
|
489
489
|
r[v] = u[v * b + l];
|
|
490
490
|
}
|
|
@@ -506,11 +506,11 @@ var Pa = {
|
|
|
506
506
|
console.log("Failed to get user media: " + q);
|
|
507
507
|
});
|
|
508
508
|
a == window.g.s.W && m.I.connect(m.u.destination);
|
|
509
|
-
m.Ea =
|
|
509
|
+
m.Ea = k;
|
|
510
510
|
return window.g.fb(m);
|
|
511
511
|
},
|
|
512
|
-
|
|
513
|
-
|
|
512
|
+
495170: a => window.g.S(a).u.sampleRate,
|
|
513
|
+
495243: a => {
|
|
514
514
|
a = window.g.S(a);
|
|
515
515
|
void 0 !== a.I && (a.I.onaudioprocess = function () {}, a.I.disconnect(), a.I = void 0);
|
|
516
516
|
void 0 !== a.Y && (a.Y.disconnect(), a.Y = void 0);
|
|
@@ -518,15 +518,15 @@ var Pa = {
|
|
|
518
518
|
a.u = void 0;
|
|
519
519
|
a.Ea = void 0;
|
|
520
520
|
},
|
|
521
|
-
|
|
521
|
+
495643: a => {
|
|
522
522
|
window.g.Ka(a);
|
|
523
523
|
},
|
|
524
|
-
|
|
524
|
+
495693: a => {
|
|
525
525
|
a = window.g.S(a);
|
|
526
526
|
a.u.resume();
|
|
527
527
|
a.state = window.g.N.Ga;
|
|
528
528
|
},
|
|
529
|
-
|
|
529
|
+
495832: a => {
|
|
530
530
|
a = window.g.S(a);
|
|
531
531
|
a.u.suspend();
|
|
532
532
|
a.state = window.g.N.stopped;
|
|
@@ -619,12 +619,12 @@ var Ra = (a, b) => {
|
|
|
619
619
|
for (e = ""; b < c;) {
|
|
620
620
|
var f = a[b++];
|
|
621
621
|
if (f & 128) {
|
|
622
|
-
var
|
|
622
|
+
var k = a[b++] & 63;
|
|
623
623
|
if (192 == (f & 224)) {
|
|
624
|
-
e += String.fromCharCode((f & 31) << 6 |
|
|
624
|
+
e += String.fromCharCode((f & 31) << 6 | k);
|
|
625
625
|
} else {
|
|
626
626
|
var m = a[b++] & 63;
|
|
627
|
-
f = 224 == (f & 240) ? (f & 15) << 12 |
|
|
627
|
+
f = 224 == (f & 240) ? (f & 15) << 12 | k << 6 | m : (f & 7) << 18 | k << 12 | m << 6 | a[b++] & 63;
|
|
628
628
|
65536 > f ? e += String.fromCharCode(f) : (f -= 65536, e += String.fromCharCode(55296 | f >> 10, 56320 | f & 1023));
|
|
629
629
|
}
|
|
630
630
|
} else {
|
|
@@ -647,10 +647,10 @@ var Ra = (a, b) => {
|
|
|
647
647
|
}
|
|
648
648
|
var f = c;
|
|
649
649
|
e = c + e - 1;
|
|
650
|
-
for (var
|
|
651
|
-
var m = a.charCodeAt(
|
|
650
|
+
for (var k = 0; k < a.length; ++k) {
|
|
651
|
+
var m = a.charCodeAt(k);
|
|
652
652
|
if (55296 <= m && 57343 >= m) {
|
|
653
|
-
var n = a.charCodeAt(++
|
|
653
|
+
var n = a.charCodeAt(++k);
|
|
654
654
|
m = 65536 + ((m & 1023) << 10) | n & 1023;
|
|
655
655
|
}
|
|
656
656
|
if (127 >= m) {
|
|
@@ -719,7 +719,7 @@ var fb = {
|
|
|
719
719
|
if (!a.tty || !a.tty.G.Aa) {
|
|
720
720
|
throw new H(60);
|
|
721
721
|
}
|
|
722
|
-
for (var f = 0,
|
|
722
|
+
for (var f = 0, k = 0; k < e; k++) {
|
|
723
723
|
try {
|
|
724
724
|
var m = a.tty.G.Aa(a.tty);
|
|
725
725
|
} catch (n) {
|
|
@@ -732,7 +732,7 @@ var fb = {
|
|
|
732
732
|
break;
|
|
733
733
|
}
|
|
734
734
|
f++;
|
|
735
|
-
b[c +
|
|
735
|
+
b[c + k] = m;
|
|
736
736
|
}
|
|
737
737
|
f && (a.node.timestamp = Date.now());
|
|
738
738
|
return f;
|
|
@@ -745,7 +745,7 @@ var fb = {
|
|
|
745
745
|
for (var f = 0; f < e; f++) {
|
|
746
746
|
a.tty.G.ha(a.tty, b[c + f]);
|
|
747
747
|
}
|
|
748
|
-
} catch (
|
|
748
|
+
} catch (k) {
|
|
749
749
|
throw new H(29);
|
|
750
750
|
}
|
|
751
751
|
e && (a.node.timestamp = Date.now());
|
|
@@ -925,7 +925,7 @@ var I = {
|
|
|
925
925
|
if (16384 === (a.mode & 61440)) {
|
|
926
926
|
try {
|
|
927
927
|
var e = mb(b, c);
|
|
928
|
-
} catch (
|
|
928
|
+
} catch (k) {}
|
|
929
929
|
if (e) {
|
|
930
930
|
for (var f in e.i) {
|
|
931
931
|
throw new H(55);
|
|
@@ -973,29 +973,29 @@ var I = {
|
|
|
973
973
|
},
|
|
974
974
|
j: {
|
|
975
975
|
read(a, b, c, e, f) {
|
|
976
|
-
var
|
|
976
|
+
var k = a.node.i;
|
|
977
977
|
if (f >= a.node.l) {
|
|
978
978
|
return 0;
|
|
979
979
|
}
|
|
980
980
|
a = Math.min(a.node.l - f, e);
|
|
981
|
-
if (8 < a &&
|
|
982
|
-
b.set(
|
|
981
|
+
if (8 < a && k.subarray) {
|
|
982
|
+
b.set(k.subarray(f, f + a), c);
|
|
983
983
|
} else {
|
|
984
984
|
for (e = 0; e < a; e++) {
|
|
985
|
-
b[c + e] =
|
|
985
|
+
b[c + e] = k[f + e];
|
|
986
986
|
}
|
|
987
987
|
}
|
|
988
988
|
return a;
|
|
989
989
|
},
|
|
990
|
-
write(a, b, c, e, f,
|
|
991
|
-
b.buffer === y.buffer && (
|
|
990
|
+
write(a, b, c, e, f, k) {
|
|
991
|
+
b.buffer === y.buffer && (k = !1);
|
|
992
992
|
if (!e) {
|
|
993
993
|
return 0;
|
|
994
994
|
}
|
|
995
995
|
a = a.node;
|
|
996
996
|
a.timestamp = Date.now();
|
|
997
997
|
if (b.subarray && (!a.i || a.i.subarray)) {
|
|
998
|
-
if (
|
|
998
|
+
if (k) {
|
|
999
999
|
return a.i = b.subarray(c, c + e), a.l = e;
|
|
1000
1000
|
}
|
|
1001
1001
|
if (0 === a.l && 0 === f) {
|
|
@@ -1009,8 +1009,8 @@ var I = {
|
|
|
1009
1009
|
if (a.i.subarray && b.subarray) {
|
|
1010
1010
|
a.i.set(b.subarray(c, c + e), f);
|
|
1011
1011
|
} else {
|
|
1012
|
-
for (
|
|
1013
|
-
a.i[f +
|
|
1012
|
+
for (k = 0; k < e; k++) {
|
|
1013
|
+
a.i[f + k] = b[c + k];
|
|
1014
1014
|
}
|
|
1015
1015
|
}
|
|
1016
1016
|
a.l = Math.max(a.l, f + e);
|
|
@@ -1138,18 +1138,18 @@ function J(a) {
|
|
|
1138
1138
|
}
|
|
1139
1139
|
a = a.split("/").filter(m => !!m);
|
|
1140
1140
|
for (var c = ob, e = "/", f = 0; f < a.length; f++) {
|
|
1141
|
-
var
|
|
1142
|
-
if (
|
|
1141
|
+
var k = f === a.length - 1;
|
|
1142
|
+
if (k && b.parent) {
|
|
1143
1143
|
break;
|
|
1144
1144
|
}
|
|
1145
1145
|
c = mb(c, a[f]);
|
|
1146
1146
|
e = Sa(e + "/" + a[f]);
|
|
1147
|
-
c.V && (!
|
|
1148
|
-
if (!
|
|
1149
|
-
for (
|
|
1147
|
+
c.V && (!k || k && b.za) && (c = c.V.root);
|
|
1148
|
+
if (!k || b.ya) {
|
|
1149
|
+
for (k = 0; 40960 === (c.mode & 61440);) {
|
|
1150
1150
|
if (c = wb(e), e = Xa(Ta(e), c), c = J(e, {
|
|
1151
1151
|
ka: b.ka + 1
|
|
1152
|
-
}).node, 40 <
|
|
1152
|
+
}).node, 40 < k++) {
|
|
1153
1153
|
throw new H(32);
|
|
1154
1154
|
}
|
|
1155
1155
|
}
|
|
@@ -1218,7 +1218,7 @@ function Bb(a, b) {
|
|
|
1218
1218
|
} catch (c) {}
|
|
1219
1219
|
return zb(a, "wx");
|
|
1220
1220
|
}
|
|
1221
|
-
function
|
|
1221
|
+
function L(a) {
|
|
1222
1222
|
a = qb[a];
|
|
1223
1223
|
if (!a) {
|
|
1224
1224
|
throw new H(8);
|
|
@@ -1373,7 +1373,7 @@ function Ib(a, b, c) {
|
|
|
1373
1373
|
f = J(a, {
|
|
1374
1374
|
ya: !(b & 131072)
|
|
1375
1375
|
}).node;
|
|
1376
|
-
} catch (
|
|
1376
|
+
} catch (k) {}
|
|
1377
1377
|
}
|
|
1378
1378
|
e = !1;
|
|
1379
1379
|
if (b & 64) {
|
|
@@ -1452,14 +1452,14 @@ function Mb(a, b, c) {
|
|
|
1452
1452
|
Nb || (Nb = 64);
|
|
1453
1453
|
var f = Nb++ << 8 | 0;
|
|
1454
1454
|
eb(f, {
|
|
1455
|
-
open(
|
|
1456
|
-
|
|
1455
|
+
open(k) {
|
|
1456
|
+
k.seekable = !1;
|
|
1457
1457
|
},
|
|
1458
1458
|
close() {
|
|
1459
1459
|
var _c$buffer;
|
|
1460
1460
|
(c === null || c === void 0 || (_c$buffer = c.buffer) === null || _c$buffer === void 0 ? void 0 : _c$buffer.length) && c(10);
|
|
1461
1461
|
},
|
|
1462
|
-
read(
|
|
1462
|
+
read(k, m, n, q) {
|
|
1463
1463
|
for (var l = 0, r = 0; r < q; r++) {
|
|
1464
1464
|
try {
|
|
1465
1465
|
var u = b();
|
|
@@ -1475,10 +1475,10 @@ function Mb(a, b, c) {
|
|
|
1475
1475
|
l++;
|
|
1476
1476
|
m[n + r] = u;
|
|
1477
1477
|
}
|
|
1478
|
-
l && (
|
|
1478
|
+
l && (k.node.timestamp = Date.now());
|
|
1479
1479
|
return l;
|
|
1480
1480
|
},
|
|
1481
|
-
write(
|
|
1481
|
+
write(k, m, n, q) {
|
|
1482
1482
|
for (var l = 0; l < q; l++) {
|
|
1483
1483
|
try {
|
|
1484
1484
|
c(m[n + l]);
|
|
@@ -1486,7 +1486,7 @@ function Mb(a, b, c) {
|
|
|
1486
1486
|
throw new H(29);
|
|
1487
1487
|
}
|
|
1488
1488
|
}
|
|
1489
|
-
q && (
|
|
1489
|
+
q && (k.node.timestamp = Date.now());
|
|
1490
1490
|
return l;
|
|
1491
1491
|
}
|
|
1492
1492
|
});
|
|
@@ -1507,67 +1507,67 @@ function Qb(a) {
|
|
|
1507
1507
|
return this.fromWireType(E[a >> 2]);
|
|
1508
1508
|
}
|
|
1509
1509
|
var Rb = {},
|
|
1510
|
+
O = {},
|
|
1510
1511
|
Sb = {},
|
|
1511
|
-
Tb
|
|
1512
|
-
Ub,
|
|
1513
|
-
Vb = (a, b, c) => {
|
|
1512
|
+
Tb,
|
|
1513
|
+
Ub = (a, b, c) => {
|
|
1514
1514
|
function e(n) {
|
|
1515
1515
|
n = c(n);
|
|
1516
1516
|
if (n.length !== a.length) {
|
|
1517
|
-
throw new
|
|
1517
|
+
throw new Tb("Mismatched type converter count");
|
|
1518
1518
|
}
|
|
1519
1519
|
for (var q = 0; q < a.length; ++q) {
|
|
1520
|
-
|
|
1520
|
+
P(a[q], n[q]);
|
|
1521
1521
|
}
|
|
1522
1522
|
}
|
|
1523
1523
|
a.forEach(function (n) {
|
|
1524
|
-
|
|
1524
|
+
Sb[n] = b;
|
|
1525
1525
|
});
|
|
1526
1526
|
var f = Array(b.length),
|
|
1527
|
-
|
|
1527
|
+
k = [],
|
|
1528
1528
|
m = 0;
|
|
1529
1529
|
b.forEach((n, q) => {
|
|
1530
|
-
|
|
1531
|
-
f[q] =
|
|
1530
|
+
O.hasOwnProperty(n) ? f[q] = O[n] : (k.push(n), Rb.hasOwnProperty(n) || (Rb[n] = []), Rb[n].push(() => {
|
|
1531
|
+
f[q] = O[n];
|
|
1532
1532
|
++m;
|
|
1533
|
-
m ===
|
|
1533
|
+
m === k.length && e(f);
|
|
1534
1534
|
}));
|
|
1535
1535
|
});
|
|
1536
|
-
0 ===
|
|
1536
|
+
0 === k.length && e(f);
|
|
1537
1537
|
},
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1538
|
+
Vb = {},
|
|
1539
|
+
Wb,
|
|
1540
|
+
Q = a => {
|
|
1541
1541
|
for (var b = ""; A[a];) {
|
|
1542
|
-
b +=
|
|
1542
|
+
b += Wb[A[a++]];
|
|
1543
1543
|
}
|
|
1544
1544
|
return b;
|
|
1545
1545
|
},
|
|
1546
|
-
|
|
1547
|
-
function
|
|
1546
|
+
R;
|
|
1547
|
+
function Xb(a, b) {
|
|
1548
1548
|
let c = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1549
1549
|
var e = b.name;
|
|
1550
1550
|
if (!a) {
|
|
1551
|
-
throw new
|
|
1551
|
+
throw new R("type \"".concat(e, "\" must have a positive integer typeid pointer"));
|
|
1552
1552
|
}
|
|
1553
|
-
if (
|
|
1553
|
+
if (O.hasOwnProperty(a)) {
|
|
1554
1554
|
if (c.Sa) {
|
|
1555
1555
|
return;
|
|
1556
1556
|
}
|
|
1557
|
-
throw new
|
|
1557
|
+
throw new R("Cannot register type '".concat(e, "' twice"));
|
|
1558
1558
|
}
|
|
1559
|
-
|
|
1560
|
-
delete
|
|
1559
|
+
O[a] = b;
|
|
1560
|
+
delete Sb[a];
|
|
1561
1561
|
Rb.hasOwnProperty(a) && (b = Rb[a], delete Rb[a], b.forEach(f => f()));
|
|
1562
1562
|
}
|
|
1563
|
-
function
|
|
1563
|
+
function P(a, b) {
|
|
1564
1564
|
let c = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1565
1565
|
if (!("argPackAdvance" in b)) {
|
|
1566
1566
|
throw new TypeError("registerType registeredInstance requires argPackAdvance");
|
|
1567
1567
|
}
|
|
1568
|
-
return
|
|
1568
|
+
return Xb(a, b, c);
|
|
1569
1569
|
}
|
|
1570
|
-
var
|
|
1570
|
+
var Yb = (a, b, c) => {
|
|
1571
1571
|
switch (b) {
|
|
1572
1572
|
case 1:
|
|
1573
1573
|
return c ? e => y[e] : e => A[e];
|
|
@@ -1581,18 +1581,18 @@ var Zb = (a, b, c) => {
|
|
|
1581
1581
|
throw new TypeError("invalid integer width (".concat(b, "): ").concat(a));
|
|
1582
1582
|
}
|
|
1583
1583
|
},
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
9 < a && 0 === --
|
|
1584
|
+
Zb = [],
|
|
1585
|
+
S = [],
|
|
1586
|
+
$b = a => {
|
|
1587
|
+
9 < a && 0 === --S[a + 1] && (S[a] = void 0, Zb.push(a));
|
|
1588
1588
|
},
|
|
1589
|
-
|
|
1589
|
+
ac = a => {
|
|
1590
1590
|
if (!a) {
|
|
1591
|
-
throw new
|
|
1591
|
+
throw new R("Cannot use deleted val. handle = " + a);
|
|
1592
1592
|
}
|
|
1593
|
-
return
|
|
1593
|
+
return S[a];
|
|
1594
1594
|
},
|
|
1595
|
-
|
|
1595
|
+
bc = a => {
|
|
1596
1596
|
switch (a) {
|
|
1597
1597
|
case void 0:
|
|
1598
1598
|
return 2;
|
|
@@ -1603,25 +1603,25 @@ var Zb = (a, b, c) => {
|
|
|
1603
1603
|
case !1:
|
|
1604
1604
|
return 8;
|
|
1605
1605
|
default:
|
|
1606
|
-
const b =
|
|
1607
|
-
|
|
1608
|
-
|
|
1606
|
+
const b = Zb.pop() || S.length;
|
|
1607
|
+
S[b] = a;
|
|
1608
|
+
S[b + 1] = 1;
|
|
1609
1609
|
return b;
|
|
1610
1610
|
}
|
|
1611
1611
|
},
|
|
1612
|
-
|
|
1612
|
+
cc = {
|
|
1613
1613
|
name: "emscripten::val",
|
|
1614
1614
|
fromWireType: a => {
|
|
1615
|
-
var b =
|
|
1616
|
-
|
|
1615
|
+
var b = ac(a);
|
|
1616
|
+
$b(a);
|
|
1617
1617
|
return b;
|
|
1618
1618
|
},
|
|
1619
|
-
toWireType: (a, b) =>
|
|
1619
|
+
toWireType: (a, b) => bc(b),
|
|
1620
1620
|
argPackAdvance: 8,
|
|
1621
1621
|
readValueFromPointer: Qb,
|
|
1622
1622
|
v: null
|
|
1623
1623
|
},
|
|
1624
|
-
|
|
1624
|
+
dc = (a, b) => {
|
|
1625
1625
|
switch (b) {
|
|
1626
1626
|
case 4:
|
|
1627
1627
|
return function (c) {
|
|
@@ -1635,10 +1635,10 @@ var Zb = (a, b, c) => {
|
|
|
1635
1635
|
throw new TypeError("invalid float width (".concat(b, "): ").concat(a));
|
|
1636
1636
|
}
|
|
1637
1637
|
},
|
|
1638
|
-
|
|
1638
|
+
ec = (a, b) => Object.defineProperty(b, "name", {
|
|
1639
1639
|
value: a
|
|
1640
1640
|
});
|
|
1641
|
-
function
|
|
1641
|
+
function fc(a) {
|
|
1642
1642
|
for (var b = 1; b < a.length; ++b) {
|
|
1643
1643
|
if (null !== a[b] && void 0 === a[b].v) {
|
|
1644
1644
|
return !0;
|
|
@@ -1646,29 +1646,29 @@ function gc(a) {
|
|
|
1646
1646
|
}
|
|
1647
1647
|
return !1;
|
|
1648
1648
|
}
|
|
1649
|
-
function
|
|
1649
|
+
function gc(a, b, c, e) {
|
|
1650
1650
|
var f = b.length;
|
|
1651
1651
|
if (2 > f) {
|
|
1652
|
-
throw new
|
|
1652
|
+
throw new R("argTypes array size mismatch! Must at least get return value and 'this' types!");
|
|
1653
1653
|
}
|
|
1654
|
-
var
|
|
1655
|
-
m =
|
|
1654
|
+
var k = null !== b[1] && !1,
|
|
1655
|
+
m = fc(b),
|
|
1656
1656
|
n = "void" !== b[0].name,
|
|
1657
1657
|
q = f - 2,
|
|
1658
1658
|
l = Array(q),
|
|
1659
1659
|
r = [],
|
|
1660
1660
|
u = [];
|
|
1661
|
-
return
|
|
1661
|
+
return ec(a, function () {
|
|
1662
1662
|
for (var _len = arguments.length, v = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
1663
1663
|
v[_key] = arguments[_key];
|
|
1664
1664
|
}
|
|
1665
1665
|
if (v.length !== q) {
|
|
1666
|
-
throw new
|
|
1666
|
+
throw new R("function ".concat(a, " called with ").concat(v.length, " arguments, expected ").concat(q));
|
|
1667
1667
|
}
|
|
1668
1668
|
u.length = 0;
|
|
1669
|
-
r.length =
|
|
1669
|
+
r.length = k ? 2 : 1;
|
|
1670
1670
|
r[0] = e;
|
|
1671
|
-
if (
|
|
1671
|
+
if (k) {
|
|
1672
1672
|
var p = b[1].toWireType(u, this);
|
|
1673
1673
|
r[1] = p;
|
|
1674
1674
|
}
|
|
@@ -1679,7 +1679,7 @@ function hc(a, b, c, e) {
|
|
|
1679
1679
|
if (m) {
|
|
1680
1680
|
Pb(u);
|
|
1681
1681
|
} else {
|
|
1682
|
-
for (x =
|
|
1682
|
+
for (x = k ? 1 : 2; x < b.length; x++) {
|
|
1683
1683
|
var z = 1 === x ? p : l[x - 2];
|
|
1684
1684
|
null !== b[x].v && b[x].v(z);
|
|
1685
1685
|
}
|
|
@@ -1688,7 +1688,7 @@ function hc(a, b, c, e) {
|
|
|
1688
1688
|
return p;
|
|
1689
1689
|
});
|
|
1690
1690
|
}
|
|
1691
|
-
var
|
|
1691
|
+
var hc = (a, b) => {
|
|
1692
1692
|
if (void 0 === d[a].B) {
|
|
1693
1693
|
var c = d[a];
|
|
1694
1694
|
d[a] = function () {
|
|
@@ -1696,7 +1696,7 @@ var ic = (a, b) => {
|
|
|
1696
1696
|
e[_key2] = arguments[_key2];
|
|
1697
1697
|
}
|
|
1698
1698
|
if (!d[a].B.hasOwnProperty(e.length)) {
|
|
1699
|
-
throw new
|
|
1699
|
+
throw new R("Function '".concat(b, "' called with an invalid number of arguments (").concat(e.length, ") - expects one of (").concat(d[a].B, ")!"));
|
|
1700
1700
|
}
|
|
1701
1701
|
return d[a].B[e.length].apply(this, e);
|
|
1702
1702
|
};
|
|
@@ -1704,67 +1704,67 @@ var ic = (a, b) => {
|
|
|
1704
1704
|
d[a].B[c.Na] = c;
|
|
1705
1705
|
}
|
|
1706
1706
|
},
|
|
1707
|
-
|
|
1707
|
+
ic = (a, b, c) => {
|
|
1708
1708
|
if (d.hasOwnProperty(a)) {
|
|
1709
1709
|
if (void 0 === c || void 0 !== d[a].B && void 0 !== d[a].B[c]) {
|
|
1710
|
-
throw new
|
|
1710
|
+
throw new R("Cannot register public name '".concat(a, "' twice"));
|
|
1711
1711
|
}
|
|
1712
|
-
|
|
1712
|
+
hc(a, a);
|
|
1713
1713
|
if (d.hasOwnProperty(c)) {
|
|
1714
|
-
throw new
|
|
1714
|
+
throw new R("Cannot register multiple overloads of a function with the same number of arguments (".concat(c, ")!"));
|
|
1715
1715
|
}
|
|
1716
1716
|
d[a].B[c] = b;
|
|
1717
1717
|
} else {
|
|
1718
1718
|
d[a] = b, void 0 !== c && (d[a].zb = c);
|
|
1719
1719
|
}
|
|
1720
1720
|
},
|
|
1721
|
-
|
|
1721
|
+
jc = (a, b) => {
|
|
1722
1722
|
for (var c = [], e = 0; e < a; e++) {
|
|
1723
1723
|
c.push(E[b + 4 * e >> 2]);
|
|
1724
1724
|
}
|
|
1725
1725
|
return c;
|
|
1726
1726
|
},
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
a =
|
|
1731
|
-
var c =
|
|
1732
|
-
c || (b >=
|
|
1727
|
+
kc = [],
|
|
1728
|
+
lc,
|
|
1729
|
+
T = (a, b) => {
|
|
1730
|
+
a = Q(a);
|
|
1731
|
+
var c = kc[b];
|
|
1732
|
+
c || (b >= kc.length && (kc.length = b + 1), kc[b] = c = lc.get(b));
|
|
1733
1733
|
if ("function" != typeof c) {
|
|
1734
|
-
throw new
|
|
1734
|
+
throw new R("unknown function pointer with signature ".concat(a, ": ").concat(b));
|
|
1735
1735
|
}
|
|
1736
1736
|
return c;
|
|
1737
1737
|
},
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
a =
|
|
1741
|
-
var b =
|
|
1742
|
-
|
|
1738
|
+
mc,
|
|
1739
|
+
oc = a => {
|
|
1740
|
+
a = nc(a);
|
|
1741
|
+
var b = Q(a);
|
|
1742
|
+
U(a);
|
|
1743
1743
|
return b;
|
|
1744
1744
|
},
|
|
1745
|
-
|
|
1746
|
-
function c(
|
|
1747
|
-
f[
|
|
1745
|
+
pc = (a, b) => {
|
|
1746
|
+
function c(k) {
|
|
1747
|
+
f[k] || O[k] || (Sb[k] ? Sb[k].forEach(c) : (e.push(k), f[k] = !0));
|
|
1748
1748
|
}
|
|
1749
1749
|
var e = [],
|
|
1750
1750
|
f = {};
|
|
1751
1751
|
b.forEach(c);
|
|
1752
|
-
throw new
|
|
1752
|
+
throw new mc("".concat(a, ": ") + e.map(oc).join([", "]));
|
|
1753
1753
|
},
|
|
1754
|
-
|
|
1754
|
+
qc = a => {
|
|
1755
1755
|
a = a.trim();
|
|
1756
1756
|
const b = a.indexOf("(");
|
|
1757
1757
|
return -1 !== b ? a.substr(0, b) : a;
|
|
1758
1758
|
},
|
|
1759
|
-
|
|
1760
|
-
|
|
1759
|
+
rc = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void 0,
|
|
1760
|
+
sc = (a, b) => {
|
|
1761
1761
|
var c = a >> 1;
|
|
1762
1762
|
for (var e = c + b / 2; !(c >= e) && ua[c];) {
|
|
1763
1763
|
++c;
|
|
1764
1764
|
}
|
|
1765
1765
|
c <<= 1;
|
|
1766
|
-
if (32 < c - a &&
|
|
1767
|
-
return
|
|
1766
|
+
if (32 < c - a && rc) {
|
|
1767
|
+
return rc.decode(A.subarray(a, c));
|
|
1768
1768
|
}
|
|
1769
1769
|
c = "";
|
|
1770
1770
|
for (e = 0; !(e >= b / 2); ++e) {
|
|
@@ -1776,7 +1776,7 @@ var ic = (a, b) => {
|
|
|
1776
1776
|
}
|
|
1777
1777
|
return c;
|
|
1778
1778
|
},
|
|
1779
|
-
|
|
1779
|
+
tc = (a, b, c) => {
|
|
1780
1780
|
var _c;
|
|
1781
1781
|
(_c = c) !== null && _c !== void 0 ? _c : c = 2147483647;
|
|
1782
1782
|
if (2 > c) {
|
|
@@ -1791,8 +1791,8 @@ var ic = (a, b) => {
|
|
|
1791
1791
|
B[b >> 1] = 0;
|
|
1792
1792
|
return b - e;
|
|
1793
1793
|
},
|
|
1794
|
-
|
|
1795
|
-
|
|
1794
|
+
uc = a => 2 * a.length,
|
|
1795
|
+
vc = (a, b) => {
|
|
1796
1796
|
for (var c = 0, e = ""; !(c >= b / 4);) {
|
|
1797
1797
|
var f = C[a + 4 * c >> 2];
|
|
1798
1798
|
if (0 == f) {
|
|
@@ -1803,7 +1803,7 @@ var ic = (a, b) => {
|
|
|
1803
1803
|
}
|
|
1804
1804
|
return e;
|
|
1805
1805
|
},
|
|
1806
|
-
|
|
1806
|
+
wc = (a, b, c) => {
|
|
1807
1807
|
var _c2;
|
|
1808
1808
|
(_c2 = c) !== null && _c2 !== void 0 ? _c2 : c = 2147483647;
|
|
1809
1809
|
if (4 > c) {
|
|
@@ -1812,12 +1812,12 @@ var ic = (a, b) => {
|
|
|
1812
1812
|
var e = b;
|
|
1813
1813
|
c = e + c - 4;
|
|
1814
1814
|
for (var f = 0; f < a.length; ++f) {
|
|
1815
|
-
var
|
|
1816
|
-
if (55296 <=
|
|
1815
|
+
var k = a.charCodeAt(f);
|
|
1816
|
+
if (55296 <= k && 57343 >= k) {
|
|
1817
1817
|
var m = a.charCodeAt(++f);
|
|
1818
|
-
|
|
1818
|
+
k = 65536 + ((k & 1023) << 10) | m & 1023;
|
|
1819
1819
|
}
|
|
1820
|
-
C[b >> 2] =
|
|
1820
|
+
C[b >> 2] = k;
|
|
1821
1821
|
b += 4;
|
|
1822
1822
|
if (b + 4 > c) {
|
|
1823
1823
|
break;
|
|
@@ -1826,7 +1826,7 @@ var ic = (a, b) => {
|
|
|
1826
1826
|
C[b >> 2] = 0;
|
|
1827
1827
|
return b - e;
|
|
1828
1828
|
},
|
|
1829
|
-
|
|
1829
|
+
xc = a => {
|
|
1830
1830
|
for (var b = 0, c = 0; c < a.length; ++c) {
|
|
1831
1831
|
var e = a.charCodeAt(c);
|
|
1832
1832
|
55296 <= e && 57343 >= e && ++c;
|
|
@@ -1834,77 +1834,77 @@ var ic = (a, b) => {
|
|
|
1834
1834
|
}
|
|
1835
1835
|
return b;
|
|
1836
1836
|
},
|
|
1837
|
-
|
|
1838
|
-
var c =
|
|
1837
|
+
yc = (a, b) => {
|
|
1838
|
+
var c = O[a];
|
|
1839
1839
|
if (void 0 === c) {
|
|
1840
|
-
throw a = "".concat(b, " has unknown type ").concat(
|
|
1840
|
+
throw a = "".concat(b, " has unknown type ").concat(oc(a)), new R(a);
|
|
1841
1841
|
}
|
|
1842
1842
|
return c;
|
|
1843
1843
|
},
|
|
1844
|
-
|
|
1844
|
+
zc = (a, b, c) => {
|
|
1845
1845
|
var e = [];
|
|
1846
1846
|
a = a.toWireType(e, c);
|
|
1847
|
-
e.length && (E[b >> 2] =
|
|
1847
|
+
e.length && (E[b >> 2] = bc(e));
|
|
1848
1848
|
return a;
|
|
1849
1849
|
},
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
var b =
|
|
1854
|
-
return void 0 === b ?
|
|
1850
|
+
Ac = [],
|
|
1851
|
+
Bc = {},
|
|
1852
|
+
Cc = a => {
|
|
1853
|
+
var b = Bc[a];
|
|
1854
|
+
return void 0 === b ? Q(a) : b;
|
|
1855
1855
|
},
|
|
1856
|
-
|
|
1857
|
-
var b =
|
|
1858
|
-
|
|
1856
|
+
Dc = a => {
|
|
1857
|
+
var b = Ac.length;
|
|
1858
|
+
Ac.push(a);
|
|
1859
1859
|
return b;
|
|
1860
1860
|
},
|
|
1861
|
-
|
|
1861
|
+
Ec = (a, b) => {
|
|
1862
1862
|
for (var c = Array(a), e = 0; e < a; ++e) {
|
|
1863
|
-
c[e] =
|
|
1863
|
+
c[e] = yc(E[b + 4 * e >> 2], "parameter " + e);
|
|
1864
1864
|
}
|
|
1865
1865
|
return c;
|
|
1866
1866
|
},
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
|
|
1867
|
+
Fc = Reflect.construct,
|
|
1868
|
+
Gc = [],
|
|
1869
|
+
Hc = a => {
|
|
1870
1870
|
a.qb = a.getExtension("WEBGL_draw_instanced_base_vertex_base_instance");
|
|
1871
1871
|
},
|
|
1872
|
-
|
|
1872
|
+
Ic = a => {
|
|
1873
1873
|
a.yb = a.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance");
|
|
1874
1874
|
},
|
|
1875
|
-
|
|
1875
|
+
Jc = a => {
|
|
1876
1876
|
var b = "EXT_color_buffer_float EXT_conservative_depth EXT_disjoint_timer_query_webgl2 EXT_texture_norm16 NV_shader_noperspective_interpolation WEBGL_clip_cull_distance EXT_color_buffer_half_float EXT_depth_clamp EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic KHR_parallel_shader_compile OES_texture_float_linear WEBGL_blend_func_extended WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context WEBGL_multi_draw".split(" ");
|
|
1877
1877
|
return (a.getSupportedExtensions() || []).filter(c => b.includes(c));
|
|
1878
1878
|
},
|
|
1879
|
-
|
|
1879
|
+
Kc = 1,
|
|
1880
|
+
Lc = [],
|
|
1881
|
+
W = [],
|
|
1880
1882
|
Mc = [],
|
|
1881
|
-
U = [],
|
|
1882
1883
|
Nc = [],
|
|
1883
1884
|
Oc = [],
|
|
1884
|
-
V = [],
|
|
1885
1885
|
Pc = [],
|
|
1886
1886
|
Qc = [],
|
|
1887
|
-
|
|
1887
|
+
h = [],
|
|
1888
1888
|
Rc = {},
|
|
1889
1889
|
Sc = 4,
|
|
1890
1890
|
Tc = 0,
|
|
1891
1891
|
ha = a => {
|
|
1892
|
-
for (var b =
|
|
1892
|
+
for (var b = Kc++, c = a.length; c < b; c++) {
|
|
1893
1893
|
a[c] = null;
|
|
1894
1894
|
}
|
|
1895
1895
|
return b;
|
|
1896
1896
|
},
|
|
1897
1897
|
Uc = (a, b, c, e) => {
|
|
1898
1898
|
for (var f = 0; f < a; f++) {
|
|
1899
|
-
var
|
|
1900
|
-
m =
|
|
1901
|
-
|
|
1899
|
+
var k = X[c](),
|
|
1900
|
+
m = k && ha(e);
|
|
1901
|
+
k ? (k.name = m, e[m] = k) : Y || (Y = 1282);
|
|
1902
1902
|
C[b + 4 * f >> 2] = m;
|
|
1903
1903
|
}
|
|
1904
1904
|
},
|
|
1905
1905
|
ja = a => {
|
|
1906
1906
|
var _Vc;
|
|
1907
|
-
Vc =
|
|
1907
|
+
Vc = h[a];
|
|
1908
1908
|
d.pb = X = (_Vc = Vc) === null || _Vc === void 0 ? void 0 : _Vc.o;
|
|
1909
1909
|
return !(a && !X);
|
|
1910
1910
|
},
|
|
@@ -1913,14 +1913,14 @@ var ic = (a, b) => {
|
|
|
1913
1913
|
if (!a.Ta) {
|
|
1914
1914
|
a.Ta = !0;
|
|
1915
1915
|
var b = a.o;
|
|
1916
|
+
Hc(b);
|
|
1916
1917
|
Ic(b);
|
|
1917
|
-
Jc(b);
|
|
1918
1918
|
2 <= a.version && (b.wa = b.getExtension("EXT_disjoint_timer_query_webgl2"));
|
|
1919
1919
|
if (2 > a.version || !b.wa) {
|
|
1920
1920
|
b.wa = b.getExtension("EXT_disjoint_timer_query");
|
|
1921
1921
|
}
|
|
1922
1922
|
b.Za = b.getExtension("WEBGL_multi_draw");
|
|
1923
|
-
|
|
1923
|
+
Jc(b).forEach(c => {
|
|
1924
1924
|
c.includes("lose_context") || c.includes("debug") || b.getExtension(c);
|
|
1925
1925
|
});
|
|
1926
1926
|
}
|
|
@@ -1954,7 +1954,7 @@ var ic = (a, b) => {
|
|
|
1954
1954
|
Xc,
|
|
1955
1955
|
Zc = [];
|
|
1956
1956
|
function $c() {
|
|
1957
|
-
var a =
|
|
1957
|
+
var a = Jc(X);
|
|
1958
1958
|
return a = a.concat(a.map(b => "GL_" + b));
|
|
1959
1959
|
}
|
|
1960
1960
|
var ad = (a, b) => {
|
|
@@ -2076,12 +2076,12 @@ var ad = (a, b) => {
|
|
|
2076
2076
|
}
|
|
2077
2077
|
return p;
|
|
2078
2078
|
}
|
|
2079
|
-
function
|
|
2079
|
+
function k(p, x) {
|
|
2080
2080
|
return f(p, x, "0");
|
|
2081
2081
|
}
|
|
2082
2082
|
function m(p, x) {
|
|
2083
|
-
function z(
|
|
2084
|
-
return 0 >
|
|
2083
|
+
function z(K) {
|
|
2084
|
+
return 0 > K ? -1 : 0 < K ? 1 : 0;
|
|
2085
2085
|
}
|
|
2086
2086
|
var D;
|
|
2087
2087
|
0 === (D = z(p.getFullYear() - x.getFullYear())) && 0 === (D = z(p.getMonth() - x.getMonth())) && (D = z(p.getDate() - x.getDate()));
|
|
@@ -2177,29 +2177,29 @@ var ad = (a, b) => {
|
|
|
2177
2177
|
"%A": p => u[p.D],
|
|
2178
2178
|
"%b": p => v[p.$].substring(0, 3),
|
|
2179
2179
|
"%B": p => v[p.$],
|
|
2180
|
-
"%C": p =>
|
|
2181
|
-
"%d": p =>
|
|
2180
|
+
"%C": p => k((p.M + 1900) / 100 | 0, 2),
|
|
2181
|
+
"%d": p => k(p.oa, 2),
|
|
2182
2182
|
"%e": p => f(p.oa, 2, " "),
|
|
2183
2183
|
"%g": p => q(p).toString().substring(2),
|
|
2184
2184
|
"%G": q,
|
|
2185
|
-
"%H": p =>
|
|
2185
|
+
"%H": p => k(p.Z, 2),
|
|
2186
2186
|
"%I": p => {
|
|
2187
2187
|
p = p.Z;
|
|
2188
2188
|
0 == p ? p = 12 : 12 < p && (p -= 12);
|
|
2189
|
-
return
|
|
2189
|
+
return k(p, 2);
|
|
2190
2190
|
},
|
|
2191
2191
|
"%j": p => {
|
|
2192
2192
|
for (var x = 0, z = 0; z <= p.$ - 1; x += (fd(p.M + 1900) ? gd : hd)[z++]) {}
|
|
2193
|
-
return
|
|
2193
|
+
return k(p.oa + x, 3);
|
|
2194
2194
|
},
|
|
2195
|
-
"%m": p =>
|
|
2196
|
-
"%M": p =>
|
|
2195
|
+
"%m": p => k(p.$ + 1, 2),
|
|
2196
|
+
"%M": p => k(p.bb, 2),
|
|
2197
2197
|
"%n": () => "\n",
|
|
2198
2198
|
"%p": p => 0 <= p.Z && 12 > p.Z ? "AM" : "PM",
|
|
2199
|
-
"%S": p =>
|
|
2199
|
+
"%S": p => k(p.cb, 2),
|
|
2200
2200
|
"%t": () => "\t",
|
|
2201
2201
|
"%u": p => p.D || 7,
|
|
2202
|
-
"%U": p =>
|
|
2202
|
+
"%U": p => k(Math.floor((p.L + 7 - p.D) / 7), 2),
|
|
2203
2203
|
"%V": p => {
|
|
2204
2204
|
var x = Math.floor((p.L + 7 - (p.D + 6) % 7) / 7);
|
|
2205
2205
|
2 >= (p.D + 371 - p.L - 2) % 7 && x++;
|
|
@@ -2210,10 +2210,10 @@ var ad = (a, b) => {
|
|
|
2210
2210
|
var z = (p.D + 7 - p.L - 1) % 7;
|
|
2211
2211
|
(4 == z || 5 == z && fd(p.M % 400 - 1)) && x++;
|
|
2212
2212
|
}
|
|
2213
|
-
return
|
|
2213
|
+
return k(x, 2);
|
|
2214
2214
|
},
|
|
2215
2215
|
"%w": p => p.D,
|
|
2216
|
-
"%W": p =>
|
|
2216
|
+
"%W": p => k(Math.floor((p.L + 7 - (p.D + 6) % 7) / 7), 2),
|
|
2217
2217
|
"%y": p => (p.M + 1900).toString().substring(2),
|
|
2218
2218
|
"%Y": p => p.M + 1900,
|
|
2219
2219
|
"%z": p => {
|
|
@@ -2250,7 +2250,7 @@ M("/home/web_user");
|
|
|
2250
2250
|
M("/dev");
|
|
2251
2251
|
eb(259, {
|
|
2252
2252
|
read: () => 0,
|
|
2253
|
-
write: (e, f,
|
|
2253
|
+
write: (e, f, k, m) => m
|
|
2254
2254
|
});
|
|
2255
2255
|
Gb("/dev/null", 259);
|
|
2256
2256
|
db(1280, gb);
|
|
@@ -2277,7 +2277,7 @@ M("/home/web_user");
|
|
|
2277
2277
|
var b = kb(a, "fd", 16895, 73);
|
|
2278
2278
|
b.h = {
|
|
2279
2279
|
lookup(c, e) {
|
|
2280
|
-
var f =
|
|
2280
|
+
var f = L(+e);
|
|
2281
2281
|
c = {
|
|
2282
2282
|
parent: null,
|
|
2283
2283
|
F: {
|
|
@@ -2294,7 +2294,7 @@ M("/home/web_user");
|
|
|
2294
2294
|
}
|
|
2295
2295
|
}, "/proc/self/fd");
|
|
2296
2296
|
})();
|
|
2297
|
-
|
|
2297
|
+
Tb = d.InternalError = class extends Error {
|
|
2298
2298
|
constructor(a) {
|
|
2299
2299
|
super(a);
|
|
2300
2300
|
this.name = "InternalError";
|
|
@@ -2303,17 +2303,17 @@ Ub = d.InternalError = class extends Error {
|
|
|
2303
2303
|
for (var kd = Array(256), ld = 0; 256 > ld; ++ld) {
|
|
2304
2304
|
kd[ld] = String.fromCharCode(ld);
|
|
2305
2305
|
}
|
|
2306
|
-
|
|
2307
|
-
|
|
2306
|
+
Wb = kd;
|
|
2307
|
+
R = d.BindingError = class extends Error {
|
|
2308
2308
|
constructor(a) {
|
|
2309
2309
|
super(a);
|
|
2310
2310
|
this.name = "BindingError";
|
|
2311
2311
|
}
|
|
2312
2312
|
};
|
|
2313
|
-
|
|
2314
|
-
d.count_emval_handles = () =>
|
|
2315
|
-
|
|
2316
|
-
var c =
|
|
2313
|
+
S.push(0, 1, void 0, 1, null, 1, !0, 1, !1, 1);
|
|
2314
|
+
d.count_emval_handles = () => S.length / 2 - 5 - Zb.length;
|
|
2315
|
+
mc = d.UnboundTypeError = ((a, b) => {
|
|
2316
|
+
var c = ec(b, function (e) {
|
|
2317
2317
|
this.name = b;
|
|
2318
2318
|
this.message = e;
|
|
2319
2319
|
e = Error(e).stack;
|
|
@@ -2333,7 +2333,7 @@ var nd = {
|
|
|
2333
2333
|
__syscall_fcntl64: function (a, b, c) {
|
|
2334
2334
|
Qa = c;
|
|
2335
2335
|
try {
|
|
2336
|
-
var e =
|
|
2336
|
+
var e = L(a);
|
|
2337
2337
|
switch (b) {
|
|
2338
2338
|
case 0:
|
|
2339
2339
|
var f = F();
|
|
@@ -2358,17 +2358,17 @@ var nd = {
|
|
|
2358
2358
|
return 0;
|
|
2359
2359
|
}
|
|
2360
2360
|
return -28;
|
|
2361
|
-
} catch (
|
|
2362
|
-
if ("undefined" == typeof N || "ErrnoError" !==
|
|
2363
|
-
throw
|
|
2361
|
+
} catch (k) {
|
|
2362
|
+
if ("undefined" == typeof N || "ErrnoError" !== k.name) {
|
|
2363
|
+
throw k;
|
|
2364
2364
|
}
|
|
2365
|
-
return -
|
|
2365
|
+
return -k.J;
|
|
2366
2366
|
}
|
|
2367
2367
|
},
|
|
2368
2368
|
__syscall_ioctl: function (a, b, c) {
|
|
2369
2369
|
Qa = c;
|
|
2370
2370
|
try {
|
|
2371
|
-
var e =
|
|
2371
|
+
var e = L(a);
|
|
2372
2372
|
switch (b) {
|
|
2373
2373
|
case 21509:
|
|
2374
2374
|
return e.tty ? 0 : -59;
|
|
@@ -2383,8 +2383,8 @@ var nd = {
|
|
|
2383
2383
|
C[f + 4 >> 2] = 5;
|
|
2384
2384
|
C[f + 8 >> 2] = 191;
|
|
2385
2385
|
C[f + 12 >> 2] = 35387;
|
|
2386
|
-
for (var
|
|
2387
|
-
y[f +
|
|
2386
|
+
for (var k = 0; 32 > k; k++) {
|
|
2387
|
+
y[f + k + 17] = a[k] || 0;
|
|
2388
2388
|
}
|
|
2389
2389
|
}
|
|
2390
2390
|
return 0;
|
|
@@ -2399,8 +2399,8 @@ var nd = {
|
|
|
2399
2399
|
return -59;
|
|
2400
2400
|
}
|
|
2401
2401
|
if (e.tty.G.Wa) {
|
|
2402
|
-
for (f = F(), a = [],
|
|
2403
|
-
a.push(y[f +
|
|
2402
|
+
for (f = F(), a = [], k = 0; 32 > k; k++) {
|
|
2403
|
+
a.push(y[f + k + 17]);
|
|
2404
2404
|
}
|
|
2405
2405
|
}
|
|
2406
2406
|
return 0;
|
|
@@ -2422,7 +2422,7 @@ var nd = {
|
|
|
2422
2422
|
if (!e.tty) {
|
|
2423
2423
|
return -59;
|
|
2424
2424
|
}
|
|
2425
|
-
e.tty.G.Xa && (
|
|
2425
|
+
e.tty.G.Xa && (k = [24, 80], f = F(), B[f >> 1] = k[0], B[f + 2 >> 1] = k[1]);
|
|
2426
2426
|
return 0;
|
|
2427
2427
|
case 21524:
|
|
2428
2428
|
return e.tty ? 0 : -59;
|
|
@@ -2446,11 +2446,11 @@ var nd = {
|
|
|
2446
2446
|
if ("/" === f.charAt(0)) {
|
|
2447
2447
|
b = f;
|
|
2448
2448
|
} else {
|
|
2449
|
-
var
|
|
2449
|
+
var k = -100 === a ? "/" : L(a).path;
|
|
2450
2450
|
if (0 == f.length) {
|
|
2451
2451
|
throw new H(44);
|
|
2452
2452
|
}
|
|
2453
|
-
b = Sa(
|
|
2453
|
+
b = Sa(k + "/" + f);
|
|
2454
2454
|
}
|
|
2455
2455
|
var m = e ? F() : 0;
|
|
2456
2456
|
return Ib(b, c, m).fd;
|
|
@@ -2470,9 +2470,9 @@ var nd = {
|
|
|
2470
2470
|
var c = b.elements,
|
|
2471
2471
|
e = c.length,
|
|
2472
2472
|
f = c.map(n => n.ga).concat(c.map(n => n.ma)),
|
|
2473
|
-
|
|
2473
|
+
k = b.ia,
|
|
2474
2474
|
m = b.ja;
|
|
2475
|
-
|
|
2475
|
+
Ub([a], f, n => {
|
|
2476
2476
|
c.forEach((q, l) => {
|
|
2477
2477
|
var r = n[l],
|
|
2478
2478
|
u = q.ea,
|
|
@@ -2481,10 +2481,10 @@ var nd = {
|
|
|
2481
2481
|
x = q.la,
|
|
2482
2482
|
z = q.na;
|
|
2483
2483
|
q.read = D => r.fromWireType(u(v, D));
|
|
2484
|
-
q.write = (D,
|
|
2485
|
-
var
|
|
2486
|
-
x(z, D, p.toWireType(
|
|
2487
|
-
Pb(
|
|
2484
|
+
q.write = (D, K) => {
|
|
2485
|
+
var V = [];
|
|
2486
|
+
x(z, D, p.toWireType(V, K));
|
|
2487
|
+
Pb(V);
|
|
2488
2488
|
};
|
|
2489
2489
|
});
|
|
2490
2490
|
return [{
|
|
@@ -2500,7 +2500,7 @@ var nd = {
|
|
|
2500
2500
|
if (e !== l.length) {
|
|
2501
2501
|
throw new TypeError("Incorrect number of tuple elements for ".concat(b.name, ": expected=").concat(e, ", actual=").concat(l.length));
|
|
2502
2502
|
}
|
|
2503
|
-
for (var r =
|
|
2503
|
+
for (var r = k(), u = 0; u < e; ++u) {
|
|
2504
2504
|
c[u].write(r, l[u]);
|
|
2505
2505
|
}
|
|
2506
2506
|
null !== q && q.push(m, r);
|
|
@@ -2513,13 +2513,13 @@ var nd = {
|
|
|
2513
2513
|
});
|
|
2514
2514
|
},
|
|
2515
2515
|
_embind_finalize_value_object: a => {
|
|
2516
|
-
var b =
|
|
2517
|
-
delete
|
|
2516
|
+
var b = Vb[a];
|
|
2517
|
+
delete Vb[a];
|
|
2518
2518
|
var c = b.ia,
|
|
2519
2519
|
e = b.ja,
|
|
2520
2520
|
f = b.xa,
|
|
2521
|
-
|
|
2522
|
-
|
|
2521
|
+
k = f.map(m => m.ga).concat(f.map(m => m.ma));
|
|
2522
|
+
Ub([a], k, m => {
|
|
2523
2523
|
var n = {};
|
|
2524
2524
|
f.forEach((q, l) => {
|
|
2525
2525
|
var r = m[l],
|
|
@@ -2530,10 +2530,10 @@ var nd = {
|
|
|
2530
2530
|
z = q.na;
|
|
2531
2531
|
n[q.Ra] = {
|
|
2532
2532
|
read: D => r.fromWireType(u(v, D)),
|
|
2533
|
-
write: (D,
|
|
2534
|
-
var
|
|
2535
|
-
x(z, D, p.toWireType(
|
|
2536
|
-
Pb(
|
|
2533
|
+
write: (D, K) => {
|
|
2534
|
+
var V = [];
|
|
2535
|
+
x(z, D, p.toWireType(V, K));
|
|
2536
|
+
Pb(V);
|
|
2537
2537
|
}
|
|
2538
2538
|
};
|
|
2539
2539
|
});
|
|
@@ -2568,8 +2568,8 @@ var nd = {
|
|
|
2568
2568
|
});
|
|
2569
2569
|
},
|
|
2570
2570
|
_embind_register_bigint: (a, b, c) => {
|
|
2571
|
-
b =
|
|
2572
|
-
|
|
2571
|
+
b = Q(b);
|
|
2572
|
+
P(a, {
|
|
2573
2573
|
name: b,
|
|
2574
2574
|
fromWireType: e => e,
|
|
2575
2575
|
toWireType: function (e, f) {
|
|
@@ -2580,19 +2580,19 @@ var nd = {
|
|
|
2580
2580
|
return f;
|
|
2581
2581
|
},
|
|
2582
2582
|
argPackAdvance: 8,
|
|
2583
|
-
readValueFromPointer:
|
|
2583
|
+
readValueFromPointer: Yb(b, c, -1 == b.indexOf("u")),
|
|
2584
2584
|
v: null
|
|
2585
2585
|
});
|
|
2586
2586
|
},
|
|
2587
2587
|
_embind_register_bool: (a, b, c, e) => {
|
|
2588
|
-
b =
|
|
2589
|
-
|
|
2588
|
+
b = Q(b);
|
|
2589
|
+
P(a, {
|
|
2590
2590
|
name: b,
|
|
2591
2591
|
fromWireType: function (f) {
|
|
2592
2592
|
return !!f;
|
|
2593
2593
|
},
|
|
2594
|
-
toWireType: function (f,
|
|
2595
|
-
return
|
|
2594
|
+
toWireType: function (f, k) {
|
|
2595
|
+
return k ? c : e;
|
|
2596
2596
|
},
|
|
2597
2597
|
argPackAdvance: 8,
|
|
2598
2598
|
readValueFromPointer: function (f) {
|
|
@@ -2601,67 +2601,67 @@ var nd = {
|
|
|
2601
2601
|
v: null
|
|
2602
2602
|
});
|
|
2603
2603
|
},
|
|
2604
|
-
_embind_register_emval: a =>
|
|
2604
|
+
_embind_register_emval: a => P(a, cc),
|
|
2605
2605
|
_embind_register_float: (a, b, c) => {
|
|
2606
|
-
b =
|
|
2607
|
-
|
|
2606
|
+
b = Q(b);
|
|
2607
|
+
P(a, {
|
|
2608
2608
|
name: b,
|
|
2609
2609
|
fromWireType: e => e,
|
|
2610
2610
|
toWireType: (e, f) => f,
|
|
2611
2611
|
argPackAdvance: 8,
|
|
2612
|
-
readValueFromPointer:
|
|
2612
|
+
readValueFromPointer: dc(b, c),
|
|
2613
2613
|
v: null
|
|
2614
2614
|
});
|
|
2615
2615
|
},
|
|
2616
|
-
_embind_register_function: (a, b, c, e, f,
|
|
2617
|
-
var m =
|
|
2618
|
-
a =
|
|
2619
|
-
a =
|
|
2620
|
-
f =
|
|
2621
|
-
|
|
2622
|
-
|
|
2616
|
+
_embind_register_function: (a, b, c, e, f, k) => {
|
|
2617
|
+
var m = jc(b, c);
|
|
2618
|
+
a = Q(a);
|
|
2619
|
+
a = qc(a);
|
|
2620
|
+
f = T(e, f);
|
|
2621
|
+
ic(a, function () {
|
|
2622
|
+
pc("Cannot call ".concat(a, " due to unbound types"), m);
|
|
2623
2623
|
}, b - 1);
|
|
2624
|
-
|
|
2624
|
+
Ub([], m, n => {
|
|
2625
2625
|
var q = [n[0], null].concat(n.slice(1));
|
|
2626
2626
|
n = a;
|
|
2627
|
-
q =
|
|
2627
|
+
q = gc(a, q, f, k);
|
|
2628
2628
|
var l = b - 1;
|
|
2629
2629
|
if (!d.hasOwnProperty(n)) {
|
|
2630
|
-
throw new
|
|
2630
|
+
throw new Tb("Replacing nonexistent public symbol");
|
|
2631
2631
|
}
|
|
2632
2632
|
void 0 !== d[n].B && void 0 !== l ? d[n].B[l] = q : (d[n] = q, d[n].Na = l);
|
|
2633
2633
|
return [];
|
|
2634
2634
|
});
|
|
2635
2635
|
},
|
|
2636
2636
|
_embind_register_integer: (a, b, c, e, f) => {
|
|
2637
|
-
b =
|
|
2637
|
+
b = Q(b);
|
|
2638
2638
|
-1 === f && (f = 4294967295);
|
|
2639
2639
|
f = n => n;
|
|
2640
2640
|
if (0 === e) {
|
|
2641
|
-
var
|
|
2642
|
-
f = n => n <<
|
|
2641
|
+
var k = 32 - 8 * c;
|
|
2642
|
+
f = n => n << k >>> k;
|
|
2643
2643
|
}
|
|
2644
2644
|
var m = b.includes("unsigned") ? function (n, q) {
|
|
2645
2645
|
return q >>> 0;
|
|
2646
2646
|
} : function (n, q) {
|
|
2647
2647
|
return q;
|
|
2648
2648
|
};
|
|
2649
|
-
|
|
2649
|
+
P(a, {
|
|
2650
2650
|
name: b,
|
|
2651
2651
|
fromWireType: f,
|
|
2652
2652
|
toWireType: m,
|
|
2653
2653
|
argPackAdvance: 8,
|
|
2654
|
-
readValueFromPointer:
|
|
2654
|
+
readValueFromPointer: Yb(b, c, 0 !== e),
|
|
2655
2655
|
v: null
|
|
2656
2656
|
});
|
|
2657
2657
|
},
|
|
2658
2658
|
_embind_register_memory_view: (a, b, c) => {
|
|
2659
|
-
function e(
|
|
2660
|
-
return new f(y.buffer, E[
|
|
2659
|
+
function e(k) {
|
|
2660
|
+
return new f(y.buffer, E[k + 4 >> 2], E[k >> 2]);
|
|
2661
2661
|
}
|
|
2662
2662
|
var f = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array, BigInt64Array, BigUint64Array][b];
|
|
2663
|
-
c =
|
|
2664
|
-
|
|
2663
|
+
c = Q(c);
|
|
2664
|
+
P(a, {
|
|
2665
2665
|
name: c,
|
|
2666
2666
|
fromWireType: e,
|
|
2667
2667
|
argPackAdvance: 8,
|
|
@@ -2671,16 +2671,16 @@ var nd = {
|
|
|
2671
2671
|
});
|
|
2672
2672
|
},
|
|
2673
2673
|
_embind_register_std_string: (a, b) => {
|
|
2674
|
-
b =
|
|
2674
|
+
b = Q(b);
|
|
2675
2675
|
var c = "std::string" === b;
|
|
2676
|
-
|
|
2676
|
+
P(a, {
|
|
2677
2677
|
name: b,
|
|
2678
2678
|
fromWireType: function (e) {
|
|
2679
2679
|
var f = E[e >> 2],
|
|
2680
|
-
|
|
2680
|
+
k = e + 4;
|
|
2681
2681
|
if (c) {
|
|
2682
|
-
for (var m =
|
|
2683
|
-
var q =
|
|
2682
|
+
for (var m = k, n = 0; n <= f; ++n) {
|
|
2683
|
+
var q = k + n;
|
|
2684
2684
|
if (n == f || 0 == A[q]) {
|
|
2685
2685
|
m = m ? G(A, m, q - m) : "";
|
|
2686
2686
|
if (void 0 === l) {
|
|
@@ -2694,61 +2694,61 @@ var nd = {
|
|
|
2694
2694
|
} else {
|
|
2695
2695
|
l = Array(f);
|
|
2696
2696
|
for (n = 0; n < f; ++n) {
|
|
2697
|
-
l[n] = String.fromCharCode(A[
|
|
2697
|
+
l[n] = String.fromCharCode(A[k + n]);
|
|
2698
2698
|
}
|
|
2699
2699
|
l = l.join("");
|
|
2700
2700
|
}
|
|
2701
|
-
|
|
2701
|
+
U(e);
|
|
2702
2702
|
return l;
|
|
2703
2703
|
},
|
|
2704
2704
|
toWireType: function (e, f) {
|
|
2705
2705
|
f instanceof ArrayBuffer && (f = new Uint8Array(f));
|
|
2706
|
-
var
|
|
2707
|
-
if (!(
|
|
2708
|
-
throw new
|
|
2706
|
+
var k = "string" == typeof f;
|
|
2707
|
+
if (!(k || f instanceof Uint8Array || f instanceof Uint8ClampedArray || f instanceof Int8Array)) {
|
|
2708
|
+
throw new R("Cannot pass non-string to std::string");
|
|
2709
2709
|
}
|
|
2710
|
-
var m = c &&
|
|
2710
|
+
var m = c && k ? $a(f) : f.length;
|
|
2711
2711
|
var n = bd(4 + m + 1),
|
|
2712
2712
|
q = n + 4;
|
|
2713
2713
|
E[n >> 2] = m;
|
|
2714
|
-
if (c &&
|
|
2714
|
+
if (c && k) {
|
|
2715
2715
|
ab(f, A, q, m + 1);
|
|
2716
2716
|
} else {
|
|
2717
|
-
if (
|
|
2718
|
-
for (
|
|
2719
|
-
var l = f.charCodeAt(
|
|
2717
|
+
if (k) {
|
|
2718
|
+
for (k = 0; k < m; ++k) {
|
|
2719
|
+
var l = f.charCodeAt(k);
|
|
2720
2720
|
if (255 < l) {
|
|
2721
|
-
throw
|
|
2721
|
+
throw U(q), new R("String has UTF-16 code units that do not fit in 8 bits");
|
|
2722
2722
|
}
|
|
2723
|
-
A[q +
|
|
2723
|
+
A[q + k] = l;
|
|
2724
2724
|
}
|
|
2725
2725
|
} else {
|
|
2726
|
-
for (
|
|
2727
|
-
A[q +
|
|
2726
|
+
for (k = 0; k < m; ++k) {
|
|
2727
|
+
A[q + k] = f[k];
|
|
2728
2728
|
}
|
|
2729
2729
|
}
|
|
2730
2730
|
}
|
|
2731
|
-
null !== e && e.push(
|
|
2731
|
+
null !== e && e.push(U, n);
|
|
2732
2732
|
return n;
|
|
2733
2733
|
},
|
|
2734
2734
|
argPackAdvance: 8,
|
|
2735
2735
|
readValueFromPointer: Qb,
|
|
2736
2736
|
v(e) {
|
|
2737
|
-
|
|
2737
|
+
U(e);
|
|
2738
2738
|
}
|
|
2739
2739
|
});
|
|
2740
2740
|
},
|
|
2741
2741
|
_embind_register_std_wstring: (a, b, c) => {
|
|
2742
|
-
c =
|
|
2742
|
+
c = Q(c);
|
|
2743
2743
|
if (2 === b) {
|
|
2744
|
-
var e =
|
|
2745
|
-
var f =
|
|
2746
|
-
var
|
|
2744
|
+
var e = sc;
|
|
2745
|
+
var f = tc;
|
|
2746
|
+
var k = uc;
|
|
2747
2747
|
var m = n => ua[n >> 1];
|
|
2748
2748
|
} else {
|
|
2749
|
-
4 === b && (e =
|
|
2749
|
+
4 === b && (e = vc, f = wc, k = xc, m = n => E[n >> 2]);
|
|
2750
2750
|
}
|
|
2751
|
-
|
|
2751
|
+
P(a, {
|
|
2752
2752
|
name: c,
|
|
2753
2753
|
fromWireType: n => {
|
|
2754
2754
|
for (var q = E[n >> 2], l, r = n + 4, u = 0; u <= q; ++u) {
|
|
@@ -2757,67 +2757,67 @@ var nd = {
|
|
|
2757
2757
|
r = e(r, v - r), void 0 === l ? l = r : (l += String.fromCharCode(0), l += r), r = v + b;
|
|
2758
2758
|
}
|
|
2759
2759
|
}
|
|
2760
|
-
|
|
2760
|
+
U(n);
|
|
2761
2761
|
return l;
|
|
2762
2762
|
},
|
|
2763
2763
|
toWireType: (n, q) => {
|
|
2764
2764
|
if ("string" != typeof q) {
|
|
2765
|
-
throw new
|
|
2765
|
+
throw new R("Cannot pass non-string to C++ string type ".concat(c));
|
|
2766
2766
|
}
|
|
2767
|
-
var l =
|
|
2767
|
+
var l = k(q),
|
|
2768
2768
|
r = bd(4 + l + b);
|
|
2769
2769
|
E[r >> 2] = l / b;
|
|
2770
2770
|
f(q, r + 4, l + b);
|
|
2771
|
-
null !== n && n.push(
|
|
2771
|
+
null !== n && n.push(U, r);
|
|
2772
2772
|
return r;
|
|
2773
2773
|
},
|
|
2774
2774
|
argPackAdvance: 8,
|
|
2775
2775
|
readValueFromPointer: Qb,
|
|
2776
2776
|
v(n) {
|
|
2777
|
-
|
|
2777
|
+
U(n);
|
|
2778
2778
|
}
|
|
2779
2779
|
});
|
|
2780
2780
|
},
|
|
2781
|
-
_embind_register_value_array: (a, b, c, e, f,
|
|
2781
|
+
_embind_register_value_array: (a, b, c, e, f, k) => {
|
|
2782
2782
|
Ob[a] = {
|
|
2783
|
-
name:
|
|
2784
|
-
ia:
|
|
2785
|
-
ja:
|
|
2783
|
+
name: Q(b),
|
|
2784
|
+
ia: T(c, e),
|
|
2785
|
+
ja: T(f, k),
|
|
2786
2786
|
elements: []
|
|
2787
2787
|
};
|
|
2788
2788
|
},
|
|
2789
|
-
_embind_register_value_array_element: (a, b, c, e, f,
|
|
2789
|
+
_embind_register_value_array_element: (a, b, c, e, f, k, m, n, q) => {
|
|
2790
2790
|
Ob[a].elements.push({
|
|
2791
2791
|
ga: b,
|
|
2792
|
-
ea:
|
|
2792
|
+
ea: T(c, e),
|
|
2793
2793
|
fa: f,
|
|
2794
|
-
ma:
|
|
2795
|
-
la:
|
|
2794
|
+
ma: k,
|
|
2795
|
+
la: T(m, n),
|
|
2796
2796
|
na: q
|
|
2797
2797
|
});
|
|
2798
2798
|
},
|
|
2799
|
-
_embind_register_value_object: (a, b, c, e, f,
|
|
2800
|
-
|
|
2801
|
-
name:
|
|
2802
|
-
ia:
|
|
2803
|
-
ja:
|
|
2799
|
+
_embind_register_value_object: (a, b, c, e, f, k) => {
|
|
2800
|
+
Vb[a] = {
|
|
2801
|
+
name: Q(b),
|
|
2802
|
+
ia: T(c, e),
|
|
2803
|
+
ja: T(f, k),
|
|
2804
2804
|
xa: []
|
|
2805
2805
|
};
|
|
2806
2806
|
},
|
|
2807
|
-
_embind_register_value_object_field: (a, b, c, e, f,
|
|
2808
|
-
|
|
2809
|
-
Ra:
|
|
2807
|
+
_embind_register_value_object_field: (a, b, c, e, f, k, m, n, q, l) => {
|
|
2808
|
+
Vb[a].xa.push({
|
|
2809
|
+
Ra: Q(b),
|
|
2810
2810
|
ga: c,
|
|
2811
|
-
ea:
|
|
2812
|
-
fa:
|
|
2811
|
+
ea: T(e, f),
|
|
2812
|
+
fa: k,
|
|
2813
2813
|
ma: m,
|
|
2814
|
-
la:
|
|
2814
|
+
la: T(n, q),
|
|
2815
2815
|
na: l
|
|
2816
2816
|
});
|
|
2817
2817
|
},
|
|
2818
2818
|
_embind_register_void: (a, b) => {
|
|
2819
|
-
b =
|
|
2820
|
-
|
|
2819
|
+
b = Q(b);
|
|
2820
|
+
P(a, {
|
|
2821
2821
|
tb: !0,
|
|
2822
2822
|
name: b,
|
|
2823
2823
|
argPackAdvance: 0,
|
|
@@ -2828,76 +2828,83 @@ var nd = {
|
|
|
2828
2828
|
_emscripten_get_now_is_monotonic: () => 1,
|
|
2829
2829
|
_emscripten_memcpy_js: (a, b, c) => A.copyWithin(a, b, b + c),
|
|
2830
2830
|
_emval_as: (a, b, c) => {
|
|
2831
|
-
a =
|
|
2832
|
-
b =
|
|
2833
|
-
return
|
|
2831
|
+
a = ac(a);
|
|
2832
|
+
b = yc(b, "emval::as");
|
|
2833
|
+
return zc(b, c, a);
|
|
2834
2834
|
},
|
|
2835
2835
|
_emval_call: (a, b, c, e) => {
|
|
2836
|
-
a =
|
|
2837
|
-
b =
|
|
2836
|
+
a = Ac[a];
|
|
2837
|
+
b = ac(b);
|
|
2838
2838
|
return a(null, b, c, e);
|
|
2839
2839
|
},
|
|
2840
2840
|
_emval_call_method: (a, b, c, e, f) => {
|
|
2841
|
-
a =
|
|
2842
|
-
b =
|
|
2843
|
-
c =
|
|
2841
|
+
a = Ac[a];
|
|
2842
|
+
b = ac(b);
|
|
2843
|
+
c = Cc(c);
|
|
2844
2844
|
return a(b, b[c], e, f);
|
|
2845
2845
|
},
|
|
2846
|
-
_emval_decref:
|
|
2846
|
+
_emval_decref: $b,
|
|
2847
2847
|
_emval_get_method_caller: (a, b, c) => {
|
|
2848
|
-
var e =
|
|
2848
|
+
var e = Ec(a, b),
|
|
2849
2849
|
f = e.shift();
|
|
2850
2850
|
a--;
|
|
2851
|
-
var
|
|
2851
|
+
var k = Array(a);
|
|
2852
2852
|
b = "methodCaller<(".concat(e.map(m => m.name).join(", "), ") => ").concat(f.name, ">");
|
|
2853
|
-
return
|
|
2853
|
+
return Dc(ec(b, (m, n, q, l) => {
|
|
2854
2854
|
for (var r = 0, u = 0; u < a; ++u) {
|
|
2855
|
-
|
|
2855
|
+
k[u] = e[u].readValueFromPointer(l + r), r += e[u].argPackAdvance;
|
|
2856
2856
|
}
|
|
2857
|
-
m = 1 === c ?
|
|
2858
|
-
return
|
|
2857
|
+
m = 1 === c ? Fc(n, k) : n.apply(m, k);
|
|
2858
|
+
return zc(f, q, m);
|
|
2859
2859
|
}));
|
|
2860
2860
|
},
|
|
2861
2861
|
_emval_get_property: (a, b) => {
|
|
2862
|
-
a =
|
|
2863
|
-
b =
|
|
2864
|
-
return
|
|
2862
|
+
a = ac(a);
|
|
2863
|
+
b = ac(b);
|
|
2864
|
+
return bc(a[b]);
|
|
2865
2865
|
},
|
|
2866
2866
|
_emval_incref: a => {
|
|
2867
|
-
9 < a && (
|
|
2867
|
+
9 < a && (S[a + 1] += 1);
|
|
2868
2868
|
},
|
|
2869
|
-
_emval_new_cstring: a =>
|
|
2869
|
+
_emval_new_cstring: a => bc(Cc(a)),
|
|
2870
2870
|
_emval_run_destructors: a => {
|
|
2871
|
-
var b =
|
|
2871
|
+
var b = ac(a);
|
|
2872
2872
|
Pb(b);
|
|
2873
|
-
|
|
2873
|
+
$b(a);
|
|
2874
2874
|
},
|
|
2875
2875
|
_emval_take_value: (a, b) => {
|
|
2876
|
-
a =
|
|
2876
|
+
a = yc(a, "_emval_take_value");
|
|
2877
2877
|
a = a.readValueFromPointer(b);
|
|
2878
|
-
return
|
|
2878
|
+
return bc(a);
|
|
2879
2879
|
},
|
|
2880
2880
|
beginPixelLocalStorageWEBGL: function (a, b, c) {
|
|
2881
|
-
(a =
|
|
2882
|
-
},
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
|
|
2886
|
-
|
|
2881
|
+
(a = h[a].o.O) && a.beginPixelLocalStorageWEBGL(d.HEAPU32.subarray(c, c + b));
|
|
2882
|
+
},
|
|
2883
|
+
decode_image: function (a, b, c) {
|
|
2884
|
+
var e = d.images;
|
|
2885
|
+
e || (e = new Map(), d.images = e);
|
|
2886
|
+
var f = new Image();
|
|
2887
|
+
e.set(a, f);
|
|
2888
|
+
b = d.HEAP8.subarray(b, b + c);
|
|
2889
|
+
c = new Uint8Array(c);
|
|
2890
|
+
c.set(b);
|
|
2891
|
+
f.src = URL.createObjectURL(new Blob([c], {
|
|
2887
2892
|
type: "image/png"
|
|
2888
|
-
});
|
|
2889
|
-
|
|
2893
|
+
}));
|
|
2894
|
+
f.onload = function () {
|
|
2895
|
+
d._setWebImage(a, f.width, f.height);
|
|
2896
|
+
};
|
|
2890
2897
|
},
|
|
2891
2898
|
emscripten_asm_const_int: (a, b, c) => {
|
|
2892
|
-
|
|
2899
|
+
Gc.length = 0;
|
|
2893
2900
|
for (var e; e = A[b++];) {
|
|
2894
2901
|
var f = 105 != e;
|
|
2895
2902
|
f &= 112 != e;
|
|
2896
2903
|
c += f && c % 8 ? 4 : 0;
|
|
2897
|
-
|
|
2904
|
+
Gc.push(112 == e ? E[c >> 2] : 106 == e ? wa[c >> 3] : 105 == e ? C[c >> 2] : ya[c >> 3]);
|
|
2898
2905
|
c += f ? 8 : 4;
|
|
2899
2906
|
}
|
|
2900
|
-
return Pa[a](...
|
|
2907
|
+
return Pa[a](...Gc);
|
|
2901
2908
|
},
|
|
2902
2909
|
emscripten_date_now: () => Date.now(),
|
|
2903
2910
|
emscripten_get_now: () => performance.now(),
|
|
@@ -2917,48 +2924,48 @@ var nd = {
|
|
|
2917
2924
|
try {
|
|
2918
2925
|
sa.grow(f);
|
|
2919
2926
|
za();
|
|
2920
|
-
var
|
|
2927
|
+
var k = 1;
|
|
2921
2928
|
break a;
|
|
2922
2929
|
} catch (m) {}
|
|
2923
|
-
|
|
2930
|
+
k = void 0;
|
|
2924
2931
|
}
|
|
2925
|
-
if (
|
|
2932
|
+
if (k) {
|
|
2926
2933
|
return !0;
|
|
2927
2934
|
}
|
|
2928
2935
|
}
|
|
2929
2936
|
return !1;
|
|
2930
2937
|
},
|
|
2931
2938
|
emscripten_webgl_enable_extension: (a, b) => {
|
|
2932
|
-
a =
|
|
2939
|
+
a = h[a];
|
|
2933
2940
|
b = b ? G(A, b) : "";
|
|
2934
2941
|
b.startsWith("GL_") && (b = b.substr(3));
|
|
2935
|
-
"WEBGL_draw_instanced_base_vertex_base_instance" == b &&
|
|
2936
|
-
"WEBGL_multi_draw_instanced_base_vertex_base_instance" == b &&
|
|
2942
|
+
"WEBGL_draw_instanced_base_vertex_base_instance" == b && Hc(X);
|
|
2943
|
+
"WEBGL_multi_draw_instanced_base_vertex_base_instance" == b && Ic(X);
|
|
2937
2944
|
"WEBGL_multi_draw" == b && (X.Za = X.getExtension("WEBGL_multi_draw"));
|
|
2938
2945
|
return !!a.o.getExtension(b);
|
|
2939
2946
|
},
|
|
2940
2947
|
emscripten_webgl_get_current_context: () => Vc ? Vc.handle : 0,
|
|
2941
2948
|
emscripten_webgl_make_context_current: a => ja(a) ? 0 : -5,
|
|
2942
2949
|
enable_WEBGL_provoking_vertex: function (a) {
|
|
2943
|
-
a =
|
|
2950
|
+
a = h[a].o;
|
|
2944
2951
|
a.Fa = a.getExtension("WEBGL_provoking_vertex");
|
|
2945
2952
|
return !!a.Fa;
|
|
2946
2953
|
},
|
|
2947
2954
|
enable_WEBGL_shader_pixel_local_storage_coherent: function (a) {
|
|
2948
|
-
a =
|
|
2955
|
+
a = h[a].o;
|
|
2949
2956
|
a.O = a.getExtension("WEBGL_shader_pixel_local_storage");
|
|
2950
2957
|
return !(!a.O || !a.O.isCoherent());
|
|
2951
2958
|
},
|
|
2952
2959
|
endPixelLocalStorageWEBGL: function (a, b, c) {
|
|
2953
|
-
(a =
|
|
2960
|
+
(a = h[a].o.O) && a.endPixelLocalStorageWEBGL(d.HEAPU32.subarray(c, c + b));
|
|
2954
2961
|
},
|
|
2955
2962
|
environ_get: (a, b) => {
|
|
2956
2963
|
var c = 0;
|
|
2957
2964
|
Yc().forEach((e, f) => {
|
|
2958
|
-
var
|
|
2959
|
-
f = E[a + 4 * f >> 2] =
|
|
2960
|
-
for (
|
|
2961
|
-
y[f++] = e.charCodeAt(
|
|
2965
|
+
var k = b + c;
|
|
2966
|
+
f = E[a + 4 * f >> 2] = k;
|
|
2967
|
+
for (k = 0; k < e.length; ++k) {
|
|
2968
|
+
y[f++] = e.charCodeAt(k);
|
|
2962
2969
|
}
|
|
2963
2970
|
y[f] = 0;
|
|
2964
2971
|
c += e.length + 1;
|
|
@@ -2975,7 +2982,7 @@ var nd = {
|
|
|
2975
2982
|
},
|
|
2976
2983
|
fd_close: function (a) {
|
|
2977
2984
|
try {
|
|
2978
|
-
var b =
|
|
2985
|
+
var b = L(a);
|
|
2979
2986
|
if (null === b.fd) {
|
|
2980
2987
|
throw new H(8);
|
|
2981
2988
|
}
|
|
@@ -2999,14 +3006,14 @@ var nd = {
|
|
|
2999
3006
|
fd_read: function (a, b, c, e) {
|
|
3000
3007
|
try {
|
|
3001
3008
|
a: {
|
|
3002
|
-
var f =
|
|
3009
|
+
var f = L(a);
|
|
3003
3010
|
a = b;
|
|
3004
|
-
for (var
|
|
3011
|
+
for (var k, m = b = 0; m < c; m++) {
|
|
3005
3012
|
var n = E[a >> 2],
|
|
3006
3013
|
q = E[a + 4 >> 2];
|
|
3007
3014
|
a += 8;
|
|
3008
3015
|
var l = f,
|
|
3009
|
-
r =
|
|
3016
|
+
r = k,
|
|
3010
3017
|
u = y;
|
|
3011
3018
|
if (0 > q || 0 > r) {
|
|
3012
3019
|
throw new H(28);
|
|
@@ -3040,7 +3047,7 @@ var nd = {
|
|
|
3040
3047
|
if (x < q) {
|
|
3041
3048
|
break;
|
|
3042
3049
|
}
|
|
3043
|
-
"undefined" != typeof
|
|
3050
|
+
"undefined" != typeof k && (k += x);
|
|
3044
3051
|
}
|
|
3045
3052
|
z = b;
|
|
3046
3053
|
}
|
|
@@ -3059,31 +3066,31 @@ var nd = {
|
|
|
3059
3066
|
if (isNaN(b)) {
|
|
3060
3067
|
return 61;
|
|
3061
3068
|
}
|
|
3062
|
-
var f =
|
|
3069
|
+
var f = L(a);
|
|
3063
3070
|
Kb(f, b, c);
|
|
3064
3071
|
wa[e >> 3] = BigInt(f.position);
|
|
3065
3072
|
f.da && 0 === b && 0 === c && (f.da = null);
|
|
3066
3073
|
return 0;
|
|
3067
|
-
} catch (
|
|
3068
|
-
if ("undefined" == typeof N || "ErrnoError" !==
|
|
3069
|
-
throw
|
|
3074
|
+
} catch (k) {
|
|
3075
|
+
if ("undefined" == typeof N || "ErrnoError" !== k.name) {
|
|
3076
|
+
throw k;
|
|
3070
3077
|
}
|
|
3071
|
-
return
|
|
3078
|
+
return k.J;
|
|
3072
3079
|
}
|
|
3073
3080
|
},
|
|
3074
3081
|
fd_write: function (a, b, c, e) {
|
|
3075
3082
|
try {
|
|
3076
3083
|
a: {
|
|
3077
|
-
var f =
|
|
3084
|
+
var f = L(a);
|
|
3078
3085
|
a = b;
|
|
3079
|
-
for (var
|
|
3086
|
+
for (var k, m = b = 0; m < c; m++) {
|
|
3080
3087
|
var n = E[a >> 2],
|
|
3081
3088
|
q = E[a + 4 >> 2];
|
|
3082
3089
|
a += 8;
|
|
3083
3090
|
var l = f,
|
|
3084
3091
|
r = n,
|
|
3085
3092
|
u = q,
|
|
3086
|
-
v =
|
|
3093
|
+
v = k,
|
|
3087
3094
|
p = y;
|
|
3088
3095
|
if (0 > u || 0 > v) {
|
|
3089
3096
|
throw new H(28);
|
|
@@ -3111,55 +3118,55 @@ var nd = {
|
|
|
3111
3118
|
x || (l.position += z);
|
|
3112
3119
|
var D = z;
|
|
3113
3120
|
if (0 > D) {
|
|
3114
|
-
var
|
|
3121
|
+
var K = -1;
|
|
3115
3122
|
break a;
|
|
3116
3123
|
}
|
|
3117
3124
|
b += D;
|
|
3118
|
-
"undefined" != typeof
|
|
3125
|
+
"undefined" != typeof k && (k += D);
|
|
3119
3126
|
}
|
|
3120
|
-
|
|
3127
|
+
K = b;
|
|
3121
3128
|
}
|
|
3122
|
-
E[e >> 2] =
|
|
3129
|
+
E[e >> 2] = K;
|
|
3123
3130
|
return 0;
|
|
3124
|
-
} catch (
|
|
3125
|
-
if ("undefined" == typeof N || "ErrnoError" !==
|
|
3126
|
-
throw
|
|
3131
|
+
} catch (V) {
|
|
3132
|
+
if ("undefined" == typeof N || "ErrnoError" !== V.name) {
|
|
3133
|
+
throw V;
|
|
3127
3134
|
}
|
|
3128
|
-
return
|
|
3135
|
+
return V.J;
|
|
3129
3136
|
}
|
|
3130
3137
|
},
|
|
3131
|
-
framebufferPixelLocalClearValuefvWEBGL: function (a, b, c, e, f,
|
|
3132
|
-
(a =
|
|
3138
|
+
framebufferPixelLocalClearValuefvWEBGL: function (a, b, c, e, f, k) {
|
|
3139
|
+
(a = h[a].o.O) && a.framebufferPixelLocalClearValuefvWEBGL(b, [c, e, f, k]);
|
|
3133
3140
|
},
|
|
3134
3141
|
framebufferTexturePixelLocalStorageWEBGL: function (a, b, c, e, f) {
|
|
3135
|
-
(a =
|
|
3142
|
+
(a = h[a].o.O) && a.framebufferTexturePixelLocalStorageWEBGL(b, Oc[c], e, f);
|
|
3136
3143
|
},
|
|
3137
3144
|
glActiveTexture: a => X.activeTexture(a),
|
|
3138
3145
|
glAttachShader: (a, b) => {
|
|
3139
|
-
X.attachShader(
|
|
3146
|
+
X.attachShader(W[a], Pc[b]);
|
|
3140
3147
|
},
|
|
3141
3148
|
glBindBuffer: (a, b) => {
|
|
3142
3149
|
35051 == a ? X.va = b : 35052 == a && (X.aa = b);
|
|
3143
|
-
X.bindBuffer(a,
|
|
3150
|
+
X.bindBuffer(a, Lc[b]);
|
|
3144
3151
|
},
|
|
3145
3152
|
glBindBufferRange: (a, b, c, e, f) => {
|
|
3146
|
-
X.bindBufferRange(a, b,
|
|
3153
|
+
X.bindBufferRange(a, b, Lc[c], e, f);
|
|
3147
3154
|
},
|
|
3148
3155
|
glBindFramebuffer: (a, b) => {
|
|
3149
|
-
X.bindFramebuffer(a,
|
|
3156
|
+
X.bindFramebuffer(a, Mc[b]);
|
|
3150
3157
|
},
|
|
3151
3158
|
glBindRenderbuffer: (a, b) => {
|
|
3152
|
-
X.bindRenderbuffer(a,
|
|
3159
|
+
X.bindRenderbuffer(a, Nc[b]);
|
|
3153
3160
|
},
|
|
3154
3161
|
glBindTexture: (a, b) => {
|
|
3155
|
-
X.bindTexture(a,
|
|
3162
|
+
X.bindTexture(a, Oc[b]);
|
|
3156
3163
|
},
|
|
3157
3164
|
glBindVertexArray: a => {
|
|
3158
3165
|
X.bindVertexArray(Qc[a]);
|
|
3159
3166
|
},
|
|
3160
3167
|
glBlendEquation: a => X.blendEquation(a),
|
|
3161
3168
|
glBlendFunc: (a, b) => X.blendFunc(a, b),
|
|
3162
|
-
glBlitFramebuffer: (a, b, c, e, f,
|
|
3169
|
+
glBlitFramebuffer: (a, b, c, e, f, k, m, n, q, l) => X.blitFramebuffer(a, b, c, e, f, k, m, n, q, l),
|
|
3163
3170
|
glBufferData: (a, b, c, e) => {
|
|
3164
3171
|
c && b ? X.bufferData(a, A, e, c, b) : X.bufferData(a, b, e);
|
|
3165
3172
|
},
|
|
@@ -3177,12 +3184,12 @@ var nd = {
|
|
|
3177
3184
|
X.compileShader(Pc[a]);
|
|
3178
3185
|
},
|
|
3179
3186
|
glCreateProgram: () => {
|
|
3180
|
-
var a = ha(
|
|
3187
|
+
var a = ha(W),
|
|
3181
3188
|
b = X.createProgram();
|
|
3182
3189
|
b.name = a;
|
|
3183
3190
|
b.xb = b.vb = b.wb = 0;
|
|
3184
3191
|
b.pa = 1;
|
|
3185
|
-
|
|
3192
|
+
W[a] = b;
|
|
3186
3193
|
return a;
|
|
3187
3194
|
},
|
|
3188
3195
|
glCreateShader: a => {
|
|
@@ -3194,28 +3201,28 @@ var nd = {
|
|
|
3194
3201
|
glDeleteBuffers: (a, b) => {
|
|
3195
3202
|
for (var c = 0; c < a; c++) {
|
|
3196
3203
|
var e = C[b + 4 * c >> 2],
|
|
3197
|
-
f =
|
|
3198
|
-
f && (X.deleteBuffer(f), f.name = 0,
|
|
3204
|
+
f = Lc[e];
|
|
3205
|
+
f && (X.deleteBuffer(f), f.name = 0, Lc[e] = null, e == X.va && (X.va = 0), e == X.aa && (X.aa = 0));
|
|
3199
3206
|
}
|
|
3200
3207
|
},
|
|
3201
3208
|
glDeleteFramebuffers: (a, b) => {
|
|
3202
3209
|
for (var c = 0; c < a; ++c) {
|
|
3203
3210
|
var e = C[b + 4 * c >> 2],
|
|
3204
|
-
f =
|
|
3205
|
-
f && (X.deleteFramebuffer(f), f.name = 0,
|
|
3211
|
+
f = Mc[e];
|
|
3212
|
+
f && (X.deleteFramebuffer(f), f.name = 0, Mc[e] = null);
|
|
3206
3213
|
}
|
|
3207
3214
|
},
|
|
3208
3215
|
glDeleteProgram: a => {
|
|
3209
3216
|
if (a) {
|
|
3210
|
-
var b =
|
|
3211
|
-
b ? (X.deleteProgram(b), b.name = 0,
|
|
3217
|
+
var b = W[a];
|
|
3218
|
+
b ? (X.deleteProgram(b), b.name = 0, W[a] = null) : Y || (Y = 1281);
|
|
3212
3219
|
}
|
|
3213
3220
|
},
|
|
3214
3221
|
glDeleteRenderbuffers: (a, b) => {
|
|
3215
3222
|
for (var c = 0; c < a; c++) {
|
|
3216
3223
|
var e = C[b + 4 * c >> 2],
|
|
3217
|
-
f =
|
|
3218
|
-
f && (X.deleteRenderbuffer(f), f.name = 0,
|
|
3224
|
+
f = Nc[e];
|
|
3225
|
+
f && (X.deleteRenderbuffer(f), f.name = 0, Nc[e] = null);
|
|
3219
3226
|
}
|
|
3220
3227
|
},
|
|
3221
3228
|
glDeleteShader: a => {
|
|
@@ -3227,8 +3234,8 @@ var nd = {
|
|
|
3227
3234
|
glDeleteTextures: (a, b) => {
|
|
3228
3235
|
for (var c = 0; c < a; c++) {
|
|
3229
3236
|
var e = C[b + 4 * c >> 2],
|
|
3230
|
-
f =
|
|
3231
|
-
f && (X.deleteTexture(f), f.name = 0,
|
|
3237
|
+
f = Oc[e];
|
|
3238
|
+
f && (X.deleteTexture(f), f.name = 0, Oc[e] = null);
|
|
3232
3239
|
}
|
|
3233
3240
|
},
|
|
3234
3241
|
glDeleteVertexArrays: (a, b) => {
|
|
@@ -3267,23 +3274,23 @@ var nd = {
|
|
|
3267
3274
|
X.enableVertexAttribArray(a);
|
|
3268
3275
|
},
|
|
3269
3276
|
glFramebufferRenderbuffer: (a, b, c, e) => {
|
|
3270
|
-
X.framebufferRenderbuffer(a, b, c,
|
|
3277
|
+
X.framebufferRenderbuffer(a, b, c, Nc[e]);
|
|
3271
3278
|
},
|
|
3272
3279
|
glFramebufferTexture2D: (a, b, c, e, f) => {
|
|
3273
|
-
X.framebufferTexture2D(a, b, c,
|
|
3280
|
+
X.framebufferTexture2D(a, b, c, Oc[e], f);
|
|
3274
3281
|
},
|
|
3275
3282
|
glFrontFace: a => X.frontFace(a),
|
|
3276
3283
|
glGenBuffers: (a, b) => {
|
|
3277
|
-
Uc(a, b, "createBuffer",
|
|
3284
|
+
Uc(a, b, "createBuffer", Lc);
|
|
3278
3285
|
},
|
|
3279
3286
|
glGenFramebuffers: (a, b) => {
|
|
3280
|
-
Uc(a, b, "createFramebuffer",
|
|
3287
|
+
Uc(a, b, "createFramebuffer", Mc);
|
|
3281
3288
|
},
|
|
3282
3289
|
glGenRenderbuffers: (a, b) => {
|
|
3283
|
-
Uc(a, b, "createRenderbuffer",
|
|
3290
|
+
Uc(a, b, "createRenderbuffer", Nc);
|
|
3284
3291
|
},
|
|
3285
3292
|
glGenTextures: (a, b) => {
|
|
3286
|
-
Uc(a, b, "createTexture",
|
|
3293
|
+
Uc(a, b, "createTexture", Oc);
|
|
3287
3294
|
},
|
|
3288
3295
|
glGenVertexArrays: (a, b) => {
|
|
3289
3296
|
Uc(a, b, "createVertexArray", Qc);
|
|
@@ -3320,17 +3327,17 @@ var nd = {
|
|
|
3320
3327
|
}
|
|
3321
3328
|
return b;
|
|
3322
3329
|
},
|
|
3323
|
-
glGetUniformBlockIndex: (a, b) => X.getUniformBlockIndex(
|
|
3330
|
+
glGetUniformBlockIndex: (a, b) => X.getUniformBlockIndex(W[a], b ? G(A, b) : ""),
|
|
3324
3331
|
glGetUniformLocation: (a, b) => {
|
|
3325
3332
|
b = b ? G(A, b) : "";
|
|
3326
|
-
if (a =
|
|
3333
|
+
if (a = W[a]) {
|
|
3327
3334
|
var c = a,
|
|
3328
3335
|
e = c.R,
|
|
3329
3336
|
f = c.Ia,
|
|
3330
|
-
|
|
3337
|
+
k;
|
|
3331
3338
|
if (!e) {
|
|
3332
|
-
for (c.R = e = {}, c.Ha = {},
|
|
3333
|
-
var m = X.getActiveUniform(c,
|
|
3339
|
+
for (c.R = e = {}, c.Ha = {}, k = 0; k < X.getProgramParameter(c, 35718); ++k) {
|
|
3340
|
+
var m = X.getActiveUniform(c, k);
|
|
3334
3341
|
var n = m.name;
|
|
3335
3342
|
m = m.size;
|
|
3336
3343
|
var q = dd(n);
|
|
@@ -3346,8 +3353,8 @@ var nd = {
|
|
|
3346
3353
|
c = a.R;
|
|
3347
3354
|
e = 0;
|
|
3348
3355
|
f = b;
|
|
3349
|
-
|
|
3350
|
-
0 <
|
|
3356
|
+
k = dd(b);
|
|
3357
|
+
0 < k && (e = parseInt(b.slice(k + 1)) >>> 0, f = b.slice(0, k));
|
|
3351
3358
|
if ((f = a.Ia[f]) && e < f[0] && (e += f[1], c[e] = c[e] || X.getUniformLocation(a, b))) {
|
|
3352
3359
|
return e;
|
|
3353
3360
|
}
|
|
@@ -3363,7 +3370,7 @@ var nd = {
|
|
|
3363
3370
|
X.invalidateFramebuffer(a, e);
|
|
3364
3371
|
},
|
|
3365
3372
|
glLinkProgram: a => {
|
|
3366
|
-
a =
|
|
3373
|
+
a = W[a];
|
|
3367
3374
|
X.linkProgram(a);
|
|
3368
3375
|
a.R = 0;
|
|
3369
3376
|
a.Ia = {};
|
|
@@ -3375,8 +3382,8 @@ var nd = {
|
|
|
3375
3382
|
glRenderbufferStorageMultisample: (a, b, c, e, f) => X.renderbufferStorageMultisample(a, b, c, e, f),
|
|
3376
3383
|
glScissor: (a, b, c, e) => X.scissor(a, b, c, e),
|
|
3377
3384
|
glShaderSource: (a, b, c, e) => {
|
|
3378
|
-
for (var f = "",
|
|
3379
|
-
var m = (m = E[c + 4 *
|
|
3385
|
+
for (var f = "", k = 0; k < b; ++k) {
|
|
3386
|
+
var m = (m = E[c + 4 * k >> 2]) ? G(A, m, e ? E[e + 4 * k >> 2] : void 0) : "";
|
|
3380
3387
|
f += m;
|
|
3381
3388
|
}
|
|
3382
3389
|
X.shaderSource(Pc[a], f);
|
|
@@ -3388,17 +3395,17 @@ var nd = {
|
|
|
3388
3395
|
glStencilOpSeparate: (a, b, c, e) => X.stencilOpSeparate(a, b, c, e),
|
|
3389
3396
|
glTexParameteri: (a, b, c) => X.texParameteri(a, b, c),
|
|
3390
3397
|
glTexStorage2D: (a, b, c, e, f) => X.texStorage2D(a, b, c, e, f),
|
|
3391
|
-
glTexSubImage2D: (a, b, c, e, f,
|
|
3398
|
+
glTexSubImage2D: (a, b, c, e, f, k, m, n, q) => {
|
|
3392
3399
|
if (X.aa) {
|
|
3393
|
-
X.texSubImage2D(a, b, c, e, f,
|
|
3400
|
+
X.texSubImage2D(a, b, c, e, f, k, m, n, q);
|
|
3394
3401
|
} else {
|
|
3395
3402
|
if (q) {
|
|
3396
3403
|
var l = ed(n);
|
|
3397
|
-
X.texSubImage2D(a, b, c, e, f,
|
|
3404
|
+
X.texSubImage2D(a, b, c, e, f, k, m, n, l, q >>> 31 - Math.clz32(l.BYTES_PER_ELEMENT));
|
|
3398
3405
|
} else {
|
|
3399
3406
|
if (q) {
|
|
3400
3407
|
l = ed(n);
|
|
3401
|
-
var r =
|
|
3408
|
+
var r = k * ((Tc || f) * ({
|
|
3402
3409
|
5: 3,
|
|
3403
3410
|
6: 4,
|
|
3404
3411
|
8: 2,
|
|
@@ -3413,7 +3420,7 @@ var nd = {
|
|
|
3413
3420
|
} else {
|
|
3414
3421
|
q = null;
|
|
3415
3422
|
}
|
|
3416
|
-
X.texSubImage2D(a, b, c, e, f,
|
|
3423
|
+
X.texSubImage2D(a, b, c, e, f, k, m, n, q);
|
|
3417
3424
|
}
|
|
3418
3425
|
}
|
|
3419
3426
|
},
|
|
@@ -3422,20 +3429,20 @@ var nd = {
|
|
|
3422
3429
|
e = c.uniform1i;
|
|
3423
3430
|
var f = X.Pa;
|
|
3424
3431
|
if (f) {
|
|
3425
|
-
var
|
|
3426
|
-
"number" == typeof
|
|
3427
|
-
a =
|
|
3432
|
+
var k = f.R[a];
|
|
3433
|
+
"number" == typeof k && (f.R[a] = k = X.getUniformLocation(f, f.Ha[a] + (0 < k ? "[".concat(k, "]") : "")));
|
|
3434
|
+
a = k;
|
|
3428
3435
|
} else {
|
|
3429
3436
|
Y || (Y = 1282), a = void 0;
|
|
3430
3437
|
}
|
|
3431
3438
|
e.call(c, a, b);
|
|
3432
3439
|
},
|
|
3433
3440
|
glUniformBlockBinding: (a, b, c) => {
|
|
3434
|
-
a =
|
|
3441
|
+
a = W[a];
|
|
3435
3442
|
X.uniformBlockBinding(a, b, c);
|
|
3436
3443
|
},
|
|
3437
3444
|
glUseProgram: a => {
|
|
3438
|
-
a =
|
|
3445
|
+
a = W[a];
|
|
3439
3446
|
X.useProgram(a);
|
|
3440
3447
|
X.Pa = a;
|
|
3441
3448
|
},
|
|
@@ -3445,38 +3452,24 @@ var nd = {
|
|
|
3445
3452
|
glVertexAttribIPointer: (a, b, c, e, f) => {
|
|
3446
3453
|
X.vertexAttribIPointer(a, b, c, e, f);
|
|
3447
3454
|
},
|
|
3448
|
-
glVertexAttribPointer: (a, b, c, e, f,
|
|
3449
|
-
X.vertexAttribPointer(a, b, c, !!e, f,
|
|
3455
|
+
glVertexAttribPointer: (a, b, c, e, f, k) => {
|
|
3456
|
+
X.vertexAttribPointer(a, b, c, !!e, f, k);
|
|
3450
3457
|
},
|
|
3451
3458
|
glViewport: (a, b, c, e) => X.viewport(a, b, c, e),
|
|
3452
|
-
is_texture_image_done_decoding: function (a) {
|
|
3453
|
-
a = V[a];
|
|
3454
|
-
return a.complete || a.image.complete;
|
|
3455
|
-
},
|
|
3456
3459
|
provokingVertexWEBGL: function (a, b) {
|
|
3457
|
-
(a =
|
|
3458
|
-
},
|
|
3459
|
-
set_decoded_tex_image_2d: function (a, b) {
|
|
3460
|
-
a = k[a].o;
|
|
3461
|
-
b = V[b];
|
|
3462
|
-
a.texImage2D(a.TEXTURE_2D, 0, a.RGBA, a.RGBA, a.UNSIGNED_BYTE, b.image);
|
|
3463
|
-
b.imageWidth = b.image.width;
|
|
3464
|
-
b.imageHeight = b.image.height;
|
|
3465
|
-
b.complete = !0;
|
|
3466
|
-
delete b.image;
|
|
3460
|
+
(a = h[a].o.Fa) && a.provokingVertexWEBGL(b);
|
|
3467
3461
|
},
|
|
3468
3462
|
strftime_l: (a, b, c, e) => jd(a, b, c, e),
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
return a.imageWidth;
|
|
3463
|
+
upload_image: function (a, b) {
|
|
3464
|
+
var c = d.images;
|
|
3465
|
+
if (c) {
|
|
3466
|
+
var e = c.get(b);
|
|
3467
|
+
e ? (a = h[a].o, console.log("GL IS", a, e), a.texImage2D(a.TEXTURE_2D, 0, a.RGBA, a.RGBA, a.UNSIGNED_BYTE, e), c.delete(b)) : console.log("NO IMAGE");
|
|
3468
|
+
}
|
|
3476
3469
|
},
|
|
3477
|
-
webgl_texSubImage2DWithOffset: function (a, b, c, e, f,
|
|
3478
|
-
a =
|
|
3479
|
-
a.texSubImage2D(b, c, e, f,
|
|
3470
|
+
webgl_texSubImage2DWithOffset: function (a, b, c, e, f, k, m, n, q, l) {
|
|
3471
|
+
a = h[a].o;
|
|
3472
|
+
a.texSubImage2D(b, c, e, f, k, m, n, q, l);
|
|
3480
3473
|
}
|
|
3481
3474
|
},
|
|
3482
3475
|
Z = function () {
|
|
@@ -3485,7 +3478,7 @@ var nd = {
|
|
|
3485
3478
|
sa = Z.memory;
|
|
3486
3479
|
d.wasmMemory = sa;
|
|
3487
3480
|
za();
|
|
3488
|
-
|
|
3481
|
+
lc = Z.__indirect_function_table;
|
|
3489
3482
|
Ba.unshift(Z.__wasm_call_ctors);
|
|
3490
3483
|
Da--;
|
|
3491
3484
|
0 == Da && (null !== Ea && (clearInterval(Ea), Ea = null), Fa && (c = Fa, Fa = null, c()));
|
|
@@ -3509,7 +3502,7 @@ var nd = {
|
|
|
3509
3502
|
}).catch(ba);
|
|
3510
3503
|
return {};
|
|
3511
3504
|
}();
|
|
3512
|
-
d._initFactoryCallbacks = (a, b, c, e, f,
|
|
3505
|
+
d._initFactoryCallbacks = (a, b, c, e, f, k, m, n, q, l, r, u, v, p, x, z, D, K) => (d._initFactoryCallbacks = Z.initFactoryCallbacks)(a, b, c, e, f, k, m, n, q, l, r, u, v, p, x, z, D, K);
|
|
3513
3506
|
d._renderImageSetSize = (a, b, c) => (d._renderImageSetSize = Z.renderImageSetSize)(a, b, c);
|
|
3514
3507
|
d._makeFlutterRenderImage = () => (d._makeFlutterRenderImage = Z.makeFlutterRenderImage)();
|
|
3515
3508
|
d._flutterRenderImageId = a => (d._flutterRenderImageId = Z.flutterRenderImageId)(a);
|
|
@@ -3601,12 +3594,12 @@ d._rewindRenderPath = a => (d._rewindRenderPath = Z.rewindRenderPath)(a);
|
|
|
3601
3594
|
d._renderPathSetFillRule = (a, b) => (d._renderPathSetFillRule = Z.renderPathSetFillRule)(a, b);
|
|
3602
3595
|
d._drawPath = (a, b, c) => (d._drawPath = Z.drawPath)(a, b, c);
|
|
3603
3596
|
d._drawImage = (a, b, c, e) => (d._drawImage = Z.drawImage)(a, b, c, e);
|
|
3604
|
-
d._drawImageMesh = (a, b, c, e, f,
|
|
3597
|
+
d._drawImageMesh = (a, b, c, e, f, k, m, n, q) => (d._drawImageMesh = Z.drawImageMesh)(a, b, c, e, f, k, m, n, q);
|
|
3605
3598
|
d._clipPath = (a, b) => (d._clipPath = Z.clipPath)(a, b);
|
|
3606
3599
|
d._save = a => (d._save = Z.save)(a);
|
|
3607
3600
|
d._restore = a => (d._restore = Z.restore)(a);
|
|
3608
|
-
d._transform = (a, b, c, e, f,
|
|
3609
|
-
d._addPath = (a, b, c, e, f,
|
|
3601
|
+
d._transform = (a, b, c, e, f, k, m) => (d._transform = Z.transform)(a, b, c, e, f, k, m);
|
|
3602
|
+
d._addPath = (a, b, c, e, f, k, m, n) => (d._addPath = Z.addPath)(a, b, c, e, f, k, m, n);
|
|
3610
3603
|
d._makeRenderPaint = a => (d._makeRenderPaint = Z.makeRenderPaint)(a);
|
|
3611
3604
|
d._deleteRenderPaint = a => (d._deleteRenderPaint = Z.deleteRenderPaint)(a);
|
|
3612
3605
|
d._updatePaint = (a, b, c, e, f) => (d._updatePaint = Z.updatePaint)(a, b, c, e, f);
|
|
@@ -3619,21 +3612,21 @@ d._makeIndexRenderBuffer = (a, b) => (d._makeIndexRenderBuffer = Z.makeIndexRend
|
|
|
3619
3612
|
d._mapRenderBuffer = a => (d._mapRenderBuffer = Z.mapRenderBuffer)(a);
|
|
3620
3613
|
d._unmapRenderBuffer = a => (d._unmapRenderBuffer = Z.unmapRenderBuffer)(a);
|
|
3621
3614
|
d._deleteRenderBuffer = a => (d._deleteRenderBuffer = Z.deleteRenderBuffer)(a);
|
|
3622
|
-
d._renderPathHitTest = (a, b, c, e, f,
|
|
3615
|
+
d._renderPathHitTest = (a, b, c, e, f, k, m, n, q, l, r) => (d._renderPathHitTest = Z.renderPathHitTest)(a, b, c, e, f, k, m, n, q, l, r);
|
|
3623
3616
|
d._makePathMeasure = (a, b) => (d._makePathMeasure = Z.makePathMeasure)(a, b);
|
|
3624
3617
|
d._deletePathMeasure = a => (d._deletePathMeasure = Z.deletePathMeasure)(a);
|
|
3625
3618
|
d._pathMeasureAtDistance = (a, b, c) => (d._pathMeasureAtDistance = Z.pathMeasureAtDistance)(a, b, c);
|
|
3626
3619
|
d._pathMeasureAtPercentage = (a, b, c) => (d._pathMeasureAtPercentage = Z.pathMeasureAtPercentage)(a, b, c);
|
|
3627
3620
|
d._pathMeasureLength = a => (d._pathMeasureLength = Z.pathMeasureLength)(a);
|
|
3628
|
-
d._renderPathPreciseBounds = (a, b, c, e, f,
|
|
3621
|
+
d._renderPathPreciseBounds = (a, b, c, e, f, k, m, n, q) => (d._renderPathPreciseBounds = Z.renderPathPreciseBounds)(a, b, c, e, f, k, m, n, q);
|
|
3629
3622
|
d._renderPathColinearCheck = (a, b, c) => (d._renderPathColinearCheck = Z.renderPathColinearCheck)(a, b, c);
|
|
3630
3623
|
d._renderPathIsClosed = (a, b) => (d._renderPathIsClosed = Z.renderPathIsClosed)(a, b);
|
|
3631
3624
|
d._renderPathHasBounds = (a, b) => (d._renderPathHasBounds = Z.renderPathHasBounds)(a, b);
|
|
3632
|
-
d._renderPathCopyBuffers = (a, b, c, e, f,
|
|
3625
|
+
d._renderPathCopyBuffers = (a, b, c, e, f, k) => (d._renderPathCopyBuffers = Z.renderPathCopyBuffers)(a, b, c, e, f, k);
|
|
3633
3626
|
d._allocateBuffer = a => (d._allocateBuffer = Z.allocateBuffer)(a);
|
|
3634
3627
|
d._deleteBuffer = a => (d._deleteBuffer = Z.deleteBuffer)(a);
|
|
3635
3628
|
var bd = a => (bd = Z.malloc)(a),
|
|
3636
|
-
|
|
3629
|
+
U = a => (U = Z.free)(a);
|
|
3637
3630
|
d._loadRiveFile = (a, b, c) => (d._loadRiveFile = Z.loadRiveFile)(a, b, c);
|
|
3638
3631
|
d._deleteRiveFile = a => (d._deleteRiveFile = Z.deleteRiveFile)(a);
|
|
3639
3632
|
d._riveFileArtboardDefault = (a, b) => (d._riveFileArtboardDefault = Z.riveFileArtboardDefault)(a, b);
|
|
@@ -3672,9 +3665,9 @@ d._artboardAnimationAt = (a, b) => (d._artboardAnimationAt = Z.artboardAnimation
|
|
|
3672
3665
|
d._artboardComponentNamed = (a, b) => (d._artboardComponentNamed = Z.artboardComponentNamed)(a, b);
|
|
3673
3666
|
d._deleteComponent = a => (d._deleteComponent = Z.deleteComponent)(a);
|
|
3674
3667
|
d._componentGetWorldTransform = (a, b) => (d._componentGetWorldTransform = Z.componentGetWorldTransform)(a, b);
|
|
3675
|
-
d._componentSetWorldTransform = (a, b, c, e, f,
|
|
3668
|
+
d._componentSetWorldTransform = (a, b, c, e, f, k, m) => (d._componentSetWorldTransform = Z.componentSetWorldTransform)(a, b, c, e, f, k, m);
|
|
3676
3669
|
d._artboardGetRenderTransform = (a, b) => (d._artboardGetRenderTransform = Z.artboardGetRenderTransform)(a, b);
|
|
3677
|
-
d._artboardSetRenderTransform = (a, b, c, e, f,
|
|
3670
|
+
d._artboardSetRenderTransform = (a, b, c, e, f, k, m) => (d._artboardSetRenderTransform = Z.artboardSetRenderTransform)(a, b, c, e, f, k, m);
|
|
3678
3671
|
d._componentGetScaleX = a => (d._componentGetScaleX = Z.componentGetScaleX)(a);
|
|
3679
3672
|
d._componentSetScaleX = (a, b) => (d._componentSetScaleX = Z.componentSetScaleX)(a, b);
|
|
3680
3673
|
d._componentGetX = a => (d._componentGetX = Z.componentGetX)(a);
|
|
@@ -3685,7 +3678,7 @@ d._componentGetScaleY = a => (d._componentGetScaleY = Z.componentGetScaleY)(a);
|
|
|
3685
3678
|
d._componentSetScaleY = (a, b) => (d._componentSetScaleY = Z.componentSetScaleY)(a, b);
|
|
3686
3679
|
d._componentGetRotation = a => (d._componentGetRotation = Z.componentGetRotation)(a);
|
|
3687
3680
|
d._componentSetRotation = (a, b) => (d._componentSetRotation = Z.componentSetRotation)(a, b);
|
|
3688
|
-
d._componentSetLocalFromWorld = (a, b, c, e, f,
|
|
3681
|
+
d._componentSetLocalFromWorld = (a, b, c, e, f, k, m) => (d._componentSetLocalFromWorld = Z.componentSetLocalFromWorld)(a, b, c, e, f, k, m);
|
|
3689
3682
|
d._artboardAnimationNamed = (a, b) => (d._artboardAnimationNamed = Z.artboardAnimationNamed)(a, b);
|
|
3690
3683
|
d._artboardSetFrameOrigin = (a, b) => (d._artboardSetFrameOrigin = Z.artboardSetFrameOrigin)(a, b);
|
|
3691
3684
|
d._artboardGetFrameOrigin = a => (d._artboardGetFrameOrigin = Z.artboardGetFrameOrigin)(a);
|
|
@@ -3697,7 +3690,7 @@ d._animationInstanceGetDuration = (a, b) => (d._animationInstanceGetDuration = Z
|
|
|
3697
3690
|
d._animationInstanceGetTime = a => (d._animationInstanceGetTime = Z.animationInstanceGetTime)(a);
|
|
3698
3691
|
d._animationInstanceSetTime = (a, b) => (d._animationInstanceSetTime = Z.animationInstanceSetTime)(a, b);
|
|
3699
3692
|
d._animationInstanceDelete = a => (d._animationInstanceDelete = Z.animationInstanceDelete)(a);
|
|
3700
|
-
d._artboardAddToRenderPath = (a, b, c, e, f,
|
|
3693
|
+
d._artboardAddToRenderPath = (a, b, c, e, f, k, m, n) => (d._artboardAddToRenderPath = Z.artboardAddToRenderPath)(a, b, c, e, f, k, m, n);
|
|
3701
3694
|
d._artboardBounds = (a, b) => (d._artboardBounds = Z.artboardBounds)(a, b);
|
|
3702
3695
|
d._artboardLayoutBounds = (a, b) => (d._artboardLayoutBounds = Z.artboardLayoutBounds)(a, b);
|
|
3703
3696
|
d._artboardTakeLayoutNode = a => (d._artboardTakeLayoutNode = Z.artboardTakeLayoutNode)(a);
|
|
@@ -3707,13 +3700,22 @@ d._artboardHeightOverride = (a, b, c, e) => (d._artboardHeightOverride = Z.artbo
|
|
|
3707
3700
|
d._artboardWidthIntrinsicallySizeOverride = (a, b) => (d._artboardWidthIntrinsicallySizeOverride = Z.artboardWidthIntrinsicallySizeOverride)(a, b);
|
|
3708
3701
|
d._artboardHeightIntrinsicallySizeOverride = (a, b) => (d._artboardHeightIntrinsicallySizeOverride = Z.artboardHeightIntrinsicallySizeOverride)(a, b);
|
|
3709
3702
|
d._updateLayoutBounds = (a, b) => (d._updateLayoutBounds = Z.updateLayoutBounds)(a, b);
|
|
3710
|
-
d._riveArtboardAdvance = (a, b, c) => (d._riveArtboardAdvance = Z.riveArtboardAdvance)(a, b, c);
|
|
3703
|
+
d._riveArtboardAdvance = (a, b, c, e) => (d._riveArtboardAdvance = Z.riveArtboardAdvance)(a, b, c, e);
|
|
3711
3704
|
d._riveArtboardGetOpacity = a => (d._riveArtboardGetOpacity = Z.riveArtboardGetOpacity)(a);
|
|
3705
|
+
d._riveArtboardUpdatePass = a => (d._riveArtboardUpdatePass = Z.riveArtboardUpdatePass)(a);
|
|
3706
|
+
d._riveArtboardHasComponentDirt = a => (d._riveArtboardHasComponentDirt = Z.riveArtboardHasComponentDirt)(a);
|
|
3712
3707
|
d._riveArtboardSetOpacity = (a, b) => (d._riveArtboardSetOpacity = Z.riveArtboardSetOpacity)(a, b);
|
|
3708
|
+
d._riveArtboardGetWidth = a => (d._riveArtboardGetWidth = Z.riveArtboardGetWidth)(a);
|
|
3709
|
+
d._riveArtboardSetWidth = (a, b) => (d._riveArtboardSetWidth = Z.riveArtboardSetWidth)(a, b);
|
|
3710
|
+
d._riveArtboardGetHeight = a => (d._riveArtboardGetHeight = Z.riveArtboardGetHeight)(a);
|
|
3711
|
+
d._riveArtboardSetHeight = (a, b) => (d._riveArtboardSetHeight = Z.riveArtboardSetHeight)(a, b);
|
|
3712
|
+
d._riveArtboardGetOriginalWidth = a => (d._riveArtboardGetOriginalWidth = Z.riveArtboardGetOriginalWidth)(a);
|
|
3713
|
+
d._riveArtboardGetOriginalHeight = a => (d._riveArtboardGetOriginalHeight = Z.riveArtboardGetOriginalHeight)(a);
|
|
3713
3714
|
d._riveArtboardStateMachineDefault = a => (d._riveArtboardStateMachineDefault = Z.riveArtboardStateMachineDefault)(a);
|
|
3714
3715
|
d._riveArtboardStateMachineNamed = (a, b) => (d._riveArtboardStateMachineNamed = Z.riveArtboardStateMachineNamed)(a, b);
|
|
3715
3716
|
d._riveArtboardStateMachineAt = (a, b) => (d._riveArtboardStateMachineAt = Z.riveArtboardStateMachineAt)(a, b);
|
|
3716
|
-
d._stateMachineInstanceAdvance = (a, b) => (d._stateMachineInstanceAdvance = Z.stateMachineInstanceAdvance)(a, b);
|
|
3717
|
+
d._stateMachineInstanceAdvance = (a, b, c) => (d._stateMachineInstanceAdvance = Z.stateMachineInstanceAdvance)(a, b, c);
|
|
3718
|
+
d._stateMachineInstanceAdvanceAndApply = (a, b) => (d._stateMachineInstanceAdvanceAndApply = Z.stateMachineInstanceAdvanceAndApply)(a, b);
|
|
3717
3719
|
d._stateMachineInstanceHitTest = (a, b, c) => (d._stateMachineInstanceHitTest = Z.stateMachineInstanceHitTest)(a, b, c);
|
|
3718
3720
|
d._stateMachineInstancePointerDown = (a, b, c) => (d._stateMachineInstancePointerDown = Z.stateMachineInstancePointerDown)(a, b, c);
|
|
3719
3721
|
d._stateMachineInstancePointerExit = (a, b, c) => (d._stateMachineInstancePointerExit = Z.stateMachineInstancePointerExit)(a, b, c);
|
|
@@ -3744,13 +3746,14 @@ d._setBooleanValue = (a, b) => (d._setBooleanValue = Z.setBooleanValue)(a, b);
|
|
|
3744
3746
|
d._stateMachineInstanceTrigger = (a, b) => (d._stateMachineInstanceTrigger = Z.stateMachineInstanceTrigger)(a, b);
|
|
3745
3747
|
d._fireTrigger = a => (d._fireTrigger = Z.fireTrigger)(a);
|
|
3746
3748
|
d._deleteInput = a => (d._deleteInput = Z.deleteInput)(a);
|
|
3747
|
-
d._initBindingCallbacks = (a, b, c, e, f,
|
|
3749
|
+
d._initBindingCallbacks = (a, b, c, e, f, k) => (d._initBindingCallbacks = Z.initBindingCallbacks)(a, b, c, e, f, k);
|
|
3748
3750
|
d._stateMachineInstanceBatchAdvance = (a, b, c) => (d._stateMachineInstanceBatchAdvance = Z.stateMachineInstanceBatchAdvance)(a, b, c);
|
|
3749
3751
|
d._stateMachineInstanceBatchAdvanceAndRender = (a, b, c, e) => (d._stateMachineInstanceBatchAdvanceAndRender = Z.stateMachineInstanceBatchAdvanceAndRender)(a, b, c, e);
|
|
3750
3752
|
d._wasmStateMachineInstanceBatchAdvance = (a, b, c) => (d._wasmStateMachineInstanceBatchAdvance = Z.wasmStateMachineInstanceBatchAdvance)(a, b, c);
|
|
3751
3753
|
d._wasmStateMachineInstanceBatchAdvanceAndRender = (a, b, c, e) => (d._wasmStateMachineInstanceBatchAdvanceAndRender = Z.wasmStateMachineInstanceBatchAdvanceAndRender)(a, b, c, e);
|
|
3752
3754
|
d._artboardSetText = (a, b, c) => (d._artboardSetText = Z.artboardSetText)(a, b, c);
|
|
3753
|
-
|
|
3755
|
+
d._setWebImage = (a, b, c) => (d._setWebImage = Z.setWebImage)(a, b, c);
|
|
3756
|
+
var nc = a => (nc = Z.__getTypeName)(a),
|
|
3754
3757
|
Ma = d._ma_device__on_notification_unlocked = a => (Ma = d._ma_device__on_notification_unlocked = Z.ma_device__on_notification_unlocked)(a);
|
|
3755
3758
|
d._ma_malloc_emscripten = (a, b) => (d._ma_malloc_emscripten = Z.ma_malloc_emscripten)(a, b);
|
|
3756
3759
|
d._ma_free_emscripten = (a, b) => (d._ma_free_emscripten = Z.ma_free_emscripten)(a, b);
|