vue-data-ui 0.3.1 → 0.3.2

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-a6299eae.js")).catch(function(A) {
12823
+ return (Ft.canvg ? Promise.resolve(Ft.canvg) : import("./index.es-8e9079f1.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;
@@ -30399,18 +30399,14 @@ const xi = (e, t) => {
30399
30399
  table() {
30400
30400
  if (this.safeDataset.length === 0)
30401
30401
  return { head: [], body: [] };
30402
- const e = [...this.plotSet, ...this.barSet, ...this.lineSet].map((A) => ({
30402
+ const e = this.relativeDataset.map((A) => ({
30403
30403
  label: A.name,
30404
30404
  color: A.color,
30405
30405
  type: A.type
30406
30406
  })), t = [];
30407
30407
  return this.timeLabels.forEach((A, r) => {
30408
30408
  const n = [A];
30409
- this.plotSet.length && this.plotSet.forEach((a) => {
30410
- n.push(this.canShowValue(a.absoluteValues[r]) ? Number(a.absoluteValues[r].toFixed(this.chartConfig.table.rounding)) : "");
30411
- }), this.barSet.length && this.barSet.forEach((a) => {
30412
- n.push(this.canShowValue(a.absoluteValues[r]) ? Number(a.absoluteValues[r].toFixed(this.chartConfig.table.rounding)) : "");
30413
- }), this.lineSet.length && this.lineSet.forEach((a) => {
30409
+ this.relativeDataset.forEach((a) => {
30414
30410
  n.push(this.canShowValue(a.absoluteValues[r]) ? Number(a.absoluteValues[r].toFixed(this.chartConfig.table.rounding)) : "");
30415
30411
  }), t.push(n);
30416
30412
  }), { head: e, body: t };
@@ -30592,7 +30588,7 @@ const xi = (e, t) => {
30592
30588
  l.href = window.URL.createObjectURL(o), l.download = `${this.chartConfig.chart.title.text.replaceAll(" ", "_") || "vue-ui-xy"}.xlsx`, l.click(), window.URL.revokeObjectURL(l.href);
30593
30589
  }
30594
30590
  }
30595
- }, L6 = (e) => (Tc("data-v-cd4a8df7"), e = e(), kc(), e), T6 = ["id"], k6 = { class: "vue-ui-xy-user-option-item" }, I6 = ["id", "name"], N6 = ["for"], D6 = { class: "vue-ui-xy-user-option-item" }, O6 = ["id", "name"], M6 = ["for"], H6 = { class: "vue-ui-xy-user-option-item" }, P6 = ["id", "name"], R6 = ["for"], K6 = { class: "vue-ui-xy-user-option-item" }, V6 = ["id", "name"], G6 = ["for"], z6 = ["disabled"], j6 = ["stroke"], W6 = /* @__PURE__ */ Bi('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-cd4a8df7></path><path d="M18 16v.01" data-v-cd4a8df7></path><path d="M6 16v.01" data-v-cd4a8df7></path><path d="M12 5v.01" data-v-cd4a8df7></path><path d="M12 12v.01" data-v-cd4a8df7></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-cd4a8df7></path>', 6), X6 = [
30591
+ }, L6 = (e) => (Tc("data-v-b0d1b95b"), e = e(), kc(), e), T6 = ["id"], k6 = { class: "vue-ui-xy-user-option-item" }, I6 = ["id", "name"], N6 = ["for"], D6 = { class: "vue-ui-xy-user-option-item" }, O6 = ["id", "name"], M6 = ["for"], H6 = { class: "vue-ui-xy-user-option-item" }, P6 = ["id", "name"], R6 = ["for"], K6 = { class: "vue-ui-xy-user-option-item" }, V6 = ["id", "name"], G6 = ["for"], z6 = ["disabled"], j6 = ["stroke"], W6 = /* @__PURE__ */ Bi('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-b0d1b95b></path><path d="M18 16v.01" data-v-b0d1b95b></path><path d="M6 16v.01" data-v-b0d1b95b></path><path d="M12 5v.01" data-v-b0d1b95b></path><path d="M12 12v.01" data-v-b0d1b95b></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-b0d1b95b></path>', 6), X6 = [
30596
30592
  W6
30597
30593
  ], q6 = { key: 1 }, $6 = ["viewBox"], Y6 = { class: "vue-ui-xy-grid" }, J6 = ["stroke", "x1", "x2", "y1", "y2"], Z6 = ["stroke", "x1", "x2", "y1", "y2"], eU = { key: 0 }, tU = ["x1", "x2", "y1", "y2", "stroke"], AU = ["id"], rU = ["stop-color"], nU = ["stop-color"], aU = ["stop-color"], iU = ["id"], sU = ["stop-color"], oU = ["stop-color"], lU = ["stop-color"], uU = ["id"], cU = ["stop-color"], hU = ["stop-color"], fU = ["id"], dU = ["stop-color"], gU = ["stop-color"], pU = ["x", "y", "height", "width", "fill"], vU = ["cx", "cy", "r", "fill", "stroke"], wU = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], BU = ["cx", "cy", "r", "fill", "stroke"], mU = { key: 0 }, yU = ["x", "y", "font-size", "fill"], xU = { key: 1 }, bU = ["x", "y", "font-size", "fill"], CU = { key: 2 }, FU = ["x", "y", "font-size", "fill"], _U = { key: 3 }, EU = ["x1", "x2", "y1", "y2", "stroke"], SU = ["x", "y", "font-size", "fill"], UU = ["font-size", "fill"], QU = ["x", "y", "font-size", "fill"], LU = { key: 4 }, TU = {
30598
30594
  x: "0",
@@ -31192,7 +31188,7 @@ function A8(e, t, A, r, n, a) {
31192
31188
  align: "right",
31193
31189
  key: `th_sum_${s}`,
31194
31190
  style: ce(`background:${a.chartConfig.table.th.backgroundColor};color:${a.chartConfig.table.th.color};padding-right:6px`)
31195
- }, te(a.relativeDataset[s].absoluteValues.reduce((o, l) => o + l, 0).toFixed(a.chartConfig.table.rounding)), 5))), 128))
31191
+ }, te(A.dataset[s].series.slice(n.slicer.start, n.slicer.end).reduce((o, l) => o + l, 0).toFixed(a.chartConfig.table.rounding)), 5))), 128))
31196
31192
  ])
31197
31193
  ]),
31198
31194
  N("tbody", null, [
@@ -31212,7 +31208,7 @@ function A8(e, t, A, r, n, a) {
31212
31208
  ], 2)) : ye("", !0)
31213
31209
  ], 12, T6);
31214
31210
  }
