vue-data-ui 2.0.96 → 2.0.98
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { onMounted as
|
|
1
|
+
import { onMounted as $t, onUnmounted as H1, ref as N, computed as ie, openBlock as d, createElementBlock as f, createCommentVNode as L, useCssVars as Va, unref as Be, normalizeClass as He, createElementVNode as p, normalizeStyle as H, toDisplayString as D, Fragment as Ce, renderList as Le, renderSlot as Me, createVNode as ot, onBeforeUnmount as Cf, withDirectives as zl, withModifiers as En, withKeys as $a, createBlock as ze, pushScopeId as Ao, popScopeId as uo, createStaticVNode as vl, nextTick as fl, resolveComponent as io, vModelText as Qa, withCtx as Ie, normalizeProps as Ze, guardReactiveProps as tt, vModelCheckbox as gA, createTextVNode as dt, vModelSelect as P1, watch as xf, toRef as od, mergeProps as Cc } from "vue";
|
|
2
2
|
/*!
|
|
3
3
|
* html2canvas 1.4.1 <https://html2canvas.hertzen.com>
|
|
4
4
|
* Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
|
|
@@ -1221,7 +1221,7 @@ var gh = function(e, t) {
|
|
|
1221
1221
|
}, E0 = function(e, t, l) {
|
|
1222
1222
|
var r = typeof e == "number" ? e : M0(e, t, l), o = Math.abs(t * Math.sin(r)) + Math.abs(l * Math.cos(r)), a = t / 2, n = l / 2, s = o / 2, A = Math.sin(r - Math.PI / 2) * s, v = Math.cos(r - Math.PI / 2) * s;
|
|
1223
1223
|
return [o, a - v, a + v, n - A, n + A];
|
|
1224
|
-
},
|
|
1224
|
+
}, so = function(e, t) {
|
|
1225
1225
|
return Math.sqrt(e * e + t * t);
|
|
1226
1226
|
}, ph = function(e, t, l, r, o) {
|
|
1227
1227
|
var a = [
|
|
@@ -1231,7 +1231,7 @@ var gh = function(e, t) {
|
|
|
1231
1231
|
[e, t]
|
|
1232
1232
|
];
|
|
1233
1233
|
return a.reduce(function(n, s) {
|
|
1234
|
-
var A = s[0], v = s[1], g =
|
|
1234
|
+
var A = s[0], v = s[1], g = so(l - A, r - v);
|
|
1235
1235
|
return (o ? g < n.optimumDistance : g > n.optimumDistance) ? {
|
|
1236
1236
|
optimumCorner: s,
|
|
1237
1237
|
optimumDistance: g
|
|
@@ -1248,10 +1248,10 @@ var gh = function(e, t) {
|
|
|
1248
1248
|
break;
|
|
1249
1249
|
case 2:
|
|
1250
1250
|
if (e.shape === 0)
|
|
1251
|
-
a = n = Math.min(
|
|
1251
|
+
a = n = Math.min(so(t, l), so(t, l - o), so(t - r, l), so(t - r, l - o));
|
|
1252
1252
|
else if (e.shape === 1) {
|
|
1253
1253
|
var s = Math.min(Math.abs(l), Math.abs(l - o)) / Math.min(Math.abs(t), Math.abs(t - r)), A = ph(r, o, t, l, !0), v = A[0], g = A[1];
|
|
1254
|
-
a =
|
|
1254
|
+
a = so(v - t, (g - l) / s), n = s * a;
|
|
1255
1255
|
}
|
|
1256
1256
|
break;
|
|
1257
1257
|
case 1:
|
|
@@ -1259,10 +1259,10 @@ var gh = function(e, t) {
|
|
|
1259
1259
|
break;
|
|
1260
1260
|
case 3:
|
|
1261
1261
|
if (e.shape === 0)
|
|
1262
|
-
a = n = Math.max(
|
|
1262
|
+
a = n = Math.max(so(t, l), so(t, l - o), so(t - r, l), so(t - r, l - o));
|
|
1263
1263
|
else if (e.shape === 1) {
|
|
1264
1264
|
var s = Math.max(Math.abs(l), Math.abs(l - o)) / Math.max(Math.abs(t), Math.abs(t - r)), b = ph(r, o, t, l, !1), v = b[0], g = b[1];
|
|
1265
|
-
a =
|
|
1265
|
+
a = so(v - t, (g - l) / s), n = s * a;
|
|
1266
1266
|
}
|
|
1267
1267
|
break;
|
|
1268
1268
|
}
|
|
@@ -5011,7 +5011,7 @@ var hb = /* @__PURE__ */ Lo(Sr, 9, 0), fb = /* @__PURE__ */ Lo(Sr, 9, 1), vb = /
|
|
|
5011
5011
|
for (var t = e[0], l = 1; l < e.length; ++l)
|
|
5012
5012
|
e[l] > t && (t = e[l]);
|
|
5013
5013
|
return t;
|
|
5014
|
-
},
|
|
5014
|
+
}, ro = function(e, t, l) {
|
|
5015
5015
|
var r = t / 8 >> 0;
|
|
5016
5016
|
return (e[r] | e[r + 1] << 8) >>> (t & 7) & l;
|
|
5017
5017
|
}, hc = function(e, t) {
|
|
@@ -5035,29 +5035,29 @@ var hb = /* @__PURE__ */ Lo(Sr, 9, 0), fb = /* @__PURE__ */ Lo(Sr, 9, 1), vb = /
|
|
|
5035
5035
|
}, s = l.f || 0, A = l.p || 0, v = l.b || 0, g = l.l, b = l.d, y = l.m, w = l.n, u = r * 8;
|
|
5036
5036
|
do {
|
|
5037
5037
|
if (!g) {
|
|
5038
|
-
l.f = s =
|
|
5039
|
-
var c =
|
|
5038
|
+
l.f = s = ro(e, A, 1);
|
|
5039
|
+
var c = ro(e, A + 1, 3);
|
|
5040
5040
|
if (A += 3, c)
|
|
5041
5041
|
if (c == 1)
|
|
5042
5042
|
g = fb, b = gb, y = 9, w = 5;
|
|
5043
5043
|
else if (c == 2) {
|
|
5044
|
-
var k =
|
|
5044
|
+
var k = ro(e, A, 31) + 257, O = ro(e, A + 10, 15) + 4, W = k + ro(e, A + 5, 31) + 1;
|
|
5045
5045
|
A += 14;
|
|
5046
5046
|
for (var ae = new va(W), se = new va(19), J = 0; J < O; ++J)
|
|
5047
|
-
se[Wc[J]] =
|
|
5047
|
+
se[Wc[J]] = ro(e, A + J * 3, 7);
|
|
5048
5048
|
A += O * 3;
|
|
5049
5049
|
var ye = dc(se), ve = (1 << ye) - 1;
|
|
5050
5050
|
if (!a && A + W * (ye + 7) > u)
|
|
5051
5051
|
break;
|
|
5052
5052
|
for (var z = Lo(se, ye, 1), J = 0; J < W; ) {
|
|
5053
|
-
var V = z[
|
|
5053
|
+
var V = z[ro(e, A, ve)];
|
|
5054
5054
|
A += V & 15;
|
|
5055
5055
|
var i = V >>> 4;
|
|
5056
5056
|
if (i < 16)
|
|
5057
5057
|
ae[J++] = i;
|
|
5058
5058
|
else {
|
|
5059
5059
|
var Y = 0, de = 0;
|
|
5060
|
-
for (i == 16 ? (de = 3 +
|
|
5060
|
+
for (i == 16 ? (de = 3 + ro(e, A, 3), A += 2, Y = ae[J - 1]) : i == 17 ? (de = 3 + ro(e, A, 7), A += 3) : i == 18 && (de = 11 + ro(e, A, 127), A += 7); de--; )
|
|
5061
5061
|
ae[J++] = Y;
|
|
5062
5062
|
}
|
|
5063
5063
|
}
|
|
@@ -5094,7 +5094,7 @@ var hb = /* @__PURE__ */ Lo(Sr, 9, 0), fb = /* @__PURE__ */ Lo(Sr, 9, 1), vb = /
|
|
|
5094
5094
|
var re = te - 254;
|
|
5095
5095
|
if (te > 264) {
|
|
5096
5096
|
var J = te - 257, _ = YA[J];
|
|
5097
|
-
re =
|
|
5097
|
+
re = ro(e, A, (1 << _) - 1) + Lv[J], A += _;
|
|
5098
5098
|
}
|
|
5099
5099
|
var Q = b[hc(e, A) & G], U = Q >>> 4;
|
|
5100
5100
|
if (!Q)
|
|
@@ -5678,7 +5678,7 @@ function bt(e) {
|
|
|
5678
5678
|
o = o || "a4";
|
|
5679
5679
|
var F = { COMPAT: "compat", ADVANCED: "advanced" }, k = F.COMPAT;
|
|
5680
5680
|
function O() {
|
|
5681
|
-
this.saveGraphicsState(),
|
|
5681
|
+
this.saveGraphicsState(), T(new pt(nt, 0, 0, -nt, 0, ar() * nt).toString() + " cm"), this.setFontSize(this.getFontSize() / nt), v = "n", k = F.ADVANCED;
|
|
5682
5682
|
}
|
|
5683
5683
|
function W() {
|
|
5684
5684
|
this.restoreGraphicsState(), v = "S", k = F.COMPAT;
|
|
@@ -5781,7 +5781,7 @@ function bt(e) {
|
|
|
5781
5781
|
}, S = w.__private__.padd2Hex = function(x) {
|
|
5782
5782
|
return ("00" + (x = x.toString())).substr(x.length);
|
|
5783
5783
|
}, $ = 0, K = [], I = [], P = 0, j = [], q = [], fe = !1, Z = I, pe = function() {
|
|
5784
|
-
$ = 0, P = 0, I = [], K = [], j = [], Eo = El(),
|
|
5784
|
+
$ = 0, P = 0, I = [], K = [], j = [], Eo = El(), ja = El();
|
|
5785
5785
|
};
|
|
5786
5786
|
w.__private__.setCustomOutputDestination = function(x) {
|
|
5787
5787
|
fe = !0, Z = x;
|
|
@@ -5792,10 +5792,10 @@ function bt(e) {
|
|
|
5792
5792
|
w.__private__.resetCustomOutputDestination = function() {
|
|
5793
5793
|
fe = !1, Z = I;
|
|
5794
5794
|
};
|
|
5795
|
-
var
|
|
5795
|
+
var T = w.__private__.out = function(x) {
|
|
5796
5796
|
return x = x.toString(), P += x.length + 1, Z.push(x), Z;
|
|
5797
5797
|
}, ee = w.__private__.write = function(x) {
|
|
5798
|
-
return
|
|
5798
|
+
return T(arguments.length === 1 ? x.toString() : Array.prototype.join.call(arguments, " "));
|
|
5799
5799
|
}, ue = w.__private__.getArrayBuffer = function(x) {
|
|
5800
5800
|
for (var oe = x.length, Se = new ArrayBuffer(oe), Ue = new Uint8Array(Se); oe--; )
|
|
5801
5801
|
Ue[oe] = x.charCodeAt(oe);
|
|
@@ -5864,7 +5864,7 @@ function bt(e) {
|
|
|
5864
5864
|
throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");
|
|
5865
5865
|
return ht[x] = oe;
|
|
5866
5866
|
};
|
|
5867
|
-
var Et, nt, Vl, Pt, Kl, Kt = {}, cl = {}, yo = [], Wt = {}, $r = {}, bl = {},
|
|
5867
|
+
var Et, nt, Vl, Pt, Kl, Kt = {}, cl = {}, yo = [], Wt = {}, $r = {}, bl = {}, Ka = {}, Mo = null, wl = 0, Bt = [], jt = new lf(w), Qr = e.hotfixes || [], Jl = {}, po = {}, bo = [], pt = function x(oe, Se, Ue, De, Ke, Je) {
|
|
5868
5868
|
if (!(this instanceof x))
|
|
5869
5869
|
return new x(oe, Se, Ue, De, Ke, Je);
|
|
5870
5870
|
isNaN(oe) && (oe = 1), isNaN(Se) && (Se = 0), isNaN(Ue) && (Ue = 0), isNaN(De) && (De = 1), isNaN(Ke) && (Ke = 0), isNaN(Je) && (Je = 0), this._matrix = [oe, Se, Ue, De, Ke, Je];
|
|
@@ -5938,8 +5938,8 @@ function bt(e) {
|
|
|
5938
5938
|
}, pt.prototype.toString = function(x) {
|
|
5939
5939
|
return this.join(" ");
|
|
5940
5940
|
}, pt.prototype.inversed = function() {
|
|
5941
|
-
var x = this.sx, oe = this.shy, Se = this.shx, Ue = this.sy, De = this.tx, Ke = this.ty, Je = 1 / (x * Ue - oe * Se), it = Ue * Je, gt = -oe * Je, St = -Se * Je,
|
|
5942
|
-
return new pt(it, gt, St,
|
|
5941
|
+
var x = this.sx, oe = this.shy, Se = this.shx, Ue = this.sy, De = this.tx, Ke = this.ty, Je = 1 / (x * Ue - oe * Se), it = Ue * Je, gt = -oe * Je, St = -Se * Je, Qt = x * Je;
|
|
5942
|
+
return new pt(it, gt, St, Qt, -it * De - St * Ke, -gt * De - Qt * Ke);
|
|
5943
5943
|
}, pt.prototype.applyToPoint = function(x) {
|
|
5944
5944
|
var oe = x.x * this.sx + x.y * this.shx + this.tx, Se = x.x * this.shy + x.y * this.sy + this.ty;
|
|
5945
5945
|
return new cn(oe, Se);
|
|
@@ -5950,7 +5950,7 @@ function bt(e) {
|
|
|
5950
5950
|
var x = this.sx, oe = this.shy, Se = this.shx, Ue = this.sy, De = this.tx, Ke = this.ty;
|
|
5951
5951
|
return new pt(x, oe, Se, Ue, De, Ke);
|
|
5952
5952
|
}, w.Matrix = pt;
|
|
5953
|
-
var
|
|
5953
|
+
var Wa = w.matrixMult = function(x, oe) {
|
|
5954
5954
|
return oe.multiply(x);
|
|
5955
5955
|
}, wo = new pt(1, 0, 0, 1, 0, 0);
|
|
5956
5956
|
w.unitMatrix = w.identityMatrix = wo;
|
|
@@ -5976,11 +5976,11 @@ function bt(e) {
|
|
|
5976
5976
|
return P;
|
|
5977
5977
|
}, $;
|
|
5978
5978
|
}, Ba = function(x, oe) {
|
|
5979
|
-
return oe = typeof oe == "boolean" && oe, K[x] = P, oe &&
|
|
5979
|
+
return oe = typeof oe == "boolean" && oe, K[x] = P, oe && T(x + " 0 obj"), x;
|
|
5980
5980
|
}, Yr = w.__private__.newAdditionalObject = function() {
|
|
5981
5981
|
var x = { objId: El(), content: "" };
|
|
5982
5982
|
return j.push(x), x;
|
|
5983
|
-
}, Eo = El(),
|
|
5983
|
+
}, Eo = El(), ja = El(), Ga = w.__private__.decodeColorString = function(x) {
|
|
5984
5984
|
var oe = x.split(" ");
|
|
5985
5985
|
if (oe.length !== 2 || oe[1] !== "g" && oe[1] !== "G")
|
|
5986
5986
|
oe.length === 5 && (oe[4] === "k" || oe[4] === "K") && (oe = [(1 - oe[0]) * (1 - oe[3]), (1 - oe[1]) * (1 - oe[3]), (1 - oe[2]) * (1 - oe[3]), "r"]);
|
|
@@ -5991,7 +5991,7 @@ function bt(e) {
|
|
|
5991
5991
|
for (var Ue = "#", De = 0; De < 3; De++)
|
|
5992
5992
|
Ue += ("0" + Math.floor(255 * parseFloat(oe[De])).toString(16)).slice(-2);
|
|
5993
5993
|
return Ue;
|
|
5994
|
-
},
|
|
5994
|
+
}, Xa = w.__private__.encodeColorString = function(x) {
|
|
5995
5995
|
var oe;
|
|
5996
5996
|
typeof x == "string" && (x = { ch1: x });
|
|
5997
5997
|
var Se = x.ch1, Ue = x.ch2, De = x.ch3, Ke = x.ch4, Je = x.pdfColorType === "draw" ? ["G", "RG", "K"] : ["g", "rg", "k"];
|
|
@@ -6055,12 +6055,12 @@ function bt(e) {
|
|
|
6055
6055
|
g !== null && (it = aa.encryptor(Je, 0));
|
|
6056
6056
|
var gt = {};
|
|
6057
6057
|
Se === !0 && (Se = ["FlateEncode"]);
|
|
6058
|
-
var St = x.additionalKeyValues || [],
|
|
6059
|
-
if (gt.data.length !== 0 && (St.push({ key: "Length", value: gt.data.length }), De === !0 && St.push({ key: "Length1", value: Ke })),
|
|
6060
|
-
if (
|
|
6061
|
-
St.push({ key: "Filter", value:
|
|
6058
|
+
var St = x.additionalKeyValues || [], Qt = (gt = bt.API.processDataByFilters !== void 0 ? bt.API.processDataByFilters(oe, Se) : { data: oe, reverseChain: [] }).reverseChain + (Array.isArray(Ue) ? Ue.join(" ") : Ue.toString());
|
|
6059
|
+
if (gt.data.length !== 0 && (St.push({ key: "Length", value: gt.data.length }), De === !0 && St.push({ key: "Length1", value: Ke })), Qt.length != 0)
|
|
6060
|
+
if (Qt.split("/").length - 1 == 1)
|
|
6061
|
+
St.push({ key: "Filter", value: Qt });
|
|
6062
6062
|
else {
|
|
6063
|
-
St.push({ key: "Filter", value: "[" +
|
|
6063
|
+
St.push({ key: "Filter", value: "[" + Qt + "]" });
|
|
6064
6064
|
for (var Ot = 0; Ot < St.length; Ot += 1)
|
|
6065
6065
|
if (St[Ot].key === "DecodeParms") {
|
|
6066
6066
|
for (var hl = [], ml = 0; ml < gt.reverseChain.split("/").length - 1; ml += 1)
|
|
@@ -6068,30 +6068,30 @@ function bt(e) {
|
|
|
6068
6068
|
hl.push(St[Ot].value), St[Ot].value = "[" + hl.join(" ") + "]";
|
|
6069
6069
|
}
|
|
6070
6070
|
}
|
|
6071
|
-
|
|
6071
|
+
T("<<");
|
|
6072
6072
|
for (var Il = 0; Il < St.length; Il++)
|
|
6073
|
-
|
|
6074
|
-
|
|
6073
|
+
T("/" + St[Il].key + " " + St[Il].value);
|
|
6074
|
+
T(">>"), gt.data.length !== 0 && (T("stream"), T(it(gt.data)), T("endstream"));
|
|
6075
6075
|
}, Co = w.__private__.putPage = function(x) {
|
|
6076
6076
|
var oe = x.number, Se = x.data, Ue = x.objId, De = x.contentsObjId;
|
|
6077
|
-
Ba(Ue, !0),
|
|
6077
|
+
Ba(Ue, !0), T("<</Type /Page"), T("/Parent " + x.rootDictionaryObjId + " 0 R"), T("/Resources " + x.resourceDictionaryObjId + " 0 R"), T("/MediaBox [" + parseFloat(se(x.mediaBox.bottomLeftX)) + " " + parseFloat(se(x.mediaBox.bottomLeftY)) + " " + se(x.mediaBox.topRightX) + " " + se(x.mediaBox.topRightY) + "]"), x.cropBox !== null && T("/CropBox [" + se(x.cropBox.bottomLeftX) + " " + se(x.cropBox.bottomLeftY) + " " + se(x.cropBox.topRightX) + " " + se(x.cropBox.topRightY) + "]"), x.bleedBox !== null && T("/BleedBox [" + se(x.bleedBox.bottomLeftX) + " " + se(x.bleedBox.bottomLeftY) + " " + se(x.bleedBox.topRightX) + " " + se(x.bleedBox.topRightY) + "]"), x.trimBox !== null && T("/TrimBox [" + se(x.trimBox.bottomLeftX) + " " + se(x.trimBox.bottomLeftY) + " " + se(x.trimBox.topRightX) + " " + se(x.trimBox.topRightY) + "]"), x.artBox !== null && T("/ArtBox [" + se(x.artBox.bottomLeftX) + " " + se(x.artBox.bottomLeftY) + " " + se(x.artBox.topRightX) + " " + se(x.artBox.topRightY) + "]"), typeof x.userUnit == "number" && x.userUnit !== 1 && T("/UserUnit " + x.userUnit), jt.publish("putPage", { objId: Ue, pageContext: Bt[oe], pageNumber: oe, page: Se }), T("/Contents " + De + " 0 R"), T(">>"), T("endobj");
|
|
6078
6078
|
var Ke = Se.join(`
|
|
6079
6079
|
`);
|
|
6080
6080
|
return k === F.ADVANCED && (Ke += `
|
|
6081
|
-
Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }),
|
|
6081
|
+
Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), T("endobj"), Ue;
|
|
6082
6082
|
}, Mr = w.__private__.putPages = function() {
|
|
6083
6083
|
var x, oe, Se = [];
|
|
6084
6084
|
for (x = 1; x <= wl; x++)
|
|
6085
6085
|
Bt[x].objId = El(), Bt[x].contentsObjId = El();
|
|
6086
6086
|
for (x = 1; x <= wl; x++)
|
|
6087
|
-
Se.push(Co({ number: x, data: q[x], objId: Bt[x].objId, contentsObjId: Bt[x].contentsObjId, mediaBox: Bt[x].mediaBox, cropBox: Bt[x].cropBox, bleedBox: Bt[x].bleedBox, trimBox: Bt[x].trimBox, artBox: Bt[x].artBox, userUnit: Bt[x].userUnit, rootDictionaryObjId: Eo, resourceDictionaryObjId:
|
|
6088
|
-
Ba(Eo, !0),
|
|
6087
|
+
Se.push(Co({ number: x, data: q[x], objId: Bt[x].objId, contentsObjId: Bt[x].contentsObjId, mediaBox: Bt[x].mediaBox, cropBox: Bt[x].cropBox, bleedBox: Bt[x].bleedBox, trimBox: Bt[x].trimBox, artBox: Bt[x].artBox, userUnit: Bt[x].userUnit, rootDictionaryObjId: Eo, resourceDictionaryObjId: ja }));
|
|
6088
|
+
Ba(Eo, !0), T("<</Type /Pages");
|
|
6089
6089
|
var Ue = "/Kids [";
|
|
6090
6090
|
for (oe = 0; oe < wl; oe++)
|
|
6091
6091
|
Ue += Se[oe] + " 0 R ";
|
|
6092
|
-
|
|
6092
|
+
T(Ue + "]"), T("/Count " + wl), T(">>"), T("endobj"), jt.publish("postPutPages");
|
|
6093
6093
|
}, Jr = function(x) {
|
|
6094
|
-
jt.publish("putFont", { font: x, out:
|
|
6094
|
+
jt.publish("putFont", { font: x, out: T, newObject: Pl, putStream: Ma }), x.isAlreadyPutted !== !0 && (x.objectNumber = Pl(), T("<<"), T("/Type /Font"), T("/BaseFont /" + Dn(x.postScriptName)), T("/Subtype /Type1"), typeof x.encoding == "string" && T("/Encoding /" + x.encoding), T("/FirstChar 32"), T("/LastChar 255"), T(">>"), T("endobj"));
|
|
6095
6095
|
}, Zr = function() {
|
|
6096
6096
|
for (var x in Kt)
|
|
6097
6097
|
Kt.hasOwnProperty(x) && (b === !1 || b === !0 && y.hasOwnProperty(x)) && Jr(Kt[x]);
|
|
@@ -6101,7 +6101,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6101
6101
|
oe.push({ key: "Type", value: "/XObject" }), oe.push({ key: "Subtype", value: "/Form" }), oe.push({ key: "BBox", value: "[" + [se(x.x), se(x.y), se(x.x + x.width), se(x.y + x.height)].join(" ") + "]" }), oe.push({ key: "Matrix", value: "[" + x.matrix.toString() + "]" });
|
|
6102
6102
|
var Se = x.pages[1].join(`
|
|
6103
6103
|
`);
|
|
6104
|
-
Ma({ data: Se, additionalKeyValues: oe, objectId: x.objectNumber }),
|
|
6104
|
+
Ma({ data: Se, additionalKeyValues: oe, objectId: x.objectNumber }), T("endobj");
|
|
6105
6105
|
}, tn = function() {
|
|
6106
6106
|
for (var x in Jl)
|
|
6107
6107
|
Jl.hasOwnProperty(x) && en(Jl[x]);
|
|
@@ -6120,78 +6120,78 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6120
6120
|
for (var it = "", gt = 0, St = 0; St < Ue.length; St++) {
|
|
6121
6121
|
for (Se = Ue[St]; Se > x[gt + 1].offset; )
|
|
6122
6122
|
gt++;
|
|
6123
|
-
var
|
|
6123
|
+
var Qt = x[gt].offset, Ot = (Se - Qt) / (x[gt + 1].offset - Qt), hl = x[gt].color, ml = x[gt + 1].color;
|
|
6124
6124
|
it += S(Math.round((1 - Ot) * hl[0] + Ot * ml[0]).toString(16)) + S(Math.round((1 - Ot) * hl[1] + Ot * ml[1]).toString(16)) + S(Math.round((1 - Ot) * hl[2] + Ot * ml[2]).toString(16));
|
|
6125
6125
|
}
|
|
6126
6126
|
return it.trim();
|
|
6127
6127
|
}, tu = function(x, oe) {
|
|
6128
6128
|
oe || (oe = 21);
|
|
6129
6129
|
var Se = Pl(), Ue = ei(x.colors, oe), De = [];
|
|
6130
|
-
De.push({ key: "FunctionType", value: "0" }), De.push({ key: "Domain", value: "[0.0 1.0]" }), De.push({ key: "Size", value: "[" + oe + "]" }), De.push({ key: "BitsPerSample", value: "8" }), De.push({ key: "Range", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), De.push({ key: "Decode", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), Ma({ data: Ue, additionalKeyValues: De, alreadyAppliedFilters: ["/ASCIIHexDecode"], objectId: Se }),
|
|
6130
|
+
De.push({ key: "FunctionType", value: "0" }), De.push({ key: "Domain", value: "[0.0 1.0]" }), De.push({ key: "Size", value: "[" + oe + "]" }), De.push({ key: "BitsPerSample", value: "8" }), De.push({ key: "Range", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), De.push({ key: "Decode", value: "[0.0 1.0 0.0 1.0 0.0 1.0]" }), Ma({ data: Ue, additionalKeyValues: De, alreadyAppliedFilters: ["/ASCIIHexDecode"], objectId: Se }), T("endobj"), x.objectNumber = Pl(), T("<< /ShadingType " + x.type), T("/ColorSpace /DeviceRGB");
|
|
6131
6131
|
var Ke = "/Coords [" + se(parseFloat(x.coords[0])) + " " + se(parseFloat(x.coords[1])) + " ";
|
|
6132
|
-
x.type === 2 ? Ke += se(parseFloat(x.coords[2])) + " " + se(parseFloat(x.coords[3])) : Ke += se(parseFloat(x.coords[2])) + " " + se(parseFloat(x.coords[3])) + " " + se(parseFloat(x.coords[4])) + " " + se(parseFloat(x.coords[5])),
|
|
6132
|
+
x.type === 2 ? Ke += se(parseFloat(x.coords[2])) + " " + se(parseFloat(x.coords[3])) : Ke += se(parseFloat(x.coords[2])) + " " + se(parseFloat(x.coords[3])) + " " + se(parseFloat(x.coords[4])) + " " + se(parseFloat(x.coords[5])), T(Ke += "]"), x.matrix && T("/Matrix [" + x.matrix.toString() + "]"), T("/Function " + Se + " 0 R"), T("/Extend [true true]"), T(">>"), T("endobj");
|
|
6133
6133
|
}, lu = function(x, oe) {
|
|
6134
6134
|
var Se = El(), Ue = Pl();
|
|
6135
6135
|
oe.push({ resourcesOid: Se, objectOid: Ue }), x.objectNumber = Ue;
|
|
6136
6136
|
var De = [];
|
|
6137
|
-
De.push({ key: "Type", value: "/Pattern" }), De.push({ key: "PatternType", value: "1" }), De.push({ key: "PaintType", value: "1" }), De.push({ key: "TilingType", value: "1" }), De.push({ key: "BBox", value: "[" + x.boundingBox.map(se).join(" ") + "]" }), De.push({ key: "XStep", value: se(x.xStep) }), De.push({ key: "YStep", value: se(x.yStep) }), De.push({ key: "Resources", value: Se + " 0 R" }), x.matrix && De.push({ key: "Matrix", value: "[" + x.matrix.toString() + "]" }), Ma({ data: x.stream, additionalKeyValues: De, objectId: x.objectNumber }),
|
|
6137
|
+
De.push({ key: "Type", value: "/Pattern" }), De.push({ key: "PatternType", value: "1" }), De.push({ key: "PaintType", value: "1" }), De.push({ key: "TilingType", value: "1" }), De.push({ key: "BBox", value: "[" + x.boundingBox.map(se).join(" ") + "]" }), De.push({ key: "XStep", value: se(x.xStep) }), De.push({ key: "YStep", value: se(x.yStep) }), De.push({ key: "Resources", value: Se + " 0 R" }), x.matrix && De.push({ key: "Matrix", value: "[" + x.matrix.toString() + "]" }), Ma({ data: x.stream, additionalKeyValues: De, objectId: x.objectNumber }), T("endobj");
|
|
6138
6138
|
}, ln = function(x) {
|
|
6139
6139
|
var oe;
|
|
6140
6140
|
for (oe in Wt)
|
|
6141
6141
|
Wt.hasOwnProperty(oe) && (Wt[oe] instanceof Vr ? tu(Wt[oe]) : Wt[oe] instanceof Pn && lu(Wt[oe], x));
|
|
6142
6142
|
}, ti = function(x) {
|
|
6143
|
-
for (var oe in x.objectNumber = Pl(),
|
|
6143
|
+
for (var oe in x.objectNumber = Pl(), T("<<"), x)
|
|
6144
6144
|
switch (oe) {
|
|
6145
6145
|
case "opacity":
|
|
6146
|
-
|
|
6146
|
+
T("/ca " + ve(x[oe]));
|
|
6147
6147
|
break;
|
|
6148
6148
|
case "stroke-opacity":
|
|
6149
|
-
|
|
6149
|
+
T("/CA " + ve(x[oe]));
|
|
6150
6150
|
}
|
|
6151
|
-
|
|
6151
|
+
T(">>"), T("endobj");
|
|
6152
6152
|
}, au = function() {
|
|
6153
6153
|
var x;
|
|
6154
6154
|
for (x in bl)
|
|
6155
6155
|
bl.hasOwnProperty(x) && ti(bl[x]);
|
|
6156
6156
|
}, Yn = function() {
|
|
6157
|
-
for (var x in
|
|
6158
|
-
Jl.hasOwnProperty(x) && Jl[x].objectNumber >= 0 &&
|
|
6159
|
-
jt.publish("putXobjectDict"),
|
|
6157
|
+
for (var x in T("/XObject <<"), Jl)
|
|
6158
|
+
Jl.hasOwnProperty(x) && Jl[x].objectNumber >= 0 && T("/" + x + " " + Jl[x].objectNumber + " 0 R");
|
|
6159
|
+
jt.publish("putXobjectDict"), T(">>");
|
|
6160
6160
|
}, ou = function() {
|
|
6161
|
-
aa.oid = Pl(),
|
|
6161
|
+
aa.oid = Pl(), T("<<"), T("/Filter /Standard"), T("/V " + aa.v), T("/R " + aa.r), T("/U <" + aa.toHexString(aa.U) + ">"), T("/O <" + aa.toHexString(aa.O) + ">"), T("/P " + aa.P), T(">>"), T("endobj");
|
|
6162
6162
|
}, li = function() {
|
|
6163
|
-
for (var x in
|
|
6164
|
-
Kt.hasOwnProperty(x) && (b === !1 || b === !0 && y.hasOwnProperty(x)) &&
|
|
6165
|
-
|
|
6163
|
+
for (var x in T("/Font <<"), Kt)
|
|
6164
|
+
Kt.hasOwnProperty(x) && (b === !1 || b === !0 && y.hasOwnProperty(x)) && T("/" + x + " " + Kt[x].objectNumber + " 0 R");
|
|
6165
|
+
T(">>");
|
|
6166
6166
|
}, ru = function() {
|
|
6167
6167
|
if (Object.keys(Wt).length > 0) {
|
|
6168
|
-
for (var x in
|
|
6169
|
-
Wt.hasOwnProperty(x) && Wt[x] instanceof Vr && Wt[x].objectNumber >= 0 &&
|
|
6170
|
-
jt.publish("putShadingPatternDict"),
|
|
6168
|
+
for (var x in T("/Shading <<"), Wt)
|
|
6169
|
+
Wt.hasOwnProperty(x) && Wt[x] instanceof Vr && Wt[x].objectNumber >= 0 && T("/" + x + " " + Wt[x].objectNumber + " 0 R");
|
|
6170
|
+
jt.publish("putShadingPatternDict"), T(">>");
|
|
6171
6171
|
}
|
|
6172
6172
|
}, an = function(x) {
|
|
6173
6173
|
if (Object.keys(Wt).length > 0) {
|
|
6174
|
-
for (var oe in
|
|
6175
|
-
Wt.hasOwnProperty(oe) && Wt[oe] instanceof w.TilingPattern && Wt[oe].objectNumber >= 0 && Wt[oe].objectNumber < x &&
|
|
6176
|
-
jt.publish("putTilingPatternDict"),
|
|
6174
|
+
for (var oe in T("/Pattern <<"), Wt)
|
|
6175
|
+
Wt.hasOwnProperty(oe) && Wt[oe] instanceof w.TilingPattern && Wt[oe].objectNumber >= 0 && Wt[oe].objectNumber < x && T("/" + oe + " " + Wt[oe].objectNumber + " 0 R");
|
|
6176
|
+
jt.publish("putTilingPatternDict"), T(">>");
|
|
6177
6177
|
}
|
|
6178
6178
|
}, nu = function() {
|
|
6179
6179
|
if (Object.keys(bl).length > 0) {
|
|
6180
6180
|
var x;
|
|
6181
|
-
for (x in
|
|
6182
|
-
bl.hasOwnProperty(x) && bl[x].objectNumber >= 0 &&
|
|
6183
|
-
jt.publish("putGStateDict"),
|
|
6181
|
+
for (x in T("/ExtGState <<"), bl)
|
|
6182
|
+
bl.hasOwnProperty(x) && bl[x].objectNumber >= 0 && T("/" + x + " " + bl[x].objectNumber + " 0 R");
|
|
6183
|
+
jt.publish("putGStateDict"), T(">>");
|
|
6184
6184
|
}
|
|
6185
6185
|
}, kl = function(x) {
|
|
6186
|
-
Ba(x.resourcesOid, !0),
|
|
6186
|
+
Ba(x.resourcesOid, !0), T("<<"), T("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"), li(), ru(), an(x.objectOid), nu(), Yn(), T(">>"), T("endobj");
|
|
6187
6187
|
}, ai = function() {
|
|
6188
6188
|
var x = [];
|
|
6189
|
-
Zr(), au(), tn(), ln(x), jt.publish("putResources"), x.forEach(kl), kl({ resourcesOid:
|
|
6189
|
+
Zr(), au(), tn(), ln(x), jt.publish("putResources"), x.forEach(kl), kl({ resourcesOid: ja, objectOid: Number.MAX_SAFE_INTEGER }), jt.publish("postPutResources");
|
|
6190
6190
|
}, oi = function() {
|
|
6191
6191
|
jt.publish("putAdditionalObjects");
|
|
6192
6192
|
for (var x = 0; x < j.length; x++) {
|
|
6193
6193
|
var oe = j[x];
|
|
6194
|
-
Ba(oe.objId, !0),
|
|
6194
|
+
Ba(oe.objId, !0), T(oe.content), T("endobj");
|
|
6195
6195
|
}
|
|
6196
6196
|
jt.publish("postPutAdditionalObjects");
|
|
6197
6197
|
}, ri = function(x) {
|
|
@@ -6207,7 +6207,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6207
6207
|
ri({ id: Ue, fontName: De[0], fontStyle: De[1] || "" });
|
|
6208
6208
|
}
|
|
6209
6209
|
jt.publish("addFonts", { fonts: Kt, dictionary: cl });
|
|
6210
|
-
},
|
|
6210
|
+
}, qa = function(x) {
|
|
6211
6211
|
return x.foo = function() {
|
|
6212
6212
|
try {
|
|
6213
6213
|
return x.apply(this, arguments);
|
|
@@ -6222,7 +6222,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6222
6222
|
}
|
|
6223
6223
|
}, x.foo.bar = x, x.foo;
|
|
6224
6224
|
}, on = function(x, oe) {
|
|
6225
|
-
var Se, Ue, De, Ke, Je, it, gt, St,
|
|
6225
|
+
var Se, Ue, De, Ke, Je, it, gt, St, Qt;
|
|
6226
6226
|
if (De = (oe = oe || {}).sourceEncoding || "Unicode", Je = oe.outputEncoding, (oe.autoencode || Je) && Kt[Et].metadata && Kt[Et].metadata[De] && Kt[Et].metadata[De].encoding && (Ke = Kt[Et].metadata[De].encoding, !Je && Kt[Et].encoding && (Je = Kt[Et].encoding), !Je && Ke.codePages && (Je = Ke.codePages[0]), typeof Je == "string" && (Je = Ke[Je]), Je)) {
|
|
6227
6227
|
for (gt = !1, it = [], Se = 0, Ue = x.length; Se < Ue; Se++)
|
|
6228
6228
|
(St = Je[x.charCodeAt(Se)]) ? it.push(String.fromCharCode(St)) : it.push(x[Se]), it[Se].charCodeAt(0) >> 8 && (gt = !0);
|
|
@@ -6233,9 +6233,9 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6233
6233
|
if (!gt)
|
|
6234
6234
|
return x;
|
|
6235
6235
|
for (it = oe.noBOM ? [] : [254, 255], Se = 0, Ue = x.length; Se < Ue; Se++) {
|
|
6236
|
-
if ((
|
|
6236
|
+
if ((Qt = (St = x.charCodeAt(Se)) >> 8) >> 8)
|
|
6237
6237
|
throw new Error("Character at position " + Se + " of string '" + x + "' exceeds 16bits. Cannot be encoded into UCS-2 BE");
|
|
6238
|
-
it.push(
|
|
6238
|
+
it.push(Qt), it.push(St - (Qt << 8));
|
|
6239
6239
|
}
|
|
6240
6240
|
return String.fromCharCode.apply(void 0, it);
|
|
6241
6241
|
}, pa = w.__private__.pdfEscape = w.pdfEscape = function(x, oe) {
|
|
@@ -6251,7 +6251,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6251
6251
|
case "p":
|
|
6252
6252
|
Ue > De && (o = [De, Ue]);
|
|
6253
6253
|
}
|
|
6254
|
-
Zn(o), hi(as),
|
|
6254
|
+
Zn(o), hi(as), T(Ya), rs !== 0 && T(rs + " J"), ns !== 0 && T(ns + " j"), jt.publish("addPage", { pageNumber: wl });
|
|
6255
6255
|
}, iu = function(x) {
|
|
6256
6256
|
x > 0 && x <= wl && (q.splice(x, 1), Bt.splice(x, 1), wl--, Q > wl && (Q = wl), this.setPage(Q));
|
|
6257
6257
|
}, si = function(x) {
|
|
@@ -6265,60 +6265,60 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6265
6265
|
var x = Pl(), oe = function(Ue) {
|
|
6266
6266
|
return Ue;
|
|
6267
6267
|
};
|
|
6268
|
-
for (var Se in g !== null && (oe = aa.encryptor(x, 0)),
|
|
6269
|
-
ht.hasOwnProperty(Se) && ht[Se] &&
|
|
6270
|
-
|
|
6268
|
+
for (var Se in g !== null && (oe = aa.encryptor(x, 0)), T("<<"), T("/Producer (" + pa(oe("jsPDF " + bt.version)) + ")"), ht)
|
|
6269
|
+
ht.hasOwnProperty(Se) && ht[Se] && T("/" + Se.substr(0, 1).toUpperCase() + Se.substr(1) + " (" + pa(oe(ht[Se])) + ")");
|
|
6270
|
+
T("/CreationDate (" + pa(oe(we)) + ")"), T(">>"), T("endobj");
|
|
6271
6271
|
}, es = w.__private__.putCatalog = function(x) {
|
|
6272
6272
|
var oe = (x = x || {}).rootDictionaryObjId || Eo;
|
|
6273
|
-
switch (Pl(),
|
|
6273
|
+
switch (Pl(), T("<<"), T("/Type /Catalog"), T("/Pages " + oe + " 0 R"), Fe || (Fe = "fullwidth"), Fe) {
|
|
6274
6274
|
case "fullwidth":
|
|
6275
|
-
|
|
6275
|
+
T("/OpenAction [3 0 R /FitH null]");
|
|
6276
6276
|
break;
|
|
6277
6277
|
case "fullheight":
|
|
6278
|
-
|
|
6278
|
+
T("/OpenAction [3 0 R /FitV null]");
|
|
6279
6279
|
break;
|
|
6280
6280
|
case "fullpage":
|
|
6281
|
-
|
|
6281
|
+
T("/OpenAction [3 0 R /Fit]");
|
|
6282
6282
|
break;
|
|
6283
6283
|
case "original":
|
|
6284
|
-
|
|
6284
|
+
T("/OpenAction [3 0 R /XYZ null null 1]");
|
|
6285
6285
|
break;
|
|
6286
6286
|
default:
|
|
6287
6287
|
var Se = "" + Fe;
|
|
6288
|
-
Se.substr(Se.length - 1) === "%" && (Fe = parseInt(Fe) / 100), typeof Fe == "number" &&
|
|
6288
|
+
Se.substr(Se.length - 1) === "%" && (Fe = parseInt(Fe) / 100), typeof Fe == "number" && T("/OpenAction [3 0 R /XYZ null null " + ve(Fe) + "]");
|
|
6289
6289
|
}
|
|
6290
6290
|
switch (We || (We = "continuous"), We) {
|
|
6291
6291
|
case "continuous":
|
|
6292
|
-
|
|
6292
|
+
T("/PageLayout /OneColumn");
|
|
6293
6293
|
break;
|
|
6294
6294
|
case "single":
|
|
6295
|
-
|
|
6295
|
+
T("/PageLayout /SinglePage");
|
|
6296
6296
|
break;
|
|
6297
6297
|
case "two":
|
|
6298
6298
|
case "twoleft":
|
|
6299
|
-
|
|
6299
|
+
T("/PageLayout /TwoColumnLeft");
|
|
6300
6300
|
break;
|
|
6301
6301
|
case "tworight":
|
|
6302
|
-
|
|
6302
|
+
T("/PageLayout /TwoColumnRight");
|
|
6303
6303
|
}
|
|
6304
|
-
Te &&
|
|
6304
|
+
Te && T("/PageMode /" + Te), jt.publish("putCatalog"), T(">>"), T("endobj");
|
|
6305
6305
|
}, cu = w.__private__.putTrailer = function() {
|
|
6306
|
-
|
|
6306
|
+
T("trailer"), T("<<"), T("/Size " + ($ + 1)), T("/Root " + $ + " 0 R"), T("/Info " + ($ - 1) + " 0 R"), g !== null && T("/Encrypt " + aa.oid + " 0 R"), T("/ID [ <" + _e + "> <" + _e + "> ]"), T(">>");
|
|
6307
6307
|
}, du = w.__private__.putHeader = function() {
|
|
6308
|
-
|
|
6308
|
+
T("%PDF-" + u), T("%ºß¬à");
|
|
6309
6309
|
}, hu = w.__private__.putXRef = function() {
|
|
6310
6310
|
var x = "0000000000";
|
|
6311
|
-
|
|
6311
|
+
T("xref"), T("0 " + ($ + 1)), T("0000000000 65535 f ");
|
|
6312
6312
|
for (var oe = 1; oe <= $; oe++)
|
|
6313
|
-
typeof K[oe] == "function" ?
|
|
6313
|
+
typeof K[oe] == "function" ? T((x + K[oe]()).slice(-10) + " 00000 n ") : K[oe] !== void 0 ? T((x + K[oe]).slice(-10) + " 00000 n ") : T("0000000000 00000 n ");
|
|
6314
6314
|
}, Io = w.__private__.buildDocument = function() {
|
|
6315
6315
|
pe(), M(I), jt.publish("buildDocument"), du(), Mr(), oi(), ai(), g !== null && ou(), uu(), es();
|
|
6316
6316
|
var x = P;
|
|
6317
|
-
return hu(), cu(),
|
|
6317
|
+
return hu(), cu(), T("startxref"), T("" + x), T("%%EOF"), M(q[Q]), I.join(`
|
|
6318
6318
|
`);
|
|
6319
6319
|
}, rn = w.__private__.getBlob = function(x) {
|
|
6320
6320
|
return new Blob([ue(x)], { type: "application/pdf" });
|
|
6321
|
-
}, nn = w.output = w.__private__.output =
|
|
6321
|
+
}, nn = w.output = w.__private__.output = qa(function(x, oe) {
|
|
6322
6322
|
switch (typeof (oe = oe || {}) == "string" ? oe = { filename: oe } : oe.filename = oe.filename || "generated.pdf", x) {
|
|
6323
6323
|
case void 0:
|
|
6324
6324
|
return Io();
|
|
@@ -6357,9 +6357,9 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6357
6357
|
var gt = '<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="' + (oe.pdfJsUrl || "examples/PDF.js/web/viewer.html") + "?file=&downloadName=" + oe.filename + '" width="500px" height="400px" /></body></html>', St = wt.open();
|
|
6358
6358
|
if (St !== null) {
|
|
6359
6359
|
St.document.write(gt);
|
|
6360
|
-
var
|
|
6360
|
+
var Qt = this;
|
|
6361
6361
|
St.document.documentElement.querySelector("#pdfViewer").onload = function() {
|
|
6362
|
-
St.document.title = oe.filename, St.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(
|
|
6362
|
+
St.document.title = oe.filename, St.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Qt.output("bloburl"));
|
|
6363
6363
|
};
|
|
6364
6364
|
}
|
|
6365
6365
|
return St;
|
|
@@ -6452,7 +6452,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6452
6452
|
}, w.deletePage = function() {
|
|
6453
6453
|
return iu.apply(this, arguments), this;
|
|
6454
6454
|
}, w.__private__.text = w.text = function(x, oe, Se, Ue, De) {
|
|
6455
|
-
var Ke, Je, it, gt, St,
|
|
6455
|
+
var Ke, Je, it, gt, St, Qt, Ot, hl, ml, Il = (Ue = Ue || {}).scope || this;
|
|
6456
6456
|
if (typeof x == "number" && typeof oe == "number" && (typeof Se == "string" || Array.isArray(Se))) {
|
|
6457
6457
|
var oa = Se;
|
|
6458
6458
|
Se = oe, oe = x, x = oa;
|
|
@@ -6461,7 +6461,7 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6461
6461
|
throw new Error("Invalid arguments passed to jsPDF.text");
|
|
6462
6462
|
if (x.length === 0)
|
|
6463
6463
|
return Il;
|
|
6464
|
-
var Wl = "",
|
|
6464
|
+
var Wl = "", Ja = !1, _a = typeof Ue.lineHeightFactor == "number" ? Ue.lineHeightFactor : Ir, To = Il.internal.scaleFactor;
|
|
6465
6465
|
function bi(rl) {
|
|
6466
6466
|
return rl = rl.split(" ").join(Array(Ue.TabLen || 9).join(" ")), pa(rl, Ot);
|
|
6467
6467
|
}
|
|
@@ -6508,8 +6508,8 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6508
6508
|
case "middle":
|
|
6509
6509
|
Se += vn / 2 - gn;
|
|
6510
6510
|
}
|
|
6511
|
-
if ((
|
|
6512
|
-
return rl.concat(Il.splitTextToSize(nl,
|
|
6511
|
+
if ((Qt = Ue.maxWidth || 0) > 0 && (typeof x == "string" ? x = Il.splitTextToSize(x, Qt) : Object.prototype.toString.call(x) === "[object Array]" && (x = x.reduce(function(rl, nl) {
|
|
6512
|
+
return rl.concat(Il.splitTextToSize(nl, Qt));
|
|
6513
6513
|
}, []))), Ke = { text: x, x: oe, y: Se, options: Ue, mutex: { pdfEscape: pa, activeFontKey: Et, fonts: Kt, activeFontSize: me } }, jt.publish("preProcessText", Ke), x = Ke.text, it = (Ue = Ke.options).angle, !(ml instanceof pt) && it && typeof it == "number") {
|
|
6514
6514
|
it *= Math.PI / 180, Ue.rotationDirection === 0 && (it = -it), k === F.ADVANCED && (it = -it);
|
|
6515
6515
|
var yn = Math.cos(it), vs = Math.sin(it);
|
|
@@ -6559,23 +6559,23 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6559
6559
|
wa !== -1 ? Wl += wa + ` Tr
|
|
6560
6560
|
` : wi !== -1 && (Wl += `0 Tr
|
|
6561
6561
|
`), wa !== -1 && (gs.usedRenderingMode = wa), gt = Ue.align || "left";
|
|
6562
|
-
var
|
|
6563
|
-
St = Ue.charSpace || un,
|
|
6562
|
+
var Za, ys = me * _a, _u = Il.internal.pageSize.getWidth(), Fu = Kt[Et];
|
|
6563
|
+
St = Ue.charSpace || un, Qt = Ue.maxWidth || 0, Ot = Object.assign({ autoencode: !0, noBOM: !0 }, Ue.flags);
|
|
6564
6564
|
var or = [];
|
|
6565
6565
|
if (Object.prototype.toString.call(x) === "[object Array]") {
|
|
6566
6566
|
var Ea;
|
|
6567
|
-
Je = cs(x), gt !== "left" && (
|
|
6567
|
+
Je = cs(x), gt !== "left" && (Za = Je.map(function(rl) {
|
|
6568
6568
|
return Il.getStringUnitWidth(rl, { font: Fu, charSpace: St, fontSize: me, doKerning: !1 }) * me / To;
|
|
6569
6569
|
}));
|
|
6570
|
-
var
|
|
6570
|
+
var eo, rr = 0;
|
|
6571
6571
|
if (gt === "right") {
|
|
6572
|
-
oe -=
|
|
6572
|
+
oe -= Za[0], x = [], ba = Je.length;
|
|
6573
6573
|
for (var ko = 0; ko < ba; ko++)
|
|
6574
|
-
ko === 0 ? (
|
|
6574
|
+
ko === 0 ? (eo = No(oe), Ea = tr(Se)) : (eo = V(rr - Za[ko]), Ea = -ys), x.push([Je[ko], eo, Ea]), rr = Za[ko];
|
|
6575
6575
|
} else if (gt === "center") {
|
|
6576
|
-
oe -=
|
|
6576
|
+
oe -= Za[0] / 2, x = [], ba = Je.length;
|
|
6577
6577
|
for (var Do = 0; Do < ba; Do++)
|
|
6578
|
-
Do === 0 ? (
|
|
6578
|
+
Do === 0 ? (eo = No(oe), Ea = tr(Se)) : (eo = V((rr - Za[Do]) / 2), Ea = -ys), x.push([Je[Do], eo, Ea]), rr = Za[Do];
|
|
6579
6579
|
} else if (gt === "left") {
|
|
6580
6580
|
x = [], ba = Je.length;
|
|
6581
6581
|
for (var pn = 0; pn < ba; pn++)
|
|
@@ -6583,34 +6583,34 @@ Q`), Ba(De, !0), Ma({ data: Ke, filters: mo(), objectId: De }), N("endobj"), Ue;
|
|
|
6583
6583
|
} else {
|
|
6584
6584
|
if (gt !== "justify")
|
|
6585
6585
|
throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');
|
|
6586
|
-
x = [], ba = Je.length,
|
|
6587
|
-
for (var
|
|
6588
|
-
Ea =
|
|
6586
|
+
x = [], ba = Je.length, Qt = Qt !== 0 ? Qt : _u;
|
|
6587
|
+
for (var to = 0; to < ba; to++)
|
|
6588
|
+
Ea = to === 0 ? tr(Se) : -ys, eo = to === 0 ? No(oe) : 0, to < ba - 1 ? or.push(se(V((Qt - Za[to]) / (Je[to].split(" ").length - 1)))) : or.push(0), x.push([Je[to], eo, Ea]);
|
|
6589
6589
|
}
|
|
6590
6590
|
}
|
|
6591
6591
|
var bn = typeof Ue.R2L == "boolean" ? Ue.R2L : he;
|
|
6592
6592
|
bn === !0 && (x = ds(x, function(rl, nl, Bl) {
|
|
6593
6593
|
return [rl.split("").reverse().join(""), nl, Bl];
|
|
6594
|
-
})), Ke = { text: x, x: oe, y: Se, options: Ue, mutex: { pdfEscape: pa, activeFontKey: Et, fonts: Kt, activeFontSize: me } }, jt.publish("postProcessText", Ke), x = Ke.text,
|
|
6594
|
+
})), Ke = { text: x, x: oe, y: Se, options: Ue, mutex: { pdfEscape: pa, activeFontKey: Et, fonts: Kt, activeFontSize: me } }, jt.publish("postProcessText", Ke), x = Ke.text, Ja = Ke.mutex.isHex || !1;
|
|
6595
6595
|
var ps = Kt[Et].encoding;
|
|
6596
6596
|
ps !== "WinAnsiEncoding" && ps !== "StandardEncoding" || (x = ds(x, function(rl, nl, Bl) {
|
|
6597
6597
|
return [bi(rl), nl, Bl];
|
|
6598
6598
|
})), Je = cs(x), x = [];
|
|
6599
|
-
for (var nr,
|
|
6599
|
+
for (var nr, lo, Ho, Dr = 0, wn = 1, Hr = Array.isArray(Je[0]) ? wn : Dr, sr = "", bs = function(rl, nl, Bl) {
|
|
6600
6600
|
var Ol = "";
|
|
6601
|
-
return Bl instanceof pt ? (Bl = typeof Ue.angle == "number" ?
|
|
6601
|
+
return Bl instanceof pt ? (Bl = typeof Ue.angle == "number" ? Wa(Bl, new pt(1, 0, 0, 1, rl, nl)) : Wa(new pt(1, 0, 0, 1, rl, nl), Bl), k === F.ADVANCED && (Bl = Wa(new pt(1, 0, 0, -1, 0, 0), Bl)), Ol = Bl.join(" ") + ` Tm
|
|
6602
6602
|
`) : Ol = se(rl) + " " + se(nl) + ` Td
|
|
6603
6603
|
`, Ol;
|
|
6604
6604
|
}, Ia = 0; Ia < Je.length; Ia++) {
|
|
6605
6605
|
switch (sr = "", Hr) {
|
|
6606
6606
|
case wn:
|
|
6607
|
-
Ho = (
|
|
6607
|
+
Ho = (Ja ? "<" : "(") + Je[Ia][0] + (Ja ? ">" : ")"), nr = parseFloat(Je[Ia][1]), lo = parseFloat(Je[Ia][2]);
|
|
6608
6608
|
break;
|
|
6609
6609
|
case Dr:
|
|
6610
|
-
Ho = (
|
|
6610
|
+
Ho = (Ja ? "<" : "(") + Je[Ia] + (Ja ? ">" : ")"), nr = No(oe), lo = tr(Se);
|
|
6611
6611
|
}
|
|
6612
6612
|
or !== void 0 && or[Ia] !== void 0 && (sr = or[Ia] + ` Tw
|
|
6613
|
-
`), Ia === 0 ? x.push(sr + bs(nr,
|
|
6613
|
+
`), Ia === 0 ? x.push(sr + bs(nr, lo, ml) + Ho) : Hr === Dr ? x.push(sr + Ho) : Hr === wn && x.push(sr + bs(nr, lo, ml) + Ho);
|
|
6614
6614
|
}
|
|
6615
6615
|
x = Hr === Dr ? x.join(` Tj
|
|
6616
6616
|
T* `) : x.join(` Tj
|
|
@@ -6621,15 +6621,15 @@ T* `) : x.join(` Tj
|
|
|
6621
6621
|
return Po += Et + " " + me + ` Tf
|
|
6622
6622
|
`, Po += se(me * _a) + ` TL
|
|
6623
6623
|
`, Po += Nr + `
|
|
6624
|
-
`, Po += Wl, Po += x,
|
|
6624
|
+
`, Po += Wl, Po += x, T(Po += "ET"), y[Et] = !0, Il;
|
|
6625
6625
|
};
|
|
6626
6626
|
var gu = w.__private__.clip = w.clip = function(x) {
|
|
6627
|
-
return
|
|
6627
|
+
return T(x === "evenodd" ? "W*" : "W"), this;
|
|
6628
6628
|
};
|
|
6629
6629
|
w.clipEvenOdd = function() {
|
|
6630
6630
|
return gu("evenodd");
|
|
6631
6631
|
}, w.__private__.discardPath = w.discardPath = function() {
|
|
6632
|
-
return
|
|
6632
|
+
return T("n"), this;
|
|
6633
6633
|
};
|
|
6634
6634
|
var xo = w.__private__.isValidStyle = function(x) {
|
|
6635
6635
|
var oe = !1;
|
|
@@ -6660,10 +6660,10 @@ T* `) : x.join(` Tj
|
|
|
6660
6660
|
}
|
|
6661
6661
|
return oe;
|
|
6662
6662
|
}, di = w.close = function() {
|
|
6663
|
-
return
|
|
6663
|
+
return T("h"), this;
|
|
6664
6664
|
};
|
|
6665
6665
|
w.stroke = function() {
|
|
6666
|
-
return
|
|
6666
|
+
return T("S"), this;
|
|
6667
6667
|
}, w.fill = function(x) {
|
|
6668
6668
|
return sn("f", x), this;
|
|
6669
6669
|
}, w.fillEvenOdd = function(x) {
|
|
@@ -6674,9 +6674,9 @@ T* `) : x.join(` Tj
|
|
|
6674
6674
|
return sn("B*", x), this;
|
|
6675
6675
|
};
|
|
6676
6676
|
var sn = function(x, oe) {
|
|
6677
|
-
Yt(oe) === "object" ? pu(oe, x) :
|
|
6677
|
+
Yt(oe) === "object" ? pu(oe, x) : T(x);
|
|
6678
6678
|
}, ts = function(x) {
|
|
6679
|
-
x === null || k === F.ADVANCED && x === void 0 || (x = ci(x),
|
|
6679
|
+
x === null || k === F.ADVANCED && x === void 0 || (x = ci(x), T(x));
|
|
6680
6680
|
};
|
|
6681
6681
|
function yu(x, oe, Se, Ue, De) {
|
|
6682
6682
|
var Ke = new Pn(oe || this.boundingBox, Se || this.xStep, Ue || this.yStep, this.gState, De || this.matrix);
|
|
@@ -6687,10 +6687,10 @@ T* `) : x.join(` Tj
|
|
|
6687
6687
|
var pu = function(x, oe) {
|
|
6688
6688
|
var Se = $r[x.key], Ue = Wt[Se];
|
|
6689
6689
|
if (Ue instanceof Vr)
|
|
6690
|
-
|
|
6690
|
+
T("q"), T(bu(oe)), Ue.gState && w.setGState(Ue.gState), T(x.matrix.toString() + " cm"), T("/" + Se + " sh"), T("Q");
|
|
6691
6691
|
else if (Ue instanceof Pn) {
|
|
6692
6692
|
var De = new pt(1, 0, 0, -1, 0, ar());
|
|
6693
|
-
x.matrix && (De = De.multiply(x.matrix || wo), Se = yu.call(Ue, x.key, x.boundingBox, x.xStep, x.yStep, De).id),
|
|
6693
|
+
x.matrix && (De = De.multiply(x.matrix || wo), Se = yu.call(Ue, x.key, x.boundingBox, x.xStep, x.yStep, De).id), T("q"), T("/Pattern cs"), T("/" + Se + " scn"), Ue.gState && w.setGState(Ue.gState), T(oe), T("Q");
|
|
6694
6694
|
}
|
|
6695
6695
|
}, bu = function(x) {
|
|
6696
6696
|
switch (x) {
|
|
@@ -6709,22 +6709,22 @@ T* `) : x.join(` Tj
|
|
|
6709
6709
|
return "W n";
|
|
6710
6710
|
}
|
|
6711
6711
|
}, ls = w.moveTo = function(x, oe) {
|
|
6712
|
-
return
|
|
6712
|
+
return T(se(V(x)) + " " + se(de(oe)) + " m"), this;
|
|
6713
6713
|
}, Er = w.lineTo = function(x, oe) {
|
|
6714
|
-
return
|
|
6714
|
+
return T(se(V(x)) + " " + se(de(oe)) + " l"), this;
|
|
6715
6715
|
}, er = w.curveTo = function(x, oe, Se, Ue, De, Ke) {
|
|
6716
|
-
return
|
|
6716
|
+
return T([se(V(x)), se(de(oe)), se(V(Se)), se(de(Ue)), se(V(De)), se(de(Ke)), "c"].join(" ")), this;
|
|
6717
6717
|
};
|
|
6718
6718
|
w.__private__.line = w.line = function(x, oe, Se, Ue, De) {
|
|
6719
6719
|
if (isNaN(x) || isNaN(oe) || isNaN(Se) || isNaN(Ue) || !xo(De))
|
|
6720
6720
|
throw new Error("Invalid arguments passed to jsPDF.line");
|
|
6721
6721
|
return k === F.COMPAT ? this.lines([[Se - x, Ue - oe]], x, oe, [1, 1], De || "S") : this.lines([[Se - x, Ue - oe]], x, oe, [1, 1]).stroke();
|
|
6722
6722
|
}, w.__private__.lines = w.lines = function(x, oe, Se, Ue, De, Ke) {
|
|
6723
|
-
var Je, it, gt, St,
|
|
6724
|
-
if (typeof x == "number" && (
|
|
6723
|
+
var Je, it, gt, St, Qt, Ot, hl, ml, Il, oa, Wl, Ja;
|
|
6724
|
+
if (typeof x == "number" && (Ja = Se, Se = oe, oe = x, x = Ja), Ue = Ue || [1, 1], Ke = Ke || !1, isNaN(oe) || isNaN(Se) || !Array.isArray(x) || !Array.isArray(Ue) || !xo(De) || typeof Ke != "boolean")
|
|
6725
6725
|
throw new Error("Invalid arguments passed to jsPDF.lines");
|
|
6726
6726
|
for (ls(oe, Se), Je = Ue[0], it = Ue[1], St = x.length, oa = oe, Wl = Se, gt = 0; gt < St; gt++)
|
|
6727
|
-
(
|
|
6727
|
+
(Qt = x[gt]).length === 2 ? (oa = Qt[0] * Je + oa, Wl = Qt[1] * it + Wl, Er(oa, Wl)) : (Ot = Qt[0] * Je + oa, hl = Qt[1] * it + Wl, ml = Qt[2] * Je + oa, Il = Qt[3] * it + Wl, oa = Qt[4] * Je + oa, Wl = Qt[5] * it + Wl, er(Ot, hl, ml, Il, oa, Wl));
|
|
6728
6728
|
return Ke && di(), ts(De), this;
|
|
6729
6729
|
}, w.path = function(x) {
|
|
6730
6730
|
for (var oe = 0; oe < x.length; oe++) {
|
|
@@ -6747,7 +6747,7 @@ T* `) : x.join(` Tj
|
|
|
6747
6747
|
}, w.__private__.rect = w.rect = function(x, oe, Se, Ue, De) {
|
|
6748
6748
|
if (isNaN(x) || isNaN(oe) || isNaN(Se) || isNaN(Ue) || !xo(De))
|
|
6749
6749
|
throw new Error("Invalid arguments passed to jsPDF.rect");
|
|
6750
|
-
return k === F.COMPAT && (Ue = -Ue),
|
|
6750
|
+
return k === F.COMPAT && (Ue = -Ue), T([se(V(x)), se(de(oe)), se(V(Se)), se(V(Ue)), "re"].join(" ")), ts(De), this;
|
|
6751
6751
|
}, w.__private__.triangle = w.triangle = function(x, oe, Se, Ue, De, Ke, Je) {
|
|
6752
6752
|
if (isNaN(x) || isNaN(oe) || isNaN(Se) || isNaN(Ue) || isNaN(De) || isNaN(Ke) || !xo(Je))
|
|
6753
6753
|
throw new Error("Invalid arguments passed to jsPDF.triangle");
|
|
@@ -6786,14 +6786,14 @@ T* `) : x.join(` Tj
|
|
|
6786
6786
|
var Ir, as = e.lineWidth || 0.200025, An = w.__private__.getLineWidth = w.getLineWidth = function() {
|
|
6787
6787
|
return as;
|
|
6788
6788
|
}, hi = w.__private__.setLineWidth = w.setLineWidth = function(x) {
|
|
6789
|
-
return as = x,
|
|
6789
|
+
return as = x, T(se(V(x)) + " w"), this;
|
|
6790
6790
|
};
|
|
6791
6791
|
w.__private__.setLineDash = bt.API.setLineDash = bt.API.setLineDashPattern = function(x, oe) {
|
|
6792
6792
|
if (x = x || [], oe = oe || 0, isNaN(oe) || !Array.isArray(x))
|
|
6793
6793
|
throw new Error("Invalid arguments passed to jsPDF.setLineDash");
|
|
6794
6794
|
return x = x.map(function(Se) {
|
|
6795
6795
|
return se(V(Se));
|
|
6796
|
-
}).join(" "), oe = se(V(oe)),
|
|
6796
|
+
}).join(" "), oe = se(V(oe)), T("[" + x + "] " + oe + " d"), this;
|
|
6797
6797
|
};
|
|
6798
6798
|
var fi = w.__private__.getLineHeight = w.getLineHeight = function() {
|
|
6799
6799
|
return me * Ir;
|
|
@@ -6815,23 +6815,23 @@ T* `) : x.join(` Tj
|
|
|
6815
6815
|
return se(No(x));
|
|
6816
6816
|
}, lr = w.__private__.getVerticalCoordinateString = w.getVerticalCoordinateString = function(x) {
|
|
6817
6817
|
return se(tr(x));
|
|
6818
|
-
},
|
|
6818
|
+
}, Ya = e.strokeColor || "0 G";
|
|
6819
6819
|
w.__private__.getStrokeColor = w.getDrawColor = function() {
|
|
6820
|
-
return
|
|
6820
|
+
return Ga(Ya);
|
|
6821
6821
|
}, w.__private__.setStrokeColor = w.setDrawColor = function(x, oe, Se, Ue) {
|
|
6822
|
-
return
|
|
6822
|
+
return Ya = Xa({ ch1: x, ch2: oe, ch3: Se, ch4: Ue, pdfColorType: "draw", precision: 2 }), T(Ya), this;
|
|
6823
6823
|
};
|
|
6824
6824
|
var os = e.fillColor || "0 g";
|
|
6825
6825
|
w.__private__.getFillColor = w.getFillColor = function() {
|
|
6826
|
-
return
|
|
6826
|
+
return Ga(os);
|
|
6827
6827
|
}, w.__private__.setFillColor = w.setFillColor = function(x, oe, Se, Ue) {
|
|
6828
|
-
return os =
|
|
6828
|
+
return os = Xa({ ch1: x, ch2: oe, ch3: Se, ch4: Ue, pdfColorType: "fill", precision: 2 }), T(os), this;
|
|
6829
6829
|
};
|
|
6830
6830
|
var Nr = e.textColor || "0 g", Cu = w.__private__.getTextColor = w.getTextColor = function() {
|
|
6831
|
-
return
|
|
6831
|
+
return Ga(Nr);
|
|
6832
6832
|
};
|
|
6833
6833
|
w.__private__.setTextColor = w.setTextColor = function(x, oe, Se, Ue) {
|
|
6834
|
-
return Nr =
|
|
6834
|
+
return Nr = Xa({ ch1: x, ch2: oe, ch3: Se, ch4: Ue, pdfColorType: "text", precision: 3 }), this;
|
|
6835
6835
|
};
|
|
6836
6836
|
var un = e.charSpace, xu = w.__private__.getCharSpace = w.getCharSpace = function() {
|
|
6837
6837
|
return parseFloat(un || 0);
|
|
@@ -6846,23 +6846,23 @@ T* `) : x.join(` Tj
|
|
|
6846
6846
|
var oe = w.CapJoinStyles[x];
|
|
6847
6847
|
if (oe === void 0)
|
|
6848
6848
|
throw new Error("Line cap style of '" + x + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
6849
|
-
return rs = oe,
|
|
6849
|
+
return rs = oe, T(oe + " J"), this;
|
|
6850
6850
|
};
|
|
6851
6851
|
var ns = 0;
|
|
6852
6852
|
w.__private__.setLineJoin = w.setLineJoin = function(x) {
|
|
6853
6853
|
var oe = w.CapJoinStyles[x];
|
|
6854
6854
|
if (oe === void 0)
|
|
6855
6855
|
throw new Error("Line join style of '" + x + "' is not recognized. See or extend .CapJoinStyles property for valid styles");
|
|
6856
|
-
return ns = oe,
|
|
6856
|
+
return ns = oe, T(oe + " j"), this;
|
|
6857
6857
|
}, w.__private__.setLineMiterLimit = w.__private__.setMiterLimit = w.setLineMiterLimit = w.setMiterLimit = function(x) {
|
|
6858
6858
|
if (x = x || 0, isNaN(x))
|
|
6859
6859
|
throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");
|
|
6860
|
-
return
|
|
6860
|
+
return T(se(V(x)) + " M"), this;
|
|
6861
6861
|
}, w.GState = NA, w.setGState = function(x) {
|
|
6862
|
-
(x = typeof x == "string" ? bl[
|
|
6862
|
+
(x = typeof x == "string" ? bl[Ka[x]] : yi(null, x)).equals(Mo) || (T("/" + x.id + " gs"), Mo = x);
|
|
6863
6863
|
};
|
|
6864
6864
|
var yi = function(x, oe) {
|
|
6865
|
-
if (!x || !
|
|
6865
|
+
if (!x || !Ka[x]) {
|
|
6866
6866
|
var Se = !1;
|
|
6867
6867
|
for (var Ue in bl)
|
|
6868
6868
|
if (bl.hasOwnProperty(Ue) && bl[Ue].equals(oe)) {
|
|
@@ -6875,21 +6875,21 @@ T* `) : x.join(` Tj
|
|
|
6875
6875
|
var De = "GS" + (Object.keys(bl).length + 1).toString(10);
|
|
6876
6876
|
bl[De] = oe, oe.id = De;
|
|
6877
6877
|
}
|
|
6878
|
-
return x && (
|
|
6878
|
+
return x && (Ka[x] = oe.id), jt.publish("addGState", oe), oe;
|
|
6879
6879
|
}
|
|
6880
6880
|
};
|
|
6881
6881
|
w.addGState = function(x, oe) {
|
|
6882
6882
|
return yi(x, oe), this;
|
|
6883
6883
|
}, w.saveGraphicsState = function() {
|
|
6884
|
-
return
|
|
6884
|
+
return T("q"), yo.push({ key: Et, size: me, color: Nr }), this;
|
|
6885
6885
|
}, w.restoreGraphicsState = function() {
|
|
6886
|
-
|
|
6886
|
+
T("Q");
|
|
6887
6887
|
var x = yo.pop();
|
|
6888
6888
|
return Et = x.key, me = x.size, Nr = x.color, Mo = null, this;
|
|
6889
6889
|
}, w.setCurrentTransformationMatrix = function(x) {
|
|
6890
|
-
return
|
|
6890
|
+
return T(x.toString() + " cm"), this;
|
|
6891
6891
|
}, w.comment = function(x) {
|
|
6892
|
-
return
|
|
6892
|
+
return T("#" + x), this;
|
|
6893
6893
|
};
|
|
6894
6894
|
var cn = function(x, oe) {
|
|
6895
6895
|
var Se = x || 0;
|
|
@@ -6946,7 +6946,7 @@ T* `) : x.join(` Tj
|
|
|
6946
6946
|
return ku(x), this;
|
|
6947
6947
|
}, w.doFormObject = function(x, oe) {
|
|
6948
6948
|
var Se = Jl[po[x]];
|
|
6949
|
-
return
|
|
6949
|
+
return T("q"), T(oe.toString() + " cm"), T("/" + Se.id + " Do"), T("Q"), this;
|
|
6950
6950
|
}, w.getFormObject = function(x) {
|
|
6951
6951
|
var oe = Jl[po[x]];
|
|
6952
6952
|
return { x: oe.x, y: oe.y, width: oe.width, height: oe.height, matrix: oe.matrix };
|
|
@@ -6982,7 +6982,7 @@ T* `) : x.join(` Tj
|
|
|
6982
6982
|
return ar(Q);
|
|
6983
6983
|
}, setHeight: function(x) {
|
|
6984
6984
|
us(Q, x);
|
|
6985
|
-
} }, encryptionOptions: g, encryption: aa, getEncryptor: fu, output: nn, getNumberOfPages: Au, pages: q, out:
|
|
6985
|
+
} }, encryptionOptions: g, encryption: aa, getEncryptor: fu, output: nn, getNumberOfPages: Au, pages: q, out: T, f2: ve, f3: z, getPageInfo: ui, getPageInfoByObjId: kt, getCurrentPageInfo: vu, getPDFVersion: c, Point: cn, Rectangle: ss, Matrix: pt, hasHotfix: Ai }, Object.defineProperty(w.internal.pageSize, "width", { get: function() {
|
|
6986
6986
|
return Tr(Q);
|
|
6987
6987
|
}, set: function(x) {
|
|
6988
6988
|
As(Q, x);
|
|
@@ -8593,8 +8593,8 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8593
8593
|
} }), Object.defineProperty(this, "margin", { get: function() {
|
|
8594
8594
|
return v.margin;
|
|
8595
8595
|
}, set: function(M) {
|
|
8596
|
-
var
|
|
8597
|
-
typeof M == "number" ?
|
|
8596
|
+
var T;
|
|
8597
|
+
typeof M == "number" ? T = [M, M, M, M] : ((T = new Array(4))[0] = M[0], T[1] = M.length >= 2 ? M[1] : T[0], T[2] = M.length >= 3 ? M[2] : T[0], T[3] = M.length >= 4 ? M[3] : T[1]), v.margin = T;
|
|
8598
8598
|
} });
|
|
8599
8599
|
var I = !1;
|
|
8600
8600
|
Object.defineProperty(this, "autoPaging", { get: function() {
|
|
@@ -8630,13 +8630,13 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8630
8630
|
} }), Object.defineProperty(this, "fillStyle", { get: function() {
|
|
8631
8631
|
return this.ctx.fillStyle;
|
|
8632
8632
|
}, set: function(M) {
|
|
8633
|
-
var
|
|
8634
|
-
|
|
8633
|
+
var T;
|
|
8634
|
+
T = y(M), this.ctx.fillStyle = T.style, this.ctx.isFillTransparent = T.a === 0, this.ctx.fillOpacity = T.a, this.pdf.setFillColor(T.r, T.g, T.b, { a: T.a }), this.pdf.setTextColor(T.r, T.g, T.b, { a: T.a });
|
|
8635
8635
|
} }), Object.defineProperty(this, "strokeStyle", { get: function() {
|
|
8636
8636
|
return this.ctx.strokeStyle;
|
|
8637
8637
|
}, set: function(M) {
|
|
8638
|
-
var
|
|
8639
|
-
this.ctx.strokeStyle =
|
|
8638
|
+
var T = y(M);
|
|
8639
|
+
this.ctx.strokeStyle = T.style, this.ctx.isStrokeTransparent = T.a === 0, this.ctx.strokeOpacity = T.a, T.a === 0 ? this.pdf.setDrawColor(255, 255, 255) : (T.a, this.pdf.setDrawColor(T.r, T.g, T.b));
|
|
8640
8640
|
} }), Object.defineProperty(this, "lineCap", { get: function() {
|
|
8641
8641
|
return this.ctx.lineCap;
|
|
8642
8642
|
}, set: function(M) {
|
|
@@ -8663,7 +8663,7 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8663
8663
|
["right", "end", "center", "left", "start"].indexOf(M) !== -1 && (this.ctx.textAlign = M);
|
|
8664
8664
|
} });
|
|
8665
8665
|
var fe = null;
|
|
8666
|
-
function Z(M,
|
|
8666
|
+
function Z(M, T) {
|
|
8667
8667
|
if (fe === null) {
|
|
8668
8668
|
var ee = function(ue) {
|
|
8669
8669
|
var R = [];
|
|
@@ -8694,7 +8694,7 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8694
8694
|
R[ke] = R[ke] || {}, R[ke][he] = R[ke][he] || {}, R[ke][he][Te] = R[ke][he][Te] || {}, R[ke][he][Te][Re] = Fe;
|
|
8695
8695
|
}
|
|
8696
8696
|
return R;
|
|
8697
|
-
}(ee.concat(
|
|
8697
|
+
}(ee.concat(T));
|
|
8698
8698
|
}
|
|
8699
8699
|
return fe;
|
|
8700
8700
|
}
|
|
@@ -8706,9 +8706,9 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8706
8706
|
} }), Object.defineProperty(this, "font", { get: function() {
|
|
8707
8707
|
return this.ctx.font;
|
|
8708
8708
|
}, set: function(M) {
|
|
8709
|
-
var
|
|
8710
|
-
if (this.ctx.font = M, (
|
|
8711
|
-
var ee =
|
|
8709
|
+
var T;
|
|
8710
|
+
if (this.ctx.font = M, (T = /^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(M)) !== null) {
|
|
8711
|
+
var ee = T[1], ue = (T[2], T[3]), R = T[4], me = (T[5], T[6]), Fe = /^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(R)[2];
|
|
8712
8712
|
R = Math.floor(Fe === "px" ? parseFloat(R) * this.pdf.internal.scaleFactor : Fe === "em" ? parseFloat(R) * this.pdf.getFontSize() : parseFloat(R) * this.pdf.internal.scaleFactor), this.pdf.setFontSize(R);
|
|
8713
8713
|
var ke = function(ht) {
|
|
8714
8714
|
var Et, nt, Vl = [], Pt = ht.trim();
|
|
@@ -8951,7 +8951,7 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8951
8951
|
b.prototype.drawImage = function(_, Q, U, S, $, K, I, P, j) {
|
|
8952
8952
|
var q = this.pdf.getImageProperties(_), fe = 1, Z = 1, pe = 1, M = 1;
|
|
8953
8953
|
S !== void 0 && P !== void 0 && (pe = P / S, M = j / $, fe = q.width / S * P / S, Z = q.height / $ * j / $), K === void 0 && (K = Q, I = U, Q = 0, U = 0), S !== void 0 && P === void 0 && (P = S, j = $), S === void 0 && P === void 0 && (P = q.width, j = q.height);
|
|
8954
|
-
for (var
|
|
8954
|
+
for (var T, ee = this.ctx.transform.decompose(), ue = G(ee.rotate.shx), R = new A(), me = (R = (R = (R = R.multiply(ee.translate)).multiply(ee.skew)).multiply(ee.scale)).applyToRectangle(new s(K - Q * pe, I - U * M, S * fe, $ * Z)), Fe = i.call(this, me), ke = [], he = 0; he < Fe.length; he += 1)
|
|
8955
8955
|
ke.indexOf(Fe[he]) === -1 && ke.push(Fe[he]);
|
|
8956
8956
|
if (k(ke), this.autoPaging)
|
|
8957
8957
|
for (var Te = ke[0], Re = ke[ke.length - 1], We = Te; We < Re + 1; We++) {
|
|
@@ -8959,7 +8959,7 @@ var dA, Af, uf, bc = ["times"];
|
|
|
8959
8959
|
var vt = this.pdf.internal.pageSize.width - this.margin[3] - this.margin[1], xt = We === 1 ? this.posY + this.margin[0] : this.margin[0], ht = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], Et = this.pdf.internal.pageSize.height - this.margin[0] - this.margin[2], nt = We === 1 ? 0 : ht + (We - 2) * Et;
|
|
8960
8960
|
if (this.ctx.clip_path.length !== 0) {
|
|
8961
8961
|
var Vl = this.path;
|
|
8962
|
-
|
|
8962
|
+
T = JSON.parse(JSON.stringify(this.ctx.clip_path)), this.path = F(T, this.posX + this.margin[3], -nt + xt + this.ctx.prevPageLastElemOffset), W.call(this, "fill", !0), this.path = Vl;
|
|
8963
8963
|
}
|
|
8964
8964
|
var Pt = JSON.parse(JSON.stringify(me));
|
|
8965
8965
|
Pt = F([Pt], this.posX + this.margin[3], -nt + xt + this.ctx.prevPageLastElemOffset)[0];
|
|
@@ -9021,8 +9021,8 @@ var dA, Af, uf, bc = ["times"];
|
|
|
9021
9021
|
}, O = function(_, Q) {
|
|
9022
9022
|
for (var U, S, $ = this.fillStyle, K = this.strokeStyle, I = this.lineCap, P = this.lineWidth, j = Math.abs(P * this.ctx.transform.scaleX), q = this.lineJoin, fe = JSON.parse(JSON.stringify(this.path)), Z = JSON.parse(JSON.stringify(this.path)), pe = [], M = 0; M < Z.length; M++)
|
|
9023
9023
|
if (Z[M].x !== void 0)
|
|
9024
|
-
for (var
|
|
9025
|
-
pe.indexOf(
|
|
9024
|
+
for (var T = i.call(this, Z[M]), ee = 0; ee < T.length; ee += 1)
|
|
9025
|
+
pe.indexOf(T[ee]) === -1 && pe.push(T[ee]);
|
|
9026
9026
|
for (var ue = 0; ue < pe.length; ue++)
|
|
9027
9027
|
for (; this.pdf.internal.getNumberOfPages() < pe[ue]; )
|
|
9028
9028
|
C.call(this);
|
|
@@ -9071,8 +9071,8 @@ var dA, Af, uf, bc = ["times"];
|
|
|
9071
9071
|
U = [P.x1 - K[I - 1].x, P.y1 - K[I - 1].y, P.x2 - K[I - 1].x, P.y2 - K[I - 1].y, P.x - K[I - 1].x, P.y - K[I - 1].y], $[$.length - 1].deltas.push(U);
|
|
9072
9072
|
break;
|
|
9073
9073
|
case "qct":
|
|
9074
|
-
var q = K[I - 1].x + 2 / 3 * (P.x1 - K[I - 1].x), fe = K[I - 1].y + 2 / 3 * (P.y1 - K[I - 1].y), Z = P.x + 2 / 3 * (P.x1 - P.x), pe = P.y + 2 / 3 * (P.y1 - P.y), M = P.x,
|
|
9075
|
-
U = [q - K[I - 1].x, fe - K[I - 1].y, Z - K[I - 1].x, pe - K[I - 1].y, M - K[I - 1].x,
|
|
9074
|
+
var q = K[I - 1].x + 2 / 3 * (P.x1 - K[I - 1].x), fe = K[I - 1].y + 2 / 3 * (P.y1 - K[I - 1].y), Z = P.x + 2 / 3 * (P.x1 - P.x), pe = P.y + 2 / 3 * (P.y1 - P.y), M = P.x, T = P.y;
|
|
9075
|
+
U = [q - K[I - 1].x, fe - K[I - 1].y, Z - K[I - 1].x, pe - K[I - 1].y, M - K[I - 1].x, T - K[I - 1].y], $[$.length - 1].deltas.push(U);
|
|
9076
9076
|
break;
|
|
9077
9077
|
case "arc":
|
|
9078
9078
|
$.push({ deltas: [], abs: [], arc: !0 }), Array.isArray($[$.length - 1].abs) && $[$.length - 1].abs.push(P);
|
|
@@ -9161,10 +9161,10 @@ var dA, Af, uf, bc = ["times"];
|
|
|
9161
9161
|
}
|
|
9162
9162
|
var U = this.pdf.getTextDimensions(_.text), S = ae.call(this, _.y), $ = se.call(this, S) - U.h, K = this.ctx.transform.applyToPoint(new n(_.x, S)), I = this.ctx.transform.decompose(), P = new A();
|
|
9163
9163
|
P = (P = (P = P.multiply(I.translate)).multiply(I.skew)).multiply(I.scale);
|
|
9164
|
-
for (var j, q, fe, Z = this.ctx.transform.applyToRectangle(new s(_.x, S, U.w, U.h)), pe = P.applyToRectangle(new s(_.x, $, U.w, U.h)), M = i.call(this, pe),
|
|
9165
|
-
|
|
9166
|
-
if (k(
|
|
9167
|
-
for (var ue =
|
|
9164
|
+
for (var j, q, fe, Z = this.ctx.transform.applyToRectangle(new s(_.x, S, U.w, U.h)), pe = P.applyToRectangle(new s(_.x, $, U.w, U.h)), M = i.call(this, pe), T = [], ee = 0; ee < M.length; ee += 1)
|
|
9165
|
+
T.indexOf(M[ee]) === -1 && T.push(M[ee]);
|
|
9166
|
+
if (k(T), this.autoPaging)
|
|
9167
|
+
for (var ue = T[0], R = T[T.length - 1], me = ue; me < R + 1; me++) {
|
|
9168
9168
|
this.pdf.setPage(me);
|
|
9169
9169
|
var Fe = me === 1 ? this.posY + this.margin[0] : this.margin[0], ke = this.pdf.internal.pageSize.height - this.posY - this.margin[0] - this.margin[2], he = this.pdf.internal.pageSize.height - this.margin[2], Te = he - this.margin[0], Re = this.pdf.internal.pageSize.width - this.margin[1], We = Re - this.margin[3], vt = me === 1 ? 0 : ke + (me - 2) * Te;
|
|
9170
9170
|
if (this.ctx.clip_path.length !== 0) {
|
|
@@ -9202,17 +9202,17 @@ var dA, Af, uf, bc = ["times"];
|
|
|
9202
9202
|
}
|
|
9203
9203
|
return P;
|
|
9204
9204
|
}, ne = function(_, Q, U) {
|
|
9205
|
-
var S = (U - Q) / 2, $ = _ * Math.cos(S), K = _ * Math.sin(S), I = $, P = -K, j = I * I + P * P, q = j + I * $ + P * K, fe = 4 / 3 * (Math.sqrt(2 * j * q) - q) / (I * K - P * $), Z = I - fe * P, pe = P + fe * I, M = Z,
|
|
9206
|
-
return { x1: _ * Math.cos(Q), y1: _ * Math.sin(Q), x2: Z * ue - pe * R, y2: Z * R + pe * ue, x3: M * ue -
|
|
9205
|
+
var S = (U - Q) / 2, $ = _ * Math.cos(S), K = _ * Math.sin(S), I = $, P = -K, j = I * I + P * P, q = j + I * $ + P * K, fe = 4 / 3 * (Math.sqrt(2 * j * q) - q) / (I * K - P * $), Z = I - fe * P, pe = P + fe * I, M = Z, T = -pe, ee = S + Q, ue = Math.cos(ee), R = Math.sin(ee);
|
|
9206
|
+
return { x1: _ * Math.cos(Q), y1: _ * Math.sin(Q), x2: Z * ue - pe * R, y2: Z * R + pe * ue, x3: M * ue - T * R, y3: M * R + T * ue, x4: _ * Math.cos(U), y4: _ * Math.sin(U) };
|
|
9207
9207
|
}, G = function(_) {
|
|
9208
9208
|
return 180 * _ / Math.PI;
|
|
9209
9209
|
}, X = function(_, Q, U, S, $, K) {
|
|
9210
9210
|
var I = _ + 0.5 * (U - _), P = Q + 0.5 * (S - Q), j = $ + 0.5 * (U - $), q = K + 0.5 * (S - K), fe = Math.min(_, $, I, j), Z = Math.max(_, $, I, j), pe = Math.min(Q, K, P, q), M = Math.max(Q, K, P, q);
|
|
9211
9211
|
return new s(fe, pe, Z - fe, M - pe);
|
|
9212
9212
|
}, te = function(_, Q, U, S, $, K, I, P) {
|
|
9213
|
-
var j, q, fe, Z, pe, M,
|
|
9213
|
+
var j, q, fe, Z, pe, M, T, ee, ue, R, me, Fe, ke, he, Te = U - _, Re = S - Q, We = $ - U, vt = K - S, xt = I - $, ht = P - K;
|
|
9214
9214
|
for (q = 0; q < 41; q++)
|
|
9215
|
-
ue = (
|
|
9215
|
+
ue = (T = (fe = _ + (j = q / 40) * Te) + j * ((pe = U + j * We) - fe)) + j * (pe + j * ($ + j * xt - pe) - T), R = (ee = (Z = Q + j * Re) + j * ((M = S + j * vt) - Z)) + j * (M + j * (K + j * ht - M) - ee), q == 0 ? (me = ue, Fe = R, ke = ue, he = R) : (me = Math.min(me, ue), Fe = Math.min(Fe, R), ke = Math.max(ke, ue), he = Math.max(he, R));
|
|
9216
9216
|
return new s(Math.round(me), Math.round(Fe), Math.round(ke - me), Math.round(he - Fe));
|
|
9217
9217
|
}, re = function() {
|
|
9218
9218
|
if (this.prevLineDash || this.ctx.lineDash.length || this.ctx.lineDashOffset) {
|
|
@@ -10177,20 +10177,20 @@ function wc(e) {
|
|
|
10177
10177
|
var Fe, ke, he, Te, Re, We, vt, xt, ht, Et, nt = 0;
|
|
10178
10178
|
for (ht = 0; ht < 8; ++ht) {
|
|
10179
10179
|
Fe = R[nt], ke = R[nt + 1], he = R[nt + 2], Te = R[nt + 3], Re = R[nt + 4], We = R[nt + 5], vt = R[nt + 6];
|
|
10180
|
-
var Vl = Fe + (xt = R[nt + 7]), Pt = Fe - xt, Kl = ke + vt, Kt = ke - vt, cl = he + We, yo = he - We, Wt = Te + Re, $r = Te - Re, bl = Vl + Wt,
|
|
10180
|
+
var Vl = Fe + (xt = R[nt + 7]), Pt = Fe - xt, Kl = ke + vt, Kt = ke - vt, cl = he + We, yo = he - We, Wt = Te + Re, $r = Te - Re, bl = Vl + Wt, Ka = Vl - Wt, Mo = Kl + cl, wl = Kl - cl;
|
|
10181
10181
|
R[nt] = bl + Mo, R[nt + 4] = bl - Mo;
|
|
10182
|
-
var Bt = 0.707106781 * (wl +
|
|
10183
|
-
R[nt + 2] =
|
|
10182
|
+
var Bt = 0.707106781 * (wl + Ka);
|
|
10183
|
+
R[nt + 2] = Ka + Bt, R[nt + 6] = Ka - Bt;
|
|
10184
10184
|
var jt = 0.382683433 * ((bl = $r + yo) - (wl = Kt + Pt)), Qr = 0.5411961 * bl + jt, Jl = 1.306562965 * wl + jt, po = 0.707106781 * (Mo = yo + Kt), bo = Pt + po, pt = Pt - po;
|
|
10185
10185
|
R[nt + 5] = pt + Qr, R[nt + 3] = pt - Qr, R[nt + 1] = bo + Jl, R[nt + 7] = bo - Jl, nt += 8;
|
|
10186
10186
|
}
|
|
10187
10187
|
for (nt = 0, ht = 0; ht < 8; ++ht) {
|
|
10188
10188
|
Fe = R[nt], ke = R[nt + 8], he = R[nt + 16], Te = R[nt + 24], Re = R[nt + 32], We = R[nt + 40], vt = R[nt + 48];
|
|
10189
|
-
var
|
|
10190
|
-
R[nt] =
|
|
10191
|
-
var Ma = 0.707106781 * (mo +
|
|
10192
|
-
R[nt + 16] =
|
|
10193
|
-
var Co = 0.382683433 * ((
|
|
10189
|
+
var Wa = Fe + (xt = R[nt + 56]), wo = Fe - xt, ya = ke + vt, Pl = ke - vt, El = he + We, Ba = he - We, Yr = Te + Re, Eo = Te - Re, ja = Wa + Yr, Ga = Wa - Yr, Xa = ya + El, mo = ya - El;
|
|
10190
|
+
R[nt] = ja + Xa, R[nt + 32] = ja - Xa;
|
|
10191
|
+
var Ma = 0.707106781 * (mo + Ga);
|
|
10192
|
+
R[nt + 16] = Ga + Ma, R[nt + 48] = Ga - Ma;
|
|
10193
|
+
var Co = 0.382683433 * ((ja = Eo + Ba) - (mo = Pl + wo)), Mr = 0.5411961 * ja + Co, Jr = 1.306562965 * mo + Co, Zr = 0.707106781 * (Xa = Ba + Pl), en = wo + Zr, tn = wo - Zr;
|
|
10194
10194
|
R[nt + 40] = tn + Mr, R[nt + 24] = tn - Mr, R[nt + 8] = en + Jr, R[nt + 56] = en - Jr, nt++;
|
|
10195
10195
|
}
|
|
10196
10196
|
for (ht = 0; ht < 64; ++ht)
|
|
@@ -10205,9 +10205,9 @@ function wc(e) {
|
|
|
10205
10205
|
if (Z == 0)
|
|
10206
10206
|
return ne(I), U;
|
|
10207
10207
|
for (var pe, M = 1; M <= Z; ) {
|
|
10208
|
-
for (var
|
|
10208
|
+
for (var T = M; u[M] == 0 && M <= Z; )
|
|
10209
10209
|
++M;
|
|
10210
|
-
var ee = M -
|
|
10210
|
+
var ee = M - T;
|
|
10211
10211
|
if (ee >= 16) {
|
|
10212
10212
|
pe = ee >> 4;
|
|
10213
10213
|
for (var ue = 1; ue <= pe; ++ue)
|
|
@@ -10267,10 +10267,10 @@ function wc(e) {
|
|
|
10267
10267
|
}(), X(65498), X(12), G(3), G(1), G(0), G(2), G(17), G(3), G(17), G(0), G(63), G(0);
|
|
10268
10268
|
var U = 0, S = 0, $ = 0;
|
|
10269
10269
|
i = 0, C = 7, this.encode.displayName = "_encode_";
|
|
10270
|
-
for (var K, I, P, j, q, fe, Z, pe, M,
|
|
10270
|
+
for (var K, I, P, j, q, fe, Z, pe, M, T = _.data, ee = _.width, ue = _.height, R = 4 * ee, me = 0; me < ue; ) {
|
|
10271
10271
|
for (K = 0; K < R; ) {
|
|
10272
10272
|
for (q = R * me + K, Z = -1, pe = 0, M = 0; M < 64; M++)
|
|
10273
|
-
fe = q + (pe = M >> 3) * R + (Z = 4 * (7 & M)), me + pe >= ue && (fe -= R * (me + 1 + pe - ue)), K + Z >= R && (fe -= K + Z - R + 4), I =
|
|
10273
|
+
fe = q + (pe = M >> 3) * R + (Z = 4 * (7 & M)), me + pe >= ue && (fe -= R * (me + 1 + pe - ue)), K + Z >= R && (fe -= K + Z - R + 4), I = T[fe++], P = T[fe++], j = T[fe++], F[M] = (ae[I] + ae[P + 256 >> 0] + ae[j + 512 >> 0] >> 16) - 128, k[M] = (ae[I + 768 >> 0] + ae[P + 1024 >> 0] + ae[j + 1280 >> 0] >> 16) - 128, O[M] = (ae[I + 1280 >> 0] + ae[P + 1536 >> 0] + ae[j + 1792 >> 0] >> 16) - 128;
|
|
10274
10274
|
U = te(F, v, U, t, r), S = te(k, g, S, l, o), $ = te(O, g, $, l, o), K += 32;
|
|
10275
10275
|
}
|
|
10276
10276
|
me += 8;
|
|
@@ -10303,7 +10303,7 @@ function wc(e) {
|
|
|
10303
10303
|
* Licensed under the MIT License.
|
|
10304
10304
|
* http://opensource.org/licenses/mit-license
|
|
10305
10305
|
*/
|
|
10306
|
-
function
|
|
10306
|
+
function no(e, t) {
|
|
10307
10307
|
if (this.pos = 0, this.buffer = e, this.datav = new DataView(e.buffer), this.is_with_alpha = !!t, this.bottom_up = !0, this.flag = String.fromCharCode(this.buffer[0]) + String.fromCharCode(this.buffer[1]), this.pos += 2, ["BM", "BA", "CI", "CP", "IC", "PT"].indexOf(this.flag) === -1)
|
|
10308
10308
|
throw new Error("Invalid BMP File");
|
|
10309
10309
|
this.parseHeader(), this.parseBGR();
|
|
@@ -10490,7 +10490,7 @@ function vf(e) {
|
|
|
10490
10490
|
function M(h, m) {
|
|
10491
10491
|
t(h != null), t(m != null), t(h.Xa == m.Xa), r(m.X, 0, h.X, 0, 1 << m.Xa);
|
|
10492
10492
|
}
|
|
10493
|
-
function
|
|
10493
|
+
function T() {
|
|
10494
10494
|
this.X = [], this.Xa = this.Mb = 0;
|
|
10495
10495
|
}
|
|
10496
10496
|
function ee(h, m, B, E) {
|
|
@@ -10615,7 +10615,7 @@ function vf(e) {
|
|
|
10615
10615
|
function bl() {
|
|
10616
10616
|
this.y = [], this.f = [], this.ea = [], this.F = [], this.Tc = this.Ed = this.Cd = this.Fd = this.lb = this.Db = this.Ab = this.fa = this.J = this.W = this.N = this.O = 0;
|
|
10617
10617
|
}
|
|
10618
|
-
function
|
|
10618
|
+
function Ka() {
|
|
10619
10619
|
this.Rd = this.height = this.width = this.S = 0, this.f = {}, this.f.RGBA = new $r(), this.f.kb = new bl(), this.sd = null;
|
|
10620
10620
|
}
|
|
10621
10621
|
function Mo() {
|
|
@@ -10681,7 +10681,7 @@ function vf(e) {
|
|
|
10681
10681
|
function pt(h, m, B, E) {
|
|
10682
10682
|
return te(h, 8) != 47 ? 0 : (m[0] = te(h, 14) + 1, B[0] = te(h, 14) + 1, E[0] = te(h, 1), te(h, 3) != 0 ? 0 : !h.h);
|
|
10683
10683
|
}
|
|
10684
|
-
function
|
|
10684
|
+
function Wa(h, m) {
|
|
10685
10685
|
if (4 > h)
|
|
10686
10686
|
return h + 1;
|
|
10687
10687
|
var B = h - 2 >> 1;
|
|
@@ -10738,9 +10738,9 @@ function vf(e) {
|
|
|
10738
10738
|
Ve[je] = Ne[Ee + je];
|
|
10739
10739
|
for (je = qe - 1; 0 <= je; --je)
|
|
10740
10740
|
Qe[Oe + je] = Ve[je];
|
|
10741
|
-
|
|
10741
|
+
Za(xe, $e, Pe, be, Xe, be, ge);
|
|
10742
10742
|
} else
|
|
10743
|
-
|
|
10743
|
+
Za(xe, $e, Pe, Oe, Ne, be, ge);
|
|
10744
10744
|
}
|
|
10745
10745
|
ge = E, be = B;
|
|
10746
10746
|
}
|
|
@@ -10761,7 +10761,7 @@ function vf(e) {
|
|
|
10761
10761
|
var Ne = ce, Xe = ge, Ve = le, Qe = xe, Ee = $e;
|
|
10762
10762
|
switch (E) {
|
|
10763
10763
|
case xi:
|
|
10764
|
-
|
|
10764
|
+
eo(Ne, Xe, Ve, Qe, Ee);
|
|
10765
10765
|
break;
|
|
10766
10766
|
case ki:
|
|
10767
10767
|
rr(Ne, Xe, Ve, Qe, Ee);
|
|
@@ -10817,7 +10817,7 @@ function vf(e) {
|
|
|
10817
10817
|
}
|
|
10818
10818
|
return 1;
|
|
10819
10819
|
}
|
|
10820
|
-
function
|
|
10820
|
+
function ja(h, m, B, E, le, Ae) {
|
|
10821
10821
|
if (h.Z != 0) {
|
|
10822
10822
|
var ce = h.qd, ge = h.rd;
|
|
10823
10823
|
for (t(ur[h.Z] != null); m < B; ++m)
|
|
@@ -10825,15 +10825,15 @@ function vf(e) {
|
|
|
10825
10825
|
h.qd = ce, h.rd = ge;
|
|
10826
10826
|
}
|
|
10827
10827
|
}
|
|
10828
|
-
function
|
|
10828
|
+
function Ga(h, m) {
|
|
10829
10829
|
var B = h.l.ma, E = B.Z == 0 || B.Z == 1 ? h.l.j : h.C;
|
|
10830
10830
|
if (E = h.C < E ? E : h.C, t(m <= h.l.o), m > E) {
|
|
10831
10831
|
var le = h.l.width, Ae = B.ca, ce = B.tb + le * E, ge = h.V, be = h.Ba + h.c * E, xe = h.gc;
|
|
10832
|
-
t(h.ab == 1), t(xe[0].hc == 3), _u(xe[0], E, m, ge, be, Ae, ce),
|
|
10832
|
+
t(h.ab == 1), t(xe[0].hc == 3), _u(xe[0], E, m, ge, be, Ae, ce), ja(B, E, m, Ae, ce, le);
|
|
10833
10833
|
}
|
|
10834
10834
|
h.C = h.Ma = m;
|
|
10835
10835
|
}
|
|
10836
|
-
function
|
|
10836
|
+
function Xa(h, m, B, E, le, Ae, ce) {
|
|
10837
10837
|
var ge = h.$ / E, be = h.$ % E, xe = h.m, $e = h.s, Pe = B + h.$, Oe = Pe;
|
|
10838
10838
|
le = B + E * le;
|
|
10839
10839
|
var Ne = B + E * Ae, Xe = 280 + $e.ua, Ve = h.Pb ? ge : 16777216, Qe = 0 < $e.ua ? $e.Wa : null, Ee = $e.wc, je = Pe < Ne ? El($e, be, ge) : null;
|
|
@@ -10869,7 +10869,7 @@ function vf(e) {
|
|
|
10869
10869
|
for (; Oe < Pe; )
|
|
10870
10870
|
Ge = m[Oe++], Qe.X[(506832829 * Ge & 4294967295) >>> Qe.Mb] = Ge;
|
|
10871
10871
|
} else if (280 > Ge) {
|
|
10872
|
-
if (Ge =
|
|
10872
|
+
if (Ge = Wa(Ge - 256, xe), At = ya(je.G[4], je.H[4], xe), $(xe), At = wo(E, At = Wa(At, xe)), xe.h)
|
|
10873
10873
|
break;
|
|
10874
10874
|
if (Pe - B < At || le - Pe < Ge)
|
|
10875
10875
|
break e;
|
|
@@ -10907,7 +10907,7 @@ function vf(e) {
|
|
|
10907
10907
|
}
|
|
10908
10908
|
function Ma() {
|
|
10909
10909
|
var h = new ku();
|
|
10910
|
-
return h == null ? null : (h.a = 0, h.xb = Fd, yo("Predictor", "VP8LPredictors"), yo("Predictor", "VP8LPredictors_C"), yo("PredictorAdd", "VP8LPredictorsAdd"), yo("PredictorAdd", "VP8LPredictorsAdd_C"), wi = vt, Ea = ht,
|
|
10910
|
+
return h == null ? null : (h.a = 0, h.xb = Fd, yo("Predictor", "VP8LPredictors"), yo("Predictor", "VP8LPredictors_C"), yo("PredictorAdd", "VP8LPredictorsAdd"), yo("PredictorAdd", "VP8LPredictorsAdd_C"), wi = vt, Ea = ht, eo = nt, rr = Vl, ko = Pt, Do = Kl, pn = Kt, J.VP8LMapColor32b = ys, J.VP8LMapColor8b = Fu, h);
|
|
10911
10911
|
}
|
|
10912
10912
|
function Co(h, m, B, E, le) {
|
|
10913
10913
|
var Ae = 1, ce = [h], ge = [m], be = E.m, xe = E.s, $e = null, Pe = 0;
|
|
@@ -10986,7 +10986,7 @@ function vf(e) {
|
|
|
10986
10986
|
}
|
|
10987
10987
|
var Qi = Nu;
|
|
10988
10988
|
for (Jt = Nl = 0; Jt < ha; ++Jt) {
|
|
10989
|
-
var
|
|
10989
|
+
var oo = $i[Jt], xn = oo.G, kn = oo.H, Dd = 0, Mi = 1, Hd = 0;
|
|
10990
10990
|
for (Lt = 0; 5 > Lt; ++Lt) {
|
|
10991
10991
|
Cl = Bd[Lt], xn[Lt] = Qi, kn[Lt] = Nl, !Lt && 0 < qt && (Cl += 1 << qt);
|
|
10992
10992
|
o: {
|
|
@@ -11044,8 +11044,8 @@ function vf(e) {
|
|
|
11044
11044
|
Hd += Ou;
|
|
11045
11045
|
}
|
|
11046
11046
|
}
|
|
11047
|
-
if (
|
|
11048
|
-
var Hi, Vo =
|
|
11047
|
+
if (oo.nd = Mi, oo.Qb = 0, Mi && (oo.qb = (xn[3][kn[3] + 0].value << 24 | xn[1][kn[1] + 0].value << 16 | xn[2][kn[2] + 0].value) >>> 0, Dd == 0 && 256 > xn[0][kn[0] + 0].value && (oo.Qb = 1, oo.qb += xn[0][kn[0] + 0].value << 8)), oo.jc = !oo.Qb && 6 > Hd, oo.jc) {
|
|
11048
|
+
var Hi, Vo = oo;
|
|
11049
11049
|
for (Hi = 0; Hi < ba; ++Hi) {
|
|
11050
11050
|
var fr = Hi, vr = Vo.pd[fr], Pi = Vo.G[0][Vo.H[0] + fr];
|
|
11051
11051
|
256 <= Pi.value ? (vr.g = Pi.g + 256, vr.value = Pi.value) : (vr.g = 0, vr.value = 0, fr >>= Pl(Pi, 8, vr), fr >>= Pl(Vo.G[1][Vo.H[1] + fr], 16, vr), fr >>= Pl(Vo.G[2][Vo.H[2] + fr], 0, vr), Pl(Vo.G[3][Vo.H[3] + fr], 24, vr));
|
|
@@ -11077,7 +11077,7 @@ function vf(e) {
|
|
|
11077
11077
|
E.a = 1, Ae = 0;
|
|
11078
11078
|
break e;
|
|
11079
11079
|
}
|
|
11080
|
-
Ae = (Ae =
|
|
11080
|
+
Ae = (Ae = Xa(E, $e, 0, ce, ge, ge, null)) && !be.h;
|
|
11081
11081
|
break e;
|
|
11082
11082
|
}
|
|
11083
11083
|
return Ae ? (le != null ? le[0] = $e : (t($e == null), t(B)), E.$ = 0, B || mo(xe)) : mo(xe), Ae;
|
|
@@ -11090,7 +11090,7 @@ function vf(e) {
|
|
|
11090
11090
|
var B = h.C, E = m - B, le = h.V, Ae = h.Ba + h.c * B;
|
|
11091
11091
|
for (t(m <= h.l.o); 0 < E; ) {
|
|
11092
11092
|
var ce = 16 < E ? 16 : E, ge = h.l.ma, be = h.l.width, xe = be * ce, $e = ge.ca, Pe = ge.tb + be * B, Oe = h.Ta, Ne = h.Ua;
|
|
11093
|
-
Ba(h, ce, le, Ae), yd(Oe, Ne, $e, Pe, xe),
|
|
11093
|
+
Ba(h, ce, le, Ae), yd(Oe, Ne, $e, Pe, xe), ja(ge, B, B + ce, $e, Pe, be), E -= ce, le += ce * h.c, B += ce;
|
|
11094
11094
|
}
|
|
11095
11095
|
t(B == m), h.C = h.Ma = m;
|
|
11096
11096
|
}
|
|
@@ -11335,7 +11335,7 @@ function vf(e) {
|
|
|
11335
11335
|
md[255 + B] = 0 > B ? 0 : 255 < B ? 255 : B;
|
|
11336
11336
|
Cd = 1;
|
|
11337
11337
|
}
|
|
11338
|
-
|
|
11338
|
+
to = uu, bn = iu, nr = si, lo = Au, Ho = ii, ps = ni, Dr = os, wn = Nr, Hr = xu, sr = rs, bs = Cu, Ia = un, Po = ns, rl = yi, nl = gi, Bl = No, Ol = tr, Oo = mu, ao[0] = xo, ao[1] = cu, ao[2] = vu, ao[3] = gu, ao[4] = ci, ao[5] = sn, ao[6] = di, ao[7] = ts, ao[8] = pu, ao[9] = yu, Ar[0] = Ai, Ar[1] = hu, Ar[2] = Io, Ar[3] = rn, Ar[4] = aa, Ar[5] = fu, Ar[6] = ui, zo[0] = er, zo[1] = du, zo[2] = bu, zo[3] = ls, zo[4] = Ir, zo[5] = wu, zo[6] = as, B = 1;
|
|
11339
11339
|
} else
|
|
11340
11340
|
B = 0;
|
|
11341
11341
|
}
|
|
@@ -11373,7 +11373,7 @@ function vf(e) {
|
|
|
11373
11373
|
tl = a(16);
|
|
11374
11374
|
var Tl = qe.Na + Xt.Na;
|
|
11375
11375
|
if (Tl = ws(At, at[1], Tl, rt.Eb, 0, tl, 0), qe.Na = Xt.Na = (0 < Tl) + 0, 1 < Tl)
|
|
11376
|
-
|
|
11376
|
+
to(tl, 0, Ge, Rt);
|
|
11377
11377
|
else {
|
|
11378
11378
|
var Ca = tl[0] + 3 >> 3;
|
|
11379
11379
|
for (tl = 0; 256 > tl; tl += 16)
|
|
@@ -11434,11 +11434,11 @@ function vf(e) {
|
|
|
11434
11434
|
}
|
|
11435
11435
|
return B ? (h.cb = 0, B) : 0;
|
|
11436
11436
|
}
|
|
11437
|
-
function
|
|
11437
|
+
function qa(h, m, B, E, le) {
|
|
11438
11438
|
le = h[m + B + 32 * E] + (le >> 3), h[m + B + 32 * E] = -256 & le ? 0 > le ? 0 : 255 : le;
|
|
11439
11439
|
}
|
|
11440
11440
|
function on(h, m, B, E, le, Ae) {
|
|
11441
|
-
|
|
11441
|
+
qa(h, m, 0, B, E + le), qa(h, m, 1, B, E + Ae), qa(h, m, 2, B, E - Ae), qa(h, m, 3, B, E - le);
|
|
11442
11442
|
}
|
|
11443
11443
|
function pa(h) {
|
|
11444
11444
|
return (20091 * h >> 16) + h;
|
|
@@ -11450,7 +11450,7 @@ function vf(e) {
|
|
|
11450
11450
|
ce[Ae + 0] = ge + $e, ce[Ae + 1] = be + xe, ce[Ae + 2] = be - xe, ce[Ae + 3] = ge - $e, Ae += 4, m++;
|
|
11451
11451
|
}
|
|
11452
11452
|
for (le = Ae = 0; 4 > le; ++le)
|
|
11453
|
-
ge = (h = ce[Ae + 0] + 4) + ce[Ae + 8], be = h - ce[Ae + 8], xe = (35468 * ce[Ae + 4] >> 16) - pa(ce[Ae + 12]),
|
|
11453
|
+
ge = (h = ce[Ae + 0] + 4) + ce[Ae + 8], be = h - ce[Ae + 8], xe = (35468 * ce[Ae + 4] >> 16) - pa(ce[Ae + 12]), qa(B, E, 0, 0, ge + ($e = pa(ce[Ae + 4]) + (35468 * ce[Ae + 12] >> 16))), qa(B, E, 1, 0, be + xe), qa(B, E, 2, 0, be - xe), qa(B, E, 3, 0, ge - $e), Ae++, E += 32;
|
|
11454
11454
|
}
|
|
11455
11455
|
function ni(h, m, B, E) {
|
|
11456
11456
|
var le = h[m + 0] + 4, Ae = 35468 * h[m + 4] >> 16, ce = pa(h[m + 4]), ge = 35468 * h[m + 1] >> 16;
|
|
@@ -11466,10 +11466,10 @@ function vf(e) {
|
|
|
11466
11466
|
var le;
|
|
11467
11467
|
for (h = h[m + 0] + 4, le = 0; 4 > le; ++le)
|
|
11468
11468
|
for (m = 0; 4 > m; ++m)
|
|
11469
|
-
|
|
11469
|
+
qa(B, E, m, le, h);
|
|
11470
11470
|
}
|
|
11471
11471
|
function ii(h, m, B, E) {
|
|
11472
|
-
h[m + 0] &&
|
|
11472
|
+
h[m + 0] && lo(h, m + 0, B, E), h[m + 16] && lo(h, m + 16, B, E + 4), h[m + 32] && lo(h, m + 32, B, E + 128), h[m + 48] && lo(h, m + 48, B, E + 128 + 4);
|
|
11473
11473
|
}
|
|
11474
11474
|
function uu(h, m, B, E) {
|
|
11475
11475
|
var le, Ae = a(16);
|
|
@@ -11660,7 +11660,7 @@ function vf(e) {
|
|
|
11660
11660
|
m += E;
|
|
11661
11661
|
}
|
|
11662
11662
|
}
|
|
11663
|
-
function
|
|
11663
|
+
function Ya(h, m, B, E, le, Ae, ce, ge) {
|
|
11664
11664
|
for (Ae = 2 * Ae + 1; 0 < le--; ) {
|
|
11665
11665
|
if (vi(h, m, B, Ae, ce))
|
|
11666
11666
|
if (hi(h, m, B, ge))
|
|
@@ -11681,12 +11681,12 @@ function vf(e) {
|
|
|
11681
11681
|
function Cu(h, m, B, E, le, Ae) {
|
|
11682
11682
|
var ce;
|
|
11683
11683
|
for (ce = 3; 0 < ce; --ce)
|
|
11684
|
-
|
|
11684
|
+
Ya(h, m += 4 * B, B, 1, 16, E, le, Ae);
|
|
11685
11685
|
}
|
|
11686
11686
|
function un(h, m, B, E, le, Ae) {
|
|
11687
11687
|
var ce;
|
|
11688
11688
|
for (ce = 3; 0 < ce; --ce)
|
|
11689
|
-
|
|
11689
|
+
Ya(h, m += 4, 1, B, 16, E, le, Ae);
|
|
11690
11690
|
}
|
|
11691
11691
|
function xu(h, m, B, E, le, Ae, ce, ge) {
|
|
11692
11692
|
lr(h, m, le, 1, 8, Ae, ce, ge), lr(B, E, le, 1, 8, Ae, ce, ge);
|
|
@@ -11695,13 +11695,13 @@ function vf(e) {
|
|
|
11695
11695
|
lr(h, m, 1, le, 8, Ae, ce, ge), lr(B, E, 1, le, 8, Ae, ce, ge);
|
|
11696
11696
|
}
|
|
11697
11697
|
function ns(h, m, B, E, le, Ae, ce, ge) {
|
|
11698
|
-
|
|
11698
|
+
Ya(h, m + 4 * le, le, 1, 8, Ae, ce, ge), Ya(B, E + 4 * le, le, 1, 8, Ae, ce, ge);
|
|
11699
11699
|
}
|
|
11700
11700
|
function yi(h, m, B, E, le, Ae, ce, ge) {
|
|
11701
|
-
|
|
11701
|
+
Ya(h, m + 4, 1, le, 8, Ae, ce, ge), Ya(B, E + 4, 1, le, 8, Ae, ce, ge);
|
|
11702
11702
|
}
|
|
11703
11703
|
function cn() {
|
|
11704
|
-
this.ba = new
|
|
11704
|
+
this.ba = new Ka(), this.ec = [], this.cc = [], this.Mc = [], this.Dc = this.Nc = this.dc = this.fc = 0, this.Oa = new wl(), this.memory = 0, this.Ib = "OutputFunc", this.Jb = "OutputAlphaFunc", this.Nd = "OutputRowFunc";
|
|
11705
11705
|
}
|
|
11706
11706
|
function ss() {
|
|
11707
11707
|
this.data = [], this.offset = this.kd = this.ha = this.w = 0, this.na = [], this.xa = this.gb = this.Ja = this.Sa = this.P = 0;
|
|
@@ -11710,10 +11710,10 @@ function vf(e) {
|
|
|
11710
11710
|
this.nc = this.Ea = this.b = this.hc = 0, this.K = [], this.w = 0;
|
|
11711
11711
|
}
|
|
11712
11712
|
function pi() {
|
|
11713
|
-
this.ua = 0, this.Wa = new
|
|
11713
|
+
this.ua = 0, this.Wa = new T(), this.vb = new T(), this.md = this.xc = this.wc = 0, this.vc = [], this.Wb = 0, this.Ya = new de(), this.yc = new V();
|
|
11714
11714
|
}
|
|
11715
11715
|
function ku() {
|
|
11716
|
-
this.xb = this.a = 0, this.l = new an(), this.ca = new
|
|
11716
|
+
this.xb = this.a = 0, this.l = new an(), this.ca = new Ka(), this.V = [], this.Ba = 0, this.Ta = [], this.Ua = 0, this.m = new _(), this.Pb = 0, this.wd = new _(), this.Ma = this.$ = this.C = this.i = this.c = this.xd = 0, this.s = new pi(), this.ab = 0, this.gc = n(4, is), this.Oc = 0;
|
|
11717
11717
|
}
|
|
11718
11718
|
function dn() {
|
|
11719
11719
|
this.Lc = this.Z = this.$a = this.i = this.c = 0, this.l = new an(), this.ic = 0, this.ca = [], this.tb = 0, this.qd = null, this.rd = 0;
|
|
@@ -11798,32 +11798,32 @@ function vf(e) {
|
|
|
11798
11798
|
for (; ; ) {
|
|
11799
11799
|
for (; !$e.h && Qe < je; ) {
|
|
11800
11800
|
if (xe & qe || (Ge = El(Pe, xe, be)), t(Ge != null), $($e), 256 > (Ve = ya(Ge.G[0], Ge.H[0], $e)))
|
|
11801
|
-
ge[Oe + Qe] = Ve, ++Qe, ++xe >= Ne && (xe = 0, ++be <= m && !(be % 16) &&
|
|
11801
|
+
ge[Oe + Qe] = Ve, ++Qe, ++xe >= Ne && (xe = 0, ++be <= m && !(be % 16) && Ga(ce, be));
|
|
11802
11802
|
else {
|
|
11803
11803
|
if (!(280 > Ve)) {
|
|
11804
11804
|
Xe = 0;
|
|
11805
11805
|
break t;
|
|
11806
11806
|
}
|
|
11807
|
-
Ve =
|
|
11807
|
+
Ve = Wa(Ve - 256, $e);
|
|
11808
11808
|
var At, at = ya(Ge.G[4], Ge.H[4], $e);
|
|
11809
|
-
if ($($e), !(Qe >= (at = wo(Ne, at =
|
|
11809
|
+
if ($($e), !(Qe >= (at = wo(Ne, at = Wa(at, $e))) && Ee - Qe >= Ve)) {
|
|
11810
11810
|
Xe = 0;
|
|
11811
11811
|
break t;
|
|
11812
11812
|
}
|
|
11813
11813
|
for (At = 0; At < Ve; ++At)
|
|
11814
11814
|
ge[Oe + Qe + At] = ge[Oe + Qe + At - at];
|
|
11815
11815
|
for (Qe += Ve, xe += Ve; xe >= Ne; )
|
|
11816
|
-
xe -= Ne, ++be <= m && !(be % 16) &&
|
|
11816
|
+
xe -= Ne, ++be <= m && !(be % 16) && Ga(ce, be);
|
|
11817
11817
|
Qe < je && xe & qe && (Ge = El(Pe, xe, be));
|
|
11818
11818
|
}
|
|
11819
11819
|
t($e.h == U($e));
|
|
11820
11820
|
}
|
|
11821
|
-
|
|
11821
|
+
Ga(ce, be > m ? m : be);
|
|
11822
11822
|
break t;
|
|
11823
11823
|
}
|
|
11824
11824
|
!Xe || $e.h && Qe < Ee ? (Xe = 0, ce.a = $e.h ? 5 : 3) : ce.$ = Qe, m = Xe;
|
|
11825
11825
|
} else
|
|
11826
|
-
m =
|
|
11826
|
+
m = Xa(ce, ce.V, ce.Ba, ce.c, ce.i, m, Jr);
|
|
11827
11827
|
if (!m) {
|
|
11828
11828
|
E = 0;
|
|
11829
11829
|
break e;
|
|
@@ -11901,21 +11901,21 @@ function vf(e) {
|
|
|
11901
11901
|
function St(h, m, B) {
|
|
11902
11902
|
return it((19077 * h >> 8) - (6419 * m >> 8) - (13320 * B >> 8) + 8708);
|
|
11903
11903
|
}
|
|
11904
|
-
function
|
|
11904
|
+
function Qt(h, m) {
|
|
11905
11905
|
return it((19077 * h >> 8) + (33050 * m >> 8) - 17685);
|
|
11906
11906
|
}
|
|
11907
11907
|
function Ot(h, m, B, E, le) {
|
|
11908
|
-
E[le + 0] = gt(h, B), E[le + 1] = St(h, m, B), E[le + 2] =
|
|
11908
|
+
E[le + 0] = gt(h, B), E[le + 1] = St(h, m, B), E[le + 2] = Qt(h, m);
|
|
11909
11909
|
}
|
|
11910
11910
|
function hl(h, m, B, E, le) {
|
|
11911
|
-
E[le + 0] =
|
|
11911
|
+
E[le + 0] = Qt(h, m), E[le + 1] = St(h, m, B), E[le + 2] = gt(h, B);
|
|
11912
11912
|
}
|
|
11913
11913
|
function ml(h, m, B, E, le) {
|
|
11914
11914
|
var Ae = St(h, m, B);
|
|
11915
|
-
m = Ae << 3 & 224 |
|
|
11915
|
+
m = Ae << 3 & 224 | Qt(h, m) >> 3, E[le + 0] = 248 & gt(h, B) | Ae >> 5, E[le + 1] = m;
|
|
11916
11916
|
}
|
|
11917
11917
|
function Il(h, m, B, E, le) {
|
|
11918
|
-
var Ae = 240 &
|
|
11918
|
+
var Ae = 240 & Qt(h, m) | 15;
|
|
11919
11919
|
E[le + 0] = 240 & gt(h, B) | St(h, m, B) >> 4, E[le + 1] = Ae;
|
|
11920
11920
|
}
|
|
11921
11921
|
function oa(h, m, B, E, le) {
|
|
@@ -11924,7 +11924,7 @@ function vf(e) {
|
|
|
11924
11924
|
function Wl(h, m, B, E, le) {
|
|
11925
11925
|
hl(h, m, B, E, le), E[le + 3] = 255;
|
|
11926
11926
|
}
|
|
11927
|
-
function
|
|
11927
|
+
function Ja(h, m, B, E, le) {
|
|
11928
11928
|
Ot(h, m, B, E, le), E[le + 3] = 255;
|
|
11929
11929
|
}
|
|
11930
11930
|
function _a(h, m) {
|
|
@@ -11949,7 +11949,7 @@ function vf(e) {
|
|
|
11949
11949
|
ps(m, B, E, le);
|
|
11950
11950
|
break;
|
|
11951
11951
|
case 1:
|
|
11952
|
-
|
|
11952
|
+
lo(m, B, E, le);
|
|
11953
11953
|
}
|
|
11954
11954
|
}
|
|
11955
11955
|
function ds(h, m) {
|
|
@@ -11972,7 +11972,7 @@ function vf(e) {
|
|
|
11972
11972
|
for (0 < le && (E >= h.za - 1 ? o(Ee, je, Ne[Xe].y[15], 4) : r(Ee, je, Ne[Xe + 1].y, 0, 4)), B = 0; 4 > B; B++)
|
|
11973
11973
|
Ee[je + 128 + B] = Ee[je + 256 + B] = Ee[je + 384 + B] = Ee[je + 0 + B];
|
|
11974
11974
|
for (B = 0; 16 > B; ++B, Qe <<= 2)
|
|
11975
|
-
Ee = ce, je = ge + Ed[B],
|
|
11975
|
+
Ee = ce, je = ge + Ed[B], ao[Oe.Ob[B]](Ee, je), cs(Qe, Ve, 16 * +B, Ee, je);
|
|
11976
11976
|
} else if (Ee = bi(E, le, Oe.Ob[0]), Ar[Ee](ce, ge), Qe != 0)
|
|
11977
11977
|
for (B = 0; 16 > B; ++B, Qe <<= 2)
|
|
11978
11978
|
cs(Qe, Ve, 16 * +B, ce, ge + Ed[B]);
|
|
@@ -12239,15 +12239,15 @@ function vf(e) {
|
|
|
12239
12239
|
}, function(h) {
|
|
12240
12240
|
return h >> 8 & 255;
|
|
12241
12241
|
});
|
|
12242
|
-
var wi,
|
|
12242
|
+
var wi, Za = J.ColorIndexInverseTransform, ys = J.MapARGB, _u = J.VP8LColorIndexInverseTransformAlpha, Fu = J.MapAlpha, or = J.VP8LPredictorsAdd = [];
|
|
12243
12243
|
or.length = 16, (J.VP8LPredictors = []).length = 16, (J.VP8LPredictorsAdd_C = []).length = 16, (J.VP8LPredictors_C = []).length = 16;
|
|
12244
|
-
var Ea, Za, rr, ko, Do, pn, eo, bn, ps, nr, to, Ho, Dr, wn, Hr, sr, bs, Ia, Po, rl, nl, Bl, Ol, Oo, ir, mn, mi, yd, pd = a(511), bd = a(2041), wd = a(225), md = a(767), Cd = 0, Su = bd, Ci = wd, Fa = md, Na = pd, xi = 0, ki = 1, xd = 2, Bi = 3, _i = 4, Lu = 5, kd = 6, Uu = 7, $u = 8, Fi = 9, Qu = 10, l1 = [2, 3, 7], a1 = [3, 3, 11], Bd = [280, 256, 256, 256, 40], o1 = [0, 1, 1, 1, 0], r1 = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], n1 = [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], s1 = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], i1 = 8, Mu = [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], Eu = [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], ws = null, A1 = [[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]], u1 = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], _d = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], c1 = [[[[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]]]], d1 = [[[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]]], h1 = [[[[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]]]], f1 = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], Ar = [], lo = [], zo = [], v1 = 1, Fd = 2, ur = [], Ta = [];
|
|
12245
|
-
Ke("UpsampleRgbLinePair", Ot, 3), Ke("UpsampleBgrLinePair", hl, 3), Ke("UpsampleRgbaLinePair",
|
|
12244
|
+
var Ea, eo, rr, ko, Do, pn, to, bn, ps, nr, lo, Ho, Dr, wn, Hr, sr, bs, Ia, Po, rl, nl, Bl, Ol, Oo, ir, mn, mi, yd, pd = a(511), bd = a(2041), wd = a(225), md = a(767), Cd = 0, Su = bd, Ci = wd, Fa = md, Na = pd, xi = 0, ki = 1, xd = 2, Bi = 3, _i = 4, Lu = 5, kd = 6, Uu = 7, $u = 8, Fi = 9, Qu = 10, l1 = [2, 3, 7], a1 = [3, 3, 11], Bd = [280, 256, 256, 256, 40], o1 = [0, 1, 1, 1, 0], r1 = [17, 18, 0, 1, 2, 3, 4, 5, 16, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], n1 = [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], s1 = [2954, 2956, 2958, 2962, 2970, 2986, 3018, 3082, 3212, 3468, 3980, 5004], i1 = 8, Mu = [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], Eu = [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], ws = null, A1 = [[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]], u1 = [0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15], _d = [-0, 1, -1, 2, -2, 3, 4, 6, -3, 5, -4, -5, -6, 7, -7, 8, -8, -9], c1 = [[[[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]]]], d1 = [[[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]]], h1 = [[[[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]]]], f1 = [0, 1, 2, 3, 6, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 0], Ar = [], ao = [], zo = [], v1 = 1, Fd = 2, ur = [], Ta = [];
|
|
12245
|
+
Ke("UpsampleRgbLinePair", Ot, 3), Ke("UpsampleBgrLinePair", hl, 3), Ke("UpsampleRgbaLinePair", Ja, 4), Ke("UpsampleBgraLinePair", Wl, 4), Ke("UpsampleArgbLinePair", oa, 4), Ke("UpsampleRgba4444LinePair", Il, 2), Ke("UpsampleRgb565LinePair", ml, 2);
|
|
12246
12246
|
var g1 = J.UpsampleRgbLinePair, y1 = J.UpsampleBgrLinePair, Sd = J.UpsampleRgbaLinePair, Ld = J.UpsampleBgraLinePair, Ud = J.UpsampleArgbLinePair, $d = J.UpsampleRgba4444LinePair, p1 = J.UpsampleRgb565LinePair, Si = 16, Li = 1 << Si - 1, ms = -227, Iu = 482, Qd = 6, b1 = (256 << Qd) - 1, Md = 0, w1 = a(256), m1 = a(256), C1 = a(256), x1 = a(256), k1 = a(Iu - ms), B1 = a(Iu - ms);
|
|
12247
|
-
To("YuvToRgbRow", Ot, 3), To("YuvToBgrRow", hl, 3), To("YuvToRgbaRow",
|
|
12247
|
+
To("YuvToRgbRow", Ot, 3), To("YuvToBgrRow", hl, 3), To("YuvToRgbaRow", Ja, 4), To("YuvToBgraRow", Wl, 4), To("YuvToArgbRow", oa, 4), To("YuvToRgba4444Row", Il, 2), To("YuvToRgb565Row", ml, 2);
|
|
12248
12248
|
var Ed = [0, 4, 8, 12, 128, 132, 136, 140, 256, 260, 264, 268, 384, 388, 392, 396], Ui = [0, 2, 8], _1 = [8, 7, 6, 4, 4, 2, 2, 2, 1, 1, 1, 1], F1 = 1;
|
|
12249
12249
|
this.WebPDecodeRGBA = function(h, m, B, E, le) {
|
|
12250
|
-
var Ae = ki, ce = new cn(), ge = new
|
|
12250
|
+
var Ae = ki, ce = new cn(), ge = new Ka();
|
|
12251
12251
|
ce.ba = ge, ge.S = Ae, ge.width = [ge.width], ge.height = [ge.height];
|
|
12252
12252
|
var be = ge.width, xe = ge.height, $e = new Mo();
|
|
12253
12253
|
if ($e == null || h == null)
|
|
@@ -12303,7 +12303,7 @@ function vf(e) {
|
|
|
12303
12303
|
}
|
|
12304
12304
|
E.xb = 0;
|
|
12305
12305
|
}
|
|
12306
|
-
if (!
|
|
12306
|
+
if (!Xa(E, E.V, E.Ba, E.c, E.i, B.o, Yr))
|
|
12307
12307
|
break l;
|
|
12308
12308
|
le.Dc = E.Ma, E = 1;
|
|
12309
12309
|
break t;
|
|
@@ -12550,7 +12550,7 @@ function vf(e) {
|
|
|
12550
12550
|
var v = { data: A, width: n, height: s }, g = new wc(100).encode(v, 100);
|
|
12551
12551
|
return e.processJPEG.call(this, g, l, r, o);
|
|
12552
12552
|
}, e.processGIF87A = e.processGIF89A;
|
|
12553
|
-
}(bt.API),
|
|
12553
|
+
}(bt.API), no.prototype.parseHeader = function() {
|
|
12554
12554
|
if (this.fileSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.reserved = this.datav.getUint32(this.pos, !0), this.pos += 4, this.offset = this.datav.getUint32(this.pos, !0), this.pos += 4, this.headerSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.width = this.datav.getUint32(this.pos, !0), this.pos += 4, this.height = this.datav.getInt32(this.pos, !0), this.pos += 4, this.planes = this.datav.getUint16(this.pos, !0), this.pos += 2, this.bitPP = this.datav.getUint16(this.pos, !0), this.pos += 2, this.compress = this.datav.getUint32(this.pos, !0), this.pos += 4, this.rawSize = this.datav.getUint32(this.pos, !0), this.pos += 4, this.hr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.vr = this.datav.getUint32(this.pos, !0), this.pos += 4, this.colors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.importantColors = this.datav.getUint32(this.pos, !0), this.pos += 4, this.bitPP === 16 && this.is_with_alpha && (this.bitPP = 15), this.bitPP < 15) {
|
|
12555
12555
|
var e = this.colors === 0 ? 1 << this.bitPP : this.colors;
|
|
12556
12556
|
this.palette = new Array(e);
|
|
@@ -12560,7 +12560,7 @@ function vf(e) {
|
|
|
12560
12560
|
}
|
|
12561
12561
|
}
|
|
12562
12562
|
this.height < 0 && (this.height *= -1, this.bottom_up = !1);
|
|
12563
|
-
},
|
|
12563
|
+
}, no.prototype.parseBGR = function() {
|
|
12564
12564
|
this.pos = this.offset;
|
|
12565
12565
|
try {
|
|
12566
12566
|
var e = "bit" + this.bitPP, t = this.width * this.height * 4;
|
|
@@ -12568,7 +12568,7 @@ function vf(e) {
|
|
|
12568
12568
|
} catch (l) {
|
|
12569
12569
|
ll.log("bit decode error:" + l);
|
|
12570
12570
|
}
|
|
12571
|
-
},
|
|
12571
|
+
}, no.prototype.bit1 = function() {
|
|
12572
12572
|
var e, t = Math.ceil(this.width / 8), l = t % 4;
|
|
12573
12573
|
for (e = this.height - 1; e >= 0; e--) {
|
|
12574
12574
|
for (var r = this.bottom_up ? e : this.height - 1 - e, o = 0; o < t; o++)
|
|
@@ -12578,7 +12578,7 @@ function vf(e) {
|
|
|
12578
12578
|
}
|
|
12579
12579
|
l !== 0 && (this.pos += 4 - l);
|
|
12580
12580
|
}
|
|
12581
|
-
},
|
|
12581
|
+
}, no.prototype.bit4 = function() {
|
|
12582
12582
|
for (var e = Math.ceil(this.width / 2), t = e % 4, l = this.height - 1; l >= 0; l--) {
|
|
12583
12583
|
for (var r = this.bottom_up ? l : this.height - 1 - l, o = 0; o < e; o++) {
|
|
12584
12584
|
var a = this.datav.getUint8(this.pos++, !0), n = r * this.width * 4 + 2 * o * 4, s = a >> 4, A = 15 & a, v = this.palette[s];
|
|
@@ -12588,7 +12588,7 @@ function vf(e) {
|
|
|
12588
12588
|
}
|
|
12589
12589
|
t !== 0 && (this.pos += 4 - t);
|
|
12590
12590
|
}
|
|
12591
|
-
},
|
|
12591
|
+
}, no.prototype.bit8 = function() {
|
|
12592
12592
|
for (var e = this.width % 4, t = this.height - 1; t >= 0; t--) {
|
|
12593
12593
|
for (var l = this.bottom_up ? t : this.height - 1 - t, r = 0; r < this.width; r++) {
|
|
12594
12594
|
var o = this.datav.getUint8(this.pos++, !0), a = l * this.width * 4 + 4 * r;
|
|
@@ -12600,7 +12600,7 @@ function vf(e) {
|
|
|
12600
12600
|
}
|
|
12601
12601
|
e !== 0 && (this.pos += 4 - e);
|
|
12602
12602
|
}
|
|
12603
|
-
},
|
|
12603
|
+
}, no.prototype.bit15 = function() {
|
|
12604
12604
|
for (var e = this.width % 3, t = parseInt("11111", 2), l = this.height - 1; l >= 0; l--) {
|
|
12605
12605
|
for (var r = this.bottom_up ? l : this.height - 1 - l, o = 0; o < this.width; o++) {
|
|
12606
12606
|
var a = this.datav.getUint16(this.pos, !0);
|
|
@@ -12610,7 +12610,7 @@ function vf(e) {
|
|
|
12610
12610
|
}
|
|
12611
12611
|
this.pos += e;
|
|
12612
12612
|
}
|
|
12613
|
-
},
|
|
12613
|
+
}, no.prototype.bit16 = function() {
|
|
12614
12614
|
for (var e = this.width % 3, t = parseInt("11111", 2), l = parseInt("111111", 2), r = this.height - 1; r >= 0; r--) {
|
|
12615
12615
|
for (var o = this.bottom_up ? r : this.height - 1 - r, a = 0; a < this.width; a++) {
|
|
12616
12616
|
var n = this.datav.getUint16(this.pos, !0);
|
|
@@ -12620,7 +12620,7 @@ function vf(e) {
|
|
|
12620
12620
|
}
|
|
12621
12621
|
this.pos += e;
|
|
12622
12622
|
}
|
|
12623
|
-
},
|
|
12623
|
+
}, no.prototype.bit24 = function() {
|
|
12624
12624
|
for (var e = this.height - 1; e >= 0; e--) {
|
|
12625
12625
|
for (var t = this.bottom_up ? e : this.height - 1 - e, l = 0; l < this.width; l++) {
|
|
12626
12626
|
var r = this.datav.getUint8(this.pos++, !0), o = this.datav.getUint8(this.pos++, !0), a = this.datav.getUint8(this.pos++, !0), n = t * this.width * 4 + 4 * l;
|
|
@@ -12628,13 +12628,13 @@ function vf(e) {
|
|
|
12628
12628
|
}
|
|
12629
12629
|
this.pos += this.width % 4;
|
|
12630
12630
|
}
|
|
12631
|
-
},
|
|
12631
|
+
}, no.prototype.bit32 = function() {
|
|
12632
12632
|
for (var e = this.height - 1; e >= 0; e--)
|
|
12633
12633
|
for (var t = this.bottom_up ? e : this.height - 1 - e, l = 0; l < this.width; l++) {
|
|
12634
12634
|
var r = this.datav.getUint8(this.pos++, !0), o = this.datav.getUint8(this.pos++, !0), a = this.datav.getUint8(this.pos++, !0), n = this.datav.getUint8(this.pos++, !0), s = t * this.width * 4 + 4 * l;
|
|
12635
12635
|
this.data[s] = a, this.data[s + 1] = o, this.data[s + 2] = r, this.data[s + 3] = n;
|
|
12636
12636
|
}
|
|
12637
|
-
},
|
|
12637
|
+
}, no.prototype.getData = function() {
|
|
12638
12638
|
return this.data;
|
|
12639
12639
|
}, /**
|
|
12640
12640
|
* @license
|
|
@@ -12645,7 +12645,7 @@ function vf(e) {
|
|
|
12645
12645
|
*/
|
|
12646
12646
|
function(e) {
|
|
12647
12647
|
e.processBMP = function(t, l, r, o) {
|
|
12648
|
-
var a = new
|
|
12648
|
+
var a = new no(t, !1), n = a.width, s = a.height, A = { data: a.getData(), width: n, height: s }, v = new wc(100).encode(A, 100);
|
|
12649
12649
|
return e.processJPEG.call(this, v, l, r, o);
|
|
12650
12650
|
};
|
|
12651
12651
|
}(bt.API), vf.prototype.getData = function() {
|
|
@@ -12820,7 +12820,7 @@ function(e) {
|
|
|
12820
12820
|
*/
|
|
12821
12821
|
function(e) {
|
|
12822
12822
|
function t() {
|
|
12823
|
-
return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-
|
|
12823
|
+
return (wt.canvg ? Promise.resolve(wt.canvg) : import("./index.es-5e6c1a5f.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;
|
|
@@ -13773,10 +13773,10 @@ function al({ domElement: e, fileName: t, format: l = "png" }) {
|
|
|
13773
13773
|
});
|
|
13774
13774
|
}
|
|
13775
13775
|
function Aw(e, t, l) {
|
|
13776
|
-
|
|
13776
|
+
$t(() => e.addEventListener(t, l)), H1(() => e.removeEventListener(t, l));
|
|
13777
13777
|
}
|
|
13778
13778
|
function Vv() {
|
|
13779
|
-
const e =
|
|
13779
|
+
const e = N(0), t = N(0);
|
|
13780
13780
|
return Aw(window, "mousemove", (l) => {
|
|
13781
13781
|
e.value = l.clientX, t.value = l.clientY;
|
|
13782
13782
|
}), { x: e, y: t };
|
|
@@ -18170,6 +18170,8 @@ const Uw = {
|
|
|
18170
18170
|
show: !0
|
|
18171
18171
|
}
|
|
18172
18172
|
}, pm = {
|
|
18173
|
+
open: !1,
|
|
18174
|
+
maxHeight: 2e3,
|
|
18173
18175
|
head: {
|
|
18174
18176
|
useArrowSlot: !1,
|
|
18175
18177
|
backgroundColor: "#FFFFFF",
|
|
@@ -18360,11 +18362,11 @@ const Ut = (e, t) => {
|
|
|
18360
18362
|
},
|
|
18361
18363
|
setup(e) {
|
|
18362
18364
|
const t = e;
|
|
18363
|
-
|
|
18365
|
+
Va((b) => ({
|
|
18364
18366
|
"4f04048e": Be(s)
|
|
18365
18367
|
}));
|
|
18366
|
-
const { backgroundColor: l, color: r, outline: o } = t.config.th, { backgroundColor: a, color: n, outline: s } = t.config.td, A = ie(() => t.config.breakpoint), v =
|
|
18367
|
-
return
|
|
18368
|
+
const { backgroundColor: l, color: r, outline: o } = t.config.th, { backgroundColor: a, color: n, outline: s } = t.config.td, A = ie(() => t.config.breakpoint), v = N(null), g = N(!1);
|
|
18369
|
+
return $t(() => {
|
|
18368
18370
|
const b = new ResizeObserver((y) => {
|
|
18369
18371
|
y.forEach((w) => {
|
|
18370
18372
|
g.value = w.contentRect.width < A.value;
|
|
@@ -18488,7 +18490,7 @@ const pl = {
|
|
|
18488
18490
|
}
|
|
18489
18491
|
};
|
|
18490
18492
|
function Um({ tooltip: e, chart: t, clientPosition: l }) {
|
|
18491
|
-
const r =
|
|
18493
|
+
const r = N(0), o = N(48);
|
|
18492
18494
|
if (e && t) {
|
|
18493
18495
|
const { width: a, height: n } = e.getBoundingClientRect(), { right: s, left: A, bottom: v } = t.getBoundingClientRect();
|
|
18494
18496
|
l.x + a / 2 > s ? r.value = -a : l.x - a / 2 < A ? r.value = 0 : r.value = -a / 2, l.y + n > v && (o.value = -n - 48);
|
|
@@ -18527,7 +18529,7 @@ const $m = ["innerHTML"], da = {
|
|
|
18527
18529
|
}
|
|
18528
18530
|
},
|
|
18529
18531
|
setup(e) {
|
|
18530
|
-
const t = e, l =
|
|
18532
|
+
const t = e, l = N(null), r = N(Vv()), o = ie(() => Um({
|
|
18531
18533
|
tooltip: l.value,
|
|
18532
18534
|
chart: t.parent,
|
|
18533
18535
|
clientPosition: r.value
|
|
@@ -18781,11 +18783,11 @@ const Im = ["onClick", "onKeypress"], Nm = ["data-open"], Tm = {
|
|
|
18781
18783
|
function a() {
|
|
18782
18784
|
t("generateImage");
|
|
18783
18785
|
}
|
|
18784
|
-
const n =
|
|
18786
|
+
const n = N(!1);
|
|
18785
18787
|
function s() {
|
|
18786
18788
|
n.value = !n.value, t("toggleTable");
|
|
18787
18789
|
}
|
|
18788
|
-
const A =
|
|
18790
|
+
const A = N(!1), v = N(!0);
|
|
18789
18791
|
function g() {
|
|
18790
18792
|
A.value = !A.value, A.value && (v.value = !1);
|
|
18791
18793
|
}
|
|
@@ -18795,21 +18797,21 @@ const Im = ["onClick", "onKeypress"], Nm = ["data-open"], Tm = {
|
|
|
18795
18797
|
function y() {
|
|
18796
18798
|
A.value && b();
|
|
18797
18799
|
}
|
|
18798
|
-
const w =
|
|
18800
|
+
const w = N(l.isLabelActive);
|
|
18799
18801
|
function u() {
|
|
18800
18802
|
w.value = !w.value, t("toggleLabels");
|
|
18801
18803
|
}
|
|
18802
18804
|
function c() {
|
|
18803
18805
|
t("toggleSort");
|
|
18804
18806
|
}
|
|
18805
|
-
const i =
|
|
18807
|
+
const i = N(!1);
|
|
18806
18808
|
function C(k) {
|
|
18807
18809
|
l.chartElement && (k === "in" ? (i.value = !0, l.chartElement.requestFullscreen(), t("toggleFullscreen", !0)) : (i.value = !1, document.exitFullscreen(), t("toggleFullscreen", !1)));
|
|
18808
18810
|
}
|
|
18809
18811
|
function F(k) {
|
|
18810
18812
|
document.fullscreenElement ? i.value = !0 : i.value = !1;
|
|
18811
18813
|
}
|
|
18812
|
-
return
|
|
18814
|
+
return $t(() => {
|
|
18813
18815
|
document.addEventListener("fullscreenchange", F);
|
|
18814
18816
|
}), Cf(() => {
|
|
18815
18817
|
document.removeEventListener("fullscreenchange", F);
|
|
@@ -18984,10 +18986,10 @@ const Zo = (e) => (Ao("data-v-bae65970"), e = e(), uo(), e), Dm = ["id"], Hm = [
|
|
|
18984
18986
|
}
|
|
18985
18987
|
},
|
|
18986
18988
|
setup(e) {
|
|
18987
|
-
const t = e, l =
|
|
18989
|
+
const t = e, l = N(`vue-ui-skeleton-${Math.random()}`), r = N(Ft.vue_ui_skeleton), o = ie(() => Mt({
|
|
18988
18990
|
userConfig: t.config,
|
|
18989
18991
|
defaultConfig: r.value
|
|
18990
|
-
})), a = ie(() => o.value.style.animated), n = ie(() => o.value.type), s =
|
|
18992
|
+
})), a = ie(() => o.value.style.animated), n = ie(() => o.value.type), s = N([60, 50, 55, 36, 40, 25, 26, 12]), A = ie(() => Dl({
|
|
18991
18993
|
plot: { x: 50, y: 50 },
|
|
18992
18994
|
radius: 40,
|
|
18993
18995
|
sides: 6
|
|
@@ -19003,7 +19005,7 @@ const Zo = (e) => (Ao("data-v-bae65970"), e = e(), uo(), e), Dm = ["id"], Hm = [
|
|
|
19003
19005
|
plot: { x: 50, y: 50 },
|
|
19004
19006
|
radius: 10,
|
|
19005
19007
|
sides: 6
|
|
19006
|
-
}).path), y =
|
|
19008
|
+
}).path), y = N([
|
|
19007
19009
|
{
|
|
19008
19010
|
root: {
|
|
19009
19011
|
x: 70,
|
|
@@ -19088,7 +19090,7 @@ const Zo = (e) => (Ao("data-v-bae65970"), e = e(), uo(), e), Dm = ["id"], Hm = [
|
|
|
19088
19090
|
}
|
|
19089
19091
|
]
|
|
19090
19092
|
}
|
|
19091
|
-
]), w =
|
|
19093
|
+
]), w = N([
|
|
19092
19094
|
{
|
|
19093
19095
|
y: 200,
|
|
19094
19096
|
height: 100,
|
|
@@ -19139,7 +19141,7 @@ const Zo = (e) => (Ao("data-v-bae65970"), e = e(), uo(), e), Dm = ["id"], Hm = [
|
|
|
19139
19141
|
height: 45,
|
|
19140
19142
|
bar: 19
|
|
19141
19143
|
}
|
|
19142
|
-
]), u =
|
|
19144
|
+
]), u = N([
|
|
19143
19145
|
[3, 2.5],
|
|
19144
19146
|
[4, 3.1],
|
|
19145
19147
|
[8, 6],
|
|
@@ -19159,7 +19161,7 @@ const Zo = (e) => (Ao("data-v-bae65970"), e = e(), uo(), e), Dm = ["id"], Hm = [
|
|
|
19159
19161
|
[44, 45],
|
|
19160
19162
|
[38, 35],
|
|
19161
19163
|
[31, 32]
|
|
19162
|
-
]), c =
|
|
19164
|
+
]), c = N(
|
|
19163
19165
|
[
|
|
19164
19166
|
{ x: 40, y: 30 },
|
|
19165
19167
|
{ x: 45, y: 28 },
|
|
@@ -20562,17 +20564,17 @@ const Hx = ["id"], Px = ["viewBox"], Ox = ["id"], zx = ["stop-color"], Rx = ["st
|
|
|
20562
20564
|
},
|
|
20563
20565
|
emits: ["hoverIndex", "selectDatapoint"],
|
|
20564
20566
|
setup(e, { emit: t }) {
|
|
20565
|
-
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o =
|
|
20567
|
+
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o = N(Ct()), a = N(Ft.vue_ui_sparkline), n = ie(() => Mt({
|
|
20566
20568
|
userConfig: l.config,
|
|
20567
20569
|
defaultConfig: a.value
|
|
20568
|
-
})), s =
|
|
20570
|
+
})), s = N(l.dataset.map((ve) => n.value.style.animation.show ? {
|
|
20569
20571
|
...ve,
|
|
20570
20572
|
value: null
|
|
20571
20573
|
} : {
|
|
20572
20574
|
...ve,
|
|
20573
20575
|
value: [void 0].includes(ve.value) ? null : ve.value
|
|
20574
20576
|
}));
|
|
20575
|
-
|
|
20577
|
+
$t(() => {
|
|
20576
20578
|
if (Ht(l.dataset) ? et({
|
|
20577
20579
|
componentName: "VueUiSparkline",
|
|
20578
20580
|
type: "dataset"
|
|
@@ -20600,10 +20602,10 @@ const Hx = ["id"], Px = ["viewBox"], Ox = ["id"], zx = ["stop-color"], Rx = ["st
|
|
|
20600
20602
|
V();
|
|
20601
20603
|
}
|
|
20602
20604
|
});
|
|
20603
|
-
const A =
|
|
20605
|
+
const A = N({
|
|
20604
20606
|
height: 80,
|
|
20605
20607
|
width: 500
|
|
20606
|
-
}), v =
|
|
20608
|
+
}), v = N(6), g = ie(() => ({
|
|
20607
20609
|
top: 12,
|
|
20608
20610
|
left: 0,
|
|
20609
20611
|
right: A.value.width,
|
|
@@ -20636,7 +20638,7 @@ const Hx = ["id"], Px = ["viewBox"], Ox = ["id"], zx = ["stop-color"], Rx = ["st
|
|
|
20636
20638
|
return F.value.forEach((Y) => {
|
|
20637
20639
|
V.push(`${Y.x},${Y.y} `);
|
|
20638
20640
|
}), [ve.x, ve.y, ...V, z.x, z.y].toString();
|
|
20639
|
-
}), O =
|
|
20641
|
+
}), O = N(void 0);
|
|
20640
20642
|
function W(ve, z) {
|
|
20641
20643
|
O.value = ve, t("hoverIndex", { index: z });
|
|
20642
20644
|
}
|
|
@@ -20840,14 +20842,14 @@ const ik = ["id"], Ak = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
20840
20842
|
},
|
|
20841
20843
|
setup(e, { expose: t }) {
|
|
20842
20844
|
const l = e;
|
|
20843
|
-
|
|
20845
|
+
Va((X) => ({
|
|
20844
20846
|
"202ddaf6": X.tdo
|
|
20845
20847
|
}));
|
|
20846
|
-
const r =
|
|
20848
|
+
const r = N(Ct()), o = N(0), a = N(Ft.vue_ui_table_sparkline), n = N(!1), s = N(!1), A = ie(() => Mt({
|
|
20847
20849
|
userConfig: l.config,
|
|
20848
20850
|
defaultConfig: a.value
|
|
20849
|
-
})), v =
|
|
20850
|
-
|
|
20851
|
+
})), v = N(null), g = N(!1), b = ie(() => A.value.responsiveBreakpoint);
|
|
20852
|
+
$t(() => {
|
|
20851
20853
|
Ht(l.dataset) && et({
|
|
20852
20854
|
componentName: "VueUiTableSparkline",
|
|
20853
20855
|
type: "dataset"
|
|
@@ -20898,7 +20900,7 @@ const ik = ["id"], Ak = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
20898
20900
|
orders: re[U]
|
|
20899
20901
|
}));
|
|
20900
20902
|
}
|
|
20901
|
-
const u = ie(() => w(y.value)), c =
|
|
20903
|
+
const u = ie(() => w(y.value)), c = N(u.value), i = N(void 0), C = N(!1), F = N(void 0), k = N(-1);
|
|
20902
20904
|
function O() {
|
|
20903
20905
|
C.value = !1, F.value = void 0, k.value = -1, c.value = u.value;
|
|
20904
20906
|
}
|
|
@@ -20921,15 +20923,15 @@ const ik = ["id"], Ak = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
20921
20923
|
A.value.translations.average,
|
|
20922
20924
|
A.value.translations.median
|
|
20923
20925
|
] : A.value.showAverage && !A.value.showMedian ? te = [...X, A.value.translations.average] : !A.value.showAverage && A.value.showMedian ? te = [...X, A.value.translations.median] : te = X, A.value.showSparklines ? [...te, A.value.translations.chart] : te;
|
|
20924
|
-
}), J =
|
|
20926
|
+
}), J = N(void 0), ye = N(void 0);
|
|
20925
20927
|
function ve({ dataIndex: X, serieIndex: te }) {
|
|
20926
20928
|
J.value = X, ye.value = te;
|
|
20927
20929
|
}
|
|
20928
|
-
const z =
|
|
20930
|
+
const z = N(!1);
|
|
20929
20931
|
function V(X) {
|
|
20930
20932
|
z.value = X, o.value += 1;
|
|
20931
20933
|
}
|
|
20932
|
-
const Y =
|
|
20934
|
+
const Y = N(null);
|
|
20933
20935
|
function de() {
|
|
20934
20936
|
n.value = !0;
|
|
20935
20937
|
}
|
|
@@ -22122,7 +22124,7 @@ const wk = Ct(), mk = {
|
|
|
22122
22124
|
"data-html2canvas-ignore": ""
|
|
22123
22125
|
}, c4 = ["innerHTML"];
|
|
22124
22126
|
function d4(e, t, l, r, o, a) {
|
|
22125
|
-
const n =
|
|
22127
|
+
const n = io("Title"), s = io("UserOptions"), A = io("Shape"), v = io("Skeleton"), g = io("BaseIcon"), b = io("Tooltip"), y = io("TableSparkline"), w = io("DataTable");
|
|
22126
22128
|
return d(), f("div", {
|
|
22127
22129
|
id: `vue-ui-xy_${o.uniqueId}`,
|
|
22128
22130
|
class: He(`vue-ui-xy ${o.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${a.chartConfig.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -24500,7 +24502,7 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24500
24502
|
return P;
|
|
24501
24503
|
}
|
|
24502
24504
|
});
|
|
24503
|
-
|
|
24505
|
+
$t(() => {
|
|
24504
24506
|
Ht(r.dataset) ? et({
|
|
24505
24507
|
componentName: "VueUiDonut",
|
|
24506
24508
|
type: "dataset"
|
|
@@ -24518,10 +24520,10 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24518
24520
|
});
|
|
24519
24521
|
});
|
|
24520
24522
|
});
|
|
24521
|
-
const a =
|
|
24523
|
+
const a = N(Ct()), n = N(Ft.vue_ui_donut), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(null), u = N(0), c = ie(() => Mt({
|
|
24522
24524
|
userConfig: r.config,
|
|
24523
24525
|
defaultConfig: n.value
|
|
24524
|
-
})), i =
|
|
24526
|
+
})), i = N({
|
|
24525
24527
|
dataLabels: {
|
|
24526
24528
|
show: c.value.style.chart.layout.labels.dataLabels.show
|
|
24527
24529
|
},
|
|
@@ -24530,7 +24532,7 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24530
24532
|
}), C = ie(() => ({
|
|
24531
24533
|
height: i.value.inside || s.value ? 512 : 360,
|
|
24532
24534
|
width: 512
|
|
24533
|
-
})), F =
|
|
24535
|
+
})), F = N([]);
|
|
24534
24536
|
function k(P) {
|
|
24535
24537
|
F.value.includes(P) ? F.value = F.value.filter((j) => j !== P) : F.value.push(P), l("selectLegend", ae.value.map((j) => ({
|
|
24536
24538
|
name: j.name,
|
|
@@ -24589,7 +24591,7 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24589
24591
|
function V(P) {
|
|
24590
24592
|
return [...P].map((j) => j.value).reduce((j, q) => j + q, 0);
|
|
24591
24593
|
}
|
|
24592
|
-
const Y = ie(() => ae.value.map((P) => P.value).reduce((P, j) => P + j, 0)), de = ie(() => Y.value / ae.value.length), we =
|
|
24594
|
+
const Y = ie(() => ae.value.map((P) => P.value).reduce((P, j) => P + j, 0)), de = ie(() => Y.value / ae.value.length), we = N(null);
|
|
24593
24595
|
function _e({ datapoint: P, relativeIndex: j, seriesIndex: q, show: fe = !1 }) {
|
|
24594
24596
|
we.value = { datapoint: P, seriesIndex: q, config: c.value, series: O.value }, b.value = fe, w.value = j;
|
|
24595
24597
|
let Z = "";
|
|
@@ -24609,7 +24611,7 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24609
24611
|
function ne(P) {
|
|
24610
24612
|
return c.value.useBlurOnHover && ![null, void 0].includes(w.value) && w.value !== P ? `url(#blur_${a.value})` : "";
|
|
24611
24613
|
}
|
|
24612
|
-
const G =
|
|
24614
|
+
const G = N(null);
|
|
24613
24615
|
function X() {
|
|
24614
24616
|
s.value = !0;
|
|
24615
24617
|
}
|
|
@@ -24690,7 +24692,7 @@ const R_ = (e) => (Ao("data-v-8ac6ab5c"), e = e(), uo(), e), V_ = ["id"], K_ = [
|
|
|
24690
24692
|
body: j,
|
|
24691
24693
|
config: q
|
|
24692
24694
|
};
|
|
24693
|
-
}), $ =
|
|
24695
|
+
}), $ = N(!1);
|
|
24694
24696
|
function K(P) {
|
|
24695
24697
|
$.value = P, u.value += 1;
|
|
24696
24698
|
}
|
|
@@ -25070,7 +25072,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25070
25072
|
emits: ["selectLegend"],
|
|
25071
25073
|
setup(e, { expose: t, emit: l }) {
|
|
25072
25074
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
25073
|
-
|
|
25075
|
+
$t(() => {
|
|
25074
25076
|
Ht(r.dataset) ? et({
|
|
25075
25077
|
componentName: "VueUiWaffle",
|
|
25076
25078
|
type: "dataset"
|
|
@@ -25088,10 +25090,10 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25088
25090
|
});
|
|
25089
25091
|
});
|
|
25090
25092
|
});
|
|
25091
|
-
const a =
|
|
25093
|
+
const a = N(Ct()), n = N(Ft.vue_ui_waffle), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(null), u = N(0), c = ie(() => Mt({
|
|
25092
25094
|
userConfig: r.config,
|
|
25093
25095
|
defaultConfig: n.value
|
|
25094
|
-
})), i =
|
|
25096
|
+
})), i = N({
|
|
25095
25097
|
inside: !c.value.style.chart.layout.useDiv,
|
|
25096
25098
|
showTable: c.value.table.show
|
|
25097
25099
|
});
|
|
@@ -25106,10 +25108,10 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25106
25108
|
width: 512
|
|
25107
25109
|
})), k = ie(() => (F.value.width - c.value.style.chart.layout.grid.size * c.value.style.chart.layout.grid.spaceBetween) / c.value.style.chart.layout.grid.size), O = ie(() => F.value.width / c.value.style.chart.layout.grid.size);
|
|
25108
25110
|
function W(Z) {
|
|
25109
|
-
const pe = Z.reduce((ee, ue) => ee + ue, 0), M = Z.map((ee) => Math.round(ee / pe * 100) / 100),
|
|
25110
|
-
if (
|
|
25111
|
+
const pe = Z.reduce((ee, ue) => ee + ue, 0), M = Z.map((ee) => Math.round(ee / pe * 100) / 100), T = M.reduce((ee, ue) => ee + ue, 0);
|
|
25112
|
+
if (T !== 1) {
|
|
25111
25113
|
const ee = M.length - 1;
|
|
25112
|
-
M[ee] += 1 -
|
|
25114
|
+
M[ee] += 1 - T, M[ee] = Math.round(M[ee] * 100) / 100;
|
|
25113
25115
|
}
|
|
25114
25116
|
return M;
|
|
25115
25117
|
}
|
|
@@ -25119,10 +25121,10 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25119
25121
|
uid: `serie_${pe}`,
|
|
25120
25122
|
absoluteIndex: pe
|
|
25121
25123
|
}))), se = ie(() => {
|
|
25122
|
-
const Z = ae.value.filter((pe, M) => !te.value.includes(pe.uid)).map((pe, M) => (pe.values || []).reduce((
|
|
25124
|
+
const Z = ae.value.filter((pe, M) => !te.value.includes(pe.uid)).map((pe, M) => (pe.values || []).reduce((T, ee) => T + ee, 0));
|
|
25123
25125
|
return W(Z);
|
|
25124
25126
|
}), J = ie(() => {
|
|
25125
|
-
const Z = ae.value.map((pe, M) => (pe.values || []).reduce((
|
|
25127
|
+
const Z = ae.value.map((pe, M) => (pe.values || []).reduce((T, ee) => T + ee));
|
|
25126
25128
|
return W(Z);
|
|
25127
25129
|
}), ye = ie(() => (r.dataset.forEach((Z, pe) => {
|
|
25128
25130
|
[null, void 0].includes(Z.values) && et({
|
|
@@ -25136,7 +25138,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25136
25138
|
uid: Z.uid,
|
|
25137
25139
|
name: Z.name,
|
|
25138
25140
|
color: Z.color,
|
|
25139
|
-
value: (Z.values || []).reduce((M,
|
|
25141
|
+
value: (Z.values || []).reduce((M, T) => M + T, 0),
|
|
25140
25142
|
absoluteValues: Z.values || [],
|
|
25141
25143
|
proportion: se.value[pe] * Math.pow(c.value.style.chart.layout.grid.size, 2)
|
|
25142
25144
|
})).sort((Z, pe) => pe.value - Z.value))), ve = ie(() => ae.value.map((Z, pe) => ({
|
|
@@ -25144,7 +25146,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25144
25146
|
uid: Z.uid,
|
|
25145
25147
|
name: Z.name,
|
|
25146
25148
|
color: Z.color,
|
|
25147
|
-
value: (Z.values || []).reduce((M,
|
|
25149
|
+
value: (Z.values || []).reduce((M, T) => M + T, 0),
|
|
25148
25150
|
absoluteValues: Z.values || [],
|
|
25149
25151
|
proportion: J.value[pe] * Math.pow(c.value.style.chart.layout.grid.size, 2)
|
|
25150
25152
|
})).sort((Z, pe) => pe.value - Z.value));
|
|
@@ -25157,22 +25159,22 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25157
25159
|
}));
|
|
25158
25160
|
}
|
|
25159
25161
|
const V = ie(() => ye.value.map((Z, pe) => {
|
|
25160
|
-
const M = pe > 0 ? ye.value.filter((ue, R) => R < pe).map((ue) => ue.proportion).reduce((ue, R) => ue + R) + Z.proportion - ye.value[pe - 1].proportion : Z.proportion - Z.proportion,
|
|
25161
|
-
for (let ue = M; ue <=
|
|
25162
|
+
const M = pe > 0 ? ye.value.filter((ue, R) => R < pe).map((ue) => ue.proportion).reduce((ue, R) => ue + R) + Z.proportion - ye.value[pe - 1].proportion : Z.proportion - Z.proportion, T = M + Z.proportion, ee = [];
|
|
25163
|
+
for (let ue = M; ue <= T; ue += 1)
|
|
25162
25164
|
ee.push(ue);
|
|
25163
25165
|
return {
|
|
25164
25166
|
...Z,
|
|
25165
25167
|
start: pe > 0 ? ye.value.filter((ue, R) => R < pe).map((ue) => ue.proportion).reduce((ue, R) => ue + R) + Z.proportion - ye.value[pe - 1].proportion : Z.proportion - Z.proportion,
|
|
25166
25168
|
rects: ee
|
|
25167
25169
|
};
|
|
25168
|
-
})), Y = ie(() => V.value.flatMap((Z, pe) => Z.rects.map((M,
|
|
25169
|
-
isFirst:
|
|
25170
|
+
})), Y = ie(() => V.value.flatMap((Z, pe) => Z.rects.map((M, T) => ({
|
|
25171
|
+
isFirst: T === 0,
|
|
25170
25172
|
isLongEnough: M.length > 2,
|
|
25171
25173
|
name: Z.name,
|
|
25172
25174
|
color: Z.color,
|
|
25173
25175
|
value: Z.value,
|
|
25174
25176
|
serieIndex: pe,
|
|
25175
|
-
absoluteStartIndex:
|
|
25177
|
+
absoluteStartIndex: T < 3,
|
|
25176
25178
|
...Z
|
|
25177
25179
|
}))).map((Z, pe) => ({
|
|
25178
25180
|
...Z,
|
|
@@ -25191,12 +25193,12 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25191
25193
|
}), we = ie(() => ae.value.map((Z, pe) => ({
|
|
25192
25194
|
name: Z.name,
|
|
25193
25195
|
color: Z.color || Ye[pe] || Ye[pe % Ye.length],
|
|
25194
|
-
value: (Z.values || []).reduce((M,
|
|
25196
|
+
value: (Z.values || []).reduce((M, T) => M + T, 0),
|
|
25195
25197
|
uid: Z.uid,
|
|
25196
25198
|
shape: "square"
|
|
25197
25199
|
})).sort((Z, pe) => pe.value - Z.value).map((Z, pe) => ({
|
|
25198
25200
|
...Z,
|
|
25199
|
-
proportion: Z.value / ae.value.map((M) => (M.values || []).reduce((
|
|
25201
|
+
proportion: Z.value / ae.value.map((M) => (M.values || []).reduce((T, ee) => T + ee, 0)).reduce((M, T) => M + T, 0),
|
|
25200
25202
|
opacity: te.value.includes(Z.uid) ? 0.5 : 1
|
|
25201
25203
|
}))), _e = ie(() => ({
|
|
25202
25204
|
cy: "waffle-div-legend",
|
|
@@ -25205,7 +25207,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25205
25207
|
fontSize: c.value.style.chart.legend.fontSize,
|
|
25206
25208
|
paddingBottom: 12,
|
|
25207
25209
|
fontWeight: c.value.style.chart.legend.bold ? "bold" : ""
|
|
25208
|
-
})), ne = ie(() => ye.value.map((Z) => Z.value).reduce((Z, pe) => Z + pe, 0)), G =
|
|
25210
|
+
})), ne = ie(() => ye.value.map((Z) => Z.value).reduce((Z, pe) => Z + pe, 0)), G = N(null);
|
|
25209
25211
|
function X(Z) {
|
|
25210
25212
|
if (te.value.length === r.dataset.length)
|
|
25211
25213
|
return;
|
|
@@ -25230,11 +25232,11 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25230
25232
|
config: c.value
|
|
25231
25233
|
});
|
|
25232
25234
|
else {
|
|
25233
|
-
let
|
|
25234
|
-
|
|
25235
|
+
let T = "";
|
|
25236
|
+
T += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;">${pe.name}</div>`, T += `<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="${pe.color}" /></svg>`, c.value.style.chart.tooltip.showValue && (T += `<b>${ft({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: pe.value, s: c.value.style.chart.layout.labels.dataLabels.suffix, r: c.value.style.chart.tooltip.roundingValue })}</b>`), c.value.style.chart.tooltip.showPercentage && (c.value.style.chart.tooltip.showValue ? T += `<span>(${(pe.value / ne.value * 100).toFixed(c.value.style.chart.tooltip.roundingPercentage)}%)</span></div>` : T += `<b>${(pe.value / ne.value * 100).toFixed(c.value.style.chart.tooltip.roundingPercentage)}%</b></div>`), y.value = T;
|
|
25235
25237
|
}
|
|
25236
25238
|
}
|
|
25237
|
-
const te =
|
|
25239
|
+
const te = N([]);
|
|
25238
25240
|
function re(Z) {
|
|
25239
25241
|
te.value.includes(Z) ? te.value = te.value.filter((pe) => pe !== Z) : te.value.length < we.value.length - 1 && we.value.length > 1 && te.value.push(Z), l("selectLegend", ye.value.map((pe) => ({
|
|
25240
25242
|
name: pe.name,
|
|
@@ -25253,7 +25255,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25253
25255
|
function Q(Z) {
|
|
25254
25256
|
return c.value.useBlurOnHover && ![null, void 0].includes(w.value) && w.value !== Z ? `url(#blur_${a.value})` : "";
|
|
25255
25257
|
}
|
|
25256
|
-
const U =
|
|
25258
|
+
const U = N(null);
|
|
25257
25259
|
function S() {
|
|
25258
25260
|
A.value = !0;
|
|
25259
25261
|
}
|
|
@@ -25283,8 +25285,8 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25283
25285
|
}
|
|
25284
25286
|
function P() {
|
|
25285
25287
|
fl(() => {
|
|
25286
|
-
const Z = _.value.head.map((
|
|
25287
|
-
|
|
25288
|
+
const Z = _.value.head.map((T, ee) => [[
|
|
25289
|
+
T.name
|
|
25288
25290
|
], [_.value.body[ee]], [isNaN(_.value.body[ee] / ne.value) ? "-" : _.value.body[ee] / ne.value * 100]]), pe = [[c.value.style.chart.title.text], [c.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(Z), M = yl(pe);
|
|
25289
25291
|
gl({ csvContent: M, title: c.value.style.chart.title.text || "vue-ui-waffle" });
|
|
25290
25292
|
});
|
|
@@ -25314,7 +25316,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25314
25316
|
},
|
|
25315
25317
|
shape: "square",
|
|
25316
25318
|
breakpoint: c.value.table.responsiveBreakpoint
|
|
25317
|
-
},
|
|
25319
|
+
}, T = [
|
|
25318
25320
|
c.value.table.columnNames.series,
|
|
25319
25321
|
c.value.table.columnNames.value,
|
|
25320
25322
|
c.value.table.columnNames.percentage
|
|
@@ -25323,9 +25325,9 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25323
25325
|
head: Z,
|
|
25324
25326
|
body: pe,
|
|
25325
25327
|
config: M,
|
|
25326
|
-
colNames:
|
|
25328
|
+
colNames: T
|
|
25327
25329
|
};
|
|
25328
|
-
}), q =
|
|
25330
|
+
}), q = N(!1);
|
|
25329
25331
|
function fe(Z) {
|
|
25330
25332
|
q.value = Z, u.value += 1;
|
|
25331
25333
|
}
|
|
@@ -25392,13 +25394,13 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25392
25394
|
style: H(`max-width:100%;overflow:visible;background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)
|
|
25393
25395
|
}, [
|
|
25394
25396
|
p("defs", null, [
|
|
25395
|
-
(d(!0), f(Ce, null, Le(Y.value, (M,
|
|
25397
|
+
(d(!0), f(Ce, null, Le(Y.value, (M, T) => (d(), f("radialGradient", {
|
|
25396
25398
|
cx: "50%",
|
|
25397
25399
|
cy: "50%",
|
|
25398
25400
|
r: "50%",
|
|
25399
25401
|
fx: "50%",
|
|
25400
25402
|
fy: "50%",
|
|
25401
|
-
id: `gradient_${a.value}_${
|
|
25403
|
+
id: `gradient_${a.value}_${T}`
|
|
25402
25404
|
}, [
|
|
25403
25405
|
p("stop", {
|
|
25404
25406
|
offset: "0%",
|
|
@@ -25438,16 +25440,16 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25438
25440
|
height: "200%"
|
|
25439
25441
|
}, TF, 8, EF)
|
|
25440
25442
|
]),
|
|
25441
|
-
c.value.useCustomCells ? (d(!0), f(Ce, { key: 1 }, Le(de.value, (M,
|
|
25443
|
+
c.value.useCustomCells ? (d(!0), f(Ce, { key: 1 }, Le(de.value, (M, T) => (d(), f("foreignObject", {
|
|
25442
25444
|
x: M.x,
|
|
25443
25445
|
y: M.y,
|
|
25444
25446
|
height: k.value,
|
|
25445
25447
|
width: k.value,
|
|
25446
25448
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
25447
25449
|
}, [
|
|
25448
|
-
Me(Z.$slots, "cell", Ze(tt({ cell: { ...M, color: Y.value[
|
|
25450
|
+
Me(Z.$slots, "cell", Ze(tt({ cell: { ...M, color: Y.value[T].color, ...Y.value[T] }, isSelected: [null, void 0].includes(w.value) ? !0 : Y.value[T].serieIndex === w.value })), void 0, !0)
|
|
25449
25451
|
], 8, DF))), 256)) : (d(), f(Ce, { key: 2 }, [
|
|
25450
|
-
(d(!0), f(Ce, null, Le(de.value, (M,
|
|
25452
|
+
(d(!0), f(Ce, null, Le(de.value, (M, T) => (d(), f("rect", {
|
|
25451
25453
|
rx: c.value.style.chart.layout.rect.rounded ? c.value.style.chart.layout.rect.rounding : 0,
|
|
25452
25454
|
x: M.x,
|
|
25453
25455
|
y: M.y,
|
|
@@ -25456,42 +25458,42 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25456
25458
|
fill: "white",
|
|
25457
25459
|
stroke: c.value.style.chart.layout.rect.stroke,
|
|
25458
25460
|
"stroke-width": c.value.style.chart.layout.rect.strokeWidth,
|
|
25459
|
-
filter: Q(Y.value[
|
|
25461
|
+
filter: Q(Y.value[T].serieIndex)
|
|
25460
25462
|
}, null, 8, HF))), 256)),
|
|
25461
|
-
(d(!0), f(Ce, null, Le(de.value, (M,
|
|
25463
|
+
(d(!0), f(Ce, null, Le(de.value, (M, T) => (d(), f("rect", {
|
|
25462
25464
|
rx: c.value.style.chart.layout.rect.rounded ? c.value.style.chart.layout.rect.rounding : 0,
|
|
25463
25465
|
x: M.x,
|
|
25464
25466
|
y: M.y,
|
|
25465
25467
|
height: k.value,
|
|
25466
25468
|
width: k.value,
|
|
25467
|
-
fill: c.value.style.chart.layout.rect.useGradient && c.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${a.value}_${
|
|
25469
|
+
fill: c.value.style.chart.layout.rect.useGradient && c.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${a.value}_${T})` : Y.value[T].color,
|
|
25468
25470
|
stroke: c.value.style.chart.layout.rect.stroke,
|
|
25469
25471
|
"stroke-width": c.value.style.chart.layout.rect.strokeWidth,
|
|
25470
|
-
filter: Q(Y.value[
|
|
25472
|
+
filter: Q(Y.value[T].serieIndex)
|
|
25471
25473
|
}, null, 8, PF))), 256))
|
|
25472
25474
|
], 64)),
|
|
25473
|
-
(d(!0), f(Ce, null, Le(de.value, (M,
|
|
25474
|
-
!c.value.style.chart.layout.grid.vertical && c.value.style.chart.layout.labels.captions.show && (Y.value[
|
|
25475
|
+
(d(!0), f(Ce, null, Le(de.value, (M, T) => (d(), f(Ce, null, [
|
|
25476
|
+
!c.value.style.chart.layout.grid.vertical && c.value.style.chart.layout.labels.captions.show && (Y.value[T].isFirst && M.position < c.value.style.chart.layout.grid.size - 2 || Y.value[T].isAbsoluteFirst && T % c.value.style.chart.layout.grid.size === 0 && Y.value[T].absoluteStartIndex) ? (d(), f("foreignObject", {
|
|
25475
25477
|
key: 0,
|
|
25476
25478
|
x: M.x + c.value.style.chart.layout.labels.captions.offsetX,
|
|
25477
25479
|
y: M.y + c.value.style.chart.layout.labels.captions.offsetY,
|
|
25478
25480
|
height: O.value,
|
|
25479
25481
|
width: O.value * c.value.style.chart.layout.grid.size,
|
|
25480
|
-
filter: Q(Y.value[
|
|
25482
|
+
filter: Q(Y.value[T].serieIndex)
|
|
25481
25483
|
}, [
|
|
25482
25484
|
p("div", {
|
|
25483
25485
|
class: "vue-ui-waffle-caption",
|
|
25484
|
-
style: H(`height: 100%; width: 100%; font-size:${c.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${O.value / 12}px;color:${Be(Jo)(Y.value[
|
|
25486
|
+
style: H(`height: 100%; width: 100%; font-size:${c.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${O.value / 12}px;color:${Be(Jo)(Y.value[T].color)};gap:2px`)
|
|
25485
25487
|
}, [
|
|
25486
|
-
c.value.style.chart.layout.labels.captions.showSerieName ? (d(), f("span", zF, D(c.value.style.chart.layout.labels.captions.serieNameAbbreviation ? Be(fd)({ source: Y.value[
|
|
25487
|
-
c.value.style.chart.layout.labels.captions.showPercentage ? (d(), f("span", RF, D(Be(ft)({ v: Y.value[
|
|
25488
|
-
c.value.style.chart.layout.labels.captions.showPercentage && c.value.style.chart.layout.labels.captions.showValue ? (d(), f("span", VF, " (" + D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: Y.value[
|
|
25489
|
-
!c.value.style.chart.layout.labels.captions.showPercentage && c.value.style.chart.layout.labels.captions.showValue ? (d(), f("span", KF, D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: Y.value[
|
|
25488
|
+
c.value.style.chart.layout.labels.captions.showSerieName ? (d(), f("span", zF, D(c.value.style.chart.layout.labels.captions.serieNameAbbreviation ? Be(fd)({ source: Y.value[T].name, length: c.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : Y.value[T].name) + " : ", 1)) : L("", !0),
|
|
25489
|
+
c.value.style.chart.layout.labels.captions.showPercentage ? (d(), f("span", RF, D(Be(ft)({ v: Y.value[T].proportion, s: "%", r: c.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : L("", !0),
|
|
25490
|
+
c.value.style.chart.layout.labels.captions.showPercentage && c.value.style.chart.layout.labels.captions.showValue ? (d(), f("span", VF, " (" + D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: Y.value[T].value, s: c.value.style.chart.layout.labels.dataLabels.suffix, r: c.value.style.chart.layout.labels.captions.roundingValue })) + ") ", 1)) : L("", !0),
|
|
25491
|
+
!c.value.style.chart.layout.labels.captions.showPercentage && c.value.style.chart.layout.labels.captions.showValue ? (d(), f("span", KF, D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: Y.value[T].value, s: c.value.style.chart.layout.labels.dataLabels.suffix, r: c.value.style.chart.layout.labels.captions.roundingValue })), 1)) : L("", !0)
|
|
25490
25492
|
], 4)
|
|
25491
25493
|
], 8, OF)) : L("", !0)
|
|
25492
25494
|
], 64))), 256)),
|
|
25493
|
-
(d(!0), f(Ce, null, Le(de.value, (M,
|
|
25494
|
-
onMouseover: (ee) => X(
|
|
25495
|
+
(d(!0), f(Ce, null, Le(de.value, (M, T) => (d(), f("rect", {
|
|
25496
|
+
onMouseover: (ee) => X(T),
|
|
25495
25497
|
onMouseleave: pe[1] || (pe[1] = (ee) => {
|
|
25496
25498
|
b.value = !1, w.value = null;
|
|
25497
25499
|
}),
|
|
@@ -25510,7 +25512,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25510
25512
|
}, {
|
|
25511
25513
|
item: Ie(({ legend: M }) => [
|
|
25512
25514
|
p("div", {
|
|
25513
|
-
onClick: (
|
|
25515
|
+
onClick: (T) => re(M.uid),
|
|
25514
25516
|
style: H(`opacity:${te.value.includes(M.uid) ? 0.5 : 1}`)
|
|
25515
25517
|
}, [
|
|
25516
25518
|
dt(D(M.name) + " : " + D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: M.value, s: c.value.style.chart.layout.labels.dataLabels.suffix, r: c.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
@@ -25542,7 +25544,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25542
25544
|
}, {
|
|
25543
25545
|
item: Ie(({ legend: M }) => [
|
|
25544
25546
|
p("div", {
|
|
25545
|
-
onClick: (
|
|
25547
|
+
onClick: (T) => re(M.uid),
|
|
25546
25548
|
style: H(`opacity:${te.value.includes(M.uid) ? 0.5 : 1}`)
|
|
25547
25549
|
}, [
|
|
25548
25550
|
dt(D(M.name) + " : " + D(Be(ft)({ p: c.value.style.chart.layout.labels.dataLabels.prefix, v: M.value, s: c.value.style.chart.layout.labels.dataLabels.suffix, r: c.value.style.chart.legend.roundingValue })) + " ", 1),
|
|
@@ -25607,14 +25609,14 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25607
25609
|
},
|
|
25608
25610
|
emits: ["selectDatapoint"],
|
|
25609
25611
|
setup(e, { emit: t }) {
|
|
25610
|
-
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o =
|
|
25612
|
+
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o = N(Ct()), a = N(Ft.vue_ui_sparkbar), n = ie(() => Mt({
|
|
25611
25613
|
userConfig: l.config,
|
|
25612
25614
|
defaultConfig: a.value
|
|
25613
|
-
})), s =
|
|
25615
|
+
})), s = N(l.dataset.map((u) => ({
|
|
25614
25616
|
...u,
|
|
25615
25617
|
value: n.value.style.animation.show ? 0 : u.value || 0
|
|
25616
25618
|
})));
|
|
25617
|
-
|
|
25619
|
+
$t(() => {
|
|
25618
25620
|
if (Ht(l.dataset) && et({
|
|
25619
25621
|
componentName: "VueUiSparkbar",
|
|
25620
25622
|
type: "dataset"
|
|
@@ -25633,7 +25635,7 @@ const Zv = (e) => (Ao("data-v-09defd4b"), e = e(), uo(), e), _F = ["id"], FF = [
|
|
|
25633
25635
|
F();
|
|
25634
25636
|
}
|
|
25635
25637
|
});
|
|
25636
|
-
const A =
|
|
25638
|
+
const A = N({
|
|
25637
25639
|
width: 500,
|
|
25638
25640
|
height: 16
|
|
25639
25641
|
}), v = ie(() => Math.max(...l.dataset.map((u) => u.value))), g = ie(() => (l.dataset.forEach((u, c) => {
|
|
@@ -25770,16 +25772,16 @@ const c8 = ["id"], d8 = ["viewBox"], h8 = ["id"], f8 = ["stop-color"], v8 = ["st
|
|
|
25770
25772
|
emits: ["selectLegend"],
|
|
25771
25773
|
setup(e, { expose: t, emit: l }) {
|
|
25772
25774
|
const r = e, o = ie(() => !!r.dataset && Object.keys(r.dataset).length);
|
|
25773
|
-
|
|
25775
|
+
$t(() => {
|
|
25774
25776
|
Ht(r.dataset) && et({
|
|
25775
25777
|
componentName: "VueUiRadar",
|
|
25776
25778
|
type: "dataset"
|
|
25777
25779
|
});
|
|
25778
25780
|
});
|
|
25779
|
-
const a =
|
|
25781
|
+
const a = N(Ct()), n = N(Ft.vue_ui_radar), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(0), u = ie(() => Mt({
|
|
25780
25782
|
userConfig: r.config,
|
|
25781
25783
|
defaultConfig: n.value
|
|
25782
|
-
})), c =
|
|
25784
|
+
})), c = N({
|
|
25783
25785
|
dataLabels: {
|
|
25784
25786
|
show: u.value.style.chart.layout.labels.dataLabels.show
|
|
25785
25787
|
},
|
|
@@ -25806,7 +25808,7 @@ const c8 = ["id"], d8 = ["viewBox"], h8 = ["id"], f8 = ["stop-color"], v8 = ["st
|
|
|
25806
25808
|
})), C = ie(() => ({
|
|
25807
25809
|
height: c.value.inside ? 412 : 312,
|
|
25808
25810
|
width: 512
|
|
25809
|
-
})), F =
|
|
25811
|
+
})), F = N([]);
|
|
25810
25812
|
function k(P) {
|
|
25811
25813
|
F.value.includes(P) ? F.value = F.value.filter((j) => j !== P) : F.value.push(P), l("selectLegend", de.value.filter((j, q) => !F.value.includes(q)).map((j) => ({
|
|
25812
25814
|
name: j.name,
|
|
@@ -25948,7 +25950,7 @@ const c8 = ["id"], d8 = ["viewBox"], h8 = ["id"], f8 = ["stop-color"], v8 = ["st
|
|
|
25948
25950
|
breakpoint: u.value.table.responsiveBreakpoint
|
|
25949
25951
|
};
|
|
25950
25952
|
return { head: P, body: j, config: q, colNames: P };
|
|
25951
|
-
}), ne =
|
|
25953
|
+
}), ne = N(null), G = N([]), X = N(null);
|
|
25952
25954
|
function te(P, j) {
|
|
25953
25955
|
G.value = [], ne.value = j, b.value = !0;
|
|
25954
25956
|
let q = "";
|
|
@@ -25989,7 +25991,7 @@ const c8 = ["id"], d8 = ["viewBox"], h8 = ["id"], f8 = ["stop-color"], v8 = ["st
|
|
|
25989
25991
|
y.value = q;
|
|
25990
25992
|
}
|
|
25991
25993
|
}
|
|
25992
|
-
const re =
|
|
25994
|
+
const re = N(null);
|
|
25993
25995
|
function _() {
|
|
25994
25996
|
A.value = !0;
|
|
25995
25997
|
}
|
|
@@ -26019,14 +26021,14 @@ const c8 = ["id"], d8 = ["viewBox"], h8 = ["id"], f8 = ["stop-color"], v8 = ["st
|
|
|
26019
26021
|
}
|
|
26020
26022
|
function $() {
|
|
26021
26023
|
fl(() => {
|
|
26022
|
-
const P = [[u.value.style.chart.title.text], [u.value.style.chart.title.subtitle.text], [""]], j = [[""], [u.value.translations.target], ...de.value.flatMap((pe) => [[pe.name], ["%"]])], q = r.dataset.series.map((pe, M) => [pe.name, pe.target, ...pe.values.flatMap((
|
|
26023
|
-
|
|
26024
|
-
isNaN(
|
|
26024
|
+
const P = [[u.value.style.chart.title.text], [u.value.style.chart.title.subtitle.text], [""]], j = [[""], [u.value.translations.target], ...de.value.flatMap((pe) => [[pe.name], ["%"]])], q = r.dataset.series.map((pe, M) => [pe.name, pe.target, ...pe.values.flatMap((T) => [
|
|
26025
|
+
T,
|
|
26026
|
+
isNaN(T / pe.target) ? "" : T / pe.target * 100
|
|
26025
26027
|
])]), fe = P.concat([j]).concat(q), Z = yl(fe);
|
|
26026
26028
|
gl({ csvContent: Z, title: u.value.style.chart.title.text || "vue-ui-radar" });
|
|
26027
26029
|
});
|
|
26028
26030
|
}
|
|
26029
|
-
const K =
|
|
26031
|
+
const K = N(!1);
|
|
26030
26032
|
function I(P) {
|
|
26031
26033
|
K.value = P, w.value += 1;
|
|
26032
26034
|
}
|
|
@@ -26314,8 +26316,8 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26314
26316
|
},
|
|
26315
26317
|
emits: ["selectPlot", "selectSide", "selectLegend"],
|
|
26316
26318
|
setup(e, { expose: t, emit: l }) {
|
|
26317
|
-
const r = e, o = ie(() => !!r.dataset && r.dataset.length), a =
|
|
26318
|
-
|
|
26319
|
+
const r = e, o = ie(() => !!r.dataset && r.dataset.length), a = N(Ct()), n = N(Ft.vue_ui_quadrant), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(0), u = N(!1);
|
|
26320
|
+
$t(() => {
|
|
26319
26321
|
Ht(r.dataset) ? et({
|
|
26320
26322
|
componentName: "VueUiQuadrant",
|
|
26321
26323
|
type: "dataset"
|
|
@@ -26377,7 +26379,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26377
26379
|
const i = ie(() => Mt({
|
|
26378
26380
|
userConfig: r.config,
|
|
26379
26381
|
defaultConfig: n.value
|
|
26380
|
-
})), C =
|
|
26382
|
+
})), C = N({
|
|
26381
26383
|
plotLabels: {
|
|
26382
26384
|
show: i.value.style.chart.layout.labels.plotLabels.show
|
|
26383
26385
|
},
|
|
@@ -26402,11 +26404,11 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26402
26404
|
centerY: i.value.style.chart.height + ue - i.value.style.chart.height / 2,
|
|
26403
26405
|
padding: me
|
|
26404
26406
|
};
|
|
26405
|
-
}), O =
|
|
26407
|
+
}), O = N({
|
|
26406
26408
|
...JSON.parse(JSON.stringify(k.value)),
|
|
26407
26409
|
startX: 0,
|
|
26408
26410
|
startY: 0
|
|
26409
|
-
}), W =
|
|
26411
|
+
}), W = N(null);
|
|
26410
26412
|
function ae(ue) {
|
|
26411
26413
|
if (u.value && W.value === ue)
|
|
26412
26414
|
O.value.startX = 0, O.value.startY = 0, O.value.width = k.value.width, O.value.height = k.value.height, W.value = null, u.value = !1;
|
|
@@ -26454,7 +26456,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26454
26456
|
min: Fe
|
|
26455
26457
|
}
|
|
26456
26458
|
};
|
|
26457
|
-
}), ye =
|
|
26459
|
+
}), ye = N([]), ve = ie(() => r.dataset.map((ue, R) => ({
|
|
26458
26460
|
...ue,
|
|
26459
26461
|
id: `cat_${R}_${a.value}`,
|
|
26460
26462
|
color: mt(ue.color) || Ye[R]
|
|
@@ -26596,7 +26598,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26596
26598
|
return "";
|
|
26597
26599
|
}
|
|
26598
26600
|
}
|
|
26599
|
-
const _ =
|
|
26601
|
+
const _ = N(null), Q = N(null), U = N(null);
|
|
26600
26602
|
function S(ue, R, me) {
|
|
26601
26603
|
_.value = R.uid, Q.value = {
|
|
26602
26604
|
color: ue.color,
|
|
@@ -26770,7 +26772,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26770
26772
|
}))
|
|
26771
26773
|
}));
|
|
26772
26774
|
}
|
|
26773
|
-
const j =
|
|
26775
|
+
const j = N(null);
|
|
26774
26776
|
function q() {
|
|
26775
26777
|
A.value = !0;
|
|
26776
26778
|
}
|
|
@@ -26804,9 +26806,9 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26804
26806
|
gl({ csvContent: ke, title: i.value.style.chart.title.text || "vue-ui-quadrant" });
|
|
26805
26807
|
});
|
|
26806
26808
|
}
|
|
26807
|
-
const
|
|
26809
|
+
const T = N(!1);
|
|
26808
26810
|
function ee(ue) {
|
|
26809
|
-
|
|
26811
|
+
T.value = ue, w.value += 1;
|
|
26810
26812
|
}
|
|
26811
26813
|
return t({
|
|
26812
26814
|
getData: P,
|
|
@@ -26814,7 +26816,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26814
26816
|
generateCsv: M,
|
|
26815
26817
|
generateImage: pe
|
|
26816
26818
|
}), (ue, R) => (d(), f("div", {
|
|
26817
|
-
class: He(`vue-ui-quadrant ${
|
|
26819
|
+
class: He(`vue-ui-quadrant ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${i.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
26818
26820
|
ref_key: "quadrantChart",
|
|
26819
26821
|
ref: v,
|
|
26820
26822
|
id: `vue-ui-quadrant_${a.value}`,
|
|
@@ -26857,7 +26859,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26857
26859
|
hasTable: "",
|
|
26858
26860
|
hasLabel: "",
|
|
26859
26861
|
hasFullscreen: "",
|
|
26860
|
-
isFullscreen:
|
|
26862
|
+
isFullscreen: T.value,
|
|
26861
26863
|
chartElement: v.value,
|
|
26862
26864
|
onToggleFullscreen: ee,
|
|
26863
26865
|
onGeneratePdf: fe,
|
|
@@ -26868,7 +26870,7 @@ const N8 = ["id"], T8 = ["viewBox", "id"], D8 = ["id"], H8 = ["stop-color"], P8
|
|
|
26868
26870
|
}, null, 8, ["backgroundColor", "color", "isImaging", "isPrinting", "title", "uid", "isFullscreen", "chartElement"])) : L("", !0),
|
|
26869
26871
|
o.value ? (d(), f("svg", {
|
|
26870
26872
|
key: 2,
|
|
26871
|
-
class: He({ "vue-data-ui-fullscreen--on":
|
|
26873
|
+
class: He({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
|
|
26872
26874
|
viewBox: `${O.value.startX} ${O.value.startY} ${O.value.width} ${O.value.height}`,
|
|
26873
26875
|
style: H(`max-width:100%;overflow:${u.value ? "hidden" : "visible"};background:${i.value.style.chart.backgroundColor};color:${i.value.style.chart.color}`),
|
|
26874
26876
|
id: `svg_${a.value}`
|
|
@@ -27355,10 +27357,10 @@ const P6 = (e) => (Ao("data-v-f004f555"), e = e(), uo(), e), O6 = ["id"], z6 = [
|
|
|
27355
27357
|
}
|
|
27356
27358
|
},
|
|
27357
27359
|
setup(e, { expose: t }) {
|
|
27358
|
-
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o =
|
|
27360
|
+
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o = N(Ct()), a = N(Ft.vue_ui_gauge), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(0), b = ie(() => Mt({
|
|
27359
27361
|
userConfig: l.config,
|
|
27360
27362
|
defaultConfig: a.value
|
|
27361
|
-
})), y =
|
|
27363
|
+
})), y = N({
|
|
27362
27364
|
inside: !b.value.style.chart.layout.useDiv
|
|
27363
27365
|
}), w = ie(() => {
|
|
27364
27366
|
if (!r.value || Ht(l.dataset.series || {}))
|
|
@@ -27391,7 +27393,7 @@ const P6 = (e) => (Ao("data-v-f004f555"), e = e(), uo(), e), O6 = ["id"], z6 = [
|
|
|
27391
27393
|
bottom: y.value.inside ? 435.2 : 358.4,
|
|
27392
27394
|
centerX: y.value.inside ? 256 : 179.2,
|
|
27393
27395
|
centerY: 256
|
|
27394
|
-
})), c =
|
|
27396
|
+
})), c = N(0), i = N(0), C = N(b.value.style.chart.animation.use ? 0 : l.dataset.value), F = ie(() => {
|
|
27395
27397
|
const we = u.value.width / 2, _e = u.value.height * 0.69, ne = Math.PI * ((C.value + 0 - i.value) / (c.value - i.value)) + Math.PI;
|
|
27396
27398
|
return {
|
|
27397
27399
|
x1: we,
|
|
@@ -27407,7 +27409,7 @@ const P6 = (e) => (Ao("data-v-f004f555"), e = e(), uo(), e), O6 = ["id"], z6 = [
|
|
|
27407
27409
|
}
|
|
27408
27410
|
return "#2D353C";
|
|
27409
27411
|
});
|
|
27410
|
-
|
|
27412
|
+
$t(() => {
|
|
27411
27413
|
Ht(l.dataset) ? et({
|
|
27412
27414
|
componentName: "VueUiGauge",
|
|
27413
27415
|
type: "dataset"
|
|
@@ -27528,7 +27530,7 @@ const P6 = (e) => (Ao("data-v-f004f555"), e = e(), uo(), e), O6 = ["id"], z6 = [
|
|
|
27528
27530
|
function se(we) {
|
|
27529
27531
|
return String(we).length > 2 ? 15 : 20;
|
|
27530
27532
|
}
|
|
27531
|
-
const J =
|
|
27533
|
+
const J = N(null);
|
|
27532
27534
|
function ye() {
|
|
27533
27535
|
s.value = !0;
|
|
27534
27536
|
}
|
|
@@ -27556,7 +27558,7 @@ const P6 = (e) => (Ao("data-v-f004f555"), e = e(), uo(), e), O6 = ["id"], z6 = [
|
|
|
27556
27558
|
});
|
|
27557
27559
|
}, 100);
|
|
27558
27560
|
}
|
|
27559
|
-
const Y =
|
|
27561
|
+
const Y = N(!1);
|
|
27560
27562
|
function de(we) {
|
|
27561
27563
|
Y.value = we, g.value += 1;
|
|
27562
27564
|
}
|
|
@@ -27820,15 +27822,15 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
27820
27822
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
27821
27823
|
setup(e, { expose: t, emit: l }) {
|
|
27822
27824
|
const r = e;
|
|
27823
|
-
|
|
27825
|
+
Va((ee) => ({
|
|
27824
27826
|
a9ab5acc: ee.tdo
|
|
27825
27827
|
}));
|
|
27826
|
-
const o = ie(() => !!r.dataset && r.dataset.length), a =
|
|
27828
|
+
const o = ie(() => !!r.dataset && r.dataset.length), a = N(Ct()), n = N(Ft.vue_ui_chestnut), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(0), y = ie(() => Mt({
|
|
27827
27829
|
userConfig: r.config,
|
|
27828
27830
|
defaultConfig: n.value
|
|
27829
|
-
})), w =
|
|
27831
|
+
})), w = N({
|
|
27830
27832
|
showTable: y.value.table.show
|
|
27831
|
-
}), u =
|
|
27833
|
+
}), u = N(null), c = N(!1), i = ie(() => y.value.table.responsiveBreakpoint), C = N({
|
|
27832
27834
|
gap: 6,
|
|
27833
27835
|
padding: {
|
|
27834
27836
|
top: 102,
|
|
@@ -27955,7 +27957,7 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
27955
27957
|
const ue = ve.value.find((R) => R.rootIndex === ee.rootIndex);
|
|
27956
27958
|
return { x: ue.x, y: ue.y, r: ue.r };
|
|
27957
27959
|
}
|
|
27958
|
-
const we =
|
|
27960
|
+
const we = N(null), _e = N(null), ne = N(null), G = N(null);
|
|
27959
27961
|
function X() {
|
|
27960
27962
|
we.value = null, ne.value = null, G.value = null;
|
|
27961
27963
|
}
|
|
@@ -27995,7 +27997,7 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
27995
27997
|
});
|
|
27996
27998
|
}).observe(u.value);
|
|
27997
27999
|
}
|
|
27998
|
-
|
|
28000
|
+
$t(() => {
|
|
27999
28001
|
Ht(r.dataset) && et({
|
|
28000
28002
|
componentName: "VueUiChestnut",
|
|
28001
28003
|
type: "dataset"
|
|
@@ -28003,7 +28005,7 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
28003
28005
|
const ee = ae.value * (C.value.branchSize + C.value.gap) + C.value.padding.top + C.value.padding.bottom;
|
|
28004
28006
|
C.value.height = ee, K();
|
|
28005
28007
|
});
|
|
28006
|
-
const I =
|
|
28008
|
+
const I = N(null);
|
|
28007
28009
|
function P() {
|
|
28008
28010
|
A.value = !0;
|
|
28009
28011
|
}
|
|
@@ -28067,8 +28069,8 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
28067
28069
|
gl({ csvContent: Fe, title: y.value.style.chart.layout.title.text || "vue-ui-chestnut" });
|
|
28068
28070
|
});
|
|
28069
28071
|
}
|
|
28070
|
-
const M =
|
|
28071
|
-
function
|
|
28072
|
+
const M = N(!1);
|
|
28073
|
+
function T(ee) {
|
|
28072
28074
|
M.value = ee, b.value += 1;
|
|
28073
28075
|
}
|
|
28074
28076
|
return t({
|
|
@@ -28098,7 +28100,7 @@ const fS = ["id"], vS = ["viewBox"], gS = { key: 0 }, yS = ["fill", "font-weight
|
|
|
28098
28100
|
hasFullscreen: "",
|
|
28099
28101
|
isFullscreen: M.value,
|
|
28100
28102
|
chartElement: v.value,
|
|
28101
|
-
onToggleFullscreen:
|
|
28103
|
+
onToggleFullscreen: T,
|
|
28102
28104
|
onGeneratePdf: j,
|
|
28103
28105
|
onGenerateCsv: pe,
|
|
28104
28106
|
onGenerateImage: fe,
|
|
@@ -28792,16 +28794,16 @@ const bU = ["id"], wU = ["viewBox"], mU = { key: 0 }, CU = ["font-size", "fill",
|
|
|
28792
28794
|
emits: ["selectLegend"],
|
|
28793
28795
|
setup(e, { expose: t, emit: l }) {
|
|
28794
28796
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
28795
|
-
|
|
28797
|
+
$t(() => {
|
|
28796
28798
|
Ht(r.dataset) && et({
|
|
28797
28799
|
componentName: "VueUiOnion",
|
|
28798
28800
|
type: "dataset"
|
|
28799
28801
|
});
|
|
28800
28802
|
});
|
|
28801
|
-
const a =
|
|
28803
|
+
const a = N(Ct()), n = N(Ft.vue_ui_onion), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(0), y = N(!1), w = N(""), u = ie(() => Mt({
|
|
28802
28804
|
userConfig: r.config,
|
|
28803
28805
|
defaultConfig: n.value
|
|
28804
|
-
})), c =
|
|
28806
|
+
})), c = N({
|
|
28805
28807
|
inside: !u.value.style.chart.layout.useDiv,
|
|
28806
28808
|
showTable: u.value.table.show
|
|
28807
28809
|
}), i = ie(() => {
|
|
@@ -28857,7 +28859,7 @@ const bU = ["id"], wU = ["viewBox"], mU = { key: 0 }, CU = ["font-size", "fill",
|
|
|
28857
28859
|
fontSize: u.value.style.chart.legend.fontSize,
|
|
28858
28860
|
paddingBottom: 12,
|
|
28859
28861
|
fontWeight: u.value.style.chart.legend.bold ? "bold" : ""
|
|
28860
|
-
})), O =
|
|
28862
|
+
})), O = N([]), W = ie(() => F.value.filter((U) => !O.value.includes(U.id)).length), ae = ie(() => ({
|
|
28861
28863
|
gutter: C.value.width / 2 / W.value * u.value.style.chart.layout.gutter.width,
|
|
28862
28864
|
track: C.value.width / 2 / W.value * u.value.style.chart.layout.track.width
|
|
28863
28865
|
})), se = ie(() => F.value.filter((U) => !O.value.includes(U.id)).map((U, S) => {
|
|
@@ -28913,7 +28915,7 @@ const bU = ["id"], wU = ["viewBox"], mU = { key: 0 }, CU = ["font-size", "fill",
|
|
|
28913
28915
|
breakpoint: u.value.table.responsiveBreakpoint
|
|
28914
28916
|
};
|
|
28915
28917
|
return { head: U, body: S, config: $, colNames: U };
|
|
28916
|
-
}), Y =
|
|
28918
|
+
}), Y = N(null);
|
|
28917
28919
|
function de() {
|
|
28918
28920
|
A.value = !0;
|
|
28919
28921
|
}
|
|
@@ -28947,11 +28949,11 @@ const bU = ["id"], wU = ["viewBox"], mU = { key: 0 }, CU = ["font-size", "fill",
|
|
|
28947
28949
|
gl({ csvContent: I, title: u.value.style.chart.title.text || "vue-ui-onion" });
|
|
28948
28950
|
});
|
|
28949
28951
|
}
|
|
28950
|
-
const X =
|
|
28952
|
+
const X = N(void 0), te = N(!1);
|
|
28951
28953
|
function re(U) {
|
|
28952
28954
|
te.value = U, b.value += 1;
|
|
28953
28955
|
}
|
|
28954
|
-
const _ =
|
|
28956
|
+
const _ = N(null);
|
|
28955
28957
|
function Q({ datapoint: U, seriesIndex: S, show: $ = !0 }) {
|
|
28956
28958
|
const K = U.absoluteIndex;
|
|
28957
28959
|
X.value = S, _.value = {
|
|
@@ -29258,35 +29260,35 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29258
29260
|
emits: ["selectLegend"],
|
|
29259
29261
|
setup(e, { expose: t, emit: l }) {
|
|
29260
29262
|
const r = e;
|
|
29261
|
-
|
|
29263
|
+
Va((M) => ({
|
|
29262
29264
|
"312578ef": M.tdo
|
|
29263
29265
|
}));
|
|
29264
|
-
const o = ie(() => !!r.dataset && r.dataset.length), a =
|
|
29266
|
+
const o = ie(() => !!r.dataset && r.dataset.length), a = N(Ct()), n = N(Ft.vue_ui_vertical_bar), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(0), u = N(null), c = N(0), i = ie(() => Mt({
|
|
29265
29267
|
userConfig: r.config,
|
|
29266
29268
|
defaultConfig: n.value
|
|
29267
|
-
})), C =
|
|
29268
|
-
|
|
29269
|
+
})), C = N(null), F = N(!1), k = ie(() => i.value.table.responsiveBreakpoint);
|
|
29270
|
+
$t(() => {
|
|
29269
29271
|
Ht(r.dataset) && et({
|
|
29270
29272
|
componentName: "VueUiVerticalBar",
|
|
29271
29273
|
type: "dataset"
|
|
29272
|
-
}), w.value = r.dataset.flatMap((M) => M.children && M.children.length > 0 ? M.children.length : 1).reduce((M,
|
|
29274
|
+
}), w.value = r.dataset.flatMap((M) => M.children && M.children.length > 0 ? M.children.length : 1).reduce((M, T) => M + T, 0), O();
|
|
29273
29275
|
});
|
|
29274
29276
|
function O() {
|
|
29275
|
-
new ResizeObserver((
|
|
29276
|
-
|
|
29277
|
+
new ResizeObserver((T) => {
|
|
29278
|
+
T.forEach((ee) => {
|
|
29277
29279
|
F.value = ee.contentRect.width < k.value;
|
|
29278
29280
|
});
|
|
29279
29281
|
}).observe(C.value);
|
|
29280
29282
|
}
|
|
29281
|
-
const W =
|
|
29283
|
+
const W = N({
|
|
29282
29284
|
inside: !i.value.style.chart.layout.useDiv,
|
|
29283
29285
|
showTable: i.value.table.show,
|
|
29284
29286
|
sortDesc: i.value.style.chart.layout.bars.sort === "desc"
|
|
29285
|
-
}), ae = ie(() => W.value.sortDesc), se = ie(() => (r.dataset.forEach((M,
|
|
29287
|
+
}), ae = ie(() => W.value.sortDesc), se = ie(() => (r.dataset.forEach((M, T) => {
|
|
29286
29288
|
M.children && (Ht(M.children) ? et({
|
|
29287
29289
|
componentName: "VueUiVerticalBar",
|
|
29288
29290
|
type: "datasetAttributeEmpty",
|
|
29289
|
-
property: `children (index ${
|
|
29291
|
+
property: `children (index ${T})`
|
|
29290
29292
|
}) : M.children.forEach((ee, ue) => {
|
|
29291
29293
|
[null, void 0].includes(ee.name) && et({
|
|
29292
29294
|
componentName: "VueUiVerticalBar",
|
|
@@ -29296,8 +29298,8 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29296
29298
|
index: ue
|
|
29297
29299
|
});
|
|
29298
29300
|
}));
|
|
29299
|
-
}), r.dataset.map((M,
|
|
29300
|
-
const ee = `vertical_parent_${
|
|
29301
|
+
}), r.dataset.map((M, T) => {
|
|
29302
|
+
const ee = `vertical_parent_${T}_${a.value}`, ue = !!M.children && M.children.length > 0;
|
|
29301
29303
|
return {
|
|
29302
29304
|
...M,
|
|
29303
29305
|
id: ee,
|
|
@@ -29306,7 +29308,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29306
29308
|
value: ue ? M.children.map((R) => R.value || 0).reduce((R, me) => R + me, 0) : M.value || 0,
|
|
29307
29309
|
hasChildren: ue,
|
|
29308
29310
|
isChild: !1,
|
|
29309
|
-
color: mt(M.color) || Ye[
|
|
29311
|
+
color: mt(M.color) || Ye[T] || Ye[T % Ye.length],
|
|
29310
29312
|
children: !M.children || !M.children.length ? [] : M.children.toSorted((R, me) => ae.value ? me.value - R.value : R.value - me.value).map((R, me) => ({
|
|
29311
29313
|
...R,
|
|
29312
29314
|
value: R.value || 0,
|
|
@@ -29314,16 +29316,16 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29314
29316
|
parentId: ee,
|
|
29315
29317
|
parentName: M.name,
|
|
29316
29318
|
parentValue: M.value,
|
|
29317
|
-
id: `vertical_child_${
|
|
29319
|
+
id: `vertical_child_${T}_${me}_${a.value}`,
|
|
29318
29320
|
childIndex: me,
|
|
29319
|
-
color: mt(R.color) || mt(M.color) || Ye[
|
|
29321
|
+
color: mt(R.color) || mt(M.color) || Ye[T] || Ye[T % Ye.length]
|
|
29320
29322
|
})).map((R, me) => ({
|
|
29321
29323
|
...R,
|
|
29322
29324
|
isFirstChild: me === 0,
|
|
29323
29325
|
isLastChild: me === M.children.length - 1
|
|
29324
29326
|
}))
|
|
29325
29327
|
};
|
|
29326
|
-
}).toSorted((M,
|
|
29328
|
+
}).toSorted((M, T) => ae.value ? T.value - M.value : M.value - T.value))), J = ie(() => ({
|
|
29327
29329
|
cy: "vertical-bar-div-legend",
|
|
29328
29330
|
backgroundColor: i.value.style.chart.legend.backgroundColor,
|
|
29329
29331
|
color: i.value.style.chart.legend.color,
|
|
@@ -29348,26 +29350,26 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29348
29350
|
width: ye.value.width - (ye.value.padding.left + ye.value.padding.right)
|
|
29349
29351
|
}));
|
|
29350
29352
|
function z() {
|
|
29351
|
-
w.value = de.value.flatMap((M) => M.children && M.children.length > 0 ? M.children.length : 1).reduce((M,
|
|
29353
|
+
w.value = de.value.flatMap((M) => M.children && M.children.length > 0 ? M.children.length : 1).reduce((M, T) => M + T, 0);
|
|
29352
29354
|
}
|
|
29353
|
-
const V =
|
|
29355
|
+
const V = N([]);
|
|
29354
29356
|
function Y(M) {
|
|
29355
|
-
V.value.includes(M) ? V.value = V.value.filter((
|
|
29357
|
+
V.value.includes(M) ? V.value = V.value.filter((T) => T !== M) : V.value.push(M), z(), l("selectLegend", de.value);
|
|
29356
29358
|
}
|
|
29357
|
-
const de = ie(() => se.value.filter((M) => !V.value.includes(M.id))), we = ie(() => de.value.map((M) => M.value).reduce((M,
|
|
29358
|
-
function _e(M,
|
|
29359
|
-
return
|
|
29359
|
+
const de = ie(() => se.value.filter((M) => !V.value.includes(M.id))), we = ie(() => de.value.map((M) => M.value).reduce((M, T) => M + T));
|
|
29360
|
+
function _e(M, T = !1, ee = 0) {
|
|
29361
|
+
return T ? (M / we.value * 100).toFixed(ee) + "%" : M / we.value;
|
|
29360
29362
|
}
|
|
29361
|
-
const ne = ie(() => de.value.flatMap((M) => M.hasChildren ? M.children : M)), G = ie(() => Math.max(...de.value.flatMap((M) => M.children && M.children.length ? Math.max(...M.children.map((
|
|
29363
|
+
const ne = ie(() => de.value.flatMap((M) => M.hasChildren ? M.children : M)), G = ie(() => Math.max(...de.value.flatMap((M) => M.children && M.children.length ? Math.max(...M.children.map((T) => T.value)) : M.value)));
|
|
29362
29364
|
function X(M) {
|
|
29363
|
-
const
|
|
29364
|
-
return ve.value.width *
|
|
29365
|
+
const T = M / G.value;
|
|
29366
|
+
return ve.value.width * T;
|
|
29365
29367
|
}
|
|
29366
29368
|
function te(M) {
|
|
29367
29369
|
return X(M) + ve.value.left;
|
|
29368
29370
|
}
|
|
29369
|
-
function re(M,
|
|
29370
|
-
const ee = de.value.find((me) => me.id === M.parentId), ue = ve.value.top + (i.value.style.chart.layout.bars.gap + i.value.style.chart.layout.bars.height) *
|
|
29371
|
+
function re(M, T) {
|
|
29372
|
+
const ee = de.value.find((me) => me.id === M.parentId), ue = ve.value.top + (i.value.style.chart.layout.bars.gap + i.value.style.chart.layout.bars.height) * T, R = ee.children.length * (i.value.style.chart.layout.bars.gap + i.value.style.chart.layout.bars.height);
|
|
29371
29373
|
return {
|
|
29372
29374
|
y: ue + R / 2 - i.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
29373
29375
|
name: ee.name,
|
|
@@ -29378,11 +29380,11 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29378
29380
|
function _() {
|
|
29379
29381
|
return de.value;
|
|
29380
29382
|
}
|
|
29381
|
-
const Q =
|
|
29382
|
-
function S(M,
|
|
29383
|
+
const Q = N(null), U = N(null);
|
|
29384
|
+
function S(M, T) {
|
|
29383
29385
|
U.value = {
|
|
29384
29386
|
datapoint: M,
|
|
29385
|
-
seriesIndex:
|
|
29387
|
+
seriesIndex: T,
|
|
29386
29388
|
series: se.value,
|
|
29387
29389
|
config: i.value
|
|
29388
29390
|
}, b.value = !0, Q.value = M.id;
|
|
@@ -29392,18 +29394,18 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29392
29394
|
datapoint: M,
|
|
29393
29395
|
series: se.value,
|
|
29394
29396
|
config: i.value,
|
|
29395
|
-
seriesIndex:
|
|
29397
|
+
seriesIndex: T
|
|
29396
29398
|
})) ? y.value = me({
|
|
29397
29399
|
datapoint: M,
|
|
29398
29400
|
series: se.value,
|
|
29399
29401
|
config: i.value,
|
|
29400
|
-
seriesIndex:
|
|
29402
|
+
seriesIndex: T
|
|
29401
29403
|
}) : (ee += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;text-align:left;">
|
|
29402
29404
|
<div style="display:flex;align-items:center;gap:4px;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" rx="2" stroke="none" fill="${M.color}"/></svg> ${ue}</div>
|
|
29403
29405
|
${R ? `<div>${R}</div>` : ""}
|
|
29404
29406
|
</div>`, i.value.style.chart.tooltip.showValue && (ee += `<div>${i.value.translations.value} : <b>${i.value.style.chart.tooltip.prefix}${[void 0, NaN, null].includes(M.value) ? "-" : M.value.toFixed(i.value.style.chart.tooltip.roundingValue)}${i.value.style.chart.tooltip.suffix}</b></div>`), i.value.style.chart.tooltip.showPercentage && (ee += `<div>${i.value.translations.percentageToTotal} : <b>${isNaN(M.value / we.value) ? "-" : `${(M.value / we.value * 100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`, M.isChild && (ee += `<div>${i.value.translations.percentageToSerie} : <b>${isNaN(M.value / M.parentValue) ? "-" : `${(M.value / M.parentValue * 100).toFixed(i.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`)), y.value = `<div style="text-align:left">${ee}</div>`);
|
|
29405
29407
|
}
|
|
29406
|
-
const $ =
|
|
29408
|
+
const $ = N(null);
|
|
29407
29409
|
function K() {
|
|
29408
29410
|
A.value = !0;
|
|
29409
29411
|
}
|
|
@@ -29440,7 +29442,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29440
29442
|
i.value.translations.value,
|
|
29441
29443
|
i.value.translations.percentageToSerie,
|
|
29442
29444
|
i.value.translations.percentageToTotal
|
|
29443
|
-
],
|
|
29445
|
+
], T = ne.value.map((ee) => ee.isChild ? ee.isFirstChild ? {
|
|
29444
29446
|
color: ee.color,
|
|
29445
29447
|
parentName: ee.parentName,
|
|
29446
29448
|
parentValue: ee.parentValue,
|
|
@@ -29468,10 +29470,10 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29468
29470
|
childPercentageToParent: "",
|
|
29469
29471
|
childPercentageToTotal: ""
|
|
29470
29472
|
});
|
|
29471
|
-
return { head: M, body:
|
|
29473
|
+
return { head: M, body: T };
|
|
29472
29474
|
});
|
|
29473
29475
|
function fe() {
|
|
29474
|
-
const M = [[i.value.style.chart.title.text], [i.value.style.chart.title.subtitle.text], [""]],
|
|
29476
|
+
const M = [[i.value.style.chart.title.text], [i.value.style.chart.title.subtitle.text], [""]], T = q.value.head, ee = q.value.body.map((me) => [
|
|
29475
29477
|
me.parentName,
|
|
29476
29478
|
me.parentValue,
|
|
29477
29479
|
me.percentageToTotal,
|
|
@@ -29479,10 +29481,10 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29479
29481
|
me.childValue,
|
|
29480
29482
|
me.childPercentageToParent,
|
|
29481
29483
|
me.childPercentageToTotal
|
|
29482
|
-
]), ue = M.concat([
|
|
29484
|
+
]), ue = M.concat([T]).concat(ee), R = yl(ue);
|
|
29483
29485
|
gl({ csvContent: R, title: i.value.style.chart.title.text || "vue-ui-vertical-bar" });
|
|
29484
29486
|
}
|
|
29485
|
-
const Z =
|
|
29487
|
+
const Z = N(!1);
|
|
29486
29488
|
function pe(M) {
|
|
29487
29489
|
Z.value = M, c.value += 1;
|
|
29488
29490
|
}
|
|
@@ -29492,7 +29494,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29492
29494
|
generatePdf: I,
|
|
29493
29495
|
generateCsv: fe,
|
|
29494
29496
|
generateImage: j
|
|
29495
|
-
}), (M,
|
|
29497
|
+
}), (M, T) => (d(), f("div", {
|
|
29496
29498
|
class: He(`vue-ui-vertical-bar ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${i.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
29497
29499
|
ref_key: "verticalBarChart",
|
|
29498
29500
|
ref: v,
|
|
@@ -29542,8 +29544,8 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29542
29544
|
onGeneratePdf: I,
|
|
29543
29545
|
onGenerateCsv: fe,
|
|
29544
29546
|
onGenerateImage: j,
|
|
29545
|
-
onToggleTable:
|
|
29546
|
-
onToggleSort:
|
|
29547
|
+
onToggleTable: T[0] || (T[0] = (ee) => W.value.showTable = !W.value.showTable),
|
|
29548
|
+
onToggleSort: T[1] || (T[1] = () => {
|
|
29547
29549
|
W.value.sortDesc = !W.value.sortDesc, z();
|
|
29548
29550
|
})
|
|
29549
29551
|
}, null, 8, ["backgroundColor", "color", "isImaging", "isPrinting", "title", "uid", "isFullscreen", "chartElement"])) : L("", !0),
|
|
@@ -29551,7 +29553,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29551
29553
|
key: 2,
|
|
29552
29554
|
legendSet: se.value,
|
|
29553
29555
|
config: J.value,
|
|
29554
|
-
onClickMarker:
|
|
29556
|
+
onClickMarker: T[2] || (T[2] = ({ legend: ee }) => Y(ee.id))
|
|
29555
29557
|
}, {
|
|
29556
29558
|
item: Ie(({ legend: ee }) => [
|
|
29557
29559
|
p("div", {
|
|
@@ -29677,7 +29679,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29677
29679
|
height: i.value.style.chart.layout.bars.height + i.value.style.chart.layout.bars.gap,
|
|
29678
29680
|
fill: Q.value === ee.id ? `${i.value.style.chart.layout.highlighter.color}${Be(lt)[i.value.style.chart.layout.highlighter.opacity]}` : "transparent",
|
|
29679
29681
|
onMouseenter: (R) => S(ee, ue),
|
|
29680
|
-
onMouseleave:
|
|
29682
|
+
onMouseleave: T[3] || (T[3] = (R) => {
|
|
29681
29683
|
u.value = null, b.value = !1, Q.value = null;
|
|
29682
29684
|
})
|
|
29683
29685
|
}, null, 40, t$)
|
|
@@ -29693,7 +29695,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29693
29695
|
ot(Ql, {
|
|
29694
29696
|
legendSet: se.value,
|
|
29695
29697
|
config: J.value,
|
|
29696
|
-
onClickMarker:
|
|
29698
|
+
onClickMarker: T[4] || (T[4] = ({ legend: ee }) => Y(ee.id))
|
|
29697
29699
|
}, {
|
|
29698
29700
|
item: Ie(({ legend: ee }) => [
|
|
29699
29701
|
p("div", {
|
|
@@ -29725,7 +29727,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29725
29727
|
key: 5,
|
|
29726
29728
|
legendSet: se.value,
|
|
29727
29729
|
config: J.value,
|
|
29728
|
-
onClickMarker:
|
|
29730
|
+
onClickMarker: T[5] || (T[5] = ({ legend: ee }) => Y(ee.id))
|
|
29729
29731
|
}, {
|
|
29730
29732
|
item: Ie(({ legend: ee }) => [
|
|
29731
29733
|
p("div", {
|
|
@@ -29888,7 +29890,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29888
29890
|
},
|
|
29889
29891
|
emits: ["postImage"],
|
|
29890
29892
|
setup(e, { expose: t, emit: l }) {
|
|
29891
|
-
const r = e, o =
|
|
29893
|
+
const r = e, o = N(`vue-ui-screenshot-${Math.random()}`), a = N(Ft.vue_ui_screenshot), n = ie(() => {
|
|
29892
29894
|
if (!Object.keys(r.config || {}).length)
|
|
29893
29895
|
return a.value;
|
|
29894
29896
|
const G = Xn({
|
|
@@ -29896,7 +29898,7 @@ const HU = ["id"], PU = ["onClick"], OU = ["viewBox"], zU = ["id"], RU = ["stop-
|
|
|
29896
29898
|
userConfig: r.config
|
|
29897
29899
|
});
|
|
29898
29900
|
return qn(G);
|
|
29899
|
-
}), s =
|
|
29901
|
+
}), s = N(null), A = N(null), v = N(null), g = N(null), b = N(null), y = N(null), w = N(null), u = N(null), c = N(null), i = N(null), C = N(null), F = N(!1), k = N(null);
|
|
29900
29902
|
function O() {
|
|
29901
29903
|
const G = document.createElement("DIV");
|
|
29902
29904
|
return G.style.position = "fixed", G.style.top = "200px", G.style.left = "100px", G.style.width = `${n.value.style.captureArea.initialWidth}px`, G.style.height = `${n.value.style.captureArea.initialHeight}px`, G.style.background = n.value.style.captureArea.background, G.style.cursor = "move", G.style.boxSizing = "border-box", G.style.border = n.value.style.captureArea.border, G.style.resize = "both", G.style.padding = "none !important", G.style.margin = "none !important", G.dataset.cy = "screenshot-overlay", G;
|
|
@@ -30056,10 +30058,10 @@ const B$ = {
|
|
|
30056
30058
|
},
|
|
30057
30059
|
emits: ["rate"],
|
|
30058
30060
|
setup(e, { expose: t, emit: l }) {
|
|
30059
|
-
const r = e, o =
|
|
30061
|
+
const r = e, o = N(Ct()), a = N(Ft.vue_ui_rating), n = N(!1), s = N(void 0), A = N([]), v = ie(() => Mt({
|
|
30060
30062
|
userConfig: r.config,
|
|
30061
30063
|
defaultConfig: a.value
|
|
30062
|
-
})), g = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? c(r.dataset.rating) : r.dataset.rating), b = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), y =
|
|
30064
|
+
})), g = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? c(r.dataset.rating) : r.dataset.rating), b = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), y = N(g.value), w = N(v.value.type === "image"), u = N(v.value.readonly);
|
|
30063
30065
|
function c(W) {
|
|
30064
30066
|
let ae = 0, se = 0;
|
|
30065
30067
|
for (const ye in W) {
|
|
@@ -30071,7 +30073,7 @@ const B$ = {
|
|
|
30071
30073
|
const J = ae / se;
|
|
30072
30074
|
return Math.min(v.value.to, Math.max(v.value.from, J));
|
|
30073
30075
|
}
|
|
30074
|
-
|
|
30076
|
+
$t(() => {
|
|
30075
30077
|
Ht(r.dataset) && et({
|
|
30076
30078
|
componentName: "VueUiRating",
|
|
30077
30079
|
type: "dataset"
|
|
@@ -30323,7 +30325,7 @@ const R$ = ["id"], V$ = ["viewBox"], K$ = { key: 0 }, W$ = ["font-size", "fill",
|
|
|
30323
30325
|
},
|
|
30324
30326
|
setup(e, { expose: t }) {
|
|
30325
30327
|
const l = e;
|
|
30326
|
-
|
|
30328
|
+
Va((I) => ({
|
|
30327
30329
|
"224c9c02": I.tdo
|
|
30328
30330
|
}));
|
|
30329
30331
|
const r = ie(() => !!l.dataset && l.dataset.length);
|
|
@@ -30331,10 +30333,10 @@ const R$ = ["id"], V$ = ["viewBox"], K$ = { key: 0 }, W$ = ["font-size", "fill",
|
|
|
30331
30333
|
componentName: "VueUiHeatmap",
|
|
30332
30334
|
type: "dataset"
|
|
30333
30335
|
});
|
|
30334
|
-
const o =
|
|
30336
|
+
const o = N(Ct()), a = N(Ft.vue_ui_heatmap), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(!1), b = N(""), y = N(void 0), w = N(0), u = N(null), c = N(!1), i = ie(() => Mt({
|
|
30335
30337
|
userConfig: l.config,
|
|
30336
30338
|
defaultConfig: a.value
|
|
30337
|
-
})), C =
|
|
30339
|
+
})), C = N({
|
|
30338
30340
|
inside: !i.value.style.layout.useDiv,
|
|
30339
30341
|
showTable: i.value.table.show
|
|
30340
30342
|
}), F = ie(() => i.value.table.responsiveBreakpoint);
|
|
@@ -30345,7 +30347,7 @@ const R$ = ["id"], V$ = ["viewBox"], K$ = { key: 0 }, W$ = ["font-size", "fill",
|
|
|
30345
30347
|
});
|
|
30346
30348
|
}).observe(u.value);
|
|
30347
30349
|
}
|
|
30348
|
-
|
|
30350
|
+
$t(k);
|
|
30349
30351
|
const O = ie(() => Math.max(...l.dataset.flatMap((I) => (I.values || []).length))), W = ie(() => {
|
|
30350
30352
|
const I = i.value.style.layout.padding.top + i.value.style.layout.padding.bottom + l.dataset.length * i.value.style.layout.cells.height + (C.value.inside ? 92 : 0), P = i.value.style.layout.padding.left + i.value.style.layout.padding.right + (O.value < l.dataset.length ? l.dataset.length : O.value) * i.value.style.layout.cells.height, j = I + (i.value.style.legend.show ? i.value.style.legend.position === "right" ? 0 : i.value.style.layout.cells.height * 2 : 0);
|
|
30351
30353
|
return {
|
|
@@ -30403,7 +30405,7 @@ const R$ = ["id"], V$ = ["viewBox"], K$ = { key: 0 }, W$ = ["font-size", "fill",
|
|
|
30403
30405
|
xAxisName: Y.value.xLabels[j],
|
|
30404
30406
|
id: `vue-data-ui-heatmap-cell-${Ct()}`
|
|
30405
30407
|
})
|
|
30406
|
-
})))), we =
|
|
30408
|
+
})))), we = N(null), _e = N(null);
|
|
30407
30409
|
function ne(I, P) {
|
|
30408
30410
|
const { value: j, yAxisName: q, xAxisName: fe, id: Z } = I;
|
|
30409
30411
|
y.value = Z, we.value = j, _e.value = {
|
|
@@ -30426,7 +30428,7 @@ const R$ = ["id"], V$ = ["viewBox"], K$ = { key: 0 }, W$ = ["font-size", "fill",
|
|
|
30426
30428
|
config: i.value
|
|
30427
30429
|
}) : (pe += `<div>${q} ${fe ? `${fe}` : ""}</div>`, pe += `<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:${Ks(i.value.style.layout.cells.colors.cold, i.value.style.layout.cells.colors.hot, ve.value, ye.value, j)}">⬤</span><span>${isNaN(j) ? "-" : ft({ p: i.value.style.layout.dataLabels.prefix, v: j, s: i.value.style.layout.dataLabels.suffix, r: i.value.style.tooltip.roundingValue })}</span></div>`, b.value = `<div style="font-size:${i.value.style.tooltip.fontSize}px">${pe}</div>`);
|
|
30428
30430
|
}
|
|
30429
|
-
const G = ie(() => se.value.top + J.value * (1 - we.value / ye.value)), X = ie(() => se.value.left + (W.value.width - se.value.left - i.value.style.layout.padding.right) * (we.value / ye.value)), te =
|
|
30431
|
+
const G = ie(() => se.value.top + J.value * (1 - we.value / ye.value)), X = ie(() => se.value.left + (W.value.width - se.value.left - i.value.style.layout.padding.right) * (we.value / ye.value)), te = N(null);
|
|
30430
30432
|
function re() {
|
|
30431
30433
|
s.value = !0;
|
|
30432
30434
|
}
|
|
@@ -30473,7 +30475,7 @@ const R$ = ["id"], V$ = ["viewBox"], K$ = { key: 0 }, W$ = ["font-size", "fill",
|
|
|
30473
30475
|
gl({ csvContent: q, title: i.value.style.title.text || "vue-ui-heatmap" });
|
|
30474
30476
|
});
|
|
30475
30477
|
}
|
|
30476
|
-
const $ =
|
|
30478
|
+
const $ = N(!1);
|
|
30477
30479
|
function K(I) {
|
|
30478
30480
|
$.value = I, w.value += 1;
|
|
30479
30481
|
}
|
|
@@ -30838,8 +30840,8 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
30838
30840
|
}
|
|
30839
30841
|
},
|
|
30840
30842
|
setup(e, { expose: t }) {
|
|
30841
|
-
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o =
|
|
30842
|
-
|
|
30843
|
+
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o = N(Ct()), a = N(Ft.vue_ui_scatter), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(!1), b = N(""), y = N(0);
|
|
30844
|
+
$t(() => {
|
|
30843
30845
|
Ht(l.dataset) && et({
|
|
30844
30846
|
componentName: "VueUiScatter",
|
|
30845
30847
|
type: "dataset"
|
|
@@ -30853,7 +30855,7 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
30853
30855
|
const w = ie(() => Mt({
|
|
30854
30856
|
userConfig: l.config,
|
|
30855
30857
|
defaultConfig: a.value
|
|
30856
|
-
})), u =
|
|
30858
|
+
})), u = N({
|
|
30857
30859
|
inside: !w.value.style.layout.useDiv,
|
|
30858
30860
|
showTable: w.value.table.show
|
|
30859
30861
|
}), c = ie(() => ({
|
|
@@ -30938,9 +30940,9 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
30938
30940
|
y1: q * i.value.left + fe,
|
|
30939
30941
|
y2: q * i.value.right + fe,
|
|
30940
30942
|
coefficient: j
|
|
30941
|
-
}, pe = (Z.y2 - Z.y1) / (Z.x2 - Z.x1), M = Z.y1 - pe * Z.x1,
|
|
30942
|
-
x:
|
|
30943
|
-
y: pe *
|
|
30943
|
+
}, pe = (Z.y2 - Z.y1) / (Z.x2 - Z.x1), M = Z.y1 - pe * Z.x1, T = Math.min(c.value.width - w.value.style.layout.padding.right, Math.max(w.value.style.layout.padding.left, (i.value.top - M) / pe)), ee = {
|
|
30944
|
+
x: T,
|
|
30945
|
+
y: pe * T + M <= w.value.style.layout.padding.top ? i.value.top : pe * T + M
|
|
30944
30946
|
};
|
|
30945
30947
|
return {
|
|
30946
30948
|
...U,
|
|
@@ -30960,7 +30962,7 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
30960
30962
|
function se() {
|
|
30961
30963
|
return ae.value;
|
|
30962
30964
|
}
|
|
30963
|
-
const J =
|
|
30965
|
+
const J = N(void 0), ye = N(null), ve = N(null);
|
|
30964
30966
|
function z(U, S) {
|
|
30965
30967
|
J.value = U.id, ye.value = U;
|
|
30966
30968
|
let $ = "";
|
|
@@ -30986,11 +30988,11 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
30986
30988
|
function V() {
|
|
30987
30989
|
g.value = !1, J.value = void 0, ye.value = null;
|
|
30988
30990
|
}
|
|
30989
|
-
const Y =
|
|
30991
|
+
const Y = N([]);
|
|
30990
30992
|
function de(U) {
|
|
30991
30993
|
Y.value.includes(U) ? Y.value = Y.value.filter((S) => S !== U) : Y.value.length < l.dataset.length - 1 && Y.value.push(U);
|
|
30992
30994
|
}
|
|
30993
|
-
const we =
|
|
30995
|
+
const we = N(null);
|
|
30994
30996
|
function _e() {
|
|
30995
30997
|
s.value = !0;
|
|
30996
30998
|
}
|
|
@@ -31061,7 +31063,7 @@ const S7 = ["id"], L7 = ["viewBox"], U7 = { key: 0 }, $7 = ["font-size", "fill",
|
|
|
31061
31063
|
breakpoint: w.value.table.responsiveBreakpoint
|
|
31062
31064
|
};
|
|
31063
31065
|
return { head: U, body: S, config: $, colNames: U };
|
|
31064
|
-
}), _ =
|
|
31066
|
+
}), _ = N(!1);
|
|
31065
31067
|
function Q(U) {
|
|
31066
31068
|
_.value = U, y.value += 1;
|
|
31067
31069
|
}
|
|
@@ -31420,8 +31422,8 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31420
31422
|
}
|
|
31421
31423
|
},
|
|
31422
31424
|
setup(e, { expose: t }) {
|
|
31423
|
-
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o =
|
|
31424
|
-
|
|
31425
|
+
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o = N(Ct()), a = N(Ft.vue_ui_candlestick), n = N(!1), s = N(!1), A = N(null), v = N(!1), g = N(""), b = N(null), y = N(void 0), w = N(0);
|
|
31426
|
+
$t(() => {
|
|
31425
31427
|
Ht(l.dataset) && et({
|
|
31426
31428
|
componentName: "VueUiCandlestick",
|
|
31427
31429
|
type: "dataset"
|
|
@@ -31444,7 +31446,7 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31444
31446
|
const u = ie(() => Mt({
|
|
31445
31447
|
userConfig: l.config,
|
|
31446
31448
|
defaultConfig: a.value
|
|
31447
|
-
})), c =
|
|
31449
|
+
})), c = N({
|
|
31448
31450
|
inside: !u.value.style.layout.useDiv,
|
|
31449
31451
|
showTable: u.value.table.show
|
|
31450
31452
|
}), i = ie(() => ({
|
|
@@ -31460,7 +31462,7 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31460
31462
|
width: i.value.width - I - $,
|
|
31461
31463
|
height: i.value.height - S - K
|
|
31462
31464
|
};
|
|
31463
|
-
}), F = ie(() => l.dataset.length), k =
|
|
31465
|
+
}), F = ie(() => l.dataset.length), k = N({
|
|
31464
31466
|
start: 0,
|
|
31465
31467
|
end: F.value
|
|
31466
31468
|
}), O = ie(() => l.dataset.slice(k.value.start, k.value.end)), W = ie(() => (l.dataset.forEach((S, $) => {
|
|
@@ -31532,7 +31534,7 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31532
31534
|
const V = ie(() => J.value.ticks.map((S) => ({
|
|
31533
31535
|
y: C.value.bottom - C.value.height * z(S),
|
|
31534
31536
|
value: S
|
|
31535
|
-
}))), Y = ie(() => W.value.map((S) => S.period)), de =
|
|
31537
|
+
}))), Y = ie(() => W.value.map((S) => S.period)), de = N(null);
|
|
31536
31538
|
function we(S, $) {
|
|
31537
31539
|
y.value = S, de.value = {
|
|
31538
31540
|
datapoint: $,
|
|
@@ -31555,13 +31557,13 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31555
31557
|
});
|
|
31556
31558
|
else if (u.value.style.tooltip.show) {
|
|
31557
31559
|
let I = "";
|
|
31558
|
-
const { period: P, open: j, high: q, low: fe, last: Z, volume: pe, isBullish: M } = ve.value[S], { period:
|
|
31560
|
+
const { period: P, open: j, high: q, low: fe, last: Z, volume: pe, isBullish: M } = ve.value[S], { period: T, open: ee, high: ue, low: R, last: me, volume: Fe } = u.value.translations;
|
|
31559
31561
|
I += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${u.value.style.layout.candle.borderRadius * 3}" stroke="${u.value.style.layout.candle.stroke}" stroke-width="${u.value.style.layout.candle.strokeWidth}"
|
|
31560
31562
|
fill="${u.value.style.layout.candle.gradient.show ? M ? `url(#bullish_gradient_${o.value})` : `url(#bearish_gradient_${o.value})` : M ? u.value.style.layout.candle.colors.bullish : u.value.style.layout.candle.colors.bearish}"/></svg>${P}</div>`, I += `${Fe} : <b>${isNaN(pe) ? "-" : Number(pe.toFixed(u.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, I += '<div style="margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8">', I += `<div>${ee} : <b>${u.value.style.tooltip.prefix} ${isNaN(j.value) ? "-" : Number(j.value.toFixed(u.value.style.tooltip.roundingValue)).toLocaleString()} ${u.value.style.tooltip.suffix}</b></div>`, I += `<div>${ue} : <b>${u.value.style.tooltip.prefix} ${isNaN(q.value) ? "-" : Number(q.value.toFixed(u.value.style.tooltip.roundingValue)).toLocaleString()} ${u.value.style.tooltip.suffix}</b></div>`, I += `<div>${R} : <b>${u.value.style.tooltip.prefix} ${isNaN(fe.value) ? "-" : Number(fe.value.toFixed(u.value.style.tooltip.roundingValue)).toLocaleString()} ${u.value.style.tooltip.suffix}</b></div>`, I += `<div>${me} : <b>${u.value.style.tooltip.prefix} ${isNaN(Z.value) ? "-" : Number(Z.value.toFixed(u.value.style.tooltip.roundingValue)).toLocaleString()} ${u.value.style.tooltip.suffix}</b></div>`, I += "</div>", g.value = `<div style="text-align:right">${I}</div>`;
|
|
31561
31563
|
}
|
|
31562
31564
|
v.value = !0;
|
|
31563
31565
|
}
|
|
31564
|
-
const _e =
|
|
31566
|
+
const _e = N(null);
|
|
31565
31567
|
function ne() {
|
|
31566
31568
|
s.value = !0;
|
|
31567
31569
|
}
|
|
@@ -31631,7 +31633,7 @@ const AQ = ["id"], uQ = ["viewBox"], cQ = { key: 0 }, dQ = ["id"], hQ = ["stop-c
|
|
|
31631
31633
|
u.value.translations.volume
|
|
31632
31634
|
];
|
|
31633
31635
|
return { head: K, body: S, config: $, colNames: K };
|
|
31634
|
-
}), Q =
|
|
31636
|
+
}), Q = N(!1);
|
|
31635
31637
|
function U(S) {
|
|
31636
31638
|
Q.value = S, w.value += 1;
|
|
31637
31639
|
}
|
|
@@ -31997,16 +31999,16 @@ const YQ = ["id"], JQ = ["viewBox"], ZQ = ["id"], eM = ["stop-color"], tM = ["st
|
|
|
31997
31999
|
},
|
|
31998
32000
|
setup(e, { expose: t }) {
|
|
31999
32001
|
const l = e, r = ie(() => !!l.dataset && l.dataset.length);
|
|
32000
|
-
|
|
32002
|
+
$t(() => {
|
|
32001
32003
|
Ht(l.dataset) && et({
|
|
32002
32004
|
componentName: "VueUiAgePyramid",
|
|
32003
32005
|
type: "dataset"
|
|
32004
32006
|
});
|
|
32005
32007
|
});
|
|
32006
|
-
const o =
|
|
32008
|
+
const o = N(Ct()), a = N(Ft.vue_ui_age_pyramid), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(!1), b = N(""), y = N(null), w = N(0), u = ie(() => Mt({
|
|
32007
32009
|
userConfig: l.config,
|
|
32008
32010
|
defaultConfig: a.value
|
|
32009
|
-
})), c =
|
|
32011
|
+
})), c = N({
|
|
32010
32012
|
inside: !u.value.style.layout.useDiv,
|
|
32011
32013
|
showTable: u.value.table.show
|
|
32012
32014
|
}), i = ie(() => ({
|
|
@@ -32088,7 +32090,7 @@ const YQ = ["id"], JQ = ["viewBox"], ZQ = ["id"], eM = ["stop-color"], tM = ["st
|
|
|
32088
32090
|
height: Q
|
|
32089
32091
|
}
|
|
32090
32092
|
};
|
|
32091
|
-
})), ye =
|
|
32093
|
+
})), ye = N(null);
|
|
32092
32094
|
function ve(te, re) {
|
|
32093
32095
|
y.value = te, ye.value = {
|
|
32094
32096
|
datapoint: re,
|
|
@@ -32126,7 +32128,7 @@ const YQ = ["id"], JQ = ["viewBox"], ZQ = ["id"], eM = ["stop-color"], tM = ["st
|
|
|
32126
32128
|
}
|
|
32127
32129
|
g.value = !0;
|
|
32128
32130
|
}
|
|
32129
|
-
const z =
|
|
32131
|
+
const z = N(null);
|
|
32130
32132
|
function V() {
|
|
32131
32133
|
s.value = !0;
|
|
32132
32134
|
}
|
|
@@ -32193,7 +32195,7 @@ const YQ = ["id"], JQ = ["viewBox"], ZQ = ["id"], eM = ["stop-color"], tM = ["st
|
|
|
32193
32195
|
breakpoint: u.value.table.responsiveBreakpoint
|
|
32194
32196
|
};
|
|
32195
32197
|
return { head: te, body: re, config: _, colNames: te };
|
|
32196
|
-
}), G =
|
|
32198
|
+
}), G = N(!1);
|
|
32197
32199
|
function X(te) {
|
|
32198
32200
|
G.value = te, w.value += 1;
|
|
32199
32201
|
}
|
|
@@ -32530,14 +32532,14 @@ const LM = (e) => (Ao("data-v-5f9a401a"), e = e(), uo(), e), UM = {
|
|
|
32530
32532
|
emits: ["change"],
|
|
32531
32533
|
setup(e, { expose: t, emit: l }) {
|
|
32532
32534
|
const r = e;
|
|
32533
|
-
|
|
32535
|
+
Va((ne) => ({
|
|
32534
32536
|
"75ab387a": z.value,
|
|
32535
32537
|
"99f5c3c0": V.value
|
|
32536
32538
|
}));
|
|
32537
|
-
const o =
|
|
32539
|
+
const o = N(Ft.vue_ui_dashboard), a = ie(() => Mt({
|
|
32538
32540
|
userConfig: r.config,
|
|
32539
32541
|
defaultConfig: o.value
|
|
32540
|
-
})), n =
|
|
32542
|
+
})), n = N(`vue-ui-dashboard-${Math.random()}`), s = N(r.dataset), A = N(null), v = N(null), g = N({ x: 0, y: 0 }), b = N({ x: 0, y: 0 }), y = N(null), w = N(!1), u = N(null), c = N(!1);
|
|
32541
32543
|
function i() {
|
|
32542
32544
|
c.value = !0, el({
|
|
32543
32545
|
domElement: document.getElementById(`vue-ui-dashboard_${n.value}`),
|
|
@@ -34996,16 +34998,16 @@ const Yl = (e) => (Ao("data-v-e7267f47"), e = e(), uo(), e), mI = {
|
|
|
34996
34998
|
emits: ["rate"],
|
|
34997
34999
|
setup(e, { expose: t, emit: l }) {
|
|
34998
35000
|
const r = e;
|
|
34999
|
-
|
|
35001
|
+
$t(() => {
|
|
35000
35002
|
Ht(r.dataset) && et({
|
|
35001
35003
|
componentName: "VueUiSmiley",
|
|
35002
35004
|
type: "dataset"
|
|
35003
35005
|
});
|
|
35004
35006
|
});
|
|
35005
|
-
const o =
|
|
35007
|
+
const o = N(Ft.vue_ui_smiley), a = N(!1), n = N(void 0), s = ie(() => Mt({
|
|
35006
35008
|
userConfig: r.config,
|
|
35007
35009
|
defaultConfig: o.value
|
|
35008
|
-
})), A = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? y(r.dataset.rating) : r.dataset.rating || null), v = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), g =
|
|
35010
|
+
})), A = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? y(r.dataset.rating) : r.dataset.rating || null), v = ie(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), g = N(A.value), b = N(s.value.readonly);
|
|
35009
35011
|
function y(F) {
|
|
35010
35012
|
if (F === null)
|
|
35011
35013
|
return null;
|
|
@@ -35657,19 +35659,19 @@ const dN = ["id"], hN = ["viewBox"], fN = { key: 0 }, vN = ["font-size", "fill",
|
|
|
35657
35659
|
},
|
|
35658
35660
|
setup(e, { expose: t }) {
|
|
35659
35661
|
const l = e;
|
|
35660
|
-
|
|
35662
|
+
Va((I) => ({
|
|
35661
35663
|
ac8ddfec: ae.value,
|
|
35662
35664
|
"0936e62e": W.value,
|
|
35663
35665
|
"32bb470b": se.value
|
|
35664
35666
|
}));
|
|
35665
|
-
const r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o =
|
|
35667
|
+
const r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o = N(Ct()), a = N(Ft.vue_ui_relation_circle), n = N(!1), s = N(!1), A = N(null), v = N(0), g = ie(() => Mt({
|
|
35666
35668
|
userConfig: l.config,
|
|
35667
35669
|
defaultConfig: a.value
|
|
35668
|
-
})), b =
|
|
35670
|
+
})), b = N([]), y = ie(() => g.value.style.size * g.value.style.circle.radiusProportion), w = N([]), u = N({}), c = N([]), i = N(0), C = ie(() => l.dataset.slice(0, g.value.style.limit)), F = ie(() => g.value.style.size), k = ie(() => ({
|
|
35669
35671
|
height: g.value.style.size,
|
|
35670
35672
|
width: g.value.style.size
|
|
35671
35673
|
})), O = ie(() => g.value.style.links.curved), W = ie(() => `${g.value.style.animation.speedMs}ms`), ae = ie(() => y.value * 2), se = ie(() => y.value * 4);
|
|
35672
|
-
|
|
35674
|
+
$t(() => {
|
|
35673
35675
|
Ht(l.dataset) ? et({
|
|
35674
35676
|
componentName: "VueUiRelationCircle",
|
|
35675
35677
|
type: "dataset"
|
|
@@ -35746,7 +35748,7 @@ const dN = ["id"], hN = ["viewBox"], fN = { key: 0 }, vN = ["font-size", "fill",
|
|
|
35746
35748
|
function te(I) {
|
|
35747
35749
|
return I.weight / z.value * g.value.style.links.maxWidth;
|
|
35748
35750
|
}
|
|
35749
|
-
const re =
|
|
35751
|
+
const re = N(null);
|
|
35750
35752
|
function _() {
|
|
35751
35753
|
s.value = !0;
|
|
35752
35754
|
}
|
|
@@ -35774,7 +35776,7 @@ const dN = ["id"], hN = ["viewBox"], fN = { key: 0 }, vN = ["font-size", "fill",
|
|
|
35774
35776
|
});
|
|
35775
35777
|
}, 100);
|
|
35776
35778
|
}
|
|
35777
|
-
const $ =
|
|
35779
|
+
const $ = N(!1);
|
|
35778
35780
|
function K(I) {
|
|
35779
35781
|
$.value = I, v.value += 1;
|
|
35780
35782
|
}
|
|
@@ -35953,13 +35955,13 @@ const _N = ["id"], FN = {
|
|
|
35953
35955
|
},
|
|
35954
35956
|
setup(e, { expose: t }) {
|
|
35955
35957
|
const l = e;
|
|
35956
|
-
|
|
35958
|
+
Va((X) => ({
|
|
35957
35959
|
"124bddb2": ye.value,
|
|
35958
35960
|
"5decc772": J.value,
|
|
35959
35961
|
"6b0f96f4": se.value
|
|
35960
35962
|
}));
|
|
35961
35963
|
const r = ie(() => !!l.dataset && Object.keys(l.dataset).length);
|
|
35962
|
-
|
|
35964
|
+
$t(() => {
|
|
35963
35965
|
Ht(l.dataset) ? et({
|
|
35964
35966
|
componentName: "VueUiThermometer",
|
|
35965
35967
|
type: "dataset"
|
|
@@ -35974,12 +35976,12 @@ const _N = ["id"], FN = {
|
|
|
35974
35976
|
});
|
|
35975
35977
|
});
|
|
35976
35978
|
});
|
|
35977
|
-
const o =
|
|
35979
|
+
const o = N(Ct()), a = N(Ft.vue_ui_thermometer), n = N(!1), s = N(!1), A = N(null), v = N(0), g = ie(() => Mt({
|
|
35978
35980
|
userConfig: l.config,
|
|
35979
35981
|
defaultConfig: a.value
|
|
35980
|
-
})), b = ie(() => g.value.style.chart.thermometer.width), y =
|
|
35982
|
+
})), b = ie(() => g.value.style.chart.thermometer.width), y = N({
|
|
35981
35983
|
inside: !g.value.style.title.useDiv
|
|
35982
|
-
}), w = ie(() => l.dataset.steps || 10), u =
|
|
35984
|
+
}), w = ie(() => l.dataset.steps || 10), u = N({
|
|
35983
35985
|
top: y.inside ? g.value.style.chart.padding.top + 64 : g.value.style.chart.padding.top,
|
|
35984
35986
|
left: g.value.style.chart.padding.left,
|
|
35985
35987
|
right: g.value.style.chart.padding.right,
|
|
@@ -36048,7 +36050,7 @@ const _N = ["id"], FN = {
|
|
|
36048
36050
|
height: re / w.value
|
|
36049
36051
|
}), te += 1;
|
|
36050
36052
|
return X;
|
|
36051
|
-
}), V =
|
|
36053
|
+
}), V = N(null);
|
|
36052
36054
|
function Y() {
|
|
36053
36055
|
s.value = !0, u.value.top = g.value.style.chart.padding.top;
|
|
36054
36056
|
}
|
|
@@ -36076,7 +36078,7 @@ const _N = ["id"], FN = {
|
|
|
36076
36078
|
});
|
|
36077
36079
|
}, 100);
|
|
36078
36080
|
}
|
|
36079
|
-
const ne =
|
|
36081
|
+
const ne = N(!1);
|
|
36080
36082
|
function G(X) {
|
|
36081
36083
|
ne.value = X, v.value += 1;
|
|
36082
36084
|
}
|
|
@@ -36347,15 +36349,15 @@ const ZN = ["viewBox"], eT = ["id"], tT = ["stop-color"], lT = ["stop-color"], a
|
|
|
36347
36349
|
},
|
|
36348
36350
|
emits: ["selectDatapoint"],
|
|
36349
36351
|
setup(e, { emit: t }) {
|
|
36350
|
-
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o =
|
|
36352
|
+
const l = e, r = ie(() => !!l.dataset && l.dataset.length), o = N(Ct()), a = N(Ft.vue_ui_sparkstackbar), n = ie(() => Mt({
|
|
36351
36353
|
userConfig: l.config,
|
|
36352
36354
|
defaultConfig: a.value
|
|
36353
|
-
})), s =
|
|
36355
|
+
})), s = N(l.dataset.map((i, C) => ({
|
|
36354
36356
|
...i,
|
|
36355
36357
|
value: n.value.style.animation.show ? 0 : i.value || 0,
|
|
36356
36358
|
color: i.color ? mt(i.color) : Ye[C] || Ye[C % Ye.length]
|
|
36357
36359
|
})));
|
|
36358
|
-
|
|
36360
|
+
$t(() => {
|
|
36359
36361
|
if (Ht(l.dataset) ? et({
|
|
36360
36362
|
componentName: "VueUiSparkStackbar",
|
|
36361
36363
|
type: "dataset"
|
|
@@ -36389,10 +36391,10 @@ const ZN = ["viewBox"], eT = ["id"], tT = ["stop-color"], lT = ["stop-color"], a
|
|
|
36389
36391
|
O();
|
|
36390
36392
|
}
|
|
36391
36393
|
});
|
|
36392
|
-
const A =
|
|
36394
|
+
const A = N({
|
|
36393
36395
|
width: 500,
|
|
36394
36396
|
height: 16
|
|
36395
|
-
}), v =
|
|
36397
|
+
}), v = N([]);
|
|
36396
36398
|
function g(i) {
|
|
36397
36399
|
v.value.includes(i) ? v.value = v.value.filter((C) => C !== i) : v.value.length < s.value.length - 1 && v.value.push(i);
|
|
36398
36400
|
}
|
|
@@ -36560,11 +36562,11 @@ const vT = { key: 0 }, gT = { key: 1 }, yT = ["viewBox"], pT = ["id"], bT = ["st
|
|
|
36560
36562
|
emits: ["selectDatapoint"],
|
|
36561
36563
|
setup(e, { emit: t }) {
|
|
36562
36564
|
const l = e;
|
|
36563
|
-
|
|
36565
|
+
Va((u) => ({
|
|
36564
36566
|
"4f32ae0f": w.value
|
|
36565
36567
|
}));
|
|
36566
36568
|
const r = ie(() => !!l.dataset && l.dataset.length);
|
|
36567
|
-
|
|
36569
|
+
$t(() => {
|
|
36568
36570
|
Ht(l.dataset) ? et({
|
|
36569
36571
|
componentName: "VueUiSparkHistogram",
|
|
36570
36572
|
type: "dataset"
|
|
@@ -36582,7 +36584,7 @@ const vT = { key: 0 }, gT = { key: 1 }, yT = ["viewBox"], pT = ["id"], bT = ["st
|
|
|
36582
36584
|
});
|
|
36583
36585
|
});
|
|
36584
36586
|
});
|
|
36585
|
-
const o =
|
|
36587
|
+
const o = N(Ct()), a = N(Ft.vue_ui_sparkhistogram), n = ie(() => Mt({
|
|
36586
36588
|
userConfig: l.config,
|
|
36587
36589
|
defaultConfig: a.value
|
|
36588
36590
|
})), s = ie(() => {
|
|
@@ -36619,7 +36621,7 @@ const vT = { key: 0 }, gT = { key: 1 }, yT = ["viewBox"], pT = ["id"], bT = ["st
|
|
|
36619
36621
|
x: ae,
|
|
36620
36622
|
y: W
|
|
36621
36623
|
};
|
|
36622
|
-
})), b =
|
|
36624
|
+
})), b = N(null);
|
|
36623
36625
|
function y(u, c) {
|
|
36624
36626
|
t("selectDatapoint", { datapoint: u, index: c });
|
|
36625
36627
|
}
|
|
@@ -36786,7 +36788,7 @@ const MT = ["id"], ET = ["viewBox"], IT = ["id"], NT = ["stop-color"], TT = ["st
|
|
|
36786
36788
|
emits: ["selectLegend"],
|
|
36787
36789
|
setup(e, { expose: t, emit: l }) {
|
|
36788
36790
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
36789
|
-
|
|
36791
|
+
$t(() => {
|
|
36790
36792
|
Ht(r.dataset) ? et({
|
|
36791
36793
|
componentName: "VueUiRings",
|
|
36792
36794
|
type: "dataset"
|
|
@@ -36804,15 +36806,15 @@ const MT = ["id"], ET = ["viewBox"], IT = ["id"], NT = ["stop-color"], TT = ["st
|
|
|
36804
36806
|
});
|
|
36805
36807
|
});
|
|
36806
36808
|
});
|
|
36807
|
-
const a =
|
|
36809
|
+
const a = N(Ct()), n = N(Ft.vue_ui_rings), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(null), u = N(0), c = ie(() => Mt({
|
|
36808
36810
|
userConfig: r.config,
|
|
36809
36811
|
defaultConfig: n.value
|
|
36810
|
-
})), i =
|
|
36812
|
+
})), i = N({
|
|
36811
36813
|
showTable: c.value.table.show
|
|
36812
36814
|
}), C = ie(() => ({
|
|
36813
36815
|
height: 360,
|
|
36814
36816
|
width: 360
|
|
36815
|
-
})), F =
|
|
36817
|
+
})), F = N([]);
|
|
36816
36818
|
function k(S) {
|
|
36817
36819
|
F.value.includes(S) ? F.value = F.value.filter(($) => $ !== S) : F.value.push(S), l("selectLegend", ve.value.map(($) => ({
|
|
36818
36820
|
name: $.name,
|
|
@@ -36866,7 +36868,7 @@ const MT = ["id"], ET = ["viewBox"], IT = ["id"], NT = ["stop-color"], TT = ["st
|
|
|
36866
36868
|
})
|
|
36867
36869
|
);
|
|
36868
36870
|
}
|
|
36869
|
-
const V = ie(() => C.value.height - c.value.style.chart.layout.rings.strokeWidth * 2), Y =
|
|
36871
|
+
const V = ie(() => C.value.height - c.value.style.chart.layout.rings.strokeWidth * 2), Y = N(null);
|
|
36870
36872
|
function de(S, $) {
|
|
36871
36873
|
if (F.value.length === r.dataset.length)
|
|
36872
36874
|
return;
|
|
@@ -36899,7 +36901,7 @@ const MT = ["id"], ET = ["viewBox"], IT = ["id"], NT = ["stop-color"], TT = ["st
|
|
|
36899
36901
|
}
|
|
36900
36902
|
b.value = !0;
|
|
36901
36903
|
}
|
|
36902
|
-
const we =
|
|
36904
|
+
const we = N(null);
|
|
36903
36905
|
function _e() {
|
|
36904
36906
|
s.value = !0;
|
|
36905
36907
|
}
|
|
@@ -36977,7 +36979,7 @@ const MT = ["id"], ET = ["viewBox"], IT = ["id"], NT = ["stop-color"], TT = ["st
|
|
|
36977
36979
|
gl({ csvContent: K, title: c.value.style.chart.title.text || "vue-ui-rings" });
|
|
36978
36980
|
});
|
|
36979
36981
|
}
|
|
36980
|
-
const Q =
|
|
36982
|
+
const Q = N(!1);
|
|
36981
36983
|
function U(S) {
|
|
36982
36984
|
Q.value = S, u.value += 1;
|
|
36983
36985
|
}
|
|
@@ -37191,10 +37193,10 @@ const jT = ["id"], GT = ["viewBox"], XT = ["x1", "x2", "y1", "y2", "stroke", "st
|
|
|
37191
37193
|
}
|
|
37192
37194
|
},
|
|
37193
37195
|
setup(e, { expose: t }) {
|
|
37194
|
-
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o =
|
|
37196
|
+
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o = N(Ct()), a = N(Ft.vue_ui_wheel), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(0), b = ie(() => Mt({
|
|
37195
37197
|
userConfig: l.config,
|
|
37196
37198
|
defaultConfig: a.value
|
|
37197
|
-
})), y =
|
|
37199
|
+
})), y = N({
|
|
37198
37200
|
size: 360,
|
|
37199
37201
|
height: 360,
|
|
37200
37202
|
width: 360
|
|
@@ -37209,8 +37211,8 @@ const jT = ["id"], GT = ["viewBox"], XT = ["x1", "x2", "y1", "y2", "stroke", "st
|
|
|
37209
37211
|
y: w.value.centerY + w.value.radius * Math.sin(29.85 + J * Math.PI / 180) * ye
|
|
37210
37212
|
};
|
|
37211
37213
|
}
|
|
37212
|
-
const c =
|
|
37213
|
-
|
|
37214
|
+
const c = N(b.value.style.chart.animation.use ? 0 : l.dataset.percentage || 0);
|
|
37215
|
+
$t(() => {
|
|
37214
37216
|
Ht(l.dataset) && et({
|
|
37215
37217
|
componentName: "VueUiWheel",
|
|
37216
37218
|
type: "dataset"
|
|
@@ -37234,7 +37236,7 @@ const jT = ["id"], GT = ["viewBox"], XT = ["x1", "x2", "y1", "y2", "stroke", "st
|
|
|
37234
37236
|
});
|
|
37235
37237
|
}
|
|
37236
37238
|
return J;
|
|
37237
|
-
}), C =
|
|
37239
|
+
}), C = N(null);
|
|
37238
37240
|
function F() {
|
|
37239
37241
|
s.value = !0;
|
|
37240
37242
|
}
|
|
@@ -37262,7 +37264,7 @@ const jT = ["id"], GT = ["viewBox"], XT = ["x1", "x2", "y1", "y2", "stroke", "st
|
|
|
37262
37264
|
});
|
|
37263
37265
|
}, 100);
|
|
37264
37266
|
}
|
|
37265
|
-
const ae =
|
|
37267
|
+
const ae = N(!1);
|
|
37266
37268
|
function se(J) {
|
|
37267
37269
|
ae.value = J, g.value += 1;
|
|
37268
37270
|
}
|
|
@@ -37387,11 +37389,11 @@ const eD = ["id"], tD = ["viewBox"], lD = { key: 0 }, aD = ["d", "stroke-width",
|
|
|
37387
37389
|
}
|
|
37388
37390
|
},
|
|
37389
37391
|
setup(e, { expose: t }) {
|
|
37390
|
-
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o =
|
|
37392
|
+
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length), o = N(Ct()), a = N(Ft.vue_ui_tiremarks), n = N(null), s = N(!1), A = N(!1), v = N(0), g = ie(() => Mt({
|
|
37391
37393
|
userConfig: l.config,
|
|
37392
37394
|
defaultConfig: a.value
|
|
37393
|
-
})), b =
|
|
37394
|
-
|
|
37395
|
+
})), b = N(g.value.style.chart.animation.use ? 0 : l.dataset.percentage);
|
|
37396
|
+
$t(() => {
|
|
37395
37397
|
Ht(l.dataset) && et({
|
|
37396
37398
|
componentName: "VueUiTiremarks",
|
|
37397
37399
|
type: "dataset"
|
|
@@ -37423,7 +37425,7 @@ const eD = ["id"], tD = ["viewBox"], lD = { key: 0 }, aD = ["d", "stroke-width",
|
|
|
37423
37425
|
}), u = ie(() => Object.values(w.value).reduce((z, V) => z + V, 0)), c = ie(() => ({
|
|
37424
37426
|
height: y.value ? 312 : 56,
|
|
37425
37427
|
width: y.value ? 56 : 312
|
|
37426
|
-
})), i =
|
|
37428
|
+
})), i = N(100);
|
|
37427
37429
|
ie(() => l.dataset.percentage / i.value);
|
|
37428
37430
|
const C = ie(() => y.value ? {
|
|
37429
37431
|
mark: (c.value.height - u.value) / 100 * 0.5,
|
|
@@ -37469,7 +37471,7 @@ const eD = ["id"], tD = ["viewBox"], lD = { key: 0 }, aD = ["d", "stroke-width",
|
|
|
37469
37471
|
fontSize: g.value.style.chart.percentage.fontSize,
|
|
37470
37472
|
fill: g.value.style.chart.percentage.color
|
|
37471
37473
|
};
|
|
37472
|
-
}), O =
|
|
37474
|
+
}), O = N(null);
|
|
37473
37475
|
function W() {
|
|
37474
37476
|
s.value = !0;
|
|
37475
37477
|
}
|
|
@@ -37497,7 +37499,7 @@ const eD = ["id"], tD = ["viewBox"], lD = { key: 0 }, aD = ["d", "stroke-width",
|
|
|
37497
37499
|
});
|
|
37498
37500
|
}, 100);
|
|
37499
37501
|
}
|
|
37500
|
-
const ye =
|
|
37502
|
+
const ye = N(!1);
|
|
37501
37503
|
function ve(z) {
|
|
37502
37504
|
ye.value = z, v.value += 1;
|
|
37503
37505
|
}
|
|
@@ -37626,7 +37628,7 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37626
37628
|
emits: ["selectLegend"],
|
|
37627
37629
|
setup(e, { expose: t, emit: l }) {
|
|
37628
37630
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
37629
|
-
|
|
37631
|
+
$t(() => {
|
|
37630
37632
|
Ht(r.dataset) ? et({
|
|
37631
37633
|
componentName: "VueUiDonutEvolution",
|
|
37632
37634
|
type: "dataset"
|
|
@@ -37644,10 +37646,10 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37644
37646
|
});
|
|
37645
37647
|
});
|
|
37646
37648
|
});
|
|
37647
|
-
const a =
|
|
37649
|
+
const a = N(Ct()), n = N(Ft.vue_ui_donut_evolution), s = N(!1), A = N(!1), v = N([]), g = N(null), b = N(null), y = N(!1), w = N(null), u = N(null), c = N(0), i = ie(() => Mt({
|
|
37648
37650
|
userConfig: r.config,
|
|
37649
37651
|
defaultConfig: n.value
|
|
37650
|
-
})), C =
|
|
37652
|
+
})), C = N({
|
|
37651
37653
|
showTable: i.value.table.show
|
|
37652
37654
|
}), F = ie(() => ({
|
|
37653
37655
|
top: i.value.style.chart.layout.padding.top,
|
|
@@ -37655,14 +37657,14 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37655
37657
|
bottom: i.value.style.chart.layout.padding.bottom,
|
|
37656
37658
|
left: i.value.style.chart.layout.padding.left
|
|
37657
37659
|
})), k = ie(() => {
|
|
37658
|
-
const Z = i.value.style.chart.layout.height, pe = i.value.style.chart.layout.width, M = Z - F.value.top - F.value.bottom,
|
|
37660
|
+
const Z = i.value.style.chart.layout.height, pe = i.value.style.chart.layout.width, M = Z - F.value.top - F.value.bottom, T = pe - F.value.left - F.value.right;
|
|
37659
37661
|
return {
|
|
37660
37662
|
absoluteHeight: Z,
|
|
37661
37663
|
absoluteWidth: pe,
|
|
37662
|
-
centerX: F.value.left +
|
|
37664
|
+
centerX: F.value.left + T / 2,
|
|
37663
37665
|
centerY: F.value.top + M / 2,
|
|
37664
37666
|
height: M,
|
|
37665
|
-
width:
|
|
37667
|
+
width: T
|
|
37666
37668
|
};
|
|
37667
37669
|
}), O = ie(() => (r.dataset.forEach((Z, pe) => {
|
|
37668
37670
|
[null, void 0].includes(Z.name) && et({
|
|
@@ -37684,21 +37686,21 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37684
37686
|
uid: Ct()
|
|
37685
37687
|
})))), W = ie(() => O.value.filter((Z) => !v.value.includes(Z.uid))), ae = ie(() => Math.max(...W.value.map((Z) => Z.length))), se = ie(() => k.value.width / ae.value), J = ie(() => {
|
|
37686
37688
|
const Z = [];
|
|
37687
|
-
for (let
|
|
37688
|
-
const ee = W.value.map((ke) => ke.values[
|
|
37689
|
+
for (let T = 0; T < ae.value; T += 1) {
|
|
37690
|
+
const ee = W.value.map((ke) => ke.values[T] ?? null), ue = ee.filter((ke) => [void 0, null].includes(ke)).length === ee.length, R = ee.reduce((ke, he) => ke + he, 0), me = ee.map((ke) => ke / R), Fe = F.value.left + se.value * T + se.value / 2;
|
|
37689
37691
|
Z.push({
|
|
37690
|
-
index:
|
|
37692
|
+
index: T,
|
|
37691
37693
|
percentages: me,
|
|
37692
37694
|
subtotal: ue || R < 0 ? null : R,
|
|
37693
37695
|
values: ee,
|
|
37694
37696
|
x: Fe
|
|
37695
37697
|
});
|
|
37696
37698
|
}
|
|
37697
|
-
const pe = 0, M = Math.max(...Z.map((
|
|
37698
|
-
return Z.map((
|
|
37699
|
-
const ue = se.value / 2 * 0.7, R = ue > k.value.width / 16 ? k.value.width / 16 : ue, me = g.value ===
|
|
37699
|
+
const pe = 0, M = Math.max(...Z.map((T) => T.subtotal));
|
|
37700
|
+
return Z.map((T, ee) => {
|
|
37701
|
+
const ue = se.value / 2 * 0.7, R = ue > k.value.width / 16 ? k.value.width / 16 : ue, me = g.value === T.index ? k.value.width / 16 : R, Fe = k.value.absoluteHeight - F.value.bottom - k.value.height * T.subtotal / PA(pe, M, 10).max;
|
|
37700
37702
|
return {
|
|
37701
|
-
...
|
|
37703
|
+
...T,
|
|
37702
37704
|
y: Fe,
|
|
37703
37705
|
radius: R,
|
|
37704
37706
|
donut: Ra({
|
|
@@ -37707,14 +37709,14 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37707
37709
|
name: ke.name,
|
|
37708
37710
|
value: ke.values[ee] ?? 0
|
|
37709
37711
|
}))
|
|
37710
|
-
},
|
|
37712
|
+
}, T.x, Fe, me, me, 1.99999, 2, 1, 360, 105.25, se.value / 5 > 16 ? 16 : se.value / 5),
|
|
37711
37713
|
donutHover: Ra({
|
|
37712
37714
|
series: W.value.map((ke, he) => ({
|
|
37713
37715
|
color: ke.color,
|
|
37714
37716
|
name: ke.name,
|
|
37715
37717
|
value: ke.values[ee] ?? 0
|
|
37716
37718
|
}))
|
|
37717
|
-
},
|
|
37719
|
+
}, T.x, Fe, me, me, 1.99999, 2, 1, 360, 105.25, 12),
|
|
37718
37720
|
donutFocus: Ra({
|
|
37719
37721
|
series: W.value.map((ke, he) => ({
|
|
37720
37722
|
color: ke.color,
|
|
@@ -37754,13 +37756,13 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37754
37756
|
function G() {
|
|
37755
37757
|
w.value = null, y.value = !1;
|
|
37756
37758
|
}
|
|
37757
|
-
const X =
|
|
37759
|
+
const X = N(null);
|
|
37758
37760
|
function te() {
|
|
37759
37761
|
s.value = !0;
|
|
37760
37762
|
}
|
|
37761
37763
|
const re = ie(() => O.value.map((Z, pe) => ({
|
|
37762
37764
|
name: Z.name,
|
|
37763
|
-
value: Z.values.reduce((M,
|
|
37765
|
+
value: Z.values.reduce((M, T) => M + T, 0),
|
|
37764
37766
|
shape: "circle",
|
|
37765
37767
|
uid: Z.uid,
|
|
37766
37768
|
color: Z.color
|
|
@@ -37843,21 +37845,21 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37843
37845
|
outline: i.value.table.td.outline
|
|
37844
37846
|
},
|
|
37845
37847
|
breakpoint: i.value.table.responsiveBreakpoint
|
|
37846
|
-
},
|
|
37848
|
+
}, T = [
|
|
37847
37849
|
i.value.table.columnNames.period
|
|
37848
37850
|
].concat(O.value.filter((ee) => !v.value.includes(ee.uid)).map((ee) => ee.name)).concat(i.value.table.columnNames.total);
|
|
37849
|
-
return { head: Z, body: pe, config: M, colNames:
|
|
37851
|
+
return { head: Z, body: pe, config: M, colNames: T };
|
|
37850
37852
|
});
|
|
37851
37853
|
function P() {
|
|
37852
37854
|
return O.value;
|
|
37853
37855
|
}
|
|
37854
37856
|
function j() {
|
|
37855
37857
|
fl(() => {
|
|
37856
|
-
const Z = [[i.value.style.chart.title.text], [i.value.style.chart.title.subtitle.text], [""]], pe = [...I.value.head.map((ue) => ue.name ?? ue)], M = [...I.value.body.map((ue) => ue.map((R) => R.value ?? R))],
|
|
37858
|
+
const Z = [[i.value.style.chart.title.text], [i.value.style.chart.title.subtitle.text], [""]], pe = [...I.value.head.map((ue) => ue.name ?? ue)], M = [...I.value.body.map((ue) => ue.map((R) => R.value ?? R))], T = Z.concat([pe]).concat(M), ee = yl(T);
|
|
37857
37859
|
gl({ csvContent: ee, title: i.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
37858
37860
|
});
|
|
37859
37861
|
}
|
|
37860
|
-
const q =
|
|
37862
|
+
const q = N(!1);
|
|
37861
37863
|
function fe(Z) {
|
|
37862
37864
|
q.value = Z, c.value += 1;
|
|
37863
37865
|
}
|
|
@@ -37977,9 +37979,9 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37977
37979
|
"stroke-linecap": "round"
|
|
37978
37980
|
}, null, 8, wD),
|
|
37979
37981
|
i.value.style.chart.layout.grid.showVerticalLines ? (d(), f("g", mD, [
|
|
37980
|
-
(d(!0), f(Ce, null, Le(ae.value, (M,
|
|
37981
|
-
x1: F.value.left + (
|
|
37982
|
-
x2: F.value.left + (
|
|
37982
|
+
(d(!0), f(Ce, null, Le(ae.value, (M, T) => (d(), f("line", {
|
|
37983
|
+
x1: F.value.left + (T + 1) * se.value,
|
|
37984
|
+
x2: F.value.left + (T + 1) * se.value,
|
|
37983
37985
|
y1: F.value.top,
|
|
37984
37986
|
y2: k.value.absoluteHeight - F.value.bottom,
|
|
37985
37987
|
stroke: i.value.style.chart.layout.grid.stroke,
|
|
@@ -37992,7 +37994,7 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
37992
37994
|
key: 1,
|
|
37993
37995
|
class: He({ "donut-opacity": !0, "donut-behind": g.value !== null || y.value })
|
|
37994
37996
|
}, [
|
|
37995
|
-
(d(!0), f(Ce, null, Le(Y.value, (M,
|
|
37997
|
+
(d(!0), f(Ce, null, Le(Y.value, (M, T) => (d(), f("g", null, [
|
|
37996
37998
|
M.value >= z.value.min && M.value <= z.value.max ? (d(), f("line", {
|
|
37997
37999
|
key: 0,
|
|
37998
38000
|
x1: F.value.left,
|
|
@@ -38017,25 +38019,25 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38017
38019
|
key: 2,
|
|
38018
38020
|
class: He({ "donut-opacity": !0, "donut-behind": y.value })
|
|
38019
38021
|
}, [
|
|
38020
|
-
(d(!0), f(Ce, null, Le(ae.value, (M,
|
|
38021
|
-
i.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (
|
|
38022
|
+
(d(!0), f(Ce, null, Le(ae.value, (M, T) => (d(), f("g", null, [
|
|
38023
|
+
i.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (T === 0 || T === ae.value - 1) || !i.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (d(), f("text", {
|
|
38022
38024
|
key: 0,
|
|
38023
|
-
x: F.value.left + se.value *
|
|
38025
|
+
x: F.value.left + se.value * T + se.value / 2,
|
|
38024
38026
|
y: k.value.absoluteHeight - F.value.bottom + i.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
38025
38027
|
"text-anchor": "middle",
|
|
38026
38028
|
"font-size": i.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
38027
38029
|
fill: i.value.style.chart.layout.grid.xAxis.dataLabels.color
|
|
38028
|
-
}, D(i.value.style.chart.layout.grid.xAxis.dataLabels.values[
|
|
38030
|
+
}, D(i.value.style.chart.layout.grid.xAxis.dataLabels.values[T] ?? ""), 9, BD)) : L("", !0)
|
|
38029
38031
|
]))), 256))
|
|
38030
38032
|
], 2)) : L("", !0),
|
|
38031
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38032
|
-
i.value.style.chart.layout.line.show &&
|
|
38033
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("g", null, [
|
|
38034
|
+
i.value.style.chart.layout.line.show && T < J.value.length - 1 && ![M.subtotal, J.value[T + 1].subtotal].includes(null) ? (d(), f("line", {
|
|
38033
38035
|
key: 0,
|
|
38034
38036
|
class: He({ "donut-opacity": !0, "donut-behind": g.value !== null || y.value }),
|
|
38035
38037
|
x1: M.x,
|
|
38036
38038
|
y1: M.y,
|
|
38037
|
-
x2: J.value[
|
|
38038
|
-
y2: J.value[
|
|
38039
|
+
x2: J.value[T + 1].x,
|
|
38040
|
+
y2: J.value[T + 1].y,
|
|
38039
38041
|
stroke: i.value.style.chart.layout.line.stroke,
|
|
38040
38042
|
"stroke-width": i.value.style.chart.layout.line.strokeWidth,
|
|
38041
38043
|
"stroke-linecap": "round",
|
|
@@ -38051,11 +38053,11 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38051
38053
|
}, null, 8, SD)) : L("", !0)
|
|
38052
38054
|
])) : L("", !0)
|
|
38053
38055
|
]))), 256)),
|
|
38054
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38055
|
-
class: He({ "donut-opacity": !0, "donut-behind":
|
|
38056
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("g", {
|
|
38057
|
+
class: He({ "donut-opacity": !0, "donut-behind": T !== g.value && g.value !== null || y.value })
|
|
38056
38058
|
}, [
|
|
38057
38059
|
M.subtotal ? (d(), f("g", LD, [
|
|
38058
|
-
g.value !== null && g.value ===
|
|
38060
|
+
g.value !== null && g.value === T ? (d(), f("g", UD, [
|
|
38059
38061
|
(d(!0), f(Ce, null, Le(M.donut, (ee) => (d(), f("g", null, [
|
|
38060
38062
|
p("path", {
|
|
38061
38063
|
d: Be(jn)(ee, { x: ee.center.endX, y: ee.center.endY }, 12, 12, { x: M.x, y: M.y }, !0),
|
|
@@ -38080,8 +38082,8 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38080
38082
|
])) : L("", !0)
|
|
38081
38083
|
])) : L("", !0)
|
|
38082
38084
|
], 2))), 256)),
|
|
38083
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38084
|
-
class: He({ "donut-opacity": !0, "donut-behind":
|
|
38085
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("g", {
|
|
38086
|
+
class: He({ "donut-opacity": !0, "donut-behind": T !== g.value && g.value !== null || y.value })
|
|
38085
38087
|
}, [
|
|
38086
38088
|
M.subtotal !== null ? (d(), f("g", MD, [
|
|
38087
38089
|
M.subtotal === 0 ? (d(), f("circle", {
|
|
@@ -38090,7 +38092,7 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38090
38092
|
cy: M.y,
|
|
38091
38093
|
r: 3,
|
|
38092
38094
|
fill: i.value.style.chart.color
|
|
38093
|
-
}, null, 8, ED)) : g.value !== null && g.value ===
|
|
38095
|
+
}, null, 8, ED)) : g.value !== null && g.value === T ? (d(), f("g", ID, [
|
|
38094
38096
|
(d(!0), f(Ce, null, Le(M.donutHover, (ee, ue) => (d(), f("path", {
|
|
38095
38097
|
d: ee.arcSlice,
|
|
38096
38098
|
fill: `${ee.color}`,
|
|
@@ -38116,8 +38118,8 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38116
38118
|
}, null, 8, PD)) : L("", !0)
|
|
38117
38119
|
])) : L("", !0)
|
|
38118
38120
|
], 2))), 256)),
|
|
38119
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38120
|
-
class: He({ "donut-opacity": !0, "donut-behind":
|
|
38121
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("g", {
|
|
38122
|
+
class: He({ "donut-opacity": !0, "donut-behind": T !== g.value && g.value !== null || y.value })
|
|
38121
38123
|
}, [
|
|
38122
38124
|
M.subtotal !== null && i.value.style.chart.layout.dataLabels.show ? (d(), f("text", {
|
|
38123
38125
|
key: 0,
|
|
@@ -38129,8 +38131,8 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38129
38131
|
fill: i.value.style.chart.layout.dataLabels.color
|
|
38130
38132
|
}, D(ye(M.subtotal)), 9, OD)) : L("", !0)
|
|
38131
38133
|
], 2))), 256)),
|
|
38132
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38133
|
-
x: F.value.left +
|
|
38134
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("rect", {
|
|
38135
|
+
x: F.value.left + T * se.value,
|
|
38134
38136
|
y: k.value.absoluteHeight - F.value.bottom - 10,
|
|
38135
38137
|
width: se.value,
|
|
38136
38138
|
height: 10,
|
|
@@ -38138,9 +38140,9 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38138
38140
|
onClick: (ee) => ne(M),
|
|
38139
38141
|
class: He({ "donut-hover": g.value === M.index && M.subtotal })
|
|
38140
38142
|
}, null, 10, zD))), 256)),
|
|
38141
|
-
(d(!0), f(Ce, null, Le(J.value, (M,
|
|
38143
|
+
(d(!0), f(Ce, null, Le(J.value, (M, T) => (d(), f("rect", {
|
|
38142
38144
|
"data-cy-trap": "",
|
|
38143
|
-
x: F.value.left +
|
|
38145
|
+
x: F.value.left + T * se.value,
|
|
38144
38146
|
y: F.value.top,
|
|
38145
38147
|
width: se.value,
|
|
38146
38148
|
height: k.value.height,
|
|
@@ -38209,14 +38211,14 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38209
38211
|
r: k.value.height / 7,
|
|
38210
38212
|
fill: i.value.style.chart.backgroundColor
|
|
38211
38213
|
}, null, 8, qD),
|
|
38212
|
-
(d(!0), f(Ce, null, Le(w.value.donutFocus, (M,
|
|
38214
|
+
(d(!0), f(Ce, null, Le(w.value.donutFocus, (M, T) => (d(), f("path", {
|
|
38213
38215
|
d: M.arcSlice,
|
|
38214
38216
|
fill: `${M.color}`,
|
|
38215
38217
|
"stroke-width": 1,
|
|
38216
38218
|
stroke: i.value.style.chart.backgroundColor,
|
|
38217
38219
|
class: "vue-ui-donut-evolution-focus"
|
|
38218
38220
|
}, null, 8, YD))), 256)),
|
|
38219
|
-
(d(!0), f(Ce, null, Le(w.value.donutFocus, (M,
|
|
38221
|
+
(d(!0), f(Ce, null, Le(w.value.donutFocus, (M, T) => (d(), f("g", JD, [
|
|
38220
38222
|
p("text", {
|
|
38221
38223
|
"text-anchor": Be(Nt)(M, !0, 20).anchor,
|
|
38222
38224
|
x: Be(Nt)(M, !0, 10).x,
|
|
@@ -38280,7 +38282,7 @@ const AD = ["id"], uD = ["viewBox"], cD = ["id"], dD = ["stop-color"], hD = ["st
|
|
|
38280
38282
|
config: Q.value,
|
|
38281
38283
|
onClickMarker: pe[1] || (pe[1] = ({ legend: M }) => U(M.uid))
|
|
38282
38284
|
}, {
|
|
38283
|
-
item: Ie(({ legend: M, index:
|
|
38285
|
+
item: Ie(({ legend: M, index: T }) => [
|
|
38284
38286
|
p("div", {
|
|
38285
38287
|
"data-cy-legend-item": "",
|
|
38286
38288
|
onClick: (ee) => U(M.uid),
|
|
@@ -38335,16 +38337,16 @@ const cH = ["id"], dH = ["viewBox"], hH = ["id"], fH = ["stop-color"], vH = ["st
|
|
|
38335
38337
|
},
|
|
38336
38338
|
setup(e, { expose: t }) {
|
|
38337
38339
|
const l = e, r = ie(() => !!l.dataset && Object.keys(l.dataset).length);
|
|
38338
|
-
|
|
38340
|
+
$t(() => {
|
|
38339
38341
|
Ht(l.dataset) && et({
|
|
38340
38342
|
componentName: "VueUiMoodRadar",
|
|
38341
38343
|
type: "dataset"
|
|
38342
38344
|
});
|
|
38343
38345
|
});
|
|
38344
|
-
const o =
|
|
38346
|
+
const o = N(Ct()), a = N(Ft.vue_ui_mood_radar), n = N(!1), s = N(!1), A = N(null), v = N(null), g = N(null), b = ie(() => Mt({
|
|
38345
38347
|
userConfig: l.config,
|
|
38346
38348
|
defaultConfig: a.value
|
|
38347
|
-
})), y =
|
|
38349
|
+
})), y = N({
|
|
38348
38350
|
showTable: b.value.table.show
|
|
38349
38351
|
}), w = ie(() => ({
|
|
38350
38352
|
height: 256,
|
|
@@ -38404,7 +38406,7 @@ const cH = ["id"], dH = ["viewBox"], hH = ["id"], fH = ["stop-color"], vH = ["st
|
|
|
38404
38406
|
function W(ne) {
|
|
38405
38407
|
ne === g.value ? g.value = null : g.value = ne;
|
|
38406
38408
|
}
|
|
38407
|
-
const ae =
|
|
38409
|
+
const ae = N(null);
|
|
38408
38410
|
function se() {
|
|
38409
38411
|
s.value = !0;
|
|
38410
38412
|
}
|
|
@@ -38486,7 +38488,7 @@ const cH = ["id"], dH = ["viewBox"], hH = ["id"], fH = ["stop-color"], vH = ["st
|
|
|
38486
38488
|
function de() {
|
|
38487
38489
|
return F.value;
|
|
38488
38490
|
}
|
|
38489
|
-
const we =
|
|
38491
|
+
const we = N(!1);
|
|
38490
38492
|
function _e(ne) {
|
|
38491
38493
|
we.value = ne;
|
|
38492
38494
|
}
|
|
@@ -38844,10 +38846,10 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
38844
38846
|
},
|
|
38845
38847
|
emits: ["selectDatapoint"],
|
|
38846
38848
|
setup(e, { expose: t, emit: l }) {
|
|
38847
|
-
const r = e, o = ie(() => !!r.dataset && Object.keys(r.dataset).length), a =
|
|
38849
|
+
const r = e, o = ie(() => !!r.dataset && Object.keys(r.dataset).length), a = N(Ct()), n = N(Ft.vue_ui_3d_bar), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = ie(() => Mt({
|
|
38848
38850
|
userConfig: r.config,
|
|
38849
38851
|
defaultConfig: n.value
|
|
38850
|
-
})), w =
|
|
38852
|
+
})), w = N({
|
|
38851
38853
|
showTable: y.value.table.show
|
|
38852
38854
|
}), u = ie(() => r.dataset.series && r.dataset.series.length), c = ie(() => ({
|
|
38853
38855
|
height: y.value.style.chart.box.dimensions.height,
|
|
@@ -38885,8 +38887,8 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
38885
38887
|
tubeLeft: `M${c.value.left},${c.value.top + c.value.perspective} ${c.value.left},${c.value.height - c.value.bottom - c.value.perspective}`,
|
|
38886
38888
|
tubeRight: `M${c.value.width - c.value.right},${c.value.top + c.value.perspective} ${c.value.width - c.value.right},${c.value.height - c.value.bottom - c.value.perspective}`,
|
|
38887
38889
|
tubeBottom: `M${c.value.width - c.value.right},${c.value.height - c.value.bottom - c.value.perspective} C ${c.value.width - c.value.right},${c.value.height} ${c.value.left},${c.value.height} ${c.value.left},${c.value.height - c.value.bottom - c.value.perspective}`
|
|
38888
|
-
})), F =
|
|
38889
|
-
|
|
38890
|
+
})), F = N(y.value.style.chart.animation.use ? 0 : r.dataset.percentage);
|
|
38891
|
+
$t(() => {
|
|
38890
38892
|
Ht(r.dataset) ? et({
|
|
38891
38893
|
componentName: "VueUi3dBar",
|
|
38892
38894
|
type: "dataset"
|
|
@@ -38931,9 +38933,9 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
38931
38933
|
y.value.style.chart.animation.use && (F.value = 0, U());
|
|
38932
38934
|
});
|
|
38933
38935
|
function k(re, _, Q, U) {
|
|
38934
|
-
const S = c.value.height - c.value.bottom - c.value.top - c.value.perspective * 2, { width: $, height: K, bottom: I, right: P, left: j, perspective: q } = c.value, fe = I + S * re, Z = K - fe - q - S * _ / 2, pe = Z > c.value.height / 2 ? "top" : "bottom", M = 64,
|
|
38936
|
+
const S = c.value.height - c.value.bottom - c.value.top - c.value.perspective * 2, { width: $, height: K, bottom: I, right: P, left: j, perspective: q } = c.value, fe = I + S * re, Z = K - fe - q - S * _ / 2, pe = Z > c.value.height / 2 ? "top" : "bottom", M = 64, T = !!Q;
|
|
38935
38937
|
let ee = null, ue = null;
|
|
38936
|
-
return
|
|
38938
|
+
return T && (Q = Q.map((R, me) => ({
|
|
38937
38939
|
...R,
|
|
38938
38940
|
value: R.value || 0,
|
|
38939
38941
|
color: Xo(U, me / Q.length)
|
|
@@ -39009,7 +39011,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
39009
39011
|
${K},${U}
|
|
39010
39012
|
${K},${U - j - I}Z`
|
|
39011
39013
|
};
|
|
39012
|
-
}), W =
|
|
39014
|
+
}), W = N(null);
|
|
39013
39015
|
function ae(re, _ = !1) {
|
|
39014
39016
|
l("selectDatapoint", re), _ || (W.value = re.id), _ && b.value && (b.value = !1), _ && !b.value && (b.value = !0);
|
|
39015
39017
|
}
|
|
@@ -39023,7 +39025,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
39023
39025
|
function ye(re) {
|
|
39024
39026
|
return [...re].map((_) => _.value).reduce((_, Q) => _ + Q, 0);
|
|
39025
39027
|
}
|
|
39026
|
-
const ve =
|
|
39028
|
+
const ve = N(null);
|
|
39027
39029
|
function z() {
|
|
39028
39030
|
s.value = !0;
|
|
39029
39031
|
}
|
|
@@ -39051,7 +39053,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
39051
39053
|
});
|
|
39052
39054
|
}, 100);
|
|
39053
39055
|
}
|
|
39054
|
-
const we =
|
|
39056
|
+
const we = N(!1);
|
|
39055
39057
|
function _e(re) {
|
|
39056
39058
|
we.value = re;
|
|
39057
39059
|
}
|
|
@@ -39869,7 +39871,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
39869
39871
|
}
|
|
39870
39872
|
},
|
|
39871
39873
|
setup(e) {
|
|
39872
|
-
const t = e, l =
|
|
39874
|
+
const t = e, l = N({
|
|
39873
39875
|
/**
|
|
39874
39876
|
* clockwise from top (last: g)
|
|
39875
39877
|
* a
|
|
@@ -39956,7 +39958,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
39956
39958
|
}
|
|
39957
39959
|
},
|
|
39958
39960
|
setup(e) {
|
|
39959
|
-
const t = e, l =
|
|
39961
|
+
const t = e, l = N(Ft.vue_ui_digits), r = ie(() => Mt({
|
|
39960
39962
|
userConfig: t.config,
|
|
39961
39963
|
defaultConfig: l.value
|
|
39962
39964
|
})), o = ie(() => {
|
|
@@ -40030,7 +40032,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
40030
40032
|
s.parentNode = n;
|
|
40031
40033
|
});
|
|
40032
40034
|
}), (n, s) => {
|
|
40033
|
-
const A =
|
|
40035
|
+
const A = io("RecursiveCircles", !0);
|
|
40034
40036
|
return d(!0), f(Ce, null, Le(e.dataset, (v) => (d(), f(Ce, null, [
|
|
40035
40037
|
v.polygonPath && v.polygonPath.coordinates ? (d(), f(Ce, { key: 0 }, [
|
|
40036
40038
|
(d(!0), f(Ce, null, Le(v.polygonPath.coordinates, (g, b) => (d(), f("circle", {
|
|
@@ -40081,7 +40083,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
40081
40083
|
o.parentNode = r;
|
|
40082
40084
|
});
|
|
40083
40085
|
}), (r, o) => {
|
|
40084
|
-
const a =
|
|
40086
|
+
const a = io("RecursiveLinks", !0);
|
|
40085
40087
|
return d(), f(Ce, null, [
|
|
40086
40088
|
(d(!0), f(Ce, null, Le(e.dataset, (n) => (d(), f(Ce, null, [
|
|
40087
40089
|
n.polygonPath && n.polygonPath.coordinates ? (d(!0), f(Ce, { key: 0 }, Le(n.polygonPath.coordinates, (s, A) => (d(), f(Ce, null, [
|
|
@@ -40141,7 +40143,7 @@ const eu = (e) => (Ao("data-v-62e866fe"), e = e(), uo(), e), HH = ["id"], PH = [
|
|
|
40141
40143
|
a.parentNode = o;
|
|
40142
40144
|
});
|
|
40143
40145
|
}), (o, a) => {
|
|
40144
|
-
const n =
|
|
40146
|
+
const n = io("RecursiveLabels", !0);
|
|
40145
40147
|
return d(!0), f(Ce, null, Le(e.dataset, (s) => (d(), f(Ce, null, [
|
|
40146
40148
|
s.polygonPath && s.polygonPath.coordinates ? (d(), f(Ce, { key: 0 }, [
|
|
40147
40149
|
(d(!0), f(Ce, null, Le(s.polygonPath.coordinates, (A, v) => (d(), f("text", {
|
|
@@ -40254,16 +40256,16 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40254
40256
|
},
|
|
40255
40257
|
setup(e, { expose: t }) {
|
|
40256
40258
|
const l = e, r = ie(() => !!l.dataset && l.dataset.length);
|
|
40257
|
-
|
|
40259
|
+
$t(() => {
|
|
40258
40260
|
Ht(l.dataset) && et({
|
|
40259
40261
|
componentName: "VueUiMolecule",
|
|
40260
40262
|
type: "dataset"
|
|
40261
40263
|
});
|
|
40262
40264
|
});
|
|
40263
|
-
const o =
|
|
40265
|
+
const o = N(Ct()), a = N(Ft.vue_ui_molecule), n = N(!1), s = N(!1), A = N(null), v = N(!1), g = N(""), b = N(null), y = N(null), w = N(!1), u = N(null), c = N(null), i = N(0), C = ie(() => Mt({
|
|
40264
40266
|
userConfig: l.config,
|
|
40265
40267
|
defaultConfig: a.value
|
|
40266
|
-
})), F =
|
|
40268
|
+
})), F = N({
|
|
40267
40269
|
showTable: C.value.table.show,
|
|
40268
40270
|
showDataLabels: !0
|
|
40269
40271
|
});
|
|
@@ -40272,20 +40274,20 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40272
40274
|
}
|
|
40273
40275
|
function O() {
|
|
40274
40276
|
const pe = k(l.dataset);
|
|
40275
|
-
let M = 100,
|
|
40277
|
+
let M = 100, T = M;
|
|
40276
40278
|
for (let ee = 0; ee < pe; ee += 1)
|
|
40277
|
-
M /= 1,
|
|
40279
|
+
M /= 1, T += M;
|
|
40278
40280
|
return {
|
|
40279
|
-
height:
|
|
40280
|
-
width:
|
|
40281
|
+
height: T,
|
|
40282
|
+
width: T
|
|
40281
40283
|
};
|
|
40282
40284
|
}
|
|
40283
|
-
const W =
|
|
40284
|
-
function se(pe, M = { x: -W.value.width / 2.43, y: W.value.height / 2 },
|
|
40285
|
+
const W = N(O()), ae = N(`0 0 ${W.value.width} ${W.value.height}`);
|
|
40286
|
+
function se(pe, M = { x: -W.value.width / 2.43, y: W.value.height / 2 }, T = W.value.width / 1.1, ee = 24, ue = 0, R = 0, me = "#BBBBBB") {
|
|
40285
40287
|
if (pe && pe.length > 0) {
|
|
40286
40288
|
const Fe = Dl({
|
|
40287
40289
|
plot: M,
|
|
40288
|
-
radius:
|
|
40290
|
+
radius: T,
|
|
40289
40291
|
sides: pe.length,
|
|
40290
40292
|
rotation: ue
|
|
40291
40293
|
});
|
|
@@ -40299,7 +40301,7 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40299
40301
|
ke.nodes = se(
|
|
40300
40302
|
ke.nodes,
|
|
40301
40303
|
Te,
|
|
40302
|
-
|
|
40304
|
+
T / 2.9,
|
|
40303
40305
|
ee / 2.2,
|
|
40304
40306
|
ue + Math.PI * he / ke.nodes.length,
|
|
40305
40307
|
We,
|
|
@@ -40312,12 +40314,12 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40312
40314
|
}
|
|
40313
40315
|
function J(pe) {
|
|
40314
40316
|
const M = /* @__PURE__ */ new Set();
|
|
40315
|
-
function
|
|
40317
|
+
function T(ue) {
|
|
40316
40318
|
ue.forEach((R) => {
|
|
40317
|
-
R.color && !M.has(R.color) && M.add(R.color), R.nodes && R.nodes.length > 0 &&
|
|
40319
|
+
R.color && !M.has(R.color) && M.add(R.color), R.nodes && R.nodes.length > 0 && T(R.nodes);
|
|
40318
40320
|
});
|
|
40319
40321
|
}
|
|
40320
|
-
|
|
40322
|
+
T(pe);
|
|
40321
40323
|
const ee = {};
|
|
40322
40324
|
return Array.from(M).forEach((ue, R) => {
|
|
40323
40325
|
ee[ue] = `gradient_${R}`;
|
|
@@ -40332,13 +40334,13 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40332
40334
|
circleRadius: 24
|
|
40333
40335
|
});
|
|
40334
40336
|
}
|
|
40335
|
-
const V =
|
|
40337
|
+
const V = N(null);
|
|
40336
40338
|
function Y(pe) {
|
|
40337
40339
|
V.value && cancelAnimationFrame(V.value);
|
|
40338
|
-
const M = ae.value.split(" "),
|
|
40340
|
+
const M = ae.value.split(" "), T = parseFloat(M[0]), ee = parseFloat(M[1]), ue = parseFloat(M[2]), R = parseFloat(M[3]), { x: me, y: Fe } = pe.polygonPath.coordinates[0], { circleRadius: ke } = pe, he = 8.34, Te = me - ke * he, Re = Fe - ke * he, We = ke * he * 2, vt = ke * he * 2, xt = Math.sqrt((Te - T) ** 2 + (Re - ee) ** 2), ht = Math.min(1200, Math.max(20, Math.floor(xt / 10))), Et = (Te - T) / ht, nt = (Re - ee) / ht, Vl = (We - ue) / ht, Pt = (vt - R) / ht;
|
|
40339
40341
|
let Kl = 0;
|
|
40340
40342
|
function Kt() {
|
|
40341
|
-
ae.value = `${
|
|
40343
|
+
ae.value = `${T + Et * Kl} ${ee + nt * Kl} ${ue + Vl * Kl} ${R + Pt * Kl}`, Kl += C.value.style.chart.zoom.speed, Kl <= ht && (V.value = requestAnimationFrame(Kt));
|
|
40342
40344
|
}
|
|
40343
40345
|
Kt();
|
|
40344
40346
|
}
|
|
@@ -40356,7 +40358,7 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40356
40358
|
else
|
|
40357
40359
|
return;
|
|
40358
40360
|
}
|
|
40359
|
-
const _e =
|
|
40361
|
+
const _e = N(null);
|
|
40360
40362
|
function ne(pe) {
|
|
40361
40363
|
_e.value = {
|
|
40362
40364
|
datapoint: pe,
|
|
@@ -40379,18 +40381,18 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40379
40381
|
config: C.value
|
|
40380
40382
|
});
|
|
40381
40383
|
else {
|
|
40382
|
-
let
|
|
40383
|
-
|
|
40384
|
+
let T = "";
|
|
40385
|
+
T += `<div style="display:flex;align-items:center;gap:3px"><div style="color:${pe.color}">⬤</div><div>${pe.name}</div></div>`, pe.details && (T += `<div style="width:100%;border-top:1px solid #e1e5e8;margin-top: 2px">${pe.details}</div>`), g.value = `<div style="font-family:inherit">${T}</div>`;
|
|
40384
40386
|
}
|
|
40385
40387
|
}
|
|
40386
|
-
const G =
|
|
40388
|
+
const G = N(null), X = N(null);
|
|
40387
40389
|
function te(pe) {
|
|
40388
40390
|
G.value = pe, pe ? (v.value = !0, ne(pe), X.value = pe.uid) : (v.value = !1, g.value = "", X.value = null);
|
|
40389
40391
|
}
|
|
40390
40392
|
function re(pe) {
|
|
40391
40393
|
pe === "right" && (u.value.polygonPath.coordinates[0].x += u.value.circleRadius), pe === "left" && (u.value.polygonPath.coordinates[0].x -= u.value.circleRadius), pe === "top" && (u.value.polygonPath.coordinates[0].y -= u.value.circleRadius), pe === "bottom" && (u.value.polygonPath.coordinates[0].y += u.value.circleRadius), Y(u.value);
|
|
40392
40394
|
}
|
|
40393
|
-
const _ =
|
|
40395
|
+
const _ = N(null);
|
|
40394
40396
|
function Q() {
|
|
40395
40397
|
n.value = !0;
|
|
40396
40398
|
}
|
|
@@ -40420,7 +40422,7 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40420
40422
|
}
|
|
40421
40423
|
function K(pe) {
|
|
40422
40424
|
const M = [];
|
|
40423
|
-
function
|
|
40425
|
+
function T(ee) {
|
|
40424
40426
|
ee.forEach((ue) => {
|
|
40425
40427
|
const R = {
|
|
40426
40428
|
name: ue.name,
|
|
@@ -40428,10 +40430,10 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40428
40430
|
parentNode: ue.parentNode && ue.parentNode.name || "-",
|
|
40429
40431
|
color: ue.color || ""
|
|
40430
40432
|
};
|
|
40431
|
-
M.push(R), ue.nodes && ue.nodes.length > 0 &&
|
|
40433
|
+
M.push(R), ue.nodes && ue.nodes.length > 0 && T(ue.nodes, ue.name);
|
|
40432
40434
|
});
|
|
40433
40435
|
}
|
|
40434
|
-
return
|
|
40436
|
+
return T(pe), M;
|
|
40435
40437
|
}
|
|
40436
40438
|
const I = ie(() => K(ve.value)), P = ie(() => {
|
|
40437
40439
|
const pe = [
|
|
@@ -40445,7 +40447,7 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40445
40447
|
},
|
|
40446
40448
|
ue.details,
|
|
40447
40449
|
ue.parentNode || ""
|
|
40448
|
-
]),
|
|
40450
|
+
]), T = {
|
|
40449
40451
|
th: {
|
|
40450
40452
|
backgroundColor: C.value.table.th.backgroundColor,
|
|
40451
40453
|
color: C.value.table.th.color,
|
|
@@ -40465,20 +40467,20 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40465
40467
|
return {
|
|
40466
40468
|
head: pe,
|
|
40467
40469
|
body: M,
|
|
40468
|
-
config:
|
|
40470
|
+
config: T,
|
|
40469
40471
|
colNames: ee
|
|
40470
40472
|
};
|
|
40471
40473
|
});
|
|
40472
40474
|
function j() {
|
|
40473
40475
|
fl(() => {
|
|
40474
|
-
const pe = P.value.body.map((ee, ue) => [[ee[0].name], [ee[1]], [ee[2]]]), M = [[C.value.style.chart.title.text], [C.value.style.chart.title.subtitle.text], [[...P.value.head]]].concat(pe),
|
|
40475
|
-
gl({ csvContent:
|
|
40476
|
+
const pe = P.value.body.map((ee, ue) => [[ee[0].name], [ee[1]], [ee[2]]]), M = [[C.value.style.chart.title.text], [C.value.style.chart.title.subtitle.text], [[...P.value.head]]].concat(pe), T = yl(M);
|
|
40477
|
+
gl({ csvContent: T, title: C.value.style.chart.title.text || "vue-ui-molecule" });
|
|
40476
40478
|
});
|
|
40477
40479
|
}
|
|
40478
40480
|
function q() {
|
|
40479
40481
|
return ve.value;
|
|
40480
40482
|
}
|
|
40481
|
-
const fe =
|
|
40483
|
+
const fe = N(!1);
|
|
40482
40484
|
function Z(pe) {
|
|
40483
40485
|
fe.value = pe, i.value += 1;
|
|
40484
40486
|
}
|
|
@@ -40488,7 +40490,7 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40488
40490
|
generateCsv: j,
|
|
40489
40491
|
generateImage: $
|
|
40490
40492
|
}), (pe, M) => (d(), f("div", {
|
|
40491
|
-
onMouseleave: M[8] || (M[8] = (
|
|
40493
|
+
onMouseleave: M[8] || (M[8] = (T) => {
|
|
40492
40494
|
G.value = null, X.value = null;
|
|
40493
40495
|
}),
|
|
40494
40496
|
ref_key: "moleculeChart",
|
|
@@ -40539,19 +40541,19 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40539
40541
|
onGeneratePdf: U,
|
|
40540
40542
|
onGenerateCsv: j,
|
|
40541
40543
|
onGenerateImage: $,
|
|
40542
|
-
onToggleTable: M[0] || (M[0] = (
|
|
40543
|
-
onToggleLabels: M[1] || (M[1] = (
|
|
40544
|
+
onToggleTable: M[0] || (M[0] = (T) => F.value.showTable = !F.value.showTable),
|
|
40545
|
+
onToggleLabels: M[1] || (M[1] = (T) => F.value.showDataLabels = !F.value.showDataLabels)
|
|
40544
40546
|
}, null, 8, ["backgroundColor", "color", "isPrinting", "isImaging", "title", "uid", "chartElement"])) : L("", !0),
|
|
40545
40547
|
r.value ? (d(), f("svg", {
|
|
40546
40548
|
key: 2,
|
|
40547
40549
|
viewBox: ae.value,
|
|
40548
40550
|
class: He({ "vue-data-ui-fullscreen--on": fe.value, "vue-data-ui-fulscreen--off": !fe.value }),
|
|
40549
40551
|
style: H(`overflow: hidden; background:${C.value.style.chart.backgroundColor};color:${C.value.style.chart.color}`),
|
|
40550
|
-
onClick: M[2] || (M[2] = (
|
|
40552
|
+
onClick: M[2] || (M[2] = (T) => we(T))
|
|
40551
40553
|
}, [
|
|
40552
40554
|
p("defs", null, [
|
|
40553
|
-
(d(!0), f(Ce, null, Le(Object.keys(ye.value), (
|
|
40554
|
-
id: `gradient_${
|
|
40555
|
+
(d(!0), f(Ce, null, Le(Object.keys(ye.value), (T) => (d(), f("radialGradient", {
|
|
40556
|
+
id: `gradient_${T}`,
|
|
40555
40557
|
cx: "50%",
|
|
40556
40558
|
cy: "30%",
|
|
40557
40559
|
r: "50%",
|
|
@@ -40560,11 +40562,11 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40560
40562
|
}, [
|
|
40561
40563
|
p("stop", {
|
|
40562
40564
|
offset: "0%",
|
|
40563
|
-
"stop-color": Be(Xo)(
|
|
40565
|
+
"stop-color": Be(Xo)(T, 0.5)
|
|
40564
40566
|
}, null, 8, hz),
|
|
40565
40567
|
p("stop", {
|
|
40566
40568
|
offset: "100%",
|
|
40567
|
-
"stop-color":
|
|
40569
|
+
"stop-color": T
|
|
40568
40570
|
}, null, 8, fz)
|
|
40569
40571
|
], 8, dz))), 256))
|
|
40570
40572
|
]),
|
|
@@ -40593,11 +40595,11 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40593
40595
|
key: `direction_pad_${i.value}`,
|
|
40594
40596
|
color: C.value.style.chart.color,
|
|
40595
40597
|
isFullscreen: fe.value,
|
|
40596
|
-
onMoveLeft: M[3] || (M[3] = (
|
|
40597
|
-
onMoveRight: M[4] || (M[4] = (
|
|
40598
|
-
onMoveTop: M[5] || (M[5] = (
|
|
40599
|
-
onMoveBottom: M[6] || (M[6] = (
|
|
40600
|
-
onReset: M[7] || (M[7] = (
|
|
40598
|
+
onMoveLeft: M[3] || (M[3] = (T) => re("left")),
|
|
40599
|
+
onMoveRight: M[4] || (M[4] = (T) => re("right")),
|
|
40600
|
+
onMoveTop: M[5] || (M[5] = (T) => re("top")),
|
|
40601
|
+
onMoveBottom: M[6] || (M[6] = (T) => re("bottom")),
|
|
40602
|
+
onReset: M[7] || (M[7] = (T) => {
|
|
40601
40603
|
z(), w.value = !1;
|
|
40602
40604
|
})
|
|
40603
40605
|
}, null, 8, ["color", "isFullscreen"])) : L("", !0),
|
|
@@ -40640,21 +40642,21 @@ const uz = ["id"], cz = ["viewBox"], dz = ["id"], hz = ["stop-color"], fz = ["st
|
|
|
40640
40642
|
config: P.value.config,
|
|
40641
40643
|
title: `${C.value.style.chart.title.text}${C.value.style.chart.title.subtitle.text ? ` : ${C.value.style.chart.title.subtitle.text}` : ""}`
|
|
40642
40644
|
}, {
|
|
40643
|
-
th: Ie(({ th:
|
|
40645
|
+
th: Ie(({ th: T }) => [
|
|
40644
40646
|
p("div", {
|
|
40645
|
-
innerHTML:
|
|
40647
|
+
innerHTML: T,
|
|
40646
40648
|
style: { display: "flex", "align-items": "center" }
|
|
40647
40649
|
}, null, 8, vz)
|
|
40648
40650
|
]),
|
|
40649
|
-
td: Ie(({ td:
|
|
40650
|
-
dt(D(
|
|
40651
|
+
td: Ie(({ td: T }) => [
|
|
40652
|
+
dt(D(T.name || T), 1)
|
|
40651
40653
|
]),
|
|
40652
40654
|
_: 1
|
|
40653
40655
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
40654
40656
|
], 4)) : L("", !0)
|
|
40655
40657
|
], 46, uz));
|
|
40656
40658
|
}
|
|
40657
|
-
}, yz = /* @__PURE__ */ Ut(gz, [["__scopeId", "data-v-ea914357"]]), pz = { class: "vue-ui-element-arrow" }, bz = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], wz = ["d", "fill"], mz = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], Cz = ["d", "fill"], xz = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap", "stroke-dasharray", "marker-end", "marker-start"],
|
|
40659
|
+
}, yz = /* @__PURE__ */ Ut(gz, [["__scopeId", "data-v-ea914357"]]), pz = { class: "vue-ui-element-arrow" }, bz = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], wz = ["d", "fill"], mz = ["id", "viewBox", "refX", "refY", "markerWidth", "markerHeight"], Cz = ["d", "fill"], xz = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-linecap", "stroke-dasharray", "marker-end", "marker-start"], fV = {
|
|
40658
40660
|
__name: "Arrow",
|
|
40659
40661
|
props: {
|
|
40660
40662
|
markerEnd: {
|
|
@@ -40762,15 +40764,15 @@ const kz = ["viewBox"], Bz = { key: 0 }, _z = ["stroke"], Fz = ["stroke"], Sz =
|
|
|
40762
40764
|
},
|
|
40763
40765
|
setup(e) {
|
|
40764
40766
|
const t = e;
|
|
40765
|
-
|
|
40767
|
+
Va((b) => ({
|
|
40766
40768
|
"763df279": A.value,
|
|
40767
40769
|
44404118: v.value,
|
|
40768
40770
|
"648b3701": g.value
|
|
40769
40771
|
}));
|
|
40770
|
-
const l =
|
|
40772
|
+
const l = N(Ft.vue_ui_mini_loader), r = ie(() => Mt({
|
|
40771
40773
|
userConfig: t.config,
|
|
40772
40774
|
defaultConfig: l.value
|
|
40773
|
-
})), o =
|
|
40775
|
+
})), o = N({
|
|
40774
40776
|
onion: "-10 -10 84 84",
|
|
40775
40777
|
line: "-10 -10 112 84",
|
|
40776
40778
|
bar: "-10 -10 106 84"
|
|
@@ -40873,7 +40875,7 @@ const kz = ["viewBox"], Bz = { key: 0 }, _z = ["stroke"], Fz = ["stroke"], Sz =
|
|
|
40873
40875
|
], 8, kz));
|
|
40874
40876
|
}
|
|
40875
40877
|
}, Ez = /* @__PURE__ */ Ut(Mz, [["__scopeId", "data-v-668859ed"]]);
|
|
40876
|
-
function
|
|
40878
|
+
function vV(e) {
|
|
40877
40879
|
return Ft[e];
|
|
40878
40880
|
}
|
|
40879
40881
|
const vd = (e) => (Ao("data-v-5f655d3e"), e = e(), uo(), e), Iz = ["id"], Nz = ["viewBox"], Tz = ["d", "fill", "stroke", "stroke-width", "filter"], Dz = ["id", "fr"], Hz = /* @__PURE__ */ vd(() => /* @__PURE__ */ p("stop", {
|
|
@@ -40909,20 +40911,20 @@ const vd = (e) => (Ao("data-v-5f655d3e"), e = e(), uo(), e), Iz = ["id"], Nz = [
|
|
|
40909
40911
|
emits: ["selectLegend", "selectDatapoint"],
|
|
40910
40912
|
setup(e, { expose: t, emit: l }) {
|
|
40911
40913
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
40912
|
-
|
|
40914
|
+
$t(() => {
|
|
40913
40915
|
Ht(r.dataset) && et({
|
|
40914
40916
|
componentName: "VueUiNestedDonuts",
|
|
40915
40917
|
type: "dataset"
|
|
40916
40918
|
});
|
|
40917
40919
|
});
|
|
40918
|
-
const a =
|
|
40920
|
+
const a = N(Ct()), n = N(Ft.vue_ui_nested_donuts), s = N(!1), A = N(!1), v = N(null), g = N(!1), b = N(""), y = N(null), w = N(0), u = N(!1);
|
|
40919
40921
|
function c(I) {
|
|
40920
40922
|
u.value = I, w.value += 1;
|
|
40921
40923
|
}
|
|
40922
40924
|
const i = ie(() => Mt({
|
|
40923
40925
|
userConfig: r.config,
|
|
40924
40926
|
defaultConfig: n.value
|
|
40925
|
-
})), C =
|
|
40927
|
+
})), C = N({
|
|
40926
40928
|
dataLabels: {
|
|
40927
40929
|
show: i.value.style.chart.layout.labels.dataLabels.show
|
|
40928
40930
|
},
|
|
@@ -40937,7 +40939,7 @@ const vd = (e) => (Ao("data-v-5f655d3e"), e = e(), uo(), e), Iz = ["id"], Nz = [
|
|
|
40937
40939
|
function O({ datapoint: I, index: P }) {
|
|
40938
40940
|
l("selectDatapoint", { datapoint: I, index: P });
|
|
40939
40941
|
}
|
|
40940
|
-
const W =
|
|
40942
|
+
const W = N([]), ae = ie(() => (r.dataset.forEach((I, P) => {
|
|
40941
40943
|
[null, void 0].includes(I.name) && et({
|
|
40942
40944
|
componentName: "VueUiNestedDonuts",
|
|
40943
40945
|
type: "datasetSerieAttribute",
|
|
@@ -41024,7 +41026,7 @@ const vd = (e) => (Ao("data-v-5f655d3e"), e = e(), uo(), e), Iz = ["id"], Nz = [
|
|
|
41024
41026
|
se.value / ae.value.length * i.value.style.chart.layout.donut.spacingRatio
|
|
41025
41027
|
)[0]
|
|
41026
41028
|
};
|
|
41027
|
-
})), ve =
|
|
41029
|
+
})), ve = N(null), z = N(null), V = N(null), Y = N(null);
|
|
41028
41030
|
function de({ datapoint: I, _relativeIndex: P, seriesIndex: j }) {
|
|
41029
41031
|
ve.value = I.arcOfId, z.value = I.id, V.value = j, Y.value = {
|
|
41030
41032
|
datapoint: I,
|
|
@@ -41106,7 +41108,7 @@ const vd = (e) => (Ao("data-v-5f655d3e"), e = e(), uo(), e), Iz = ["id"], Nz = [
|
|
|
41106
41108
|
fontSize: i.value.style.chart.legend.fontSize,
|
|
41107
41109
|
paddingBottom: 12,
|
|
41108
41110
|
fontWeight: i.value.style.chart.legend.bold ? "bold" : ""
|
|
41109
|
-
})), X =
|
|
41111
|
+
})), X = N(null);
|
|
41110
41112
|
function te() {
|
|
41111
41113
|
s.value = !0;
|
|
41112
41114
|
}
|
|
@@ -41472,7 +41474,7 @@ const nR = ["viewBox"], sR = ["id"], iR = ["stop-color"], AR = ["stop-color"], u
|
|
|
41472
41474
|
},
|
|
41473
41475
|
setup(e) {
|
|
41474
41476
|
const t = e, l = ie(() => !!t.dataset && Object.keys(t.dataset).length);
|
|
41475
|
-
|
|
41477
|
+
$t(() => {
|
|
41476
41478
|
Ht(t.dataset) ? et({
|
|
41477
41479
|
componentName: "VueUiSparkgauge",
|
|
41478
41480
|
type: "dataset"
|
|
@@ -41487,7 +41489,7 @@ const nR = ["viewBox"], sR = ["id"], iR = ["stop-color"], AR = ["stop-color"], u
|
|
|
41487
41489
|
});
|
|
41488
41490
|
});
|
|
41489
41491
|
});
|
|
41490
|
-
const r =
|
|
41492
|
+
const r = N(Ct()), o = N(Ft.vue_ui_sparkgauge), a = ie(() => Mt({
|
|
41491
41493
|
userConfig: t.config,
|
|
41492
41494
|
defaultConfig: o.value
|
|
41493
41495
|
})), n = ie(() => ({
|
|
@@ -41501,8 +41503,8 @@ const nR = ["viewBox"], sR = ["id"], iR = ["stop-color"], AR = ["stop-color"], u
|
|
|
41501
41503
|
max: C,
|
|
41502
41504
|
diff: F
|
|
41503
41505
|
};
|
|
41504
|
-
}), A =
|
|
41505
|
-
|
|
41506
|
+
}), A = N(a.value.style.animation.show ? s.value.min : t.dataset.value), v = ie(() => A.value > s.value.max ? s.value.max : A.value < s.value.min ? s.value.min : A.value), g = ie(() => s.value.diff / a.value.style.animation.speedMs);
|
|
41507
|
+
$t(() => {
|
|
41506
41508
|
function i() {
|
|
41507
41509
|
A.value += g.value, A.value < t.dataset.value ? requestAnimationFrame(i) : A.value = t.dataset.value;
|
|
41508
41510
|
}
|
|
@@ -41607,7 +41609,7 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41607
41609
|
emits: ["selectLegend", "selectDatapoint"],
|
|
41608
41610
|
setup(e, { expose: t, emit: l }) {
|
|
41609
41611
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
41610
|
-
|
|
41612
|
+
$t(() => {
|
|
41611
41613
|
Ht(r.dataset) ? et({
|
|
41612
41614
|
componentName: "VueUiGalaxy",
|
|
41613
41615
|
type: "dataset"
|
|
@@ -41625,21 +41627,21 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41625
41627
|
});
|
|
41626
41628
|
});
|
|
41627
41629
|
});
|
|
41628
|
-
const a =
|
|
41630
|
+
const a = N(Ct()), n = N(Ft.vue_ui_galaxy), s = N(!1), A = N(!1), v = N(null), g = N(null), b = N(!1), y = N(""), w = N(null), u = N(0), c = ie(() => Mt({
|
|
41629
41631
|
userConfig: r.config,
|
|
41630
41632
|
defaultConfig: n.value
|
|
41631
|
-
})), i =
|
|
41633
|
+
})), i = N({
|
|
41632
41634
|
dataLabels: {
|
|
41633
41635
|
show: c.value.style.chart.layout.labels.dataLabels.show
|
|
41634
41636
|
},
|
|
41635
41637
|
showTable: c.value.table.show
|
|
41636
41638
|
});
|
|
41637
41639
|
ie(() => `${c.value.style.chart.layout.arcs.gradient.intensity}%`);
|
|
41638
|
-
const C =
|
|
41640
|
+
const C = N({
|
|
41639
41641
|
height: 180,
|
|
41640
41642
|
// or 250 if non fibo
|
|
41641
41643
|
width: 250
|
|
41642
|
-
}), F =
|
|
41644
|
+
}), F = N([]);
|
|
41643
41645
|
function k(U) {
|
|
41644
41646
|
F.value.includes(U.id) ? F.value = F.value.filter((S) => S !== U.id) : F.value.push(U.id), l("selectLegend", ye.value.map((S) => ({
|
|
41645
41647
|
name: S.name,
|
|
@@ -41662,7 +41664,7 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41662
41664
|
value: U.value
|
|
41663
41665
|
}));
|
|
41664
41666
|
}
|
|
41665
|
-
const ae = ie(() => O.value.filter((U) => !F.value.includes(U.id)).map((U) => U.value).reduce((U, S) => U + S, 0)), se =
|
|
41667
|
+
const ae = ie(() => O.value.filter((U) => !F.value.includes(U.id)).map((U) => U.value).reduce((U, S) => U + S, 0)), se = N(190), J = ie(() => O.value.filter((U) => !F.value.includes(U.id))), ye = ie(() => {
|
|
41666
41668
|
const U = [];
|
|
41667
41669
|
for (let S = 0; S < J.value.length; S += 1) {
|
|
41668
41670
|
const $ = J.value[S];
|
|
@@ -41680,11 +41682,11 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41680
41682
|
});
|
|
41681
41683
|
}
|
|
41682
41684
|
return U.filter((S, $) => !F.value.includes(S.id)).toSorted((S, $) => $.points - S.points);
|
|
41683
|
-
}), ve =
|
|
41685
|
+
}), ve = N(!1);
|
|
41684
41686
|
function z(U) {
|
|
41685
41687
|
ve.value = U, u.value += 1;
|
|
41686
41688
|
}
|
|
41687
|
-
const V =
|
|
41689
|
+
const V = N(null);
|
|
41688
41690
|
function Y({ datapoint: U, _relativeIndex: S, seriesIndex: $, show: K = !1 }) {
|
|
41689
41691
|
V.value = {
|
|
41690
41692
|
datapoint: U,
|
|
@@ -41718,7 +41720,7 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41718
41720
|
fontSize: c.value.style.chart.legend.fontSize,
|
|
41719
41721
|
paddingBottom: 12,
|
|
41720
41722
|
fontWeight: c.value.style.chart.legend.bold ? "bold" : ""
|
|
41721
|
-
})), _e =
|
|
41723
|
+
})), _e = N(null);
|
|
41722
41724
|
function ne() {
|
|
41723
41725
|
s.value = !0;
|
|
41724
41726
|
}
|
|
@@ -41994,11 +41996,11 @@ const fR = ["id"], vR = ["viewBox"], gR = ["d", "stroke", "stroke-width"], yR =
|
|
|
41994
41996
|
}
|
|
41995
41997
|
},
|
|
41996
41998
|
setup(e) {
|
|
41997
|
-
const t = e, l =
|
|
41999
|
+
const t = e, l = N(Ft.vue_ui_kpi), r = ie(() => Mt({
|
|
41998
42000
|
userConfig: t.config,
|
|
41999
42001
|
defaultConfig: l.value
|
|
42000
|
-
})), o =
|
|
42001
|
-
return
|
|
42002
|
+
})), o = N((typeof t.dataset == "number", t.dataset)), a = N(r.value.useAnimation ? r.value.animationValueStart : o.value);
|
|
42003
|
+
return $t(() => {
|
|
42002
42004
|
const n = r.value.animationFrames, s = t.dataset / n;
|
|
42003
42005
|
function A() {
|
|
42004
42006
|
a.value += s, a.value < t.dataset ? requestAnimationFrame(A) : a.value = t.dataset;
|
|
@@ -42209,16 +42211,16 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42209
42211
|
emits: ["selectLegend", "selectDatapoint"],
|
|
42210
42212
|
setup(e, { expose: t, emit: l }) {
|
|
42211
42213
|
const r = e, o = ie(() => !!r.dataset && r.dataset.length);
|
|
42212
|
-
|
|
42214
|
+
$t(() => {
|
|
42213
42215
|
Ht(r.dataset) && et({
|
|
42214
42216
|
componentName: "VueUiTreemap",
|
|
42215
42217
|
type: "dataset"
|
|
42216
42218
|
});
|
|
42217
42219
|
});
|
|
42218
|
-
const a =
|
|
42220
|
+
const a = N(Ct()), n = N(Ft.vue_ui_treemap), s = N(!1), A = N(!1), v = N(null), g = N(!1), b = N(""), y = N(!1), w = N(0), u = N([]), c = ie(() => Mt({
|
|
42219
42221
|
userConfig: r.config,
|
|
42220
42222
|
defaultConfig: n.value
|
|
42221
|
-
})), i =
|
|
42223
|
+
})), i = N({
|
|
42222
42224
|
showTable: c.value.table.show
|
|
42223
42225
|
}), C = ie(() => ({
|
|
42224
42226
|
bottom: c.value.style.chart.height - c.value.style.chart.padding.bottom,
|
|
@@ -42231,40 +42233,40 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42231
42233
|
width: c.value.style.chart.width - c.value.style.chart.padding.left - c.value.style.chart.padding.right
|
|
42232
42234
|
}));
|
|
42233
42235
|
function F(M) {
|
|
42234
|
-
M.forEach((
|
|
42235
|
-
|
|
42236
|
-
ue.parentId =
|
|
42237
|
-
}), F(
|
|
42236
|
+
M.forEach((T, ee) => {
|
|
42237
|
+
T.id = Ct(), T.color = mt(T.color) || Ye[ee] || Ye[ee % Ye.length], T.children && (T.children.forEach((ue) => {
|
|
42238
|
+
ue.parentId = T.id, ue.color = T.color;
|
|
42239
|
+
}), F(T.children));
|
|
42238
42240
|
});
|
|
42239
42241
|
}
|
|
42240
|
-
const k =
|
|
42241
|
-
|
|
42242
|
+
const k = N(r.dataset);
|
|
42243
|
+
$t(() => {
|
|
42242
42244
|
F(k.value);
|
|
42243
42245
|
});
|
|
42244
|
-
const O =
|
|
42246
|
+
const O = N(k.value), W = ie(() => O.value.map((M, T) => ({
|
|
42245
42247
|
...M,
|
|
42246
|
-
color: mt(M.color) || Ye[
|
|
42247
|
-
})).filter((M) => !u.value.includes(M.id))), ae = ie(() => k.value.filter((M) => !u.value.includes(M.id)).map((M) => M.value || 0).reduce((M,
|
|
42248
|
+
color: mt(M.color) || Ye[T] || Ye[T % Ye.length]
|
|
42249
|
+
})).filter((M) => !u.value.includes(M.id))), ae = ie(() => k.value.filter((M) => !u.value.includes(M.id)).map((M) => M.value || 0).reduce((M, T) => M + T, 0)), se = ie({
|
|
42248
42250
|
get() {
|
|
42249
42251
|
let M = [...W.value];
|
|
42250
|
-
return c.value.style.chart.layout.sorted && (M = [...W.value].sort((
|
|
42251
|
-
...
|
|
42252
|
+
return c.value.style.chart.layout.sorted && (M = [...W.value].sort((T, ee) => ee.value - T.value)), M.map((T) => ({
|
|
42253
|
+
...T
|
|
42252
42254
|
}));
|
|
42253
42255
|
},
|
|
42254
42256
|
set(M) {
|
|
42255
42257
|
return M;
|
|
42256
42258
|
}
|
|
42257
42259
|
});
|
|
42258
|
-
function J(M,
|
|
42259
|
-
return M.value /
|
|
42260
|
+
function J(M, T) {
|
|
42261
|
+
return M.value / T;
|
|
42260
42262
|
}
|
|
42261
|
-
function ye(M,
|
|
42262
|
-
const ue = c.value.style.chart.layout.rects.colorRatio - J(
|
|
42263
|
+
function ye(M, T, ee) {
|
|
42264
|
+
const ue = c.value.style.chart.layout.rects.colorRatio - J(T, ee);
|
|
42263
42265
|
return Xo(M, ue < 0 ? 0 : ue);
|
|
42264
42266
|
}
|
|
42265
|
-
function ve(M,
|
|
42267
|
+
function ve(M, T, ee, ue) {
|
|
42266
42268
|
return M.map((R, me) => {
|
|
42267
|
-
const Fe = ye(mt(
|
|
42269
|
+
const Fe = ye(mt(T) || Ye[me] || Ye[me % Ye.length], R, ue), ke = J(R, ue);
|
|
42268
42270
|
return {
|
|
42269
42271
|
...R,
|
|
42270
42272
|
color: Fe,
|
|
@@ -42275,7 +42277,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42275
42277
|
});
|
|
42276
42278
|
}
|
|
42277
42279
|
const z = ie(() => LR(
|
|
42278
|
-
se.value.map((M,
|
|
42280
|
+
se.value.map((M, T) => {
|
|
42279
42281
|
const ee = M.children ? M.children.reduce((ue, R) => ue + R.value, 0) : M.value;
|
|
42280
42282
|
return {
|
|
42281
42283
|
value: M.value,
|
|
@@ -42287,17 +42289,17 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42287
42289
|
}),
|
|
42288
42290
|
{ x0: C.value.left * 2, y0: C.value.top, x1: C.value.width, y1: C.value.height }
|
|
42289
42291
|
));
|
|
42290
|
-
function V({ y0: M, y1:
|
|
42291
|
-
return
|
|
42292
|
+
function V({ y0: M, y1: T }) {
|
|
42293
|
+
return T - M;
|
|
42292
42294
|
}
|
|
42293
|
-
function Y({ x0: M, x1:
|
|
42294
|
-
return
|
|
42295
|
+
function Y({ x0: M, x1: T }) {
|
|
42296
|
+
return T - M;
|
|
42295
42297
|
}
|
|
42296
42298
|
function de(M) {
|
|
42297
|
-
const
|
|
42298
|
-
return
|
|
42299
|
+
const T = c.value.style.chart.layout.labels.fontSize * (M.proportion * 2 > 1 ? 1 : M.proportion * 2);
|
|
42300
|
+
return T < c.value.style.chart.layout.labels.minFontSize ? c.value.style.chart.layout.labels.minFontSize : T;
|
|
42299
42301
|
}
|
|
42300
|
-
const we =
|
|
42302
|
+
const we = N(null);
|
|
42301
42303
|
function _e() {
|
|
42302
42304
|
s.value = !0;
|
|
42303
42305
|
}
|
|
@@ -42328,14 +42330,14 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42328
42330
|
function te(M) {
|
|
42329
42331
|
y.value = M, w.value += 1;
|
|
42330
42332
|
}
|
|
42331
|
-
const re =
|
|
42333
|
+
const re = N({
|
|
42332
42334
|
startX: 0,
|
|
42333
42335
|
startY: 0,
|
|
42334
42336
|
width: C.value.vbWidth,
|
|
42335
42337
|
height: C.value.vbHeight
|
|
42336
|
-
}), _ =
|
|
42337
|
-
function Q(M,
|
|
42338
|
-
for (const ee of
|
|
42338
|
+
}), _ = N(!1);
|
|
42339
|
+
function Q(M, T = k.value) {
|
|
42340
|
+
for (const ee of T) {
|
|
42339
42341
|
if (ee.id === M)
|
|
42340
42342
|
return ee;
|
|
42341
42343
|
if (ee.children) {
|
|
@@ -42349,11 +42351,11 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42349
42351
|
function U(M) {
|
|
42350
42352
|
_.value ? (l("selectDatapoint", void 0), O.value = k.value) : (l("selectDatapoint", M), O.value = [Q(M.parentId)]), _.value = !_.value;
|
|
42351
42353
|
}
|
|
42352
|
-
const S =
|
|
42354
|
+
const S = N(null), $ = ie(() => k.value.map((M, T) => ({
|
|
42353
42355
|
...M,
|
|
42354
|
-
color: mt(M.color) || Ye[
|
|
42356
|
+
color: mt(M.color) || Ye[T] || Ye[T % Ye.length],
|
|
42355
42357
|
shape: "square"
|
|
42356
|
-
})).sort((M,
|
|
42358
|
+
})).sort((M, T) => T.value - M.value).map((M, T) => ({
|
|
42357
42359
|
...M,
|
|
42358
42360
|
proportion: M.value / k.value.map((ee) => ee.value).reduce((ee, ue) => ee + ue, 0),
|
|
42359
42361
|
opacity: u.value.includes(M.id) ? 0.5 : 1
|
|
@@ -42366,20 +42368,20 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42366
42368
|
fontWeight: c.value.style.chart.legend.bold ? "bold" : ""
|
|
42367
42369
|
}));
|
|
42368
42370
|
function I(M) {
|
|
42369
|
-
_.value = !1, S.value = null, u.value.includes(M.id) ? u.value = u.value.filter((
|
|
42371
|
+
_.value = !1, S.value = null, u.value.includes(M.id) ? u.value = u.value.filter((T) => T !== M.id) : u.value.length < r.dataset.length - 1 && u.value.push(M.id), l("selectLegend", se.value);
|
|
42370
42372
|
}
|
|
42371
|
-
const P =
|
|
42372
|
-
function j({ datapoint: M, seriesIndex:
|
|
42373
|
-
S.value = M, P.value = { datapoint: M, seriesIndex:
|
|
42373
|
+
const P = N(null);
|
|
42374
|
+
function j({ datapoint: M, seriesIndex: T }) {
|
|
42375
|
+
S.value = M, P.value = { datapoint: M, seriesIndex: T, config: c.value, series: W.value };
|
|
42374
42376
|
const ee = c.value.style.chart.tooltip.customFormat;
|
|
42375
42377
|
if (Ml(ee) && ca(() => ee({
|
|
42376
|
-
seriesIndex:
|
|
42378
|
+
seriesIndex: T,
|
|
42377
42379
|
datapoint: M,
|
|
42378
42380
|
series: W.value,
|
|
42379
42381
|
config: c.value
|
|
42380
42382
|
})))
|
|
42381
42383
|
b.value = ee({
|
|
42382
|
-
seriesIndex:
|
|
42384
|
+
seriesIndex: T,
|
|
42383
42385
|
datapoint: M,
|
|
42384
42386
|
series: W.value,
|
|
42385
42387
|
config: c.value
|
|
@@ -42394,14 +42396,14 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42394
42396
|
const M = z.value.map((ee) => ({
|
|
42395
42397
|
name: ee.name,
|
|
42396
42398
|
color: ee.color
|
|
42397
|
-
})),
|
|
42398
|
-
return { head: M, body:
|
|
42399
|
+
})), T = z.value.map((ee) => ee.value);
|
|
42400
|
+
return { head: M, body: T };
|
|
42399
42401
|
});
|
|
42400
42402
|
function fe() {
|
|
42401
42403
|
fl(() => {
|
|
42402
42404
|
const M = q.value.head.map((ue, R) => [[
|
|
42403
42405
|
ue.name
|
|
42404
|
-
], [q.value.body[R]], [isNaN(q.value.body[R] / ae.value) ? "-" : q.value.body[R] / ae.value * 100]]),
|
|
42406
|
+
], [q.value.body[R]], [isNaN(q.value.body[R] / ae.value) ? "-" : q.value.body[R] / ae.value * 100]]), T = [[c.value.style.chart.title.text], [c.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(M), ee = yl(T);
|
|
42405
42407
|
gl({ csvContent: ee, title: c.value.style.chart.title.text || "vue-ui-treemap" });
|
|
42406
42408
|
});
|
|
42407
42409
|
}
|
|
@@ -42410,7 +42412,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42410
42412
|
c.value.table.columnNames.series,
|
|
42411
42413
|
c.value.table.columnNames.value,
|
|
42412
42414
|
c.value.table.columnNames.percentage
|
|
42413
|
-
],
|
|
42415
|
+
], T = q.value.head.map((R, me) => {
|
|
42414
42416
|
const Fe = ft({ p: c.value.style.chart.layout.labels.prefix, v: q.value.body[me], s: c.value.style.chart.layout.labels.suffix, r: c.value.table.td.roundingValue });
|
|
42415
42417
|
return [
|
|
42416
42418
|
{
|
|
@@ -42440,7 +42442,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42440
42442
|
c.value.table.columnNames.value
|
|
42441
42443
|
],
|
|
42442
42444
|
head: M,
|
|
42443
|
-
body:
|
|
42445
|
+
body: T,
|
|
42444
42446
|
config: ee
|
|
42445
42447
|
};
|
|
42446
42448
|
});
|
|
@@ -42452,7 +42454,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42452
42454
|
generateCsv: fe,
|
|
42453
42455
|
generateImage: X,
|
|
42454
42456
|
generatePdf: ne
|
|
42455
|
-
}), (M,
|
|
42457
|
+
}), (M, T) => (d(), f("div", {
|
|
42456
42458
|
ref_key: "treemapChart",
|
|
42457
42459
|
ref: v,
|
|
42458
42460
|
class: He(`vue-ui-treemap ${y.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${c.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -42495,7 +42497,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42495
42497
|
hasFullscreen: "",
|
|
42496
42498
|
isFullscreen: y.value,
|
|
42497
42499
|
chartElement: v.value,
|
|
42498
|
-
onToggleTable:
|
|
42500
|
+
onToggleTable: T[0] || (T[0] = (ee) => i.value.showTable = !i.value.showTable),
|
|
42499
42501
|
onToggleFullscreen: te,
|
|
42500
42502
|
onGeneratePdf: ne,
|
|
42501
42503
|
onGenerateCsv: fe,
|
|
@@ -42539,7 +42541,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42539
42541
|
datapoint: ee,
|
|
42540
42542
|
seriesIndex: ue
|
|
42541
42543
|
}),
|
|
42542
|
-
onMouseleave:
|
|
42544
|
+
onMouseleave: T[1] || (T[1] = (R) => {
|
|
42543
42545
|
S.value = null, g.value = !1;
|
|
42544
42546
|
}),
|
|
42545
42547
|
style: H(`opacity:${S.value ? S.value.id === ee.id ? 1 : c.value.style.chart.layout.rects.selected.unselectedOpacity : 1}`),
|
|
@@ -42600,7 +42602,7 @@ const IR = (e) => (Ao("data-v-9482fabc"), e = e(), uo(), e), NR = ["id"], TR = [
|
|
|
42600
42602
|
legendSet: $.value,
|
|
42601
42603
|
config: K.value,
|
|
42602
42604
|
id: `treemap_legend_${a.value}`,
|
|
42603
|
-
onClickMarker:
|
|
42605
|
+
onClickMarker: T[2] || (T[2] = ({ legend: ee }) => I(ee))
|
|
42604
42606
|
}, {
|
|
42605
42607
|
item: Ie(({ legend: ee, index: ue }) => [
|
|
42606
42608
|
p("div", {
|
|
@@ -42682,15 +42684,15 @@ const JR = ["id"], ZR = { role: "cell" }, eV = { role: "row" }, tV = ["data-cell
|
|
|
42682
42684
|
},
|
|
42683
42685
|
setup(e, { expose: t }) {
|
|
42684
42686
|
const l = e;
|
|
42685
|
-
|
|
42687
|
+
Va((z) => ({
|
|
42686
42688
|
c905d5a4: k.value,
|
|
42687
42689
|
f7c565ee: F.value
|
|
42688
42690
|
}));
|
|
42689
|
-
const r =
|
|
42691
|
+
const r = N(Ct()), o = N(Ft.vue_ui_table_heatmap), a = N(!1), n = N(null), s = N(!1), A = N(!1), v = N(!1), g = N(0), b = ie(() => Mt({
|
|
42690
42692
|
userConfig: l.config,
|
|
42691
42693
|
defaultConfig: o.value
|
|
42692
42694
|
})), y = ie(() => b.value.table.responsiveBreakpoint), w = ie(() => !!l.dataset && l.dataset.length);
|
|
42693
|
-
|
|
42695
|
+
$t(() => {
|
|
42694
42696
|
Ht(l.dataset) && et({
|
|
42695
42697
|
componentName: "VueUiTableHeatmap",
|
|
42696
42698
|
type: "dataset"
|
|
@@ -42731,7 +42733,7 @@ const JR = ["id"], ZR = { role: "cell" }, eV = { role: "row" }, tV = ["data-cell
|
|
|
42731
42733
|
const C = ie(() => u.value.map((z) => ({
|
|
42732
42734
|
...z,
|
|
42733
42735
|
colors: z.displayValues.map((V) => isNaN(V) ? b.value.style.backgroundColor : i(V, z.serieExtremes))
|
|
42734
|
-
}))), F = ie(() => b.value.style.backgroundColor), k = ie(() => `${b.value.table.borderWidth}px`), O =
|
|
42736
|
+
}))), F = ie(() => b.value.style.backgroundColor), k = ie(() => `${b.value.table.borderWidth}px`), O = N(null);
|
|
42735
42737
|
function W() {
|
|
42736
42738
|
s.value = !0;
|
|
42737
42739
|
}
|
|
@@ -42843,7 +42845,7 @@ const JR = ["id"], ZR = { role: "cell" }, eV = { role: "row" }, tV = ["data-cell
|
|
|
42843
42845
|
], 14, JR));
|
|
42844
42846
|
}
|
|
42845
42847
|
}, nV = /* @__PURE__ */ Ut(rV, [["__scopeId", "data-v-189b5a71"]]);
|
|
42846
|
-
const sV = { class: "vue-ui-accordion-arrow" },
|
|
42848
|
+
const sV = ["id"], iV = { class: "vue-ui-accordion-arrow" }, AV = {
|
|
42847
42849
|
__name: "vue-ui-accordion",
|
|
42848
42850
|
props: {
|
|
42849
42851
|
config: {
|
|
@@ -42854,40 +42856,56 @@ const sV = { class: "vue-ui-accordion-arrow" }, iV = {
|
|
|
42854
42856
|
}
|
|
42855
42857
|
},
|
|
42856
42858
|
setup(e) {
|
|
42857
|
-
const t = e
|
|
42859
|
+
const t = e;
|
|
42860
|
+
Va((g) => ({
|
|
42861
|
+
ecbee276: v.value
|
|
42862
|
+
}));
|
|
42863
|
+
const l = N(Ft.vue_ui_accordion), r = ie(() => Mt({
|
|
42858
42864
|
userConfig: t.config,
|
|
42859
42865
|
defaultConfig: l.value
|
|
42860
|
-
}));
|
|
42861
|
-
|
|
42862
|
-
|
|
42866
|
+
})), o = N(t.config.open), a = N(Ct()), n = N(null), s = N(0);
|
|
42867
|
+
$t(() => {
|
|
42868
|
+
n.value.open = r.value.open;
|
|
42869
|
+
});
|
|
42870
|
+
function A() {
|
|
42871
|
+
(s.value > 0 || !r.value.open) && (o.value = !o.value), s.value += 1;
|
|
42872
|
+
}
|
|
42873
|
+
const v = ie(() => `${r.value.maxHeight}px`);
|
|
42874
|
+
return (g, b) => (d(), f(Ce, null, [
|
|
42875
|
+
p("details", {
|
|
42876
|
+
id: `details_${a.value}`,
|
|
42877
|
+
ref_key: "details",
|
|
42878
|
+
ref: n,
|
|
42879
|
+
onToggle: A
|
|
42880
|
+
}, [
|
|
42863
42881
|
p("summary", null, [
|
|
42864
42882
|
p("div", {
|
|
42865
42883
|
class: "vue-ui-accordion-head",
|
|
42866
42884
|
style: H(`background:${r.value.head.backgroundColor};padding:${r.value.head.padding};`)
|
|
42867
42885
|
}, [
|
|
42868
|
-
p("div",
|
|
42869
|
-
r.value.head.useArrowSlot ? Me(
|
|
42886
|
+
p("div", iV, [
|
|
42887
|
+
r.value.head.useArrowSlot ? Me(g.$slots, "arrow", Ze(Cc({ key: 0 }, { backgroundColor: r.value.head.backgroundColor, color: r.value.head.color, iconColor: r.value.head.iconColor, isOpen: o.value })), void 0, !0) : (d(), ze(Al, {
|
|
42870
42888
|
key: 1,
|
|
42871
42889
|
name: "arrowRight",
|
|
42872
42890
|
stroke: r.value.head.iconColor
|
|
42873
42891
|
}, null, 8, ["stroke"]))
|
|
42874
42892
|
]),
|
|
42875
|
-
Me(
|
|
42893
|
+
Me(g.$slots, "title", Ze(tt({ color: r.value.head.color, isOpen: o.value })), void 0, !0)
|
|
42876
42894
|
], 4)
|
|
42877
42895
|
])
|
|
42878
|
-
]),
|
|
42896
|
+
], 40, sV),
|
|
42879
42897
|
p("div", {
|
|
42880
42898
|
class: "vue-ui-accordion-content",
|
|
42881
42899
|
style: H(`background:${r.value.body.backgroundColor};color:${r.value.body.color}`)
|
|
42882
42900
|
}, [
|
|
42883
|
-
Me(
|
|
42901
|
+
Me(g.$slots, "content", Ze(tt({ backgroundColor: r.value.body.backgroundColor, color: r.value.body.color, isOpen: o.value })), void 0, !0)
|
|
42884
42902
|
], 4)
|
|
42885
42903
|
], 64));
|
|
42886
42904
|
}
|
|
42887
|
-
},
|
|
42905
|
+
}, uV = /* @__PURE__ */ Ut(AV, [["__scopeId", "data-v-a45ccdb0"]]), cV = {
|
|
42888
42906
|
key: 0,
|
|
42889
42907
|
style: { width: "100%", display: "flex", gap: "6px", "align-items": "center", color: "#FF0000" }
|
|
42890
|
-
},
|
|
42908
|
+
}, dV = { style: { width: "36px" } }, gV = {
|
|
42891
42909
|
__name: "vue-data-ui",
|
|
42892
42910
|
props: {
|
|
42893
42911
|
component: { type: String },
|
|
@@ -42911,8 +42929,8 @@ const sV = { class: "vue-ui-accordion-arrow" }, iV = {
|
|
|
42911
42929
|
"selectX"
|
|
42912
42930
|
],
|
|
42913
42931
|
setup(e, { expose: t, emit: l }) {
|
|
42914
|
-
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"].includes(r.component)), a =
|
|
42915
|
-
return
|
|
42932
|
+
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"].includes(r.component)), a = N(null), n = N(null), s = N(null), A = N(null), v = N(null), g = N(null), b = N(null), y = N(null), w = N(null), u = N(null), c = N(null), i = N(null), C = N(null), F = N(null), k = N(null), O = N(null), W = N(null), ae = N(null), se = N(null), J = N(null), ye = N(null), ve = N(null), z = N(null), V = N(null), Y = N(null), de = N(null), we = N(null), _e = N(null), ne = N(null), G = N(null), X = N(null), te = N(null), re = N(null), _ = N(null), Q = N(null), U = N(null), S = N(null), $ = N(null), K = N(null), I = N(null), P = N(null), j = N(null), q = N(() => null), fe = N(() => null), Z = N(() => null), pe = N(() => null), M = N(() => null), T = N(() => null), ee = N(() => null), ue = N(() => null), R = N(() => null), me = N(() => null);
|
|
42933
|
+
return $t(() => {
|
|
42916
42934
|
if (o.value)
|
|
42917
42935
|
throw new Error(`
|
|
42918
42936
|
|
|
@@ -42964,21 +42982,21 @@ Available components:
|
|
|
42964
42982
|
. VueUiXy
|
|
42965
42983
|
|
|
42966
42984
|
`);
|
|
42967
|
-
j.value && (fe.value = j.value.generatePdf, Z.value = j.value.generateCsv, pe.value = j.value.generateImage), a.value && (fe.value = a.value.generatePdf, pe.value = a.value.generateImage), n.value && (fe.value = n.value.generatePdf, Z.value = n.value.generateCsv, pe.value = n.value.generateImage), A.value && (fe.value = A.value.generatePdf, Z.value = A.value.generateCsv, pe.value = A.value.generateImage), v.value && (q.value = v.value.getData, fe.value = v.value.generatePdf, Z.value = v.value.generateCsv, pe.value = v.value.generateImage), g.value && (M.value = g.value.getItemsPositions, fe.value = g.value.generatePdf), w.value && (q.value = w.value.getData, fe.value = w.value.generatePdf, Z.value = w.value.generateCsv, pe.value = w.value.generateImage), y.value && (q.value = y.value.getData, fe.value = y.value.generatePdf, Z.value = y.value.generateCsv, pe.value = y.value.generateImage), u.value && (q.value = u.value.getData, fe.value = u.value.generatePdf, Z.value = u.value.generateCsv, pe.value = u.value.generateImage), c.value && (fe.value = c.value.generatePdf, pe.value = c.value.generateImage), i.value && (fe.value = i.value.generatePdf, Z.value = i.value.generateCsv, pe.value = i.value.generateImage), k.value && (q.value = k.value.getData, fe.value = k.value.generatePdf, Z.value = k.value.generateCsv, pe.value = k.value.generateImage), O.value && (q.value = O.value.getData, fe.value = O.value.generatePdf, Z.value = O.value.generateCsv, pe.value = O.value.generateImage), W.value && (q.value = W.value.getData, fe.value = W.value.generatePdf, Z.value = W.value.generateCsv, pe.value = W.value.generateImage), ae.value && (q.value = ae.value.getData, fe.value = ae.value.generatePdf, Z.value = ae.value.generateCsv, pe.value = ae.value.generateImage), se.value && (q.value = se.value.getData, fe.value = se.value.generatePdf, Z.value = se.value.generateCsv, pe.value = se.value.generateImage), J.value && (q.value = J.value.getData, fe.value = J.value.generatePdf, Z.value = J.value.generateCsv, pe.value = J.value.generateImage), ye.value && (q.value = ye.value.getData,
|
|
42985
|
+
j.value && (fe.value = j.value.generatePdf, Z.value = j.value.generateCsv, pe.value = j.value.generateImage), a.value && (fe.value = a.value.generatePdf, pe.value = a.value.generateImage), n.value && (fe.value = n.value.generatePdf, Z.value = n.value.generateCsv, pe.value = n.value.generateImage), A.value && (fe.value = A.value.generatePdf, Z.value = A.value.generateCsv, pe.value = A.value.generateImage), v.value && (q.value = v.value.getData, fe.value = v.value.generatePdf, Z.value = v.value.generateCsv, pe.value = v.value.generateImage), g.value && (M.value = g.value.getItemsPositions, fe.value = g.value.generatePdf), w.value && (q.value = w.value.getData, fe.value = w.value.generatePdf, Z.value = w.value.generateCsv, pe.value = w.value.generateImage), y.value && (q.value = y.value.getData, fe.value = y.value.generatePdf, Z.value = y.value.generateCsv, pe.value = y.value.generateImage), u.value && (q.value = u.value.getData, fe.value = u.value.generatePdf, Z.value = u.value.generateCsv, pe.value = u.value.generateImage), c.value && (fe.value = c.value.generatePdf, pe.value = c.value.generateImage), i.value && (fe.value = i.value.generatePdf, Z.value = i.value.generateCsv, pe.value = i.value.generateImage), k.value && (q.value = k.value.getData, fe.value = k.value.generatePdf, Z.value = k.value.generateCsv, pe.value = k.value.generateImage), O.value && (q.value = O.value.getData, fe.value = O.value.generatePdf, Z.value = O.value.generateCsv, pe.value = O.value.generateImage), W.value && (q.value = W.value.getData, fe.value = W.value.generatePdf, Z.value = W.value.generateCsv, pe.value = W.value.generateImage), ae.value && (q.value = ae.value.getData, fe.value = ae.value.generatePdf, Z.value = ae.value.generateCsv, pe.value = ae.value.generateImage), se.value && (q.value = se.value.getData, fe.value = se.value.generatePdf, Z.value = se.value.generateCsv, pe.value = se.value.generateImage), J.value && (q.value = J.value.getData, fe.value = J.value.generatePdf, Z.value = J.value.generateCsv, pe.value = J.value.generateImage), ye.value && (q.value = ye.value.getData, T.value = ye.value.toggleReadonly), ve.value && (fe.value = ve.value.generatePdf, pe.value = ve.value.generateImage), z.value && (q.value = z.value.getData, fe.value = z.value.generatePdf, Z.value = z.value.generateCsv, pe.value = z.generateImage), V.value && (q.value = V.value.getData, fe.value = V.value.generatePdf, Z.value = V.value.generateCsv, pe.value = V.value.generateImage), Y.value && (ee.value = Y.value.shoot, ue.value = Y.value.close), we.value && (q.value = we.value.getData, T.value = we.value.toggleReadonly), _.value && (fe.value = _.value.generatePdf, Z.value = _.value.generateCsv, pe.value = _.value.generateImage, R.value = _.value.restoreOrder), Q.value && (fe.value = Q.value.generatePdf, pe.value = Q.value.generateImage), U.value && (fe.value = U.value.generatePdf, pe.value = U.value.generateImage), S.value && (q.value = S.value.getData, fe.value = S.value.generatePdf, Z.value = S.value.generateCsv, pe.value = S.value.generateImage), $.value && (q.value = $.value.getData, me.value = $.value.recalculateHeight, fe.value = $.value.generatePdf, Z.value = $.value.generateCsv, pe.value = $.value.generateImage), K.value && (q.value = K.value.getData, fe.value = K.value.generatePdf, Z.value = K.value.generateCsv, pe.value = K.value.generateImage), I.value && (fe.value = I.value.generatePdf, pe.value = I.value.generateImage), P.value && (q.value = P.value.getData, fe.value = P.value.generatePdf, Z.value = P.generateCsv, pe.value = P.generateImage);
|
|
42968
42986
|
}), t({
|
|
42969
42987
|
getData: q,
|
|
42970
42988
|
generatePdf: fe,
|
|
42971
42989
|
generateCsv: Z,
|
|
42972
42990
|
generateImage: pe,
|
|
42973
42991
|
getItemsPositions: M,
|
|
42974
|
-
toggleReadonly:
|
|
42992
|
+
toggleReadonly: T,
|
|
42975
42993
|
shoot: ee,
|
|
42976
42994
|
close: ue,
|
|
42977
42995
|
restoreOrder: R,
|
|
42978
42996
|
recalculateHeight: me
|
|
42979
42997
|
}), (Fe, ke) => (d(), f(Ce, null, [
|
|
42980
|
-
o.value ? (d(), f("div",
|
|
42981
|
-
p("div",
|
|
42998
|
+
o.value ? (d(), f("div", cV, [
|
|
42999
|
+
p("div", dV, [
|
|
42982
43000
|
ot(Al, {
|
|
42983
43001
|
name: "moodFlat",
|
|
42984
43002
|
stroke: "#FF0000"
|
|
@@ -42986,18 +43004,18 @@ Available components:
|
|
|
42986
43004
|
]),
|
|
42987
43005
|
dt(' The provided component "' + D(e.component) + '" does not exist ', 1)
|
|
42988
43006
|
])) : L("", !0),
|
|
42989
|
-
e.component === "VueUiAccordion" ? (d(), ze(
|
|
43007
|
+
e.component === "VueUiAccordion" ? (d(), ze(uV, {
|
|
42990
43008
|
key: 1,
|
|
42991
43009
|
config: e.config
|
|
42992
43010
|
}, {
|
|
42993
|
-
arrow: Ie(({ backgroundColor: he, color: Te, iconColor: Re }) => [
|
|
42994
|
-
Me(Fe.$slots, "arrow", Ze(tt({ backgroundColor: he, color: Te, iconColor: Re })))
|
|
43011
|
+
arrow: Ie(({ backgroundColor: he, color: Te, iconColor: Re, isOpen: We }) => [
|
|
43012
|
+
Me(Fe.$slots, "arrow", Ze(tt({ backgroundColor: he, color: Te, iconColor: Re, isOpen: We })))
|
|
42995
43013
|
]),
|
|
42996
|
-
title: Ie(({ color: he }) => [
|
|
42997
|
-
Me(Fe.$slots, "title", Ze(tt({ color: he })))
|
|
43014
|
+
title: Ie(({ color: he, isOpen: Te }) => [
|
|
43015
|
+
Me(Fe.$slots, "title", Ze(tt({ color: he, isOpen: Te })))
|
|
42998
43016
|
]),
|
|
42999
|
-
content: Ie(({ backgroundColor: he, color: Te }) => [
|
|
43000
|
-
Me(Fe.$slots, "content", Ze(tt({ backgroundColor: he, color: Te })))
|
|
43017
|
+
content: Ie(({ backgroundColor: he, color: Te, isOpen: Re }) => [
|
|
43018
|
+
Me(Fe.$slots, "content", Ze(tt({ backgroundColor: he, color: Te, isOpen: Re })))
|
|
43001
43019
|
]),
|
|
43002
43020
|
_: 3
|
|
43003
43021
|
}, 8, ["config"])) : L("", !0),
|
|
@@ -43682,17 +43700,17 @@ export {
|
|
|
43682
43700
|
ez as G,
|
|
43683
43701
|
yz as H,
|
|
43684
43702
|
Jv as I,
|
|
43685
|
-
|
|
43703
|
+
fV as J,
|
|
43686
43704
|
Ez as K,
|
|
43687
|
-
|
|
43705
|
+
vV as L,
|
|
43688
43706
|
rR as M,
|
|
43689
43707
|
hR as N,
|
|
43690
|
-
|
|
43708
|
+
gV as O,
|
|
43691
43709
|
BR as P,
|
|
43692
43710
|
_R as Q,
|
|
43693
43711
|
YR as R,
|
|
43694
43712
|
nV as S,
|
|
43695
|
-
|
|
43713
|
+
uV as T,
|
|
43696
43714
|
h4 as V,
|
|
43697
43715
|
Yt as _,
|
|
43698
43716
|
D_ as a,
|