@arcgis/charts-components 5.0.0-next.170 → 5.0.0-next.171

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.
@@ -1,22 +1,22 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
2
2
  import { c as pm } from "../../chunks/runtime.js";
3
3
  import * as si from "@arcgis/core/core/reactiveUtils.js";
4
- import { substitute as Ta } from "@arcgis/core/intl.js";
4
+ import { substitute as ka } from "@arcgis/core/intl.js";
5
5
  import Zn from "@arcgis/core/layers/FeatureLayer.js";
6
6
  import { LitElement as bm, createEvent as dt, safeClassMap as ym } from "@arcgis/lumina";
7
7
  import { unsafeGetElementDirection as Rs, unsafeGetCalciteModeName as Sm, observeAncestorsMutation as Cm } from "@arcgis/toolkit/dom";
8
8
  import { log as xm } from "@arcgis/toolkit/log";
9
9
  import vm from "html2canvas";
10
10
  import Lm from "jszip";
11
- import { html as io, css as Fm } from "lit";
11
+ import { html as ao, css as Fm } from "lit";
12
12
  import { createRef as Am, ref as Jr } from "lit/directives/ref.js";
13
- import { cloneDeep as Fe, debounce as pt, isEqual as ka, isEmpty as xa } from "lodash-es";
13
+ import { cloneDeep as Fe, debounce as pt, isEqual as Ia, isEmpty as xa } from "lodash-es";
14
14
  import { H as ai } from "../../chunks/resources.js";
15
- import { o as Y, dp as P, d as ri, dz as Ai, ds as z, dA as sa, ax as ni, d3 as Ve, bg as Uo, aq as So, dB as A, dC as Lt, aJ as ea, ar as Bs, dD as dn, dE as Cd, dF as xd, dG as Ti, d7 as he, l as Tm, k as ki, j as Ii, ao as Ia, aj as Z, a9 as ge, dH as km, az as Ne, a3 as j, dI as yi, dm as Ho, aI as Im, aH as $m, dd as qe, dJ as Nt, dK as li, dL as Ns, bS as wm, bT as Dm, c$ as Kt, cM as ut, bR as Ui, dl as cn, dM as un, d1 as vd, p as Wa, dN as fi, dO as Ct, aT as Ps, aV as Ld, dr as $a, dP as zt, d5 as Fd, ad as Ms, O as we, dQ as rt, dR as Ad, cZ as ft, b2 as Td, b3 as Om, aU as kd, cY as $i, dS as $t, dT as Ea, dq as Pe, dU as ro, db as Id, dV as Rm, dv as fn, dW as ra, dX as Bm, dY as el, bt as Nm, ch as $d, dZ as wd, d_ as mi, ab as wi, cF as Vs, bO as Tt, cz as Si, d$ as Dd, cA as wa, e0 as Od, bJ as hi, e1 as Rd, e2 as Bd, e3 as Nd, e4 as qo, bY as Ws, cT as Pd, e5 as Md, e6 as Es, ay as Hs, e7 as Co, a7 as Di, ag as mn, e8 as Vd, af as Pm, e9 as zs, a6 as Gs, ea as Mm, eb as tl, ec as Ha, ed as qi, aQ as gn, ee as xo, a4 as Kn, ef as Vm, bc as Wd, eg as Xs, a$ as Ys, a8 as lo, b1 as Ed, b0 as Hd, eh as Us, ei as zd, a as va, au as Gd, dt as kt, bX as Xd, dw as hn, ej as Yd, ek as Ud, ae as qd, a2 as jt, el as jd, em as za, en as Ci, eo as la, cU as pn, ep as _d, bK as ao, L as Wm, M as Zd, x as Kd, y as Em, Q as qs, R as Hm, I as Qd, S as zm, T as Gm, eq as js, D as Xm, B as Ym, A as Um, C as qm, t as jm, er as Jd, h as ec, E as ds, es as bn, et as _s, bA as tc, aB as _m, eu as Zm, Z as cs, ev as Km, aa as Qm, ck as Jm, cP as ic, ew as ac, ex as eg, J as tg, K as ig, c_ as il, N as ag, P as og, d2 as ng, q as sg, H as rg, G as lg, ey as dg, U as cg, aD as Qa, aC as Do, bN as us, cL as Oo, _ as Qi, r as ug, bM as fg, ez as al, dc as mg, a0 as gg, eA as hg, eB as pg, eC as bg, c6 as ol, g as yg, cQ as Sg, s as Cg } from "../../chunks/index.js";
16
- import { color as co, percent as ot, LinePattern as oc, RectanglePattern as xg, p50 as $e, p0 as Ge, p100 as pe, Label as wt, Rectangle as jo, DateFormatter as vg, NumberFormatter as nc, Series as yn, Bullet as Oi, Tooltip as ji, Template as da, Graphics as Vt, Color as Lg, Container as pi, HeatLegend as _o, LinearGradient as Fg, Legend as Zs, Scrollbar as fs, SerialChart as Da, time as Ag, RoundedRectangle as uo, Slice as Oa, Timezone as Tg, DataItem as kg, addLicense as Ig, registry as $g, Root as wg } from "@amcharts/amcharts5";
15
+ import { o as Y, dp as P, d as ri, dz as Ti, ds as z, dA as sa, ax as ni, d3 as Ve, bg as Uo, aq as So, dB as A, dC as Lt, aJ as ea, ar as Bs, dD as dn, dE as Cd, dF as xd, dG as ki, d7 as he, l as Tm, k as Ii, j as $i, ao as $a, aj as Z, a9 as ge, dH as km, az as Ne, a3 as j, dI as Si, dm as Ho, aI as Im, aH as $m, dd as qe, dJ as Nt, dK as li, dL as Ns, bS as wm, bT as Dm, c$ as Kt, cM as ut, bR as qi, dl as cn, dM as un, d1 as vd, p as Ea, dN as fi, dO as Ct, aT as Ps, aV as Ld, dr as wa, dP as zt, d5 as Fd, ad as Ms, O as we, dQ as rt, dR as Ad, cZ as ft, b2 as Td, b3 as Om, aU as kd, cY as wi, dS as $t, dT as Ha, dq as Pe, dU as ro, db as Id, dV as Rm, dv as fn, dW as ra, dX as Bm, dY as el, bt as Nm, ch as $d, dZ as wd, d_ as mi, ab as Di, cF as Vs, bO as Tt, cz as Ci, d$ as Dd, cA as Da, e0 as Od, bJ as pi, e1 as Rd, e2 as Bd, e3 as Nd, e4 as qo, bY as Ws, cT as Pd, e5 as Md, e6 as Es, ay as Hs, e7 as Co, a7 as Oi, ag as mn, e8 as Vd, af as Pm, e9 as zs, a6 as Gs, ea as Mm, eb as tl, ec as za, ed as ji, aQ as gn, ee as xo, a4 as Kn, ef as Vm, bc as Wd, eg as Xs, a$ as Ys, a8 as lo, b1 as Ed, b0 as Hd, eh as Us, ei as zd, a as va, au as Gd, dt as kt, bX as Xd, dw as hn, ej as Yd, ek as Ud, ae as qd, a2 as jt, el as jd, em as Ga, en as xi, eo as la, cU as pn, ep as _d, bK as oo, L as Wm, M as Zd, x as Kd, y as Em, Q as qs, R as Hm, I as Qd, S as zm, T as Gm, eq as js, D as Xm, B as Ym, A as Um, C as qm, t as jm, er as Jd, h as ec, E as ds, es as bn, et as _s, bA as tc, aB as _m, eu as Zm, Z as cs, ev as Km, aa as Qm, ck as Jm, cP as ic, ew as ac, ex as eg, J as tg, K as ig, c_ as il, N as ag, P as og, d2 as ng, q as sg, H as rg, G as lg, ey as dg, U as cg, aD as Ja, aC as Do, bN as us, cL as Oo, _ as hi, r as ug, bM as fg, ez as al, dc as mg, a0 as gg, eA as hg, eB as pg, eC as bg, c6 as ol, g as yg, cQ as Sg, s as Cg } from "../../chunks/index.js";
16
+ import { color as co, percent as ot, LinePattern as oc, RectanglePattern as xg, p50 as $e, p0 as Ge, p100 as pe, Label as wt, Rectangle as jo, DateFormatter as vg, NumberFormatter as nc, Series as yn, Bullet as Ri, Tooltip as _i, Template as da, Graphics as Vt, Color as Lg, Container as bi, HeatLegend as _o, LinearGradient as Fg, Legend as Zs, Scrollbar as fs, SerialChart as Oa, time as Ag, RoundedRectangle as uo, Slice as Ra, Timezone as Tg, DataItem as kg, addLicense as Ig, registry as $g, Root as wg } from "@amcharts/amcharts5";
17
17
  import { PieChart as Zt, PieSeries as bt } from "@amcharts/amcharts5/percent.js";
18
- import { AxisRendererCircular as Qt, RadarCursor as Ks, ClockHand as ms, RadarChart as Ei, AxisRendererRadial as Dg, RadarLineSeries as Qs } from "@amcharts/amcharts5/radar.js";
19
- import { XYChart as be, AxisRendererX as Dt, LineSeries as Ce, XYCursor as sc, ColumnSeries as Me, CategoryAxis as nt, StepLineSeries as Sn, CandlestickSeries as ca, DateAxis as Ye, ValueAxis as ve, XYSeries as Js, AxisRendererY as Hi, AxisBullet as Og } from "@amcharts/amcharts5/xy.js";
18
+ import { AxisRendererCircular as Qt, RadarCursor as Ks, ClockHand as ms, RadarChart as Hi, AxisRendererRadial as Dg, RadarLineSeries as Qs } from "@amcharts/amcharts5/radar.js";
19
+ import { XYChart as be, AxisRendererX as Dt, LineSeries as Ce, XYCursor as sc, ColumnSeries as Me, CategoryAxis as nt, StepLineSeries as Sn, CandlestickSeries as ca, DateAxis as Ye, ValueAxis as ve, XYSeries as Js, AxisRendererY as zi, AxisBullet as Og } from "@amcharts/amcharts5/xy.js";
20
20
  import { getElementLocale as Cn } from "@arcgis/toolkit/intl";
21
21
  import "@arcgis/toolkit/type";
22
22
  import { d as G, W as S, e as De, S as rc, a as Yt, i as Se, j as Ut, l as La, w as E, g as xn, r as nl, x as Rg, o as Le, s as sl, m as lc, h as rl, q as Fa, p as Bg } from "../../chunks/series-types.js";
@@ -42,10 +42,10 @@ import Mg from "@amcharts/amcharts5/themes/Animated.js";
42
42
  import Vg from "@amcharts/amcharts5/themes/Responsive.js";
43
43
  import "@esri/arcgis-html-sanitizer";
44
44
  import { b as fo, d as Zo, c as dc, s as cc, u as es, v as Wg, t as Eg, w as vn, h as ts } from "../../chunks/index4.js";
45
- import { LineSeriesDataItem as Ga, DateAxis as Ee, ValueAxis as Ae, CategoryAxis as st, CategoryAxisDataItem as Ra, DateAxisDataItem as Ln, XYChart as me, PieChart as Te, AxisFill as Hg, AxisFillCircular as zg, LineSeries as ye, ColumnSeries as Qe, PieSeries as Wt, GaugeChart as yt, XYCursor as uc, XYSeries as xi, SerialChart as fc, Cursor as Gg, AxisLabel as er, ColumnSeriesDataItem as tr, CandlestickSeries as Ue, StepLineSeries as St, LegendDataItem as _i, Series as mc, CandlestickSeriesDataItem as Xg, PieSeriesDataItem as vi, Legend as Yg, AxisRendererX as It, AxisRendererCircular as Fn, AxisLabelCircular as ir, ValueAxisDataItem as ar, AxisRendererY as vo, ClockHand as Ug } from "@amcharts/amcharts4/charts.js";
45
+ import { LineSeriesDataItem as Xa, DateAxis as Ee, ValueAxis as Ae, CategoryAxis as st, CategoryAxisDataItem as Ba, DateAxisDataItem as Ln, XYChart as me, PieChart as Te, AxisFill as Hg, AxisFillCircular as zg, LineSeries as ye, ColumnSeries as Qe, PieSeries as Wt, GaugeChart as yt, XYCursor as uc, XYSeries as vi, SerialChart as fc, Cursor as Gg, AxisLabel as er, ColumnSeriesDataItem as tr, CandlestickSeries as Ue, StepLineSeries as St, LegendDataItem as Zi, Series as mc, CandlestickSeriesDataItem as Xg, PieSeriesDataItem as Li, Legend as Yg, AxisRendererX as It, AxisRendererCircular as Fn, AxisLabelCircular as ir, ValueAxisDataItem as ar, AxisRendererY as vo, ClockHand as Ug } from "@amcharts/amcharts4/charts.js";
46
46
  import { Exporting as qg } from "@amcharts/amcharts5/plugins/exporting.js";
47
47
  import { curveLinearClosed as jg, curveLinear as _g, curveCardinal as Zg, curveBumpY as Kg, curveBumpX as Qg } from "d3-shape";
48
- import { DateFormatter as gc, NumberFormatter as hc, Group as Jg, Color as Ko, percent as ct, LinePattern as pc, RectPattern as bc, color as An, MouseCursorStyle as qt, Label as Qo, DropShadowFilter as eh, Sprite as or, utils as yc, Tooltip as Sc, Container as th, RoundedRectangle as ih, Percent as Jo, Slice as Cc, options as oo, useTheme as ah, unuseTheme as oh, create as nr } from "@amcharts/amcharts4/core.js";
48
+ import { DateFormatter as gc, NumberFormatter as hc, Group as Jg, Color as Ko, percent as ct, LinePattern as pc, RectPattern as bc, color as An, MouseCursorStyle as qt, Label as Qo, DropShadowFilter as eh, Sprite as or, utils as yc, Tooltip as Sc, Container as th, RoundedRectangle as ih, Percent as Jo, Slice as Cc, options as no, useTheme as ah, unuseTheme as oh, create as nr } from "@amcharts/amcharts4/core.js";
49
49
  import dl from "@amcharts/amcharts4/themes/animated.js";
50
50
  import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
51
51
  import { isLight as nh } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
