vue-data-ui 0.2.6 → 0.2.7

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-de9f2ae4.js")).catch(function(A) {
12823
+ return (Ft.canvg ? Promise.resolve(Ft.canvg) : import("./index.es-1fa7a95b.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;
@@ -30153,7 +30153,8 @@ const mi = (e, t) => {
30153
30153
  color: "#2D353C",
30154
30154
  show: !0,
30155
30155
  values: [],
30156
- fontSize: 6
30156
+ fontSize: 6,
30157
+ showOnlyFirstAndLast: !1
30157
30158
  }
30158
30159
  }
30159
30160
  },
@@ -30350,7 +30351,8 @@ const mi = (e, t) => {
30350
30351
  return Math.max(...this.safeDataset.filter((e) => !this.segregatedSeries.includes(e.id)).map((e) => Math.max(...e.series)));
30351
30352
  },
30352
30353
  min() {
30353
- return Math.min(...this.safeDataset.filter((e) => !this.segregatedSeries.includes(e.id)).map((e) => Math.min(...e.series)));
30354
+ const e = Math.min(...this.safeDataset.filter((t) => !this.segregatedSeries.includes(t.id)).map((t) => Math.min(...t.series)));
30355
+ return e > 0 ? 0 : e;
30354
30356
  },
30355
30357
  maxSeries() {
30356
30358
  return Math.max(...this.safeDataset.filter((e) => !this.segregatedSeries.includes(e.id)).map((e) => e.series.length));
@@ -30594,7 +30596,7 @@ const mi = (e, t) => {
30594
30596
  u.href = window.URL.createObjectURL(o), u.download = `${this.chartConfig.chart.title.text.replaceAll(" ", "_") || "vue-ui-xy"}.xlsx`, u.click(), window.URL.revokeObjectURL(u.href);
30595
30597
  }
30596
30598
  }
30597
- }, Q6 = (e) => (Qc("data-v-e7962bdc"), e = e(), Lc(), e), L6 = ["id"], T6 = { class: "vue-ui-xy-user-option-item" }, k6 = ["id", "name"], I6 = ["for"], N6 = { class: "vue-ui-xy-user-option-item" }, D6 = ["id", "name"], O6 = ["for"], M6 = { class: "vue-ui-xy-user-option-item" }, H6 = ["id", "name"], P6 = ["for"], R6 = { class: "vue-ui-xy-user-option-item" }, K6 = ["id", "name"], V6 = ["for"], G6 = ["disabled"], z6 = ["stroke"], j6 = /* @__PURE__ */ vi('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-e7962bdc></path><path d="M18 16v.01" data-v-e7962bdc></path><path d="M6 16v.01" data-v-e7962bdc></path><path d="M12 5v.01" data-v-e7962bdc></path><path d="M12 12v.01" data-v-e7962bdc></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-e7962bdc></path>', 6), W6 = [
30599
+ }, Q6 = (e) => (Qc("data-v-84608fe1"), e = e(), Lc(), e), L6 = ["id"], T6 = { class: "vue-ui-xy-user-option-item" }, k6 = ["id", "name"], I6 = ["for"], N6 = { class: "vue-ui-xy-user-option-item" }, D6 = ["id", "name"], O6 = ["for"], M6 = { class: "vue-ui-xy-user-option-item" }, H6 = ["id", "name"], P6 = ["for"], R6 = { class: "vue-ui-xy-user-option-item" }, K6 = ["id", "name"], V6 = ["for"], G6 = ["disabled"], z6 = ["stroke"], j6 = /* @__PURE__ */ vi('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-84608fe1></path><path d="M18 16v.01" data-v-84608fe1></path><path d="M6 16v.01" data-v-84608fe1></path><path d="M12 5v.01" data-v-84608fe1></path><path d="M12 12v.01" data-v-84608fe1></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-84608fe1></path>', 6), W6 = [
30598
30600
  j6
30599
30601
  ], X6 = { key: 1 }, q6 = ["viewBox"], $6 = { class: "vue-ui-xy-grid" }, Y6 = ["stroke", "x1", "x2", "y1", "y2"], J6 = ["stroke", "x1", "x2", "y1", "y2"], Z6 = { key: 0 }, e8 = ["x1", "x2", "y1", "y2", "stroke"], t8 = ["id"], A8 = ["stop-color"], r8 = ["stop-color"], n8 = ["stop-color"], a8 = ["id"], i8 = ["stop-color"], s8 = ["stop-color"], o8 = ["stop-color"], l8 = ["id"], u8 = ["stop-color"], c8 = ["stop-color"], h8 = ["id"], f8 = ["stop-color"], d8 = ["stop-color"], g8 = ["x", "y", "height", "width", "fill"], p8 = ["cx", "cy", "r", "fill", "stroke"], v8 = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], w8 = ["cx", "cy", "r", "fill", "stroke"], B8 = { key: 0 }, m8 = ["x", "y", "font-size", "fill"], y8 = { key: 1 }, x8 = ["x", "y", "font-size", "fill"], b8 = { key: 2 }, C8 = ["x", "y", "font-size", "fill"], F8 = { key: 3 }, _8 = ["x1", "x2", "y1", "y2", "stroke"], E8 = ["x", "y", "font-size", "fill"], S8 = ["font-size", "fill"], U8 = ["x", "y", "font-size", "fill"], Q8 = { key: 4 }, L8 = {
30600
30602
  x: "0",
@@ -31070,14 +31072,18 @@ function X8(e, t, A, r, n, a) {
31070
31072
  ], 12, k8))
31071
31073
  ])) : ye("", !0),
31072
31074
  a.chartConfig.chart.grid.labels.xAxisLabels.show ? (U(), Q("g", D8, [
31073
- (U(!0), Q(Pe, null, je(a.maxSeries, (i, s) => (U(), Q("text", {
31074
- key: `time_label_${s}`,
31075
- "text-anchor": "middle",
31076
- y: a.drawingArea.bottom + a.chartConfig.chart.grid.labels.xAxisLabels.fontSize * 1.3,
31077
- x: a.drawingArea.left + a.drawingArea.width / a.maxSeries * s + a.drawingArea.width / a.maxSeries / 2,
31078
- "font-size": a.chartConfig.chart.grid.labels.xAxisLabels.fontSize,
31079
- fill: a.chartConfig.chart.grid.labels.xAxisLabels.color
31080
- }, Ae(a.chartConfig.chart.grid.labels.xAxisLabels.values[s] || ""), 9, O8))), 128))
31075
+ (U(!0), Q(Pe, null, je(a.maxSeries, (i, s) => (U(), Q("g", {
31076
+ key: `time_label_${s}`
31077
+ }, [
31078
+ !a.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast || a.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (s === 0 || s === a.maxSeries - 1) ? (U(), Q("text", {
31079
+ key: 0,
31080
+ "text-anchor": "middle",
31081
+ y: a.drawingArea.bottom + a.chartConfig.chart.grid.labels.xAxisLabels.fontSize * 1.3,
31082
+ x: a.drawingArea.left + a.drawingArea.width / a.maxSeries * s + a.drawingArea.width / a.maxSeries / 2,
31083
+ "font-size": a.chartConfig.chart.grid.labels.xAxisLabels.fontSize,
31084
+ fill: a.chartConfig.chart.grid.labels.xAxisLabels.color
31085
+ }, Ae(a.chartConfig.chart.grid.labels.xAxisLabels.values[s] || ""), 9, O8)) : ye("", !0)
31086
+ ]))), 128))
31081
31087
  ])) : ye("", !0),
