@arcgis/charts-components 6.0.0-next.0 → 6.0.0-next.1

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.
Files changed (134) hide show
  1. package/dist/cdn/{54DSGXZ4.js → 2JIOGP7R.js} +1 -1
  2. package/dist/cdn/{ZMWTAWSP.js → 32URMI5E.js} +1 -1
  3. package/dist/cdn/3C5377V2.js +2 -0
  4. package/dist/cdn/{JU7EYMOJ.js → 3EOTHJWP.js} +1 -1
  5. package/dist/cdn/{Q5RYOZ3L.js → 3U6UEUC3.js} +1 -1
  6. package/dist/cdn/{K63HGT6O.js → 3V7MD72Y.js} +1 -1
  7. package/dist/cdn/{BWOIRNCD.js → 4IZR4ZL4.js} +1 -1
  8. package/dist/cdn/{SXRIEUIN.js → 4R6YXEBJ.js} +1 -1
  9. package/dist/cdn/{FRFHLGO7.js → 53QW4BYR.js} +1 -1
  10. package/dist/cdn/{XAUKPCFO.js → 5CXU3NKH.js} +1 -1
  11. package/dist/cdn/{KK3WP5IA.js → 5DHZV7X2.js} +1 -1
  12. package/dist/cdn/{JCLUY2EI.js → 64VXZM5A.js} +1 -1
  13. package/dist/cdn/{O4NXWUXR.js → 6RB4RYGN.js} +1 -1
  14. package/dist/cdn/{PF5QGO7P.js → 7TK4GSLV.js} +1 -1
  15. package/dist/cdn/{THXGBWDW.js → A5EZTVKV.js} +1 -1
  16. package/dist/cdn/{AHFXCORG.js → AKW3NHSY.js} +1 -1
  17. package/dist/cdn/{AQQSX6MB.js → AL6ZEHZK.js} +1 -1
  18. package/dist/cdn/{Y5JSJPHW.js → AX6KSFYK.js} +1 -1
  19. package/dist/cdn/{WQAPQIKI.js → B5SRZGC2.js} +1 -1
  20. package/dist/cdn/{XOCPNNLY.js → BF2W5NTN.js} +1 -1
  21. package/dist/cdn/{ANVRAFUS.js → BRBAHSCB.js} +1 -1
  22. package/dist/cdn/{EE7HRPYS.js → BRW7VZ2C.js} +1 -1
  23. package/dist/cdn/{7YFEZ5NG.js → C7WUBEMI.js} +1 -1
  24. package/dist/cdn/{BZLDCR76.js → CB6RALFJ.js} +1 -1
  25. package/dist/cdn/{METVD2N2.js → CE2OEL6G.js} +1 -1
  26. package/dist/cdn/DA5DYK4X.js +2 -0
  27. package/dist/cdn/DP3ALDSI.js +2 -0
  28. package/dist/cdn/{4LJXFMPL.js → DPXBPL2Y.js} +1 -1
  29. package/dist/cdn/{SNUNNPBG.js → DUIC7PGW.js} +1 -1
  30. package/dist/cdn/{6UH6D4P7.js → EETR5IRC.js} +1 -1
  31. package/dist/cdn/{FAPVUQXJ.js → EHD6HNUK.js} +1 -1
  32. package/dist/cdn/{NG66OGBO.js → EJAZWHRG.js} +1 -1
  33. package/dist/cdn/{MNR7SALB.js → EWFT2JV5.js} +1 -1
  34. package/dist/cdn/{PLGLTSHE.js → EWS4XDX5.js} +1 -1
  35. package/dist/cdn/{P2WGODPL.js → FI67QJAR.js} +1 -1
  36. package/dist/cdn/{K6EMFLBK.js → FTR2IWDM.js} +1 -1
  37. package/dist/cdn/{WONOW5WD.js → G2T43FGA.js} +1 -1
  38. package/dist/cdn/{KMB4KGP7.js → GPFDXMZV.js} +1 -1
  39. package/dist/cdn/{CRYNT7GM.js → GUU5K7KZ.js} +1 -1
  40. package/dist/cdn/{GBC7DUU3.js → HGCITTOQ.js} +1 -1
  41. package/dist/cdn/{HXUOAXW6.js → HPZNKDNN.js} +1 -1
  42. package/dist/cdn/{VMMRXTAY.js → HRYM365L.js} +1 -1
  43. package/dist/cdn/{RL2LPFWQ.js → IJGJ7LW4.js} +1 -1
  44. package/dist/cdn/{PIXQELBO.js → J24X7IAD.js} +1 -1
  45. package/dist/cdn/{XHCJKB27.js → J7CDASEM.js} +1 -1
  46. package/dist/cdn/{65FYSCF2.js → JBGGX4GF.js} +1 -1
  47. package/dist/cdn/{N2EY7RDB.js → JC3KQC4M.js} +1 -1
  48. package/dist/cdn/{4KVE3AGY.js → JCSGUVJN.js} +1 -1
  49. package/dist/cdn/{RBXMEHR5.js → JZCSDGTO.js} +1 -1
  50. package/dist/cdn/{LALIPDHB.js → K7KTLLN3.js} +1 -1
  51. package/dist/cdn/{NKYFX3GN.js → KCJ3UIVJ.js} +1 -1
  52. package/dist/cdn/{KCBT3VDQ.js → KFS2IDLJ.js} +1 -1
  53. package/dist/cdn/{F2W66ULA.js → KOPGJ6GL.js} +1 -1
  54. package/dist/cdn/{TBOCYB3D.js → KWJG3BJA.js} +1 -1
  55. package/dist/cdn/{VZUSTDAS.js → L6ACX7PK.js} +2 -2
  56. package/dist/cdn/{ILJVVN6I.js → L6AHDF5D.js} +1 -1
  57. package/dist/cdn/{KTYMZ5LM.js → L7USVDCR.js} +1 -1
  58. package/dist/cdn/{PPBZHYSA.js → M4G56EOH.js} +1 -1
  59. package/dist/cdn/{DGD5IYSW.js → NNIAFAEK.js} +1 -1
  60. package/dist/cdn/{ARNTHMJA.js → O3VCA2HA.js} +1 -1
  61. package/dist/cdn/{E2KUCER2.js → O7QPA3NH.js} +1 -1
  62. package/dist/cdn/{LYKIQ7DH.js → ORTPYOO7.js} +1 -1
  63. package/dist/cdn/{BMH7K2GR.js → OWAETVFH.js} +1 -1
  64. package/dist/cdn/{WZBDHR5B.js → PXKD656W.js} +1 -1
  65. package/dist/cdn/{6TELFJWN.js → QKPEMJRH.js} +1 -1
  66. package/dist/cdn/{2VXXSM6V.js → QXIFJISA.js} +1 -1
  67. package/dist/cdn/{N7UJDGTB.js → R44U46BF.js} +1 -1
  68. package/dist/cdn/{HYOZOWIV.js → RB2DJJAF.js} +1 -1
  69. package/dist/cdn/{FJR2CXBV.js → RV2J4OPJ.js} +1 -1
  70. package/dist/cdn/{B7EFM4EC.js → TLPP547P.js} +1 -1
  71. package/dist/cdn/{2V5NOKVR.js → TOFHR6G7.js} +1 -1
  72. package/dist/cdn/{Y4D3RT7S.js → TPFFIATK.js} +1 -1
  73. package/dist/cdn/{QOCXO3SH.js → U64ICCSZ.js} +1 -1
  74. package/dist/cdn/{QHYCUUOS.js → UW35QKDS.js} +2 -2
  75. package/dist/cdn/{UTDG54SS.js → VB6XKC4W.js} +1 -1
  76. package/dist/cdn/{YPOUCQL3.js → VCER6DFQ.js} +1 -1
  77. package/dist/cdn/{LXJ5MUWA.js → W5Z2EI2D.js} +1 -1
  78. package/dist/cdn/{3THTYYIE.js → WAUIROBC.js} +1 -1
  79. package/dist/cdn/{53BLOO76.js → WYDO2IF4.js} +1 -1
  80. package/dist/cdn/{45W7WOG7.js → XE6MQ6IR.js} +1 -1
  81. package/dist/cdn/{IRONVMYK.js → XEUHT7JB.js} +14 -14
  82. package/dist/cdn/{GONLVB3N.js → ZLI33FIZ.js} +1 -1
  83. package/dist/cdn/{ET6ADBCU.js → ZQPCVZ2Z.js} +1 -1
  84. package/dist/cdn/index.js +1 -1
  85. package/dist/cdn/model/shared/setup-utils.js +1 -1
  86. package/dist/chunks/action-bar-utils.js +58 -56
  87. package/dist/chunks/box-plot-data.js +1 -1
  88. package/dist/chunks/box-plot-model.js +1 -1
  89. package/dist/chunks/chart-ui-utils.js +1 -1
  90. package/dist/chunks/class-breaks.js +1 -1
  91. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  92. package/dist/chunks/data.js +23 -23
  93. package/dist/chunks/index.js +164 -157
  94. package/dist/chunks/index4.js +1 -1
  95. package/dist/chunks/model-setter.js +5 -5
  96. package/dist/chunks/negative-values-stacked-to-baseline.js +1 -1
  97. package/dist/chunks/radar-chart-model.js +35 -22
  98. package/dist/chunks/rounded-corners.js +1 -1
  99. package/dist/chunks/scatterplot-model.js +5 -5
  100. package/dist/chunks/serial-chart-data.js +29 -29
  101. package/dist/chunks/serial-chart-model.js +5 -5
  102. package/dist/chunks/type-guards.js +7 -7
  103. package/dist/chunks/utils.js +7 -7
  104. package/dist/chunks/web-component-utils.js +41 -41
  105. package/dist/chunks/x-bounds.js +5 -5
  106. package/dist/components/arcgis-chart/customElement.js +460 -460
  107. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  108. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +9 -9
  109. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  110. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  111. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +9 -9
  112. package/dist/components/arcgis-charts-config-create-flow/customElement.js +10 -10
  113. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  114. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  115. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  116. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  117. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  118. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +3 -3
  119. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +6 -6
  120. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +4 -4
  121. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  122. package/dist/components/arcgis-charts-config-scatter-plot-aoi/customElement.js +39 -27
  123. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +6 -6
  124. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  125. package/dist/docs/api.json +1 -1
  126. package/dist/docs/docs.json +1 -1
  127. package/dist/index.js +253 -252
  128. package/dist/model/radar-chart-model/radar-chart-model.d.ts +6 -0
  129. package/dist/utils/chart-config/converter/index.js +20 -20
  130. package/dist/utils/chart-config/utils/index.d.ts +10 -1
  131. package/package.json +4 -4
  132. package/dist/cdn/AEJUKKCS.js +0 -2
  133. package/dist/cdn/IKQYLTZL.js +0 -2
  134. package/dist/cdn/VB2SRFYU.js +0 -2
@@ -5,51 +5,51 @@ import { substitute as Qi } from "@arcgis/core/intl.js";
5
5
  import Vm from "@arcgis/core/layers/Layer.js";
6
6
  import Wm from "@arcgis/core/portal/PortalItem.js";
7
7
  import { LitElement as Em, createEvent as mt, safeClassMap as os } from "@arcgis/lumina";
8
- import { unsafeGetElementDirection as js, observeAncestorsMutation as gl, unsafeGetCalciteModeName as hl } from "@arcgis/toolkit/dom";
8
+ import { unsafeGetElementDirection as js, observeAncestorsMutation as hl, unsafeGetCalciteModeName as pl } from "@arcgis/toolkit/dom";
9
9
  import { getElementLocale as ea } from "@arcgis/toolkit/intl/dom";
10
10
  import { log as zm } from "@arcgis/toolkit/log";
11
- import { Task as mi, shallowArrayEquals as Hm, TaskStatus as pl } from "@lit/task";
11
+ import { Task as mi, shallowArrayEquals as Hm, TaskStatus as bl } from "@lit/task";
12
12
  import { snapdom as _m } from "@zumer/snapdom";
13
13
  import { debounce as yt, cloneDeep as ke, isEqual as pt, isEmpty as Sa } from "es-toolkit/compat";
14
14
  import Gm from "jszip";
15
15
  import { html as to, css as Xm } from "lit";
16
- import { createRef as Ym, ref as bl } from "lit/directives/ref.js";
16
+ import { createRef as Ym, ref as yl } from "lit/directives/ref.js";
17
17
  import { H as Bt } from "../../chunks/resources.js";
18
- import { XYChart as fe, PieChart as $e, AxisFill as Um, AxisFillCircular as jm, GaugeChart as kt, DateAxis as Pe, ValueAxis as Te, CategoryAxis as dt, CategoryAxisDataItem as Ta, DateAxisDataItem as gn, LineSeries as be, ColumnSeries as ut, PieSeries as Wt, XYCursor as zc, XYSeries as yi, SerialChart as qs, Cursor as qm, AxisLabel as Zs, ColumnSeriesDataItem as Ks, LineSeriesDataItem as Va, CandlestickSeries as ze, StepLineSeries as Ft, LegendDataItem as na, Series as Hc, CandlestickSeriesDataItem as Zm, PieSeriesDataItem as Si, Legend as Km, AxisRendererX as At, AxisRendererCircular as hn, AxisLabelCircular as Qs, ValueAxisDataItem as Js, AxisRendererY as Wa, ClockHand as Qm, Chart as _c } from "@amcharts/amcharts4/charts.js";
19
- import { Color as Go, percent as gt, LinePattern as Gc, RectPattern as Xc, color as pn, DateFormatter as Yc, NumberFormatter as Uc, Group as Jm, MouseCursorStyle as Zt, Label as Xo, DropShadowFilter as eg, Sprite as er, utils as jc, Tooltip as qc, Container as tg, RoundedRectangle as ig, Percent as Yo, Slice as ag, options as io, useTheme as og, unuseTheme as ng, create as tr } from "@amcharts/amcharts4/core.js";
20
- import yl from "@amcharts/amcharts4/themes/animated.js";
21
- import { W as Ce, a as y, b as ns, c as te, S as Zc, d as jt, e as Ue, f as G, g as bn, h as Kc, i as Sl, j as Ca, k as Cl, l as ss, m as xl, n as xa, o as sg } from "../../chunks/chart-object-literals.js";
22
- import { f as Qc, e as po, i as no, a as Uo, b as Jc, m as ed, c as yn, d as td, g as qt, h as id, j as ad, k as ir, s as ar, l as od, n as nd, o as jo, p as rg, q as Z, r as it, t as sa, u as Lt, v as Et, w as or, x as ai, y as rs, z as va, A as gi, B as hi, C as bt, D as Oe, E as bo, F as Ea, G as Ci, H as nr, I as oi, J as ka, K as ni, L as sr, M as Ct, N as rr, O as Jt, P as Ai, Q as ie, R as Se, S as lg, T as Sn, U as Pi, V as ui, W as Ti, X as Vi, Y as lr, Z as za, _ as $t, $ as cr, a0 as sd, a1 as dr, a2 as ur, a3 as Gt, a4 as yo, a5 as so, a6 as fr, a7 as Ha, a8 as rd, a9 as ld, aa as xi, ab as cd, ac as dd, ad as Cn, ae as mr, af as xn, ag as gr, ah as hr, ai as ud, aj as fd, ak as md, al as pr, am as gd, an as vl, ao as vn, ap as hd, aq as br, ar as yr, as as qo, at as cg, au as pd, av as bd, aw as ao, ax as Ln, ay as yd, az as Sd, aA as dg, aB as ug, aC as fg, aD as mg, aE as Cd, aF as xd, aG as gg, aH as hg, aI as pg, aJ as Fn, aK as F, aL as bg, aM as vd, aN as yg, aO as Ld, aP as zt, aQ as Sg, aR as Cg, aS as ro, aT as An, aU as Ki, aV as xg, aW as Fd, aX as vg, aY as Lg, aZ as Fg, a_ as Ag, a$ as Tg, b0 as ls, b1 as kg, b2 as Ig, b3 as Ad, b4 as Rg, b5 as wg, b6 as Og, b7 as Dg, b8 as $g, b9 as Mg, ba as Bg, bb as Ng, bc as Pg, bd as Eo, be as Td, bf as kd, bg as Ll, bh as Vg, bi as Wg, bj as Eg, bk as zg, bl as cs, bm as Hg, bn as Di, bo as _g, bp as Gg, bq as Xg, br as Yg, bs as Ug, bt as Fl, bu as jg, bv as qg, bw as Zg, bx as Kg, by as Qg, bz as Al, bA as Jg, bB as eh, bC as th, bD as ih, bE as ah, bF as oh, bG as nh, bH as sh, bI as rh } from "../../chunks/index.js";
23
- import { C as H, g as _i, a as V, b as Me, s as Ge, i as Ae, c as Tn, d as ds, A as J, e as Qe, f as rt, S as ge, n as Id, h as Rd, j as Zo, k as zo, O as Ie, l as wd, u as lh } from "../../chunks/index2.js";
18
+ import { XYChart as fe, PieChart as $e, AxisFill as Um, AxisFillCircular as jm, GaugeChart as kt, DateAxis as Pe, ValueAxis as Te, CategoryAxis as dt, CategoryAxisDataItem as Ta, DateAxisDataItem as gn, LineSeries as be, ColumnSeries as ut, PieSeries as Wt, XYCursor as Hc, XYSeries as yi, SerialChart as qs, Cursor as qm, AxisLabel as Zs, ColumnSeriesDataItem as Ks, LineSeriesDataItem as Va, CandlestickSeries as ze, StepLineSeries as Ft, LegendDataItem as na, Series as _c, CandlestickSeriesDataItem as Zm, PieSeriesDataItem as Si, Legend as Km, AxisRendererX as At, AxisRendererCircular as hn, AxisLabelCircular as Qs, ValueAxisDataItem as Js, AxisRendererY as Wa, ClockHand as Qm, Chart as Gc } from "@amcharts/amcharts4/charts.js";
19
+ import { Color as Go, percent as gt, LinePattern as Xc, RectPattern as Yc, color as pn, DateFormatter as Uc, NumberFormatter as jc, Group as Jm, MouseCursorStyle as Zt, Label as Xo, DropShadowFilter as eg, Sprite as er, utils as qc, Tooltip as Zc, Container as tg, RoundedRectangle as ig, Percent as Yo, Slice as ag, options as io, useTheme as og, unuseTheme as ng, create as tr } from "@amcharts/amcharts4/core.js";
20
+ import Sl from "@amcharts/amcharts4/themes/animated.js";
21
+ import { W as Ce, a as y, b as ns, c as te, S as Kc, d as jt, e as Ue, f as G, g as bn, h as Qc, i as Cl, j as Ca, k as xl, l as ss, m as vl, n as xa, o as sg } from "../../chunks/chart-object-literals.js";
22
+ import { f as Jc, e as po, i as no, a as Uo, b as ed, m as td, c as yn, d as id, g as qt, h as ad, j as od, k as ir, s as ar, l as nd, n as sd, o as jo, p as rg, q as Z, r as it, t as sa, u as Lt, v as Et, w as or, x as ai, y as rs, z as va, A as gi, B as hi, C as bt, D as Oe, E as bo, F as Ea, G as Ci, H as nr, I as oi, J as ka, K as ni, L as sr, M as Ct, N as rr, O as Jt, P as Ai, Q as ie, R as Se, S as lg, T as Sn, U as Pi, V as ui, W as Ti, X as Vi, Y as lr, Z as za, _ as $t, $ as cr, a0 as rd, a1 as dr, a2 as ur, a3 as Gt, a4 as yo, a5 as so, a6 as fr, a7 as Ha, a8 as ld, a9 as cd, aa as xi, ab as dd, ac as ud, ad as Cn, ae as mr, af as xn, ag as gr, ah as hr, ai as fd, aj as md, ak as gd, al as pr, am as hd, an as Ll, ao as vn, ap as pd, aq as br, ar as yr, as as qo, at as cg, au as bd, av as yd, aw as ao, ax as Ln, ay as Sd, az as Cd, aA as dg, aB as ug, aC as fg, aD as mg, aE as xd, aF as vd, aG as gg, aH as hg, aI as pg, aJ as Fn, aK as F, aL as bg, aM as Ld, aN as yg, aO as Fd, aP as zt, aQ as Sg, aR as Cg, aS as ro, aT as An, aU as Ki, aV as xg, aW as Ad, aX as vg, aY as Lg, aZ as Fg, a_ as Ag, a$ as Tg, b0 as ls, b1 as kg, b2 as Ig, b3 as Td, b4 as Rg, b5 as wg, b6 as Og, b7 as Dg, b8 as $g, b9 as Mg, ba as Bg, bb as Ng, bc as Pg, bd as Eo, be as kd, bf as Id, bg as Fl, bh as Vg, bi as Wg, bj as Eg, bk as zg, bl as cs, bm as Hg, bn as Di, bo as _g, bp as Gg, bq as Xg, br as Yg, bs as Ug, bt as Al, bu as jg, bv as qg, bw as Zg, bx as Kg, by as Qg, bz as Tl, bA as Jg, bB as eh, bC as th, bD as ih, bE as ah, bF as oh, bG as nh, bH as sh, bI as rh } from "../../chunks/index.js";
23
+ import { C as H, g as _i, a as V, b as Me, s as Ge, i as Ae, c as Tn, d as ds, A as J, e as Qe, f as rt, S as ge, n as Rd, h as Sr, j as Zo, k as zo, O as Ie, l as wd, u as lh } from "../../chunks/index2.js";
24
24
  import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
25
25
  import { R as Ye, a as tt, b as K, c as us, d as kn, e as Ko } from "../../chunks/rest-js-object-literals.js";
26
- import { g as ta, r as Sr, f as So, a as Tl, p as Pt, b as Ia, c as xs, d as ch, e as dh, h as uh, q as pi, i as Re, j as In, k as Cr, l as xr, m as vr, n as Od, o as Ra, s as Dd, t as Rn, u as $d, v as Lr, w as fh, x as mh, y as gh, z as Md, A as Bd, B as hh, C as Co, D as ph, E as wa, F as kl, G as bh, H as yh, L as Sh, I as Il } from "../../chunks/index3.js";
26
+ import { g as ta, r as Cr, f as So, a as kl, p as Pt, b as Ia, c as xs, d as ch, e as dh, h as uh, q as pi, i as Re, j as In, k as xr, l as vr, m as Lr, n as Od, o as Ra, s as Dd, t as Rn, u as $d, v as Fr, w as fh, x as mh, y as gh, z as Md, A as Bd, B as hh, C as Co, D as ph, E as wa, F as Il, G as bh, H as yh, L as Sh, I as Rl } from "../../chunks/index3.js";
27
27
  import { i as Xe, a as si } from "../../chunks/type-guards.js";
28
28
  import { g as W, a as Ch } from "../../chunks/series-types.js";
29
29
  import { isLight as xh } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
