vue-data-ui 1.9.82 → 1.9.83

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 el, onUnmounted as hv, ref as J, computed as ge, openBlock as g, createElementBlock as p, createCommentVNode as E, useCssVars as yr, unref as _e, normalizeClass as Ne, createElementVNode as w, normalizeStyle as $, toDisplayString as M, Fragment as we, renderList as xe, renderSlot as Dt, createVNode as et, onBeforeUnmount as of, withDirectives as $o, withModifiers as mn, withKeys as wl, createBlock as lt, resolveComponent as Ea, vModelText as ml, withCtx as dt, createTextVNode as nt, vModelSelect as fv, createStaticVNode as ro, pushScopeId as En, popScopeId as Nn, nextTick as Ho, watch as lf, vModelCheckbox as Uu, toRef as Vc } from "vue";
1
+ import { onMounted as el, onUnmounted as hv, ref as J, computed as ye, openBlock as g, createElementBlock as p, createCommentVNode as E, useCssVars as yr, unref as _e, normalizeClass as Ne, createElementVNode as w, normalizeStyle as $, toDisplayString as M, Fragment as we, renderList as xe, renderSlot as Dt, createVNode as et, onBeforeUnmount as of, withDirectives as $o, withModifiers as mn, withKeys as wl, createBlock as lt, resolveComponent as Ea, vModelText as ml, withCtx as dt, createTextVNode as nt, vModelSelect as fv, createStaticVNode as ro, pushScopeId as En, popScopeId as Nn, nextTick as Ho, watch as lf, vModelCheckbox as Uu, toRef as Vc } 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>
@@ -3864,8 +3864,8 @@ var Kp = function(e, t) {
3864
3864
  C.push((a + u) / r.width), C.push((v + f) / r.width), C.push((n + y) / r.height), C.push((i + h) / r.height);
3865
3865
  var x = Math.max.apply(Math, C);
3866
3866
  x > 1 && (a /= x, n /= x, u /= x, i /= x, f /= x, h /= x, v /= x, y /= x);
3867
- var _ = r.width - u, j = r.height - h, K = r.width - f, O = r.height - y, Ae = o.borderTopWidth, Z = o.borderRightWidth, H = o.borderBottomWidth, re = o.borderLeftWidth, ye = qt(o.paddingTop, t.bounds.width), D = qt(o.paddingRight, t.bounds.width), z = qt(o.paddingBottom, t.bounds.width), ue = qt(o.paddingLeft, t.bounds.width);
3868
- this.topLeftBorderDoubleOuterBox = a > 0 || n > 0 ? Zt(r.left + re / 3, r.top + Ae / 3, a - re / 3, n - Ae / 3, Ht.TOP_LEFT) : new Xe(r.left + re / 3, r.top + Ae / 3), this.topRightBorderDoubleOuterBox = a > 0 || n > 0 ? Zt(r.left + _, r.top + Ae / 3, u - Z / 3, i - Ae / 3, Ht.TOP_RIGHT) : new Xe(r.left + r.width - Z / 3, r.top + Ae / 3), this.bottomRightBorderDoubleOuterBox = f > 0 || h > 0 ? Zt(r.left + K, r.top + j, f - Z / 3, h - H / 3, Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width - Z / 3, r.top + r.height - H / 3), this.bottomLeftBorderDoubleOuterBox = v > 0 || y > 0 ? Zt(r.left + re / 3, r.top + O, v - re / 3, y - H / 3, Ht.BOTTOM_LEFT) : new Xe(r.left + re / 3, r.top + r.height - H / 3), this.topLeftBorderDoubleInnerBox = a > 0 || n > 0 ? Zt(r.left + re * 2 / 3, r.top + Ae * 2 / 3, a - re * 2 / 3, n - Ae * 2 / 3, Ht.TOP_LEFT) : new Xe(r.left + re * 2 / 3, r.top + Ae * 2 / 3), this.topRightBorderDoubleInnerBox = a > 0 || n > 0 ? Zt(r.left + _, r.top + Ae * 2 / 3, u - Z * 2 / 3, i - Ae * 2 / 3, Ht.TOP_RIGHT) : new Xe(r.left + r.width - Z * 2 / 3, r.top + Ae * 2 / 3), this.bottomRightBorderDoubleInnerBox = f > 0 || h > 0 ? Zt(r.left + K, r.top + j, f - Z * 2 / 3, h - H * 2 / 3, Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width - Z * 2 / 3, r.top + r.height - H * 2 / 3), this.bottomLeftBorderDoubleInnerBox = v > 0 || y > 0 ? Zt(r.left + re * 2 / 3, r.top + O, v - re * 2 / 3, y - H * 2 / 3, Ht.BOTTOM_LEFT) : new Xe(r.left + re * 2 / 3, r.top + r.height - H * 2 / 3), this.topLeftBorderStroke = a > 0 || n > 0 ? Zt(r.left + re / 2, r.top + Ae / 2, a - re / 2, n - Ae / 2, Ht.TOP_LEFT) : new Xe(r.left + re / 2, r.top + Ae / 2), this.topRightBorderStroke = a > 0 || n > 0 ? Zt(r.left + _, r.top + Ae / 2, u - Z / 2, i - Ae / 2, Ht.TOP_RIGHT) : new Xe(r.left + r.width - Z / 2, r.top + Ae / 2), this.bottomRightBorderStroke = f > 0 || h > 0 ? Zt(r.left + K, r.top + j, f - Z / 2, h - H / 2, Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width - Z / 2, r.top + r.height - H / 2), this.bottomLeftBorderStroke = v > 0 || y > 0 ? Zt(r.left + re / 2, r.top + O, v - re / 2, y - H / 2, Ht.BOTTOM_LEFT) : new Xe(r.left + re / 2, r.top + r.height - H / 2), this.topLeftBorderBox = a > 0 || n > 0 ? Zt(r.left, r.top, a, n, Ht.TOP_LEFT) : new Xe(r.left, r.top), this.topRightBorderBox = u > 0 || i > 0 ? Zt(r.left + _, r.top, u, i, Ht.TOP_RIGHT) : new Xe(r.left + r.width, r.top), this.bottomRightBorderBox = f > 0 || h > 0 ? Zt(r.left + K, r.top + j, f, h, Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = v > 0 || y > 0 ? Zt(r.left, r.top + O, v, y, Ht.BOTTOM_LEFT) : new Xe(r.left, r.top + r.height), this.topLeftPaddingBox = a > 0 || n > 0 ? Zt(r.left + re, r.top + Ae, Math.max(0, a - re), Math.max(0, n - Ae), Ht.TOP_LEFT) : new Xe(r.left + re, r.top + Ae), this.topRightPaddingBox = u > 0 || i > 0 ? Zt(r.left + Math.min(_, r.width - Z), r.top + Ae, _ > r.width + Z ? 0 : Math.max(0, u - Z), Math.max(0, i - Ae), Ht.TOP_RIGHT) : new Xe(r.left + r.width - Z, r.top + Ae), this.bottomRightPaddingBox = f > 0 || h > 0 ? Zt(r.left + Math.min(K, r.width - re), r.top + Math.min(j, r.height - H), Math.max(0, f - Z), Math.max(0, h - H), Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width - Z, r.top + r.height - H), this.bottomLeftPaddingBox = v > 0 || y > 0 ? Zt(r.left + re, r.top + Math.min(O, r.height - H), Math.max(0, v - re), Math.max(0, y - H), Ht.BOTTOM_LEFT) : new Xe(r.left + re, r.top + r.height - H), this.topLeftContentBox = a > 0 || n > 0 ? Zt(r.left + re + ue, r.top + Ae + ye, Math.max(0, a - (re + ue)), Math.max(0, n - (Ae + ye)), Ht.TOP_LEFT) : new Xe(r.left + re + ue, r.top + Ae + ye), this.topRightContentBox = u > 0 || i > 0 ? Zt(r.left + Math.min(_, r.width + re + ue), r.top + Ae + ye, _ > r.width + re + ue ? 0 : u - re + ue, i - (Ae + ye), Ht.TOP_RIGHT) : new Xe(r.left + r.width - (Z + D), r.top + Ae + ye), this.bottomRightContentBox = f > 0 || h > 0 ? Zt(r.left + Math.min(K, r.width - (re + ue)), r.top + Math.min(j, r.height + Ae + ye), Math.max(0, f - (Z + D)), h - (H + z), Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width - (Z + D), r.top + r.height - (H + z)), this.bottomLeftContentBox = v > 0 || y > 0 ? Zt(r.left + re + ue, r.top + O, Math.max(0, v - (re + ue)), y - (H + z), Ht.BOTTOM_LEFT) : new Xe(r.left + re + ue, r.top + r.height - (H + z));
3867
+ var _ = r.width - u, j = r.height - h, K = r.width - f, O = r.height - y, Ae = o.borderTopWidth, Z = o.borderRightWidth, H = o.borderBottomWidth, re = o.borderLeftWidth, ge = qt(o.paddingTop, t.bounds.width), D = qt(o.paddingRight, t.bounds.width), z = qt(o.paddingBottom, t.bounds.width), ue = qt(o.paddingLeft, t.bounds.width);
3868
+ this.topLeftBorderDoubleOuterBox = a > 0 || n > 0 ? Zt(r.left + re / 3, r.top + Ae / 3, a - re / 3, n - Ae / 3, Ht.TOP_LEFT) : new Xe(r.left + re / 3, r.top + Ae / 3), this.topRightBorderDoubleOuterBox = a > 0 || n > 0 ? Zt(r.left + _, r.top + Ae / 3, u - Z / 3, i - Ae / 3, Ht.TOP_RIGHT) : new Xe(r.left + r.width - Z / 3, r.top + Ae / 3), this.bottomRightBorderDoubleOuterBox = f > 0 || h > 0 ? Zt(r.left + K, r.top + j, f - Z / 3, h - H / 3, Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width - Z / 3, r.top + r.height - H / 3), this.bottomLeftBorderDoubleOuterBox = v > 0 || y > 0 ? Zt(r.left + re / 3, r.top + O, v - re / 3, y - H / 3, Ht.BOTTOM_LEFT) : new Xe(r.left + re / 3, r.top + r.height - H / 3), this.topLeftBorderDoubleInnerBox = a > 0 || n > 0 ? Zt(r.left + re * 2 / 3, r.top + Ae * 2 / 3, a - re * 2 / 3, n - Ae * 2 / 3, Ht.TOP_LEFT) : new Xe(r.left + re * 2 / 3, r.top + Ae * 2 / 3), this.topRightBorderDoubleInnerBox = a > 0 || n > 0 ? Zt(r.left + _, r.top + Ae * 2 / 3, u - Z * 2 / 3, i - Ae * 2 / 3, Ht.TOP_RIGHT) : new Xe(r.left + r.width - Z * 2 / 3, r.top + Ae * 2 / 3), this.bottomRightBorderDoubleInnerBox = f > 0 || h > 0 ? Zt(r.left + K, r.top + j, f - Z * 2 / 3, h - H * 2 / 3, Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width - Z * 2 / 3, r.top + r.height - H * 2 / 3), this.bottomLeftBorderDoubleInnerBox = v > 0 || y > 0 ? Zt(r.left + re * 2 / 3, r.top + O, v - re * 2 / 3, y - H * 2 / 3, Ht.BOTTOM_LEFT) : new Xe(r.left + re * 2 / 3, r.top + r.height - H * 2 / 3), this.topLeftBorderStroke = a > 0 || n > 0 ? Zt(r.left + re / 2, r.top + Ae / 2, a - re / 2, n - Ae / 2, Ht.TOP_LEFT) : new Xe(r.left + re / 2, r.top + Ae / 2), this.topRightBorderStroke = a > 0 || n > 0 ? Zt(r.left + _, r.top + Ae / 2, u - Z / 2, i - Ae / 2, Ht.TOP_RIGHT) : new Xe(r.left + r.width - Z / 2, r.top + Ae / 2), this.bottomRightBorderStroke = f > 0 || h > 0 ? Zt(r.left + K, r.top + j, f - Z / 2, h - H / 2, Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width - Z / 2, r.top + r.height - H / 2), this.bottomLeftBorderStroke = v > 0 || y > 0 ? Zt(r.left + re / 2, r.top + O, v - re / 2, y - H / 2, Ht.BOTTOM_LEFT) : new Xe(r.left + re / 2, r.top + r.height - H / 2), this.topLeftBorderBox = a > 0 || n > 0 ? Zt(r.left, r.top, a, n, Ht.TOP_LEFT) : new Xe(r.left, r.top), this.topRightBorderBox = u > 0 || i > 0 ? Zt(r.left + _, r.top, u, i, Ht.TOP_RIGHT) : new Xe(r.left + r.width, r.top), this.bottomRightBorderBox = f > 0 || h > 0 ? Zt(r.left + K, r.top + j, f, h, Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width, r.top + r.height), this.bottomLeftBorderBox = v > 0 || y > 0 ? Zt(r.left, r.top + O, v, y, Ht.BOTTOM_LEFT) : new Xe(r.left, r.top + r.height), this.topLeftPaddingBox = a > 0 || n > 0 ? Zt(r.left + re, r.top + Ae, Math.max(0, a - re), Math.max(0, n - Ae), Ht.TOP_LEFT) : new Xe(r.left + re, r.top + Ae), this.topRightPaddingBox = u > 0 || i > 0 ? Zt(r.left + Math.min(_, r.width - Z), r.top + Ae, _ > r.width + Z ? 0 : Math.max(0, u - Z), Math.max(0, i - Ae), Ht.TOP_RIGHT) : new Xe(r.left + r.width - Z, r.top + Ae), this.bottomRightPaddingBox = f > 0 || h > 0 ? Zt(r.left + Math.min(K, r.width - re), r.top + Math.min(j, r.height - H), Math.max(0, f - Z), Math.max(0, h - H), Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width - Z, r.top + r.height - H), this.bottomLeftPaddingBox = v > 0 || y > 0 ? Zt(r.left + re, r.top + Math.min(O, r.height - H), Math.max(0, v - re), Math.max(0, y - H), Ht.BOTTOM_LEFT) : new Xe(r.left + re, r.top + r.height - H), this.topLeftContentBox = a > 0 || n > 0 ? Zt(r.left + re + ue, r.top + Ae + ge, Math.max(0, a - (re + ue)), Math.max(0, n - (Ae + ge)), Ht.TOP_LEFT) : new Xe(r.left + re + ue, r.top + Ae + ge), this.topRightContentBox = u > 0 || i > 0 ? Zt(r.left + Math.min(_, r.width + re + ue), r.top + Ae + ge, _ > r.width + re + ue ? 0 : u - re + ue, i - (Ae + ge), Ht.TOP_RIGHT) : new Xe(r.left + r.width - (Z + D), r.top + Ae + ge), this.bottomRightContentBox = f > 0 || h > 0 ? Zt(r.left + Math.min(K, r.width - (re + ue)), r.top + Math.min(j, r.height + Ae + ge), Math.max(0, f - (Z + D)), h - (H + z), Ht.BOTTOM_RIGHT) : new Xe(r.left + r.width - (Z + D), r.top + r.height - (H + z)), this.bottomLeftContentBox = v > 0 || y > 0 ? Zt(r.left + re + ue, r.top + O, Math.max(0, v - (re + ue)), y - (H + z), Ht.BOTTOM_LEFT) : new Xe(r.left + re + ue, r.top + r.height - (H + z));
3869
3869
  }
3870
3870
  return e;
3871
3871
  }()