31082
31088
  a.chartConfig.chart.tooltip.show ? (U(), Q("g", M8, [
31083
31089
  (U(!0), Q(Pe, null, je(a.maxSeries, (i, s) => (U(), Q("g", {
@@ -31174,7 +31180,7 @@ function X8(e, t, A, r, n, a) {
31174
31180
  ], 2)) : ye("", !0)
31175
31181
  ], 12, L6);
31176
31182
  }
31177
- const fD = /* @__PURE__ */ mi(U6, [["render", X8], ["__scopeId", "data-v-e7962bdc"]]);
31183
+ const fD = /* @__PURE__ */ mi(U6, [["render", X8], ["__scopeId", "data-v-84608fe1"]]);
31178
31184
  const q8 = {
31179
31185
  name: "vue-ui-table",
31180
31186
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as Ha } from "./index-69700b2d.js";
1
+ import { _ as Ha } from "./index-469ea59a.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-e7962bdc]{transition:unset}.vue-ui-xy[data-v-e7962bdc]{position:relative;padding-top:36px}.vue-ui-xy-user-options[data-v-e7962bdc]{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-e7962bdc]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-xy-user-options summary[data-v-e7962bdc]{text-align:right;direction:rtl}.vue-ui-xy-user-options-items[data-v-e7962bdc]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-xy-user-options-item[data-v-e7962bdc]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-xy-legend[data-v-e7962bdc]{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-e7962bdc]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px}.vue-ui-xy-legend-item-segregated[data-v-e7962bdc]{opacity:.5}.vue-ui-xy-title[data-v-e7962bdc]{align-items:center;display:flex;flex-direction:column;justify-content:center;width:100%}.vue-ui-xy svg rect[data-v-e7962bdc]{transition:all .11s ease-in-out}.vue-ui-xy-tooltip[data-v-e7962bdc]{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-e7962bdc]{width:100%;max-height:300px;overflow:auto;margin-top:24px;position:relative}.vue-ui-xy-table-wrapper-printing[data-v-e7962bdc]{max-height:unset;height:fit-content}.vue-ui-xy-table[data-v-e7962bdc]{width:100%;border-collapse:collapse}.vue-ui-xy-table td[data-v-e7962bdc]{border:1px solid #e1e5e8;text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-xy-table thead[data-v-e7962bdc]{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-e7962bdc]{background:#e1e5e8}.vue-ui-xy-button[data-v-e7962bdc]{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-e7962bdc]:hover{background:rgba(0,0,0,.05)}.vue-ui-xy-print-icon[data-v-e7962bdc]{animation:smartspin-e7962bdc .5s infinite linear}@keyframes smartspin-e7962bdc{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-table-main[data-v-80d709a0]{height:fit-content;padding:0 0 98px;position:relative}.vue-ui-table__wrapper[data-v-80d709a0]{overflow-x:auto;padding:0 12px 48px;position:relative;width:calc(100% - 24px)}.vue-ui-table-main thead[data-v-80d709a0]{position:sticky;top:0}.vue-ui-table[data-v-80d709a0]{width:100%;position:relative}.vue-ui-table-main table[data-v-80d709a0]{border-collapse:collapse}.vue-ui-table-main th[data-v-80d709a0],.vue-ui-table-main td[data-v-80d709a0]{padding:3px 8px}.vue-ui-table-main tr td[data-v-80d709a0]{outline:1px solid white}.vue-ui-table-main .th-numeric[data-v-80d709a0]{text-align:right;font-variant-numeric:tabular-nums}.vue-ui-table-main .th-filter[data-v-80d709a0]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;position:relative}.vue-ui-table-main button[data-v-80d709a0]{align-items:center;cursor:pointer;display:flex;justify-content:center;width:32px}.vue-ui-table-main input[data-v-80d709a0]{padding:0 6px;font-family:Satoshi}.vue-ui-table-main button[data-v-80d709a0],.vue-ui-table-main input[data-v-80d709a0]{border-radius:6px;height:32px}.vue-ui-table-main button[data-v-80d709a0]{border:1px solid grey}.vue-ui-table-main button[data-v-80d709a0]:hover,.vue-ui-table-main button[data-v-80d709a0]:focus,.vue-ui-table-main input[data-v-80d709a0]:hover,.vue-ui-table-main input[data-v-80d709a0]:focus{outline:3px solid rgba(128,128,128,.432)}.vue-ui-table-main button.clicked[data-v-80d709a0]{animation:clicked-80d709a0 .15s ease-in-out}.vue-ui-table-main button[disabled][data-v-80d709a0]{cursor:not-allowed}.vue-ui-table-main button[disabled][data-v-80d709a0]:focus,.vue-ui-table-main button[disabled][data-v-80d709a0]:hover{outline:none}button.th-reset[data-v-80d709a0]:not(:disabled){background:radial-gradient(at top,#f19a71,#F17171);border:1px solid #F17171;color:#fff}.vue-ui-table-main button.th-reset[data-v-80d709a0]:not(:disabled):hover,.vue-ui-table-main button.th-reset[data-v-80d709a0]:not(:disabled):focus{outline:3px solid #f171717e}.vue-ui-table-main [data-is-open=false][data-v-80d709a0]{transform:scale(0)}.vue-ui-table-main .th-dropdown[data-is-open=true][data-v-80d709a0]{animation:open-dropdown-80d709a0 .2s ease-in}.vue-ui-table-main .th-dropdown[data-is-open=false][data-v-80d709a0]{animation:close-dropdown-80d709a0 .2s ease-in}.vue-ui-table-main .th-dropdown[data-v-80d709a0]{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-80d709a0]{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-80d709a0]:hover{background-color:#ffffff1a;box-shadow:0 3px 6px -3px #00000080;z-index:1}.vue-ui-table-main button.close-dropdown[data-v-80d709a0],.vue-ui-table-main button.close-chart-modal[data-v-80d709a0]{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-80d709a0]:hover,.vue-ui-table-main button.close-dropdown[data-v-80d709a0]:focus,.vue-ui-table-main button.close-chart-modal[data-v-80d709a0]:hover,.vue-ui-table-main button.close-char-modal[data-v-80d709a0]:focus{outline:3px solid #2d353c71}.vue-ui-table-main .th-button-active[data-v-80d709a0]{background:radial-gradient(at top,#968bf1,#6376DD);color:#fff}.vue-ui-table-main .th-button-active[data-v-80d709a0]:hover,.vue-ui-table-main .th-button-active[data-v-80d709a0]:focus{outline:3px solid #6375dd7a}.vue-ui-table-main .th-date[data-v-80d709a0]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--inputs[data-v-80d709a0]{align-items:center;display:flex;flex-direction:column;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--button[data-v-80d709a0]{display:flex;gap:3px}.vue-ui-table-main input[type=date][data-v-80d709a0]{border-radius:4px;font-size:12px;font-variant-numeric:tabular-nums;height:20px!important;width:100px}.vue-ui-table-main .date-fieldset[data-v-80d709a0]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-fieldset label[data-v-80d709a0]{font-size:12px;font-weight:400}@keyframes clicked-80d709a0{0%{transform:scale(.9)}90%{transform:scale(1.03)}to{transform:scale(1)}}.vue-ui-table-main td.td-numeric[data-v-80d709a0]{cursor:pointer}.vue-ui-table-main .td-selector-info[data-v-80d709a0]{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-80d709a0]{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-80d709a0]:hover,.vue-ui-table-main button.td-selector-info-reset[data-v-80d709a0]:focus{outline:3px solid #f171717e}.vue-ui-table-main .format-num[data-v-80d709a0]{font-variant-numeric:tabular-nums}.vue-ui-table-main .td-selector-icon[data-v-80d709a0]{margin-bottom:-5px;margin-right:6px}.vue-ui-table-main .vue-ui-table-pagination[data-v-80d709a0]{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-80d709a0]{height:36px;padding:1px;width:36px}.vue-ui-table-main .vue-ui-table-navigation-indicator[data-v-80d709a0]{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-80d709a0]{align-items:center;display:flex;flex-direction:column;justify-content:center}.vue-ui-table-main input.vue-ui-table-page-scroller[data-v-80d709a0]{cursor:pointer;height:24px;padding:0}.vue-ui-table-main .vue-ui-table-paginator[data-v-80d709a0]{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-80d709a0]{border-radius:3px}.vue-ui-table-main .vue-ui-table-size-warning[data-v-80d709a0]{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-80d709a0]{height:12px}.vue-ui-table-main .col-selector[data-v-80d709a0]{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.vue-ui-table-main th.col-selector--selected[data-v-80d709a0]{background:radial-gradient(at top left,#9586eb,#6376DD);color:#fff}.vue-ui-table-main th.col-selector--selected div[data-v-80d709a0]{background:transparent;color:#fff}.vue-ui-table-main .vue-ui-table-chart-modal[data-v-80d709a0]{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-80d709a0]{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-80d709a0]{border-radius:6px}.vue-ui-table-main td.vue-ui-table-td-iteration[data-v-80d709a0]{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-80d709a0]{font-size:12px;padding-left:12px}.vue-ui-table-main .chart-modal-options[data-v-80d709a0]{bottom:12px;display:flex;flex-direction:row;gap:8px;position:absolute;right:24px}.vue-ui-table-main .chart-modal-options button[data-v-80d709a0]{height:24px;padding:3px;width:24px}.vue-ui-table-main .th-range-filter[data-v-80d709a0]{display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column}.vue-ui-table-main .th-range-filter input[data-v-80d709a0]{height:20px;width:60px;font-variant-numeric:tabular-nums;font-size:12px}.vue-ui-table-main .th-range-filter label[data-v-80d709a0]{font-size:12px;font-weight:400;margin-bottom:-3px}.vue-ui-table-main .vue-ui-table-fieldset-wrapper[data-v-80d709a0]{display:flex;flex-direction:row;flex-wrap:wrap;gap:24px;margin-bottom:12px}.vue-ui-table-main .vue-ui-table-fieldset[data-v-80d709a0]{border-radius:6px;margin-bottom:24px;border:1px solid white}.vue-ui-table-main .vue-ui-table-fieldset legend[data-v-80d709a0]{color:gray}.vue-ui-table-main .vue-ui-table-fieldset-option[data-v-80d709a0]{display:flex;align-items:center}.vue-ui-table-main .vue-ui-table-fieldset-option input[data-v-80d709a0]{height:14px;width:14px;border-radius:50%}.vue-ui-table-main button.vue-ui-table-generate-donut[data-v-80d709a0]{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-80d709a0]{opacity:.5}.vue-ui-table-main .vue-ui-table-donut-legend[data-v-80d709a0]{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-80d709a0]{align-items:center;display:flex;flex-direction:row;gap:3px;justify-content:center}.vue-ui-table-main .vue-ui-table-donut-label[data-v-80d709a0]{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-80d709a0]{font-size:3px;line-height:3px}.vue-ui-table-main td[data-v-80d709a0]:focus{outline:3px solid #202d7470}.vue-ui-table-main .vue-ui-table-export-hub[data-v-80d709a0]{left:5px;position:absolute;top:0;z-index:1001}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-v-80d709a0]{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-80d709a0]{animation:open-dropdown-80d709a0 .2s ease-in forwards}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=false][data-v-80d709a0]{animation:close-dropdown-80d709a0 .2s ease-in}.vue-ui-table-main .vue-ui-table-export-hub-options[data-v-80d709a0]{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-80d709a0]{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-80d709a0]{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-80d709a0]{font-size:12px;line-height:12px;margin-bottom:6px;width:100px}.vue-ui-table-main .td-nan[data-v-80d709a0]{background:#F17171}.vue-ui-table-main .td-has-nan[data-v-80d709a0],.vue-ui-table-main .th-has-nan[data-v-80d709a0]{background:#F17171;min-width:100px;color:#fff}@keyframes open-dropdown-80d709a0{0%{transform:scaleY(.9);opacity:0}50%{transform:scaleY(1.05);opacity:1}to{transform:scale(1);opacity:1}}@keyframes close-dropdown-80d709a0{0%{transform:scale(1.05);opacity:1}to{transform:scale(0);opacity:0}}.vue-ui-donut *[data-v-2bfc0993]{transition:unset}.vue-ui-donut[data-v-2bfc0993]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-donut .vue-ui-donut-label[data-v-2bfc0993]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-donut-legend[data-v-2bfc0993]{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-2bfc0993]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-donut-tooltip[data-v-2bfc0993]{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-2bfc0993]{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-2bfc0993]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-donut summary[data-v-2bfc0993]{text-align:right;direction:rtl}.vue-ui-donut-user-options-items[data-v-2bfc0993]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-donut-user-options-item[data-v-2bfc0993]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-donut-button[data-v-2bfc0993]{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-2bfc0993]:hover{background:rgba(0,0,0,.05)}.vue-ui-donut-print-icon[data-v-2bfc0993]{animation:smartspin-2bfc0993 .5s infinite linear}@keyframes smartspin-2bfc0993{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-donut table[data-v-2bfc0993]{width:100%;border-collapse:collapse}.vue-ui-donut table td[data-v-2bfc0993]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-donut table th[data-v-2bfc0993]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-waffle *[data-v-b5e5745f]{transition:unset}.vue-ui-waffle[data-v-b5e5745f]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-waffle .vue-ui-waffle-label[data-v-b5e5745f]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-waffle-legend[data-v-b5e5745f]{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-b5e5745f]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-waffle-tooltip[data-v-b5e5745f]{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-b5e5745f]{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-b5e5745f]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-waffle summary[data-v-b5e5745f]{text-align:right;direction:rtl}.vue-ui-waffle-user-options-items[data-v-b5e5745f]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-waffle-user-options-item[data-v-b5e5745f]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-waffle-button[data-v-b5e5745f]{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-b5e5745f]:hover{background:rgba(0,0,0,.05)}.vue-ui-waffle-print-icon[data-v-b5e5745f]{animation:smartspin-b5e5745f .5s infinite linear}@keyframes smartspin-b5e5745f{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-waffle table[data-v-b5e5745f]{width:100%;border-collapse:collapse}.vue-ui-waffle table td[data-v-b5e5745f]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-waffle table th[data-v-b5e5745f]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-radar *[data-v-65624abe]{transition:unset}.vue-ui-radar[data-v-65624abe]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-radar .vue-ui-radar-label[data-v-65624abe]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-radar-legend[data-v-65624abe]{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-65624abe]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-radar-tooltip[data-v-65624abe]{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-65624abe]{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-65624abe]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-radar summary[data-v-65624abe]{text-align:right;direction:rtl}.vue-ui-radar-user-options-items[data-v-65624abe]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-radar-user-options-item[data-v-65624abe]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-radar-button[data-v-65624abe]{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-65624abe]:hover{background:rgba(0,0,0,.05)}.vue-ui-radar-print-icon[data-v-65624abe]{animation:smartspin-65624abe .5s infinite linear}@keyframes smartspin-65624abe{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-radar table[data-v-65624abe]{width:100%;border-collapse:collapse}.vue-ui-radar table td[data-v-65624abe]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-radar table th[data-v-65624abe]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-quadrant *[data-v-585093d1]{transition:unset}.vue-ui-quadrant[data-v-585093d1]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-quadrant .vue-ui-quadrant-label[data-v-585093d1]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-quadrant-legend[data-v-585093d1]{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-585093d1]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-quadrant-tooltip[data-v-585093d1]{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-585093d1]{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-585093d1]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-quadrant summary[data-v-585093d1]{text-align:right;direction:rtl}.vue-ui-quadrant-user-options-items[data-v-585093d1]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-quadrant-user-options-item[data-v-585093d1]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-quadrant-button[data-v-585093d1]{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-585093d1]:hover{background:rgba(0,0,0,.05)}.vue-ui-quadrant-print-icon[data-v-585093d1]{animation:smartspin-585093d1 .5s infinite linear}@keyframes smartspin-585093d1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-quadrant table[data-v-585093d1]{width:100%;border-collapse:collapse}.vue-ui-quadrant table td[data-v-585093d1]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-quadrant table th[data-v-585093d1]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-gauge *[data-v-86d647d0]{transition:unset}.vue-ui-gauge[data-v-86d647d0]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-gauge .vue-ui-gauge-label[data-v-86d647d0]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-gauge-legend[data-v-86d647d0]{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-86d647d0]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-gauge-tooltip[data-v-86d647d0]{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-86d647d0]{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-86d647d0]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-gauge summary[data-v-86d647d0]{text-align:right;direction:rtl}.vue-ui-gauge-user-options-items[data-v-86d647d0]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-gauge-user-options-item[data-v-86d647d0]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-gauge-button[data-v-86d647d0]{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-86d647d0]:hover{background:rgba(0,0,0,.05)}.vue-ui-gauge-print-icon[data-v-86d647d0]{animation:smartspin-86d647d0 .5s infinite linear}@keyframes smartspin-86d647d0{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut *[data-v-b5b9ba4f]{transition:unset}.vue-ui-chestnut[data-v-b5b9ba4f]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-chestnut .vue-ui-chestnut-label[data-v-b5b9ba4f]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-chestnut-legend[data-v-b5b9ba4f]{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-b5b9ba4f]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-chestnut-tooltip[data-v-b5b9ba4f]{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-b5b9ba4f]{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-b5b9ba4f]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-chestnut summary[data-v-b5b9ba4f]{text-align:right;direction:rtl}.vue-ui-chestnut-user-options-items[data-v-b5b9ba4f]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-chestnut-user-options-item[data-v-b5b9ba4f]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-chestnut-button[data-v-b5b9ba4f]{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-b5b9ba4f]:hover{background:rgba(0,0,0,.05)}.vue-ui-chestnut-print-icon[data-v-b5b9ba4f]{animation:smartspin-b5b9ba4f .5s infinite linear}@keyframes smartspin-b5b9ba4f{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut table[data-v-b5b9ba4f]{width:100%;border-collapse:collapse}.vue-ui-chestnut table td[data-v-b5b9ba4f]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-chestnut table th[data-v-b5b9ba4f]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-chestnut-animated[data-v-b5b9ba4f]{opacity:0;animation:chestnut-opacity-b5b9ba4f .2s ease-in-out forwards}@keyframes chestnut-opacity-b5b9ba4f{0%{transform:scaleX(.98);opacity:0}to{transform:scale(1);opacity:1}}
1
+ .vue-ui-xy *[data-v-84608fe1]{transition:unset}.vue-ui-xy[data-v-84608fe1]{position:relative;padding-top:36px}.vue-ui-xy-user-options[data-v-84608fe1]{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-84608fe1]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-xy-user-options summary[data-v-84608fe1]{text-align:right;direction:rtl}.vue-ui-xy-user-options-items[data-v-84608fe1]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-xy-user-options-item[data-v-84608fe1]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-xy-legend[data-v-84608fe1]{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-84608fe1]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px}.vue-ui-xy-legend-item-segregated[data-v-84608fe1]{opacity:.5}.vue-ui-xy-title[data-v-84608fe1]{align-items:center;display:flex;flex-direction:column;justify-content:center;width:100%}.vue-ui-xy svg rect[data-v-84608fe1]{transition:all .11s ease-in-out}.vue-ui-xy-tooltip[data-v-84608fe1]{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-84608fe1]{width:100%;max-height:300px;overflow:auto;margin-top:24px;position:relative}.vue-ui-xy-table-wrapper-printing[data-v-84608fe1]{max-height:unset;height:fit-content}.vue-ui-xy-table[data-v-84608fe1]{width:100%;border-collapse:collapse}.vue-ui-xy-table td[data-v-84608fe1]{border:1px solid #e1e5e8;text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-xy-table thead[data-v-84608fe1]{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-84608fe1]{background:#e1e5e8}.vue-ui-xy-button[data-v-84608fe1]{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-84608fe1]:hover{background:rgba(0,0,0,.05)}.vue-ui-xy-print-icon[data-v-84608fe1]{animation:smartspin-84608fe1 .5s infinite linear}@keyframes smartspin-84608fe1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-table-main[data-v-80d709a0]{height:fit-content;padding:0 0 98px;position:relative}.vue-ui-table__wrapper[data-v-80d709a0]{overflow-x:auto;padding:0 12px 48px;position:relative;width:calc(100% - 24px)}.vue-ui-table-main thead[data-v-80d709a0]{position:sticky;top:0}.vue-ui-table[data-v-80d709a0]{width:100%;position:relative}.vue-ui-table-main table[data-v-80d709a0]{border-collapse:collapse}.vue-ui-table-main th[data-v-80d709a0],.vue-ui-table-main td[data-v-80d709a0]{padding:3px 8px}.vue-ui-table-main tr td[data-v-80d709a0]{outline:1px solid white}.vue-ui-table-main .th-numeric[data-v-80d709a0]{text-align:right;font-variant-numeric:tabular-nums}.vue-ui-table-main .th-filter[data-v-80d709a0]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;position:relative}.vue-ui-table-main button[data-v-80d709a0]{align-items:center;cursor:pointer;display:flex;justify-content:center;width:32px}.vue-ui-table-main input[data-v-80d709a0]{padding:0 6px;font-family:Satoshi}.vue-ui-table-main button[data-v-80d709a0],.vue-ui-table-main input[data-v-80d709a0]{border-radius:6px;height:32px}.vue-ui-table-main button[data-v-80d709a0]{border:1px solid grey}.vue-ui-table-main button[data-v-80d709a0]:hover,.vue-ui-table-main button[data-v-80d709a0]:focus,.vue-ui-table-main input[data-v-80d709a0]:hover,.vue-ui-table-main input[data-v-80d709a0]:focus{outline:3px solid rgba(128,128,128,.432)}.vue-ui-table-main button.clicked[data-v-80d709a0]{animation:clicked-80d709a0 .15s ease-in-out}.vue-ui-table-main button[disabled][data-v-80d709a0]{cursor:not-allowed}.vue-ui-table-main button[disabled][data-v-80d709a0]:focus,.vue-ui-table-main button[disabled][data-v-80d709a0]:hover{outline:none}button.th-reset[data-v-80d709a0]:not(:disabled){background:radial-gradient(at top,#f19a71,#F17171);border:1px solid #F17171;color:#fff}.vue-ui-table-main button.th-reset[data-v-80d709a0]:not(:disabled):hover,.vue-ui-table-main button.th-reset[data-v-80d709a0]:not(:disabled):focus{outline:3px solid #f171717e}.vue-ui-table-main [data-is-open=false][data-v-80d709a0]{transform:scale(0)}.vue-ui-table-main .th-dropdown[data-is-open=true][data-v-80d709a0]{animation:open-dropdown-80d709a0 .2s ease-in}.vue-ui-table-main .th-dropdown[data-is-open=false][data-v-80d709a0]{animation:close-dropdown-80d709a0 .2s ease-in}.vue-ui-table-main .th-dropdown[data-v-80d709a0]{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-80d709a0]{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-80d709a0]:hover{background-color:#ffffff1a;box-shadow:0 3px 6px -3px #00000080;z-index:1}.vue-ui-table-main button.close-dropdown[data-v-80d709a0],.vue-ui-table-main button.close-chart-modal[data-v-80d709a0]{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-80d709a0]:hover,.vue-ui-table-main button.close-dropdown[data-v-80d709a0]:focus,.vue-ui-table-main button.close-chart-modal[data-v-80d709a0]:hover,.vue-ui-table-main button.close-char-modal[data-v-80d709a0]:focus{outline:3px solid #2d353c71}.vue-ui-table-main .th-button-active[data-v-80d709a0]{background:radial-gradient(at top,#968bf1,#6376DD);color:#fff}.vue-ui-table-main .th-button-active[data-v-80d709a0]:hover,.vue-ui-table-main .th-button-active[data-v-80d709a0]:focus{outline:3px solid #6375dd7a}.vue-ui-table-main .th-date[data-v-80d709a0]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--inputs[data-v-80d709a0]{align-items:center;display:flex;flex-direction:column;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--button[data-v-80d709a0]{display:flex;gap:3px}.vue-ui-table-main input[type=date][data-v-80d709a0]{border-radius:4px;font-size:12px;font-variant-numeric:tabular-nums;height:20px!important;width:100px}.vue-ui-table-main .date-fieldset[data-v-80d709a0]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-fieldset label[data-v-80d709a0]{font-size:12px;font-weight:400}@keyframes clicked-80d709a0{0%{transform:scale(.9)}90%{transform:scale(1.03)}to{transform:scale(1)}}.vue-ui-table-main td.td-numeric[data-v-80d709a0]{cursor:pointer}.vue-ui-table-main .td-selector-info[data-v-80d709a0]{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-80d709a0]{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-80d709a0]:hover,.vue-ui-table-main button.td-selector-info-reset[data-v-80d709a0]:focus{outline:3px solid #f171717e}.vue-ui-table-main .format-num[data-v-80d709a0]{font-variant-numeric:tabular-nums}.vue-ui-table-main .td-selector-icon[data-v-80d709a0]{margin-bottom:-5px;margin-right:6px}.vue-ui-table-main .vue-ui-table-pagination[data-v-80d709a0]{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-80d709a0]{height:36px;padding:1px;width:36px}.vue-ui-table-main .vue-ui-table-navigation-indicator[data-v-80d709a0]{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-80d709a0]{align-items:center;display:flex;flex-direction:column;justify-content:center}.vue-ui-table-main input.vue-ui-table-page-scroller[data-v-80d709a0]{cursor:pointer;height:24px;padding:0}.vue-ui-table-main .vue-ui-table-paginator[data-v-80d709a0]{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-80d709a0]{border-radius:3px}.vue-ui-table-main .vue-ui-table-size-warning[data-v-80d709a0]{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-80d709a0]{height:12px}.vue-ui-table-main .col-selector[data-v-80d709a0]{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.vue-ui-table-main th.col-selector--selected[data-v-80d709a0]{background:radial-gradient(at top left,#9586eb,#6376DD);color:#fff}.vue-ui-table-main th.col-selector--selected div[data-v-80d709a0]{background:transparent;color:#fff}.vue-ui-table-main .vue-ui-table-chart-modal[data-v-80d709a0]{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-80d709a0]{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-80d709a0]{border-radius:6px}.vue-ui-table-main td.vue-ui-table-td-iteration[data-v-80d709a0]{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-80d709a0]{font-size:12px;padding-left:12px}.vue-ui-table-main .chart-modal-options[data-v-80d709a0]{bottom:12px;display:flex;flex-direction:row;gap:8px;position:absolute;right:24px}.vue-ui-table-main .chart-modal-options button[data-v-80d709a0]{height:24px;padding:3px;width:24px}.vue-ui-table-main .th-range-filter[data-v-80d709a0]{display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column}.vue-ui-table-main .th-range-filter input[data-v-80d709a0]{height:20px;width:60px;font-variant-numeric:tabular-nums;font-size:12px}.vue-ui-table-main .th-range-filter label[data-v-80d709a0]{font-size:12px;font-weight:400;margin-bottom:-3px}.vue-ui-table-main .vue-ui-table-fieldset-wrapper[data-v-80d709a0]{display:flex;flex-direction:row;flex-wrap:wrap;gap:24px;margin-bottom:12px}.vue-ui-table-main .vue-ui-table-fieldset[data-v-80d709a0]{border-radius:6px;margin-bottom:24px;border:1px solid white}.vue-ui-table-main .vue-ui-table-fieldset legend[data-v-80d709a0]{color:gray}.vue-ui-table-main .vue-ui-table-fieldset-option[data-v-80d709a0]{display:flex;align-items:center}.vue-ui-table-main .vue-ui-table-fieldset-option input[data-v-80d709a0]{height:14px;width:14px;border-radius:50%}.vue-ui-table-main button.vue-ui-table-generate-donut[data-v-80d709a0]{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-80d709a0]{opacity:.5}.vue-ui-table-main .vue-ui-table-donut-legend[data-v-80d709a0]{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-80d709a0]{align-items:center;display:flex;flex-direction:row;gap:3px;justify-content:center}.vue-ui-table-main .vue-ui-table-donut-label[data-v-80d709a0]{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-80d709a0]{font-size:3px;line-height:3px}.vue-ui-table-main td[data-v-80d709a0]:focus{outline:3px solid #202d7470}.vue-ui-table-main .vue-ui-table-export-hub[data-v-80d709a0]{left:5px;position:absolute;top:0;z-index:1001}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-v-80d709a0]{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-80d709a0]{animation:open-dropdown-80d709a0 .2s ease-in forwards}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=false][data-v-80d709a0]{animation:close-dropdown-80d709a0 .2s ease-in}.vue-ui-table-main .vue-ui-table-export-hub-options[data-v-80d709a0]{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-80d709a0]{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-80d709a0]{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-80d709a0]{font-size:12px;line-height:12px;margin-bottom:6px;width:100px}.vue-ui-table-main .td-nan[data-v-80d709a0]{background:#F17171}.vue-ui-table-main .td-has-nan[data-v-80d709a0],.vue-ui-table-main .th-has-nan[data-v-80d709a0]{background:#F17171;min-width:100px;color:#fff}@keyframes open-dropdown-80d709a0{0%{transform:scaleY(.9);opacity:0}50%{transform:scaleY(1.05);opacity:1}to{transform:scale(1);opacity:1}}@keyframes close-dropdown-80d709a0{0%{transform:scale(1.05);opacity:1}to{transform:scale(0);opacity:0}}.vue-ui-donut *[data-v-2bfc0993]{transition:unset}.vue-ui-donut[data-v-2bfc0993]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-donut .vue-ui-donut-label[data-v-2bfc0993]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-donut-legend[data-v-2bfc0993]{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-2bfc0993]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-donut-tooltip[data-v-2bfc0993]{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-2bfc0993]{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-2bfc0993]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-donut summary[data-v-2bfc0993]{text-align:right;direction:rtl}.vue-ui-donut-user-options-items[data-v-2bfc0993]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-donut-user-options-item[data-v-2bfc0993]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-donut-button[data-v-2bfc0993]{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-2bfc0993]:hover{background:rgba(0,0,0,.05)}.vue-ui-donut-print-icon[data-v-2bfc0993]{animation:smartspin-2bfc0993 .5s infinite linear}@keyframes smartspin-2bfc0993{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-donut table[data-v-2bfc0993]{width:100%;border-collapse:collapse}.vue-ui-donut table td[data-v-2bfc0993]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-donut table th[data-v-2bfc0993]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-waffle *[data-v-b5e5745f]{transition:unset}.vue-ui-waffle[data-v-b5e5745f]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-waffle .vue-ui-waffle-label[data-v-b5e5745f]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-waffle-legend[data-v-b5e5745f]{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-b5e5745f]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-waffle-tooltip[data-v-b5e5745f]{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-b5e5745f]{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-b5e5745f]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-waffle summary[data-v-b5e5745f]{text-align:right;direction:rtl}.vue-ui-waffle-user-options-items[data-v-b5e5745f]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-waffle-user-options-item[data-v-b5e5745f]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-waffle-button[data-v-b5e5745f]{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-b5e5745f]:hover{background:rgba(0,0,0,.05)}.vue-ui-waffle-print-icon[data-v-b5e5745f]{animation:smartspin-b5e5745f .5s infinite linear}@keyframes smartspin-b5e5745f{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-waffle table[data-v-b5e5745f]{width:100%;border-collapse:collapse}.vue-ui-waffle table td[data-v-b5e5745f]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-waffle table th[data-v-b5e5745f]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-radar *[data-v-65624abe]{transition:unset}.vue-ui-radar[data-v-65624abe]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-radar .vue-ui-radar-label[data-v-65624abe]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-radar-legend[data-v-65624abe]{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-65624abe]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-radar-tooltip[data-v-65624abe]{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-65624abe]{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-65624abe]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-radar summary[data-v-65624abe]{text-align:right;direction:rtl}.vue-ui-radar-user-options-items[data-v-65624abe]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-radar-user-options-item[data-v-65624abe]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-radar-button[data-v-65624abe]{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-65624abe]:hover{background:rgba(0,0,0,.05)}.vue-ui-radar-print-icon[data-v-65624abe]{animation:smartspin-65624abe .5s infinite linear}@keyframes smartspin-65624abe{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-radar table[data-v-65624abe]{width:100%;border-collapse:collapse}.vue-ui-radar table td[data-v-65624abe]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-radar table th[data-v-65624abe]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-quadrant *[data-v-585093d1]{transition:unset}.vue-ui-quadrant[data-v-585093d1]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-quadrant .vue-ui-quadrant-label[data-v-585093d1]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-quadrant-legend[data-v-585093d1]{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-585093d1]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-quadrant-tooltip[data-v-585093d1]{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-585093d1]{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-585093d1]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-quadrant summary[data-v-585093d1]{text-align:right;direction:rtl}.vue-ui-quadrant-user-options-items[data-v-585093d1]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-quadrant-user-options-item[data-v-585093d1]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-quadrant-button[data-v-585093d1]{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-585093d1]:hover{background:rgba(0,0,0,.05)}.vue-ui-quadrant-print-icon[data-v-585093d1]{animation:smartspin-585093d1 .5s infinite linear}@keyframes smartspin-585093d1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-quadrant table[data-v-585093d1]{width:100%;border-collapse:collapse}.vue-ui-quadrant table td[data-v-585093d1]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-quadrant table th[data-v-585093d1]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-gauge *[data-v-86d647d0]{transition:unset}.vue-ui-gauge[data-v-86d647d0]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-gauge .vue-ui-gauge-label[data-v-86d647d0]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-gauge-legend[data-v-86d647d0]{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-86d647d0]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-gauge-tooltip[data-v-86d647d0]{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-86d647d0]{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-86d647d0]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-gauge summary[data-v-86d647d0]{text-align:right;direction:rtl}.vue-ui-gauge-user-options-items[data-v-86d647d0]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-gauge-user-options-item[data-v-86d647d0]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-gauge-button[data-v-86d647d0]{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-86d647d0]:hover{background:rgba(0,0,0,.05)}.vue-ui-gauge-print-icon[data-v-86d647d0]{animation:smartspin-86d647d0 .5s infinite linear}@keyframes smartspin-86d647d0{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut *[data-v-b5b9ba4f]{transition:unset}.vue-ui-chestnut[data-v-b5b9ba4f]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-chestnut .vue-ui-chestnut-label[data-v-b5b9ba4f]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-chestnut-legend[data-v-b5b9ba4f]{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-b5b9ba4f]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-chestnut-tooltip[data-v-b5b9ba4f]{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-b5b9ba4f]{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-b5b9ba4f]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-chestnut summary[data-v-b5b9ba4f]{text-align:right;direction:rtl}.vue-ui-chestnut-user-options-items[data-v-b5b9ba4f]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-chestnut-user-options-item[data-v-b5b9ba4f]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-chestnut-button[data-v-b5b9ba4f]{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-b5b9ba4f]:hover{background:rgba(0,0,0,.05)}.vue-ui-chestnut-print-icon[data-v-b5b9ba4f]{animation:smartspin-b5b9ba4f .5s infinite linear}@keyframes smartspin-b5b9ba4f{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut table[data-v-b5b9ba4f]{width:100%;border-collapse:collapse}.vue-ui-chestnut table td[data-v-b5b9ba4f]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-chestnut table th[data-v-b5b9ba4f]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-chestnut-animated[data-v-b5b9ba4f]{opacity:0;animation:chestnut-opacity-b5b9ba4f .2s ease-in-out forwards}@keyframes chestnut-opacity-b5b9ba4f{0%{transform:scaleX(.98);opacity:0}to{transform:scale(1);opacity:1}}
@@ -1,4 +1,4 @@
1
- import { g as i, b as s, f as U, e as V, d as t, a as r, c as f, v as o } from "./index-69700b2d.js";
1
+ import { g as i, b as s, f as U, e as V, d as t, a as r, c as f, v as o } from "./index-469ea59a.js";
2
2
  import "vue";
3
3
  export {
4
4
  i as VueUiChestnut,
@@ -355,9 +355,9 @@ end`};e.events.push(["putFont",function(a){(function(i){var s=i.font,l=i.out,u=i
355
355
  `),l.push(` </office:body>
356
356
  `),s.bookType=="fods"?l.push("</office:document>"):l.push("</office:document-content>"),l.join("")}}();function GB(t,e){if(e.bookType=="fods")return KB(t,e);var r=n1(),n="",A=[],a=[];return n="mimetype",Qt(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",Qt(r,n,KB(t,e)),A.push([n,"text/xml"]),a.push([n,"ContentFile"]),n="styles.xml",Qt(r,n,lD(t,e)),A.push([n,"text/xml"]),a.push([n,"StylesFile"]),n="meta.xml",Qt(r,n,Gr+Gw()),A.push([n,"text/xml"]),a.push([n,"MetadataFile"]),n="manifest.rdf",Qt(r,n,B6(a)),A.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",Qt(r,n,y6(A)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function Hh(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function cD(t){return typeof TextEncoder<"u"?new TextEncoder().encode(t):KA(za(t))}function uD(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 Ni(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 hD(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 ac(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 Es(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 rn(t){for(var e=[],r=[0];r[0]<t.length;){var n=r[0],A=ac(t,r),a=A&7;A=Math.floor(A/8);var i=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:i=4,s=t.slice(r[0],r[0]+i),r[0]+=i;break;case 1:i=8,s=t.slice(r[0],r[0]+i),r[0]+=i;break;case 2:i=ac(t,r),s=t.slice(r[0],r[0]+i),r[0]+=i;break;case 3:case 4:default:throw new Error("PB Type ".concat(a," for Field ").concat(A," at offset ").concat(n))}var u={data:s,type:a};e[A]==null?e[A]=[u]:e[A].push(u)}return e}function bn(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))})}),Ni(e)}function WA(t){for(var e,r=[],n=[0];n[0]<t.length;){var A=ac(t,n),a=rn(t.slice(n[0],n[0]+A));n[0]+=A;var i={id:Es(a[1][0].data),messages:[]};a[2].forEach(function(s){var l=rn(s.data),u=Es(l[3][0].data);i.messages.push({meta:l,data:t.slice(n[0],n[0]+u)}),n[0]+=u}),(e=a[3])!=null&&e[0]&&(i.merge=Es(a[3][0].data)>>>0>0),r.push(i)}return r}function Fs(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(i){A.push(i.data),i.meta[3]=[{type:0,data:Ar(i.data.length)}],n[2].push({data:bn(i.meta),type:2})});var a=bn(n);e.push(Ar(a.length)),e.push(a),A.forEach(function(i){return e.push(i)})}),Ni(e)}function fD(t,e){if(t!=0)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var r=[0],n=ac(e,r),A=[];r[0]<e.length;){var a=e[r[0]]&3;if(a==0){var i=e[r[0]++]>>2;if(i<60)++i;else{var s=i-59;i=e[r[0]],s>1&&(i|=e[r[0]+1]<<8),s>2&&(i|=e[r[0]+2]<<16),s>3&&(i|=e[r[0]+3]<<24),i>>>=0,i++,r[0]+=s}A.push(e.slice(r[0],r[0]+i)),r[0]+=i;continue}else{var l=0,u=0;if(a==1?(u=(e[r[0]]>>2&7)+4,l=(e[r[0]++]&224)<<3,l|=e[r[0]++]):(u=(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=[Ni(A)],l==0)throw new Error("Invalid offset 0");if(l>A[0].length)throw new Error("Invalid offset beyond length");if(u>=l)for(A.push(A[0].slice(-l)),u-=l;u>=A[A.length-1].length;)A.push(A[A.length-1]),u-=A[A.length-1].length;A.push(A[0].slice(-l,-l+u))}}var c=Ni(A);if(c.length!=n)throw new Error("Unexpected length: ".concat(c.length," != ").concat(n));return c}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(fD(n,t.slice(r,r+A))),r+=A}if(r!==t.length)throw new Error("data is not a valid framed stream!");return Ni(e)}function Ss(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),i=a.length;e.push(a),n<=60?(i++,e.push(new Uint8Array([n-1<<2]))):n<=256?(i+=2,e.push(new Uint8Array([240,n-1&255]))):n<=65536?(i+=3,e.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(i+=4,e.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(i+=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)),i+=n,A[0]=0,A[1]=i&255,A[2]=i>>8&255,A[3]=i>>16&255,r+=n}return Ni(e)}function S1(t,e){var r=new Uint8Array(32),n=Hh(r),A=12,a=0;switch(r[0]=5,t.t){case"n":r[1]=2,hD(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 _1(t,e){var r=new Uint8Array(32),n=Hh(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 Li(t){var e=rn(t);return ac(e[1][0].data)}function dD(t,e,r){var n,A,a,i;if(!((n=t[6])!=null&&n[0])||!((A=t[7])!=null&&A[0]))throw"Mutation only works on post-BNC storages!";var s=((i=(a=t[8])==null?void 0:a[0])==null?void 0:i.data)&&Es(t[8][0].data)>0||!1;if(s)throw"Math only works with normal offsets";for(var l=0,u=Hh(t[7][0].data),c=0,g=[],p=Hh(t[4][0].data),d=0,y=[],v=0;v<e.length;++v){if(e[v]==null){u.setUint16(v*2,65535,!0),p.setUint16(v*2,65535);continue}u.setUint16(v*2,c,!0),p.setUint16(v*2,d,!0);var h,x;switch(typeof e[v]){case"string":h=S1({t:"s",v:e[v]},r),x=_1({t:"s",v:e[v]},r);break;case"number":h=S1({t:"n",v:e[v]},r),x=_1({t:"n",v:e[v]},r);break;case"boolean":h=S1({t:"b",v:e[v]},r),x=_1({t:"b",v:e[v]},r);break;default:throw new Error("Unsupported value "+e[v])}g.push(h),c+=h.length,y.push(x),d+=x.length,++l}for(t[2][0].data=Ar(l);v<t[7][0].data.length/2;++v)u.setUint16(v*2,65535,!0),p.setUint16(v*2,65535,!0);return t[6][0].data=Ni(g),t[3][0].data=Ni(y),l}function gD(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(jr(n)));var a=$h(r,{range:n,header:1}),i=["~Sh33tJ5~"];a.forEach(function(_){return _.forEach(function(E){typeof E=="string"&&i.push(E)})});var s={},l=[],u=lr.read(e.numbers,{type:"base64"});u.FileIndex.map(function(_,E){return[_,u.FullPaths[E]]}).forEach(function(_){var E=_[0],B=_[1];if(E.type==2&&E.name.match(/\.iwa/)){var S=E.content,R=XA(S),Q=WA(R);Q.forEach(function(J){l.push(J.id),s[J.id]={deps:[],location:B,type:Es(J.messages[0].meta[1][0].data)}})}}),l.sort(function(_,E){return _-E});var c=l.filter(function(_){return _>1}).map(function(_){return[_,Ar(_)]});u.FileIndex.map(function(_,E){return[_,u.FullPaths[E]]}).forEach(function(_){var E=_[0];if(_[1],!!E.name.match(/\.iwa/)){var B=WA(XA(E.content));B.forEach(function(S){S.messages.forEach(function(R){c.forEach(function(Q){S.messages.some(function(J){return Es(J.meta[1][0].data)!=11006&&uD(J.data,Q[1])})&&s[Q[0]].deps.push(S.id)})})})}});for(var g=lr.find(u,s[1].location),p=WA(XA(g.content)),d,y=0;y<p.length;++y){var v=p[y];v.id==1&&(d=v)}var h=Li(rn(d.messages[0].data)[1][0].data);for(g=lr.find(u,s[h].location),p=WA(XA(g.content)),y=0;y<p.length;++y)v=p[y],v.id==h&&(d=v);for(h=Li(rn(d.messages[0].data)[2][0].data),g=lr.find(u,s[h].location),p=WA(XA(g.content)),y=0;y<p.length;++y)v=p[y],v.id==h&&(d=v);for(h=Li(rn(d.messages[0].data)[2][0].data),g=lr.find(u,s[h].location),p=WA(XA(g.content)),y=0;y<p.length;++y)v=p[y],v.id==h&&(d=v);var x=rn(d.messages[0].data);{x[6][0].data=Ar(n.e.r+1),x[7][0].data=Ar(n.e.c+1);var C=Li(x[46][0].data),T=lr.find(u,s[C].location),D=WA(XA(T.content));{for(var Y=0;Y<D.length&&D[Y].id!=C;++Y);if(D[Y].id!=C)throw"Bad ColumnRowUIDMapArchive";var W=rn(D[Y].messages[0].data);W[1]=[],W[2]=[],W[3]=[];for(var U=0;U<=n.e.c;++U){var I=[];I[1]=I[2]=[{type:0,data:Ar(U+420690)}],W[1].push({type:2,data:bn(I)}),W[2].push({type:0,data:Ar(U)}),W[3].push({type:0,data:Ar(U)})}W[4]=[],W[5]=[],W[6]=[];for(var O=0;O<=n.e.r;++O)I=[],I[1]=I[2]=[{type:0,data:Ar(O+726270)}],W[4].push({type:2,data:bn(I)}),W[5].push({type:0,data:Ar(O)}),W[6].push({type:0,data:Ar(O)});D[Y].messages[0].data=bn(W)}T.content=Ss(Fs(D)),T.size=T.content.length,delete x[46];var re=rn(x[4][0].data);{re[7][0].data=Ar(n.e.r+1);var N=rn(re[1][0].data),L=Li(N[2][0].data);T=lr.find(u,s[L].location),D=WA(XA(T.content));{if(D[0].id!=L)throw"Bad HeaderStorageBucket";var G=rn(D[0].messages[0].data);for(O=0;O<a.length;++O){var Z=rn(G[2][0].data);Z[1][0].data=Ar(O),Z[4][0].data=Ar(a[O].length),G[2][O]={type:G[2][0].type,data:bn(Z)}}D[0].messages[0].data=bn(G)}T.content=Ss(Fs(D)),T.size=T.content.length;var ce=Li(re[2][0].data);T=lr.find(u,s[ce].location),D=WA(XA(T.content));{if(D[0].id!=ce)throw"Bad HeaderStorageBucket";for(G=rn(D[0].messages[0].data),U=0;U<=n.e.c;++U)Z=rn(G[2][0].data),Z[1][0].data=Ar(U),Z[4][0].data=Ar(n.e.r+1),G[2][U]={type:G[2][0].type,data:bn(Z)};D[0].messages[0].data=bn(G)}T.content=Ss(Fs(D)),T.size=T.content.length;var le=Li(re[4][0].data);(function(){for(var _=lr.find(u,s[le].location),E=WA(XA(_.content)),B,S=0;S<E.length;++S){var R=E[S];R.id==le&&(B=R)}var Q=rn(B.messages[0].data);{Q[3]=[];var J=[];i.forEach(function(Te,Ne){J[1]=[{type:0,data:Ar(Ne)}],J[2]=[{type:0,data:Ar(1)}],J[3]=[{type:2,data:cD(Te)}],Q[3].push({type:2,data:bn(J)})})}B.messages[0].data=bn(Q);var H=Fs(E),ue=Ss(H);_.content=ue,_.size=_.content.length})();var he=rn(re[3][0].data);{var fe=he[1][0];delete he[2];var pe=rn(fe.data);{var me=Li(pe[2][0].data);(function(){for(var _=lr.find(u,s[me].location),E=WA(XA(_.content)),B,S=0;S<E.length;++S){var R=E[S];R.id==me&&(B=R)}var Q=rn(B.messages[0].data);{delete Q[6],delete he[7];var J=new Uint8Array(Q[5][0].data);Q[5]=[];for(var H=0,ue=0;ue<=n.e.r;++ue){var Te=rn(J);H+=dD(Te,a[ue],i),Te[1][0].data=Ar(ue),Q[5].push({data:bn(Te),type:2})}Q[1]=[{type:0,data:Ar(n.e.c+1)}],Q[2]=[{type:0,data:Ar(n.e.r+1)}],Q[3]=[{type:0,data:Ar(H)}],Q[4]=[{type:0,data:Ar(n.e.r+1)}]}B.messages[0].data=bn(Q);var Ne=Fs(E),Me=Ss(Ne);_.content=Me,_.size=_.content.length})()}fe.data=bn(pe)}re[3][0].data=bn(he)}x[4][0].data=bn(re)}d.messages[0].data=bn(x);var Le=Fs(p),F=Ss(Le);return g.content=F,g.size=g.content.length,u}function pD(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 k1(t){pD([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(t)}function mD(t,e){return e.bookType=="ods"?GB(t,e):e.bookType=="numbers"?gD(t,e):e.bookType=="xlsb"?vD(t,e):yD(t,e)}function vD(t,e){bs=1024,t&&!t.SSF&&(t.SSF=rA(_r)),t&&t.SSF&&(bh(),xh(t.SSF),e.revssf=Ch(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,nc?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r=e.bookType=="xlsb"?"bin":"xml",n=bB.indexOf(e.bookType)>-1,A=Vw();k1(e=e||{});var a=n1(),i="",s=0;if(e.cellXfs=[],Ti(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),i="docProps/core.xml",Qt(a,i,jw(t.Props,e)),A.coreprops.push(i),nr(e.rels,2,i,Xt.CORE_PROPS),i="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(!t.Workbook||!t.Workbook.Sheets)t.Props.SheetNames=t.SheetNames;else{for(var l=[],u=0;u<t.SheetNames.length;++u)(t.Workbook.Sheets[u]||{}).Hidden!=2&&l.push(t.SheetNames[u]);t.Props.SheetNames=l}for(t.Props.Worksheets=t.Props.SheetNames.length,Qt(a,i,Xw(t.Props)),A.extprops.push(i),nr(e.rels,3,i,Xt.EXT_PROPS),t.Custprops!==t.Props&&yn(t.Custprops||{}).length>0&&(i="docProps/custom.xml",Qt(a,i,qw(t.Custprops)),A.custprops.push(i),nr(e.rels,4,i,Xt.CUST_PROPS)),s=1;s<=t.SheetNames.length;++s){var c={"!id":{}},g=t.Sheets[t.SheetNames[s-1]],p=(g||{})["!type"]||"sheet";switch(p){case"chart":default:i="xl/worksheets/sheet"+s+"."+r,Qt(a,i,BQ(s-1,i,e,t,c)),A.sheets.push(i),nr(e.wbrels,-1,"worksheets/sheet"+s+"."+r,Xt.WS[0])}if(g){var d=g["!comments"],y=!1,v="";d&&d.length>0&&(v="xl/comments"+s+"."+r,Qt(a,v,CQ(d,v)),A.comments.push(v),nr(c,-1,"../comments"+s+"."+r,Xt.CMNT),y=!0),g["!legacy"]&&y&&Qt(a,"xl/drawings/vmlDrawing"+s+".vml",BB(s,g["!comments"])),delete g["!comments"],delete g["!legacy"]}c["!id"].rId1&&Qt(a,zw(i),Bs(c))}return e.Strings!=null&&e.Strings.length>0&&(i="xl/sharedStrings."+r,Qt(a,i,bQ(e.Strings,i,e)),A.strs.push(i),nr(e.wbrels,-1,"sharedStrings."+r,Xt.SST)),i="xl/workbook."+r,Qt(a,i,wQ(t,i)),A.workbooks.push(i),nr(e.rels,1,i,Xt.WB),i="xl/theme/theme1.xml",Qt(a,i,yB(t.Themes,e)),A.themes.push(i),nr(e.wbrels,-1,"theme/theme1.xml",Xt.THEME),i="xl/styles."+r,Qt(a,i,xQ(t,i,e)),A.styles.push(i),nr(e.wbrels,-1,"styles."+r,Xt.STY),t.vbaraw&&n&&(i="xl/vbaProject.bin",Qt(a,i,t.vbaraw),A.vba.push(i),nr(e.wbrels,-1,"vbaProject.bin",Xt.VBA)),i="xl/metadata."+r,Qt(a,i,EQ(i)),A.metadata.push(i),nr(e.wbrels,-1,"metadata."+r,Xt.XLMETA),Qt(a,"[Content_Types].xml",$w(A,e)),Qt(a,"_rels/.rels",Bs(e.rels)),Qt(a,"xl/_rels/workbook."+r+".rels",Bs(e.wbrels)),delete e.revssf,delete e.ssf,a}function yD(t,e){bs=1024,t&&!t.SSF&&(t.SSF=rA(_r)),t&&t.SSF&&(bh(),xh(t.SSF),e.revssf=Ch(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,nc?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r="xml",n=bB.indexOf(e.bookType)>-1,A=Vw();k1(e=e||{});var a=n1(),i="",s=0;if(e.cellXfs=[],Ti(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),i="docProps/core.xml",Qt(a,i,jw(t.Props,e)),A.coreprops.push(i),nr(e.rels,2,i,Xt.CORE_PROPS),i="docProps/app.xml",!(t.Props&&t.Props.SheetNames))if(!t.Workbook||!t.Workbook.Sheets)t.Props.SheetNames=t.SheetNames;else{for(var l=[],u=0;u<t.SheetNames.length;++u)(t.Workbook.Sheets[u]||{}).Hidden!=2&&l.push(t.SheetNames[u]);t.Props.SheetNames=l}t.Props.Worksheets=t.Props.SheetNames.length,Qt(a,i,Xw(t.Props)),A.extprops.push(i),nr(e.rels,3,i,Xt.EXT_PROPS),t.Custprops!==t.Props&&yn(t.Custprops||{}).length>0&&(i="docProps/custom.xml",Qt(a,i,qw(t.Custprops)),A.custprops.push(i),nr(e.rels,4,i,Xt.CUST_PROPS));var c=["SheetJ5"];for(e.tcid=0,s=1;s<=t.SheetNames.length;++s){var g={"!id":{}},p=t.Sheets[t.SheetNames[s-1]],d=(p||{})["!type"]||"sheet";switch(d){case"chart":default:i="xl/worksheets/sheet"+s+"."+r,Qt(a,i,QB(s-1,e,t,g)),A.sheets.push(i),nr(e.wbrels,-1,"worksheets/sheet"+s+"."+r,Xt.WS[0])}if(p){var y=p["!comments"],v=!1,h="";if(y&&y.length>0){var x=!1;y.forEach(function(C){C[1].forEach(function(T){T.T==!0&&(x=!0)})}),x&&(h="xl/threadedComments/threadedComment"+s+"."+r,Qt(a,h,qL(y,c,e)),A.threadedcomments.push(h),nr(g,-1,"../threadedComments/threadedComment"+s+"."+r,Xt.TCMNT)),h="xl/comments"+s+"."+r,Qt(a,h,xB(y)),A.comments.push(h),nr(g,-1,"../comments"+s+"."+r,Xt.CMNT),v=!0}p["!legacy"]&&v&&Qt(a,"xl/drawings/vmlDrawing"+s+".vml",BB(s,p["!comments"])),delete p["!comments"],delete p["!legacy"]}g["!id"].rId1&&Qt(a,zw(i),Bs(g))}return e.Strings!=null&&e.Strings.length>0&&(i="xl/sharedStrings."+r,Qt(a,i,uB(e.Strings,e)),A.strs.push(i),nr(e.wbrels,-1,"sharedStrings."+r,Xt.SST)),i="xl/workbook."+r,Qt(a,i,PB(t)),A.workbooks.push(i),nr(e.rels,1,i,Xt.WB),i="xl/theme/theme1.xml",Qt(a,i,yB(t.Themes,e)),A.themes.push(i),nr(e.wbrels,-1,"theme/theme1.xml",Xt.THEME),i="xl/styles."+r,Qt(a,i,pB(t,e)),A.styles.push(i),nr(e.wbrels,-1,"styles."+r,Xt.STY),t.vbaraw&&n&&(i="xl/vbaProject.bin",Qt(a,i,t.vbaraw),A.vba.push(i),nr(e.wbrels,-1,"vbaProject.bin",Xt.VBA)),i="xl/metadata."+r,Qt(a,i,wB()),A.metadata.push(i),nr(e.wbrels,-1,"metadata."+r,Xt.XLMETA),c.length>1&&(i="xl/persons/person.xml",Qt(a,i,YL(c)),A.people.push(i),nr(e.wbrels,-1,"persons/person.xml",Xt.PEOPLE)),Qt(a,"[Content_Types].xml",$w(A,e)),Qt(a,"_rels/.rels",Bs(e.rels)),Qt(a,"xl/_rels/workbook."+r+".rels",Bs(e.wbrels)),delete e.revssf,delete e.ssf,a}function wD(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=Ra(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 jB(t,e){switch(e.type){case"base64":case"binary":break;case"buffer":case"array":e.type="";break;case"file":return Kl(e.file,lr.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 lr.write(t,e)}function BD(t,e){var r=rA(e||{}),n=mD(t,r);return xD(n,r)}function xD(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?lr.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(ph(A))}return e.password&&typeof encrypt_agile<"u"?jB(encrypt_agile(A,e.password),e):e.type==="file"?Kl(e.file,A):e.type=="string"?jl(A):A}function bD(t,e){var r=e||{},n=MQ(t,r);return jB(n,r)}function ba(t,e,r){r||(r="");var n=r+t;switch(e.type){case"base64":return Vl(za(n));case"binary":return za(n);case"string":return t;case"file":return Kl(e.file,n,"utf8");case"buffer":return Yt?Ha(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):ba(n,{type:"binary"}).split("").map(function(A){return A.charCodeAt(0)})}throw new Error("Unrecognized type "+e.type)}function CD(t,e){switch(e.type){case"base64":return Vl(t);case"binary":return t;case"string":return t;case"file":return Kl(e.file,t,"binary");case"buffer":return Yt?Ha(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+e.type)}function Vh(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"?Vl(r):e.type=="string"?jl(r):r;case"file":return Kl(e.file,t);case"buffer":return t;default:throw new Error("Unrecognized type "+e.type)}}function Ui(t,e){YT(),lQ(t);var r=rA(e||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=Ui(t,r);return r.type="array",ph(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 ba(OQ(t,r),r);case"slk":case"sylk":return ba(iL.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"htm":case"html":return ba(HB(t.Sheets[t.SheetNames[A]],r),r);case"txt":return CD(XB(t.Sheets[t.SheetNames[A]],r),r);case"csv":return ba(T1(t.Sheets[t.SheetNames[A]],r),r,"\uFEFF");case"dif":return ba(oL.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"dbf":return Vh(aL.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"prn":return ba(sL.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"rtf":return ba(gL.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"eth":return ba(lB.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"fods":return ba(GB(t,r),r);case"wk1":return Vh(cB.sheet_to_wk1(t.Sheets[t.SheetNames[A]],r),r);case"wk3":return Vh(cB.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),Vh(RB(t,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),bD(t,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return BD(t,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function ED(t,e,r,n,A,a,i,s){var l=Bn(r),u=s.defval,c=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),g=!0,p=A===1?[]:{};if(A!==1)if(Object.defineProperty)try{Object.defineProperty(p,"__rowNum__",{value:r,enumerable:!1})}catch{p.__rowNum__=r}else p.__rowNum__=r;if(!i||t[r])for(var d=e.s.c;d<=e.e.c;++d){var y=i?t[r][d]:t[n[d]+l];if(y===void 0||y.t===void 0){if(u===void 0)continue;a[d]!=null&&(p[a[d]]=u);continue}var v=y.v;switch(y.t){case"z":if(v==null)break;continue;case"e":v=v==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+y.t)}if(a[d]!=null){if(v==null)if(y.t=="e"&&v===null)p[a[d]]=null;else if(u!==void 0)p[a[d]]=u;else if(c&&v===null)p[a[d]]=null;else continue;else p[a[d]]=c&&(y.t!=="n"||y.t==="n"&&s.rawNumbers!==!1)?v:Ka(y,v,s);v!=null&&(g=!1)}}return{row:p,isempty:g}}function $h(t,e){if(t==null||t["!ref"]==null)return[];var r={t:"n",v:0},n=0,A=1,a=[],i=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},u=e||{},c=u.range!=null?u.range:t["!ref"];switch(u.header===1?n=1:u.header==="A"?n=2:Array.isArray(u.header)?n=3:u.header==null&&(n=0),typeof c){case"string":l=wr(c);break;case"number":l=wr(t["!ref"]),l.s.r=c;break;default:l=c}n>0&&(A=0);var g=Bn(l.s.r),p=[],d=[],y=0,v=0,h=Array.isArray(t),x=l.s.r,C=0,T={};h&&!t[x]&&(t[x]=[]);var D=u.skipHidden&&t["!cols"]||[],Y=u.skipHidden&&t["!rows"]||[];for(C=l.s.c;C<=l.e.c;++C)if(!(D[C]||{}).hidden)switch(p[C]=Un(C),r=h?t[x][C]:t[p[C]+g],n){case 1:a[C]=C-l.s.c;break;case 2:a[C]=p[C];break;case 3:a[C]=u.header[C-l.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),s=i=Ka(r,null,u),v=T[i]||0,!v)T[i]=1;else{do s=i+"_"+v++;while(T[s]);T[i]=v,T[s]=1}a[C]=s}for(x=l.s.r+A;x<=l.e.r;++x)if(!(Y[x]||{}).hidden){var W=ED(t,l,x,p,n,a,h,u);(W.isempty===!1||(n===1?u.blankrows!==!1:u.blankrows))&&(d[y++]=W.row)}return d.length=y,d}var WB=/"/g;function FD(t,e,r,n,A,a,i,s){for(var l=!0,u=[],c="",g=Bn(r),p=e.s.c;p<=e.e.c;++p)if(n[p]){var d=s.dense?(t[r]||[])[p]:t[n[p]+g];if(d==null)c="";else if(d.v!=null){l=!1,c=""+(s.rawNumbers&&d.t=="n"?d.v:Ka(d,null,s));for(var y=0,v=0;y!==c.length;++y)if((v=c.charCodeAt(y))===A||v===a||v===34||s.forceQuotes){c='"'+c.replace(WB,'""')+'"';break}c=="ID"&&(c='"ID"')}else d.f!=null&&!d.F?(l=!1,c="="+d.f,c.indexOf(",")>=0&&(c='"'+c.replace(WB,'""')+'"')):c="";u.push(c)}return s.blankrows===!1&&l?null:u.join(i)}function T1(t,e){var r=[],n=e??{};if(t==null||t["!ref"]==null)return"";var A=wr(t["!ref"]),a=n.FS!==void 0?n.FS:",",i=a.charCodeAt(0),s=n.RS!==void 0?n.RS:`
357
357
  `,l=s.charCodeAt(0),u=new RegExp((a=="|"?"\\|":a)+"+$"),c="",g=[];n.dense=Array.isArray(t);for(var p=n.skipHidden&&t["!cols"]||[],d=n.skipHidden&&t["!rows"]||[],y=A.s.c;y<=A.e.c;++y)(p[y]||{}).hidden||(g[y]=Un(y));for(var v=0,h=A.s.r;h<=A.e.r;++h)(d[h]||{}).hidden||(c=FD(t,A,h,g,i,l,a,n),c!=null&&(n.strip&&(c=c.replace(u,"")),(c||n.blankrows!==!1)&&r.push((v++?s:"")+c)));return delete n.dense,r.join("")}function XB(t,e){e||(e={}),e.FS=" ",e.RS=`
358
- `;var r=T1(t,e);return r}function SD(t){var e="",r,n="";if(t==null||t["!ref"]==null)return[];var A=wr(t["!ref"]),a="",i=[],s,l=[],u=Array.isArray(t);for(s=A.s.c;s<=A.e.c;++s)i[s]=Un(s);for(var c=A.s.r;c<=A.e.r;++c)for(a=Bn(c),s=A.s.c;s<=A.e.c;++s)if(e=i[s]+a,r=u?(t[c]||[])[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 qB(t,e,r){var n=r||{},A=+!n.skipHeader,a=t||{},i=0,s=0;if(a&&n.origin!=null)if(typeof n.origin=="number")i=n.origin;else{var l=typeof n.origin=="string"?cn(n.origin):n.origin;i=l.r,s=l.c}var u,c={s:{c:0,r:0},e:{c:s,r:i+e.length-1+A}};if(a["!ref"]){var g=wr(a["!ref"]);c.e.c=Math.max(c.e.c,g.e.c),c.e.r=Math.max(c.e.r,g.e.r),i==-1&&(i=g.e.r+1,c.e.r=i+e.length-1+A)}else i==-1&&(i=0,c.e.r=e.length-1+A);var p=n.header||[],d=0;e.forEach(function(v,h){yn(v).forEach(function(x){(d=p.indexOf(x))==-1&&(p[d=p.length]=x);var C=v[x],T="z",D="",Y=rr({c:s+d,r:i+h+A});u=ic(a,Y),C&&typeof C=="object"&&!(C instanceof Date)?a[Y]=C:(typeof C=="number"?T="n":typeof C=="boolean"?T="b":typeof C=="string"?T="s":C instanceof Date?(T="d",n.cellDates||(T="n",C=tA(C)),D=n.dateNF||_r[14]):C===null&&n.nullError&&(T="e",C=0),u?(u.t=T,u.v=C,delete u.w,delete u.R,D&&(u.z=D)):a[Y]=u={t:T,v:C},D&&(u.z=D))})}),c.e.c=Math.max(c.e.c,s+p.length-1);var y=Bn(i);if(A)for(d=0;d<p.length;++d)a[Un(d+s)+y]={t:"s",v:p[d]};return a["!ref"]=jr(c),a}function _D(t,e){return qB(null,t,e)}function ic(t,e,r){if(typeof e=="string"){if(Array.isArray(t)){var n=cn(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"?ic(t,rr(e)):ic(t,rr({r:e,c:r||0}))}function kD(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 TD(){return{SheetNames:[],Sheets:{}}}function ND(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 i=a&&a[1]||r;for(++A;A<=65535&&t.SheetNames.indexOf(r=i+A)!=-1;++A);}if(OB(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 LD(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=kD(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 UD(t,e){return t.z=e,t}function YB(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}function ID(t,e,r){return YB(t,"#"+e,r)}function QD(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})}function DD(t,e,r,n){for(var A=typeof e!="string"?e:wr(e),a=typeof e=="string"?e:jr(e),i=A.s.r;i<=A.e.r;++i)for(var s=A.s.c;s<=A.e.c;++s){var l=ic(t,i,s);l.t="n",l.F=a,delete l.v,i==A.s.r&&s==A.s.c&&(l.f=r,n&&(l.D=!0))}return t}var Rr={encode_col:Un,encode_row:Bn,encode_cell:rr,encode_range:jr,decode_col:h1,decode_row:u1,split_cell:JN,decode_cell:cn,decode_range:pA,format_cell:Ka,sheet_add_aoa:Iw,sheet_add_json:qB,sheet_add_dom:VB,aoa_to_sheet:vs,json_to_sheet:_D,table_to_sheet:$B,table_to_book:oD,sheet_to_csv:T1,sheet_to_txt:XB,sheet_to_json:$h,sheet_to_html:HB,sheet_to_formulae:SD,sheet_to_row_object_array:$h,sheet_get_cell:ic,book_new:TD,book_append_sheet:ND,book_set_sheet_visibility:LD,cell_set_number_format:UD,cell_set_hyperlink:YB,cell_set_internal_link:ID,cell_add_comment:QD,sheet_set_array_formula:DD,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function zh(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 i=[...a].map(u=>u.value).reduce((u,c)=>u+c,0),s=[];let l=0;for(let u=0;u<a.length;u+=1){let c=a[u].value/i;const g=c*(Math.PI*1.9999),d=a[u].value/2/i*(Math.PI*2),{startX:y,startY:v,endX:h,endY:x,path:C}=ZB([e,r],[n,A],[l,g],110);s.push({cx:e,cy:r,...a[u],proportion:c,ratio:g,path:C,startX:y,startY:v,endX:h,endY:x,center:ZB([e,r],[n*1.45,A*1.45],[l,d],110)}),l+=g}return s}function Kh([t,e],[r,n]){return[t+r,e+n]}function Gh([[t,e],[r,n]],[A,a]){return[t*A+e*a,r*A+n*a]}function JB(t){return[[Math.cos(t),-Math.sin(t)],[Math.sin(t),Math.cos(t)]]}function ZB([t,e],[r,n],[A,a],i){a=a%(2*Math.PI);const s=JB(i),[l,u]=Kh(Gh(s,[r*Math.cos(A),n*Math.sin(A)]),[t,e]),[c,g]=Kh(Gh(s,[r*Math.cos(A+a),n*Math.sin(A+a)]),[t,e]),p=a>Math.PI?1:0,d=a>0?1:0;return{startX:l,startY:u,endX:c,endY:g,path:`M${l} ${u} A ${[r,n,i/(2*Math.PI)*360,p,d,c,g].join(" ")}`}}function ja({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)?MD(A)&&(r[n]=A):Array.isArray(r[n])?OD({userConfig:e,key:n})&&(r[n]=A):PD({userConfig:e,key:n})&&(r[n]=ja({defaultConfig:r[n],userConfig:A}))}}),r}function OD({userConfig:t,key:e}){return Object.hasOwn(t,e)&&Array.isArray(t[e])&&t[e].length}function PD({userConfig:t,key:e}){return Object.hasOwn(t,e)&&!Array.isArray(t[e])&&typeof t[e]=="object"}function MD(t){return![null,void 0,NaN,1/0,-1/0].includes(t)}function RD(t){return![void 0,NaN,1/0,-1/0].includes(t)}function HD(t,e=0){return isNaN(t)?e:t}const Ht=["#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"],Gn=["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 ex(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;let A;if(A=t.match(e)){const[,a,i,s]=A;return`#${a}${i}${s}`}else if(A=t.match(r)){const[,a,i,s]=A;return`#${_s(a)}${_s(i)}${_s(s)}`}else if(A=t.match(n)){const[,a,i,s]=A,l=VD(Number(a),Number(i),Number(s));return`#${_s(l[0])}${_s(l[1])}${_s(l[2])}`}return null}function _s(t){const e=Number(t).toString(16);return e.length===1?"0"+e:e}function VD(t,e,r){t/=360,e/=100,r/=100;let n,A,a;if(e===0)n=A=a=r;else{const i=(u,c,g)=>(g<0&&(g+=1),g>1&&(g-=1),g<.16666666666666666?u+(c-u)*6*g:g<.5?c:g<.6666666666666666?u+(c-u)*(.6666666666666666-g)*6:u),s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;n=i(l,s,t+1/3),A=i(l,s,t),a=i(l,s,t-1/3)}return[Math.round(n*255),Math.round(A*255),Math.round(a*255)]}function ks(t,e){const r=u=>({r:parseInt(u.substring(1,3),16),g:parseInt(u.substring(3,5),16),b:parseInt(u.substring(5,7),16)}),n=({r:u,g:c,b:g})=>{u/=255,c/=255,g/=255;const p=Math.max(u,c,g),d=Math.min(u,c,g);let y,v,h=(p+d)/2;if(p===d)y=v=0;else{const x=p-d;switch(v=h>.5?x/(2-p-d):x/(p+d),p){case u:y=(c-g)/x+(c<g?6:0);break;case c:y=(g-u)/x+2;break;case g:y=(u-c)/x+4;break}y/=6}return{h:y,s:v,l:h}},A=({h:u,s:c,l:g})=>{let p,d,y;if(c===0)p=d=y=g;else{const v=(C,T,D)=>(D<0&&(D+=1),D>1&&(D-=1),D<.16666666666666666?C+(T-C)*6*D:D<.5?T:D<.6666666666666666?C+(T-C)*(.6666666666666666-D)*6:C),h=g<.5?g*(1+c):g+c-g*c,x=2*g-h;p=v(x,h,u+.3333333333333333),d=v(x,h,u),y=v(x,h,u-.3333333333333333)}return{r:Math.round(p*255),g:Math.round(d*255),b:Math.round(y*255)}},a=r(t),i=n(a);i.h+=e,i.h=(i.h+1)%1;const s=A(i);return`#${(s.r<<16|s.g<<8|s.b).toString(16).padStart(6,"0")}`}function $D({centerX:t,centerY:e,outerPoints:r,radius:n,rotation:A}){const a=Math.PI/r,i=A;let s="";const l=[];for(let u=0;u<r*2;u+=1){let c=t+Math.cos(u*a+i)*n,g=e+Math.sin(u*a+i)*n;s+=`${c},${g} `,l.push({x:c,y:g})}return{path:`M${s}Z`,coordinates:l}}function Co({plot:t,radius:e,sides:r,rotation:n=0}){const A=t.x,a=t.y,i=r/2;return $D({centerX:A,centerY:a,outerPoints:i,radius:e+1,rotation:n})}function zD({centerX:t,centerY:e,innerCirclePoints:r,innerRadius:n,outerRadius:A}){const a=Math.PI/r,i=60,s=r*2;let l="";for(let u=0;u<s;u+=1){let g=u%2==0?A:n,p=t+Math.cos(u*a+i)*g,d=e+Math.sin(u*a+i)*g;l+=`${p},${d} `}return l}function KD({plot:t,radius:e}){const r=t.x,n=t.y,A=5,a=e*3.5/A,s=a*2;return zD({centerX:r,centerY:n,innerCirclePoints:A,innerRadius:a,outerRadius:s})}function GD({series:t}){t=t.sort((u,c)=>u.x-c.x);function e(u,c,g){const p=(u.x-c.x)*(g.x-c.x)+(u.y-c.y)*(g.y-c.y),d=(u.x-c.x)*(g.y-c.y)-(g.x-c.x)*(u.y-c.y);return Math.atan2(d,p)}const r=[];let n;n=t[0];for(const u of t)u.x<n.x&&(n=u);r[0]=n;let A,a,i,s;A=r[0],a={x:A.x,y:A.y+1};do{i=Math.PI;for(const u of t)n=e(a,A,u),n<=i&&(s=u,i=n);s!==r[0]&&(r.push(s),a=A,A=s)}while(s!==r[0]);let l;return r.forEach(u=>{u&&u.x&&u.y&&(l+=`${Math.round(u.x)},${Math.round(u.y)} `)}),l=l.replaceAll("undefined",""),l}function tx(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),i=[r/255,n/255,A/255].map(l=>l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4));return .2126*i[0]+.7152*i[1]+.0722*i[2]>.3?"#000000":"#FFFFFF"}return"#000000"}const Ine="",Ii=(t,e)=>{const r=t.__vccOpts||t;for(const[n,A]of e)r[n]=A;return r},jD={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()}`;return{useSafeValues:!0,palette:Ht,defaultConfig:{showWarnings:!0,showTable:!0,chart:{fontFamily:"inherit",backgroundColor:"#FFFFFF",color:"#2D353C",height:300,width:500,padding:{top:36,right:12,bottom:12,left:48},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}}},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"}}},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}},computed:{chartConfig(){return Object.keys(this.config||{}).length?this.treeShake({defaultConfig:this.defaultConfig,userConfig:this.config}):this.defaultConfig},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),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(){return Math.min(...this.safeDataset.filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>Math.min(...t.series)))},maxSeries(){return Math.max(...this.safeDataset.filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>t.series.length))},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.plotSet,...this.barSet,...this.lineSet].map(r=>({label:r.name,color:r.color,type:r.type})),e=[];return this.chartConfig.chart.grid.labels.xAxisLabels.values.forEach((r,n)=>{const A=[r];this.plotSet.length&&this.plotSet.forEach(a=>{A.push(this.canShowValue(a.absoluteValues[n])?Number(a.absoluteValues[n].toFixed(this.chartConfig.table.rounding)):"")}),this.barSet.length&&this.barSet.forEach(a=>{A.push(this.canShowValue(a.absoluteValues[n])?Number(a.absoluteValues[n].toFixed(this.chartConfig.table.rounding)):"")}),this.lineSet.length&&this.lineSet.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,i)=>i===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.chartConfig.chart.grid.labels.xAxisLabels.values[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(),i=e.getBoundingClientRect();this.clientPosition.x+A/2>i.right?r=-A:this.clientPosition.x-A/2<i.left?r=0:r=-A/2,this.clientPosition.y+a>i.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=T1(t,e);return r}function SD(t){var e="",r,n="";if(t==null||t["!ref"]==null)return[];var A=wr(t["!ref"]),a="",i=[],s,l=[],u=Array.isArray(t);for(s=A.s.c;s<=A.e.c;++s)i[s]=Un(s);for(var c=A.s.r;c<=A.e.r;++c)for(a=Bn(c),s=A.s.c;s<=A.e.c;++s)if(e=i[s]+a,r=u?(t[c]||[])[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 qB(t,e,r){var n=r||{},A=+!n.skipHeader,a=t||{},i=0,s=0;if(a&&n.origin!=null)if(typeof n.origin=="number")i=n.origin;else{var l=typeof n.origin=="string"?cn(n.origin):n.origin;i=l.r,s=l.c}var u,c={s:{c:0,r:0},e:{c:s,r:i+e.length-1+A}};if(a["!ref"]){var g=wr(a["!ref"]);c.e.c=Math.max(c.e.c,g.e.c),c.e.r=Math.max(c.e.r,g.e.r),i==-1&&(i=g.e.r+1,c.e.r=i+e.length-1+A)}else i==-1&&(i=0,c.e.r=e.length-1+A);var p=n.header||[],d=0;e.forEach(function(v,h){yn(v).forEach(function(x){(d=p.indexOf(x))==-1&&(p[d=p.length]=x);var C=v[x],T="z",D="",Y=rr({c:s+d,r:i+h+A});u=ic(a,Y),C&&typeof C=="object"&&!(C instanceof Date)?a[Y]=C:(typeof C=="number"?T="n":typeof C=="boolean"?T="b":typeof C=="string"?T="s":C instanceof Date?(T="d",n.cellDates||(T="n",C=tA(C)),D=n.dateNF||_r[14]):C===null&&n.nullError&&(T="e",C=0),u?(u.t=T,u.v=C,delete u.w,delete u.R,D&&(u.z=D)):a[Y]=u={t:T,v:C},D&&(u.z=D))})}),c.e.c=Math.max(c.e.c,s+p.length-1);var y=Bn(i);if(A)for(d=0;d<p.length;++d)a[Un(d+s)+y]={t:"s",v:p[d]};return a["!ref"]=jr(c),a}function _D(t,e){return qB(null,t,e)}function ic(t,e,r){if(typeof e=="string"){if(Array.isArray(t)){var n=cn(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"?ic(t,rr(e)):ic(t,rr({r:e,c:r||0}))}function kD(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 TD(){return{SheetNames:[],Sheets:{}}}function ND(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 i=a&&a[1]||r;for(++A;A<=65535&&t.SheetNames.indexOf(r=i+A)!=-1;++A);}if(OB(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 LD(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=kD(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 UD(t,e){return t.z=e,t}function YB(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}function ID(t,e,r){return YB(t,"#"+e,r)}function QD(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})}function DD(t,e,r,n){for(var A=typeof e!="string"?e:wr(e),a=typeof e=="string"?e:jr(e),i=A.s.r;i<=A.e.r;++i)for(var s=A.s.c;s<=A.e.c;++s){var l=ic(t,i,s);l.t="n",l.F=a,delete l.v,i==A.s.r&&s==A.s.c&&(l.f=r,n&&(l.D=!0))}return t}var Rr={encode_col:Un,encode_row:Bn,encode_cell:rr,encode_range:jr,decode_col:h1,decode_row:u1,split_cell:JN,decode_cell:cn,decode_range:pA,format_cell:Ka,sheet_add_aoa:Iw,sheet_add_json:qB,sheet_add_dom:VB,aoa_to_sheet:vs,json_to_sheet:_D,table_to_sheet:$B,table_to_book:oD,sheet_to_csv:T1,sheet_to_txt:XB,sheet_to_json:$h,sheet_to_html:HB,sheet_to_formulae:SD,sheet_to_row_object_array:$h,sheet_get_cell:ic,book_new:TD,book_append_sheet:ND,book_set_sheet_visibility:LD,cell_set_number_format:UD,cell_set_hyperlink:YB,cell_set_internal_link:ID,cell_add_comment:QD,sheet_set_array_formula:DD,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function zh(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 i=[...a].map(u=>u.value).reduce((u,c)=>u+c,0),s=[];let l=0;for(let u=0;u<a.length;u+=1){let c=a[u].value/i;const g=c*(Math.PI*1.9999),d=a[u].value/2/i*(Math.PI*2),{startX:y,startY:v,endX:h,endY:x,path:C}=ZB([e,r],[n,A],[l,g],110);s.push({cx:e,cy:r,...a[u],proportion:c,ratio:g,path:C,startX:y,startY:v,endX:h,endY:x,center:ZB([e,r],[n*1.45,A*1.45],[l,d],110)}),l+=g}return s}function Kh([t,e],[r,n]){return[t+r,e+n]}function Gh([[t,e],[r,n]],[A,a]){return[t*A+e*a,r*A+n*a]}function JB(t){return[[Math.cos(t),-Math.sin(t)],[Math.sin(t),Math.cos(t)]]}function ZB([t,e],[r,n],[A,a],i){a=a%(2*Math.PI);const s=JB(i),[l,u]=Kh(Gh(s,[r*Math.cos(A),n*Math.sin(A)]),[t,e]),[c,g]=Kh(Gh(s,[r*Math.cos(A+a),n*Math.sin(A+a)]),[t,e]),p=a>Math.PI?1:0,d=a>0?1:0;return{startX:l,startY:u,endX:c,endY:g,path:`M${l} ${u} A ${[r,n,i/(2*Math.PI)*360,p,d,c,g].join(" ")}`}}function ja({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)?MD(A)&&(r[n]=A):Array.isArray(r[n])?OD({userConfig:e,key:n})&&(r[n]=A):PD({userConfig:e,key:n})&&(r[n]=ja({defaultConfig:r[n],userConfig:A}))}}),r}function OD({userConfig:t,key:e}){return Object.hasOwn(t,e)&&Array.isArray(t[e])&&t[e].length}function PD({userConfig:t,key:e}){return Object.hasOwn(t,e)&&!Array.isArray(t[e])&&typeof t[e]=="object"}function MD(t){return![null,void 0,NaN,1/0,-1/0].includes(t)}function RD(t){return![void 0,NaN,1/0,-1/0].includes(t)}function HD(t,e=0){return isNaN(t)?e:t}const Ht=["#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"],Gn=["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 ex(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;let A;if(A=t.match(e)){const[,a,i,s]=A;return`#${a}${i}${s}`}else if(A=t.match(r)){const[,a,i,s]=A;return`#${_s(a)}${_s(i)}${_s(s)}`}else if(A=t.match(n)){const[,a,i,s]=A,l=VD(Number(a),Number(i),Number(s));return`#${_s(l[0])}${_s(l[1])}${_s(l[2])}`}return null}function _s(t){const e=Number(t).toString(16);return e.length===1?"0"+e:e}function VD(t,e,r){t/=360,e/=100,r/=100;let n,A,a;if(e===0)n=A=a=r;else{const i=(u,c,g)=>(g<0&&(g+=1),g>1&&(g-=1),g<.16666666666666666?u+(c-u)*6*g:g<.5?c:g<.6666666666666666?u+(c-u)*(.6666666666666666-g)*6:u),s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;n=i(l,s,t+1/3),A=i(l,s,t),a=i(l,s,t-1/3)}return[Math.round(n*255),Math.round(A*255),Math.round(a*255)]}function ks(t,e){const r=u=>({r:parseInt(u.substring(1,3),16),g:parseInt(u.substring(3,5),16),b:parseInt(u.substring(5,7),16)}),n=({r:u,g:c,b:g})=>{u/=255,c/=255,g/=255;const p=Math.max(u,c,g),d=Math.min(u,c,g);let y,v,h=(p+d)/2;if(p===d)y=v=0;else{const x=p-d;switch(v=h>.5?x/(2-p-d):x/(p+d),p){case u:y=(c-g)/x+(c<g?6:0);break;case c:y=(g-u)/x+2;break;case g:y=(u-c)/x+4;break}y/=6}return{h:y,s:v,l:h}},A=({h:u,s:c,l:g})=>{let p,d,y;if(c===0)p=d=y=g;else{const v=(C,T,D)=>(D<0&&(D+=1),D>1&&(D-=1),D<.16666666666666666?C+(T-C)*6*D:D<.5?T:D<.6666666666666666?C+(T-C)*(.6666666666666666-D)*6:C),h=g<.5?g*(1+c):g+c-g*c,x=2*g-h;p=v(x,h,u+.3333333333333333),d=v(x,h,u),y=v(x,h,u-.3333333333333333)}return{r:Math.round(p*255),g:Math.round(d*255),b:Math.round(y*255)}},a=r(t),i=n(a);i.h+=e,i.h=(i.h+1)%1;const s=A(i);return`#${(s.r<<16|s.g<<8|s.b).toString(16).padStart(6,"0")}`}function $D({centerX:t,centerY:e,outerPoints:r,radius:n,rotation:A}){const a=Math.PI/r,i=A;let s="";const l=[];for(let u=0;u<r*2;u+=1){let c=t+Math.cos(u*a+i)*n,g=e+Math.sin(u*a+i)*n;s+=`${c},${g} `,l.push({x:c,y:g})}return{path:`M${s}Z`,coordinates:l}}function Co({plot:t,radius:e,sides:r,rotation:n=0}){const A=t.x,a=t.y,i=r/2;return $D({centerX:A,centerY:a,outerPoints:i,radius:e+1,rotation:n})}function zD({centerX:t,centerY:e,innerCirclePoints:r,innerRadius:n,outerRadius:A}){const a=Math.PI/r,i=60,s=r*2;let l="";for(let u=0;u<s;u+=1){let g=u%2==0?A:n,p=t+Math.cos(u*a+i)*g,d=e+Math.sin(u*a+i)*g;l+=`${p},${d} `}return l}function KD({plot:t,radius:e}){const r=t.x,n=t.y,A=5,a=e*3.5/A,s=a*2;return zD({centerX:r,centerY:n,innerCirclePoints:A,innerRadius:a,outerRadius:s})}function GD({series:t}){t=t.sort((u,c)=>u.x-c.x);function e(u,c,g){const p=(u.x-c.x)*(g.x-c.x)+(u.y-c.y)*(g.y-c.y),d=(u.x-c.x)*(g.y-c.y)-(g.x-c.x)*(u.y-c.y);return Math.atan2(d,p)}const r=[];let n;n=t[0];for(const u of t)u.x<n.x&&(n=u);r[0]=n;let A,a,i,s;A=r[0],a={x:A.x,y:A.y+1};do{i=Math.PI;for(const u of t)n=e(a,A,u),n<=i&&(s=u,i=n);s!==r[0]&&(r.push(s),a=A,A=s)}while(s!==r[0]);let l;return r.forEach(u=>{u&&u.x&&u.y&&(l+=`${Math.round(u.x)},${Math.round(u.y)} `)}),l=l.replaceAll("undefined",""),l}function tx(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),i=[r/255,n/255,A/255].map(l=>l<=.03928?l/12.92:Math.pow((l+.055)/1.055,2.4));return .2126*i[0]+.7152*i[1]+.0722*i[2]>.3?"#000000":"#FFFFFF"}return"#000000"}const Ine="",Ii=(t,e)=>{const r=t.__vccOpts||t;for(const[n,A]of e)r[n]=A;return r},jD={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()}`;return{useSafeValues:!0,palette:Ht,defaultConfig:{showWarnings:!0,showTable:!0,chart:{fontFamily:"inherit",backgroundColor:"#FFFFFF",color:"#2D353C",height:300,width:500,padding:{top:36,right:12,bottom:12,left:48},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"}}},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}},computed:{chartConfig(){return Object.keys(this.config||{}).length?this.treeShake({defaultConfig:this.defaultConfig,userConfig:this.config}):this.defaultConfig},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),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 Math.max(...this.safeDataset.filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>t.series.length))},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.plotSet,...this.barSet,...this.lineSet].map(r=>({label:r.name,color:r.color,type:r.type})),e=[];return this.chartConfig.chart.grid.labels.xAxisLabels.values.forEach((r,n)=>{const A=[r];this.plotSet.length&&this.plotSet.forEach(a=>{A.push(this.canShowValue(a.absoluteValues[n])?Number(a.absoluteValues[n].toFixed(this.chartConfig.table.rounding)):"")}),this.barSet.length&&this.barSet.forEach(a=>{A.push(this.canShowValue(a.absoluteValues[n])?Number(a.absoluteValues[n].toFixed(this.chartConfig.table.rounding)):"")}),this.lineSet.length&&this.lineSet.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,i)=>i===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.chartConfig.chart.grid.labels.xAxisLabels.values[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(),i=e.getBoundingClientRect();this.clientPosition.x+A/2>i.right?r=-A:this.clientPosition.x-A/2<i.left?r=0:r=-A/2,this.clientPosition.y+a>i.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
- '${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:HD,isSafeValue:RD,treeShake:ja,shiftHue:ks,pdf:uo,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},convertColorToHex(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;let A;if(A=t.match(e)){const[,a,i,s]=A;return`#${a}${i}${s}`}else if(A=t.match(r)){const[,a,i,s]=A;return`#${this.decimalToHex(a)}${this.decimalToHex(i)}${this.decimalToHex(s)}`}else if(A=t.match(n)){const[,a,i,s]=A,l=this.hslToRgb(Number(a),Number(i),Number(s));return`#${this.decimalToHex(l[0])}${this.decimalToHex(l[1])}${this.decimalToHex(l[2])}`}return null},decimalToHex(t){const e=Number(t).toString(16);return e.length===1?"0"+e:e},hslToRgb(t,e,r){t/=360,e/=100,r/=100;let n,A,a;if(e===0)n=A=a=r;else{const i=(u,c,g)=>(g<0&&(g+=1),g>1&&(g-=1),g<.16666666666666666?u+(c-u)*6*g:g<.5?c:g<.6666666666666666?u+(c-u)*(.6666666666666666-g)*6:u),s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;n=i(l,s,t+1/3),A=i(l,s,t),a=i(l,s,t-1/3)}return[Math.round(n*255),Math.round(A*255),Math.round(a*255)]},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(c=>c.label)],r=this.table.body,n=t.concat([e]).concat(r);function A(c){let g=new ArrayBuffer(c.length),p=new Uint8Array(g);for(let d=0;d<c.length;d++)p[d]=c.charCodeAt(d)&255;return g}const a=Rr.book_new(),i=Rr.aoa_to_sheet(n);Rr.book_append_sheet(a,i,"Sheet1");const s=Ui(a,{bookType:"xlsx",type:"binary"}),l=new Blob([A(s)],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),u=document.createElement("a");u.href=window.URL.createObjectURL(l),u.download=`${this.chartConfig.chart.title.text.replaceAll(" ","_")||"vue-ui-xy"}.xlsx`,u.click(),window.URL.revokeObjectURL(u.href)}}},WD=t=>(o.pushScopeId("data-v-e7962bdc"),t=t(),o.popScopeId(),t),XD=["id"],qD={class:"vue-ui-xy-user-option-item"},YD=["id","name"],JD=["for"],ZD={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=["disabled"],lO=["stroke"],cO=[o.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-e7962bdc></path><path d="M18 16v.01" data-v-e7962bdc></path><path d="M6 16v.01" data-v-e7962bdc></path><path d="M12 5v.01" data-v-e7962bdc></path><path d="M12 12v.01" data-v-e7962bdc></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-e7962bdc></path>',6)],uO={key:1},hO=["viewBox"],fO={class:"vue-ui-xy-grid"},dO=["stroke","x1","x2","y1","y2"],gO=["stroke","x1","x2","y1","y2"],pO={key:0},mO=["x1","x2","y1","y2","stroke"],vO=["id"],yO=["stop-color"],wO=["stop-color"],BO=["stop-color"],xO=["id"],bO=["stop-color"],CO=["stop-color"],EO=["stop-color"],FO=["id"],SO=["stop-color"],_O=["stop-color"],kO=["id"],TO=["stop-color"],NO=["stop-color"],LO=["x","y","height","width","fill"],UO=["cx","cy","r","fill","stroke"],IO=["x1","x2","y1","y2","stroke","stroke-width"],QO=["cx","cy","r","fill","stroke"],DO={key:0},OO=["x","y","font-size","fill"],PO={key:1},MO=["x","y","font-size","fill"],RO={key:2},HO=["x","y","font-size","fill"],VO={key:3},$O=["x1","x2","y1","y2","stroke"],zO=["x","y","font-size","fill"],KO=["font-size","fill"],GO=["x","y","font-size","fill"],jO={key:4},WO={x:"0",y:"0",width:"100%",height:"40px",style:{overflow:"visible"}},XO={key:5},qO=["y"],YO={class:"vue-ui-xy-legend"},JO=["onClick"],ZO={key:6},e7=["y","x","font-size","fill"],t7={key:7},r7=["x","y","height","width","fill","onMouseenter","onClick"],n7=["onClick"],A7=["innerHTML"],a7=["innerHTML"],i7={class:"vue-ui-xy-table"},o7={style:{"max-width":"200px",margin:"0 auto","text-align":"center"}},s7=[WD(()=>o.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"},[o.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),o.createElementVNode("path",{d:"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2"})],-1))],l7=["onMouseover"];function c7(t,e,r,n,A,a){return o.openBlock(),o.createElementBlock("div",{id:`vue-ui-xy_${A.uniqueId}`,class:"vue-ui-xy",ref:"chart",style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor}; color:${a.chartConfig.chart.color};width:100%`)},[a.chartConfig.chart.title.show&&(!A.mutableConfig.titleInside||A.isPrinting)?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vue-ui-xy-title",style:o.normalizeStyle(`font-family:${a.chartConfig.chart.fontFamily}`)},[o.createElementVNode("div",{class:"vue-ui-xy-title-main",style:o.normalizeStyle(`font-size:${a.chartConfig.chart.title.fontSize}px; color:${a.chartConfig.chart.title.color}; font-weight:${a.chartConfig.chart.title.bold?"bold":"400"}`)},o.toDisplayString(a.chartConfig.chart.title.text),5),a.chartConfig.chart.title.subtitle.text?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vue-ui-xy-title-subtitle",style:o.normalizeStyle(`font-size:${a.chartConfig.chart.title.subtitle.fontSize}px; color:${a.chartConfig.chart.title.subtitle.color}`)},o.toDisplayString(a.chartConfig.chart.title.subtitle.text),5)):o.createCommentVNode("",!0)],4)):o.createCommentVNode("",!0),a.chartConfig.chart.userOptions.show?(o.openBlock(),o.createElementBlock("details",{key:1,class:"vue-ui-xy-user-options",style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor};color:${a.chartConfig.chart.color}`),"data-html2canvas-ignore":"",ref:"details"},[o.createElementVNode("summary",{style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor};color:${a.chartConfig.chart.color}`)},o.toDisplayString(a.chartConfig.chart.userOptions.title),5),o.createElementVNode("div",{class:"vue-ui-xy-user-options-items",style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor};color:${a.chartConfig.chart.color}`)},[o.createElementVNode("div",qD,[o.withDirectives(o.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]=i=>A.mutableConfig.dataLabels.show=i)},null,8,YD),[[o.vModelCheckbox,A.mutableConfig.dataLabels.show]]),o.createElementVNode("label",{for:`vue-ui-xy-option-datalabels_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.userOptions.labels.dataLabels),9,JD)]),o.createElementVNode("div",ZD,[o.withDirectives(o.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]=i=>A.mutableConfig.titleInside=i)},null,8,eO),[[o.vModelCheckbox,A.mutableConfig.titleInside]]),o.createElementVNode("label",{for:`vue-ui-xy-option-title_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.userOptions.labels.titleInside),9,tO)]),o.createElementVNode("div",rO,[o.withDirectives(o.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]=i=>A.mutableConfig.legendInside=i)},null,8,nO),[[o.vModelCheckbox,A.mutableConfig.legendInside]]),o.createElementVNode("label",{for:`vue-ui-xy-option-legend_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.userOptions.labels.legendInside),9,AO)]),o.createElementVNode("div",aO,[o.withDirectives(o.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]=i=>A.mutableConfig.showTable=i)},null,8,iO),[[o.vModelCheckbox,A.mutableConfig.showTable]]),o.createElementVNode("label",{for:`vue-ui-xy-option-table_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.userOptions.labels.showTable),9,oO)]),o.createElementVNode("button",{class:"vue-ui-xy-button",onClick:e[4]||(e[4]=(...i)=>a.generatePdf&&a.generatePdf(...i)),disabled:A.isPrinting,style:o.normalizeStyle(`margin-top: 12px; background:${a.chartConfig.chart.backgroundColor};color:${a.chartConfig.chart.color}`)},[A.isPrinting?(o.openBlock(),o.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"},cO,8,lO)):(o.openBlock(),o.createElementBlock("span",uO,"PDF"))],12,sO),o.createElementVNode("button",{class:"vue-ui-xy-button",onClick:e[5]||(e[5]=(...i)=>a.generateXls&&a.generateXls(...i)),style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor};color:${a.chartConfig.chart.color}`)}," XLSX ",4)],4)],4)):o.createCommentVNode("",!0),(o.openBlock(),o.createElementBlock("svg",{width:"100%",viewBox:a.viewBox,class:"vue-ui-xy-svg",style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor}; color:${a.chartConfig.chart.color}; font-family:${a.chartConfig.chart.fontFamily}`),onClick:e[7]||(e[7]=(...i)=>a.closeDetails&&a.closeDetails(...i))},[o.createElementVNode("g",fO,[o.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,dO),o.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,gO),a.chartConfig.chart.grid.showVerticalLines?(o.openBlock(),o.createElementBlock("g",pO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.maxSeries+1,(i,s)=>(o.openBlock(),o.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,mO))),128))])):o.createCommentVNode("",!0)]),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.barSet,(i,s)=>(o.openBlock(),o.createElementBlock("defs",{key:`def_rect_${s}`},[o.createElementVNode("linearGradient",{id:`rectGradient_pos_${s}_${A.uniqueId}`,x2:"0%",y2:"100%"},[o.createElementVNode("stop",{offset:"0%","stop-color":i.color},null,8,yO),o.createElementVNode("stop",{offset:"62%","stop-color":`${a.shiftHue(i.color,.02)}DE`},null,8,wO),o.createElementVNode("stop",{offset:"100%","stop-color":`${a.shiftHue(i.color,.05)}66`},null,8,BO)],8,vO),o.createElementVNode("linearGradient",{id:`rectGradient_neg_${s}_${A.uniqueId}`,x2:"0%",y2:"100%"},[o.createElementVNode("stop",{offset:"0%","stop-color":`${a.shiftHue(i.color,.05)}66`},null,8,bO),o.createElementVNode("stop",{offset:"38%","stop-color":`${a.shiftHue(i.color,.02)}DE`},null,8,CO),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,EO)],8,xO)]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.plotSet,(i,s)=>(o.openBlock(),o.createElementBlock("defs",{key:`def_plot_${s}`},[o.createElementVNode("radialGradient",{id:`plotGradient_${s}_${A.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[o.createElementVNode("stop",{offset:"0%","stop-color":`${a.shiftHue(i.color,.05)}`},null,8,SO),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,_O)],8,FO)]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.lineSet,(i,s)=>(o.openBlock(),o.createElementBlock("defs",{key:`def_line_${s}`},[o.createElementVNode("radialGradient",{id:`lineGradient_${s}_${A.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[o.createElementVNode("stop",{offset:"0%","stop-color":`${a.shiftHue(i.color,.05)}`},null,8,TO),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,NO)],8,kO)]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.barSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`serie_bar_${s}`,class:o.normalizeClass(`serie_bar_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`bar_plot_${s}_${u}`},[a.canShowValue(l.value)?(o.openBlock(),o.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})`:i.color},null,8,LO)):o.createCommentVNode("",!0)]))),128))],2))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.plotSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`serie_plot_${s}`,class:o.normalizeClass(`serie_plot_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`circle_plot_${s}_${u}`},[a.canShowValue(l.value)?(o.openBlock(),o.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})`:i.color,stroke:a.chartConfig.chart.backgroundColor,"stroke-width":"0.5"},null,8,UO)):o.createCommentVNode("",!0)]))),128))],2))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.lineSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`serie_line_${s}`,class:o.normalizeClass(`serie_line_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`line_${s}_${u}`},[u<i.plots.length-1&&a.canShowValue(l.value)&&a.canShowValue(i.plots[u+1].value)?(o.openBlock(),o.createElementBlock("line",{key:0,x1:l.x,x2:i.plots[u+1].x,y1:l.y,y2:i.plots[u+1].y,stroke:i.color,"stroke-width":a.chartConfig.line.strokeWidth},null,8,IO)):o.createCommentVNode("",!0)]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`circle_line_${s}_${u}`},[a.canShowValue(l.value)?(o.openBlock(),o.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})`:i.color,stroke:a.chartConfig.chart.backgroundColor,"stroke-width":"0.5"},null,8,QO)):o.createCommentVNode("",!0)]))),128))],2))),128)),a.chartConfig.bar.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",DO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.barSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_bar_${s}`,class:o.normalizeClass(`xLabel_bar_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_bar_${s}_${u}`},[o.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},o.toDisplayString(a.canShowValue(l.value)?l.value.toFixed(a.chartConfig.bar.labels.rounding):""),9,OO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.plot.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",PO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.plotSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_plot_${s}`,class:o.normalizeClass(`xLabel_plot_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_plot_${s}_${u}`},[o.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},o.toDisplayString(a.canShowValue(l.value)?l.value.toFixed(a.chartConfig.plot.labels.rounding):""),9,MO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.line.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",RO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.lineSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_line_${s}`,class:o.normalizeClass(`xLabel_line_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_line_${s}_${u}`},[o.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},o.toDisplayString(a.canShowValue(l.value)?l.value.toFixed(a.chartConfig.line.labels.rounding):""),9,HO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.chart.grid.labels.show?(o.openBlock(),o.createElementBlock("g",VO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.yLabels,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`yLabel_${s}`},[i.value>=a.min&&i.value<=a.max?(o.openBlock(),o.createElementBlock("line",{key:0,x1:a.drawingArea.left,x2:a.drawingArea.left-5,y1:i.y,y2:i.y,stroke:a.chartConfig.chart.grid.stroke,"stroke-width":"1"},null,8,$O)):o.createCommentVNode("",!0),i.value>=a.min&&i.value<=a.max?(o.openBlock(),o.createElementBlock("text",{key:1,x:a.drawingArea.left-5,y:i.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},o.toDisplayString(a.canShowValue(i.value)?i.value.toFixed(0):""),9,zO)):o.createCommentVNode("",!0)]))),128))])):o.createCommentVNode("",!0),o.createElementVNode("g",null,[a.chartConfig.chart.grid.labels.axis.yLabel?(o.openBlock(),o.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"}},o.toDisplayString(a.chartConfig.chart.grid.labels.axis.yLabel),9,KO)):o.createCommentVNode("",!0),a.chartConfig.chart.grid.labels.axis.xLabel?(o.openBlock(),o.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},o.toDisplayString(a.chartConfig.chart.grid.labels.axis.xLabel),9,GO)):o.createCommentVNode("",!0)]),a.chartConfig.chart.title.show&&A.mutableConfig.titleInside&&!A.isPrinting?(o.openBlock(),o.createElementBlock("g",jO,[(o.openBlock(),o.createElementBlock("foreignObject",WO,[o.createElementVNode("div",{class:"vue-ui-xy-title",style:o.normalizeStyle(`font-family:${a.chartConfig.chart.fontFamily}`)},[o.createElementVNode("div",{class:"vue-ui-xy-title-main",style:o.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"}`)},o.toDisplayString(a.chartConfig.chart.title.text),5),a.chartConfig.chart.title.subtitle.text?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vue-ui-xy-title-subtitle",style:o.normalizeStyle(`font-size:${a.chartConfig.chart.title.subtitle.fontSize*.6}px; color:${a.chartConfig.chart.title.subtitle.color}`)},o.toDisplayString(a.chartConfig.chart.title.subtitle.text),5)):o.createCommentVNode("",!0)],4)]))])):o.createCommentVNode("",!0),a.chartConfig.chart.legend.show&&A.mutableConfig.legendInside&&!A.isPrinting?(o.openBlock(),o.createElementBlock("g",XO,[(o.openBlock(),o.createElementBlock("foreignObject",{x:"0",y:a.drawingArea.bottom+a.chartConfig.chart.padding.bottom/3+12,width:"100%",height:"20px",style:o.normalizeStyle(`overflow:visible; font-size:${a.chartConfig.chart.legend.fontSize*.6}px`)},[o.createElementVNode("div",YO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.absoluteDataset,(i,s)=>(o.openBlock(),o.createElementBlock("div",{key:`div_legend_item_${s}`,onClick:l=>a.segregate(i),class:o.normalizeClass({"vue-ui-xy-legend-item":!0,"vue-ui-xy-legend-item-segregated":A.segregatedSeries.includes(i.id)})},[["plot"].includes(i.type)?(o.openBlock(),o.createElementBlock("span",{key:0,style:o.normalizeStyle(`color:${i.color}`)},"●",4)):o.createCommentVNode("",!0),["line"].includes(i.type)?(o.openBlock(),o.createElementBlock("span",{key:1,style:o.normalizeStyle(`color:${i.color}`)},"▬",4)):o.createCommentVNode("",!0),["bar"].includes(i.type)?(o.openBlock(),o.createElementBlock("span",{key:2,style:o.normalizeStyle(`color:${i.color}`)},"◼",4)):o.createCommentVNode("",!0),o.createElementVNode("span",{style:o.normalizeStyle(`color:${a.chartConfig.chart.legend.color}`)},o.toDisplayString(i.name),5)],10,JO))),128))])],12,qO))])):o.createCommentVNode("",!0),a.chartConfig.chart.grid.labels.xAxisLabels.show?(o.openBlock(),o.createElementBlock("g",ZO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.maxSeries,(i,s)=>(o.openBlock(),o.createElementBlock("text",{key:`time_label_${s}`,"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},o.toDisplayString(a.chartConfig.chart.grid.labels.xAxisLabels.values[s]||""),9,e7))),128))])):o.createCommentVNode("",!0),a.chartConfig.chart.tooltip.show?(o.openBlock(),o.createElementBlock("g",t7,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.maxSeries,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`tooltip_trap_${s}`},[o.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?"rgba(0,0,0,0.03)":"transparent",onMouseenter:l=>a.toggleTooltip(!0,s),onMouseleave:e[6]||(e[6]=l=>a.toggleTooltip(!1)),onClick:l=>a.selectX(s)},null,40,r7)]))),128))])):o.createCommentVNode("",!0)],12,hO)),a.chartConfig.chart.legend.show&&(!A.mutableConfig.legendInside||A.isPrinting)?(o.openBlock(),o.createElementBlock("div",{key:2,class:"vue-ui-xy-legend",style:o.normalizeStyle(`font-size:${a.chartConfig.chart.legend.fontSize}px`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.absoluteDataset,(i,s)=>(o.openBlock(),o.createElementBlock("div",{key:`div_legend_item_${s}`,onClick:l=>a.segregate(i),class:o.normalizeClass({"vue-ui-xy-legend-item":!0,"vue-ui-xy-legend-item-segregated":A.segregatedSeries.includes(i.id)})},[o.createElementVNode("span",{style:o.normalizeStyle(`color:${i.color}`),innerHTML:A.icons[i.type]},null,12,A7),o.createElementVNode("span",{style:o.normalizeStyle(`color:${a.chartConfig.chart.legend.color}`)},o.toDisplayString(i.name),5)],10,n7))),128))],4)):o.createCommentVNode("",!0),a.chartConfig.chart.tooltip.show&&A.isTooltip?(o.openBlock(),o.createElementBlock("div",{key:3,class:"vue-ui-xy-tooltip",ref:"tooltip",style:o.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,a7)):o.createCommentVNode("",!0),a.chartConfig.showTable&&A.mutableConfig.showTable?(o.openBlock(),o.createElementBlock("div",{key:4,class:o.normalizeClass({"vue-ui-xy-table-wrapper":!0,"vue-ui-xy-table-wrapper-printing":A.isPrinting}),onClick:e[9]||(e[9]=(...i)=>a.closeDetails&&a.closeDetails(...i))},[o.createElementVNode("table",i7,[o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[o.createElementVNode("th",{style:o.normalizeStyle(`background:${a.chartConfig.table.th.backgroundColor};color:${a.chartConfig.table.th.color}`)},null,4),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.table.head,(i,s)=>(o.openBlock(),o.createElementBlock("th",{key:`th_${s}`,style:o.normalizeStyle(`background:${a.chartConfig.table.th.backgroundColor};color:${a.chartConfig.table.th.color}`)},[o.createElementVNode("div",o7,[o.createElementVNode("span",{style:o.normalizeStyle(`color:${i.color}; margin-right:3px`)},o.toDisplayString(A.icons[i.type]),5),o.createTextVNode(o.toDisplayString(i.label),1)])],4))),128))]),o.createElementVNode("tr",null,[o.createElementVNode("th",{align:"right",style:o.normalizeStyle(`background:${a.chartConfig.table.th.backgroundColor};color:${a.chartConfig.table.th.color}`)},s7,4),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.table.head,(i,s)=>(o.openBlock(),o.createElementBlock("th",{align:"right",key:`th_sum_${s}`,style:o.normalizeStyle(`background:${a.chartConfig.table.th.backgroundColor};color:${a.chartConfig.table.th.color};padding-right:6px`)},o.toDisplayString(a.relativeDataset[s].absoluteValues.reduce((l,u)=>l+u,0).toFixed(a.chartConfig.table.rounding)),5))),128))])]),o.createElementVNode("tbody",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.table.body,(i,s)=>(o.openBlock(),o.createElementBlock("tr",{key:`tr_${s}`,class:o.normalizeClass({"vue-ui-xy-table-tr-selected":A.selectedSerieIndex===s||A.selectedRowIndex===s}),onMouseover:l=>A.selectedRowIndex=s,onMouseleave:e[8]||(e[8]=l=>A.selectedRowIndex=null)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i,(l,u)=>(o.openBlock(),o.createElementBlock("td",{key:`td_${s}_${u}`,style:o.normalizeStyle(`background:${a.chartConfig.table.td.backgroundColor};color:${a.chartConfig.table.td.color};padding-right:6px;`)},o.toDisplayString(l),5))),128))],42,l7))),128))])])],2)):o.createCommentVNode("",!0)],12,XD)}const u7=Ii(jD,[["render",c7],["__scopeId","data-v-e7962bdc"]]),One="",h7={name:"vue-ui-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},data(){return{uid:`vue-ui-table-${Math.random()}`,defaultConfig:{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},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:Ht,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.
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:HD,isSafeValue:RD,treeShake:ja,shiftHue:ks,pdf:uo,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},convertColorToHex(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;let A;if(A=t.match(e)){const[,a,i,s]=A;return`#${a}${i}${s}`}else if(A=t.match(r)){const[,a,i,s]=A;return`#${this.decimalToHex(a)}${this.decimalToHex(i)}${this.decimalToHex(s)}`}else if(A=t.match(n)){const[,a,i,s]=A,l=this.hslToRgb(Number(a),Number(i),Number(s));return`#${this.decimalToHex(l[0])}${this.decimalToHex(l[1])}${this.decimalToHex(l[2])}`}return null},decimalToHex(t){const e=Number(t).toString(16);return e.length===1?"0"+e:e},hslToRgb(t,e,r){t/=360,e/=100,r/=100;let n,A,a;if(e===0)n=A=a=r;else{const i=(u,c,g)=>(g<0&&(g+=1),g>1&&(g-=1),g<.16666666666666666?u+(c-u)*6*g:g<.5?c:g<.6666666666666666?u+(c-u)*(.6666666666666666-g)*6:u),s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;n=i(l,s,t+1/3),A=i(l,s,t),a=i(l,s,t-1/3)}return[Math.round(n*255),Math.round(A*255),Math.round(a*255)]},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(c=>c.label)],r=this.table.body,n=t.concat([e]).concat(r);function A(c){let g=new ArrayBuffer(c.length),p=new Uint8Array(g);for(let d=0;d<c.length;d++)p[d]=c.charCodeAt(d)&255;return g}const a=Rr.book_new(),i=Rr.aoa_to_sheet(n);Rr.book_append_sheet(a,i,"Sheet1");const s=Ui(a,{bookType:"xlsx",type:"binary"}),l=new Blob([A(s)],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),u=document.createElement("a");u.href=window.URL.createObjectURL(l),u.download=`${this.chartConfig.chart.title.text.replaceAll(" ","_")||"vue-ui-xy"}.xlsx`,u.click(),window.URL.revokeObjectURL(u.href)}}},WD=t=>(o.pushScopeId("data-v-84608fe1"),t=t(),o.popScopeId(),t),XD=["id"],qD={class:"vue-ui-xy-user-option-item"},YD=["id","name"],JD=["for"],ZD={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=["disabled"],lO=["stroke"],cO=[o.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-84608fe1></path><path d="M18 16v.01" data-v-84608fe1></path><path d="M6 16v.01" data-v-84608fe1></path><path d="M12 5v.01" data-v-84608fe1></path><path d="M12 12v.01" data-v-84608fe1></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-84608fe1></path>',6)],uO={key:1},hO=["viewBox"],fO={class:"vue-ui-xy-grid"},dO=["stroke","x1","x2","y1","y2"],gO=["stroke","x1","x2","y1","y2"],pO={key:0},mO=["x1","x2","y1","y2","stroke"],vO=["id"],yO=["stop-color"],wO=["stop-color"],BO=["stop-color"],xO=["id"],bO=["stop-color"],CO=["stop-color"],EO=["stop-color"],FO=["id"],SO=["stop-color"],_O=["stop-color"],kO=["id"],TO=["stop-color"],NO=["stop-color"],LO=["x","y","height","width","fill"],UO=["cx","cy","r","fill","stroke"],IO=["x1","x2","y1","y2","stroke","stroke-width"],QO=["cx","cy","r","fill","stroke"],DO={key:0},OO=["x","y","font-size","fill"],PO={key:1},MO=["x","y","font-size","fill"],RO={key:2},HO=["x","y","font-size","fill"],VO={key:3},$O=["x1","x2","y1","y2","stroke"],zO=["x","y","font-size","fill"],KO=["font-size","fill"],GO=["x","y","font-size","fill"],jO={key:4},WO={x:"0",y:"0",width:"100%",height:"40px",style:{overflow:"visible"}},XO={key:5},qO=["y"],YO={class:"vue-ui-xy-legend"},JO=["onClick"],ZO={key:6},e7=["y","x","font-size","fill"],t7={key:7},r7=["x","y","height","width","fill","onMouseenter","onClick"],n7=["onClick"],A7=["innerHTML"],a7=["innerHTML"],i7={class:"vue-ui-xy-table"},o7={style:{"max-width":"200px",margin:"0 auto","text-align":"center"}},s7=[WD(()=>o.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"},[o.createElementVNode("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),o.createElementVNode("path",{d:"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2"})],-1))],l7=["onMouseover"];function c7(t,e,r,n,A,a){return o.openBlock(),o.createElementBlock("div",{id:`vue-ui-xy_${A.uniqueId}`,class:"vue-ui-xy",ref:"chart",style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor}; color:${a.chartConfig.chart.color};width:100%`)},[a.chartConfig.chart.title.show&&(!A.mutableConfig.titleInside||A.isPrinting)?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vue-ui-xy-title",style:o.normalizeStyle(`font-family:${a.chartConfig.chart.fontFamily}`)},[o.createElementVNode("div",{class:"vue-ui-xy-title-main",style:o.normalizeStyle(`font-size:${a.chartConfig.chart.title.fontSize}px; color:${a.chartConfig.chart.title.color}; font-weight:${a.chartConfig.chart.title.bold?"bold":"400"}`)},o.toDisplayString(a.chartConfig.chart.title.text),5),a.chartConfig.chart.title.subtitle.text?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vue-ui-xy-title-subtitle",style:o.normalizeStyle(`font-size:${a.chartConfig.chart.title.subtitle.fontSize}px; color:${a.chartConfig.chart.title.subtitle.color}`)},o.toDisplayString(a.chartConfig.chart.title.subtitle.text),5)):o.createCommentVNode("",!0)],4)):o.createCommentVNode("",!0),a.chartConfig.chart.userOptions.show?(o.openBlock(),o.createElementBlock("details",{key:1,class:"vue-ui-xy-user-options",style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor};color:${a.chartConfig.chart.color}`),"data-html2canvas-ignore":"",ref:"details"},[o.createElementVNode("summary",{style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor};color:${a.chartConfig.chart.color}`)},o.toDisplayString(a.chartConfig.chart.userOptions.title),5),o.createElementVNode("div",{class:"vue-ui-xy-user-options-items",style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor};color:${a.chartConfig.chart.color}`)},[o.createElementVNode("div",qD,[o.withDirectives(o.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]=i=>A.mutableConfig.dataLabels.show=i)},null,8,YD),[[o.vModelCheckbox,A.mutableConfig.dataLabels.show]]),o.createElementVNode("label",{for:`vue-ui-xy-option-datalabels_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.userOptions.labels.dataLabels),9,JD)]),o.createElementVNode("div",ZD,[o.withDirectives(o.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]=i=>A.mutableConfig.titleInside=i)},null,8,eO),[[o.vModelCheckbox,A.mutableConfig.titleInside]]),o.createElementVNode("label",{for:`vue-ui-xy-option-title_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.userOptions.labels.titleInside),9,tO)]),o.createElementVNode("div",rO,[o.withDirectives(o.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]=i=>A.mutableConfig.legendInside=i)},null,8,nO),[[o.vModelCheckbox,A.mutableConfig.legendInside]]),o.createElementVNode("label",{for:`vue-ui-xy-option-legend_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.userOptions.labels.legendInside),9,AO)]),o.createElementVNode("div",aO,[o.withDirectives(o.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]=i=>A.mutableConfig.showTable=i)},null,8,iO),[[o.vModelCheckbox,A.mutableConfig.showTable]]),o.createElementVNode("label",{for:`vue-ui-xy-option-table_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.userOptions.labels.showTable),9,oO)]),o.createElementVNode("button",{class:"vue-ui-xy-button",onClick:e[4]||(e[4]=(...i)=>a.generatePdf&&a.generatePdf(...i)),disabled:A.isPrinting,style:o.normalizeStyle(`margin-top: 12px; background:${a.chartConfig.chart.backgroundColor};color:${a.chartConfig.chart.color}`)},[A.isPrinting?(o.openBlock(),o.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"},cO,8,lO)):(o.openBlock(),o.createElementBlock("span",uO,"PDF"))],12,sO),o.createElementVNode("button",{class:"vue-ui-xy-button",onClick:e[5]||(e[5]=(...i)=>a.generateXls&&a.generateXls(...i)),style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor};color:${a.chartConfig.chart.color}`)}," XLSX ",4)],4)],4)):o.createCommentVNode("",!0),(o.openBlock(),o.createElementBlock("svg",{width:"100%",viewBox:a.viewBox,class:"vue-ui-xy-svg",style:o.normalizeStyle(`background:${a.chartConfig.chart.backgroundColor}; color:${a.chartConfig.chart.color}; font-family:${a.chartConfig.chart.fontFamily}`),onClick:e[7]||(e[7]=(...i)=>a.closeDetails&&a.closeDetails(...i))},[o.createElementVNode("g",fO,[o.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,dO),o.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,gO),a.chartConfig.chart.grid.showVerticalLines?(o.openBlock(),o.createElementBlock("g",pO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.maxSeries+1,(i,s)=>(o.openBlock(),o.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,mO))),128))])):o.createCommentVNode("",!0)]),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.barSet,(i,s)=>(o.openBlock(),o.createElementBlock("defs",{key:`def_rect_${s}`},[o.createElementVNode("linearGradient",{id:`rectGradient_pos_${s}_${A.uniqueId}`,x2:"0%",y2:"100%"},[o.createElementVNode("stop",{offset:"0%","stop-color":i.color},null,8,yO),o.createElementVNode("stop",{offset:"62%","stop-color":`${a.shiftHue(i.color,.02)}DE`},null,8,wO),o.createElementVNode("stop",{offset:"100%","stop-color":`${a.shiftHue(i.color,.05)}66`},null,8,BO)],8,vO),o.createElementVNode("linearGradient",{id:`rectGradient_neg_${s}_${A.uniqueId}`,x2:"0%",y2:"100%"},[o.createElementVNode("stop",{offset:"0%","stop-color":`${a.shiftHue(i.color,.05)}66`},null,8,bO),o.createElementVNode("stop",{offset:"38%","stop-color":`${a.shiftHue(i.color,.02)}DE`},null,8,CO),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,EO)],8,xO)]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.plotSet,(i,s)=>(o.openBlock(),o.createElementBlock("defs",{key:`def_plot_${s}`},[o.createElementVNode("radialGradient",{id:`plotGradient_${s}_${A.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[o.createElementVNode("stop",{offset:"0%","stop-color":`${a.shiftHue(i.color,.05)}`},null,8,SO),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,_O)],8,FO)]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.lineSet,(i,s)=>(o.openBlock(),o.createElementBlock("defs",{key:`def_line_${s}`},[o.createElementVNode("radialGradient",{id:`lineGradient_${s}_${A.uniqueId}`,cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%"},[o.createElementVNode("stop",{offset:"0%","stop-color":`${a.shiftHue(i.color,.05)}`},null,8,TO),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,NO)],8,kO)]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.barSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`serie_bar_${s}`,class:o.normalizeClass(`serie_bar_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`bar_plot_${s}_${u}`},[a.canShowValue(l.value)?(o.openBlock(),o.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})`:i.color},null,8,LO)):o.createCommentVNode("",!0)]))),128))],2))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.plotSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`serie_plot_${s}`,class:o.normalizeClass(`serie_plot_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`circle_plot_${s}_${u}`},[a.canShowValue(l.value)?(o.openBlock(),o.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})`:i.color,stroke:a.chartConfig.chart.backgroundColor,"stroke-width":"0.5"},null,8,UO)):o.createCommentVNode("",!0)]))),128))],2))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.lineSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`serie_line_${s}`,class:o.normalizeClass(`serie_line_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`line_${s}_${u}`},[u<i.plots.length-1&&a.canShowValue(l.value)&&a.canShowValue(i.plots[u+1].value)?(o.openBlock(),o.createElementBlock("line",{key:0,x1:l.x,x2:i.plots[u+1].x,y1:l.y,y2:i.plots[u+1].y,stroke:i.color,"stroke-width":a.chartConfig.line.strokeWidth},null,8,IO)):o.createCommentVNode("",!0)]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`circle_line_${s}_${u}`},[a.canShowValue(l.value)?(o.openBlock(),o.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})`:i.color,stroke:a.chartConfig.chart.backgroundColor,"stroke-width":"0.5"},null,8,QO)):o.createCommentVNode("",!0)]))),128))],2))),128)),a.chartConfig.bar.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",DO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.barSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_bar_${s}`,class:o.normalizeClass(`xLabel_bar_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_bar_${s}_${u}`},[o.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},o.toDisplayString(a.canShowValue(l.value)?l.value.toFixed(a.chartConfig.bar.labels.rounding):""),9,OO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.plot.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",PO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.plotSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_plot_${s}`,class:o.normalizeClass(`xLabel_plot_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_plot_${s}_${u}`},[o.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},o.toDisplayString(a.canShowValue(l.value)?l.value.toFixed(a.chartConfig.plot.labels.rounding):""),9,MO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.line.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",RO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.lineSet,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_line_${s}`,class:o.normalizeClass(`xLabel_line_${s}`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,u)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_line_${s}_${u}`},[o.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},o.toDisplayString(a.canShowValue(l.value)?l.value.toFixed(a.chartConfig.line.labels.rounding):""),9,HO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.chart.grid.labels.show?(o.openBlock(),o.createElementBlock("g",VO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.yLabels,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`yLabel_${s}`},[i.value>=a.min&&i.value<=a.max?(o.openBlock(),o.createElementBlock("line",{key:0,x1:a.drawingArea.left,x2:a.drawingArea.left-5,y1:i.y,y2:i.y,stroke:a.chartConfig.chart.grid.stroke,"stroke-width":"1"},null,8,$O)):o.createCommentVNode("",!0),i.value>=a.min&&i.value<=a.max?(o.openBlock(),o.createElementBlock("text",{key:1,x:a.drawingArea.left-5,y:i.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},o.toDisplayString(a.canShowValue(i.value)?i.value.toFixed(0):""),9,zO)):o.createCommentVNode("",!0)]))),128))])):o.createCommentVNode("",!0),o.createElementVNode("g",null,[a.chartConfig.chart.grid.labels.axis.yLabel?(o.openBlock(),o.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"}},o.toDisplayString(a.chartConfig.chart.grid.labels.axis.yLabel),9,KO)):o.createCommentVNode("",!0),a.chartConfig.chart.grid.labels.axis.xLabel?(o.openBlock(),o.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},o.toDisplayString(a.chartConfig.chart.grid.labels.axis.xLabel),9,GO)):o.createCommentVNode("",!0)]),a.chartConfig.chart.title.show&&A.mutableConfig.titleInside&&!A.isPrinting?(o.openBlock(),o.createElementBlock("g",jO,[(o.openBlock(),o.createElementBlock("foreignObject",WO,[o.createElementVNode("div",{class:"vue-ui-xy-title",style:o.normalizeStyle(`font-family:${a.chartConfig.chart.fontFamily}`)},[o.createElementVNode("div",{class:"vue-ui-xy-title-main",style:o.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"}`)},o.toDisplayString(a.chartConfig.chart.title.text),5),a.chartConfig.chart.title.subtitle.text?(o.openBlock(),o.createElementBlock("div",{key:0,class:"vue-ui-xy-title-subtitle",style:o.normalizeStyle(`font-size:${a.chartConfig.chart.title.subtitle.fontSize*.6}px; color:${a.chartConfig.chart.title.subtitle.color}`)},o.toDisplayString(a.chartConfig.chart.title.subtitle.text),5)):o.createCommentVNode("",!0)],4)]))])):o.createCommentVNode("",!0),a.chartConfig.chart.legend.show&&A.mutableConfig.legendInside&&!A.isPrinting?(o.openBlock(),o.createElementBlock("g",XO,[(o.openBlock(),o.createElementBlock("foreignObject",{x:"0",y:a.drawingArea.bottom+a.chartConfig.chart.padding.bottom/3+12,width:"100%",height:"20px",style:o.normalizeStyle(`overflow:visible; font-size:${a.chartConfig.chart.legend.fontSize*.6}px`)},[o.createElementVNode("div",YO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.absoluteDataset,(i,s)=>(o.openBlock(),o.createElementBlock("div",{key:`div_legend_item_${s}`,onClick:l=>a.segregate(i),class:o.normalizeClass({"vue-ui-xy-legend-item":!0,"vue-ui-xy-legend-item-segregated":A.segregatedSeries.includes(i.id)})},[["plot"].includes(i.type)?(o.openBlock(),o.createElementBlock("span",{key:0,style:o.normalizeStyle(`color:${i.color}`)},"●",4)):o.createCommentVNode("",!0),["line"].includes(i.type)?(o.openBlock(),o.createElementBlock("span",{key:1,style:o.normalizeStyle(`color:${i.color}`)},"▬",4)):o.createCommentVNode("",!0),["bar"].includes(i.type)?(o.openBlock(),o.createElementBlock("span",{key:2,style:o.normalizeStyle(`color:${i.color}`)},"◼",4)):o.createCommentVNode("",!0),o.createElementVNode("span",{style:o.normalizeStyle(`color:${a.chartConfig.chart.legend.color}`)},o.toDisplayString(i.name),5)],10,JO))),128))])],12,qO))])):o.createCommentVNode("",!0),a.chartConfig.chart.grid.labels.xAxisLabels.show?(o.openBlock(),o.createElementBlock("g",ZO,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.maxSeries,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`time_label_${s}`},[!a.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast||a.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast&&(s===0||s===a.maxSeries-1)?(o.openBlock(),o.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},o.toDisplayString(a.chartConfig.chart.grid.labels.xAxisLabels.values[s]||""),9,e7)):o.createCommentVNode("",!0)]))),128))])):o.createCommentVNode("",!0),a.chartConfig.chart.tooltip.show?(o.openBlock(),o.createElementBlock("g",t7,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.maxSeries,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`tooltip_trap_${s}`},[o.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?"rgba(0,0,0,0.03)":"transparent",onMouseenter:l=>a.toggleTooltip(!0,s),onMouseleave:e[6]||(e[6]=l=>a.toggleTooltip(!1)),onClick:l=>a.selectX(s)},null,40,r7)]))),128))])):o.createCommentVNode("",!0)],12,hO)),a.chartConfig.chart.legend.show&&(!A.mutableConfig.legendInside||A.isPrinting)?(o.openBlock(),o.createElementBlock("div",{key:2,class:"vue-ui-xy-legend",style:o.normalizeStyle(`font-size:${a.chartConfig.chart.legend.fontSize}px`)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.absoluteDataset,(i,s)=>(o.openBlock(),o.createElementBlock("div",{key:`div_legend_item_${s}`,onClick:l=>a.segregate(i),class:o.normalizeClass({"vue-ui-xy-legend-item":!0,"vue-ui-xy-legend-item-segregated":A.segregatedSeries.includes(i.id)})},[o.createElementVNode("span",{style:o.normalizeStyle(`color:${i.color}`),innerHTML:A.icons[i.type]},null,12,A7),o.createElementVNode("span",{style:o.normalizeStyle(`color:${a.chartConfig.chart.legend.color}`)},o.toDisplayString(i.name),5)],10,n7))),128))],4)):o.createCommentVNode("",!0),a.chartConfig.chart.tooltip.show&&A.isTooltip?(o.openBlock(),o.createElementBlock("div",{key:3,class:"vue-ui-xy-tooltip",ref:"tooltip",style:o.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,a7)):o.createCommentVNode("",!0),a.chartConfig.showTable&&A.mutableConfig.showTable?(o.openBlock(),o.createElementBlock("div",{key:4,class:o.normalizeClass({"vue-ui-xy-table-wrapper":!0,"vue-ui-xy-table-wrapper-printing":A.isPrinting}),onClick:e[9]||(e[9]=(...i)=>a.closeDetails&&a.closeDetails(...i))},[o.createElementVNode("table",i7,[o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[o.createElementVNode("th",{style:o.normalizeStyle(`background:${a.chartConfig.table.th.backgroundColor};color:${a.chartConfig.table.th.color}`)},null,4),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.table.head,(i,s)=>(o.openBlock(),o.createElementBlock("th",{key:`th_${s}`,style:o.normalizeStyle(`background:${a.chartConfig.table.th.backgroundColor};color:${a.chartConfig.table.th.color}`)},[o.createElementVNode("div",o7,[o.createElementVNode("span",{style:o.normalizeStyle(`color:${i.color}; margin-right:3px`)},o.toDisplayString(A.icons[i.type]),5),o.createTextVNode(o.toDisplayString(i.label),1)])],4))),128))]),o.createElementVNode("tr",null,[o.createElementVNode("th",{align:"right",style:o.normalizeStyle(`background:${a.chartConfig.table.th.backgroundColor};color:${a.chartConfig.table.th.color}`)},s7,4),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.table.head,(i,s)=>(o.openBlock(),o.createElementBlock("th",{align:"right",key:`th_sum_${s}`,style:o.normalizeStyle(`background:${a.chartConfig.table.th.backgroundColor};color:${a.chartConfig.table.th.color};padding-right:6px`)},o.toDisplayString(a.relativeDataset[s].absoluteValues.reduce((l,u)=>l+u,0).toFixed(a.chartConfig.table.rounding)),5))),128))])]),o.createElementVNode("tbody",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.table.body,(i,s)=>(o.openBlock(),o.createElementBlock("tr",{key:`tr_${s}`,class:o.normalizeClass({"vue-ui-xy-table-tr-selected":A.selectedSerieIndex===s||A.selectedRowIndex===s}),onMouseover:l=>A.selectedRowIndex=s,onMouseleave:e[8]||(e[8]=l=>A.selectedRowIndex=null)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i,(l,u)=>(o.openBlock(),o.createElementBlock("td",{key:`td_${s}_${u}`,style:o.normalizeStyle(`background:${a.chartConfig.table.td.backgroundColor};color:${a.chartConfig.table.td.color};padding-right:6px;`)},o.toDisplayString(l),5))),128))],42,l7))),128))])])],2)):o.createCommentVNode("",!0)],12,XD)}const u7=Ii(jD,[["render",c7],["__scopeId","data-v-84608fe1"]]),One="",h7={name:"vue-ui-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},data(){return{uid:`vue-ui-table-${Math.random()}`,defaultConfig:{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},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:Ht,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:
362
362
  {
363
363
  name: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "0.2.6",
4
+ "version": "0.2.7",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue components library",
7
7
  "keywords": ["Vue", "data visualization", "chart", "table"],