30
- import { Scrollbar as Rl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
31
- import { color as lo, Series as Oa, percent as at, LinePattern as Nd, RectanglePattern as vh, p50 as de, p0 as De, p100 as he, Graphics as Rt, SerialChart as co, Label as st, Rectangle as Da, DateFormatter as Lh, NumberFormatter as Pd, Bullet as ki, Tooltip as Gi, Template as ra, RoundedRectangle as vs, Slice as wl, time as Fh, Timezone as Ah, DataItem as Fr, Container as bi, Color as Th, HeatLegend as Qo, LinearGradient as kh, Legend as Vd, Scrollbar as Ls, addLicense as Ih, registry as Rh, Root as wh } from "@amcharts/amcharts5";
30
+ import { Scrollbar as wl } from "@amcharts/amcharts4/.internal/core/elements/Scrollbar.js";
31
+ import { color as lo, Series as Oa, percent as at, LinePattern as Nd, RectanglePattern as vh, p50 as de, p0 as De, p100 as he, Graphics as Rt, SerialChart as co, Label as st, Rectangle as Da, DateFormatter as Lh, NumberFormatter as Pd, Bullet as ki, Tooltip as Gi, Template as ra, RoundedRectangle as vs, Slice as Ol, time as Fh, Timezone as Ah, DataItem as Ar, Container as bi, Color as Th, HeatLegend as Qo, LinearGradient as kh, Legend as Vd, Scrollbar as Ls, addLicense as Ih, registry as Rh, Root as wh } from "@amcharts/amcharts5";
32
32
  import { PieSeries as Je, PieChart as Qt } from "@amcharts/amcharts5/percent.js";
33
- import { RadarCursor as Ar, AxisRendererCircular as ei, ClockHand as Fs, RadarChart as Wi, AxisRendererRadial as Oh, RadarLineSeries as Tr } from "@amcharts/amcharts5/radar.js";
34
- import { AxisRendererY as vi, LineSeries as ne, ColumnSeries as xe, CategoryAxis as Ee, XYCursor as Wd, XYChart as pe, CandlestickSeries as Ii, StepLineSeries as la, XYSeries as kr, AxisRendererX as ft, DateAxis as Ne, ValueAxis as ye, AxisBullet as Dh, AxisLabel as Ol } from "@amcharts/amcharts5/xy.js";
33
+ import { RadarCursor as Tr, AxisRendererCircular as ei, ClockHand as Fs, RadarChart as Wi, AxisRendererRadial as Oh, RadarLineSeries as kr } from "@amcharts/amcharts5/radar.js";
34
+ import { AxisRendererY as vi, LineSeries as ne, ColumnSeries as xe, CategoryAxis as Ee, XYCursor as Wd, XYChart as pe, CandlestickSeries as Ii, StepLineSeries as la, XYSeries as Ir, AxisRendererX as ft, DateAxis as Ne, ValueAxis as ye, AxisBullet as Dh, AxisLabel as Dl } from "@amcharts/amcharts5/xy.js";
35
35
  import $h from "@amcharts/amcharts5/themes/Animated.js";
36
36
  import Mh from "@amcharts/amcharts5/themes/Responsive.js";
37
- import { g as Dl, a as Bh, b as Nh, c as Ph, d as $l, t as Ml, e as Bl } from "../../chunks/web-component-utils.js";
37
+ import { g as $l, a as Bh, b as Nh, c as Ph, d as Ml, t as Bl, e as Nl } from "../../chunks/web-component-utils.js";
38
38
  import { curveLinearClosed as Vh, curveLinear as Wh, curveCardinal as Eh, curveMonotoneY as zh, curveMonotoneX as Hh } from "d3-shape";
39
- import { u as Nl } from "../../chunks/useT9n.js";
39
+ import { u as Pl } from "../../chunks/useT9n.js";
40
40
  import { S as _h } from "../../chunks/interfaces.js";
41
41
  import { M as Gh, r as Xh } from "../../chunks/model-setter.js";
42
- import { s as Yh, p as Uh, i as jh, a as Pl, u as qh, b as Zh, c as Kh, r as Qh, f as Jh } from "../../chunks/serial-chart-data.js";
43
- import { g as Vl } from "../../chunks/series-length.js";
42
+ import { s as Yh, p as Uh, i as jh, a as Vl, u as qh, b as Zh, c as Kh, r as Qh, f as Jh } from "../../chunks/serial-chart-data.js";
43
+ import { g as Wl } from "../../chunks/series-length.js";
44
44
  import { createModel as ep } from "../../model/shared/setup-utils.js";
45
- import { i as lt, a as fs, b as ms, c as $o, d as Wl, e as tp, f as ip, g as El, h as ap } from "../../chunks/type-guards2.js";
45
+ import { i as lt, a as fs, b as ms, c as $o, d as El, e as tp, f as ip, g as zl, h as ap } from "../../chunks/type-guards2.js";
46
46
  import { s as op, a as np } from "../../chunks/store.js";
47
- import { f as zl, i as Zi, v as Hl, a as sp } from "../../chunks/index4.js";
47
+ import { f as Hl, i as Zi, v as _l, a as sp } from "../../chunks/index4.js";
48
48
  import { u as rp, o as lp } from "../../chunks/action-bar-utils.js";
49
49
  import { d as cp } from "../../chunks/chart-ui-utils.js";
50
50
  import { getCssColor as Qa } from "@arcgis/toolkit/dom/color";
51
- import { d as _l } from "../../chunks/default.js";
52
- import { L as Ed, a as zd, b as Hd, V as _d, S as As, E as Mo, A as Gl } from "../../chunks/index5.js";
51
+ import { d as Gl } from "../../chunks/default.js";
52
+ import { L as Ed, a as zd, b as Hd, V as _d, S as As, E as Mo, A as Xl } from "../../chunks/index5.js";
53
53
  import { g as dp, a as up } from "../../chunks/class-breaks.js";
54
54
  import { GenericController as fp } from "@arcgis/lumina/controllers";
55
55
  const Jo = /* @__PURE__ */ new Map();
@@ -161,9 +161,9 @@ const A = {
161
161
  function vp(t) {
162
162
  const { fill: e, rotation: i, isLinePattern: a, chartBackgroundColor: o } = t;
163
163
  let n;
164
- return a !== !1 ? (n = new Gc(), n.width = A.patternLineProperties.width ?? Number.NaN, n.height = A.patternLineProperties.height ?? Number.NaN, n.strokeWidth = A.patternLineProperties.strokeWidth ?? Number.NaN, n.stroke = e, n.rotation = i ?? Number.NaN) : (n = new Xc(), n.rectWidth = A.patternRectProperties.rectWidth ?? Number.NaN, n.rectHeight = A.patternRectProperties.rectHeight ?? Number.NaN, n.width = A.patternRectProperties.width ?? Number.NaN, n.height = A.patternRectProperties.height ?? Number.NaN, n.fillOpacity = A.patternRectProperties.fillOpacity ?? Number.NaN, n.strokeWidth = A.patternRectProperties.strokeWidth ?? Number.NaN, n.fill = ia(o), n.stroke = e, n.rotation = i ?? Number.NaN), n;
164
+ return a !== !1 ? (n = new Xc(), n.width = A.patternLineProperties.width ?? Number.NaN, n.height = A.patternLineProperties.height ?? Number.NaN, n.strokeWidth = A.patternLineProperties.strokeWidth ?? Number.NaN, n.stroke = e, n.rotation = i ?? Number.NaN) : (n = new Yc(), n.rectWidth = A.patternRectProperties.rectWidth ?? Number.NaN, n.rectHeight = A.patternRectProperties.rectHeight ?? Number.NaN, n.width = A.patternRectProperties.width ?? Number.NaN, n.height = A.patternRectProperties.height ?? Number.NaN, n.fillOpacity = A.patternRectProperties.fillOpacity ?? Number.NaN, n.strokeWidth = A.patternRectProperties.strokeWidth ?? Number.NaN, n.fill = ia(o), n.stroke = e, n.rotation = i ?? Number.NaN), n;
165
165
  }
166
- function Xl(t) {
166
+ function Yl(t) {
167
167
  let e = Number.NaN;
168
168
  if (typeof t == "number")
169
169
  e = t;
@@ -234,7 +234,7 @@ function Yd(t, e) {
234
234
  }
235
235
  return i;
236
236
  }
237
- function Ir(t, e) {
237
+ function Rr(t, e) {
238
238
  let i = "middle";
239
239
  switch (t ?? e) {
240
240
  case "right":
@@ -317,7 +317,7 @@ const q = {
317
317
  LayoutValidated: "layoutvalidated"
318
318
  };
319
319
  function kp(t, e) {
320
- const i = t.indexOf("]"), a = t.startsWith("[") && i > 1 && t.endsWith("[/]"), o = a ? t.slice(0, i + 1) : "", n = a ? "[/]" : "", r = (a ? t.slice(i + 1, -3) : t).replace(/\s*\n\s*/gu, " "), l = Qc({ input: r, charsPerLine: e });
320
+ const i = t.indexOf("]"), a = t.startsWith("[") && i > 1 && t.endsWith("[/]"), o = a ? t.slice(0, i + 1) : "", n = a ? "[/]" : "", r = (a ? t.slice(i + 1, -3) : t).replace(/\s*\n\s*/gu, " "), l = Jc({ input: r, charsPerLine: e });
321
321
  return `${o}${l}${n}`;
322
322
  }
323
323
  function Ei(t) {
@@ -424,7 +424,7 @@ function wp(t, e) {
424
424
  };
425
425
  }
426
426
  function Op(t) {
427
- const { color: e, outline: i, xoffset: a, yoffset: o, style: n, size: s, angle: r } = t, l = n !== void 0 ? ed(n, s) : "", c = yn(r);
427
+ const { color: e, outline: i, xoffset: a, yoffset: o, style: n, size: s, angle: r } = t, l = n !== void 0 ? td(n, s) : "", c = yn(r);
428
428
  return {
429
429
  path: l,
430
430
  fill: It(e),
@@ -434,20 +434,20 @@ function Op(t) {
434
434
  angle: c
435
435
  };
436
436
  }
437
- function Rr(t) {
437
+ function wr(t) {
438
438
  const { symbol: e, defaultToColorFromRamp: i, colorRampIndex: a, isChartFillSymbol: o = !1, chartBackgroundColor: n } = t;
439
439
  let s;
440
440
  if (i === !0) {
441
- const r = o ? Sr : So;
441
+ const r = o ? Cr : So;
442
442
  if (e.color = e.color ?? ta({ colorIndex: a, opacity: r }), no(e) || Uo(e)) {
443
443
  const { outline: l } = e;
444
444
  l !== void 0 && (l.color = l?.color ?? ta({ colorIndex: a }), e.outline = { ...l });
445
445
  }
446
446
  }
447
- return Jc(e) ? s = jd(e, !0) : Uo(e) ? (e.style ??= A.lineSeries.marker.markerStyle, e.size ??= A.lineSeries.marker.markerBigSize, s = Op(e)) : no(e) && (s = wp(e, n)), s;
447
+ return ed(e) ? s = jd(e, !0) : Uo(e) ? (e.style ??= A.lineSeries.marker.markerStyle, e.size ??= A.lineSeries.marker.markerBigSize, s = Op(e)) : no(e) && (s = wp(e, n)), s;
448
448
  }
449
449
  function tn(t, e, i) {
450
- const a = Ir(t.horizontalAlignment, i?.horizontalCenter), o = Yd(t.horizontalAlignment, i?.align), n = Ud(t.verticalAlignment, i?.verticalCenter), s = Ap(t.verticalAlignment, i?.valign);
450
+ const a = Rr(t.horizontalAlignment, i?.horizontalCenter), o = Yd(t.horizontalAlignment, i?.align), n = Ud(t.verticalAlignment, i?.verticalCenter), s = Ap(t.verticalAlignment, i?.valign);
451
451
  return {
452
452
  fill: It(t.color, A.color),
453
453
  fontFamily: t.font?.family ?? "Arial, Helvetica, sans-serif",
@@ -481,7 +481,7 @@ function La(t, e) {
481
481
  function an(t) {
482
482
  const { element: e, markerSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
483
483
  let s;
484
- return i !== void 0 ? (s = Rr({
484
+ return i !== void 0 ? (s = wr({
485
485
  symbol: i,
486
486
  defaultToColorFromRamp: o,
487
487
  colorRampIndex: n
@@ -490,7 +490,7 @@ function an(t) {
490
490
  function Ji(t) {
491
491
  const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
492
492
  let s;
493
- return i !== void 0 ? (s = Rr({
493
+ return i !== void 0 ? (s = wr({
494
494
  symbol: i,
495
495
  defaultToColorFromRamp: o,
496
496
  colorRampIndex: n
@@ -504,7 +504,7 @@ function mo(t) {
504
504
  const c = Cp(e);
505
505
  c !== void 0 && (l = xp(c));
506
506
  }
507
- r = Rr({
507
+ r = wr({
508
508
  symbol: i,
509
509
  defaultToColorFromRamp: o,
510
510
  colorRampIndex: n,
@@ -518,7 +518,7 @@ function mo(t) {
518
518
  function Vt(t) {
519
519
  const { element: e, seriesIndex: i, colorMatch: a, seriesSymbol: o, isChartFillSymbol: n, rendererSymbol: s, seriesConfig: r } = t;
520
520
  let l, c;
521
- a === !0 && s && (l = td({
521
+ a === !0 && s && (l = id({
522
522
  rendererSymbol: s,
523
523
  seriesSymbol: o,
524
524
  colorIndex: i
@@ -552,7 +552,7 @@ function Vt(t) {
552
552
  }
553
553
  return { symbolWithColorInfo: u, stylingInfo: c };
554
554
  }
555
- function Yl(t, e) {
555
+ function Ul(t, e) {
556
556
  if (e !== void 0) {
557
557
  const i = t.properties, { elementColor: a, elementOutlineColor: o, elementOutlineWidth: n, rotation: s, transformation: r } = e, { opacity: l, scale: c } = r ?? {};
558
558
  a !== void 0 && (i.fill = ia(a), i.fillOpacity = pn(i.fill.toString()).alpha === 0 ? 0 : 1), o !== void 0 && (i.stroke = ia(o)), n !== void 0 && (i.strokeWidth = n), s !== void 0 && (i.rotation = s), c !== void 0 && (i.scale = c), l !== void 0 && (i.fillOpacity = (i.fillOpacity ?? 1) * l, i.strokeOpacity = (i.strokeOpacity ?? 1) * l);
@@ -617,7 +617,7 @@ function Mp(t) {
617
617
  });
618
618
  return g;
619
619
  }
620
- function Ul(t, e) {
620
+ function jl(t, e) {
621
621
  const {
622
622
  x: i,
623
623
  isNonAggregatedChart: a,
@@ -693,19 +693,19 @@ function Kd(t) {
693
693
  } = t;
694
694
  let c;
695
695
  if (o.series[0].type === y.PieSeries) {
696
- const d = qt(i.data), u = id({
696
+ const d = qt(i.data), u = ad({
697
697
  oldConfig: n,
698
698
  newConfig: o
699
- }), f = ad(n, o), g = ir(n, o), b = $p({
699
+ }), f = od(n, o), g = ir(n, o), b = $p({
700
700
  chartConfig: o,
701
701
  queryObject: s,
702
702
  popupTemplateFieldInfosEnabled: r,
703
703
  labelUpdateNeeded: e || a || u || g || f,
704
704
  utilsStrings: l
705
- }), { slices: p, groupOfSlicesSymbols: S, groupOfSlices: C } = Ul(
705
+ }), { slices: p, groupOfSlicesSymbols: S, groupOfSlices: C } = jl(
706
706
  b,
707
707
  d
708
- ), { slices: x } = Ul(
708
+ ), { slices: x } = jl(
709
709
  b,
710
710
  C ?? []
711
711
  );
@@ -742,11 +742,11 @@ async function Bp(t) {
742
742
  chartConfig: b,
743
743
  data: x,
744
744
  slices: f
745
- }), !Xe(l) && g === y.PieSeries && a && "dataItems" in a && ({ colorMatchApplied: S, rendererFieldNames: C } = await od({
745
+ }), !Xe(l) && g === y.PieSeries && a && "dataItems" in a && ({ colorMatchApplied: S, rendererFieldNames: C } = await nd({
746
746
  data: a.dataItems,
747
747
  queryObject: l,
748
748
  chartConfig: b,
749
- allowColorMatch: nd({ chartConfig: b, queryObject: l })
749
+ allowColorMatch: sd({ chartConfig: b, queryObject: l })
750
750
  }), p = Kd({
751
751
  creation: e,
752
752
  dataInfo: i,
@@ -845,7 +845,7 @@ function Wp(t) {
845
845
  axisConfig: s,
846
846
  axisMin: s.minimum,
847
847
  axisMax: s.maximum
848
- })), s.minimum === void 0 && (s.minimum = a ?? Tl.axisMinimum), s.maximum === void 0 && (s.maximum = o ?? Tl.axisMaximum), Vp({
848
+ })), s.minimum === void 0 && (s.minimum = a ?? kl.axisMinimum), s.maximum === void 0 && (s.maximum = o ?? kl.axisMaximum), Vp({
849
849
  axisConfig: s,
850
850
  gaugeValue: n ?? Number.NaN
851
851
  }), Np(s);
@@ -918,14 +918,14 @@ function Gp(t) {
918
918
  let h = f;
919
919
  return r && (a ? h = d?.label ?? d?.originalLabel?.toString() ?? c.pieChart.defaultSliceGroupingLabel : l && e[H.rendererSymbolField]?.label !== void 0 ? h = e[H.rendererSymbolField].label : i !== void 0 || n !== void 0 ? (i?.label && i.label !== i?.sliceId && (h = i?.label), h === g && g !== void 0 && g !== null && (h = Me(n, g))) : i === void 0 && (h = g), h === H.nullValue ? h = "null" : h != null && (h = h.toString())), h;
920
920
  }
921
- function wr(t, e) {
921
+ function Or(t, e) {
922
922
  return t?.[0]?.sliceGrouping?.percentageThreshold !== e?.[0]?.sliceGrouping?.percentageThreshold;
923
923
  }
924
924
  function xo(t) {
925
925
  const { groupOfSlicesDataContext: e, chartData: i } = t;
926
926
  return (e ?? i?.find((n) => n[Pt.defaultGroupOfSlicesId] === !0))?.[H.pieChart.technicalFieldGroupedSlices];
927
927
  }
928
- function Or(t) {
928
+ function Dr(t) {
929
929
  const { dataContext: e, pieSlicesSymbols: i, seriesConfig: a } = t;
930
930
  let o = a.fillSymbol ? { ...a.fillSymbol } : xs();
931
931
  if (Ri(e))
@@ -969,11 +969,11 @@ function Xp(t) {
969
969
  }
970
970
  return f;
971
971
  }
972
- function jl(t) {
972
+ function ql(t) {
973
973
  const { creation: e, previousConfig: i, newConfig: a, dataInfo: o, dataUpdateNeeded: n, utilsStrings: s } = t;
974
974
  let r = !1;
975
975
  if (o.data && "dataItems" in o.data && (e || i && rs(i.series)) && a && rs(a.series)) {
976
- const l = e || i && rs(i.series) && wr(i.series, a.series);
976
+ const l = e || i && rs(i.series) && Or(i.series, a.series);
977
977
  (n || l) && (o.data.dataItems = Xp({
978
978
  data: o.data.dataItems,
979
979
  seriesConfig: a.series,
@@ -1099,11 +1099,11 @@ function ri(t) {
1099
1099
  let o;
1100
1100
  switch (e) {
1101
1101
  case y.NumberAxisFormat: {
1102
- o = new Uc(), o.language.locale = i, o.intlLocales = a;
1102
+ o = new jc(), o.language.locale = i, o.intlLocales = a;
1103
1103
  break;
1104
1104
  }
1105
1105
  case y.DateAxisFormat: {
1106
- o = new Yc(), o.language !== void 0 && (o.language.locale = i), o.intlLocales = a;
1106
+ o = new Uc(), o.language !== void 0 && (o.language.locale = i), o.intlLocales = a;
1107
1107
  break;
1108
1108
  }
1109
1109
  }
@@ -1260,7 +1260,7 @@ function db(t, e, i, a) {
1260
1260
  return n instanceof Date ? n.toLocaleString(void 0, t) : (s = typeof n != "string" ? n ?? 0 : sr(n, o.intlLocales), a === !0 && t.style === "percent" && (s /= 100), o.format(s));
1261
1261
  };
1262
1262
  }
1263
- function ql(t) {
1263
+ function Zl(t) {
1264
1264
  const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = Ci(i), s = D(e.chart.uid, "formatLocale");
1265
1265
  Ke(e.uid, {
1266
1266
  numberFormatter: o ?? db(
@@ -1312,7 +1312,7 @@ function mb(t) {
1312
1312
  valueFormat: a
1313
1313
  });
1314
1314
  let g = !1;
1315
- !(e instanceof Pe) && Oe(a) ? ql({
1315
+ !(e instanceof Pe) && Oe(a) ? Zl({
1316
1316
  axis: e,
1317
1317
  formatOptions: a,
1318
1318
  overridePercentMultiplication: n,
@@ -1328,7 +1328,7 @@ function mb(t) {
1328
1328
  axis: e,
1329
1329
  formatOptions: a,
1330
1330
  categoryAxisFormatter: r
1331
- }), Ke(e.uid, { numberFormatter: void 0 })) : Oe(a) ? (ql({
1331
+ }), Ke(e.uid, { numberFormatter: void 0 })) : Oe(a) ? (Zl({
1332
1332
  axis: e,
1333
1333
  formatOptions: a,
1334
1334
  overridePercentMultiplication: n,
@@ -1370,14 +1370,14 @@ function gb(t, e) {
1370
1370
  }
1371
1371
  function ou(t) {
1372
1372
  if (!(t instanceof kt) && !(t instanceof $e)) {
1373
- t.cursor = new zc();
1373
+ t.cursor = new Hc();
1374
1374
  const e = "userAgentData" in navigator && navigator.userAgentData && typeof navigator.userAgentData == "object" && "mobile" in navigator.userAgentData && navigator.userAgentData.mobile === !0 || /Mobi|Android/iu.test(navigator.userAgent);
1375
1375
  t.cursor.hideSeriesTooltipsOnSelection = !e;
1376
1376
  }
1377
1377
  }
1378
1378
  function nu(t, e) {
1379
1379
  if (!(t instanceof kt) && !(t instanceof $e)) {
1380
- const i = t, a = i.cursor ?? new zc();
1380
+ const i = t, a = i.cursor ?? new Hc();
1381
1381
  e?.style !== void 0 && gb(i, e.style);
1382
1382
  const o = A.cursorCrosshair;
1383
1383
  a.lineX.disabled = o.verticalLineVisible ? e?.verticalLineVisible === !1 : e?.verticalLineVisible !== !0, a.lineY.disabled = o.horizontalLineVisible ? e?.horizontalLineVisible === !1 : e?.horizontalLineVisible !== !0, i.cursor = a;
@@ -1617,7 +1617,7 @@ function Ab(t) {
1617
1617
  });
1618
1618
  return c;
1619
1619
  }
1620
- function Dr(t) {
1620
+ function $r(t) {
1621
1621
  const { layerOidField: e, sliceDataContext: i, selectionDataContext: a, xAxisField: o } = t;
1622
1622
  let n = !1;
1623
1623
  if (e !== void 0 && e in i && e in a)
@@ -1748,7 +1748,7 @@ function Dn(t) {
1748
1748
  n !== void 0 && (f = (p) => {
1749
1749
  const S = i, C = Ri(S), x = [S];
1750
1750
  return C && x.push(...xo({ groupOfSlicesDataContext: S }) ?? []), x.some(
1751
- (v) => Dr({
1751
+ (v) => $r({
1752
1752
  sliceDataContext: v,
1753
1753
  selectionDataContext: p,
1754
1754
  layerOidField: o,
@@ -1848,7 +1848,7 @@ function No(t) {
1848
1848
  return typeof t == "number" ? t : t.value;
1849
1849
  }
1850
1850
  function $n(t, e) {
1851
- e !== void 0 && (e.marginBottom !== void 0 && (t.marginBottom = e.marginBottom), e.marginTop !== void 0 && (t.marginTop = e.marginTop), e.marginRight !== void 0 && (t.marginRight = e.marginRight), e.marginLeft !== void 0 && (t.marginLeft = e.marginLeft), e.verticalCenter !== void 0 && (t.verticalCenter = Ud(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = Ir(e.horizontalCenter)), e.strokeWidth !== void 0 && (t.strokeWidth = e.strokeWidth), e.wrap !== void 0 && (t.wrap = e.wrap), e.truncate !== void 0 && (t.truncate = e.truncate), e.maxWidth !== void 0 && (t.maxWidth = e.maxWidth), e.applyOnClones !== void 0 && (t.applyOnClones = e.applyOnClones, t.background.applyOnClones = e.applyOnClones));
1851
+ e !== void 0 && (e.marginBottom !== void 0 && (t.marginBottom = e.marginBottom), e.marginTop !== void 0 && (t.marginTop = e.marginTop), e.marginRight !== void 0 && (t.marginRight = e.marginRight), e.marginLeft !== void 0 && (t.marginLeft = e.marginLeft), e.verticalCenter !== void 0 && (t.verticalCenter = Ud(e.verticalCenter)), e.horizontalCenter !== void 0 && (t.horizontalCenter = Rr(e.horizontalCenter)), e.strokeWidth !== void 0 && (t.strokeWidth = e.strokeWidth), e.wrap !== void 0 && (t.wrap = e.wrap), e.truncate !== void 0 && (t.truncate = e.truncate), e.maxWidth !== void 0 && (t.maxWidth = e.maxWidth), e.applyOnClones !== void 0 && (t.applyOnClones = e.applyOnClones, t.background.applyOnClones = e.applyOnClones));
1852
1852
  }
1853
1853
  function li(t, e) {
1854
1854
  const i = e?.createChild(Xo) ?? new Xo();
@@ -1871,7 +1871,7 @@ function Rb(t, e) {
1871
1871
  let a = e.visible === !1;
1872
1872
  return !a && !Be(t.uid, "isGaugeAxisInnerLabel") && (i === !0 || !(t instanceof Zs)) && e.content.text === "" && (a = !0), a;
1873
1873
  }
1874
- function Zl(t) {
1874
+ function Kl(t) {
1875
1875
  const { label: e, offset: i, offsetProperty: a } = t, o = 99;
1876
1876
  if (e.adapter.remove(a, o), typeof i == "string" && !Number.isFinite(Number(i))) {
1877
1877
  let n = Sn(i);
@@ -1887,7 +1887,7 @@ function Ot(t) {
1887
1887
  const { label: e, labelConfig: i, defaults: a, skipSettingText: o } = t;
1888
1888
  if (i !== void 0) {
1889
1889
  const n = tn(i.content, e.rtl, a);
1890
- e.fill = n.fill, e.fontFamily = n.fontFamily, e.fontWeight = n.fontWeight, e.fontSize = n.fontSize, e.textDecoration = n.textDecoration, e.align = n.align, e.valign = n.valign, e.verticalCenter = n.verticalCenter, e.horizontalCenter = n.horizontalCenter, e.background.fill = n.backgroundFill, e.background.stroke = n.borderFill, e.background.strokeWidth = n.borderWidth, e.rotation = n.angle, Zl({ label: e, offset: n.xOffset, offsetProperty: "dx" }), Zl({ label: e, offset: n.yOffset, offsetProperty: "dy" }), e.rtl = n.rtl, e.wrap = n.wrap, e instanceof Zs || (e.maxWidth = n.maxWidth), o || (e.text = n.text), Ib(e.filters, n.haloSize, n.haloColor);
1890
+ e.fill = n.fill, e.fontFamily = n.fontFamily, e.fontWeight = n.fontWeight, e.fontSize = n.fontSize, e.textDecoration = n.textDecoration, e.align = n.align, e.valign = n.valign, e.verticalCenter = n.verticalCenter, e.horizontalCenter = n.horizontalCenter, e.background.fill = n.backgroundFill, e.background.stroke = n.borderFill, e.background.strokeWidth = n.borderWidth, e.rotation = n.angle, Kl({ label: e, offset: n.xOffset, offsetProperty: "dx" }), Kl({ label: e, offset: n.yOffset, offsetProperty: "dy" }), e.rtl = n.rtl, e.wrap = n.wrap, e instanceof Zs || (e.maxWidth = n.maxWidth), o || (e.text = n.text), Ib(e.filters, n.haloSize, n.haloColor);
1891
1891
  const s = Rb(e, i);
1892
1892
  e.disabled = s, ce(e, i.visible !== !1 && !s);
1893
1893
  } else
@@ -2030,11 +2030,11 @@ function hu(t, e) {
2030
2030
  function _a(t, e) {
2031
2031
  t.name = e;
2032
2032
  }
2033
- function $r(t) {
2033
+ function Mr(t) {
2034
2034
  const { chart: e, lineSeries: i, applyPropertiesToClones: a } = t, o = i.bullets.push(new er());
2035
2035
  return yp(o.uid, { isBulletMarker: !0 }), a !== !1 && (o.applyOnClones = !0), i.bulletsContainer.parent = e.seriesContainer, o;
2036
2036
  }
2037
- function Mr(t) {
2037
+ function Br(t) {
2038
2038
  const { series: e, seriesConfig: i, rotationChanged: a, stackedType: o, isRotated: n } = t;
2039
2039
  if (e instanceof be && (o === te.Stacked || o === te.Stacked100)) {
2040
2040
  const s = n ? e.yAxis : e.xAxis;
@@ -2116,7 +2116,7 @@ function Mb(t, e) {
2116
2116
  }
2117
2117
  return i;
2118
2118
  }
2119
- function Kl() {
2119
+ function Ql() {
2120
2120
  return (t) => {
2121
2121
  const e = D(t.chart.uid, "config");
2122
2122
  let i = !1;
@@ -2172,7 +2172,7 @@ function Bb(t, e) {
2172
2172
  };
2173
2173
  break;
2174
2174
  case y.LineSeries:
2175
- e === !0 ? i = Kl() : i = (a, o) => {
2175
+ e === !0 ? i = Ql() : i = (a, o) => {
2176
2176
  let n = !1;
2177
2177
  if (a instanceof be) {
2178
2178
  const s = wt({ chart: a.chart }), r = Ve(a);
@@ -2192,7 +2192,7 @@ function Bb(t, e) {
2192
2192
  i = (a) => a instanceof Wt && a.slices.length > 0;
2193
2193
  break;
2194
2194
  case y.BoxPlotSeries:
2195
- i = Kl();
2195
+ i = Ql();
2196
2196
  break;
2197
2197
  }
2198
2198
  return i;
@@ -2253,14 +2253,14 @@ const ct = {
2253
2253
  function Vb(t, e) {
2254
2254
  let i = !1;
2255
2255
  if (e !== void 0 && uo(t)) {
2256
- const a = jc.spriteRectToSvg(t.bbox, t), o = e.x, n = e.y, s = e.x + e.width, r = e.y + e.height, l = a.x, c = a.y, d = a.x + a.width, u = a.y + a.height;
2256
+ const a = qc.spriteRectToSvg(t.bbox, t), o = e.x, n = e.y, s = e.x + e.width, r = e.y + e.height, l = a.x, c = a.y, d = a.x + a.width, u = a.y + a.height;
2257
2257
  i = !(l > s || d < o || c > r || u < n);
2258
2258
  }
2259
2259
  return i;
2260
2260
  }
2261
2261
  function ma(t) {
2262
2262
  const { element: e, customSelectionTheme: i, useNativeState: a } = t, o = a === !0 ? ct.Active : ct.CustomActive, n = e.states.getKey(o) ?? e.states.create(o), s = e.states.getKey(ct.CustomInactive) ?? e.states.create(ct.CustomInactive), { selectedElementsTheme: r, nonSelectedElementsTheme: l } = i ?? A.selectionTheme ?? {};
2263
- Yl(n, r), Yl(s, l);
2263
+ Ul(n, r), Ul(s, l);
2264
2264
  }
2265
2265
  function Ht(t) {
2266
2266
  const { element: e, selected: i, multiSelect: a, isDateOrCategoryAxis: o, useNativeState: n, backToDefaultState: s } = t;
@@ -2268,7 +2268,7 @@ function Ht(t) {
2268
2268
  let r = e.isActive;
2269
2269
  a !== !0 ? o === !0 ? r = e.isActive ? !1 : e.isActive !== i : r = i : r = e.isActive !== i, r !== e.isActive && (e.isActive = r);
2270
2270
  const l = n === !0 ? ct.Active : ct.CustomActive, c = s === !0 ? ct.Default : ct.CustomInactive;
2271
- e.setState(e.isActive ? l : c, 0), e.isActive && (e.toFront(), e.dataItem?.component instanceof Hc && e.dataItem.component.toFront());
2271
+ e.setState(e.isActive ? l : c, 0), e.isActive && (e.toFront(), e.dataItem?.component instanceof _c && e.dataItem.component.toFront());
2272
2272
  }
2273
2273
  return e?.isActive ?? !1;
2274
2274
  }
@@ -2294,7 +2294,7 @@ function yu(t) {
2294
2294
  }
2295
2295
  return !e && !i && !n && !s;
2296
2296
  }
2297
- function Br(t, e) {
2297
+ function Nr(t, e) {
2298
2298
  return t.values.filter((i) => {
2299
2299
  let a = !1;
2300
2300
  const o = !i.isActive;
@@ -2306,7 +2306,7 @@ function Br(t, e) {
2306
2306
  return a;
2307
2307
  });
2308
2308
  }
2309
- function Ql(t, e) {
2309
+ function Jl(t, e) {
2310
2310
  let i = [];
2311
2311
  const { columns: a, chart: o } = t, n = D(o.uid, "config");
2312
2312
  if (n && a !== void 0 && t.visible) {
@@ -2318,7 +2318,7 @@ function Ql(t, e) {
2318
2318
  seriesIndex: e,
2319
2319
  chartConfig: n
2320
2320
  };
2321
- i = Br(a, o).map(
2321
+ i = Nr(a, o).map(
2322
2322
  (f) => ({
2323
2323
  ...u,
2324
2324
  element: f,
@@ -2329,7 +2329,7 @@ function Ql(t, e) {
2329
2329
  }
2330
2330
  return i;
2331
2331
  }
2332
- function Jl(t, e) {
2332
+ function ec(t, e) {
2333
2333
  let i = [];
2334
2334
  if (t.visible) {
2335
2335
  const a = Ve(t)?.clones;
@@ -2344,7 +2344,7 @@ function Jl(t, e) {
2344
2344
  seriesIndex: e,
2345
2345
  chartConfig: n
2346
2346
  };
2347
- i = Br(a, o).map(
2347
+ i = Nr(a, o).map(
2348
2348
  (d) => ({
2349
2349
  ...c,
2350
2350
  element: d,
@@ -2369,7 +2369,7 @@ function Wb(t) {
2369
2369
  seriesIndex: 0,
2370
2370
  chartConfig: a
2371
2371
  };
2372
- Br(t.slices, i).forEach((r) => {
2372
+ Nr(t.slices, i).forEach((r) => {
2373
2373
  const l = r.dataItem?.dataContext ?? {};
2374
2374
  Ri(l) ? xo({
2375
2375
  groupOfSlicesDataContext: l
@@ -2456,7 +2456,7 @@ function zb(t) {
2456
2456
  const s = n.target.cursor;
2457
2457
  if (s.xRange !== void 0) {
2458
2458
  s.selection.isMeasured = !0, s.validate(), s.selection.validate();
2459
- const r = jc.spriteRectToSvg(
2459
+ const r = qc.spriteRectToSvg(
2460
2460
  s.selection.bbox,
2461
2461
  s.selection
2462
2462
  );
@@ -2532,7 +2532,7 @@ async function _b(t) {
2532
2532
  let d = [];
2533
2533
  if (l.visible) {
2534
2534
  const u = W(n?.series, c);
2535
- u === y.BarSeries ? d = Ql(l, c) : u === y.LineSeries ? d = Jl(l, c) : u === y.PieSeries ? d = Wb(l) : u === y.BoxPlotSeries && (l instanceof ze ? d = Ql(l, c) : l instanceof be && !(l instanceof Ft) && (d = Jl(l, c)));
2535
+ u === y.BarSeries ? d = Jl(l, c) : u === y.LineSeries ? d = ec(l, c) : u === y.PieSeries ? d = Wb(l) : u === y.BoxPlotSeries && (l instanceof ze ? d = Jl(l, c) : l instanceof be && !(l instanceof Ft) && (d = ec(l, c)));
2536
2536
  }
2537
2537
  return d;
2538
2538
  }
@@ -2616,8 +2616,8 @@ function Cu(t, e) {
2616
2616
  }
2617
2617
  return i;
2618
2618
  }
2619
- function Nr(t) {
2620
- const { config: e, fieldName: i = "", utilsStrings: a } = t, o = e.series[0].query?.outStatistics?.[0].statisticType ?? Zc.statisticType, n = Cu(o, a);
2619
+ function Pr(t) {
2620
+ const { config: e, fieldName: i = "", utilsStrings: a } = t, o = e.series[0].query?.outStatistics?.[0].statisticType ?? Kc.statisticType, n = Cu(o, a);
2621
2621
  return Qi(a.statistics.aggregation, {
2622
2622
  statistics: n,
2623
2623
  fieldName: i
@@ -2626,7 +2626,7 @@ function Nr(t) {
2626
2626
  function xu(t) {
2627
2627
  const { config: e, fieldList: i, objectIdField: a, seriesIndex: o, isStacked100: n, utilsStrings: s } = t;
2628
2628
  let r = "";
2629
- const l = e.series[o].name, c = e.series[o], d = [c.y].flat()[0], u = e.axes, f = Z(e.series), g = a ?? pi.outStatistics.onStatisticField, h = c.query?.outStatistics?.[0].onStatisticField ?? g, b = Me(i, h), p = c.query?.outStatistics?.[0].statisticType ?? Zc.statisticType, S = Cu(p, s);
2629
+ const l = e.series[o].name, c = e.series[o], d = [c.y].flat()[0], u = e.axes, f = Z(e.series), g = a ?? pi.outStatistics.onStatisticField, h = c.query?.outStatistics?.[0].onStatisticField ?? g, b = Me(i, h), p = c.query?.outStatistics?.[0].statisticType ?? Kc.statisticType, S = Cu(p, s);
2630
2630
  return f === V.BarAndLineNoAggregation ? r = l ?? Me(i, d) : f === V.BarAndLineSplitByNoAggregation ? r = Me(i, d) : (r = p === jt.Count && h === g ? s.statistics.count : Qi(s.statistics.aggregation, {
2631
2631
  statistics: S,
2632
2632
  fieldName: b ?? l
@@ -2666,7 +2666,7 @@ function Pn(t, e) {
2666
2666
  }
2667
2667
  }
2668
2668
  function Xb(t) {
2669
- const e = t.tooltip ?? new qc();
2669
+ const e = t.tooltip ?? new Zc();
2670
2670
  e.pointerOrientation = "vertical", t instanceof ze || t instanceof Ft ? e.label.maxWidth = A.boxPlot.boxPlotTooltipLabelWidth : e.label.maxWidth = A.tooltipWidth, e.label.wrap = !0;
2671
2671
  const i = D(t.chart?.uid, "config"), a = i ? aa(t, i) : void 0;
2672
2672
  a !== void 0 && Pn(t, a), e.events.on(N.Shown, (o) => {
@@ -2736,7 +2736,7 @@ function Ub(t) {
2736
2736
  dataTooltipPercentFormat: r
2737
2737
  } = t;
2738
2738
  let l = s;
2739
- l === void 0 && (Oe(n) && n ? (l = n, e && (l.intlOptions.style = "decimal")) : l = Cr());
2739
+ l === void 0 && (Oe(n) && n ? (l = n, e && (l.intlOptions.style = "decimal")) : l = xr());
2740
2740
  const c = D(i.chart.uid, "formatLocale"), d = a !== void 0 ? go({
2741
2741
  value: a,
2742
2742
  valueFormat: l,
@@ -2861,7 +2861,7 @@ function qb(t) {
2861
2861
  switch (x) {
2862
2862
  case V.BarAndLineFromFields: {
2863
2863
  _.pop();
2864
- const j = Nr({
2864
+ const j = Pr({
2865
2865
  config: g,
2866
2866
  fieldName: Me(i, z ?? ""),
2867
2867
  utilsStrings: r
@@ -2877,7 +2877,7 @@ function qb(t) {
2877
2877
  case V.BarAndLineSplitByNoAggregation:
2878
2878
  case V.BarAndLineSplitBy:
2879
2879
  {
2880
- const j = Jt(s.query?.where, !1), E = Id({
2880
+ const j = Jt(s.query?.where, !1), E = Rd({
2881
2881
  value: Me(i, j),
2882
2882
  escape: !0
2883
2883
  });
@@ -2898,7 +2898,7 @@ function Tu(t) {
2898
2898
  barAndLineTooltipFormatter: a ?? qb(t)
2899
2899
  }), Pn(e, i);
2900
2900
  }
2901
- function Pr(t) {
2901
+ function Vr(t) {
2902
2902
  const { target: e, defaultTooltipHTML: i, candleStickSeries: a, meanLineSeries: o, outliersSeries: n, tooltipCallback: s } = t;
2903
2903
  let r = i;
2904
2904
  const l = a ?? o;
@@ -3020,7 +3020,7 @@ function Qb(t) {
3020
3020
  function Jb(t) {
3021
3021
  t.cursorTooltipEnabled = !1, t.tooltipPosition = A.columnTooltipPosition, t.columns.template.tooltipHTML = A.htmlEmptyContent, t.columns.template.adapter.add(
3022
3022
  "tooltipHTML",
3023
- (e, i) => Pr({
3023
+ (e, i) => Vr({
3024
3024
  target: i,
3025
3025
  defaultTooltipHTML: e ?? "",
3026
3026
  candleStickSeries: t,
@@ -3032,7 +3032,7 @@ function ey(t, e) {
3032
3032
  const i = Ve(t);
3033
3033
  i !== void 0 && (i.tooltipPosition = A.markerTooltipPosition, i.tooltipHTML = A.htmlEmptyContent, t.cursorTooltipEnabled = !1, i.adapter.add(
3034
3034
  "tooltipHTML",
3035
- (a, o) => Pr({
3035
+ (a, o) => Vr({
3036
3036
  target: o,
3037
3037
  defaultTooltipHTML: a ?? "",
3038
3038
  candleStickSeries: e,
@@ -3045,7 +3045,7 @@ function ty(t) {
3045
3045
  const e = Ve(t);
3046
3046
  e !== void 0 && (t.cursorTooltipEnabled = !1, e.tooltipPosition = A.markerTooltipPosition, e.tooltipHTML = A.htmlEmptyContent, e.adapter.add(
3047
3047
  "tooltipHTML",
3048
- (i, a) => Pr({
3048
+ (i, a) => Vr({
3049
3049
  target: a,
3050
3050
  defaultTooltipHTML: i ?? "",
3051
3051
  meanLineSeries: t,
@@ -3058,7 +3058,7 @@ function $i(t) {
3058
3058
  return o !== !1 ? `<tr><td>${n}</td></tr>` : n;
3059
3059
  }
3060
3060
  function iy(t) {
3061
- const { dataContext: e, series: i, dataTooltipValueFormat: a, y: o, splitBy: n, utilsStrings: s, useTable: r } = t, l = a ?? Cr(), c = Object.values(ie), d = $t(i.rtl), u = r !== !1 ? ['<tr><td colspan="2"><hr style="border-top: solid black;"></td></tr>'] : [""];
3061
+ const { dataContext: e, series: i, dataTooltipValueFormat: a, y: o, splitBy: n, utilsStrings: s, useTable: r } = t, l = a ?? xr(), c = Object.values(ie), d = $t(i.rtl), u = r !== !1 ? ['<tr><td colspan="2"><hr style="border-top: solid black;"></td></tr>'] : [""];
3062
3062
  return c.forEach((f) => {
3063
3063
  const g = Se({ key: f, y: o, splitBy: n }), h = e[g];
3064
3064
  if (h != null && typeof h == "number") {
@@ -3116,7 +3116,7 @@ function ay(t) {
3116
3116
  escape: !1
3117
3117
  }), S = Me(i, a.x);
3118
3118
  let C;
3119
- a.x !== xr && (C = Ma(S, d?.[0].title?.content.text));
3119
+ a.x !== vr && (C = Ma(S, d?.[0].title?.content.text));
3120
3120
  const x = $t(l.rtl);
3121
3121
  r = (L) => {
3122
3122
  const { dataContext: v, xValue: T } = L, k = Au({
@@ -3418,7 +3418,7 @@ const m = {
3418
3418
  `${m.Rotated}-${m.RTL}-${m.Stacked100}-${m.LegendBottom}-${m.ValueAxis}-${m.OrderByFieldsDESC}`
3419
3419
  ]);
3420
3420
  function ry(t, e) {
3421
- e !== void 0 && (e.layout !== void 0 && (t.layout = e.layout), e.width !== void 0 && (t.width = Xl(e.width)), e.height !== void 0 && (t.height = Xl(e.height)), e.paddingTop !== void 0 && (t.paddingTop = e.paddingTop), e.paddingBottom !== void 0 && (t.paddingBottom = e.paddingBottom));
3421
+ e !== void 0 && (e.layout !== void 0 && (t.layout = e.layout), e.width !== void 0 && (t.width = Yl(e.width)), e.height !== void 0 && (t.height = Yl(e.height)), e.paddingTop !== void 0 && (t.paddingTop = e.paddingTop), e.paddingBottom !== void 0 && (t.paddingBottom = e.paddingBottom));
3422
3422
  }
3423
3423
  function ly(t) {
3424
3424
  let e = !1;
@@ -3469,7 +3469,7 @@ function uy(t, e) {
3469
3469
  i(t, e);
3470
3470
  });
3471
3471
  }
3472
- function Vr(t) {
3472
+ function Wr(t) {
3473
3473
  const {
3474
3474
  iLocale: e,
3475
3475
  pieChart: i,
@@ -3519,7 +3519,7 @@ function fy(t) {
3519
3519
  function my(t) {
3520
3520
  t.events.on(N.LayoutValidated, () => {
3521
3521
  const e = wu(t), i = fy(t), a = e || !i ? "right" : "center";
3522
- t.valueLabels.template.horizontalCenter = Ir(a), t.valueLabels.template.align = Yd(a);
3522
+ t.valueLabels.template.horizontalCenter = Rr(a), t.valueLabels.template.align = Yd(a);
3523
3523
  });
3524
3524
  }
3525
3525
  function gy(t) {
@@ -3559,7 +3559,7 @@ function hy(t) {
3559
3559
  const { numericValueFormat: u, percentValueFormat: f, valuePrefix: g, valueSuffix: h, percentagePrefix: b, percentageSuffix: p } = i[0], S = c ?? A.pieChart.displayCategoryOnLegend, C = r ?? A.pieChart.displayNumericValueOnLegend, x = l ?? A.pieChart.displayPercentageOnLegend;
3560
3560
  let L = o;
3561
3561
  if (o === void 0) {
3562
- const k = Vr({
3562
+ const k = Wr({
3563
3563
  iLocale: e.language.locale,
3564
3564
  pieChart: e.baseSprite,
3565
3565
  valueIntlOptions: u?.intlOptions,
@@ -3619,17 +3619,17 @@ function by(t) {
3619
3619
  };
3620
3620
  t.events.on(N.Validated, e), e();
3621
3621
  }
3622
- function ec(t, e) {
3622
+ function tc(t, e) {
3623
3623
  const { legendLabelReducedOpacity: i } = A.legendProperties;
3624
3624
  t !== void 0 && (t.fillOpacity = e === !1 ? i : 1);
3625
3625
  }
3626
3626
  function Ja(t) {
3627
3627
  const { labels: e, seriesId: i, sliceCategory: a } = t;
3628
3628
  e.each((o) => {
3629
- a !== void 0 ? a === o.dataItem.category && ec(o, o.dataItem.slice.visible ?? !0) : i === o.dataItem?.component?.id && ec(o, o.dataItem?.component?.visible ?? !0);
3629
+ a !== void 0 ? a === o.dataItem.category && tc(o, o.dataItem.slice.visible ?? !0) : i === o.dataItem?.component?.id && tc(o, o.dataItem?.component?.visible ?? !0);
3630
3630
  });
3631
3631
  }
3632
- function Wr(t) {
3632
+ function Er(t) {
3633
3633
  t instanceof Wt ? (t.slices.template.events.on(N.Shown, (e) => {
3634
3634
  const i = e.target.dataItem.category;
3635
3635
  Ja({
@@ -3748,7 +3748,7 @@ function Ly(t, e) {
3748
3748
  else if (o instanceof ze) {
3749
3749
  const r = o.id, l = Lo(e, r);
3750
3750
  if (l !== void 0) {
3751
- const f = D(e.uid, "config"), g = zr(f?.showOutliers, a), h = Ve(l);
3751
+ const f = D(e.uid, "config"), g = Hr(f?.showOutliers, a), h = Ve(l);
3752
3752
  h !== void 0 && (h.disabled = !g), ce(l, g);
3753
3753
  }
3754
3754
  const { topStepLineSeries: c, medianStepLineSeries: d, bottomStepLineSeries: u } = Vn(
@@ -3775,7 +3775,7 @@ function Ly(t, e) {
3775
3775
  // back to default state when there's no selection at all
3776
3776
  }), r && d === J.None && (f.clickable = !1));
3777
3777
  });
3778
- }), sd(n, e.htmlContainer);
3778
+ }), rd(n, e.htmlContainer);
3779
3779
  }
3780
3780
  }
3781
3781
  function Fy(t) {
@@ -3846,7 +3846,7 @@ function Iy(t) {
3846
3846
  if (W(l) === y.PieSeries) {
3847
3847
  const d = Z(l) === V.PieFromFields ? ai : l[0].x, u = a.dataItem?.dataContext?.[d];
3848
3848
  typeof u == "string" ? n = u : u && typeof u != "object" && (n = u.toString());
3849
- } else a.dataItem?.component instanceof Hc && (n = a.dataItem.component.name);
3849
+ } else a.dataItem?.component instanceof _c && (n = a.dataItem.component.name);
3850
3850
  }
3851
3851
  return (n !== void 0 && !Ae(n) ? po(n) : n) ?? o;
3852
3852
  }), t.valueLabels.template.adapter.add("maxWidth", (i) => {
@@ -3874,7 +3874,7 @@ function Po(t, e) {
3874
3874
  return a;
3875
3875
  });
3876
3876
  }
3877
- function tc(t) {
3877
+ function ic(t) {
3878
3878
  t.markers.each((e) => {
3879
3879
  const i = e.children.getIndex(0);
3880
3880
  i instanceof ig && (Po(i, "cornerRadiusBottomLeft"), Po(i, "cornerRadiusBottomRight"), Po(i, "cornerRadiusTopLeft"), Po(i, "cornerRadiusTopRight"), i.validate());
@@ -3882,9 +3882,9 @@ function tc(t) {
3882
3882
  }
3883
3883
  function Oy(t) {
3884
3884
  t.markers.template.events.on(N.Inited, () => {
3885
- tc(t);
3885
+ ic(t);
3886
3886
  }), t.events.once(N.Validated, () => {
3887
- tc(t);
3887
+ ic(t);
3888
3888
  });
3889
3889
  }
3890
3890
  function Dy(t) {
@@ -3942,8 +3942,8 @@ function Py(t, e) {
3942
3942
  $u(i, o?.legendInteractionsDisabled);
3943
3943
  }), { legend: i, legendTitle: a };
3944
3944
  }
3945
- function Er(t) {
3946
- const { legendElements: e, seriesConfig: i, webChartLegend: a } = t, { legend: o, legendTitle: n } = e, s = o.baseSprite, l = (s === void 0 ? !0 : Rd(i)) && a?.visible !== !1;
3945
+ function zr(t) {
3946
+ const { legendElements: e, seriesConfig: i, webChartLegend: a } = t, { legend: o, legendTitle: n } = e, s = o.baseSprite, l = (s === void 0 ? !0 : Sr(i)) && a?.visible !== !1;
3947
3947
  if (s && a && l) {
3948
3948
  const { position: c = A.legendProperties.position } = a;
3949
3949
  ce(o, !0), ky({
@@ -3987,7 +3987,7 @@ function Vy(t) {
3987
3987
  colorMatch: i.colorMatch === !0,
3988
3988
  rendererType: dr(i.chartRenderer, k?.renderer)
3989
3989
  }), Bu(u, p);
3990
- const I = $r({ chart: e, lineSeries: p, applyPropertiesToClones: !1 });
3990
+ const I = Mr({ chart: e, lineSeries: p, applyPropertiesToClones: !1 });
3991
3991
  return Fu(I, p), ny(p), ma({ element: I, customSelectionTheme: s }), vo({ chart: e, element: I, queryObject: n, errorStrings: l }), Db({
3992
3992
  chart: e,
3993
3993
  numberOfChartSeries: c,
@@ -3995,7 +3995,7 @@ function Vy(t) {
3995
3995
  seriesType: y.LineSeries,
3996
3996
  marker: I,
3997
3997
  ignoreSmoothRenderingLimit: r
3998
- }), Wr(p), fa(p), p;
3998
+ }), Er(p), fa(p), p;
3999
3999
  }
4000
4000
  function Wy(t) {
4001
4001
  const { series: e, seriesIndex: i, chartSubType: a, seriesConfig: o, colorMatch: n, lineColor: s, rendererType: r } = t, l = Ve(e);
@@ -4055,7 +4055,7 @@ function Mu(t) {
4055
4055
  }), c = Vt({
4056
4056
  seriesConfig: a,
4057
4057
  seriesIndex: i,
4058
- seriesSymbol: a.lineSymbol ?? vr(i),
4058
+ seriesSymbol: a.lineSymbol ?? Lr(i),
4059
4059
  element: r,
4060
4060
  colorMatch: n,
4061
4061
  rendererSymbol: l
@@ -4096,11 +4096,11 @@ function Nu(t) {
4096
4096
  }
4097
4097
  function zy(t) {
4098
4098
  const { seriesConfig: e, lineSeries: i, isRotated: a } = t;
4099
- e.lineSmoothed === !0 ? i.smoothing = a ? Sl.MonotoneY : Sl.MonotoneX : i.smoothing = A.lineSeries.lineSmoothedKind;
4099
+ e.lineSmoothed === !0 ? i.smoothing = a ? Cl.MonotoneY : Cl.MonotoneX : i.smoothing = A.lineSeries.lineSmoothedKind;
4100
4100
  }
4101
4101
  function Hy(t, e) {
4102
4102
  const { connectLines: i, temporalBinning: a } = e, o = a?.nullPolicy;
4103
- t.connect = i !== !1 && o !== Kc.Null;
4103
+ t.connect = i !== !1 && o !== Qc.Null;
4104
4104
  }
4105
4105
  function _y(t) {
4106
4106
  const {
@@ -4122,7 +4122,7 @@ function _y(t) {
4122
4122
  queryObject: l,
4123
4123
  fieldName: Jt(C),
4124
4124
  fieldValue: S
4125
- }) ?? S), _a(i, S), Mr({ series: i, seriesConfig: e, rotationChanged: o, stackedType: r, isRotated: b }), Hy(i, e), Bn({
4125
+ }) ?? S), _a(i, S), Br({ series: i, seriesConfig: e, rotationChanged: o, stackedType: r, isRotated: b }), Hy(i, e), Bn({
4126
4126
  styleCallback: () => Nu(t),
4127
4127
  series: i,
4128
4128
  seriesConfig: e
@@ -4157,7 +4157,7 @@ function Vn(t, e) {
4157
4157
  function Lo(t, e) {
4158
4158
  return t.series.values.find((i) => i.id === `${e}_${me.Outliers}`);
4159
4159
  }
4160
- function zr(t, e) {
4160
+ function Hr(t, e) {
4161
4161
  return (t ?? A.boxPlot.boxPlotOutliersVisibility) && e !== !1;
4162
4162
  }
4163
4163
  function Gy(t, e) {
@@ -4224,7 +4224,7 @@ function ps(t) {
4224
4224
  function Yy(t) {
4225
4225
  const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, selectionTheme: n, queryObject: s, errorStrings: r } = t, l = a.series[o], c = Ct(a), [d, u] = i, f = new be();
4226
4226
  Xt(f.uid, { isBoxPlotOutliersSeries: !0 }), f.id = `${l.id}_${me.Outliers}`, d !== void 0 && (f.xAxis = d), u !== void 0 && (f.yAxis = u), f.simplifiedProcessing = !0, f.hiddenInLegend = !0, f.strokeOpacity = 0;
4227
- const g = $r({ chart: e, lineSeries: f });
4227
+ const g = Mr({ chart: e, lineSeries: f });
4228
4228
  return c || (ma({
4229
4229
  element: g,
4230
4230
  customSelectionTheme: n
@@ -4310,11 +4310,11 @@ function Ga(t) {
4310
4310
  function Uy(t) {
4311
4311
  const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, selectionTheme: n, queryObject: s, errorStrings: r } = t, l = a.series[o], [c, d] = i, u = new be();
4312
4312
  Xt(u.uid, { isBoxPlotMeanLineSeries: !0 }), u.id = l.id, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0;
4313
- const f = $r({ chart: e, lineSeries: u });
4313
+ const f = Mr({ chart: e, lineSeries: u });
4314
4314
  return ma({ element: f, customSelectionTheme: n }), vo({ chart: e, element: f, queryObject: s, errorStrings: r }), Vt({
4315
4315
  seriesConfig: l,
4316
4316
  seriesIndex: o,
4317
- seriesSymbol: l.lineSymbol ?? vr(o),
4317
+ seriesSymbol: l.lineSymbol ?? Lr(o),
4318
4318
  element: u,
4319
4319
  colorMatch: !1
4320
4320
  }), fa(u), ty(u), Ga({
@@ -4387,7 +4387,7 @@ function Zy(t) {
4387
4387
  if (n !== void 0) {
4388
4388
  const s = Ve(n);
4389
4389
  if (s !== void 0) {
4390
- const r = zr(a, i.visible), l = {
4390
+ const r = Hr(a, i.visible), l = {
4391
4391
  type: K.SMS,
4392
4392
  style: Ko.Circle,
4393
4393
  color: o.color,
@@ -4542,7 +4542,7 @@ function eS(t) {
4542
4542
  if (c !== void 0) {
4543
4543
  const d = Ve(c);
4544
4544
  if (d !== void 0) {
4545
- const u = zr(n, a.visible);
4545
+ const u = Hr(n, a.visible);
4546
4546
  d.disabled = !u;
4547
4547
  }
4548
4548
  Ga({
@@ -4740,7 +4740,7 @@ function Xa(t) {
4740
4740
  });
4741
4741
  }
4742
4742
  function rS(t) {
4743
- rd(), ld(t.htmlContainer), Xa({ chart: t });
4743
+ ld(), cd(t.htmlContainer), Xa({ chart: t });
4744
4744
  }
4745
4745
  function lS(t) {
4746
4746
  const { chart: e, chartType: i, showMean: a } = t;
@@ -4813,7 +4813,7 @@ function dS(t) {
4813
4813
  groupOfSlicesDataContext: v
4814
4814
  }) ?? []).forEach((R) => {
4815
4815
  s.forEach((w) => {
4816
- Dr({
4816
+ $r({
4817
4817
  layerOidField: r,
4818
4818
  sliceDataContext: R,
4819
4819
  selectionDataContext: w,
@@ -5123,7 +5123,7 @@ async function Fo(t) {
5123
5123
  if (d && w[d] !== void 0 && (typeof w[d] == "number" || typeof w[d] == "string"))
5124
5124
  b.push(w[d]);
5125
5125
  else {
5126
- const z = rr($) ? pi.uniqueIds : `${pi.uniqueIds}_${C === y.BoxPlotSeries ? Ai({ where: $ }) : M}`, X = w[z] ?? w[pi.uniqueIds] ?? [], U = cd({
5126
+ const z = rr($) ? pi.uniqueIds : `${pi.uniqueIds}_${C === y.BoxPlotSeries ? Ai({ where: $ }) : M}`, X = w[z] ?? w[pi.uniqueIds] ?? [], U = dd({
5127
5127
  dataContext: w,
5128
5128
  options: s,
5129
5129
  xAxisField: S,
@@ -5142,7 +5142,7 @@ async function Fo(t) {
5142
5142
  }), !l && s?.returnSelectionOIDs !== !1 && f.length > 0) {
5143
5143
  const w = { ...D(e.uid, "queryConfig") };
5144
5144
  delete w.groupByFieldsForStatistics, delete w.orderByFields, delete w.outStatistics;
5145
- const M = await dd({
5145
+ const M = await ud({
5146
5146
  whereList: f,
5147
5147
  queryObject: o,
5148
5148
  queryConfig: w,
@@ -5283,7 +5283,7 @@ function CS(t) {
5283
5283
  }
5284
5284
  function xS(t, e, i) {
5285
5285
  const a = i.chart;
5286
- t.axisFill.tooltip = new qc(), t.axisFill.interactionsEnabled = !0, t.axisFill.tooltipPosition = A.guideTooltipPosition, t.axisFill.tooltip.label.wrap = !0, t.axisFill.tooltip.adapter.add(
5286
+ t.axisFill.tooltip = new Zc(), t.axisFill.interactionsEnabled = !0, t.axisFill.tooltipPosition = A.guideTooltipPosition, t.axisFill.tooltip.label.wrap = !0, t.axisFill.tooltip.adapter.add(
5287
5287
  "maxWidth",
5288
5288
  () => Math.min(A.tooltipWidth, a.seriesContainer.maxWidth)
5289
5289
  ), t.axisFill.tooltip.boundingContainer = a.chartAndLegendContainer, t.axisFill.adapter.add("tooltipHTML", (o, n) => {
@@ -5321,7 +5321,7 @@ function vS(t, e) {
5321
5321
  const c = D(r.uid, "config"), d = D(r.uid, "isRotated"), f = !Ao(t.renderer, d) ? 1 : 0, h = c?.axes?.[f]?.guides;
5322
5322
  let b = o, p = n;
5323
5323
  if (t instanceof Pe) {
5324
- let L = new Yc(), v;
5324
+ let L = new Uc(), v;
5325
5325
  if (r !== void 0) {
5326
5326
  const T = D(t.chart.uid, "formatLocale");
5327
5327
  L = ri({
@@ -5332,9 +5332,9 @@ function vS(t, e) {
5332
5332
  }
5333
5333
  b = L.format(o, v), n !== void 0 && (p = L.format(n, v));
5334
5334
  } else if (t instanceof Te && !(o instanceof Date) && !(n instanceof Date)) {
5335
- const { start: L, end: v } = Hr(t, h?.[s]);
5335
+ const { start: L, end: v } = _r(t, h?.[s]);
5336
5336
  Number.isFinite(L) && (b = L), Number.isFinite(v) && (p = v);
5337
- const T = ot(t.uid, "numberFormatter") ?? ((k) => new Uc().format(k));
5337
+ const T = ot(t.uid, "numberFormatter") ?? ((k) => new jc().format(k));
5338
5338
  b = T(b), p !== void 0 && (p = T(p));
5339
5339
  } else t instanceof dt && (b = o, p = n);
5340
5340
  const S = b.toString(), C = p?.toString() ?? "";
@@ -5358,7 +5358,7 @@ function FS(t) {
5358
5358
  let e = Ca.Value;
5359
5359
  return t instanceof Pe ? e = Ca.Date : t instanceof dt && (e = Ca.Category), e;
5360
5360
  }
5361
- function ic(t) {
5361
+ function ac(t) {
5362
5362
  const { inputValue: e, axisType: i, axisMin: a, axisMax: o } = t;
5363
5363
  let n = e;
5364
5364
  if (e != null)
@@ -5378,16 +5378,16 @@ function ic(t) {
5378
5378
  }
5379
5379
  return n;
5380
5380
  }
5381
- function Hr(t, e) {
5381
+ function _r(t, e) {
5382
5382
  const { start: i, end: a } = e ?? {};
5383
5383
  let o;
5384
5384
  if (e !== void 0 && i !== void 0 && i !== null) {
5385
- const n = FS(t), s = t instanceof Te ? t.min : void 0, r = t instanceof Te ? t.max : void 0, l = ic({
5385
+ const n = FS(t), s = t instanceof Te ? t.min : void 0, r = t instanceof Te ? t.max : void 0, l = ac({
5386
5386
  inputValue: i,
5387
5387
  axisType: n,
5388
5388
  axisMin: s,
5389
5389
  axisMax: r
5390
- }), c = e.style?.type === K.SFS && a !== null && a !== void 0 ? ic({
5390
+ }), c = e.style?.type === K.SFS && a !== null && a !== void 0 ? ac({
5391
5391
  inputValue: a,
5392
5392
  axisType: n,
5393
5393
  axisMin: s,
@@ -5476,7 +5476,7 @@ function RS(t, e) {
5476
5476
  end: r ?? a
5477
5477
  };
5478
5478
  } else
5479
- n = Hr(t.axisFill.axis, e);
5479
+ n = _r(t.axisFill.axis, e);
5480
5480
  n.isValidGuide && (t instanceof Ta ? (t.category = `${n.start?.toString()}`, t.endCategory = `${n.end?.toString()}`) : t instanceof gn ? (t.date = n.start, t.endDate = n.end) : (t.value = n.start, t.endValue = n.end));
5481
5481
  }
5482
5482
  }
@@ -5702,14 +5702,14 @@ function YS(t) {
5702
5702
  function US(t) {
5703
5703
  _S(t), GS(t), YS(t);
5704
5704
  }
5705
- function ac(t) {
5705
+ function oc(t) {
5706
5706
  WS(t), t.renderer.labels.template.paddingLeft = 0, t.renderer.labels.template.paddingRight = 0, t.renderer.labels.template.maxWidth = Number.NaN;
5707
5707
  const e = yt(ES, A.debounceTime, {
5708
5708
  leading: !0
5709
5709
  });
5710
5710
  Ke(t.uid, { debouncedAxisLabelRotationCallback: e }), t.events.on(N.Validated, e), t.dispatchImmediately(N.Validated);
5711
5711
  }
5712
- function oc(t, e = 1) {
5712
+ function nc(t, e = 1) {
5713
5713
  t.renderer.labels.template.wrap = !0, t.renderer.labels.template.paddingLeft = 0.5, t.renderer.labels.template.paddingRight = 0.5, t.renderer.labels.template.textAlign = "middle";
5714
5714
  const i = yt((a) => zS(a, e), A.debounceTime);
5715
5715
  Ke(t.uid, { debouncedAxisLabelWrapCallback: i }), t.events.on(N.DataRangeChanged, i);
@@ -5736,16 +5736,16 @@ function ZS(t) {
5736
5736
  case Ce.Hide:
5737
5737
  break;
5738
5738
  case Ce.Stagger:
5739
- qS(e), oc(e, 1.5);
5739
+ qS(e), nc(e, 1.5);
5740
5740
  break;
5741
5741
  case Ce.Wrap:
5742
- oc(e);
5742
+ nc(e);
5743
5743
  break;
5744
5744
  case Ce.Rotate:
5745
- ac(e);
5745
+ oc(e);
5746
5746
  break;
5747
5747
  default:
5748
- o.content.angle !== null && o.content.angle === void 0 && ac(e);
5748
+ o.content.angle !== null && o.content.angle === void 0 && oc(e);
5749
5749
  break;
5750
5750
  }
5751
5751
  } else e.renderer instanceof Wa && (a !== Ce.Hide ? jS(e) : XS(e));
@@ -5771,12 +5771,12 @@ function KS(t) {
5771
5771
  isSecondaryYAxis: s
5772
5772
  }), r.axis.invalidateLabels();
5773
5773
  }
5774
- function _r(t) {
5774
+ function Gr(t) {
5775
5775
  return (t ?? Dd()) === te.Side;
5776
5776
  }
5777
5777
  function Eu(t, e) {
5778
5778
  let i, a;
5779
- const o = Os(t, "bullets"), n = Os(t, "columns"), s = _r(e);
5779
+ const o = Os(t, "bullets"), n = Os(t, "columns"), s = Gr(e);
5780
5780
  return s && o !== void 0 ? (i = o, a = n) : s || (i = n, a = o), { labelToRender: i, labelToHide: a };
5781
5781
  }
5782
5782
  function QS(t, e = !0) {
@@ -5794,7 +5794,7 @@ function JS(t, e) {
5794
5794
  uo(s) && s.validate();
5795
5795
  });
5796
5796
  }, A.debounceTime)
5797
- ), n.html = "{valueX}", o.html = "{valueX}", mu(o), _r(e) ? (i = o, a = n) : (i = n, a = o), du(y.BarSeries, o), uu(y.BarSeries, i), { newLabelToRender: i, newLabelToHide: a };
5797
+ ), n.html = "{valueX}", o.html = "{valueX}", mu(o), Gr(e) ? (i = o, a = n) : (i = n, a = o), du(y.BarSeries, o), uu(y.BarSeries, i), { newLabelToRender: i, newLabelToHide: a };
5798
5798
  }
5799
5799
  function eC(t) {
5800
5800
  const { series: e, stackedType: i, isRotated: a, hideOversizedStackedLabels: o, hideOversizedSideBySideLabels: n } = t;
@@ -5804,7 +5804,7 @@ function eC(t) {
5804
5804
  s = d, r = u;
5805
5805
  }
5806
5806
  let l = A.dataLabel, c = !0;
5807
- _r(i) ? (l = a === !0 ? A.dataLabelRotated : A.dataLabel, c = n === !0) : (l = a === !0 ? A.dataLabelStackedRotated : A.dataLabelStackedNonRotated, c = o !== !1), QS(s, c), r !== void 0 && (r.visible = !1, r.disabled = !0), s.html = "{valueX}", gu({
5807
+ Gr(i) ? (l = a === !0 ? A.dataLabelRotated : A.dataLabel, c = n === !0) : (l = a === !0 ? A.dataLabelStackedRotated : A.dataLabelStackedNonRotated, c = o !== !1), QS(s, c), r !== void 0 && (r.visible = !1, r.disabled = !0), s.html = "{valueX}", gu({
5808
5808
  ...t,
5809
5809
  dataLabel: s,
5810
5810
  labelDefaults: l,
@@ -5858,11 +5858,11 @@ function $s(t) {
5858
5858
  const { axis: e, start: i, end: a } = t;
5859
5859
  e.zoom({ start: i ?? 0, end: a ?? 1 });
5860
5860
  }
5861
- function nc(t) {
5861
+ function sc(t) {
5862
5862
  t !== void 0 && (t.start = 0, t.end = 1);
5863
5863
  }
5864
5864
  function Wn(t) {
5865
- t !== void 0 && (t.xAxes !== void 0 && t.xAxes.each((e) => $s({ axis: e })), t.yAxes !== void 0 && t.yAxes.each((e) => $s({ axis: e })), nc(t.scrollbarX), nc(t.scrollbarY), ce(t.zoomOutButton, !1));
5865
+ t !== void 0 && (t.xAxes !== void 0 && t.xAxes.each((e) => $s({ axis: e })), t.yAxes !== void 0 && t.yAxes.each((e) => $s({ axis: e })), sc(t.scrollbarX), sc(t.scrollbarY), ce(t.zoomOutButton, !1));
5866
5866
  }
5867
5867
  function Ao(t, e) {
5868
5868
  return t instanceof At && e !== !0 || t instanceof Wa && e === !0;
@@ -5929,7 +5929,7 @@ function nC(t) {
5929
5929
  maximum: r.max
5930
5930
  });
5931
5931
  }
5932
- a.length > 0 && a.every((o) => !Number.isNaN(o.minimum) && !Number.isNaN(o.maximum)) && gd(a, e.chart.htmlContainer);
5932
+ a.length > 0 && a.every((o) => !Number.isNaN(o.minimum) && !Number.isNaN(o.maximum)) && hd(a, e.chart.htmlContainer);
5933
5933
  }
5934
5934
  }
5935
5935
  function sC(t) {
@@ -5954,7 +5954,7 @@ function rC(t) {
5954
5954
  o && n && (a = !0), ce(f, a), ce(g, a), ce(h, a);
5955
5955
  }
5956
5956
  }
5957
- function sc(t) {
5957
+ function rc(t) {
5958
5958
  const { axis: e, axisMinimum: i, axisMaximum: a } = t;
5959
5959
  let o;
5960
5960
  if (e instanceof Te && a !== void 0 && i !== void 0) {
@@ -5963,7 +5963,7 @@ function sc(t) {
5963
5963
  const g = n[f], { value: h, endValue: b, axisFill: p, grid: S, label: C } = g;
5964
5964
  if (Be(C?.uid, "isGuide") === !0) {
5965
5965
  if (o = g.visible, o && g instanceof Js) {
5966
- const { start: L, end: v } = Hr(e, u?.[f]), T = Math.min(h, b, L ?? h, v ?? b), k = Math.max(h, b, L ?? h, v ?? b);
5966
+ const { start: L, end: v } = _r(e, u?.[f]), T = Math.min(h, b, L ?? h, v ?? b), k = Math.max(h, b, L ?? h, v ?? b);
5967
5967
  T < i && k < i || T > a && k > a ? o = !1 : (g.value = T < i ? i : T, g.endValue = k > a ? a : k);
5968
5968
  }
5969
5969
  ce(p, o), ce(S, o), ce(C, o);
@@ -5972,11 +5972,11 @@ function sc(t) {
5972
5972
  }
5973
5973
  }
5974
5974
  function lC(t) {
5975
- t instanceof Te ? (t.adapter.add("min", (e) => (sc({
5975
+ t instanceof Te ? (t.adapter.add("min", (e) => (rc({
5976
5976
  axis: t,
5977
5977
  axisMinimum: e,
5978
5978
  axisMaximum: t.max
5979
- }), e)), t.adapter.add("max", (e) => (sc({
5979
+ }), e)), t.adapter.add("max", (e) => (rc({
5980
5980
  axis: t,
5981
5981
  axisMinimum: t.min,
5982
5982
  axisMaximum: e
@@ -6062,7 +6062,7 @@ function fC(t) {
6062
6062
  seriesIds: S
6063
6063
  });
6064
6064
  if (b === te.Stacked100 && !p) {
6065
- const { dataHasNegativeValues: x, stackedMinY: L, stackedMaxY: v } = ud({
6065
+ const { dataHasNegativeValues: x, stackedMinY: L, stackedMaxY: v } = fd({
6066
6066
  seriesConfig: u.series,
6067
6067
  filteredData: d.data,
6068
6068
  filteredSeriesIds: C
@@ -6073,7 +6073,7 @@ function fC(t) {
6073
6073
  } else
6074
6074
  l = n ?? 0, c = s ?? 100;
6075
6075
  } else {
6076
- const x = fd({
6076
+ const x = md({
6077
6077
  chartConfig: u,
6078
6078
  chartData: d.data,
6079
6079
  filteredSeriesIds: C
@@ -6222,7 +6222,7 @@ function _u(t) {
6222
6222
  }
6223
6223
  function SC(t, e) {
6224
6224
  if (t instanceof Te) {
6225
- const { integerOnlyValues: i, valueFormat: a } = e, o = md(a) ? a.intlOptions.maximumFractionDigits : void 0;
6225
+ const { integerOnlyValues: i, valueFormat: a } = e, o = gd(a) ? a.intlOptions.maximumFractionDigits : void 0;
6226
6226
  t.maxPrecision = i === !0 || o === 0 ? 0 : Number.NaN;
6227
6227
  }
6228
6228
  }
@@ -6463,7 +6463,7 @@ function Xu(t) {
6463
6463
  maximumValueConversion: n
6464
6464
  } = t;
6465
6465
  let s = e ?? H.gauge.axisMinimum, r = i ?? H.gauge.axisMaximum;
6466
- s = vl(s, o), r = vl(r, n);
6466
+ s = Ll(s, o), r = Ll(r, n);
6467
6467
  const l = Ms(a);
6468
6468
  let c = Ms(a) ? a : Math.abs(r - s) / H.gauge.numberOfLabelIntervals, d = l ? Math.round(Math.abs(r - s) / c) : H.gauge.numberOfLabelIntervals;
6469
6469
  if (l)
@@ -6545,7 +6545,7 @@ function FC(t) {
6545
6545
  const d = o * c;
6546
6546
  return d < r ? c *= r / d : d > l && (c *= l / d), c;
6547
6547
  }
6548
- function Gr(t) {
6548
+ function Xr(t) {
6549
6549
  const { chart: e, type: i, labelList: a, currentScale: o, currentFontSize: n, axisConfig: s } = t;
6550
6550
  let r = Number.NaN, l = Number.NaN;
6551
6551
  if (i === qe.InnerLabel) {
@@ -6586,7 +6586,7 @@ function TC(t) {
6586
6586
  a.events.once(N.Validated, () => {
6587
6587
  const s = Tt(a, Fe.GaugeTicksWithLabels);
6588
6588
  if (En(s)) {
6589
- const r = s.map((f) => f.label), l = r[0].scale, c = r[0].fontSize, d = Gr({
6589
+ const r = s.map((f) => f.label), l = r[0].scale, c = r[0].fontSize, d = Xr({
6590
6590
  chart: e,
6591
6591
  type: qe.AxisLabels,
6592
6592
  labelList: r,
@@ -6616,7 +6616,7 @@ function kC(t, e) {
6616
6616
  if (a?.innerLabel?.visible !== !1 && a?.innerLabel?.content?.font?.size === void 0) {
6617
6617
  const o = t.xAxes.getIndex(0)?.measuredWidth;
6618
6618
  if (o !== void 0 && o > 0) {
6619
- const n = Gr({
6619
+ const n = Xr({
6620
6620
  chart: t,
6621
6621
  type: qe.InnerLabel,
6622
6622
  labelList: [e],
@@ -6647,7 +6647,7 @@ function Bs(t) {
6647
6647
  function RC(t) {
6648
6648
  const e = t.chart, i = D(e.uid, "config")?.axes?.[0], a = Tt(t, Fe.GaugeFirstAndLastGuides);
6649
6649
  if (En(a)) {
6650
- const o = a.map((l) => l.label), n = o[0].scale, s = o[0].fontSize, r = Gr({
6650
+ const o = a.map((l) => l.label), n = o[0].scale, s = o[0].fontSize, r = Xr({
6651
6651
  chart: e,
6652
6652
  type: qe.FirstAndLastLabels,
6653
6653
  labelList: o,
@@ -6993,7 +6993,7 @@ function YC(t) {
6993
6993
  gaugeLabelConfigContent: u.labels,
6994
6994
  axisValueFormatter: n
6995
6995
  });
6996
- const T = hd({ chartData: o, chartConfig: i });
6996
+ const T = pd({ chartData: o, chartConfig: i });
6997
6997
  $C({
6998
6998
  chart: e,
6999
6999
  needle: h,
@@ -7015,7 +7015,7 @@ function zn(t, e) {
7015
7015
  }
7016
7016
  function jC(t) {
7017
7017
  const e = Iu(A.headerContainer, t), i = li(A.title, e), a = li(A.subtitle, e);
7018
- return t instanceof _c && (en(t, i), en(t, a), fo({ chart: t, label: i, labelType: q.ChartTitle }), fo({ chart: t, label: a, labelType: q.ChartSubTitle })), cy(e), { headerContainer: e, title: i, subtitle: a };
7018
+ return t instanceof Gc && (en(t, i), en(t, a), fo({ chart: t, label: i, labelType: q.ChartTitle }), fo({ chart: t, label: a, labelType: q.ChartSubTitle })), cy(e), { headerContainer: e, title: i, subtitle: a };
7019
7019
  }
7020
7020
  function Hn(t, e) {
7021
7021
  const { title: i, subtitle: a, headerContainer: o } = t;
@@ -7031,7 +7031,7 @@ function Hn(t, e) {
7031
7031
  }
7032
7032
  function qC(t) {
7033
7033
  const e = Iu(A.footerContainer, t), i = li(A.footer, e);
7034
- return t instanceof _c && (en(t, i), fo({ chart: t, label: i, labelType: q.ChartFooter })), { footerContainer: e, footer: i };
7034
+ return t instanceof Gc && (en(t, i), fo({ chart: t, label: i, labelType: q.ChartFooter })), { footerContainer: e, footer: i };
7035
7035
  }
7036
7036
  function _n(t, e) {
7037
7037
  const { footer: i, footerContainer: a } = t;
@@ -7043,7 +7043,7 @@ function _n(t, e) {
7043
7043
  }
7044
7044
  function ju(t) {
7045
7045
  if (t instanceof fe) {
7046
- const e = new Rl(), i = new Rl();
7046
+ const e = new wl(), i = new wl();
7047
7047
  e.disabled = !0, i.disabled = !0, e.marginTop = -10, i.marginRight = 0, t.scrollbarX = e, t.scrollbarY = i;
7048
7048
  }
7049
7049
  }
@@ -7103,12 +7103,12 @@ function qu(t) {
7103
7103
  });
7104
7104
  }
7105
7105
  }
7106
- function rc() {
7106
+ function lc() {
7107
7107
  return !1;
7108
7108
  }
7109
7109
  function tx(t, e) {
7110
7110
  t.columns.each((i) => {
7111
- (i.dataItem?.dataContext)[e] === 0 && !i.adapter.has("visible", rc) && i.adapter.add("visible", rc);
7111
+ (i.dataItem?.dataContext)[e] === 0 && !i.adapter.has("visible", lc) && i.adapter.add("visible", lc);
7112
7112
  });
7113
7113
  }
7114
7114
  function ix(t, e, i, a) {
@@ -7255,7 +7255,7 @@ function Zu(t) {
7255
7255
  queryObject: d,
7256
7256
  fieldName: Jt(p),
7257
7257
  fieldValue: b
7258
- }) ?? b), _a(i, b), Mr({
7258
+ }) ?? b), _a(i, b), Br({
7259
7259
  series: i,
7260
7260
  seriesConfig: e,
7261
7261
  rotationChanged: o,
@@ -7300,7 +7300,7 @@ function lx(t) {
7300
7300
  const x = hu(C, b);
7301
7301
  f.dataFields[x] = A.xAxisField, f.baseAxis = C;
7302
7302
  }
7303
- return Mr({
7303
+ return Br({
7304
7304
  series: f,
7305
7305
  seriesConfig: c,
7306
7306
  rotationChanged: !1,
@@ -7309,7 +7309,7 @@ function lx(t) {
7309
7309
  }), f.dataFields.customValue = c?.query?.where, Fu(f.columns.template, f), f.columns.template.width = gt(100), ax(f), ma({
7310
7310
  element: f.columns.template,
7311
7311
  customSelectionTheme: n
7312
- }), vo({ chart: e, element: f.columns.template, queryObject: s, errorStrings: r }), Wr(f), rx(f), fa(f), f;
7312
+ }), vo({ chart: e, element: f.columns.template, queryObject: s, errorStrings: r }), Er(f), rx(f), fa(f), f;
7313
7313
  }
7314
7314
  function cx(t) {
7315
7315
  const { seriesConfig: e, series: i, seriesIndex: a, axes: o, utilsStrings: n, fieldList: s, queryObject: r, stackedType: l, options: c } = t;
@@ -7383,7 +7383,7 @@ function fx(t, e) {
7383
7383
  percentagePrefix: c,
7384
7384
  percentageSuffix: d,
7385
7385
  dataLabelsCharacterLimit: u
7386
- } = e, f = Vr({
7386
+ } = e, f = Wr({
7387
7387
  iLocale: t.chart.language.locale,
7388
7388
  pieChart: t.chart,
7389
7389
  valueIntlOptions: i?.intlOptions,
@@ -7441,7 +7441,7 @@ function gx(t, e) {
7441
7441
  } = e;
7442
7442
  return i = (h, b, p) => {
7443
7443
  let S = A.htmlEmptyContent;
7444
- const x = Vr({
7444
+ const x = Wr({
7445
7445
  iLocale: t.chart.language.locale,
7446
7446
  pieChart: t.chart,
7447
7447
  valueIntlOptions: (n ?? a)?.intlOptions,
@@ -7463,7 +7463,7 @@ function gx(t, e) {
7463
7463
  function hx(t) {
7464
7464
  if (t.tooltip !== void 0) {
7465
7465
  let e = t.fill;
7466
- e instanceof Gc ? e = e.stroke : e instanceof Xc && (e = e.backgroundFill), t.tooltip.background.fill = e;
7466
+ e instanceof Xc ? e = e.stroke : e instanceof Yc && (e = e.backgroundFill), t.tooltip.background.fill = e;
7467
7467
  }
7468
7468
  }
7469
7469
  function px(t) {
@@ -7509,7 +7509,7 @@ function Sx(t) {
7509
7509
  if (i.slices.length === 0) {
7510
7510
  const n = [];
7511
7511
  e?.forEach((s) => {
7512
- const r = Or({
7512
+ const r = Dr({
7513
7513
  dataContext: s,
7514
7514
  pieSlicesSymbols: a,
7515
7515
  seriesConfig: o
@@ -7537,12 +7537,12 @@ function Cx(t) {
7537
7537
  element: r.slices.template,
7538
7538
  useNativeState: !0,
7539
7539
  customSelectionTheme: c
7540
- }), r.slices.template.states.removeKey("hover"), fa(r), r.hidden = s === !1, Wr(r), r;
7540
+ }), r.slices.template.states.removeKey("hover"), fa(r), r.hidden = s === !1, Er(r), r;
7541
7541
  }
7542
7542
  function xx(t) {
7543
7543
  const { series: e, pieSlicesSymbols: i, seriesConfig: a, selectionTheme: o } = t;
7544
7544
  e.defaultState.reset(), e.slices.each((n, s) => {
7545
- const r = n.dataItem?.dataContext, l = Or({
7545
+ const r = n.dataItem?.dataContext, l = Dr({
7546
7546
  dataContext: r,
7547
7547
  pieSlicesSymbols: i,
7548
7548
  seriesConfig: a
@@ -7563,7 +7563,7 @@ function xx(t) {
7563
7563
  function vx(t, e) {
7564
7564
  const { ticks: i } = e, a = i?.visible === !1 || e.dataLabelsInside === !0 || e.dataLabels === void 0 || e.dataLabels?.visible === !1 || e.dataLabelsOffset !== void 0 && e.dataLabelsOffset <= 0;
7565
7565
  t.ticks.template.disabled = a, t.ticks.template.strokeOpacity = A.pieChart.ticksOpacity;
7566
- const o = i?.lineSymbol ?? Rn({ color: Lr });
7566
+ const o = i?.lineSymbol ?? Rn({ color: Fr });
7567
7567
  a && (o.width = 0), Ji({
7568
7568
  element: t.ticks.template,
7569
7569
  lineSymbol: o,
@@ -7598,14 +7598,14 @@ function Lx(t) {
7598
7598
  function Ku(t) {
7599
7599
  return t.values.every((e) => e.isReady());
7600
7600
  }
7601
- function lc(t) {
7601
+ function cc(t) {
7602
7602
  t instanceof kt ? qo(t.htmlContainer) : t instanceof qs && t.series.each((e) => {
7603
7603
  const i = e.events.on(N.Validated, () => {
7604
7604
  t && Ku(t.series) && !D(t.uid, "renderingCompleteNotified") && (ae(t.uid, { renderingCompleteNotified: !0 }), Pb(t), qo(t.htmlContainer), i.dispose());
7605
7605
  });
7606
7606
  });
7607
7607
  }
7608
- async function cc(t) {
7608
+ async function dc(t) {
7609
7609
  const { chart: e, hitSlice: i, multiSelect: a = !1, queryObject: o, errorStrings: n } = t, s = [], r = D(e.uid, "config"), l = e.series.getIndex(0);
7610
7610
  if (r && l !== void 0) {
7611
7611
  const c = lu(l), d = Yi(l), u = {
@@ -7656,12 +7656,12 @@ function Fx(t, e, i) {
7656
7656
  if (yu(t) && t.series.getIndex(0)?.slices.template.togglable) {
7657
7657
  const l = Nn(s, t);
7658
7658
  if (r instanceof ag)
7659
- await cc({ chart: t, multiSelect: l, hitSlice: r, queryObject: e, errorStrings: i });
7659
+ await dc({ chart: t, multiSelect: l, hitSlice: r, queryObject: e, errorStrings: i });
7660
7660
  else if (r instanceof Xo) {
7661
7661
  const c = r.dataItem;
7662
7662
  if (c instanceof Si) {
7663
7663
  const { slice: d } = c;
7664
- d.isActive = !d.isActive, await cc({ chart: t, multiSelect: l, hitSlice: d, queryObject: e, errorStrings: i });
7664
+ d.isActive = !d.isActive, await dc({ chart: t, multiSelect: l, hitSlice: d, queryObject: e, errorStrings: i });
7665
7665
  }
7666
7666
  } else r === t.background && await Fo({
7667
7667
  chart: t,
@@ -7676,19 +7676,19 @@ function Fx(t, e, i) {
7676
7676
  const n = t.series.getIndex(0)?.labels.template;
7677
7677
  n !== void 0 && n.events.on(N.Hit, a), t.background.events.on(N.Hit, a), t.background.events.on(N.DoubleHit, a);
7678
7678
  }
7679
- function dc(t) {
7679
+ function uc(t) {
7680
7680
  let e;
7681
7681
  return typeof t == "number" && Number.isFinite(t) && t > 0 && (e = t), e;
7682
7682
  }
7683
7683
  function Ax(t) {
7684
- const { chartContainer: e } = t, i = dc(e.measuredWidth), a = dc(e.measuredHeight);
7684
+ const { chartContainer: e } = t, i = uc(e.measuredWidth), a = uc(e.measuredHeight);
7685
7685
  let o;
7686
7686
  return i !== void 0 && a !== void 0 && (o = {
7687
7687
  width: i,
7688
7688
  minSide: Math.min(i, a)
7689
7689
  }), o;
7690
7690
  }
7691
- function uc(t) {
7691
+ function fc(t) {
7692
7692
  return t?.offsetParent !== null;
7693
7693
  }
7694
7694
  function Tx(t, e) {
@@ -7815,7 +7815,7 @@ function ef(t) {
7815
7815
  });
7816
7816
  }
7817
7817
  f >= 0 && (t.chartContainer.paddingRight = f), t.chartContainer.paddingTop = d ? s : r.paddingTop;
7818
- const g = a?.legend?.visible !== !1 && a?.legend?.position === G.Right;
7818
+ const g = Sr(l ?? []) && a?.legend?.visible !== !1 && a?.legend?.position === G.Right;
7819
7819
  t.paddingRight = g ? o : n;
7820
7820
  };
7821
7821
  let i = 0;
@@ -7830,7 +7830,7 @@ function Ix(t, e) {
7830
7830
  t.adapter.add("criticalError", (i) => (i.message = e.errors.simpleError, i));
7831
7831
  }
7832
7832
  io.classNamePrefix = "arcgis-charts-";
7833
- function Xr(t) {
7833
+ function Yr(t) {
7834
7834
  const { chart: e, localeInfo: i, chartLocale: a } = t;
7835
7835
  io.defaultLocale = a, e.language.locale = a, ae(e.uid, { formatLocale: i.formatLocale }), e.rtl = i.rtl;
7836
7836
  }
@@ -7887,7 +7887,7 @@ function wx(t) {
7887
7887
  }
7888
7888
  }
7889
7889
  }
7890
- function Yr(t) {
7890
+ function Ur(t) {
7891
7891
  const {
7892
7892
  chart: e,
7893
7893
  chartConfig: i,
@@ -8001,7 +8001,7 @@ function tf(t) {
8001
8001
  return new Go({ r: S, g: C, b: x, a: L });
8002
8002
  })), u.length > 0 && e.series.pushAll(u), Yb(e);
8003
8003
  }
8004
- function Ur(t) {
8004
+ function jr(t) {
8005
8005
  const {
8006
8006
  chart: e,
8007
8007
  chartConfig: i,
@@ -8096,7 +8096,7 @@ function Ur(t) {
8096
8096
  errorStrings: L
8097
8097
  });
8098
8098
  }
8099
- function jr(t) {
8099
+ function qr(t) {
8100
8100
  const { chartConfig: e } = t, {
8101
8101
  chart: i,
8102
8102
  options: a,
@@ -8151,7 +8151,7 @@ function jr(t) {
8151
8151
  config: e,
8152
8152
  isRotated: E,
8153
8153
  isNonAggregatedChart: !Fn($)
8154
- }), e.axes !== void 0 && (wx({ chart: i, axesConfig: e.axes, chartType: I, isRotated: E, errorStrings: c, queryObject: r }), Yr({
8154
+ }), e.axes !== void 0 && (wx({ chart: i, axesConfig: e.axes, chartType: I, isRotated: E, errorStrings: c, queryObject: r }), Ur({
8155
8155
  chart: i,
8156
8156
  chartConfig: e,
8157
8157
  chartType: I,
@@ -8173,7 +8173,7 @@ function jr(t) {
8173
8173
  options: a,
8174
8174
  queryObject: r,
8175
8175
  errorStrings: c
8176
- }), Ur({
8176
+ }), jr({
8177
8177
  chart: i,
8178
8178
  chartConfig: e,
8179
8179
  seriesIndexMapper: w,
@@ -8187,7 +8187,7 @@ function jr(t) {
8187
8187
  options: a,
8188
8188
  utilsStrings: l,
8189
8189
  errorStrings: c
8190
- }), Er({
8190
+ }), zr({
8191
8191
  legendElements: j,
8192
8192
  seriesConfig: z,
8193
8193
  webChartLegend: e.legend,
@@ -8211,10 +8211,10 @@ function Ox(t) {
8211
8211
  const { chartContainer: e, chartConfig: i, queryObject: a, colorMatchApplied: o, dataInfo: n, t9nStrings: s, options: r, globalOptions: l } = t, { errorStrings: c, utilsStrings: d, amChartsStrings: u } = s, f = tr(e, fe);
8212
8212
  f.id = i?.id ?? f.uid, ae(f.uid, { queryObject: a });
8213
8213
  const { t9nLocale: g } = ea(f.htmlContainer ?? document.documentElement), h = bo(f.htmlContainer ?? document.documentElement), b = js(f.htmlContainer ?? document.documentElement) === "rtl";
8214
- Xr({ chart: f, localeInfo: { locale: g, formatLocale: h, rtl: b }, chartLocale: u }), f.events.on(N.Inited, () => f.zoomOutButton.deepInvalidate());
8214
+ Yr({ chart: f, localeInfo: { locale: g, formatLocale: h, rtl: b }, chartLocale: u }), f.events.on(N.Inited, () => f.zoomOutButton.deepInvalidate());
8215
8215
  const S = W(i?.series);
8216
8216
  f instanceof fe && S !== y.BoxPlotSeries && (f.maskBullets = !1);
8217
- const C = jr({
8217
+ const C = qr({
8218
8218
  chartConfig: i,
8219
8219
  chart: f,
8220
8220
  queryObject: a,
@@ -8240,9 +8240,9 @@ function Dx(t) {
8240
8240
  globalOptions: u
8241
8241
  } = t, f = tr(e, $e);
8242
8242
  f.id = i?.id ?? f.uid;
8243
- const g = pd(f.htmlContainer);
8244
- Xr({ chart: f, localeInfo: g, chartLocale: c }), f.radius = gt(A.pieChart.chartRadius);
8245
- const h = jr({
8243
+ const g = bd(f.htmlContainer);
8244
+ Yr({ chart: f, localeInfo: g, chartLocale: c }), f.radius = gt(A.pieChart.chartRadius);
8245
+ const h = qr({
8246
8246
  chartConfig: i,
8247
8247
  chart: f,
8248
8248
  queryObject: a,
@@ -8267,11 +8267,11 @@ function $x(t) {
8267
8267
  globalOptions: c
8268
8268
  } = t, d = tr(e, kt);
8269
8269
  d.id = i?.id ?? d.uid;
8270
- const u = pd(d.htmlContainer);
8271
- Xr({ chart: d, localeInfo: u, chartLocale: r }), d.maskBullets = !1;
8270
+ const u = bd(d.htmlContainer);
8271
+ Yr({ chart: d, localeInfo: u, chartLocale: r }), d.maskBullets = !1;
8272
8272
  const f = A.gauge, g = Number.isFinite(i?.innerRadius) ? i?.innerRadius : f.innerRadius, h = Number.isFinite(i?.startAngle) ? i?.startAngle : f.startAngle, b = Number.isFinite(i?.endAngle) ? i?.endAngle : f.endAngle;
8273
8273
  d.radius = gt(f.radius), typeof g == "number" && (d.innerRadius = gt(g)), typeof h == "number" && (d.startAngle = h), typeof b == "number" && (d.endAngle = b);
8274
- const p = jr({
8274
+ const p = qr({
8275
8275
  chartConfig: i,
8276
8276
  chart: d,
8277
8277
  queryObject: a,
@@ -8303,14 +8303,14 @@ function Mx(t) {
8303
8303
  ae(i.uid, { config: ke(e), isRotated: C }), ae(i.uid, { filterBySelection: r?.filterBySelection }), Gn({ chart: i, actionMode: r?.actionMode, cursorRange: r?.cursorRange });
8304
8304
  const { xOrYChanged: x, layerChanged: L } = n?.common ?? {};
8305
8305
  let { numberOfSeriesChanged: v } = n?.common ?? {};
8306
- const T = yd(h, e), k = Sd(h, e), I = dg(h, e), R = ug(h, e), w = JSON.stringify(Zo(b)) !== JSON.stringify(Zo(p));
8306
+ const T = Sd(h, e), k = Cd(h, e), I = dg(h, e), R = ug(h, e), w = JSON.stringify(Zo(b)) !== JSON.stringify(Zo(p));
8307
8307
  let M = !1, $ = !1;
8308
8308
  Vi(e) && Vi(h) && (M = fg(h, e), $ = mg(h, e));
8309
8309
  const B = Ln({
8310
8310
  oldConfig: c ? l : h,
8311
8311
  newConfig: e,
8312
8312
  dataWasUpdated: o
8313
- }), P = Cd({
8313
+ }), P = xd({
8314
8314
  oldConfig: h,
8315
8315
  newConfig: e,
8316
8316
  rotationChanged: k
@@ -8332,7 +8332,7 @@ function Mx(t) {
8332
8332
  serverLimitReached: et?.serverLimitReached
8333
8333
  });
8334
8334
  } else if (S === y.BarSeries || S === y.LineSeries || S === y.RadarSeries || S === y.ComboLineAndBarSeries || S === y.BoxPlotSeries) {
8335
- const Le = xd(b, p);
8335
+ const Le = vd(b, p);
8336
8336
  if (Le.length > 0 && (Sp(i.series, Le), i.feedLegend(), z = !0), za(p[0])) {
8337
8337
  const { binTemporalData: et } = p[0], { unit: ii, size: fi } = p[0].temporalBinning ?? {};
8338
8338
  et === !1 && ii !== void 0 && fi !== void 0 && ae(i.uid, { timeIntervalInfo: { unit: ii, size: fi } });
@@ -8341,7 +8341,7 @@ function Mx(t) {
8341
8341
  const _ = B && !o, j = /* @__PURE__ */ new Map();
8342
8342
  (l ?? e).series.forEach((Le, et) => {
8343
8343
  j.set(Le.id, et);
8344
- }), v = v || c, X && (o || B) && (i.data = X), e.axes !== void 0 && Yr({
8344
+ }), v = v || c, X && (o || B) && (i.data = X), e.axes !== void 0 && Ur({
8345
8345
  chart: i,
8346
8346
  chartConfig: e,
8347
8347
  data: s?.data,
@@ -8371,7 +8371,7 @@ function Mx(t) {
8371
8371
  queryObject: d,
8372
8372
  options: r,
8373
8373
  errorStrings: f
8374
- })), Ur({
8374
+ })), jr({
8375
8375
  chart: i,
8376
8376
  chartConfig: e,
8377
8377
  seriesIndexMapper: j,
@@ -8389,7 +8389,7 @@ function Mx(t) {
8389
8389
  errorStrings: f
8390
8390
  }), _ && (i.validateData(), S === y.BoxPlotSeries && i.series.each((Le) => {
8391
8391
  Le instanceof be && !(Le instanceof Ft) && Le.id.includes(me.Outliers) && Le.validateData();
8392
- })), Hn(a.headerElements, { title: e.title, subtitle: e.subtitle }), _n(a.footerElements, e.footer), Er({
8392
+ })), Hn(a.headerElements, { title: e.title, subtitle: e.subtitle }), _n(a.footerElements, e.footer), zr({
8393
8393
  legendElements: a.legendElements,
8394
8394
  seriesConfig: e.series,
8395
8395
  webChartLegend: e.legend,
@@ -8414,7 +8414,7 @@ function Bx(t) {
8414
8414
  dataInfo: l,
8415
8415
  utilsStrings: c,
8416
8416
  errorStrings: d
8417
- } = t, u = D(e.uid, "config"), f = u?.series, g = o?.series, h = Ln({ oldConfig: u, newConfig: o, dataWasUpdated: a }), b = wr(f, g), { count: p, data: S, queryConfig: C } = l ?? {}, x = qt(S);
8417
+ } = t, u = D(e.uid, "config"), f = u?.series, g = o?.series, h = Ln({ oldConfig: u, newConfig: o, dataWasUpdated: a }), b = Or(f, g), { count: p, data: S, queryConfig: C } = l ?? {}, x = qt(S);
8418
8418
  ae(e.uid, { filterBySelection: r?.filterBySelection, config: ke(o) });
8419
8419
  const L = x !== void 0 && (e.data.length !== x.length || Qd(e.data, x));
8420
8420
  L && (ae(e.uid, { elementCount: p, queryConfig: C }), e.data = x), (h || b) && e.validateData(), Gt({
@@ -8422,7 +8422,7 @@ function Bx(t) {
8422
8422
  htmlContainer: e.htmlContainer,
8423
8423
  chartId: e.id,
8424
8424
  colorMatchApplied: Mn(e, o)
8425
- }), Ur({
8425
+ }), jr({
8426
8426
  chart: e,
8427
8427
  queryObject: s,
8428
8428
  chartConfig: o,
@@ -8440,7 +8440,7 @@ function Bx(t) {
8440
8440
  }), Hn(i.headerElements, {
8441
8441
  title: o.title,
8442
8442
  subtitle: o.subtitle
8443
- }), _n(i.footerElements, o.footer), Er({
8443
+ }), _n(i.footerElements, o.footer), zr({
8444
8444
  legendElements: i.legendElements,
8445
8445
  seriesConfig: o.series,
8446
8446
  webChartLegend: o.legend,
@@ -8464,7 +8464,7 @@ function Nx(t) {
8464
8464
  const { count: L, queryConfig: v } = n ?? {};
8465
8465
  b?.dataItems !== void 0 && (e.data = b.dataItems), ae(e.uid, { elementCount: L, queryConfig: v });
8466
8466
  }
8467
- a.axes !== void 0 && Yr({
8467
+ a.axes !== void 0 && Ur({
8468
8468
  chart: e,
8469
8469
  chartConfig: a,
8470
8470
  chartType: h,
@@ -8495,7 +8495,7 @@ function Px(t) {
8495
8495
  options: l,
8496
8496
  globalOptions: c
8497
8497
  } = t;
8498
- io.commercialLicense = !(c?.showLicenseWatermark ?? c?.hideLicenseWatermark === !1), io.queue = c?.queueChartCreation !== !1, io.autoDispose = c?.autoDisposeChart === !0, c?.animationEnabled ? og(yl) : ng(yl);
8498
+ io.commercialLicense = !(c?.showLicenseWatermark ?? c?.hideLicenseWatermark === !1), io.queue = c?.queueChartCreation !== !1, io.autoDispose = c?.autoDisposeChart === !0, c?.animationEnabled ? og(Sl) : ng(Sl);
8499
8499
  let d;
8500
8500
  switch (W(i?.series)) {
8501
8501
  case y.PieSeries:
@@ -8550,7 +8550,7 @@ function Vx(t) {
8550
8550
  globalOptions: c,
8551
8551
  dataInfo: d,
8552
8552
  uniqueInternalID: u
8553
- } = t, { errorStrings: f } = a, g = !uc(e), b = Px({
8553
+ } = t, { errorStrings: f } = a, g = !fc(e), b = Px({
8554
8554
  chartContainer: e,
8555
8555
  chartConfig: i,
8556
8556
  dataInfo: d,
@@ -8568,7 +8568,7 @@ function Vx(t) {
8568
8568
  options: n,
8569
8569
  colorMatchApplied: s,
8570
8570
  rendererFieldNames: r
8571
- }), Ix(p, f), Tx(p, e), lc(p);
8571
+ }), Ix(p, f), Tx(p, e), cc(p);
8572
8572
  function C() {
8573
8573
  u && cg.delete(u), p.isDisposed() || (Tb(p), S !== void 0 && (b.chartElements = void 0), p.dispose());
8574
8574
  }
@@ -8585,7 +8585,7 @@ function Vx(t) {
8585
8585
  pieSlicesSymbols: z,
8586
8586
  dataInfo: X
8587
8587
  } = k, U = D(p.uid, "config"), _ = I?.series, j = _ !== void 0 ? W(_) : void 0;
8588
- if (p.isDisposed() || S === void 0 || !bd(U, I))
8588
+ if (p.isDisposed() || S === void 0 || !yd(U, I))
8589
8589
  throw new gi(ao.ChartDisposed);
8590
8590
  switch (j) {
8591
8591
  case y.BoxPlotSeries:
@@ -8653,7 +8653,7 @@ function Vx(t) {
8653
8653
  dataInfo: j
8654
8654
  } = k;
8655
8655
  ae(p.uid, { renderingCompleteNotified: !1 });
8656
- const E = !uc(e), ee = Lt(_, R?.popupTemplateFieldInfosEnabled);
8656
+ const E = !fc(e), ee = Lt(_, R?.popupTemplateFieldInfosEnabled);
8657
8657
  ae(p.uid, {
8658
8658
  chartWasUpdatedWhileHidden: E,
8659
8659
  options: R,
@@ -8672,7 +8672,7 @@ function Vx(t) {
8672
8672
  hasSeriesFilteredOut: B,
8673
8673
  queryObject: _,
8674
8674
  dataInfo: j
8675
- }), lc(p);
8675
+ }), cc(p);
8676
8676
  }
8677
8677
  async function v(k, I) {
8678
8678
  if (Mt(p) && (p instanceof fe || p instanceof $e)) {
@@ -8750,7 +8750,7 @@ function Gx(t, e) {
8750
8750
  ga(t, e);
8751
8751
  }
8752
8752
  function Xx(t) {
8753
- const { chartSeries: e, oldSeries: i, newSeries: a } = t, o = xd(i, a);
8753
+ const { chartSeries: e, oldSeries: i, newSeries: a } = t, o = vd(i, a);
8754
8754
  for (let n = 0; n < o.length; n += 1) {
8755
8755
  const s = o[n][0], r = o[n][1], l = e.length;
8756
8756
  s >= 0 && s < l && r >= 0 && r < l && e.swap(o[n][0], o[n][1]);
@@ -8759,7 +8759,7 @@ function Xx(t) {
8759
8759
  function Yx(t) {
8760
8760
  return t.get("renderer") instanceof vi ? Re.yField : Re.xField;
8761
8761
  }
8762
- function qr(t) {
8762
+ function Zr(t) {
8763
8763
  return t != null && !t.isDisposed();
8764
8764
  }
8765
8765
  function Ux(t) {
@@ -8797,7 +8797,7 @@ function qx(t) {
8797
8797
  const { style: e, hasOutlineColor: i, outlineSameColorAsFill: a, outlineWidth: o, outlineOpacity: n } = t, s = e !== void 0 && e !== Ko.Cross && e !== Ko.X, r = (o ?? 0) <= 0 || !i || n === 0 || a;
8798
8798
  return s && r;
8799
8799
  }
8800
- function fc(t) {
8800
+ function mc(t) {
8801
8801
  let e = Number.NaN;
8802
8802
  if (typeof t == "number")
8803
8803
  e = t;
@@ -8907,7 +8907,7 @@ function rf(t, e) {
8907
8907
  return i == null ? i = { type: K.SLS, color: r } : i.color === void 0 && (i.color = r), sf(i, !1);
8908
8908
  }
8909
8909
  function ev(t, e, i) {
8910
- const { color: a, outline: o, style: n } = t, s = Q(a), r = vd(n);
8910
+ const { color: a, outline: o, style: n } = t, s = Q(a), r = Ld(n);
8911
8911
  let l;
8912
8912
  return i !== void 0 ? l = Q(i).color : r && (l = Q(F.backgroundColor).color), {
8913
8913
  pattern: Jx({ root: e, fill: s.color, style: n, chartBackgroundFill: l }),
@@ -8934,7 +8934,7 @@ function tv(t) {
8934
8934
  width: H.lineSeries.marker.markerSizeThresholdForTooltipDisplay - L
8935
8935
  // setting the outline width so marker + outline = threshold size
8936
8936
  }, p = x + 1), {
8937
- path: n !== void 0 ? ed(n, p) : "",
8937
+ path: n !== void 0 ? td(n, p) : "",
8938
8938
  fill: h.color,
8939
8939
  outline: rf(b, o),
8940
8940
  xOffset: l ?? 0,
@@ -8986,7 +8986,7 @@ function ov(t) {
8986
8986
  const l = a;
8987
8987
  return (Math.abs(e) === 270 || Math.abs(e) === 90) && (o || (r = void 0, s = void 0), l === De ? n = he : l === he ? n = De : l === de && (n = de)), { align: n, valign: s, horizontalCenter: r, verticalCenter: l };
8988
8988
  }
8989
- function Zr(t) {
8989
+ function Kr(t) {
8990
8990
  const {
8991
8991
  root: e,
8992
8992
  symbol: i,
@@ -8999,13 +8999,13 @@ function Zr(t) {
8999
8999
  } = t;
9000
9000
  let c;
9001
9001
  if (o === !0) {
9002
- const d = s ? Sr : So;
9002
+ const d = s ? Cr : So;
9003
9003
  if (i.color = i.color ?? ta({ colorIndex: n, opacity: d }), no(i) || Uo(i)) {
9004
9004
  const { outline: u } = i;
9005
9005
  u !== void 0 && (u.color = u?.color ?? ta({ colorIndex: n }), i.outline = { ...u });
9006
9006
  }
9007
9007
  }
9008
- return Jc(i) ? c = sf(i, !0) : Uo(i) ? (i.style ??= F.lineSeries.marker.markerStyle, i.size ??= F.lineSeries.marker.markerBigSize, c = tv({
9008
+ return ed(i) ? c = sf(i, !0) : Uo(i) ? (i.style ??= F.lineSeries.marker.markerStyle, i.size ??= F.lineSeries.marker.markerBigSize, c = tv({
9009
9009
  input: i,
9010
9010
  element: a,
9011
9011
  colorMatch: r
@@ -9071,7 +9071,7 @@ function ln(t, e) {
9071
9071
  function uf(t) {
9072
9072
  const { element: e, markerSymbol: i, visible: a, colorMatch: o, defaultToColorFromRamp: n, colorRampIndex: s } = t;
9073
9073
  let r;
9074
- return e !== void 0 && i !== void 0 && (r = Zr({
9074
+ return e !== void 0 && i !== void 0 && (r = Kr({
9075
9075
  symbol: i,
9076
9076
  element: e instanceof Rt ? e : void 0,
9077
9077
  defaultToColorFromRamp: n,
@@ -9099,10 +9099,10 @@ function Hi(t) {
9099
9099
  isChartFillSymbol: r,
9100
9100
  keepCurrentVisibility: l,
9101
9101
  chartBackgroundColor: c
9102
- } = t, d = vd(a?.style), u = jx(i), f = c ?? (d ? of(u) ?? [...F.backgroundColor] : void 0);
9102
+ } = t, d = Ld(a?.style), u = jx(i), f = c ?? (d ? of(u) ?? [...F.backgroundColor] : void 0);
9103
9103
  let g;
9104
9104
  if (i !== void 0 && !i.isDisposed()) {
9105
- if (a !== void 0 && (g = Zr({
9105
+ if (a !== void 0 && (g = Kr({
9106
9106
  root: e,
9107
9107
  symbol: a,
9108
9108
  defaultToColorFromRamp: n,
@@ -9126,7 +9126,7 @@ function Hi(t) {
9126
9126
  function Kt(t) {
9127
9127
  const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
9128
9128
  let s;
9129
- return e !== void 0 && !e.isDisposed() && (i !== void 0 && (s = Zr({
9129
+ return e !== void 0 && !e.isDisposed() && (i !== void 0 && (s = Kr({
9130
9130
  symbol: i,
9131
9131
  defaultToColorFromRamp: o,
9132
9132
  colorRampIndex: n
@@ -9145,7 +9145,7 @@ function xt(t) {
9145
9145
  visible: c
9146
9146
  } = t;
9147
9147
  let d, u;
9148
- s && r !== void 0 && (d = td({
9148
+ s && r !== void 0 && (d = id({
9149
9149
  rendererSymbol: r,
9150
9150
  seriesSymbol: o,
9151
9151
  colorIndex: a
@@ -9182,7 +9182,7 @@ function xt(t) {
9182
9182
  }
9183
9183
  return { symbolWithColorInfo: g, stylingInfo: u };
9184
9184
  }
9185
- function mc(t, e) {
9185
+ function gc(t, e) {
9186
9186
  if (e !== void 0) {
9187
9187
  const { elementColor: i, elementOutlineColor: a, elementOutlineWidth: o, rotation: n, transformation: s } = e, { opacity: r, scale: l } = s ?? {};
9188
9188
  i !== void 0 && t.setAll({ fill: Q(i).color, fillOpacity: 1 }), a !== void 0 && t.setAll({ stroke: Q(a).color, strokeOpacity: 1 }), o !== void 0 && t.setAll({ strokeWidth: o }), n !== void 0 && t.setAll({ rotation: n }), l !== void 0 && t.setAll({ scale: l }), r !== void 0 && t.setAll({ fillOpacity: r, strokeOpacity: r });
@@ -9194,7 +9194,7 @@ function To(t) {
9194
9194
  }
9195
9195
  function ff(t) {
9196
9196
  let e = !1, i;
9197
- if (t.target.dataItem?.component instanceof Oa ? { chart: i } = t.target.dataItem.component : t.target.dataItem?.component instanceof Ee ? i = t.target.dataItem.component.chart : (t.target instanceof Wd || t.target instanceof Ar) && ({ chart: i } = t.target), i instanceof pe || i instanceof Qt) {
9197
+ if (t.target.dataItem?.component instanceof Oa ? { chart: i } = t.target.dataItem.component : t.target.dataItem?.component instanceof Ee ? i = t.target.dataItem.component.chart : (t.target instanceof Wd || t.target instanceof Tr) && ({ chart: i } = t.target), i instanceof pe || i instanceof Qt) {
9198
9198
  const a = O(i.uid, "actionMode");
9199
9199
  if (a !== void 0) {
9200
9200
  const { originalEvent: o } = t;
@@ -9223,15 +9223,15 @@ function mf(t, e) {
9223
9223
  }
9224
9224
  function He(t, e) {
9225
9225
  const { selectedElementsTheme: i, nonSelectedElementsTheme: a } = e ?? F.selectionTheme ?? {}, o = t.states.create(ct.CustomActive, {}), n = t.states.create(ct.CustomInactive, {});
9226
- mc(o, i), mc(n, a);
9226
+ gc(o, i), gc(n, a);
9227
9227
  }
9228
9228
  function rv(t) {
9229
9229
  let e = "";
9230
- return t instanceof kr ? e = t.get("categoryXField") ?? t.get("valueXField") ?? "" : t instanceof Je && (e = t.get("categoryField") ?? ""), e;
9230
+ return t instanceof Ir ? e = t.get("categoryXField") ?? t.get("valueXField") ?? "" : t instanceof Je && (e = t.get("categoryField") ?? ""), e;
9231
9231
  }
9232
9232
  function lv(t) {
9233
9233
  let e = "";
9234
- return t instanceof kr ? e = t.get("categoryYField") ?? t.get("valueYField") ?? "" : t instanceof Je && (e = t.get("categoryField") ?? ""), e;
9234
+ return t instanceof Ir ? e = t.get("categoryYField") ?? t.get("valueYField") ?? "" : t instanceof Je && (e = t.get("categoryField") ?? ""), e;
9235
9235
  }
9236
9236
  function pa(t) {
9237
9237
  let e = "";
@@ -9337,7 +9337,7 @@ function Ba(t) {
9337
9337
  });
9338
9338
  return n !== void 0 && s.set("id", n), bf(s, a), i !== void 0 && i.children.insertIndex(o ?? i.children.length, s), s;
9339
9339
  }
9340
- function gc(t) {
9340
+ function hc(t) {
9341
9341
  const { label: e, offset: i, offsetProperty: a } = t;
9342
9342
  e.adapters.remove(a), (e instanceof st ? [e] : e.entities).forEach((n) => {
9343
9343
  if (typeof i == "string" && !Number.isFinite(Number(i))) {
@@ -9365,11 +9365,11 @@ function Dt(t) {
9365
9365
  oversizedBehavior: d.wrap,
9366
9366
  maxWidth: d.maxWidth
9367
9367
  // TODO: double check whether issue #6942 happens here too
9368
- }), o || e.setAll({ text: d.text }), n || (gc({
9368
+ }), o || e.setAll({ text: d.text }), n || (hc({
9369
9369
  label: e,
9370
9370
  offset: d.xOffset,
9371
9371
  offsetProperty: "dx"
9372
- }), gc({
9372
+ }), hc({
9373
9373
  label: e,
9374
9374
  offset: d.yOffset,
9375
9375
  offsetProperty: "dy"
@@ -9413,7 +9413,7 @@ function di(t) {
9413
9413
  if (Fa(i.uid, { textTruncationCharsPerLine: d }), We(i.uid, "textTruncationAdapterDisposer") === void 0) {
9414
9414
  const u = i.adapters.add(
9415
9415
  "text",
9416
- (f) => Qc({
9416
+ (f) => Jc({
9417
9417
  input: f ?? "",
9418
9418
  charsPerLine: We(i.uid, "textTruncationCharsPerLine") ?? d
9419
9419
  })
@@ -9691,8 +9691,8 @@ function cn(t) {
9691
9691
  if (t.isDisposed())
9692
9692
  t.root.events.off(oe.FrameEnded, () => cn(t));
9693
9693
  else {
9694
- const e = O(t.uid, "config"), i = Ld(e) && Qe(e) && vf(e) && t.series.length > 0, a = i ? xf(t) : 0;
9695
- (!i || a > 0) && (t.root.events.off(oe.FrameEnded, () => cn(t)), Qr(t));
9694
+ const e = O(t.uid, "config"), i = Fd(e) && Qe(e) && vf(e) && t.series.length > 0, a = i ? xf(t) : 0;
9695
+ (!i || a > 0) && (t.root.events.off(oe.FrameEnded, () => cn(t)), Jr(t));
9696
9696
  }
9697
9697
  }
9698
9698
  function Sv(t) {
@@ -9837,7 +9837,7 @@ function Fv(t) {
9837
9837
  return d;
9838
9838
  });
9839
9839
  }
9840
- function Kr(t, e = 1) {
9840
+ function Qr(t, e = 1) {
9841
9841
  t.bullets.removeIndex(e);
9842
9842
  }
9843
9843
  function Cf(t) {
@@ -9986,7 +9986,7 @@ function kv(t) {
9986
9986
  }
9987
9987
  });
9988
9988
  }
9989
- function hc(t) {
9989
+ function pc(t) {
9990
9990
  let e = 0;
9991
9991
  if (t instanceof st) {
9992
9992
  const i = t.width();
@@ -9999,12 +9999,12 @@ function xf(t) {
9999
9999
  return t.series.values.forEach((i) => {
10000
10000
  const a = i.bulletsContainer;
10001
10001
  a && a.children.values.forEach((o) => {
10002
- e = Math.max(e, hc(o));
10002
+ e = Math.max(e, pc(o));
10003
10003
  }), e === 0 && i.dataItems.forEach((o) => {
10004
10004
  const n = o.bullets;
10005
10005
  if (n)
10006
10006
  for (const s of n)
10007
- e = Math.max(e, hc(s.get("sprite")));
10007
+ e = Math.max(e, pc(s.get("sprite")));
10008
10008
  });
10009
10009
  }), Math.ceil(e);
10010
10010
  }
@@ -10012,9 +10012,9 @@ function vf(t) {
10012
10012
  const e = W(t?.series), i = rt(t);
10013
10013
  return e === y.LineSeries || e === y.ComboLineAndBarSeries || e === y.BarSeries && i === te.Side;
10014
10014
  }
10015
- function Qr(t, e) {
10015
+ function Jr(t, e) {
10016
10016
  if (t instanceof pe) {
10017
- const i = O(t.uid, "config"), a = Qe(i), o = Ld(i);
10017
+ const i = O(t.uid, "config"), a = Qe(i), o = Fd(i);
10018
10018
  e && ht(t.uid, { dataLabelsPaddingHorizontal: 0, dataLabelsPaddingTop: 0 });
10019
10019
  const n = O(t.uid, "dataLabelsPaddingHorizontal") ?? 0, s = O(t.uid, "dataLabelsPaddingTop") ?? 0;
10020
10020
  let r = 0, l = 0, c = !0;
@@ -10032,7 +10032,7 @@ function Qr(t, e) {
10032
10032
  }
10033
10033
  function Iv(t) {
10034
10034
  t !== void 0 && ci(() => {
10035
- Qr(t);
10035
+ Jr(t);
10036
10036
  });
10037
10037
  }
10038
10038
  function Lf(t) {
@@ -10063,7 +10063,7 @@ function Lf(t) {
10063
10063
  }
10064
10064
  function Ff(t) {
10065
10065
  const { series: e, dataLabelsConfig: i } = t, a = i && i?.visible !== !1, o = e.bullets.hasIndex(1);
10066
- a ? (o || Fv(t), kv(t)) : o && Kr(e), Iv(e.chart ?? void 0);
10066
+ a ? (o || Fv(t), kv(t)) : o && Qr(e), Iv(e.chart ?? void 0);
10067
10067
  }
10068
10068
  function Rv(t) {
10069
10069
  const { series: e, labelDefaults: i, externalDataLabelFormatter: a, seriesType: o } = t;
@@ -10135,7 +10135,7 @@ function Ov(t) {
10135
10135
  }
10136
10136
  function Tf(t) {
10137
10137
  const { series: e, dataLabelsConfig: i } = t, a = i && i?.visible !== !1, o = e.bullets.hasIndex(0);
10138
- a ? (o || Rv(t), Ov(t)) : o && Kr(e, 0);
10138
+ a ? (o || Rv(t), Ov(t)) : o && Qr(e, 0);
10139
10139
  }
10140
10140
  function kf(t) {
10141
10141
  const { axesConfig: e, currentSeries: i, tooltipValueFormat: a } = t, { root: o, chart: n } = i;
@@ -10176,7 +10176,7 @@ function If(t, e) {
10176
10176
  (o, n) => Io({ element: n, series: t, isHTML: e !== void 0 })
10177
10177
  );
10178
10178
  }
10179
- function Jr(t) {
10179
+ function el(t) {
10180
10180
  const {
10181
10181
  pieChart: e,
10182
10182
  valueIntlOptions: i,
@@ -10226,7 +10226,7 @@ function Dv(t, e) {
10226
10226
  let S = "";
10227
10227
  const { chart: C } = t;
10228
10228
  if (C) {
10229
- const L = Jr({
10229
+ const L = el({
10230
10230
  pieChart: C,
10231
10231
  valueIntlOptions: (n ?? a)?.intlOptions,
10232
10232
  percentageIntlOptions: (s ?? o)?.intlOptions,
@@ -10318,7 +10318,7 @@ function Nv(t) {
10318
10318
  }).format(s)) : d = f.series[0].emptyCells?.text ?? F.heatChart.emptyCells?.text ?? "";
10319
10319
  const g = $t(u ?? !1), h = i.query?.outStatistics?.[0].onStatisticField, b = it(n);
10320
10320
  let p = a.statistics.count;
10321
- h !== sa(b).idField && (p = Nr({
10321
+ h !== sa(b).idField && (p = Pr({
10322
10322
  config: f,
10323
10323
  fieldName: Me(o, i.query?.outStatistics?.[0].onStatisticField ?? ""),
10324
10324
  utilsStrings: a
@@ -10326,7 +10326,7 @@ function Nv(t) {
10326
10326
  const S = O(e.chart?.uid ?? 0, "formatLocale");
10327
10327
  let C = { label: i.x, value: r }, x = { label: i.y, value: l };
10328
10328
  if (i.xTemporalBinning !== void 0) {
10329
- const { label: L, value: v } = Dl({
10329
+ const { label: L, value: v } = $l({
10330
10330
  value: Number(r),
10331
10331
  config: f,
10332
10332
  formatLocale: S,
@@ -10336,7 +10336,7 @@ function Nv(t) {
10336
10336
  !Ae(L) && !Ae(v) && (C = { label: L, value: v });
10337
10337
  }
10338
10338
  if (i.yTemporalBinning !== void 0) {
10339
- const { label: L, value: v } = Dl({
10339
+ const { label: L, value: v } = $l({
10340
10340
  value: Number(l),
10341
10341
  config: f,
10342
10342
  formatLocale: S,
@@ -10465,7 +10465,7 @@ function zv(t) {
10465
10465
  scatterplotTooltipFormatter: o ?? Wv(t)
10466
10466
  });
10467
10467
  }
10468
- function pc(t, e) {
10468
+ function bc(t, e) {
10469
10469
  if (e !== void 0) {
10470
10470
  const i = nf(e);
10471
10471
  i !== void 0 && t.label.setAll({
@@ -10502,13 +10502,13 @@ function Df(t, e) {
10502
10502
  } else // reverting to original colors if the current background fill matches the reversed color
10503
10503
  // so we need to disable the fillOpacity adapter to use the original fill color
10504
10504
  o.toCSSHex() === Q(i?.color).color.toCSSHex() && t.get("background")?.adapters.disable("fillOpacity");
10505
- pc(t, t.get("background")?.get("fill")?.toCSS());
10505
+ bc(t, t.get("background")?.get("fill")?.toCSS());
10506
10506
  }
10507
10507
  } else
10508
10508
  t.setAll({ getStrokeFromSprite: !0, getFillFromSprite: !0 }), t.get("background")?.adapters.enable("fillOpacity"), t.get("background")?.setAll({
10509
10509
  strokeWidth: a?.outline?.width ?? Number.NaN,
10510
10510
  stroke: Q(a?.outline?.color).color
10511
- }), pc(t, t.get("background")?.get("fill")?.toCSS());
10511
+ }), bc(t, t.get("background")?.get("fill")?.toCSS());
10512
10512
  }
10513
10513
  function Hv(t) {
10514
10514
  t.get("background")?.adapters.add("fillOpacity", (e, i) => {
@@ -10520,7 +10520,7 @@ function Hv(t) {
10520
10520
  return a;
10521
10521
  });
10522
10522
  }
10523
- function bc(t, e) {
10523
+ function yc(t, e) {
10524
10524
  const i = O(e.chart?.uid ?? Number.NaN, "config"), { seriesConfig: a } = i ? qa(e, i) : { seriesConfig: void 0 }, o = a?.dataTooltipFontSize ?? F.tooltipFontSize;
10525
10525
  t.label.get("fontSize") !== o && t.label.set("fontSize", o);
10526
10526
  }
@@ -10529,7 +10529,7 @@ function ko(t) {
10529
10529
  return a.label.setAll({
10530
10530
  oversizedBehavior: "wrap",
10531
10531
  maxWidth: F.tooltipWidth
10532
- }), a.adapters.add("visible", (o, n) => (o && (bc(n, t), Gv(n, t)), o)), Hv(a), _v(a, i), bc(a, t), _e(t.uid, { tooltipTemplate: a }), a;
10532
+ }), a.adapters.add("visible", (o, n) => (o && (yc(n, t), Gv(n, t)), o)), Hv(a), _v(a, i), yc(a, t), _e(t.uid, { tooltipTemplate: a }), a;
10533
10533
  }
10534
10534
  function Yn(t) {
10535
10535
  const { series: e, element: i, tooltipFormatter: a } = t;
@@ -10593,7 +10593,7 @@ function Xv(t) {
10593
10593
  }
10594
10594
  }
10595
10595
  }
10596
- function yc(t, e) {
10596
+ function Sc(t, e) {
10597
10597
  if (t instanceof Gi)
10598
10598
  t.set("forceHidden", e);
10599
10599
  else {
@@ -10608,9 +10608,9 @@ function Io(t) {
10608
10608
  if (n !== void 0) {
10609
10609
  const r = O(n.uid, "config"), { seriesConfig: l } = qa(i, r), { dataTooltipVisible: c } = l ?? {};
10610
10610
  if (c === !1 || !l || !Ux(i))
10611
- o = "", yc(e, !0);
10611
+ o = "", Sc(e, !0);
10612
10612
  else
10613
- switch (yc(e, !1), l.type) {
10613
+ switch (Sc(e, !1), l.type) {
10614
10614
  case y.ScatterSeries:
10615
10615
  i instanceof ne && (o = Ev({
10616
10616
  seriesConfig: l,
@@ -10727,7 +10727,7 @@ function jv(t) {
10727
10727
  dataTooltipPercentFormat: r
10728
10728
  } = t, l = i.chart?.uid ?? 0, { root: c } = i;
10729
10729
  let d = s;
10730
- d === void 0 && (Oe(n) && n ? (d = n, e && (d.intlOptions.style = "decimal")) : d = Cr());
10730
+ d === void 0 && (Oe(n) && n ? (d = n, e && (d.intlOptions.style = "decimal")) : d = xr());
10731
10731
  const u = O(l, "formatLocale"), f = a !== void 0 ? Na({
10732
10732
  root: c,
10733
10733
  value: a,
@@ -10786,7 +10786,7 @@ function qv(t) {
10786
10786
  switch (L) {
10787
10787
  case V.BarAndLineFromFields: {
10788
10788
  ee.pop();
10789
- const ve = Nr({
10789
+ const ve = Pr({
10790
10790
  config: g,
10791
10791
  fieldName: Me(i, _ ?? ""),
10792
10792
  utilsStrings: e
@@ -10802,7 +10802,7 @@ function qv(t) {
10802
10802
  case V.BarAndLineSplitByNoAggregation:
10803
10803
  case V.BarAndLineSplitBy:
10804
10804
  {
10805
- const ve = Jt(n.query?.where, !1), Le = Id({
10805
+ const ve = Jt(n.query?.where, !1), Le = Rd({
10806
10806
  value: Me(i, ve),
10807
10807
  escape: !0
10808
10808
  });
@@ -10818,7 +10818,7 @@ function qv(t) {
10818
10818
  }
10819
10819
  return f;
10820
10820
  }
10821
- function el(t) {
10821
+ function tl(t) {
10822
10822
  const { series: e, tooltipFormatter: i } = t;
10823
10823
  _e(e.uid, {
10824
10824
  barAndLineTooltipFormatter: i ?? qv(t)
@@ -11246,7 +11246,7 @@ function cL(t) {
11246
11246
  if (s !== void 0)
11247
11247
  if (o !== void 0) {
11248
11248
  const { scaleType: r, field: l, minSize: c, maxSize: d } = o, u = hh(), f = e.markerSymbol?.size ?? Bd().size ?? 1, g = (c ?? u.minSize) / f, h = (d ?? u.maxSize) / f;
11249
- n !== void 0 ? a && (n.min = g, n.max = h, n.logarithmic = r === Cl.Logarithmic, i.set("valueField", l), i.markDirtySize()) : i.setAll({
11249
+ n !== void 0 ? a && (n.min = g, n.max = h, n.logarithmic = r === xl.Logarithmic, i.set("valueField", l), i.markDirtySize()) : i.setAll({
11250
11250
  valueField: l,
11251
11251
  calculateAggregates: !0,
11252
11252
  heatRules: [
@@ -11257,7 +11257,7 @@ function cL(t) {
11257
11257
  max: h,
11258
11258
  dataField: "value",
11259
11259
  // this is a static value to be kept in sync with the series.valueField from the creation step
11260
- logarithmic: r === Cl.Logarithmic
11260
+ logarithmic: r === xl.Logarithmic
11261
11261
  }
11262
11262
  ]
11263
11263
  });
@@ -11488,7 +11488,7 @@ function ji(t) {
11488
11488
  const { chart: e, selectionSource: i } = t;
11489
11489
  ht(e.uid, {
11490
11490
  pendingSelectionQueries: !1
11491
- }), qr(e) && yL(e), O(e.uid, "options")?.selectionData?.selectionItems?.[0] && Ha({
11491
+ }), Zr(e) && yL(e), O(e.uid, "options")?.selectionData?.selectionItems?.[0] && Ha({
11492
11492
  data: {
11493
11493
  selectionSource: i ?? ge.ClearSelection
11494
11494
  },
@@ -11496,9 +11496,9 @@ function ji(t) {
11496
11496
  });
11497
11497
  }
11498
11498
  function SL(t) {
11499
- rd(), ld(t.root.dom), ji({ chart: t });
11499
+ ld(), cd(t.root.dom), ji({ chart: t });
11500
11500
  }
11501
- function tl(t) {
11501
+ function il(t) {
11502
11502
  let e = [];
11503
11503
  if (To(t))
11504
11504
  switch (!0) {
@@ -11541,7 +11541,7 @@ function CL(t) {
11541
11541
  if (s && i && To(u) && u.get("visible") === !0) {
11542
11542
  const g = s.series[0].x, h = pa(u), b = i.get(f);
11543
11543
  if (b !== void 0) {
11544
- const p = tl(u);
11544
+ const p = il(u);
11545
11545
  if (p !== void 0) {
11546
11546
  const { indexesToSelect: S } = b;
11547
11547
  p.forEach((C, x) => {
@@ -11586,7 +11586,7 @@ function xL(t) {
11586
11586
  const { seriesConfig: u } = qa(d, i);
11587
11587
  if (u) {
11588
11588
  const f = u.query?.where ?? "", g = u.x, h = u.type === y.BoxPlotSeries || u.type === y.HeatSeries ? u.y.toString() : pa(d);
11589
- tl(d).forEach((p) => {
11589
+ il(d).forEach((p) => {
11590
11590
  p !== void 0 && we({
11591
11591
  element: p,
11592
11592
  selected: Yt(p.uid, "selected") === !0 || c({ element: p, xAxisField: g, yAxisField: h, splitBy: f }),
@@ -11605,7 +11605,7 @@ function vL(t) {
11605
11605
  if (To(b)) {
11606
11606
  const { seriesConfig: S } = qa(b, i);
11607
11607
  if (S) {
11608
- const C = [], x = S.query?.where ?? "", L = S.x, v = S.type === y.BoxPlotSeries || S.type === y.HeatSeries ? S.y.toString() : pa(b), T = tl(b);
11608
+ const C = [], x = S.query?.where ?? "", L = S.x, v = S.type === y.BoxPlotSeries || S.type === y.HeatSeries ? S.y.toString() : pa(b), T = il(b);
11609
11609
  T.forEach((I, R) => {
11610
11610
  if (I !== void 0) {
11611
11611
  let w = I.dataItem?.dataContext;
@@ -11641,7 +11641,7 @@ function vL(t) {
11641
11641
  groupOfSlicesDataContext: w
11642
11642
  }) ?? []).forEach((P) => {
11643
11643
  o.forEach((Y) => {
11644
- Dr({
11644
+ $r({
11645
11645
  layerOidField: n,
11646
11646
  sliceDataContext: P,
11647
11647
  selectionDataContext: Y,
@@ -11763,10 +11763,10 @@ async function Ro(t) {
11763
11763
  const { seriesConfig: P } = qa($, n), Y = P?.query?.where ?? "", z = P?.type === y.BoxPlotSeries ? P.y.toString() : pa($);
11764
11764
  let X;
11765
11765
  $ instanceof ne ? X = $.dataItems : $ instanceof xe ? X = $.columns.values : $ instanceof Je && (X = $.slices.values), X?.forEach((U, _) => {
11766
- const j = U instanceof vs || U instanceof wl ? U : U.bullets?.[0]?.get("sprite");
11766
+ const j = U instanceof vs || U instanceof Ol ? U : U.bullets?.[0]?.get("sprite");
11767
11767
  if (j !== void 0 && Yt(j.uid, "selected") === !0) {
11768
11768
  M += 1;
11769
- let E = U instanceof vs || U instanceof wl ? U.dataItem?.dataContext : U.dataContext;
11769
+ let E = U instanceof vs || U instanceof Ol ? U.dataItem?.dataContext : U.dataContext;
11770
11770
  if (!s && E !== void 0 && (E = Fi({
11771
11771
  dataContext: E,
11772
11772
  yAxisField: z,
@@ -11787,7 +11787,7 @@ async function Ro(t) {
11787
11787
  if (S && E[S] !== void 0 && (typeof E[S] == "number" || typeof E[S] == "string"))
11788
11788
  w.push(E[S]);
11789
11789
  else {
11790
- const ee = rr(Y) ? pi.uniqueIds : `${pi.uniqueIds}_${l === y.BoxPlotSeries ? Ai({ where: Y }) : z}`, ve = E[ee] ?? E[pi.uniqueIds] ?? [], Le = cd({
11790
+ const ee = rr(Y) ? pi.uniqueIds : `${pi.uniqueIds}_${l === y.BoxPlotSeries ? Ai({ where: Y }) : z}`, ve = E[ee] ?? E[pi.uniqueIds] ?? [], Le = dd({
11791
11791
  dataContext: E,
11792
11792
  options: r,
11793
11793
  xAxisField: f,
@@ -11814,7 +11814,7 @@ async function Ro(t) {
11814
11814
  if (!s && r?.returnSelectionOIDs !== !1 && I.length > 0) {
11815
11815
  const P = { ...O(e.uid, "queryConfig") };
11816
11816
  delete P.groupByFieldsForStatistics, delete P.orderByFields, delete P.outStatistics;
11817
- const Y = await dd({
11817
+ const Y = await ud({
11818
11818
  whereList: I,
11819
11819
  queryObject: a,
11820
11820
  queryConfig: P,
@@ -11863,15 +11863,15 @@ function Pf(t) {
11863
11863
  const e = O(t, "actionMode");
11864
11864
  return e !== J.None && e !== J.Zoom;
11865
11865
  }
11866
- function il(t) {
11866
+ function al(t) {
11867
11867
  const e = O(t, "filterBySelection");
11868
11868
  return Pf(t) && e !== !0;
11869
11869
  }
11870
- async function Sc(t) {
11870
+ async function Cc(t) {
11871
11871
  const { event: e, series: i, queryObject: a, errorStrings: o } = t, { chart: n } = i;
11872
11872
  if (n) {
11873
11873
  const s = n instanceof pe ? n.get("cursor") : void 0;
11874
- if (!Nf(s) && il(n.uid)) {
11874
+ if (!Nf(s) && al(n.uid)) {
11875
11875
  const r = e.target, l = mf(e, i);
11876
11876
  r.dataItem?.dataContext?.[Co] ? ji({ chart: n, selectionSource: ge.SelectionByClick }) : (we({
11877
11877
  element: r,
@@ -11898,14 +11898,14 @@ async function Sc(t) {
11898
11898
  function ti(t) {
11899
11899
  const { element: e, series: i, queryObject: a, errorStrings: o } = t;
11900
11900
  e.events.on(oe.PointerUp, async (n) => {
11901
- await Sc({ event: n, series: i, queryObject: a, errorStrings: o });
11901
+ await Cc({ event: n, series: i, queryObject: a, errorStrings: o });
11902
11902
  }), e.events.on(oe.Click, async (n) => {
11903
- n.simulated && await Sc({ event: n, series: i, queryObject: a, errorStrings: o });
11903
+ n.simulated && await Cc({ event: n, series: i, queryObject: a, errorStrings: o });
11904
11904
  });
11905
11905
  }
11906
- function Cc(t, e) {
11906
+ function xc(t, e) {
11907
11907
  let i = Number.NaN, a = Number.NaN;
11908
- if (t instanceof Ar) {
11908
+ if (t instanceof Tr) {
11909
11909
  const o = e.get("renderer") instanceof ei, n = t.getPrivate(o ? "downPositionX" : "downPositionY"), s = t.getPrivate(o ? "positionX" : "positionY");
11910
11910
  if (n !== void 0 && s !== void 0)
11911
11911
  if (e instanceof Ee)
@@ -11978,7 +11978,7 @@ function IL(t) {
11978
11978
  });
11979
11979
  }
11980
11980
  function RL(t) {
11981
- const { cursor: e, xAxis: i, yAxis: a } = t, o = e.get("behavior"), { value1: n, value2: s } = Cc(e, i), { value1: r, value2: l } = Cc(e, a), c = {
11981
+ const { cursor: e, xAxis: i, yAxis: a } = t, o = e.get("behavior"), { value1: n, value2: s } = xc(e, i), { value1: r, value2: l } = xc(e, a), c = {
11982
11982
  left: n > s ? s : n,
11983
11983
  right: n > s ? n : s,
11984
11984
  top: r < l ? r : l,
@@ -12049,7 +12049,7 @@ function Vf(t) {
12049
12049
  let e;
12050
12050
  return t && t.series.length > 0 && (e = t.series.values.map((i) => i.get("visible") !== !1 ? `${i.get("id")}` : "").filter((i) => i !== "")), e;
12051
12051
  }
12052
- function al(t) {
12052
+ function ol(t) {
12053
12053
  const { series: e, chartConfig: i, isRotated: a } = t, o = rt(i), n = i.series[0], s = e.chart?.xAxes.getIndex(0), r = e.chart?.yAxes.getIndex(0), l = a && (o === te.Stacked || o === te.Stacked100) ? r : s;
12054
12054
  switch (o) {
12055
12055
  case te.Stacked: {
@@ -12154,7 +12154,7 @@ function $L(t) {
12154
12154
  }
12155
12155
  return r;
12156
12156
  }
12157
- function ol(t) {
12157
+ function nl(t) {
12158
12158
  const { chartConfig: e, series: i, seriesIndex: a, queryObject: o } = t, n = e.series[a];
12159
12159
  if (n) {
12160
12160
  const s = Z(e.series);
@@ -12174,12 +12174,12 @@ function qa(t, e) {
12174
12174
  i !== y.BoxPlotSeries || t instanceof Ii ? r = t.get("id") === n.id : t instanceof la ? r = t.get("id")?.replace(`_${me.Top}`, "") === n.id || t.get("id")?.replace(`_${me.Median}`, "") === n.id || t.get("id")?.replace(`_${me.Bottom}`, "") === n.id : t instanceof ne && (r = t.get("id")?.replace(`_${me.Outliers}`, "") === n.id), r && (a = n, o = s);
12175
12175
  }), { seriesConfig: a, seriesIndex: o };
12176
12176
  }
12177
- function xc(t, e) {
12177
+ function vc(t, e) {
12178
12178
  const i = e === "x" ? t.x() : t.y();
12179
12179
  return typeof i == "number" ? i : void 0;
12180
12180
  }
12181
12181
  function ML(t, e) {
12182
- const i = xc(t, "x"), a = xc(t, "y"), o = e.plotContainer.width(), n = e.plotContainer.height();
12182
+ const i = vc(t, "x"), a = vc(t, "y"), o = e.plotContainer.width(), n = e.plotContainer.height();
12183
12183
  let s = !1;
12184
12184
  return typeof i == "number" && o > 0 && (i < 0 || i > o) && (s = !0), !s && typeof a == "number" && n > 0 && (a < 0 || a > n) && (s = !0), s;
12185
12185
  }
@@ -12292,7 +12292,7 @@ function EL(t) {
12292
12292
  s = Me(g, s);
12293
12293
  }
12294
12294
  const { characterLimit: f } = i;
12295
- r = s?.toString() ?? "", !Ae(r) && r !== F.htmlEmptyContent && (r = Fd({ stringToTruncate: r, characterLimit: f }));
12295
+ r = s?.toString() ?? "", !Ae(r) && r !== F.htmlEmptyContent && (r = Ad({ stringToTruncate: r, characterLimit: f }));
12296
12296
  }
12297
12297
  return r.toString();
12298
12298
  };
@@ -12340,7 +12340,7 @@ function zL(t) {
12340
12340
  }).format(r, a.intlOptions);
12341
12341
  else if (a.type === y.CategoryAxisFormat && (r = s?.toString() ?? "", !Ae(r) && r !== F.htmlEmptyContent)) {
12342
12342
  const { characterLimit: u } = a;
12343
- r = Fd({ stringToTruncate: r, characterLimit: u });
12343
+ r = Ad({ stringToTruncate: r, characterLimit: u });
12344
12344
  }
12345
12345
  }
12346
12346
  }
@@ -12375,7 +12375,7 @@ function HL(t) {
12375
12375
  Object.keys(d).length > 0 && e.set("dateFormats", d), Object.keys(u).length > 0 && e.set("periodChangeDateFormats", u);
12376
12376
  }
12377
12377
  }
12378
- function vc(t) {
12378
+ function Lc(t) {
12379
12379
  const { axis: e, valueFormat: i, chartType: a } = t, o = Ea({
12380
12380
  isXAxis: !0,
12381
12381
  chartType: a,
@@ -12390,7 +12390,7 @@ function Hf(t) {
12390
12390
  if (l === V.BarAndLineFromFields && typeof o == "string") {
12391
12391
  const d = O(a, "fieldList");
12392
12392
  o = Me(d, o);
12393
- } else r === y.BoxPlotSeries && (l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy) ? o = e?.[xr] : r === y.HistogramSeries ? o = e?.[ro.Start] : (r === y.BarSeries || r === y.LineSeries || r === y.RadarSeries || r === y.ComboLineAndBarSeries) && n !== void 0 ? o = oi({
12393
+ } else r === y.BoxPlotSeries && (l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy) ? o = e?.[vr] : r === y.HistogramSeries ? o = e?.[ro.Start] : (r === y.BarSeries || r === y.LineSeries || r === y.RadarSeries || r === y.ComboLineAndBarSeries) && n !== void 0 ? o = oi({
12394
12394
  value: Tn(l, n?.series?.[0]),
12395
12395
  dataContext: e,
12396
12396
  useRendererLabel: ka(n, s),
@@ -12511,11 +12511,11 @@ function YL(t) {
12511
12511
  rotationChanged: o,
12512
12512
  axisLabelsBehaviorChanged: n,
12513
12513
  timeIntervalInfoWasReset: s
12514
- } = t, r = W(a), l = Qe(t.chartConfig), c = l ? 1 : 0, d = l ? 0 : 1, u = i?.[c]?.valueFormat, f = i?.[d]?.valueFormat, g = e.xAxes.getIndex(0), h = e.yAxes.getIndex(0), b = g === void 0 || o || u !== void 0 && vc({
12514
+ } = t, r = W(a), l = Qe(t.chartConfig), c = l ? 1 : 0, d = l ? 0 : 1, u = i?.[c]?.valueFormat, f = i?.[d]?.valueFormat, g = e.xAxes.getIndex(0), h = e.yAxes.getIndex(0), b = g === void 0 || o || u !== void 0 && Lc({
12515
12515
  axis: g,
12516
12516
  valueFormat: u,
12517
12517
  chartType: r
12518
- }), p = h === void 0 || o || f !== void 0 && vc({ axis: h, valueFormat: f, chartType: r });
12518
+ }), p = h === void 0 || o || f !== void 0 && Lc({ axis: h, valueFormat: f, chartType: r });
12519
12519
  return s || n?.[0] || n?.[1] || b || p;
12520
12520
  }
12521
12521
  function qi(t, e) {
@@ -12544,7 +12544,7 @@ function jL(t) {
12544
12544
  }
12545
12545
  function qL(t, e) {
12546
12546
  if (t instanceof ye) {
12547
- const { integerOnlyValues: i, valueFormat: a } = e, o = md(a) ? a.intlOptions.maximumFractionDigits : void 0;
12547
+ const { integerOnlyValues: i, valueFormat: a } = e, o = gd(a) ? a.intlOptions.maximumFractionDigits : void 0;
12548
12548
  t.set("maxPrecision", i === !0 || o === 0 ? 0 : Number.NaN);
12549
12549
  }
12550
12550
  }
@@ -12619,7 +12619,7 @@ function Ws(t, e) {
12619
12619
  }
12620
12620
  return i;
12621
12621
  }
12622
- function Lc(t) {
12622
+ function Fc(t) {
12623
12623
  let e = F.treatZeroValueAs;
12624
12624
  return Number.isFinite(t) && t > 0 && t < e && (e = Ws(t, !1)), e;
12625
12625
  }
@@ -12656,7 +12656,7 @@ function i0(t) {
12656
12656
  const c = O(e.chart?.uid ?? Number.NaN, "config"), d = e.chart?.series.getIndex(0)?.data.values;
12657
12657
  if (c && d) {
12658
12658
  const u = Vf(e.chart), f = hr({ chartConfig: c, isSecondaryYAxis: a, seriesIds: u });
12659
- r = !ud({
12659
+ r = !fd({
12660
12660
  seriesConfig: c.series,
12661
12661
  filteredData: d,
12662
12662
  filteredSeriesIds: f
@@ -12692,7 +12692,7 @@ function Gf(t) {
12692
12692
  }), S = n0(
12693
12693
  qt(o),
12694
12694
  d.series.getIndex(0)?.data.values
12695
- ), C = fd({
12695
+ ), C = md({
12696
12696
  chartConfig: u,
12697
12697
  // using either the provided data (at creation or after a data update) or the current series data
12698
12698
  chartData: S,
@@ -12781,10 +12781,10 @@ function l0(t) {
12781
12781
  isLogarithmic: n
12782
12782
  });
12783
12783
  let p = b.min;
12784
- n && !(f instanceof Ne) && p !== void 0 && p !== null && ((Number.isNaN(p) || p <= 0) && (p = F.treatZeroValueAs), f.set("treatZeroAs", Lc(p))), _o({ axis: f, min: p, max: b.max });
12784
+ n && !(f instanceof Ne) && p !== void 0 && p !== null && ((Number.isNaN(p) || p <= 0) && (p = F.treatZeroValueAs), f.set("treatZeroAs", Fc(p))), _o({ axis: f, min: p, max: b.max });
12785
12785
  } else {
12786
12786
  let b = a;
12787
- n && !(f instanceof Ne) && b !== void 0 && b !== null && ((Number.isNaN(b) || b <= 0) && (b = F.treatZeroValueAs), f.set("treatZeroAs", Lc(b))), _o({ axis: f, min: b, max: o });
12787
+ n && !(f instanceof Ne) && b !== void 0 && b !== null && ((Number.isNaN(b) || b <= 0) && (b = F.treatZeroValueAs), f.set("treatZeroAs", Fc(b))), _o({ axis: f, min: b, max: o });
12788
12788
  }
12789
12789
  else
12790
12790
  r0({
@@ -12855,7 +12855,7 @@ function c0(t) {
12855
12855
  return i.get("themeTags")?.includes("base") && o && (n = 1), n;
12856
12856
  });
12857
12857
  }
12858
- function nl(t) {
12858
+ function sl(t) {
12859
12859
  t.on("visible", () => {
12860
12860
  t.chart instanceof pe && dn(t.chart);
12861
12861
  }), t.events.on(oe.DataValidated, () => {
@@ -12869,7 +12869,7 @@ function d0(t) {
12869
12869
  a !== void 0 && We(a.uid, "isGuide") !== !0 && a.getText() !== void 0 && a.height() > e && a.isVisible() && (e = a.height());
12870
12870
  }), e;
12871
12871
  }
12872
- function Fc(t, e) {
12872
+ function Ac(t, e) {
12873
12873
  if (e) {
12874
12874
  const { chart: i } = e;
12875
12875
  if (i) {
@@ -12885,22 +12885,22 @@ function Fc(t, e) {
12885
12885
  });
12886
12886
  }
12887
12887
  };
12888
- i.xAxes.each(r), i.yAxes.each(r), s.length > 0 && s.every((l) => !Number.isNaN(l.minimum) && !Number.isNaN(l.maximum)) && gd(s, i.root.dom);
12888
+ i.xAxes.each(r), i.yAxes.each(r), s.length > 0 && s.every((l) => !Number.isNaN(l.minimum) && !Number.isNaN(l.maximum)) && hd(s, i.root.dom);
12889
12889
  }
12890
12890
  }
12891
12891
  }
12892
12892
  function Xf(t) {
12893
12893
  t.ghostLabel?.set("forceHidden", !0);
12894
12894
  }
12895
- function Ac(t) {
12895
+ function Tc(t) {
12896
12896
  const { axis: e, start: i, end: a } = t;
12897
12897
  e.zoom(i ?? 0, a ?? 1);
12898
12898
  }
12899
- function Tc(t) {
12899
+ function kc(t) {
12900
12900
  t !== void 0 && t.setAll({ start: 0, end: 1 });
12901
12901
  }
12902
12902
  function u0(t) {
12903
- t instanceof pe && (t.xAxes.each((e) => Ac({ axis: e })), t.yAxes.each((e) => Ac({ axis: e })), Tc(t.get("scrollbarX")), Tc(t.get("scrollbarY")));
12903
+ t instanceof pe && (t.xAxes.each((e) => Tc({ axis: e })), t.yAxes.each((e) => Tc({ axis: e })), kc(t.get("scrollbarX")), kc(t.get("scrollbarY")));
12904
12904
  }
12905
12905
  function f0(t) {
12906
12906
  const { axis: e, guide: i, guideIndex: a } = t, { root: o, chart: n } = e, s = i.get("axisFill");
@@ -12912,7 +12912,7 @@ function f0(t) {
12912
12912
  }), r.label.adapters.add(
12913
12913
  "maxWidth",
12914
12914
  () => Math.min(F.tooltipWidth, n.seriesContainer.width())
12915
- ), r.get("background")?.set("fillOpacity", Sr);
12915
+ ), r.get("background")?.set("fillOpacity", Cr);
12916
12916
  const l = O(n.uid, "rtl");
12917
12917
  r.label.set("direction", l ? "rtl" : "ltr");
12918
12918
  }
@@ -12927,7 +12927,7 @@ function f0(t) {
12927
12927
  e.uid,
12928
12928
  "guideTooltipFormatter"
12929
12929
  );
12930
- if (g !== void 0 && f instanceof Fr) {
12930
+ if (g !== void 0 && f instanceof Ar) {
12931
12931
  let h, b;
12932
12932
  switch (!0) {
12933
12933
  case e instanceof Ne:
@@ -13010,7 +13010,7 @@ function g0(t) {
13010
13010
  guideTooltipFormatter: i ?? m0(e, a)
13011
13011
  });
13012
13012
  }
13013
- function kc(t) {
13013
+ function Ic(t) {
13014
13014
  const { inputValue: e, axis: i, axisMin: a, axisMax: o } = t;
13015
13015
  let n = e;
13016
13016
  if (e != null)
@@ -13030,7 +13030,7 @@ function kc(t) {
13030
13030
  }
13031
13031
  return n;
13032
13032
  }
13033
- function sl(t, e) {
13033
+ function rl(t, e) {
13034
13034
  return t.axisRanges?.values?.filter((a) => {
13035
13035
  const o = a.get("label"), n = We(o?.uid ?? Number.NaN, "isGuide") ?? !1, s = We(o?.uid ?? Number.NaN, "isGaugeAxisLabel") ?? !1;
13036
13036
  let r = !1;
@@ -13068,7 +13068,7 @@ function p0(t) {
13068
13068
  n !== void 0 && n.set("disabled", !0), s !== void 0 && s.set("inside", !0), r !== void 0 && r.set("disabled", !0);
13069
13069
  }
13070
13070
  function b0(t, e) {
13071
- const a = sl(t, Fe.Guides).length, n = (e?.length ?? a) - a;
13071
+ const a = rl(t, Fe.Guides).length, n = (e?.length ?? a) - a;
13072
13072
  for (let s = 0; s < n; s += 1)
13073
13073
  p0({ axis: t, guideIndex: s, guideConfig: e?.[s] });
13074
13074
  }
@@ -13095,7 +13095,7 @@ function Yf(t, e) {
13095
13095
  const { start: i, end: a } = e ?? {};
13096
13096
  let o;
13097
13097
  if (e !== void 0 && i !== void 0 && i !== null) {
13098
- const n = t instanceof ye ? t.get("min") : void 0, s = t instanceof ye ? t.get("max") : void 0, r = kc({ inputValue: i, axis: t, axisMin: n, axisMax: s }), l = e.style?.type === K.SFS && a !== null && a !== void 0 ? kc({ inputValue: a, axis: t, axisMin: n, axisMax: s }) : r;
13098
+ const n = t instanceof ye ? t.get("min") : void 0, s = t instanceof ye ? t.get("max") : void 0, r = Ic({ inputValue: i, axis: t, axisMin: n, axisMax: s }), l = e.style?.type === K.SFS && a !== null && a !== void 0 ? Ic({ inputValue: a, axis: t, axisMin: n, axisMax: s }) : r;
13099
13099
  o = {
13100
13100
  isValidGuide: r != null && (a === void 0 || l != null),
13101
13101
  start: r,
@@ -13154,7 +13154,7 @@ function C0(t) {
13154
13154
  function x0(t) {
13155
13155
  const { axis: e, guideConfigs: i, guideTooltipFormatter: a, utilsStrings: o } = t;
13156
13156
  if (i !== void 0) {
13157
- const n = sl(e, Fe.Guides);
13157
+ const n = rl(e, Fe.Guides);
13158
13158
  i.forEach((s, r) => {
13159
13159
  C0({ axis: e, guide: n[r], guideConfig: s });
13160
13160
  }), g0({ axis: e, guideTooltipFormatter: a, utilsStrings: o });
@@ -13170,8 +13170,8 @@ function v0(t) {
13170
13170
  for (let r = 0; r < o.length; r += 1)
13171
13171
  e.axisRanges.removeValue(o[r]);
13172
13172
  }
13173
- function Ic(t, e) {
13174
- const a = sl(t, Fe.Guides).length, o = e?.length ?? 0, n = a - o;
13173
+ function Rc(t, e) {
13174
+ const a = rl(t, Fe.Guides).length, o = e?.length ?? 0, n = a - o;
13175
13175
  v0({
13176
13176
  axis: t,
13177
13177
  numberOfElementsToBeDeleted: n,
@@ -13180,7 +13180,7 @@ function Ic(t, e) {
13180
13180
  }
13181
13181
  function L0(t) {
13182
13182
  const { axis: e, guideConfigs: i, anyGuideAboveChanged: a } = t;
13183
- a && Ic(e), b0(e, i), x0(t), Ic(e, i);
13183
+ a && Rc(e), b0(e, i), x0(t), Rc(e, i);
13184
13184
  }
13185
13185
  function Uf(t) {
13186
13186
  return t.getCellWidthPosition() * t.width();
@@ -13244,7 +13244,7 @@ function A0(t) {
13244
13244
  l = e instanceof Ee ? F.yCategoryAxisMinGridDistance : F.yAxisMinGridDistance;
13245
13245
  r.set("minGridDistance", l);
13246
13246
  }
13247
- function Rc(t = 1, e) {
13247
+ function wc(t = 1, e) {
13248
13248
  const i = e.get("renderer"), a = Uf(e);
13249
13249
  let o = 0;
13250
13250
  i.labels.each((r) => {
@@ -13256,13 +13256,13 @@ function Rc(t = 1, e) {
13256
13256
  r.get("maxWidth") !== s && (r.set("maxWidth", s), r.get("html") !== void 0 && (r.set("html", void 0), r.set("html", F.htmlEmptyContent)));
13257
13257
  }
13258
13258
  }
13259
- function wc(t, e = 1) {
13259
+ function Oc(t, e = 1) {
13260
13260
  t.get("renderer").labels.template.setAll({
13261
13261
  oversizedBehavior: "wrap",
13262
13262
  paddingLeft: 0.5,
13263
13263
  paddingRight: 0.5,
13264
13264
  textAlign: "center"
13265
- }), t.events.on(oe.BoundsChanged, () => Rc(e, t)), Rc(e, t);
13265
+ }), t.events.on(oe.BoundsChanged, () => wc(e, t)), wc(e, t);
13266
13266
  }
13267
13267
  function T0(t) {
13268
13268
  const e = t.get("renderer").labels.template;
@@ -13298,13 +13298,13 @@ function bs(t) {
13298
13298
  }
13299
13299
  }
13300
13300
  }
13301
- function Oc(t) {
13301
+ function Dc(t) {
13302
13302
  const e = t.get("renderer");
13303
13303
  T0(t), e.labels.template.setAll({ oversizedBehavior: "hide" }), t instanceof Ne || (e.labels.template.setAll({ multiLocation: 0.5 }), e.ticks.template.setAll({
13304
13304
  multiLocation: 0.5
13305
13305
  })), t.events.on(oe.BoundsChanged, () => bs(t)), t.events.on(oe.DataValidated, () => bs(t)), bs();
13306
13306
  }
13307
- function Dc(t) {
13307
+ function $c(t) {
13308
13308
  if (t && O(t.chart?.uid ?? Number.NaN, "config")?.axes?.[0].labels?.visible !== !1) {
13309
13309
  let a = 0;
13310
13310
  t.dataItems.forEach((o, n) => {
@@ -13320,7 +13320,7 @@ function Dc(t) {
13320
13320
  }
13321
13321
  }
13322
13322
  function k0(t) {
13323
- t.get("renderer").labels.template.set("oversizedBehavior", "wrap"), t.events.on(oe.BoundsChanged, () => Dc(t)), Dc(t);
13323
+ t.get("renderer").labels.template.set("oversizedBehavior", "wrap"), t.events.on(oe.BoundsChanged, () => $c(t)), $c(t);
13324
13324
  }
13325
13325
  function I0(t) {
13326
13326
  t.get("renderer").labels.template.setAll({
@@ -13344,16 +13344,16 @@ function R0(t) {
13344
13344
  case Ce.Hide:
13345
13345
  break;
13346
13346
  case Ce.Stagger:
13347
- k0(e), wc(e, 2);
13347
+ k0(e), Oc(e, 2);
13348
13348
  break;
13349
13349
  case Ce.Wrap:
13350
- wc(e);
13350
+ Oc(e);
13351
13351
  break;
13352
13352
  case Ce.Rotate:
13353
- Oc(e);
13353
+ Dc(e);
13354
13354
  break;
13355
13355
  default:
13356
- n.content.angle !== null && n.content.angle === void 0 && Oc(e);
13356
+ n.content.angle !== null && n.content.angle === void 0 && Dc(e);
13357
13357
  break;
13358
13358
  }
13359
13359
  else UL(r) && a !== Ce.Hide && I0(e);
@@ -13361,10 +13361,10 @@ function R0(t) {
13361
13361
  function w0(t) {
13362
13362
  const { renderer: e, axisConfig: i, labelConfig: a } = t;
13363
13363
  switch (i.labelsOrientation) {
13364
- case xl.Horizontal:
13364
+ case vl.Horizontal:
13365
13365
  e.labels.template.setAll({ textType: "adjusted" }), e.labels.template.remove("radius");
13366
13366
  break;
13367
- case xl.Radial:
13367
+ case vl.Radial:
13368
13368
  e.labels.template.setAll({ textType: "radial", radius: 35 }), a.content.verticalAlignment = "middle";
13369
13369
  break;
13370
13370
  default:
@@ -13403,7 +13403,7 @@ function D0(t) {
13403
13403
  );
13404
13404
  }
13405
13405
  }
13406
- const Kn = "arcgis_charts_title_container", rl = "arcgis_charts_subtitle_container", Qn = "arcgis_charts_footer_container", jf = "arcgis_charts_title", qf = "arcgis_charts_subtitle", Zf = "arcgis_charts_footer", St = "arcgis_charts_legend_container", Ut = "arcgis_charts_legend_title", Es = "arcgis_charts_axis_title_id";
13406
+ const Kn = "arcgis_charts_title_container", ll = "arcgis_charts_subtitle_container", Qn = "arcgis_charts_footer_container", jf = "arcgis_charts_title", qf = "arcgis_charts_subtitle", Zf = "arcgis_charts_footer", St = "arcgis_charts_legend_container", Ut = "arcgis_charts_legend_title", Es = "arcgis_charts_axis_title_id";
13407
13407
  function $0(t, e) {
13408
13408
  let i = e ?? null;
13409
13409
  if (e != null) {
@@ -13449,7 +13449,7 @@ function V0(t) {
13449
13449
  const { chart: e, chartConfig: i, queryObject: a, data: o, xAxisLabelFormatter: n, utilsStrings: s, errorStrings: r } = t, { axes: l } = i, c = l?.[0], d = e.xAxes.getIndex(0);
13450
13450
  if (d instanceof ye && d.get("renderer") instanceof ei && c !== void 0) {
13451
13451
  const u = d, { needle: f } = c;
13452
- N0(e, i), P0(e, i), Xu(c), ll({
13452
+ N0(e, i), P0(e, i), Xu(c), cl({
13453
13453
  chartConfig: i,
13454
13454
  axis: d,
13455
13455
  axisConfig: c,
@@ -13459,7 +13459,7 @@ function V0(t) {
13459
13459
  errorStrings: r,
13460
13460
  queryObject: a
13461
13461
  });
13462
- const g = hd({
13462
+ const g = pd({
13463
13463
  chartData: o !== void 0 && "dataItems" in o ? o.dataItems : void 0,
13464
13464
  chartConfig: i
13465
13465
  });
@@ -13508,7 +13508,7 @@ function E0(t) {
13508
13508
  { axis: x, axisConfig: p?.[1], externalAxisLabelFormatter: l }
13509
13509
  ].forEach((L, v) => {
13510
13510
  const { axis: T, axisConfig: k, externalAxisLabelFormatter: I } = L;
13511
- T !== void 0 && !T.isDisposed() && k !== void 0 && ll({
13511
+ T !== void 0 && !T.isDisposed() && k !== void 0 && cl({
13512
13512
  axis: T,
13513
13513
  data: n,
13514
13514
  dataWasUpdated: s,
@@ -13570,7 +13570,7 @@ function un(t, e) {
13570
13570
  }
13571
13571
  function _0(t) {
13572
13572
  let e;
13573
- return t instanceof Ol ? e = t : t.parent instanceof Ol && (e = t.parent), e;
13573
+ return t instanceof Dl ? e = t : t.parent instanceof Dl && (e = t.parent), e;
13574
13574
  }
13575
13575
  function G0(t) {
13576
13576
  const { originalEvent: e } = t, i = "ctrlKey" in e ? e.ctrlKey : !1, a = "metaKey" in e ? e.metaKey : !1;
@@ -13633,11 +13633,11 @@ function Z0(t) {
13633
13633
  q0(o, (s) => {
13634
13634
  const { chart: r } = e, l = _0(s.target);
13635
13635
  let c, d;
13636
- if (l?.dataItem instanceof Fr && H0(l.dataItem)) {
13636
+ if (l?.dataItem instanceof Ar && H0(l.dataItem)) {
13637
13637
  const u = l.dataItem.get("category");
13638
13638
  u !== void 0 && (c = o instanceof ft ? "categoryX" : "categoryY", d = u);
13639
13639
  }
13640
- if (c !== void 0 && d !== void 0 && r instanceof pe && il(r.uid)) {
13640
+ if (c !== void 0 && d !== void 0 && r instanceof pe && al(r.uid)) {
13641
13641
  const u = G0(s), f = Y0({ chart: r, selectionField: c, selectionKey: d }), g = f.hasMatching && f.allMatchingSelected, h = !u && g && !f.hasNonMatchingSelected;
13642
13642
  r.series.each((b) => {
13643
13643
  !b.isHidden() && !Un(b) && !Ui(b) && (b instanceof ne ? b.dataItems.forEach((p) => {
@@ -13685,7 +13685,7 @@ function zs(t, e) {
13685
13685
  e?.set("dy", s);
13686
13686
  }
13687
13687
  function K0(t) {
13688
- t instanceof ye && (t.onPrivate("min", Fc), t.onPrivate("max", Fc));
13688
+ t instanceof ye && (t.onPrivate("min", Ac), t.onPrivate("max", Ac));
13689
13689
  }
13690
13690
  function Q0(t) {
13691
13691
  const { axis: e, isHorizontalAxis: i, isSecondaryYAxis: a } = t, { root: o } = e, n = i ? { ...F.xAxisTitleLabel, verticalCenter: "top" } : F.yAxisTitleLabel, s = Ba({ root: o, id: em(e, i), defaults: n });
@@ -13793,7 +13793,7 @@ function eF(t) {
13793
13793
  }
13794
13794
  }
13795
13795
  }
13796
- function ll(t) {
13796
+ function cl(t) {
13797
13797
  const {
13798
13798
  axis: e,
13799
13799
  data: i,
@@ -13993,7 +13993,7 @@ function aF(t) {
13993
13993
  }
13994
13994
  ].forEach((Y) => {
13995
13995
  const { axis: z, axisConfig: X, axisConfigIndex: U, externalAxisLabelFormatter: _, isSecondaryYAxis: j } = Y;
13996
- z !== void 0 && !z.isDisposed() && X !== void 0 && ll({
13996
+ z !== void 0 && !z.isDisposed() && X !== void 0 && cl({
13997
13997
  axis: z,
13998
13998
  data: s,
13999
13999
  dataWasUpdated: r,
@@ -14052,7 +14052,7 @@ function nF(t, e) {
14052
14052
  function nm(t) {
14053
14053
  const { root: e, chart: i, config: a, queryObject: o, errorStrings: n } = t;
14054
14054
  let s;
14055
- return om(i, a) && (i instanceof Wi ? s = i.set("cursor", Ar.new(e, {})) : s = i.set("cursor", Wd.new(e, { clickTolerance: 70 })), wL({ chart: i, queryObject: o, errorStrings: n })), s;
14055
+ return om(i, a) && (i instanceof Wi ? s = i.set("cursor", Tr.new(e, {})) : s = i.set("cursor", Wd.new(e, { clickTolerance: 70 })), wL({ chart: i, queryObject: o, errorStrings: n })), s;
14056
14056
  }
14057
14057
  function sm(t) {
14058
14058
  const { root: e, chart: i, cursorCrosshair: a, config: o, queryObject: n, errorStrings: s } = t;
@@ -14111,7 +14111,7 @@ function rF(t) {
14111
14111
  e instanceof pe && e.get("cursor") !== void 0 && u !== void 0 && e.get("cursor")?.set("behavior", u), sF({ chart: e, enabled: f });
14112
14112
  }
14113
14113
  function lF(t, e) {
14114
- e !== void 0 && (e.width !== void 0 && t.set("width", fc(e.width)), e.height !== void 0 && t.set("height", fc(e.height)), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom));
14114
+ e !== void 0 && (e.width !== void 0 && t.set("width", mc(e.width)), e.height !== void 0 && t.set("height", mc(e.height)), e.paddingTop !== void 0 && t.set("paddingTop", e.paddingTop), e.paddingBottom !== void 0 && t.set("paddingBottom", e.paddingBottom));
14115
14115
  }
14116
14116
  function Hs(t) {
14117
14117
  const { root: e, defaults: i, parent: a, id: o, index: n } = t, s = bi.new(e, {});
@@ -14131,7 +14131,7 @@ function cF(t, e) {
14131
14131
  root: t,
14132
14132
  defaults: F.headerContainer,
14133
14133
  parent: e,
14134
- id: nt(rl, e.uid),
14134
+ id: nt(ll, e.uid),
14135
14135
  index: 1
14136
14136
  }), o = Ba({
14137
14137
  root: t,
@@ -14169,7 +14169,7 @@ function rm(t, e) {
14169
14169
  labelType: q.ChartTitle
14170
14170
  }), _s(r, c.get("disabled") === !0 || (i?.content.text ?? "") === ""));
14171
14171
  }
14172
- const l = le({ childId: rl, parent: t });
14172
+ const l = le({ childId: ll, parent: t });
14173
14173
  if (l !== void 0) {
14174
14174
  l.set("paddingBottom", s), r !== void 0 && r.set("paddingBottom", F.titleAndSubtitlePaddingBottom);
14175
14175
  const c = le({ childId: qf, parent: l });
@@ -14280,7 +14280,7 @@ function mF(t) {
14280
14280
  }
14281
14281
  function gF(t) {
14282
14282
  const { series: e, dataLabelsConfig: i } = t, a = i && i?.visible !== !1;
14283
- e.bullets.hasIndex(0) && Kr(e, 0), a && mF(t);
14283
+ e.bullets.hasIndex(0) && Qr(e, 0), a && mF(t);
14284
14284
  }
14285
14285
  const je = {
14286
14286
  nameField: "name",
@@ -14552,7 +14552,7 @@ function Jn(t = !1, e) {
14552
14552
  }
14553
14553
  };
14554
14554
  }
14555
- function $c(t, e) {
14555
+ function Mc(t, e) {
14556
14556
  const i = O(t.uid, "rtl") ?? !1, o = O(t.uid, "config")?.series[0], { start: n, end: s } = Jn(i, o);
14557
14557
  e.setAll({ startColor: n.color, endColor: s.color });
14558
14558
  }
@@ -14777,7 +14777,7 @@ function ym(t, e) {
14777
14777
  });
14778
14778
  }
14779
14779
  }
14780
- function cl(t) {
14780
+ function dl(t) {
14781
14781
  const e = nt(St, t.uid);
14782
14782
  [t.bottomAxesContainer, t.rightAxesContainer, t.leftAxesContainer, t.topAxesContainer].forEach(
14783
14783
  (i) => {
@@ -14792,7 +14792,7 @@ function cl(t) {
14792
14792
  }
14793
14793
  ), gm(t, {}), kF(t);
14794
14794
  }
14795
- function dl(t, e) {
14795
+ function ul(t, e) {
14796
14796
  const i = Ba({
14797
14797
  root: e.root,
14798
14798
  parent: e,
@@ -14818,7 +14818,7 @@ function Gs(t) {
14818
14818
  r && (n = r);
14819
14819
  }
14820
14820
  ), n !== void 0) {
14821
- const s = le({ childId: Ut, parent: n }) ?? dl(e, n);
14821
+ const s = le({ childId: Ut, parent: n }) ?? ul(e, n);
14822
14822
  if (i !== void 0) {
14823
14823
  const { title: r, visible: l } = i, { legendTitle: c } = F.legendProperties;
14824
14824
  if (r !== void 0) {
@@ -14840,12 +14840,12 @@ function Gs(t) {
14840
14840
  }
14841
14841
  function TF(t, e) {
14842
14842
  const { root: i } = t, a = O(t.uid, "config"), o = a?.legend, n = t.series.values[0];
14843
- cl(t);
14843
+ dl(t);
14844
14844
  const s = um(t, a ?? e), r = bi.new(i, {
14845
14845
  id: nt(St, t.uid),
14846
14846
  layout: i.verticalLayout
14847
14847
  });
14848
- return r.children.push(s), dl(t, r), Gs({ chart: t, legendConfig: o, container: r }), pm({ series: n, legend: s, chart: t }), o !== void 0 && o.visible !== !1 && (mm({ chart: t, legend: s, legendContainer: r }), Xs({
14848
+ return r.children.push(s), ul(t, r), Gs({ chart: t, legendConfig: o, container: r }), pm({ series: n, legend: s, chart: t }), o !== void 0 && o.visible !== !1 && (mm({ chart: t, legend: s, legendContainer: r }), Xs({
14849
14849
  legend: s,
14850
14850
  chart: t,
14851
14851
  legendContainer: r
@@ -14906,12 +14906,12 @@ function IF(t) {
14906
14906
  function RF(t) {
14907
14907
  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];
14908
14908
  if (a || o)
14909
- cl(e), s && r instanceof xe && ci(() => {
14909
+ dl(e), s && r instanceof xe && ci(() => {
14910
14910
  const l = um(e), c = bi.new(e.root, {
14911
14911
  id: nt(St, e.uid),
14912
14912
  layout: e.root.verticalLayout
14913
14913
  });
14914
- c.children.push(l), dl(e, c), Gs({ chart: e, legendConfig: n, container: c }), $c(e, l), mm({ chart: e, legend: l, legendContainer: c }), pm({ series: r, legend: l, chart: e }), Xs({
14914
+ c.children.push(l), ul(e, c), Gs({ chart: e, legendConfig: n, container: c }), Mc(e, l), mm({ chart: e, legend: l, legendContainer: c }), pm({ series: r, legend: l, chart: e }), Xs({
14915
14915
  legend: l,
14916
14916
  chart: e,
14917
14917
  legendContainer: c
@@ -14920,7 +14920,7 @@ function RF(t) {
14920
14920
  else if (r instanceof xe) {
14921
14921
  const l = IF(e);
14922
14922
  if (l) {
14923
- $c(e, l), Gs({ chart: e, legendConfig: n }), ym(l, n);
14923
+ Mc(e, l), Gs({ chart: e, legendConfig: n }), ym(l, n);
14924
14924
  const c = l.parent;
14925
14925
  c?.get("id") === nt(St, e.uid) && re(c, s), re(l, s), AF(l, e), c && Xs({
14926
14926
  legend: l,
@@ -14975,7 +14975,7 @@ function Cm(t) {
14975
14975
  const { numericValueFormat: u, percentValueFormat: f, valuePrefix: g, valueSuffix: h, percentagePrefix: b, percentageSuffix: p } = i[0], S = l ?? F.pieChart.displayNumericValueOnLegend, C = c ?? F.pieChart.displayPercentageOnLegend;
14976
14976
  let x = o;
14977
14977
  if (o === void 0) {
14978
- const M = Jr({
14978
+ const M = el({
14979
14979
  pieChart: n,
14980
14980
  valueIntlOptions: u?.intlOptions,
14981
14981
  percentageIntlOptions: f?.intlOptions,
@@ -15103,7 +15103,7 @@ function PF(t) {
15103
15103
  const { dataContext: i } = e, a = typeof i == "object" && i !== null && "component" in i ? i.component : i;
15104
15104
  if (a instanceof Oa) {
15105
15105
  const n = { visible: !a.get("visible") };
15106
- Ui(a) || Un(a) ? n.overlayType = se(a.uid, "type") : n.seriesId = a.get("id"), sd(n, a.root.dom);
15106
+ Ui(a) || Un(a) ? n.overlayType = se(a.uid, "type") : n.seriesId = a.get("id"), rd(n, a.root.dom);
15107
15107
  }
15108
15108
  }
15109
15109
  }
@@ -15207,7 +15207,7 @@ function EF(t) {
15207
15207
  i.data.setAll(r);
15208
15208
  }
15209
15209
  }
15210
- function Mc(t) {
15210
+ function Bc(t) {
15211
15211
  let e = 0;
15212
15212
  return t.dataItems.forEach((i) => {
15213
15213
  const a = i.get("itemContainer").width();
@@ -15217,7 +15217,7 @@ function Mc(t) {
15217
15217
  function ya(t, e) {
15218
15218
  const { root: i } = t, a = le({ childId: St, parent: t });
15219
15219
  if (a !== void 0) {
15220
- const o = O(t.uid, "config"), n = O(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, c = o?.legend ? o.legend.visible ?? !0 : !1, d = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = le({ childId: Kn, parent: t }), f = u instanceof bi && s ? u.height() : 0, g = le({ childId: rl, parent: t }), h = g instanceof bi && r ? g.height() : 0, b = le({ childId: Qn, parent: t }), p = b instanceof bi && l ? b.height() : 0, S = le({ childId: Ut, parent: a }), C = S instanceof st && c && d ? S?.height() : 0, x = o?.legend?.position ?? F.legendProperties.position;
15220
+ const o = O(t.uid, "config"), n = O(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, c = o?.legend ? o.legend.visible ?? !0 : !1, d = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = le({ childId: Kn, parent: t }), f = u instanceof bi && s ? u.height() : 0, g = le({ childId: ll, parent: t }), h = g instanceof bi && r ? g.height() : 0, b = le({ childId: Qn, parent: t }), p = b instanceof bi && l ? b.height() : 0, S = le({ childId: Ut, parent: a }), C = S instanceof st && c && d ? S?.height() : 0, x = o?.legend?.position ?? F.legendProperties.position;
15221
15221
  let L;
15222
15222
  const v = e.get("verticalScrollbar");
15223
15223
  let T = de, k = de, I = i.verticalLayout, R = de, w = de, M = de, $ = de, B = 0, P;
@@ -15225,10 +15225,10 @@ function ya(t, e) {
15225
15225
  let X = 0, U = 0, _ = 0, j = 0, E, ee;
15226
15226
  switch (x) {
15227
15227
  case G.Left:
15228
- I = i.verticalLayout, R = De, M = De, w = De, $ = De, P = void 0, T = De, k = De, X = a.width(), B = f + h, z < t.seriesContainer.height() && (B += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Mc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (E = he, ee = L);
15228
+ I = i.verticalLayout, R = De, M = De, w = De, $ = De, P = void 0, T = De, k = De, X = a.width(), B = f + h, z < t.seriesContainer.height() && (B += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Bc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (E = he, ee = L);
15229
15229
  break;
15230
15230
  case G.Right:
15231
- I = i.verticalLayout, R = he, M = he, w = De, $ = De, P = void 0, T = De, k = De, U = a.width(), B = f + h, z < t.seriesContainer.height() && (B += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Mc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (E = he, ee = L);
15231
+ I = i.verticalLayout, R = he, M = he, w = De, $ = De, P = void 0, T = De, k = De, U = a.width(), B = f + h, z < t.seriesContainer.height() && (B += t.seriesContainer.height() / 2 - z / 2), e.setPrivate("width", void 0), L = Bc(e), v?.width() !== void 0 && L && v.isVisible() && (L += v.width() + F.scrollbarPadding), n && (E = he, ee = L);
15232
15232
  break;
15233
15233
  case G.Top:
15234
15234
  I = i.gridLayout, R = de, M = de, w = De, $ = De, P = he, T = de, k = de, _ += z, B += f + h, L = void 0, n && (E = void 0);
@@ -15253,7 +15253,7 @@ function ya(t, e) {
15253
15253
  paddingTop: _,
15254
15254
  paddingLeft: X,
15255
15255
  paddingRight: U
15256
- }), Qr(t, !0), P === void 0 && (a.setPrivate("width", void 0), a.markDirty()), t instanceof Qt && vm(e, x);
15256
+ }), Jr(t, !0), P === void 0 && (a.setPrivate("width", void 0), a.markDirty()), t instanceof Qt && vm(e, x);
15257
15257
  }
15258
15258
  }
15259
15259
  function zF(t) {
@@ -15454,7 +15454,7 @@ function QF(t) {
15454
15454
  () => O(i.uid, "options")?.legendInteractionsDisabled === !0 ? "default" : "pointer"
15455
15455
  );
15456
15456
  }
15457
- function Bc(t, e) {
15457
+ function Nc(t, e) {
15458
15458
  const { root: i } = t;
15459
15459
  let a;
15460
15460
  if (Lm(e?.series))
@@ -15491,11 +15491,11 @@ function JF(t) {
15491
15491
  }
15492
15492
  return n;
15493
15493
  }
15494
- function Nc(t) {
15494
+ function Pc(t) {
15495
15495
  const { chart: e, legend: i, showLegend: a } = t, o = le({ childId: St, parent: e });
15496
15496
  o && (re(o, a), re(i, a));
15497
15497
  }
15498
- function Pc(t) {
15498
+ function Vc(t) {
15499
15499
  const { chart: e, showLegend: i, legendConfig: a } = t;
15500
15500
  if (a) {
15501
15501
  const { title: o, visible: n } = a, s = o !== void 0 && n !== !1 && o.visible !== !1, r = le({ childId: St, parent: e });
@@ -15518,15 +15518,15 @@ function Tm(t) {
15518
15518
  heatLegendPositionChanged: c
15519
15519
  } = t, { legend: d, series: u } = i;
15520
15520
  if (Lm(s) && o)
15521
- l && a && (Nc({ chart: e, legend: a, showLegend: !1 }), Pc({ chart: e, showLegend: !1, legendConfig: d })), RF({
15521
+ l && a && (Pc({ chart: e, legend: a, showLegend: !1 }), Vc({ chart: e, showLegend: !1, legendConfig: d })), RF({
15522
15522
  chart: e,
15523
15523
  chartConfig: i,
15524
15524
  heatLegendPositionChanged: c,
15525
15525
  heatRulesTypeChanged: l
15526
15526
  });
15527
- else if (a instanceof Vd && (s?.[0].type === y.HeatSeries && cl(e), le({ childId: St, parent: e }) !== void 0)) {
15528
- const g = Rd(u) && d !== void 0 && d.visible !== !1;
15529
- if (Nc({ chart: e, legend: a, showLegend: g }), Pc({ chart: e, showLegend: g, legendConfig: d }), g) {
15527
+ else if (a instanceof Vd && (s?.[0].type === y.HeatSeries && dl(e), le({ childId: St, parent: e }) !== void 0)) {
15528
+ const g = Sr(u) && d !== void 0 && d.visible !== !1;
15529
+ if (Pc({ chart: e, legend: a, showLegend: g }), Vc({ chart: e, showLegend: g, legendConfig: d }), g) {
15530
15530
  qF(a, d?.roundMarkers), ZF({
15531
15531
  legend: a,
15532
15532
  legendConfig: d,
@@ -15592,7 +15592,7 @@ function iA(t, e) {
15592
15592
  t.startGrip.set("scale", a), t.endGrip.set("scale", a);
15593
15593
  }
15594
15594
  }
15595
- function Vc(t, e) {
15595
+ function Wc(t, e) {
15596
15596
  typeof e == "number" && Number.isFinite(e) && (t.get("orientation") === "horizontal" ? t.set("marginBottom", e) : t.set("marginLeft", e), t.markDirtyBounds());
15597
15597
  }
15598
15598
  function Im(t) {
@@ -15606,9 +15606,9 @@ function Im(t) {
15606
15606
  const l = r.get("orientation") === "horizontal" && o !== !0 || r.get("orientation") === "vertical" && o === !0 ? i : a, c = l?.visible !== !0;
15607
15607
  if (re(r, !c), l !== void 0 && !c) {
15608
15608
  const { width: d, color: u, gripSize: f, margin: g } = l;
15609
- Vc(r, g ?? d ?? F.scrollbarPadding), eA(r, u), iA(r, f), tA(r, d);
15609
+ Wc(r, g ?? d ?? F.scrollbarPadding), eA(r, u), iA(r, f), tA(r, d);
15610
15610
  } else
15611
- Vc(r, 0);
15611
+ Wc(r, 0);
15612
15612
  }
15613
15613
  });
15614
15614
  }
@@ -15623,7 +15623,7 @@ function oA(t, e) {
15623
15623
  });
15624
15624
  });
15625
15625
  }
15626
- function ul(t, e) {
15626
+ function fl(t, e) {
15627
15627
  const i = pa(e);
15628
15628
  return Number(t.dataContext?.[i]);
15629
15629
  }
@@ -15634,7 +15634,7 @@ function nA(t) {
15634
15634
  if (s.get("visible") !== !1) {
15635
15635
  const r = s.dataItems[o];
15636
15636
  if (r) {
15637
- const l = ul(r, s);
15637
+ const l = fl(r, s);
15638
15638
  Number.isFinite(l) && l !== 0 && (l > 0 ? e.push(r) : e.unshift(r));
15639
15639
  }
15640
15640
  }
@@ -15643,7 +15643,7 @@ function nA(t) {
15643
15643
  function sA(t) {
15644
15644
  let e = !1;
15645
15645
  if (t) {
15646
- const i = nA(t), a = ul(t, t.component), o = i.indexOf(t);
15646
+ const i = nA(t), a = fl(t, t.component), o = i.indexOf(t);
15647
15647
  e = a > 0 ? o === i.length - 1 : o === 0;
15648
15648
  }
15649
15649
  return e;
@@ -15665,7 +15665,7 @@ function rA(t) {
15665
15665
  const n = o.dataItem, s = t.chart;
15666
15666
  let r = 0;
15667
15667
  if (s) {
15668
- const l = O(s.uid, "config"), c = l?.roundCorners, d = n ? ul(n, t) : Number.NaN;
15668
+ const l = O(s.uid, "config"), c = l?.roundCorners, d = n ? fl(n, t) : Number.NaN;
15669
15669
  if (c?.rounded === !0 && Number.isFinite(d) && d !== 0 && (l === void 0 || !br(l) || sA(n))) {
15670
15670
  const f = c?.cornerRadius ?? 0;
15671
15671
  r = (l?.rotated === !0 ? ["cornerRadiusTR", "cornerRadiusBR"] : ["cornerRadiusTL", "cornerRadiusTR"]).includes(i) ? f : 0;
@@ -15695,7 +15695,7 @@ function lA(t) {
15695
15695
  return ki.new(C, {
15696
15696
  sprite: x
15697
15697
  });
15698
- }), p.columns.template.set("width", at(100)), rA(p), nl(p), If(p, s?.tooltipFormatter), qn(p, i), p.appear(), p;
15698
+ }), p.columns.template.set("width", at(100)), rA(p), sl(p), If(p, s?.tooltipFormatter), qn(p, i), p.appear(), p;
15699
15699
  }
15700
15700
  function cA(t) {
15701
15701
  const { series: e, seriesConfig: i, seriesIndex: a, numberOfSeries: o, chartSubType: n, colorMatch: s, rendererType: r } = t, l = e.root, c = pa(e), d = /* @__PURE__ */ new Set();
@@ -15843,7 +15843,7 @@ function fA(t) {
15843
15843
  seriesSymbolMapForEvent: C,
15844
15844
  rendererType: x
15845
15845
  } = t, L = a.series[n], v = a.rotated;
15846
- if (e.set("id", L.id), re(e, L.visible), He(e.columns.template, o?.selectionTheme), al({
15846
+ if (e.set("id", L.id), re(e, L.visible), He(e.columns.template, o?.selectionTheme), ol({
15847
15847
  series: e,
15848
15848
  chartConfig: a,
15849
15849
  isRotated: v
@@ -15866,7 +15866,7 @@ function fA(t) {
15866
15866
  rotationChanged: r,
15867
15867
  stackedTypeChanged: b,
15868
15868
  sortChanged: h
15869
- }), el({
15869
+ }), tl({
15870
15870
  series: e,
15871
15871
  seriesConfig: L,
15872
15872
  fieldList: g,
@@ -15891,7 +15891,7 @@ function fA(t) {
15891
15891
  seriesConfig: L
15892
15892
  });
15893
15893
  }
15894
- ol({
15894
+ nl({
15895
15895
  chartConfig: a,
15896
15896
  series: e,
15897
15897
  seriesIndex: n,
@@ -16327,7 +16327,7 @@ function es(t) {
16327
16327
  splitBy: u,
16328
16328
  showOutliers: n,
16329
16329
  standardizeValues: so(l) ? s : !1
16330
- }, g = l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy ? xr : c;
16330
+ }, g = l === V.BoxPlotC1MonoField || l === V.BoxPlotC2MultiFields || l === V.BoxPlotC5MonoFieldAndSplitBy || l === V.BoxPlotC6MultiFieldsAndSplitBy ? vr : c;
16331
16331
  return {
16332
16332
  dataFields: {
16333
16333
  value: o ? "valueXField" : "valueYField",
@@ -16476,7 +16476,7 @@ function PA(t) {
16476
16476
  function VA(t) {
16477
16477
  Ff(t);
16478
16478
  }
16479
- function fl(t) {
16479
+ function ml(t) {
16480
16480
  const { isLineSmoothed: e, isRadarLineSeries: i, isRotated: a } = t;
16481
16481
  let o = i ? Vh : Wh;
16482
16482
  return e && (o = i ? Eh : a ? zh : Hh), o;
@@ -16509,7 +16509,7 @@ function EA(t) {
16509
16509
  root: r,
16510
16510
  visible: i.visible,
16511
16511
  seriesIndex: a,
16512
- seriesSymbol: i.lineSymbol ?? vr(a),
16512
+ seriesSymbol: i.lineSymbol ?? Lr(a),
16513
16513
  element: e,
16514
16514
  colorMatch: n,
16515
16515
  rendererSymbol: l
@@ -16578,9 +16578,9 @@ function Dm(t) {
16578
16578
  isRotated: d
16579
16579
  } = t, { chart: u, root: f } = e;
16580
16580
  if (u) {
16581
- const g = e instanceof Tr;
16581
+ const g = e instanceof kr;
16582
16582
  re(e, i.visible);
16583
- const h = fl({
16583
+ const h = ml({
16584
16584
  isRadarLineSeries: g,
16585
16585
  isLineSmoothed: i.lineSmoothed,
16586
16586
  isRotated: d
@@ -16621,7 +16621,7 @@ function _A(t) {
16621
16621
  [g]: u,
16622
16622
  [h]: f,
16623
16623
  maskBullets: !1,
16624
- curveFactory: fl({
16624
+ curveFactory: ml({
16625
16625
  isRadarLineSeries: !1,
16626
16626
  isLineSmoothed: n.lineSmoothed,
16627
16627
  isRotated: i.rotated
@@ -16646,7 +16646,7 @@ function _A(t) {
16646
16646
  p
16647
16647
  );
16648
16648
  return L || (ti({ element: v, series: b, queryObject: r, errorStrings: l }), Ef(v, b)), ki.new(S, { sprite: v });
16649
- }), b.strokes.template.set("lineJoin", F.lineJoin), nl(b), b;
16649
+ }), b.strokes.template.set("lineJoin", F.lineJoin), sl(b), b;
16650
16650
  }
16651
16651
  function GA(t) {
16652
16652
  const {
@@ -16695,7 +16695,7 @@ function XA(t) {
16695
16695
  }
16696
16696
  function YA(t, e) {
16697
16697
  const { connectLines: i, temporalBinning: a } = e, o = a?.nullPolicy;
16698
- t.set("connect", i !== !1 && o !== Kc.Null);
16698
+ t.set("connect", i !== !1 && o !== Qc.Null);
16699
16699
  }
16700
16700
  function UA(t) {
16701
16701
  const {
@@ -16716,7 +16716,7 @@ function UA(t) {
16716
16716
  } = t, b = a.series[n], p = a.rotated;
16717
16717
  e.set("id", b.id), re(e, b.visible), re(e.bulletsContainer, b.markerVisible !== !1 && b.visible !== !1);
16718
16718
  const S = se(e.uid, "bulletTemplate");
16719
- S && He(S, o?.selectionTheme), al({ series: e, chartConfig: a, isRotated: p }), VA({
16719
+ S && He(S, o?.selectionTheme), ol({ series: e, chartConfig: a, isRotated: p }), VA({
16720
16720
  seriesType: y.LineSeries,
16721
16721
  series: e,
16722
16722
  seriesConfig: b,
@@ -16734,7 +16734,7 @@ function UA(t) {
16734
16734
  seriesWereReinitialized: u,
16735
16735
  timeZoneChanged: f,
16736
16736
  sortChanged: g
16737
- }), el({
16737
+ }), tl({
16738
16738
  series: e,
16739
16739
  seriesConfig: b,
16740
16740
  fieldList: l,
@@ -16746,7 +16746,7 @@ function UA(t) {
16746
16746
  styleCallback: () => XA(t),
16747
16747
  series: e,
16748
16748
  seriesConfig: b
16749
- }), ol({ chartConfig: a, series: e, seriesIndex: n, queryObject: r });
16749
+ }), nl({ chartConfig: a, series: e, seriesIndex: n, queryObject: r });
16750
16750
  }
16751
16751
  function jA(t) {
16752
16752
  return t.component instanceof Je;
@@ -16762,8 +16762,8 @@ function qA(t) {
16762
16762
  })
16763
16763
  );
16764
16764
  }, o.events.on(oe.Click, (n) => {
16765
- const { chart: s } = e, { dataItem: r } = n.target, c = (r instanceof Fr && jA(r) ? r : void 0)?.get("slice");
16766
- if (s && c && il(s.uid)) {
16765
+ const { chart: s } = e, { dataItem: r } = n.target, c = (r instanceof Ar && jA(r) ? r : void 0)?.get("slice");
16766
+ if (s && c && al(s.uid)) {
16767
16767
  const d = mf(n, e);
16768
16768
  we({
16769
16769
  element: c,
@@ -16841,7 +16841,7 @@ function JA(t, e) {
16841
16841
  } = e, { chart: f } = t;
16842
16842
  let g;
16843
16843
  if (f) {
16844
- const h = Jr({
16844
+ const h = el({
16845
16845
  pieChart: f,
16846
16846
  valueIntlOptions: i?.intlOptions,
16847
16847
  percentageIntlOptions: a?.intlOptions,
@@ -16897,7 +16897,7 @@ function tT(t, e) {
16897
16897
  // see: https://www.amcharts.com/docs/v5/reference/tick/#crisp_setting
16898
16898
  crisp: !1
16899
16899
  });
16900
- const o = i?.lineSymbol ?? Rn({ color: Lr });
16900
+ const o = i?.lineSymbol ?? Rn({ color: Fr });
16901
16901
  a && (o.width = 0), Kt({
16902
16902
  element: t.ticks.template,
16903
16903
  lineSymbol: o,
@@ -16907,7 +16907,7 @@ function tT(t, e) {
16907
16907
  function iT(t) {
16908
16908
  const { series: e, pieSlicesSymbols: i, seriesConfig: a } = t;
16909
16909
  e.slices.each((o, n) => {
16910
- const s = o.dataItem?.dataContext, r = Or({
16910
+ const s = o.dataItem?.dataContext, r = Dr({
16911
16911
  dataContext: s,
16912
16912
  pieSlicesSymbols: i,
16913
16913
  seriesConfig: a
@@ -17106,14 +17106,14 @@ function uT(t) {
17106
17106
  return o;
17107
17107
  }
17108
17108
  function fT(t) {
17109
- const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = n, { xField: u, yField: f, xAxisField: g, yAxisField: h } = Ua(i, n), b = Tr.new(e, {
17109
+ const { root: e, chartConfig: i, xAxis: a, yAxis: o, seriesConfig: n, options: s, queryObject: r, errorStrings: l } = t, { id: c, name: d } = n, { xField: u, yField: f, xAxisField: g, yAxisField: h } = Ua(i, n), b = kr.new(e, {
17110
17110
  id: c,
17111
17111
  name: d,
17112
17112
  xAxis: a,
17113
17113
  yAxis: o,
17114
17114
  [g]: u,
17115
17115
  [h]: f,
17116
- curveFactory: fl({
17116
+ curveFactory: ml({
17117
17117
  isRadarLineSeries: !0,
17118
17118
  isLineSmoothed: n.lineSmoothed,
17119
17119
  isRotated: i.rotated
@@ -17141,7 +17141,7 @@ function fT(t) {
17141
17141
  p
17142
17142
  );
17143
17143
  return ti({ element: C, series: b, queryObject: r, errorStrings: l }), ki.new(S, { sprite: C });
17144
- }), b.strokes.template.set("lineJoin", F.lineJoin), nl(b), b;
17144
+ }), b.strokes.template.set("lineJoin", F.lineJoin), sl(b), b;
17145
17145
  }
17146
17146
  function mT(t) {
17147
17147
  const {
@@ -17203,7 +17203,7 @@ function hT(t) {
17203
17203
  } = t, g = o.series[s];
17204
17204
  e.set("id", g.id), re(e, g.visible), re(e.bulletsContainer, g.markerVisible !== !1 && g.visible !== !1);
17205
17205
  const h = se(e.uid, "bulletTemplate");
17206
- h && He(h, n?.selectionTheme), al({ series: e, chartConfig: o, isRotated: !1 }), el({
17206
+ h && He(h, n?.selectionTheme), ol({ series: e, chartConfig: o, isRotated: !1 }), tl({
17207
17207
  series: e,
17208
17208
  seriesConfig: g,
17209
17209
  fieldList: d,
@@ -17215,7 +17215,7 @@ function hT(t) {
17215
17215
  styleCallback: () => gT(t),
17216
17216
  series: e,
17217
17217
  seriesConfig: g
17218
- }), ol({ chartConfig: o, series: e, seriesIndex: s, queryObject: u }), mT({
17218
+ }), nl({ chartConfig: o, series: e, seriesIndex: s, queryObject: u }), mT({
17219
17219
  radarLineSeries: e,
17220
17220
  data: i,
17221
17221
  seriesIndex: s,
@@ -17226,7 +17226,7 @@ function hT(t) {
17226
17226
  seriesWereReinitialized: a
17227
17227
  });
17228
17228
  }
17229
- function ml(t) {
17229
+ function gl(t) {
17230
17230
  const { chart: e, chartConfig: i, options: a, utilsStrings: o, queryObject: n, errorStrings: s } = t, { rotated: r } = i, { root: l } = e, c = W(i.series);
17231
17231
  e.series.clear();
17232
17232
  const d = { root: l, chartConfig: i, options: a, chart: e, utilsStrings: o, queryObject: n, errorStrings: s }, u = [];
@@ -17321,7 +17321,7 @@ function ml(t) {
17321
17321
  }
17322
17322
  }
17323
17323
  u.forEach((f) => {
17324
- f instanceof kr && f.setPrivate("doNotUpdateLegend", !0);
17324
+ f instanceof Ir && f.setPrivate("doNotUpdateLegend", !0);
17325
17325
  }), e.series.pushAll(u), e instanceof pe && u.forEach((f) => {
17326
17326
  f instanceof ne && f.get("maskBullets") === !1 && BL(f, e);
17327
17327
  });
@@ -17458,7 +17458,7 @@ function ts(t) {
17458
17458
  break;
17459
17459
  }
17460
17460
  case ee === y.RadarSeries: {
17461
- E instanceof Tr && e instanceof Wi && ls(o) && hT({
17461
+ E instanceof kr && e instanceof Wi && ls(o) && hT({
17462
17462
  ...U,
17463
17463
  series: E,
17464
17464
  data: o,
@@ -17497,7 +17497,7 @@ function yT(t) {
17497
17497
  }
17498
17498
  async function ST(t) {
17499
17499
  const { chart: e, queryObject: i, errorStrings: a } = t;
17500
- if (qr(e)) {
17500
+ if (Zr(e)) {
17501
17501
  const o = O(e.uid, "actionMode");
17502
17502
  o !== J.MonoSelection && o !== J.None && (e.series.each((n) => {
17503
17503
  switch (!0) {
@@ -17570,7 +17570,7 @@ function CT(t, e) {
17570
17570
  u = d;
17571
17571
  break;
17572
17572
  case y.ScatterSeries:
17573
- u = Ad(t, e);
17573
+ u = Td(t, e);
17574
17574
  break;
17575
17575
  }
17576
17576
  return i = c || u, i;
@@ -17591,7 +17591,7 @@ function LT(t) {
17591
17591
  }
17592
17592
  function Ys(t) {
17593
17593
  const { chart: e, actionMode: i, cursorRange: a } = t;
17594
- if (qr(e)) {
17594
+ if (Zr(e)) {
17595
17595
  const o = O(e.uid, "actionMode"), n = i ?? o ?? F.actionMode;
17596
17596
  ht(e.uid, { actionMode: n }), n === J.None && ji({ chart: e, selectionSource: ge.ClearSelection }), rF({ chart: e, actionMode: n, cursorRange: a });
17597
17597
  }
@@ -17711,7 +17711,7 @@ function kT(t) {
17711
17711
  sizePolicyChangesRequireSeriesReinit: v,
17712
17712
  seriesCompositionChanged: b
17713
17713
  });
17714
- return R && (tm({ chart: e, chartConfig: i, errorStrings: k, queryObject: u }), I = [!0, !0]), w && (e.series.clear(), ml({ chart: e, chartConfig: i, options: d, utilsStrings: T, queryObject: u, errorStrings: k }), e.gridContainer?.toBack?.()), im({
17714
+ return R && (tm({ chart: e, chartConfig: i, errorStrings: k, queryObject: u }), I = [!0, !0]), w && (e.series.clear(), gl({ chart: e, chartConfig: i, options: d, utilsStrings: T, queryObject: u, errorStrings: k }), e.gridContainer?.toBack?.()), im({
17715
17715
  chart: e,
17716
17716
  chartConfig: i,
17717
17717
  queryObject: u,
@@ -17777,7 +17777,7 @@ function IT(t) {
17777
17777
  if (o === void 0)
17778
17778
  throw new Error();
17779
17779
  let v = O(e.uid, "config");
17780
- if (e.isDisposed() || !bd(v, o))
17780
+ if (e.isDisposed() || !yd(v, o))
17781
17781
  throw new gi(ao.ChartDisposed);
17782
17782
  v ??= o, ht(e.uid, { queryObject: h });
17783
17783
  const T = Z(o.series), k = Qe(o);
@@ -17790,14 +17790,14 @@ function IT(t) {
17790
17790
  colorMatchApplied: d,
17791
17791
  rendererFieldNames: u
17792
17792
  });
17793
- const I = Lt(h, L), R = Rg(v, o), w = Sd(v, o), M = ad(v, o), $ = wg(v, o), B = CT(v, o), P = JSON.stringify(Zo(v.series)) !== JSON.stringify(Zo(o.series)), Y = ir(v, o), z = Og(v, o), X = yd(v, o), U = Ad(v, o), _ = Dg(v, o), j = Ln({
17793
+ const I = Lt(h, L), R = Rg(v, o), w = Cd(v, o), M = od(v, o), $ = wg(v, o), B = CT(v, o), P = JSON.stringify(Zo(v.series)) !== JSON.stringify(Zo(o.series)), Y = ir(v, o), z = Og(v, o), X = Sd(v, o), U = Td(v, o), _ = Dg(v, o), j = Ln({
17794
17794
  oldConfig: l ? f : v,
17795
17795
  newConfig: o,
17796
17796
  dataWasUpdated: s
17797
17797
  });
17798
17798
  let E = !1, ee = !1, ve = !1, Le = !1;
17799
17799
  zt(v) && zt(o) && (E = $g(v, o), ee = Mg(v, o), ve = Bg(v, o) || Ng(v, o) || E, Le = Pg(v, o));
17800
- const et = Cd({
17800
+ const et = xd({
17801
17801
  oldConfig: v,
17802
17802
  newConfig: o,
17803
17803
  rotationChanged: w
@@ -17812,10 +17812,10 @@ function IT(t) {
17812
17812
  });
17813
17813
  }
17814
17814
  e instanceof co && Xx({ chartSeries: e.series, oldSeries: ii, newSeries: fi });
17815
- const wo = e instanceof Qt ? wr(
17815
+ const wo = e instanceof Qt ? Or(
17816
17816
  ii,
17817
17817
  fi
17818
- ) : !1, is = id({ oldConfig: v, newConfig: o }), Oo = /* @__PURE__ */ new Map();
17818
+ ) : !1, is = ad({ oldConfig: v, newConfig: o }), Oo = /* @__PURE__ */ new Map();
17819
17819
  (f ?? o).series.forEach((ba, as) => {
17820
17820
  Oo.set(ba.id, as);
17821
17821
  }), am(e, o.background), rm(e, { title: o.title, subtitle: o.subtitle }), lm(e, o.footer), sm({
@@ -17905,7 +17905,7 @@ function IT(t) {
17905
17905
  }
17906
17906
  function RT(t) {
17907
17907
  const { chart: e, data: i, chartConfig: a, pieSlicesSymbols: o, options: n, queryObject: s, utilsStrings: r, errorStrings: l } = t;
17908
- cT(e), ml({ chart: e, chartConfig: a, options: n, utilsStrings: r, queryObject: s, errorStrings: l }), ts({
17908
+ cT(e), gl({ chart: e, chartConfig: a, options: n, utilsStrings: r, queryObject: s, errorStrings: l }), ts({
17909
17909
  chart: e,
17910
17910
  chartConfig: a,
17911
17911
  options: n,
@@ -17948,7 +17948,7 @@ function wT(t) {
17948
17948
  gaugeInnerLabelFormatter: o?.gaugeInnerLabelFormatter,
17949
17949
  utilsStrings: r,
17950
17950
  errorStrings: l
17951
- }), ml({ chart: e, chartConfig: a, options: o, utilsStrings: r, queryObject: n, errorStrings: l }), e.gridContainer?.toBack?.(), ts({
17951
+ }), gl({ chart: e, chartConfig: a, options: o, utilsStrings: r, queryObject: n, errorStrings: l }), e.gridContainer?.toBack?.(), ts({
17952
17952
  chart: e,
17953
17953
  chartConfig: a,
17954
17954
  seriesIndexMapper: s,
@@ -18036,7 +18036,7 @@ function OT(t) {
18036
18036
  queryObject: c,
18037
18037
  utilsStrings: f,
18038
18038
  errorStrings: u
18039
- })), C instanceof co && (x = Bc(C, i), Tm({
18039
+ })), C instanceof co && (x = Nc(C, i), Tm({
18040
18040
  chart: C,
18041
18041
  chartConfig: i,
18042
18042
  legend: x,
@@ -18050,7 +18050,7 @@ function OT(t) {
18050
18050
  }
18051
18051
  return {
18052
18052
  update: (v) => {
18053
- x === void 0 && (x = Bc(C, v.chartConfig)), IT({ chart: C, legend: x, updateProps: v });
18053
+ x === void 0 && (x = Nc(C, v.chartConfig)), IT({ chart: C, legend: x, updateProps: v });
18054
18054
  },
18055
18055
  dispose: () => vT(S),
18056
18056
  resetZoom: L,
@@ -18093,7 +18093,7 @@ class Cs extends EventTarget {
18093
18093
  return Xh(this._revision, this._config, this._configHistory, e);
18094
18094
  }
18095
18095
  }
18096
- function Wc(t) {
18096
+ function Ec(t) {
18097
18097
  let e = "";
18098
18098
  for (let a = 0; a < t.length; a += 1) {
18099
18099
  const o = t[a];
@@ -18108,7 +18108,7 @@ function Wc(t) {
18108
18108
  function DT(t) {
18109
18109
  const { chartConfig: e, createMessage: i, status: a, errorStrings: o } = t, { schemaErrors: n, customErrors: s, warnings: r } = a;
18110
18110
  let l = "", c = "";
18111
- return e === void 0 ? (c = i === void 0 ? o.modalHeaders.newChart : "", l = i ?? o.errors.newChartRequest) : n.length > 0 ? (c = o.modalHeaders.error, l = o.errors.simpleError) : s.length > 0 ? (c = o.modalHeaders.error, l = Wc(s)) : r.length > 0 && (c = o.modalHeaders.warning, l = `<p>${o.errors.warningRequest}</p>${Wc(r)}`), { title: c, message: l };
18111
+ return e === void 0 ? (c = i === void 0 ? o.modalHeaders.newChart : "", l = i ?? o.errors.newChartRequest) : n.length > 0 ? (c = o.modalHeaders.error, l = o.errors.simpleError) : s.length > 0 ? (c = o.modalHeaders.error, l = Ec(s)) : r.length > 0 && (c = o.modalHeaders.warning, l = `<p>${o.errors.warningRequest}</p>${Ec(r)}`), { title: c, message: l };
18112
18112
  }
18113
18113
  function $T(t, e) {
18114
18114
  let i;
@@ -18168,8 +18168,8 @@ function BT(t) {
18168
18168
  e?.axes?.forEach((o) => {
18169
18169
  i.textColor && (o?.title?.content && (!o.title.content.color || o.title.content.color.toString() === a) && (o.title.content.color = i.textColor), o?.labels?.content && (!o.labels.content.color || o.labels.content.color.toString() === a) && (o.labels.content.color = i.textColor));
18170
18170
  const n = wa();
18171
- n[3] = kl, o?.grid && i.secondaryLineColor && (!o.grid.color || o.grid.color.toString() === n.toString()) && (o.grid.color = i.secondaryLineColor, o.grid.color[3] = kl), o?.lineSymbol && i.lineColor && (!o.lineSymbol.color || o.lineSymbol.color.toString() === bh.toString()) && (o.lineSymbol.color = i.lineColor), o?.guides?.forEach((s) => {
18172
- s.label && i.textColor && (!s.label.color || s.label.color.toString() === a) && (s.label.color = i.textColor), i.lineColor && (s.style?.type === K.SLS && (!s.style.color || s.style.color.toString() === _l.style.color?.toString()) ? s.style.color = i.lineColor : s.style?.type === K.SFS && s.style?.outline && (!s.style.outline.color || s.style.outline.color.toString() === _l.style.color?.toString()) && (s.style.outline.color = i.lineColor));
18171
+ n[3] = Il, o?.grid && i.secondaryLineColor && (!o.grid.color || o.grid.color.toString() === n.toString()) && (o.grid.color = i.secondaryLineColor, o.grid.color[3] = Il), o?.lineSymbol && i.lineColor && (!o.lineSymbol.color || o.lineSymbol.color.toString() === bh.toString()) && (o.lineSymbol.color = i.lineColor), o?.guides?.forEach((s) => {
18172
+ s.label && i.textColor && (!s.label.color || s.label.color.toString() === a) && (s.label.color = i.textColor), i.lineColor && (s.style?.type === K.SLS && (!s.style.color || s.style.color.toString() === Gl.style.color?.toString()) ? s.style.color = i.lineColor : s.style?.type === K.SFS && s.style?.outline && (!s.style.outline.color || s.style.outline.color.toString() === Gl.style.color?.toString()) && (s.style.outline.color = i.lineColor));
18173
18173
  });
18174
18174
  });
18175
18175
  }
@@ -18189,7 +18189,7 @@ function VT(t) {
18189
18189
  }
18190
18190
  function WT(t) {
18191
18191
  const { config: e, themeColors: i } = t, a = e?.series[0];
18192
- a?.type === y.PieSeries && a.ticks?.lineSymbol && i.secondaryLineColor && (!a.ticks.lineSymbol.color || a.ticks.lineSymbol.color.toString() === Lr.toString()) && (a.ticks.lineSymbol.color = i.secondaryLineColor);
18192
+ a?.type === y.PieSeries && a.ticks?.lineSymbol && i.secondaryLineColor && (!a.ticks.lineSymbol.color || a.ticks.lineSymbol.color.toString() === Fr.toString()) && (a.ticks.lineSymbol.color = i.secondaryLineColor);
18193
18193
  }
18194
18194
  function ET(t) {
18195
18195
  const { config: e, themeColors: i } = t, a = wa().toString();
@@ -18300,11 +18300,11 @@ function KT(t) {
18300
18300
  // observe initialization changes so unsupported clones can be retried after loading.
18301
18301
  () => i.allLayers.map((a) => `${a.uid}:${a.loadStatus}`),
18302
18302
  () => {
18303
- const a = t.layer, o = a ? Td(a) : void 0, n = o ? (
18303
+ const a = t.layer, o = a ? kd(a) : void 0, n = o ? (
18304
18304
  // match on stable identity fields preserved across clone-and-replace.
18305
18305
  Array.from(i.allLayers).find((r) => r.id === o.id)
18306
18306
  ) : void 0, s = n?.uid !== o?.uid;
18307
- n && s && kd(n) && (t.layer = n);
18307
+ n && s && Id(n) && (t.layer = n);
18308
18308
  }
18309
18309
  ) : void 0;
18310
18310
  }
@@ -18575,7 +18575,7 @@ async function ik(t = ea(document.documentElement).t9nLocale) {
18575
18575
  }
18576
18576
  return e;
18577
18577
  }
18578
- async function Ec(t = ea(document.documentElement).t9nLocale, e) {
18578
+ async function zc(t = ea(document.documentElement).t9nLocale, e) {
18579
18579
  const i = e ? await ik(t) : await tk(t), a = (await ek(t)).customAmchartsStrings;
18580
18580
  return { ...i, ...a };
18581
18581
  }
@@ -18641,7 +18641,7 @@ class nk extends fp {
18641
18641
  }
18642
18642
  class sk extends Em {
18643
18643
  constructor() {
18644
- super(), this._messages = Nl(), this._chartRef = Ym(), this._commonStrings = Nl({ name: "common", blocking: !0 }), this._watchHandlersController = new nk(this), this._rotated = !1, this._legendVisibility = !1, this._showLoader = !1, this._lastRenderedRevision = 0, this._noRenderingUpdateProps = [
18644
+ super(), this._messages = Pl(), this._chartRef = Ym(), this._commonStrings = Pl({ name: "common", blocking: !0 }), this._watchHandlersController = new nk(this), this._rotated = !1, this._legendVisibility = !1, this._showLoader = !1, this._lastRenderedRevision = 0, this._noRenderingUpdateProps = [
18645
18645
  "_messages",
18646
18646
  "showLoader",
18647
18647
  "infoModalMessage",
@@ -18663,8 +18663,8 @@ class sk extends Em {
18663
18663
  await vt.whenOnce(() => !d.updating), Ki(d) && (e = d);
18664
18664
  }
18665
18665
  const l = it(e);
18666
- await Ll(l, o);
18667
- const c = await zl({
18666
+ await Fl(l, o);
18667
+ const c = await Hl({
18668
18668
  errorStrings: this._commonStrings.errorStrings,
18669
18669
  queryObject: e,
18670
18670
  abortSignal: o
@@ -18682,8 +18682,8 @@ class sk extends Em {
18682
18682
  task: async ([e], { signal: i }) => {
18683
18683
  if (e !== void 0) {
18684
18684
  const a = await Vm.fromPortalItem({ portalItem: new Wm({ id: e }) });
18685
- if (await Ll(a, i), kd(a) || Xe(a)) {
18686
- const o = await zl({
18685
+ if (await Fl(a, i), Id(a) || Xe(a)) {
18686
+ const o = await Hl({
18687
18687
  errorStrings: this._commonStrings.errorStrings,
18688
18688
  queryObject: a,
18689
18689
  abortSignal: i
@@ -18828,7 +18828,7 @@ class sk extends Em {
18828
18828
  this._checkIfDataUpdateIsNeeded.value?.dataUpdateNeeded
18829
18829
  ],
18830
18830
  task: async ([e, i, a, o, n, s, r, l, c, d, u, f, g, h, b, p], { signal: S }) => {
18831
- const C = this.internalModel?.config, x = b !== this._lastRenderedProps?.extraProps?.layer, L = this.filterByExtent !== this._lastRenderedProps?.extraProps?.filterByExtent || this.filterByViewExtent !== this._lastRenderedProps?.extraProps?.filterByViewExtent, v = a === !0 && (p || x || L), T = $l({
18831
+ const C = this.internalModel?.config, x = b !== this._lastRenderedProps?.extraProps?.layer, L = this.filterByExtent !== this._lastRenderedProps?.extraProps?.filterByExtent || this.filterByViewExtent !== this._lastRenderedProps?.extraProps?.filterByViewExtent, v = a === !0 && (p || x || L), T = Ml({
18832
18832
  runtimeDataFilters: o,
18833
18833
  view: n,
18834
18834
  viewTimeExtentChangePolicy: s,
@@ -18910,7 +18910,7 @@ class sk extends Em {
18910
18910
  let R;
18911
18911
  const { dataUpdateNeeded: w, dataUpdateDetails: M } = await this._checkIfDataUpdateIsNeeded.taskComplete;
18912
18912
  if (T && x && !Zi(T)) {
18913
- const $ = Hl({
18913
+ const $ = _l({
18914
18914
  input: T,
18915
18915
  queryObject: x,
18916
18916
  allowUsingObjectIdStat: this._gatherComponentOptions().allowUsingObjectIdStat,
@@ -18973,7 +18973,7 @@ class sk extends Em {
18973
18973
  ea(this._chartRef.value ?? document.documentElement).t9nLocale,
18974
18974
  this._useAmCharts5()
18975
18975
  ],
18976
- task: async ([e, i]) => await Ec(e, i),
18976
+ task: async ([e, i]) => await zc(e, i),
18977
18977
  onComplete: () => {
18978
18978
  this.taskCompletionTick++;
18979
18979
  },
@@ -18998,7 +18998,7 @@ class sk extends Em {
18998
18998
  return this.selectionManager !== void 0 || this.view?.selectionManager !== void 0 && (this.syncViewSelection || this.syncSelectionsBetweenChartAndLayerViewPolicy === As.Enabled);
18999
18999
  }
19000
19000
  get loadedLayer() {
19001
- return this.queryObject ? Td(this.queryObject) : void 0;
19001
+ return this.queryObject ? kd(this.queryObject) : void 0;
19002
19002
  }
19003
19003
  get _isAnyTaskPending() {
19004
19004
  return [
@@ -19011,7 +19011,7 @@ class sk extends Em {
19011
19011
  this._isChartSupportedByDataSource,
19012
19012
  this._getData,
19013
19013
  this._fetchAmChartsStrings
19014
- ].some((e) => e.status === pl.PENDING);
19014
+ ].some((e) => e.status === bl.PENDING);
19015
19015
  }
19016
19016
  get showLoader() {
19017
19017
  return this._showLoader;
@@ -19082,12 +19082,12 @@ class sk extends Em {
19082
19082
  };
19083
19083
  if (this._sanitizedChartData) {
19084
19084
  await this._loadQueryObject.taskComplete;
19085
- const n = this.queryObject, s = n ? Lt(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this.internalModel?.config, l = _g(this.getEffectiveTimeZone(r)), c = this._processedChartData ?? this._sanitizedChartData, d = await Gg(it(n)), u = r?.chartRenderer ? Xg(r.chartRenderer) : [], f = [.../* @__PURE__ */ new Set([...d, ...u])], g = ka(r, f), h = lt(this.internalModel) ? this.internalModel?.titleText : this.internalModel?.config ? Vl(this.internalModel.config) : this._commonStrings.utilsStrings.chartType.chart;
19085
+ const n = this.queryObject, s = n ? Lt(n, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled) : void 0, r = this.internalModel?.config, l = _g(this.getEffectiveTimeZone(r)), c = this._processedChartData ?? this._sanitizedChartData, d = await Gg(it(n)), u = r?.chartRenderer ? Xg(r.chartRenderer) : [], f = [.../* @__PURE__ */ new Set([...d, ...u])], g = ka(r, f), h = lt(this.internalModel) ? this.internalModel?.titleText : this.internalModel?.config ? Wl(this.internalModel.config) : this._commonStrings.utilsStrings.chartType.chart;
19086
19086
  if (Object.values(c).filter((p) => Array.isArray(p) && p.length > 0).length > 1) {
19087
19087
  const p = new Gm();
19088
19088
  Object.entries(c).forEach(([C, x]) => {
19089
19089
  if (Array.isArray(x) && x.length > 0) {
19090
- const L = Ml({
19090
+ const L = Bl({
19091
19091
  rawData: x,
19092
19092
  config: r,
19093
19093
  layer: n,
@@ -19097,7 +19097,7 @@ class sk extends Em {
19097
19097
  timeZone: l,
19098
19098
  formatLocale: e?.locale,
19099
19099
  utilsStrings: this._commonStrings.utilsStrings
19100
- }), v = Bl(L, e), T = `${h}-${C}.csv`;
19100
+ }), v = Nl(L, e), T = `${h}-${C}.csv`;
19101
19101
  p.file(T, v);
19102
19102
  }
19103
19103
  });
@@ -19106,7 +19106,7 @@ class sk extends Em {
19106
19106
  } else {
19107
19107
  let p;
19108
19108
  if ("bins" in c ? p = c.bins : "dataItems" in c && (p = c.dataItems), p) {
19109
- const S = Ml({
19109
+ const S = Bl({
19110
19110
  rawData: p,
19111
19111
  config: r,
19112
19112
  layer: n,
@@ -19116,7 +19116,7 @@ class sk extends Em {
19116
19116
  timeZone: l,
19117
19117
  formatLocale: e?.locale,
19118
19118
  utilsStrings: this._commonStrings.utilsStrings
19119
- }), C = Bl(S, e);
19119
+ }), C = Nl(S, e);
19120
19120
  i = URL.createObjectURL(new Blob([C], { type: "text/csv;charset=utf-8;" })), a = `${h}.csv`;
19121
19121
  }
19122
19122
  }
@@ -19126,7 +19126,7 @@ class sk extends Em {
19126
19126
  async exportAsImage(e = Yg.PNG) {
19127
19127
  const i = this._chartRef.value;
19128
19128
  if (i) {
19129
- const a = await _m(i, { scale: 2 }), n = `${lt(this.internalModel) ? this.internalModel.titleText : this.internalModel?.config ? Vl(this.internalModel.config) : this._commonStrings.utilsStrings.chartType.chart}.${e}`;
19129
+ const a = await _m(i, { scale: 2 }), n = `${lt(this.internalModel) ? this.internalModel.titleText : this.internalModel?.config ? Wl(this.internalModel.config) : this._commonStrings.utilsStrings.chartType.chart}.${e}`;
19130
19130
  await a.download({ format: e, filename: n });
19131
19131
  } else
19132
19132
  this.notify(this._commonStrings?.errorStrings.errors.exportImageChartNotReady);
@@ -19174,7 +19174,7 @@ class sk extends Em {
19174
19174
  disconnectedCallback() {
19175
19175
  if (super.disconnectedCallback(), Xe(this.queryObject)) {
19176
19176
  const e = this.internalModel?.config?.id ?? this.el.id;
19177
- Fl({ chartId: e, view: this.view, isChartVisible: !1 }), jg(this.view);
19177
+ Al({ chartId: e, view: this.view, isChartVisible: !1 }), jg(this.view);
19178
19178
  }
19179
19179
  this._removeLayerWatchHandlers(), this._watchHandlersController.removeViewExtentChangeWatchHandlers(), this._removeViewWatchHandlers(), this._removeSelectionManagerChangeWatchHandler(), this.autoDestroyDisabled || this._chart?.dispose();
19180
19180
  }
@@ -19210,8 +19210,8 @@ class sk extends Em {
19210
19210
  async _generateHeatChartClassBreaks(e, i) {
19211
19211
  if (!Xe(this.loadedLayer) && ($o(this.internalModel) || zt(this.internalModel?.config)) && e?.data && "dataItems" in e.data) {
19212
19212
  const a = this.internalModel, o = $o(a);
19213
- let n, s = Il, r, l, c, d, u;
19214
- o ? (n = a.classificationMethod, s = a.breaksCount, r = a.colorRampName, l = a.xAxisField, c = a.chartRenderer?.classBreakInfos, d = a.isColorRampFlipped, u = a.chartRenderer) : a && zt(a.config) && (n = a.config.series[0]?.classBreaksRules?.classificationMethod, s = a.config.series[0]?.classBreaksRules?.breaksCount ?? Il, r = a.config.series[0]?.classBreaksRules?.colorRampInfo?.name, l = a.config.series[0]?.x, c = a.config.chartRenderer?.classBreakInfos, d = a.config.series[0]?.classBreaksRules?.colorRampInfo?.flipped, u = a.config.chartRenderer);
19213
+ let n, s = Rl, r, l, c, d, u;
19214
+ o ? (n = a.classificationMethod, s = a.breaksCount, r = a.colorRampName, l = a.xAxisField, c = a.chartRenderer?.classBreakInfos, d = a.isColorRampFlipped, u = a.chartRenderer) : a && zt(a.config) && (n = a.config.series[0]?.classBreaksRules?.classificationMethod, s = a.config.series[0]?.classBreaksRules?.breaksCount ?? Rl, r = a.config.series[0]?.classBreaksRules?.colorRampInfo?.name, l = a.config.series[0]?.x, c = a.config.chartRenderer?.classBreakInfos, d = a.config.series[0]?.classBreaksRules?.colorRampInfo?.flipped, u = a.config.chartRenderer);
19215
19215
  const f = await dp({
19216
19216
  data: e.data,
19217
19217
  classificationMethod: n,
@@ -19239,7 +19239,7 @@ class sk extends Em {
19239
19239
  }, 300)), !this._isAnyTaskPending) {
19240
19240
  if (e !== void 0 && this._chart !== void 0)
19241
19241
  try {
19242
- (!e && !this.loadedLayer || Pl(e, this.loadedLayer) && !Zi(e) && await this._isChartSupportedByDataSource.taskComplete) && await this._renderChart();
19242
+ (!e && !this.loadedLayer || Vl(e, this.loadedLayer) && !Zi(e) && await this._isChartSupportedByDataSource.taskComplete) && await this._renderChart();
19243
19243
  } catch (i) {
19244
19244
  this._chartRef.value !== void 0 && (i instanceof gi && i.name === ao.ChartDisposed ? (this._chart?.dispose(), this._chart = void 0, this._chartRef.value.innerHTML = "", await this._createChartInstance(!1)) : this._handleRuntimeError(i));
19245
19245
  }
@@ -19273,7 +19273,7 @@ class sk extends Em {
19273
19273
  }
19274
19274
  _configPanelNumberChange(e) {
19275
19275
  const i = e, { panelNumber: a, modelList: o } = i.detail;
19276
- this._actionBarElement && (this.enableConfiguration || this.configurationEnabled) && this._ourModelExistsIn(o) && (this._actionBarElement.editChartToggle = a === 1 ? Gl.Active : Gl.Inactive, this._actionBarElement.editChartActive = a === 1);
19276
+ this._actionBarElement && (this.enableConfiguration || this.configurationEnabled) && this._ourModelExistsIn(o) && (this._actionBarElement.editChartToggle = a === 1 ? Xl.Active : Xl.Inactive, this._actionBarElement.editChartActive = a === 1);
19277
19277
  }
19278
19278
  _configDataChangeError(e) {
19279
19279
  const i = e, { error: a, model: o } = i.detail;
@@ -19284,7 +19284,7 @@ class sk extends Em {
19284
19284
  JSON.stringify(n) !== JSON.stringify(a) && (this.modelRevision = this.internalModel?.revision, this.requestUpdate("config", n)), this.arcgisConfigChange.emit({ newConfig: a, oldConfig: n, functionCalled: o }), this._actionBarElement && !Zi(a) && (this._actionBarElement.forceDisableActions = !1), Xe(this.queryObject) && W(a?.series) === y.ScatterSeries && this._syncImageryScatterplotAoiGraphicsLayer();
19285
19285
  }
19286
19286
  _modelDataChange() {
19287
- this.setTimeBinningInfoWhenNotProvided && Wl(this.internalModel) && this.internalModel?.resetTimeInterval();
19287
+ this.setTimeBinningInfoWhenNotProvided && El(this.internalModel) && this.internalModel?.resetTimeInterval();
19288
19288
  }
19289
19289
  _actionBarSlotRef(e) {
19290
19290
  this._actionBarElement = e && "assignedElements" in e ? e.assignedElements().find((i) => i.tagName.toLowerCase() === "arcgis-charts-action-bar") : void 0;
@@ -19324,7 +19324,7 @@ class sk extends Em {
19324
19324
  this.notify(i?.invalidConfig, void 0);
19325
19325
  } else e.warnings.length > 0 && e.warnings.some((n) => n.keyword === qg.NonNumericAggregation) && this.notify(i?.validateAggregationTypeMsg, i?.missingNumericFields);
19326
19326
  }
19327
- if ((tp(this.internalModel) || ip(this.internalModel) || El(this.internalModel) || ap(this.internalModel)) && this.internalModel.aggregationType === jt.NoAggregation && this.internalModel.numericFields.length === 1 && this.loadedLayer) {
19327
+ if ((tp(this.internalModel) || ip(this.internalModel) || zl(this.internalModel) || ap(this.internalModel)) && this.internalModel.aggregationType === jt.NoAggregation && this.internalModel.numericFields.length === 1 && this.loadedLayer) {
19328
19328
  const a = sa(this.loadedLayer).idField;
19329
19329
  a && this.internalModel.numericFields.includes(a) && this.notify(i?.noAggregationRequiresNumericFields, i?.missingNumericFields);
19330
19330
  }
@@ -19413,7 +19413,7 @@ class sk extends Em {
19413
19413
  }
19414
19414
  _filterBySelectionChanged() {
19415
19415
  if (this.internalModel) {
19416
- this.setTimeBinningInfoWhenNotProvided && Wl(this.internalModel) && this.internalModel.resetTimeInterval();
19416
+ this.setTimeBinningInfoWhenNotProvided && El(this.internalModel) && this.internalModel.resetTimeInterval();
19417
19417
  const e = Qh(ke(this.internalModel.config));
19418
19418
  this.internalModel.config = e;
19419
19419
  }
@@ -19424,11 +19424,11 @@ class sk extends Em {
19424
19424
  _getSelectionFromSelectionManager() {
19425
19425
  let e;
19426
19426
  const i = this.loadedLayer;
19427
- return (this.view || this.selectionManager) && Al(i) && (e = (this.selectionManager ?? this.view?.selectionManager)?.getSelection(i)), e;
19427
+ return (this.view || this.selectionManager) && Tl(i) && (e = (this.selectionManager ?? this.view?.selectionManager)?.getSelection(i)), e;
19428
19428
  }
19429
19429
  _setSelectionInSelectionManager() {
19430
19430
  const e = this.selectionManager ?? this.view?.selectionManager;
19431
- if (this.loadedLayer && e && Al(this.loadedLayer) && this._isSelectionManagerEnabled) {
19431
+ if (this.loadedLayer && e && Tl(this.loadedLayer) && this._isSelectionManagerEnabled) {
19432
19432
  const i = this.selectionData?.selectionOIDs?.length === 0 || this.selectionData?.selectionOIDs === void 0 || this.selectionData?.selectionSource === ge.ClearSelection, a = (this.selectionData?.selectionOIDs?.length ?? 0) > 0;
19433
19433
  i ? e.clear() : a && this.selectionData?.selectionOIDs && e.replace(this.loadedLayer, this.selectionData.selectionOIDs);
19434
19434
  }
@@ -19464,7 +19464,7 @@ class sk extends Em {
19464
19464
  this._watchHandlersController.removeSelectionManagerChangeWatchHandler();
19465
19465
  }
19466
19466
  _applyPlaceholderForPartialConfig(e) {
19467
- const i = El(this.internalModel) ? y.ComboLineAndBarSeries : W(e?.series), a = $T(i, this._commonStrings?.errorStrings);
19467
+ const i = zl(this.internalModel) ? y.ComboLineAndBarSeries : W(e?.series), a = $T(i, this._commonStrings?.errorStrings);
19468
19468
  this.notify(a);
19469
19469
  }
19470
19470
  _checkForIncompatibleChartVersion() {
@@ -19493,15 +19493,15 @@ class sk extends Em {
19493
19493
  };
19494
19494
  }
19495
19495
  _addMutationObserverForCalciteTheme() {
19496
- gl(this.el, ["class"], () => {
19497
- const e = hl(this.el);
19496
+ hl(this.el, ["class"], () => {
19497
+ const e = pl(this.el);
19498
19498
  e !== this._calciteThemeApplied && (this._calciteThemeApplied = e, this.refresh({ updateData: !1 }));
19499
19499
  });
19500
19500
  }
19501
19501
  _addMutationObserverForImageryScatterplotAoi() {
19502
19502
  const e = Xe(this.queryObject), i = W(this.internalModel?.config?.series);
19503
19503
  e && i === y.ScatterSeries && this.manager.onLifecycle(() => {
19504
- const a = () => this._syncImageryScatterplotAoiGraphicsLayer(), o = gl(this.el, ["selected"], a);
19504
+ const a = () => this._syncImageryScatterplotAoiGraphicsLayer(), o = hl(this.el, ["selected"], a);
19505
19505
  return a(), () => {
19506
19506
  o();
19507
19507
  };
@@ -19510,7 +19510,7 @@ class sk extends Em {
19510
19510
  _syncImageryScatterplotAoiGraphicsLayer() {
19511
19511
  if (this.isConnected) {
19512
19512
  const e = this.internalModel?.config?.id ?? this.el.id, i = !this.el.hidden && this.el.checkVisibility();
19513
- Fl({
19513
+ Al({
19514
19514
  chartConfig: this.internalModel?.config,
19515
19515
  chartId: e,
19516
19516
  isChartVisible: i,
@@ -19521,7 +19521,7 @@ class sk extends Em {
19521
19521
  async _completeChartOptionsWithSelectionInfo(e) {
19522
19522
  const { options: i, alteredConfig: a, queryObject: o, dataUpdateNeeded: n, dataUpdateDetails: s } = e, r = this._lastRenderedProps?.options?.selectionData, l = Z(a.series);
19523
19523
  if (!this.filterBySelection && !s?.common?.filterBySelectionChanged && !Xe(o)) {
19524
- const c = $l({
19524
+ const c = Ml({
19525
19525
  runtimeDataFilters: this.runtimeDataFilters,
19526
19526
  view: this.view,
19527
19527
  viewTimeExtentChangePolicy: this.viewTimeExtentChangePolicy,
@@ -19703,8 +19703,8 @@ class sk extends Em {
19703
19703
  const n = this._gatherComponentOptions(), s = Lt(o, this.usePopupTemplateFieldsInfo || this.popupTemplateFieldInfosEnabled), r = await this._checkIfDataUpdateIsNeeded.taskComplete, { dataUpdateDetails: l } = r, c = r.dataUpdateNeeded, d = await this._prepareConfigForRendering.taskComplete;
19704
19704
  let u = d?.alteredConfig ? { ...d.alteredConfig } : void 0;
19705
19705
  const f = this._lastRenderedProps?.chartConfig;
19706
- if (l?.common && f?.series && u?.series && (l.common.xOrYChanged = nh(f.series, u.series), l.common.numberOfSeriesChanged = sh(f.series, u.series)), !u && !this.loadedLayer || Pl(u, this.loadedLayer) && await this._isChartSupportedByDataSource.taskComplete) {
19707
- let g = Hl({
19706
+ if (l?.common && f?.series && u?.series && (l.common.xOrYChanged = nh(f.series, u.series), l.common.numberOfSeriesChanged = sh(f.series, u.series)), !u && !this.loadedLayer || Vl(u, this.loadedLayer) && await this._isChartSupportedByDataSource.taskComplete) {
19707
+ let g = _l({
19708
19708
  input: u,
19709
19709
  queryObject: o,
19710
19710
  allowUsingObjectIdStat: this._gatherComponentOptions().allowUsingObjectIdStat,
@@ -19721,7 +19721,7 @@ class sk extends Em {
19721
19721
  };
19722
19722
  let p = h.dataWasUpdated;
19723
19723
  if (W(u.series) === y.PieSeries) {
19724
- const S = jl({
19724
+ const S = ql({
19725
19725
  creation: a,
19726
19726
  previousConfig: f,
19727
19727
  newConfig: u,
@@ -19740,7 +19740,7 @@ class sk extends Em {
19740
19740
  });
19741
19741
  else {
19742
19742
  if (W(u.series) === y.PieSeries) {
19743
- const x = jl({
19743
+ const x = ql({
19744
19744
  creation: a,
19745
19745
  previousConfig: f,
19746
19746
  newConfig: u,
@@ -19756,7 +19756,7 @@ class sk extends Em {
19756
19756
  showEmptySeries: this.showEmptySeries ?? this.hideEmptySeries === !1,
19757
19757
  config: u,
19758
19758
  data: b?.data
19759
- }), this._getData.status === pl.COMPLETE) {
19759
+ }), this._getData.status === bl.COMPLETE) {
19760
19760
  const x = this._raiseNoDataWarning({ dataInfo: b, config: u, queryObject: o });
19761
19761
  if (x)
19762
19762
  this._processedChartData = ke(b.data), this._lastRenderedRevision = i ?? 0;
@@ -19774,12 +19774,12 @@ class sk extends Em {
19774
19774
  queryObject: o
19775
19775
  }), await this._generateHeatChartClassBreaks(b, u), ir(f, u) && (p = !0);
19776
19776
  const k = Vi(u) ? u.showMean : void 0, I = b?.data ?? this._sanitizedChartData, R = I && k && "meanLines" in I ? I.meanLines : qt(I);
19777
- R && (a || p) && ({ colorMatchApplied: this._colorMatchApplied, rendererFieldNames: this._rendererFieldNames } = await od({
19777
+ R && (a || p) && ({ colorMatchApplied: this._colorMatchApplied, rendererFieldNames: this._rendererFieldNames } = await nd({
19778
19778
  data: R,
19779
19779
  queryObject: o,
19780
19780
  chartConfig: u,
19781
- allowColorMatch: nd({ chartConfig: u, queryObject: o })
19782
- })), this._calciteThemeColors && (u = _T(u, this._calciteThemeColors), this._calciteThemeApplied = hl(this.el));
19781
+ allowColorMatch: sd({ chartConfig: u, queryObject: o })
19782
+ })), this._calciteThemeColors && (u = _T(u, this._calciteThemeColors), this._calciteThemeApplied = pl(this.el));
19783
19783
  let w = !1, M;
19784
19784
  if (u.series[0].type === y.PieSeries) {
19785
19785
  const B = qt(this._processedChartData), P = qt(b.data);
@@ -19826,7 +19826,7 @@ class sk extends Em {
19826
19826
  dataUpdateNeeded: c,
19827
19827
  dataUpdateDetails: l
19828
19828
  }), this._hideInfoModal();
19829
- const { t9nLocale: B } = ea(this._chartRef.value ?? document.documentElement), P = await Ec(B, this._useAmCharts5());
19829
+ const { t9nLocale: B } = ea(this._chartRef.value ?? document.documentElement), P = await zc(B, this._useAmCharts5());
19830
19830
  Eo(u) && Wp({
19831
19831
  chartConfig: u,
19832
19832
  chartData: b.data
@@ -19898,7 +19898,7 @@ class sk extends Em {
19898
19898
  }, s = this.notifyMessage !== void 0 ? { [Bt.NotifyPanel]: !0, [Bt.Show]: !0 } : { [Bt.Hide]: !0 };
19899
19899
  return to`<slot name=${_h.actionBar} @slotchange=${(r) => {
19900
19900
  this._actionBarElement = lp(r, this.el, this.internalModel?.config);
19901
- }} ${bl(this._actionBarSlotRef)}></slot>${i ? to`<arcgis-charts-info-modal .heading=${this._infoModalHeading} .message=${this.infoModalMessage} .showLoader=${this.showLoader} .loaderColors=${this.loaderColors} .calciteThemeColors=${this._calciteThemeColors}></arcgis-charts-info-modal>` : null}<div class=${os(o)}><div class=${os(n)} ${bl(this._chartRef)}></div></div><div class=${os(s)}>${e}</div>`;
19901
+ }} ${yl(this._actionBarSlotRef)}></slot>${i ? to`<arcgis-charts-info-modal .heading=${this._infoModalHeading} .message=${this.infoModalMessage} .showLoader=${this.showLoader} .loaderColors=${this.loaderColors} .calciteThemeColors=${this._calciteThemeColors}></arcgis-charts-info-modal>` : null}<div class=${os(o)}><div class=${os(n)} ${yl(this._chartRef)}></div></div><div class=${os(s)}>${e}</div>`;
19902
19902
  }
19903
19903
  }
19904
19904
  Pm("arcgis-chart", sk);