@arcgis/charts-components 5.1.0-next.76 → 5.1.0-next.77

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.
@@ -11,16 +11,16 @@ import dm from "html2canvas";
11
11
  import um from "jszip";
12
12
  import { html as Za, css as fm } from "lit";
13
13
  import { createRef as mm, ref as Jr } from "lit/directives/ref.js";
14
- import { cloneDeep as De, isEmpty as Ca, debounce as mt, isEqual as Ji } from "lodash-es";
14
+ import { cloneDeep as De, isEmpty as Ca, debounce as mt, isEqual as Qi } from "lodash-es";
15
15
  import { H as ti } from "../../chunks/resources.js";
16
- import { DateAxis as Pe, ValueAxis as Le, CategoryAxis as nt, CategoryAxisDataItem as Ta, DateAxisDataItem as on, XYChart as ge, PieChart as Be, AxisFill as gm, AxisFillCircular as hm, LineSeries as Se, ColumnSeries as tt, PieSeries as Bt, GaugeChart as xt, XYCursor as bc, XYSeries as hi, SerialChart as yc, Cursor as pm, AxisLabel as ws, ColumnSeriesDataItem as Rs, LineSeriesDataItem as Ba, CandlestickSeries as Ye, StepLineSeries as At, LegendDataItem as Xi, Series as Cc, CandlestickSeriesDataItem as bm, PieSeriesDataItem as pi, Legend as ym, AxisRendererX as Tt, AxisRendererCircular as nn, AxisLabelCircular as Bs, ValueAxisDataItem as Ms, AxisRendererY as go, ClockHand as Cm } from "@amcharts/amcharts4/charts.js";
16
+ import { DateAxis as Pe, ValueAxis as Le, CategoryAxis as nt, CategoryAxisDataItem as Ta, DateAxisDataItem as on, XYChart as ge, PieChart as Be, AxisFill as gm, AxisFillCircular as hm, LineSeries as Se, ColumnSeries as tt, PieSeries as Bt, GaugeChart as xt, XYCursor as bc, XYSeries as pi, SerialChart as yc, Cursor as pm, AxisLabel as ws, ColumnSeriesDataItem as Rs, LineSeriesDataItem as Ba, CandlestickSeries as Ye, StepLineSeries as At, LegendDataItem as Gi, Series as Cc, CandlestickSeriesDataItem as bm, PieSeriesDataItem as bi, Legend as ym, AxisRendererX as Tt, AxisRendererCircular as nn, AxisLabelCircular as Bs, ValueAxisDataItem as Ms, AxisRendererY as go, ClockHand as Cm } from "@amcharts/amcharts4/charts.js";
17
17
  import { DateFormatter as xc, NumberFormatter as Sc, Group as xm, Color as Vo, percent as ut, LinePattern as vc, RectPattern as Lc, color as sn, MouseCursorStyle as qt, Label as Wo, DropShadowFilter as Sm, Sprite as Ns, utils as Fc, Tooltip as Ac, Container as vm, RoundedRectangle as Lm, Percent as Eo, Slice as Fm, options as Ka, useTheme as Am, unuseTheme as Tm, create as Ps } from "@amcharts/amcharts4/core.js";
18
18
  import el from "@amcharts/amcharts4/themes/animated.js";
19
19
  import "@arcgis/toolkit/type";
20
20
  import { u as y, w as H, q as me, a as Tc, r as Gt, s as ye, k as z, p as rn, m as kc, l as tl, W as xa, j as Ce, d as Xt, h as Sa, S as il, x as km, o as al, v as Im } from "../../chunks/series-types.js";
21
21
  import { getElementLocale as ln } from "@arcgis/toolkit/intl";
22
22
  import "luxon";
23
- import { e2 as G, M as ii, dv as Yt, bm as Me, ap as j, C as P, eb as Yi, ec as Vs, b5 as os, bk as ho, ed as Ws, ee as di, ef as pt, eg as po, eh as Es, dQ as Ve, ei as bi, ej as Hs, cI as he, ek as Si, bj as cn, el as dn, em as ai, dg as Ic, en as St, d as Un, A as Z, bJ as ta, dJ as zs, ag as bo, eo as Oc, ep as $c, eq as vt, q as ns, aq as Om, dH as $m, cD as Dm, c4 as vi, c5 as ra, dC as ka, B as ee, am as pe, er as wm, H as $e, cE as rt, es as un, et as Ho, c9 as Li, e7 as Fi, e4 as Pi, S as Re, eu as la, c6 as $t, bI as ca, bA as lt, ev as Dt, dr as Dc, c_ as Gs, b0 as Xs, b2 as wc, z as Ys, as as Ui, m as Rc, ew as Us, ex as Bc, ey as fn, bp as qs, aX as Mc, ez as Mt, eA as Et, aY as Nc, cQ as eo, eB as js, aE as _s, eC as Ma, g as Pc, eD as Vc, d6 as dt, a8 as Nt, cJ as yi, eE as Wc, a as mi, eF as Ec, eG as Hc, eH as Zs, bc as zc, a_ as mn, ai as Ks, at as Gc, e1 as Qs, eI as Xc, cM as Js, eJ as Rm, eK as ol, eL as Na, aC as Yc, N as va, P as Uc, i as oi, f as Bm, bE as qc, eM as jc, E as Qa, a1 as Ut, ce as gn, cR as hn, cx as zo, cf as er, eN as _c, cB as Zc, ct as Kc, ci as Mm, cv as Nm, c3 as Go, cs as Pm, cA as Vm, eO as Qc, eP as Jc, $ as Wm, cr as Em, cy as Hm, eQ as qi, eR as zm, eS as pn, eT as L, eU as ed, eV as Gm, cF as Bo, u as Xm, dc as Ym, cT as Um, cG as qm, e3 as Vi, d_ as jm, O as ke, ba as td, bb as _m, bd as id, eW as to, bM as ad, eX as Zm, eY as tr, eZ as Km, e_ as nl, aU as Qm, cL as io, bF as ir, bW as Jm, e$ as od, au as eg, d9 as tg, f0 as ig, cd as ag, cz as og, cp as ng, cw as sg, Q as rg, co as lg, cn as cg, cm as dg, cj as ug, ck as fg, s as Ua, t as To, bQ as nd, dP as ar, f1 as sd, f2 as mg, dI as gg, f3 as hg, bz as ya, cU as Di, cg as pg, d8 as bg, f4 as yg, dY as Cg, c as xg, dM as Sg, dL as vg, dN as Lg, ae as sl, ar as Fg, r as Ag, D as qa, cH as Tg, e8 as kg, f5 as Ig, f6 as Og, cq as $g, d$ as rl, f7 as Dg, f8 as wg, c1 as Rg } from "../../chunks/index.js";
23
+ import { e2 as G, M as ii, dv as Yt, bm as Me, ap as j, C as P, eb as Xi, ec as Vs, b5 as os, bk as ho, ed as Ws, ee as di, ef as pt, eg as po, eh as Es, dQ as Ve, ei as yi, ej as Hs, cI as he, ek as vi, bj as cn, el as dn, em as ai, dg as Ic, en as St, d as Un, A as Z, bJ as ea, dJ as zs, ag as bo, eo as Oc, ep as $c, eq as vt, q as ns, aq as Om, dH as $m, cD as Dm, c4 as Li, c5 as sa, dC as ka, B as ee, am as pe, er as wm, H as $e, cE as rt, es as un, et as Ho, c9 as Fi, e7 as Ai, e4 as Ni, S as Re, eu as ra, c6 as $t, bI as la, bA as lt, ev as Dt, dr as Dc, c_ as Gs, b0 as Xs, b2 as wc, z as Ys, as as Yi, m as Rc, ew as Us, ex as Bc, ey as fn, bp as qs, aX as Mc, ez as Mt, eA as Et, aY as Nc, cQ as eo, eB as js, aE as _s, eC as Ma, g as Pc, eD as Vc, d6 as dt, a8 as Nt, cJ as Ci, eE as Wc, a as mi, eF as Ec, eG as Hc, eH as Zs, bc as zc, a_ as mn, ai as Ks, at as Gc, e1 as Qs, eI as Xc, cM as Js, eJ as Rm, eK as ol, eL as Na, aC as Yc, N as va, P as Uc, i as oi, f as Bm, bE as qc, eM as jc, E as Qa, a1 as Ut, ce as gn, cR as hn, cx as zo, cf as er, eN as _c, cB as Zc, ct as Kc, ci as Mm, cv as Nm, c3 as Go, cs as Pm, cA as Vm, eO as Qc, eP as Jc, $ as Wm, cr as Em, cy as Hm, eQ as Ui, eR as zm, eS as pn, eT as L, eU as ed, eV as Gm, cF as Bo, u as Xm, dc as Ym, cT as Um, cG as qm, e3 as Pi, d_ as jm, O as ke, ba as td, bb as _m, bd as id, eW as to, bM as ad, eX as Zm, eY as tr, eZ as Km, e_ as nl, aU as Qm, cL as io, bF as ir, bW as Jm, e$ as od, au as eg, d9 as tg, f0 as ig, cd as ag, cz as og, cp as ng, cw as sg, Q as rg, co as lg, cn as cg, cm as dg, cj as ug, ck as fg, s as Ua, t as To, bQ as nd, dP as ar, f1 as sd, f2 as mg, dI as gg, f3 as hg, bz as ba, cg as pg, cU as ya, d8 as bg, f4 as yg, dY as Cg, c as xg, dM as Sg, dL as vg, dN as Lg, ae as sl, ar as Fg, r as Ag, D as qa, cH as Tg, e8 as kg, f5 as Ig, f6 as Og, cq as $g, d$ as rl, f7 as Dg, f8 as wg, c1 as Rg } from "../../chunks/index.js";
24
24
  import "@arcgis/core/geometry/support/jsonUtils.js";
25
25
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
26
26
  import "@arcgis/core/rest/support/Query.js";
@@ -48,10 +48,10 @@ import { v5 as ll } from "uuid";
48
48
  import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
49
49
  import { isLight as Ng } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
