@rive-app/canvas 2.11.0 → 2.11.1
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/rive.js +898 -841
- package/rive.js.map +1 -1
package/rive.js
CHANGED
|
@@ -26,19 +26,19 @@ var Rive = (() => {
|
|
|
26
26
|
return (
|
|
27
27
|
function(moduleArg = {}) {
|
|
28
28
|
|
|
29
|
-
var
|
|
30
|
-
|
|
29
|
+
var m = moduleArg, aa, ba;
|
|
30
|
+
m.ready = new Promise((a, b) => {
|
|
31
31
|
aa = a;
|
|
32
32
|
ba = b;
|
|
33
33
|
});
|
|
34
34
|
function ca() {
|
|
35
35
|
function a(g) {
|
|
36
|
-
const
|
|
36
|
+
const n = d;
|
|
37
37
|
c = b = 0;
|
|
38
38
|
d = new Map();
|
|
39
|
-
|
|
39
|
+
n.forEach(p => {
|
|
40
40
|
try {
|
|
41
|
-
|
|
41
|
+
p(g);
|
|
42
42
|
} catch (l) {
|
|
43
43
|
console.error(l);
|
|
44
44
|
}
|
|
@@ -49,9 +49,9 @@ function ca() {
|
|
|
49
49
|
let b = 0, c = 0, d = new Map(), e = null, f = null;
|
|
50
50
|
this.requestAnimationFrame = function(g) {
|
|
51
51
|
b || (b = requestAnimationFrame(a.bind(this)));
|
|
52
|
-
const
|
|
53
|
-
d.set(
|
|
54
|
-
return
|
|
52
|
+
const n = ++c;
|
|
53
|
+
d.set(n, g);
|
|
54
|
+
return n;
|
|
55
55
|
};
|
|
56
56
|
this.cancelAnimationFrame = function(g) {
|
|
57
57
|
d.delete(g);
|
|
@@ -59,14 +59,14 @@ function ca() {
|
|
|
59
59
|
};
|
|
60
60
|
this.Wb = function(g) {
|
|
61
61
|
f && (document.body.remove(f), f = null);
|
|
62
|
-
g || (f = document.createElement("div"), f.style.backgroundColor = "black", f.style.position = "fixed", f.style.right = 0, f.style.top = 0, f.style.color = "white", f.style.padding = "4px", f.innerHTML = "RIVE FPS", g = function(
|
|
63
|
-
f.innerHTML = "RIVE FPS " +
|
|
62
|
+
g || (f = document.createElement("div"), f.style.backgroundColor = "black", f.style.position = "fixed", f.style.right = 0, f.style.top = 0, f.style.color = "white", f.style.padding = "4px", f.innerHTML = "RIVE FPS", g = function(n) {
|
|
63
|
+
f.innerHTML = "RIVE FPS " + n.toFixed(1);
|
|
64
64
|
}, document.body.appendChild(f));
|
|
65
65
|
e = new function() {
|
|
66
|
-
let
|
|
66
|
+
let n = 0, p = 0;
|
|
67
67
|
this.Yb = function() {
|
|
68
68
|
var l = performance.now();
|
|
69
|
-
|
|
69
|
+
p ? (++n, l -= p, 1000 < l && (g(1000 * n / l), n = p = 0)) : (p = l, n = 0);
|
|
70
70
|
};
|
|
71
71
|
}();
|
|
72
72
|
};
|
|
@@ -92,30 +92,30 @@ function ha(a) {
|
|
|
92
92
|
return c << a;
|
|
93
93
|
};
|
|
94
94
|
}
|
|
95
|
-
const ia =
|
|
96
|
-
|
|
95
|
+
const ia = m.onRuntimeInitialized;
|
|
96
|
+
m.onRuntimeInitialized = function() {
|
|
97
97
|
ia && ia();
|
|
98
|
-
let a =
|
|
99
|
-
|
|
98
|
+
let a = m.decodeFont;
|
|
99
|
+
m.decodeFont = function(c, d) {
|
|
100
100
|
c = a(c);
|
|
101
101
|
d(c);
|
|
102
102
|
};
|
|
103
|
-
const b =
|
|
104
|
-
|
|
105
|
-
let d =
|
|
106
|
-
return d.isImage ?
|
|
103
|
+
const b = m.FileAssetLoader;
|
|
104
|
+
m.ptrToAsset = c => {
|
|
105
|
+
let d = m.ptrToFileAsset(c);
|
|
106
|
+
return d.isImage ? m.ptrToImageAsset(c) : d.isFont ? m.ptrToFontAsset(c) : d;
|
|
107
107
|
};
|
|
108
|
-
|
|
108
|
+
m.CustomFileAssetLoader = b.extend("CustomFileAssetLoader", {__construct:function({loadContents:c}) {
|
|
109
109
|
this.__parent.__construct.call(this);
|
|
110
110
|
this.Hb = c;
|
|
111
111
|
}, loadContents:function(c, d) {
|
|
112
|
-
c =
|
|
112
|
+
c = m.ptrToAsset(c);
|
|
113
113
|
return this.Hb(c, d);
|
|
114
114
|
},});
|
|
115
|
-
|
|
115
|
+
m.CDNFileAssetLoader = b.extend("CDNFileAssetLoader", {__construct:function() {
|
|
116
116
|
this.__parent.__construct.call(this);
|
|
117
117
|
}, loadContents:function(c) {
|
|
118
|
-
let d =
|
|
118
|
+
let d = m.ptrToAsset(c);
|
|
119
119
|
c = d.cdnUuid;
|
|
120
120
|
if ("" === c) {
|
|
121
121
|
return !1;
|
|
@@ -133,7 +133,7 @@ p.onRuntimeInitialized = function() {
|
|
|
133
133
|
});
|
|
134
134
|
return !0;
|
|
135
135
|
},});
|
|
136
|
-
|
|
136
|
+
m.FallbackFileAssetLoader = b.extend("FallbackFileAssetLoader", {__construct:function() {
|
|
137
137
|
this.__parent.__construct.call(this);
|
|
138
138
|
this.lb = [];
|
|
139
139
|
}, addLoader:function(c) {
|
|
@@ -169,7 +169,7 @@ const ja = "createConicGradient createImageData createLinearGradient createPatte
|
|
|
169
169
|
}
|
|
170
170
|
r = new Proxy(r, {get(E, w) {
|
|
171
171
|
if (E.isContextLost()) {
|
|
172
|
-
if (
|
|
172
|
+
if (p || (console.error("Cannot render the mesh because the GL Context was lost. Tried to invoke ", w), p = !0), "function" === typeof E[w]) {
|
|
173
173
|
return function() {
|
|
174
174
|
};
|
|
175
175
|
}
|
|
@@ -180,7 +180,7 @@ const ja = "createConicGradient createImageData createLinearGradient createPatte
|
|
|
180
180
|
}
|
|
181
181
|
}, set(E, w, O) {
|
|
182
182
|
if (E.isContextLost()) {
|
|
183
|
-
|
|
183
|
+
p || (console.error("Cannot render the mesh because the GL Context was lost. Tried to set property " + w), p = !0);
|
|
184
184
|
} else {
|
|
185
185
|
return E[w] = O, !0;
|
|
186
186
|
}
|
|
@@ -219,7 +219,7 @@ const ja = "createConicGradient createImageData createLinearGradient createPatte
|
|
|
219
219
|
}
|
|
220
220
|
return !0;
|
|
221
221
|
}
|
|
222
|
-
let b = null, c = 0, d = 0, e = null, f = null, g = 0,
|
|
222
|
+
let b = null, c = 0, d = 0, e = null, f = null, g = 0, n = 0, p = !1;
|
|
223
223
|
a();
|
|
224
224
|
this.nc = function() {
|
|
225
225
|
a();
|
|
@@ -270,7 +270,7 @@ const ja = "createConicGradient createImageData createLinearGradient createPatte
|
|
|
270
270
|
}
|
|
271
271
|
console.assert(w == 8 * B);
|
|
272
272
|
w = y.push(E);
|
|
273
|
-
|
|
273
|
+
n != w && (b.bufferData(b.ELEMENT_ARRAY_BUFFER, 2 * w, b.DYNAMIC_DRAW), n = w);
|
|
274
274
|
V = 0;
|
|
275
275
|
for (var va of r) {
|
|
276
276
|
b.bufferSubData(b.ELEMENT_ARRAY_BUFFER, V, va.indices), V += 2 * va.indices.length;
|
|
@@ -300,8 +300,8 @@ const ja = "createConicGradient createImageData createLinearGradient createPatte
|
|
|
300
300
|
this.canvas = function() {
|
|
301
301
|
return a() && b.canvas;
|
|
302
302
|
};
|
|
303
|
-
}(), la =
|
|
304
|
-
|
|
303
|
+
}(), la = m.onRuntimeInitialized;
|
|
304
|
+
m.onRuntimeInitialized = function() {
|
|
305
305
|
function a(q) {
|
|
306
306
|
switch(q) {
|
|
307
307
|
case l.srcOver:
|
|
@@ -352,10 +352,10 @@ p.onRuntimeInitialized = function() {
|
|
|
352
352
|
E.clear();
|
|
353
353
|
}
|
|
354
354
|
la && la();
|
|
355
|
-
var d =
|
|
356
|
-
const e =
|
|
355
|
+
var d = m.RenderPaintStyle;
|
|
356
|
+
const e = m.RenderPath, f = m.RenderPaint, g = m.Renderer, n = m.StrokeCap, p = m.StrokeJoin, l = m.BlendMode, u = d.fill, v = d.stroke, y = m.FillRule.evenOdd;
|
|
357
357
|
let k = 1;
|
|
358
|
-
var t =
|
|
358
|
+
var t = m.RenderImage.extend("CanvasRenderImage", {__construct:function({la:q, ya:z} = {}) {
|
|
359
359
|
this.__parent.__construct.call(this);
|
|
360
360
|
this.Ka = k;
|
|
361
361
|
k = k + 1 & 2147483647 || 1;
|
|
@@ -408,24 +408,24 @@ p.onRuntimeInitialized = function() {
|
|
|
408
408
|
this.Jb = q;
|
|
409
409
|
}, join:function(q) {
|
|
410
410
|
switch(q) {
|
|
411
|
-
case
|
|
411
|
+
case p.miter:
|
|
412
412
|
this.Ia = "miter";
|
|
413
413
|
break;
|
|
414
|
-
case
|
|
414
|
+
case p.round:
|
|
415
415
|
this.Ia = "round";
|
|
416
416
|
break;
|
|
417
|
-
case
|
|
417
|
+
case p.bevel:
|
|
418
418
|
this.Ia = "bevel";
|
|
419
419
|
}
|
|
420
420
|
}, cap:function(q) {
|
|
421
421
|
switch(q) {
|
|
422
|
-
case
|
|
422
|
+
case n.butt:
|
|
423
423
|
this.Ha = "butt";
|
|
424
424
|
break;
|
|
425
|
-
case
|
|
425
|
+
case n.round:
|
|
426
426
|
this.Ha = "round";
|
|
427
427
|
break;
|
|
428
|
-
case
|
|
428
|
+
case n.square:
|
|
429
429
|
this.Ha = "square";
|
|
430
430
|
}
|
|
431
431
|
}, style:function(q) {
|
|
@@ -472,7 +472,7 @@ p.onRuntimeInitialized = function() {
|
|
|
472
472
|
},});
|
|
473
473
|
const E = new Set();
|
|
474
474
|
let w = null, O = [], V = 0, ea = 0;
|
|
475
|
-
var va =
|
|
475
|
+
var va = m.CanvasRenderer = g.extend("Renderer", {__construct:function(q) {
|
|
476
476
|
this.__parent.__construct.call(this);
|
|
477
477
|
this.T = [1, 0, 0, 1, 0, 0];
|
|
478
478
|
this.C = q.getContext("2d");
|
|
@@ -516,37 +516,37 @@ p.onRuntimeInitialized = function() {
|
|
|
516
516
|
}
|
|
517
517
|
}, _drawImageMesh:function(q, z, I, J, D, K, L, M, Z, R) {
|
|
518
518
|
var fa = this.C.canvas.width, S = this.C.canvas.height;
|
|
519
|
-
const
|
|
519
|
+
const Zb = Z - L, $b = R - M;
|
|
520
520
|
L = Math.max(L, 0);
|
|
521
521
|
M = Math.max(M, 0);
|
|
522
522
|
Z = Math.min(Z, fa);
|
|
523
523
|
R = Math.min(R, S);
|
|
524
|
-
const
|
|
525
|
-
console.assert(
|
|
526
|
-
console.assert(
|
|
527
|
-
if (!(0 >=
|
|
528
|
-
Z =
|
|
524
|
+
const Ia = Z - L, Ja = R - M;
|
|
525
|
+
console.assert(Ia <= Math.min(Zb, fa));
|
|
526
|
+
console.assert(Ja <= Math.min($b, S));
|
|
527
|
+
if (!(0 >= Ia || 0 >= Ja)) {
|
|
528
|
+
Z = Ia < Zb || Ja < $b;
|
|
529
529
|
fa = R = 1;
|
|
530
|
-
var wa = Math.ceil(
|
|
530
|
+
var wa = Math.ceil(Ia * R), xa = Math.ceil(Ja * fa);
|
|
531
531
|
S = ka.nc();
|
|
532
532
|
wa > S && (R *= S / wa, wa = S);
|
|
533
533
|
xa > S && (fa *= S / xa, xa = S);
|
|
534
|
-
w || (w = new
|
|
534
|
+
w || (w = new m.DynamicRectanizer(S), w.reset(512, 512));
|
|
535
535
|
S = w.addRect(wa, xa);
|
|
536
536
|
0 > S && (c(), E.add(this), S = w.addRect(wa, xa), console.assert(0 <= S));
|
|
537
|
-
var
|
|
538
|
-
O.push({ha:this.T.slice(this.T.length - 6), image:q, Za
|
|
537
|
+
var ac = S & 65535, bc = S >> 16;
|
|
538
|
+
O.push({ha:this.T.slice(this.T.length - 6), image:q, Za:ac, $a:bc, oc:L, pc:M, Ic:wa, jb:xa, Ba:R, Ca:fa, Ua:new Float32Array(J), Eb:new Float32Array(D), indices:new Uint16Array(K), tc:Z, xb:q.Ka << 1 | (Z ? 1 : 0),});
|
|
539
539
|
V += J.length;
|
|
540
540
|
ea += K.length;
|
|
541
|
-
var
|
|
541
|
+
var Ca = this.C, qd = a(z);
|
|
542
542
|
this.J.push(function() {
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
const
|
|
548
|
-
|
|
549
|
-
|
|
543
|
+
Ca.save();
|
|
544
|
+
Ca.resetTransform();
|
|
545
|
+
Ca.globalCompositeOperation = qd;
|
|
546
|
+
Ca.globalAlpha = I;
|
|
547
|
+
const cc = ka.canvas();
|
|
548
|
+
cc && Ca.drawImage(cc, ac, bc, wa, xa, L, M, Ia, Ja);
|
|
549
|
+
Ca.restore();
|
|
550
550
|
});
|
|
551
551
|
}
|
|
552
552
|
}, _clipPath:function(q) {
|
|
@@ -558,7 +558,7 @@ p.onRuntimeInitialized = function() {
|
|
|
558
558
|
}, translate:function(q, z) {
|
|
559
559
|
this.transform(1, 0, 0, 1, q, z);
|
|
560
560
|
},});
|
|
561
|
-
|
|
561
|
+
m.makeRenderer = function(q) {
|
|
562
562
|
const z = new va(q), I = z.C;
|
|
563
563
|
return new Proxy(z, {get(J, D) {
|
|
564
564
|
if ("function" === typeof J[D]) {
|
|
@@ -581,10 +581,10 @@ p.onRuntimeInitialized = function() {
|
|
|
581
581
|
}
|
|
582
582
|
},});
|
|
583
583
|
};
|
|
584
|
-
|
|
584
|
+
m.decodeImage = function(q, z) {
|
|
585
585
|
(new t({la:z})).decode(q);
|
|
586
586
|
};
|
|
587
|
-
|
|
587
|
+
m.renderFactory = {makeRenderPaint:function() {
|
|
588
588
|
return new B();
|
|
589
589
|
}, makeRenderPath:function() {
|
|
590
590
|
return new r();
|
|
@@ -600,11 +600,11 @@ p.onRuntimeInitialized = function() {
|
|
|
600
600
|
}
|
|
601
601
|
},});
|
|
602
602
|
},};
|
|
603
|
-
let H =
|
|
604
|
-
|
|
605
|
-
const J = new
|
|
603
|
+
let H = m.load, da = null;
|
|
604
|
+
m.load = function(q, z, I = !0) {
|
|
605
|
+
const J = new m.FallbackFileAssetLoader();
|
|
606
606
|
void 0 !== z && J.addLoader(z);
|
|
607
|
-
I && (z = new
|
|
607
|
+
I && (z = new m.CDNFileAssetLoader(), J.addLoader(z));
|
|
608
608
|
return new Promise(function(D) {
|
|
609
609
|
let K = null;
|
|
610
610
|
da = {total:0, loaded:0, ready:function() {
|
|
@@ -615,25 +615,25 @@ p.onRuntimeInitialized = function() {
|
|
|
615
615
|
});
|
|
616
616
|
};
|
|
617
617
|
d = new ca();
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
618
|
+
m.requestAnimationFrame = d.requestAnimationFrame.bind(d);
|
|
619
|
+
m.cancelAnimationFrame = d.cancelAnimationFrame.bind(d);
|
|
620
|
+
m.enableFPSCounter = d.Wb.bind(d);
|
|
621
|
+
m.disableFPSCounter = d.Tb;
|
|
622
622
|
d.pb = c;
|
|
623
|
-
|
|
624
|
-
|
|
623
|
+
m.resolveAnimationFrame = c;
|
|
624
|
+
m.cleanup = function() {
|
|
625
625
|
w && w.delete();
|
|
626
626
|
};
|
|
627
627
|
};
|
|
628
|
-
var ma = Object.assign({},
|
|
629
|
-
if (
|
|
630
|
-
|
|
628
|
+
var ma = Object.assign({}, m), na = "./this.program", oa = "object" == typeof window, pa = "function" == typeof importScripts, qa = "", ra, sa;
|
|
629
|
+
if (oa || pa) {
|
|
630
|
+
pa ? qa = self.location.href : "undefined" != typeof document && document.currentScript && (qa = document.currentScript.src), _scriptDir && (qa = _scriptDir), 0 !== qa.indexOf("blob:") ? qa = qa.substr(0, qa.replace(/[?#].*/, "").lastIndexOf("/") + 1) : qa = "", pa && (sa = a => {
|
|
631
631
|
var b = new XMLHttpRequest();
|
|
632
632
|
b.open("GET", a, !1);
|
|
633
633
|
b.responseType = "arraybuffer";
|
|
634
634
|
b.send(null);
|
|
635
635
|
return new Uint8Array(b.response);
|
|
636
|
-
}),
|
|
636
|
+
}), ra = (a, b, c) => {
|
|
637
637
|
var d = new XMLHttpRequest();
|
|
638
638
|
d.open("GET", a, !0);
|
|
639
639
|
d.responseType = "arraybuffer";
|
|
@@ -644,77 +644,94 @@ if (na || oa) {
|
|
|
644
644
|
d.send(null);
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
|
-
var
|
|
648
|
-
Object.assign(
|
|
647
|
+
var ta = m.print || console.log.bind(console), ua = m.printErr || console.error.bind(console);
|
|
648
|
+
Object.assign(m, ma);
|
|
649
649
|
ma = null;
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
650
|
+
m.thisProgram && (na = m.thisProgram);
|
|
651
|
+
var ya;
|
|
652
|
+
m.wasmBinary && (ya = m.wasmBinary);
|
|
653
|
+
var noExitRuntime = m.noExitRuntime || !0;
|
|
654
|
+
"object" != typeof WebAssembly && za("no native wasm support detected");
|
|
655
|
+
var Aa, x, Ba = !1, A, C, Da, Ea, F, G, Fa, Ga;
|
|
656
|
+
function Ha() {
|
|
657
|
+
var a = Aa.buffer;
|
|
658
|
+
m.HEAP8 = A = new Int8Array(a);
|
|
659
|
+
m.HEAP16 = Da = new Int16Array(a);
|
|
660
|
+
m.HEAP32 = F = new Int32Array(a);
|
|
661
|
+
m.HEAPU8 = C = new Uint8Array(a);
|
|
662
|
+
m.HEAPU16 = Ea = new Uint16Array(a);
|
|
663
|
+
m.HEAPU32 = G = new Uint32Array(a);
|
|
664
|
+
m.HEAPF32 = Fa = new Float32Array(a);
|
|
665
|
+
m.HEAPF64 = Ga = new Float64Array(a);
|
|
666
|
+
}
|
|
667
|
+
var Ka, La = [], Ma = [], Na = [];
|
|
668
|
+
function Oa() {
|
|
669
|
+
var a = m.preRun.shift();
|
|
670
|
+
La.unshift(a);
|
|
663
671
|
}
|
|
664
|
-
var
|
|
665
|
-
function
|
|
672
|
+
var Pa = 0, Qa = null, Ra = null;
|
|
673
|
+
function za(a) {
|
|
674
|
+
if (m.onAbort) {
|
|
675
|
+
m.onAbort(a);
|
|
676
|
+
}
|
|
666
677
|
a = "Aborted(" + a + ")";
|
|
667
|
-
|
|
668
|
-
|
|
678
|
+
ua(a);
|
|
679
|
+
Ba = !0;
|
|
669
680
|
a = new WebAssembly.RuntimeError(a + ". Build with -sASSERTIONS for more info.");
|
|
670
681
|
ba(a);
|
|
671
682
|
throw a;
|
|
672
683
|
}
|
|
673
|
-
function
|
|
684
|
+
function Sa(a) {
|
|
674
685
|
return a.startsWith("data:application/octet-stream;base64,");
|
|
675
686
|
}
|
|
676
|
-
var
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
687
|
+
var Ta;
|
|
688
|
+
Ta = "canvas_advanced.wasm";
|
|
689
|
+
if (!Sa(Ta)) {
|
|
690
|
+
var Ua = Ta;
|
|
691
|
+
Ta = m.locateFile ? m.locateFile(Ua, qa) : qa + Ua;
|
|
692
|
+
}
|
|
693
|
+
function Va(a) {
|
|
694
|
+
if (a == Ta && ya) {
|
|
695
|
+
return new Uint8Array(ya);
|
|
696
|
+
}
|
|
697
|
+
if (sa) {
|
|
698
|
+
return sa(a);
|
|
682
699
|
}
|
|
683
700
|
throw "both async and sync fetching of the wasm failed";
|
|
684
701
|
}
|
|
685
|
-
function
|
|
686
|
-
if (
|
|
702
|
+
function Wa(a) {
|
|
703
|
+
if (!ya && (oa || pa)) {
|
|
687
704
|
if ("function" == typeof fetch && !a.startsWith("file://")) {
|
|
688
705
|
return fetch(a, {credentials:"same-origin"}).then(b => {
|
|
689
706
|
if (!b.ok) {
|
|
690
707
|
throw "failed to load wasm binary file at '" + a + "'";
|
|
691
708
|
}
|
|
692
709
|
return b.arrayBuffer();
|
|
693
|
-
}).catch(() =>
|
|
710
|
+
}).catch(() => Va(a));
|
|
694
711
|
}
|
|
695
|
-
if (
|
|
712
|
+
if (ra) {
|
|
696
713
|
return new Promise((b, c) => {
|
|
697
|
-
|
|
714
|
+
ra(a, d => b(new Uint8Array(d)), c);
|
|
698
715
|
});
|
|
699
716
|
}
|
|
700
717
|
}
|
|
701
|
-
return Promise.resolve().then(() =>
|
|
718
|
+
return Promise.resolve().then(() => Va(a));
|
|
702
719
|
}
|
|
703
|
-
function
|
|
704
|
-
return
|
|
705
|
-
|
|
706
|
-
|
|
720
|
+
function Xa(a, b, c) {
|
|
721
|
+
return Wa(a).then(d => WebAssembly.instantiate(d, b)).then(d => d).then(c, d => {
|
|
722
|
+
ua("failed to asynchronously prepare wasm: " + d);
|
|
723
|
+
za(d);
|
|
707
724
|
});
|
|
708
725
|
}
|
|
709
|
-
function
|
|
710
|
-
var c =
|
|
711
|
-
return "function" != typeof WebAssembly.instantiateStreaming ||
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
return
|
|
726
|
+
function Ya(a, b) {
|
|
727
|
+
var c = Ta;
|
|
728
|
+
return ya || "function" != typeof WebAssembly.instantiateStreaming || Sa(c) || c.startsWith("file://") || "function" != typeof fetch ? Xa(c, a, b) : fetch(c, {credentials:"same-origin"}).then(d => WebAssembly.instantiateStreaming(d, a).then(b, function(e) {
|
|
729
|
+
ua("wasm streaming compile failed: " + e);
|
|
730
|
+
ua("falling back to ArrayBuffer instantiation");
|
|
731
|
+
return Xa(c, a, b);
|
|
715
732
|
}));
|
|
716
733
|
}
|
|
717
|
-
var N, P,
|
|
734
|
+
var N, P, bb = {234964:(a, b, c, d, e) => {
|
|
718
735
|
if ("undefined" === typeof window || void 0 === (window.AudioContext || window.webkitAudioContext)) {
|
|
719
736
|
return 0;
|
|
720
737
|
}
|
|
@@ -730,9 +747,9 @@ var N, P, Ya = {234964:(a, b, c, d, e) => {
|
|
|
730
747
|
let f = window.h;
|
|
731
748
|
f.D = [];
|
|
732
749
|
f.Gc = function(g) {
|
|
733
|
-
for (var
|
|
734
|
-
if (null == f.D[
|
|
735
|
-
return f.D[
|
|
750
|
+
for (var n = 0; n < f.D.length; ++n) {
|
|
751
|
+
if (null == f.D[n]) {
|
|
752
|
+
return f.D[n] = g, n;
|
|
736
753
|
}
|
|
737
754
|
}
|
|
738
755
|
f.D.push(g);
|
|
@@ -748,9 +765,9 @@ var N, P, Ya = {234964:(a, b, c, d, e) => {
|
|
|
748
765
|
}
|
|
749
766
|
};
|
|
750
767
|
f.Sc = function(g) {
|
|
751
|
-
for (var
|
|
752
|
-
if (f.D[
|
|
753
|
-
return f.Db(
|
|
768
|
+
for (var n = 0; n < f.D.length; ++n) {
|
|
769
|
+
if (f.D[n] == g) {
|
|
770
|
+
return f.Db(n);
|
|
754
771
|
}
|
|
755
772
|
}
|
|
756
773
|
};
|
|
@@ -760,15 +777,15 @@ var N, P, Ya = {234964:(a, b, c, d, e) => {
|
|
|
760
777
|
f.Cb = ["touchend", "click"];
|
|
761
778
|
f.unlock = function() {
|
|
762
779
|
for (var g = 0; g < f.D.length; ++g) {
|
|
763
|
-
var
|
|
764
|
-
null !=
|
|
765
|
-
|
|
766
|
-
},
|
|
767
|
-
console.error("Failed to resume audiocontext",
|
|
780
|
+
var n = f.D[g];
|
|
781
|
+
null != n && null != n.I && n.state === f.ga.yb && n.I.resume().then(() => {
|
|
782
|
+
Za(n.qb);
|
|
783
|
+
}, p => {
|
|
784
|
+
console.error("Failed to resume audiocontext", p);
|
|
768
785
|
});
|
|
769
786
|
}
|
|
770
|
-
f.Cb.map(function(
|
|
771
|
-
document.removeEventListener(
|
|
787
|
+
f.Cb.map(function(p) {
|
|
788
|
+
document.removeEventListener(p, f.unlock, !0);
|
|
772
789
|
});
|
|
773
790
|
};
|
|
774
791
|
f.Cb.map(function(g) {
|
|
@@ -791,44 +808,44 @@ var N, P, Ya = {234964:(a, b, c, d, e) => {
|
|
|
791
808
|
if ("undefined" === typeof window.h) {
|
|
792
809
|
return -1;
|
|
793
810
|
}
|
|
794
|
-
var g = {},
|
|
795
|
-
a == window.h.H.za && 0 != c && (
|
|
796
|
-
g.I = new (window.AudioContext || window.webkitAudioContext)(
|
|
811
|
+
var g = {}, n = {};
|
|
812
|
+
a == window.h.H.za && 0 != c && (n.sampleRate = c);
|
|
813
|
+
g.I = new (window.AudioContext || window.webkitAudioContext)(n);
|
|
797
814
|
g.I.suspend();
|
|
798
815
|
g.state = window.h.ga.stopped;
|
|
799
816
|
c = 0;
|
|
800
817
|
a != window.h.H.za && (c = b);
|
|
801
818
|
g.$ = g.I.createScriptProcessor(d, c, b);
|
|
802
|
-
g.$.onaudioprocess = function(
|
|
819
|
+
g.$.onaudioprocess = function(p) {
|
|
803
820
|
if (null == g.ta || 0 == g.ta.length) {
|
|
804
|
-
g.ta = new Float32Array(
|
|
821
|
+
g.ta = new Float32Array(Fa.buffer, e, d * b);
|
|
805
822
|
}
|
|
806
823
|
if (a == window.h.H.capture || a == window.h.H.La) {
|
|
807
824
|
for (var l = 0; l < b; l += 1) {
|
|
808
|
-
for (var u =
|
|
825
|
+
for (var u = p.inputBuffer.getChannelData(l), v = g.ta, y = 0; y < d; y += 1) {
|
|
809
826
|
v[y * b + l] = u[y];
|
|
810
827
|
}
|
|
811
828
|
}
|
|
812
|
-
|
|
829
|
+
$a(f, d, e);
|
|
813
830
|
}
|
|
814
831
|
if (a == window.h.H.za || a == window.h.H.La) {
|
|
815
|
-
for (
|
|
816
|
-
for (u =
|
|
832
|
+
for (ab(f, d, e), l = 0; l < p.outputBuffer.numberOfChannels; ++l) {
|
|
833
|
+
for (u = p.outputBuffer.getChannelData(l), v = g.ta, y = 0; y < d; y += 1) {
|
|
817
834
|
u[y] = v[y * b + l];
|
|
818
835
|
}
|
|
819
836
|
}
|
|
820
837
|
} else {
|
|
821
|
-
for (l = 0; l <
|
|
822
|
-
|
|
838
|
+
for (l = 0; l < p.outputBuffer.numberOfChannels; ++l) {
|
|
839
|
+
p.outputBuffer.getChannelData(l).fill(0.0);
|
|
823
840
|
}
|
|
824
841
|
}
|
|
825
842
|
};
|
|
826
|
-
a != window.h.H.capture && a != window.h.H.La || navigator.mediaDevices.getUserMedia({audio:!0, video:!1}).then(function(
|
|
827
|
-
g.Da = g.I.createMediaStreamSource(
|
|
843
|
+
a != window.h.H.capture && a != window.h.H.La || navigator.mediaDevices.getUserMedia({audio:!0, video:!1}).then(function(p) {
|
|
844
|
+
g.Da = g.I.createMediaStreamSource(p);
|
|
828
845
|
g.Da.connect(g.$);
|
|
829
846
|
g.$.connect(g.I.destination);
|
|
830
|
-
}).catch(function(
|
|
831
|
-
console.log("Failed to get user media: " +
|
|
847
|
+
}).catch(function(p) {
|
|
848
|
+
console.log("Failed to get user media: " + p);
|
|
832
849
|
});
|
|
833
850
|
a == window.h.H.za && g.$.connect(g.I.destination);
|
|
834
851
|
g.qb = f;
|
|
@@ -851,7 +868,11 @@ var N, P, Ya = {234964:(a, b, c, d, e) => {
|
|
|
851
868
|
a = window.h.sa(a);
|
|
852
869
|
a.I.suspend();
|
|
853
870
|
a.state = window.h.ga.stopped;
|
|
854
|
-
}},
|
|
871
|
+
}}, cb = a => {
|
|
872
|
+
for (; 0 < a.length;) {
|
|
873
|
+
a.shift()(m);
|
|
874
|
+
}
|
|
875
|
+
}, db = (a, b) => {
|
|
855
876
|
for (var c = 0, d = a.length - 1; 0 <= d; d--) {
|
|
856
877
|
var e = a[d];
|
|
857
878
|
"." === e ? a.splice(d, 1) : ".." === e ? (a.splice(d, 1), c++) : c && (a.splice(d, 1), c--);
|
|
@@ -862,12 +883,12 @@ var N, P, Ya = {234964:(a, b, c, d, e) => {
|
|
|
862
883
|
}
|
|
863
884
|
}
|
|
864
885
|
return a;
|
|
865
|
-
},
|
|
886
|
+
}, eb = a => {
|
|
866
887
|
var b = "/" === a.charAt(0), c = "/" === a.substr(-1);
|
|
867
|
-
(a =
|
|
888
|
+
(a = db(a.split("/").filter(d => !!d), !b).join("/")) || b || (a = ".");
|
|
868
889
|
a && c && (a += "/");
|
|
869
890
|
return (b ? "/" : "") + a;
|
|
870
|
-
},
|
|
891
|
+
}, fb = a => {
|
|
871
892
|
var b = /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);
|
|
872
893
|
a = b[0];
|
|
873
894
|
b = b[1];
|
|
@@ -876,21 +897,21 @@ var N, P, Ya = {234964:(a, b, c, d, e) => {
|
|
|
876
897
|
}
|
|
877
898
|
b && (b = b.substr(0, b.length - 1));
|
|
878
899
|
return a + b;
|
|
879
|
-
},
|
|
900
|
+
}, gb = a => {
|
|
880
901
|
if ("/" === a) {
|
|
881
902
|
return "/";
|
|
882
903
|
}
|
|
883
|
-
a =
|
|
904
|
+
a = eb(a);
|
|
884
905
|
a = a.replace(/\/$/, "");
|
|
885
906
|
var b = a.lastIndexOf("/");
|
|
886
907
|
return -1 === b ? a : a.substr(b + 1);
|
|
887
|
-
},
|
|
908
|
+
}, hb = () => {
|
|
888
909
|
if ("object" == typeof crypto && "function" == typeof crypto.getRandomValues) {
|
|
889
910
|
return a => crypto.getRandomValues(a);
|
|
890
911
|
}
|
|
891
|
-
|
|
892
|
-
},
|
|
893
|
-
function
|
|
912
|
+
za("initRandomDevice");
|
|
913
|
+
}, ib = a => (ib = hb())(a);
|
|
914
|
+
function jb() {
|
|
894
915
|
for (var a = "", b = !1, c = arguments.length - 1; -1 <= c && !b; c--) {
|
|
895
916
|
b = 0 <= c ? arguments[c] : "/";
|
|
896
917
|
if ("string" != typeof b) {
|
|
@@ -902,16 +923,16 @@ function eb() {
|
|
|
902
923
|
a = b + "/" + a;
|
|
903
924
|
b = "/" === b.charAt(0);
|
|
904
925
|
}
|
|
905
|
-
a =
|
|
926
|
+
a = db(a.split("/").filter(d => !!d), !b).join("/");
|
|
906
927
|
return (b ? "/" : "") + a || ".";
|
|
907
928
|
}
|
|
908
|
-
var
|
|
929
|
+
var kb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, lb = (a, b, c) => {
|
|
909
930
|
var d = b + c;
|
|
910
931
|
for (c = b; a[c] && !(c >= d);) {
|
|
911
932
|
++c;
|
|
912
933
|
}
|
|
913
|
-
if (16 < c - b && a.buffer &&
|
|
914
|
-
return
|
|
934
|
+
if (16 < c - b && a.buffer && kb) {
|
|
935
|
+
return kb.decode(a.subarray(b, c));
|
|
915
936
|
}
|
|
916
937
|
for (d = ""; b < c;) {
|
|
917
938
|
var e = a[b++];
|
|
@@ -929,13 +950,13 @@ var fb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, g
|
|
|
929
950
|
}
|
|
930
951
|
}
|
|
931
952
|
return d;
|
|
932
|
-
},
|
|
953
|
+
}, mb = [], nb = a => {
|
|
933
954
|
for (var b = 0, c = 0; c < a.length; ++c) {
|
|
934
955
|
var d = a.charCodeAt(c);
|
|
935
956
|
127 >= d ? b++ : 2047 >= d ? b += 2 : 55296 <= d && 57343 >= d ? (b += 4, ++c) : b += 3;
|
|
936
957
|
}
|
|
937
958
|
return b;
|
|
938
|
-
},
|
|
959
|
+
}, ob = (a, b, c, d) => {
|
|
939
960
|
if (!(0 < d)) {
|
|
940
961
|
return 0;
|
|
941
962
|
}
|
|
@@ -944,8 +965,8 @@ var fb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, g
|
|
|
944
965
|
for (var f = 0; f < a.length; ++f) {
|
|
945
966
|
var g = a.charCodeAt(f);
|
|
946
967
|
if (55296 <= g && 57343 >= g) {
|
|
947
|
-
var
|
|
948
|
-
g = 65536 + ((g & 1023) << 10) |
|
|
968
|
+
var n = a.charCodeAt(++f);
|
|
969
|
+
g = 65536 + ((g & 1023) << 10) | n & 1023;
|
|
949
970
|
}
|
|
950
971
|
if (127 >= g) {
|
|
951
972
|
if (c >= d) {
|
|
@@ -979,19 +1000,19 @@ var fb = "undefined" != typeof TextDecoder ? new TextDecoder("utf8") : void 0, g
|
|
|
979
1000
|
b[c] = 0;
|
|
980
1001
|
return c - e;
|
|
981
1002
|
};
|
|
982
|
-
function
|
|
983
|
-
var c = Array(
|
|
984
|
-
a =
|
|
1003
|
+
function pb(a, b) {
|
|
1004
|
+
var c = Array(nb(a) + 1);
|
|
1005
|
+
a = ob(a, c, 0, c.length);
|
|
985
1006
|
b && (c.length = a);
|
|
986
1007
|
return c;
|
|
987
1008
|
}
|
|
988
|
-
var
|
|
989
|
-
function
|
|
990
|
-
|
|
991
|
-
|
|
1009
|
+
var qb = [];
|
|
1010
|
+
function rb(a, b) {
|
|
1011
|
+
qb[a] = {input:[], F:[], W:b};
|
|
1012
|
+
sb(a, tb);
|
|
992
1013
|
}
|
|
993
|
-
var
|
|
994
|
-
var b =
|
|
1014
|
+
var tb = {open:function(a) {
|
|
1015
|
+
var b = qb[a.node.ma];
|
|
995
1016
|
if (!b) {
|
|
996
1017
|
throw new Q(43);
|
|
997
1018
|
}
|
|
@@ -1008,7 +1029,7 @@ var ob = {open:function(a) {
|
|
|
1008
1029
|
for (var e = 0, f = 0; f < d; f++) {
|
|
1009
1030
|
try {
|
|
1010
1031
|
var g = a.s.W.ib(a.s);
|
|
1011
|
-
} catch (
|
|
1032
|
+
} catch (n) {
|
|
1012
1033
|
throw new Q(29);
|
|
1013
1034
|
}
|
|
1014
1035
|
if (void 0 === g && 0 === e) {
|
|
@@ -1035,36 +1056,36 @@ var ob = {open:function(a) {
|
|
|
1035
1056
|
}
|
|
1036
1057
|
d && (a.node.timestamp = Date.now());
|
|
1037
1058
|
return e;
|
|
1038
|
-
},},
|
|
1059
|
+
},}, ub = {ib:function() {
|
|
1039
1060
|
a: {
|
|
1040
|
-
if (!
|
|
1061
|
+
if (!mb.length) {
|
|
1041
1062
|
var a = null;
|
|
1042
1063
|
"undefined" != typeof window && "function" == typeof window.prompt ? (a = window.prompt("Input: "), null !== a && (a += "\n")) : "function" == typeof readline && (a = readline(), null !== a && (a += "\n"));
|
|
1043
1064
|
if (!a) {
|
|
1044
1065
|
a = null;
|
|
1045
1066
|
break a;
|
|
1046
1067
|
}
|
|
1047
|
-
|
|
1068
|
+
mb = pb(a, !0);
|
|
1048
1069
|
}
|
|
1049
|
-
a =
|
|
1070
|
+
a = mb.shift();
|
|
1050
1071
|
}
|
|
1051
1072
|
return a;
|
|
1052
1073
|
}, Pa:function(a, b) {
|
|
1053
|
-
null === b || 10 === b ? (
|
|
1074
|
+
null === b || 10 === b ? (ta(lb(a.F, 0)), a.F = []) : 0 != b && a.F.push(b);
|
|
1054
1075
|
}, ra:function(a) {
|
|
1055
|
-
a.F && 0 < a.F.length && (
|
|
1076
|
+
a.F && 0 < a.F.length && (ta(lb(a.F, 0)), a.F = []);
|
|
1056
1077
|
}, ic:function() {
|
|
1057
1078
|
return {Lc:25856, Nc:5, Kc:191, Mc:35387, Jc:[3, 28, 127, 21, 4, 0, 1, 0, 17, 19, 26, 0, 18, 15, 23, 22, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,]};
|
|
1058
1079
|
}, jc:function() {
|
|
1059
1080
|
return 0;
|
|
1060
1081
|
}, kc:function() {
|
|
1061
1082
|
return [24, 80];
|
|
1062
|
-
},},
|
|
1063
|
-
null === b || 10 === b ? (
|
|
1083
|
+
},}, vb = {Pa:function(a, b) {
|
|
1084
|
+
null === b || 10 === b ? (ua(lb(a.F, 0)), a.F = []) : 0 != b && a.F.push(b);
|
|
1064
1085
|
}, ra:function(a) {
|
|
1065
|
-
a.F && 0 < a.F.length && (
|
|
1086
|
+
a.F && 0 < a.F.length && (ua(lb(a.F, 0)), a.F = []);
|
|
1066
1087
|
},};
|
|
1067
|
-
function
|
|
1088
|
+
function wb(a, b) {
|
|
1068
1089
|
var c = a.l ? a.l.length : 0;
|
|
1069
1090
|
c >= b || (b = Math.max(b, c * (1048576 > c ? 2.0 : 1.125) >>> 0), 0 != c && (b = Math.max(b, 256)), c = a.l, a.l = new Uint8Array(b), 0 < a.v && a.l.set(c.subarray(0, a.v), 0));
|
|
1070
1091
|
}
|
|
@@ -1074,8 +1095,8 @@ var T = {P:null, V() {
|
|
|
1074
1095
|
if (24576 === (c & 61440) || 4096 === (c & 61440)) {
|
|
1075
1096
|
throw new Q(63);
|
|
1076
1097
|
}
|
|
1077
|
-
T.P || (T.P = {dir:{node:{N:T.j.N, R:T.j.R, ka:T.j.ka, wa:T.j.wa, vb:T.j.vb, Bb:T.j.Bb, wb:T.j.wb, tb:T.j.tb, Ea:T.j.Ea}, stream:{ba:T.m.ba}}, file:{node:{N:T.j.N, R:T.j.R}, stream:{ba:T.m.ba, read:T.m.read, write:T.m.write, qa:T.m.qa, mb:T.m.mb, ob:T.m.ob}}, link:{node:{N:T.j.N, R:T.j.R, na:T.j.na}, stream:{}}, ab:{node:{N:T.j.N, R:T.j.R}, stream:
|
|
1078
|
-
c =
|
|
1098
|
+
T.P || (T.P = {dir:{node:{N:T.j.N, R:T.j.R, ka:T.j.ka, wa:T.j.wa, vb:T.j.vb, Bb:T.j.Bb, wb:T.j.wb, tb:T.j.tb, Ea:T.j.Ea}, stream:{ba:T.m.ba}}, file:{node:{N:T.j.N, R:T.j.R}, stream:{ba:T.m.ba, read:T.m.read, write:T.m.write, qa:T.m.qa, mb:T.m.mb, ob:T.m.ob}}, link:{node:{N:T.j.N, R:T.j.R, na:T.j.na}, stream:{}}, ab:{node:{N:T.j.N, R:T.j.R}, stream:xb}});
|
|
1099
|
+
c = yb(a, b, c, d);
|
|
1079
1100
|
16384 === (c.mode & 61440) ? (c.j = T.P.dir.node, c.m = T.P.dir.stream, c.l = {}) : 32768 === (c.mode & 61440) ? (c.j = T.P.file.node, c.m = T.P.file.stream, c.v = 0, c.l = null) : 40960 === (c.mode & 61440) ? (c.j = T.P.link.node, c.m = T.P.link.stream) : 8192 === (c.mode & 61440) && (c.j = T.P.ab.node, c.m = T.P.ab.stream);
|
|
1080
1101
|
c.timestamp = Date.now();
|
|
1081
1102
|
a && (a.l[b] = c, a.timestamp = c.timestamp);
|
|
@@ -1112,13 +1133,13 @@ var T = {P:null, V() {
|
|
|
1112
1133
|
}
|
|
1113
1134
|
}
|
|
1114
1135
|
}, ka() {
|
|
1115
|
-
throw
|
|
1136
|
+
throw zb[44];
|
|
1116
1137
|
}, wa(a, b, c, d) {
|
|
1117
1138
|
return T.createNode(a, b, c, d);
|
|
1118
1139
|
}, vb(a, b, c) {
|
|
1119
1140
|
if (16384 === (a.mode & 61440)) {
|
|
1120
1141
|
try {
|
|
1121
|
-
var d =
|
|
1142
|
+
var d = Ab(b, c);
|
|
1122
1143
|
} catch (f) {
|
|
1123
1144
|
}
|
|
1124
1145
|
if (d) {
|
|
@@ -1137,7 +1158,7 @@ var T = {P:null, V() {
|
|
|
1137
1158
|
delete a.l[b];
|
|
1138
1159
|
a.timestamp = Date.now();
|
|
1139
1160
|
}, wb(a, b) {
|
|
1140
|
-
var c =
|
|
1161
|
+
var c = Ab(a, b), d;
|
|
1141
1162
|
for (d in c.l) {
|
|
1142
1163
|
throw new Q(55);
|
|
1143
1164
|
}
|
|
@@ -1190,7 +1211,7 @@ var T = {P:null, V() {
|
|
|
1190
1211
|
return a.l.set(b.subarray(c, c + d), e), d;
|
|
1191
1212
|
}
|
|
1192
1213
|
}
|
|
1193
|
-
|
|
1214
|
+
wb(a, e + d);
|
|
1194
1215
|
if (a.l.subarray && b.subarray) {
|
|
1195
1216
|
a.l.set(b.subarray(c, c + d), e);
|
|
1196
1217
|
} else {
|
|
@@ -1207,7 +1228,7 @@ var T = {P:null, V() {
|
|
|
1207
1228
|
}
|
|
1208
1229
|
return b;
|
|
1209
1230
|
}, qa(a, b, c) {
|
|
1210
|
-
|
|
1231
|
+
wb(a.node, b + c);
|
|
1211
1232
|
a.node.v = Math.max(a.node.v, b + c);
|
|
1212
1233
|
}, mb(a, b, c, d, e) {
|
|
1213
1234
|
if (32768 !== (a.node.mode & 61440)) {
|
|
@@ -1219,7 +1240,7 @@ var T = {P:null, V() {
|
|
|
1219
1240
|
a.subarray ? a = a.subarray(c, c + b) : a = Array.prototype.slice.call(a, c, c + b);
|
|
1220
1241
|
}
|
|
1221
1242
|
c = !0;
|
|
1222
|
-
|
|
1243
|
+
za();
|
|
1223
1244
|
b = void 0;
|
|
1224
1245
|
if (!b) {
|
|
1225
1246
|
throw new Q(48);
|
|
@@ -1233,14 +1254,14 @@ var T = {P:null, V() {
|
|
|
1233
1254
|
T.m.write(a, b, 0, d, c, !1);
|
|
1234
1255
|
return 0;
|
|
1235
1256
|
},},};
|
|
1236
|
-
function
|
|
1257
|
+
function Bb(a, b) {
|
|
1237
1258
|
var c = 0;
|
|
1238
1259
|
a && (c |= 365);
|
|
1239
1260
|
b && (c |= 146);
|
|
1240
1261
|
return c;
|
|
1241
1262
|
}
|
|
1242
|
-
var
|
|
1243
|
-
a =
|
|
1263
|
+
var Cb = null, Db = {}, Eb = [], Fb = 1, Gb = null, Hb = !0, Q = null, zb = {}, Jb = (a, b = {}) => {
|
|
1264
|
+
a = jb(a);
|
|
1244
1265
|
if (!a) {
|
|
1245
1266
|
return {path:"", node:null};
|
|
1246
1267
|
}
|
|
@@ -1249,24 +1270,24 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1249
1270
|
throw new Q(32);
|
|
1250
1271
|
}
|
|
1251
1272
|
a = a.split("/").filter(g => !!g);
|
|
1252
|
-
for (var c =
|
|
1273
|
+
for (var c = Cb, d = "/", e = 0; e < a.length; e++) {
|
|
1253
1274
|
var f = e === a.length - 1;
|
|
1254
1275
|
if (f && b.parent) {
|
|
1255
1276
|
break;
|
|
1256
1277
|
}
|
|
1257
|
-
c =
|
|
1258
|
-
d =
|
|
1278
|
+
c = Ab(c, a[e]);
|
|
1279
|
+
d = eb(d + "/" + a[e]);
|
|
1259
1280
|
c.xa && (!f || f && b.gb) && (c = c.xa.root);
|
|
1260
1281
|
if (!f || b.Ma) {
|
|
1261
1282
|
for (f = 0; 40960 === (c.mode & 61440);) {
|
|
1262
|
-
if (c =
|
|
1283
|
+
if (c = Ib(d), d = jb(fb(d), c), c = Jb(d, {Ra:b.Ra + 1}).node, 40 < f++) {
|
|
1263
1284
|
throw new Q(32);
|
|
1264
1285
|
}
|
|
1265
1286
|
}
|
|
1266
1287
|
}
|
|
1267
1288
|
}
|
|
1268
1289
|
return {path:d, node:c};
|
|
1269
|
-
},
|
|
1290
|
+
}, Kb = a => {
|
|
1270
1291
|
for (var b;;) {
|
|
1271
1292
|
if (a === a.parent) {
|
|
1272
1293
|
return a = a.V.nb, b ? "/" !== a[a.length - 1] ? `${a}/${b}` : a + b : a;
|
|
@@ -1274,34 +1295,34 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1274
1295
|
b = b ? `${a.name}/${b}` : a.name;
|
|
1275
1296
|
a = a.parent;
|
|
1276
1297
|
}
|
|
1277
|
-
},
|
|
1298
|
+
}, Lb = (a, b) => {
|
|
1278
1299
|
for (var c = 0, d = 0; d < b.length; d++) {
|
|
1279
1300
|
c = (c << 5) - c + b.charCodeAt(d) | 0;
|
|
1280
1301
|
}
|
|
1281
|
-
return (a + c >>> 0) %
|
|
1282
|
-
},
|
|
1302
|
+
return (a + c >>> 0) % Gb.length;
|
|
1303
|
+
}, Ab = (a, b) => {
|
|
1283
1304
|
var c;
|
|
1284
|
-
if (c = (c =
|
|
1305
|
+
if (c = (c = Mb(a, "x")) ? c : a.j.ka ? 0 : 2) {
|
|
1285
1306
|
throw new Q(c, a);
|
|
1286
1307
|
}
|
|
1287
|
-
for (c =
|
|
1308
|
+
for (c = Gb[Lb(a.id, b)]; c; c = c.sc) {
|
|
1288
1309
|
var d = c.name;
|
|
1289
1310
|
if (c.parent.id === a.id && d === b) {
|
|
1290
1311
|
return c;
|
|
1291
1312
|
}
|
|
1292
1313
|
}
|
|
1293
1314
|
return a.j.ka(a, b);
|
|
1294
|
-
},
|
|
1295
|
-
a = new
|
|
1296
|
-
b =
|
|
1297
|
-
a.sc =
|
|
1298
|
-
return
|
|
1299
|
-
},
|
|
1315
|
+
}, yb = (a, b, c, d) => {
|
|
1316
|
+
a = new Nb(a, b, c, d);
|
|
1317
|
+
b = Lb(a.parent.id, a.name);
|
|
1318
|
+
a.sc = Gb[b];
|
|
1319
|
+
return Gb[b] = a;
|
|
1320
|
+
}, Ob = a => {
|
|
1300
1321
|
var b = ["r", "w", "rw"][a & 3];
|
|
1301
1322
|
a & 512 && (b += "w");
|
|
1302
1323
|
return b;
|
|
1303
|
-
},
|
|
1304
|
-
if (
|
|
1324
|
+
}, Mb = (a, b) => {
|
|
1325
|
+
if (Hb) {
|
|
1305
1326
|
return 0;
|
|
1306
1327
|
}
|
|
1307
1328
|
if (!b.includes("r") || a.mode & 292) {
|
|
@@ -1312,29 +1333,29 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1312
1333
|
return 2;
|
|
1313
1334
|
}
|
|
1314
1335
|
return 0;
|
|
1315
|
-
},
|
|
1336
|
+
}, Pb = (a, b) => {
|
|
1316
1337
|
try {
|
|
1317
|
-
return
|
|
1338
|
+
return Ab(a, b), 20;
|
|
1318
1339
|
} catch (c) {
|
|
1319
1340
|
}
|
|
1320
|
-
return
|
|
1321
|
-
},
|
|
1341
|
+
return Mb(a, "wx");
|
|
1342
|
+
}, Qb = () => {
|
|
1322
1343
|
for (var a = 0; 4096 >= a; a++) {
|
|
1323
|
-
if (!
|
|
1344
|
+
if (!Eb[a]) {
|
|
1324
1345
|
return a;
|
|
1325
1346
|
}
|
|
1326
1347
|
}
|
|
1327
1348
|
throw new Q(33);
|
|
1328
|
-
},
|
|
1329
|
-
a =
|
|
1349
|
+
}, Rb = a => {
|
|
1350
|
+
a = Eb[a];
|
|
1330
1351
|
if (!a) {
|
|
1331
1352
|
throw new Q(8);
|
|
1332
1353
|
}
|
|
1333
1354
|
return a;
|
|
1334
|
-
},
|
|
1335
|
-
|
|
1355
|
+
}, Tb = (a, b = -1) => {
|
|
1356
|
+
Sb || (Sb = function() {
|
|
1336
1357
|
this.h = {};
|
|
1337
|
-
},
|
|
1358
|
+
}, Sb.prototype = {}, Object.defineProperties(Sb.prototype, {object:{get() {
|
|
1338
1359
|
return this.node;
|
|
1339
1360
|
}, set(c) {
|
|
1340
1361
|
this.node = c;
|
|
@@ -1347,24 +1368,24 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1347
1368
|
}, set(c) {
|
|
1348
1369
|
this.h.position = c;
|
|
1349
1370
|
},},}));
|
|
1350
|
-
a = Object.assign(new
|
|
1351
|
-
-1 == b && (b =
|
|
1371
|
+
a = Object.assign(new Sb(), a);
|
|
1372
|
+
-1 == b && (b = Qb());
|
|
1352
1373
|
a.Z = b;
|
|
1353
|
-
return
|
|
1354
|
-
},
|
|
1355
|
-
a.m =
|
|
1374
|
+
return Eb[b] = a;
|
|
1375
|
+
}, xb = {open:a => {
|
|
1376
|
+
a.m = Db[a.node.ma].m;
|
|
1356
1377
|
a.m.open && a.m.open(a);
|
|
1357
1378
|
}, ba:() => {
|
|
1358
1379
|
throw new Q(70);
|
|
1359
|
-
},},
|
|
1360
|
-
|
|
1361
|
-
},
|
|
1380
|
+
},}, sb = (a, b) => {
|
|
1381
|
+
Db[a] = {m:b};
|
|
1382
|
+
}, Ub = (a, b) => {
|
|
1362
1383
|
var c = "/" === b, d = !b;
|
|
1363
|
-
if (c &&
|
|
1384
|
+
if (c && Cb) {
|
|
1364
1385
|
throw new Q(10);
|
|
1365
1386
|
}
|
|
1366
1387
|
if (!c && !d) {
|
|
1367
|
-
var e =
|
|
1388
|
+
var e = Jb(b, {gb:!1});
|
|
1368
1389
|
b = e.path;
|
|
1369
1390
|
e = e.node;
|
|
1370
1391
|
if (e.xa) {
|
|
@@ -1378,14 +1399,14 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1378
1399
|
a = a.V(b);
|
|
1379
1400
|
a.V = b;
|
|
1380
1401
|
b.root = a;
|
|
1381
|
-
c ?
|
|
1382
|
-
},
|
|
1383
|
-
var d =
|
|
1384
|
-
a =
|
|
1402
|
+
c ? Cb = a : e && (e.xa = b, e.V && e.V.qc.push(b));
|
|
1403
|
+
}, Vb = (a, b, c) => {
|
|
1404
|
+
var d = Jb(a, {parent:!0}).node;
|
|
1405
|
+
a = gb(a);
|
|
1385
1406
|
if (!a || "." === a || ".." === a) {
|
|
1386
1407
|
throw new Q(28);
|
|
1387
1408
|
}
|
|
1388
|
-
var e =
|
|
1409
|
+
var e = Pb(d, a);
|
|
1389
1410
|
if (e) {
|
|
1390
1411
|
throw new Q(e);
|
|
1391
1412
|
}
|
|
@@ -1393,19 +1414,19 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1393
1414
|
throw new Q(63);
|
|
1394
1415
|
}
|
|
1395
1416
|
return d.j.wa(d, a, b, c);
|
|
1396
|
-
},
|
|
1417
|
+
}, Wb = (a, b, c) => {
|
|
1397
1418
|
"undefined" == typeof c && (c = b, b = 438);
|
|
1398
|
-
|
|
1399
|
-
},
|
|
1400
|
-
if (!
|
|
1419
|
+
Vb(a, b | 8192, c);
|
|
1420
|
+
}, Xb = (a, b) => {
|
|
1421
|
+
if (!jb(a)) {
|
|
1401
1422
|
throw new Q(44);
|
|
1402
1423
|
}
|
|
1403
|
-
var c =
|
|
1424
|
+
var c = Jb(b, {parent:!0}).node;
|
|
1404
1425
|
if (!c) {
|
|
1405
1426
|
throw new Q(44);
|
|
1406
1427
|
}
|
|
1407
|
-
b =
|
|
1408
|
-
var d =
|
|
1428
|
+
b = gb(b);
|
|
1429
|
+
var d = Pb(c, b);
|
|
1409
1430
|
if (d) {
|
|
1410
1431
|
throw new Q(d);
|
|
1411
1432
|
}
|
|
@@ -1413,16 +1434,16 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1413
1434
|
throw new Q(63);
|
|
1414
1435
|
}
|
|
1415
1436
|
c.j.Ea(c, b, a);
|
|
1416
|
-
},
|
|
1417
|
-
a =
|
|
1437
|
+
}, Ib = a => {
|
|
1438
|
+
a = Jb(a).node;
|
|
1418
1439
|
if (!a) {
|
|
1419
1440
|
throw new Q(44);
|
|
1420
1441
|
}
|
|
1421
1442
|
if (!a.j.na) {
|
|
1422
1443
|
throw new Q(28);
|
|
1423
1444
|
}
|
|
1424
|
-
return
|
|
1425
|
-
},
|
|
1445
|
+
return jb(Kb(a.parent), a.j.na(a));
|
|
1446
|
+
}, dc = (a, b, c) => {
|
|
1426
1447
|
if ("" === a) {
|
|
1427
1448
|
throw new Q(44);
|
|
1428
1449
|
}
|
|
@@ -1437,9 +1458,9 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1437
1458
|
if ("object" == typeof a) {
|
|
1438
1459
|
var e = a;
|
|
1439
1460
|
} else {
|
|
1440
|
-
a =
|
|
1461
|
+
a = eb(a);
|
|
1441
1462
|
try {
|
|
1442
|
-
e =
|
|
1463
|
+
e = Jb(a, {Ma:!(b & 131072)}).node;
|
|
1443
1464
|
} catch (f) {
|
|
1444
1465
|
}
|
|
1445
1466
|
}
|
|
@@ -1450,7 +1471,7 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1450
1471
|
throw new Q(20);
|
|
1451
1472
|
}
|
|
1452
1473
|
} else {
|
|
1453
|
-
e =
|
|
1474
|
+
e = Vb(a, c, 0), d = !0;
|
|
1454
1475
|
}
|
|
1455
1476
|
}
|
|
1456
1477
|
if (!e) {
|
|
@@ -1460,12 +1481,12 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1460
1481
|
if (b & 65536 && 16384 !== (e.mode & 61440)) {
|
|
1461
1482
|
throw new Q(54);
|
|
1462
1483
|
}
|
|
1463
|
-
if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !==
|
|
1484
|
+
if (!d && (c = e ? 40960 === (e.mode & 61440) ? 32 : 16384 === (e.mode & 61440) && ("r" !== Ob(b) || b & 512) ? 31 : Mb(e, Ob(b)) : 44)) {
|
|
1464
1485
|
throw new Q(c);
|
|
1465
1486
|
}
|
|
1466
1487
|
if (b & 512 && !d) {
|
|
1467
1488
|
c = e;
|
|
1468
|
-
c = "string" == typeof c ?
|
|
1489
|
+
c = "string" == typeof c ? Jb(c, {Ma:!0}).node : c;
|
|
1469
1490
|
if (!c.j.R) {
|
|
1470
1491
|
throw new Q(63);
|
|
1471
1492
|
}
|
|
@@ -1475,17 +1496,17 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1475
1496
|
if (32768 !== (c.mode & 61440)) {
|
|
1476
1497
|
throw new Q(28);
|
|
1477
1498
|
}
|
|
1478
|
-
if (d =
|
|
1499
|
+
if (d = Mb(c, "w")) {
|
|
1479
1500
|
throw new Q(d);
|
|
1480
1501
|
}
|
|
1481
1502
|
c.j.R(c, {size:0, timestamp:Date.now()});
|
|
1482
1503
|
}
|
|
1483
1504
|
b &= -131713;
|
|
1484
|
-
e =
|
|
1505
|
+
e = Tb({node:e, path:Kb(e), flags:b, seekable:!0, position:0, m:e.m, Hc:[], error:!1});
|
|
1485
1506
|
e.m.open && e.m.open(e);
|
|
1486
|
-
!
|
|
1507
|
+
!m.logReadFiles || b & 1 || (Yb || (Yb = {}), a in Yb || (Yb[a] = 1));
|
|
1487
1508
|
return e;
|
|
1488
|
-
},
|
|
1509
|
+
}, ec = (a, b, c) => {
|
|
1489
1510
|
if (null === a.Z) {
|
|
1490
1511
|
throw new Q(8);
|
|
1491
1512
|
}
|
|
@@ -1497,7 +1518,7 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1497
1518
|
}
|
|
1498
1519
|
a.position = a.m.ba(a, b, c);
|
|
1499
1520
|
a.Hc = [];
|
|
1500
|
-
},
|
|
1521
|
+
}, fc = () => {
|
|
1501
1522
|
Q || (Q = function(a, b) {
|
|
1502
1523
|
this.name = "ErrnoError";
|
|
1503
1524
|
this.node = b;
|
|
@@ -1507,20 +1528,20 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1507
1528
|
this.xc(a);
|
|
1508
1529
|
this.message = "FS error";
|
|
1509
1530
|
}, Q.prototype = Error(), Q.prototype.constructor = Q, [44].forEach(a => {
|
|
1510
|
-
|
|
1511
|
-
|
|
1531
|
+
zb[a] = new Q(a);
|
|
1532
|
+
zb[a].stack = "<generic error, no stack>";
|
|
1512
1533
|
}));
|
|
1513
|
-
},
|
|
1514
|
-
a =
|
|
1515
|
-
var d =
|
|
1516
|
-
|
|
1517
|
-
var e =
|
|
1518
|
-
|
|
1534
|
+
}, gc, ic = (a, b, c) => {
|
|
1535
|
+
a = eb("/dev/" + a);
|
|
1536
|
+
var d = Bb(!!b, !!c);
|
|
1537
|
+
hc || (hc = 64);
|
|
1538
|
+
var e = hc++ << 8 | 0;
|
|
1539
|
+
sb(e, {open:f => {
|
|
1519
1540
|
f.seekable = !1;
|
|
1520
1541
|
}, close:() => {
|
|
1521
1542
|
c && c.buffer && c.buffer.length && c(10);
|
|
1522
|
-
}, read:(f, g,
|
|
1523
|
-
for (var l = 0, u = 0; u <
|
|
1543
|
+
}, read:(f, g, n, p) => {
|
|
1544
|
+
for (var l = 0, u = 0; u < p; u++) {
|
|
1524
1545
|
try {
|
|
1525
1546
|
var v = b();
|
|
1526
1547
|
} catch (y) {
|
|
@@ -1533,28 +1554,28 @@ var xb = null, yb = {}, zb = [], Ab = 1, Bb = null, Cb = !0, Q = null, ub = {},
|
|
|
1533
1554
|
break;
|
|
1534
1555
|
}
|
|
1535
1556
|
l++;
|
|
1536
|
-
g[
|
|
1557
|
+
g[n + u] = v;
|
|
1537
1558
|
}
|
|
1538
1559
|
l && (f.node.timestamp = Date.now());
|
|
1539
1560
|
return l;
|
|
1540
|
-
}, write:(f, g,
|
|
1541
|
-
for (var l = 0; l <
|
|
1561
|
+
}, write:(f, g, n, p) => {
|
|
1562
|
+
for (var l = 0; l < p; l++) {
|
|
1542
1563
|
try {
|
|
1543
|
-
c(g[
|
|
1564
|
+
c(g[n + l]);
|
|
1544
1565
|
} catch (u) {
|
|
1545
1566
|
throw new Q(29);
|
|
1546
1567
|
}
|
|
1547
1568
|
}
|
|
1548
|
-
|
|
1569
|
+
p && (f.node.timestamp = Date.now());
|
|
1549
1570
|
return l;
|
|
1550
1571
|
}});
|
|
1551
|
-
|
|
1552
|
-
},
|
|
1553
|
-
function
|
|
1554
|
-
|
|
1555
|
-
return F[
|
|
1572
|
+
Wb(a, d, e);
|
|
1573
|
+
}, hc, jc = {}, Sb, Yb, kc = void 0;
|
|
1574
|
+
function lc() {
|
|
1575
|
+
kc += 4;
|
|
1576
|
+
return F[kc - 4 >> 2];
|
|
1556
1577
|
}
|
|
1557
|
-
function
|
|
1578
|
+
function mc(a) {
|
|
1558
1579
|
if (void 0 === a) {
|
|
1559
1580
|
return "_unknown";
|
|
1560
1581
|
}
|
|
@@ -1562,24 +1583,24 @@ function hc(a) {
|
|
|
1562
1583
|
var b = a.charCodeAt(0);
|
|
1563
1584
|
return 48 <= b && 57 >= b ? `_${a}` : a;
|
|
1564
1585
|
}
|
|
1565
|
-
function
|
|
1566
|
-
a =
|
|
1586
|
+
function nc(a, b) {
|
|
1587
|
+
a = mc(a);
|
|
1567
1588
|
return {[a]:function() {
|
|
1568
1589
|
return b.apply(this, arguments);
|
|
1569
1590
|
}}[a];
|
|
1570
1591
|
}
|
|
1571
|
-
function
|
|
1592
|
+
function oc() {
|
|
1572
1593
|
this.M = [void 0];
|
|
1573
1594
|
this.hb = [];
|
|
1574
1595
|
}
|
|
1575
|
-
var
|
|
1596
|
+
var pc = new oc(), qc = void 0;
|
|
1576
1597
|
function U(a) {
|
|
1577
|
-
throw new
|
|
1598
|
+
throw new qc(a);
|
|
1578
1599
|
}
|
|
1579
|
-
var
|
|
1600
|
+
var rc = a => {
|
|
1580
1601
|
a || U("Cannot use deleted val. handle = " + a);
|
|
1581
|
-
return
|
|
1582
|
-
},
|
|
1602
|
+
return pc.get(a).value;
|
|
1603
|
+
}, sc = a => {
|
|
1583
1604
|
switch(a) {
|
|
1584
1605
|
case void 0:
|
|
1585
1606
|
return 1;
|
|
@@ -1590,11 +1611,11 @@ var mc = a => {
|
|
|
1590
1611
|
case !1:
|
|
1591
1612
|
return 4;
|
|
1592
1613
|
default:
|
|
1593
|
-
return
|
|
1614
|
+
return pc.qa({ub:1, value:a});
|
|
1594
1615
|
}
|
|
1595
1616
|
};
|
|
1596
|
-
function
|
|
1597
|
-
var b = Error, c =
|
|
1617
|
+
function tc(a) {
|
|
1618
|
+
var b = Error, c = nc(a, function(d) {
|
|
1598
1619
|
this.name = a;
|
|
1599
1620
|
this.message = d;
|
|
1600
1621
|
d = Error(d).stack;
|
|
@@ -1607,122 +1628,122 @@ function oc(a) {
|
|
|
1607
1628
|
};
|
|
1608
1629
|
return c;
|
|
1609
1630
|
}
|
|
1610
|
-
var
|
|
1631
|
+
var uc = void 0, vc = void 0;
|
|
1611
1632
|
function W(a) {
|
|
1612
1633
|
for (var b = ""; C[a];) {
|
|
1613
|
-
b +=
|
|
1634
|
+
b += vc[C[a++]];
|
|
1614
1635
|
}
|
|
1615
1636
|
return b;
|
|
1616
1637
|
}
|
|
1617
|
-
var
|
|
1618
|
-
function
|
|
1619
|
-
for (;
|
|
1620
|
-
var a =
|
|
1638
|
+
var wc = [];
|
|
1639
|
+
function xc() {
|
|
1640
|
+
for (; wc.length;) {
|
|
1641
|
+
var a = wc.pop();
|
|
1621
1642
|
a.g.fa = !1;
|
|
1622
1643
|
a["delete"]();
|
|
1623
1644
|
}
|
|
1624
1645
|
}
|
|
1625
|
-
var
|
|
1626
|
-
function
|
|
1646
|
+
var yc = void 0, zc = {};
|
|
1647
|
+
function Ac(a, b) {
|
|
1627
1648
|
for (void 0 === b && U("ptr should not be undefined"); a.A;) {
|
|
1628
1649
|
b = a.oa(b), a = a.A;
|
|
1629
1650
|
}
|
|
1630
1651
|
return b;
|
|
1631
1652
|
}
|
|
1632
|
-
var
|
|
1633
|
-
function
|
|
1634
|
-
a =
|
|
1653
|
+
var Bc = {};
|
|
1654
|
+
function Cc(a) {
|
|
1655
|
+
a = Dc(a);
|
|
1635
1656
|
var b = W(a);
|
|
1636
|
-
|
|
1657
|
+
Ec(a);
|
|
1637
1658
|
return b;
|
|
1638
1659
|
}
|
|
1639
|
-
function
|
|
1640
|
-
var c =
|
|
1641
|
-
void 0 === c && U(b + " has unknown type " +
|
|
1660
|
+
function Fc(a, b) {
|
|
1661
|
+
var c = Bc[a];
|
|
1662
|
+
void 0 === c && U(b + " has unknown type " + Cc(a));
|
|
1642
1663
|
return c;
|
|
1643
1664
|
}
|
|
1644
|
-
function
|
|
1665
|
+
function Gc() {
|
|
1645
1666
|
}
|
|
1646
|
-
var
|
|
1647
|
-
function
|
|
1667
|
+
var Hc = !1;
|
|
1668
|
+
function Ic(a) {
|
|
1648
1669
|
--a.count.value;
|
|
1649
1670
|
0 === a.count.value && (a.G ? a.L.X(a.G) : a.u.i.X(a.o));
|
|
1650
1671
|
}
|
|
1651
|
-
function
|
|
1672
|
+
function Jc(a, b, c) {
|
|
1652
1673
|
if (b === c) {
|
|
1653
1674
|
return a;
|
|
1654
1675
|
}
|
|
1655
1676
|
if (void 0 === c.A) {
|
|
1656
1677
|
return null;
|
|
1657
1678
|
}
|
|
1658
|
-
a =
|
|
1679
|
+
a = Jc(a, b, c.A);
|
|
1659
1680
|
return null === a ? null : c.Ub(a);
|
|
1660
1681
|
}
|
|
1661
|
-
var
|
|
1662
|
-
function
|
|
1663
|
-
b =
|
|
1664
|
-
return
|
|
1682
|
+
var Kc = {};
|
|
1683
|
+
function Lc(a, b) {
|
|
1684
|
+
b = Ac(a, b);
|
|
1685
|
+
return zc[b];
|
|
1665
1686
|
}
|
|
1666
|
-
var
|
|
1667
|
-
function
|
|
1668
|
-
throw new
|
|
1687
|
+
var Mc = void 0;
|
|
1688
|
+
function Nc(a) {
|
|
1689
|
+
throw new Mc(a);
|
|
1669
1690
|
}
|
|
1670
|
-
function
|
|
1671
|
-
b.u && b.o ||
|
|
1672
|
-
!!b.L !== !!b.G &&
|
|
1691
|
+
function Oc(a, b) {
|
|
1692
|
+
b.u && b.o || Nc("makeClassHandle requires ptr and ptrType");
|
|
1693
|
+
!!b.L !== !!b.G && Nc("Both smartPtrType and smartPtr must be specified");
|
|
1673
1694
|
b.count = {value:1};
|
|
1674
|
-
return
|
|
1695
|
+
return Pc(Object.create(a, {g:{value:b,},}));
|
|
1675
1696
|
}
|
|
1676
|
-
function
|
|
1697
|
+
function Pc(a) {
|
|
1677
1698
|
if ("undefined" === typeof FinalizationRegistry) {
|
|
1678
|
-
return
|
|
1699
|
+
return Pc = b => b, a;
|
|
1679
1700
|
}
|
|
1680
|
-
|
|
1681
|
-
|
|
1701
|
+
Hc = new FinalizationRegistry(b => {
|
|
1702
|
+
Ic(b.g);
|
|
1682
1703
|
});
|
|
1683
|
-
|
|
1704
|
+
Pc = b => {
|
|
1684
1705
|
var c = b.g;
|
|
1685
|
-
c.G &&
|
|
1706
|
+
c.G && Hc.register(b, {g:c}, b);
|
|
1686
1707
|
return b;
|
|
1687
1708
|
};
|
|
1688
|
-
|
|
1689
|
-
|
|
1709
|
+
Gc = b => {
|
|
1710
|
+
Hc.unregister(b);
|
|
1690
1711
|
};
|
|
1691
|
-
return
|
|
1712
|
+
return Pc(a);
|
|
1692
1713
|
}
|
|
1693
|
-
var
|
|
1694
|
-
function
|
|
1714
|
+
var Qc = {};
|
|
1715
|
+
function Rc(a) {
|
|
1695
1716
|
for (; a.length;) {
|
|
1696
1717
|
var b = a.pop();
|
|
1697
1718
|
a.pop()(b);
|
|
1698
1719
|
}
|
|
1699
1720
|
}
|
|
1700
|
-
function
|
|
1721
|
+
function Sc(a) {
|
|
1701
1722
|
return this.fromWireType(F[a >> 2]);
|
|
1702
1723
|
}
|
|
1703
|
-
var
|
|
1724
|
+
var Tc = {}, Uc = {};
|
|
1704
1725
|
function X(a, b, c) {
|
|
1705
|
-
function d(
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
for (var
|
|
1709
|
-
|
|
1726
|
+
function d(n) {
|
|
1727
|
+
n = c(n);
|
|
1728
|
+
n.length !== a.length && Nc("Mismatched type converter count");
|
|
1729
|
+
for (var p = 0; p < a.length; ++p) {
|
|
1730
|
+
Vc(a[p], n[p]);
|
|
1710
1731
|
}
|
|
1711
1732
|
}
|
|
1712
|
-
a.forEach(function(
|
|
1713
|
-
|
|
1733
|
+
a.forEach(function(n) {
|
|
1734
|
+
Uc[n] = b;
|
|
1714
1735
|
});
|
|
1715
1736
|
var e = Array(b.length), f = [], g = 0;
|
|
1716
|
-
b.forEach((
|
|
1717
|
-
|
|
1718
|
-
e[
|
|
1737
|
+
b.forEach((n, p) => {
|
|
1738
|
+
Bc.hasOwnProperty(n) ? e[p] = Bc[n] : (f.push(n), Tc.hasOwnProperty(n) || (Tc[n] = []), Tc[n].push(() => {
|
|
1739
|
+
e[p] = Bc[n];
|
|
1719
1740
|
++g;
|
|
1720
1741
|
g === f.length && d(e);
|
|
1721
1742
|
}));
|
|
1722
1743
|
});
|
|
1723
1744
|
0 === f.length && d(e);
|
|
1724
1745
|
}
|
|
1725
|
-
function
|
|
1746
|
+
function Wc(a) {
|
|
1726
1747
|
switch(a) {
|
|
1727
1748
|
case 1:
|
|
1728
1749
|
return 0;
|
|
@@ -1736,31 +1757,31 @@ function Rc(a) {
|
|
|
1736
1757
|
throw new TypeError(`Unknown type size: ${a}`);
|
|
1737
1758
|
}
|
|
1738
1759
|
}
|
|
1739
|
-
function
|
|
1760
|
+
function Xc(a, b, c = {}) {
|
|
1740
1761
|
var d = b.name;
|
|
1741
1762
|
a || U(`type "${d}" must have a positive integer typeid pointer`);
|
|
1742
|
-
if (
|
|
1763
|
+
if (Bc.hasOwnProperty(a)) {
|
|
1743
1764
|
if (c.fc) {
|
|
1744
1765
|
return;
|
|
1745
1766
|
}
|
|
1746
1767
|
U(`Cannot register type '${d}' twice`);
|
|
1747
1768
|
}
|
|
1748
|
-
|
|
1749
|
-
delete
|
|
1750
|
-
|
|
1769
|
+
Bc[a] = b;
|
|
1770
|
+
delete Uc[a];
|
|
1771
|
+
Tc.hasOwnProperty(a) && (b = Tc[a], delete Tc[a], b.forEach(e => e()));
|
|
1751
1772
|
}
|
|
1752
|
-
function
|
|
1773
|
+
function Vc(a, b, c = {}) {
|
|
1753
1774
|
if (!("argPackAdvance" in b)) {
|
|
1754
1775
|
throw new TypeError("registerType registeredInstance requires argPackAdvance");
|
|
1755
1776
|
}
|
|
1756
|
-
|
|
1777
|
+
Xc(a, b, c);
|
|
1757
1778
|
}
|
|
1758
|
-
function
|
|
1779
|
+
function Yc(a) {
|
|
1759
1780
|
U(a.g.u.i.name + " instance already deleted");
|
|
1760
1781
|
}
|
|
1761
|
-
function
|
|
1782
|
+
function Zc() {
|
|
1762
1783
|
}
|
|
1763
|
-
function
|
|
1784
|
+
function $c(a, b, c) {
|
|
1764
1785
|
if (void 0 === a[b].B) {
|
|
1765
1786
|
var d = a[b];
|
|
1766
1787
|
a[b] = function() {
|
|
@@ -1771,10 +1792,10 @@ function Vc(a, b, c) {
|
|
|
1771
1792
|
a[b].B[d.ea] = d;
|
|
1772
1793
|
}
|
|
1773
1794
|
}
|
|
1774
|
-
function
|
|
1775
|
-
|
|
1795
|
+
function ad(a, b, c) {
|
|
1796
|
+
m.hasOwnProperty(a) ? ((void 0 === c || void 0 !== m[a].B && void 0 !== m[a].B[c]) && U(`Cannot register public name '${a}' twice`), $c(m, a, a), m.hasOwnProperty(c) && U(`Cannot register multiple overloads of a function with the same number of arguments (${c})!`), m[a].B[c] = b) : (m[a] = b, void 0 !== c && (m[a].Pc = c));
|
|
1776
1797
|
}
|
|
1777
|
-
function
|
|
1798
|
+
function bd(a, b, c, d, e, f, g, n) {
|
|
1778
1799
|
this.name = a;
|
|
1779
1800
|
this.constructor = b;
|
|
1780
1801
|
this.O = c;
|
|
@@ -1782,24 +1803,24 @@ function Xc(a, b, c, d, e, f, g, m) {
|
|
|
1782
1803
|
this.A = e;
|
|
1783
1804
|
this.Zb = f;
|
|
1784
1805
|
this.oa = g;
|
|
1785
|
-
this.Ub =
|
|
1806
|
+
this.Ub = n;
|
|
1786
1807
|
this.rb = [];
|
|
1787
1808
|
}
|
|
1788
|
-
function
|
|
1809
|
+
function cd(a, b, c) {
|
|
1789
1810
|
for (; b !== c;) {
|
|
1790
1811
|
b.oa || U(`Expected null or instance of ${c.name}, got an instance of ${b.name}`), a = b.oa(a), b = b.A;
|
|
1791
1812
|
}
|
|
1792
1813
|
return a;
|
|
1793
1814
|
}
|
|
1794
|
-
function
|
|
1815
|
+
function dd(a, b) {
|
|
1795
1816
|
if (null === b) {
|
|
1796
1817
|
return this.Oa && U(`null is not a valid ${this.name}`), 0;
|
|
1797
1818
|
}
|
|
1798
|
-
b.g || U(`Cannot pass "${
|
|
1819
|
+
b.g || U(`Cannot pass "${ed(b)}" as a ${this.name}`);
|
|
1799
1820
|
b.g.o || U(`Cannot pass deleted object as a pointer of type ${this.name}`);
|
|
1800
|
-
return
|
|
1821
|
+
return cd(b.g.o, b.g.u.i, this.i);
|
|
1801
1822
|
}
|
|
1802
|
-
function
|
|
1823
|
+
function fd(a, b) {
|
|
1803
1824
|
if (null === b) {
|
|
1804
1825
|
this.Oa && U(`null is not a valid ${this.name}`);
|
|
1805
1826
|
if (this.va) {
|
|
@@ -1809,10 +1830,10 @@ function ad(a, b) {
|
|
|
1809
1830
|
}
|
|
1810
1831
|
return 0;
|
|
1811
1832
|
}
|
|
1812
|
-
b.g || U(`Cannot pass "${
|
|
1833
|
+
b.g || U(`Cannot pass "${ed(b)}" as a ${this.name}`);
|
|
1813
1834
|
b.g.o || U(`Cannot pass deleted object as a pointer of type ${this.name}`);
|
|
1814
1835
|
!this.ua && b.g.u.ua && U(`Cannot convert argument of type ${b.g.L ? b.g.L.name : b.g.u.name} to parameter type ${this.name}`);
|
|
1815
|
-
c =
|
|
1836
|
+
c = cd(b.g.o, b.g.u.i, this.i);
|
|
1816
1837
|
if (this.va) {
|
|
1817
1838
|
switch(void 0 === b.g.G && U("Passing raw pointer to smart pointer is illegal"), this.Bc) {
|
|
1818
1839
|
case 0:
|
|
@@ -1826,7 +1847,7 @@ function ad(a, b) {
|
|
|
1826
1847
|
c = b.g.G;
|
|
1827
1848
|
} else {
|
|
1828
1849
|
var d = b.clone();
|
|
1829
|
-
c = this.wc(c,
|
|
1850
|
+
c = this.wc(c, sc(function() {
|
|
1830
1851
|
d["delete"]();
|
|
1831
1852
|
}));
|
|
1832
1853
|
null !== a && a.push(this.X, c);
|
|
@@ -1838,72 +1859,72 @@ function ad(a, b) {
|
|
|
1838
1859
|
}
|
|
1839
1860
|
return c;
|
|
1840
1861
|
}
|
|
1841
|
-
function
|
|
1862
|
+
function gd(a, b) {
|
|
1842
1863
|
if (null === b) {
|
|
1843
1864
|
return this.Oa && U(`null is not a valid ${this.name}`), 0;
|
|
1844
1865
|
}
|
|
1845
|
-
b.g || U(`Cannot pass "${
|
|
1866
|
+
b.g || U(`Cannot pass "${ed(b)}" as a ${this.name}`);
|
|
1846
1867
|
b.g.o || U(`Cannot pass deleted object as a pointer of type ${this.name}`);
|
|
1847
1868
|
b.g.u.ua && U(`Cannot convert argument of type ${b.g.u.name} to parameter type ${this.name}`);
|
|
1848
|
-
return
|
|
1869
|
+
return cd(b.g.o, b.g.u.i, this.i);
|
|
1849
1870
|
}
|
|
1850
|
-
function
|
|
1871
|
+
function hd(a, b, c, d) {
|
|
1851
1872
|
this.name = a;
|
|
1852
1873
|
this.i = b;
|
|
1853
1874
|
this.Oa = c;
|
|
1854
1875
|
this.ua = d;
|
|
1855
1876
|
this.va = !1;
|
|
1856
1877
|
this.X = this.wc = this.Qa = this.sb = this.Bc = this.vc = void 0;
|
|
1857
|
-
void 0 !== b.A ? this.toWireType =
|
|
1878
|
+
void 0 !== b.A ? this.toWireType = fd : (this.toWireType = d ? dd : gd, this.K = null);
|
|
1858
1879
|
}
|
|
1859
|
-
function
|
|
1860
|
-
|
|
1861
|
-
void 0 !==
|
|
1880
|
+
function jd(a, b, c) {
|
|
1881
|
+
m.hasOwnProperty(a) || Nc("Replacing nonexistant public symbol");
|
|
1882
|
+
void 0 !== m[a].B && void 0 !== c ? m[a].B[c] = b : (m[a] = b, m[a].ea = c);
|
|
1862
1883
|
}
|
|
1863
|
-
var
|
|
1864
|
-
var b =
|
|
1865
|
-
b || (a >=
|
|
1884
|
+
var kd = [], ld = a => {
|
|
1885
|
+
var b = kd[a];
|
|
1886
|
+
b || (a >= kd.length && (kd.length = a + 1), kd[a] = b = Ka.get(a));
|
|
1866
1887
|
return b;
|
|
1867
|
-
},
|
|
1888
|
+
}, md = (a, b) => {
|
|
1868
1889
|
var c = [];
|
|
1869
1890
|
return function() {
|
|
1870
1891
|
c.length = 0;
|
|
1871
1892
|
Object.assign(c, arguments);
|
|
1872
1893
|
if (a.includes("j")) {
|
|
1873
|
-
var d =
|
|
1894
|
+
var d = m["dynCall_" + a];
|
|
1874
1895
|
d = c && c.length ? d.apply(null, [b].concat(c)) : d.call(null, b);
|
|
1875
1896
|
} else {
|
|
1876
|
-
d =
|
|
1897
|
+
d = ld(b).apply(null, c);
|
|
1877
1898
|
}
|
|
1878
1899
|
return d;
|
|
1879
1900
|
};
|
|
1880
1901
|
};
|
|
1881
1902
|
function Y(a, b) {
|
|
1882
1903
|
a = W(a);
|
|
1883
|
-
var c = a.includes("j") ?
|
|
1904
|
+
var c = a.includes("j") ? md(a, b) : ld(b);
|
|
1884
1905
|
"function" != typeof c && U(`unknown function pointer with signature ${a}: ${b}`);
|
|
1885
1906
|
return c;
|
|
1886
1907
|
}
|
|
1887
|
-
var
|
|
1888
|
-
function
|
|
1908
|
+
var nd = void 0;
|
|
1909
|
+
function od(a, b) {
|
|
1889
1910
|
function c(f) {
|
|
1890
|
-
e[f] ||
|
|
1911
|
+
e[f] || Bc[f] || (Uc[f] ? Uc[f].forEach(c) : (d.push(f), e[f] = !0));
|
|
1891
1912
|
}
|
|
1892
1913
|
var d = [], e = {};
|
|
1893
1914
|
b.forEach(c);
|
|
1894
|
-
throw new
|
|
1915
|
+
throw new nd(`${a}: ` + d.map(Cc).join([", "]));
|
|
1895
1916
|
}
|
|
1896
|
-
function
|
|
1917
|
+
function pd(a, b, c, d, e) {
|
|
1897
1918
|
var f = b.length;
|
|
1898
1919
|
2 > f && U("argTypes array size mismatch! Must at least get return value and 'this' types!");
|
|
1899
|
-
var g = null !== b[1] && null !== c,
|
|
1920
|
+
var g = null !== b[1] && null !== c, n = !1;
|
|
1900
1921
|
for (c = 1; c < b.length; ++c) {
|
|
1901
1922
|
if (null !== b[c] && void 0 === b[c].K) {
|
|
1902
|
-
|
|
1923
|
+
n = !0;
|
|
1903
1924
|
break;
|
|
1904
1925
|
}
|
|
1905
1926
|
}
|
|
1906
|
-
var
|
|
1927
|
+
var p = "void" !== b[0].name, l = f - 2, u = Array(l), v = [], y = [];
|
|
1907
1928
|
return function() {
|
|
1908
1929
|
arguments.length !== l && U(`function ${a} called with ${arguments.length} arguments, expected ${l} args!`);
|
|
1909
1930
|
y.length = 0;
|
|
@@ -1917,34 +1938,34 @@ function kd(a, b, c, d, e) {
|
|
|
1917
1938
|
u[t] = b[t + 2].toWireType(y, arguments[t]), v.push(u[t]);
|
|
1918
1939
|
}
|
|
1919
1940
|
t = d.apply(null, v);
|
|
1920
|
-
if (
|
|
1921
|
-
|
|
1941
|
+
if (n) {
|
|
1942
|
+
Rc(y);
|
|
1922
1943
|
} else {
|
|
1923
1944
|
for (var r = g ? 1 : 2; r < b.length; r++) {
|
|
1924
1945
|
var B = 1 === r ? k : u[r - 2];
|
|
1925
1946
|
null !== b[r].K && b[r].K(B);
|
|
1926
1947
|
}
|
|
1927
1948
|
}
|
|
1928
|
-
k =
|
|
1949
|
+
k = p ? b[0].fromWireType(t) : void 0;
|
|
1929
1950
|
return k;
|
|
1930
1951
|
};
|
|
1931
1952
|
}
|
|
1932
|
-
function
|
|
1953
|
+
function rd(a, b) {
|
|
1933
1954
|
for (var c = [], d = 0; d < a; d++) {
|
|
1934
1955
|
c.push(G[b + 4 * d >> 2]);
|
|
1935
1956
|
}
|
|
1936
1957
|
return c;
|
|
1937
1958
|
}
|
|
1938
|
-
function
|
|
1959
|
+
function sd(a, b, c) {
|
|
1939
1960
|
a instanceof Object || U(`${c} with invalid "this": ${a}`);
|
|
1940
1961
|
a instanceof b.i.constructor || U(`${c} incompatible with "this" of type ${a.constructor.name}`);
|
|
1941
1962
|
a.g.o || U(`cannot call emscripten binding method ${c} on deleted object`);
|
|
1942
|
-
return
|
|
1963
|
+
return cd(a.g.o, a.g.u.i, b.i);
|
|
1943
1964
|
}
|
|
1944
|
-
function
|
|
1945
|
-
a >=
|
|
1965
|
+
function td(a) {
|
|
1966
|
+
a >= pc.h && 0 === --pc.get(a).ub && pc.ec(a);
|
|
1946
1967
|
}
|
|
1947
|
-
function
|
|
1968
|
+
function ud(a, b, c) {
|
|
1948
1969
|
switch(b) {
|
|
1949
1970
|
case 0:
|
|
1950
1971
|
return function(d) {
|
|
@@ -1952,7 +1973,7 @@ function pd(a, b, c) {
|
|
|
1952
1973
|
};
|
|
1953
1974
|
case 1:
|
|
1954
1975
|
return function(d) {
|
|
1955
|
-
return this.fromWireType((c ?
|
|
1976
|
+
return this.fromWireType((c ? Da : Ea)[d >> 1]);
|
|
1956
1977
|
};
|
|
1957
1978
|
case 2:
|
|
1958
1979
|
return function(d) {
|
|
@@ -1962,28 +1983,28 @@ function pd(a, b, c) {
|
|
|
1962
1983
|
throw new TypeError("Unknown integer type: " + a);
|
|
1963
1984
|
}
|
|
1964
1985
|
}
|
|
1965
|
-
function
|
|
1986
|
+
function ed(a) {
|
|
1966
1987
|
if (null === a) {
|
|
1967
1988
|
return "null";
|
|
1968
1989
|
}
|
|
1969
1990
|
var b = typeof a;
|
|
1970
1991
|
return "object" === b || "array" === b || "function" === b ? a.toString() : "" + a;
|
|
1971
1992
|
}
|
|
1972
|
-
function
|
|
1993
|
+
function vd(a, b) {
|
|
1973
1994
|
switch(b) {
|
|
1974
1995
|
case 2:
|
|
1975
1996
|
return function(c) {
|
|
1976
|
-
return this.fromWireType(
|
|
1997
|
+
return this.fromWireType(Fa[c >> 2]);
|
|
1977
1998
|
};
|
|
1978
1999
|
case 3:
|
|
1979
2000
|
return function(c) {
|
|
1980
|
-
return this.fromWireType(
|
|
2001
|
+
return this.fromWireType(Ga[c >> 3]);
|
|
1981
2002
|
};
|
|
1982
2003
|
default:
|
|
1983
2004
|
throw new TypeError("Unknown float type: " + a);
|
|
1984
2005
|
}
|
|
1985
2006
|
}
|
|
1986
|
-
function
|
|
2007
|
+
function wd(a, b, c) {
|
|
1987
2008
|
switch(b) {
|
|
1988
2009
|
case 0:
|
|
1989
2010
|
return c ? function(d) {
|
|
@@ -1993,9 +2014,9 @@ function rd(a, b, c) {
|
|
|
1993
2014
|
};
|
|
1994
2015
|
case 1:
|
|
1995
2016
|
return c ? function(d) {
|
|
1996
|
-
return
|
|
2017
|
+
return Da[d >> 1];
|
|
1997
2018
|
} : function(d) {
|
|
1998
|
-
return
|
|
2019
|
+
return Ea[d >> 1];
|
|
1999
2020
|
};
|
|
2000
2021
|
case 2:
|
|
2001
2022
|
return c ? function(d) {
|
|
@@ -2007,25 +2028,25 @@ function rd(a, b, c) {
|
|
|
2007
2028
|
throw new TypeError("Unknown integer type: " + a);
|
|
2008
2029
|
}
|
|
2009
2030
|
}
|
|
2010
|
-
var
|
|
2031
|
+
var xd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void 0, yd = (a, b) => {
|
|
2011
2032
|
var c = a >> 1;
|
|
2012
|
-
for (var d = c + b / 2; !(c >= d) &&
|
|
2033
|
+
for (var d = c + b / 2; !(c >= d) && Ea[c];) {
|
|
2013
2034
|
++c;
|
|
2014
2035
|
}
|
|
2015
2036
|
c <<= 1;
|
|
2016
|
-
if (32 < c - a &&
|
|
2017
|
-
return
|
|
2037
|
+
if (32 < c - a && xd) {
|
|
2038
|
+
return xd.decode(C.subarray(a, c));
|
|
2018
2039
|
}
|
|
2019
2040
|
c = "";
|
|
2020
2041
|
for (d = 0; !(d >= b / 2); ++d) {
|
|
2021
|
-
var e =
|
|
2042
|
+
var e = Da[a + 2 * d >> 1];
|
|
2022
2043
|
if (0 == e) {
|
|
2023
2044
|
break;
|
|
2024
2045
|
}
|
|
2025
2046
|
c += String.fromCharCode(e);
|
|
2026
2047
|
}
|
|
2027
2048
|
return c;
|
|
2028
|
-
},
|
|
2049
|
+
}, zd = (a, b, c) => {
|
|
2029
2050
|
void 0 === c && (c = 2147483647);
|
|
2030
2051
|
if (2 > c) {
|
|
2031
2052
|
return 0;
|
|
@@ -2034,11 +2055,11 @@ var sd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
|
|
|
2034
2055
|
var d = b;
|
|
2035
2056
|
c = c < 2 * a.length ? c / 2 : a.length;
|
|
2036
2057
|
for (var e = 0; e < c; ++e) {
|
|
2037
|
-
|
|
2058
|
+
Da[b >> 1] = a.charCodeAt(e), b += 2;
|
|
2038
2059
|
}
|
|
2039
|
-
|
|
2060
|
+
Da[b >> 1] = 0;
|
|
2040
2061
|
return b - d;
|
|
2041
|
-
},
|
|
2062
|
+
}, Ad = a => 2 * a.length, Bd = (a, b) => {
|
|
2042
2063
|
for (var c = 0, d = ""; !(c >= b / 4);) {
|
|
2043
2064
|
var e = F[a + 4 * c >> 2];
|
|
2044
2065
|
if (0 == e) {
|
|
@@ -2048,7 +2069,7 @@ var sd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
|
|
|
2048
2069
|
65536 <= e ? (e -= 65536, d += String.fromCharCode(55296 | e >> 10, 56320 | e & 1023)) : d += String.fromCharCode(e);
|
|
2049
2070
|
}
|
|
2050
2071
|
return d;
|
|
2051
|
-
},
|
|
2072
|
+
}, Cd = (a, b, c) => {
|
|
2052
2073
|
void 0 === c && (c = 2147483647);
|
|
2053
2074
|
if (4 > c) {
|
|
2054
2075
|
return 0;
|
|
@@ -2069,44 +2090,44 @@ var sd = "undefined" != typeof TextDecoder ? new TextDecoder("utf-16le") : void
|
|
|
2069
2090
|
}
|
|
2070
2091
|
F[b >> 2] = 0;
|
|
2071
2092
|
return b - d;
|
|
2072
|
-
},
|
|
2093
|
+
}, Dd = a => {
|
|
2073
2094
|
for (var b = 0, c = 0; c < a.length; ++c) {
|
|
2074
2095
|
var d = a.charCodeAt(c);
|
|
2075
2096
|
55296 <= d && 57343 >= d && ++c;
|
|
2076
2097
|
b += 4;
|
|
2077
2098
|
}
|
|
2078
2099
|
return b;
|
|
2079
|
-
},
|
|
2080
|
-
function
|
|
2081
|
-
var b =
|
|
2100
|
+
}, Ed = {};
|
|
2101
|
+
function Fd(a) {
|
|
2102
|
+
var b = Ed[a];
|
|
2082
2103
|
return void 0 === b ? W(a) : b;
|
|
2083
2104
|
}
|
|
2084
|
-
var
|
|
2085
|
-
function
|
|
2086
|
-
var b =
|
|
2087
|
-
|
|
2105
|
+
var Gd = [];
|
|
2106
|
+
function Hd(a) {
|
|
2107
|
+
var b = Gd.length;
|
|
2108
|
+
Gd.push(a);
|
|
2088
2109
|
return b;
|
|
2089
2110
|
}
|
|
2090
|
-
function
|
|
2111
|
+
function Id(a, b) {
|
|
2091
2112
|
for (var c = Array(a), d = 0; d < a; ++d) {
|
|
2092
|
-
c[d] =
|
|
2113
|
+
c[d] = Fc(G[b + 4 * d >> 2], "parameter " + d);
|
|
2093
2114
|
}
|
|
2094
2115
|
return c;
|
|
2095
2116
|
}
|
|
2096
|
-
var
|
|
2097
|
-
if (!
|
|
2098
|
-
var a = {USER:"web_user", LOGNAME:"web_user", PATH:"/", PWD:"/", HOME:"/home/web_user", LANG:("object" == typeof navigator && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", _:"./this.program"}, b;
|
|
2099
|
-
for (b in
|
|
2100
|
-
void 0 ===
|
|
2117
|
+
var Jd = [], Kd = [], Ld = {}, Nd = () => {
|
|
2118
|
+
if (!Md) {
|
|
2119
|
+
var a = {USER:"web_user", LOGNAME:"web_user", PATH:"/", PWD:"/", HOME:"/home/web_user", LANG:("object" == typeof navigator && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", _:na || "./this.program"}, b;
|
|
2120
|
+
for (b in Ld) {
|
|
2121
|
+
void 0 === Ld[b] ? delete a[b] : a[b] = Ld[b];
|
|
2101
2122
|
}
|
|
2102
2123
|
var c = [];
|
|
2103
2124
|
for (b in a) {
|
|
2104
2125
|
c.push(`${b}=${a[b]}`);
|
|
2105
2126
|
}
|
|
2106
|
-
|
|
2127
|
+
Md = c;
|
|
2107
2128
|
}
|
|
2108
|
-
return
|
|
2109
|
-
},
|
|
2129
|
+
return Md;
|
|
2130
|
+
}, Md, Od = a => 0 === a % 4 && (0 !== a % 100 || 0 === a % 400), Pd = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Qd = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Rd = (a, b, c, d) => {
|
|
2110
2131
|
function e(k, t, r) {
|
|
2111
2132
|
for (k = "number" == typeof k ? k.toString() : k || ""; k.length < t;) {
|
|
2112
2133
|
k = r[0] + k;
|
|
@@ -2124,7 +2145,7 @@ var Ed = [], Fd = [], Gd = {}, Id = () => {
|
|
|
2124
2145
|
0 === (B = r(k.getFullYear() - t.getFullYear())) && 0 === (B = r(k.getMonth() - t.getMonth())) && (B = r(k.getDate() - t.getDate()));
|
|
2125
2146
|
return B;
|
|
2126
2147
|
}
|
|
2127
|
-
function
|
|
2148
|
+
function n(k) {
|
|
2128
2149
|
switch(k.getDay()) {
|
|
2129
2150
|
case 0:
|
|
2130
2151
|
return new Date(k.getFullYear() - 1, 11, 29);
|
|
@@ -2142,10 +2163,10 @@ var Ed = [], Fd = [], Gd = {}, Id = () => {
|
|
|
2142
2163
|
return new Date(k.getFullYear() - 1, 11, 30);
|
|
2143
2164
|
}
|
|
2144
2165
|
}
|
|
2145
|
-
function
|
|
2166
|
+
function p(k) {
|
|
2146
2167
|
var t = k.ca;
|
|
2147
2168
|
for (k = new Date((new Date(k.da + 1900, 0, 1)).getTime()); 0 < t;) {
|
|
2148
|
-
var r = k.getMonth(), B = (
|
|
2169
|
+
var r = k.getMonth(), B = (Od(k.getFullYear()) ? Pd : Qd)[r];
|
|
2149
2170
|
if (t > B - k.getDate()) {
|
|
2150
2171
|
t -= B - k.getDate() + 1, k.setDate(1), 11 > r ? k.setMonth(r + 1) : (k.setMonth(0), k.setFullYear(k.getFullYear() + 1));
|
|
2151
2172
|
} else {
|
|
@@ -2154,35 +2175,35 @@ var Ed = [], Fd = [], Gd = {}, Id = () => {
|
|
|
2154
2175
|
}
|
|
2155
2176
|
}
|
|
2156
2177
|
r = new Date(k.getFullYear() + 1, 0, 4);
|
|
2157
|
-
t =
|
|
2158
|
-
r =
|
|
2178
|
+
t = n(new Date(k.getFullYear(), 0, 4));
|
|
2179
|
+
r = n(r);
|
|
2159
2180
|
return 0 >= g(t, k) ? 0 >= g(r, k) ? k.getFullYear() + 1 : k.getFullYear() : k.getFullYear() - 1;
|
|
2160
2181
|
}
|
|
2161
2182
|
var l = F[d + 40 >> 2];
|
|
2162
|
-
d = {Ec:F[d >> 2], Dc:F[d + 4 >> 2], Fa:F[d + 8 >> 2], Ta:F[d + 12 >> 2], Ga:F[d + 16 >> 2], da:F[d + 20 >> 2], S:F[d + 24 >> 2], ca:F[d + 28 >> 2], Rc:F[d + 32 >> 2], Cc:F[d + 36 >> 2], Fc:l ? l ?
|
|
2163
|
-
c = c ?
|
|
2183
|
+
d = {Ec:F[d >> 2], Dc:F[d + 4 >> 2], Fa:F[d + 8 >> 2], Ta:F[d + 12 >> 2], Ga:F[d + 16 >> 2], da:F[d + 20 >> 2], S:F[d + 24 >> 2], ca:F[d + 28 >> 2], Rc:F[d + 32 >> 2], Cc:F[d + 36 >> 2], Fc:l ? l ? lb(C, l) : "" : ""};
|
|
2184
|
+
c = c ? lb(C, c) : "";
|
|
2164
2185
|
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",};
|
|
2165
2186
|
for (var u in l) {
|
|
2166
2187
|
c = c.replace(new RegExp(u, "g"), l[u]);
|
|
2167
2188
|
}
|
|
2168
2189
|
var v = "Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "), y = "January February March April May June July August September October November December".split(" ");
|
|
2169
|
-
l = {"%a":k => v[k.S].substring(0, 3), "%A":k => v[k.S], "%b":k => y[k.Ga].substring(0, 3), "%B":k => y[k.Ga], "%C":k => f((k.da + 1900) / 100 | 0, 2), "%d":k => f(k.Ta, 2), "%e":k => e(k.Ta, 2, " "), "%g":k =>
|
|
2190
|
+
l = {"%a":k => v[k.S].substring(0, 3), "%A":k => v[k.S], "%b":k => y[k.Ga].substring(0, 3), "%B":k => y[k.Ga], "%C":k => f((k.da + 1900) / 100 | 0, 2), "%d":k => f(k.Ta, 2), "%e":k => e(k.Ta, 2, " "), "%g":k => p(k).toString().substring(2), "%G":k => p(k), "%H":k => f(k.Fa, 2), "%I":k => {
|
|
2170
2191
|
k = k.Fa;
|
|
2171
2192
|
0 == k ? k = 12 : 12 < k && (k -= 12);
|
|
2172
2193
|
return f(k, 2);
|
|
2173
2194
|
}, "%j":k => {
|
|
2174
|
-
for (var t = 0, r = 0; r <= k.Ga - 1; t += (
|
|
2195
|
+
for (var t = 0, r = 0; r <= k.Ga - 1; t += (Od(k.da + 1900) ? Pd : Qd)[r++]) {
|
|
2175
2196
|
}
|
|
2176
2197
|
return f(k.Ta + t, 3);
|
|
2177
2198
|
}, "%m":k => f(k.Ga + 1, 2), "%M":k => f(k.Dc, 2), "%n":() => "\n", "%p":k => 0 <= k.Fa && 12 > k.Fa ? "AM" : "PM", "%S":k => f(k.Ec, 2), "%t":() => "\t", "%u":k => k.S || 7, "%U":k => f(Math.floor((k.ca + 7 - k.S) / 7), 2), "%V":k => {
|
|
2178
2199
|
var t = Math.floor((k.ca + 7 - (k.S + 6) % 7) / 7);
|
|
2179
2200
|
2 >= (k.S + 371 - k.ca - 2) % 7 && t++;
|
|
2180
2201
|
if (t) {
|
|
2181
|
-
53 == t && (r = (k.S + 371 - k.ca) % 7, 4 == r || 3 == r &&
|
|
2202
|
+
53 == t && (r = (k.S + 371 - k.ca) % 7, 4 == r || 3 == r && Od(k.da) || (t = 1));
|
|
2182
2203
|
} else {
|
|
2183
2204
|
t = 52;
|
|
2184
2205
|
var r = (k.S + 7 - k.ca - 1) % 7;
|
|
2185
|
-
(4 == r || 5 == r &&
|
|
2206
|
+
(4 == r || 5 == r && Od(k.da % 400 - 1)) && t++;
|
|
2186
2207
|
}
|
|
2187
2208
|
return f(t, 2);
|
|
2188
2209
|
}, "%w":k => k.S, "%W":k => f(Math.floor((k.ca + 7 - (k.S + 6) % 7) / 7), 2), "%y":k => (k.da + 1900).toString().substring(2), "%Y":k => k.da + 1900, "%z":k => {
|
|
@@ -2196,26 +2217,26 @@ var Ed = [], Fd = [], Gd = {}, Id = () => {
|
|
|
2196
2217
|
c.includes(u) && (c = c.replace(new RegExp(u, "g"), l[u](d)));
|
|
2197
2218
|
}
|
|
2198
2219
|
c = c.replace(/\0\0/g, "%");
|
|
2199
|
-
u =
|
|
2220
|
+
u = pb(c, !1);
|
|
2200
2221
|
if (u.length > b) {
|
|
2201
2222
|
return 0;
|
|
2202
2223
|
}
|
|
2203
2224
|
A.set(u, a);
|
|
2204
2225
|
return u.length - 1;
|
|
2205
2226
|
};
|
|
2206
|
-
function
|
|
2227
|
+
function Nb(a, b, c, d) {
|
|
2207
2228
|
a || (a = this);
|
|
2208
2229
|
this.parent = a;
|
|
2209
2230
|
this.V = a.V;
|
|
2210
2231
|
this.xa = null;
|
|
2211
|
-
this.id =
|
|
2232
|
+
this.id = Fb++;
|
|
2212
2233
|
this.name = b;
|
|
2213
2234
|
this.mode = c;
|
|
2214
2235
|
this.j = {};
|
|
2215
2236
|
this.m = {};
|
|
2216
2237
|
this.ma = d;
|
|
2217
2238
|
}
|
|
2218
|
-
Object.defineProperties(
|
|
2239
|
+
Object.defineProperties(Nb.prototype, {read:{get:function() {
|
|
2219
2240
|
return 365 === (this.mode & 365);
|
|
2220
2241
|
}, set:function(a) {
|
|
2221
2242
|
a ? this.mode |= 365 : this.mode &= -366;
|
|
@@ -2224,44 +2245,44 @@ Object.defineProperties(Ib.prototype, {read:{get:function() {
|
|
|
2224
2245
|
}, set:function(a) {
|
|
2225
2246
|
a ? this.mode |= 146 : this.mode &= -147;
|
|
2226
2247
|
}}});
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2248
|
+
fc();
|
|
2249
|
+
Gb = Array(4096);
|
|
2250
|
+
Ub(T, "/");
|
|
2251
|
+
Vb("/tmp", 16895, 0);
|
|
2252
|
+
Vb("/home", 16895, 0);
|
|
2253
|
+
Vb("/home/web_user", 16895, 0);
|
|
2233
2254
|
(() => {
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2255
|
+
Vb("/dev", 16895, 0);
|
|
2256
|
+
sb(259, {read:() => 0, write:(d, e, f, g) => g,});
|
|
2257
|
+
Wb("/dev/null", 259);
|
|
2258
|
+
rb(1280, ub);
|
|
2259
|
+
rb(1536, vb);
|
|
2260
|
+
Wb("/dev/tty", 1280);
|
|
2261
|
+
Wb("/dev/tty1", 1536);
|
|
2241
2262
|
var a = new Uint8Array(1024), b = 0, c = () => {
|
|
2242
|
-
0 === b && (b =
|
|
2263
|
+
0 === b && (b = ib(a).byteLength);
|
|
2243
2264
|
return a[--b];
|
|
2244
2265
|
};
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2266
|
+
ic("random", c);
|
|
2267
|
+
ic("urandom", c);
|
|
2268
|
+
Vb("/dev/shm", 16895, 0);
|
|
2269
|
+
Vb("/dev/shm/tmp", 16895, 0);
|
|
2249
2270
|
})();
|
|
2250
2271
|
(() => {
|
|
2251
|
-
|
|
2252
|
-
var a =
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
var b =
|
|
2272
|
+
Vb("/proc", 16895, 0);
|
|
2273
|
+
var a = Vb("/proc/self", 16895, 0);
|
|
2274
|
+
Vb("/proc/self/fd", 16895, 0);
|
|
2275
|
+
Ub({V:() => {
|
|
2276
|
+
var b = yb(a, "fd", 16895, 73);
|
|
2256
2277
|
b.j = {ka:(c, d) => {
|
|
2257
|
-
var e =
|
|
2278
|
+
var e = Rb(+d);
|
|
2258
2279
|
c = {parent:null, V:{nb:"fake"}, j:{na:() => e.path},};
|
|
2259
2280
|
return c.parent = c;
|
|
2260
2281
|
}};
|
|
2261
2282
|
return b;
|
|
2262
2283
|
}}, "/proc/self/fd");
|
|
2263
2284
|
})();
|
|
2264
|
-
Object.assign(
|
|
2285
|
+
Object.assign(oc.prototype, {get(a) {
|
|
2265
2286
|
return this.M[a];
|
|
2266
2287
|
}, has(a) {
|
|
2267
2288
|
return void 0 !== this.M[a];
|
|
@@ -2273,48 +2294,48 @@ Object.assign(jc.prototype, {get(a) {
|
|
|
2273
2294
|
this.M[a] = void 0;
|
|
2274
2295
|
this.hb.push(a);
|
|
2275
2296
|
}});
|
|
2276
|
-
|
|
2297
|
+
qc = m.BindingError = class extends Error {
|
|
2277
2298
|
constructor(a) {
|
|
2278
2299
|
super(a);
|
|
2279
2300
|
this.name = "BindingError";
|
|
2280
2301
|
}
|
|
2281
2302
|
};
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
for (var a = 0, b =
|
|
2286
|
-
void 0 !==
|
|
2303
|
+
pc.M.push({value:void 0}, {value:null}, {value:!0}, {value:!1},);
|
|
2304
|
+
pc.h = pc.M.length;
|
|
2305
|
+
m.count_emval_handles = function() {
|
|
2306
|
+
for (var a = 0, b = pc.h; b < pc.M.length; ++b) {
|
|
2307
|
+
void 0 !== pc.M[b] && ++a;
|
|
2287
2308
|
}
|
|
2288
2309
|
return a;
|
|
2289
2310
|
};
|
|
2290
|
-
|
|
2291
|
-
for (var
|
|
2292
|
-
|
|
2311
|
+
uc = m.PureVirtualError = tc("PureVirtualError");
|
|
2312
|
+
for (var Sd = Array(256), Td = 0; 256 > Td; ++Td) {
|
|
2313
|
+
Sd[Td] = String.fromCharCode(Td);
|
|
2293
2314
|
}
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
return Object.keys(
|
|
2315
|
+
vc = Sd;
|
|
2316
|
+
m.getInheritedInstanceCount = function() {
|
|
2317
|
+
return Object.keys(zc).length;
|
|
2297
2318
|
};
|
|
2298
|
-
|
|
2319
|
+
m.getLiveInheritedInstances = function() {
|
|
2299
2320
|
var a = [], b;
|
|
2300
|
-
for (b in
|
|
2301
|
-
|
|
2321
|
+
for (b in zc) {
|
|
2322
|
+
zc.hasOwnProperty(b) && a.push(zc[b]);
|
|
2302
2323
|
}
|
|
2303
2324
|
return a;
|
|
2304
2325
|
};
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2326
|
+
m.flushPendingDeletes = xc;
|
|
2327
|
+
m.setDelayFunction = function(a) {
|
|
2328
|
+
yc = a;
|
|
2329
|
+
wc.length && yc && yc(xc);
|
|
2309
2330
|
};
|
|
2310
|
-
|
|
2331
|
+
Mc = m.InternalError = class extends Error {
|
|
2311
2332
|
constructor(a) {
|
|
2312
2333
|
super(a);
|
|
2313
2334
|
this.name = "InternalError";
|
|
2314
2335
|
}
|
|
2315
2336
|
};
|
|
2316
|
-
|
|
2317
|
-
if (!(this instanceof
|
|
2337
|
+
Zc.prototype.isAliasOf = function(a) {
|
|
2338
|
+
if (!(this instanceof Zc && a instanceof Zc)) {
|
|
2318
2339
|
return !1;
|
|
2319
2340
|
}
|
|
2320
2341
|
var b = this.g.u.i, c = this.g.o, d = a.g.u.i;
|
|
@@ -2326,58 +2347,58 @@ Uc.prototype.isAliasOf = function(a) {
|
|
|
2326
2347
|
}
|
|
2327
2348
|
return b === d && c === a;
|
|
2328
2349
|
};
|
|
2329
|
-
|
|
2330
|
-
this.g.o ||
|
|
2350
|
+
Zc.prototype.clone = function() {
|
|
2351
|
+
this.g.o || Yc(this);
|
|
2331
2352
|
if (this.g.ia) {
|
|
2332
2353
|
return this.g.count.value += 1, this;
|
|
2333
2354
|
}
|
|
2334
|
-
var a =
|
|
2355
|
+
var a = Pc, b = Object, c = b.create, d = Object.getPrototypeOf(this), e = this.g;
|
|
2335
2356
|
a = a(c.call(b, d, {g:{value:{count:e.count, fa:e.fa, ia:e.ia, o:e.o, u:e.u, G:e.G, L:e.L,},}}));
|
|
2336
2357
|
a.g.count.value += 1;
|
|
2337
2358
|
a.g.fa = !1;
|
|
2338
2359
|
return a;
|
|
2339
2360
|
};
|
|
2340
|
-
|
|
2341
|
-
this.g.o ||
|
|
2361
|
+
Zc.prototype["delete"] = function() {
|
|
2362
|
+
this.g.o || Yc(this);
|
|
2342
2363
|
this.g.fa && !this.g.ia && U("Object already scheduled for deletion");
|
|
2343
|
-
|
|
2344
|
-
|
|
2364
|
+
Gc(this);
|
|
2365
|
+
Ic(this.g);
|
|
2345
2366
|
this.g.ia || (this.g.G = void 0, this.g.o = void 0);
|
|
2346
2367
|
};
|
|
2347
|
-
|
|
2368
|
+
Zc.prototype.isDeleted = function() {
|
|
2348
2369
|
return !this.g.o;
|
|
2349
2370
|
};
|
|
2350
|
-
|
|
2351
|
-
this.g.o ||
|
|
2371
|
+
Zc.prototype.deleteLater = function() {
|
|
2372
|
+
this.g.o || Yc(this);
|
|
2352
2373
|
this.g.fa && !this.g.ia && U("Object already scheduled for deletion");
|
|
2353
|
-
|
|
2354
|
-
1 ===
|
|
2374
|
+
wc.push(this);
|
|
2375
|
+
1 === wc.length && yc && yc(xc);
|
|
2355
2376
|
this.g.fa = !0;
|
|
2356
2377
|
return this;
|
|
2357
2378
|
};
|
|
2358
|
-
|
|
2379
|
+
hd.prototype.$b = function(a) {
|
|
2359
2380
|
this.sb && (a = this.sb(a));
|
|
2360
2381
|
return a;
|
|
2361
2382
|
};
|
|
2362
|
-
|
|
2383
|
+
hd.prototype.bb = function(a) {
|
|
2363
2384
|
this.X && this.X(a);
|
|
2364
2385
|
};
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2386
|
+
hd.prototype.argPackAdvance = 8;
|
|
2387
|
+
hd.prototype.readValueFromPointer = Sc;
|
|
2388
|
+
hd.prototype.deleteObject = function(a) {
|
|
2368
2389
|
if (null !== a) {
|
|
2369
2390
|
a["delete"]();
|
|
2370
2391
|
}
|
|
2371
2392
|
};
|
|
2372
|
-
|
|
2393
|
+
hd.prototype.fromWireType = function(a) {
|
|
2373
2394
|
function b() {
|
|
2374
|
-
return this.va ?
|
|
2395
|
+
return this.va ? Oc(this.i.O, {u:this.vc, o:c, L:this, G:a,}) : Oc(this.i.O, {u:this, o:a,});
|
|
2375
2396
|
}
|
|
2376
2397
|
var c = this.$b(a);
|
|
2377
2398
|
if (!c) {
|
|
2378
2399
|
return this.bb(a), null;
|
|
2379
2400
|
}
|
|
2380
|
-
var d =
|
|
2401
|
+
var d = Lc(this.i, c);
|
|
2381
2402
|
if (void 0 !== d) {
|
|
2382
2403
|
if (0 === d.g.count.value) {
|
|
2383
2404
|
return d.g.o = c, d.g.G = a, d.clone();
|
|
@@ -2387,32 +2408,32 @@ cd.prototype.fromWireType = function(a) {
|
|
|
2387
2408
|
return d;
|
|
2388
2409
|
}
|
|
2389
2410
|
d = this.i.Zb(c);
|
|
2390
|
-
d =
|
|
2411
|
+
d = Kc[d];
|
|
2391
2412
|
if (!d) {
|
|
2392
2413
|
return b.call(this);
|
|
2393
2414
|
}
|
|
2394
2415
|
d = this.ua ? d.Nb : d.pointerType;
|
|
2395
|
-
var e =
|
|
2396
|
-
return null === e ? b.call(this) : this.va ?
|
|
2416
|
+
var e = Jc(c, this.i, d.i);
|
|
2417
|
+
return null === e ? b.call(this) : this.va ? Oc(d.i.O, {u:d, o:e, L:this, G:a,}) : Oc(d.i.O, {u:d, o:e,});
|
|
2397
2418
|
};
|
|
2398
|
-
|
|
2399
|
-
var
|
|
2400
|
-
|
|
2419
|
+
nd = m.UnboundTypeError = tc("UnboundTypeError");
|
|
2420
|
+
var Wd = {__syscall_fcntl64:function(a, b, c) {
|
|
2421
|
+
kc = c;
|
|
2401
2422
|
try {
|
|
2402
|
-
var d =
|
|
2423
|
+
var d = Rb(a);
|
|
2403
2424
|
switch(b) {
|
|
2404
2425
|
case 0:
|
|
2405
|
-
var e =
|
|
2406
|
-
return 0 > e ? -28 :
|
|
2426
|
+
var e = lc();
|
|
2427
|
+
return 0 > e ? -28 : Tb(d, e).Z;
|
|
2407
2428
|
case 1:
|
|
2408
2429
|
case 2:
|
|
2409
2430
|
return 0;
|
|
2410
2431
|
case 3:
|
|
2411
2432
|
return d.flags;
|
|
2412
2433
|
case 4:
|
|
2413
|
-
return e =
|
|
2434
|
+
return e = lc(), d.flags |= e, 0;
|
|
2414
2435
|
case 5:
|
|
2415
|
-
return e =
|
|
2436
|
+
return e = lc(), Da[e + 0 >> 1] = 2, 0;
|
|
2416
2437
|
case 6:
|
|
2417
2438
|
case 7:
|
|
2418
2439
|
return 0;
|
|
@@ -2420,12 +2441,12 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2420
2441
|
case 8:
|
|
2421
2442
|
return -28;
|
|
2422
2443
|
case 9:
|
|
2423
|
-
return F[
|
|
2444
|
+
return F[Ud() >> 2] = 28, -1;
|
|
2424
2445
|
default:
|
|
2425
2446
|
return -28;
|
|
2426
2447
|
}
|
|
2427
2448
|
} catch (f) {
|
|
2428
|
-
if ("undefined" == typeof
|
|
2449
|
+
if ("undefined" == typeof jc || "ErrnoError" !== f.name) {
|
|
2429
2450
|
throw f;
|
|
2430
2451
|
}
|
|
2431
2452
|
return -f.Y;
|
|
@@ -2433,9 +2454,9 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2433
2454
|
}, __syscall_fstat64:function(a, b) {
|
|
2434
2455
|
try {
|
|
2435
2456
|
a: {
|
|
2436
|
-
var c =
|
|
2457
|
+
var c = Rb(a).path;
|
|
2437
2458
|
try {
|
|
2438
|
-
var d =
|
|
2459
|
+
var d = Jb(c, {Ma:!0}).node;
|
|
2439
2460
|
if (!d) {
|
|
2440
2461
|
throw new Q(44);
|
|
2441
2462
|
}
|
|
@@ -2444,7 +2465,7 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2444
2465
|
}
|
|
2445
2466
|
var e = d.j.N(d);
|
|
2446
2467
|
} catch (l) {
|
|
2447
|
-
if (l && l.node &&
|
|
2468
|
+
if (l && l.node && eb(c) !== eb(Kb(l.node))) {
|
|
2448
2469
|
var f = -54;
|
|
2449
2470
|
break a;
|
|
2450
2471
|
}
|
|
@@ -2461,19 +2482,19 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2461
2482
|
F[b + 28 >> 2] = P[1];
|
|
2462
2483
|
F[b + 32 >> 2] = 4096;
|
|
2463
2484
|
F[b + 36 >> 2] = e.Mb;
|
|
2464
|
-
var g = e.Kb.getTime(),
|
|
2485
|
+
var g = e.Kb.getTime(), n = e.rc.getTime(), p = e.Pb.getTime();
|
|
2465
2486
|
P = [Math.floor(g / 1000) >>> 0, (N = Math.floor(g / 1000), 1.0 <= +Math.abs(N) ? 0.0 < N ? +Math.floor(N / 4294967296.0) >>> 0 : ~~+Math.ceil((N - +(~~N >>> 0)) / 4294967296.0) >>> 0 : 0)];
|
|
2466
2487
|
F[b + 40 >> 2] = P[0];
|
|
2467
2488
|
F[b + 44 >> 2] = P[1];
|
|
2468
2489
|
G[b + 48 >> 2] = g % 1000 * 1000;
|
|
2469
|
-
P = [Math.floor(
|
|
2490
|
+
P = [Math.floor(n / 1000) >>> 0, (N = Math.floor(n / 1000), 1.0 <= +Math.abs(N) ? 0.0 < N ? +Math.floor(N / 4294967296.0) >>> 0 : ~~+Math.ceil((N - +(~~N >>> 0)) / 4294967296.0) >>> 0 : 0)];
|
|
2470
2491
|
F[b + 56 >> 2] = P[0];
|
|
2471
2492
|
F[b + 60 >> 2] = P[1];
|
|
2472
|
-
G[b + 64 >> 2] =
|
|
2473
|
-
P = [Math.floor(
|
|
2493
|
+
G[b + 64 >> 2] = n % 1000 * 1000;
|
|
2494
|
+
P = [Math.floor(p / 1000) >>> 0, (N = Math.floor(p / 1000), 1.0 <= +Math.abs(N) ? 0.0 < N ? +Math.floor(N / 4294967296.0) >>> 0 : ~~+Math.ceil((N - +(~~N >>> 0)) / 4294967296.0) >>> 0 : 0)];
|
|
2474
2495
|
F[b + 72 >> 2] = P[0];
|
|
2475
2496
|
F[b + 76 >> 2] = P[1];
|
|
2476
|
-
G[b + 80 >> 2] =
|
|
2497
|
+
G[b + 80 >> 2] = p % 1000 * 1000;
|
|
2477
2498
|
P = [e.kb >>> 0, (N = e.kb, 1.0 <= +Math.abs(N) ? 0.0 < N ? +Math.floor(N / 4294967296.0) >>> 0 : ~~+Math.ceil((N - +(~~N >>> 0)) / 4294967296.0) >>> 0 : 0)];
|
|
2478
2499
|
F[b + 88 >> 2] = P[0];
|
|
2479
2500
|
F[b + 92 >> 2] = P[1];
|
|
@@ -2481,15 +2502,15 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2481
2502
|
}
|
|
2482
2503
|
return f;
|
|
2483
2504
|
} catch (l) {
|
|
2484
|
-
if ("undefined" == typeof
|
|
2505
|
+
if ("undefined" == typeof jc || "ErrnoError" !== l.name) {
|
|
2485
2506
|
throw l;
|
|
2486
2507
|
}
|
|
2487
2508
|
return -l.Y;
|
|
2488
2509
|
}
|
|
2489
2510
|
}, __syscall_ioctl:function(a, b, c) {
|
|
2490
|
-
|
|
2511
|
+
kc = c;
|
|
2491
2512
|
try {
|
|
2492
|
-
var d =
|
|
2513
|
+
var d = Rb(a);
|
|
2493
2514
|
switch(b) {
|
|
2494
2515
|
case 21509:
|
|
2495
2516
|
return d.s ? 0 : -59;
|
|
@@ -2499,7 +2520,7 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2499
2520
|
}
|
|
2500
2521
|
if (d.s.W.ic) {
|
|
2501
2522
|
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,];
|
|
2502
|
-
var e =
|
|
2523
|
+
var e = lc();
|
|
2503
2524
|
F[e >> 2] = 25856;
|
|
2504
2525
|
F[e + 4 >> 2] = 5;
|
|
2505
2526
|
F[e + 8 >> 2] = 191;
|
|
@@ -2520,7 +2541,7 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2520
2541
|
return -59;
|
|
2521
2542
|
}
|
|
2522
2543
|
if (d.s.W.jc) {
|
|
2523
|
-
for (e =
|
|
2544
|
+
for (e = lc(), b = [], f = 0; 32 > f; f++) {
|
|
2524
2545
|
b.push(A[e + f + 17 >> 0]);
|
|
2525
2546
|
}
|
|
2526
2547
|
}
|
|
@@ -2529,12 +2550,12 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2529
2550
|
if (!d.s) {
|
|
2530
2551
|
return -59;
|
|
2531
2552
|
}
|
|
2532
|
-
e =
|
|
2553
|
+
e = lc();
|
|
2533
2554
|
return F[e >> 2] = 0;
|
|
2534
2555
|
case 21520:
|
|
2535
2556
|
return d.s ? -28 : -59;
|
|
2536
2557
|
case 21531:
|
|
2537
|
-
e =
|
|
2558
|
+
e = lc();
|
|
2538
2559
|
if (!d.m.hc) {
|
|
2539
2560
|
throw new Q(59);
|
|
2540
2561
|
}
|
|
@@ -2543,7 +2564,7 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2543
2564
|
if (!d.s) {
|
|
2544
2565
|
return -59;
|
|
2545
2566
|
}
|
|
2546
|
-
d.s.W.kc && (f = [24, 80], e =
|
|
2567
|
+
d.s.W.kc && (f = [24, 80], e = lc(), Da[e >> 1] = f[0], Da[e + 2 >> 1] = f[1]);
|
|
2547
2568
|
return 0;
|
|
2548
2569
|
case 21524:
|
|
2549
2570
|
return d.s ? 0 : -59;
|
|
@@ -2553,42 +2574,42 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2553
2574
|
return -28;
|
|
2554
2575
|
}
|
|
2555
2576
|
} catch (g) {
|
|
2556
|
-
if ("undefined" == typeof
|
|
2577
|
+
if ("undefined" == typeof jc || "ErrnoError" !== g.name) {
|
|
2557
2578
|
throw g;
|
|
2558
2579
|
}
|
|
2559
2580
|
return -g.Y;
|
|
2560
2581
|
}
|
|
2561
2582
|
}, __syscall_openat:function(a, b, c, d) {
|
|
2562
|
-
|
|
2583
|
+
kc = d;
|
|
2563
2584
|
try {
|
|
2564
|
-
b = b ?
|
|
2585
|
+
b = b ? lb(C, b) : "";
|
|
2565
2586
|
var e = b;
|
|
2566
2587
|
if ("/" === e.charAt(0)) {
|
|
2567
2588
|
b = e;
|
|
2568
2589
|
} else {
|
|
2569
|
-
var f = -100 === a ? "/" :
|
|
2590
|
+
var f = -100 === a ? "/" : Rb(a).path;
|
|
2570
2591
|
if (0 == e.length) {
|
|
2571
2592
|
throw new Q(44);
|
|
2572
2593
|
}
|
|
2573
|
-
b =
|
|
2594
|
+
b = eb(f + "/" + e);
|
|
2574
2595
|
}
|
|
2575
|
-
var g = d ?
|
|
2576
|
-
return
|
|
2577
|
-
} catch (
|
|
2578
|
-
if ("undefined" == typeof
|
|
2579
|
-
throw
|
|
2596
|
+
var g = d ? lc() : 0;
|
|
2597
|
+
return dc(b, c, g).Z;
|
|
2598
|
+
} catch (n) {
|
|
2599
|
+
if ("undefined" == typeof jc || "ErrnoError" !== n.name) {
|
|
2600
|
+
throw n;
|
|
2580
2601
|
}
|
|
2581
|
-
return -
|
|
2602
|
+
return -n.Y;
|
|
2582
2603
|
}
|
|
2583
2604
|
}, _embind_create_inheriting_constructor:function(a, b, c) {
|
|
2584
2605
|
a = W(a);
|
|
2585
|
-
b =
|
|
2586
|
-
c =
|
|
2587
|
-
var d = [].slice, e = b.i, f = e.O, g = e.A.O,
|
|
2588
|
-
a =
|
|
2606
|
+
b = Fc(b, "wrapper");
|
|
2607
|
+
c = rc(c);
|
|
2608
|
+
var d = [].slice, e = b.i, f = e.O, g = e.A.O, n = e.A.constructor;
|
|
2609
|
+
a = nc(a, function() {
|
|
2589
2610
|
e.A.rb.forEach(function(l) {
|
|
2590
2611
|
if (this[l] === g[l]) {
|
|
2591
|
-
throw new
|
|
2612
|
+
throw new uc(`Pure virtual function ${l} must be implemented in JavaScript`);
|
|
2592
2613
|
}
|
|
2593
2614
|
}.bind(this));
|
|
2594
2615
|
Object.defineProperty(this, "__parent", {value:f});
|
|
@@ -2596,93 +2617,93 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2596
2617
|
});
|
|
2597
2618
|
f.__construct = function() {
|
|
2598
2619
|
this === f && U("Pass correct 'this' to __construct");
|
|
2599
|
-
var l =
|
|
2600
|
-
|
|
2620
|
+
var l = n.implement.apply(void 0, [this].concat(d.call(arguments)));
|
|
2621
|
+
Gc(l);
|
|
2601
2622
|
var u = l.g;
|
|
2602
2623
|
l.notifyOnDestruction();
|
|
2603
2624
|
u.ia = !0;
|
|
2604
2625
|
Object.defineProperties(this, {g:{value:u}});
|
|
2605
|
-
|
|
2626
|
+
Pc(this);
|
|
2606
2627
|
l = u.o;
|
|
2607
|
-
l =
|
|
2608
|
-
|
|
2628
|
+
l = Ac(e, l);
|
|
2629
|
+
zc.hasOwnProperty(l) ? U(`Tried to register registered instance: ${l}`) : zc[l] = this;
|
|
2609
2630
|
};
|
|
2610
2631
|
f.__destruct = function() {
|
|
2611
2632
|
this === f && U("Pass correct 'this' to __destruct");
|
|
2612
|
-
|
|
2633
|
+
Gc(this);
|
|
2613
2634
|
var l = this.g.o;
|
|
2614
|
-
l =
|
|
2615
|
-
|
|
2635
|
+
l = Ac(e, l);
|
|
2636
|
+
zc.hasOwnProperty(l) ? delete zc[l] : U(`Tried to unregister unregistered instance: ${l}`);
|
|
2616
2637
|
};
|
|
2617
2638
|
a.prototype = Object.create(f);
|
|
2618
|
-
for (var
|
|
2619
|
-
a.prototype[
|
|
2639
|
+
for (var p in c) {
|
|
2640
|
+
a.prototype[p] = c[p];
|
|
2620
2641
|
}
|
|
2621
|
-
return
|
|
2642
|
+
return sc(a);
|
|
2622
2643
|
}, _embind_finalize_value_object:function(a) {
|
|
2623
|
-
var b =
|
|
2624
|
-
delete
|
|
2644
|
+
var b = Qc[a];
|
|
2645
|
+
delete Qc[a];
|
|
2625
2646
|
var c = b.Qa, d = b.X, e = b.fb, f = e.map(g => g.cc).concat(e.map(g => g.zc));
|
|
2626
2647
|
X([a], f, g => {
|
|
2627
|
-
var
|
|
2628
|
-
e.forEach((
|
|
2629
|
-
var u = g[l], v =
|
|
2630
|
-
|
|
2648
|
+
var n = {};
|
|
2649
|
+
e.forEach((p, l) => {
|
|
2650
|
+
var u = g[l], v = p.ac, y = p.bc, k = g[l + e.length], t = p.yc, r = p.Ac;
|
|
2651
|
+
n[p.Xb] = {read:B => u.fromWireType(v(y, B)), write:(B, E) => {
|
|
2631
2652
|
var w = [];
|
|
2632
2653
|
t(r, B, k.toWireType(w, E));
|
|
2633
|
-
|
|
2654
|
+
Rc(w);
|
|
2634
2655
|
}};
|
|
2635
2656
|
});
|
|
2636
|
-
return [{name:b.name, fromWireType:function(
|
|
2657
|
+
return [{name:b.name, fromWireType:function(p) {
|
|
2637
2658
|
var l = {}, u;
|
|
2638
|
-
for (u in
|
|
2639
|
-
l[u] =
|
|
2659
|
+
for (u in n) {
|
|
2660
|
+
l[u] = n[u].read(p);
|
|
2640
2661
|
}
|
|
2641
|
-
d(
|
|
2662
|
+
d(p);
|
|
2642
2663
|
return l;
|
|
2643
|
-
}, toWireType:function(
|
|
2644
|
-
for (var u in
|
|
2664
|
+
}, toWireType:function(p, l) {
|
|
2665
|
+
for (var u in n) {
|
|
2645
2666
|
if (!(u in l)) {
|
|
2646
2667
|
throw new TypeError(`Missing field: "${u}"`);
|
|
2647
2668
|
}
|
|
2648
2669
|
}
|
|
2649
2670
|
var v = c();
|
|
2650
|
-
for (u in
|
|
2651
|
-
|
|
2671
|
+
for (u in n) {
|
|
2672
|
+
n[u].write(v, l[u]);
|
|
2652
2673
|
}
|
|
2653
|
-
null !==
|
|
2674
|
+
null !== p && p.push(d, v);
|
|
2654
2675
|
return v;
|
|
2655
|
-
}, argPackAdvance:8, readValueFromPointer:
|
|
2676
|
+
}, argPackAdvance:8, readValueFromPointer:Sc, K:d,}];
|
|
2656
2677
|
});
|
|
2657
2678
|
}, _embind_register_bigint:function() {
|
|
2658
2679
|
}, _embind_register_bool:function(a, b, c, d, e) {
|
|
2659
|
-
var f =
|
|
2680
|
+
var f = Wc(c);
|
|
2660
2681
|
b = W(b);
|
|
2661
|
-
|
|
2682
|
+
Vc(a, {name:b, fromWireType:function(g) {
|
|
2662
2683
|
return !!g;
|
|
2663
|
-
}, toWireType:function(g,
|
|
2664
|
-
return
|
|
2684
|
+
}, toWireType:function(g, n) {
|
|
2685
|
+
return n ? d : e;
|
|
2665
2686
|
}, argPackAdvance:8, readValueFromPointer:function(g) {
|
|
2666
2687
|
if (1 === c) {
|
|
2667
|
-
var
|
|
2688
|
+
var n = A;
|
|
2668
2689
|
} else if (2 === c) {
|
|
2669
|
-
|
|
2690
|
+
n = Da;
|
|
2670
2691
|
} else if (4 === c) {
|
|
2671
|
-
|
|
2692
|
+
n = F;
|
|
2672
2693
|
} else {
|
|
2673
2694
|
throw new TypeError("Unknown boolean type size: " + b);
|
|
2674
2695
|
}
|
|
2675
|
-
return this.fromWireType(
|
|
2696
|
+
return this.fromWireType(n[g >> f]);
|
|
2676
2697
|
}, K:null,});
|
|
2677
|
-
}, _embind_register_class:function(a, b, c, d, e, f, g,
|
|
2698
|
+
}, _embind_register_class:function(a, b, c, d, e, f, g, n, p, l, u, v, y) {
|
|
2678
2699
|
u = W(u);
|
|
2679
2700
|
f = Y(e, f);
|
|
2680
|
-
|
|
2681
|
-
l && (l = Y(
|
|
2701
|
+
n && (n = Y(g, n));
|
|
2702
|
+
l && (l = Y(p, l));
|
|
2682
2703
|
y = Y(v, y);
|
|
2683
|
-
var k =
|
|
2684
|
-
|
|
2685
|
-
|
|
2704
|
+
var k = mc(u);
|
|
2705
|
+
ad(k, function() {
|
|
2706
|
+
od(`Cannot construct ${u} due to unbound types`, [d]);
|
|
2686
2707
|
});
|
|
2687
2708
|
X([a, b, c], d ? [d] : [], function(t) {
|
|
2688
2709
|
t = t[0];
|
|
@@ -2690,50 +2711,50 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2690
2711
|
var r = t.i;
|
|
2691
2712
|
var B = r.O;
|
|
2692
2713
|
} else {
|
|
2693
|
-
B =
|
|
2714
|
+
B = Zc.prototype;
|
|
2694
2715
|
}
|
|
2695
|
-
t =
|
|
2716
|
+
t = nc(k, function() {
|
|
2696
2717
|
if (Object.getPrototypeOf(this) !== E) {
|
|
2697
|
-
throw new
|
|
2718
|
+
throw new qc("Use 'new' to construct " + u);
|
|
2698
2719
|
}
|
|
2699
2720
|
if (void 0 === w.aa) {
|
|
2700
|
-
throw new
|
|
2721
|
+
throw new qc(u + " has no accessible constructor");
|
|
2701
2722
|
}
|
|
2702
2723
|
var V = w.aa[arguments.length];
|
|
2703
2724
|
if (void 0 === V) {
|
|
2704
|
-
throw new
|
|
2725
|
+
throw new qc(`Tried to invoke ctor of ${u} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(w.aa).toString()}) parameters instead!`);
|
|
2705
2726
|
}
|
|
2706
2727
|
return V.apply(this, arguments);
|
|
2707
2728
|
});
|
|
2708
2729
|
var E = Object.create(B, {constructor:{value:t},});
|
|
2709
2730
|
t.prototype = E;
|
|
2710
|
-
var w = new
|
|
2731
|
+
var w = new bd(u, t, E, y, r, f, n, l);
|
|
2711
2732
|
w.A && (void 0 === w.A.pa && (w.A.pa = []), w.A.pa.push(w));
|
|
2712
|
-
r = new
|
|
2713
|
-
B = new
|
|
2714
|
-
var O = new
|
|
2715
|
-
|
|
2716
|
-
|
|
2733
|
+
r = new hd(u, w, !0, !1);
|
|
2734
|
+
B = new hd(u + "*", w, !1, !1);
|
|
2735
|
+
var O = new hd(u + " const*", w, !1, !0);
|
|
2736
|
+
Kc[a] = {pointerType:B, Nb:O};
|
|
2737
|
+
jd(k, t);
|
|
2717
2738
|
return [r, B, O];
|
|
2718
2739
|
});
|
|
2719
2740
|
}, _embind_register_class_class_function:function(a, b, c, d, e, f, g) {
|
|
2720
|
-
var
|
|
2741
|
+
var n = rd(c, d);
|
|
2721
2742
|
b = W(b);
|
|
2722
2743
|
f = Y(e, f);
|
|
2723
|
-
X([], [a], function(
|
|
2744
|
+
X([], [a], function(p) {
|
|
2724
2745
|
function l() {
|
|
2725
|
-
|
|
2746
|
+
od(`Cannot call ${u} due to unbound types`, n);
|
|
2726
2747
|
}
|
|
2727
|
-
|
|
2728
|
-
var u = `${
|
|
2748
|
+
p = p[0];
|
|
2749
|
+
var u = `${p.name}.${b}`;
|
|
2729
2750
|
b.startsWith("@@") && (b = Symbol[b.substring(2)]);
|
|
2730
|
-
var v =
|
|
2731
|
-
void 0 === v[b] ? (l.ea = c - 1, v[b] = l) : (
|
|
2732
|
-
X([],
|
|
2733
|
-
y =
|
|
2751
|
+
var v = p.i.constructor;
|
|
2752
|
+
void 0 === v[b] ? (l.ea = c - 1, v[b] = l) : ($c(v, b, u), v[b].B[c - 1] = l);
|
|
2753
|
+
X([], n, function(y) {
|
|
2754
|
+
y = pd(u, [y[0], null].concat(y.slice(1)), null, f, g);
|
|
2734
2755
|
void 0 === v[b].B ? (y.ea = c - 1, v[b] = y) : v[b].B[c - 1] = y;
|
|
2735
|
-
if (
|
|
2736
|
-
for (const k of
|
|
2756
|
+
if (p.i.pa) {
|
|
2757
|
+
for (const k of p.i.pa) {
|
|
2737
2758
|
k.constructor.hasOwnProperty(b) || (k.constructor[b] = y);
|
|
2738
2759
|
}
|
|
2739
2760
|
}
|
|
@@ -2741,102 +2762,102 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2741
2762
|
});
|
|
2742
2763
|
return [];
|
|
2743
2764
|
});
|
|
2744
|
-
}, _embind_register_class_class_property:function(a, b, c, d, e, f, g,
|
|
2765
|
+
}, _embind_register_class_class_property:function(a, b, c, d, e, f, g, n) {
|
|
2745
2766
|
b = W(b);
|
|
2746
2767
|
f = Y(e, f);
|
|
2747
|
-
X([], [a], function(
|
|
2748
|
-
|
|
2749
|
-
var l = `${
|
|
2750
|
-
|
|
2768
|
+
X([], [a], function(p) {
|
|
2769
|
+
p = p[0];
|
|
2770
|
+
var l = `${p.name}.${b}`, u = {get() {
|
|
2771
|
+
od(`Cannot access ${l} due to unbound types`, [c]);
|
|
2751
2772
|
}, enumerable:!0, configurable:!0};
|
|
2752
|
-
u.set =
|
|
2753
|
-
|
|
2773
|
+
u.set = n ? () => {
|
|
2774
|
+
od(`Cannot access ${l} due to unbound types`, [c]);
|
|
2754
2775
|
} : () => {
|
|
2755
2776
|
U(`${l} is a read-only property`);
|
|
2756
2777
|
};
|
|
2757
|
-
Object.defineProperty(
|
|
2778
|
+
Object.defineProperty(p.i.constructor, b, u);
|
|
2758
2779
|
X([], [c], function(v) {
|
|
2759
2780
|
v = v[0];
|
|
2760
2781
|
var y = {get() {
|
|
2761
2782
|
return v.fromWireType(f(d));
|
|
2762
2783
|
}, enumerable:!0};
|
|
2763
|
-
|
|
2784
|
+
n && (n = Y(g, n), y.set = k => {
|
|
2764
2785
|
var t = [];
|
|
2765
|
-
|
|
2766
|
-
|
|
2786
|
+
n(d, v.toWireType(t, k));
|
|
2787
|
+
Rc(t);
|
|
2767
2788
|
});
|
|
2768
|
-
Object.defineProperty(
|
|
2789
|
+
Object.defineProperty(p.i.constructor, b, y);
|
|
2769
2790
|
return [];
|
|
2770
2791
|
});
|
|
2771
2792
|
return [];
|
|
2772
2793
|
});
|
|
2773
2794
|
}, _embind_register_class_constructor:function(a, b, c, d, e, f) {
|
|
2774
|
-
var g =
|
|
2795
|
+
var g = rd(b, c);
|
|
2775
2796
|
e = Y(d, e);
|
|
2776
|
-
X([], [a], function(
|
|
2777
|
-
|
|
2778
|
-
var
|
|
2779
|
-
void 0 ===
|
|
2780
|
-
if (void 0 !==
|
|
2781
|
-
throw new
|
|
2782
|
-
}
|
|
2783
|
-
|
|
2784
|
-
|
|
2797
|
+
X([], [a], function(n) {
|
|
2798
|
+
n = n[0];
|
|
2799
|
+
var p = `constructor ${n.name}`;
|
|
2800
|
+
void 0 === n.i.aa && (n.i.aa = []);
|
|
2801
|
+
if (void 0 !== n.i.aa[b - 1]) {
|
|
2802
|
+
throw new qc(`Cannot register multiple constructors with identical number of parameters (${b - 1}) for class '${n.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);
|
|
2803
|
+
}
|
|
2804
|
+
n.i.aa[b - 1] = () => {
|
|
2805
|
+
od(`Cannot construct ${n.name} due to unbound types`, g);
|
|
2785
2806
|
};
|
|
2786
2807
|
X([], g, function(l) {
|
|
2787
2808
|
l.splice(1, 0, null);
|
|
2788
|
-
|
|
2809
|
+
n.i.aa[b - 1] = pd(p, l, null, e, f);
|
|
2789
2810
|
return [];
|
|
2790
2811
|
});
|
|
2791
2812
|
return [];
|
|
2792
2813
|
});
|
|
2793
|
-
}, _embind_register_class_function:function(a, b, c, d, e, f, g,
|
|
2794
|
-
var
|
|
2814
|
+
}, _embind_register_class_function:function(a, b, c, d, e, f, g, n) {
|
|
2815
|
+
var p = rd(c, d);
|
|
2795
2816
|
b = W(b);
|
|
2796
2817
|
f = Y(e, f);
|
|
2797
2818
|
X([], [a], function(l) {
|
|
2798
2819
|
function u() {
|
|
2799
|
-
|
|
2820
|
+
od(`Cannot call ${v} due to unbound types`, p);
|
|
2800
2821
|
}
|
|
2801
2822
|
l = l[0];
|
|
2802
2823
|
var v = `${l.name}.${b}`;
|
|
2803
2824
|
b.startsWith("@@") && (b = Symbol[b.substring(2)]);
|
|
2804
|
-
|
|
2825
|
+
n && l.i.rb.push(b);
|
|
2805
2826
|
var y = l.i.O, k = y[b];
|
|
2806
|
-
void 0 === k || void 0 === k.B && k.className !== l.name && k.ea === c - 2 ? (u.ea = c - 2, u.className = l.name, y[b] = u) : (
|
|
2807
|
-
X([],
|
|
2808
|
-
t =
|
|
2827
|
+
void 0 === k || void 0 === k.B && k.className !== l.name && k.ea === c - 2 ? (u.ea = c - 2, u.className = l.name, y[b] = u) : ($c(y, b, v), y[b].B[c - 2] = u);
|
|
2828
|
+
X([], p, function(t) {
|
|
2829
|
+
t = pd(v, t, l, f, g);
|
|
2809
2830
|
void 0 === y[b].B ? (t.ea = c - 2, y[b] = t) : y[b].B[c - 2] = t;
|
|
2810
2831
|
return [];
|
|
2811
2832
|
});
|
|
2812
2833
|
return [];
|
|
2813
2834
|
});
|
|
2814
|
-
}, _embind_register_class_property:function(a, b, c, d, e, f, g,
|
|
2835
|
+
}, _embind_register_class_property:function(a, b, c, d, e, f, g, n, p, l) {
|
|
2815
2836
|
b = W(b);
|
|
2816
2837
|
e = Y(d, e);
|
|
2817
2838
|
X([], [a], function(u) {
|
|
2818
2839
|
u = u[0];
|
|
2819
2840
|
var v = `${u.name}.${b}`, y = {get() {
|
|
2820
|
-
|
|
2841
|
+
od(`Cannot access ${v} due to unbound types`, [c, g]);
|
|
2821
2842
|
}, enumerable:!0, configurable:!0};
|
|
2822
|
-
y.set =
|
|
2823
|
-
|
|
2843
|
+
y.set = p ? () => {
|
|
2844
|
+
od(`Cannot access ${v} due to unbound types`, [c, g]);
|
|
2824
2845
|
} : () => {
|
|
2825
2846
|
U(v + " is a read-only property");
|
|
2826
2847
|
};
|
|
2827
2848
|
Object.defineProperty(u.i.O, b, y);
|
|
2828
|
-
X([],
|
|
2849
|
+
X([], p ? [c, g] : [c], function(k) {
|
|
2829
2850
|
var t = k[0], r = {get() {
|
|
2830
|
-
var E =
|
|
2851
|
+
var E = sd(this, u, v + " getter");
|
|
2831
2852
|
return t.fromWireType(e(f, E));
|
|
2832
2853
|
}, enumerable:!0};
|
|
2833
|
-
if (
|
|
2834
|
-
|
|
2854
|
+
if (p) {
|
|
2855
|
+
p = Y(n, p);
|
|
2835
2856
|
var B = k[1];
|
|
2836
2857
|
r.set = function(E) {
|
|
2837
|
-
var w =
|
|
2838
|
-
|
|
2839
|
-
|
|
2858
|
+
var w = sd(this, u, v + " setter"), O = [];
|
|
2859
|
+
p(l, w, B.toWireType(O, E));
|
|
2860
|
+
Rc(O);
|
|
2840
2861
|
};
|
|
2841
2862
|
}
|
|
2842
2863
|
Object.defineProperty(u.i.O, b, r);
|
|
@@ -2846,67 +2867,67 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2846
2867
|
});
|
|
2847
2868
|
}, _embind_register_emval:function(a, b) {
|
|
2848
2869
|
b = W(b);
|
|
2849
|
-
|
|
2850
|
-
var d =
|
|
2851
|
-
|
|
2870
|
+
Vc(a, {name:b, fromWireType:function(c) {
|
|
2871
|
+
var d = rc(c);
|
|
2872
|
+
td(c);
|
|
2852
2873
|
return d;
|
|
2853
2874
|
}, toWireType:function(c, d) {
|
|
2854
|
-
return
|
|
2855
|
-
}, argPackAdvance:8, readValueFromPointer:
|
|
2875
|
+
return sc(d);
|
|
2876
|
+
}, argPackAdvance:8, readValueFromPointer:Sc, K:null,});
|
|
2856
2877
|
}, _embind_register_enum:function(a, b, c, d) {
|
|
2857
2878
|
function e() {
|
|
2858
2879
|
}
|
|
2859
|
-
c =
|
|
2880
|
+
c = Wc(c);
|
|
2860
2881
|
b = W(b);
|
|
2861
2882
|
e.values = {};
|
|
2862
|
-
|
|
2883
|
+
Vc(a, {name:b, constructor:e, fromWireType:function(f) {
|
|
2863
2884
|
return this.constructor.values[f];
|
|
2864
2885
|
}, toWireType:function(f, g) {
|
|
2865
2886
|
return g.value;
|
|
2866
|
-
}, argPackAdvance:8, readValueFromPointer:
|
|
2867
|
-
|
|
2887
|
+
}, argPackAdvance:8, readValueFromPointer:ud(b, c, d), K:null,});
|
|
2888
|
+
ad(b, e);
|
|
2868
2889
|
}, _embind_register_enum_value:function(a, b, c) {
|
|
2869
|
-
var d =
|
|
2890
|
+
var d = Fc(a, "enum");
|
|
2870
2891
|
b = W(b);
|
|
2871
2892
|
a = d.constructor;
|
|
2872
|
-
d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:
|
|
2893
|
+
d = Object.create(d.constructor.prototype, {value:{value:c}, constructor:{value:nc(`${d.name}_${b}`, function() {
|
|
2873
2894
|
})},});
|
|
2874
2895
|
a.values[c] = d;
|
|
2875
2896
|
a[b] = d;
|
|
2876
2897
|
}, _embind_register_float:function(a, b, c) {
|
|
2877
|
-
c =
|
|
2898
|
+
c = Wc(c);
|
|
2878
2899
|
b = W(b);
|
|
2879
|
-
|
|
2900
|
+
Vc(a, {name:b, fromWireType:function(d) {
|
|
2880
2901
|
return d;
|
|
2881
2902
|
}, toWireType:function(d, e) {
|
|
2882
2903
|
return e;
|
|
2883
|
-
}, argPackAdvance:8, readValueFromPointer:
|
|
2904
|
+
}, argPackAdvance:8, readValueFromPointer:vd(b, c), K:null,});
|
|
2884
2905
|
}, _embind_register_function:function(a, b, c, d, e, f) {
|
|
2885
|
-
var g =
|
|
2906
|
+
var g = rd(b, c);
|
|
2886
2907
|
a = W(a);
|
|
2887
2908
|
e = Y(d, e);
|
|
2888
|
-
|
|
2889
|
-
|
|
2909
|
+
ad(a, function() {
|
|
2910
|
+
od(`Cannot call ${a} due to unbound types`, g);
|
|
2890
2911
|
}, b - 1);
|
|
2891
|
-
X([], g, function(
|
|
2892
|
-
|
|
2912
|
+
X([], g, function(n) {
|
|
2913
|
+
jd(a, pd(a, [n[0], null].concat(n.slice(1)), null, e, f), b - 1);
|
|
2893
2914
|
return [];
|
|
2894
2915
|
});
|
|
2895
2916
|
}, _embind_register_integer:function(a, b, c, d, e) {
|
|
2896
2917
|
b = W(b);
|
|
2897
2918
|
-1 === e && (e = 4294967295);
|
|
2898
|
-
e =
|
|
2899
|
-
var f =
|
|
2919
|
+
e = Wc(c);
|
|
2920
|
+
var f = n => n;
|
|
2900
2921
|
if (0 === d) {
|
|
2901
2922
|
var g = 32 - 8 * c;
|
|
2902
|
-
f =
|
|
2923
|
+
f = n => n << g >>> g;
|
|
2903
2924
|
}
|
|
2904
|
-
c = b.includes("unsigned") ? function(
|
|
2905
|
-
return
|
|
2906
|
-
} : function(
|
|
2907
|
-
return
|
|
2925
|
+
c = b.includes("unsigned") ? function(n, p) {
|
|
2926
|
+
return p >>> 0;
|
|
2927
|
+
} : function(n, p) {
|
|
2928
|
+
return p;
|
|
2908
2929
|
};
|
|
2909
|
-
|
|
2930
|
+
Vc(a, {name:b, fromWireType:f, toWireType:c, argPackAdvance:8, readValueFromPointer:wd(b, e, 0 !== d), K:null,});
|
|
2910
2931
|
}, _embind_register_memory_view:function(a, b, c) {
|
|
2911
2932
|
function d(f) {
|
|
2912
2933
|
f >>= 2;
|
|
@@ -2915,176 +2936,176 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
2915
2936
|
}
|
|
2916
2937
|
var e = [Int8Array, Uint8Array, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array,][b];
|
|
2917
2938
|
c = W(c);
|
|
2918
|
-
|
|
2939
|
+
Vc(a, {name:c, fromWireType:d, argPackAdvance:8, readValueFromPointer:d,}, {fc:!0,});
|
|
2919
2940
|
}, _embind_register_std_string:function(a, b) {
|
|
2920
2941
|
b = W(b);
|
|
2921
2942
|
var c = "std::string" === b;
|
|
2922
|
-
|
|
2943
|
+
Vc(a, {name:b, fromWireType:function(d) {
|
|
2923
2944
|
var e = G[d >> 2], f = d + 4;
|
|
2924
2945
|
if (c) {
|
|
2925
|
-
for (var g = f,
|
|
2926
|
-
var
|
|
2927
|
-
if (
|
|
2928
|
-
g = g ?
|
|
2946
|
+
for (var g = f, n = 0; n <= e; ++n) {
|
|
2947
|
+
var p = f + n;
|
|
2948
|
+
if (n == e || 0 == C[p]) {
|
|
2949
|
+
g = g ? lb(C, g, p - g) : "";
|
|
2929
2950
|
if (void 0 === l) {
|
|
2930
2951
|
var l = g;
|
|
2931
2952
|
} else {
|
|
2932
2953
|
l += String.fromCharCode(0), l += g;
|
|
2933
2954
|
}
|
|
2934
|
-
g =
|
|
2955
|
+
g = p + 1;
|
|
2935
2956
|
}
|
|
2936
2957
|
}
|
|
2937
2958
|
} else {
|
|
2938
2959
|
l = Array(e);
|
|
2939
|
-
for (
|
|
2940
|
-
l[
|
|
2960
|
+
for (n = 0; n < e; ++n) {
|
|
2961
|
+
l[n] = String.fromCharCode(C[f + n]);
|
|
2941
2962
|
}
|
|
2942
2963
|
l = l.join("");
|
|
2943
2964
|
}
|
|
2944
|
-
|
|
2965
|
+
Ec(d);
|
|
2945
2966
|
return l;
|
|
2946
2967
|
}, toWireType:function(d, e) {
|
|
2947
2968
|
e instanceof ArrayBuffer && (e = new Uint8Array(e));
|
|
2948
2969
|
var f = "string" == typeof e;
|
|
2949
2970
|
f || e instanceof Uint8Array || e instanceof Uint8ClampedArray || e instanceof Int8Array || U("Cannot pass non-string to std::string");
|
|
2950
|
-
var g = c && f ?
|
|
2951
|
-
var
|
|
2952
|
-
G[
|
|
2971
|
+
var g = c && f ? nb(e) : e.length;
|
|
2972
|
+
var n = Vd(4 + g + 1), p = n + 4;
|
|
2973
|
+
G[n >> 2] = g;
|
|
2953
2974
|
if (c && f) {
|
|
2954
|
-
|
|
2975
|
+
ob(e, C, p, g + 1);
|
|
2955
2976
|
} else {
|
|
2956
2977
|
if (f) {
|
|
2957
2978
|
for (f = 0; f < g; ++f) {
|
|
2958
2979
|
var l = e.charCodeAt(f);
|
|
2959
|
-
255 < l && (
|
|
2960
|
-
C[
|
|
2980
|
+
255 < l && (Ec(p), U("String has UTF-16 code units that do not fit in 8 bits"));
|
|
2981
|
+
C[p + f] = l;
|
|
2961
2982
|
}
|
|
2962
2983
|
} else {
|
|
2963
2984
|
for (f = 0; f < g; ++f) {
|
|
2964
|
-
C[
|
|
2985
|
+
C[p + f] = e[f];
|
|
2965
2986
|
}
|
|
2966
2987
|
}
|
|
2967
2988
|
}
|
|
2968
|
-
null !== d && d.push(
|
|
2969
|
-
return
|
|
2970
|
-
}, argPackAdvance:8, readValueFromPointer:
|
|
2971
|
-
|
|
2989
|
+
null !== d && d.push(Ec, n);
|
|
2990
|
+
return n;
|
|
2991
|
+
}, argPackAdvance:8, readValueFromPointer:Sc, K:function(d) {
|
|
2992
|
+
Ec(d);
|
|
2972
2993
|
},});
|
|
2973
2994
|
}, _embind_register_std_wstring:function(a, b, c) {
|
|
2974
2995
|
c = W(c);
|
|
2975
2996
|
if (2 === b) {
|
|
2976
|
-
var d =
|
|
2977
|
-
var e =
|
|
2978
|
-
var f =
|
|
2979
|
-
var g = () =>
|
|
2980
|
-
var
|
|
2997
|
+
var d = yd;
|
|
2998
|
+
var e = zd;
|
|
2999
|
+
var f = Ad;
|
|
3000
|
+
var g = () => Ea;
|
|
3001
|
+
var n = 1;
|
|
2981
3002
|
} else {
|
|
2982
|
-
4 === b && (d =
|
|
3003
|
+
4 === b && (d = Bd, e = Cd, f = Dd, g = () => G, n = 2);
|
|
2983
3004
|
}
|
|
2984
|
-
|
|
2985
|
-
for (var l = G[
|
|
2986
|
-
var t =
|
|
2987
|
-
if (k == l || 0 == u[t >>
|
|
3005
|
+
Vc(a, {name:c, fromWireType:function(p) {
|
|
3006
|
+
for (var l = G[p >> 2], u = g(), v, y = p + 4, k = 0; k <= l; ++k) {
|
|
3007
|
+
var t = p + 4 + k * b;
|
|
3008
|
+
if (k == l || 0 == u[t >> n]) {
|
|
2988
3009
|
y = d(y, t - y), void 0 === v ? v = y : (v += String.fromCharCode(0), v += y), y = t + b;
|
|
2989
3010
|
}
|
|
2990
3011
|
}
|
|
2991
|
-
|
|
3012
|
+
Ec(p);
|
|
2992
3013
|
return v;
|
|
2993
|
-
}, toWireType:function(
|
|
3014
|
+
}, toWireType:function(p, l) {
|
|
2994
3015
|
"string" != typeof l && U(`Cannot pass non-string to C++ string type ${c}`);
|
|
2995
|
-
var u = f(l), v =
|
|
2996
|
-
G[v >> 2] = u >>
|
|
3016
|
+
var u = f(l), v = Vd(4 + u + b);
|
|
3017
|
+
G[v >> 2] = u >> n;
|
|
2997
3018
|
e(l, v + 4, u + b);
|
|
2998
|
-
null !==
|
|
3019
|
+
null !== p && p.push(Ec, v);
|
|
2999
3020
|
return v;
|
|
3000
|
-
}, argPackAdvance:8, readValueFromPointer:
|
|
3001
|
-
|
|
3021
|
+
}, argPackAdvance:8, readValueFromPointer:Sc, K:function(p) {
|
|
3022
|
+
Ec(p);
|
|
3002
3023
|
},});
|
|
3003
3024
|
}, _embind_register_value_object:function(a, b, c, d, e, f) {
|
|
3004
|
-
|
|
3005
|
-
}, _embind_register_value_object_field:function(a, b, c, d, e, f, g,
|
|
3006
|
-
|
|
3025
|
+
Qc[a] = {name:W(b), Qa:Y(c, d), X:Y(e, f), fb:[],};
|
|
3026
|
+
}, _embind_register_value_object_field:function(a, b, c, d, e, f, g, n, p, l) {
|
|
3027
|
+
Qc[a].fb.push({Xb:W(b), cc:c, ac:Y(d, e), bc:f, zc:g, yc:Y(n, p), Ac:l,});
|
|
3007
3028
|
}, _embind_register_void:function(a, b) {
|
|
3008
3029
|
b = W(b);
|
|
3009
|
-
|
|
3030
|
+
Vc(a, {mc:!0, name:b, argPackAdvance:0, fromWireType:function() {
|
|
3010
3031
|
}, toWireType:function() {
|
|
3011
3032
|
},});
|
|
3012
3033
|
}, _emval_as:function(a, b, c) {
|
|
3013
|
-
a =
|
|
3014
|
-
b =
|
|
3015
|
-
var d = [], e =
|
|
3034
|
+
a = rc(a);
|
|
3035
|
+
b = Fc(b, "emval::as");
|
|
3036
|
+
var d = [], e = sc(d);
|
|
3016
3037
|
G[c >> 2] = e;
|
|
3017
3038
|
return b.toWireType(d, a);
|
|
3018
3039
|
}, _emval_call_method:function(a, b, c, d, e) {
|
|
3019
|
-
a =
|
|
3020
|
-
b =
|
|
3021
|
-
c =
|
|
3040
|
+
a = Gd[a];
|
|
3041
|
+
b = rc(b);
|
|
3042
|
+
c = Fd(c);
|
|
3022
3043
|
var f = [];
|
|
3023
|
-
G[d >> 2] =
|
|
3044
|
+
G[d >> 2] = sc(f);
|
|
3024
3045
|
return a(b, c, f, e);
|
|
3025
3046
|
}, _emval_call_void_method:function(a, b, c, d) {
|
|
3026
|
-
a =
|
|
3027
|
-
b =
|
|
3028
|
-
c =
|
|
3047
|
+
a = Gd[a];
|
|
3048
|
+
b = rc(b);
|
|
3049
|
+
c = Fd(c);
|
|
3029
3050
|
a(b, c, null, d);
|
|
3030
|
-
}, _emval_decref:
|
|
3031
|
-
var c =
|
|
3051
|
+
}, _emval_decref:td, _emval_get_method_caller:function(a, b) {
|
|
3052
|
+
var c = Id(a, b), d = c[0];
|
|
3032
3053
|
b = d.name + "_$" + c.slice(1).map(function(g) {
|
|
3033
3054
|
return g.name;
|
|
3034
3055
|
}).join("_") + "$";
|
|
3035
|
-
var e =
|
|
3056
|
+
var e = Jd[b];
|
|
3036
3057
|
if (void 0 !== e) {
|
|
3037
3058
|
return e;
|
|
3038
3059
|
}
|
|
3039
3060
|
var f = Array(a - 1);
|
|
3040
|
-
e =
|
|
3061
|
+
e = Hd((g, n, p, l) => {
|
|
3041
3062
|
for (var u = 0, v = 0; v < a - 1; ++v) {
|
|
3042
3063
|
f[v] = c[v + 1].readValueFromPointer(l + u), u += c[v + 1].argPackAdvance;
|
|
3043
3064
|
}
|
|
3044
|
-
g = g[
|
|
3065
|
+
g = g[n].apply(g, f);
|
|
3045
3066
|
for (v = 0; v < a - 1; ++v) {
|
|
3046
3067
|
c[v + 1].Rb && c[v + 1].Rb(f[v]);
|
|
3047
3068
|
}
|
|
3048
3069
|
if (!d.mc) {
|
|
3049
|
-
return d.toWireType(
|
|
3070
|
+
return d.toWireType(p, g);
|
|
3050
3071
|
}
|
|
3051
3072
|
});
|
|
3052
|
-
return
|
|
3073
|
+
return Jd[b] = e;
|
|
3053
3074
|
}, _emval_get_module_property:function(a) {
|
|
3054
|
-
a =
|
|
3055
|
-
return
|
|
3075
|
+
a = Fd(a);
|
|
3076
|
+
return sc(m[a]);
|
|
3056
3077
|
}, _emval_get_property:function(a, b) {
|
|
3057
|
-
a =
|
|
3058
|
-
b =
|
|
3059
|
-
return
|
|
3078
|
+
a = rc(a);
|
|
3079
|
+
b = rc(b);
|
|
3080
|
+
return sc(a[b]);
|
|
3060
3081
|
}, _emval_incref:function(a) {
|
|
3061
|
-
4 < a && (
|
|
3082
|
+
4 < a && (pc.get(a).ub += 1);
|
|
3062
3083
|
}, _emval_new_cstring:function(a) {
|
|
3063
|
-
return
|
|
3084
|
+
return sc(Fd(a));
|
|
3064
3085
|
}, _emval_new_object:function() {
|
|
3065
|
-
return
|
|
3086
|
+
return sc({});
|
|
3066
3087
|
}, _emval_run_destructors:function(a) {
|
|
3067
|
-
var b =
|
|
3068
|
-
|
|
3069
|
-
|
|
3088
|
+
var b = rc(a);
|
|
3089
|
+
Rc(b);
|
|
3090
|
+
td(a);
|
|
3070
3091
|
}, _emval_set_property:function(a, b, c) {
|
|
3071
|
-
a =
|
|
3072
|
-
b =
|
|
3073
|
-
c =
|
|
3092
|
+
a = rc(a);
|
|
3093
|
+
b = rc(b);
|
|
3094
|
+
c = rc(c);
|
|
3074
3095
|
a[b] = c;
|
|
3075
3096
|
}, _emval_take_value:function(a, b) {
|
|
3076
|
-
a =
|
|
3097
|
+
a = Fc(a, "_emval_take_value");
|
|
3077
3098
|
a = a.readValueFromPointer(b);
|
|
3078
|
-
return
|
|
3099
|
+
return sc(a);
|
|
3079
3100
|
}, abort:() => {
|
|
3080
|
-
|
|
3101
|
+
za("");
|
|
3081
3102
|
}, emscripten_asm_const_int:(a, b, c) => {
|
|
3082
|
-
|
|
3103
|
+
Kd.length = 0;
|
|
3083
3104
|
var d;
|
|
3084
3105
|
for (c >>= 2; d = C[b++];) {
|
|
3085
|
-
c += 105 != d & c,
|
|
3106
|
+
c += 105 != d & c, Kd.push(105 == d ? F[c] : Ga[c++ >> 1]), ++c;
|
|
3086
3107
|
}
|
|
3087
|
-
return
|
|
3108
|
+
return bb[a].apply(null, Kd);
|
|
3088
3109
|
}, emscripten_memcpy_big:(a, b, c) => C.copyWithin(a, b, b + c), emscripten_resize_heap:a => {
|
|
3089
3110
|
var b = C.length;
|
|
3090
3111
|
a >>>= 0;
|
|
@@ -3097,10 +3118,10 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3097
3118
|
var e = Math;
|
|
3098
3119
|
d = Math.max(a, d);
|
|
3099
3120
|
a: {
|
|
3100
|
-
e = e.min.call(e, 2147483648, d + (65536 - d % 65536) % 65536) -
|
|
3121
|
+
e = e.min.call(e, 2147483648, d + (65536 - d % 65536) % 65536) - Aa.buffer.byteLength + 65535 >>> 16;
|
|
3101
3122
|
try {
|
|
3102
|
-
|
|
3103
|
-
|
|
3123
|
+
Aa.grow(e);
|
|
3124
|
+
Ha();
|
|
3104
3125
|
var f = 1;
|
|
3105
3126
|
break a;
|
|
3106
3127
|
} catch (g) {
|
|
@@ -3114,7 +3135,7 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3114
3135
|
return !1;
|
|
3115
3136
|
}, environ_get:(a, b) => {
|
|
3116
3137
|
var c = 0;
|
|
3117
|
-
|
|
3138
|
+
Nd().forEach(function(d, e) {
|
|
3118
3139
|
var f = b + c;
|
|
3119
3140
|
e = G[a + 4 * e >> 2] = f;
|
|
3120
3141
|
for (f = 0; f < d.length; ++f) {
|
|
@@ -3125,7 +3146,7 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3125
3146
|
});
|
|
3126
3147
|
return 0;
|
|
3127
3148
|
}, environ_sizes_get:(a, b) => {
|
|
3128
|
-
var c =
|
|
3149
|
+
var c = Nd();
|
|
3129
3150
|
G[a >> 2] = c.length;
|
|
3130
3151
|
var d = 0;
|
|
3131
3152
|
c.forEach(function(e) {
|
|
@@ -3135,7 +3156,7 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3135
3156
|
return 0;
|
|
3136
3157
|
}, fd_close:function(a) {
|
|
3137
3158
|
try {
|
|
3138
|
-
var b =
|
|
3159
|
+
var b = Rb(a);
|
|
3139
3160
|
if (null === b.Z) {
|
|
3140
3161
|
throw new Q(8);
|
|
3141
3162
|
}
|
|
@@ -3145,12 +3166,12 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3145
3166
|
} catch (c) {
|
|
3146
3167
|
throw c;
|
|
3147
3168
|
} finally {
|
|
3148
|
-
|
|
3169
|
+
Eb[b.Z] = null;
|
|
3149
3170
|
}
|
|
3150
3171
|
b.Z = null;
|
|
3151
3172
|
return 0;
|
|
3152
3173
|
} catch (c) {
|
|
3153
|
-
if ("undefined" == typeof
|
|
3174
|
+
if ("undefined" == typeof jc || "ErrnoError" !== c.name) {
|
|
3154
3175
|
throw c;
|
|
3155
3176
|
}
|
|
3156
3177
|
return c.Y;
|
|
@@ -3158,12 +3179,12 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3158
3179
|
}, fd_read:function(a, b, c, d) {
|
|
3159
3180
|
try {
|
|
3160
3181
|
a: {
|
|
3161
|
-
var e =
|
|
3182
|
+
var e = Rb(a);
|
|
3162
3183
|
a = b;
|
|
3163
3184
|
for (var f, g = b = 0; g < c; g++) {
|
|
3164
|
-
var
|
|
3185
|
+
var n = G[a >> 2], p = G[a + 4 >> 2];
|
|
3165
3186
|
a += 8;
|
|
3166
|
-
var l = e, u =
|
|
3187
|
+
var l = e, u = n, v = p, y = f, k = A;
|
|
3167
3188
|
if (0 > v || 0 > y) {
|
|
3168
3189
|
throw new Q(28);
|
|
3169
3190
|
}
|
|
@@ -3193,7 +3214,7 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3193
3214
|
break a;
|
|
3194
3215
|
}
|
|
3195
3216
|
b += B;
|
|
3196
|
-
if (B <
|
|
3217
|
+
if (B < p) {
|
|
3197
3218
|
break;
|
|
3198
3219
|
}
|
|
3199
3220
|
"undefined" !== typeof f && (f += B);
|
|
@@ -3203,7 +3224,7 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3203
3224
|
G[d >> 2] = E;
|
|
3204
3225
|
return 0;
|
|
3205
3226
|
} catch (w) {
|
|
3206
|
-
if ("undefined" == typeof
|
|
3227
|
+
if ("undefined" == typeof jc || "ErrnoError" !== w.name) {
|
|
3207
3228
|
throw w;
|
|
3208
3229
|
}
|
|
3209
3230
|
return w.Y;
|
|
@@ -3214,15 +3235,15 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3214
3235
|
if (isNaN(b)) {
|
|
3215
3236
|
return 61;
|
|
3216
3237
|
}
|
|
3217
|
-
var f =
|
|
3218
|
-
|
|
3238
|
+
var f = Rb(a);
|
|
3239
|
+
ec(f, b, d);
|
|
3219
3240
|
P = [f.position >>> 0, (N = f.position, 1.0 <= +Math.abs(N) ? 0.0 < N ? +Math.floor(N / 4294967296.0) >>> 0 : ~~+Math.ceil((N - +(~~N >>> 0)) / 4294967296.0) >>> 0 : 0)];
|
|
3220
3241
|
F[e >> 2] = P[0];
|
|
3221
3242
|
F[e + 4 >> 2] = P[1];
|
|
3222
3243
|
f.Na && 0 === b && 0 === d && (f.Na = null);
|
|
3223
3244
|
return 0;
|
|
3224
3245
|
} catch (g) {
|
|
3225
|
-
if ("undefined" == typeof
|
|
3246
|
+
if ("undefined" == typeof jc || "ErrnoError" !== g.name) {
|
|
3226
3247
|
throw g;
|
|
3227
3248
|
}
|
|
3228
3249
|
return g.Y;
|
|
@@ -3230,12 +3251,12 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3230
3251
|
}, fd_write:function(a, b, c, d) {
|
|
3231
3252
|
try {
|
|
3232
3253
|
a: {
|
|
3233
|
-
var e =
|
|
3254
|
+
var e = Rb(a);
|
|
3234
3255
|
a = b;
|
|
3235
3256
|
for (var f, g = b = 0; g < c; g++) {
|
|
3236
|
-
var
|
|
3257
|
+
var n = G[a >> 2], p = G[a + 4 >> 2];
|
|
3237
3258
|
a += 8;
|
|
3238
|
-
var l = e, u =
|
|
3259
|
+
var l = e, u = n, v = p, y = f, k = A;
|
|
3239
3260
|
if (0 > v || 0 > y) {
|
|
3240
3261
|
throw new Q(28);
|
|
3241
3262
|
}
|
|
@@ -3251,7 +3272,7 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3251
3272
|
if (!l.m.write) {
|
|
3252
3273
|
throw new Q(28);
|
|
3253
3274
|
}
|
|
3254
|
-
l.seekable && l.flags & 1024 &&
|
|
3275
|
+
l.seekable && l.flags & 1024 && ec(l, 0, 2);
|
|
3255
3276
|
var t = "undefined" != typeof y;
|
|
3256
3277
|
if (!t) {
|
|
3257
3278
|
y = l.position;
|
|
@@ -3273,66 +3294,102 @@ var Rd = {__syscall_fcntl64:function(a, b, c) {
|
|
|
3273
3294
|
G[d >> 2] = E;
|
|
3274
3295
|
return 0;
|
|
3275
3296
|
} catch (w) {
|
|
3276
|
-
if ("undefined" == typeof
|
|
3297
|
+
if ("undefined" == typeof jc || "ErrnoError" !== w.name) {
|
|
3277
3298
|
throw w;
|
|
3278
3299
|
}
|
|
3279
3300
|
return w.Y;
|
|
3280
3301
|
}
|
|
3281
|
-
}, strftime_l:(a, b, c, d) =>
|
|
3302
|
+
}, strftime_l:(a, b, c, d) => Rd(a, b, c, d)};
|
|
3282
3303
|
(function() {
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3304
|
+
function a(c) {
|
|
3305
|
+
x = c = c.exports;
|
|
3306
|
+
Aa = x.memory;
|
|
3307
|
+
Ha();
|
|
3308
|
+
Ka = x.__indirect_function_table;
|
|
3309
|
+
Ma.unshift(x.__wasm_call_ctors);
|
|
3310
|
+
Pa--;
|
|
3311
|
+
m.monitorRunDependencies && m.monitorRunDependencies(Pa);
|
|
3312
|
+
if (0 == Pa && (null !== Qa && (clearInterval(Qa), Qa = null), Ra)) {
|
|
3313
|
+
var d = Ra;
|
|
3314
|
+
Ra = null;
|
|
3315
|
+
d();
|
|
3316
|
+
}
|
|
3317
|
+
return c;
|
|
3318
|
+
}
|
|
3319
|
+
var b = {env:Wd, wasi_snapshot_preview1:Wd,};
|
|
3320
|
+
Pa++;
|
|
3321
|
+
m.monitorRunDependencies && m.monitorRunDependencies(Pa);
|
|
3322
|
+
if (m.instantiateWasm) {
|
|
3323
|
+
try {
|
|
3324
|
+
return m.instantiateWasm(b, a);
|
|
3325
|
+
} catch (c) {
|
|
3326
|
+
ua("Module.instantiateWasm callback failed with error: " + c), ba(c);
|
|
3327
|
+
}
|
|
3328
|
+
}
|
|
3329
|
+
Ya(b, function(c) {
|
|
3330
|
+
a(c.instance);
|
|
3293
3331
|
}).catch(ba);
|
|
3294
3332
|
return {};
|
|
3295
3333
|
})();
|
|
3296
|
-
var
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
var
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
var
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3334
|
+
var Ec = a => (Ec = x.free)(a), Vd = a => (Vd = x.malloc)(a), Za = m._ma_device__on_notification_unlocked = a => (Za = m._ma_device__on_notification_unlocked = x.ma_device__on_notification_unlocked)(a);
|
|
3335
|
+
m._ma_malloc_emscripten = (a, b) => (m._ma_malloc_emscripten = x.ma_malloc_emscripten)(a, b);
|
|
3336
|
+
m._ma_free_emscripten = (a, b) => (m._ma_free_emscripten = x.ma_free_emscripten)(a, b);
|
|
3337
|
+
var $a = m._ma_device_process_pcm_frames_capture__webaudio = (a, b, c) => ($a = m._ma_device_process_pcm_frames_capture__webaudio = x.ma_device_process_pcm_frames_capture__webaudio)(a, b, c), ab = m._ma_device_process_pcm_frames_playback__webaudio = (a, b, c) => (ab = m._ma_device_process_pcm_frames_playback__webaudio = x.ma_device_process_pcm_frames_playback__webaudio)(a, b, c), Ud = () => (Ud = x.__errno_location)(), Dc = a => (Dc = x.__getTypeName)(a);
|
|
3338
|
+
m.__embind_initialize_bindings = () => (m.__embind_initialize_bindings = x._embind_initialize_bindings)();
|
|
3339
|
+
m.dynCall_iiji = (a, b, c, d, e) => (m.dynCall_iiji = x.dynCall_iiji)(a, b, c, d, e);
|
|
3340
|
+
m.dynCall_iiiji = (a, b, c, d, e, f) => (m.dynCall_iiiji = x.dynCall_iiiji)(a, b, c, d, e, f);
|
|
3341
|
+
m.dynCall_jiji = (a, b, c, d, e) => (m.dynCall_jiji = x.dynCall_jiji)(a, b, c, d, e);
|
|
3342
|
+
m.dynCall_iij = (a, b, c, d) => (m.dynCall_iij = x.dynCall_iij)(a, b, c, d);
|
|
3343
|
+
m.dynCall_jii = (a, b, c) => (m.dynCall_jii = x.dynCall_jii)(a, b, c);
|
|
3344
|
+
m.dynCall_viijii = (a, b, c, d, e, f, g) => (m.dynCall_viijii = x.dynCall_viijii)(a, b, c, d, e, f, g);
|
|
3345
|
+
m.dynCall_iiiiij = (a, b, c, d, e, f, g) => (m.dynCall_iiiiij = x.dynCall_iiiiij)(a, b, c, d, e, f, g);
|
|
3346
|
+
m.dynCall_iiiiijj = (a, b, c, d, e, f, g, n, p) => (m.dynCall_iiiiijj = x.dynCall_iiiiijj)(a, b, c, d, e, f, g, n, p);
|
|
3347
|
+
m.dynCall_iiiiiijj = (a, b, c, d, e, f, g, n, p, l) => (m.dynCall_iiiiiijj = x.dynCall_iiiiiijj)(a, b, c, d, e, f, g, n, p, l);
|
|
3348
|
+
var Xd;
|
|
3349
|
+
Ra = function Yd() {
|
|
3350
|
+
Xd || Zd();
|
|
3351
|
+
Xd || (Ra = Yd);
|
|
3314
3352
|
};
|
|
3315
|
-
function
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3353
|
+
function Zd() {
|
|
3354
|
+
function a() {
|
|
3355
|
+
if (!Xd && (Xd = !0, m.calledRun = !0, !Ba)) {
|
|
3356
|
+
m.noFSInit || gc || (gc = !0, fc(), m.stdin = m.stdin, m.stdout = m.stdout, m.stderr = m.stderr, m.stdin ? ic("stdin", m.stdin) : Xb("/dev/tty", "/dev/stdin"), m.stdout ? ic("stdout", null, m.stdout) : Xb("/dev/tty", "/dev/stdout"), m.stderr ? ic("stderr", null, m.stderr) : Xb("/dev/tty1", "/dev/stderr"), dc("/dev/stdin", 0), dc("/dev/stdout", 1), dc("/dev/stderr", 1));
|
|
3357
|
+
Hb = !1;
|
|
3358
|
+
cb(Ma);
|
|
3359
|
+
aa(m);
|
|
3360
|
+
if (m.onRuntimeInitialized) {
|
|
3361
|
+
m.onRuntimeInitialized();
|
|
3324
3362
|
}
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3363
|
+
if (m.postRun) {
|
|
3364
|
+
for ("function" == typeof m.postRun && (m.postRun = [m.postRun]); m.postRun.length;) {
|
|
3365
|
+
var b = m.postRun.shift();
|
|
3366
|
+
Na.unshift(b);
|
|
3367
|
+
}
|
|
3328
3368
|
}
|
|
3329
|
-
|
|
3330
|
-
|
|
3369
|
+
cb(Na);
|
|
3370
|
+
}
|
|
3371
|
+
}
|
|
3372
|
+
if (!(0 < Pa)) {
|
|
3373
|
+
if (m.preRun) {
|
|
3374
|
+
for ("function" == typeof m.preRun && (m.preRun = [m.preRun]); m.preRun.length;) {
|
|
3375
|
+
Oa();
|
|
3331
3376
|
}
|
|
3332
3377
|
}
|
|
3378
|
+
cb(La);
|
|
3379
|
+
0 < Pa || (m.setStatus ? (m.setStatus("Running..."), setTimeout(function() {
|
|
3380
|
+
setTimeout(function() {
|
|
3381
|
+
m.setStatus("");
|
|
3382
|
+
}, 1);
|
|
3383
|
+
a();
|
|
3384
|
+
}, 1)) : a());
|
|
3385
|
+
}
|
|
3386
|
+
}
|
|
3387
|
+
if (m.preInit) {
|
|
3388
|
+
for ("function" == typeof m.preInit && (m.preInit = [m.preInit]); 0 < m.preInit.length;) {
|
|
3389
|
+
m.preInit.pop()();
|
|
3333
3390
|
}
|
|
3334
3391
|
}
|
|
3335
|
-
|
|
3392
|
+
Zd();
|
|
3336
3393
|
|
|
3337
3394
|
|
|
3338
3395
|
|
|
@@ -3347,7 +3404,7 @@ Ud();
|
|
|
3347
3404
|
/* 2 */
|
|
3348
3405
|
/***/ ((module) => {
|
|
3349
3406
|
|
|
3350
|
-
module.exports = JSON.parse('{"name":"@rive-app/canvas","version":"2.11.
|
|
3407
|
+
module.exports = JSON.parse('{"name":"@rive-app/canvas","version":"2.11.1","description":"Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <luigi@rive.app> (https://rive.app)","Maxwell Talbot <max@rive.app> (https://rive.app)","Arthur Vivian <arthur@rive.app> (https://rive.app)","Umberto Sonnino <umberto@rive.app> (https://rive.app)","Matthew Sullivan <matt.j.sullivan@gmail.com> (mailto:matt.j.sullivan@gmail.com)"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}');
|
|
3351
3408
|
|
|
3352
3409
|
/***/ }),
|
|
3353
3410
|
/* 3 */
|