@@ -4564,7 +4564,7 @@ var Zt = function(e, t, o, r, l) {
4564
4564
  switch (i.label) {
4565
4565
  case 0:
4566
4566
  r = o.styles.backgroundImage.length - 1, l = function(c) {
4567
- var f, h, s, ye, ie, le, ue, q, H, v, ye, ie, le, ue, q, y, C, x, _, j, K, O, Ae, Z, H, re, ye, D, z, ue, q, me, ie, le, S, P, N, ne, k, L, Q, U;
4567
+ var f, h, s, ge, ie, le, ue, q, H, v, ge, ie, le, ue, q, y, C, x, _, j, K, O, Ae, Z, H, re, ge, D, z, ue, q, me, ie, le, S, P, N, ne, k, L, Q, U;
4568
4568
  return Jo(this, function(W) {
4569
4569
  switch (W.label) {
4570
4570
  case 0:
@@ -4582,17 +4582,17 @@ var Zt = function(e, t, o, r, l) {
4582
4582
  f.width,
4583
4583
  f.height,
4584
4584
  f.width / f.height
4585
- ]), ye = s[0], ie = s[1], le = s[2], ue = s[3], q = s[4], H = a.ctx.createPattern(a.resizeImage(f, ue, q), "repeat"), a.renderRepeat(ye, H, ie, le)), [3, 6];
4585
+ ]), ge = s[0], ie = s[1], le = s[2], ue = s[3], q = s[4], H = a.ctx.createPattern(a.resizeImage(f, ue, q), "repeat"), a.renderRepeat(ge, H, ie, le)), [3, 6];
4586
4586
  case 5:
4587
- h0(c) ? (v = Ju(o, r, [null, null, null]), ye = v[0], ie = v[1], le = v[2], ue = v[3], q = v[4], y = i0(c.angle, ue, q), C = y[0], x = y[1], _ = y[2], j = y[3], K = y[4], O = document.createElement("canvas"), O.width = ue, O.height = q, Ae = O.getContext("2d"), Z = Ae.createLinearGradient(x, j, _, K), th(c.stops, C).forEach(function(T) {
4587
+ h0(c) ? (v = Ju(o, r, [null, null, null]), ge = v[0], ie = v[1], le = v[2], ue = v[3], q = v[4], y = i0(c.angle, ue, q), C = y[0], x = y[1], _ = y[2], j = y[3], K = y[4], O = document.createElement("canvas"), O.width = ue, O.height = q, Ae = O.getContext("2d"), Z = Ae.createLinearGradient(x, j, _, K), th(c.stops, C).forEach(function(T) {
4588
4588
  return Z.addColorStop(T.stop, Eo(T.color));
4589
- }), Ae.fillStyle = Z, Ae.fillRect(0, 0, ue, q), ue > 0 && q > 0 && (H = a.ctx.createPattern(O, "repeat"), a.renderRepeat(ye, H, ie, le))) : f0(c) && (re = Ju(o, r, [
4589
+ }), Ae.fillStyle = Z, Ae.fillRect(0, 0, ue, q), ue > 0 && q > 0 && (H = a.ctx.createPattern(O, "repeat"), a.renderRepeat(ge, H, ie, le))) : f0(c) && (re = Ju(o, r, [
4590
4590
  null,
4591
4591
  null,
4592
4592
  null
4593
- ]), ye = re[0], D = re[1], z = re[2], ue = re[3], q = re[4], me = c.position.length === 0 ? [Gc] : c.position, ie = qt(me[0], ue), le = qt(me[me.length - 1], q), S = s0(c, ie, le, ue, q), P = S[0], N = S[1], P > 0 && N > 0 && (ne = a.ctx.createRadialGradient(D + ie, z + le, 0, D + ie, z + le, P), th(c.stops, P * 2).forEach(function(T) {
4593
+ ]), ge = re[0], D = re[1], z = re[2], ue = re[3], q = re[4], me = c.position.length === 0 ? [Gc] : c.position, ie = qt(me[0], ue), le = qt(me[me.length - 1], q), S = s0(c, ie, le, ue, q), P = S[0], N = S[1], P > 0 && N > 0 && (ne = a.ctx.createRadialGradient(D + ie, z + le, 0, D + ie, z + le, P), th(c.stops, P * 2).forEach(function(T) {
4594
4594
  return ne.addColorStop(T.stop, Eo(T.color));
4595
- }), a.path(ye), a.ctx.fillStyle = ne, P !== N ? (k = o.bounds.left + 0.5 * o.bounds.width, L = o.bounds.top + 0.5 * o.bounds.height, Q = N / P, U = 1 / Q, a.ctx.save(), a.ctx.translate(k, L), a.ctx.transform(1, 0, 0, Q, 0, 0), a.ctx.translate(-k, -L), a.ctx.fillRect(D, U * (z - L) + L, ue, q * U), a.ctx.restore()) : a.ctx.fill())), W.label = 6;
4595
+ }), a.path(ge), a.ctx.fillStyle = ne, P !== N ? (k = o.bounds.left + 0.5 * o.bounds.width, L = o.bounds.top + 0.5 * o.bounds.height, Q = N / P, U = 1 / Q, a.ctx.save(), a.ctx.translate(k, L), a.ctx.transform(1, 0, 0, Q, 0, 0), a.ctx.translate(-k, -L), a.ctx.fillRect(D, U * (z - L) + L, ue, q * U), a.ctx.restore()) : a.ctx.fill())), W.label = 6;
4596
4596
  case 6:
4597
4597
  return r--, [
4598
4598
  2
@@ -4830,7 +4830,7 @@ var Zt = function(e, t, o, r, l) {
4830
4830
  typeof window < "u" && t1.setContext(window);
4831
4831
  var T2 = function(e, t) {
4832
4832
  return ol(void 0, void 0, void 0, function() {
4833
- var o, r, l, a, n, A, u, i, c, f, h, s, v, y, C, x, _, j, K, O, Z, Ae, Z, H, re, ye, D, z, ue, q, me, ie, le, S, P, N, ne, k, L, Q;
4833
+ var o, r, l, a, n, A, u, i, c, f, h, s, v, y, C, x, _, j, K, O, Z, Ae, Z, H, re, ge, D, z, ue, q, me, ie, le, S, P, N, ne, k, L, Q;
4834
4834
  return Jo(this, function(U) {
4835
4835
  switch (U.label) {
4836
4836
  case 0:
@@ -4844,7 +4844,7 @@ var T2 = function(e, t) {
4844
4844
  allowTaint: (H = t.allowTaint) !== null && H !== void 0 ? H : !1,
4845
4845
  imageTimeout: (re = t.imageTimeout) !== null && re !== void 0 ? re : 15e3,
4846
4846
  proxy: t.proxy,
4847
- useCORS: (ye = t.useCORS) !== null && ye !== void 0 ? ye : !1
4847
+ useCORS: (ge = t.useCORS) !== null && ge !== void 0 ? ge : !1
4848
4848
  }, a = cc({ logging: (D = t.logging) !== null && D !== void 0 ? D : !0, cache: t.cache }, l), n = {
4849
4849
  windowWidth: (z = t.windowWidth) !== null && z !== void 0 ? z : r.innerWidth,
4850
4850
  windowHeight: (ue = t.windowHeight) !== null && ue !== void 0 ? ue : r.innerHeight,
@@ -5046,11 +5046,11 @@ var z2 = /* @__PURE__ */ va(fr, 9, 0), O2 = /* @__PURE__ */ va(fr, 9, 1), R2 = /
5046
5046
  for (var Ae = new ll(O), Z = new ll(19), H = 0; H < K; ++H)
5047
5047
  Z[Ic[H]] = Xl(e, u + H * 3, 7);
5048
5048
  u += K * 3;
5049
- var re = Zu(Z), ye = (1 << re) - 1;
5049
+ var re = Zu(Z), ge = (1 << re) - 1;
5050
5050
  if (!a && u + O * (re + 7) > v)
5051
5051
  break;
5052
5052
  for (var D = va(Z, re, 1), H = 0; H < O; ) {
5053
- var z = D[Xl(e, u, ye)];
5053
+ var z = D[Xl(e, u, ge)];
5054
5054
  u += z & 15;
5055
5055
  var C = z >>> 4;
5056
5056
  if (C < 16)
@@ -5206,23 +5206,23 @@ var z2 = /* @__PURE__ */ va(fr, 9, 0), O2 = /* @__PURE__ */ va(fr, 9, 1), R2 = /
5206
5206
  Z[_[H] & 31]++;
5207
5207
  for (var H = 0; H < O.length; ++H)
5208
5208
  Z[O[H] & 31]++;
5209
- for (var re = tc(Z, 7), ye = re[0], D = re[1], z = 19; z > 4 && !ye[Ic[z - 1]]; --z)
5209
+ for (var re = tc(Z, 7), ge = re[0], D = re[1], z = 19; z > 4 && !ge[Ic[z - 1]]; --z)
5210
5210
  ;
5211
- var ue = i + 5 << 3, q = bA(l, fr) + bA(a, TA) + n, me = bA(l, h) + bA(a, y) + n + 14 + 3 * z + bA(Z, ye) + (2 * Z[16] + 3 * Z[17] + 7 * Z[18]);
5211
+ var ue = i + 5 << 3, q = bA(l, fr) + bA(a, TA) + n, me = bA(l, h) + bA(a, y) + n + 14 + 3 * z + bA(Z, ge) + (2 * Z[16] + 3 * Z[17] + 7 * Z[18]);
5212
5212
  if (ue <= q && ue <= me)
5213
5213
  return ns(t, c, e.subarray(u, u + i));
5214
5214
  var ie, le, S, P;
5215
5215
  if (Ia(t, c, 1 + (me < q)), c += 2, me < q) {
5216
5216
  ie = va(h, s, 0), le = h, S = va(y, C, 0), P = y;
5217
- var N = va(ye, D, 0);
5217
+ var N = va(ge, D, 0);
5218
5218
  Ia(t, c, j - 257), Ia(t, c + 5, Ae - 1), Ia(t, c + 10, z - 4), c += 14;
5219
5219
  for (var H = 0; H < z; ++H)
5220
- Ia(t, c + 3 * H, ye[Ic[H]]);
5220
+ Ia(t, c + 3 * H, ge[Ic[H]]);
5221
5221
  c += 3 * z;
5222
5222
  for (var ne = [_, O], k = 0; k < 2; ++k)
5223
5223
  for (var L = ne[k], H = 0; H < L.length; ++H) {
5224
5224
  var Q = L[H] & 31;
5225
- Ia(t, c, N[Q]), c += ye[Q], Q > 15 && (Ia(t, c, L[H] >>> 5 & 127), c += L[H] >>> 12);
5225
+ Ia(t, c, N[Q]), c += ge[Q], Q > 15 && (Ia(t, c, L[H] >>> 5 & 127), c += L[H] >>> 12);
5226
5226
  }
5227
5227
  } else
5228
5228
  ie = z2, le = fr, S = R2, P = TA;
@@ -5245,12 +5245,12 @@ var z2 = /* @__PURE__ */ va(fr, 9, 0), O2 = /* @__PURE__ */ va(fr, 9, 1), R2 = /
5245
5245
  else {
5246
5246
  for (var h = j2[t - 1], s = h >>> 13, v = h & 8191, y = (1 << o) - 1, C = new al(32768), x = new al(y + 1), _ = Math.ceil(o / 3), j = 2 * _, K = function(ae) {
5247
5247
  return (e[ae] ^ e[ae + 1] << _ ^ e[ae + 2] << j) & y;
5248
- }, O = new $A(25e3), Ae = new al(288), Z = new al(32), H = 0, re = 0, c = 0, ye = 0, D = 0, z = 0; c < n; ++c) {
5248
+ }, O = new $A(25e3), Ae = new al(288), Z = new al(32), H = 0, re = 0, c = 0, ge = 0, D = 0, z = 0; c < n; ++c) {
5249
5249
  var ue = K(c), q = c & 32767, me = x[ue];
5250
5250
  if (C[q] = me, x[ue] = q, D <= c) {
5251
5251
  var ie = n - c;
5252
- if ((H > 7e3 || ye > 24576) && ie > 423) {
5253
- i = $h(e, u, 0, O, Ae, Z, re, ye, z, c - z, i), ye = H = re = 0, z = c;
5252
+ if ((H > 7e3 || ge > 24576) && ie > 423) {
5253
+ i = $h(e, u, 0, O, Ae, Z, re, ge, z, c - z, i), ge = H = re = 0, z = c;
5254
5254
  for (var le = 0; le < 286; ++le)
5255
5255
  Ae[le] = 0;
5256
5256
  for (var le = 0; le < 30; ++le)
@@ -5274,14 +5274,14 @@ var z2 = /* @__PURE__ */ va(fr, 9, 0), O2 = /* @__PURE__ */ va(fr, 9, 1), R2 = /
5274
5274
  q = me, me = C[q], ne += q - me + 32768 & 32767;
5275
5275
  }
5276
5276
  if (P) {
5277
- O[ye++] = 268435456 | Ec[S] << 18 | Eh[P];
5277
+ O[ge++] = 268435456 | Ec[S] << 18 | Eh[P];
5278
5278
  var ce = Ec[S] & 31, G = Eh[P] & 31;
5279
5279
  re += Hs[ce] + Ds[G], ++Ae[257 + ce], ++Z[G], D = c + S, ++H;
5280
5280
  } else
5281
- O[ye++] = e[c], ++Ae[e[c]];
5281
+ O[ge++] = e[c], ++Ae[e[c]];
5282
5282
  }
5283
5283
  }
5284
- i = $h(e, u, a, O, Ae, Z, re, ye, z, c - z, i), a || (i = ns(u, i, G2));
5284
+ i = $h(e, u, a, O, Ae, Z, re, ge, z, c - z, i), a || (i = ns(u, i, G2));
5285
5285
  }
5286
5286
  return d1(A, 0, r + Zc(i) + l);
5287
5287
  }, X2 = function() {
@@ -5719,7 +5719,7 @@ function it(e) {
5719
5719
  throw new Error("Invalid argument passed to jsPDF.hpf");
5720
5720
  return re(m, 16);
5721
5721
  };
5722
- var ye = s.f2 = s.__private__.f2 = function(m) {
5722
+ var ge = s.f2 = s.__private__.f2 = function(m) {
5723
5723
  if (isNaN(m))
5724
5724
  throw new Error("Invalid argument passed to jsPDF.f2");
5725
5725
  return re(m, 2);
@@ -6012,7 +6012,7 @@ function it(e) {
6012
6012
  else
6013
6013
  switch (m.precision) {
6014
6014
  case 2:
6015
- V = ye(pe / 255) + " " + Ke[0];
6015
+ V = ge(pe / 255) + " " + Ke[0];
6016
6016
  break;
6017
6017
  case 3:
6018
6018
  default:
@@ -6026,7 +6026,7 @@ function it(e) {
6026
6026
  else
6027
6027
  switch (m.precision) {
6028
6028
  case 2:
6029
- V = [ye(pe / 255), ye(Be / 255), ye(Le / 255), Ke[1]].join(" ");
6029
+ V = [ge(pe / 255), ge(Be / 255), ge(Le / 255), Ke[1]].join(" ");
6030
6030
  break;
6031
6031
  default:
6032
6032
  case 3:
@@ -6037,7 +6037,7 @@ function it(e) {
6037
6037
  else
6038
6038
  switch (m.precision) {
6039
6039
  case 2:
6040
- V = [ye(pe), ye(Be), ye(Le), ye(He), Ke[2]].join(" ");
6040
+ V = [ge(pe), ge(Be), ge(Le), ge(He), Ke[2]].join(" ");
6041
6041
  break;
6042
6042
  case 3:
6043
6043
  default:
@@ -6143,10 +6143,10 @@ Q`), fl(Le, !0), Bl({ data: He, filters: Aa(), objectId: Le }), I("endobj"), Be;
6143
6143
  for (var V in m.objectNumber = So(), I("<<"), m)
6144
6144
  switch (V) {
6145
6145
  case "opacity":
6146
- I("/ca " + ye(m[V]));
6146
+ I("/ca " + ge(m[V]));
6147
6147
  break;
6148
6148
  case "stroke-opacity":
6149
- I("/CA " + ye(m[V]));
6149
+ I("/CA " + ge(m[V]));
6150
6150
  }
6151
6151
  I(">>"), I("endobj");
6152
6152
  }, Rs = function() {
@@ -6285,7 +6285,7 @@ Q`), fl(Le, !0), Bl({ data: He, filters: Aa(), objectId: Le }), I("endobj"), Be;
6285
6285
  break;
6286
6286
  default:
6287
6287
  var pe = "" + Ee;
6288
- pe.substr(pe.length - 1) === "%" && (Ee = parseInt(Ee) / 100), typeof Ee == "number" && I("/OpenAction [3 0 R /XYZ null null " + ye(Ee) + "]");
6288
+ pe.substr(pe.length - 1) === "%" && (Ee = parseInt(Ee) / 100), typeof Ee == "number" && I("/OpenAction [3 0 R /XYZ null null " + ge(Ee) + "]");
6289
6289
  }
6290
6290
  switch (bt || (bt = "continuous"), bt) {
6291
6291
  case "continuous":
@@ -6982,7 +6982,7 @@ T* `) : m.join(` Tj
6982
6982
  return Oa(L);
6983
6983
  }, setHeight: function(m) {
6984
6984
  Jn(L, m);
6985
- } }, encryptionOptions: c, encryption: jo, getEncryptor: eu, output: Gr, getNumberOfPages: Xs, pages: ce, out: I, f2: ye, f3: D, getPageInfo: YA, getPageInfoByObjId: ht, getCurrentPageInfo: tu, getPDFVersion: y, Point: Yr, Rectangle: Xn, Matrix: At, hasHotfix: qA }, Object.defineProperty(s.internal.pageSize, "width", { get: function() {
6985
+ } }, encryptionOptions: c, encryption: jo, getEncryptor: eu, output: Gr, getNumberOfPages: Xs, pages: ce, out: I, f2: ge, f3: D, getPageInfo: YA, getPageInfoByObjId: ht, getCurrentPageInfo: tu, getPDFVersion: y, Point: Yr, Rectangle: Xn, Matrix: At, hasHotfix: qA }, Object.defineProperty(s.internal.pageSize, "width", { get: function() {
6986
6986
  return Cr(L);
6987
6987
  }, set: function(m) {
6988
6988
  Yn(L, m);
@@ -7134,18 +7134,18 @@ var hl = function(e, t) {
7134
7134
  }
7135
7135
  }
7136
7136
  for (var H = "", re = v; re <= y; re++) {
7137
- var ye = l[re];
7137
+ var ge = l[re];
7138
7138
  if (e.multiline) {
7139
7139
  if (re === y) {
7140
- H += ye[C] + " ", C = (C + 1) % ye.length;
7140
+ H += ge[C] + " ", C = (C + 1) % ge.length;
7141
7141
  continue;
7142
7142
  }
7143
7143
  if (re === v) {
7144
- H += ye[ye.length - 1] + " ";
7144
+ H += ge[ge.length - 1] + " ";
7145
7145
  continue;
7146
7146
  }
7147
7147
  }
7148
- H += ye[0] + " ";
7148
+ H += ge[0] + " ";
7149
7149
  }
7150
7150
  switch (H = H.substr(H.length - 1) == " " ? H.substr(0, H.length - 1) : H, c = Ji(H, e, a).width, e.textAlign) {
7151
7151
  case "right":
@@ -8038,7 +8038,7 @@ function b1(e) {
8038
8038
  var me, ie, le;
8039
8039
  if (typeof D == "string" && r(D) === t) {
8040
8040
  D = unescape(D);
8041
- var S = ye(D, !1);
8041
+ var S = ge(D, !1);
8042
8042
  (S !== "" || (S = e.loadFile(D, !0)) !== void 0) && (D = S);
8043
8043
  }
8044
8044
  if (f(D) && (D = h(D, z)), z = r(D, z), !c(z))
@@ -8050,7 +8050,7 @@ function b1(e) {
8050
8050
  }(q), ie)), !me)
8051
8051
  throw new Error("An unknown error occurred whilst processing the image.");
8052
8052
  return me;
8053
- }, ye = e.__addimage__.convertBase64ToBinaryString = function(D, z) {
8053
+ }, ge = e.__addimage__.convertBase64ToBinaryString = function(D, z) {
8054
8054
  var ue;
8055
8055
  z = typeof z != "boolean" || z;
8056
8056
  var q, me = "";
@@ -8067,7 +8067,7 @@ function b1(e) {
8067
8067
  };
8068
8068
  e.getImageProperties = function(D) {
8069
8069
  var z, ue, q = "";
8070
- if (f(D) && (D = h(D)), typeof D == "string" && r(D) === t && ((q = ye(D, !1)) === "" && (q = e.loadFile(D) || ""), D = q), ue = r(D), !c(ue))
8070
+ if (f(D) && (D = h(D)), typeof D == "string" && r(D) === t && ((q = ge(D, !1)) === "" && (q = e.loadFile(D) || ""), D = q), ue = r(D), !c(ue))
8071
8071
  throw new Error("addImage does not support files of type '" + ue + "', please ensure that a plugin for '" + ue + "' support is added.");
8072
8072
  if (!O() || D instanceof Uint8Array || (D = Z(D)), !(z = this["process" + ue.toUpperCase()](D)))
8073
8073
  throw new Error("An unknown error occurred whilst processing the image");
@@ -8385,8 +8385,8 @@ function(e) {
8385
8385
  e.table = function(u, i, c, f, h) {
8386
8386
  if (r.call(this), !c)
8387
8387
  throw new Error("No data for PDF table.");
8388
- var s, v, y, C, x = [], _ = [], j = [], K = {}, O = {}, Ae = [], Z = [], H = (h = h || {}).autoSize || !1, re = h.printHeaders !== !1, ye = h.css && h.css["font-size"] !== void 0 ? 16 * h.css["font-size"] : h.fontSize || 12, D = h.margins || Object.assign({ width: this.getPageWidth() }, t), z = typeof h.padding == "number" ? h.padding : 3, ue = h.headerBackgroundColor || "#c8c8c8", q = h.headerTextColor || "#000";
8389
- if (l.call(this), this.internal.__cell__.printHeaders = re, this.internal.__cell__.margins = D, this.internal.__cell__.table_font_size = ye, this.internal.__cell__.padding = z, this.internal.__cell__.headerBackgroundColor = ue, this.internal.__cell__.headerTextColor = q, this.setFontSize(ye), f == null)
8388
+ var s, v, y, C, x = [], _ = [], j = [], K = {}, O = {}, Ae = [], Z = [], H = (h = h || {}).autoSize || !1, re = h.printHeaders !== !1, ge = h.css && h.css["font-size"] !== void 0 ? 16 * h.css["font-size"] : h.fontSize || 12, D = h.margins || Object.assign({ width: this.getPageWidth() }, t), z = typeof h.padding == "number" ? h.padding : 3, ue = h.headerBackgroundColor || "#c8c8c8", q = h.headerTextColor || "#000";
8389
+ if (l.call(this), this.internal.__cell__.printHeaders = re, this.internal.__cell__.margins = D, this.internal.__cell__.table_font_size = ge, this.internal.__cell__.padding = z, this.internal.__cell__.headerBackgroundColor = ue, this.internal.__cell__.headerTextColor = q, this.setFontSize(ge), f == null)
8390
8390
  _ = x = Object.keys(c[0]), j = x.map(function() {
8391
8391
  return "left";
8392
8392
  });
@@ -9091,7 +9091,7 @@ var Zi, jh, Gh, nc = ["times"];
9091
9091
  var Oe = W[fe].start.x, tt = W[fe].start.y;
9092
9092
  q.call(this, W[fe].deltas, Oe, tt), Ue = !0;
9093
9093
  }
9094
- U && re.call(this, U), L && ye.call(this);
9094
+ U && re.call(this, U), L && ge.call(this);
9095
9095
  }
9096
9096
  }, Ae = function(k) {
9097
9097
  var L = this.pdf.internal.getFontSize() / this.pdf.internal.scaleFactor, Q = L * (this.pdf.internal.getLineHeightFactor() - 1);
@@ -9131,7 +9131,7 @@ var Zi, jh, Gh, nc = ["times"];
9131
9131
  var X = ce[G];
9132
9132
  G === 0 && (be ? D.call(this, X.x1 + k, X.y1 + L) : ue.call(this, X.x1 + k, X.y1 + L)), me.call(this, k, L, X.x2, X.y2, X.x3, X.y3, X.x4, X.y4);
9133
9133
  }
9134
- he ? ye.call(this) : re.call(this, de);
9134
+ he ? ge.call(this) : re.call(this, de);
9135
9135
  }, re = function(k) {
9136
9136
  switch (k) {
9137
9137
  case "stroke":
@@ -9140,7 +9140,7 @@ var Zi, jh, Gh, nc = ["times"];
9140
9140
  case "fill":
9141
9141
  this.pdf.internal.out("f");
9142
9142
  }
9143
- }, ye = function() {
9143
+ }, ge = function() {
9144
9144
  this.pdf.clip(), this.pdf.discardPath();
9145
9145
  }, D = function(k, L) {
9146
9146
  this.pdf.internal.out(o(k) + " " + r(L) + " m");
@@ -9838,28 +9838,28 @@ var wn, es, Wh, Xh, qh, wb = function() {
9838
9838
  if (a == null && (a = this.imgData), a.length === 0)
9839
9839
  return new Uint8Array(0);
9840
9840
  function c(f, h, s, v) {
9841
- var y, C, x, _, j, K, O, Ae, Z, H, re, ye, D, z, ue, q, me, ie, le, S, P, N = Math.ceil((i.width - f) / s), ne = Math.ceil((i.height - h) / v), k = i.width == N && i.height == ne;
9842
- for (z = n * N, ye = k ? A : new Uint8Array(z * ne), K = a.length, D = 0, C = 0; D < ne && u < K; ) {
9841
+ var y, C, x, _, j, K, O, Ae, Z, H, re, ge, D, z, ue, q, me, ie, le, S, P, N = Math.ceil((i.width - f) / s), ne = Math.ceil((i.height - h) / v), k = i.width == N && i.height == ne;
9842
+ for (z = n * N, ge = k ? A : new Uint8Array(z * ne), K = a.length, D = 0, C = 0; D < ne && u < K; ) {
9843
9843
  switch (a[u++]) {
9844
9844
  case 0:
9845
9845
  for (_ = me = 0; me < z; _ = me += 1)
9846
- ye[C++] = a[u++];
9846
+ ge[C++] = a[u++];
9847
9847
  break;
9848
9848
  case 1:
9849
9849
  for (_ = ie = 0; ie < z; _ = ie += 1)
9850
- y = a[u++], j = _ < n ? 0 : ye[C - n], ye[C++] = (y + j) % 256;
9850
+ y = a[u++], j = _ < n ? 0 : ge[C - n], ge[C++] = (y + j) % 256;
9851
9851
  break;
9852
9852
  case 2:
9853
9853
  for (_ = le = 0; le < z; _ = le += 1)
9854
- y = a[u++], x = (_ - _ % n) / n, ue = D && ye[(D - 1) * z + x * n + _ % n], ye[C++] = (ue + y) % 256;
9854
+ y = a[u++], x = (_ - _ % n) / n, ue = D && ge[(D - 1) * z + x * n + _ % n], ge[C++] = (ue + y) % 256;
9855
9855
  break;
9856
9856
  case 3:
9857
9857
  for (_ = S = 0; S < z; _ = S += 1)
9858
- y = a[u++], x = (_ - _ % n) / n, j = _ < n ? 0 : ye[C - n], ue = D && ye[(D - 1) * z + x * n + _ % n], ye[C++] = (y + Math.floor((j + ue) / 2)) % 256;
9858
+ y = a[u++], x = (_ - _ % n) / n, j = _ < n ? 0 : ge[C - n], ue = D && ge[(D - 1) * z + x * n + _ % n], ge[C++] = (y + Math.floor((j + ue) / 2)) % 256;
9859
9859
  break;
9860
9860
  case 4:
9861
9861
  for (_ = P = 0; P < z; _ = P += 1)
9862
- y = a[u++], x = (_ - _ % n) / n, j = _ < n ? 0 : ye[C - n], D === 0 ? ue = q = 0 : (ue = ye[(D - 1) * z + x * n + _ % n], q = x && ye[(D - 1) * z + (x - 1) * n + _ % n]), O = j + ue - q, Ae = Math.abs(O - j), H = Math.abs(O - ue), re = Math.abs(O - q), Z = Ae <= H && Ae <= re ? j : H <= re ? ue : q, ye[C++] = (y + Z) % 256;
9862
+ y = a[u++], x = (_ - _ % n) / n, j = _ < n ? 0 : ge[C - n], D === 0 ? ue = q = 0 : (ue = ge[(D - 1) * z + x * n + _ % n], q = x && ge[(D - 1) * z + (x - 1) * n + _ % n]), O = j + ue - q, Ae = Math.abs(O - j), H = Math.abs(O - ue), re = Math.abs(O - q), Z = Ae <= H && Ae <= re ? j : H <= re ? ue : q, ge[C++] = (y + Z) % 256;
9863
9863
  break;
9864
9864
  default:
9865
9865
  throw new Error("Invalid filter algorithm: " + a[u - 1]);
@@ -9868,7 +9868,7 @@ var wn, es, Wh, Xh, qh, wb = function() {
9868
9868
  var L = ((h + D * v) * i.width + f) * n, Q = D * z;
9869
9869
  for (_ = 0; _ < N; _ += 1) {
9870
9870
  for (var U = 0; U < n; U += 1)
9871
- A[L++] = ye[Q++];
9871
+ A[L++] = ge[Q++];
9872
9872
  L += (s - 1) * n;
9873
9873
  }
9874
9874
  }
@@ -10034,7 +10034,7 @@ function mb(e) {
10034
10034
  case 44:
10035
10035
  var C = e[t++] | e[t++] << 8, x = e[t++] | e[t++] << 8, _ = e[t++] | e[t++] << 8, j = e[t++] | e[t++] << 8, K = e[t++], O = K >> 6 & 1, Ae = 1 << (7 & K) + 1, Z = A, H = u, re = !1;
10036
10036
  K >> 7 && (re = !0, Z = t, H = Ae, t += 3 * Ae);
10037
- var ye = t;
10037
+ var ge = t;
10038
10038
  for (t++; ; ) {
10039
10039
  var D;
10040
10040
  if (!((D = e[t++]) >= 0))
@@ -10043,7 +10043,7 @@ function mb(e) {
10043
10043
  break;
10044
10044
  t += D;
10045
10045
  }
10046
- c.push({ x: C, y: x, width: _, height: j, has_local_palette: re, palette_offset: Z, palette_size: H, data_offset: ye, data_length: t - ye, transparent_index: h, interlaced: !!O, delay: f, disposal: s });
10046
+ c.push({ x: C, y: x, width: _, height: j, has_local_palette: re, palette_offset: Z, palette_size: H, data_offset: ge, data_length: t - ge, transparent_index: h, interlaced: !!O, delay: f, disposal: s });
10047
10047
  break;
10048
10048
  case 59:
10049
10049
  i = !1;
@@ -10153,7 +10153,7 @@ function Yh(e, t, o, r) {
10153
10153
  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10154
10154
  */
10155
10155
  function Ac(e) {
10156
- var t, o, r, l, a, n = Math.floor, A = new Array(64), u = new Array(64), i = new Array(64), c = new Array(64), f = new Array(65535), h = new Array(65535), s = new Array(64), v = new Array(64), y = [], C = 0, x = 7, _ = new Array(64), j = new Array(64), K = new Array(64), O = new Array(256), Ae = new Array(2048), Z = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63], H = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0], re = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], ye = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125], D = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], z = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], ue = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], q = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119], me = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
10156
+ var t, o, r, l, a, n = Math.floor, A = new Array(64), u = new Array(64), i = new Array(64), c = new Array(64), f = new Array(65535), h = new Array(65535), s = new Array(64), v = new Array(64), y = [], C = 0, x = 7, _ = new Array(64), j = new Array(64), K = new Array(64), O = new Array(256), Ae = new Array(2048), Z = [0, 1, 5, 6, 14, 15, 27, 28, 2, 4, 7, 13, 16, 26, 29, 42, 3, 8, 12, 17, 25, 30, 41, 43, 9, 11, 18, 24, 31, 40, 44, 53, 10, 19, 23, 32, 39, 45, 52, 54, 20, 22, 33, 38, 46, 51, 55, 60, 21, 34, 37, 47, 50, 56, 59, 61, 35, 36, 48, 49, 57, 58, 62, 63], H = [0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0], re = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], ge = [0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 125], D = [1, 2, 3, 0, 4, 17, 5, 18, 33, 49, 65, 6, 19, 81, 97, 7, 34, 113, 20, 50, 129, 145, 161, 8, 35, 66, 177, 193, 21, 82, 209, 240, 36, 51, 98, 114, 130, 9, 10, 22, 23, 24, 25, 26, 37, 38, 39, 40, 41, 42, 52, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250], z = [0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0], ue = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11], q = [0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 119], me = [0, 1, 2, 3, 17, 4, 5, 33, 49, 6, 18, 65, 81, 7, 97, 113, 19, 34, 50, 129, 8, 20, 66, 145, 161, 177, 193, 9, 35, 51, 82, 240, 21, 98, 114, 209, 10, 22, 36, 52, 225, 37, 241, 23, 24, 25, 26, 38, 39, 40, 41, 42, 53, 54, 55, 56, 57, 58, 67, 68, 69, 70, 71, 72, 73, 74, 83, 84, 85, 86, 87, 88, 89, 90, 99, 100, 101, 102, 103, 104, 105, 106, 115, 116, 117, 118, 119, 120, 121, 122, 130, 131, 132, 133, 134, 135, 136, 137, 138, 146, 147, 148, 149, 150, 151, 152, 153, 154, 162, 163, 164, 165, 166, 167, 168, 169, 170, 178, 179, 180, 181, 182, 183, 184, 185, 186, 194, 195, 196, 197, 198, 199, 200, 201, 202, 210, 211, 212, 213, 214, 215, 216, 217, 218, 226, 227, 228, 229, 230, 231, 232, 233, 234, 242, 243, 244, 245, 246, 247, 248, 249, 250];
10157
10157
  function ie(k, L) {
10158
10158
  for (var Q = 0, U = 0, W = new Array(), T = 1; T <= 16; T++) {
10159
10159
  for (var de = 1; de <= k[T]; de++)
@@ -10251,7 +10251,7 @@ function Ac(e) {
10251
10251
  S(re[tt]);
10252
10252
  S(16);
10253
10253
  for (var ct = 0; ct < 16; ct++)
10254
- S(ye[ct + 1]);
10254
+ S(ge[ct + 1]);
10255
10255
  for (var gt = 0; gt <= 161; gt++)
10256
10256
  S(D[gt]);
10257
10257
  S(1);
@@ -10283,7 +10283,7 @@ function Ac(e) {
10283
10283
  }, e = e || 50, function() {
10284
10284
  for (var k = String.fromCharCode, L = 0; L < 256; L++)
10285
10285
  O[L] = k(L);
10286
- }(), t = ie(H, re), o = ie(z, ue), r = ie(ye, D), l = ie(q, me), function() {
10286
+ }(), t = ie(H, re), o = ie(z, ue), r = ie(ge, D), l = ie(q, me), function() {
10287
10287
  for (var k = 1, L = 2, Q = 1; Q <= 15; Q++) {
10288
10288
  for (var U = k; U < L; U++)
10289
10289
  h[32767 + U] = Q, f[32767 + U] = [], f[32767 + U][1] = Q, f[32767 + U][0] = U;
@@ -10313,34 +10313,34 @@ function Jh(e) {
10313
10313
  if (!H)
10314
10314
  throw Error("assert :P");
10315
10315
  }
10316
- function o(H, re, ye) {
10316
+ function o(H, re, ge) {
10317
10317
  for (var D = 0; 4 > D; D++)
10318
- if (H[re + D] != ye.charCodeAt(D))
10318
+ if (H[re + D] != ge.charCodeAt(D))
10319
10319
  return !0;
10320
10320
  return !1;
10321
10321
  }
10322
- function r(H, re, ye, D, z) {
10322
+ function r(H, re, ge, D, z) {
10323
10323
  for (var ue = 0; ue < z; ue++)
10324
- H[re + ue] = ye[D + ue];
10324
+ H[re + ue] = ge[D + ue];
10325
10325
  }
10326
- function l(H, re, ye, D) {
10326
+ function l(H, re, ge, D) {
10327
10327
  for (var z = 0; z < D; z++)
10328
- H[re + z] = ye;
10328
+ H[re + z] = ge;
10329
10329
  }
10330
10330
  function a(H) {
10331
10331
  return new Int32Array(H);
10332
10332
  }
10333
10333
  function n(H, re) {
10334
- for (var ye = [], D = 0; D < H; D++)
10335
- ye.push(new re());
10336
- return ye;
10334
+ for (var ge = [], D = 0; D < H; D++)
10335
+ ge.push(new re());
10336
+ return ge;
10337
10337
  }
10338
10338
  function A(H, re) {
10339
- var ye = [];
10339
+ var ge = [];
10340
10340
  return function D(z, ue, q) {
10341
10341
  for (var me = q[ue], ie = 0; ie < me && (z.push(q.length > ue + 1 ? [] : new re()), !(q.length < ue + 1)); ie++)
10342
10342
  D(z[ie], ue + 1, q);
10343
- }(ye, 0, H), ye;
10343
+ }(ge, 0, H), ge;
10344
10344
  }
10345
10345
  var u = function() {
10346
10346
  var H = this;
@@ -10349,7 +10349,7 @@ function Jh(e) {
10349
10349
  B >>>= 1;
10350
10350
  return B ? (d & B - 1) + B : d;
10351
10351
  }
10352
- function ye(d, b, B, F, R) {
10352
+ function ge(d, b, B, F, R) {
10353
10353
  t(!(F % B));
10354
10354
  do
10355
10355
  d[b + (F -= B)] = R;
@@ -10377,13 +10377,13 @@ function Jh(e) {
10377
10377
  for (Se = 0; Se < Ce; ++Se)
10378
10378
  Ie = ve[Se], 0 < ve[Se] && (Me[Fe[Ie]++] = Se);
10379
10379
  if (Fe[15] == 1)
10380
- return (ve = new z()).g = 0, ve.value = Me[0], ye(te, ze, 1, Te, ve), Te;
10380
+ return (ve = new z()).g = 0, ve.value = Me[0], ge(te, ze, 1, Te, ve), Te;
10381
10381
  var De, Re = -1, Pe = Te - 1, Je = 0, je = 1, rt = 1, Ge = 1 << se;
10382
10382
  for (Se = 0, Ie = 1, Ce = 2; Ie <= se; ++Ie, Ce <<= 1) {
10383
10383
  if (je += rt <<= 1, 0 > (rt -= ke[Ie]))
10384
10384
  return 0;
10385
10385
  for (; 0 < ke[Ie]; --ke[Ie])
10386
- (ve = new z()).g = Ie, ve.value = Me[Se++], ye(te, ze + Je, Ce, Ge, ve), Je = re(Je, Ie);
10386
+ (ve = new z()).g = Ie, ve.value = Me[Se++], ge(te, ze + Je, Ce, Ge, ve), Je = re(Je, Ie);
10387
10387
  }
10388
10388
  for (Ie = se + 1, Ce = 2; 15 >= Ie; ++Ie, Ce <<= 1) {
10389
10389
  if (je += rt <<= 1, 0 > (rt -= ke[Ie]))
@@ -10394,7 +10394,7 @@ function Jh(e) {
10394
10394
  ++Re, De <<= 1;
10395
10395
  Te += Ge = 1 << (De = Re - se), te[oe + (Re = Je & Pe)].g = De + se, te[oe + Re].value = ze - oe - Re;
10396
10396
  }
10397
- ve.g = Ie - se, ve.value = Me[Se++], ye(te, ze + (Je >> se), Ce, Ge, ve), Je = re(Je, Ie);
10397
+ ve.g = Ie - se, ve.value = Me[Se++], ge(te, ze + (Je >> se), Ce, Ge, ve), Je = re(Je, Ie);
10398
10398
  }
10399
10399
  }
10400
10400
  return je != 2 * Fe[15] - 1 ? 0 : Te;
@@ -12347,9 +12347,9 @@ function Jh(e) {
12347
12347
  var bd = [3, 4, 3, 4, 4, 2, 2, 4, 4, 4, 2, 1, 1];
12348
12348
  };
12349
12349
  function i(H, re) {
12350
- for (var ye = "", D = 0; D < 4; D++)
12351
- ye += String.fromCharCode(H[re++]);
12352
- return ye;
12350
+ for (var ge = "", D = 0; D < 4; D++)
12351
+ ge += String.fromCharCode(H[re++]);
12352
+ return ge;
12353
12353
  }
12354
12354
  function c(H, re) {
12355
12355
  return (H[re + 0] << 0 | H[re + 1] << 8 | H[re + 2] << 16) >>> 0;
@@ -12359,8 +12359,8 @@ function Jh(e) {
12359
12359
  }
12360
12360
  new u();
12361
12361
  var h = [0], s = [0], v = [], y = new u(), C = e, x = function(H, re) {
12362
- var ye = {}, D = 0, z = !1, ue = 0, q = 0;
12363
- if (ye.frames = [], !/** @license
12362
+ var ge = {}, D = 0, z = !1, ue = 0, q = 0;
12363
+ if (ge.frames = [], !/** @license
12364
12364
  * Copyright (c) 2017 Dominik Homberger
12365
12365
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
12366
12366
  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
@@ -12382,10 +12382,10 @@ function Jh(e) {
12382
12382
  switch (le) {
12383
12383
  case "VP8 ":
12384
12384
  case "VP8L":
12385
- ye.frames[D] === void 0 && (ye.frames[D] = {}), (k = ye.frames[D]).src_off = z ? q : re - 8, k.src_size = ue + S + 8, D++, z && (z = !1, ue = 0, q = 0);
12385
+ ge.frames[D] === void 0 && (ge.frames[D] = {}), (k = ge.frames[D]).src_off = z ? q : re - 8, k.src_size = ue + S + 8, D++, z && (z = !1, ue = 0, q = 0);
12386
12386
  break;
12387
12387
  case "VP8X":
12388
- (k = ye.header = {}).feature_flags = H[re];
12388
+ (k = ge.header = {}).feature_flags = H[re];
12389
12389
  var N = re + 4;
12390
12390
  k.canvas_width = 1 + c(H, N), N += 3, k.canvas_height = 1 + c(H, N), N += 3;
12391
12391
  break;
@@ -12393,15 +12393,15 @@ function Jh(e) {
12393
12393
  z = !0, ue = P + 8, q = re - 8;
12394
12394
  break;
12395
12395
  case "ANIM":
12396
- (k = ye.header).bgcolor = f(H, re), N = re + 4, k.loop_count = (me = H)[(ie = N) + 0] << 0 | me[ie + 1] << 8, N += 2;
12396
+ (k = ge.header).bgcolor = f(H, re), N = re + 4, k.loop_count = (me = H)[(ie = N) + 0] << 0 | me[ie + 1] << 8, N += 2;
12397
12397
  break;
12398
12398
  case "ANMF":
12399
12399
  var ne, k;
12400
- (k = ye.frames[D] = {}).offset_x = 2 * c(H, re), re += 3, k.offset_y = 2 * c(H, re), re += 3, k.width = 1 + c(H, re), re += 3, k.height = 1 + c(H, re), re += 3, k.duration = c(H, re), re += 3, ne = H[re++], k.dispose = 1 & ne, k.blend = ne >> 1 & 1;
12400
+ (k = ge.frames[D] = {}).offset_x = 2 * c(H, re), re += 3, k.offset_y = 2 * c(H, re), re += 3, k.width = 1 + c(H, re), re += 3, k.height = 1 + c(H, re), re += 3, k.duration = c(H, re), re += 3, ne = H[re++], k.dispose = 1 & ne, k.blend = ne >> 1 & 1;
12401
12401
  }
12402
12402
  le != "ANMF" && (re += P);
12403
12403
  }
12404
- return ye;
12404
+ return ge;
12405
12405
  }
12406
12406
  }(C, 0);
12407
12407
  x.response = C, x.rgbaoutput = !0, x.dataurl = !1;
@@ -12442,8 +12442,8 @@ function Jh(e) {
12442
12442
  else {
12443
12443
  for (var Z, H = O.length, re = []; Z < H; Z += 1)
12444
12444
  re[Z] = O[Z](C, v, x);
12445
- var ye = f(re.concat());
12446
- K.set(re[ye], _ + Ae);
12445
+ var ge = f(re.concat());
12446
+ K.set(re[ge], _ + Ae);
12447
12447
  }
12448
12448
  x = C;
12449
12449
  }
@@ -12491,25 +12491,25 @@ function Jh(e) {
12491
12491
  return s.indexOf(Math.min.apply(null, s));
12492
12492
  };
12493
12493
  e.processPNG = function(h, s, v, y) {
12494
- var C, x, _, j, K, O, Ae, Z, H, re, ye, D, z, ue, q, me = this.decode.FLATE_DECODE, ie = "";
12494
+ var C, x, _, j, K, O, Ae, Z, H, re, ge, D, z, ue, q, me = this.decode.FLATE_DECODE, ie = "";
12495
12495
  if (this.__addimage__.isArrayBuffer(h) && (h = new Uint8Array(h)), this.__addimage__.isArrayBufferView(h)) {
12496
12496
  if (h = (_ = new wb(h)).imgData, x = _.bits, C = _.colorSpace, K = _.colors, [4, 6].indexOf(_.colorType) !== -1) {
12497
12497
  if (_.bits === 8) {
12498
- H = (Z = _.pixelBitlength == 32 ? new Uint32Array(_.decodePixels().buffer) : _.pixelBitlength == 16 ? new Uint16Array(_.decodePixels().buffer) : new Uint8Array(_.decodePixels().buffer)).length, ye = new Uint8Array(H * _.colors), re = new Uint8Array(H);
12498
+ H = (Z = _.pixelBitlength == 32 ? new Uint32Array(_.decodePixels().buffer) : _.pixelBitlength == 16 ? new Uint16Array(_.decodePixels().buffer) : new Uint8Array(_.decodePixels().buffer)).length, ge = new Uint8Array(H * _.colors), re = new Uint8Array(H);
12499
12499
  var le, S = _.pixelBitlength - _.bits;
12500
12500
  for (ue = 0, q = 0; ue < H; ue++) {
12501
12501
  for (z = Z[ue], le = 0; le < S; )
12502
- ye[q++] = z >>> le & 255, le += _.bits;
12502
+ ge[q++] = z >>> le & 255, le += _.bits;
12503
12503
  re[ue] = z >>> le & 255;
12504
12504
  }
12505
12505
  }
12506
12506
  if (_.bits === 16) {
12507
- H = (Z = new Uint32Array(_.decodePixels().buffer)).length, ye = new Uint8Array(H * (32 / _.pixelBitlength) * _.colors), re = new Uint8Array(H * (32 / _.pixelBitlength)), D = _.colors > 1, ue = 0, q = 0;
12507
+ H = (Z = new Uint32Array(_.decodePixels().buffer)).length, ge = new Uint8Array(H * (32 / _.pixelBitlength) * _.colors), re = new Uint8Array(H * (32 / _.pixelBitlength)), D = _.colors > 1, ue = 0, q = 0;
12508
12508
  for (var P = 0; ue < H; )
12509
- z = Z[ue++], ye[q++] = z >>> 0 & 255, D && (ye[q++] = z >>> 16 & 255, z = Z[ue++], ye[q++] = z >>> 0 & 255), re[P++] = z >>> 16 & 255;
12509
+ z = Z[ue++], ge[q++] = z >>> 0 & 255, D && (ge[q++] = z >>> 16 & 255, z = Z[ue++], ge[q++] = z >>> 0 & 255), re[P++] = z >>> 16 & 255;
12510
12510
  x = 8;
12511
12511
  }
12512
- y !== e.image_compression.NONE && t() ? (h = o(ye, _.width * _.colors, _.colors, y), Ae = o(re, _.width, 1, y)) : (h = ye, Ae = re, me = void 0);
12512
+ y !== e.image_compression.NONE && t() ? (h = o(ge, _.width * _.colors, _.colors, y), Ae = o(re, _.width, 1, y)) : (h = ge, Ae = re, me = void 0);
12513
12513
  }
12514
12514
  if (_.colorType === 3 && (C = this.color_spaces.INDEXED, O = _.palette, _.transparency.indexed)) {
12515
12515
  var N = _.transparency.indexed, ne = 0;
@@ -12820,7 +12820,7 @@ function(e) {
12820
12820
  */
12821
12821
  function(e) {
12822
12822
  function t() {
12823
- return (ut.canvg ? Promise.resolve(ut.canvg) : import("./index.es-c4389a61.js")).catch(function(o) {
12823
+ return (ut.canvg ? Promise.resolve(ut.canvg) : import("./index.es-9d6e5c62.js")).catch(function(o) {
12824
12824
  return Promise.reject(new Error("Could not load canvg: " + o));
12825
12825
  }).then(function(o) {
12826
12826
  return o.default ? o.default : o;
@@ -13186,7 +13186,7 @@ function(e) {
13186
13186
  ne++;
13187
13187
  }
13188
13188
  }
13189
- }, ye = function(D, z, ue) {
13189
+ }, ge = function(D, z, ue) {
13190
13190
  var q = D.split(""), me = { hiLevel: j };
13191
13191
  return ue || (ue = []), H(q, ue, me), function(ie, le, S) {
13192
13192
  if (S.hiLevel !== 0 && c)
@@ -13204,20 +13204,20 @@ function(e) {
13204
13204
  if (n && u && A ^ i)
13205
13205
  j = A ? 1 : 0, D = Z(D, z, ue);
13206
13206
  else if (!n && u && i)
13207
- j = A ? 1 : 0, D = ye(D, z, ue), D = Z(D, z);
13207
+ j = A ? 1 : 0, D = ge(D, z, ue), D = Z(D, z);
13208
13208
  else if (!n || A || u || i) {
13209
13209
  if (n && !u && A ^ i)
13210
- D = Z(D, z), A ? (j = 0, D = ye(D, z, ue)) : (j = 1, D = ye(D, z, ue), D = Z(D, z));
13210
+ D = Z(D, z), A ? (j = 0, D = ge(D, z, ue)) : (j = 1, D = ge(D, z, ue), D = Z(D, z));
13211
13211
  else if (n && A && !u && i)
13212
- j = 1, D = ye(D, z, ue), D = Z(D, z);
13212
+ j = 1, D = ge(D, z, ue), D = Z(D, z);
13213
13213
  else if (!n && !u && A ^ i) {
13214
13214
  var q = c;
13215
- A ? (j = 1, D = ye(D, z, ue), j = 0, c = !1, D = ye(D, z, ue), c = q) : (j = 0, D = ye(D, z, ue), D = Z(D, z), j = 1, c = !1, D = ye(D, z, ue), c = q, D = Z(D, z));
13215
+ A ? (j = 1, D = ge(D, z, ue), j = 0, c = !1, D = ge(D, z, ue), c = q) : (j = 0, D = ge(D, z, ue), D = Z(D, z), j = 1, c = !1, D = ge(D, z, ue), c = q, D = Z(D, z));
13216
13216
  }
13217
13217
  } else
13218
- j = 0, D = ye(D, z, ue);
13218
+ j = 0, D = ge(D, z, ue);
13219
13219
  else
13220
- j = A ? 1 : 0, D = ye(D, z, ue);
13220
+ j = A ? 1 : 0, D = ge(D, z, ue);
13221
13221
  return D;
13222
13222
  }, this.__bidiEngine__.setOptions = function(D) {
13223
13223
  D && (n = D.isInputVisual, u = D.isOutputVisual, A = D.isInputRtl, i = D.isOutputRtl, c = D.isSymmetricSwapping);
@@ -13423,7 +13423,7 @@ var Cb = function(e) {
13423
13423
  t.pos = f;
13424
13424
  }
13425
13425
  return e.encode = function(t, o) {
13426
- var r, l, a, n, A, u, i, c, f, h, s, v, y, C, x, _, j, K, O, Ae, Z, H, re, ye, D, z, ue, q, me, ie, le, S, P, N, ne, k, L, Q, U, W, T, de, he, be, ce, G;
13426
+ var r, l, a, n, A, u, i, c, f, h, s, v, y, C, x, _, j, K, O, Ae, Z, H, re, ge, D, z, ue, q, me, ie, le, S, P, N, ne, k, L, Q, U, W, T, de, he, be, ce, G;
13427
13427
  switch (q = new vr(), n = Object.keys(t).sort(function(X, ae) {
13428
13428
  return X - ae;
13429
13429
  }), o) {
@@ -13439,7 +13439,7 @@ var Cb = function(e) {
13439
13439
  case "unicode":
13440
13440
  for (z = [], f = [], j = 0, _ = {}, r = {}, x = i = null, ie = 0, N = n.length; ie < N; ie++)
13441
13441
  _[O = t[l = n[ie]]] == null && (_[O] = ++j), r[l] = { old: O, new: _[O] }, A = _[O] - l, x != null && A === i || (x && f.push(x), z.push(l), i = A), x = l;
13442
- for (x && f.push(x), f.push(65535), z.push(65535), ye = 2 * (re = z.length), H = 2 * Math.pow(Math.log(re) / Math.LN2, 2), h = Math.log(H / 2) / Math.LN2, Z = 2 * re - H, u = [], Ae = [], s = [], v = le = 0, ne = z.length; le < ne; v = ++le) {
13442
+ for (x && f.push(x), f.push(65535), z.push(65535), ge = 2 * (re = z.length), H = 2 * Math.pow(Math.log(re) / Math.LN2, 2), h = Math.log(H / 2) / Math.LN2, Z = 2 * re - H, u = [], Ae = [], s = [], v = le = 0, ne = z.length; le < ne; v = ++le) {
13443
13443
  if (D = z[v], c = f[v], D === 65535) {
13444
13444
  u.push(0), Ae.push(0);
13445
13445
  break;
@@ -13450,7 +13450,7 @@ var Cb = function(e) {
13450
13450
  else
13451
13451
  u.push(ue - D), Ae.push(0);
13452
13452
  }
13453
- for (q.writeUInt16(3), q.writeUInt16(1), q.writeUInt32(12), q.writeUInt16(4), q.writeUInt16(16 + 8 * re + 2 * s.length), q.writeUInt16(0), q.writeUInt16(ye), q.writeUInt16(H), q.writeUInt16(h), q.writeUInt16(Z), T = 0, k = f.length; T < k; T++)
13453
+ for (q.writeUInt16(3), q.writeUInt16(1), q.writeUInt32(12), q.writeUInt16(4), q.writeUInt16(16 + 8 * re + 2 * s.length), q.writeUInt16(0), q.writeUInt16(ge), q.writeUInt16(H), q.writeUInt16(h), q.writeUInt16(Z), T = 0, k = f.length; T < k; T++)
13454
13454
  l = f[T], q.writeUInt16(l);
13455
13455
  for (q.writeUInt16(0), de = 0, L = z.length; de < L; de++)
13456
13456
  l = z[de], q.writeUInt16(l);
@@ -14319,7 +14319,7 @@ function sc(e, t, o, r, l) {
14319
14319
  if (x === 0)
14320
14320
  j = K = O = _;
14321
14321
  else {
14322
- const Ae = (re, ye, D) => (D < 0 && (D += 1), D > 1 && (D -= 1), D < 0.16666666666666666 ? re + (ye - re) * 6 * D : D < 0.5 ? ye : D < 0.6666666666666666 ? re + (ye - re) * (0.6666666666666666 - D) * 6 : re), Z = _ < 0.5 ? _ * (1 + x) : _ + x - _ * x, H = 2 * _ - Z;
14322
+ const Ae = (re, ge, D) => (D < 0 && (D += 1), D > 1 && (D -= 1), D < 0.16666666666666666 ? re + (ge - re) * 6 * D : D < 0.5 ? ge : D < 0.6666666666666666 ? re + (ge - re) * (0.6666666666666666 - D) * 6 : re), Z = _ < 0.5 ? _ * (1 + x) : _ + x - _ * x, H = 2 * _ - Z;
14323
14323
  j = Ae(H, Z, C + 0.3333333333333333), K = Ae(H, Z, C), O = Ae(H, Z, C - 0.3333333333333333);
14324
14324
  }
14325
14325
  return {
@@ -17347,7 +17347,7 @@ const Zb = {
17347
17347
  fontSize: 18,
17348
17348
  color: "#2D353C",
17349
17349
  bold: !0,
17350
- textAlign: "left",
17350
+ textAlign: "center",
17351
17351
  subtitle: {
17352
17352
  text: "",
17353
17353
  color: "#2D353C",
@@ -17467,10 +17467,10 @@ const Zb = {
17467
17467
  }
17468
17468
  }[A];
17469
17469
  }
17470
- const l = ge(() => r(o.shape)), a = ge(() => o.shape !== "star" ? null : $r({
17470
+ const l = ye(() => r(o.shape)), a = ye(() => o.shape !== "star" ? null : $r({
17471
17471
  plot: { x: o.plot.x, y: o.plot.y },
17472
17472
  radius: o.radius * (o.isSelected ? o.zoom : 1)
17473
- })), n = ge(() => ko({
17473
+ })), n = ye(() => ko({
17474
17474
  plot: { x: o.plot.x, y: o.plot.y },
17475
17475
  radius: o.radius * (o.isSelected ? o.zoom : 1),
17476
17476
  sides: l.value.points,
@@ -17548,7 +17548,7 @@ const Qt = (e, t) => {
17548
17548
  yr((f) => ({
17549
17549
  19008478: _e(A)
17550
17550
  }));
17551
- const { backgroundColor: o, color: r, outline: l } = t.config.th, { backgroundColor: a, color: n, outline: A } = t.config.td, u = ge(() => t.config.breakpoint), i = J(null), c = J(!1);
17551
+ const { backgroundColor: o, color: r, outline: l } = t.config.th, { backgroundColor: a, color: n, outline: A } = t.config.td, u = ye(() => t.config.breakpoint), i = J(null), c = J(!1);
17552
17552
  return el(() => {
17553
17553
  const f = new ResizeObserver((h) => {
17554
17554
  h.forEach((s) => {
@@ -17708,7 +17708,7 @@ const jw = ["innerHTML"], Gw = {
17708
17708
  }
17709
17709
  },
17710
17710
  setup(e) {
17711
- const t = e, o = J(null), r = J(k1()), l = ge(() => Vw({
17711
+ const t = e, o = J(null), r = J(k1()), l = ye(() => Vw({
17712
17712
  tooltip: o.value,
17713
17713
  chart: t.parent,
17714
17714
  clientPosition: r.value
@@ -17757,7 +17757,7 @@ const Xw = ["height", "width", "innerHTML"], qw = {
17757
17757
  }
17758
17758
  },
17759
17759
  setup(e) {
17760
- const t = e, o = ge(() => ({
17760
+ const t = e, o = ye(() => ({
17761
17761
  annotator: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" d="M3 17 4 12C5 12 7 13 8 15L3 17M4 12 11 2C12 2 14 3 15 5L8 15M3 19C5 19 5 19 8 19 11 19 11 18 13 18 15 18 15 19 19 19M12 1C13 1 15 2 16 4" />`,
17762
17762
  chart3dBar: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" d="M10 1 6 3 6 17 10 19 14 17 14 3 10 1M6 3 10 5 14 3M10 5 10 19" stroke-linecap="round" stroke-linejoin="round" />`,
17763
17763
  chartAgePyramid: `<path fill="none" stroke="${t.stroke}" stroke-width="${t.strokeWidth}" stroke-linecap="round" d="M3 19 17 19M2 17 18 17M1 15 19 15M2 13 18 13M4 11 16 11M2 9 18 9M4 7 17 7M7 5 13 5M9 3 11 3M10 1 11 1" />`,
@@ -19670,7 +19670,7 @@ function Km(e, t, o, r, l, a) {
19670
19670
  ], 4)) : E("", !0)
19671
19671
  ], 14, o5);
19672
19672
  }
19673
- const uH = /* @__PURE__ */ Qt(t5, [["render", Km], ["__scopeId", "data-v-386450ea"]]);
19673
+ const sH = /* @__PURE__ */ Qt(t5, [["render", Km], ["__scopeId", "data-v-386450ea"]]);
19674
19674
  const Vm = {
19675
19675
  name: "vue-ui-table",
19676
19676
  props: {
@@ -21096,7 +21096,7 @@ function fC(e, t, o, r, l, a) {
21096
21096
  ], 4)) : E("", !0)
21097
21097
  ], 4);
21098
21098
  }
21099
- const cH = /* @__PURE__ */ Qt(Vm, [["render", fC], ["__scopeId", "data-v-15ec08d4"]]);
21099
+ const uH = /* @__PURE__ */ Qt(Vm, [["render", fC], ["__scopeId", "data-v-15ec08d4"]]);
21100
21100
  const vC = { class: "vue-data-ui-legend-item" }, gC = ["onClick", "height", "width"], yC = {
21101
21101
  __name: "Legend",
21102
21102
  props: {
@@ -21165,7 +21165,7 @@ const pC = ["id"], bC = ["viewBox"], wC = ["id"], mC = ["stop-color"], xC = ["st
21165
21165
  },
21166
21166
  emits: ["selectLegend"],
21167
21167
  setup(e, { expose: t, emit: o }) {
21168
- const r = e, l = J(Mt()), a = J(St.vue_ui_donut), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(!1), f = J(""), h = J(null), s = J(0), v = ge(() => It({
21168
+ const r = e, l = J(Mt()), a = J(St.vue_ui_donut), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(!1), f = J(""), h = J(null), s = J(0), v = ye(() => It({
21169
21169
  userConfig: r.config,
21170
21170
  defaultConfig: a.value
21171
21171
  })), y = J({
@@ -21174,7 +21174,7 @@ const pC = ["id"], bC = ["viewBox"], wC = ["id"], mC = ["stop-color"], xC = ["st
21174
21174
  },
21175
21175
  inside: v.value.style.chart.layout.useDiv,
21176
21176
  showTable: v.value.table.show
21177
- }), C = ge(() => ({
21177
+ }), C = ye(() => ({
21178
21178
  height: y.value.inside || n.value ? 512 : 360,
21179
21179
  width: 512
21180
21180
  })), x = J([]);
@@ -21185,7 +21185,7 @@ const pC = ["id"], bC = ["viewBox"], wC = ["id"], mC = ["stop-color"], xC = ["st
21185
21185
  value: W.value
21186
21186
  })));
21187
21187
  }
21188
- const j = ge(() => r.dataset.map((U, W) => ({
21188
+ const j = ye(() => r.dataset.map((U, W) => ({
21189
21189
  name: U.name,
21190
21190
  color: Ct(U.color) || qe[W] || qe[W % qe.length],
21191
21191
  value: U.values.reduce((T, de) => T + de, 0),
@@ -21198,12 +21198,12 @@ const pC = ["id"], bC = ["viewBox"], wC = ["id"], mC = ["stop-color"], xC = ["st
21198
21198
  value: U.value
21199
21199
  }));
21200
21200
  }
21201
- const O = ge(() => r.dataset.map((U, W) => ({
21201
+ const O = ye(() => r.dataset.map((U, W) => ({
21202
21202
  name: U.name,
21203
21203
  color: Ct(U.color) || qe[W] || qe[W % qe.length],
21204
21204
  value: U.values.reduce((T, de) => T + de, 0),
21205
21205
  absoluteValues: U.values
21206
- })).sort((U, W) => W.value - U.value).filter((U, W) => !x.value.includes(W))), Ae = ge(() => r.dataset.map((U, W) => ({
21206
+ })).sort((U, W) => W.value - U.value).filter((U, W) => !x.value.includes(W))), Ae = ye(() => r.dataset.map((U, W) => ({
21207
21207
  name: U.name,
21208
21208
  color: Ct(U.color) || qe[W] || qe[W % qe.length],
21209
21209
  value: U.values.reduce((T, de) => T + de, 0),
@@ -21211,24 +21211,24 @@ const pC = ["id"], bC = ["viewBox"], wC = ["id"], mC = ["stop-color"], xC = ["st
21211
21211
  })).sort((U, W) => W.value - U.value).map((U, W) => ({
21212
21212
  ...U,
21213
21213
  opacity: x.value.includes(W) ? 0.5 : 1
21214
- }))), Z = ge(() => ({
21214
+ }))), Z = ye(() => ({
21215
21215
  cy: "donut-div-legend",
21216
21216
  backgroundColor: v.value.style.chart.legend.backgroundColor,
21217
21217
  color: v.value.style.chart.legend.color,
21218
21218
  fontSize: v.value.style.chart.legend.fontSize,
21219
21219
  paddingBottom: 12,
21220
21220
  fontWeight: v.value.style.chart.legend.bold ? "bold" : ""
21221
- })), H = ge(() => ur({ series: O.value }, C.value.width / 2, C.value.height / 2, 130, 130, 1.99999, 2, 1, 360, 105.25, a.value.style.chart.layout.donut.strokeWidth));
21221
+ })), H = ye(() => ur({ series: O.value }, C.value.width / 2, C.value.height / 2, 130, 130, 1.99999, 2, 1, 360, 105.25, a.value.style.chart.layout.donut.strokeWidth));
21222
21222
  function re(U) {
21223
21223
  return U.proportion * 100 > v.value.style.chart.layout.labels.dataLabels.hideUnderValue;
21224
21224
  }
21225
- function ye(U, W) {
21225
+ function ge(U, W) {
21226
21226
  return isNaN(U.value / D(W)) ? 0 : (U.value / D(W) * 100).toFixed(0) + "%";
21227
21227
  }
21228
21228
  function D(U) {
21229
21229
  return [...U].map((W) => W.value).reduce((W, T) => W + T, 0);
21230
21230
  }
21231
- const z = ge(() => O.value.map((U) => U.value).reduce((U, W) => U + W, 0)), ue = ge(() => z.value / O.value.length);
21231
+ const z = ye(() => O.value.map((U) => U.value).reduce((U, W) => U + W, 0)), ue = ye(() => z.value / O.value.length);
21232
21232
  function q(U, W, T = !0) {
21233
21233
  c.value = T, h.value = W;
21234
21234
  let de = "";
@@ -21262,7 +21262,7 @@ const pC = ["id"], bC = ["viewBox"], wC = ["id"], mC = ["stop-color"], xC = ["st
21262
21262
  });
21263
21263
  }, 100);
21264
21264
  }
21265
- const N = ge(() => {
21265
+ const N = ye(() => {
21266
21266
  const U = O.value.map((T) => ({
21267
21267
  name: T.name,
21268
21268
  color: T.color
@@ -21277,7 +21277,7 @@ const pC = ["id"], bC = ["viewBox"], wC = ["id"], mC = ["stop-color"], xC = ["st
21277
21277
  Do({ csvContent: T, title: v.value.style.chart.title.text || "vue-ui-donut" });
21278
21278
  });
21279
21279
  }
21280
- const k = ge(() => {
21280
+ const k = ye(() => {
21281
21281
  const U = [
21282
21282
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
21283
21283
  Number(z.value.toFixed(v.value.table.td.roundingValue)).toLocaleString(),
@@ -21518,7 +21518,7 @@ const pC = ["id"], bC = ["viewBox"], wC = ["id"], mC = ["stop-color"], xC = ["st
21518
21518
  fill: v.value.style.chart.layout.labels.percentage.color,
21519
21519
  "font-size": v.value.style.chart.layout.labels.percentage.fontSize,
21520
21520
  style: $(`font-weight:${v.value.style.chart.layout.labels.percentage.bold ? "bold" : ""}`)
21521
- }, M(ye(T, H.value)), 13, HC)) : E("", !0),
21521
+ }, M(ge(T, H.value)), 13, HC)) : E("", !0),
21522
21522
  re(T) && y.value.dataLabels.show ? (g(), p("text", {
21523
21523
  key: 2,
21524
21524
  "text-anchor": _e(eo)(T).anchor,
@@ -21601,7 +21601,7 @@ const pC = ["id"], bC = ["viewBox"], wC = ["id"], mC = ["stop-color"], xC = ["st
21601
21601
  }, 8, ["colNames", "head", "body", "config", "title"])) : E("", !0)
21602
21602
  ], 14, pC));
21603
21603
  }
21604
- }, dH = /* @__PURE__ */ Qt(WC, [["__scopeId", "data-v-8a25d943"]]);
21604
+ }, cH = /* @__PURE__ */ Qt(WC, [["__scopeId", "data-v-8a25d943"]]);
21605
21605
  const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["stop-color"], e4 = { key: 0 }, t4 = ["font-size", "fill", "x", "y"], o4 = ["font-size", "fill", "x", "y"], l4 = ["rx", "x", "y", "height", "width", "stroke", "stroke-width"], a4 = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width"], r4 = ["onMouseover", "x", "y", "height", "width"], n4 = {
21606
21606
  key: 1,
21607
21607
  x: 0,
@@ -21627,21 +21627,21 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
21627
21627
  },
21628
21628
  emits: ["selectLegend"],
21629
21629
  setup(e, { expose: t, emit: o }) {
21630
- const r = e, l = J(Mt()), a = J(St.vue_ui_waffle), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(!1), f = J(""), h = J(null), s = J(0), v = ge(() => It({
21630
+ const r = e, l = J(Mt()), a = J(St.vue_ui_waffle), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(!1), f = J(""), h = J(null), s = J(0), v = ye(() => It({
21631
21631
  userConfig: r.config,
21632
21632
  defaultConfig: a.value
21633
21633
  })), y = J({
21634
21634
  inside: !v.value.style.chart.layout.useDiv,
21635
21635
  showTable: v.value.table.show
21636
- }), C = ge(() => ({
21636
+ }), C = ye(() => ({
21637
21637
  height: y.value.inside ? 704 : 512,
21638
21638
  width: 512
21639
- })), x = ge(() => ({
21639
+ })), x = ye(() => ({
21640
21640
  top: y.value.inside ? 64 : 0,
21641
21641
  left: 0,
21642
21642
  height: 512,
21643
21643
  width: 512
21644
- })), _ = ge(() => (x.value.width - v.value.style.chart.layout.grid.size * v.value.style.chart.layout.grid.spaceBetween) / v.value.style.chart.layout.grid.size), j = ge(() => x.value.width / v.value.style.chart.layout.grid.size);
21644
+ })), _ = ye(() => (x.value.width - v.value.style.chart.layout.grid.size * v.value.style.chart.layout.grid.spaceBetween) / v.value.style.chart.layout.grid.size), j = ye(() => x.value.width / v.value.style.chart.layout.grid.size);
21645
21645
  function K(be) {
21646
21646
  const ce = be.reduce((ae, ee) => ae + ee, 0), G = be.map((ae) => Math.round(ae / ce * 100) / 100), X = G.reduce((ae, ee) => ae + ee, 0);
21647
21647
  if (X !== 1) {
@@ -21650,24 +21650,24 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
21650
21650
  }
21651
21651
  return G;
21652
21652
  }
21653
- const O = ge(() => r.dataset.map((be, ce) => ({
21653
+ const O = ye(() => r.dataset.map((be, ce) => ({
21654
21654
  ...be,
21655
21655
  color: Ct(be.color) || qe[ce] || qe[ce % qe.length],
21656
21656
  uid: `serie_${ce}`
21657
- }))), Ae = ge(() => {
21657
+ }))), Ae = ye(() => {
21658
21658
  const be = O.value.filter((ce, G) => !S.value.includes(ce.uid)).map((ce, G) => ce.values.reduce((X, ae) => X + ae, 0));
21659
21659
  return K(be);
21660
- }), Z = ge(() => {
21660
+ }), Z = ye(() => {
21661
21661
  const be = O.value.map((ce, G) => ce.values.reduce((X, ae) => X + ae));
21662
21662
  return K(be);
21663
- }), H = ge(() => O.value.filter((be, ce) => !S.value.includes(be.uid)).map((be, ce) => ({
21663
+ }), H = ye(() => O.value.filter((be, ce) => !S.value.includes(be.uid)).map((be, ce) => ({
21664
21664
  uid: be.uid,
21665
21665
  name: be.name,
21666
21666
  color: be.color,
21667
21667
  value: be.values.reduce((G, X) => G + X, 0),
21668
21668
  absoluteValues: be.values,
21669
21669
  proportion: Ae.value[ce] * Math.pow(v.value.style.chart.layout.grid.size, 2)
21670
- })).sort((be, ce) => ce.value - be.value)), re = ge(() => O.value.map((be, ce) => ({
21670
+ })).sort((be, ce) => ce.value - be.value)), re = ye(() => O.value.map((be, ce) => ({
21671
21671
  uid: be.uid,
21672
21672
  name: be.name,
21673
21673
  color: be.color,
@@ -21675,7 +21675,7 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
21675
21675
  absoluteValues: be.values,
21676
21676
  proportion: Z.value[ce] * Math.pow(v.value.style.chart.layout.grid.size, 2)
21677
21677
  })).sort((be, ce) => ce.value - be.value));
21678
- function ye() {
21678
+ function ge() {
21679
21679
  return re.value.map((be) => ({
21680
21680
  name: be.name,
21681
21681
  color: be.color,
@@ -21683,7 +21683,7 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
21683
21683
  proportion: be.proportion / Math.pow(v.value.style.chart.layout.grid.size, 2)
21684
21684
  }));
21685
21685
  }
21686
- const D = ge(() => H.value.map((be, ce) => {
21686
+ const D = ye(() => H.value.map((be, ce) => {
21687
21687
  const G = ce > 0 ? H.value.filter((ee, I) => I < ce).map((ee) => ee.proportion).reduce((ee, I) => ee + I) + be.proportion - H.value[ce - 1].proportion : be.proportion - be.proportion, X = G + be.proportion, ae = [];
21688
21688
  for (let ee = G; ee <= X; ee += 1)
21689
21689
  ae.push(ee);
@@ -21692,13 +21692,13 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
21692
21692
  start: ce > 0 ? H.value.filter((ee, I) => I < ce).map((ee) => ee.proportion).reduce((ee, I) => ee + I) + be.proportion - H.value[ce - 1].proportion : be.proportion - be.proportion,
21693
21693
  rects: ae
21694
21694
  };
21695
- })), z = ge(() => D.value.flatMap((be, ce) => be.rects.map((G, X) => ({
21695
+ })), z = ye(() => D.value.flatMap((be, ce) => be.rects.map((G, X) => ({
21696
21696
  name: be.name,
21697
21697
  color: be.color,
21698
21698
  value: be.value,
21699
21699
  serieIndex: ce,
21700
21700
  ...be
21701
- })))), ue = ge(() => {
21701
+ })))), ue = ye(() => {
21702
21702
  const be = [];
21703
21703
  for (let ce = 0; ce < v.value.style.chart.layout.grid.size; ce += 1)
21704
21704
  for (let G = 0; G < v.value.style.chart.layout.grid.size; G += 1)
@@ -21707,7 +21707,7 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
21707
21707
  y: (v.value.style.chart.layout.grid.vertical ? G : ce) * (_.value + v.value.style.chart.layout.grid.spaceBetween) + x.value.top
21708
21708
  });
21709
21709
  return be;
21710
- }), q = ge(() => O.value.map((be, ce) => ({
21710
+ }), q = ye(() => O.value.map((be, ce) => ({
21711
21711
  name: be.name,
21712
21712
  color: be.color || qe[ce] || qe[ce % qe.length],
21713
21713
  value: be.values.reduce((G, X) => G + X, 0),
@@ -21716,14 +21716,14 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
21716
21716
  })).sort((be, ce) => ce.value - be.value).map((be, ce) => ({
21717
21717
  ...be,
21718
21718
  opacity: S.value.includes(be.uid) ? 0.5 : 1
21719
- }))), me = ge(() => ({
21719
+ }))), me = ye(() => ({
21720
21720
  cy: "waffle-div-legend",
21721
21721
  backgroundColor: v.value.style.chart.legend.backgroundColor,
21722
21722
  color: v.value.style.chart.legend.color,
21723
21723
  fontSize: v.value.style.chart.legend.fontSize,
21724
21724
  paddingBottom: 12,
21725
21725
  fontWeight: v.value.style.chart.legend.bold ? "bold" : ""
21726
- })), ie = ge(() => H.value.map((be) => be.value).reduce((be, ce) => be + ce, 0));
21726
+ })), ie = ye(() => H.value.map((be) => be.value).reduce((be, ce) => be + ce, 0));
21727
21727
  function le(be) {
21728
21728
  if (S.value.length === r.dataset.length)
21729
21729
  return;
@@ -21741,7 +21741,7 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
21741
21741
  proportion: ce.proportion / Math.pow(v.value.style.chart.layout.grid.size, 2)
21742
21742
  })));
21743
21743
  }
21744
- const N = ge(() => {
21744
+ const N = ye(() => {
21745
21745
  const be = H.value.map((G) => ({
21746
21746
  name: G.name,
21747
21747
  color: G.color
@@ -21783,7 +21783,7 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
21783
21783
  Do({ csvContent: G, title: v.value.style.chart.title.text || "vue-ui-waffle" });
21784
21784
  });
21785
21785
  }
21786
- const T = ge(() => {
21786
+ const T = ye(() => {
21787
21787
  const be = [
21788
21788
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
21789
21789
  Number(ie.value.toFixed(v.value.table.td.roundingValue)).toLocaleString(),
@@ -21824,7 +21824,7 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
21824
21824
  de.value = be, s.value += 1;
21825
21825
  }
21826
21826
  return t({
21827
- getData: ye,
21827
+ getData: ge,
21828
21828
  generatePdf: L,
21829
21829
  generateCsv: W,
21830
21830
  generateImage: U
@@ -22020,7 +22020,7 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
22020
22020
  }, 8, ["colNames", "head", "body", "config", "title"])) : E("", !0)
22021
22021
  ], 14, XC));
22022
22022
  }
22023
- }, hH = /* @__PURE__ */ Qt(f4, [["__scopeId", "data-v-126cd3af"]]), v4 = { style: { width: "100%" } }, g4 = ["viewBox"], y4 = ["id"], p4 = ["stop-color"], b4 = ["stop-color"], w4 = ["height", "width", "fill", "rx"], m4 = ["height", "width", "fill", "rx"], x4 = ["height", "width", "fill", "rx"], B4 = {
22023
+ }, dH = /* @__PURE__ */ Qt(f4, [["__scopeId", "data-v-126cd3af"]]), v4 = { style: { width: "100%" } }, g4 = ["viewBox"], y4 = ["id"], p4 = ["stop-color"], b4 = ["stop-color"], w4 = ["height", "width", "fill", "rx"], m4 = ["height", "width", "fill", "rx"], x4 = ["height", "width", "fill", "rx"], B4 = {
22024
22024
  __name: "vue-ui-sparkbar",
22025
22025
  props: {
22026
22026
  config: {
@@ -22037,13 +22037,13 @@ const XC = ["id"], qC = ["viewBox"], YC = ["id"], JC = ["stop-color"], ZC = ["st
22037
22037
  }
22038
22038
  },
22039
22039
  setup(e) {
22040
- const t = e, o = J(Mt()), r = J(St.vue_ui_sparkbar), l = ge(() => It({
22040
+ const t = e, o = J(Mt()), r = J(St.vue_ui_sparkbar), l = ye(() => It({
22041
22041
  userConfig: t.config,
22042
22042
  defaultConfig: r.value
22043
22043
  })), a = J({
22044
22044
  width: 500,
22045
22045
  height: 16
22046
- }), n = ge(() => Math.max(...t.dataset.map((c) => c.value))), A = ge(() => t.dataset.map((c, f) => ({
22046
+ }), n = ye(() => Math.max(...t.dataset.map((c) => c.value))), A = ye(() => t.dataset.map((c, f) => ({
22047
22047
  ...c,
22048
22048
  color: Ct(c.color) || qe[f] || qe[f % qe.length]
22049
22049
  })));
@@ -22142,7 +22142,7 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22142
22142
  },
22143
22143
  emits: ["selectLegend"],
22144
22144
  setup(e, { expose: t, emit: o }) {
22145
- const r = e, l = J(Mt()), a = J(St.vue_ui_radar), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(!1), f = J(""), h = J(0), s = ge(() => It({
22145
+ const r = e, l = J(Mt()), a = J(St.vue_ui_radar), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(!1), f = J(""), h = J(0), s = ye(() => It({
22146
22146
  userConfig: r.config,
22147
22147
  defaultConfig: a.value
22148
22148
  })), v = J({
@@ -22151,7 +22151,7 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22151
22151
  },
22152
22152
  inside: !s.value.style.chart.layout.useDiv,
22153
22153
  showTable: s.value.table.show
22154
- }), y = ge(() => ({
22154
+ }), y = ye(() => ({
22155
22155
  style: {
22156
22156
  backgroundColor: s.value.style.chart.tooltip.backgroundColor,
22157
22157
  labels: {
@@ -22165,7 +22165,7 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22165
22165
  opacity: 30
22166
22166
  }
22167
22167
  }
22168
- })), C = ge(() => ({
22168
+ })), C = ye(() => ({
22169
22169
  height: v.value.inside ? 412 : 312,
22170
22170
  width: 512
22171
22171
  })), x = J([]);
@@ -22183,25 +22183,25 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22183
22183
  proportion: T.totalProportion
22184
22184
  }));
22185
22185
  }
22186
- const K = ge(() => r.dataset.categories.map((T, de) => ({
22186
+ const K = ye(() => r.dataset.categories.map((T, de) => ({
22187
22187
  name: T.name,
22188
22188
  categoryId: `radar_category_${l.value}_${de}`,
22189
22189
  color: Ct(T.color) || qe[de] || qe[de % qe.length]
22190
- }))), O = ge(() => r.dataset.series.map((T, de) => ({
22190
+ }))), O = ye(() => r.dataset.series.map((T, de) => ({
22191
22191
  ...T,
22192
22192
  color: Ct(T.color) || qe[de] || qe[de % qe.length],
22193
22193
  serieId: `radar_serie_${l.value}_${de}`
22194
- }))), Ae = ge(() => Math.max(...O.value.flatMap((T) => T.values))), Z = ge(() => O.value.length), H = ge(() => ko({
22194
+ }))), Ae = ye(() => Math.max(...O.value.flatMap((T) => T.values))), Z = ye(() => O.value.length), H = ye(() => ko({
22195
22195
  plot: { x: 256, y: C.value.height / 2 },
22196
22196
  radius: 128,
22197
22197
  sides: Z.value,
22198
22198
  rotation: 0
22199
- })), re = ge(() => {
22199
+ })), re = ye(() => {
22200
22200
  const T = [];
22201
22201
  for (let de = 0; de < 128; de += 128 / s.value.style.chart.layout.grid.graduations)
22202
22202
  T.push(de);
22203
22203
  return T;
22204
- }), ye = ge(() => H.value.coordinates.map((T, de) => {
22204
+ }), ge = ye(() => H.value.coordinates.map((T, de) => {
22205
22205
  const he = O.value[de].values.map((be) => z({
22206
22206
  centerX: C.value.width / 2,
22207
22207
  centerY: C.value.height / 2,
@@ -22225,7 +22225,7 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22225
22225
  y: de + (be - de) * ce
22226
22226
  };
22227
22227
  }
22228
- const ue = ge(() => {
22228
+ const ue = ye(() => {
22229
22229
  const T = O.value.map((de, he) => de.values.map((be) => be / (de.target || Ae.value)));
22230
22230
  return K.value.map((de, he) => ({
22231
22231
  ...de,
@@ -22233,7 +22233,7 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22233
22233
  shape: "circle",
22234
22234
  opacity: x.value.includes(he) ? 0.5 : 1
22235
22235
  }));
22236
- }), q = ge(() => ({
22236
+ }), q = ye(() => ({
22237
22237
  cy: "radar-div-legend",
22238
22238
  backgroundColor: s.value.style.chart.legend.backgroundColor,
22239
22239
  color: s.value.style.chart.legend.color,
@@ -22241,14 +22241,14 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22241
22241
  paddingBottom: 12,
22242
22242
  fontWeight: s.value.style.chart.legend.bold ? "bold" : ""
22243
22243
  }));
22244
- ge(() => {
22244
+ ye(() => {
22245
22245
  const T = [{ name: "", color: "" }, { name: s.value.translations.target, color: "" }, ...ue.value], de = r.dataset.series.map((he, be) => [he.name, he.target, ...he.values.flatMap((ce) => [
22246
22246
  ce ? ce.toFixed(s.value.table.td.roundingValue) : "-",
22247
22247
  isNaN(ce / he.target) ? "" : (ce / he.target * 100).toFixed(s.value.table.td.roundingPercentage) + "%"
22248
22248
  ])]);
22249
22249
  return { head: T, body: de };
22250
22250
  });
22251
- const me = ge(() => {
22251
+ const me = ye(() => {
22252
22252
  const T = [
22253
22253
  { name: s.value.translations.datapoint, color: "" },
22254
22254
  { name: s.value.translations.target, color: "" },
@@ -22428,7 +22428,7 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22428
22428
  }, M(s.value.style.chart.title.subtitle.text), 13, U4)) : E("", !0)
22429
22429
  ])) : E("", !0),
22430
22430
  s.value.style.chart.layout.grid.show ? (g(), p("g", M4, [
22431
- (g(!0), p(we, null, xe(ye.value, (he) => (g(), p("line", {
22431
+ (g(!0), p(we, null, xe(ge.value, (he) => (g(), p("line", {
22432
22432
  x1: C.value.width / 2,
22433
22433
  y1: C.value.height / 2,
22434
22434
  x2: he.x,
@@ -22459,7 +22459,7 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22459
22459
  "stroke-linecap": "round"
22460
22460
  }, null, 8, $4),
22461
22461
  s.value.style.chart.layout.labels.dataLabels.show ? (g(), p("g", T4, [
22462
- (g(!0), p(we, null, xe(ye.value, (he, be) => (g(), p("text", {
22462
+ (g(!0), p(we, null, xe(ge.value, (he, be) => (g(), p("text", {
22463
22463
  x: D(he).x,
22464
22464
  y: D(he).y,
22465
22465
  "text-anchor": D(he).anchor,
@@ -22474,7 +22474,7 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22474
22474
  (g(!0), p(we, null, xe(K.value, (he, be) => (g(), p("g", null, [
22475
22475
  x.value.includes(be) ? E("", !0) : (g(), p("g", D4, [
22476
22476
  w("path", {
22477
- d: _e(Q1)(ye.value.map((ce) => ce.plots[be])),
22477
+ d: _e(Q1)(ge.value.map((ce) => ce.plots[be])),
22478
22478
  stroke: he.color,
22479
22479
  "stroke-width": s.value.style.chart.layout.dataPolygon.strokeWidth,
22480
22480
  fill: s.value.style.chart.layout.dataPolygon.transparent ? "transparent" : s.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${l.value}_${be})` : he.color + _e(Ve)[s.value.style.chart.layout.dataPolygon.opacity]
@@ -22482,7 +22482,7 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22482
22482
  ]))
22483
22483
  ]))), 256)),
22484
22484
  s.value.style.chart.layout.plots.show ? (g(), p("g", z4, [
22485
- (g(!0), p(we, null, xe(ye.value, (he, be) => (g(), p("g", null, [
22485
+ (g(!0), p(we, null, xe(ge.value, (he, be) => (g(), p("g", null, [
22486
22486
  (g(!0), p(we, null, xe(he.plots, (ce, G) => (g(), p("circle", {
22487
22487
  cx: ce.x,
22488
22488
  cy: ce.y,
@@ -22562,7 +22562,7 @@ const C4 = ["id"], k4 = ["viewBox"], _4 = ["id"], F4 = ["stop-color"], S4 = ["st
22562
22562
  ], 4)) : E("", !0)
22563
22563
  ], 14, C4));
22564
22564
  }
22565
- }, fH = /* @__PURE__ */ Qt(G4, [["__scopeId", "data-v-c18a3d96"]]);
22565
+ }, hH = /* @__PURE__ */ Qt(G4, [["__scopeId", "data-v-c18a3d96"]]);
22566
22566
  const W4 = ["id"], X4 = ["viewBox", "id"], q4 = ["id"], Y4 = ["stop-color"], J4 = ["stop-color"], Z4 = { key: 0 }, ek = ["font-size", "fill", "x", "y"], tk = ["font-size", "fill", "x", "y"], ok = { key: 1 }, lk = ["fill", "x", "y", "height", "width", "stroke-width", "stroke", "rx"], ak = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], rk = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], nk = { key: 2 }, Ak = ["points", "fill"], ik = ["points", "fill"], sk = ["points", "fill"], uk = ["points", "fill"], ck = { key: 3 }, dk = ["y", "fill", "font-size"], hk = ["x", "y", "fill", "font-size"], fk = ["x", "y", "fill", "font-size"], vk = ["y", "fill", "font-size"], gk = { key: 4 }, yk = ["x", "y", "font-size", "fill"], pk = ["x", "y", "font-size", "fill"], bk = ["x", "y", "font-size", "fill"], wk = ["id", "font-size"], mk = ["id", "font-size"], xk = ["id", "font-size"], Bk = { key: 5 }, Ck = ["fill", "points"], kk = { key: 6 }, _k = ["x", "y", "font-size", "fill"], Fk = ["y"], Sk = ["onClick"], Qk = ["onClick"], Lk = {
22567
22567
  height: "14",
22568
22568
  width: "14",
@@ -22622,7 +22622,7 @@ const W4 = ["id"], X4 = ["viewBox", "id"], q4 = ["id"], Y4 = ["stop-color"], J4
22622
22622
  });
22623
22623
  }
22624
22624
  }
22625
- const v = ge(() => It({
22625
+ const v = ye(() => It({
22626
22626
  userConfig: r.config,
22627
22627
  defaultConfig: a.value
22628
22628
  })), y = J({
@@ -22631,11 +22631,11 @@ const W4 = ["id"], X4 = ["viewBox", "id"], q4 = ["id"], Y4 = ["stop-color"], J4
22631
22631
  },
22632
22632
  inside: !v.value.style.chart.layout.useDiv,
22633
22633
  showTable: v.value.table.show
22634
- }), C = ge(() => y.value.inside);
22634
+ }), C = ye(() => y.value.inside);
22635
22635
  lf(C, (ce) => {
22636
22636
  s();
22637
22637
  });
22638
- const x = ge(() => {
22638
+ const x = ye(() => {
22639
22639
  const ce = y.value.inside ? 100 : 0, G = y.value.inside ? 100 : 0, X = 48;
22640
22640
  return {
22641
22641
  height: v.value.style.chart.height + ce + G,
@@ -22650,7 +22650,7 @@ const W4 = ["id"], X4 = ["viewBox", "id"], q4 = ["id"], Y4 = ["stop-color"], J4
22650
22650
  centerY: v.value.style.chart.height + ce - v.value.style.chart.height / 2,
22651
22651
  padding: X
22652
22652
  };
22653
- }), _ = ge(() => {
22653
+ }), _ = ye(() => {
22654
22654
  const ce = v.value.style.chart.layout.grid.graduations.steps, G = x.value.usableWidth / (ce * 2), X = x.value.top, ae = [];
22655
22655
  for (let ee = 0; ee < ce; ee += 1)
22656
22656
  ae.push({
@@ -22661,7 +22661,7 @@ const W4 = ["id"], X4 = ["viewBox", "id"], q4 = ["id"], Y4 = ["stop-color"], J4
22661
22661
  opacity: Ve[Math.round((ee + 1) / ce * 20)]
22662
22662
  });
22663
22663
  return ae;
22664
- }), j = ge(() => {
22664
+ }), j = ye(() => {
22665
22665
  let ce = v.value.style.chart.layout.grid.xAxis.max, G = v.value.style.chart.layout.grid.xAxis.min, X = v.value.style.chart.layout.grid.yAxis.max, ae = v.value.style.chart.layout.grid.yAxis.min;
22666
22666
  return v.value.style.chart.layout.grid.xAxis.auto && (ce = Math.max(...O.value.flatMap((ee) => ee.series.map((I) => I.x))), G = Math.min(...O.value.flatMap((ee) => ee.series.map((I) => I.x)))), v.value.style.chart.layout.grid.yAxis.auto && (X = Math.max(...O.value.flatMap((ee) => ee.series.map((I) => I.y))), ae = Math.min(...O.value.flatMap((ee) => ee.series.map((I) => I.y)))), {
22667
22667
  x: {
@@ -22673,17 +22673,17 @@ const W4 = ["id"], X4 = ["viewBox", "id"], q4 = ["id"], Y4 = ["stop-color"], J4
22673
22673
  min: ae
22674
22674
  }
22675
22675
  };
22676
- }), K = J([]), O = ge(() => r.dataset.map((ce, G) => ({
22676
+ }), K = J([]), O = ye(() => r.dataset.map((ce, G) => ({
22677
22677
  ...ce,
22678
22678
  id: `cat_${G}_${l.value}`,
22679
22679
  color: Ct(ce.color) || qe[G]
22680
- }))), Ae = ge(() => O.value.filter((ce) => !K.value.includes(ce.id))), Z = ge(() => O.value.map((ce, G) => ({
22680
+ }))), Ae = ye(() => O.value.filter((ce) => !K.value.includes(ce.id))), Z = ye(() => O.value.map((ce, G) => ({
22681
22681
  ...ce,
22682
22682
  shape: ce.shape || "circle",
22683
22683
  series: ce.series.map((X) => ({
22684
22684
  ...X,
22685
22685
  x: re(X.x),
22686
- y: ye(X.y),
22686
+ y: ge(X.y),
22687
22687
  xValue: X.x,
22688
22688
  yValue: X.y,
22689
22689
  quadrantSide: ie({ x: X.x, y: X.y }),
@@ -22691,14 +22691,14 @@ const W4 = ["id"], X4 = ["viewBox", "id"], q4 = ["id"], Y4 = ["stop-color"], J4
22691
22691
  shape: ce.shape,
22692
22692
  color: ce.color
22693
22693
  }))
22694
- }))), H = ge(() => Ae.value.map((ce, G) => ({
22694
+ }))), H = ye(() => Ae.value.map((ce, G) => ({
22695
22695
  ...ce,
22696
22696
  shape: ce.shape || "circle",
22697
22697
  color: ce.color || qe[G],
22698
22698
  series: ce.series.map((X) => ({
22699
22699
  ...X,
22700
22700
  x: re(X.x),
22701
- y: ye(X.y),
22701
+ y: ge(X.y),
22702
22702
  xValue: X.x,
22703
22703
  yValue: X.y,
22704
22704
  quadrantSide: ie({ x: X.x, y: X.y }),
@@ -22712,11 +22712,11 @@ const W4 = ["id"], X4 = ["viewBox", "id"], q4 = ["id"], Y4 = ["stop-color"], J4
22712
22712
  const G = ce / j.value.x.max;
22713
22713
  return x.value.centerX + x.value.usableWidth / 2 * G;
22714
22714
  }
22715
- function ye(ce) {
22715
+ function ge(ce) {
22716
22716
  const G = ce / j.value.y.max;
22717
22717
  return x.value.centerY + (1 - x.value.usableHeight / 2 * G);
22718
22718
  }
22719
- const D = ge(() => {
22719
+ const D = ye(() => {
22720
22720
  const ce = H.value.flatMap((Ue) => Ue.series.map((fe) => ({
22721
22721
  x: fe.xValue,
22722
22722
  y: fe.yValue,
@@ -22731,7 +22731,7 @@ const W4 = ["id"], X4 = ["viewBox", "id"], q4 = ["id"], Y4 = ["stop-color"], J4
22731
22731
  color: Ue.color
22732
22732
  }));
22733
22733
  return { head: ae, body: ee, itsShapes: I, tableData: ce };
22734
- }), z = ge(() => {
22734
+ }), z = ye(() => {
22735
22735
  const ce = D.value.head, G = D.value.tableData.map((ae) => [
22736
22736
  {
22737
22737
  shape: ae.shape,
@@ -22756,13 +22756,13 @@ const W4 = ["id"], X4 = ["viewBox", "id"], q4 = ["id"], Y4 = ["stop-color"], J4
22756
22756
  breakpoint: v.value.table.responsiveBreakpoint
22757
22757
  };
22758
22758
  return { head: ce, body: G, config: X, colNames: ce };
22759
- }), ue = ge(() => Z.value.map((ce) => ({
22759
+ }), ue = ye(() => Z.value.map((ce) => ({
22760
22760
  name: ce.name,
22761
22761
  shape: ce.shape,
22762
22762
  color: ce.color,
22763
22763
  id: ce.id,
22764
22764
  opacity: K.value.includes(ce.id) ? 0.5 : 1
22765
- }))), q = ge(() => ({
22765
+ }))), q = ye(() => ({
22766
22766
  cy: "quadrant-div-legend",
22767
22767
  backgroundColor: v.value.style.chart.legend.backgroundColor,
22768
22768
  color: v.value.style.chart.legend.color,
@@ -23230,7 +23230,7 @@ const W4 = ["id"], X4 = ["viewBox", "id"], q4 = ["id"], Y4 = ["stop-color"], J4
23230
23230
  ], 4)) : E("", !0)
23231
23231
  ], 14, W4));
23232
23232
  }
23233
- }, vH = /* @__PURE__ */ Qt(Mk, [["__scopeId", "data-v-cacf4bf8"]]);
23233
+ }, fH = /* @__PURE__ */ Qt(Mk, [["__scopeId", "data-v-cacf4bf8"]]);
23234
23234
  const Ik = ["id"], Ek = ["viewBox"], Nk = ["id"], $k = ["stop-color"], Tk = ["stop-color"], Hk = ["stop-color"], Dk = { key: 0 }, Pk = ["font-size", "fill", "x", "y"], zk = ["font-size", "fill", "x", "y"], Ok = ["font-size", "fill", "x", "y"], Rk = ["d", "stroke", "stroke-width"], Kk = { key: 1 }, Vk = ["cx", "cy", "fill"], jk = ["cx", "cy", "r", "fill"], Gk = ["y", "width", "height", "fill"], Wk = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Xk = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], qk = ["x", "y", "font-size", "font-weight", "fill"], Yk = ["x", "y", "font-size", "font-weight", "fill"], Jk = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Zk = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], e3 = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], t3 = ["x", "y", "font-size", "fill"], o3 = {
23235
23235
  __name: "vue-ui-gauge",
23236
23236
  props: {
@@ -23248,12 +23248,12 @@ const Ik = ["id"], Ek = ["viewBox"], Nk = ["id"], $k = ["stop-color"], Tk = ["st
23248
23248
  }
23249
23249
  },
23250
23250
  setup(e, { expose: t }) {
23251
- const o = e, r = J(Mt()), l = J(St.vue_ui_gauge), a = J(!1), n = J(!1), A = J(null), u = J(null), i = J(0), c = ge(() => It({
23251
+ const o = e, r = J(Mt()), l = J(St.vue_ui_gauge), a = J(!1), n = J(!1), A = J(null), u = J(null), i = J(0), c = ye(() => It({
23252
23252
  userConfig: o.config,
23253
23253
  defaultConfig: l.value
23254
23254
  })), f = J({
23255
23255
  inside: !c.value.style.chart.layout.useDiv
23256
- }), h = ge(() => {
23256
+ }), h = ye(() => {
23257
23257
  const q = [];
23258
23258
  o.dataset.series.forEach((ie) => {
23259
23259
  q.push(ie.from), q.push(ie.to);
@@ -23267,14 +23267,14 @@ const Ik = ["id"], Ek = ["viewBox"], Nk = ["id"], $k = ["stop-color"], Tk = ["st
23267
23267
  value: (ie.to - ie.from) / me * 100
23268
23268
  }))
23269
23269
  };
23270
- }), s = ge(() => ({
23270
+ }), s = ye(() => ({
23271
23271
  height: f.value.inside ? 512 : 358.4,
23272
23272
  width: 512,
23273
23273
  top: f.value.inside ? 76.8 : 0,
23274
23274
  bottom: f.value.inside ? 435.2 : 358.4,
23275
23275
  centerX: f.value.inside ? 256 : 179.2,
23276
23276
  centerY: 256
23277
- })), v = J(0), y = J(0), C = J(c.value.style.chart.animation.use ? 0 : o.dataset.value), x = ge(() => {
23277
+ })), v = J(0), y = J(0), C = J(c.value.style.chart.animation.use ? 0 : o.dataset.value), x = ye(() => {
23278
23278
  const q = s.value.width / 2, me = s.value.height * 0.69, ie = Math.PI * ((C.value + 0 - y.value) / (v.value - y.value)) + Math.PI;
23279
23279
  return {
23280
23280
  x1: q,
@@ -23282,7 +23282,7 @@ const Ik = ["id"], Ek = ["viewBox"], Nk = ["id"], $k = ["stop-color"], Tk = ["st
23282
23282
  x2: q + s.value.width / 3.2 * c.value.style.chart.layout.pointer.size * Math.cos(ie),
23283
23283
  y2: me + s.value.width / 3.2 * c.value.style.chart.layout.pointer.size * Math.sin(ie)
23284
23284
  };
23285
- }), _ = ge(() => {
23285
+ }), _ = ye(() => {
23286
23286
  for (let q = 0; q < h.value.series.length; q += 1) {
23287
23287
  const { color: me, from: ie, to: le } = h.value.series[q];
23288
23288
  if (C.value >= ie && C.value <= le)
@@ -23396,11 +23396,11 @@ const Ik = ["id"], Ek = ["viewBox"], Nk = ["id"], $k = ["stop-color"], Tk = ["st
23396
23396
  });
23397
23397
  }, 100);
23398
23398
  }
23399
- function ye() {
23399
+ function ge() {
23400
23400
  a.value = !0;
23401
23401
  }
23402
23402
  function D() {
23403
- ye(), clearTimeout(Z.value), Z.value = setTimeout(() => {
23403
+ ge(), clearTimeout(Z.value), Z.value = setTimeout(() => {
23404
23404
  no({
23405
23405
  domElement: document.getElementById(`vue-ui-gauge_${r.value}`),
23406
23406
  fileName: c.value.style.chart.title.text || "vue-ui-gauge",
@@ -23619,7 +23619,7 @@ const Ik = ["id"], Ek = ["viewBox"], Nk = ["id"], $k = ["stop-color"], Tk = ["st
23619
23619
  ], 14, Ek))
23620
23620
  ], 14, Ik));
23621
23621
  }
23622
- }, gH = /* @__PURE__ */ Qt(o3, [["__scopeId", "data-v-d5a0bdc3"]]);
23622
+ }, vH = /* @__PURE__ */ Qt(o3, [["__scopeId", "data-v-d5a0bdc3"]]);
23623
23623
  const l3 = ["id"], a3 = ["viewBox"], r3 = { key: 0 }, n3 = ["fill", "font-weight", "font-size", "x", "y"], A3 = ["fill", "font-weight", "font-size", "x", "y"], i3 = ["id"], s3 = ["stop-color"], u3 = ["stop-color"], c3 = ["id"], d3 = ["stop-color"], h3 = ["stop-color"], f3 = ["id"], v3 = ["stop-color"], g3 = ["stop-color"], y3 = ["stop-color"], p3 = ["id"], b3 = ["stop-color"], w3 = ["stop-color"], m3 = ["stop-color"], x3 = ["id"], B3 = ["stop-color"], C3 = ["stop-color"], k3 = ["stop-color"], _3 = { key: 1 }, F3 = ["x", "y", "font-size", "font-weight", "fill"], S3 = ["x", "y", "font-size", "font-weight", "fill"], Q3 = ["d", "stroke"], L3 = ["cx", "cy", "r", "fill"], U3 = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], M3 = { key: 2 }, I3 = ["x", "y", "font-size", "fill", "onClick"], E3 = { key: 0 }, N3 = ["x", "y", "fill", "font-size", "font-weight"], $3 = ["x", "y", "height", "width", "fill", "rx", "onClick"], T3 = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], H3 = { key: 3 }, D3 = ["x", "y", "fill", "font-size", "onClick"], P3 = ["d", "stroke"], z3 = ["cx", "cy", "fill", "onClick"], O3 = ["fill", "cx", "cy", "r", "onClick"], R3 = { key: 4 }, K3 = ["x", "y", "font-size", "font-weight", "fill"], V3 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], j3 = ["y", "height", "width"], G3 = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, W3 = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, X3 = {
23624
23624
  viewBox: "0 0 20 20",
23625
23625
  height: "16",
@@ -23650,12 +23650,12 @@ const l3 = ["id"], a3 = ["viewBox"], r3 = { key: 0 }, n3 = ["fill", "font-weight
23650
23650
  yr((I) => ({
23651
23651
  f5aa65ba: I.tdo
23652
23652
  }));
23653
- const l = J(Mt()), a = J(St.vue_ui_chestnut), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(0), f = ge(() => It({
23653
+ const l = J(Mt()), a = J(St.vue_ui_chestnut), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(0), f = ye(() => It({
23654
23654
  userConfig: r.config,
23655
23655
  defaultConfig: a.value
23656
23656
  })), h = J({
23657
23657
  showTable: f.value.table.show
23658
- }), s = J(null), v = J(!1), y = ge(() => f.value.table.responsiveBreakpoint), C = J({
23658
+ }), s = J(null), v = J(!1), y = ye(() => f.value.table.responsiveBreakpoint), C = J({
23659
23659
  gap: 6,
23660
23660
  padding: {
23661
23661
  top: 102,
@@ -23667,7 +23667,7 @@ const l3 = ["id"], a3 = ["viewBox"], r3 = { key: 0 }, n3 = ["fill", "font-weight
23667
23667
  height: 0,
23668
23668
  branchSize: 32,
23669
23669
  branchStart: 128
23670
- }), x = ge(() => ({
23670
+ }), x = ye(() => ({
23671
23671
  left: C.value.padding.left,
23672
23672
  top: C.value.padding.top,
23673
23673
  right: C.value.width - C.value.padding.right,
@@ -23675,7 +23675,7 @@ const l3 = ["id"], a3 = ["viewBox"], r3 = { key: 0 }, n3 = ["fill", "font-weight
23675
23675
  width: C.value.width - (C.value.padding.left + C.value.padding.right),
23676
23676
  height: C.value.height - (C.value.padding.top + C.value.padding.bottom),
23677
23677
  seedX: C.value.padding.left + 64
23678
- })), _ = ge(() => r.dataset.flatMap((I) => I.branches.map((Ue) => Ue.value)).reduce((I, Ue) => I + Ue)), j = ge(() => r.dataset.map((I, Ue) => {
23678
+ })), _ = ye(() => r.dataset.flatMap((I) => I.branches.map((Ue) => Ue.value)).reduce((I, Ue) => I + Ue)), j = ye(() => r.dataset.map((I, Ue) => {
23679
23679
  const fe = I.branches.map((Qe) => Qe.value).reduce((Qe, $e) => Qe + $e);
23680
23680
  return {
23681
23681
  ...I,
@@ -23727,7 +23727,7 @@ const l3 = ["id"], a3 = ["viewBox"], r3 = { key: 0 }, n3 = ["fill", "font-weight
23727
23727
  function K() {
23728
23728
  return j.value;
23729
23729
  }
23730
- const O = ge(() => j.value.flatMap((I) => I.branches).length), Ae = ge(() => Math.max(...j.value.map((I) => I.branches.map((Ue) => Ue.value).reduce((Ue, fe) => Ue + fe, 0)))), Z = ge(() => Math.max(...j.value.flatMap((I) => I.branches.map((Ue) => Ue.value)))), H = ge(() => 256 + C.value.padding.left), re = ge(() => j.value.sort((I, Ue) => Ue.total - I.total).map((I, Ue) => {
23730
+ const O = ye(() => j.value.flatMap((I) => I.branches).length), Ae = ye(() => Math.max(...j.value.map((I) => I.branches.map((Ue) => Ue.value).reduce((Ue, fe) => Ue + fe, 0)))), Z = ye(() => Math.max(...j.value.flatMap((I) => I.branches.map((Ue) => Ue.value)))), H = ye(() => 256 + C.value.padding.left), re = ye(() => j.value.sort((I, Ue) => Ue.total - I.total).map((I, Ue) => {
23731
23731
  const fe = x.value.height / j.value.length / 2, Qe = I.total / Ae.value * (fe > 64 ? 64 : fe);
23732
23732
  return {
23733
23733
  ...I,
@@ -23735,12 +23735,12 @@ const l3 = ["id"], a3 = ["viewBox"], r3 = { key: 0 }, n3 = ["fill", "font-weight
23735
23735
  y: x.value.top + x.value.height / j.value.length * (Ue + 1) - (x.value.height / j.value.length / 2 + C.value.gap / 2),
23736
23736
  r: Qe < C.value.branchSize / 2 ? C.value.branchSize / 2 : Qe
23737
23737
  };
23738
- })), ye = ge(() => f.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : f.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : f.value.style.chart.layout.branches.widthRatio), D = ge(() => re.value.flatMap((I) => I.branches)), z = ge(() => D.value.sort((I, Ue) => Ue.value - I.value).map((I, Ue) => ({
23738
+ })), ge = ye(() => f.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : f.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : f.value.style.chart.layout.branches.widthRatio), D = ye(() => re.value.flatMap((I) => I.branches)), z = ye(() => D.value.sort((I, Ue) => Ue.value - I.value).map((I, Ue) => ({
23739
23739
  ...I,
23740
23740
  y1: Ue * C.value.branchSize + x.value.top + Ue * C.value.gap,
23741
23741
  y2: Ue * C.value.branchSize + C.value.branchSize,
23742
23742
  x1: H.value,
23743
- x2: 384 * I.value / Z.value * ye.value + H.value
23743
+ x2: 384 * I.value / Z.value * ge.value + H.value
23744
23744
  })));
23745
23745
  function ue(I) {
23746
23746
  const Ue = re.value.find((fe) => fe.rootIndex === I.rootIndex);
@@ -23818,7 +23818,7 @@ const l3 = ["id"], a3 = ["viewBox"], r3 = { key: 0 }, n3 = ["fill", "font-weight
23818
23818
  });
23819
23819
  }, 100);
23820
23820
  }
23821
- const G = ge(() => {
23821
+ const G = ye(() => {
23822
23822
  const I = [
23823
23823
  f.value.table.th.translations.rootName,
23824
23824
  f.value.table.th.translations.rootValue,
@@ -24546,7 +24546,7 @@ const l3 = ["id"], a3 = ["viewBox"], r3 = { key: 0 }, n3 = ["fill", "font-weight
24546
24546
  ], 512)
24547
24547
  ], 14, l3));
24548
24548
  }
24549
- }, yH = /* @__PURE__ */ Qt(nF, [["__scopeId", "data-v-a1879176"]]);
24549
+ }, gH = /* @__PURE__ */ Qt(nF, [["__scopeId", "data-v-a1879176"]]);
24550
24550
  const AF = ["id"], iF = ["viewBox"], sF = ["id"], uF = ["stop-color"], cF = ["stop-color"], dF = ["stop-color"], hF = { key: 0 }, fF = ["font-size", "fill", "x", "y"], vF = ["font-size", "fill", "x", "y"], gF = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], yF = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], pF = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], bF = { key: 1 }, wF = ["cx", "cy", "r", "fill"], mF = { key: 2 }, xF = ["x", "y", "font-size", "fill", "font-weight"], BF = ["y", "height"], CF = ["onClick"], kF = ["onClick"], _F = ["innerHTML"], FF = {
24551
24551
  __name: "vue-ui-onion",
24552
24552
  props: {
@@ -24565,13 +24565,13 @@ const AF = ["id"], iF = ["viewBox"], sF = ["id"], uF = ["stop-color"], cF = ["st
24565
24565
  },
24566
24566
  emits: ["selectLegend"],
24567
24567
  setup(e, { expose: t, emit: o }) {
24568
- const r = e, l = J(Mt()), a = J(St.vue_ui_onion), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(0), f = ge(() => It({
24568
+ const r = e, l = J(Mt()), a = J(St.vue_ui_onion), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(0), f = ye(() => It({
24569
24569
  userConfig: r.config,
24570
24570
  defaultConfig: a.value
24571
24571
  })), h = J({
24572
24572
  inside: !f.value.style.chart.layout.useDiv,
24573
24573
  showTable: f.value.table.show
24574
- }), s = ge(() => {
24574
+ }), s = ye(() => {
24575
24575
  const P = h.value.inside ? 80 : 64;
24576
24576
  return {
24577
24577
  height: 512,
@@ -24583,7 +24583,7 @@ const AF = ["id"], iF = ["viewBox"], sF = ["id"], uF = ["stop-color"], cF = ["st
24583
24583
  bottom: P
24584
24584
  }
24585
24585
  };
24586
- }), v = ge(() => ({
24586
+ }), v = ye(() => ({
24587
24587
  top: s.value.padding.top,
24588
24588
  left: s.value.padding.left,
24589
24589
  right: s.value.width - s.value.padding.right,
@@ -24594,7 +24594,7 @@ const AF = ["id"], iF = ["viewBox"], sF = ["id"], uF = ["stop-color"], cF = ["st
24594
24594
  height: s.value.height - s.value.padding.bottom - s.value.padding.top,
24595
24595
  minRadius: 64,
24596
24596
  maxRadius: s.value.width - s.value.padding.right - s.value.padding.left
24597
- })), y = ge(() => r.dataset.map((P, N) => {
24597
+ })), y = ye(() => r.dataset.map((P, N) => {
24598
24598
  const ne = `onion_serie_${N}_${l.value}`;
24599
24599
  return {
24600
24600
  ...P,
@@ -24603,17 +24603,17 @@ const AF = ["id"], iF = ["viewBox"], sF = ["id"], uF = ["stop-color"], cF = ["st
24603
24603
  shape: "circle",
24604
24604
  opacity: x.value.includes(ne) ? 0.5 : 1
24605
24605
  };
24606
- })), C = ge(() => ({
24606
+ })), C = ye(() => ({
24607
24607
  cy: "onion-div-legend",
24608
24608
  backgroundColor: f.value.style.chart.legend.backgroundColor,
24609
24609
  color: f.value.style.chart.legend.color,
24610
24610
  fontSize: f.value.style.chart.legend.fontSize,
24611
24611
  paddingBottom: 12,
24612
24612
  fontWeight: f.value.style.chart.legend.bold ? "bold" : ""
24613
- })), x = J([]), _ = ge(() => y.value.filter((P) => !x.value.includes(P.id)).length), j = ge(() => ({
24613
+ })), x = J([]), _ = ye(() => y.value.filter((P) => !x.value.includes(P.id)).length), j = ye(() => ({
24614
24614
  gutter: v.value.width / 2 / _.value * f.value.style.chart.layout.gutter.width,
24615
24615
  track: v.value.width / 2 / _.value * f.value.style.chart.layout.track.width
24616
- })), K = ge(() => y.value.filter((P) => !x.value.includes(P.id)).map((P, N) => {
24616
+ })), K = ye(() => y.value.filter((P) => !x.value.includes(P.id)).map((P, N) => {
24617
24617
  const ne = (v.value.maxRadius - j.value.track) / _.value / 2 * (1 + N), k = v.value.centerY - (v.value.centerY - v.value.top - f.value.style.chart.layout.labels.fontSize) / _.value * (N + 1);
24618
24618
  return {
24619
24619
  ...P,
@@ -24639,14 +24639,14 @@ const AF = ["id"], iF = ["viewBox"], sF = ["id"], uF = ["stop-color"], cF = ["st
24639
24639
  function Z() {
24640
24640
  return K.value;
24641
24641
  }
24642
- const H = ge(() => {
24642
+ const H = ye(() => {
24643
24643
  const P = [f.value.table.translations.serie, f.value.table.translations.percentage, f.value.table.translations.value], N = K.value.map((ne) => [
24644
24644
  ne.name,
24645
24645
  ne.percentage,
24646
24646
  ne.value
24647
24647
  ]);
24648
24648
  return { head: P, body: N };
24649
- }), re = ge(() => {
24649
+ }), re = ye(() => {
24650
24650
  const P = H.value.head, N = K.value.map((k) => [
24651
24651
  `<span style="color:${k.color}">⬤</span> ${k.name}`,
24652
24652
  `${Number(k.percentage ?? 0).toFixed(f.value.table.td.roundingPercentage).toLocaleString()}%`,
@@ -24665,12 +24665,12 @@ const AF = ["id"], iF = ["viewBox"], sF = ["id"], uF = ["stop-color"], cF = ["st
24665
24665
  breakpoint: f.value.table.responsiveBreakpoint
24666
24666
  };
24667
24667
  return { head: P, body: N, config: ne, colNames: P };
24668
- }), ye = J(null);
24668
+ }), ge = J(null);
24669
24669
  function D() {
24670
24670
  A.value = !0;
24671
24671
  }
24672
24672
  function z() {
24673
- D(), clearTimeout(ye.value), ye.value = setTimeout(() => {
24673
+ D(), clearTimeout(ge.value), ge.value = setTimeout(() => {
24674
24674
  to({
24675
24675
  domElement: document.getElementById(`vue-ui-onion_${l.value}`),
24676
24676
  fileName: f.value.style.chart.title.text || "vue-ui-onion"
@@ -24683,7 +24683,7 @@ const AF = ["id"], iF = ["viewBox"], sF = ["id"], uF = ["stop-color"], cF = ["st
24683
24683
  n.value = !0;
24684
24684
  }
24685
24685
  function q() {
24686
- ue(), clearTimeout(ye.value), ye.value = setTimeout(() => {
24686
+ ue(), clearTimeout(ge.value), ge.value = setTimeout(() => {
24687
24687
  no({
24688
24688
  domElement: document.getElementById(`vue-ui-onion_${l.value}`),
24689
24689
  fileName: f.value.style.chart.title.text || "vue-ui-onion",
@@ -24926,7 +24926,7 @@ const AF = ["id"], iF = ["viewBox"], sF = ["id"], uF = ["stop-color"], cF = ["st
24926
24926
  ], 4)) : E("", !0)
24927
24927
  ], 14, AF));
24928
24928
  }
24929
- }, pH = /* @__PURE__ */ Qt(FF, [["__scopeId", "data-v-7a2623c3"]]);
24929
+ }, yH = /* @__PURE__ */ Qt(FF, [["__scopeId", "data-v-7a2623c3"]]);
24930
24930
  const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-color"], IF = ["stop-color"], EF = { key: 0 }, NF = ["font-size", "fill", "x", "y"], $F = ["font-size", "fill", "x", "y"], TF = ["x", "y", "width", "height", "fill", "rx"], HF = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], DF = ["x2", "y1", "y2", "stroke", "stroke-width"], PF = ["x", "y", "font-size", "fill", "font-weight"], zF = ["x", "y", "font-size", "fill", "font-weight"], OF = ["x", "y", "font-size", "fill", "font-weight"], RF = ["x", "y", "font-size", "fill", "font-weight"], KF = ["y", "width", "height", "fill", "onMouseenter"], VF = ["y", "height"], jF = ["onClick"], GF = ["onClick"], WF = { class: "vue-ui-data-table" }, XF = { key: 0 }, qF = { style: { width: "100%" } }, YF = ["data-cell"], JF = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ZF = ["data-cell"], e6 = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, t6 = ["data-cell"], o6 = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, l6 = ["data-cell"], a6 = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, r6 = ["data-cell"], n6 = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, A6 = ["data-cell"], i6 = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, s6 = ["data-cell"], u6 = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, c6 = {
24931
24931
  __name: "vue-ui-vertical-bar",
24932
24932
  props: {
@@ -24949,10 +24949,10 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
24949
24949
  yr((X) => ({
24950
24950
  fa80af04: X.tdo
24951
24951
  }));
24952
- const l = J(Mt()), a = J(St.vue_ui_vertical_bar), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(!1), f = J(""), h = J(0), s = J(null), v = J(0), y = ge(() => It({
24952
+ const l = J(Mt()), a = J(St.vue_ui_vertical_bar), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(!1), f = J(""), h = J(0), s = J(null), v = J(0), y = ye(() => It({
24953
24953
  userConfig: r.config,
24954
24954
  defaultConfig: a.value
24955
- })), C = J(null), x = J(!1), _ = ge(() => y.value.table.responsiveBreakpoint);
24955
+ })), C = J(null), x = J(!1), _ = ye(() => y.value.table.responsiveBreakpoint);
24956
24956
  el(() => {
24957
24957
  h.value = r.dataset.flatMap((X) => X.children && X.children.length > 0 ? X.children.length : 1).reduce((X, ae) => X + ae, 0), j();
24958
24958
  });
@@ -24967,7 +24967,7 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
24967
24967
  inside: !y.value.style.chart.layout.useDiv,
24968
24968
  showTable: y.value.table.show,
24969
24969
  sortDesc: y.value.style.chart.layout.bars.sort === "desc"
24970
- }), O = ge(() => K.value.sortDesc), Ae = ge(() => r.dataset.toSorted((X, ae) => O.value ? ae.value - X.value : X.value - ae.value).map((X, ae) => {
24970
+ }), O = ye(() => K.value.sortDesc), Ae = ye(() => r.dataset.toSorted((X, ae) => O.value ? ae.value - X.value : X.value - ae.value).map((X, ae) => {
24971
24971
  const ee = `vertical_parent_${ae}_${l.value}`;
24972
24972
  return {
24973
24973
  ...X,
@@ -24992,14 +24992,14 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
24992
24992
  isLastChild: Ue === X.children.length - 1
24993
24993
  }))
24994
24994
  };
24995
- })), Z = ge(() => ({
24995
+ })), Z = ye(() => ({
24996
24996
  cy: "vertical-bar-div-legend",
24997
24997
  backgroundColor: y.value.style.chart.legend.backgroundColor,
24998
24998
  color: y.value.style.chart.legend.color,
24999
24999
  fontSize: y.value.style.chart.legend.fontSize,
25000
25000
  paddingBottom: 12,
25001
25001
  fontWeight: y.value.style.chart.legend.bold ? "bold" : ""
25002
- })), H = ge(() => ({
25002
+ })), H = ye(() => ({
25003
25003
  width: 512,
25004
25004
  height: (y.value.style.chart.layout.bars.height + y.value.style.chart.layout.bars.gap) * h.value,
25005
25005
  padding: {
@@ -25008,7 +25008,7 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
25008
25008
  right: 64 + y.value.style.chart.layout.bars.paddingRight,
25009
25009
  bottom: K.value.inside ? 92 : 12
25010
25010
  }
25011
- })), re = ge(() => ({
25011
+ })), re = ye(() => ({
25012
25012
  fullHeight: H.value.padding.top + H.value.padding.bottom + H.value.height,
25013
25013
  top: H.value.padding.top,
25014
25014
  left: H.value.padding.left,
@@ -25016,18 +25016,18 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
25016
25016
  bottom: H.value.padding.top + H.value.height,
25017
25017
  width: H.value.width - (H.value.padding.left + H.value.padding.right)
25018
25018
  }));
25019
- function ye() {
25019
+ function ge() {
25020
25020
  h.value = ue.value.flatMap((X) => X.children && X.children.length > 0 ? X.children.length : 1).reduce((X, ae) => X + ae, 0);
25021
25021
  }
25022
25022
  const D = J([]);
25023
25023
  function z(X) {
25024
- D.value.includes(X) ? D.value = D.value.filter((ae) => ae !== X) : D.value.push(X), ye(), o("selectLegend", ue.value);
25024
+ D.value.includes(X) ? D.value = D.value.filter((ae) => ae !== X) : D.value.push(X), ge(), o("selectLegend", ue.value);
25025
25025
  }
25026
- const ue = ge(() => Ae.value.filter((X) => !D.value.includes(X.id))), q = ge(() => ue.value.map((X) => X.value).reduce((X, ae) => X + ae));
25026
+ const ue = ye(() => Ae.value.filter((X) => !D.value.includes(X.id))), q = ye(() => ue.value.map((X) => X.value).reduce((X, ae) => X + ae));
25027
25027
  function me(X, ae = !1, ee = 0) {
25028
25028
  return ae ? (X / q.value * 100).toFixed(ee) + "%" : X / q.value;
25029
25029
  }
25030
- const ie = ge(() => ue.value.flatMap((X) => X.hasChildren ? X.children : X)), le = ge(() => Math.max(...ue.value.flatMap((X) => X.children && X.children.length ? Math.max(...X.children.map((ae) => ae.value)) : X.value)));
25030
+ const ie = ye(() => ue.value.flatMap((X) => X.hasChildren ? X.children : X)), le = ye(() => Math.max(...ue.value.flatMap((X) => X.children && X.children.length ? Math.max(...X.children.map((ae) => ae.value)) : X.value)));
25031
25031
  function S(X) {
25032
25032
  const ae = X / le.value;
25033
25033
  return re.value.width * ae;
@@ -25085,7 +25085,7 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
25085
25085
  });
25086
25086
  }, 100);
25087
25087
  }
25088
- const he = ge(() => {
25088
+ const he = ye(() => {
25089
25089
  const X = [
25090
25090
  y.value.translations.parentName,
25091
25091
  y.value.translations.value,
@@ -25142,7 +25142,7 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
25142
25142
  }
25143
25143
  return t({
25144
25144
  getData: ne,
25145
- recalculateHeight: ye,
25145
+ recalculateHeight: ge,
25146
25146
  generatePdf: W,
25147
25147
  generateCsv: be,
25148
25148
  generateImage: de
@@ -25198,7 +25198,7 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
25198
25198
  onGenerateImage: de,
25199
25199
  onToggleTable: ae[0] || (ae[0] = (ee) => K.value.showTable = !K.value.showTable),
25200
25200
  onToggleSort: ae[1] || (ae[1] = () => {
25201
- K.value.sortDesc = !K.value.sortDesc, ye();
25201
+ K.value.sortDesc = !K.value.sortDesc, ge();
25202
25202
  })
25203
25203
  }, null, 8, ["backgroundColor", "color", "isImaging", "isPrinting", "title", "uid", "isFullscreen", "chartElement"])) : E("", !0),
25204
25204
  y.value.style.chart.legend.show && (!K.value.inside || A.value) && y.value.style.chart.legend.position === "top" ? (g(), lt(To, {
@@ -25502,7 +25502,7 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
25502
25502
  ], 512)
25503
25503
  ], 14, SF));
25504
25504
  }
25505
- }, bH = /* @__PURE__ */ Qt(c6, [["__scopeId", "data-v-59db92a1"]]), wH = {
25505
+ }, pH = /* @__PURE__ */ Qt(c6, [["__scopeId", "data-v-59db92a1"]]), bH = {
25506
25506
  __name: "vue-ui-screenshot",
25507
25507
  props: {
25508
25508
  config: {
@@ -25514,7 +25514,7 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
25514
25514
  },
25515
25515
  emits: ["postImage"],
25516
25516
  setup(e, { expose: t, emit: o }) {
25517
- const r = e, l = J(`vue-ui-screenshot-${Math.random()}`), a = J(St.vue_ui_screenshot), n = ge(() => {
25517
+ const r = e, l = J(`vue-ui-screenshot-${Math.random()}`), a = J(St.vue_ui_screenshot), n = ye(() => {
25518
25518
  if (!Object.keys(r.config || {}).length)
25519
25519
  return a.value;
25520
25520
  const S = Tn({
@@ -25565,10 +25565,10 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
25565
25565
  return;
25566
25566
  S.stopPropagation();
25567
25567
  const P = Array.from(S.target.classList);
25568
- P.includes("vue-ui-screenshot-handle-se") || P.includes("vue-ui-screenshot-handle-sw") || P.includes("vue-ui-screenshot-handle-nw") || P.includes("vue-ui-screenshot-handle-ne") || (_.value = !0, A.value.style.pointerEvents = "auto", S.touches ? (u.value = S.touches[0].clientX, i.value = S.touches[0].clientY) : (u.value = S.clientX, i.value = S.clientY), c.value = u.value, f.value = i.value, document.addEventListener("mousemove", D), document.addEventListener("touchmove", D), document.addEventListener("mouseup", ye), document.addEventListener("touchend", ye));
25568
+ P.includes("vue-ui-screenshot-handle-se") || P.includes("vue-ui-screenshot-handle-sw") || P.includes("vue-ui-screenshot-handle-nw") || P.includes("vue-ui-screenshot-handle-ne") || (_.value = !0, A.value.style.pointerEvents = "auto", S.touches ? (u.value = S.touches[0].clientX, i.value = S.touches[0].clientY) : (u.value = S.clientX, i.value = S.clientY), c.value = u.value, f.value = i.value, document.addEventListener("mousemove", D), document.addEventListener("touchmove", D), document.addEventListener("mouseup", ge), document.addEventListener("touchend", ge));
25569
25569
  }
25570
- function ye() {
25571
- u.value = null, i.value = null, c.value = null, f.value = null, _.value = !1, document.removeEventListener("mousemove", D), document.removeEventListener("mouseup", ye), document.removeEventListener("touchmove", D), document.removeEventListener("touchend", ye);
25570
+ function ge() {
25571
+ u.value = null, i.value = null, c.value = null, f.value = null, _.value = !1, document.removeEventListener("mousemove", D), document.removeEventListener("mouseup", ge), document.removeEventListener("touchmove", D), document.removeEventListener("touchend", ge);
25572
25572
  }
25573
25573
  function D(S) {
25574
25574
  if (!A.value)
@@ -25578,7 +25578,7 @@ const SF = ["id"], QF = ["onClick"], LF = ["viewBox"], UF = ["id"], MF = ["stop-
25578
25578
  S.touches ? (N = S.touches[0].clientX - u.value, ne = S.touches[0].clientY - i.value, u.value = S.touches[0].clientX, i.value = S.touches[0].clientY) : (N = S.clientX - u.value, ne = S.clientY - i.value, u.value = S.clientX, i.value = S.clientY), A.value.style.top = `${P.top + ne}px`, A.value.style.left = `${P.left + N}px`;
25579
25579
  }
25580
25580
  function z(S) {
25581
- S.target.removeEventListener("mousemove", H), S.target.removeEventListener("touchmove", H), document.removeEventListener("mousemove", D), document.removeEventListener("touchmove", D), document.removeEventListener("mouseup", ye), document.removeEventListener("touchend", ye), _.value = !1;
25581
+ S.target.removeEventListener("mousemove", H), S.target.removeEventListener("touchmove", H), document.removeEventListener("mousemove", D), document.removeEventListener("touchmove", D), document.removeEventListener("mouseup", ge), document.removeEventListener("touchend", ge), _.value = !1;
25582
25582
  }
25583
25583
  function ue() {
25584
25584
  const S = navigator.userAgent;
@@ -25682,15 +25682,15 @@ const d6 = {
25682
25682
  },
25683
25683
  emits: ["rate"],
25684
25684
  setup(e, { expose: t, emit: o }) {
25685
- const r = e, l = J(Mt()), a = J(St.vue_ui_rating), n = J(!1), A = J(void 0), u = J([]), i = ge(() => It({
25685
+ const r = e, l = J(Mt()), a = J(St.vue_ui_rating), n = J(!1), A = J(void 0), u = J([]), i = ye(() => It({
25686
25686
  userConfig: r.config,
25687
25687
  defaultConfig: a.value
25688
- })), c = ge(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? y(r.dataset.rating) : r.dataset.rating), f = ge(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), h = J(c.value), s = J(i.value.type === "image"), v = J(i.value.readonly);
25688
+ })), c = ye(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? y(r.dataset.rating) : r.dataset.rating), f = ye(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), h = J(c.value), s = J(i.value.type === "image"), v = J(i.value.readonly);
25689
25689
  function y(O) {
25690
25690
  let Ae = 0, Z = 0;
25691
25691
  for (const re in O) {
25692
- const ye = parseInt(re), D = O[re];
25693
- Ae += ye * D, Z += D;
25692
+ const ge = parseInt(re), D = O[re];
25693
+ Ae += ge * D, Z += D;
25694
25694
  }
25695
25695
  if (Z === 0)
25696
25696
  return 0;
@@ -25916,7 +25916,7 @@ const d6 = {
25916
25916
  }, M(isNaN(h.value) ? "" : h.value.toFixed(i.value.style.rating.roundingValue)), 5)) : E("", !0)
25917
25917
  ], 36));
25918
25918
  }
25919
- }, mH = /* @__PURE__ */ Qt(S6, [["__scopeId", "data-v-2a69821f"]]);
25919
+ }, wH = /* @__PURE__ */ Qt(S6, [["__scopeId", "data-v-2a69821f"]]);
25920
25920
  const Ha = (e) => (En("data-v-51b3e622"), e = e(), Nn(), e), Q6 = ["id"], L6 = ["x", "y", "width", "height", "fill"], U6 = ["y", "width", "height", "fill"], M6 = ["fill"], I6 = ["fill"], E6 = ["fill"], N6 = ["x1", "x2", "y1", "y2", "stroke"], $6 = ["stroke"], T6 = ["fill"], H6 = ["fill"], D6 = ["fill"], P6 = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], z6 = { key: 0 }, O6 = ["stroke", "stroke-width"], R6 = ["stroke", "stroke-width"], K6 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], V6 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], j6 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], G6 = ["x", "y", "height", "width", "fill"], W6 = ["viewBox"], X6 = ["x", "y", "stroke", "fill"], q6 = ["d", "stroke"], Y6 = ["cx", "cy", "r", "fill", "stroke"], J6 = ["cx", "cy", "r", "fill", "stroke"], Z6 = ["x", "y", "width", "fill"], e8 = ["cx", "cy", "fill"], t8 = ["cx", "cy", "fill"], o8 = ["stroke"], l8 = ["stroke", "stroke-width"], a8 = ["stroke", "stroke-width"], r8 = ["stroke", "stroke-width"], n8 = ["fill"], A8 = ["fill"], i8 = ["fill"], s8 = ["fill"], u8 = ["fill"], c8 = ["fill"], d8 = { key: 0 }, h8 = ["stroke", "stroke-width"], f8 = ["stroke", "stroke-width"], v8 = ["stroke", "stroke-width"], g8 = { key: 1 }, y8 = ["r", "fill"], p8 = ["r", "fill"], b8 = { key: 0 }, w8 = ["stroke", "stroke-width"], m8 = ["stroke", "stroke-width"], x8 = ["fill", "rx", "x", "y", "width", "height"], B8 = ["stroke-width", "stroke"], C8 = ["stroke-width", "stroke"], k8 = ["stroke-width", "stroke"], _8 = ["stroke"], F8 = ["stroke"], S8 = ["stroke"], Q8 = ["stroke"], L8 = ["fill"], U8 = ["stroke"], M8 = ["stroke", "stroke-width"], I8 = ["stroke", "stroke-width"], E8 = ["fill", "r"], N8 = ["fill", "r"], $8 = ["fill", "r"], T8 = ["fill", "r"], H8 = ["fill", "r"], D8 = ["fill", "r"], P8 = ["fill", "r"], z8 = ["fill", "r"], O8 = ["fill", "r"], R8 = ["d", "stroke", "stroke-width"], K8 = ["d", "stroke", "stroke-width"], V8 = ["d", "stroke", "stroke-width"], j8 = ["d", "stroke", "stroke-width"], G8 = ["stroke", "stroke-width"], W8 = ["stroke", "stroke-width"], X8 = ["stroke", "stroke-width"], q8 = ["fill"], Y8 = ["fill"], J8 = ["x", "y", "fill"], Z8 = ["x", "y", "fill"], eS = ["x", "y", "fill"], tS = ["fill"], oS = ["fill"], lS = ["y1", "y2", "stroke", "stroke-width"], aS = ["x1", "x2", "stroke", "stroke-width"], rS = ["stroke"], nS = /* @__PURE__ */ Ha(() => /* @__PURE__ */ w("path", {
25921
25921
  stroke: "none",
25922
25922
  d: "M0 0h24v24H0z",
@@ -25965,22 +25965,22 @@ const Ha = (e) => (En("data-v-51b3e622"), e = e(), Nn(), e), Q6 = ["id"], L6 = [
25965
25965
  }
25966
25966
  },
25967
25967
  setup(e) {
25968
- const t = e, o = J(`vue-ui-skeleton-${Math.random()}`), r = J(St.vue_ui_skeleton), l = ge(() => It({
25968
+ const t = e, o = J(`vue-ui-skeleton-${Math.random()}`), r = J(St.vue_ui_skeleton), l = ye(() => It({
25969
25969
  userConfig: t.config,
25970
25970
  defaultConfig: r.value
25971
- })), a = ge(() => l.value.style.animated), n = ge(() => l.value.type), A = J([60, 50, 55, 36, 40, 25, 26, 12]), u = ge(() => ko({
25971
+ })), a = ye(() => l.value.style.animated), n = ye(() => l.value.type), A = J([60, 50, 55, 36, 40, 25, 26, 12]), u = ye(() => ko({
25972
25972
  plot: { x: 50, y: 50 },
25973
25973
  radius: 40,
25974
25974
  sides: 6
25975
- }).path), i = ge(() => ko({
25975
+ }).path), i = ye(() => ko({
25976
25976
  plot: { x: 50, y: 50 },
25977
25977
  radius: 30,
25978
25978
  sides: 6
25979
- }).path), c = ge(() => ko({
25979
+ }).path), c = ye(() => ko({
25980
25980
  plot: { x: 50, y: 50 },
25981
25981
  radius: 20,
25982
25982
  sides: 6
25983
- }).path), f = ge(() => ko({
25983
+ }).path), f = ye(() => ko({
25984
25984
  plot: { x: 50, y: 50 },
25985
25985
  radius: 10,
25986
25986
  sides: 6
@@ -26173,7 +26173,7 @@ const Ha = (e) => (En("data-v-51b3e622"), e = e(), Nn(), e), Q6 = ["id"], L6 = [
26173
26173
  y: 200 + 160 * Math.sin(29.85 + _ * Math.PI / 180) * j
26174
26174
  };
26175
26175
  }
26176
- const x = ge(() => {
26176
+ const x = ye(() => {
26177
26177
  const _ = [];
26178
26178
  for (let K = 0; K < 100; K += 1)
26179
26179
  _.push({
@@ -27103,7 +27103,7 @@ const Ha = (e) => (En("data-v-51b3e622"), e = e(), Nn(), e), Q6 = ["id"], L6 = [
27103
27103
  ], 4)) : E("", !0)
27104
27104
  ], 14, Q6));
27105
27105
  }
27106
- }, xH = /* @__PURE__ */ Qt(OS, [["__scopeId", "data-v-51b3e622"]]);
27106
+ }, mH = /* @__PURE__ */ Qt(OS, [["__scopeId", "data-v-51b3e622"]]);
27107
27107
  const RS = ["id"], KS = ["viewBox"], VS = ["id"], jS = ["stop-color"], GS = ["stop-color"], WS = ["id"], XS = ["stop-color"], qS = ["stop-color"], YS = ["id"], JS = ["stop-color"], ZS = ["stop-color"], eQ = { key: 0 }, tQ = ["d", "fill"], oQ = ["d", "fill"], lQ = ["d", "stroke", "stroke-width"], aQ = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], rQ = ["x", "y", "width", "height", "fill", "rx"], nQ = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], AQ = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], iQ = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], sQ = ["x", "y", "font-size", "font-weight", "fill"], uQ = ["x", "y", "height", "width", "onMouseenter"], cQ = {
27108
27108
  __name: "vue-ui-sparkline",
27109
27109
  props: {
@@ -27122,17 +27122,21 @@ const RS = ["id"], KS = ["viewBox"], VS = ["id"], jS = ["stop-color"], GS = ["st
27122
27122
  showInfo: {
27123
27123
  type: Boolean,
27124
27124
  default: !0
27125
+ },
27126
+ selectedIndex: {
27127
+ type: Number,
27128
+ default: void 0
27125
27129
  }
27126
27130
  },
27127
27131
  emits: ["hoverIndex"],
27128
27132
  setup(e, { emit: t }) {
27129
- const o = e, r = J(Mt()), l = J(St.vue_ui_sparkline), a = ge(() => It({
27133
+ const o = e, r = J(Mt()), l = J(St.vue_ui_sparkline), a = ye(() => It({
27130
27134
  userConfig: o.config,
27131
27135
  defaultConfig: l.value
27132
27136
  })), n = J({
27133
27137
  height: 80,
27134
27138
  width: 500
27135
- }), A = ge(() => ({
27139
+ }), A = ye(() => ({
27136
27140
  top: 12,
27137
27141
  left: 0,
27138
27142
  right: n.value.width,
@@ -27140,11 +27144,11 @@ const RS = ["id"], KS = ["viewBox"], VS = ["id"], jS = ["stop-color"], GS = ["st
27140
27144
  start: o.showInfo && a.value.style.dataLabel.position === "left" ? 210 : 0,
27141
27145
  width: o.showInfo ? 290 : n.value.width,
27142
27146
  height: n.value.height - 12
27143
- })), u = ge(() => Math.min(...o.dataset.map((Z) => isNaN(Z.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(Z.value) ? 0 : Z.value))), i = ge(() => Math.max(...o.dataset.map((Z) => isNaN(Z.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(Z.value) ? 0 : Z.value))), c = J(6), f = ge(() => Math.abs(u.value)), h = ge(() => i.value + f.value + c.value), s = ge(() => A.value.bottom - A.value.height * v(f.value + c.value));
27147
+ })), u = ye(() => Math.min(...o.dataset.map((Z) => isNaN(Z.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(Z.value) ? 0 : Z.value))), i = ye(() => Math.max(...o.dataset.map((Z) => isNaN(Z.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(Z.value) ? 0 : Z.value))), c = J(6), f = ye(() => Math.abs(u.value)), h = ye(() => i.value + f.value + c.value), s = ye(() => A.value.bottom - A.value.height * v(f.value + c.value));
27144
27148
  function v(Z) {
27145
27149
  return Z / h.value;
27146
27150
  }
27147
- const y = ge(() => o.dataset.length - 1), C = ge(() => o.dataset.map((Z, H) => {
27151
+ const y = ye(() => o.dataset.length - 1), C = ye(() => o.dataset.map((Z, H) => {
27148
27152
  const re = isNaN(Z.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(Z.value) ? 0 : Z.value;
27149
27153
  return {
27150
27154
  absoluteValue: re,
@@ -27157,10 +27161,10 @@ const RS = ["id"], KS = ["viewBox"], VS = ["id"], jS = ["stop-color"], GS = ["st
27157
27161
  color: Ae.value ? a.value.style.bar.color : a.value.style.area.useGradient ? Bt(a.value.style.line.color, 0.05 * (1 - H / y.value)) : a.value.style.line.color,
27158
27162
  width: A.value.width / y.value
27159
27163
  };
27160
- })), x = ge(() => {
27164
+ })), x = ye(() => {
27161
27165
  const Z = { x: C.value[0].x, y: n.value.height - 6 }, H = { x: C.value[C.value.length - 1].x, y: n.value.height - 6 }, re = [];
27162
- return C.value.forEach((ye) => {
27163
- re.push(`${ye.x},${ye.y} `);
27166
+ return C.value.forEach((ge) => {
27167
+ re.push(`${ge.x},${ge.y} `);
27164
27168
  }), [Z.x, Z.y, ...re, H.x, H.y].toString();
27165
27169
  }), _ = J(void 0);
27166
27170
  function j(Z, H) {
@@ -27169,7 +27173,7 @@ const RS = ["id"], KS = ["viewBox"], VS = ["id"], jS = ["stop-color"], GS = ["st
27169
27173
  function K() {
27170
27174
  _.value = void 0, t("hoverIndex", { index: void 0 });
27171
27175
  }
27172
- const O = ge(() => a.value.style.dataLabel.valueType === "latest" ? C.value[C.value.length - 1].absoluteValue : a.value.style.dataLabel.valueType === "sum" ? C.value.map((Z) => Z.absoluteValue).reduce((Z, H) => Z + H) : a.value.style.dataLabel.valueType === "average" ? C.value.map((Z) => Z.absoluteValue).reduce((Z, H) => Z + H) / C.value.length : 0), Ae = ge(() => a.value.type && a.value.type === "bar");
27176
+ const O = ye(() => a.value.style.dataLabel.valueType === "latest" ? C.value[C.value.length - 1].absoluteValue : a.value.style.dataLabel.valueType === "sum" ? C.value.map((Z) => Z.absoluteValue).reduce((Z, H) => Z + H) : a.value.style.dataLabel.valueType === "average" ? C.value.map((Z) => Z.absoluteValue).reduce((Z, H) => Z + H) / C.value.length : 0), Ae = ye(() => a.value.type && a.value.type === "bar");
27173
27177
  return (Z, H) => (g(), p("div", {
27174
27178
  class: "vue-ui-sparkline",
27175
27179
  id: r.value,
@@ -27253,13 +27257,13 @@ const RS = ["id"], KS = ["viewBox"], VS = ["id"], jS = ["stop-color"], GS = ["st
27253
27257
  "stroke-width": a.value.style.line.strokeWidth,
27254
27258
  "stroke-linecap": "round"
27255
27259
  }, null, 8, lQ)) : E("", !0),
27256
- (g(!0), p(we, null, xe(C.value, (re, ye) => (g(), p("g", null, [
27257
- ye < C.value.length - 1 && !a.value.style.line.smooth && !Ae.value ? (g(), p("line", {
27260
+ (g(!0), p(we, null, xe(C.value, (re, ge) => (g(), p("g", null, [
27261
+ ge < C.value.length - 1 && !a.value.style.line.smooth && !Ae.value ? (g(), p("line", {
27258
27262
  key: 0,
27259
27263
  x1: re.x,
27260
- x2: C.value[ye + 1].x,
27264
+ x2: C.value[ge + 1].x,
27261
27265
  y1: re.y,
27262
- y2: C.value[ye + 1].y,
27266
+ y2: C.value[ge + 1].y,
27263
27267
  stroke: re.color,
27264
27268
  "stroke-width": a.value.style.line.strokeWidth,
27265
27269
  "stroke-linecap": "round",
@@ -27275,7 +27279,7 @@ const RS = ["id"], KS = ["viewBox"], VS = ["id"], jS = ["stop-color"], GS = ["st
27275
27279
  fill: re.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${r.value})` : `url(#sparkline_bar_gradient_neg_${r.value})`,
27276
27280
  rx: a.value.style.bar.borderRadius
27277
27281
  }, null, 8, rQ)) : E("", !0),
27278
- a.value.style.verticalIndicator.show && _.value && re.id === _.value.id ? (g(), p("line", {
27282
+ a.value.style.verticalIndicator.show && (_.value && re.id === _.value.id || e.selectedIndex === ge) ? (g(), p("line", {
27279
27283
  key: 2,
27280
27284
  x1: re.x,
27281
27285
  x2: re.x,
@@ -27298,8 +27302,8 @@ const RS = ["id"], KS = ["viewBox"], VS = ["id"], jS = ["stop-color"], GS = ["st
27298
27302
  "stroke-width": a.value.style.zeroLine.strokeWidth,
27299
27303
  "stroke-linecap": "round"
27300
27304
  }, null, 8, AQ)) : E("", !0),
27301
- a.value.style.plot.show ? (g(!0), p(we, { key: 3 }, xe(C.value, (re, ye) => (g(), p("g", null, [
27302
- _.value && re.id === _.value.id ? (g(), p("circle", {
27305
+ a.value.style.plot.show ? (g(!0), p(we, { key: 3 }, xe(C.value, (re, ge) => (g(), p("g", null, [
27306
+ _.value && re.id === _.value.id || e.selectedIndex === ge ? (g(), p("circle", {
27303
27307
  key: 0,
27304
27308
  cx: re.x,
27305
27309
  cy: re.y,
@@ -27317,20 +27321,20 @@ const RS = ["id"], KS = ["viewBox"], VS = ["id"], jS = ["stop-color"], GS = ["st
27317
27321
  "font-weight": a.value.style.dataLabel.bold ? "bold" : "normal",
27318
27322
  fill: a.value.style.dataLabel.color
27319
27323
  }, M(_.value ? Number(_.value.absoluteValue.toFixed(a.value.style.dataLabel.roundingValue)).toLocaleString() : Number(O.value.toFixed(a.value.style.dataLabel.roundingValue)).toLocaleString()), 9, sQ)) : E("", !0),
27320
- (g(!0), p(we, null, xe(C.value, (re, ye) => (g(), p("rect", {
27324
+ (g(!0), p(we, null, xe(C.value, (re, ge) => (g(), p("rect", {
27321
27325
  x: re.x - A.value.width / y.value / 2,
27322
27326
  y: A.value.top - 6,
27323
27327
  height: A.value.height + 6,
27324
27328
  width: A.value.width / y.value,
27325
27329
  fill: "transparent",
27326
- onMouseenter: (D) => j(re, ye),
27330
+ onMouseenter: (D) => j(re, ge),
27327
27331
  onMouseleave: K
27328
27332
  }, null, 40, uQ))), 256)),
27329
27333
  Dt(Z.$slots, "svg", { svg: n.value }, void 0, !0)
27330
27334
  ], 12, KS))
27331
27335
  ], 12, RS));
27332
27336
  }
27333
- }, dQ = /* @__PURE__ */ Qt(cQ, [["__scopeId", "data-v-50b50219"]]);
27337
+ }, dQ = /* @__PURE__ */ Qt(cQ, [["__scopeId", "data-v-c1d64484"]]);
27334
27338
  const hQ = (e) => (En("data-v-8ee051ba"), e = e(), Nn(), e), fQ = ["id"], vQ = ["viewBox"], gQ = { key: 0 }, yQ = ["font-size", "fill", "x"], pQ = ["font-size", "fill", "x", "y"], bQ = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], wQ = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], mQ = ["font-size", "font-weight", "fill", "x", "y"], xQ = ["x", "y", "width", "height", "onMouseover"], BQ = { key: 0 }, CQ = ["font-size", "fill", "x", "y", "font-weight"], kQ = { key: 1 }, _Q = ["x", "y", "font-size", "fill", "font-weight"], FQ = { key: 2 }, SQ = {
27335
27339
  id: "colorScaleVertical",
27336
27340
  x2: "0%",
@@ -27374,13 +27378,13 @@ const hQ = (e) => (En("data-v-8ee051ba"), e = e(), Nn(), e), fQ = ["id"], vQ = [
27374
27378
  yr((k) => ({
27375
27379
  "99a5fd94": k.tdo
27376
27380
  }));
27377
- const r = J(Mt()), l = J(St.vue_ui_heatmap), a = J(!1), n = J(!1), A = J(null), u = J(null), i = J(!1), c = J(""), f = J(void 0), h = J(0), s = J(null), v = J(!1), y = ge(() => It({
27381
+ const r = J(Mt()), l = J(St.vue_ui_heatmap), a = J(!1), n = J(!1), A = J(null), u = J(null), i = J(!1), c = J(""), f = J(void 0), h = J(0), s = J(null), v = J(!1), y = ye(() => It({
27378
27382
  userConfig: o.config,
27379
27383
  defaultConfig: l.value
27380
27384
  })), C = J({
27381
27385
  inside: !y.value.style.layout.useDiv,
27382
27386
  showTable: y.value.table.show
27383
- }), x = ge(() => y.value.table.responsiveBreakpoint);
27387
+ }), x = ye(() => y.value.table.responsiveBreakpoint);
27384
27388
  function _() {
27385
27389
  new ResizeObserver((L) => {
27386
27390
  L.forEach((Q) => {
@@ -27389,32 +27393,32 @@ const hQ = (e) => (En("data-v-8ee051ba"), e = e(), Nn(), e), fQ = ["id"], vQ = [
27389
27393
  }).observe(s.value);
27390
27394
  }
27391
27395
  el(_);
27392
- const j = ge(() => Math.max(...o.dataset.flatMap((k) => k.values.length))), K = ge(() => {
27396
+ const j = ye(() => Math.max(...o.dataset.flatMap((k) => k.values.length))), K = ye(() => {
27393
27397
  const k = y.value.style.layout.padding.top + y.value.style.layout.padding.bottom + o.dataset.length * y.value.style.layout.cells.height + (C.value.inside ? 92 : 0), L = y.value.style.layout.padding.left + y.value.style.layout.padding.right + j.value * y.value.style.layout.cells.height;
27394
27398
  return {
27395
27399
  height: k,
27396
27400
  width: L
27397
27401
  };
27398
- }), O = ge(() => y.value.style.legend.position), Ae = ge(() => ({
27402
+ }), O = ye(() => y.value.style.legend.position), Ae = ye(() => ({
27399
27403
  top: y.value.style.layout.padding.top + (C.value.inside ? 36 : 0),
27400
27404
  left: y.value.style.layout.padding.left,
27401
27405
  right: K.value.width - y.value.style.layout.padding.right - (O.value === "right" && y.value.style.legend.show ? 92 : 0),
27402
27406
  bottom: K.value.height - y.value.style.layout.padding.bottom,
27403
27407
  height: K.value.height - y.value.style.layout.padding.top - y.value.style.layout.padding.bottom,
27404
27408
  width: K.value.width - y.value.style.layout.padding.right - y.value.style.layout.padding.left - (O.value === "right" && y.value.style.legend.show ? 92 : 0)
27405
- })), Z = ge(() => Math.max(...o.dataset.flatMap((k) => k.values))), H = ge(() => Math.min(...o.dataset.flatMap((k) => k.values))), re = ge(() => {
27409
+ })), Z = ye(() => Math.max(...o.dataset.flatMap((k) => k.values))), H = ye(() => Math.min(...o.dataset.flatMap((k) => k.values))), re = ye(() => {
27406
27410
  const k = o.dataset.flatMap((Q) => Q.values);
27407
27411
  return k.reduce((Q, U) => Q + U, 0) / k.length;
27408
- }), ye = ge(() => ({
27412
+ }), ge = ye(() => ({
27409
27413
  width: Ae.value.width / j.value,
27410
27414
  height: Ae.value.width / j.value
27411
- })), D = ge(() => {
27415
+ })), D = ye(() => {
27412
27416
  const k = y.value.style.layout.dataLabels.yAxis.values.length ? y.value.style.layout.dataLabels.yAxis.values : o.dataset.map((Q) => Q.name), L = y.value.style.layout.dataLabels.xAxis.values;
27413
27417
  return {
27414
27418
  yLabels: k,
27415
27419
  xLabels: L.slice(0, j.value)
27416
27420
  };
27417
- }), z = ge(() => o.dataset.map((k) => ({
27421
+ }), z = ye(() => o.dataset.map((k) => ({
27418
27422
  ...k,
27419
27423
  temperatures: k.values.map((L, Q) => L >= re.value ? {
27420
27424
  side: "up",
@@ -27468,7 +27472,7 @@ const hQ = (e) => (En("data-v-8ee051ba"), e = e(), Nn(), e), fQ = ["id"], vQ = [
27468
27472
  });
27469
27473
  }, 100);
27470
27474
  }
27471
- ge(() => {
27475
+ ye(() => {
27472
27476
  const k = o.dataset.map((Q) => ({
27473
27477
  name: Q.name
27474
27478
  })), L = o.dataset.map((Q) => Q.values);
@@ -27573,19 +27577,19 @@ const hQ = (e) => (En("data-v-8ee051ba"), e = e(), Nn(), e), fQ = ["id"], vQ = [
27573
27577
  (g(!0), p(we, null, xe(z.value, (Q, U) => (g(), p("g", null, [
27574
27578
  (g(!0), p(we, null, xe(Q.temperatures, (W, T) => (g(), p("g", null, [
27575
27579
  w("rect", {
27576
- x: Ae.value.left + ye.value.width * T,
27577
- y: Ae.value.top + ye.value.width * U,
27578
- width: ye.value.width - y.value.style.layout.cells.spacing,
27579
- height: ye.value.width - y.value.style.layout.cells.spacing,
27580
+ x: Ae.value.left + ge.value.width * T,
27581
+ y: Ae.value.top + ge.value.width * U,
27582
+ width: ge.value.width - y.value.style.layout.cells.spacing,
27583
+ height: ge.value.width - y.value.style.layout.cells.spacing,
27580
27584
  fill: y.value.style.layout.cells.colors.underlayer,
27581
27585
  stroke: y.value.style.backgroundColor,
27582
27586
  "stroke-width": y.value.style.layout.cells.spacing
27583
27587
  }, null, 8, bQ),
27584
27588
  w("rect", {
27585
- x: Ae.value.left + ye.value.width * T,
27586
- y: Ae.value.top + ye.value.width * U,
27587
- width: ye.value.width - y.value.style.layout.cells.spacing,
27588
- height: ye.value.width - y.value.style.layout.cells.spacing,
27589
+ x: Ae.value.left + ge.value.width * T,
27590
+ y: Ae.value.top + ge.value.width * U,
27591
+ width: ge.value.width - y.value.style.layout.cells.spacing,
27592
+ height: ge.value.width - y.value.style.layout.cells.spacing,
27589
27593
  fill: W.color,
27590
27594
  stroke: f.value && f.value === W.id ? y.value.style.layout.cells.selected.color : y.value.style.backgroundColor,
27591
27595
  "stroke-width": y.value.style.layout.cells.spacing
@@ -27596,16 +27600,16 @@ const hQ = (e) => (En("data-v-8ee051ba"), e = e(), Nn(), e), fQ = ["id"], vQ = [
27596
27600
  "font-size": y.value.style.layout.cells.value.fontSize,
27597
27601
  "font-weight": y.value.style.layout.cells.value.bold ? "bold" : "normal",
27598
27602
  fill: _e(ks)(W.color),
27599
- x: Ae.value.left + ye.value.width * T + ye.value.width / 2,
27600
- y: Ae.value.top + ye.value.width * U + ye.value.width / 2 + y.value.style.layout.cells.value.fontSize / 3
27603
+ x: Ae.value.left + ge.value.width * T + ge.value.width / 2,
27604
+ y: Ae.value.top + ge.value.width * U + ge.value.width / 2 + y.value.style.layout.cells.value.fontSize / 3
27601
27605
  }, M(Number(W.value.toFixed(y.value.style.layout.cells.value.roundingValue)).toLocaleString()), 9, mQ)) : E("", !0)
27602
27606
  ]))), 256)),
27603
27607
  (g(!0), p(we, null, xe(Q.temperatures, (W, T) => (g(), p("g", null, [
27604
27608
  w("rect", {
27605
- x: Ae.value.left + ye.value.width * T,
27606
- y: Ae.value.top + ye.value.width * U,
27607
- width: ye.value.width,
27608
- height: ye.value.width,
27609
+ x: Ae.value.left + ge.value.width * T,
27610
+ y: Ae.value.top + ge.value.width * U,
27611
+ width: ge.value.width,
27612
+ height: ge.value.width,
27609
27613
  fill: "transparent",
27610
27614
  stroke: "none",
27611
27615
  onMouseover: (de) => ue(W),
@@ -27619,7 +27623,7 @@ const hQ = (e) => (En("data-v-8ee051ba"), e = e(), Nn(), e), fQ = ["id"], vQ = [
27619
27623
  "font-size": y.value.style.layout.dataLabels.yAxis.fontSize,
27620
27624
  fill: y.value.style.layout.dataLabels.yAxis.color,
27621
27625
  x: Ae.value.left + y.value.style.layout.dataLabels.yAxis.offsetX - 6,
27622
- y: Ae.value.top + ye.value.width * U + ye.value.width / 2 + y.value.style.layout.dataLabels.yAxis.fontSize / 3 + y.value.style.layout.dataLabels.yAxis.offsetY,
27626
+ y: Ae.value.top + ge.value.width * U + ge.value.width / 2 + y.value.style.layout.dataLabels.yAxis.fontSize / 3 + y.value.style.layout.dataLabels.yAxis.offsetY,
27623
27627
  "text-anchor": "end",
27624
27628
  "font-weight": y.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
27625
27629
  }, M(D.value.yLabels[U]), 9, CQ)
@@ -27627,7 +27631,7 @@ const hQ = (e) => (En("data-v-8ee051ba"), e = e(), Nn(), e), fQ = ["id"], vQ = [
27627
27631
  ]))), 256)),
27628
27632
  y.value.style.layout.dataLabels.xAxis.show ? (g(), p("g", kQ, [
27629
27633
  (g(!0), p(we, null, xe(D.value.xLabels, (Q, U) => (g(), p("text", {
27630
- x: Ae.value.left + ye.value.width / 2 + Ae.value.width / D.value.xLabels.length * U + y.value.style.layout.dataLabels.xAxis.offsetX,
27634
+ x: Ae.value.left + ge.value.width / 2 + Ae.value.width / D.value.xLabels.length * U + y.value.style.layout.dataLabels.xAxis.offsetX,
27631
27635
  y: Ae.value.top + y.value.style.layout.dataLabels.xAxis.offsetY - 6,
27632
27636
  "text-anchor": "middle",
27633
27637
  "font-size": y.value.style.layout.dataLabels.xAxis.fontSize,
@@ -27793,7 +27797,7 @@ const hQ = (e) => (En("data-v-8ee051ba"), e = e(), Nn(), e), fQ = ["id"], vQ = [
27793
27797
  ], 512)
27794
27798
  ], 14, fQ));
27795
27799
  }
27796
- }, BH = /* @__PURE__ */ Qt(ZQ, [["__scopeId", "data-v-8ee051ba"]]);
27800
+ }, xH = /* @__PURE__ */ Qt(ZQ, [["__scopeId", "data-v-8ee051ba"]]);
27797
27801
  const eL = ["id"], tL = ["viewBox"], oL = { key: 0 }, lL = ["font-size", "fill", "x"], aL = ["font-size", "fill", "x", "y"], rL = { key: 1 }, nL = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], AL = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], iL = { key: 0 }, sL = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], uL = { key: 1 }, cL = { key: 2 }, dL = ["x", "y", "font-size", "fill"], hL = ["x", "y", "font-size", "fill"], fL = ["id", "font-size", "font-weight", "fill"], vL = { key: 3 }, gL = ["x", "y", "font-size", "fill"], yL = ["x", "y", "font-size", "fill"], pL = ["font-size", "font-weight", "fill", "x", "y"], bL = ["id"], wL = ["x", "y", "width", "height"], mL = { key: 4 }, xL = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], BL = ["x", "y", "fill", "font-size", "font-weight"], CL = ["y", "height"], kL = ["onClick"], _L = ["onClick"], FL = { style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" } }, SL = {
27798
27802
  viewBox: "0 0 20 20",
27799
27803
  height: "20",
@@ -27824,29 +27828,29 @@ const eL = ["id"], tL = ["viewBox"], oL = { key: 0 }, lL = ["font-size", "fill",
27824
27828
  k.setAttributeNS(null, "transform", `rotate(-90, ${Q}, ${U})`), k.setAttributeNS(null, "x", Q), k.setAttributeNS(null, "y", U);
27825
27829
  }
27826
27830
  });
27827
- const h = ge(() => It({
27831
+ const h = ye(() => It({
27828
27832
  userConfig: o.config,
27829
27833
  defaultConfig: l.value
27830
27834
  })), s = J({
27831
27835
  inside: !h.value.style.layout.useDiv,
27832
27836
  showTable: h.value.table.show
27833
- }), v = ge(() => ({
27837
+ }), v = ye(() => ({
27834
27838
  height: h.value.style.layout.height,
27835
27839
  width: h.value.style.layout.width
27836
- })), y = ge(() => ({
27840
+ })), y = ye(() => ({
27837
27841
  top: h.value.style.layout.padding.top,
27838
27842
  right: v.value.width - h.value.style.layout.padding.right,
27839
27843
  bottom: v.value.height - h.value.style.layout.padding.bottom,
27840
27844
  left: h.value.style.layout.padding.left,
27841
27845
  height: v.value.height - h.value.style.layout.padding.top - h.value.style.layout.padding.bottom,
27842
27846
  width: v.value.width - h.value.style.layout.padding.left - h.value.style.layout.padding.right
27843
- })), C = ge(() => {
27847
+ })), C = ye(() => {
27844
27848
  const k = Math.min(..._.value.filter((W) => !D.value.includes(W.id)).flatMap((W) => W.values.map((T) => T.x))), L = Math.max(..._.value.filter((W) => !D.value.includes(W.id)).flatMap((W) => W.values.map((T) => T.x))), Q = Math.min(..._.value.filter((W) => !D.value.includes(W.id)).flatMap((W) => W.values.map((T) => T.y))), U = Math.max(..._.value.filter((W) => !D.value.includes(W.id)).flatMap((W) => W.values.map((T) => T.y)));
27845
27849
  return { xMin: k, xMax: L, yMin: Q, yMax: U };
27846
- }), x = ge(() => ({
27850
+ }), x = ye(() => ({
27847
27851
  x: y.value.left + Math.abs(C.value.xMin) / (C.value.xMax + Math.abs(C.value.xMin)) * y.value.width,
27848
27852
  y: y.value.bottom - Math.abs(C.value.yMin) / (C.value.yMax + Math.abs(C.value.yMin)) * y.value.height
27849
- })), _ = ge(() => o.dataset.map((k, L) => {
27853
+ })), _ = ye(() => o.dataset.map((k, L) => {
27850
27854
  const Q = `cluster_${r.value}_${L}`;
27851
27855
  return {
27852
27856
  ...k,
@@ -27855,14 +27859,14 @@ const eL = ["id"], tL = ["viewBox"], oL = { key: 0 }, lL = ["font-size", "fill",
27855
27859
  opacity: D.value.includes(Q) ? 0.5 : 1,
27856
27860
  shape: k.shape ?? "circle"
27857
27861
  };
27858
- })), j = ge(() => ({
27862
+ })), j = ye(() => ({
27859
27863
  cy: "scatter-div-legend",
27860
27864
  backgroundColor: h.value.style.legend.backgroundColor,
27861
27865
  color: h.value.style.legend.color,
27862
27866
  fontSize: h.value.style.legend.fontSize,
27863
27867
  paddingBottom: 12,
27864
27868
  fontWeight: h.value.style.legend.bold ? "bold" : ""
27865
- })), K = ge(() => _.value.map((k, L) => ({
27869
+ })), K = ye(() => _.value.map((k, L) => ({
27866
27870
  ...k,
27867
27871
  plots: k.values.map((Q) => ({
27868
27872
  x: y.value.left + (Q.x + Math.abs(C.value.xMin)) / (C.value.xMax + Math.abs(C.value.xMin)) * y.value.width,
@@ -27875,7 +27879,7 @@ const eL = ["id"], tL = ["viewBox"], oL = { key: 0 }, lL = ["font-size", "fill",
27875
27879
  color: k.color ? k.color : qe[L] || qe[L % qe.length],
27876
27880
  id: `plot_${r.value}_${Math.random()}`
27877
27881
  }))
27878
- })).filter((k) => !D.value.includes(k.id))), O = ge(() => K.value.map((k) => {
27882
+ })).filter((k) => !D.value.includes(k.id))), O = ye(() => K.value.map((k) => {
27879
27883
  const L = k.plots.reduce((I, Ue) => I + Ue.x, 0) / k.plots.length, Q = k.plots.reduce((I, Ue) => I + Ue.y, 0) / k.plots.length;
27880
27884
  let U = 0, W = 0, T = 0;
27881
27885
  for (const I of k.plots)
@@ -27914,7 +27918,7 @@ const eL = ["id"], tL = ["viewBox"], oL = { key: 0 }, lL = ["font-size", "fill",
27914
27918
  let L = "";
27915
27919
  k.clusterName && (L += `<div style="display:flex;gap:3px;align-items:center">${k.clusterName}</div>`), k.v.name && (L += `<div>${k.v.name}</div>`), L += '<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8">', L += `<div>${h.value.style.layout.dataLabels.xAxis.name} : <b>${isNaN(k.v.x) ? "-" : Number(k.v.x.toFixed(h.value.style.layout.dataLabels.xAxis.roundingValue)).toLocaleString()}</b></div>`, L += `<div>${h.value.style.layout.dataLabels.yAxis.name} : <b>${isNaN(k.v.y) ? "-" : Number(k.v.y.toFixed(h.value.style.layout.dataLabels.yAxis.roundingValue)).toLocaleString()}</b></div>`, L += `${h.value.style.layout.plots.deviation.translation} : <b>${Number(k.deviation.toFixed(h.value.style.layout.plots.deviation.roundingValue)).toLocaleString()}</b>`, L += "</div>", c.value = `<div>${L}</div>`, i.value = !0;
27916
27920
  }
27917
- function ye() {
27921
+ function ge() {
27918
27922
  i.value = !1, Z.value = void 0, H.value = null;
27919
27923
  }
27920
27924
  const D = J([]);
@@ -27961,7 +27965,7 @@ const eL = ["id"], tL = ["viewBox"], oL = { key: 0 }, lL = ["font-size", "fill",
27961
27965
  Do({ csvContent: U, title: h.value.style.title.text || "vue-ui-heatmap" });
27962
27966
  });
27963
27967
  }
27964
- const P = ge(() => {
27968
+ const P = ye(() => {
27965
27969
  const k = [
27966
27970
  h.value.table.translations.series,
27967
27971
  h.value.table.translations.correlationCoefficient,
@@ -28102,7 +28106,7 @@ const eL = ["id"], tL = ["viewBox"], oL = { key: 0 }, lL = ["font-size", "fill",
28102
28106
  stroke: h.value.style.layout.plots.stroke,
28103
28107
  "stroke-width": h.value.style.layout.plots.strokeWidth,
28104
28108
  onMouseover: (de) => re(W),
28105
- onMouseleave: ye,
28109
+ onMouseleave: ge,
28106
28110
  style: $(`opacity:${h.value.style.layout.plots.significance.show && Math.abs(W.deviation) > h.value.style.layout.plots.significance.deviationThreshold ? h.value.style.layout.plots.significance.opacity : 1}`)
28107
28111
  }, null, 44, sL))), 256))
28108
28112
  ])) : (g(), p("g", uL, [
@@ -28114,7 +28118,7 @@ const eL = ["id"], tL = ["viewBox"], oL = { key: 0 }, lL = ["font-size", "fill",
28114
28118
  stroke: h.value.style.layout.plots.stroke,
28115
28119
  strokeWidth: h.value.style.layout.plots.strokeWidth,
28116
28120
  onMouseover: (de) => re(W),
28117
- onMouseleave: ye,
28121
+ onMouseleave: ge,
28118
28122
  style: $(`opacity:${h.value.style.layout.plots.significance.show && Math.abs(W.deviation) > h.value.style.layout.plots.significance.deviationThreshold ? h.value.style.layout.plots.significance.opacity : 1}`)
28119
28123
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
28120
28124
  ]))
@@ -28279,7 +28283,7 @@ const eL = ["id"], tL = ["viewBox"], oL = { key: 0 }, lL = ["font-size", "fill",
28279
28283
  ], 4)) : E("", !0)
28280
28284
  ], 14, eL));
28281
28285
  }
28282
- }, CH = /* @__PURE__ */ Qt(LL, [["__scopeId", "data-v-6f0dba6a"]]);
28286
+ }, BH = /* @__PURE__ */ Qt(LL, [["__scopeId", "data-v-6f0dba6a"]]);
28283
28287
  const UL = ["id"], ML = ["viewBox"], IL = { key: 0 }, EL = ["id"], NL = ["stop-color"], $L = ["stop-color"], TL = ["stop-color"], HL = ["id"], DL = ["stop-color"], PL = ["stop-color"], zL = ["stop-color"], OL = { key: 0 }, RL = ["font-size", "fill", "x"], KL = ["font-size", "fill", "x", "y"], VL = { key: 1 }, jL = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], GL = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], WL = { key: 2 }, XL = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qL = ["x", "y", "font-size", "fill", "font-weight"], YL = { key: 3 }, JL = ["x", "y", "font-size", "fill", "font-weight"], ZL = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], eU = { key: 0 }, tU = ["cx", "cy", "r", "fill"], oU = ["cx", "cy", "r", "fill"], lU = { key: 1 }, aU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], rU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], nU = ["x", "y", "height", "width", "fill", "rx"], AU = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], iU = ["x", "y", "height", "width", "fill", "onMouseover"], sU = {
28284
28288
  key: 2,
28285
28289
  class: "vue-ui-candlestick-range-slider-wrapper",
@@ -28318,16 +28322,16 @@ const UL = ["id"], ML = ["viewBox"], IL = { key: 0 }, EL = ["id"], NL = ["stop-c
28318
28322
  L.addEventListener("input", T), Q.addEventListener("input", de), T(), de();
28319
28323
  }
28320
28324
  });
28321
- const s = ge(() => It({
28325
+ const s = ye(() => It({
28322
28326
  userConfig: o.config,
28323
28327
  defaultConfig: l.value
28324
28328
  })), v = J({
28325
28329
  inside: !s.value.style.layout.useDiv,
28326
28330
  showTable: s.value.table.show
28327
- }), y = ge(() => ({
28331
+ }), y = ye(() => ({
28328
28332
  height: s.value.style.height,
28329
28333
  width: s.value.style.width
28330
- })), C = ge(() => {
28334
+ })), C = ye(() => {
28331
28335
  const { top: L, right: Q, bottom: U, left: W } = s.value.style.layout.padding;
28332
28336
  return {
28333
28337
  top: L,
@@ -28337,20 +28341,20 @@ const UL = ["id"], ML = ["viewBox"], IL = { key: 0 }, EL = ["id"], NL = ["stop-c
28337
28341
  width: y.value.width - W - Q,
28338
28342
  height: y.value.height - L - U
28339
28343
  };
28340
- }), x = ge(() => o.dataset.length), _ = J({
28344
+ }), x = ye(() => o.dataset.length), _ = J({
28341
28345
  start: 0,
28342
28346
  end: x.value
28343
- }), j = ge(() => o.dataset.slice(_.value.start, _.value.end)), K = ge(() => j.value.map((L) => ({
28347
+ }), j = ye(() => o.dataset.slice(_.value.start, _.value.end)), K = ye(() => j.value.map((L) => ({
28344
28348
  period: L[0],
28345
28349
  open: L[1],
28346
28350
  high: L[2],
28347
28351
  low: L[3],
28348
28352
  last: L[4],
28349
28353
  volume: L[5]
28350
- }))), O = ge(() => C.value.width / j.value.length), Ae = ge(() => ({
28354
+ }))), O = ye(() => C.value.width / j.value.length), Ae = ye(() => ({
28351
28355
  max: Math.max(...K.value.map((L) => L.high)),
28352
28356
  min: 0
28353
- })), Z = ge(() => Fs(Ae.value.min, Ae.value.max, 10));
28357
+ })), Z = ye(() => Fs(Ae.value.min, Ae.value.max, 10));
28354
28358
  function H(L, Q) {
28355
28359
  return {
28356
28360
  ...L,
@@ -28359,7 +28363,7 @@ const UL = ["id"], ML = ["viewBox"], IL = { key: 0 }, EL = ["id"], NL = ["stop-c
28359
28363
  value: L
28360
28364
  };
28361
28365
  }
28362
- const re = ge(() => K.value.map((L, Q) => {
28366
+ const re = ye(() => K.value.map((L, Q) => {
28363
28367
  const U = H(L.open, Q), W = H(L.high, Q), T = H(L.low, Q), de = H(L.last, Q), he = L.last > L.open;
28364
28368
  return {
28365
28369
  period: L.period,
@@ -28371,13 +28375,13 @@ const UL = ["id"], ML = ["viewBox"], IL = { key: 0 }, EL = ["id"], NL = ["stop-c
28371
28375
  isBullish: he
28372
28376
  };
28373
28377
  }));
28374
- function ye(L) {
28378
+ function ge(L) {
28375
28379
  return L / Z.value.max;
28376
28380
  }
28377
- const D = ge(() => Z.value.ticks.map((L) => ({
28378
- y: C.value.bottom - C.value.height * ye(L),
28381
+ const D = ye(() => Z.value.ticks.map((L) => ({
28382
+ y: C.value.bottom - C.value.height * ge(L),
28379
28383
  value: L
28380
- }))), z = ge(() => K.value.map((L) => L.period));
28384
+ }))), z = ye(() => K.value.map((L) => L.period));
28381
28385
  function ue(L) {
28382
28386
  if (f.value = L, s.value.style.tooltip.show) {
28383
28387
  let Q = "";
@@ -28427,7 +28431,7 @@ const UL = ["id"], ML = ["viewBox"], IL = { key: 0 }, EL = ["id"], NL = ["stop-c
28427
28431
  Do({ csvContent: W, title: s.value.style.title.text || "vue-ui-candlestick" });
28428
28432
  });
28429
28433
  }
28430
- const N = ge(() => {
28434
+ const N = ye(() => {
28431
28435
  const L = re.value.map((W) => [
28432
28436
  `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" :rx="${s.value.style.layout.candle.borderRadius * 3}" fill="${s.value.style.layout.candle.gradient.show ? W.isBullish ? `url(#bullish_gradient_${r.value}` : `url(#bearish_gradient_${r.value})` : W.isBullish ? s.value.style.layout.candle.colors.bullish : s.value.style.layout.candle.colors.bearish}"/></svg> ${W.period}`,
28433
28437
  `${s.value.table.td.prefix} ${isNaN(W.open.value) ? "-" : Number(W.open.value.toFixed(s.value.table.td.roundingValue)).toLocaleString()} ${s.value.table.td.suffix}`,
@@ -28775,7 +28779,7 @@ const UL = ["id"], ML = ["viewBox"], IL = { key: 0 }, EL = ["id"], NL = ["stop-c
28775
28779
  ], 4)) : E("", !0)
28776
28780
  ], 14, UL));
28777
28781
  }
28778
- }, kH = /* @__PURE__ */ Qt(yU, [["__scopeId", "data-v-507cb5a4"]]);
28782
+ }, CH = /* @__PURE__ */ Qt(yU, [["__scopeId", "data-v-507cb5a4"]]);
28779
28783
  const pU = ["id"], bU = ["viewBox"], wU = ["id"], mU = ["stop-color"], xU = ["stop-color"], BU = ["id"], CU = ["stop-color"], kU = ["stop-color"], _U = { key: 0 }, FU = ["font-size", "fill", "x"], SU = ["font-size", "fill", "x", "y"], QU = ["x", "y", "width", "height", "fill", "rx"], LU = ["x", "y", "width", "height", "fill", "rx"], UU = ["x", "y", "width", "height", "fill", "rx"], MU = ["x", "y", "width", "height", "fill", "rx"], IU = { key: 0 }, EU = ["x", "y", "fill", "font-size", "font-weight"], NU = ["x", "y", "fill", "font-size", "font-weight"], $U = { key: 1 }, TU = ["x", "y", "font-size", "fill", "font-weight"], HU = { key: 2 }, DU = { key: 0 }, PU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], OU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], RU = ["x", "y", "font-size", "fill", "font-weight"], KU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], VU = ["x", "y", "font-size", "fill", "font-weight"], jU = ["x", "y", "font-size", "fill", "font-weight"], GU = ["x", "y", "width", "height", "fill", "onMouseover"], WU = {
28780
28784
  __name: "vue-ui-age-pyramid",
28781
28785
  props: {
@@ -28793,16 +28797,16 @@ const pU = ["id"], bU = ["viewBox"], wU = ["id"], mU = ["stop-color"], xU = ["st
28793
28797
  }
28794
28798
  },
28795
28799
  setup(e, { expose: t }) {
28796
- const o = e, r = J(Mt()), l = J(St.vue_ui_age_pyramid), a = J(!1), n = J(!1), A = J(null), u = J(null), i = J(!1), c = J(""), f = J(null), h = J(0), s = ge(() => It({
28800
+ const o = e, r = J(Mt()), l = J(St.vue_ui_age_pyramid), a = J(!1), n = J(!1), A = J(null), u = J(null), i = J(!1), c = J(""), f = J(null), h = J(0), s = ye(() => It({
28797
28801
  userConfig: o.config,
28798
28802
  defaultConfig: l.value
28799
28803
  })), v = J({
28800
28804
  inside: !s.value.style.layout.useDiv,
28801
28805
  showTable: s.value.table.show
28802
- }), y = ge(() => ({
28806
+ }), y = ye(() => ({
28803
28807
  height: s.value.style.height,
28804
28808
  width: s.value.style.width
28805
- })), C = ge(() => {
28809
+ })), C = ye(() => {
28806
28810
  const S = y.value.width - s.value.style.layout.padding.right - s.value.style.layout.padding.left, P = s.value.style.layout.padding.left, N = y.value.width - s.value.style.layout.padding.right;
28807
28811
  return {
28808
28812
  top: s.value.style.layout.padding.top,
@@ -28821,7 +28825,7 @@ const pU = ["id"], bU = ["viewBox"], wU = ["id"], mU = ["stop-color"], xU = ["st
28821
28825
  left: P + S / 2 + s.value.style.layout.centerSlit.width
28822
28826
  }
28823
28827
  };
28824
- }), x = ge(() => o.dataset.map((S) => s.value.style.layout.dataLabels.yAxis.display === "age" ? S[1] : S[0])), _ = ge(() => {
28828
+ }), x = ye(() => o.dataset.map((S) => s.value.style.layout.dataLabels.yAxis.display === "age" ? S[1] : S[0])), _ = ye(() => {
28825
28829
  const S = j(K.value / 5), P = [], N = [];
28826
28830
  for (let ne = 0; ne <= 5; ne += 1) {
28827
28831
  const k = S * ne, L = S * (ne - 5);
@@ -28845,7 +28849,7 @@ const pU = ["id"], bU = ["viewBox"], wU = ["id"], mU = ["stop-color"], xU = ["st
28845
28849
  let ne;
28846
28850
  return S < 0, ne = Math.round(S / N) * N, ne;
28847
28851
  }
28848
- const K = ge(() => Math.max(...o.dataset.flatMap((S) => S.slice(-2)))), O = ge(() => o.dataset.length), Ae = ge(() => o.dataset.map((S) => ({
28852
+ const K = ye(() => Math.max(...o.dataset.flatMap((S) => S.slice(-2)))), O = ye(() => o.dataset.length), Ae = ye(() => o.dataset.map((S) => ({
28849
28853
  segment: S[0],
28850
28854
  age: S[1],
28851
28855
  left: {
@@ -28856,7 +28860,7 @@ const pU = ["id"], bU = ["viewBox"], wU = ["id"], mU = ["stop-color"], xU = ["st
28856
28860
  value: S[3],
28857
28861
  proportionToMax: S[3] / K.value
28858
28862
  }
28859
- }))), Z = ge(() => Ae.value.map((S, P) => {
28863
+ }))), Z = ye(() => Ae.value.map((S, P) => {
28860
28864
  const N = C.value.top + C.value.height / O.value * P, ne = C.value.height / O.value - s.value.style.layout.bars.gap;
28861
28865
  return {
28862
28866
  segment: S.segment,
@@ -28886,11 +28890,11 @@ const pU = ["id"], bU = ["viewBox"], wU = ["id"], mU = ["stop-color"], xU = ["st
28886
28890
  P += `<div><b>${N.segment}</b></div>`, P += `<div>${s.value.translations.age} : ${N.age}</div>`, P += '<div style="margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8">', P += '<div style="display:flex; flex-direction:row;gap:12px">', P += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${s.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${s.value.style.layout.bars.gradient.show ? `url(#age_pyramid_left_${r.value})` : s.value.style.layout.bars.left.color}"/></svg><div>${s.value.translations.female}</div><div><b>${N.left.value.toLocaleString()}</b></div></div>`, P += `<div style="display:flex;flex-direction:column;align-items:center;justify-content:center"><svg viewBox="0 0 12 12" height="12" width="12"><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${s.value.style.layout.bars.gradient.underlayer}"/><rect stroke="none" x="0" y="0" height="12" width="12" rx="2" fill="${s.value.style.layout.bars.gradient.show ? `url(#age_pyramid_right_${r.value})` : s.value.style.layout.bars.right.color}"/></svg><div>${s.value.translations.male}</div><div><b>${N.right.value.toLocaleString()}</b></div></div>`, P += "</div>", P += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid #e1e5e8"><div>${s.value.translations.total}</div><div><b>${(N.left.value + N.right.value).toLocaleString()}</b></div></div>`, P += "</div>", c.value = `<div>${P}</div>`, i.value = !0;
28887
28891
  }
28888
28892
  const re = J(null);
28889
- function ye() {
28893
+ function ge() {
28890
28894
  n.value = !0;
28891
28895
  }
28892
28896
  function D() {
28893
- ye(), clearTimeout(re.value), re.value = setTimeout(() => {
28897
+ ge(), clearTimeout(re.value), re.value = setTimeout(() => {
28894
28898
  to({
28895
28899
  domElement: document.getElementById(`vue-ui-age-pyramid_${r.value}`),
28896
28900
  fileName: s.value.style.title.text || "vue-ui-age-pyramid"
@@ -28925,7 +28929,7 @@ const pU = ["id"], bU = ["viewBox"], wU = ["id"], mU = ["stop-color"], xU = ["st
28925
28929
  Do({ csvContent: ne, title: s.value.style.title.text || "vue-ui-heatmap" });
28926
28930
  });
28927
28931
  }
28928
- const me = ge(() => {
28932
+ const me = ye(() => {
28929
28933
  const S = [
28930
28934
  s.value.translations.year,
28931
28935
  s.value.translations.age,
@@ -29250,7 +29254,7 @@ const pU = ["id"], bU = ["viewBox"], wU = ["id"], mU = ["stop-color"], xU = ["st
29250
29254
  ], 4)) : E("", !0)
29251
29255
  ], 14, pU));
29252
29256
  }
29253
- }, _H = /* @__PURE__ */ Qt(WU, [["__scopeId", "data-v-d947b096"]]);
29257
+ }, kH = /* @__PURE__ */ Qt(WU, [["__scopeId", "data-v-d947b096"]]);
29254
29258
  const XU = (e) => (En("data-v-f95b5501"), e = e(), Nn(), e), qU = {
29255
29259
  key: 0,
29256
29260
  "data-html2canvas-ignore": "",
@@ -29270,7 +29274,7 @@ const XU = (e) => (En("data-v-f95b5501"), e = e(), Nn(), e), qU = {
29270
29274
  "53292d96": D.value,
29271
29275
  f57466f8: z.value
29272
29276
  }));
29273
- const l = J(St.vue_ui_dashboard), a = ge(() => It({
29277
+ const l = J(St.vue_ui_dashboard), a = ye(() => It({
29274
29278
  userConfig: r.config,
29275
29279
  defaultConfig: l.value
29276
29280
  })), n = J(`vue-ui-dashboard-${Math.random()}`), A = J(r.dataset), u = J(null), i = J(null), c = J({ x: 0, y: 0 }), f = J({ x: 0, y: 0 }), h = J(null), s = J(!1), v = J(null), y = J(!1);
@@ -29356,12 +29360,12 @@ const XU = (e) => (En("data-v-f95b5501"), e = e(), Nn(), e), qU = {
29356
29360
  ne >= 0 && k >= 0 && ne + S.width <= 100 && k + S.height <= 100 && (S.left = ne, S.top = k), c.value = { x: le.touches[0].clientX, y: le.touches[0].clientY };
29357
29361
  }
29358
29362
  }
29359
- function ye() {
29363
+ function ge() {
29360
29364
  s.value = !1, v.value = null, u.value = null, i.value = null, A.value.forEach((le) => {
29361
29365
  le.left = Math.round(le.left / 100 * 100), le.top = Math.round(le.top / 100 * 100), le.width = Math.round(le.width / 100 * 100), le.height = Math.round(le.height / 100 * 100);
29362
29366
  });
29363
29367
  }
29364
- const D = ge(() => a.value.style.item.borderColor), z = ge(() => a.value.style.resizeHandles.backgroundColor), ue = ge(() => a.value.style.board.aspectRatio), q = ge(() => a.value.style.board.backgroundColor), me = ge(() => a.value.style.board.border);
29368
+ const D = ye(() => a.value.style.item.borderColor), z = ye(() => a.value.style.resizeHandles.backgroundColor), ue = ye(() => a.value.style.board.aspectRatio), q = ye(() => a.value.style.board.backgroundColor), me = ye(() => a.value.style.board.border);
29365
29369
  function ie() {
29366
29370
  return A.value;
29367
29371
  }
@@ -29404,7 +29408,7 @@ const XU = (e) => (En("data-v-f95b5501"), e = e(), Nn(), e), qU = {
29404
29408
  onMousemove: K,
29405
29409
  onMouseup: O,
29406
29410
  onTouchmove: re,
29407
- onTouchend: ye,
29411
+ onTouchend: ge,
29408
29412
  style: $(`background:${a.value.style.board.backgroundColor}`)
29409
29413
  }, [
29410
29414
  l7,
@@ -29429,28 +29433,28 @@ const XU = (e) => (En("data-v-f95b5501"), e = e(), Nn(), e), qU = {
29429
29433
  onMousedown: (ne) => _(N, "top-left"),
29430
29434
  onTouchstart: (ne) => Z(N, "top-left", ne),
29431
29435
  onTouchmove: S[0] || (S[0] = (ne) => H(ne)),
29432
- onTouchend: ye
29436
+ onTouchend: ge
29433
29437
  }, null, 40, r7),
29434
29438
  w("div", {
29435
29439
  class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-top-right",
29436
29440
  onMousedown: (ne) => _(N, "top-right"),
29437
29441
  onTouchstart: (ne) => Z(N, "top-right", ne),
29438
29442
  onTouchmove: S[1] || (S[1] = (ne) => H(ne)),
29439
- onTouchend: ye
29443
+ onTouchend: ge
29440
29444
  }, null, 40, n7),
29441
29445
  w("div", {
29442
29446
  class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-left",
29443
29447
  onMousedown: (ne) => _(N, "bottom-left"),
29444
29448
  onTouchstart: (ne) => Z(N, "bottom-left", ne),
29445
29449
  onTouchmove: S[2] || (S[2] = (ne) => H(ne)),
29446
- onTouchend: ye
29450
+ onTouchend: ge
29447
29451
  }, null, 40, A7),
29448
29452
  w("div", {
29449
29453
  class: "vue-ui-dashboard-resize-handle vue-ui-dashboard-bottom-right",
29450
29454
  onMousedown: (ne) => _(N, "bottom-right"),
29451
29455
  onTouchstart: (ne) => Z(N, "bottom-right", ne),
29452
29456
  onTouchmove: S[3] || (S[3] = (ne) => H(ne)),
29453
- onTouchend: ye
29457
+ onTouchend: ge
29454
29458
  }, null, 40, i7),
29455
29459
  Dt(le.$slots, "content", {
29456
29460
  item: P,
@@ -29465,7 +29469,7 @@ const XU = (e) => (En("data-v-f95b5501"), e = e(), Nn(), e), qU = {
29465
29469
  ], 12, o7)
29466
29470
  ], 64));
29467
29471
  }
29468
- }, FH = /* @__PURE__ */ Qt(s7, [["__scopeId", "data-v-f95b5501"]]);
29472
+ }, _H = /* @__PURE__ */ Qt(s7, [["__scopeId", "data-v-f95b5501"]]);
29469
29473
  const u7 = {
29470
29474
  props: {
29471
29475
  config: {
@@ -31634,7 +31638,7 @@ function HM(e, t, o, r, l, a) {
31634
31638
  ], 512)
31635
31639
  ]);
31636
31640
  }
31637
- const SH = /* @__PURE__ */ Qt(u7, [["render", HM], ["__scopeId", "data-v-f2c33156"]]);
31641
+ const FH = /* @__PURE__ */ Qt(u7, [["render", HM], ["__scopeId", "data-v-f2c33156"]]);
31638
31642
  const zo = (e) => (En("data-v-47a45dc9"), e = e(), Nn(), e), DM = {
31639
31643
  key: 0,
31640
31644
  class: "vue-ui-rating-title",
@@ -31731,10 +31735,10 @@ const zo = (e) => (En("data-v-47a45dc9"), e = e(), Nn(), e), DM = {
31731
31735
  },
31732
31736
  emits: ["rate"],
31733
31737
  setup(e, { expose: t, emit: o }) {
31734
- const r = e, l = J(St.vue_ui_smiley), a = J(!1), n = J(void 0), A = ge(() => It({
31738
+ const r = e, l = J(St.vue_ui_smiley), a = J(!1), n = J(void 0), A = ye(() => It({
31735
31739
  userConfig: r.config,
31736
31740
  defaultConfig: l.value
31737
- })), u = ge(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? h(r.dataset.rating) : r.dataset.rating || null), i = ge(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), c = J(u.value), f = J(A.value.readonly);
31741
+ })), u = ye(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating) ? h(r.dataset.rating) : r.dataset.rating || null), i = ye(() => typeof r.dataset.rating == "object" && !Array.isArray(r.dataset.rating)), c = J(u.value), f = J(A.value.readonly);
31738
31742
  function h(_) {
31739
31743
  if (_ === null)
31740
31744
  return null;
@@ -32367,7 +32371,7 @@ const zo = (e) => (En("data-v-47a45dc9"), e = e(), Nn(), e), DM = {
32367
32371
  }, M(isNaN(c.value) ? "" : c.value.toFixed(A.value.style.rating.roundingValue)), 5)) : E("", !0)
32368
32372
  ], 36));
32369
32373
  }
32370
- }, QH = /* @__PURE__ */ Qt(SE, [["__scopeId", "data-v-47a45dc9"]]);
32374
+ }, SH = /* @__PURE__ */ Qt(SE, [["__scopeId", "data-v-47a45dc9"]]);
32371
32375
  const QE = ["id"], LE = ["viewBox"], UE = { key: 0 }, ME = ["font-size", "fill", "x", "y"], IE = ["font-size", "fill", "x", "y"], EE = ["cx", "cy", "r", "stroke", "stroke-width"], NE = { key: 1 }, $E = ["stroke", "d", "stroke-width"], TE = { key: 2 }, HE = ["stroke", "x1", "x2", "y1", "y2"], DE = ["text-anchor", "transform", "x", "y", "onClick", "font-weight", "font-size", "fill"], PE = ["cx", "cy", "fill", "onClick", "r"], zE = {
32372
32376
  __name: "vue-ui-relation-circle",
32373
32377
  props: {
@@ -32391,13 +32395,13 @@ const QE = ["id"], LE = ["viewBox"], UE = { key: 0 }, ME = ["font-size", "fill",
32391
32395
  ea46ca60: K.value,
32392
32396
  "6e48ba9c": Ae.value
32393
32397
  }));
32394
- const r = J(Mt()), l = J(St.vue_ui_relation_circle), a = J(!1), n = J(!1), A = J(null), u = J(0), i = ge(() => It({
32398
+ const r = J(Mt()), l = J(St.vue_ui_relation_circle), a = J(!1), n = J(!1), A = J(null), u = J(0), i = ye(() => It({
32395
32399
  userConfig: o.config,
32396
32400
  defaultConfig: l.value
32397
- })), c = J([]), f = ge(() => i.value.style.size * i.value.style.circle.radiusProportion), h = J([]), s = J({}), v = J([]), y = J(0), C = ge(() => o.dataset.slice(0, i.value.style.limit)), x = ge(() => i.value.style.size), _ = ge(() => ({
32401
+ })), c = J([]), f = ye(() => i.value.style.size * i.value.style.circle.radiusProportion), h = J([]), s = J({}), v = J([]), y = J(0), C = ye(() => o.dataset.slice(0, i.value.style.limit)), x = ye(() => i.value.style.size), _ = ye(() => ({
32398
32402
  height: i.value.style.size,
32399
32403
  width: i.value.style.size
32400
- })), j = ge(() => i.value.style.links.curved), K = ge(() => `${i.value.style.animation.speedMs}ms`), O = ge(() => f.value * 2), Ae = ge(() => f.value * 4);
32404
+ })), j = ye(() => i.value.style.links.curved), K = ye(() => `${i.value.style.animation.speedMs}ms`), O = ye(() => f.value * 2), Ae = ye(() => f.value * 4);
32401
32405
  el(() => {
32402
32406
  H(), re(), document.getElementById(`relation_circle_${r.value}`).addEventListener("click", Z);
32403
32407
  }), of(() => {
@@ -32432,7 +32436,7 @@ const QE = ["id"], LE = ["viewBox"], UE = { key: 0 }, ME = ["font-size", "fill",
32432
32436
  });
32433
32437
  });
32434
32438
  }
32435
- const ye = ge(() => Math.max(...h.value.map((T) => T.weight)));
32439
+ const ge = ye(() => Math.max(...h.value.map((T) => T.weight)));
32436
32440
  function D(T) {
32437
32441
  return Object.hasOwn(s.value, "x") ? v.value.includes(T.id) ? "opacity:1" : "opacity:0.1" : "opacity:1";
32438
32442
  }
@@ -32458,7 +32462,7 @@ const QE = ["id"], LE = ["viewBox"], UE = { key: 0 }, ME = ["font-size", "fill",
32458
32462
  y.value = 360 - T.regAngle, s.value.id && T.id === s.value.id ? (s.value = {}, v.value = []) : (s.value = T, v.value = [...T.relations]);
32459
32463
  }
32460
32464
  function P(T) {
32461
- return T.weight / ye.value * i.value.style.links.maxWidth;
32465
+ return T.weight / ge.value * i.value.style.links.maxWidth;
32462
32466
  }
32463
32467
  const N = J(null);
32464
32468
  function ne() {
@@ -32629,7 +32633,7 @@ const QE = ["id"], LE = ["viewBox"], UE = { key: 0 }, ME = ["font-size", "fill",
32629
32633
  ], 10, LE))
32630
32634
  ], 12, QE));
32631
32635
  }
32632
- }, LH = /* @__PURE__ */ Qt(zE, [["__scopeId", "data-v-647737a6"]]);
32636
+ }, QH = /* @__PURE__ */ Qt(zE, [["__scopeId", "data-v-647737a6"]]);
32633
32637
  const OE = ["id"], RE = {
32634
32638
  key: 0,
32635
32639
  style: "width:100%"
@@ -32659,12 +32663,12 @@ const OE = ["id"], RE = {
32659
32663
  "70ac6ca2": Z.value,
32660
32664
  "11a80348": Ae.value
32661
32665
  }));
32662
- const r = J(Mt()), l = J(St.vue_ui_thermometer), a = J(!1), n = J(!1), A = J(null), u = J(0), i = ge(() => It({
32666
+ const r = J(Mt()), l = J(St.vue_ui_thermometer), a = J(!1), n = J(!1), A = J(null), u = J(0), i = ye(() => It({
32663
32667
  userConfig: o.config,
32664
32668
  defaultConfig: l.value
32665
- })), c = ge(() => i.value.style.chart.thermometer.width), f = J({
32669
+ })), c = ye(() => i.value.style.chart.thermometer.width), f = J({
32666
32670
  inside: !i.value.style.title.useDiv
32667
- }), h = ge(() => o.dataset.steps || 10), s = J({
32671
+ }), h = ye(() => o.dataset.steps || 10), s = J({
32668
32672
  top: f.inside ? i.value.style.chart.padding.top + 64 : i.value.style.chart.padding.top,
32669
32673
  left: i.value.style.chart.padding.left,
32670
32674
  right: i.value.style.chart.padding.right,
@@ -32695,7 +32699,7 @@ const OE = ["id"], RE = {
32695
32699
  function _(S) {
32696
32700
  return S.toString(16).padStart(2, "0");
32697
32701
  }
32698
- const j = ge(() => {
32702
+ const j = ye(() => {
32699
32703
  const S = c.value + s.value.left + s.value.right, P = i.value.style.chart.height;
32700
32704
  return {
32701
32705
  width: S,
@@ -32705,11 +32709,11 @@ const OE = ["id"], RE = {
32705
32709
  bottom: P - s.value.bottom,
32706
32710
  height: P
32707
32711
  };
32708
- }), K = ge(() => j.value), O = ge(() => {
32712
+ }), K = ye(() => j.value), O = ye(() => {
32709
32713
  const S = o.dataset.from < 0 ? Math.abs(o.dataset.from) : o.dataset.from, P = o.dataset.to < 0 ? Math.abs(o.dataset.to) : o.dataset.to;
32710
32714
  let N = 0;
32711
32715
  return o.dataset.to > 0 ? N = S + P : S > P ? N = S - P : N = P - S, (1 - (Math.abs(o.dataset.from) + o.dataset.value) / N) * (j.value.height - s.value.top - s.value.bottom);
32712
- }), Ae = ge(() => `${O.value}px`), Z = ge(() => `${j.value.height - i.value.style.chart.padding.bottom - s.value.top}px`), H = ge(() => `${i.value.style.chart.animation.speedMs}ms`), re = ge(() => {
32716
+ }), Ae = ye(() => `${O.value}px`), Z = ye(() => `${j.value.height - i.value.style.chart.padding.bottom - s.value.top}px`), H = ye(() => `${i.value.style.chart.animation.speedMs}ms`), re = ye(() => {
32713
32717
  if (o.dataset.colors) {
32714
32718
  if (!o.dataset.colors.from)
32715
32719
  return y(qe[0], Ct(o.dataset.colors.to), h.value || 10);
@@ -32718,7 +32722,7 @@ const OE = ["id"], RE = {
32718
32722
  } else
32719
32723
  return y(qe[1], qe[0], h.value || 10);
32720
32724
  return y(Ct(o.dataset.colors.from), Ct(o.dataset.colors.to), h.value || 10);
32721
- }), ye = ge(() => {
32725
+ }), ge = ye(() => {
32722
32726
  const S = [];
32723
32727
  let P = 0;
32724
32728
  const N = j.value.height - s.value.top - s.value.bottom;
@@ -32830,7 +32834,7 @@ const OE = ["id"], RE = {
32830
32834
  fill: i.value.style.chart.backgroundColor
32831
32835
  }, null, 8, jE)
32832
32836
  ]),
32833
- (g(!0), p(we, null, xe(ye.value, (N, ne) => (g(), p("linearGradient", {
32837
+ (g(!0), p(we, null, xe(ge.value, (N, ne) => (g(), p("linearGradient", {
32834
32838
  id: `vueUiThermometerGradient_${ne}`,
32835
32839
  x1: "0%",
32836
32840
  y1: "0%",
@@ -32878,7 +32882,7 @@ const OE = ["id"], RE = {
32878
32882
  width: j.value.width - s.value.left - s.value.right,
32879
32883
  fill: "#FFFFFF"
32880
32884
  }, null, 8, t9),
32881
- (g(!0), p(we, null, xe(ye.value, (N, ne) => (g(), p("g", {
32885
+ (g(!0), p(we, null, xe(ge.value, (N, ne) => (g(), p("g", {
32882
32886
  key: `graduation_${ne}`
32883
32887
  }, [
32884
32888
  w("rect", {
@@ -32996,10 +33000,10 @@ const OE = ["id"], RE = {
32996
33000
  ], 10, KE))
32997
33001
  ], 14, OE));
32998
33002
  }
32999
- }, UH = /* @__PURE__ */ Qt(h9, [["__scopeId", "data-v-53f11382"]]), f9 = ["viewBox"], v9 = ["id"], g9 = ["stop-color"], y9 = ["stop-color"], p9 = ["stop-color"], b9 = {
33003
+ }, LH = /* @__PURE__ */ Qt(h9, [["__scopeId", "data-v-53f11382"]]), f9 = ["viewBox"], v9 = ["id"], g9 = ["stop-color"], y9 = ["stop-color"], p9 = ["stop-color"], b9 = {
33000
33004
  id: "stackPill",
33001
33005
  clipPathUnits: "objectBoundingBox"
33002
- }, w9 = ["fill"], m9 = { "clip-path": "url(#stackPill)" }, x9 = ["height", "width", "fill"], B9 = ["x", "width", "height", "fill", "stroke"], C9 = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "4px", "justify-content": "center" } }, k9 = ["height", "width"], _9 = ["fill"], MH = {
33006
+ }, w9 = ["fill"], m9 = { "clip-path": "url(#stackPill)" }, x9 = ["height", "width", "fill"], B9 = ["x", "width", "height", "fill", "stroke"], C9 = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "4px", "justify-content": "center" } }, k9 = ["height", "width"], _9 = ["fill"], UH = {
33003
33007
  __name: "vue-ui-sparkstackbar",
33004
33008
  props: {
33005
33009
  config: {
@@ -33016,19 +33020,19 @@ const OE = ["id"], RE = {
33016
33020
  }
33017
33021
  },
33018
33022
  setup(e) {
33019
- const t = e, o = J(Mt()), r = J(St.vue_ui_sparkstackbar), l = ge(() => It({
33023
+ const t = e, o = J(Mt()), r = J(St.vue_ui_sparkstackbar), l = ye(() => It({
33020
33024
  userConfig: t.config,
33021
33025
  defaultConfig: r.value
33022
33026
  })), a = J({
33023
33027
  width: 500,
33024
33028
  height: 16
33025
- }), n = ge(() => t.dataset.map((i) => i.value).reduce((i, c) => i + c, 0)), A = ge(() => t.dataset.map((i, c) => ({
33029
+ }), n = ye(() => t.dataset.map((i) => i.value).reduce((i, c) => i + c, 0)), A = ye(() => t.dataset.map((i, c) => ({
33026
33030
  ...i,
33027
33031
  color: Ct(i.color) || qe[c] || qe[c % qe.length],
33028
33032
  proportion: i.value / n.value,
33029
33033
  width: i.value / n.value * a.value.width,
33030
33034
  proportionLabel: `${Number((i.value / n.value * 100).toFixed(l.value.style.legend.percentage.rounding)).toLocaleString()}%`
33031
- }))), u = ge(() => {
33035
+ }))), u = ye(() => {
33032
33036
  let i = 0;
33033
33037
  const c = [];
33034
33038
  for (let f = 0; f < A.value.length; f += 1)
@@ -33144,7 +33148,7 @@ const OE = ["id"], RE = {
33144
33148
  ], 4)) : E("", !0)
33145
33149
  ], 4));
33146
33150
  }
33147
- }, F9 = { key: 0 }, S9 = { key: 1 }, Q9 = ["viewBox"], L9 = ["id"], U9 = ["stop-color"], M9 = ["stop-color"], I9 = ["id"], E9 = ["stop-color"], N9 = ["stop-color"], $9 = { key: 0 }, T9 = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], H9 = { key: 1 }, D9 = ["x", "y", "font-size", "font-weight", "fill"], P9 = ["x", "y", "font-size", "fill"], z9 = ["x", "y", "font-size", "fill"], O9 = ["height", "width", "x", "onMouseover", "stroke", "stroke-width", "rx", "stroke-dasharray"], IH = {
33151
+ }, F9 = { key: 0 }, S9 = { key: 1 }, Q9 = ["viewBox"], L9 = ["id"], U9 = ["stop-color"], M9 = ["stop-color"], I9 = ["id"], E9 = ["stop-color"], N9 = ["stop-color"], $9 = { key: 0 }, T9 = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], H9 = { key: 1 }, D9 = ["x", "y", "font-size", "font-weight", "fill"], P9 = ["x", "y", "font-size", "fill"], z9 = ["x", "y", "font-size", "fill"], O9 = ["height", "width", "x", "onMouseover", "stroke", "stroke-width", "rx", "stroke-dasharray"], MH = {
33148
33152
  __name: "vue-ui-sparkhistogram",
33149
33153
  props: {
33150
33154
  config: {
@@ -33161,10 +33165,10 @@ const OE = ["id"], RE = {
33161
33165
  }
33162
33166
  },
33163
33167
  setup(e) {
33164
- const t = e, o = J(Mt()), r = J(St.vue_ui_sparkhistogram), l = ge(() => It({
33168
+ const t = e, o = J(Mt()), r = J(St.vue_ui_sparkhistogram), l = ye(() => It({
33165
33169
  userConfig: t.config,
33166
33170
  defaultConfig: r.value
33167
- })), a = ge(() => {
33171
+ })), a = ye(() => {
33168
33172
  const c = l.value.style.layout.height, f = l.value.style.layout.width, h = l.value.style.layout.padding.top, s = c - l.value.style.layout.padding.bottom, v = l.value.style.layout.padding.left, y = f - l.value.style.layout.padding.right, C = h + (c - h - l.value.style.layout.padding.bottom) / 2, x = c - l.value.style.layout.padding.top - l.value.style.layout.padding.bottom, _ = f - l.value.style.layout.padding.left - l.value.style.layout.padding.right;
33169
33173
  return {
33170
33174
  bottom: s,
@@ -33177,11 +33181,11 @@ const OE = ["id"], RE = {
33177
33181
  top: h,
33178
33182
  width: f
33179
33183
  };
33180
- }), n = ge(() => Math.max(...t.dataset.map((c) => Math.abs(c.value))));
33184
+ }), n = ye(() => Math.max(...t.dataset.map((c) => Math.abs(c.value))));
33181
33185
  function A(c) {
33182
33186
  return Math.abs(c) / n.value;
33183
33187
  }
33184
- const u = ge(() => t.dataset.map((c, f) => {
33188
+ const u = ye(() => t.dataset.map((c, f) => {
33185
33189
  const h = A(c.value), s = a.value.drawingHeight * h, v = a.value.drawingWidth / t.dataset.length, y = v * (l.value.style.bars.gap / 100), C = v - y, x = a.value.centerY - s / 2, _ = a.value.left + (y / 2 + f * v), j = a.value.left + f * v, K = typeof c.intensity > "u" ? 100 : Math.round(c.intensity * 100), O = c.value >= 0 ? `${l.value.style.bars.colors.positive}${Ve[K]}` : `${l.value.style.bars.colors.negative}${Ve[K]}`, Ae = c.value >= 0 ? l.value.style.bars.colors.positive : l.value.style.bars.colors.negative, Z = c.value >= 0 ? `url(#gradient_positive_${f}_${o.value})` : `url(#gradient_negative_${f}_${o.value})`, H = _ + C / 2;
33186
33190
  return {
33187
33191
  ...c,
@@ -33344,12 +33348,12 @@ const R9 = ["id"], K9 = ["viewBox"], V9 = ["id"], j9 = ["stop-color"], G9 = ["st
33344
33348
  },
33345
33349
  emits: ["selectLegend"],
33346
33350
  setup(e, { expose: t, emit: o }) {
33347
- const r = e, l = J(Mt()), a = J(St.vue_ui_rings), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(!1), f = J(""), h = J(null), s = J(0), v = ge(() => It({
33351
+ const r = e, l = J(Mt()), a = J(St.vue_ui_rings), n = J(!1), A = J(!1), u = J(null), i = J(null), c = J(!1), f = J(""), h = J(null), s = J(0), v = ye(() => It({
33348
33352
  userConfig: r.config,
33349
33353
  defaultConfig: a.value
33350
33354
  })), y = J({
33351
33355
  showTable: v.value.table.show
33352
- }), C = ge(() => ({
33356
+ }), C = ye(() => ({
33353
33357
  height: 360,
33354
33358
  width: 360
33355
33359
  })), x = J([]);
@@ -33360,13 +33364,13 @@ const R9 = ["id"], K9 = ["viewBox"], V9 = ["id"], j9 = ["stop-color"], G9 = ["st
33360
33364
  value: Q.value
33361
33365
  })));
33362
33366
  }
33363
- const j = ge(() => Math.max(
33367
+ const j = ye(() => Math.max(
33364
33368
  ...O.value.filter((L) => !x.value.includes(L.uid)).map(({ value: L }) => L)
33365
33369
  ));
33366
33370
  function K(L) {
33367
33371
  return L / j.value;
33368
33372
  }
33369
- const O = ge(() => r.dataset.map(({ values: L, name: Q, color: U = null }, W) => {
33373
+ const O = ye(() => r.dataset.map(({ values: L, name: Q, color: U = null }, W) => {
33370
33374
  const T = L.reduce((de, he) => de + he, 0);
33371
33375
  return {
33372
33376
  name: Q,
@@ -33374,18 +33378,18 @@ const R9 = ["id"], K9 = ["viewBox"], V9 = ["id"], j9 = ["stop-color"], G9 = ["st
33374
33378
  value: T,
33375
33379
  uid: Mt()
33376
33380
  };
33377
- })), Ae = ge(() => O.value.map((L) => ({
33381
+ })), Ae = ye(() => O.value.map((L) => ({
33378
33382
  ...L,
33379
33383
  shape: "circle",
33380
33384
  opacity: x.value.includes(L.uid) ? 0.5 : 1
33381
- })).toSorted((L, Q) => Q.value - L.value)), Z = ge(() => ({
33385
+ })).toSorted((L, Q) => Q.value - L.value)), Z = ye(() => ({
33382
33386
  cy: "rings-div-legend",
33383
33387
  backgroundColor: v.value.style.chart.legend.backgroundColor,
33384
33388
  color: v.value.style.chart.legend.color,
33385
33389
  fontSize: v.value.style.chart.legend.fontSize,
33386
33390
  paddingBottom: 12,
33387
33391
  fontWeight: v.value.style.chart.legend.bold ? "bold" : ""
33388
- })), H = ge(() => O.value.filter((L) => !x.value.includes(L.uid)).map(({ value: L }) => L).reduce((L, Q) => L + Q, 0)), re = ge(() => O.value.filter((L) => !x.value.includes(L.uid)).map(({ name: L, value: Q, color: U = null, uid: W }, T) => ({
33392
+ })), H = ye(() => O.value.filter((L) => !x.value.includes(L.uid)).map(({ value: L }) => L).reduce((L, Q) => L + Q, 0)), re = ye(() => O.value.filter((L) => !x.value.includes(L.uid)).map(({ name: L, value: Q, color: U = null, uid: W }, T) => ({
33389
33393
  uid: W,
33390
33394
  name: L,
33391
33395
  color: U || Ct(U) || qe[T] || qe[T % qe.length],
@@ -33394,7 +33398,7 @@ const R9 = ["id"], K9 = ["viewBox"], V9 = ["id"], j9 = ["stop-color"], G9 = ["st
33394
33398
  percentage: Q / H.value * 100,
33395
33399
  strokeWidth: v.value.style.chart.layout.rings.strokeWidth * K(Q)
33396
33400
  })).toSorted((L, Q) => Q.value - L.value));
33397
- function ye() {
33401
+ function ge() {
33398
33402
  return re.value.map(
33399
33403
  ({ name: L, color: Q, value: U, absoluteValues: W, percentage: T }) => ({
33400
33404
  name: L,
@@ -33405,7 +33409,7 @@ const R9 = ["id"], K9 = ["viewBox"], V9 = ["id"], j9 = ["stop-color"], G9 = ["st
33405
33409
  })
33406
33410
  );
33407
33411
  }
33408
- const D = ge(() => C.value.height - v.value.style.chart.layout.rings.strokeWidth * 2);
33412
+ const D = ye(() => C.value.height - v.value.style.chart.layout.rings.strokeWidth * 2);
33409
33413
  function z(L) {
33410
33414
  if (x.value.length === r.dataset.length)
33411
33415
  return;
@@ -33448,13 +33452,13 @@ const R9 = ["id"], K9 = ["viewBox"], V9 = ["id"], j9 = ["stop-color"], G9 = ["st
33448
33452
  });
33449
33453
  }, 100);
33450
33454
  }
33451
- const S = ge(() => {
33455
+ const S = ye(() => {
33452
33456
  const L = re.value.map((U) => ({
33453
33457
  name: U.name,
33454
33458
  color: U.color
33455
33459
  })), Q = re.value.map((U) => U.value);
33456
33460
  return { head: L, body: Q };
33457
- }), P = ge(() => {
33461
+ }), P = ye(() => {
33458
33462
  const L = [
33459
33463
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
33460
33464
  Number(H.value.toFixed(v.value.table.td.roundingValue)).toLocaleString(),
@@ -33503,7 +33507,7 @@ const R9 = ["id"], K9 = ["viewBox"], V9 = ["id"], j9 = ["stop-color"], G9 = ["st
33503
33507
  ne.value = L, s.value += 1;
33504
33508
  }
33505
33509
  return t({
33506
- getData: ye,
33510
+ getData: ge,
33507
33511
  generatePdf: me,
33508
33512
  generateCsv: N,
33509
33513
  generateImage: le
@@ -33669,7 +33673,7 @@ const R9 = ["id"], K9 = ["viewBox"], V9 = ["id"], j9 = ["stop-color"], G9 = ["st
33669
33673
  }, 8, ["colNames", "head", "body", "config", "title"])) : E("", !0)
33670
33674
  ], 46, R9));
33671
33675
  }
33672
- }, EH = /* @__PURE__ */ Qt(tN, [["__scopeId", "data-v-9ef1a3c9"]]);
33676
+ }, IH = /* @__PURE__ */ Qt(tN, [["__scopeId", "data-v-9ef1a3c9"]]);
33673
33677
  const oN = ["id"], lN = ["viewBox"], aN = ["x1", "x2", "y1", "y2", "stroke", "stroke-linecap"], rN = ["cx", "cy", "r", "stroke", "stroke-width"], nN = ["x", "y", "font-size", "fill", "font-weight"], AN = {
33674
33678
  __name: "vue-ui-wheel",
33675
33679
  props: {
@@ -33687,14 +33691,14 @@ const oN = ["id"], lN = ["viewBox"], aN = ["x1", "x2", "y1", "y2", "stroke", "st
33687
33691
  }
33688
33692
  },
33689
33693
  setup(e, { expose: t }) {
33690
- const o = e, r = J(Mt()), l = J(St.vue_ui_wheel), a = J(!1), n = J(!1), A = J(null), u = J(null), i = J(0), c = ge(() => It({
33694
+ const o = e, r = J(Mt()), l = J(St.vue_ui_wheel), a = J(!1), n = J(!1), A = J(null), u = J(null), i = J(0), c = ye(() => It({
33691
33695
  userConfig: o.config,
33692
33696
  defaultConfig: l.value
33693
33697
  })), f = J({
33694
33698
  size: 360,
33695
33699
  height: 360,
33696
33700
  width: 360
33697
- }), h = ge(() => ({
33701
+ }), h = ye(() => ({
33698
33702
  radius: f.value.size * 0.9 / 2,
33699
33703
  centerX: f.value.size / 2,
33700
33704
  centerY: f.value.size / 2
@@ -33708,21 +33712,21 @@ const oN = ["id"], lN = ["viewBox"], aN = ["x1", "x2", "y1", "y2", "stroke", "st
33708
33712
  const v = J(c.value.style.chart.animation.use ? 0 : o.dataset.percentage);
33709
33713
  el(() => {
33710
33714
  let Z = 0, H = c.value.style.chart.animation.speed, re = 5e-3 * c.value.style.chart.animation.acceleration;
33711
- function ye() {
33712
- v.value += H + Z, Z += re, v.value < o.dataset.percentage ? requestAnimationFrame(ye) : v.value = o.dataset.percentage;
33715
+ function ge() {
33716
+ v.value += H + Z, Z += re, v.value < o.dataset.percentage ? requestAnimationFrame(ge) : v.value = o.dataset.percentage;
33713
33717
  }
33714
- c.value.style.chart.animation.use && (v.value = 0, ye());
33718
+ c.value.style.chart.animation.use && (v.value = 0, ge());
33715
33719
  });
33716
- const y = ge(() => {
33720
+ const y = ye(() => {
33717
33721
  const Z = [];
33718
33722
  for (let re = 0; re < 100; re += 1) {
33719
- const ye = v.value > re ? c.value.style.chart.layout.wheel.ticks.activeColor : c.value.style.chart.layout.wheel.ticks.inactiveColor, { x: D, y: z } = s(f.value.size / 100 * re), { x: ue, y: q } = s(f.value.size / 100 * re, 0.9);
33723
+ const ge = v.value > re ? c.value.style.chart.layout.wheel.ticks.activeColor : c.value.style.chart.layout.wheel.ticks.inactiveColor, { x: D, y: z } = s(f.value.size / 100 * re), { x: ue, y: q } = s(f.value.size / 100 * re, 0.9);
33720
33724
  Z.push({
33721
33725
  x1: D,
33722
33726
  y1: z,
33723
33727
  x2: ue,
33724
33728
  y2: q,
33725
- color: c.value.style.chart.layout.wheel.ticks.gradient.show ? Bt(ye, re / 100 * (c.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : ye
33729
+ color: c.value.style.chart.layout.wheel.ticks.gradient.show ? Bt(ge, re / 100 * (c.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : ge
33726
33730
  });
33727
33731
  }
33728
33732
  return Z;
@@ -33815,7 +33819,7 @@ const oN = ["id"], lN = ["viewBox"], aN = ["x1", "x2", "y1", "y2", "stroke", "st
33815
33819
  viewBox: `0 0 ${f.value.size} ${f.value.size}`,
33816
33820
  style: $(`max-width:100%;overflow:visible;background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)
33817
33821
  }, [
33818
- (g(!0), p(we, null, xe(y.value, (re, ye) => (g(), p("line", {
33822
+ (g(!0), p(we, null, xe(y.value, (re, ge) => (g(), p("line", {
33819
33823
  x1: re.x1,
33820
33824
  x2: re.x2,
33821
33825
  y1: re.y1,
@@ -33823,7 +33827,7 @@ const oN = ["id"], lN = ["viewBox"], aN = ["x1", "x2", "y1", "y2", "stroke", "st
33823
33827
  stroke: re.color,
33824
33828
  "stroke-width": 5,
33825
33829
  "stroke-linecap": c.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
33826
- class: Ne({ "vue-ui-tick-animated": c.value.style.chart.animation.use && ye <= v.value })
33830
+ class: Ne({ "vue-ui-tick-animated": c.value.style.chart.animation.use && ge <= v.value })
33827
33831
  }, null, 10, aN))), 256)),
33828
33832
  c.value.style.chart.layout.innerCircle.show ? (g(), p("circle", {
33829
33833
  key: 0,
@@ -33848,7 +33852,7 @@ const oN = ["id"], lN = ["viewBox"], aN = ["x1", "x2", "y1", "y2", "stroke", "st
33848
33852
  ], 14, lN))
33849
33853
  ], 12, oN));
33850
33854
  }
33851
- }, NH = /* @__PURE__ */ Qt(AN, [["__scopeId", "data-v-9074ad0d"]]);
33855
+ }, EH = /* @__PURE__ */ Qt(AN, [["__scopeId", "data-v-9074ad0d"]]);
33852
33856
  const iN = ["id"], sN = ["viewBox"], uN = { key: 0 }, cN = ["d", "stroke-width", "stroke"], dN = { key: 1 }, hN = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], fN = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], vN = {
33853
33857
  __name: "vue-ui-tiremarks",
33854
33858
  props: {
@@ -33866,55 +33870,55 @@ const iN = ["id"], sN = ["viewBox"], uN = { key: 0 }, cN = ["d", "stroke-width",
33866
33870
  }
33867
33871
  },
33868
33872
  setup(e, { expose: t }) {
33869
- const o = e, r = J(Mt()), l = J(St.vue_ui_tiremarks), a = J(null), n = J(!1), A = J(!1), u = J(0), i = ge(() => It({
33873
+ const o = e, r = J(Mt()), l = J(St.vue_ui_tiremarks), a = J(null), n = J(!1), A = J(!1), u = J(0), i = ye(() => It({
33870
33874
  userConfig: o.config,
33871
33875
  defaultConfig: l.value
33872
33876
  })), c = J(i.value.style.chart.animation.use ? 0 : o.dataset.percentage);
33873
33877
  el(() => {
33874
- let ye = 0, D = i.value.style.chart.animation.speed, z = 5e-3 * i.value.style.chart.animation.acceleration;
33878
+ let ge = 0, D = i.value.style.chart.animation.speed, z = 5e-3 * i.value.style.chart.animation.acceleration;
33875
33879
  function ue() {
33876
- c.value += D + ye, ye += z, c.value < o.dataset.percentage ? requestAnimationFrame(ue) : c.value = o.dataset.percentage;
33880
+ c.value += D + ge, ge += z, c.value < o.dataset.percentage ? requestAnimationFrame(ue) : c.value = o.dataset.percentage;
33877
33881
  }
33878
33882
  i.value.style.chart.animation.use && (c.value = 0, ue());
33879
33883
  });
33880
- const f = ge(() => i.value.style.chart.layout.display === "vertical");
33881
- ge(() => i.value.style.chart.layout.ticks.gradient.show);
33882
- const h = ge(() => {
33883
- const ye = {
33884
+ const f = ye(() => i.value.style.chart.layout.display === "vertical");
33885
+ ye(() => i.value.style.chart.layout.ticks.gradient.show);
33886
+ const h = ye(() => {
33887
+ const ge = {
33884
33888
  top: 48,
33885
33889
  left: 64,
33886
33890
  right: 64,
33887
33891
  bottom: 48
33888
33892
  };
33889
33893
  return f.value ? {
33890
- top: i.value.style.chart.percentage.verticalPosition === "top" ? ye.top : 3,
33894
+ top: i.value.style.chart.percentage.verticalPosition === "top" ? ge.top : 3,
33891
33895
  left: 3,
33892
33896
  right: 3,
33893
- bottom: i.value.style.chart.percentage.verticalPosition === "bottom" ? ye.bottom : 3
33897
+ bottom: i.value.style.chart.percentage.verticalPosition === "bottom" ? ge.bottom : 3
33894
33898
  } : {
33895
33899
  top: 0,
33896
33900
  bottom: 0,
33897
- left: i.value.style.chart.percentage.horizontalPosition === "left" ? ye.left : 3,
33898
- right: i.value.style.chart.percentage.horizontalPosition === "right" ? ye.right : 10
33901
+ left: i.value.style.chart.percentage.horizontalPosition === "left" ? ge.left : 3,
33902
+ right: i.value.style.chart.percentage.horizontalPosition === "right" ? ge.right : 10
33899
33903
  };
33900
- }), s = ge(() => Object.values(h.value).reduce((ye, D) => ye + D, 0)), v = ge(() => ({
33904
+ }), s = ye(() => Object.values(h.value).reduce((ge, D) => ge + D, 0)), v = ye(() => ({
33901
33905
  height: f.value ? 312 : 56,
33902
33906
  width: f.value ? 56 : 312
33903
33907
  })), y = J(100);
33904
- ge(() => o.dataset.percentage / y.value);
33905
- const C = ge(() => f.value ? {
33908
+ ye(() => o.dataset.percentage / y.value);
33909
+ const C = ye(() => f.value ? {
33906
33910
  mark: (v.value.height - s.value) / 100 * 0.5,
33907
33911
  space: (v.value.height - s.value) / 100 * 0.5
33908
33912
  } : {
33909
33913
  mark: (v.value.width - s.value) / 100 * 0.5,
33910
33914
  space: (v.value.width - s.value) / 100 * 0.5
33911
- }), x = ge(() => {
33912
- const ye = [];
33915
+ }), x = ye(() => {
33916
+ const ge = [];
33913
33917
  for (let z = 0; z < 100; z += 1) {
33914
33918
  const ue = i.value.style.chart.layout.ticks.gradient.show ? Bt(i.value.style.chart.layout.activeColor, z / 100 * (i.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : i.value.style.chart.layout.activeColor;
33915
33919
  if (f.value) {
33916
33920
  const q = i.value.style.chart.layout.crescendo ? (100 - z) * (v.value.width - h.value.left - h.value.right) / 100 / 3 : 0, me = h.value.left + 4 + q, ie = v.value.width - h.value.right - 4 - q, le = v.value.height - h.value.bottom - z * C.value.mark - z * C.value.space - C.value.mark, S = v.value.height - h.value.bottom - z * C.value.mark - z * C.value.space - C.value.mark, P = (ie - me) / i.value.style.chart.layout.curveAngleX, N = i.value.style.chart.layout.curveAngleY * ((1 + z) / 100);
33917
- ye.push({
33921
+ ge.push({
33918
33922
  x1: me,
33919
33923
  x2: ie,
33920
33924
  y1: le,
@@ -33924,7 +33928,7 @@ const iN = ["id"], sN = ["viewBox"], uN = { key: 0 }, cN = ["d", "stroke-width",
33924
33928
  });
33925
33929
  } else {
33926
33930
  const q = i.value.style.chart.layout.crescendo ? (100 - z) * (v.value.height - h.value.top - h.value.bottom) / 100 / 3 : 0, me = h.value.left + z * C.value.mark + z * C.value.space - C.value.mark, ie = me, le = h.value.top + 4 + q, S = v.value.height - h.value.bottom - 4 - q, P = i.value.style.chart.layout.curveAngleY * ((1 + z) / 100), N = (S - le) / i.value.style.chart.layout.curveAngleX;
33927
- ye.push({
33931
+ ge.push({
33928
33932
  x1: me,
33929
33933
  x2: ie,
33930
33934
  y1: le,
@@ -33934,12 +33938,12 @@ const iN = ["id"], sN = ["viewBox"], uN = { key: 0 }, cN = ["d", "stroke-width",
33934
33938
  });
33935
33939
  }
33936
33940
  }
33937
- return ye;
33938
- }), _ = ge(() => {
33939
- let ye, D, z;
33941
+ return ge;
33942
+ }), _ = ye(() => {
33943
+ let ge, D, z;
33940
33944
  const ue = i.value.style.chart.percentage.fontSize / 3;
33941
- return f.value ? i.value.style.chart.percentage.verticalPosition === "top" ? (ye = v.value.width / 2, D = h.value.top / 2, z = "middle") : i.value.style.chart.percentage.verticalPosition === "bottom" && (ye = v.value.width / 2, D = v.value.height - h.value.bottom / 2 + ue, z = "middle") : i.value.style.chart.percentage.horizontalPosition === "left" ? (ye = 4, D = v.value.height / 2 + ue, z = "start") : i.value.style.chart.percentage.horizontalPosition === "right" && (ye = v.value.width - h.value.right + 8, D = v.value.height / 2 + ue, z = "start"), {
33942
- x: ye,
33945
+ return f.value ? i.value.style.chart.percentage.verticalPosition === "top" ? (ge = v.value.width / 2, D = h.value.top / 2, z = "middle") : i.value.style.chart.percentage.verticalPosition === "bottom" && (ge = v.value.width / 2, D = v.value.height - h.value.bottom / 2 + ue, z = "middle") : i.value.style.chart.percentage.horizontalPosition === "left" ? (ge = 4, D = v.value.height / 2 + ue, z = "start") : i.value.style.chart.percentage.horizontalPosition === "right" && (ge = v.value.width - h.value.right + 8, D = v.value.height / 2 + ue, z = "start"), {
33946
+ x: ge,
33943
33947
  y: D,
33944
33948
  textAnchor: z,
33945
33949
  bold: i.value.style.chart.percentage.bold,
@@ -33975,13 +33979,13 @@ const iN = ["id"], sN = ["viewBox"], uN = { key: 0 }, cN = ["d", "stroke-width",
33975
33979
  }, 100);
33976
33980
  }
33977
33981
  const H = J(!1);
33978
- function re(ye) {
33979
- H.value = ye, u.value += 1;
33982
+ function re(ge) {
33983
+ H.value = ge, u.value += 1;
33980
33984
  }
33981
33985
  return t({
33982
33986
  generatePdf: O,
33983
33987
  generateImage: Z
33984
- }), (ye, D) => (g(), p("div", {
33988
+ }), (ge, D) => (g(), p("div", {
33985
33989
  ref_key: "tiremarksChart",
33986
33990
  ref: a,
33987
33991
  class: Ne(`vue-ui-tiremarks ${i.value.useCssAnimation ? "" : "vue-ui-dna"}`),
@@ -34063,11 +34067,11 @@ const iN = ["id"], sN = ["viewBox"], uN = { key: 0 }, cN = ["d", "stroke-width",
34063
34067
  "font-weight": _.value.bold ? "bold" : "normal",
34064
34068
  "text-anchor": _.value.textAnchor
34065
34069
  }, M(c.value.toFixed(i.value.style.chart.percentage.rounding) + "%"), 9, fN)) : E("", !0),
34066
- Dt(ye.$slots, "svg", { svg: v.value }, void 0, !0)
34070
+ Dt(ge.$slots, "svg", { svg: v.value }, void 0, !0)
34067
34071
  ], 14, sN))
34068
34072
  ], 14, iN));
34069
34073
  }
34070
- }, $H = /* @__PURE__ */ Qt(vN, [["__scopeId", "data-v-7ea66ce5"]]);
34074
+ }, NH = /* @__PURE__ */ Qt(vN, [["__scopeId", "data-v-7ea66ce5"]]);
34071
34075
  const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["stop-color"], mN = ["id"], xN = ["stop-color"], BN = ["stop-color"], CN = ["stop-color"], kN = { key: 0 }, _N = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], FN = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], SN = { key: 0 }, QN = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], LN = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], UN = ["x", "y", "font-size", "fill", "font-weight"], MN = ["x", "y", "font-size", "fill"], IN = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], EN = { key: 1 }, NN = ["cx", "cy", "r", "fill"], $N = { key: 0 }, TN = { key: 0 }, HN = ["d", "stroke"], DN = ["text-anchor", "x", "y", "fill"], PN = { key: 0 }, zN = ["cx", "cy", "fill"], ON = { key: 1 }, RN = ["d", "fill", "stroke"], KN = { key: 2 }, VN = ["d", "fill", "stroke"], jN = { key: 1 }, GN = ["cx", "cy", "r", "fill"], WN = ["x", "y", "font-size", "fill"], XN = ["x", "y", "width", "fill", "onClick"], qN = ["x", "y", "width", "height", "onMouseenter", "onClick"], YN = { key: 3 }, JN = ["x", "y", "width", "height", "fill"], ZN = ["x1", "y1", "x2", "y2", "stroke"], e$ = ["x1", "y2", "x2", "y1", "stroke"], t$ = ["onKeypress", "cx", "cy", "r"], o$ = ["d", "stroke"], l$ = ["cx", "cy", "r", "fill"], a$ = ["d", "fill", "stroke"], r$ = { class: "vue-ui-donut-evolution-focus" }, n$ = ["text-anchor", "x", "y", "fill"], A$ = ["cx", "cy", "r", "fill"], i$ = ["cx", "cy", "r", "fill"], s$ = ["x", "y", "fill"], u$ = ["x", "y", "font-size", "fill"], c$ = ["onClick"], d$ = { key: 0 }, h$ = { key: 1 }, f$ = { key: 0 }, v$ = { key: 1 }, g$ = {
34072
34076
  __name: "vue-ui-donut-evolution",
34073
34077
  props: {
@@ -34086,17 +34090,17 @@ const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["st
34086
34090
  },
34087
34091
  emits: ["selectLegend"],
34088
34092
  setup(e, { expose: t, emit: o }) {
34089
- const r = e, l = J(Mt()), a = J(St.vue_ui_donut_evolution), n = J(!1), A = J(!1), u = J([]), i = J(null), c = J(null), f = J(!1), h = J(null), s = J(null), v = J(0), y = ge(() => It({
34093
+ const r = e, l = J(Mt()), a = J(St.vue_ui_donut_evolution), n = J(!1), A = J(!1), u = J([]), i = J(null), c = J(null), f = J(!1), h = J(null), s = J(null), v = J(0), y = ye(() => It({
34090
34094
  userConfig: r.config,
34091
34095
  defaultConfig: a.value
34092
34096
  })), C = J({
34093
34097
  showTable: y.value.table.show
34094
- }), x = ge(() => ({
34098
+ }), x = ye(() => ({
34095
34099
  top: y.value.style.chart.layout.padding.top,
34096
34100
  right: y.value.style.chart.layout.padding.right,
34097
34101
  bottom: y.value.style.chart.layout.padding.bottom,
34098
34102
  left: y.value.style.chart.layout.padding.left
34099
- })), _ = ge(() => {
34103
+ })), _ = ye(() => {
34100
34104
  const G = y.value.style.chart.layout.height, X = y.value.style.chart.layout.width, ae = G - x.value.top - x.value.bottom, ee = X - x.value.left - x.value.right;
34101
34105
  return {
34102
34106
  absoluteHeight: G,
@@ -34106,12 +34110,12 @@ const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["st
34106
34110
  height: ae,
34107
34111
  width: ee
34108
34112
  };
34109
- }), j = ge(() => r.dataset.map((G, X) => ({
34113
+ }), j = ye(() => r.dataset.map((G, X) => ({
34110
34114
  ...G,
34111
34115
  color: Ct(G.color) || qe[X] || qe[X % qe.length],
34112
34116
  length: G.values.length,
34113
34117
  uid: Mt()
34114
- }))), K = ge(() => j.value.filter((G) => !u.value.includes(G.uid))), O = ge(() => Math.max(...K.value.map((G) => G.length))), Ae = ge(() => _.value.width / O.value), Z = ge(() => {
34118
+ }))), K = ye(() => j.value.filter((G) => !u.value.includes(G.uid))), O = ye(() => Math.max(...K.value.map((G) => G.length))), Ae = ye(() => _.value.width / O.value), Z = ye(() => {
34115
34119
  const G = [];
34116
34120
  for (let ee = 0; ee < O.value; ee += 1) {
34117
34121
  const I = K.value.map((Ee) => Ee.values[ee] ?? null), Ue = I.filter((Ee) => [void 0, null].includes(Ee)).length === I.length, fe = I.reduce((Ee, Oe) => Ee + Oe, 0), Qe = I.map((Ee) => Ee / fe), $e = x.value.left + Ae.value * ee + Ae.value / 2;
@@ -34157,14 +34161,14 @@ const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["st
34157
34161
  function H(G) {
34158
34162
  return `${y.value.style.chart.layout.dataLabels.prefix}${isNaN(G) ? "-" : Number(G.toFixed(y.value.style.chart.layout.dataLabels.rounding)).toLocaleString()}${y.value.style.chart.layout.dataLabels.suffix}`;
34159
34163
  }
34160
- const re = ge(() => ({
34164
+ const re = ye(() => ({
34161
34165
  max: Math.max(...Z.value.map((G) => G.subtotal)),
34162
34166
  min: 0
34163
- })), ye = ge(() => Fs(re.value.min, re.value.max, 10));
34167
+ })), ge = ye(() => Fs(re.value.min, re.value.max, 10));
34164
34168
  function D(G) {
34165
- return G / ye.value.max;
34169
+ return G / ge.value.max;
34166
34170
  }
34167
- const z = ge(() => ye.value.ticks.map((G) => ({
34171
+ const z = ye(() => ge.value.ticks.map((G) => ({
34168
34172
  y: _.value.absoluteHeight - x.value.bottom - _.value.height * D(G),
34169
34173
  value: G
34170
34174
  })));
@@ -34187,7 +34191,7 @@ const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["st
34187
34191
  function P() {
34188
34192
  n.value = !0;
34189
34193
  }
34190
- const N = ge(() => j.value.map((G, X) => ({
34194
+ const N = ye(() => j.value.map((G, X) => ({
34191
34195
  name: G.name,
34192
34196
  value: G.values.reduce((ae, ee) => ae + ee, 0),
34193
34197
  shape: "circle",
@@ -34196,7 +34200,7 @@ const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["st
34196
34200
  })).sort((G, X) => X.value - G.value).map((G, X) => ({
34197
34201
  ...G,
34198
34202
  opacity: u.value.includes(G.uid) ? 0.5 : 1
34199
- }))), ne = ge(() => Z.value.map((G) => G.subtotal).reduce((G, X) => G + X, 0)), k = ge(() => ({
34203
+ }))), ne = ye(() => Z.value.map((G) => G.subtotal).reduce((G, X) => G + X, 0)), k = ye(() => ({
34200
34204
  cy: "donut-div-legend",
34201
34205
  backgroundColor: y.value.style.chart.legend.backgroundColor,
34202
34206
  color: y.value.style.chart.legend.color,
@@ -34247,7 +34251,7 @@ const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["st
34247
34251
  });
34248
34252
  }, 100);
34249
34253
  }
34250
- const T = ge(() => {
34254
+ const T = ye(() => {
34251
34255
  const G = [""].concat(j.value.filter((I) => !u.value.includes(I.uid)).map((I) => ({
34252
34256
  name: I.name,
34253
34257
  color: I.color
@@ -34421,7 +34425,7 @@ const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["st
34421
34425
  class: Ne({ "donut-opacity": !0, "donut-behind": i.value !== null || f.value })
34422
34426
  }, [
34423
34427
  (g(!0), p(we, null, xe(z.value, (ae, ee) => (g(), p("g", null, [
34424
- ae.value >= ye.value.min && ae.value <= ye.value.max ? (g(), p("line", {
34428
+ ae.value >= ge.value.min && ae.value <= ge.value.max ? (g(), p("line", {
34425
34429
  key: 0,
34426
34430
  x1: x.value.left,
34427
34431
  x2: x.value.left - 5,
@@ -34430,7 +34434,7 @@ const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["st
34430
34434
  stroke: y.value.style.chart.layout.grid.stroke,
34431
34435
  "stroke-width": y.value.style.chart.layout.grid.strokeWidth
34432
34436
  }, null, 8, LN)) : E("", !0),
34433
- ae.value >= ye.value.min && ae.value <= ye.value.max ? (g(), p("text", {
34437
+ ae.value >= ge.value.min && ae.value <= ge.value.max ? (g(), p("text", {
34434
34438
  key: 1,
34435
34439
  x: x.value.left - 8 + y.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
34436
34440
  y: ae.y + y.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
@@ -34718,7 +34722,7 @@ const gN = ["id"], yN = ["viewBox"], pN = ["id"], bN = ["stop-color"], wN = ["st
34718
34722
  ], 4)) : E("", !0)
34719
34723
  ], 14, gN));
34720
34724
  }
34721
- }, TH = /* @__PURE__ */ Qt(g$, [["__scopeId", "data-v-eac6d3f2"]]);
34725
+ }, $H = /* @__PURE__ */ Qt(g$, [["__scopeId", "data-v-eac6d3f2"]]);
34722
34726
  const y$ = ["id"], p$ = ["viewBox"], b$ = ["id"], w$ = ["stop-color"], m$ = ["stop-color"], x$ = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], B$ = ["d", "stroke", "stroke-width"], C$ = ["stroke"], k$ = ["fill"], _$ = ["stroke"], F$ = ["fill"], S$ = ["stroke"], Q$ = ["fill"], L$ = ["stroke"], U$ = ["fill"], M$ = ["stroke"], I$ = ["fill"], E$ = ["d", "stroke", "stroke-width", "fill"], N$ = ["x1", "y1", "stroke"], $$ = ["cx", "cy", "fill", "stroke"], T$ = ["fill", "stroke"], H$ = ["y", "fill", "font-weight"], D$ = ["y", "fill"], P$ = ["onClick"], z$ = { style: { "font-weight": "bold" } }, O$ = ["innerHTML"], R$ = {
34723
34727
  __name: "vue-ui-mood-radar",
34724
34728
  props: {
@@ -34736,15 +34740,15 @@ const y$ = ["id"], p$ = ["viewBox"], b$ = ["id"], w$ = ["stop-color"], m$ = ["st
34736
34740
  }
34737
34741
  },
34738
34742
  setup(e, { expose: t }) {
34739
- const o = e, r = J(Mt()), l = J(St.vue_ui_mood_radar), a = J(!1), n = J(!1), A = J(null), u = J(null), i = J(null), c = ge(() => It({
34743
+ const o = e, r = J(Mt()), l = J(St.vue_ui_mood_radar), a = J(!1), n = J(!1), A = J(null), u = J(null), i = J(null), c = ye(() => It({
34740
34744
  userConfig: o.config,
34741
34745
  defaultConfig: l.value
34742
34746
  })), f = J({
34743
34747
  showTable: c.value.table.show
34744
- }), h = ge(() => ({
34748
+ }), h = ye(() => ({
34745
34749
  height: 256,
34746
34750
  width: 256
34747
- })), s = ge(() => ko({
34751
+ })), s = ye(() => ko({
34748
34752
  plot: { x: 128, y: h.value.height / 2 },
34749
34753
  radius: 90,
34750
34754
  sides: 5,
@@ -34758,7 +34762,7 @@ const y$ = ["id"], p$ = ["viewBox"], b$ = ["id"], w$ = ["stop-color"], m$ = ["st
34758
34762
  value: k
34759
34763
  };
34760
34764
  }
34761
- const y = ge(() => Math.max(...Object.values(o.dataset).map((ie) => isNaN(ie) ? 0 : ie))), C = ge(() => Object.values(o.dataset).reduce((ie, le) => (isNaN(ie) ? 0 : ie) + (isNaN(le) ? 0 : le), 0)), x = ge(() => Object.keys(o.dataset).map((ie, le) => {
34765
+ const y = ye(() => Math.max(...Object.values(o.dataset).map((ie) => isNaN(ie) ? 0 : ie))), C = ye(() => Object.values(o.dataset).reduce((ie, le) => (isNaN(ie) ? 0 : ie) + (isNaN(le) ? 0 : le), 0)), x = ye(() => Object.keys(o.dataset).map((ie, le) => {
34762
34766
  const S = typeof o.dataset[ie] != "number" || isNaN(o.dataset[ie]) ? 0 : o.dataset[ie];
34763
34767
  return {
34764
34768
  index: le,
@@ -34767,7 +34771,7 @@ const y$ = ["id"], p$ = ["viewBox"], b$ = ["id"], w$ = ["stop-color"], m$ = ["st
34767
34771
  proportion: S / C.value,
34768
34772
  color: c.value.style.chart.layout.smileys.colors[ie]
34769
34773
  };
34770
- }).sort((ie, le) => le.key - ie.key)), _ = ge(() => s.value.coordinates.map((ie, le) => {
34774
+ }).sort((ie, le) => le.key - ie.key)), _ = ye(() => s.value.coordinates.map((ie, le) => {
34771
34775
  const S = v({
34772
34776
  centerX: h.value.width / 2,
34773
34777
  centerY: h.value.height / 2,
@@ -34782,7 +34786,7 @@ const y$ = ["id"], p$ = ["viewBox"], b$ = ["id"], w$ = ["stop-color"], m$ = ["st
34782
34786
  plots: S,
34783
34787
  key: x.value[le].key
34784
34788
  };
34785
- })), j = ge(() => ({
34789
+ })), j = ye(() => ({
34786
34790
  cy: "mood-radar-legend",
34787
34791
  backgroundColor: c.value.style.chart.legend.backgroundColor,
34788
34792
  color: c.value.style.chart.legend.color,
@@ -34821,7 +34825,7 @@ const y$ = ["id"], p$ = ["viewBox"], b$ = ["id"], w$ = ["stop-color"], m$ = ["st
34821
34825
  });
34822
34826
  }, 100);
34823
34827
  }
34824
- const ye = ge(() => {
34828
+ const ge = ye(() => {
34825
34829
  const ie = x.value.map((S) => ({
34826
34830
  name: S.key,
34827
34831
  color: S.color
@@ -34830,24 +34834,24 @@ const y$ = ["id"], p$ = ["viewBox"], b$ = ["id"], w$ = ["stop-color"], m$ = ["st
34830
34834
  });
34831
34835
  function D() {
34832
34836
  Ho(() => {
34833
- const ie = ye.value.head.map((P, N) => [[
34837
+ const ie = ge.value.head.map((P, N) => [[
34834
34838
  P.name
34835
- ], [ye.value.body[N]], [isNaN(ye.value.body[N] / C.value) ? "-" : ye.value.body[N] / C.value * 100]]), le = [[c.value.style.chart.title.text], [c.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(ie), S = Po(le);
34839
+ ], [ge.value.body[N]], [isNaN(ge.value.body[N] / C.value) ? "-" : ge.value.body[N] / C.value * 100]]), le = [[c.value.style.chart.title.text], [c.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(ie), S = Po(le);
34836
34840
  Do({ csvContent: S, title: c.value.style.chart.title.text || "vue-ui-mood-radar" });
34837
34841
  });
34838
34842
  }
34839
- const z = ge(() => {
34843
+ const z = ye(() => {
34840
34844
  const ie = [
34841
34845
  ' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
34842
34846
  Number(C.value.toFixed(c.value.table.td.roundingValue)).toLocaleString(),
34843
34847
  "100%"
34844
- ], le = ye.value.head.map((N, ne) => [
34848
+ ], le = ge.value.head.map((N, ne) => [
34845
34849
  {
34846
34850
  color: N.color,
34847
34851
  name: N.name
34848
34852
  },
34849
- ye.value.body[ne].toFixed(c.value.table.td.roundingValue),
34850
- isNaN(ye.value.body[ne] / C.value) ? "-" : (ye.value.body[ne] / C.value * 100).toFixed(c.value.table.td.roundingPercentage) + "%"
34853
+ ge.value.body[ne].toFixed(c.value.table.td.roundingValue),
34854
+ isNaN(ge.value.body[ne] / C.value) ? "-" : (ge.value.body[ne] / C.value * 100).toFixed(c.value.table.td.roundingPercentage) + "%"
34851
34855
  ]), S = {
34852
34856
  th: {
34853
34857
  backgroundColor: c.value.table.th.backgroundColor,
@@ -35180,7 +35184,7 @@ const y$ = ["id"], p$ = ["viewBox"], b$ = ["id"], w$ = ["stop-color"], m$ = ["st
35180
35184
  }, 8, ["colNames", "head", "body", "config", "title"])) : E("", !0)
35181
35185
  ], 14, y$));
35182
35186
  }
35183
- }, HH = /* @__PURE__ */ Qt(R$, [["__scopeId", "data-v-dbc7e467"]]);
35187
+ }, TH = /* @__PURE__ */ Qt(R$, [["__scopeId", "data-v-dbc7e467"]]);
35184
35188
  const K$ = ["id"], V$ = ["viewBox"], j$ = ["id"], G$ = ["stop-color"], W$ = ["stop-color"], X$ = ["id"], q$ = ["stop-color"], Y$ = ["stop-color"], J$ = ["id"], Z$ = ["stop-color"], eT = ["stop-color"], tT = ["id"], oT = ["stop-color"], lT = ["stop-color"], aT = ["stop-color"], rT = ["x", "y", "font-size", "font-weight", "fill"], nT = { key: 1 }, AT = ["stroke-dasharray", "d", "stroke", "stroke-width"], iT = ["stroke-dasharray", "d", "stroke", "stroke-width"], sT = ["stroke-dasharray", "d", "stroke", "stroke-width"], uT = ["stroke-dasharray", "d", "stroke", "stroke-width"], cT = ["d", "stroke", "stroke-width", "fill"], dT = ["d", "stroke", "stroke-width", "fill"], hT = ["d", "stroke", "stroke-width", "fill"], fT = { key: 2 }, vT = ["stroke-dasharray", "d", "stroke", "stroke-width"], gT = ["stroke-dasharray", "d", "stroke", "stroke-width"], yT = ["stroke-dasharray", "d", "stroke", "stroke-width"], pT = ["stroke-dasharray", "d", "stroke", "stroke-width"], bT = ["d", "stroke", "stroke-width", "fill"], wT = ["d", "stroke", "stroke-width", "fill"], mT = {
35185
35189
  __name: "vue-ui-3d-bar",
35186
35190
  props: {
@@ -35198,10 +35202,10 @@ const K$ = ["id"], V$ = ["viewBox"], j$ = ["id"], G$ = ["stop-color"], W$ = ["st
35198
35202
  }
35199
35203
  },
35200
35204
  setup(e, { expose: t }) {
35201
- const o = e, r = J(Mt()), l = J(St.vue_ui_3d_bar), a = J(!1), n = J(!1), A = J(null), u = J(null), i = ge(() => It({
35205
+ const o = e, r = J(Mt()), l = J(St.vue_ui_3d_bar), a = J(!1), n = J(!1), A = J(null), u = J(null), i = ye(() => It({
35202
35206
  userConfig: o.config,
35203
35207
  defaultConfig: l.value
35204
- })), c = ge(() => ({
35208
+ })), c = ye(() => ({
35205
35209
  height: i.value.style.chart.box.dimensions.height,
35206
35210
  width: i.value.style.chart.box.dimensions.width,
35207
35211
  top: i.value.style.chart.box.dimensions.top,
@@ -35209,7 +35213,7 @@ const K$ = ["id"], V$ = ["viewBox"], j$ = ["id"], G$ = ["stop-color"], W$ = ["st
35209
35213
  left: i.value.style.chart.box.dimensions.left,
35210
35214
  right: i.value.style.chart.box.dimensions.right,
35211
35215
  perspective: i.value.style.chart.box.dimensions.perspective
35212
- })), f = ge(() => ({
35216
+ })), f = ye(() => ({
35213
35217
  right: `M${c.value.width / 2},${c.value.top} ${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} ${c.value.width / 2},${c.value.height - c.value.bottom}`,
35214
35218
  left: `M${c.value.width / 2},${c.value.top} ${c.value.left},${c.value.top + c.value.perspective} ${c.value.left},${c.value.height - c.value.bottom - c.value.perspective} ${c.value.width / 2},${c.value.height - c.value.bottom}`,
35215
35219
  side: `M${c.value.width / 2},${c.value.height - c.value.bottom} ${c.value.width / 2},${c.value.top + c.value.perspective * 2}`,
@@ -35226,7 +35230,7 @@ const K$ = ["id"], V$ = ["viewBox"], j$ = ["id"], G$ = ["stop-color"], W$ = ["st
35226
35230
  }
35227
35231
  i.value.style.chart.animation.use && (h.value = 0, H());
35228
35232
  });
35229
- const s = ge(() => {
35233
+ const s = ye(() => {
35230
35234
  const O = h.value / 100, Ae = c.value.height - c.value.bottom - c.value.top - c.value.perspective * 2;
35231
35235
  return {
35232
35236
  right: `M${c.value.width / 2},${c.value.height - c.value.bottom} ${c.value.width / 2},${c.value.height - c.value.bottom - Ae * O} ${c.value.width - c.value.right},${c.value.height - c.value.bottom - c.value.perspective - Ae * O} ${c.value.width - c.value.right},${c.value.height - c.value.bottom - c.value.perspective}Z`,
@@ -35519,7 +35523,7 @@ const K$ = ["id"], V$ = ["viewBox"], j$ = ["id"], G$ = ["stop-color"], W$ = ["st
35519
35523
  ], 14, V$))
35520
35524
  ], 12, K$));
35521
35525
  }
35522
- }, DH = /* @__PURE__ */ Qt(mT, [["__scopeId", "data-v-58604152"]]), xT = { key: 0 }, BT = ["d", "fill"], CT = ["d", "fill"], kT = ["d", "fill"], _T = ["d", "fill"], FT = ["d", "fill"], ST = ["d", "fill"], QT = ["d", "fill"], LT = { key: 1 }, UT = ["cx", "cy", "fill"], MT = {
35526
+ }, HH = /* @__PURE__ */ Qt(mT, [["__scopeId", "data-v-58604152"]]), xT = { key: 0 }, BT = ["d", "fill"], CT = ["d", "fill"], kT = ["d", "fill"], _T = ["d", "fill"], FT = ["d", "fill"], ST = ["d", "fill"], QT = ["d", "fill"], LT = { key: 1 }, UT = ["cx", "cy", "fill"], MT = {
35523
35527
  __name: "Digit",
35524
35528
  props: {
35525
35529
  quanta: {
@@ -35568,7 +35572,7 @@ const K$ = ["id"], V$ = ["viewBox"], j$ = ["id"], G$ = ["stop-color"], W$ = ["st
35568
35572
  9: "1111011",
35569
35573
  "-": "0000001",
35570
35574
  X: "0000000"
35571
- }), r = ge(() => [void 0, null].includes(t.quanta) ? o.value.X : o.value[t.quanta]);
35575
+ }), r = ye(() => [void 0, null].includes(t.quanta) ? o.value.X : o.value[t.quanta]);
35572
35576
  return (l, a) => (g(), p(we, null, [
35573
35577
  [void 0, null, "."].includes(e.quanta) ? E("", !0) : (g(), p("g", xT, [
35574
35578
  w("path", {
@@ -35617,7 +35621,7 @@ const K$ = ["id"], V$ = ["viewBox"], j$ = ["id"], G$ = ["stop-color"], W$ = ["st
35617
35621
  ])) : E("", !0)
35618
35622
  ], 64));
35619
35623
  }
35620
- }, IT = ["viewBox"], PH = {
35624
+ }, IT = ["viewBox"], DH = {
35621
35625
  __name: "vue-ui-digits",
35622
35626
  props: {
35623
35627
  dataset: {
@@ -35632,10 +35636,10 @@ const K$ = ["id"], V$ = ["viewBox"], j$ = ["id"], G$ = ["stop-color"], W$ = ["st
35632
35636
  }
35633
35637
  },
35634
35638
  setup(e) {
35635
- const t = e, o = J(St.vue_ui_digits), r = ge(() => It({
35639
+ const t = e, o = J(St.vue_ui_digits), r = ye(() => It({
35636
35640
  userConfig: t.config,
35637
35641
  defaultConfig: o.value
35638
- })), l = ge(() => {
35642
+ })), l = ye(() => {
35639
35643
  const n = (t.dataset || 0).toString().split(""), A = [], u = {
35640
35644
  x: 10,
35641
35645
  y: 10
@@ -35650,7 +35654,7 @@ const K$ = ["id"], V$ = ["viewBox"], j$ = ["id"], G$ = ["stop-color"], W$ = ["st
35650
35654
  }), f == "." ? i += 2 : i += 44;
35651
35655
  }
35652
35656
  return A;
35653
- }), a = ge(() => Math.max(...l.value.map((n) => n.x)) + 36);
35657
+ }), a = ye(() => Math.max(...l.value.map((n) => n.x)) + 36);
35654
35658
  return (n, A) => (g(), p("svg", {
35655
35659
  viewBox: `0 0 ${a.value} 80`,
35656
35660
  style: $(`background:${r.value.backgroundColor};${r.value.height ? `height:${r.value.height};` : ""}${r.value.width ? `width:${r.value.width}` : ""}`)
@@ -35929,7 +35933,7 @@ const RT = ["id"], KT = ["viewBox"], VT = ["id"], jT = ["stop-color"], GT = ["st
35929
35933
  }
35930
35934
  },
35931
35935
  setup(e, { expose: t }) {
35932
- const o = e, r = J(Mt()), l = J(St.vue_ui_molecule), a = J(!1), n = J(!1), A = J(null), u = J(!1), i = J(""), c = J(null), f = J(null), h = J(!1), s = J(null), v = J(null), y = J(0), C = ge(() => It({
35936
+ const o = e, r = J(Mt()), l = J(St.vue_ui_molecule), a = J(!1), n = J(!1), A = J(null), u = J(!1), i = J(""), c = J(null), f = J(null), h = J(!1), s = J(null), v = J(null), y = J(0), C = ye(() => It({
35933
35937
  userConfig: o.config,
35934
35938
  defaultConfig: l.value
35935
35939
  })), x = J({
@@ -35992,8 +35996,8 @@ const RT = ["id"], KT = ["viewBox"], VT = ["id"], jT = ["stop-color"], GT = ["st
35992
35996
  ee[I] = `gradient_${Ue}`;
35993
35997
  }), ee;
35994
35998
  }
35995
- const H = ge(() => Z(re.value)), re = ge(() => Ae(o.dataset));
35996
- function ye() {
35999
+ const H = ye(() => Z(re.value)), re = ye(() => Ae(o.dataset));
36000
+ function ge() {
35997
36001
  h.value = !1, f.value = null, v.value = null, s.value = null, z({
35998
36002
  polygonPath: {
35999
36003
  coordinates: [{ x: K.value.width / 2, y: K.value.height / 2 }]
@@ -36012,7 +36016,7 @@ const RT = ["id"], KT = ["viewBox"], VT = ["id"], jT = ["stop-color"], GT = ["st
36012
36016
  Ft();
36013
36017
  }
36014
36018
  function ue(G) {
36015
- f.value === G.uid ? ye() : (f.value = G.uid, v.value = G, s.value = {
36019
+ f.value === G.uid ? ge() : (f.value = G.uid, v.value = G, s.value = {
36016
36020
  circleRadius: G.circleRadius,
36017
36021
  polygonPath: {
36018
36022
  coordinates: [{ x: G.polygonPath.coordinates[0].x, y: G.polygonPath.coordinates[0].y }]
@@ -36021,7 +36025,7 @@ const RT = ["id"], KT = ["viewBox"], VT = ["id"], jT = ["stop-color"], GT = ["st
36021
36025
  }
36022
36026
  function q(G) {
36023
36027
  if (G.target.nodeName !== "circle")
36024
- ye(), h.value = !1;
36028
+ ge(), h.value = !1;
36025
36029
  else
36026
36030
  return;
36027
36031
  }
@@ -36079,7 +36083,7 @@ const RT = ["id"], KT = ["viewBox"], VT = ["id"], jT = ["stop-color"], GT = ["st
36079
36083
  }
36080
36084
  return ae(G), X;
36081
36085
  }
36082
- const W = ge(() => U(re.value)), T = ge(() => {
36086
+ const W = ye(() => U(re.value)), T = ye(() => {
36083
36087
  const G = [
36084
36088
  C.value.table.translations.nodeName,
36085
36089
  C.value.table.translations.details,
@@ -36243,7 +36247,7 @@ const RT = ["id"], KT = ["viewBox"], VT = ["id"], jT = ["stop-color"], GT = ["st
36243
36247
  onMoveTop: X[5] || (X[5] = (ae) => P("top")),
36244
36248
  onMoveBottom: X[6] || (X[6] = (ae) => P("bottom")),
36245
36249
  onReset: X[7] || (X[7] = (ae) => {
36246
- ye(), h.value = !1;
36250
+ ge(), h.value = !1;
36247
36251
  })
36248
36252
  }, null, 8, ["color", "isFullscreen"])) : E("", !0),
36249
36253
  et(Il, {
@@ -36278,8 +36282,8 @@ const RT = ["id"], KT = ["viewBox"], VT = ["id"], jT = ["stop-color"], GT = ["st
36278
36282
  ], 4)) : E("", !0)
36279
36283
  ], 46, RT));
36280
36284
  }
36281
- }, zH = /* @__PURE__ */ Qt(XT, [["__scopeId", "data-v-c361ba02"]]);
36282
- const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-index": "1", "padding-right": "24px" } }, ZT = ["onClick"], eH = { style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center" } }, tH = ["data-cell"], oH = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "6px" } }, lH = ["data-cell"], aH = ["data-cell"], rH = ["data-cell"], nH = ["data-cell"], AH = ["data-cell"], iH = {
36285
+ }, PH = /* @__PURE__ */ Qt(XT, [["__scopeId", "data-v-c361ba02"]]);
36286
+ const qT = ["id"], YT = { style: { "z-index": "1", "padding-right": "24px" } }, JT = ["onClick"], ZT = { style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center" } }, eH = ["data-cell"], tH = { style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "6px" } }, oH = ["data-cell", "onPointerenter"], lH = ["data-cell"], aH = ["data-cell"], rH = ["data-cell"], nH = ["data-cell"], AH = {
36283
36287
  __name: "vue-ui-table-sparkline",
36284
36288
  props: {
36285
36289
  config: {
@@ -36298,12 +36302,12 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36298
36302
  setup(e, { expose: t }) {
36299
36303
  const o = e;
36300
36304
  yr((P) => ({
36301
- "6a8cf1d0": P.tdo
36305
+ "62acf356": P.tdo
36302
36306
  }));
36303
- const r = J(Mt()), l = J(0), a = J(St.vue_ui_table_sparkline), n = J(!1), A = J(!1), u = ge(() => It({
36307
+ const r = J(Mt()), l = J(0), a = J(St.vue_ui_table_sparkline), n = J(!1), A = J(!1), u = ye(() => It({
36304
36308
  userConfig: o.config,
36305
36309
  defaultConfig: a.value
36306
- })), i = J(null), c = J(!1), f = ge(() => u.value.responsiveBreakpoint);
36310
+ })), i = J(null), c = J(!1), f = ye(() => u.value.responsiveBreakpoint);
36307
36311
  el(() => {
36308
36312
  const P = new ResizeObserver((N) => {
36309
36313
  N.forEach((ne) => {
@@ -36312,7 +36316,7 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36312
36316
  });
36313
36317
  i.value && P.observe(i.value);
36314
36318
  });
36315
- const h = ge(() => o.dataset.map((P, N) => {
36319
+ const h = ye(() => o.dataset.map((P, N) => {
36316
36320
  const ne = P.values.map((L) => isNaN(L) ? 0 : L ?? 0), k = ne.reduce((L, Q) => L + Q, 0);
36317
36321
  return {
36318
36322
  ...P,
@@ -36337,7 +36341,7 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36337
36341
  orders: ne[Q]
36338
36342
  }));
36339
36343
  }
36340
- const v = ge(() => s(h.value)), y = J(v.value), C = J(void 0), x = J(!1), _ = J(void 0), j = J(-1);
36344
+ const v = ye(() => s(h.value)), y = J(v.value), C = J(void 0), x = J(!1), _ = J(void 0), j = J(-1);
36341
36345
  function K() {
36342
36346
  x.value = !1, _.value = void 0, j.value = -1, y.value = v.value;
36343
36347
  }
@@ -36348,7 +36352,7 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36348
36352
  const L = N.map((Q, U) => [U, Q]).sort((Q, U) => ne * (U[1] - Q[1])).map((Q) => Q[0]).map((Q) => v.value[Q]);
36349
36353
  y.value = L;
36350
36354
  }
36351
- const Ae = ge(() => Math.max(...o.dataset.map((P) => P.values.length))), Z = ge(() => {
36355
+ const Ae = ye(() => Math.max(...o.dataset.map((P) => P.values.length))), Z = ye(() => {
36352
36356
  let P = u.value.colNames;
36353
36357
  if (!P.length)
36354
36358
  for (let ne = 0; ne < Ae.value; ne += 1)
@@ -36361,7 +36365,7 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36361
36365
  u.value.translations.median
36362
36366
  ] : u.value.showAverage && !u.value.showMedian ? N = [...P, u.value.translations.average] : !u.value.showAverage && u.value.showMedian ? N = [...P, u.value.translations.median] : N = P, u.value.showSparklines ? [...N, u.value.translations.chart] : N;
36363
36367
  }), H = J(void 0), re = J(void 0);
36364
- function ye({ dataIndex: P, serieIndex: N }) {
36368
+ function ge({ dataIndex: P, serieIndex: N }) {
36365
36369
  H.value = P, re.value = N;
36366
36370
  }
36367
36371
  const D = J(!1);
@@ -36423,7 +36427,12 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36423
36427
  style: { overflow: "hidden" },
36424
36428
  id: `table_${r.value}`
36425
36429
  }, [
36426
- w("div", YT, [
36430
+ w("div", {
36431
+ style: { overflow: "auto" },
36432
+ onPointerleave: N[0] || (N[0] = (ne) => {
36433
+ re.value = void 0, H.value = void 0;
36434
+ })
36435
+ }, [
36427
36436
  w("table", {
36428
36437
  class: "vue-ui-data-table",
36429
36438
  style: $({ fontFamily: u.value.fontFamily, position: "relative" })
@@ -36450,7 +36459,7 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36450
36459
  })
36451
36460
  }, M(u.value.title.subtitle.text), 5)) : E("", !0)
36452
36461
  ], 4)) : E("", !0),
36453
- w("thead", JT, [
36462
+ w("thead", YT, [
36454
36463
  w("tr", {
36455
36464
  role: "row",
36456
36465
  class: "vue-ui-data-table__thead-row",
@@ -36482,7 +36491,7 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36482
36491
  onClick: () => O(k),
36483
36492
  class: Ne({ "sticky-col": k === Z.value.length - 1 && u.value.showSparklines })
36484
36493
  }, [
36485
- w("div", eH, [
36494
+ w("div", ZT, [
36486
36495
  w("span", null, M(ne), 1),
36487
36496
  x.value && k === _.value && v.value[0].values[k] !== void 0 ? (g(), lt(ao, {
36488
36497
  key: 0,
@@ -36509,7 +36518,7 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36509
36518
  onGenerateImage: le,
36510
36519
  onGenerateCsv: S
36511
36520
  }, null, 8, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "isFullscreen", "chartElement"])) : E("", !0)
36512
- ], 14, ZT))), 256))
36521
+ ], 14, JT))), 256))
36513
36522
  ], 4)
36514
36523
  ]),
36515
36524
  w("tbody", null, [
@@ -36524,7 +36533,7 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36524
36533
  w("td", {
36525
36534
  role: "cell",
36526
36535
  style: $({
36527
- backgroundColor: u.value.tbody.backgroundColor,
36536
+ backgroundColor: "inherit",
36528
36537
  outline: u.value.tbody.outline,
36529
36538
  fontSize: `${u.value.tbody.fontSize}px`,
36530
36539
  fontWeight: u.value.tbody.bold ? "bold" : "normal",
@@ -36533,13 +36542,13 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36533
36542
  "data-cell": u.value.translations.serie,
36534
36543
  class: "vue-ui-data-table__tbody__td sticky-col-first"
36535
36544
  }, [
36536
- w("div", oH, [
36545
+ w("div", tH, [
36537
36546
  w("span", {
36538
36547
  style: $({ color: ne.color })
36539
36548
  }, "⬤", 4),
36540
36549
  w("span", null, M(ne.name ?? "-"), 1)
36541
36550
  ])
36542
- ], 12, tH),
36551
+ ], 12, eH),
36543
36552
  (g(!0), p(we, null, xe(ne.values, (L, Q) => (g(), p("td", {
36544
36553
  role: "cell",
36545
36554
  style: $({
@@ -36551,8 +36560,11 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36551
36560
  borderRadius: H.value !== void 0 && re.value !== void 0 && Q === H.value && re.value === k ? "3px" : ""
36552
36561
  }),
36553
36562
  "data-cell": Z.value[Q],
36554
- class: "vue-ui-data-table__tbody__td"
36555
- }, M(Number(L.toFixed(u.value.roundingValues)).toLocaleString()), 13, lH))), 256)),
36563
+ class: "vue-ui-data-table__tbody__td",
36564
+ onPointerenter: (U) => {
36565
+ re.value = k, H.value = Q;
36566
+ }
36567
+ }, M(Number(L.toFixed(u.value.roundingValues)).toLocaleString()), 45, oH))), 256)),
36556
36568
  u.value.showTotal ? (g(), p("td", {
36557
36569
  key: 0,
36558
36570
  role: "cell",
@@ -36564,7 +36576,7 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36564
36576
  }),
36565
36577
  "data-cell": u.value.translations.total,
36566
36578
  class: "vue-ui-data-table__tbody__td"
36567
- }, M(Number(ne.sum.toFixed(u.value.roundingTotal)).toLocaleString()), 13, aH)) : E("", !0),
36579
+ }, M(Number(ne.sum.toFixed(u.value.roundingTotal)).toLocaleString()), 13, lH)) : E("", !0),
36568
36580
  u.value.showAverage ? (g(), p("td", {
36569
36581
  key: 1,
36570
36582
  role: "cell",
@@ -36576,7 +36588,7 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36576
36588
  }),
36577
36589
  "data-cell": u.value.translations.average,
36578
36590
  class: "vue-ui-data-table__tbody__td"
36579
- }, M(Number(ne.average.toFixed(u.value.roundingAverage)).toLocaleString()), 13, rH)) : E("", !0),
36591
+ }, M(Number(ne.average.toFixed(u.value.roundingAverage)).toLocaleString()), 13, aH)) : E("", !0),
36580
36592
  u.value.showMedian ? (g(), p("td", {
36581
36593
  key: 2,
36582
36594
  role: "cell",
@@ -36588,7 +36600,7 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36588
36600
  }),
36589
36601
  "data-cell": u.value.translations.median,
36590
36602
  class: "vue-ui-data-table__tbody__td"
36591
- }, M(Number(ne.median.toFixed(u.value.roundingMedian)).toLocaleString()), 13, nH)) : E("", !0),
36603
+ }, M(Number(ne.median.toFixed(u.value.roundingMedian)).toLocaleString()), 13, rH)) : E("", !0),
36592
36604
  u.value.showSparklines ? (g(), p("td", {
36593
36605
  key: 3,
36594
36606
  role: "cell",
@@ -36602,9 +36614,10 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36602
36614
  class: "vue-ui-data-table__tbody__td sticky-col"
36603
36615
  }, [
36604
36616
  et(dQ, {
36605
- onHoverIndex: ({ index: L }) => ye({ dataIndex: L, serieIndex: k }),
36617
+ onHoverIndex: ({ index: L }) => ge({ dataIndex: L, serieIndex: k }),
36606
36618
  dataset: ne.sparklineDataset,
36607
36619
  showInfo: !1,
36620
+ selectedIndex: H.value,
36608
36621
  config: {
36609
36622
  type: u.value.sparkline.type,
36610
36623
  style: {
@@ -36632,51 +36645,51 @@ const qT = ["id"], YT = { style: { overflow: "auto" } }, JT = { style: { "z-inde
36632
36645
  }
36633
36646
  }
36634
36647
  }
36635
- }, null, 8, ["onHoverIndex", "dataset", "config"])
36636
- ], 12, AH)) : E("", !0)
36648
+ }, null, 8, ["onHoverIndex", "dataset", "selectedIndex", "config"])
36649
+ ], 12, nH)) : E("", !0)
36637
36650
  ], 6))), 256))
36638
36651
  ])
36639
36652
  ], 4)
36640
- ])
36653
+ ], 32)
36641
36654
  ], 10, qT));
36642
36655
  }
36643
- }, OH = /* @__PURE__ */ Qt(iH, [["__scopeId", "data-v-1a291b4e"]]);
36656
+ }, zH = /* @__PURE__ */ Qt(AH, [["__scopeId", "data-v-3d201cf9"]]);
36644
36657
  export {
36645
- NH as A,
36646
- $H as B,
36647
- TH as C,
36658
+ EH as A,
36659
+ NH as B,
36660
+ $H as C,
36648
36661
  ao as D,
36649
- HH as E,
36650
- DH as F,
36651
- PH as G,
36652
- zH as H,
36653
- OH as I,
36662
+ TH as E,
36663
+ HH as F,
36664
+ DH as G,
36665
+ PH as H,
36666
+ zH as I,
36654
36667
  dQ as S,
36655
36668
  Ot as _,
36656
- cH as a,
36657
- dH as b,
36658
- hH as c,
36659
- fH as d,
36660
- vH as e,
36661
- gH as f,
36662
- yH as g,
36663
- pH as h,
36664
- bH as i,
36665
- wH as j,
36666
- mH as k,
36667
- xH as l,
36668
- BH as m,
36669
- CH as n,
36670
- kH as o,
36671
- _H as p,
36669
+ uH as a,
36670
+ cH as b,
36671
+ dH as c,
36672
+ hH as d,
36673
+ fH as e,
36674
+ vH as f,
36675
+ gH as g,
36676
+ yH as h,
36677
+ pH as i,
36678
+ bH as j,
36679
+ wH as k,
36680
+ mH as l,
36681
+ xH as m,
36682
+ BH as n,
36683
+ CH as o,
36684
+ kH as p,
36672
36685
  B4 as q,
36673
- FH as r,
36674
- SH as s,
36675
- QH as t,
36676
- LH as u,
36677
- uH as v,
36678
- UH as w,
36679
- MH as x,
36680
- IH as y,
36681
- EH as z
36686
+ _H as r,
36687
+ FH as s,
36688
+ SH as t,
36689
+ QH as u,
36690
+ sH as v,
36691
+ LH as w,
36692
+ UH as x,
36693
+ MH as y,
36694
+ IH as z
36682
36695
  };