@adiba-banking-cloud/backoffice 0.0.32 → 0.0.34

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.
@@ -44,7 +44,16 @@ function requireHighcharts() {
44
44
  if (hasRequiredHighcharts) return highcharts$1.exports;
45
45
  hasRequiredHighcharts = 1;
46
46
  (function (module, exports) {
47
- !function (t, e) {
47
+ !
48
+ /**
49
+ * Highcharts JS v12.3.0 (2025-06-21)
50
+ * @module highcharts/highcharts
51
+ *
52
+ * (c) 2009-2025 Torstein Honsi
53
+ *
54
+ * License: www.highcharts.com/license
55
+ */
56
+ function (t, e) {
48
57
  (t._Highcharts = e(), module.exports = t._Highcharts) ;
49
58
  }("undefined" == typeof window ? highcharts : window, () => (() => {
50
59
 
@@ -78,7 +87,7 @@ function requireHighcharts() {
78
87
  v.d(k, {
79
88
  default: () => lE
80
89
  }), function (t) {
81
- t.SVG_NS = "http://www.w3.org/2000/svg", t.product = "Highcharts", t.version = "12.2.0", t.win = "undefined" != typeof window ? window : {}, t.doc = t.win.document, t.svg = !!t.doc?.createElementNS?.(t.SVG_NS, "svg")?.createSVGRect, t.pageLang = t.doc?.documentElement?.closest("[lang]")?.lang, t.userAgent = t.win.navigator?.userAgent || "", t.isChrome = t.win.chrome, t.isFirefox = -1 !== t.userAgent.indexOf("Firefox"), t.isMS = /(edge|msie|trident)/i.test(t.userAgent) && !t.win.opera, t.isSafari = !t.isChrome && -1 !== t.userAgent.indexOf("Safari"), t.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(t.userAgent), t.isWebKit = -1 !== t.userAgent.indexOf("AppleWebKit"), t.deg2rad = 2 * Math.PI / 360, t.marginNames = ["plotTop", "marginRight", "marginBottom", "plotLeft"], t.noop = function () {}, t.supportsPassiveEvents = function () {
90
+ t.SVG_NS = "http://www.w3.org/2000/svg", t.product = "Highcharts", t.version = "12.3.0", t.win = "undefined" != typeof window ? window : {}, t.doc = t.win.document, t.svg = !!t.doc?.createElementNS?.(t.SVG_NS, "svg")?.createSVGRect, t.pageLang = t.doc?.documentElement?.closest("[lang]")?.lang, t.userAgent = t.win.navigator?.userAgent || "", t.isChrome = t.win.chrome, t.isFirefox = -1 !== t.userAgent.indexOf("Firefox"), t.isMS = /(edge|msie|trident)/i.test(t.userAgent) && !t.win.opera, t.isSafari = !t.isChrome && -1 !== t.userAgent.indexOf("Safari"), t.isTouchDevice = /(Mobile|Android|Windows Phone)/.test(t.userAgent), t.isWebKit = -1 !== t.userAgent.indexOf("AppleWebKit"), t.deg2rad = 2 * Math.PI / 360, t.marginNames = ["plotTop", "marginRight", "marginBottom", "plotLeft"], t.noop = function () {}, t.supportsPassiveEvents = function () {
82
91
  let e = false;
83
92
  if (!t.isMS) {
84
93
  let i = Object.defineProperty({}, "passive", {
@@ -524,11 +533,12 @@ function requireHighcharts() {
524
533
  this.dTLCache = {}, this.options = t = ti(true, this.options, t);
525
534
  let {
526
535
  timezoneOffset: e,
527
- useUTC: i
536
+ useUTC: i,
537
+ locale: s
528
538
  } = t;
529
539
  this.Date = t.Date || _.Date || Date;
530
- let s = t.timezone;
531
- q(i) && (s = i ? "UTC" : void 0), e && e % 60 == 0 && (s = "Etc/GMT" + (e > 0 ? "+" : "") + e / 60), this.variableTimezone = "UTC" !== s && s?.indexOf("Etc/GMT") !== 0, this.timezone = s, ["months", "shortMonths", "weekdays", "shortWeekdays"].forEach(t => {
540
+ let o = t.timezone;
541
+ q(i) && (o = i ? "UTC" : void 0), e && e % 60 == 0 && (o = "Etc/GMT" + (e > 0 ? "+" : "") + e / 60), this.variableTimezone = "UTC" !== o && o?.indexOf("Etc/GMT") !== 0, this.timezone = o, this.lang && s && (this.lang.locale = s), ["months", "shortMonths", "weekdays", "shortWeekdays"].forEach(t => {
532
542
  let e = /months/i.test(t),
533
543
  i = /short/.test(t),
534
544
  s = {
@@ -547,7 +557,7 @@ function requireHighcharts() {
547
557
  minute: "numeric",
548
558
  second: "numeric"
549
559
  }, t, "es").split(/(?:, | |\/|:)/g);
550
- return [o, +s - 1, i, r, a, n, Math.floor(Number(t) || 0) % 1e3, "DLMXJVS".indexOf(e)].map(Number);
560
+ return [o, s - 1, i, r, a, n, Math.floor(Number(t) || 0) % 1e3, "DLMXJVS".indexOf(e)].map(Number);
551
561
  }
552
562
  dateTimeFormat(t, e, i = this.options.locale || Z) {
553
563
  let s = JSON.stringify(t) + i;
@@ -642,7 +652,7 @@ function requireHighcharts() {
642
652
  let [e, i, s, o, r = 0] = this.dateTimeFormat({
643
653
  timeZoneName: "shortOffset"
644
654
  }, t, "en").split(/(GMT|:)/).map(Number),
645
- a = -(36e5 * (s + r / 60));
655
+ a = -(60 * (s + r / 60) * 6e4);
646
656
  if (Q(a)) return a;
647
657
  }
648
658
  return 0;
@@ -952,6 +962,7 @@ function requireHighcharts() {
952
962
  y: 0,
953
963
  title: {
954
964
  style: {
965
+ color: "#333333",
955
966
  fontSize: "0.8em",
956
967
  fontWeight: "bold"
957
968
  }
@@ -1084,9 +1095,7 @@ function requireHighcharts() {
1084
1095
  let e = this.rgba;
1085
1096
  if (this.stops) this.stops.forEach(function (e) {
1086
1097
  e.brighten(t);
1087
- });else if (tw(t) && 0 !== t) {
1088
- if (tw(e[0])) for (let i = 0; i < 3; i++) e[i] += tT(255 * t), e[i] < 0 && (e[i] = 0), e[i] > 255 && (e[i] = 255);else tL.useColorMix && tP(this.input) && (this.output = tA(this.input, t > 0 ? "white" : "black", Math.abs(t)));
1089
- }
1098
+ });else if (tw(t) && 0 !== t) if (tw(e[0])) for (let i = 0; i < 3; i++) e[i] += tT(255 * t), e[i] < 0 && (e[i] = 0), e[i] > 255 && (e[i] = 255);else tL.useColorMix && tP(this.input) && (this.output = tA(this.input, t > 0 ? "white" : "black", Math.abs(t)));
1090
1099
  return this;
1091
1100
  }
1092
1101
  setOpacity(t) {
@@ -1229,19 +1238,15 @@ function requireHighcharts() {
1229
1238
  }
1230
1239
  }
1231
1240
  if (s && o && o.length) {
1232
- for (c = 0; c < s.length; c++) {
1233
- if (s[c] === o[0]) {
1234
- l = c;
1235
- break;
1236
- }
1237
- if (s[0] === o[o.length - s.length + c]) {
1238
- l = c, p = true;
1239
- break;
1240
- }
1241
- if (s[s.length - 1] === o[o.length - s.length + c]) {
1242
- l = s.length - c;
1243
- break;
1244
- }
1241
+ for (c = 0; c < s.length; c++) if (s[c] === o[0]) {
1242
+ l = c;
1243
+ break;
1244
+ } else if (s[0] === o[o.length - s.length + c]) {
1245
+ l = c, p = true;
1246
+ break;
1247
+ } else if (s[s.length - 1] === o[o.length - s.length + c]) {
1248
+ l = s.length - c;
1249
+ break;
1245
1250
  }
1246
1251
  void 0 === l && (g = []);
1247
1252
  }
@@ -1363,18 +1368,16 @@ function requireHighcharts() {
1363
1368
  r = e.tagName,
1364
1369
  a = e.textContent ? w.doc.createTextNode(e.textContent) : void 0,
1365
1370
  n = t6.bypassHTMLFiltering;
1366
- if (r) {
1367
- if ("#text" === r) o = a;else if (-1 !== t6.allowedTags.indexOf(r) || n) {
1368
- let s = "svg" === r ? t$ : i.namespaceURI || t$,
1369
- h = w.doc.createElementNS(s, r),
1370
- l = e.attributes || {};
1371
- t0(e, function (t, e) {
1372
- "tagName" !== e && "attributes" !== e && "children" !== e && "style" !== e && "textContent" !== e && (l[e] = t);
1373
- }), tZ(h, n ? l : t6.filterUserAttributes(l)), e.style && tq(h, e.style), a && h.appendChild(a), t(e.children || [], h), o = h;
1374
- } else tK(33, false, void 0, {
1375
- "Invalid tagName in config": r
1376
- });
1377
- }
1371
+ if (r) if ("#text" === r) o = a;else if (-1 !== t6.allowedTags.indexOf(r) || n) {
1372
+ let s = "svg" === r ? t$ : i.namespaceURI || t$,
1373
+ h = w.doc.createElementNS(s, r),
1374
+ l = e.attributes || {};
1375
+ t0(e, function (t, e) {
1376
+ "tagName" !== e && "attributes" !== e && "children" !== e && "style" !== e && "textContent" !== e && (l[e] = t);
1377
+ }), tZ(h, n ? l : t6.filterUserAttributes(l)), e.style && tq(h, e.style), a && h.appendChild(a), t(e.children || [], h), o = h;
1378
+ } else tK(33, false, void 0, {
1379
+ "Invalid tagName in config": r
1380
+ });
1378
1381
  o && i.appendChild(o), s = o;
1379
1382
  }), s;
1380
1383
  }(this.nodes, t);
@@ -1416,7 +1419,7 @@ function requireHighcharts() {
1416
1419
  return [].forEach.call(e.body.childNodes, t => s(t, i)), i;
1417
1420
  }
1418
1421
  }
1419
- t6.allowedAttributes = ["alt", "aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup", "aria-hidden", "aria-label", "aria-labelledby", "aria-live", "aria-pressed", "aria-readonly", "aria-roledescription", "aria-selected", "class", "clip-path", "color", "colspan", "cx", "cy", "d", "dx", "dy", "disabled", "fill", "filterUnits", "flood-color", "flood-opacity", "height", "href", "id", "in", "in2", "markerHeight", "markerWidth", "offset", "opacity", "operator", "orient", "padding", "paddingLeft", "paddingRight", "patternUnits", "r", "radius", "refX", "refY", "role", "scope", "slope", "src", "startOffset", "stdDeviation", "stroke", "stroke-linecap", "stroke-width", "style", "tableValues", "result", "rowspan", "summary", "target", "tabindex", "text-align", "text-anchor", "textAnchor", "textLength", "title", "type", "valign", "width", "x", "x1", "x2", "xlink:href", "y", "y1", "y2", "zIndex"], t6.allowedReferences = ["https://", "http://", "mailto:", "/", "../", "./", "#"], t6.allowedTags = ["a", "abbr", "b", "br", "button", "caption", "circle", "clipPath", "code", "dd", "defs", "div", "dl", "dt", "em", "feComponentTransfer", "feComposite", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feMorphology", "feOffset", "feMerge", "feMergeNode", "filter", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "img", "li", "linearGradient", "marker", "ol", "p", "path", "pattern", "pre", "rect", "small", "span", "stop", "strong", "style", "sub", "sup", "svg", "table", "text", "textPath", "thead", "title", "tbody", "tspan", "td", "th", "tr", "u", "ul", "#text"], t6.emptyHTML = t5, t6.bypassHTMLFiltering = false;
1422
+ t6.allowedAttributes = ["alt", "aria-controls", "aria-describedby", "aria-expanded", "aria-haspopup", "aria-hidden", "aria-label", "aria-labelledby", "aria-live", "aria-pressed", "aria-readonly", "aria-roledescription", "aria-selected", "class", "clip-path", "color", "colspan", "cx", "cy", "d", "disabled", "dx", "dy", "fill", "filterUnits", "flood-color", "flood-opacity", "height", "href", "id", "in", "in2", "markerHeight", "markerWidth", "offset", "opacity", "operator", "orient", "padding", "paddingLeft", "paddingRight", "patternUnits", "r", "radius", "refX", "refY", "result", "role", "rowspan", "scope", "slope", "src", "startOffset", "stdDeviation", "stroke-linecap", "stroke-width", "stroke", "style", "summary", "tabindex", "tableValues", "target", "text-align", "text-anchor", "textAnchor", "textLength", "title", "type", "valign", "width", "x", "x1", "x2", "xlink:href", "y", "y1", "y2", "zIndex"], t6.allowedReferences = ["https://", "http://", "mailto:", "/", "../", "./", "#"], t6.allowedTags = ["#text", "a", "abbr", "b", "br", "button", "caption", "circle", "clipPath", "code", "dd", "defs", "div", "dl", "dt", "em", "feComponentTransfer", "feComposite", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feMerge", "feMergeNode", "feMorphology", "feOffset", "filter", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "img", "li", "linearGradient", "marker", "ol", "p", "path", "pattern", "pre", "rect", "small", "span", "stop", "strong", "style", "sub", "sup", "svg", "table", "tbody", "td", "text", "textPath", "th", "thead", "title", "tr", "tspan", "u", "ul"], t6.emptyHTML = t5, t6.bypassHTMLFiltering = false;
1420
1423
  let {
1421
1424
  defaultOptions: t9,
1422
1425
  defaultTime: t4
@@ -1469,7 +1472,7 @@ function requireHighcharts() {
1469
1472
  n = /\.(\d)/,
1470
1473
  h = i?.options?.lang || t9.lang,
1471
1474
  l = i?.time || t4,
1472
- d = i?.numberFormatter || ec,
1475
+ d = i?.numberFormatter || ec.bind(i),
1473
1476
  c = (t = "") => {
1474
1477
  let i;
1475
1478
  return "true" === t || "false" !== t && ((i = Number(t)).toString() === t ? i : el(t) ? t.slice(1, -1) : et(t, e));
@@ -1524,13 +1527,14 @@ function requireHighcharts() {
1524
1527
  for (p = en[m].length; p--;) t.unshift(c(o[p + 1]));
1525
1528
  r = en[m].apply(e, t), s.isBlock && "boolean" == typeof r && (r = ed(r ? g : u, e, i));
1526
1529
  } else {
1527
- let t = el(f) ? [f] : f.split(":");
1528
- if (r = c(t.shift() || ""), t.length && "number" == typeof r) {
1529
- let e = t.join(":");
1530
- if (a.test(e)) {
1531
- let t = parseInt((e.match(n) || ["", "-1"])[1], 10);
1532
- null !== r && (r = d(r, t, h.decimalPoint, e.indexOf(",") > -1 ? h.thousandsSep : ""));
1533
- } else r = l.dateFormat(e, r);
1530
+ let t = el(f) ? [f] : f.split(":"),
1531
+ e = (r = c(t.shift() || "")) % 1 != 0;
1532
+ if ("number" == typeof r && (t.length || e)) {
1533
+ let i = t.join(":");
1534
+ if (a.test(i) || e) {
1535
+ let t = parseInt((i.match(n) || ["", "-1"])[1], 10);
1536
+ null !== r && (r = d(r, t, h.decimalPoint, i.indexOf(",") > -1 ? h.thousandsSep : ""));
1537
+ } else r = l.dateFormat(i, r);
1534
1538
  }
1535
1539
  o.lastIndex = 0, o.test(s.find) && eo(r) && (r = `"${r}"`);
1536
1540
  }
@@ -2588,7 +2592,7 @@ function requireHighcharts() {
2588
2592
  class: "highcharts-root"
2589
2593
  }),
2590
2594
  d = l.element;
2591
- a || l.css(this.getStyle(s || {})), t.appendChild(d), iL(t, "dir", "ltr"), -1 === t.innerHTML.indexOf("xmlns") && iL(d, "xmlns", this.SVG_NS), this.box = d, this.boxWrapper = l, this.alignedObjects = [], this.url = this.getReferenceURL(), this.createElement("desc").add().element.appendChild(iv.createTextNode("Created with Highcharts 12.2.0")), this.defs = this.createElement("defs").add(), this.allowHTML = r, this.forExport = o, this.styledMode = a, this.gradients = {}, this.cache = {}, this.cacheKeys = [], this.imgCount = 0, this.rootFontSize = l.getStyle("font-size"), this.setSize(e, i, false), ik && t.getBoundingClientRect && ((n = function () {
2595
+ a || l.css(this.getStyle(s || {})), t.appendChild(d), iL(t, "dir", "ltr"), -1 === t.innerHTML.indexOf("xmlns") && iL(d, "xmlns", this.SVG_NS), this.box = d, this.boxWrapper = l, this.alignedObjects = [], this.url = this.getReferenceURL(), this.createElement("desc").add().element.appendChild(iv.createTextNode("Created with Highcharts 12.3.0")), this.defs = this.createElement("defs").add(), this.allowHTML = r, this.forExport = o, this.styledMode = a, this.gradients = {}, this.cache = {}, this.cacheKeys = [], this.imgCount = 0, this.rootFontSize = l.getStyle("font-size"), this.setSize(e, i, false), ik && t.getBoundingClientRect && ((n = function () {
2592
2596
  iI(t, {
2593
2597
  left: 0,
2594
2598
  top: 0
@@ -2710,6 +2714,7 @@ function requireHighcharts() {
2710
2714
  new im(t).buildSVG();
2711
2715
  }
2712
2716
  getContrast(t) {
2717
+ if ("transparent" === t) return "#000000";
2713
2718
  let e = tL.parse(t).rgba,
2714
2719
  i = " clamp(0,calc(9e9*(0.5 - (0.2126*r + 0.7152*g + 0.0722*b))),1)";
2715
2720
  if (iR(e[0]) || !tL.useColorMix) {
@@ -2993,8 +2998,8 @@ function requireHighcharts() {
2993
2998
  pushUnique: i2
2994
2999
  } = V;
2995
3000
  function i3(t, e, i) {
2996
- let s = this.div?.style || i.style;
2997
- eJ.prototype[`${e}Setter`].call(this, t, e, i), s && (s[e] = t);
3001
+ let s = this.div?.style;
3002
+ eJ.prototype[`${e}Setter`].call(this, t, e, i), s && (i.style[e] = s[e] = t);
2998
3003
  }
2999
3004
  let i5 = (t, e) => {
3000
3005
  if (!t.div) {
@@ -3015,6 +3020,8 @@ function requireHighcharts() {
3015
3020
  i.setAttribute("class", t), o.className = t;
3016
3021
  }, t.translateXSetter = t.translateYSetter = (e, i) => {
3017
3022
  t[i] = e, o.style["translateX" === i ? "left" : "top"] = `${e}px`, t.doTransform = true;
3023
+ }, t.scaleXSetter = t.scaleYSetter = (e, i) => {
3024
+ t[i] = e, t.doTransform = true;
3018
3025
  }, t.opacitySetter = t.visibilitySetter = i3, t.css = e => (s.call(t, e), e.cursor && (o.style.cursor = e.cursor), e.pointerEvents && (o.style.pointerEvents = e.pointerEvents), t), t.on = function () {
3019
3026
  return eJ.prototype.on.apply({
3020
3027
  element: o,
@@ -3369,7 +3376,7 @@ function requireHighcharts() {
3369
3376
  m,
3370
3377
  x,
3371
3378
  y = this.parameters.category || (o ? su(o[n], a[n], n) : n);
3372
- r && sc(y) && (y = sr(r.lin2log(y))), e.dateTime && (g ? f = (m = s.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid && g.higherRanks[n] || g.unitName])).main : sc(y) && (f = e.dateTime.getXDateFormat(y, i.dateTimeLabelFormats || {}))), t.isFirst = d, t.isLast = c;
3379
+ r && sc(y) && (y = sr(r.lin2log(y))), e.dateTime && (g ? f = (m = s.time.resolveDTLFormat(i.dateTimeLabelFormats[!i.grid?.enabled && g.higherRanks[n] || g.unitName])).main : sc(y) && (f = e.dateTime.getXDateFormat(y, i.dateTimeLabelFormats || {}))), t.isFirst = d, t.isLast = c;
3373
3380
  let b = {
3374
3381
  axis: e,
3375
3382
  chart: s,
@@ -3536,7 +3543,7 @@ function requireHighcharts() {
3536
3543
  d = s["minor" !== r ? "tickColor" : "minorTickColor"],
3537
3544
  c = this.mark,
3538
3545
  p = !c;
3539
- a && (i.opposite && (a[0] = -a[0]), c || (this.mark = c = o.path().addClass("highcharts-" + (r ? r + "-" : "") + "tick").add(i.axisGroup), i.chart.styledMode || c.attr({
3546
+ a && (i.opposite && (a[0] = -a[0]), !c && (this.mark = c = o.path().addClass("highcharts-" + (r ? r + "-" : "") + "tick").add(i.axisGroup), i.chart.styledMode || c.attr({
3540
3547
  stroke: d,
3541
3548
  "stroke-width": l
3542
3549
  })), c[p ? "attr" : "animate"]({
@@ -3888,7 +3895,7 @@ function requireHighcharts() {
3888
3895
  A,
3889
3896
  P;
3890
3897
  if (r || e || y || this.getTickAmount(), A = sF(this.userMin, d.parse(h.min)), P = sF(this.userMax, d.parse(h.max)), y ? (this.linkedParent = y, M = y.getExtremes(), this.min = sF(M.min, M.dataMin), this.max = sF(M.max, M.dataMax), this.type !== y.type && sL(11, true, i)) : (l && sC(c) && sN(s) && sN(o) && (o >= c ? (T = c, k = 0) : s <= c && (C = c, v = 0)), this.min = sF(A, T, o), this.max = sF(P, C, s)), sN(this.max) && sN(this.min) && (n && (this.positiveValuesOnly && !t && 0 >= Math.min(this.min, sF(o, this.min)) && sL(10, true, i), this.min = sT(n.log2lin(this.min), 16), this.max = sT(n.log2lin(this.max), 16)), this.range && sN(o) && (this.userMin = this.min = A = Math.max(o, this.minFromRange() || 0), this.userMax = P = this.max, this.range = void 0)), sE(this, "foundExtremes"), this.adjustForMinRange(), sN(this.min) && sN(this.max)) {
3891
- if (!sN(this.userMin) && sN(x) && x < this.min && (this.min = A = x), !sN(this.userMax) && sN(m) && m > this.max && (this.max = P = m), e || this.axisPointRange || this.stacking?.usePercentage || y || !(w = this.max - this.min) || (!sC(A) && k && (this.min -= w * k), sC(P) || !v || (this.max += w * v)), !sN(this.userMin) && sN(u) && (this.min = Math.max(this.min, u)), !sN(this.userMax) && sN(g) && (this.max = Math.min(this.max, g)), l && sN(o) && sN(s)) {
3898
+ if (!sN(this.userMin) && sN(x) && x < this.min && (this.min = A = x), !sN(this.userMax) && sN(m) && m > this.max && (this.max = P = m), e || this.axisPointRange || this.stacking?.usePercentage || y || (w = this.max - this.min) && (!sC(A) && k && (this.min -= w * k), !sC(P) && v && (this.max += w * v)), !sN(this.userMin) && sN(u) && (this.min = Math.max(this.min, u)), !sN(this.userMax) && sN(g) && (this.max = Math.min(this.max, g)), l && sN(o) && sN(s)) {
3892
3899
  let t = c || 0;
3893
3900
  !sC(A) && this.min < t && o >= t ? this.min = h.minRange ? Math.min(t, this.max - p) : t : !sC(P) && this.max > t && s <= t && (this.max = h.minRange ? Math.max(t, this.min + p) : t);
3894
3901
  }
@@ -4132,7 +4139,7 @@ function requireHighcharts() {
4132
4139
  let e = this.chart,
4133
4140
  i = this.horiz,
4134
4141
  s = this.options.labels,
4135
- o = Math.max(this.tickPositions.length - +!this.categories, 1),
4142
+ o = Math.max(this.tickPositions.length - !this.categories, 1),
4136
4143
  r = e.margin[3];
4137
4144
  if (t && sN(t.slotWidth)) return t.slotWidth;
4138
4145
  if (i && s.step < 2 && !this.isRadial) return s.rotation ? 0 : (this.staggerLines || 1) * this.len / o;
@@ -4278,7 +4285,7 @@ function requireHighcharts() {
4278
4285
  return i && (t *= -1), e.renderer.crispLine([["M", o ? this.left : r, o ? a : this.top], ["L", o ? e.chartWidth - this.right : r, o ? a : e.chartHeight - this.bottom]], t);
4279
4286
  }
4280
4287
  renderLine() {
4281
- this.axisLine || (this.axisLine = this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup), this.chart.styledMode || this.axisLine.attr({
4288
+ !this.axisLine && (this.axisLine = this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup), this.chart.styledMode || this.axisLine.attr({
4282
4289
  stroke: this.options.lineColor,
4283
4290
  "stroke-width": this.options.lineWidth,
4284
4291
  zIndex: 7
@@ -4440,10 +4447,7 @@ function requireHighcharts() {
4440
4447
  chartX: t?.chartX,
4441
4448
  chartY: t?.chartY,
4442
4449
  point: e
4443
- }), r = this.getPlotLinePath(l) || null), !sC(r)) {
4444
- this.hideCrosshair();
4445
- return;
4446
- }
4450
+ }), r = this.getPlotLinePath(l) || null), !sC(r)) return void this.hideCrosshair();
4447
4451
  n = this.categories && !this.isRadial, h || (this.cross = h = o.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-" + (n ? "category " : "thin ") + (i.className || "")).attr({
4448
4452
  zIndex: sF(i.zIndex, 2)
4449
4453
  }).add(), !o.styledMode && (h.attr({
@@ -4790,6 +4794,7 @@ function requireHighcharts() {
4790
4794
  class: "highcharts-plot-" + (i ? "band" : "line") + "-label " + (t.className || ""),
4791
4795
  zIndex: s
4792
4796
  }), o.chart.styledMode || n.css(os({
4797
+ color: o.chart.options.title?.style.color,
4793
4798
  fontSize: "0.8em",
4794
4799
  textOverflow: i && !a ? "" : "ellipsis"
4795
4800
  }, t.style)), n.add());
@@ -4889,7 +4894,11 @@ function requireHighcharts() {
4889
4894
  e && (s += e[0], o += e[1]);
4890
4895
  }), s /= t.length, o /= t.length, this.shared && t.length > 1 && e && (r ? s = e.chartX : o = e.chartY), i = [s - n, o - a];
4891
4896
  }
4892
- return i.map(Math.round);
4897
+ let h = {
4898
+ point: t[0],
4899
+ ret: i
4900
+ };
4901
+ return ob(this, "getAnchor", h), h.ret.map(Math.round);
4893
4902
  }
4894
4903
  getClassName(t, e, i) {
4895
4904
  let s = this.options,
@@ -5098,7 +5107,8 @@ function requireHighcharts() {
5098
5107
  if (this.split && this.allowShared) this.renderSplit(f, a);else {
5099
5108
  let t = g,
5100
5109
  r = u;
5101
- if (e && o.isDirectTouch && (t = e.chartX - i.plotLeft, r = e.chartY - i.plotTop), i.polar || false === m.options.clip || a.some(e => o.isDirectTouch || e.series.shouldShowTooltip(t, r))) {
5110
+ if (e && o.isDirectTouch && (t = e.chartX - i.plotLeft, r = e.chartY - i.plotTop), !(i.polar || false === m.options.clip || a.some(e => o.isDirectTouch || e.series.shouldShowTooltip(t, r)))) return void this.hide();
5111
+ {
5102
5112
  let t = this.getLabel(c && this.tt || {});
5103
5113
  (!s.style.width || d) && t.css({
5104
5114
  width: (this.outside ? this.getPlayingField() : i.spacingBox).width + "px"
@@ -5117,9 +5127,6 @@ function requireHighcharts() {
5117
5127
  series: m,
5118
5128
  h: p[2] || 0
5119
5129
  });
5120
- } else {
5121
- this.hide();
5122
- return;
5123
5130
  }
5124
5131
  }
5125
5132
  this.isHidden && this.label && this.label.attr({
@@ -5541,7 +5548,7 @@ function requireHighcharts() {
5541
5548
  }), r;
5542
5549
  }
5543
5550
  getNestedProperty(t) {
5544
- return t ? 0 === t.indexOf("custom.") ? oF(t, this.options) : this[t] : void 0;
5551
+ if (t) return 0 === t.indexOf("custom.") ? oF(t, this.options) : this[t];
5545
5552
  }
5546
5553
  getZone() {
5547
5554
  let t = this.series,
@@ -5830,7 +5837,7 @@ function requireHighcharts() {
5830
5837
  shapeType: r,
5831
5838
  attrs: l
5832
5839
  } = this.getSelectionMarkerAttrs(g, u);
5833
- (e.hasCartesianSeries || e.mapView) && this.hasZoom && f && !p && !m && (this.selectionMarker = m = e.renderer[r](), m.attr({
5840
+ this.hasZoom && f && !p && !m && (this.selectionMarker = m = e.renderer[r](), m.attr({
5834
5841
  class: "highcharts-selection-marker",
5835
5842
  zIndex: 7
5836
5843
  }).add(), e.styledMode || m.attr({
@@ -6038,7 +6045,7 @@ function requireHighcharts() {
6038
6045
  let e = this.chart,
6039
6046
  i = e.tooltip,
6040
6047
  s = this.normalize(t);
6041
- this.setHoverChartIndex(t), ("mousedown" === e.mouseIsDown || this.touchSelect(s)) && this.drag(s), !e.openMenu && (this.inClass(s.target, "highcharts-tracker") || e.isInsidePlot(s.chartX - e.plotLeft, s.chartY - e.plotTop, {
6048
+ this.setHoverChartIndex(t), ("mousedown" === e.mouseIsDown || this.touchSelect(s)) && this.drag(s), !e.exporting?.openMenu && (this.inClass(s.target, "highcharts-tracker") || e.isInsidePlot(s.chartX - e.plotLeft, s.chartY - e.plotTop, {
6042
6049
  visiblePlotOnly: true
6043
6050
  })) && !i?.shouldStickOnContact(s) && (this.inClass(s.target, "highcharts-no-tooltip") ? this.reset(false, 0) : this.runPointActions(s));
6044
6051
  }
@@ -6150,7 +6157,7 @@ function requireHighcharts() {
6150
6157
  this.unDocMouseMove || (this.unDocMouseMove = o2(s.container.ownerDocument, "mousemove", t => oQ[rr.hoverChartIndex ?? -1]?.pointer?.onDocumentMouseMove(t)), this.eventsToUnbind.push(this.unDocMouseMove)), s.axes.forEach(function (e) {
6151
6158
  let i,
6152
6159
  o = e.crosshair?.snap ?? true;
6153
- !o || (i = s.hoverPoint) && i.series[e.coll] === e || (i = o9(c, t => t.series?.[e.coll] === e)), i || !o ? e.drawCrosshair(t, i) : e.hideCrosshair();
6160
+ o && ((i = s.hoverPoint) && i.series[e.coll] === e || (i = o9(c, t => t.series?.[e.coll] === e))), i || !o ? e.drawCrosshair(t, i) : e.hideCrosshair();
6154
6161
  });
6155
6162
  }
6156
6163
  setDOMEvents() {
@@ -6207,7 +6214,7 @@ function requireHighcharts() {
6207
6214
  } = this;
6208
6215
  this.setHoverChartIndex(), 1 === (t = this.normalize(t)).touches.length ? s.isInsidePlot(t.chartX - s.plotLeft, t.chartY - s.plotTop, {
6209
6216
  visiblePlotOnly: true
6210
- }) && !s.openMenu ? (e && this.runPointActions(t), "touchmove" === t.type && (i = !!o[0] && Math.pow(o[0].chartX - t.chartX, 2) + Math.pow(o[0].chartY - t.chartY, 2) >= 16), ri(i, true) && this.pinch(t)) : e && this.reset() : 2 === t.touches.length && this.pinch(t);
6217
+ }) && !s.exporting?.openMenu ? (e && this.runPointActions(t), "touchmove" === t.type && (i = !!o[0] && Math.pow(o[0].chartX - t.chartX, 2) + Math.pow(o[0].chartY - t.chartY, 2) >= 16), ri(i, true) && this.pinch(t)) : e && this.reset() : 2 === t.touches.length && this.pinch(t);
6211
6218
  }
6212
6219
  touchSelect(t) {
6213
6220
  return !!(this.chart.zooming.singleTouch && t.touches && 1 === t.touches.length);
@@ -6337,7 +6344,7 @@ function requireHighcharts() {
6337
6344
  f,
6338
6345
  m = r.marker,
6339
6346
  x = 0;
6340
- if (o.styledMode || (u["stroke-width"] = Math.min(r.lineWidth || 0, 24), r.dashStyle ? u.dashstyle = r.dashStyle : "square" === r.linecap || (u["stroke-linecap"] = "round")), s.line = c.path().addClass("highcharts-graph").attr(u).add(p), i && (s.area = c.path().addClass("highcharts-area").add(p)), u["stroke-linecap"] && (x = Math.min(s.line.strokeWidth(), n) / 2), n) {
6347
+ if (o.styledMode || (u["stroke-width"] = Math.min(r.lineWidth || 0, 24), r.dashStyle ? u.dashstyle = r.dashStyle : "square" !== r.linecap && (u["stroke-linecap"] = "round")), s.line = c.path().addClass("highcharts-graph").attr(u).add(p), i && (s.area = c.path().addClass("highcharts-area").add(p)), u["stroke-linecap"] && (x = Math.min(s.line.strokeWidth(), n) / 2), n) {
6341
6348
  let t = [["M", x, g], ["L", n - x, g]];
6342
6349
  s.line.attr({
6343
6350
  d: t
@@ -6649,7 +6656,7 @@ function requireHighcharts() {
6649
6656
  let k = (t = v || t || []).length;
6650
6657
  if (h?.enabled && (t = this.sortData(t)), n.options.chart.allowMutatingData && false !== s && k && r && !this.cropped && !this.hasGroupedData && this.visible && !this.boosted && (x = this.updateData(t, i)), !x) {
6651
6658
  this.xIncrement = null, this.colorCounter = 0;
6652
- let e = d && k > d;
6659
+ let e = d && !a.relativeXValue && k > d;
6653
6660
  if (e) {
6654
6661
  let i = this.getFirstValidPoint(t),
6655
6662
  s = this.getFirstValidPoint(t, k - 1, -1),
@@ -6907,9 +6914,9 @@ function requireHighcharts() {
6907
6914
  plotX: o,
6908
6915
  plotY: r
6909
6916
  } = t;
6910
- return !!((i || !t.isNull && rV(r)) && (!e || s.isInsidePlot(o, r, {
6917
+ return (!!i || !t.isNull && !!rV(r)) && (!e || !!s.isInsidePlot(o, r, {
6911
6918
  inverted: s.inverted
6912
- }))) && false !== t.visible;
6919
+ })) && false !== t.visible;
6913
6920
  });
6914
6921
  }
6915
6922
  getSharedClipKey() {
@@ -7145,14 +7152,27 @@ function requireHighcharts() {
7145
7152
  i = this.yAxis,
7146
7153
  s = this.chart,
7147
7154
  o = s.inverted && !s.polar && e && this.invertible && "series" === t;
7148
- return s.inverted && (e = i, i = this.xAxis), {
7155
+ s.inverted && (e = i, i = this.xAxis);
7156
+ let r = {
7157
+ scale: 1,
7149
7158
  translateX: e ? e.left : s.plotLeft,
7150
7159
  translateY: i ? i.top : s.plotTop,
7160
+ name: t
7161
+ };
7162
+ rG(this, "getPlotBox", r);
7163
+ let {
7164
+ scale: a,
7165
+ translateX: n,
7166
+ translateY: h
7167
+ } = r;
7168
+ return {
7169
+ translateX: n,
7170
+ translateY: h,
7151
7171
  rotation: 90 * !!o,
7152
- rotationOriginX: o ? (e.len - i.len) / 2 : 0,
7153
- rotationOriginY: o ? (e.len + i.len) / 2 : 0,
7154
- scaleX: o ? -1 : 1,
7155
- scaleY: 1
7172
+ rotationOriginX: o ? a * (e.len - i.len) / 2 : 0,
7173
+ rotationOriginY: o ? a * (e.len + i.len) / 2 : 0,
7174
+ scaleX: o ? -a : a,
7175
+ scaleY: a
7156
7176
  };
7157
7177
  }
7158
7178
  removeEvents(t) {
@@ -7384,12 +7404,10 @@ function requireHighcharts() {
7384
7404
  });
7385
7405
  let f = false;
7386
7406
  if (rP[g]) {
7387
- if (f = g !== i.type, i.remove(false, false, false, true), f) {
7388
- if (s.propFromSeries(), Object.setPrototypeOf) Object.setPrototypeOf(i, rP[g].prototype);else {
7389
- let t = Object.hasOwnProperty.call(i, "hcEvents") && i.hcEvents;
7390
- for (c in n) i[c] = void 0;
7391
- rF(i, rP[g].prototype), t ? i.hcEvents = t : delete i.hcEvents;
7392
- }
7407
+ if (f = g !== i.type, i.remove(false, false, false, true), f) if (s.propFromSeries(), Object.setPrototypeOf) Object.setPrototypeOf(i, rP[g].prototype);else {
7408
+ let t = Object.hasOwnProperty.call(i, "hcEvents") && i.hcEvents;
7409
+ for (c in n) i[c] = void 0;
7410
+ rF(i, rP[g].prototype), t ? i.hcEvents = t : delete i.hcEvents;
7393
7411
  }
7394
7412
  } else rH(17, true, s, {
7395
7413
  missingModuleFor: g
@@ -8395,7 +8413,7 @@ function requireHighcharts() {
8395
8413
  let l = aL("div", {
8396
8414
  id: o
8397
8415
  }, t, r);
8398
- this.container = l, this.getChartSize(), h === this.chartWidth || (h = this.chartWidth, this.styledMode || aO(l, {
8416
+ this.container = l, this.getChartSize(), h !== this.chartWidth && (h = this.chartWidth, this.styledMode || aO(l, {
8399
8417
  width: aV(i.style?.width, h + "px")
8400
8418
  })), this.containerBox = this.getContainerBox(), this._cursor = l.style.cursor;
8401
8419
  let d = i.renderer || !aS ? eg.getRendererType(i.renderer) : iU;
@@ -8431,7 +8449,7 @@ function requireHighcharts() {
8431
8449
  let e = this,
8432
8450
  i = e.containerBox,
8433
8451
  s = e.getContainerBox();
8434
- delete e.pointer?.chartPosition, !e.isPrinting && !e.isResizing && i && s.width && ((s.width !== i.width || s.height !== i.height) && (V.clearTimeout(e.reflowTimeout), e.reflowTimeout = aJ(function () {
8452
+ delete e.pointer?.chartPosition, !e.exporting?.isPrinting && !e.isResizing && i && s.width && ((s.width !== i.width || s.height !== i.height) && (V.clearTimeout(e.reflowTimeout), e.reflowTimeout = aJ(function () {
8435
8453
  e.container && e.setSize(void 0, void 0, false);
8436
8454
  }, 100 * !!t)), e.containerBox = s);
8437
8455
  }
@@ -8635,7 +8653,9 @@ function requireHighcharts() {
8635
8653
  }
8636
8654
  this.drawChartBox(), this.hasCartesianSeries ? o(t) : e?.length && o(e), this.seriesGroup || (this.seriesGroup = i.g("series-group").attr({
8637
8655
  zIndex: 3
8638
- }).shadow(this.options.chart.seriesGroupShadow).add()), this.renderSeries(), this.addCredits(), this.setResponsive && this.setResponsive(), this.hasRendered = true;
8656
+ }).shadow(this.options.chart.seriesGroupShadow).add()), this.dataLabelsGroup || (this.dataLabelsGroup = i.g("datalabels-group").attr({
8657
+ zIndex: 6
8658
+ }).add()), this.renderSeries(), this.addCredits(), this.setResponsive && this.setResponsive(), this.hasRendered = true;
8639
8659
  }
8640
8660
  addCredits(t) {
8641
8661
  let e = this,
@@ -8683,7 +8703,7 @@ function requireHighcharts() {
8683
8703
  options: t,
8684
8704
  title: e
8685
8705
  } = this;
8686
- !t || this.accessibility || (this.renderer.boxWrapper.attr({
8706
+ t && !this.accessibility && (this.renderer.boxWrapper.attr({
8687
8707
  role: "img",
8688
8708
  "aria-label": (e?.element.textContent || "").replace(/</g, "&lt;")
8689
8709
  }), t.accessibility && false === t.accessibility.enabled || aN('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.', false, this));
@@ -8735,7 +8755,7 @@ function requireHighcharts() {
8735
8755
  className: "highcharts-loading highcharts-loading-hidden"
8736
8756
  }, null, e.container)), a || (e.loadingSpan = a = aL("span", {
8737
8757
  className: "highcharts-loading-inner"
8738
- }, null, r), aA(e, "redraw", o)), r.className = "highcharts-loading", t6.setElementHTML(a, aV(t, i.lang.loading, "")), e.styledMode || (aO(r, az(s.style, {
8758
+ }, null, r), aA(e, "redraw", o)), r.className = "highcharts-loading", t6.setElementHTML(a, aV(t, i.lang.loading, "")), !e.styledMode && (aO(r, az(s.style, {
8739
8759
  zIndex: 10
8740
8760
  })), aO(a, s.labelStyle), e.loadingShown || (aO(r, {
8741
8761
  opacity: 0,
@@ -8778,7 +8798,7 @@ function requireHighcharts() {
8778
8798
  }), l || n.setResponsive(false, true), t = aI(t, n.options), n.userOptions = aU(n.userOptions, t);
8779
8799
  let c = t.chart;
8780
8800
  c && (aU(true, n.options.chart, c), this.setZoomOptions(), "className" in c && n.setClassName(c.className), ("inverted" in c || "polar" in c || "type" in c) && (n.propFromSeries(), o = true), "alignTicks" in c && (o = true), "events" in c && av(this, c), a$(c, function (t, e) {
8781
- -1 !== n.propsRequireUpdateSeries.indexOf("chart." + e) && (r = true), -1 !== n.propsRequireDirtyBox.indexOf(e) && (n.isDirtyBox = true), -1 === n.propsRequireReflow.indexOf(e) || (n.isDirtyBox = true, l || (a = true));
8801
+ -1 !== n.propsRequireUpdateSeries.indexOf("chart." + e) && (r = true), -1 !== n.propsRequireDirtyBox.indexOf(e) && (n.isDirtyBox = true), -1 !== n.propsRequireReflow.indexOf(e) && (n.isDirtyBox = true, l || (a = true));
8782
8802
  }), !n.styledMode && c.style && n.renderer.setStyle(n.options.chart.style || {})), !n.styledMode && t.colors && (this.options.colors = t.colors), a$(t, function (e, i) {
8783
8803
  n[i] && "function" == typeof n[i].update ? n[i].update(e, false) : "function" == typeof n[h[i]] ? n[h[i]](e) : "colors" !== i && -1 === n.collectionsWithUpdate.indexOf(i) && aU(true, n.options[i], t[i]), "chart" !== i && -1 !== n.propsRequireUpdateSeries.indexOf(i) && (r = true);
8784
8804
  }), this.collectionsWithUpdate.forEach(function (e) {
@@ -8876,11 +8896,12 @@ function requireHighcharts() {
8876
8896
  {
8877
8897
  inverted: h,
8878
8898
  time: l
8879
- } = this,
8880
- d = false,
8899
+ } = this;
8900
+ this.hoverPoints?.forEach(t => t.setState()), aW(this, "transform", t);
8901
+ let d = t.hasZoomed || false,
8881
8902
  c,
8882
8903
  p;
8883
- for (let t of (this.hoverPoints?.forEach(t => t.setState()), e)) {
8904
+ for (let t of e) {
8884
8905
  let {
8885
8906
  horiz: e,
8886
8907
  len: g,
@@ -8897,45 +8918,52 @@ function requireHighcharts() {
8897
8918
  M = w - ((a[y] ?? t.pos) + b / 2 - t.pos) / k,
8898
8919
  S = m && !h || !m && h ? -1 : 1;
8899
8920
  if (!o && (w < 0 || w > t.len)) continue;
8900
- let T = t.toValue(M, true) + (r || t.isOrdinal ? 0 : u * S),
8901
- C = t.toValue(M + g / k, true) - (r || t.isOrdinal ? 0 : u * S || 0),
8902
- A = t.allExtremes;
8903
- if (T > C && ([T, C] = [C, T]), 1 === k && !o && "yAxis" === t.coll && !A) {
8921
+ let T = t.chart.polar || t.isOrdinal ? 0 : u * S || 0,
8922
+ C = t.toValue(M, true),
8923
+ A = t.toValue(M + g / k, true),
8924
+ P = C + T,
8925
+ L = A - T,
8926
+ O = t.allExtremes;
8927
+ if (r && r[t.coll].push({
8928
+ axis: t,
8929
+ min: Math.min(C, A),
8930
+ max: Math.max(C, A)
8931
+ }), P > L && ([P, L] = [L, P]), 1 === k && !o && "yAxis" === t.coll && !O) {
8904
8932
  for (let e of t.series) {
8905
8933
  let t = e.getExtremes(e.getProcessedData(true).modified.getColumn("y") || [], true);
8906
- A ?? (A = {
8934
+ O ?? (O = {
8907
8935
  dataMin: Number.MAX_VALUE,
8908
8936
  dataMax: -Number.MAX_VALUE
8909
- }), aG(t.dataMin) && aG(t.dataMax) && (A.dataMin = Math.min(t.dataMin, A.dataMin), A.dataMax = Math.max(t.dataMax, A.dataMax));
8937
+ }), aG(t.dataMin) && aG(t.dataMax) && (O.dataMin = Math.min(t.dataMin, O.dataMin), O.dataMax = Math.max(t.dataMax, O.dataMax));
8910
8938
  }
8911
- t.allExtremes = A;
8939
+ t.allExtremes = O;
8912
8940
  }
8913
8941
  let {
8914
- dataMin: P,
8915
- dataMax: L,
8916
- min: O,
8917
- max: E
8918
- } = az(t.getExtremes(), A || {}),
8919
- I = l.parse(f.min),
8920
- D = l.parse(f.max),
8921
- B = P ?? I,
8922
- N = L ?? D,
8923
- z = C - T,
8924
- R = t.categories ? 0 : Math.min(z, N - B),
8925
- W = B - R * (aE(I) ? 0 : f.minPadding),
8926
- H = N + R * (aE(D) ? 0 : f.maxPadding),
8927
- F = t.allowZoomOutside || 1 === k || "zoom" !== n && k > 1,
8928
- X = Math.min(I ?? W, W, F ? O : W),
8929
- G = Math.max(D ?? H, H, F ? E : H);
8930
- (!t.isOrdinal || t.options.overscroll || 1 !== k || o) && (T < X && (T = X, k >= 1 && (C = T + z)), C > G && (C = G, k >= 1 && (T = C - z)), (o || t.series.length && (T !== O || C !== E) && T >= X && C <= G) && (r ? r[t.coll].push({
8942
+ dataMin: E,
8943
+ dataMax: I,
8944
+ min: D,
8945
+ max: B
8946
+ } = az(t.getExtremes(), O || {}),
8947
+ N = l.parse(f.min),
8948
+ z = l.parse(f.max),
8949
+ R = E ?? N,
8950
+ W = I ?? z,
8951
+ H = L - P,
8952
+ F = t.categories ? 0 : Math.min(H, W - R),
8953
+ X = R - F * (aE(N) ? 0 : f.minPadding),
8954
+ G = W + F * (aE(z) ? 0 : f.maxPadding),
8955
+ j = t.allowZoomOutside || 1 === k || "zoom" !== n && k > 1,
8956
+ Y = Math.min(N ?? X, X, j ? D : X),
8957
+ U = Math.max(z ?? G, G, j ? B : G);
8958
+ (!t.isOrdinal || 1 !== k || o) && (P < Y && (P = Y, k >= 1 && (L = P + H)), L > U && (L = U, k >= 1 && (P = L - H)), (o || t.series.length && (P !== D || L !== B) && P >= Y && L <= U) && (r ? r[t.coll].push({
8931
8959
  axis: t,
8932
- min: T,
8933
- max: C
8934
- }) : (t.isPanning = "zoom" !== n, t.isPanning && (p = true), t.setExtremes(o ? void 0 : T, o ? void 0 : C, false, false, {
8960
+ min: P,
8961
+ max: L
8962
+ }) : (t.isPanning = "zoom" !== n, t.isPanning && (p = true), t.setExtremes(o ? void 0 : P, o ? void 0 : L, false, false, {
8935
8963
  move: M,
8936
8964
  trigger: n,
8937
8965
  scale: k
8938
- }), !o && (T > X || C < G) && "mousewheel" !== n && (c = true)), d = true), i && (this[e ? "mouseDownX" : "mouseDownY"] = i[e ? "chartX" : "chartY"]));
8966
+ }), !o && (P > Y || L < U) && "mousewheel" !== n && (c = true)), d = true), this.hasCartesianSeries || o || "mousewheel" === n || (c = true), i && (this[e ? "mouseDownX" : "mouseDownY"] = i[e ? "chartX" : "chartY"]));
8939
8967
  }
8940
8968
  return d && (r ? aW(this, "selection", r, () => {
8941
8969
  delete t.selection, t.trigger = "zoom", this.transform(t);
@@ -9103,7 +9131,7 @@ function requireHighcharts() {
9103
9131
  } = this.chart,
9104
9132
  r = this.fixedRenderer,
9105
9133
  a = ni.fixedSelectors;
9106
- if (s && !i ? t = ".highcharts-yaxis" : s && i ? t = ".highcharts-xaxis" : o && !i ? t = ".highcharts-xaxis" : o && i && (t = ".highcharts-yaxis"), t && !(this.chart.hasParallelCoordinates && ".highcharts-yaxis" === t)) for (let e of [`${t}:not(.highcharts-radial-axis)`, `${t}-labels:not(.highcharts-radial-axis-labels)`]) a7(a, e);else for (let t of [".highcharts-xaxis", ".highcharts-yaxis"]) for (let e of [`${t}:not(.highcharts-radial-axis)`, `${t}-labels:not(.highcharts-radial-axis-labels)`]) a4(a, e);
9134
+ if (s && !i ? t = ".highcharts-yaxis" : s && i || o && !i ? t = ".highcharts-xaxis" : o && i && (t = ".highcharts-yaxis"), t && !(this.chart.hasParallelCoordinates && ".highcharts-yaxis" === t)) for (let e of [`${t}:not(.highcharts-radial-axis)`, `${t}-labels:not(.highcharts-radial-axis-labels)`]) a7(a, e);else for (let t of [".highcharts-xaxis", ".highcharts-yaxis"]) for (let e of [`${t}:not(.highcharts-radial-axis)`, `${t}-labels:not(.highcharts-radial-axis-labels)`]) a4(a, e);
9107
9135
  for (let t of a) [].forEach.call(e.querySelectorAll(t), t => {
9108
9136
  (t.namespaceURI === r.SVG_NS ? r.box : r.box.parentNode).appendChild(t), t.style.pointerEvents = "auto";
9109
9137
  });
@@ -9525,7 +9553,7 @@ function requireHighcharts() {
9525
9553
  }));
9526
9554
  };
9527
9555
  t = t || this.points, a && (t = this.getStackPoints(t));
9528
- for (let o = 0, r = t.length; o < r; ++o) a || (t[o].leftCliff = t[o].rightCliff = t[o].leftNull = t[o].rightNull = void 0), i = t[o].isNull, e = nH(t[o].rectPlotX, t[o].plotX), s = a ? nH(t[o].yBottom, g) : g, i && !u || (u || f(o, o - 1, "left"), i && !a && u || (l.push(t[o]), h.push({
9556
+ for (let o = 0, r = t.length; o < r; ++o) a || (t[o].leftCliff = t[o].rightCliff = t[o].leftNull = t[o].rightNull = void 0), i = t[o].isNull, e = nH(t[o].rectPlotX, t[o].plotX), s = a ? nH(t[o].yBottom, g) : g, (!i || u) && (u || f(o, o - 1, "left"), i && !a && u || (l.push(t[o]), h.push({
9529
9557
  x: o,
9530
9558
  plotX: e,
9531
9559
  plotY: s
@@ -10007,7 +10035,7 @@ function requireHighcharts() {
10007
10035
  o && a && (e.placed = false), g || a && !p ? (e.show(), e.placed = true) : (e.hide(), e.placed = false);
10008
10036
  }
10009
10037
  function s() {
10010
- return this.plotGroup("dataLabelsGroup", "data-labels", this.hasRendered ? "inherit" : "hidden", this.options.dataLabels.zIndex || 6);
10038
+ return this.plotGroup("dataLabelsGroup", "data-labels", this.hasRendered ? "inherit" : "hidden", this.options.dataLabels.zIndex || 6, this.chart.dataLabelsGroup);
10011
10039
  }
10012
10040
  function o(t) {
10013
10041
  let e = this.hasRendered || 0,
@@ -10075,7 +10103,7 @@ function requireHighcharts() {
10075
10103
  zIndex: 1
10076
10104
  }, s.styledMode || (b.fill = "auto" === p ? t.color : p, b.stroke = "auto" === g ? t.color : g, b["stroke-width"] = n.borderWidth), hc(b, (t, e) => {
10077
10105
  void 0 === t && delete b[e];
10078
- })), !v || c && ho(x) && !!(v.div || v.text?.foreignObject) == !!n.useHTML && (v.rotation && n.rotation || v.rotation === n.rotation) || (v = void 0, k = true), c && ho(x) && (v ? b.text = x : (v = r.label(x, 0, 0, n.shape, void 0, void 0, n.useHTML, void 0, "data-label")).addClass(" highcharts-data-label-color-" + t.colorIndex + " " + (n.className || "") + (n.useHTML ? " highcharts-tracker" : "")), v && (v.options = n, v.attr(b), s.styledMode ? f.width && v.css({
10106
+ })), !v || c && ho(x) && !!(v.div || v.text?.foreignObject) == !!n.useHTML && (v.rotation && n.rotation || v.rotation === n.rotation) || (v = void 0, k = true), c && ho(x) && "" !== x && (v ? b.text = x : (v = r.label(x, 0, 0, n.shape, void 0, void 0, n.useHTML, void 0, "data-label")).addClass(" highcharts-data-label-color-" + t.colorIndex + " " + (n.className || "") + (n.useHTML ? " highcharts-tracker" : "")), v && (v.options = n, v.attr(b), s.styledMode ? f.width && v.css({
10079
10107
  width: f.width,
10080
10108
  textOverflow: f.textOverflow,
10081
10109
  whiteSpace: f.whiteSpace
@@ -11127,7 +11155,7 @@ function requireHighcharts() {
11127
11155
  let a = lA(...o.map(t => lC(i?.rules || [], e => e._id === t)).map(t => t?.chartOptions));
11128
11156
  a.isResponsiveOptions = true, o = o.toString() || void 0;
11129
11157
  let n = s?.ruleIds;
11130
- o === n || (s && (this.currentResponsive = void 0, this.updatingResponsive = true, this.update(s.undoOptions, t, true), this.updatingResponsive = false), o ? ((r = lS(a, this.options, true, this.collectionsWithUpdate)).isResponsiveOptions = true, this.currentResponsive = {
11158
+ o !== n && (s && (this.currentResponsive = void 0, this.updatingResponsive = true, this.update(s.undoOptions, t, true), this.updatingResponsive = false), o ? ((r = lS(a, this.options, true, this.collectionsWithUpdate)).isResponsiveOptions = true, this.currentResponsive = {
11131
11159
  ruleIds: o,
11132
11160
  mergedOptions: a,
11133
11161
  undoOptions: r
@@ -11875,6 +11903,7 @@ const DropdownItem = _ref2 => {
11875
11903
  activeBg = "gray.1",
11876
11904
  activeColor = "altiba",
11877
11905
  inactiveColor = "adiba",
11906
+ id,
11878
11907
  onClick
11879
11908
  } = _ref2;
11880
11909
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
@@ -11883,7 +11912,8 @@ const DropdownItem = _ref2 => {
11883
11912
  mih: 70,
11884
11913
  bg: active ? activeBg : {},
11885
11914
  c: active ? activeColor : inactiveColor,
11886
- onClick: onClick
11915
+ onClick: onClick,
11916
+ "data-index": id
11887
11917
  }, /*#__PURE__*/React.createElement(Group, {
11888
11918
  w: 320
11889
11919
  }, /*#__PURE__*/React.createElement(Icons, icon), /*#__PURE__*/React.createElement(Stack, {
@@ -12903,7 +12933,6 @@ const SimpleBody = _ref => {
12903
12933
  h: 50
12904
12934
  }, columns.map((column, index) => {
12905
12935
  const columnIndex = column.id;
12906
- console.log("column: ".concat(column.id, ", type: ").concat(typeof row[column.id]));
12907
12936
  return /*#__PURE__*/React.createElement(Table.Td, {
12908
12937
  key: index
12909
12938
  }, typeof row[columnIndex] === 'function' ? row[columnIndex](columnIndex) : row[columnIndex] || "");
@@ -13007,4 +13036,79 @@ const File = _ref => {
13007
13036
  }, /*#__PURE__*/React.createElement(Icons, rightsection === null || rightsection === void 0 ? void 0 : rightsection.icon)) : undefined)));
13008
13037
  };
13009
13038
 
13010
- export { ApplicationMenu, ApplicationPanel, AvatarLabelPanel, ConnectionPanel, DonutChart, DynamicLogo, DynamicShigaLogo, EqualizerColumn, File, Icons, LabelPanel, PageTitle, PaymentMethod, PaymentMethodAdd, SearchPanel, SideMenu, SimpleArea, SimpleColumn, SimplePanel, SimpleTable, SimpleText, StackedColumn, SubscriptionPlans, TitleWithIndex, TitledPanel, UserMenu, theme };
13039
+ const ErrorModal = _ref => {
13040
+ let {
13041
+ context,
13042
+ id,
13043
+ innerProps
13044
+ } = _ref;
13045
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
13046
+ size: "sm"
13047
+ }, innerProps.modalBody), /*#__PURE__*/React.createElement(Button, {
13048
+ fullWidth: true,
13049
+ mt: "md",
13050
+ onClick: () => context.closeModal(id)
13051
+ }, "Close modal"));
13052
+ };
13053
+
13054
+ const InfoModal = _ref => {
13055
+ let {
13056
+ context,
13057
+ id,
13058
+ innerProps
13059
+ } = _ref;
13060
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
13061
+ size: "sm"
13062
+ }, innerProps.modalBody), /*#__PURE__*/React.createElement(Button, {
13063
+ fullWidth: true,
13064
+ mt: "md",
13065
+ onClick: () => context.closeModal(id)
13066
+ }, "Close modal"));
13067
+ };
13068
+
13069
+ const SimpleModal = _ref => {
13070
+ let {
13071
+ context,
13072
+ id,
13073
+ innerProps
13074
+ } = _ref;
13075
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
13076
+ size: "sm"
13077
+ }, innerProps.modalBody), /*#__PURE__*/React.createElement(Button, {
13078
+ fullWidth: true,
13079
+ mt: "md",
13080
+ onClick: () => context.closeModal(id)
13081
+ }, "Close modal"));
13082
+ };
13083
+
13084
+ const SuccessModal = _ref => {
13085
+ let {
13086
+ context,
13087
+ id,
13088
+ innerProps
13089
+ } = _ref;
13090
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
13091
+ size: "sm"
13092
+ }, innerProps.modalBody), /*#__PURE__*/React.createElement(Button, {
13093
+ fullWidth: true,
13094
+ mt: "md",
13095
+ onClick: () => context.closeModal(id)
13096
+ }, "Close modal"));
13097
+ };
13098
+
13099
+ const TwoFactorVerificationModal = _ref => {
13100
+ let {
13101
+ context,
13102
+ id,
13103
+ innerProps
13104
+ } = _ref;
13105
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Text, {
13106
+ size: "sm"
13107
+ }, innerProps.modalBody), /*#__PURE__*/React.createElement(Button, {
13108
+ fullWidth: true,
13109
+ mt: "md",
13110
+ onClick: () => context.closeModal(id)
13111
+ }, "Close modal"));
13112
+ };
13113
+
13114
+ export { ApplicationMenu, ApplicationPanel, AvatarLabelPanel, ConnectionPanel, DonutChart, DynamicLogo, DynamicShigaLogo, EqualizerColumn, ErrorModal, File, Icons, InfoModal, LabelPanel, PageTitle, PaymentMethod, PaymentMethodAdd, SearchPanel, SideMenu, SimpleArea, SimpleColumn, SimpleModal, SimplePanel, SimpleTable, SimpleText, StackedColumn, SubscriptionPlans, SuccessModal, TitleWithIndex, TitledPanel, TwoFactorVerificationModal, UserMenu, theme };