@@ -236,7 +236,7 @@ function Fh(t) {
236
236
  function Tn(t) {
237
237
  const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Y(i.series) === P.PieFromFields ? ri : n.x;
238
238
  e.forEach((r) => {
239
- const l = Ai(r), d = r[z.pieChart.technicalFieldSliceId], u = l ? n.sliceGrouping?.label : en(a?.slices, d)?.label;
239
+ const l = Ti(r), d = r[z.pieChart.technicalFieldSliceId], u = l ? n.sliceGrouping?.label : en(a?.slices, d)?.label;
240
240
  Ah({ dataContext: r, x: s, newLabel: u });
241
241
  }), Fh({ chartConfig: i, chartData: e, fieldList: o });
242
242
  }
@@ -285,7 +285,7 @@ function Lo(t) {
285
285
  function sr(t) {
286
286
  const { dataContext: e, pieSlicesSymbols: i, seriesConfig: a } = t;
287
287
  let o = a.fillSymbol ? { ...a.fillSymbol } : Uo();
288
- if (Ai(e))
288
+ if (Ti(e))
289
289
  o = {
290
290
  ...z.pieChart.sliceGrouping.fillSymbol,
291
291
  ...i?.groupOfSlices?.fillSymbol
@@ -341,10 +341,10 @@ function de(t, e) {
341
341
  function He(t, e) {
342
342
  ua(t, e);
343
343
  }
344
- function zi(t, e) {
344
+ function Gi(t, e) {
345
345
  return fa(t, e);
346
346
  }
347
- function Xa(t, e) {
347
+ function Ya(t, e) {
348
348
  ua(t, e);
349
349
  }
350
350
  function gi(t, e) {
@@ -395,7 +395,7 @@ function ue(t) {
395
395
  function tt(t, e) {
396
396
  return `${t}${e}`;
397
397
  }
398
- function Gi(t, e = 100) {
398
+ function Xi(t, e = 100) {
399
399
  return setTimeout(() => t(), e);
400
400
  }
401
401
  function Fc(t, e) {
@@ -644,7 +644,7 @@ function Xh(t) {
644
644
  function wc(t, e) {
645
645
  e !== void 0 && (e.marginBottom !== void 0 && t.set("marginBottom", e.marginBottom), e.marginTop !== void 0 && t.set("marginTop", e.marginTop), e.marginRight !== void 0 && t.set("marginRight", e.marginRight), e.marginLeft !== void 0 && t.set("marginLeft", e.marginLeft), e.verticalCenter !== void 0 && t.set("y", $c(e.verticalCenter)), e.horizontalCenter !== void 0 && t.set("x", Ic(e.horizontalCenter)), e.strokeWidth !== void 0 && t.get("background")?.set("strokeWidth", e.strokeWidth), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingLeft !== void 0 && t.set("paddingLeft", e.paddingLeft), e.paddingRight !== void 0 && t.set("paddingRight", e.paddingRight), e.maxWidth !== void 0 && t.set("maxWidth", e.maxWidth));
646
646
  }
647
- function Ba(t) {
647
+ function Na(t) {
648
648
  const { root: e, parent: i, defaults: a, index: o, id: n } = t, s = wt.new(e, {
649
649
  text: "",
650
650
  textAlign: "center",
@@ -737,7 +737,7 @@ function di(t) {
737
737
  oversizedBehavior: "wrap"
738
738
  });
739
739
  }
740
- function Na(t) {
740
+ function Pa(t) {
741
741
  const { chart: e } = t;
742
742
  di(t), e.events.onDebounced(
743
743
  ae.BoundsChanged,
@@ -865,7 +865,7 @@ function Uh(t) {
865
865
  if (o !== void 0) {
866
866
  wc(o), rr(o.uid, { isGuide: !0, guideLabelConfig: a });
867
867
  const { chart: n } = i;
868
- n !== void 0 && Na({
868
+ n !== void 0 && Pa({
869
869
  chart: n,
870
870
  label: o,
871
871
  labelType: K.GuideLabel
@@ -1160,7 +1160,7 @@ const fe = {
1160
1160
  Bottom: "bottom",
1161
1161
  Median: "median",
1162
1162
  Outliers: "outliers"
1163
- }, Mi = {
1163
+ }, Vi = {
1164
1164
  Outlier: "outlier",
1165
1165
  Box: "box",
1166
1166
  OutlierToOutlier: "outlier-outlier",
@@ -1169,7 +1169,7 @@ const fe = {
1169
1169
  BoxToBox: "box-box"
1170
1170
  };
1171
1171
  function _h(t, e) {
1172
- const i = t[z.boxPlot.boxPlotOutlierId] === !0 ? Mi.Outlier : Mi.Box, a = typeof e == "number" ? Mi.Outlier : Mi.Box;
1172
+ const i = t[z.boxPlot.boxPlotOutlierId] === !0 ? Vi.Outlier : Vi.Box, a = typeof e == "number" ? Vi.Outlier : Vi.Box;
1173
1173
  return `${i}-${a}`;
1174
1174
  }
1175
1175
  function Zh(t) {
@@ -1274,13 +1274,13 @@ function ip(t) {
1274
1274
  let R = ep({ oneSelectedItem: c, dataContext: l, xAxisField: a });
1275
1275
  if (R)
1276
1276
  switch (_h(c, F)) {
1277
- case Mi.OutlierToOutlier:
1277
+ case Vi.OutlierToOutlier:
1278
1278
  R = Zh({ oneSelectedItem: c, dataContext: l, selectedOutlierKey: g });
1279
1279
  break;
1280
- case Mi.OutlierToBox:
1280
+ case Vi.OutlierToBox:
1281
1281
  R = Kh({ elementMin: k, elementMax: $, selectedOutlierValue: T });
1282
1282
  break;
1283
- case Mi.BoxToOutlier:
1283
+ case Vi.BoxToOutlier:
1284
1284
  R = Qh({
1285
1285
  selectedMin: D,
1286
1286
  selectedMax: O,
@@ -1289,7 +1289,7 @@ function ip(t) {
1289
1289
  iqrField: v
1290
1290
  });
1291
1291
  break;
1292
- case Mi.BoxToBox:
1292
+ case Vi.BoxToBox:
1293
1293
  R = Jh({
1294
1294
  selectedMin: D,
1295
1295
  selectedMax: O,
@@ -1371,7 +1371,7 @@ function kn(t) {
1371
1371
  c = (b) => {
1372
1372
  let y, C = o;
1373
1373
  if (d === P.BarAndLineSplitByNoAggregation) {
1374
- const x = ki({ where: l, keepSurroundingQuotes: !1, escape: !1 });
1374
+ const x = Ii({ where: l, keepSurroundingQuotes: !1, escape: !1 });
1375
1375
  C = `${o}_${x}`;
1376
1376
  }
1377
1377
  if (o !== void 0 && o in b && o in p)
@@ -1434,7 +1434,7 @@ function kn(t) {
1434
1434
  break;
1435
1435
  case S.PieSeries:
1436
1436
  n !== void 0 && (c = (p) => {
1437
- const b = i, y = Ai(b), C = [b];
1437
+ const b = i, y = Ti(b), C = [b];
1438
1438
  return y && C.push(...Lo({ groupOfSlicesDataContext: b }) ?? []), C.some(
1439
1439
  (v) => dr({
1440
1440
  sliceDataContext: v,
@@ -1448,7 +1448,7 @@ function kn(t) {
1448
1448
  }
1449
1449
  return c !== void 0 && (u = a.some(c)), u;
1450
1450
  }
1451
- function Li(t) {
1451
+ function Fi(t) {
1452
1452
  const {
1453
1453
  isFeatureCollectionLayer: e,
1454
1454
  dataContext: i,
@@ -1466,15 +1466,15 @@ function Li(t) {
1466
1466
  r !== S.PieSeries && (e || l !== P.BarAndLineNoAggregation && l !== P.BarAndLineSplitByNoAggregation) && o.forEach((m) => {
1467
1467
  m !== a && delete u[m];
1468
1468
  });
1469
- const c = Ti({
1469
+ const c = ki({
1470
1470
  value: i[n],
1471
1471
  dataContext: i,
1472
1472
  keepNullValues: !0
1473
1473
  });
1474
- u[n] = c, !he(s) && !Tm(s) && (u[Ii(s)] = ki({ where: s, escape: !1 }));
1474
+ u[n] = c, !he(s) && !Tm(s) && (u[$i(s)] = Ii({ where: s, escape: !1 }));
1475
1475
  } else if (r === S.BoxPlotSeries) {
1476
1476
  u = { [n]: i[n] }, [
1477
- Ia.uniqueIdsName,
1477
+ $a.uniqueIdsName,
1478
1478
  z.boxPlot.boxPlotMeanLineMarkerId,
1479
1479
  z.boxPlot.boxPlotOutlierId,
1480
1480
  z.originalCategoryValue,
@@ -1567,7 +1567,7 @@ function Mc(t, e = 512) {
1567
1567
  }
1568
1568
  return new Blob(o, { type: i });
1569
1569
  }
1570
- function Pa(t) {
1570
+ function Ma(t) {
1571
1571
  const { value: e, valueFormat: i, formatLocale: a, root: o } = t;
1572
1572
  let n = e?.toString();
1573
1573
  const s = Et({
@@ -1576,7 +1576,7 @@ function Pa(t) {
1576
1576
  formatLocale: a,
1577
1577
  root: o
1578
1578
  });
1579
- return typeof e == "number" && i.type === S.NumberAxisFormat ? n = s.format(e, yi(i)) : (typeof e == "number" || e instanceof Date) && i.type === S.DateAxisFormat && (n = s.format(e, yi(i))), n;
1579
+ return typeof e == "number" && i.type === S.NumberAxisFormat ? n = s.format(e, Si(i)) : (typeof e == "number" || e instanceof Date) && i.type === S.DateAxisFormat && (n = s.format(e, Si(i))), n;
1580
1580
  }
1581
1581
  async function lp(t) {
1582
1582
  const { root: e, exportOptions: i } = t, { format: a, quality: o = 1, ...n } = i, s = o < 0 || o > 1 ? 1 : o, l = await qg.new(e, {}).exportImage(a, {
@@ -1585,7 +1585,7 @@ async function lp(t) {
1585
1585
  }), d = Mc(l), u = a === "jpg" ? "image/jpeg" : "image/png";
1586
1586
  return new File([d], `chart.${a}`, { type: u });
1587
1587
  }
1588
- function no(t, e) {
1588
+ function Aa(t, e) {
1589
1589
  if (t !== void 0 && e !== void 0 && (t.states.lookup("default")?.setAll({
1590
1590
  fill: e.fill,
1591
1591
  // stylingInfo.pattern ?? stylingInfo.fill,
@@ -1877,7 +1877,7 @@ function cp(t) {
1877
1877
  function up(t) {
1878
1878
  const { series: e, isRotated: i, externalDataLabelFormatter: a } = t;
1879
1879
  e.bullets.push(() => {
1880
- const s = I(e.chart?.uid ?? Number.NaN, "config")?.series?.find((u) => u.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, r = e.get("stacked"), l = Oi.new(e.root, {
1880
+ const s = I(e.chart?.uid ?? Number.NaN, "config")?.series?.find((u) => u.id === e.get("id"))?.dataLabels ?? t.dataLabelsConfig, r = e.get("stacked"), l = Ri.new(e.root, {
1881
1881
  locationY: !r && !i ? 1 : void 0,
1882
1882
  locationX: !r && i ? 1 : void 0,
1883
1883
  sprite: wt.new(e.root, {
@@ -2112,7 +2112,7 @@ function pp(t) {
2112
2112
  function bp(t) {
2113
2113
  const { series: e, externalDataLabelFormatter: i } = t;
2114
2114
  e.bullets.push(() => {
2115
- const o = I(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, n = Oi.new(e.root, {
2115
+ const o = I(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, n = Ri.new(e.root, {
2116
2116
  sprite: wt.new(e.root, {
2117
2117
  text: "{value}",
2118
2118
  populateText: !0,
@@ -2149,7 +2149,12 @@ function yp(t) {
2149
2149
  const { series: e, dataLabelsConfig: i } = t, a = i?.visible;
2150
2150
  e.bullets.hasIndex(0) && cr(e, 0), a === !0 && bp(t);
2151
2151
  }
2152
- function Ma(t, e) {
2152
+ const yi = {
2153
+ nameField: "name",
2154
+ fillField: "fill",
2155
+ strokeField: "stroke"
2156
+ };
2157
+ function Va(t, e) {
2153
2158
  return e != null && e !== "" ? e : t;
2154
2159
  }
2155
2160
  function Xc(t, e) {
@@ -2197,7 +2202,7 @@ function Xc(t, e) {
2197
2202
  }
2198
2203
  function ur(t) {
2199
2204
  const { config: e, fieldName: i = "", utilsStrings: a } = t, o = e.series[0].query?.outStatistics?.[0].statisticType ?? rc.statisticType, n = Xc(o, a);
2200
- return Ta(a.statistics.aggregation, {
2205
+ return ka(a.statistics.aggregation, {
2201
2206
  statistics: n,
2202
2207
  fieldName: i
2203
2208
  });
@@ -2205,11 +2210,11 @@ function ur(t) {
2205
2210
  function Yc(t) {
2206
2211
  const { config: e, fieldList: i, objectIdField: a, seriesIndex: o, isStacked100: n, utilsStrings: s } = t;
2207
2212
  let r = "";
2208
- const l = e.series[o].name, d = e.series[o], u = [d.y].flat()[0], c = e.axes, m = Y(e.series), g = a ?? Ia.outStatistics.onStatisticField, h = d.query?.outStatistics?.[0].onStatisticField ?? g, p = Ve(i, h), b = d.query?.outStatistics?.[0].statisticType ?? rc.statisticType, y = Xc(b, s);
2209
- return m === P.BarAndLineNoAggregation ? r = l ?? Ve(i, u) : m === P.BarAndLineSplitByNoAggregation ? r = Ve(i, u) : (r = b === Yt.Count && h === g ? s.statistics.count : Ta(s.statistics.aggregation, {
2213
+ const l = e.series[o].name, d = e.series[o], u = [d.y].flat()[0], c = e.axes, m = Y(e.series), g = a ?? $a.outStatistics.onStatisticField, h = d.query?.outStatistics?.[0].onStatisticField ?? g, p = Ve(i, h), b = d.query?.outStatistics?.[0].statisticType ?? rc.statisticType, y = Xc(b, s);
2214
+ return m === P.BarAndLineNoAggregation ? r = l ?? Ve(i, u) : m === P.BarAndLineSplitByNoAggregation ? r = Ve(i, u) : (r = b === Yt.Count && h === g ? s.statistics.count : ka(s.statistics.aggregation, {
2210
2215
  statistics: y,
2211
2216
  fieldName: p ?? l
2212
- }), m === P.BarAndLineMonoField && !n && (r = Ma(r, c[1].title?.content?.text))), r;
2217
+ }), m === P.BarAndLineMonoField && !n && (r = Va(r, c[1].title?.content?.text))), r;
2213
2218
  }
2214
2219
  function fr(t) {
2215
2220
  return t != null && !t.isDisposed();
@@ -2226,7 +2231,7 @@ function qc(t, e) {
2226
2231
  tooltipPosition: "pointer"
2227
2232
  }), t.columns.template.adapters.remove(a), t.columns.template.adapters.add(
2228
2233
  a,
2229
- (o, n) => Va({ element: n, series: t, isHTML: e !== void 0 })
2234
+ (o, n) => Wa({ element: n, series: t, isHTML: e !== void 0 })
2230
2235
  );
2231
2236
  }
2232
2237
  function jc(t) {
@@ -2262,7 +2267,7 @@ function Sp(t) {
2262
2267
  let r;
2263
2268
  const l = I(a.chart?.uid ?? 0, "rtl") ?? !1, d = Nt(l);
2264
2269
  return s === !1 ? r = (u, c, m) => "" : r = (u, c, m) => {
2265
- const g = Ve(o, i.x), h = Ma(g, e?.[0].title?.content?.text), p = Ma(n?.statistics.count ?? "", e?.[1]?.title?.content?.text ?? ""), b = de(
2270
+ const g = Ve(o, i.x), h = Va(g, e?.[0].title?.content?.text), p = Va(n?.statistics.count ?? "", e?.[1]?.title?.content?.text ?? ""), b = de(
2266
2271
  a.uid,
2267
2272
  "tooltipValueXNumberFormatCallback"
2268
2273
  ), y = de(
@@ -2298,7 +2303,7 @@ function _c(t, e) {
2298
2303
  tooltipPosition: "pointer"
2299
2304
  }), t.columns.template.adapters.remove(a), t.columns.template.adapters.add(
2300
2305
  a,
2301
- (o, n) => Va({ element: n, series: t, isHTML: e !== void 0 })
2306
+ (o, n) => Wa({ element: n, series: t, isHTML: e !== void 0 })
2302
2307
  );
2303
2308
  }
2304
2309
  function xp(t) {
@@ -2424,7 +2429,7 @@ function Zc(t, e) {
2424
2429
  let r = " ";
2425
2430
  try {
2426
2431
  const l = s.get("tooltip");
2427
- l && (l.dataItem = s.dataItem, r = Va({
2432
+ l && (l.dataItem = s.dataItem, r = Wa({
2428
2433
  element: l,
2429
2434
  series: t,
2430
2435
  isHTML: e !== void 0
@@ -2530,7 +2535,7 @@ function Qc(t, e) {
2530
2535
  strokeWidth: i.outline?.width ?? Number.NaN
2531
2536
  });
2532
2537
  const n = t.get("background");
2533
- if (n instanceof Vt && n.parent instanceof ji) {
2538
+ if (n instanceof Vt && n.parent instanceof _i) {
2534
2539
  const s = n.parent.get("tooltipTarget");
2535
2540
  n.set(
2536
2541
  "strokeOpacity",
@@ -2550,7 +2555,7 @@ function Qc(t, e) {
2550
2555
  function $p(t) {
2551
2556
  t.get("background")?.adapters.add("fillOpacity", (e, i) => {
2552
2557
  let a = e;
2553
- if (i.parent instanceof ji) {
2558
+ if (i.parent instanceof _i) {
2554
2559
  const o = i.parent.get("tooltipTarget");
2555
2560
  a = o instanceof Vt ? o.get("fillOpacity") : a;
2556
2561
  }
@@ -2558,7 +2563,7 @@ function $p(t) {
2558
2563
  });
2559
2564
  }
2560
2565
  function Fo(t) {
2561
- const { root: e, chart: i } = t, a = ji.new(e, {});
2566
+ const { root: e, chart: i } = t, a = _i.new(e, {});
2562
2567
  return a.label.setAll({
2563
2568
  oversizedBehavior: "wrap",
2564
2569
  maxWidth: A.tooltipWidth
@@ -2573,12 +2578,12 @@ function $n(t) {
2573
2578
  tooltipPosition: "fixed"
2574
2579
  })) : o = n;
2575
2580
  const s = a !== void 0 ? "tooltipHTML" : "tooltipText";
2576
- return o instanceof ji ? (o.adapters.remove(s), o.adapters.add(
2581
+ return o instanceof _i ? (o.adapters.remove(s), o.adapters.add(
2577
2582
  s,
2578
- (r, l) => Va({ element: l, series: e, isHTML: a !== void 0 })
2583
+ (r, l) => Wa({ element: l, series: e, isHTML: a !== void 0 })
2579
2584
  )) : o instanceof da && (o.adapters.remove(s), o.adapters.add(
2580
2585
  s,
2581
- (r, l) => Va({ element: l, series: e, isHTML: a !== void 0 })
2586
+ (r, l) => Wa({ element: l, series: e, isHTML: a !== void 0 })
2582
2587
  )), n;
2583
2588
  }
2584
2589
  function wp(t, e) {
@@ -2611,7 +2616,7 @@ function Op(t) {
2611
2616
  const r = s.get("valueX"), l = s.get("valueY"), d = s.get("valueXTotalPercent"), u = s.get("valueYTotalPercent"), c = o ? r : l;
2612
2617
  let m;
2613
2618
  o && typeof d == "number" ? m = d : !o && typeof u == "number" && (m = u), m && (m /= 100);
2614
- const g = s.dataContext ?? {}, h = I(i.chart?.uid ?? 0, "config"), p = I(i.chart?.uid ?? 0, "rendererFieldNames"), b = Ti({
2619
+ const g = s.dataContext ?? {}, h = I(i.chart?.uid ?? 0, "config"), p = I(i.chart?.uid ?? 0, "rendererFieldNames"), b = ki({
2615
2620
  value: g[e.x],
2616
2621
  dataContext: g,
2617
2622
  useRendererLabel: un(h, p),
@@ -2633,14 +2638,14 @@ function Op(t) {
2633
2638
  }
2634
2639
  }
2635
2640
  function Fl(t, e) {
2636
- if (t instanceof ji)
2641
+ if (t instanceof _i)
2637
2642
  t.set("forceHidden", e);
2638
2643
  else {
2639
2644
  const i = t.get("tooltip");
2640
2645
  i && i.set("forceHidden", e);
2641
2646
  }
2642
2647
  }
2643
- function Va(t) {
2648
+ function Wa(t) {
2644
2649
  const { element: e, series: i, isHTML: a } = t;
2645
2650
  let o;
2646
2651
  const { chart: n } = i;
@@ -2681,7 +2686,7 @@ function Va(t) {
2681
2686
  });
2682
2687
  break;
2683
2688
  case S.PieSeries:
2684
- i instanceof bt && e instanceof ji && (o = Fp({
2689
+ i instanceof bt && e instanceof _i && (o = Fp({
2685
2690
  pieSeries: i,
2686
2691
  tooltip: e
2687
2692
  }));
@@ -2770,7 +2775,7 @@ function Bp(t) {
2770
2775
  } = t, { root: d } = s;
2771
2776
  let u;
2772
2777
  const c = I(s.chart?.uid ?? 0, "formatLocale");
2773
- return /* case 1: time binning chart */ Wa({
2778
+ return /* case 1: time binning chart */ Ea({
2774
2779
  seriesConfig: e,
2775
2780
  xAxisValueFormatType: i?.type,
2776
2781
  setTimeBinningInfoWhenNotProvided: a
@@ -2778,12 +2783,12 @@ function Bp(t) {
2778
2783
  series: s,
2779
2784
  dateRange: l,
2780
2785
  xAxisValueFormat: i
2781
- }) : fi(i) && r !== void 0 ? u = Pa({
2786
+ }) : fi(i) && r !== void 0 ? u = Ma({
2782
2787
  root: d,
2783
2788
  value: r,
2784
2789
  valueFormat: n ?? i,
2785
2790
  formatLocale: c
2786
- }) : typeof r == "number" && Ct(i) ? u = Pa({
2791
+ }) : typeof r == "number" && Ct(i) ? u = Ma({
2787
2792
  root: d,
2788
2793
  value: r,
2789
2794
  valueFormat: o ?? i,
@@ -2802,7 +2807,7 @@ function Np(t) {
2802
2807
  } = t, l = i.chart?.uid ?? 0, { root: d } = i;
2803
2808
  let u = s;
2804
2809
  u === void 0 && (Ct(n) && n ? (u = n, e && (u.intlOptions.style = "decimal")) : u = Ps());
2805
- const c = I(l, "formatLocale"), m = a !== void 0 ? Pa({
2810
+ const c = I(l, "formatLocale"), m = a !== void 0 ? Ma({
2806
2811
  root: d,
2807
2812
  value: a,
2808
2813
  valueFormat: u,
@@ -2811,7 +2816,7 @@ function Np(t) {
2811
2816
  let g = "";
2812
2817
  if (e && o !== void 0 && d !== void 0) {
2813
2818
  let h = r;
2814
- h === void 0 && (h = Ld(), h.intlOptions.minimumFractionDigits = 2, h.intlOptions.maximumFractionDigits = 2), g = Pa({
2819
+ h === void 0 && (h = Ld(), h.intlOptions.minimumFractionDigits = 2, h.intlOptions.maximumFractionDigits = 2), g = Ma({
2815
2820
  root: d,
2816
2821
  value: o,
2817
2822
  valueFormat: h,
@@ -2828,7 +2833,7 @@ function Pp(t) {
2828
2833
  if (g !== void 0) {
2829
2834
  const { dataTooltipVisible: h } = n, p = o instanceof Ce ? n.markerVisible : void 0;
2830
2835
  if (h !== !1 && p !== !1) {
2831
- const b = g.axes, y = b[0].valueFormat, C = b[1].valueFormat, x = Y(g.series), v = Kt(g) === De.Stacked100, F = ut(a), T = Ui(F).idField, k = Ve(i, n.x), $ = Ma(k, b[0].title?.content.text), D = Yc({
2836
+ const b = g.axes, y = b[0].valueFormat, C = b[1].valueFormat, x = Y(g.series), v = Kt(g) === De.Stacked100, F = ut(a), T = qi(F).idField, k = Ve(i, n.x), $ = Va(k, b[0].title?.content.text), D = Yc({
2832
2837
  config: g,
2833
2838
  fieldList: i,
2834
2839
  objectIdField: T,
@@ -2874,7 +2879,7 @@ function Pp(t) {
2874
2879
  case P.BarAndLineSplitByNoAggregation:
2875
2880
  case P.BarAndLineSplitBy:
2876
2881
  {
2877
- const re = Ii(n.query?.where, !1), ke = vd({
2882
+ const re = $i(n.query?.where, !1), ke = vd({
2878
2883
  value: Ve(i, re)
2879
2884
  });
2880
2885
  ee.push(
@@ -3003,7 +3008,7 @@ function Vp(t) {
3003
3008
  return (n, s, r) => {
3004
3009
  let l = "", d = n;
3005
3010
  const u = I(e.chart?.uid ?? 0, "rtl"), c = I(e.chart?.uid ?? 0, "config");
3006
- if ($a(c)) {
3011
+ if (wa(c)) {
3007
3012
  d !== null ? e.chart && (d = Et({
3008
3013
  root: e.chart.root,
3009
3014
  type: "number",
@@ -3011,7 +3016,7 @@ function Vp(t) {
3011
3016
  }).format(n)) : d = c.series[0].emptyCells?.text ?? A.heatChart.emptyCells?.text ?? "";
3012
3017
  const m = Nt(u ?? !1), g = i.query?.outStatistics?.[0].onStatisticField, h = I(e.chart?.uid ?? Number.NaN, "queryObject"), p = ut(h);
3013
3018
  let b = a.statistics.count;
3014
- g !== Ui(p).idField && (b = ur({
3019
+ g !== qi(p).idField && (b = ur({
3015
3020
  config: c,
3016
3021
  fieldName: Ve(o, i.query?.outStatistics?.[0].onStatisticField ?? ""),
3017
3022
  utilsStrings: a
@@ -3079,7 +3084,7 @@ function Jc(t, e) {
3079
3084
  tooltipPosition: "pointer"
3080
3085
  }), t.columns.template.adapters.remove(a), t.columns.template.adapters.add(
3081
3086
  a,
3082
- (o, n) => Va({ element: n, series: t, isHTML: e !== void 0 })
3087
+ (o, n) => Wa({ element: n, series: t, isHTML: e !== void 0 })
3083
3088
  );
3084
3089
  }
3085
3090
  function Ep(t) {
@@ -3088,11 +3093,6 @@ function Ep(t) {
3088
3093
  heatChartTooltipFormatter: n?.tooltipFormatter ?? Vp({ columnSeries: e, seriesConfig: i, utilsStrings: a, fieldList: o })
3089
3094
  });
3090
3095
  }
3091
- const bi = {
3092
- nameField: "name",
3093
- fillField: "fill",
3094
- strokeField: "stroke"
3095
- };
3096
3096
  function Hp(t) {
3097
3097
  const { root: e, xAxis: i, yAxis: a, options: o, chartConfig: n } = t, s = Me.new(e, {
3098
3098
  calculateAggregates: !0,
@@ -3112,7 +3112,7 @@ y: {${Ne.yField}}
3112
3112
  Value: {${Ne.valueField}}`,
3113
3113
  width: pe,
3114
3114
  height: pe
3115
- }), Jc(s, o?.tooltipFormatter), qa(s, n), ze(s.columns.template, o?.selectionTheme), Jt(s.columns.template, s), s;
3115
+ }), Jc(s, o?.tooltipFormatter), ja(s, n), ze(s.columns.template, o?.selectionTheme), Jt(s.columns.template, s), s;
3116
3116
  }
3117
3117
  function zp(t) {
3118
3118
  const { columnSeries: e, data: i, loaderHandle: a } = t;
@@ -3139,14 +3139,18 @@ function Gp(t) {
3139
3139
  width: 0
3140
3140
  }) : B = !0;
3141
3141
  }
3142
- (!Number.isFinite(k) || B) && r && (R = Fe(r), s?.color ? R.outline = s : R.outline = {
3142
+ if ((!Number.isFinite(k) || B) && r && (R = Fe(r), s?.color ? R.outline = s : R.outline = {
3143
3143
  type: U.SLS,
3144
3144
  color: [0, 0, 0, 0],
3145
3145
  width: 0
3146
- }), R ? ta({
3147
- element: v,
3148
- fillSymbol: R
3149
- }) : (typeof m == "number" && k < m ? { color: D, opacity: O } = C : typeof g == "number" && k > g ? { color: D, opacity: O } = x : F === T ? (D = h, O = p) : (D = Lg.interpolate((k - F) / (T - F), h, b, "rgb"), O = p + (k - F) / (T - F) * (y - p)), D && v.set("fill", D), O !== void 0 && v.set("fillOpacity", O));
3146
+ }), R) {
3147
+ const N = ta({
3148
+ element: v,
3149
+ fillSymbol: R
3150
+ });
3151
+ Aa(v, N);
3152
+ } else
3153
+ typeof m == "number" && k < m ? { color: D, opacity: O } = C : typeof g == "number" && k > g ? { color: D, opacity: O } = x : F === T ? (D = h, O = p) : (D = Lg.interpolate((k - F) / (T - F), h, b, "rgb"), O = p + (k - F) / (T - F) * (y - p)), D && v.set("fill", D), O !== void 0 && v.set("fillOpacity", O);
3150
3154
  }
3151
3155
  }
3152
3156
  }
@@ -3173,7 +3177,7 @@ function Yp(t) {
3173
3177
  queryObject: c,
3174
3178
  chartConfig: m
3175
3179
  } = t, g = o === !0 || n === !0 || s || r === !0;
3176
- e.set("id", l.id), ze(e.columns.template, u?.selectionTheme), Zi(e.columns.template, i?.dataItems?.length), Ep(t), Xp(e, l.gridLine), Gp({
3180
+ e.set("id", l.id), ze(e.columns.template, u?.selectionTheme), Ki(e.columns.template, i?.dataItems?.length), Ep(t), Xp(e, l.gridLine), Gp({
3177
3181
  columnSeries: e,
3178
3182
  seriesConfig: l
3179
3183
  }), g && zp({
@@ -3238,9 +3242,9 @@ function eu(t) {
3238
3242
  });
3239
3243
  }
3240
3244
  x && (p = {
3241
- [bi.nameField]: b,
3242
- [bi.fillField]: y,
3243
- [bi.strokeField]: C ?? y
3245
+ [yi.nameField]: b,
3246
+ [yi.fillField]: y,
3247
+ [yi.strokeField]: C ?? y
3244
3248
  });
3245
3249
  } else y && (p = {
3246
3250
  label: b,
@@ -3361,11 +3365,11 @@ function nu(t) {
3361
3365
  paddingBottom: s.legendPadding + p
3362
3366
  });
3363
3367
  const b = ue({ childId: Dn, parent: e });
3364
- b instanceof pi && b.set("paddingBottom", s.chartPadding + p), l = e.bottomAxesContainer;
3368
+ b instanceof bi && b.set("paddingBottom", s.chartPadding + p), l = e.bottomAxesContainer;
3365
3369
  }
3366
3370
  break;
3367
3371
  }
3368
- i.markDirty(), su(e, { chartPaddingTop: u, chartPaddingBottom: d }), Gi(() => {
3372
+ i.markDirty(), su(e, { chartPaddingTop: u, chartPaddingBottom: d }), Xi(() => {
3369
3373
  l && (c ? l.children.unshift(a) : l.children.push(a), e.markDirty(), i.markDirty(), l.markDirty());
3370
3374
  });
3371
3375
  }
@@ -3381,7 +3385,7 @@ function su(t, e) {
3381
3385
  function ru(t) {
3382
3386
  const { series: e, legend: i, chart: a } = t, o = I(a.uid, "config"), n = (s) => {
3383
3387
  const r = s.getPrivate("valueLow"), l = s.getPrivate("valueHigh");
3384
- 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))), Gi(() => {
3388
+ 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))), Xi(() => {
3385
3389
  lu({ legend: i, series: s, chartConfig: o });
3386
3390
  });
3387
3391
  };
@@ -3512,13 +3516,13 @@ function pr(t) {
3512
3516
  ), su(t, {}), Zp(t);
3513
3517
  }
3514
3518
  function br(t, e) {
3515
- const i = Ba({
3519
+ const i = Na({
3516
3520
  root: e.root,
3517
3521
  parent: e,
3518
3522
  index: 0,
3519
3523
  id: tt(Gt, e.uid)
3520
3524
  });
3521
- return i.set("paddingTop", A.heatChart.legend.titlePadding), Na({
3525
+ return i.set("paddingTop", A.heatChart.legend.titlePadding), Pa({
3522
3526
  chart: t,
3523
3527
  label: i,
3524
3528
  labelType: K.LegendTitle
@@ -3560,7 +3564,7 @@ function ys(t) {
3560
3564
  function _p(t, e) {
3561
3565
  const { root: i } = t, a = I(t.uid, "config"), o = a?.legend, n = t.series.values[0];
3562
3566
  pr(t);
3563
- const s = ou(t, a ?? e), r = pi.new(i, {
3567
+ const s = ou(t, a ?? e), r = bi.new(i, {
3564
3568
  id: tt(ht, t.uid),
3565
3569
  layout: i.verticalLayout
3566
3570
  });
@@ -3595,7 +3599,7 @@ function du(t) {
3595
3599
  }
3596
3600
  function Zp(t) {
3597
3601
  const e = ue({ childId: wn, parent: t });
3598
- e instanceof pi && e.set("marginTop", 0);
3602
+ e instanceof bi && e.set("marginTop", 0);
3599
3603
  }
3600
3604
  function Kp(t) {
3601
3605
  let e;
@@ -3625,8 +3629,8 @@ function Kp(t) {
3625
3629
  function Qp(t) {
3626
3630
  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];
3627
3631
  if (a || o)
3628
- pr(e), s && r instanceof Me && Gi(() => {
3629
- const l = ou(e), d = pi.new(e.root, {
3632
+ pr(e), s && r instanceof Me && Xi(() => {
3633
+ const l = ou(e), d = bi.new(e.root, {
3630
3634
  id: tt(ht, e.uid),
3631
3635
  layout: e.root.verticalLayout
3632
3636
  });
@@ -3645,7 +3649,7 @@ function Qp(t) {
3645
3649
  legend: l,
3646
3650
  chart: e,
3647
3651
  legendContainer: d
3648
- }), Gi(() => {
3652
+ }), Xi(() => {
3649
3653
  lu({ legend: l, series: r, chartConfig: i });
3650
3654
  });
3651
3655
  }
@@ -3782,7 +3786,7 @@ function ob(t, e) {
3782
3786
  return Math.ceil(i) + A.legendPadding;
3783
3787
  }
3784
3788
  function fu(t, e) {
3785
- Gi(() => {
3789
+ Xi(() => {
3786
3790
  const i = eb(t), a = e === G.Right || e === G.Left || !i;
3787
3791
  ab(
3788
3792
  t,
@@ -3796,7 +3800,7 @@ function nb(t) {
3796
3800
  forceHidden: s === !1,
3797
3801
  direction: r ? "rtl" : "ltr",
3798
3802
  oversizedBehavior: o?.labelMaxWidth !== void 0 && !Number.isNaN(o.labelMaxWidth) ? "wrap" : "none"
3799
- }), Gi(() => {
3803
+ }), Xi(() => {
3800
3804
  const l = uu(e, o?.labelMaxWidth), d = ob(e, l);
3801
3805
  e.itemContainers.template.setAll({
3802
3806
  width: d,
@@ -3819,7 +3823,7 @@ function gu(t) {
3819
3823
  t.on("visible", (i, a) => {
3820
3824
  if (a) {
3821
3825
  const { chart: o } = a;
3822
- if (o instanceof Da) {
3826
+ if (o instanceof Oa) {
3823
3827
  const n = ue({ childId: ht, parent: o });
3824
3828
  n !== void 0 && n.dataItems?.forEach((s) => {
3825
3829
  s.get("id") === e && n.set("opacity", i ? 1 : A.legendProperties.legendLabelReducedOpacity);
@@ -3834,7 +3838,7 @@ function sb(t) {
3834
3838
  const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
3835
3839
  if (a instanceof yn) {
3836
3840
  const n = { visible: !a.get("visible") };
3837
- Ri(a) || Ao(a) ? n.overlayType = de(a.uid, "type") : n.seriesId = a.get("id"), Ad(n, a.root.dom);
3841
+ Bi(a) || Ao(a) ? n.overlayType = de(a.uid, "type") : n.seriesId = a.get("id"), Ad(n, a.root.dom);
3838
3842
  }
3839
3843
  }
3840
3844
  }
@@ -3898,7 +3902,7 @@ function db(t) {
3898
3902
  if (o !== !1) {
3899
3903
  const c = a.series.find((m) => m.id === d.get("id"));
3900
3904
  if (c !== void 0 && "y" in c && typeof c.y == "string") {
3901
- const { x: m, y: g } = c, h = l === P.BarAndLineSplitByNoAggregation ? `${g}_${ki({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : g;
3905
+ const { x: m, y: g } = c, h = l === P.BarAndLineSplitByNoAggregation ? `${g}_${Ii({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : g;
3902
3906
  u = d.data.values.some(
3903
3907
  (b) => Ms({ dataItem: b, x: m, y: h })
3904
3908
  );
@@ -3940,10 +3944,10 @@ function Il(t) {
3940
3944
  e = Math.max(a, e);
3941
3945
  }), Math.ceil(e);
3942
3946
  }
3943
- function to(t, e) {
3947
+ function io(t, e) {
3944
3948
  const { root: i } = t, a = ue({ childId: ht, parent: t });
3945
3949
  if (a !== void 0) {
3946
- const o = I(t.uid, "config"), n = I(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, d = o?.legend ? o.legend.visible ?? !0 : !1, u = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, c = ue({ childId: wn, parent: t }), m = c instanceof pi && s ? c.height() : 0, g = ue({ childId: hr, parent: t }), h = g instanceof pi && r ? g.height() : 0, p = ue({ childId: Dn, parent: t }), b = p instanceof pi && l ? p.height() : 0, y = ue({ childId: Gt, parent: a }), C = y instanceof wt && d && u ? y?.height() : 0, x = o?.legend?.position ?? A.legendProperties.position;
3950
+ const o = I(t.uid, "config"), n = I(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, d = o?.legend ? o.legend.visible ?? !0 : !1, u = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, c = ue({ childId: wn, parent: t }), m = c instanceof bi && s ? c.height() : 0, g = ue({ childId: hr, parent: t }), h = g instanceof bi && r ? g.height() : 0, p = ue({ childId: Dn, parent: t }), b = p instanceof bi && l ? p.height() : 0, y = ue({ childId: Gt, parent: a }), C = y instanceof wt && d && u ? y?.height() : 0, x = o?.legend?.position ?? A.legendProperties.position;
3947
3951
  let v;
3948
3952
  const F = e.get("verticalScrollbar");
3949
3953
  let T = $e, k = $e, $ = i.verticalLayout, D = $e, O = $e, R = $e, B = $e, N = 0, V;
@@ -3986,24 +3990,24 @@ function cb(t) {
3986
3990
  const { chart: e, legend: i, legendContainer: a } = t, o = ue({ childId: Gt, parent: a });
3987
3991
  o && o.on("visible", () => {
3988
3992
  i.root.events.once(ae.FrameEnded, () => {
3989
- to(e, i);
3993
+ io(e, i);
3990
3994
  });
3991
3995
  }), a.events.on(ae.BoundsChanged, () => {
3992
- to(e, i);
3996
+ io(e, i);
3993
3997
  }), i.events.on(ae.BoundsChanged, () => {
3994
- to(e, i);
3998
+ io(e, i);
3995
3999
  }), e.seriesContainer.onPrivate("height", () => {
3996
- to(e, i);
4000
+ io(e, i);
3997
4001
  });
3998
4002
  }
3999
4003
  function hu(t, e) {
4000
- const i = Ba({
4004
+ const i = Na({
4001
4005
  root: e.root,
4002
4006
  parent: e,
4003
4007
  index: 0,
4004
4008
  id: tt(Gt, e.uid)
4005
4009
  });
4006
- return i.set("paddingTop", 10), Na({
4010
+ return i.set("paddingTop", 10), Pa({
4007
4011
  chart: t,
4008
4012
  label: i,
4009
4013
  labelType: K.LegendTitle
@@ -4171,13 +4175,13 @@ function $l(t, e) {
4171
4175
  if (mu(e?.series))
4172
4176
  a = _p(t, e);
4173
4177
  else {
4174
- const o = pi.new(i, {
4178
+ const o = bi.new(i, {
4175
4179
  id: tt(ht, t.uid),
4176
4180
  layout: i.verticalLayout
4177
4181
  }), n = e?.series?.[0].type === S.HeatSeries ? {
4178
- nameField: bi.nameField,
4179
- fillField: bi.fillField,
4180
- strokeField: bi.strokeField
4182
+ nameField: yi.nameField,
4183
+ fillField: yi.fillField,
4184
+ strokeField: yi.strokeField
4181
4185
  } : {};
4182
4186
  a = Zs.new(i, { ...n, verticalScrollbar: fs.new(i, { orientation: "vertical" }) }), t instanceof Zt ? tb(a) : a.valueLabels.template.setAll({ forceHidden: !0, textAlign: "left" }), ub(t, a), hu(t, o), rb(a), lb(a, t), cb({ chart: t, legend: a, legendContainer: o }), fb(a, t), mb(a, t, E(e?.series)), xb({ legend: a, chart: t, seriesConfig: e?.series }), o.children.push(a), t.children.push(o);
4183
4187
  }
@@ -4191,9 +4195,9 @@ function vb(t) {
4191
4195
  if (o) {
4192
4196
  const s = e?.series[0].emptyCells, r = s?.symbol?.color ?? A.heatChart.emptyCells?.symbol?.color, l = s?.symbol?.outline ?? A.heatChart.emptyCells?.symbol?.outline;
4193
4197
  n = {
4194
- [bi.nameField]: s?.text ?? A.heatChart.emptyCells?.text ?? "",
4195
- [bi.fillField]: J(r).color,
4196
- [bi.strokeField]: J(l?.color)
4198
+ [yi.nameField]: s?.text ?? A.heatChart.emptyCells?.text ?? "",
4199
+ [yi.fillField]: J(r).color,
4200
+ [yi.strokeField]: J(l?.color)
4197
4201
  };
4198
4202
  }
4199
4203
  return n;
@@ -4240,7 +4244,7 @@ function bu(t) {
4240
4244
  chartType: E(c),
4241
4245
  seriesConfig: s,
4242
4246
  chart: e
4243
- }), pu(a, e, E(c)), db({ chart: e, legend: a, chartConfig: i, hideEmptySeries: n, queryObject: r }), bb(e, u), to(e, a);
4247
+ }), pu(a, e, E(c)), db({ chart: e, legend: a, chartConfig: i, hideEmptySeries: n, queryObject: r }), bb(e, u), io(e, a);
4244
4248
  const h = I(e.uid, "options");
4245
4249
  Cb(a, h?.disableTogglingLegendItems), e instanceof Zt && nb({ legend: a, chart: e, seriesConfig: s, legendConfig: u });
4246
4250
  }
@@ -4272,14 +4276,14 @@ function Lb(t) {
4272
4276
  calculateAggregates: !1
4273
4277
  });
4274
4278
  }
4275
- function Ri(t) {
4279
+ function Bi(t) {
4276
4280
  return t.get("id") === A.overlayId.scatterplotTrendLine;
4277
4281
  }
4278
4282
  function Fb(t) {
4279
- return t.series.values.find((e) => !Ri(e));
4283
+ return t.series.values.find((e) => !Bi(e));
4280
4284
  }
4281
4285
  function yu(t) {
4282
- return t.series.values.find((e) => Ri(e));
4286
+ return t.series.values.find((e) => Bi(e));
4283
4287
  }
4284
4288
  function Ab(t) {
4285
4289
  const { root: e, xAxis: i, yAxis: a, seriesConfig: o } = t, { x: n, y: s } = o, r = Ce.new(e, {
@@ -4305,7 +4309,7 @@ function Tb(t, e) {
4305
4309
  },
4306
4310
  i
4307
4311
  );
4308
- return Jt(o, t), Fu(o, t), Oi.new(a, {
4312
+ return Jt(o, t), Fu(o, t), Ri.new(a, {
4309
4313
  sprite: o
4310
4314
  });
4311
4315
  });
@@ -4324,7 +4328,7 @@ function kb(t) {
4324
4328
  maskBullets: !1,
4325
4329
  layer: A.zIndexes.bulletMarkers
4326
4330
  });
4327
- c.strokes.template.set("forceHidden", !0), Tb(c, s), qa(c, i), u.push(c);
4331
+ c.strokes.template.set("forceHidden", !0), Tb(c, s), ja(c, i), u.push(c);
4328
4332
  const m = Ab({
4329
4333
  root: e,
4330
4334
  xAxis: o,
@@ -4352,7 +4356,7 @@ function Ib(t) {
4352
4356
  valueXField: b,
4353
4357
  valueYField: y
4354
4358
  }), i.data.setAll(a.trendLinePoints ?? A.scatterplotSeries.trendLinePoints);
4355
- const C = Number.isFinite(a.r2) ? Pa({
4359
+ const C = Number.isFinite(a.r2) ? Ma({
4356
4360
  root: e,
4357
4361
  value: a.r2 ?? h.r2,
4358
4362
  valueFormat: s,
@@ -4369,7 +4373,7 @@ function Ib(t) {
4369
4373
  function $b(t) {
4370
4374
  const { root: e, chartConfig: i, markerSeries: a } = t, o = a.chart;
4371
4375
  if (o) {
4372
- const n = i.series[0], s = $i(i);
4376
+ const n = i.series[0], s = wi(i);
4373
4377
  let r, l;
4374
4378
  const d = Td(), u = /* @__PURE__ */ new Set();
4375
4379
  a.dataItems.forEach((m) => {
@@ -4387,7 +4391,7 @@ function $b(t) {
4387
4391
  rendererSymbol: h,
4388
4392
  colorMatch: s
4389
4393
  });
4390
- r = p.symbolWithColorInfo, l = p.stylingInfo, no(g, l), u.add(JSON.stringify(l));
4394
+ r = p.symbolWithColorInfo, l = p.stylingInfo, Aa(g, l), u.add(JSON.stringify(l));
4391
4395
  }
4392
4396
  }), r = u.size > 1 ? void 0 : r;
4393
4397
  const c = /* @__PURE__ */ new Map();
@@ -4395,7 +4399,7 @@ function $b(t) {
4395
4399
  data: c,
4396
4400
  htmlContainer: e.dom,
4397
4401
  chartId: a.chart?.get("id"),
4398
- colorMatchApplied: ja(o)
4402
+ colorMatchApplied: _a(o)
4399
4403
  });
4400
4404
  }
4401
4405
  }
@@ -4444,7 +4448,7 @@ function Db(t) {
4444
4448
  seriesWereReinitialized: u,
4445
4449
  valueFormat: kd(),
4446
4450
  defaultR2Value: g.notAvailable
4447
- }), Lb({ seriesConfig: a, series: s, sizePolicyChanged: c }), Bi(t) && Ni({
4451
+ }), Lb({ seriesConfig: a, series: s, sizePolicyChanged: c }), Ni(t) && Pi({
4448
4452
  // TODO: Remove the type assertion and correct the typings
4449
4453
  styleCallback: $b,
4450
4454
  callbackProps: { root: e, chartConfig: i, markerSeries: s, dataWasUpdated: d },
@@ -4501,7 +4505,7 @@ function ma(t) {
4501
4505
  computedSelectionDataItems: void 0,
4502
4506
  computedSelectionIndexes: void 0,
4503
4507
  pendingSelectionQueries: !1
4504
- }), fr(e) && Ob(e), a && Ea({
4508
+ }), fr(e) && Ob(e), a && Ha({
4505
4509
  data: {
4506
4510
  selectionSource: i ?? Pe.ClearSelection
4507
4511
  },
@@ -4632,7 +4636,7 @@ function Vb(t) {
4632
4636
  if (o && n) {
4633
4637
  const s = I(t.uid, "config"), r = E(s?.series), l = t.get("cursor"), d = Mb({ cursor: l, xAxis: o, yAxis: n }), u = Pc(i);
4634
4638
  t.series.each((c) => {
4635
- !Ri(c) && !Ao(c) && (c instanceof Me ? Bb({ series: c, cursorBounds: d, multiSelect: u }) : c instanceof Ce && (r === S.RadarSeries ? Pb({ xAxis: o, series: c, cursorBounds: d, multiSelect: u }) : Nb({ series: c, cursorBounds: d, multiSelect: u })));
4639
+ !Bi(c) && !Ao(c) && (c instanceof Me ? Bb({ series: c, cursorBounds: d, multiSelect: u }) : c instanceof Ce && (r === S.RadarSeries ? Pb({ xAxis: o, series: c, cursorBounds: d, multiSelect: u }) : Nb({ series: c, cursorBounds: d, multiSelect: u })));
4636
4640
  }), Oe(l.selection, !1), await yr(t, Pe.SelectionByRange);
4637
4641
  }
4638
4642
  }
@@ -4641,7 +4645,7 @@ function Vb(t) {
4641
4645
  function Wb(t) {
4642
4646
  const { series: e, labelDefaults: i, externalDataLabelFormatter: a, seriesType: o } = t;
4643
4647
  e.bullets.push(() => {
4644
- const s = I(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, r = Oi.new(e.root, {
4648
+ const s = I(e.chart?.uid ?? Number.NaN, "config")?.series?.[0]?.dataLabels ?? t.dataLabelsConfig, r = Ri.new(e.root, {
4645
4649
  locationY: 1,
4646
4650
  sprite: wt.new(e.root, {
4647
4651
  populateText: !0,
@@ -4759,7 +4763,7 @@ function Gb(t) {
4759
4763
  data: u,
4760
4764
  htmlContainer: n.dom,
4761
4765
  chartId: s.get("id"),
4762
- colorMatchApplied: ja(s)
4766
+ colorMatchApplied: _a(s)
4763
4767
  });
4764
4768
  }
4765
4769
  }
@@ -4779,7 +4783,7 @@ function Po(t) {
4779
4783
  yAxis: a,
4780
4784
  visible: !1
4781
4785
  });
4782
- return o === we.Normal && Ua(s, n.overlays.normal), He(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s.appear(), s;
4786
+ return o === we.Normal && qa(s, n.overlays.normal), He(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s.appear(), s;
4783
4787
  }
4784
4788
  function Yb(t) {
4785
4789
  const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s } = t, { id: r, name: l } = i, d = Me.new(e, {
@@ -4800,7 +4804,7 @@ function Yb(t) {
4800
4804
  seriesType: S.HistogramSeries,
4801
4805
  dataLabelsConfig: i.dataLabels,
4802
4806
  externalDataLabelFormatter: n?.dataLabelFormatter
4803
- }), qa(d, s), d.appear(), d;
4807
+ }), ja(d, s), d.appear(), d;
4804
4808
  }
4805
4809
  function Ub(t) {
4806
4810
  const { root: e, seriesConfig: i, xAxis: a, xAxisForOverlaySeries: o, yAxis: n, utilsStrings: s, options: r, chartConfig: l } = t, d = [], u = Yb({ root: e, seriesConfig: i, xAxis: a, yAxis: n, options: r, chartConfig: l });
@@ -4894,13 +4898,13 @@ function qb(t) {
4894
4898
  m = o.overlays.stdDev;
4895
4899
  break;
4896
4900
  }
4897
- const g = I(e.chart?.uid ?? Number.NaN, "formatLocale"), h = Pa({
4901
+ const g = I(e.chart?.uid ?? Number.NaN, "formatLocale"), h = Ma({
4898
4902
  root: e.root,
4899
4903
  value: c,
4900
4904
  valueFormat: kd(),
4901
4905
  formatLocale: g
4902
4906
  }), p = `${m}: ${h}`;
4903
- Ua(e, p);
4907
+ qa(e, p);
4904
4908
  }
4905
4909
  }
4906
4910
  }
@@ -4950,7 +4954,7 @@ async function _b(t) {
4950
4954
  loaderHandle: d,
4951
4955
  options: u
4952
4956
  } = t;
4953
- e.set("id", a.id), Oe(e, a.visible), ze(e.columns.template, u?.selectionTheme), Zi(e.columns.template, l?.bins?.length), Ua(e, a.name);
4957
+ e.set("id", a.id), Oe(e, a.visible), ze(e.columns.template, u?.selectionTheme), Ki(e.columns.template, l?.bins?.length), qa(e, a.name);
4954
4958
  const c = ut(s), m = Rm({
4955
4959
  chartRenderer: r,
4956
4960
  queryObject: s
@@ -4968,7 +4972,7 @@ async function _b(t) {
4968
4972
  });
4969
4973
  p = b.rendererSymbol, ie(e.chart?.uid ?? Number.NaN, { colorMatchApplied: b.colorMatchApplied });
4970
4974
  }
4971
- Bi(t) && Ni({
4975
+ Ni(t) && Pi({
4972
4976
  // TODO: Remove the type assertion and correct the typings
4973
4977
  styleCallback: Gb,
4974
4978
  callbackProps: { ...t, rendererSymbol: p },
@@ -5061,7 +5065,7 @@ function Jb(t) {
5061
5065
  function ey(t) {
5062
5066
  const { chart: e, chartType: i, showMean: a } = t;
5063
5067
  return e.series.values.filter(
5064
- (n) => !Ri(n) && !Ao(n) && (i !== S.BoxPlotSeries || !a || a && de(n.uid, "isBoxPlotMeanLineSeries"))
5068
+ (n) => !Bi(n) && !Ao(n) && (i !== S.BoxPlotSeries || !a || a && de(n.uid, "isBoxPlotMeanLineSeries"))
5065
5069
  ).every((n) => de(n.uid, "isSelectionApplied") === !0);
5066
5070
  }
5067
5071
  function ty(t) {
@@ -5069,7 +5073,7 @@ function ty(t) {
5069
5073
  }
5070
5074
  function iy(t) {
5071
5075
  let e = [];
5072
- if (!Ri(t) && !Ao(t))
5076
+ if (!Bi(t) && !Ao(t))
5073
5077
  switch (!0) {
5074
5078
  case t instanceof bt:
5075
5079
  e = t.slices.values;
@@ -5081,7 +5085,7 @@ function iy(t) {
5081
5085
  if (a) {
5082
5086
  const o = E(a?.series);
5083
5087
  let n = [];
5084
- o === S.HistogramSeries ? n = [ro.Count] : o === S.HeatSeries ? n = [Ne.valueField] : n = wi(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
5088
+ o === S.HistogramSeries ? n = [ro.Count] : o === S.HeatSeries ? n = [Ne.valueField] : n = Di(a?.series, [t.get("id") ?? ""]), e = t.columns.values.filter((s) => {
5085
5089
  let r = !1;
5086
5090
  const l = s.dataItem?.dataContext;
5087
5091
  return l && (r = o === S.HeatSeries || n.some((d) => d in l && Number.isFinite(l[d]))), r;
@@ -5102,7 +5106,7 @@ function vu(t, e) {
5102
5106
  });
5103
5107
  }
5104
5108
  function ay(t, e) {
5105
- const i = [], a = [], o = I(t.uid, "config"), n = I(t.uid, "queryObject"), s = mi(o), r = wi(o?.series ?? []), l = Y(o?.series), d = E(o?.series);
5109
+ const i = [], a = [], o = I(t.uid, "config"), n = I(t.uid, "queryObject"), s = mi(o), r = Di(o?.series ?? []), l = Y(o?.series), d = E(o?.series);
5106
5110
  return t.series.each((u, c) => {
5107
5111
  if (o && u.get("visible") === !0 && u.get("id") !== A.overlayId.scatterplotTrendLine) {
5108
5112
  const m = o.series[0].x, g = To(u), h = e.get(c);
@@ -5112,7 +5116,7 @@ function ay(t, e) {
5112
5116
  const { indexesToSelect: b } = h;
5113
5117
  p.forEach((y, C) => {
5114
5118
  if (b === void 0 || b.includes(C)) {
5115
- const x = Li({
5119
+ const x = Fi({
5116
5120
  dataContext: y.dataItem?.dataContext,
5117
5121
  yList: r,
5118
5122
  yAxisField: g,
@@ -5120,7 +5124,7 @@ function ay(t, e) {
5120
5124
  chartType: d,
5121
5125
  chartSubType: l,
5122
5126
  showOutliers: s,
5123
- isFeatureCollectionLayer: Si(n)
5127
+ isFeatureCollectionLayer: Ci(n)
5124
5128
  });
5125
5129
  x !== void 0 && i.push(x), a.push(y);
5126
5130
  } else
@@ -5142,12 +5146,12 @@ function oy(t) {
5142
5146
  xAxisField: r,
5143
5147
  yAxisField: l,
5144
5148
  splitBy: d
5145
- } = t, u = E(i.series), c = Y(i.series), m = mi(i), g = I(e.uid, "queryObject"), h = [], p = [], b = [], y = wi(i.series);
5149
+ } = t, u = E(i.series), c = Y(i.series), m = mi(i), g = I(e.uid, "queryObject"), h = [], p = [], b = [], y = Di(i.series);
5146
5150
  return o.forEach((C, x) => {
5147
- const v = C instanceof uo || C instanceof Oa ? C : C.bullets?.[0]?.get("sprite");
5151
+ const v = C instanceof uo || C instanceof Ra ? C : C.bullets?.[0]?.get("sprite");
5148
5152
  if (v !== void 0) {
5149
- let F = C instanceof uo || C instanceof Oa ? v.dataItem?.dataContext : C.dataContext;
5150
- if (F !== void 0 && u === S.BoxPlotSeries && F[A.boxPlot.boxPlotOutlierId] !== !0 && (F = Li({
5153
+ let F = C instanceof uo || C instanceof Ra ? v.dataItem?.dataContext : C.dataContext;
5154
+ if (F !== void 0 && u === S.BoxPlotSeries && F[A.boxPlot.boxPlotOutlierId] !== !0 && (F = Fi({
5151
5155
  dataContext: F,
5152
5156
  yAxisField: l,
5153
5157
  yList: y,
@@ -5156,7 +5160,7 @@ function oy(t) {
5156
5160
  chartType: u,
5157
5161
  chartSubType: c,
5158
5162
  showOutliers: m,
5159
- isFeatureCollectionLayer: Si(g)
5163
+ isFeatureCollectionLayer: Ci(g)
5160
5164
  })), kn({
5161
5165
  elementDataContext: F,
5162
5166
  options: a,
@@ -5169,11 +5173,11 @@ function oy(t) {
5169
5173
  chartSubType: c,
5170
5174
  showOutliers: m
5171
5175
  }))
5172
- if (h.push(v), p.push(x), v?.dataItem instanceof Ga && F !== void 0)
5176
+ if (h.push(v), p.push(x), v?.dataItem instanceof Xa && F !== void 0)
5173
5177
  b.push(F);
5174
5178
  else {
5175
5179
  const k = /* @__PURE__ */ new Set();
5176
- u === S.PieSeries && Ai(F) ? (Lo({
5180
+ u === S.PieSeries && Ti(F) ? (Lo({
5177
5181
  groupOfSlicesDataContext: F
5178
5182
  }) ?? []).forEach((D) => {
5179
5183
  n.forEach((O) => {
@@ -5185,7 +5189,7 @@ function oy(t) {
5185
5189
  }) && k.add(D);
5186
5190
  });
5187
5191
  }) : k.add(F), Array.from(k)?.forEach(($) => {
5188
- const D = Li({
5192
+ const D = Fi({
5189
5193
  dataContext: $,
5190
5194
  yAxisField: l,
5191
5195
  yList: y,
@@ -5194,7 +5198,7 @@ function oy(t) {
5194
5198
  chartType: u,
5195
5199
  chartSubType: c,
5196
5200
  showOutliers: m,
5197
- isFeatureCollectionLayer: Si(g)
5201
+ isFeatureCollectionLayer: Ci(g)
5198
5202
  });
5199
5203
  D !== void 0 && b.push(D);
5200
5204
  });
@@ -5217,13 +5221,13 @@ function ny(t) {
5217
5221
  splitBy: d,
5218
5222
  rotationChanged: u
5219
5223
  } = t, { chart: c } = e;
5220
- if (c instanceof Da) {
5224
+ if (c instanceof Oa) {
5221
5225
  const m = I(c.uid, "options"), { filterBySelection: g, selectionData: h, returnSelectionIndexes: p, returnSelectionOIDs: b } = m ?? {}, { selectionIndexes: y } = h ?? {}, C = I(c.uid, "config"), x = rt(C), v = E(C?.series), F = Y(C?.series), T = iy(e);
5222
5226
  if (g !== !0 && C !== void 0) {
5223
5227
  let k;
5224
5228
  if (a !== void 0) {
5225
5229
  const N = ut(a);
5226
- k = Ui(N).idField;
5230
+ k = qi(N).idField;
5227
5231
  }
5228
5232
  const $ = I(
5229
5233
  c.uid,
@@ -5245,7 +5249,7 @@ function ny(t) {
5245
5249
  y: l,
5246
5250
  outStatisticFieldName: C.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
5247
5251
  });
5248
- const V = y?.keys.length !== N?.keys.length || !ka(y, N);
5252
+ const V = y?.keys.length !== N?.keys.length || !Ia(y, N);
5249
5253
  D = n === !0 || o === !0 || s === !0 || u === !0 || R !== void 0 && B;
5250
5254
  let W = !0;
5251
5255
  if (y !== void 0 && y.size > 0) {
@@ -5270,7 +5274,7 @@ function ny(t) {
5270
5274
  if (W.push(...V), C.series.length > 1 && F !== P.BarAndLineNoAggregation && F !== P.BarAndLineSplitByNoAggregation && (W = Nd({
5271
5275
  data: W,
5272
5276
  x: C.series[0].x,
5273
- splitByField: Ii(C.series[0].query?.where)
5277
+ splitByField: $i(C.series[0].query?.where)
5274
5278
  })), ie(c.uid, { computedSelectionDataItems: W }), p === !0) {
5275
5279
  const H = Array.from(new Set(N));
5276
5280
  let X = I(
@@ -5297,7 +5301,7 @@ function ny(t) {
5297
5301
  });
5298
5302
  };
5299
5303
  T.forEach((V) => {
5300
- const W = V instanceof uo || V instanceof Oa ? V : V.bullets?.[0]?.get("sprite");
5304
+ const W = V instanceof uo || V instanceof Ra ? V : V.bullets?.[0]?.get("sprite");
5301
5305
  W !== void 0 && at({
5302
5306
  element: W,
5303
5307
  selected: gi(W.uid, "selected") === !0 || N(W),
@@ -5319,7 +5323,7 @@ function ny(t) {
5319
5323
  selectionItems: N,
5320
5324
  selectionSource: Pe.ProgrammaticSelection
5321
5325
  };
5322
- p === !0 && (W.selectionIndexes = V), b !== !1 && (W.selectionOIDs = h?.selectionOIDs ?? I(c.uid, "currentSelectionOIDs")), Ea({
5326
+ p === !0 && (W.selectionIndexes = V), b !== !1 && (W.selectionOIDs = h?.selectionOIDs ?? I(c.uid, "currentSelectionOIDs")), Ha({
5323
5327
  data: W,
5324
5328
  htmlContainer: c.root.dom
5325
5329
  });
@@ -5342,7 +5346,7 @@ async function sy(t) {
5342
5346
  options: i,
5343
5347
  errorStrings: r
5344
5348
  });
5345
- c !== void 0 && i !== void 0 && (i.selectionData = { ...i?.selectionData, selectionItems: c }), e.series.values.filter((m) => !Ri(m) && !Ao(m)).forEach((m) => {
5349
+ c !== void 0 && i !== void 0 && (i.selectionData = { ...i?.selectionData, selectionItems: c }), e.series.values.filter((m) => !Bi(m) && !Ao(m)).forEach((m) => {
5346
5350
  const { seriesConfig: g, seriesIndex: h } = Rn(m, n);
5347
5351
  if (g) {
5348
5352
  const p = g.x, b = g.type === S.BoxPlotSeries || g.type === S.HeatSeries ? g.y.toString() : To(m), y = g.query?.where ?? "";
@@ -5358,7 +5362,7 @@ async function sy(t) {
5358
5362
  async function yr(t, e) {
5359
5363
  const i = I(t.uid, "config"), a = I(t.uid, "queryObject");
5360
5364
  if (i) {
5361
- const o = I(t.uid, "options"), n = E(i.series), s = Y(i.series), r = mi(i), l = wi(i.series), d = i.series[0].x, u = wa(a), c = ut(a), g = Vs(c).dateFieldsTimeZone, h = $a(i) ? i.outTimeZone : void 0;
5365
+ const o = I(t.uid, "options"), n = E(i.series), s = Y(i.series), r = mi(i), l = Di(i.series), d = i.series[0].x, u = Da(a), c = ut(a), g = Vs(c).dateFieldsTimeZone, h = wa(i) ? i.outTimeZone : void 0;
5362
5366
  let p;
5363
5367
  a !== void 0 && (p = (await Tt(a)).find((y) => y.name === d)?.type);
5364
5368
  try {
@@ -5368,12 +5372,12 @@ async function yr(t, e) {
5368
5372
  const { seriesConfig: $ } = Rn(T, i), D = $?.query?.where ?? "", O = $?.type === S.BoxPlotSeries ? $.y.toString() : To(T);
5369
5373
  let R;
5370
5374
  T instanceof Ce ? R = T.dataItems : T instanceof Me ? R = T.columns.values : T instanceof bt && (R = T.slices.values), R?.forEach((B, N) => {
5371
- const V = B instanceof uo || B instanceof Oa ? B : B.bullets?.[0]?.get("sprite");
5375
+ const V = B instanceof uo || B instanceof Ra ? B : B.bullets?.[0]?.get("sprite");
5372
5376
  if (V !== void 0 && gi(V.uid, "selected") === !0) {
5373
5377
  F += 1;
5374
- let W = B instanceof uo || B instanceof Oa ? B.dataItem?.dataContext : B.dataContext;
5378
+ let W = B instanceof uo || B instanceof Ra ? B.dataItem?.dataContext : B.dataContext;
5375
5379
  if (W !== void 0) {
5376
- if (W = Li({
5380
+ if (W = Fi({
5377
5381
  dataContext: W,
5378
5382
  yAxisField: O,
5379
5383
  yList: l,
@@ -5382,14 +5386,14 @@ async function yr(t, e) {
5382
5386
  chartType: n,
5383
5387
  chartSubType: s,
5384
5388
  showOutliers: r,
5385
- isFeatureCollectionLayer: Si(a)
5389
+ isFeatureCollectionLayer: Ci(a)
5386
5390
  }), b.has(JSON.stringify(W)) || (b.add(JSON.stringify(W)), y.push(W)), N !== void 0) {
5387
5391
  const X = C.get(k)?.indexesToSelect ?? [];
5388
5392
  X.push(N), C.set(k, {
5389
5393
  indexesToSelect: Array.from(new Set(X))
5390
5394
  });
5391
5395
  }
5392
- const H = W[Ia.uniqueIdsName] !== void 0 ? [W[Ia.uniqueIdsName]].flat() : [];
5396
+ const H = W[$a.uniqueIdsName] !== void 0 ? [W[$a.uniqueIdsName]].flat() : [];
5393
5397
  if (H.length > 0)
5394
5398
  v.push(...H);
5395
5399
  else if (o?.returnSelectionOIDs !== !1) {
@@ -5436,14 +5440,14 @@ async function yr(t, e) {
5436
5440
  selectionItems: y,
5437
5441
  selectionSource: e
5438
5442
  };
5439
- o?.returnSelectionIndexes === !0 && (T.selectionIndexes = C), o?.returnSelectionOIDs !== !1 && (T.selectionOIDs = v), Ea({
5443
+ o?.returnSelectionIndexes === !0 && (T.selectionIndexes = C), o?.returnSelectionOIDs !== !1 && (T.selectionOIDs = v), Ha({
5440
5444
  data: T,
5441
5445
  htmlContainer: t.root.dom
5442
5446
  });
5443
5447
  }
5444
5448
  } catch (b) {
5445
5449
  ie(t.uid, { pendingSelectionQueries: !1 });
5446
- const { httpStatus: y } = b instanceof hi ? b.details.details : b.details ?? {};
5450
+ const { httpStatus: y } = b instanceof pi ? b.details.details : b.details ?? {};
5447
5451
  if (y === 429)
5448
5452
  Jb(t);
5449
5453
  else
@@ -5452,11 +5456,11 @@ async function yr(t, e) {
5452
5456
  ie(t.uid, { pendingSelectionQueries: !1 });
5453
5457
  }
5454
5458
  }
5455
- function Ya(t, e) {
5456
- const { y: i, query: a } = e, n = Y(t.series) === P.BarAndLineSplitByNoAggregation ? `${i.toString()}_${ki({ where: a?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [i].flat()[0], s = A.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", d = t.axes?.[0]?.valueFormat.type === S.CategoryAxisFormat ? r : l, u = t.rotated === !0 ? "valueXField" : "valueYField";
5459
+ function Ua(t, e) {
5460
+ const { y: i, query: a } = e, n = Y(t.series) === P.BarAndLineSplitByNoAggregation ? `${i.toString()}_${Ii({ where: a?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [i].flat()[0], s = A.xAxisField, r = t.rotated === !0 ? "categoryYField" : "categoryXField", l = t.rotated === !0 ? "valueYField" : "valueXField", d = t.axes?.[0]?.valueFormat.type === S.CategoryAxisFormat ? r : l, u = t.rotated === !0 ? "valueXField" : "valueYField";
5457
5461
  return { xField: s, yField: n, xAxisField: d, yAxisField: u };
5458
5462
  }
5459
- function Bi(t) {
5463
+ function Ni(t) {
5460
5464
  const {
5461
5465
  chartConfig: e,
5462
5466
  seriesWereReinitialized: i,
@@ -5528,7 +5532,7 @@ function ry(t) {
5528
5532
  seriesConfig: a
5529
5533
  });
5530
5534
  }
5531
- function Ni(t) {
5535
+ function Pi(t) {
5532
5536
  const { series: e, styleCallback: i, callbackProps: a, seriesConfig: o } = t;
5533
5537
  Lu({
5534
5538
  callbackInfo: { styleCallback: i, callbackProps: a, type: "style" },
@@ -5570,7 +5574,7 @@ function Sr(t) {
5570
5574
  }
5571
5575
  }
5572
5576
  }
5573
- function Ua(t, e) {
5577
+ function qa(t, e) {
5574
5578
  t.set("name", e);
5575
5579
  }
5576
5580
  function dy(t) {
@@ -5584,7 +5588,7 @@ function dy(t) {
5584
5588
  yAxis: d
5585
5589
  };
5586
5590
  }
5587
- function qa(t, e) {
5591
+ function ja(t, e) {
5588
5592
  const { series: i } = e, a = E(i);
5589
5593
  switch (!0) {
5590
5594
  case t instanceof Me:
@@ -5592,7 +5596,7 @@ function qa(t, e) {
5592
5596
  break;
5593
5597
  }
5594
5598
  }
5595
- function Zi(t, e) {
5599
+ function Ki(t, e) {
5596
5600
  t && t.set("focusable", (e ?? 0) < A.focusableThreshold);
5597
5601
  }
5598
5602
  function cy(t) {
@@ -5618,7 +5622,7 @@ function Cr(t) {
5618
5622
  const r = Y(e.series);
5619
5623
  let l = s.name;
5620
5624
  if (r === P.BarAndLineSplitBy || r === P.BarAndLineSplitByNoAggregation) {
5621
- const d = Ii(s.query?.where);
5625
+ const d = $i(s.query?.where);
5622
5626
  l = Ws({
5623
5627
  subtypeInfo: o,
5624
5628
  fieldList: n,
@@ -5626,7 +5630,7 @@ function Cr(t) {
5626
5630
  fieldValueToMatch: l
5627
5631
  }) ?? l;
5628
5632
  }
5629
- Ua(i, l);
5633
+ qa(i, l);
5630
5634
  }
5631
5635
  }
5632
5636
  function Rn(t, e) {
@@ -5653,7 +5657,7 @@ function Fu(t, e) {
5653
5657
  };
5654
5658
  t.on("x", i), t.on("y", i);
5655
5659
  }
5656
- function ja(t, e) {
5660
+ function _a(t, e) {
5657
5661
  let i = e;
5658
5662
  i === void 0 && (i = I(t.uid, "config"));
5659
5663
  const a = I(t.uid, "colorMatchApplied") ?? !1;
@@ -5685,7 +5689,7 @@ function my(t) {
5685
5689
  formatLocale: r,
5686
5690
  overridePercentMultiplication: a
5687
5691
  });
5688
- return Xa(e.uid, {
5692
+ return Ya(e.uid, {
5689
5693
  numberFormatter: l
5690
5694
  }), l;
5691
5695
  }
@@ -5730,7 +5734,7 @@ function hy(t) {
5730
5734
  return (s) => {
5731
5735
  let r = s ?? "";
5732
5736
  const l = I(e.uid, "formatLocale"), d = I(e.uid, "config");
5733
- if ($a(d)) {
5737
+ if (wa(d)) {
5734
5738
  const u = Rg(d.series[0], i);
5735
5739
  if (u && s !== void 0 && s !== "") {
5736
5740
  if (a.type === S.DateAxisFormat && a.intlOptions)
@@ -5776,7 +5780,7 @@ function hy(t) {
5776
5780
  };
5777
5781
  }
5778
5782
  function py(t, e) {
5779
- const i = { ...yi(e) }, a = [
5783
+ const i = { ...Si(e) }, a = [
5780
5784
  "year",
5781
5785
  "month",
5782
5786
  "day",
@@ -5811,7 +5815,7 @@ function Tu(t) {
5811
5815
  const d = n.series?.[0]?.nullCategory, u = cn(l, n.series?.[0]);
5812
5816
  o = o === null && d?.text !== void 0 ? d.text : e?.[u]?.toString() ?? "";
5813
5817
  } else
5814
- o = Ti({
5818
+ o = ki({
5815
5819
  value: i ?? "",
5816
5820
  dataContext: e,
5817
5821
  useRendererLabel: un(n, s),
@@ -5827,7 +5831,7 @@ function by(t, e) {
5827
5831
  const o = e !== void 0 ? "html" : "text";
5828
5832
  a.adapters.add(o, (n, s) => {
5829
5833
  let r = n;
5830
- const l = zi(t.uid, "labelFormatter");
5834
+ const l = Gi(t.uid, "labelFormatter");
5831
5835
  if (!xt(s.uid, "isGuide") && l !== void 0) {
5832
5836
  let u, c;
5833
5837
  switch (!0) {
@@ -5840,7 +5844,7 @@ function by(t, e) {
5840
5844
  let m = n;
5841
5845
  const g = s.dataItem?.dataContext, h = I(t.chart?.uid ?? Number.NaN, "config");
5842
5846
  if (E(h?.series) === S.HeatSeries) {
5843
- const C = Fi(t.get("renderer")) ? g?.[Ne.xField] : g?.[Ne.yField];
5847
+ const C = Ai(t.get("renderer")) ? g?.[Ne.xField] : g?.[Ne.yField];
5844
5848
  typeof C == "string" && (m = C);
5845
5849
  }
5846
5850
  const b = Tu({
@@ -5859,7 +5863,7 @@ function by(t, e) {
5859
5863
  let r = n;
5860
5864
  const l = I(i.uid, "config");
5861
5865
  if (!xt(s.uid, "isGuide") && l !== void 0) {
5862
- const u = ft(l), c = Fi(t.get("renderer"), u), m = l.axes?.[c ? 0 : 1], g = {
5866
+ const u = ft(l), c = Ai(t.get("renderer"), u), m = l.axes?.[c ? 0 : 1], g = {
5863
5867
  type: U.TS,
5864
5868
  ...m?.labels.content,
5865
5869
  text: n
@@ -5916,7 +5920,7 @@ function Sy(t) {
5916
5920
  intlOptions: o.intlOptions,
5917
5921
  overridePercentMultiplication: s,
5918
5922
  valueAxisFormatter: r
5919
- }) : m && py(e, o)), Xa(e.uid, { labelFormatter: p });
5923
+ }) : m && py(e, o)), Ya(e.uid, { labelFormatter: p });
5920
5924
  }
5921
5925
  }
5922
5926
  }
@@ -5934,14 +5938,14 @@ function Cy(t) {
5934
5938
  }), b = h === void 0 || o || m !== void 0 && Rl({ axis: h, valueFormat: m, chartType: r });
5935
5939
  return s || n?.[0] || n?.[1] || p || b;
5936
5940
  }
5937
- function Fi(t, e) {
5938
- return t instanceof Dt && !e || t instanceof Hi && e || t instanceof Qt;
5941
+ function Ai(t, e) {
5942
+ return t instanceof Dt && !e || t instanceof zi && e || t instanceof Qt;
5939
5943
  }
5940
5944
  function Bn(t) {
5941
5945
  return t instanceof Dt;
5942
5946
  }
5943
5947
  function xy(t) {
5944
- return t instanceof Hi;
5948
+ return t instanceof zi;
5945
5949
  }
5946
5950
  function vy(t) {
5947
5951
  let e = !1;
@@ -5964,12 +5968,12 @@ function ku(t) {
5964
5968
  if (o !== void 0) {
5965
5969
  const s = I(o.uid, "config"), r = I(o.uid, "isRotated");
5966
5970
  if (s !== void 0) {
5967
- const l = Fi(e.get("renderer"), r);
5971
+ const l = Ai(e.get("renderer"), r);
5968
5972
  let d = 0;
5969
5973
  l || (d = i === !0 ? 2 : 1);
5970
5974
  const { isLogarithmic: u } = s.axes?.[d] ?? {};
5971
5975
  if (u === !0) {
5972
- const c = Co({ chartConfig: s, isSecondValueAxis: i }), m = a !== void 0 && "dataItems" in a ? Di(a) : void 0, { minY: g, maxY: h, minX: p, maxX: b } = mn({
5976
+ const c = Co({ chartConfig: s, isSecondValueAxis: i }), m = a !== void 0 && "dataItems" in a ? Oi(a) : void 0, { minY: g, maxY: h, minX: p, maxX: b } = mn({
5973
5977
  chartConfig: s,
5974
5978
  chartData: m ?? o.series.getIndex(0)?.data.values ?? [],
5975
5979
  filteredSeriesIds: c
@@ -5998,10 +6002,10 @@ function Fy(t, e) {
5998
6002
  }
5999
6003
  }
6000
6004
  function Iu(t, e) {
6001
- const { chart: i } = e, a = ji.new(t, { forceHidden: !0 });
6005
+ const { chart: i } = e, a = _i.new(t, { forceHidden: !0 });
6002
6006
  return e.set("tooltip", a), a.adapters.add("labelText", (o, n) => {
6003
6007
  let s = o ?? "";
6004
- const r = zi(e.uid, "labelFormatter");
6008
+ const r = Gi(e.uid, "labelFormatter");
6005
6009
  if (!n.isHidden() && r && i) {
6006
6010
  const { label: l } = n, d = l.get("text") ?? "";
6007
6011
  if (e instanceof ve) {
@@ -6075,11 +6079,11 @@ function $y(t) {
6075
6079
  if (d !== void 0) {
6076
6080
  const u = I(d.uid, "config"), c = ft(u);
6077
6081
  if (d instanceof be && u !== void 0) {
6078
- const m = E(u?.series), g = Kt(u), h = vy(d), p = Fi(e.get("renderer"), c);
6082
+ const m = E(u?.series), g = Kt(u), h = vy(d), p = Ai(e.get("renderer"), c);
6079
6083
  if ((m === S.BarSeries || m === S.LineSeries || m === S.ComboLineAndBarSeries || m === S.RadarSeries) && g === De.Stacked100 && !h && n !== !0 && e instanceof ve && !p)
6080
6084
  r = r ?? 0, l = l ?? 100;
6081
6085
  else {
6082
- const b = ly(d), y = Co({ chartConfig: u, isSecondValueAxis: s, seriesIds: b }), C = Di(i), x = mn({
6086
+ const b = ly(d), y = Co({ chartConfig: u, isSecondValueAxis: s, seriesIds: b }), C = Oi(i), x = mn({
6083
6087
  chartConfig: u,
6084
6088
  // using either the provided data (at creation or after a data update) or the current series data
6085
6089
  chartData: C ?? d.series.getIndex(0)?.data.values ?? [],
@@ -6152,14 +6156,14 @@ function on(t, e) {
6152
6156
  }
6153
6157
  function Dy(t) {
6154
6158
  t.get("renderer").grid.template.adapters.add("strokeWidth", (e, i) => {
6155
- const a = zi(
6159
+ const a = Gi(
6156
6160
  t.uid,
6157
6161
  "zeroGridLine"
6158
6162
  ), o = a?.displayZeroLine === !0;
6159
6163
  let n = a?.strokeWidth ?? A.lineWidth;
6160
6164
  return i.get("themeTags")?.includes("base") && o && (n = (n === 0 ? 1 : n) * 1.5), n;
6161
6165
  }), t.get("renderer").grid.template.adapters.add("strokeOpacity", (e, i) => {
6162
- const a = zi(
6166
+ const a = Gi(
6163
6167
  t.uid,
6164
6168
  "zeroGridLine"
6165
6169
  ), o = a?.displayZeroLine === !0;
@@ -6189,7 +6193,7 @@ function Nl(t, e) {
6189
6193
  if (l instanceof ve) {
6190
6194
  const u = l.get("renderer") instanceof Qt;
6191
6195
  s.push({
6192
- isXAxis: Fi(l.get("renderer"), a),
6196
+ isXAxis: Ai(l.get("renderer"), a),
6193
6197
  isSecondValueAxis: d === 1 && n !== S.HistogramSeries,
6194
6198
  // histogram have 2 x-axes but it's not what we consider as "second value axis"
6195
6199
  minimum: u ? l.get("min") : l.getPrivate("min"),
@@ -6216,7 +6220,7 @@ function Ry(t) {
6216
6220
  }
6217
6221
  function By(t) {
6218
6222
  const { axis: e, guide: i, guideIndex: a } = t, { root: o, chart: n } = e, s = i.get("axisFill");
6219
- s?.set("tooltip", ji.new(o, { autoTextColor: !1 }));
6223
+ s?.set("tooltip", _i.new(o, { autoTextColor: !1 }));
6220
6224
  const r = s?.get("tooltip");
6221
6225
  if (r !== void 0 && n !== void 0) {
6222
6226
  r.label.setAll({
@@ -6233,7 +6237,7 @@ function By(t) {
6233
6237
  let c = d;
6234
6238
  const { dataItem: m } = u;
6235
6239
  if (!(e.get("renderer") instanceof Qt)) {
6236
- const g = zi(
6240
+ const g = Gi(
6237
6241
  e.uid,
6238
6242
  "guideTooltipFormatter"
6239
6243
  );
@@ -6265,7 +6269,7 @@ function By(t) {
6265
6269
  if (c && u) {
6266
6270
  const m = I(c.uid, "config"), g = I(c.uid, "isRotated");
6267
6271
  if (m) {
6268
- const p = !Fi(e.get("renderer"), g) ? 1 : 0, y = m?.axes?.[p]?.guides?.[a];
6272
+ const p = !Ai(e.get("renderer"), g) ? 1 : 0, y = m?.axes?.[p]?.guides?.[a];
6269
6273
  if (y) {
6270
6274
  const { tooltipReverseColor: C } = y;
6271
6275
  Qc(u, C);
@@ -6281,7 +6285,7 @@ function Ny(t, e) {
6281
6285
  const { guideName: a, start: o, end: n } = i, { chart: s, root: r } = t;
6282
6286
  let l = "";
6283
6287
  if (s !== void 0) {
6284
- const d = I(s.uid, "config"), u = I(s.uid, "isRotated"), m = !Fi(t.get("renderer"), u) ? 1 : 0, h = d?.axes?.[m]?.guides;
6288
+ const d = I(s.uid, "config"), u = I(s.uid, "isRotated"), m = !Ai(t.get("renderer"), u) ? 1 : 0, h = d?.axes?.[m]?.guides;
6285
6289
  let p = o, b = n;
6286
6290
  if (t instanceof Ye) {
6287
6291
  let F;
@@ -6300,11 +6304,11 @@ function Ny(t, e) {
6300
6304
  } else if (t instanceof ve && !(o instanceof Date) && !(n instanceof Date)) {
6301
6305
  const F = h?.find((D) => D.name === a), { start: T, end: k } = wu(t, F);
6302
6306
  Number.isFinite(T) && (p = T), Number.isFinite(k) && (b = k);
6303
- const $ = zi(t.uid, "numberFormatter") ?? ((D) => nc.new(r, {}).format(D));
6307
+ const $ = Gi(t.uid, "numberFormatter") ?? ((D) => nc.new(r, {}).format(D));
6304
6308
  p = $(p), b !== void 0 && (b = $(b));
6305
6309
  } else t instanceof nt && (p = o, b = n);
6306
6310
  const y = p.toString(), C = b?.toString() ?? "";
6307
- !he(C) && y !== C ? l = Ta(e.guideTooltipLabel, {
6311
+ !he(C) && y !== C ? l = ka(e.guideTooltipLabel, {
6308
6312
  guideStart: y,
6309
6313
  guideEnd: C
6310
6314
  }) : l = y;
@@ -6316,7 +6320,7 @@ function Ny(t, e) {
6316
6320
  }
6317
6321
  function Py(t) {
6318
6322
  const { axis: e, guideTooltipFormatter: i, utilsStrings: a } = t;
6319
- Xa(e.uid, {
6323
+ Ya(e.uid, {
6320
6324
  guideTooltipFormatter: i ?? Ny(e, a)
6321
6325
  });
6322
6326
  }
@@ -6530,13 +6534,13 @@ function qy(t) {
6530
6534
  const d = a.content.font?.size ?? A.generalFontSize, u = e instanceof nt ? A.categoryAxisLabelPadding : A.axisLabelPadding;
6531
6535
  l = d * u;
6532
6536
  } else if (s === Le.Wrap || s === Le.Hide) {
6533
- let d = zi(
6537
+ let d = Gi(
6534
6538
  e.uid,
6535
6539
  "minGridDistanceCallbackDisposer"
6536
6540
  );
6537
6541
  d !== void 0 && d.dispose(), d = e.events.on(ae.BoundsChanged, () => {
6538
6542
  Uy(e, s);
6539
- }), Xa(e.uid, { minGridDistanceCallbackDisposer: d });
6543
+ }), Ya(e.uid, { minGridDistanceCallbackDisposer: d });
6540
6544
  } else s === Le.Stagger ? l = A.staggerMinGridDistance : l = e instanceof nt ? A.xCategoryAxisMinGridDistance : A.xAxisMinGridDistance;
6541
6545
  else
6542
6546
  l = e instanceof nt ? A.yCategoryAxisMinGridDistance : A.yAxisMinGridDistance;
@@ -6556,7 +6560,7 @@ function Hl(t, e = 1) {
6556
6560
  function jy(t) {
6557
6561
  const e = t.get("renderer").labels.template;
6558
6562
  e.adapters.add("rotation", (i, a) => {
6559
- const o = xt(a.uid, "isGuide") !== !0 ? zi(t.uid, "rotation") ?? 0 : i ?? 0;
6563
+ const o = xt(a.uid, "isGuide") !== !0 ? Gi(t.uid, "rotation") ?? 0 : i ?? 0;
6560
6564
  return e.set("centerX", o === 0 ? $e : pe), o;
6561
6565
  });
6562
6566
  }
@@ -6582,7 +6586,7 @@ function as(t) {
6582
6586
  paddingTop: r ? A.axisLabel.paddingTop : A.rotatedAxisLabel.paddingTop,
6583
6587
  paddingLeft: r ? A.axisLabel.paddingLeft : A.rotatedAxisLabel.paddingLeft,
6584
6588
  paddingRight: r ? A.axisLabel.paddingRight : A.rotatedAxisLabel.paddingRight
6585
- }), Xa(t.uid, { rotation: l });
6589
+ }), Ya(t.uid, { rotation: l });
6586
6590
  }
6587
6591
  }
6588
6592
  }
@@ -6765,7 +6769,7 @@ async function Bu(t) {
6765
6769
  return { minimum: p, maximum: b, dataValue: y };
6766
6770
  }
6767
6771
  function aS(t) {
6768
- const { oldConfig: e, axisMax: i, min: a, max: o, labelsIncrement: n, numberOfIntervals: s, valueFormat: r, minimumFromField: l } = t, d = Ha(r);
6772
+ const { oldConfig: e, axisMax: i, min: a, max: o, labelsIncrement: n, numberOfIntervals: s, valueFormat: r, minimumFromField: l } = t, d = za(r);
6769
6773
  let u = !0;
6770
6774
  if (e !== void 0) {
6771
6775
  const {
@@ -6788,7 +6792,7 @@ function oS(t) {
6788
6792
  const l = I(a.uid, "gaugeData");
6789
6793
  Number.isFinite(l) && (r = l);
6790
6794
  }
6791
- return Ha(o) && n !== void 0 && s !== void 0 && n !== null && s !== null && r !== null && s - n !== 0 && (r = go({
6795
+ return za(o) && n !== void 0 && s !== void 0 && n !== null && s !== null && r !== null && s - n !== 0 && (r = go({
6792
6796
  value: r,
6793
6797
  axisMin: n,
6794
6798
  axisMax: s
@@ -6849,7 +6853,7 @@ async function cS(t) {
6849
6853
  });
6850
6854
  p.minimum = C.minimum, p.maximum = C.maximum;
6851
6855
  const { min: x, max: v } = Ou(p), F = { ...p };
6852
- Ha(b) ? (F.minimum = 0, F.maximum = 1, Ru({
6856
+ za(b) ? (F.minimum = 0, F.maximum = 1, Ru({
6853
6857
  axisConfig: F,
6854
6858
  axisMin: p.minimum,
6855
6859
  axisMax: p.maximum
@@ -6879,7 +6883,7 @@ async function cS(t) {
6879
6883
  }
6880
6884
  function uS(t) {
6881
6885
  const { chart: e, axesConfig: i, errorStrings: a } = t, { root: o } = e;
6882
- qi({ chartType: S.GaugeSeries, axesConfig: i, errorStrings: a });
6886
+ ji({ chartType: S.GaugeSeries, axesConfig: i, errorStrings: a });
6883
6887
  const n = e.xAxes.push(
6884
6888
  ve.new(o, {
6885
6889
  min: 0,
@@ -6903,7 +6907,7 @@ function fS(t) {
6903
6907
  utilsStrings: u,
6904
6908
  errorStrings: c
6905
6909
  } = t, { horizontalAxisLabelsBehavior: m, verticalAxisLabelsBehavior: g, axes: h } = i, p = S.HistogramSeries, b = e.xAxes.getIndex(0), y = e.yAxes.getIndex(0);
6906
- qi({
6910
+ ji({
6907
6911
  chartType: p,
6908
6912
  axesConfig: h,
6909
6913
  errorStrings: c
@@ -6932,17 +6936,17 @@ function fS(t) {
6932
6936
  }
6933
6937
  function mS(t) {
6934
6938
  const { chart: e, axesConfig: i, x: a, errorStrings: o } = t, { root: n } = e, s = S.HistogramSeries;
6935
- qi({ chartType: s, axesConfig: i, errorStrings: o });
6939
+ ji({ chartType: s, axesConfig: i, errorStrings: o });
6936
6940
  const r = { root: n, x: a, chartType: s }, l = i?.[0]?.valueFormat, d = i?.[1]?.valueFormat;
6937
6941
  if (l !== void 0 && d !== void 0) {
6938
- const u = Vi({
6942
+ const u = Wi({
6939
6943
  ...r,
6940
6944
  axes: e.xAxes,
6941
6945
  valueFormat: l,
6942
6946
  axisRenderer: Dt.new(n, {}),
6943
6947
  isXAxis: !0,
6944
6948
  x: a
6945
- }), c = Vi({
6949
+ }), c = Wi({
6946
6950
  ...r,
6947
6951
  axes: e.xAxes,
6948
6952
  valueFormat: l,
@@ -6951,11 +6955,11 @@ function mS(t) {
6951
6955
  isXAxis: !0,
6952
6956
  x: a
6953
6957
  });
6954
- Vi({
6958
+ Wi({
6955
6959
  ...r,
6956
6960
  axes: e.yAxes,
6957
6961
  valueFormat: d,
6958
- axisRenderer: Hi.new(n, {}),
6962
+ axisRenderer: zi.new(n, {}),
6959
6963
  isXAxis: !1,
6960
6964
  x: a
6961
6965
  }), u && (u.get("renderer").grid.template.set("location", 0), u.get("renderer").ticks.template.set("location", 0), u.get("renderer").labels.template.set("location", 0)), c && (c.set("visible", !1), c.get("renderer").grid.template.set("visible", !1), c.get("renderer").ticks.template.set("visible", !1), c.get("renderer").labels.template.set("visible", !1));
@@ -6987,8 +6991,8 @@ function gS(t) {
6987
6991
  t instanceof ve && (t.onPrivate("min", Nl), t.onPrivate("max", Nl));
6988
6992
  }
6989
6993
  function hS(t) {
6990
- const { axis: e, isHorizontalAxis: i, isSecondValueAxis: a } = t, { root: o } = e, n = i ? { ...A.xAxisTitleLabel, verticalCenter: Q.Top } : A.yAxisTitleLabel, s = Ba({ root: o, id: Nu(e, i), defaults: n });
6991
- return e.get("renderer") instanceof Hi && a !== !0 || e.get("renderer") instanceof Dt && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && (e.events.onDebounced(
6994
+ const { axis: e, isHorizontalAxis: i, isSecondValueAxis: a } = t, { root: o } = e, n = i ? { ...A.xAxisTitleLabel, verticalCenter: Q.Top } : A.yAxisTitleLabel, s = Na({ root: o, id: Nu(e, i), defaults: n });
6995
+ return e.get("renderer") instanceof zi && a !== !0 || e.get("renderer") instanceof Dt && a === !0 ? e.children.unshift(s) : e.children.push(s), i && a !== !0 && (e.events.onDebounced(
6992
6996
  ae.BoundsChanged,
6993
6997
  () => xs(e, s),
6994
6998
  A.debounceTime
@@ -6998,7 +7002,7 @@ function hS(t) {
6998
7002
  A.debounceTime
6999
7003
  ), eS({ axis: e, isHorizontalAxis: i, label: s })), s;
7000
7004
  }
7001
- function Vi(t) {
7005
+ function Wi(t) {
7002
7006
  const {
7003
7007
  root: e,
7004
7008
  axes: i,
@@ -7040,7 +7044,7 @@ function Vi(t) {
7040
7044
  u.get("renderer").setAll({ cellStartLocation: c, cellEndLocation: m }), $u(u), gS(u), Bn(u.get("renderer")) ? u.get("renderer").labels.template.set(
7041
7045
  s ? "paddingBottom" : "paddingTop",
7042
7046
  A.axisLabelSpacing.horizontalAxisLabelPaddingTop
7043
- ) : n instanceof Hi && u.get("renderer").labels.template.set(
7047
+ ) : n instanceof zi && u.get("renderer").labels.template.set(
7044
7048
  s ? "paddingLeft" : "paddingRight",
7045
7049
  A.axisLabelSpacing.verticalAxisLabelSidePadding
7046
7050
  );
@@ -7058,7 +7062,7 @@ function pS(t) {
7058
7062
  heatChartHideEmptyRowsAndColumnsChanged: r
7059
7063
  } = t;
7060
7064
  if (i && (o || n || s || r)) {
7061
- const l = Di(i);
7065
+ const l = Oi(i);
7062
7066
  if (a !== S.HeatSeries)
7063
7067
  e.data.setAll(l ?? []);
7064
7068
  else {
@@ -7067,7 +7071,7 @@ function pS(t) {
7067
7071
  (p) => m in p ? p[m] : void 0
7068
7072
  );
7069
7073
  return Array.from(new Set(h)).map((p) => ({ [m]: p }));
7070
- }, u = e.get("renderer") instanceof Hi ? Ne.yField : Ne.xField, c = d(u, l);
7074
+ }, u = e.get("renderer") instanceof zi ? Ne.yField : Ne.xField, c = d(u, l);
7071
7075
  e.data.setAll(c);
7072
7076
  }
7073
7077
  }
@@ -7121,11 +7125,11 @@ function Fr(t) {
7121
7125
  tickSpacing: V,
7122
7126
  dateBaseInterval: W
7123
7127
  } = r, { root: H } = e, X = E(p.series), oe = Kt(p), te = ft(p), se = e.get("renderer");
7124
- Xa(e.uid, {
7128
+ Ya(e.uid, {
7125
7129
  zeroGridLine: { displayZeroLine: R, strokeWidth: D?.width ?? A.lineWidth, visible: D !== void 0 }
7126
7130
  }), Ly({ axis: e, isLogarithmic: $, isSecondValueAxis: h }), Sy({
7127
7131
  axis: e,
7128
- isXAxis: Fi(e.get("renderer"), te),
7132
+ isXAxis: Ai(e.get("renderer"), te),
7129
7133
  chartType: X,
7130
7134
  formatOptions: B,
7131
7135
  isNonAggregatedChart: g,
@@ -7164,25 +7168,25 @@ function yS(t) {
7164
7168
  const { chart: e, errorStrings: i } = t, { root: a } = e, o = I(e.uid, "config");
7165
7169
  if (o) {
7166
7170
  const { x: n } = o.series[0], s = ft(o), { axes: r } = o, l = E(o.series);
7167
- qi({ chartType: l, axesConfig: r, errorStrings: i });
7171
+ ji({ chartType: l, axesConfig: r, errorStrings: i });
7168
7172
  const d = { root: a, x: n, chartType: l }, u = s ? r?.[1] : r?.[0], c = s ? r?.[0] : r?.[1], m = u?.valueFormat, g = c?.valueFormat;
7169
- if (m !== void 0 && g !== void 0 && (Vi({
7173
+ if (m !== void 0 && g !== void 0 && (Wi({
7170
7174
  ...d,
7171
7175
  axes: e.xAxes,
7172
7176
  valueFormat: m,
7173
7177
  axisRenderer: Dt.new(a, {}),
7174
7178
  isXAxis: !s,
7175
7179
  x: n
7176
- }), Vi({
7180
+ }), Wi({
7177
7181
  ...d,
7178
7182
  axes: e.yAxes,
7179
7183
  valueFormat: g,
7180
- axisRenderer: Hi.new(a, {}),
7184
+ axisRenderer: zi.new(a, {}),
7181
7185
  isXAxis: s,
7182
7186
  x: n
7183
7187
  }), r?.[2] !== void 0)) {
7184
- const h = s ? Dt : Hi;
7185
- Vi({
7188
+ const h = s ? Dt : zi;
7189
+ Wi({
7186
7190
  ...d,
7187
7191
  axes: s ? e.xAxes : e.yAxes,
7188
7192
  valueFormat: r[2]?.valueFormat,
@@ -7196,16 +7200,16 @@ function yS(t) {
7196
7200
  }
7197
7201
  function SS(t) {
7198
7202
  const { chart: e, chartType: i, axesConfig: a, x: o, errorStrings: n } = t, { root: s } = e, r = a?.[0], l = a?.[1];
7199
- if (qi({ chartType: i, axesConfig: a, errorStrings: n }), r?.valueFormat !== void 0 && l?.valueFormat !== void 0) {
7203
+ if (ji({ chartType: i, axesConfig: a, errorStrings: n }), r?.valueFormat !== void 0 && l?.valueFormat !== void 0) {
7200
7204
  const d = { root: s, x: o, chartType: i };
7201
- Vi({
7205
+ Wi({
7202
7206
  ...d,
7203
7207
  axes: e.xAxes,
7204
7208
  valueFormat: r.valueFormat,
7205
7209
  axisRenderer: Qt.new(s, {}),
7206
7210
  isXAxis: !0,
7207
7211
  x: o
7208
- }), Vi({
7212
+ }), Wi({
7209
7213
  ...d,
7210
7214
  axes: e.yAxes,
7211
7215
  valueFormat: l.valueFormat,
@@ -7219,7 +7223,7 @@ function Pu(t) {
7219
7223
  const { chart: e, chartConfig: i, errorStrings: a } = t, { axes: o } = i, { x: n } = i.series[0], s = E(i.series);
7220
7224
  switch (e.xAxes.clear(), e.yAxes.clear(), s) {
7221
7225
  case S.GaugeSeries:
7222
- e instanceof Ei && uS({ chart: e, axesConfig: o, errorStrings: a });
7226
+ e instanceof Hi && uS({ chart: e, axesConfig: o, errorStrings: a });
7223
7227
  break;
7224
7228
  case S.HistogramSeries:
7225
7229
  mS({ chart: e, axesConfig: o, x: n, errorStrings: a });
@@ -7233,7 +7237,7 @@ function Pu(t) {
7233
7237
  yS({ chart: e, errorStrings: a });
7234
7238
  break;
7235
7239
  case S.RadarSeries:
7236
- e instanceof Ei && SS({ chart: e, axesConfig: o, chartType: s, x: n, errorStrings: a });
7240
+ e instanceof Hi && SS({ chart: e, axesConfig: o, chartType: s, x: n, errorStrings: a });
7237
7241
  break;
7238
7242
  }
7239
7243
  }
@@ -7256,7 +7260,7 @@ function CS(t) {
7256
7260
  utilsStrings: p,
7257
7261
  errorStrings: b
7258
7262
  } = t, { horizontalAxisLabelsBehavior: y, verticalAxisLabelsBehavior: C, axes: x } = i, v = ft(i), F = E(i.series), T = I(e.uid, "isNonAggregatedChart"), k = e.xAxes.getIndex(0), $ = e.yAxes.getIndex(0), D = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
7259
- qi({ chartType: F, axesConfig: x, errorStrings: b });
7263
+ ji({ chartType: F, axesConfig: x, errorStrings: b });
7260
7264
  const O = x?.[v ? 1 : 0], R = x?.[v ? 0 : 1];
7261
7265
  [
7262
7266
  {
@@ -7302,7 +7306,7 @@ function CS(t) {
7302
7306
  }
7303
7307
  async function Mu(t) {
7304
7308
  const { chart: e, chartConfig: i } = t, a = E(i.series);
7305
- a === S.GaugeSeries && e instanceof Ei ? await cS(t) : a === S.HistogramSeries ? fS(t) : CS(t);
7309
+ a === S.GaugeSeries && e instanceof Hi ? await cS(t) : a === S.HistogramSeries ? fS(t) : CS(t);
7306
7310
  }
7307
7311
  function xS(t, e) {
7308
7312
  const i = J(A.backgroundColor);
@@ -7360,7 +7364,7 @@ function Hu(t) {
7360
7364
  const { root: e, chart: i, config: a } = t;
7361
7365
  let o;
7362
7366
  if (Eu(i, a)) {
7363
- const n = i instanceof Ei ? Ks : sc;
7367
+ const n = i instanceof Hi ? Ks : sc;
7364
7368
  o = i.set("cursor", n.new(e, {})), Vb(i);
7365
7369
  }
7366
7370
  return o;
@@ -7380,14 +7384,14 @@ function zu(t) {
7380
7384
  }
7381
7385
  function LS(t) {
7382
7386
  const { chart: e, enabled: i } = t, a = i ? "pointer" : "default";
7383
- e instanceof Da && e.series.each((o) => {
7387
+ e instanceof Oa && e.series.each((o) => {
7384
7388
  switch (!0) {
7385
7389
  case o instanceof Me:
7386
7390
  o.columns.template.set("cursorOverStyle", a);
7387
7391
  break;
7388
7392
  case o instanceof Ce:
7389
7393
  const n = de(o.uid, "bulletTemplate");
7390
- n !== void 0 && !Ri(o) && n.set("cursorOverStyle", a);
7394
+ n !== void 0 && !Bi(o) && n.set("cursorOverStyle", a);
7391
7395
  break;
7392
7396
  case o instanceof bt:
7393
7397
  o.slices.template.setAll({ cursorOverStyle: a });
@@ -7425,7 +7429,7 @@ function AS(t, e) {
7425
7429
  e !== void 0 && (e.width !== void 0 && t.set("width", Cl(e.width)), e.height !== void 0 && t.set("height", Cl(e.height)), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom));
7426
7430
  }
7427
7431
  function vs(t) {
7428
- const { root: e, defaults: i, parent: a, id: o, index: n } = t, s = pi.new(e, {});
7432
+ const { root: e, defaults: i, parent: a, id: o, index: n } = t, s = bi.new(e, {});
7429
7433
  return AS(s, i), a !== void 0 && a.children.insertIndex(n ?? a.children.length, s), o !== void 0 && s.set("id", o), s;
7430
7434
  }
7431
7435
  function Ls(t, e) {
@@ -7444,22 +7448,22 @@ function TS(t, e) {
7444
7448
  parent: e,
7445
7449
  id: tt(hr, e.uid),
7446
7450
  index: 1
7447
- }), o = Ba({
7451
+ }), o = Na({
7448
7452
  root: t,
7449
7453
  parent: i,
7450
7454
  defaults: A.titleLabel,
7451
7455
  id: tt(tu, i.uid)
7452
- }), n = Ba({
7456
+ }), n = Na({
7453
7457
  root: t,
7454
7458
  parent: a,
7455
7459
  defaults: A.subtitleLabel,
7456
7460
  id: tt(iu, a.uid)
7457
7461
  });
7458
- Na({
7462
+ Pa({
7459
7463
  chart: e,
7460
7464
  label: o,
7461
7465
  labelType: K.ChartTitle
7462
- }), Na({
7466
+ }), Pa({
7463
7467
  chart: e,
7464
7468
  label: n,
7465
7469
  labelType: K.ChartSubTitle
@@ -7502,12 +7506,12 @@ function kS(t) {
7502
7506
  defaults: A.footerContainer,
7503
7507
  parent: t,
7504
7508
  id: tt(Dn, t.uid)
7505
- }), a = Ba({
7509
+ }), a = Na({
7506
7510
  root: e,
7507
7511
  parent: i,
7508
7512
  id: tt(au, i.uid)
7509
7513
  });
7510
- Na({
7514
+ Pa({
7511
7515
  chart: t,
7512
7516
  label: a,
7513
7517
  labelType: K.ChartFooter
@@ -7529,7 +7533,7 @@ function Xu(t, e) {
7529
7533
  }
7530
7534
  }
7531
7535
  function Yu(t) {
7532
- if (!(t instanceof Ei) && t instanceof be) {
7536
+ if (!(t instanceof Hi) && t instanceof be) {
7533
7537
  const { root: e } = t, i = fs.new(e, {
7534
7538
  orientation: "horizontal",
7535
7539
  visible: !1,
@@ -7586,7 +7590,7 @@ function Xl(t, e) {
7586
7590
  }
7587
7591
  function Uu(t) {
7588
7592
  const { chart: e, scrollbarXConfig: i, scrollbarYConfig: a } = t;
7589
- if (!(e instanceof Ei) && e instanceof be) {
7593
+ if (!(e instanceof Hi) && e instanceof be) {
7590
7594
  const o = I(e.uid, "isRotated");
7591
7595
  (e.get("scrollbarX") === void 0 || e.get("scrollbarY") === void 0) && Yu(e);
7592
7596
  const n = e.get("scrollbarX"), s = e.get("scrollbarY");
@@ -7614,7 +7618,7 @@ function OS(t, e) {
7614
7618
  });
7615
7619
  }
7616
7620
  function RS(t) {
7617
- const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s } = t, { id: r, name: l } = a, { xField: d, yField: u, xAxisField: c, yAxisField: m } = Ya(i, a), g = Vm(i), h = Me.new(e, {
7621
+ const { root: e, chartConfig: i, seriesConfig: a, xAxis: o, yAxis: n, options: s } = t, { id: r, name: l } = a, { xField: d, yField: u, xAxisField: c, yAxisField: m } = Ua(i, a), g = Vm(i), h = Me.new(e, {
7618
7622
  id: r,
7619
7623
  name: l,
7620
7624
  stacked: g,
@@ -7628,10 +7632,10 @@ function RS(t) {
7628
7632
  const p = da.new({});
7629
7633
  return He(h.uid, { bulletTemplate: p }), Jt(h.columns.template, h), h.bullets.push((b) => {
7630
7634
  const y = Vt.new(b, {}, p);
7631
- return Oi.new(b, {
7635
+ return Ri.new(b, {
7632
7636
  sprite: y
7633
7637
  });
7634
- }), h.columns.template.set("width", ot(100)), xr(h), qc(h, s?.tooltipFormatter), gu(h), qa(h, i), h.appear(), h;
7638
+ }), h.columns.template.set("width", ot(100)), xr(h), qc(h, s?.tooltipFormatter), gu(h), ja(h, i), h.appear(), h;
7635
7639
  }
7636
7640
  function BS(t) {
7637
7641
  const { series: e, seriesConfig: i, seriesIndex: a, numberOfSeries: o, chartSubType: n, colorMatch: s, rendererType: r } = t, l = e.root, d = To(e), u = /* @__PURE__ */ new Set();
@@ -7669,7 +7673,7 @@ function BS(t) {
7669
7673
  element: C,
7670
7674
  colorMatch: s,
7671
7675
  rendererSymbol: m
7672
- }), no(C, p.stylingInfo), v || (u.add(JSON.stringify(p.symbolWithColorInfo)), b = p);
7676
+ }), Aa(C, p.stylingInfo), v || (u.add(JSON.stringify(p.symbolWithColorInfo)), b = p);
7673
7677
  }
7674
7678
  }), o > 1) {
7675
7679
  const C = Yl(e);
@@ -7680,11 +7684,11 @@ function BS(t) {
7680
7684
  element: C,
7681
7685
  colorMatch: s,
7682
7686
  rendererSymbol: m
7683
- }), no(C, b.stylingInfo);
7687
+ }), Aa(C, b.stylingInfo);
7684
7688
  else if (e.chart instanceof be) {
7685
7689
  const x = e.chart.children.values.find((v) => v instanceof Zs);
7686
7690
  x !== void 0 && x.events.once(ae.BoundsChanged, () => {
7687
- no(Yl(e), b.stylingInfo);
7691
+ Aa(Yl(e), b.stylingInfo);
7688
7692
  });
7689
7693
  }
7690
7694
  gt({
@@ -7721,7 +7725,7 @@ function NS(t) {
7721
7725
  data: i,
7722
7726
  htmlContainer: e.root.dom,
7723
7727
  chartId: l.get("id"),
7724
- colorMatchApplied: ja(l)
7728
+ colorMatchApplied: _a(l)
7725
7729
  });
7726
7730
  }
7727
7731
  }
@@ -7740,7 +7744,7 @@ function PS(t) {
7740
7744
  loaderHandle: c
7741
7745
  } = t, m = o.series[a];
7742
7746
  if (i && m?.type === S.BarSeries && (r === !0 || n === !0 || u === !0 || l === !0 || d || s === !0)) {
7743
- const { xField: g, yField: h, xAxisField: p, yAxisField: b } = Ya(o, m);
7747
+ const { xField: g, yField: h, xAxisField: p, yAxisField: b } = Ua(o, m);
7744
7748
  e.setAll({
7745
7749
  [p]: g,
7746
7750
  [b]: h
@@ -7770,7 +7774,7 @@ function MS(t) {
7770
7774
  loaderHandle: y
7771
7775
  } = t, C = a.series[n], x = a.rotated, v = a.axes;
7772
7776
  let F;
7773
- v?.[1] && (F = v[1]), e.set("id", C.id), ze(e.columns.template, o?.selectionTheme), Zi(e.columns.template, i?.dataItems?.length), Sr({
7777
+ v?.[1] && (F = v[1]), e.set("id", C.id), ze(e.columns.template, o?.selectionTheme), Ki(e.columns.template, i?.dataItems?.length), Sr({
7774
7778
  series: e,
7775
7779
  chartConfig: a,
7776
7780
  isRotated: x
@@ -7803,7 +7807,7 @@ function MS(t) {
7803
7807
  seriesIndex: n,
7804
7808
  tooltipFormatter: o?.tooltipFormatter,
7805
7809
  utilsStrings: u
7806
- }), Bi(t) && Ni({
7810
+ }), Ni(t) && Pi({
7807
7811
  // TODO: Remove the type assertion and correct the typings
7808
7812
  styleCallback: NS,
7809
7813
  callbackProps: t,
@@ -7903,7 +7907,7 @@ function ES(t) {
7903
7907
  }
7904
7908
  function HS(t) {
7905
7909
  const { candleStickSeries: e, seriesConfig: i, data: a, options: o } = t;
7906
- ze(e.columns.template, o?.selectionTheme), Zi(e.columns.template, a?.dataItems?.length), Ua(e, i.name), WS(t), Bi(t) && Ni({
7910
+ ze(e.columns.template, o?.selectionTheme), Ki(e.columns.template, a?.dataItems?.length), qa(e, i.name), WS(t), Ni(t) && Pi({
7907
7911
  // TODO: Remove the type assertion and correct the typings
7908
7912
  styleCallback: ES,
7909
7913
  callbackProps: t,
@@ -7959,7 +7963,7 @@ function YS(t) {
7959
7963
  seriesWereReinitialized: r,
7960
7964
  options: l
7961
7965
  } = t, d = de(e.uid, "bulletTemplate");
7962
- d && ze(d, l?.selectionTheme), Zi(d, a?.meanLines?.length), Ua(e, i?.name), XS({
7966
+ d && ze(d, l?.selectionTheme), Ki(d, a?.meanLines?.length), qa(e, i?.name), XS({
7963
7967
  meanLineSeries: e,
7964
7968
  data: a,
7965
7969
  dataWasUpdated: o,
@@ -7982,7 +7986,7 @@ function US(t) {
7982
7986
  }), l.appear();
7983
7987
  const u = da.new({});
7984
7988
  He(l.uid, { isBoxPlotMeanLineSeries: !0, bulletTemplate: u }), ze(u, s?.selectionTheme), l.bullets.push((c) => {
7985
- const m = Vt.new(c, {}, u), g = Oi.new(c, {
7989
+ const m = Vt.new(c, {}, u), g = Ri.new(c, {
7986
7990
  sprite: m
7987
7991
  });
7988
7992
  return l && Jt(m, l), g;
@@ -8052,14 +8056,14 @@ function QS(t) {
8052
8056
  } = t;
8053
8057
  if (e && a.type === S.BoxPlotSeries) {
8054
8058
  const d = de(e.uid, "bulletTemplate");
8055
- d && ze(d, l?.selectionTheme), Zi(d, i?.outliers?.length), _S({
8059
+ d && ze(d, l?.selectionTheme), Ki(d, i?.outliers?.length), _S({
8056
8060
  outlierSeries: e,
8057
8061
  data: i,
8058
8062
  rotationChanged: s,
8059
8063
  sortChanged: o,
8060
8064
  dataWasUpdated: n,
8061
8065
  seriesWereReinitialized: r
8062
- }), Bi(t) && Ni({
8066
+ }), Ni(t) && Pi({
8063
8067
  // TODO: Remove the type assertion and correct the typings
8064
8068
  styleCallback: KS,
8065
8069
  callbackProps: t,
@@ -8082,7 +8086,7 @@ function JS(t) {
8082
8086
  }), l.strokes.template.set("forceHidden", !0);
8083
8087
  const u = da.new({});
8084
8088
  He(l.uid, { isBoxPlotOutliersSeries: !0, bulletTemplate: u }), ze(u, s?.selectionTheme), l.bullets.push((c) => {
8085
- const m = Vt.new(c, {}, u), g = Oi.new(c, {
8089
+ const m = Vt.new(c, {}, u), g = Ri.new(c, {
8086
8090
  sprite: m
8087
8091
  });
8088
8092
  return l && Jt(m, l), nC({ outlierSeries: l, bullet: g, seriesConfigId: r.id }), g;
@@ -8144,7 +8148,7 @@ function iC(t) {
8144
8148
  }
8145
8149
  function aC(t) {
8146
8150
  const { stepLineSeries: e, data: i, seriesConfig: a, rotationChanged: o, sortChanged: n, dataWasUpdated: s, seriesWereReinitialized: r } = t, l = a.visible !== !1;
8147
- e !== void 0 && a.type === S.BoxPlotSeries && (Oe(e, l), Bi(t) && Ni({
8151
+ e !== void 0 && a.type === S.BoxPlotSeries && (Oe(e, l), Ni(t) && Pi({
8148
8152
  // TODO: Remove the type assertion and correct the typings
8149
8153
  styleCallback: iC,
8150
8154
  callbackProps: t,
@@ -8421,7 +8425,7 @@ function fC(t) {
8421
8425
  colorMatch: n,
8422
8426
  rendererSymbol: b
8423
8427
  });
8424
- l = y.symbolWithColorInfo, g = y.stylingInfo, no(p, g), m.add(JSON.stringify(g));
8428
+ l = y.symbolWithColorInfo, g = y.stylingInfo, Aa(p, g), m.add(JSON.stringify(g));
8425
8429
  }
8426
8430
  }), r = m.size > 1;
8427
8431
  }
@@ -8484,12 +8488,12 @@ function Qu(t) {
8484
8488
  data: Fe(d),
8485
8489
  htmlContainer: c.dom,
8486
8490
  chartId: e.chart?.get("id"),
8487
- colorMatchApplied: ja(m)
8491
+ colorMatchApplied: _a(m)
8488
8492
  }), d.clear());
8489
8493
  }
8490
8494
  }
8491
8495
  function gC(t) {
8492
- const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s } = t, { id: r, name: l } = n, { xField: d, yField: u, xAxisField: c, yAxisField: m } = Ya(i, n), g = Ce.new(e, {
8496
+ const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s } = t, { id: r, name: l } = n, { xField: d, yField: u, xAxisField: c, yAxisField: m } = Ua(i, n), g = Ce.new(e, {
8493
8497
  id: r,
8494
8498
  name: l,
8495
8499
  xAxis: a,
@@ -8520,8 +8524,8 @@ function gC(t) {
8520
8524
  },
8521
8525
  h
8522
8526
  );
8523
- return Jt(b, g), Fu(b, g), Oi.new(p, { sprite: b });
8524
- }), xr(g), qa(g, i), g;
8527
+ return Jt(b, g), Fu(b, g), Ri.new(p, { sprite: b });
8528
+ }), xr(g), ja(g, i), g;
8525
8529
  }
8526
8530
  function hC(t) {
8527
8531
  const {
@@ -8538,7 +8542,7 @@ function hC(t) {
8538
8542
  loaderHandle: c
8539
8543
  } = t, m = o.series[a];
8540
8544
  if (i !== void 0 && a >= 0 && a < o.series.length && m.type === S.LineSeries && (r === !0 || n === !0 || l === !0 || d || s === !0 || u === !0)) {
8541
- const { xField: g, yField: h, xAxisField: p, yAxisField: b } = Ya(o, m);
8545
+ const { xField: g, yField: h, xAxisField: p, yAxisField: b } = Ua(o, m);
8542
8546
  e.setAll({ [p]: g, [b]: h }), e.events.once(ae.DataValidated, () => {
8543
8547
  c.hideLoader();
8544
8548
  }), e.data.setAll(i.dataItems);
@@ -8597,7 +8601,7 @@ function yC(t) {
8597
8601
  let v;
8598
8602
  x?.[1] && (v = x[1]), e.set("id", y.id);
8599
8603
  const F = de(e.uid, "bulletTemplate");
8600
- F && ze(F, o?.selectionTheme), Zi(F, i?.dataItems?.length), Sr({ series: e, chartConfig: a, isRotated: C }), dC({
8604
+ F && ze(F, o?.selectionTheme), Ki(F, i?.dataItems?.length), Sr({ series: e, chartConfig: a, isRotated: C }), dC({
8601
8605
  seriesType: S.LineSeries,
8602
8606
  series: e,
8603
8607
  seriesConfig: y,
@@ -8625,7 +8629,7 @@ function yC(t) {
8625
8629
  seriesIndex: n,
8626
8630
  tooltipFormatter: o?.tooltipFormatter,
8627
8631
  utilsStrings: u
8628
- }), Bi(t) && Ni({
8632
+ }), Ni(t) && Pi({
8629
8633
  // TODO: Remove the type assertion and correct the typings
8630
8634
  styleCallback: pC,
8631
8635
  callbackProps: t,
@@ -8751,7 +8755,7 @@ function LC(t) {
8751
8755
  }
8752
8756
  let ns;
8753
8757
  function FC(t) {
8754
- const { root: e, dataContext: i, seriesConfig: a, isGroupOfSlices: o, sliceFromConfig: n, dataIndex: s, colorMatch: r } = t, l = Y([a]), d = Oa.new(e, {});
8758
+ const { root: e, dataContext: i, seriesConfig: a, isGroupOfSlices: o, sliceFromConfig: n, dataIndex: s, colorMatch: r } = t, l = Y([a]), d = Ra.new(e, {});
8755
8759
  d.dataItem = {
8756
8760
  dataContext: i
8757
8761
  };
@@ -8798,7 +8802,7 @@ function Ul(t, e) {
8798
8802
  isPieFromFields: s
8799
8803
  });
8800
8804
  p[A.pieChart.technicalFieldSliceId] = y;
8801
- const C = en(r.slices, y), x = Ai(p), v = FC({
8805
+ const C = en(r.slices, y), x = Ti(p), v = FC({
8802
8806
  root: i,
8803
8807
  dataContext: p,
8804
8808
  seriesConfig: r,
@@ -8831,7 +8835,7 @@ function Ul(t, e) {
8831
8835
  }), { slices: m, groupOfSlicesSymbols: g, groupOfSlices: h };
8832
8836
  }
8833
8837
  async function Ju(t) {
8834
- const { data: e } = t, i = e && "dataItems" in e ? e.dataItems : [], { root: a, chartConfig: o, queryObject: n, usePopupTemplateFieldsInfo: s, labelUpdateNeeded: r, utilsStrings: l } = t, d = o.series[0], { x: u } = d, c = !zd({ chartConfig: o }), g = Y([d]) === P.PieFromFields, h = ut(n), p = Ui(h).idField, b = await Tt(n, s), y = {
8838
+ const { data: e } = t, i = e && "dataItems" in e ? e.dataItems : [], { root: a, chartConfig: o, queryObject: n, usePopupTemplateFieldsInfo: s, labelUpdateNeeded: r, utilsStrings: l } = t, d = o.series[0], { x: u } = d, c = !zd({ chartConfig: o }), g = Y([d]) === P.PieFromFields, h = ut(n), p = qi(h).idField, b = await Tt(n, s), y = {
8835
8839
  root: a,
8836
8840
  x: u,
8837
8841
  isNonAggregatedChart: c,
@@ -8840,7 +8844,7 @@ async function Ju(t) {
8840
8844
  seriesConfig: d,
8841
8845
  fieldList: b,
8842
8846
  labelUpdateNeeded: r,
8843
- colorMatch: $i(o),
8847
+ colorMatch: wi(o),
8844
8848
  utilsStrings: l
8845
8849
  }, { slices: C, groupOfSlicesSymbols: x, groupOfSlices: v } = Ul(
8846
8850
  i,
@@ -8960,7 +8964,7 @@ function DC(t) {
8960
8964
  loaderHandle: l,
8961
8965
  labelUpdateNeeded: d,
8962
8966
  groupOfSlicesUpdateNeeded: c
8963
- }), Bi(t) && Ni({
8967
+ }), Ni(t) && Pi({
8964
8968
  // TODO: Remove the type assertion and correct the typings
8965
8969
  styleCallback: TC,
8966
8970
  callbackProps: t,
@@ -9007,7 +9011,7 @@ function ef(t, e) {
9007
9011
  n = ot(D * 100);
9008
9012
  } else
9009
9013
  n = ot(A.pieChart.chartRadius);
9010
- o.value.toFixed(1) !== n.value.toFixed(1) && (ie(t.uid, { pieChartRadius: n.percent }), ns && clearTimeout(ns), ns = Gi(() => {
9014
+ o.value.toFixed(1) !== n.value.toFixed(1) && (ie(t.uid, { pieChartRadius: n.percent }), ns && clearTimeout(ns), ns = Xi(() => {
9011
9015
  const b = t.chartContainer.height();
9012
9016
  t.chartContainer.set("height", b + 0.1), t.set("radius", n), t.markDirty(), r.markDirty(), t.root.resize(), OC(t);
9013
9017
  })), r instanceof bt && r.labels.template.setAll({
@@ -9024,7 +9028,7 @@ function ef(t, e) {
9024
9028
  }
9025
9029
  }
9026
9030
  function OC(t) {
9027
- Gi(() => {
9031
+ Xi(() => {
9028
9032
  t.chartContainer.set("height", ot(100)), t.root.resize();
9029
9033
  });
9030
9034
  }
@@ -9049,7 +9053,7 @@ function RC(t) {
9049
9053
  return o;
9050
9054
  }
9051
9055
  function BC(t) {
9052
- const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s } = t, { id: r, name: l } = n, { xField: d, yField: u, xAxisField: c, yAxisField: m } = Ya(i, n), g = Qs.new(e, {
9056
+ const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s } = t, { id: r, name: l } = n, { xField: d, yField: u, xAxisField: c, yAxisField: m } = Ua(i, n), g = Qs.new(e, {
9053
9057
  id: r,
9054
9058
  name: l,
9055
9059
  xAxis: a,
@@ -9076,8 +9080,8 @@ function BC(t) {
9076
9080
  },
9077
9081
  h
9078
9082
  );
9079
- return Jt(b, g), Oi.new(p, { sprite: b });
9080
- }), xr(g), qa(g, i), g;
9083
+ return Jt(b, g), Ri.new(p, { sprite: b });
9084
+ }), xr(g), ja(g, i), g;
9081
9085
  }
9082
9086
  function NC(t) {
9083
9087
  const {
@@ -9092,7 +9096,7 @@ function NC(t) {
9092
9096
  loaderHandle: d
9093
9097
  } = t, u = o.series[a];
9094
9098
  if (i !== void 0 && u?.type === S.RadarSeries && (n || l || s || r)) {
9095
- const { xField: c, yField: m, xAxisField: g, yAxisField: h } = Ya(o, u);
9099
+ const { xField: c, yField: m, xAxisField: g, yAxisField: h } = Ua(o, u);
9096
9100
  e.setAll({ [g]: c, [h]: m }), e.events.once(ae.DataValidated, () => {
9097
9101
  d.hideLoader();
9098
9102
  }), e.data.setAll(i.dataItems);
@@ -9144,7 +9148,7 @@ function MC(t) {
9144
9148
  } = t, p = o.series[s];
9145
9149
  e.set("id", p.id);
9146
9150
  const b = de(e.uid, "bulletTemplate");
9147
- b && ze(b, n?.selectionTheme), Zi(b, i?.dataItems?.length), Sr({ series: e, chartConfig: o, isRotated: !1 }), gr({
9151
+ b && ze(b, n?.selectionTheme), Ki(b, i?.dataItems?.length), Sr({ series: e, chartConfig: o, isRotated: !1 }), gr({
9148
9152
  series: e,
9149
9153
  seriesConfig: p,
9150
9154
  fieldList: u,
@@ -9152,7 +9156,7 @@ function MC(t) {
9152
9156
  seriesIndex: s,
9153
9157
  tooltipFormatter: n?.tooltipFormatter,
9154
9158
  utilsStrings: h
9155
- }), Bi(t) && Ni({
9159
+ }), Ni(t) && Pi({
9156
9160
  // TODO: Remove the type assertion and correct the typings
9157
9161
  styleCallback: PC,
9158
9162
  callbackProps: t,
@@ -9292,7 +9296,7 @@ async function Pn(t) {
9292
9296
  errorStrings: x,
9293
9297
  groupOfSlicesUpdateNeeded: v,
9294
9298
  labelUpdateNeeded: F
9295
- } = t, { chartRenderer: T } = i, { root: k } = e, { series: $ } = i, D = E(i.series), O = Y(i.series), R = e.series.values, B = $i(i), N = i.series.length, V = /* @__PURE__ */ new Map(), W = Xd(b), H = await Tt(b, a?.usePopupTemplateFieldsInfo), X = ut(b), oe = fn(T, X.renderer), te = l || s || r || d || c, se = {
9299
+ } = t, { chartRenderer: T } = i, { root: k } = e, { series: $ } = i, D = E(i.series), O = Y(i.series), R = e.series.values, B = wi(i), N = i.series.length, V = /* @__PURE__ */ new Map(), W = Xd(b), H = await Tt(b, a?.usePopupTemplateFieldsInfo), X = ut(b), oe = fn(T, X.renderer), te = l || s || r || d || c, se = {
9296
9300
  root: k,
9297
9301
  chartConfig: i,
9298
9302
  queryObject: b,
@@ -9326,7 +9330,7 @@ async function Pn(t) {
9326
9330
  const mt = ke.type;
9327
9331
  switch (!0) {
9328
9332
  case D === S.HeatSeries: {
9329
- _ instanceof Me && e instanceof be && $a(i) && Yp({
9333
+ _ instanceof Me && e instanceof be && wa(i) && Yp({
9330
9334
  ...ee,
9331
9335
  series: _,
9332
9336
  data: o,
@@ -9406,7 +9410,7 @@ async function Pn(t) {
9406
9410
  break;
9407
9411
  }
9408
9412
  case mt === S.RadarSeries: {
9409
- _ instanceof Qs && e instanceof Ei && es(o) && MC({
9413
+ _ instanceof Qs && e instanceof Hi && es(o) && MC({
9410
9414
  ...ee,
9411
9415
  series: _,
9412
9416
  data: o,
@@ -9472,7 +9476,7 @@ function WC(t) {
9472
9476
  }), n?.data.setAll(s)), s;
9473
9477
  }
9474
9478
  function EC(t) {
9475
- Ri(t) || t.dataItems.forEach((e) => {
9479
+ Bi(t) || t.dataItems.forEach((e) => {
9476
9480
  const i = e.bullets?.[0];
9477
9481
  if (i) {
9478
9482
  const a = i.get("sprite"), o = gi(a.uid, "selected") !== !0;
@@ -9511,7 +9515,7 @@ async function GC(t) {
9511
9515
  }
9512
9516
  }
9513
9517
  function Mn(t) {
9514
- const { chart: e, chartConfig: i, invalidType: a, elementCount: o, seriesCount: n, errorStrings: s } = t, r = I(e.uid, "queryObject"), l = I(e.uid, "options"), d = I(e.uid, "formatLocale"), u = i !== void 0 && Wa({
9518
+ const { chart: e, chartConfig: i, invalidType: a, elementCount: o, seriesCount: n, errorStrings: s } = t, r = I(e.uid, "queryObject"), l = I(e.uid, "options"), d = I(e.uid, "formatLocale"), u = i !== void 0 && Ea({
9515
9519
  seriesConfig: i.series[0],
9516
9520
  xAxisValueFormatType: hn(i)
9517
9521
  }), c = Yd({
@@ -9539,7 +9543,7 @@ function tf(t) {
9539
9543
  ].forEach((n) => {
9540
9544
  const { axis: s, isSecondValueAxis: r } = n;
9541
9545
  if (s !== void 0) {
9542
- const l = Fi(s.get("renderer"), o);
9546
+ const l = Ai(s.get("renderer"), o);
9543
9547
  ku({ axis: s, isSecondValueAxis: r, data: i }) || Mn({
9544
9548
  chart: e,
9545
9549
  invalidType: l ? jt.NegativeValueInXAxisLogScale : jt.NegativeValueInYAxisLogScale,
@@ -9550,7 +9554,7 @@ function tf(t) {
9550
9554
  }
9551
9555
  }
9552
9556
  function af(t) {
9553
- const { chart: e, chartConfig: i, invalidType: a, data: o, errorStrings: n } = t, s = I(e.uid, "options"), r = Di(o);
9557
+ const { chart: e, chartConfig: i, invalidType: a, data: o, errorStrings: n } = t, s = I(e.uid, "options"), r = Oi(o);
9554
9558
  qd({
9555
9559
  chartConfig: i,
9556
9560
  nullAsValid: s?.nullAsValid,
@@ -9574,7 +9578,7 @@ function of(t) {
9574
9578
  case S.LineSeries: {
9575
9579
  s.series.forEach((m) => {
9576
9580
  let g = "";
9577
- "y" in m && (g = Array.isArray(m.y) ? m.y[0] : m.y, d === P.BarAndLineSplitByNoAggregation && (g = `${g}_${ki({ where: m.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), Array.isArray(i) && i.some(
9581
+ "y" in m && (g = Array.isArray(m.y) ? m.y[0] : m.y, d === P.BarAndLineSplitByNoAggregation && (g = `${g}_${Ii({ where: m.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`), Array.isArray(i) && i.some(
9578
9582
  (p) => Ms({ dataItem: p, x: m.x, y: g })
9579
9583
  ) && u.add(m));
9580
9584
  });
@@ -9622,7 +9626,7 @@ function XC(t, e) {
9622
9626
  ), l = s(o, S.BarSeries).concat(
9623
9627
  s(o, S.LineSeries)
9624
9628
  )) : (r = s(a, a[0].type), l = s(o, o[0].type));
9625
- const d = !ka(r, l);
9629
+ const d = !Ia(r, l);
9626
9630
  let u = !1;
9627
9631
  switch (n) {
9628
9632
  case S.LineSeries:
@@ -9632,7 +9636,7 @@ function XC(t, e) {
9632
9636
  (c) => c.type === S.LineSeries || c.type === S.RadarSeries
9633
9637
  ).some((c) => {
9634
9638
  const m = a.find((g) => g.id === c.id);
9635
- return (c.showArea ?? A.lineSeries.showArea) !== (m?.showArea ?? A.lineSeries.showArea) || (c.lineSmoothed ?? A.lineSeries.lineSmoothed) !== (m?.lineSmoothed ?? A.lineSeries.lineSmoothed) || (c.markerVisible ?? A.lineSeries.markerVisible) !== (m?.markerVisible ?? A.lineSeries.markerVisible) || c.showArea && !ka(c.areaColor, m?.areaColor);
9639
+ return (c.showArea ?? A.lineSeries.showArea) !== (m?.showArea ?? A.lineSeries.showArea) || (c.lineSmoothed ?? A.lineSeries.lineSmoothed) !== (m?.lineSmoothed ?? A.lineSeries.lineSmoothed) || (c.markerVisible ?? A.lineSeries.markerVisible) !== (m?.markerVisible ?? A.lineSeries.markerVisible) || c.showArea && !Ia(c.areaColor, m?.areaColor);
9636
9640
  });
9637
9641
  break;
9638
9642
  }
@@ -9676,7 +9680,7 @@ function ZC(t, e) {
9676
9680
  switch (i) {
9677
9681
  case S.RadarSeries:
9678
9682
  case S.GaugeSeries:
9679
- a = Ei;
9683
+ a = Hi;
9680
9684
  break;
9681
9685
  case S.PieSeries:
9682
9686
  a = Zt;
@@ -9753,7 +9757,7 @@ async function KC(t) {
9753
9757
  seriesStyleChanged: b,
9754
9758
  colorMatchChanged: l,
9755
9759
  labelUpdateNeeded: x
9756
- }), Ci({
9760
+ }), xi({
9757
9761
  data: y,
9758
9762
  seriesConfig: p,
9759
9763
  htmlContainer: e.root.dom
@@ -9761,7 +9765,7 @@ async function KC(t) {
9761
9765
  data: v,
9762
9766
  htmlContainer: e.root.dom,
9763
9767
  chartId: e.get("id"),
9764
- colorMatchApplied: ja(e)
9768
+ colorMatchApplied: _a(e)
9765
9769
  }), C && ie(e.uid, { data: y });
9766
9770
  }
9767
9771
  async function QC(t) {
@@ -9864,7 +9868,7 @@ async function JC(t) {
9864
9868
  let y = s, C = I(e.uid, "config");
9865
9869
  const x = I(e.uid, "initialized");
9866
9870
  if (e.isDisposed() || x === !1 || !_d(C, y))
9867
- throw new hi(ao.ChartDisposed);
9871
+ throw new pi(oo.ChartDisposed);
9868
9872
  if (C ??= y, ie(e.uid, { queryObject: c }), n.valid) {
9869
9873
  const v = Y(y.series), F = ft(y), T = I(e.uid, "seriesFilteredOut"), k = I(e.uid, "unfilteredConfig");
9870
9874
  ie(e.uid, {
@@ -9880,7 +9884,7 @@ async function JC(t) {
9880
9884
  dataWasUpdated: l
9881
9885
  });
9882
9886
  let se = !1, ee = !1, re = !1, ke = !1;
9883
- $a(C) && $a(s) && (se = Xm(C, s), ee = Ym(C, s), re = Um(C, s) || qm(C, s) || se, ke = jm(C, s));
9887
+ wa(C) && wa(s) && (se = Xm(C, s), ee = Ym(C, s), re = Um(C, s) || qm(C, s) || se, ke = jm(C, s));
9884
9888
  const _ = Jd({
9885
9889
  oldConfig: C,
9886
9890
  newConfig: y,
@@ -9894,7 +9898,7 @@ async function JC(t) {
9894
9898
  elementCount: Kr,
9895
9899
  boxPlotMeanLinesData: Ft !== void 0 && "meanLines" in Ft ? Ft.meanLines : void 0,
9896
9900
  timeIntervalInfo: Ft !== void 0 && "timeIntervalInfo" in Ft ? Ft.timeIntervalInfo : void 0
9897
- }), hm ? (Ci({ data: Ft, seriesConfig: y.series, htmlContainer: p.dom }), la(p.dom)) : (Mn({
9901
+ }), hm ? (xi({ data: Ft, seriesConfig: y.series, htmlContainer: p.dom }), la(p.dom)) : (Mn({
9898
9902
  chart: e,
9899
9903
  invalidType: Qr,
9900
9904
  elementCount: Kr,
@@ -9903,8 +9907,8 @@ async function JC(t) {
9903
9907
  errorStrings: h
9904
9908
  }), ie(e.uid, { invalidType: Qr }));
9905
9909
  }
9906
- e instanceof Da && YC({ chartSeries: e.series, oldSeries: mt, newSeries: Pt });
9907
- const Re = m?.data ?? I(e.uid, "data"), Ie = Di(Re), Be = e instanceof Zt ? Lc(
9910
+ e instanceof Oa && YC({ chartSeries: e.series, oldSeries: mt, newSeries: Pt });
9911
+ const Re = m?.data ?? I(e.uid, "data"), Ie = Oi(Re), Be = e instanceof Zt ? Lc(
9908
9912
  mt,
9909
9913
  Pt
9910
9914
  ) : !1;
@@ -9912,7 +9916,7 @@ async function JC(t) {
9912
9916
  arrayToSort: Ie,
9913
9917
  chartConfig: y,
9914
9918
  fieldList: $,
9915
- isTimeBinningSeries: Wa({
9919
+ isTimeBinningSeries: Ea({
9916
9920
  seriesConfig: ec(s),
9917
9921
  xAxisValueFormatType: hn(s),
9918
9922
  setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided
@@ -9921,7 +9925,7 @@ async function JC(t) {
9921
9925
  chart: e,
9922
9926
  chartData: l ? Ie : Re,
9923
9927
  chartConfig: y
9924
- }), ie(e.uid, { fieldList: $ }), Re && "dataItems" in Re && (Re.dataItems = Ie)), (l || te) && Ci({ data: Re, seriesConfig: y.series, htmlContainer: p.dom });
9928
+ }), ie(e.uid, { fieldList: $ }), Re && "dataItems" in Re && (Re.dataItems = Ie)), (l || te) && xi({ data: Re, seriesConfig: y.series, htmlContainer: p.dom });
9925
9929
  const ti = ds({ oldConfig: C, newConfig: y }), lt = /* @__PURE__ */ new Map();
9926
9930
  y.series.forEach((Ft, _n) => {
9927
9931
  lt.set(Ft.id, _n);
@@ -9933,7 +9937,7 @@ async function JC(t) {
9933
9937
  hideEmptySeries: r?.hideEmptySeries ?? A.options.hideEmptySeries
9934
9938
  });
9935
9939
  if (y = Zr.updatedConfig, Re && "dataItems" in Re && (l || V)) {
9936
- const Ft = await za({
9940
+ const Ft = await Ga({
9937
9941
  data: Ca && "meanLines" in Re && Re.meanLines !== void 0 ? Re.meanLines : Re.dataItems,
9938
9942
  chartConfig: y,
9939
9943
  queryObject: c,
@@ -10008,7 +10012,7 @@ async function JC(t) {
10008
10012
  });
10009
10013
  break;
10010
10014
  }
10011
- e instanceof Da && bu({
10015
+ e instanceof Oa && bu({
10012
10016
  chart: e,
10013
10017
  chartConfig: y,
10014
10018
  legend: i,
@@ -10061,7 +10065,7 @@ async function ex(t) {
10061
10065
  loaderHandle: s,
10062
10066
  utilsStrings: r,
10063
10067
  errorStrings: l
10064
- }), Ci({
10068
+ }), xi({
10065
10069
  data: d,
10066
10070
  seriesConfig: c,
10067
10071
  htmlContainer: e.root.dom
@@ -10069,7 +10073,7 @@ async function ex(t) {
10069
10073
  data: m,
10070
10074
  htmlContainer: e.root.dom,
10071
10075
  chartId: e.get("id"),
10072
- colorMatchApplied: ja(e)
10076
+ colorMatchApplied: _a(e)
10073
10077
  }), u && ie(e.uid, { data: d });
10074
10078
  }
10075
10079
  async function tx(t) {
@@ -10176,14 +10180,14 @@ async function ix(t) {
10176
10180
  y.series.forEach((H, X) => {
10177
10181
  B.set(H.id, X);
10178
10182
  });
10179
- const N = Di(m), V = rt(y);
10183
+ const N = Oi(m), V = rt(y);
10180
10184
  if (y = of({
10181
10185
  chart: x,
10182
10186
  hideEmptySeries: o?.hideEmptySeries ?? A.options.hideEmptySeries,
10183
10187
  data: V ? m : N,
10184
10188
  config: y
10185
10189
  }).updatedConfig, m && "dataItems" in m) {
10186
- const H = await za({
10190
+ const H = await Ga({
10187
10191
  data: V && "meanLines" in m && m.meanLines !== void 0 ? m.meanLines : m.dataItems,
10188
10192
  queryObject: r,
10189
10193
  chartConfig: y,
@@ -10200,7 +10204,7 @@ async function ix(t) {
10200
10204
  chart: x,
10201
10205
  chartData: N,
10202
10206
  chartConfig: y
10203
- })), Ci({ data: m, seriesConfig: y.series, htmlContainer: e }), x instanceof be ? await tx({
10207
+ })), xi({ data: m, seriesConfig: y.series, htmlContainer: e }), x instanceof be ? await tx({
10204
10208
  chart: x,
10205
10209
  data: {
10206
10210
  ...m,
@@ -10223,7 +10227,7 @@ async function ix(t) {
10223
10227
  loaderHandle: d,
10224
10228
  utilsStrings: c,
10225
10229
  errorStrings: u
10226
- }), x instanceof Da && (v = $l(x, y), bu({
10230
+ }), x instanceof Oa && (v = $l(x, y), bu({
10227
10231
  chart: x,
10228
10232
  chartConfig: y,
10229
10233
  legend: v,
@@ -10301,7 +10305,7 @@ function lx(t, e) {
10301
10305
  function Xe(t, e) {
10302
10306
  return ha(t, e);
10303
10307
  }
10304
- function Xi(t, e) {
10308
+ function Yi(t, e) {
10305
10309
  ga(t, e);
10306
10310
  }
10307
10311
  const L = {
@@ -10467,9 +10471,9 @@ function sf(t) {
10467
10471
  const { axis: e, defaultOutput: i, dataItem: a } = t;
10468
10472
  let o = i;
10469
10473
  const n = Ke(e.uid, "categoryFormatter"), s = Ke(e.uid, "numberFormatter");
10470
- if ((s !== void 0 || n !== void 0) && a instanceof Ra) {
10474
+ if ((s !== void 0 || n !== void 0) && a instanceof Ba) {
10471
10475
  const r = w(e.chart.uid, "config"), l = Y(r?.series), d = w(e.chart.uid, "rendererFieldNames");
10472
- let u = Ti({
10476
+ let u = ki({
10473
10477
  value: a.category,
10474
10478
  dataContext: a.dataContext,
10475
10479
  useRendererLabel: un(r, d),
@@ -10543,7 +10547,7 @@ function px(t) {
10543
10547
  e.renderer.labels.template.adapter.isEnabled("htmlOutput") && (e.renderer.labels.template.adapter.disableKey("htmlOutput"), e.renderer.labels.each((s) => {
10544
10548
  s.element instanceof Jg && s.element.removeChildren();
10545
10549
  }));
10546
- const o = { ...yi(i) }, n = [
10550
+ const o = { ...Si(i) }, n = [
10547
10551
  "year",
10548
10552
  "month",
10549
10553
  "day",
@@ -10575,7 +10579,7 @@ function bx(t, e, i, a) {
10575
10579
  };
10576
10580
  }
10577
10581
  function ql(t) {
10578
- const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = yi(i), s = w(e.chart.uid, "formatLocale");
10582
+ const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = Si(i), s = w(e.chart.uid, "formatLocale");
10579
10583
  Ze(e.uid, {
10580
10584
  numberFormatter: o ?? bx(
10581
10585
  n,
@@ -10926,7 +10930,7 @@ function sn(t, e, i) {
10926
10930
  function gf(t, e, i) {
10927
10931
  i !== void 0 && t.tooltip !== void 0 && (t.tooltip.getFillFromObject = !1, t.tooltip.background.fill = e), t.fill = i ?? e, t.fillOpacity = An(t.fill.toString()).alpha === 0 ? 0 : 1;
10928
10932
  }
10929
- function Aa(t, e) {
10933
+ function Ta(t, e) {
10930
10934
  t.stroke = e.stroke, t.strokeOpacity = e.stroke.alpha === 0 ? 0 : 1, t.strokeDasharray = e.strokeDasharray, t.strokeLinecap = e.strokeLinecap, t.strokeWidth = e.strokeWidth;
10931
10935
  }
10932
10936
  function wr(t) {
@@ -10936,7 +10940,7 @@ function wr(t) {
10936
10940
  symbol: i,
10937
10941
  defaultToColorFromRamp: o,
10938
10942
  colorRampIndex: n
10939
- }), s !== void 0 && (e.path = s.path, e.rotation = s.angle, e.dx = s.xOffset, e.dy = s.yOffset, gf(e, s.fill), Aa(e, s.outline)), le(e, a), e.disabled = a === !1) : e.disabled = !0, s;
10943
+ }), s !== void 0 && (e.path = s.path, e.rotation = s.angle, e.dx = s.xOffset, e.dy = s.yOffset, gf(e, s.fill), Ta(e, s.outline)), le(e, a), e.disabled = a === !1) : e.disabled = !0, s;
10940
10944
  }
10941
10945
  function Ji(t) {
10942
10946
  const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
@@ -10945,7 +10949,7 @@ function Ji(t) {
10945
10949
  symbol: i,
10946
10950
  defaultToColorFromRamp: o,
10947
10951
  colorRampIndex: n
10948
- }), s !== void 0 && Aa(e, s), le(e, a)) : le(e, !1), s;
10952
+ }), s !== void 0 && Ta(e, s), le(e, a)) : le(e, !1), s;
10949
10953
  }
10950
10954
  function po(t) {
10951
10955
  const { element: e, fillSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n, isChartFillSymbol: s } = t;
@@ -10961,7 +10965,7 @@ function po(t) {
10961
10965
  colorRampIndex: n,
10962
10966
  isChartFillSymbol: s,
10963
10967
  chartBackgroundColor: l
10964
- }), r !== void 0 && (gf(e, r.fill, r.pattern), Aa(e, r.outline)), e.disabled = a === !1;
10968
+ }), r !== void 0 && (gf(e, r.fill, r.pattern), Ta(e, r.outline)), e.disabled = a === !1;
10965
10969
  } else
10966
10970
  e.disabled = !0;
10967
10971
  return r;
@@ -11101,16 +11105,16 @@ function Nx(t) {
11101
11105
  }
11102
11106
  function bf(t) {
11103
11107
  let e = "";
11104
- return t instanceof xi ? e = t.dataFields?.categoryX ?? t.dataFields?.dateX ?? t.dataFields?.valueX ?? "" : t instanceof Wt && (e = t.dataFields?.category ?? ""), e;
11108
+ return t instanceof vi ? e = t.dataFields?.categoryX ?? t.dataFields?.dateX ?? t.dataFields?.valueX ?? "" : t instanceof Wt && (e = t.dataFields?.category ?? ""), e;
11105
11109
  }
11106
11110
  function yf(t) {
11107
11111
  let e = "";
11108
- return t instanceof xi ? e = t.dataFields?.categoryY ?? t.dataFields?.dateY ?? t.dataFields?.valueY ?? "" : t instanceof Wt && (e = t.dataFields?.value ?? ""), e;
11112
+ return t instanceof vi ? e = t.dataFields?.categoryY ?? t.dataFields?.dateY ?? t.dataFields?.valueY ?? "" : t instanceof Wt && (e = t.dataFields?.value ?? ""), e;
11109
11113
  }
11110
11114
  function Sf(t) {
11111
11115
  return w(t.chart.uid, "isRotated") === !0 ? yf(t) : bf(t);
11112
11116
  }
11113
- function Ki(t) {
11117
+ function Qi(t) {
11114
11118
  return w(t.chart.uid, "isRotated") === !0 ? bf(t) : yf(t);
11115
11119
  }
11116
11120
  function Vn(t, e = 0) {
@@ -11125,7 +11129,7 @@ function bo(t) {
11125
11129
  iLocale: a,
11126
11130
  formatLocale: o
11127
11131
  });
11128
- return typeof e == "number" && i.type === S.NumberAxisFormat ? n = s.format(e, yi(i)) : (typeof e == "number" || e instanceof Date) && i.type === S.DateAxisFormat && (n = s.format(e, yi(i))), n;
11132
+ return typeof e == "number" && i.type === S.NumberAxisFormat ? n = s.format(e, Si(i)) : (typeof e == "number" || e instanceof Date) && i.type === S.DateAxisFormat && (n = s.format(e, Si(i))), n;
11129
11133
  }
11130
11134
  function Rt(t) {
11131
11135
  const { chart: e, config: i } = t;
@@ -11243,7 +11247,7 @@ function $s(t, e) {
11243
11247
  (i, a) => {
11244
11248
  let o = i;
11245
11249
  const { dataItem: n } = a;
11246
- if (ho(t) && (e instanceof Qe && n instanceof tr || e instanceof ye && n instanceof Ga)) {
11250
+ if (ho(t) && (e instanceof Qe && n instanceof tr || e instanceof ye && n instanceof Xa)) {
11247
11251
  const s = Je(
11248
11252
  e.uid,
11249
11253
  e instanceof Qe ? "barSeriesDataLabelFormatter" : "lineSeriesDataLabelFormatter"
@@ -11337,7 +11341,7 @@ function Af(t, e) {
11337
11341
  let i;
11338
11342
  return t instanceof Ee ? i = e === !0 ? "dateY" : "dateX" : t instanceof st ? i = e === !0 ? "categoryY" : "categoryX" : i = e === !0 ? "valueY" : "valueX", i;
11339
11343
  }
11340
- function _a(t, e) {
11344
+ function Za(t, e) {
11341
11345
  t.name = e;
11342
11346
  }
11343
11347
  function Dr(t) {
@@ -11405,7 +11409,7 @@ function Yx(t, e) {
11405
11409
  function Ux(t, e) {
11406
11410
  let i = 0;
11407
11411
  if (t !== void 0 && e !== void 0) {
11408
- const a = wi(e.series), o = Y(e.series), n = mi(e);
11412
+ const a = Di(e.series), o = Y(e.series), n = mi(e);
11409
11413
  t.data.forEach((s) => {
11410
11414
  switch (o) {
11411
11415
  case P.BoxPlotMonoField:
@@ -11434,7 +11438,7 @@ function Kl() {
11434
11438
  return (t) => {
11435
11439
  const e = w(t.chart.uid, "config");
11436
11440
  let i = !1;
11437
- if (e !== void 0 && t instanceof xi) {
11441
+ if (e !== void 0 && t instanceof vi) {
11438
11442
  const a = Ux(t.chart, e);
11439
11443
  let o = 0, n = 0, s = 0, r = 0, l = 0;
11440
11444
  t.chart.series.values.forEach((c) => {
@@ -11443,7 +11447,7 @@ function Kl() {
11443
11447
  else if (c instanceof ye && !(c instanceof St)) {
11444
11448
  const m = We(c);
11445
11449
  if (m !== void 0 && !m.disabled) {
11446
- const g = m.clones.values.filter((h) => !(h.dataItem instanceof _i))?.length ?? 0;
11450
+ const g = m.clones.values.filter((h) => !(h.dataItem instanceof Zi))?.length ?? 0;
11447
11451
  if (Je(c.uid, "isBoxPlotMeanLineSeries") === !0) {
11448
11452
  r += g;
11449
11453
  const h = c.data.filter(
@@ -11608,7 +11612,7 @@ function Rr(t, e) {
11608
11612
  return t.values.filter((i) => {
11609
11613
  let a = !1;
11610
11614
  const o = !i.isActive;
11611
- if (!(i.dataItem instanceof _i)) {
11615
+ if (!(i.dataItem instanceof Zi)) {
11612
11616
  i.isActive = !i.isActive;
11613
11617
  const s = w(e.uid, "filterBySelection") !== !0 && o;
11614
11618
  Ht({ element: i, selected: s }), a = o;
@@ -11620,7 +11624,7 @@ function Ql(t, e) {
11620
11624
  let i = [];
11621
11625
  const { columns: a, chart: o } = t, n = w(o.uid, "config");
11622
11626
  if (n && a !== void 0 && t.visible) {
11623
- const s = n?.series[0].x, r = t?.dataFields?.customValue ?? "", l = Vn(t, e), d = Hn(t, n), u = l === S.BoxPlotSeries ? d?.y : Ki(t), c = {
11627
+ const s = n?.series[0].x, r = t?.dataFields?.customValue ?? "", l = Vn(t, e), d = Hn(t, n), u = l === S.BoxPlotSeries ? d?.y : Qi(t), c = {
11624
11628
  element: {},
11625
11629
  yAxisField: u,
11626
11630
  xAxisField: s,
@@ -11646,7 +11650,7 @@ function Jl(t, e) {
11646
11650
  if (a !== void 0) {
11647
11651
  const { chart: o } = t, n = w(o.uid, "config");
11648
11652
  if (n) {
11649
- const s = n.series[0].x ?? "", r = Ki(t), l = t?.dataFields?.customValue ?? "", d = {
11653
+ const s = n.series[0].x ?? "", r = Qi(t), l = t?.dataFields?.customValue ?? "", d = {
11650
11654
  element: {},
11651
11655
  xAxisField: s,
11652
11656
  yAxisField: r,
@@ -11672,7 +11676,7 @@ function Kx(t) {
11672
11676
  if (t.visible) {
11673
11677
  const { chart: i } = t, a = w(i.uid, "config");
11674
11678
  if (a) {
11675
- const o = Sf(t), n = Ki(t), s = {
11679
+ const o = Sf(t), n = Qi(t), s = {
11676
11680
  element: {},
11677
11681
  xAxisField: o,
11678
11682
  yAxisField: n,
@@ -11683,7 +11687,7 @@ function Kx(t) {
11683
11687
  e = Rr(t.slices, i).map(
11684
11688
  (l) => {
11685
11689
  const d = l.dataItem?.dataContext ?? {};
11686
- return Ai(d) && (r = Lo({
11690
+ return Ti(d) && (r = Lo({
11687
11691
  groupOfSlicesDataContext: d
11688
11692
  })), {
11689
11693
  ...s,
@@ -11732,8 +11736,8 @@ async function $f(t) {
11732
11736
  chartConfig: s
11733
11737
  }).forEach((m, g) => {
11734
11738
  const h = Hn(m, s);
11735
- if (s && m.visible && m instanceof xi) {
11736
- const b = Vn(m, g) === S.BoxPlotSeries ? h?.y : Ki(m), y = m.dataFields?.customValue ?? "", C = {
11739
+ if (s && m.visible && m instanceof vi) {
11740
+ const b = Vn(m, g) === S.BoxPlotSeries ? h?.y : Qi(m), y = m.dataFields?.customValue ?? "", C = {
11737
11741
  element: {},
11738
11742
  yAxisField: b,
11739
11743
  xAxisField: r,
@@ -11743,7 +11747,7 @@ async function $f(t) {
11743
11747
  };
11744
11748
  let x;
11745
11749
  m instanceof Qe || m instanceof Ue ? x = m.columns?.values : m instanceof St ? x = m.segments.values : m instanceof ye && (x = We(m)?.clones?.values, C.uniqueFeature = !0), x !== void 0 && (d = [...d, ...x], x.forEach((v, F) => {
11746
- if (!(v.dataItem instanceof _i)) {
11750
+ if (!(v.dataItem instanceof Zi)) {
11747
11751
  const T = v.isActive, k = v === n || Zx(v, i);
11748
11752
  k && (u = !1);
11749
11753
  let $ = !1;
@@ -11851,7 +11855,7 @@ function iv(t) {
11851
11855
  e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(M.Hit), e.slices.template.events.enableType(M.DoubleHit), e.labels.template.clickable = !0, e.labels.template.togglable = !0, e.labels.template.events.enableType(M.Hit), e.labels.template.events.enableType(M.DoubleHit));
11852
11856
  } else t instanceof me && (t.xAxes.each((e) => ln(e, !1)), t.yAxes.each((e) => ln(e, !1)), t.events.enableType(M.Up));
11853
11857
  }
11854
- function Yi(t) {
11858
+ function Ui(t) {
11855
11859
  const { element: e, stylingInfo: i, stateKey: a = "default" } = t;
11856
11860
  if (e !== void 0 && i !== void 0) {
11857
11861
  const o = e.states.getKey(a)?.properties ?? e.defaultState.properties;
@@ -11915,12 +11919,12 @@ function Df(t, e) {
11915
11919
  );
11916
11920
  if (l !== void 0 && e.isReady()) {
11917
11921
  const { dataItem: d } = a;
11918
- if (d instanceof tr || d instanceof Ga) {
11922
+ if (d instanceof tr || d instanceof Xa) {
11919
11923
  const u = s?.series.find((c) => c.id === e.id);
11920
11924
  if (u !== void 0) {
11921
11925
  const c = Rt({ config: s }), m = c ? d.valueX : d.valueY, g = (c ? d.values.valueX.totalPercent : d.values.valueY.totalPercent) / 100, h = d.dataContext ?? {};
11922
11926
  if (h !== void 0) {
11923
- const p = w(n.uid, "rendererFieldNames"), b = Ti({
11927
+ const p = w(n.uid, "rendererFieldNames"), b = ki({
11924
11928
  value: h[u.x],
11925
11929
  dataContext: h,
11926
11930
  useRendererLabel: un(s, p),
@@ -12051,7 +12055,7 @@ function Of(t) {
12051
12055
  } = t;
12052
12056
  let d;
12053
12057
  const u = w(s.chart.uid, "formatLocale");
12054
- return /* case 1: time binning chart */ Wa({
12058
+ return /* case 1: time binning chart */ Ea({
12055
12059
  seriesConfig: e,
12056
12060
  xAxisValueFormatType: i?.type,
12057
12061
  setTimeBinningInfoWhenNotProvided: a
@@ -12082,7 +12086,7 @@ function rv(t) {
12082
12086
  if (h === !1 || p === !1)
12083
12087
  c = () => "";
12084
12088
  else {
12085
- const b = g.axes, y = b[0].valueFormat, C = b[1].valueFormat, x = Y(g.series), v = Kt(g) === De.Stacked100, F = Ui(ut(a)).idField, T = Ve(i, s.x), k = Ma(T, b[0].title?.content.text), $ = Yc({
12089
+ const b = g.axes, y = b[0].valueFormat, C = b[1].valueFormat, x = Y(g.series), v = Kt(g) === De.Stacked100, F = qi(ut(a)).idField, T = Ve(i, s.x), k = Va(T, b[0].title?.content.text), $ = Yc({
12086
12090
  config: g,
12087
12091
  fieldList: i,
12088
12092
  objectIdField: F,
@@ -12128,7 +12132,7 @@ function rv(t) {
12128
12132
  case P.BarAndLineSplitByNoAggregation:
12129
12133
  case P.BarAndLineSplitBy:
12130
12134
  {
12131
- const te = Ii(s.query?.where, !1), se = vd({
12135
+ const te = $i(s.query?.where, !1), se = vd({
12132
12136
  value: Ve(i, te)
12133
12137
  });
12134
12138
  oe.push(
@@ -12189,10 +12193,10 @@ function lv(t) {
12189
12193
  if (d !== void 0) {
12190
12194
  const u = l?.dataContext ?? {};
12191
12195
  if (u !== void 0) {
12192
- const c = Ti({
12196
+ const c = ki({
12193
12197
  value: u[d.x],
12194
12198
  dataContext: u,
12195
- useRendererLabel: $i(a),
12199
+ useRendererLabel: wi(a),
12196
12200
  specificField: z.xAxisField
12197
12201
  });
12198
12202
  let m = li(u);
@@ -12214,15 +12218,15 @@ function dv(t) {
12214
12218
  const r = o.dataItems.values.find(
12215
12219
  (l) => (l.categories.categoryX ?? l.categories.categoryY) === (e.dataItem?.categories.categoryX ?? e.dataItem?.categories.categoryY)
12216
12220
  );
12217
- if (r instanceof Ga) {
12221
+ if (r instanceof Xa) {
12218
12222
  const l = a.series.find((d) => d.id === o.id);
12219
12223
  if (l !== void 0) {
12220
12224
  const d = r.dataContext ?? {};
12221
12225
  if (d !== void 0) {
12222
- const u = Ti({
12226
+ const u = ki({
12223
12227
  value: d[l.x],
12224
12228
  dataContext: d,
12225
- useRendererLabel: $i(a),
12229
+ useRendererLabel: wi(a),
12226
12230
  specificField: z.xAxisField
12227
12231
  });
12228
12232
  let c = li(d);
@@ -12250,10 +12254,10 @@ function cv(t) {
12250
12254
  if (l !== void 0) {
12251
12255
  const d = r.dataContext ?? {};
12252
12256
  if (d !== void 0) {
12253
- const u = Ti({
12257
+ const u = ki({
12254
12258
  value: d[l.x],
12255
12259
  dataContext: d,
12256
- useRendererLabel: $i(a),
12260
+ useRendererLabel: wi(a),
12257
12261
  specificField: z.xAxisField
12258
12262
  });
12259
12263
  let c = li(d);
@@ -12305,7 +12309,7 @@ function mv(t) {
12305
12309
  })
12306
12310
  ));
12307
12311
  }
12308
- function Pi(t) {
12312
+ function Mi(t) {
12309
12313
  const { label: e, value: i, strongColon: a, useTable: o } = t, n = `<b>${e}${a}</b> ${i}`;
12310
12314
  return o !== !1 ? `<tr><td>${n}</td></tr>` : n;
12311
12315
  }
@@ -12346,7 +12350,7 @@ function gv(t) {
12346
12350
  case Z.StandardDeviation:
12347
12351
  }
12348
12352
  xa(y) || c.push(
12349
- Pi({
12353
+ Mi({
12350
12354
  label: y,
12351
12355
  value: b,
12352
12356
  strongColon: u,
@@ -12363,12 +12367,12 @@ function hv(t) {
12363
12367
  if (r !== void 0) {
12364
12368
  const l = w(r.uid, "config");
12365
12369
  if (l !== void 0) {
12366
- const d = l.axes, u = d?.[0].valueFormat, { showMean: c } = l, m = Y(l.series), g = Ii(a.query?.where), h = Ve(i, g), p = ki({
12370
+ const d = l.axes, u = d?.[0].valueFormat, { showMean: c } = l, m = Y(l.series), g = $i(a.query?.where), h = Ve(i, g), p = Ii({
12367
12371
  where: a.query?.where,
12368
12372
  escape: !1
12369
12373
  }), b = Ve(i, a.x);
12370
12374
  let y;
12371
- a.x !== Hs && (y = Ma(b, d?.[0].title?.content.text));
12375
+ a.x !== Hs && (y = Va(b, d?.[0].title?.content.text));
12372
12376
  const C = Nt(r.rtl);
12373
12377
  s = (x) => {
12374
12378
  const { dataContext: v, xValue: F } = x, T = Of({
@@ -12385,7 +12389,7 @@ function hv(t) {
12385
12389
  if (T !== void 0 && !xa(T)) {
12386
12390
  const H = m === P.BoxPlotMonoField ? a.name ?? $ : $;
12387
12391
  k.push(
12388
- Pi({
12392
+ Mi({
12389
12393
  label: o.field,
12390
12394
  strongColon: C,
12391
12395
  value: H
@@ -12393,7 +12397,7 @@ function hv(t) {
12393
12397
  );
12394
12398
  }
12395
12399
  he(h) || k.push(
12396
- Pi({
12400
+ Mi({
12397
12401
  label: h,
12398
12402
  strongColon: C,
12399
12403
  value: a.name ?? p?.toString()
@@ -12404,13 +12408,13 @@ function hv(t) {
12404
12408
  case P.BoxPlotMonoFieldAndCategory:
12405
12409
  case P.BoxPlotMultiFieldsAndCategory: {
12406
12410
  k.push(
12407
- Pi({
12411
+ Mi({
12408
12412
  label: o.field,
12409
12413
  strongColon: C,
12410
12414
  value: a.name ?? O
12411
12415
  })
12412
12416
  ), T !== void 0 && !xa(T) && k.push(
12413
- Pi({
12417
+ Mi({
12414
12418
  label: y,
12415
12419
  strongColon: C,
12416
12420
  value: $
@@ -12420,19 +12424,19 @@ function hv(t) {
12420
12424
  }
12421
12425
  case P.BoxPlotMonoFieldAndCategoryAndSplitBy:
12422
12426
  k.push(
12423
- Pi({
12427
+ Mi({
12424
12428
  label: o.field,
12425
12429
  strongColon: C,
12426
12430
  value: O
12427
12431
  })
12428
12432
  ), T !== void 0 && !xa(T) && k.push(
12429
- Pi({
12433
+ Mi({
12430
12434
  label: y,
12431
12435
  strongColon: C,
12432
12436
  value: $
12433
12437
  })
12434
12438
  ), he(h) || k.push(
12435
- Pi({
12439
+ Mi({
12436
12440
  label: h,
12437
12441
  strongColon: C,
12438
12442
  value: a.name ?? p?.toString()
@@ -12463,7 +12467,7 @@ function pv(t) {
12463
12467
  }
12464
12468
  function bv(t) {
12465
12469
  const e = ui(L.dataLabelInitialize);
12466
- return Xi(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Lf(e), Cf(S.LineSeries, e), xf(S.LineSeries, e), $s(e, t), e.html = "{valueX}", e;
12470
+ return Yi(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Lf(e), Cf(S.LineSeries, e), xf(S.LineSeries, e), $s(e, t), e.html = "{valueX}", e;
12467
12471
  }
12468
12472
  function yv(t) {
12469
12473
  const { series: e } = t, i = Is(e, "bullets");
@@ -12579,7 +12583,7 @@ function Av(t) {
12579
12583
  });
12580
12584
  }
12581
12585
  function Tv(t) {
12582
- Xi(t.valueLabels.template.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapter.add("htmlOutput", (e, i) => {
12586
+ Yi(t.valueLabels.template.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapter.add("htmlOutput", (e, i) => {
12583
12587
  let a = e;
12584
12588
  const o = nx(
12585
12589
  t.uid,
@@ -12653,7 +12657,7 @@ function kv(t) {
12653
12657
  }
12654
12658
  function Iv(t) {
12655
12659
  const { dataContext: e } = t.target.dataItem ?? {};
12656
- if (e instanceof vi) {
12660
+ if (e instanceof Li) {
12657
12661
  const { component: i } = e;
12658
12662
  i instanceof Wt && i.showTooltip();
12659
12663
  }
@@ -12679,7 +12683,7 @@ function ed(t, e) {
12679
12683
  const { legendLabelReducedOpacity: i } = L.legendProperties;
12680
12684
  t !== void 0 && (t.fillOpacity = e === !1 ? i : 1);
12681
12685
  }
12682
- function Ja(t) {
12686
+ function eo(t) {
12683
12687
  const { labels: e, seriesId: i, sliceCategory: a } = t;
12684
12688
  e.each((o) => {
12685
12689
  a !== void 0 ? a === o.dataItem.category && ed(o, o.dataItem.slice.visible ?? !0) : i === o.dataItem?.component?.id && ed(o, o.dataItem?.component?.visible ?? !0);
@@ -12688,25 +12692,25 @@ function Ja(t) {
12688
12692
  function Mr(t) {
12689
12693
  t instanceof Wt ? (t.slices.template.events.on(M.Shown, (e) => {
12690
12694
  const i = e.target.dataItem.category;
12691
- Ja({
12695
+ eo({
12692
12696
  labels: t.chart?.legend?.labels,
12693
12697
  sliceCategory: i
12694
- }), Ja({
12698
+ }), eo({
12695
12699
  labels: t.chart?.legend?.valueLabels,
12696
12700
  sliceCategory: i
12697
12701
  });
12698
12702
  }), t.slices.template.events.on(M.Hidden, (e) => {
12699
12703
  const i = e.target.dataItem.category;
12700
- Ja({
12704
+ eo({
12701
12705
  labels: t.chart?.legend?.labels,
12702
12706
  sliceCategory: i
12703
- }), Ja({
12707
+ }), eo({
12704
12708
  labels: t.chart?.legend?.valueLabels,
12705
12709
  sliceCategory: i
12706
12710
  });
12707
12711
  })) : t.events.on(M.VisibilityChanged, (e) => {
12708
12712
  const i = e.target.id;
12709
- Ja({ labels: t.chart?.legend?.labels, seriesId: i });
12713
+ eo({ labels: t.chart?.legend?.labels, seriesId: i });
12710
12714
  });
12711
12715
  }
12712
12716
  function Mf(t) {
@@ -12799,7 +12803,7 @@ function Nv(t, e) {
12799
12803
  const i = t.target.dataItem, a = t.target.isActive;
12800
12804
  if (i?.dataContext !== void 0) {
12801
12805
  const { dataContext: o } = i, n = { visible: a };
12802
- if (o instanceof vi)
12806
+ if (o instanceof Li)
12803
12807
  w(e.uid, "isNonAggregatedChart") === !0 ? n.sliceData = o.dataContext : n.sliceId = o.category;
12804
12808
  else if (o instanceof Ue) {
12805
12809
  const r = o.id, l = $o(e, r);
@@ -12814,9 +12818,9 @@ function Nv(t, e) {
12814
12818
  d !== void 0 && le(d, a), u !== void 0 && le(u, a), c !== void 0 && le(c, a), n.seriesId = o.id;
12815
12819
  } else
12816
12820
  n.seriesId = o.id;
12817
- const s = o instanceof vi ? o.component : o;
12818
- (s instanceof xi || s instanceof Wt) && s.events.once(M.Validated, () => {
12819
- s instanceof xi && (Kf(s), s.events.dispatchImmediately(M.Validated, {
12821
+ const s = o instanceof Li ? o.component : o;
12822
+ (s instanceof vi || s instanceof Wt) && s.events.once(M.Validated, () => {
12823
+ s instanceof vi && (Kf(s), s.events.dispatchImmediately(M.Validated, {
12820
12824
  type: M.Validated,
12821
12825
  target: s
12822
12826
  }));
@@ -12826,7 +12830,7 @@ function Nv(t, e) {
12826
12830
  ), d = l !== void 0 && l.length > 0, u = w(e.uid, "actionMode") ?? L.actionMode;
12827
12831
  let c;
12828
12832
  s instanceof Qe ? c = s.columns : r ? c = s.slices : s instanceof ye && (Bv(s), c = We(s)?.clones), c?.each((m) => {
12829
- m.dataItem instanceof _i || (Ht({
12833
+ m.dataItem instanceof Zi || (Ht({
12830
12834
  element: m,
12831
12835
  selected: m.isActive,
12832
12836
  useNativeState: r,
@@ -12926,7 +12930,7 @@ function Vo(t, e) {
12926
12930
  let a = i;
12927
12931
  const o = t.dataItem?.dataContext;
12928
12932
  if (o !== void 0) {
12929
- const n = o instanceof vi ? o.component?.chart : o.chart;
12933
+ const n = o instanceof Li ? o.component?.chart : o.chart;
12930
12934
  if (n !== void 0) {
12931
12935
  const s = w(n.uid, "config"), { rectangleMarkerRadius: r, roundedMarkerRadius: l } = L.legendProperties;
12932
12936
  a = s?.legend?.roundMarkers === !0 ? l : r;
@@ -13028,10 +13032,10 @@ function Zv(t) {
13028
13032
  selectionTheme: r,
13029
13033
  ignoreSmoothRenderingLimit: l
13030
13034
  } = t, d = i.series.length, { rotated: u } = i, c = i.series[a], { y: m, name: g, id: h, assignToSecondValueAxis: p } = c, b = new ye();
13031
- b.id = h, ya(b, s), _a(b, g);
13035
+ b.id = h, ya(b, s), Za(b, g);
13032
13036
  let y, C;
13033
13037
  u !== !0 ? (y = o[0], C = p === !0 && o[2] ? o[2] : o[1]) : (y = p === !0 && o[2] ? o[2] : o[0], C = o[1]), y !== void 0 && (b.xAxis = y), C !== void 0 && (b.yAxis = C);
13034
- const x = Rt({ chart: e }), v = Y(i.series), F = v === P.BarAndLineSplitByNoAggregation ? `${m.toString()}_${ki({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [m].flat()[0];
13038
+ const x = Rt({ chart: e }), v = Y(i.series), F = v === P.BarAndLineSplitByNoAggregation ? `${m.toString()}_${Ii({ where: c.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [m].flat()[0];
13035
13039
  x ? b.dataFields.valueX = F : b.dataFields.valueY = F;
13036
13040
  const T = x ? o[1] : o[0];
13037
13041
  if (T !== void 0) {
@@ -13068,7 +13072,7 @@ function Kv(t) {
13068
13072
  const m = /* @__PURE__ */ new Set();
13069
13073
  let g;
13070
13074
  wr({ element: l, markerSymbol: c }), l.clones.each((h) => {
13071
- if (h.dataItem instanceof _i)
13075
+ if (h.dataItem instanceof Zi)
13072
13076
  h.states.getKey(it.CustomActive)?.reset(), h.states.getKey(it.CustomInactive)?.reset();
13073
13077
  else {
13074
13078
  const p = h.dataItem?.dataContext, b = $t({
@@ -13085,9 +13089,9 @@ function Kv(t) {
13085
13089
  colorMatch: n,
13086
13090
  rendererSymbol: b
13087
13091
  });
13088
- u = y.symbolWithColorInfo, g = y.stylingInfo, Yi({ element: h, stylingInfo: g }), m.add(JSON.stringify(g));
13092
+ u = y.symbolWithColorInfo, g = y.stylingInfo, Ui({ element: h, stylingInfo: g }), m.add(JSON.stringify(g));
13089
13093
  }
13090
- }), d = m.size > 1, d || Yi({ element: l, stylingInfo: g });
13094
+ }), d = m.size > 1, d || Ui({ element: l, stylingInfo: g });
13091
13095
  }
13092
13096
  return d ? void 0 : u;
13093
13097
  }
@@ -13183,9 +13187,9 @@ function eL(t) {
13183
13187
  (y === P.BarAndLineSplitBy || y === P.BarAndLineSplitByNoAggregation) && (C = Ws({
13184
13188
  subtypeInfo: s,
13185
13189
  fieldList: r,
13186
- fieldName: Ii(x),
13190
+ fieldName: $i(x),
13187
13191
  fieldValueToMatch: C
13188
- }) ?? C), _a(i, C), id(i, e), Or({ series: i, seriesConfig: e, rotationChanged: o, stackedType: l, isRotated: b }), id(i, e), En({
13192
+ }) ?? C), Za(i, C), id(i, e), Or({ series: i, seriesConfig: e, rotationChanged: o, stackedType: l, isRotated: b }), id(i, e), En({
13189
13193
  // TODO: Remove the type assertion and correct the typings
13190
13194
  styleCallback: zf,
13191
13195
  callbackProps: t,
@@ -13231,7 +13235,7 @@ function tL(t) {
13231
13235
  return c.hoverable = !0, ya(c, n), r || (ba({
13232
13236
  element: c.columns.template,
13233
13237
  customSelectionTheme: s
13234
- }), Io(e, c.columns.template)), c.id = l.id, d !== void 0 && (c.xAxis = d), u !== void 0 && (c.yAxis = u), c.simplifiedProcessing = !0, c.columns.template.applyOnClones = !0, c.riseFromOpenState.reset(), c.riseFromPreviousState.reset(), c.dropFromOpenState.reset(), c.dropFromPreviousState.reset(), _a(c, l.name), pa(c), c;
13238
+ }), Io(e, c.columns.template)), c.id = l.id, d !== void 0 && (c.xAxis = d), u !== void 0 && (c.yAxis = u), c.simplifiedProcessing = !0, c.columns.template.applyOnClones = !0, c.riseFromOpenState.reset(), c.riseFromPreviousState.reset(), c.dropFromOpenState.reset(), c.dropFromPreviousState.reset(), Za(c, l.name), pa(c), c;
13235
13239
  }
13236
13240
  function ls(t) {
13237
13241
  const { axisList: e = [], chartConfig: i, seriesIndex: a, type: o, hideLoaderHandle: n, selectionTheme: s } = t, r = i.series[a], [l, d] = e, u = new St();
@@ -13249,7 +13253,7 @@ function iL(t) {
13249
13253
  customSelectionTheme: s
13250
13254
  }), Io(e, m)), pa(c), c;
13251
13255
  }
13252
- function Za(t) {
13256
+ function Ka(t) {
13253
13257
  const {
13254
13258
  chartConfig: e,
13255
13259
  seriesConfig: i,
@@ -13330,7 +13334,7 @@ function aL(t) {
13330
13334
  const { chart: e, axisList: i = [], chartConfig: a, hideLoaderHandle: o, seriesIndex: n, selectionTheme: s } = t, r = a.series[n], [l, d] = i, u = new ye();
13331
13335
  ei(u.uid, { isBoxPlotMeanLineSeries: !0 }), ya(u, o), u.id = r.id, l !== void 0 && (u.xAxis = l), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0;
13332
13336
  const c = Dr({ chart: e, lineSeries: u });
13333
- return ba({ element: c, customSelectionTheme: s }), Io(e, c), pa(u), mv(u), Za({
13337
+ return ba({ element: c, customSelectionTheme: s }), Io(e, c), pa(u), mv(u), Ka({
13334
13338
  chartConfig: a,
13335
13339
  seriesConfig: r,
13336
13340
  meanLineSeries: u,
@@ -13350,7 +13354,7 @@ function oL(t) {
13350
13354
  ...t,
13351
13355
  type: fe.Bottom
13352
13356
  }), u = iL(t);
13353
- uv(s), fv(u, s), Za({
13357
+ uv(s), fv(u, s), Ka({
13354
13358
  chartConfig: e,
13355
13359
  seriesConfig: a,
13356
13360
  candleStickSeries: s,
@@ -13403,7 +13407,7 @@ function nL(t) {
13403
13407
  e.id
13404
13408
  );
13405
13409
  if (d !== void 0 && u !== void 0 && c !== void 0 && r.outline !== void 0) {
13406
- r.outline.strokeWidth = L.boxPlot.boxPlotLineWidth, Aa(d, r.outline), Aa(u, r.outline), Aa(c, r.outline);
13410
+ r.outline.strokeWidth = L.boxPlot.boxPlotLineWidth, Ta(d, r.outline), Ta(u, r.outline), Ta(c, r.outline);
13407
13411
  const m = i.visible !== !1;
13408
13412
  le(d, m), le(u, m), le(c, m);
13409
13413
  }
@@ -13470,8 +13474,8 @@ function rL(t) {
13470
13474
  }), d = c.symbolWithColorInfo, u = c.stylingInfo, m.add(JSON.stringify(d));
13471
13475
  }), g = m.size > 1, o > 1) {
13472
13476
  const p = e.legendDataItem?.marker.children.getIndex(0);
13473
- p !== void 0 ? Yi({ element: p, stylingInfo: u }) : e.chart.legend.events.once(M.Validated, () => {
13474
- Yi({
13477
+ p !== void 0 ? Ui({ element: p, stylingInfo: u }) : e.chart.legend.events.once(M.Validated, () => {
13478
+ Ui({
13475
13479
  element: e.legendDataItem?.marker.children.getIndex(0),
13476
13480
  stylingInfo: u
13477
13481
  }), e.chart.legend.invalidate();
@@ -13590,7 +13594,7 @@ function fL(t) {
13590
13594
  seriesReordered: d
13591
13595
  });
13592
13596
  }
13593
- Za({
13597
+ Ka({
13594
13598
  chartConfig: i,
13595
13599
  seriesConfig: a,
13596
13600
  outliersVisibilityChanged: u,
@@ -13613,7 +13617,7 @@ function mL(t) {
13613
13617
  outliersVisibilityChanged: d,
13614
13618
  standardizeValuesVisibilityChanged: u
13615
13619
  } = t;
13616
- _a(e, i?.name), Za({
13620
+ Za(e, i?.name), Ka({
13617
13621
  chartConfig: l,
13618
13622
  seriesConfig: i,
13619
13623
  meanLineSeries: e,
@@ -13638,7 +13642,7 @@ function gL(t) {
13638
13642
  outliersVisibilityChanged: n,
13639
13643
  standardizeValuesVisibilityChanged: s
13640
13644
  } = t;
13641
- _a(e, a?.name), e.hiddenInLegend = rt(i), Za({
13645
+ Za(e, a?.name), e.hiddenInLegend = rt(i), Ka({
13642
13646
  chartConfig: i,
13643
13647
  seriesConfig: a,
13644
13648
  candleStickSeries: e,
@@ -13660,7 +13664,7 @@ function hL(t) {
13660
13664
  e,
13661
13665
  o
13662
13666
  );
13663
- d !== void 0 && le(d, l), u !== void 0 && le(u, l), c !== void 0 && le(c, l), Za({
13667
+ d !== void 0 && le(d, l), u !== void 0 && le(u, l), c !== void 0 && le(c, l), Ka({
13664
13668
  chartConfig: i,
13665
13669
  seriesConfig: a,
13666
13670
  outliersVisibilityChanged: n,
@@ -13794,7 +13798,7 @@ function yL(t, e = !0) {
13794
13798
  }
13795
13799
  });
13796
13800
  }
13797
- function Ka(t) {
13801
+ function Qa(t) {
13798
13802
  const { chart: e, selectionSource: i, clearOnlyVisibleSeries: a, disposeStyleAndSelection: o } = t, n = w(
13799
13803
  e.uid,
13800
13804
  "currentSelectionDataItems"
@@ -13806,7 +13810,7 @@ function Ka(t) {
13806
13810
  computedSelectionDataItems: void 0,
13807
13811
  computedSelectionIndexes: void 0,
13808
13812
  pendingSelectionQueries: !1
13809
- }), Xt(e) && (e instanceof me ? yL(e, a ?? !0) : e instanceof Te && bL(e)), n && Ea({
13813
+ }), Xt(e) && (e instanceof me ? yL(e, a ?? !0) : e instanceof Te && bL(e)), n && Ha({
13810
13814
  data: {
13811
13815
  selectionSource: i ?? Pe.ClearSelection
13812
13816
  },
@@ -13814,7 +13818,7 @@ function Ka(t) {
13814
13818
  });
13815
13819
  }
13816
13820
  function SL(t) {
13817
- $d(), wd(t.htmlContainer), Ka({ chart: t });
13821
+ $d(), wd(t.htmlContainer), Qa({ chart: t });
13818
13822
  }
13819
13823
  function CL(t) {
13820
13824
  const { chart: e, chartType: i, showMean: a } = t;
@@ -13828,7 +13832,7 @@ function xL(t) {
13828
13832
  function Xf(t, e) {
13829
13833
  const i = w(t.uid, "actionMode");
13830
13834
  if ((i === j.MonoSelection || i === j.None) && e.length > 1)
13831
- Ka({ chart: t });
13835
+ Qa({ chart: t });
13832
13836
  else {
13833
13837
  const o = t instanceof Te;
13834
13838
  e.forEach((n) => {
@@ -13851,11 +13855,11 @@ function vL(t) {
13851
13855
  layerOidField: r,
13852
13856
  xAxisField: l,
13853
13857
  yAxisField: d
13854
- } = t, u = E(i.series), c = Y(i.series), m = mi(i), g = w(e.uid, "queryObject"), h = [], p = [], b = [], y = wi(i.series), C = a instanceof xi ? a.dataFields?.customValue ?? "" : "";
13858
+ } = t, u = E(i.series), c = Y(i.series), m = mi(i), g = w(e.uid, "queryObject"), h = [], p = [], b = [], y = Di(i.series), C = a instanceof vi ? a.dataFields?.customValue ?? "" : "";
13855
13859
  return n.forEach((x) => {
13856
- if (!(x instanceof _i)) {
13860
+ if (!(x instanceof Zi)) {
13857
13861
  let v = x.dataItem?.dataContext;
13858
- if (v !== void 0 && (u === S.BoxPlotSeries && v[L.boxPlot.boxPlotOutlierId] !== !0 || c === P.BarAndLineMultiFields) && (v = Li({
13862
+ if (v !== void 0 && (u === S.BoxPlotSeries && v[L.boxPlot.boxPlotOutlierId] !== !0 || c === P.BarAndLineMultiFields) && (v = Fi({
13859
13863
  dataContext: v,
13860
13864
  yAxisField: d,
13861
13865
  yList: y,
@@ -13864,7 +13868,7 @@ function vL(t) {
13864
13868
  chartType: u,
13865
13869
  chartSubType: c,
13866
13870
  showOutliers: m,
13867
- isFeatureCollectionLayer: Si(g)
13871
+ isFeatureCollectionLayer: Ci(g)
13868
13872
  })), kn({
13869
13873
  elementDataContext: v,
13870
13874
  options: o,
@@ -13877,11 +13881,11 @@ function vL(t) {
13877
13881
  chartSubType: c,
13878
13882
  showOutliers: m
13879
13883
  }))
13880
- if (h.push(x), x.dataItem !== void 0 && p.push(x.dataItem.index), x?.dataItem instanceof Ga && v !== void 0)
13884
+ if (h.push(x), x.dataItem !== void 0 && p.push(x.dataItem.index), x?.dataItem instanceof Xa && v !== void 0)
13881
13885
  b.push(v);
13882
13886
  else {
13883
13887
  const T = /* @__PURE__ */ new Set();
13884
- u === S.PieSeries && Ai(v) ? (Lo({
13888
+ u === S.PieSeries && Ti(v) ? (Lo({
13885
13889
  groupOfSlicesDataContext: v
13886
13890
  }) ?? []).forEach(($) => {
13887
13891
  s.forEach((D) => {
@@ -13893,7 +13897,7 @@ function vL(t) {
13893
13897
  }) && T.add($);
13894
13898
  });
13895
13899
  }) : T.add(v), Array.from(T)?.forEach((k) => {
13896
- const $ = Li({
13900
+ const $ = Fi({
13897
13901
  dataContext: k,
13898
13902
  yAxisField: d,
13899
13903
  yList: y,
@@ -13902,7 +13906,7 @@ function vL(t) {
13902
13906
  chartType: u,
13903
13907
  chartSubType: c,
13904
13908
  showOutliers: m,
13905
- isFeatureCollectionLayer: Si(g)
13909
+ isFeatureCollectionLayer: Ci(g)
13906
13910
  });
13907
13911
  $ !== void 0 && b.push($);
13908
13912
  });
@@ -13917,10 +13921,10 @@ function vL(t) {
13917
13921
  }), Xf(e, h), { selectedIndexes: p, newSelectionDataItems: b };
13918
13922
  }
13919
13923
  function LL(t, e) {
13920
- const i = [], a = [], o = w(t.uid, "config"), n = w(t.uid, "queryObject"), s = mi(o), r = wi(o?.series ?? []), l = Y(o?.series);
13924
+ const i = [], a = [], o = w(t.uid, "config"), n = w(t.uid, "queryObject"), s = mi(o), r = Di(o?.series ?? []), l = Y(o?.series);
13921
13925
  return t.series.each((d, u) => {
13922
13926
  if (o && d.visible) {
13923
- const c = o.series[0].x, m = Ki(d), g = d instanceof xi ? d.dataFields?.customValue ?? "" : "", h = Vn(d, u), p = e.get(u);
13927
+ const c = o.series[0].x, m = Qi(d), g = d instanceof vi ? d.dataFields?.customValue ?? "" : "", h = Vn(d, u), p = e.get(u);
13924
13928
  if (p !== void 0) {
13925
13929
  let b;
13926
13930
  if (d instanceof Qe ? b = d.columns : d instanceof Wt ? b = d.slices : b = We(d)?.clones, b !== void 0) {
@@ -13928,7 +13932,7 @@ function LL(t, e) {
13928
13932
  b.each((C, x) => {
13929
13933
  if (C && (y === void 0 || y.includes(x))) {
13930
13934
  let v;
13931
- h === S.BoxPlotSeries && C.dataItem instanceof Ga ? v = C.dataItem.dataContext : C.dataItem instanceof _i || (v = Li({
13935
+ h === S.BoxPlotSeries && C.dataItem instanceof Xa ? v = C.dataItem.dataContext : C.dataItem instanceof Zi || (v = Fi({
13932
13936
  dataContext: C.dataItem?.dataContext,
13933
13937
  yList: r,
13934
13938
  yAxisField: m,
@@ -13937,7 +13941,7 @@ function LL(t, e) {
13937
13941
  chartType: h,
13938
13942
  chartSubType: l,
13939
13943
  showOutliers: s,
13940
- isFeatureCollectionLayer: Si(n)
13944
+ isFeatureCollectionLayer: Ci(n)
13941
13945
  })), v !== void 0 && i.push(v), a.push(C);
13942
13946
  } else
13943
13947
  Ht({
@@ -14015,7 +14019,7 @@ function AL(t) {
14015
14019
  let k;
14016
14020
  if (a !== void 0) {
14017
14021
  const N = ut(a);
14018
- k = Ui(N).idField;
14022
+ k = qi(N).idField;
14019
14023
  }
14020
14024
  const $ = w(
14021
14025
  b.uid,
@@ -14035,7 +14039,7 @@ function AL(t) {
14035
14039
  isPieFromFields: T === P.PieFromFields,
14036
14040
  x: y.series[0].x
14037
14041
  });
14038
- const V = p?.keys.length !== N?.keys.length || !ka(p, N);
14042
+ const V = p?.keys.length !== N?.keys.length || !Ia(p, N);
14039
14043
  D = s === !0 || n === !0 || r === !0 || u === !0 || R !== void 0 && B;
14040
14044
  let W = !0;
14041
14045
  if (p !== void 0 && p.size > 0) {
@@ -14060,7 +14064,7 @@ function AL(t) {
14060
14064
  if (W.push(...V), y.series.length > 1 && T !== P.BarAndLineNoAggregation && T !== P.BarAndLineSplitByNoAggregation && (W = Nd({
14061
14065
  data: W,
14062
14066
  x: y.series[0].x,
14063
- splitByField: Ii(y.series[0].query?.where)
14067
+ splitByField: $i(y.series[0].query?.where)
14064
14068
  })), q(b.uid, { computedSelectionDataItems: W }), g === !0) {
14065
14069
  const H = Array.from(new Set(N));
14066
14070
  let X = w(
@@ -14074,18 +14078,18 @@ function AL(t) {
14074
14078
  } else if (p !== void 0 && O)
14075
14079
  R = LL(b, p);
14076
14080
  else {
14077
- const N = R === void 0 || R.length === 0, V = e instanceof xi ? e.dataFields?.customValue ?? "" : "", W = (H) => {
14081
+ const N = R === void 0 || R.length === 0, V = e instanceof vi ? e.dataFields?.customValue ?? "" : "", W = (H) => {
14078
14082
  let X = H.dataItem?.dataContext;
14079
- return X !== void 0 && v === S.BoxPlotSeries && X[L.boxPlot.boxPlotOutlierId] !== !0 && (X = Li({
14083
+ return X !== void 0 && v === S.BoxPlotSeries && X[L.boxPlot.boxPlotOutlierId] !== !0 && (X = Fi({
14080
14084
  dataContext: X,
14081
14085
  yAxisField: d,
14082
- yList: wi(y.series),
14086
+ yList: Di(y.series),
14083
14087
  xAxisField: l,
14084
14088
  splitBy: V,
14085
14089
  chartType: v,
14086
14090
  chartSubType: T,
14087
14091
  showOutliers: C,
14088
- isFeatureCollectionLayer: Si(a)
14092
+ isFeatureCollectionLayer: Ci(a)
14089
14093
  })), kn({
14090
14094
  elementDataContext: X,
14091
14095
  options: o,
@@ -14123,7 +14127,7 @@ function AL(t) {
14123
14127
  if (g === !0 && (V = w(b.uid, "computedSelectionIndexes") ?? p, V !== void 0 && q(b.uid, {
14124
14128
  currentSelectionIndexes: V
14125
14129
  })), N === void 0 || N.length === 0)
14126
- Ka({
14130
+ Qa({
14127
14131
  chart: b,
14128
14132
  selectionSource: Pe.ProgrammaticSelection
14129
14133
  });
@@ -14132,7 +14136,7 @@ function AL(t) {
14132
14136
  selectionItems: N,
14133
14137
  selectionSource: Pe.ProgrammaticSelection
14134
14138
  };
14135
- g === !0 && (W.selectionIndexes = V), h !== !1 && (W.selectionOIDs = m?.selectionOIDs ?? w(b.uid, "currentSelectionOIDs")), Ea({
14139
+ g === !0 && (W.selectionIndexes = V), h !== !1 && (W.selectionOIDs = m?.selectionOIDs ?? w(b.uid, "currentSelectionOIDs")), Ha({
14136
14140
  data: W,
14137
14141
  htmlContainer: b.htmlContainer
14138
14142
  });
@@ -14166,7 +14170,7 @@ async function TL(t) {
14166
14170
  if (h) {
14167
14171
  const p = E([h]);
14168
14172
  if (p === S.BoxPlotSeries && (g = e.series.values.find((b) => b.id === h.id)), g !== void 0) {
14169
- const b = h.x, y = p === S.BoxPlotSeries ? h.y.toString() : Ki(g);
14173
+ const b = h.x, y = p === S.BoxPlotSeries ? h.y.toString() : Qi(g);
14170
14174
  jx({
14171
14175
  callbackProps: {
14172
14176
  ...t,
@@ -14188,7 +14192,7 @@ async function wo(t) {
14188
14192
  const { chart: e, listSelectedElements: i, selectionSource: a } = t, o = w(e.uid, "options"), n = w(e.uid, "config"), s = w(e.uid, "queryObject");
14189
14193
  if (n)
14190
14194
  if (i.length === 0)
14191
- Ka({
14195
+ Qa({
14192
14196
  chart: e,
14193
14197
  selectionSource: a,
14194
14198
  clearOnlyVisibleSeries: !1,
@@ -14199,10 +14203,10 @@ async function wo(t) {
14199
14203
  Tf(e, "updateSelectionCallbackDisposer");
14200
14204
  const r = mi(n), l = [], d = [];
14201
14205
  let u = [];
14202
- const c = /* @__PURE__ */ new Map(), { xAxisField: m } = i[0] ?? {}, g = E(n?.series), h = Y(n?.series), p = wi(n?.series ?? []);
14206
+ const c = /* @__PURE__ */ new Map(), { xAxisField: m } = i[0] ?? {}, g = E(n?.series), h = Y(n?.series), p = Di(n?.series ?? []);
14203
14207
  let b;
14204
14208
  if (s !== void 0 && (b = (await Tt(s)).find((x) => x.name === m)?.type), i.forEach((C) => {
14205
- const { elementDataContext: x, yAxisField: v, splitBy: F } = C, T = Li({
14209
+ const { elementDataContext: x, yAxisField: v, splitBy: F } = C, T = Fi({
14206
14210
  dataContext: x,
14207
14211
  yAxisField: v,
14208
14212
  yList: p,
@@ -14211,7 +14215,7 @@ async function wo(t) {
14211
14215
  chartType: g,
14212
14216
  chartSubType: h,
14213
14217
  showOutliers: r,
14214
- isFeatureCollectionLayer: Si(s)
14218
+ isFeatureCollectionLayer: Ci(s)
14215
14219
  });
14216
14220
  T !== void 0 && d.push(T);
14217
14221
  const { seriesIndex: k, elementIndex: $ } = C;
@@ -14222,7 +14226,7 @@ async function wo(t) {
14222
14226
  });
14223
14227
  }
14224
14228
  if (x !== void 0) {
14225
- const D = x[Ia.uniqueIdsName] !== void 0 ? [x[Ia.uniqueIdsName]].flat() : [];
14229
+ const D = x[$a.uniqueIdsName] !== void 0 ? [x[$a.uniqueIdsName]].flat() : [];
14226
14230
  if (D.length > 0)
14227
14231
  u.push(...D);
14228
14232
  else if (o?.returnSelectionOIDs !== !1) {
@@ -14261,13 +14265,13 @@ async function wo(t) {
14261
14265
  selectionItems: d,
14262
14266
  selectionSource: a
14263
14267
  };
14264
- o?.returnSelectionIndexes === !0 && (y.selectionIndexes = c), o?.returnSelectionOIDs !== !1 && (y.selectionOIDs = u), Ea({
14268
+ o?.returnSelectionIndexes === !0 && (y.selectionIndexes = c), o?.returnSelectionOIDs !== !1 && (y.selectionOIDs = u), Ha({
14265
14269
  data: y,
14266
14270
  htmlContainer: e.htmlContainer
14267
14271
  });
14268
14272
  } catch (r) {
14269
14273
  q(e.uid, { pendingSelectionQueries: !1 });
14270
- const { httpStatus: l } = r instanceof hi ? r.details.details : r.details ?? {};
14274
+ const { httpStatus: l } = r instanceof pi ? r.details.details : r.details ?? {};
14271
14275
  if (l === 429)
14272
14276
  SL(e);
14273
14277
  else
@@ -14299,7 +14303,7 @@ async function IL(t) {
14299
14303
  a.series.each((c, m) => {
14300
14304
  let g;
14301
14305
  if (c instanceof Qe ? g = c.columns : g = We(c)?.clones, c.visible) {
14302
- const h = Ki(c), p = c.dataFields?.customValue ?? "";
14306
+ const h = Qi(c), p = c.dataFields?.customValue ?? "";
14303
14307
  g?.each((b, y) => {
14304
14308
  const C = o.includes(b);
14305
14309
  Ht({
@@ -14384,7 +14388,7 @@ function wL(t, e) {
14384
14388
  }
14385
14389
  function DL(t, e) {
14386
14390
  const i = t.renderer instanceof Fn ? new ir() : new er();
14387
- return i.disabled = !0, i.axis = t, Wn(i), Xi(i.uid, { isGuide: e }), yo({ chart: t.chart, label: i, labelType: K.GuideLabel }), wL(t, i), i;
14391
+ return i.disabled = !0, i.axis = t, Wn(i), Yi(i.uid, { isGuide: e }), yo({ chart: t.chart, label: i, labelType: K.GuideLabel }), wL(t, i), i;
14388
14392
  }
14389
14393
  function OL(t) {
14390
14394
  const { label: e, labelConfig: i, guideType: a } = t, o = e.axis.renderer instanceof It;
@@ -14408,7 +14412,7 @@ function RL(t, e, i) {
14408
14412
  );
14409
14413
  if (d !== void 0) {
14410
14414
  let u = "", c;
14411
- r instanceof ar ? (u = r.value, c = r.endValue) : r instanceof Ra ? (u = r.category, c = r.endCategory) : r instanceof Ln && (u = r.date, c = r.endDate), s = d({
14415
+ r instanceof ar ? (u = r.value, c = r.endValue) : r instanceof Ba ? (u = r.category, c = r.endCategory) : r instanceof Ln && (u = r.date, c = r.endDate), s = d({
14412
14416
  guideName: r.id ?? "",
14413
14417
  start: u,
14414
14418
  end: c,
@@ -14450,7 +14454,7 @@ function BL(t, e) {
14450
14454
  p = T(p), b !== void 0 && (b = T(b));
14451
14455
  } else t instanceof st && (p = o, b = n);
14452
14456
  const y = p.toString(), C = b?.toString() ?? "";
14453
- !he(C) && y !== C ? l = Ta(e.guideTooltipLabel, {
14457
+ !he(C) && y !== C ? l = ka(e.guideTooltipLabel, {
14454
14458
  guideStart: y,
14455
14459
  guideEnd: C
14456
14460
  }) : l = y;
@@ -14554,7 +14558,7 @@ function VL(t, e) {
14554
14558
  o !== -1 && (i = o);
14555
14559
  }
14556
14560
  let a;
14557
- return t instanceof st ? a = new Ra() : t instanceof Ee ? a = new Ln() : a = new ar(), t.axisRanges.insertIndex(i, a), a.label = DL(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
14561
+ return t instanceof st ? a = new Ba() : t instanceof Ee ? a = new Ln() : a = new ar(), t.axisRanges.insertIndex(i, a), a.label = DL(t, e), a.axisFill.fillOpacity = 1, a.axisFill.disabled = !0, a.grid.strokeOpacity = 1, a;
14558
14562
  }
14559
14563
  function WL(t, e) {
14560
14564
  const i = VL(t, !0);
@@ -14580,7 +14584,7 @@ function HL(t, e) {
14580
14584
  if (i !== void 0) {
14581
14585
  const { chart: o } = t?.component ?? {};
14582
14586
  let n;
14583
- if (t instanceof Ra && o instanceof me && w(o.uid, "isNonAggregatedChart") === !0) {
14587
+ if (t instanceof Ba && o instanceof me && w(o.uid, "isNonAggregatedChart") === !0) {
14584
14588
  const { modifiedStart: s, modifiedEnd: r } = EL(o, e);
14585
14589
  n = {
14586
14590
  isValidGuide: !0,
@@ -14589,7 +14593,7 @@ function HL(t, e) {
14589
14593
  };
14590
14594
  } else
14591
14595
  n = Er(t.axisFill.axis, e);
14592
- n.isValidGuide && (t instanceof Ra ? (t.category = `${n.start?.toString()}`, t.endCategory = `${n.end?.toString()}`) : t instanceof Ln ? (t.date = n.start, t.endDate = n.end) : (t.value = n.start, t.endValue = n.end));
14596
+ n.isValidGuide && (t instanceof Ba ? (t.category = `${n.start?.toString()}`, t.endCategory = `${n.end?.toString()}`) : t instanceof Ln ? (t.date = n.start, t.endDate = n.end) : (t.value = n.start, t.endValue = n.end));
14593
14597
  }
14594
14598
  }
14595
14599
  function zL(t, e) {
@@ -14897,9 +14901,9 @@ function c0(t, e = !0) {
14897
14901
  function u0(t, e) {
14898
14902
  let i, a;
14899
14903
  const o = ui(L.dataLabelInitialize);
14900
- Xi(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
14904
+ Yi(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
14901
14905
  const n = ui(L.dataLabelInitialize, t.columns.template);
14902
- return Xi(n.uid, { isDataLabel: !0 }), $s(n, t), $s(o, t), t.events.on(
14906
+ return Yi(n.uid, { isDataLabel: !0 }), $s(n, t), $s(o, t), t.events.on(
14903
14907
  M.Validated,
14904
14908
  pt(() => {
14905
14909
  ho(n) && n.clones.each((s) => {
@@ -15014,10 +15018,10 @@ function y0(t) {
15014
15018
  for (let l = 0; l < r.length; l += 1) {
15015
15019
  a = !1, o = !1, n = !1;
15016
15020
  const d = r[l], { category: u, endCategory: c, axisFill: m, grid: g, label: h } = d;
15017
- if (d instanceof Ra && d.visible)
15021
+ if (d instanceof Ba && d.visible)
15018
15022
  for (let p = 0; p < s.length; p += 1) {
15019
15023
  let b;
15020
- i === !0 ? b = Ti({
15024
+ i === !0 ? b = ki({
15021
15025
  value: s[p].category,
15022
15026
  dataContext: s[p].dataContext
15023
15027
  }) : b = s[p].category.toString(), u === b && (o = !0), c === b && (n = !0);
@@ -15492,7 +15496,7 @@ const _e = {
15492
15496
  AxisLabels: 2,
15493
15497
  FirstAndLastLabels: 3
15494
15498
  };
15495
- function Wi(t, e) {
15499
+ function Ei(t, e) {
15496
15500
  let i;
15497
15501
  switch (e) {
15498
15502
  case _e.InnerLabel:
@@ -15570,7 +15574,7 @@ function Xn(t) {
15570
15574
  function B0(t) {
15571
15575
  const { chart: e, axisConfig: i, axis: a } = t;
15572
15576
  if (i.labels.content.font?.size === void 0 && i.onlyShowFirstAndLastLabels !== !0) {
15573
- Wi(e, _e.AxisLabels), Wi(e, _e.FirstAndLastLabels);
15577
+ Ei(e, _e.AxisLabels), Ei(e, _e.FirstAndLastLabels);
15574
15578
  const o = () => {
15575
15579
  a.events.once(M.Validated, () => {
15576
15580
  const s = vt(a, xe.GaugeTicksWithLabels);
@@ -15593,7 +15597,7 @@ function B0(t) {
15593
15597
  const n = e.events.on(M.SizeChanged, o);
15594
15598
  q(e.uid, { gaugeAutoResizeAxisLabelsDisposer: n }), o();
15595
15599
  } else {
15596
- Wi(e, _e.AxisLabels);
15600
+ Ei(e, _e.AxisLabels);
15597
15601
  const o = vt(a, xe.GaugeTicksWithLabels);
15598
15602
  o.length > 0 && o.map((s) => s.label).forEach((s) => {
15599
15603
  s.scale = 1;
@@ -15601,7 +15605,7 @@ function B0(t) {
15601
15605
  }
15602
15606
  }
15603
15607
  function N0(t, e) {
15604
- Wi(t, _e.InnerLabel), Wi(t, _e.InnerLabelSecondary);
15608
+ Ei(t, _e.InnerLabel), Ei(t, _e.InnerLabelSecondary);
15605
15609
  const i = () => {
15606
15610
  const s = w(t.uid, "config")?.axes?.[0];
15607
15611
  if (s?.innerLabel?.visible !== !1 && s?.innerLabel?.content?.font?.size === void 0) {
@@ -15631,7 +15635,7 @@ function Ds(t) {
15631
15635
  function P0(t) {
15632
15636
  const { chart: e, axisConfig: i, axis: a } = t;
15633
15637
  if (Ds(i)) {
15634
- Wi(e, _e.AxisLabels), Wi(e, _e.FirstAndLastLabels);
15638
+ Ei(e, _e.AxisLabels), Ei(e, _e.FirstAndLastLabels);
15635
15639
  const o = () => {
15636
15640
  const s = vt(a, xe.GaugeFirstAndLastGuides);
15637
15641
  if (Xn(s)) {
@@ -15644,7 +15648,7 @@ function P0(t) {
15644
15648
  axisConfig: i
15645
15649
  });
15646
15650
  Number.isFinite(u) && u > 0 && r.forEach((c) => {
15647
- Xi(c.uid, {
15651
+ Yi(c.uid, {
15648
15652
  originalWidth: c.measuredWidth / c.scale,
15649
15653
  originalHeight: c.measuredHeight / c.scale
15650
15654
  }), c.scale = u;
@@ -15658,7 +15662,7 @@ function P0(t) {
15658
15662
  );
15659
15663
  q(e.uid, { gaugeAutoResizeFirstAndLastLabelsDisposer: n }), o();
15660
15664
  } else
15661
- Wi(e, _e.FirstAndLastLabels), vt(a, xe.GaugeFirstAndLastGuides).map(
15665
+ Ei(e, _e.FirstAndLastLabels), vt(a, xe.GaugeFirstAndLastGuides).map(
15662
15666
  (n) => n.label
15663
15667
  ).forEach((n) => {
15664
15668
  n.scale = 1;
@@ -15732,7 +15736,7 @@ function V0(t) {
15732
15736
  const l = w(a.uid, "gaugeData");
15733
15737
  Number.isFinite(l) && (r = l);
15734
15738
  }
15735
- return Ha(o) && n !== void 0 && s !== void 0 && n !== null && s !== null && r !== null && s - n !== 0 && (r = go({
15739
+ return za(o) && n !== void 0 && s !== void 0 && n !== null && s !== null && r !== null && s - n !== 0 && (r = go({
15736
15740
  value: r,
15737
15741
  axisMin: n,
15738
15742
  axisMax: s
@@ -15756,7 +15760,7 @@ function E0(t) {
15756
15760
  }
15757
15761
  function H0(t) {
15758
15762
  const e = ui(void 0, t.radarContainer);
15759
- e.isMeasured = !1, Xi(e.uid, { isGaugeAxisInnerLabel: !0 }), N0(t, e);
15763
+ e.isMeasured = !1, Yi(e.uid, { isGaugeAxisInnerLabel: !0 }), N0(t, e);
15760
15764
  }
15761
15765
  function z0(t) {
15762
15766
  const { chart: e, innerLabelConfig: i, valueFormat: a, gaugeValue: o, gaugeInnerLabelFormatter: n } = t, s = e.radarContainer.children.values.find(
@@ -15781,10 +15785,10 @@ function G0(t) {
15781
15785
  }
15782
15786
  function X0(t) {
15783
15787
  const e = new ir();
15784
- return e.disabled = !0, e.axis = t, Wn(e), e.padding(10, 10, 10, 10), Xi(e.uid, { isGaugeAxisLabel: !0 }), e;
15788
+ return e.disabled = !0, e.axis = t, Wn(e), e.padding(10, 10, 10, 10), Yi(e.uid, { isGaugeAxisLabel: !0 }), e;
15785
15789
  }
15786
15790
  function Y0(t) {
15787
- const { axis: e, min: i, max: a, labelsIncrement: o, numberOfIntervals: n, valueFormat: s } = t, r = Ha(s);
15791
+ const { axis: e, min: i, max: a, labelsIncrement: o, numberOfIntervals: n, valueFormat: s } = t, r = za(s);
15788
15792
  let l = 1;
15789
15793
  const d = vt(e, xe.Ticks);
15790
15794
  d.length > 0 && (l = d[0].label?.scale, d.forEach((m) => {
@@ -15915,7 +15919,7 @@ function J0(t) {
15915
15919
  if (s !== void 0)
15916
15920
  r = s(n);
15917
15921
  else {
15918
- const l = yi(e), d = ci({
15922
+ const l = Si(e), d = ci({
15919
15923
  type: S.NumberAxisFormat,
15920
15924
  iLocale: i,
15921
15925
  formatLocale: a
@@ -15938,7 +15942,7 @@ function em(t) {
15938
15942
  if (s !== void 0)
15939
15943
  r = s(n);
15940
15944
  else {
15941
- const l = yi(e), d = ci({
15945
+ const l = Si(e), d = ci({
15942
15946
  type: S.NumberAxisFormat,
15943
15947
  iLocale: i,
15944
15948
  formatLocale: a
@@ -15994,7 +15998,7 @@ async function eF(t) {
15994
15998
  valueFormat: C
15995
15999
  });
15996
16000
  const B = { ...y };
15997
- Ha(C) ? (B.minimum = 0, B.maximum = 1, Ru({
16001
+ za(C) ? (B.minimum = 0, B.maximum = 1, Ru({
15998
16002
  axisConfig: B,
15999
16003
  axisMin: y.minimum,
16000
16004
  axisMax: y.maximum
@@ -16152,7 +16156,7 @@ function dF(t, e) {
16152
16156
  }
16153
16157
  function cF(t, e) {
16154
16158
  const i = t.chart.legend.events.on(M.Validated, () => {
16155
- Yi({
16159
+ Ui({
16156
16160
  element: t.legendDataItem?.marker.children.getIndex(0),
16157
16161
  stylingInfo: e
16158
16162
  }), t.chart.legend.isReady() && (i.dispose(), t.chart.legend.invalidate());
@@ -16194,14 +16198,14 @@ function uF(t) {
16194
16198
  seriesSymbol: F,
16195
16199
  element: y,
16196
16200
  rendererSymbol: x
16197
- }), Yi({ element: y, stylingInfo: h.stylingInfo }), v || (u.add(JSON.stringify(h.symbolWithColorInfo)), p = h);
16201
+ }), Ui({ element: y, stylingInfo: h.stylingInfo }), v || (u.add(JSON.stringify(h.symbolWithColorInfo)), p = h);
16198
16202
  }
16199
16203
  }), o > 1) {
16200
16204
  const y = e.chart.legend.markers.values;
16201
16205
  y.length !== 0 ? y.forEach((C) => {
16202
- if (C.dataItem instanceof _i) {
16206
+ if (C.dataItem instanceof Zi) {
16203
16207
  const x = C.dataItem.marker.children.getIndex(0);
16204
- x !== void 0 && x.baseSprite?.parent instanceof Qe ? Yi({
16208
+ x !== void 0 && x.baseSprite?.parent instanceof Qe ? Ui({
16205
16209
  element: x,
16206
16210
  stylingInfo: p.stylingInfo
16207
16211
  }) : d = !0;
@@ -16247,9 +16251,9 @@ function am(t) {
16247
16251
  (p === P.BarAndLineSplitBy || p === P.BarAndLineSplitByNoAggregation) && (b = Ws({
16248
16252
  subtypeInfo: n,
16249
16253
  fieldList: d,
16250
- fieldName: Ii(y),
16254
+ fieldName: $i(y),
16251
16255
  fieldValueToMatch: b
16252
- }) ?? b), _a(i, b), Or({
16256
+ }) ?? b), Za(i, b), Or({
16253
16257
  series: i,
16254
16258
  seriesConfig: e,
16255
16259
  rotationChanged: o,
@@ -16287,7 +16291,7 @@ function gF(t) {
16287
16291
  ya(c, n), c.id = l.id;
16288
16292
  let m, g;
16289
16293
  r !== !0 ? (m = o[0], g = u === !0 && o[2] ? o[2] : o[1]) : (m = u === !0 && o[2] ? o[2] : o[0], g = o[1]), m !== void 0 && (c.xAxis = m), g !== void 0 && (c.yAxis = g);
16290
- const h = e instanceof me ? Rt({ chart: e }) : !1, b = Y(i.series) !== P.BarAndLineSplitByNoAggregation ? d : `${d}_${ki({ where: l.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`;
16294
+ const h = e instanceof me ? Rt({ chart: e }) : !1, b = Y(i.series) !== P.BarAndLineSplitByNoAggregation ? d : `${d}_${Ii({ where: l.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`;
16291
16295
  h ? c.dataFields.valueX = b : c.dataFields.valueY = b;
16292
16296
  const y = h ? o[1] : o[0];
16293
16297
  if (y !== void 0) {
@@ -16344,7 +16348,7 @@ function pF(t) {
16344
16348
  );
16345
16349
  let o = e ?? "";
16346
16350
  const { dataItem: n } = i;
16347
- if (n instanceof vi) {
16351
+ if (n instanceof Li) {
16348
16352
  const { slice: s } = n;
16349
16353
  if (s !== void 0 && !ho(s))
16350
16354
  o = "";
@@ -16363,7 +16367,7 @@ function bF(t) {
16363
16367
  const e = t.labels.template;
16364
16368
  e.maxWidth = L.pieChart.dataLabels.maxWidth ?? Number.NaN, e.wrap = L.pieChart.dataLabels.wrap ?? !0, e.events.on(M.Over, (i) => {
16365
16369
  const { dataItem: a } = i.target ?? {};
16366
- a instanceof vi && a.slice.showTooltip();
16370
+ a instanceof Li && a.slice.showTooltip();
16367
16371
  }), pF(t);
16368
16372
  }
16369
16373
  function yF(t, e) {
@@ -16477,7 +16481,7 @@ function vF(t) {
16477
16481
  );
16478
16482
  if (l !== void 0) {
16479
16483
  const { dataItem: d } = a;
16480
- if (d instanceof vi) {
16484
+ if (d instanceof Li) {
16481
16485
  const u = d.properties.category ?? "", c = d.dataContext;
16482
16486
  let m = li(c);
16483
16487
  m === void 0 && (m = u);
@@ -16548,7 +16552,7 @@ function kF(t) {
16548
16552
  colorRampIndex: s,
16549
16553
  isChartFillSymbol: !0
16550
16554
  });
16551
- o !== void 0 && o.selectedElementsTheme === void 0 && Yi({
16555
+ o !== void 0 && o.selectedElementsTheme === void 0 && Ui({
16552
16556
  element: n,
16553
16557
  stylingInfo: d,
16554
16558
  stateKey: it.Active
@@ -16556,7 +16560,7 @@ function kF(t) {
16556
16560
  });
16557
16561
  }
16558
16562
  async function IF(t) {
16559
- const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, d = !zd({ chartConfig: e }), u = Y([r]), c = u === P.PieFromFields, m = ut(i), g = Ui(m).idField, h = await Tt(i, a);
16563
+ const { chartConfig: e, queryObject: i, usePopupTemplateFieldsInfo: a, labelUpdateNeeded: o, utilsStrings: n } = t, { series: s } = e, r = s[0], { x: l } = r, d = !zd({ chartConfig: e }), u = Y([r]), c = u === P.PieFromFields, m = ut(i), g = qi(m).idField, h = await Tt(i, a);
16560
16564
  return {
16561
16565
  x: l,
16562
16566
  isNonAggregatedChart: d,
@@ -16566,7 +16570,7 @@ async function IF(t) {
16566
16570
  fieldList: h,
16567
16571
  labelUpdateNeeded: o,
16568
16572
  chartSubType: u,
16569
- colorMatch: $i(e),
16573
+ colorMatch: wi(e),
16570
16574
  utilsStrings: n
16571
16575
  };
16572
16576
  }
@@ -16642,7 +16646,7 @@ function dd(t, e) {
16642
16646
  const x = en(s.slices, C);
16643
16647
  x?.fillSymbol?.color !== void 0 && p.add(x.fillSymbol.color);
16644
16648
  }), t.forEach((b, y) => {
16645
- const C = b[L.pieChart.technicalFieldSliceId], x = en(s.slices, C), v = Ai(b), F = wF({
16649
+ const C = b[L.pieChart.technicalFieldSliceId], x = en(s.slices, C), v = Ti(b), F = wF({
16646
16650
  dataContext: b,
16647
16651
  seriesConfig: s,
16648
16652
  existingSlicesColors: p,
@@ -16733,7 +16737,7 @@ async function cd(t) {
16733
16737
  const { chart: e, hitSlice: i, multiSelect: a = !1 } = t, o = [], n = w(e.uid, "config"), s = e.series.getIndex(0);
16734
16738
  if (n && s !== void 0) {
16735
16739
  if (!s.slices.values.every((l) => (l.isHover || l.isFocused) !== l.isActive)) {
16736
- const l = Sf(s), d = Ki(s), u = {
16740
+ const l = Sf(s), d = Qi(s), u = {
16737
16741
  element: {},
16738
16742
  xAxisField: l,
16739
16743
  yAxisField: d,
@@ -16741,7 +16745,7 @@ async function cd(t) {
16741
16745
  chartConfig: n
16742
16746
  };
16743
16747
  s.slices.each((c, m) => {
16744
- c.isActive && (c === i || a || c.dataItem instanceof vi && c.dataItem.label.isHover) ? Ai(c.dataItem?.dataContext) ? (Lo({
16748
+ c.isActive && (c === i || a || c.dataItem instanceof Li && c.dataItem.label.isHover) ? Ti(c.dataItem?.dataContext) ? (Lo({
16745
16749
  groupOfSlicesDataContext: c.dataItem?.dataContext
16746
16750
  }) ?? []).forEach((b) => {
16747
16751
  o.push({
@@ -16781,7 +16785,7 @@ function RF(t) {
16781
16785
  await cd({ chart: t, multiSelect: s, hitSlice: n });
16782
16786
  else if (n instanceof Qo) {
16783
16787
  const r = n.dataItem;
16784
- if (r instanceof vi) {
16788
+ if (r instanceof Li) {
16785
16789
  const { slice: l } = r;
16786
16790
  l.isActive = !l.isActive, await cd({ chart: t, multiSelect: s, hitSlice: l });
16787
16791
  }
@@ -16968,7 +16972,7 @@ async function Yr(t) {
16968
16972
  }
16969
16973
  if (e instanceof Te) {
16970
16974
  if (i && "dataItems" in i) {
16971
- const { colorMatchApplied: b, rendererFieldNames: y } = await za({
16975
+ const { colorMatchApplied: b, rendererFieldNames: y } = await Ga({
16972
16976
  data: i.dataItems,
16973
16977
  queryObject: n,
16974
16978
  chartConfig: g,
@@ -16999,7 +17003,7 @@ function lm(t) {
16999
17003
  case S.LineSeries: {
17000
17004
  s.series.forEach((m) => {
17001
17005
  let g = "";
17002
- "y" in m && (g = Array.isArray(m.y) ? m.y[0] : m.y, d === P.BarAndLineSplitByNoAggregation && (g = `${g}_${ki({
17006
+ "y" in m && (g = Array.isArray(m.y) ? m.y[0] : m.y, d === P.BarAndLineSplitByNoAggregation && (g = `${g}_${Ii({
17003
17007
  where: m.query?.where,
17004
17008
  keepSurroundingQuotes: !1,
17005
17009
  escape: !1
@@ -17039,7 +17043,7 @@ function PF(t, e) {
17039
17043
  t.adapter.add("criticalError", (i) => (i.message = e.errors.simpleError, i));
17040
17044
  }
17041
17045
  function na(t) {
17042
- const { chart: e, chartConfig: i, invalidType: a, elementCount: o, seriesCount: n, errorStrings: s } = t, r = w(e.uid, "queryObject"), l = w(e.uid, "options"), d = w(e.uid, "formatLocale"), u = i !== void 0 && Wa({
17046
+ const { chart: e, chartConfig: i, invalidType: a, elementCount: o, seriesCount: n, errorStrings: s } = t, r = w(e.uid, "queryObject"), l = w(e.uid, "options"), d = w(e.uid, "formatLocale"), u = i !== void 0 && Ea({
17043
17047
  seriesConfig: i.series[0],
17044
17048
  xAxisValueFormatType: hn(i)
17045
17049
  }), c = Yd({
@@ -17089,10 +17093,10 @@ function cm(t, e) {
17089
17093
  });
17090
17094
  }
17091
17095
  }
17092
- oo.classNamePrefix = "arcgis-charts-";
17096
+ no.classNamePrefix = "arcgis-charts-";
17093
17097
  async function Ur(t, e) {
17094
17098
  const i = await dx(e.locale);
17095
- oo.defaultLocale = i, t.language.locale = i, q(t.uid, { formatLocale: e.formatLocale }), t.rtl = e.rtl;
17099
+ no.defaultLocale = i, t.language.locale = i, q(t.uid, { formatLocale: e.formatLocale }), t.rtl = e.rtl;
17096
17100
  }
17097
17101
  function jn(t) {
17098
17102
  const { chart: e, actionMode: i, cursorRange: a } = t;
@@ -17110,7 +17114,7 @@ function jn(t) {
17110
17114
  rs(e);
17111
17115
  break;
17112
17116
  case j.None:
17113
- Ka({
17117
+ Qa({
17114
17118
  chart: e,
17115
17119
  selectionSource: Pe.ClearSelection,
17116
17120
  clearOnlyVisibleSeries: !1,
@@ -17126,7 +17130,7 @@ function MF(t, e) {
17126
17130
  }
17127
17131
  function VF(t) {
17128
17132
  const { chart: e, axesConfig: i, chartType: a, isRotated: o, errorStrings: n } = t;
17129
- switch (qi({ chartType: a, axesConfig: i, errorStrings: n }), a) {
17133
+ switch (ji({ chartType: a, axesConfig: i, errorStrings: n }), a) {
17130
17134
  case S.GaugeSeries: {
17131
17135
  e instanceof yt && i?.[0]?.valueFormat !== void 0 && Q0(e, i[0].valueFormat);
17132
17136
  break;
@@ -17161,7 +17165,7 @@ async function qr(t) {
17161
17165
  utilsStrings: y,
17162
17166
  errorStrings: C
17163
17167
  } = t;
17164
- switch (qi({ chartType: s, axesConfig: a, errorStrings: C }), s) {
17168
+ switch (ji({ chartType: s, axesConfig: a, errorStrings: C }), s) {
17165
17169
  case S.BarSeries:
17166
17170
  case S.LineSeries:
17167
17171
  case S.ComboLineAndBarSeries:
@@ -17265,7 +17269,7 @@ async function jr(t) {
17265
17269
  pieSlicesSymbols: y,
17266
17270
  utilsStrings: C,
17267
17271
  errorStrings: x
17268
- } = t, v = e.series.values, F = /* @__PURE__ */ new Map(), T = i.series.length, k = $i(i), $ = Kt(i), D = Xd(m), O = await Tt(m, g?.usePopupTemplateFieldsInfo), R = ut(m), B = fn(n, R.renderer);
17272
+ } = t, v = e.series.values, F = /* @__PURE__ */ new Map(), T = i.series.length, k = wi(i), $ = Kt(i), D = Xd(m), O = await Tt(m, g?.usePopupTemplateFieldsInfo), R = ut(m), B = fn(n, R.renderer);
17269
17273
  for (const [N, V] of a.entries()) {
17270
17274
  const W = E([V]), H = v[N], X = {
17271
17275
  numberOfSeries: T,
@@ -17374,7 +17378,7 @@ async function _r(t) {
17374
17378
  e.series.forEach((se, ee) => {
17375
17379
  W.set(se.id, ee);
17376
17380
  });
17377
- const H = Di(T), X = kt(e) ? e.showMean : void 0;
17381
+ const H = Oi(T), X = kt(e) ? e.showMean : void 0;
17378
17382
  e = lm({
17379
17383
  chart: i,
17380
17384
  hideEmptySeries: a?.hideEmptySeries ?? L.options.hideEmptySeries,
@@ -17383,7 +17387,7 @@ async function _r(t) {
17383
17387
  }).updatedConfig;
17384
17388
  const oe = T && X && "meanLines" in T ? T.meanLines : H;
17385
17389
  if (oe !== void 0) {
17386
- const { colorMatchApplied: se, rendererFieldNames: ee } = await za({
17390
+ const { colorMatchApplied: se, rendererFieldNames: ee } = await Ga({
17387
17391
  data: oe,
17388
17392
  queryObject: n,
17389
17393
  chartConfig: e,
@@ -17424,7 +17428,7 @@ async function _r(t) {
17424
17428
  meanLines: w(i.uid, "boxPlotMeanLinesData"),
17425
17429
  outliers: T?.outliers
17426
17430
  };
17427
- Ci({
17431
+ xi({
17428
17432
  data: i instanceof Te ? { dataItems: i.data } : T,
17429
17433
  seriesConfig: e.series,
17430
17434
  htmlContainer: i.htmlContainer
@@ -17660,7 +17664,7 @@ async function zF(t) {
17660
17664
  boxPlotMeanLinesData: lt?.meanLines,
17661
17665
  timeIntervalInfo: lt?.timeIntervalInfo,
17662
17666
  serverLimitReached: lt?.serverLimitReached
17663
- }), _ = Be === !0, _ ? (re = lt, ke = Di(re), la(i.htmlContainer)) : na({
17667
+ }), _ = Be === !0, _ ? (re = lt, ke = Oi(re), la(i.htmlContainer)) : na({
17664
17668
  chart: i,
17665
17669
  invalidType: ti,
17666
17670
  elementCount: Ie,
@@ -17709,7 +17713,7 @@ async function zF(t) {
17709
17713
  arrayToSort: n ? ke ?? i.data : i.data,
17710
17714
  chartConfig: e,
17711
17715
  fieldList: w(i.uid, "fieldList"),
17712
- isTimeBinningSeries: Wa({
17716
+ isTimeBinningSeries: Ea({
17713
17717
  seriesConfig: ec(e),
17714
17718
  xAxisValueFormatType: hn(e),
17715
17719
  setTimeBinningInfoWhenNotProvided: l?.setTimeBinningInfoWhenNotProvided
@@ -17726,7 +17730,7 @@ async function zF(t) {
17726
17730
  serverLimitReached: w(i.uid, "serverLimitReached"),
17727
17731
  meanLines: w(i.uid, "boxPlotMeanLinesData"),
17728
17732
  outliers: n ? re?.outliers : i.series.values.find((Ie) => !(Ie instanceof St) && Ie instanceof ye)?.data
17729
- }, (n || oe) && Ci({ data: re, seriesConfig: e.series, htmlContainer: i.htmlContainer });
17733
+ }, (n || oe) && xi({ data: re, seriesConfig: e.series, htmlContainer: i.htmlContainer });
17730
17734
  const Pt = /* @__PURE__ */ new Map();
17731
17735
  e.series.forEach((Ie, Be) => {
17732
17736
  Pt.set(Ie.id, Be);
@@ -17740,7 +17744,7 @@ async function zF(t) {
17740
17744
  hideEmptySeries: l?.hideEmptySeries ?? L.options.hideEmptySeries
17741
17745
  });
17742
17746
  if (e = Be.updatedConfig, D = D || Be.seriesFilteredOut, n || X) {
17743
- const lt = re && Ie && "meanLines" in re ? re.meanLines : ke ?? i.data, { colorMatchApplied: ii, rendererFieldNames: Ca } = await za({
17747
+ const lt = re && Ie && "meanLines" in re ? re.meanLines : ke ?? i.data, { colorMatchApplied: ii, rendererFieldNames: Ca } = await Ga({
17744
17748
  data: lt,
17745
17749
  queryObject: d,
17746
17750
  chartConfig: e,
@@ -17824,7 +17828,7 @@ async function GF(t) {
17824
17828
  let b = !0, y, C, x = !1;
17825
17829
  if (o) {
17826
17830
  const { count: v, valid: F, invalidType: T, data: k, queryConfig: $ } = l ?? {};
17827
- y = k, q(e.uid, { elementCount: v, queryConfig: $, initialized: F }), b = F === !0, C = Di(y), b ? (C !== void 0 && eg(e.data, C) && (e.data = C, x = !0), la(e.htmlContainer)) : na({
17831
+ y = k, q(e.uid, { elementCount: v, queryConfig: $, initialized: F }), b = F === !0, C = Oi(y), b ? (C !== void 0 && eg(e.data, C) && (e.data = C, x = !0), la(e.htmlContainer)) : na({
17828
17832
  chart: e,
17829
17833
  invalidType: T,
17830
17834
  elementCount: v,
@@ -17834,7 +17838,7 @@ async function GF(t) {
17834
17838
  }
17835
17839
  if (!x || b) {
17836
17840
  if (x || h) {
17837
- const B = await za({
17841
+ const B = await Ga({
17838
17842
  data: C ?? e.data,
17839
17843
  queryObject: s,
17840
17844
  chartConfig: n,
@@ -17860,7 +17864,7 @@ async function GF(t) {
17860
17864
  usePopupTemplateFieldsInfo: r?.usePopupTemplateFieldsInfo,
17861
17865
  utilsStrings: d
17862
17866
  });
17863
- (x || p) && (Ci({
17867
+ (x || p) && (xi({
17864
17868
  data: { dataItems: e.data },
17865
17869
  seriesConfig: n.series,
17866
17870
  htmlContainer: e.htmlContainer
@@ -17942,7 +17946,7 @@ async function XF(t) {
17942
17946
  let y;
17943
17947
  if (r) {
17944
17948
  const { count: v, valid: F, invalidType: T, data: k, queryConfig: $ } = s ?? {};
17945
- y = k, y?.dataItems !== void 0 && (e.data = y.dataItems), Ci({
17949
+ y = k, y?.dataItems !== void 0 && (e.data = y.dataItems), xi({
17946
17950
  data: { dataItems: e.data },
17947
17951
  seriesConfig: o.series,
17948
17952
  htmlContainer: e.htmlContainer
@@ -17999,7 +18003,7 @@ async function YF(t) {
17999
18003
  globalOptions: l,
18000
18004
  loaderHandle: d
18001
18005
  } = t, { errorStrings: u, utilsStrings: c } = s;
18002
- oo.commercialLicense = l?.hideLicenseWatermark !== !1, oo.queue = l?.queueChartCreation !== !1, oo.autoDispose = l?.autoDisposeChart === !0, l?.useAnimatedCharts === !0 ? ah(dl) : oh(dl);
18006
+ no.commercialLicense = l?.hideLicenseWatermark !== !1, no.queue = l?.queueChartCreation !== !1, no.autoDispose = l?.autoDisposeChart === !0, l?.useAnimatedCharts === !0 ? ah(dl) : oh(dl);
18003
18007
  let m;
18004
18008
  switch (E(i?.series)) {
18005
18009
  case S.PieSeries:
@@ -18091,7 +18095,7 @@ async function UF(t) {
18091
18095
  loaderHandle: W
18092
18096
  } = T, H = w(p.uid, "initialized"), X = w(p.uid, "config"), oe = k?.series, te = oe !== void 0 ? E(oe) : void 0;
18093
18097
  if (p.isDisposed() || b === void 0 || H === !1 || !_d(X, k))
18094
- throw new hi(ao.ChartDisposed);
18098
+ throw new pi(oo.ChartDisposed);
18095
18099
  switch (te) {
18096
18100
  case S.BoxPlotSeries:
18097
18101
  case S.BarSeries:
@@ -18185,7 +18189,7 @@ async function UF(t) {
18185
18189
  update: x,
18186
18190
  dispose: y,
18187
18191
  resetZoom: F,
18188
- clearSelection: () => Ka({ chart: p }),
18192
+ clearSelection: () => Qa({ chart: p }),
18189
18193
  switchSelection: v,
18190
18194
  exportImage: async (T) => await Mx({ chart: p, exportOptions: T }),
18191
18195
  setActionMode: (T, k) => jn({ chart: p, actionMode: T, cursorRange: k }),
@@ -18207,7 +18211,7 @@ function qF(t) {
18207
18211
  let c = Array.from(o.keys()).some((g) => a.includes(g)), m;
18208
18212
  if (!c && o.get("layer")) {
18209
18213
  const { oldValue: g, newValue: h } = o.get("layer") ?? {};
18210
- c = wa(g) !== wa(h);
18214
+ c = Da(g) !== Da(h);
18211
18215
  }
18212
18216
  if (o.get("layer") && (m = { common: { layerChanged: !0 } }), e && i) {
18213
18217
  const g = cg({
@@ -18283,7 +18287,7 @@ function ZF(t, e) {
18283
18287
  function KF(t, e) {
18284
18288
  t?.title?.content && e.textColor && (t.title.content.color = e.textColor), t?.subtitle?.content && e.textColor && (t.subtitle.content.color = e.textColor), t?.footer?.content && e.textColor && (t.footer.content.color = e.textColor);
18285
18289
  }
18286
- function eo(t, e) {
18290
+ function to(t, e) {
18287
18291
  e?.created && e?.visible && (e.symbol = {
18288
18292
  type: U.SLS,
18289
18293
  ...e.symbol,
@@ -18331,7 +18335,7 @@ function gm(t, e) {
18331
18335
  configElementWithFillSymbol: i,
18332
18336
  fillColor: o,
18333
18337
  lineColor: e.lineColor
18334
- }), eo(Qa[0], i.overlays?.standardDeviation), eo(Qa[1], i.overlays?.mean), eo(Qa[2], i.overlays?.median), eo(Qa[3], i.overlays?.comparisonDistribution);
18338
+ }), to(Ja[0], i.overlays?.standardDeviation), to(Ja[1], i.overlays?.mean), to(Ja[2], i.overlays?.median), to(Ja[3], i.overlays?.comparisonDistribution);
18335
18339
  break;
18336
18340
  case S.LineSeries:
18337
18341
  case S.RadarSeries:
@@ -18362,7 +18366,7 @@ function gm(t, e) {
18362
18366
  configElementWithFillSymbol: i,
18363
18367
  markerColor: o,
18364
18368
  lineColor: e.lineColor
18365
- }), eo(Qa[1], i.overlays?.trendLine);
18369
+ }), to(Ja[1], i.overlays?.trendLine);
18366
18370
  break;
18367
18371
  case S.HeatSeries:
18368
18372
  case S.GaugeSeries:
@@ -18439,7 +18443,7 @@ function bd(t) {
18439
18443
  o = si.watch(
18440
18444
  () => n.renderer,
18441
18445
  () => {
18442
- if ($i(a)) {
18446
+ if (wi(a)) {
18443
18447
  const s = iA();
18444
18448
  t.refresh({ updateData: s });
18445
18449
  }
@@ -18453,7 +18457,7 @@ async function aA(t) {
18453
18457
  let s;
18454
18458
  if (e !== void 0 && n !== void 0) {
18455
18459
  const r = await us({ chartConfig: n, view: e, layer: i, filterByExtent: o });
18456
- if (wa(r)) {
18460
+ if (Da(r)) {
18457
18461
  await si.whenOnce(() => !r.updating);
18458
18462
  const l = async () => {
18459
18463
  t.filterByExtent && e.stationary && (r.updating && await si.whenOnce(() => !r.updating), await t.refresh({ updateData: !0, resetAxesBounds: !0 }));
@@ -18502,7 +18506,7 @@ function Sd(t) {
18502
18506
  }
18503
18507
  )), i;
18504
18508
  }
18505
- const nA = ({ message: t, heading: e, options: i }) => io`<calcite-alert .icon=${i?.icon ?? "exclamationMarkTriangle"} .open=${i?.active === !0} .autoClose=${i?.autoClose ?? !1} .autoCloseDuration=${i?.duration ?? "medium"} scale=m .kind=${i?.kind ?? "danger"} .ariaHidden=${i?.active !== !0} dir=ltr role=alertdialog label="arcgis charts notify panel">${e !== void 0 ? io`<div slot=title>${e}</div>` : null}${t !== void 0 ? io`<div slot=message>${t}</div>` : null}</calcite-alert>`, sA = Fm`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart{flex-grow:1;overflow-y:hidden}.chart>div{justify-content:center;align-items:center}:host{width:var(--chart-width, var(--arcgis-charts-default-width));height:var(--chart-height, var(--arcgis-charts-default-height));display:flex;flex-direction:row;position:relative;overflow:hidden}.chart-wrapper{position:relative;width:100%}.chart-container{height:100%}`;
18509
+ const nA = ({ message: t, heading: e, options: i }) => ao`<calcite-alert .icon=${i?.icon ?? "exclamationMarkTriangle"} .open=${i?.active === !0} .autoClose=${i?.autoClose ?? !1} .autoCloseDuration=${i?.duration ?? "medium"} scale=m .kind=${i?.kind ?? "danger"} .ariaHidden=${i?.active !== !0} dir=ltr role=alertdialog label="arcgis charts notify panel">${e !== void 0 ? ao`<div slot=title>${e}</div>` : null}${t !== void 0 ? ao`<div slot=message>${t}</div>` : null}</calcite-alert>`, sA = Fm`.hide{visibility:hidden}.am5-html-container{z-index:101!important}.am5-layer-1000{z-index:1000!important}.am5-layer-30{z-index:100!important}.show{display:block}.notifyPanel{flex:0 1 auto}.disable-interactions{pointer-events:none}.dim-text{color:var(--arcgis-charts-dim-text)}.chart{flex-grow:1;overflow-y:hidden}.chart>div{justify-content:center;align-items:center}:host{width:var(--chart-width, var(--arcgis-charts-default-width));height:var(--chart-height, var(--arcgis-charts-default-height));display:flex;flex-direction:row;position:relative;overflow:hidden}.chart-wrapper{position:relative;width:100%}.chart-container{height:100%}`;
18506
18510
  class rA extends bm {
18507
18511
  constructor() {
18508
18512
  super(), this.loaderHandle = {
@@ -18520,7 +18524,7 @@ class rA extends bm {
18520
18524
  "updateSplitBySeries"
18521
18525
  ], this.updatedProps = /* @__PURE__ */ new Map(), this._showNotifyPanel = !1, this.handleExternalSelection = (e) => {
18522
18526
  const i = e, { selectionData: a, model: o } = i.detail, n = this.layer && o?.layer?.id === Oo(this.layer).id;
18523
- this.syncSelection && n && e.target !== this.el && !ka(a.selectionOIDs, this.selectionData?.selectionOIDs) && (a.selectionOIDs ? (this.selectionData = {
18527
+ this.syncSelection && n && e.target !== this.el && !Ia(a.selectionOIDs, this.selectionData?.selectionOIDs) && (a.selectionOIDs ? (this.selectionData = {
18524
18528
  selectionOIDs: a.selectionOIDs,
18525
18529
  selectionSource: Pe.ProgrammaticSelection
18526
18530
  }, this.arcgisSelectionComplete.emit({ selectionData: this.selectionData, model: this._model })) : this.clearSelection());
@@ -18534,11 +18538,11 @@ class rA extends bm {
18534
18538
  const i = e;
18535
18539
  this.lastModelSetterCalled = i.detail.setterName;
18536
18540
  const a = this._model?.config;
18537
- this.enableConfiguration && Qi(a) && (this.applyPlaceholderForPartialConfig(a), this.arcgisConfigChange.emit({
18541
+ this.enableConfiguration && hi(a) && (this.applyPlaceholderForPartialConfig(a), this.arcgisConfigChange.emit({
18538
18542
  newConfig: a,
18539
18543
  oldConfig: this.config,
18540
18544
  functionCalled: i.detail.setterName
18541
- })), a?.iLayer && !ka(this.config?.iLayer, a?.iLayer) && (this.layer = new Zn(a.iLayer)), this.config = Fe(a);
18545
+ })), a?.iLayer && !Ia(this.config?.iLayer, a?.iLayer) && (this.layer = new Zn(a.iLayer)), this.config = Fe(a);
18542
18546
  }, this.modelDataChange = () => {
18543
18547
  this.setTimeBinningInfoWhenNotProvided && rh(this._model) && this._model?.resetTimeInterval();
18544
18548
  }, this.actionBarSlotRef = (e) => {
@@ -18564,7 +18568,7 @@ class rA extends bm {
18564
18568
  }
18565
18569
  set config(e) {
18566
18570
  const i = this._config;
18567
- this._config = e, i && e && ug(i, e) && this.updatedProps.set("forceDataUpdate", { oldValue: void 0, newValue: void 0 }), this.arcgisConfigChange.emit({ newConfig: e, oldConfig: i, functionCalled: this.lastModelSetterCalled }), this.lastModelSetterCalled = void 0, this.actionBarElement && !Qi(e) && (this.actionBarElement.forceDisableActions = !1), Qi(e) && this.applyPlaceholderForPartialConfig(e);
18571
+ this._config = e, i && e && ug(i, e) && this.updatedProps.set("forceDataUpdate", { oldValue: void 0, newValue: void 0 }), this.arcgisConfigChange.emit({ newConfig: e, oldConfig: i, functionCalled: this.lastModelSetterCalled }), this.lastModelSetterCalled = void 0, this.actionBarElement && !hi(e) && (this.actionBarElement.forceDisableActions = !1), hi(e) && this.applyPlaceholderForPartialConfig(e);
18568
18572
  }
18569
18573
  get rotation() {
18570
18574
  return this._rotation;
@@ -18735,7 +18739,7 @@ class rA extends bm {
18735
18739
  options: d,
18736
18740
  layer: this.layer
18737
18741
  });
18738
- l?.common && s?.series && c?.series && (l.common.numberOfSeriesChanged = Cg(s.series, c.series)), r = r && c !== void 0 && !Qi(c), d.dataUpdated = r;
18742
+ l?.common && s?.series && c?.series && (l.common.numberOfSeriesChanged = Cg(s.series, c.series)), r = r && c !== void 0 && !hi(c), d.dataUpdated = r;
18739
18743
  const g = await cs({
18740
18744
  input: c,
18741
18745
  queryObject: a,
@@ -18743,51 +18747,38 @@ class rA extends bm {
18743
18747
  });
18744
18748
  this.enableConfiguration || (this.showErrorModalInfo = !g.valid), i.forEach((p) => this.updatedProps.delete(p));
18745
18749
  let h;
18746
- if (g.valid)
18747
- r && (this.loaderHandle.showLoader(), wa(a) && await si.whenOnce(() => !a.updating), h = await al({
18748
- chartConfig: c,
18749
- queryObject: a,
18750
- options: d,
18751
- preFetchedQueryResponse: m,
18752
- fullDatasetBeforeFBS: this.fullDatasetBeforeFBS,
18753
- currentSelectionOIDs: this.selectionData?.selectionOIDs,
18754
- currentSelectionDataItems: this.unsanitizedSelectionDataItems,
18755
- dataForFilterBySelectionChanged: l?.common?.dataForFilterBySelectionChanged,
18756
- fieldList: o,
18750
+ g.valid ? (r && (this.loaderHandle.showLoader(), Da(a) && await si.whenOnce(() => !a.updating), h = await al({
18751
+ chartConfig: c,
18752
+ queryObject: a,
18753
+ options: d,
18754
+ preFetchedQueryResponse: m,
18755
+ fullDatasetBeforeFBS: this.fullDatasetBeforeFBS,
18756
+ currentSelectionOIDs: this.selectionData?.selectionOIDs,
18757
+ currentSelectionDataItems: this.unsanitizedSelectionDataItems,
18758
+ dataForFilterBySelectionChanged: l?.common?.dataForFilterBySelectionChanged,
18759
+ fieldList: o,
18760
+ errorStrings: this.commonStrings?.errorStrings,
18761
+ abortKey: this.guid
18762
+ }), this.filterBySelection || (this.fullDatasetBeforeFBS = h.data)), this.enableAutoTheming && (c = hd(this.el, c), this.calciteThemeApplied = Yo(this.el) ? "dark" : void 0, d = gd({
18763
+ chartElement: this.el,
18764
+ options: d,
18765
+ calciteThemeApplied: this.calciteThemeApplied
18766
+ })), await this.chart.update({
18767
+ newChartConfig: c,
18768
+ configValidationStatus: g,
18769
+ dataUpdateDetails: l,
18770
+ dataWasUpdated: r,
18771
+ // TODO: change to dataWasUpdated once getData() moves here
18772
+ updateOptions: d,
18773
+ queryObject: a,
18774
+ dataInfo: h,
18775
+ updateGlobalOptions: this.gatherComponentGlobalOptions(),
18776
+ t9nStrings: {
18757
18777
  errorStrings: this.commonStrings?.errorStrings,
18758
- abortKey: this.guid
18759
- }), this.filterBySelection || (this.fullDatasetBeforeFBS = h.data)), this.enableAutoTheming && (c = hd(this.el, c), this.calciteThemeApplied = Yo(this.el) ? "dark" : void 0, d = gd({
18760
- chartElement: this.el,
18761
- options: d,
18762
- calciteThemeApplied: this.calciteThemeApplied
18763
- })), await this.chart.update({
18764
- newChartConfig: c,
18765
- configValidationStatus: g,
18766
- dataUpdateDetails: l,
18767
- dataWasUpdated: r,
18768
- // TODO: change to dataWasUpdated once getData() moves here
18769
- updateOptions: d,
18770
- queryObject: a,
18771
- dataInfo: h,
18772
- updateGlobalOptions: this.gatherComponentGlobalOptions(),
18773
- t9nStrings: {
18774
- errorStrings: this.commonStrings?.errorStrings,
18775
- utilsStrings: this.commonStrings?.utilsStrings
18776
- },
18777
- loaderHandle: this.loaderHandle
18778
- }), this.handleUpdateCompleted(g);
18779
- else if (this.enableConfiguration)
18780
- this.handleUpdateCompleted(g);
18781
- else {
18782
- this.loaderHandle.hideLoader();
18783
- const { title: p, message: b } = rm({
18784
- chartConfig: c,
18785
- createMessage: d.createMessage,
18786
- status: g,
18787
- errorStrings: this.commonStrings?.errorStrings
18788
- });
18789
- this.notify(b, p);
18790
- }
18778
+ utilsStrings: this.commonStrings?.utilsStrings
18779
+ },
18780
+ loaderHandle: this.loaderHandle
18781
+ }), this.handleUpdateCompleted(g)) : this.processInvalidConfigStatus(g, c);
18791
18782
  }
18792
18783
  }
18793
18784
  }, yh);
@@ -18807,12 +18798,12 @@ class rA extends bm {
18807
18798
  async updatedAsync() {
18808
18799
  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 && !this.showNotifyPanel)
18809
18800
  try {
18810
- (!this.config && !this.layer || gl(this.config, this.layer) && !Qi(this.config)) && await this.updateQueue?.push();
18801
+ (!this.config && !this.layer || gl(this.config, this.layer) && !hi(this.config)) && await this.updateQueue?.push();
18811
18802
  } catch (e) {
18812
- this.chartRef.value !== void 0 && (e instanceof hi && e.name === ao.ChartDisposed ? (this.chart?.dispose(), this.chart = void 0, this.chartRef.value.innerHTML = "", await this.createChartInstance(!1)) : (e instanceof hi && e.name === ao.QueryFeaturesError ? this.arcgisDataProcessError.emit(e.details) : e instanceof hi && this.arcgisRuntimeError.emit(e.details ?? e), this.errorAlert(String(e))));
18803
+ this.chartRef.value !== void 0 && (e instanceof pi && e.name === oo.ChartDisposed ? (this.chart?.dispose(), this.chart = void 0, this.chartRef.value.innerHTML = "", await this.createChartInstance(!1)) : (e instanceof pi && e.name === oo.QueryFeaturesError ? this.arcgisDataProcessError.emit(e.details) : e instanceof pi && this.arcgisRuntimeError.emit(e.details ?? e), this.errorAlert(String(e))));
18813
18804
  }
18814
18805
  else this.chart === void 0 && this.chartCreationProcessing === void 0 && !this.showNotifyPanel && await this.createChartInstance();
18815
- this.placeholder !== void 0 ? await this.notify(this.placeholder) : this.enableConfiguration && Qi(this.config) && this.applyPlaceholderForPartialConfig(this.config), this.actionBarElement !== void 0 && ch({
18806
+ this.placeholder !== void 0 ? await this.notify(this.placeholder) : this.enableConfiguration && hi(this.config) && this.applyPlaceholderForPartialConfig(this.config), this.actionBarElement !== void 0 && ch({
18816
18807
  actionBar: this.actionBarElement,
18817
18808
  chartComponent: this.el,
18818
18809
  config: this.config,
@@ -18852,8 +18843,8 @@ class rA extends bm {
18852
18843
  handleUpdateCompleted(e) {
18853
18844
  if (this.enableConfiguration) {
18854
18845
  const i = this.commonStrings?.errorStrings.notifications;
18855
- if (this.placeholder === void 0 && (e.schemaErrors.length > 0 ? this.notify(i?.invalidConfig, void 0) : e.warnings.length > 0 && e.warnings.some((o) => o.keyword === gg.NonNumericAggregation) && this.notify(i?.validateAggregationTypeMsg, i?.missingNumericFields)), (lh(this._model) || dh(this._model)) && this._model.aggregationType === Yt.NoAggregation && this._model.numericFields.length === 1 && this.layer) {
18856
- const a = Oo(this.layer), o = Ui(a).idField;
18846
+ if (this.placeholder === void 0 && (e.schemaErrors.length > 0 && !hi(this.config) ? hi(this.config) ? this.applyPlaceholderForPartialConfig(this.config) : this.notify(i?.invalidConfig, void 0) : e.warnings.length > 0 && e.warnings.some((o) => o.keyword === gg.NonNumericAggregation) && this.notify(i?.validateAggregationTypeMsg, i?.missingNumericFields)), (lh(this._model) || dh(this._model)) && this._model.aggregationType === Yt.NoAggregation && this._model.numericFields.length === 1 && this.layer) {
18847
+ const a = Oo(this.layer), o = qi(a).idField;
18857
18848
  o && this._model.numericFields.includes(o) && this.notify(i?.noAggregationRequiresNumericFields, i?.missingNumericFields);
18858
18849
  }
18859
18850
  }
@@ -19044,7 +19035,7 @@ class rA extends bm {
19044
19035
  config: a
19045
19036
  });
19046
19037
  else {
19047
- const o = Ta(this._messages?.chartNotFoundWarning ?? "", {
19038
+ const o = ka(this._messages?.chartNotFoundWarning ?? "", {
19048
19039
  chartIndex: i.toString(),
19049
19040
  layerTitle: e.title
19050
19041
  });
@@ -19058,7 +19049,7 @@ class rA extends bm {
19058
19049
  }
19059
19050
  checkForIncompatibleChartVersion() {
19060
19051
  const e = this.config?.version;
19061
- this.errorPolicy === Ro.Throw && yg(e).versionStatus === Bg.Newer && (this.notifyHeading = this.commonStrings?.errorStrings.incompatibleChartVersion?.title, this.notifyMessage = this.commonStrings?.errorStrings.incompatibleChartVersion?.message ? Ta(this.commonStrings?.errorStrings.incompatibleChartVersion?.message, {
19052
+ this.errorPolicy === Ro.Throw && yg(e).versionStatus === Bg.Newer && (this.notifyHeading = this.commonStrings?.errorStrings.incompatibleChartVersion?.title, this.notifyMessage = this.commonStrings?.errorStrings.incompatibleChartVersion?.message ? ka(this.commonStrings?.errorStrings.incompatibleChartVersion?.message, {
19062
19053
  chartVersion: e ?? ""
19063
19054
  }) : "", this.notifyOptions = {
19064
19055
  kind: "warning",
@@ -19097,7 +19088,7 @@ class rA extends bm {
19097
19088
  }), {
19098
19089
  layer: this.layer,
19099
19090
  view: this.filterByExtent ? this.view : void 0,
19100
- viewExtentUpdated: e && this.filterByExtent === !0 && (this.view !== void 0 || wa(this.layer)),
19091
+ viewExtentUpdated: e && this.filterByExtent === !0 && (this.view !== void 0 || Da(this.layer)),
19101
19092
  allowUsingObjectIdStat: this.allowUsingObjectIdStat,
19102
19093
  nullAsValid: this.nullAsValid,
19103
19094
  showUIMessages: this.showUIMessages,
@@ -19158,7 +19149,7 @@ class rA extends bm {
19158
19149
  queryObject: i,
19159
19150
  allowUsingObjectIdStat: a?.allowUsingObjectIdStat
19160
19151
  }), r = await Tt(i, a?.usePopupTemplateFieldsInfo);
19161
- o && !Qi(o) && s.valid && (this.loaderHandle.showLoader(), this.dataFetching = al({
19152
+ o && !hi(o) && s.valid && (this.loaderHandle.showLoader(), this.dataFetching = al({
19162
19153
  chartConfig: o,
19163
19154
  preFetchedQueryResponse: n,
19164
19155
  queryObject: i,
@@ -19166,7 +19157,7 @@ class rA extends bm {
19166
19157
  fieldList: r,
19167
19158
  errorStrings: this.commonStrings?.errorStrings,
19168
19159
  abortKey: this.guid
19169
- }));
19160
+ })), s.valid || this.processInvalidConfigStatus(s, o);
19170
19161
  const l = this.dataFetching ? await this.dataFetching : void 0;
19171
19162
  this.addMutationObserverForCalciteTheme(), this.enableAutoTheming && (o = hd(this.el, o), this.calciteThemeApplied = Yo(this.el) ? "dark" : void 0, a = gd({
19172
19163
  chartElement: this.el,
@@ -19192,7 +19183,21 @@ class rA extends bm {
19192
19183
  }), this.chart = await this.chartCreationProcessing, this.chartCreationProcessing = void 0, e && (this.addLayerWatchHandlers(), await this.setExtentChangeWatchHandler(), this.setViewTimeExtentChangeWatchHandler());
19193
19184
  }
19194
19185
  } catch (i) {
19195
- i instanceof hi && i.name === ao.QueryFeaturesError ? this.arcgisDataProcessError.emit(i.details) : i instanceof hi && this.arcgisRuntimeError.emit(i.details ?? i), this.errorAlert(String(i)), this.chart?.dispose(), this.chartCreationProcessing = void 0, this.chart = void 0;
19186
+ i instanceof pi && i.name === oo.QueryFeaturesError ? this.arcgisDataProcessError.emit(i.details) : i instanceof pi && this.arcgisRuntimeError.emit(i.details ?? i), this.errorAlert(String(i)), this.chart?.dispose(), this.chartCreationProcessing = void 0, this.chart = void 0;
19187
+ }
19188
+ }
19189
+ processInvalidConfigStatus(e, i) {
19190
+ if (this.enableConfiguration)
19191
+ this.handleUpdateCompleted(e);
19192
+ else {
19193
+ this.loaderHandle.hideLoader();
19194
+ const { title: a, message: o } = rm({
19195
+ chartConfig: i,
19196
+ createMessage: this.placeholder,
19197
+ status: e,
19198
+ errorStrings: this.commonStrings?.errorStrings
19199
+ });
19200
+ this.notify(o, a);
19196
19201
  }
19197
19202
  }
19198
19203
  render() {
@@ -19208,9 +19213,9 @@ class rA extends bm {
19208
19213
  break;
19209
19214
  }
19210
19215
  const a = this.showNotifyPanel ? `${ai.Show} ${ai.NotifyPanel}` : ai.Hide;
19211
- return io`<slot name=${sh.actionBar} @slotchange=${(o) => {
19216
+ return ao`<slot name=${sh.actionBar} @slotchange=${(o) => {
19212
19217
  this.actionBarElement = uh(o, this.el, this.config);
19213
- }} ${Jr(this.actionBarSlotRef)}></slot>${(this.showErrorModalInfo || this.showLoader) && this.showUIMessages !== !1 ? io`<arcgis-charts-info-modal .heading=${this.notifyHeading ?? ""} .message=${this.notifyMessage ?? ""} .showErrorModalInfo=${this.showErrorModalInfo} .showLoader=${this.showLoader} .loaderColors=${this.loaderColors} .calciteThemeApplied=${this.calciteThemeApplied} .enableAutoTheming=${this.enableAutoTheming}></arcgis-charts-info-modal>` : null}<div class=${`${ai.ChartWrapper} ${i}`}><div class=${`${ai.ChartContainer} ${i}`} ${Jr(this.chartRef)}></div></div><div class=${ym(a)}>${e}</div>`;
19218
+ }} ${Jr(this.actionBarSlotRef)}></slot>${(this.showErrorModalInfo || this.showLoader) && this.showUIMessages !== !1 ? ao`<arcgis-charts-info-modal .heading=${this.notifyHeading ?? ""} .message=${this.notifyMessage ?? ""} .showErrorModalInfo=${this.showErrorModalInfo} .showLoader=${this.showLoader} .loaderColors=${this.loaderColors} .calciteThemeApplied=${this.calciteThemeApplied} .enableAutoTheming=${this.enableAutoTheming}></arcgis-charts-info-modal>` : null}<div class=${`${ai.ChartWrapper} ${i}`}><div class=${`${ai.ChartContainer} ${i}`} ${Jr(this.chartRef)}></div></div><div class=${ym(a)}>${e}</div>`;
19214
19219
  }
19215
19220
  }
19216
19221
  pm("arcgis-chart", rA);