50
50
  import { Scrollbar as cl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
51
- import { color as oo, Series as ia, percent as Ke, LinePattern as cd, RectanglePattern as Pg, p50 as Ae, p0 as Ge, p100 as Te, Label as st, Rectangle as Uo, DateFormatter as Vg, NumberFormatter as dd, Bullet as Ai, Tooltip as ni, Template as ji, Sprite as ud, Graphics as Pt, Color as Wg, Container as gi, HeatLegend as qo, LinearGradient as Eg, Legend as or, Scrollbar as ss, SerialChart as Ia, time as Hg, RoundedRectangle as no, Slice as so, Timezone as zg, DataItem as Gg, addLicense as Xg, registry as Yg, Root as Ug } from "@amcharts/amcharts5";
51
+ import { color as oo, Series as ta, percent as Ke, LinePattern as cd, RectanglePattern as Pg, p50 as Ae, p0 as Ge, p100 as Te, Label as st, Rectangle as Uo, DateFormatter as Vg, NumberFormatter as dd, Bullet as Ti, Tooltip as ni, Template as qi, Sprite as ud, Graphics as Pt, Color as Wg, Container as hi, HeatLegend as qo, LinearGradient as Eg, Legend as or, Scrollbar as ss, SerialChart as Ia, time as Hg, RoundedRectangle as no, Slice as so, Timezone as zg, DataItem as Gg, addLicense as Xg, registry as Yg, Root as Ug } from "@amcharts/amcharts5";
52
52
  import { PieChart as Zt, PieSeries as gt } from "@amcharts/amcharts5/percent.js";
53
- import { AxisRendererCircular as Qt, RadarCursor as nr, ClockHand as rs, RadarChart as Wi, AxisRendererRadial as qg, RadarLineSeries as sr } from "@amcharts/amcharts5/radar.js";
54
- import { XYChart as Fe, AxisRendererX as bt, LineSeries as be, ColumnSeries as Oe, XYCursor as fd, CategoryAxis as Qe, StepLineSeries as Cn, CandlestickSeries as _i, DateAxis as Ee, ValueAxis as ve, XYSeries as rr, AxisRendererY as Ci, AxisBullet as jg } from "@amcharts/amcharts5/xy.js";
53
+ import { AxisRendererCircular as Qt, RadarCursor as nr, ClockHand as rs, RadarChart as Vi, AxisRendererRadial as qg, RadarLineSeries as sr } from "@amcharts/amcharts5/radar.js";
54
+ import { XYChart as Fe, AxisRendererX as bt, LineSeries as be, ColumnSeries as Oe, XYCursor as fd, CategoryAxis as Qe, StepLineSeries as Cn, CandlestickSeries as ji, DateAxis as Ee, ValueAxis as ve, XYSeries as rr, AxisRendererY as xi, AxisBullet as jg } from "@amcharts/amcharts5/xy.js";
55
55
  import _g from "@amcharts/amcharts5/themes/Animated.js";
56
56
  import Zg from "@amcharts/amcharts5/themes/Responsive.js";
57
57
  import { Exporting as Kg } from "@amcharts/amcharts5/plugins/exporting.js";
@@ -59,7 +59,7 @@ import { curveLinearClosed as Qg, curveLinear as Jg, curveCardinal as eh, curveB
59
59
  import { u as dl } from "../../chunks/useT9n.js";
60
60
  import { g as ah } from "../../chunks/interfaces.js";
61
61
  import { c as oh } from "../../chunks/setup-utils.js";
62
- import { b as Ri, n as nh, e as ul, i as sh, g as rh, c as lh } from "../../chunks/type-guards.js";
62
+ import { b as gi, n as nh, e as ul, i as sh, g as rh, c as lh } from "../../chunks/type-guards.js";
63
63
  import { e as ch, s as dh } from "../../chunks/store.js";
64
64
  import { b as ls, c as cs, L as ds, V as Mo, S as No, a as fl, E as Zn } from "../../chunks/index5.js";
65
65
  import { u as uh, o as fh } from "../../chunks/action-bar-utils.js";
@@ -258,7 +258,7 @@ function kh(t) {
258
258
  function xn(t) {
259
259
  const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = j(i.series) === P.PieFromFields ? ii : n.x;
260
260
  e.forEach((r) => {
261
- const l = Yi(r), c = r[G.pieChart.technicalFieldSliceId], d = l ? n.sliceGrouping?.label : us(a?.slices, c)?.label;
261
+ const l = Xi(r), c = r[G.pieChart.technicalFieldSliceId], d = l ? n.sliceGrouping?.label : us(a?.slices, c)?.label;
262
262
  Ih({ dataContext: r, x: s, newLabel: d });
263
263
  }), kh({ chartConfig: i, chartData: e, fieldList: o });
264
264
  }
@@ -307,7 +307,7 @@ function yo(t) {
307
307
  function cr(t) {
308
308
  const { dataContext: e, pieSlicesSymbols: i, seriesConfig: a } = t;
309
309
  let o = a.fillSymbol ? { ...a.fillSymbol } : os();
310
- if (Yi(e))
310
+ if (Xi(e))
311
311
  o = {
312
312
  ...G.pieChart.sliceGrouping.fillSymbol,
313
313
  ...i?.groupOfSlices?.fillSymbol
@@ -324,54 +324,54 @@ const jo = /* @__PURE__ */ new Map();
324
324
  function wt(t) {
325
325
  t !== void 0 && jo.delete(t);
326
326
  }
327
- function da(t, e) {
327
+ function ca(t, e) {
328
328
  const i = jo.get(t) ?? {};
329
329
  jo.set(t, { ...i, ...e });
330
330
  }
331
- function ua(t, e) {
331
+ function da(t, e) {
332
332
  return jo.get(t)?.[e];
333
333
  }
334
334
  function Dh(t, e) {
335
- return ua(t, e);
335
+ return da(t, e);
336
336
  }
337
337
  function wh(t, e) {
338
- da(t, e);
338
+ ca(t, e);
339
339
  }
340
340
  function Rh(t, e) {
341
- return ua(t, e);
341
+ return da(t, e);
342
342
  }
343
343
  function Bh(t, e) {
344
- da(t, e);
344
+ ca(t, e);
345
345
  }
346
346
  function B(t, e) {
347
- return ua(t, e);
347
+ return da(t, e);
348
348
  }
349
349
  function ae(t, e) {
350
- da(t, e);
350
+ ca(t, e);
351
351
  }
352
352
  function it(t, e) {
353
- return ua(t, e);
353
+ return da(t, e);
354
354
  }
355
355
  function Jt(t, e) {
356
- da(t, e);
356
+ ca(t, e);
357
357
  }
358
358
  function Je(t, e) {
359
- return ua(t, e);
359
+ return da(t, e);
360
360
  }
361
361
  function _e(t, e) {
362
- da(t, e);
362
+ ca(t, e);
363
363
  }
364
364
  function Mh(t, e) {
365
- return ua(t, e);
365
+ return da(t, e);
366
366
  }
367
367
  function Nh(t, e) {
368
- da(t, e);
368
+ ca(t, e);
369
369
  }
370
370
  function Xe(t, e) {
371
- return ua(t, e);
371
+ return da(t, e);
372
372
  }
373
- function Ei(t, e) {
374
- da(t, e);
373
+ function Wi(t, e) {
374
+ ca(t, e);
375
375
  }
376
376
  const F = {
377
377
  ...G
@@ -544,7 +544,7 @@ function hd(t) {
544
544
  const n = Je(e.uid, "categoryFormatter"), s = Je(e.uid, "numberFormatter");
545
545
  if ((s !== void 0 || n !== void 0) && a instanceof Ta) {
546
546
  const r = B(e.chart.uid, "config"), l = j(r?.series), c = B(e.chart.uid, "rendererFieldNames");
547
- let d = Si({
547
+ let d = vi({
548
548
  value: a.category,
549
549
  dataContext: a.dataContext,
550
550
  useRendererLabel: dn(r, c),
@@ -619,7 +619,7 @@ function Xh(t) {
619
619
  r.element instanceof xm && r.element.removeChildren();
620
620
  }));
621
621
  let n = {
622
- ...bi(i)
622
+ ...yi(i)
623
623
  };
624
624
  o && (n = {
625
625
  hour: o ? "numeric" : void 0,
@@ -658,7 +658,7 @@ function Yh(t, e, i, a) {
658
658
  };
659
659
  }
660
660
  function xl(t) {
661
- const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = bi(i), s = B(e.chart.uid, "formatLocale");
661
+ const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = yi(i), s = B(e.chart.uid, "formatLocale");
662
662
  _e(e.uid, {
663
663
  numberFormatter: o ?? Yh(
664
664
  n,
@@ -802,7 +802,7 @@ function yd(t, e) {
802
802
  }
803
803
  return i;
804
804
  }
805
- function aa(t) {
805
+ function ia(t) {
806
806
  const e = t ?? [0, 0, 0, 255];
807
807
  return new Vo({
808
808
  a: e[3] / 255,
@@ -835,7 +835,7 @@ function Jh(t) {
835
835
  function ep(t) {
836
836
  const { fill: e, rotation: i, isLinePattern: a, chartBackgroundColor: o } = t;
837
837
  let n;
838
- return a !== !1 ? (n = new vc(), n.width = F.patternLineProperties.width ?? Number.NaN, n.height = F.patternLineProperties.height ?? Number.NaN, n.strokeWidth = F.patternLineProperties.strokeWidth ?? Number.NaN, n.stroke = e, n.rotation = i ?? Number.NaN) : (n = new Lc(), n.rectWidth = F.patternRectProperties.rectWidth ?? Number.NaN, n.rectHeight = F.patternRectProperties.rectHeight ?? Number.NaN, n.width = F.patternRectProperties.width ?? Number.NaN, n.height = F.patternRectProperties.height ?? Number.NaN, n.fillOpacity = F.patternRectProperties.fillOpacity ?? Number.NaN, n.strokeWidth = F.patternRectProperties.strokeWidth ?? Number.NaN, n.fill = aa(o), n.stroke = e, n.rotation = i ?? Number.NaN), n;
838
+ return a !== !1 ? (n = new vc(), n.width = F.patternLineProperties.width ?? Number.NaN, n.height = F.patternLineProperties.height ?? Number.NaN, n.strokeWidth = F.patternLineProperties.strokeWidth ?? Number.NaN, n.stroke = e, n.rotation = i ?? Number.NaN) : (n = new Lc(), n.rectWidth = F.patternRectProperties.rectWidth ?? Number.NaN, n.rectHeight = F.patternRectProperties.rectHeight ?? Number.NaN, n.width = F.patternRectProperties.width ?? Number.NaN, n.height = F.patternRectProperties.height ?? Number.NaN, n.fillOpacity = F.patternRectProperties.fillOpacity ?? Number.NaN, n.strokeWidth = F.patternRectProperties.strokeWidth ?? Number.NaN, n.fill = ia(o), n.stroke = e, n.rotation = i ?? Number.NaN), n;
839
839
  }
840
840
  function Sl(t) {
841
841
  let e = Number.NaN;
@@ -881,7 +881,7 @@ function tp(t) {
881
881
  }
882
882
  function Ft(t, e) {
883
883
  let i;
884
- e !== void 0 && (i = aa(e));
884
+ e !== void 0 && (i = ia(e));
885
885
  let a = i ?? new Vo({ r: 0, g: 0, b: 0, a: 0 });
886
886
  if (t != null) {
887
887
  const [o, n, s, r] = t;
@@ -1008,9 +1008,9 @@ function ur(t) {
1008
1008
  let s;
1009
1009
  if (i === !0) {
1010
1010
  const r = o ? zs : bo;
1011
- if (e.color = e.color ?? ta({ colorIndex: a, opacity: r }), ao(e) || Yo(e)) {
1011
+ if (e.color = e.color ?? ea({ colorIndex: a, opacity: r }), ao(e) || Yo(e)) {
1012
1012
  const { outline: l } = e;
1013
- l !== void 0 && (l.color = l?.color ?? ta({ colorIndex: a }), e.outline = { ...l });
1013
+ l !== void 0 && (l.color = l?.color ?? ea({ colorIndex: a }), e.outline = { ...l });
1014
1014
  }
1015
1015
  }
1016
1016
  return rd(e) ? s = Ld(e, !0) : Yo(e) ? (e.style ??= F.lineSeries.marker.markerStyle, e.size ??= F.lineSeries.marker.markerBigSize, s = sp(e)) : ao(e) && (s = np(e, n)), s;
@@ -1056,7 +1056,7 @@ function Zo(t) {
1056
1056
  colorRampIndex: n
1057
1057
  }), s !== void 0 && (e.path = s.path, e.rotation = s.angle, e.dx = s.xOffset, e.dy = s.yOffset, Ad(e, s.fill), La(e, s.outline)), ce(e, a), e.disabled = a === !1) : e.disabled = !0, s;
1058
1058
  }
1059
- function ea(t) {
1059
+ function Ji(t) {
1060
1060
  const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
1061
1061
  let s;
1062
1062
  return i !== void 0 ? (s = ur({
@@ -1084,7 +1084,7 @@ function lo(t) {
1084
1084
  e.disabled = !0;
1085
1085
  return r;
1086
1086
  }
1087
- function oa(t) {
1087
+ function aa(t) {
1088
1088
  const { element: e, seriesIndex: i, colorMatch: a, seriesSymbol: o, isChartFillSymbol: n, rendererSymbol: s, seriesConfig: r } = t;
1089
1089
  let l, c;
1090
1090
  a === !0 && s && (l = $c({
@@ -1100,7 +1100,7 @@ function oa(t) {
1100
1100
  }, u = l ?? { ...o };
1101
1101
  switch (o.type) {
1102
1102
  case q.SLS:
1103
- c = ea({
1103
+ c = Ji({
1104
1104
  ...d,
1105
1105
  lineSymbol: u
1106
1106
  });
@@ -1124,7 +1124,7 @@ function oa(t) {
1124
1124
  function vl(t, e) {
1125
1125
  if (e !== void 0) {
1126
1126
  const i = t.properties, { elementColor: a, elementOutlineColor: o, elementOutlineWidth: n, rotation: s, transformation: r } = e, { opacity: l, scale: c } = r ?? {};
1127
- a !== void 0 && (i.fill = aa(a), i.fillOpacity = sn(i.fill.toString()).alpha === 0 ? 0 : 1), o !== void 0 && (i.stroke = aa(o)), n !== void 0 && (i.strokeWidth = n), s !== void 0 && (i.rotation = s), c !== void 0 && (i.scale = c), l !== void 0 && (i.fillOpacity = (i.fillOpacity ?? 1) * l, i.strokeOpacity = (i.strokeOpacity ?? 1) * l);
1127
+ a !== void 0 && (i.fill = ia(a), i.fillOpacity = sn(i.fill.toString()).alpha === 0 ? 0 : 1), o !== void 0 && (i.stroke = ia(o)), n !== void 0 && (i.strokeWidth = n), s !== void 0 && (i.rotation = s), c !== void 0 && (i.scale = c), l !== void 0 && (i.fillOpacity = (i.fillOpacity ?? 1) * l, i.strokeOpacity = (i.strokeOpacity ?? 1) * l);
1128
1128
  }
1129
1129
  }
1130
1130
  function rp(t, e) {
@@ -1134,7 +1134,7 @@ function rp(t, e) {
1134
1134
  color: e.color ?? i.color,
1135
1135
  width: e.width ?? i.width
1136
1136
  };
1137
- ea({ element: t.cursor.lineX, lineSymbol: a }), ea({ element: t.cursor.lineY, lineSymbol: a });
1137
+ Ji({ element: t.cursor.lineX, lineSymbol: a }), Ji({ element: t.cursor.lineY, lineSymbol: a });
1138
1138
  }
1139
1139
  function Td(t) {
1140
1140
  !(t instanceof xt) && !(t instanceof Be) && (t.cursor = new bc());
@@ -1219,16 +1219,16 @@ function dp(t) {
1219
1219
  }
1220
1220
  function Id(t) {
1221
1221
  let e = "";
1222
- return t instanceof hi ? e = t.dataFields?.categoryX ?? t.dataFields?.dateX ?? t.dataFields?.valueX ?? "" : t instanceof Bt && (e = t.dataFields?.category ?? ""), e;
1222
+ return t instanceof pi ? e = t.dataFields?.categoryX ?? t.dataFields?.dateX ?? t.dataFields?.valueX ?? "" : t instanceof Bt && (e = t.dataFields?.category ?? ""), e;
1223
1223
  }
1224
1224
  function Od(t) {
1225
1225
  let e = "";
1226
- return t instanceof hi ? e = t.dataFields?.categoryY ?? t.dataFields?.dateY ?? t.dataFields?.valueY ?? "" : t instanceof Bt && (e = t.dataFields?.value ?? ""), e;
1226
+ return t instanceof pi ? e = t.dataFields?.categoryY ?? t.dataFields?.dateY ?? t.dataFields?.valueY ?? "" : t instanceof Bt && (e = t.dataFields?.value ?? ""), e;
1227
1227
  }
1228
1228
  function $d(t) {
1229
1229
  return B(t.chart.uid, "isRotated") === !0 ? Od(t) : Id(t);
1230
1230
  }
1231
- function Zi(t) {
1231
+ function _i(t) {
1232
1232
  return B(t.chart.uid, "isRotated") === !0 ? Id(t) : Od(t);
1233
1233
  }
1234
1234
  function Sn(t, e = 0) {
@@ -1265,7 +1265,7 @@ async function Dd(t) {
1265
1265
  }
1266
1266
  return n;
1267
1267
  }
1268
- const Bi = {
1268
+ const Ri = {
1269
1269
  Outlier: "outlier",
1270
1270
  Box: "box",
1271
1271
  OutlierToOutlier: "outlier-outlier",
@@ -1274,7 +1274,7 @@ const Bi = {
1274
1274
  BoxToBox: "box-box"
1275
1275
  };
1276
1276
  function fp(t, e) {
1277
- const i = t[G.boxPlot.boxPlotOutlierId] === !0 ? Bi.Outlier : Bi.Box, a = typeof e == "number" ? Bi.Outlier : Bi.Box;
1277
+ const i = t[G.boxPlot.boxPlotOutlierId] === !0 ? Ri.Outlier : Ri.Box, a = typeof e == "number" ? Ri.Outlier : Ri.Box;
1278
1278
  return `${i}-${a}`;
1279
1279
  }
1280
1280
  function mp(t) {
@@ -1379,13 +1379,13 @@ function Cp(t) {
1379
1379
  let R = bp({ oneSelectedItem: u, dataContext: l, xAxisField: a });
1380
1380
  if (R)
1381
1381
  switch (fp(u, A)) {
1382
- case Bi.OutlierToOutlier:
1382
+ case Ri.OutlierToOutlier:
1383
1383
  R = mp({ oneSelectedItem: u, dataContext: l, selectedOutlierKey: g });
1384
1384
  break;
1385
- case Bi.OutlierToBox:
1385
+ case Ri.OutlierToBox:
1386
1386
  R = gp({ elementMin: k, elementMax: O, selectedOutlierValue: T });
1387
1387
  break;
1388
- case Bi.BoxToOutlier:
1388
+ case Ri.BoxToOutlier:
1389
1389
  R = hp({
1390
1390
  selectedMin: I,
1391
1391
  selectedMax: w,
@@ -1394,7 +1394,7 @@ function Cp(t) {
1394
1394
  iqrField: v
1395
1395
  });
1396
1396
  break;
1397
- case Bi.BoxToBox:
1397
+ case Ri.BoxToBox:
1398
1398
  R = pp({
1399
1399
  selectedMin: I,
1400
1400
  selectedMax: w,
@@ -1476,7 +1476,7 @@ function vn(t) {
1476
1476
  u = (b) => {
1477
1477
  let C, x = o;
1478
1478
  if (c === P.BarAndLineSplitByNoAggregation) {
1479
- const S = ra({ where: l, keepSurroundingQuotes: !1, escape: !1 });
1479
+ const S = sa({ where: l, keepSurroundingQuotes: !1, escape: !1 });
1480
1480
  x = `${o}_${S}`;
1481
1481
  }
1482
1482
  if (o !== void 0 && o in b && o in p)
@@ -1539,7 +1539,7 @@ function vn(t) {
1539
1539
  break;
1540
1540
  case y.PieSeries:
1541
1541
  n !== void 0 && (u = (p) => {
1542
- const b = i, C = Yi(b), x = [b];
1542
+ const b = i, C = Xi(b), x = [b];
1543
1543
  return C && x.push(...yo({ groupOfSlicesDataContext: b }) ?? []), x.some(
1544
1544
  (v) => fr({
1545
1545
  sliceDataContext: v,
@@ -1553,7 +1553,7 @@ function vn(t) {
1553
1553
  }
1554
1554
  return u !== void 0 && (d = a.some(u)), d;
1555
1555
  }
1556
- function xi(t) {
1556
+ function Si(t) {
1557
1557
  const {
1558
1558
  isFeatureCollectionLayer: e,
1559
1559
  dataContext: i,
@@ -1571,12 +1571,12 @@ function xi(t) {
1571
1571
  r !== y.PieSeries && (e || l !== P.BarAndLineNoAggregation && l !== P.BarAndLineSplitByNoAggregation) && o.forEach((m) => {
1572
1572
  m !== a && delete d[m];
1573
1573
  });
1574
- const u = Si({
1574
+ const u = vi({
1575
1575
  value: i[n],
1576
1576
  dataContext: i,
1577
1577
  keepNullValues: !0
1578
1578
  });
1579
- d[n] = u, !he(s) && !Dm(s) && (d[vi(s)] = ra({ where: s, escape: !1 }));
1579
+ d[n] = u, !he(s) && !Dm(s) && (d[Li(s)] = sa({ where: s, escape: !1 }));
1580
1580
  } else if (r === y.BoxPlotSeries) {
1581
1581
  d = { [n]: i[n] }, [
1582
1582
  ka.uniqueIdsName,
@@ -1626,7 +1626,7 @@ function co(t) {
1626
1626
  iLocale: a,
1627
1627
  formatLocale: o
1628
1628
  });
1629
- return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e, bi(i)) : (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat && (n = s.format(e, bi(i))), n;
1629
+ return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e, yi(i)) : (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat && (n = s.format(e, yi(i))), n;
1630
1630
  }
1631
1631
  function kt(t) {
1632
1632
  const { chart: e, config: i } = t;
@@ -1898,7 +1898,7 @@ function Qn(t) {
1898
1898
  function $p(t, e) {
1899
1899
  let i = 0;
1900
1900
  if (t !== void 0 && e !== void 0) {
1901
- const a = Li(e.series), o = j(e.series), n = Fi(e);
1901
+ const a = Fi(e.series), o = j(e.series), n = Ai(e);
1902
1902
  t.data.forEach((s) => {
1903
1903
  switch (o) {
1904
1904
  case P.BoxPlotMonoField:
@@ -1927,7 +1927,7 @@ function Fl() {
1927
1927
  return (t) => {
1928
1928
  const e = B(t.chart.uid, "config");
1929
1929
  let i = !1;
1930
- if (e !== void 0 && t instanceof hi) {
1930
+ if (e !== void 0 && t instanceof pi) {
1931
1931
  const a = $p(t.chart, e);
1932
1932
  let o = 0, n = 0, s = 0, r = 0, l = 0;
1933
1933
  t.chart.series.values.forEach((u) => {
@@ -1936,7 +1936,7 @@ function Fl() {
1936
1936
  else if (u instanceof Se && !(u instanceof At)) {
1937
1937
  const m = Ne(u);
1938
1938
  if (m !== void 0 && !m.disabled) {
1939
- const g = m.clones.values.filter((h) => !(h.dataItem instanceof Xi))?.length ?? 0;
1939
+ const g = m.clones.values.filter((h) => !(h.dataItem instanceof Gi))?.length ?? 0;
1940
1940
  if (it(u.uid, "isBoxPlotMeanLineSeries") === !0) {
1941
1941
  r += g;
1942
1942
  const h = u.data.filter(
@@ -2033,7 +2033,7 @@ function wp(t) {
2033
2033
  onReadyEvent: o
2034
2034
  });
2035
2035
  }
2036
- function fa(t) {
2036
+ function ua(t) {
2037
2037
  const { defaultChartItemRole: e } = F.aria;
2038
2038
  t instanceof Ye || t instanceof tt ? (t.columns.template.properties.role = e, t.columns.template.focusable = !0, t.columns.template.hoverOnFocus = !0, t.itemReaderText = Ho()) : t instanceof At ? t.segments.template.properties.role = e : t instanceof Se ? t.bullets.values.forEach((i) => {
2039
2039
  i.focusable = !0, i.properties.role = e, i.readerTitle = Ho(), i.hoverOnFocus = !0;
@@ -2067,7 +2067,7 @@ function Bp(t, e) {
2067
2067
  }
2068
2068
  return i;
2069
2069
  }
2070
- function ma(t) {
2070
+ function fa(t) {
2071
2071
  const { element: e, customSelectionTheme: i, useNativeState: a } = t, o = a === !0 ? at.Active : at.CustomActive, n = e.states.getKey(o) ?? e.states.create(o), s = e.states.getKey(at.CustomInactive) ?? e.states.create(at.CustomInactive), { selectedElementsTheme: r, nonSelectedElementsTheme: l } = i ?? F.selectionTheme ?? {};
2072
2072
  vl(n, r), vl(s, l);
2073
2073
  }
@@ -2107,7 +2107,7 @@ function hr(t, e) {
2107
2107
  return t.values.filter((i) => {
2108
2108
  let a = !1;
2109
2109
  const o = !i.isActive;
2110
- if (!(i.dataItem instanceof Xi)) {
2110
+ if (!(i.dataItem instanceof Gi)) {
2111
2111
  i.isActive = !i.isActive;
2112
2112
  const s = B(e.uid, "filterBySelection") !== !0 && o;
2113
2113
  Vt({ element: i, selected: s }), a = o;
@@ -2119,7 +2119,7 @@ function Al(t, e) {
2119
2119
  let i = [];
2120
2120
  const { columns: a, chart: o } = t, n = B(o.uid, "config");
2121
2121
  if (n && a !== void 0 && t.visible) {
2122
- const s = n?.series[0].x, r = t?.dataFields?.customValue ?? "", l = Sn(t, e), c = Tn(t, n), d = l === y.BoxPlotSeries ? c?.y : Zi(t), u = {
2122
+ const s = n?.series[0].x, r = t?.dataFields?.customValue ?? "", l = Sn(t, e), c = Tn(t, n), d = l === y.BoxPlotSeries ? c?.y : _i(t), u = {
2123
2123
  element: {},
2124
2124
  yAxisField: d,
2125
2125
  xAxisField: s,
@@ -2145,7 +2145,7 @@ function Tl(t, e) {
2145
2145
  if (a !== void 0) {
2146
2146
  const { chart: o } = t, n = B(o.uid, "config");
2147
2147
  if (n) {
2148
- const s = n.series[0].x ?? "", r = Zi(t), l = t?.dataFields?.customValue ?? "", c = {
2148
+ const s = n.series[0].x ?? "", r = _i(t), l = t?.dataFields?.customValue ?? "", c = {
2149
2149
  element: {},
2150
2150
  xAxisField: s,
2151
2151
  yAxisField: r,
@@ -2171,7 +2171,7 @@ function Mp(t) {
2171
2171
  if (t.visible) {
2172
2172
  const { chart: i } = t, a = B(i.uid, "config");
2173
2173
  if (a) {
2174
- const o = $d(t), n = Zi(t), s = {
2174
+ const o = $d(t), n = _i(t), s = {
2175
2175
  element: {},
2176
2176
  xAxisField: o,
2177
2177
  yAxisField: n,
@@ -2182,7 +2182,7 @@ function Mp(t) {
2182
2182
  e = hr(t.slices, i).map(
2183
2183
  (l) => {
2184
2184
  const c = l.dataItem?.dataContext ?? {};
2185
- return Yi(c) && (r = yo({
2185
+ return Xi(c) && (r = yo({
2186
2186
  groupOfSlicesDataContext: c
2187
2187
  })), {
2188
2188
  ...s,
@@ -2205,7 +2205,7 @@ function Mp(t) {
2205
2205
  function Np(t) {
2206
2206
  const { chart: e, selectionSource: i, chartConfig: a } = t;
2207
2207
  let o = !1, n = [];
2208
- if (Pi(a)) {
2208
+ if (Ni(a)) {
2209
2209
  if (o = vt(a), n = e.series.values.filter((s) => !(s instanceof At)), i === Re.SelectionByClick) {
2210
2210
  const s = /* @__PURE__ */ new Set(), r = n.find(
2211
2211
  (l) => l instanceof Ye && l.isHover
@@ -2231,8 +2231,8 @@ async function Gd(t) {
2231
2231
  chartConfig: r
2232
2232
  }).forEach((g, h) => {
2233
2233
  const p = Tn(g, r);
2234
- if (r && g.visible && g instanceof hi) {
2235
- const C = Sn(g, h) === y.BoxPlotSeries ? p?.y : Zi(g), x = g.dataFields?.customValue ?? "", S = {
2234
+ if (r && g.visible && g instanceof pi) {
2235
+ const C = Sn(g, h) === y.BoxPlotSeries ? p?.y : _i(g), x = g.dataFields?.customValue ?? "", S = {
2236
2236
  element: {},
2237
2237
  yAxisField: C,
2238
2238
  xAxisField: l,
@@ -2242,7 +2242,7 @@ async function Gd(t) {
2242
2242
  };
2243
2243
  let v;
2244
2244
  g instanceof tt || g instanceof Ye ? v = g.columns?.values : g instanceof At ? v = g.segments.values : g instanceof Se && (v = Ne(g)?.clones?.values, S.uniqueFeature = !0), v !== void 0 && (d = [...d, ...v], v.forEach((A, T) => {
2245
- if (!(A.dataItem instanceof Xi)) {
2245
+ if (!(A.dataItem instanceof Gi)) {
2246
2246
  const k = A.isActive, O = A === n || Bp(A, i);
2247
2247
  O && (u = !1);
2248
2248
  let I = !1;
@@ -2355,7 +2355,7 @@ function Ep(t) {
2355
2355
  e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(N.Hit), e.slices.template.events.enableType(N.DoubleHit), e.labels.template.clickable = !0, e.labels.template.togglable = !0, e.labels.template.events.enableType(N.Hit), e.labels.template.events.enableType(N.DoubleHit));
2356
2356
  } else t instanceof ge && (t.xAxes.each((e) => Qo(e, !1)), t.yAxes.each((e) => Qo(e, !1)), t.events.enableType(N.Up));
2357
2357
  }
2358
- function Hi(t) {
2358
+ function Ei(t) {
2359
2359
  const { element: e, stylingInfo: i, stateKey: a = "default" } = t;
2360
2360
  if (e !== void 0 && i !== void 0) {
2361
2361
  const o = e.states.getKey(a)?.properties ?? e.defaultState.properties;
@@ -2368,10 +2368,10 @@ function Hi(t) {
2368
2368
  function pr(t) {
2369
2369
  return t.values.every((i) => i.isReady());
2370
2370
  }
2371
- function ga(t, e) {
2371
+ function ma(t, e) {
2372
2372
  t.events.on(N.Ready, () => {
2373
2373
  const { chart: i } = t;
2374
- i !== void 0 && pr(t.chart.series) && (Rp(i), e(), la(t.chart.htmlContainer));
2374
+ i !== void 0 && pr(t.chart.series) && (Rp(i), e(), ra(t.chart.htmlContainer));
2375
2375
  });
2376
2376
  }
2377
2377
  function Oa(t, e) {
@@ -2486,7 +2486,7 @@ function qd(t, e) {
2486
2486
  if (d !== void 0) {
2487
2487
  const u = kt({ config: s }), m = u ? c.valueX : c.valueY, g = (u ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, h = c.dataContext ?? {};
2488
2488
  if (h !== void 0) {
2489
- const p = B(n.uid, "rendererFieldNames"), b = Si({
2489
+ const p = B(n.uid, "rendererFieldNames"), b = vi({
2490
2490
  value: h[d.x],
2491
2491
  dataContext: h,
2492
2492
  useRendererLabel: dn(s, p),
@@ -2651,7 +2651,7 @@ function Yp(t) {
2651
2651
  if (h === !1 || p === !1)
2652
2652
  u = () => "";
2653
2653
  else {
2654
- const b = g.axes, C = b[0].valueFormat, x = b[1].valueFormat, S = j(g.series), v = i?.find((R) => R.name === s.x)?.type === bn.TimeOnly, A = $t(g) === me.Stacked100, T = ca(lt(a)).idField, k = Me(i, s.x), O = Oa(k, b[0].title?.content.text), I = Yd({
2654
+ const b = g.axes, C = b[0].valueFormat, x = b[1].valueFormat, S = j(g.series), v = i?.find((R) => R.name === s.x)?.type === bn.TimeOnly, A = $t(g) === me.Stacked100, T = la(lt(a)).idField, k = Me(i, s.x), O = Oa(k, b[0].title?.content.text), I = Yd({
2655
2655
  config: g,
2656
2656
  fieldList: i,
2657
2657
  objectIdField: T,
@@ -2699,7 +2699,7 @@ function Yp(t) {
2699
2699
  case P.BarAndLineSplitByNoAggregation:
2700
2700
  case P.BarAndLineSplitBy:
2701
2701
  {
2702
- const Q = vi(s.query?.where, !1), ne = Dc({
2702
+ const Q = Li(s.query?.where, !1), ne = Dc({
2703
2703
  value: Me(i, Q)
2704
2704
  });
2705
2705
  re.push(
@@ -2760,10 +2760,10 @@ function Up(t) {
2760
2760
  if (c !== void 0) {
2761
2761
  const d = l?.dataContext ?? {};
2762
2762
  if (d !== void 0) {
2763
- const u = Si({
2763
+ const u = vi({
2764
2764
  value: d[c.x],
2765
2765
  dataContext: d,
2766
- useRendererLabel: Ui(a),
2766
+ useRendererLabel: Yi(a),
2767
2767
  specificField: G.xAxisField
2768
2768
  });
2769
2769
  let m = ai(d);
@@ -2790,10 +2790,10 @@ function qp(t) {
2790
2790
  if (l !== void 0) {
2791
2791
  const c = r.dataContext ?? {};
2792
2792
  if (c !== void 0) {
2793
- const d = Si({
2793
+ const d = vi({
2794
2794
  value: c[l.x],
2795
2795
  dataContext: c,
2796
- useRendererLabel: Ui(a),
2796
+ useRendererLabel: Yi(a),
2797
2797
  specificField: G.xAxisField
2798
2798
  });
2799
2799
  let u = ai(c);
@@ -2821,10 +2821,10 @@ function jp(t) {
2821
2821
  if (l !== void 0) {
2822
2822
  const c = r.dataContext ?? {};
2823
2823
  if (c !== void 0) {
2824
- const d = Si({
2824
+ const d = vi({
2825
2825
  value: c[l.x],
2826
2826
  dataContext: c,
2827
- useRendererLabel: Ui(a),
2827
+ useRendererLabel: Yi(a),
2828
2828
  specificField: G.xAxisField
2829
2829
  });
2830
2830
  let u = ai(c);
@@ -2934,7 +2934,7 @@ function Jp(t) {
2934
2934
  if (l !== void 0) {
2935
2935
  const c = B(l.uid, "config");
2936
2936
  if (c !== void 0) {
2937
- const d = c.axes, u = d?.[0].valueFormat, { showMean: m } = c, g = j(c.series), h = vi(a.query?.where), p = Me(i, h), b = ra({
2937
+ const d = c.axes, u = d?.[0].valueFormat, { showMean: m } = c, g = j(c.series), h = Li(a.query?.where), p = Me(i, h), b = sa({
2938
2938
  where: a.query?.where,
2939
2939
  escape: !1
2940
2940
  }), C = Me(i, a.x);
@@ -3035,7 +3035,7 @@ function eb(t) {
3035
3035
  }
3036
3036
  function tb(t) {
3037
3037
  const e = ri(F.dataLabelInitialize);
3038
- return Ei(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Pd(e), Bd(y.LineSeries, e), Md(y.LineSeries, e), ps(e, t), e.html = "{valueX}", e;
3038
+ return Wi(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Pd(e), Bd(y.LineSeries, e), Md(y.LineSeries, e), ps(e, t), e.html = "{valueX}", e;
3039
3039
  }
3040
3040
  function ib(t) {
3041
3041
  const { series: e } = t, i = hs(e, "bullets");
@@ -3346,7 +3346,7 @@ function cb(t) {
3346
3346
  });
3347
3347
  }
3348
3348
  function db(t) {
3349
- Ei(t.valueLabels.template.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapter.add("htmlOutput", (e, i) => {
3349
+ Wi(t.valueLabels.template.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapter.add("htmlOutput", (e, i) => {
3350
3350
  let a = e;
3351
3351
  const o = Rh(
3352
3352
  t.uid,
@@ -3420,7 +3420,7 @@ function ub(t) {
3420
3420
  }
3421
3421
  function fb(t) {
3422
3422
  const { dataContext: e } = t.target.dataItem ?? {};
3423
- if (e instanceof pi) {
3423
+ if (e instanceof bi) {
3424
3424
  const { component: i } = e;
3425
3425
  i instanceof Bt && i.showTooltip();
3426
3426
  }
@@ -3566,7 +3566,7 @@ function Cb(t, e) {
3566
3566
  const i = t.target.dataItem, a = t.target.isActive;
3567
3567
  if (i?.dataContext !== void 0) {
3568
3568
  const { dataContext: o } = i, n = { visible: a };
3569
- if (o instanceof pi)
3569
+ if (o instanceof bi)
3570
3570
  B(e.uid, "isNonAggregatedChart") === !0 ? n.sliceData = o.dataContext : n.sliceId = o.category;
3571
3571
  else if (o instanceof Ye) {
3572
3572
  const r = o.id, l = xo(e, r);
@@ -3581,9 +3581,9 @@ function Cb(t, e) {
3581
3581
  c !== void 0 && ce(c, a), d !== void 0 && ce(d, a), u !== void 0 && ce(u, a), n.seriesId = o.id;
3582
3582
  } else
3583
3583
  n.seriesId = o.id;
3584
- const s = o instanceof pi ? o.component : o;
3585
- (s instanceof hi || s instanceof Bt) && s.events.once(N.Validated, () => {
3586
- s instanceof hi && (fu(s), s.events.dispatchImmediately(N.Validated, {
3584
+ const s = o instanceof bi ? o.component : o;
3585
+ (s instanceof pi || s instanceof Bt) && s.events.once(N.Validated, () => {
3586
+ s instanceof pi && (fu(s), s.events.dispatchImmediately(N.Validated, {
3587
3587
  type: N.Validated,
3588
3588
  target: s
3589
3589
  }));
@@ -3593,7 +3593,7 @@ function Cb(t, e) {
3593
3593
  ), c = l !== void 0 && l.length > 0, d = B(e.uid, "actionMode") ?? F.actionMode;
3594
3594
  let u;
3595
3595
  s instanceof tt ? u = s.columns : r ? u = s.slices : s instanceof Se && (yb(s), u = Ne(s)?.clones), u?.each((m) => {
3596
- m.dataItem instanceof Xi || (Vt({
3596
+ m.dataItem instanceof Gi || (Vt({
3597
3597
  element: m,
3598
3598
  selected: m.isActive,
3599
3599
  useNativeState: r,
@@ -3693,7 +3693,7 @@ function $o(t, e) {
3693
3693
  let a = i;
3694
3694
  const o = t.dataItem?.dataContext;
3695
3695
  if (o !== void 0) {
3696
- const n = o instanceof pi ? o.component?.chart : o.chart;
3696
+ const n = o instanceof bi ? o.component?.chart : o.chart;
3697
3697
  if (n !== void 0) {
3698
3698
  const s = B(n.uid, "config"), { rectangleMarkerRadius: r, roundedMarkerRadius: l } = F.legendProperties;
3699
3699
  a = s?.legend?.roundMarkers === !0 ? l : r;
@@ -3795,10 +3795,10 @@ function Bb(t) {
3795
3795
  selectionTheme: r,
3796
3796
  ignoreSmoothRenderingLimit: l
3797
3797
  } = t, c = i.series.length, { rotated: d } = i, u = i.series[a], { y: m, name: g, id: h, assignToSecondValueAxis: p } = u, b = new Se();
3798
- b.id = h, ga(b, s), Pa(b, g);
3798
+ b.id = h, ma(b, s), Pa(b, g);
3799
3799
  let C, x;
3800
3800
  d !== !0 ? (C = o[0], x = p === !0 && o[2] ? o[2] : o[1]) : (C = p === !0 && o[2] ? o[2] : o[0], x = o[1]), C !== void 0 && (b.xAxis = C), x !== void 0 && (b.yAxis = x);
3801
- const S = kt({ chart: e }), v = j(i.series), A = v === P.BarAndLineSplitByNoAggregation ? `${m.toString()}_${ra({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [m].flat()[0];
3801
+ const S = kt({ chart: e }), v = j(i.series), A = v === P.BarAndLineSplitByNoAggregation ? `${m.toString()}_${sa({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [m].flat()[0];
3802
3802
  S ? b.dataFields.valueX = A : b.dataFields.valueY = A;
3803
3803
  const T = S ? o[1] : o[0];
3804
3804
  if (T !== void 0) {
@@ -3816,14 +3816,14 @@ function Bb(t) {
3816
3816
  rendererType: fn(i.chartRenderer, k?.renderer)
3817
3817
  }), ou(u, b);
3818
3818
  const O = mr({ chart: e, lineSeries: b, applyPropertiesToClones: !1 });
3819
- return qd(O, b), tb(b), ma({ element: O, customSelectionTheme: r }), Co({ chart: e, element: O, queryObject: n }), Ip({
3819
+ return qd(O, b), tb(b), fa({ element: O, customSelectionTheme: r }), Co({ chart: e, element: O, queryObject: n }), Ip({
3820
3820
  chart: e,
3821
3821
  numberOfChartSeries: c,
3822
3822
  series: b,
3823
3823
  seriesType: y.LineSeries,
3824
3824
  marker: O,
3825
3825
  ignoreSmoothRenderingLimit: l
3826
- }), xr(b), fa(b), b;
3826
+ }), xr(b), ua(b), b;
3827
3827
  }
3828
3828
  function Mb(t) {
3829
3829
  const { series: e, seriesIndex: i, chartSubType: a, seriesConfig: o, colorMatch: n, lineColor: s, rendererType: r } = t, l = Ne(e);
@@ -3835,7 +3835,7 @@ function Mb(t) {
3835
3835
  const m = /* @__PURE__ */ new Set();
3836
3836
  let g;
3837
3837
  Zo({ element: l, markerSymbol: u }), l.clones.each((h) => {
3838
- if (h.dataItem instanceof Xi)
3838
+ if (h.dataItem instanceof Gi)
3839
3839
  Zo({ element: h, markerSymbol: u }), h.states.getKey(at.CustomActive)?.reset(), h.states.getKey(at.CustomInactive)?.reset();
3840
3840
  else {
3841
3841
  const p = h.dataItem?.dataContext, b = Mt({
@@ -3844,7 +3844,7 @@ function Mb(t) {
3844
3844
  chartSubType: a,
3845
3845
  colorMatch: n,
3846
3846
  rendererType: r
3847
- }), C = oa({
3847
+ }), C = aa({
3848
3848
  seriesConfig: o,
3849
3849
  seriesIndex: i,
3850
3850
  seriesSymbol: u,
@@ -3852,9 +3852,9 @@ function Mb(t) {
3852
3852
  colorMatch: n,
3853
3853
  rendererSymbol: b
3854
3854
  });
3855
- d = C.symbolWithColorInfo, g = C.stylingInfo, Hi({ element: h, stylingInfo: g }), m.add(JSON.stringify(g));
3855
+ d = C.symbolWithColorInfo, g = C.stylingInfo, Ei({ element: h, stylingInfo: g }), m.add(JSON.stringify(g));
3856
3856
  }
3857
- }), c = m.size > 1, c || Hi({ element: l, stylingInfo: g });
3857
+ }), c = m.size > 1, c || Ei({ element: l, stylingInfo: g });
3858
3858
  }
3859
3859
  return c ? void 0 : d;
3860
3860
  }
@@ -3880,7 +3880,7 @@ function au(t) {
3880
3880
  chartSubType: o,
3881
3881
  colorMatch: n,
3882
3882
  rendererType: s
3883
- }), c = oa({
3883
+ }), c = aa({
3884
3884
  seriesConfig: a,
3885
3885
  seriesIndex: i,
3886
3886
  seriesSymbol: a.lineSymbol ?? Mc(i),
@@ -3948,7 +3948,7 @@ function Vb(t) {
3948
3948
  const x = i.dataFields?.customValue ?? "";
3949
3949
  (b === P.BarAndLineSplitBy || b === P.BarAndLineSplitByNoAggregation) && (C = qs({
3950
3950
  queryObject: l,
3951
- fieldName: vi(x),
3951
+ fieldName: Li(x),
3952
3952
  fieldValue: C
3953
3953
  }) ?? C), Pa(i, C), Ol(i, e), gr({ series: i, seriesConfig: e, rotationChanged: o, stackedType: r, isRotated: p }), Ol(i, e), An({
3954
3954
  // TODO: Remove the type assertion and correct the typings
@@ -3993,26 +3993,26 @@ function vr(t, e) {
3993
3993
  }
3994
3994
  function Wb(t) {
3995
3995
  const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, hideLoaderHandle: n, selectionTheme: s, queryObject: r } = t, l = vt(a), c = a.series[o], [d, u] = i, m = new Ye();
3996
- return m.hoverable = !0, ga(m, n), l || (ma({
3996
+ return m.hoverable = !0, ma(m, n), l || (fa({
3997
3997
  element: m.columns.template,
3998
3998
  customSelectionTheme: s
3999
- }), Co({ chart: e, element: m.columns.template, queryObject: r })), m.id = c.id, d !== void 0 && (m.xAxis = d), u !== void 0 && (m.yAxis = u), m.simplifiedProcessing = !0, m.columns.template.applyOnClones = !0, m.riseFromOpenState.reset(), m.riseFromPreviousState.reset(), m.dropFromOpenState.reset(), m.dropFromPreviousState.reset(), Pa(m, c.name), fa(m), m;
3999
+ }), Co({ chart: e, element: m.columns.template, queryObject: r })), m.id = c.id, d !== void 0 && (m.xAxis = d), u !== void 0 && (m.yAxis = u), m.simplifiedProcessing = !0, m.columns.template.applyOnClones = !0, m.riseFromOpenState.reset(), m.riseFromPreviousState.reset(), m.dropFromOpenState.reset(), m.dropFromPreviousState.reset(), Pa(m, c.name), ua(m), m;
4000
4000
  }
4001
4001
  function es(t) {
4002
4002
  const { axisList: e = [], chartConfig: i, seriesIndex: a, type: o, hideLoaderHandle: n, selectionTheme: s } = t, r = i.series[a], [l, c] = e, d = new At();
4003
- return d.hoverable = !0, ga(d, n), d.id = `${r.id}_${o}`, l !== void 0 && (d.xAxis = l), c !== void 0 && (d.yAxis = c), d.noRisers = !0, d.simplifiedProcessing = !0, ma({
4003
+ return d.hoverable = !0, ma(d, n), d.id = `${r.id}_${o}`, l !== void 0 && (d.xAxis = l), c !== void 0 && (d.yAxis = c), d.noRisers = !0, d.simplifiedProcessing = !0, fa({
4004
4004
  element: d.segments.template,
4005
4005
  customSelectionTheme: s
4006
- }), d.hiddenInLegend = !0, fa(d), d;
4006
+ }), d.hiddenInLegend = !0, ua(d), d;
4007
4007
  }
4008
4008
  function Eb(t) {
4009
4009
  const { chart: e, axisList: i = [], chartConfig: a, hideLoaderHandle: o, seriesIndex: n, selectionTheme: s, queryObject: r } = t, l = a.series[n], c = vt(a), [d, u] = i, m = new Se();
4010
- Jt(m.uid, { isBoxPlotOutliersSeries: !0 }), ga(m, o), m.id = `${l.id}_${ue.Outliers}`, d !== void 0 && (m.xAxis = d), u !== void 0 && (m.yAxis = u), m.simplifiedProcessing = !0, m.hiddenInLegend = !0, m.strokeOpacity = 0;
4010
+ Jt(m.uid, { isBoxPlotOutliersSeries: !0 }), ma(m, o), m.id = `${l.id}_${ue.Outliers}`, d !== void 0 && (m.xAxis = d), u !== void 0 && (m.yAxis = u), m.simplifiedProcessing = !0, m.hiddenInLegend = !0, m.strokeOpacity = 0;
4011
4011
  const g = mr({ chart: e, lineSeries: m });
4012
- return c || (ma({
4012
+ return c || (fa({
4013
4013
  element: g,
4014
4014
  customSelectionTheme: s
4015
- }), Co({ chart: e, element: g, queryObject: r })), fa(m), m;
4015
+ }), Co({ chart: e, element: g, queryObject: r })), ua(m), m;
4016
4016
  }
4017
4017
  function Va(t) {
4018
4018
  const {
@@ -4093,9 +4093,9 @@ function Va(t) {
4093
4093
  }
4094
4094
  function Hb(t) {
4095
4095
  const { chart: e, axisList: i = [], chartConfig: a, hideLoaderHandle: o, seriesIndex: n, selectionTheme: s, queryObject: r } = t, l = a.series[n], [c, d] = i, u = new Se();
4096
- Jt(u.uid, { isBoxPlotMeanLineSeries: !0 }), ga(u, o), u.id = l.id, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0;
4096
+ Jt(u.uid, { isBoxPlotMeanLineSeries: !0 }), ma(u, o), u.id = l.id, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0;
4097
4097
  const m = mr({ chart: e, lineSeries: u });
4098
- return ma({ element: m, customSelectionTheme: s }), Co({ chart: e, element: m, queryObject: r }), fa(u), Kp(u), Va({
4098
+ return fa({ element: m, customSelectionTheme: s }), Co({ chart: e, element: m, queryObject: r }), ua(u), Kp(u), Va({
4099
4099
  chartConfig: a,
4100
4100
  seriesConfig: l,
4101
4101
  meanLineSeries: u,
@@ -4146,7 +4146,7 @@ function Gb(t) {
4146
4146
  chartSubType: o,
4147
4147
  rendererType: s
4148
4148
  });
4149
- a?.outline !== void 0 && l && (r.outline.stroke = aa(F.boxPlot.boxPlotWhiskersColor));
4149
+ a?.outline !== void 0 && l && (r.outline.stroke = ia(F.boxPlot.boxPlotWhiskersColor));
4150
4150
  const { topStepLineSeries: c, medianStepLineSeries: d, bottomStepLineSeries: u } = In(
4151
4151
  e.chart,
4152
4152
  e.id
@@ -4194,7 +4194,7 @@ function Yb(t) {
4194
4194
  const m = /* @__PURE__ */ new Set();
4195
4195
  let g = !1;
4196
4196
  const h = i.fillSymbol ?? _s(a);
4197
- if (e.columns.length === 0 ? (u = oa({
4197
+ if (e.columns.length === 0 ? (u = aa({
4198
4198
  seriesConfig: i,
4199
4199
  seriesIndex: a,
4200
4200
  seriesSymbol: h,
@@ -4202,7 +4202,7 @@ function Yb(t) {
4202
4202
  colorMatch: s,
4203
4203
  isChartFillSymbol: !0
4204
4204
  }), c = u.symbolWithColorInfo, d = u.stylingInfo) : e.columns.each((p) => {
4205
- u = oa({
4205
+ u = aa({
4206
4206
  seriesConfig: i,
4207
4207
  seriesIndex: a,
4208
4208
  seriesSymbol: h,
@@ -4219,8 +4219,8 @@ function Yb(t) {
4219
4219
  }), c = u.symbolWithColorInfo, d = u.stylingInfo, m.add(JSON.stringify(c));
4220
4220
  }), g = m.size > 1, o > 1) {
4221
4221
  const p = e.legendDataItem?.marker.children.getIndex(0);
4222
- p !== void 0 ? Hi({ element: p, stylingInfo: d }) : e.chart.legend.events.once(N.Validated, () => {
4223
- Hi({
4222
+ p !== void 0 ? Ei({ element: p, stylingInfo: d }) : e.chart.legend.events.once(N.Validated, () => {
4223
+ Ei({
4224
4224
  element: e.legendDataItem?.marker.children.getIndex(0),
4225
4225
  stylingInfo: d
4226
4226
  }), e.chart.legend.invalidate();
@@ -4607,11 +4607,11 @@ function sy(t) {
4607
4607
  xAxisField: l,
4608
4608
  yAxisField: c,
4609
4609
  queryObject: d
4610
- } = t, u = H(i.series), m = j(i.series), g = Fi(i), h = [], p = [], b = [], C = Li(i.series), x = a instanceof hi ? a.dataFields?.customValue ?? "" : "";
4610
+ } = t, u = H(i.series), m = j(i.series), g = Ai(i), h = [], p = [], b = [], C = Fi(i.series), x = a instanceof pi ? a.dataFields?.customValue ?? "" : "";
4611
4611
  return n.forEach((S) => {
4612
- if (!(S instanceof Xi)) {
4612
+ if (!(S instanceof Gi)) {
4613
4613
  let v = S.dataItem?.dataContext;
4614
- if (v !== void 0 && (u === y.BoxPlotSeries && v[F.boxPlot.boxPlotOutlierId] !== !0 || m === P.BarAndLineMultiFields) && (v = xi({
4614
+ if (v !== void 0 && (u === y.BoxPlotSeries && v[F.boxPlot.boxPlotOutlierId] !== !0 || m === P.BarAndLineMultiFields) && (v = Si({
4615
4615
  dataContext: v,
4616
4616
  yAxisField: c,
4617
4617
  yList: C,
@@ -4620,7 +4620,7 @@ function sy(t) {
4620
4620
  chartType: u,
4621
4621
  chartSubType: m,
4622
4622
  showOutliers: g,
4623
- isFeatureCollectionLayer: yi(d)
4623
+ isFeatureCollectionLayer: Ci(d)
4624
4624
  })), vn({
4625
4625
  elementDataContext: v,
4626
4626
  options: o,
@@ -4637,7 +4637,7 @@ function sy(t) {
4637
4637
  b.push(v);
4638
4638
  else {
4639
4639
  const T = /* @__PURE__ */ new Set();
4640
- u === y.PieSeries && Yi(v) ? (yo({
4640
+ u === y.PieSeries && Xi(v) ? (yo({
4641
4641
  groupOfSlicesDataContext: v
4642
4642
  }) ?? []).forEach((O) => {
4643
4643
  s.forEach((I) => {
@@ -4649,7 +4649,7 @@ function sy(t) {
4649
4649
  }) && T.add(O);
4650
4650
  });
4651
4651
  }) : T.add(v), Array.from(T)?.forEach((k) => {
4652
- const O = xi({
4652
+ const O = Si({
4653
4653
  dataContext: k,
4654
4654
  yAxisField: c,
4655
4655
  yList: C,
@@ -4658,7 +4658,7 @@ function sy(t) {
4658
4658
  chartType: u,
4659
4659
  chartSubType: m,
4660
4660
  showOutliers: g,
4661
- isFeatureCollectionLayer: yi(d)
4661
+ isFeatureCollectionLayer: Ci(d)
4662
4662
  });
4663
4663
  O !== void 0 && b.push(O);
4664
4664
  });
@@ -4673,10 +4673,10 @@ function sy(t) {
4673
4673
  }), su(e, h), { selectedIndexes: p, newSelectionDataItems: b };
4674
4674
  }
4675
4675
  function ry(t) {
4676
- const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = B(e.uid, "config"), r = Fi(s), l = Li(s?.series ?? []), c = j(s?.series);
4676
+ const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = B(e.uid, "config"), r = Ai(s), l = Fi(s?.series ?? []), c = j(s?.series);
4677
4677
  return e.series.each((d, u) => {
4678
4678
  if (s && d.visible) {
4679
- const m = s.series[0].x, g = Zi(d), h = d instanceof hi ? d.dataFields?.customValue ?? "" : "", p = Sn(d, u), b = i.get(u);
4679
+ const m = s.series[0].x, g = _i(d), h = d instanceof pi ? d.dataFields?.customValue ?? "" : "", p = Sn(d, u), b = i.get(u);
4680
4680
  if (b !== void 0) {
4681
4681
  let C;
4682
4682
  if (d instanceof tt ? C = d.columns : d instanceof Bt ? C = d.slices : C = Ne(d)?.clones, C !== void 0) {
@@ -4684,7 +4684,7 @@ function ry(t) {
4684
4684
  C.each((S, v) => {
4685
4685
  if (S && (x === void 0 || x.includes(v))) {
4686
4686
  let A;
4687
- p === y.BoxPlotSeries && S.dataItem instanceof Ba ? A = S.dataItem.dataContext : S.dataItem instanceof Xi || (A = xi({
4687
+ p === y.BoxPlotSeries && S.dataItem instanceof Ba ? A = S.dataItem.dataContext : S.dataItem instanceof Gi || (A = Si({
4688
4688
  dataContext: S.dataItem?.dataContext,
4689
4689
  yList: l,
4690
4690
  yAxisField: g,
@@ -4693,7 +4693,7 @@ function ry(t) {
4693
4693
  chartType: p,
4694
4694
  chartSubType: c,
4695
4695
  showOutliers: r,
4696
- isFeatureCollectionLayer: yi(a)
4696
+ isFeatureCollectionLayer: Ci(a)
4697
4697
  })), A !== void 0 && o.push(A), n.push(S);
4698
4698
  } else
4699
4699
  Vt({
@@ -4761,13 +4761,13 @@ function cy(t) {
4761
4761
  xAxisField: l,
4762
4762
  yAxisField: c,
4763
4763
  rotationChanged: d
4764
- } = t, { filterBySelection: u, selectionData: m, returnSelectionIndexes: g, returnSelectionOIDs: h } = o ?? {}, { selectionIndexes: p } = m ?? {}, { chart: b } = e, C = B(b.uid, "config"), x = Fi(C), S = vt(C), v = H(C?.series);
4764
+ } = t, { filterBySelection: u, selectionData: m, returnSelectionIndexes: g, returnSelectionOIDs: h } = o ?? {}, { selectionIndexes: p } = m ?? {}, { chart: b } = e, C = B(b.uid, "config"), x = Ai(C), S = vt(C), v = H(C?.series);
4765
4765
  if (u !== !0 && C !== void 0) {
4766
4766
  const A = ly({
4767
4767
  series: e,
4768
4768
  chartType: v,
4769
4769
  showMean: S
4770
- }), T = j(C?.series), k = lt(a), O = ca(k).idField, I = B(
4770
+ }), T = j(C?.series), k = lt(a), O = la(k).idField, I = B(
4771
4771
  b.uid,
4772
4772
  "currentSelectionDataItems"
4773
4773
  );
@@ -4785,7 +4785,7 @@ function cy(t) {
4785
4785
  isPieFromFields: T === P.PieFromFields,
4786
4786
  x: C.series[0].x
4787
4787
  });
4788
- const E = p?.keys.length !== W?.keys.length || !Ji(p, W);
4788
+ const E = p?.keys.length !== W?.keys.length || !Qi(p, W);
4789
4789
  w = s === !0 || n === !0 || r === !0 || d === !0 || $ !== void 0 && M;
4790
4790
  let V = !0;
4791
4791
  if (p !== void 0 && p.size > 0) {
@@ -4810,7 +4810,7 @@ function cy(t) {
4810
4810
  if (V.push(...E), C.series.length > 1 && T !== P.BarAndLineNoAggregation && T !== P.BarAndLineSplitByNoAggregation && (V = Hc({
4811
4811
  data: V,
4812
4812
  x: C.series[0].x,
4813
- splitByField: vi(C.series[0].query?.where)
4813
+ splitByField: Li(C.series[0].query?.where)
4814
4814
  })), ae(b.uid, { computedSelectionDataItems: V }), g === !0) {
4815
4815
  const X = Array.from(new Set(W));
4816
4816
  let Y = B(
@@ -4824,18 +4824,18 @@ function cy(t) {
4824
4824
  } else if (p !== void 0 && R)
4825
4825
  $ = ry({ chart: b, selectionIndexes: p, queryObject: a });
4826
4826
  else {
4827
- const W = $ === void 0 || $.length === 0, E = e instanceof hi ? e.dataFields?.customValue ?? "" : "", V = (X) => {
4827
+ const W = $ === void 0 || $.length === 0, E = e instanceof pi ? e.dataFields?.customValue ?? "" : "", V = (X) => {
4828
4828
  let Y = X.dataItem?.dataContext;
4829
- return Y !== void 0 && v === y.BoxPlotSeries && Y[F.boxPlot.boxPlotOutlierId] !== !0 && (Y = xi({
4829
+ return Y !== void 0 && v === y.BoxPlotSeries && Y[F.boxPlot.boxPlotOutlierId] !== !0 && (Y = Si({
4830
4830
  dataContext: Y,
4831
4831
  yAxisField: c,
4832
- yList: Li(C.series),
4832
+ yList: Fi(C.series),
4833
4833
  xAxisField: l,
4834
4834
  splitBy: E,
4835
4835
  chartType: v,
4836
4836
  chartSubType: T,
4837
4837
  showOutliers: x,
4838
- isFeatureCollectionLayer: yi(a)
4838
+ isFeatureCollectionLayer: Ci(a)
4839
4839
  })), vn({
4840
4840
  elementDataContext: Y,
4841
4841
  options: o,
@@ -4903,7 +4903,7 @@ function dy(t) {
4903
4903
  if (s) {
4904
4904
  const r = H([s]);
4905
4905
  if (r === y.BoxPlotSeries && (n = e.series.values.find((l) => l.id === s.id)), n !== void 0) {
4906
- const l = s.x, c = r === y.BoxPlotSeries ? s.y.toString() : Zi(n);
4906
+ const l = s.x, c = r === y.BoxPlotSeries ? s.y.toString() : _i(n);
4907
4907
  wp({
4908
4908
  callbackProps: {
4909
4909
  ...t,
@@ -4934,11 +4934,11 @@ async function So(t) {
4934
4934
  else
4935
4935
  try {
4936
4936
  Ed(e, "updateSelectionCallbackDisposer");
4937
- const l = Fi(s), c = [], d = [];
4937
+ const l = Ai(s), c = [], d = [];
4938
4938
  let u = [];
4939
- const m = /* @__PURE__ */ new Map(), { xAxisField: g } = i[0] ?? {}, h = H(s?.series), p = j(s?.series), b = Li(s?.series ?? []), x = Nt(o).find((v) => v.name === g)?.type;
4939
+ const m = /* @__PURE__ */ new Map(), { xAxisField: g } = i[0] ?? {}, h = H(s?.series), p = j(s?.series), b = Fi(s?.series ?? []), x = Nt(o).find((v) => v.name === g)?.type;
4940
4940
  if (i.forEach((v) => {
4941
- const { elementDataContext: A, yAxisField: T, splitBy: k } = v, O = xi({
4941
+ const { elementDataContext: A, yAxisField: T, splitBy: k } = v, O = Si({
4942
4942
  dataContext: A,
4943
4943
  yAxisField: T,
4944
4944
  yList: b,
@@ -4947,7 +4947,7 @@ async function So(t) {
4947
4947
  chartType: h,
4948
4948
  chartSubType: p,
4949
4949
  showOutliers: l,
4950
- isFeatureCollectionLayer: yi(o)
4950
+ isFeatureCollectionLayer: Ci(o)
4951
4951
  });
4952
4952
  O !== void 0 && d.push(O);
4953
4953
  const { seriesIndex: I, elementIndex: w } = v;
@@ -5036,7 +5036,7 @@ async function fy(t, e) {
5036
5036
  o.series.each((m, g) => {
5037
5037
  let h;
5038
5038
  if (m instanceof tt ? h = m.columns : h = Ne(m)?.clones, m.visible) {
5039
- const p = Zi(m), b = m.dataFields?.customValue ?? "";
5039
+ const p = _i(m), b = m.dataFields?.customValue ?? "";
5040
5040
  h?.each((C, x) => {
5041
5041
  const S = n.includes(C);
5042
5042
  Vt({
@@ -5089,7 +5089,7 @@ const xe = {
5089
5089
  GaugeFirstAndLastGuides: "firstAndLast",
5090
5090
  GaugeTicksWithLabels: "gaugeTicksWithLabels"
5091
5091
  };
5092
- function na(t) {
5092
+ function oa(t) {
5093
5093
  const { chart: e, label: i, labelType: a } = t;
5094
5094
  let o = Number.NaN;
5095
5095
  switch (a) {
@@ -5112,11 +5112,11 @@ function na(t) {
5112
5112
  }
5113
5113
  function uo(t) {
5114
5114
  const { chart: e, labelType: i } = t;
5115
- na(t);
5115
+ oa(t);
5116
5116
  const a = i === te.YAxisTitle ? 1 : 0;
5117
5117
  e.events.on(
5118
5118
  N.Validated,
5119
- mt(() => na(t), F.debounceTime),
5119
+ mt(() => oa(t), F.debounceTime),
5120
5120
  a
5121
5121
  );
5122
5122
  }
@@ -5128,7 +5128,7 @@ function gy(t, e) {
5128
5128
  }
5129
5129
  function hy(t, e) {
5130
5130
  const i = t.renderer instanceof nn ? new Bs() : new ws();
5131
- return i.disabled = !0, i.axis = t, Ln(i), Ei(i.uid, { isGuide: e }), uo({ chart: t.chart, label: i, labelType: te.GuideLabel }), gy(t, i), i;
5131
+ return i.disabled = !0, i.axis = t, Ln(i), Wi(i.uid, { isGuide: e }), uo({ chart: t.chart, label: i, labelType: te.GuideLabel }), gy(t, i), i;
5132
5132
  }
5133
5133
  function py(t) {
5134
5134
  const { label: e, labelConfig: i, guideType: a } = t, o = e.axis.renderer instanceof Tt;
@@ -5367,7 +5367,7 @@ function ky(t, e) {
5367
5367
  });
5368
5368
  }
5369
5369
  const o = t.component?.chart;
5370
- o !== void 0 && na({
5370
+ o !== void 0 && oa({
5371
5371
  chart: o,
5372
5372
  label: a,
5373
5373
  labelType: te.GuideLabel
@@ -5641,9 +5641,9 @@ function jy(t, e = !0) {
5641
5641
  function _y(t, e) {
5642
5642
  let i, a;
5643
5643
  const o = ri(F.dataLabelInitialize);
5644
- Ei(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
5644
+ Wi(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
5645
5645
  const n = ri(F.dataLabelInitialize, t.columns.template);
5646
- return Ei(n.uid, { isDataLabel: !0 }), ps(n, t), ps(o, t), t.events.on(
5646
+ return Wi(n.uid, { isDataLabel: !0 }), ps(n, t), ps(o, t), t.events.on(
5647
5647
  N.Validated,
5648
5648
  mt(() => {
5649
5649
  ro(n) && n.clones.each((s) => {
@@ -5761,7 +5761,7 @@ function iC(t) {
5761
5761
  if (c instanceof Ta && c.visible)
5762
5762
  for (let p = 0; p < s.length; p += 1) {
5763
5763
  let b;
5764
- i === !0 ? b = Si({
5764
+ i === !0 ? b = vi({
5765
5765
  value: s[p].category,
5766
5766
  dataContext: s[p].dataContext
5767
5767
  }) : b = s[p].category.toString(), d === b && (o = !0), u === b && (n = !0);
@@ -5950,7 +5950,7 @@ function uC(t, e) {
5950
5950
  const i = t.renderer instanceof Tt;
5951
5951
  t.events.once(N.Validated, () => {
5952
5952
  let a = t.renderer instanceof go ? F.yAxisTitleLabel : F.xAxisTitleLabel;
5953
- i && (a = { ...a, dy: a.dy ?? 0 }), It({ label: t.title, labelConfig: e, defaults: a }), na({
5953
+ i && (a = { ...a, dy: a.dy ?? 0 }), It({ label: t.title, labelConfig: e, defaults: a }), oa({
5954
5954
  chart: t.chart,
5955
5955
  label: t.title,
5956
5956
  labelType: t.renderer instanceof Tt ? te.XAxisTitle : te.YAxisTitle
@@ -6034,18 +6034,18 @@ function Po(t) {
6034
6034
  tickSpacing: R,
6035
6035
  dateBaseInterval: $
6036
6036
  } = i;
6037
- lC({ axis: e, timeIntervalInfo: o, dateBaseInterval: $ }), ea({
6037
+ lC({ axis: e, timeIntervalInfo: o, dateBaseInterval: $ }), Ji({
6038
6038
  element: e.renderer.grid.template,
6039
6039
  lineSymbol: v,
6040
6040
  visible: C
6041
- }), ea({
6041
+ }), Ji({
6042
6042
  element: e.renderer.line,
6043
6043
  lineSymbol: {
6044
6044
  color: [...F.color],
6045
6045
  ...A ?? mn()
6046
6046
  },
6047
6047
  visible: C
6048
- }), ea({
6048
+ }), Ji({
6049
6049
  element: e.renderer.ticks.template,
6050
6050
  lineSymbol: A,
6051
6051
  visible: C
@@ -6312,7 +6312,7 @@ const je = {
6312
6312
  AxisLabels: 2,
6313
6313
  FirstAndLastLabels: 3
6314
6314
  };
6315
- function Mi(t, e) {
6315
+ function Bi(t, e) {
6316
6316
  let i;
6317
6317
  switch (e) {
6318
6318
  case je.InnerLabel:
@@ -6393,7 +6393,7 @@ function $n(t) {
6393
6393
  function vC(t) {
6394
6394
  const { chart: e, axisConfig: i, axis: a } = t;
6395
6395
  if (i.labels.content.font?.size === void 0 && i.onlyShowFirstAndLastLabels !== !0) {
6396
- Mi(e, je.AxisLabels), Mi(e, je.FirstAndLastLabels);
6396
+ Bi(e, je.AxisLabels), Bi(e, je.FirstAndLastLabels);
6397
6397
  const o = () => {
6398
6398
  a.events.once(N.Validated, () => {
6399
6399
  const s = yt(a, xe.GaugeTicksWithLabels);
@@ -6416,7 +6416,7 @@ function vC(t) {
6416
6416
  const n = e.events.on(N.SizeChanged, o);
6417
6417
  ae(e.uid, { gaugeAutoResizeAxisLabelsDisposer: n }), o();
6418
6418
  } else {
6419
- Mi(e, je.AxisLabels);
6419
+ Bi(e, je.AxisLabels);
6420
6420
  const o = yt(a, xe.GaugeTicksWithLabels);
6421
6421
  o.length > 0 && o.map((s) => s.label).forEach((s) => {
6422
6422
  s.scale = 1;
@@ -6442,7 +6442,7 @@ function LC(t, e) {
6442
6442
  e.scale = 1;
6443
6443
  }
6444
6444
  function FC(t, e) {
6445
- Mi(t, je.InnerLabel), Mi(t, je.InnerLabelSecondary);
6445
+ Bi(t, je.InnerLabel), Bi(t, je.InnerLabelSecondary);
6446
6446
  const i = t.xAxes.getIndex(0), a = () => {
6447
6447
  i?.events.once(N.Validated, () => {
6448
6448
  LC(t, e);
@@ -6468,7 +6468,7 @@ function AC(t) {
6468
6468
  axisConfig: i
6469
6469
  });
6470
6470
  Number.isFinite(r) && r > 0 && o.forEach((l) => {
6471
- Ei(l.uid, {
6471
+ Wi(l.uid, {
6472
6472
  originalWidth: l.measuredWidth / l.scale,
6473
6473
  originalHeight: l.measuredHeight / l.scale
6474
6474
  }), l.scale = r, l.validate();
@@ -6478,7 +6478,7 @@ function AC(t) {
6478
6478
  function TC(t) {
6479
6479
  const { chart: e, axisConfig: i, axis: a } = t;
6480
6480
  if (Cs(i)) {
6481
- Mi(e, je.AxisLabels), Mi(e, je.FirstAndLastLabels);
6481
+ Bi(e, je.AxisLabels), Bi(e, je.FirstAndLastLabels);
6482
6482
  const o = () => {
6483
6483
  a.events.once(N.Validated, () => {
6484
6484
  AC(a);
@@ -6489,7 +6489,7 @@ function TC(t) {
6489
6489
  );
6490
6490
  ae(e.uid, { gaugeAutoResizeFirstAndLastLabelsDisposer: n }), o();
6491
6491
  } else
6492
- Mi(e, je.FirstAndLastLabels), yt(a, xe.GaugeFirstAndLastGuides).map(
6492
+ Bi(e, je.FirstAndLastLabels), yt(a, xe.GaugeFirstAndLastGuides).map(
6493
6493
  (n) => n.label
6494
6494
  ).forEach((n) => {
6495
6495
  n.scale = 1;
@@ -6587,7 +6587,7 @@ function $C(t) {
6587
6587
  }
6588
6588
  function DC(t) {
6589
6589
  const e = ri(void 0, t.radarContainer);
6590
- e.isMeasured = !1, Ei(e.uid, { isGaugeAxisInnerLabel: !0 }), FC(t, e);
6590
+ e.isMeasured = !1, Wi(e.uid, { isGaugeAxisInnerLabel: !0 }), FC(t, e);
6591
6591
  }
6592
6592
  function wC(t) {
6593
6593
  const { chart: e, innerLabelConfig: i, valueFormat: a, gaugeValue: o, gaugeInnerLabelFormatter: n } = t, s = e.radarContainer.children.values.find(
@@ -6612,7 +6612,7 @@ function RC(t) {
6612
6612
  }
6613
6613
  function BC(t) {
6614
6614
  const e = new Bs();
6615
- return e.disabled = !0, e.axis = t, Ln(e), e.padding(10, 10, 10, 10), Ei(e.uid, { isGaugeAxisLabel: !0 }), e;
6615
+ return e.disabled = !0, e.axis = t, Ln(e), e.padding(10, 10, 10, 10), Wi(e.uid, { isGaugeAxisLabel: !0 }), e;
6616
6616
  }
6617
6617
  function MC(t) {
6618
6618
  const { axis: e, min: i, max: a, labelsIncrement: o, numberOfIntervals: n, valueFormat: s } = t, r = Na(s);
@@ -6747,7 +6747,7 @@ function GC(t) {
6747
6747
  if (s !== void 0)
6748
6748
  r = s(n);
6749
6749
  else {
6750
- const l = bi(e), c = si({
6750
+ const l = yi(e), c = si({
6751
6751
  type: y.NumberAxisFormat,
6752
6752
  iLocale: i,
6753
6753
  formatLocale: a
@@ -6770,7 +6770,7 @@ function yu(t) {
6770
6770
  if (s !== void 0)
6771
6771
  r = s(n);
6772
6772
  else {
6773
- const l = bi(e), c = si({
6773
+ const l = yi(e), c = si({
6774
6774
  type: y.NumberAxisFormat,
6775
6775
  iLocale: i,
6776
6776
  formatLocale: a
@@ -6895,11 +6895,11 @@ function UC(t) {
6895
6895
  }
6896
6896
  function wn(t, e) {
6897
6897
  const { title: i, subtitle: a, headerContainer: o } = t;
6898
- It({ label: i, labelConfig: e?.title, defaults: F.titleLabel }), It({ label: a, labelConfig: e?.subtitle, defaults: F.titleLabel }), Qd(o, i.disabled && a.disabled), na({
6898
+ It({ label: i, labelConfig: e?.title, defaults: F.titleLabel }), It({ label: a, labelConfig: e?.subtitle, defaults: F.titleLabel }), Qd(o, i.disabled && a.disabled), oa({
6899
6899
  chart: i.parent,
6900
6900
  label: i,
6901
6901
  labelType: te.ChartTitle
6902
- }), na({
6902
+ }), oa({
6903
6903
  chart: a.parent,
6904
6904
  label: a,
6905
6905
  labelType: te.ChartSubTitle
@@ -6911,7 +6911,7 @@ function qC(t) {
6911
6911
  }
6912
6912
  function Rn(t, e) {
6913
6913
  const { footer: i, footerContainer: a } = t;
6914
- It({ label: i, labelConfig: e, defaults: F.footer }), Qd(a, i.disabled || e?.content.text === ""), na({
6914
+ It({ label: i, labelConfig: e, defaults: F.footer }), Qd(a, i.disabled || e?.content.text === ""), oa({
6915
6915
  chart: i.parent,
6916
6916
  label: i,
6917
6917
  labelType: te.ChartFooter
@@ -6929,7 +6929,7 @@ function jC(t, e) {
6929
6929
  }
6930
6930
  function _C(t, e) {
6931
6931
  if (e !== void 0) {
6932
- const i = aa(e);
6932
+ const i = ia(e);
6933
6933
  [
6934
6934
  // applying color to grips and bar
6935
6935
  t.background,
@@ -6986,7 +6986,7 @@ function JC(t, e) {
6986
6986
  }
6987
6987
  function ex(t, e) {
6988
6988
  const i = t.chart.legend.events.on(N.Validated, () => {
6989
- Hi({
6989
+ Ei({
6990
6990
  element: t.legendDataItem?.marker.children.getIndex(0),
6991
6991
  stylingInfo: e
6992
6992
  }), t.chart.legend.isReady() && (i.dispose(), t.chart.legend.invalidate());
@@ -7006,7 +7006,7 @@ function tx(t) {
7006
7006
  };
7007
7007
  let h = {}, p = {};
7008
7008
  const b = Yc(a);
7009
- if (e.columns.length === 0 ? h = oa({
7009
+ if (e.columns.length === 0 ? h = aa({
7010
7010
  seriesConfig: i,
7011
7011
  seriesIndex: a,
7012
7012
  seriesSymbol: m ?? b,
@@ -7023,19 +7023,19 @@ function tx(t) {
7023
7023
  colorMatch: s,
7024
7024
  rendererType: r
7025
7025
  }), v = x[F.xAxisField] === F.nullValue, A = (v && i.nullCategory?.symbol !== void 0 ? i.nullCategory.symbol : m) ?? b;
7026
- h = oa({
7026
+ h = aa({
7027
7027
  ...g,
7028
7028
  seriesSymbol: A,
7029
7029
  element: C,
7030
7030
  rendererSymbol: S
7031
- }), Hi({ element: C, stylingInfo: h.stylingInfo }), v || (d.add(JSON.stringify(h.symbolWithColorInfo)), p = h);
7031
+ }), Ei({ element: C, stylingInfo: h.stylingInfo }), v || (d.add(JSON.stringify(h.symbolWithColorInfo)), p = h);
7032
7032
  }
7033
7033
  }), o > 1) {
7034
7034
  const C = e.chart.legend.markers.values;
7035
7035
  C.length !== 0 ? C.forEach((x) => {
7036
- if (x.dataItem instanceof Xi) {
7036
+ if (x.dataItem instanceof Gi) {
7037
7037
  const S = x.dataItem.marker.children.getIndex(0);
7038
- S !== void 0 && S.baseSprite?.parent instanceof tt ? Hi({
7038
+ S !== void 0 && S.baseSprite?.parent instanceof tt ? Ei({
7039
7039
  element: S,
7040
7040
  stylingInfo: p.stylingInfo
7041
7041
  }) : c = !0;
@@ -7079,7 +7079,7 @@ function Su(t) {
7079
7079
  const b = i.dataFields?.customValue ?? "";
7080
7080
  (h === P.BarAndLineSplitBy || h === P.BarAndLineSplitByNoAggregation) && (p = qs({
7081
7081
  queryObject: d,
7082
- fieldName: vi(b),
7082
+ fieldName: Li(b),
7083
7083
  fieldValue: p
7084
7084
  }) ?? p), Pa(i, p), gr({
7085
7085
  series: i,
@@ -7116,10 +7116,10 @@ function ax(t) {
7116
7116
  }
7117
7117
  function ox(t) {
7118
7118
  const { chart: e, chartConfig: i, seriesIndex: a, axisList: o = [], hideLoaderHandle: n, selectionTheme: s, queryObject: r } = t, { rotated: l } = i, c = i.series[a], { y: d, assignToSecondValueAxis: u } = c, m = new tt();
7119
- ga(m, n), m.id = c.id;
7119
+ ma(m, n), m.id = c.id;
7120
7120
  let g, h;
7121
7121
  l !== !0 ? (g = o[0], h = u === !0 && o[2] ? o[2] : o[1]) : (g = u === !0 && o[2] ? o[2] : o[0], h = o[1]), g !== void 0 && (m.xAxis = g), h !== void 0 && (m.yAxis = h);
7122
- const p = e instanceof ge ? kt({ chart: e }) : !1, C = j(i.series) !== P.BarAndLineSplitByNoAggregation ? d : `${d}_${ra({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`;
7122
+ const p = e instanceof ge ? kt({ chart: e }) : !1, C = j(i.series) !== P.BarAndLineSplitByNoAggregation ? d : `${d}_${sa({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`;
7123
7123
  p ? m.dataFields.valueX = C : m.dataFields.valueY = C;
7124
7124
  const x = p ? o[1] : o[0];
7125
7125
  if (x !== void 0) {
@@ -7132,10 +7132,10 @@ function ox(t) {
7132
7132
  rotationChanged: !1,
7133
7133
  stackedType: i.stackedType,
7134
7134
  isRotated: p
7135
- }), m.dataFields.customValue = c?.query?.where, qd(m.columns.template, m), m.columns.template.width = ut(100), ma({
7135
+ }), m.dataFields.customValue = c?.query?.where, qd(m.columns.template, m), m.columns.template.width = ut(100), fa({
7136
7136
  element: m.columns.template,
7137
7137
  customSelectionTheme: s
7138
- }), Co({ chart: e, element: m.columns.template, queryObject: r }), xr(m), ax(m), fa(m), m;
7138
+ }), Co({ chart: e, element: m.columns.template, queryObject: r }), xr(m), ax(m), ua(m), m;
7139
7139
  }
7140
7140
  function nx(t) {
7141
7141
  const { seriesConfig: e, series: i, seriesIndex: a, axes: o, utilsStrings: n, fieldList: s, queryObject: r, stackedType: l, options: c } = t;
@@ -7176,7 +7176,7 @@ function sx(t) {
7176
7176
  );
7177
7177
  let o = e ?? "";
7178
7178
  const { dataItem: n } = i;
7179
- if (n instanceof pi) {
7179
+ if (n instanceof bi) {
7180
7180
  const { slice: s } = n;
7181
7181
  if (s !== void 0 && !ro(s))
7182
7182
  o = "";
@@ -7195,7 +7195,7 @@ function rx(t) {
7195
7195
  const e = t.labels.template;
7196
7196
  e.maxWidth = F.pieChart.dataLabels.maxWidth ?? Number.NaN, e.wrap = F.pieChart.dataLabels.wrap ?? !0, e.events.on(N.Over, (i) => {
7197
7197
  const { dataItem: a } = i.target ?? {};
7198
- a instanceof pi && a.slice.showTooltip();
7198
+ a instanceof bi && a.slice.showTooltip();
7199
7199
  }), sx(t);
7200
7200
  }
7201
7201
  function lx(t, e) {
@@ -7309,7 +7309,7 @@ function fx(t) {
7309
7309
  );
7310
7310
  if (l !== void 0) {
7311
7311
  const { dataItem: c } = a;
7312
- if (c instanceof pi) {
7312
+ if (c instanceof bi) {
7313
7313
  const d = c.properties.category ?? "", u = c.dataContext;
7314
7314
  let m = ai(u);
7315
7315
  m === void 0 && (m = d);
@@ -7341,13 +7341,13 @@ function hx(t) {
7341
7341
  pieSlicesSymbols: a,
7342
7342
  seriesConfig: o
7343
7343
  });
7344
- n.push(aa(r.color));
7344
+ n.push(ia(r.color));
7345
7345
  }), n.length > 0 && (i.colors.list = n);
7346
7346
  }
7347
7347
  }
7348
7348
  function px(t) {
7349
7349
  const { seriesConfig: e, hideLoaderHandle: i, selectionTheme: a } = t, { x: o, y: n, id: s, visible: r } = e, l = new Bt();
7350
- l.id = s, ga(l, i), l.dataFields.value = n, l.dataFields.category = o;
7350
+ l.id = s, ma(l, i), l.dataFields.value = n, l.dataFields.category = o;
7351
7351
  const c = F.pieChart;
7352
7352
  l.startAngle = c.min, l.endAngle = 360 + l.startAngle, gx(l), fx(l), rx(l);
7353
7353
  const d = a !== void 0 && a.selectedElementsTheme?.transformation?.opacity === void 0 ? {
@@ -7360,11 +7360,11 @@ function px(t) {
7360
7360
  }
7361
7361
  }
7362
7362
  } : a;
7363
- return ma({
7363
+ return fa({
7364
7364
  element: l.slices.template,
7365
7365
  useNativeState: !0,
7366
7366
  customSelectionTheme: d
7367
- }), l.slices.template.states.removeKey("hover"), fa(l), l.hidden = r === !1, xr(l), l;
7367
+ }), l.slices.template.states.removeKey("hover"), ua(l), l.hidden = r === !1, xr(l), l;
7368
7368
  }
7369
7369
  function bx(t) {
7370
7370
  const { series: e, pieSlicesSymbols: i, seriesConfig: a, selectionTheme: o } = t;
@@ -7380,7 +7380,7 @@ function bx(t) {
7380
7380
  colorRampIndex: s,
7381
7381
  isChartFillSymbol: !0
7382
7382
  });
7383
- o !== void 0 && o.selectedElementsTheme === void 0 && Hi({
7383
+ o !== void 0 && o.selectedElementsTheme === void 0 && Ei({
7384
7384
  element: n,
7385
7385
  stylingInfo: c,
7386
7386
  stateKey: at.Active
@@ -7391,7 +7391,7 @@ function yx(t, e) {
7391
7391
  const { ticks: i } = e, a = i?.visible === !1 || e.dataLabelsInside === !0 || e.dataLabels === void 0 || e.dataLabels?.visible === !1 || e.dataLabelsOffset !== void 0 && e.dataLabelsOffset <= 0;
7392
7392
  t.ticks.template.disabled = a, t.ticks.template.strokeOpacity = F.pieChart.ticksOpacity;
7393
7393
  const o = i?.lineSymbol ?? mn({ color: Uc });
7394
- a && (o.width = 0), ea({
7394
+ a && (o.width = 0), Ji({
7395
7395
  element: t.ticks.template,
7396
7396
  lineSymbol: o,
7397
7397
  visible: !a
@@ -7427,7 +7427,7 @@ function Cx(t) {
7427
7427
  async function Ml(t) {
7428
7428
  const { chart: e, hitSlice: i, multiSelect: a = !1, queryObject: o } = t, n = [], s = B(e.uid, "config"), r = e.series.getIndex(0);
7429
7429
  if (s && r !== void 0) {
7430
- const l = $d(r), c = Zi(r), d = {
7430
+ const l = $d(r), c = _i(r), d = {
7431
7431
  element: {},
7432
7432
  xAxisField: l,
7433
7433
  yAxisField: c,
@@ -7435,7 +7435,7 @@ async function Ml(t) {
7435
7435
  chartConfig: s
7436
7436
  };
7437
7437
  r.slices.each((u, m) => {
7438
- u.isActive && (u === i || a || u.dataItem instanceof pi && u.dataItem.label.isHover) ? Yi(u.dataItem?.dataContext) ? (yo({
7438
+ u.isActive && (u === i || a || u.dataItem instanceof bi && u.dataItem.label.isHover) ? Xi(u.dataItem?.dataContext) ? (yo({
7439
7439
  groupOfSlicesDataContext: u.dataItem?.dataContext
7440
7440
  }) ?? []).forEach((b) => {
7441
7441
  n.push({
@@ -7478,7 +7478,7 @@ function xx(t, e) {
7478
7478
  await Ml({ chart: t, multiSelect: r, hitSlice: s, queryObject: e });
7479
7479
  else if (s instanceof Wo) {
7480
7480
  const l = s.dataItem;
7481
- if (l instanceof pi) {
7481
+ if (l instanceof bi) {
7482
7482
  const { slice: c } = l;
7483
7483
  c.isActive = !c.isActive, await Ml({ chart: t, multiSelect: r, hitSlice: c, queryObject: e });
7484
7484
  }
@@ -7659,7 +7659,7 @@ function Fx(t, e) {
7659
7659
  }
7660
7660
  function Ax(t) {
7661
7661
  const { chart: e, axesConfig: i, chartType: a, isRotated: o, errorStrings: n, queryObject: s } = t;
7662
- switch (qi({ chartType: a, axesConfig: i, errorStrings: n }), a) {
7662
+ switch (Ui({ chartType: a, axesConfig: i, errorStrings: n }), a) {
7663
7663
  case y.GaugeSeries: {
7664
7664
  oi(s), e instanceof xt && i?.[0]?.valueFormat !== void 0 && zC({ chart: e, valueFormat: i[0].valueFormat, queryObject: s });
7665
7665
  break;
@@ -7694,7 +7694,7 @@ async function kr(t) {
7694
7694
  utilsStrings: C,
7695
7695
  errorStrings: x
7696
7696
  } = t;
7697
- switch (qi({ chartType: s, axesConfig: a, errorStrings: x }), s) {
7697
+ switch (Ui({ chartType: s, axesConfig: a, errorStrings: x }), s) {
7698
7698
  case y.BarSeries:
7699
7699
  case y.LineSeries:
7700
7700
  case y.ComboLineAndBarSeries:
@@ -7741,7 +7741,7 @@ function Fu(t) {
7741
7741
  if (e instanceof ge)
7742
7742
  for (let b = 0; b < i.series.length; b += 1) {
7743
7743
  const C = i.series[b];
7744
- if (d = H([C]), Pi(i))
7744
+ if (d = H([C]), Ni(i))
7745
7745
  c = zb({
7746
7746
  ...h,
7747
7747
  chart: e,
@@ -7801,7 +7801,7 @@ function Ir(t) {
7801
7801
  pieSlicesSymbols: C,
7802
7802
  utilsStrings: x,
7803
7803
  errorStrings: S
7804
- } = t, v = e.series.values, A = /* @__PURE__ */ new Map(), T = i.series.length, k = Ui(i), O = $t(i), I = Nt(m, g?.usePopupTemplateFieldsInfo), w = lt(m), R = fn(n, dt(w) ? void 0 : w?.renderer);
7804
+ } = t, v = e.series.values, A = /* @__PURE__ */ new Map(), T = i.series.length, k = Yi(i), O = $t(i), I = Nt(m, g?.usePopupTemplateFieldsInfo), w = lt(m), R = fn(n, dt(w) ? void 0 : w?.renderer);
7805
7805
  for (const [$, M] of a.entries()) {
7806
7806
  const W = H([M]), E = v[$], V = {
7807
7807
  numberOfSeries: T,
@@ -7823,7 +7823,7 @@ function Ir(t) {
7823
7823
  seriesIndexMapper: s
7824
7824
  };
7825
7825
  let Y = E;
7826
- if (e instanceof ge && Pi(i))
7826
+ if (e instanceof ge && Ni(i))
7827
7827
  Y = v.find((re) => re.id === M.id), E !== void 0 && (Y instanceof Ye || Y instanceof Se) && ey({
7828
7828
  ...V,
7829
7829
  chart: e,
@@ -7985,7 +7985,7 @@ async function Or(t) {
7985
7985
  scrollbarYConfig: e.axes?.[1]?.scrollbar
7986
7986
  }), Td(i), kd(i, e?.cursorCrosshair), Bn({ chart: i, actionMode: h, cursorRange: g });
7987
7987
  const U = ho(i.htmlContainer ?? document.documentElement);
7988
- return i.dateFormatter.intlLocales = U, Fx(i, o?.enableResponsiveFeatures), (i instanceof xt || pr(i.series)) && la(i.htmlContainer), Lu(i), I !== void 0 && w !== void 0 && R !== void 0 ? { headerElements: I, footerElements: w, legendElements: R } : void 0;
7988
+ return i.dateFormatter.intlLocales = U, Fx(i, o?.enableResponsiveFeatures), (i instanceof xt || pr(i.series)) && ra(i.htmlContainer), Lu(i), I !== void 0 && w !== void 0 && R !== void 0 ? { headerElements: I, footerElements: w, legendElements: R } : void 0;
7989
7989
  }
7990
7990
  function Au(t) {
7991
7991
  t.series.each((e) => {
@@ -8110,7 +8110,7 @@ async function Ox(t) {
8110
8110
  let { numberOfSeriesChanged: T } = n?.common ?? {};
8111
8111
  const k = Zc(p, e), O = Kc(p, e), I = Mm(p, e), w = Nm(p, e), R = JSON.stringify(Go(b)) !== JSON.stringify(Go(C));
8112
8112
  let $ = !1, M = !1;
8113
- Pi(e) && Pi(p) && ($ = Pm(p, e), M = Vm(p, e));
8113
+ Ni(e) && Ni(p) && ($ = Pm(p, e), M = Vm(p, e));
8114
8114
  const W = hn({
8115
8115
  oldConfig: c ? l : p,
8116
8116
  newConfig: e,
@@ -8135,7 +8135,7 @@ async function Ox(t) {
8135
8135
  queryConfig: We,
8136
8136
  timeIntervalInfo: fe?.timeIntervalInfo,
8137
8137
  serverLimitReached: fe?.serverLimitReached
8138
- }), la(i.htmlContainer);
8138
+ }), ra(i.htmlContainer);
8139
8139
  } else if (x === y.BarSeries || x === y.LineSeries || x === y.RadarSeries || x === y.ComboLineAndBarSeries || x === y.BoxPlotSeries) {
8140
8140
  const U = Jc(b, C);
8141
8141
  if (U.length > 0 && (Kh(i.series, U), i.feedLegend(), X = !0), Wm(C[0])) {
@@ -8221,7 +8221,7 @@ function $x(t) {
8221
8221
  let S, v, A = !1;
8222
8222
  if (a) {
8223
8223
  const { count: k, data: O, queryConfig: I } = l ?? {};
8224
- S = O, ae(e.uid, { elementCount: k, queryConfig: I }), v = Ut(S), v !== void 0 && _c(e.data, v) && (e.data = v, A = !0), la(e.htmlContainer);
8224
+ S = O, ae(e.uid, { elementCount: k, queryConfig: I }), v = Ut(S), v !== void 0 && _c(e.data, v) && (e.data = v, A = !0), ra(e.htmlContainer);
8225
8225
  }
8226
8226
  (p || b) && e.validateData();
8227
8227
  const T = zo({
@@ -8278,7 +8278,7 @@ async function Dx(t) {
8278
8278
  let p;
8279
8279
  if (s) {
8280
8280
  const { count: v, data: A, queryConfig: T } = n ?? {};
8281
- p = A, p?.dataItems !== void 0 && (e.data = p.dataItems), la(e.htmlContainer), ae(e.uid, { elementCount: v, queryConfig: T });
8281
+ p = A, p?.dataItems !== void 0 && (e.data = p.dataItems), ra(e.htmlContainer), ae(e.uid, { elementCount: v, queryConfig: T });
8282
8282
  }
8283
8283
  a.axes !== void 0 && await kr({
8284
8284
  chart: e,
@@ -8528,53 +8528,53 @@ const Bx = "AM5C241025748", oe = {
8528
8528
  Click: "click"
8529
8529
  }, Ss = /* @__PURE__ */ new Map();
8530
8530
  function Mx(t, e) {
8531
- return pa(t, e);
8531
+ return ha(t, e);
8532
8532
  }
8533
8533
  function Nx(t, e) {
8534
- ha(t, e);
8534
+ ga(t, e);
8535
8535
  }
8536
- function ha(t, e) {
8536
+ function ga(t, e) {
8537
8537
  const i = Ss.get(t) ?? {};
8538
8538
  Ss.set(t, { ...i, ...e });
8539
8539
  }
8540
- function pa(t, e) {
8540
+ function ha(t, e) {
8541
8541
  return Ss.get(t)?.[e];
8542
8542
  }
8543
8543
  function D(t, e) {
8544
- return pa(t, e);
8544
+ return ha(t, e);
8545
8545
  }
8546
8546
  function we(t, e) {
8547
- ha(t, e);
8547
+ ga(t, e);
8548
8548
  }
8549
8549
  function _(t, e) {
8550
- return pa(t, e);
8550
+ return ha(t, e);
8551
8551
  }
8552
8552
  function He(t, e) {
8553
- ha(t, e);
8553
+ ga(t, e);
8554
8554
  }
8555
8555
  function Kt(t, e) {
8556
- return pa(t, e);
8556
+ return ha(t, e);
8557
8557
  }
8558
8558
  function Ea(t, e) {
8559
- ha(t, e);
8559
+ ga(t, e);
8560
8560
  }
8561
8561
  function ui(t, e) {
8562
- return pa(t, e);
8562
+ return ha(t, e);
8563
8563
  }
8564
8564
  function Px(t, e) {
8565
- ha(t, e);
8565
+ ga(t, e);
8566
8566
  }
8567
8567
  function Ct(t, e) {
8568
- return pa(t, e);
8568
+ return ha(t, e);
8569
8569
  }
8570
8570
  function $r(t, e) {
8571
- ha(t, e);
8571
+ ga(t, e);
8572
8572
  }
8573
8573
  function Vx(t, e) {
8574
- return pa(t, e);
8574
+ return ha(t, e);
8575
8575
  }
8576
8576
  function Wx(t, e) {
8577
- ha(t, e);
8577
+ ga(t, e);
8578
8578
  }
8579
8579
  function Dr(t) {
8580
8580
  return t != null && !t.isDisposed();
@@ -8583,11 +8583,11 @@ function Ex(t) {
8583
8583
  let e;
8584
8584
  if (t != null) {
8585
8585
  const i = t;
8586
- if (i instanceof ia)
8586
+ if (i instanceof ta)
8587
8587
  e = i.chart;
8588
8588
  else {
8589
8589
  const a = i.dataItem?.component;
8590
- a instanceof ia && (e = a.chart);
8590
+ a instanceof ta && (e = a.chart);
8591
8591
  }
8592
8592
  }
8593
8593
  return e;
@@ -8631,7 +8631,7 @@ function le(t) {
8631
8631
  function et(t, e) {
8632
8632
  return `${t}${e}`;
8633
8633
  }
8634
- function zi(t, e = 100) {
8634
+ function Hi(t, e = 100) {
8635
8635
  return setTimeout(() => t(), e);
8636
8636
  }
8637
8637
  function Pl(t) {
@@ -8836,9 +8836,9 @@ function wr(t) {
8836
8836
  let r;
8837
8837
  if (a === !0) {
8838
8838
  const l = n ? zs : bo;
8839
- if (i.color = i.color ?? ta({ colorIndex: o, opacity: l }), ao(i) || Yo(i)) {
8839
+ if (i.color = i.color ?? ea({ colorIndex: o, opacity: l }), ao(i) || Yo(i)) {
8840
8840
  const { outline: c } = i;
8841
- c !== void 0 && (c.color = c?.color ?? ta({ colorIndex: o }), i.outline = { ...c });
8841
+ c !== void 0 && (c.color = c?.color ?? ea({ colorIndex: o }), i.outline = { ...c });
8842
8842
  }
8843
8843
  }
8844
8844
  return rd(i) ? r = Ou(i, !0) : Yo(i) ? (i.style ??= L.lineSeries.marker.markerStyle, i.size ??= L.lineSeries.marker.markerBigSize, r = jx(i)) : ao(i) && (r = qx(i, e, s)), r;
@@ -9143,7 +9143,7 @@ function Pu(t) {
9143
9143
  const c = n ?? i;
9144
9144
  l.set("fill", c), l.set("fillOpacity", 1), l.set("themeTags", []);
9145
9145
  const d = l.dataItem?.component;
9146
- d && d instanceof ia && ((d.uid !== void 0 ? _(d.uid, "bulletTemplate") : void 0)?.adapters?.remove?.("fill"), d instanceof Oe && d.columns?.template?.adapters?.remove?.("fill"));
9146
+ d && d instanceof ta && ((d.uid !== void 0 ? _(d.uid, "bulletTemplate") : void 0)?.adapters?.remove?.("fill"), d instanceof Oe && d.columns?.template?.adapters?.remove?.("fill"));
9147
9147
  } else
9148
9148
  l.set("fill", i), l.remove("fillPattern"), l.set("fillOpacity", a);
9149
9149
  s !== void 0 && s.set("getFillFromSprite", r);
@@ -9175,7 +9175,7 @@ function Vu(t) {
9175
9175
  fillOpacity: s.fillOpacity
9176
9176
  }), en(e, s.outline)), Ie(e, a)), s;
9177
9177
  }
9178
- function Gi(t) {
9178
+ function zi(t) {
9179
9179
  const {
9180
9180
  root: e,
9181
9181
  element: i,
@@ -9250,7 +9250,7 @@ function ht(t) {
9250
9250
  });
9251
9251
  break;
9252
9252
  case q.SFS:
9253
- d = Gi({
9253
+ d = zi({
9254
9254
  ...u,
9255
9255
  fillSymbol: m,
9256
9256
  isChartFillSymbol: n,
@@ -9435,7 +9435,7 @@ function nS(t) {
9435
9435
  }
9436
9436
  function Wu(t) {
9437
9437
  let e = !1, i;
9438
- if (t.target.dataItem?.component instanceof ia ? { chart: i } = t.target.dataItem.component : (t.target instanceof fd || t.target instanceof nr) && ({ chart: i } = t.target), i instanceof Fe || i instanceof Zt) {
9438
+ if (t.target.dataItem?.component instanceof ta ? { chart: i } = t.target.dataItem.component : (t.target instanceof fd || t.target instanceof nr) && ({ chart: i } = t.target), i instanceof Fe || i instanceof Zt) {
9439
9439
  const a = D(i.uid, "actionMode");
9440
9440
  if (a !== void 0) {
9441
9441
  const { originalEvent: o } = t;
@@ -9451,7 +9451,7 @@ function ot(t) {
9451
9451
  const r = ui(e.uid, "selected") ?? !1;
9452
9452
  s = r, a !== !0 ? o === !0 ? s = r ? !1 : r !== i : s = i : s = r !== i;
9453
9453
  const l = n === !0 ? at.Default : at.CustomInactive;
9454
- e.states.apply(at.Default), e.states.apply(s ? at.CustomActive : l), s !== r && (Px(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof ia && e.dataItem.component.toFront()));
9454
+ e.states.apply(at.Default), e.states.apply(s ? at.CustomActive : l), s !== r && (Px(e.uid, { selected: s }), s && (e.toFront(), e.dataItem?.component instanceof ta && e.dataItem.component.toFront()));
9455
9455
  }
9456
9456
  return s;
9457
9457
  }
@@ -9472,7 +9472,7 @@ function wa(t) {
9472
9472
  formatLocale: a,
9473
9473
  root: o
9474
9474
  });
9475
- return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e, bi(i)) : (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat && (n = s.format(e, bi(i))), n;
9475
+ return typeof e == "number" && i.type === y.NumberAxisFormat ? n = s.format(e, yi(i)) : (typeof e == "number" || e instanceof Date) && i.type === y.DateAxisFormat && (n = s.format(e, yi(i))), n;
9476
9476
  }
9477
9477
  async function rS(t) {
9478
9478
  const { root: e, exportOptions: i } = t, { format: a, quality: o = 1, ...n } = i, s = o < 0 || o > 1 ? 1 : o, l = await Kg.new(e, {}).exportImage(a, {
@@ -9578,7 +9578,7 @@ function cS(t) {
9578
9578
  function dS(t) {
9579
9579
  const { series: e, isRotated: i, externalDataLabelFormatter: a } = t;
9580
9580
  e.bullets.push(() => {
9581
- const s = D(e.chart?.uid ?? Number.NaN, "config")?.series?.find((d) => d.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, r = e.get("stacked"), l = Ai.new(e.root, {
9581
+ const s = D(e.chart?.uid ?? Number.NaN, "config")?.series?.find((d) => d.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, r = e.get("stacked"), l = Ti.new(e.root, {
9582
9582
  locationY: !r && !i ? 1 : void 0,
9583
9583
  locationX: !r && i ? 1 : void 0,
9584
9584
  sprite: st.new(e.root, {
@@ -9821,7 +9821,7 @@ function gS(t) {
9821
9821
  function hS(t) {
9822
9822
  const { series: e, externalDataLabelFormatter: i } = t;
9823
9823
  e.bullets.push(() => {
9824
- const o = D(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, n = Ai.new(e.root, {
9824
+ const o = D(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, n = Ti.new(e.root, {
9825
9825
  sprite: st.new(e.root, {
9826
9826
  text: "{value}",
9827
9827
  populateText: !0,
@@ -10251,7 +10251,7 @@ function Ha(t) {
10251
10251
  ci({ element: o, labelOutputProp: r }), o instanceof ni ? (o.adapters.remove("tooltipText"), o.adapters.remove("tooltipHTML"), o.adapters.add(
10252
10252
  r,
10253
10253
  (c, d) => _t({ element: d, series: e, isHTML: s })
10254
- )) : o instanceof ji && (o.adapters.remove("tooltipText"), o.adapters.remove("tooltipHTML"), o.adapters.add(
10254
+ )) : o instanceof qi && (o.adapters.remove("tooltipText"), o.adapters.remove("tooltipHTML"), o.adapters.add(
10255
10255
  r,
10256
10256
  (c, d) => _t({ element: d, series: e, isHTML: s })
10257
10257
  ));
@@ -10272,7 +10272,7 @@ function ci(t) {
10272
10272
  else if (e instanceof ud) {
10273
10273
  const o = e.get("tooltip");
10274
10274
  o && (a ? (o.label.set("html", L.htmlEmptyContent), o.label.set("text", "")) : o.label.set("html", void 0)), e.set("tooltipText", a ? void 0 : L.htmlEmptyContent), e.set("tooltipHTML", a ? L.htmlEmptyContent : void 0);
10275
- } else e instanceof ji && (e.set("tooltipText", a ? void 0 : L.htmlEmptyContent), e.set("tooltipHTML", a ? L.htmlEmptyContent : void 0));
10275
+ } else e instanceof qi && (e.set("tooltipText", a ? void 0 : L.htmlEmptyContent), e.set("tooltipHTML", a ? L.htmlEmptyContent : void 0));
10276
10276
  }
10277
10277
  function IS(t, e) {
10278
10278
  if (t) {
@@ -10304,7 +10304,7 @@ function $S(t) {
10304
10304
  const r = s.get("valueX"), l = s.get("valueY"), c = s.get("valueXTotalPercent"), d = s.get("valueYTotalPercent"), u = o ? r : l;
10305
10305
  let m;
10306
10306
  o && typeof c == "number" ? m = c : !o && typeof d == "number" && (m = d), m && (m /= 100);
10307
- const g = s.dataContext ?? {}, h = D(i.chart?.uid ?? 0, "config"), p = D(i.chart?.uid ?? 0, "rendererFieldNames"), b = Si({
10307
+ const g = s.dataContext ?? {}, h = D(i.chart?.uid ?? 0, "config"), p = D(i.chart?.uid ?? 0, "rendererFieldNames"), b = vi({
10308
10308
  value: g[e.x],
10309
10309
  dataContext: g,
10310
10310
  useRendererLabel: dn(h, p),
@@ -10531,7 +10531,7 @@ function BS(t) {
10531
10531
  if (g !== void 0) {
10532
10532
  const { dataTooltipVisible: h } = n, p = o instanceof be ? n.markerVisible : void 0;
10533
10533
  if (h !== !1 && p !== !1) {
10534
- const b = g.axes, C = b[0].valueFormat, x = b[1].valueFormat, S = i?.find((M) => M.name === n.x)?.type === bn.TimeOnly, v = j(g.series), A = $t(g) === me.Stacked100, T = lt(a), k = ca(T).idField, O = Me(i, n.x), I = Oa(O, b[0].title?.content.text), w = Yd({
10534
+ const b = g.axes, C = b[0].valueFormat, x = b[1].valueFormat, S = i?.find((M) => M.name === n.x)?.type === bn.TimeOnly, v = j(g.series), A = $t(g) === me.Stacked100, T = lt(a), k = la(T).idField, O = Me(i, n.x), I = Oa(O, b[0].title?.content.text), w = Yd({
10535
10535
  config: g,
10536
10536
  fieldList: i,
10537
10537
  objectIdField: k,
@@ -10579,7 +10579,7 @@ function BS(t) {
10579
10579
  case P.BarAndLineSplitByNoAggregation:
10580
10580
  case P.BarAndLineSplitBy:
10581
10581
  {
10582
- const U = vi(n.query?.where, !1), fe = Dc({
10582
+ const U = Li(n.query?.where, !1), fe = Dc({
10583
10583
  value: Me(i, U)
10584
10584
  });
10585
10585
  J.push(
@@ -10724,7 +10724,7 @@ function NS(t) {
10724
10724
  return (s, r, l) => {
10725
10725
  let c = "", d = s;
10726
10726
  const u = D(e.chart?.uid ?? 0, "rtl"), m = D(e.chart?.uid ?? 0, "config");
10727
- if (Vi(m)) {
10727
+ if (Pi(m)) {
10728
10728
  d !== null ? e.chart && (d = Wt({
10729
10729
  root: e.chart.root,
10730
10730
  type: "number",
@@ -10732,7 +10732,7 @@ function NS(t) {
10732
10732
  }).format(s)) : d = m.series[0].emptyCells?.text ?? L.heatChart.emptyCells?.text ?? "";
10733
10733
  const g = Dt(u ?? !1), h = i.query?.outStatistics?.[0].onStatisticField, p = lt(n);
10734
10734
  let b = a.statistics.count;
10735
- h !== ca(p).idField && (b = br({
10735
+ h !== la(p).idField && (b = br({
10736
10736
  config: m,
10737
10737
  fieldName: Me(o, i.query?.outStatistics?.[0].onStatisticField ?? ""),
10738
10738
  utilsStrings: a
@@ -10884,7 +10884,7 @@ function HS(t) {
10884
10884
  R.outline = M;
10885
10885
  }
10886
10886
  if (R) {
10887
- const M = Gi({
10887
+ const M = zi({
10888
10888
  root: e.root,
10889
10889
  element: v,
10890
10890
  fillSymbol: R
@@ -10918,7 +10918,7 @@ function GS(t) {
10918
10918
  queryObject: u,
10919
10919
  chartConfig: m
10920
10920
  } = t, g = o === !0 || n === !0 || s || r === !0;
10921
- e.set("id", l.id), Ra(e, !1), ze(e.columns.template, d?.selectionTheme), Ki(e.columns.template, i?.dataItems?.length), VS(t), zS(e, l.gridLine), HS({
10921
+ e.set("id", l.id), Ra(e, !1), ze(e.columns.template, d?.selectionTheme), Zi(e.columns.template, i?.dataItems?.length), VS(t), zS(e, l.gridLine), HS({
10922
10922
  columnSeries: e,
10923
10923
  seriesConfig: l
10924
10924
  }), g && ES({
@@ -11175,11 +11175,11 @@ function af(t) {
11175
11175
  paddingBottom: s.legendPadding + p
11176
11176
  });
11177
11177
  const C = le({ childId: Pn, parent: e });
11178
- C instanceof gi && C.set("paddingBottom", s.chartPadding + p), l = e.bottomAxesContainer;
11178
+ C instanceof hi && C.set("paddingBottom", s.chartPadding + p), l = e.bottomAxesContainer;
11179
11179
  }
11180
11180
  break;
11181
11181
  }
11182
- qS(e), i.markDirty(), of(e, { chartPaddingTop: d, chartPaddingBottom: c }), zi(() => {
11182
+ qS(e), i.markDirty(), of(e, { chartPaddingTop: d, chartPaddingBottom: c }), Hi(() => {
11183
11183
  l && (u ? l.children.unshift(a) : l.children.push(a), e.markDirty(), i.markDirty(), l.markDirty());
11184
11184
  });
11185
11185
  }
@@ -11200,7 +11200,7 @@ function nf(t, e) {
11200
11200
  function sf(t) {
11201
11201
  const { series: e, legend: i, chart: a } = t, o = D(a.uid, "config"), n = (s) => {
11202
11202
  const r = s.getPrivate("valueLow"), l = s.getPrivate("valueHigh");
11203
- r !== void 0 && l !== void 0 && (i.get("orientation") === "vertical" ? (i.set("startValue", l), i.set("endValue", r)) : (i.set("startValue", r), i.set("endValue", l))), zi(() => {
11203
+ r !== void 0 && l !== void 0 && (i.get("orientation") === "vertical" ? (i.set("startValue", l), i.set("endValue", r)) : (i.set("startValue", r), i.set("endValue", l))), Hi(() => {
11204
11204
  nf(i, () => {
11205
11205
  rf({ legend: i, series: s, chartConfig: o });
11206
11206
  });
@@ -11383,7 +11383,7 @@ function Ls(t) {
11383
11383
  function ZS(t, e) {
11384
11384
  const { root: i } = t, a = D(t.uid, "config"), o = a?.legend, n = t.series.values[0];
11385
11385
  Hr(t);
11386
- const s = ef(t, a ?? e), r = gi.new(i, {
11386
+ const s = ef(t, a ?? e), r = hi.new(i, {
11387
11387
  id: et(ft, t.uid),
11388
11388
  layout: i.verticalLayout
11389
11389
  });
@@ -11418,7 +11418,7 @@ function cf(t) {
11418
11418
  }
11419
11419
  function KS(t) {
11420
11420
  const e = le({ childId: Nn, parent: t });
11421
- e instanceof gi && e.set("marginTop", 0);
11421
+ e instanceof hi && e.set("marginTop", 0);
11422
11422
  }
11423
11423
  function QS(t) {
11424
11424
  let e;
@@ -11448,8 +11448,8 @@ function QS(t) {
11448
11448
  function JS(t) {
11449
11449
  const { chart: e, chartConfig: i, heatLegendPositionChanged: a, heatRulesTypeChanged: o } = t, { legend: n } = i, s = n !== void 0 && n.visible !== !1, r = e.series.values[0];
11450
11450
  if (a || o)
11451
- Hr(e), s && r instanceof Oe && zi(() => {
11452
- const l = ef(e), c = gi.new(e.root, {
11451
+ Hr(e), s && r instanceof Oe && Hi(() => {
11452
+ const l = ef(e), c = hi.new(e.root, {
11453
11453
  id: et(ft, e.uid),
11454
11454
  layout: e.root.verticalLayout
11455
11455
  });
@@ -11468,7 +11468,7 @@ function JS(t) {
11468
11468
  legend: l,
11469
11469
  chart: e,
11470
11470
  legendContainer: c
11471
- }), zi(() => {
11471
+ }), Hi(() => {
11472
11472
  nf(l, () => {
11473
11473
  rf({ legend: l, series: r, chartConfig: i });
11474
11474
  });
@@ -11607,7 +11607,7 @@ function nv(t, e) {
11607
11607
  return Math.ceil(i) + L.legendPadding;
11608
11608
  }
11609
11609
  function ff(t, e) {
11610
- zi(() => {
11610
+ Hi(() => {
11611
11611
  const i = tv(t), a = e === z.Right || e === z.Left || !i;
11612
11612
  ov(
11613
11613
  t,
@@ -11621,7 +11621,7 @@ function sv(t) {
11621
11621
  forceHidden: s === !1,
11622
11622
  direction: r ? "rtl" : "ltr",
11623
11623
  oversizedBehavior: o?.labelMaxWidth !== void 0 && !Number.isNaN(o.labelMaxWidth) ? "wrap" : "none"
11624
- }), zi(() => {
11624
+ }), Hi(() => {
11625
11625
  const l = uf(e, o?.labelMaxWidth), c = nv(e, l);
11626
11626
  e.itemContainers.template.setAll({
11627
11627
  width: c,
@@ -11657,9 +11657,9 @@ function rv(t) {
11657
11657
  const e = t.target.dataItem;
11658
11658
  if (e?.dataContext !== void 0) {
11659
11659
  const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
11660
- if (a instanceof ia) {
11660
+ if (a instanceof ta) {
11661
11661
  const n = { visible: !a.get("visible") };
11662
- Ti(a) || Fo(a) ? n.overlayType = _(a.uid, "type") : n.seriesId = a.get("id"), Bc(n, a.root.dom);
11662
+ ki(a) || Fo(a) ? n.overlayType = _(a.uid, "type") : n.seriesId = a.get("id"), Bc(n, a.root.dom);
11663
11663
  }
11664
11664
  }
11665
11665
  }
@@ -11680,7 +11680,7 @@ function dv(t) {
11680
11680
  const c = vt(a);
11681
11681
  r = e.series.values.filter((d) => {
11682
11682
  let u = !1;
11683
- return c ? u = d instanceof be && !(d instanceof Cn) : u = d instanceof _i, u;
11683
+ return c ? u = d instanceof be && !(d instanceof Cn) : u = d instanceof ji, u;
11684
11684
  });
11685
11685
  break;
11686
11686
  }
@@ -11723,7 +11723,7 @@ function dv(t) {
11723
11723
  if (o !== !1) {
11724
11724
  const u = a.series.find((m) => m.id === c.get("id"));
11725
11725
  if (u !== void 0 && "y" in u && typeof u.y == "string") {
11726
- const { x: m, y: g } = u, h = l === P.BarAndLineSplitByNoAggregation ? `${g}_${ra({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : g;
11726
+ const { x: m, y: g } = u, h = l === P.BarAndLineSplitByNoAggregation ? `${g}_${sa({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : g;
11727
11727
  d = c.data.values.some(
11728
11728
  (b) => jm({ dataItem: b, x: m, y: h })
11729
11729
  );
@@ -11739,7 +11739,7 @@ function dv(t) {
11739
11739
  }
11740
11740
  case y.HeatSeries: {
11741
11741
  const c = e.series.getIndex(0);
11742
- if (c instanceof Oe && Vi(a) && !dt(n)) {
11742
+ if (c instanceof Oe && Pi(a) && !dt(n)) {
11743
11743
  const d = Zu({
11744
11744
  queryObject: n,
11745
11745
  chartConfig: a,
@@ -11787,10 +11787,10 @@ function Ul(t) {
11787
11787
  });
11788
11788
  }), Math.ceil(e);
11789
11789
  }
11790
- function Qi(t, e) {
11790
+ function Ki(t, e) {
11791
11791
  const { root: i } = t, a = le({ childId: ft, parent: t });
11792
11792
  if (a !== void 0) {
11793
- const o = D(t.uid, "config"), n = D(t.uid, "rtl"), s = rt(o), r = H(o?.series), l = $t(o), c = o?.series?.some((fi) => fi.dataLabels?.visible !== !1) ?? !1, d = o?.title ? o.title.visible ?? !0 : !1, u = o?.subtitle ? o.subtitle.visible ?? !0 : !1, m = o?.footer ? o.footer.visible ?? !0 : !1, g = o?.legend ? o.legend.visible ?? !0 : !1, h = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, p = le({ childId: Nn, parent: t }), b = p instanceof gi && d ? p.height() : 0, C = le({ childId: Er, parent: t }), x = C instanceof gi && u ? C.height() : 0, S = le({ childId: Pn, parent: t }), v = S instanceof gi && m ? S.height() : 0, A = le({ childId: zt, parent: a }), T = A instanceof st && g && h ? A?.height() : 0, k = o?.legend?.position ?? L.legendProperties.position;
11793
+ const o = D(t.uid, "config"), n = D(t.uid, "rtl"), s = rt(o), r = H(o?.series), l = $t(o), c = o?.series?.some((fi) => fi.dataLabels?.visible !== !1) ?? !1, d = o?.title ? o.title.visible ?? !0 : !1, u = o?.subtitle ? o.subtitle.visible ?? !0 : !1, m = o?.footer ? o.footer.visible ?? !0 : !1, g = o?.legend ? o.legend.visible ?? !0 : !1, h = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, p = le({ childId: Nn, parent: t }), b = p instanceof hi && d ? p.height() : 0, C = le({ childId: Er, parent: t }), x = C instanceof hi && u ? C.height() : 0, S = le({ childId: Pn, parent: t }), v = S instanceof hi && m ? S.height() : 0, A = le({ childId: zt, parent: a }), T = A instanceof st && g && h ? A?.height() : 0, k = o?.legend?.position ?? L.legendProperties.position;
11794
11794
  let O;
11795
11795
  const I = e.get("verticalScrollbar");
11796
11796
  let w = Ae, R = Ae, $ = i.verticalLayout, M = Ae, W = Ae, E = Ae, V = Ae, X = 0, Y;
@@ -11815,9 +11815,9 @@ function Qi(t, e) {
11815
11815
  if (fi > 0)
11816
11816
  J += fi;
11817
11817
  else if (t.series.length > 0) {
11818
- const Oi = e.root.events.on(oe.FrameEnded, () => {
11819
- const $i = Ul(t);
11820
- $i > 0 && (n ? ne += $i : J += $i, Oi.dispose(), Qi(t, e));
11818
+ const $i = e.root.events.on(oe.FrameEnded, () => {
11819
+ const Di = Ul(t);
11820
+ Di > 0 && (n ? ne += Di : J += Di, $i.dispose(), Ki(t, e));
11821
11821
  });
11822
11822
  }
11823
11823
  }
@@ -11844,17 +11844,17 @@ function uv(t) {
11844
11844
  const { chart: e, legend: i, legendContainer: a } = t, o = le({ childId: zt, parent: a });
11845
11845
  o && o.on("visible", () => {
11846
11846
  i.root.events.once(oe.FrameEnded, () => {
11847
- Qi(e, i);
11847
+ Ki(e, i);
11848
11848
  });
11849
11849
  }), a.events.on(oe.BoundsChanged, () => {
11850
- Qi(e, i);
11850
+ Ki(e, i);
11851
11851
  }), i.events.on(oe.BoundsChanged, () => {
11852
- Qi(e, i);
11852
+ Ki(e, i);
11853
11853
  }), e.seriesContainer.onPrivate("height", () => {
11854
- Qi(e, i);
11854
+ Ki(e, i);
11855
11855
  }), e.series.each((n) => {
11856
11856
  n.events.on(oe.DataValidated, () => {
11857
- Qi(e, i);
11857
+ Ki(e, i);
11858
11858
  });
11859
11859
  });
11860
11860
  }
@@ -11892,7 +11892,7 @@ function fv(t, e) {
11892
11892
  const n = D(t.uid, "config");
11893
11893
  if (H(n?.series) !== y.HeatSeries) {
11894
11894
  const r = a.dataItem?.component;
11895
- r instanceof gt ? o = (a.dataItem?.dataContext?.[r.get("categoryField") ?? ""] ?? i)?.toString() : r instanceof ia && (o = r.get("name"));
11895
+ r instanceof gt ? o = (a.dataItem?.dataContext?.[r.get("categoryField") ?? ""] ?? i)?.toString() : r instanceof ta && (o = r.get("name"));
11896
11896
  }
11897
11897
  if (n !== void 0) {
11898
11898
  const { legend: r } = n, l = { ...r?.body, type: q.TS, text: o };
@@ -12045,7 +12045,7 @@ function ql(t, e) {
12045
12045
  if (mf(e?.series))
12046
12046
  a = ZS(t, e);
12047
12047
  else {
12048
- const o = gi.new(i, {
12048
+ const o = hi.new(i, {
12049
12049
  id: et(ft, t.uid),
12050
12050
  layout: i.verticalLayout
12051
12051
  }), n = e?.series?.[0].type === y.HeatSeries ? {
@@ -12118,7 +12118,7 @@ function bf(t) {
12118
12118
  chartType: H(u),
12119
12119
  seriesConfig: s,
12120
12120
  chart: e
12121
- }), pf(a, e, H(u)), dv({ chart: e, legend: a, chartConfig: i, hideEmptySeries: n, queryObject: r }), yv(e, d), Qi(e, a);
12121
+ }), pf(a, e, H(u)), dv({ chart: e, legend: a, chartConfig: i, hideEmptySeries: n, queryObject: r }), yv(e, d), Ki(e, a);
12122
12122
  const h = D(e.uid, "options");
12123
12123
  Sv(a, h?.disableTogglingLegendItems), e instanceof Zt && sv({ legend: a, chart: e, seriesConfig: s, legendConfig: d });
12124
12124
  }
@@ -12150,14 +12150,14 @@ function Fv(t) {
12150
12150
  calculateAggregates: !1
12151
12151
  });
12152
12152
  }
12153
- function Ti(t) {
12153
+ function ki(t) {
12154
12154
  return t.get("id") === L.overlayId.scatterplotTrendLine;
12155
12155
  }
12156
12156
  function Av(t) {
12157
- return t.series.values.find((e) => !Ti(e));
12157
+ return t.series.values.find((e) => !ki(e));
12158
12158
  }
12159
12159
  function yf(t) {
12160
- return t.series.values.find((e) => Ti(e));
12160
+ return t.series.values.find((e) => ki(e));
12161
12161
  }
12162
12162
  function Tv(t) {
12163
12163
  const { root: e, xAxis: i, yAxis: a, seriesConfig: o } = t, { x: n, y: s } = o, r = be.new(e, {
@@ -12172,7 +12172,7 @@ function Tv(t) {
12172
12172
  }), r;
12173
12173
  }
12174
12174
  function kv(t) {
12175
- const { markerSeries: e, options: i, queryObject: a } = t, o = ji.new({});
12175
+ const { markerSeries: e, options: i, queryObject: a } = t, o = qi.new({});
12176
12176
  He(e.uid, { bulletTemplate: o }), ze(o, i?.selectionTheme), e.bullets.push((n) => {
12177
12177
  const s = Pt.new(
12178
12178
  n,
@@ -12183,7 +12183,7 @@ function kv(t) {
12183
12183
  },
12184
12184
  o
12185
12185
  );
12186
- return ei({ element: s, series: e, queryObject: a }), Tf(s, e), Ai.new(n, {
12186
+ return ei({ element: s, series: e, queryObject: a }), Tf(s, e), Ti.new(n, {
12187
12187
  sprite: s
12188
12188
  });
12189
12189
  });
@@ -12238,7 +12238,7 @@ function Ov(t) {
12238
12238
  }) : void 0, S = x !== void 0 ? `R² = ${x}` : r;
12239
12239
  i.set("name", S);
12240
12240
  }
12241
- m.color === void 0 && (m.color = ta({ colorIndex: 1 })), jt({
12241
+ m.color === void 0 && (m.color = ea({ colorIndex: 1 })), jt({
12242
12242
  element: i,
12243
12243
  lineSymbol: m,
12244
12244
  visible: g
@@ -12247,7 +12247,7 @@ function Ov(t) {
12247
12247
  function $v(t) {
12248
12248
  const { root: e, chartConfig: i, markerSeries: a } = t, o = a.chart;
12249
12249
  if (o) {
12250
- const n = i.series[0], s = Ui(i);
12250
+ const n = i.series[0], s = Yi(i);
12251
12251
  let r, l;
12252
12252
  const c = td(), d = /* @__PURE__ */ new Set();
12253
12253
  a.dataItems.forEach((m) => {
@@ -12322,7 +12322,7 @@ function wv(t) {
12322
12322
  seriesWereReinitialized: d,
12323
12323
  valueFormat: id(),
12324
12324
  defaultR2Value: g.notAvailable
12325
- }), Fv({ seriesConfig: a, series: s, sizePolicyChanged: u }), ki(t) && Ii({
12325
+ }), Fv({ seriesConfig: a, series: s, sizePolicyChanged: u }), Ii(t) && Oi({
12326
12326
  // TODO: Remove the type assertion and correct the typings
12327
12327
  styleCallback: $v,
12328
12328
  callbackProps: { root: e, chartConfig: i, markerSeries: s, dataWasUpdated: c },
@@ -12367,7 +12367,7 @@ function Rv(t) {
12367
12367
  });
12368
12368
  });
12369
12369
  }
12370
- function ba(t) {
12370
+ function pa(t) {
12371
12371
  const { chart: e, selectionSource: i } = t, a = D(
12372
12372
  e.uid,
12373
12373
  "currentSelectionDataItems"
@@ -12443,7 +12443,7 @@ function Zl(t, e) {
12443
12443
  function Bv(t) {
12444
12444
  const e = () => {
12445
12445
  const i = t instanceof Fe ? t.get("cursor") : void 0, a = D(t.uid, "filterBySelection");
12446
- (i === void 0 || !Cf(i)) && !a && ba({ chart: t });
12446
+ (i === void 0 || !Cf(i)) && !a && pa({ chart: t });
12447
12447
  };
12448
12448
  t.get("background")?.events.on(oe.Click, e), t instanceof Fe && t.plotContainer.events.on(oe.PointerUp, e);
12449
12449
  }
@@ -12511,7 +12511,7 @@ function Wv(t, e) {
12511
12511
  if (n && s) {
12512
12512
  const r = D(t.uid, "config"), l = H(r?.series), c = t.get("cursor"), d = Vv({ cursor: c, xAxis: n, yAxis: s }), u = Wu(a);
12513
12513
  t.series.each((m) => {
12514
- !Ti(m) && !Fo(m) && (m instanceof Oe ? Mv({ series: m, cursorBounds: d, multiSelect: u }) : m instanceof be && (l === y.RadarSeries ? Pv({ xAxis: n, series: m, cursorBounds: d, multiSelect: u }) : Nv({ series: m, cursorBounds: d, multiSelect: u })));
12514
+ !ki(m) && !Fo(m) && (m instanceof Oe ? Mv({ series: m, cursorBounds: d, multiSelect: u }) : m instanceof be && (l === y.RadarSeries ? Pv({ xAxis: n, series: m, cursorBounds: d, multiSelect: u }) : Nv({ series: m, cursorBounds: d, multiSelect: u })));
12515
12515
  }), Ie(c.selection, !1), await Gr({ chart: t, selectionSource: Re.SelectionByRange, queryObject: e });
12516
12516
  }
12517
12517
  }
@@ -12520,7 +12520,7 @@ function Wv(t, e) {
12520
12520
  function Ev(t) {
12521
12521
  const { series: e, labelDefaults: i, externalDataLabelFormatter: a, seriesType: o } = t;
12522
12522
  e.bullets.push(() => {
12523
- const s = D(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, r = Ai.new(e.root, {
12523
+ const s = D(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, r = Ti.new(e.root, {
12524
12524
  locationY: 1,
12525
12525
  sprite: st.new(e.root, {
12526
12526
  populateText: !0,
@@ -12735,7 +12735,7 @@ function qv(t) {
12735
12735
  Ie(e, !1);
12736
12736
  else {
12737
12737
  const { symbol: n, created: s, visible: r } = i, l = _(e.uid, "type"), c = n ?? { type: q.SLS };
12738
- if (i.symbol?.color === void 0 && (c.color = ta({
12738
+ if (i.symbol?.color === void 0 && (c.color = ea({
12739
12739
  colorIndex: ad(l),
12740
12740
  histogramOverlays: !0
12741
12741
  })), jt({
@@ -12801,7 +12801,7 @@ function jv(t) {
12801
12801
  Ie(e, !1);
12802
12802
  else {
12803
12803
  const { symbol: n, created: s, visible: r } = i, l = n ?? { type: q.SLS };
12804
- if (i?.symbol?.color === void 0 && (l.color = ta({
12804
+ if (i?.symbol?.color === void 0 && (l.color = ea({
12805
12805
  colorIndex: ad(ke.Normal),
12806
12806
  histogramOverlays: !0
12807
12807
  })), jt({
@@ -12841,7 +12841,7 @@ async function _v(t) {
12841
12841
  loaderHandle: c,
12842
12842
  options: d
12843
12843
  } = t;
12844
- e.set("id", a.id), Ie(e, a.visible), ze(e.columns.template, d?.selectionTheme), Ki(e.columns.template, l?.bins?.length), Ga(e, a.name);
12844
+ e.set("id", a.id), Ie(e, a.visible), ze(e.columns.template, d?.selectionTheme), Zi(e.columns.template, l?.bins?.length), Ga(e, a.name);
12845
12845
  const u = lt(s), m = Zm({
12846
12846
  chartRenderer: r,
12847
12847
  queryObject: s
@@ -12859,7 +12859,7 @@ async function _v(t) {
12859
12859
  });
12860
12860
  p = b.rendererSymbol, we(e.chart?.uid ?? Number.NaN, { colorMatchApplied: b.colorMatchApplied });
12861
12861
  }
12862
- ki(t) && Ii({
12862
+ Ii(t) && Oi({
12863
12863
  // TODO: Remove the type assertion and correct the typings
12864
12864
  styleCallback: Gv,
12865
12865
  callbackProps: { ...t, rendererSymbol: p },
@@ -12947,13 +12947,13 @@ function Ao(t) {
12947
12947
  return i !== void 0 && (e = D(i.uid, "isRotated") === !0 ? Kv(t) : Qv(t)), e;
12948
12948
  }
12949
12949
  function Jv(t) {
12950
- Pc(), Vc(t.root.dom), ba({ chart: t });
12950
+ Pc(), Vc(t.root.dom), pa({ chart: t });
12951
12951
  }
12952
12952
  function eL(t) {
12953
12953
  const { chart: e, chartType: i, showMean: a } = t;
12954
12954
  return e.series.values.filter((n) => {
12955
12955
  let s = !0;
12956
- return Ti(n) || Fo(n) || _(n.uid, "isOverlay") === !0 ? s = !1 : i === y.BoxPlotSeries && (a ? s = _(n.uid, "isBoxPlotMeanLineSeries") === !0 : s = n instanceof _i), s;
12956
+ return ki(n) || Fo(n) || _(n.uid, "isOverlay") === !0 ? s = !1 : i === y.BoxPlotSeries && (a ? s = _(n.uid, "isBoxPlotMeanLineSeries") === !0 : s = n instanceof ji), s;
12957
12957
  }).every((n) => _(n.uid, "isSelectionApplied") === !0);
12958
12958
  }
12959
12959
  function tL(t) {
@@ -12961,7 +12961,7 @@ function tL(t) {
12961
12961
  }
12962
12962
  function iL(t) {
12963
12963
  let e = [];
12964
- if (!Ti(t) && !Fo(t))
12964
+ if (!ki(t) && !Fo(t))
12965
12965
  switch (!0) {
12966
12966
  case t instanceof gt:
12967
12967
  e = t.slices.values;
@@ -12973,7 +12973,7 @@ function iL(t) {
12973
12973
  if (a) {
12974
12974
  const o = H(a?.series);
12975
12975
  let n = [];
12976
- o === y.HistogramSeries ? n = [to.Count] : o === y.HeatSeries ? n = [$e.valueField] : n = Li(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
12976
+ o === y.HistogramSeries ? n = [to.Count] : o === y.HeatSeries ? n = [$e.valueField] : n = Fi(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
12977
12977
  let r = !1;
12978
12978
  const l = s.dataItem?.dataContext;
12979
12979
  return l && (r = o === y.HeatSeries || n.some((c) => c in l && Number.isFinite(l[c]))), r;
@@ -12989,12 +12989,12 @@ function iL(t) {
12989
12989
  }
12990
12990
  function Lf(t, e) {
12991
12991
  const i = D(t.uid, "actionMode");
12992
- (i === Z.MonoSelection || i === Z.None) && e.length > 1 ? ba({ chart: t }) : e.forEach((o) => {
12992
+ (i === Z.MonoSelection || i === Z.None) && e.length > 1 ? pa({ chart: t }) : e.forEach((o) => {
12993
12993
  ot({ element: o, selected: !0 });
12994
12994
  });
12995
12995
  }
12996
12996
  function aL(t) {
12997
- const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = D(e.uid, "config"), r = Fi(s), l = Li(s?.series ?? []), c = j(s?.series), d = H(s?.series);
12997
+ const { chart: e, selectionIndexes: i, queryObject: a } = t, o = [], n = [], s = D(e.uid, "config"), r = Ai(s), l = Fi(s?.series ?? []), c = j(s?.series), d = H(s?.series);
12998
12998
  return e.series.each((u, m) => {
12999
12999
  if (s && u.get("visible") === !0 && u.get("id") !== L.overlayId.scatterplotTrendLine) {
13000
13000
  const g = s.series[0].x, h = Ao(u), p = i.get(m);
@@ -13004,7 +13004,7 @@ function aL(t) {
13004
13004
  const { indexesToSelect: C } = p;
13005
13005
  b.forEach((x, S) => {
13006
13006
  if (C === void 0 || C.includes(S)) {
13007
- const v = xi({
13007
+ const v = Si({
13008
13008
  dataContext: x.dataItem?.dataContext,
13009
13009
  yList: l,
13010
13010
  yAxisField: h,
@@ -13012,7 +13012,7 @@ function aL(t) {
13012
13012
  chartType: d,
13013
13013
  chartSubType: c,
13014
13014
  showOutliers: r,
13015
- isFeatureCollectionLayer: yi(a)
13015
+ isFeatureCollectionLayer: Ci(a)
13016
13016
  });
13017
13017
  v !== void 0 && o.push(v), n.push(x);
13018
13018
  } else
@@ -13035,12 +13035,12 @@ function oL(t) {
13035
13035
  yAxisField: l,
13036
13036
  splitBy: c,
13037
13037
  queryObject: d
13038
- } = t, u = H(i.series), m = j(i.series), g = Fi(i), h = [], p = [], b = [], C = Li(i.series);
13038
+ } = t, u = H(i.series), m = j(i.series), g = Ai(i), h = [], p = [], b = [], C = Fi(i.series);
13039
13039
  return o.forEach((x, S) => {
13040
13040
  const v = x instanceof no || x instanceof so ? x : x.bullets?.[0]?.get("sprite");
13041
13041
  if (v !== void 0) {
13042
13042
  let A = x instanceof no || x instanceof so ? v.dataItem?.dataContext : x.dataContext;
13043
- if (A !== void 0 && u === y.BoxPlotSeries && A[L.boxPlot.boxPlotOutlierId] !== !0 && (A = xi({
13043
+ if (A !== void 0 && u === y.BoxPlotSeries && A[L.boxPlot.boxPlotOutlierId] !== !0 && (A = Si({
13044
13044
  dataContext: A,
13045
13045
  yAxisField: l,
13046
13046
  yList: C,
@@ -13049,7 +13049,7 @@ function oL(t) {
13049
13049
  chartType: u,
13050
13050
  chartSubType: m,
13051
13051
  showOutliers: g,
13052
- isFeatureCollectionLayer: yi(d)
13052
+ isFeatureCollectionLayer: Ci(d)
13053
13053
  })), vn({
13054
13054
  elementDataContext: A,
13055
13055
  options: a,
@@ -13066,7 +13066,7 @@ function oL(t) {
13066
13066
  b.push(A);
13067
13067
  else {
13068
13068
  const k = /* @__PURE__ */ new Set();
13069
- u === y.PieSeries && Yi(A) ? (yo({
13069
+ u === y.PieSeries && Xi(A) ? (yo({
13070
13070
  groupOfSlicesDataContext: A
13071
13071
  }) ?? []).forEach((I) => {
13072
13072
  n.forEach((w) => {
@@ -13078,7 +13078,7 @@ function oL(t) {
13078
13078
  }) && k.add(I);
13079
13079
  });
13080
13080
  }) : k.add(A), Array.from(k)?.forEach((O) => {
13081
- const I = xi({
13081
+ const I = Si({
13082
13082
  dataContext: O,
13083
13083
  yAxisField: l,
13084
13084
  yList: C,
@@ -13087,7 +13087,7 @@ function oL(t) {
13087
13087
  chartType: u,
13088
13088
  chartSubType: m,
13089
13089
  showOutliers: g,
13090
- isFeatureCollectionLayer: yi(d)
13090
+ isFeatureCollectionLayer: Ci(d)
13091
13091
  });
13092
13092
  I !== void 0 && b.push(I);
13093
13093
  });
@@ -13113,7 +13113,7 @@ function nL(t) {
13113
13113
  if (u instanceof Ia) {
13114
13114
  const m = D(u.uid, "options"), { filterBySelection: g, selectionData: h, returnSelectionIndexes: p, returnSelectionOIDs: b } = m ?? {}, { selectionIndexes: C } = h ?? {}, x = D(u.uid, "config"), S = vt(x), v = H(x?.series), A = j(x?.series), T = iL(e);
13115
13115
  if (g !== !0 && x !== void 0) {
13116
- const k = lt(a), O = ca(k).idField, I = D(
13116
+ const k = lt(a), O = la(k).idField, I = D(
13117
13117
  u.uid,
13118
13118
  "currentSelectionDataItems"
13119
13119
  );
@@ -13133,7 +13133,7 @@ function nL(t) {
13133
13133
  y: l,
13134
13134
  outStatisticFieldName: x.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
13135
13135
  });
13136
- const E = C?.keys.length !== W?.keys.length || !Ji(C, W);
13136
+ const E = C?.keys.length !== W?.keys.length || !Qi(C, W);
13137
13137
  w = n === !0 || o === !0 || s === !0 || d === !0 || $ !== void 0 && M;
13138
13138
  let V = !0;
13139
13139
  if (C !== void 0 && C.size > 0) {
@@ -13159,7 +13159,7 @@ function nL(t) {
13159
13159
  if (V.push(...E), x.series.length > 1 && A !== P.BarAndLineNoAggregation && A !== P.BarAndLineSplitByNoAggregation && (V = Hc({
13160
13160
  data: V,
13161
13161
  x: x.series[0].x,
13162
- splitByField: vi(x.series[0].query?.where)
13162
+ splitByField: Li(x.series[0].query?.where)
13163
13163
  })), we(u.uid, { computedSelectionDataItems: V }), p === !0) {
13164
13164
  const X = Array.from(new Set(W));
13165
13165
  let Y = D(
@@ -13202,7 +13202,7 @@ function nL(t) {
13202
13202
  ).map((V) => JSON.parse(V)), $ !== void 0 && we(u.uid, { currentSelectionDataItems: W }), h?.selectionOIDs !== void 0 && we(u.uid, { currentSelectionOIDs: h.selectionOIDs });
13203
13203
  let E;
13204
13204
  if (p === !0 && (E = D(u.uid, "computedSelectionIndexes") ?? C, E !== void 0 && we(u.uid, { currentSelectionIndexes: E })), W === void 0 || W.length === 0)
13205
- ba({ chart: u, selectionSource: Re.ProgrammaticSelection });
13205
+ pa({ chart: u, selectionSource: Re.ProgrammaticSelection });
13206
13206
  else {
13207
13207
  const V = {
13208
13208
  selectionItems: W,
@@ -13220,7 +13220,7 @@ function nL(t) {
13220
13220
  }
13221
13221
  function sL(t) {
13222
13222
  const { chart: e, chartConfig: i, queryObject: a } = t;
13223
- !D(e.uid, "filterBySelection") && !dt(a) && e.series.values.filter((n) => !Ti(n) && !Fo(n)).forEach((n) => {
13223
+ !D(e.uid, "filterBySelection") && !dt(a) && e.series.values.filter((n) => !ki(n) && !Fo(n)).forEach((n) => {
13224
13224
  const { seriesConfig: s, seriesIndex: r } = Wn(n, i);
13225
13225
  if (s) {
13226
13226
  const l = s.x, c = s.type === y.BoxPlotSeries || s.type === y.HeatSeries ? s.y.toString() : Ao(n), d = s.query?.where ?? "";
@@ -13235,7 +13235,7 @@ function sL(t) {
13235
13235
  async function Gr(t) {
13236
13236
  const { chart: e, selectionSource: i, queryObject: a } = t, o = D(e.uid, "config"), n = dt(a);
13237
13237
  if (o) {
13238
- const s = D(e.uid, "options"), r = H(o.series), l = j(o.series), c = Fi(o), d = Li(o.series), u = o.series[0].x, m = io(a), g = n ? void 0 : ir(lt(a))?.dateFieldsTimeZone, h = Vi(o) ? o.outTimeZone : void 0, b = Nt(a).find((C) => C.name === u)?.type;
13238
+ const s = D(e.uid, "options"), r = H(o.series), l = j(o.series), c = Ai(o), d = Fi(o.series), u = o.series[0].x, m = io(a), g = n ? void 0 : ir(lt(a))?.dateFieldsTimeZone, h = Pi(o) ? o.outTimeZone : void 0, b = Nt(a).find((C) => C.name === u)?.type;
13239
13239
  try {
13240
13240
  const C = /* @__PURE__ */ new Set(), x = [], S = /* @__PURE__ */ new Map(), v = [];
13241
13241
  let A = [], T = 0;
@@ -13248,7 +13248,7 @@ async function Gr(t) {
13248
13248
  T += 1;
13249
13249
  let V = M instanceof no || M instanceof so ? M.dataItem?.dataContext : M.dataContext;
13250
13250
  if (V !== void 0) {
13251
- if (V = xi({
13251
+ if (V = Si({
13252
13252
  dataContext: V,
13253
13253
  yAxisField: R,
13254
13254
  yList: d,
@@ -13257,7 +13257,7 @@ async function Gr(t) {
13257
13257
  chartType: r,
13258
13258
  chartSubType: l,
13259
13259
  showOutliers: c,
13260
- isFeatureCollectionLayer: yi(a)
13260
+ isFeatureCollectionLayer: Ci(a)
13261
13261
  }), C.has(JSON.stringify(V)) || (C.add(JSON.stringify(V)), x.push(V)), W !== void 0) {
13262
13262
  const Y = S.get(O)?.indexesToSelect ?? [];
13263
13263
  Y.push(W), S.set(O, {
@@ -13287,7 +13287,7 @@ async function Gr(t) {
13287
13287
  }
13288
13288
  });
13289
13289
  }), T === 0)
13290
- ba({ chart: e, selectionSource: i });
13290
+ pa({ chart: e, selectionSource: i });
13291
13291
  else {
13292
13292
  if (!n && s?.returnSelectionOIDs !== !1 && v.length > 0) {
13293
13293
  const I = { ...D(e.uid, "queryConfig") };
@@ -13333,10 +13333,10 @@ async function Gr(t) {
13333
13333
  }
13334
13334
  }
13335
13335
  function za(t, e) {
13336
- const { y: i, query: a } = e, n = j(t.series) === P.BarAndLineSplitByNoAggregation ? `${i.toString()}_${ra({ where: a?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [i].flat()[0], s = L.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat?.type === y.CategoryAxisFormat ? r : l, d = t.rotated === !0 ? "valueXField" : "valueYField";
13336
+ const { y: i, query: a } = e, n = j(t.series) === P.BarAndLineSplitByNoAggregation ? `${i.toString()}_${sa({ where: a?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [i].flat()[0], s = L.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", c = t.axes?.[0]?.valueFormat?.type === y.CategoryAxisFormat ? r : l, d = t.rotated === !0 ? "valueXField" : "valueYField";
13337
13337
  return { xField: s, yField: n, xAxisField: c, yAxisField: d };
13338
13338
  }
13339
- function ki(t) {
13339
+ function Ii(t) {
13340
13340
  const {
13341
13341
  chartConfig: e,
13342
13342
  seriesWereReinitialized: i,
@@ -13409,7 +13409,7 @@ function rL(t) {
13409
13409
  seriesConfig: a
13410
13410
  });
13411
13411
  }
13412
- function Ii(t) {
13412
+ function Oi(t) {
13413
13413
  const { series: e, styleCallback: i, callbackProps: a, seriesConfig: o } = t;
13414
13414
  Ff({
13415
13415
  callbackInfo: { styleCallback: i, callbackProps: a, type: "style" },
@@ -13469,7 +13469,7 @@ function Xa(t, e) {
13469
13469
  const { series: i } = e, a = H(i);
13470
13470
  !0 === t instanceof Oe && (t.columns.template.setAll({ hoverOnFocus: !0 }), a === y.HeatSeries ? t.columns.template.set("ariaLabel", uL()) : t.columns.template.set("ariaLabel", Ho()));
13471
13471
  }
13472
- function Ki(t, e) {
13472
+ function Zi(t, e) {
13473
13473
  t && t.set("focusable", (e ?? 0) < L.focusableThreshold);
13474
13474
  }
13475
13475
  function cL(t) {
@@ -13502,7 +13502,7 @@ function Yr(t) {
13502
13502
  const s = j(e.series);
13503
13503
  let r = n.name;
13504
13504
  if (s === P.BarAndLineSplitBy || s === P.BarAndLineSplitByNoAggregation) {
13505
- const l = vi(n.query?.where);
13505
+ const l = Li(n.query?.where);
13506
13506
  r = qs({ queryObject: o, fieldName: l, fieldValue: r }) ?? r;
13507
13507
  }
13508
13508
  Ga(i, r);
@@ -13513,7 +13513,7 @@ function Wn(t, e) {
13513
13513
  let a, o;
13514
13514
  return e?.series.forEach((n, s) => {
13515
13515
  let r = !1;
13516
- i !== y.BoxPlotSeries || t instanceof _i ? r = t.get("id") === n.id : t instanceof Cn ? r = t.get("id")?.replace(`_${ue.Top}`, "") === n.id || t.get("id")?.replace(`_${ue.Median}`, "") === n.id || t.get("id")?.replace(`_${ue.Bottom}`, "") === n.id : t instanceof be && (r = t.get("id")?.replace(`_${ue.Outliers}`, "") === n.id), r && (a = n, o = s);
13516
+ i !== y.BoxPlotSeries || t instanceof ji ? r = t.get("id") === n.id : t instanceof Cn ? r = t.get("id")?.replace(`_${ue.Top}`, "") === n.id || t.get("id")?.replace(`_${ue.Median}`, "") === n.id || t.get("id")?.replace(`_${ue.Bottom}`, "") === n.id : t instanceof be && (r = t.get("id")?.replace(`_${ue.Outliers}`, "") === n.id), r && (a = n, o = s);
13517
13517
  }), { seriesConfig: a, seriesIndex: o };
13518
13518
  }
13519
13519
  function dL(t, e) {
@@ -13612,7 +13612,7 @@ function gL(t) {
13612
13612
  return (s) => {
13613
13613
  let r = s ?? "";
13614
13614
  const l = D(e.uid, "formatLocale"), c = D(e.uid, "config");
13615
- if (Vi(c)) {
13615
+ if (Pi(c)) {
13616
13616
  const d = km(c.series[0], i);
13617
13617
  if (d && s !== void 0 && s !== "") {
13618
13618
  if (a.type === y.DateAxisFormat && a.intlOptions)
@@ -13658,7 +13658,7 @@ function gL(t) {
13658
13658
  };
13659
13659
  }
13660
13660
  function hL(t) {
13661
- const { axis: e, formatOptions: i, isTimeOnlyField: a } = t, o = { ...bi(i) }, n = [
13661
+ const { axis: e, formatOptions: i, isTimeOnlyField: a } = t, o = { ...yi(i) }, n = [
13662
13662
  "year",
13663
13663
  "month",
13664
13664
  "day",
@@ -13697,7 +13697,7 @@ function If(t) {
13697
13697
  const c = n.series?.[0]?.nullCategory, d = cn(l, n.series?.[0]);
13698
13698
  o = o === null && c?.text !== void 0 ? c.text : e?.[d]?.toString() ?? "";
13699
13699
  } else
13700
- o = Si({
13700
+ o = vi({
13701
13701
  value: i ?? "",
13702
13702
  dataContext: e,
13703
13703
  useRendererLabel: dn(n, s),
@@ -13726,7 +13726,7 @@ function pL(t, e) {
13726
13726
  let h = r;
13727
13727
  const p = l.dataItem?.dataContext, b = D(t.chart?.uid ?? Number.NaN, "config");
13728
13728
  if (H(b?.series) === y.HeatSeries) {
13729
- const v = sa(t.get("renderer")) ? p?.[$e.xField] : p?.[$e.yField];
13729
+ const v = na(t.get("renderer")) ? p?.[$e.xField] : p?.[$e.yField];
13730
13730
  typeof v == "string" && (h = v);
13731
13731
  }
13732
13732
  const x = If({
@@ -13745,7 +13745,7 @@ function pL(t, e) {
13745
13745
  let c = r;
13746
13746
  const d = D(i.uid, "config");
13747
13747
  if (!Ct(l.uid, "isGuide") && d !== void 0 && !(s === "html" && o)) {
13748
- const m = rt(d), g = sa(t.get("renderer"), m), h = d.axes?.[g ? 0 : 1], p = {
13748
+ const m = rt(d), g = na(t.get("renderer"), m), h = d.axes?.[g ? 0 : 1], p = {
13749
13749
  type: q.TS,
13750
13750
  ...h?.labels.content,
13751
13751
  text: r
@@ -13833,14 +13833,14 @@ function xL(t) {
13833
13833
  }), b = h === void 0 || o || m !== void 0 && Kl({ axis: h, valueFormat: m, chartType: r });
13834
13834
  return s || n?.[0] || n?.[1] || p || b;
13835
13835
  }
13836
- function sa(t, e) {
13837
- return t instanceof bt && !e || t instanceof Ci && e || t instanceof Qt;
13836
+ function na(t, e) {
13837
+ return t instanceof bt && !e || t instanceof xi && e || t instanceof Qt;
13838
13838
  }
13839
13839
  function En(t) {
13840
13840
  return t instanceof bt;
13841
13841
  }
13842
13842
  function SL(t) {
13843
- return t instanceof Ci;
13843
+ return t instanceof xi;
13844
13844
  }
13845
13845
  function vL(t) {
13846
13846
  const { axis: e, isLogarithmic: i, axisConfigIndex: a } = t, o = D(e.chart?.uid ?? Number.NaN, "config"), n = i === !0 && Qs({
@@ -14006,7 +14006,7 @@ function DL(t) {
14006
14006
  if (u && (e instanceof ve || e instanceof Ee))
14007
14007
  if (kL(e, i)) {
14008
14008
  let g = a, h = o;
14009
- const p = sa(e.get("renderer"), l);
14009
+ const p = na(e.get("renderer"), l);
14010
14010
  if (IL({
14011
14011
  chartType: s,
14012
14012
  stackedType: r,
@@ -14108,7 +14108,7 @@ function Jl(t, e) {
14108
14108
  if (l instanceof ve) {
14109
14109
  const d = l.get("renderer") instanceof Qt;
14110
14110
  s.push({
14111
- isXAxis: sa(l.get("renderer"), a),
14111
+ isXAxis: na(l.get("renderer"), a),
14112
14112
  isSecondValueAxis: c === 1 && n !== y.HistogramSeries,
14113
14113
  // histogram have 2 x-axes but it's not what we consider as "second value axis"
14114
14114
  minimum: d ? l.get("min") : l.getPrivate("min"),
@@ -14188,7 +14188,7 @@ function ML(t) {
14188
14188
  if (u && d) {
14189
14189
  const m = D(u.uid, "config"), g = D(u.uid, "isRotated");
14190
14190
  if (m) {
14191
- const p = !sa(e.get("renderer"), g) ? 1 : 0, C = m?.axes?.[p]?.guides?.[a];
14191
+ const p = !na(e.get("renderer"), g) ? 1 : 0, C = m?.axes?.[p]?.guides?.[a];
14192
14192
  if (C) {
14193
14193
  const { tooltipReverseColor: x } = C;
14194
14194
  ju(d, x);
@@ -14204,7 +14204,7 @@ function NL(t, e) {
14204
14204
  const { guideName: a, start: o, end: n } = i, { chart: s, root: r } = t;
14205
14205
  let l = "";
14206
14206
  if (s !== void 0) {
14207
- const c = D(s.uid, "config"), d = D(s.uid, "isRotated"), m = !sa(t.get("renderer"), d) ? 1 : 0, h = c?.axes?.[m]?.guides;
14207
+ const c = D(s.uid, "config"), d = D(s.uid, "isRotated"), m = !na(t.get("renderer"), d) ? 1 : 0, h = c?.axes?.[m]?.guides;
14208
14208
  let p = o, b = n;
14209
14209
  if (t instanceof Ee) {
14210
14210
  let A;
@@ -14363,12 +14363,12 @@ function GL(t) {
14363
14363
  if (i) {
14364
14364
  const o = i.get("axisFill"), n = i.get("label");
14365
14365
  if (a !== void 0) {
14366
- Wx(i.uid, { name: a.name }), Ie(i, a.visible), zL({ axis: e, guide: i, guideConfig: a }), a.style.type === q.SLS ? Gi({
14366
+ Wx(i.uid, { name: a.name }), Ie(i, a.visible), zL({ axis: e, guide: i, guideConfig: a }), a.style.type === q.SLS ? zi({
14367
14367
  root: e.root,
14368
14368
  element: o,
14369
14369
  fillSymbol: { type: q.SFS, color: a.style?.color, outline: a.style },
14370
14370
  visible: a.visible
14371
- }) : a.style.type === q.SFS && Gi({
14371
+ }) : a.style.type === q.SFS && zi({
14372
14372
  root: e.root,
14373
14373
  element: o,
14374
14374
  fillSymbol: a.style,
@@ -14665,7 +14665,7 @@ function n0(t) {
14665
14665
  ), s = n?.get("bullet")?.get("sprite");
14666
14666
  if (n && s instanceof rs) {
14667
14667
  const { startWidth: r, endWidth: l, innerRadius: c } = L.gaugeNeedle;
14668
- Gi({ root: i.root, element: s.hand, fillSymbol: a?.symbol }), Gi({ root: i.root, element: s.pin, fillSymbol: a?.symbol }), n.set("value", a0(e, o)), s.pin.set("visible", a?.displayPin === !0), s.setAll({
14668
+ zi({ root: i.root, element: s.hand, fillSymbol: a?.symbol }), zi({ root: i.root, element: s.pin, fillSymbol: a?.symbol }), n.set("value", a0(e, o)), s.pin.set("visible", a?.displayPin === !0), s.setAll({
14669
14669
  visible: a?.visible ?? !0,
14670
14670
  innerRadius: Ke(a?.innerRadius ?? c),
14671
14671
  bottomWidth: a?.startWidth ?? r,
@@ -14727,7 +14727,7 @@ async function l0(t) {
14727
14727
  }
14728
14728
  function c0(t) {
14729
14729
  const { chart: e, axesConfig: i, errorStrings: a } = t, { root: o } = e;
14730
- qi({ chartType: y.GaugeSeries, axesConfig: i, errorStrings: a });
14730
+ Ui({ chartType: y.GaugeSeries, axesConfig: i, errorStrings: a });
14731
14731
  const n = e.xAxes.push(
14732
14732
  ve.new(o, {
14733
14733
  min: 0,
@@ -14753,7 +14753,7 @@ function d0(t) {
14753
14753
  errorStrings: m,
14754
14754
  queryObject: g
14755
14755
  } = t, { horizontalAxisLabelsBehavior: h, verticalAxisLabelsBehavior: p, axes: b } = i, C = y.HistogramSeries, x = e.xAxes.getIndex(0), S = e.yAxes.getIndex(0);
14756
- qi({
14756
+ Ui({
14757
14757
  chartType: C,
14758
14758
  axesConfig: b,
14759
14759
  errorStrings: m
@@ -14784,17 +14784,17 @@ function d0(t) {
14784
14784
  }
14785
14785
  function u0(t) {
14786
14786
  const { chart: e, axesConfig: i, x: a, errorStrings: o } = t, { root: n } = e, s = y.HistogramSeries;
14787
- qi({ chartType: s, axesConfig: i, errorStrings: o });
14787
+ Ui({ chartType: s, axesConfig: i, errorStrings: o });
14788
14788
  const r = { root: n, x: a, chartType: s }, l = i?.[0]?.valueFormat, c = i?.[1]?.valueFormat;
14789
14789
  if (l !== void 0 && c !== void 0) {
14790
- const d = Ni({
14790
+ const d = Mi({
14791
14791
  ...r,
14792
14792
  axes: e.xAxes,
14793
14793
  valueFormat: l,
14794
14794
  axisRenderer: bt.new(n, {}),
14795
14795
  isXAxis: !0,
14796
14796
  x: a
14797
- }), u = Ni({
14797
+ }), u = Mi({
14798
14798
  ...r,
14799
14799
  axes: e.xAxes,
14800
14800
  valueFormat: l,
@@ -14803,11 +14803,11 @@ function u0(t) {
14803
14803
  isXAxis: !0,
14804
14804
  x: a
14805
14805
  });
14806
- Ni({
14806
+ Mi({
14807
14807
  ...r,
14808
14808
  axes: e.yAxes,
14809
14809
  valueFormat: c,
14810
- axisRenderer: Ci.new(n, {}),
14810
+ axisRenderer: xi.new(n, {}),
14811
14811
  isXAxis: !1,
14812
14812
  x: a
14813
14813
  }), d && (d.get("renderer").grid.template.set("location", 0), d.get("renderer").ticks.template.set("location", 0), d.get("renderer").labels.template.set("location", 0)), u && (u.set("visible", !1), u.get("renderer").grid.template.set("visible", !1), u.get("renderer").ticks.template.set("visible", !1), u.get("renderer").labels.template.set("visible", !1));
@@ -14840,7 +14840,7 @@ function f0(t) {
14840
14840
  }
14841
14841
  function m0(t) {
14842
14842
  const { axis: e, isHorizontalAxis: i, isSecondValueAxis: a } = t, { root: o } = e, n = i ? { ...L.xAxisTitleLabel, verticalCenter: ie.Top } : L.yAxisTitleLabel, s = $a({ root: o, id: Rf(e, i), defaults: n });
14843
- return e.get("renderer") instanceof Ci && a !== !0 || e.get("renderer") instanceof bt && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && (e.events.onDebounced(
14843
+ return e.get("renderer") instanceof xi && a !== !0 || e.get("renderer") instanceof bt && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && (e.events.onDebounced(
14844
14844
  oe.BoundsChanged,
14845
14845
  () => As(e, s),
14846
14846
  L.debounceTime
@@ -14850,7 +14850,7 @@ function m0(t) {
14850
14850
  L.debounceTime
14851
14851
  ), t0({ axis: e, isHorizontalAxis: i, label: s })), s;
14852
14852
  }
14853
- function Ni(t) {
14853
+ function Mi(t) {
14854
14854
  const {
14855
14855
  root: e,
14856
14856
  axes: i,
@@ -14889,10 +14889,10 @@ function Ni(t) {
14889
14889
  if (d !== void 0 && !c) {
14890
14890
  wL(d), Of(e, d);
14891
14891
  const u = r === y.HistogramSeries || r === y.HeatSeries ? 0 : 0.1, m = r === y.HistogramSeries || r === y.HeatSeries ? 1 : 0.9;
14892
- d.get("renderer").setAll({ cellStartLocation: u, cellEndLocation: m }), r === y.HeatSeries && (n instanceof bt || n instanceof Ci) && n.setAll({ layer: L.zIndexes.axisLineLayer }), $f(d), f0(d), En(d.get("renderer")) ? d.get("renderer").labels.template.set(
14892
+ d.get("renderer").setAll({ cellStartLocation: u, cellEndLocation: m }), r === y.HeatSeries && (n instanceof bt || n instanceof xi) && n.setAll({ layer: L.zIndexes.axisLineLayer }), $f(d), f0(d), En(d.get("renderer")) ? d.get("renderer").labels.template.set(
14893
14893
  s ? "paddingBottom" : "paddingTop",
14894
14894
  L.axisLabelSpacing.horizontalAxisLabelPaddingTop
14895
- ) : n instanceof Ci && d.get("renderer").labels.template.set(
14895
+ ) : n instanceof xi && d.get("renderer").labels.template.set(
14896
14896
  s ? "paddingLeft" : "paddingRight",
14897
14897
  L.axisLabelSpacing.verticalAxisLabelSidePadding
14898
14898
  );
@@ -14919,7 +14919,7 @@ function g0(t) {
14919
14919
  (p) => m in p ? p[m] : void 0
14920
14920
  );
14921
14921
  return Array.from(new Set(h)).map((p) => ({ [m]: p }));
14922
- }, d = e.get("renderer") instanceof Ci ? $e.yField : $e.xField, u = c(d, l);
14922
+ }, d = e.get("renderer") instanceof xi ? $e.yField : $e.xField, u = c(d, l);
14923
14923
  e.data.setAll(u);
14924
14924
  }
14925
14925
  }
@@ -14974,12 +14974,12 @@ function _r(t) {
14974
14974
  guides: E,
14975
14975
  tickSpacing: V,
14976
14976
  dateBaseInterval: X
14977
- } = r, { root: Y } = e, re = H(b.series), Q = $t(b), ne = rt(b), { chart: J } = e, U = J ? D(J.uid, "config") : void 0, fe = lt(A), Lt = Nt(fe).find(($i) => $i.name === U?.series?.[0]?.x), fi = tg(Lt), Oi = e.get("renderer");
14977
+ } = r, { root: Y } = e, re = H(b.series), Q = $t(b), ne = rt(b), { chart: J } = e, U = J ? D(J.uid, "config") : void 0, fe = lt(A), Lt = Nt(fe).find((Di) => Di.name === U?.series?.[0]?.x), fi = tg(Lt), $i = e.get("renderer");
14978
14978
  Ea(e.uid, {
14979
14979
  zeroGridLine: { displayZeroLine: M, strokeWidth: R?.width ?? L.lineWidth, visible: R !== void 0 }
14980
14980
  }), vL({ axis: e, isLogarithmic: w, axisConfigIndex: l }), CL({
14981
14981
  axis: e,
14982
- isXAxis: sa(e.get("renderer"), ne),
14982
+ isXAxis: na(e.get("renderer"), ne),
14983
14983
  chartType: re,
14984
14984
  formatOptions: W,
14985
14985
  isNonAggregatedChart: h,
@@ -14988,10 +14988,10 @@ function _r(t) {
14988
14988
  isTimeOnlyField: fi,
14989
14989
  errorStrings: v
14990
14990
  }), yL({ axis: e, isRotated: ne, chartConfig: b }), AL({ axis: e, timeIntervalInfo: c, dateBaseInterval: X, xFieldIsTimeOnly: fi }), jt({
14991
- element: Oi,
14991
+ element: $i,
14992
14992
  lineSymbol: { color: [...L.color], ...k ?? mn() },
14993
14993
  visible: T
14994
- }), jt({ element: Oi.ticks.template, lineSymbol: k, visible: T }), jt({ element: Oi.grid.template, lineSymbol: R, visible: T }), R === void 0 && (e.get("renderer").grid.template.set("strokeWidth", L.lineWidth), e.markDirtyValues()), e0({
14994
+ }), jt({ element: $i.ticks.template, lineSymbol: k, visible: T }), jt({ element: $i.grid.template, lineSymbol: R, visible: T }), R === void 0 && (e.get("renderer").grid.template.set("strokeWidth", L.lineWidth), e.markDirtyValues()), e0({
14995
14995
  axis: e,
14996
14996
  axisConfig: r,
14997
14997
  chartType: re,
@@ -15019,25 +15019,25 @@ function p0(t) {
15019
15019
  const { chart: e, errorStrings: i } = t, { root: a } = e, o = D(e.uid, "config");
15020
15020
  if (o) {
15021
15021
  const { x: n } = o.series[0], s = rt(o), { axes: r } = o, l = H(o.series);
15022
- qi({ chartType: l, axesConfig: r, errorStrings: i });
15022
+ Ui({ chartType: l, axesConfig: r, errorStrings: i });
15023
15023
  const c = { root: a, x: n, chartType: l }, d = s ? r?.[1] : r?.[0], u = s ? r?.[0] : r?.[1], m = d?.valueFormat, g = u?.valueFormat;
15024
- if (m !== void 0 && g !== void 0 && (Ni({
15024
+ if (m !== void 0 && g !== void 0 && (Mi({
15025
15025
  ...c,
15026
15026
  axes: e.xAxes,
15027
15027
  valueFormat: m,
15028
15028
  axisRenderer: bt.new(a, {}),
15029
15029
  isXAxis: !s,
15030
15030
  x: n
15031
- }), Ni({
15031
+ }), Mi({
15032
15032
  ...c,
15033
15033
  axes: e.yAxes,
15034
15034
  valueFormat: g,
15035
- axisRenderer: Ci.new(a, {}),
15035
+ axisRenderer: xi.new(a, {}),
15036
15036
  isXAxis: s,
15037
15037
  x: n
15038
15038
  }), r?.[2] !== void 0)) {
15039
- const h = s ? bt : Ci;
15040
- Ni({
15039
+ const h = s ? bt : xi;
15040
+ Mi({
15041
15041
  ...c,
15042
15042
  axes: s ? e.xAxes : e.yAxes,
15043
15043
  valueFormat: r[2]?.valueFormat,
@@ -15051,16 +15051,16 @@ function p0(t) {
15051
15051
  }
15052
15052
  function b0(t) {
15053
15053
  const { chart: e, chartType: i, axesConfig: a, x: o, errorStrings: n } = t, { root: s } = e, r = a?.[0], l = a?.[1];
15054
- if (qi({ chartType: i, axesConfig: a, errorStrings: n }), r?.valueFormat !== void 0 && l?.valueFormat !== void 0) {
15054
+ if (Ui({ chartType: i, axesConfig: a, errorStrings: n }), r?.valueFormat !== void 0 && l?.valueFormat !== void 0) {
15055
15055
  const c = { root: s, x: o, chartType: i };
15056
- Ni({
15056
+ Mi({
15057
15057
  ...c,
15058
15058
  axes: e.xAxes,
15059
15059
  valueFormat: r.valueFormat,
15060
15060
  axisRenderer: Qt.new(s, {}),
15061
15061
  isXAxis: !0,
15062
15062
  x: o
15063
- }), Ni({
15063
+ }), Mi({
15064
15064
  ...c,
15065
15065
  axes: e.yAxes,
15066
15066
  valueFormat: l.valueFormat,
@@ -15074,7 +15074,7 @@ function Bf(t) {
15074
15074
  const { chart: e, chartConfig: i, errorStrings: a } = t, { axes: o } = i, { x: n } = i.series[0], s = H(i.series);
15075
15075
  switch (e.xAxes.clear(), e.yAxes.clear(), s) {
15076
15076
  case y.GaugeSeries:
15077
- e instanceof Wi && c0({ chart: e, axesConfig: o, errorStrings: a });
15077
+ e instanceof Vi && c0({ chart: e, axesConfig: o, errorStrings: a });
15078
15078
  break;
15079
15079
  case y.HistogramSeries:
15080
15080
  u0({ chart: e, axesConfig: o, x: n, errorStrings: a });
@@ -15088,7 +15088,7 @@ function Bf(t) {
15088
15088
  p0({ chart: e, errorStrings: a });
15089
15089
  break;
15090
15090
  case y.RadarSeries:
15091
- e instanceof Wi && b0({ chart: e, axesConfig: o, chartType: s, x: n, errorStrings: a });
15091
+ e instanceof Vi && b0({ chart: e, axesConfig: o, chartType: s, x: n, errorStrings: a });
15092
15092
  break;
15093
15093
  }
15094
15094
  }
@@ -15112,7 +15112,7 @@ function y0(t) {
15112
15112
  errorStrings: b,
15113
15113
  queryObject: C
15114
15114
  } = t, { horizontalAxisLabelsBehavior: x, verticalAxisLabelsBehavior: S, axes: v } = i, A = rt(i), T = H(i.series), k = D(e.uid, "isNonAggregatedChart"), O = e.xAxes.getIndex(0), I = e.yAxes.getIndex(0), w = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
15115
- qi({ chartType: T, axesConfig: v, errorStrings: b });
15115
+ Ui({ chartType: T, axesConfig: v, errorStrings: b });
15116
15116
  const R = A ? 1 : 0, $ = A ? 0 : 1, M = v?.[R], W = v?.[$];
15117
15117
  [
15118
15118
  {
@@ -15163,7 +15163,7 @@ function y0(t) {
15163
15163
  }
15164
15164
  async function Mf(t) {
15165
15165
  const { chart: e, chartConfig: i } = t, a = H(i.series);
15166
- a === y.GaugeSeries && e instanceof Wi ? await l0(t) : a === y.HistogramSeries ? d0(t) : y0(t);
15166
+ a === y.GaugeSeries && e instanceof Vi ? await l0(t) : a === y.HistogramSeries ? d0(t) : y0(t);
15167
15167
  }
15168
15168
  function C0(t, e) {
15169
15169
  const i = K(L.backgroundColor);
@@ -15196,7 +15196,7 @@ function Vf(t) {
15196
15196
  const { root: e, chart: i, config: a, queryObject: o } = t;
15197
15197
  let n;
15198
15198
  if (Pf(i, a)) {
15199
- const s = i instanceof Wi ? nr : fd;
15199
+ const s = i instanceof Vi ? nr : fd;
15200
15200
  n = i.set("cursor", s.new(e, {})), Wv(i, o);
15201
15201
  }
15202
15202
  return n;
@@ -15223,7 +15223,7 @@ function S0(t) {
15223
15223
  break;
15224
15224
  case o instanceof be:
15225
15225
  const n = _(o.uid, "bulletTemplate");
15226
- n !== void 0 && !Ti(o) && n.set("cursorOverStyle", a);
15226
+ n !== void 0 && !ki(o) && n.set("cursorOverStyle", a);
15227
15227
  break;
15228
15228
  case o instanceof gt:
15229
15229
  o.slices.template.setAll({ cursorOverStyle: a });
@@ -15261,7 +15261,7 @@ function L0(t, e) {
15261
15261
  e !== void 0 && (e.width !== void 0 && t.set("width", Pl(e.width)), e.height !== void 0 && t.set("height", Pl(e.height)), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom));
15262
15262
  }
15263
15263
  function Ts(t) {
15264
- const { root: e, defaults: i, parent: a, id: o, index: n } = t, s = gi.new(e, {});
15264
+ const { root: e, defaults: i, parent: a, id: o, index: n } = t, s = hi.new(e, {});
15265
15265
  return L0(s, i), a !== void 0 && a.children.insertIndex(n ?? a.children.length, s), o !== void 0 && s.set("id", o), s;
15266
15266
  }
15267
15267
  function ks(t, e) {
@@ -15367,7 +15367,7 @@ function Hf(t, e) {
15367
15367
  }
15368
15368
  }
15369
15369
  function zf(t) {
15370
- if (!(t instanceof Wi) && t instanceof Fe) {
15370
+ if (!(t instanceof Vi) && t instanceof Fe) {
15371
15371
  const { root: e } = t, i = ss.new(e, {
15372
15372
  orientation: "horizontal",
15373
15373
  visible: !1,
@@ -15424,7 +15424,7 @@ function lc(t, e) {
15424
15424
  }
15425
15425
  function Gf(t) {
15426
15426
  const { chart: e, scrollbarXConfig: i, scrollbarYConfig: a } = t;
15427
- if (!(e instanceof Wi) && e instanceof Fe) {
15427
+ if (!(e instanceof Vi) && e instanceof Fe) {
15428
15428
  const o = D(e.uid, "isRotated");
15429
15429
  (e.get("scrollbarX") === void 0 || e.get("scrollbarY") === void 0) && zf(e);
15430
15430
  const n = e.get("scrollbarX"), s = e.get("scrollbarY");
@@ -15465,10 +15465,10 @@ function D0(t) {
15465
15465
  maskBullets: !1
15466
15466
  });
15467
15467
  ze(p.columns.template, s?.selectionTheme);
15468
- const b = ji.new({});
15468
+ const b = qi.new({});
15469
15469
  return He(p.uid, { bulletTemplate: b }), ei({ element: p.columns.template, series: p, queryObject: r }), p.bullets.push((C) => {
15470
15470
  const x = Pt.new(C, {}, b);
15471
- return Ai.new(C, {
15471
+ return Ti.new(C, {
15472
15472
  sprite: x
15473
15473
  });
15474
15474
  }), p.columns.template.set("width", Ke(100)), Ur(p), Br(p, s?.tooltipFormatter), gf(p), Xa(p, i), p.appear(), p;
@@ -15485,7 +15485,7 @@ function w0(t) {
15485
15485
  };
15486
15486
  let p = {}, b = {};
15487
15487
  const C = Yc(a), x = _(e.uid, "bulletTemplate");
15488
- if (x && g?.style && g.style !== Ze.Solid && Gi({
15488
+ if (x && g?.style && g.style !== Ze.Solid && zi({
15489
15489
  root: l,
15490
15490
  element: x,
15491
15491
  fillSymbol: g,
@@ -15627,7 +15627,7 @@ function M0(t) {
15627
15627
  loaderHandle: b
15628
15628
  } = t, C = a.series[n], x = a.rotated, S = a.axes;
15629
15629
  let v;
15630
- if (S?.[1] && (v = S[1]), e.set("id", C.id), ze(e.columns.template, o?.selectionTheme), Ki(e.columns.template, i?.dataItems?.length), Xr({
15630
+ if (S?.[1] && (v = S[1]), e.set("id", C.id), ze(e.columns.template, o?.selectionTheme), Zi(e.columns.template, i?.dataItems?.length), Xr({
15631
15631
  series: e,
15632
15632
  chartConfig: a,
15633
15633
  isRotated: x
@@ -15660,7 +15660,7 @@ function M0(t) {
15660
15660
  seriesIndex: n,
15661
15661
  tooltipFormatter: o?.tooltipFormatter,
15662
15662
  utilsStrings: d
15663
- }), ki(t)) {
15663
+ }), Ii(t)) {
15664
15664
  const A = {
15665
15665
  series: e,
15666
15666
  seriesConfig: C,
@@ -15671,7 +15671,7 @@ function M0(t) {
15671
15671
  rendererType: t.rendererType,
15672
15672
  disableInteractions: o?.disableInteractions
15673
15673
  };
15674
- Ii({
15674
+ Oi({
15675
15675
  // TODO: Remove the type assertion and correct the typings
15676
15676
  styleCallback: R0,
15677
15677
  callbackProps: A,
@@ -15772,7 +15772,7 @@ function V0(t) {
15772
15772
  }
15773
15773
  function W0(t) {
15774
15774
  const { candleStickSeries: e, seriesConfig: i, data: a, options: o } = t;
15775
- ze(e.columns.template, o?.selectionTheme), Ki(e.columns.template, a?.dataItems?.length), Ga(e, i.name), P0(t), ki(t) && Ii({
15775
+ ze(e.columns.template, o?.selectionTheme), Zi(e.columns.template, a?.dataItems?.length), Ga(e, i.name), P0(t), Ii(t) && Oi({
15776
15776
  // TODO: Remove the type assertion and correct the typings
15777
15777
  styleCallback: V0,
15778
15778
  callbackProps: t,
@@ -15785,7 +15785,7 @@ function E0(t) {
15785
15785
  let c;
15786
15786
  if (l.type === y.BoxPlotSeries) {
15787
15787
  const d = N0({ chartConfig: o, seriesConfig: l });
15788
- c = _i.new(e, {
15788
+ c = ji.new(e, {
15789
15789
  id: l.id,
15790
15790
  turboMode: !0,
15791
15791
  // we enable the turbo mode at initialization to improve the performance; it will be reset properly during the update.
@@ -15830,7 +15830,7 @@ function G0(t) {
15830
15830
  seriesWereReinitialized: r,
15831
15831
  options: l
15832
15832
  } = t, c = _(e.uid, "bulletTemplate");
15833
- c && ze(c, l?.selectionTheme), Ki(c, a?.meanLines?.length), Ga(e, i?.name), z0({
15833
+ c && ze(c, l?.selectionTheme), Zi(c, a?.meanLines?.length), Ga(e, i?.name), z0({
15834
15834
  meanLineSeries: e,
15835
15835
  data: a,
15836
15836
  dataWasUpdated: o,
@@ -15851,9 +15851,9 @@ function X0(t) {
15851
15851
  [d.dataFields.value]: d.properties.value,
15852
15852
  [d.dataFields.category]: d.properties.category
15853
15853
  }), c.appear();
15854
- const u = ji.new({});
15854
+ const u = qi.new({});
15855
15855
  He(c.uid, { isBoxPlotMeanLineSeries: !0, bulletTemplate: u }), ze(u, s?.selectionTheme), c.bullets.push((m) => {
15856
- const g = Pt.new(m, {}, u), h = Ai.new(m, {
15856
+ const g = Pt.new(m, {}, u), h = Ti.new(m, {
15857
15857
  sprite: g
15858
15858
  });
15859
15859
  return c && ei({ element: g, series: c, queryObject: r }), h;
@@ -15923,14 +15923,14 @@ function Z0(t) {
15923
15923
  } = t;
15924
15924
  if (e && a.type === y.BoxPlotSeries) {
15925
15925
  const c = _(e.uid, "bulletTemplate");
15926
- c && ze(c, l?.selectionTheme), Ki(c, i?.outliers?.length), q0({
15926
+ c && ze(c, l?.selectionTheme), Zi(c, i?.outliers?.length), q0({
15927
15927
  outlierSeries: e,
15928
15928
  data: i,
15929
15929
  rotationChanged: s,
15930
15930
  sortChanged: o,
15931
15931
  dataWasUpdated: n,
15932
15932
  seriesWereReinitialized: r
15933
- }), ki(t) && Ii({
15933
+ }), Ii(t) && Oi({
15934
15934
  // TODO: Remove the type assertion and correct the typings
15935
15935
  styleCallback: _0,
15936
15936
  callbackProps: t,
@@ -15951,9 +15951,9 @@ function K0(t) {
15951
15951
  [d.dataFields.value]: d.properties.value,
15952
15952
  [d.dataFields.category]: d.properties.category
15953
15953
  }), c.strokes.template.set("forceHidden", !0);
15954
- const u = ji.new({});
15954
+ const u = qi.new({});
15955
15955
  He(c.uid, { isBoxPlotOutliersSeries: !0, bulletTemplate: u }), ze(u, s?.selectionTheme), c.bullets.push((m) => {
15956
- const g = Pt.new(m, {}, u), h = Ai.new(m, {
15956
+ const g = Pt.new(m, {}, u), h = Ti.new(m, {
15957
15957
  sprite: g
15958
15958
  });
15959
15959
  return c && ei({ element: g, series: c, queryObject: r }), aF({ outlierSeries: c, bullet: h, seriesConfigId: l.id }), h;
@@ -16009,7 +16009,7 @@ function eF(t) {
16009
16009
  }
16010
16010
  function tF(t) {
16011
16011
  const { stepLineSeries: e, data: i, seriesConfig: a, rotationChanged: o, sortChanged: n, dataWasUpdated: s, seriesWereReinitialized: r } = t, l = a.visible !== !1;
16012
- e !== void 0 && a.type === y.BoxPlotSeries && (Ie(e, l), ki(t) && Ii({
16012
+ e !== void 0 && a.type === y.BoxPlotSeries && (Ie(e, l), Ii(t) && Oi({
16013
16013
  // TODO: Remove the type assertion and correct the typings
16014
16014
  styleCallback: eF,
16015
16015
  callbackProps: t,
@@ -16100,7 +16100,7 @@ function aF(t) {
16100
16100
  if (n) {
16101
16101
  const s = j(n.series);
16102
16102
  if (Yf(s)) {
16103
- const r = o.series.values.filter((c) => c instanceof _i), l = r?.findIndex((c) => c.get("id") === a);
16103
+ const r = o.series.values.filter((c) => c instanceof ji), l = r?.findIndex((c) => c.get("id") === a);
16104
16104
  if (l && l !== -1 && r[l]) {
16105
16105
  const { startLocation: d, endLocation: u } = Uf({
16106
16106
  chart: o,
@@ -16119,7 +16119,7 @@ function oF(t) {
16119
16119
  if (e) {
16120
16120
  const i = j(e.series), a = e.series.length, n = rt(e) ? t.yAxes.getIndex(0)?.get("renderer") : t.xAxes.getIndex(0)?.get("renderer"), s = n?.get("cellStartLocation"), r = n?.get("cellEndLocation");
16121
16121
  if (s && r) {
16122
- const l = t.series.values.filter((c) => c instanceof _i);
16122
+ const l = t.series.values.filter((c) => c instanceof ji);
16123
16123
  l.forEach((c, d) => {
16124
16124
  const { topStepLineSeries: u, medianStepLineSeries: m, bottomStepLineSeries: g } = Xf(
16125
16125
  t,
@@ -16174,7 +16174,7 @@ function nF(t) {
16174
16174
  function sF(t) {
16175
16175
  const { chart: e, chartConfig: i, series: a, seriesConfig: o } = t;
16176
16176
  if (e && i)
16177
- if (oF(e), a instanceof _i && o.type === y.BoxPlotSeries) {
16177
+ if (oF(e), a instanceof ji && o.type === y.BoxPlotSeries) {
16178
16178
  a.set("id", o.id);
16179
16179
  const n = a.get("id") ?? "";
16180
16180
  W0({ ...t, series: a, seriesConfig: o, candleStickSeries: a });
@@ -16353,7 +16353,7 @@ function fF(t) {
16353
16353
  })
16354
16354
  });
16355
16355
  h.appear();
16356
- const p = ji.new({});
16356
+ const p = qi.new({});
16357
16357
  return ze(p, s?.selectionTheme), He(h.uid, { bulletTemplate: p }), h.bullets.push((b) => {
16358
16358
  const C = Pt.new(
16359
16359
  b,
@@ -16369,7 +16369,7 @@ function fF(t) {
16369
16369
  },
16370
16370
  p
16371
16371
  );
16372
- return ei({ element: C, series: h, queryObject: r }), Tf(C, h), Ai.new(b, { sprite: C });
16372
+ return ei({ element: C, series: h, queryObject: r }), Tf(C, h), Ti.new(b, { sprite: C });
16373
16373
  }), Ur(h), Xa(h, i), h;
16374
16374
  }
16375
16375
  function mF(t) {
@@ -16445,7 +16445,7 @@ function pF(t) {
16445
16445
  let S;
16446
16446
  x?.[1] && (S = x[1]), e.set("id", b.id);
16447
16447
  const v = _(e.uid, "bulletTemplate");
16448
- v && ze(v, o?.selectionTheme), Ki(v, i?.dataItems?.length), Xr({ series: e, chartConfig: a, isRotated: C }), rF({
16448
+ v && ze(v, o?.selectionTheme), Zi(v, i?.dataItems?.length), Xr({ series: e, chartConfig: a, isRotated: C }), rF({
16449
16449
  seriesType: y.LineSeries,
16450
16450
  series: e,
16451
16451
  seriesConfig: b,
@@ -16473,7 +16473,7 @@ function pF(t) {
16473
16473
  seriesIndex: n,
16474
16474
  tooltipFormatter: o?.tooltipFormatter,
16475
16475
  utilsStrings: c
16476
- }), ki(t) && Ii({
16476
+ }), Ii(t) && Oi({
16477
16477
  // TODO: Remove the type assertion and correct the typings
16478
16478
  styleCallback: gF,
16479
16479
  callbackProps: t,
@@ -16625,7 +16625,7 @@ function vF(t) {
16625
16625
  pieSlicesSymbols: i,
16626
16626
  seriesConfig: a
16627
16627
  });
16628
- Gi({
16628
+ zi({
16629
16629
  root: e.root,
16630
16630
  element: o,
16631
16631
  fillSymbol: r,
@@ -16717,7 +16717,7 @@ function IF(t) {
16717
16717
  loaderHandle: l,
16718
16718
  labelUpdateNeeded: c,
16719
16719
  groupOfSlicesUpdateNeeded: u
16720
- }), ki(t) && Ii({
16720
+ }), Ii(t) && Oi({
16721
16721
  // TODO: Remove the type assertion and correct the typings
16722
16722
  styleCallback: vF,
16723
16723
  callbackProps: t,
@@ -16765,7 +16765,7 @@ function _f(t, e) {
16765
16765
  n = Ke(w * 100);
16766
16766
  } else
16767
16767
  n = Ke(L.pieChart.chartRadius);
16768
- o.value.toFixed(1) !== n.value.toFixed(1) && (we(t.uid, { pieChartRadius: n.percent }), as && clearTimeout(as), as = zi(() => {
16768
+ o.value.toFixed(1) !== n.value.toFixed(1) && (we(t.uid, { pieChartRadius: n.percent }), as && clearTimeout(as), as = Hi(() => {
16769
16769
  const C = t.chartContainer.height();
16770
16770
  if (t.chartContainer.set("height", C + 0.1), t.set("radius", n), d && !Number.isNaN(d) && d > 0) {
16771
16771
  const x = (d ?? L.pieChart.innerRadius) * n.value;
@@ -16786,7 +16786,7 @@ function _f(t, e) {
16786
16786
  }
16787
16787
  }
16788
16788
  function OF(t) {
16789
- zi(() => {
16789
+ Hi(() => {
16790
16790
  t.chartContainer.set("height", Ke(100)), t.root.resize();
16791
16791
  });
16792
16792
  }
@@ -16826,7 +16826,7 @@ function DF(t) {
16826
16826
  layer: L.zIndexes.bulletMarkers
16827
16827
  });
16828
16828
  h.appear();
16829
- const p = ji.new({});
16829
+ const p = qi.new({});
16830
16830
  return He(h.uid, { bulletTemplate: p }), ze(p, s?.selectionTheme), h.bullets.push((b) => {
16831
16831
  const C = Pt.new(
16832
16832
  b,
@@ -16838,7 +16838,7 @@ function DF(t) {
16838
16838
  },
16839
16839
  p
16840
16840
  );
16841
- return ei({ element: C, series: h, queryObject: r }), Ai.new(b, { sprite: C });
16841
+ return ei({ element: C, series: h, queryObject: r }), Ti.new(b, { sprite: C });
16842
16842
  }), Ur(h), Xa(h, i), h;
16843
16843
  }
16844
16844
  function wF(t) {
@@ -16905,7 +16905,7 @@ function BF(t) {
16905
16905
  } = t, h = o.series[s];
16906
16906
  e.set("id", h.id);
16907
16907
  const p = _(e.uid, "bulletTemplate");
16908
- p && ze(p, n?.selectionTheme), Ki(p, i?.dataItems?.length), Xr({ series: e, chartConfig: o, isRotated: !1 }), Vr({
16908
+ p && ze(p, n?.selectionTheme), Zi(p, i?.dataItems?.length), Xr({ series: e, chartConfig: o, isRotated: !1 }), Vr({
16909
16909
  series: e,
16910
16910
  seriesConfig: h,
16911
16911
  fieldList: d,
@@ -16913,7 +16913,7 @@ function BF(t) {
16913
16913
  seriesIndex: s,
16914
16914
  tooltipFormatter: n?.tooltipFormatter,
16915
16915
  utilsStrings: g
16916
- }), ki(t) && Ii({
16916
+ }), Ii(t) && Oi({
16917
16917
  // TODO: Remove the type assertion and correct the typings
16918
16918
  styleCallback: RF,
16919
16919
  callbackProps: t,
@@ -16951,7 +16951,7 @@ async function Kr(t) {
16951
16951
  break;
16952
16952
  }
16953
16953
  case l === y.BoxPlotSeries: {
16954
- C && S && Pi(i) && u.push(
16954
+ C && S && Ni(i) && u.push(
16955
16955
  ...nF({
16956
16956
  ...d,
16957
16957
  xAxis: C,
@@ -17054,7 +17054,7 @@ async function zn(t) {
17054
17054
  errorStrings: S,
17055
17055
  groupOfSlicesUpdateNeeded: v,
17056
17056
  labelUpdateNeeded: A
17057
- } = t, { chartRenderer: T } = i, { root: k } = e, { series: O } = i, I = H(i.series), w = j(i.series), R = e.series.values, $ = Ui(i), M = i.series.length, W = /* @__PURE__ */ new Map(), E = Nt(b, a?.usePopupTemplateFieldsInfo), V = lt(b), X = dt(V) ? void 0 : fn(T, V.renderer), Y = l || s || r || c || u, re = {
17057
+ } = t, { chartRenderer: T } = i, { root: k } = e, { series: O } = i, I = H(i.series), w = j(i.series), R = e.series.values, $ = Yi(i), M = i.series.length, W = /* @__PURE__ */ new Map(), E = Nt(b, a?.usePopupTemplateFieldsInfo), V = lt(b), X = dt(V) ? void 0 : fn(T, V.renderer), Y = l || s || r || c || u, re = {
17058
17058
  root: k,
17059
17059
  chartConfig: i,
17060
17060
  queryObject: b,
@@ -17088,7 +17088,7 @@ async function zn(t) {
17088
17088
  const fe = J.type;
17089
17089
  switch (!0) {
17090
17090
  case I === y.HeatSeries: {
17091
- U instanceof Oe && e instanceof Fe && Vi(i) && GS({
17091
+ U instanceof Oe && e instanceof Fe && Pi(i) && GS({
17092
17092
  ...Q,
17093
17093
  series: U,
17094
17094
  data: o,
@@ -17098,8 +17098,8 @@ async function zn(t) {
17098
17098
  break;
17099
17099
  }
17100
17100
  case I === y.BoxPlotSeries: {
17101
- U = R.find((We) => We.get("id") === J.id), e instanceof Fe && Pi(i) && // TODO: ok to remove these checks?
17102
- (U instanceof _i || U instanceof be) && (fe === y.BoxPlotSeries || fe === y.LineSeries) && sF({
17101
+ U = R.find((We) => We.get("id") === J.id), e instanceof Fe && Ni(i) && // TODO: ok to remove these checks?
17102
+ (U instanceof ji || U instanceof be) && (fe === y.BoxPlotSeries || fe === y.LineSeries) && sF({
17103
17103
  ...Q,
17104
17104
  chart: e,
17105
17105
  series: U,
@@ -17108,7 +17108,7 @@ async function zn(t) {
17108
17108
  seriesConfig: J,
17109
17109
  chartConfig: i,
17110
17110
  showMean: vt(i),
17111
- showOutliers: Fi(i)
17111
+ showOutliers: Ai(i)
17112
17112
  });
17113
17113
  break;
17114
17114
  }
@@ -17167,7 +17167,7 @@ async function zn(t) {
17167
17167
  break;
17168
17168
  }
17169
17169
  case fe === y.RadarSeries: {
17170
- U instanceof sr && e instanceof Wi && _n(o) && BF({
17170
+ U instanceof sr && e instanceof Vi && _n(o) && BF({
17171
17171
  ...Q,
17172
17172
  series: U,
17173
17173
  data: o,
@@ -17191,7 +17191,7 @@ async function zn(t) {
17191
17191
  });
17192
17192
  }
17193
17193
  function MF(t) {
17194
- Ti(t) || t.dataItems.forEach((e) => {
17194
+ ki(t) || t.dataItems.forEach((e) => {
17195
17195
  const i = e.bullets?.[0];
17196
17196
  if (i) {
17197
17197
  const a = i.get("sprite"), o = ui(a.uid, "selected") !== !0;
@@ -17263,7 +17263,7 @@ function WF(t, e) {
17263
17263
  ), l = s(o, y.BarSeries).concat(
17264
17264
  s(o, y.LineSeries)
17265
17265
  )) : (r = s(a, a[0].type), l = s(o, o[0].type));
17266
- const c = !Ji(r, l);
17266
+ const c = !Qi(r, l);
17267
17267
  let d = !1;
17268
17268
  switch (n) {
17269
17269
  case y.LineSeries:
@@ -17273,7 +17273,7 @@ function WF(t, e) {
17273
17273
  (u) => u.type === y.LineSeries || u.type === y.RadarSeries
17274
17274
  ).some((u) => {
17275
17275
  const m = a.find((g) => g.id === u.id);
17276
- return (u.showArea ?? L.lineSeries.showArea) !== (m?.showArea ?? L.lineSeries.showArea) || (u.lineSmoothed ?? L.lineSeries.lineSmoothed) !== (m?.lineSmoothed ?? L.lineSeries.lineSmoothed) || (u.markerVisible ?? L.lineSeries.markerVisible) !== (m?.markerVisible ?? L.lineSeries.markerVisible) || u.showArea && !Ji(u.areaColor, m?.areaColor);
17276
+ return (u.showArea ?? L.lineSeries.showArea) !== (m?.showArea ?? L.lineSeries.showArea) || (u.lineSmoothed ?? L.lineSeries.lineSmoothed) !== (m?.lineSmoothed ?? L.lineSeries.lineSmoothed) || (u.markerVisible ?? L.lineSeries.markerVisible) !== (m?.markerVisible ?? L.lineSeries.markerVisible) || u.showArea && !Qi(u.areaColor, m?.areaColor);
17277
17277
  });
17278
17278
  break;
17279
17279
  }
@@ -17304,7 +17304,7 @@ function Is(t) {
17304
17304
  const { chart: e, actionMode: i, cursorRange: a } = t;
17305
17305
  if (Dr(e)) {
17306
17306
  const o = i ?? D(e.uid, "actionMode") ?? L.actionMode;
17307
- we(e.uid, { actionMode: o }), o === Z.None && ba({ chart: e, selectionSource: Re.ClearSelection }), v0({ chart: e, actionMode: o, cursorRange: a });
17307
+ we(e.uid, { actionMode: o }), o === Z.None && pa({ chart: e, selectionSource: Re.ClearSelection }), v0({ chart: e, actionMode: o, cursorRange: a });
17308
17308
  }
17309
17309
  }
17310
17310
  function XF(t) {
@@ -17317,7 +17317,7 @@ function YF(t, e) {
17317
17317
  switch (i) {
17318
17318
  case y.RadarSeries:
17319
17319
  case y.GaugeSeries:
17320
- a = Wi;
17320
+ a = Vi;
17321
17321
  break;
17322
17322
  case y.PieSeries:
17323
17323
  a = Zt;
@@ -17503,12 +17503,12 @@ async function jF(t) {
17503
17503
  dataWasUpdated: r
17504
17504
  });
17505
17505
  let U = !1, fe = !1, We = !1, Lt = !1;
17506
- Vi(k) && Vi(n) && (U = lg(k, n), fe = cg(k, n), We = dg(k, n) || ug(k, n) || U, Lt = fg(k, n));
17506
+ Pi(k) && Pi(n) && (U = lg(k, n), fe = cg(k, n), We = dg(k, n) || ug(k, n) || U, Lt = fg(k, n));
17507
17507
  const fi = Qc({
17508
17508
  oldConfig: k,
17509
17509
  newConfig: T,
17510
17510
  rotationChanged: $
17511
- }), Oi = k.series, $i = T.series;
17511
+ }), $i = k.series, Di = T.series;
17512
17512
  if (r) {
17513
17513
  const { queryConfig: Gn, count: Xn } = b ?? {};
17514
17514
  we(e.uid, {
@@ -17516,12 +17516,12 @@ async function jF(t) {
17516
17516
  queryConfig: Gn,
17517
17517
  elementCount: Xn,
17518
17518
  timeIntervalInfo: C !== void 0 && "timeIntervalInfo" in C ? C.timeIntervalInfo : void 0
17519
- }), la(v.dom);
17519
+ }), ra(v.dom);
17520
17520
  }
17521
- e instanceof Ia && EF({ chartSeries: e.series, oldSeries: Oi, newSeries: $i });
17521
+ e instanceof Ia && EF({ chartSeries: e.series, oldSeries: $i, newSeries: Di });
17522
17522
  const em = e instanceof Zt ? lr(
17523
- Oi,
17524
- $i
17523
+ $i,
17524
+ Di
17525
17525
  ) : !1, tm = zo({ oldConfig: k, newConfig: T }), Qr = /* @__PURE__ */ new Map();
17526
17526
  switch (T.series.forEach((Gn, Xn) => {
17527
17527
  Qr.set(Gn.id, Xn);
@@ -17749,7 +17749,7 @@ async function KF(t) {
17749
17749
  hideEmptySeries: a?.hideEmptySeries,
17750
17750
  seriesConfig: C.series,
17751
17751
  queryObject: c
17752
- })), Is({ chart: S, actionMode: a?.actionMode, cursorRange: a?.cursorRange }), Bv(S), la(x.dom);
17752
+ })), Is({ chart: S, actionMode: a?.actionMode, cursorRange: a?.cursorRange }), Bv(S), ra(x.dom);
17753
17753
  }
17754
17754
  function A() {
17755
17755
  BL(S);
@@ -17760,7 +17760,7 @@ async function KF(t) {
17760
17760
  },
17761
17761
  dispose: () => zF(x),
17762
17762
  resetZoom: A,
17763
- clearSelection: () => ba({ chart: S }),
17763
+ clearSelection: () => pa({ chart: S }),
17764
17764
  switchSelection: async () => await VF(S, c),
17765
17765
  exportImage: async (T) => await rS({ root: x, exportOptions: T }),
17766
17766
  setActionMode: (T, k) => Is({ chart: S, actionMode: T, cursorRange: k }),
@@ -17995,14 +17995,14 @@ function fc(t) {
17995
17995
  )), i;
17996
17996
  }
17997
17997
  function mc(t) {
17998
- const { layer: e, model: i } = t, a = Ri(i) ? i.config : i;
17998
+ const { layer: e, model: i } = t, a = gi(i) ? i.config : i;
17999
17999
  let o;
18000
18000
  if (e !== void 0 && t.layerRendererChangePolicy === cs.Refresh) {
18001
18001
  const n = lt(e);
18002
18002
  o = Rt.watch(
18003
18003
  () => n.renderer,
18004
18004
  () => {
18005
- if (Ui(a)) {
18005
+ if (Yi(a)) {
18006
18006
  const s = cA();
18007
18007
  t.refresh({ updateData: s });
18008
18008
  }
@@ -18012,7 +18012,7 @@ function mc(t) {
18012
18012
  return o;
18013
18013
  }
18014
18014
  async function dA(t) {
18015
- const { view: e, layer: i, model: a, filterByExtent: o } = t, n = Ri(a) ? a.config : a;
18015
+ const { view: e, layer: i, model: a, filterByExtent: o } = t, n = gi(a) ? a.config : a;
18016
18016
  let s;
18017
18017
  if (e !== void 0 && n !== void 0) {
18018
18018
  const r = await nd({ chartConfig: n, view: e, layer: i, filterByExtent: o });
@@ -18028,7 +18028,7 @@ async function dA(t) {
18028
18028
  return s;
18029
18029
  }
18030
18030
  function uA(t) {
18031
- const { view: e, model: i } = t, a = Ri(i) ? i.config : i, o = H(a?.series);
18031
+ const { view: e, model: i } = t, a = gi(i) ? i.config : i, o = H(a?.series);
18032
18032
  let n;
18033
18033
  return e !== void 0 && t.viewTimeExtentChangePolicy === Mo.Refresh && o !== y.HistogramSeries && (n = Rt.watch(
18034
18034
  () => e.timeExtent,
@@ -18043,8 +18043,8 @@ function fA(t) {
18043
18043
  return e && "timeZone" in e && (i = Rt.watch(
18044
18044
  () => e.timeZone,
18045
18045
  () => {
18046
- const { model: a } = t, o = Ri(a) ? a.config : a;
18047
- Vi(o) && t.refresh({ updateData: !0 });
18046
+ const { model: a } = t, o = gi(a) ? a.config : a;
18047
+ Pi(o) && t.refresh({ updateData: !0 });
18048
18048
  }
18049
18049
  )), i;
18050
18050
  }
@@ -18154,7 +18154,7 @@ function $s(t) {
18154
18154
  return `${t[0]},${t[1]},${t[2]}`;
18155
18155
  }
18156
18156
  function xA(t) {
18157
- const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, c = !mg({ chartConfig: e }), d = j([r]), u = d === P.PieFromFields, m = lt(i), g = ca(m).idField, h = Nt(i, a);
18157
+ const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, c = !mg({ chartConfig: e }), d = j([r]), u = d === P.PieFromFields, m = lt(i), g = la(m).idField, h = Nt(i, a);
18158
18158
  return {
18159
18159
  x: l,
18160
18160
  isNonAggregatedChart: c,
@@ -18164,7 +18164,7 @@ function xA(t) {
18164
18164
  fieldList: h,
18165
18165
  labelUpdateNeeded: o,
18166
18166
  chartSubType: d,
18167
- colorMatch: Ui(e),
18167
+ colorMatch: Yi(e),
18168
18168
  utilsStrings: n
18169
18169
  };
18170
18170
  }
@@ -18193,7 +18193,7 @@ function SA(t) {
18193
18193
  dataItem: {
18194
18194
  dataContext: e
18195
18195
  }
18196
- }, { symbolWithColorInfo: g } = oa({
18196
+ }, { symbolWithColorInfo: g } = aa({
18197
18197
  element: m,
18198
18198
  seriesConfig: i,
18199
18199
  y: i.y,
@@ -18233,7 +18233,7 @@ function pc(t, e) {
18233
18233
  const S = us(s.slices, x);
18234
18234
  S?.fillSymbol?.color !== void 0 && p.add($s(S.fillSymbol.color));
18235
18235
  }), e?.forEach((b, C) => {
18236
- const x = b[G.pieChart.technicalFieldSliceId], S = us(s.slices, x), v = Yi(b), A = SA({
18236
+ const x = b[G.pieChart.technicalFieldSliceId], S = us(s.slices, x), v = Xi(b), A = SA({
18237
18237
  dataContext: b,
18238
18238
  seriesConfig: s,
18239
18239
  existingSlicesColors: p,
@@ -18370,8 +18370,8 @@ class LA extends om {
18370
18370
  "updateSplitBySeries"
18371
18371
  ], this.updatedProps = /* @__PURE__ */ new Map(), this.updateQueue = Ah.promise(async () => await this.renderChart(), hg), this.noRenderingUpdateProps = ["_messages", "showLoader", "infoModalMessage", "notifyMessage"], this.handleExternalSelection = (e) => {
18372
18372
  if (!dt(this.layer)) {
18373
- const i = e, { selectionData: a, model: o } = i.detail, n = this.layer && o?.layer?.id === ya(this.layer).id;
18374
- this.syncSelection && n && e.target !== this.el && !Ji(a.selectionOIDs, this.selectionData?.selectionOIDs) && (a.selectionOIDs ? (this.selectionData = {
18373
+ const i = e, { selectionData: a, model: o } = i.detail, n = this.layer && o?.layer?.id === ba(this.layer).id;
18374
+ this.syncSelection && n && e.target !== this.el && !Qi(a.selectionOIDs, this.selectionData?.selectionOIDs) && (a.selectionOIDs ? (this.selectionData = {
18375
18375
  selectionOIDs: a.selectionOIDs,
18376
18376
  selectionSource: Re.ProgrammaticSelection
18377
18377
  }, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model })) : this.clearSelection());
@@ -18386,11 +18386,7 @@ class LA extends om {
18386
18386
  const i = e;
18387
18387
  this.lastModelSetterCalled = i.detail.setterName;
18388
18388
  const a = this._model?.config;
18389
- this.enableConfiguration && Di(a) && (this.applyPlaceholderForPartialConfig(a), this.arcgisConfigChange.emit({
18390
- newConfig: a,
18391
- oldConfig: this.config,
18392
- functionCalled: i.detail.setterName
18393
- })), a?.iLayer && !Ji(this.config?.iLayer, a?.iLayer) && (this.layer = new Yn(a.iLayer)), JSON.stringify(this.config) !== JSON.stringify(a) && (this.config = De(a));
18389
+ a?.iLayer && !Qi(this.config?.iLayer, a?.iLayer) && (this.layer = new Yn(a.iLayer)), JSON.stringify(this.config) !== JSON.stringify(a) && (this.config = De(a));
18394
18390
  }, this.modelDataChange = () => {
18395
18391
  this.setTimeBinningInfoWhenNotProvided && nh(this._model) && this._model?.resetTimeInterval();
18396
18392
  }, this.actionBarSlotRef = (e) => {
@@ -18422,7 +18418,7 @@ class LA extends om {
18422
18418
  }
18423
18419
  set config(e) {
18424
18420
  const i = this._config;
18425
- this._config = e, i && e && pg(i, e) && this.updatedProps.set("forceDataUpdate", { oldValue: !1, newValue: !0 }), this.arcgisConfigChange.emit({ newConfig: e, oldConfig: i, functionCalled: this.lastModelSetterCalled }), this.lastModelSetterCalled = void 0, this.actionBarElement && !Di(e) && (this.actionBarElement.forceDisableActions = !1), Di(e) && this.applyPlaceholderForPartialConfig(e);
18421
+ this._config = e, i && e && pg(i, e) && this.updatedProps.set("forceDataUpdate", { oldValue: !1, newValue: !0 }), this.arcgisConfigChange.emit({ newConfig: e, oldConfig: i, functionCalled: this.lastModelSetterCalled }), this.lastModelSetterCalled = void 0, this.actionBarElement && !ya(e) && (this.actionBarElement.forceDisableActions = !1);
18426
18422
  }
18427
18423
  get rotation() {
18428
18424
  return this._rotation;
@@ -18484,7 +18480,7 @@ class LA extends om {
18484
18480
  const i = bg(this.config) || dt(this.layer);
18485
18481
  let a, o;
18486
18482
  if (this.sanitizedChartData && !i) {
18487
- const n = await this._loadQueryObject.taskComplete, s = n ? Nt(n, this.usePopupTemplateFieldsInfo) : void 0, r = Ri(this.model) ? this.model.titleText : this.config?.title?.content?.text ?? this.commonStrings.utilsStrings.chartType.chart;
18483
+ const n = await this._loadQueryObject.taskComplete, s = n ? Nt(n, this.usePopupTemplateFieldsInfo) : void 0, r = gi(this.model) ? this.model.titleText : this.config?.title?.content?.text ?? this.commonStrings.utilsStrings.chartType.chart;
18488
18484
  if (Object.values(this.sanitizedChartData).filter((c) => Array.isArray(c) && c.length > 0).length > 1) {
18489
18485
  const c = new um();
18490
18486
  Object.entries(this.sanitizedChartData).forEach(([u, m]) => {
@@ -18560,8 +18556,11 @@ class LA extends om {
18560
18556
  }
18561
18557
  willUpdate(e) {
18562
18558
  e.has("model") && this.modelChange(), e.has("selectionData") && this.selectionDataChange(), e.has("layer") && this.layerChange(), e.has("layerItemId") && this.layerItemIdChange(), (e.has("chartIndex") || e.has("layerItemId")) && this.createModelFromLayer(), e.has("timeZone") && this.timeZoneChange(), e.has("filterBySelection") && this.filterBySelectionChanged(), e.has("layerFilterChangePolicy") && this.layerFilterChangePolicyCallBack(this.layerFilterChangePolicy), e.has("viewTimeExtentChangePolicy") && this.viewTimeExtentChangePolicyCallback(this.viewTimeExtentChangePolicy), e.has("layerRendererChangePolicy") && this.layerRendererChangePolicyCallBack(this.layerRendererChangePolicy), e.has("layerFieldsChangePolicy") && this.layerFieldsChangePolicyCallBack(this.layerFieldsChangePolicy), e.has("selectionManager") && (this.setSelectionManagerChangeWatchHandler(), this.applySelectionFromSelectionManager()), Array.from(e.keys(), (i) => {
18563
- const a = i.toString();
18564
- this.updatedProps.set(a, { oldValue: e.get(a), newValue: this[a] });
18559
+ const a = i.toString(), o = a === "model" || a === "config" ? this.updatedProps.get(a)?.oldValue ?? e.get(a) : e.get(a);
18560
+ this.updatedProps.set(a, {
18561
+ oldValue: o,
18562
+ newValue: this[a]
18563
+ });
18565
18564
  });
18566
18565
  }
18567
18566
  updated(e) {
@@ -18602,12 +18601,12 @@ class LA extends om {
18602
18601
  async updatedAsync() {
18603
18602
  if (this.dataFetching && (await this.dataFetching, this.dataFetching = void 0), this.chart === void 0 && this.chartCreationProcessing !== void 0 && (await this.chartCreationProcessing, this.chartCreationProcessing = void 0), this.config !== void 0 && this.chart !== void 0)
18604
18603
  try {
18605
- (!this.config && !this.layer || gl(this.config, this.layer) && !Di(this.config) && await hl(this.config, this.layer)) && await this.updateQueue?.push({});
18604
+ (!this.config && !this.layer || gl(this.config, this.layer) && !ya(this.config) && await hl(this.config, this.layer)) && await this.updateQueue?.push({});
18606
18605
  } catch (e) {
18607
18606
  this.updatedProps.clear(), this.chartRef.value !== void 0 && (e instanceof mi && e.name === Qa.ChartDisposed ? (this.chart?.dispose(), this.chart = void 0, this.chartRef.value.innerHTML = "", await this.createChartInstance(!1)) : (e instanceof mi && e.name === Qa.QueryFeaturesError ? this.arcgisDataProcessError.emit(e.details) : e instanceof mi && this.arcgisRuntimeError.emit(e.details ?? e), typeof e == "object" && e && "message" in e && this.notify(String(e.message), this.commonStrings?.errorStrings.errorHeading)));
18608
18607
  }
18609
18608
  else this.chart === void 0 && this.chartCreationProcessing === void 0 && await this.createChartInstance();
18610
- this.placeholder !== void 0 ? await this.notify(this.placeholder) : this.enableConfiguration && Di(this.config) && this.applyPlaceholderForPartialConfig(this.config);
18609
+ this.placeholder !== void 0 ? await this.notify(this.placeholder) : this.enableConfiguration && ya(this.config) && this.applyPlaceholderForPartialConfig(this.config);
18611
18610
  }
18612
18611
  useAmCharts5() {
18613
18612
  const e = H(this.config?.series);
@@ -18639,8 +18638,8 @@ class LA extends om {
18639
18638
  handleUpdateCompleted(e) {
18640
18639
  if (this.enableConfiguration) {
18641
18640
  const i = this.commonStrings?.errorStrings.notifications;
18642
- if (this.placeholder === void 0 && (e.schemaErrors.length > 0 && !Di(this.config) ? Di(this.config) ? this.applyPlaceholderForPartialConfig(this.config) : this.notify(i?.invalidConfig, void 0) : e.warnings.length > 0 && e.warnings.some((o) => o.keyword === xg.NonNumericAggregation) && this.notify(i?.validateAggregationTypeMsg, i?.missingNumericFields)), (sh(this._model) || rh(this._model)) && this._model.aggregationType === Gt.NoAggregation && this._model.numericFields.length === 1 && this.layer) {
18643
- const a = ya(this.layer), o = ca(a).idField;
18641
+ if (this.placeholder === void 0 && (e.schemaErrors.length > 0 && !ya(this.config) ? this.notify(i?.invalidConfig, void 0) : e.warnings.length > 0 && e.warnings.some((o) => o.keyword === xg.NonNumericAggregation) && this.notify(i?.validateAggregationTypeMsg, i?.missingNumericFields)), (sh(this._model) || rh(this._model)) && this._model.aggregationType === Gt.NoAggregation && this._model.numericFields.length === 1 && this.layer) {
18642
+ const a = ba(this.layer), o = la(a).idField;
18644
18643
  o && this._model.numericFields.includes(o) && this.notify(i?.noAggregationRequiresNumericFields, i?.missingNumericFields);
18645
18644
  }
18646
18645
  }
@@ -18659,7 +18658,7 @@ class LA extends om {
18659
18658
  handleSelection(e) {
18660
18659
  const i = { ...e.detail }, a = { ...i };
18661
18660
  let o = De(i.selectionItems);
18662
- o && (o = Sg(o, this.config?.series), o = o.map(vg), o = Lg(o, this.config?.series), a.selectionItems = o), Ji(a, this.selectionData) || (this.unsanitizedSelectionDataItems = i.selectionItems, this.selectionData = a, this.arcgisSelectionComplete.emit({ selectionData: a, model: this._model }));
18661
+ o && (o = Sg(o, this.config?.series), o = o.map(vg), o = Lg(o, this.config?.series), a.selectionItems = o), Qi(a, this.selectionData) || (this.unsanitizedSelectionDataItems = i.selectionItems, this.selectionData = a, this.arcgisSelectionComplete.emit({ selectionData: a, model: this._model }));
18663
18662
  }
18664
18663
  handleTooManySelectedElements() {
18665
18664
  this.errorPolicy === Zn.Throw && (this.infoModalHeading = this.commonStrings?.errorStrings.tooManySelectedElements?.title, this.infoModalMessage = this.commonStrings?.errorStrings.tooManySelectedElements?.message, this.notifyOptions = {
@@ -18679,7 +18678,7 @@ class LA extends om {
18679
18678
  this.arcgisSeriesOrder.emit(e.detail);
18680
18679
  }
18681
18680
  modelChange() {
18682
- if (Ri(this.model)) {
18681
+ if (gi(this.model)) {
18683
18682
  this._model = this.model, this.config = De(this._model?.config);
18684
18683
  const e = this._model?.layer;
18685
18684
  !this.layerItemId && e && (this.layer = e), this.addModelListeners(), this._model.asyncUpdatesPromise.then(() => {
@@ -18706,7 +18705,7 @@ class LA extends om {
18706
18705
  })), await this.setExtentChangeWatchHandler(), this.setViewTimeExtentChangeWatchHandler(), this.setViewTimeZoneWatchHandler(), i !== void 0 && e === void 0 && await this.refresh(), this.view ? this.setViewSelectionsChangeWatchHandler() : this.removeViewSelectionsChangeWatchHandler();
18707
18706
  }
18708
18707
  async layerChange() {
18709
- this.addLayerWatchHandlers(), this.layer && (await ya(this.layer).load(), await this.setExtentChangeWatchHandler(), this.setViewTimeExtentChangeWatchHandler(), this.setViewTimeZoneWatchHandler());
18708
+ this.addLayerWatchHandlers(), this.layer && (await ba(this.layer).load(), await this.setExtentChangeWatchHandler(), this.setViewTimeExtentChangeWatchHandler(), this.setViewTimeZoneWatchHandler());
18710
18709
  }
18711
18710
  layerItemIdChange() {
18712
18711
  this.layerItemId && this.layerItemId?.trim() !== "" ? this.layer = sl({
@@ -18763,7 +18762,7 @@ class LA extends om {
18763
18762
  getSelectionFromSelectionManager() {
18764
18763
  let e;
18765
18764
  if ((this.view || this.selectionManager) && this.layer && !dt(this.layer)) {
18766
- const i = ya(this.layer);
18765
+ const i = ba(this.layer);
18767
18766
  e = (this.selectionManager ?? this.view?.selectionManager)?.getSelection(i);
18768
18767
  }
18769
18768
  return e;
@@ -18773,7 +18772,7 @@ class LA extends om {
18773
18772
  if (this.layer && e && !dt(this.layer) && (this.syncViewSelection || this.syncSelectionsBetweenChartAndLayerViewPolicy === No.Enabled)) {
18774
18773
  let i;
18775
18774
  const a = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource === Re.ClearSelection, o = (this.selectionData?.selectionOIDs?.length ?? 0) > 0;
18776
- a ? i = [] : o && this.selectionData && (i = this.selectionData.selectionOIDs), i && e.replace(ya(this.layer), i);
18775
+ a ? i = [] : o && this.selectionData && (i = this.selectionData.selectionOIDs), i && e.replace(ba(this.layer), i);
18777
18776
  }
18778
18777
  }
18779
18778
  addModelListeners() {
@@ -18838,7 +18837,7 @@ class LA extends om {
18838
18837
  }
18839
18838
  async createModelFromLayer() {
18840
18839
  if (this.layer) {
18841
- const e = ya(this.layer);
18840
+ const e = ba(this.layer);
18842
18841
  await e.load();
18843
18842
  const i = this.chartIndex ?? 0, a = "charts" in e ? e?.charts?.[i] : void 0;
18844
18843
  if (a)
@@ -18902,7 +18901,7 @@ class LA extends om {
18902
18901
  if (dt(this.layer))
18903
18902
  a = this.filterByExtent ? this.view : void 0;
18904
18903
  else {
18905
- const o = Ri(this.model) ? this.model.config : this.model, n = H(o?.series);
18904
+ const o = gi(this.model) ? this.model.config : this.model, n = H(o?.series);
18906
18905
  a = this.filterByExtent || n !== y.HistogramSeries ? this.view : void 0;
18907
18906
  }
18908
18907
  return {
@@ -18991,7 +18990,8 @@ class LA extends om {
18991
18990
  processInvalidConfigStatus(e, i) {
18992
18991
  if (this.enableConfiguration)
18993
18992
  this.handleUpdateCompleted(e);
18994
- else if (this.loaderHandle.hideLoader(), !this.infoModalMessage) {
18993
+ else {
18994
+ this.loaderHandle.hideLoader();
18995
18995
  const { title: a, message: o } = QF({
18996
18996
  chartConfig: i,
18997
18997
  createMessage: this.placeholder,
@@ -19026,14 +19026,22 @@ class LA extends om {
19026
19026
  }
19027
19027
  }
19028
19028
  async renderChart() {
19029
- if (this.config) {
19029
+ if (ya(this.config))
19030
+ this.applyPlaceholderForPartialConfig(this.config);
19031
+ else if (this.config) {
19030
19032
  const e = this.chart === void 0, i = new Map(this.updatedProps), a = Array.from(i.keys());
19031
19033
  if (e || a.length > 0) {
19032
19034
  this.checkForInvalidContainer(), e && (this.dataFetching && (await this.dataFetching, this.dataFetching = void 0), this.chartCreationProcessing && (await this.chartCreationProcessing, this.chartCreationProcessing = void 0), this.updateConfigTimeZone(), this.checkForIncompatibleChartVersion(), this.updatedProps.clear());
19033
19035
  const o = await this._loadQueryObject.taskComplete;
19034
19036
  if (o) {
19035
19037
  let n = this.gatherComponentOptions();
19036
- const s = Nt(o, this.usePopupTemplateFieldsInfo), r = i?.get("config")?.oldValue ?? this.config;
19038
+ const s = Nt(o, this.usePopupTemplateFieldsInfo);
19039
+ let r;
19040
+ if (i.has("model")) {
19041
+ const h = i.get("model")?.oldValue;
19042
+ gi(h) ? r = h.config : r = h;
19043
+ }
19044
+ !r && i.has("config") && (r = i.get("config")?.oldValue), r ??= this.config;
19037
19045
  let l = e, c;
19038
19046
  e || ({ dataUpdateNeeded: l, dataUpdateDetails: c } = Og({
19039
19047
  config: this.config,
@@ -19060,7 +19068,7 @@ class LA extends om {
19060
19068
  layer: this.layer
19061
19069
  })), g = this.config !== p;
19062
19070
  }
19063
- if (this._config = u, this.model && u && !Ri(this.model) && (this.model.series = u.series), c?.common && r?.series && u?.series && (c.common.numberOfSeriesChanged = $g(r.series, u.series)), !u && !this.layer || gl(u, this.layer) && await hl(u, this.layer)) {
19071
+ if (this._config = u, this.model && u && !gi(this.model) && (this.model.series = u.series), c?.common && r?.series && u?.series && (c.common.numberOfSeriesChanged = $g(r.series, u.series)), !u && !this.layer || gl(u, this.layer) && await hl(u, this.layer)) {
19064
19072
  let h = await rl({
19065
19073
  input: u,
19066
19074
  queryObject: o,
@@ -19074,7 +19082,7 @@ class LA extends om {
19074
19082
  data: this.processedChartData ?? this.sanitizedChartData
19075
19083
  };
19076
19084
  if (u) {
19077
- if (io(o) && await Rt.whenOnce(() => !o.updating), l = l && u !== void 0 && !Di(u), l && (this.loaderHandle.showLoader(), this.dataFetching = Dg({
19085
+ if (io(o) && await Rt.whenOnce(() => !o.updating), l = l && u !== void 0 && !ya(u), l && (this.loaderHandle.showLoader(), this.dataFetching = Dg({
19078
19086
  chartConfig: u,
19079
19087
  preFetchedQueryResponse: m,
19080
19088
  queryObject: o,
@@ -19128,7 +19136,7 @@ class LA extends om {
19128
19136
  options: n,
19129
19137
  queryObject: o
19130
19138
  }), gn(r, u) && (l = !0);
19131
- const T = Pi(u) ? u.showMean : void 0, k = p?.data ?? this.sanitizedChartData, O = k && T && "meanLines" in k ? k.meanLines : Ut(k);
19139
+ const T = Ni(u) ? u.showMean : void 0, k = p?.data ?? this.sanitizedChartData, O = k && T && "meanLines" in k ? k.meanLines : Ut(k);
19132
19140
  O && (e || l) && ({ colorMatchApplied: this._colorMatchApplied, rendererFieldNames: this._rendererFieldNames } = await sd({
19133
19141
  data: O,
19134
19142
  queryObject: o,