31215
- const yD = /* @__PURE__ */ xi(Q6, [["render", A8], ["__scopeId", "data-v-cd4a8df7"]]);
31211
+ const yD = /* @__PURE__ */ xi(Q6, [["render", A8], ["__scopeId", "data-v-b0d1b95b"]]);
31216
31212
  const r8 = {
31217
31213
  name: "vue-ui-table",
31218
31214
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as Ha } from "./index-bc8b6065.js";
1
+ import { _ as Ha } from "./index-70608037.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-cd4a8df7]{transition:unset}.vue-ui-xy[data-v-cd4a8df7]{position:relative;padding-top:36px}.vue-ui-xy-user-options[data-v-cd4a8df7]{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-cd4a8df7]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-xy-user-options summary[data-v-cd4a8df7]{text-align:right;direction:rtl}.vue-ui-xy-user-options-items[data-v-cd4a8df7]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-xy-user-options-item[data-v-cd4a8df7]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-xy-legend[data-v-cd4a8df7]{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-cd4a8df7]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;cursor:pointer}.vue-ui-xy-legend-item-segregated[data-v-cd4a8df7]{opacity:.5}.vue-ui-xy-title[data-v-cd4a8df7]{align-items:center;display:flex;flex-direction:column;justify-content:center;width:100%}.vue-ui-xy svg rect[data-v-cd4a8df7]{transition:all .11s ease-in-out}.vue-ui-xy-tooltip[data-v-cd4a8df7]{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-cd4a8df7]{width:100%;max-height:300px;overflow:auto;margin-top:24px;position:relative}.vue-ui-xy-table-wrapper-printing[data-v-cd4a8df7]{max-height:unset;height:fit-content}.vue-ui-xy-table[data-v-cd4a8df7]{width:100%;border-collapse:collapse}.vue-ui-xy-table td[data-v-cd4a8df7]{border:1px solid #e1e5e8;text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-xy-table thead[data-v-cd4a8df7]{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-cd4a8df7]{background:#e1e5e8}.vue-ui-xy-button[data-v-cd4a8df7]{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-cd4a8df7]:hover{background:rgba(0,0,0,.05)}.vue-ui-xy-print-icon[data-v-cd4a8df7]{animation:smartspin-cd4a8df7 .5s infinite linear}@keyframes smartspin-cd4a8df7{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-xy-range-slider[data-v-cd4a8df7]{width:100%;margin-bottom:12px;display:flex;flex-direction:row}.vue-ui-xy-slider--left[data-v-cd4a8df7],.vue-ui-xy-slider--right[data-v-cd4a8df7]{width:100%;padding:0 12px;display:flex;flex-direction:column}.vue-ui-xy-slider--left input[data-v-cd4a8df7],.vue-ui-xy-slider--right input[data-v-cd4a8df7]{width:100%}.vue-ui-xy-slider--right[data-v-cd4a8df7]{align-items:flex-end;margin-left:-10px}.vue-ui-xy-slider--left[data-v-cd4a8df7]{align-items:flex-start;margin-right:-10px}.vue-ui-table-main[data-v-0eae4ec3]{height:fit-content;padding:0 0 98px;position:relative}.vue-ui-table__wrapper[data-v-0eae4ec3]{overflow-x:auto;padding:0 12px 48px;position:relative;width:calc(100% - 24px)}.vue-ui-table-main thead[data-v-0eae4ec3]{position:sticky;top:0}.vue-ui-table[data-v-0eae4ec3]{width:100%;position:relative}.vue-ui-table-main table[data-v-0eae4ec3]{border-collapse:collapse}.vue-ui-table-main th[data-v-0eae4ec3],.vue-ui-table-main td[data-v-0eae4ec3]{padding:3px 8px}.vue-ui-table-main tr td[data-v-0eae4ec3]{outline:1px solid white}.vue-ui-table-main .th-numeric[data-v-0eae4ec3]{text-align:right;font-variant-numeric:tabular-nums}.vue-ui-table-main .th-filter[data-v-0eae4ec3]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;position:relative}.vue-ui-table-main button[data-v-0eae4ec3]{align-items:center;cursor:pointer;display:flex;justify-content:center;width:32px}.vue-ui-table-main input[data-v-0eae4ec3]{padding:0 6px;font-family:Satoshi}.vue-ui-table-main button[data-v-0eae4ec3],.vue-ui-table-main input[data-v-0eae4ec3]{border-radius:6px;height:32px}.vue-ui-table-main button[data-v-0eae4ec3]{border:1px solid grey}.vue-ui-table-main button[data-v-0eae4ec3]:hover,.vue-ui-table-main button[data-v-0eae4ec3]:focus,.vue-ui-table-main input[data-v-0eae4ec3]:hover,.vue-ui-table-main input[data-v-0eae4ec3]:focus{outline:3px solid rgba(128,128,128,.432)}.vue-ui-table-main button.clicked[data-v-0eae4ec3]{animation:clicked-0eae4ec3 .15s ease-in-out}.vue-ui-table-main button[disabled][data-v-0eae4ec3]{cursor:not-allowed}.vue-ui-table-main button[disabled][data-v-0eae4ec3]:focus,.vue-ui-table-main button[disabled][data-v-0eae4ec3]:hover{outline:none}button.th-reset[data-v-0eae4ec3]:not(:disabled){background:radial-gradient(at top,#f19a71,#F17171);border:1px solid #F17171;color:#fff}.vue-ui-table-main button.th-reset[data-v-0eae4ec3]:not(:disabled):hover,.vue-ui-table-main button.th-reset[data-v-0eae4ec3]:not(:disabled):focus{outline:3px solid #f171717e}.vue-ui-table-main [data-is-open=false][data-v-0eae4ec3]{transform:scale(0)}.vue-ui-table-main .th-dropdown[data-is-open=true][data-v-0eae4ec3]{animation:open-dropdown-0eae4ec3 .2s ease-in}.vue-ui-table-main .th-dropdown[data-is-open=false][data-v-0eae4ec3]{animation:close-dropdown-0eae4ec3 .2s ease-in}.vue-ui-table-main .th-dropdown[data-v-0eae4ec3]{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-0eae4ec3]{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-0eae4ec3]:hover{background-color:#ffffff1a;box-shadow:0 3px 6px -3px #00000080;z-index:1}.vue-ui-table-main button.close-dropdown[data-v-0eae4ec3],.vue-ui-table-main button.close-chart-modal[data-v-0eae4ec3]{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-0eae4ec3]:hover,.vue-ui-table-main button.close-dropdown[data-v-0eae4ec3]:focus,.vue-ui-table-main button.close-chart-modal[data-v-0eae4ec3]:hover,.vue-ui-table-main button.close-char-modal[data-v-0eae4ec3]:focus{outline:3px solid #2d353c71}.vue-ui-table-main .th-button-active[data-v-0eae4ec3]{background:radial-gradient(at top,#968bf1,#6376DD);color:#fff}.vue-ui-table-main .th-button-active[data-v-0eae4ec3]:hover,.vue-ui-table-main .th-button-active[data-v-0eae4ec3]:focus{outline:3px solid #6375dd7a}.vue-ui-table-main .th-date[data-v-0eae4ec3]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--inputs[data-v-0eae4ec3]{align-items:center;display:flex;flex-direction:column;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--button[data-v-0eae4ec3]{display:flex;gap:3px}.vue-ui-table-main input[type=date][data-v-0eae4ec3]{border-radius:4px;font-size:12px;font-variant-numeric:tabular-nums;height:20px!important;width:100px}.vue-ui-table-main .date-fieldset[data-v-0eae4ec3]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-fieldset label[data-v-0eae4ec3]{font-size:12px;font-weight:400}@keyframes clicked-0eae4ec3{0%{transform:scale(.9)}90%{transform:scale(1.03)}to{transform:scale(1)}}.vue-ui-table-main td.td-numeric[data-v-0eae4ec3]{cursor:pointer}.vue-ui-table-main .td-selector-info[data-v-0eae4ec3]{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-0eae4ec3]{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-0eae4ec3]:hover,.vue-ui-table-main button.td-selector-info-reset[data-v-0eae4ec3]:focus{outline:3px solid #f171717e}.vue-ui-table-main .format-num[data-v-0eae4ec3]{font-variant-numeric:tabular-nums}.vue-ui-table-main .td-selector-icon[data-v-0eae4ec3]{margin-bottom:-5px;margin-right:6px}.vue-ui-table-main .vue-ui-table-pagination[data-v-0eae4ec3]{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-0eae4ec3]{height:36px;padding:1px;width:36px}.vue-ui-table-main .vue-ui-table-navigation-indicator[data-v-0eae4ec3]{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-0eae4ec3]{align-items:center;display:flex;flex-direction:column;justify-content:center}.vue-ui-table-main input.vue-ui-table-page-scroller[data-v-0eae4ec3]{cursor:pointer;height:24px;padding:0}.vue-ui-table-main .vue-ui-table-paginator[data-v-0eae4ec3]{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-0eae4ec3]{border-radius:3px}.vue-ui-table-main .vue-ui-table-size-warning[data-v-0eae4ec3]{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-0eae4ec3]{height:12px}.vue-ui-table-main .col-selector[data-v-0eae4ec3]{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.vue-ui-table-main th.col-selector--selected[data-v-0eae4ec3]{background:radial-gradient(at top left,#9586eb,#6376DD);color:#fff}.vue-ui-table-main th.col-selector--selected div[data-v-0eae4ec3]{background:transparent;color:#fff}.vue-ui-table-main .vue-ui-table-chart-modal[data-v-0eae4ec3]{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-0eae4ec3]{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-0eae4ec3]{border-radius:6px}.vue-ui-table-main td.vue-ui-table-td-iteration[data-v-0eae4ec3]{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-0eae4ec3]{font-size:12px;padding-left:12px}.vue-ui-table-main .chart-modal-options[data-v-0eae4ec3]{bottom:12px;display:flex;flex-direction:row;gap:8px;position:absolute;right:24px}.vue-ui-table-main .chart-modal-options button[data-v-0eae4ec3]{height:24px;padding:3px;width:24px}.vue-ui-table-main .th-range-filter[data-v-0eae4ec3]{display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column}.vue-ui-table-main .th-range-filter input[data-v-0eae4ec3]{height:20px;width:60px;font-variant-numeric:tabular-nums;font-size:12px}.vue-ui-table-main .th-range-filter label[data-v-0eae4ec3]{font-size:12px;font-weight:400;margin-bottom:-3px}.vue-ui-table-main .vue-ui-table-fieldset-wrapper[data-v-0eae4ec3]{display:flex;flex-direction:row;flex-wrap:wrap;gap:24px;margin-bottom:12px}.vue-ui-table-main .vue-ui-table-fieldset[data-v-0eae4ec3]{border-radius:6px;margin-bottom:24px;border:1px solid white}.vue-ui-table-main .vue-ui-table-fieldset legend[data-v-0eae4ec3]{color:gray}.vue-ui-table-main .vue-ui-table-fieldset-option[data-v-0eae4ec3]{display:flex;align-items:center}.vue-ui-table-main .vue-ui-table-fieldset-option input[data-v-0eae4ec3]{height:14px;width:14px;border-radius:50%}.vue-ui-table-main button.vue-ui-table-generate-donut[data-v-0eae4ec3]{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-0eae4ec3]{opacity:.5}.vue-ui-table-main .vue-ui-table-donut-legend[data-v-0eae4ec3]{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-0eae4ec3]{align-items:center;display:flex;flex-direction:row;gap:3px;justify-content:center}.vue-ui-table-main .vue-ui-table-donut-label[data-v-0eae4ec3]{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-0eae4ec3]{font-size:3px;line-height:3px}.vue-ui-table-main td[data-v-0eae4ec3]:focus{outline:3px solid #202d7470}.vue-ui-table-main .vue-ui-table-export-hub[data-v-0eae4ec3]{left:5px;position:absolute;top:0;z-index:1001}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-v-0eae4ec3]{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-0eae4ec3]{animation:open-dropdown-0eae4ec3 .2s ease-in forwards}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=false][data-v-0eae4ec3]{animation:close-dropdown-0eae4ec3 .2s ease-in}.vue-ui-table-main .vue-ui-table-export-hub-options[data-v-0eae4ec3]{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-0eae4ec3]{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-0eae4ec3]{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-0eae4ec3]{font-size:12px;line-height:12px;margin-bottom:6px;width:100px}.vue-ui-table-main .td-nan[data-v-0eae4ec3]{background:#F17171}.vue-ui-table-main .td-has-nan[data-v-0eae4ec3],.vue-ui-table-main .th-has-nan[data-v-0eae4ec3]{background:#F17171;min-width:100px;color:#fff}@keyframes open-dropdown-0eae4ec3{0%{transform:scaleY(.9);opacity:0}50%{transform:scaleY(1.05);opacity:1}to{transform:scale(1);opacity:1}}@keyframes close-dropdown-0eae4ec3{0%{transform:scale(1.05);opacity:1}to{transform:scale(0);opacity:0}}.vue-ui-donut *[data-v-976beb1e]{transition:unset}.vue-ui-donut[data-v-976beb1e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-donut .vue-ui-donut-label[data-v-976beb1e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-donut-legend[data-v-976beb1e]{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-976beb1e]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-donut-tooltip[data-v-976beb1e]{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-976beb1e]{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-976beb1e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-donut summary[data-v-976beb1e]{text-align:right;direction:rtl}.vue-ui-donut-user-options-items[data-v-976beb1e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-donut-user-options-item[data-v-976beb1e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-donut-button[data-v-976beb1e]{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-976beb1e]:hover{background:rgba(0,0,0,.05)}.vue-ui-donut-print-icon[data-v-976beb1e]{animation:smartspin-976beb1e .5s infinite linear}@keyframes smartspin-976beb1e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-donut table[data-v-976beb1e]{width:100%;border-collapse:collapse}.vue-ui-donut table td[data-v-976beb1e]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-donut table th[data-v-976beb1e]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-waffle *[data-v-5e4533da]{transition:unset}.vue-ui-waffle[data-v-5e4533da]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-waffle .vue-ui-waffle-label[data-v-5e4533da]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-waffle-legend[data-v-5e4533da]{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-5e4533da]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-waffle-tooltip[data-v-5e4533da]{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-5e4533da]{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-5e4533da]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-waffle summary[data-v-5e4533da]{text-align:right;direction:rtl}.vue-ui-waffle-user-options-items[data-v-5e4533da]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-waffle-user-options-item[data-v-5e4533da]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-waffle-button[data-v-5e4533da]{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-5e4533da]:hover{background:rgba(0,0,0,.05)}.vue-ui-waffle-print-icon[data-v-5e4533da]{animation:smartspin-5e4533da .5s infinite linear}@keyframes smartspin-5e4533da{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-waffle table[data-v-5e4533da]{width:100%;border-collapse:collapse}.vue-ui-waffle table td[data-v-5e4533da]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-waffle table th[data-v-5e4533da]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-radar *[data-v-0a1b704d]{transition:unset}.vue-ui-radar[data-v-0a1b704d]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-radar .vue-ui-radar-label[data-v-0a1b704d]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-radar-legend[data-v-0a1b704d]{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-0a1b704d]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-radar-tooltip[data-v-0a1b704d]{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-0a1b704d]{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-0a1b704d]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-radar summary[data-v-0a1b704d]{text-align:right;direction:rtl}.vue-ui-radar-user-options-items[data-v-0a1b704d]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-radar-user-options-item[data-v-0a1b704d]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-radar-button[data-v-0a1b704d]{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-0a1b704d]:hover{background:rgba(0,0,0,.05)}.vue-ui-radar-print-icon[data-v-0a1b704d]{animation:smartspin-0a1b704d .5s infinite linear}@keyframes smartspin-0a1b704d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-radar table[data-v-0a1b704d]{width:100%;border-collapse:collapse}.vue-ui-radar table td[data-v-0a1b704d]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-radar table th[data-v-0a1b704d]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-quadrant *[data-v-b7a555f6]{transition:unset}.vue-ui-quadrant[data-v-b7a555f6]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-quadrant .vue-ui-quadrant-label[data-v-b7a555f6]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-quadrant-legend[data-v-b7a555f6]{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-b7a555f6]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-quadrant-tooltip[data-v-b7a555f6]{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-b7a555f6]{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-b7a555f6]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-quadrant summary[data-v-b7a555f6]{text-align:right;direction:rtl}.vue-ui-quadrant-user-options-items[data-v-b7a555f6]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-quadrant-user-options-item[data-v-b7a555f6]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-quadrant-button[data-v-b7a555f6]{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-b7a555f6]:hover{background:rgba(0,0,0,.05)}.vue-ui-quadrant-print-icon[data-v-b7a555f6]{animation:smartspin-b7a555f6 .5s infinite linear}@keyframes smartspin-b7a555f6{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-quadrant table[data-v-b7a555f6]{width:100%;border-collapse:collapse}.vue-ui-quadrant table td[data-v-b7a555f6]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-quadrant table th[data-v-b7a555f6]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-gauge *[data-v-90bec987]{transition:unset}.vue-ui-gauge[data-v-90bec987]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-gauge .vue-ui-gauge-label[data-v-90bec987]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-gauge-legend[data-v-90bec987]{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-90bec987]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-gauge-tooltip[data-v-90bec987]{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-90bec987]{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-90bec987]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-gauge summary[data-v-90bec987]{text-align:right;direction:rtl}.vue-ui-gauge-user-options-items[data-v-90bec987]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-gauge-user-options-item[data-v-90bec987]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-gauge-button[data-v-90bec987]{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-90bec987]:hover{background:rgba(0,0,0,.05)}.vue-ui-gauge-print-icon[data-v-90bec987]{animation:smartspin-90bec987 .5s infinite linear}@keyframes smartspin-90bec987{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut *[data-v-bb11d54e]{transition:unset}.vue-ui-chestnut[data-v-bb11d54e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-chestnut .vue-ui-chestnut-label[data-v-bb11d54e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-chestnut-legend[data-v-bb11d54e]{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-bb11d54e]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-chestnut-tooltip[data-v-bb11d54e]{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-bb11d54e]{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-bb11d54e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-chestnut summary[data-v-bb11d54e]{text-align:right;direction:rtl}.vue-ui-chestnut-user-options-items[data-v-bb11d54e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-chestnut-user-options-item[data-v-bb11d54e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-chestnut-button[data-v-bb11d54e]{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-bb11d54e]:hover{background:rgba(0,0,0,.05)}.vue-ui-chestnut-print-icon[data-v-bb11d54e]{animation:smartspin-bb11d54e .5s infinite linear}@keyframes smartspin-bb11d54e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut table[data-v-bb11d54e]{width:100%;border-collapse:collapse}.vue-ui-chestnut table td[data-v-bb11d54e]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-chestnut table th[data-v-bb11d54e]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-chestnut-animated[data-v-bb11d54e]{opacity:0;animation:chestnut-opacity-bb11d54e .2s ease-in-out forwards}@keyframes chestnut-opacity-bb11d54e{0%{transform:scaleX(.98);opacity:0}to{transform:scale(1);opacity:1}}
1
+ .vue-ui-xy *[data-v-b0d1b95b]{transition:unset}.vue-ui-xy[data-v-b0d1b95b]{position:relative;padding-top:36px}.vue-ui-xy-user-options[data-v-b0d1b95b]{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-b0d1b95b]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-xy-user-options summary[data-v-b0d1b95b]{text-align:right;direction:rtl}.vue-ui-xy-user-options-items[data-v-b0d1b95b]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-xy-user-options-item[data-v-b0d1b95b]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-xy-legend[data-v-b0d1b95b]{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-b0d1b95b]{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:5px;cursor:pointer}.vue-ui-xy-legend-item-segregated[data-v-b0d1b95b]{opacity:.5}.vue-ui-xy-title[data-v-b0d1b95b]{align-items:center;display:flex;flex-direction:column;justify-content:center;width:100%}.vue-ui-xy svg rect[data-v-b0d1b95b]{transition:all .11s ease-in-out}.vue-ui-xy-tooltip[data-v-b0d1b95b]{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-b0d1b95b]{width:100%;max-height:300px;overflow:auto;margin-top:24px;position:relative}.vue-ui-xy-table-wrapper-printing[data-v-b0d1b95b]{max-height:unset;height:fit-content}.vue-ui-xy-table[data-v-b0d1b95b]{width:100%;border-collapse:collapse}.vue-ui-xy-table td[data-v-b0d1b95b]{border:1px solid #e1e5e8;text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-xy-table thead[data-v-b0d1b95b]{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-b0d1b95b]{background:#e1e5e8}.vue-ui-xy-button[data-v-b0d1b95b]{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-b0d1b95b]:hover{background:rgba(0,0,0,.05)}.vue-ui-xy-print-icon[data-v-b0d1b95b]{animation:smartspin-b0d1b95b .5s infinite linear}@keyframes smartspin-b0d1b95b{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-xy-range-slider[data-v-b0d1b95b]{width:100%;margin-bottom:12px;display:flex;flex-direction:row}.vue-ui-xy-slider--left[data-v-b0d1b95b],.vue-ui-xy-slider--right[data-v-b0d1b95b]{width:100%;padding:0 12px;display:flex;flex-direction:column}.vue-ui-xy-slider--left input[data-v-b0d1b95b],.vue-ui-xy-slider--right input[data-v-b0d1b95b]{width:100%}.vue-ui-xy-slider--right[data-v-b0d1b95b]{align-items:flex-end;margin-left:-10px}.vue-ui-xy-slider--left[data-v-b0d1b95b]{align-items:flex-start;margin-right:-10px}.vue-ui-table-main[data-v-0eae4ec3]{height:fit-content;padding:0 0 98px;position:relative}.vue-ui-table__wrapper[data-v-0eae4ec3]{overflow-x:auto;padding:0 12px 48px;position:relative;width:calc(100% - 24px)}.vue-ui-table-main thead[data-v-0eae4ec3]{position:sticky;top:0}.vue-ui-table[data-v-0eae4ec3]{width:100%;position:relative}.vue-ui-table-main table[data-v-0eae4ec3]{border-collapse:collapse}.vue-ui-table-main th[data-v-0eae4ec3],.vue-ui-table-main td[data-v-0eae4ec3]{padding:3px 8px}.vue-ui-table-main tr td[data-v-0eae4ec3]{outline:1px solid white}.vue-ui-table-main .th-numeric[data-v-0eae4ec3]{text-align:right;font-variant-numeric:tabular-nums}.vue-ui-table-main .th-filter[data-v-0eae4ec3]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;position:relative}.vue-ui-table-main button[data-v-0eae4ec3]{align-items:center;cursor:pointer;display:flex;justify-content:center;width:32px}.vue-ui-table-main input[data-v-0eae4ec3]{padding:0 6px;font-family:Satoshi}.vue-ui-table-main button[data-v-0eae4ec3],.vue-ui-table-main input[data-v-0eae4ec3]{border-radius:6px;height:32px}.vue-ui-table-main button[data-v-0eae4ec3]{border:1px solid grey}.vue-ui-table-main button[data-v-0eae4ec3]:hover,.vue-ui-table-main button[data-v-0eae4ec3]:focus,.vue-ui-table-main input[data-v-0eae4ec3]:hover,.vue-ui-table-main input[data-v-0eae4ec3]:focus{outline:3px solid rgba(128,128,128,.432)}.vue-ui-table-main button.clicked[data-v-0eae4ec3]{animation:clicked-0eae4ec3 .15s ease-in-out}.vue-ui-table-main button[disabled][data-v-0eae4ec3]{cursor:not-allowed}.vue-ui-table-main button[disabled][data-v-0eae4ec3]:focus,.vue-ui-table-main button[disabled][data-v-0eae4ec3]:hover{outline:none}button.th-reset[data-v-0eae4ec3]:not(:disabled){background:radial-gradient(at top,#f19a71,#F17171);border:1px solid #F17171;color:#fff}.vue-ui-table-main button.th-reset[data-v-0eae4ec3]:not(:disabled):hover,.vue-ui-table-main button.th-reset[data-v-0eae4ec3]:not(:disabled):focus{outline:3px solid #f171717e}.vue-ui-table-main [data-is-open=false][data-v-0eae4ec3]{transform:scale(0)}.vue-ui-table-main .th-dropdown[data-is-open=true][data-v-0eae4ec3]{animation:open-dropdown-0eae4ec3 .2s ease-in}.vue-ui-table-main .th-dropdown[data-is-open=false][data-v-0eae4ec3]{animation:close-dropdown-0eae4ec3 .2s ease-in}.vue-ui-table-main .th-dropdown[data-v-0eae4ec3]{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-0eae4ec3]{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-0eae4ec3]:hover{background-color:#ffffff1a;box-shadow:0 3px 6px -3px #00000080;z-index:1}.vue-ui-table-main button.close-dropdown[data-v-0eae4ec3],.vue-ui-table-main button.close-chart-modal[data-v-0eae4ec3]{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-0eae4ec3]:hover,.vue-ui-table-main button.close-dropdown[data-v-0eae4ec3]:focus,.vue-ui-table-main button.close-chart-modal[data-v-0eae4ec3]:hover,.vue-ui-table-main button.close-char-modal[data-v-0eae4ec3]:focus{outline:3px solid #2d353c71}.vue-ui-table-main .th-button-active[data-v-0eae4ec3]{background:radial-gradient(at top,#968bf1,#6376DD);color:#fff}.vue-ui-table-main .th-button-active[data-v-0eae4ec3]:hover,.vue-ui-table-main .th-button-active[data-v-0eae4ec3]:focus{outline:3px solid #6375dd7a}.vue-ui-table-main .th-date[data-v-0eae4ec3]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--inputs[data-v-0eae4ec3]{align-items:center;display:flex;flex-direction:column;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-wrapper--button[data-v-0eae4ec3]{display:flex;gap:3px}.vue-ui-table-main input[type=date][data-v-0eae4ec3]{border-radius:4px;font-size:12px;font-variant-numeric:tabular-nums;height:20px!important;width:100px}.vue-ui-table-main .date-fieldset[data-v-0eae4ec3]{align-items:center;display:flex;flex-direction:row;gap:6px;justify-content:center;width:100%}.vue-ui-table-main .date-fieldset label[data-v-0eae4ec3]{font-size:12px;font-weight:400}@keyframes clicked-0eae4ec3{0%{transform:scale(.9)}90%{transform:scale(1.03)}to{transform:scale(1)}}.vue-ui-table-main td.td-numeric[data-v-0eae4ec3]{cursor:pointer}.vue-ui-table-main .td-selector-info[data-v-0eae4ec3]{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-0eae4ec3]{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-0eae4ec3]:hover,.vue-ui-table-main button.td-selector-info-reset[data-v-0eae4ec3]:focus{outline:3px solid #f171717e}.vue-ui-table-main .format-num[data-v-0eae4ec3]{font-variant-numeric:tabular-nums}.vue-ui-table-main .td-selector-icon[data-v-0eae4ec3]{margin-bottom:-5px;margin-right:6px}.vue-ui-table-main .vue-ui-table-pagination[data-v-0eae4ec3]{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-0eae4ec3]{height:36px;padding:1px;width:36px}.vue-ui-table-main .vue-ui-table-navigation-indicator[data-v-0eae4ec3]{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-0eae4ec3]{align-items:center;display:flex;flex-direction:column;justify-content:center}.vue-ui-table-main input.vue-ui-table-page-scroller[data-v-0eae4ec3]{cursor:pointer;height:24px;padding:0}.vue-ui-table-main .vue-ui-table-paginator[data-v-0eae4ec3]{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-0eae4ec3]{border-radius:3px}.vue-ui-table-main .vue-ui-table-size-warning[data-v-0eae4ec3]{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-0eae4ec3]{height:12px}.vue-ui-table-main .col-selector[data-v-0eae4ec3]{align-items:center;cursor:pointer;display:flex;height:100%;justify-content:center;width:100%}.vue-ui-table-main th.col-selector--selected[data-v-0eae4ec3]{background:radial-gradient(at top left,#9586eb,#6376DD);color:#fff}.vue-ui-table-main th.col-selector--selected div[data-v-0eae4ec3]{background:transparent;color:#fff}.vue-ui-table-main .vue-ui-table-chart-modal[data-v-0eae4ec3]{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-0eae4ec3]{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-0eae4ec3]{border-radius:6px}.vue-ui-table-main td.vue-ui-table-td-iteration[data-v-0eae4ec3]{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-0eae4ec3]{font-size:12px;padding-left:12px}.vue-ui-table-main .chart-modal-options[data-v-0eae4ec3]{bottom:12px;display:flex;flex-direction:row;gap:8px;position:absolute;right:24px}.vue-ui-table-main .chart-modal-options button[data-v-0eae4ec3]{height:24px;padding:3px;width:24px}.vue-ui-table-main .th-range-filter[data-v-0eae4ec3]{display:flex;align-items:center;justify-content:center;gap:2px;flex-direction:column}.vue-ui-table-main .th-range-filter input[data-v-0eae4ec3]{height:20px;width:60px;font-variant-numeric:tabular-nums;font-size:12px}.vue-ui-table-main .th-range-filter label[data-v-0eae4ec3]{font-size:12px;font-weight:400;margin-bottom:-3px}.vue-ui-table-main .vue-ui-table-fieldset-wrapper[data-v-0eae4ec3]{display:flex;flex-direction:row;flex-wrap:wrap;gap:24px;margin-bottom:12px}.vue-ui-table-main .vue-ui-table-fieldset[data-v-0eae4ec3]{border-radius:6px;margin-bottom:24px;border:1px solid white}.vue-ui-table-main .vue-ui-table-fieldset legend[data-v-0eae4ec3]{color:gray}.vue-ui-table-main .vue-ui-table-fieldset-option[data-v-0eae4ec3]{display:flex;align-items:center}.vue-ui-table-main .vue-ui-table-fieldset-option input[data-v-0eae4ec3]{height:14px;width:14px;border-radius:50%}.vue-ui-table-main button.vue-ui-table-generate-donut[data-v-0eae4ec3]{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-0eae4ec3]{opacity:.5}.vue-ui-table-main .vue-ui-table-donut-legend[data-v-0eae4ec3]{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-0eae4ec3]{align-items:center;display:flex;flex-direction:row;gap:3px;justify-content:center}.vue-ui-table-main .vue-ui-table-donut-label[data-v-0eae4ec3]{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-0eae4ec3]{font-size:3px;line-height:3px}.vue-ui-table-main td[data-v-0eae4ec3]:focus{outline:3px solid #202d7470}.vue-ui-table-main .vue-ui-table-export-hub[data-v-0eae4ec3]{left:5px;position:absolute;top:0;z-index:1001}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-v-0eae4ec3]{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-0eae4ec3]{animation:open-dropdown-0eae4ec3 .2s ease-in forwards}.vue-ui-table-main .vue-ui-table-export-hub-dropdown[data-is-open=false][data-v-0eae4ec3]{animation:close-dropdown-0eae4ec3 .2s ease-in}.vue-ui-table-main .vue-ui-table-export-hub-options[data-v-0eae4ec3]{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-0eae4ec3]{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-0eae4ec3]{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-0eae4ec3]{font-size:12px;line-height:12px;margin-bottom:6px;width:100px}.vue-ui-table-main .td-nan[data-v-0eae4ec3]{background:#F17171}.vue-ui-table-main .td-has-nan[data-v-0eae4ec3],.vue-ui-table-main .th-has-nan[data-v-0eae4ec3]{background:#F17171;min-width:100px;color:#fff}@keyframes open-dropdown-0eae4ec3{0%{transform:scaleY(.9);opacity:0}50%{transform:scaleY(1.05);opacity:1}to{transform:scale(1);opacity:1}}@keyframes close-dropdown-0eae4ec3{0%{transform:scale(1.05);opacity:1}to{transform:scale(0);opacity:0}}.vue-ui-donut *[data-v-976beb1e]{transition:unset}.vue-ui-donut[data-v-976beb1e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-donut .vue-ui-donut-label[data-v-976beb1e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-donut-legend[data-v-976beb1e]{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-976beb1e]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-donut-tooltip[data-v-976beb1e]{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-976beb1e]{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-976beb1e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-donut summary[data-v-976beb1e]{text-align:right;direction:rtl}.vue-ui-donut-user-options-items[data-v-976beb1e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-donut-user-options-item[data-v-976beb1e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-donut-button[data-v-976beb1e]{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-976beb1e]:hover{background:rgba(0,0,0,.05)}.vue-ui-donut-print-icon[data-v-976beb1e]{animation:smartspin-976beb1e .5s infinite linear}@keyframes smartspin-976beb1e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-donut table[data-v-976beb1e]{width:100%;border-collapse:collapse}.vue-ui-donut table td[data-v-976beb1e]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-donut table th[data-v-976beb1e]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-waffle *[data-v-5e4533da]{transition:unset}.vue-ui-waffle[data-v-5e4533da]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-waffle .vue-ui-waffle-label[data-v-5e4533da]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-waffle-legend[data-v-5e4533da]{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-5e4533da]{display:flex;align-items:center;gap:6px;cursor:pointer;height:24px}.vue-ui-waffle-tooltip[data-v-5e4533da]{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-5e4533da]{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-5e4533da]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-waffle summary[data-v-5e4533da]{text-align:right;direction:rtl}.vue-ui-waffle-user-options-items[data-v-5e4533da]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-waffle-user-options-item[data-v-5e4533da]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-waffle-button[data-v-5e4533da]{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-5e4533da]:hover{background:rgba(0,0,0,.05)}.vue-ui-waffle-print-icon[data-v-5e4533da]{animation:smartspin-5e4533da .5s infinite linear}@keyframes smartspin-5e4533da{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-waffle table[data-v-5e4533da]{width:100%;border-collapse:collapse}.vue-ui-waffle table td[data-v-5e4533da]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-waffle table th[data-v-5e4533da]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-radar *[data-v-0a1b704d]{transition:unset}.vue-ui-radar[data-v-0a1b704d]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-radar .vue-ui-radar-label[data-v-0a1b704d]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-radar-legend[data-v-0a1b704d]{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-0a1b704d]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-radar-tooltip[data-v-0a1b704d]{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-0a1b704d]{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-0a1b704d]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-radar summary[data-v-0a1b704d]{text-align:right;direction:rtl}.vue-ui-radar-user-options-items[data-v-0a1b704d]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-radar-user-options-item[data-v-0a1b704d]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-radar-button[data-v-0a1b704d]{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-0a1b704d]:hover{background:rgba(0,0,0,.05)}.vue-ui-radar-print-icon[data-v-0a1b704d]{animation:smartspin-0a1b704d .5s infinite linear}@keyframes smartspin-0a1b704d{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-radar table[data-v-0a1b704d]{width:100%;border-collapse:collapse}.vue-ui-radar table td[data-v-0a1b704d]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-radar table th[data-v-0a1b704d]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-quadrant *[data-v-b7a555f6]{transition:unset}.vue-ui-quadrant[data-v-b7a555f6]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-quadrant .vue-ui-quadrant-label[data-v-b7a555f6]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-quadrant-legend[data-v-b7a555f6]{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-b7a555f6]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-quadrant-tooltip[data-v-b7a555f6]{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-b7a555f6]{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-b7a555f6]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-quadrant summary[data-v-b7a555f6]{text-align:right;direction:rtl}.vue-ui-quadrant-user-options-items[data-v-b7a555f6]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-quadrant-user-options-item[data-v-b7a555f6]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-quadrant-button[data-v-b7a555f6]{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-b7a555f6]:hover{background:rgba(0,0,0,.05)}.vue-ui-quadrant-print-icon[data-v-b7a555f6]{animation:smartspin-b7a555f6 .5s infinite linear}@keyframes smartspin-b7a555f6{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-quadrant table[data-v-b7a555f6]{width:100%;border-collapse:collapse}.vue-ui-quadrant table td[data-v-b7a555f6]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-quadrant table th[data-v-b7a555f6]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-gauge *[data-v-90bec987]{transition:unset}.vue-ui-gauge[data-v-90bec987]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-gauge .vue-ui-gauge-label[data-v-90bec987]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-gauge-legend[data-v-90bec987]{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-90bec987]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-gauge-tooltip[data-v-90bec987]{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-90bec987]{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-90bec987]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-gauge summary[data-v-90bec987]{text-align:right;direction:rtl}.vue-ui-gauge-user-options-items[data-v-90bec987]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-gauge-user-options-item[data-v-90bec987]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-gauge-button[data-v-90bec987]{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-90bec987]:hover{background:rgba(0,0,0,.05)}.vue-ui-gauge-print-icon[data-v-90bec987]{animation:smartspin-90bec987 .5s infinite linear}@keyframes smartspin-90bec987{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut *[data-v-bb11d54e]{transition:unset}.vue-ui-chestnut[data-v-bb11d54e]{-webkit-user-select:none;user-select:none;position:relative;padding-top:36px}.vue-ui-chestnut .vue-ui-chestnut-label[data-v-bb11d54e]{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;text-align:center;width:100%}.vue-ui-chestnut-legend[data-v-bb11d54e]{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-bb11d54e]{display:flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;height:24px}.vue-ui-chestnut-tooltip[data-v-bb11d54e]{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-bb11d54e]{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-bb11d54e]{border:1px solid #e1e5e8;box-shadow:0 6px 12px -6px #0003}.vue-ui-chestnut summary[data-v-bb11d54e]{text-align:right;direction:rtl}.vue-ui-chestnut-user-options-items[data-v-bb11d54e]{width:100%;display:flex;flex-direction:column;margin-top:6px}.vue-ui-chestnut-user-options-item[data-v-bb11d54e]{width:100%;display:flex;flex-direction:row;gap:5px;align-items:center}.vue-ui-chestnut-button[data-v-bb11d54e]{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-bb11d54e]:hover{background:rgba(0,0,0,.05)}.vue-ui-chestnut-print-icon[data-v-bb11d54e]{animation:smartspin-bb11d54e .5s infinite linear}@keyframes smartspin-bb11d54e{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.vue-ui-chestnut table[data-v-bb11d54e]{width:100%;border-collapse:collapse}.vue-ui-chestnut table td[data-v-bb11d54e]{text-align:right;padding-right:6px;font-variant-numeric:tabular-nums}.vue-ui-chestnut table th[data-v-bb11d54e]{position:sticky;top:0;font-weight:400;-webkit-user-select:none;user-select:none}.vue-ui-chestnut-animated[data-v-bb11d54e]{opacity:0;animation:chestnut-opacity-bb11d54e .2s ease-in-out forwards}@keyframes chestnut-opacity-bb11d54e{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-bc8b6065.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-70608037.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,c=i
355
355
  `),l.push(` </office:body>
356
356
  `),s.bookType=="fods"?l.push("</office:document>"):l.push("</office:document-content>"),l.join("")}}();function WB(t,e){if(e.bookType=="fods")return jB(t,e);var r=a1(),n="",A=[],a=[];return n="mimetype",Qt(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",Qt(r,n,jB(t,e)),A.push([n,"text/xml"]),a.push([n,"ContentFile"]),n="styles.xml",Qt(r,n,cD(t,e)),A.push([n,"text/xml"]),a.push([n,"StylesFile"]),n="meta.xml",Qt(r,n,jr+Ww()),A.push([n,"text/xml"]),a.push([n,"MetadataFile"]),n="manifest.rdf",Qt(r,n,x6(a)),A.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",Qt(r,n,w6(A)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function zh(t){return new DataView(t.buffer,t.byteOffset,t.byteLength)}function uD(t){return typeof TextEncoder<"u"?new TextEncoder().encode(t):GA(Ka(t))}function hD(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 Ui(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 fD(t,e,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,A=r/Math.pow(10,n-6176);t[e+15]|=n>>7,t[e+14]|=(n&127)<<1;for(var a=0;A>=1;++a,A/=256)t[e+a]=A&255;t[e+15]|=r>=0?0:128}function oc(t,e){var r=e?e[0]:0,n=t[r]&127;e:if(t[r++]>=128&&(n|=(t[r]&127)<<7,t[r++]<128||(n|=(t[r]&127)<<14,t[r++]<128)||(n|=(t[r]&127)<<21,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,28),++r,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,35),++r,t[r++]<128)||(n+=(t[r]&127)*Math.pow(2,42),++r,t[r++]<128)))break e;return e&&(e[0]=r),n}function Ar(t){var e=new Uint8Array(7);e[0]=t&127;var r=1;e:if(t>127){if(e[r-1]|=128,e[r]=t>>7&127,++r,t<=16383||(e[r-1]|=128,e[r]=t>>14&127,++r,t<=2097151)||(e[r-1]|=128,e[r]=t>>21&127,++r,t<=268435455)||(e[r-1]|=128,e[r]=t/256>>>21&127,++r,t<=34359738367)||(e[r-1]|=128,e[r]=t/65536>>>21&127,++r,t<=4398046511103))break e;e[r-1]|=128,e[r]=t/16777216>>>21&127,++r}return e.slice(0,r)}function Ss(t){var e=0,r=t[e]&127;e:if(t[e++]>=128){if(r|=(t[e]&127)<<7,t[e++]<128||(r|=(t[e]&127)<<14,t[e++]<128)||(r|=(t[e]&127)<<21,t[e++]<128))break e;r|=(t[e]&127)<<28}return r}function nn(t){for(var e=[],r=[0];r[0]<t.length;){var n=r[0],A=oc(t,r),a=A&7;A=Math.floor(A/8);var 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=oc(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 c={data:s,type:a};e[A]==null?e[A]=[c]:e[A].push(c)}return e}function Cn(t){var e=[];return t.forEach(function(r,n){r.forEach(function(A){A.data&&(e.push(Ar(n*8+A.type)),A.type==2&&e.push(Ar(A.data.length)),e.push(A.data))})}),Ui(e)}function XA(t){for(var e,r=[],n=[0];n[0]<t.length;){var A=oc(t,n),a=nn(t.slice(n[0],n[0]+A));n[0]+=A;var i={id:Ss(a[1][0].data),messages:[]};a[2].forEach(function(s){var l=nn(s.data),c=Ss(l[3][0].data);i.messages.push({meta:l,data:t.slice(n[0],n[0]+c)}),n[0]+=c}),(e=a[3])!=null&&e[0]&&(i.merge=Ss(a[3][0].data)>>>0>0),r.push(i)}return r}function _s(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:Cn(i.meta),type:2})});var a=Cn(n);e.push(Ar(a.length)),e.push(a),A.forEach(function(i){return e.push(i)})}),Ui(e)}function dD(t,e){if(t!=0)throw new Error("Unexpected Snappy chunk type ".concat(t));for(var r=[0],n=oc(e,r),A=[];r[0]<e.length;){var a=e[r[0]]&3;if(a==0){var 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,c=0;if(a==1?(c=(e[r[0]]>>2&7)+4,l=(e[r[0]++]&224)<<3,l|=e[r[0]++]):(c=(e[r[0]++]>>2)+1,a==2?(l=e[r[0]]|e[r[0]+1]<<8,r[0]+=2):(l=(e[r[0]]|e[r[0]+1]<<8|e[r[0]+2]<<16|e[r[0]+3]<<24)>>>0,r[0]+=4)),A=[Ui(A)],l==0)throw new Error("Invalid offset 0");if(l>A[0].length)throw new Error("Invalid offset beyond length");if(c>=l)for(A.push(A[0].slice(-l)),c-=l;c>=A[A.length-1].length;)A.push(A[A.length-1]),c-=A[A.length-1].length;A.push(A[0].slice(-l,-l+c))}}var u=Ui(A);if(u.length!=n)throw new Error("Unexpected length: ".concat(u.length," != ").concat(n));return u}function qA(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(dD(n,t.slice(r,r+A))),r+=A}if(r!==t.length)throw new Error("data is not a valid framed stream!");return Ui(e)}function ks(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 Ui(e)}function k1(t,e){var r=new Uint8Array(32),n=zh(r),A=12,a=0;switch(r[0]=5,t.t){case"n":r[1]=2,fD(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 T1(t,e){var r=new Uint8Array(32),n=zh(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 Ii(t){var e=nn(t);return oc(e[1][0].data)}function gD(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)&&Ss(t[8][0].data)>0||!1;if(s)throw"Math only works with normal offsets";for(var l=0,c=zh(t[7][0].data),u=0,p=[],h=zh(t[4][0].data),d=0,y=[],g=0;g<e.length;++g){if(e[g]==null){c.setUint16(g*2,65535,!0),h.setUint16(g*2,65535);continue}c.setUint16(g*2,u,!0),h.setUint16(g*2,d,!0);var m,w;switch(typeof e[g]){case"string":m=k1({t:"s",v:e[g]},r),w=T1({t:"s",v:e[g]},r);break;case"number":m=k1({t:"n",v:e[g]},r),w=T1({t:"n",v:e[g]},r);break;case"boolean":m=k1({t:"b",v:e[g]},r),w=T1({t:"b",v:e[g]},r);break;default:throw new Error("Unsupported value "+e[g])}p.push(m),u+=m.length,y.push(w),d+=w.length,++l}for(t[2][0].data=Ar(l);g<t[7][0].data.length/2;++g)c.setUint16(g*2,65535,!0),h.setUint16(g*2,65535,!0);return t[6][0].data=Ui(p),t[3][0].data=Ui(y),l}function pD(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=mA(r["!ref"]);n.s.r=n.s.c=0;var A=!1;n.e.c>9&&(A=!0,n.e.c=9),n.e.r>49&&(A=!0,n.e.r=49),A&&console.error("The Numbers writer is currently limited to ".concat(Wr(n)));var a=Kh(r,{range:n,header:1}),i=["~Sh33tJ5~"];a.forEach(function(F){return F.forEach(function(b){typeof b=="string"&&i.push(b)})});var s={},l=[],c=lr.read(e.numbers,{type:"base64"});c.FileIndex.map(function(F,b){return[F,c.FullPaths[b]]}).forEach(function(F){var b=F[0],E=F[1];if(b.type==2&&b.name.match(/\.iwa/)){var k=b.content,j=qA(k),ee=XA(j);ee.forEach(function(ue){l.push(ue.id),s[ue.id]={deps:[],location:E,type:Ss(ue.messages[0].meta[1][0].data)}})}}),l.sort(function(F,b){return F-b});var u=l.filter(function(F){return F>1}).map(function(F){return[F,Ar(F)]});c.FileIndex.map(function(F,b){return[F,c.FullPaths[b]]}).forEach(function(F){var b=F[0];if(F[1],!!b.name.match(/\.iwa/)){var E=XA(qA(b.content));E.forEach(function(k){k.messages.forEach(function(j){u.forEach(function(ee){k.messages.some(function(ue){return Ss(ue.meta[1][0].data)!=11006&&hD(ue.data,ee[1])})&&s[ee[0]].deps.push(k.id)})})})}});for(var p=lr.find(c,s[1].location),h=XA(qA(p.content)),d,y=0;y<h.length;++y){var g=h[y];g.id==1&&(d=g)}var m=Ii(nn(d.messages[0].data)[1][0].data);for(p=lr.find(c,s[m].location),h=XA(qA(p.content)),y=0;y<h.length;++y)g=h[y],g.id==m&&(d=g);for(m=Ii(nn(d.messages[0].data)[2][0].data),p=lr.find(c,s[m].location),h=XA(qA(p.content)),y=0;y<h.length;++y)g=h[y],g.id==m&&(d=g);for(m=Ii(nn(d.messages[0].data)[2][0].data),p=lr.find(c,s[m].location),h=XA(qA(p.content)),y=0;y<h.length;++y)g=h[y],g.id==m&&(d=g);var w=nn(d.messages[0].data);{w[6][0].data=Ar(n.e.r+1),w[7][0].data=Ar(n.e.c+1);var S=Ii(w[46][0].data),T=lr.find(c,s[S].location),Q=XA(qA(T.content));{for(var W=0;W<Q.length&&Q[W].id!=S;++W);if(Q[W].id!=S)throw"Bad ColumnRowUIDMapArchive";var K=nn(Q[W].messages[0].data);K[1]=[],K[2]=[],K[3]=[];for(var I=0;I<=n.e.c;++I){var L=[];L[1]=L[2]=[{type:0,data:Ar(I+420690)}],K[1].push({type:2,data:Cn(L)}),K[2].push({type:0,data:Ar(I)}),K[3].push({type:0,data:Ar(I)})}K[4]=[],K[5]=[],K[6]=[];for(var R=0;R<=n.e.r;++R)L=[],L[1]=L[2]=[{type:0,data:Ar(R+726270)}],K[4].push({type:2,data:Cn(L)}),K[5].push({type:0,data:Ar(R)}),K[6].push({type:0,data:Ar(R)});Q[W].messages[0].data=Cn(K)}T.content=ks(_s(Q)),T.size=T.content.length,delete w[46];var te=nn(w[4][0].data);{te[7][0].data=Ar(n.e.r+1);var U=nn(te[1][0].data),N=Ii(U[2][0].data);T=lr.find(c,s[N].location),Q=XA(qA(T.content));{if(Q[0].id!=N)throw"Bad HeaderStorageBucket";var V=nn(Q[0].messages[0].data);for(R=0;R<a.length;++R){var q=nn(V[2][0].data);q[1][0].data=Ar(R),q[4][0].data=Ar(a[R].length),V[2][R]={type:V[2][0].type,data:Cn(q)}}Q[0].messages[0].data=Cn(V)}T.content=ks(_s(Q)),T.size=T.content.length;var se=Ii(te[2][0].data);T=lr.find(c,s[se].location),Q=XA(qA(T.content));{if(Q[0].id!=se)throw"Bad HeaderStorageBucket";for(V=nn(Q[0].messages[0].data),I=0;I<=n.e.c;++I)q=nn(V[2][0].data),q[1][0].data=Ar(I),q[4][0].data=Ar(n.e.r+1),V[2][I]={type:V[2][0].type,data:Cn(q)};Q[0].messages[0].data=Cn(V)}T.content=ks(_s(Q)),T.size=T.content.length;var ce=Ii(te[4][0].data);(function(){for(var F=lr.find(c,s[ce].location),b=XA(qA(F.content)),E,k=0;k<b.length;++k){var j=b[k];j.id==ce&&(E=j)}var ee=nn(E.messages[0].data);{ee[3]=[];var ue=[];i.forEach(function(be,J){ue[1]=[{type:0,data:Ar(J)}],ue[2]=[{type:0,data:Ar(1)}],ue[3]=[{type:2,data:uD(be)}],ee[3].push({type:2,data:Cn(ue)})})}E.messages[0].data=Cn(ee);var Be=_s(b),le=ks(Be);F.content=le,F.size=F.content.length})();var he=nn(te[3][0].data);{var pe=he[1][0];delete he[2];var de=nn(pe.data);{var ye=Ii(de[2][0].data);(function(){for(var F=lr.find(c,s[ye].location),b=XA(qA(F.content)),E,k=0;k<b.length;++k){var j=b[k];j.id==ye&&(E=j)}var ee=nn(E.messages[0].data);{delete ee[6],delete he[7];var ue=new Uint8Array(ee[5][0].data);ee[5]=[];for(var Be=0,le=0;le<=n.e.r;++le){var be=nn(ue);Be+=gD(be,a[le],i),be[1][0].data=Ar(le),ee[5].push({data:Cn(be),type:2})}ee[1]=[{type:0,data:Ar(n.e.c+1)}],ee[2]=[{type:0,data:Ar(n.e.r+1)}],ee[3]=[{type:0,data:Ar(Be)}],ee[4]=[{type:0,data:Ar(n.e.r+1)}]}E.messages[0].data=Cn(ee);var J=_s(b),Ce=ks(J);F.content=Ce,F.size=F.content.length})()}pe.data=Cn(de)}te[3][0].data=Cn(he)}w[4][0].data=Cn(te)}d.messages[0].data=Cn(w);var Ue=_s(h),x=ks(Ue);return p.content=x,p.size=p.content.length,c}function mD(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 N1(t){mD([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(t)}function vD(t,e){return e.bookType=="ods"?WB(t,e):e.bookType=="numbers"?pD(t,e):e.bookType=="xlsb"?yD(t,e):wD(t,e)}function yD(t,e){Es=1024,t&&!t.SSF&&(t.SSF=nA(kr)),t&&t.SSF&&(Eh(),Ch(t.SSF),e.revssf=Fh(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,ac?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r=e.bookType=="xlsb"?"bin":"xml",n=EB.indexOf(e.bookType)>-1,A=$w();N1(e=e||{});var a=a1(),i="",s=0;if(e.cellXfs=[],Li(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),i="docProps/core.xml",Qt(a,i,Xw(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=[],c=0;c<t.SheetNames.length;++c)(t.Workbook.Sheets[c]||{}).Hidden!=2&&l.push(t.SheetNames[c]);t.Props.SheetNames=l}for(t.Props.Worksheets=t.Props.SheetNames.length,Qt(a,i,Yw(t.Props)),A.extprops.push(i),nr(e.rels,3,i,Xt.EXT_PROPS),t.Custprops!==t.Props&&wn(t.Custprops||{}).length>0&&(i="docProps/custom.xml",Qt(a,i,Jw(t.Custprops)),A.custprops.push(i),nr(e.rels,4,i,Xt.CUST_PROPS)),s=1;s<=t.SheetNames.length;++s){var u={"!id":{}},p=t.Sheets[t.SheetNames[s-1]],h=(p||{})["!type"]||"sheet";switch(h){case"chart":default:i="xl/worksheets/sheet"+s+"."+r,Qt(a,i,xQ(s-1,i,e,t,u)),A.sheets.push(i),nr(e.wbrels,-1,"worksheets/sheet"+s+"."+r,Xt.WS[0])}if(p){var d=p["!comments"],y=!1,g="";d&&d.length>0&&(g="xl/comments"+s+"."+r,Qt(a,g,EQ(d,g)),A.comments.push(g),nr(u,-1,"../comments"+s+"."+r,Xt.CMNT),y=!0),p["!legacy"]&&y&&Qt(a,"xl/drawings/vmlDrawing"+s+".vml",bB(s,p["!comments"])),delete p["!comments"],delete p["!legacy"]}u["!id"].rId1&&Qt(a,Gw(i),bs(u))}return e.Strings!=null&&e.Strings.length>0&&(i="xl/sharedStrings."+r,Qt(a,i,CQ(e.Strings,i,e)),A.strs.push(i),nr(e.wbrels,-1,"sharedStrings."+r,Xt.SST)),i="xl/workbook."+r,Qt(a,i,BQ(t,i)),A.workbooks.push(i),nr(e.rels,1,i,Xt.WB),i="xl/theme/theme1.xml",Qt(a,i,BB(t.Themes,e)),A.themes.push(i),nr(e.wbrels,-1,"theme/theme1.xml",Xt.THEME),i="xl/styles."+r,Qt(a,i,bQ(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,FQ(i)),A.metadata.push(i),nr(e.wbrels,-1,"metadata."+r,Xt.XLMETA),Qt(a,"[Content_Types].xml",Kw(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){Es=1024,t&&!t.SSF&&(t.SSF=nA(kr)),t&&t.SSF&&(Eh(),Ch(t.SSF),e.revssf=Fh(t.SSF),e.revssf[t.SSF[65535]]=0,e.ssf=t.SSF),e.rels={},e.wbrels={},e.Strings=[],e.Strings.Count=0,e.Strings.Unique=0,ac?e.revStrings=new Map:(e.revStrings={},e.revStrings.foo=[],delete e.revStrings.foo);var r="xml",n=EB.indexOf(e.bookType)>-1,A=$w();N1(e=e||{});var a=a1(),i="",s=0;if(e.cellXfs=[],Li(e.cellXfs,{},{revssf:{General:0}}),t.Props||(t.Props={}),i="docProps/core.xml",Qt(a,i,Xw(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=[],c=0;c<t.SheetNames.length;++c)(t.Workbook.Sheets[c]||{}).Hidden!=2&&l.push(t.SheetNames[c]);t.Props.SheetNames=l}t.Props.Worksheets=t.Props.SheetNames.length,Qt(a,i,Yw(t.Props)),A.extprops.push(i),nr(e.rels,3,i,Xt.EXT_PROPS),t.Custprops!==t.Props&&wn(t.Custprops||{}).length>0&&(i="docProps/custom.xml",Qt(a,i,Jw(t.Custprops)),A.custprops.push(i),nr(e.rels,4,i,Xt.CUST_PROPS));var u=["SheetJ5"];for(e.tcid=0,s=1;s<=t.SheetNames.length;++s){var p={"!id":{}},h=t.Sheets[t.SheetNames[s-1]],d=(h||{})["!type"]||"sheet";switch(d){case"chart":default:i="xl/worksheets/sheet"+s+"."+r,Qt(a,i,OB(s-1,e,t,p)),A.sheets.push(i),nr(e.wbrels,-1,"worksheets/sheet"+s+"."+r,Xt.WS[0])}if(h){var y=h["!comments"],g=!1,m="";if(y&&y.length>0){var w=!1;y.forEach(function(S){S[1].forEach(function(T){T.T==!0&&(w=!0)})}),w&&(m="xl/threadedComments/threadedComment"+s+"."+r,Qt(a,m,YL(y,u,e)),A.threadedcomments.push(m),nr(p,-1,"../threadedComments/threadedComment"+s+"."+r,Xt.TCMNT)),m="xl/comments"+s+"."+r,Qt(a,m,CB(y)),A.comments.push(m),nr(p,-1,"../comments"+s+"."+r,Xt.CMNT),g=!0}h["!legacy"]&&g&&Qt(a,"xl/drawings/vmlDrawing"+s+".vml",bB(s,h["!comments"])),delete h["!comments"],delete h["!legacy"]}p["!id"].rId1&&Qt(a,Gw(i),bs(p))}return e.Strings!=null&&e.Strings.length>0&&(i="xl/sharedStrings."+r,Qt(a,i,fB(e.Strings,e)),A.strs.push(i),nr(e.wbrels,-1,"sharedStrings."+r,Xt.SST)),i="xl/workbook."+r,Qt(a,i,RB(t)),A.workbooks.push(i),nr(e.rels,1,i,Xt.WB),i="xl/theme/theme1.xml",Qt(a,i,BB(t.Themes,e)),A.themes.push(i),nr(e.wbrels,-1,"theme/theme1.xml",Xt.THEME),i="xl/styles."+r,Qt(a,i,vB(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,xB()),A.metadata.push(i),nr(e.wbrels,-1,"metadata."+r,Xt.XLMETA),u.length>1&&(i="xl/persons/person.xml",Qt(a,i,JL(u)),A.people.push(i),nr(e.wbrels,-1,"persons/person.xml",Xt.PEOPLE)),Qt(a,"[Content_Types].xml",Kw(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 BD(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=Ha(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 XB(t,e){switch(e.type){case"base64":case"binary":break;case"buffer":case"array":e.type="";break;case"file":return jl(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 xD(t,e){var r=nA(e||{}),n=vD(t,r);return bD(n,r)}function bD(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(vh(A))}return e.password&&typeof encrypt_agile<"u"?XB(encrypt_agile(A,e.password),e):e.type==="file"?jl(e.file,A):e.type=="string"?Xl(A):A}function CD(t,e){var r=e||{},n=RQ(t,r);return XB(n,r)}function Ca(t,e,r){r||(r="");var n=r+t;switch(e.type){case"base64":return $l(Ka(n));case"binary":return Ka(n);case"string":return t;case"file":return jl(e.file,n,"utf8");case"buffer":return Yt?Va(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):Ca(n,{type:"binary"}).split("").map(function(A){return A.charCodeAt(0)})}throw new Error("Unrecognized type "+e.type)}function ED(t,e){switch(e.type){case"base64":return $l(t);case"binary":return t;case"string":return t;case"file":return jl(e.file,t,"binary");case"buffer":return Yt?Va(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+e.type)}function $h(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"?$l(r):e.type=="string"?Xl(r):r;case"file":return jl(e.file,t);case"buffer":return t;default:throw new Error("Unrecognized type "+e.type)}}function Qi(t,e){JT(),cQ(t);var r=nA(e||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=Qi(t,r);return r.type="array",vh(n)}var A=0;if(r.sheet&&(typeof r.sheet=="number"?A=r.sheet:A=t.SheetNames.indexOf(r.sheet),!t.SheetNames[A]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return Ca(PQ(t,r),r);case"slk":case"sylk":return Ca(oL.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"htm":case"html":return Ca(zB(t.Sheets[t.SheetNames[A]],r),r);case"txt":return ED(YB(t.Sheets[t.SheetNames[A]],r),r);case"csv":return Ca(L1(t.Sheets[t.SheetNames[A]],r),r,"\uFEFF");case"dif":return Ca(sL.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"dbf":return $h(iL.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"prn":return Ca(lL.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"rtf":return Ca(pL.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"eth":return Ca(uB.from_sheet(t.Sheets[t.SheetNames[A]],r),r);case"fods":return Ca(WB(t,r),r);case"wk1":return $h(hB.sheet_to_wk1(t.Sheets[t.SheetNames[A]],r),r);case"wk3":return $h(hB.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),$h(VB(t,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),CD(t,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return xD(t,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function FD(t,e,r,n,A,a,i,s){var l=xn(r),c=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),p=!0,h=A===1?[]:{};if(A!==1)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:r,enumerable:!1})}catch{h.__rowNum__=r}else h.__rowNum__=r;if(!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(c===void 0)continue;a[d]!=null&&(h[a[d]]=c);continue}var g=y.v;switch(y.t){case"z":if(g==null)break;continue;case"e":g=g==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+y.t)}if(a[d]!=null){if(g==null)if(y.t=="e"&&g===null)h[a[d]]=null;else if(c!==void 0)h[a[d]]=c;else if(u&&g===null)h[a[d]]=null;else continue;else h[a[d]]=u&&(y.t!=="n"||y.t==="n"&&s.rawNumbers!==!1)?g:Ga(y,g,s);g!=null&&(p=!1)}}return{row:h,isempty:p}}function Kh(t,e){if(t==null||t["!ref"]==null)return[];var r={t:"n",v:0},n=0,A=1,a=[],i=0,s="",l={s:{r:0,c:0},e:{r:0,c:0}},c=e||{},u=c.range!=null?c.range:t["!ref"];switch(c.header===1?n=1:c.header==="A"?n=2:Array.isArray(c.header)?n=3:c.header==null&&(n=0),typeof u){case"string":l=wr(u);break;case"number":l=wr(t["!ref"]),l.s.r=u;break;default:l=u}n>0&&(A=0);var p=xn(l.s.r),h=[],d=[],y=0,g=0,m=Array.isArray(t),w=l.s.r,S=0,T={};m&&!t[w]&&(t[w]=[]);var Q=c.skipHidden&&t["!cols"]||[],W=c.skipHidden&&t["!rows"]||[];for(S=l.s.c;S<=l.e.c;++S)if(!(Q[S]||{}).hidden)switch(h[S]=In(S),r=m?t[w][S]:t[h[S]+p],n){case 1:a[S]=S-l.s.c;break;case 2:a[S]=h[S];break;case 3:a[S]=c.header[S-l.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),s=i=Ga(r,null,c),g=T[i]||0,!g)T[i]=1;else{do s=i+"_"+g++;while(T[s]);T[i]=g,T[s]=1}a[S]=s}for(w=l.s.r+A;w<=l.e.r;++w)if(!(W[w]||{}).hidden){var K=FD(t,l,w,h,n,a,m,c);(K.isempty===!1||(n===1?c.blankrows!==!1:c.blankrows))&&(d[y++]=K.row)}return d.length=y,d}var qB=/"/g;function SD(t,e,r,n,A,a,i,s){for(var l=!0,c=[],u="",p=xn(r),h=e.s.c;h<=e.e.c;++h)if(n[h]){var d=s.dense?(t[r]||[])[h]:t[n[h]+p];if(d==null)u="";else if(d.v!=null){l=!1,u=""+(s.rawNumbers&&d.t=="n"?d.v:Ga(d,null,s));for(var y=0,g=0;y!==u.length;++y)if((g=u.charCodeAt(y))===A||g===a||g===34||s.forceQuotes){u='"'+u.replace(qB,'""')+'"';break}u=="ID"&&(u='"ID"')}else d.f!=null&&!d.F?(l=!1,u="="+d.f,u.indexOf(",")>=0&&(u='"'+u.replace(qB,'""')+'"')):u="";c.push(u)}return s.blankrows===!1&&l?null:c.join(i)}function L1(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),c=new RegExp((a=="|"?"\\|":a)+"+$"),u="",p=[];n.dense=Array.isArray(t);for(var h=n.skipHidden&&t["!cols"]||[],d=n.skipHidden&&t["!rows"]||[],y=A.s.c;y<=A.e.c;++y)(h[y]||{}).hidden||(p[y]=In(y));for(var g=0,m=A.s.r;m<=A.e.r;++m)(d[m]||{}).hidden||(u=SD(t,A,m,p,i,l,a,n),u!=null&&(n.strip&&(u=u.replace(c,"")),(u||n.blankrows!==!1)&&r.push((g++?s:"")+u)));return delete n.dense,r.join("")}function YB(t,e){e||(e={}),e.FS=" ",e.RS=`
358
- `;var r=L1(t,e);return r}function _D(t){var e="",r,n="";if(t==null||t["!ref"]==null)return[];var A=wr(t["!ref"]),a="",i=[],s,l=[],c=Array.isArray(t);for(s=A.s.c;s<=A.e.c;++s)i[s]=In(s);for(var u=A.s.r;u<=A.e.r;++u)for(a=xn(u),s=A.s.c;s<=A.e.c;++s)if(e=i[s]+a,r=c?(t[u]||[])[s]:t[e],n="",r!==void 0){if(r.F!=null){if(e=r.F,!r.f)continue;n=r.f,e.indexOf(":")==-1&&(e=e+":"+e)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}l[l.length]=e+"="+n}return l}function JB(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"?un(n.origin):n.origin;i=l.r,s=l.c}var c,u={s:{c:0,r:0},e:{c:s,r:i+e.length-1+A}};if(a["!ref"]){var p=wr(a["!ref"]);u.e.c=Math.max(u.e.c,p.e.c),u.e.r=Math.max(u.e.r,p.e.r),i==-1&&(i=p.e.r+1,u.e.r=i+e.length-1+A)}else i==-1&&(i=0,u.e.r=e.length-1+A);var h=n.header||[],d=0;e.forEach(function(g,m){wn(g).forEach(function(w){(d=h.indexOf(w))==-1&&(h[d=h.length]=w);var S=g[w],T="z",Q="",W=rr({c:s+d,r:i+m+A});c=sc(a,W),S&&typeof S=="object"&&!(S instanceof Date)?a[W]=S:(typeof S=="number"?T="n":typeof S=="boolean"?T="b":typeof S=="string"?T="s":S instanceof Date?(T="d",n.cellDates||(T="n",S=rA(S)),Q=n.dateNF||kr[14]):S===null&&n.nullError&&(T="e",S=0),c?(c.t=T,c.v=S,delete c.w,delete c.R,Q&&(c.z=Q)):a[W]=c={t:T,v:S},Q&&(c.z=Q))})}),u.e.c=Math.max(u.e.c,s+h.length-1);var y=xn(i);if(A)for(d=0;d<h.length;++d)a[In(d+s)+y]={t:"s",v:h[d]};return a["!ref"]=Wr(u),a}function kD(t,e){return JB(null,t,e)}function sc(t,e,r){if(typeof e=="string"){if(Array.isArray(t)){var n=un(e);return t[n.r]||(t[n.r]=[]),t[n.r][n.c]||(t[n.r][n.c]={t:"z"})}return t[e]||(t[e]={t:"z"})}return typeof e!="number"?sc(t,rr(e)):sc(t,rr({r:e,c:r||0}))}function TD(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 ND(){return{SheetNames:[],Sheets:{}}}function LD(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(MB(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 UD(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=TD(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 ID(t,e){return t.z=e,t}function ZB(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}function QD(t,e,r){return ZB(t,"#"+e,r)}function DD(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})}function OD(t,e,r,n){for(var A=typeof e!="string"?e:wr(e),a=typeof e=="string"?e:Wr(e),i=A.s.r;i<=A.e.r;++i)for(var s=A.s.c;s<=A.e.c;++s){var l=sc(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 Hr={encode_col:In,encode_row:xn,encode_cell:rr,encode_range:Wr,decode_col:d1,decode_row:f1,split_cell:ZN,decode_cell:un,decode_range:mA,format_cell:Ga,sheet_add_aoa:Dw,sheet_add_json:JB,sheet_add_dom:$B,aoa_to_sheet:ws,json_to_sheet:kD,table_to_sheet:KB,table_to_book:sD,sheet_to_csv:L1,sheet_to_txt:YB,sheet_to_json:Kh,sheet_to_html:zB,sheet_to_formulae:_D,sheet_to_row_object_array:Kh,sheet_get_cell:sc,book_new:ND,book_append_sheet:LD,book_set_sheet_visibility:UD,cell_set_number_format:ID,cell_set_hyperlink:ZB,cell_set_internal_link:QD,cell_add_comment:DD,sheet_set_array_formula:OD,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function Gh(t,e,r,n,A){let{series:a}=t;if(!a||t.base===0)return{...a,proportion:0,ratio:0,path:"",startX:0,startY:0,endX:0,center:{}};const i=[...a].map(c=>c.value).reduce((c,u)=>c+u,0),s=[];let l=0;for(let c=0;c<a.length;c+=1){let u=a[c].value/i;const p=u*(Math.PI*1.9999),d=a[c].value/2/i*(Math.PI*2),{startX:y,startY:g,endX:m,endY:w,path:S}=tx([e,r],[n,A],[l,p],110);s.push({cx:e,cy:r,...a[c],proportion:u,ratio:p,path:S,startX:y,startY:g,endX:m,endY:w,center:tx([e,r],[n*1.45,A*1.45],[l,d],110)}),l+=p}return s}function jh([t,e],[r,n]){return[t+r,e+n]}function Wh([[t,e],[r,n]],[A,a]){return[t*A+e*a,r*A+n*a]}function ex(t){return[[Math.cos(t),-Math.sin(t)],[Math.sin(t),Math.cos(t)]]}function tx([t,e],[r,n],[A,a],i){a=a%(2*Math.PI);const s=ex(i),[l,c]=jh(Wh(s,[r*Math.cos(A),n*Math.sin(A)]),[t,e]),[u,p]=jh(Wh(s,[r*Math.cos(A+a),n*Math.sin(A+a)]),[t,e]),h=a>Math.PI?1:0,d=a>0?1:0;return{startX:l,startY:c,endX:u,endY:p,path:`M${l} ${c} A ${[r,n,i/(2*Math.PI)*360,h,d,u,p].join(" ")}`}}function Wa({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)?RD(A)&&(r[n]=A):Array.isArray(r[n])?PD({userConfig:e,key:n})&&(r[n]=A):MD({userConfig:e,key:n})&&(r[n]=Wa({defaultConfig:r[n],userConfig:A}))}}),r}function PD({userConfig:t,key:e}){return Object.hasOwn(t,e)&&Array.isArray(t[e])&&t[e].length}function MD({userConfig:t,key:e}){return Object.hasOwn(t,e)&&!Array.isArray(t[e])&&typeof t[e]=="object"}function RD(t){return![null,void 0,NaN,1/0,-1/0].includes(t)}function HD(t){return![void 0,NaN,1/0,-1/0].includes(t)}function VD(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"],Br=["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 Dn(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,r=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*[\d.]+)?\)$/i,n=/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*[\d.]+)?\)$/i;if([void 0,null,NaN].includes(t))return null;if(t==="transparent")return"#FFFFFF00";let A;if(A=t.match(e)){const[,a,i,s]=A;return`#${a}${i}${s}`}else if(A=t.match(r)){const[,a,i,s]=A;return`#${Ts(a)}${Ts(i)}${Ts(s)}`}else if(A=t.match(n)){const[,a,i,s]=A,l=zD(Number(a),Number(i),Number(s));return`#${Ts(l[0])}${Ts(l[1])}${Ts(l[2])}`}return null}function Ts(t){const e=Number(t).toString(16);return e.length===1?"0"+e:e}function zD(t,e,r){t/=360,e/=100,r/=100;let n,A,a;if(e===0)n=A=a=r;else{const i=(c,u,p)=>(p<0&&(p+=1),p>1&&(p-=1),p<.16666666666666666?c+(u-c)*6*p:p<.5?u:p<.6666666666666666?c+(u-c)*(.6666666666666666-p)*6:c),s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;n=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 Ns(t,e){const r=c=>({r:parseInt(c.substring(1,3),16),g:parseInt(c.substring(3,5),16),b:parseInt(c.substring(5,7),16)}),n=({r:c,g:u,b:p})=>{c/=255,u/=255,p/=255;const h=Math.max(c,u,p),d=Math.min(c,u,p);let y,g,m=(h+d)/2;if(h===d)y=g=0;else{const w=h-d;switch(g=m>.5?w/(2-h-d):w/(h+d),h){case c:y=(u-p)/w+(u<p?6:0);break;case u:y=(p-c)/w+2;break;case p:y=(c-u)/w+4;break}y/=6}return{h:y,s:g,l:m}},A=({h:c,s:u,l:p})=>{let h,d,y;if(u===0)h=d=y=p;else{const g=(S,T,Q)=>(Q<0&&(Q+=1),Q>1&&(Q-=1),Q<.16666666666666666?S+(T-S)*6*Q:Q<.5?T:Q<.6666666666666666?S+(T-S)*(.6666666666666666-Q)*6:S),m=p<.5?p*(1+u):p+u-p*u,w=2*p-m;h=g(w,m,c+.3333333333333333),d=g(w,m,c),y=g(w,m,c-.3333333333333333)}return{r:Math.round(h*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 c=0;c<r*2;c+=1){let u=t+Math.cos(c*a+i)*n,p=e+Math.sin(c*a+i)*n;s+=`${u},${p} `,l.push({x:u,y:p})}return{path:`M${s}Z`,coordinates:l}}function Fo({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 KD({centerX:t,centerY:e,innerCirclePoints:r,innerRadius:n,outerRadius:A}){const a=Math.PI/r,i=60,s=r*2;let l="";for(let c=0;c<s;c+=1){let p=c%2==0?A:n,h=t+Math.cos(c*a+i)*p,d=e+Math.sin(c*a+i)*p;l+=`${h},${d} `}return l}function GD({plot:t,radius:e}){const r=t.x,n=t.y,A=5,a=e*3.5/A,s=a*2;return KD({centerX:r,centerY:n,innerCirclePoints:A,innerRadius:a,outerRadius:s})}function jD({series:t}){t=t.sort((c,u)=>c.x-u.x);function e(c,u,p){const h=(c.x-u.x)*(p.x-u.x)+(c.y-u.y)*(p.y-u.y),d=(c.x-u.x)*(p.y-u.y)-(p.x-u.x)*(c.y-u.y);return Math.atan2(d,h)}const r=[];let n;n=t[0];for(const c of t)c.x<n.x&&(n=c);r[0]=n;let A,a,i,s;A=r[0],a={x:A.x,y:A.y+1};do{i=Math.PI;for(const c of t)n=e(a,A,c),n<=i&&(s=c,i=n);s!==r[0]&&(r.push(s),a=A,A=s)}while(s!==r[0]);let l;return r.forEach(c=>{c&&c.x&&c.y&&(l+=`${Math.round(c.x)},${Math.round(c.y)} `)}),l=l.replaceAll("undefined",""),l}function rx(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"}function Xa(t){for(const e in t)typeof t[e]=="object"&&!Array.isArray(t[e])&&t[e]!==null?Xa(t[e]):(e==="color"||e==="backgroundColor"||e==="stroke")&&(t[e]===""?t[e]="#000000":t[e]==="transparent"?t[e]="#FFFFFF00":t[e]=Dn(t[e]));return t}const Vne="",Di=(t,e)=>{const r=t.__vccOpts||t;for(const[n,A]of e)r[n]=A;return r},WD={name:"vue-ui-xy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},data(){const t=`vue-data-ui-xy_${Math.random()}_${Math.random()}`,e=Math.max(...this.dataset.map(n=>n.series.length));return{opacity:Br,useSafeValues:!0,palette:Ht,defaultConfig:{showWarnings:!0,showTable:!0,chart:{fontFamily:"inherit",backgroundColor:"#FFFFFF",color:"#2D353C",height:300,width:500,zoom:{show:!0,color:"#2D353C"},padding:{top:36,right:12,bottom:12,left:48},highlighter:{color:"#2D353C",opacity:5},grid:{stroke:"#e1e5e8",showVerticalLines:!1,labels:{color:"#2D353C",show:!0,fontSize:10,axis:{yLabel:"",xLabel:"",fontSize:12},xAxisLabels:{color:"#2D353C",show:!0,values:[],fontSize:6,showOnlyFirstAndLast:!1}}},labels:{fontSize:10},legend:{color:"#2D353C",show:!0,useDiv:!0,fontSize:16},title:{show:!0,useDiv:!0,color:"#2D353C",text:"",fontSize:20,bold:!0,offsetX:0,offsetY:0,subtitle:{fontSize:16,color:"grey",text:""}},tooltip:{color:"#2D353C",backgroundColor:"white",show:!0,showValue:!0,showPercentage:!1,roundingValue:0,roundingPercentage:0},userOptions:{show:!0,title:"options",labels:{dataLabels:"Show datalabels",titleInside:"Title inside",legendInside:"Legend inside",showTable:"Show table"}}},bar:{useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},line:{radius:3,useGradient:!0,strokeWidth:2,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},plot:{radius:3,useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},table:{rounding:0,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8"}}},clientPosition:{x:0,y:0},icons:{line:"▬",bar:"◼",plot:"●"},isPrinting:!1,isTooltip:!1,mutableConfig:{dataLabels:{show:!0},titleInside:!0,legendInside:!0,showTable:!1},selectedSerieIndex:null,selectedRowIndex:null,segregatedSeries:[],uniqueId:t,slicer:{start:0,end:e},maxX:e}},computed:{chartConfig(){if(!Object.keys(this.config||{}).length)return this.defaultConfig;const t=this.treeShake({defaultConfig:this.defaultConfig,userConfig:this.config});return this.convertConfigColors(t)},relativeZero(){return this.min>=0?0:Math.abs(this.min)},absoluteMax(){return this.max+this.relativeZero},safeDataset(){return this.useSafeValues?this.dataset.map((t,e)=>({...t,series:t.series.map(r=>this.isSafeValue(r)?r:null).slice(this.slicer.start,this.slicer.end),id:`uniqueId_${e}`})):this.dataset},relativeDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])})).filter(t=>!this.segregatedSeries.includes(t.id))},absoluteDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])}))},barSet(){return this.absoluteDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).map((t,e)=>({...t,plots:t.series.map((r,n)=>({x:this.drawingArea.left-this.slot.bar/2+this.slot.bar*e+this.slot.bar*n*this.absoluteDataset.filter(A=>A.type==="bar").filter(A=>!this.segregatedSeries.includes(A.id)).length,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(r),value:t.absoluteValues[n]}))}))},lineSet(){return this.absoluteDataset.filter(t=>t.type==="line").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.line/2+this.slot.line*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},plotSet(){return this.absoluteDataset.filter(t=>t.type==="plot").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.plot/2+this.slot.plot*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},drawingArea(){return{top:this.chartConfig.chart.padding.top,right:this.chartConfig.chart.width-this.chartConfig.chart.padding.right,bottom:this.chartConfig.chart.height-this.chartConfig.chart.padding.bottom,left:this.chartConfig.chart.padding.left,height:this.chartConfig.chart.height-(this.chartConfig.chart.padding.top+this.chartConfig.chart.padding.bottom),width:this.chartConfig.chart.width-(this.chartConfig.chart.padding.right+this.chartConfig.chart.padding.left)}},max(){return Math.max(...this.safeDataset.filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>Math.max(...t.series)))},min(){const t=Math.min(...this.safeDataset.filter(e=>!this.segregatedSeries.includes(e.id)).map(e=>Math.min(...e.series)));return t>0?0:t},maxSeries(){return this.slicer.end-this.slicer.start},timeLabels(){return this.chartConfig.chart.grid.labels.xAxisLabels.values.slice(this.slicer.start,this.slicer.end)},slot(){return{bar:this.drawingArea.width/this.maxSeries/this.safeDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).length,plot:this.drawingArea.width/this.maxSeries,line:this.drawingArea.width/this.maxSeries}},maxSlot(){return Math.max(...Object.values(this.slot).filter(t=>t!==1/0))},table(){if(this.safeDataset.length===0)return{head:[],body:[]};const t=[...this.plotSet,...this.barSet,...this.lineSet].map(r=>({label:r.name,color:r.color,type:r.type})),e=[];return this.timeLabels.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.timeLabels[this.selectedSerieIndex];return n&&(e+=`<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid #e1e5e8; width:100%">${n}</div>`),t.forEach(A=>{this.isSafeValue(A.value)&&A.value!==null&&(e+=`<div><span style="color:${A.color}; margin-right: 3px">${this.icons[A.type]}</span>${A.name} : <b>${this.chartConfig.chart.tooltip.showValue?A.value.toFixed(this.chartConfig.chart.tooltip.roundingValue):""}</b> ${this.chartConfig.chart.tooltip.showPercentage?`(${this.checkNaN(Math.abs(A.value)/r*100).toFixed(this.chartConfig.chart.tooltip.roundingPercentage)}%)`:""}</div>`)}),`<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums; background:${this.chartConfig.chart.tooltip.backgroundColor};color:${this.chartConfig.chart.tooltip.color}">${e}</div>`},tooltipPosition(){const t=this.$refs.tooltip,e=this.$refs.chart;let r=0,n=48;if(t&&e){const{width:A,height:a}=t.getBoundingClientRect(),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=L1(t,e);return r}function _D(t){var e="",r,n="";if(t==null||t["!ref"]==null)return[];var A=wr(t["!ref"]),a="",i=[],s,l=[],c=Array.isArray(t);for(s=A.s.c;s<=A.e.c;++s)i[s]=In(s);for(var u=A.s.r;u<=A.e.r;++u)for(a=xn(u),s=A.s.c;s<=A.e.c;++s)if(e=i[s]+a,r=c?(t[u]||[])[s]:t[e],n="",r!==void 0){if(r.F!=null){if(e=r.F,!r.f)continue;n=r.f,e.indexOf(":")==-1&&(e=e+":"+e)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}l[l.length]=e+"="+n}return l}function JB(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"?un(n.origin):n.origin;i=l.r,s=l.c}var c,u={s:{c:0,r:0},e:{c:s,r:i+e.length-1+A}};if(a["!ref"]){var p=wr(a["!ref"]);u.e.c=Math.max(u.e.c,p.e.c),u.e.r=Math.max(u.e.r,p.e.r),i==-1&&(i=p.e.r+1,u.e.r=i+e.length-1+A)}else i==-1&&(i=0,u.e.r=e.length-1+A);var h=n.header||[],d=0;e.forEach(function(g,m){wn(g).forEach(function(w){(d=h.indexOf(w))==-1&&(h[d=h.length]=w);var S=g[w],T="z",Q="",W=rr({c:s+d,r:i+m+A});c=sc(a,W),S&&typeof S=="object"&&!(S instanceof Date)?a[W]=S:(typeof S=="number"?T="n":typeof S=="boolean"?T="b":typeof S=="string"?T="s":S instanceof Date?(T="d",n.cellDates||(T="n",S=rA(S)),Q=n.dateNF||kr[14]):S===null&&n.nullError&&(T="e",S=0),c?(c.t=T,c.v=S,delete c.w,delete c.R,Q&&(c.z=Q)):a[W]=c={t:T,v:S},Q&&(c.z=Q))})}),u.e.c=Math.max(u.e.c,s+h.length-1);var y=xn(i);if(A)for(d=0;d<h.length;++d)a[In(d+s)+y]={t:"s",v:h[d]};return a["!ref"]=Wr(u),a}function kD(t,e){return JB(null,t,e)}function sc(t,e,r){if(typeof e=="string"){if(Array.isArray(t)){var n=un(e);return t[n.r]||(t[n.r]=[]),t[n.r][n.c]||(t[n.r][n.c]={t:"z"})}return t[e]||(t[e]={t:"z"})}return typeof e!="number"?sc(t,rr(e)):sc(t,rr({r:e,c:r||0}))}function TD(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 ND(){return{SheetNames:[],Sheets:{}}}function LD(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(MB(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 UD(t,e,r){t.Workbook||(t.Workbook={}),t.Workbook.Sheets||(t.Workbook.Sheets=[]);var n=TD(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 ID(t,e){return t.z=e,t}function ZB(t,e,r){return e?(t.l={Target:e},r&&(t.l.Tooltip=r)):delete t.l,t}function QD(t,e,r){return ZB(t,"#"+e,r)}function DD(t,e,r){t.c||(t.c=[]),t.c.push({t:e,a:r||"SheetJS"})}function OD(t,e,r,n){for(var A=typeof e!="string"?e:wr(e),a=typeof e=="string"?e:Wr(e),i=A.s.r;i<=A.e.r;++i)for(var s=A.s.c;s<=A.e.c;++s){var l=sc(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 Hr={encode_col:In,encode_row:xn,encode_cell:rr,encode_range:Wr,decode_col:d1,decode_row:f1,split_cell:ZN,decode_cell:un,decode_range:mA,format_cell:Ga,sheet_add_aoa:Dw,sheet_add_json:JB,sheet_add_dom:$B,aoa_to_sheet:ws,json_to_sheet:kD,table_to_sheet:KB,table_to_book:sD,sheet_to_csv:L1,sheet_to_txt:YB,sheet_to_json:Kh,sheet_to_html:zB,sheet_to_formulae:_D,sheet_to_row_object_array:Kh,sheet_get_cell:sc,book_new:ND,book_append_sheet:LD,book_set_sheet_visibility:UD,cell_set_number_format:ID,cell_set_hyperlink:ZB,cell_set_internal_link:QD,cell_add_comment:DD,sheet_set_array_formula:OD,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function Gh(t,e,r,n,A){let{series:a}=t;if(!a||t.base===0)return{...a,proportion:0,ratio:0,path:"",startX:0,startY:0,endX:0,center:{}};const i=[...a].map(c=>c.value).reduce((c,u)=>c+u,0),s=[];let l=0;for(let c=0;c<a.length;c+=1){let u=a[c].value/i;const p=u*(Math.PI*1.9999),d=a[c].value/2/i*(Math.PI*2),{startX:y,startY:g,endX:m,endY:w,path:S}=tx([e,r],[n,A],[l,p],110);s.push({cx:e,cy:r,...a[c],proportion:u,ratio:p,path:S,startX:y,startY:g,endX:m,endY:w,center:tx([e,r],[n*1.45,A*1.45],[l,d],110)}),l+=p}return s}function jh([t,e],[r,n]){return[t+r,e+n]}function Wh([[t,e],[r,n]],[A,a]){return[t*A+e*a,r*A+n*a]}function ex(t){return[[Math.cos(t),-Math.sin(t)],[Math.sin(t),Math.cos(t)]]}function tx([t,e],[r,n],[A,a],i){a=a%(2*Math.PI);const s=ex(i),[l,c]=jh(Wh(s,[r*Math.cos(A),n*Math.sin(A)]),[t,e]),[u,p]=jh(Wh(s,[r*Math.cos(A+a),n*Math.sin(A+a)]),[t,e]),h=a>Math.PI?1:0,d=a>0?1:0;return{startX:l,startY:c,endX:u,endY:p,path:`M${l} ${c} A ${[r,n,i/(2*Math.PI)*360,h,d,u,p].join(" ")}`}}function Wa({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)?RD(A)&&(r[n]=A):Array.isArray(r[n])?PD({userConfig:e,key:n})&&(r[n]=A):MD({userConfig:e,key:n})&&(r[n]=Wa({defaultConfig:r[n],userConfig:A}))}}),r}function PD({userConfig:t,key:e}){return Object.hasOwn(t,e)&&Array.isArray(t[e])&&t[e].length}function MD({userConfig:t,key:e}){return Object.hasOwn(t,e)&&!Array.isArray(t[e])&&typeof t[e]=="object"}function RD(t){return![null,void 0,NaN,1/0,-1/0].includes(t)}function HD(t){return![void 0,NaN,1/0,-1/0].includes(t)}function VD(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"],Br=["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 Dn(t){const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,r=/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*[\d.]+)?\)$/i,n=/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%(?:,\s*[\d.]+)?\)$/i;if([void 0,null,NaN].includes(t))return null;if(t==="transparent")return"#FFFFFF00";let A;if(A=t.match(e)){const[,a,i,s]=A;return`#${a}${i}${s}`}else if(A=t.match(r)){const[,a,i,s]=A;return`#${Ts(a)}${Ts(i)}${Ts(s)}`}else if(A=t.match(n)){const[,a,i,s]=A,l=zD(Number(a),Number(i),Number(s));return`#${Ts(l[0])}${Ts(l[1])}${Ts(l[2])}`}return null}function Ts(t){const e=Number(t).toString(16);return e.length===1?"0"+e:e}function zD(t,e,r){t/=360,e/=100,r/=100;let n,A,a;if(e===0)n=A=a=r;else{const i=(c,u,p)=>(p<0&&(p+=1),p>1&&(p-=1),p<.16666666666666666?c+(u-c)*6*p:p<.5?u:p<.6666666666666666?c+(u-c)*(.6666666666666666-p)*6:c),s=r<.5?r*(1+e):r+e-r*e,l=2*r-s;n=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 Ns(t,e){const r=c=>({r:parseInt(c.substring(1,3),16),g:parseInt(c.substring(3,5),16),b:parseInt(c.substring(5,7),16)}),n=({r:c,g:u,b:p})=>{c/=255,u/=255,p/=255;const h=Math.max(c,u,p),d=Math.min(c,u,p);let y,g,m=(h+d)/2;if(h===d)y=g=0;else{const w=h-d;switch(g=m>.5?w/(2-h-d):w/(h+d),h){case c:y=(u-p)/w+(u<p?6:0);break;case u:y=(p-c)/w+2;break;case p:y=(c-u)/w+4;break}y/=6}return{h:y,s:g,l:m}},A=({h:c,s:u,l:p})=>{let h,d,y;if(u===0)h=d=y=p;else{const g=(S,T,Q)=>(Q<0&&(Q+=1),Q>1&&(Q-=1),Q<.16666666666666666?S+(T-S)*6*Q:Q<.5?T:Q<.6666666666666666?S+(T-S)*(.6666666666666666-Q)*6:S),m=p<.5?p*(1+u):p+u-p*u,w=2*p-m;h=g(w,m,c+.3333333333333333),d=g(w,m,c),y=g(w,m,c-.3333333333333333)}return{r:Math.round(h*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 c=0;c<r*2;c+=1){let u=t+Math.cos(c*a+i)*n,p=e+Math.sin(c*a+i)*n;s+=`${u},${p} `,l.push({x:u,y:p})}return{path:`M${s}Z`,coordinates:l}}function Fo({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 KD({centerX:t,centerY:e,innerCirclePoints:r,innerRadius:n,outerRadius:A}){const a=Math.PI/r,i=60,s=r*2;let l="";for(let c=0;c<s;c+=1){let p=c%2==0?A:n,h=t+Math.cos(c*a+i)*p,d=e+Math.sin(c*a+i)*p;l+=`${h},${d} `}return l}function GD({plot:t,radius:e}){const r=t.x,n=t.y,A=5,a=e*3.5/A,s=a*2;return KD({centerX:r,centerY:n,innerCirclePoints:A,innerRadius:a,outerRadius:s})}function jD({series:t}){t=t.sort((c,u)=>c.x-u.x);function e(c,u,p){const h=(c.x-u.x)*(p.x-u.x)+(c.y-u.y)*(p.y-u.y),d=(c.x-u.x)*(p.y-u.y)-(p.x-u.x)*(c.y-u.y);return Math.atan2(d,h)}const r=[];let n;n=t[0];for(const c of t)c.x<n.x&&(n=c);r[0]=n;let A,a,i,s;A=r[0],a={x:A.x,y:A.y+1};do{i=Math.PI;for(const c of t)n=e(a,A,c),n<=i&&(s=c,i=n);s!==r[0]&&(r.push(s),a=A,A=s)}while(s!==r[0]);let l;return r.forEach(c=>{c&&c.x&&c.y&&(l+=`${Math.round(c.x)},${Math.round(c.y)} `)}),l=l.replaceAll("undefined",""),l}function rx(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"}function Xa(t){for(const e in t)typeof t[e]=="object"&&!Array.isArray(t[e])&&t[e]!==null?Xa(t[e]):(e==="color"||e==="backgroundColor"||e==="stroke")&&(t[e]===""?t[e]="#000000":t[e]==="transparent"?t[e]="#FFFFFF00":t[e]=Dn(t[e]));return t}const Vne="",Di=(t,e)=>{const r=t.__vccOpts||t;for(const[n,A]of e)r[n]=A;return r},WD={name:"vue-ui-xy",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},data(){const t=`vue-data-ui-xy_${Math.random()}_${Math.random()}`,e=Math.max(...this.dataset.map(n=>n.series.length));return{opacity:Br,useSafeValues:!0,palette:Ht,defaultConfig:{showWarnings:!0,showTable:!0,chart:{fontFamily:"inherit",backgroundColor:"#FFFFFF",color:"#2D353C",height:300,width:500,zoom:{show:!0,color:"#2D353C"},padding:{top:36,right:12,bottom:12,left:48},highlighter:{color:"#2D353C",opacity:5},grid:{stroke:"#e1e5e8",showVerticalLines:!1,labels:{color:"#2D353C",show:!0,fontSize:10,axis:{yLabel:"",xLabel:"",fontSize:12},xAxisLabels:{color:"#2D353C",show:!0,values:[],fontSize:6,showOnlyFirstAndLast:!1}}},labels:{fontSize:10},legend:{color:"#2D353C",show:!0,useDiv:!0,fontSize:16},title:{show:!0,useDiv:!0,color:"#2D353C",text:"",fontSize:20,bold:!0,offsetX:0,offsetY:0,subtitle:{fontSize:16,color:"grey",text:""}},tooltip:{color:"#2D353C",backgroundColor:"white",show:!0,showValue:!0,showPercentage:!1,roundingValue:0,roundingPercentage:0},userOptions:{show:!0,title:"options",labels:{dataLabels:"Show datalabels",titleInside:"Title inside",legendInside:"Legend inside",showTable:"Show table"}}},bar:{useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},line:{radius:3,useGradient:!0,strokeWidth:2,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},plot:{radius:3,useGradient:!0,labels:{show:!1,offsetY:-6,rounding:0,color:"#2D353C"}},table:{rounding:0,th:{backgroundColor:"#FAFAFA",color:"#2D353C",outline:"1px solid #e1e5e8"},td:{backgroundColor:"#FFFFFF",color:"#2D353C",outline:"1px solid #e1e5e8"}}},clientPosition:{x:0,y:0},icons:{line:"▬",bar:"◼",plot:"●"},isPrinting:!1,isTooltip:!1,mutableConfig:{dataLabels:{show:!0},titleInside:!0,legendInside:!0,showTable:!1},selectedSerieIndex:null,selectedRowIndex:null,segregatedSeries:[],uniqueId:t,slicer:{start:0,end:e},maxX:e}},computed:{chartConfig(){if(!Object.keys(this.config||{}).length)return this.defaultConfig;const t=this.treeShake({defaultConfig:this.defaultConfig,userConfig:this.config});return this.convertConfigColors(t)},relativeZero(){return this.min>=0?0:Math.abs(this.min)},absoluteMax(){return this.max+this.relativeZero},safeDataset(){return this.useSafeValues?this.dataset.map((t,e)=>({...t,series:t.series.map(r=>this.isSafeValue(r)?r:null).slice(this.slicer.start,this.slicer.end),id:`uniqueId_${e}`})):this.dataset},relativeDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])})).filter(t=>!this.segregatedSeries.includes(t.id))},absoluteDataset(){return this.safeDataset.map((t,e)=>({...t,series:t.series.map(r=>r+this.relativeZero),absoluteValues:t.series,color:this.convertColorToHex(t.color?t.color:this.palette[e])}))},barSet(){return this.absoluteDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).map((t,e)=>({...t,plots:t.series.map((r,n)=>({x:this.drawingArea.left-this.slot.bar/2+this.slot.bar*e+this.slot.bar*n*this.absoluteDataset.filter(A=>A.type==="bar").filter(A=>!this.segregatedSeries.includes(A.id)).length,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(r),value:t.absoluteValues[n]}))}))},lineSet(){return this.absoluteDataset.filter(t=>t.type==="line").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.line/2+this.slot.line*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},plotSet(){return this.absoluteDataset.filter(t=>t.type==="plot").filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>({...t,plots:t.series.map((e,r)=>({x:this.drawingArea.left+this.slot.plot/2+this.slot.plot*r,y:this.drawingArea.bottom-this.drawingArea.height*this.ratioToMax(e),value:t.absoluteValues[r]}))}))},drawingArea(){return{top:this.chartConfig.chart.padding.top,right:this.chartConfig.chart.width-this.chartConfig.chart.padding.right,bottom:this.chartConfig.chart.height-this.chartConfig.chart.padding.bottom,left:this.chartConfig.chart.padding.left,height:this.chartConfig.chart.height-(this.chartConfig.chart.padding.top+this.chartConfig.chart.padding.bottom),width:this.chartConfig.chart.width-(this.chartConfig.chart.padding.right+this.chartConfig.chart.padding.left)}},max(){return Math.max(...this.safeDataset.filter(t=>!this.segregatedSeries.includes(t.id)).map(t=>Math.max(...t.series)))},min(){const t=Math.min(...this.safeDataset.filter(e=>!this.segregatedSeries.includes(e.id)).map(e=>Math.min(...e.series)));return t>0?0:t},maxSeries(){return this.slicer.end-this.slicer.start},timeLabels(){return this.chartConfig.chart.grid.labels.xAxisLabels.values.slice(this.slicer.start,this.slicer.end)},slot(){return{bar:this.drawingArea.width/this.maxSeries/this.safeDataset.filter(t=>t.type==="bar").filter(t=>!this.segregatedSeries.includes(t.id)).length,plot:this.drawingArea.width/this.maxSeries,line:this.drawingArea.width/this.maxSeries}},maxSlot(){return Math.max(...Object.values(this.slot).filter(t=>t!==1/0))},table(){if(this.safeDataset.length===0)return{head:[],body:[]};const t=this.relativeDataset.map(r=>({label:r.name,color:r.color,type:r.type})),e=[];return this.timeLabels.forEach((r,n)=>{const A=[r];this.relativeDataset.forEach(a=>{A.push(this.canShowValue(a.absoluteValues[n])?Number(a.absoluteValues[n].toFixed(this.chartConfig.table.rounding)):"")}),e.push(A)}),{head:t,body:e}},tooltipContent(){const t=this.relativeDataset.map(A=>({name:A.name,color:A.color,type:A.type,value:A.absoluteValues.find((a,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.timeLabels[this.selectedSerieIndex];return n&&(e+=`<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid #e1e5e8; width:100%">${n}</div>`),t.forEach(A=>{this.isSafeValue(A.value)&&A.value!==null&&(e+=`<div><span style="color:${A.color}; margin-right: 3px">${this.icons[A.type]}</span>${A.name} : <b>${this.chartConfig.chart.tooltip.showValue?A.value.toFixed(this.chartConfig.chart.tooltip.roundingValue):""}</b> ${this.chartConfig.chart.tooltip.showPercentage?`(${this.checkNaN(Math.abs(A.value)/r*100).toFixed(this.chartConfig.chart.tooltip.roundingPercentage)}%)`:""}</div>`)}),`<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums; background:${this.chartConfig.chart.tooltip.backgroundColor};color:${this.chartConfig.chart.tooltip.color}">${e}</div>`},tooltipPosition(){const t=this.$refs.tooltip,e=this.$refs.chart;let r=0,n=48;if(t&&e){const{width:A,height:a}=t.getBoundingClientRect(),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:VD,isSafeValue:HD,treeShake:Wa,shiftHue:Ns,pdf:fo,convertColorToHex:Dn,convertConfigColors:Xa,calcRectHeight(t){return t.value>=0?this.zero-t.y:t.y-this.zero},calcRectWidth(){return this.slot.bar*.9},calcRectX(t){return t.x+this.slot.bar*.05+this.slot.bar/2},calcRectY(t){return t.value>=0?t.y:this.zero},canShowValue(t){return![null,void 0,NaN].includes(t)},closeDetails(){const t=this.$refs.details;t&&t.removeAttribute("open")},closestDecimal(t){if(t===0)return 0;const r=10**Math.floor(Math.log10(Math.abs(t)));let n;return t<0,n=Math.round(t/r)*r,n},ratioToMax(t){return t/this.absoluteMax},selectX(t){this.$emit("selectX",{dataset:this.relativeDataset.map(e=>({name:e.name,value:[null,void 0,NaN].includes(e.absoluteValues[t])?null:e.absoluteValues[t],color:e.color,type:e.type})),index:t,indexLabel:this.chartConfig.chart.grid.labels.xAxisLabels.values[t]})},getData(){return this.absoluteDataset.map(t=>({values:t.absoluteValues,color:t.color,name:t.name,type:t.type}))},segregate(t){if(this.segregatedSeries.includes(t.id))this.segregatedSeries=this.segregatedSeries.filter(e=>e!==t.id);else{if(this.segregatedSeries.length+1===this.safeDataset.length)return;this.segregatedSeries.push(t.id)}this.$emit("selectLegend",this.relativeDataset.map(e=>({name:e.name,values:e.absoluteValues,color:e.color,type:e.type})))},toggleTooltip(t,e=null){this.isTooltip=t,t?this.selectedSerieIndex=e:this.selectedSerieIndex=null},generatePdf(){this.isPrinting=!0,this.pdf({domElement:document.getElementById(`vue-ui-xy_${this.uniqueId}`),fileName:this.chartConfig.chart.title.text||"vue-ui-xy"}).finally(()=>{this.isPrinting=!1})},generateXls(){const t=[[this.chartConfig.chart.title.text],[this.chartConfig.chart.title.subtitle.text],[""]],e=["",...this.table.head.map(u=>u.label)],r=this.table.body,n=t.concat([e]).concat(r);function A(u){let p=new ArrayBuffer(u.length),h=new Uint8Array(p);for(let d=0;d<u.length;d++)h[d]=u.charCodeAt(d)&255;return p}const a=Hr.book_new(),i=Hr.aoa_to_sheet(n);Hr.book_append_sheet(a,i,"Sheet1");const s=Qi(a,{bookType:"xlsx",type:"binary"}),l=new Blob([A(s)],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),c=document.createElement("a");c.href=window.URL.createObjectURL(l),c.download=`${this.chartConfig.chart.title.text.replaceAll(" ","_")||"vue-ui-xy"}.xlsx`,c.click(),window.URL.revokeObjectURL(c.href)}}},XD=t=>(o.pushScopeId("data-v-cd4a8df7"),t=t(),o.popScopeId(),t),qD=["id"],YD={class:"vue-ui-xy-user-option-item"},JD=["id","name"],ZD=["for"],eO={class:"vue-ui-xy-user-option-item"},tO=["id","name"],rO=["for"],nO={class:"vue-ui-xy-user-option-item"},AO=["id","name"],aO=["for"],iO={class:"vue-ui-xy-user-option-item"},oO=["id","name"],sO=["for"],lO=["disabled"],cO=["stroke"],uO=[o.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-cd4a8df7></path><path d="M18 16v.01" data-v-cd4a8df7></path><path d="M6 16v.01" data-v-cd4a8df7></path><path d="M12 5v.01" data-v-cd4a8df7></path><path d="M12 12v.01" data-v-cd4a8df7></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-cd4a8df7></path>',6)],hO={key:1},fO=["viewBox"],dO={class:"vue-ui-xy-grid"},gO=["stroke","x1","x2","y1","y2"],pO=["stroke","x1","x2","y1","y2"],mO={key:0},vO=["x1","x2","y1","y2","stroke"],yO=["id"],wO=["stop-color"],BO=["stop-color"],xO=["stop-color"],bO=["id"],CO=["stop-color"],EO=["stop-color"],FO=["stop-color"],SO=["id"],_O=["stop-color"],kO=["stop-color"],TO=["id"],NO=["stop-color"],LO=["stop-color"],UO=["x","y","height","width","fill"],IO=["cx","cy","r","fill","stroke"],QO=["x1","x2","y1","y2","stroke","stroke-width"],DO=["cx","cy","r","fill","stroke"],OO={key:0},PO=["x","y","font-size","fill"],MO={key:1},RO=["x","y","font-size","fill"],HO={key:2},VO=["x","y","font-size","fill"],zO={key:3},$O=["x1","x2","y1","y2","stroke"],KO=["x","y","font-size","fill"],GO=["font-size","fill"],jO=["x","y","font-size","fill"],WO={key:4},XO={x:"0",y:"0",width:"100%",height:"40px",style:{overflow:"visible"}},qO={key:5},YO=["y"],JO={class:"vue-ui-xy-legend"},ZO=["onClick"],e7={key:6},t7=["y","x","font-size","fill"],r7={key:7},n7=["x","y","height","width","fill","onMouseenter","onClick"],A7={key:2,class:"vue-ui-xy-range-slider","data-html2canvas-ignore":""},a7={class:"vue-ui-xy-slider--left"},i7=["for"],o7=["id","max"],s7={class:"vue-ui-xy-slider--right"},l7=["for"],c7=["id","min","max"],u7=["onClick"],h7=["innerHTML"],f7=["innerHTML"],d7={class:"vue-ui-xy-table"},g7={style:{"max-width":"200px",margin:"0 auto","text-align":"center"}},p7=[XD(()=>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))],m7=["onMouseover"];function v7(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",YD,[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,JD),[[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,ZD)]),o.createElementVNode("div",eO,[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,tO),[[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,rO)]),o.createElementVNode("div",nO,[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,AO),[[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",iO,[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,oO),[[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,sO)]),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"},uO,8,cO)):(o.openBlock(),o.createElementBlock("span",hO,"PDF"))],12,lO),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",dO,[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,gO),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,pO),a.chartConfig.chart.grid.showVerticalLines?(o.openBlock(),o.createElementBlock("g",mO,[(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,vO))),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,wO),o.createElementVNode("stop",{offset:"62%","stop-color":`${a.shiftHue(i.color,.02)}DE`},null,8,BO),o.createElementVNode("stop",{offset:"100%","stop-color":`${a.shiftHue(i.color,.05)}66`},null,8,xO)],8,yO),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,CO),o.createElementVNode("stop",{offset:"38%","stop-color":`${a.shiftHue(i.color,.02)}DE`},null,8,EO),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,FO)],8,bO)]))),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,_O),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,kO)],8,SO)]))),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,NO),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,LO)],8,TO)]))),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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`bar_plot_${s}_${c}`},[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,UO)):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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`circle_plot_${s}_${c}`},[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,IO)):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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`line_${s}_${c}`},[c<i.plots.length-1&&a.canShowValue(l.value)&&a.canShowValue(i.plots[c+1].value)?(o.openBlock(),o.createElementBlock("line",{key:0,x1:l.x,x2:i.plots[c+1].x,y1:l.y,y2:i.plots[c+1].y,stroke:i.color,"stroke-width":a.chartConfig.line.strokeWidth},null,8,QO)):o.createCommentVNode("",!0)]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,c)=>(o.openBlock(),o.createElementBlock("g",{key:`circle_line_${s}_${c}`},[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,DO)):o.createCommentVNode("",!0)]))),128))],2))),128)),a.chartConfig.bar.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",OO,[(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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_bar_${s}_${c}`},[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,PO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.plot.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",MO,[(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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_plot_${s}_${c}`},[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,RO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.line.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",HO,[(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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_line_${s}_${c}`},[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,VO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.chart.grid.labels.show?(o.openBlock(),o.createElementBlock("g",zO,[(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,KO)):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,GO)):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,jO)):o.createCommentVNode("",!0)]),a.chartConfig.chart.title.show&&A.mutableConfig.titleInside&&!A.isPrinting?(o.openBlock(),o.createElementBlock("g",WO,[(o.openBlock(),o.createElementBlock("foreignObject",XO,[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",qO,[(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",JO,[(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,ZO))),128))])],12,YO))])):o.createCommentVNode("",!0),a.chartConfig.chart.grid.labels.xAxisLabels.show?(o.openBlock(),o.createElementBlock("g",e7,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.timeLabels,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`time_label_${s}`},[i&&!a.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast||i&&a.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast&&(s===0||s===a.timeLabels.length-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(i||""),9,t7)):o.createCommentVNode("",!0)]))),128))])):o.createCommentVNode("",!0),a.chartConfig.chart.tooltip.show?(o.openBlock(),o.createElementBlock("g",r7,[(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?`${a.chartConfig.chart.highlighter.color}${A.opacity[a.chartConfig.chart.highlighter.opacity]}`:"transparent",onMouseenter:l=>a.toggleTooltip(!0,s),onMouseleave:e[6]||(e[6]=l=>a.toggleTooltip(!1)),onClick:l=>a.selectX(s)},null,40,n7)]))),128))])):o.createCommentVNode("",!0)],12,fO)),a.chartConfig.chart.zoom.show?(o.openBlock(),o.createElementBlock("div",A7,[o.createElementVNode("div",a7,[o.createElementVNode("label",{for:`start_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.grid.labels.xAxisLabels.values[A.slicer.start]),9,i7),o.withDirectives(o.createElementVNode("input",{id:`start_${A.uniqueId}`,type:"range",style:o.normalizeStyle(`accent-color:${a.chartConfig.chart.zoom.color}`),min:0,max:Math.floor(A.maxX/2),"onUpdate:modelValue":e[8]||(e[8]=i=>A.slicer.start=i)},null,12,o7),[[o.vModelText,A.slicer.start]])]),o.createElementVNode("div",s7,[o.createElementVNode("label",{for:`end_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.grid.labels.xAxisLabels.values[A.slicer.end-1]),9,l7),o.withDirectives(o.createElementVNode("input",{id:`end_${A.uniqueId}`,type:"range",style:o.normalizeStyle(`accent-color:${a.chartConfig.chart.zoom.color}`),min:Math.ceil(A.maxX/2),max:A.maxX,"onUpdate:modelValue":e[9]||(e[9]=i=>A.slicer.end=i)},null,12,c7),[[o.vModelText,A.slicer.end]])])])):o.createCommentVNode("",!0),a.chartConfig.chart.legend.show&&(!A.mutableConfig.legendInside||A.isPrinting)?(o.openBlock(),o.createElementBlock("div",{key:3,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,h7),o.createElementVNode("span",{style:o.normalizeStyle(`color:${a.chartConfig.chart.legend.color}`)},o.toDisplayString(i.name),5)],10,u7))),128))],4)):o.createCommentVNode("",!0),a.chartConfig.chart.tooltip.show&&A.isTooltip?(o.openBlock(),o.createElementBlock("div",{key:4,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,f7)):o.createCommentVNode("",!0),a.chartConfig.showTable&&A.mutableConfig.showTable?(o.openBlock(),o.createElementBlock("div",{key:5,class:o.normalizeClass({"vue-ui-xy-table-wrapper":!0,"vue-ui-xy-table-wrapper-printing":A.isPrinting}),onClick:e[11]||(e[11]=(...i)=>a.closeDetails&&a.closeDetails(...i))},[o.createElementVNode("table",d7,[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",g7,[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}`)},p7,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,c)=>l+c,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[10]||(e[10]=l=>A.selectedRowIndex=null)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i,(l,c)=>(o.openBlock(),o.createElementBlock("td",{key:`td_${s}_${c}`,style:o.normalizeStyle(`background:${a.chartConfig.table.td.backgroundColor};color:${a.chartConfig.table.td.color};padding-right:6px;`)},o.toDisplayString(l),5))),128))],42,m7))),128))])])],2)):o.createCommentVNode("",!0)],12,qD)}const y7=Di(WD,[["render",v7],["__scopeId","data-v-cd4a8df7"]]),Kne="",w7={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:VD,isSafeValue:HD,treeShake:Wa,shiftHue:Ns,pdf:fo,convertColorToHex:Dn,convertConfigColors:Xa,calcRectHeight(t){return t.value>=0?this.zero-t.y:t.y-this.zero},calcRectWidth(){return this.slot.bar*.9},calcRectX(t){return t.x+this.slot.bar*.05+this.slot.bar/2},calcRectY(t){return t.value>=0?t.y:this.zero},canShowValue(t){return![null,void 0,NaN].includes(t)},closeDetails(){const t=this.$refs.details;t&&t.removeAttribute("open")},closestDecimal(t){if(t===0)return 0;const r=10**Math.floor(Math.log10(Math.abs(t)));let n;return t<0,n=Math.round(t/r)*r,n},ratioToMax(t){return t/this.absoluteMax},selectX(t){this.$emit("selectX",{dataset:this.relativeDataset.map(e=>({name:e.name,value:[null,void 0,NaN].includes(e.absoluteValues[t])?null:e.absoluteValues[t],color:e.color,type:e.type})),index:t,indexLabel:this.chartConfig.chart.grid.labels.xAxisLabels.values[t]})},getData(){return this.absoluteDataset.map(t=>({values:t.absoluteValues,color:t.color,name:t.name,type:t.type}))},segregate(t){if(this.segregatedSeries.includes(t.id))this.segregatedSeries=this.segregatedSeries.filter(e=>e!==t.id);else{if(this.segregatedSeries.length+1===this.safeDataset.length)return;this.segregatedSeries.push(t.id)}this.$emit("selectLegend",this.relativeDataset.map(e=>({name:e.name,values:e.absoluteValues,color:e.color,type:e.type})))},toggleTooltip(t,e=null){this.isTooltip=t,t?this.selectedSerieIndex=e:this.selectedSerieIndex=null},generatePdf(){this.isPrinting=!0,this.pdf({domElement:document.getElementById(`vue-ui-xy_${this.uniqueId}`),fileName:this.chartConfig.chart.title.text||"vue-ui-xy"}).finally(()=>{this.isPrinting=!1})},generateXls(){const t=[[this.chartConfig.chart.title.text],[this.chartConfig.chart.title.subtitle.text],[""]],e=["",...this.table.head.map(u=>u.label)],r=this.table.body,n=t.concat([e]).concat(r);function A(u){let p=new ArrayBuffer(u.length),h=new Uint8Array(p);for(let d=0;d<u.length;d++)h[d]=u.charCodeAt(d)&255;return p}const a=Hr.book_new(),i=Hr.aoa_to_sheet(n);Hr.book_append_sheet(a,i,"Sheet1");const s=Qi(a,{bookType:"xlsx",type:"binary"}),l=new Blob([A(s)],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),c=document.createElement("a");c.href=window.URL.createObjectURL(l),c.download=`${this.chartConfig.chart.title.text.replaceAll(" ","_")||"vue-ui-xy"}.xlsx`,c.click(),window.URL.revokeObjectURL(c.href)}}},XD=t=>(o.pushScopeId("data-v-b0d1b95b"),t=t(),o.popScopeId(),t),qD=["id"],YD={class:"vue-ui-xy-user-option-item"},JD=["id","name"],ZD=["for"],eO={class:"vue-ui-xy-user-option-item"},tO=["id","name"],rO=["for"],nO={class:"vue-ui-xy-user-option-item"},AO=["id","name"],aO=["for"],iO={class:"vue-ui-xy-user-option-item"},oO=["id","name"],sO=["for"],lO=["disabled"],cO=["stroke"],uO=[o.createStaticVNode('<path stroke="none" d="M0 0h24v24H0z" fill="none" data-v-b0d1b95b></path><path d="M18 16v.01" data-v-b0d1b95b></path><path d="M6 16v.01" data-v-b0d1b95b></path><path d="M12 5v.01" data-v-b0d1b95b></path><path d="M12 12v.01" data-v-b0d1b95b></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-b0d1b95b></path>',6)],hO={key:1},fO=["viewBox"],dO={class:"vue-ui-xy-grid"},gO=["stroke","x1","x2","y1","y2"],pO=["stroke","x1","x2","y1","y2"],mO={key:0},vO=["x1","x2","y1","y2","stroke"],yO=["id"],wO=["stop-color"],BO=["stop-color"],xO=["stop-color"],bO=["id"],CO=["stop-color"],EO=["stop-color"],FO=["stop-color"],SO=["id"],_O=["stop-color"],kO=["stop-color"],TO=["id"],NO=["stop-color"],LO=["stop-color"],UO=["x","y","height","width","fill"],IO=["cx","cy","r","fill","stroke"],QO=["x1","x2","y1","y2","stroke","stroke-width"],DO=["cx","cy","r","fill","stroke"],OO={key:0},PO=["x","y","font-size","fill"],MO={key:1},RO=["x","y","font-size","fill"],HO={key:2},VO=["x","y","font-size","fill"],zO={key:3},$O=["x1","x2","y1","y2","stroke"],KO=["x","y","font-size","fill"],GO=["font-size","fill"],jO=["x","y","font-size","fill"],WO={key:4},XO={x:"0",y:"0",width:"100%",height:"40px",style:{overflow:"visible"}},qO={key:5},YO=["y"],JO={class:"vue-ui-xy-legend"},ZO=["onClick"],e7={key:6},t7=["y","x","font-size","fill"],r7={key:7},n7=["x","y","height","width","fill","onMouseenter","onClick"],A7={key:2,class:"vue-ui-xy-range-slider","data-html2canvas-ignore":""},a7={class:"vue-ui-xy-slider--left"},i7=["for"],o7=["id","max"],s7={class:"vue-ui-xy-slider--right"},l7=["for"],c7=["id","min","max"],u7=["onClick"],h7=["innerHTML"],f7=["innerHTML"],d7={class:"vue-ui-xy-table"},g7={style:{"max-width":"200px",margin:"0 auto","text-align":"center"}},p7=[XD(()=>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))],m7=["onMouseover"];function v7(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",YD,[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,JD),[[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,ZD)]),o.createElementVNode("div",eO,[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,tO),[[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,rO)]),o.createElementVNode("div",nO,[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,AO),[[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",iO,[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,oO),[[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,sO)]),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"},uO,8,cO)):(o.openBlock(),o.createElementBlock("span",hO,"PDF"))],12,lO),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",dO,[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,gO),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,pO),a.chartConfig.chart.grid.showVerticalLines?(o.openBlock(),o.createElementBlock("g",mO,[(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,vO))),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,wO),o.createElementVNode("stop",{offset:"62%","stop-color":`${a.shiftHue(i.color,.02)}DE`},null,8,BO),o.createElementVNode("stop",{offset:"100%","stop-color":`${a.shiftHue(i.color,.05)}66`},null,8,xO)],8,yO),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,CO),o.createElementVNode("stop",{offset:"38%","stop-color":`${a.shiftHue(i.color,.02)}DE`},null,8,EO),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,FO)],8,bO)]))),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,_O),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,kO)],8,SO)]))),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,NO),o.createElementVNode("stop",{offset:"100%","stop-color":i.color},null,8,LO)],8,TO)]))),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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`bar_plot_${s}_${c}`},[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,UO)):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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`circle_plot_${s}_${c}`},[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,IO)):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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`line_${s}_${c}`},[c<i.plots.length-1&&a.canShowValue(l.value)&&a.canShowValue(i.plots[c+1].value)?(o.openBlock(),o.createElementBlock("line",{key:0,x1:l.x,x2:i.plots[c+1].x,y1:l.y,y2:i.plots[c+1].y,stroke:i.color,"stroke-width":a.chartConfig.line.strokeWidth},null,8,QO)):o.createCommentVNode("",!0)]))),128)),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i.plots,(l,c)=>(o.openBlock(),o.createElementBlock("g",{key:`circle_line_${s}_${c}`},[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,DO)):o.createCommentVNode("",!0)]))),128))],2))),128)),a.chartConfig.bar.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",OO,[(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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_bar_${s}_${c}`},[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,PO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.plot.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",MO,[(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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_plot_${s}_${c}`},[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,RO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.line.labels.show&&A.mutableConfig.dataLabels.show?(o.openBlock(),o.createElementBlock("g",HO,[(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,c)=>(o.openBlock(),o.createElementBlock("g",{key:`xLabel_line_${s}_${c}`},[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,VO)]))),128))],2))),128))])):o.createCommentVNode("",!0),a.chartConfig.chart.grid.labels.show?(o.openBlock(),o.createElementBlock("g",zO,[(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,KO)):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,GO)):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,jO)):o.createCommentVNode("",!0)]),a.chartConfig.chart.title.show&&A.mutableConfig.titleInside&&!A.isPrinting?(o.openBlock(),o.createElementBlock("g",WO,[(o.openBlock(),o.createElementBlock("foreignObject",XO,[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",qO,[(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",JO,[(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,ZO))),128))])],12,YO))])):o.createCommentVNode("",!0),a.chartConfig.chart.grid.labels.xAxisLabels.show?(o.openBlock(),o.createElementBlock("g",e7,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.timeLabels,(i,s)=>(o.openBlock(),o.createElementBlock("g",{key:`time_label_${s}`},[i&&!a.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast||i&&a.chartConfig.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast&&(s===0||s===a.timeLabels.length-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(i||""),9,t7)):o.createCommentVNode("",!0)]))),128))])):o.createCommentVNode("",!0),a.chartConfig.chart.tooltip.show?(o.openBlock(),o.createElementBlock("g",r7,[(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?`${a.chartConfig.chart.highlighter.color}${A.opacity[a.chartConfig.chart.highlighter.opacity]}`:"transparent",onMouseenter:l=>a.toggleTooltip(!0,s),onMouseleave:e[6]||(e[6]=l=>a.toggleTooltip(!1)),onClick:l=>a.selectX(s)},null,40,n7)]))),128))])):o.createCommentVNode("",!0)],12,fO)),a.chartConfig.chart.zoom.show?(o.openBlock(),o.createElementBlock("div",A7,[o.createElementVNode("div",a7,[o.createElementVNode("label",{for:`start_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.grid.labels.xAxisLabels.values[A.slicer.start]),9,i7),o.withDirectives(o.createElementVNode("input",{id:`start_${A.uniqueId}`,type:"range",style:o.normalizeStyle(`accent-color:${a.chartConfig.chart.zoom.color}`),min:0,max:Math.floor(A.maxX/2),"onUpdate:modelValue":e[8]||(e[8]=i=>A.slicer.start=i)},null,12,o7),[[o.vModelText,A.slicer.start]])]),o.createElementVNode("div",s7,[o.createElementVNode("label",{for:`end_${A.uniqueId}`},o.toDisplayString(a.chartConfig.chart.grid.labels.xAxisLabels.values[A.slicer.end-1]),9,l7),o.withDirectives(o.createElementVNode("input",{id:`end_${A.uniqueId}`,type:"range",style:o.normalizeStyle(`accent-color:${a.chartConfig.chart.zoom.color}`),min:Math.ceil(A.maxX/2),max:A.maxX,"onUpdate:modelValue":e[9]||(e[9]=i=>A.slicer.end=i)},null,12,c7),[[o.vModelText,A.slicer.end]])])])):o.createCommentVNode("",!0),a.chartConfig.chart.legend.show&&(!A.mutableConfig.legendInside||A.isPrinting)?(o.openBlock(),o.createElementBlock("div",{key:3,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,h7),o.createElementVNode("span",{style:o.normalizeStyle(`color:${a.chartConfig.chart.legend.color}`)},o.toDisplayString(i.name),5)],10,u7))),128))],4)):o.createCommentVNode("",!0),a.chartConfig.chart.tooltip.show&&A.isTooltip?(o.openBlock(),o.createElementBlock("div",{key:4,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,f7)):o.createCommentVNode("",!0),a.chartConfig.showTable&&A.mutableConfig.showTable?(o.openBlock(),o.createElementBlock("div",{key:5,class:o.normalizeClass({"vue-ui-xy-table-wrapper":!0,"vue-ui-xy-table-wrapper-printing":A.isPrinting}),onClick:e[11]||(e[11]=(...i)=>a.closeDetails&&a.closeDetails(...i))},[o.createElementVNode("table",d7,[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",g7,[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}`)},p7,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(r.dataset[s].series.slice(A.slicer.start,A.slicer.end).reduce((l,c)=>l+c,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[10]||(e[10]=l=>A.selectedRowIndex=null)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(i,(l,c)=>(o.openBlock(),o.createElementBlock("td",{key:`td_${s}_${c}`,style:o.normalizeStyle(`background:${a.chartConfig.table.td.backgroundColor};color:${a.chartConfig.table.td.color};padding-right:6px;`)},o.toDisplayString(l),5))),128))],42,m7))),128))])])],2)):o.createCommentVNode("",!0)],12,qD)}const y7=Di(WD,[["render",v7],["__scopeId","data-v-b0d1b95b"]]),Kne="",w7={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.3.1",
4
+ "version": "0.3.2",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue components library",
7
7
  "keywords": ["Vue", "data visualization", "chart", "donut", "waffle", "radar", "gauge", "accelerometer", "quadrant", "line", "table"],