vue-data-ui 2.1.23 → 2.1.24
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.
|
@@ -3635,10 +3635,10 @@ var Hp = 1, sc = 2, ic = 3, Qh = 4, Mh = 5, Pp = 7, Eh = 8, Ac = 9, uc = 10, Ih
|
|
|
3635
3635
|
} else if (b.name === "counters") {
|
|
3636
3636
|
var C = b.values.filter(Yn), i = C[0], P = C[1], A = C[2];
|
|
3637
3637
|
if (i && al(i)) {
|
|
3638
|
-
var W = a.counters.getCounterValues(i.value), oe = A && al(A) ? Oc.parse(a.context, A.value) : 3, J = P && P.type === 0 ? P.value : "",
|
|
3638
|
+
var W = a.counters.getCounterValues(i.value), oe = A && al(A) ? Oc.parse(a.context, A.value) : 3, J = P && P.type === 0 ? P.value : "", G = W.map(function(V) {
|
|
3639
3639
|
return ei(V, oe, !1);
|
|
3640
3640
|
}).join(J);
|
|
3641
|
-
v.appendChild(s.createTextNode(
|
|
3641
|
+
v.appendChild(s.createTextNode(G));
|
|
3642
3642
|
}
|
|
3643
3643
|
}
|
|
3644
3644
|
} else if (b.type === 20)
|
|
@@ -3864,8 +3864,8 @@ var _2 = function(e, t) {
|
|
|
3864
3864
|
A.push((a + u) / r.width), A.push((d + b) / r.width), A.push((n + i) / r.height), A.push((v + p) / r.height);
|
|
3865
3865
|
var x = Math.max.apply(Math, A);
|
|
3866
3866
|
x > 1 && (a /= x, n /= x, u /= x, v /= x, b /= x, p /= x, d /= x, i /= x);
|
|
3867
|
-
var U = r.width - u, C = r.height - p, P = r.width - b, W = r.height - i, oe = l.borderTopWidth, J = l.borderRightWidth,
|
|
3868
|
-
this.topLeftBorderDoubleOuterBox = a > 0 || n > 0 ? gl(r.left + ye / 3, r.top + oe / 3, a - ye / 3, n - oe / 3, Yt.TOP_LEFT) : new ct(r.left + ye / 3, r.top + oe / 3), this.topRightBorderDoubleOuterBox = a > 0 || n > 0 ? gl(r.left + U, r.top + oe / 3, u - J / 3, v - oe / 3, Yt.TOP_RIGHT) : new ct(r.left + r.width - J / 3, r.top + oe / 3), this.bottomRightBorderDoubleOuterBox = b > 0 || p > 0 ? gl(r.left + P, r.top + C, b - J / 3, p -
|
|
3867
|
+
var U = r.width - u, C = r.height - p, P = r.width - b, W = r.height - i, oe = l.borderTopWidth, J = l.borderRightWidth, G = l.borderBottomWidth, ye = l.borderLeftWidth, ve = ul(l.paddingTop, t.bounds.width), V = ul(l.paddingRight, t.bounds.width), R = ul(l.paddingBottom, t.bounds.width), K = ul(l.paddingLeft, t.bounds.width);
|
|
3868
|
+
this.topLeftBorderDoubleOuterBox = a > 0 || n > 0 ? gl(r.left + ye / 3, r.top + oe / 3, a - ye / 3, n - oe / 3, Yt.TOP_LEFT) : new ct(r.left + ye / 3, r.top + oe / 3), this.topRightBorderDoubleOuterBox = a > 0 || n > 0 ? gl(r.left + U, r.top + oe / 3, u - J / 3, v - oe / 3, Yt.TOP_RIGHT) : new ct(r.left + r.width - J / 3, r.top + oe / 3), this.bottomRightBorderDoubleOuterBox = b > 0 || p > 0 ? gl(r.left + P, r.top + C, b - J / 3, p - G / 3, Yt.BOTTOM_RIGHT) : new ct(r.left + r.width - J / 3, r.top + r.height - G / 3), this.bottomLeftBorderDoubleOuterBox = d > 0 || i > 0 ? gl(r.left + ye / 3, r.top + W, d - ye / 3, i - G / 3, Yt.BOTTOM_LEFT) : new ct(r.left + ye / 3, r.top + r.height - G / 3), this.topLeftBorderDoubleInnerBox = a > 0 || n > 0 ? gl(r.left + ye * 2 / 3, r.top + oe * 2 / 3, a - ye * 2 / 3, n - oe * 2 / 3, Yt.TOP_LEFT) : new ct(r.left + ye * 2 / 3, r.top + oe * 2 / 3), this.topRightBorderDoubleInnerBox = a > 0 || n > 0 ? gl(r.left + U, r.top + oe * 2 / 3, u - J * 2 / 3, v - oe * 2 / 3, Yt.TOP_RIGHT) : new ct(r.left + r.width - J * 2 / 3, r.top + oe * 2 / 3), this.bottomRightBorderDoubleInnerBox = b > 0 || p > 0 ? gl(r.left + P, r.top + C, b - J * 2 / 3, p - G * 2 / 3, Yt.BOTTOM_RIGHT) : new ct(r.left + r.width - J * 2 / 3, r.top + r.height - G * 2 / 3), this.bottomLeftBorderDoubleInnerBox = d > 0 || i > 0 ? gl(r.left + ye * 2 / 3, r.top + W, d - ye * 2 / 3, i - G * 2 / 3, Yt.BOTTOM_LEFT) : new ct(r.left + ye * 2 / 3, r.top + r.height - G * 2 / 3), this.topLeftBorderStroke = a > 0 || n > 0 ? gl(r.left + ye / 2, r.top + oe / 2, a - ye / 2, n - oe / 2, Yt.TOP_LEFT) : new ct(r.left + ye / 2, r.top + oe / 2), this.topRightBorderStroke = a > 0 || n > 0 ? gl(r.left + U, r.top + oe / 2, u - J / 2, v - oe / 2, Yt.TOP_RIGHT) : new ct(r.left + r.width - J / 2, r.top + oe / 2), this.bottomRightBorderStroke = b > 0 || p > 0 ? gl(r.left + P, r.top + C, b - J / 2, p - G / 2, Yt.BOTTOM_RIGHT) : new ct(r.left + r.width - J / 2, r.top + r.height - G / 2), this.bottomLeftBorderStroke = d > 0 || i > 0 ? gl(r.left + ye / 2, r.top + W, d - ye / 2, i - G / 2, Yt.BOTTOM_LEFT) : new ct(r.left + ye / 2, r.top + r.height - G / 2), this.topLeftBorderBox = a > 0 || n > 0 ? gl(r.left, r.top, a, n, Yt.TOP_LEFT) : new ct(r.left, r.top), this.topRightBorderBox = u > 0 || v > 0 ? gl(r.left + U, r.top, u, v, Yt.TOP_RIGHT) : new ct(r.left + r.width, r.top), this.bottomRightBorderBox = b > 0 || p > 0 ? gl(r.left + P, r.top + C, b, p, Yt.BOTTOM_RIGHT) : new ct(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = d > 0 || i > 0 ? gl(r.left, r.top + W, d, i, Yt.BOTTOM_LEFT) : new ct(r.left, r.top + r.height), this.topLeftPaddingBox = a > 0 || n > 0 ? gl(r.left + ye, r.top + oe, Math.max(0, a - ye), Math.max(0, n - oe), Yt.TOP_LEFT) : new ct(r.left + ye, r.top + oe), this.topRightPaddingBox = u > 0 || v > 0 ? gl(r.left + Math.min(U, r.width - J), r.top + oe, U > r.width + J ? 0 : Math.max(0, u - J), Math.max(0, v - oe), Yt.TOP_RIGHT) : new ct(r.left + r.width - J, r.top + oe), this.bottomRightPaddingBox = b > 0 || p > 0 ? gl(r.left + Math.min(P, r.width - ye), r.top + Math.min(C, r.height - G), Math.max(0, b - J), Math.max(0, p - G), Yt.BOTTOM_RIGHT) : new ct(r.left + r.width - J, r.top + r.height - G), this.bottomLeftPaddingBox = d > 0 || i > 0 ? gl(r.left + ye, r.top + Math.min(W, r.height - G), Math.max(0, d - ye), Math.max(0, i - G), Yt.BOTTOM_LEFT) : new ct(r.left + ye, r.top + r.height - G), this.topLeftContentBox = a > 0 || n > 0 ? gl(r.left + ye + K, r.top + oe + ve, Math.max(0, a - (ye + K)), Math.max(0, n - (oe + ve)), Yt.TOP_LEFT) : new ct(r.left + ye + K, r.top + oe + ve), this.topRightContentBox = u > 0 || v > 0 ? gl(r.left + Math.min(U, r.width + ye + K), r.top + oe + ve, U > r.width + ye + K ? 0 : u - ye + K, v - (oe + ve), Yt.TOP_RIGHT) : new ct(r.left + r.width - (J + V), r.top + oe + ve), this.bottomRightContentBox = b > 0 || p > 0 ? gl(r.left + Math.min(P, r.width - (ye + K)), r.top + Math.min(C, r.height + oe + ve), Math.max(0, b - (J + V)), p - (G + R), Yt.BOTTOM_RIGHT) : new ct(r.left + r.width - (J + V), r.top + r.height - (G + R)), this.bottomLeftContentBox = d > 0 || i > 0 ? gl(r.left + ye + K, r.top + W, Math.max(0, d - (ye + K)), i - (G + R), Yt.BOTTOM_LEFT) : new ct(r.left + ye + K, r.top + r.height - (G + R));
|
|
3869
3869
|
}
|
|
3870
3870
|
return e;
|
|
3871
3871
|
}()
|
|
@@ -4564,7 +4564,7 @@ var gl = function(e, t, l, r, o) {
|
|
|
4564
4564
|
switch (v.label) {
|
|
4565
4565
|
case 0:
|
|
4566
4566
|
r = l.styles.backgroundImage.length - 1, o = function(g) {
|
|
4567
|
-
var b, p, m, ve, _e, re, K, Z,
|
|
4567
|
+
var b, p, m, ve, _e, re, K, Z, G, d, ve, _e, re, K, Z, i, A, x, U, C, P, W, oe, J, G, ye, ve, V, R, K, Z, pe, _e, re, X, j, ee, Ae, S, M, k, F;
|
|
4568
4568
|
return ha(this, function(Q) {
|
|
4569
4569
|
switch (Q.label) {
|
|
4570
4570
|
case 0:
|
|
@@ -4582,15 +4582,15 @@ var gl = function(e, t, l, r, o) {
|
|
|
4582
4582
|
b.width,
|
|
4583
4583
|
b.height,
|
|
4584
4584
|
b.width / b.height
|
|
4585
|
-
]), ve = m[0], _e = m[1], re = m[2], K = m[3], Z = m[4],
|
|
4585
|
+
]), ve = m[0], _e = m[1], re = m[2], K = m[3], Z = m[4], G = a.ctx.createPattern(a.resizeImage(b, K, Z), "repeat"), a.renderRepeat(ve, G, _e, re)), [3, 6];
|
|
4586
4586
|
case 5:
|
|
4587
4587
|
X0(g) ? (d = yc(l, r, [null, null, null]), ve = d[0], _e = d[1], re = d[2], K = d[3], Z = d[4], i = V0(g.angle, K, Z), A = i[0], x = i[1], U = i[2], C = i[3], P = i[4], W = document.createElement("canvas"), W.width = K, W.height = Z, oe = W.getContext("2d"), J = oe.createLinearGradient(x, C, U, P), Ch(g.stops, A).forEach(function(z) {
|
|
4588
4588
|
return J.addColorStop(z.stop, Jl(z.color));
|
|
4589
|
-
}), oe.fillStyle = J, oe.fillRect(0, 0, K, Z), K > 0 && Z > 0 && (
|
|
4589
|
+
}), oe.fillStyle = J, oe.fillRect(0, 0, K, Z), K > 0 && Z > 0 && (G = a.ctx.createPattern(W, "repeat"), a.renderRepeat(ve, G, _e, re))) : q0(g) && (ye = yc(l, r, [
|
|
4590
4590
|
null,
|
|
4591
4591
|
null,
|
|
4592
4592
|
null
|
|
4593
|
-
]), ve = ye[0], V = ye[1], R = ye[2], K = ye[3], Z = ye[4], pe = g.position.length === 0 ? [dd] : g.position, _e = ul(pe[0], K), re = ul(pe[pe.length - 1], Z),
|
|
4593
|
+
]), ve = ye[0], V = ye[1], R = ye[2], K = ye[3], Z = ye[4], pe = g.position.length === 0 ? [dd] : g.position, _e = ul(pe[0], K), re = ul(pe[pe.length - 1], Z), X = K0(g, _e, re, K, Z), j = X[0], ee = X[1], j > 0 && ee > 0 && (Ae = a.ctx.createRadialGradient(V + _e, R + re, 0, V + _e, R + re, j), Ch(g.stops, j * 2).forEach(function(z) {
|
|
4594
4594
|
return Ae.addColorStop(z.stop, Jl(z.color));
|
|
4595
4595
|
}), a.path(ve), a.ctx.fillStyle = Ae, j !== ee ? (S = l.bounds.left + 0.5 * l.bounds.width, M = l.bounds.top + 0.5 * l.bounds.height, k = ee / j, F = 1 / k, a.ctx.save(), a.ctx.translate(S, M), a.ctx.transform(1, 0, 0, k, 0, 0), a.ctx.translate(-S, -M), a.ctx.fillRect(V, F * (R - M) + M, K, Z * F), a.ctx.restore()) : a.ctx.fill())), Q.label = 6;
|
|
4596
4596
|
case 6:
|
|
@@ -4830,7 +4830,7 @@ var gl = function(e, t, l, r, o) {
|
|
|
4830
4830
|
typeof window < "u" && Fv.setContext(window);
|
|
4831
4831
|
var bb = function(e, t) {
|
|
4832
4832
|
return ga(void 0, void 0, void 0, function() {
|
|
4833
|
-
var l, r, o, a, n, s, u, v, g, b, p, m, d, i, A, x, U, C, P, W, J, oe, J,
|
|
4833
|
+
var l, r, o, a, n, s, u, v, g, b, p, m, d, i, A, x, U, C, P, W, J, oe, J, G, ye, ve, V, R, K, Z, pe, _e, re, X, j, ee, Ae, S, M, k;
|
|
4834
4834
|
return ha(this, function(F) {
|
|
4835
4835
|
switch (F.label) {
|
|
4836
4836
|
case 0:
|
|
@@ -4841,7 +4841,7 @@ var bb = function(e, t) {
|
|
|
4841
4841
|
if (r = l.defaultView, !r)
|
|
4842
4842
|
throw new Error("Document is not attached to a Window");
|
|
4843
4843
|
return o = {
|
|
4844
|
-
allowTaint: (
|
|
4844
|
+
allowTaint: (G = t.allowTaint) !== null && G !== void 0 ? G : !1,
|
|
4845
4845
|
imageTimeout: (ye = t.imageTimeout) !== null && ye !== void 0 ? ye : 15e3,
|
|
4846
4846
|
proxy: t.proxy,
|
|
4847
4847
|
useCORS: (ve = t.useCORS) !== null && ve !== void 0 ? ve : !1
|
|
@@ -4861,7 +4861,7 @@ var bb = function(e, t) {
|
|
|
4861
4861
|
return m = F.sent(), d = yd(p) || w2(p) ? Y1(p.ownerDocument) : jA(u, p), i = d.width, A = d.height, x = d.left, U = d.top, C = mb(u, p, t.backgroundColor), P = {
|
|
4862
4862
|
canvas: t.canvas,
|
|
4863
4863
|
backgroundColor: C,
|
|
4864
|
-
scale: (j = (
|
|
4864
|
+
scale: (j = (X = t.scale) !== null && X !== void 0 ? X : r.devicePixelRatio) !== null && j !== void 0 ? j : 1,
|
|
4865
4865
|
x: ((ee = t.x) !== null && ee !== void 0 ? ee : 0) + x,
|
|
4866
4866
|
y: ((Ae = t.y) !== null && Ae !== void 0 ? Ae : 0) + U,
|
|
4867
4867
|
width: (S = t.width) !== null && S !== void 0 ? S : Math.ceil(i),
|
|
@@ -5043,22 +5043,22 @@ var Cb = /* @__PURE__ */ Uo($r, 9, 0), kb = /* @__PURE__ */ Uo($r, 9, 1), Bb = /
|
|
|
5043
5043
|
else if (i == 2) {
|
|
5044
5044
|
var C = Ao(e, u, 31) + 257, P = Ao(e, u + 10, 15) + 4, W = C + Ao(e, u + 5, 31) + 1;
|
|
5045
5045
|
u += 14;
|
|
5046
|
-
for (var oe = new ya(W), J = new ya(19),
|
|
5047
|
-
J[Yc[
|
|
5046
|
+
for (var oe = new ya(W), J = new ya(19), G = 0; G < P; ++G)
|
|
5047
|
+
J[Yc[G]] = Ao(e, u + G * 3, 7);
|
|
5048
5048
|
u += P * 3;
|
|
5049
5049
|
var ye = pc(J), ve = (1 << ye) - 1;
|
|
5050
5050
|
if (!a && u + W * (ye + 7) > d)
|
|
5051
5051
|
break;
|
|
5052
|
-
for (var V = Uo(J, ye, 1),
|
|
5052
|
+
for (var V = Uo(J, ye, 1), G = 0; G < W; ) {
|
|
5053
5053
|
var R = V[Ao(e, u, ve)];
|
|
5054
5054
|
u += R & 15;
|
|
5055
5055
|
var A = R >>> 4;
|
|
5056
5056
|
if (A < 16)
|
|
5057
|
-
oe[
|
|
5057
|
+
oe[G++] = A;
|
|
5058
5058
|
else {
|
|
5059
5059
|
var K = 0, Z = 0;
|
|
5060
|
-
for (A == 16 ? (Z = 3 + Ao(e, u, 3), u += 2, K = oe[
|
|
5061
|
-
oe[
|
|
5060
|
+
for (A == 16 ? (Z = 3 + Ao(e, u, 3), u += 2, K = oe[G - 1]) : A == 17 ? (Z = 3 + Ao(e, u, 7), u += 3) : A == 18 && (Z = 11 + Ao(e, u, 127), u += 7); Z--; )
|
|
5061
|
+
oe[G++] = K;
|
|
5062
5062
|
}
|
|
5063
5063
|
}
|
|
5064
5064
|
var pe = oe.subarray(0, C), _e = oe.subarray(C);
|
|
@@ -5079,7 +5079,7 @@ var Cb = /* @__PURE__ */ Uo($r, 9, 0), kb = /* @__PURE__ */ Uo($r, 9, 1), Bb = /
|
|
|
5079
5079
|
throw "unexpected EOF";
|
|
5080
5080
|
}
|
|
5081
5081
|
o && n(v + 131072);
|
|
5082
|
-
for (var re = (1 << p) - 1,
|
|
5082
|
+
for (var re = (1 << p) - 1, X = (1 << m) - 1, j = p + m + 18; a || u + j < d; ) {
|
|
5083
5083
|
var K = g[bc(e, u) & re], ee = K >>> 4;
|
|
5084
5084
|
if (u += K & 15, u > d)
|
|
5085
5085
|
throw "unexpected EOF";
|
|
@@ -5093,10 +5093,10 @@ var Cb = /* @__PURE__ */ Uo($r, 9, 0), kb = /* @__PURE__ */ Uo($r, 9, 1), Bb = /
|
|
|
5093
5093
|
} else {
|
|
5094
5094
|
var Ae = ee - 254;
|
|
5095
5095
|
if (ee > 264) {
|
|
5096
|
-
var
|
|
5097
|
-
Ae = Ao(e, u, (1 << S) - 1) + Nv[
|
|
5096
|
+
var G = ee - 257, S = au[G];
|
|
5097
|
+
Ae = Ao(e, u, (1 << S) - 1) + Nv[G], u += S;
|
|
5098
5098
|
}
|
|
5099
|
-
var M = b[bc(e, u) &
|
|
5099
|
+
var M = b[bc(e, u) & X], k = M >>> 4;
|
|
5100
5100
|
if (!M)
|
|
5101
5101
|
throw "invalid distance";
|
|
5102
5102
|
u += M & 15;
|
|
@@ -5202,38 +5202,38 @@ var Cb = /* @__PURE__ */ Uo($r, 9, 0), kb = /* @__PURE__ */ Uo($r, 9, 1), Bb = /
|
|
|
5202
5202
|
return (o + 4 + r) * 8;
|
|
5203
5203
|
}, of = function(e, t, l, r, o, a, n, s, u, v, g) {
|
|
5204
5204
|
Xo(t, g++, l), ++o[256];
|
|
5205
|
-
for (var b = mc(o, 15), p = b[0], m = b[1], d = mc(a, 15), i = d[0], A = d[1], x = af(p), U = x[0], C = x[1], P = af(i), W = P[0], oe = P[1], J = new pa(19),
|
|
5206
|
-
J[U[
|
|
5207
|
-
for (var
|
|
5208
|
-
J[W[
|
|
5205
|
+
for (var b = mc(o, 15), p = b[0], m = b[1], d = mc(a, 15), i = d[0], A = d[1], x = af(p), U = x[0], C = x[1], P = af(i), W = P[0], oe = P[1], J = new pa(19), G = 0; G < U.length; ++G)
|
|
5206
|
+
J[U[G] & 31]++;
|
|
5207
|
+
for (var G = 0; G < W.length; ++G)
|
|
5208
|
+
J[W[G] & 31]++;
|
|
5209
5209
|
for (var ye = mc(J, 7), ve = ye[0], V = ye[1], R = 19; R > 4 && !ve[Yc[R - 1]]; --R)
|
|
5210
5210
|
;
|
|
5211
5211
|
var K = v + 5 << 3, Z = Ts(o, $r) + Ts(a, li) + n, pe = Ts(o, p) + Ts(a, i) + n + 14 + 3 * R + Ts(J, ve) + (2 * J[16] + 3 * J[17] + 7 * J[18]);
|
|
5212
5212
|
if (K <= Z && K <= pe)
|
|
5213
5213
|
return SA(t, g, e.subarray(u, u + v));
|
|
5214
|
-
var _e, re,
|
|
5214
|
+
var _e, re, X, j;
|
|
5215
5215
|
if (Xo(t, g, 1 + (pe < Z)), g += 2, pe < Z) {
|
|
5216
|
-
_e = Uo(p, m, 0), re = p,
|
|
5216
|
+
_e = Uo(p, m, 0), re = p, X = Uo(i, A, 0), j = i;
|
|
5217
5217
|
var ee = Uo(ve, V, 0);
|
|
5218
5218
|
Xo(t, g, C - 257), Xo(t, g + 5, oe - 1), Xo(t, g + 10, R - 4), g += 14;
|
|
5219
|
-
for (var
|
|
5220
|
-
Xo(t, g + 3 *
|
|
5219
|
+
for (var G = 0; G < R; ++G)
|
|
5220
|
+
Xo(t, g + 3 * G, ve[Yc[G]]);
|
|
5221
5221
|
g += 3 * R;
|
|
5222
5222
|
for (var Ae = [U, W], S = 0; S < 2; ++S)
|
|
5223
|
-
for (var M = Ae[S],
|
|
5224
|
-
var k = M[
|
|
5225
|
-
Xo(t, g, ee[k]), g += ve[k], k > 15 && (Xo(t, g, M[
|
|
5223
|
+
for (var M = Ae[S], G = 0; G < M.length; ++G) {
|
|
5224
|
+
var k = M[G] & 31;
|
|
5225
|
+
Xo(t, g, ee[k]), g += ve[k], k > 15 && (Xo(t, g, M[G] >>> 5 & 127), g += M[G] >>> 12);
|
|
5226
5226
|
}
|
|
5227
5227
|
} else
|
|
5228
|
-
_e = Cb, re = $r,
|
|
5229
|
-
for (var
|
|
5230
|
-
if (r[
|
|
5231
|
-
var k = r[
|
|
5232
|
-
Ns(t, g, _e[k + 257]), g += re[k + 257], k > 7 && (Xo(t, g, r[
|
|
5233
|
-
var F = r[
|
|
5234
|
-
Ns(t, g,
|
|
5228
|
+
_e = Cb, re = $r, X = Bb, j = li;
|
|
5229
|
+
for (var G = 0; G < s; ++G)
|
|
5230
|
+
if (r[G] > 255) {
|
|
5231
|
+
var k = r[G] >>> 18 & 31;
|
|
5232
|
+
Ns(t, g, _e[k + 257]), g += re[k + 257], k > 7 && (Xo(t, g, r[G] >>> 23 & 31), g += au[k]);
|
|
5233
|
+
var F = r[G] & 31;
|
|
5234
|
+
Ns(t, g, X[F]), g += j[F], F > 3 && (Ns(t, g, r[G] >>> 5 & 8191), g += ou[F]);
|
|
5235
5235
|
} else
|
|
5236
|
-
Ns(t, g, _e[r[
|
|
5236
|
+
Ns(t, g, _e[r[G]]), g += re[r[G]];
|
|
5237
5237
|
return Ns(t, g, _e[256]), g + re[256];
|
|
5238
5238
|
}, Sb = /* @__PURE__ */ new ti([65540, 131080, 131088, 131104, 262176, 1048704, 1048832, 2114560, 2117632]), Lb = /* @__PURE__ */ new ya(0), $b = function(e, t, l, r, o, a) {
|
|
5239
5239
|
var n = e.length, s = new ya(r + n + 5 * (1 + Math.floor(n / 7e3)) + o), u = s.subarray(r, s.length - o), v = 0;
|
|
@@ -5245,25 +5245,25 @@ var Cb = /* @__PURE__ */ Uo($r, 9, 0), kb = /* @__PURE__ */ Uo($r, 9, 1), Bb = /
|
|
|
5245
5245
|
else {
|
|
5246
5246
|
for (var p = Sb[t - 1], m = p >>> 13, d = p & 8191, i = (1 << l) - 1, A = new pa(32768), x = new pa(i + 1), U = Math.ceil(l / 3), C = 2 * U, P = function(ce) {
|
|
5247
5247
|
return (e[ce] ^ e[ce + 1] << U ^ e[ce + 2] << C) & i;
|
|
5248
|
-
}, W = new ti(25e3), oe = new pa(288), J = new pa(32),
|
|
5248
|
+
}, W = new ti(25e3), oe = new pa(288), J = new pa(32), G = 0, ye = 0, g = 0, ve = 0, V = 0, R = 0; g < n; ++g) {
|
|
5249
5249
|
var K = P(g), Z = g & 32767, pe = x[K];
|
|
5250
5250
|
if (A[Z] = pe, x[K] = Z, V <= g) {
|
|
5251
5251
|
var _e = n - g;
|
|
5252
|
-
if ((
|
|
5253
|
-
v = of(e, u, 0, W, oe, J, ye, ve, R, g - R, v), ve =
|
|
5252
|
+
if ((G > 7e3 || ve > 24576) && _e > 423) {
|
|
5253
|
+
v = of(e, u, 0, W, oe, J, ye, ve, R, g - R, v), ve = G = ye = 0, R = g;
|
|
5254
5254
|
for (var re = 0; re < 286; ++re)
|
|
5255
5255
|
oe[re] = 0;
|
|
5256
5256
|
for (var re = 0; re < 30; ++re)
|
|
5257
5257
|
J[re] = 0;
|
|
5258
5258
|
}
|
|
5259
|
-
var
|
|
5259
|
+
var X = 2, j = 0, ee = d, Ae = Z - pe & 32767;
|
|
5260
5260
|
if (_e > 2 && K == P(g - Ae))
|
|
5261
5261
|
for (var S = Math.min(m, _e) - 1, M = Math.min(32767, g), k = Math.min(258, _e); Ae <= M && --ee && Z != pe; ) {
|
|
5262
|
-
if (e[g +
|
|
5262
|
+
if (e[g + X] == e[g + X - Ae]) {
|
|
5263
5263
|
for (var F = 0; F < k && e[g + F] == e[g + F - Ae]; ++F)
|
|
5264
5264
|
;
|
|
5265
|
-
if (F >
|
|
5266
|
-
if (
|
|
5265
|
+
if (F > X) {
|
|
5266
|
+
if (X = F, j = Ae, F > S)
|
|
5267
5267
|
break;
|
|
5268
5268
|
for (var Q = Math.min(Ae, F - 2), z = 0, re = 0; re < Q; ++re) {
|
|
5269
5269
|
var H = g - Ae + re + 32768 & 32767, q = A[H], te = H - q + 32768 & 32767;
|
|
@@ -5274,9 +5274,9 @@ var Cb = /* @__PURE__ */ Uo($r, 9, 0), kb = /* @__PURE__ */ Uo($r, 9, 1), Bb = /
|
|
|
5274
5274
|
Z = pe, pe = A[Z], Ae += Z - pe + 32768 & 32767;
|
|
5275
5275
|
}
|
|
5276
5276
|
if (j) {
|
|
5277
|
-
W[ve++] = 268435456 | Jc[
|
|
5278
|
-
var ne = Jc[
|
|
5279
|
-
ye += au[ne] + ou[me], ++oe[257 + ne], ++J[me], V = g +
|
|
5277
|
+
W[ve++] = 268435456 | Jc[X] << 18 | lf[j];
|
|
5278
|
+
var ne = Jc[X] & 31, me = lf[j] & 31;
|
|
5279
|
+
ye += au[ne] + ou[me], ++oe[257 + ne], ++J[me], V = g + X, ++G;
|
|
5280
5280
|
} else
|
|
5281
5281
|
W[ve++] = e[g], ++oe[e[g]];
|
|
5282
5282
|
}
|
|
@@ -5697,7 +5697,7 @@ function Ct(e) {
|
|
|
5697
5697
|
}, m.isAdvancedAPI = function() {
|
|
5698
5698
|
return C === U.ADVANCED;
|
|
5699
5699
|
};
|
|
5700
|
-
var J,
|
|
5700
|
+
var J, G = function(B) {
|
|
5701
5701
|
if (C !== U.ADVANCED)
|
|
5702
5702
|
throw new Error(B + " is only available in 'advanced' API mode. You need to call advancedAPI() first.");
|
|
5703
5703
|
}, ye = m.roundToPrecision = m.__private__.roundToPrecision = function(B, ae) {
|
|
@@ -5741,13 +5741,13 @@ function Ct(e) {
|
|
|
5741
5741
|
};
|
|
5742
5742
|
var pe, _e = "00000000000000000000000000000000", re = m.__private__.getFileId = function() {
|
|
5743
5743
|
return _e;
|
|
5744
|
-
},
|
|
5744
|
+
}, X = m.__private__.setFileId = function(B) {
|
|
5745
5745
|
return _e = B !== void 0 && /^[a-fA-F0-9]{32}$/.test(B) ? B.toUpperCase() : _e.split("").map(function() {
|
|
5746
5746
|
return "ABCDEF0123456789".charAt(Math.floor(16 * Math.random()));
|
|
5747
5747
|
}).join(""), g !== null && (sa = new Pn(g.userPermissions, g.userPassword, g.ownerPassword, _e)), _e;
|
|
5748
5748
|
};
|
|
5749
5749
|
m.setFileId = function(B) {
|
|
5750
|
-
return
|
|
5750
|
+
return X(B), this;
|
|
5751
5751
|
}, m.getFileId = function() {
|
|
5752
5752
|
return re();
|
|
5753
5753
|
};
|
|
@@ -5961,11 +5961,11 @@ function Ct(e) {
|
|
|
5961
5961
|
}
|
|
5962
5962
|
};
|
|
5963
5963
|
m.ShadingPattern = Wr, m.TilingPattern = Rn, m.addShadingPattern = function(B, ae) {
|
|
5964
|
-
return
|
|
5964
|
+
return G("addShadingPattern()"), ba(B, ae), this;
|
|
5965
5965
|
}, m.beginTilingPattern = function(B) {
|
|
5966
|
-
|
|
5966
|
+
G("beginTilingPattern()"), Bi(B.boundingBox[0], B.boundingBox[1], B.boundingBox[2] - B.boundingBox[0], B.boundingBox[3] - B.boundingBox[1], B.matrix);
|
|
5967
5967
|
}, m.endTilingPattern = function(B, ae) {
|
|
5968
|
-
|
|
5968
|
+
G("endTilingPattern()"), ae.stream = ne[M].join(`
|
|
5969
5969
|
`), ba(B, ae), qt.publish("endTilingPattern", ae), wo.pop().restore();
|
|
5970
5970
|
};
|
|
5971
5971
|
var Rl = m.__private__.newObject = function() {
|
|
@@ -6410,7 +6410,7 @@ Q`), Fa(ze, !0), Da({ data: Xe, filters: Co(), objectId: ze }), E("endobj"), $e;
|
|
|
6410
6410
|
rt = r;
|
|
6411
6411
|
}
|
|
6412
6412
|
var sa = null;
|
|
6413
|
-
Ae(),
|
|
6413
|
+
Ae(), X();
|
|
6414
6414
|
var mu = function(B) {
|
|
6415
6415
|
return g !== null ? sa.encryptor(B, 0) : function(ae) {
|
|
6416
6416
|
return ae;
|
|
@@ -6457,7 +6457,7 @@ Q`), Fa(ze, !0), Da({ data: Xe, filters: Co(), objectId: ze }), E("endobj"), $e;
|
|
|
6457
6457
|
var ia = Se;
|
|
6458
6458
|
Se = ae, ae = B, B = ia;
|
|
6459
6459
|
}
|
|
6460
|
-
if (arguments[3] instanceof xt ? (
|
|
6460
|
+
if (arguments[3] instanceof xt ? (G("The transform parameter of text() with a Matrix value"), _l = ze) : (dt = arguments[4], bt = arguments[5], el(Rt = arguments[3]) === "object" && Rt !== null || (typeof dt == "string" && (bt = dt, dt = null), typeof Rt == "string" && (bt = Rt, Rt = null), typeof Rt == "number" && (dt = Rt, Rt = null), $e = { flags: Rt, angle: dt, align: bt })), isNaN(ae) || isNaN(Se) || B == null)
|
|
6461
6461
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
6462
6462
|
if (B.length === 0)
|
|
6463
6463
|
return Dl;
|
|
@@ -7133,21 +7133,21 @@ var _a = function(e, t) {
|
|
|
7133
7133
|
i = W;
|
|
7134
7134
|
}
|
|
7135
7135
|
}
|
|
7136
|
-
for (var
|
|
7136
|
+
for (var G = "", ye = d; ye <= i; ye++) {
|
|
7137
7137
|
var ve = o[ye];
|
|
7138
7138
|
if (e.multiline) {
|
|
7139
7139
|
if (ye === i) {
|
|
7140
|
-
|
|
7140
|
+
G += ve[A] + " ", A = (A + 1) % ve.length;
|
|
7141
7141
|
continue;
|
|
7142
7142
|
}
|
|
7143
7143
|
if (ye === d) {
|
|
7144
|
-
|
|
7144
|
+
G += ve[ve.length - 1] + " ";
|
|
7145
7145
|
continue;
|
|
7146
7146
|
}
|
|
7147
7147
|
}
|
|
7148
|
-
|
|
7148
|
+
G += ve[0] + " ";
|
|
7149
7149
|
}
|
|
7150
|
-
switch (
|
|
7150
|
+
switch (G = G.substr(G.length - 1) == " " ? G.substr(0, G.length - 1) : G, g = pA(G, e, a).width, e.textAlign) {
|
|
7151
7151
|
case "right":
|
|
7152
7152
|
v = s - g - 2;
|
|
7153
7153
|
break;
|
|
@@ -7159,7 +7159,7 @@ var _a = function(e, t) {
|
|
|
7159
7159
|
v = 2;
|
|
7160
7160
|
}
|
|
7161
7161
|
t += Ut(v) + " " + Ut(m) + ` Td
|
|
7162
|
-
`, t += "(" + Zr(
|
|
7162
|
+
`, t += "(" + Zr(G) + `) Tj
|
|
7163
7163
|
`, t += -Ut(v) + ` 0 Td
|
|
7164
7164
|
`, m = -(a + 2), g = 0, d = P ? i : i + 1, U++, x = "";
|
|
7165
7165
|
}
|
|
@@ -7868,7 +7868,7 @@ function Kv(e) {
|
|
|
7868
7868
|
(function(e) {
|
|
7869
7869
|
e.__addimage__ = {};
|
|
7870
7870
|
var t = "UNKNOWN", l = { PNG: [[137, 80, 78, 71]], TIFF: [[77, 77, 0, 42], [73, 73, 42, 0]], JPEG: [[255, 216, 255, 224, void 0, void 0, 74, 70, 73, 70, 0], [255, 216, 255, 225, void 0, void 0, 69, 120, 105, 102, 0, 0], [255, 216, 255, 219], [255, 216, 255, 238]], JPEG2000: [[0, 0, 0, 12, 106, 80, 32, 32]], GIF87a: [[71, 73, 70, 56, 55, 97]], GIF89a: [[71, 73, 70, 56, 57, 97]], WEBP: [[82, 73, 70, 70, void 0, void 0, void 0, void 0, 87, 69, 66, 80]], BMP: [[66, 77], [66, 65], [67, 73], [67, 80], [73, 67], [80, 84]] }, r = e.__addimage__.getImageFileTypeByImageData = function(V, R) {
|
|
7871
|
-
var K, Z, pe, _e, re,
|
|
7871
|
+
var K, Z, pe, _e, re, X = t;
|
|
7872
7872
|
if ((R = R || t) === "RGBA" || V.data !== void 0 && V.data instanceof Uint8ClampedArray && "height" in V && "width" in V)
|
|
7873
7873
|
return "RGBA";
|
|
7874
7874
|
if (oe(V))
|
|
@@ -7880,7 +7880,7 @@ function Kv(e) {
|
|
|
7880
7880
|
break;
|
|
7881
7881
|
}
|
|
7882
7882
|
if (_e === !0) {
|
|
7883
|
-
|
|
7883
|
+
X = re;
|
|
7884
7884
|
break;
|
|
7885
7885
|
}
|
|
7886
7886
|
}
|
|
@@ -7893,19 +7893,19 @@ function Kv(e) {
|
|
|
7893
7893
|
break;
|
|
7894
7894
|
}
|
|
7895
7895
|
if (_e === !0) {
|
|
7896
|
-
|
|
7896
|
+
X = re;
|
|
7897
7897
|
break;
|
|
7898
7898
|
}
|
|
7899
7899
|
}
|
|
7900
|
-
return
|
|
7900
|
+
return X === t && R !== t && (X = R), X;
|
|
7901
7901
|
}, o = function V(R) {
|
|
7902
7902
|
for (var K = this.internal.write, Z = this.internal.putStream, pe = (0, this.internal.getFilters)(); pe.indexOf("FlateEncode") !== -1; )
|
|
7903
7903
|
pe.splice(pe.indexOf("FlateEncode"), 1);
|
|
7904
7904
|
R.objectId = this.internal.newObject();
|
|
7905
7905
|
var _e = [];
|
|
7906
7906
|
if (_e.push({ key: "Type", value: "/XObject" }), _e.push({ key: "Subtype", value: "/Image" }), _e.push({ key: "Width", value: R.width }), _e.push({ key: "Height", value: R.height }), R.colorSpace === A.INDEXED ? _e.push({ key: "ColorSpace", value: "[/Indexed /DeviceRGB " + (R.palette.length / 3 - 1) + " " + ("sMask" in R && R.sMask !== void 0 ? R.objectId + 2 : R.objectId + 1) + " 0 R]" }) : (_e.push({ key: "ColorSpace", value: "/" + R.colorSpace }), R.colorSpace === A.DEVICE_CMYK && _e.push({ key: "Decode", value: "[1 0 1 0 1 0 1 0]" })), _e.push({ key: "BitsPerComponent", value: R.bitsPerComponent }), "decodeParameters" in R && R.decodeParameters !== void 0 && _e.push({ key: "DecodeParms", value: "<<" + R.decodeParameters + ">>" }), "transparency" in R && Array.isArray(R.transparency)) {
|
|
7907
|
-
for (var re = "",
|
|
7908
|
-
re += R.transparency[
|
|
7907
|
+
for (var re = "", X = 0, j = R.transparency.length; X < j; X++)
|
|
7908
|
+
re += R.transparency[X] + " " + R.transparency[X] + " ";
|
|
7909
7909
|
_e.push({ key: "Mask", value: "[" + re + "]" });
|
|
7910
7910
|
}
|
|
7911
7911
|
R.sMask !== void 0 && _e.push({ key: "SMask", value: R.objectId + 1 + " 0 R" });
|
|
@@ -7916,7 +7916,7 @@ function Kv(e) {
|
|
|
7916
7916
|
}
|
|
7917
7917
|
if (R.colorSpace === A.INDEXED) {
|
|
7918
7918
|
var M = this.internal.newObject();
|
|
7919
|
-
Z({ data:
|
|
7919
|
+
Z({ data: G(new Uint8Array(R.palette)), objectId: M }), K("endobj");
|
|
7920
7920
|
}
|
|
7921
7921
|
}, a = function() {
|
|
7922
7922
|
var V = this.internal.collections.addImage_images;
|
|
@@ -7974,14 +7974,14 @@ function Kv(e) {
|
|
|
7974
7974
|
}, d = function(V, R, K) {
|
|
7975
7975
|
return V || R || (V = -96, R = -96), V < 0 && (V = -1 * K.width * 72 / V / this.internal.scaleFactor), R < 0 && (R = -1 * K.height * 72 / R / this.internal.scaleFactor), V === 0 && (V = R * K.width / K.height), R === 0 && (R = V * K.height / K.width), [V, R];
|
|
7976
7976
|
}, i = function(V, R, K, Z, pe, _e) {
|
|
7977
|
-
var re = d.call(this, K, Z, pe),
|
|
7977
|
+
var re = d.call(this, K, Z, pe), X = this.internal.getCoordinateString, j = this.internal.getVerticalCoordinateString, ee = u.call(this);
|
|
7978
7978
|
if (K = re[0], Z = re[1], ee[pe.index] = pe, _e) {
|
|
7979
7979
|
_e *= Math.PI / 180;
|
|
7980
7980
|
var Ae = Math.cos(_e), S = Math.sin(_e), M = function(F) {
|
|
7981
7981
|
return F.toFixed(4);
|
|
7982
7982
|
}, k = [M(Ae), M(S), M(-1 * S), M(Ae), 0, 0, "cm"];
|
|
7983
7983
|
}
|
|
7984
|
-
this.internal.write("q"), _e ? (this.internal.write([1, "0", "0", 1,
|
|
7984
|
+
this.internal.write("q"), _e ? (this.internal.write([1, "0", "0", 1, X(V), j(R + Z), "cm"].join(" ")), this.internal.write(k.join(" ")), this.internal.write([X(K), "0", "0", X(Z), "0", "0", "cm"].join(" "))) : this.internal.write([X(K), "0", "0", X(Z), X(V), j(R + Z), "cm"].join(" ")), this.isAdvancedAPI() && this.internal.write([1, 0, 0, -1, 0, 0, "cm"].join(" ")), this.internal.write("/I" + pe.index + " Do"), this.internal.write("Q");
|
|
7985
7985
|
}, A = e.color_spaces = { DEVICE_RGB: "DeviceRGB", DEVICE_GRAY: "DeviceGray", DEVICE_CMYK: "DeviceCMYK", CAL_GREY: "CalGray", CAL_RGB: "CalRGB", LAB: "Lab", ICC_BASED: "ICCBased", INDEXED: "Indexed", PATTERN: "Pattern", SEPARATION: "Separation", DEVICE_N: "DeviceN" };
|
|
7986
7986
|
e.decode = { DCT_DECODE: "DCTDecode", FLATE_DECODE: "FlateDecode", LZW_DECODE: "LZWDecode", JPX_DECODE: "JPXDecode", JBIG2_DECODE: "JBIG2Decode", ASCII85_DECODE: "ASCII85Decode", ASCII_HEX_DECODE: "ASCIIHexDecode", RUN_LENGTH_DECODE: "RunLengthDecode", CCITT_FAX_DECODE: "CCITTFaxDecode" };
|
|
7987
7987
|
var x = e.image_compression = { NONE: "NONE", FAST: "FAST", MEDIUM: "MEDIUM", SLOW: "SLOW" }, U = e.__addimage__.sHashCode = function(V) {
|
|
@@ -8016,30 +8016,30 @@ function Kv(e) {
|
|
|
8016
8016
|
for (var R = V.length, K = new Uint8Array(R), Z = 0; Z < R; Z++)
|
|
8017
8017
|
K[Z] = V.charCodeAt(Z);
|
|
8018
8018
|
return K;
|
|
8019
|
-
},
|
|
8019
|
+
}, G = e.__addimage__.arrayBufferToBinaryString = function(V) {
|
|
8020
8020
|
for (var R = "", K = oe(V) ? V : new Uint8Array(V), Z = 0; Z < K.length; Z += 8192)
|
|
8021
8021
|
R += String.fromCharCode.apply(null, K.subarray(Z, Z + 8192));
|
|
8022
8022
|
return R;
|
|
8023
8023
|
};
|
|
8024
8024
|
e.addImage = function() {
|
|
8025
|
-
var V, R, K, Z, pe, _e, re,
|
|
8026
|
-
if (typeof arguments[1] == "number" ? (R = t, K = arguments[1], Z = arguments[2], pe = arguments[3], _e = arguments[4], re = arguments[5],
|
|
8025
|
+
var V, R, K, Z, pe, _e, re, X, j;
|
|
8026
|
+
if (typeof arguments[1] == "number" ? (R = t, K = arguments[1], Z = arguments[2], pe = arguments[3], _e = arguments[4], re = arguments[5], X = arguments[6], j = arguments[7]) : (R = arguments[1], K = arguments[2], Z = arguments[3], pe = arguments[4], _e = arguments[5], re = arguments[6], X = arguments[7], j = arguments[8]), el(V = arguments[0]) === "object" && !b(V) && "imageData" in V) {
|
|
8027
8027
|
var ee = V;
|
|
8028
|
-
V = ee.imageData, R = ee.format || R || t, K = ee.x || K || 0, Z = ee.y || Z || 0, pe = ee.w || ee.width || pe, _e = ee.h || ee.height || _e, re = ee.alias || re,
|
|
8028
|
+
V = ee.imageData, R = ee.format || R || t, K = ee.x || K || 0, Z = ee.y || Z || 0, pe = ee.w || ee.width || pe, _e = ee.h || ee.height || _e, re = ee.alias || re, X = ee.compression || X, j = ee.rotation || ee.angle || j;
|
|
8029
8029
|
}
|
|
8030
8030
|
var Ae = this.internal.getFilters();
|
|
8031
|
-
if (
|
|
8031
|
+
if (X === void 0 && Ae.indexOf("FlateEncode") !== -1 && (X = "SLOW"), isNaN(K) || isNaN(Z))
|
|
8032
8032
|
throw new Error("Invalid coordinates passed to jsPDF.addImage");
|
|
8033
8033
|
s.call(this);
|
|
8034
|
-
var S = ye.call(this, V, R, re,
|
|
8034
|
+
var S = ye.call(this, V, R, re, X);
|
|
8035
8035
|
return i.call(this, K, Z, pe, _e, S, j), this;
|
|
8036
8036
|
};
|
|
8037
8037
|
var ye = function(V, R, K, Z) {
|
|
8038
8038
|
var pe, _e, re;
|
|
8039
8039
|
if (typeof V == "string" && r(V) === t) {
|
|
8040
8040
|
V = unescape(V);
|
|
8041
|
-
var
|
|
8042
|
-
(
|
|
8041
|
+
var X = ve(V, !1);
|
|
8042
|
+
(X !== "" || (X = e.loadFile(V, !0)) !== void 0) && (V = X);
|
|
8043
8043
|
}
|
|
8044
8044
|
if (b(V) && (V = p(V, R)), R = r(V, R), !g(R))
|
|
8045
8045
|
throw new Error("addImage does not support files of type '" + R + "', please ensure that a plugin for '" + R + "' support is added.");
|
|
@@ -8385,7 +8385,7 @@ function(e) {
|
|
|
8385
8385
|
e.table = function(u, v, g, b, p) {
|
|
8386
8386
|
if (r.call(this), !g)
|
|
8387
8387
|
throw new Error("No data for PDF table.");
|
|
8388
|
-
var m, d, i, A, x = [], U = [], C = [], P = {}, W = {}, oe = [], J = [],
|
|
8388
|
+
var m, d, i, A, x = [], U = [], C = [], P = {}, W = {}, oe = [], J = [], G = (p = p || {}).autoSize || !1, ye = p.printHeaders !== !1, ve = p.css && p.css["font-size"] !== void 0 ? 16 * p.css["font-size"] : p.fontSize || 12, V = p.margins || Object.assign({ width: this.getPageWidth() }, t), R = typeof p.padding == "number" ? p.padding : 3, K = p.headerBackgroundColor || "#c8c8c8", Z = p.headerTextColor || "#000";
|
|
8389
8389
|
if (o.call(this), this.internal.__cell__.printHeaders = ye, this.internal.__cell__.margins = V, this.internal.__cell__.table_font_size = ve, this.internal.__cell__.padding = R, this.internal.__cell__.headerBackgroundColor = K, this.internal.__cell__.headerTextColor = Z, this.setFontSize(ve), b == null)
|
|
8390
8390
|
U = x = Object.keys(g[0]), C = x.map(function() {
|
|
8391
8391
|
return "left";
|
|
@@ -8403,7 +8403,7 @@ function(e) {
|
|
|
8403
8403
|
Array.isArray(b) && typeof b[0] == "string" && (U = x = b, C = x.map(function() {
|
|
8404
8404
|
return "left";
|
|
8405
8405
|
}));
|
|
8406
|
-
if (
|
|
8406
|
+
if (G || Array.isArray(b) && typeof b[0] == "string")
|
|
8407
8407
|
for (m = 0; m < x.length; m += 1) {
|
|
8408
8408
|
for (P[A = x[m]] = g.map(function(ee) {
|
|
8409
8409
|
return ee[A];
|
|
@@ -8425,10 +8425,10 @@ function(e) {
|
|
|
8425
8425
|
}, {});
|
|
8426
8426
|
for (m = 0; m < g.length; m += 1) {
|
|
8427
8427
|
"rowStart" in p && p.rowStart instanceof Function && p.rowStart({ row: m, data: g[m] }, this);
|
|
8428
|
-
var
|
|
8428
|
+
var X = s.call(this, g[m], W);
|
|
8429
8429
|
for (i = 0; i < x.length; i += 1) {
|
|
8430
8430
|
var j = g[m][x[i]];
|
|
8431
|
-
"cellStart" in p && p.cellStart instanceof Function && p.cellStart({ row: m, col: i, data: j }, this), n.call(this, new a(u, v, W[x[i]],
|
|
8431
|
+
"cellStart" in p && p.cellStart instanceof Function && p.cellStart({ row: m, col: i, data: j }, this), n.call(this, new a(u, v, W[x[i]], X, j, m + 2, re[x[i]]));
|
|
8432
8432
|
}
|
|
8433
8433
|
}
|
|
8434
8434
|
return this.internal.__cell__.table_x = u, this.internal.__cell__.table_y = v, this;
|
|
@@ -8901,7 +8901,7 @@ var bA, vf, gf, Bc = ["times"];
|
|
|
8901
8901
|
if (isNaN(M) || isNaN(k) || typeof S != "string")
|
|
8902
8902
|
throw sl.error("jsPDF.context2d.fillText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.fillText");
|
|
8903
8903
|
if (F = isNaN(F) ? void 0 : F, !m.call(this)) {
|
|
8904
|
-
var Q =
|
|
8904
|
+
var Q = X(this.ctx.transform.rotation), z = this.ctx.transform.scaleX;
|
|
8905
8905
|
R.call(this, { text: S, x: M, y: k, scale: z, angle: Q, align: this.textAlign, maxWidth: F });
|
|
8906
8906
|
}
|
|
8907
8907
|
}, b.prototype.strokeText = function(S, M, k, F) {
|
|
@@ -8909,7 +8909,7 @@ var bA, vf, gf, Bc = ["times"];
|
|
|
8909
8909
|
throw sl.error("jsPDF.context2d.strokeText: Invalid arguments", arguments), new Error("Invalid arguments passed to jsPDF.context2d.strokeText");
|
|
8910
8910
|
if (!d.call(this)) {
|
|
8911
8911
|
F = isNaN(F) ? void 0 : F;
|
|
8912
|
-
var Q =
|
|
8912
|
+
var Q = X(this.ctx.transform.rotation), z = this.ctx.transform.scaleX;
|
|
8913
8913
|
R.call(this, { text: S, x: M, y: k, scale: z, renderingMode: "stroke", angle: Q, align: this.textAlign, maxWidth: F });
|
|
8914
8914
|
}
|
|
8915
8915
|
}, b.prototype.measureText = function(S) {
|
|
@@ -8951,7 +8951,7 @@ var bA, vf, gf, Bc = ["times"];
|
|
|
8951
8951
|
b.prototype.drawImage = function(S, M, k, F, Q, z, H, q, te) {
|
|
8952
8952
|
var ne = this.pdf.getImageProperties(S), me = 1, se = 1, ce = 1, _ = 1;
|
|
8953
8953
|
F !== void 0 && q !== void 0 && (ce = q / F, _ = te / Q, me = ne.width / F * q / F, se = ne.height / Q * te / Q), z === void 0 && (z = M, H = k, M = 0, k = 0), F !== void 0 && q === void 0 && (q = F, te = Q), F === void 0 && q === void 0 && (q = ne.width, te = ne.height);
|
|
8954
|
-
for (var E, I = this.ctx.transform.decompose(), xe =
|
|
8954
|
+
for (var E, I = this.ctx.transform.decompose(), xe = X(I.rotate.shx), Y = new u(), Le = (Y = (Y = (Y = Y.multiply(I.translate)).multiply(I.skew)).multiply(I.scale)).applyToRectangle(new s(z - M * ce, H - k * _, F * me, Q * se)), We = A.call(this, Le), ke = [], Qe = 0; Qe < We.length; Qe += 1)
|
|
8955
8955
|
ke.indexOf(We[Qe]) === -1 && ke.push(We[Qe]);
|
|
8956
8956
|
if (C(ke), this.autoPaging)
|
|
8957
8957
|
for (var Fe = ke[0], De = ke[ke.length - 1], fe = Fe; fe < De + 1; fe++) {
|
|
@@ -9083,7 +9083,7 @@ var bA, vf, gf, Bc = ["times"];
|
|
|
9083
9083
|
if (Q[xe].arc)
|
|
9084
9084
|
for (var Y = Q[xe].abs, Le = 0; Le < Y.length; Le++) {
|
|
9085
9085
|
var We = Y[Le];
|
|
9086
|
-
We.type === "arc" ?
|
|
9086
|
+
We.type === "arc" ? G.call(this, We.x, We.y, We.radius, We.startAngle, We.endAngle, We.counterclockwise, void 0, M, !I) : K.call(this, We.x, We.y), I = !0;
|
|
9087
9087
|
}
|
|
9088
9088
|
else if (Q[xe].close === !0)
|
|
9089
9089
|
this.pdf.internal.out("h"), I = !1;
|
|
@@ -9126,7 +9126,7 @@ var bA, vf, gf, Bc = ["times"];
|
|
|
9126
9126
|
}, b.prototype.createRadialGradient = function() {
|
|
9127
9127
|
return this.createLinearGradient();
|
|
9128
9128
|
};
|
|
9129
|
-
var
|
|
9129
|
+
var G = function(S, M, k, F, Q, z, H, q, te) {
|
|
9130
9130
|
for (var ne = _e.call(this, k, F, Q, z), me = 0; me < ne.length; me++) {
|
|
9131
9131
|
var se = ne[me];
|
|
9132
9132
|
me === 0 && (te ? V.call(this, se.x1 + S, se.y1 + M) : K.call(this, se.x1 + S, se.y1 + M)), pe.call(this, S, M, se.x2, se.y2, se.x3, se.y3, se.x4, se.y4);
|
|
@@ -9204,7 +9204,7 @@ var bA, vf, gf, Bc = ["times"];
|
|
|
9204
9204
|
}, re = function(S, M, k) {
|
|
9205
9205
|
var F = (k - M) / 2, Q = S * Math.cos(F), z = S * Math.sin(F), H = Q, q = -z, te = H * H + q * q, ne = te + H * Q + q * z, me = 4 / 3 * (Math.sqrt(2 * te * ne) - ne) / (H * z - q * Q), se = H - me * q, ce = q + me * H, _ = se, E = -ce, I = F + M, xe = Math.cos(I), Y = Math.sin(I);
|
|
9206
9206
|
return { x1: S * Math.cos(M), y1: S * Math.sin(M), x2: se * xe - ce * Y, y2: se * Y + ce * xe, x3: _ * xe - E * Y, y3: _ * Y + E * xe, x4: S * Math.cos(k), y4: S * Math.sin(k) };
|
|
9207
|
-
},
|
|
9207
|
+
}, X = function(S) {
|
|
9208
9208
|
return 180 * S / Math.PI;
|
|
9209
9209
|
}, j = function(S, M, k, F, Q, z) {
|
|
9210
9210
|
var H = S + 0.5 * (k - S), q = M + 0.5 * (F - M), te = Q + 0.5 * (k - Q), ne = z + 0.5 * (F - z), me = Math.min(S, Q, H, te), se = Math.max(S, Q, H, te), ce = Math.min(M, z, q, ne), _ = Math.max(M, z, q, ne);
|
|
@@ -9838,7 +9838,7 @@ var Nn, mA, yf, pf, bf, lm = function() {
|
|
|
9838
9838
|
if (a == null && (a = this.imgData), a.length === 0)
|
|
9839
9839
|
return new Uint8Array(0);
|
|
9840
9840
|
function g(b, p, m, d) {
|
|
9841
|
-
var i, A, x, U, C, P, W, oe, J,
|
|
9841
|
+
var i, A, x, U, C, P, W, oe, J, G, ye, ve, V, R, K, Z, pe, _e, re, X, j, ee = Math.ceil((v.width - b) / m), Ae = Math.ceil((v.height - p) / d), S = v.width == ee && v.height == Ae;
|
|
9842
9842
|
for (R = n * ee, ve = S ? s : new Uint8Array(R * Ae), P = a.length, V = 0, A = 0; V < Ae && u < P; ) {
|
|
9843
9843
|
switch (a[u++]) {
|
|
9844
9844
|
case 0:
|
|
@@ -9854,12 +9854,12 @@ var Nn, mA, yf, pf, bf, lm = function() {
|
|
|
9854
9854
|
i = a[u++], x = (U - U % n) / n, K = V && ve[(V - 1) * R + x * n + U % n], ve[A++] = (K + i) % 256;
|
|
9855
9855
|
break;
|
|
9856
9856
|
case 3:
|
|
9857
|
-
for (U =
|
|
9857
|
+
for (U = X = 0; X < R; U = X += 1)
|
|
9858
9858
|
i = a[u++], x = (U - U % n) / n, C = U < n ? 0 : ve[A - n], K = V && ve[(V - 1) * R + x * n + U % n], ve[A++] = (i + Math.floor((C + K) / 2)) % 256;
|
|
9859
9859
|
break;
|
|
9860
9860
|
case 4:
|
|
9861
9861
|
for (U = j = 0; j < R; U = j += 1)
|
|
9862
|
-
i = a[u++], x = (U - U % n) / n, C = U < n ? 0 : ve[A - n], V === 0 ? K = Z = 0 : (K = ve[(V - 1) * R + x * n + U % n], Z = x && ve[(V - 1) * R + (x - 1) * n + U % n]), W = C + K - Z, oe = Math.abs(W - C),
|
|
9862
|
+
i = a[u++], x = (U - U % n) / n, C = U < n ? 0 : ve[A - n], V === 0 ? K = Z = 0 : (K = ve[(V - 1) * R + x * n + U % n], Z = x && ve[(V - 1) * R + (x - 1) * n + U % n]), W = C + K - Z, oe = Math.abs(W - C), G = Math.abs(W - K), ye = Math.abs(W - Z), J = oe <= G && oe <= ye ? C : G <= ye ? K : Z, ve[A++] = (i + J) % 256;
|
|
9863
9863
|
break;
|
|
9864
9864
|
default:
|
|
9865
9865
|
throw new Error("Invalid filter algorithm: " + a[u - 1]);
|
|
@@ -10032,8 +10032,8 @@ function am(e) {
|
|
|
10032
10032
|
}
|
|
10033
10033
|
break;
|
|
10034
10034
|
case 44:
|
|
10035
|
-
var A = e[t++] | e[t++] << 8, x = e[t++] | e[t++] << 8, U = e[t++] | e[t++] << 8, C = e[t++] | e[t++] << 8, P = e[t++], W = P >> 6 & 1, oe = 1 << (7 & P) + 1, J = s,
|
|
10036
|
-
P >> 7 && (ye = !0, J = t,
|
|
10035
|
+
var A = e[t++] | e[t++] << 8, x = e[t++] | e[t++] << 8, U = e[t++] | e[t++] << 8, C = e[t++] | e[t++] << 8, P = e[t++], W = P >> 6 & 1, oe = 1 << (7 & P) + 1, J = s, G = u, ye = !1;
|
|
10036
|
+
P >> 7 && (ye = !0, J = t, G = oe, t += 3 * oe);
|
|
10037
10037
|
var ve = t;
|
|
10038
10038
|
for (t++; ; ) {
|
|
10039
10039
|
var V;
|
|
@@ -10043,7 +10043,7 @@ function am(e) {
|
|
|
10043
10043
|
break;
|
|
10044
10044
|
t += V;
|
|
10045
10045
|
}
|
|
10046
|
-
g.push({ x: A, y: x, width: U, height: C, has_local_palette: ye, palette_offset: J, palette_size:
|
|
10046
|
+
g.push({ x: A, y: x, width: U, height: C, has_local_palette: ye, palette_offset: J, palette_size: G, data_offset: ve, data_length: t - ve, transparent_index: p, interlaced: !!W, delay: b, disposal: m });
|
|
10047
10047
|
break;
|
|
10048
10048
|
case 59:
|
|
10049
10049
|
v = !1;
|
|
@@ -10062,13 +10062,13 @@ function am(e) {
|
|
|
10062
10062
|
}, this.decodeAndBlitFrameBGRA = function(R, K) {
|
|
10063
10063
|
var Z = this.frameInfo(R), pe = Z.width * Z.height, _e = new Uint8Array(pe);
|
|
10064
10064
|
mf(e, Z.data_offset, _e, pe);
|
|
10065
|
-
var re = Z.palette_offset,
|
|
10066
|
-
|
|
10065
|
+
var re = Z.palette_offset, X = Z.transparent_index;
|
|
10066
|
+
X === null && (X = 256);
|
|
10067
10067
|
var j = Z.width, ee = l - j, Ae = j, S = 4 * (Z.y * l + Z.x), M = 4 * ((Z.y + Z.height) * l + Z.x), k = S, F = 4 * ee;
|
|
10068
10068
|
Z.interlaced === !0 && (F += 4 * l * 7);
|
|
10069
10069
|
for (var Q = 8, z = 0, H = _e.length; z < H; ++z) {
|
|
10070
10070
|
var q = _e[z];
|
|
10071
|
-
if (Ae === 0 && (Ae = j, (k += F) >= M && (F = 4 * ee + 4 * l * (Q - 1), k = S + (j + ee) * (Q << 1), Q >>= 1)), q ===
|
|
10071
|
+
if (Ae === 0 && (Ae = j, (k += F) >= M && (F = 4 * ee + 4 * l * (Q - 1), k = S + (j + ee) * (Q << 1), Q >>= 1)), q === X)
|
|
10072
10072
|
k += 4;
|
|
10073
10073
|
else {
|
|
10074
10074
|
var te = e[re + 3 * q], ne = e[re + 3 * q + 1], me = e[re + 3 * q + 2];
|
|
@@ -10079,13 +10079,13 @@ function am(e) {
|
|
|
10079
10079
|
}, this.decodeAndBlitFrameRGBA = function(R, K) {
|
|
10080
10080
|
var Z = this.frameInfo(R), pe = Z.width * Z.height, _e = new Uint8Array(pe);
|
|
10081
10081
|
mf(e, Z.data_offset, _e, pe);
|
|
10082
|
-
var re = Z.palette_offset,
|
|
10083
|
-
|
|
10082
|
+
var re = Z.palette_offset, X = Z.transparent_index;
|
|
10083
|
+
X === null && (X = 256);
|
|
10084
10084
|
var j = Z.width, ee = l - j, Ae = j, S = 4 * (Z.y * l + Z.x), M = 4 * ((Z.y + Z.height) * l + Z.x), k = S, F = 4 * ee;
|
|
10085
10085
|
Z.interlaced === !0 && (F += 4 * l * 7);
|
|
10086
10086
|
for (var Q = 8, z = 0, H = _e.length; z < H; ++z) {
|
|
10087
10087
|
var q = _e[z];
|
|
10088
|
-
if (Ae === 0 && (Ae = j, (k += F) >= M && (F = 4 * ee + 4 * l * (Q - 1), k = S + (j + ee) * (Q << 1), Q >>= 1)), q ===
|
|
10088
|
+
if (Ae === 0 && (Ae = j, (k += F) >= M && (F = 4 * ee + 4 * l * (Q - 1), k = S + (j + ee) * (Q << 1), Q >>= 1)), q === X)
|
|
10089
10089
|
k += 4;
|
|
10090
10090
|
else {
|
|
10091
10091
|
var te = e[re + 3 * q], ne = e[re + 3 * q + 1], me = e[re + 3 * q + 2];
|
|
@@ -10153,7 +10153,7 @@ function mf(e, t, l, r) {
|
|
|
10153
10153
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
10154
10154
|
*/
|
|
10155
10155
|
function _c(e) {
|
|
10156
|
-
var t, l, r, o, a, n = Math.floor, s = new Array(64), u = new Array(64), v = new Array(64), g = new Array(64), b = new Array(65535), p = new Array(65535), m = new Array(64), d = new Array(64), i = [], A = 0, x = 7, U = new Array(64), C = new Array(64), P = new Array(64), W = new Array(256), oe = new Array(2048), J = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63],
|
|
10156
|
+
var t, l, r, o, a, n = Math.floor, s = new Array(64), u = new Array(64), v = new Array(64), g = new Array(64), b = new Array(65535), p = new Array(65535), m = new Array(64), d = new Array(64), i = [], A = 0, x = 7, U = new Array(64), C = new Array(64), P = new Array(64), W = new Array(256), oe = new Array(2048), J = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63], G = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0], ye = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], ve = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125], V = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], R = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], K = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], Z = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119], pe = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
|
|
10157
10157
|
function _e(S, M) {
|
|
10158
10158
|
for (var k = 0, F = 0, Q = new Array(), z = 1; z <= 16; z++) {
|
|
10159
10159
|
for (var H = 1; H <= S[z]; H++)
|
|
@@ -10164,13 +10164,13 @@ function _c(e) {
|
|
|
10164
10164
|
}
|
|
10165
10165
|
function re(S) {
|
|
10166
10166
|
for (var M = S[0], k = S[1] - 1; k >= 0; )
|
|
10167
|
-
M & 1 << k && (A |= 1 << x), k--, --x < 0 && (A == 255 ? (
|
|
10167
|
+
M & 1 << k && (A |= 1 << x), k--, --x < 0 && (A == 255 ? (X(255), X(0)) : X(A), x = 7, A = 0);
|
|
10168
10168
|
}
|
|
10169
|
-
function
|
|
10169
|
+
function X(S) {
|
|
10170
10170
|
i.push(S);
|
|
10171
10171
|
}
|
|
10172
10172
|
function j(S) {
|
|
10173
|
-
|
|
10173
|
+
X(S >> 8 & 255), X(255 & S);
|
|
10174
10174
|
}
|
|
10175
10175
|
function ee(S, M, k, F, Q) {
|
|
10176
10176
|
for (var z, H = Q[0], q = Q[240], te = function(Y, Le) {
|
|
@@ -10234,37 +10234,37 @@ function _c(e) {
|
|
|
10234
10234
|
}(S < 50 ? Math.floor(5e3 / S) : Math.floor(200 - 2 * S)), a = S);
|
|
10235
10235
|
}
|
|
10236
10236
|
this.encode = function(S, M) {
|
|
10237
|
-
M && Ae(M), i = new Array(), A = 0, x = 7, j(65496), j(65504), j(16),
|
|
10238
|
-
j(65499), j(132),
|
|
10237
|
+
M && Ae(M), i = new Array(), A = 0, x = 7, j(65496), j(65504), j(16), X(74), X(70), X(73), X(70), X(0), X(1), X(1), X(0), j(1), j(1), X(0), X(0), function() {
|
|
10238
|
+
j(65499), j(132), X(0);
|
|
10239
10239
|
for (var ke = 0; ke < 64; ke++)
|
|
10240
|
-
|
|
10241
|
-
|
|
10240
|
+
X(s[ke]);
|
|
10241
|
+
X(1);
|
|
10242
10242
|
for (var Qe = 0; Qe < 64; Qe++)
|
|
10243
|
-
|
|
10243
|
+
X(u[Qe]);
|
|
10244
10244
|
}(), function(ke, Qe) {
|
|
10245
|
-
j(65472), j(17),
|
|
10245
|
+
j(65472), j(17), X(8), j(Qe), j(ke), X(3), X(1), X(17), X(0), X(2), X(17), X(1), X(3), X(17), X(1);
|
|
10246
10246
|
}(S.width, S.height), function() {
|
|
10247
|
-
j(65476), j(418),
|
|
10247
|
+
j(65476), j(418), X(0);
|
|
10248
10248
|
for (var ke = 0; ke < 16; ke++)
|
|
10249
|
-
G
|
|
10249
|
+
X(G[ke + 1]);
|
|
10250
10250
|
for (var Qe = 0; Qe <= 11; Qe++)
|
|
10251
|
-
|
|
10252
|
-
|
|
10251
|
+
X(ye[Qe]);
|
|
10252
|
+
X(16);
|
|
10253
10253
|
for (var Fe = 0; Fe < 16; Fe++)
|
|
10254
|
-
|
|
10254
|
+
X(ve[Fe + 1]);
|
|
10255
10255
|
for (var De = 0; De <= 161; De++)
|
|
10256
|
-
|
|
10257
|
-
|
|
10256
|
+
X(V[De]);
|
|
10257
|
+
X(1);
|
|
10258
10258
|
for (var fe = 0; fe < 16; fe++)
|
|
10259
|
-
|
|
10259
|
+
X(R[fe + 1]);
|
|
10260
10260
|
for (var He = 0; He <= 11; He++)
|
|
10261
|
-
|
|
10262
|
-
|
|
10261
|
+
X(K[He]);
|
|
10262
|
+
X(17);
|
|
10263
10263
|
for (var je = 0; je < 16; je++)
|
|
10264
|
-
|
|
10264
|
+
X(Z[je + 1]);
|
|
10265
10265
|
for (var Ke = 0; Ke <= 161; Ke++)
|
|
10266
|
-
|
|
10267
|
-
}(), j(65498), j(12),
|
|
10266
|
+
X(pe[Ke]);
|
|
10267
|
+
}(), j(65498), j(12), X(3), X(1), X(0), X(2), X(17), X(3), X(17), X(0), X(63), X(0);
|
|
10268
10268
|
var k = 0, F = 0, Q = 0;
|
|
10269
10269
|
A = 0, x = 7, this.encode.displayName = "_encode_";
|
|
10270
10270
|
for (var z, H, q, te, ne, me, se, ce, _, E = S.data, I = S.width, xe = S.height, Y = 4 * I, Le = 0; Le < xe; ) {
|
|
@@ -10283,7 +10283,7 @@ function _c(e) {
|
|
|
10283
10283
|
}, e = e || 50, function() {
|
|
10284
10284
|
for (var S = String.fromCharCode, M = 0; M < 256; M++)
|
|
10285
10285
|
W[M] = S(M);
|
|
10286
|
-
}(), t = _e(
|
|
10286
|
+
}(), t = _e(G, ye), l = _e(R, K), r = _e(ve, V), o = _e(Z, pe), function() {
|
|
10287
10287
|
for (var S = 1, M = 2, k = 1; k <= 15; k++) {
|
|
10288
10288
|
for (var F = S; F < M; F++)
|
|
10289
10289
|
p[32767 + F] = k, b[32767 + F] = [], b[32767 + F][1] = k, b[32767 + F][0] = F;
|
|
@@ -10309,41 +10309,41 @@ function uo(e, t) {
|
|
|
10309
10309
|
this.parseHeader(), this.parseBGR();
|
|
10310
10310
|
}
|
|
10311
10311
|
function wf(e) {
|
|
10312
|
-
function t(
|
|
10313
|
-
if (!
|
|
10312
|
+
function t(G) {
|
|
10313
|
+
if (!G)
|
|
10314
10314
|
throw Error("assert :P");
|
|
10315
10315
|
}
|
|
10316
|
-
function l(
|
|
10316
|
+
function l(G, ye, ve) {
|
|
10317
10317
|
for (var V = 0; 4 > V; V++)
|
|
10318
|
-
if (
|
|
10318
|
+
if (G[ye + V] != ve.charCodeAt(V))
|
|
10319
10319
|
return !0;
|
|
10320
10320
|
return !1;
|
|
10321
10321
|
}
|
|
10322
|
-
function r(
|
|
10322
|
+
function r(G, ye, ve, V, R) {
|
|
10323
10323
|
for (var K = 0; K < R; K++)
|
|
10324
|
-
|
|
10324
|
+
G[ye + K] = ve[V + K];
|
|
10325
10325
|
}
|
|
10326
|
-
function o(
|
|
10326
|
+
function o(G, ye, ve, V) {
|
|
10327
10327
|
for (var R = 0; R < V; R++)
|
|
10328
|
-
|
|
10328
|
+
G[ye + R] = ve;
|
|
10329
10329
|
}
|
|
10330
|
-
function a(
|
|
10331
|
-
return new Int32Array(
|
|
10330
|
+
function a(G) {
|
|
10331
|
+
return new Int32Array(G);
|
|
10332
10332
|
}
|
|
10333
|
-
function n(
|
|
10334
|
-
for (var ve = [], V = 0; V <
|
|
10333
|
+
function n(G, ye) {
|
|
10334
|
+
for (var ve = [], V = 0; V < G; V++)
|
|
10335
10335
|
ve.push(new ye());
|
|
10336
10336
|
return ve;
|
|
10337
10337
|
}
|
|
10338
|
-
function s(
|
|
10338
|
+
function s(G, ye) {
|
|
10339
10339
|
var ve = [];
|
|
10340
10340
|
return function V(R, K, Z) {
|
|
10341
10341
|
for (var pe = Z[K], _e = 0; _e < pe && (R.push(Z.length > K + 1 ? [] : new ye()), !(Z.length < K + 1)); _e++)
|
|
10342
10342
|
V(R[_e], K + 1, Z);
|
|
10343
|
-
}(ve, 0,
|
|
10343
|
+
}(ve, 0, G), ve;
|
|
10344
10344
|
}
|
|
10345
10345
|
var u = function() {
|
|
10346
|
-
var
|
|
10346
|
+
var G = this;
|
|
10347
10347
|
function ye(f, w) {
|
|
10348
10348
|
for (var $ = 1 << w - 1 >>> 0; f & $; )
|
|
10349
10349
|
$ >>>= 1;
|
|
@@ -10378,23 +10378,23 @@ function wf(e) {
|
|
|
10378
10378
|
Re = Ce[Te], 0 < Ce[Te] && (Oe[Ie[Re]++] = Te);
|
|
10379
10379
|
if (Ie[15] == 1)
|
|
10380
10380
|
return (Ce = new R()).g = 0, Ce.value = Oe[0], ve(he, Je, 1, Ge, Ce), Ge;
|
|
10381
|
-
var qe, et = -1, Ye = Ge - 1,
|
|
10381
|
+
var qe, et = -1, Ye = Ge - 1, ft = 0, At = 1, mt = 1, ut = 1 << we;
|
|
10382
10382
|
for (Te = 0, Re = 1, Me = 2; Re <= we; ++Re, Me <<= 1) {
|
|
10383
10383
|
if (At += mt <<= 1, 0 > (mt -= Ee[Re]))
|
|
10384
10384
|
return 0;
|
|
10385
10385
|
for (; 0 < Ee[Re]; --Ee[Re])
|
|
10386
|
-
(Ce = new R()).g = Re, Ce.value = Oe[Te++], ve(he, Je +
|
|
10386
|
+
(Ce = new R()).g = Re, Ce.value = Oe[Te++], ve(he, Je + ft, Me, ut, Ce), ft = ye(ft, Re);
|
|
10387
10387
|
}
|
|
10388
10388
|
for (Re = we + 1, Me = 2; 15 >= Re; ++Re, Me <<= 1) {
|
|
10389
10389
|
if (At += mt <<= 1, 0 > (mt -= Ee[Re]))
|
|
10390
10390
|
return 0;
|
|
10391
10391
|
for (; 0 < Ee[Re]; --Ee[Re]) {
|
|
10392
|
-
if (Ce = new R(), (
|
|
10392
|
+
if (Ce = new R(), (ft & Ye) != et) {
|
|
10393
10393
|
for (Je += ut, qe = 1 << (et = Re) - we; 15 > et && !(0 >= (qe -= Ee[et])); )
|
|
10394
10394
|
++et, qe <<= 1;
|
|
10395
|
-
Ge += ut = 1 << (qe = et - we), he[ge + (et =
|
|
10395
|
+
Ge += ut = 1 << (qe = et - we), he[ge + (et = ft & Ye)].g = qe + we, he[ge + et].value = Je - ge - et;
|
|
10396
10396
|
}
|
|
10397
|
-
Ce.g = Re - we, Ce.value = Oe[Te++], ve(he, Je + (
|
|
10397
|
+
Ce.g = Re - we, Ce.value = Oe[Te++], ve(he, Je + (ft >> we), Me, ut, Ce), ft = ye(ft, Re);
|
|
10398
10398
|
}
|
|
10399
10399
|
}
|
|
10400
10400
|
return At != 2 * Ie[15] - 1 ? 0 : Ge;
|
|
@@ -10421,7 +10421,7 @@ function wf(e) {
|
|
|
10421
10421
|
var $ = _e(f, w);
|
|
10422
10422
|
return H(f) ? -$ : $;
|
|
10423
10423
|
}
|
|
10424
|
-
function
|
|
10424
|
+
function X(f, w, $, D) {
|
|
10425
10425
|
var le, de = 0;
|
|
10426
10426
|
for (t(f != null), t(w != null), t(4294967288 > D), f.Sb = D, f.Ra = 0, f.u = 0, f.h = 0, 4 < D && (D = 4), le = 0; le < D; ++le)
|
|
10427
10427
|
de += w[$ + le] << 8 * le;
|
|
@@ -10505,10 +10505,10 @@ function wf(e) {
|
|
|
10505
10505
|
return ((4278255360 & f) + (4278255360 & w) >>> 0 & 4278255360) + ((16711935 & f) + (16711935 & w) >>> 0 & 16711935) >>> 0;
|
|
10506
10506
|
}
|
|
10507
10507
|
function Le(f, w) {
|
|
10508
|
-
|
|
10508
|
+
G[w] = function($, D, le, de, he, ge, we) {
|
|
10509
10509
|
var Ce;
|
|
10510
10510
|
for (Ce = 0; Ce < he; ++Ce) {
|
|
10511
|
-
var Me =
|
|
10511
|
+
var Me = G[f](ge[we + Ce - 1], le, de + Ce);
|
|
10512
10512
|
ge[we + Ce] = Y($[D + Ce], Me);
|
|
10513
10513
|
}
|
|
10514
10514
|
};
|
|
@@ -10550,11 +10550,11 @@ function wf(e) {
|
|
|
10550
10550
|
}
|
|
10551
10551
|
}
|
|
10552
10552
|
function pt(f, w, $, D, le) {
|
|
10553
|
-
|
|
10553
|
+
G[w] = function(de, he, ge, we, Ce, Me, Oe, Re, Te) {
|
|
10554
10554
|
for (we = Oe; we < Re; ++we)
|
|
10555
10555
|
for (Oe = 0; Oe < Te; ++Oe)
|
|
10556
10556
|
Ce[Me++] = le(ge[D(de[he++])]);
|
|
10557
|
-
},
|
|
10557
|
+
}, G[f] = function(de, he, ge, we, Ce, Me, Oe) {
|
|
10558
10558
|
var Re = 8 >> de.b, Te = de.Ea, Je = de.K[0], Ge = de.w;
|
|
10559
10559
|
if (8 > Re)
|
|
10560
10560
|
for (de = (1 << de.b) - 1, Ge = (1 << Re) - 1; he < ge; ++he) {
|
|
@@ -10563,7 +10563,7 @@ function wf(e) {
|
|
|
10563
10563
|
Ee & de || (Ie = D(we[Ce++])), Me[Oe++] = le(Je[Ie & Ge]), Ie >>= Re;
|
|
10564
10564
|
}
|
|
10565
10565
|
else
|
|
10566
|
-
|
|
10566
|
+
G["VP8LMapColor" + $](we, Ce, Je, Ge, Me, Oe, he, ge, Te);
|
|
10567
10567
|
};
|
|
10568
10568
|
}
|
|
10569
10569
|
function rt(f, w, $, D, le) {
|
|
@@ -10604,7 +10604,7 @@ function wf(e) {
|
|
|
10604
10604
|
r(D, le, f, w, $);
|
|
10605
10605
|
}
|
|
10606
10606
|
function bo(f, w) {
|
|
10607
|
-
|
|
10607
|
+
G[w][0] = G[f + "0"], G[w][1] = G[f + "1"], G[w][2] = G[f + "2"], G[w][3] = G[f + "3"], G[w][4] = G[f + "4"], G[w][5] = G[f + "5"], G[w][6] = G[f + "6"], G[w][7] = G[f + "7"], G[w][8] = G[f + "8"], G[w][9] = G[f + "9"], G[w][10] = G[f + "10"], G[w][11] = G[f + "11"], G[w][12] = G[f + "12"], G[w][13] = G[f + "13"], G[w][14] = G[f + "0"], G[w][15] = G[f + "0"];
|
|
10608
10608
|
}
|
|
10609
10609
|
function Xt(f) {
|
|
10610
10610
|
return f == Nu || f == Tu || f == Ei || f == Du;
|
|
@@ -10715,21 +10715,21 @@ function wf(e) {
|
|
|
10715
10715
|
case 0:
|
|
10716
10716
|
var Ge = Me, Ee = Oe, Ie = we, qe = ge, et = (ut = Ce).Ea;
|
|
10717
10717
|
Ge == 0 && (Uu(Re, Te, null, null, 1, Ie, qe), fe(Re, Te + 1, 0, 0, et - 1, Ie, qe + 1), Te += et, qe += et, ++Ge);
|
|
10718
|
-
for (var Ye = 1 << ut.b,
|
|
10718
|
+
for (var Ye = 1 << ut.b, ft = Ye - 1, At = xe(et, ut.b), mt = ut.K, ut = ut.w + (Ge >> ut.b) * At; Ge < Ee; ) {
|
|
10719
10719
|
var jt = mt, Jt = ut, Vt = 1;
|
|
10720
10720
|
for (xs(Re, Te, Ie, qe - et, 1, Ie, qe); Vt < et; ) {
|
|
10721
|
-
var Ht = (Vt & ~
|
|
10721
|
+
var Ht = (Vt & ~ft) + Ye;
|
|
10722
10722
|
Ht > et && (Ht = et), (0, nr[jt[Jt++] >> 8 & 15])(Re, Te + +Vt, Ie, qe + Vt - et, Ht - Vt, Ie, qe + Vt), Vt = Ht;
|
|
10723
10723
|
}
|
|
10724
|
-
Te += et, qe += et, ++Ge &
|
|
10724
|
+
Te += et, qe += et, ++Ge & ft || (ut += At);
|
|
10725
10725
|
}
|
|
10726
10726
|
Oe != Ce.nc && r(we, ge - Je, we, ge + (Oe - Me - 1) * Je, Je);
|
|
10727
10727
|
break;
|
|
10728
10728
|
case 1:
|
|
10729
10729
|
for (Je = Re, Ee = Te, et = (Re = Ce.Ea) - (qe = Re & ~(Ie = (Te = 1 << Ce.b) - 1)), Ge = xe(Re, Ce.b), Ye = Ce.K, Ce = Ce.w + (Me >> Ce.b) * Ge; Me < Oe; ) {
|
|
10730
|
-
for (
|
|
10731
|
-
je(
|
|
10732
|
-
Ee < jt && (je(
|
|
10730
|
+
for (ft = Ye, At = Ce, mt = new We(), ut = Ee + qe, jt = Ee + Re; Ee < ut; )
|
|
10731
|
+
je(ft[At++], mt), Ha(mt, Je, Ee, Te, we, ge), Ee += Te, ge += Te;
|
|
10732
|
+
Ee < jt && (je(ft[At++], mt), Ha(mt, Je, Ee, et, we, ge), Ee += et, ge += et), ++Me & Ie || (Ce += Ge);
|
|
10733
10733
|
}
|
|
10734
10734
|
break;
|
|
10735
10735
|
case 3:
|
|
@@ -10844,14 +10844,14 @@ function wf(e) {
|
|
|
10844
10844
|
for (; et || Oe < Te; ) {
|
|
10845
10845
|
var Ye = 0;
|
|
10846
10846
|
if (ge >= Ge) {
|
|
10847
|
-
var
|
|
10848
|
-
t((Ge = f).Pb), Ge.wd = Ge.m, Ge.xd =
|
|
10847
|
+
var ft = Oe - $;
|
|
10848
|
+
t((Ge = f).Pb), Ge.wd = Ge.m, Ge.xd = ft, 0 < Ge.s.ua && _(Ge.s.Wa, Ge.s.vb), Ge = ge + p1;
|
|
10849
10849
|
}
|
|
10850
10850
|
if (we & Ie || (qe = Tl(Me, we, ge)), t(qe != null), qe.Qb && (w[Oe] = qe.qb, et = !0), !et)
|
|
10851
10851
|
if (Q(Ce), qe.jc) {
|
|
10852
|
-
Ye = Ce,
|
|
10852
|
+
Ye = Ce, ft = w;
|
|
10853
10853
|
var At = Oe, mt = qe.pd[M(Ye) & wa - 1];
|
|
10854
|
-
t(qe.jc), 256 > mt.g ? (F(Ye, Ye.u + mt.g),
|
|
10854
|
+
t(qe.jc), 256 > mt.g ? (F(Ye, Ye.u + mt.g), ft[At] = mt.value, Ye = 0) : (F(Ye, Ye.u + mt.g - 256), t(256 <= mt.value), Ye = mt.value), Ye == 0 && (et = !0);
|
|
10855
10855
|
} else
|
|
10856
10856
|
Ye = ba(qe.G[0], qe.H[0], Ce);
|
|
10857
10857
|
if (Ce.h)
|
|
@@ -10861,20 +10861,20 @@ function wf(e) {
|
|
|
10861
10861
|
if (qe.nd)
|
|
10862
10862
|
w[Oe] = (qe.qb | Ye << 8) >>> 0;
|
|
10863
10863
|
else {
|
|
10864
|
-
if (Q(Ce), et = ba(qe.G[1], qe.H[1], Ce), Q(Ce),
|
|
10864
|
+
if (Q(Ce), et = ba(qe.G[1], qe.H[1], Ce), Q(Ce), ft = ba(qe.G[2], qe.H[2], Ce), At = ba(qe.G[3], qe.H[3], Ce), Ce.h)
|
|
10865
10865
|
break;
|
|
10866
|
-
w[Oe] = (At << 24 | et << 16 | Ye << 8 |
|
|
10866
|
+
w[Oe] = (At << 24 | et << 16 | Ye << 8 | ft) >>> 0;
|
|
10867
10867
|
}
|
|
10868
10868
|
if (et = !1, ++Oe, ++we >= D && (we = 0, ++ge, he != null && ge <= de && !(ge % 16) && he(f, ge), Ee != null))
|
|
10869
10869
|
for (; Re < Oe; )
|
|
10870
10870
|
Ye = w[Re++], Ee.X[(506832829 * Ye & 4294967295) >>> Ee.Mb] = Ye;
|
|
10871
10871
|
} else if (280 > Ye) {
|
|
10872
|
-
if (Ye = qa(Ye - 256, Ce),
|
|
10872
|
+
if (Ye = qa(Ye - 256, Ce), ft = ba(qe.G[4], qe.H[4], Ce), Q(Ce), ft = xo(D, ft = qa(ft, Ce)), Ce.h)
|
|
10873
10873
|
break;
|
|
10874
|
-
if (Oe - $ <
|
|
10874
|
+
if (Oe - $ < ft || le - Oe < Ye)
|
|
10875
10875
|
break e;
|
|
10876
10876
|
for (At = 0; At < Ye; ++At)
|
|
10877
|
-
w[Oe + At] = w[Oe + At -
|
|
10877
|
+
w[Oe + At] = w[Oe + At - ft];
|
|
10878
10878
|
for (Oe += Ye, we += Ye; we >= D; )
|
|
10879
10879
|
we -= D, ++ge, he != null && ge <= de && !(ge % 16) && he(f, ge);
|
|
10880
10880
|
if (t(Oe <= le), we & Ie && (qe = Tl(Me, we, ge)), Ee != null)
|
|
@@ -10885,7 +10885,7 @@ function wf(e) {
|
|
|
10885
10885
|
break e;
|
|
10886
10886
|
for (et = Ye - 280, t(Ee != null); Re < Oe; )
|
|
10887
10887
|
Ye = w[Re++], Ee.X[(506832829 * Ye & 4294967295) >>> Ee.Mb] = Ye;
|
|
10888
|
-
Ye = Oe, t(!(et >>> (
|
|
10888
|
+
Ye = Oe, t(!(et >>> (ft = Ee).Xa)), w[Ye] = ft.X[et], et = !0;
|
|
10889
10889
|
}
|
|
10890
10890
|
et || t(Ce.h == k(Ce));
|
|
10891
10891
|
}
|
|
@@ -10907,7 +10907,7 @@ function wf(e) {
|
|
|
10907
10907
|
}
|
|
10908
10908
|
function Da() {
|
|
10909
10909
|
var f = new $u();
|
|
10910
|
-
return f == null ? null : (f.a = 0, f.xb = Md, bo("Predictor", "VP8LPredictors"), bo("Predictor", "VP8LPredictors_C"), bo("PredictorAdd", "VP8LPredictorsAdd"), bo("PredictorAdd", "VP8LPredictorsAdd_C"), Fi = He, Ha = Ke, oo = rt, sr = zt, _o = Ot, Po = Gl, wn = Gt,
|
|
10910
|
+
return f == null ? null : (f.a = 0, f.xb = Md, bo("Predictor", "VP8LPredictors"), bo("Predictor", "VP8LPredictors_C"), bo("PredictorAdd", "VP8LPredictorsAdd"), bo("PredictorAdd", "VP8LPredictorsAdd_C"), Fi = He, Ha = Ke, oo = rt, sr = zt, _o = Ot, Po = Gl, wn = Gt, G.VP8LMapColor32b = Cs, G.VP8LMapColor8b = Mu, f);
|
|
10911
10911
|
}
|
|
10912
10912
|
function ko(f, w, $, D, le) {
|
|
10913
10913
|
var de = 1, he = [f], ge = [w], we = D.m, Ce = D.s, Me = null, Oe = 0;
|
|
@@ -10925,8 +10925,8 @@ function wf(e) {
|
|
|
10925
10925
|
Ie.b = ee(Ee, 3) + 2, Ge = ko(xe(Ie.Ea, Ie.b), xe(Ie.nc, Ie.b), 0, Je, Ie.K), Ie.K = Ie.K[0];
|
|
10926
10926
|
break;
|
|
10927
10927
|
case 3:
|
|
10928
|
-
var et, Ye = ee(Ee, 8) + 1,
|
|
10929
|
-
if (Re[0] = xe(Ie.Ea,
|
|
10928
|
+
var et, Ye = ee(Ee, 8) + 1, ft = 16 < Ye ? 0 : 4 < Ye ? 1 : 2 < Ye ? 2 : 3;
|
|
10929
|
+
if (Re[0] = xe(Ie.Ea, ft), Ie.b = ft, et = Ge = ko(Ye, 1, 0, Je, Ie.K)) {
|
|
10930
10930
|
var At, mt = Ye, ut = Ie, jt = 1 << (8 >> ut.b), Jt = a(jt);
|
|
10931
10931
|
if (Jt == null)
|
|
10932
10932
|
et = 0;
|
|
@@ -11343,36 +11343,36 @@ function wf(e) {
|
|
|
11343
11343
|
for (Te.M = 0; Te.M < Te.Va; ++Te.M) {
|
|
11344
11344
|
var Ge, Ee = Te.Jc[Te.M & Te.Xb], Ie = Te.m, qe = Te;
|
|
11345
11345
|
for (Ge = 0; Ge < qe.za; ++Ge) {
|
|
11346
|
-
var et = Ie, Ye = qe,
|
|
11346
|
+
var et = Ie, Ye = qe, ft = Ye.Ac, At = Ye.Bc + 4 * Ge, mt = Ye.zc, ut = Ye.ya[Ye.aa + Ge];
|
|
11347
11347
|
if (Ye.Qa.Bb ? ut.$b = q(et, Ye.Pa.jb[0]) ? 2 + q(et, Ye.Pa.jb[2]) : q(et, Ye.Pa.jb[1]) : ut.$b = 0, Ye.kc && (ut.Ad = q(et, Ye.Bd)), ut.Za = !q(et, 145) + 0, ut.Za) {
|
|
11348
11348
|
var jt = ut.Ob, Jt = 0;
|
|
11349
11349
|
for (Ye = 0; 4 > Ye; ++Ye) {
|
|
11350
11350
|
var Vt, Ht = mt[0 + Ye];
|
|
11351
11351
|
for (Vt = 0; 4 > Vt; ++Vt) {
|
|
11352
|
-
Ht = x1[
|
|
11352
|
+
Ht = x1[ft[At + Vt]][Ht];
|
|
11353
11353
|
for (var nl = Qd[q(et, Ht[0])]; 0 < nl; )
|
|
11354
11354
|
nl = Qd[2 * nl + q(et, Ht[nl])];
|
|
11355
|
-
Ht = -nl,
|
|
11355
|
+
Ht = -nl, ft[At + Vt] = Ht;
|
|
11356
11356
|
}
|
|
11357
|
-
r(jt, Jt,
|
|
11357
|
+
r(jt, Jt, ft, At, 4), Jt += 4, mt[0 + Ye] = Ht;
|
|
11358
11358
|
}
|
|
11359
11359
|
} else
|
|
11360
|
-
Ht = q(et, 156) ? q(et, 128) ? 1 : 3 : q(et, 163) ? 2 : 0, ut.Ob[0] = Ht, o(
|
|
11360
|
+
Ht = q(et, 156) ? q(et, 128) ? 1 : 3 : q(et, 163) ? 2 : 0, ut.Ob[0] = Ht, o(ft, At, Ht, 4), o(mt, 0, Ht, 4);
|
|
11361
11361
|
ut.Dd = q(et, 142) ? q(et, 114) ? q(et, 183) ? 1 : 3 : 2 : 0;
|
|
11362
11362
|
}
|
|
11363
11363
|
if (qe.m.Ka)
|
|
11364
11364
|
return Ll(Te, 7, "Premature end-of-partition0 encountered.");
|
|
11365
11365
|
for (; Te.ja < Te.za; ++Te.ja) {
|
|
11366
|
-
if (qe = Ee, et = (Ie = Te).rb[Ie.sb - 1],
|
|
11367
|
-
et.la =
|
|
11366
|
+
if (qe = Ee, et = (Ie = Te).rb[Ie.sb - 1], ft = Ie.rb[Ie.sb + Ie.ja], Ge = Ie.ya[Ie.aa + Ie.ja], At = Ie.kc ? Ge.Ad : 0)
|
|
11367
|
+
et.la = ft.la = 0, Ge.Za || (et.Na = ft.Na = 0), Ge.Hc = 0, Ge.Gc = 0, Ge.ia = 0;
|
|
11368
11368
|
else {
|
|
11369
11369
|
var ll, It;
|
|
11370
|
-
if (et =
|
|
11370
|
+
if (et = ft, ft = qe, At = Ie.Pa.Xc, mt = Ie.ya[Ie.aa + Ie.ja], ut = Ie.pb[mt.$b], Ye = mt.ad, jt = 0, Jt = Ie.rb[Ie.sb - 1], Ht = Vt = 0, o(Ye, jt, 0, 384), mt.Za)
|
|
11371
11371
|
var Hl = 0, Ca = At[3];
|
|
11372
11372
|
else {
|
|
11373
11373
|
nl = a(16);
|
|
11374
11374
|
var Pl = et.Na + Jt.Na;
|
|
11375
|
-
if (Pl = _s(
|
|
11375
|
+
if (Pl = _s(ft, At[1], Pl, ut.Eb, 0, nl, 0), et.Na = Jt.Na = (0 < Pl) + 0, 1 < Pl)
|
|
11376
11376
|
ro(nl, 0, Ye, jt);
|
|
11377
11377
|
else {
|
|
11378
11378
|
var ka = nl[0] + 3 >> 3;
|
|
@@ -11385,13 +11385,13 @@ function wf(e) {
|
|
|
11385
11385
|
for (nl = 0; 4 > nl; ++nl) {
|
|
11386
11386
|
var Ua = 1 & $a;
|
|
11387
11387
|
for (ka = It = 0; 4 > ka; ++ka)
|
|
11388
|
-
Zt = Zt >> 1 | (Ua = (Pl = _s(
|
|
11388
|
+
Zt = Zt >> 1 | (Ua = (Pl = _s(ft, Ca, Pl = Ua + (1 & Zt), ut.Sc, Hl, Ye, jt)) > Hl) << 7, It = It << 2 | (3 < Pl ? 3 : 1 < Pl ? 2 : Ye[jt + 0] != 0), jt += 16;
|
|
11389
11389
|
Zt >>= 4, $a = $a >> 1 | Ua << 7, Vt = (Vt << 8 | It) >>> 0;
|
|
11390
11390
|
}
|
|
11391
11391
|
for (Ca = Zt, Hl = $a >> 4, ll = 0; 4 > ll; ll += 2) {
|
|
11392
11392
|
for (It = 0, Zt = et.la >> 4 + ll, $a = Jt.la >> 4 + ll, nl = 0; 2 > nl; ++nl) {
|
|
11393
11393
|
for (Ua = 1 & $a, ka = 0; 2 > ka; ++ka)
|
|
11394
|
-
Pl = Ua + (1 & Zt), Zt = Zt >> 1 | (Ua = 0 < (Pl = _s(
|
|
11394
|
+
Pl = Ua + (1 & Zt), Zt = Zt >> 1 | (Ua = 0 < (Pl = _s(ft, At[2], Pl, ut.Qc, 0, Ye, jt))) << 3, It = It << 2 | (3 < Pl ? 3 : 1 < Pl ? 2 : Ye[jt + 0] != 0), jt += 16;
|
|
11395
11395
|
Zt >>= 2, $a = $a >> 1 | Ua << 5;
|
|
11396
11396
|
}
|
|
11397
11397
|
Ht |= It << 4 * ll, Ca |= Zt << 4 << ll, Hl |= (240 & $a) << ll;
|
|
@@ -11403,7 +11403,7 @@ function wf(e) {
|
|
|
11403
11403
|
}
|
|
11404
11404
|
if (os(Te), Ie = Je, qe = 1, Ge = (Ee = Te).D, et = 0 < Ee.L && Ee.M >= Ee.zb && Ee.M <= Ee.Va, Ee.Aa == 0)
|
|
11405
11405
|
e: {
|
|
11406
|
-
if (Ge.M = Ee.M, Ge.uc = et, ps(Ee, Ge), qe = 1, Ge = (It = Ee.D).Nb, et = (Ht = Ti[Ee.L]) * Ee.R,
|
|
11406
|
+
if (Ge.M = Ee.M, Ge.uc = et, ps(Ee, Ge), qe = 1, Ge = (It = Ee.D).Nb, et = (Ht = Ti[Ee.L]) * Ee.R, ft = Ht / 2 * Ee.B, nl = 16 * Ge * Ee.R, ka = 8 * Ge * Ee.B, At = Ee.sa, mt = Ee.ta - et + nl, ut = Ee.qa, Ye = Ee.ra - ft + ka, jt = Ee.Ha, Jt = Ee.Ia - ft + ka, $a = (Zt = It.M) == 0, Vt = Zt >= Ee.Va - 1, Ee.Aa == 2 && ps(Ee, It), It.uc)
|
|
11407
11407
|
for (Ua = (Pl = Ee).D.M, t(Pl.D.uc), It = Pl.yb; It < Pl.Hb; ++It) {
|
|
11408
11408
|
Hl = It, Ca = Ua;
|
|
11409
11409
|
var ql = (la = (Fl = Pl).D).Nb;
|
|
@@ -11424,7 +11424,7 @@ function wf(e) {
|
|
|
11424
11424
|
}
|
|
11425
11425
|
It < Ie.j && (Ht = Ie.j - It, It = Ie.j, t(!(1 & Ht)), Ie.O += Ee.R * Ht, Ie.N += Ee.B * (Ht >> 1), Ie.W += Ee.B * (Ht >> 1), Ie.F != null && (Ie.J += Ie.width * Ht)), It < Zt && (Ie.O += Ie.v, Ie.N += Ie.v >> 1, Ie.W += Ie.v >> 1, Ie.F != null && (Ie.J += Ie.v), Ie.ka = It - Ie.j, Ie.U = Ie.va - Ie.v, Ie.T = Zt - It, qe = Ie.put(Ie));
|
|
11426
11426
|
}
|
|
11427
|
-
Ge + 1 != Ee.Ic || Vt || (r(Ee.sa, Ee.ta - et, At, mt + 16 * Ee.R, et), r(Ee.qa, Ee.ra -
|
|
11427
|
+
Ge + 1 != Ee.Ic || Vt || (r(Ee.sa, Ee.ta - et, At, mt + 16 * Ee.R, et), r(Ee.qa, Ee.ra - ft, ut, Ye + 8 * Ee.B, ft), r(Ee.Ha, Ee.Ia - ft, jt, Jt + 8 * Ee.B, ft));
|
|
11428
11428
|
}
|
|
11429
11429
|
if (!qe)
|
|
11430
11430
|
return Ll(Te, 6, "Output aborted.");
|
|
@@ -11762,7 +11762,7 @@ function wf(e) {
|
|
|
11762
11762
|
w = 0;
|
|
11763
11763
|
break e;
|
|
11764
11764
|
}
|
|
11765
|
-
if (t(he != null), he.mc = w, w.c = he.c, w.i = he.i, w.l = he.l, w.l.ma = he, w.l.width = he.c, w.l.height = he.i, w.a = 0,
|
|
11765
|
+
if (t(he != null), he.mc = w, w.c = he.c, w.i = he.i, w.l = he.l, w.l.ma = he, w.l.width = he.c, w.l.height = he.i, w.a = 0, X(w.m, ge, Re, Te), !ko(he.c, he.i, 1, w, null) || (w.ab == 1 && w.gc[0].hc == 3 && No(w.s) ? (he.ic = 1, ge = w.c * w.i, w.Ta = null, w.Ua = 0, w.V = a(ge), w.Ba = 0, w.V == null ? (w.a = 1, w = 0) : w = 1) : (he.ic = 0, w = Ir(w, he.c)), !w))
|
|
11766
11766
|
break t;
|
|
11767
11767
|
w = 1;
|
|
11768
11768
|
break e;
|
|
@@ -11805,13 +11805,13 @@ function wf(e) {
|
|
|
11805
11805
|
break t;
|
|
11806
11806
|
}
|
|
11807
11807
|
Ge = qa(Ge - 256, Me);
|
|
11808
|
-
var
|
|
11808
|
+
var ft, At = ba(Ye.G[4], Ye.H[4], Me);
|
|
11809
11809
|
if (Q(Me), !(Ee >= (At = xo(Te, At = qa(At, Me))) && Ie - Ee >= Ge)) {
|
|
11810
11810
|
Je = 0;
|
|
11811
11811
|
break t;
|
|
11812
11812
|
}
|
|
11813
|
-
for (
|
|
11814
|
-
ge[Re + Ee +
|
|
11813
|
+
for (ft = 0; ft < Ge; ++ft)
|
|
11814
|
+
ge[Re + Ee + ft] = ge[Re + Ee + ft - At];
|
|
11815
11815
|
for (Ee += Ge, Ce += Ge; Ce >= Te; )
|
|
11816
11816
|
Ce -= Te, ++we <= w && !(we % 16) && Ja(he, we);
|
|
11817
11817
|
Ee < qe && Ce & et && (Ye = Tl(Oe, Ce, we));
|
|
@@ -11878,11 +11878,11 @@ function wf(e) {
|
|
|
11878
11878
|
ur = B, kn = ae, Si = Se, Cd = $e;
|
|
11879
11879
|
}
|
|
11880
11880
|
function Xe(f, w, $) {
|
|
11881
|
-
|
|
11882
|
-
var Ye,
|
|
11881
|
+
G[f] = function(D, le, de, he, ge, we, Ce, Me, Oe, Re, Te, Je, Ge, Ee, Ie, qe, et) {
|
|
11882
|
+
var Ye, ft = et - 1 >> 1, At = ge[we + 0] | Ce[Me + 0] << 16, mt = Oe[Re + 0] | Te[Je + 0] << 16;
|
|
11883
11883
|
t(D != null);
|
|
11884
11884
|
var ut = 3 * At + mt + 131074 >> 2;
|
|
11885
|
-
for (w(D[le + 0], 255 & ut, ut >> 16, Ge, Ee), de != null && (ut = 3 * mt + At + 131074 >> 2, w(de[he + 0], 255 & ut, ut >> 16, Ie, qe)), Ye = 1; Ye <=
|
|
11885
|
+
for (w(D[le + 0], 255 & ut, ut >> 16, Ge, Ee), de != null && (ut = 3 * mt + At + 131074 >> 2, w(de[he + 0], 255 & ut, ut >> 16, Ie, qe)), Ye = 1; Ye <= ft; ++Ye) {
|
|
11886
11886
|
var jt = ge[we + Ye] | Ce[Me + Ye] << 16, Jt = Oe[Re + Ye] | Te[Je + Ye] << 16, Vt = At + jt + mt + Jt + 524296, Ht = Vt + 2 * (jt + mt) >> 3;
|
|
11887
11887
|
ut = Ht + At >> 1, At = (Vt = Vt + 2 * (At + Jt) >> 3) + jt >> 1, w(D[le + 2 * Ye - 1], 255 & ut, ut >> 16, Ge, Ee + (2 * Ye - 1) * $), w(D[le + 2 * Ye - 0], 255 & At, At >> 16, Ge, Ee + (2 * Ye - 0) * $), de != null && (ut = Vt + mt >> 1, At = Ht + Jt >> 1, w(de[he + 2 * Ye - 1], 255 & ut, ut >> 16, Ie, qe + (2 * Ye - 1) * $), w(de[he + 2 * Ye + 0], 255 & At, At >> 16, Ie, qe + (2 * Ye + 0) * $)), At = jt, mt = Jt;
|
|
11888
11888
|
}
|
|
@@ -11931,7 +11931,7 @@ function wf(e) {
|
|
|
11931
11931
|
return 0 > f ? 0 : f > w ? w : f;
|
|
11932
11932
|
}
|
|
11933
11933
|
function Ho(f, w, $) {
|
|
11934
|
-
|
|
11934
|
+
G[f] = function(D, le, de, he, ge, we, Ce, Me, Oe) {
|
|
11935
11935
|
for (var Re = Me + (-2 & Oe) * $; Me != Re; )
|
|
11936
11936
|
w(D[le + 0], de[he + 0], ge[we + 0], Ce, Me), w(D[le + 1], de[he + 0], ge[we + 0], Ce, Me + $), le += 2, ++he, ++we, Me += 2 * $;
|
|
11937
11937
|
1 & Oe && w(D[le + 0], de[he + 0], ge[we + 0], Ce, Me);
|
|
@@ -12013,7 +12013,7 @@ function wf(e) {
|
|
|
12013
12013
|
e: {
|
|
12014
12014
|
var qe = f;
|
|
12015
12015
|
Ge = w, Ee = $;
|
|
12016
|
-
var et = Ce, Ye = Me,
|
|
12016
|
+
var et = Ce, Ye = Me, ft = Je = [0];
|
|
12017
12017
|
if ((ut = Oe = [Oe])[0] = 0, 8 > Ee[0])
|
|
12018
12018
|
Ee = 7;
|
|
12019
12019
|
else {
|
|
@@ -12031,7 +12031,7 @@ function wf(e) {
|
|
|
12031
12031
|
Ee = 3;
|
|
12032
12032
|
break e;
|
|
12033
12033
|
}
|
|
12034
|
-
|
|
12034
|
+
ft != null && (ft[0] = At), et != null && (et[0] = mt), Ye != null && (Ye[0] = qe), Ge[0] += 18, Ee[0] -= 18, ut[0] = 1;
|
|
12035
12035
|
}
|
|
12036
12036
|
Ee = 0;
|
|
12037
12037
|
}
|
|
@@ -12053,9 +12053,9 @@ function wf(e) {
|
|
|
12053
12053
|
e: {
|
|
12054
12054
|
At = f, Ee = w, Ie = $;
|
|
12055
12055
|
var ut = Te.gb;
|
|
12056
|
-
et = Te.na, Ye = Te.P,
|
|
12056
|
+
et = Te.na, Ye = Te.P, ft = Te.Sa, mt = 22, t(At != null), t(Ie != null), qe = Ee[0];
|
|
12057
12057
|
var jt = Ie[0];
|
|
12058
|
-
for (t(et != null), t(
|
|
12058
|
+
for (t(et != null), t(ft != null), et[0] = null, Ye[0] = null, ft[0] = 0; ; ) {
|
|
12059
12059
|
if (Ee[0] = qe, Ie[0] = jt, 8 > jt) {
|
|
12060
12060
|
Ee = 7;
|
|
12061
12061
|
break e;
|
|
@@ -12078,7 +12078,7 @@ function wf(e) {
|
|
|
12078
12078
|
Ee = 7;
|
|
12079
12079
|
break e;
|
|
12080
12080
|
}
|
|
12081
|
-
l(At, qe, "ALPH") || (et[0] = At, Ye[0] = qe + 8,
|
|
12081
|
+
l(At, qe, "ALPH") || (et[0] = At, Ye[0] = qe + 8, ft[0] = Jt), qe += Vt, jt -= Vt;
|
|
12082
12082
|
}
|
|
12083
12083
|
}
|
|
12084
12084
|
if ($ = $[0], Te.na = Te.na[0], Te.P = Te.P[0], Te.Sa = Te.Sa[0], Ee != 0)
|
|
@@ -12086,7 +12086,7 @@ function wf(e) {
|
|
|
12086
12086
|
}
|
|
12087
12087
|
$ = [$], Te.Ja = [Te.Ja], Te.xa = [Te.xa];
|
|
12088
12088
|
e:
|
|
12089
|
-
if (ut = f, Ee = w, Ie = $, et = Te.gb[0], Ye = Te.Ja,
|
|
12089
|
+
if (ut = f, Ee = w, Ie = $, et = Te.gb[0], Ye = Te.Ja, ft = Te.xa, At = Ee[0], qe = !l(ut, At, "VP8 "), mt = !l(ut, At, "VP8L"), t(ut != null), t(Ie != null), t(Ye != null), t(ft != null), 8 > Ie[0])
|
|
12090
12090
|
Ee = 7;
|
|
12091
12091
|
else {
|
|
12092
12092
|
if (qe || mt) {
|
|
@@ -12098,9 +12098,9 @@ function wf(e) {
|
|
|
12098
12098
|
Ee = 7;
|
|
12099
12099
|
break e;
|
|
12100
12100
|
}
|
|
12101
|
-
Ye[0] = ut, Ee[0] += 8, Ie[0] -= 8,
|
|
12101
|
+
Ye[0] = ut, Ee[0] += 8, Ie[0] -= 8, ft[0] = mt;
|
|
12102
12102
|
} else
|
|
12103
|
-
|
|
12103
|
+
ft[0] = 5 <= Ie[0] && ut[At + 0] == 47 && !(ut[At + 4] >> 5), Ye[0] = Ie[0];
|
|
12104
12104
|
Ee = 0;
|
|
12105
12105
|
}
|
|
12106
12106
|
if ($ = $[0], Te.Ja = Te.Ja[0], Te.xa = Te.xa[0], w = w[0], Ee != 0)
|
|
@@ -12112,7 +12112,7 @@ function wf(e) {
|
|
|
12112
12112
|
Ee = 7;
|
|
12113
12113
|
break;
|
|
12114
12114
|
}
|
|
12115
|
-
ge = he, Re = Je, Ge = de, f == null || 5 > $ ? f = 0 : 5 <= $ && f[w + 0] == 47 && !(f[w + 4] >> 5) ? (Ie = [0], ut = [0], et = [0],
|
|
12115
|
+
ge = he, Re = Je, Ge = de, f == null || 5 > $ ? f = 0 : 5 <= $ && f[w + 0] == 47 && !(f[w + 4] >> 5) ? (Ie = [0], ut = [0], et = [0], X(Ye = new S(), f, w, $), xt(Ye, Ie, ut, et) ? (ge != null && (ge[0] = Ie[0]), Re != null && (Re[0] = ut[0]), Ge != null && (Ge[0] = et[0]), f = 1) : f = 0) : f = 0;
|
|
12116
12116
|
} else {
|
|
12117
12117
|
if (10 > $) {
|
|
12118
12118
|
Ee = 7;
|
|
@@ -12195,41 +12195,41 @@ function wf(e) {
|
|
|
12195
12195
|
return f != 0 || $ != null && $.fd && (f = ms(D)), f;
|
|
12196
12196
|
}
|
|
12197
12197
|
var wa = 64, pn = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535, 131071, 262143, 524287, 1048575, 2097151, 4194303, 8388607, 16777215], bn = 24, mn = 32, ws = 8, xa = [0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7];
|
|
12198
|
-
Le("Predictor0", "PredictorAdd0"),
|
|
12198
|
+
Le("Predictor0", "PredictorAdd0"), G.Predictor0 = function() {
|
|
12199
12199
|
return 4278190080;
|
|
12200
|
-
},
|
|
12200
|
+
}, G.Predictor1 = function(f) {
|
|
12201
12201
|
return f;
|
|
12202
|
-
},
|
|
12202
|
+
}, G.Predictor2 = function(f, w, $) {
|
|
12203
12203
|
return w[$ + 0];
|
|
12204
|
-
},
|
|
12204
|
+
}, G.Predictor3 = function(f, w, $) {
|
|
12205
12205
|
return w[$ + 1];
|
|
12206
|
-
},
|
|
12206
|
+
}, G.Predictor4 = function(f, w, $) {
|
|
12207
12207
|
return w[$ - 1];
|
|
12208
|
-
},
|
|
12208
|
+
}, G.Predictor5 = function(f, w, $) {
|
|
12209
12209
|
return ke(ke(f, w[$ + 1]), w[$ + 0]);
|
|
12210
|
-
},
|
|
12210
|
+
}, G.Predictor6 = function(f, w, $) {
|
|
12211
12211
|
return ke(f, w[$ - 1]);
|
|
12212
|
-
},
|
|
12212
|
+
}, G.Predictor7 = function(f, w, $) {
|
|
12213
12213
|
return ke(f, w[$ + 0]);
|
|
12214
|
-
},
|
|
12214
|
+
}, G.Predictor8 = function(f, w, $) {
|
|
12215
12215
|
return ke(w[$ - 1], w[$ + 0]);
|
|
12216
|
-
},
|
|
12216
|
+
}, G.Predictor9 = function(f, w, $) {
|
|
12217
12217
|
return ke(w[$ + 0], w[$ + 1]);
|
|
12218
|
-
},
|
|
12218
|
+
}, G.Predictor10 = function(f, w, $) {
|
|
12219
12219
|
return ke(ke(f, w[$ - 1]), ke(w[$ + 0], w[$ + 1]));
|
|
12220
|
-
},
|
|
12220
|
+
}, G.Predictor11 = function(f, w, $) {
|
|
12221
12221
|
var D = w[$ + 0];
|
|
12222
12222
|
return 0 >= De(D >> 24 & 255, f >> 24 & 255, (w = w[$ - 1]) >> 24 & 255) + De(D >> 16 & 255, f >> 16 & 255, w >> 16 & 255) + De(D >> 8 & 255, f >> 8 & 255, w >> 8 & 255) + De(255 & D, 255 & f, 255 & w) ? D : f;
|
|
12223
|
-
},
|
|
12223
|
+
}, G.Predictor12 = function(f, w, $) {
|
|
12224
12224
|
var D = w[$ + 0];
|
|
12225
12225
|
return (Qe((f >> 24 & 255) + (D >> 24 & 255) - ((w = w[$ - 1]) >> 24 & 255)) << 24 | Qe((f >> 16 & 255) + (D >> 16 & 255) - (w >> 16 & 255)) << 16 | Qe((f >> 8 & 255) + (D >> 8 & 255) - (w >> 8 & 255)) << 8 | Qe((255 & f) + (255 & D) - (255 & w))) >>> 0;
|
|
12226
|
-
},
|
|
12226
|
+
}, G.Predictor13 = function(f, w, $) {
|
|
12227
12227
|
var D = w[$ - 1];
|
|
12228
12228
|
return (Fe((f = ke(f, w[$ + 0])) >> 24 & 255, D >> 24 & 255) << 24 | Fe(f >> 16 & 255, D >> 16 & 255) << 16 | Fe(f >> 8 & 255, D >> 8 & 255) << 8 | Fe(f >> 0 & 255, D >> 0 & 255)) >>> 0;
|
|
12229
12229
|
};
|
|
12230
|
-
var Uu =
|
|
12231
|
-
|
|
12232
|
-
var xs =
|
|
12230
|
+
var Uu = G.PredictorAdd0;
|
|
12231
|
+
G.PredictorAdd1 = fe, Le("Predictor2", "PredictorAdd2"), Le("Predictor3", "PredictorAdd3"), Le("Predictor4", "PredictorAdd4"), Le("Predictor5", "PredictorAdd5"), Le("Predictor6", "PredictorAdd6"), Le("Predictor7", "PredictorAdd7"), Le("Predictor8", "PredictorAdd8"), Le("Predictor9", "PredictorAdd9"), Le("Predictor10", "PredictorAdd10"), Le("Predictor11", "PredictorAdd11"), Le("Predictor12", "PredictorAdd12"), Le("Predictor13", "PredictorAdd13");
|
|
12232
|
+
var xs = G.PredictorAdd2;
|
|
12233
12233
|
pt("ColorIndexInverseTransform", "MapARGB", "32b", function(f) {
|
|
12234
12234
|
return f >> 8 & 255;
|
|
12235
12235
|
}, function(f) {
|
|
@@ -12239,11 +12239,11 @@ function wf(e) {
|
|
|
12239
12239
|
}, function(f) {
|
|
12240
12240
|
return f >> 8 & 255;
|
|
12241
12241
|
});
|
|
12242
|
-
var Fi, ao =
|
|
12243
|
-
nr.length = 16, (
|
|
12242
|
+
var Fi, ao = G.ColorIndexInverseTransform, Cs = G.MapARGB, Qu = G.VP8LColorIndexInverseTransformAlpha, Mu = G.MapAlpha, nr = G.VP8LPredictorsAdd = [];
|
|
12243
|
+
nr.length = 16, (G.VP8LPredictors = []).length = 16, (G.VP8LPredictorsAdd_C = []).length = 16, (G.VP8LPredictors_C = []).length = 16;
|
|
12244
12244
|
var Ha, oo, sr, _o, Po, wn, ro, xn, ks, ir, no, zo, Pr, Cn, zr, Ar, Bs, Pa, Oo, il, Al, $l, Vl, Ro, ur, kn, Si, Cd, kd = a(511), Bd = a(2041), _d = a(225), Fd = a(767), Sd = 0, Eu = Bd, Li = _d, La = Fd, za = kd, $i = 0, Ui = 1, Ld = 2, Qi = 3, Mi = 4, Iu = 5, $d = 6, Nu = 7, Tu = 8, Ei = 9, Du = 10, d1 = [2, 3, 7], h1 = [3, 3, 11], Ud = [280, 256, 256, 256, 40], f1 = [0, 1, 1, 1, 0], v1 = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], g1 = [24, 7, 23, 25, 40, 6, 39, 41, 22, 26, 38, 42, 56, 5, 55, 57, 21, 27, 54, 58, 37, 43, 72, 4, 71, 73, 20, 28, 53, 59, 70, 74, 36, 44, 88, 69, 75, 52, 60, 3, 87, 89, 19, 29, 86, 90, 35, 45, 68, 76, 85, 91, 51, 61, 104, 2, 103, 105, 18, 30, 102, 106, 34, 46, 84, 92, 67, 77, 101, 107, 50, 62, 120, 1, 119, 121, 83, 93, 17, 31, 100, 108, 66, 78, 118, 122, 33, 47, 117, 123, 49, 63, 99, 109, 82, 94, 0, 116, 124, 65, 79, 16, 32, 98, 110, 48, 115, 125, 81, 95, 64, 114, 126, 97, 111, 80, 113, 127, 96, 112], y1 = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], p1 = 8, Hu = [4, 5, 6, 7, 8, 9, 10, 10, 11, 12, 13, 14, 15, 16, 17, 17, 18, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 91, 93, 95, 96, 98, 100, 101, 102, 104, 106, 108, 110, 112, 114, 116, 118, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 143, 145, 148, 151, 154, 157], Pu = [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 119, 122, 125, 128, 131, 134, 137, 140, 143, 146, 149, 152, 155, 158, 161, 164, 167, 170, 173, 177, 181, 185, 189, 193, 197, 201, 205, 209, 213, 217, 221, 225, 229, 234, 239, 245, 249, 254, 259, 264, 269, 274, 279, 284], _s = null, b1 = [[173, 148, 140, 0], [176, 155, 140, 135, 0], [180, 157, 141, 134, 130, 0], [254, 254, 243, 230, 196, 177, 153, 140, 133, 130, 129, 0]], m1 = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], Qd = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], w1 = [[[[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]], [[253, 136, 254, 255, 228, 219, 128, 128, 128, 128, 128], [189, 129, 242, 255, 227, 213, 255, 219, 128, 128, 128], [106, 126, 227, 252, 214, 209, 255, 255, 128, 128, 128]], [[1, 98, 248, 255, 236, 226, 255, 255, 128, 128, 128], [181, 133, 238, 254, 221, 234, 255, 154, 128, 128, 128], [78, 134, 202, 247, 198, 180, 255, 219, 128, 128, 128]], [[1, 185, 249, 255, 243, 255, 128, 128, 128, 128, 128], [184, 150, 247, 255, 236, 224, 128, 128, 128, 128, 128], [77, 110, 216, 255, 236, 230, 128, 128, 128, 128, 128]], [[1, 101, 251, 255, 241, 255, 128, 128, 128, 128, 128], [170, 139, 241, 252, 236, 209, 255, 255, 128, 128, 128], [37, 116, 196, 243, 228, 255, 255, 255, 128, 128, 128]], [[1, 204, 254, 255, 245, 255, 128, 128, 128, 128, 128], [207, 160, 250, 255, 238, 128, 128, 128, 128, 128, 128], [102, 103, 231, 255, 211, 171, 128, 128, 128, 128, 128]], [[1, 152, 252, 255, 240, 255, 128, 128, 128, 128, 128], [177, 135, 243, 255, 234, 225, 128, 128, 128, 128, 128], [80, 129, 211, 255, 194, 224, 128, 128, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [246, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [255, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[198, 35, 237, 223, 193, 187, 162, 160, 145, 155, 62], [131, 45, 198, 221, 172, 176, 220, 157, 252, 221, 1], [68, 47, 146, 208, 149, 167, 221, 162, 255, 223, 128]], [[1, 149, 241, 255, 221, 224, 255, 255, 128, 128, 128], [184, 141, 234, 253, 222, 220, 255, 199, 128, 128, 128], [81, 99, 181, 242, 176, 190, 249, 202, 255, 255, 128]], [[1, 129, 232, 253, 214, 197, 242, 196, 255, 255, 128], [99, 121, 210, 250, 201, 198, 255, 202, 128, 128, 128], [23, 91, 163, 242, 170, 187, 247, 210, 255, 255, 128]], [[1, 200, 246, 255, 234, 255, 128, 128, 128, 128, 128], [109, 178, 241, 255, 231, 245, 255, 255, 128, 128, 128], [44, 130, 201, 253, 205, 192, 255, 255, 128, 128, 128]], [[1, 132, 239, 251, 219, 209, 255, 165, 128, 128, 128], [94, 136, 225, 251, 218, 190, 255, 255, 128, 128, 128], [22, 100, 174, 245, 186, 161, 255, 199, 128, 128, 128]], [[1, 182, 249, 255, 232, 235, 128, 128, 128, 128, 128], [124, 143, 241, 255, 227, 234, 128, 128, 128, 128, 128], [35, 77, 181, 251, 193, 211, 255, 205, 128, 128, 128]], [[1, 157, 247, 255, 236, 231, 255, 255, 128, 128, 128], [121, 141, 235, 255, 225, 227, 255, 255, 128, 128, 128], [45, 99, 188, 251, 195, 217, 255, 224, 128, 128, 128]], [[1, 1, 251, 255, 213, 255, 128, 128, 128, 128, 128], [203, 1, 248, 255, 255, 128, 128, 128, 128, 128, 128], [137, 1, 177, 255, 224, 255, 128, 128, 128, 128, 128]]], [[[253, 9, 248, 251, 207, 208, 255, 192, 128, 128, 128], [175, 13, 224, 243, 193, 185, 249, 198, 255, 255, 128], [73, 17, 171, 221, 161, 179, 236, 167, 255, 234, 128]], [[1, 95, 247, 253, 212, 183, 255, 255, 128, 128, 128], [239, 90, 244, 250, 211, 209, 255, 255, 128, 128, 128], [155, 77, 195, 248, 188, 195, 255, 255, 128, 128, 128]], [[1, 24, 239, 251, 218, 219, 255, 205, 128, 128, 128], [201, 51, 219, 255, 196, 186, 128, 128, 128, 128, 128], [69, 46, 190, 239, 201, 218, 255, 228, 128, 128, 128]], [[1, 191, 251, 255, 255, 128, 128, 128, 128, 128, 128], [223, 165, 249, 255, 213, 255, 128, 128, 128, 128, 128], [141, 124, 248, 255, 255, 128, 128, 128, 128, 128, 128]], [[1, 16, 248, 255, 255, 128, 128, 128, 128, 128, 128], [190, 36, 230, 255, 236, 255, 128, 128, 128, 128, 128], [149, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 226, 255, 128, 128, 128, 128, 128, 128, 128, 128], [247, 192, 255, 128, 128, 128, 128, 128, 128, 128, 128], [240, 128, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[1, 134, 252, 255, 255, 128, 128, 128, 128, 128, 128], [213, 62, 250, 255, 255, 128, 128, 128, 128, 128, 128], [55, 93, 255, 128, 128, 128, 128, 128, 128, 128, 128]], [[128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128], [128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128]]], [[[202, 24, 213, 235, 186, 191, 220, 160, 240, 175, 255], [126, 38, 182, 232, 169, 184, 228, 174, 255, 187, 128], [61, 46, 138, 219, 151, 178, 240, 170, 255, 216, 128]], [[1, 112, 230, 250, 199, 191, 247, 159, 255, 255, 128], [166, 109, 228, 252, 211, 215, 255, 174, 128, 128, 128], [39, 77, 162, 232, 172, 180, 245, 178, 255, 255, 128]], [[1, 52, 220, 246, 198, 199, 249, 220, 255, 255, 128], [124, 74, 191, 243, 183, 193, 250, 221, 255, 255, 128], [24, 71, 130, 219, 154, 170, 243, 182, 255, 255, 128]], [[1, 182, 225, 249, 219, 240, 255, 224, 128, 128, 128], [149, 150, 226, 252, 216, 205, 255, 171, 128, 128, 128], [28, 108, 170, 242, 183, 194, 254, 223, 255, 255, 128]], [[1, 81, 230, 252, 204, 203, 255, 192, 128, 128, 128], [123, 102, 209, 247, 188, 196, 255, 233, 128, 128, 128], [20, 95, 153, 243, 164, 173, 255, 203, 128, 128, 128]], [[1, 222, 248, 255, 216, 213, 128, 128, 128, 128, 128], [168, 175, 246, 252, 235, 205, 255, 255, 128, 128, 128], [47, 116, 215, 255, 211, 212, 255, 255, 128, 128, 128]], [[1, 121, 236, 253, 212, 214, 255, 255, 128, 128, 128], [141, 84, 213, 252, 201, 202, 255, 219, 128, 128, 128], [42, 80, 160, 240, 162, 185, 255, 205, 128, 128, 128]], [[1, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [244, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128], [238, 1, 255, 128, 128, 128, 128, 128, 128, 128, 128]]]], x1 = [[[231, 120, 48, 89, 115, 113, 120, 152, 112], [152, 179, 64, 126, 170, 118, 46, 70, 95], [175, 69, 143, 80, 85, 82, 72, 155, 103], [56, 58, 10, 171, 218, 189, 17, 13, 152], [114, 26, 17, 163, 44, 195, 21, 10, 173], [121, 24, 80, 195, 26, 62, 44, 64, 85], [144, 71, 10, 38, 171, 213, 144, 34, 26], [170, 46, 55, 19, 136, 160, 33, 206, 71], [63, 20, 8, 114, 114, 208, 12, 9, 226], [81, 40, 11, 96, 182, 84, 29, 16, 36]], [[134, 183, 89, 137, 98, 101, 106, 165, 148], [72, 187, 100, 130, 157, 111, 32, 75, 80], [66, 102, 167, 99, 74, 62, 40, 234, 128], [41, 53, 9, 178, 241, 141, 26, 8, 107], [74, 43, 26, 146, 73, 166, 49, 23, 157], [65, 38, 105, 160, 51, 52, 31, 115, 128], [104, 79, 12, 27, 217, 255, 87, 17, 7], [87, 68, 71, 44, 114, 51, 15, 186, 23], [47, 41, 14, 110, 182, 183, 21, 17, 194], [66, 45, 25, 102, 197, 189, 23, 18, 22]], [[88, 88, 147, 150, 42, 46, 45, 196, 205], [43, 97, 183, 117, 85, 38, 35, 179, 61], [39, 53, 200, 87, 26, 21, 43, 232, 171], [56, 34, 51, 104, 114, 102, 29, 93, 77], [39, 28, 85, 171, 58, 165, 90, 98, 64], [34, 22, 116, 206, 23, 34, 43, 166, 73], [107, 54, 32, 26, 51, 1, 81, 43, 31], [68, 25, 106, 22, 64, 171, 36, 225, 114], [34, 19, 21, 102, 132, 188, 16, 76, 124], [62, 18, 78, 95, 85, 57, 50, 48, 51]], [[193, 101, 35, 159, 215, 111, 89, 46, 111], [60, 148, 31, 172, 219, 228, 21, 18, 111], [112, 113, 77, 85, 179, 255, 38, 120, 114], [40, 42, 1, 196, 245, 209, 10, 25, 109], [88, 43, 29, 140, 166, 213, 37, 43, 154], [61, 63, 30, 155, 67, 45, 68, 1, 209], [100, 80, 8, 43, 154, 1, 51, 26, 71], [142, 78, 78, 16, 255, 128, 34, 197, 171], [41, 40, 5, 102, 211, 183, 4, 1, 221], [51, 50, 17, 168, 209, 192, 23, 25, 82]], [[138, 31, 36, 171, 27, 166, 38, 44, 229], [67, 87, 58, 169, 82, 115, 26, 59, 179], [63, 59, 90, 180, 59, 166, 93, 73, 154], [40, 40, 21, 116, 143, 209, 34, 39, 175], [47, 15, 16, 183, 34, 223, 49, 45, 183], [46, 17, 33, 183, 6, 98, 15, 32, 183], [57, 46, 22, 24, 128, 1, 54, 17, 37], [65, 32, 73, 115, 28, 128, 23, 128, 205], [40, 3, 9, 115, 51, 192, 18, 6, 223], [87, 37, 9, 115, 59, 77, 64, 21, 47]], [[104, 55, 44, 218, 9, 54, 53, 130, 226], [64, 90, 70, 205, 40, 41, 23, 26, 57], [54, 57, 112, 184, 5, 41, 38, 166, 213], [30, 34, 26, 133, 152, 116, 10, 32, 134], [39, 19, 53, 221, 26, 114, 32, 73, 255], [31, 9, 65, 234, 2, 15, 1, 118, 73], [75, 32, 12, 51, 192, 255, 160, 43, 51], [88, 31, 35, 67, 102, 85, 55, 186, 85], [56, 21, 23, 111, 59, 205, 45, 37, 192], [55, 38, 70, 124, 73, 102, 1, 34, 98]], [[125, 98, 42, 88, 104, 85, 117, 175, 82], [95, 84, 53, 89, 128, 100, 113, 101, 45], [75, 79, 123, 47, 51, 128, 81, 171, 1], [57, 17, 5, 71, 102, 57, 53, 41, 49], [38, 33, 13, 121, 57, 73, 26, 1, 85], [41, 10, 67, 138, 77, 110, 90, 47, 114], [115, 21, 2, 10, 102, 255, 166, 23, 6], [101, 29, 16, 10, 85, 128, 101, 196, 26], [57, 18, 10, 102, 102, 213, 34, 20, 43], [117, 20, 15, 36, 163, 128, 68, 1, 26]], [[102, 61, 71, 37, 34, 53, 31, 243, 192], [69, 60, 71, 38, 73, 119, 28, 222, 37], [68, 45, 128, 34, 1, 47, 11, 245, 171], [62, 17, 19, 70, 146, 85, 55, 62, 70], [37, 43, 37, 154, 100, 163, 85, 160, 1], [63, 9, 92, 136, 28, 64, 32, 201, 85], [75, 15, 9, 9, 64, 255, 184, 119, 16], [86, 6, 28, 5, 64, 255, 25, 248, 1], [56, 8, 17, 132, 137, 255, 55, 116, 128], [58, 15, 20, 82, 135, 57, 26, 121, 40]], [[164, 50, 31, 137, 154, 133, 25, 35, 218], [51, 103, 44, 131, 131, 123, 31, 6, 158], [86, 40, 64, 135, 148, 224, 45, 183, 128], [22, 26, 17, 131, 240, 154, 14, 1, 209], [45, 16, 21, 91, 64, 222, 7, 1, 197], [56, 21, 39, 155, 60, 138, 23, 102, 213], [83, 12, 13, 54, 192, 255, 68, 47, 28], [85, 26, 85, 85, 128, 128, 32, 146, 171], [18, 11, 7, 63, 144, 171, 4, 4, 246], [35, 27, 10, 146, 174, 171, 12, 26, 128]], [[190, 80, 35, 99, 180, 80, 126, 54, 45], [85, 126, 47, 87, 176, 51, 41, 20, 32], [101, 75, 128, 139, 118, 146, 116, 128, 85], [56, 41, 15, 176, 236, 85, 37, 9, 62], [71, 30, 17, 119, 118, 255, 17, 18, 138], [101, 38, 60, 138, 55, 70, 43, 26, 142], [146, 36, 19, 30, 171, 255, 97, 27, 20], [138, 45, 61, 62, 219, 1, 81, 188, 64], [32, 41, 20, 117, 151, 142, 20, 21, 163], [112, 19, 12, 61, 195, 128, 48, 4, 24]]], C1 = [[[[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[176, 246, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 241, 252, 255, 255, 255, 255, 255, 255, 255, 255], [249, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 244, 252, 255, 255, 255, 255, 255, 255, 255, 255], [234, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 246, 254, 255, 255, 255, 255, 255, 255, 255, 255], [239, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 254, 255, 255, 255, 255, 255, 255], [250, 255, 254, 255, 254, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[217, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [225, 252, 241, 253, 255, 255, 254, 255, 255, 255, 255], [234, 250, 241, 250, 253, 255, 253, 254, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [223, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [238, 253, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 248, 254, 255, 255, 255, 255, 255, 255, 255, 255], [249, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 255, 255, 255, 255, 255, 255, 255, 255, 255], [247, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [252, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[186, 251, 250, 255, 255, 255, 255, 255, 255, 255, 255], [234, 251, 244, 254, 255, 255, 255, 255, 255, 255, 255], [251, 251, 243, 253, 254, 255, 254, 255, 255, 255, 255]], [[255, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [236, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [251, 253, 253, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]], [[[248, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [250, 254, 252, 254, 255, 255, 255, 255, 255, 255, 255], [248, 254, 249, 253, 255, 255, 255, 255, 255, 255, 255]], [[255, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [246, 253, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 254, 251, 254, 254, 255, 255, 255, 255, 255, 255]], [[255, 254, 252, 255, 255, 255, 255, 255, 255, 255, 255], [248, 254, 253, 255, 255, 255, 255, 255, 255, 255, 255], [253, 255, 254, 254, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [245, 251, 254, 255, 255, 255, 255, 255, 255, 255, 255], [253, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 251, 253, 255, 255, 255, 255, 255, 255, 255, 255], [252, 253, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 252, 255, 255, 255, 255, 255, 255, 255, 255, 255], [249, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 254, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 253, 255, 255, 255, 255, 255, 255, 255, 255], [250, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]], [[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255], [255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]]]], k1 = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], cr = [], so = [], Vo = [], B1 = 1, Md = 2, dr = [], Oa = [];
|
|
12245
12245
|
Xe("UpsampleRgbLinePair", Rt, 3), Xe("UpsampleBgrLinePair", pl, 3), Xe("UpsampleRgbaLinePair", lo, 4), Xe("UpsampleBgraLinePair", Xl, 4), Xe("UpsampleArgbLinePair", ia, 4), Xe("UpsampleRgba4444LinePair", Dl, 2), Xe("UpsampleRgb565LinePair", _l, 2);
|
|
12246
|
-
var _1 =
|
|
12246
|
+
var _1 = G.UpsampleRgbLinePair, F1 = G.UpsampleBgrLinePair, Ed = G.UpsampleRgbaLinePair, Id = G.UpsampleBgraLinePair, Nd = G.UpsampleArgbLinePair, Td = G.UpsampleRgba4444LinePair, S1 = G.UpsampleRgb565LinePair, Ii = 16, Ni = 1 << Ii - 1, Fs = -227, zu = 482, Dd = 6, L1 = (256 << Dd) - 1, Hd = 0, $1 = a(256), U1 = a(256), Q1 = a(256), M1 = a(256), E1 = a(zu - Fs), I1 = a(zu - Fs);
|
|
12247
12247
|
Ho("YuvToRgbRow", Rt, 3), Ho("YuvToBgrRow", pl, 3), Ho("YuvToRgbaRow", lo, 4), Ho("YuvToBgraRow", Xl, 4), Ho("YuvToArgbRow", ia, 4), Ho("YuvToRgba4444Row", Dl, 2), Ho("YuvToRgb565Row", _l, 2);
|
|
12248
12248
|
var Pd = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], Ti = [0, 2, 8], N1 = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], T1 = 1;
|
|
12249
12249
|
this.WebPDecodeRGBA = function(f, w, $, D, le) {
|
|
@@ -12271,7 +12271,7 @@ function wf(e) {
|
|
|
12271
12271
|
return 0;
|
|
12272
12272
|
if (Te == null)
|
|
12273
12273
|
return Re.a = 2, 0;
|
|
12274
|
-
if (Re.l = Te, Re.a = 0,
|
|
12274
|
+
if (Re.l = Te, Re.a = 0, X(Re.m, Te.data, Te.w, Te.ha), !xt(Re.m, Je, Ge, Ee)) {
|
|
12275
12275
|
Re.a = 3;
|
|
12276
12276
|
break t;
|
|
12277
12277
|
}
|
|
@@ -12346,19 +12346,19 @@ function wf(e) {
|
|
|
12346
12346
|
};
|
|
12347
12347
|
var zd = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
|
|
12348
12348
|
};
|
|
12349
|
-
function v(
|
|
12349
|
+
function v(G, ye) {
|
|
12350
12350
|
for (var ve = "", V = 0; V < 4; V++)
|
|
12351
|
-
ve += String.fromCharCode(
|
|
12351
|
+
ve += String.fromCharCode(G[ye++]);
|
|
12352
12352
|
return ve;
|
|
12353
12353
|
}
|
|
12354
|
-
function g(
|
|
12355
|
-
return (
|
|
12354
|
+
function g(G, ye) {
|
|
12355
|
+
return (G[ye + 0] << 0 | G[ye + 1] << 8 | G[ye + 2] << 16) >>> 0;
|
|
12356
12356
|
}
|
|
12357
|
-
function b(
|
|
12358
|
-
return (
|
|
12357
|
+
function b(G, ye) {
|
|
12358
|
+
return (G[ye + 0] << 0 | G[ye + 1] << 8 | G[ye + 2] << 16 | G[ye + 3] << 24) >>> 0;
|
|
12359
12359
|
}
|
|
12360
12360
|
new u();
|
|
12361
|
-
var p = [0], m = [0], d = [], i = new u(), A = e, x = function(
|
|
12361
|
+
var p = [0], m = [0], d = [], i = new u(), A = e, x = function(G, ye) {
|
|
12362
12362
|
var ve = {}, V = 0, R = !1, K = 0, Z = 0;
|
|
12363
12363
|
if (ve.frames = [], !/** @license
|
|
12364
12364
|
* Copyright (c) 2017 Dominik Homberger
|
|
@@ -12373,31 +12373,31 @@ function wf(e) {
|
|
|
12373
12373
|
if (M[k + z] != F.charCodeAt(z))
|
|
12374
12374
|
return !0;
|
|
12375
12375
|
return !1;
|
|
12376
|
-
}(
|
|
12376
|
+
}(G, ye, "RIFF", 4)) {
|
|
12377
12377
|
var pe, _e;
|
|
12378
|
-
for (b(
|
|
12379
|
-
var re = v(
|
|
12378
|
+
for (b(G, ye += 4), ye += 8; ye < G.length; ) {
|
|
12379
|
+
var re = v(G, ye), X = b(G, ye += 4);
|
|
12380
12380
|
ye += 4;
|
|
12381
|
-
var j =
|
|
12381
|
+
var j = X + (1 & X);
|
|
12382
12382
|
switch (re) {
|
|
12383
12383
|
case "VP8 ":
|
|
12384
12384
|
case "VP8L":
|
|
12385
|
-
ve.frames[V] === void 0 && (ve.frames[V] = {}), (S = ve.frames[V]).src_off = R ? Z : ye - 8, S.src_size = K +
|
|
12385
|
+
ve.frames[V] === void 0 && (ve.frames[V] = {}), (S = ve.frames[V]).src_off = R ? Z : ye - 8, S.src_size = K + X + 8, V++, R && (R = !1, K = 0, Z = 0);
|
|
12386
12386
|
break;
|
|
12387
12387
|
case "VP8X":
|
|
12388
|
-
(S = ve.header = {}).feature_flags =
|
|
12388
|
+
(S = ve.header = {}).feature_flags = G[ye];
|
|
12389
12389
|
var ee = ye + 4;
|
|
12390
|
-
S.canvas_width = 1 + g(
|
|
12390
|
+
S.canvas_width = 1 + g(G, ee), ee += 3, S.canvas_height = 1 + g(G, ee), ee += 3;
|
|
12391
12391
|
break;
|
|
12392
12392
|
case "ALPH":
|
|
12393
12393
|
R = !0, K = j + 8, Z = ye - 8;
|
|
12394
12394
|
break;
|
|
12395
12395
|
case "ANIM":
|
|
12396
|
-
(S = ve.header).bgcolor = b(
|
|
12396
|
+
(S = ve.header).bgcolor = b(G, ye), ee = ye + 4, S.loop_count = (pe = G)[(_e = ee) + 0] << 0 | pe[_e + 1] << 8, ee += 2;
|
|
12397
12397
|
break;
|
|
12398
12398
|
case "ANMF":
|
|
12399
12399
|
var Ae, S;
|
|
12400
|
-
(S = ve.frames[V] = {}).offset_x = 2 * g(
|
|
12400
|
+
(S = ve.frames[V] = {}).offset_x = 2 * g(G, ye), ye += 3, S.offset_y = 2 * g(G, ye), ye += 3, S.width = 1 + g(G, ye), ye += 3, S.height = 1 + g(G, ye), ye += 3, S.duration = g(G, ye), ye += 3, Ae = G[ye++], S.dispose = 1 & Ae, S.blend = Ae >> 1 & 1;
|
|
12401
12401
|
}
|
|
12402
12402
|
re != "ANMF" && (ye += j);
|
|
12403
12403
|
}
|
|
@@ -12440,7 +12440,7 @@ function wf(e) {
|
|
|
12440
12440
|
if (U = oe * m, A = p.subarray(U, U + m), i)
|
|
12441
12441
|
P.set(i(A, d, x), U + oe);
|
|
12442
12442
|
else {
|
|
12443
|
-
for (var J,
|
|
12443
|
+
for (var J, G = W.length, ye = []; J < G; J += 1)
|
|
12444
12444
|
ye[J] = W[J](A, d, x);
|
|
12445
12445
|
var ve = b(ye.concat());
|
|
12446
12446
|
P.set(ye[ve], U + oe);
|
|
@@ -12491,21 +12491,21 @@ function wf(e) {
|
|
|
12491
12491
|
return m.indexOf(Math.min.apply(null, m));
|
|
12492
12492
|
};
|
|
12493
12493
|
e.processPNG = function(p, m, d, i) {
|
|
12494
|
-
var A, x, U, C, P, W, oe, J,
|
|
12494
|
+
var A, x, U, C, P, W, oe, J, G, ye, ve, V, R, K, Z, pe = this.decode.FLATE_DECODE, _e = "";
|
|
12495
12495
|
if (this.__addimage__.isArrayBuffer(p) && (p = new Uint8Array(p)), this.__addimage__.isArrayBufferView(p)) {
|
|
12496
12496
|
if (p = (U = new lm(p)).imgData, x = U.bits, A = U.colorSpace, P = U.colors, [4, 6].indexOf(U.colorType) !== -1) {
|
|
12497
12497
|
if (U.bits === 8) {
|
|
12498
|
-
|
|
12499
|
-
var re,
|
|
12500
|
-
for (K = 0, Z = 0; K <
|
|
12501
|
-
for (R = J[K], re = 0; re <
|
|
12498
|
+
G = (J = U.pixelBitlength == 32 ? new Uint32Array(U.decodePixels().buffer) : U.pixelBitlength == 16 ? new Uint16Array(U.decodePixels().buffer) : new Uint8Array(U.decodePixels().buffer)).length, ve = new Uint8Array(G * U.colors), ye = new Uint8Array(G);
|
|
12499
|
+
var re, X = U.pixelBitlength - U.bits;
|
|
12500
|
+
for (K = 0, Z = 0; K < G; K++) {
|
|
12501
|
+
for (R = J[K], re = 0; re < X; )
|
|
12502
12502
|
ve[Z++] = R >>> re & 255, re += U.bits;
|
|
12503
12503
|
ye[K] = R >>> re & 255;
|
|
12504
12504
|
}
|
|
12505
12505
|
}
|
|
12506
12506
|
if (U.bits === 16) {
|
|
12507
|
-
|
|
12508
|
-
for (var j = 0; K <
|
|
12507
|
+
G = (J = new Uint32Array(U.decodePixels().buffer)).length, ve = new Uint8Array(G * (32 / U.pixelBitlength) * U.colors), ye = new Uint8Array(G * (32 / U.pixelBitlength)), V = U.colors > 1, K = 0, Z = 0;
|
|
12508
|
+
for (var j = 0; K < G; )
|
|
12509
12509
|
R = J[K++], ve[Z++] = R >>> 0 & 255, V && (ve[Z++] = R >>> 16 & 255, R = J[K++], ve[Z++] = R >>> 0 & 255), ye[j++] = R >>> 16 & 255;
|
|
12510
12510
|
x = 8;
|
|
12511
12511
|
}
|
|
@@ -12513,12 +12513,12 @@ function wf(e) {
|
|
|
12513
12513
|
}
|
|
12514
12514
|
if (U.colorType === 3 && (A = this.color_spaces.INDEXED, W = U.palette, U.transparency.indexed)) {
|
|
12515
12515
|
var ee = U.transparency.indexed, Ae = 0;
|
|
12516
|
-
for (K = 0,
|
|
12516
|
+
for (K = 0, G = ee.length; K < G; ++K)
|
|
12517
12517
|
Ae += ee[K];
|
|
12518
|
-
if ((Ae /= 255) ===
|
|
12518
|
+
if ((Ae /= 255) === G - 1 && ee.indexOf(0) !== -1)
|
|
12519
12519
|
C = [ee.indexOf(0)];
|
|
12520
|
-
else if (Ae !==
|
|
12521
|
-
for (J = U.decodePixels(), ye = new Uint8Array(J.length), K = 0,
|
|
12520
|
+
else if (Ae !== G) {
|
|
12521
|
+
for (J = U.decodePixels(), ye = new Uint8Array(J.length), K = 0, G = J.length; K < G; K++)
|
|
12522
12522
|
ye[K] = ee[J[K]];
|
|
12523
12523
|
oe = l(ye, U.width, 1);
|
|
12524
12524
|
}
|
|
@@ -12820,7 +12820,7 @@ function(e) {
|
|
|
12820
12820
|
*/
|
|
12821
12821
|
function(e) {
|
|
12822
12822
|
function t() {
|
|
12823
|
-
return (Bt.canvg ? Promise.resolve(Bt.canvg) : import("./index.es-
|
|
12823
|
+
return (Bt.canvg ? Promise.resolve(Bt.canvg) : import("./index.es-2ae19426.js")).catch(function(l) {
|
|
12824
12824
|
return Promise.reject(new Error("Could not load canvg: " + l));
|
|
12825
12825
|
}).then(function(l) {
|
|
12826
12826
|
return l.default ? l.default : l;
|
|
@@ -13071,7 +13071,7 @@ function(e) {
|
|
|
13071
13071
|
}
|
|
13072
13072
|
return !1;
|
|
13073
13073
|
}, oe = function(V, R, K, Z) {
|
|
13074
|
-
var pe, _e, re,
|
|
13074
|
+
var pe, _e, re, X, j = R[Z];
|
|
13075
13075
|
switch (j) {
|
|
13076
13076
|
case "L":
|
|
13077
13077
|
case "R":
|
|
@@ -13104,15 +13104,15 @@ function(e) {
|
|
|
13104
13104
|
j = "N";
|
|
13105
13105
|
break;
|
|
13106
13106
|
}
|
|
13107
|
-
for (re = Z + 1,
|
|
13107
|
+
for (re = Z + 1, X = R.length; re < X && R[re] === "ET"; )
|
|
13108
13108
|
re++;
|
|
13109
|
-
j = re <
|
|
13109
|
+
j = re < X && R[re] === "EN" ? "EN" : "N";
|
|
13110
13110
|
break;
|
|
13111
13111
|
case "NSM":
|
|
13112
13112
|
if (n && !s) {
|
|
13113
|
-
for (
|
|
13113
|
+
for (X = R.length, re = Z + 1; re < X && R[re] === "NSM"; )
|
|
13114
13114
|
re++;
|
|
13115
|
-
if (re <
|
|
13115
|
+
if (re < X) {
|
|
13116
13116
|
var ee = V[Z], Ae = ee >= 1425 && ee <= 2303 || ee === 64286;
|
|
13117
13117
|
if (pe = R[re], Ae && (pe === "R" || pe === "AL")) {
|
|
13118
13118
|
j = "R";
|
|
@@ -13141,13 +13141,13 @@ function(e) {
|
|
|
13141
13141
|
return j;
|
|
13142
13142
|
}, J = function(V, R, K) {
|
|
13143
13143
|
var Z = V.split("");
|
|
13144
|
-
return K &&
|
|
13145
|
-
},
|
|
13146
|
-
var Z, pe, _e, re,
|
|
13144
|
+
return K && G(Z, K, { hiLevel: C }), Z.reverse(), R && R.reverse(), Z.join("");
|
|
13145
|
+
}, G = function(V, R, K) {
|
|
13146
|
+
var Z, pe, _e, re, X, j = -1, ee = V.length, Ae = 0, S = [], M = C ? m : p, k = [];
|
|
13147
13147
|
for (U = !1, o = !1, a = !1, pe = 0; pe < ee; pe++)
|
|
13148
13148
|
k[pe] = P(V[pe]);
|
|
13149
13149
|
for (_e = 0; _e < ee; _e++) {
|
|
13150
|
-
if (
|
|
13150
|
+
if (X = Ae, S[_e] = oe(V, k, S, _e), Z = 240 & (Ae = M[X][d[S[_e]]]), Ae &= 15, R[_e] = re = M[Ae][5], Z > 0)
|
|
13151
13151
|
if (Z === 16) {
|
|
13152
13152
|
for (pe = j; pe < _e; pe++)
|
|
13153
13153
|
R[pe] = 1;
|
|
@@ -13175,21 +13175,21 @@ function(e) {
|
|
|
13175
13175
|
if (!(pe.hiLevel < V)) {
|
|
13176
13176
|
if (V === 1 && C === 1 && !o)
|
|
13177
13177
|
return R.reverse(), void (K && K.reverse());
|
|
13178
|
-
for (var _e, re,
|
|
13178
|
+
for (var _e, re, X, j, ee = R.length, Ae = 0; Ae < ee; ) {
|
|
13179
13179
|
if (Z[Ae] >= V) {
|
|
13180
|
-
for (
|
|
13181
|
-
|
|
13182
|
-
for (j = Ae, re =
|
|
13180
|
+
for (X = Ae + 1; X < ee && Z[X] >= V; )
|
|
13181
|
+
X++;
|
|
13182
|
+
for (j = Ae, re = X - 1; j < re; j++, re--)
|
|
13183
13183
|
_e = R[j], R[j] = R[re], R[re] = _e, K && (_e = K[j], K[j] = K[re], K[re] = _e);
|
|
13184
|
-
Ae =
|
|
13184
|
+
Ae = X;
|
|
13185
13185
|
}
|
|
13186
13186
|
Ae++;
|
|
13187
13187
|
}
|
|
13188
13188
|
}
|
|
13189
13189
|
}, ve = function(V, R, K) {
|
|
13190
13190
|
var Z = V.split(""), pe = { hiLevel: C };
|
|
13191
|
-
return K || (K = []),
|
|
13192
|
-
if (
|
|
13191
|
+
return K || (K = []), G(Z, K, pe), function(_e, re, X) {
|
|
13192
|
+
if (X.hiLevel !== 0 && g)
|
|
13193
13193
|
for (var j, ee = 0; ee < _e.length; ee++)
|
|
13194
13194
|
re[ee] === 1 && (j = A.indexOf(_e[ee])) >= 0 && (_e[ee] = A[j + 1]);
|
|
13195
13195
|
}(Z, K, pe), ye(2, Z, R, K, pe), ye(1, Z, R, K, pe), Z.join("");
|
|
@@ -13423,7 +13423,7 @@ var nm = function(e) {
|
|
|
13423
13423
|
t.pos = b;
|
|
13424
13424
|
}
|
|
13425
13425
|
return e.encode = function(t, l) {
|
|
13426
|
-
var r, o, a, n, s, u, v, g, b, p, m, d, i, A, x, U, C, P, W, oe, J,
|
|
13426
|
+
var r, o, a, n, s, u, v, g, b, p, m, d, i, A, x, U, C, P, W, oe, J, G, ye, ve, V, R, K, Z, pe, _e, re, X, j, ee, Ae, S, M, k, F, Q, z, H, q, te, ne, me;
|
|
13427
13427
|
switch (Z = new Ur(), n = Object.keys(t).sort(function(se, ce) {
|
|
13428
13428
|
return se - ce;
|
|
13429
13429
|
}), l) {
|
|
@@ -13439,18 +13439,18 @@ var nm = function(e) {
|
|
|
13439
13439
|
case "unicode":
|
|
13440
13440
|
for (R = [], b = [], C = 0, U = {}, r = {}, x = v = null, _e = 0, ee = n.length; _e < ee; _e++)
|
|
13441
13441
|
U[W = t[o = n[_e]]] == null && (U[W] = ++C), r[o] = { old: W, new: U[W] }, s = U[W] - o, x != null && s === v || (x && b.push(x), R.push(o), v = s), x = o;
|
|
13442
|
-
for (x && b.push(x), b.push(65535), R.push(65535), ve = 2 * (ye = R.length),
|
|
13442
|
+
for (x && b.push(x), b.push(65535), R.push(65535), ve = 2 * (ye = R.length), G = 2 * Math.pow(Math.log(ye) / Math.LN2, 2), p = Math.log(G / 2) / Math.LN2, J = 2 * ye - G, u = [], oe = [], m = [], d = re = 0, Ae = R.length; re < Ae; d = ++re) {
|
|
13443
13443
|
if (V = R[d], g = b[d], V === 65535) {
|
|
13444
13444
|
u.push(0), oe.push(0);
|
|
13445
13445
|
break;
|
|
13446
13446
|
}
|
|
13447
13447
|
if (V - (K = r[V].new) >= 32768)
|
|
13448
|
-
for (u.push(0), oe.push(2 * (m.length + ye - d)), o =
|
|
13448
|
+
for (u.push(0), oe.push(2 * (m.length + ye - d)), o = X = V; V <= g ? X <= g : X >= g; o = V <= g ? ++X : --X)
|
|
13449
13449
|
m.push(r[o].new);
|
|
13450
13450
|
else
|
|
13451
13451
|
u.push(K - V), oe.push(0);
|
|
13452
13452
|
}
|
|
13453
|
-
for (Z.writeUInt16(3), Z.writeUInt16(1), Z.writeUInt32(12), Z.writeUInt16(4), Z.writeUInt16(16 + 8 * ye + 2 * m.length), Z.writeUInt16(0), Z.writeUInt16(ve), Z.writeUInt16(
|
|
13453
|
+
for (Z.writeUInt16(3), Z.writeUInt16(1), Z.writeUInt32(12), Z.writeUInt16(4), Z.writeUInt16(16 + 8 * ye + 2 * m.length), Z.writeUInt16(0), Z.writeUInt16(ve), Z.writeUInt16(G), Z.writeUInt16(p), Z.writeUInt16(J), z = 0, S = b.length; z < S; z++)
|
|
13454
13454
|
o = b[z], Z.writeUInt16(o);
|
|
13455
13455
|
for (Z.writeUInt16(0), H = 0, M = R.length; H < M; H++)
|
|
13456
13456
|
o = R[H], Z.writeUInt16(o);
|
|
@@ -13804,7 +13804,7 @@ function Ia(e, t, l, r, o, a = 1.99999, n = 2, s = 1.45, u = 360, v = 105.25, g
|
|
|
13804
13804
|
let d = 0;
|
|
13805
13805
|
for (let i = 0; i < b.length; i += 1) {
|
|
13806
13806
|
let A = b[i].value / p;
|
|
13807
|
-
const x = A * (Math.PI * a), C = b[i].value / 2 / p * (Math.PI * n), { startX: P, startY: W, endX: oe, endY: J, path:
|
|
13807
|
+
const x = A * (Math.PI * a), C = b[i].value / 2 / p * (Math.PI * n), { startX: P, startY: W, endX: oe, endY: J, path: G } = Fc(
|
|
13808
13808
|
[t, l],
|
|
13809
13809
|
[r, o],
|
|
13810
13810
|
[d, x],
|
|
@@ -13821,13 +13821,13 @@ function Ia(e, t, l, r, o, a = 1.99999, n = 2, s = 1.45, u = 360, v = 105.25, g
|
|
|
13821
13821
|
!0
|
|
13822
13822
|
);
|
|
13823
13823
|
m.push({
|
|
13824
|
-
arcSlice: `${
|
|
13824
|
+
arcSlice: `${G} L ${ye.startX} ${ye.startY} ${ye.path} L ${P} ${W}`,
|
|
13825
13825
|
cx: t,
|
|
13826
13826
|
cy: l,
|
|
13827
13827
|
...b[i],
|
|
13828
13828
|
proportion: A,
|
|
13829
13829
|
ratio: x,
|
|
13830
|
-
path:
|
|
13830
|
+
path: G,
|
|
13831
13831
|
startX: P,
|
|
13832
13832
|
startY: W,
|
|
13833
13833
|
endX: oe,
|
|
@@ -14326,16 +14326,16 @@ function Ys(e, t, l, r, o) {
|
|
|
14326
14326
|
if (C === P)
|
|
14327
14327
|
W = oe = 0;
|
|
14328
14328
|
else {
|
|
14329
|
-
const
|
|
14330
|
-
switch (oe = J > 0.5 ?
|
|
14329
|
+
const G = C - P;
|
|
14330
|
+
switch (oe = J > 0.5 ? G / (2 - C - P) : G / (C + P), C) {
|
|
14331
14331
|
case A:
|
|
14332
|
-
W = (x - U) /
|
|
14332
|
+
W = (x - U) / G + (x < U ? 6 : 0);
|
|
14333
14333
|
break;
|
|
14334
14334
|
case x:
|
|
14335
|
-
W = (U - A) /
|
|
14335
|
+
W = (U - A) / G + 2;
|
|
14336
14336
|
break;
|
|
14337
14337
|
case U:
|
|
14338
|
-
W = (A - x) /
|
|
14338
|
+
W = (A - x) / G + 4;
|
|
14339
14339
|
break;
|
|
14340
14340
|
}
|
|
14341
14341
|
W /= 6;
|
|
@@ -14346,8 +14346,8 @@ function Ys(e, t, l, r, o) {
|
|
|
14346
14346
|
if (x === 0)
|
|
14347
14347
|
C = P = W = U;
|
|
14348
14348
|
else {
|
|
14349
|
-
const oe = (ye, ve, V) => (V < 0 && (V += 1), V > 1 && (V -= 1), V < 0.16666666666666666 ? ye + (ve - ye) * 6 * V : V < 0.5 ? ve : V < 0.6666666666666666 ? ye + (ve - ye) * (0.6666666666666666 - V) * 6 : ye), J = U < 0.5 ? U * (1 + x) : U + x - U * x,
|
|
14350
|
-
C = oe(
|
|
14349
|
+
const oe = (ye, ve, V) => (V < 0 && (V += 1), V > 1 && (V -= 1), V < 0.16666666666666666 ? ye + (ve - ye) * 6 * V : V < 0.5 ? ve : V < 0.6666666666666666 ? ye + (ve - ye) * (0.6666666666666666 - V) * 6 : ye), J = U < 0.5 ? U * (1 + x) : U + x - U * x, G = 2 * U - J;
|
|
14350
|
+
C = oe(G, J, A + 0.3333333333333333), P = oe(G, J, A), W = oe(G, J, A - 0.3333333333333333);
|
|
14351
14351
|
}
|
|
14352
14352
|
return {
|
|
14353
14353
|
r: Math.round(C * 255),
|
|
@@ -14363,7 +14363,7 @@ function Ys(e, t, l, r, o) {
|
|
|
14363
14363
|
}, m = s(p), d = u(m);
|
|
14364
14364
|
return n(d);
|
|
14365
14365
|
}
|
|
14366
|
-
function
|
|
14366
|
+
function ht({ p: e = "", v: t, s: l = "", r = 0, space: o = !1 }) {
|
|
14367
14367
|
const a = Number(Number(t).toFixed(r).toLocaleString()), n = a === 1 / 0 ? "∞" : a === -1 / 0 ? "-∞" : a;
|
|
14368
14368
|
return `${e ?? ""}${o ? " " : ""}${[void 0, null].includes(t) ? "-" : n}${o ? " " : ""}${l ?? ""}`;
|
|
14369
14369
|
}
|
|
@@ -20843,7 +20843,7 @@ const Bk = ["id"], _k = ["xmlns", "viewBox"], Fk = ["id"], Sk = ["stop-color"],
|
|
|
20843
20843
|
x: g.value.start + V * (g.value.width / (x.value + 1) > 30 ? 30 : g.value.width / (x.value + 1)),
|
|
20844
20844
|
y: g.value.bottom - g.value.height * A(R + m.value),
|
|
20845
20845
|
id: `plot_${o.value}_${V}`,
|
|
20846
|
-
color:
|
|
20846
|
+
color: G.value ? n.value.style.bar.color : n.value.style.area.useGradient ? Tt(n.value.style.line.color, 0.05 * (1 - V / x.value)) : n.value.style.line.color,
|
|
20847
20847
|
width: g.value.width / (x.value + 1) > 30 ? 30 : g.value.width / (x.value + 1)
|
|
20848
20848
|
};
|
|
20849
20849
|
})), C = ie(() => {
|
|
@@ -20858,7 +20858,7 @@ const Bk = ["id"], _k = ["xmlns", "viewBox"], Fk = ["id"], Sk = ["stop-color"],
|
|
|
20858
20858
|
function oe() {
|
|
20859
20859
|
P.value = void 0, t("hoverIndex", { index: void 0 });
|
|
20860
20860
|
}
|
|
20861
|
-
const J = ie(() => r.value ? n.value.style.dataLabel.valueType === "latest" ? U.value[U.value.length - 1].absoluteValue : n.value.style.dataLabel.valueType === "sum" ? U.value.map((ve) => ve.absoluteValue).reduce((ve, V) => ve + V) : n.value.style.dataLabel.valueType === "average" ? U.value.map((ve) => ve.absoluteValue).reduce((ve, V) => ve + V) / U.value.length : 0 : 0),
|
|
20861
|
+
const J = ie(() => r.value ? n.value.style.dataLabel.valueType === "latest" ? U.value[U.value.length - 1].absoluteValue : n.value.style.dataLabel.valueType === "sum" ? U.value.map((ve) => ve.absoluteValue).reduce((ve, V) => ve + V) : n.value.style.dataLabel.valueType === "average" ? U.value.map((ve) => ve.absoluteValue).reduce((ve, V) => ve + V) / U.value.length : 0 : 0), G = ie(() => n.value.type && n.value.type === "bar");
|
|
20862
20862
|
function ye(ve, V) {
|
|
20863
20863
|
t("selectDatapoint", { datapoint: ve, index: V });
|
|
20864
20864
|
}
|
|
@@ -20928,7 +20928,7 @@ const Bk = ["id"], _k = ["xmlns", "viewBox"], Fk = ["id"], Sk = ["stop-color"],
|
|
|
20928
20928
|
}, null, 8, Ik)
|
|
20929
20929
|
], 8, Mk)
|
|
20930
20930
|
]),
|
|
20931
|
-
n.value.style.area.show && !
|
|
20931
|
+
n.value.style.area.show && !G.value && U.value[0] ? (c(), h("g", Nk, [
|
|
20932
20932
|
n.value.style.line.smooth ? (c(), h("path", {
|
|
20933
20933
|
key: 0,
|
|
20934
20934
|
d: `M ${U.value[0].x},${g.value.bottom} ${ue(Jn)(U.value)} L ${U.value.at(-1).x},${g.value.bottom} Z`,
|
|
@@ -20939,7 +20939,7 @@ const Bk = ["id"], _k = ["xmlns", "viewBox"], Fk = ["id"], Sk = ["stop-color"],
|
|
|
20939
20939
|
fill: n.value.style.area.useGradient ? `url(#sparkline_gradient_${o.value})` : `${n.value.style.area.color}${ue(nt)[n.value.style.area.opacity]}`
|
|
20940
20940
|
}, null, 8, Dk))
|
|
20941
20941
|
])) : L("", !0),
|
|
20942
|
-
n.value.style.line.smooth && !
|
|
20942
|
+
n.value.style.line.smooth && !G.value ? (c(), h("path", {
|
|
20943
20943
|
key: 1,
|
|
20944
20944
|
d: `M ${ue(Jn)(U.value)}`,
|
|
20945
20945
|
stroke: n.value.style.line.color,
|
|
@@ -20948,7 +20948,7 @@ const Bk = ["id"], _k = ["xmlns", "viewBox"], Fk = ["id"], Sk = ["stop-color"],
|
|
|
20948
20948
|
"stroke-linecap": "round"
|
|
20949
20949
|
}, null, 8, Hk)) : L("", !0),
|
|
20950
20950
|
(c(!0), h(be, null, Be(U.value, (R, K) => (c(), h("g", null, [
|
|
20951
|
-
K < U.value.length - 1 && !n.value.style.line.smooth && !
|
|
20951
|
+
K < U.value.length - 1 && !n.value.style.line.smooth && !G.value ? (c(), h("line", {
|
|
20952
20952
|
key: 0,
|
|
20953
20953
|
x1: R.x,
|
|
20954
20954
|
x2: U.value[K + 1].x,
|
|
@@ -20960,7 +20960,7 @@ const Bk = ["id"], _k = ["xmlns", "viewBox"], Fk = ["id"], Sk = ["stop-color"],
|
|
|
20960
20960
|
"stroke-linejoin": "round",
|
|
20961
20961
|
"shape-rendering": "geometricPrecision"
|
|
20962
20962
|
}, null, 8, Pk)) : L("", !0),
|
|
20963
|
-
|
|
20963
|
+
G.value ? (c(), h("rect", {
|
|
20964
20964
|
key: 1,
|
|
20965
20965
|
x: R.x - R.width / 2,
|
|
20966
20966
|
y: R.absoluteValue > 0 ? R.y : i.value,
|
|
@@ -21010,7 +21010,7 @@ const Bk = ["id"], _k = ["xmlns", "viewBox"], Fk = ["id"], Sk = ["stop-color"],
|
|
|
21010
21010
|
"font-size": n.value.style.dataLabel.fontSize,
|
|
21011
21011
|
"font-weight": n.value.style.dataLabel.bold ? "bold" : "normal",
|
|
21012
21012
|
fill: n.value.style.dataLabel.color
|
|
21013
|
-
}, T(P.value ? ue(
|
|
21013
|
+
}, T(P.value ? ue(ht)({ p: n.value.style.dataLabel.prefix, v: P.value.absoluteValue, s: n.value.style.dataLabel.suffix, r: n.value.style.dataLabel.roundingValue }) : ue(ht)({ p: n.value.style.dataLabel.prefix, v: J.value, s: n.value.style.dataLabel.suffix, r: n.value.style.dataLabel.roundingValue })), 9, Kk)) : L("", !0),
|
|
21014
21014
|
(c(!0), h(be, null, Be(U.value, (R, K) => (c(), h("rect", {
|
|
21015
21015
|
x: R.x - (g.value.width / (x.value + 1) > 30 ? 30 : g.value.width / (x.value + 1)) / 2,
|
|
21016
21016
|
y: g.value.top - 6,
|
|
@@ -21137,9 +21137,9 @@ const Gk = ["id"], Xk = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
21137
21137
|
u.value.translations.average,
|
|
21138
21138
|
u.value.translations.median
|
|
21139
21139
|
] : u.value.showAverage && !u.value.showMedian ? ee = [...j, u.value.translations.average] : !u.value.showAverage && u.value.showMedian ? ee = [...j, u.value.translations.median] : ee = j, u.value.showSparklines ? [...ee, u.value.translations.chart] : ee;
|
|
21140
|
-
}),
|
|
21140
|
+
}), G = N(void 0), ye = N(void 0);
|
|
21141
21141
|
function ve({ dataIndex: j, serieIndex: ee }) {
|
|
21142
|
-
|
|
21142
|
+
G.value = j, ye.value = ee;
|
|
21143
21143
|
}
|
|
21144
21144
|
const V = N(!1);
|
|
21145
21145
|
function R(j) {
|
|
@@ -21173,7 +21173,7 @@ const Gk = ["id"], Xk = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
21173
21173
|
});
|
|
21174
21174
|
}, 100);
|
|
21175
21175
|
}
|
|
21176
|
-
function
|
|
21176
|
+
function X() {
|
|
21177
21177
|
yl(() => {
|
|
21178
21178
|
const j = [u.value.translations.serie].concat(J.value), ee = p.value.map((M, k) => [
|
|
21179
21179
|
[M.name],
|
|
@@ -21191,7 +21191,7 @@ const Gk = ["id"], Xk = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
21191
21191
|
return t({
|
|
21192
21192
|
generatePdf: pe,
|
|
21193
21193
|
generateImage: re,
|
|
21194
|
-
generateCsv:
|
|
21194
|
+
generateCsv: X,
|
|
21195
21195
|
restoreOrder: P
|
|
21196
21196
|
}), (j, ee) => (c(), h("div", {
|
|
21197
21197
|
ref_key: "tableContainer",
|
|
@@ -21203,7 +21203,7 @@ const Gk = ["id"], Xk = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
21203
21203
|
y("div", {
|
|
21204
21204
|
style: { overflow: "auto" },
|
|
21205
21205
|
onPointerleave: ee[0] || (ee[0] = (Ae) => {
|
|
21206
|
-
ye.value = void 0,
|
|
21206
|
+
ye.value = void 0, G.value = void 0;
|
|
21207
21207
|
})
|
|
21208
21208
|
}, [
|
|
21209
21209
|
y("table", {
|
|
@@ -21289,7 +21289,7 @@ const Gk = ["id"], Xk = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
21289
21289
|
onToggleFullscreen: R,
|
|
21290
21290
|
onGeneratePdf: pe,
|
|
21291
21291
|
onGenerateImage: re,
|
|
21292
|
-
onGenerateCsv:
|
|
21292
|
+
onGenerateCsv: X
|
|
21293
21293
|
}, null, 8, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "isFullscreen", "chartElement"])) : L("", !0)
|
|
21294
21294
|
], 14, qk))), 256))
|
|
21295
21295
|
], 4)
|
|
@@ -21329,13 +21329,13 @@ const Gk = ["id"], Xk = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
21329
21329
|
fontSize: `${u.value.tbody.fontSize}px`,
|
|
21330
21330
|
fontWeight: u.value.tbody.bold ? "bold" : "normal",
|
|
21331
21331
|
textAlign: u.value.tbody.textAlign,
|
|
21332
|
-
backgroundColor:
|
|
21333
|
-
borderRadius:
|
|
21332
|
+
backgroundColor: G.value !== void 0 && ye.value !== void 0 && k === G.value && ye.value === S ? `${Ae.color}33` : "",
|
|
21333
|
+
borderRadius: G.value !== void 0 && ye.value !== void 0 && k === G.value && ye.value === S ? "3px" : ""
|
|
21334
21334
|
}),
|
|
21335
21335
|
"data-cell": J.value[k],
|
|
21336
21336
|
class: "vue-ui-data-table__tbody__td",
|
|
21337
21337
|
onPointerenter: (F) => {
|
|
21338
|
-
ye.value = S,
|
|
21338
|
+
ye.value = S, G.value = k;
|
|
21339
21339
|
}
|
|
21340
21340
|
}, T(Number(M.toFixed(u.value.roundingValues)).toLocaleString()), 45, eB))), 256)),
|
|
21341
21341
|
u.value.showTotal ? (c(), h("td", {
|
|
@@ -21390,7 +21390,7 @@ const Gk = ["id"], Xk = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
21390
21390
|
onHoverIndex: ({ index: M }) => ve({ dataIndex: M, serieIndex: S }),
|
|
21391
21391
|
dataset: Ae.sparklineDataset,
|
|
21392
21392
|
showInfo: !1,
|
|
21393
|
-
selectedIndex:
|
|
21393
|
+
selectedIndex: G.value,
|
|
21394
21394
|
config: {
|
|
21395
21395
|
type: u.value.sparkline.type,
|
|
21396
21396
|
style: {
|
|
@@ -21926,7 +21926,7 @@ const nB = kt(), sB = {
|
|
|
21926
21926
|
calcLinearProgression: e1,
|
|
21927
21927
|
useMouse: Yv,
|
|
21928
21928
|
closestDecimal: Nm,
|
|
21929
|
-
dataLabel:
|
|
21929
|
+
dataLabel: ht,
|
|
21930
21930
|
isFunction: fl,
|
|
21931
21931
|
functionReturnsString: jl,
|
|
21932
21932
|
error: st,
|
|
@@ -24701,7 +24701,7 @@ const BF = ["id"], _F = { class: "vue-data-ui-legend-item" }, FF = ["onClick", "
|
|
|
24701
24701
|
], 12, BF));
|
|
24702
24702
|
}
|
|
24703
24703
|
}, Nl = /* @__PURE__ */ Lt(SF, [["__scopeId", "data-v-113ae285"]]);
|
|
24704
|
-
const LF = (e) => (Na("data-v-
|
|
24704
|
+
const LF = (e) => (Na("data-v-0ea2c622"), e = e(), Ta(), e), $F = ["id"], UF = ["xmlns", "viewBox"], QF = ["id"], MF = ["stop-color"], EF = ["stop-color"], IF = ["stop-color"], NF = { key: 0 }, TF = ["font-size", "fill", "x"], DF = ["font-size", "fill", "x", "y"], HF = ["id"], PF = ["id"], zF = /* @__PURE__ */ LF(() => /* @__PURE__ */ y("feColorMatrix", {
|
|
24705
24705
|
type: "saturate",
|
|
24706
24706
|
values: "0"
|
|
24707
24707
|
}, null, -1)), OF = ["d", "stroke", "filter"], RF = ["cx", "cy", "fill"], VF = ["stroke", "d"], KF = ["d", "fill", "stroke", "stroke-width", "filter"], WF = ["cx", "cy", "fill"], jF = ["d", "fill", "onMouseenter", "onClick"], GF = ["cx", "cy", "r", "fill"], XF = ["x", "y", "fill", "font-size"], qF = ["x", "y", "fill", "font-size"], YF = ["x", "y", "fill", "font-size"], JF = ["x", "y", "fill", "font-size"], ZF = ["filter"], e8 = { key: 0 }, t8 = ["x", "y"], l8 = { key: 1 }, a8 = ["cx", "cy", "fill", "filter", "onClick"], o8 = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], r8 = ["text-anchor", "x", "y", "fill", "font-size", "onClick"], n8 = ["y"], s8 = ["onClick"], i8 = { key: 0 }, A8 = { key: 1 }, u8 = ["onClick"], c8 = {
|
|
@@ -24776,7 +24776,7 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
24776
24776
|
value: _.value
|
|
24777
24777
|
}));
|
|
24778
24778
|
}
|
|
24779
|
-
const W = N([]), oe = N(null), J = N(null),
|
|
24779
|
+
const W = N([]), oe = N(null), J = N(null), G = N(!1);
|
|
24780
24780
|
function ye(_) {
|
|
24781
24781
|
const E = U.value.find((Y, Le) => Le === _);
|
|
24782
24782
|
let xe = C.value.find((Y, Le) => Le === _).value;
|
|
@@ -24785,7 +24785,7 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
24785
24785
|
xe > Y ? (cancelAnimationFrame(Le), C.value = C.value.map((We, ke) => _ === ke ? {
|
|
24786
24786
|
...We,
|
|
24787
24787
|
value: Y
|
|
24788
|
-
} : We),
|
|
24788
|
+
} : We), G.value = !1) : (G.value = !0, xe += Y * 0.025, C.value = C.value.map((We, ke) => _ === ke ? {
|
|
24789
24789
|
...We,
|
|
24790
24790
|
value: xe
|
|
24791
24791
|
} : We), oe.value = requestAnimationFrame(Le));
|
|
@@ -24798,7 +24798,7 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
24798
24798
|
xe < 0.1 ? (cancelAnimationFrame(Y), W.value.push(_), C.value = C.value.map((Le, We) => _ === We ? {
|
|
24799
24799
|
...Le,
|
|
24800
24800
|
value: 0
|
|
24801
|
-
} : Le),
|
|
24801
|
+
} : Le), G.value = !1) : (G.value = !0, xe /= 1.1, C.value = C.value.map((Le, We) => _ === We ? {
|
|
24802
24802
|
...Le,
|
|
24803
24803
|
value: xe
|
|
24804
24804
|
} : Le), J.value = requestAnimationFrame(Y));
|
|
@@ -24848,7 +24848,7 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
24848
24848
|
function _e(_) {
|
|
24849
24849
|
return [..._].map((E) => E.value).reduce((E, I) => E + I, 0);
|
|
24850
24850
|
}
|
|
24851
|
-
const re = ie(() => ve.value.map((_) => _.value).reduce((_, E) => _ + E, 0)),
|
|
24851
|
+
const re = ie(() => ve.value.map((_) => _.value).reduce((_, E) => _ + E, 0)), X = ie(() => re.value / ve.value.length), j = N(null);
|
|
24852
24852
|
function ee({ datapoint: _, relativeIndex: E, seriesIndex: I, show: xe = !1 }) {
|
|
24853
24853
|
j.value = { datapoint: _, seriesIndex: I, config: i.value, series: U.value }, b.value = xe, m.value = E;
|
|
24854
24854
|
let Y = "";
|
|
@@ -24863,7 +24863,7 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
24863
24863
|
datapoint: _,
|
|
24864
24864
|
series: U.value,
|
|
24865
24865
|
config: i.value
|
|
24866
|
-
}) : (Y += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${_.name}</div>`, Y += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${_.color}"/></svg>`, i.value.style.chart.tooltip.showValue && (Y += `<b>${
|
|
24866
|
+
}) : (Y += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${_.name}</div>`, Y += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${_.color}"/></svg>`, i.value.style.chart.tooltip.showValue && (Y += `<b>${ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: _.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.tooltip.roundingValue })}</b>`), i.value.style.chart.tooltip.showPercentage && (i.value.style.chart.tooltip.showValue ? Y += `<span>(${(_.proportion * 100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%)</span></div>` : Y += `<b>${(_.proportion * 100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%</b></div>`), p.value = `<div>${Y}</div>`);
|
|
24867
24867
|
}
|
|
24868
24868
|
function Ae(_) {
|
|
24869
24869
|
return i.value.useBlurOnHover && ![null, void 0].includes(m.value) && m.value !== _ ? `url(#blur_${a.value})` : "";
|
|
@@ -24914,10 +24914,10 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
24914
24914
|
const q = ie(() => {
|
|
24915
24915
|
const _ = [
|
|
24916
24916
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
24917
|
-
|
|
24917
|
+
ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: re.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.table.td.roundingValue }),
|
|
24918
24918
|
"100%"
|
|
24919
24919
|
], E = z.value.head.map((Y, Le) => {
|
|
24920
|
-
const We =
|
|
24920
|
+
const We = ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: z.value.body[Le], s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.table.td.roundingValue });
|
|
24921
24921
|
return [
|
|
24922
24922
|
{
|
|
24923
24923
|
color: Y.color,
|
|
@@ -25155,7 +25155,11 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
25155
25155
|
fill: i.value.style.chart.layout.labels.hollow.total.value.color,
|
|
25156
25156
|
"font-size": i.value.style.chart.layout.labels.hollow.total.value.fontSize,
|
|
25157
25157
|
style: O(`font-weight:${i.value.style.chart.layout.labels.hollow.total.value.bold ? "bold" : ""}`)
|
|
25158
|
-
}, T(ue(
|
|
25158
|
+
}, T(ue(ht)({
|
|
25159
|
+
p: i.value.style.chart.layout.labels.hollow.total.value.prefix,
|
|
25160
|
+
v: re.value,
|
|
25161
|
+
s: i.value.style.chart.layout.labels.hollow.total.value.suffix
|
|
25162
|
+
})), 13, qF)) : L("", !0),
|
|
25159
25163
|
i.value.style.chart.layout.labels.hollow.average.show ? (c(), h("text", {
|
|
25160
25164
|
key: 4,
|
|
25161
25165
|
"text-anchor": "middle",
|
|
@@ -25173,7 +25177,12 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
25173
25177
|
fill: i.value.style.chart.layout.labels.hollow.average.value.color,
|
|
25174
25178
|
"font-size": i.value.style.chart.layout.labels.hollow.average.value.fontSize,
|
|
25175
25179
|
style: O(`font-weight:${i.value.style.chart.layout.labels.hollow.average.value.bold ? "bold" : ""}`)
|
|
25176
|
-
}, T(
|
|
25180
|
+
}, T(G.value ? "--" : ue(ht)({
|
|
25181
|
+
p: i.value.style.chart.layout.labels.hollow.average.value.prefix,
|
|
25182
|
+
v: X.value,
|
|
25183
|
+
s: i.value.style.chart.layout.labels.hollow.average.value.suffix,
|
|
25184
|
+
r: i.value.style.chart.layout.labels.hollow.average.value.rounding
|
|
25185
|
+
})), 13, JF)) : L("", !0),
|
|
25177
25186
|
(c(!0), h(be, null, Be(K.value, (I, xe) => (c(), h("g", {
|
|
25178
25187
|
filter: Ae(xe),
|
|
25179
25188
|
class: Pe({ animated: i.value.useCssAnimation })
|
|
@@ -25219,7 +25228,7 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
25219
25228
|
"font-size": i.value.style.chart.layout.labels.percentage.fontSize,
|
|
25220
25229
|
style: O(`font-weight:${i.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`),
|
|
25221
25230
|
onClick: (Y) => ce(I, xe)
|
|
25222
|
-
}, T(pe(I, K.value)) + " " + T(i.value.style.chart.layout.labels.value.show ? `(${ue(
|
|
25231
|
+
}, T(pe(I, K.value)) + " " + T(i.value.style.chart.layout.labels.value.show ? `(${ue(ht)({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: I.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, rounding: i.value.style.chart.layout.labels.value.rounding })})` : ""), 13, o8)) : L("", !0),
|
|
25223
25232
|
Z(I) && A.value.dataLabels.show ? (c(), h("text", {
|
|
25224
25233
|
key: 2,
|
|
25225
25234
|
"text-anchor": ue(_t)(I).anchor,
|
|
@@ -25250,9 +25259,9 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
25250
25259
|
onClick: (Y) => I.segregate(),
|
|
25251
25260
|
style: O(`opacity:${W.value.includes(xe) ? 0.5 : 1}`)
|
|
25252
25261
|
}, [
|
|
25253
|
-
yt(T(I.name) + " : " + T(ue(
|
|
25254
|
-
W.value.includes(xe) ? (c(), h("span", A8, " ( " + T(se(I.proportion * 100)) + " % ) ", 1)) : (c(), h("span", i8, " (" + T(isNaN(I.value / re.value) ? "-" : ue(
|
|
25255
|
-
v:
|
|
25262
|
+
yt(T(I.name) + " : " + T(ue(ht)({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: I.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
25263
|
+
W.value.includes(xe) ? (c(), h("span", A8, " ( " + T(se(I.proportion * 100)) + " % ) ", 1)) : (c(), h("span", i8, " (" + T(isNaN(I.value / re.value) ? "-" : ue(ht)({
|
|
25264
|
+
v: G.value ? I.proportion * 100 : I.value / re.value * 100,
|
|
25256
25265
|
s: "%",
|
|
25257
25266
|
r: i.value.style.chart.legend.roundingPercentage
|
|
25258
25267
|
})) + ") ", 1))
|
|
@@ -25287,9 +25296,9 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
25287
25296
|
onClick: (Y) => I.segregate(),
|
|
25288
25297
|
style: O(`opacity:${W.value.includes(xe) ? 0.5 : 1}`)
|
|
25289
25298
|
}, [
|
|
25290
|
-
yt(T(I.name) + " : " + T(ue(
|
|
25291
|
-
W.value.includes(xe) ? (c(), h("span", d8, " ( " + T(se(I.proportion * 100)) + " % ) ", 1)) : (c(), h("span", c8, " (" + T(isNaN(I.value / re.value) ? "-" : ue(
|
|
25292
|
-
v:
|
|
25299
|
+
yt(T(I.name) + " : " + T(ue(ht)({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: I.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
25300
|
+
W.value.includes(xe) ? (c(), h("span", d8, " ( " + T(se(I.proportion * 100)) + " % ) ", 1)) : (c(), h("span", c8, " (" + T(isNaN(I.value / re.value) ? "-" : ue(ht)({
|
|
25301
|
+
v: G.value ? I.proportion * 100 : I.value / re.value * 100,
|
|
25293
25302
|
s: "%",
|
|
25294
25303
|
r: i.value.style.chart.legend.roundingPercentage
|
|
25295
25304
|
})) + ") ", 1))
|
|
@@ -25335,7 +25344,7 @@ const LF = (e) => (Na("data-v-43caa447"), e = e(), Ta(), e), $F = ["id"], UF = [
|
|
|
25335
25344
|
}, 8, ["colNames", "head", "body", "config", "title"])) : L("", !0)
|
|
25336
25345
|
], 14, $F));
|
|
25337
25346
|
}
|
|
25338
|
-
}, v8 = /* @__PURE__ */ Lt(f8, [["__scopeId", "data-v-
|
|
25347
|
+
}, v8 = /* @__PURE__ */ Lt(f8, [["__scopeId", "data-v-0ea2c622"]]);
|
|
25339
25348
|
const n1 = (e) => (Na("data-v-8cef13c6"), e = e(), Ta(), e), g8 = ["id"], y8 = ["xmlns", "viewBox"], p8 = ["id"], b8 = ["stop-color"], m8 = ["stop-color"], w8 = { key: 0 }, x8 = ["font-size", "fill", "x", "y"], C8 = ["font-size", "fill", "x", "y"], k8 = ["id"], B8 = /* @__PURE__ */ n1(() => /* @__PURE__ */ y("feGaussianBlur", {
|
|
25340
25349
|
in: "SourceGraphic",
|
|
25341
25350
|
stdDeviation: 2
|
|
@@ -25420,7 +25429,7 @@ const n1 = (e) => (Na("data-v-8cef13c6"), e = e(), Ta(), e), g8 = ["id"], y8 = [
|
|
|
25420
25429
|
}))), J = ie(() => {
|
|
25421
25430
|
const se = oe.value.filter((ce, _) => !pe.value.includes(ce.uid)).map((ce, _) => (ce.values || []).reduce((E, I) => E + I, 0));
|
|
25422
25431
|
return W(se);
|
|
25423
|
-
}),
|
|
25432
|
+
}), G = ie(() => {
|
|
25424
25433
|
const se = oe.value.map((ce, _) => (ce.values || []).reduce((E, I) => E + I));
|
|
25425
25434
|
return W(se);
|
|
25426
25435
|
}), ye = ie(() => (r.dataset.forEach((se, ce) => {
|
|
@@ -25445,7 +25454,7 @@ const n1 = (e) => (Na("data-v-8cef13c6"), e = e(), Ta(), e), g8 = ["id"], y8 = [
|
|
|
25445
25454
|
color: se.color,
|
|
25446
25455
|
value: (se.values || []).reduce((_, E) => _ + E, 0),
|
|
25447
25456
|
absoluteValues: se.values || [],
|
|
25448
|
-
proportion:
|
|
25457
|
+
proportion: G.value[ce] * Math.pow(i.value.style.chart.layout.grid.size, 2)
|
|
25449
25458
|
})).sort((se, ce) => ce.value - se.value));
|
|
25450
25459
|
function V() {
|
|
25451
25460
|
return ve.value.map((se) => ({
|
|
@@ -25508,7 +25517,7 @@ const n1 = (e) => (Na("data-v-8cef13c6"), e = e(), Ta(), e), g8 = ["id"], y8 = [
|
|
|
25508
25517
|
opacity: pe.value.includes(se.uid) ? 0.5 : 1,
|
|
25509
25518
|
segregate: () => _e(se.uid),
|
|
25510
25519
|
isSegregated: pe.value.includes(se.uid)
|
|
25511
|
-
}))),
|
|
25520
|
+
}))), X = ie(() => ({
|
|
25512
25521
|
cy: "waffle-div-legend",
|
|
25513
25522
|
backgroundColor: i.value.style.chart.legend.backgroundColor,
|
|
25514
25523
|
color: i.value.style.chart.legend.color,
|
|
@@ -25541,7 +25550,7 @@ const n1 = (e) => (Na("data-v-8cef13c6"), e = e(), Ta(), e), g8 = ["id"], y8 = [
|
|
|
25541
25550
|
});
|
|
25542
25551
|
else {
|
|
25543
25552
|
let E = "";
|
|
25544
|
-
E += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${ce.name}</div>`, E += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" rx="1" fill="${ce.color}" /></svg>`, i.value.style.chart.tooltip.showValue && (E += `<b>${
|
|
25553
|
+
E += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${ce.name}</div>`, E += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" rx="1" fill="${ce.color}" /></svg>`, i.value.style.chart.tooltip.showValue && (E += `<b>${ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: ce.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.tooltip.roundingValue })}</b>`), i.value.style.chart.tooltip.showPercentage && (i.value.style.chart.tooltip.showValue ? E += `<span>(${(ce.value / j.value * 100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%)</span></div>` : E += `<b>${(ce.value / j.value * 100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%</b></div>`), p.value = E;
|
|
25545
25554
|
}
|
|
25546
25555
|
}
|
|
25547
25556
|
const S = ie(() => {
|
|
@@ -25593,14 +25602,14 @@ const n1 = (e) => (Na("data-v-8cef13c6"), e = e(), Ta(), e), g8 = ["id"], y8 = [
|
|
|
25593
25602
|
const te = ie(() => {
|
|
25594
25603
|
const se = [
|
|
25595
25604
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
25596
|
-
|
|
25605
|
+
ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: j.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.table.td.roundingValue }),
|
|
25597
25606
|
"100%"
|
|
25598
25607
|
], ce = S.value.head.map((I, xe) => [
|
|
25599
25608
|
{
|
|
25600
25609
|
color: I.color,
|
|
25601
25610
|
name: I.name
|
|
25602
25611
|
},
|
|
25603
|
-
|
|
25612
|
+
ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: S.value.body[xe], s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.table.td.roundingValue }),
|
|
25604
25613
|
isNaN(S.value.body[xe] / j.value) ? "-" : (S.value.body[xe] / j.value * 100).toFixed(i.value.table.td.roundingPercentage) + "%"
|
|
25605
25614
|
]), _ = {
|
|
25606
25615
|
th: {
|
|
@@ -25786,9 +25795,9 @@ const n1 = (e) => (Na("data-v-8cef13c6"), e = e(), Ta(), e), g8 = ["id"], y8 = [
|
|
|
25786
25795
|
style: O(`height: 100%; width: 100%; font-size:${i.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${P.value / 12}px;color:${ue(er)(K.value[E].color)};gap:2px`)
|
|
25787
25796
|
}, [
|
|
25788
25797
|
i.value.style.chart.layout.labels.captions.showSerieName ? (c(), h("span", Q8, T(i.value.style.chart.layout.labels.captions.serieNameAbbreviation ? ue(md)({ source: K.value[E].name, length: i.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : K.value[E].name) + " : ", 1)) : L("", !0),
|
|
25789
|
-
i.value.style.chart.layout.labels.captions.showPercentage ? (c(), h("span", M8, T(ue(
|
|
25790
|
-
i.value.style.chart.layout.labels.captions.showPercentage && i.value.style.chart.layout.labels.captions.showValue ? (c(), h("span", E8, " (" + T(ue(
|
|
25791
|
-
!i.value.style.chart.layout.labels.captions.showPercentage && i.value.style.chart.layout.labels.captions.showValue ? (c(), h("span", I8, T(ue(
|
|
25798
|
+
i.value.style.chart.layout.labels.captions.showPercentage ? (c(), h("span", M8, T(ue(ht)({ v: K.value[E].proportion, s: "%", r: i.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : L("", !0),
|
|
25799
|
+
i.value.style.chart.layout.labels.captions.showPercentage && i.value.style.chart.layout.labels.captions.showValue ? (c(), h("span", E8, " (" + T(ue(ht)({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: K.value[E].value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.layout.labels.captions.roundingValue })) + ") ", 1)) : L("", !0),
|
|
25800
|
+
!i.value.style.chart.layout.labels.captions.showPercentage && i.value.style.chart.layout.labels.captions.showValue ? (c(), h("span", I8, T(ue(ht)({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: K.value[E].value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.layout.labels.captions.roundingValue })), 1)) : L("", !0)
|
|
25792
25801
|
], 4)
|
|
25793
25802
|
], 8, U8)) : L("", !0)
|
|
25794
25803
|
], 64))), 256)),
|
|
@@ -25807,7 +25816,7 @@ const n1 = (e) => (Na("data-v-8cef13c6"), e = e(), Ta(), e), g8 = ["id"], y8 = [
|
|
|
25807
25816
|
i.value.style.chart.legend.show && A.value.inside && !u.value ? (c(), h("foreignObject", T8, [
|
|
25808
25817
|
it(Nl, {
|
|
25809
25818
|
legendSet: re.value,
|
|
25810
|
-
config:
|
|
25819
|
+
config: X.value,
|
|
25811
25820
|
onClickMarker: ce[2] || (ce[2] = ({ legend: _ }) => _e(_.uid))
|
|
25812
25821
|
}, {
|
|
25813
25822
|
item: Ne(({ legend: _ }) => [
|
|
@@ -25815,7 +25824,7 @@ const n1 = (e) => (Na("data-v-8cef13c6"), e = e(), Ta(), e), g8 = ["id"], y8 = [
|
|
|
25815
25824
|
onClick: (E) => _.segregate(),
|
|
25816
25825
|
style: O(`opacity:${pe.value.includes(_.uid) ? 0.5 : 1}`)
|
|
25817
25826
|
}, [
|
|
25818
|
-
yt(T(_.name) + " : " + T(ue(
|
|
25827
|
+
yt(T(_.name) + " : " + T(ue(ht)({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: _.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
25819
25828
|
pe.value.includes(_.uid) ? (c(), h("span", P8, " ( - % ) ")) : (c(), h("span", H8, " (" + T(isNaN(_.value / j.value) ? "-" : (_.value / j.value * 100).toFixed(i.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
|
|
25820
25829
|
], 12, D8)
|
|
25821
25830
|
]),
|
|
@@ -25839,7 +25848,7 @@ const n1 = (e) => (Na("data-v-8cef13c6"), e = e(), Ta(), e), g8 = ["id"], y8 = [
|
|
|
25839
25848
|
i.value.style.chart.legend.show && (!A.value.inside || u.value) ? (c(), Ve(Nl, {
|
|
25840
25849
|
key: 4,
|
|
25841
25850
|
legendSet: re.value,
|
|
25842
|
-
config:
|
|
25851
|
+
config: X.value,
|
|
25843
25852
|
onClickMarker: ce[3] || (ce[3] = ({ legend: _ }) => _e(_.uid))
|
|
25844
25853
|
}, {
|
|
25845
25854
|
item: Ne(({ legend: _ }) => [
|
|
@@ -25847,7 +25856,7 @@ const n1 = (e) => (Na("data-v-8cef13c6"), e = e(), Ta(), e), g8 = ["id"], y8 = [
|
|
|
25847
25856
|
onClick: (E) => _.segregate(),
|
|
25848
25857
|
style: O(`opacity:${pe.value.includes(_.uid) ? 0.5 : 1}`)
|
|
25849
25858
|
}, [
|
|
25850
|
-
yt(T(_.name) + " : " + T(ue(
|
|
25859
|
+
yt(T(_.name) + " : " + T(ue(ht)({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: _.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
25851
25860
|
pe.value.includes(_.uid) ? (c(), h("span", R8, " ( - % ) ")) : (c(), h("span", O8, " (" + T(isNaN(_.value / j.value) ? "-" : (_.value / j.value * 100).toFixed(i.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
|
|
25852
25861
|
], 12, z8)
|
|
25853
25862
|
]),
|
|
@@ -26171,10 +26180,10 @@ const t6 = ["id"], l6 = ["xmlns", "viewBox"], a6 = ["id"], o6 = ["stop-color"],
|
|
|
26171
26180
|
...q,
|
|
26172
26181
|
color: wt(q.color) || Ze[te] || Ze[te % Ze.length],
|
|
26173
26182
|
serieId: `radar_serie_${a.value}_${te}`
|
|
26174
|
-
})) : []), J = ie(() => Math.max(...oe.value.flatMap((q) => q.values))),
|
|
26183
|
+
})) : []), J = ie(() => Math.max(...oe.value.flatMap((q) => q.values))), G = ie(() => oe.value.length), ye = ie(() => zl({
|
|
26175
26184
|
plot: { x: 256, y: x.value.height / 2 },
|
|
26176
26185
|
radius: 128,
|
|
26177
|
-
sides:
|
|
26186
|
+
sides: G.value,
|
|
26178
26187
|
rotation: 0
|
|
26179
26188
|
})), ve = ie(() => {
|
|
26180
26189
|
const q = [];
|
|
@@ -26238,7 +26247,7 @@ const t6 = ["id"], l6 = ["xmlns", "viewBox"], a6 = ["id"], o6 = ["stop-color"],
|
|
|
26238
26247
|
], te = r.dataset.series.map((me) => [
|
|
26239
26248
|
me.name,
|
|
26240
26249
|
me.target,
|
|
26241
|
-
...me.values.map((se, ce) => `${
|
|
26250
|
+
...me.values.map((se, ce) => `${ht({ p: W.value[ce].prefix, v: se, s: W.value[ce].suffix, r: d.value.table.td.roundingValue })} (${isNaN(se / me.target) ? "" : (se / me.target * 100).toFixed(d.value.table.td.roundingPercentage)}%)`)
|
|
26242
26251
|
]), ne = {
|
|
26243
26252
|
th: {
|
|
26244
26253
|
backgroundColor: d.value.table.th.backgroundColor,
|
|
@@ -26253,9 +26262,9 @@ const t6 = ["id"], l6 = ["xmlns", "viewBox"], a6 = ["id"], o6 = ["stop-color"],
|
|
|
26253
26262
|
breakpoint: d.value.table.responsiveBreakpoint
|
|
26254
26263
|
};
|
|
26255
26264
|
return { head: q, body: te, config: ne, colNames: q };
|
|
26256
|
-
}), re = N(null),
|
|
26265
|
+
}), re = N(null), X = N([]), j = N(null);
|
|
26257
26266
|
function ee(q, te) {
|
|
26258
|
-
|
|
26267
|
+
X.value = [], re.value = te, b.value = !0;
|
|
26259
26268
|
let ne = "";
|
|
26260
26269
|
j.value = {
|
|
26261
26270
|
datapoint: q,
|
|
@@ -26283,12 +26292,12 @@ const t6 = ["id"], l6 = ["xmlns", "viewBox"], a6 = ["id"], o6 = ["stop-color"],
|
|
|
26283
26292
|
else {
|
|
26284
26293
|
ne += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${q.name}</div>`;
|
|
26285
26294
|
for (let se = 0; se < q.values.length; se += 1)
|
|
26286
|
-
U.value.includes(se) ||
|
|
26295
|
+
U.value.includes(se) || X.value.push({
|
|
26287
26296
|
name: W.value[se].name,
|
|
26288
26297
|
value: q.values[se] / q.target * 100,
|
|
26289
26298
|
color: W.value[se].color,
|
|
26290
26299
|
suffix: "%)",
|
|
26291
|
-
prefix: `${
|
|
26300
|
+
prefix: `${ht({ p: W.value[se].prefix ?? "", v: q.values[se], s: W.value[se].suffix ?? "", r: d.value.style.chart.tooltip.roundingValue })} (`,
|
|
26292
26301
|
rounding: d.value.style.chart.tooltip.roundingPercentage
|
|
26293
26302
|
});
|
|
26294
26303
|
p.value = ne;
|
|
@@ -26450,7 +26459,7 @@ const t6 = ["id"], l6 = ["xmlns", "viewBox"], a6 = ["id"], o6 = ["stop-color"],
|
|
|
26450
26459
|
d: ue(zl)({
|
|
26451
26460
|
plot: { x: 256, y: x.value.height / 2 },
|
|
26452
26461
|
radius: ne,
|
|
26453
|
-
sides:
|
|
26462
|
+
sides: G.value,
|
|
26454
26463
|
rotation: 0
|
|
26455
26464
|
}).path,
|
|
26456
26465
|
fill: "none",
|
|
@@ -26565,7 +26574,7 @@ const t6 = ["id"], l6 = ["xmlns", "viewBox"], a6 = ["id"], o6 = ["stop-color"],
|
|
|
26565
26574
|
"tooltip-after": Ne(() => [
|
|
26566
26575
|
y("div", C6, [
|
|
26567
26576
|
it(s1, {
|
|
26568
|
-
dataset:
|
|
26577
|
+
dataset: X.value,
|
|
26569
26578
|
config: A.value
|
|
26570
26579
|
}, null, 8, ["dataset", "config"])
|
|
26571
26580
|
]),
|
|
@@ -26756,7 +26765,7 @@ const _6 = ["id"], F6 = ["xmlns", "viewBox", "id"], S6 = ["id"], L6 = ["stop-col
|
|
|
26756
26765
|
default:
|
|
26757
26766
|
return { x: 0, y: 0, text: "", fontSize: 0, fill: "none", bold: !1 };
|
|
26758
26767
|
}
|
|
26759
|
-
}), J = N(null),
|
|
26768
|
+
}), J = N(null), G = N(!1);
|
|
26760
26769
|
function ye({ targetX: ke, targetY: Qe, targetW: Fe, targetH: De }) {
|
|
26761
26770
|
const fe = {
|
|
26762
26771
|
x: ke - P.value.startX,
|
|
@@ -26766,12 +26775,12 @@ const _6 = ["id"], F6 = ["xmlns", "viewBox", "id"], S6 = ["id"], L6 = ["stop-col
|
|
|
26766
26775
|
}, He = A.value.zoomAnimationFrames;
|
|
26767
26776
|
let je = 0;
|
|
26768
26777
|
function Ke() {
|
|
26769
|
-
|
|
26778
|
+
G.value = !0, P.value.startX += fe.x / He, P.value.startY += fe.y / He, P.value.width += fe.w / He, P.value.height += fe.h / He, je += 1, je < He ? J.value = requestAnimationFrame(Ke) : G.value = !1;
|
|
26770
26779
|
}
|
|
26771
26780
|
Ke();
|
|
26772
26781
|
}
|
|
26773
26782
|
function ve(ke) {
|
|
26774
|
-
if (!
|
|
26783
|
+
if (!G.value)
|
|
26775
26784
|
if (d.value && W.value === ke)
|
|
26776
26785
|
ye({
|
|
26777
26786
|
targetX: 0,
|
|
@@ -26852,7 +26861,7 @@ const _6 = ["id"], F6 = ["xmlns", "viewBox", "id"], S6 = ["id"], L6 = ["stop-col
|
|
|
26852
26861
|
shape: ke.shape || "circle",
|
|
26853
26862
|
series: ke.series.map((Fe) => ({
|
|
26854
26863
|
...Fe,
|
|
26855
|
-
x:
|
|
26864
|
+
x: X(Fe.x),
|
|
26856
26865
|
y: j(Fe.y),
|
|
26857
26866
|
xValue: Fe.x,
|
|
26858
26867
|
yValue: Fe.y,
|
|
@@ -26883,7 +26892,7 @@ const _6 = ["id"], F6 = ["xmlns", "viewBox", "id"], S6 = ["id"], L6 = ["stop-col
|
|
|
26883
26892
|
color: ke.color || Ze[Qe],
|
|
26884
26893
|
series: ke.series.map((Fe) => ({
|
|
26885
26894
|
...Fe,
|
|
26886
|
-
x:
|
|
26895
|
+
x: X(Fe.x),
|
|
26887
26896
|
y: j(Fe.y),
|
|
26888
26897
|
xValue: Fe.x,
|
|
26889
26898
|
yValue: Fe.y,
|
|
@@ -26894,7 +26903,7 @@ const _6 = ["id"], F6 = ["xmlns", "viewBox", "id"], S6 = ["id"], L6 = ["stop-col
|
|
|
26894
26903
|
uid: kt()
|
|
26895
26904
|
}))
|
|
26896
26905
|
}))));
|
|
26897
|
-
function
|
|
26906
|
+
function X(ke) {
|
|
26898
26907
|
if (ke >= 0) {
|
|
26899
26908
|
const Qe = ke / R.value.x.max;
|
|
26900
26909
|
return C.value.centerX + C.value.usableWidth / 2 * Qe;
|
|
@@ -27561,7 +27570,7 @@ const _6 = ["id"], F6 = ["xmlns", "viewBox", "id"], S6 = ["id"], L6 = ["stop-col
|
|
|
27561
27570
|
style: { opacity: "1" }
|
|
27562
27571
|
}, null, 8, vS)) : L("", !0)
|
|
27563
27572
|
])) : L("", !0),
|
|
27564
|
-
W.value && !
|
|
27573
|
+
W.value && !G.value ? (c(), h("g", gS, [
|
|
27565
27574
|
y("text", {
|
|
27566
27575
|
x: oe.value.x,
|
|
27567
27576
|
y: oe.value.y - oe.value.fontSize / 1.5,
|
|
@@ -27780,9 +27789,9 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
27780
27789
|
const _e = Math.max(...pe);
|
|
27781
27790
|
return {
|
|
27782
27791
|
...l.dataset,
|
|
27783
|
-
series: (l.dataset.series || []).map((re,
|
|
27792
|
+
series: (l.dataset.series || []).map((re, X) => ({
|
|
27784
27793
|
...re,
|
|
27785
|
-
color: wt(re.color) || Ze[
|
|
27794
|
+
color: wt(re.color) || Ze[X],
|
|
27786
27795
|
value: ((re.to || 0) - (re.from || 0)) / _e * 100
|
|
27787
27796
|
}))
|
|
27788
27797
|
};
|
|
@@ -27803,8 +27812,8 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
27803
27812
|
};
|
|
27804
27813
|
}), C = ie(() => {
|
|
27805
27814
|
for (let pe = 0; pe < m.value.series.length; pe += 1) {
|
|
27806
|
-
const { color: _e, from: re, to:
|
|
27807
|
-
if (x.value >= re && x.value <=
|
|
27815
|
+
const { color: _e, from: re, to: X } = m.value.series[pe];
|
|
27816
|
+
if (x.value >= re && x.value <= X)
|
|
27808
27817
|
return _e;
|
|
27809
27818
|
}
|
|
27810
27819
|
return "#2D353C";
|
|
@@ -27844,24 +27853,24 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
27844
27853
|
pe.push(Ae.from || 0), pe.push(Ae.to || 0);
|
|
27845
27854
|
}), i.value = Math.max(...pe), A.value = Math.min(...pe);
|
|
27846
27855
|
const _e = String(i.value).length;
|
|
27847
|
-
let re = 0,
|
|
27856
|
+
let re = 0, X = (_e > 2 ? 0.01 : 1e-3) * b.value.style.chart.animation.speed, j = (_e > 2 ? 0.05 : 5e-3) * b.value.style.chart.animation.acceleration;
|
|
27848
27857
|
function ee() {
|
|
27849
|
-
x.value +=
|
|
27858
|
+
x.value += X + re, re += j, x.value < l.dataset.value ? requestAnimationFrame(ee) : x.value = l.dataset.value;
|
|
27850
27859
|
}
|
|
27851
27860
|
b.value.style.chart.animation.use && (x.value = A.value, ee());
|
|
27852
27861
|
});
|
|
27853
|
-
function P([pe, _e], [re,
|
|
27862
|
+
function P([pe, _e], [re, X], [j, ee], Ae) {
|
|
27854
27863
|
ee = ee % Math.PI;
|
|
27855
27864
|
const S = Jv(Ae), [M, k] = KA(
|
|
27856
27865
|
WA(S, [
|
|
27857
27866
|
re * Math.cos(j),
|
|
27858
|
-
|
|
27867
|
+
X * Math.sin(j)
|
|
27859
27868
|
]),
|
|
27860
27869
|
[pe, _e]
|
|
27861
27870
|
), [F, Q] = KA(
|
|
27862
27871
|
WA(S, [
|
|
27863
27872
|
re * Math.cos(j + ee),
|
|
27864
|
-
|
|
27873
|
+
X * Math.sin(j + ee)
|
|
27865
27874
|
]),
|
|
27866
27875
|
[pe, _e]
|
|
27867
27876
|
), z = ee > Math.PI ? 1 : 0, H = ee > 0 ? 1 : 0;
|
|
@@ -27872,7 +27881,7 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
27872
27881
|
endY: Q,
|
|
27873
27882
|
path: `M${M} ${k} A ${[
|
|
27874
27883
|
re,
|
|
27875
|
-
|
|
27884
|
+
X,
|
|
27876
27885
|
Ae / (2 * Math.PI) * 180,
|
|
27877
27886
|
z,
|
|
27878
27887
|
H,
|
|
@@ -27881,7 +27890,7 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
27881
27890
|
].join(" ")}`
|
|
27882
27891
|
};
|
|
27883
27892
|
}
|
|
27884
|
-
function W(pe, _e, re,
|
|
27893
|
+
function W(pe, _e, re, X, j) {
|
|
27885
27894
|
let { series: ee } = pe;
|
|
27886
27895
|
if (pe.base || (pe.base = 1), !ee || pe.base === 0)
|
|
27887
27896
|
return {
|
|
@@ -27900,7 +27909,7 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
27900
27909
|
let F = ee[k].value / Ae;
|
|
27901
27910
|
const Q = F * (Math.PI * 0.975), H = ee[k].value / 2 / Ae * Math.PI, { startX: q, startY: te, endX: ne, endY: me, path: se } = P(
|
|
27902
27911
|
[_e, re],
|
|
27903
|
-
[
|
|
27912
|
+
[X, j],
|
|
27904
27913
|
[M, Q],
|
|
27905
27914
|
110
|
|
27906
27915
|
);
|
|
@@ -27915,7 +27924,7 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
27915
27924
|
endY: me,
|
|
27916
27925
|
center: P(
|
|
27917
27926
|
[_e, re],
|
|
27918
|
-
[
|
|
27927
|
+
[X, j],
|
|
27919
27928
|
[M, H],
|
|
27920
27929
|
110
|
|
27921
27930
|
)
|
|
@@ -27930,12 +27939,12 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
27930
27939
|
function J(pe) {
|
|
27931
27940
|
return String(pe).length > 2 ? 15 : 20;
|
|
27932
27941
|
}
|
|
27933
|
-
const
|
|
27942
|
+
const G = N(null);
|
|
27934
27943
|
function ye() {
|
|
27935
27944
|
s.value = !0;
|
|
27936
27945
|
}
|
|
27937
27946
|
function ve() {
|
|
27938
|
-
ye(), clearTimeout(
|
|
27947
|
+
ye(), clearTimeout(G.value), G.value = setTimeout(() => {
|
|
27939
27948
|
tl({
|
|
27940
27949
|
domElement: document.getElementById(`vue-ui-gauge_${o.value}`),
|
|
27941
27950
|
fileName: b.value.style.chart.title.text || "vue-ui-gauge"
|
|
@@ -27948,7 +27957,7 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
27948
27957
|
n.value = !0;
|
|
27949
27958
|
}
|
|
27950
27959
|
function R() {
|
|
27951
|
-
V(), clearTimeout(
|
|
27960
|
+
V(), clearTimeout(G.value), G.value = setTimeout(() => {
|
|
27952
27961
|
ol({
|
|
27953
27962
|
domElement: document.getElementById(`vue-ui-gauge_${o.value}`),
|
|
27954
27963
|
fileName: b.value.style.chart.title.text || "vue-ui-gauge",
|
|
@@ -28080,8 +28089,8 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
28080
28089
|
style: O(`font-weight:${b.value.style.chart.title.subtitle.bold ? "bold" : ""}`)
|
|
28081
28090
|
}, T(b.value.translations.base) + " : " + T(e.dataset.base), 13, KS))
|
|
28082
28091
|
])) : L("", !0),
|
|
28083
|
-
(c(!0), h(be, null, Be(W(m.value, d.value.width / 2, d.value.height * 0.7, d.value.width / 2.5, d.value.width / 2.5), (re,
|
|
28084
|
-
key: `arc_${
|
|
28092
|
+
(c(!0), h(be, null, Be(W(m.value, d.value.width / 2, d.value.height * 0.7, d.value.width / 2.5, d.value.width / 2.5), (re, X) => (c(), h("path", {
|
|
28093
|
+
key: `arc_${X}`,
|
|
28085
28094
|
d: re.path,
|
|
28086
28095
|
fill: "none",
|
|
28087
28096
|
stroke: re.color,
|
|
@@ -28089,8 +28098,8 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
28089
28098
|
"stroke-width": d.value.width / 16 * b.value.style.chart.layout.track.size
|
|
28090
28099
|
}, null, 8, WS))), 128)),
|
|
28091
28100
|
b.value.style.chart.layout.track.useGradient ? (c(), h("g", jS, [
|
|
28092
|
-
(c(!0), h(be, null, Be(W(m.value, d.value.width / 2, d.value.height * 0.7, d.value.width / 2.5, d.value.width / 2.5), (re,
|
|
28093
|
-
key: `arc_${
|
|
28101
|
+
(c(!0), h(be, null, Be(W(m.value, d.value.width / 2, d.value.height * 0.7, d.value.width / 2.5, d.value.width / 2.5), (re, X) => (c(), h("path", {
|
|
28102
|
+
key: `arc_${X}`,
|
|
28094
28103
|
d: re.path,
|
|
28095
28104
|
fill: "none",
|
|
28096
28105
|
stroke: "white",
|
|
@@ -28099,9 +28108,9 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
28099
28108
|
filter: `url(#blur_${o.value})`
|
|
28100
28109
|
}, null, 8, GS))), 128))
|
|
28101
28110
|
])) : L("", !0),
|
|
28102
|
-
(c(!0), h(be, null, Be(W(m.value, d.value.width / 2, d.value.height * 0.7, d.value.width / 2.5, d.value.width / 2.5), (re,
|
|
28111
|
+
(c(!0), h(be, null, Be(W(m.value, d.value.width / 2, d.value.height * 0.7, d.value.width / 2.5, d.value.width / 2.5), (re, X) => (c(), h("circle", {
|
|
28103
28112
|
cx: re.center.startX,
|
|
28104
|
-
cy:
|
|
28113
|
+
cy: X === 0 ? re.center.startY + 5 : re.center.startY,
|
|
28105
28114
|
r: d.value.width / 31 * b.value.style.chart.layout.track.size * b.value.style.chart.layout.markers.size,
|
|
28106
28115
|
fill: b.value.style.chart.layout.markers.backgroundColor,
|
|
28107
28116
|
stroke: b.value.style.chart.layout.markers.stroke,
|
|
@@ -28115,9 +28124,9 @@ const QS = (e) => (Na("data-v-71e59f2f"), e = e(), Ta(), e), MS = ["id"], ES = [
|
|
|
28115
28124
|
stroke: b.value.style.chart.layout.markers.stroke,
|
|
28116
28125
|
"stroke-width": b.value.style.chart.layout.markers.strokeWidth
|
|
28117
28126
|
}, null, 8, qS),
|
|
28118
|
-
(c(!0), h(be, null, Be(W(m.value, d.value.width / 2, d.value.height * 0.7, d.value.width / 2.5, d.value.width / 2.5), (re,
|
|
28127
|
+
(c(!0), h(be, null, Be(W(m.value, d.value.width / 2, d.value.height * 0.7, d.value.width / 2.5, d.value.width / 2.5), (re, X) => (c(), h("text", {
|
|
28119
28128
|
x: re.center.startX,
|
|
28120
|
-
y: oe(
|
|
28129
|
+
y: oe(X, re.center.startY, re.from) + b.value.style.chart.layout.markers.offsetY,
|
|
28121
28130
|
"text-anchor": "middle",
|
|
28122
28131
|
"font-size": J(re.from) * b.value.style.chart.layout.markers.fontSizeRatio,
|
|
28123
28132
|
"font-weight": `${b.value.style.chart.layout.markers.bold ? "bold" : "normal"}`,
|
|
@@ -28339,7 +28348,7 @@ const nL = ["id"], sL = ["xmlns", "viewBox"], iL = { key: 0 }, AL = ["fill", "fo
|
|
|
28339
28348
|
function W() {
|
|
28340
28349
|
return P.value;
|
|
28341
28350
|
}
|
|
28342
|
-
const oe = ie(() => P.value.flatMap((I) => I.branches).length), J = ie(() => Math.max(...P.value.map((I) => I.branches.map((xe) => xe.value).reduce((xe, Y) => xe + Y, 0)))),
|
|
28351
|
+
const oe = ie(() => P.value.flatMap((I) => I.branches).length), J = ie(() => Math.max(...P.value.map((I) => I.branches.map((xe) => xe.value).reduce((xe, Y) => xe + Y, 0)))), G = ie(() => Math.max(...P.value.flatMap((I) => I.branches.map((xe) => xe.value)))), ye = ie(() => 256 + x.value.padding.left), ve = ie(() => P.value.sort((I, xe) => xe.total - I.total).map((I, xe) => {
|
|
28343
28352
|
const Y = U.value.height / P.value.length / 2, Le = I.total / J.value * (Y > 64 ? 64 : Y);
|
|
28344
28353
|
return {
|
|
28345
28354
|
...I,
|
|
@@ -28352,18 +28361,18 @@ const nL = ["id"], sL = ["xmlns", "viewBox"], iL = { key: 0 }, AL = ["fill", "fo
|
|
|
28352
28361
|
y1: xe * x.value.branchSize + U.value.top + xe * x.value.gap,
|
|
28353
28362
|
y2: xe * x.value.branchSize + x.value.branchSize,
|
|
28354
28363
|
x1: ye.value,
|
|
28355
|
-
x2: 384 * I.value /
|
|
28364
|
+
x2: 384 * I.value / G.value * V.value + ye.value
|
|
28356
28365
|
})));
|
|
28357
28366
|
function Z(I) {
|
|
28358
28367
|
const xe = ve.value.find((Y) => Y.rootIndex === I.rootIndex);
|
|
28359
28368
|
return { x: xe.x, y: xe.y, r: xe.r };
|
|
28360
28369
|
}
|
|
28361
|
-
const pe = N(null), _e = N(null), re = N(null),
|
|
28370
|
+
const pe = N(null), _e = N(null), re = N(null), X = N(null);
|
|
28362
28371
|
function j() {
|
|
28363
|
-
pe.value = null, re.value = null,
|
|
28372
|
+
pe.value = null, re.value = null, X.value = null;
|
|
28364
28373
|
}
|
|
28365
28374
|
function ee(I) {
|
|
28366
|
-
return
|
|
28375
|
+
return X.value ? X.value === null ? !0 : I.type === "root" ? I.id === X.value.id : I.rootIndex === X.value.rootIndex : pe.value === null && re.value === null ? !0 : I.type === "nut" ? pe.value.id === I.id : I.type === "branch" ? re.value.id === I.id : I.type === "root" ? re.value && re.value.rootIndex === I.rootIndex || pe.value && pe.value.rootIndex === I.rootIndex : !1;
|
|
28367
28376
|
}
|
|
28368
28377
|
function Ae(I) {
|
|
28369
28378
|
j(), yl(() => {
|
|
@@ -28383,7 +28392,7 @@ const nL = ["id"], sL = ["xmlns", "viewBox"], iL = { key: 0 }, AL = ["fill", "fo
|
|
|
28383
28392
|
re.value && re.value.id === I.id ? (re.value = null, j(), l("selectBranch", null)) : (j(), re.value = I, l("selectBranch", I));
|
|
28384
28393
|
}
|
|
28385
28394
|
function k(I) {
|
|
28386
|
-
|
|
28395
|
+
X.value && X.value.id === I.id ? (j(), l("selectRoot", null)) : (j(), X.value = I, l("selectRoot", I));
|
|
28387
28396
|
}
|
|
28388
28397
|
function F() {
|
|
28389
28398
|
return U.value.bottom - (pe.value.y1 + 180) < 0 ? 0 : U.value.bottom;
|
|
@@ -28700,7 +28709,7 @@ const nL = ["id"], sL = ["xmlns", "viewBox"], iL = { key: 0 }, AL = ["fill", "fo
|
|
|
28700
28709
|
onClick: (We) => k(Y)
|
|
28701
28710
|
}, T(p.value.style.chart.layout.roots.labels.prefix) + " " + T(Y.total.toFixed(p.value.style.chart.layout.roots.labels.roundingValue)) + " " + T(p.value.style.chart.layout.roots.labels.suffix), 13, NL))), 256)),
|
|
28702
28711
|
(c(!0), h(be, null, Be(ve.value, (Y) => (c(), h("g", null, [
|
|
28703
|
-
pe.value && Y.rootIndex === pe.value.rootIndex || re.value && Y.rootIndex === re.value.rootIndex ||
|
|
28712
|
+
pe.value && Y.rootIndex === pe.value.rootIndex || re.value && Y.rootIndex === re.value.rootIndex || X.value && Y.rootIndex === X.value.rootIndex ? (c(), h("g", TL, [
|
|
28704
28713
|
y("text", {
|
|
28705
28714
|
x: Y.x,
|
|
28706
28715
|
y: Y.y + Y.r + 24,
|
|
@@ -29264,8 +29273,8 @@ const cU = ["id"], dU = ["xmlns", "viewBox"], hU = { key: 0 }, fU = ["font-size"
|
|
|
29264
29273
|
paddingBottom: 12,
|
|
29265
29274
|
fontWeight: d.value.style.chart.legend.bold ? "bold" : ""
|
|
29266
29275
|
})), P = N([]), W = ie(() => U.value.filter((k) => !P.value.includes(k.id)).length), oe = ie(() => ({
|
|
29267
|
-
gutter: x.value.width / 2 /
|
|
29268
|
-
track: x.value.width / 2 /
|
|
29276
|
+
gutter: x.value.width / 2 / U.value.length * d.value.style.chart.layout.gutter.width,
|
|
29277
|
+
track: x.value.width / 2 / U.value.length * d.value.style.chart.layout.track.width
|
|
29269
29278
|
})), J = ie(() => U.value.filter((k) => !P.value.includes(k.id)).map((k, F) => {
|
|
29270
29279
|
const Q = (x.value.maxRadius - oe.value.track) / W.value / 2 * (1 + F), z = x.value.centerY - (x.value.centerY - x.value.top - d.value.style.chart.layout.labels.fontSize) / W.value * (F + 1);
|
|
29271
29280
|
return {
|
|
@@ -29273,10 +29282,10 @@ const cU = ["id"], dU = ["xmlns", "viewBox"], hU = { key: 0 }, fU = ["font-size"
|
|
|
29273
29282
|
...k,
|
|
29274
29283
|
labelY: z,
|
|
29275
29284
|
radius: Q,
|
|
29276
|
-
path:
|
|
29285
|
+
path: G(Q, k.percentage || 0)
|
|
29277
29286
|
};
|
|
29278
29287
|
}));
|
|
29279
|
-
function
|
|
29288
|
+
function G(k, F) {
|
|
29280
29289
|
const Q = k * (1.5 + (F / 100 > 0.3333333333333333 ? 0 : 1 - F / 100)) * Math.PI, z = k * 1.5 * Math.PI;
|
|
29281
29290
|
return {
|
|
29282
29291
|
bgDashArray: `${z} ${z}`,
|
|
@@ -29347,7 +29356,7 @@ const cU = ["id"], dU = ["xmlns", "viewBox"], hU = { key: 0 }, fU = ["font-size"
|
|
|
29347
29356
|
});
|
|
29348
29357
|
}, 100);
|
|
29349
29358
|
}
|
|
29350
|
-
function
|
|
29359
|
+
function X() {
|
|
29351
29360
|
yl(() => {
|
|
29352
29361
|
const k = [[d.value.style.chart.title.text], [d.value.style.chart.title.subtitle.text], [""]], F = V.value.head, Q = V.value.body, z = k.concat([F]).concat(Q), H = xl(z);
|
|
29353
29362
|
wl({ csvContent: H, title: d.value.style.chart.title.text || "vue-ui-onion" });
|
|
@@ -29378,12 +29387,12 @@ const cU = ["id"], dU = ["xmlns", "viewBox"], hU = { key: 0 }, fU = ["font-size"
|
|
|
29378
29387
|
datapoint: k,
|
|
29379
29388
|
series: U.value,
|
|
29380
29389
|
config: d.value
|
|
29381
|
-
}) : (H += `<div style="width: 100%; border-bottom: 1px solid #ccc; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${k.color}"/></svg><span></span>${k.name}</span></div>`, H += `<div style="width:100%;text-align:left;"><b>${
|
|
29390
|
+
}) : (H += `<div style="width: 100%; border-bottom: 1px solid #ccc; padding-bottom: 6px;margin-bottom:3px;display:flex;flex-direction:row;gap:3px;align-items:center"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${k.color}"/></svg><span></span>${k.name}</span></div>`, H += `<div style="width:100%;text-align:left;"><b>${ht({ p: "", v: k.percentage, s: "%", r: d.value.style.chart.tooltip.roundingPercentage })}</b> (${ht({ p: k.prefix, v: k.value, s: k.suffix, r: d.value.style.chart.tooltip.roundingValue })})</div>`, m.value = `<div>${H}</div>`);
|
|
29382
29391
|
}
|
|
29383
29392
|
return t({
|
|
29384
29393
|
getData: ve,
|
|
29385
29394
|
generatePdf: pe,
|
|
29386
|
-
generateCsv:
|
|
29395
|
+
generateCsv: X,
|
|
29387
29396
|
generateImage: re
|
|
29388
29397
|
}), (k, F) => (c(), h("div", {
|
|
29389
29398
|
class: Pe(`vue-ui-onion ${ee.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${d.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -29432,7 +29441,7 @@ const cU = ["id"], dU = ["xmlns", "viewBox"], hU = { key: 0 }, fU = ["font-size"
|
|
|
29432
29441
|
chartElement: v.value,
|
|
29433
29442
|
onToggleFullscreen: Ae,
|
|
29434
29443
|
onGeneratePdf: pe,
|
|
29435
|
-
onGenerateCsv:
|
|
29444
|
+
onGenerateCsv: X,
|
|
29436
29445
|
onGenerateImage: re,
|
|
29437
29446
|
onToggleTable: F[0] || (F[0] = (Q) => i.value.showTable = !i.value.showTable)
|
|
29438
29447
|
}, null, 8, ["backgroundColor", "color", "isImaging", "isPrinting", "title", "uid", "isFullscreen", "chartElement"])) : L("", !0),
|
|
@@ -29645,7 +29654,7 @@ const cU = ["id"], dU = ["xmlns", "viewBox"], hU = { key: 0 }, fU = ["font-size"
|
|
|
29645
29654
|
], 4)) : L("", !0)
|
|
29646
29655
|
], 14, cU));
|
|
29647
29656
|
}
|
|
29648
|
-
}, $U = /* @__PURE__ */ Lt(LU, [["__scopeId", "data-v-
|
|
29657
|
+
}, $U = /* @__PURE__ */ Lt(LU, [["__scopeId", "data-v-6f218b87"]]);
|
|
29649
29658
|
const UU = ["id"], QU = ["onClick"], MU = ["xmlns", "viewBox"], EU = ["id"], IU = ["stop-color"], NU = ["stop-color"], TU = { key: 0 }, DU = ["font-size", "fill", "x", "y"], HU = ["font-size", "fill", "x", "y"], PU = ["x", "y", "width", "height", "fill", "rx"], zU = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], OU = ["x2", "y1", "y2", "stroke", "stroke-width"], RU = ["x", "y", "font-size", "fill", "font-weight"], VU = ["x", "y", "font-size", "fill", "font-weight"], KU = ["x", "y", "font-size", "fill", "font-weight"], WU = ["x", "y", "font-size", "fill", "font-weight"], jU = ["y", "width", "height", "fill", "onMouseenter"], GU = ["y", "height"], XU = ["onClick"], qU = ["onClick"], YU = { class: "vue-ui-data-table" }, JU = { key: 0 }, ZU = { style: { width: "100%" } }, eQ = ["data-cell"], tQ = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, lQ = ["data-cell"], aQ = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, oQ = ["data-cell"], rQ = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, nQ = ["data-cell"], sQ = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, iQ = ["data-cell"], AQ = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, uQ = ["data-cell"], cQ = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, dQ = ["data-cell"], hQ = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, fQ = {
|
|
29650
29659
|
__name: "vue-ui-vertical-bar",
|
|
29651
29660
|
props: {
|
|
@@ -29732,7 +29741,7 @@ const UU = ["id"], QU = ["onClick"], MU = ["xmlns", "viewBox"], EU = ["id"], IU
|
|
|
29732
29741
|
isLastChild: Le === _.children.length - 1
|
|
29733
29742
|
}))
|
|
29734
29743
|
};
|
|
29735
|
-
}).toSorted((_, E) => oe.value ? E.value - _.value : _.value - E.value))),
|
|
29744
|
+
}).toSorted((_, E) => oe.value ? E.value - _.value : _.value - E.value))), G = ie(() => ({
|
|
29736
29745
|
cy: "vertical-bar-div-legend",
|
|
29737
29746
|
backgroundColor: A.value.style.chart.legend.backgroundColor,
|
|
29738
29747
|
color: A.value.style.chart.legend.color,
|
|
@@ -29767,9 +29776,9 @@ const UU = ["id"], QU = ["onClick"], MU = ["xmlns", "viewBox"], EU = ["id"], IU
|
|
|
29767
29776
|
function _e(_, E = !1, I = 0) {
|
|
29768
29777
|
return E ? (_ / pe.value * 100).toFixed(I) + "%" : _ / pe.value;
|
|
29769
29778
|
}
|
|
29770
|
-
const re = ie(() => Z.value.flatMap((_) => _.hasChildren ? _.children : _)),
|
|
29779
|
+
const re = ie(() => Z.value.flatMap((_) => _.hasChildren ? _.children : _)), X = ie(() => Math.max(...Z.value.flatMap((_) => _.children && _.children.length ? Math.max(..._.children.map((E) => E.value)) : _.value)));
|
|
29771
29780
|
function j(_) {
|
|
29772
|
-
const E = _ /
|
|
29781
|
+
const E = _ / X.value;
|
|
29773
29782
|
return ve.value.width * E;
|
|
29774
29783
|
}
|
|
29775
29784
|
function ee(_) {
|
|
@@ -29959,7 +29968,7 @@ const UU = ["id"], QU = ["onClick"], MU = ["xmlns", "viewBox"], EU = ["id"], IU
|
|
|
29959
29968
|
A.value.style.chart.legend.show && (!W.value.inside || u.value) && A.value.style.chart.legend.position === "top" ? (c(), Ve(Nl, {
|
|
29960
29969
|
key: 2,
|
|
29961
29970
|
legendSet: J.value,
|
|
29962
|
-
config:
|
|
29971
|
+
config: G.value,
|
|
29963
29972
|
onClickMarker: E[2] || (E[2] = ({ legend: I }) => K(I.id))
|
|
29964
29973
|
}, {
|
|
29965
29974
|
item: Ne(({ legend: I }) => [
|
|
@@ -30102,7 +30111,7 @@ const UU = ["id"], QU = ["onClick"], MU = ["xmlns", "viewBox"], EU = ["id"], IU
|
|
|
30102
30111
|
}, [
|
|
30103
30112
|
it(Nl, {
|
|
30104
30113
|
legendSet: J.value,
|
|
30105
|
-
config:
|
|
30114
|
+
config: G.value,
|
|
30106
30115
|
onClickMarker: E[4] || (E[4] = ({ legend: I }) => K(I.id))
|
|
30107
30116
|
}, {
|
|
30108
30117
|
item: Ne(({ legend: I }) => [
|
|
@@ -30134,7 +30143,7 @@ const UU = ["id"], QU = ["onClick"], MU = ["xmlns", "viewBox"], EU = ["id"], IU
|
|
|
30134
30143
|
A.value.style.chart.legend.show && (!W.value.inside || u.value) && A.value.style.chart.legend.position === "bottom" ? (c(), Ve(Nl, {
|
|
30135
30144
|
key: 5,
|
|
30136
30145
|
legendSet: J.value,
|
|
30137
|
-
config:
|
|
30146
|
+
config: G.value,
|
|
30138
30147
|
onClickMarker: E[5] || (E[5] = ({ legend: I }) => K(I.id))
|
|
30139
30148
|
}, {
|
|
30140
30149
|
item: Ne(({ legend: I }) => [
|
|
@@ -30301,34 +30310,34 @@ const UU = ["id"], QU = ["onClick"], MU = ["xmlns", "viewBox"], EU = ["id"], IU
|
|
|
30301
30310
|
const r = e, o = N(`vue-ui-screenshot-${Math.random()}`), a = N(Ft.vue_ui_screenshot), n = ie(() => {
|
|
30302
30311
|
if (!Object.keys(r.config || {}).length)
|
|
30303
30312
|
return a.value;
|
|
30304
|
-
const
|
|
30313
|
+
const X = ts({
|
|
30305
30314
|
defaultConfig: a.value,
|
|
30306
30315
|
userConfig: r.config
|
|
30307
30316
|
});
|
|
30308
|
-
return ls(
|
|
30317
|
+
return ls(X);
|
|
30309
30318
|
}), s = N(null), u = N(null), v = N(null), g = N(null), b = N(null), p = N(null), m = N(null), d = N(null), i = N(null), A = N(null), x = N(null), U = N(!1), C = N(null);
|
|
30310
30319
|
function P() {
|
|
30311
|
-
const
|
|
30312
|
-
return
|
|
30320
|
+
const X = document.createElement("DIV");
|
|
30321
|
+
return X.style.position = "fixed", X.style.top = "200px", X.style.left = "100px", X.style.width = `${n.value.style.captureArea.initialWidth}px`, X.style.height = `${n.value.style.captureArea.initialHeight}px`, X.style.background = n.value.style.captureArea.background, X.style.cursor = "move", X.style.boxSizing = "border-box", X.style.border = n.value.style.captureArea.border, X.style.resize = "both", X.style.padding = "none !important", X.style.margin = "none !important", X.dataset.cy = "screenshot-overlay", X;
|
|
30313
30322
|
}
|
|
30314
30323
|
function W() {
|
|
30315
30324
|
s.value && (clearTimeout(C.value), s.value.remove(), s.value = null);
|
|
30316
30325
|
}
|
|
30317
|
-
function oe(
|
|
30326
|
+
function oe(X) {
|
|
30318
30327
|
const j = document.createElement("DIV");
|
|
30319
30328
|
j.classList.add("vue-ui-screenshot-info-text"), j.innerHTML = n.value.translations.info, j.dataset.html2canvasIgnore = "true", j.dataset.cy = "screenshot-info-text", j.style.background = n.value.style.info.background, j.style.color = n.value.style.info.color, j.style.fontWeight = n.value.style.info.bold ? "bold" : "normal", j.style.minWidth = `${n.value.style.info.minWidth}px`, j.style.left = "50%", j.style.padding = `${n.value.style.info.padding}px`, j.style.position = "absolute", j.style.textAlign = "center", j.style.top = `${n.value.style.info.top}px`, j.style.transform = "translateX(-50%)", j.style.borderRadius = `${n.value.style.info.borderRadius}px`, j.style.boxShadow = n.value.style.info.boxShadow, j.style.fontFamily = n.value.style.info.fontFamily, j.style.fontSize = `${n.value.style.info.fontSize}px`, j.style.border = n.value.style.info.border, j.style.userSelect = "none";
|
|
30320
30329
|
const ee = document.createElement("BUTTON");
|
|
30321
|
-
ee.classList.add("vue-ui-screenshot-close-button"), ee.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" stroke-width="2.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>', ee.style.outline = "none", ee.dataset.cy = "screenshot-close-button", ee.style.display = "flex", ee.style.cursor = "pointer", ee.style.borderRadius = "50%", ee.style.alignItems = "center", ee.style.position = "absolute", ee.style.justifyContent = "center", ee.style.transformOrigin = "center", ee.style.top = `${n.value.style.cancelButton.top}px`, ee.style.right = `${n.value.style.cancelButton.right}px`, ee.style.background = n.value.style.cancelButton.background, ee.style.color = n.value.style.cancelButton.color, ee.style.border = n.value.style.cancelButton.border, ee.style.borderRadius = `${n.value.style.cancelButton.borderRadius}px`, ee.style.height = `${n.value.style.cancelButton.size}px`, ee.style.width = `${n.value.style.cancelButton.size}px`, ee.addEventListener("click", W), j.appendChild(ee),
|
|
30330
|
+
ee.classList.add("vue-ui-screenshot-close-button"), ee.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 24 24" stroke-width="2.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 6l-12 12" /><path d="M6 6l12 12" /></svg>', ee.style.outline = "none", ee.dataset.cy = "screenshot-close-button", ee.style.display = "flex", ee.style.cursor = "pointer", ee.style.borderRadius = "50%", ee.style.alignItems = "center", ee.style.position = "absolute", ee.style.justifyContent = "center", ee.style.transformOrigin = "center", ee.style.top = `${n.value.style.cancelButton.top}px`, ee.style.right = `${n.value.style.cancelButton.right}px`, ee.style.background = n.value.style.cancelButton.background, ee.style.color = n.value.style.cancelButton.color, ee.style.border = n.value.style.cancelButton.border, ee.style.borderRadius = `${n.value.style.cancelButton.borderRadius}px`, ee.style.height = `${n.value.style.cancelButton.size}px`, ee.style.width = `${n.value.style.cancelButton.size}px`, ee.addEventListener("click", W), j.appendChild(ee), X.appendChild(j);
|
|
30322
30331
|
}
|
|
30323
|
-
function J(
|
|
30324
|
-
s.value && (U.value = !0,
|
|
30332
|
+
function J(X) {
|
|
30333
|
+
s.value && (U.value = !0, X.touches ? (p.value = X.touches[0].clientX, m.value = X.touches[0].clientY) : (p.value = X.clientX, m.value = X.clientY), A.value = s.value.getBoundingClientRect().width, x.value = s.value.getBoundingClientRect().height, X.target.addEventListener("mousemove", G), X.target.addEventListener("touchmove", G));
|
|
30325
30334
|
}
|
|
30326
|
-
function X
|
|
30335
|
+
function G(X) {
|
|
30327
30336
|
if (!s.value)
|
|
30328
30337
|
return;
|
|
30329
30338
|
let j, ee;
|
|
30330
|
-
|
|
30331
|
-
const Ae =
|
|
30339
|
+
X.touches ? (d.value = X.touches[0].clientX, j = X.touches[0].clientX, i.value = X.touches[0].clientY, ee = X.touches[0].clientY) : (d.value = X.clientX, j = X.clientX, i.value = X.clientY, ee = X.clientY);
|
|
30340
|
+
const Ae = X.target.classList[0], S = s.value.style;
|
|
30332
30341
|
switch (!0) {
|
|
30333
30342
|
case Ae === "vue-ui-screenshot-handle-nw":
|
|
30334
30343
|
S.top = `${ee}px`, S.left = `${j}px`, S.width = `${A.value + (p.value - d.value)}px`, S.height = `${x.value + (m.value - i.value)}px`;
|
|
@@ -30344,54 +30353,54 @@ const UU = ["id"], QU = ["onClick"], MU = ["xmlns", "viewBox"], EU = ["id"], IU
|
|
|
30344
30353
|
break;
|
|
30345
30354
|
}
|
|
30346
30355
|
}
|
|
30347
|
-
function ye(
|
|
30356
|
+
function ye(X) {
|
|
30348
30357
|
if (!s.value)
|
|
30349
30358
|
return;
|
|
30350
|
-
|
|
30351
|
-
const j = Array.from(
|
|
30352
|
-
j.includes("vue-ui-screenshot-handle-se") || j.includes("vue-ui-screenshot-handle-sw") || j.includes("vue-ui-screenshot-handle-nw") || j.includes("vue-ui-screenshot-handle-ne") || (U.value = !0, s.value.style.pointerEvents = "auto",
|
|
30359
|
+
X.stopPropagation();
|
|
30360
|
+
const j = Array.from(X.target.classList);
|
|
30361
|
+
j.includes("vue-ui-screenshot-handle-se") || j.includes("vue-ui-screenshot-handle-sw") || j.includes("vue-ui-screenshot-handle-nw") || j.includes("vue-ui-screenshot-handle-ne") || (U.value = !0, s.value.style.pointerEvents = "auto", X.touches ? (u.value = X.touches[0].clientX, v.value = X.touches[0].clientY) : (u.value = X.clientX, v.value = X.clientY), g.value = u.value, b.value = v.value, document.addEventListener("mousemove", V), document.addEventListener("touchmove", V), document.addEventListener("mouseup", ve), document.addEventListener("touchend", ve));
|
|
30353
30362
|
}
|
|
30354
30363
|
function ve() {
|
|
30355
30364
|
u.value = null, v.value = null, g.value = null, b.value = null, U.value = !1, document.removeEventListener("mousemove", V), document.removeEventListener("mouseup", ve), document.removeEventListener("touchmove", V), document.removeEventListener("touchend", ve);
|
|
30356
30365
|
}
|
|
30357
|
-
function V(
|
|
30366
|
+
function V(X) {
|
|
30358
30367
|
if (!s.value)
|
|
30359
30368
|
return;
|
|
30360
30369
|
const j = s.value.getBoundingClientRect();
|
|
30361
30370
|
let ee, Ae;
|
|
30362
|
-
|
|
30371
|
+
X.touches ? (ee = X.touches[0].clientX - u.value, Ae = X.touches[0].clientY - v.value, u.value = X.touches[0].clientX, v.value = X.touches[0].clientY) : (ee = X.clientX - u.value, Ae = X.clientY - v.value, u.value = X.clientX, v.value = X.clientY), s.value.style.top = `${j.top + Ae}px`, s.value.style.left = `${j.left + ee}px`;
|
|
30363
30372
|
}
|
|
30364
|
-
function R(
|
|
30365
|
-
|
|
30373
|
+
function R(X) {
|
|
30374
|
+
X.target.removeEventListener("mousemove", G), X.target.removeEventListener("touchmove", G), document.removeEventListener("mousemove", V), document.removeEventListener("touchmove", V), document.removeEventListener("mouseup", ve), document.removeEventListener("touchend", ve), U.value = !1;
|
|
30366
30375
|
}
|
|
30367
30376
|
function K() {
|
|
30368
|
-
const
|
|
30369
|
-
return /(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(
|
|
30370
|
-
|
|
30377
|
+
const X = navigator.userAgent;
|
|
30378
|
+
return /(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(X) ? "tablet" : /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(
|
|
30379
|
+
X
|
|
30371
30380
|
) ? "mobile" : "desktop";
|
|
30372
30381
|
}
|
|
30373
30382
|
function Z() {
|
|
30374
|
-
const
|
|
30375
|
-
|
|
30383
|
+
const X = document.getElementById(`vue-ui-screenshot-button-${o.value}`);
|
|
30384
|
+
X.innerHTML = `<svg id="saveButtonSvg" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 20 20" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
|
30376
30385
|
<path fill="none" stroke="currentColor" d="M1 4 1 3C1 2 2 1 3 1L4 1M16 1 17 1C18 1 19 2 19 3L19 4M1 16 1 17C1 18 2 19 3 19L4 19M16 19 17 19C18 19 19 18 19 17L19 16M8 10A1 1 0 0012 10 1 1 0 008 10M5 13 5 8C5 7 5 7 6 7L14 7C15 7 15 7 15 8L15 13C15 14 15 14 14 14L6 14C5 14 5 14 5 13M7 6 13 6" />
|
|
30377
30386
|
</svg>`, document.getElementById(`vue-ui-screenshot-button-${o.value}`).animate([
|
|
30378
30387
|
{ opacity: "0.3" },
|
|
30379
30388
|
{ opacity: "1" },
|
|
30380
30389
|
{ opacity: "0.3" }
|
|
30381
|
-
], { duration: 1e3, iterations: 1 / 0 }),
|
|
30390
|
+
], { duration: 1e3, iterations: 1 / 0 }), X.classList.add("loading"), X.setAttribute("disabled", "true");
|
|
30382
30391
|
}
|
|
30383
30392
|
function pe() {
|
|
30384
30393
|
if (!s.value)
|
|
30385
30394
|
return;
|
|
30386
30395
|
Z();
|
|
30387
|
-
const
|
|
30396
|
+
const X = s.value.getBoundingClientRect();
|
|
30388
30397
|
C.value = setTimeout(() => {
|
|
30389
30398
|
ni(document.body, {
|
|
30390
30399
|
allowTaint: !0,
|
|
30391
|
-
width:
|
|
30392
|
-
height:
|
|
30393
|
-
x:
|
|
30394
|
-
y:
|
|
30400
|
+
width: X.width,
|
|
30401
|
+
height: X.height,
|
|
30402
|
+
x: X.left + window.scrollX,
|
|
30403
|
+
y: X.top + window.scrollY,
|
|
30395
30404
|
useCORS: !0,
|
|
30396
30405
|
scale: n.value.quality
|
|
30397
30406
|
}).then((j) => {
|
|
@@ -30404,15 +30413,15 @@ const UU = ["id"], QU = ["onClick"], MU = ["xmlns", "viewBox"], EU = ["id"], IU
|
|
|
30404
30413
|
createdAt: Date.now(),
|
|
30405
30414
|
fileSize: `${M.toFixed(2)} KB`,
|
|
30406
30415
|
image: ee,
|
|
30407
|
-
x:
|
|
30408
|
-
y:
|
|
30416
|
+
x: X.left + window.scrollX,
|
|
30417
|
+
y: X.top + window.scrollY,
|
|
30409
30418
|
screenWidth: window.innerWidth > 0 ? window.innerWidth : screen.width,
|
|
30410
30419
|
deviceType: K()
|
|
30411
30420
|
});
|
|
30412
30421
|
}).finally(W);
|
|
30413
30422
|
}, 10);
|
|
30414
30423
|
}
|
|
30415
|
-
function _e(
|
|
30424
|
+
function _e(X) {
|
|
30416
30425
|
const j = n.value.style.handles.size / 2 + 4, ee = document.createElement("DIV");
|
|
30417
30426
|
ee.style.top = `${-j}px`, ee.style.left = `${-j}px`, ee.style.cursor = "nw-resize", ee.classList.add("vue-ui-screenshot-handle-nw"), ee.dataset.cy = "screenshot-handle-nw";
|
|
30418
30427
|
const Ae = document.createElement("DIV");
|
|
@@ -30426,22 +30435,22 @@ const UU = ["id"], QU = ["onClick"], MU = ["xmlns", "viewBox"], EU = ["id"], IU
|
|
|
30426
30435
|
k.style.opacity = "1";
|
|
30427
30436
|
}), k.addEventListener("mouseleave", () => {
|
|
30428
30437
|
k.style.opacity = "0.95";
|
|
30429
|
-
}), k.addEventListener("click", pe),
|
|
30430
|
-
F.classList.add(`handle-${Q}`), F.dataset.html2canvasIgnore = "true", F.style.position = "absolute", F.style.height = `${n.value.style.handles.size}px`, F.style.width = `${n.value.style.handles.size}px`, F.style.background = n.value.style.handles.background, F.style.border = n.value.style.handles.border, F.style.borderRadius = `${n.value.style.handles.borderRadius}px`, F.style.pointerEvents = "auto !important", F.addEventListener("mousedown", J), F.addEventListener("touchstart", J),
|
|
30438
|
+
}), k.addEventListener("click", pe), X.appendChild(k), [ee, Ae, S, M].forEach((F, Q) => {
|
|
30439
|
+
F.classList.add(`handle-${Q}`), F.dataset.html2canvasIgnore = "true", F.style.position = "absolute", F.style.height = `${n.value.style.handles.size}px`, F.style.width = `${n.value.style.handles.size}px`, F.style.background = n.value.style.handles.background, F.style.border = n.value.style.handles.border, F.style.borderRadius = `${n.value.style.handles.borderRadius}px`, F.style.pointerEvents = "auto !important", F.addEventListener("mousedown", J), F.addEventListener("touchstart", J), X.appendChild(F);
|
|
30431
30440
|
});
|
|
30432
30441
|
}
|
|
30433
30442
|
function re() {
|
|
30434
30443
|
s.value || yl(() => {
|
|
30435
|
-
const
|
|
30436
|
-
|
|
30444
|
+
const X = P();
|
|
30445
|
+
X.dataset.html2canvasIgnore = !0, oe(X), _e(X), s.value = X, X.addEventListener("touchmove", function(j) {
|
|
30437
30446
|
j.preventDefault();
|
|
30438
|
-
}, { passive: !1 }), document.body.appendChild(
|
|
30447
|
+
}, { passive: !1 }), document.body.appendChild(X), document.addEventListener("mousedown", ye), document.addEventListener("touchstart", ye), document.addEventListener("mouseup", R), document.addEventListener("touchend", R);
|
|
30439
30448
|
});
|
|
30440
30449
|
}
|
|
30441
30450
|
return t({
|
|
30442
30451
|
shoot: re,
|
|
30443
30452
|
close: W
|
|
30444
|
-
}), (
|
|
30453
|
+
}), (X, j) => (c(), h("div"));
|
|
30445
30454
|
}
|
|
30446
30455
|
};
|
|
30447
30456
|
const yQ = {
|
|
@@ -30478,8 +30487,8 @@ const yQ = {
|
|
|
30478
30487
|
}
|
|
30479
30488
|
if (J === 0)
|
|
30480
30489
|
return 0;
|
|
30481
|
-
const
|
|
30482
|
-
return Math.min(v.value.to, Math.max(v.value.from,
|
|
30490
|
+
const G = oe / J;
|
|
30491
|
+
return Math.min(v.value.to, Math.max(v.value.from, G));
|
|
30483
30492
|
}
|
|
30484
30493
|
Mt(() => {
|
|
30485
30494
|
Dt(r.dataset) && st({
|
|
@@ -30493,14 +30502,14 @@ const yQ = {
|
|
|
30493
30502
|
return W > s.value || d.value ? oe ? v.value.style.image.inactiveOpacity : v.value.style.star.inactiveColor : oe ? 1 : v.value.style.star.useGradient ? `url(#star_gradient_under_${o.value})` : v.value.style.star.activeColor;
|
|
30494
30503
|
}
|
|
30495
30504
|
function x(W, oe = !1) {
|
|
30496
|
-
const J = p.value - W,
|
|
30505
|
+
const J = p.value - W, G = oe ? 1 : 100;
|
|
30497
30506
|
switch (!0) {
|
|
30498
30507
|
case J <= 0:
|
|
30499
30508
|
return 1e-3;
|
|
30500
30509
|
case J > 1:
|
|
30501
|
-
return 1 *
|
|
30510
|
+
return 1 * G;
|
|
30502
30511
|
default:
|
|
30503
|
-
return J *
|
|
30512
|
+
return J * G;
|
|
30504
30513
|
}
|
|
30505
30514
|
}
|
|
30506
30515
|
function U(W) {
|
|
@@ -30544,7 +30553,7 @@ const yQ = {
|
|
|
30544
30553
|
key: 0,
|
|
30545
30554
|
style: O(`width:fit-content;text-align:center;margin-bottom:${v.value.style.rating.offsetY}px;font-size:${v.value.style.rating.fontSize}px;font-weight:${v.value.style.rating.bold ? "bold" : "normal"};padding-right:${v.value.style.rating.offsetX}px`)
|
|
30546
30555
|
}, T(isNaN(p.value) ? "" : p.value.toFixed(v.value.style.rating.roundingValue)), 5)) : L("", !0),
|
|
30547
|
-
(c(!0), h(be, null, Be(u.value, (J,
|
|
30556
|
+
(c(!0), h(be, null, Be(u.value, (J, G) => (c(), h("div", {
|
|
30548
30557
|
class: "vue-ui-rating-unit-container",
|
|
30549
30558
|
style: O(`position:relative;height:${v.value.style.itemSize}px;width:${v.value.style.itemSize}px`)
|
|
30550
30559
|
}, [
|
|
@@ -30603,11 +30612,11 @@ const yQ = {
|
|
|
30603
30612
|
width: v.value.style.itemSize,
|
|
30604
30613
|
id: `active_${o.value}_${J}`,
|
|
30605
30614
|
class: "vue-ui-rating-unit",
|
|
30606
|
-
style: O(`position:absolute;top:0;left:0;clip:rect(0px,${x(
|
|
30615
|
+
style: O(`position:absolute;top:0;left:0;clip:rect(0px,${x(G, !0) * v.value.style.itemSize}px,${v.value.style.itemSize}px,0px`)
|
|
30607
30616
|
}, null, 12, kQ)) : (c(), h("svg", {
|
|
30608
30617
|
key: 3,
|
|
30609
30618
|
xmlns: ue(ot),
|
|
30610
|
-
viewBox: `0 0 ${x(
|
|
30619
|
+
viewBox: `0 0 ${x(G)} 100`,
|
|
30611
30620
|
height: v.value.style.itemSize,
|
|
30612
30621
|
class: "vue-ui-rating-unit",
|
|
30613
30622
|
id: `active_${o.value}_${J}`,
|
|
@@ -30773,7 +30782,7 @@ const IQ = ["id"], NQ = ["xmlns", "viewBox"], TQ = { key: 0 }, DQ = ["font-size"
|
|
|
30773
30782
|
bottom: W.value.height - A.value.style.layout.padding.bottom,
|
|
30774
30783
|
height: W.value.height - A.value.style.layout.padding.top - A.value.style.layout.padding.bottom,
|
|
30775
30784
|
width: W.value.width - A.value.style.layout.padding.right - A.value.style.layout.padding.left - (oe.value === "right" && A.value.style.legend.show ? 92 : 0)
|
|
30776
|
-
})),
|
|
30785
|
+
})), G = ie(() => R.value.height * l.dataset.length), ye = ie(() => Math.max(...l.dataset.flatMap((H) => H.values))), ve = ie(() => Math.min(...l.dataset.flatMap((H) => H.values))), V = ie(() => {
|
|
30777
30786
|
const H = l.dataset.flatMap((te) => te.values);
|
|
30778
30787
|
return H.reduce((te, ne) => te + ne, 0) / H.length;
|
|
30779
30788
|
}), R = ie(() => ({
|
|
@@ -30837,9 +30846,9 @@ const IQ = ["id"], NQ = ["xmlns", "viewBox"], TQ = { key: 0 }, DQ = ["font-size"
|
|
|
30837
30846
|
seriesIndex: q,
|
|
30838
30847
|
series: Z.value,
|
|
30839
30848
|
config: A.value
|
|
30840
|
-
}) : (ce += `<div>${ne} ${me ? `${me}` : ""}</div>`, ce += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8;font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${Ys(A.value.style.layout.cells.colors.cold, A.value.style.layout.cells.colors.hot, ve.value, ye.value, te)}">⬤</span><span>${isNaN(te) ? "-" :
|
|
30849
|
+
}) : (ce += `<div>${ne} ${me ? `${me}` : ""}</div>`, ce += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8;font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${Ys(A.value.style.layout.cells.colors.cold, A.value.style.layout.cells.colors.hot, ve.value, ye.value, te)}">⬤</span><span>${isNaN(te) ? "-" : ht({ p: A.value.style.layout.dataLabels.prefix, v: te, s: A.value.style.layout.dataLabels.suffix, r: A.value.style.tooltip.roundingValue })}</span></div>`, b.value = `<div style="font-size:${A.value.style.tooltip.fontSize}px">${ce}</div>`);
|
|
30841
30850
|
}
|
|
30842
|
-
const
|
|
30851
|
+
const X = ie(() => J.value.top + G.value * (1 - pe.value / ye.value)), j = ie(() => J.value.left + (W.value.width - J.value.left - A.value.style.layout.padding.right) * (pe.value / ye.value)), ee = N(null);
|
|
30843
30852
|
function Ae() {
|
|
30844
30853
|
s.value = !0;
|
|
30845
30854
|
}
|
|
@@ -31060,13 +31069,13 @@ const IQ = ["id"], NQ = ["xmlns", "viewBox"], TQ = { key: 0 }, DQ = ["font-size"
|
|
|
31060
31069
|
x: J.value.right + 36,
|
|
31061
31070
|
y: J.value.top,
|
|
31062
31071
|
width: 36,
|
|
31063
|
-
height:
|
|
31072
|
+
height: G.value,
|
|
31064
31073
|
rx: A.value.style.legend.scaleBorderRadius,
|
|
31065
31074
|
fill: "url(#colorScaleVertical)"
|
|
31066
31075
|
}, null, 8, ZQ),
|
|
31067
31076
|
y("text", {
|
|
31068
31077
|
x: J.value.right + 36 + 18,
|
|
31069
|
-
y: J.value.top +
|
|
31078
|
+
y: J.value.top + G.value + A.value.style.legend.fontSize * 2.5,
|
|
31070
31079
|
"text-anchor": "middle",
|
|
31071
31080
|
"font-size": A.value.style.legend.fontSize * 2,
|
|
31072
31081
|
fill: A.value.style.legend.color
|
|
@@ -31077,14 +31086,14 @@ const IQ = ["id"], NQ = ["xmlns", "viewBox"], TQ = { key: 0 }, DQ = ["font-size"
|
|
|
31077
31086
|
"stroke-width": "2",
|
|
31078
31087
|
x1: J.value.right + 36,
|
|
31079
31088
|
x2: J.value.right + 72,
|
|
31080
|
-
y1:
|
|
31081
|
-
y2:
|
|
31089
|
+
y1: X.value,
|
|
31090
|
+
y2: X.value
|
|
31082
31091
|
}, null, 8, t7)) : L("", !0),
|
|
31083
31092
|
pe.value !== null ? (c(), h("path", {
|
|
31084
31093
|
key: 1,
|
|
31085
31094
|
fill: A.value.style.color,
|
|
31086
31095
|
stroke: "none",
|
|
31087
|
-
d: `M ${J.value.right + 36},${
|
|
31096
|
+
d: `M ${J.value.right + 36},${X.value} ${J.value.right + 26},${X.value - 8} ${J.value.right + 26},${X.value + 8}z`
|
|
31088
31097
|
}, null, 8, l7)) : L("", !0)
|
|
31089
31098
|
])) : L("", !0),
|
|
31090
31099
|
A.value.style.legend.show && oe.value === "bottom" ? (c(), h("g", a7, [
|
|
@@ -31217,7 +31226,7 @@ const IQ = ["id"], NQ = ["xmlns", "viewBox"], TQ = { key: 0 }, DQ = ["font-size"
|
|
|
31217
31226
|
"data-cell": e.dataset[se].name,
|
|
31218
31227
|
style: O(`outline:${A.value.table.td.outline}`)
|
|
31219
31228
|
}, [
|
|
31220
|
-
y("div", y7, T(isNaN(me.values[ne]) ? "-" : ue(
|
|
31229
|
+
y("div", y7, T(isNaN(me.values[ne]) ? "-" : ue(ht)({ p: A.value.style.layout.dataLabels.prefix, v: me.values[ne], s: A.value.style.layout.dataLabels.suffix, r: A.value.table.td.roundingValue })), 1)
|
|
31221
31230
|
], 12, g7))), 256))
|
|
31222
31231
|
], 6))), 256))
|
|
31223
31232
|
])
|
|
@@ -31376,9 +31385,9 @@ const m7 = ["id"], w7 = ["xmlns", "viewBox"], x7 = { key: 0 }, C7 = ["font-size"
|
|
|
31376
31385
|
function J() {
|
|
31377
31386
|
return oe.value;
|
|
31378
31387
|
}
|
|
31379
|
-
const
|
|
31388
|
+
const G = N(void 0), ye = N(null), ve = N(null);
|
|
31380
31389
|
function V(k, F) {
|
|
31381
|
-
|
|
31390
|
+
G.value = k.id, ye.value = k;
|
|
31382
31391
|
let Q = "";
|
|
31383
31392
|
ve.value = {
|
|
31384
31393
|
datapoint: k,
|
|
@@ -31400,7 +31409,7 @@ const m7 = ["id"], w7 = ["xmlns", "viewBox"], x7 = { key: 0 }, C7 = ["font-size"
|
|
|
31400
31409
|
}) : (k.clusterName && (Q += `<div style="display:flex;gap:3px;align-items:center">${k.clusterName}</div>`), k.v.name && (Q += `<div>${k.v.name}</div>`), Q += '<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8">', Q += `<div>${m.value.style.layout.dataLabels.xAxis.name} : <b>${isNaN(k.v.x) ? "-" : Number(k.v.x.toFixed(m.value.style.layout.dataLabels.xAxis.roundingValue)).toLocaleString()}</b></div>`, Q += `<div>${m.value.style.layout.dataLabels.yAxis.name} : <b>${isNaN(k.v.y) ? "-" : Number(k.v.y.toFixed(m.value.style.layout.dataLabels.yAxis.roundingValue)).toLocaleString()}</b></div>`, Q += `${m.value.style.layout.plots.deviation.translation} : <b>${Number(k.deviation.toFixed(m.value.style.layout.plots.deviation.roundingValue)).toLocaleString()}</b>`, Q += "</div>", b.value = `<div>${Q}</div>`), g.value = !0;
|
|
31401
31410
|
}
|
|
31402
31411
|
function R() {
|
|
31403
|
-
g.value = !1,
|
|
31412
|
+
g.value = !1, G.value = void 0, ye.value = null;
|
|
31404
31413
|
}
|
|
31405
31414
|
const K = N([]);
|
|
31406
31415
|
function Z(k) {
|
|
@@ -31420,11 +31429,11 @@ const m7 = ["id"], w7 = ["xmlns", "viewBox"], x7 = { key: 0 }, C7 = ["font-size"
|
|
|
31420
31429
|
});
|
|
31421
31430
|
}, 100);
|
|
31422
31431
|
}
|
|
31423
|
-
function
|
|
31432
|
+
function X() {
|
|
31424
31433
|
n.value = !0;
|
|
31425
31434
|
}
|
|
31426
31435
|
function j() {
|
|
31427
|
-
|
|
31436
|
+
X(), clearTimeout(pe.value), pe.value = setTimeout(() => {
|
|
31428
31437
|
ol({
|
|
31429
31438
|
domElement: document.getElementById(`vue-ui-scatter_${o.value}`),
|
|
31430
31439
|
fileName: m.value.style.title.text || "vue-ui-scatter",
|
|
@@ -31602,7 +31611,7 @@ const m7 = ["id"], w7 = ["xmlns", "viewBox"], x7 = { key: 0 }, C7 = ["font-size"
|
|
|
31602
31611
|
(c(!0), h(be, null, Be(Q.plots, (H, q) => (c(), h("circle", {
|
|
31603
31612
|
cx: H.x,
|
|
31604
31613
|
cy: H.y,
|
|
31605
|
-
r:
|
|
31614
|
+
r: G.value && G.value === H.id ? H.weight * 2 : H.weight,
|
|
31606
31615
|
fill: `${Q.color}${ue(nt)[m.value.style.layout.plots.opacity * 100]}`,
|
|
31607
31616
|
stroke: m.value.style.layout.plots.stroke,
|
|
31608
31617
|
"stroke-width": m.value.style.layout.plots.strokeWidth,
|
|
@@ -31613,7 +31622,7 @@ const m7 = ["id"], w7 = ["xmlns", "viewBox"], x7 = { key: 0 }, C7 = ["font-size"
|
|
|
31613
31622
|
])) : (c(), h("g", Q7, [
|
|
31614
31623
|
(c(!0), h(be, null, Be(Q.plots, (H, q) => (c(), Ve(Qr, {
|
|
31615
31624
|
plot: { x: H.x, y: H.y },
|
|
31616
|
-
radius:
|
|
31625
|
+
radius: G.value && G.value === H.id ? H.weight * 2 : H.weight,
|
|
31617
31626
|
shape: Q.shape,
|
|
31618
31627
|
color: `${Q.color}${ue(nt)[m.value.style.layout.plots.opacity * 100]}`,
|
|
31619
31628
|
stroke: m.value.style.layout.plots.stroke,
|
|
@@ -31922,12 +31931,12 @@ const tM = ["id"], lM = ["xmlns", "viewBox"], aM = { key: 0 }, oM = ["id"], rM =
|
|
|
31922
31931
|
})))), oe = ie(() => x.value.width / P.value.length), J = ie(() => ({
|
|
31923
31932
|
max: Math.max(...W.value.map((F) => F.high)),
|
|
31924
31933
|
min: 0
|
|
31925
|
-
})),
|
|
31934
|
+
})), G = ie(() => Zn(J.value.min, J.value.max, 10));
|
|
31926
31935
|
function ye(F, Q) {
|
|
31927
31936
|
return {
|
|
31928
31937
|
...F,
|
|
31929
31938
|
x: x.value.left + Q * oe.value + oe.value / 2,
|
|
31930
|
-
y: x.value.top + (1 - F /
|
|
31939
|
+
y: x.value.top + (1 - F / G.value.max) * x.value.height,
|
|
31931
31940
|
value: F
|
|
31932
31941
|
};
|
|
31933
31942
|
}
|
|
@@ -31944,9 +31953,9 @@ const tM = ["id"], lM = ["xmlns", "viewBox"], aM = { key: 0 }, oM = ["id"], rM =
|
|
|
31944
31953
|
};
|
|
31945
31954
|
}));
|
|
31946
31955
|
function V(F) {
|
|
31947
|
-
return F /
|
|
31956
|
+
return F / G.value.max;
|
|
31948
31957
|
}
|
|
31949
|
-
const R = ie(() =>
|
|
31958
|
+
const R = ie(() => G.value.ticks.map((F) => ({
|
|
31950
31959
|
y: x.value.bottom - x.value.height * V(F),
|
|
31951
31960
|
value: F
|
|
31952
31961
|
}))), K = ie(() => W.value.map((F) => F.period)), Z = N(null);
|
|
@@ -31982,7 +31991,7 @@ const tM = ["id"], lM = ["xmlns", "viewBox"], aM = { key: 0 }, oM = ["id"], rM =
|
|
|
31982
31991
|
function re() {
|
|
31983
31992
|
s.value = !0;
|
|
31984
31993
|
}
|
|
31985
|
-
function
|
|
31994
|
+
function X() {
|
|
31986
31995
|
re(), clearTimeout(_e.value), _e.value = setTimeout(() => {
|
|
31987
31996
|
tl({
|
|
31988
31997
|
domElement: document.getElementById(`vue-ui-candlestick_${o.value}`),
|
|
@@ -32053,7 +32062,7 @@ const tM = ["id"], lM = ["xmlns", "viewBox"], aM = { key: 0 }, oM = ["id"], rM =
|
|
|
32053
32062
|
M.value = F, m.value += 1;
|
|
32054
32063
|
}
|
|
32055
32064
|
return t({
|
|
32056
|
-
generatePdf:
|
|
32065
|
+
generatePdf: X,
|
|
32057
32066
|
generateCsv: Ae,
|
|
32058
32067
|
generateImage: ee
|
|
32059
32068
|
}), (F, Q) => (c(), h("div", {
|
|
@@ -32102,7 +32111,7 @@ const tM = ["id"], lM = ["xmlns", "viewBox"], aM = { key: 0 }, oM = ["id"], rM =
|
|
|
32102
32111
|
isFullscreen: M.value,
|
|
32103
32112
|
chartElement: b.value,
|
|
32104
32113
|
onToggleFullscreen: k,
|
|
32105
|
-
onGeneratePdf:
|
|
32114
|
+
onGeneratePdf: X,
|
|
32106
32115
|
onGenerateCsv: Ae,
|
|
32107
32116
|
onGenerateImage: ee,
|
|
32108
32117
|
onToggleTable: Q[0] || (Q[0] = (z) => i.value.showTable = !i.value.showTable)
|
|
@@ -32192,7 +32201,7 @@ const tM = ["id"], lM = ["xmlns", "viewBox"], aM = { key: 0 }, oM = ["id"], rM =
|
|
|
32192
32201
|
])) : L("", !0),
|
|
32193
32202
|
d.value.style.layout.grid.yAxis.dataLabels.show ? (c(), h("g", pM, [
|
|
32194
32203
|
(c(!0), h(be, null, Be(R.value, (z, H) => (c(), h("g", null, [
|
|
32195
|
-
z.value >=
|
|
32204
|
+
z.value >= G.value.min && z.value <= G.value.max ? (c(), h("line", {
|
|
32196
32205
|
key: 0,
|
|
32197
32206
|
x1: x.value.left,
|
|
32198
32207
|
x2: x.value.left - 5,
|
|
@@ -32201,7 +32210,7 @@ const tM = ["id"], lM = ["xmlns", "viewBox"], aM = { key: 0 }, oM = ["id"], rM =
|
|
|
32201
32210
|
stroke: d.value.style.layout.grid.stroke,
|
|
32202
32211
|
"stroke-width": d.value.style.layout.grid.strokeWidth
|
|
32203
32212
|
}, null, 8, bM)) : L("", !0),
|
|
32204
|
-
z.value >=
|
|
32213
|
+
z.value >= G.value.min && z.value <= G.value.max ? (c(), h("text", {
|
|
32205
32214
|
key: 1,
|
|
32206
32215
|
x: x.value.left - 8 + d.value.style.layout.grid.yAxis.dataLabels.offsetX,
|
|
32207
32216
|
y: z.y + d.value.style.layout.grid.yAxis.dataLabels.fontSize / 3,
|
|
@@ -32484,7 +32493,7 @@ const RM = ["id"], VM = ["xmlns", "viewBox"], KM = ["id"], WM = ["stop-color"],
|
|
|
32484
32493
|
value: ee[3],
|
|
32485
32494
|
proportionToMax: ee[3] / W.value
|
|
32486
32495
|
}
|
|
32487
|
-
}))),
|
|
32496
|
+
}))), G = ie(() => J.value.map((ee, Ae) => {
|
|
32488
32497
|
const S = x.value.top + x.value.height / oe.value * Ae, M = x.value.height / oe.value - d.value.style.layout.bars.gap;
|
|
32489
32498
|
return {
|
|
32490
32499
|
segment: ee.segment,
|
|
@@ -32511,7 +32520,7 @@ const RM = ["id"], VM = ["xmlns", "viewBox"], KM = ["id"], WM = ["stop-color"],
|
|
|
32511
32520
|
p.value = ee, ye.value = {
|
|
32512
32521
|
datapoint: Ae,
|
|
32513
32522
|
seriesIndex: ee,
|
|
32514
|
-
series:
|
|
32523
|
+
series: G.value,
|
|
32515
32524
|
config: d.value
|
|
32516
32525
|
};
|
|
32517
32526
|
const S = d.value.style.tooltip.customFormat;
|
|
@@ -32523,7 +32532,7 @@ const RM = ["id"], VM = ["xmlns", "viewBox"], KM = ["id"], WM = ["stop-color"],
|
|
|
32523
32532
|
left: Ae[2],
|
|
32524
32533
|
right: Ae[3]
|
|
32525
32534
|
},
|
|
32526
|
-
series:
|
|
32535
|
+
series: G.value,
|
|
32527
32536
|
config: d.value
|
|
32528
32537
|
})))
|
|
32529
32538
|
b.value = S({
|
|
@@ -32534,12 +32543,12 @@ const RM = ["id"], VM = ["xmlns", "viewBox"], KM = ["id"], WM = ["stop-color"],
|
|
|
32534
32543
|
left: Ae[2],
|
|
32535
32544
|
right: Ae[3]
|
|
32536
32545
|
},
|
|
32537
|
-
series:
|
|
32546
|
+
series: G.value,
|
|
32538
32547
|
config: d.value
|
|
32539
32548
|
});
|
|
32540
32549
|
else {
|
|
32541
32550
|
let M = "";
|
|
32542
|
-
const k =
|
|
32551
|
+
const k = G.value[ee];
|
|
32543
32552
|
M += `<div><b>${k.segment}</b></div>`, M += `<div>${d.value.translations.age} : ${k.age}</div>`, M += '<div style="margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8">', M += '<div style="display:flex; flex-direction:row;gap:12px">', M += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${d.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${d.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${o.value})` : d.value.style.layout.bars.left.color}"/></svg><div>${d.value.translations.female}</div><div><b>${k.left.value.toLocaleString()}</b></div></div>`, M += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${d.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${d.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${o.value})` : d.value.style.layout.bars.right.color}"/></svg><div>${d.value.translations.male}</div><div><b>${k.right.value.toLocaleString()}</b></div></div>`, M += "</div>", M += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8"><div>${d.value.translations.total}</div><div><b>${(k.left.value + k.right.value).toLocaleString()}</b></div></div>`, M += "</div>", b.value = `<div>${M}</div>`;
|
|
32544
32553
|
}
|
|
32545
32554
|
g.value = !0;
|
|
@@ -32611,16 +32620,16 @@ const RM = ["id"], VM = ["xmlns", "viewBox"], KM = ["id"], WM = ["stop-color"],
|
|
|
32611
32620
|
breakpoint: d.value.table.responsiveBreakpoint
|
|
32612
32621
|
};
|
|
32613
32622
|
return { head: ee, body: Ae, config: S, colNames: ee };
|
|
32614
|
-
}),
|
|
32623
|
+
}), X = N(!1);
|
|
32615
32624
|
function j(ee) {
|
|
32616
|
-
|
|
32625
|
+
X.value = ee, m.value += 1;
|
|
32617
32626
|
}
|
|
32618
32627
|
return t({
|
|
32619
32628
|
generatePdf: K,
|
|
32620
32629
|
generateCsv: _e,
|
|
32621
32630
|
generateImage: pe
|
|
32622
32631
|
}), (ee, Ae) => (c(), h("div", {
|
|
32623
|
-
class: Pe(`vue-ui-age-pyramid ${
|
|
32632
|
+
class: Pe(`vue-ui-age-pyramid ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
32624
32633
|
ref_key: "agePyramid",
|
|
32625
32634
|
ref: u,
|
|
32626
32635
|
id: `vue-ui-age-pyramid_${o.value}`,
|
|
@@ -32662,7 +32671,7 @@ const RM = ["id"], VM = ["xmlns", "viewBox"], KM = ["id"], WM = ["stop-color"],
|
|
|
32662
32671
|
hasImg: !0,
|
|
32663
32672
|
hasTable: "",
|
|
32664
32673
|
hasFullscreen: "",
|
|
32665
|
-
isFullscreen:
|
|
32674
|
+
isFullscreen: X.value,
|
|
32666
32675
|
chartElement: u.value,
|
|
32667
32676
|
onToggleFullscreen: j,
|
|
32668
32677
|
onGeneratePdf: K,
|
|
@@ -32673,7 +32682,7 @@ const RM = ["id"], VM = ["xmlns", "viewBox"], KM = ["id"], WM = ["stop-color"],
|
|
|
32673
32682
|
r.value ? (c(), h("svg", {
|
|
32674
32683
|
key: 2,
|
|
32675
32684
|
xmlns: ue(ot),
|
|
32676
|
-
class: Pe({ "vue-data-ui-fullscreen--on":
|
|
32685
|
+
class: Pe({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
|
|
32677
32686
|
viewBox: `0 0 ${A.value.width} ${A.value.height}`,
|
|
32678
32687
|
style: O(`max-width:100%;overflow:visible;background:${d.value.style.backgroundColor};color:${d.value.style.color}`)
|
|
32679
32688
|
}, [
|
|
@@ -32730,7 +32739,7 @@ const RM = ["id"], VM = ["xmlns", "viewBox"], KM = ["id"], WM = ["stop-color"],
|
|
|
32730
32739
|
style: O(`font-weight:${d.value.style.title.subtitle.bold ? "bold" : ""}`)
|
|
32731
32740
|
}, T(d.value.style.title.subtitle.text), 13, ZM)) : L("", !0)
|
|
32732
32741
|
])) : L("", !0),
|
|
32733
|
-
(c(!0), h(be, null, Be(
|
|
32742
|
+
(c(!0), h(be, null, Be(G.value, (S, M) => (c(), h("g", null, [
|
|
32734
32743
|
y("rect", {
|
|
32735
32744
|
x: S.left.x,
|
|
32736
32745
|
y: S.left.y,
|
|
@@ -32894,7 +32903,7 @@ const RM = ["id"], VM = ["xmlns", "viewBox"], KM = ["id"], WM = ["stop-color"],
|
|
|
32894
32903
|
}
|
|
32895
32904
|
}
|
|
32896
32905
|
}, null, 8, ["config"])),
|
|
32897
|
-
Ue(ee.$slots, "legend", { legend:
|
|
32906
|
+
Ue(ee.$slots, "legend", { legend: G.value }, void 0, !0),
|
|
32898
32907
|
it(na, {
|
|
32899
32908
|
show: d.value.style.tooltip.show && g.value,
|
|
32900
32909
|
backgroundColor: d.value.style.tooltip.backgroundColor,
|
|
@@ -32968,16 +32977,16 @@ const wE = (e) => (Na("data-v-5f9a401a"), e = e(), Ta(), e), xE = {
|
|
|
32968
32977
|
function x(re) {
|
|
32969
32978
|
if (m.value = !0, d.value = re, v.value === null) {
|
|
32970
32979
|
u.value = re, g.value = { x: event.clientX, y: event.clientY };
|
|
32971
|
-
const
|
|
32972
|
-
|
|
32980
|
+
const X = s.value[re], j = 100 - X.width, ee = 100 - X.height;
|
|
32981
|
+
X.left < 0 && (X.left = 0), X.top < 0 && (X.top = 0), X.left > j && (X.left = j), X.top > ee && (X.top = ee), X.left < 0 && (X.left = 0), X.top < 0 && (X.top = 0), X.left + X.width > 100 && (X.left = 100 - X.width), X.top + X.height > 100 && (X.top = 100 - X.height);
|
|
32973
32982
|
}
|
|
32974
32983
|
}
|
|
32975
|
-
function U(re,
|
|
32976
|
-
m.value = !0, d.value = re, v.value = { index: re, direction:
|
|
32984
|
+
function U(re, X) {
|
|
32985
|
+
m.value = !0, d.value = re, v.value = { index: re, direction: X };
|
|
32977
32986
|
const j = s.value[re];
|
|
32978
32987
|
b.value = { x: event.clientX, y: event.clientY, initialWidth: j.width, initialHeight: j.height };
|
|
32979
32988
|
}
|
|
32980
|
-
function C(re,
|
|
32989
|
+
function C(re, X, j) {
|
|
32981
32990
|
if (v.value.direction.includes("top")) {
|
|
32982
32991
|
const ee = re.height - j / p.value.offsetHeight * 100;
|
|
32983
32992
|
ee >= xA && (re.top += j / p.value.offsetHeight * 100, re.height = ee);
|
|
@@ -32987,22 +32996,22 @@ const wE = (e) => (Na("data-v-5f9a401a"), e = e(), Ta(), e), xE = {
|
|
|
32987
32996
|
ee >= xA && (re.height = ee);
|
|
32988
32997
|
}
|
|
32989
32998
|
if (v.value.direction.includes("left")) {
|
|
32990
|
-
const ee = re.width -
|
|
32991
|
-
ee >= xA && (re.left +=
|
|
32999
|
+
const ee = re.width - X / p.value.offsetWidth * 100;
|
|
33000
|
+
ee >= xA && (re.left += X / p.value.offsetWidth * 100, re.width = ee);
|
|
32992
33001
|
}
|
|
32993
33002
|
if (v.value.direction.includes("right")) {
|
|
32994
|
-
const ee = re.width +
|
|
33003
|
+
const ee = re.width + X / p.value.offsetWidth * 100;
|
|
32995
33004
|
ee >= xA && (re.width = ee);
|
|
32996
33005
|
}
|
|
32997
33006
|
}
|
|
32998
33007
|
function P(re) {
|
|
32999
33008
|
if (m.value = !0, u.value !== null) {
|
|
33000
|
-
const
|
|
33001
|
-
Ae >= 0 && S >= 0 && Ae +
|
|
33009
|
+
const X = s.value[u.value], j = re.clientX - g.value.x, ee = re.clientY - g.value.y, Ae = X.left + j / p.value.offsetWidth * 100, S = X.top + ee / p.value.offsetHeight * 100;
|
|
33010
|
+
Ae >= 0 && S >= 0 && Ae + X.width <= 100 && S + X.height <= 100 && (X.left = Ae, X.top = S), g.value = { x: re.clientX, y: re.clientY };
|
|
33002
33011
|
}
|
|
33003
33012
|
if (v.value !== null) {
|
|
33004
|
-
const
|
|
33005
|
-
C(
|
|
33013
|
+
const X = s.value[v.value.index], j = re.clientX - b.value.x, ee = re.clientY - b.value.y;
|
|
33014
|
+
C(X, j, ee), b.value = { x: re.clientX, y: re.clientY };
|
|
33006
33015
|
}
|
|
33007
33016
|
}
|
|
33008
33017
|
$f(
|
|
@@ -33020,23 +33029,23 @@ const wE = (e) => (Na("data-v-5f9a401a"), e = e(), Ta(), e), xE = {
|
|
|
33020
33029
|
function oe(re) {
|
|
33021
33030
|
m.value = !0, d.value = re, v.value === null && (u.value = re, g.value = { x: event.touches[0].clientX, y: event.touches[0].clientY });
|
|
33022
33031
|
}
|
|
33023
|
-
function J(re,
|
|
33032
|
+
function J(re, X, j) {
|
|
33024
33033
|
if (m.value = !0, d.value = re, v.value === null) {
|
|
33025
|
-
v.value = { index: re, direction:
|
|
33034
|
+
v.value = { index: re, direction: X };
|
|
33026
33035
|
const ee = s.value[re];
|
|
33027
33036
|
b.value = { x: j.touches[0].clientX, y: j.touches[0].clientY, initialWidth: ee.width, initialHeight: ee.height };
|
|
33028
33037
|
}
|
|
33029
33038
|
}
|
|
33030
|
-
function
|
|
33039
|
+
function G(re) {
|
|
33031
33040
|
if (m.value = !0, re.preventDefault(), v.value !== null) {
|
|
33032
|
-
const
|
|
33033
|
-
C(
|
|
33041
|
+
const X = s.value[v.value.index], j = re.touches[0].clientX - b.value.x, ee = re.touches[0].clientY - b.value.y;
|
|
33042
|
+
C(X, j, ee), b.value = { x: re.touches[0].clientX, y: re.touches[0].clientY };
|
|
33034
33043
|
}
|
|
33035
33044
|
}
|
|
33036
33045
|
function ye(re) {
|
|
33037
33046
|
if (m.value = !0, re.preventDefault(), u.value !== null) {
|
|
33038
|
-
const
|
|
33039
|
-
Ae >= 0 && S >= 0 && Ae +
|
|
33047
|
+
const X = s.value[u.value], j = re.touches[0].clientX - g.value.x, ee = re.touches[0].clientY - g.value.y, Ae = X.left + j / p.value.offsetWidth * 100, S = X.top + ee / p.value.offsetHeight * 100;
|
|
33048
|
+
Ae >= 0 && S >= 0 && Ae + X.width <= 100 && S + X.height <= 100 && (X.left = Ae, X.top = S), g.value = { x: re.touches[0].clientX, y: re.touches[0].clientY };
|
|
33040
33049
|
}
|
|
33041
33050
|
}
|
|
33042
33051
|
function ve() {
|
|
@@ -33051,7 +33060,7 @@ const wE = (e) => (Na("data-v-5f9a401a"), e = e(), Ta(), e), xE = {
|
|
|
33051
33060
|
return t({
|
|
33052
33061
|
generatePdf: A,
|
|
33053
33062
|
getItemsPositions: _e
|
|
33054
|
-
}), (re,
|
|
33063
|
+
}), (re, X) => (c(), h(be, null, [
|
|
33055
33064
|
a.value.allowPrint ? (c(), h("div", xE, [
|
|
33056
33065
|
y("button", {
|
|
33057
33066
|
class: "vue-ui-dashboard-button",
|
|
@@ -33111,28 +33120,28 @@ const wE = (e) => (Na("data-v-5f9a401a"), e = e(), Ta(), e), xE = {
|
|
|
33111
33120
|
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-left",
|
|
33112
33121
|
onMousedown: (Ae) => U(ee, "top-left"),
|
|
33113
33122
|
onTouchstart: (Ae) => J(ee, "top-left", Ae),
|
|
33114
|
-
onTouchmove:
|
|
33123
|
+
onTouchmove: X[0] || (X[0] = (Ae) => G(Ae)),
|
|
33115
33124
|
onTouchend: ve
|
|
33116
33125
|
}, null, 40, UE),
|
|
33117
33126
|
y("div", {
|
|
33118
33127
|
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",
|
|
33119
33128
|
onMousedown: (Ae) => U(ee, "top-right"),
|
|
33120
33129
|
onTouchstart: (Ae) => J(ee, "top-right", Ae),
|
|
33121
|
-
onTouchmove:
|
|
33130
|
+
onTouchmove: X[1] || (X[1] = (Ae) => G(Ae)),
|
|
33122
33131
|
onTouchend: ve
|
|
33123
33132
|
}, null, 40, QE),
|
|
33124
33133
|
y("div", {
|
|
33125
33134
|
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",
|
|
33126
33135
|
onMousedown: (Ae) => U(ee, "bottom-left"),
|
|
33127
33136
|
onTouchstart: (Ae) => J(ee, "bottom-left", Ae),
|
|
33128
|
-
onTouchmove:
|
|
33137
|
+
onTouchmove: X[2] || (X[2] = (Ae) => G(Ae)),
|
|
33129
33138
|
onTouchend: ve
|
|
33130
33139
|
}, null, 40, ME),
|
|
33131
33140
|
y("div", {
|
|
33132
33141
|
class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-right",
|
|
33133
33142
|
onMousedown: (Ae) => U(ee, "bottom-right"),
|
|
33134
33143
|
onTouchstart: (Ae) => J(ee, "bottom-right", Ae),
|
|
33135
|
-
onTouchmove:
|
|
33144
|
+
onTouchmove: X[3] || (X[3] = (Ae) => G(Ae)),
|
|
33136
33145
|
onTouchend: ve
|
|
33137
33146
|
}, null, 40, EE),
|
|
33138
33147
|
Ue(re.$slots, "content", {
|
|
@@ -35430,8 +35439,8 @@ const ea = (e) => (Na("data-v-826aeb05"), e = e(), Ta(), e), h9 = {
|
|
|
35430
35439
|
return null;
|
|
35431
35440
|
let C = 0, P = 0;
|
|
35432
35441
|
for (const oe in U) {
|
|
35433
|
-
const J = parseInt(oe),
|
|
35434
|
-
C += J *
|
|
35442
|
+
const J = parseInt(oe), G = U[oe];
|
|
35443
|
+
C += J * G, P += G;
|
|
35435
35444
|
}
|
|
35436
35445
|
return P === 0 ? 0 : C / P;
|
|
35437
35446
|
}
|
|
@@ -36121,11 +36130,11 @@ const oT = ["id"], rT = ["xmlns", "viewBox"], nT = { key: 0 }, sT = ["font-size"
|
|
|
36121
36130
|
index: te
|
|
36122
36131
|
});
|
|
36123
36132
|
});
|
|
36124
|
-
}), ye(), ve(), document.getElementById(`relation_circle_${o.value}`).addEventListener("click",
|
|
36133
|
+
}), ye(), ve(), document.getElementById(`relation_circle_${o.value}`).addEventListener("click", G);
|
|
36125
36134
|
}), Ad(() => {
|
|
36126
|
-
document.getElementById(`relation_circle_${o.value}`).removeEventListener("click",
|
|
36135
|
+
document.getElementById(`relation_circle_${o.value}`).removeEventListener("click", G);
|
|
36127
36136
|
});
|
|
36128
|
-
function
|
|
36137
|
+
function G(H) {
|
|
36129
36138
|
const q = H.target;
|
|
36130
36139
|
q && Array.from(q.classList).includes("vue-ui-user-options") || q && Array.from(q.classList).includes("vue-ui-user-options-summary") || q && Array.from(q.classList).includes("vue-data-ui-button") || q && Array.from(q.classList).includes("vue-ui-relation-circle-legend") || (d.value = {}, i.value = []);
|
|
36131
36140
|
}
|
|
@@ -36173,7 +36182,7 @@ const oT = ["id"], rT = ["xmlns", "viewBox"], nT = { key: 0 }, sT = ["font-size"
|
|
|
36173
36182
|
function re(H) {
|
|
36174
36183
|
return Object.hasOwn(d.value, "x") ? d.value.id === H.id || i.value.includes(H.id) ? "opacity:1" : "opacity:0.2" : "opacity:1";
|
|
36175
36184
|
}
|
|
36176
|
-
function
|
|
36185
|
+
function X(H) {
|
|
36177
36186
|
return H.regAngle > 90 && H.regAngle < 270 ? `rotate(${H.regAngle + 180},${H.x},${H.y})` : `rotate(${H.regAngle},${H.x},${H.y})`;
|
|
36178
36187
|
}
|
|
36179
36188
|
function j(H) {
|
|
@@ -36328,7 +36337,7 @@ const oT = ["id"], rT = ["xmlns", "viewBox"], nT = { key: 0 }, sT = ["font-size"
|
|
|
36328
36337
|
(c(!0), h(be, null, Be(b.value, (te, ne) => (c(), h("text", {
|
|
36329
36338
|
key: `plot_text_${ne}`,
|
|
36330
36339
|
"text-anchor": pe(te),
|
|
36331
|
-
transform:
|
|
36340
|
+
transform: X(te),
|
|
36332
36341
|
x: _e(te),
|
|
36333
36342
|
y: te.y + 5,
|
|
36334
36343
|
onClick: (me) => j(te),
|
|
@@ -36392,7 +36401,7 @@ const pT = ["id"], bT = {
|
|
|
36392
36401
|
const l = e;
|
|
36393
36402
|
Ga((j) => ({
|
|
36394
36403
|
a66cecf0: ye.value,
|
|
36395
|
-
"4ded9ff4":
|
|
36404
|
+
"4ded9ff4": G.value,
|
|
36396
36405
|
"15e1e31a": J.value
|
|
36397
36406
|
}));
|
|
36398
36407
|
const r = ie(() => !!l.dataset && Object.keys(l.dataset).length);
|
|
@@ -36461,7 +36470,7 @@ const pT = ["id"], bT = {
|
|
|
36461
36470
|
const j = l.dataset.from < 0 ? Math.abs(l.dataset.from) : l.dataset.from, ee = l.dataset.to < 0 ? Math.abs(l.dataset.to) : l.dataset.to;
|
|
36462
36471
|
let Ae = 0;
|
|
36463
36472
|
return l.dataset.to > 0 ? Ae = j + ee : j > ee ? Ae = j - ee : Ae = ee - j, (1 - (Math.abs(l.dataset.from) + l.dataset.value) / Ae) * (P.value.height - d.value.top - d.value.bottom);
|
|
36464
|
-
}), J = ie(() => `${oe.value}px`),
|
|
36473
|
+
}), J = ie(() => `${oe.value}px`), G = ie(() => `${P.value.height - g.value.style.chart.padding.bottom - d.value.top}px`), ye = ie(() => `${g.value.style.chart.animation.speedMs}ms`), ve = ie(() => {
|
|
36465
36474
|
if (l.dataset.colors) {
|
|
36466
36475
|
if (!l.dataset.colors.from)
|
|
36467
36476
|
return A(Ze[0], wt(l.dataset.colors.to), m.value || 10);
|
|
@@ -36514,7 +36523,7 @@ const pT = ["id"], bT = {
|
|
|
36514
36523
|
}, 100);
|
|
36515
36524
|
}
|
|
36516
36525
|
const re = N(!1);
|
|
36517
|
-
function
|
|
36526
|
+
function X(j) {
|
|
36518
36527
|
re.value = j, v.value += 1;
|
|
36519
36528
|
}
|
|
36520
36529
|
return t({
|
|
@@ -36560,7 +36569,7 @@ const pT = ["id"], bT = {
|
|
|
36560
36569
|
hasFullscreen: "",
|
|
36561
36570
|
isFullscreen: re.value,
|
|
36562
36571
|
chartElement: u.value,
|
|
36563
|
-
onToggleFullscreen:
|
|
36572
|
+
onToggleFullscreen: X,
|
|
36564
36573
|
onGeneratePdf: Z,
|
|
36565
36574
|
onGenerateImage: _e,
|
|
36566
36575
|
hasXls: !1
|
|
@@ -36746,7 +36755,7 @@ const pT = ["id"], bT = {
|
|
|
36746
36755
|
fill: g.value.style.chart.label.color,
|
|
36747
36756
|
"font-size": g.value.style.chart.label.fontSize,
|
|
36748
36757
|
"font-weight": g.value.style.chart.label.bold ? "bold" : "normal"
|
|
36749
|
-
}, T(ue(
|
|
36758
|
+
}, T(ue(ht)({ p: g.value.style.chart.label.prefix, v: e.dataset.value, s: g.value.style.chart.label.suffix, r: g.value.style.chart.label.rounding })), 11, OT),
|
|
36750
36759
|
Ue(j.$slots, "svg", { svg: W.value }, void 0, !0)
|
|
36751
36760
|
], 14, mT)) : L("", !0),
|
|
36752
36761
|
r.value ? L("", !0) : (c(), Ve(Wt, {
|
|
@@ -37042,13 +37051,13 @@ const sD = { key: 0 }, iD = { key: 1 }, AD = ["xmlns", "viewBox"], uD = ["id"],
|
|
|
37042
37051
|
return Math.abs(d) / u.value;
|
|
37043
37052
|
}
|
|
37044
37053
|
const g = ie(() => l.dataset.map((d, i) => {
|
|
37045
|
-
const A = v(d.value || 0), x = s.value.drawingHeight * A, U = s.value.drawingWidth / l.dataset.length, C = U * (n.value.style.bars.gap / 100), P = U - C, W = s.value.centerY - x / 2, oe = s.value.left + (C / 2 + i * U), J = s.value.left + i * U,
|
|
37054
|
+
const A = v(d.value || 0), x = s.value.drawingHeight * A, U = s.value.drawingWidth / l.dataset.length, C = U * (n.value.style.bars.gap / 100), P = U - C, W = s.value.centerY - x / 2, oe = s.value.left + (C / 2 + i * U), J = s.value.left + i * U, G = typeof d.intensity > "u" ? 100 : Math.round(d.intensity * 100), ye = d.value >= 0 ? `${n.value.style.bars.colors.positive}${nt[G]}` : `${n.value.style.bars.colors.negative}${nt[G]}`, ve = d.value >= 0 ? n.value.style.bars.colors.positive : n.value.style.bars.colors.negative, V = d.value >= 0 ? `url(#gradient_positive_${i}_${o.value})` : `url(#gradient_negative_${i}_${o.value})`, R = oe + P / 2;
|
|
37046
37055
|
return {
|
|
37047
37056
|
...d,
|
|
37048
37057
|
color: ye,
|
|
37049
37058
|
gradient: V,
|
|
37050
37059
|
height: x,
|
|
37051
|
-
intensity:
|
|
37060
|
+
intensity: G,
|
|
37052
37061
|
proportion: A,
|
|
37053
37062
|
stroke: ve,
|
|
37054
37063
|
textAnchor: R,
|
|
@@ -37281,7 +37290,7 @@ const BD = ["id"], _D = ["xmlns", "viewBox"], FD = ["id"], SD = ["stop-color"],
|
|
|
37281
37290
|
opacity: U.value.includes(F.uid) ? 0.5 : 1,
|
|
37282
37291
|
segregate: () => C(F.uid),
|
|
37283
37292
|
isSegregated: U.value.includes(F.uid)
|
|
37284
|
-
})).toSorted((F, Q) => Q.value - F.value)),
|
|
37293
|
+
})).toSorted((F, Q) => Q.value - F.value)), G = ie(() => ({
|
|
37285
37294
|
cy: "rings-div-legend",
|
|
37286
37295
|
backgroundColor: i.value.style.chart.legend.backgroundColor,
|
|
37287
37296
|
color: i.value.style.chart.legend.color,
|
|
@@ -37333,7 +37342,7 @@ const BD = ["id"], _D = ["xmlns", "viewBox"], FD = ["id"], SD = ["stop-color"],
|
|
|
37333
37342
|
});
|
|
37334
37343
|
else {
|
|
37335
37344
|
let q = "";
|
|
37336
|
-
q += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${z.name}</div>`, q += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${z.color}" /></svg>`, i.value.style.chart.tooltip.showValue && (q += `<b>${
|
|
37345
|
+
q += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${z.name}</div>`, q += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${z.color}" /></svg>`, i.value.style.chart.tooltip.showValue && (q += `<b>${ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: z.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.tooltip.roundingValue })}</b>`), i.value.style.chart.tooltip.showPercentage && (i.value.style.chart.tooltip.showValue ? q += `<span>(${(z.value / ye.value * 100).toFixed(
|
|
37337
37346
|
i.value.style.chart.tooltip.roundingPercentage
|
|
37338
37347
|
)}%)</span></div>` : q += `<b>${(z.value / ye.value * 100).toFixed(
|
|
37339
37348
|
i.value.style.chart.tooltip.roundingPercentage
|
|
@@ -37355,11 +37364,11 @@ const BD = ["id"], _D = ["xmlns", "viewBox"], FD = ["id"], SD = ["stop-color"],
|
|
|
37355
37364
|
});
|
|
37356
37365
|
}, 100);
|
|
37357
37366
|
}
|
|
37358
|
-
function
|
|
37367
|
+
function X() {
|
|
37359
37368
|
u.value = !0;
|
|
37360
37369
|
}
|
|
37361
37370
|
function j() {
|
|
37362
|
-
|
|
37371
|
+
X(), clearTimeout(pe.value), pe.value = setTimeout(() => {
|
|
37363
37372
|
ol({
|
|
37364
37373
|
domElement: document.getElementById(`rings_${a.value}`),
|
|
37365
37374
|
fileName: i.value.style.chart.title.text || "vue-ui-rings",
|
|
@@ -37378,14 +37387,14 @@ const BD = ["id"], _D = ["xmlns", "viewBox"], FD = ["id"], SD = ["stop-color"],
|
|
|
37378
37387
|
}), Ae = ie(() => {
|
|
37379
37388
|
const F = [
|
|
37380
37389
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
37381
|
-
|
|
37390
|
+
ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: ye.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.table.td.roundingValue }),
|
|
37382
37391
|
"100%"
|
|
37383
37392
|
], Q = ee.value.head.map((q, te) => [
|
|
37384
37393
|
{
|
|
37385
37394
|
color: q.color,
|
|
37386
37395
|
name: q.name
|
|
37387
37396
|
},
|
|
37388
|
-
|
|
37397
|
+
ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: ee.value.body[te], s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.table.td.roundingValue }),
|
|
37389
37398
|
isNaN(ee.value.body[te] / ye.value) ? "-" : (ee.value.body[te] / ye.value * 100).toFixed(i.value.table.td.roundingPercentage) + "%"
|
|
37390
37399
|
]), z = {
|
|
37391
37400
|
th: {
|
|
@@ -37563,7 +37572,7 @@ const BD = ["id"], _D = ["xmlns", "viewBox"], FD = ["id"], SD = ["stop-color"],
|
|
|
37563
37572
|
i.value.style.chart.legend.show ? (c(), Ve(Nl, {
|
|
37564
37573
|
key: 4,
|
|
37565
37574
|
legendSet: J.value,
|
|
37566
|
-
config:
|
|
37575
|
+
config: G.value,
|
|
37567
37576
|
onClickMarker: Q[2] || (Q[2] = ({ legend: z }) => C(z.uid))
|
|
37568
37577
|
}, {
|
|
37569
37578
|
item: Ne(({ legend: z }) => [
|
|
@@ -37572,7 +37581,7 @@ const BD = ["id"], _D = ["xmlns", "viewBox"], FD = ["id"], SD = ["stop-color"],
|
|
|
37572
37581
|
onClick: (H) => C(z.uid),
|
|
37573
37582
|
style: O(`opacity:${U.value.includes(z.uid) ? 0.5 : 1}`)
|
|
37574
37583
|
}, [
|
|
37575
|
-
yt(T(z.name) + " : " + T(ue(
|
|
37584
|
+
yt(T(z.name) + " : " + T(ue(ht)({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: z.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
37576
37585
|
U.value.includes(z.uid) ? (c(), h("span", ID, " ( - % ) ")) : (c(), h("span", ED, " (" + T(isNaN(z.value / ye.value) ? "-" : (z.value / ye.value * 100).toFixed(i.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
|
|
37577
37586
|
], 12, MD)
|
|
37578
37587
|
]),
|
|
@@ -37646,10 +37655,10 @@ const HD = ["id"], PD = ["xmlns", "viewBox"], zD = ["x1", "x2", "y1", "y2", "str
|
|
|
37646
37655
|
centerX: p.value.size / 2,
|
|
37647
37656
|
centerY: p.value.size / 2
|
|
37648
37657
|
}));
|
|
37649
|
-
function d(
|
|
37658
|
+
function d(G, ye = 1) {
|
|
37650
37659
|
return {
|
|
37651
|
-
x: m.value.centerX + m.value.radius * Math.cos(29.85 +
|
|
37652
|
-
y: m.value.centerY + m.value.radius * Math.sin(29.85 +
|
|
37660
|
+
x: m.value.centerX + m.value.radius * Math.cos(29.85 + G * Math.PI / 180) * ye,
|
|
37661
|
+
y: m.value.centerY + m.value.radius * Math.sin(29.85 + G * Math.PI / 180) * ye
|
|
37653
37662
|
};
|
|
37654
37663
|
}
|
|
37655
37664
|
const i = N(b.value.style.chart.animation.use ? 0 : l.dataset.percentage || 0);
|
|
@@ -37658,17 +37667,17 @@ const HD = ["id"], PD = ["xmlns", "viewBox"], zD = ["x1", "x2", "y1", "y2", "str
|
|
|
37658
37667
|
componentName: "VueUiWheel",
|
|
37659
37668
|
type: "dataset"
|
|
37660
37669
|
});
|
|
37661
|
-
let
|
|
37670
|
+
let G = 0, ye = b.value.style.chart.animation.speed, ve = 5e-3 * b.value.style.chart.animation.acceleration;
|
|
37662
37671
|
function V() {
|
|
37663
|
-
i.value += ye +
|
|
37672
|
+
i.value += ye + G, G += ve, i.value < (l.dataset.percentage || 0) ? requestAnimationFrame(V) : i.value = l.dataset.percentage || 0;
|
|
37664
37673
|
}
|
|
37665
37674
|
b.value.style.chart.animation.use && (i.value = 0, V());
|
|
37666
37675
|
});
|
|
37667
37676
|
const A = ie(() => {
|
|
37668
|
-
const
|
|
37677
|
+
const G = [];
|
|
37669
37678
|
for (let ve = 0; ve < 100; ve += 1) {
|
|
37670
37679
|
const V = i.value > ve ? b.value.style.chart.layout.wheel.ticks.activeColor : b.value.style.chart.layout.wheel.ticks.inactiveColor, { x: R, y: K } = d(p.value.size / 100 * ve), { x: Z, y: pe } = d(p.value.size / 100 * ve, 0.9);
|
|
37671
|
-
|
|
37680
|
+
G.push({
|
|
37672
37681
|
x1: R,
|
|
37673
37682
|
y1: K,
|
|
37674
37683
|
x2: Z,
|
|
@@ -37676,7 +37685,7 @@ const HD = ["id"], PD = ["xmlns", "viewBox"], zD = ["x1", "x2", "y1", "y2", "str
|
|
|
37676
37685
|
color: b.value.style.chart.layout.wheel.ticks.gradient.show ? Tt(V, ve / 100 * (b.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : V
|
|
37677
37686
|
});
|
|
37678
37687
|
}
|
|
37679
|
-
return
|
|
37688
|
+
return G;
|
|
37680
37689
|
}), x = N(null);
|
|
37681
37690
|
function U() {
|
|
37682
37691
|
s.value = !0;
|
|
@@ -37706,13 +37715,13 @@ const HD = ["id"], PD = ["xmlns", "viewBox"], zD = ["x1", "x2", "y1", "y2", "str
|
|
|
37706
37715
|
}, 100);
|
|
37707
37716
|
}
|
|
37708
37717
|
const oe = N(!1);
|
|
37709
|
-
function J(
|
|
37710
|
-
oe.value =
|
|
37718
|
+
function J(G) {
|
|
37719
|
+
oe.value = G, g.value += 1;
|
|
37711
37720
|
}
|
|
37712
37721
|
return t({
|
|
37713
37722
|
generatePdf: C,
|
|
37714
37723
|
generateImage: W
|
|
37715
|
-
}), (
|
|
37724
|
+
}), (G, ye) => (c(), h("div", {
|
|
37716
37725
|
class: "vue-ui-wheel",
|
|
37717
37726
|
ref_key: "wheelChart",
|
|
37718
37727
|
ref: u,
|
|
@@ -37797,7 +37806,7 @@ const HD = ["id"], PD = ["xmlns", "viewBox"], zD = ["x1", "x2", "y1", "y2", "str
|
|
|
37797
37806
|
"font-weight": b.value.style.chart.layout.percentage.bold ? "bold" : "normal",
|
|
37798
37807
|
style: { "font-variant-numeric": "tabluar-nums" }
|
|
37799
37808
|
}, T(Number(i.value.toFixed(b.value.style.chart.layout.percentage.rounding)).toLocaleString()) + "% ", 9, RD)) : L("", !0),
|
|
37800
|
-
Ue(
|
|
37809
|
+
Ue(G.$slots, "svg", { svg: p.value }, void 0, !0)
|
|
37801
37810
|
], 14, PD)) : L("", !0),
|
|
37802
37811
|
r.value ? L("", !0) : (c(), Ve(Wt, {
|
|
37803
37812
|
key: 3,
|
|
@@ -37880,23 +37889,23 @@ const WD = ["id"], jD = ["xmlns", "viewBox"], GD = { key: 0 }, XD = ["d", "strok
|
|
|
37880
37889
|
for (let K = 0; K < 100; K += 1) {
|
|
37881
37890
|
const Z = g.value.style.chart.layout.ticks.gradient.show ? Tt(g.value.style.chart.layout.activeColor, K / 100 * (g.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : g.value.style.chart.layout.activeColor;
|
|
37882
37891
|
if (p.value) {
|
|
37883
|
-
const pe = g.value.style.chart.layout.crescendo ? (100 - K) * (i.value.width - m.value.left - m.value.right) / 100 / 3 : 0, _e = m.value.left + 4 + pe, re = i.value.width - m.value.right - 4 - pe,
|
|
37892
|
+
const pe = g.value.style.chart.layout.crescendo ? (100 - K) * (i.value.width - m.value.left - m.value.right) / 100 / 3 : 0, _e = m.value.left + 4 + pe, re = i.value.width - m.value.right - 4 - pe, X = i.value.height - m.value.bottom - K * x.value.mark - K * x.value.space - x.value.mark, j = i.value.height - m.value.bottom - K * x.value.mark - K * x.value.space - x.value.mark, ee = (re - _e) / g.value.style.chart.layout.curveAngleX, Ae = g.value.style.chart.layout.curveAngleY * ((1 + K) / 100);
|
|
37884
37893
|
V.push({
|
|
37885
37894
|
x1: _e,
|
|
37886
37895
|
x2: re,
|
|
37887
|
-
y1:
|
|
37896
|
+
y1: X,
|
|
37888
37897
|
y2: j,
|
|
37889
|
-
curve: `M ${_e} ${
|
|
37898
|
+
curve: `M ${_e} ${X} C ${_e + ee} ${X - Ae}, ${re - ee} ${j - Ae}, ${re} ${j}`,
|
|
37890
37899
|
color: Z
|
|
37891
37900
|
});
|
|
37892
37901
|
} else {
|
|
37893
|
-
const pe = g.value.style.chart.layout.crescendo ? (100 - K) * (i.value.height - m.value.top - m.value.bottom) / 100 / 3 : 0, _e = m.value.left + K * x.value.mark + K * x.value.space - x.value.mark, re = _e,
|
|
37902
|
+
const pe = g.value.style.chart.layout.crescendo ? (100 - K) * (i.value.height - m.value.top - m.value.bottom) / 100 / 3 : 0, _e = m.value.left + K * x.value.mark + K * x.value.space - x.value.mark, re = _e, X = m.value.top + 4 + pe, j = i.value.height - m.value.bottom - 4 - pe, ee = g.value.style.chart.layout.curveAngleY * ((1 + K) / 100), Ae = (j - X) / g.value.style.chart.layout.curveAngleX;
|
|
37894
37903
|
V.push({
|
|
37895
37904
|
x1: _e,
|
|
37896
37905
|
x2: re,
|
|
37897
|
-
y1:
|
|
37906
|
+
y1: X,
|
|
37898
37907
|
y2: j,
|
|
37899
|
-
curve: `M ${_e} ${
|
|
37908
|
+
curve: `M ${_e} ${X} C ${_e + ee} ${X + Ae}, ${re + ee} ${j - Ae}, ${re} ${j}`,
|
|
37900
37909
|
color: Z
|
|
37901
37910
|
});
|
|
37902
37911
|
}
|
|
@@ -37930,7 +37939,7 @@ const WD = ["id"], jD = ["xmlns", "viewBox"], GD = { key: 0 }, XD = ["d", "strok
|
|
|
37930
37939
|
function J() {
|
|
37931
37940
|
u.value = !0;
|
|
37932
37941
|
}
|
|
37933
|
-
function
|
|
37942
|
+
function G() {
|
|
37934
37943
|
J(), clearTimeout(P.value), P.value = setTimeout(() => {
|
|
37935
37944
|
ol({
|
|
37936
37945
|
domElement: document.getElementById(`${o.value}`),
|
|
@@ -37947,7 +37956,7 @@ const WD = ["id"], jD = ["xmlns", "viewBox"], GD = { key: 0 }, XD = ["d", "strok
|
|
|
37947
37956
|
}
|
|
37948
37957
|
return t({
|
|
37949
37958
|
generatePdf: oe,
|
|
37950
|
-
generateImage:
|
|
37959
|
+
generateImage: G
|
|
37951
37960
|
}), (V, R) => (c(), h("div", {
|
|
37952
37961
|
ref_key: "tiremarksChart",
|
|
37953
37962
|
ref: n,
|
|
@@ -37994,7 +38003,7 @@ const WD = ["id"], jD = ["xmlns", "viewBox"], GD = { key: 0 }, XD = ["d", "strok
|
|
|
37994
38003
|
hasImg: !0,
|
|
37995
38004
|
hasXls: !1,
|
|
37996
38005
|
onGeneratePdf: oe,
|
|
37997
|
-
onGenerateImage:
|
|
38006
|
+
onGenerateImage: G
|
|
37998
38007
|
}, null, 8, ["backgroundColor", "color", "isPrinting", "isImaging", "title", "uid", "isFullscreen", "chartElement"])) : L("", !0),
|
|
37999
38008
|
r.value ? (c(), h("svg", {
|
|
38000
38009
|
key: 2,
|
|
@@ -38127,7 +38136,7 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38127
38136
|
color: wt(se.color) || Ze[ce] || Ze[ce % Ze.length],
|
|
38128
38137
|
length: (se.values || []).length,
|
|
38129
38138
|
uid: kt()
|
|
38130
|
-
})))), W = ie(() => P.value.filter((se) => !v.value.includes(se.uid))), oe = ie(() => Math.max(...W.value.map((se) => se.length))), J = ie(() => C.value.width / oe.value),
|
|
38139
|
+
})))), W = ie(() => P.value.filter((se) => !v.value.includes(se.uid))), oe = ie(() => Math.max(...W.value.map((se) => se.length))), J = ie(() => C.value.width / oe.value), G = ie(() => {
|
|
38131
38140
|
const se = [];
|
|
38132
38141
|
for (let E = 0; E < oe.value; E += 1) {
|
|
38133
38142
|
const I = W.value.map((ke) => ke.values[E] ?? null), xe = I.filter((ke) => [void 0, null].includes(ke)).length === I.length, Y = I.reduce((ke, Qe) => ke + Qe, 0), Le = I.map((ke) => ke / Y), We = U.value.left + J.value * E + J.value / 2;
|
|
@@ -38174,7 +38183,7 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38174
38183
|
return `${A.value.style.chart.layout.dataLabels.prefix}${isNaN(se) ? "-" : Number(se.toFixed(A.value.style.chart.layout.dataLabels.rounding)).toLocaleString()}${A.value.style.chart.layout.dataLabels.suffix}`;
|
|
38175
38184
|
}
|
|
38176
38185
|
const ve = ie(() => ({
|
|
38177
|
-
max: Math.max(...
|
|
38186
|
+
max: Math.max(...G.value.map((se) => se.subtotal)),
|
|
38178
38187
|
min: 0
|
|
38179
38188
|
})), V = ie(() => Zn(ve.value.min, ve.value.max, 10));
|
|
38180
38189
|
function R(se) {
|
|
@@ -38196,7 +38205,7 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38196
38205
|
function re(se) {
|
|
38197
38206
|
se.subtotal && (b.value = null, g.value = null, p.value = !0, m.value = se);
|
|
38198
38207
|
}
|
|
38199
|
-
function
|
|
38208
|
+
function X() {
|
|
38200
38209
|
m.value = null, p.value = !1;
|
|
38201
38210
|
}
|
|
38202
38211
|
const j = N(null);
|
|
@@ -38214,7 +38223,7 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38214
38223
|
opacity: v.value.includes(se.uid) ? 0.5 : 1,
|
|
38215
38224
|
segregate: () => k(se.uid),
|
|
38216
38225
|
isSegregated: v.value.includes(se.uid)
|
|
38217
|
-
}))), S = ie(() =>
|
|
38226
|
+
}))), S = ie(() => G.value.map((se) => se.subtotal).reduce((se, ce) => se + ce, 0)), M = ie(() => ({
|
|
38218
38227
|
cy: "donut-div-legend",
|
|
38219
38228
|
backgroundColor: A.value.style.chart.legend.backgroundColor,
|
|
38220
38229
|
color: A.value.style.chart.legend.color,
|
|
@@ -38230,7 +38239,7 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38230
38239
|
return;
|
|
38231
38240
|
v.value.push(se);
|
|
38232
38241
|
}
|
|
38233
|
-
l("selectLegend",
|
|
38242
|
+
l("selectLegend", G.value), m.value && (m.value = {
|
|
38234
38243
|
...m.value,
|
|
38235
38244
|
donutFocus: Ia({
|
|
38236
38245
|
series: W.value.map((ce, _) => ({
|
|
@@ -38476,14 +38485,14 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38476
38485
|
}, T(A.value.style.chart.layout.grid.xAxis.dataLabels.values[E] ?? ""), 9, yH)) : L("", !0)
|
|
38477
38486
|
]))), 256))
|
|
38478
38487
|
], 2)) : L("", !0),
|
|
38479
|
-
(c(!0), h(be, null, Be(
|
|
38480
|
-
A.value.style.chart.layout.line.show && E <
|
|
38488
|
+
(c(!0), h(be, null, Be(G.value, (_, E) => (c(), h("g", null, [
|
|
38489
|
+
A.value.style.chart.layout.line.show && E < G.value.length - 1 && ![_.subtotal, G.value[E + 1].subtotal].includes(null) ? (c(), h("line", {
|
|
38481
38490
|
key: 0,
|
|
38482
38491
|
class: Pe({ "donut-opacity": !0, "donut-behind": g.value !== null || p.value }),
|
|
38483
38492
|
x1: _.x,
|
|
38484
38493
|
y1: _.y,
|
|
38485
|
-
x2:
|
|
38486
|
-
y2:
|
|
38494
|
+
x2: G.value[E + 1].x,
|
|
38495
|
+
y2: G.value[E + 1].y,
|
|
38487
38496
|
stroke: A.value.style.chart.layout.line.stroke,
|
|
38488
38497
|
"stroke-width": A.value.style.chart.layout.line.strokeWidth,
|
|
38489
38498
|
"stroke-linecap": "round",
|
|
@@ -38499,7 +38508,7 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38499
38508
|
}, null, 8, mH)) : L("", !0)
|
|
38500
38509
|
])) : L("", !0)
|
|
38501
38510
|
]))), 256)),
|
|
38502
|
-
(c(!0), h(be, null, Be(
|
|
38511
|
+
(c(!0), h(be, null, Be(G.value, (_, E) => (c(), h("g", {
|
|
38503
38512
|
class: Pe({ "donut-opacity": !0, "donut-behind": E !== g.value && g.value !== null || p.value })
|
|
38504
38513
|
}, [
|
|
38505
38514
|
_.subtotal ? (c(), h("g", wH, [
|
|
@@ -38528,7 +38537,7 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38528
38537
|
])) : L("", !0)
|
|
38529
38538
|
])) : L("", !0)
|
|
38530
38539
|
], 2))), 256)),
|
|
38531
|
-
(c(!0), h(be, null, Be(
|
|
38540
|
+
(c(!0), h(be, null, Be(G.value, (_, E) => (c(), h("g", {
|
|
38532
38541
|
class: Pe({ "donut-opacity": !0, "donut-behind": E !== g.value && g.value !== null || p.value })
|
|
38533
38542
|
}, [
|
|
38534
38543
|
_.subtotal !== null ? (c(), h("g", BH, [
|
|
@@ -38564,7 +38573,7 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38564
38573
|
}, null, 8, QH)) : L("", !0)
|
|
38565
38574
|
])) : L("", !0)
|
|
38566
38575
|
], 2))), 256)),
|
|
38567
|
-
(c(!0), h(be, null, Be(
|
|
38576
|
+
(c(!0), h(be, null, Be(G.value, (_, E) => (c(), h("g", {
|
|
38568
38577
|
class: Pe({ "donut-opacity": !0, "donut-behind": E !== g.value && g.value !== null || p.value })
|
|
38569
38578
|
}, [
|
|
38570
38579
|
_.subtotal !== null && A.value.style.chart.layout.dataLabels.show ? (c(), h("text", {
|
|
@@ -38577,7 +38586,7 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38577
38586
|
fill: A.value.style.chart.layout.dataLabels.color
|
|
38578
38587
|
}, T(ye(_.subtotal)), 9, MH)) : L("", !0)
|
|
38579
38588
|
], 2))), 256)),
|
|
38580
|
-
(c(!0), h(be, null, Be(
|
|
38589
|
+
(c(!0), h(be, null, Be(G.value, (_, E) => (c(), h("rect", {
|
|
38581
38590
|
x: U.value.left + E * J.value,
|
|
38582
38591
|
y: C.value.absoluteHeight - U.value.bottom - 10,
|
|
38583
38592
|
width: J.value,
|
|
@@ -38586,7 +38595,7 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38586
38595
|
onClick: (I) => re(_),
|
|
38587
38596
|
class: Pe({ "donut-hover": g.value === _.index && _.subtotal })
|
|
38588
38597
|
}, null, 10, EH))), 256)),
|
|
38589
|
-
(c(!0), h(be, null, Be(
|
|
38598
|
+
(c(!0), h(be, null, Be(G.value, (_, E) => (c(), h("rect", {
|
|
38590
38599
|
"data-cy-trap": "",
|
|
38591
38600
|
x: U.value.left + E * J.value,
|
|
38592
38601
|
y: U.value.top,
|
|
@@ -38630,8 +38639,8 @@ const tH = ["id"], lH = ["xmlns", "viewBox"], aH = ["id"], oH = ["stop-color"],
|
|
|
38630
38639
|
}, null, 8, HH),
|
|
38631
38640
|
y("circle", {
|
|
38632
38641
|
"data-cy-close": "",
|
|
38633
|
-
onClick:
|
|
38634
|
-
onKeypress: Ma(
|
|
38642
|
+
onClick: X,
|
|
38643
|
+
onKeypress: Ma(X, ["enter"]),
|
|
38635
38644
|
cx: C.value.absoluteWidth - U.value.right - C.value.width / 40,
|
|
38636
38645
|
cy: U.value.top + C.value.height / 30,
|
|
38637
38646
|
r: C.value.height / 12,
|
|
@@ -38803,43 +38812,43 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
38803
38812
|
sides: 5,
|
|
38804
38813
|
rotation: 11
|
|
38805
38814
|
}));
|
|
38806
|
-
function i({ centerX: re, centerY:
|
|
38815
|
+
function i({ centerX: re, centerY: X, apexX: j, apexY: ee, proportion: Ae, key: S, value: M }) {
|
|
38807
38816
|
return {
|
|
38808
38817
|
x: re + (j - re) * Ae,
|
|
38809
|
-
y:
|
|
38818
|
+
y: X + (ee - X) * Ae,
|
|
38810
38819
|
key: S,
|
|
38811
38820
|
value: M
|
|
38812
38821
|
};
|
|
38813
38822
|
}
|
|
38814
|
-
const A = ie(() => Math.max(...Object.values(l.dataset).map((re) => isNaN(re) ? 0 : re))), x = ie(() => Object.values(l.dataset).reduce((re,
|
|
38823
|
+
const A = ie(() => Math.max(...Object.values(l.dataset).map((re) => isNaN(re) ? 0 : re))), x = ie(() => Object.values(l.dataset).reduce((re, X) => (isNaN(re) ? 0 : re) + (isNaN(X) ? 0 : X), 0)), U = ie(() => Object.keys(l.dataset).map((re, X) => {
|
|
38815
38824
|
const j = typeof l.dataset[re] != "number" || isNaN(l.dataset[re]) ? 0 : l.dataset[re];
|
|
38816
38825
|
return {
|
|
38817
|
-
index:
|
|
38826
|
+
index: X,
|
|
38818
38827
|
key: re,
|
|
38819
38828
|
value: j,
|
|
38820
38829
|
proportion: j / x.value,
|
|
38821
38830
|
color: b.value.style.chart.layout.smileys.colors[re]
|
|
38822
38831
|
};
|
|
38823
|
-
}).sort((re,
|
|
38832
|
+
}).sort((re, X) => X.key - re.key)), C = ie(() => r.value ? (["1", "2", "3", "4", "5"].forEach((re) => {
|
|
38824
38833
|
[null, void 0].includes(l.dataset[re]) && st({
|
|
38825
38834
|
componentName: "VueUiMoodRadar",
|
|
38826
38835
|
type: "datasetAttribute",
|
|
38827
38836
|
property: re
|
|
38828
38837
|
});
|
|
38829
|
-
}), d.value.coordinates.map((re,
|
|
38838
|
+
}), d.value.coordinates.map((re, X) => {
|
|
38830
38839
|
const j = i({
|
|
38831
38840
|
centerX: m.value.width / 2,
|
|
38832
38841
|
centerY: m.value.height / 2,
|
|
38833
38842
|
apexX: re.x,
|
|
38834
38843
|
apexY: re.y,
|
|
38835
|
-
proportion: U.value[
|
|
38836
|
-
key: U.value[
|
|
38837
|
-
value: U.value[
|
|
38844
|
+
proportion: U.value[X].value / A.value,
|
|
38845
|
+
key: U.value[X].key,
|
|
38846
|
+
value: U.value[X].value
|
|
38838
38847
|
});
|
|
38839
38848
|
return {
|
|
38840
38849
|
...re,
|
|
38841
38850
|
plots: j,
|
|
38842
|
-
key: U.value[
|
|
38851
|
+
key: U.value[X].key
|
|
38843
38852
|
};
|
|
38844
38853
|
})) : []), P = ie(() => ({
|
|
38845
38854
|
cy: "mood-radar-legend",
|
|
@@ -38856,7 +38865,7 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
38856
38865
|
function J() {
|
|
38857
38866
|
s.value = !0;
|
|
38858
38867
|
}
|
|
38859
|
-
function
|
|
38868
|
+
function G() {
|
|
38860
38869
|
J(), clearTimeout(oe.value), oe.value = setTimeout(() => {
|
|
38861
38870
|
tl({
|
|
38862
38871
|
domElement: document.getElementById(`${o.value}`),
|
|
@@ -38884,14 +38893,14 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
38884
38893
|
const re = U.value.map((j) => ({
|
|
38885
38894
|
name: j.key,
|
|
38886
38895
|
color: j.color
|
|
38887
|
-
})),
|
|
38888
|
-
return { head: re, body:
|
|
38896
|
+
})), X = U.value.map((j) => isNaN(j.value) ? 0 : j.value);
|
|
38897
|
+
return { head: re, body: X };
|
|
38889
38898
|
});
|
|
38890
38899
|
function R() {
|
|
38891
38900
|
yl(() => {
|
|
38892
38901
|
const re = V.value.head.map((ee, Ae) => [[
|
|
38893
38902
|
ee.name
|
|
38894
|
-
], [V.value.body[Ae]], [isNaN(V.value.body[Ae] / x.value) ? "-" : V.value.body[Ae] / x.value * 100]]),
|
|
38903
|
+
], [V.value.body[Ae]], [isNaN(V.value.body[Ae] / x.value) ? "-" : V.value.body[Ae] / x.value * 100]]), X = [[b.value.style.chart.title.text], [b.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(re), j = xl(X);
|
|
38895
38904
|
wl({ csvContent: j, title: b.value.style.chart.title.text || "vue-ui-mood-radar" });
|
|
38896
38905
|
});
|
|
38897
38906
|
}
|
|
@@ -38900,7 +38909,7 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
38900
38909
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
38901
38910
|
Number(x.value.toFixed(b.value.table.td.roundingValue)).toLocaleString(),
|
|
38902
38911
|
"100%"
|
|
38903
|
-
],
|
|
38912
|
+
], X = V.value.head.map((Ae, S) => [
|
|
38904
38913
|
{
|
|
38905
38914
|
color: Ae.color,
|
|
38906
38915
|
name: Ae.name
|
|
@@ -38926,7 +38935,7 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
38926
38935
|
];
|
|
38927
38936
|
return {
|
|
38928
38937
|
head: re,
|
|
38929
|
-
body:
|
|
38938
|
+
body: X,
|
|
38930
38939
|
config: j,
|
|
38931
38940
|
colNames: ee
|
|
38932
38941
|
};
|
|
@@ -38940,10 +38949,10 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
38940
38949
|
}
|
|
38941
38950
|
return t({
|
|
38942
38951
|
getData: Z,
|
|
38943
|
-
generatePdf:
|
|
38952
|
+
generatePdf: G,
|
|
38944
38953
|
generateCsv: R,
|
|
38945
38954
|
generateImage: ve
|
|
38946
|
-
}), (re,
|
|
38955
|
+
}), (re, X) => (c(), h("div", {
|
|
38947
38956
|
class: Pe(`vue-ui-mood-radar ${pe.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${b.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
38948
38957
|
ref_key: "moodRadarChart",
|
|
38949
38958
|
ref: u,
|
|
@@ -38988,10 +38997,10 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
38988
38997
|
hasFullscreen: "",
|
|
38989
38998
|
chartElement: u.value,
|
|
38990
38999
|
onToggleFullscreen: _e,
|
|
38991
|
-
onGeneratePdf:
|
|
39000
|
+
onGeneratePdf: G,
|
|
38992
39001
|
onGenerateCsv: R,
|
|
38993
39002
|
onGenerateImage: ve,
|
|
38994
|
-
onToggleTable:
|
|
39003
|
+
onToggleTable: X[0] || (X[0] = (j) => p.value.showTable = !p.value.showTable)
|
|
38995
39004
|
}, null, 8, ["backgroundColor", "color", "isPrinting", "isImaging", "title", "uid", "chartElement"])) : L("", !0),
|
|
38996
39005
|
r.value ? (c(), h("svg", {
|
|
38997
39006
|
key: 2,
|
|
@@ -39047,8 +39056,8 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
39047
39056
|
}, null, 8, uP),
|
|
39048
39057
|
y("circle", {
|
|
39049
39058
|
class: "vue-ui-mood-radar-trap",
|
|
39050
|
-
onMouseenter:
|
|
39051
|
-
onMouseleave:
|
|
39059
|
+
onMouseenter: X[1] || (X[1] = (j) => g.value = 5),
|
|
39060
|
+
onMouseleave: X[2] || (X[2] = (j) => g.value = null),
|
|
39052
39061
|
cx: "128",
|
|
39053
39062
|
cy: "25",
|
|
39054
39063
|
r: "20",
|
|
@@ -39063,8 +39072,8 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
39063
39072
|
}, null, 8, dP),
|
|
39064
39073
|
y("circle", {
|
|
39065
39074
|
class: "vue-ui-mood-radar-trap",
|
|
39066
|
-
onMouseenter:
|
|
39067
|
-
onMouseleave:
|
|
39075
|
+
onMouseenter: X[3] || (X[3] = (j) => g.value = 4),
|
|
39076
|
+
onMouseleave: X[4] || (X[4] = (j) => g.value = null),
|
|
39068
39077
|
cx: "227",
|
|
39069
39078
|
cy: "95.5",
|
|
39070
39079
|
r: "20",
|
|
@@ -39079,8 +39088,8 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
39079
39088
|
}, null, 8, fP),
|
|
39080
39089
|
y("circle", {
|
|
39081
39090
|
class: "vue-ui-mood-radar-trap",
|
|
39082
|
-
onMouseenter:
|
|
39083
|
-
onMouseleave:
|
|
39091
|
+
onMouseenter: X[5] || (X[5] = (j) => g.value = 3),
|
|
39092
|
+
onMouseleave: X[6] || (X[6] = (j) => g.value = null),
|
|
39084
39093
|
cx: "190",
|
|
39085
39094
|
cy: "213.5",
|
|
39086
39095
|
r: "20",
|
|
@@ -39095,8 +39104,8 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
39095
39104
|
}, null, 8, gP),
|
|
39096
39105
|
y("circle", {
|
|
39097
39106
|
class: "vue-ui-mood-radar-trap",
|
|
39098
|
-
onMouseenter:
|
|
39099
|
-
onMouseleave:
|
|
39107
|
+
onMouseenter: X[7] || (X[7] = (j) => g.value = 2),
|
|
39108
|
+
onMouseleave: X[8] || (X[8] = (j) => g.value = null),
|
|
39100
39109
|
cx: "65",
|
|
39101
39110
|
cy: "213.5",
|
|
39102
39111
|
r: "20",
|
|
@@ -39111,8 +39120,8 @@ const aP = ["id"], oP = ["xmlns", "viewBox"], rP = ["id"], nP = ["stop-color"],
|
|
|
39111
39120
|
}, null, 8, pP),
|
|
39112
39121
|
y("circle", {
|
|
39113
39122
|
class: "vue-ui-mood-radar-trap",
|
|
39114
|
-
onMouseenter:
|
|
39115
|
-
onMouseleave:
|
|
39123
|
+
onMouseenter: X[9] || (X[9] = (j) => g.value = 1),
|
|
39124
|
+
onMouseleave: X[10] || (X[10] = (j) => g.value = null),
|
|
39116
39125
|
cx: "29",
|
|
39117
39126
|
cy: "95.5",
|
|
39118
39127
|
r: "20",
|
|
@@ -39465,7 +39474,7 @@ const nu = (e) => (Na("data-v-6320c0a1"), e = e(), Ta(), e), UP = ["id"], QP = [
|
|
|
39465
39474
|
function J() {
|
|
39466
39475
|
b.value || (W.value = null);
|
|
39467
39476
|
}
|
|
39468
|
-
function
|
|
39477
|
+
function G(Ae, S, M = !1) {
|
|
39469
39478
|
const k = r.dataset.series.map((z) => z.value || 0).reduce((z, H) => z + H, 0), F = isNaN(Ae.value / k) ? 0 : Ae.value / k * 100, Q = isNaN(Ae.value / ye(S)) ? 0 : Ae.value / ye(S) * 100;
|
|
39470
39479
|
return M ? Q : F.toFixed(0) + "%";
|
|
39471
39480
|
}
|
|
@@ -39507,7 +39516,7 @@ const nu = (e) => (Na("data-v-6320c0a1"), e = e(), Ta(), e), UP = ["id"], QP = [
|
|
|
39507
39516
|
function re() {
|
|
39508
39517
|
return d.value ? A.value : r.dataset.percentage;
|
|
39509
39518
|
}
|
|
39510
|
-
const
|
|
39519
|
+
const X = ie(() => {
|
|
39511
39520
|
if (d.value) {
|
|
39512
39521
|
const Ae = A.value.flatMap((M) => M.breakdown && M.breakdown.length ? [{ name: M.name, color: M.color }, ...M.breakdown.map((k, F) => ({
|
|
39513
39522
|
name: k.name,
|
|
@@ -39526,26 +39535,26 @@ const nu = (e) => (Na("data-v-6320c0a1"), e = e(), Ta(), e), UP = ["id"], QP = [
|
|
|
39526
39535
|
return;
|
|
39527
39536
|
}
|
|
39528
39537
|
yl(() => {
|
|
39529
|
-
const Ae = A.value.map((F) => F.value).reduce((F, Q) => F + Q, 0), S =
|
|
39538
|
+
const Ae = A.value.map((F) => F.value).reduce((F, Q) => F + Q, 0), S = X.value.head.map((F, Q) => [[
|
|
39530
39539
|
F.name
|
|
39531
|
-
], [
|
|
39540
|
+
], [X.value.body[Q]], [isNaN(X.value.body[Q] / Ae) ? "-" : X.value.body[Q] / Ae * 100]]), M = [[p.value.style.chart.title.text], [p.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(S), k = xl(M);
|
|
39532
39541
|
wl({ csvContent: k, title: p.value.style.chart.title.text || "vue-ui-3d-bar" });
|
|
39533
39542
|
});
|
|
39534
39543
|
}
|
|
39535
39544
|
const ee = ie(() => {
|
|
39536
39545
|
const Ae = A.value.map((Q) => Q.value).reduce((Q, z) => Q + z, 0), S = [
|
|
39537
39546
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
39538
|
-
|
|
39547
|
+
ht({ p: p.value.style.chart.legend.prefix, v: Ae, s: p.value.style.chart.legend.suffix, r: p.value.table.td.roundingValue }),
|
|
39539
39548
|
"100%"
|
|
39540
|
-
], M =
|
|
39541
|
-
const H =
|
|
39549
|
+
], M = X.value.head.map((Q, z) => {
|
|
39550
|
+
const H = ht({ p: p.value.style.chart.legend.prefix, v: X.value.body[z], s: p.value.style.chart.legend.suffix, r: p.value.table.td.roundingValue });
|
|
39542
39551
|
return [
|
|
39543
39552
|
{
|
|
39544
39553
|
color: Q.color,
|
|
39545
39554
|
name: Q.name
|
|
39546
39555
|
},
|
|
39547
39556
|
H,
|
|
39548
|
-
isNaN(
|
|
39557
|
+
isNaN(X.value.body[z] / Ae) ? "-" : (X.value.body[z] / Ae * 100).toFixed(p.value.table.td.roundingPercentage) + "%"
|
|
39549
39558
|
];
|
|
39550
39559
|
}), k = {
|
|
39551
39560
|
th: {
|
|
@@ -39923,12 +39932,12 @@ const nu = (e) => (Na("data-v-6320c0a1"), e = e(), Ta(), e), UP = ["id"], QP = [
|
|
|
39923
39932
|
p.value.style.chart.legend.showDefault ? (c(), h("div", {
|
|
39924
39933
|
key: 0,
|
|
39925
39934
|
style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${p.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${p.value.style.chart.legend.fontSize}px; color:${p.value.style.chart.legend.color}`)
|
|
39926
|
-
}, T(M.name) + " : " + T(ue(
|
|
39935
|
+
}, T(M.name) + " : " + T(ue(ht)({ v: M.proportion * 100, s: "%", r: p.value.style.chart.legend.roundingPercentage })) + " (" + T(ue(ht)({ p: p.value.style.chart.legend.prefix, v: M.value, s: p.value.style.chart.legend.suffix, r: p.value.style.chart.legend.roundingValue })) + ") ", 5)) : L("", !0),
|
|
39927
39936
|
Ue(Ae.$slots, "legend", tt(at({ datapoint: M, config: p.value, dataset: A.value })), void 0, !0)
|
|
39928
39937
|
], 8, $z)),
|
|
39929
39938
|
M.fill.donut && W.value === M.id ? (c(), h("g", Uz, [
|
|
39930
39939
|
(c(!0), h(be, null, Be(M.fill.donut, (F, Q) => (c(), h("g", null, [
|
|
39931
|
-
|
|
39940
|
+
G(F, M.fill.donut, !0) > 6 ? (c(), h("path", {
|
|
39932
39941
|
key: 0,
|
|
39933
39942
|
d: ue(Jr)(F, { x: F.cx, y: F.cy }, 0, 8, !1, !0, 0.5),
|
|
39934
39943
|
stroke: F.color,
|
|
@@ -39976,14 +39985,14 @@ const nu = (e) => (Na("data-v-6320c0a1"), e = e(), Ta(), e), UP = ["id"], QP = [
|
|
|
39976
39985
|
fill: p.value.style.chart.backgroundColor
|
|
39977
39986
|
}, null, 8, Hz))), 256)),
|
|
39978
39987
|
(c(!0), h(be, null, Be(M.fill.donut, (F, Q) => (c(), h("g", null, [
|
|
39979
|
-
|
|
39988
|
+
G(F, M.fill.donut, !0) > 6 ? (c(), h("g", Pz, [
|
|
39980
39989
|
y("text", {
|
|
39981
39990
|
"text-anchor": ue(_t)(F, !0, 0).anchor,
|
|
39982
39991
|
x: ue(_t)(F, !0, 2).x,
|
|
39983
39992
|
y: ue(hl)(F, 12, 12),
|
|
39984
39993
|
fill: p.value.style.chart.legend.color,
|
|
39985
39994
|
"font-size": p.value.style.chart.legend.fontSize / 1.5
|
|
39986
|
-
}, T(
|
|
39995
|
+
}, T(G(F, M.fill.donut)) + " (" + T(ue(ht)({ p: p.value.style.chart.legend.prefix, v: F.value, s: p.value.style.chart.legend.suffix, rounding: p.value.style.chart.legend.roundingValue })) + ") ", 9, zz),
|
|
39987
39996
|
y("text", {
|
|
39988
39997
|
"text-anchor": ue(_t)(F).anchor,
|
|
39989
39998
|
x: ue(_t)(F, !0, 2).x,
|
|
@@ -40175,12 +40184,12 @@ const nu = (e) => (Na("data-v-6320c0a1"), e = e(), Ta(), e), UP = ["id"], QP = [
|
|
|
40175
40184
|
p.value.style.chart.legend.showDefault ? (c(), h("div", {
|
|
40176
40185
|
key: 0,
|
|
40177
40186
|
style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${p.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${p.value.style.chart.legend.fontSize}px; color:${p.value.style.chart.legend.color}`)
|
|
40178
|
-
}, T(M.name) + " : " + T(ue(
|
|
40187
|
+
}, T(M.name) + " : " + T(ue(ht)({ v: M.proportion * 100, s: "%", r: p.value.style.chart.legend.roundingPercentage })) + " (" + T(ue(ht)({ p: p.value.style.chart.legend.prefix, v: M.value, s: p.value.style.chart.legend.suffix, r: p.value.style.chart.legend.roundingValue })) + ") ", 5)) : L("", !0),
|
|
40179
40188
|
Ue(Ae.$slots, "legend", tt(at({ datapoint: M, config: p.value, dataset: A.value })), void 0, !0)
|
|
40180
40189
|
], 8, gO)),
|
|
40181
40190
|
M.fill.donut && W.value === M.id ? (c(), h("g", yO, [
|
|
40182
40191
|
(c(!0), h(be, null, Be(M.fill.donut, (F, Q) => (c(), h("g", null, [
|
|
40183
|
-
|
|
40192
|
+
G(F, M.fill.donut, !0) > 6 ? (c(), h("path", {
|
|
40184
40193
|
key: 0,
|
|
40185
40194
|
d: ue(Jr)(F, { x: F.cx, y: F.cy }, 0, 8, !1, !0, 0.5),
|
|
40186
40195
|
stroke: F.color,
|
|
@@ -40228,14 +40237,14 @@ const nu = (e) => (Na("data-v-6320c0a1"), e = e(), Ta(), e), UP = ["id"], QP = [
|
|
|
40228
40237
|
fill: p.value.style.chart.backgroundColor
|
|
40229
40238
|
}, null, 8, BO))), 256)),
|
|
40230
40239
|
(c(!0), h(be, null, Be(M.fill.donut, (F, Q) => (c(), h("g", null, [
|
|
40231
|
-
|
|
40240
|
+
G(F, M.fill.donut, !0) > 6 ? (c(), h("g", _O, [
|
|
40232
40241
|
y("text", {
|
|
40233
40242
|
"text-anchor": ue(_t)(F, !0, 0).anchor,
|
|
40234
40243
|
x: ue(_t)(F, !0, 2).x,
|
|
40235
40244
|
y: ue(hl)(F, 12, 12),
|
|
40236
40245
|
fill: p.value.style.chart.legend.color,
|
|
40237
40246
|
"font-size": p.value.style.chart.legend.fontSize / 1.5
|
|
40238
|
-
}, T(
|
|
40247
|
+
}, T(G(F, M.fill.donut)) + " (" + T(ue(ht)({ p: p.value.style.chart.legend.prefix, v: F.value, s: p.value.style.chart.legend.suffix, rounding: p.value.style.chart.legend.roundingValue })) + ") ", 9, FO),
|
|
40239
40248
|
y("text", {
|
|
40240
40249
|
"text-anchor": ue(_t)(F).anchor,
|
|
40241
40250
|
x: ue(_t)(F, !0, 2).x,
|
|
@@ -40761,7 +40770,7 @@ const lR = ["id"], aR = ["xmlns", "viewBox"], oR = ["id"], rR = ["stop-color"],
|
|
|
40761
40770
|
}
|
|
40762
40771
|
return ce;
|
|
40763
40772
|
}
|
|
40764
|
-
function
|
|
40773
|
+
function G(ce) {
|
|
40765
40774
|
const _ = /* @__PURE__ */ new Set();
|
|
40766
40775
|
function E(xe) {
|
|
40767
40776
|
xe.forEach((Y) => {
|
|
@@ -40774,7 +40783,7 @@ const lR = ["id"], aR = ["xmlns", "viewBox"], oR = ["id"], rR = ["stop-color"],
|
|
|
40774
40783
|
I[xe] = `gradient_${Y}`;
|
|
40775
40784
|
}), I;
|
|
40776
40785
|
}
|
|
40777
|
-
const ye = ie(() =>
|
|
40786
|
+
const ye = ie(() => G(ve.value)), ve = ie(() => J(l.dataset));
|
|
40778
40787
|
function V() {
|
|
40779
40788
|
m.value = !1, p.value = null, i.value = null, d.value = null, K({
|
|
40780
40789
|
polygonPath: {
|
|
@@ -40834,9 +40843,9 @@ const lR = ["id"], aR = ["xmlns", "viewBox"], oR = ["id"], rR = ["stop-color"],
|
|
|
40834
40843
|
E += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${ce.color}">⬤</div><div>${ce.name}</div></div>`, ce.details && (E += `<div style="width:100%;border-top:1px solid #e1e5e8;margin-top: 2px">${ce.details}</div>`), g.value = `<div style="font-family:inherit">${E}</div>`;
|
|
40835
40844
|
}
|
|
40836
40845
|
}
|
|
40837
|
-
const
|
|
40846
|
+
const X = N(null), j = N(null);
|
|
40838
40847
|
function ee(ce) {
|
|
40839
|
-
|
|
40848
|
+
X.value = ce, ce ? (v.value = !0, re(ce), j.value = ce.uid) : (v.value = !1, g.value = "", j.value = null);
|
|
40840
40849
|
}
|
|
40841
40850
|
function Ae(ce) {
|
|
40842
40851
|
ce === "right" && (d.value.polygonPath.coordinates[0].x += d.value.circleRadius), ce === "left" && (d.value.polygonPath.coordinates[0].x -= d.value.circleRadius), ce === "top" && (d.value.polygonPath.coordinates[0].y -= d.value.circleRadius), ce === "bottom" && (d.value.polygonPath.coordinates[0].y += d.value.circleRadius), K(d.value);
|
|
@@ -40940,7 +40949,7 @@ const lR = ["id"], aR = ["xmlns", "viewBox"], oR = ["id"], rR = ["stop-color"],
|
|
|
40940
40949
|
generateImage: Q
|
|
40941
40950
|
}), (ce, _) => (c(), h("div", {
|
|
40942
40951
|
onMouseleave: _[8] || (_[8] = (E) => {
|
|
40943
|
-
|
|
40952
|
+
X.value = null, j.value = null;
|
|
40944
40953
|
}),
|
|
40945
40954
|
ref_key: "moleculeChart",
|
|
40946
40955
|
ref: b,
|
|
@@ -41436,7 +41445,7 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41436
41445
|
value: (te.values || []).reduce((me, se) => me + se, 0),
|
|
41437
41446
|
absoluteValues: te.values || []
|
|
41438
41447
|
}))
|
|
41439
|
-
})))), J = ie(() => A.value.style.chart.layout.donut.strokeWidth),
|
|
41448
|
+
})))), J = ie(() => A.value.style.chart.layout.donut.strokeWidth), G = ie(() => [...oe.value].map((H, q) => {
|
|
41440
41449
|
const te = q * J.value / oe.value.length, ne = H.series.filter((me) => !W.value.includes(me.id)).map((me) => me.value).reduce((me, se) => me + se, 0);
|
|
41441
41450
|
return {
|
|
41442
41451
|
...H,
|
|
@@ -41482,26 +41491,26 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41482
41491
|
ve.value = H.arcOfId, V.value = H.id, R.value = te, K.value = {
|
|
41483
41492
|
datapoint: H,
|
|
41484
41493
|
seriesIndex: te,
|
|
41485
|
-
series:
|
|
41494
|
+
series: G.value,
|
|
41486
41495
|
config: A.value
|
|
41487
41496
|
};
|
|
41488
41497
|
const ne = A.value.style.chart.tooltip.customFormat;
|
|
41489
41498
|
if (fl(ne) && jl(() => ne({
|
|
41490
41499
|
seriesIndex: te,
|
|
41491
41500
|
datapoint: H,
|
|
41492
|
-
series:
|
|
41501
|
+
series: G.value,
|
|
41493
41502
|
config: A.value
|
|
41494
41503
|
})))
|
|
41495
41504
|
b.value = ne({
|
|
41496
41505
|
seriesIndex: te,
|
|
41497
41506
|
datapoint: H,
|
|
41498
|
-
series:
|
|
41507
|
+
series: G.value,
|
|
41499
41508
|
config: A.value
|
|
41500
41509
|
});
|
|
41501
41510
|
else {
|
|
41502
41511
|
let me = "";
|
|
41503
41512
|
if (A.value.style.chart.tooltip.showAllItemsAtIndex && W.value.length === 0) {
|
|
41504
|
-
const se =
|
|
41513
|
+
const se = G.value.map((ce) => ce.series.find((_) => _.seriesIndex === te));
|
|
41505
41514
|
se.forEach((ce, _) => {
|
|
41506
41515
|
if (!ce)
|
|
41507
41516
|
return "";
|
|
@@ -41516,14 +41525,14 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41516
41525
|
</span>
|
|
41517
41526
|
</div>
|
|
41518
41527
|
<span>
|
|
41519
|
-
${A.value.style.chart.tooltip.showValue ? `<b>${
|
|
41520
|
-
${A.value.style.chart.tooltip.showPercentage ? `(${
|
|
41528
|
+
${A.value.style.chart.tooltip.showValue ? `<b>${ht({ p: A.value.style.chart.layout.labels.dataLabels.prefix, v: H.value, s: A.value.style.chart.layout.labels.dataLabels.suffix, r: A.value.style.chart.tooltip.roundingValue })}</b>` : ""}
|
|
41529
|
+
${A.value.style.chart.tooltip.showPercentage ? `(${ht({ v: ce.proportion * 100, s: "%", r: A.value.style.chart.tooltip.roundingPercentage })})` : ""}
|
|
41521
41530
|
</span>
|
|
41522
41531
|
</div>
|
|
41523
41532
|
`;
|
|
41524
41533
|
});
|
|
41525
41534
|
} else
|
|
41526
|
-
me += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${H.arcOf ?? ""} - ${H.name}</div>`, me += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${H.color}"/></svg>`, A.value.style.chart.tooltip.showValue && (me += `<b>${
|
|
41535
|
+
me += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${H.arcOf ?? ""} - ${H.name}</div>`, me += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${H.color}"/></svg>`, A.value.style.chart.tooltip.showValue && (me += `<b>${ht({ p: A.value.style.chart.layout.labels.dataLabels.prefix, v: H.value, s: A.value.style.chart.layout.labels.dataLabels.suffix, r: A.value.style.chart.tooltip.roundingValue })}</b>`), A.value.style.chart.tooltip.showPercentage && (A.value.style.chart.tooltip.showValue ? me += `<span>(${(H.proportion * 100).toFixed(A.value.style.chart.tooltip.roundingPercentage)}%)</span></div>` : me += `<b>${(H.proportion * 100).toFixed(A.value.style.chart.tooltip.roundingPercentage)}%</b></div>`);
|
|
41527
41536
|
b.value = `<div style="font-size:${A.value.style.chart.tooltip.fontSize}px">${me}</div>`;
|
|
41528
41537
|
}
|
|
41529
41538
|
g.value = !0;
|
|
@@ -41554,7 +41563,7 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41554
41563
|
opacity: W.value.includes(te.id) ? 0.5 : 1,
|
|
41555
41564
|
segregate: () => C(te),
|
|
41556
41565
|
isSegregated: W.value.includes(te.id)
|
|
41557
|
-
})))),
|
|
41566
|
+
})))), X = ie(() => ({
|
|
41558
41567
|
cy: "nested-donuts-legend",
|
|
41559
41568
|
backgroundColor: A.value.style.chart.legend.backgroundColor,
|
|
41560
41569
|
color: A.value.style.chart.legend.color,
|
|
@@ -41590,11 +41599,11 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41590
41599
|
}, 100);
|
|
41591
41600
|
}
|
|
41592
41601
|
const k = ie(() => {
|
|
41593
|
-
const H =
|
|
41602
|
+
const H = G.value.flatMap((te) => te.series.map((ne) => ({
|
|
41594
41603
|
name: `${te.name} - ${ne.name}`,
|
|
41595
41604
|
color: ne.color,
|
|
41596
41605
|
total: te.total
|
|
41597
|
-
}))), q =
|
|
41606
|
+
}))), q = G.value.flatMap((te) => te.series.map((ne) => ne.value));
|
|
41598
41607
|
return { head: H, body: q };
|
|
41599
41608
|
});
|
|
41600
41609
|
function F() {
|
|
@@ -41611,7 +41620,7 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41611
41620
|
A.value.table.columnNames.value,
|
|
41612
41621
|
A.value.table.columnNames.percentage
|
|
41613
41622
|
], q = k.value.head.map((me, se) => {
|
|
41614
|
-
const ce =
|
|
41623
|
+
const ce = ht({ p: A.value.style.chart.layout.labels.dataLabels.prefix, v: k.value.body[se], s: A.value.style.chart.layout.labels.dataLabels.suffix, r: A.value.table.td.roundingValue });
|
|
41615
41624
|
return [
|
|
41616
41625
|
{
|
|
41617
41626
|
color: me.color,
|
|
@@ -41706,7 +41715,7 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41706
41715
|
viewBox: `0 0 ${U.value.width} ${U.value.height}`,
|
|
41707
41716
|
style: O(`max-width:100%; overflow: visible; background:${A.value.style.chart.backgroundColor};color:${A.value.style.chart.color}`)
|
|
41708
41717
|
}, [
|
|
41709
|
-
(c(!0), h(be, null, Be(
|
|
41718
|
+
(c(!0), h(be, null, Be(G.value, (te, ne) => (c(), h("g", null, [
|
|
41710
41719
|
(c(!0), h(be, null, Be(te.donut, (me, se) => (c(), h("g", null, [
|
|
41711
41720
|
y("path", {
|
|
41712
41721
|
class: "vue-ui-donut-arc-path",
|
|
@@ -41762,7 +41771,7 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41762
41771
|
]))), 256))
|
|
41763
41772
|
])) : L("", !0),
|
|
41764
41773
|
A.value.style.chart.layout.labels.dataLabels.showDonutName ? (c(), h("g", HR, [
|
|
41765
|
-
(c(!0), h(be, null, Be(
|
|
41774
|
+
(c(!0), h(be, null, Be(G.value, (te, ne) => (c(), h("g", null, [
|
|
41766
41775
|
(c(!0), h(be, null, Be(te.donut, (me, se) => (c(), h("g", null, [
|
|
41767
41776
|
se === 0 ? (c(), h("text", {
|
|
41768
41777
|
key: 0,
|
|
@@ -41777,7 +41786,7 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41777
41786
|
]))), 256))
|
|
41778
41787
|
])) : L("", !0),
|
|
41779
41788
|
A.value.style.chart.layout.labels.dataLabels.show ? (c(), h("g", zR, [
|
|
41780
|
-
(c(!0), h(be, null, Be(
|
|
41789
|
+
(c(!0), h(be, null, Be(G.value, (te, ne) => (c(), h("g", null, [
|
|
41781
41790
|
(c(!0), h(be, null, Be(te.donut, (me, se) => (c(), h("g", {
|
|
41782
41791
|
filter: _e(me, se)
|
|
41783
41792
|
}, [
|
|
@@ -41789,7 +41798,7 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41789
41798
|
fill: A.value.style.chart.layout.labels.dataLabels.useSerieColor ? me.color : A.value.style.chart.layout.labels.dataLabels.color,
|
|
41790
41799
|
"font-size": A.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
41791
41800
|
"font-weight": A.value.style.chart.layout.labels.dataLabels.boldPercentage ? "bold" : "normal"
|
|
41792
|
-
}, T(ue(
|
|
41801
|
+
}, T(ue(ht)({ v: me.proportion * 100, s: "%", r: A.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 9, RR)) : L("", !0),
|
|
41793
41802
|
pe(me) && x.value.dataLabels.show && A.value.style.chart.layout.labels.dataLabels.showPercentage && A.value.style.chart.layout.labels.dataLabels.showValue ? (c(), h("text", {
|
|
41794
41803
|
key: 1,
|
|
41795
41804
|
"text-anchor": ue(_t)(me, !0).anchor,
|
|
@@ -41798,7 +41807,7 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41798
41807
|
fill: A.value.style.chart.layout.labels.dataLabels.useSerieColor ? me.color : A.value.style.chart.layout.labels.dataLabels.color,
|
|
41799
41808
|
"font-size": A.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
41800
41809
|
"font-weight": A.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
|
|
41801
|
-
}, " (" + T(ue(
|
|
41810
|
+
}, " (" + T(ue(ht)({ p: A.value.style.chart.layout.labels.dataLabels.prefix, v: me.value, s: A.value.style.chart.layout.labels.dataLabels.suffix, r: A.value.style.chart.layout.labels.dataLabels.roundingValue })) + ") ", 9, VR)) : L("", !0),
|
|
41802
41811
|
pe(me) && x.value.dataLabels.show && !A.value.style.chart.layout.labels.dataLabels.showPercentage && A.value.style.chart.layout.labels.dataLabels.showValue ? (c(), h("text", {
|
|
41803
41812
|
key: 2,
|
|
41804
41813
|
"text-anchor": ue(_t)(me, !0).anchor,
|
|
@@ -41807,11 +41816,11 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41807
41816
|
fill: A.value.style.chart.layout.labels.dataLabels.useSerieColor ? me.color : A.value.style.chart.layout.labels.dataLabels.color,
|
|
41808
41817
|
"font-size": A.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
41809
41818
|
"font-weight": A.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
|
|
41810
|
-
}, T(ue(
|
|
41819
|
+
}, T(ue(ht)({ p: A.value.style.chart.layout.labels.dataLabels.prefix, v: me.value, s: A.value.style.chart.layout.labels.dataLabels.suffix, r: A.value.style.chart.layout.labels.dataLabels.roundingValue })), 9, KR)) : L("", !0)
|
|
41811
41820
|
], 8, OR))), 256))
|
|
41812
41821
|
]))), 256))
|
|
41813
41822
|
])) : L("", !0),
|
|
41814
|
-
(c(!0), h(be, null, Be(
|
|
41823
|
+
(c(!0), h(be, null, Be(G.value, (te, ne) => (c(), h("g", null, [
|
|
41815
41824
|
(c(!0), h(be, null, Be(te.donut, (me, se) => (c(), h("g", null, [
|
|
41816
41825
|
y("path", {
|
|
41817
41826
|
"data-cy-donut-trap": "",
|
|
@@ -41865,7 +41874,7 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41865
41874
|
}, [
|
|
41866
41875
|
(c(!0), h(be, null, Be(re.value, (te) => (c(), Ve(Nl, {
|
|
41867
41876
|
legendSet: te,
|
|
41868
|
-
config:
|
|
41877
|
+
config: X.value,
|
|
41869
41878
|
onClickMarker: q[3] || (q[3] = ({ legend: ne, index: me }) => C(ne))
|
|
41870
41879
|
}, {
|
|
41871
41880
|
legendTitle: Ne(({ titleSet: ne }) => [
|
|
@@ -41876,11 +41885,11 @@ const wd = (e) => (Na("data-v-fdbe1145"), e = e(), Ta(), e), FR = ["id"], SR = [
|
|
|
41876
41885
|
onClick: (se) => C(ne),
|
|
41877
41886
|
style: O(`opacity:${W.value.includes(ne.id) ? 0.5 : 1}`)
|
|
41878
41887
|
}, [
|
|
41879
|
-
yt(T(ne.name) + " : " + T(ue(
|
|
41888
|
+
yt(T(ne.name) + " : " + T(ue(ht)({ p: A.value.style.chart.layout.labels.dataLabels.prefix, v: ne.value, s: A.value.style.chart.layout.labels.dataLabels.suffix, r: A.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
41880
41889
|
W.value.includes(ne.id) ? (c(), h(be, { key: 1 }, [
|
|
41881
41890
|
yt(" ( - % ) ")
|
|
41882
41891
|
], 64)) : (c(), h(be, { key: 0 }, [
|
|
41883
|
-
yt(" (" + T(isNaN(ne.value / ne.total) ? "-" : ue(
|
|
41892
|
+
yt(" (" + T(isNaN(ne.value / ne.total) ? "-" : ue(ht)({ v: ne.value / ne.total * 100, s: "%", r: A.value.style.chart.legend.roundingPercentage })) + ") ", 1)
|
|
41884
41893
|
], 64))
|
|
41885
41894
|
], 12, GR)
|
|
41886
41895
|
]),
|
|
@@ -42023,7 +42032,7 @@ const JR = ["xmlns", "viewBox"], ZR = ["id"], eV = ["stop-color"], tV = ["stop-c
|
|
|
42023
42032
|
"font-size": a.value.style.dataLabel.fontSize,
|
|
42024
42033
|
fill: d.value,
|
|
42025
42034
|
"font-weight": a.value.style.dataLabel.bold ? "bold" : "normal"
|
|
42026
|
-
}, T(ue(
|
|
42035
|
+
}, T(ue(ht)({ p: a.value.style.dataLabel.prefix, v: u.value, s: a.value.style.dataLabel.suffix, r: a.value.style.dataLabel.rounding })), 9, oV)
|
|
42027
42036
|
], 12, JR)) : L("", !0),
|
|
42028
42037
|
l.value ? L("", !0) : (c(), Ve(Wt, {
|
|
42029
42038
|
key: 2,
|
|
@@ -42119,10 +42128,10 @@ const nV = ["id"], sV = ["xmlns", "viewBox"], iV = ["d", "stroke", "stroke-width
|
|
|
42119
42128
|
value: k.value
|
|
42120
42129
|
}));
|
|
42121
42130
|
}
|
|
42122
|
-
const oe = ie(() => P.value.filter((k) => !U.value.includes(k.id)).map((k) => k.value).reduce((k, F) => k + F, 0)), J = N(190),
|
|
42131
|
+
const oe = ie(() => P.value.filter((k) => !U.value.includes(k.id)).map((k) => k.value).reduce((k, F) => k + F, 0)), J = N(190), G = ie(() => P.value.filter((k) => !U.value.includes(k.id))), ye = ie(() => {
|
|
42123
42132
|
const k = [];
|
|
42124
|
-
for (let F = 0; F <
|
|
42125
|
-
const Q =
|
|
42133
|
+
for (let F = 0; F < G.value.length; F += 1) {
|
|
42134
|
+
const Q = G.value[F];
|
|
42126
42135
|
let z = Q.value / oe.value * J.value;
|
|
42127
42136
|
F > 0 && k.length && (z += k[F - 1].points), k.push({
|
|
42128
42137
|
points: z,
|
|
@@ -42161,7 +42170,7 @@ const nV = ["id"], sV = ["xmlns", "viewBox"], iV = ["d", "stroke", "stroke-width
|
|
|
42161
42170
|
datapoint: k,
|
|
42162
42171
|
series: P.value,
|
|
42163
42172
|
config: i.value
|
|
42164
|
-
}) : (H += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${k.name}</div>`, H += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${k.color}"/></svg>`, i.value.style.chart.tooltip.showValue && (H += `<b>${
|
|
42173
|
+
}) : (H += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${k.name}</div>`, H += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${k.color}"/></svg>`, i.value.style.chart.tooltip.showValue && (H += `<b>${ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: k.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.tooltip.roundingValue })}</b>`), i.value.style.chart.tooltip.showPercentage && (i.value.style.chart.tooltip.showValue ? H += `<span>(${(k.proportion * 100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%)</span></div>` : H += `<b>${(k.proportion * 100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}%</b></div>`), p.value = `<div>${H}</div>`);
|
|
42165
42174
|
}
|
|
42166
42175
|
const Z = ie(() => P.value.map((k, F) => ({
|
|
42167
42176
|
...k,
|
|
@@ -42181,7 +42190,7 @@ const nV = ["id"], sV = ["xmlns", "viewBox"], iV = ["d", "stroke", "stroke-width
|
|
|
42181
42190
|
function re() {
|
|
42182
42191
|
s.value = !0;
|
|
42183
42192
|
}
|
|
42184
|
-
function
|
|
42193
|
+
function X() {
|
|
42185
42194
|
re(), clearTimeout(_e.value), _e.value = setTimeout(() => {
|
|
42186
42195
|
tl({
|
|
42187
42196
|
domElement: document.getElementById(`galaxy_${a.value}`),
|
|
@@ -42223,10 +42232,10 @@ const nV = ["id"], sV = ["xmlns", "viewBox"], iV = ["d", "stroke", "stroke-width
|
|
|
42223
42232
|
const M = ie(() => {
|
|
42224
42233
|
const k = [
|
|
42225
42234
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
42226
|
-
|
|
42235
|
+
ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: oe.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.table.td.roundingValue }),
|
|
42227
42236
|
"100%"
|
|
42228
42237
|
], F = Ae.value.head.map((H, q) => {
|
|
42229
|
-
const te =
|
|
42238
|
+
const te = ht({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: Ae.value.body[q], s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.table.td.roundingValue });
|
|
42230
42239
|
return [
|
|
42231
42240
|
{
|
|
42232
42241
|
color: H.color,
|
|
@@ -42261,7 +42270,7 @@ const nV = ["id"], sV = ["xmlns", "viewBox"], iV = ["d", "stroke", "stroke-width
|
|
|
42261
42270
|
});
|
|
42262
42271
|
return t({
|
|
42263
42272
|
getData: W,
|
|
42264
|
-
generatePdf:
|
|
42273
|
+
generatePdf: X,
|
|
42265
42274
|
generateCsv: S,
|
|
42266
42275
|
generateImage: ee
|
|
42267
42276
|
}), (k, F) => (c(), h("div", {
|
|
@@ -42310,7 +42319,7 @@ const nV = ["id"], sV = ["xmlns", "viewBox"], iV = ["d", "stroke", "stroke-width
|
|
|
42310
42319
|
isFullscreen: ve.value,
|
|
42311
42320
|
chartElement: v.value,
|
|
42312
42321
|
onToggleFullscreen: V,
|
|
42313
|
-
onGeneratePdf:
|
|
42322
|
+
onGeneratePdf: X,
|
|
42314
42323
|
onGenerateCsv: S,
|
|
42315
42324
|
onGenerateImage: ee,
|
|
42316
42325
|
onToggleTable: F[0] || (F[0] = (Q) => A.value.showTable = !A.value.showTable)
|
|
@@ -42395,7 +42404,7 @@ const nV = ["id"], sV = ["xmlns", "viewBox"], iV = ["d", "stroke", "stroke-width
|
|
|
42395
42404
|
onClick: (H) => C(Q),
|
|
42396
42405
|
style: O(`opacity:${U.value.includes(Q.id) ? 0.5 : 1}`)
|
|
42397
42406
|
}, [
|
|
42398
|
-
yt(T(Q.name) + " : " + T(ue(
|
|
42407
|
+
yt(T(Q.name) + " : " + T(ue(ht)({ p: i.value.style.chart.layout.labels.dataLabels.prefix, v: Q.value, s: i.value.style.chart.layout.labels.dataLabels.suffix, r: i.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
42399
42408
|
U.value.includes(Q.id) ? (c(), h("span", fV, " ( - % ) ")) : (c(), h("span", hV, " (" + T(isNaN(Q.value / oe.value) ? "-" : (Q.value / oe.value * 100).toFixed(i.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
|
|
42400
42409
|
], 12, dV)
|
|
42401
42410
|
]),
|
|
@@ -42481,7 +42490,7 @@ const nV = ["id"], sV = ["xmlns", "viewBox"], iV = ["d", "stroke", "stroke-width
|
|
|
42481
42490
|
style: O(`font-family: ${r.value.fontFamily}; font-size:${r.value.valueFontSize}px; color:${r.value.valueColor}; font-weight:${r.value.valueBold ? "bold" : "normal"}; ${r.value.valueCss}`)
|
|
42482
42491
|
}, [
|
|
42483
42492
|
Ue(n.$slots, "value", { comment: e.dataset }),
|
|
42484
|
-
yt(" " + T(ue(
|
|
42493
|
+
yt(" " + T(ue(ht)({ p: r.value.prefix, v: a.value, s: r.value.suffix, r: r.value.valueRounding })), 1)
|
|
42485
42494
|
], 6),
|
|
42486
42495
|
Ue(n.$slots, "comment-after", { comment: e.dataset })
|
|
42487
42496
|
], 6));
|
|
@@ -42715,16 +42724,16 @@ const FV = (e) => (Na("data-v-d326f420"), e = e(), Ta(), e), SV = ["id"], LV = [
|
|
|
42715
42724
|
return _;
|
|
42716
42725
|
}
|
|
42717
42726
|
});
|
|
42718
|
-
function
|
|
42727
|
+
function G(_, E) {
|
|
42719
42728
|
return _.value / E;
|
|
42720
42729
|
}
|
|
42721
42730
|
function ye(_, E, I) {
|
|
42722
|
-
const xe = i.value.style.chart.layout.rects.colorRatio -
|
|
42731
|
+
const xe = i.value.style.chart.layout.rects.colorRatio - G(E, I);
|
|
42723
42732
|
return Yo(_, xe < 0 ? 0 : xe);
|
|
42724
42733
|
}
|
|
42725
42734
|
function ve(_, E, I, xe) {
|
|
42726
42735
|
return _.map((Y, Le) => {
|
|
42727
|
-
const We = ye(wt(E) || Ze[Le] || Ze[Le % Ze.length], Y, xe), ke =
|
|
42736
|
+
const We = ye(wt(E) || Ze[Le] || Ze[Le % Ze.length], Y, xe), ke = G(Y, xe);
|
|
42728
42737
|
return {
|
|
42729
42738
|
...Y,
|
|
42730
42739
|
color: We,
|
|
@@ -42771,11 +42780,11 @@ const FV = (e) => (Na("data-v-d326f420"), e = e(), Ta(), e), SV = ["id"], LV = [
|
|
|
42771
42780
|
});
|
|
42772
42781
|
}, 100);
|
|
42773
42782
|
}
|
|
42774
|
-
function
|
|
42783
|
+
function X() {
|
|
42775
42784
|
u.value = !0;
|
|
42776
42785
|
}
|
|
42777
42786
|
function j() {
|
|
42778
|
-
|
|
42787
|
+
X(), clearTimeout(pe.value), pe.value = setTimeout(() => {
|
|
42779
42788
|
ol({
|
|
42780
42789
|
domElement: document.getElementById(`treemap_${a.value}`),
|
|
42781
42790
|
fileName: i.value.style.chart.title.text || "vue-ui-treemap",
|
|
@@ -42846,7 +42855,7 @@ const FV = (e) => (Na("data-v-d326f420"), e = e(), Ta(), e), SV = ["id"], LV = [
|
|
|
42846
42855
|
});
|
|
42847
42856
|
else {
|
|
42848
42857
|
let xe = "";
|
|
42849
|
-
xe += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${_.name}</div>`, xe += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${_.color}"/></svg>`, xe += `<b>${
|
|
42858
|
+
xe += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${_.name}</div>`, xe += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" fill="${_.color}"/></svg>`, xe += `<b>${ht({ p: i.value.style.chart.layout.labels.prefix, v: _.value, s: i.value.style.chart.layout.labels.suffix, r: i.value.style.chart.tooltip.roundingValue })}</b>`, b.value = `<div>${xe}</div>`;
|
|
42850
42859
|
}
|
|
42851
42860
|
g.value = !0;
|
|
42852
42861
|
}
|
|
@@ -42871,7 +42880,7 @@ const FV = (e) => (Na("data-v-d326f420"), e = e(), Ta(), e), SV = ["id"], LV = [
|
|
|
42871
42880
|
i.value.table.columnNames.value,
|
|
42872
42881
|
i.value.table.columnNames.percentage
|
|
42873
42882
|
], E = ne.value.head.map((Y, Le) => {
|
|
42874
|
-
const We =
|
|
42883
|
+
const We = ht({ p: i.value.style.chart.layout.labels.prefix, v: ne.value.body[Le], s: i.value.style.chart.layout.labels.suffix, r: i.value.table.td.roundingValue });
|
|
42875
42884
|
return [
|
|
42876
42885
|
{
|
|
42877
42886
|
color: Y.color,
|
|
@@ -43025,7 +43034,7 @@ const FV = (e) => (Na("data-v-d326f420"), e = e(), Ta(), e), SV = ["id"], LV = [
|
|
|
43025
43034
|
TV,
|
|
43026
43035
|
y("span", {
|
|
43027
43036
|
style: O(`width:100%;font-size:${Z(I)}px;`)
|
|
43028
|
-
}, T(ue(
|
|
43037
|
+
}, T(ue(ht)({
|
|
43029
43038
|
p: i.value.style.chart.layout.labels.prefix,
|
|
43030
43039
|
v: I.value,
|
|
43031
43040
|
s: i.value.style.chart.layout.labels.suffix,
|
|
@@ -43068,7 +43077,7 @@ const FV = (e) => (Na("data-v-d326f420"), e = e(), Ta(), e), SV = ["id"], LV = [
|
|
|
43068
43077
|
onClick: (Y) => H(I),
|
|
43069
43078
|
style: O(`opacity:${d.value.includes(I.id) ? 0.5 : 1}`)
|
|
43070
43079
|
}, [
|
|
43071
|
-
yt(T(I.name) + " : " + T(ue(
|
|
43080
|
+
yt(T(I.name) + " : " + T(ue(ht)({ p: i.value.style.chart.layout.labels.prefix, v: I.value, s: i.value.style.chart.layout.labels.suffix, r: i.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
43072
43081
|
d.value.includes(I.id) ? (c(), h("span", PV, " ( - % ) ")) : (c(), h("span", HV, " (" + T(isNaN(I.value / oe.value) ? "-" : (I.value / oe.value * 100).toFixed(i.value.style.chart.legend.roundingPercentage)) + "%) ", 1))
|
|
43073
43082
|
], 12, DV)
|
|
43074
43083
|
]),
|
|
@@ -43209,7 +43218,7 @@ const VV = ["id"], KV = { role: "cell" }, WV = { role: "row" }, jV = ["data-cell
|
|
|
43209
43218
|
function J() {
|
|
43210
43219
|
u.value = !0;
|
|
43211
43220
|
}
|
|
43212
|
-
function
|
|
43221
|
+
function G() {
|
|
43213
43222
|
J(), clearTimeout(P.value), P.value = setTimeout(() => {
|
|
43214
43223
|
ol({
|
|
43215
43224
|
domElement: document.getElementById(`table_heatmap_${r.value}`),
|
|
@@ -43238,7 +43247,7 @@ const VV = ["id"], KV = { role: "cell" }, WV = { role: "row" }, jV = ["data-cell
|
|
|
43238
43247
|
return t({
|
|
43239
43248
|
generatePdf: oe,
|
|
43240
43249
|
generateCsv: ye,
|
|
43241
|
-
generateImage:
|
|
43250
|
+
generateImage: G
|
|
43242
43251
|
}), (V, R) => (c(), h("div", {
|
|
43243
43252
|
ref_key: "tableContainer",
|
|
43244
43253
|
ref: n,
|
|
@@ -43261,7 +43270,7 @@ const VV = ["id"], KV = { role: "cell" }, WV = { role: "row" }, jV = ["data-cell
|
|
|
43261
43270
|
onToggleFullscreen: ve,
|
|
43262
43271
|
onGeneratePdf: oe,
|
|
43263
43272
|
onGenerateCsv: ye,
|
|
43264
|
-
onGenerateImage:
|
|
43273
|
+
onGenerateImage: G
|
|
43265
43274
|
}, null, 8, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "isFullscreen", "chartElement"])) : L("", !0),
|
|
43266
43275
|
y("table", {
|
|
43267
43276
|
class: Pe({ "vue-ui-table-heatmap": !0 }),
|
|
@@ -43544,7 +43553,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
43544
43553
|
function J(S) {
|
|
43545
43554
|
return i.value.blurOnHover && ![null, void 0].includes(v.value) && v.value !== S ? `url(#blur_${a.value})` : "";
|
|
43546
43555
|
}
|
|
43547
|
-
function
|
|
43556
|
+
function G(S, M) {
|
|
43548
43557
|
b.value.includes(S) ? b.value = b.value.filter((k) => k !== S) : b.value.length < M && b.value.push(S);
|
|
43549
43558
|
}
|
|
43550
43559
|
const ye = N(null), ve = N(null);
|
|
@@ -43631,7 +43640,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
43631
43640
|
});
|
|
43632
43641
|
else {
|
|
43633
43642
|
let ce = "";
|
|
43634
|
-
ce += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${ne.name}</div>`, ce += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${ne.color}"/></svg>`, ce += `<b>${
|
|
43643
|
+
ce += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${ne.name}</div>`, ce += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${ne.color}"/></svg>`, ce += `<b>${ht({ p: i.value.valuePrefix, v: ne.value, s: i.value.valueSuffix, r: i.value.dataLabelRoundingValue })}</b>`, ce += `<span>(${ht({ v: ne.proportion * 100, s: "%", r: i.value.dataLabelRoundingPercentage })})</span></div>`, u.value = `<div>${ce}</div>`;
|
|
43635
43644
|
}
|
|
43636
43645
|
n.value = !0;
|
|
43637
43646
|
}
|
|
@@ -43753,7 +43762,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
43753
43762
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
43754
43763
|
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${xe.color}"/></svg>
|
|
43755
43764
|
<span>${xe.name}</span>:
|
|
43756
|
-
<b>${
|
|
43765
|
+
<b>${ht({
|
|
43757
43766
|
p: i.value.valuePrefix,
|
|
43758
43767
|
v: xe.value,
|
|
43759
43768
|
s: i.value.valueSuffix,
|
|
@@ -43870,7 +43879,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
43870
43879
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
43871
43880
|
<svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${Y.color}"/></svg>
|
|
43872
43881
|
<span>${Y.name}</span>:
|
|
43873
|
-
<b>${
|
|
43882
|
+
<b>${ht({
|
|
43874
43883
|
p: i.value.valuePrefix,
|
|
43875
43884
|
v: Y.value,
|
|
43876
43885
|
s: i.value.valueSuffix,
|
|
@@ -43910,11 +43919,11 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
43910
43919
|
});
|
|
43911
43920
|
}, 100);
|
|
43912
43921
|
}
|
|
43913
|
-
function
|
|
43922
|
+
function X() {
|
|
43914
43923
|
m.value = !0;
|
|
43915
43924
|
}
|
|
43916
43925
|
function j() {
|
|
43917
|
-
|
|
43926
|
+
X(), clearTimeout(pe.value), pe.value = setTimeout(() => {
|
|
43918
43927
|
ol({
|
|
43919
43928
|
domElement: document.getElementById(`${C.value}_${a.value}`),
|
|
43920
43929
|
fileName: i.value.title || C.value,
|
|
@@ -44039,7 +44048,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
44039
44048
|
fill: i.value.color,
|
|
44040
44049
|
"font-size": i.value.dataLabelFontSize,
|
|
44041
44050
|
filter: J(k.id)
|
|
44042
|
-
}, T(R.value.displayArcPercentage(k, R.value.chart)) + " (" + T(ue(
|
|
44051
|
+
}, T(R.value.displayArcPercentage(k, R.value.chart)) + " (" + T(ue(ht)({
|
|
44043
44052
|
p: i.value.valuePrefix,
|
|
44044
44053
|
v: k.value,
|
|
44045
44054
|
s: i.value.valueSuffix,
|
|
@@ -44070,7 +44079,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
44070
44079
|
y: R.value.drawingArea.centerY + i.value.donutTotalLabelFontSize,
|
|
44071
44080
|
"font-size": i.value.donutTotalLabelFontSize,
|
|
44072
44081
|
fill: i.value.color
|
|
44073
|
-
}, T(ue(
|
|
44082
|
+
}, T(ue(ht)({
|
|
44074
44083
|
p: i.value.valuePrefix,
|
|
44075
44084
|
v: R.value.total,
|
|
44076
44085
|
s: i.value.valueSuffix,
|
|
@@ -44204,7 +44213,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
44204
44213
|
y: Q.y - i.value.dataLabelFontSize / 2,
|
|
44205
44214
|
class: "quick-animation",
|
|
44206
44215
|
style: { transition: "all 0.3s ease-in-out" }
|
|
44207
|
-
}, T(ue(
|
|
44216
|
+
}, T(ue(ht)({
|
|
44208
44217
|
p: i.value.valuePrefix,
|
|
44209
44218
|
v: Q.value,
|
|
44210
44219
|
s: i.value.valueSuffix,
|
|
@@ -44336,7 +44345,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
44336
44345
|
"font-size": i.value.dataLabelFontSize,
|
|
44337
44346
|
fill: k.color,
|
|
44338
44347
|
class: "quick-animation"
|
|
44339
|
-
}, T(ue(
|
|
44348
|
+
}, T(ue(ht)({
|
|
44340
44349
|
p: i.value.valuePrefix,
|
|
44341
44350
|
v: Q.value,
|
|
44342
44351
|
s: i.value.valueSuffix,
|
|
@@ -44421,7 +44430,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
44421
44430
|
}, T(k.name), 5),
|
|
44422
44431
|
y("span", {
|
|
44423
44432
|
style: O(`font-size:${i.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
|
|
44424
|
-
}, T(b.value.includes(k.id) ? "-" : ue(
|
|
44433
|
+
}, T(b.value.includes(k.id) ? "-" : ue(ht)({
|
|
44425
44434
|
p: i.value.valuePrefix,
|
|
44426
44435
|
v: k.absoluteValue,
|
|
44427
44436
|
s: i.value.valueSuffix,
|
|
@@ -44433,7 +44442,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
44433
44442
|
}, " ( - % ) ", 4)) : (c(), h("span", {
|
|
44434
44443
|
key: 1,
|
|
44435
44444
|
style: O(`font-size:${i.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
44436
|
-
}, " (" + T(ue(
|
|
44445
|
+
}, " (" + T(ue(ht)({
|
|
44437
44446
|
v: k.value / R.value.total * 100,
|
|
44438
44447
|
s: "%",
|
|
44439
44448
|
r: i.value.dataLabelRoundingPercentage
|
|
@@ -44443,7 +44452,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
44443
44452
|
C.value === bl.LINE ? (c(!0), h(be, { key: 1 }, Be(K.value.legend, (k, F) => (c(), h("div", {
|
|
44444
44453
|
class: "vue-ui-quick-chart-legend-item",
|
|
44445
44454
|
onClick: (Q) => {
|
|
44446
|
-
|
|
44455
|
+
G(k.id, K.value.legend.length - 1), l("selectLegend", k);
|
|
44447
44456
|
},
|
|
44448
44457
|
style: O(`cursor: ${K.value.legend.length > 1 ? "pointer" : "default"}; opacity:${b.value.includes(k.id) ? "0.5" : "1"}`)
|
|
44449
44458
|
}, [
|
|
@@ -44461,7 +44470,7 @@ const u1 = (e) => (Na("data-v-f2297351"), e = e(), Ta(), e), uK = ["id"], cK = [
|
|
|
44461
44470
|
C.value === bl.BAR ? (c(!0), h(be, { key: 2 }, Be(Z.value.legend, (k, F) => (c(), h("div", {
|
|
44462
44471
|
class: "vue-ui-quick-chart-legend-item",
|
|
44463
44472
|
onClick: (Q) => {
|
|
44464
|
-
|
|
44473
|
+
G(k.id, Z.value.legend.length - 1), l("selectLegend", k);
|
|
44465
44474
|
},
|
|
44466
44475
|
style: O(`cursor: ${Z.value.legend.length > 1 ? "pointer" : "default"}; opacity:${b.value.includes(k.id) ? "0.5" : "1"}`)
|
|
44467
44476
|
}, [
|
|
@@ -44746,7 +44755,7 @@ const tj = ["id"], lj = ["xmlns", "viewBox"], aj = ["id"], oj = ["stop-color"],
|
|
|
44746
44755
|
defaultConfig: o.value
|
|
44747
44756
|
}));
|
|
44748
44757
|
function n(J) {
|
|
44749
|
-
return J.map((
|
|
44758
|
+
return J.map((G) => [void 0].includes(G) ? null : G);
|
|
44750
44759
|
}
|
|
44751
44760
|
const s = N(t.dataset.map((J) => a.value.style.animation.show || [void 0].includes(J) ? null : J)), u = N(!1), v = N(null);
|
|
44752
44761
|
Mt(() => {
|
|
@@ -44754,12 +44763,12 @@ const tj = ["id"], lj = ["xmlns", "viewBox"], aj = ["id"], oj = ["stop-color"],
|
|
|
44754
44763
|
componentName: "VueUiTrendPill",
|
|
44755
44764
|
type: "dataset"
|
|
44756
44765
|
});
|
|
44757
|
-
let
|
|
44766
|
+
let G = 1e3 / a.value.style.animation.animationFrames, ye = performance.now();
|
|
44758
44767
|
if (a.value.style.animation.show && a.value.style.animation.animationFrames && t.dataset.length > 1) {
|
|
44759
44768
|
let V = function() {
|
|
44760
44769
|
u.value = !0;
|
|
44761
44770
|
let R = performance.now(), K = R - ye;
|
|
44762
|
-
K >
|
|
44771
|
+
K > G ? (ye = R - K % G, ve < t.dataset.length ? (s.value.push(t.dataset[ve]), ve += 1, v.value = requestAnimationFrame(V)) : (cancelAnimationFrame(v.value), s.value = n(t.dataset), u.value = !1)) : v.value = requestAnimationFrame(V);
|
|
44763
44772
|
};
|
|
44764
44773
|
s.value = [];
|
|
44765
44774
|
let ve = 0;
|
|
@@ -44789,31 +44798,31 @@ const tj = ["id"], lj = ["xmlns", "viewBox"], aj = ["id"], oj = ["stop-color"],
|
|
|
44789
44798
|
function i(J) {
|
|
44790
44799
|
return J / d.value;
|
|
44791
44800
|
}
|
|
44792
|
-
const A = ie(() => t.dataset.length), x = ie(() => s.value.map((J,
|
|
44801
|
+
const A = ie(() => t.dataset.length), x = ie(() => s.value.map((J, G) => {
|
|
44793
44802
|
const ye = isNaN(J) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(J) ? 0 : J || 0;
|
|
44794
44803
|
return {
|
|
44795
44804
|
value: J,
|
|
44796
44805
|
absoluteValue: ye,
|
|
44797
44806
|
plotValue: ye + m.value,
|
|
44798
44807
|
toMax: i(ye + m.value),
|
|
44799
|
-
x: b.value.left +
|
|
44808
|
+
x: b.value.left + G * (b.value.width / (A.value - 1)) - a.value.style.padding.right,
|
|
44800
44809
|
y: b.value.bottom - b.value.height * i(ye + m.value)
|
|
44801
44810
|
};
|
|
44802
44811
|
})), U = ie(() => {
|
|
44803
44812
|
const J = n(t.dataset);
|
|
44804
44813
|
return a.value.style.trendLabel.trendType === "global" ? Pm(J) : a.value.style.trendLabel.trendType === "n-1" && J.length > 1 ? (J.at(-1) / J.at(-2) - 1) * 100 : a.value.style.trendLabel.trendType === "lastToFirst" ? (J.at(-1) / J[0] - 1) * 100 : 0;
|
|
44805
44814
|
}), C = ie(() => u.value || U.value === 0 ? "neutral" : U.value > 0 ? "positive" : "negative"), P = ie(() => a.value.style.arrow.colors[C.value]), W = ie(() => {
|
|
44806
|
-
const J = { x: x.value[0].x, y: g.value.height - 6 },
|
|
44815
|
+
const J = { x: x.value[0].x, y: g.value.height - 6 }, G = { x: x.value[x.value.length - 1].x, y: g.value.height - 6 }, ye = [];
|
|
44807
44816
|
return x.value.forEach((ve) => {
|
|
44808
44817
|
ye.push(`${ve.x},${ve.y} `);
|
|
44809
|
-
}), [J.x, J.y, ...ye,
|
|
44818
|
+
}), [J.x, J.y, ...ye, G.x, G.y].toString();
|
|
44810
44819
|
}), oe = ie(() => {
|
|
44811
44820
|
let J = [];
|
|
44812
|
-
return x.value.forEach((
|
|
44813
|
-
J.push(`${
|
|
44821
|
+
return x.value.forEach((G) => {
|
|
44822
|
+
J.push(`${G.x},${G.y} `);
|
|
44814
44823
|
}), `M ${J.toString()}`;
|
|
44815
44824
|
});
|
|
44816
|
-
return (J,
|
|
44825
|
+
return (J, G) => (c(), h("div", {
|
|
44817
44826
|
class: "vue-ui-spark-trend",
|
|
44818
44827
|
id: r.value,
|
|
44819
44828
|
style: O(`width:100%;font-family:${a.value.style.fontFamily};backgroundColor:${a.value.style.backgroundColor}`)
|
|
@@ -44909,7 +44918,7 @@ const tj = ["id"], lj = ["xmlns", "viewBox"], aj = ["id"], oj = ["stop-color"],
|
|
|
44909
44918
|
fill: a.value.style.trendLabel.useColorTrend ? P.value : a.value.style.trendLabel.color,
|
|
44910
44919
|
"font-size": a.value.style.trendLabel.fontSize,
|
|
44911
44920
|
"font-weight": a.value.style.trendLabel.bold ? "bold" : "normal"
|
|
44912
|
-
}, T(ue(
|
|
44921
|
+
}, T(ue(ht)({
|
|
44913
44922
|
p: U.value > 0 ? "+" : "",
|
|
44914
44923
|
v: U.value,
|
|
44915
44924
|
s: "%",
|
|
@@ -44932,7 +44941,7 @@ const tj = ["id"], lj = ["xmlns", "viewBox"], aj = ["id"], oj = ["stop-color"],
|
|
|
44932
44941
|
"font-size": a.value.style.dataLabel.fontSize,
|
|
44933
44942
|
fill: a.value.style.dataLabel.useColorTrend ? P.value : a.value.style.dataLabel.color,
|
|
44934
44943
|
"font-weight": a.value.style.dataLabel.bold ? "bold" : "normal"
|
|
44935
|
-
}, T(ue(
|
|
44944
|
+
}, T(ue(ht)({
|
|
44936
44945
|
p: a.value.style.dataLabel.prefix,
|
|
44937
44946
|
v: x.value.at(-1).value,
|
|
44938
44947
|
s: a.value.style.dataLabel.suffix,
|
|
@@ -44979,7 +44988,7 @@ const tj = ["id"], lj = ["xmlns", "viewBox"], aj = ["id"], oj = ["stop-color"],
|
|
|
44979
44988
|
"selectX"
|
|
44980
44989
|
],
|
|
44981
44990
|
setup(e, { expose: t, emit: l }) {
|
|
44982
|
-
const r = e, o = ie(() => !["VueUi3dBar", "VueUiAgePyramid", "VueUiAnnotator", "VueUiCandlestick", "VueUiChestnut", "VueUiDashboard", "VueUiDigits", "VueUiDonutEvolution", "VueUiDonut", "VueUiGauge", "VueUiGalaxy", "VueUiHeatmap", "VueUiKpi", "VueUiMiniLoader", "VueUiMolecule", "VueUiMoodRadar", "VueUiNestedDonuts", "VueUiOnion", "VueUiQuadrant", "VueUiRadar", "VueUiRating", "VueUiRelationCircle", "VueUiRings", "VueUiScatter", "VueUiScreenshot", "VueUiSkeleton", "VueUiSmiley", "VueUiSparkbar", "VueUiSparkgauge", "VueUiSparkHistogram", "VueUiSparkline", "VueUiSparkStackbar", "VueUiTableSparkline", "VueUiTable", "VueUiThermometer", "VueUiTiremarks", "VueUiVerticalBar", "VueUiWaffle", "VueUiWheel", "VueUiXy", "VueUiTreemap", "VueUiTableHeatmap", "VueUiAccordion", "VueUiQuickChart", "VueUiCursor", "VueUiSparkTrend"].includes(r.component)), a = N(null), n = N(null), s = N(null), u = N(null), v = N(null), g = N(null), b = N(null), p = N(null), m = N(null), d = N(null), i = N(null), A = N(null), x = N(null), U = N(null), C = N(null), P = N(null), W = N(null), oe = N(null), J = N(null),
|
|
44991
|
+
const r = e, o = ie(() => !["VueUi3dBar", "VueUiAgePyramid", "VueUiAnnotator", "VueUiCandlestick", "VueUiChestnut", "VueUiDashboard", "VueUiDigits", "VueUiDonutEvolution", "VueUiDonut", "VueUiGauge", "VueUiGalaxy", "VueUiHeatmap", "VueUiKpi", "VueUiMiniLoader", "VueUiMolecule", "VueUiMoodRadar", "VueUiNestedDonuts", "VueUiOnion", "VueUiQuadrant", "VueUiRadar", "VueUiRating", "VueUiRelationCircle", "VueUiRings", "VueUiScatter", "VueUiScreenshot", "VueUiSkeleton", "VueUiSmiley", "VueUiSparkbar", "VueUiSparkgauge", "VueUiSparkHistogram", "VueUiSparkline", "VueUiSparkStackbar", "VueUiTableSparkline", "VueUiTable", "VueUiThermometer", "VueUiTiremarks", "VueUiVerticalBar", "VueUiWaffle", "VueUiWheel", "VueUiXy", "VueUiTreemap", "VueUiTableHeatmap", "VueUiAccordion", "VueUiQuickChart", "VueUiCursor", "VueUiSparkTrend"].includes(r.component)), a = N(null), n = N(null), s = N(null), u = N(null), v = N(null), g = N(null), b = N(null), p = N(null), m = N(null), d = N(null), i = N(null), A = N(null), x = N(null), U = N(null), C = N(null), P = N(null), W = N(null), oe = N(null), J = N(null), G = N(null), ye = N(null), ve = N(null), V = N(null), R = N(null), K = N(null), Z = N(null), pe = N(null), _e = N(null), re = N(null), X = N(null), j = N(null), ee = N(null), Ae = N(null), S = N(null), M = N(null), k = N(null), F = N(null), Q = N(null), z = N(null), H = N(null), q = N(null), te = N(null), ne = N(null), me = N(null), se = N(null), ce = N(() => null), _ = N(() => null), E = N(() => null), I = N(() => null), xe = N(() => null), Y = N(() => null), Le = N(() => null), We = N(() => null), ke = N(() => null), Qe = N(() => null);
|
|
44983
44992
|
return Mt(() => {
|
|
44984
44993
|
if (o.value)
|
|
44985
44994
|
throw new Error(`
|
|
@@ -45035,7 +45044,7 @@ Available components:
|
|
|
45035
45044
|
. VueUiXy
|
|
45036
45045
|
|
|
45037
45046
|
`);
|
|
45038
|
-
ne.value && (_.value = ne.value.generatePdf, I.value = ne.value.generateImage), te.value && (_.value = te.value.generatePdf, E.value = te.value.generateCsv, I.value = te.value.generateImage), a.value && (_.value = a.value.generatePdf, I.value = a.value.generateImage), n.value && (_.value = n.value.generatePdf, E.value = n.value.generateCsv, I.value = n.value.generateImage), u.value && (_.value = u.value.generatePdf, E.value = u.value.generateCsv, I.value = u.value.generateImage), v.value && (ce.value = v.value.getData, _.value = v.value.generatePdf, E.value = v.value.generateCsv, I.value = v.value.generateImage), g.value && (xe.value = g.value.getItemsPositions, _.value = g.value.generatePdf), m.value && (ce.value = m.value.getData, _.value = m.value.generatePdf, E.value = m.value.generateCsv, I.value = m.value.generateImage), p.value && (ce.value = p.value.getData, _.value = p.value.generatePdf, E.value = p.value.generateCsv, I.value = p.value.generateImage), d.value && (ce.value = d.value.getData, _.value = d.value.generatePdf, E.value = d.value.generateCsv, I.value = d.value.generateImage), i.value && (_.value = i.value.generatePdf, I.value = i.value.generateImage), A.value && (_.value = A.value.generatePdf, E.value = A.value.generateCsv, I.value = A.value.generateImage), C.value && (ce.value = C.value.getData, _.value = C.value.generatePdf, E.value = C.value.generateCsv, I.value = C.value.generateImage), P.value && (ce.value = P.value.getData, _.value = P.value.generatePdf, E.value = P.value.generateCsv, I.value = P.value.generateImage), W.value && (ce.value = W.value.getData, _.value = W.value.generatePdf, E.value = W.value.generateCsv, I.value = W.value.generateImage), oe.value && (ce.value = oe.value.getData, _.value = oe.value.generatePdf, E.value = oe.value.generateCsv, I.value = oe.value.generateImage), J.value && (ce.value = J.value.getData, _.value = J.value.generatePdf, E.value = J.value.generateCsv, I.value = J.value.generateImage),
|
|
45047
|
+
ne.value && (_.value = ne.value.generatePdf, I.value = ne.value.generateImage), te.value && (_.value = te.value.generatePdf, E.value = te.value.generateCsv, I.value = te.value.generateImage), a.value && (_.value = a.value.generatePdf, I.value = a.value.generateImage), n.value && (_.value = n.value.generatePdf, E.value = n.value.generateCsv, I.value = n.value.generateImage), u.value && (_.value = u.value.generatePdf, E.value = u.value.generateCsv, I.value = u.value.generateImage), v.value && (ce.value = v.value.getData, _.value = v.value.generatePdf, E.value = v.value.generateCsv, I.value = v.value.generateImage), g.value && (xe.value = g.value.getItemsPositions, _.value = g.value.generatePdf), m.value && (ce.value = m.value.getData, _.value = m.value.generatePdf, E.value = m.value.generateCsv, I.value = m.value.generateImage), p.value && (ce.value = p.value.getData, _.value = p.value.generatePdf, E.value = p.value.generateCsv, I.value = p.value.generateImage), d.value && (ce.value = d.value.getData, _.value = d.value.generatePdf, E.value = d.value.generateCsv, I.value = d.value.generateImage), i.value && (_.value = i.value.generatePdf, I.value = i.value.generateImage), A.value && (_.value = A.value.generatePdf, E.value = A.value.generateCsv, I.value = A.value.generateImage), C.value && (ce.value = C.value.getData, _.value = C.value.generatePdf, E.value = C.value.generateCsv, I.value = C.value.generateImage), P.value && (ce.value = P.value.getData, _.value = P.value.generatePdf, E.value = P.value.generateCsv, I.value = P.value.generateImage), W.value && (ce.value = W.value.getData, _.value = W.value.generatePdf, E.value = W.value.generateCsv, I.value = W.value.generateImage), oe.value && (ce.value = oe.value.getData, _.value = oe.value.generatePdf, E.value = oe.value.generateCsv, I.value = oe.value.generateImage), J.value && (ce.value = J.value.getData, _.value = J.value.generatePdf, E.value = J.value.generateCsv, I.value = J.value.generateImage), G.value && (ce.value = G.value.getData, _.value = G.value.generatePdf, E.value = G.value.generateCsv, I.value = G.value.generateImage), ye.value && (ce.value = ye.value.getData, Y.value = ye.value.toggleReadonly), ve.value && (_.value = ve.value.generatePdf, I.value = ve.value.generateImage), V.value && (ce.value = V.value.getData, _.value = V.value.generatePdf, E.value = V.value.generateCsv, I.value = V.generateImage), R.value && (ce.value = R.value.getData, _.value = R.value.generatePdf, E.value = R.value.generateCsv, I.value = R.value.generateImage), K.value && (Le.value = K.value.shoot, We.value = K.value.close), pe.value && (ce.value = pe.value.getData, Y.value = pe.value.toggleReadonly), S.value && (_.value = S.value.generatePdf, E.value = S.value.generateCsv, I.value = S.value.generateImage, ke.value = S.value.restoreOrder), M.value && (_.value = M.value.generatePdf, I.value = M.value.generateImage), k.value && (_.value = k.value.generatePdf, I.value = k.value.generateImage), F.value && (ce.value = F.value.getData, _.value = F.value.generatePdf, E.value = F.value.generateCsv, I.value = F.value.generateImage), Q.value && (ce.value = Q.value.getData, Qe.value = Q.value.recalculateHeight, _.value = Q.value.generatePdf, E.value = Q.value.generateCsv, I.value = Q.value.generateImage), z.value && (ce.value = z.value.getData, _.value = z.value.generatePdf, E.value = z.value.generateCsv, I.value = z.value.generateImage), H.value && (_.value = H.value.generatePdf, I.value = H.value.generateImage), q.value && (ce.value = q.value.getData, _.value = q.value.generatePdf, E.value = q.generateCsv, I.value = q.generateImage);
|
|
45039
45048
|
}), t({
|
|
45040
45049
|
getData: ce,
|
|
45041
45050
|
generatePdf: _,
|
|
@@ -45488,7 +45497,7 @@ Available components:
|
|
|
45488
45497
|
dataset: e.dataset,
|
|
45489
45498
|
onSelectLegend: De[20] || (De[20] = (fe) => l("selectLegend", fe)),
|
|
45490
45499
|
ref_key: "vue_ui_radar",
|
|
45491
|
-
ref:
|
|
45500
|
+
ref: G
|
|
45492
45501
|
}, {
|
|
45493
45502
|
"tooltip-before": Ne(({ datapoint: fe, seriesIndex: He, dataset: je, config: Ke }) => [
|
|
45494
45503
|
Ue(Fe.$slots, "tooltip-before", tt(at({ datapoint: fe, seriesIndex: He, dataset: je, config: Ke })))
|
|
@@ -45608,7 +45617,7 @@ Available components:
|
|
|
45608
45617
|
dataset: e.dataset,
|
|
45609
45618
|
onSelectDatapoint: De[26] || (De[26] = ({ datapoint: fe, index: He }) => l("selectDatapoint", { datapoint: fe, index: He })),
|
|
45610
45619
|
ref_key: "vue_ui_sparkhistogram",
|
|
45611
|
-
ref:
|
|
45620
|
+
ref: X
|
|
45612
45621
|
}, null, 8, ["config", "dataset"])) : L("", !0),
|
|
45613
45622
|
e.component === "VueUiSparkline" ? (c(), Ve(o1, {
|
|
45614
45623
|
key: 36,
|