vue-data-ui 0.3.8 → 0.3.9

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.
@@ -12820,7 +12820,7 @@ function(e) {
12820
12820
  */
12821
12821
  function(e) {
12822
12822
  function t() {
12823
- return (Ft.canvg ? Promise.resolve(Ft.canvg) : import("./index.es-5448322b.js")).catch(function(A) {
12823
+ return (Ft.canvg ? Promise.resolve(Ft.canvg) : import("./index.es-46800d5d.js")).catch(function(A) {
12824
12824
  return Promise.reject(new Error("Could not load canvg: " + A));
12825
12825
  }).then(function(A) {
12826
12826
  return A.default ? A.default : A;
@@ -31208,7 +31208,7 @@ const L6 = {
31208
31208
  paddingRight: 0,
31209
31209
  useGradient: !0,
31210
31210
  gradientIntensity: 20,
31211
- fillOpacity: 10,
31211
+ fillOpacity: 90,
31212
31212
  underlayerColor: "#FFFFFF",
31213
31213
  dataLabels: {
31214
31214
  color: "#2D353C",
@@ -31247,18 +31247,18 @@ const L6 = {
31247
31247
  },
31248
31248
  separators: {
31249
31249
  show: !0,
31250
- stroke: "#e1e5e8",
31250
+ color: "#e1e5e8",
31251
31251
  strokeWidth: 1
31252
31252
  }
31253
31253
  },
31254
31254
  title: {
31255
- text: "Title",
31255
+ text: "",
31256
31256
  color: "#2D353C",
31257
31257
  fontSize: 20,
31258
31258
  bold: !0,
31259
31259
  subtitle: {
31260
31260
  color: "#A1A1A1",
31261
- text: "Subtitle",
31261
+ text: "",
31262
31262
  fontSize: 16,
31263
31263
  bold: !1
31264
31264
  }
@@ -37623,7 +37623,7 @@ const LD = ["id"], QD = { class: "vue-ui-onion-user-option-item" }, ID = ["id",
37623
37623
  ], 12, LD));
37624
37624
  }
37625
37625
  }, tM = /* @__PURE__ */ ga(uO, [["__scopeId", "data-v-82c99d17"]]);
37626
- const cO = ["id"], hO = { class: "vue-ui-vertical-bar-user-option-item" }, fO = ["id", "name"], dO = ["for"], gO = { class: "vue-ui-vertical-bar-user-option-item" }, vO = ["id", "name"], pO = ["for"], wO = ["disabled"], yO = ["stroke"], mO = /* @__PURE__ */ ua('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-50dc759b></path><path d="M18 16v.01" data-v-50dc759b></path><path d="M6 16v.01" data-v-50dc759b></path><path d="M12 5v.01" data-v-50dc759b></path><path d="M12 12v.01" data-v-50dc759b></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-50dc759b></path>', 6), BO = [
37626
+ const cO = ["id"], hO = { class: "vue-ui-vertical-bar-user-option-item" }, fO = ["id", "name"], dO = ["for"], gO = { class: "vue-ui-vertical-bar-user-option-item" }, vO = ["id", "name"], pO = ["for"], wO = ["disabled"], yO = ["stroke"], mO = /* @__PURE__ */ ua('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-4f22e798></path><path d="M18 16v.01" data-v-4f22e798></path><path d="M6 16v.01" data-v-4f22e798></path><path d="M12 5v.01" data-v-4f22e798></path><path d="M12 12v.01" data-v-4f22e798></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-4f22e798></path>', 6), BO = [
37627
37627
  mO
37628
37628
  ], xO = { key: 1 }, bO = ["viewBox"], CO = ["id"], FO = ["stop-color"], _O = ["stop-color"], EO = { key: 0 }, SO = ["font-size", "fill", "x", "y"], UO = ["font-size", "fill", "x", "y"], kO = ["x", "y", "width", "height", "fill", "rx"], TO = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], LO = ["x2", "y1", "y2", "stroke", "stroke-width"], QO = ["x", "y", "font-size", "fill", "font-weight"], IO = ["x", "y", "font-size", "fill", "font-weight"], NO = ["x", "y", "font-size", "fill", "font-weight"], DO = ["x", "y", "font-size", "fill", "font-weight"], OO = ["y", "width", "height", "fill", "onMouseenter"], MO = ["y", "height"], PO = ["onClick"], HO = ["onClick"], RO = ["innerHTML"], KO = { key: 0 }, VO = { key: 0 }, zO = { style: { width: "100%" } }, GO = {
37629
37629
  __name: "vue-ui-vertical-bar",
@@ -37756,7 +37756,7 @@ const cO = ["id"], hO = { class: "vue-ui-vertical-bar-user-option-item" }, fO =
37756
37756
  x += `<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;text-align:left;">
37757
37757
  <div><span style="color:${y.color};margin-right:3px">⬤</span>${_}</div>
37758
37758
  ${V ? `<div>${V}</div>` : ""}
37759
- </div>`, x += `<div>${p.value.translations.value} : <b>${p.value.style.chart.tooltip.prefix}${[void 0, NaN, null].includes(y.value) ? "-" : y.value.toFixed(p.value.style.chart.tooltip.roundingValue)}${p.value.style.chart.tooltip.suffix}</b></div>`, x += `<div>${p.value.translations.percentageToTotal} : <b>${isNaN(y.value / ee.value) ? "-" : `${(y.value / ee.value * 100).toFixed(p.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`, y.isChild && (x += `<div>${p.value.translations.percentageToSerie} : <b>${isNaN(y.value / y.parentValue) ? "-" : `${(y.value / y.parentValue * 100).toFixed(p.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`), h.value = `<div style="text-align:left">${x}</div>`;
37759
+ </div>`, p.value.style.chart.tooltip.showValue && (x += `<div>${p.value.translations.value} : <b>${p.value.style.chart.tooltip.prefix}${[void 0, NaN, null].includes(y.value) ? "-" : y.value.toFixed(p.value.style.chart.tooltip.roundingValue)}${p.value.style.chart.tooltip.suffix}</b></div>`), p.value.style.chart.tooltip.showPercentage && (x += `<div>${p.value.translations.percentageToTotal} : <b>${isNaN(y.value / ee.value) ? "-" : `${(y.value / ee.value * 100).toFixed(p.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`, y.isChild && (x += `<div>${p.value.translations.percentageToSerie} : <b>${isNaN(y.value / y.parentValue) ? "-" : `${(y.value / y.parentValue * 100).toFixed(p.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`)), h.value = `<div style="text-align:left">${x}</div>`;
37760
37760
  }
37761
37761
  function Fe() {
37762
37762
  i.value = !0, oa(() => {
@@ -37975,7 +37975,7 @@ const cO = ["id"], hO = { class: "vue-ui-vertical-bar-user-option-item" }, fO =
37975
37975
  x2: te.value.left,
37976
37976
  y1: p.value.style.chart.layout.bars.height + p.value.style.chart.layout.bars.gap / 2 + te.value.top + (p.value.style.chart.layout.bars.gap + p.value.style.chart.layout.bars.height) * V,
37977
37977
  y2: p.value.style.chart.layout.bars.height + p.value.style.chart.layout.bars.gap / 2 + te.value.top + (p.value.style.chart.layout.bars.gap + p.value.style.chart.layout.bars.height) * V,
37978
- stroke: p.value.style.chart.layout.separators.stroke,
37978
+ stroke: p.value.style.chart.layout.separators.color,
37979
37979
  "stroke-width": p.value.style.chart.layout.separators.strokeWidth,
37980
37980
  "stroke-linecap": "round"
37981
37981
  }, null, 8, LO)) : ge("", !0),
@@ -37986,8 +37986,8 @@ const cO = ["id"], hO = { class: "vue-ui-vertical-bar-user-option-item" }, fO =
37986
37986
  "font-size": p.value.style.chart.layout.bars.dataLabels.fontSize,
37987
37987
  fill: p.value.style.chart.layout.bars.dataLabels.color,
37988
37988
  "font-weight": p.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal"
37989
- }, z(isNaN(_.value) || !p.value.style.chart.layout.bars.dataLabels.value.show ? "" : p.value.style.chart.layout.bars.dataLabels.value.prefix) + " " + z(isNaN(_.value) ? "" : _.value.toFixed(p.value.style.chart.layout.bars.dataLabels.value.roundingValue)) + " " + z(isNaN(_.value) || !p.value.style.chart.layout.bars.dataLabels.value.show ? "" : p.value.style.chart.layout.bars.dataLabels.value.suffix) + " " + z(p.value.style.chart.layout.bars.dataLabels.percentage.show ? `(${T(_.value, !0, p.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})` : ""), 9, QO),
37990
- _.isChild || !_.hasChildren ? (E(), S("text", {
37989
+ }, z(p.value.style.chart.layout.bars.dataLabels.value.prefix) + " " + z(isNaN(_.value) || !p.value.style.chart.layout.bars.dataLabels.value.show ? "" : _.value.toFixed(p.value.style.chart.layout.bars.dataLabels.value.roundingValue)) + " " + z(p.value.style.chart.layout.bars.dataLabels.value.suffix) + " " + z(p.value.style.chart.layout.bars.dataLabels.percentage.show ? `(${T(_.value, !0, p.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})` : ""), 9, QO),
37990
+ (_.isChild || !_.hasChildren) && p.value.style.chart.layout.bars.nameLabels.show ? (E(), S("text", {
37991
37991
  key: 1,
37992
37992
  "text-anchor": "end",
37993
37993
  x: te.value.left - 3 + p.value.style.chart.layout.bars.nameLabels.offsetX,
@@ -37996,7 +37996,7 @@ const cO = ["id"], hO = { class: "vue-ui-vertical-bar-user-option-item" }, fO =
37996
37996
  fill: p.value.style.chart.layout.bars.nameLabels.color,
37997
37997
  "font-weight": p.value.style.chart.layout.bars.nameLabels.bold ? "bold" : "normal"
37998
37998
  }, z(_.name), 9, IO)) : ge("", !0),
37999
- _.isChild && _.childIndex === 0 ? (E(), S("text", {
37999
+ _.isChild && _.childIndex === 0 && p.value.style.chart.layout.bars.parentLabels.show ? (E(), S("text", {
38000
38000
  key: 2,
38001
38001
  x: 3 + p.value.style.chart.layout.bars.parentLabels.offsetX,
38002
38002
  y: he(_, V).y,
@@ -38005,7 +38005,7 @@ const cO = ["id"], hO = { class: "vue-ui-vertical-bar-user-option-item" }, fO =
38005
38005
  "font-weight": p.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
38006
38006
  "text-anchor": "start"
38007
38007
  }, z(he(_, V).name), 9, NO)) : ge("", !0),
38008
- _.isChild && _.childIndex === 0 ? (E(), S("text", {
38008
+ _.isChild && _.childIndex === 0 && p.value.style.chart.layout.bars.parentLabels.show ? (E(), S("text", {
38009
38009
  key: 3,
38010
38010
  x: 3 + p.value.style.chart.layout.bars.parentLabels.offsetX,
38011
38011
  y: he(_, V).y + p.value.style.chart.layout.bars.parentLabels.fontSize + 6,
@@ -38013,7 +38013,7 @@ const cO = ["id"], hO = { class: "vue-ui-vertical-bar-user-option-item" }, fO =
38013
38013
  fill: p.value.style.chart.layout.bars.parentLabels.color,
38014
38014
  "font-weight": p.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
38015
38015
  "text-anchor": "start"
38016
- }, z(he(_, V).value) + " (" + z(he(_, V).percentageToTotal) + ") ", 9, DO)) : ge("", !0),
38016
+ }, z(p.value.style.chart.layout.bars.dataLabels.value.show ? he(_, V).value : "") + " " + z(p.value.style.chart.layout.bars.dataLabels.percentage.show ? `(${he(_, V).percentageToTotal})` : ""), 9, DO)) : ge("", !0),
38017
38017
  L("rect", {
38018
38018
  x: 0,
38019
38019
  y: te.value.top + (p.value.style.chart.layout.bars.gap + p.value.style.chart.layout.bars.height) * V - p.value.style.chart.layout.bars.gap / 2,
@@ -38162,7 +38162,7 @@ const cO = ["id"], hO = { class: "vue-ui-vertical-bar-user-option-item" }, fO =
38162
38162
  ], 4)) : ge("", !0)
38163
38163
  ], 12, cO));
38164
38164
  }
38165
- }, AM = /* @__PURE__ */ ga(GO, [["__scopeId", "data-v-50dc759b"]]);
38165
+ }, AM = /* @__PURE__ */ ga(GO, [["__scopeId", "data-v-4f22e798"]]);
38166
38166
  export {
38167
38167
  iA as _,
38168
38168
  WO as a,
@@ -1,4 +1,4 @@
1
- import { _ as Ha } from "./index-0f283c53.js";
1
+ import { _ as Ha } from "./index-85aa050e.js";
2
2
  import "vue";
3
3
  var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function Vo(a) {
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .vue-ui-xy *[data-v-c3b5e3f6]{transition:unset}.vue-ui-xy[data-v-c3b5e3f6]{position:relative;padding-top:36px}.vue-ui-xy-user-options[data-v-c3b5e3f6]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;max-width:300px}.vue-ui-xy-user-options[open][data-v-c3b5e3f6]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-xy-user-options summary[data-v-c3b5e3f6]{text-align:right;direction:rtl}.vue-ui-xy-user-options-items[data-v-c3b5e3f6]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-xy-user-options-item[data-v-c3b5e3f6]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-xy-legend[data-v-c3b5e3f6]{align-items:center;column-gap:24px;display:flex;flex-wrap:wrap;justify-content:center;-webkit-user-select:none;user-select:none;width:100%}.vue-ui-xy-legend-item[data-v-c3b5e3f6]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;cursor:pointer}.vue-ui-xy-legend-item-segregated[data-v-c3b5e3f6]{opacity:.5}.vue-ui-xy-title[data-v-c3b5e3f6]{align-items:center;display:flex;flex-direction:column;justify-content:center;width:100%}.vue-ui-xy svg rect[data-v-c3b5e3f6]{transition:all .11s ease-in-out}.vue-ui-xy-tooltip[data-v-c3b5e3f6]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;z-index:1}.vue-ui-xy-table-wrapper[data-v-c3b5e3f6]{width:100%;max-height:300px;overflow:auto;margin-top:24px;position:relative}.vue-ui-xy-table-wrapper-printing[data-v-c3b5e3f6]{max-height:unset;height:fit-content}.vue-ui-xy-table[data-v-c3b5e3f6]{width:100%;border-collapse:collapse}.vue-ui-xy-table td[data-v-c3b5e3f6]{border:1px solid #e1e5e8;text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-xy-table thead[data-v-c3b5e3f6]{border:1px solid #e1e5e8;background:#fafafa;position:sticky;top:0;font-weight:400;outline:1px solid #e1e5e8;-webkit-user-select:none;user-select:none}.vue-ui-xy-table-tr-selected[data-v-c3b5e3f6]{background:#e1e5e8}.vue-ui-xy-button[data-v-c3b5e3f6]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-xy-button[data-v-c3b5e3f6]:hover{background:rgba(0,0,0,.05)}.vue-ui-xy-print-icon[data-v-c3b5e3f6]{animation:smartspin-c3b5e3f6 .5s infinite linear}@keyframes smartspin-c3b5e3f6{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-xy-range-slider[data-v-c3b5e3f6]{width:100%;margin-bottom:12px;display:flex;flex-direction:row}.vue-ui-xy-slider--left[data-v-c3b5e3f6],.vue-ui-xy-slider--right[data-v-c3b5e3f6]{width:100%;padding:0 12px;display:flex;flex-direction:column}.vue-ui-xy-slider--left input[data-v-c3b5e3f6],.vue-ui-xy-slider--right input[data-v-c3b5e3f6]{width:100%}.vue-ui-xy-slider--right[data-v-c3b5e3f6]{align-items:flex-end;margin-left:-10px}.vue-ui-xy-slider--left[data-v-c3b5e3f6]{align-items:flex-start;margin-right:-10px}.vue-ui-table-main[data-v-3abc2c64]{height:fit-content;padding:0 0 98px;position:relative}.vue-ui-table__wrapper[data-v-3abc2c64]{overflow-x:auto;padding:0 12px 48px;position:relative;width:calc(100% - 24px)}.vue-ui-table-main thead[data-v-3abc2c64]{position:sticky;top:0}.vue-ui-table[data-v-3abc2c64]{width:100%;position:relative}.vue-ui-table-main table[data-v-3abc2c64]{border-collapse:collapse}.vue-ui-table-main th[data-v-3abc2c64],.vue-ui-table-main td[data-v-3abc2c64]{padding:3px 8px}.vue-ui-table-main tr td[data-v-3abc2c64]{outline:1px solid white}.vue-ui-table-main .th-numeric[data-v-3abc2c64]{text-align:right;font-variant-numeric:tabular-nums}.vue-ui-table-main .th-filter[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;position:relative}.vue-ui-table-main button[data-v-3abc2c64]{align-items:center;cursor:pointer;display:flex;justify-content:center;width:32px}.vue-ui-table-main input[data-v-3abc2c64]{padding:0 6px;font-family:Satoshi}.vue-ui-table-main button[data-v-3abc2c64],.vue-ui-table-main input[data-v-3abc2c64]{border-radius:6px;height:32px}.vue-ui-table-main button[data-v-3abc2c64]{border:1px solid grey}.vue-ui-table-main button[data-v-3abc2c64]:hover,.vue-ui-table-main button[data-v-3abc2c64]:focus,.vue-ui-table-main input[data-v-3abc2c64]:hover,.vue-ui-table-main input[data-v-3abc2c64]:focus{outline:3px solid rgba(128,128,128,.432)}.vue-ui-table-main button.clicked[data-v-3abc2c64]{animation:clicked-3abc2c64 .15s ease-in-out}.vue-ui-table-main button[disabled][data-v-3abc2c64]{cursor:not-allowed}.vue-ui-table-main button[disabled][data-v-3abc2c64]:focus,.vue-ui-table-main button[disabled][data-v-3abc2c64]:hover{outline:none}button.th-reset[data-v-3abc2c64]:not(:disabled){background:radial-gradient(at top,#f19a71,#F17171);border:1px solid #F17171;color:#fff}.vue-ui-table-main button.th-reset[data-v-3abc2c64]:not(:disabled):hover,.vue-ui-table-main button.th-reset[data-v-3abc2c64]:not(:disabled):focus{outline:3px solid #f171717e}.vue-ui-table-main [data-is-open=false][data-v-3abc2c64]{transform:scale(0)}.vue-ui-table-main .th-dropdown[data-is-open=true][data-v-3abc2c64]{animation:open-dropdown-3abc2c64 .2s ease-in}.vue-ui-table-main .th-dropdown[data-is-open=false][data-v-3abc2c64]{animation:close-dropdown-3abc2c64 .2s ease-in}.vue-ui-table-main .th-dropdown[data-v-3abc2c64]{align-items:center;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #00000080;display:flex;flex-direction:column;justify-content:flex-start;left:0;max-width:300px;min-width:150px;padding:24px 12px 12px;position:absolute;top:calc(100% + 12px)}.vue-ui-table-main .th-option[data-v-3abc2c64]{border-radius:6px;cursor:pointer;padding:2px 6px;text-align:left;-webkit-user-select:none;user-select:none;width:100%;font-weight:400}.vue-ui-table-main .th-option[data-v-3abc2c64]:hover{background-color:#ffffff1a;box-shadow:0 3px 6px -3px #00000080;z-index:1}.vue-ui-table-main button.close-dropdown[data-v-3abc2c64],.vue-ui-table-main button.close-chart-modal[data-v-3abc2c64]{align-items:center;border-radius:50%;border:none;display:flex;height:20px;padding:2px;position:absolute;right:6px;top:6px;width:20px}.vue-ui-table-main button.close-dropdown[data-v-3abc2c64]:hover,.vue-ui-table-main button.close-dropdown[data-v-3abc2c64]:focus,.vue-ui-table-main button.close-chart-modal[data-v-3abc2c64]:hover,.vue-ui-table-main button.close-char-modal[data-v-3abc2c64]:focus{outline:3px solid #2d353c71}.vue-ui-table-main .th-button-active[data-v-3abc2c64]{background:radial-gradient(at top,#968bf1,#6376DD);color:#fff}.vue-ui-table-main .th-button-active[data-v-3abc2c64]:hover,.vue-ui-table-main .th-button-active[data-v-3abc2c64]:focus{outline:3px solid #6375dd7a}.vue-ui-table-main .th-date[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--inputs[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:column;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--button[data-v-3abc2c64]{display:flex;gap:3px}.vue-ui-table-main input[type=date][data-v-3abc2c64]{border-radius:4px;font-size:12px;font-variant-numeric:tabular-nums;height:20px!important;width:100px}.vue-ui-table-main .date-fieldset[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-fieldset label[data-v-3abc2c64]{font-size:12px;font-weight:400}@keyframes clicked-3abc2c64{0%{transform:scale(.9)}90%{transform:scale(1.03)}to{transform:scale(1)}}.vue-ui-table-main td.td-numeric[data-v-3abc2c64]{cursor:pointer}.vue-ui-table-main .td-selector-info[data-v-3abc2c64]{align-items:center;border-radius:0 0 6px 6px;bottom:76px;display:flex;font-size:14px;justify-content:flex-end;min-height:20px;padding:2px 4px 2px 2px;position:absolute;right:0;text-align:right;width:100%;z-index:1}.vue-ui-table-main button.td-selector-info-reset[data-v-3abc2c64]{background:transparent;border:none;color:#f17171;height:14px;margin-left:24px;padding:0;width:14px}.vue-ui-table-main button.td-selector-info-reset[data-v-3abc2c64]:hover,.vue-ui-table-main button.td-selector-info-reset[data-v-3abc2c64]:focus{outline:3px solid #f171717e}.vue-ui-table-main .format-num[data-v-3abc2c64]{font-variant-numeric:tabular-nums}.vue-ui-table-main .td-selector-icon[data-v-3abc2c64]{margin-bottom:-5px;margin-right:6px}.vue-ui-table-main .vue-ui-table-pagination[data-v-3abc2c64]{align-items:center;bottom:24px;display:flex;flex-direction:row;gap:12px;height:40px;justify-content:center;position:absolute;width:100%;z-index:1}.vue-ui-table-main button.vue-ui-table-navigation[data-v-3abc2c64]{height:36px;padding:1px;width:36px}.vue-ui-table-main .vue-ui-table-navigation-indicator[data-v-3abc2c64]{border-radius:6px;bottom:70px;height:6px;position:absolute;transition:all .1s ease-in-out}.vue-ui-table-main .vue-ui-table-page-scroller-wrapper[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:column;justify-content:center}.vue-ui-table-main input.vue-ui-table-page-scroller[data-v-3abc2c64]{cursor:pointer;height:24px;padding:0}.vue-ui-table-main .vue-ui-table-paginator[data-v-3abc2c64]{position:absolute;bottom:0;z-index:2;left:12px;display:flex;flex-direction:row;gap:6px;font-size:14px;justify-content:center;align-items:center;width:calc(100% - 24px)}.vue-ui-table-main .vue-ui-table-paginator select[data-v-3abc2c64]{border-radius:3px}.vue-ui-table-main .vue-ui-table-size-warning[data-v-3abc2c64]{align-items:center;bottom:-24px;color:#f17171;display:flex;flex-direction:row;flex-wrap:wrap;font-size:12px;gap:6px;justify-content:center;position:absolute;text-align:center;width:100%}.vue-ui-table-main th.vue-ui-table-col-selector[data-v-3abc2c64]{height:12px}.vue-ui-table-main .col-selector[data-v-3abc2c64]{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.vue-ui-table-main th.col-selector--selected[data-v-3abc2c64]{background:radial-gradient(at top left,#9586eb,#6376DD);color:#fff}.vue-ui-table-main th.col-selector--selected div[data-v-3abc2c64]{background:transparent;color:#fff}.vue-ui-table-main .vue-ui-table-chart-modal[data-v-3abc2c64]{align-items:center;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #0000004d;display:flex;flex-direction:column;justify-content:center;min-height:200px;min-width:300px;max-width:800px;overflow:hidden;padding:12px;position:fixed;resize:horizontal;-webkit-user-select:none;user-select:none;z-index:10000}.vue-ui-table-main .vue-ui-table-chart-svg[data-v-3abc2c64]{border-radius:6px;margin-bottom:12px;overflow:visible;padding:12px;width:calc(100% - 24px)}.vue-ui-table-main .vue-ui-table-donut-chart[data-v-3abc2c64]{border-radius:6px}.vue-ui-table-main td.vue-ui-table-td-iteration[data-v-3abc2c64]{font-size:12px;font-variant-numeric:tabular-nums;text-align:right;-webkit-user-select:none;user-select:none}.vue-ui-table-main .chart-trend[data-v-3abc2c64]{font-size:12px;padding-left:12px}.vue-ui-table-main .chart-modal-options[data-v-3abc2c64]{bottom:12px;display:flex;flex-direction:row;gap:8px;position:absolute;right:24px}.vue-ui-table-main .chart-modal-options button[data-v-3abc2c64]{height:24px;padding:3px;width:24px}.vue-ui-table-main .th-range-filter[data-v-3abc2c64]{display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column}.vue-ui-table-main .th-range-filter input[data-v-3abc2c64]{height:20px;width:60px;font-variant-numeric:tabular-nums;font-size:12px}.vue-ui-table-main .th-range-filter label[data-v-3abc2c64]{font-size:12px;font-weight:400;margin-bottom:-3px}.vue-ui-table-main .vue-ui-table-fieldset-wrapper[data-v-3abc2c64]{display:flex;flex-direction:row;flex-wrap:wrap;gap:24px;margin-bottom:12px}.vue-ui-table-main .vue-ui-table-fieldset[data-v-3abc2c64]{border-radius:6px;margin-bottom:24px;border:1px solid white}.vue-ui-table-main .vue-ui-table-fieldset legend[data-v-3abc2c64]{color:gray}.vue-ui-table-main .vue-ui-table-fieldset-option[data-v-3abc2c64]{display:flex;align-items:center}.vue-ui-table-main .vue-ui-table-fieldset-option input[data-v-3abc2c64]{height:14px;width:14px;border-radius:50%}.vue-ui-table-main button.vue-ui-table-generate-donut[data-v-3abc2c64]{align-items:center;display:flex;gap:3px;justify-content:center;margin:24px auto 12px;padding-left:12px;padding-right:12px;width:fit-content}.vue-ui-table-main button.vue-ui-table-generate-donut[disabled][data-v-3abc2c64]{opacity:.5}.vue-ui-table-main .vue-ui-table-donut-legend[data-v-3abc2c64]{align-items:center;column-gap:12px;display:flex;flex-wrap:wrap;font-size:12px;justify-content:center;margin:0 auto;max-width:400px;padding-bottom:36px}.vue-ui-table-main .vue-ui-table-donut-legend-item[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:row;gap:3px;justify-content:center}.vue-ui-table-main .vue-ui-table-donut-label[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:column;font-size:4px;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-table-main .vue-ui-table-donut-label-name[data-v-3abc2c64]{font-size:3px;line-height:3px}.vue-ui-table-main td[data-v-3abc2c64]:focus{outline:3px solid #202d7470}.vue-ui-table-main .vue-ui-table-export-hub[data-v-3abc2c64]{left:5px;position:absolute;top:0;z-index:1001}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-v-3abc2c64]{position:absolute;top:40px;left:0;padding:24px;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #00000080;transform:scale(0);opacity:0}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=true][data-v-3abc2c64]{animation:open-dropdown-3abc2c64 .2s ease-in forwards}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=false][data-v-3abc2c64]{animation:close-dropdown-3abc2c64 .2s ease-in}.vue-ui-table-main .vue-ui-table-export-hub-options[data-v-3abc2c64]{margin-top:12px;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center}.vue-ui-table-main .vue-ui-table-export-hub-options button[data-v-3abc2c64]{width:fit-content;display:flex;align-items:center;justify-content:center;gap:3px;min-width:130px}.vue-ui-table-main .vue-ui-table-export-hub-option-wrapper[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-start}.vue-ui-table-main .vue-ui-table-export-hub-option-wrapper .label[data-v-3abc2c64]{font-size:12px;line-height:12px;margin-bottom:6px;width:100px}.vue-ui-table-main .td-nan[data-v-3abc2c64]{background:#F17171}.vue-ui-table-main .td-has-nan[data-v-3abc2c64],.vue-ui-table-main .th-has-nan[data-v-3abc2c64]{background:#F17171;min-width:100px;color:#fff}@keyframes open-dropdown-3abc2c64{0%{transform:scaleY(.9);opacity:0}50%{transform:scaleY(1.05);opacity:1}to{transform:scale(1);opacity:1}}@keyframes close-dropdown-3abc2c64{0%{transform:scale(1.05);opacity:1}to{transform:scale(0);opacity:0}}.vue-ui-donut *[data-v-795deb2e]{transition:unset}.vue-ui-donut[data-v-795deb2e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-donut .vue-ui-donut-label[data-v-795deb2e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-donut-legend[data-v-795deb2e]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-donut-legend-item[data-v-795deb2e]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-donut-tooltip[data-v-795deb2e]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-donut-user-options[data-v-795deb2e]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-donut-user-options[open][data-v-795deb2e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-donut summary[data-v-795deb2e]{text-align:right;direction:rtl}.vue-ui-donut-user-options-items[data-v-795deb2e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-donut-user-options-item[data-v-795deb2e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-donut-button[data-v-795deb2e]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-donut-button[data-v-795deb2e]:hover{background:rgba(0,0,0,.05)}.vue-ui-donut-print-icon[data-v-795deb2e]{animation:smartspin-795deb2e .5s infinite linear}@keyframes smartspin-795deb2e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-donut table[data-v-795deb2e]{width:100%;border-collapse:collapse}.vue-ui-donut table td[data-v-795deb2e]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-donut table th[data-v-795deb2e]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-waffle *[data-v-1d2a2a37]{transition:unset}.vue-ui-waffle[data-v-1d2a2a37]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-waffle .vue-ui-waffle-label[data-v-1d2a2a37]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-waffle-legend[data-v-1d2a2a37]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-waffle-legend-item[data-v-1d2a2a37]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-waffle-tooltip[data-v-1d2a2a37]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-waffle-user-options[data-v-1d2a2a37]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-waffle-user-options[open][data-v-1d2a2a37]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-waffle summary[data-v-1d2a2a37]{text-align:right;direction:rtl}.vue-ui-waffle-user-options-items[data-v-1d2a2a37]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-waffle-user-options-item[data-v-1d2a2a37]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-waffle-button[data-v-1d2a2a37]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-waffle-button[data-v-1d2a2a37]:hover{background:rgba(0,0,0,.05)}.vue-ui-waffle-print-icon[data-v-1d2a2a37]{animation:smartspin-1d2a2a37 .5s infinite linear}@keyframes smartspin-1d2a2a37{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-waffle table[data-v-1d2a2a37]{width:100%;border-collapse:collapse}.vue-ui-waffle table td[data-v-1d2a2a37]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-waffle table th[data-v-1d2a2a37]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-radar *[data-v-dbff0f7d]{transition:unset}.vue-ui-radar[data-v-dbff0f7d]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-radar .vue-ui-radar-label[data-v-dbff0f7d]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-radar-legend[data-v-dbff0f7d]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-radar-legend-item[data-v-dbff0f7d]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-radar-tooltip[data-v-dbff0f7d]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-radar-user-options[data-v-dbff0f7d]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-radar-user-options[open][data-v-dbff0f7d]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-radar summary[data-v-dbff0f7d]{text-align:right;direction:rtl}.vue-ui-radar-user-options-items[data-v-dbff0f7d]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-radar-user-options-item[data-v-dbff0f7d]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-radar-button[data-v-dbff0f7d]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-radar-button[data-v-dbff0f7d]:hover{background:rgba(0,0,0,.05)}.vue-ui-radar-print-icon[data-v-dbff0f7d]{animation:smartspin-dbff0f7d .5s infinite linear}@keyframes smartspin-dbff0f7d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-radar table[data-v-dbff0f7d]{width:100%;border-collapse:collapse}.vue-ui-radar table td[data-v-dbff0f7d]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-radar table th[data-v-dbff0f7d]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-quadrant *[data-v-c200bf52]{transition:unset}.vue-ui-quadrant[data-v-c200bf52]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-quadrant .vue-ui-quadrant-label[data-v-c200bf52]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-quadrant-legend[data-v-c200bf52]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-quadrant-legend-item[data-v-c200bf52]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-quadrant-tooltip[data-v-c200bf52]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-quadrant-user-options[data-v-c200bf52]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-quadrant-user-options[open][data-v-c200bf52]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-quadrant summary[data-v-c200bf52]{text-align:right;direction:rtl}.vue-ui-quadrant-user-options-items[data-v-c200bf52]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-quadrant-user-options-item[data-v-c200bf52]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-quadrant-button[data-v-c200bf52]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-quadrant-button[data-v-c200bf52]:hover{background:rgba(0,0,0,.05)}.vue-ui-quadrant-print-icon[data-v-c200bf52]{animation:smartspin-c200bf52 .5s infinite linear}@keyframes smartspin-c200bf52{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-quadrant table[data-v-c200bf52]{width:100%;border-collapse:collapse}.vue-ui-quadrant table td[data-v-c200bf52]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-quadrant table th[data-v-c200bf52]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-gauge *[data-v-77e98d1e]{transition:unset}.vue-ui-gauge[data-v-77e98d1e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-gauge .vue-ui-gauge-label[data-v-77e98d1e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-gauge-legend[data-v-77e98d1e]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-gauge-legend-item[data-v-77e98d1e]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-gauge-tooltip[data-v-77e98d1e]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-gauge-user-options[data-v-77e98d1e]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-gauge-user-options[open][data-v-77e98d1e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-gauge summary[data-v-77e98d1e]{text-align:right;direction:rtl}.vue-ui-gauge-user-options-items[data-v-77e98d1e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-gauge-user-options-item[data-v-77e98d1e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-gauge-button[data-v-77e98d1e]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-gauge-button[data-v-77e98d1e]:hover{background:rgba(0,0,0,.05)}.vue-ui-gauge-print-icon[data-v-77e98d1e]{animation:smartspin-77e98d1e .5s infinite linear}@keyframes smartspin-77e98d1e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut *[data-v-6650dd2d]{transition:unset}.vue-ui-chestnut[data-v-6650dd2d]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-chestnut .vue-ui-chestnut-label[data-v-6650dd2d]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-chestnut-legend[data-v-6650dd2d]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-chestnut-legend-item[data-v-6650dd2d]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-chestnut-tooltip[data-v-6650dd2d]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-chestnut-user-options[data-v-6650dd2d]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-chestnut-user-options[open][data-v-6650dd2d]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-chestnut summary[data-v-6650dd2d]{text-align:right;direction:rtl}.vue-ui-chestnut-user-options-items[data-v-6650dd2d]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-chestnut-user-options-item[data-v-6650dd2d]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-chestnut-button[data-v-6650dd2d]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-chestnut-button[data-v-6650dd2d]:hover{background:rgba(0,0,0,.05)}.vue-ui-chestnut-print-icon[data-v-6650dd2d]{animation:smartspin-6650dd2d .5s infinite linear}@keyframes smartspin-6650dd2d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut table[data-v-6650dd2d]{width:100%;border-collapse:collapse}.vue-ui-chestnut table td[data-v-6650dd2d]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-chestnut table th[data-v-6650dd2d]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-chestnut-animated[data-v-6650dd2d]{opacity:0;animation:chestnut-opacity-6650dd2d .2s ease-in-out forwards}@keyframes chestnut-opacity-6650dd2d{0%{transform:scaleX(.98);opacity:0}to{transform:scale(1);opacity:1}}.vue-ui-onion *[data-v-82c99d17]{transition:unset}.vue-ui-onion[data-v-82c99d17]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-onion .vue-ui-onion-label[data-v-82c99d17]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-onion-legend[data-v-82c99d17]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-onion-legend-item[data-v-82c99d17]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-onion-tooltip[data-v-82c99d17]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-onion-user-options[data-v-82c99d17]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-onion-user-options[open][data-v-82c99d17]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-onion summary[data-v-82c99d17]{text-align:right;direction:rtl}.vue-ui-onion-user-options-items[data-v-82c99d17]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-onion-user-options-item[data-v-82c99d17]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-onion-button[data-v-82c99d17]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-onion-button[data-v-82c99d17]:hover{background:rgba(0,0,0,.05)}.vue-ui-onion-print-icon[data-v-82c99d17]{animation:smartspin-82c99d17 .5s infinite linear}@keyframes smartspin-82c99d17{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-onion table[data-v-82c99d17]{width:100%;border-collapse:collapse}.vue-ui-onion table td[data-v-82c99d17]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-onion table th[data-v-82c99d17]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-vertical-bar *[data-v-50dc759b]{transition:unset}.vue-ui-vertical-bar[data-v-50dc759b]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-vertical-bar .vue-ui-vertical-bar-label[data-v-50dc759b]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-vertical-bar-legend[data-v-50dc759b]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-vertical-bar-legend-item[data-v-50dc759b]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-vertical-bar-tooltip[data-v-50dc759b]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-vertical-bar-user-options[data-v-50dc759b]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-vertical-bar-user-options[open][data-v-50dc759b]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-vertical-bar summary[data-v-50dc759b]{text-align:right;direction:rtl}.vue-ui-vertical-bar-user-options-items[data-v-50dc759b]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-vertical-bar-user-options-item[data-v-50dc759b]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-vertical-bar-button[data-v-50dc759b]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-vertical-bar-button[data-v-50dc759b]:hover{background:rgba(0,0,0,.05)}.vue-ui-vertical-bar-print-icon[data-v-50dc759b]{animation:smartspin-50dc759b .5s infinite linear}@keyframes smartspin-50dc759b{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-vertical-bar table[data-v-50dc759b]{width:100%;border-collapse:collapse}.vue-ui-vertical-bar table td[data-v-50dc759b]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-vertical-bar table th[data-v-50dc759b]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}
1
+ .vue-ui-xy *[data-v-c3b5e3f6]{transition:unset}.vue-ui-xy[data-v-c3b5e3f6]{position:relative;padding-top:36px}.vue-ui-xy-user-options[data-v-c3b5e3f6]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;-webkit-user-select:none;user-select:none;max-width:300px}.vue-ui-xy-user-options[open][data-v-c3b5e3f6]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-xy-user-options summary[data-v-c3b5e3f6]{text-align:right;direction:rtl}.vue-ui-xy-user-options-items[data-v-c3b5e3f6]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-xy-user-options-item[data-v-c3b5e3f6]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-xy-legend[data-v-c3b5e3f6]{align-items:center;column-gap:24px;display:flex;flex-wrap:wrap;justify-content:center;-webkit-user-select:none;user-select:none;width:100%}.vue-ui-xy-legend-item[data-v-c3b5e3f6]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;cursor:pointer}.vue-ui-xy-legend-item-segregated[data-v-c3b5e3f6]{opacity:.5}.vue-ui-xy-title[data-v-c3b5e3f6]{align-items:center;display:flex;flex-direction:column;justify-content:center;width:100%}.vue-ui-xy svg rect[data-v-c3b5e3f6]{transition:all .11s ease-in-out}.vue-ui-xy-tooltip[data-v-c3b5e3f6]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;z-index:1}.vue-ui-xy-table-wrapper[data-v-c3b5e3f6]{width:100%;max-height:300px;overflow:auto;margin-top:24px;position:relative}.vue-ui-xy-table-wrapper-printing[data-v-c3b5e3f6]{max-height:unset;height:fit-content}.vue-ui-xy-table[data-v-c3b5e3f6]{width:100%;border-collapse:collapse}.vue-ui-xy-table td[data-v-c3b5e3f6]{border:1px solid #e1e5e8;text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-xy-table thead[data-v-c3b5e3f6]{border:1px solid #e1e5e8;background:#fafafa;position:sticky;top:0;font-weight:400;outline:1px solid #e1e5e8;-webkit-user-select:none;user-select:none}.vue-ui-xy-table-tr-selected[data-v-c3b5e3f6]{background:#e1e5e8}.vue-ui-xy-button[data-v-c3b5e3f6]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-xy-button[data-v-c3b5e3f6]:hover{background:rgba(0,0,0,.05)}.vue-ui-xy-print-icon[data-v-c3b5e3f6]{animation:smartspin-c3b5e3f6 .5s infinite linear}@keyframes smartspin-c3b5e3f6{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-xy-range-slider[data-v-c3b5e3f6]{width:100%;margin-bottom:12px;display:flex;flex-direction:row}.vue-ui-xy-slider--left[data-v-c3b5e3f6],.vue-ui-xy-slider--right[data-v-c3b5e3f6]{width:100%;padding:0 12px;display:flex;flex-direction:column}.vue-ui-xy-slider--left input[data-v-c3b5e3f6],.vue-ui-xy-slider--right input[data-v-c3b5e3f6]{width:100%}.vue-ui-xy-slider--right[data-v-c3b5e3f6]{align-items:flex-end;margin-left:-10px}.vue-ui-xy-slider--left[data-v-c3b5e3f6]{align-items:flex-start;margin-right:-10px}.vue-ui-table-main[data-v-3abc2c64]{height:fit-content;padding:0 0 98px;position:relative}.vue-ui-table__wrapper[data-v-3abc2c64]{overflow-x:auto;padding:0 12px 48px;position:relative;width:calc(100% - 24px)}.vue-ui-table-main thead[data-v-3abc2c64]{position:sticky;top:0}.vue-ui-table[data-v-3abc2c64]{width:100%;position:relative}.vue-ui-table-main table[data-v-3abc2c64]{border-collapse:collapse}.vue-ui-table-main th[data-v-3abc2c64],.vue-ui-table-main td[data-v-3abc2c64]{padding:3px 8px}.vue-ui-table-main tr td[data-v-3abc2c64]{outline:1px solid white}.vue-ui-table-main .th-numeric[data-v-3abc2c64]{text-align:right;font-variant-numeric:tabular-nums}.vue-ui-table-main .th-filter[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;position:relative}.vue-ui-table-main button[data-v-3abc2c64]{align-items:center;cursor:pointer;display:flex;justify-content:center;width:32px}.vue-ui-table-main input[data-v-3abc2c64]{padding:0 6px;font-family:Satoshi}.vue-ui-table-main button[data-v-3abc2c64],.vue-ui-table-main input[data-v-3abc2c64]{border-radius:6px;height:32px}.vue-ui-table-main button[data-v-3abc2c64]{border:1px solid grey}.vue-ui-table-main button[data-v-3abc2c64]:hover,.vue-ui-table-main button[data-v-3abc2c64]:focus,.vue-ui-table-main input[data-v-3abc2c64]:hover,.vue-ui-table-main input[data-v-3abc2c64]:focus{outline:3px solid rgba(128,128,128,.432)}.vue-ui-table-main button.clicked[data-v-3abc2c64]{animation:clicked-3abc2c64 .15s ease-in-out}.vue-ui-table-main button[disabled][data-v-3abc2c64]{cursor:not-allowed}.vue-ui-table-main button[disabled][data-v-3abc2c64]:focus,.vue-ui-table-main button[disabled][data-v-3abc2c64]:hover{outline:none}button.th-reset[data-v-3abc2c64]:not(:disabled){background:radial-gradient(at top,#f19a71,#F17171);border:1px solid #F17171;color:#fff}.vue-ui-table-main button.th-reset[data-v-3abc2c64]:not(:disabled):hover,.vue-ui-table-main button.th-reset[data-v-3abc2c64]:not(:disabled):focus{outline:3px solid #f171717e}.vue-ui-table-main [data-is-open=false][data-v-3abc2c64]{transform:scale(0)}.vue-ui-table-main .th-dropdown[data-is-open=true][data-v-3abc2c64]{animation:open-dropdown-3abc2c64 .2s ease-in}.vue-ui-table-main .th-dropdown[data-is-open=false][data-v-3abc2c64]{animation:close-dropdown-3abc2c64 .2s ease-in}.vue-ui-table-main .th-dropdown[data-v-3abc2c64]{align-items:center;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #00000080;display:flex;flex-direction:column;justify-content:flex-start;left:0;max-width:300px;min-width:150px;padding:24px 12px 12px;position:absolute;top:calc(100% + 12px)}.vue-ui-table-main .th-option[data-v-3abc2c64]{border-radius:6px;cursor:pointer;padding:2px 6px;text-align:left;-webkit-user-select:none;user-select:none;width:100%;font-weight:400}.vue-ui-table-main .th-option[data-v-3abc2c64]:hover{background-color:#ffffff1a;box-shadow:0 3px 6px -3px #00000080;z-index:1}.vue-ui-table-main button.close-dropdown[data-v-3abc2c64],.vue-ui-table-main button.close-chart-modal[data-v-3abc2c64]{align-items:center;border-radius:50%;border:none;display:flex;height:20px;padding:2px;position:absolute;right:6px;top:6px;width:20px}.vue-ui-table-main button.close-dropdown[data-v-3abc2c64]:hover,.vue-ui-table-main button.close-dropdown[data-v-3abc2c64]:focus,.vue-ui-table-main button.close-chart-modal[data-v-3abc2c64]:hover,.vue-ui-table-main button.close-char-modal[data-v-3abc2c64]:focus{outline:3px solid #2d353c71}.vue-ui-table-main .th-button-active[data-v-3abc2c64]{background:radial-gradient(at top,#968bf1,#6376DD);color:#fff}.vue-ui-table-main .th-button-active[data-v-3abc2c64]:hover,.vue-ui-table-main .th-button-active[data-v-3abc2c64]:focus{outline:3px solid #6375dd7a}.vue-ui-table-main .th-date[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--inputs[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:column;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--button[data-v-3abc2c64]{display:flex;gap:3px}.vue-ui-table-main input[type=date][data-v-3abc2c64]{border-radius:4px;font-size:12px;font-variant-numeric:tabular-nums;height:20px!important;width:100px}.vue-ui-table-main .date-fieldset[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-fieldset label[data-v-3abc2c64]{font-size:12px;font-weight:400}@keyframes clicked-3abc2c64{0%{transform:scale(.9)}90%{transform:scale(1.03)}to{transform:scale(1)}}.vue-ui-table-main td.td-numeric[data-v-3abc2c64]{cursor:pointer}.vue-ui-table-main .td-selector-info[data-v-3abc2c64]{align-items:center;border-radius:0 0 6px 6px;bottom:76px;display:flex;font-size:14px;justify-content:flex-end;min-height:20px;padding:2px 4px 2px 2px;position:absolute;right:0;text-align:right;width:100%;z-index:1}.vue-ui-table-main button.td-selector-info-reset[data-v-3abc2c64]{background:transparent;border:none;color:#f17171;height:14px;margin-left:24px;padding:0;width:14px}.vue-ui-table-main button.td-selector-info-reset[data-v-3abc2c64]:hover,.vue-ui-table-main button.td-selector-info-reset[data-v-3abc2c64]:focus{outline:3px solid #f171717e}.vue-ui-table-main .format-num[data-v-3abc2c64]{font-variant-numeric:tabular-nums}.vue-ui-table-main .td-selector-icon[data-v-3abc2c64]{margin-bottom:-5px;margin-right:6px}.vue-ui-table-main .vue-ui-table-pagination[data-v-3abc2c64]{align-items:center;bottom:24px;display:flex;flex-direction:row;gap:12px;height:40px;justify-content:center;position:absolute;width:100%;z-index:1}.vue-ui-table-main button.vue-ui-table-navigation[data-v-3abc2c64]{height:36px;padding:1px;width:36px}.vue-ui-table-main .vue-ui-table-navigation-indicator[data-v-3abc2c64]{border-radius:6px;bottom:70px;height:6px;position:absolute;transition:all .1s ease-in-out}.vue-ui-table-main .vue-ui-table-page-scroller-wrapper[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:column;justify-content:center}.vue-ui-table-main input.vue-ui-table-page-scroller[data-v-3abc2c64]{cursor:pointer;height:24px;padding:0}.vue-ui-table-main .vue-ui-table-paginator[data-v-3abc2c64]{position:absolute;bottom:0;z-index:2;left:12px;display:flex;flex-direction:row;gap:6px;font-size:14px;justify-content:center;align-items:center;width:calc(100% - 24px)}.vue-ui-table-main .vue-ui-table-paginator select[data-v-3abc2c64]{border-radius:3px}.vue-ui-table-main .vue-ui-table-size-warning[data-v-3abc2c64]{align-items:center;bottom:-24px;color:#f17171;display:flex;flex-direction:row;flex-wrap:wrap;font-size:12px;gap:6px;justify-content:center;position:absolute;text-align:center;width:100%}.vue-ui-table-main th.vue-ui-table-col-selector[data-v-3abc2c64]{height:12px}.vue-ui-table-main .col-selector[data-v-3abc2c64]{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.vue-ui-table-main th.col-selector--selected[data-v-3abc2c64]{background:radial-gradient(at top left,#9586eb,#6376DD);color:#fff}.vue-ui-table-main th.col-selector--selected div[data-v-3abc2c64]{background:transparent;color:#fff}.vue-ui-table-main .vue-ui-table-chart-modal[data-v-3abc2c64]{align-items:center;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #0000004d;display:flex;flex-direction:column;justify-content:center;min-height:200px;min-width:300px;max-width:800px;overflow:hidden;padding:12px;position:fixed;resize:horizontal;-webkit-user-select:none;user-select:none;z-index:10000}.vue-ui-table-main .vue-ui-table-chart-svg[data-v-3abc2c64]{border-radius:6px;margin-bottom:12px;overflow:visible;padding:12px;width:calc(100% - 24px)}.vue-ui-table-main .vue-ui-table-donut-chart[data-v-3abc2c64]{border-radius:6px}.vue-ui-table-main td.vue-ui-table-td-iteration[data-v-3abc2c64]{font-size:12px;font-variant-numeric:tabular-nums;text-align:right;-webkit-user-select:none;user-select:none}.vue-ui-table-main .chart-trend[data-v-3abc2c64]{font-size:12px;padding-left:12px}.vue-ui-table-main .chart-modal-options[data-v-3abc2c64]{bottom:12px;display:flex;flex-direction:row;gap:8px;position:absolute;right:24px}.vue-ui-table-main .chart-modal-options button[data-v-3abc2c64]{height:24px;padding:3px;width:24px}.vue-ui-table-main .th-range-filter[data-v-3abc2c64]{display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column}.vue-ui-table-main .th-range-filter input[data-v-3abc2c64]{height:20px;width:60px;font-variant-numeric:tabular-nums;font-size:12px}.vue-ui-table-main .th-range-filter label[data-v-3abc2c64]{font-size:12px;font-weight:400;margin-bottom:-3px}.vue-ui-table-main .vue-ui-table-fieldset-wrapper[data-v-3abc2c64]{display:flex;flex-direction:row;flex-wrap:wrap;gap:24px;margin-bottom:12px}.vue-ui-table-main .vue-ui-table-fieldset[data-v-3abc2c64]{border-radius:6px;margin-bottom:24px;border:1px solid white}.vue-ui-table-main .vue-ui-table-fieldset legend[data-v-3abc2c64]{color:gray}.vue-ui-table-main .vue-ui-table-fieldset-option[data-v-3abc2c64]{display:flex;align-items:center}.vue-ui-table-main .vue-ui-table-fieldset-option input[data-v-3abc2c64]{height:14px;width:14px;border-radius:50%}.vue-ui-table-main button.vue-ui-table-generate-donut[data-v-3abc2c64]{align-items:center;display:flex;gap:3px;justify-content:center;margin:24px auto 12px;padding-left:12px;padding-right:12px;width:fit-content}.vue-ui-table-main button.vue-ui-table-generate-donut[disabled][data-v-3abc2c64]{opacity:.5}.vue-ui-table-main .vue-ui-table-donut-legend[data-v-3abc2c64]{align-items:center;column-gap:12px;display:flex;flex-wrap:wrap;font-size:12px;justify-content:center;margin:0 auto;max-width:400px;padding-bottom:36px}.vue-ui-table-main .vue-ui-table-donut-legend-item[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:row;gap:3px;justify-content:center}.vue-ui-table-main .vue-ui-table-donut-label[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:column;font-size:4px;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-table-main .vue-ui-table-donut-label-name[data-v-3abc2c64]{font-size:3px;line-height:3px}.vue-ui-table-main td[data-v-3abc2c64]:focus{outline:3px solid #202d7470}.vue-ui-table-main .vue-ui-table-export-hub[data-v-3abc2c64]{left:5px;position:absolute;top:0;z-index:1001}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-v-3abc2c64]{position:absolute;top:40px;left:0;padding:24px;border-radius:8px;border:1px solid white;box-shadow:0 6px 12px -6px #00000080;transform:scale(0);opacity:0}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=true][data-v-3abc2c64]{animation:open-dropdown-3abc2c64 .2s ease-in forwards}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=false][data-v-3abc2c64]{animation:close-dropdown-3abc2c64 .2s ease-in}.vue-ui-table-main .vue-ui-table-export-hub-options[data-v-3abc2c64]{margin-top:12px;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:center}.vue-ui-table-main .vue-ui-table-export-hub-options button[data-v-3abc2c64]{width:fit-content;display:flex;align-items:center;justify-content:center;gap:3px;min-width:130px}.vue-ui-table-main .vue-ui-table-export-hub-option-wrapper[data-v-3abc2c64]{align-items:center;display:flex;flex-direction:row;gap:12px;justify-content:flex-start}.vue-ui-table-main .vue-ui-table-export-hub-option-wrapper .label[data-v-3abc2c64]{font-size:12px;line-height:12px;margin-bottom:6px;width:100px}.vue-ui-table-main .td-nan[data-v-3abc2c64]{background:#F17171}.vue-ui-table-main .td-has-nan[data-v-3abc2c64],.vue-ui-table-main .th-has-nan[data-v-3abc2c64]{background:#F17171;min-width:100px;color:#fff}@keyframes open-dropdown-3abc2c64{0%{transform:scaleY(.9);opacity:0}50%{transform:scaleY(1.05);opacity:1}to{transform:scale(1);opacity:1}}@keyframes close-dropdown-3abc2c64{0%{transform:scale(1.05);opacity:1}to{transform:scale(0);opacity:0}}.vue-ui-donut *[data-v-795deb2e]{transition:unset}.vue-ui-donut[data-v-795deb2e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-donut .vue-ui-donut-label[data-v-795deb2e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-donut-legend[data-v-795deb2e]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-donut-legend-item[data-v-795deb2e]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-donut-tooltip[data-v-795deb2e]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-donut-user-options[data-v-795deb2e]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-donut-user-options[open][data-v-795deb2e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-donut summary[data-v-795deb2e]{text-align:right;direction:rtl}.vue-ui-donut-user-options-items[data-v-795deb2e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-donut-user-options-item[data-v-795deb2e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-donut-button[data-v-795deb2e]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-donut-button[data-v-795deb2e]:hover{background:rgba(0,0,0,.05)}.vue-ui-donut-print-icon[data-v-795deb2e]{animation:smartspin-795deb2e .5s infinite linear}@keyframes smartspin-795deb2e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-donut table[data-v-795deb2e]{width:100%;border-collapse:collapse}.vue-ui-donut table td[data-v-795deb2e]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-donut table th[data-v-795deb2e]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-waffle *[data-v-1d2a2a37]{transition:unset}.vue-ui-waffle[data-v-1d2a2a37]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-waffle .vue-ui-waffle-label[data-v-1d2a2a37]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-waffle-legend[data-v-1d2a2a37]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-waffle-legend-item[data-v-1d2a2a37]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-waffle-tooltip[data-v-1d2a2a37]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-waffle-user-options[data-v-1d2a2a37]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-waffle-user-options[open][data-v-1d2a2a37]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-waffle summary[data-v-1d2a2a37]{text-align:right;direction:rtl}.vue-ui-waffle-user-options-items[data-v-1d2a2a37]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-waffle-user-options-item[data-v-1d2a2a37]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-waffle-button[data-v-1d2a2a37]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-waffle-button[data-v-1d2a2a37]:hover{background:rgba(0,0,0,.05)}.vue-ui-waffle-print-icon[data-v-1d2a2a37]{animation:smartspin-1d2a2a37 .5s infinite linear}@keyframes smartspin-1d2a2a37{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-waffle table[data-v-1d2a2a37]{width:100%;border-collapse:collapse}.vue-ui-waffle table td[data-v-1d2a2a37]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-waffle table th[data-v-1d2a2a37]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-radar *[data-v-dbff0f7d]{transition:unset}.vue-ui-radar[data-v-dbff0f7d]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-radar .vue-ui-radar-label[data-v-dbff0f7d]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-radar-legend[data-v-dbff0f7d]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-radar-legend-item[data-v-dbff0f7d]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-radar-tooltip[data-v-dbff0f7d]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-radar-user-options[data-v-dbff0f7d]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-radar-user-options[open][data-v-dbff0f7d]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-radar summary[data-v-dbff0f7d]{text-align:right;direction:rtl}.vue-ui-radar-user-options-items[data-v-dbff0f7d]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-radar-user-options-item[data-v-dbff0f7d]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-radar-button[data-v-dbff0f7d]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-radar-button[data-v-dbff0f7d]:hover{background:rgba(0,0,0,.05)}.vue-ui-radar-print-icon[data-v-dbff0f7d]{animation:smartspin-dbff0f7d .5s infinite linear}@keyframes smartspin-dbff0f7d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-radar table[data-v-dbff0f7d]{width:100%;border-collapse:collapse}.vue-ui-radar table td[data-v-dbff0f7d]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-radar table th[data-v-dbff0f7d]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-quadrant *[data-v-c200bf52]{transition:unset}.vue-ui-quadrant[data-v-c200bf52]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-quadrant .vue-ui-quadrant-label[data-v-c200bf52]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-quadrant-legend[data-v-c200bf52]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-quadrant-legend-item[data-v-c200bf52]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-quadrant-tooltip[data-v-c200bf52]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-quadrant-user-options[data-v-c200bf52]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-quadrant-user-options[open][data-v-c200bf52]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-quadrant summary[data-v-c200bf52]{text-align:right;direction:rtl}.vue-ui-quadrant-user-options-items[data-v-c200bf52]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-quadrant-user-options-item[data-v-c200bf52]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-quadrant-button[data-v-c200bf52]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-quadrant-button[data-v-c200bf52]:hover{background:rgba(0,0,0,.05)}.vue-ui-quadrant-print-icon[data-v-c200bf52]{animation:smartspin-c200bf52 .5s infinite linear}@keyframes smartspin-c200bf52{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-quadrant table[data-v-c200bf52]{width:100%;border-collapse:collapse}.vue-ui-quadrant table td[data-v-c200bf52]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-quadrant table th[data-v-c200bf52]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-gauge *[data-v-77e98d1e]{transition:unset}.vue-ui-gauge[data-v-77e98d1e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-gauge .vue-ui-gauge-label[data-v-77e98d1e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-gauge-legend[data-v-77e98d1e]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-gauge-legend-item[data-v-77e98d1e]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-gauge-tooltip[data-v-77e98d1e]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-gauge-user-options[data-v-77e98d1e]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-gauge-user-options[open][data-v-77e98d1e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-gauge summary[data-v-77e98d1e]{text-align:right;direction:rtl}.vue-ui-gauge-user-options-items[data-v-77e98d1e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-gauge-user-options-item[data-v-77e98d1e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-gauge-button[data-v-77e98d1e]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-gauge-button[data-v-77e98d1e]:hover{background:rgba(0,0,0,.05)}.vue-ui-gauge-print-icon[data-v-77e98d1e]{animation:smartspin-77e98d1e .5s infinite linear}@keyframes smartspin-77e98d1e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut *[data-v-6650dd2d]{transition:unset}.vue-ui-chestnut[data-v-6650dd2d]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-chestnut .vue-ui-chestnut-label[data-v-6650dd2d]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-chestnut-legend[data-v-6650dd2d]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-chestnut-legend-item[data-v-6650dd2d]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-chestnut-tooltip[data-v-6650dd2d]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-chestnut-user-options[data-v-6650dd2d]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-chestnut-user-options[open][data-v-6650dd2d]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-chestnut summary[data-v-6650dd2d]{text-align:right;direction:rtl}.vue-ui-chestnut-user-options-items[data-v-6650dd2d]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-chestnut-user-options-item[data-v-6650dd2d]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-chestnut-button[data-v-6650dd2d]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-chestnut-button[data-v-6650dd2d]:hover{background:rgba(0,0,0,.05)}.vue-ui-chestnut-print-icon[data-v-6650dd2d]{animation:smartspin-6650dd2d .5s infinite linear}@keyframes smartspin-6650dd2d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut table[data-v-6650dd2d]{width:100%;border-collapse:collapse}.vue-ui-chestnut table td[data-v-6650dd2d]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-chestnut table th[data-v-6650dd2d]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-chestnut-animated[data-v-6650dd2d]{opacity:0;animation:chestnut-opacity-6650dd2d .2s ease-in-out forwards}@keyframes chestnut-opacity-6650dd2d{0%{transform:scaleX(.98);opacity:0}to{transform:scale(1);opacity:1}}.vue-ui-onion *[data-v-82c99d17]{transition:unset}.vue-ui-onion[data-v-82c99d17]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-onion .vue-ui-onion-label[data-v-82c99d17]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-onion-legend[data-v-82c99d17]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-onion-legend-item[data-v-82c99d17]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-onion-tooltip[data-v-82c99d17]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-onion-user-options[data-v-82c99d17]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-onion-user-options[open][data-v-82c99d17]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-onion summary[data-v-82c99d17]{text-align:right;direction:rtl}.vue-ui-onion-user-options-items[data-v-82c99d17]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-onion-user-options-item[data-v-82c99d17]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-onion-button[data-v-82c99d17]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-onion-button[data-v-82c99d17]:hover{background:rgba(0,0,0,.05)}.vue-ui-onion-print-icon[data-v-82c99d17]{animation:smartspin-82c99d17 .5s infinite linear}@keyframes smartspin-82c99d17{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-onion table[data-v-82c99d17]{width:100%;border-collapse:collapse}.vue-ui-onion table td[data-v-82c99d17]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-onion table th[data-v-82c99d17]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-vertical-bar *[data-v-4f22e798]{transition:unset}.vue-ui-vertical-bar[data-v-4f22e798]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-vertical-bar .vue-ui-vertical-bar-label[data-v-4f22e798]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-vertical-bar-legend[data-v-4f22e798]{height:100%;width:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:center;column-gap:18px}.vue-ui-vertical-bar-legend-item[data-v-4f22e798]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-vertical-bar-tooltip[data-v-4f22e798]{border:1px solid #e1e5e8;border-radius:4px;box-shadow:0 6px 12px -6px #0003;max-width:300px;position:fixed;padding:12px;z-index:1}.vue-ui-vertical-bar-user-options[data-v-4f22e798]{border-radius:4px;padding:6px 12px;position:absolute;right:0;top:0;max-width:300px;text-align:left}.vue-ui-vertical-bar-user-options[open][data-v-4f22e798]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-vertical-bar summary[data-v-4f22e798]{text-align:right;direction:rtl}.vue-ui-vertical-bar-user-options-items[data-v-4f22e798]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-vertical-bar-user-options-item[data-v-4f22e798]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-vertical-bar-button[data-v-4f22e798]{margin:6px 0;border-radius:3px;height:30px;border:1px solid #b9bfc4;background:inherit;display:flex;align-items:center;justify-content:center}.vue-ui-vertical-bar-button[data-v-4f22e798]:hover{background:rgba(0,0,0,.05)}.vue-ui-vertical-bar-print-icon[data-v-4f22e798]{animation:smartspin-4f22e798 .5s infinite linear}@keyframes smartspin-4f22e798{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-vertical-bar table[data-v-4f22e798]{width:100%;border-collapse:collapse}.vue-ui-vertical-bar table td[data-v-4f22e798]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-vertical-bar table th[data-v-4f22e798]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}
@@ -1,4 +1,4 @@
1
- import { g as u, b as s, f as V, h as U, e as r, d as t, a as n, i as o, c as f, v as d } from "./index-0f283c53.js";
1
+ import { g as u, b as s, f as V, h as U, e as r, d as t, a as n, i as o, c as f, v as d } from "./index-85aa050e.js";
2
2
  import "vue";
3
3
  export {
4
4
  u as VueUiChestnut,
@@ -355,7 +355,7 @@ end`};e.events.push(["putFont",function(A){(function(o){var s=o.font,l=o.out,c=o
355
355
  `),l.push(` </office:body>
356
356
  `),s.bookType=="fods"?l.push("</office:document>"):l.push("</office:document-content>"),l.join("")}}();function XB(t,e){if(e.bookType=="fods")return WB(t,e);var r=Ag(),n="",a=[],A=[];return n="mimetype",Qt(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",Qt(r,n,WB(t,e)),a.push([n,"text/xml"]),A.push([n,"ContentFile"]),n="styles.xml",Qt(r,n,hQ(t,e)),a.push([n,"text/xml"]),A.push([n,"StylesFile"]),n="meta.xml",Qt(r,n,jr+Xw()),a.push([n,"text/xml"]),A.push([n,"MetadataFile"]),n="manifest.rdf",Qt(r,n,C6(A)),a.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",Qt(r,n,x6(a)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function $h(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function fQ(t){return typeof TextEncoder<"u"?new TextEncoder().encode(t):Ka(XA(t))}function dQ(t,e){e:for(var r=0;r<=t.length-e.length;++r){for(var n=0;n<e.length;++n)if(t[r+n]!=e[n])continue e;return!0}return!1}function Qi(t){var e=t.reduce(function(a,A){return a+A.length},0),r=new Uint8Array(e),n=0;return t.forEach(function(a){r.set(a,n),n+=a.length}),r}function gQ(t,e,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);t[e+15]|=n>>7,t[e+14]|=(n&127)<<1;for(var A=0;a>=1;++A,a/=256)t[e+A]=a&255;t[e+15]|=r>=0?0:128}function oc(t,e){var r=e?e[0]:0,n=t[r]&127;e:if(t[r++]>=128&&(n|=(t[r]&127)<<7,t[r++]<128||(n|=(t[r]&127)<<14,t[r++]<128)||(n|=(t[r]&127)<<21,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,28),++r,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,35),++r,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,42),++r,t[r++]<128)))break e;return e&&(e[0]=r),n}function ar(t){var e=new Uint8Array(7);e[0]=t&127;var r=1;e:if(t>127){if(e[r-1]|=128,e[r]=t>>7&127,++r,t<=16383||(e[r-1]|=128,e[r]=t>>14&127,++r,t<=2097151)||(e[r-1]|=128,e[r]=t>>21&127,++r,t<=268435455)||(e[r-1]|=128,e[r]=t/256>>>21&127,++r,t<=34359738367)||(e[r-1]|=128,e[r]=t/65536>>>21&127,++r,t<=4398046511103))break e;e[r-1]|=128,e[r]=t/16777216>>>21&127,++r}return e.slice(0,r)}function Ss(t){var e=0,r=t[e]&127;e:if(t[e++]>=128){if(r|=(t[e]&127)<<7,t[e++]<128||(r|=(t[e]&127)<<14,t[e++]<128)||(r|=(t[e]&127)<<21,t[e++]<128))break e;r|=(t[e]&127)<<28}return r}function nn(t){for(var e=[],r=[0];r[0]<t.length;){var n=r[0],a=oc(t,r),A=a&7;a=Math.floor(a/8);var o=0,s;if(a==0)break;switch(A){case 0:{for(var l=r[0];t[r[0]++]>=128;);s=t.slice(l,r[0])}break;case 5:o=4,s=t.slice(r[0],r[0]+o),r[0]+=o;break;case 1:o=8,s=t.slice(r[0],r[0]+o),r[0]+=o;break;case 2:o=oc(t,r),s=t.slice(r[0],r[0]+o),r[0]+=o;break;case 3:case 4:default:throw new Error("PB Type ".concat(A," for Field ").concat(a," at offset ").concat(n))}var c={data:s,type:A};e[a]==null?e[a]=[c]:e[a].push(c)}return e}function Cn(t){var e=[];return t.forEach(function(r,n){r.forEach(function(a){a.data&&(e.push(ar(n*8+a.type)),a.type==2&&e.push(ar(a.data.length)),e.push(a.data))})}),Qi(e)}function Wa(t){for(var e,r=[],n=[0];n[0]<t.length;){var a=oc(t,n),A=nn(t.slice(n[0],n[0]+a));n[0]+=a;var o={id:Ss(A[1][0].data),messages:[]};A[2].forEach(function(s){var l=nn(s.data),c=Ss(l[3][0].data);o.messages.push({meta:l,data:t.slice(n[0],n[0]+c)}),n[0]+=c}),(e=A[3])!=null&&e[0]&&(o.merge=Ss(A[3][0].data)>>>0>0),r.push(o)}return r}function ks(t){var e=[];return t.forEach(function(r){var n=[];n[1]=[{data:ar(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:ar(+!!r.merge),type:0}]);var a=[];r.messages.forEach(function(o){a.push(o.data),o.meta[3]=[{type:0,data:ar(o.data.length)}],n[2].push({data:Cn(o.meta),type:2})});var A=Cn(n);e.push(ar(A.length)),e.push(A),a.forEach(function(o){return e.push(o)})}),Qi(e)}function pQ(t,e){if(t!=0)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var r=[0],n=oc(e,r),a=[];r[0]<e.length;){var A=e[r[0]]&3;if(A==0){var o=e[r[0]++]>>2;if(o<60)++o;else{var s=o-59;o=e[r[0]],s>1&&(o|=e[r[0]+1]<<8),s>2&&(o|=e[r[0]+2]<<16),s>3&&(o|=e[r[0]+3]<<24),o>>>=0,o++,r[0]+=s}a.push(e.slice(r[0],r[0]+o)),r[0]+=o;continue}else{var l=0,c=0;if(A==1?(c=(e[r[0]]>>2&7)+4,l=(e[r[0]++]&224)<<3,l|=e[r[0]++]):(c=(e[r[0]++]>>2)+1,A==2?(l=e[r[0]]|e[r[0]+1]<<8,r[0]+=2):(l=(e[r[0]]|e[r[0]+1]<<8|e[r[0]+2]<<16|e[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Qi(a)],l==0)throw new Error("Invalid offset 0");if(l>a[0].length)throw new Error("Invalid offset beyond length");if(c>=l)for(a.push(a[0].slice(-l)),c-=l;c>=a[a.length-1].length;)a.push(a[a.length-1]),c-=a[a.length-1].length;a.push(a[0].slice(-l,-l+c))}}var u=Qi(a);if(u.length!=n)throw new Error("Unexpected length: ".concat(u.length," != ").concat(n));return u}function Xa(t){for(var e=[],r=0;r<t.length;){var n=t[r++],a=t[r]|t[r+1]<<8|t[r+2]<<16;r+=3,e.push(pQ(n,t.slice(r,r+a))),r+=a}if(r!==t.length)throw new Error("data is not a valid framed stream!");return Qi(e)}function Ts(t){for(var e=[],r=0;r<t.length;){var n=Math.min(t.length-r,268435455),a=new Uint8Array(4);e.push(a);var A=ar(n),o=A.length;e.push(A),n<=60?(o++,e.push(new Uint8Array([n-1<<2]))):n<=256?(o+=2,e.push(new Uint8Array([240,n-1&255]))):n<=65536?(o+=3,e.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(o+=4,e.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(o+=5,e.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),e.push(t.slice(r,r+n)),o+=n,a[0]=0,a[1]=o&255,a[2]=o>>8&255,a[3]=o>>16&255,r+=n}return Qi(e)}function kg(t,e){var r=new Uint8Array(32),n=$h(r),a=12,A=0;switch(r[0]=5,t.t){case"n":r[1]=2,gQ(r,a,t.v),A|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,t.v?1:0,!0),A|=2,a+=8;break;case"s":if(e.indexOf(t.v)==-1)throw new Error("Value ".concat(t.v," missing from SST!"));r[1]=3,n.setUint32(a,e.indexOf(t.v),!0),A|=8,a+=4;break;default:throw"unsupported cell type "+t.t}return n.setUint32(8,A,!0),r.slice(0,a)}function Tg(t,e){var r=new Uint8Array(32),n=$h(r),a=12,A=0;switch(r[0]=3,t.t){case"n":r[2]=2,n.setFloat64(a,t.v,!0),A|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,t.v?1:0,!0),A|=32,a+=8;break;case"s":if(e.indexOf(t.v)==-1)throw new Error("Value ".concat(t.v," missing from SST!"));r[2]=3,n.setUint32(a,e.indexOf(t.v),!0),A|=16,a+=4;break;default:throw"unsupported cell type "+t.t}return n.setUint32(4,A,!0),r.slice(0,a)}function Oi(t){var e=nn(t);return oc(e[1][0].data)}function mQ(t,e,r){var n,a,A,o;if(!((n=t[6])!=null&&n[0])||!((a=t[7])!=null&&a[0]))throw"Mutation only works on post-BNC storages!";var s=((o=(A=t[8])==null?void 0:A[0])==null?void 0:o.data)&&Ss(t[8][0].data)>0||!1;if(s)throw"Math only works with normal offsets";for(var l=0,c=$h(t[7][0].data),u=0,p=[],h=$h(t[4][0].data),d=0,w=[],g=0;g<e.length;++g){if(e[g]==null){c.setUint16(g*2,65535,!0),h.setUint16(g*2,65535);continue}c.setUint16(g*2,u,!0),h.setUint16(g*2,d,!0);var v,m;switch(typeof e[g]){case"string":v=kg({t:"s",v:e[g]},r),m=Tg({t:"s",v:e[g]},r);break;case"number":v=kg({t:"n",v:e[g]},r),m=Tg({t:"n",v:e[g]},r);break;case"boolean":v=kg({t:"b",v:e[g]},r),m=Tg({t:"b",v:e[g]},r);break;default:throw new Error("Unsupported value "+e[g])}p.push(v),u+=v.length,w.push(m),d+=m.length,++l}for(t[2][0].data=ar(l);g<t[7][0].data.length/2;++g)c.setUint16(g*2,65535,!0),h.setUint16(g*2,65535,!0);return t[6][0].data=Qi(p),t[3][0].data=Qi(w),l}function vQ(t,e){if(!e||!e.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=t.Sheets[t.SheetNames[0]];t.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=pa(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(Wr(n)));var A=Kh(r,{range:n,header:1}),o=["~Sh33tJ5~"];A.forEach(function(F){return F.forEach(function(B){typeof B=="string"&&o.push(B)})});var s={},l=[],c=cr.read(e.numbers,{type:"base64"});c.FileIndex.map(function(F,B){return[F,c.FullPaths[B]]}).forEach(function(F){var B=F[0],C=F[1];if(B.type==2&&B.name.match(/\.iwa/)){var S=B.content,V=Xa(S),J=Wa(V);J.forEach(function(ce){l.push(ce.id),s[ce.id]={deps:[],location:C,type:Ss(ce.messages[0].meta[1][0].data)}})}}),l.sort(function(F,B){return F-B});var u=l.filter(function(F){return F>1}).map(function(F){return[F,ar(F)]});c.FileIndex.map(function(F,B){return[F,c.FullPaths[B]]}).forEach(function(F){var B=F[0];if(F[1],!!B.name.match(/\.iwa/)){var C=Wa(Xa(B.content));C.forEach(function(S){S.messages.forEach(function(V){u.forEach(function(J){S.messages.some(function(ce){return Ss(ce.meta[1][0].data)!=11006&&dQ(ce.data,J[1])})&&s[J[0]].deps.push(S.id)})})})}});for(var p=cr.find(c,s[1].location),h=Wa(Xa(p.content)),d,w=0;w<h.length;++w){var g=h[w];g.id==1&&(d=g)}var v=Oi(nn(d.messages[0].data)[1][0].data);for(p=cr.find(c,s[v].location),h=Wa(Xa(p.content)),w=0;w<h.length;++w)g=h[w],g.id==v&&(d=g);for(v=Oi(nn(d.messages[0].data)[2][0].data),p=cr.find(c,s[v].location),h=Wa(Xa(p.content)),w=0;w<h.length;++w)g=h[w],g.id==v&&(d=g);for(v=Oi(nn(d.messages[0].data)[2][0].data),p=cr.find(c,s[v].location),h=Wa(Xa(p.content)),w=0;w<h.length;++w)g=h[w],g.id==v&&(d=g);var m=nn(d.messages[0].data);{m[6][0].data=ar(n.e.r+1),m[7][0].data=ar(n.e.c+1);var _=Oi(m[46][0].data),N=cr.find(c,s[_].location),D=Wa(Xa(N.content));{for(var K=0;K<D.length&&D[K].id!=_;++K);if(D[K].id!=_)throw"Bad ColumnRowUIDMapArchive";var G=nn(D[K].messages[0].data);G[1]=[],G[2]=[],G[3]=[];for(var I=0;I<=n.e.c;++I){var U=[];U[1]=U[2]=[{type:0,data:ar(I+420690)}],G[1].push({type:2,data:Cn(U)}),G[2].push({type:0,data:ar(I)}),G[3].push({type:0,data:ar(I)})}G[4]=[],G[5]=[],G[6]=[];for(var O=0;O<=n.e.r;++O)U=[],U[1]=U[2]=[{type:0,data:ar(O+726270)}],G[4].push({type:2,data:Cn(U)}),G[5].push({type:0,data:ar(O)}),G[6].push({type:0,data:ar(O)});D[K].messages[0].data=Cn(G)}N.content=Ts(ks(D)),N.size=N.content.length,delete m[46];var X=nn(m[4][0].data);{X[7][0].data=ar(n.e.r+1);var T=nn(X[1][0].data),L=Oi(T[2][0].data);N=cr.find(c,s[L].location),D=Wa(Xa(N.content));{if(D[0].id!=L)throw"Bad HeaderStorageBucket";var z=nn(D[0].messages[0].data);for(O=0;O<A.length;++O){var q=nn(z[2][0].data);q[1][0].data=ar(O),q[4][0].data=ar(A[O].length),z[2][O]={type:z[2][0].type,data:Cn(q)}}D[0].messages[0].data=Cn(z)}N.content=Ts(ks(D)),N.size=N.content.length;var se=Oi(X[2][0].data);N=cr.find(c,s[se].location),D=Wa(Xa(N.content));{if(D[0].id!=se)throw"Bad HeaderStorageBucket";for(z=nn(D[0].messages[0].data),I=0;I<=n.e.c;++I)q=nn(z[2][0].data),q[1][0].data=ar(I),q[4][0].data=ar(n.e.r+1),z[2][I]={type:z[2][0].type,data:Cn(q)};D[0].messages[0].data=Cn(z)}N.content=Ts(ks(D)),N.size=N.content.length;var le=Oi(X[4][0].data);(function(){for(var F=cr.find(c,s[le].location),B=Wa(Xa(F.content)),C,S=0;S<B.length;++S){var V=B[S];V.id==le&&(C=V)}var J=nn(C.messages[0].data);{J[3]=[];var ce=[];o.forEach(function(ke,re){ce[1]=[{type:0,data:ar(re)}],ce[2]=[{type:0,data:ar(1)}],ce[3]=[{type:2,data:fQ(ke)}],J[3].push({type:2,data:Cn(ce)})})}C.messages[0].data=Cn(J);var Ce=ks(B),ue=Ts(Ce);F.content=ue,F.size=F.content.length})();var he=nn(X[3][0].data);{var de=he[1][0];delete he[2];var ge=nn(de.data);{var ye=Oi(ge[2][0].data);(function(){for(var F=cr.find(c,s[ye].location),B=Wa(Xa(F.content)),C,S=0;S<B.length;++S){var V=B[S];V.id==ye&&(C=V)}var J=nn(C.messages[0].data);{delete J[6],delete he[7];var ce=new Uint8Array(J[5][0].data);J[5]=[];for(var Ce=0,ue=0;ue<=n.e.r;++ue){var ke=nn(ce);Ce+=mQ(ke,A[ue],o),ke[1][0].data=ar(ue),J[5].push({data:Cn(ke),type:2})}J[1]=[{type:0,data:ar(n.e.c+1)}],J[2]=[{type:0,data:ar(n.e.r+1)}],J[3]=[{type:0,data:ar(Ce)}],J[4]=[{type:0,data:ar(n.e.r+1)}]}C.messages[0].data=Cn(J);var re=ks(B),Ee=Ts(re);F.content=Ee,F.size=F.content.length})()}de.data=Cn(ge)}X[3][0].data=Cn(he)}m[4][0].data=Cn(X)}d.messages[0].data=Cn(m);var Ue=ks(h),b=Ts(Ue);return p.content=b,p.size=p.content.length,c}function yQ(t){return function(r){for(var n=0;n!=t.length;++n){var a=t[n];r[a[0]]===void 0&&(r[a[0]]=a[1]),a[2]==="n"&&(r[a[0]]=Number(r[a[0]]))}}}function Ng(t){yQ([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(t)}function wQ(t,e){return e.bookType=="ods"?XB(t,e):e.bookType=="numbers"?vQ(t,e):e.bookType=="xlsb"?BQ(t,e):xQ(t,e)}function BQ(t,e){Fs=1024,t&&!t.SSF&&(t.SSF=ra(kr)),t&&t.SSF&&(Eh(),Ch(t.SSF),e.revssf=Fh(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,Ac?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r=e.bookType=="xlsb"?"bin":"xml",n=FB.indexOf(e.bookType)>-1,a=Kw();Ng(e=e||{});var A=Ag(),o="",s=0;if(e.cellXfs=[],Di(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),o="docProps/core.xml",Qt(A,o,qw(t.Props,e)),a.coreprops.push(o),nr(e.rels,2,o,Xt.CORE_PROPS),o="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(!t.Workbook||!t.Workbook.Sheets)t.Props.SheetNames=t.SheetNames;else{for(var l=[],c=0;c<t.SheetNames.length;++c)(t.Workbook.Sheets[c]||{}).Hidden!=2&&l.push(t.SheetNames[c]);t.Props.SheetNames=l}for(t.Props.Worksheets=t.Props.SheetNames.length,Qt(A,o,Jw(t.Props)),a.extprops.push(o),nr(e.rels,3,o,Xt.EXT_PROPS),t.Custprops!==t.Props&&wn(t.Custprops||{}).length>0&&(o="docProps/custom.xml",Qt(A,o,Zw(t.Custprops)),a.custprops.push(o),nr(e.rels,4,o,Xt.CUST_PROPS)),s=1;s<=t.SheetNames.length;++s){var u={"!id":{}},p=t.Sheets[t.SheetNames[s-1]],h=(p||{})["!type"]||"sheet";switch(h){case"chart":default:o="xl/worksheets/sheet"+s+"."+r,Qt(A,o,CD(s-1,o,e,t,u)),a.sheets.push(o),nr(e.wbrels,-1,"worksheets/sheet"+s+"."+r,Xt.WS[0])}if(p){var d=p["!comments"],w=!1,g="";d&&d.length>0&&(g="xl/comments"+s+"."+r,Qt(A,g,_D(d,g)),a.comments.push(g),nr(u,-1,"../comments"+s+"."+r,Xt.CMNT),w=!0),p["!legacy"]&&w&&Qt(A,"xl/drawings/vmlDrawing"+s+".vml",CB(s,p["!comments"])),delete p["!comments"],delete p["!legacy"]}u["!id"].rId1&&Qt(A,jw(o),Cs(u))}return e.Strings!=null&&e.Strings.length>0&&(o="xl/sharedStrings."+r,Qt(A,o,FD(e.Strings,o,e)),a.strs.push(o),nr(e.wbrels,-1,"sharedStrings."+r,Xt.SST)),o="xl/workbook."+r,Qt(A,o,bD(t,o)),a.workbooks.push(o),nr(e.rels,1,o,Xt.WB),o="xl/theme/theme1.xml",Qt(A,o,xB(t.Themes,e)),a.themes.push(o),nr(e.wbrels,-1,"theme/theme1.xml",Xt.THEME),o="xl/styles."+r,Qt(A,o,ED(t,o,e)),a.styles.push(o),nr(e.wbrels,-1,"styles."+r,Xt.STY),t.vbaraw&&n&&(o="xl/vbaProject.bin",Qt(A,o,t.vbaraw),a.vba.push(o),nr(e.wbrels,-1,"vbaProject.bin",Xt.VBA)),o="xl/metadata."+r,Qt(A,o,SD(o)),a.metadata.push(o),nr(e.wbrels,-1,"metadata."+r,Xt.XLMETA),Qt(A,"[Content_Types].xml",Gw(a,e)),Qt(A,"_rels/.rels",Cs(e.rels)),Qt(A,"xl/_rels/workbook."+r+".rels",Cs(e.wbrels)),delete e.revssf,delete e.ssf,A}function xQ(t,e){Fs=1024,t&&!t.SSF&&(t.SSF=ra(kr)),t&&t.SSF&&(Eh(),Ch(t.SSF),e.revssf=Fh(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,Ac?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r="xml",n=FB.indexOf(e.bookType)>-1,a=Kw();Ng(e=e||{});var A=Ag(),o="",s=0;if(e.cellXfs=[],Di(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),o="docProps/core.xml",Qt(A,o,qw(t.Props,e)),a.coreprops.push(o),nr(e.rels,2,o,Xt.CORE_PROPS),o="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(!t.Workbook||!t.Workbook.Sheets)t.Props.SheetNames=t.SheetNames;else{for(var l=[],c=0;c<t.SheetNames.length;++c)(t.Workbook.Sheets[c]||{}).Hidden!=2&&l.push(t.SheetNames[c]);t.Props.SheetNames=l}t.Props.Worksheets=t.Props.SheetNames.length,Qt(A,o,Jw(t.Props)),a.extprops.push(o),nr(e.rels,3,o,Xt.EXT_PROPS),t.Custprops!==t.Props&&wn(t.Custprops||{}).length>0&&(o="docProps/custom.xml",Qt(A,o,Zw(t.Custprops)),a.custprops.push(o),nr(e.rels,4,o,Xt.CUST_PROPS));var u=["SheetJ5"];for(e.tcid=0,s=1;s<=t.SheetNames.length;++s){var p={"!id":{}},h=t.Sheets[t.SheetNames[s-1]],d=(h||{})["!type"]||"sheet";switch(d){case"chart":default:o="xl/worksheets/sheet"+s+"."+r,Qt(A,o,PB(s-1,e,t,p)),a.sheets.push(o),nr(e.wbrels,-1,"worksheets/sheet"+s+"."+r,Xt.WS[0])}if(h){var w=h["!comments"],g=!1,v="";if(w&&w.length>0){var m=!1;w.forEach(function(_){_[1].forEach(function(N){N.T==!0&&(m=!0)})}),m&&(v="xl/threadedComments/threadedComment"+s+"."+r,Qt(A,v,ZL(w,u,e)),a.threadedcomments.push(v),nr(p,-1,"../threadedComments/threadedComment"+s+"."+r,Xt.TCMNT)),v="xl/comments"+s+"."+r,Qt(A,v,EB(w)),a.comments.push(v),nr(p,-1,"../comments"+s+"."+r,Xt.CMNT),g=!0}h["!legacy"]&&g&&Qt(A,"xl/drawings/vmlDrawing"+s+".vml",CB(s,h["!comments"])),delete h["!comments"],delete h["!legacy"]}p["!id"].rId1&&Qt(A,jw(o),Cs(p))}return e.Strings!=null&&e.Strings.length>0&&(o="xl/sharedStrings."+r,Qt(A,o,dB(e.Strings,e)),a.strs.push(o),nr(e.wbrels,-1,"sharedStrings."+r,Xt.SST)),o="xl/workbook."+r,Qt(A,o,HB(t)),a.workbooks.push(o),nr(e.rels,1,o,Xt.WB),o="xl/theme/theme1.xml",Qt(A,o,xB(t.Themes,e)),a.themes.push(o),nr(e.wbrels,-1,"theme/theme1.xml",Xt.THEME),o="xl/styles."+r,Qt(A,o,yB(t,e)),a.styles.push(o),nr(e.wbrels,-1,"styles."+r,Xt.STY),t.vbaraw&&n&&(o="xl/vbaProject.bin",Qt(A,o,t.vbaraw),a.vba.push(o),nr(e.wbrels,-1,"vbaProject.bin",Xt.VBA)),o="xl/metadata."+r,Qt(A,o,bB()),a.metadata.push(o),nr(e.wbrels,-1,"metadata."+r,Xt.XLMETA),u.length>1&&(o="xl/persons/person.xml",Qt(A,o,e8(u)),a.people.push(o),nr(e.wbrels,-1,"persons/person.xml",Xt.PEOPLE)),Qt(A,"[Content_Types].xml",Gw(a,e)),Qt(A,"_rels/.rels",Cs(e.rels)),Qt(A,"xl/_rels/workbook."+r+".rels",Cs(e.wbrels)),delete e.revssf,delete e.ssf,A}function bQ(t,e){var r="";switch((e||{}).type||"base64"){case"buffer":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];case"base64":r=KA(t.slice(0,12));break;case"binary":r=t;break;case"array":return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7]];default:throw new Error("Unrecognized type "+(e&&e.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function qB(t,e){switch(e.type){case"base64":case"binary":break;case"buffer":case"array":e.type="";break;case"file":return jl(e.file,cr.write(t,{type:Yt?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+e.bookType+"' files");default:throw new Error("Unrecognized type "+e.type)}return cr.write(t,e)}function CQ(t,e){var r=ra(e||{}),n=wQ(t,r);return EQ(n,r)}function EQ(t,e){var r={},n=Yt?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(e.compression&&(r.compression="DEFLATE"),e.password)r.type=n;else switch(e.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+e.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+e.type)}var a=t.FullPaths?cr.write(t,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!e.compression}):t.generate(r);if(typeof Deno<"u"&&typeof a=="string"){if(e.type=="binary"||e.type=="base64")return a;a=new Uint8Array(vh(a))}return e.password&&typeof encrypt_agile<"u"?qB(encrypt_agile(a,e.password),e):e.type==="file"?jl(e.file,a):e.type=="string"?Xl(a):a}function FQ(t,e){var r=e||{},n=VD(t,r);return qB(n,r)}function EA(t,e,r){r||(r="");var n=r+t;switch(e.type){case"base64":return zl(XA(n));case"binary":return XA(n);case"string":return t;case"file":return jl(e.file,n,"utf8");case"buffer":return Yt?GA(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):EA(n,{type:"binary"}).split("").map(function(a){return a.charCodeAt(0)})}throw new Error("Unrecognized type "+e.type)}function _Q(t,e){switch(e.type){case"base64":return zl(t);case"binary":return t;case"string":return t;case"file":return jl(e.file,t,"binary");case"buffer":return Yt?GA(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+e.type)}function zh(t,e){switch(e.type){case"string":case"base64":case"binary":for(var r="",n=0;n<t.length;++n)r+=String.fromCharCode(t[n]);return e.type=="base64"?zl(r):e.type=="string"?Xl(r):r;case"file":return jl(e.file,t);case"buffer":return t;default:throw new Error("Unrecognized type "+e.type)}}function YB(t,e){eN(),hD(t);var r=ra(e||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=YB(t,r);return r.type="array",vh(n)}var a=0;if(r.sheet&&(typeof r.sheet=="number"?a=r.sheet:a=t.SheetNames.indexOf(r.sheet),!t.SheetNames[a]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return EA(RD(t,r),r);case"slk":case"sylk":return EA(lL.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"htm":case"html":return EA(zB(t.Sheets[t.SheetNames[a]],r),r);case"txt":return _Q(ZB(t.Sheets[t.SheetNames[a]],r),r);case"csv":return EA(Lg(t.Sheets[t.SheetNames[a]],r),r,"\uFEFF");case"dif":return EA(cL.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"dbf":return zh(sL.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"prn":return EA(uL.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"rtf":return EA(vL.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"eth":return EA(hB.from_sheet(t.Sheets[t.SheetNames[a]],r),r);case"fods":return EA(XB(t,r),r);case"wk1":return zh(fB.sheet_to_wk1(t.Sheets[t.SheetNames[a]],r),r);case"wk3":return zh(fB.book_to_wk3(t,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),zh($B(t,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),FQ(t,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return CQ(t,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function SQ(t,e,r,n,a,A,o,s){var l=xn(r),c=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),p=!0,h=a===1?[]:{};if(a!==1)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:r,enumerable:!1})}catch{h.__rowNum__=r}else h.__rowNum__=r;if(!o||t[r])for(var d=e.s.c;d<=e.e.c;++d){var w=o?t[r][d]:t[n[d]+l];if(w===void 0||w.t===void 0){if(c===void 0)continue;A[d]!=null&&(h[A[d]]=c);continue}var g=w.v;switch(w.t){case"z":if(g==null)break;continue;case"e":g=g==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+w.t)}if(A[d]!=null){if(g==null)if(w.t=="e"&&g===null)h[A[d]]=null;else if(c!==void 0)h[A[d]]=c;else if(u&&g===null)h[A[d]]=null;else continue;else h[A[d]]=u&&(w.t!=="n"||w.t==="n"&&s.rawNumbers!==!1)?g:qA(w,g,s);g!=null&&(p=!1)}}return{row:h,isempty:p}}function Kh(t,e){if(t==null||t["!ref"]==null)return[];var r={t:"n",v:0},n=0,a=1,A=[],o=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=e||{},u=c.range!=null?c.range:t["!ref"];switch(c.header===1?n=1:c.header==="A"?n=2:Array.isArray(c.header)?n=3:c.header==null&&(n=0),typeof u){case"string":l=Br(u);break;case"number":l=Br(t["!ref"]),l.s.r=u;break;default:l=u}n>0&&(a=0);var p=xn(l.s.r),h=[],d=[],w=0,g=0,v=Array.isArray(t),m=l.s.r,_=0,N={};v&&!t[m]&&(t[m]=[]);var D=c.skipHidden&&t["!cols"]||[],K=c.skipHidden&&t["!rows"]||[];for(_=l.s.c;_<=l.e.c;++_)if(!(D[_]||{}).hidden)switch(h[_]=Dn(_),r=v?t[m][_]:t[h[_]+p],n){case 1:A[_]=_-l.s.c;break;case 2:A[_]=h[_];break;case 3:A[_]=c.header[_-l.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),s=o=qA(r,null,c),g=N[o]||0,!g)N[o]=1;else{do s=o+"_"+g++;while(N[s]);N[o]=g,N[s]=1}A[_]=s}for(m=l.s.r+a;m<=l.e.r;++m)if(!(K[m]||{}).hidden){var G=SQ(t,l,m,h,n,A,v,c);(G.isempty===!1||(n===1?c.blankrows!==!1:c.blankrows))&&(d[w++]=G.row)}return d.length=w,d}var JB=/"/g;function kQ(t,e,r,n,a,A,o,s){for(var l=!0,c=[],u="",p=xn(r),h=e.s.c;h<=e.e.c;++h)if(n[h]){var d=s.dense?(t[r]||[])[h]:t[n[h]+p];if(d==null)u="";else if(d.v!=null){l=!1,u=""+(s.rawNumbers&&d.t=="n"?d.v:qA(d,null,s));for(var w=0,g=0;w!==u.length;++w)if((g=u.charCodeAt(w))===a||g===A||g===34||s.forceQuotes){u='"'+u.replace(JB,'""')+'"';break}u=="ID"&&(u='"ID"')}else d.f!=null&&!d.F?(l=!1,u="="+d.f,u.indexOf(",")>=0&&(u='"'+u.replace(JB,'""')+'"')):u="";c.push(u)}return s.blankrows===!1&&l?null:c.join(o)}function Lg(t,e){var r=[],n=e??{};if(t==null||t["!ref"]==null)return"";var a=Br(t["!ref"]),A=n.FS!==void 0?n.FS:",",o=A.charCodeAt(0),s=n.RS!==void 0?n.RS:`
357
357
  `,l=s.charCodeAt(0),c=new RegExp((A=="|"?"\\|":A)+"+$"),u="",p=[];n.dense=Array.isArray(t);for(var h=n.skipHidden&&t["!cols"]||[],d=n.skipHidden&&t["!rows"]||[],w=a.s.c;w<=a.e.c;++w)(h[w]||{}).hidden||(p[w]=Dn(w));for(var g=0,v=a.s.r;v<=a.e.r;++v)(d[v]||{}).hidden||(u=kQ(t,a,v,p,o,l,A,n),u!=null&&(n.strip&&(u=u.replace(c,"")),(u||n.blankrows!==!1)&&r.push((g++?s:"")+u)));return delete n.dense,r.join("")}function ZB(t,e){e||(e={}),e.FS=" ",e.RS=`
358
- `;var r=Lg(t,e);return r}function TQ(t){var e="",r,n="";if(t==null||t["!ref"]==null)return[];var a=Br(t["!ref"]),A="",o=[],s,l=[],c=Array.isArray(t);for(s=a.s.c;s<=a.e.c;++s)o[s]=Dn(s);for(var u=a.s.r;u<=a.e.r;++u)for(A=xn(u),s=a.s.c;s<=a.e.c;++s)if(e=o[s]+A,r=c?(t[u]||[])[s]:t[e],n="",r!==void 0){if(r.F!=null){if(e=r.F,!r.f)continue;n=r.f,e.indexOf(":")==-1&&(e=e+":"+e)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}l[l.length]=e+"="+n}return l}function ex(t,e,r){var n=r||{},a=+!n.skipHeader,A=t||{},o=0,s=0;if(A&&n.origin!=null)if(typeof n.origin=="number")o=n.origin;else{var l=typeof n.origin=="string"?un(n.origin):n.origin;o=l.r,s=l.c}var c,u={s:{c:0,r:0},e:{c:s,r:o+e.length-1+a}};if(A["!ref"]){var p=Br(A["!ref"]);u.e.c=Math.max(u.e.c,p.e.c),u.e.r=Math.max(u.e.r,p.e.r),o==-1&&(o=p.e.r+1,u.e.r=o+e.length-1+a)}else o==-1&&(o=0,u.e.r=e.length-1+a);var h=n.header||[],d=0;e.forEach(function(g,v){wn(g).forEach(function(m){(d=h.indexOf(m))==-1&&(h[d=h.length]=m);var _=g[m],N="z",D="",K=rr({c:s+d,r:o+v+a});c=sc(A,K),_&&typeof _=="object"&&!(_ instanceof Date)?A[K]=_:(typeof _=="number"?N="n":typeof _=="boolean"?N="b":typeof _=="string"?N="s":_ instanceof Date?(N="d",n.cellDates||(N="n",_=ta(_)),D=n.dateNF||kr[14]):_===null&&n.nullError&&(N="e",_=0),c?(c.t=N,c.v=_,delete c.w,delete c.R,D&&(c.z=D)):A[K]=c={t:N,v:_},D&&(c.z=D))})}),u.e.c=Math.max(u.e.c,s+h.length-1);var w=xn(o);if(a)for(d=0;d<h.length;++d)A[Dn(d+s)+w]={t:"s",v:h[d]};return A["!ref"]=Wr(u),A}function NQ(t,e){return ex(null,t,e)}function sc(t,e,r){if(typeof e=="string"){if(Array.isArray(t)){var n=un(e);return t[n.r]||(t[n.r]=[]),t[n.r][n.c]||(t[n.r][n.c]={t:"z"})}return t[e]||(t[e]={t:"z"})}return typeof e!="number"?sc(t,rr(e)):sc(t,rr({r:e,c:r||0}))}function LQ(t,e){if(typeof e=="number"){if(e>=0&&t.SheetNames.length>e)return e;throw new Error("Cannot find sheet # "+e)}else if(typeof e=="string"){var r=t.SheetNames.indexOf(e);if(r>-1)return r;throw new Error("Cannot find sheet name |"+e+"|")}else throw new Error("Cannot find sheet |"+e+"|")}function UQ(){return{SheetNames:[],Sheets:{}}}function IQ(t,e,r,n){var a=1;if(!r)for(;a<=65535&&t.SheetNames.indexOf(r="Sheet"+a)!=-1;++a,r=void 0);if(!r||t.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&t.SheetNames.indexOf(r)>=0){var A=r.match(/(^.*?)(\d+)$/);a=A&&+A[2]||0;var o=A&&A[1]||r;for(++a;a<=65535&&t.SheetNames.indexOf(r=o+a)!=-1;++a);}if(RB(r),t.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return t.SheetNames.push(r),t.Sheets[r]=e,r}function DQ(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=LQ(t,e);switch(t.Workbook.Sheets[n]||(t.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}t.Workbook.Sheets[n].Hidden=r}function QQ(t,e){return t.z=e,t}function tx(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}function OQ(t,e,r){return tx(t,"#"+e,r)}function PQ(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})}function MQ(t,e,r,n){for(var a=typeof e!="string"?e:Br(e),A=typeof e=="string"?e:Wr(e),o=a.s.r;o<=a.e.r;++o)for(var s=a.s.c;s<=a.e.c;++s){var l=sc(t,o,s);l.t="n",l.F=A,delete l.v,o==a.s.r&&s==a.s.c&&(l.f=r,n&&(l.D=!0))}return t}var Ug={encode_col:Dn,encode_row:xn,encode_cell:rr,encode_range:Wr,decode_col:dg,decode_row:fg,split_cell:t6,decode_cell:un,decode_range:pa,format_cell:qA,sheet_add_aoa:Ow,sheet_add_json:ex,sheet_add_dom:KB,aoa_to_sheet:Bs,json_to_sheet:NQ,table_to_sheet:GB,table_to_book:cQ,sheet_to_csv:Lg,sheet_to_txt:ZB,sheet_to_json:Kh,sheet_to_html:zB,sheet_to_formulae:TQ,sheet_to_row_object_array:Kh,sheet_get_cell:sc,book_new:UQ,book_append_sheet:IQ,book_set_sheet_visibility:DQ,cell_set_number_format:QQ,cell_set_hyperlink:tx,cell_set_internal_link:OQ,cell_add_comment:PQ,sheet_set_array_formula:MQ,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function Gh(t,e,r,n,a){let{series:A}=t;if(!A||t.base===0)return{...A,proportion:0,ratio:0,path:"",startX:0,startY:0,endX:0,center:{}};const o=[...A].map(c=>c.value).reduce((c,u)=>c+u,0),s=[];let l=0;for(let c=0;c<A.length;c+=1){let u=A[c].value/o;const p=u*(Math.PI*1.9999),d=A[c].value/2/o*(Math.PI*2),{startX:w,startY:g,endX:v,endY:m,path:_}=nx([e,r],[n,a],[l,p],110);s.push({cx:e,cy:r,...A[c],proportion:u,ratio:p,path:_,startX:w,startY:g,endX:v,endY:m,center:nx([e,r],[n*1.45,a*1.45],[l,d],110)}),l+=p}return s}function jh([t,e],[r,n]){return[t+r,e+n]}function Wh([[t,e],[r,n]],[a,A]){return[t*a+e*A,r*a+n*A]}function rx(t){return[[Math.cos(t),-Math.sin(t)],[Math.sin(t),Math.cos(t)]]}function nx([t,e],[r,n],[a,A],o){A=A%(2*Math.PI);const s=rx(o),[l,c]=jh(Wh(s,[r*Math.cos(a),n*Math.sin(a)]),[t,e]),[u,p]=jh(Wh(s,[r*Math.cos(a+A),n*Math.sin(a+A)]),[t,e]),h=A>Math.PI?1:0,d=A>0?1:0;return{startX:l,startY:c,endX:u,endY:p,path:`M${l} ${c} A ${[r,n,o/(2*Math.PI)*360,h,d,u,p].join(" ")}`}}function qa({defaultConfig:t,userConfig:e}){const r={...t};return Object.keys(r).forEach(n=>{if(Object.hasOwn(e,n)){const a=e[n];typeof a=="boolean"?r[n]=a:["string","number"].includes(typeof a)?VQ(a)&&(r[n]=a):Array.isArray(r[n])?RQ({userConfig:e,key:n})&&(r[n]=a):HQ({userConfig:e,key:n})&&(r[n]=qa({defaultConfig:r[n],userConfig:a}))}}),r}function RQ({userConfig:t,key:e}){return Object.hasOwn(t,e)&&Array.isArray(t[e])&&t[e].length>=0}function HQ({userConfig:t,key:e}){return Object.hasOwn(t,e)&&!Array.isArray(t[e])&&typeof t[e]=="object"}function VQ(t){return![null,void 0,NaN,1/0,-1/0].includes(t)}function $Q(t){return![void 0,NaN,1/0,-1/0].includes(t)}function zQ(t,e=0){return isNaN(t)?e:t}const Ut=["#3366cc","#dc3912","#ff9900","#109618","#990099","#0099c6","#dd4477","#66aa00","#b82e2e","#316395","#994499","#22aa99","#aaaa11","#6633cc","#e67300","#8b0707","#651067","#329262","#5574a6","#3b3eac","#b77322","#16d620","#b91383","#f4359e","#9c5935","#a9c413","#2a778d","#668d1c","#bea413","#0c5922","#743411"],Ar=["00","03","05","08","0A","0D","0F","12","14","17","1A","1C","1F","21","24","26","29","2B","2E","30","33","36","38","3B","3D","40","42","45","47","4A","4D","4F","52","54","57","59","5C","5E","61","63","66","69","6B","6E","70","73","75","78","7A","7D","80","82","85","87","8A","8C","8F","91","94","96","99","9C","9E","A1","A3","A6","A8","AB","AD","B0","B3","B5","B8","BA","BD","BF","C2","C4","C7","C9","CC","CF","D1","D4","D6","D9","DB","DE","E0","E3","E6","E8","EB","ED","F0","F2","F5","F7","FA","FC","FF"];function Nr(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,r=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*[\d.]+)?\)$/i,n=/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*[\d.]+)?\)$/i;if([void 0,null,NaN].includes(t))return null;if(t==="transparent")return"#FFFFFF00";let a;if(a=t.match(e)){const[,A,o,s]=a;return`#${A}${o}${s}`}else if(a=t.match(r)){const[,A,o,s]=a;return`#${Ns(A)}${Ns(o)}${Ns(s)}`}else if(a=t.match(n)){const[,A,o,s]=a,l=KQ(Number(A),Number(o),Number(s));return`#${Ns(l[0])}${Ns(l[1])}${Ns(l[2])}`}return null}function Ns(t){const e=Number(t).toString(16);return e.length===1?"0"+e:e}function KQ(t,e,r){t/=360,e/=100,r/=100;let n,a,A;if(e===0)n=a=A=r;else{const o=(c,u,p)=>(p<0&&(p+=1),p>1&&(p-=1),p<.16666666666666666?c+(u-c)*6*p:p<.5?u:p<.6666666666666666?c+(u-c)*(.6666666666666666-p)*6:c),s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;n=o(l,s,t+1/3),a=o(l,s,t),A=o(l,s,t-1/3)}return[Math.round(n*255),Math.round(a*255),Math.round(A*255)]}function Fo(t,e){const r=c=>({r:parseInt(c.substring(1,3),16),g:parseInt(c.substring(3,5),16),b:parseInt(c.substring(5,7),16)}),n=({r:c,g:u,b:p})=>{c/=255,u/=255,p/=255;const h=Math.max(c,u,p),d=Math.min(c,u,p);let w,g,v=(h+d)/2;if(h===d)w=g=0;else{const m=h-d;switch(g=v>.5?m/(2-h-d):m/(h+d),h){case c:w=(u-p)/m+(u<p?6:0);break;case u:w=(p-c)/m+2;break;case p:w=(c-u)/m+4;break}w/=6}return{h:w,s:g,l:v}},a=({h:c,s:u,l:p})=>{let h,d,w;if(u===0)h=d=w=p;else{const g=(_,N,D)=>(D<0&&(D+=1),D>1&&(D-=1),D<.16666666666666666?_+(N-_)*6*D:D<.5?N:D<.6666666666666666?_+(N-_)*(.6666666666666666-D)*6:_),v=p<.5?p*(1+u):p+u-p*u,m=2*p-v;h=g(m,v,c+.3333333333333333),d=g(m,v,c),w=g(m,v,c-.3333333333333333)}return{r:Math.round(h*255),g:Math.round(d*255),b:Math.round(w*255)}},A=r(t),o=n(A);o.h+=e,o.h=(o.h+1)%1;const s=a(o);return`#${(s.r<<16|s.g<<8|s.b).toString(16).padStart(6,"0")}`}function GQ({centerX:t,centerY:e,outerPoints:r,radius:n,rotation:a}){const A=Math.PI/r,o=a;let s="";const l=[];for(let c=0;c<r*2;c+=1){let u=t+Math.cos(c*A+o)*n,p=e+Math.sin(c*A+o)*n;s+=`${u},${p} `,l.push({x:u,y:p})}return{path:`M${s}Z`,coordinates:l}}function _o({plot:t,radius:e,sides:r,rotation:n=0}){const a=t.x,A=t.y,o=r/2;return GQ({centerX:a,centerY:A,outerPoints:o,radius:e+1,rotation:n})}function jQ({centerX:t,centerY:e,innerCirclePoints:r,innerRadius:n,outerRadius:a}){const A=Math.PI/r,o=60,s=r*2;let l="";for(let c=0;c<s;c+=1){let p=c%2==0?a:n,h=t+Math.cos(c*A+o)*p,d=e+Math.sin(c*A+o)*p;l+=`${h},${d} `}return l}function WQ({plot:t,radius:e}){const r=t.x,n=t.y,a=5,A=e*3.5/a,s=A*2;return jQ({centerX:r,centerY:n,innerCirclePoints:a,innerRadius:A,outerRadius:s})}function XQ({series:t}){t=t.sort((c,u)=>c.x-u.x);function e(c,u,p){const h=(c.x-u.x)*(p.x-u.x)+(c.y-u.y)*(p.y-u.y),d=(c.x-u.x)*(p.y-u.y)-(p.x-u.x)*(c.y-u.y);return Math.atan2(d,h)}const r=[];let n;n=t[0];for(const c of t)c.x<n.x&&(n=c);r[0]=n;let a,A,o,s;a=r[0],A={x:a.x,y:a.y+1};do{o=Math.PI;for(const c of t)n=e(A,a,c),n<=o&&(s=c,o=n);s!==r[0]&&(r.push(s),A=a,a=s)}while(s!==r[0]);let l;return r.forEach(c=>{c&&c.x&&c.y&&(l+=`${Math.round(c.x)},${Math.round(c.y)} `)}),l=l.replaceAll("undefined",""),l}function ax(t){if(t){let e=t;e.charAt(0)!=="#"&&(e=this.rgbToHex(t)),e=e.substring(1,7);let r=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),a=parseInt(e.substring(4,6),16),o=[r/255,n/255,a/255].map(l=>l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4));return .2126*o[0]+.7152*o[1]+.0722*o[2]>.3?"#000000":"#FFFFFF"}return"#000000"}function Ya(t){for(const e in t)typeof t[e]=="object"&&!Array.isArray(t[e])&&t[e]!==null?Ya(t[e]):(e==="color"||e==="backgroundColor"||e==="stroke")&&(t[e]===""?t[e]="#000000":t[e]==="transparent"?t[e]="#FFFFFF00":t[e]=Nr(t[e]));return t}function JA(t,e){function r(l){let c=new ArrayBuffer(l.length),u=new Uint8Array(c);for(let p=0;p<l.length;p++)u[p]=l.charCodeAt(p)&255;return c}const n=Ug.book_new(),a=Ug.aoa_to_sheet(t);Ug.book_append_sheet(n,a,"Sheet1");const A=YB(n,{bookType:"xlsx",type:"binary"}),o=new Blob([r(A)],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),s=document.createElement("a");s.href=window.URL.createObjectURL(o),s.download=`${e.replaceAll(" ","_")}.xlsx`,s.click(),window.URL.revokeObjectURL(s.href)}const FA={vue_ui_table:{fontFamily:"inherit",maxHeight:500,rowsPerPage:25,style:{th:{backgroundColor:"#E1E5E8",color:"#2D353C",outline:"1px solid #FFFFFF",selected:{backgroundColor:"#6376DD",color:"#FFFFFF"}},rows:{even:{backgroundColor:"#f3f5f7",color:"#2D353C",selectedCell:{backgroundColor:"#6375dd5b",color:"#2D353C"},selectedNeighbors:{backgroundColor:"#63dd821e",color:"#2D353C"}},odd:{backgroundColor:"#FFFFFF",color:"#2D353C",selectedCell:{backgroundColor:"#6375dd5b",color:"#2D353C"},selectedNeighbors:{backgroundColor:"#63dd821e",color:"#2D353C"}}},inputs:{backgroundColor:"#FFFFFF",color:"#2D353C",border:"1px solid #CCCCCC",accentColor:"#6376DD"},dropdowns:{backgroundColor:"#E1E5E8",color:"#2D353C",icons:{selected:{color:"#008000",unicode:"✔"},unselected:{color:"#ff0000",unicode:"✖"}}},infoBar:{backgroundColor:"#E1E5E8",color:"#2D353C"},pagination:{buttons:{backgroundColor:"#E1E5E8",color:"#2D353C",opacityDisabled:.5},navigationIndicator:{backgroundColor:"#6376DD"}},exportMenu:{backgroundColor:"#E1E5E8",color:"#2D353C",buttons:{backgroundColor:"#FAFAFA",color:"#2D353C"}},closeButtons:{backgroundColor:"transparent",color:"#2D353C",borderRadius:"50%"},chart:{modal:{backgroundColor:"#E1E5E8",color:"#2D353C",buttons:{selected:{backgroundColor:"#6376DD",color:"#FFFFFF"},unselected:{backgroundColor:"#FFFFFF",color:"#2D353C"}}},layout:{backgroundColor:"#FFFFFF",axis:{stroke:"#ccd1d4",strokeWidth:2},bar:{fill:"",stroke:"#FFFFFF"},line:{stroke:"#6376DD75",strokeWidth:4,plot:{fill:"#22348f",stroke:"#FFFFFF",strokeWidth:1,radius:{selected:6,unselected:4}},selector:{stroke:"#ccc",strokeWidth:1,strokeDasharray:5}},labels:{color:"#2D353C"},progression:{stroke:"#2D353C",strokeWidth:2,strokeDasharray:4,arrowSize:7}}}},translations:{average:"Average",by:"by",chooseCategoryColumn:"Choose category column",exportAllButton:"XLSX all",exportAllLabel:"Export all rows of your current filtered dataset",exportPageButton:"XLSX page",exportPageLabel:"Export rows of the current page",from:"From",inputPlaceholder:"Search...",makeDonut:"Generate",nb:"Nb",page:"Page",paginatorLabel:"Rows per page",sizeWarning:"Displaying too many rows at a time can lead to slower performance",sum:"Somme",to:"To",total:"Total",totalRows:"Total rows"},useChart:!0},vue_ui_xy:{chart:{fontFamily:"inherit",backgroundColor:"#FFFFFF",color:"#2D353C",height:300,width:500,zoom:{show:!0,color:"#2D353C"},padding:{top:36,right:12,bottom:12,left:48},highlighter:{color:"#2D353C",opacity:5},grid:{stroke:"#e1e5e8",showVerticalLines:!1,labels:{color:"#2D353C",show:!0,fontSize:10,axis:{yLabel:"",xLabel:"",fontSize:12},xAxisLabels:{color:"#2D353C",show:!0,values:[],fontSize:6,showOnlyFirstAndLast:!1}}},labels:{fontSize:10},legend:{color:"#2D353C",show:!0,useDiv:!0,fontSize:16},title:{show:!0,useDiv:!0,color:"#2D353C",text:"",fontSize:20,bold:!0,offsetX:0,offsetY:0,subtitle:{fontSize:16,color:"grey",text:""}},tooltip:{color:"#2D353C",backgroundColor:"white",show:!0,showValue:!0,showPercentage:!1,roundingValue:0,roundingPercentage:0},userOptions:{show:!0,title:"options",labels:{dataLabels:"Show datalabels",titleInside:"Title inside",legendInside:"Legend inside",showTable:"Show table"}}},bar:{useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},line:{radius:3,useGradient:!0,strokeWidth:2,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},plot:{radius:3,useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},table:{rounding:0,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8"}}},vue_ui_donut:{style:{fontFamily:"inherit",chart:{useGradient:!0,gradientIntensity:40,backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!1,labels:{dataLabels:{show:!0,hideUnderValue:3},percentage:{color:"#2D353C",bold:!0,fontSize:18},name:{color:"#2D353C",bold:!1,fontSize:14},hollow:{total:{show:!0,bold:!1,fontSize:18,color:"#AAAAAA",text:"Total",offsetY:0,value:{color:"#2D353C",fontSize:18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}},average:{show:!0,bold:!1,fontSize:18,color:"#AAAAAA",text:"Average",offsetY:0,value:{color:"#2D353C",fontSize:18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}}}},donut:{strokeWidth:64}},legend:{backgroundColor:"#FFFFFF",color:"#2D353C",show:!0,fontSize:16,bold:!1,roundingValue:0,roundingPercentage:0},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,color:"#2D353C",backgroundColor:"#FFFFFF",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{dataLabels:"Show datalabels",useDiv:"Title & legend inside",showTable:"Show table"}},translations:{total:"Total",average:"Average"},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}}},vue_ui_waffle:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{grid:{size:20,spaceBetween:2,vertical:!1},rect:{rounded:!0,rounding:2,stroke:"#2D353C",strokeWidth:1,useGradient:!0,gradientIntensity:40},useDiv:!0},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}}},vue_ui_radar:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,plots:{show:!0,radius:2},outerPolygon:{stroke:"#CCCCCC",strokeWidth:1},dataPolygon:{strokeWidth:1,transparent:!1,opacity:20,useGradient:!0},grid:{show:!0,stroke:"#e1e5e8",strokeWidth:.5,graduations:5},labels:{dataLabels:{show:!0,fontSize:12,color:"#2D353C"}}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingPercentage:0}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},translations:{target:"Target"}},vue_ui_quadrant:{style:{fontFamily:"inherit",chart:{height:512,width:512,backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,labels:{quadrantLabels:{show:!0,tl:{text:"",color:"#2D353C",fontSize:16,bold:!0},tr:{text:"",color:"#2D353C",fontSize:16,bold:!0},br:{text:"",color:"#2D353C",fontSize:16,bold:!0},bl:{text:"",color:"#2D353C",fontSize:16,bold:!0}},plotLabels:{show:!0,fontSize:10,color:"#2D353C",offsetY:8},axisLabels:{show:!0,fontSize:14,color:{positive:"#2D353C",negative:"#2D353C"}}},grid:{stroke:"#e1e5e8",strokeWidth:1.5,showArrows:!0,graduations:{stroke:"#e1e5e8",strokeWidth:.5,show:!0,steps:5,fill:!0,color:"#E1E5E8",roundingForce:10},xAxis:{min:-100,max:100,auto:!0,name:""},yAxis:{min:-100,max:100,auto:!0,name:""}},plots:{radius:6,outline:!0,outlineColor:"#FFFFFF",outlineWidth:1},areas:{show:!0,opacity:40,useGradient:!0}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table",showPlotLabels:"Show plot labels"}},translations:{category:"Category",item:"Item",side:"Side"}},vue_ui_gauge:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",animation:{use:!0,speed:1,acceleration:1},layout:{useDiv:!1,track:{size:1,useGradient:!0,gradientIntensity:40},markers:{size:1,color:"#2D353C",strokeWidth:1,stroke:"#2D353C",backgroundColor:"#FFFFFF",bold:!0,fontSizeRatio:1,offsetY:0,roundingValue:0},pointer:{size:1,stroke:"#2D353C",strokeWidth:12,useRatingColor:!0,color:"#CCCCCC",circle:{radius:10,stroke:"#2D353C",strokeWidth:2,color:"#FFFFFF"}}},legend:{fontSize:48,prefix:"",suffix:"",roundingValue:1,showPlusSymbol:!0,useRatingColor:!0,color:"#2D353C"},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title inside",showTable:"Show table"}},translations:{base:"Base"}},vue_ui_chestnut:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{grandTotal:{show:!0,fontSize:20,bold:!0,suffix:"",prefix:"",roundingValue:0,color:"#2D353C",text:"Grand total",offsetY:0},roots:{stroke:"#FFFFFF",strokeWidth:5,useGradient:!0,gradientIntensity:20,underlayerColor:"#FFFFFF",labels:{show:!0,fontSize:16,adaptColorToBackground:!0,color:"#FFFFFF",bold:!0,roundingValue:0,prefix:"",suffix:"",name:{color:"#2D353C",fontSize:16,bold:!0}}},verticalSeparator:{stroke:"#FFFFFF",strokeWidth:5},links:{opacity:10},branches:{stroke:"#FFFFFF",strokeWidth:0,borderRadius:6,useGradient:!0,gradientIntensity:20,underlayerColor:"#FFFFFF",widthRatio:1.5,labels:{show:!0,fontSize:14,color:"#2D353C",bold:!0,dataLabels:{show:!0,hideUnderValue:5,fontSize:14,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},nuts:{offsetX:20,useGradient:!0,gradientIntensity:30,selected:{useMotion:!0,useGradient:!0,gradientIntensity:40,roundingValue:0,roundingPercentage:0,labels:{dataLabels:{hideUnderValue:5,color:"#2D353C",fontSize:12,bold:!0,prefix:"",suffix:""},core:{total:{color:"#2D353C",fontSize:24,bold:!1},value:{color:"#2D353C",fontSize:24,bold:!0,prefix:"",suffix:""}}}}},legend:{fontSize:16,color:"#2D353C",roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},title:{color:"#2D353C",fontSize:20,text:"",bold:!0,offsetY:0,subtitle:{text:"",color:"#CCCCCC",bold:!1,fontSize:16,offsetY:0}}}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8",translations:{rootName:"root name",rootValue:"root value",rootToTotal:"%/total",branchName:"branch name",branchValue:"branch value",branchToRoot:"%/root",branchToTotal:"%/total",nutName:"nut name",nutValue:"nut value",nutToBranch:"%/branch",nutToRoot:"%/root",nutToTotal:"%/total"}},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}},userOptions:{show:!0,title:"options",labels:{showTable:"Show table"}},translations:{total:"Total",proportionToTree:"of grand total",of:"of"}},vue_ui_onion:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",useGradient:!1,gradientIntensity:20,layout:{useDiv:!0,gutter:{color:"#e1e5e8",width:.62},track:{width:.62},labels:{show:!0,fontSize:14,color:"#2D353C",roundingValue:0,roundingPercentage:0,bold:!0,offsetY:0,offsetX:0,value:{show:!0},percentage:{show:!0}}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0},translations:{value:"Value",percentage:"Percentage",serie:"Serie"}}},vue_ui_vertical_bar:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,bars:{useStroke:!1,strokeWidth:2,height:32,gap:6,borderRadius:4,offsetX:64,paddingRight:0,useGradient:!0,gradientIntensity:20,fillOpacity:10,underlayerColor:"#FFFFFF",dataLabels:{color:"#2D353C",bold:!0,fontSize:12,value:{show:!0,roundingValue:0,prefix:"",suffix:""},percentage:{show:!0,roundingPercentage:0},offsetX:0},nameLabels:{show:!0,color:"#2D353C",bold:!1,fontSize:10,offsetX:0},parentLabels:{show:!0,color:"#2D353C",bold:!1,fontSize:10,offsetX:0}},highlighter:{color:"#2D353C",opacity:5},separators:{show:!0,stroke:"#e1e5e8",strokeWidth:1}},title:{text:"Title",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"Subtitle",fontSize:16,bold:!1}},legend:{show:!0,fontSize:14,color:"#2D353C",backgroundColor:"#FFFFFF",bold:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}},translations:{parentName:"Serie",childName:"Child",value:"value",percentageToTotal:"%/total",percentageToSerie:"%/serie"}}},hAe="",_A=(t,e)=>{const r=t.__vccOpts||t;for(const[n,a]of e)r[n]=a;return r},qQ={name:"vue-ui-xy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},data(){const t=`vue-data-ui-xy_${Math.random()}_${Math.random()}`,e=Math.max(...this.dataset.map(n=>n.series.length)),r={start:0,end:e};return{opacity:Ar,useSafeValues:!0,palette:Ut,defaultConfig:FA.vue_ui_xy,clientPosition:{x:0,y:0},icons:{line:"▬",bar:"◼",plot:"●"},isPrinting:!1,isTooltip:!1,mutableConfig:{dataLabels:{show:!0},titleInside:!0,legendInside:!0,showTable:!1},selectedSerieIndex:null,selectedRowIndex:null,segregatedSeries:[],uniqueId:t,slicer:r,maxX:e}},computed:{chartConfig(){if(!Object.keys(this.config||{}).length)return this.defaultConfig;const t=this.treeShake({defaultConfig:this.defaultConfig,userConfig:this.config});return this.convertConfigColors(t)},relativeZero(){return this.min>=0?0:Math.abs(this.min)},absoluteMax(){return this.max+this.relativeZero},safeDataset(){return this.useSafeValues?this.dataset.map((t,e)=>({...t,series:t.series.map(r=>this.isSafeValue(r)?r:null).slice(this.slicer.start,this.slicer.end),id:`uniqueId_${e}`})):this.dataset},relativeDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])})).filter(t=>!this.segregatedSeries.includes(t.id))},absoluteDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])}))},barSet(){return this.absoluteDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).map((t,e)=>({...t,plots:t.series.map((r,n)=>({x:this.drawingArea.left-this.slot.bar/2+this.slot.bar*e+this.slot.bar*n*this.absoluteDataset.filter(a=>a.type==="bar").filter(a=>!this.segregatedSeries.includes(a.id)).length,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(r),value:t.absoluteValues[n]}))}))},lineSet(){return this.absoluteDataset.filter(t=>t.type==="line").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.line/2+this.slot.line*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},plotSet(){return this.absoluteDataset.filter(t=>t.type==="plot").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.plot/2+this.slot.plot*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},drawingArea(){return{top:this.chartConfig.chart.padding.top,right:this.chartConfig.chart.width-this.chartConfig.chart.padding.right,bottom:this.chartConfig.chart.height-this.chartConfig.chart.padding.bottom,left:this.chartConfig.chart.padding.left,height:this.chartConfig.chart.height-(this.chartConfig.chart.padding.top+this.chartConfig.chart.padding.bottom),width:this.chartConfig.chart.width-(this.chartConfig.chart.padding.right+this.chartConfig.chart.padding.left)}},max(){return Math.max(...this.safeDataset.filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>Math.max(...t.series)))},min(){const t=Math.min(...this.safeDataset.filter(e=>!this.segregatedSeries.includes(e.id)).map(e=>Math.min(...e.series)));return t>0?0:t},maxSeries(){return this.slicer.end-this.slicer.start},timeLabels(){return this.chartConfig.chart.grid.labels.xAxisLabels.values.slice(this.slicer.start,this.slicer.end)},slot(){return{bar:this.drawingArea.width/this.maxSeries/this.safeDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).length,plot:this.drawingArea.width/this.maxSeries,line:this.drawingArea.width/this.maxSeries}},maxSlot(){return Math.max(...Object.values(this.slot).filter(t=>t!==1/0))},table(){if(this.safeDataset.length===0)return{head:[],body:[]};const t=this.relativeDataset.map(r=>({label:r.name,color:r.color,type:r.type})),e=[];return this.timeLabels.forEach((r,n)=>{const a=[r];this.relativeDataset.forEach(A=>{a.push(this.canShowValue(A.absoluteValues[n])?Number(A.absoluteValues[n].toFixed(this.chartConfig.table.rounding)):"")}),e.push(a)}),{head:t,body:e}},tooltipContent(){const t=this.relativeDataset.map(a=>({name:a.name,color:a.color,type:a.type,value:a.absoluteValues.find((A,o)=>o===this.selectedSerieIndex)}));let e="",r=t.map(a=>a.value).filter(a=>this.isSafeValue(a)&&a!==null).reduce((a,A)=>Math.abs(a)+Math.abs(A),0);const n=this.timeLabels[this.selectedSerieIndex];return n&&(e+=`<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid #e1e5e8; width:100%">${n}</div>`),t.forEach(a=>{this.isSafeValue(a.value)&&a.value!==null&&(e+=`<div><span style="color:${a.color}; margin-right: 3px">${this.icons[a.type]}</span>${a.name} : <b>${this.chartConfig.chart.tooltip.showValue?a.value.toFixed(this.chartConfig.chart.tooltip.roundingValue):""}</b> ${this.chartConfig.chart.tooltip.showPercentage?`(${this.checkNaN(Math.abs(a.value)/r*100).toFixed(this.chartConfig.chart.tooltip.roundingPercentage)}%)`:""}</div>`)}),`<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums; background:${this.chartConfig.chart.tooltip.backgroundColor};color:${this.chartConfig.chart.tooltip.color}">${e}</div>`},tooltipPosition(){const t=this.$refs.tooltip,e=this.$refs.chart;let r=0,n=48;if(t&&e){const{width:a,height:A}=t.getBoundingClientRect(),o=e.getBoundingClientRect();this.clientPosition.x+a/2>o.right?r=-a:this.clientPosition.x-a/2<o.left?r=0:r=-a/2,this.clientPosition.y+A>o.bottom&&(n=-A-48)}return{top:this.clientPosition.y+n,left:this.clientPosition.x+r}},viewBox(){return`0 0 ${this.chartConfig.chart.width} ${this.chartConfig.chart.height}`},yLabels(){const t=this.closestDecimal(this.max/5),e=[];for(let a=5;a>0;a-=1){const A=t*a;e.push({y:this.zero-this.drawingArea.height*this.ratioToMax(t*a),value:A})}const r=this.closestDecimal(this.min/5),n=[];for(let a=5;a>=0;a-=1){const A=Math.abs(r)*a;n.push({y:this.zero+this.drawingArea.height*this.ratioToMax(Math.abs(r)*a),value:-A})}return[...e,...n]},zero(){return this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(this.relativeZero)}},mounted(){const t=document.getElementById("yAxisLabel");if(t){const r=t.getBBox().height/2+this.chartConfig.chart.padding.left/5,n=this.chartConfig.chart.height/2;t.setAttributeNS(null,"transform",`rotate(-90, ${r}, ${n})`),t.setAttributeNS(null,"x",r),t.setAttributeNS(null,"y",n),t.setAttributeNS(null,"font-size",this.chartConfig.chart.grid.labels.axis.fontSize)}this.chartConfig.showWarnings&&this.dataset.forEach(e=>{e.series.forEach((r,n)=>{this.isSafeValue(r)||console.warn(`SmartXY has detected an unsafe value in your dataset:
358
+ `;var r=Lg(t,e);return r}function TQ(t){var e="",r,n="";if(t==null||t["!ref"]==null)return[];var a=Br(t["!ref"]),A="",o=[],s,l=[],c=Array.isArray(t);for(s=a.s.c;s<=a.e.c;++s)o[s]=Dn(s);for(var u=a.s.r;u<=a.e.r;++u)for(A=xn(u),s=a.s.c;s<=a.e.c;++s)if(e=o[s]+A,r=c?(t[u]||[])[s]:t[e],n="",r!==void 0){if(r.F!=null){if(e=r.F,!r.f)continue;n=r.f,e.indexOf(":")==-1&&(e=e+":"+e)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}l[l.length]=e+"="+n}return l}function ex(t,e,r){var n=r||{},a=+!n.skipHeader,A=t||{},o=0,s=0;if(A&&n.origin!=null)if(typeof n.origin=="number")o=n.origin;else{var l=typeof n.origin=="string"?un(n.origin):n.origin;o=l.r,s=l.c}var c,u={s:{c:0,r:0},e:{c:s,r:o+e.length-1+a}};if(A["!ref"]){var p=Br(A["!ref"]);u.e.c=Math.max(u.e.c,p.e.c),u.e.r=Math.max(u.e.r,p.e.r),o==-1&&(o=p.e.r+1,u.e.r=o+e.length-1+a)}else o==-1&&(o=0,u.e.r=e.length-1+a);var h=n.header||[],d=0;e.forEach(function(g,v){wn(g).forEach(function(m){(d=h.indexOf(m))==-1&&(h[d=h.length]=m);var _=g[m],N="z",D="",K=rr({c:s+d,r:o+v+a});c=sc(A,K),_&&typeof _=="object"&&!(_ instanceof Date)?A[K]=_:(typeof _=="number"?N="n":typeof _=="boolean"?N="b":typeof _=="string"?N="s":_ instanceof Date?(N="d",n.cellDates||(N="n",_=ta(_)),D=n.dateNF||kr[14]):_===null&&n.nullError&&(N="e",_=0),c?(c.t=N,c.v=_,delete c.w,delete c.R,D&&(c.z=D)):A[K]=c={t:N,v:_},D&&(c.z=D))})}),u.e.c=Math.max(u.e.c,s+h.length-1);var w=xn(o);if(a)for(d=0;d<h.length;++d)A[Dn(d+s)+w]={t:"s",v:h[d]};return A["!ref"]=Wr(u),A}function NQ(t,e){return ex(null,t,e)}function sc(t,e,r){if(typeof e=="string"){if(Array.isArray(t)){var n=un(e);return t[n.r]||(t[n.r]=[]),t[n.r][n.c]||(t[n.r][n.c]={t:"z"})}return t[e]||(t[e]={t:"z"})}return typeof e!="number"?sc(t,rr(e)):sc(t,rr({r:e,c:r||0}))}function LQ(t,e){if(typeof e=="number"){if(e>=0&&t.SheetNames.length>e)return e;throw new Error("Cannot find sheet # "+e)}else if(typeof e=="string"){var r=t.SheetNames.indexOf(e);if(r>-1)return r;throw new Error("Cannot find sheet name |"+e+"|")}else throw new Error("Cannot find sheet |"+e+"|")}function UQ(){return{SheetNames:[],Sheets:{}}}function IQ(t,e,r,n){var a=1;if(!r)for(;a<=65535&&t.SheetNames.indexOf(r="Sheet"+a)!=-1;++a,r=void 0);if(!r||t.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&t.SheetNames.indexOf(r)>=0){var A=r.match(/(^.*?)(\d+)$/);a=A&&+A[2]||0;var o=A&&A[1]||r;for(++a;a<=65535&&t.SheetNames.indexOf(r=o+a)!=-1;++a);}if(RB(r),t.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return t.SheetNames.push(r),t.Sheets[r]=e,r}function DQ(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=LQ(t,e);switch(t.Workbook.Sheets[n]||(t.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}t.Workbook.Sheets[n].Hidden=r}function QQ(t,e){return t.z=e,t}function tx(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}function OQ(t,e,r){return tx(t,"#"+e,r)}function PQ(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})}function MQ(t,e,r,n){for(var a=typeof e!="string"?e:Br(e),A=typeof e=="string"?e:Wr(e),o=a.s.r;o<=a.e.r;++o)for(var s=a.s.c;s<=a.e.c;++s){var l=sc(t,o,s);l.t="n",l.F=A,delete l.v,o==a.s.r&&s==a.s.c&&(l.f=r,n&&(l.D=!0))}return t}var Ug={encode_col:Dn,encode_row:xn,encode_cell:rr,encode_range:Wr,decode_col:dg,decode_row:fg,split_cell:t6,decode_cell:un,decode_range:pa,format_cell:qA,sheet_add_aoa:Ow,sheet_add_json:ex,sheet_add_dom:KB,aoa_to_sheet:Bs,json_to_sheet:NQ,table_to_sheet:GB,table_to_book:cQ,sheet_to_csv:Lg,sheet_to_txt:ZB,sheet_to_json:Kh,sheet_to_html:zB,sheet_to_formulae:TQ,sheet_to_row_object_array:Kh,sheet_get_cell:sc,book_new:UQ,book_append_sheet:IQ,book_set_sheet_visibility:DQ,cell_set_number_format:QQ,cell_set_hyperlink:tx,cell_set_internal_link:OQ,cell_add_comment:PQ,sheet_set_array_formula:MQ,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function Gh(t,e,r,n,a){let{series:A}=t;if(!A||t.base===0)return{...A,proportion:0,ratio:0,path:"",startX:0,startY:0,endX:0,center:{}};const o=[...A].map(c=>c.value).reduce((c,u)=>c+u,0),s=[];let l=0;for(let c=0;c<A.length;c+=1){let u=A[c].value/o;const p=u*(Math.PI*1.9999),d=A[c].value/2/o*(Math.PI*2),{startX:w,startY:g,endX:v,endY:m,path:_}=nx([e,r],[n,a],[l,p],110);s.push({cx:e,cy:r,...A[c],proportion:u,ratio:p,path:_,startX:w,startY:g,endX:v,endY:m,center:nx([e,r],[n*1.45,a*1.45],[l,d],110)}),l+=p}return s}function jh([t,e],[r,n]){return[t+r,e+n]}function Wh([[t,e],[r,n]],[a,A]){return[t*a+e*A,r*a+n*A]}function rx(t){return[[Math.cos(t),-Math.sin(t)],[Math.sin(t),Math.cos(t)]]}function nx([t,e],[r,n],[a,A],o){A=A%(2*Math.PI);const s=rx(o),[l,c]=jh(Wh(s,[r*Math.cos(a),n*Math.sin(a)]),[t,e]),[u,p]=jh(Wh(s,[r*Math.cos(a+A),n*Math.sin(a+A)]),[t,e]),h=A>Math.PI?1:0,d=A>0?1:0;return{startX:l,startY:c,endX:u,endY:p,path:`M${l} ${c} A ${[r,n,o/(2*Math.PI)*360,h,d,u,p].join(" ")}`}}function qa({defaultConfig:t,userConfig:e}){const r={...t};return Object.keys(r).forEach(n=>{if(Object.hasOwn(e,n)){const a=e[n];typeof a=="boolean"?r[n]=a:["string","number"].includes(typeof a)?VQ(a)&&(r[n]=a):Array.isArray(r[n])?RQ({userConfig:e,key:n})&&(r[n]=a):HQ({userConfig:e,key:n})&&(r[n]=qa({defaultConfig:r[n],userConfig:a}))}}),r}function RQ({userConfig:t,key:e}){return Object.hasOwn(t,e)&&Array.isArray(t[e])&&t[e].length>=0}function HQ({userConfig:t,key:e}){return Object.hasOwn(t,e)&&!Array.isArray(t[e])&&typeof t[e]=="object"}function VQ(t){return![null,void 0,NaN,1/0,-1/0].includes(t)}function $Q(t){return![void 0,NaN,1/0,-1/0].includes(t)}function zQ(t,e=0){return isNaN(t)?e:t}const Ut=["#3366cc","#dc3912","#ff9900","#109618","#990099","#0099c6","#dd4477","#66aa00","#b82e2e","#316395","#994499","#22aa99","#aaaa11","#6633cc","#e67300","#8b0707","#651067","#329262","#5574a6","#3b3eac","#b77322","#16d620","#b91383","#f4359e","#9c5935","#a9c413","#2a778d","#668d1c","#bea413","#0c5922","#743411"],Ar=["00","03","05","08","0A","0D","0F","12","14","17","1A","1C","1F","21","24","26","29","2B","2E","30","33","36","38","3B","3D","40","42","45","47","4A","4D","4F","52","54","57","59","5C","5E","61","63","66","69","6B","6E","70","73","75","78","7A","7D","80","82","85","87","8A","8C","8F","91","94","96","99","9C","9E","A1","A3","A6","A8","AB","AD","B0","B3","B5","B8","BA","BD","BF","C2","C4","C7","C9","CC","CF","D1","D4","D6","D9","DB","DE","E0","E3","E6","E8","EB","ED","F0","F2","F5","F7","FA","FC","FF"];function Nr(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,r=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*[\d.]+)?\)$/i,n=/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*[\d.]+)?\)$/i;if([void 0,null,NaN].includes(t))return null;if(t==="transparent")return"#FFFFFF00";let a;if(a=t.match(e)){const[,A,o,s]=a;return`#${A}${o}${s}`}else if(a=t.match(r)){const[,A,o,s]=a;return`#${Ns(A)}${Ns(o)}${Ns(s)}`}else if(a=t.match(n)){const[,A,o,s]=a,l=KQ(Number(A),Number(o),Number(s));return`#${Ns(l[0])}${Ns(l[1])}${Ns(l[2])}`}return null}function Ns(t){const e=Number(t).toString(16);return e.length===1?"0"+e:e}function KQ(t,e,r){t/=360,e/=100,r/=100;let n,a,A;if(e===0)n=a=A=r;else{const o=(c,u,p)=>(p<0&&(p+=1),p>1&&(p-=1),p<.16666666666666666?c+(u-c)*6*p:p<.5?u:p<.6666666666666666?c+(u-c)*(.6666666666666666-p)*6:c),s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;n=o(l,s,t+1/3),a=o(l,s,t),A=o(l,s,t-1/3)}return[Math.round(n*255),Math.round(a*255),Math.round(A*255)]}function Fo(t,e){const r=c=>({r:parseInt(c.substring(1,3),16),g:parseInt(c.substring(3,5),16),b:parseInt(c.substring(5,7),16)}),n=({r:c,g:u,b:p})=>{c/=255,u/=255,p/=255;const h=Math.max(c,u,p),d=Math.min(c,u,p);let w,g,v=(h+d)/2;if(h===d)w=g=0;else{const m=h-d;switch(g=v>.5?m/(2-h-d):m/(h+d),h){case c:w=(u-p)/m+(u<p?6:0);break;case u:w=(p-c)/m+2;break;case p:w=(c-u)/m+4;break}w/=6}return{h:w,s:g,l:v}},a=({h:c,s:u,l:p})=>{let h,d,w;if(u===0)h=d=w=p;else{const g=(_,N,D)=>(D<0&&(D+=1),D>1&&(D-=1),D<.16666666666666666?_+(N-_)*6*D:D<.5?N:D<.6666666666666666?_+(N-_)*(.6666666666666666-D)*6:_),v=p<.5?p*(1+u):p+u-p*u,m=2*p-v;h=g(m,v,c+.3333333333333333),d=g(m,v,c),w=g(m,v,c-.3333333333333333)}return{r:Math.round(h*255),g:Math.round(d*255),b:Math.round(w*255)}},A=r(t),o=n(A);o.h+=e,o.h=(o.h+1)%1;const s=a(o);return`#${(s.r<<16|s.g<<8|s.b).toString(16).padStart(6,"0")}`}function GQ({centerX:t,centerY:e,outerPoints:r,radius:n,rotation:a}){const A=Math.PI/r,o=a;let s="";const l=[];for(let c=0;c<r*2;c+=1){let u=t+Math.cos(c*A+o)*n,p=e+Math.sin(c*A+o)*n;s+=`${u},${p} `,l.push({x:u,y:p})}return{path:`M${s}Z`,coordinates:l}}function _o({plot:t,radius:e,sides:r,rotation:n=0}){const a=t.x,A=t.y,o=r/2;return GQ({centerX:a,centerY:A,outerPoints:o,radius:e+1,rotation:n})}function jQ({centerX:t,centerY:e,innerCirclePoints:r,innerRadius:n,outerRadius:a}){const A=Math.PI/r,o=60,s=r*2;let l="";for(let c=0;c<s;c+=1){let p=c%2==0?a:n,h=t+Math.cos(c*A+o)*p,d=e+Math.sin(c*A+o)*p;l+=`${h},${d} `}return l}function WQ({plot:t,radius:e}){const r=t.x,n=t.y,a=5,A=e*3.5/a,s=A*2;return jQ({centerX:r,centerY:n,innerCirclePoints:a,innerRadius:A,outerRadius:s})}function XQ({series:t}){t=t.sort((c,u)=>c.x-u.x);function e(c,u,p){const h=(c.x-u.x)*(p.x-u.x)+(c.y-u.y)*(p.y-u.y),d=(c.x-u.x)*(p.y-u.y)-(p.x-u.x)*(c.y-u.y);return Math.atan2(d,h)}const r=[];let n;n=t[0];for(const c of t)c.x<n.x&&(n=c);r[0]=n;let a,A,o,s;a=r[0],A={x:a.x,y:a.y+1};do{o=Math.PI;for(const c of t)n=e(A,a,c),n<=o&&(s=c,o=n);s!==r[0]&&(r.push(s),A=a,a=s)}while(s!==r[0]);let l;return r.forEach(c=>{c&&c.x&&c.y&&(l+=`${Math.round(c.x)},${Math.round(c.y)} `)}),l=l.replaceAll("undefined",""),l}function ax(t){if(t){let e=t;e.charAt(0)!=="#"&&(e=this.rgbToHex(t)),e=e.substring(1,7);let r=parseInt(e.substring(0,2),16),n=parseInt(e.substring(2,4),16),a=parseInt(e.substring(4,6),16),o=[r/255,n/255,a/255].map(l=>l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4));return .2126*o[0]+.7152*o[1]+.0722*o[2]>.3?"#000000":"#FFFFFF"}return"#000000"}function Ya(t){for(const e in t)typeof t[e]=="object"&&!Array.isArray(t[e])&&t[e]!==null?Ya(t[e]):(e==="color"||e==="backgroundColor"||e==="stroke")&&(t[e]===""?t[e]="#000000":t[e]==="transparent"?t[e]="#FFFFFF00":t[e]=Nr(t[e]));return t}function JA(t,e){function r(l){let c=new ArrayBuffer(l.length),u=new Uint8Array(c);for(let p=0;p<l.length;p++)u[p]=l.charCodeAt(p)&255;return c}const n=Ug.book_new(),a=Ug.aoa_to_sheet(t);Ug.book_append_sheet(n,a,"Sheet1");const A=YB(n,{bookType:"xlsx",type:"binary"}),o=new Blob([r(A)],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),s=document.createElement("a");s.href=window.URL.createObjectURL(o),s.download=`${e.replaceAll(" ","_")}.xlsx`,s.click(),window.URL.revokeObjectURL(s.href)}const FA={vue_ui_table:{fontFamily:"inherit",maxHeight:500,rowsPerPage:25,style:{th:{backgroundColor:"#E1E5E8",color:"#2D353C",outline:"1px solid #FFFFFF",selected:{backgroundColor:"#6376DD",color:"#FFFFFF"}},rows:{even:{backgroundColor:"#f3f5f7",color:"#2D353C",selectedCell:{backgroundColor:"#6375dd5b",color:"#2D353C"},selectedNeighbors:{backgroundColor:"#63dd821e",color:"#2D353C"}},odd:{backgroundColor:"#FFFFFF",color:"#2D353C",selectedCell:{backgroundColor:"#6375dd5b",color:"#2D353C"},selectedNeighbors:{backgroundColor:"#63dd821e",color:"#2D353C"}}},inputs:{backgroundColor:"#FFFFFF",color:"#2D353C",border:"1px solid #CCCCCC",accentColor:"#6376DD"},dropdowns:{backgroundColor:"#E1E5E8",color:"#2D353C",icons:{selected:{color:"#008000",unicode:"✔"},unselected:{color:"#ff0000",unicode:"✖"}}},infoBar:{backgroundColor:"#E1E5E8",color:"#2D353C"},pagination:{buttons:{backgroundColor:"#E1E5E8",color:"#2D353C",opacityDisabled:.5},navigationIndicator:{backgroundColor:"#6376DD"}},exportMenu:{backgroundColor:"#E1E5E8",color:"#2D353C",buttons:{backgroundColor:"#FAFAFA",color:"#2D353C"}},closeButtons:{backgroundColor:"transparent",color:"#2D353C",borderRadius:"50%"},chart:{modal:{backgroundColor:"#E1E5E8",color:"#2D353C",buttons:{selected:{backgroundColor:"#6376DD",color:"#FFFFFF"},unselected:{backgroundColor:"#FFFFFF",color:"#2D353C"}}},layout:{backgroundColor:"#FFFFFF",axis:{stroke:"#ccd1d4",strokeWidth:2},bar:{fill:"",stroke:"#FFFFFF"},line:{stroke:"#6376DD75",strokeWidth:4,plot:{fill:"#22348f",stroke:"#FFFFFF",strokeWidth:1,radius:{selected:6,unselected:4}},selector:{stroke:"#ccc",strokeWidth:1,strokeDasharray:5}},labels:{color:"#2D353C"},progression:{stroke:"#2D353C",strokeWidth:2,strokeDasharray:4,arrowSize:7}}}},translations:{average:"Average",by:"by",chooseCategoryColumn:"Choose category column",exportAllButton:"XLSX all",exportAllLabel:"Export all rows of your current filtered dataset",exportPageButton:"XLSX page",exportPageLabel:"Export rows of the current page",from:"From",inputPlaceholder:"Search...",makeDonut:"Generate",nb:"Nb",page:"Page",paginatorLabel:"Rows per page",sizeWarning:"Displaying too many rows at a time can lead to slower performance",sum:"Somme",to:"To",total:"Total",totalRows:"Total rows"},useChart:!0},vue_ui_xy:{chart:{fontFamily:"inherit",backgroundColor:"#FFFFFF",color:"#2D353C",height:300,width:500,zoom:{show:!0,color:"#2D353C"},padding:{top:36,right:12,bottom:12,left:48},highlighter:{color:"#2D353C",opacity:5},grid:{stroke:"#e1e5e8",showVerticalLines:!1,labels:{color:"#2D353C",show:!0,fontSize:10,axis:{yLabel:"",xLabel:"",fontSize:12},xAxisLabels:{color:"#2D353C",show:!0,values:[],fontSize:6,showOnlyFirstAndLast:!1}}},labels:{fontSize:10},legend:{color:"#2D353C",show:!0,useDiv:!0,fontSize:16},title:{show:!0,useDiv:!0,color:"#2D353C",text:"",fontSize:20,bold:!0,offsetX:0,offsetY:0,subtitle:{fontSize:16,color:"grey",text:""}},tooltip:{color:"#2D353C",backgroundColor:"white",show:!0,showValue:!0,showPercentage:!1,roundingValue:0,roundingPercentage:0},userOptions:{show:!0,title:"options",labels:{dataLabels:"Show datalabels",titleInside:"Title inside",legendInside:"Legend inside",showTable:"Show table"}}},bar:{useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},line:{radius:3,useGradient:!0,strokeWidth:2,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},plot:{radius:3,useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},table:{rounding:0,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8"}}},vue_ui_donut:{style:{fontFamily:"inherit",chart:{useGradient:!0,gradientIntensity:40,backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!1,labels:{dataLabels:{show:!0,hideUnderValue:3},percentage:{color:"#2D353C",bold:!0,fontSize:18},name:{color:"#2D353C",bold:!1,fontSize:14},hollow:{total:{show:!0,bold:!1,fontSize:18,color:"#AAAAAA",text:"Total",offsetY:0,value:{color:"#2D353C",fontSize:18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}},average:{show:!0,bold:!1,fontSize:18,color:"#AAAAAA",text:"Average",offsetY:0,value:{color:"#2D353C",fontSize:18,bold:!0,suffix:"",prefix:"",offsetY:0,rounding:0}}}},donut:{strokeWidth:64}},legend:{backgroundColor:"#FFFFFF",color:"#2D353C",show:!0,fontSize:16,bold:!1,roundingValue:0,roundingPercentage:0},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,color:"#2D353C",backgroundColor:"#FFFFFF",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{dataLabels:"Show datalabels",useDiv:"Title & legend inside",showTable:"Show table"}},translations:{total:"Total",average:"Average"},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}}},vue_ui_waffle:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{grid:{size:20,spaceBetween:2,vertical:!1},rect:{rounded:!0,rounding:2,stroke:"#2D353C",strokeWidth:1,useGradient:!0,gradientIntensity:40},useDiv:!0},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}}},vue_ui_radar:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,plots:{show:!0,radius:2},outerPolygon:{stroke:"#CCCCCC",strokeWidth:1},dataPolygon:{strokeWidth:1,transparent:!1,opacity:20,useGradient:!0},grid:{show:!0,stroke:"#e1e5e8",strokeWidth:.5,graduations:5},labels:{dataLabels:{show:!0,fontSize:12,color:"#2D353C"}}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingPercentage:0}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},translations:{target:"Target"}},vue_ui_quadrant:{style:{fontFamily:"inherit",chart:{height:512,width:512,backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,labels:{quadrantLabels:{show:!0,tl:{text:"",color:"#2D353C",fontSize:16,bold:!0},tr:{text:"",color:"#2D353C",fontSize:16,bold:!0},br:{text:"",color:"#2D353C",fontSize:16,bold:!0},bl:{text:"",color:"#2D353C",fontSize:16,bold:!0}},plotLabels:{show:!0,fontSize:10,color:"#2D353C",offsetY:8},axisLabels:{show:!0,fontSize:14,color:{positive:"#2D353C",negative:"#2D353C"}}},grid:{stroke:"#e1e5e8",strokeWidth:1.5,showArrows:!0,graduations:{stroke:"#e1e5e8",strokeWidth:.5,show:!0,steps:5,fill:!0,color:"#E1E5E8",roundingForce:10},xAxis:{min:-100,max:100,auto:!0,name:""},yAxis:{min:-100,max:100,auto:!0,name:""}},plots:{radius:6,outline:!0,outlineColor:"#FFFFFF",outlineWidth:1},areas:{show:!0,opacity:40,useGradient:!0}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table",showPlotLabels:"Show plot labels"}},translations:{category:"Category",item:"Item",side:"Side"}},vue_ui_gauge:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",animation:{use:!0,speed:1,acceleration:1},layout:{useDiv:!1,track:{size:1,useGradient:!0,gradientIntensity:40},markers:{size:1,color:"#2D353C",strokeWidth:1,stroke:"#2D353C",backgroundColor:"#FFFFFF",bold:!0,fontSizeRatio:1,offsetY:0,roundingValue:0},pointer:{size:1,stroke:"#2D353C",strokeWidth:12,useRatingColor:!0,color:"#CCCCCC",circle:{radius:10,stroke:"#2D353C",strokeWidth:2,color:"#FFFFFF"}}},legend:{fontSize:48,prefix:"",suffix:"",roundingValue:1,showPlusSymbol:!0,useRatingColor:!0,color:"#2D353C"},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title inside",showTable:"Show table"}},translations:{base:"Base"}},vue_ui_chestnut:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{grandTotal:{show:!0,fontSize:20,bold:!0,suffix:"",prefix:"",roundingValue:0,color:"#2D353C",text:"Grand total",offsetY:0},roots:{stroke:"#FFFFFF",strokeWidth:5,useGradient:!0,gradientIntensity:20,underlayerColor:"#FFFFFF",labels:{show:!0,fontSize:16,adaptColorToBackground:!0,color:"#FFFFFF",bold:!0,roundingValue:0,prefix:"",suffix:"",name:{color:"#2D353C",fontSize:16,bold:!0}}},verticalSeparator:{stroke:"#FFFFFF",strokeWidth:5},links:{opacity:10},branches:{stroke:"#FFFFFF",strokeWidth:0,borderRadius:6,useGradient:!0,gradientIntensity:20,underlayerColor:"#FFFFFF",widthRatio:1.5,labels:{show:!0,fontSize:14,color:"#2D353C",bold:!0,dataLabels:{show:!0,hideUnderValue:5,fontSize:14,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},nuts:{offsetX:20,useGradient:!0,gradientIntensity:30,selected:{useMotion:!0,useGradient:!0,gradientIntensity:40,roundingValue:0,roundingPercentage:0,labels:{dataLabels:{hideUnderValue:5,color:"#2D353C",fontSize:12,bold:!0,prefix:"",suffix:""},core:{total:{color:"#2D353C",fontSize:24,bold:!1},value:{color:"#2D353C",fontSize:24,bold:!0,prefix:"",suffix:""}}}}},legend:{fontSize:16,color:"#2D353C",roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},title:{color:"#2D353C",fontSize:20,text:"",bold:!0,offsetY:0,subtitle:{text:"",color:"#CCCCCC",bold:!1,fontSize:16,offsetY:0}}}}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8",translations:{rootName:"root name",rootValue:"root value",rootToTotal:"%/total",branchName:"branch name",branchValue:"branch value",branchToRoot:"%/root",branchToTotal:"%/total",nutName:"nut name",nutValue:"nut value",nutToBranch:"%/branch",nutToRoot:"%/root",nutToTotal:"%/total"}},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0}},userOptions:{show:!0,title:"options",labels:{showTable:"Show table"}},translations:{total:"Total",proportionToTree:"of grand total",of:"of"}},vue_ui_onion:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",useGradient:!1,gradientIntensity:20,layout:{useDiv:!0,gutter:{color:"#e1e5e8",width:.62},track:{width:.62},labels:{show:!0,fontSize:14,color:"#2D353C",roundingValue:0,roundingPercentage:0,bold:!0,offsetY:0,offsetX:0,value:{show:!0},percentage:{show:!0}}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},legend:{show:!0,bold:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,roundingValue:0,roundingPercentage:0}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0},translations:{value:"Value",percentage:"Percentage",serie:"Serie"}}},vue_ui_vertical_bar:{style:{fontFamily:"inherit",chart:{backgroundColor:"#FFFFFF",color:"#2D353C",layout:{useDiv:!0,bars:{useStroke:!1,strokeWidth:2,height:32,gap:6,borderRadius:4,offsetX:64,paddingRight:0,useGradient:!0,gradientIntensity:20,fillOpacity:90,underlayerColor:"#FFFFFF",dataLabels:{color:"#2D353C",bold:!0,fontSize:12,value:{show:!0,roundingValue:0,prefix:"",suffix:""},percentage:{show:!0,roundingPercentage:0},offsetX:0},nameLabels:{show:!0,color:"#2D353C",bold:!1,fontSize:10,offsetX:0},parentLabels:{show:!0,color:"#2D353C",bold:!1,fontSize:10,offsetX:0}},highlighter:{color:"#2D353C",opacity:5},separators:{show:!0,color:"#e1e5e8",strokeWidth:1}},title:{text:"",color:"#2D353C",fontSize:20,bold:!0,subtitle:{color:"#A1A1A1",text:"",fontSize:16,bold:!1}},legend:{show:!0,fontSize:14,color:"#2D353C",backgroundColor:"#FFFFFF",bold:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""},tooltip:{show:!0,backgroundColor:"#FFFFFF",color:"#2D353C",fontSize:14,showValue:!0,showPercentage:!0,roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}}},userOptions:{show:!0,title:"options",labels:{useDiv:"Title & legend inside",showTable:"Show table"}},table:{show:!1,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8",roundingValue:0,roundingPercentage:0,prefix:"",suffix:""}},translations:{parentName:"Serie",childName:"Child",value:"value",percentageToTotal:"%/total",percentageToSerie:"%/serie"}}},hAe="",_A=(t,e)=>{const r=t.__vccOpts||t;for(const[n,a]of e)r[n]=a;return r},qQ={name:"vue-ui-xy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},data(){const t=`vue-data-ui-xy_${Math.random()}_${Math.random()}`,e=Math.max(...this.dataset.map(n=>n.series.length)),r={start:0,end:e};return{opacity:Ar,useSafeValues:!0,palette:Ut,defaultConfig:FA.vue_ui_xy,clientPosition:{x:0,y:0},icons:{line:"▬",bar:"◼",plot:"●"},isPrinting:!1,isTooltip:!1,mutableConfig:{dataLabels:{show:!0},titleInside:!0,legendInside:!0,showTable:!1},selectedSerieIndex:null,selectedRowIndex:null,segregatedSeries:[],uniqueId:t,slicer:r,maxX:e}},computed:{chartConfig(){if(!Object.keys(this.config||{}).length)return this.defaultConfig;const t=this.treeShake({defaultConfig:this.defaultConfig,userConfig:this.config});return this.convertConfigColors(t)},relativeZero(){return this.min>=0?0:Math.abs(this.min)},absoluteMax(){return this.max+this.relativeZero},safeDataset(){return this.useSafeValues?this.dataset.map((t,e)=>({...t,series:t.series.map(r=>this.isSafeValue(r)?r:null).slice(this.slicer.start,this.slicer.end),id:`uniqueId_${e}`})):this.dataset},relativeDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])})).filter(t=>!this.segregatedSeries.includes(t.id))},absoluteDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])}))},barSet(){return this.absoluteDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).map((t,e)=>({...t,plots:t.series.map((r,n)=>({x:this.drawingArea.left-this.slot.bar/2+this.slot.bar*e+this.slot.bar*n*this.absoluteDataset.filter(a=>a.type==="bar").filter(a=>!this.segregatedSeries.includes(a.id)).length,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(r),value:t.absoluteValues[n]}))}))},lineSet(){return this.absoluteDataset.filter(t=>t.type==="line").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.line/2+this.slot.line*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},plotSet(){return this.absoluteDataset.filter(t=>t.type==="plot").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.plot/2+this.slot.plot*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},drawingArea(){return{top:this.chartConfig.chart.padding.top,right:this.chartConfig.chart.width-this.chartConfig.chart.padding.right,bottom:this.chartConfig.chart.height-this.chartConfig.chart.padding.bottom,left:this.chartConfig.chart.padding.left,height:this.chartConfig.chart.height-(this.chartConfig.chart.padding.top+this.chartConfig.chart.padding.bottom),width:this.chartConfig.chart.width-(this.chartConfig.chart.padding.right+this.chartConfig.chart.padding.left)}},max(){return Math.max(...this.safeDataset.filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>Math.max(...t.series)))},min(){const t=Math.min(...this.safeDataset.filter(e=>!this.segregatedSeries.includes(e.id)).map(e=>Math.min(...e.series)));return t>0?0:t},maxSeries(){return this.slicer.end-this.slicer.start},timeLabels(){return this.chartConfig.chart.grid.labels.xAxisLabels.values.slice(this.slicer.start,this.slicer.end)},slot(){return{bar:this.drawingArea.width/this.maxSeries/this.safeDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).length,plot:this.drawingArea.width/this.maxSeries,line:this.drawingArea.width/this.maxSeries}},maxSlot(){return Math.max(...Object.values(this.slot).filter(t=>t!==1/0))},table(){if(this.safeDataset.length===0)return{head:[],body:[]};const t=this.relativeDataset.map(r=>({label:r.name,color:r.color,type:r.type})),e=[];return this.timeLabels.forEach((r,n)=>{const a=[r];this.relativeDataset.forEach(A=>{a.push(this.canShowValue(A.absoluteValues[n])?Number(A.absoluteValues[n].toFixed(this.chartConfig.table.rounding)):"")}),e.push(a)}),{head:t,body:e}},tooltipContent(){const t=this.relativeDataset.map(a=>({name:a.name,color:a.color,type:a.type,value:a.absoluteValues.find((A,o)=>o===this.selectedSerieIndex)}));let e="",r=t.map(a=>a.value).filter(a=>this.isSafeValue(a)&&a!==null).reduce((a,A)=>Math.abs(a)+Math.abs(A),0);const n=this.timeLabels[this.selectedSerieIndex];return n&&(e+=`<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid #e1e5e8; width:100%">${n}</div>`),t.forEach(a=>{this.isSafeValue(a.value)&&a.value!==null&&(e+=`<div><span style="color:${a.color}; margin-right: 3px">${this.icons[a.type]}</span>${a.name} : <b>${this.chartConfig.chart.tooltip.showValue?a.value.toFixed(this.chartConfig.chart.tooltip.roundingValue):""}</b> ${this.chartConfig.chart.tooltip.showPercentage?`(${this.checkNaN(Math.abs(a.value)/r*100).toFixed(this.chartConfig.chart.tooltip.roundingPercentage)}%)`:""}</div>`)}),`<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums; background:${this.chartConfig.chart.tooltip.backgroundColor};color:${this.chartConfig.chart.tooltip.color}">${e}</div>`},tooltipPosition(){const t=this.$refs.tooltip,e=this.$refs.chart;let r=0,n=48;if(t&&e){const{width:a,height:A}=t.getBoundingClientRect(),o=e.getBoundingClientRect();this.clientPosition.x+a/2>o.right?r=-a:this.clientPosition.x-a/2<o.left?r=0:r=-a/2,this.clientPosition.y+A>o.bottom&&(n=-A-48)}return{top:this.clientPosition.y+n,left:this.clientPosition.x+r}},viewBox(){return`0 0 ${this.chartConfig.chart.width} ${this.chartConfig.chart.height}`},yLabels(){const t=this.closestDecimal(this.max/5),e=[];for(let a=5;a>0;a-=1){const A=t*a;e.push({y:this.zero-this.drawingArea.height*this.ratioToMax(t*a),value:A})}const r=this.closestDecimal(this.min/5),n=[];for(let a=5;a>=0;a-=1){const A=Math.abs(r)*a;n.push({y:this.zero+this.drawingArea.height*this.ratioToMax(Math.abs(r)*a),value:-A})}return[...e,...n]},zero(){return this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(this.relativeZero)}},mounted(){const t=document.getElementById("yAxisLabel");if(t){const r=t.getBBox().height/2+this.chartConfig.chart.padding.left/5,n=this.chartConfig.chart.height/2;t.setAttributeNS(null,"transform",`rotate(-90, ${r}, ${n})`),t.setAttributeNS(null,"x",r),t.setAttributeNS(null,"y",n),t.setAttributeNS(null,"font-size",this.chartConfig.chart.grid.labels.axis.fontSize)}this.chartConfig.showWarnings&&this.dataset.forEach(e=>{e.series.forEach((r,n)=>{this.isSafeValue(r)||console.warn(`SmartXY has detected an unsafe value in your dataset:
359
359
  -----> The serie '${e.name}' contains the value '${r}' at index ${n}.
360
360
  '${r}' was converted to null to allow the chart to display.`)})}),document.addEventListener("mousemove",e=>{this.clientPosition={x:e.clientX,y:e.clientY}}),this.mutableConfig={dataLabels:{show:!0},titleInside:!this.chartConfig.chart.title.useDiv,legendInside:!this.chartConfig.chart.legend.useDiv}},methods:{checkNaN:zQ,isSafeValue:$Q,treeShake:qa,shiftHue:Fo,pdf:zA,convertColorToHex:Nr,convertConfigColors:Ya,makeXls:JA,calcRectHeight(t){return t.value>=0?this.zero-t.y:t.y-this.zero},calcRectWidth(){return this.slot.bar*.9},calcRectX(t){return t.x+this.slot.bar*.05+this.slot.bar/2},calcRectY(t){return t.value>=0?t.y:this.zero},canShowValue(t){return![null,void 0,NaN].includes(t)},closeDetails(){const t=this.$refs.details;t&&t.removeAttribute("open")},closestDecimal(t){if(t===0)return 0;const r=10**Math.floor(Math.log10(Math.abs(t)));let n;return t<0,n=Math.round(t/r)*r,n},ratioToMax(t){return t/this.absoluteMax},selectX(t){this.$emit("selectX",{dataset:this.relativeDataset.map(e=>({name:e.name,value:[null,void 0,NaN].includes(e.absoluteValues[t])?null:e.absoluteValues[t],color:e.color,type:e.type})),index:t,indexLabel:this.chartConfig.chart.grid.labels.xAxisLabels.values[t]})},getData(){return this.absoluteDataset.map(t=>({values:t.absoluteValues,color:t.color,name:t.name,type:t.type}))},segregate(t){if(this.segregatedSeries.includes(t.id))this.segregatedSeries=this.segregatedSeries.filter(e=>e!==t.id);else{if(this.segregatedSeries.length+1===this.safeDataset.length)return;this.segregatedSeries.push(t.id)}this.$emit("selectLegend",this.relativeDataset.map(e=>({name:e.name,values:e.absoluteValues,color:e.color,type:e.type})))},toggleTooltip(t,e=null){this.isTooltip=t,t?this.selectedSerieIndex=e:this.selectedSerieIndex=null},generatePdf(){this.isPrinting=!0,this.pdf({domElement:document.getElementById(`vue-ui-xy_${this.uniqueId}`),fileName:this.chartConfig.chart.title.text||"vue-ui-xy"}).finally(()=>{this.isPrinting=!1})},generateXls(){const t=[[this.chartConfig.chart.title.text],[this.chartConfig.chart.title.subtitle.text],[""]],e=["",...this.table.head.map(a=>a.label)],r=this.table.body,n=t.concat([e]).concat(r);this.makeXls(n,this.chartConfig.chart.title.text||"vue-ui-xy")}}},YQ=t=>(i.pushScopeId("data-v-c3b5e3f6"),t=t(),i.popScopeId(),t),JQ=["id"],ZQ={class:"vue-ui-xy-user-option-item"},eO=["id","name"],tO=["for"],rO={class:"vue-ui-xy-user-option-item"},nO=["id","name"],aO=["for"],AO={class:"vue-ui-xy-user-option-item"},iO=["id","name"],oO=["for"],sO={class:"vue-ui-xy-user-option-item"},lO=["id","name"],cO=["for"],uO=["disabled"],hO=["stroke"],fO=[i.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-c3b5e3f6></path><path d="M18 16v.01" data-v-c3b5e3f6></path><path d="M6 16v.01" data-v-c3b5e3f6></path><path d="M12 5v.01" data-v-c3b5e3f6></path><path d="M12 12v.01" data-v-c3b5e3f6></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-c3b5e3f6></path>',6)],dO={key:1},gO=["viewBox"],pO={class:"vue-ui-xy-grid"},mO=["stroke","x1","x2","y1","y2"],vO=["stroke","x1","x2","y1","y2"],yO={key:0},wO=["x1","x2","y1","y2","stroke"],BO=["id"],xO=["stop-color"],bO=["stop-color"],CO=["stop-color"],EO=["id"],FO=["stop-color"],_O=["stop-color"],SO=["stop-color"],kO=["id"],TO=["stop-color"],NO=["stop-color"],LO=["id"],UO=["stop-color"],IO=["stop-color"],DO=["x","y","height","width","fill"],QO=["cx","cy","r","fill","stroke"],OO=["x1","x2","y1","y2","stroke","stroke-width"],PO=["cx","cy","r","fill","stroke"],MO={key:0},RO=["x","y","font-size","fill"],HO={key:1},VO=["x","y","font-size","fill"],$O={key:2},zO=["x","y","font-size","fill"],KO={key:3},GO=["x1","x2","y1","y2","stroke"],jO=["x","y","font-size","fill"],WO=["font-size","fill"],XO=["x","y","font-size","fill"],qO={key:4},YO={x:"0",y:"0",width:"100%",height:"40px",style:{overflow:"visible"}},JO={key:5},ZO=["y"],e7={class:"vue-ui-xy-legend"},t7=["onClick"],r7={key:6},n7=["y","x","font-size","fill"],a7={key:7},A7=["x","y","height","width","fill","onMouseenter","onClick"],i7={key:2,class:"vue-ui-xy-range-slider","data-html2canvas-ignore":""},o7={class:"vue-ui-xy-slider--left"},s7=["for"],l7=["id","max"],c7={class:"vue-ui-xy-slider--right"},u7=["for"],h7=["id","min","max"],f7=["onClick"],d7=["innerHTML"],g7=["innerHTML"],p7={class:"vue-ui-xy-table"},m7={style:{"max-width":"200px",margin:"0 auto","text-align":"center"}},v7=[YQ(()=>i.createElementVNode("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"},[i.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),i.createElementVNode("path",{d:"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2"})],-1))],y7=["onMouseover"];function w7(t,e,r,n,a,A){return i.openBlock(),i.createElementBlock("div",{id:`vue-ui-xy_${a.uniqueId}`,class:"vue-ui-xy",ref:"chart",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor}; color:${A.chartConfig.chart.color};width:100%`)},[A.chartConfig.chart.title.show&&(!a.mutableConfig.titleInside||a.isPrinting)?(i.openBlock(),i.createElementBlock("div",{key:0,class:"vue-ui-xy-title",style:i.normalizeStyle(`font-family:${A.chartConfig.chart.fontFamily}`)},[i.createElementVNode("div",{class:"vue-ui-xy-title-main",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.fontSize}px; color:${A.chartConfig.chart.title.color}; font-weight:${A.chartConfig.chart.title.bold?"bold":"400"}`)},i.toDisplayString(A.chartConfig.chart.title.text),5),A.chartConfig.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("div",{key:0,class:"vue-ui-xy-title-subtitle",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.subtitle.fontSize}px; color:${A.chartConfig.chart.title.subtitle.color}`)},i.toDisplayString(A.chartConfig.chart.title.subtitle.text),5)):i.createCommentVNode("",!0)],4)):i.createCommentVNode("",!0),A.chartConfig.chart.userOptions.show?(i.openBlock(),i.createElementBlock("details",{key:1,class:"vue-ui-xy-user-options",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`),"data-html2canvas-ignore":"",ref:"details"},[i.createElementVNode("summary",{style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)},i.toDisplayString(A.chartConfig.chart.userOptions.title),5),i.createElementVNode("div",{class:"vue-ui-xy-user-options-items",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)},[i.createElementVNode("div",ZQ,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-datalabels_${a.uniqueId}`,name:`vue-ui-xy-option-datalabels_${a.uniqueId}`,"onUpdate:modelValue":e[0]||(e[0]=o=>a.mutableConfig.dataLabels.show=o)},null,8,eO),[[i.vModelCheckbox,a.mutableConfig.dataLabels.show]]),i.createElementVNode("label",{for:`vue-ui-xy-option-datalabels_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.dataLabels),9,tO)]),i.createElementVNode("div",rO,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-title_${a.uniqueId}`,name:`vue-ui-xy-option-title_${a.uniqueId}`,"onUpdate:modelValue":e[1]||(e[1]=o=>a.mutableConfig.titleInside=o)},null,8,nO),[[i.vModelCheckbox,a.mutableConfig.titleInside]]),i.createElementVNode("label",{for:`vue-ui-xy-option-title_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.titleInside),9,aO)]),i.createElementVNode("div",AO,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-legend_${a.uniqueId}`,name:`vue-ui-xy-option-legend_${a.uniqueId}`,"onUpdate:modelValue":e[2]||(e[2]=o=>a.mutableConfig.legendInside=o)},null,8,iO),[[i.vModelCheckbox,a.mutableConfig.legendInside]]),i.createElementVNode("label",{for:`vue-ui-xy-option-legend_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.legendInside),9,oO)]),i.createElementVNode("div",sO,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-xy-option-table_${a.uniqueId}`,name:`vue-ui-xy-option-table_${a.uniqueId}`,"onUpdate:modelValue":e[3]||(e[3]=o=>a.mutableConfig.showTable=o)},null,8,lO),[[i.vModelCheckbox,a.mutableConfig.showTable]]),i.createElementVNode("label",{for:`vue-ui-xy-option-table_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.userOptions.labels.showTable),9,cO)]),i.createElementVNode("button",{class:"vue-ui-xy-button",onClick:e[4]||(e[4]=(...o)=>A.generatePdf&&A.generatePdf(...o)),disabled:a.isPrinting,style:i.normalizeStyle(`margin-top: 12px; background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)},[a.isPrinting?(i.openBlock(),i.createElementBlock("svg",{key:0,class:"vue-ui-xy-print-icon",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:A.chartConfig.chart.color,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},fO,8,hO)):(i.openBlock(),i.createElementBlock("span",dO,"PDF"))],12,uO),i.createElementVNode("button",{class:"vue-ui-xy-button",onClick:e[5]||(e[5]=(...o)=>A.generateXls&&A.generateXls(...o)),style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor};color:${A.chartConfig.chart.color}`)}," XLSX ",4)],4)],4)):i.createCommentVNode("",!0),(i.openBlock(),i.createElementBlock("svg",{width:"100%",viewBox:A.viewBox,class:"vue-ui-xy-svg",style:i.normalizeStyle(`background:${A.chartConfig.chart.backgroundColor}; color:${A.chartConfig.chart.color}; font-family:${A.chartConfig.chart.fontFamily}`),onClick:e[7]||(e[7]=(...o)=>A.closeDetails&&A.closeDetails(...o))},[i.createElementVNode("g",pO,[i.createElementVNode("line",{stroke:A.chartConfig.chart.grid.stroke,"stroke-width":"1",x1:A.drawingArea.left,x2:A.drawingArea.left,y1:A.drawingArea.top,y2:A.drawingArea.bottom,"stroke-linecap":"round"},null,8,mO),i.createElementVNode("line",{stroke:A.chartConfig.chart.grid.stroke,"stroke-width":"1",x1:A.drawingArea.left,x2:A.drawingArea.right,y1:A.zero,y2:A.zero,"stroke-linecap":"round"},null,8,vO),A.chartConfig.chart.grid.showVerticalLines?(i.openBlock(),i.createElementBlock("g",yO,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.maxSeries+1,(o,s)=>(i.openBlock(),i.createElementBlock("line",{key:`grid_vertical_line_${s}`,x1:A.drawingArea.width/A.maxSeries*s+A.drawingArea.left,x2:A.drawingArea.width/A.maxSeries*s+A.drawingArea.left,y1:A.drawingArea.top,y2:A.drawingArea.bottom,"stroke-width":"0.5",stroke:A.chartConfig.chart.grid.stroke},null,8,wO))),128))])):i.createCommentVNode("",!0)]),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.barSet,(o,s)=>(i.openBlock(),i.createElementBlock("defs",{key:`def_rect_${s}`},[i.createElementVNode("linearGradient",{id:`rectGradient_pos_${s}_${a.uniqueId}`,x2:"0%",y2:"100%"},[i.createElementVNode("stop",{offset:"0%","stop-color":o.color},null,8,xO),i.createElementVNode("stop",{offset:"62%","stop-color":`${A.shiftHue(o.color,.02)}DE`},null,8,bO),i.createElementVNode("stop",{offset:"100%","stop-color":`${A.shiftHue(o.color,.05)}66`},null,8,CO)],8,BO),i.createElementVNode("linearGradient",{id:`rectGradient_neg_${s}_${a.uniqueId}`,x2:"0%",y2:"100%"},[i.createElementVNode("stop",{offset:"0%","stop-color":`${A.shiftHue(o.color,.05)}66`},null,8,FO),i.createElementVNode("stop",{offset:"38%","stop-color":`${A.shiftHue(o.color,.02)}DE`},null,8,_O),i.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,SO)],8,EO)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.plotSet,(o,s)=>(i.openBlock(),i.createElementBlock("defs",{key:`def_plot_${s}`},[i.createElementVNode("radialGradient",{id:`plotGradient_${s}_${a.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[i.createElementVNode("stop",{offset:"0%","stop-color":`${A.shiftHue(o.color,.05)}`},null,8,TO),i.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,NO)],8,kO)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.lineSet,(o,s)=>(i.openBlock(),i.createElementBlock("defs",{key:`def_line_${s}`},[i.createElementVNode("radialGradient",{id:`lineGradient_${s}_${a.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[i.createElementVNode("stop",{offset:"0%","stop-color":`${A.shiftHue(o.color,.05)}`},null,8,UO),i.createElementVNode("stop",{offset:"100%","stop-color":o.color},null,8,IO)],8,LO)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.barSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`serie_bar_${s}`,class:i.normalizeClass(`serie_bar_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`bar_plot_${s}_${c}`},[A.canShowValue(l.value)?(i.openBlock(),i.createElementBlock("rect",{key:0,x:A.calcRectX(l),y:A.calcRectY(l),height:A.calcRectHeight(l),width:A.calcRectWidth(),fill:A.chartConfig.bar.useGradient?l.value>=0?`url(#rectGradient_pos_${s}_${a.uniqueId})`:`url(#rectGradient_neg_${s}_${a.uniqueId})`:o.color},null,8,DO)):i.createCommentVNode("",!0)]))),128))],2))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.plotSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`serie_plot_${s}`,class:i.normalizeClass(`serie_plot_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`circle_plot_${s}_${c}`},[A.canShowValue(l.value)?(i.openBlock(),i.createElementBlock("circle",{key:0,cx:l.x,cy:l.y,r:A.chartConfig.plot.radius,fill:A.chartConfig.plot.useGradient?`url(#plotGradient_${s}_${a.uniqueId})`:o.color,stroke:A.chartConfig.chart.backgroundColor,"stroke-width":"0.5"},null,8,QO)):i.createCommentVNode("",!0)]))),128))],2))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.lineSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`serie_line_${s}`,class:i.normalizeClass(`serie_line_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`line_${s}_${c}`},[c<o.plots.length-1&&A.canShowValue(l.value)&&A.canShowValue(o.plots[c+1].value)?(i.openBlock(),i.createElementBlock("line",{key:0,x1:l.x,x2:o.plots[c+1].x,y1:l.y,y2:o.plots[c+1].y,stroke:o.color,"stroke-width":A.chartConfig.line.strokeWidth},null,8,OO)):i.createCommentVNode("",!0)]))),128)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`circle_line_${s}_${c}`},[A.canShowValue(l.value)?(i.openBlock(),i.createElementBlock("circle",{key:0,cx:l.x,cy:l.y,r:A.chartConfig.line.radius,fill:A.chartConfig.line.useGradient?`url(#lineGradient_${s}_${a.uniqueId})`:o.color,stroke:A.chartConfig.chart.backgroundColor,"stroke-width":"0.5"},null,8,PO)):i.createCommentVNode("",!0)]))),128))],2))),128)),A.chartConfig.bar.labels.show&&a.mutableConfig.dataLabels.show?(i.openBlock(),i.createElementBlock("g",MO,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.barSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_bar_${s}`,class:i.normalizeClass(`xLabel_bar_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_bar_${s}_${c}`},[i.createElementVNode("text",{x:l.x+A.calcRectWidth(),y:l.y+A.chartConfig.bar.labels.offsetY,"text-anchor":"middle","font-size":A.chartConfig.chart.labels.fontSize,fill:A.chartConfig.bar.labels.color},i.toDisplayString(A.canShowValue(l.value)?l.value.toFixed(A.chartConfig.bar.labels.rounding):""),9,RO)]))),128))],2))),128))])):i.createCommentVNode("",!0),A.chartConfig.plot.labels.show&&a.mutableConfig.dataLabels.show?(i.openBlock(),i.createElementBlock("g",HO,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.plotSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_plot_${s}`,class:i.normalizeClass(`xLabel_plot_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_plot_${s}_${c}`},[i.createElementVNode("text",{x:l.x,y:l.y+A.chartConfig.plot.labels.offsetY,"text-anchor":"middle","font-size":A.chartConfig.chart.labels.fontSize,fill:A.chartConfig.plot.labels.color},i.toDisplayString(A.canShowValue(l.value)?l.value.toFixed(A.chartConfig.plot.labels.rounding):""),9,VO)]))),128))],2))),128))])):i.createCommentVNode("",!0),A.chartConfig.line.labels.show&&a.mutableConfig.dataLabels.show?(i.openBlock(),i.createElementBlock("g",$O,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.lineSet,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_line_${s}`,class:i.normalizeClass(`xLabel_line_${s}`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o.plots,(l,c)=>(i.openBlock(),i.createElementBlock("g",{key:`xLabel_line_${s}_${c}`},[i.createElementVNode("text",{x:l.x,y:l.y+A.chartConfig.line.labels.offsetY,"text-anchor":"middle","font-size":A.chartConfig.chart.labels.fontSize,fill:A.chartConfig.line.labels.color},i.toDisplayString(A.canShowValue(l.value)?l.value.toFixed(A.chartConfig.line.labels.rounding):""),9,zO)]))),128))],2))),128))])):i.createCommentVNode("",!0),A.chartConfig.chart.grid.labels.show?(i.openBlock(),i.createElementBlock("g",KO,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.yLabels,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`yLabel_${s}`},[o.value>=A.min&&o.value<=A.max?(i.openBlock(),i.createElementBlock("line",{key:0,x1:A.drawingArea.left,x2:A.drawingArea.left-5,y1:o.y,y2:o.y,stroke:A.chartConfig.chart.grid.stroke,"stroke-width":"1"},null,8,GO)):i.createCommentVNode("",!0),o.value>=A.min&&o.value<=A.max?(i.openBlock(),i.createElementBlock("text",{key:1,x:A.drawingArea.left-5,y:o.y+A.chartConfig.chart.labels.fontSize/3,"font-size":A.chartConfig.chart.grid.labels.fontSize,"text-anchor":"end",fill:A.chartConfig.chart.grid.labels.color},i.toDisplayString(A.canShowValue(o.value)?o.value.toFixed(0):""),9,jO)):i.createCommentVNode("",!0)]))),128))])):i.createCommentVNode("",!0),i.createElementVNode("g",null,[A.chartConfig.chart.grid.labels.axis.yLabel?(i.openBlock(),i.createElementBlock("text",{key:0,"font-size":A.chartConfig.chart.grid.labels.axis.fontSize,fill:A.chartConfig.chart.grid.labels.color,id:"yAxisLabel","text-anchor":"middle",style:{transition:"none"}},i.toDisplayString(A.chartConfig.chart.grid.labels.axis.yLabel),9,WO)):i.createCommentVNode("",!0),A.chartConfig.chart.grid.labels.axis.xLabel?(i.openBlock(),i.createElementBlock("text",{key:1,"text-anchor":"middle",x:A.chartConfig.chart.width/2,y:A.drawingArea.bottom+A.chartConfig.chart.grid.labels.axis.fontSize+A.chartConfig.chart.grid.labels.xAxisLabels.fontSize*1.3,"font-size":A.chartConfig.chart.grid.labels.axis.fontSize,fill:A.chartConfig.chart.grid.labels.color},i.toDisplayString(A.chartConfig.chart.grid.labels.axis.xLabel),9,XO)):i.createCommentVNode("",!0)]),A.chartConfig.chart.title.show&&a.mutableConfig.titleInside&&!a.isPrinting?(i.openBlock(),i.createElementBlock("g",qO,[(i.openBlock(),i.createElementBlock("foreignObject",YO,[i.createElementVNode("div",{class:"vue-ui-xy-title",style:i.normalizeStyle(`font-family:${A.chartConfig.chart.fontFamily}`)},[i.createElementVNode("div",{class:"vue-ui-xy-title-main",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.fontSize*.6}px; color:${A.chartConfig.chart.title.color}; font-weight:${A.chartConfig.chart.title.bold?"bold":"400"}`)},i.toDisplayString(A.chartConfig.chart.title.text),5),A.chartConfig.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("div",{key:0,class:"vue-ui-xy-title-subtitle",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.title.subtitle.fontSize*.6}px; color:${A.chartConfig.chart.title.subtitle.color}`)},i.toDisplayString(A.chartConfig.chart.title.subtitle.text),5)):i.createCommentVNode("",!0)],4)]))])):i.createCommentVNode("",!0),A.chartConfig.chart.legend.show&&a.mutableConfig.legendInside&&!a.isPrinting?(i.openBlock(),i.createElementBlock("g",JO,[(i.openBlock(),i.createElementBlock("foreignObject",{x:"0",y:A.drawingArea.bottom+A.chartConfig.chart.padding.bottom/3+12,width:"100%",height:"20px",style:i.normalizeStyle(`overflow:visible; font-size:${A.chartConfig.chart.legend.fontSize*.6}px`)},[i.createElementVNode("div",e7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.absoluteDataset,(o,s)=>(i.openBlock(),i.createElementBlock("div",{key:`div_legend_item_${s}`,onClick:l=>A.segregate(o),class:i.normalizeClass({"vue-ui-xy-legend-item":!0,"vue-ui-xy-legend-item-segregated":a.segregatedSeries.includes(o.id)})},[["plot"].includes(o.type)?(i.openBlock(),i.createElementBlock("span",{key:0,style:i.normalizeStyle(`color:${o.color}`)},"●",4)):i.createCommentVNode("",!0),["line"].includes(o.type)?(i.openBlock(),i.createElementBlock("span",{key:1,style:i.normalizeStyle(`color:${o.color}`)},"▬",4)):i.createCommentVNode("",!0),["bar"].includes(o.type)?(i.openBlock(),i.createElementBlock("span",{key:2,style:i.normalizeStyle(`color:${o.color}`)},"◼",4)):i.createCommentVNode("",!0),i.createElementVNode("span",{style:i.normalizeStyle(`color:${A.chartConfig.chart.legend.color}`)},i.toDisplayString(o.name),5)],10,t7))),128))])],12,ZO))])):i.createCommentVNode("",!0),A.chartConfig.chart.grid.labels.xAxisLabels.show?(i.openBlock(),i.createElementBlock("g",r7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.timeLabels,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`time_label_${s}`},[o&&!A.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast||o&&A.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast&&(s===0||s===A.timeLabels.length-1)?(i.openBlock(),i.createElementBlock("text",{key:0,"text-anchor":"middle",y:A.drawingArea.bottom+A.chartConfig.chart.grid.labels.xAxisLabels.fontSize*1.3,x:A.drawingArea.left+A.drawingArea.width/A.maxSeries*s+A.drawingArea.width/A.maxSeries/2,"font-size":A.chartConfig.chart.grid.labels.xAxisLabels.fontSize,fill:A.chartConfig.chart.grid.labels.xAxisLabels.color},i.toDisplayString(o||""),9,n7)):i.createCommentVNode("",!0)]))),128))])):i.createCommentVNode("",!0),A.chartConfig.chart.tooltip.show?(i.openBlock(),i.createElementBlock("g",a7,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.maxSeries,(o,s)=>(i.openBlock(),i.createElementBlock("g",{key:`tooltip_trap_${s}`},[i.createElementVNode("rect",{x:A.drawingArea.left+A.drawingArea.width/A.maxSeries*s,y:A.drawingArea.top,height:A.drawingArea.height,width:A.drawingArea.width/A.maxSeries,fill:a.selectedSerieIndex===s||a.selectedRowIndex===s?`${A.chartConfig.chart.highlighter.color}${a.opacity[A.chartConfig.chart.highlighter.opacity]}`:"transparent",onMouseenter:l=>A.toggleTooltip(!0,s),onMouseleave:e[6]||(e[6]=l=>A.toggleTooltip(!1)),onClick:l=>A.selectX(s)},null,40,A7)]))),128))])):i.createCommentVNode("",!0)],12,gO)),A.chartConfig.chart.zoom.show?(i.openBlock(),i.createElementBlock("div",i7,[i.createElementVNode("div",o7,[i.createElementVNode("label",{for:`start_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.grid.labels.xAxisLabels.values[a.slicer.start]),9,s7),i.withDirectives(i.createElementVNode("input",{id:`start_${a.uniqueId}`,type:"range",style:i.normalizeStyle(`accent-color:${A.chartConfig.chart.zoom.color}`),min:0,max:Math.floor(a.maxX/2),"onUpdate:modelValue":e[8]||(e[8]=o=>a.slicer.start=o)},null,12,l7),[[i.vModelText,a.slicer.start]])]),i.createElementVNode("div",c7,[i.createElementVNode("label",{for:`end_${a.uniqueId}`},i.toDisplayString(A.chartConfig.chart.grid.labels.xAxisLabels.values[a.slicer.end-1]),9,u7),i.withDirectives(i.createElementVNode("input",{id:`end_${a.uniqueId}`,type:"range",style:i.normalizeStyle(`accent-color:${A.chartConfig.chart.zoom.color}`),min:Math.ceil(a.maxX/2),max:a.maxX,"onUpdate:modelValue":e[9]||(e[9]=o=>a.slicer.end=o)},null,12,h7),[[i.vModelText,a.slicer.end]])])])):i.createCommentVNode("",!0),A.chartConfig.chart.legend.show&&(!a.mutableConfig.legendInside||a.isPrinting)?(i.openBlock(),i.createElementBlock("div",{key:3,class:"vue-ui-xy-legend",style:i.normalizeStyle(`font-size:${A.chartConfig.chart.legend.fontSize}px`)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.absoluteDataset,(o,s)=>(i.openBlock(),i.createElementBlock("div",{key:`div_legend_item_${s}`,onClick:l=>A.segregate(o),class:i.normalizeClass({"vue-ui-xy-legend-item":!0,"vue-ui-xy-legend-item-segregated":a.segregatedSeries.includes(o.id)})},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${o.color}`),innerHTML:a.icons[o.type]},null,12,d7),i.createElementVNode("span",{style:i.normalizeStyle(`color:${A.chartConfig.chart.legend.color}`)},i.toDisplayString(o.name),5)],10,f7))),128))],4)):i.createCommentVNode("",!0),A.chartConfig.chart.tooltip.show&&a.isTooltip?(i.openBlock(),i.createElementBlock("div",{key:4,class:"vue-ui-xy-tooltip",ref:"tooltip",style:i.normalizeStyle(`top:${A.tooltipPosition.top}px;left:${A.tooltipPosition.left}px; background-color:${A.chartConfig.chart.tooltip.backgroundColor};color:${A.chartConfig.chart.tooltip.color}`),innerHTML:A.tooltipContent},null,12,g7)):i.createCommentVNode("",!0),A.chartConfig.showTable&&a.mutableConfig.showTable?(i.openBlock(),i.createElementBlock("div",{key:5,class:i.normalizeClass({"vue-ui-xy-table-wrapper":!0,"vue-ui-xy-table-wrapper-printing":a.isPrinting}),onClick:e[11]||(e[11]=(...o)=>A.closeDetails&&A.closeDetails(...o))},[i.createElementVNode("table",p7,[i.createElementVNode("thead",null,[i.createElementVNode("tr",null,[i.createElementVNode("th",{style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color}`)},null,4),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.table.head,(o,s)=>(i.openBlock(),i.createElementBlock("th",{key:`th_${s}`,style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color}`)},[i.createElementVNode("div",m7,[i.createElementVNode("span",{style:i.normalizeStyle(`color:${o.color}; margin-right:3px`)},i.toDisplayString(a.icons[o.type]),5),i.createTextVNode(i.toDisplayString(o.label),1)])],4))),128))]),i.createElementVNode("tr",null,[i.createElementVNode("th",{align:"right",style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color}`)},v7,4),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.table.head,(o,s)=>(i.openBlock(),i.createElementBlock("th",{align:"right",key:`th_sum_${s}`,style:i.normalizeStyle(`background:${A.chartConfig.table.th.backgroundColor};color:${A.chartConfig.table.th.color};padding-right:6px`)},i.toDisplayString(r.dataset[s].series.slice(a.slicer.start,a.slicer.end).reduce((l,c)=>l+c,0).toFixed(A.chartConfig.table.rounding)),5))),128))])]),i.createElementVNode("tbody",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(A.table.body,(o,s)=>(i.openBlock(),i.createElementBlock("tr",{key:`tr_${s}`,class:i.normalizeClass({"vue-ui-xy-table-tr-selected":a.selectedSerieIndex===s||a.selectedRowIndex===s}),onMouseover:l=>a.selectedRowIndex=s,onMouseleave:e[10]||(e[10]=l=>a.selectedRowIndex=null)},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(o,(l,c)=>(i.openBlock(),i.createElementBlock("td",{key:`td_${s}_${c}`,style:i.normalizeStyle(`background:${A.chartConfig.table.td.backgroundColor};color:${A.chartConfig.table.td.color};padding-right:6px;`)},i.toDisplayString(l),5))),128))],42,y7))),128))])])],2)):i.createCommentVNode("",!0)],12,JQ)}const B7=_A(qQ,[["render",w7],["__scopeId","data-v-c3b5e3f6"]]),gAe="",x7={name:"vue-ui-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},data(){return{uid:`vue-ui-table-${Math.random()}`,defaultConfig:FA.vue_ui_table,bodyCopy:JSON.parse(JSON.stringify(this.dataset.body)).map((e,r)=>({...e,absoluteIndex:r})),buttonTimeout:null,canMoveChart:!1,chart:{height:316,type:"bar",width:512},constants:{ASC:1,BAR:"bar",DATE:"date",DESC:-1,DONUT:"donut",LINE:"line",NUMERIC:"numeric",PERCENTAGE:"percentage",TEXT:"text"},clientX:100,clientY:100,cssClass:{CELL:"smart-td-selected",FIRST_TD:"smart-td-selected-first",LAST_TD:"smart-td-selected-last",ROW:"smart-td-selected-neighbor"},currentDonut:void 0,currentFilter:void 0,currentSearch:void 0,currentSelectionSpan:{col:void 0,rows:[]},currentPage:0,dates:{},filteredDatesIndexes:{},hasNaN:{},iconColor:"#2D353C",iconSize:20,immutableRangeFilters:{},isExportRequest:!1,isLoading:!1,itemsPerPage:this.config.rowsPerPage?this.config.rowsPerPage:25,multiselects:{},paginatorOptions:[...new Set([10,25,50,100,250,500,this.config.rowsPerPage?this.config.rowsPerPage:25,this.dataset.body.length])].sort((e,r)=>e-r),palette:Ut,percentages:{},rafId:null,rangeFilters:{},searches:{},selectedColumn:void 0,selectedDonutCategory:void 0,selectedPlot:void 0,showChart:!1,showDonutOptions:!1,sorts:{},tableBody:JSON.parse(JSON.stringify(this.dataset.body)).map((e,r)=>({...e,absoluteIndex:r})),tableHead:JSON.parse(JSON.stringify(this.dataset.header)).map(e=>({average:Object.hasOwn(e,"average")?e.average:!1,decimals:Object.hasOwn(e,"decimals")?e.decimals:0,isMultiselect:Object.hasOwn(e,"isMultiselect")?e.isMultiselect:!1,isPercentage:Object.hasOwn(e,"isPercentage")?e.isPercentage:!1,isSearch:Object.hasOwn(e,"isSearch")?e.isSearch:!1,isSort:Object.hasOwn(e,"isSort")?e.isSort:!1,name:e.name,percentageTo:Object.hasOwn(e,"percentageTo")?e.percentageTo:void 0,prefix:Object.hasOwn(e,"prefix")?e.prefix:"",rangeFilter:Object.hasOwn(e,"rangeFilter")?e.rangeFilter:!1,suffix:Object.hasOwn(e,"suffix")?e.suffix:"",sum:Object.hasOwn(e,"sum")?e.sum:!1,type:e.type}))}},mounted(){if(this.dataset.header.length===0)throw new Error(`vue-ui-table error: missing header data.
361
361
  Provide an array of objects of type:
@@ -375,10 +375,10 @@ Provide an array of objects of type:
375
375
  C${re.x1-20},${re.y1+xe}
376
376
  ${re.x1-80},${re.y1+xe}
377
377
  ${T(re).x+T(re).r/2}, ${T(re).y}
378
- `,stroke:`${re.color}${i.unref(Ar)[h.value.style.chart.layout.links.opacity]}`,fill:"none","stroke-width":"2","shape-rendering":"cirspEdges",style:i.normalizeStyle(`opacity:${he(re)?1:0}`),onClick:le},null,12,E$))),256))]))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(I.value,re=>(i.openBlock(),i.createElementBlock("circle",{cx:re.x,cy:re.y,r:re.r,fill:h.value.style.chart.layout.roots.underlayerColor,stroke:"none",style:i.normalizeStyle(`cursor:pointer; opacity:${he(re)?1:.05}`)},null,12,F$))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(I.value,re=>(i.openBlock(),i.createElementBlock("circle",{cx:re.x,cy:re.y,r:re.r,fill:h.value.style.chart.layout.roots.useGradient?`url(#root_gradient_${a.value}_${re.rootIndex})`:re.color,stroke:h.value.style.chart.layout.roots.stroke,"stroke-width":h.value.style.chart.layout.roots.strokeWidth,style:i.normalizeStyle(`cursor:pointer; opacity:${he(re)?1:.05}`),onClick:Ee=>Ue(re)},null,12,_$))),256)),h.value.style.chart.layout.roots.labels.show?(i.openBlock(),i.createElementBlock("g",S$,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(I.value,re=>(i.openBlock(),i.createElementBlock("text",{x:re.x,y:re.y+h.value.style.chart.layout.roots.labels.fontSize/2.6,"text-anchor":"middle","font-size":h.value.style.chart.layout.roots.labels.fontSize,fill:h.value.style.chart.layout.roots.labels.adaptColorToBackground?i.unref(ax)(re.color):h.value.style.chart.layout.roots.labels.color,"font-weight":"bold",style:i.normalizeStyle(`cursor:pointer; opacity:${he(re)?1:.05}`),onClick:Ee=>Ue(re)},i.toDisplayString(h.value.style.chart.layout.roots.labels.prefix)+" "+i.toDisplayString(re.total.toFixed(h.value.style.chart.layout.roots.labels.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.roots.labels.suffix),13,k$))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(I.value,re=>(i.openBlock(),i.createElementBlock("g",null,[L.value&&re.rootIndex===L.value.rootIndex||q.value&&re.rootIndex===q.value.rootIndex||se.value&&re.rootIndex===se.value.rootIndex?(i.openBlock(),i.createElementBlock("g",T$,[i.createElementVNode("text",{x:re.x,y:re.y+re.r+24,"text-anchor":"middle",fill:h.value.style.chart.layout.roots.labels.name.color,"font-size":h.value.style.chart.layout.roots.labels.name.fontSize,"font-weight":h.value.style.chart.layout.roots.labels.name.bold?"bold":"normal",onClick:le},i.toDisplayString(re.name),9,N$)])):i.createCommentVNode("",!0)]))),256))])):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("rect",{x:re.x1,y:re.y1,height:w.value.branchSize,width:re.x2-re.x1,fill:h.value.style.chart.layout.branches.underlayerColor,rx:h.value.style.chart.layout.branches.borderRadius,stroke:"none",style:i.normalizeStyle(`opacity:${he(re)?1:.05}`),onClick:Ee=>ye(re)},null,12,L$))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("rect",{x:re.x1,y:re.y1,height:w.value.branchSize,width:re.x2-re.x1,fill:h.value.style.chart.layout.branches.useGradient?`url(#branch_gradient_${a.value}_${re.rootIndex})`:re.color,rx:h.value.style.chart.layout.branches.borderRadius,stroke:h.value.style.chart.layout.branches.stroke,"stroke-width":h.value.style.chart.layout.branches.strokeWidth,style:i.normalizeStyle(`cursor:pointer; opacity:${he(re)?1:.05}`),onClick:Ee=>ye(re)},null,12,U$))),256)),h.value.style.chart.layout.branches.labels.dataLabels.show?(i.openBlock(),i.createElementBlock("g",I$,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("g",null,[re.proportionToRoot*100>h.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue?(i.openBlock(),i.createElementBlock("text",{key:0,x:re.x1+6,y:re.y1+w.value.branchSize/1.5,"text-anchor":"start",fill:i.unref(ax)(re.color),"font-size":h.value.style.chart.layout.branches.labels.dataLabels.fontSize,"font-weight":"bold",style:i.normalizeStyle(`cursor:pointer; opacity:${he(re)?1:.05}`),onClick:Ee=>ye(re)},i.toDisplayString(h.value.style.chart.layout.branches.labels.dataLabels.prefix)+" "+i.toDisplayString(re.value.toFixed(h.value.style.chart.layout.branches.labels.dataLabels.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.branches.labels.dataLabels.suffix),13,D$)):i.createCommentVNode("",!0)]))),256))])):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("g",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(Gh)({series:re.breakdown,base:1},re.x2+24+h.value.style.chart.layout.nuts.offsetX,re.y1+w.value.branchSize/2,w.value.branchSize/3,w.value.branchSize/3),(Ee,xe)=>(i.openBlock(),i.createElementBlock("path",{d:Ee.path,stroke:Ee.color,"stroke-width":10,fill:"none",style:i.normalizeStyle(`opacity:${he(re)?1:.1}`)},null,12,Q$))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,Ee=>(i.openBlock(),i.createElementBlock("circle",{cx:Ee.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:Ee.y1+w.value.branchSize/2,r:6,fill:h.value.style.chart.backgroundColor,onClick:xe=>de(Ee),style:{cursor:"pointer"}},null,8,O$))),256)),i.createElementVNode("circle",{fill:h.value.style.chart.layout.nuts.useGradient?`url(#nut_${a.value})`:"transparent",cx:re.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:re.y1+w.value.branchSize/2,r:w.value.branchSize/2+2,onClick:Ee=>de(re),style:i.normalizeStyle(`cursor:pointer;opacity:${he(re)?1:.1}`)},null,12,P$)]))),256)),h.value.style.chart.layout.branches.labels.show&&!q.value?(i.openBlock(),i.createElementBlock("g",M$,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("text",{x:re.x2+w.value.branchSize+24+h.value.style.chart.layout.nuts.offsetX,y:re.y1+w.value.branchSize/2+5,"font-size":h.value.style.chart.layout.branches.labels.fontSize,"font-weight":h.value.style.chart.layout.branches.labels.bold?"bold":"normal",fill:h.value.style.chart.layout.branches.labels.color,"text-anchor":"start",style:i.normalizeStyle(`opacity:${he(re)?1:.1}`)},i.toDisplayString(re.name),13,R$))),256))])):i.createCommentVNode("",!0),i.createElementVNode("line",{x1:256+w.value.padding.left,x2:256+w.value.padding.left,y1:g.value.top,y2:g.value.bottom,stroke:h.value.style.chart.layout.verticalSeparator.stroke,"stroke-width":h.value.style.chart.layout.verticalSeparator.strokeWidth},null,8,H$),!L.value&&!q.value?(i.openBlock(),i.createElementBlock("foreignObject",{key:5,x:0,y:g.value.bottom,height:w.value.height-g.value.bottom,width:w.value.width,style:{overflow:"visible"},onClick:le},[i.createElementVNode("div",$$,[i.createElementVNode("div",z$,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(I.value,re=>(i.openBlock(),i.createElementBlock("div",{style:i.normalizeStyle(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${h.value.style.chart.layout.legend.fontSize}px;`)},[(i.openBlock(),i.createElementBlock("svg",K$,[i.createElementVNode("circle",{cx:"10",cy:"10",r:"10",fill:re.color,stroke:"none"},null,8,G$)])),i.createElementVNode("span",null,i.toDisplayString(re.name),1),i.createTextVNode(" : "),i.createElementVNode("b",null,i.toDisplayString(h.value.style.chart.layout.legend.prefix)+" "+i.toDisplayString(re.total.toFixed(h.value.style.chart.layout.legend.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.legend.suffix),1),i.createTextVNode("("+i.toDisplayString((re.total/v.value*100).toFixed(h.value.style.chart.layout.legend.roundingPercentage))+"%) ",1)],4))),256))])])],8,V$)):i.createCommentVNode("",!0),L.value&&z.value?(i.openBlock(),i.createElementBlock("g",j$,[(i.openBlock(),i.createElementBlock("foreignObject",{x:0,y:B(),height:w.value.height-g.value.bottom,width:w.value.width,style:{overflow:"visible"},onClick:le},[i.createElementVNode("div",X$,[i.createElementVNode("b",null,i.toDisplayString(L.value.name),1),i.createElementVNode("div",q$,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(L.value.breakdown,(re,Ee)=>(i.openBlock(),i.createElementBlock("div",{style:i.normalizeStyle(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${h.value.style.chart.layout.legend.fontSize}px;`)},[(i.openBlock(),i.createElementBlock("svg",Y$,[i.createElementVNode("circle",{cx:"10",cy:"10",r:"10",fill:re.color,stroke:"none"},null,8,J$)])),i.createElementVNode("span",null,[i.createTextVNode(i.toDisplayString(re.name)+" : ",1),i.createElementVNode("b",null,i.toDisplayString(h.value.style.chart.layout.legend.prefix)+" "+i.toDisplayString(re.value.toFixed(h.value.style.chart.layout.nuts.selected.labels.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.legend.suffix),1),i.createTextVNode(" ("+i.toDisplayString((re.proportionToBranch*100).toFixed(h.value.style.chart.layout.nuts.selected.labels.roundingPercentage))+"%)",1)])],4))),256))])])],8,W$)),i.createElementVNode("circle",{cx:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:L.value.y1+w.value.branchSize/2,r:256,fill:`url(#nut_underlayer_${a.value})`,onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,Z$),i.createElementVNode("circle",{cx:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:L.value.y1+w.value.branchSize/2,r:118,fill:h.value.style.chart.backgroundColor,onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,ez),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(z.value,re=>(i.openBlock(),i.createElementBlock("path",{d:re.path,stroke:re.color,"stroke-width":64,fill:"none",onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,tz))),256)),i.createElementVNode("circle",{cx:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:L.value.y1+w.value.branchSize/2,r:100,fill:`url(#nutpick_${a.value})`,onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,rz),i.createElementVNode("circle",{cx:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:L.value.y1+w.value.branchSize/2,r:48,fill:h.value.style.chart.backgroundColor,onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,nz),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(z.value,re=>(i.openBlock(),i.createElementBlock("g",null,[S(re)?(i.openBlock(),i.createElementBlock("path",{key:0,d:C(re),stroke:re.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,az)):i.createCommentVNode("",!0)]))),256)),i.createElementVNode("text",{x:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,y:L.value.y1+8,fill:h.value.style.chart.layout.nuts.selected.labels.core.total.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,"font-weight":h.value.style.chart.layout.nuts.selected.labels.core.total.bold?"bold":"normal","text-anchor":"middle",onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString(h.value.translations.total),11,Az),i.createElementVNode("text",{x:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,y:L.value.y1+36,fill:h.value.style.chart.layout.nuts.selected.labels.core.value.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,"font-weight":h.value.style.chart.layout.nuts.selected.labels.core.value.bold?"bold":"normal","text-anchor":"middle",onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString(h.value.style.chart.layout.nuts.selected.labels.core.value.prefix)+" "+i.toDisplayString(L.value.value.toFixed(h.value.style.chart.layout.nuts.selected.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.nuts.selected.labels.core.value.suffix),11,iz),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(z.value,(re,Ee)=>(i.openBlock(),i.createElementBlock("g",null,[S(re)?(i.openBlock(),i.createElementBlock("text",{key:0,x:b(re).x,"text-anchor":b(re).anchor,y:F(re),fill:re.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,style:i.normalizeStyle(`font-weight:${h.value.style.chart.layout.nuts.selected.labels.dataLabels.bold?"bold":""}`),class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")}," ⬤ ",14,oz)):i.createCommentVNode("",!0),S(re)?(i.openBlock(),i.createElementBlock("text",{key:1,x:b(re,!0).x,"text-anchor":b(re,!0).anchor,y:F(re),fill:h.value.style.chart.layout.nuts.selected.labels.dataLabels.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,style:i.normalizeStyle(`font-weight:${h.value.style.chart.layout.nuts.selected.labels.dataLabels.bold?"bold":""}`),class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString(L.value.breakdown[Ee].name),15,sz)):i.createCommentVNode("",!0)]))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(z.value,(re,Ee)=>(i.openBlock(),i.createElementBlock("g",null,[S(re)?(i.openBlock(),i.createElementBlock("text",{key:0,x:b(re,!0).x,"text-anchor":b(re).anchor,y:F(re)+h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,fill:h.value.style.chart.layout.nuts.selected.labels.dataLabels.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,style:i.normalizeStyle(`font-weight:${h.value.style.chart.layout.nuts.selected.labels.dataLabels.bold?"bold":""}`),class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString((L.value.breakdown[Ee].value/L.value.value*100).toFixed(h.value.style.chart.layout.nuts.selected.labels.roundingPercentage))+"% "+i.toDisplayString(h.value.translations.of)+" "+i.toDisplayString(L.value.breakdown[Ee].branchName)+" ("+i.toDisplayString(h.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix)+" "+i.toDisplayString(L.value.breakdown[Ee].value)+" "+i.toDisplayString(h.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix)+") ",15,lz)):i.createCommentVNode("",!0),S(re)?(i.openBlock(),i.createElementBlock("text",{key:1,x:b(re,!0).x,"text-anchor":b(re).anchor,y:F(re)+h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize*2,fill:h.value.style.chart.layout.nuts.selected.labels.dataLabels.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,style:i.normalizeStyle(`font-weight:${h.value.style.chart.layout.nuts.selected.labels.dataLabels.bold?"bold":""}`),class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString((L.value.breakdown[Ee].proportionToRoot*100).toFixed(h.value.style.chart.layout.nuts.selected.labels.roundingPercentage))+"% "+i.toDisplayString(h.value.translations.of)+" "+i.toDisplayString(L.value.breakdown[Ee].rootName),15,cz)):i.createCommentVNode("",!0),S(re)?(i.openBlock(),i.createElementBlock("text",{key:2,x:b(re,!0).x,"text-anchor":b(re).anchor,y:F(re)+h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize*3,fill:h.value.style.chart.layout.nuts.selected.labels.dataLabels.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,style:i.normalizeStyle(`font-weight:${h.value.style.chart.layout.nuts.selected.labels.dataLabels.bold?"bold":""}`),class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString((L.value.breakdown[Ee].proportionToTree*100).toFixed(h.value.style.chart.layout.nuts.selected.labels.roundingPercentage))+"% "+i.toDisplayString(h.value.translations.proportionToTree),15,uz)):i.createCommentVNode("",!0)]))),256))])):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("g",null,[q.value&&q.value.id===re.id&&!L.value?(i.openBlock(),i.createElementBlock("text",{key:0,x:re.x1+6,y:re.y1+w.value.branchSize+24,"font-weight":"bold","text-anchor":"start","font-size":h.value.style.chart.layout.branches.labels.dataLabels.fontSize,fill:h.value.style.chart.layout.branches.labels.color,onClick:le},i.toDisplayString(re.name)+" : "+i.toDisplayString(h.value.style.chart.layout.branches.labels.dataLabels.prefix)+" "+i.toDisplayString(re.value.toFixed(h.value.style.chart.layout.branches.labels.dataLabels.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.branches.labels.dataLabels.suffix),9,hz)):i.createCommentVNode("",!0),q.value&&q.value.id===re.id&&!L.value?(i.openBlock(),i.createElementBlock("text",{key:1,x:re.x1+6,y:re.y1+w.value.branchSize+48,"text-anchor":"start","font-size":h.value.style.chart.layout.branches.labels.dataLabels.fontSize,fill:h.value.style.chart.layout.branches.labels.color,onClick:le},i.toDisplayString((re.proportionToRoot*100).toFixed(h.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage))+"% "+i.toDisplayString(h.value.translations.of)+" "+i.toDisplayString(re.rootName),9,fz)):i.createCommentVNode("",!0),q.value&&q.value.id===re.id&&!L.value?(i.openBlock(),i.createElementBlock("text",{key:2,x:re.x1+6,y:re.y1+w.value.branchSize+72,"text-anchor":"start","font-size":h.value.style.chart.layout.branches.labels.dataLabels.fontSize,fill:h.value.style.chart.layout.branches.labels.color,onClick:le},i.toDisplayString((re.value/v.value*100).toFixed(h.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage))+"% "+i.toDisplayString(h.value.translations.proportionToTree),9,dz)):i.createCommentVNode("",!0)]))),256))],12,e$)):i.createCommentVNode("",!0),d.value.showTable?(i.openBlock(),i.createElementBlock("div",{key:2,onClick:Ce,class:"vue-ui-chestnut-table",style:"width:100%;overflow-x:auto"},[i.createElementVNode("table",null,[i.createElementVNode("thead",null,[h.value.style.chart.layout.title.text?(i.openBlock(),i.createElementBlock("tr",gz,[i.createElementVNode("th",{colspan:"12",style:i.normalizeStyle(`background:${h.value.table.th.backgroundColor};color:${h.value.table.th.color};outline:${h.value.table.th.outline}`)},[i.createElementVNode("span",null,i.toDisplayString(h.value.style.chart.layout.title.text),1),h.value.style.chart.layout.title.subtitle.text?(i.openBlock(),i.createElementBlock("span",pz," : "+i.toDisplayString(h.value.style.chart.layout.title.subtitle.text),1)):i.createCommentVNode("",!0)],4)])):i.createCommentVNode("",!0),i.createElementVNode("tr",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(J.value.head,re=>(i.openBlock(),i.createElementBlock("th",{style:i.normalizeStyle(`background:${h.value.table.th.backgroundColor};color:${h.value.table.th.color};outline:${h.value.table.th.outline}`)},i.toDisplayString(re),5))),256))])]),i.createElementVNode("tbody",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(J.value.body,(re,Ee)=>(i.openBlock(),i.createElementBlock("tr",null,[i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].rootName===re.rootName?(i.openBlock(),i.createElementBlock("span",mz)):(i.openBlock(),i.createElementBlock("span",vz,i.toDisplayString(re.rootName),1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].rootName===re.rootName?(i.openBlock(),i.createElementBlock("span",yz)):(i.openBlock(),i.createElementBlock("span",wz,i.toDisplayString(re.rootValue.toFixed(h.value.table.td.roundingValue)),1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].rootName===re.rootName?(i.openBlock(),i.createElementBlock("span",Bz)):(i.openBlock(),i.createElementBlock("span",xz,i.toDisplayString((re.rootToTotal*100).toFixed(h.value.table.td.roundingPercentage))+"% ",1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].branchName===re.branchName?(i.openBlock(),i.createElementBlock("span",bz)):(i.openBlock(),i.createElementBlock("span",Cz,i.toDisplayString(re.branchName),1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].branchName===re.branchName?(i.openBlock(),i.createElementBlock("span",Ez)):(i.openBlock(),i.createElementBlock("span",Fz,i.toDisplayString(re.branchValue.toFixed(h.value.table.td.roundingValue)),1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].branchName===re.branchName?(i.openBlock(),i.createElementBlock("span",_z)):(i.openBlock(),i.createElementBlock("span",Sz,i.toDisplayString((re.branchToRoot*100).toFixed(h.value.table.td.roundingPercentage))+"% ",1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].branchName===re.branchName?(i.openBlock(),i.createElementBlock("span",kz)):(i.openBlock(),i.createElementBlock("span",Tz,i.toDisplayString((re.branchToTotal*100).toFixed(h.value.table.td.roundingPercentage))+"% ",1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},i.toDisplayString(re.nutName),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},i.toDisplayString(re.nutValue.toFixed(h.value.table.td.roundingValue)),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},i.toDisplayString((re.nutToBranch*100).toFixed(h.value.table.td.roundingPercentage))+"% ",5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},i.toDisplayString((re.nutToRoot*100).toFixed(h.value.table.td.roundingPercentage))+"% ",5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},i.toDisplayString((re.nutToTotal*100).toFixed(h.value.table.td.roundingPercentage))+"% ",5)]))),256))])])])):i.createCommentVNode("",!0)],12,GV))}},[["__scopeId","data-v-6650dd2d"]]),QAe="",Lz=["id"],Uz={class:"vue-ui-onion-user-option-item"},Iz=["id","name"],Dz=["for"],Qz={class:"vue-ui-onion-user-option-item"},Oz=["id","name"],Pz=["for"],Mz=["disabled"],Rz=["stroke"],Hz=[i.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-82c99d17></path><path d="M18 16v.01" data-v-82c99d17></path><path d="M6 16v.01" data-v-82c99d17></path><path d="M12 5v.01" data-v-82c99d17></path><path d="M12 12v.01" data-v-82c99d17></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-82c99d17></path>',6)],Vz={key:1},$z=["viewBox"],zz=["id"],Kz=["stop-color"],Gz=["stop-color"],jz=["stop-color"],Wz={key:0},Xz=["font-size","fill","x","y"],qz=["font-size","fill","x","y"],Yz=["cx","cy","r","stroke","stroke-width","stroke-dasharray","stroke-dashoffset"],Jz=["cx","cy","r","stroke","stroke-width","stroke-dasharray","stroke-dashoffset"],Zz={key:1},eK=["cx","cy","r","fill"],tK={key:2},rK=["x","y","font-size","fill","font-weight"],nK=["y","height"],aK=["onClick"],AK=["onClick"],iK={key:0},oK={key:0},sK=["colspan"],lK=_A({__name:"vue-ui-onion",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:e,emit:r}){const n=t,a=i.ref(`vue-ui-onion-${Math.random()}`),A=i.ref(FA.vue_ui_onion),o=i.ref(!1),s=i.ref(null),l=i.ref(null),c=i.computed(()=>{if(!Object.keys(n.config||{}).length)return A.value;const O=qa({defaultConfig:A.value,userConfig:n.config});return Ya(O)}),u=i.ref({inside:!c.value.style.chart.layout.useDiv,showTable:c.value.table.show}),p=i.computed(()=>{const O=u.value.inside?80:64;return{height:512,width:512,padding:{top:O,left:O,right:O,bottom:O}}}),h=i.computed(()=>({top:p.value.padding.top,left:p.value.padding.left,right:p.value.width-p.value.padding.right,bottom:p.value.height-p.value.padding.bottom,centerX:p.value.width/2,centerY:p.value.height/2,width:p.value.width-p.value.padding.right-p.value.padding.left,height:p.value.height-p.value.padding.bottom-p.value.padding.top,minRadius:64,maxRadius:p.value.width-p.value.padding.right-p.value.padding.left})),d=i.computed(()=>n.dataset.map((O,X)=>({...O,color:Nr(O.color)||Ut[X],id:`onion_serie_${X}_${a.value}`}))),w=i.ref([]),g=i.computed(()=>d.value.filter(O=>!w.value.includes(O.id)).length),v=i.computed(()=>({gutter:h.value.width/2/g.value*c.value.style.chart.layout.gutter.width,track:h.value.width/2/g.value*c.value.style.chart.layout.track.width})),m=i.computed(()=>d.value.filter(O=>!w.value.includes(O.id)).map((O,X)=>{const T=(h.value.maxRadius-v.value.track)/g.value/2*(1+X),L=h.value.centerY-(h.value.centerY-h.value.top-c.value.style.chart.layout.labels.fontSize)/g.value*(X+1);return{...O,labelY:L,radius:T,path:_(T,O.percentage)}}));function _(O,X){const T=O*(1.5+(X/100>.3333333333333333?0:1-X/100))*Math.PI,L=O*1.5*Math.PI;return{bgDashArray:`${L} ${L}`,bgDashOffset:L-X/100*L,dashArray:`${T} ${T}`,dashOffset:T-X/100*T,fullOffset:0,active:`M${h.value.centerX},${h.value.centerY} A ${O},${O} 0 0 0 ${h.value.right},${h.value.top}`}}function N(O){w.value.includes(O)?w.value=w.value.filter(X=>X!==O):w.value.push(O),r("selectLegend",m.value)}function D(){return m.value}e({getData:D});const K=i.computed(()=>{const O=[c.value.table.translations.serie,c.value.table.translations.percentage,c.value.table.translations.value],X=m.value.map(T=>[T.name,T.percentage,T.value]);return{head:O,body:X}});function G(){o.value=!0,i.nextTick(()=>{zA({domElement:document.getElementById(`vue-ui-onion_${a.value}`),fileName:c.value.style.chart.title.text||"vue-ui-onion"}).finally(()=>{o.value=!1})})}function I(){i.nextTick(()=>{const O=[[c.value.style.chart.title.text],[c.value.style.chart.title.subtitle.text],[""]],X=K.value.head,T=K.value.body,L=O.concat([X]).concat(T);JA(L,c.value.style.chart.title.text||"vue-ui-onion")})}function U(){l.value&&l.value.removeAttribute("open")}return(O,X)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-onion",ref_key:"onionChart",ref:s,id:`vue-ui-onion_${a.value}`,style:i.normalizeStyle(`font-family:${c.value.style.fontFamily};width:100%; text-align:center`)},[(!u.value.inside||o.value)&&c.value.style.chart.title.text?(i.openBlock(),i.createElementBlock("div",{key:0,style:i.normalizeStyle(`width:100%;background:${c.value.style.chart.backgroundColor}`)},[i.createElementVNode("div",{style:i.normalizeStyle(`width:100%;text-align:center;color:${c.value.style.chart.title.color};font-size:${c.value.style.chart.title.fontSize}px;font-weight:${c.value.style.chart.title.bold?"bold":""}`)},i.toDisplayString(c.value.style.chart.title.text),5),c.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("div",{key:0,style:i.normalizeStyle(`width:100%;text-align:center;color:${c.value.style.chart.title.subtitle.color};font-size:${c.value.style.chart.title.subtitle.fontSize}px;font-weight:${c.value.style.chart.title.subtitle.bold?"bold":""}`)},i.toDisplayString(c.value.style.chart.title.subtitle.text),5)):i.createCommentVNode("",!0)],4)):i.createCommentVNode("",!0),c.value.userOptions.show?(i.openBlock(),i.createElementBlock("details",{key:1,class:"vue-ui-onion-user-options",style:i.normalizeStyle(`background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`),"data-html2canvas-ignore":"",ref_key:"details",ref:l},[i.createElementVNode("summary",{style:i.normalizeStyle(`background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)},i.toDisplayString(c.value.userOptions.title),5),i.createElementVNode("div",{class:"vue-ui-onion-user-options-items",style:i.normalizeStyle(`background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)},[i.createElementVNode("div",Uz,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-onion-option-title_${a.value}`,name:`vue-ui-onion-option-title_${a.value}`,"onUpdate:modelValue":X[0]||(X[0]=T=>u.value.inside=T)},null,8,Iz),[[i.vModelCheckbox,u.value.inside]]),i.createElementVNode("label",{for:`vue-ui-onion-option-title_${a.value}`},i.toDisplayString(c.value.userOptions.labels.useDiv),9,Dz)]),i.createElementVNode("div",Qz,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-onion-option-table_${a.value}`,name:`vue-ui-onion-option-table_${a.value}`,"onUpdate:modelValue":X[1]||(X[1]=T=>u.value.showTable=T)},null,8,Oz),[[i.vModelCheckbox,u.value.showTable]]),i.createElementVNode("label",{for:`vue-ui-onion-option-table_${a.value}`},i.toDisplayString(c.value.userOptions.labels.showTable),9,Pz)]),i.createElementVNode("button",{class:"vue-ui-onion-button",onClick:G,disabled:o.value,style:i.normalizeStyle([{"margin-top":"12px"},`background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`])},[o.value?(i.openBlock(),i.createElementBlock("svg",{key:0,class:"vue-ui-onion-print-icon",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c.value.style.chart.color,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},Hz,8,Rz)):(i.openBlock(),i.createElementBlock("span",Vz,"PDF"))],12,Mz),i.createElementVNode("button",{class:"vue-ui-onion-button",onClick:I,style:i.normalizeStyle(`background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)}," XLSX ",4)],4)],4)):i.createCommentVNode("",!0),(i.openBlock(),i.createElementBlock("svg",{viewBox:`0 0 ${p.value.width} ${p.value.height}`,style:i.normalizeStyle(`max-width:100%;overflow:visible;background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`),onClick:U},[i.createElementVNode("defs",null,[i.createElementVNode("radialGradient",{id:`onion_gradient_${a.value}`},[i.createElementVNode("stop",{offset:"0%","stop-color":`${i.unref(Nr)(c.value.style.chart.backgroundColor)}00`},null,8,Kz),i.createElementVNode("stop",{offset:"90%","stop-color":"#FFFFFF"+i.unref(Ar)[c.value.style.chart.gradientIntensity]},null,8,Gz),i.createElementVNode("stop",{offset:"100%","stop-color":`${i.unref(Nr)(c.value.style.chart.backgroundColor)}00`},null,8,jz)],8,zz)]),c.value.style.chart.title.text&&u.value.inside&&!o.value?(i.openBlock(),i.createElementBlock("g",Wz,[i.createElementVNode("text",{"font-size":c.value.style.chart.title.fontSize,fill:c.value.style.chart.title.color,x:p.value.width/2,y:c.value.style.chart.title.fontSize,"text-anchor":"middle",style:i.normalizeStyle(`font-weight:${c.value.style.chart.title.bold?"bold":""}`)},i.toDisplayString(c.value.style.chart.title.text),13,Xz),c.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("text",{key:0,"font-size":c.value.style.chart.title.subtitle.fontSize,fill:c.value.style.chart.title.subtitle.color,x:p.value.width/2,y:c.value.style.chart.title.fontSize*2,"text-anchor":"middle",style:i.normalizeStyle(`font-weight:${c.value.style.chart.title.subtitle.bold?"bold":""}`)},i.toDisplayString(c.value.style.chart.title.subtitle.text),13,qz)):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(m.value,T=>(i.openBlock(),i.createElementBlock("circle",{cx:h.value.centerX,cy:h.value.centerY,r:T.radius,stroke:c.value.style.chart.layout.gutter.color,"stroke-width":v.value.gutter,fill:"none","stroke-dasharray":T.path.bgDashArray,"stroke-dashoffset":T.path.fullOffset,"stroke-linecap":"round",class:"vue-ui-onion-path",style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,Yz))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(m.value,T=>(i.openBlock(),i.createElementBlock("circle",{cx:h.value.centerX,cy:h.value.centerY,r:T.radius,stroke:`${T.color}`,"stroke-width":v.value.track,fill:"none","stroke-dasharray":T.path.dashArray,"stroke-dashoffset":T.path.dashOffset,class:"vue-ui-onion-path","stroke-linecap":"round",style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,Jz))),256)),c.value.style.chart.useGradient?(i.openBlock(),i.createElementBlock("g",Zz,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(m.value,T=>(i.openBlock(),i.createElementBlock("circle",{cx:h.value.centerX,cy:h.value.centerY,r:T.radius*1.1,stroke:"none",fill:`url(#onion_gradient_${a.value})`,style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,eK))),256))])):i.createCommentVNode("",!0),c.value.style.chart.layout.labels.show?(i.openBlock(),i.createElementBlock("g",tK,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(m.value,T=>(i.openBlock(),i.createElementBlock("g",null,[w.value.includes(T.id)?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("text",{key:0,x:p.value.width/2-v.value.gutter*.8+c.value.style.chart.layout.labels.offsetX,y:T.labelY,"text-anchor":"end","font-size":c.value.style.chart.layout.labels.fontSize,fill:c.value.style.chart.layout.labels.color,"font-weight":c.value.style.chart.layout.labels.bold?"bold":"normal"},i.toDisplayString(T.name)+" "+i.toDisplayString(c.value.style.chart.layout.labels.percentage.show?` : ${T.percentage.toFixed(c.value.style.chart.layout.labels.roundingPercentage)}%`:"")+" "+i.toDisplayString(!c.value.style.chart.layout.labels.percentage.show&&c.value.style.chart.layout.labels.value.show?` : ${T.value?`${T.prefix}${T.value.toFixed(c.value.style.chart.layout.labels.roundingValue)}${T.suffix}`:""}`:`${c.value.style.chart.layout.labels.value.show&&T.value?`(${T.prefix}${T.value.toFixed(c.value.style.chart.layout.labels.roundingValue)}${T.suffix})`:""}`),9,rK))]))),256))])):i.createCommentVNode("",!0),c.value.style.chart.legend.show&&u.value.inside&&!o.value?(i.openBlock(),i.createElementBlock("foreignObject",{key:3,x:0,y:h.value.bottom,width:"100%",height:p.value.height-h.value.bottom,style:{overflow:"visible"}},[i.createElementVNode("div",{class:"vue-ui-onion-legend",style:i.normalizeStyle(`color:${c.value.style.chart.legend.color};font-size:${c.value.style.chart.legend.fontSize}px;padding-bottom:12px;font-weight:${c.value.style.chart.legend.bold?"bold":""}`),onClick:U},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(d.value,(T,L)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-onion-legend-item",onClick:z=>N(T.id),style:i.normalizeStyle(`opacity:${w.value.includes(T.id)?.5:1}`)},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${T.color};font-size:${c.value.style.chart.legend.fontSize}px`)},"⬤",4),i.createElementVNode("span",null,i.toDisplayString(T.name)+" : ",1),i.createElementVNode("span",null,i.toDisplayString(T.percentage.toFixed(c.value.style.chart.legend.roundingPercentage))+"% ",1)],12,aK))),256))],4)],8,nK)):i.createCommentVNode("",!0)],12,$z)),c.value.style.chart.legend.show&&(!u.value.inside||o.value)?(i.openBlock(),i.createElementBlock("div",{key:2,class:"vue-ui-onion-legend",style:i.normalizeStyle(`background:${c.value.style.chart.legend.backgroundColor};color:${c.value.style.chart.legend.color};font-size:${c.value.style.chart.legend.fontSize}px;padding-bottom:12px;font-weight:${c.value.style.chart.legend.bold?"bold":""}`),onClick:U},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(d.value,(T,L)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-onion-legend-item",onClick:z=>N(T.id),style:i.normalizeStyle(`opacity:${w.value.includes(T.id)?.5:1}`)},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${T.color};font-size:${c.value.style.chart.legend.fontSize}px`)},"⬤",4),i.createElementVNode("span",null,i.toDisplayString(T.name)+" : ",1),i.createElementVNode("span",null,i.toDisplayString(T.percentage.toFixed(c.value.style.chart.legend.roundingPercentage))+"% ",1)],12,AK))),256))],4)):i.createCommentVNode("",!0),u.value.showTable?(i.openBlock(),i.createElementBlock("div",{key:3,onClick:U,class:"vue-ui-onion-table",style:i.normalizeStyle(`width:100%;margin-top:${u.value.inside?"48px":""}`)},[i.createElementVNode("table",null,[i.createElementVNode("thead",null,[c.value.style.chart.title.text?(i.openBlock(),i.createElementBlock("tr",iK,[i.createElementVNode("th",{colspan:"3",style:i.normalizeStyle(`background:${c.value.table.th.backgroundColor};color:${c.value.table.th.color};outline:${c.value.table.th.outline}`)},[i.createElementVNode("span",null,i.toDisplayString(c.value.style.chart.title.text),1),c.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("span",oK," : "+i.toDisplayString(c.value.style.chart.title.subtitle.text),1)):i.createCommentVNode("",!0)],4)])):i.createCommentVNode("",!0),i.createElementVNode("tr",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(K.value.head,T=>(i.openBlock(),i.createElementBlock("th",{colspan:T.color?2:1,style:i.normalizeStyle(`background:${c.value.table.th.backgroundColor};color:${c.value.table.th.color};outline:${c.value.table.th.outline}`)},i.toDisplayString(T),13,sK))),256))])]),i.createElementVNode("tbody",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(m.value,T=>(i.openBlock(),i.createElementBlock("tr",null,[i.createElementVNode("td",{style:i.normalizeStyle(`background:${c.value.table.td.backgroundColor};color:${c.value.table.td.color};outline:${c.value.table.td.outline}`)},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${T.color}`)}," ⬤ ",4),i.createTextVNode(" "+i.toDisplayString(T.name),1)],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${c.value.table.td.backgroundColor};color:${c.value.table.td.color};outline:${c.value.table.td.outline}`)},i.toDisplayString(isNaN(T.percentage)?"":T.percentage.toFixed(c.value.table.td.roundingPercentage))+"% ",5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${c.value.table.td.backgroundColor};color:${c.value.table.td.color};outline:${c.value.table.td.outline}`)},i.toDisplayString(T.prefix)+i.toDisplayString(isNaN(T.value)?"":T.value.toFixed(c.value.table.td.roundingValue))+i.toDisplayString(T.suffix),5)]))),256))])])],4)):i.createCommentVNode("",!0)],12,Lz))}},[["__scopeId","data-v-82c99d17"]]),MAe="",cK=["id"],uK={class:"vue-ui-vertical-bar-user-option-item"},hK=["id","name"],fK=["for"],dK={class:"vue-ui-vertical-bar-user-option-item"},gK=["id","name"],pK=["for"],mK=["disabled"],vK=["stroke"],yK=[i.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-50dc759b></path><path d="M18 16v.01" data-v-50dc759b></path><path d="M6 16v.01" data-v-50dc759b></path><path d="M12 5v.01" data-v-50dc759b></path><path d="M12 12v.01" data-v-50dc759b></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-50dc759b></path>',6)],wK={key:1},BK=["viewBox"],xK=["id"],bK=["stop-color"],CK=["stop-color"],EK={key:0},FK=["font-size","fill","x","y"],_K=["font-size","fill","x","y"],SK=["x","y","width","height","fill","rx"],kK=["x","y","width","height","fill","rx","stroke","stroke-width"],TK=["x2","y1","y2","stroke","stroke-width"],NK=["x","y","font-size","fill","font-weight"],LK=["x","y","font-size","fill","font-weight"],UK=["x","y","font-size","fill","font-weight"],IK=["x","y","font-size","fill","font-weight"],DK=["y","width","height","fill","onMouseenter"],QK=["y","height"],OK=["onClick"],PK=["onClick"],MK=["innerHTML"],RK={key:0},HK={key:0},VK={style:{width:"100%"}},$K=_A({__name:"vue-ui-vertical-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:e,emit:r}){const n=t,a=i.ref(`vue-ui-vertical-bar-${Math.random()}`),A=i.ref(FA.vue_ui_vertical_bar),o=i.ref(!1),s=i.ref(null),l=i.ref(null),c=i.ref(null),u=i.ref({x:0,y:0}),p=i.ref(!1),h=i.ref(""),d=i.ref(0),w=i.ref(null);i.onMounted(()=>{document.addEventListener("mousemove",g),d.value=n.dataset.flatMap(B=>B.children&&B.children.length>0?B.children.length:1).reduce((B,C)=>B+C,0)}),i.onBeforeUnmount(()=>{document.removeEventListener("mousemove",g)});function g(B){u.value.x=B.clientX,u.value.y=B.clientY}const v=i.computed(()=>{let B=0,C=48;if(l.value&&s.value){const{width:S,height:V}=l.value.getBoundingClientRect(),J=s.value.getBoundingClientRect();u.value.x+S/2>J.right?B=-S:u.value.x-S/2<J.left?B=0:B=-S/2,u.value.y+V>J.bottom&&(C=-V-48)}return{top:u.value.y+C,left:u.value.x+B}}),m=i.computed(()=>{if(!Object.keys(n.config||{}).length)return A.value;const B=qa({defaultConfig:A.value,userConfig:n.config});return Ya(B)}),_=i.ref({inside:!m.value.style.chart.layout.useDiv,showTable:m.value.table.show}),N=i.computed(()=>n.dataset.map((B,C)=>({...B,id:`vertical_parent_${C}_${a.value}`,hasChildren:!!B.children&&B.children.length>0,isChild:!1,color:Nr(B.color)||Ut[C]||Ut[C%Ut.length],children:!B.children||!B.children.length?[]:B.children.map((S,V)=>({...S,isChild:!0,parentId:`vertical_parent_${C}_${a.value}`,parentName:B.name,parentValue:B.value,id:`vertical_child_${C}_${V}_${a.value}`,childIndex:V,color:Nr(S.color)||Nr(B.color)||Ut[C]||Ut[C%Ut.length]})).sort((S,V)=>V.value-S.value).map((S,V)=>({...S,isFirstChild:V===0,isLastChild:V===B.children.length-1}))})).sort((B,C)=>C.value-B.value)),D=i.computed(()=>({width:512,height:(m.value.style.chart.layout.bars.height+m.value.style.chart.layout.bars.gap)*d.value,padding:{top:_.value.inside?64:12,left:128+m.value.style.chart.layout.bars.offsetX,right:64+m.value.style.chart.layout.bars.paddingRight,bottom:_.value.inside?92:12}})),K=i.computed(()=>({fullHeight:D.value.padding.top+D.value.padding.bottom+D.value.height,top:D.value.padding.top,left:D.value.padding.left,right:D.value.width-D.value.padding.right,bottom:D.value.padding.top+D.value.height,width:D.value.width-(D.value.padding.left+D.value.padding.right)}));function G(){d.value=O.value.flatMap(B=>B.children&&B.children.length>0?B.children.length:1).reduce((B,C)=>B+C,0)}const I=i.ref([]);function U(B){I.value.includes(B)?I.value=I.value.filter(C=>C!==B):I.value.push(B),G(),r("selectLegend",O.value)}const O=i.computed(()=>N.value.filter(B=>!I.value.includes(B.id))),X=i.computed(()=>O.value.map(B=>B.value).reduce((B,C)=>B+C));function T(B,C=!1,S=0){return C?(B/X.value*100).toFixed(S)+"%":B/X.value}const L=i.computed(()=>O.value.flatMap(B=>B.hasChildren?B.children:B)),z=i.computed(()=>Math.max(...O.value.flatMap(B=>B.children&&B.children.length?Math.max(...B.children.map(C=>C.value)):B.value)));function q(B){const C=B/z.value;return K.value.width*C}function se(B){return q(B)+K.value.left}function le(B,C){const S=O.value.find(ce=>ce.id===B.parentId),V=K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*C,J=S.children.length*(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height);return{y:V+J/2,name:S.name,value:[void 0,NaN,null].includes(S.value)?"":S.value.toFixed(m.value.style.chart.layout.bars.dataLabels.value.roundingValue),percentageToTotal:isNaN(S.value/X.value)?"":T(S.value,!0,m.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)}}function he(){return O.value}e({getData:he,recalculateHeight:G});const de=i.ref(null);function ge(B){p.value=!0,de.value=B.id;let C="";const S=B.isChild?B.parentName:B.name,V=B.isChild?B.name:"";C+=`<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;text-align:left;">
378
+ `,stroke:`${re.color}${i.unref(Ar)[h.value.style.chart.layout.links.opacity]}`,fill:"none","stroke-width":"2","shape-rendering":"cirspEdges",style:i.normalizeStyle(`opacity:${he(re)?1:0}`),onClick:le},null,12,E$))),256))]))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(I.value,re=>(i.openBlock(),i.createElementBlock("circle",{cx:re.x,cy:re.y,r:re.r,fill:h.value.style.chart.layout.roots.underlayerColor,stroke:"none",style:i.normalizeStyle(`cursor:pointer; opacity:${he(re)?1:.05}`)},null,12,F$))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(I.value,re=>(i.openBlock(),i.createElementBlock("circle",{cx:re.x,cy:re.y,r:re.r,fill:h.value.style.chart.layout.roots.useGradient?`url(#root_gradient_${a.value}_${re.rootIndex})`:re.color,stroke:h.value.style.chart.layout.roots.stroke,"stroke-width":h.value.style.chart.layout.roots.strokeWidth,style:i.normalizeStyle(`cursor:pointer; opacity:${he(re)?1:.05}`),onClick:Ee=>Ue(re)},null,12,_$))),256)),h.value.style.chart.layout.roots.labels.show?(i.openBlock(),i.createElementBlock("g",S$,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(I.value,re=>(i.openBlock(),i.createElementBlock("text",{x:re.x,y:re.y+h.value.style.chart.layout.roots.labels.fontSize/2.6,"text-anchor":"middle","font-size":h.value.style.chart.layout.roots.labels.fontSize,fill:h.value.style.chart.layout.roots.labels.adaptColorToBackground?i.unref(ax)(re.color):h.value.style.chart.layout.roots.labels.color,"font-weight":"bold",style:i.normalizeStyle(`cursor:pointer; opacity:${he(re)?1:.05}`),onClick:Ee=>Ue(re)},i.toDisplayString(h.value.style.chart.layout.roots.labels.prefix)+" "+i.toDisplayString(re.total.toFixed(h.value.style.chart.layout.roots.labels.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.roots.labels.suffix),13,k$))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(I.value,re=>(i.openBlock(),i.createElementBlock("g",null,[L.value&&re.rootIndex===L.value.rootIndex||q.value&&re.rootIndex===q.value.rootIndex||se.value&&re.rootIndex===se.value.rootIndex?(i.openBlock(),i.createElementBlock("g",T$,[i.createElementVNode("text",{x:re.x,y:re.y+re.r+24,"text-anchor":"middle",fill:h.value.style.chart.layout.roots.labels.name.color,"font-size":h.value.style.chart.layout.roots.labels.name.fontSize,"font-weight":h.value.style.chart.layout.roots.labels.name.bold?"bold":"normal",onClick:le},i.toDisplayString(re.name),9,N$)])):i.createCommentVNode("",!0)]))),256))])):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("rect",{x:re.x1,y:re.y1,height:w.value.branchSize,width:re.x2-re.x1,fill:h.value.style.chart.layout.branches.underlayerColor,rx:h.value.style.chart.layout.branches.borderRadius,stroke:"none",style:i.normalizeStyle(`opacity:${he(re)?1:.05}`),onClick:Ee=>ye(re)},null,12,L$))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("rect",{x:re.x1,y:re.y1,height:w.value.branchSize,width:re.x2-re.x1,fill:h.value.style.chart.layout.branches.useGradient?`url(#branch_gradient_${a.value}_${re.rootIndex})`:re.color,rx:h.value.style.chart.layout.branches.borderRadius,stroke:h.value.style.chart.layout.branches.stroke,"stroke-width":h.value.style.chart.layout.branches.strokeWidth,style:i.normalizeStyle(`cursor:pointer; opacity:${he(re)?1:.05}`),onClick:Ee=>ye(re)},null,12,U$))),256)),h.value.style.chart.layout.branches.labels.dataLabels.show?(i.openBlock(),i.createElementBlock("g",I$,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("g",null,[re.proportionToRoot*100>h.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue?(i.openBlock(),i.createElementBlock("text",{key:0,x:re.x1+6,y:re.y1+w.value.branchSize/1.5,"text-anchor":"start",fill:i.unref(ax)(re.color),"font-size":h.value.style.chart.layout.branches.labels.dataLabels.fontSize,"font-weight":"bold",style:i.normalizeStyle(`cursor:pointer; opacity:${he(re)?1:.05}`),onClick:Ee=>ye(re)},i.toDisplayString(h.value.style.chart.layout.branches.labels.dataLabels.prefix)+" "+i.toDisplayString(re.value.toFixed(h.value.style.chart.layout.branches.labels.dataLabels.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.branches.labels.dataLabels.suffix),13,D$)):i.createCommentVNode("",!0)]))),256))])):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("g",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(i.unref(Gh)({series:re.breakdown,base:1},re.x2+24+h.value.style.chart.layout.nuts.offsetX,re.y1+w.value.branchSize/2,w.value.branchSize/3,w.value.branchSize/3),(Ee,xe)=>(i.openBlock(),i.createElementBlock("path",{d:Ee.path,stroke:Ee.color,"stroke-width":10,fill:"none",style:i.normalizeStyle(`opacity:${he(re)?1:.1}`)},null,12,Q$))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,Ee=>(i.openBlock(),i.createElementBlock("circle",{cx:Ee.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:Ee.y1+w.value.branchSize/2,r:6,fill:h.value.style.chart.backgroundColor,onClick:xe=>de(Ee),style:{cursor:"pointer"}},null,8,O$))),256)),i.createElementVNode("circle",{fill:h.value.style.chart.layout.nuts.useGradient?`url(#nut_${a.value})`:"transparent",cx:re.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:re.y1+w.value.branchSize/2,r:w.value.branchSize/2+2,onClick:Ee=>de(re),style:i.normalizeStyle(`cursor:pointer;opacity:${he(re)?1:.1}`)},null,12,P$)]))),256)),h.value.style.chart.layout.branches.labels.show&&!q.value?(i.openBlock(),i.createElementBlock("g",M$,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("text",{x:re.x2+w.value.branchSize+24+h.value.style.chart.layout.nuts.offsetX,y:re.y1+w.value.branchSize/2+5,"font-size":h.value.style.chart.layout.branches.labels.fontSize,"font-weight":h.value.style.chart.layout.branches.labels.bold?"bold":"normal",fill:h.value.style.chart.layout.branches.labels.color,"text-anchor":"start",style:i.normalizeStyle(`opacity:${he(re)?1:.1}`)},i.toDisplayString(re.name),13,R$))),256))])):i.createCommentVNode("",!0),i.createElementVNode("line",{x1:256+w.value.padding.left,x2:256+w.value.padding.left,y1:g.value.top,y2:g.value.bottom,stroke:h.value.style.chart.layout.verticalSeparator.stroke,"stroke-width":h.value.style.chart.layout.verticalSeparator.strokeWidth},null,8,H$),!L.value&&!q.value?(i.openBlock(),i.createElementBlock("foreignObject",{key:5,x:0,y:g.value.bottom,height:w.value.height-g.value.bottom,width:w.value.width,style:{overflow:"visible"},onClick:le},[i.createElementVNode("div",$$,[i.createElementVNode("div",z$,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(I.value,re=>(i.openBlock(),i.createElementBlock("div",{style:i.normalizeStyle(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${h.value.style.chart.layout.legend.fontSize}px;`)},[(i.openBlock(),i.createElementBlock("svg",K$,[i.createElementVNode("circle",{cx:"10",cy:"10",r:"10",fill:re.color,stroke:"none"},null,8,G$)])),i.createElementVNode("span",null,i.toDisplayString(re.name),1),i.createTextVNode(" : "),i.createElementVNode("b",null,i.toDisplayString(h.value.style.chart.layout.legend.prefix)+" "+i.toDisplayString(re.total.toFixed(h.value.style.chart.layout.legend.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.legend.suffix),1),i.createTextVNode("("+i.toDisplayString((re.total/v.value*100).toFixed(h.value.style.chart.layout.legend.roundingPercentage))+"%) ",1)],4))),256))])])],8,V$)):i.createCommentVNode("",!0),L.value&&z.value?(i.openBlock(),i.createElementBlock("g",j$,[(i.openBlock(),i.createElementBlock("foreignObject",{x:0,y:B(),height:w.value.height-g.value.bottom,width:w.value.width,style:{overflow:"visible"},onClick:le},[i.createElementVNode("div",X$,[i.createElementVNode("b",null,i.toDisplayString(L.value.name),1),i.createElementVNode("div",q$,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(L.value.breakdown,(re,Ee)=>(i.openBlock(),i.createElementBlock("div",{style:i.normalizeStyle(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${h.value.style.chart.layout.legend.fontSize}px;`)},[(i.openBlock(),i.createElementBlock("svg",Y$,[i.createElementVNode("circle",{cx:"10",cy:"10",r:"10",fill:re.color,stroke:"none"},null,8,J$)])),i.createElementVNode("span",null,[i.createTextVNode(i.toDisplayString(re.name)+" : ",1),i.createElementVNode("b",null,i.toDisplayString(h.value.style.chart.layout.legend.prefix)+" "+i.toDisplayString(re.value.toFixed(h.value.style.chart.layout.nuts.selected.labels.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.legend.suffix),1),i.createTextVNode(" ("+i.toDisplayString((re.proportionToBranch*100).toFixed(h.value.style.chart.layout.nuts.selected.labels.roundingPercentage))+"%)",1)])],4))),256))])])],8,W$)),i.createElementVNode("circle",{cx:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:L.value.y1+w.value.branchSize/2,r:256,fill:`url(#nut_underlayer_${a.value})`,onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,Z$),i.createElementVNode("circle",{cx:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:L.value.y1+w.value.branchSize/2,r:118,fill:h.value.style.chart.backgroundColor,onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,ez),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(z.value,re=>(i.openBlock(),i.createElementBlock("path",{d:re.path,stroke:re.color,"stroke-width":64,fill:"none",onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,tz))),256)),i.createElementVNode("circle",{cx:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:L.value.y1+w.value.branchSize/2,r:100,fill:`url(#nutpick_${a.value})`,onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,rz),i.createElementVNode("circle",{cx:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,cy:L.value.y1+w.value.branchSize/2,r:48,fill:h.value.style.chart.backgroundColor,onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,nz),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(z.value,re=>(i.openBlock(),i.createElementBlock("g",null,[S(re)?(i.openBlock(),i.createElementBlock("path",{key:0,d:C(re),stroke:re.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},null,10,az)):i.createCommentVNode("",!0)]))),256)),i.createElementVNode("text",{x:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,y:L.value.y1+8,fill:h.value.style.chart.layout.nuts.selected.labels.core.total.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.core.total.fontSize,"font-weight":h.value.style.chart.layout.nuts.selected.labels.core.total.bold?"bold":"normal","text-anchor":"middle",onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString(h.value.translations.total),11,Az),i.createElementVNode("text",{x:L.value.x2+24+h.value.style.chart.layout.nuts.offsetX,y:L.value.y1+36,fill:h.value.style.chart.layout.nuts.selected.labels.core.value.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.core.value.fontSize,"font-weight":h.value.style.chart.layout.nuts.selected.labels.core.value.bold?"bold":"normal","text-anchor":"middle",onClick:ge,class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString(h.value.style.chart.layout.nuts.selected.labels.core.value.prefix)+" "+i.toDisplayString(L.value.value.toFixed(h.value.style.chart.layout.nuts.selected.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.nuts.selected.labels.core.value.suffix),11,iz),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(z.value,(re,Ee)=>(i.openBlock(),i.createElementBlock("g",null,[S(re)?(i.openBlock(),i.createElementBlock("text",{key:0,x:b(re).x,"text-anchor":b(re).anchor,y:F(re),fill:re.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,style:i.normalizeStyle(`font-weight:${h.value.style.chart.layout.nuts.selected.labels.dataLabels.bold?"bold":""}`),class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")}," ⬤ ",14,oz)):i.createCommentVNode("",!0),S(re)?(i.openBlock(),i.createElementBlock("text",{key:1,x:b(re,!0).x,"text-anchor":b(re,!0).anchor,y:F(re),fill:h.value.style.chart.layout.nuts.selected.labels.dataLabels.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,style:i.normalizeStyle(`font-weight:${h.value.style.chart.layout.nuts.selected.labels.dataLabels.bold?"bold":""}`),class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString(L.value.breakdown[Ee].name),15,sz)):i.createCommentVNode("",!0)]))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(z.value,(re,Ee)=>(i.openBlock(),i.createElementBlock("g",null,[S(re)?(i.openBlock(),i.createElementBlock("text",{key:0,x:b(re,!0).x,"text-anchor":b(re).anchor,y:F(re)+h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,fill:h.value.style.chart.layout.nuts.selected.labels.dataLabels.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,style:i.normalizeStyle(`font-weight:${h.value.style.chart.layout.nuts.selected.labels.dataLabels.bold?"bold":""}`),class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString((L.value.breakdown[Ee].value/L.value.value*100).toFixed(h.value.style.chart.layout.nuts.selected.labels.roundingPercentage))+"% "+i.toDisplayString(h.value.translations.of)+" "+i.toDisplayString(L.value.breakdown[Ee].branchName)+" ("+i.toDisplayString(h.value.style.chart.layout.nuts.selected.labels.dataLabels.prefix)+" "+i.toDisplayString(L.value.breakdown[Ee].value)+" "+i.toDisplayString(h.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix)+") ",15,lz)):i.createCommentVNode("",!0),S(re)?(i.openBlock(),i.createElementBlock("text",{key:1,x:b(re,!0).x,"text-anchor":b(re).anchor,y:F(re)+h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize*2,fill:h.value.style.chart.layout.nuts.selected.labels.dataLabels.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,style:i.normalizeStyle(`font-weight:${h.value.style.chart.layout.nuts.selected.labels.dataLabels.bold?"bold":""}`),class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString((L.value.breakdown[Ee].proportionToRoot*100).toFixed(h.value.style.chart.layout.nuts.selected.labels.roundingPercentage))+"% "+i.toDisplayString(h.value.translations.of)+" "+i.toDisplayString(L.value.breakdown[Ee].rootName),15,cz)):i.createCommentVNode("",!0),S(re)?(i.openBlock(),i.createElementBlock("text",{key:2,x:b(re,!0).x,"text-anchor":b(re).anchor,y:F(re)+h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize*3,fill:h.value.style.chart.layout.nuts.selected.labels.dataLabels.color,"font-size":h.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,style:i.normalizeStyle(`font-weight:${h.value.style.chart.layout.nuts.selected.labels.dataLabels.bold?"bold":""}`),class:i.normalizeClass(h.value.style.chart.layout.nuts.selected.useMotion?"vue-ui-chestnut-animated":"")},i.toDisplayString((L.value.breakdown[Ee].proportionToTree*100).toFixed(h.value.style.chart.layout.nuts.selected.labels.roundingPercentage))+"% "+i.toDisplayString(h.value.translations.proportionToTree),15,uz)):i.createCommentVNode("",!0)]))),256))])):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(X.value,re=>(i.openBlock(),i.createElementBlock("g",null,[q.value&&q.value.id===re.id&&!L.value?(i.openBlock(),i.createElementBlock("text",{key:0,x:re.x1+6,y:re.y1+w.value.branchSize+24,"font-weight":"bold","text-anchor":"start","font-size":h.value.style.chart.layout.branches.labels.dataLabels.fontSize,fill:h.value.style.chart.layout.branches.labels.color,onClick:le},i.toDisplayString(re.name)+" : "+i.toDisplayString(h.value.style.chart.layout.branches.labels.dataLabels.prefix)+" "+i.toDisplayString(re.value.toFixed(h.value.style.chart.layout.branches.labels.dataLabels.roundingValue))+" "+i.toDisplayString(h.value.style.chart.layout.branches.labels.dataLabels.suffix),9,hz)):i.createCommentVNode("",!0),q.value&&q.value.id===re.id&&!L.value?(i.openBlock(),i.createElementBlock("text",{key:1,x:re.x1+6,y:re.y1+w.value.branchSize+48,"text-anchor":"start","font-size":h.value.style.chart.layout.branches.labels.dataLabels.fontSize,fill:h.value.style.chart.layout.branches.labels.color,onClick:le},i.toDisplayString((re.proportionToRoot*100).toFixed(h.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage))+"% "+i.toDisplayString(h.value.translations.of)+" "+i.toDisplayString(re.rootName),9,fz)):i.createCommentVNode("",!0),q.value&&q.value.id===re.id&&!L.value?(i.openBlock(),i.createElementBlock("text",{key:2,x:re.x1+6,y:re.y1+w.value.branchSize+72,"text-anchor":"start","font-size":h.value.style.chart.layout.branches.labels.dataLabels.fontSize,fill:h.value.style.chart.layout.branches.labels.color,onClick:le},i.toDisplayString((re.value/v.value*100).toFixed(h.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage))+"% "+i.toDisplayString(h.value.translations.proportionToTree),9,dz)):i.createCommentVNode("",!0)]))),256))],12,e$)):i.createCommentVNode("",!0),d.value.showTable?(i.openBlock(),i.createElementBlock("div",{key:2,onClick:Ce,class:"vue-ui-chestnut-table",style:"width:100%;overflow-x:auto"},[i.createElementVNode("table",null,[i.createElementVNode("thead",null,[h.value.style.chart.layout.title.text?(i.openBlock(),i.createElementBlock("tr",gz,[i.createElementVNode("th",{colspan:"12",style:i.normalizeStyle(`background:${h.value.table.th.backgroundColor};color:${h.value.table.th.color};outline:${h.value.table.th.outline}`)},[i.createElementVNode("span",null,i.toDisplayString(h.value.style.chart.layout.title.text),1),h.value.style.chart.layout.title.subtitle.text?(i.openBlock(),i.createElementBlock("span",pz," : "+i.toDisplayString(h.value.style.chart.layout.title.subtitle.text),1)):i.createCommentVNode("",!0)],4)])):i.createCommentVNode("",!0),i.createElementVNode("tr",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(J.value.head,re=>(i.openBlock(),i.createElementBlock("th",{style:i.normalizeStyle(`background:${h.value.table.th.backgroundColor};color:${h.value.table.th.color};outline:${h.value.table.th.outline}`)},i.toDisplayString(re),5))),256))])]),i.createElementVNode("tbody",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(J.value.body,(re,Ee)=>(i.openBlock(),i.createElementBlock("tr",null,[i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].rootName===re.rootName?(i.openBlock(),i.createElementBlock("span",mz)):(i.openBlock(),i.createElementBlock("span",vz,i.toDisplayString(re.rootName),1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].rootName===re.rootName?(i.openBlock(),i.createElementBlock("span",yz)):(i.openBlock(),i.createElementBlock("span",wz,i.toDisplayString(re.rootValue.toFixed(h.value.table.td.roundingValue)),1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].rootName===re.rootName?(i.openBlock(),i.createElementBlock("span",Bz)):(i.openBlock(),i.createElementBlock("span",xz,i.toDisplayString((re.rootToTotal*100).toFixed(h.value.table.td.roundingPercentage))+"% ",1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].branchName===re.branchName?(i.openBlock(),i.createElementBlock("span",bz)):(i.openBlock(),i.createElementBlock("span",Cz,i.toDisplayString(re.branchName),1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].branchName===re.branchName?(i.openBlock(),i.createElementBlock("span",Ez)):(i.openBlock(),i.createElementBlock("span",Fz,i.toDisplayString(re.branchValue.toFixed(h.value.table.td.roundingValue)),1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].branchName===re.branchName?(i.openBlock(),i.createElementBlock("span",_z)):(i.openBlock(),i.createElementBlock("span",Sz,i.toDisplayString((re.branchToRoot*100).toFixed(h.value.table.td.roundingPercentage))+"% ",1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},[J.value.body[Ee-1]&&J.value.body[Ee-1].branchName===re.branchName?(i.openBlock(),i.createElementBlock("span",kz)):(i.openBlock(),i.createElementBlock("span",Tz,i.toDisplayString((re.branchToTotal*100).toFixed(h.value.table.td.roundingPercentage))+"% ",1))],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},i.toDisplayString(re.nutName),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},i.toDisplayString(re.nutValue.toFixed(h.value.table.td.roundingValue)),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},i.toDisplayString((re.nutToBranch*100).toFixed(h.value.table.td.roundingPercentage))+"% ",5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},i.toDisplayString((re.nutToRoot*100).toFixed(h.value.table.td.roundingPercentage))+"% ",5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${h.value.table.td.backgroundColor};color:${h.value.table.td.color};outline:${h.value.table.td.outline}`)},i.toDisplayString((re.nutToTotal*100).toFixed(h.value.table.td.roundingPercentage))+"% ",5)]))),256))])])])):i.createCommentVNode("",!0)],12,GV))}},[["__scopeId","data-v-6650dd2d"]]),QAe="",Lz=["id"],Uz={class:"vue-ui-onion-user-option-item"},Iz=["id","name"],Dz=["for"],Qz={class:"vue-ui-onion-user-option-item"},Oz=["id","name"],Pz=["for"],Mz=["disabled"],Rz=["stroke"],Hz=[i.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-82c99d17></path><path d="M18 16v.01" data-v-82c99d17></path><path d="M6 16v.01" data-v-82c99d17></path><path d="M12 5v.01" data-v-82c99d17></path><path d="M12 12v.01" data-v-82c99d17></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-82c99d17></path>',6)],Vz={key:1},$z=["viewBox"],zz=["id"],Kz=["stop-color"],Gz=["stop-color"],jz=["stop-color"],Wz={key:0},Xz=["font-size","fill","x","y"],qz=["font-size","fill","x","y"],Yz=["cx","cy","r","stroke","stroke-width","stroke-dasharray","stroke-dashoffset"],Jz=["cx","cy","r","stroke","stroke-width","stroke-dasharray","stroke-dashoffset"],Zz={key:1},eK=["cx","cy","r","fill"],tK={key:2},rK=["x","y","font-size","fill","font-weight"],nK=["y","height"],aK=["onClick"],AK=["onClick"],iK={key:0},oK={key:0},sK=["colspan"],lK=_A({__name:"vue-ui-onion",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:e,emit:r}){const n=t,a=i.ref(`vue-ui-onion-${Math.random()}`),A=i.ref(FA.vue_ui_onion),o=i.ref(!1),s=i.ref(null),l=i.ref(null),c=i.computed(()=>{if(!Object.keys(n.config||{}).length)return A.value;const O=qa({defaultConfig:A.value,userConfig:n.config});return Ya(O)}),u=i.ref({inside:!c.value.style.chart.layout.useDiv,showTable:c.value.table.show}),p=i.computed(()=>{const O=u.value.inside?80:64;return{height:512,width:512,padding:{top:O,left:O,right:O,bottom:O}}}),h=i.computed(()=>({top:p.value.padding.top,left:p.value.padding.left,right:p.value.width-p.value.padding.right,bottom:p.value.height-p.value.padding.bottom,centerX:p.value.width/2,centerY:p.value.height/2,width:p.value.width-p.value.padding.right-p.value.padding.left,height:p.value.height-p.value.padding.bottom-p.value.padding.top,minRadius:64,maxRadius:p.value.width-p.value.padding.right-p.value.padding.left})),d=i.computed(()=>n.dataset.map((O,X)=>({...O,color:Nr(O.color)||Ut[X],id:`onion_serie_${X}_${a.value}`}))),w=i.ref([]),g=i.computed(()=>d.value.filter(O=>!w.value.includes(O.id)).length),v=i.computed(()=>({gutter:h.value.width/2/g.value*c.value.style.chart.layout.gutter.width,track:h.value.width/2/g.value*c.value.style.chart.layout.track.width})),m=i.computed(()=>d.value.filter(O=>!w.value.includes(O.id)).map((O,X)=>{const T=(h.value.maxRadius-v.value.track)/g.value/2*(1+X),L=h.value.centerY-(h.value.centerY-h.value.top-c.value.style.chart.layout.labels.fontSize)/g.value*(X+1);return{...O,labelY:L,radius:T,path:_(T,O.percentage)}}));function _(O,X){const T=O*(1.5+(X/100>.3333333333333333?0:1-X/100))*Math.PI,L=O*1.5*Math.PI;return{bgDashArray:`${L} ${L}`,bgDashOffset:L-X/100*L,dashArray:`${T} ${T}`,dashOffset:T-X/100*T,fullOffset:0,active:`M${h.value.centerX},${h.value.centerY} A ${O},${O} 0 0 0 ${h.value.right},${h.value.top}`}}function N(O){w.value.includes(O)?w.value=w.value.filter(X=>X!==O):w.value.push(O),r("selectLegend",m.value)}function D(){return m.value}e({getData:D});const K=i.computed(()=>{const O=[c.value.table.translations.serie,c.value.table.translations.percentage,c.value.table.translations.value],X=m.value.map(T=>[T.name,T.percentage,T.value]);return{head:O,body:X}});function G(){o.value=!0,i.nextTick(()=>{zA({domElement:document.getElementById(`vue-ui-onion_${a.value}`),fileName:c.value.style.chart.title.text||"vue-ui-onion"}).finally(()=>{o.value=!1})})}function I(){i.nextTick(()=>{const O=[[c.value.style.chart.title.text],[c.value.style.chart.title.subtitle.text],[""]],X=K.value.head,T=K.value.body,L=O.concat([X]).concat(T);JA(L,c.value.style.chart.title.text||"vue-ui-onion")})}function U(){l.value&&l.value.removeAttribute("open")}return(O,X)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-onion",ref_key:"onionChart",ref:s,id:`vue-ui-onion_${a.value}`,style:i.normalizeStyle(`font-family:${c.value.style.fontFamily};width:100%; text-align:center`)},[(!u.value.inside||o.value)&&c.value.style.chart.title.text?(i.openBlock(),i.createElementBlock("div",{key:0,style:i.normalizeStyle(`width:100%;background:${c.value.style.chart.backgroundColor}`)},[i.createElementVNode("div",{style:i.normalizeStyle(`width:100%;text-align:center;color:${c.value.style.chart.title.color};font-size:${c.value.style.chart.title.fontSize}px;font-weight:${c.value.style.chart.title.bold?"bold":""}`)},i.toDisplayString(c.value.style.chart.title.text),5),c.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("div",{key:0,style:i.normalizeStyle(`width:100%;text-align:center;color:${c.value.style.chart.title.subtitle.color};font-size:${c.value.style.chart.title.subtitle.fontSize}px;font-weight:${c.value.style.chart.title.subtitle.bold?"bold":""}`)},i.toDisplayString(c.value.style.chart.title.subtitle.text),5)):i.createCommentVNode("",!0)],4)):i.createCommentVNode("",!0),c.value.userOptions.show?(i.openBlock(),i.createElementBlock("details",{key:1,class:"vue-ui-onion-user-options",style:i.normalizeStyle(`background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`),"data-html2canvas-ignore":"",ref_key:"details",ref:l},[i.createElementVNode("summary",{style:i.normalizeStyle(`background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)},i.toDisplayString(c.value.userOptions.title),5),i.createElementVNode("div",{class:"vue-ui-onion-user-options-items",style:i.normalizeStyle(`background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)},[i.createElementVNode("div",Uz,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-onion-option-title_${a.value}`,name:`vue-ui-onion-option-title_${a.value}`,"onUpdate:modelValue":X[0]||(X[0]=T=>u.value.inside=T)},null,8,Iz),[[i.vModelCheckbox,u.value.inside]]),i.createElementVNode("label",{for:`vue-ui-onion-option-title_${a.value}`},i.toDisplayString(c.value.userOptions.labels.useDiv),9,Dz)]),i.createElementVNode("div",Qz,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-onion-option-table_${a.value}`,name:`vue-ui-onion-option-table_${a.value}`,"onUpdate:modelValue":X[1]||(X[1]=T=>u.value.showTable=T)},null,8,Oz),[[i.vModelCheckbox,u.value.showTable]]),i.createElementVNode("label",{for:`vue-ui-onion-option-table_${a.value}`},i.toDisplayString(c.value.userOptions.labels.showTable),9,Pz)]),i.createElementVNode("button",{class:"vue-ui-onion-button",onClick:G,disabled:o.value,style:i.normalizeStyle([{"margin-top":"12px"},`background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`])},[o.value?(i.openBlock(),i.createElementBlock("svg",{key:0,class:"vue-ui-onion-print-icon",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:c.value.style.chart.color,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},Hz,8,Rz)):(i.openBlock(),i.createElementBlock("span",Vz,"PDF"))],12,Mz),i.createElementVNode("button",{class:"vue-ui-onion-button",onClick:I,style:i.normalizeStyle(`background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`)}," XLSX ",4)],4)],4)):i.createCommentVNode("",!0),(i.openBlock(),i.createElementBlock("svg",{viewBox:`0 0 ${p.value.width} ${p.value.height}`,style:i.normalizeStyle(`max-width:100%;overflow:visible;background:${c.value.style.chart.backgroundColor};color:${c.value.style.chart.color}`),onClick:U},[i.createElementVNode("defs",null,[i.createElementVNode("radialGradient",{id:`onion_gradient_${a.value}`},[i.createElementVNode("stop",{offset:"0%","stop-color":`${i.unref(Nr)(c.value.style.chart.backgroundColor)}00`},null,8,Kz),i.createElementVNode("stop",{offset:"90%","stop-color":"#FFFFFF"+i.unref(Ar)[c.value.style.chart.gradientIntensity]},null,8,Gz),i.createElementVNode("stop",{offset:"100%","stop-color":`${i.unref(Nr)(c.value.style.chart.backgroundColor)}00`},null,8,jz)],8,zz)]),c.value.style.chart.title.text&&u.value.inside&&!o.value?(i.openBlock(),i.createElementBlock("g",Wz,[i.createElementVNode("text",{"font-size":c.value.style.chart.title.fontSize,fill:c.value.style.chart.title.color,x:p.value.width/2,y:c.value.style.chart.title.fontSize,"text-anchor":"middle",style:i.normalizeStyle(`font-weight:${c.value.style.chart.title.bold?"bold":""}`)},i.toDisplayString(c.value.style.chart.title.text),13,Xz),c.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("text",{key:0,"font-size":c.value.style.chart.title.subtitle.fontSize,fill:c.value.style.chart.title.subtitle.color,x:p.value.width/2,y:c.value.style.chart.title.fontSize*2,"text-anchor":"middle",style:i.normalizeStyle(`font-weight:${c.value.style.chart.title.subtitle.bold?"bold":""}`)},i.toDisplayString(c.value.style.chart.title.subtitle.text),13,qz)):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(m.value,T=>(i.openBlock(),i.createElementBlock("circle",{cx:h.value.centerX,cy:h.value.centerY,r:T.radius,stroke:c.value.style.chart.layout.gutter.color,"stroke-width":v.value.gutter,fill:"none","stroke-dasharray":T.path.bgDashArray,"stroke-dashoffset":T.path.fullOffset,"stroke-linecap":"round",class:"vue-ui-onion-path",style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,Yz))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(m.value,T=>(i.openBlock(),i.createElementBlock("circle",{cx:h.value.centerX,cy:h.value.centerY,r:T.radius,stroke:`${T.color}`,"stroke-width":v.value.track,fill:"none","stroke-dasharray":T.path.dashArray,"stroke-dashoffset":T.path.dashOffset,class:"vue-ui-onion-path","stroke-linecap":"round",style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,Jz))),256)),c.value.style.chart.useGradient?(i.openBlock(),i.createElementBlock("g",Zz,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(m.value,T=>(i.openBlock(),i.createElementBlock("circle",{cx:h.value.centerX,cy:h.value.centerY,r:T.radius*1.1,stroke:"none",fill:`url(#onion_gradient_${a.value})`,style:{transform:"rotate(-90deg)","transform-origin":"50% 50%"}},null,8,eK))),256))])):i.createCommentVNode("",!0),c.value.style.chart.layout.labels.show?(i.openBlock(),i.createElementBlock("g",tK,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(m.value,T=>(i.openBlock(),i.createElementBlock("g",null,[w.value.includes(T.id)?i.createCommentVNode("",!0):(i.openBlock(),i.createElementBlock("text",{key:0,x:p.value.width/2-v.value.gutter*.8+c.value.style.chart.layout.labels.offsetX,y:T.labelY,"text-anchor":"end","font-size":c.value.style.chart.layout.labels.fontSize,fill:c.value.style.chart.layout.labels.color,"font-weight":c.value.style.chart.layout.labels.bold?"bold":"normal"},i.toDisplayString(T.name)+" "+i.toDisplayString(c.value.style.chart.layout.labels.percentage.show?` : ${T.percentage.toFixed(c.value.style.chart.layout.labels.roundingPercentage)}%`:"")+" "+i.toDisplayString(!c.value.style.chart.layout.labels.percentage.show&&c.value.style.chart.layout.labels.value.show?` : ${T.value?`${T.prefix}${T.value.toFixed(c.value.style.chart.layout.labels.roundingValue)}${T.suffix}`:""}`:`${c.value.style.chart.layout.labels.value.show&&T.value?`(${T.prefix}${T.value.toFixed(c.value.style.chart.layout.labels.roundingValue)}${T.suffix})`:""}`),9,rK))]))),256))])):i.createCommentVNode("",!0),c.value.style.chart.legend.show&&u.value.inside&&!o.value?(i.openBlock(),i.createElementBlock("foreignObject",{key:3,x:0,y:h.value.bottom,width:"100%",height:p.value.height-h.value.bottom,style:{overflow:"visible"}},[i.createElementVNode("div",{class:"vue-ui-onion-legend",style:i.normalizeStyle(`color:${c.value.style.chart.legend.color};font-size:${c.value.style.chart.legend.fontSize}px;padding-bottom:12px;font-weight:${c.value.style.chart.legend.bold?"bold":""}`),onClick:U},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(d.value,(T,L)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-onion-legend-item",onClick:z=>N(T.id),style:i.normalizeStyle(`opacity:${w.value.includes(T.id)?.5:1}`)},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${T.color};font-size:${c.value.style.chart.legend.fontSize}px`)},"⬤",4),i.createElementVNode("span",null,i.toDisplayString(T.name)+" : ",1),i.createElementVNode("span",null,i.toDisplayString(T.percentage.toFixed(c.value.style.chart.legend.roundingPercentage))+"% ",1)],12,aK))),256))],4)],8,nK)):i.createCommentVNode("",!0)],12,$z)),c.value.style.chart.legend.show&&(!u.value.inside||o.value)?(i.openBlock(),i.createElementBlock("div",{key:2,class:"vue-ui-onion-legend",style:i.normalizeStyle(`background:${c.value.style.chart.legend.backgroundColor};color:${c.value.style.chart.legend.color};font-size:${c.value.style.chart.legend.fontSize}px;padding-bottom:12px;font-weight:${c.value.style.chart.legend.bold?"bold":""}`),onClick:U},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(d.value,(T,L)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-onion-legend-item",onClick:z=>N(T.id),style:i.normalizeStyle(`opacity:${w.value.includes(T.id)?.5:1}`)},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${T.color};font-size:${c.value.style.chart.legend.fontSize}px`)},"⬤",4),i.createElementVNode("span",null,i.toDisplayString(T.name)+" : ",1),i.createElementVNode("span",null,i.toDisplayString(T.percentage.toFixed(c.value.style.chart.legend.roundingPercentage))+"% ",1)],12,AK))),256))],4)):i.createCommentVNode("",!0),u.value.showTable?(i.openBlock(),i.createElementBlock("div",{key:3,onClick:U,class:"vue-ui-onion-table",style:i.normalizeStyle(`width:100%;margin-top:${u.value.inside?"48px":""}`)},[i.createElementVNode("table",null,[i.createElementVNode("thead",null,[c.value.style.chart.title.text?(i.openBlock(),i.createElementBlock("tr",iK,[i.createElementVNode("th",{colspan:"3",style:i.normalizeStyle(`background:${c.value.table.th.backgroundColor};color:${c.value.table.th.color};outline:${c.value.table.th.outline}`)},[i.createElementVNode("span",null,i.toDisplayString(c.value.style.chart.title.text),1),c.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("span",oK," : "+i.toDisplayString(c.value.style.chart.title.subtitle.text),1)):i.createCommentVNode("",!0)],4)])):i.createCommentVNode("",!0),i.createElementVNode("tr",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(K.value.head,T=>(i.openBlock(),i.createElementBlock("th",{colspan:T.color?2:1,style:i.normalizeStyle(`background:${c.value.table.th.backgroundColor};color:${c.value.table.th.color};outline:${c.value.table.th.outline}`)},i.toDisplayString(T),13,sK))),256))])]),i.createElementVNode("tbody",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(m.value,T=>(i.openBlock(),i.createElementBlock("tr",null,[i.createElementVNode("td",{style:i.normalizeStyle(`background:${c.value.table.td.backgroundColor};color:${c.value.table.td.color};outline:${c.value.table.td.outline}`)},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${T.color}`)}," ⬤ ",4),i.createTextVNode(" "+i.toDisplayString(T.name),1)],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${c.value.table.td.backgroundColor};color:${c.value.table.td.color};outline:${c.value.table.td.outline}`)},i.toDisplayString(isNaN(T.percentage)?"":T.percentage.toFixed(c.value.table.td.roundingPercentage))+"% ",5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${c.value.table.td.backgroundColor};color:${c.value.table.td.color};outline:${c.value.table.td.outline}`)},i.toDisplayString(T.prefix)+i.toDisplayString(isNaN(T.value)?"":T.value.toFixed(c.value.table.td.roundingValue))+i.toDisplayString(T.suffix),5)]))),256))])])],4)):i.createCommentVNode("",!0)],12,Lz))}},[["__scopeId","data-v-82c99d17"]]),MAe="",cK=["id"],uK={class:"vue-ui-vertical-bar-user-option-item"},hK=["id","name"],fK=["for"],dK={class:"vue-ui-vertical-bar-user-option-item"},gK=["id","name"],pK=["for"],mK=["disabled"],vK=["stroke"],yK=[i.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-4f22e798></path><path d="M18 16v.01" data-v-4f22e798></path><path d="M6 16v.01" data-v-4f22e798></path><path d="M12 5v.01" data-v-4f22e798></path><path d="M12 12v.01" data-v-4f22e798></path><path d="M12 1a4 4 0 0 1 2.001 7.464l.001 .072a3.998 3.998 0 0 1 1.987 3.758l.22 .128a3.978 3.978 0 0 1 1.591 -.417l.2 -.005a4 4 0 1 1 -3.994 3.77l-.28 -.16c-.522 .25 -1.108 .39 -1.726 .39c-.619 0 -1.205 -.14 -1.728 -.391l-.279 .16l.007 .231a4 4 0 1 1 -2.212 -3.579l.222 -.129a3.998 3.998 0 0 1 1.988 -3.756l.002 -.071a4 4 0 0 1 -1.995 -3.265l-.005 -.2a4 4 0 0 1 4 -4z" data-v-4f22e798></path>',6)],wK={key:1},BK=["viewBox"],xK=["id"],bK=["stop-color"],CK=["stop-color"],EK={key:0},FK=["font-size","fill","x","y"],_K=["font-size","fill","x","y"],SK=["x","y","width","height","fill","rx"],kK=["x","y","width","height","fill","rx","stroke","stroke-width"],TK=["x2","y1","y2","stroke","stroke-width"],NK=["x","y","font-size","fill","font-weight"],LK=["x","y","font-size","fill","font-weight"],UK=["x","y","font-size","fill","font-weight"],IK=["x","y","font-size","fill","font-weight"],DK=["y","width","height","fill","onMouseenter"],QK=["y","height"],OK=["onClick"],PK=["onClick"],MK=["innerHTML"],RK={key:0},HK={key:0},VK={style:{width:"100%"}},$K=_A({__name:"vue-ui-vertical-bar",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(t,{expose:e,emit:r}){const n=t,a=i.ref(`vue-ui-vertical-bar-${Math.random()}`),A=i.ref(FA.vue_ui_vertical_bar),o=i.ref(!1),s=i.ref(null),l=i.ref(null),c=i.ref(null),u=i.ref({x:0,y:0}),p=i.ref(!1),h=i.ref(""),d=i.ref(0),w=i.ref(null);i.onMounted(()=>{document.addEventListener("mousemove",g),d.value=n.dataset.flatMap(B=>B.children&&B.children.length>0?B.children.length:1).reduce((B,C)=>B+C,0)}),i.onBeforeUnmount(()=>{document.removeEventListener("mousemove",g)});function g(B){u.value.x=B.clientX,u.value.y=B.clientY}const v=i.computed(()=>{let B=0,C=48;if(l.value&&s.value){const{width:S,height:V}=l.value.getBoundingClientRect(),J=s.value.getBoundingClientRect();u.value.x+S/2>J.right?B=-S:u.value.x-S/2<J.left?B=0:B=-S/2,u.value.y+V>J.bottom&&(C=-V-48)}return{top:u.value.y+C,left:u.value.x+B}}),m=i.computed(()=>{if(!Object.keys(n.config||{}).length)return A.value;const B=qa({defaultConfig:A.value,userConfig:n.config});return Ya(B)}),_=i.ref({inside:!m.value.style.chart.layout.useDiv,showTable:m.value.table.show}),N=i.computed(()=>n.dataset.map((B,C)=>({...B,id:`vertical_parent_${C}_${a.value}`,hasChildren:!!B.children&&B.children.length>0,isChild:!1,color:Nr(B.color)||Ut[C]||Ut[C%Ut.length],children:!B.children||!B.children.length?[]:B.children.map((S,V)=>({...S,isChild:!0,parentId:`vertical_parent_${C}_${a.value}`,parentName:B.name,parentValue:B.value,id:`vertical_child_${C}_${V}_${a.value}`,childIndex:V,color:Nr(S.color)||Nr(B.color)||Ut[C]||Ut[C%Ut.length]})).sort((S,V)=>V.value-S.value).map((S,V)=>({...S,isFirstChild:V===0,isLastChild:V===B.children.length-1}))})).sort((B,C)=>C.value-B.value)),D=i.computed(()=>({width:512,height:(m.value.style.chart.layout.bars.height+m.value.style.chart.layout.bars.gap)*d.value,padding:{top:_.value.inside?64:12,left:128+m.value.style.chart.layout.bars.offsetX,right:64+m.value.style.chart.layout.bars.paddingRight,bottom:_.value.inside?92:12}})),K=i.computed(()=>({fullHeight:D.value.padding.top+D.value.padding.bottom+D.value.height,top:D.value.padding.top,left:D.value.padding.left,right:D.value.width-D.value.padding.right,bottom:D.value.padding.top+D.value.height,width:D.value.width-(D.value.padding.left+D.value.padding.right)}));function G(){d.value=O.value.flatMap(B=>B.children&&B.children.length>0?B.children.length:1).reduce((B,C)=>B+C,0)}const I=i.ref([]);function U(B){I.value.includes(B)?I.value=I.value.filter(C=>C!==B):I.value.push(B),G(),r("selectLegend",O.value)}const O=i.computed(()=>N.value.filter(B=>!I.value.includes(B.id))),X=i.computed(()=>O.value.map(B=>B.value).reduce((B,C)=>B+C));function T(B,C=!1,S=0){return C?(B/X.value*100).toFixed(S)+"%":B/X.value}const L=i.computed(()=>O.value.flatMap(B=>B.hasChildren?B.children:B)),z=i.computed(()=>Math.max(...O.value.flatMap(B=>B.children&&B.children.length?Math.max(...B.children.map(C=>C.value)):B.value)));function q(B){const C=B/z.value;return K.value.width*C}function se(B){return q(B)+K.value.left}function le(B,C){const S=O.value.find(ce=>ce.id===B.parentId),V=K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*C,J=S.children.length*(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height);return{y:V+J/2,name:S.name,value:[void 0,NaN,null].includes(S.value)?"":S.value.toFixed(m.value.style.chart.layout.bars.dataLabels.value.roundingValue),percentageToTotal:isNaN(S.value/X.value)?"":T(S.value,!0,m.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)}}function he(){return O.value}e({getData:he,recalculateHeight:G});const de=i.ref(null);function ge(B){p.value=!0,de.value=B.id;let C="";const S=B.isChild?B.parentName:B.name,V=B.isChild?B.name:"";C+=`<div style="width:100%;text-align:center;border-bottom:1px solid #ccc;padding-bottom:6px;margin-bottom:3px;text-align:left;">
379
379
  <div><span style="color:${B.color};margin-right:3px">⬤</span>${S}</div>
380
380
  ${V?`<div>${V}</div>`:""}
381
- </div>`,C+=`<div>${m.value.translations.value} : <b>${m.value.style.chart.tooltip.prefix}${[void 0,NaN,null].includes(B.value)?"-":B.value.toFixed(m.value.style.chart.tooltip.roundingValue)}${m.value.style.chart.tooltip.suffix}</b></div>`,C+=`<div>${m.value.translations.percentageToTotal} : <b>${isNaN(B.value/X.value)?"-":`${(B.value/X.value*100).toFixed(m.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`,B.isChild&&(C+=`<div>${m.value.translations.percentageToSerie} : <b>${isNaN(B.value/B.parentValue)?"-":`${(B.value/B.parentValue*100).toFixed(m.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`),h.value=`<div style="text-align:left">${C}</div>`}function ye(){o.value=!0,i.nextTick(()=>{zA({domElement:document.getElementById(`vue-ui-vertical-bar_${a.value}`),fileName:m.value.style.chart.title.text||"vue-ui-vertical-bar"}).finally(()=>{o.value=!1})})}const Ue=i.computed(()=>{const B=[m.value.translations.parentName,m.value.translations.value,m.value.translations.percentageToTotal,m.value.translations.childName,m.value.translations.value,m.value.translations.percentageToSerie,m.value.translations.percentageToTotal],C=L.value.map(S=>S.isChild?S.isFirstChild?{color:S.color,parentName:S.parentName,parentValue:S.parentValue,percentageToTotal:S.parentValue/X.value,childName:S.name,childValue:S.value,childPercentageToParent:S.value/S.parentValue,childPercentageToTotal:S.value/X.value}:{color:"",parentName:"",parentValue:"",percentageToTotal:"",childName:S.name,childValue:S.value,childPercentageToParent:S.value/S.parentValue,childPercentageToTotal:S.value/X.value}:{color:S.color,parentName:S.name,parentValue:S.value,percentageToTotal:S.value/X.value,childName:"",childValue:"",childPercentageToParent:"",childPercentageToTotal:""});return{head:B,body:C}});function b(){const B=[[m.value.style.chart.title.text],[m.value.style.chart.title.subtitle.text],[""]],C=Ue.value.head,S=Ue.value.body.map(J=>[J.parentName,J.parentValue,J.percentageToTotal,J.childName,J.childValue,J.childPercentageToParent,J.childPercentageToTotal]),V=B.concat([C]).concat(S);JA(V,m.value.style.chart.title.text||"vue-ui-vertical-bar")}function F(){c.value&&c.value.removeAttribute("open")}return(B,C)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-vertical-bar",ref:"quadrantChart",id:`vue-ui-vertical-bar_${a.value}`,style:i.normalizeStyle(`font-family:${m.value.style.fontFamily};width:100%; text-align:center`)},[(!_.value.inside||o.value)&&m.value.style.chart.title.text?(i.openBlock(),i.createElementBlock("div",{key:0,style:i.normalizeStyle(`width:100%;background:${m.value.style.chart.backgroundColor};padding-bottom:12px`)},[i.createElementVNode("div",{style:i.normalizeStyle(`width:100%;text-align:center;color:${m.value.style.chart.title.color};font-size:${m.value.style.chart.title.fontSize}px;font-weight:${m.value.style.chart.title.bold?"bold":""}`)},i.toDisplayString(m.value.style.chart.title.text),5),m.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("div",{key:0,style:i.normalizeStyle(`width:100%;text-align:center;color:${m.value.style.chart.title.subtitle.color};font-size:${m.value.style.chart.title.subtitle.fontSize}px;font-weight:${m.value.style.chart.title.subtitle.bold?"bold":""}`)},i.toDisplayString(m.value.style.chart.title.subtitle.text),5)):i.createCommentVNode("",!0)],4)):i.createCommentVNode("",!0),m.value.userOptions.show?(i.openBlock(),i.createElementBlock("details",{key:1,class:"vue-ui-vertical-bar-user-options",style:i.normalizeStyle(`background:${m.value.style.chart.backgroundColor};color:${m.value.style.chart.color}`),"data-html2canvas-ignore":"",ref_key:"details",ref:c},[i.createElementVNode("summary",{style:i.normalizeStyle(`background:${m.value.style.chart.backgroundColor};color:${m.value.style.chart.color}`)},i.toDisplayString(m.value.userOptions.title),5),i.createElementVNode("div",{class:"vue-ui-vertical-bar-user-options-items",style:i.normalizeStyle(`background:${m.value.style.chart.backgroundColor};color:${m.value.style.chart.color}`)},[i.createElementVNode("div",uK,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-vertical-bar-option-title_${a.value}`,name:`vue-ui-vertical-bar-option-title_${a.value}`,"onUpdate:modelValue":C[0]||(C[0]=S=>_.value.inside=S)},null,8,hK),[[i.vModelCheckbox,_.value.inside]]),i.createElementVNode("label",{for:`vue-ui-vertical-bar-option-title_${a.value}`},i.toDisplayString(m.value.userOptions.labels.useDiv),9,fK)]),i.createElementVNode("div",dK,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-vertical-bar-option-table_${a.value}`,name:`vue-ui-vertical-bar-option-table_${a.value}`,"onUpdate:modelValue":C[1]||(C[1]=S=>_.value.showTable=S)},null,8,gK),[[i.vModelCheckbox,_.value.showTable]]),i.createElementVNode("label",{for:`vue-ui-vertical-bar-option-table_${a.value}`},i.toDisplayString(m.value.userOptions.labels.showTable),9,pK)]),i.createElementVNode("button",{class:"vue-ui-vertical-bar-button",onClick:ye,disabled:o.value,style:i.normalizeStyle([{"margin-top":"12px"},`color:${m.value.style.chart.color}`])},[o.value?(i.openBlock(),i.createElementBlock("svg",{key:0,class:"vue-ui-vertical-bar-print-icon",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:m.value.style.chart.color,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},yK,8,vK)):(i.openBlock(),i.createElementBlock("span",wK,"PDF"))],12,mK),i.createElementVNode("button",{class:"vue-ui-vertical-bar-button",onClick:b,style:i.normalizeStyle(`color:${m.value.style.chart.color}`)}," XLSX ",4)],4)],4)):i.createCommentVNode("",!0),(i.openBlock(),i.createElementBlock("svg",{viewBox:`0 0 ${D.value.width} ${K.value.fullHeight}`,style:i.normalizeStyle(`max-width:100%;overflow:visible;background:${m.value.style.chart.backgroundColor};color:${m.value.style.chart.color}`),onClick:F},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(L.value,(S,V)=>(i.openBlock(),i.createElementBlock("linearGradient",{x1:"0%",y1:"0%",x2:"100%",y2:"0%",id:`vertical_bar_gradient_${a.value}_${V}`},[i.createElementVNode("stop",{offset:"0%","stop-color":S.color},null,8,bK),i.createElementVNode("stop",{offset:"100%","stop-color":`${i.unref(Fo)(S.color,.03)}${i.unref(Ar)[100-m.value.style.chart.layout.bars.gradientIntensity]}`},null,8,CK)],8,xK))),256)),m.value.style.chart.title.text&&_.value.inside&&!o.value?(i.openBlock(),i.createElementBlock("g",EK,[i.createElementVNode("text",{"font-size":m.value.style.chart.title.fontSize,fill:m.value.style.chart.title.color,x:D.value.width/2,y:m.value.style.chart.title.fontSize,"text-anchor":"middle",style:i.normalizeStyle(`font-weight:${m.value.style.chart.title.bold?"bold":""}`)},i.toDisplayString(m.value.style.chart.title.text),13,FK),m.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("text",{key:0,"font-size":m.value.style.chart.title.subtitle.fontSize,fill:m.value.style.chart.title.subtitle.color,x:D.value.width/2,y:m.value.style.chart.title.fontSize*2,"text-anchor":"middle",style:i.normalizeStyle(`font-weight:${m.value.style.chart.title.subtitle.bold?"bold":""}`)},i.toDisplayString(m.value.style.chart.title.subtitle.text),13,_K)):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(L.value,(S,V)=>(i.openBlock(),i.createElementBlock("g",null,[i.createElementVNode("rect",{x:K.value.left,y:K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V,width:q(S.value),height:m.value.style.chart.layout.bars.height,fill:m.value.style.chart.layout.bars.underlayerColor,rx:m.value.style.chart.layout.bars.borderRadius},null,8,SK)]))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(L.value,(S,V)=>(i.openBlock(),i.createElementBlock("g",null,[i.createElementVNode("rect",{x:K.value.left,y:K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V,width:q(S.value),height:m.value.style.chart.layout.bars.height,fill:m.value.style.chart.layout.bars.useGradient?`url(#vertical_bar_gradient_${a.value}_${V})`:`${S.color}${i.unref(Ar)[m.value.style.chart.layout.bars.fillOpacity]}`,rx:m.value.style.chart.layout.bars.borderRadius,stroke:m.value.style.chart.layout.bars.useStroke?S.color:"none","stroke-width":m.value.style.chart.layout.bars.useStroke?m.value.style.chart.layout.bars.strokeWidth:0},null,8,kK),(!S.isChild||S.isLastChild)&&m.value.style.chart.layout.separators.show&&V!==L.value.length-1?(i.openBlock(),i.createElementBlock("line",{key:0,x1:0,x2:K.value.left,y1:m.value.style.chart.layout.bars.height+m.value.style.chart.layout.bars.gap/2+K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V,y2:m.value.style.chart.layout.bars.height+m.value.style.chart.layout.bars.gap/2+K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V,stroke:m.value.style.chart.layout.separators.stroke,"stroke-width":m.value.style.chart.layout.separators.strokeWidth,"stroke-linecap":"round"},null,8,TK)):i.createCommentVNode("",!0),i.createElementVNode("text",{x:se(S.value)+3+m.value.style.chart.layout.bars.dataLabels.offsetX,y:K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V+m.value.style.chart.layout.bars.height/2+m.value.style.chart.layout.bars.dataLabels.fontSize/2,"text-anchor":"start","font-size":m.value.style.chart.layout.bars.dataLabels.fontSize,fill:m.value.style.chart.layout.bars.dataLabels.color,"font-weight":m.value.style.chart.layout.bars.dataLabels.bold?"bold":"normal"},i.toDisplayString(isNaN(S.value)||!m.value.style.chart.layout.bars.dataLabels.value.show?"":m.value.style.chart.layout.bars.dataLabels.value.prefix)+" "+i.toDisplayString(isNaN(S.value)?"":S.value.toFixed(m.value.style.chart.layout.bars.dataLabels.value.roundingValue))+" "+i.toDisplayString(isNaN(S.value)||!m.value.style.chart.layout.bars.dataLabels.value.show?"":m.value.style.chart.layout.bars.dataLabels.value.suffix)+" "+i.toDisplayString(m.value.style.chart.layout.bars.dataLabels.percentage.show?`(${T(S.value,!0,m.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`:""),9,NK),S.isChild||!S.hasChildren?(i.openBlock(),i.createElementBlock("text",{key:1,"text-anchor":"end",x:K.value.left-3+m.value.style.chart.layout.bars.nameLabels.offsetX,y:K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V+m.value.style.chart.layout.bars.height/2+m.value.style.chart.layout.bars.nameLabels.fontSize/2,"font-size":m.value.style.chart.layout.bars.nameLabels.fontSize,fill:m.value.style.chart.layout.bars.nameLabels.color,"font-weight":m.value.style.chart.layout.bars.nameLabels.bold?"bold":"normal"},i.toDisplayString(S.name),9,LK)):i.createCommentVNode("",!0),S.isChild&&S.childIndex===0?(i.openBlock(),i.createElementBlock("text",{key:2,x:3+m.value.style.chart.layout.bars.parentLabels.offsetX,y:le(S,V).y,"font-size":m.value.style.chart.layout.bars.parentLabels.fontSize,fill:m.value.style.chart.layout.bars.parentLabels.color,"font-weight":m.value.style.chart.layout.bars.parentLabels.bold?"bold":"normal","text-anchor":"start"},i.toDisplayString(le(S,V).name),9,UK)):i.createCommentVNode("",!0),S.isChild&&S.childIndex===0?(i.openBlock(),i.createElementBlock("text",{key:3,x:3+m.value.style.chart.layout.bars.parentLabels.offsetX,y:le(S,V).y+m.value.style.chart.layout.bars.parentLabels.fontSize+6,"font-size":m.value.style.chart.layout.bars.parentLabels.fontSize,fill:m.value.style.chart.layout.bars.parentLabels.color,"font-weight":m.value.style.chart.layout.bars.dataLabels.bold?"bold":"normal","text-anchor":"start"},i.toDisplayString(le(S,V).value)+" ("+i.toDisplayString(le(S,V).percentageToTotal)+") ",9,IK)):i.createCommentVNode("",!0),i.createElementVNode("rect",{x:0,y:K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V-m.value.style.chart.layout.bars.gap/2,width:D.value.width,height:m.value.style.chart.layout.bars.height+m.value.style.chart.layout.bars.gap,fill:de.value===S.id?`${m.value.style.chart.layout.highlighter.color}${i.unref(Ar)[m.value.style.chart.layout.highlighter.opacity]}`:"transparent",onMouseenter:J=>ge(S),onMouseleave:C[2]||(C[2]=J=>{w.value=null,p.value=!1,de.value=null})},null,40,DK)]))),256)),m.value.style.chart.legend.show&&_.value.inside&&!o.value?(i.openBlock(),i.createElementBlock("foreignObject",{key:1,x:0,y:K.value.bottom+24,width:"100%",height:K.value.fullHeight-K.value.bottom-24,style:{overflow:"visible"}},[i.createElementVNode("div",{class:"vue-ui-vertical-bar-legend",style:i.normalizeStyle(`color:${m.value.style.chart.legend.color};font-size:${m.value.style.chart.legend.fontSize}px;padding-bottom:12px;font-weight:${m.value.style.chart.legend.bold?"bold":""}`),onClick:F},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(N.value,(S,V)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-vertical-bar-legend-item",onClick:J=>U(S.id),style:i.normalizeStyle(`opacity:${I.value.includes(S.id)?.5:1}`)},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${S.color};font-size:${m.value.style.chart.legend.fontSize}px`)},"⬤",4),i.createElementVNode("span",null,i.toDisplayString(S.name)+" : ",1),i.createElementVNode("span",null,i.toDisplayString(m.value.style.chart.legend.prefix)+i.toDisplayString(S.value.toFixed(m.value.style.chart.legend.roundingValue))+i.toDisplayString(m.value.style.chart.legend.suffix),1)],12,OK))),256))],4)],8,QK)):i.createCommentVNode("",!0)],12,BK)),m.value.style.chart.legend.show&&(!_.value.inside||o.value)?(i.openBlock(),i.createElementBlock("div",{key:2,class:"vue-ui-vertical-bar-legend",style:i.normalizeStyle(`background:${m.value.style.chart.legend.backgroundColor};color:${m.value.style.chart.legend.color};font-size:${m.value.style.chart.legend.fontSize}px;padding-bottom:12px;font-weight:${m.value.style.chart.legend.bold?"bold":""}`),onClick:F},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(N.value,(S,V)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-vertical-bar-legend-item",onClick:J=>U(S.id),style:i.normalizeStyle(`opacity:${I.value.includes(S.id)?.5:1}`)},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${S.color};font-size:${m.value.style.chart.legend.fontSize}px`)},"⬤",4),i.createElementVNode("span",null,i.toDisplayString(S.name)+" : ",1),i.createElementVNode("span",null,i.toDisplayString(m.value.style.chart.legend.prefix)+i.toDisplayString(S.value.toFixed(m.value.style.chart.legend.roundingValue))+i.toDisplayString(m.value.style.chart.legend.suffix),1)],12,PK))),256))],4)):i.createCommentVNode("",!0),m.value.style.chart.tooltip.show&&p.value&&I.value.length<n.dataset.length?(i.openBlock(),i.createElementBlock("div",{key:3,class:"vue-ui-vertical-bar-tooltip",ref_key:"tooltip",ref:l,style:i.normalizeStyle(`top:${v.value.top}px;left:${v.value.left}px;background:${m.value.style.chart.tooltip.backgroundColor};color:${m.value.style.chart.tooltip.color}`),innerHTML:h.value},null,12,MK)):i.createCommentVNode("",!0),_.value.showTable?(i.openBlock(),i.createElementBlock("div",{key:4,onClick:F,class:"vue-ui-vertical-bar-table",style:i.normalizeStyle(`width:100%;margin-top:${_.value.inside?"48px":""}`)},[i.createElementVNode("table",null,[i.createElementVNode("thead",null,[m.value.style.chart.title.text?(i.openBlock(),i.createElementBlock("tr",RK,[i.createElementVNode("th",{colspan:7,style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},[i.createElementVNode("span",null,i.toDisplayString(m.value.style.chart.title.text),1),m.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("span",HK," : "+i.toDisplayString(m.value.style.chart.title.subtitle.text),1)):i.createCommentVNode("",!0)],4)])):i.createCommentVNode("",!0),i.createElementVNode("tr",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(Ue.value.head,S=>(i.openBlock(),i.createElementBlock("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},[i.createElementVNode("div",VK,i.toDisplayString(S),1)],4))),256))]),i.createElementVNode("tr",null,[i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},null,4),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)},"∑ "+i.toDisplayString(m.value.table.td.prefix)+i.toDisplayString(isNaN(X.value)?"":X.value.toFixed(m.value.table.td.roundingValue))+i.toDisplayString(m.value.table.td.suffix),5),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)},"100%",4),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},null,4),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},null,4),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},null,4),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},null,4)])]),i.createElementVNode("tbody",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(Ue.value.body,S=>(i.openBlock(),i.createElementBlock("tr",null,[i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},[S.color?(i.openBlock(),i.createElementBlock("span",{key:0,style:i.normalizeStyle(`color:${S.color};margin-right:3px`)},"⬤",4)):i.createCommentVNode("",!0),i.createElementVNode("span",null,i.toDisplayString(S.parentName),1)],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(m.value.table.td.prefix)+i.toDisplayString(["",NaN,void 0].includes(S.parentValue)?"":S.parentValue.toFixed(m.value.table.td.roundingValue))+i.toDisplayString(m.value.table.td.suffix),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(["",NaN,void 0].includes(S.percentageToTotal)?"":`${(S.percentageToTotal*100).toFixed(m.value.table.td.roundingPercentage)}%`),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(S.childName),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(m.value.table.td.prefix)+i.toDisplayString(["",NaN,void 0].includes(S.childValue)?"":S.childValue.toFixed(m.value.table.td.roundingValue))+i.toDisplayString(m.value.table.td.suffix),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(["",NaN,void 0].includes(S.childPercentageToParent)?"":`${(S.childPercentageToParent*100).toFixed(m.value.table.td.roundingPercentage)}%`),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(["",NaN,void 0].includes(S.childPercentageToTotal)?"":`${(S.childPercentageToTotal*100).toFixed(m.value.table.td.roundingPercentage)}%`),5)]))),256))])])],4)):i.createCommentVNode("",!0)],12,cK))}},[["__scopeId","data-v-50dc759b"]]);/*! @license DOMPurify 2.4.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.7/LICENSE */function Pi(t){"@babel/helpers - typeof";return Pi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pi(t)}function Ig(t,e){return Ig=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Ig(t,e)}function zK(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Xh(t,e,r){return zK()?Xh=Reflect.construct:Xh=function(a,A,o){var s=[null];s.push.apply(s,A);var l=Function.bind.apply(a,s),c=new l;return o&&Ig(c,o.prototype),c},Xh.apply(null,arguments)}function Za(t){return KK(t)||GK(t)||jK(t)||WK()}function KK(t){if(Array.isArray(t))return Dg(t)}function GK(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function jK(t,e){if(t){if(typeof t=="string")return Dg(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Dg(t,e)}}function Dg(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function WK(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
381
+ </div>`,m.value.style.chart.tooltip.showValue&&(C+=`<div>${m.value.translations.value} : <b>${m.value.style.chart.tooltip.prefix}${[void 0,NaN,null].includes(B.value)?"-":B.value.toFixed(m.value.style.chart.tooltip.roundingValue)}${m.value.style.chart.tooltip.suffix}</b></div>`),m.value.style.chart.tooltip.showPercentage&&(C+=`<div>${m.value.translations.percentageToTotal} : <b>${isNaN(B.value/X.value)?"-":`${(B.value/X.value*100).toFixed(m.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`,B.isChild&&(C+=`<div>${m.value.translations.percentageToSerie} : <b>${isNaN(B.value/B.parentValue)?"-":`${(B.value/B.parentValue*100).toFixed(m.value.style.chart.tooltip.roundingPercentage)}`}%</b></div>`)),h.value=`<div style="text-align:left">${C}</div>`}function ye(){o.value=!0,i.nextTick(()=>{zA({domElement:document.getElementById(`vue-ui-vertical-bar_${a.value}`),fileName:m.value.style.chart.title.text||"vue-ui-vertical-bar"}).finally(()=>{o.value=!1})})}const Ue=i.computed(()=>{const B=[m.value.translations.parentName,m.value.translations.value,m.value.translations.percentageToTotal,m.value.translations.childName,m.value.translations.value,m.value.translations.percentageToSerie,m.value.translations.percentageToTotal],C=L.value.map(S=>S.isChild?S.isFirstChild?{color:S.color,parentName:S.parentName,parentValue:S.parentValue,percentageToTotal:S.parentValue/X.value,childName:S.name,childValue:S.value,childPercentageToParent:S.value/S.parentValue,childPercentageToTotal:S.value/X.value}:{color:"",parentName:"",parentValue:"",percentageToTotal:"",childName:S.name,childValue:S.value,childPercentageToParent:S.value/S.parentValue,childPercentageToTotal:S.value/X.value}:{color:S.color,parentName:S.name,parentValue:S.value,percentageToTotal:S.value/X.value,childName:"",childValue:"",childPercentageToParent:"",childPercentageToTotal:""});return{head:B,body:C}});function b(){const B=[[m.value.style.chart.title.text],[m.value.style.chart.title.subtitle.text],[""]],C=Ue.value.head,S=Ue.value.body.map(J=>[J.parentName,J.parentValue,J.percentageToTotal,J.childName,J.childValue,J.childPercentageToParent,J.childPercentageToTotal]),V=B.concat([C]).concat(S);JA(V,m.value.style.chart.title.text||"vue-ui-vertical-bar")}function F(){c.value&&c.value.removeAttribute("open")}return(B,C)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-vertical-bar",ref:"quadrantChart",id:`vue-ui-vertical-bar_${a.value}`,style:i.normalizeStyle(`font-family:${m.value.style.fontFamily};width:100%; text-align:center`)},[(!_.value.inside||o.value)&&m.value.style.chart.title.text?(i.openBlock(),i.createElementBlock("div",{key:0,style:i.normalizeStyle(`width:100%;background:${m.value.style.chart.backgroundColor};padding-bottom:12px`)},[i.createElementVNode("div",{style:i.normalizeStyle(`width:100%;text-align:center;color:${m.value.style.chart.title.color};font-size:${m.value.style.chart.title.fontSize}px;font-weight:${m.value.style.chart.title.bold?"bold":""}`)},i.toDisplayString(m.value.style.chart.title.text),5),m.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("div",{key:0,style:i.normalizeStyle(`width:100%;text-align:center;color:${m.value.style.chart.title.subtitle.color};font-size:${m.value.style.chart.title.subtitle.fontSize}px;font-weight:${m.value.style.chart.title.subtitle.bold?"bold":""}`)},i.toDisplayString(m.value.style.chart.title.subtitle.text),5)):i.createCommentVNode("",!0)],4)):i.createCommentVNode("",!0),m.value.userOptions.show?(i.openBlock(),i.createElementBlock("details",{key:1,class:"vue-ui-vertical-bar-user-options",style:i.normalizeStyle(`background:${m.value.style.chart.backgroundColor};color:${m.value.style.chart.color}`),"data-html2canvas-ignore":"",ref_key:"details",ref:c},[i.createElementVNode("summary",{style:i.normalizeStyle(`background:${m.value.style.chart.backgroundColor};color:${m.value.style.chart.color}`)},i.toDisplayString(m.value.userOptions.title),5),i.createElementVNode("div",{class:"vue-ui-vertical-bar-user-options-items",style:i.normalizeStyle(`background:${m.value.style.chart.backgroundColor};color:${m.value.style.chart.color}`)},[i.createElementVNode("div",uK,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-vertical-bar-option-title_${a.value}`,name:`vue-ui-vertical-bar-option-title_${a.value}`,"onUpdate:modelValue":C[0]||(C[0]=S=>_.value.inside=S)},null,8,hK),[[i.vModelCheckbox,_.value.inside]]),i.createElementVNode("label",{for:`vue-ui-vertical-bar-option-title_${a.value}`},i.toDisplayString(m.value.userOptions.labels.useDiv),9,fK)]),i.createElementVNode("div",dK,[i.withDirectives(i.createElementVNode("input",{type:"checkbox",id:`vue-ui-vertical-bar-option-table_${a.value}`,name:`vue-ui-vertical-bar-option-table_${a.value}`,"onUpdate:modelValue":C[1]||(C[1]=S=>_.value.showTable=S)},null,8,gK),[[i.vModelCheckbox,_.value.showTable]]),i.createElementVNode("label",{for:`vue-ui-vertical-bar-option-table_${a.value}`},i.toDisplayString(m.value.userOptions.labels.showTable),9,pK)]),i.createElementVNode("button",{class:"vue-ui-vertical-bar-button",onClick:ye,disabled:o.value,style:i.normalizeStyle([{"margin-top":"12px"},`color:${m.value.style.chart.color}`])},[o.value?(i.openBlock(),i.createElementBlock("svg",{key:0,class:"vue-ui-vertical-bar-print-icon",xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:m.value.style.chart.color,fill:"none","stroke-linecap":"round","stroke-linejoin":"round"},yK,8,vK)):(i.openBlock(),i.createElementBlock("span",wK,"PDF"))],12,mK),i.createElementVNode("button",{class:"vue-ui-vertical-bar-button",onClick:b,style:i.normalizeStyle(`color:${m.value.style.chart.color}`)}," XLSX ",4)],4)],4)):i.createCommentVNode("",!0),(i.openBlock(),i.createElementBlock("svg",{viewBox:`0 0 ${D.value.width} ${K.value.fullHeight}`,style:i.normalizeStyle(`max-width:100%;overflow:visible;background:${m.value.style.chart.backgroundColor};color:${m.value.style.chart.color}`),onClick:F},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(L.value,(S,V)=>(i.openBlock(),i.createElementBlock("linearGradient",{x1:"0%",y1:"0%",x2:"100%",y2:"0%",id:`vertical_bar_gradient_${a.value}_${V}`},[i.createElementVNode("stop",{offset:"0%","stop-color":S.color},null,8,bK),i.createElementVNode("stop",{offset:"100%","stop-color":`${i.unref(Fo)(S.color,.03)}${i.unref(Ar)[100-m.value.style.chart.layout.bars.gradientIntensity]}`},null,8,CK)],8,xK))),256)),m.value.style.chart.title.text&&_.value.inside&&!o.value?(i.openBlock(),i.createElementBlock("g",EK,[i.createElementVNode("text",{"font-size":m.value.style.chart.title.fontSize,fill:m.value.style.chart.title.color,x:D.value.width/2,y:m.value.style.chart.title.fontSize,"text-anchor":"middle",style:i.normalizeStyle(`font-weight:${m.value.style.chart.title.bold?"bold":""}`)},i.toDisplayString(m.value.style.chart.title.text),13,FK),m.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("text",{key:0,"font-size":m.value.style.chart.title.subtitle.fontSize,fill:m.value.style.chart.title.subtitle.color,x:D.value.width/2,y:m.value.style.chart.title.fontSize*2,"text-anchor":"middle",style:i.normalizeStyle(`font-weight:${m.value.style.chart.title.subtitle.bold?"bold":""}`)},i.toDisplayString(m.value.style.chart.title.subtitle.text),13,_K)):i.createCommentVNode("",!0)])):i.createCommentVNode("",!0),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(L.value,(S,V)=>(i.openBlock(),i.createElementBlock("g",null,[i.createElementVNode("rect",{x:K.value.left,y:K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V,width:q(S.value),height:m.value.style.chart.layout.bars.height,fill:m.value.style.chart.layout.bars.underlayerColor,rx:m.value.style.chart.layout.bars.borderRadius},null,8,SK)]))),256)),(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(L.value,(S,V)=>(i.openBlock(),i.createElementBlock("g",null,[i.createElementVNode("rect",{x:K.value.left,y:K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V,width:q(S.value),height:m.value.style.chart.layout.bars.height,fill:m.value.style.chart.layout.bars.useGradient?`url(#vertical_bar_gradient_${a.value}_${V})`:`${S.color}${i.unref(Ar)[m.value.style.chart.layout.bars.fillOpacity]}`,rx:m.value.style.chart.layout.bars.borderRadius,stroke:m.value.style.chart.layout.bars.useStroke?S.color:"none","stroke-width":m.value.style.chart.layout.bars.useStroke?m.value.style.chart.layout.bars.strokeWidth:0},null,8,kK),(!S.isChild||S.isLastChild)&&m.value.style.chart.layout.separators.show&&V!==L.value.length-1?(i.openBlock(),i.createElementBlock("line",{key:0,x1:0,x2:K.value.left,y1:m.value.style.chart.layout.bars.height+m.value.style.chart.layout.bars.gap/2+K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V,y2:m.value.style.chart.layout.bars.height+m.value.style.chart.layout.bars.gap/2+K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V,stroke:m.value.style.chart.layout.separators.color,"stroke-width":m.value.style.chart.layout.separators.strokeWidth,"stroke-linecap":"round"},null,8,TK)):i.createCommentVNode("",!0),i.createElementVNode("text",{x:se(S.value)+3+m.value.style.chart.layout.bars.dataLabels.offsetX,y:K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V+m.value.style.chart.layout.bars.height/2+m.value.style.chart.layout.bars.dataLabels.fontSize/2,"text-anchor":"start","font-size":m.value.style.chart.layout.bars.dataLabels.fontSize,fill:m.value.style.chart.layout.bars.dataLabels.color,"font-weight":m.value.style.chart.layout.bars.dataLabels.bold?"bold":"normal"},i.toDisplayString(m.value.style.chart.layout.bars.dataLabels.value.prefix)+" "+i.toDisplayString(isNaN(S.value)||!m.value.style.chart.layout.bars.dataLabels.value.show?"":S.value.toFixed(m.value.style.chart.layout.bars.dataLabels.value.roundingValue))+" "+i.toDisplayString(m.value.style.chart.layout.bars.dataLabels.value.suffix)+" "+i.toDisplayString(m.value.style.chart.layout.bars.dataLabels.percentage.show?`(${T(S.value,!0,m.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`:""),9,NK),(S.isChild||!S.hasChildren)&&m.value.style.chart.layout.bars.nameLabels.show?(i.openBlock(),i.createElementBlock("text",{key:1,"text-anchor":"end",x:K.value.left-3+m.value.style.chart.layout.bars.nameLabels.offsetX,y:K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V+m.value.style.chart.layout.bars.height/2+m.value.style.chart.layout.bars.nameLabels.fontSize/2,"font-size":m.value.style.chart.layout.bars.nameLabels.fontSize,fill:m.value.style.chart.layout.bars.nameLabels.color,"font-weight":m.value.style.chart.layout.bars.nameLabels.bold?"bold":"normal"},i.toDisplayString(S.name),9,LK)):i.createCommentVNode("",!0),S.isChild&&S.childIndex===0&&m.value.style.chart.layout.bars.parentLabels.show?(i.openBlock(),i.createElementBlock("text",{key:2,x:3+m.value.style.chart.layout.bars.parentLabels.offsetX,y:le(S,V).y,"font-size":m.value.style.chart.layout.bars.parentLabels.fontSize,fill:m.value.style.chart.layout.bars.parentLabels.color,"font-weight":m.value.style.chart.layout.bars.parentLabels.bold?"bold":"normal","text-anchor":"start"},i.toDisplayString(le(S,V).name),9,UK)):i.createCommentVNode("",!0),S.isChild&&S.childIndex===0&&m.value.style.chart.layout.bars.parentLabels.show?(i.openBlock(),i.createElementBlock("text",{key:3,x:3+m.value.style.chart.layout.bars.parentLabels.offsetX,y:le(S,V).y+m.value.style.chart.layout.bars.parentLabels.fontSize+6,"font-size":m.value.style.chart.layout.bars.parentLabels.fontSize,fill:m.value.style.chart.layout.bars.parentLabels.color,"font-weight":m.value.style.chart.layout.bars.dataLabels.bold?"bold":"normal","text-anchor":"start"},i.toDisplayString(m.value.style.chart.layout.bars.dataLabels.value.show?le(S,V).value:"")+" "+i.toDisplayString(m.value.style.chart.layout.bars.dataLabels.percentage.show?`(${le(S,V).percentageToTotal})`:""),9,IK)):i.createCommentVNode("",!0),i.createElementVNode("rect",{x:0,y:K.value.top+(m.value.style.chart.layout.bars.gap+m.value.style.chart.layout.bars.height)*V-m.value.style.chart.layout.bars.gap/2,width:D.value.width,height:m.value.style.chart.layout.bars.height+m.value.style.chart.layout.bars.gap,fill:de.value===S.id?`${m.value.style.chart.layout.highlighter.color}${i.unref(Ar)[m.value.style.chart.layout.highlighter.opacity]}`:"transparent",onMouseenter:J=>ge(S),onMouseleave:C[2]||(C[2]=J=>{w.value=null,p.value=!1,de.value=null})},null,40,DK)]))),256)),m.value.style.chart.legend.show&&_.value.inside&&!o.value?(i.openBlock(),i.createElementBlock("foreignObject",{key:1,x:0,y:K.value.bottom+24,width:"100%",height:K.value.fullHeight-K.value.bottom-24,style:{overflow:"visible"}},[i.createElementVNode("div",{class:"vue-ui-vertical-bar-legend",style:i.normalizeStyle(`color:${m.value.style.chart.legend.color};font-size:${m.value.style.chart.legend.fontSize}px;padding-bottom:12px;font-weight:${m.value.style.chart.legend.bold?"bold":""}`),onClick:F},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(N.value,(S,V)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-vertical-bar-legend-item",onClick:J=>U(S.id),style:i.normalizeStyle(`opacity:${I.value.includes(S.id)?.5:1}`)},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${S.color};font-size:${m.value.style.chart.legend.fontSize}px`)},"⬤",4),i.createElementVNode("span",null,i.toDisplayString(S.name)+" : ",1),i.createElementVNode("span",null,i.toDisplayString(m.value.style.chart.legend.prefix)+i.toDisplayString(S.value.toFixed(m.value.style.chart.legend.roundingValue))+i.toDisplayString(m.value.style.chart.legend.suffix),1)],12,OK))),256))],4)],8,QK)):i.createCommentVNode("",!0)],12,BK)),m.value.style.chart.legend.show&&(!_.value.inside||o.value)?(i.openBlock(),i.createElementBlock("div",{key:2,class:"vue-ui-vertical-bar-legend",style:i.normalizeStyle(`background:${m.value.style.chart.legend.backgroundColor};color:${m.value.style.chart.legend.color};font-size:${m.value.style.chart.legend.fontSize}px;padding-bottom:12px;font-weight:${m.value.style.chart.legend.bold?"bold":""}`),onClick:F},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(N.value,(S,V)=>(i.openBlock(),i.createElementBlock("div",{class:"vue-ui-vertical-bar-legend-item",onClick:J=>U(S.id),style:i.normalizeStyle(`opacity:${I.value.includes(S.id)?.5:1}`)},[i.createElementVNode("span",{style:i.normalizeStyle(`color:${S.color};font-size:${m.value.style.chart.legend.fontSize}px`)},"⬤",4),i.createElementVNode("span",null,i.toDisplayString(S.name)+" : ",1),i.createElementVNode("span",null,i.toDisplayString(m.value.style.chart.legend.prefix)+i.toDisplayString(S.value.toFixed(m.value.style.chart.legend.roundingValue))+i.toDisplayString(m.value.style.chart.legend.suffix),1)],12,PK))),256))],4)):i.createCommentVNode("",!0),m.value.style.chart.tooltip.show&&p.value&&I.value.length<n.dataset.length?(i.openBlock(),i.createElementBlock("div",{key:3,class:"vue-ui-vertical-bar-tooltip",ref_key:"tooltip",ref:l,style:i.normalizeStyle(`top:${v.value.top}px;left:${v.value.left}px;background:${m.value.style.chart.tooltip.backgroundColor};color:${m.value.style.chart.tooltip.color}`),innerHTML:h.value},null,12,MK)):i.createCommentVNode("",!0),_.value.showTable?(i.openBlock(),i.createElementBlock("div",{key:4,onClick:F,class:"vue-ui-vertical-bar-table",style:i.normalizeStyle(`width:100%;margin-top:${_.value.inside?"48px":""}`)},[i.createElementVNode("table",null,[i.createElementVNode("thead",null,[m.value.style.chart.title.text?(i.openBlock(),i.createElementBlock("tr",RK,[i.createElementVNode("th",{colspan:7,style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},[i.createElementVNode("span",null,i.toDisplayString(m.value.style.chart.title.text),1),m.value.style.chart.title.subtitle.text?(i.openBlock(),i.createElementBlock("span",HK," : "+i.toDisplayString(m.value.style.chart.title.subtitle.text),1)):i.createCommentVNode("",!0)],4)])):i.createCommentVNode("",!0),i.createElementVNode("tr",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(Ue.value.head,S=>(i.openBlock(),i.createElementBlock("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},[i.createElementVNode("div",VK,i.toDisplayString(S),1)],4))),256))]),i.createElementVNode("tr",null,[i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},null,4),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)},"∑ "+i.toDisplayString(m.value.table.td.prefix)+i.toDisplayString(isNaN(X.value)?"":X.value.toFixed(m.value.table.td.roundingValue))+i.toDisplayString(m.value.table.td.suffix),5),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline};text-align:right;padding-right:5px;font-weight:bold`)},"100%",4),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},null,4),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},null,4),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},null,4),i.createElementVNode("th",{style:i.normalizeStyle(`background:${m.value.table.th.backgroundColor};color:${m.value.table.th.color};outline:${m.value.table.th.outline}`)},null,4)])]),i.createElementVNode("tbody",null,[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(Ue.value.body,S=>(i.openBlock(),i.createElementBlock("tr",null,[i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},[S.color?(i.openBlock(),i.createElementBlock("span",{key:0,style:i.normalizeStyle(`color:${S.color};margin-right:3px`)},"⬤",4)):i.createCommentVNode("",!0),i.createElementVNode("span",null,i.toDisplayString(S.parentName),1)],4),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(m.value.table.td.prefix)+i.toDisplayString(["",NaN,void 0].includes(S.parentValue)?"":S.parentValue.toFixed(m.value.table.td.roundingValue))+i.toDisplayString(m.value.table.td.suffix),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(["",NaN,void 0].includes(S.percentageToTotal)?"":`${(S.percentageToTotal*100).toFixed(m.value.table.td.roundingPercentage)}%`),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(S.childName),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(m.value.table.td.prefix)+i.toDisplayString(["",NaN,void 0].includes(S.childValue)?"":S.childValue.toFixed(m.value.table.td.roundingValue))+i.toDisplayString(m.value.table.td.suffix),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(["",NaN,void 0].includes(S.childPercentageToParent)?"":`${(S.childPercentageToParent*100).toFixed(m.value.table.td.roundingPercentage)}%`),5),i.createElementVNode("td",{style:i.normalizeStyle(`background:${m.value.table.td.backgroundColor};color:${m.value.table.td.color};outline:${m.value.table.td.outline}`)},i.toDisplayString(["",NaN,void 0].includes(S.childPercentageToTotal)?"":`${(S.childPercentageToTotal*100).toFixed(m.value.table.td.roundingPercentage)}%`),5)]))),256))])])],4)):i.createCommentVNode("",!0)],12,cK))}},[["__scopeId","data-v-4f22e798"]]);/*! @license DOMPurify 2.4.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.4.7/LICENSE */function Pi(t){"@babel/helpers - typeof";return Pi=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pi(t)}function Ig(t,e){return Ig=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Ig(t,e)}function zK(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Xh(t,e,r){return zK()?Xh=Reflect.construct:Xh=function(a,A,o){var s=[null];s.push.apply(s,A);var l=Function.bind.apply(a,s),c=new l;return o&&Ig(c,o.prototype),c},Xh.apply(null,arguments)}function Za(t){return KK(t)||GK(t)||jK(t)||WK()}function KK(t){if(Array.isArray(t))return Dg(t)}function GK(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function jK(t,e){if(t){if(typeof t=="string")return Dg(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Dg(t,e)}}function Dg(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function WK(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
382
382
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var XK=Object.hasOwnProperty,Ax=Object.setPrototypeOf,qK=Object.isFrozen,YK=Object.getPrototypeOf,JK=Object.getOwnPropertyDescriptor,Wn=Object.freeze,eA=Object.seal,ZK=Object.create,ix=typeof Reflect<"u"&&Reflect,qh=ix.apply,Qg=ix.construct;qh||(qh=function(e,r,n){return e.apply(r,n)}),Wn||(Wn=function(e){return e}),eA||(eA=function(e){return e}),Qg||(Qg=function(e,r){return Xh(e,Za(r))});var eG=La(Array.prototype.forEach),ox=La(Array.prototype.pop),lc=La(Array.prototype.push),Yh=La(String.prototype.toLowerCase),Og=La(String.prototype.toString),tG=La(String.prototype.match),tA=La(String.prototype.replace),rG=La(String.prototype.indexOf),nG=La(String.prototype.trim),Xn=La(RegExp.prototype.test),Pg=aG(TypeError);function La(t){return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return qh(t,e,n)}}function aG(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Qg(t,r)}}function Ot(t,e,r){var n;r=(n=r)!==null&&n!==void 0?n:Yh,Ax&&Ax(t,null);for(var a=e.length;a--;){var A=e[a];if(typeof A=="string"){var o=r(A);o!==A&&(qK(e)||(e[a]=o),A=o)}t[A]=!0}return t}function So(t){var e=ZK(null),r;for(r in t)qh(XK,t,[r])===!0&&(e[r]=t[r]);return e}function Jh(t,e){for(;t!==null;){var r=JK(t,e);if(r){if(r.get)return La(r.get);if(typeof r.value=="function")return La(r.value)}t=YK(t)}function n(a){return console.warn("fallback value for",a),null}return n}var sx=Wn(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Mg=Wn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Rg=Wn(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),AG=Wn(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Hg=Wn(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),iG=Wn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),lx=Wn(["#text"]),cx=Wn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Vg=Wn(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ux=Wn(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Zh=Wn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),oG=eA(/\{\{[\w\W]*|[\w\W]*\}\}/gm),sG=eA(/<%[\w\W]*|[\w\W]*%>/gm),lG=eA(/\${[\w\W]*}/gm),cG=eA(/^data-[\-\w.\u00B7-\uFFFF]/),uG=eA(/^aria-[\-\w]+$/),hG=eA(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),fG=eA(/^(?:\w+script|data):/i),dG=eA(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),gG=eA(/^html$/i),pG=function(){return typeof window>"u"?null:window},mG=function(e,r){if(Pi(e)!=="object"||typeof e.createPolicy!="function")return null;var n=null,a="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(a)&&(n=r.currentScript.getAttribute(a));var A="dompurify"+(n?"#"+n:"");try{return e.createPolicy(A,{createHTML:function(s){return s},createScriptURL:function(s){return s}})}catch{return console.warn("TrustedTypes policy "+A+" could not be created."),null}};function hx(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:pG(),e=function(W){return hx(W)};if(e.version="2.4.7",e.removed=[],!t||!t.document||t.document.nodeType!==9)return e.isSupported=!1,e;var r=t.document,n=t.document,a=t.DocumentFragment,A=t.HTMLTemplateElement,o=t.Node,s=t.Element,l=t.NodeFilter,c=t.NamedNodeMap,u=c===void 0?t.NamedNodeMap||t.MozNamedAttrMap:c,p=t.HTMLFormElement,h=t.DOMParser,d=t.trustedTypes,w=s.prototype,g=Jh(w,"cloneNode"),v=Jh(w,"nextSibling"),m=Jh(w,"childNodes"),_=Jh(w,"parentNode");if(typeof A=="function"){var N=n.createElement("template");N.content&&N.content.ownerDocument&&(n=N.content.ownerDocument)}var D=mG(d,r),K=D?D.createHTML(""):"",G=n,I=G.implementation,U=G.createNodeIterator,O=G.createDocumentFragment,X=G.getElementsByTagName,T=r.importNode,L={};try{L=So(n).documentMode?n.documentMode:{}}catch{}var z={};e.isSupported=typeof _=="function"&&I&&I.createHTMLDocument!==void 0&&L!==9;var q=oG,se=sG,le=lG,he=cG,de=uG,ge=fG,ye=dG,Ue=hG,b=null,F=Ot({},[].concat(Za(sx),Za(Mg),Za(Rg),Za(Hg),Za(lx))),B=null,C=Ot({},[].concat(Za(cx),Za(Vg),Za(ux),Za(Zh))),S=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),V=null,J=null,ce=!0,Ce=!0,ue=!1,ke=!0,re=!1,Ee=!1,xe=!1,te=!1,Pe=!1,rt=!1,Ve=!1,We=!0,Ye=!1,Je="user-content-",ot=!0,at=!1,ft={},vt=null,St=Ot({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Tt=null,dt=Ot({},["audio","video","img","source","image","track"]),xt=null,tt=Ot({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),ir="http://www.w3.org/1998/Math/MathML",Nt="http://www.w3.org/2000/svg",fr="http://www.w3.org/1999/xhtml",Dt=fr,zt=!1,Jr=null,Mt=Ot({},[ir,Nt,fr],Og),Fr,qt=["application/xhtml+xml","text/html"],An="text/html",Et,Kt=null,bt=n.createElement("form"),Vt=function(W){return W instanceof RegExp||W instanceof Function},ya=function(W){Kt&&Kt===W||((!W||Pi(W)!=="object")&&(W={}),W=So(W),Fr=qt.indexOf(W.PARSER_MEDIA_TYPE)===-1?Fr=An:Fr=W.PARSER_MEDIA_TYPE,Et=Fr==="application/xhtml+xml"?Og:Yh,b="ALLOWED_TAGS"in W?Ot({},W.ALLOWED_TAGS,Et):F,B="ALLOWED_ATTR"in W?Ot({},W.ALLOWED_ATTR,Et):C,Jr="ALLOWED_NAMESPACES"in W?Ot({},W.ALLOWED_NAMESPACES,Og):Mt,xt="ADD_URI_SAFE_ATTR"in W?Ot(So(tt),W.ADD_URI_SAFE_ATTR,Et):tt,Tt="ADD_DATA_URI_TAGS"in W?Ot(So(dt),W.ADD_DATA_URI_TAGS,Et):dt,vt="FORBID_CONTENTS"in W?Ot({},W.FORBID_CONTENTS,Et):St,V="FORBID_TAGS"in W?Ot({},W.FORBID_TAGS,Et):{},J="FORBID_ATTR"in W?Ot({},W.FORBID_ATTR,Et):{},ft="USE_PROFILES"in W?W.USE_PROFILES:!1,ce=W.ALLOW_ARIA_ATTR!==!1,Ce=W.ALLOW_DATA_ATTR!==!1,ue=W.ALLOW_UNKNOWN_PROTOCOLS||!1,ke=W.ALLOW_SELF_CLOSE_IN_ATTR!==!1,re=W.SAFE_FOR_TEMPLATES||!1,Ee=W.WHOLE_DOCUMENT||!1,Pe=W.RETURN_DOM||!1,rt=W.RETURN_DOM_FRAGMENT||!1,Ve=W.RETURN_TRUSTED_TYPE||!1,te=W.FORCE_BODY||!1,We=W.SANITIZE_DOM!==!1,Ye=W.SANITIZE_NAMED_PROPS||!1,ot=W.KEEP_CONTENT!==!1,at=W.IN_PLACE||!1,Ue=W.ALLOWED_URI_REGEXP||Ue,Dt=W.NAMESPACE||fr,S=W.CUSTOM_ELEMENT_HANDLING||{},W.CUSTOM_ELEMENT_HANDLING&&Vt(W.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(S.tagNameCheck=W.CUSTOM_ELEMENT_HANDLING.tagNameCheck),W.CUSTOM_ELEMENT_HANDLING&&Vt(W.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(S.attributeNameCheck=W.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),W.CUSTOM_ELEMENT_HANDLING&&typeof W.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(S.allowCustomizedBuiltInElements=W.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),re&&(Ce=!1),rt&&(Pe=!0),ft&&(b=Ot({},Za(lx)),B=[],ft.html===!0&&(Ot(b,sx),Ot(B,cx)),ft.svg===!0&&(Ot(b,Mg),Ot(B,Vg),Ot(B,Zh)),ft.svgFilters===!0&&(Ot(b,Rg),Ot(B,Vg),Ot(B,Zh)),ft.mathMl===!0&&(Ot(b,Hg),Ot(B,ux),Ot(B,Zh))),W.ADD_TAGS&&(b===F&&(b=So(b)),Ot(b,W.ADD_TAGS,Et)),W.ADD_ATTR&&(B===C&&(B=So(B)),Ot(B,W.ADD_ATTR,Et)),W.ADD_URI_SAFE_ATTR&&Ot(xt,W.ADD_URI_SAFE_ATTR,Et),W.FORBID_CONTENTS&&(vt===St&&(vt=So(vt)),Ot(vt,W.FORBID_CONTENTS,Et)),ot&&(b["#text"]=!0),Ee&&Ot(b,["html","head","body"]),b.table&&(Ot(b,["tbody"]),delete V.tbody),Wn&&Wn(W),Kt=W)},Ir=Ot({},["mi","mo","mn","ms","mtext"]),Yn=Ot({},["foreignobject","desc","title","annotation-xml"]),Aa=Ot({},["title","style","font","a","script"]),gt=Ot({},Mg);Ot(gt,Rg),Ot(gt,AG);var Fn=Ot({},Hg);Ot(Fn,iG);var Mn=function(W){var we=_(W);(!we||!we.tagName)&&(we={namespaceURI:Dt,tagName:"template"});var Le=Yh(W.tagName),Ke=Yh(we.tagName);return Jr[W.namespaceURI]?W.namespaceURI===Nt?we.namespaceURI===fr?Le==="svg":we.namespaceURI===ir?Le==="svg"&&(Ke==="annotation-xml"||Ir[Ke]):!!gt[Le]:W.namespaceURI===ir?we.namespaceURI===fr?Le==="math":we.namespaceURI===Nt?Le==="math"&&Yn[Ke]:!!Fn[Le]:W.namespaceURI===fr?we.namespaceURI===Nt&&!Yn[Ke]||we.namespaceURI===ir&&!Ir[Ke]?!1:!Fn[Le]&&(Aa[Le]||!gt[Le]):!!(Fr==="application/xhtml+xml"&&Jr[W.namespaceURI]):!1},mr=function(W){lc(e.removed,{element:W});try{W.parentNode.removeChild(W)}catch{try{W.outerHTML=K}catch{W.remove()}}},xr=function(W,we){try{lc(e.removed,{attribute:we.getAttributeNode(W),from:we})}catch{lc(e.removed,{attribute:null,from:we})}if(we.removeAttribute(W),W==="is"&&!B[W])if(Pe||rt)try{mr(we)}catch{}else try{we.setAttribute(W,"")}catch{}},br=function(W){var we,Le;if(te)W="<remove></remove>"+W;else{var Ke=tG(W,/^[\r\n\t ]+/);Le=Ke&&Ke[0]}Fr==="application/xhtml+xml"&&Dt===fr&&(W='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+W+"</body></html>");var ze=D?D.createHTML(W):W;if(Dt===fr)try{we=new h().parseFromString(ze,Fr)}catch{}if(!we||!we.documentElement){we=I.createDocument(Dt,"template",null);try{we.documentElement.innerHTML=zt?K:ze}catch{}}var qe=we.body||we.documentElement;return W&&Le&&qe.insertBefore(n.createTextNode(Le),qe.childNodes[0]||null),Dt===fr?X.call(we,Ee?"html":"body")[0]:Ee?we.documentElement:qe},M=function(W){return U.call(W.ownerDocument||W,W,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},Ae=function(W){return W instanceof p&&(typeof W.nodeName!="string"||typeof W.textContent!="string"||typeof W.removeChild!="function"||!(W.attributes instanceof u)||typeof W.removeAttribute!="function"||typeof W.setAttribute!="function"||typeof W.namespaceURI!="string"||typeof W.insertBefore!="function"||typeof W.hasChildNodes!="function")},Z=function(W){return Pi(o)==="object"?W instanceof o:W&&Pi(W)==="object"&&typeof W.nodeType=="number"&&typeof W.nodeName=="string"},ee=function(W,we,Le){z[W]&&eG(z[W],function(Ke){Ke.call(e,we,Le,Kt)})},ae=function(W){var we;if(ee("beforeSanitizeElements",W,null),Ae(W)||Xn(/[\u0080-\uFFFF]/,W.nodeName))return mr(W),!0;var Le=Et(W.nodeName);if(ee("uponSanitizeElement",W,{tagName:Le,allowedTags:b}),W.hasChildNodes()&&!Z(W.firstElementChild)&&(!Z(W.content)||!Z(W.content.firstElementChild))&&Xn(/<[/\w]/g,W.innerHTML)&&Xn(/<[/\w]/g,W.textContent)||Le==="select"&&Xn(/<template/i,W.innerHTML))return mr(W),!0;if(!b[Le]||V[Le]){if(!V[Le]&&Se(Le)&&(S.tagNameCheck instanceof RegExp&&Xn(S.tagNameCheck,Le)||S.tagNameCheck instanceof Function&&S.tagNameCheck(Le)))return!1;if(ot&&!vt[Le]){var Ke=_(W)||W.parentNode,ze=m(W)||W.childNodes;if(ze&&Ke)for(var qe=ze.length,ut=qe-1;ut>=0;--ut)Ke.insertBefore(g(ze[ut],!0),v(W))}return mr(W),!0}return W instanceof s&&!Mn(W)||(Le==="noscript"||Le==="noembed"||Le==="noframes")&&Xn(/<\/no(script|embed|frames)/i,W.innerHTML)?(mr(W),!0):(re&&W.nodeType===3&&(we=W.textContent,we=tA(we,q," "),we=tA(we,se," "),we=tA(we,le," "),W.textContent!==we&&(lc(e.removed,{element:W.cloneNode()}),W.textContent=we)),ee("afterSanitizeElements",W,null),!1)},ie=function(W,we,Le){if(We&&(we==="id"||we==="name")&&(Le in n||Le in bt))return!1;if(!(Ce&&!J[we]&&Xn(he,we))){if(!(ce&&Xn(de,we))){if(!B[we]||J[we]){if(!(Se(W)&&(S.tagNameCheck instanceof RegExp&&Xn(S.tagNameCheck,W)||S.tagNameCheck instanceof Function&&S.tagNameCheck(W))&&(S.attributeNameCheck instanceof RegExp&&Xn(S.attributeNameCheck,we)||S.attributeNameCheck instanceof Function&&S.attributeNameCheck(we))||we==="is"&&S.allowCustomizedBuiltInElements&&(S.tagNameCheck instanceof RegExp&&Xn(S.tagNameCheck,Le)||S.tagNameCheck instanceof Function&&S.tagNameCheck(Le))))return!1}else if(!xt[we]){if(!Xn(Ue,tA(Le,ye,""))){if(!((we==="src"||we==="xlink:href"||we==="href")&&W!=="script"&&rG(Le,"data:")===0&&Tt[W])){if(!(ue&&!Xn(ge,tA(Le,ye,"")))){if(Le)return!1}}}}}}return!0},Se=function(W){return W.indexOf("-")>0},Ie=function(W){var we,Le,Ke,ze;ee("beforeSanitizeAttributes",W,null);var qe=W.attributes;if(qe){var ut={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B};for(ze=qe.length;ze--;){we=qe[ze];var $t=we,Ct=$t.name,Er=$t.namespaceURI;if(Le=Ct==="value"?we.value:nG(we.value),Ke=Et(Ct),ut.attrName=Ke,ut.attrValue=Le,ut.keepAttr=!0,ut.forceKeepAttr=void 0,ee("uponSanitizeAttribute",W,ut),Le=ut.attrValue,!ut.forceKeepAttr&&(xr(Ct,W),!!ut.keepAttr)){if(!ke&&Xn(/\/>/i,Le)){xr(Ct,W);continue}re&&(Le=tA(Le,q," "),Le=tA(Le,se," "),Le=tA(Le,le," "));var ia=Et(W.nodeName);if(ie(ia,Ke,Le)){if(Ye&&(Ke==="id"||Ke==="name")&&(xr(Ct,W),Le=Je+Le),D&&Pi(d)==="object"&&typeof d.getAttributeType=="function"&&!Er)switch(d.getAttributeType(ia,Ke)){case"TrustedHTML":{Le=D.createHTML(Le);break}case"TrustedScriptURL":{Le=D.createScriptURL(Le);break}}try{Er?W.setAttributeNS(Er,Ct,Le):W.setAttribute(Ct,Le),ox(e.removed)}catch{}}}}ee("afterSanitizeAttributes",W,null)}},_e=function fe(W){var we,Le=M(W);for(ee("beforeSanitizeShadowDOM",W,null);we=Le.nextNode();)ee("uponSanitizeShadowNode",we,null),!ae(we)&&(we.content instanceof a&&fe(we.content),Ie(we));ee("afterSanitizeShadowDOM",W,null)};return e.sanitize=function(fe){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},we,Le,Ke,ze,qe;if(zt=!fe,zt&&(fe="<!-->"),typeof fe!="string"&&!Z(fe))if(typeof fe.toString=="function"){if(fe=fe.toString(),typeof fe!="string")throw Pg("dirty is not a string, aborting")}else throw Pg("toString is not a function");if(!e.isSupported){if(Pi(t.toStaticHTML)==="object"||typeof t.toStaticHTML=="function"){if(typeof fe=="string")return t.toStaticHTML(fe);if(Z(fe))return t.toStaticHTML(fe.outerHTML)}return fe}if(xe||ya(W),e.removed=[],typeof fe=="string"&&(at=!1),at){if(fe.nodeName){var ut=Et(fe.nodeName);if(!b[ut]||V[ut])throw Pg("root node is forbidden and cannot be sanitized in-place")}}else if(fe instanceof o)we=br("<!---->"),Le=we.ownerDocument.importNode(fe,!0),Le.nodeType===1&&Le.nodeName==="BODY"||Le.nodeName==="HTML"?we=Le:we.appendChild(Le);else{if(!Pe&&!re&&!Ee&&fe.indexOf("<")===-1)return D&&Ve?D.createHTML(fe):fe;if(we=br(fe),!we)return Pe?null:Ve?K:""}we&&te&&mr(we.firstChild);for(var $t=M(at?fe:we);Ke=$t.nextNode();)Ke.nodeType===3&&Ke===ze||ae(Ke)||(Ke.content instanceof a&&_e(Ke.content),Ie(Ke),ze=Ke);if(ze=null,at)return fe;if(Pe){if(rt)for(qe=O.call(we.ownerDocument);we.firstChild;)qe.appendChild(we.firstChild);else qe=we;return(B.shadowroot||B.shadowrootmod)&&(qe=T.call(r,qe,!0)),qe}var Ct=Ee?we.outerHTML:we.innerHTML;return Ee&&b["!doctype"]&&we.ownerDocument&&we.ownerDocument.doctype&&we.ownerDocument.doctype.name&&Xn(gG,we.ownerDocument.doctype.name)&&(Ct="<!DOCTYPE "+we.ownerDocument.doctype.name+`>
383
383
  `+Ct),re&&(Ct=tA(Ct,q," "),Ct=tA(Ct,se," "),Ct=tA(Ct,le," ")),D&&Ve?D.createHTML(Ct):Ct},e.setConfig=function(fe){ya(fe),xe=!0},e.clearConfig=function(){Kt=null,xe=!1},e.isValidAttribute=function(fe,W,we){Kt||ya({});var Le=Et(fe),Ke=Et(W);return ie(Le,Ke,we)},e.addHook=function(fe,W){typeof W=="function"&&(z[fe]=z[fe]||[],lc(z[fe],W))},e.removeHook=function(fe){if(z[fe])return ox(z[fe])},e.removeHooks=function(fe){z[fe]&&(z[fe]=[])},e.removeAllHooks=function(){z={}},e}var vG=hx();const yG=Object.freeze(Object.defineProperty({__proto__:null,default:vG},Symbol.toStringTag,{value:"Module"}));var cc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fx(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ef=function(t){return t&&t.Math==Math&&t},an=ef(typeof globalThis=="object"&&globalThis)||ef(typeof window=="object"&&window)||ef(typeof self=="object"&&self)||ef(typeof cc=="object"&&cc)||function(){return this}()||cc||Function("return this")(),Ls={},Vr=function(t){try{return!!t()}catch{return!0}},wG=Vr,SA=!wG(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),BG=Vr,tf=!BG(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),xG=tf,rf=Function.prototype.call,En=xG?rf.bind(rf):function(){return rf.apply(rf,arguments)},dx={},gx={}.propertyIsEnumerable,px=Object.getOwnPropertyDescriptor,bG=px&&!gx.call({1:2},1);dx.f=bG?function(e){var r=px(this,e);return!!r&&r.enumerable}:gx;var nf=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}},mx=tf,vx=Function.prototype,$g=vx.call,CG=mx&&vx.bind.bind($g,$g),$r=mx?CG:function(t){return function(){return $g.apply(t,arguments)}},yx=$r,EG=yx({}.toString),FG=yx("".slice),ko=function(t){return FG(EG(t),8,-1)},_G=$r,SG=Vr,kG=ko,zg=Object,TG=_G("".split),wx=SG(function(){return!zg("z").propertyIsEnumerable(0)})?function(t){return kG(t)=="String"?TG(t,""):zg(t)}:zg,To=function(t){return t==null},NG=To,LG=TypeError,kA=function(t){if(NG(t))throw LG("Can't call method on "+t);return t},UG=wx,IG=kA,uc=function(t){return UG(IG(t))},Kg=typeof document=="object"&&document.all,DG=typeof Kg>"u"&&Kg!==void 0,Bx={all:Kg,IS_HTMLDDA:DG},xx=Bx,QG=xx.all,Lr=xx.IS_HTMLDDA?function(t){return typeof t=="function"||t===QG}:function(t){return typeof t=="function"},bx=Lr,Cx=Bx,OG=Cx.all,ZA=Cx.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:bx(t)||t===OG}:function(t){return typeof t=="object"?t!==null:bx(t)},Gg=an,PG=Lr,MG=function(t){return PG(t)?t:void 0},No=function(t,e){return arguments.length<2?MG(Gg[t]):Gg[t]&&Gg[t][e]},RG=$r,af=RG({}.isPrototypeOf),Af=typeof navigator<"u"&&String(navigator.userAgent)||"",Ex=an,jg=Af,Fx=Ex.process,_x=Ex.Deno,Sx=Fx&&Fx.versions||_x&&_x.version,kx=Sx&&Sx.v8,rA,of;kx&&(rA=kx.split("."),of=rA[0]>0&&rA[0]<4?1:+(rA[0]+rA[1])),!of&&jg&&(rA=jg.match(/Edge\/(\d+)/),(!rA||rA[1]>=74)&&(rA=jg.match(/Chrome\/(\d+)/),rA&&(of=+rA[1])));var Wg=of,Tx=Wg,HG=Vr,VG=an,$G=VG.String,Nx=!!Object.getOwnPropertySymbols&&!HG(function(){var t=Symbol();return!$G(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Tx&&Tx<41}),zG=Nx,Lx=zG&&!Symbol.sham&&typeof Symbol.iterator=="symbol",KG=No,GG=Lr,jG=af,WG=Lx,XG=Object,Ux=WG?function(t){return typeof t=="symbol"}:function(t){var e=KG("Symbol");return GG(e)&&jG(e.prototype,XG(t))},qG=String,sf=function(t){try{return qG(t)}catch{return"Object"}},YG=Lr,JG=sf,ZG=TypeError,ei=function(t){if(YG(t))return t;throw ZG(JG(t)+" is not a function")},ej=ei,tj=To,Us=function(t,e){var r=t[e];return tj(r)?void 0:ej(r)},Xg=En,qg=Lr,Yg=ZA,rj=TypeError,nj=function(t,e){var r,n;if(e==="string"&&qg(r=t.toString)&&!Yg(n=Xg(r,t))||qg(r=t.valueOf)&&!Yg(n=Xg(r,t))||e!=="string"&&qg(r=t.toString)&&!Yg(n=Xg(r,t)))return n;throw rj("Can't convert object to primitive value")},Ix={exports:{}},Dx=an,aj=Object.defineProperty,Jg=function(t,e){try{aj(Dx,t,{value:e,configurable:!0,writable:!0})}catch{Dx[t]=e}return e},Aj=an,ij=Jg,Qx="__core-js_shared__",oj=Aj[Qx]||ij(Qx,{}),Zg=oj,Ox=Zg;(Ix.exports=function(t,e){return Ox[t]||(Ox[t]=e!==void 0?e:{})})("versions",[]).push({version:"3.32.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.32.0/LICENSE",source:"https://github.com/zloirock/core-js"});var e1=Ix.exports,sj=kA,lj=Object,lf=function(t){return lj(sj(t))},cj=$r,uj=lf,hj=cj({}.hasOwnProperty),nA=Object.hasOwn||function(e,r){return hj(uj(e),r)},fj=$r,dj=0,gj=Math.random(),pj=fj(1 .toString),Px=function(t){return"Symbol("+(t===void 0?"":t)+")_"+pj(++dj+gj,36)},mj=an,vj=e1,Mx=nA,yj=Px,wj=Nx,Bj=Lx,Is=mj.Symbol,t1=vj("wks"),xj=Bj?Is.for||Is:Is&&Is.withoutSetter||yj,fn=function(t){return Mx(t1,t)||(t1[t]=wj&&Mx(Is,t)?Is[t]:xj("Symbol."+t)),t1[t]},bj=En,Rx=ZA,Hx=Ux,Cj=Us,Ej=nj,Fj=fn,_j=TypeError,Sj=Fj("toPrimitive"),kj=function(t,e){if(!Rx(t)||Hx(t))return t;var r=Cj(t,Sj),n;if(r){if(e===void 0&&(e="default"),n=bj(r,t,e),!Rx(n)||Hx(n))return n;throw _j("Can't convert object to primitive value")}return e===void 0&&(e="number"),Ej(t,e)},Tj=kj,Nj=Ux,r1=function(t){var e=Tj(t,"string");return Nj(e)?e:e+""},Lj=an,Vx=ZA,n1=Lj.document,Uj=Vx(n1)&&Vx(n1.createElement),cf=function(t){return Uj?n1.createElement(t):{}},Ij=SA,Dj=Vr,Qj=cf,$x=!Ij&&!Dj(function(){return Object.defineProperty(Qj("div"),"a",{get:function(){return 7}}).a!=7}),Oj=SA,Pj=En,Mj=dx,Rj=nf,Hj=uc,Vj=r1,$j=nA,zj=$x,zx=Object.getOwnPropertyDescriptor;Ls.f=Oj?zx:function(e,r){if(e=Hj(e),r=Vj(r),zj)try{return zx(e,r)}catch{}if($j(e,r))return Rj(!Pj(Mj.f,e,r),e[r])};var TA={},Kj=SA,Gj=Vr,Kx=Kj&&Gj(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),jj=ZA,Wj=String,Xj=TypeError,On=function(t){if(jj(t))return t;throw Xj(Wj(t)+" is not an object")},qj=SA,Yj=$x,Jj=Kx,uf=On,Gx=r1,Zj=TypeError,a1=Object.defineProperty,eW=Object.getOwnPropertyDescriptor,A1="enumerable",i1="configurable",o1="writable";TA.f=qj?Jj?function(e,r,n){if(uf(e),r=Gx(r),uf(n),typeof e=="function"&&r==="prototype"&&"value"in n&&o1 in n&&!n[o1]){var a=eW(e,r);a&&a[o1]&&(e[r]=n.value,n={configurable:i1 in n?n[i1]:a[i1],enumerable:A1 in n?n[A1]:a[A1],writable:!1})}return a1(e,r,n)}:a1:function(e,r,n){if(uf(e),r=Gx(r),uf(n),Yj)try{return a1(e,r,n)}catch{}if("get"in n||"set"in n)throw Zj("Accessors not supported");return"value"in n&&(e[r]=n.value),e};var tW=SA,rW=TA,nW=nf,hc=tW?function(t,e,r){return rW.f(t,e,nW(1,r))}:function(t,e,r){return t[e]=r,t},jx={exports:{}},s1=SA,aW=nA,Wx=Function.prototype,AW=s1&&Object.getOwnPropertyDescriptor,l1=aW(Wx,"name"),iW=l1&&(function(){}).name==="something",oW=l1&&(!s1||s1&&AW(Wx,"name").configurable),hf={EXISTS:l1,PROPER:iW,CONFIGURABLE:oW},sW=$r,lW=Lr,c1=Zg,cW=sW(Function.toString);lW(c1.inspectSource)||(c1.inspectSource=function(t){return cW(t)});var u1=c1.inspectSource,uW=an,hW=Lr,Xx=uW.WeakMap,fW=hW(Xx)&&/native code/.test(String(Xx)),dW=e1,gW=Px,qx=dW("keys"),h1=function(t){return qx[t]||(qx[t]=gW(t))},f1={},pW=fW,Yx=an,mW=ZA,vW=hc,d1=nA,g1=Zg,yW=h1,wW=f1,Jx="Object already initialized",p1=Yx.TypeError,BW=Yx.WeakMap,ff,fc,df,xW=function(t){return df(t)?fc(t):ff(t,{})},bW=function(t){return function(e){var r;if(!mW(e)||(r=fc(e)).type!==t)throw p1("Incompatible receiver, "+t+" required");return r}};if(pW||g1.state){var NA=g1.state||(g1.state=new BW);NA.get=NA.get,NA.has=NA.has,NA.set=NA.set,ff=function(t,e){if(NA.has(t))throw p1(Jx);return e.facade=t,NA.set(t,e),e},fc=function(t){return NA.get(t)||{}},df=function(t){return NA.has(t)}}else{var Ds=yW("state");wW[Ds]=!0,ff=function(t,e){if(d1(t,Ds))throw p1(Jx);return e.facade=t,vW(t,Ds,e),e},fc=function(t){return d1(t,Ds)?t[Ds]:{}},df=function(t){return d1(t,Ds)}}var gf={set:ff,get:fc,has:df,enforce:xW,getterFor:bW},m1=$r,CW=Vr,EW=Lr,pf=nA,v1=SA,FW=hf.CONFIGURABLE,_W=u1,Zx=gf,SW=Zx.enforce,kW=Zx.get,eb=String,mf=Object.defineProperty,TW=m1("".slice),NW=m1("".replace),LW=m1([].join),UW=v1&&!CW(function(){return mf(function(){},"length",{value:8}).length!==8}),IW=String(String).split("String"),DW=jx.exports=function(t,e,r){TW(eb(e),0,7)==="Symbol("&&(e="["+NW(eb(e),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!pf(t,"name")||FW&&t.name!==e)&&(v1?mf(t,"name",{value:e,configurable:!0}):t.name=e),UW&&r&&pf(r,"arity")&&t.length!==r.arity&&mf(t,"length",{value:r.arity});try{r&&pf(r,"constructor")&&r.constructor?v1&&mf(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch{}var n=SW(t);return pf(n,"source")||(n.source=LW(IW,typeof e=="string"?e:"")),t};Function.prototype.toString=DW(function(){return EW(this)&&kW(this).source||_W(this)},"toString");var tb=jx.exports,QW=Lr,OW=TA,PW=tb,MW=Jg,Lo=function(t,e,r,n){n||(n={});var a=n.enumerable,A=n.name!==void 0?n.name:e;if(QW(r)&&PW(r,A,n),n.global)a?t[e]=r:MW(e,r);else{try{n.unsafe?t[e]&&(a=!0):delete t[e]}catch{}a?t[e]=r:OW.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return t},rb={},RW=Math.ceil,HW=Math.floor,VW=Math.trunc||function(e){var r=+e;return(r>0?HW:RW)(r)},$W=VW,vf=function(t){var e=+t;return e!==e||e===0?0:$W(e)},zW=vf,KW=Math.max,GW=Math.min,nb=function(t,e){var r=zW(t);return r<0?KW(r+e,0):GW(r,e)},jW=vf,WW=Math.min,Qs=function(t){return t>0?WW(jW(t),9007199254740991):0},XW=Qs,yf=function(t){return XW(t.length)},qW=uc,YW=nb,JW=yf,ab=function(t){return function(e,r,n){var a=qW(e),A=JW(a),o=YW(n,A),s;if(t&&r!=r){for(;A>o;)if(s=a[o++],s!=s)return!0}else for(;A>o;o++)if((t||o in a)&&a[o]===r)return t||o||0;return!t&&-1}},Ab={includes:ab(!0),indexOf:ab(!1)},ZW=$r,y1=nA,eX=uc,tX=Ab.indexOf,rX=f1,ib=ZW([].push),ob=function(t,e){var r=eX(t),n=0,a=[],A;for(A in r)!y1(rX,A)&&y1(r,A)&&ib(a,A);for(;e.length>n;)y1(r,A=e[n++])&&(~tX(a,A)||ib(a,A));return a},w1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],nX=ob,aX=w1,AX=aX.concat("length","prototype");rb.f=Object.getOwnPropertyNames||function(e){return nX(e,AX)};var sb={};sb.f=Object.getOwnPropertySymbols;var iX=No,oX=$r,sX=rb,lX=sb,cX=On,uX=oX([].concat),hX=iX("Reflect","ownKeys")||function(e){var r=sX.f(cX(e)),n=lX.f;return n?uX(r,n(e)):r},lb=nA,fX=hX,dX=Ls,gX=TA,pX=function(t,e,r){for(var n=fX(e),a=gX.f,A=dX.f,o=0;o<n.length;o++){var s=n[o];!lb(t,s)&&!(r&&lb(r,s))&&a(t,s,A(e,s))}},mX=Vr,vX=Lr,yX=/#|\.prototype\./,dc=function(t,e){var r=BX[wX(t)];return r==bX?!0:r==xX?!1:vX(e)?mX(e):!!e},wX=dc.normalize=function(t){return String(t).replace(yX,".").toLowerCase()},BX=dc.data={},xX=dc.NATIVE="N",bX=dc.POLYFILL="P",cb=dc,B1=an,CX=Ls.f,EX=hc,FX=Lo,_X=Jg,SX=pX,kX=cb,qn=function(t,e){var r=t.target,n=t.global,a=t.stat,A,o,s,l,c,u;if(n?o=B1:a?o=B1[r]||_X(r,{}):o=(B1[r]||{}).prototype,o)for(s in e){if(c=e[s],t.dontCallGetSet?(u=CX(o,s),l=u&&u.value):l=o[s],A=kX(n?s:r+(a?".":"#")+s,t.forced),!A&&l!==void 0){if(typeof c==typeof l)continue;SX(c,l)}(t.sham||l&&l.sham)&&EX(c,"sham",!0),FX(o,s,c,t)}},TX=ko,gc=typeof process<"u"&&TX(process)=="process",NX=$r,LX=ei,UX=function(t,e,r){try{return NX(LX(Object.getOwnPropertyDescriptor(t,e)[r]))}catch{}},IX=Lr,DX=String,QX=TypeError,OX=function(t){if(typeof t=="object"||IX(t))return t;throw QX("Can't set "+DX(t)+" as a prototype")},PX=UX,MX=On,RX=OX,ub=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,e={},r;try{r=PX(Object.prototype,"__proto__","set"),r(e,[]),t=e instanceof Array}catch{}return function(a,A){return MX(a),RX(A),t?r(a,A):a.__proto__=A,a}}():void 0),HX=TA.f,VX=nA,$X=fn,hb=$X("toStringTag"),x1=function(t,e,r){t&&!r&&(t=t.prototype),t&&!VX(t,hb)&&HX(t,hb,{configurable:!0,value:e})},fb=tb,zX=TA,KX=function(t,e,r){return r.get&&fb(r.get,e,{getter:!0}),r.set&&fb(r.set,e,{setter:!0}),zX.f(t,e,r)},GX=No,jX=KX,WX=fn,XX=SA,db=WX("species"),qX=function(t){var e=GX(t);XX&&e&&!e[db]&&jX(e,db,{configurable:!0,get:function(){return this}})},YX=af,JX=TypeError,ZX=function(t,e){if(YX(e,t))return t;throw JX("Incorrect invocation")},eq=fn,tq=eq("toStringTag"),gb={};gb[tq]="z";var rq=String(gb)==="[object z]",nq=rq,aq=Lr,wf=ko,Aq=fn,iq=Aq("toStringTag"),oq=Object,sq=wf(function(){return arguments}())=="Arguments",lq=function(t,e){try{return t[e]}catch{}},b1=nq?wf:function(t){var e,r,n;return t===void 0?"Undefined":t===null?"Null":typeof(r=lq(e=oq(t),iq))=="string"?r:sq?wf(e):(n=wf(e))=="Object"&&aq(e.callee)?"Arguments":n},cq=$r,uq=Vr,pb=Lr,hq=b1,fq=No,dq=u1,mb=function(){},gq=[],vb=fq("Reflect","construct"),C1=/^\s*(?:class|function)\b/,pq=cq(C1.exec),mq=!C1.exec(mb),pc=function(e){if(!pb(e))return!1;try{return vb(mb,gq,e),!0}catch{return!1}},yb=function(e){if(!pb(e))return!1;switch(hq(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return mq||!!pq(C1,dq(e))}catch{return!0}};yb.sham=!0;var vq=!vb||uq(function(){var t;return pc(pc.call)||!pc(Object)||!pc(function(){t=!0})||t})?yb:pc,yq=vq,wq=sf,Bq=TypeError,xq=function(t){if(yq(t))return t;throw Bq(wq(t)+" is not a constructor")},wb=On,bq=xq,Cq=To,Eq=fn,Fq=Eq("species"),Bb=function(t,e){var r=wb(t).constructor,n;return r===void 0||Cq(n=wb(r)[Fq])?e:bq(n)},_q=tf,xb=Function.prototype,bb=xb.apply,Cb=xb.call,E1=typeof Reflect=="object"&&Reflect.apply||(_q?Cb.bind(bb):function(){return Cb.apply(bb,arguments)}),Sq=ko,kq=$r,mc=function(t){if(Sq(t)==="Function")return kq(t)},Eb=mc,Tq=ei,Nq=tf,Lq=Eb(Eb.bind),F1=function(t,e){return Tq(t),e===void 0?t:Nq?Lq(t,e):function(){return t.apply(e,arguments)}},Uq=No,Fb=Uq("document","documentElement"),Iq=$r,Dq=Iq([].slice),Qq=TypeError,Oq=function(t,e){if(t<e)throw Qq("Not enough arguments");return t},Pq=Af,_b=/(?:ipad|iphone|ipod).*applewebkit/i.test(Pq),va=an,Mq=E1,Rq=F1,Sb=Lr,Hq=nA,kb=Vr,Tb=Fb,Vq=Dq,Nb=cf,$q=Oq,zq=_b,Kq=gc,_1=va.setImmediate,S1=va.clearImmediate,Gq=va.process,k1=va.Dispatch,jq=va.Function,Lb=va.MessageChannel,Wq=va.String,T1=0,vc={},Ub="onreadystatechange",yc,Uo,N1,L1;kb(function(){yc=va.location});var U1=function(t){if(Hq(vc,t)){var e=vc[t];delete vc[t],e()}},I1=function(t){return function(){U1(t)}},Ib=function(t){U1(t.data)},Db=function(t){va.postMessage(Wq(t),yc.protocol+"//"+yc.host)};(!_1||!S1)&&(_1=function(e){$q(arguments.length,1);var r=Sb(e)?e:jq(e),n=Vq(arguments,1);return vc[++T1]=function(){Mq(r,void 0,n)},Uo(T1),T1},S1=function(e){delete vc[e]},Kq?Uo=function(t){Gq.nextTick(I1(t))}:k1&&k1.now?Uo=function(t){k1.now(I1(t))}:Lb&&!zq?(N1=new Lb,L1=N1.port2,N1.port1.onmessage=Ib,Uo=Rq(L1.postMessage,L1)):va.addEventListener&&Sb(va.postMessage)&&!va.importScripts&&yc&&yc.protocol!=="file:"&&!kb(Db)?(Uo=Db,va.addEventListener("message",Ib,!1)):Ub in Nb("script")?Uo=function(t){Tb.appendChild(Nb("script"))[Ub]=function(){Tb.removeChild(this),U1(t)}}:Uo=function(t){setTimeout(I1(t),0)});var Qb={set:_1,clear:S1},Ob=function(){this.head=null,this.tail=null};Ob.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t){var e=this.head=t.next;return e===null&&(this.tail=null),t.item}}};var Pb=Ob,Xq=Af,qq=/ipad|iphone|ipod/i.test(Xq)&&typeof Pebble<"u",Yq=Af,Jq=/web0s(?!.*chrome)/i.test(Yq),Io=an,Mb=F1,Zq=Ls.f,D1=Qb.set,eY=Pb,tY=_b,rY=qq,nY=Jq,Q1=gc,Rb=Io.MutationObserver||Io.WebKitMutationObserver,Hb=Io.document,Vb=Io.process,Bf=Io.Promise,$b=Zq(Io,"queueMicrotask"),O1=$b&&$b.value,Os,P1,M1,xf,zb;if(!O1){var bf=new eY,Cf=function(){var t,e;for(Q1&&(t=Vb.domain)&&t.exit();e=bf.get();)try{e()}catch(r){throw bf.head&&Os(),r}t&&t.enter()};!tY&&!Q1&&!nY&&Rb&&Hb?(P1=!0,M1=Hb.createTextNode(""),new Rb(Cf).observe(M1,{characterData:!0}),Os=function(){M1.data=P1=!P1}):!rY&&Bf&&Bf.resolve?(xf=Bf.resolve(void 0),xf.constructor=Bf,zb=Mb(xf.then,xf),Os=function(){zb(Cf)}):Q1?Os=function(){Vb.nextTick(Cf)}:(D1=Mb(D1,Io),Os=function(){D1(Cf)}),O1=function(t){bf.head||Os(),bf.add(t)}}var aY=O1,AY=function(t,e){try{arguments.length==1?console.error(t):console.error(t,e)}catch{}},R1=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},iY=an,Ef=iY.Promise,Kb=typeof Deno=="object"&&Deno&&typeof Deno.version=="object",oY=Kb,sY=gc,lY=!oY&&!sY&&typeof window=="object"&&typeof document=="object",cY=an,wc=Ef,uY=Lr,hY=cb,fY=u1,dY=fn,gY=lY,pY=Kb,H1=Wg;wc&&wc.prototype;var mY=dY("species"),V1=!1,Gb=uY(cY.PromiseRejectionEvent),vY=hY("Promise",function(){var t=fY(wc),e=t!==String(wc);if(!e&&H1===66)return!0;if(!H1||H1<51||!/native code/.test(t)){var r=new wc(function(A){A(1)}),n=function(A){A(function(){},function(){})},a=r.constructor={};if(a[mY]=n,V1=r.then(function(){})instanceof n,!V1)return!0}return!e&&(gY||pY)&&!Gb}),Bc={CONSTRUCTOR:vY,REJECTION_EVENT:Gb,SUBCLASSING:V1},Ps={},jb=ei,yY=TypeError,wY=function(t){var e,r;this.promise=new t(function(n,a){if(e!==void 0||r!==void 0)throw yY("Bad Promise constructor");e=n,r=a}),this.resolve=jb(e),this.reject=jb(r)};Ps.f=function(t){return new wY(t)};var BY=qn,Ff=gc,Mi=an,Ms=En,Wb=Lo,Xb=ub,xY=x1,bY=qX,CY=ei,_f=Lr,EY=ZA,FY=ZX,_Y=Bb,qb=Qb.set,$1=aY,SY=AY,kY=R1,TY=Pb,Yb=gf,Sf=Ef,z1=Bc,Jb=Ps,kf="Promise",Zb=z1.CONSTRUCTOR,NY=z1.REJECTION_EVENT,LY=z1.SUBCLASSING,K1=Yb.getterFor(kf),UY=Yb.set,Rs=Sf&&Sf.prototype,Do=Sf,Tf=Rs,e5=Mi.TypeError,G1=Mi.document,j1=Mi.process,W1=Jb.f,IY=W1,DY=!!(G1&&G1.createEvent&&Mi.dispatchEvent),t5="unhandledrejection",QY="rejectionhandled",r5=0,n5=1,OY=2,X1=1,a5=2,Nf,A5,PY,i5,o5=function(t){var e;return EY(t)&&_f(e=t.then)?e:!1},s5=function(t,e){var r=e.value,n=e.state==n5,a=n?t.ok:t.fail,A=t.resolve,o=t.reject,s=t.domain,l,c,u;try{a?(n||(e.rejection===a5&&RY(e),e.rejection=X1),a===!0?l=r:(s&&s.enter(),l=a(r),s&&(s.exit(),u=!0)),l===t.promise?o(e5("Promise-chain cycle")):(c=o5(l))?Ms(c,l,A,o):A(l)):o(r)}catch(p){s&&!u&&s.exit(),o(p)}},l5=function(t,e){t.notified||(t.notified=!0,$1(function(){for(var r=t.reactions,n;n=r.get();)s5(n,t);t.notified=!1,e&&!t.rejection&&MY(t)}))},c5=function(t,e,r){var n,a;DY?(n=G1.createEvent("Event"),n.promise=e,n.reason=r,n.initEvent(t,!1,!0),Mi.dispatchEvent(n)):n={promise:e,reason:r},!NY&&(a=Mi["on"+t])?a(n):t===t5&&SY("Unhandled promise rejection",r)},MY=function(t){Ms(qb,Mi,function(){var e=t.facade,r=t.value,n=u5(t),a;if(n&&(a=kY(function(){Ff?j1.emit("unhandledRejection",r,e):c5(t5,e,r)}),t.rejection=Ff||u5(t)?a5:X1,a.error))throw a.value})},u5=function(t){return t.rejection!==X1&&!t.parent},RY=function(t){Ms(qb,Mi,function(){var e=t.facade;Ff?j1.emit("rejectionHandled",e):c5(QY,e,t.value)})},Hs=function(t,e,r){return function(n){t(e,n,r)}},Vs=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=OY,l5(t,!0))},q1=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw e5("Promise can't be resolved itself");var n=o5(e);n?$1(function(){var a={done:!1};try{Ms(n,e,Hs(q1,a,t),Hs(Vs,a,t))}catch(A){Vs(a,A,t)}}):(t.value=e,t.state=n5,l5(t,!1))}catch(a){Vs({done:!1},a,t)}}};if(Zb&&(Do=function(e){FY(this,Tf),CY(e),Ms(Nf,this);var r=K1(this);try{e(Hs(q1,r),Hs(Vs,r))}catch(n){Vs(r,n)}},Tf=Do.prototype,Nf=function(e){UY(this,{type:kf,done:!1,notified:!1,parent:!1,reactions:new TY,rejection:!1,state:r5,value:void 0})},Nf.prototype=Wb(Tf,"then",function(e,r){var n=K1(this),a=W1(_Y(this,Do));return n.parent=!0,a.ok=_f(e)?e:!0,a.fail=_f(r)&&r,a.domain=Ff?j1.domain:void 0,n.state==r5?n.reactions.add(a):$1(function(){s5(a,n)}),a.promise}),A5=function(){var t=new Nf,e=K1(t);this.promise=t,this.resolve=Hs(q1,e),this.reject=Hs(Vs,e)},Jb.f=W1=function(t){return t===Do||t===PY?new A5(t):IY(t)},_f(Sf)&&Rs!==Object.prototype)){i5=Rs.then,LY||Wb(Rs,"then",function(e,r){var n=this;return new Do(function(a,A){Ms(i5,n,a,A)}).then(e,r)},{unsafe:!0});try{delete Rs.constructor}catch{}Xb&&Xb(Rs,Tf)}BY({global:!0,constructor:!0,wrap:!0,forced:Zb},{Promise:Do}),xY(Do,kf,!1),bY(kf);var xc={},HY=fn,VY=xc,$Y=HY("iterator"),zY=Array.prototype,KY=function(t){return t!==void 0&&(VY.Array===t||zY[$Y]===t)},GY=b1,h5=Us,jY=To,WY=xc,XY=fn,qY=XY("iterator"),f5=function(t){if(!jY(t))return h5(t,qY)||h5(t,"@@iterator")||WY[GY(t)]},YY=En,JY=ei,ZY=On,eJ=sf,tJ=f5,rJ=TypeError,nJ=function(t,e){var r=arguments.length<2?tJ(t):e;if(JY(r))return ZY(YY(r,t));throw rJ(eJ(t)+" is not iterable")},aJ=En,d5=On,AJ=Us,iJ=function(t,e,r){var n,a;d5(t);try{if(n=AJ(t,"return"),!n){if(e==="throw")throw r;return r}n=aJ(n,t)}catch(A){a=!0,n=A}if(e==="throw")throw r;if(a)throw n;return d5(n),r},oJ=F1,sJ=En,lJ=On,cJ=sf,uJ=KY,hJ=yf,g5=af,fJ=nJ,dJ=f5,p5=iJ,gJ=TypeError,Lf=function(t,e){this.stopped=t,this.result=e},m5=Lf.prototype,v5=function(t,e,r){var n=r&&r.that,a=!!(r&&r.AS_ENTRIES),A=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),l=oJ(e,n),c,u,p,h,d,w,g,v=function(_){return c&&p5(c,"normal",_),new Lf(!0,_)},m=function(_){return a?(lJ(_),s?l(_[0],_[1],v):l(_[0],_[1])):s?l(_,v):l(_)};if(A)c=t.iterator;else if(o)c=t;else{if(u=dJ(t),!u)throw gJ(cJ(t)+" is not iterable");if(uJ(u)){for(p=0,h=hJ(t);h>p;p++)if(d=m(t[p]),d&&g5(m5,d))return d;return new Lf(!1)}c=fJ(t,u)}for(w=A?t.next:c.next;!(g=sJ(w,c)).done;){try{d=m(g.value)}catch(_){p5(c,"throw",_)}if(typeof d=="object"&&d&&g5(m5,d))return d}return new Lf(!1)},pJ=fn,y5=pJ("iterator"),w5=!1;try{var mJ=0,B5={next:function(){return{done:!!mJ++}},return:function(){w5=!0}};B5[y5]=function(){return this},Array.from(B5,function(){throw 2})}catch{}var vJ=function(t,e){if(!e&&!w5)return!1;var r=!1;try{var n={};n[y5]=function(){return{next:function(){return{done:r=!0}}}},t(n)}catch{}return r},yJ=Ef,wJ=vJ,BJ=Bc.CONSTRUCTOR,x5=BJ||!wJ(function(t){yJ.all(t).then(void 0,function(){})}),xJ=qn,bJ=En,CJ=ei,EJ=Ps,FJ=R1,_J=v5,SJ=x5;xJ({target:"Promise",stat:!0,forced:SJ},{all:function(e){var r=this,n=EJ.f(r),a=n.resolve,A=n.reject,o=FJ(function(){var s=CJ(r.resolve),l=[],c=0,u=1;_J(e,function(p){var h=c++,d=!1;u++,bJ(s,r,p).then(function(w){d||(d=!0,l[h]=w,--u||a(l))},A)}),--u||a(l)});return o.error&&A(o.value),n.promise}});var kJ=qn,TJ=Bc.CONSTRUCTOR,Y1=Ef,NJ=No,LJ=Lr,UJ=Lo,b5=Y1&&Y1.prototype;if(kJ({target:"Promise",proto:!0,forced:TJ,real:!0},{catch:function(t){return this.then(void 0,t)}}),LJ(Y1)){var C5=NJ("Promise").prototype.catch;b5.catch!==C5&&UJ(b5,"catch",C5,{unsafe:!0})}var IJ=qn,DJ=En,QJ=ei,OJ=Ps,PJ=R1,MJ=v5,RJ=x5;IJ({target:"Promise",stat:!0,forced:RJ},{race:function(e){var r=this,n=OJ.f(r),a=n.reject,A=PJ(function(){var o=QJ(r.resolve);MJ(e,function(s){DJ(o,r,s).then(n.resolve,a)})});return A.error&&a(A.value),n.promise}});var HJ=qn,VJ=En,$J=Ps,zJ=Bc.CONSTRUCTOR;HJ({target:"Promise",stat:!0,forced:zJ},{reject:function(e){var r=$J.f(this);return VJ(r.reject,void 0,e),r.promise}});var KJ=On,GJ=ZA,jJ=Ps,WJ=function(t,e){if(KJ(t),GJ(e)&&e.constructor===t)return e;var r=jJ.f(t),n=r.resolve;return n(e),r.promise},XJ=qn,qJ=No,YJ=Bc.CONSTRUCTOR,JJ=WJ;qJ("Promise"),XJ({target:"Promise",stat:!0,forced:YJ},{resolve:function(e){return JJ(this,e)}});function E5(t,e,r,n,a,A,o){try{var s=t[A](o),l=s.value}catch(c){r(c);return}s.done?e(l):Promise.resolve(l).then(n,a)}function ti(t){return function(){var e=this,r=arguments;return new Promise(function(n,a){var A=t.apply(e,r);function o(l){E5(A,n,a,o,s,"next",l)}function s(l){E5(A,n,a,o,s,"throw",l)}o(void 0)})}}var ZJ=b1,eZ=String,LA=function(t){if(ZJ(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return eZ(t)},tZ=On,F5=function(){var t=tZ(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},J1=Vr,rZ=an,Z1=rZ.RegExp,ep=J1(function(){var t=Z1("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),nZ=ep||J1(function(){return!Z1("a","y").sticky}),aZ=ep||J1(function(){var t=Z1("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),_5={BROKEN_CARET:aZ,MISSED_STICKY:nZ,UNSUPPORTED_Y:ep},S5={},AZ=ob,iZ=w1,oZ=Object.keys||function(e){return AZ(e,iZ)},sZ=SA,lZ=Kx,cZ=TA,uZ=On,hZ=uc,fZ=oZ;S5.f=sZ&&!lZ?Object.defineProperties:function(e,r){uZ(e);for(var n=hZ(r),a=fZ(r),A=a.length,o=0,s;A>o;)cZ.f(e,s=a[o++],n[s]);return e};var dZ=On,gZ=S5,k5=w1,pZ=f1,mZ=Fb,vZ=cf,yZ=h1,T5=">",N5="<",tp="prototype",rp="script",L5=yZ("IE_PROTO"),np=function(){},U5=function(t){return N5+rp+T5+t+N5+"/"+rp+T5},I5=function(t){t.write(U5("")),t.close();var e=t.parentWindow.Object;return t=null,e},wZ=function(){var t=vZ("iframe"),e="java"+rp+":",r;return t.style.display="none",mZ.appendChild(t),t.src=String(e),r=t.contentWindow.document,r.open(),r.write(U5("document.F=Object")),r.close(),r.F},Uf,If=function(){try{Uf=new ActiveXObject("htmlfile")}catch{}If=typeof document<"u"?document.domain&&Uf?I5(Uf):wZ():I5(Uf);for(var t=k5.length;t--;)delete If[tp][k5[t]];return If()};pZ[L5]=!0;var ap=Object.create||function(e,r){var n;return e!==null?(np[tp]=dZ(e),n=new np,np[tp]=null,n[L5]=e):n=If(),r===void 0?n:gZ.f(n,r)},BZ=Vr,xZ=an,bZ=xZ.RegExp,CZ=BZ(function(){var t=bZ(".","s");return!(t.dotAll&&t.exec(`
384
384
  `)&&t.flags==="s")}),EZ=Vr,FZ=an,_Z=FZ.RegExp,SZ=EZ(function(){var t=_Z("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),$s=En,Df=$r,kZ=LA,TZ=F5,NZ=_5,LZ=e1,UZ=ap,IZ=gf.get,DZ=CZ,QZ=SZ,OZ=LZ("native-string-replace",String.prototype.replace),Qf=RegExp.prototype.exec,Ap=Qf,PZ=Df("".charAt),MZ=Df("".indexOf),RZ=Df("".replace),ip=Df("".slice),op=function(){var t=/a/,e=/b*/g;return $s(Qf,t,"a"),$s(Qf,e,"a"),t.lastIndex!==0||e.lastIndex!==0}(),D5=NZ.BROKEN_CARET,sp=/()??/.exec("")[1]!==void 0,HZ=op||sp||D5||DZ||QZ;HZ&&(Ap=function(e){var r=this,n=IZ(r),a=kZ(e),A=n.raw,o,s,l,c,u,p,h;if(A)return A.lastIndex=r.lastIndex,o=$s(Ap,A,a),r.lastIndex=A.lastIndex,o;var d=n.groups,w=D5&&r.sticky,g=$s(TZ,r),v=r.source,m=0,_=a;if(w&&(g=RZ(g,"y",""),MZ(g,"g")===-1&&(g+="g"),_=ip(a,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&PZ(a,r.lastIndex-1)!==`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "0.3.8",
4
+ "version": "0.3.9",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue components library",
7
7
  "keywords": [
@@ -15,9 +15,7 @@
15
15
  "accelerometer",
16
16
  "quadrant",
17
17
  "line",
18
- "table",
19
- "radial bar",
20
- "vertical bar"
18
+ "table"
21
19
  ],
22
20
  "author": "Alec Lloyd Probert",
23
21
  "repository": {