@arcgis/charts-components 5.1.21 → 5.1.23

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 (104) hide show
  1. package/dist/cdn/{ACAYZ7V6.js → 3V3CYWB2.js} +1 -1
  2. package/dist/cdn/{NTZGLES3.js → 3WZSHVIS.js} +1 -1
  3. package/dist/cdn/{7UOJOBV6.js → 44WONFTK.js} +1 -1
  4. package/dist/cdn/{IGZHSD7L.js → 4COIDBLV.js} +1 -1
  5. package/dist/cdn/{DAFZ3HHG.js → 5HN4U2JE.js} +1 -1
  6. package/dist/cdn/{7WD756NR.js → 5LAOC2W4.js} +1 -1
  7. package/dist/cdn/{T4PAQAVD.js → 5T7WEXWP.js} +1 -1
  8. package/dist/cdn/{4KOAJBCD.js → 6BUHLKBY.js} +1 -1
  9. package/dist/cdn/{UMDERA2A.js → 6FY2GE65.js} +1 -1
  10. package/dist/cdn/{6Q3HRUBF.js → 6JAHN3CE.js} +1 -1
  11. package/dist/cdn/{DAJPC53I.js → 776TGK5D.js} +1 -1
  12. package/dist/cdn/{D4XO4YC2.js → 7HJF6ERR.js} +1 -1
  13. package/dist/cdn/{TVD24TJJ.js → 7PQG3BFT.js} +1 -1
  14. package/dist/cdn/{MIAKGBIJ.js → 7RLKLEUY.js} +1 -1
  15. package/dist/cdn/{CDCPE664.js → A6YKZP46.js} +1 -1
  16. package/dist/cdn/{727I6MA4.js → AYCBH3IL.js} +1 -1
  17. package/dist/cdn/{ZR3BCP2L.js → BALKSTC5.js} +1 -1
  18. package/dist/cdn/{JWNZGCSP.js → BCT32NCL.js} +1 -1
  19. package/dist/cdn/{MYD6JDYW.js → BO3ALAKB.js} +1 -1
  20. package/dist/cdn/{ZVFSPVXS.js → BUVCIVJX.js} +1 -1
  21. package/dist/cdn/{EBR5RWQW.js → C4LQH6NY.js} +1 -1
  22. package/dist/cdn/{FW4YKFDC.js → CNZAMZQD.js} +1 -1
  23. package/dist/cdn/{ZXU5WUYV.js → DHA6YRWU.js} +1 -1
  24. package/dist/cdn/{SPBO5556.js → E6XDLZOC.js} +1 -1
  25. package/dist/cdn/{PIEJKD4H.js → EMWVNIPH.js} +1 -1
  26. package/dist/cdn/{QYNVPLID.js → ENICSVOW.js} +1 -1
  27. package/dist/cdn/{MQWAFQZK.js → EQY5KAI4.js} +1 -1
  28. package/dist/cdn/{DRDXCNRV.js → EXPEE6BH.js} +1 -1
  29. package/dist/cdn/{NBVXHTWI.js → F2EOPSI6.js} +1 -1
  30. package/dist/cdn/{U6OWLNZZ.js → F437F3FY.js} +1 -1
  31. package/dist/cdn/{XU3MFW7G.js → F4M4PGAX.js} +1 -1
  32. package/dist/cdn/{DJEA5IQ3.js → FDPWGHRO.js} +1 -1
  33. package/dist/cdn/{JRPSL6JC.js → GNWS22SQ.js} +1 -1
  34. package/dist/cdn/{CI65WMW7.js → GSFF6GKP.js} +1 -1
  35. package/dist/cdn/{YXEETRS3.js → H4S4CXNY.js} +1 -1
  36. package/dist/cdn/{A3H7UJ6M.js → H5THG6NK.js} +1 -1
  37. package/dist/cdn/{UNZXLO3J.js → H66VTWYK.js} +1 -1
  38. package/dist/cdn/{VQSHJ2UT.js → HNR6M5AE.js} +1 -1
  39. package/dist/cdn/{TTJFNYSS.js → HSK6AJXS.js} +1 -1
  40. package/dist/cdn/{ZCT4PWAE.js → HT6BXO4H.js} +1 -1
  41. package/dist/cdn/{NEFSG2WL.js → HZE4DTCF.js} +1 -1
  42. package/dist/cdn/{ZZJTXL7G.js → IESHBUYO.js} +1 -1
  43. package/dist/cdn/{ATWKMMCI.js → IM7BGLHO.js} +1 -1
  44. package/dist/cdn/{33NZFBJ6.js → IOHL6FJR.js} +1 -1
  45. package/dist/cdn/{BWPAYFIS.js → IZJRUALF.js} +1 -1
  46. package/dist/cdn/{MU22DYM3.js → JUQQGZHU.js} +1 -1
  47. package/dist/cdn/{NJGREDFD.js → JZ6SQUZF.js} +1 -1
  48. package/dist/cdn/{UK6H3KQH.js → KKEUKBUD.js} +1 -1
  49. package/dist/cdn/{N5B3VUL6.js → KKM3QRDC.js} +1 -1
  50. package/dist/cdn/{HPTJZU3T.js → KOGJNJO3.js} +1 -1
  51. package/dist/cdn/{DLDDNT7X.js → KUVZF2AT.js} +1 -1
  52. package/dist/cdn/{2EO4OFJO.js → KZCQA3BG.js} +1 -1
  53. package/dist/cdn/{37THU23Y.js → LGP6GKCY.js} +1 -1
  54. package/dist/cdn/{B5IXOI7Z.js → LKKSR5UK.js} +1 -1
  55. package/dist/cdn/{C6DXKHPQ.js → M7F7BYIL.js} +1 -1
  56. package/dist/cdn/{XKHRAOD6.js → MEXJPAMQ.js} +1 -1
  57. package/dist/cdn/{SNDSCU7U.js → MIEQJVO3.js} +1 -1
  58. package/dist/cdn/{YXRQSAXO.js → MM5SDGGL.js} +1 -1
  59. package/dist/cdn/{SNMDXKOK.js → NPCYLLMV.js} +1 -1
  60. package/dist/cdn/{SYZ3P3A5.js → NRKMEPI2.js} +1 -1
  61. package/dist/cdn/{7JRACDB2.js → NXTPTYZ5.js} +1 -1
  62. package/dist/cdn/{YK6WGBV3.js → O2PYGNZ3.js} +1 -1
  63. package/dist/cdn/{CII246OA.js → OKMI4FZR.js} +1 -1
  64. package/dist/cdn/{F2TNBWDH.js → P25CPENU.js} +1 -1
  65. package/dist/cdn/{X7775ZCN.js → PAYNVBL5.js} +1 -1
  66. package/dist/cdn/{HPBLB73K.js → PN7MYUBJ.js} +1 -1
  67. package/dist/cdn/{OKL2TW5C.js → PW52JJ6K.js} +1 -1
  68. package/dist/cdn/{2D7TGQBM.js → QNWAZDO5.js} +1 -1
  69. package/dist/cdn/{4YGRB5ZI.js → QWAADEIY.js} +1 -1
  70. package/dist/cdn/{LTIMWUGF.js → R2TXV7BU.js} +1 -1
  71. package/dist/cdn/{YYDE4CEX.js → RAGN262L.js} +1 -1
  72. package/dist/cdn/{X6KYH2BO.js → RBPVAQKX.js} +1 -1
  73. package/dist/cdn/{GXLNMLUY.js → RFRFYMJ2.js} +1 -1
  74. package/dist/cdn/{WY4QGPWN.js → RMYQKHVC.js} +1 -1
  75. package/dist/cdn/{WYC4YOYS.js → RXFTTJR7.js} +1 -1
  76. package/dist/cdn/{WWNT66FV.js → S33A2IFM.js} +1 -1
  77. package/dist/cdn/{33SCJZRM.js → SES5SS4V.js} +1 -1
  78. package/dist/cdn/{N5CHYZIS.js → SR2Y27FN.js} +1 -1
  79. package/dist/cdn/{7GHFOTWI.js → T3T6R2OA.js} +1 -1
  80. package/dist/cdn/{SJMKFTEI.js → TBTKX3PF.js} +1 -1
  81. package/dist/cdn/{2DOCB3FH.js → TOJJG4T5.js} +1 -1
  82. package/dist/cdn/{7HE3OSQU.js → TZXJ2HNP.js} +1 -1
  83. package/dist/cdn/{RM6YESOB.js → V5TQOIBM.js} +1 -1
  84. package/dist/cdn/{P75RUP3D.js → V6AAYSLT.js} +1 -1
  85. package/dist/cdn/{SFI44WRB.js → VC6B6QJU.js} +1 -1
  86. package/dist/cdn/{ZWAPF5PA.js → VSJPHYF5.js} +1 -1
  87. package/dist/cdn/{EUACHD6J.js → WHNEYU5G.js} +1 -1
  88. package/dist/cdn/{TLILSYOT.js → X2XPUB2V.js} +1 -1
  89. package/dist/cdn/{YFX7B73C.js → XCGOM6CI.js} +1 -1
  90. package/dist/cdn/{SK632GGD.js → XDIWGZB6.js} +1 -1
  91. package/dist/cdn/{USAEOCHC.js → XHL4VX7I.js} +1 -1
  92. package/dist/cdn/{E7KYWQVX.js → XMTYC5KS.js} +1 -1
  93. package/dist/cdn/{LVG4FABJ.js → XUKPRTEJ.js} +1 -1
  94. package/dist/cdn/{JGG36JKB.js → Y4Q5G6NR.js} +1 -1
  95. package/dist/cdn/{6H72P3I6.js → ZWMWYMXN.js} +2 -2
  96. package/dist/cdn/{MHYUNT2Z.js → ZWRQ5PXO.js} +1 -1
  97. package/dist/cdn/index.js +1 -1
  98. package/dist/cdn/model/shared/setup-utils.js +1 -1
  99. package/dist/chunks/index2.js +129 -129
  100. package/dist/chunks/runtime.js +1 -1
  101. package/dist/docs/api.json +1 -1
  102. package/dist/docs/docs.json +1 -1
  103. package/dist/docs/web-types.json +1 -1
  104. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { isEqual as at, sortBy as Ti, cloneDeep as He, memoize as qt, isArray as ui, isNil as hr, isEmpty as Sr } from "lodash-es";
3
- import { u as S, k as Fr, r as D, v as Ke, m as Se, p as ye, n as De, q as Te, g as Z, j as br, s as R, t as ee, d as he, a as Zi, G as xr } from "./chart-object-literals.js";
3
+ import { u as S, k as Fr, r as O, v as Ke, m as Se, p as ye, n as De, q as Te, g as Z, j as br, s as R, t as ee, d as he, a as Zi, G as xr } from "./chart-object-literals.js";
4
4
  import Ai from "@arcgis/core/layers/support/FeatureFilter.js";
5
5
  import Cr from "@arcgis/core/smartMapping/statistics/histogram.js";
6
6
  import wi from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
@@ -374,7 +374,7 @@ function gn(t) {
374
374
  let e = !1;
375
375
  const a = ge(z(t))?.sourceJSON;
376
376
  if (a) {
377
- const r = a.queryBinsCapabilities?.supportsFixedIntervalBin, n = a.queryBinsCapabilities?.supportedStatisticTypes, s = [D.Maximum, D.Count].every(
377
+ const r = a.queryBinsCapabilities?.supportsFixedIntervalBin, n = a.queryBinsCapabilities?.supportedStatisticTypes, s = [O.Maximum, O.Count].every(
378
378
  (o) => n?.includes(o.toUpperCase()) || n?.includes(o.toLowerCase())
379
379
  );
380
380
  e = r && s;
@@ -1820,7 +1820,7 @@ function os(t) {
1820
1820
  e.groupByFieldsForStatistics = Array.from(new Set(r));
1821
1821
  }
1822
1822
  function mi(t) {
1823
- return t.statisticType === D.ContinuousPercentile || t.statisticType === D.DiscretePercentile;
1823
+ return t.statisticType === O.ContinuousPercentile || t.statisticType === O.DiscretePercentile;
1824
1824
  }
1825
1825
  function ls(t) {
1826
1826
  const {
@@ -1838,7 +1838,7 @@ function ls(t) {
1838
1838
  const { outStatistics: l } = e;
1839
1839
  for (let d = 0; d < l.length; d += 1) {
1840
1840
  const f = l[d];
1841
- f !== void 0 && mi(f) && (s && !rt(u, r) ? (l[d].statisticType = D.Count, delete l[d].statisticParameters) : l[d] = {
1841
+ f !== void 0 && mi(f) && (s && !rt(u, r) ? (l[d].statisticType = O.Count, delete l[d].statisticParameters) : l[d] = {
1842
1842
  ...l[d],
1843
1843
  statisticParameters: l[d].statisticParameters ?? {
1844
1844
  value: W.defaultStatParameterValue
@@ -1855,33 +1855,33 @@ function ls(t) {
1855
1855
  }
1856
1856
  ];
1857
1857
  }
1858
- o === !0 && (!s || oe(u)) && e.outStatistics?.push({ statisticType: D.EnvelopeAggregate, onStatisticField: "1" });
1858
+ o === !0 && (!s || oe(u)) && e.outStatistics?.push({ statisticType: O.EnvelopeAggregate, onStatisticField: "1" });
1859
1859
  }
1860
1860
  function us(t) {
1861
1861
  const { chartConfig: e, fetchFullBoxPlotData: i } = t, { series: a } = e, r = st(e);
1862
1862
  let n = [
1863
- { statisticType: D.Average, suffix: E.Average }
1863
+ { statisticType: O.Average, suffix: E.Average }
1864
1864
  ];
1865
1865
  i === !0 && (n = [
1866
1866
  ...n,
1867
- { statisticType: D.Minimum, suffix: E.Min },
1867
+ { statisticType: O.Minimum, suffix: E.Min },
1868
1868
  {
1869
- statisticType: D.ContinuousPercentile,
1869
+ statisticType: O.ContinuousPercentile,
1870
1870
  statisticParameters: { value: 0.25 },
1871
1871
  suffix: E.FirstQuartile
1872
1872
  },
1873
1873
  {
1874
- statisticType: D.ContinuousPercentile,
1874
+ statisticType: O.ContinuousPercentile,
1875
1875
  statisticParameters: { value: 0.5 },
1876
1876
  suffix: E.Median
1877
1877
  },
1878
1878
  {
1879
- statisticType: D.ContinuousPercentile,
1879
+ statisticType: O.ContinuousPercentile,
1880
1880
  statisticParameters: { value: 0.75 },
1881
1881
  suffix: E.ThirdQuartile
1882
1882
  },
1883
- { statisticType: D.Maximum, suffix: E.Max },
1884
- { statisticType: D.StandardDeviation, suffix: E.StandardDeviation }
1883
+ { statisticType: O.Maximum, suffix: E.Max },
1884
+ { statisticType: O.StandardDeviation, suffix: E.StandardDeviation }
1885
1885
  ]);
1886
1886
  const s = /* @__PURE__ */ new Set();
1887
1887
  return r && "y" in a[0] ? [a[0].y].flat().forEach((u) => s.add(u)) : a.forEach((u) => {
@@ -1893,7 +1893,7 @@ function us(t) {
1893
1893
  statisticType: c.statisticType,
1894
1894
  outStatisticFieldName: `${u}_${c.suffix}`
1895
1895
  };
1896
- return c.statisticType === D.ContinuousPercentile && (l.statisticParameters = c.statisticParameters), l;
1896
+ return c.statisticType === O.ContinuousPercentile && (l.statisticParameters = c.statisticParameters), l;
1897
1897
  })
1898
1898
  );
1899
1899
  }
@@ -1915,7 +1915,7 @@ function ds(t) {
1915
1915
  {
1916
1916
  onStatisticField: s.length > 1 ? "*" : s[0],
1917
1917
  outStatisticFieldName: `COUNT_${s[0]}`,
1918
- statisticType: D.Count
1918
+ statisticType: O.Count
1919
1919
  }
1920
1920
  ]);
1921
1921
  }
@@ -1928,7 +1928,7 @@ function Ma(t) {
1928
1928
  const n = k(e.series);
1929
1929
  if (n === F.PieFromFields || n === F.BarAndLineFromFields) {
1930
1930
  if (i.outStatistics?.[0] !== void 0) {
1931
- const s = (c, l) => c.statisticType === D.EnvelopeAggregate === l, o = i.outStatistics.filter((c) => s(c, !0)), u = i.outStatistics.filter((c) => s(c, !1));
1931
+ const s = (c, l) => c.statisticType === O.EnvelopeAggregate === l, o = i.outStatistics.filter((c) => s(c, !0)), u = i.outStatistics.filter((c) => s(c, !1));
1932
1932
  u.splice(r), i.outStatistics = [...u, ...o];
1933
1933
  }
1934
1934
  } else
@@ -2016,8 +2016,8 @@ function yi(t) {
2016
2016
  N.where = M;
2017
2017
  }
2018
2018
  Ma({ chartConfig: e, uniqueQuery: N, chartLimits: u });
2019
- const { gdbVersion: T, geometry: w, distance: L, units: A, timeExtent: I, where: P, objectIds: O, spatialRelationship: V } = i;
2020
- return T !== void 0 && (N.gdbVersion = T), w !== void 0 && (N.geometry = w), L !== void 0 && (N.distance = L), A !== void 0 && (N.units = A), I !== void 0 && (N.timeExtent = I), O !== void 0 && (N.objectIds = O), V !== void 0 && (N.spatialRelationship = V), P !== void 0 && (N.where = Y([N.where, P])), { uniqueQuery: N, mapToStatField: p };
2019
+ const { gdbVersion: T, geometry: w, distance: L, units: A, timeExtent: I, where: P, objectIds: D, spatialRelationship: V } = i;
2020
+ return T !== void 0 && (N.gdbVersion = T), w !== void 0 && (N.geometry = w), L !== void 0 && (N.distance = L), A !== void 0 && (N.units = A), I !== void 0 && (N.timeExtent = I), D !== void 0 && (N.objectIds = D), V !== void 0 && (N.spatialRelationship = V), P !== void 0 && (N.where = Y([N.where, P])), { uniqueQuery: N, mapToStatField: p };
2021
2021
  }
2022
2022
  const le = {
2023
2023
  Default: "defaultError",
@@ -2095,8 +2095,8 @@ async function ys(t) {
2095
2095
  const w = fs, L = 2, A = m.width, I = m.height, P = Math.max(
2096
2096
  0,
2097
2097
  Math.ceil(Math.log(Math.max(A, I) / w) / Math.log(L))
2098
- ), O = L ** P;
2099
- v = m.pixelSize.x * O, B = m.pixelSize.y * O, b = f.spatialReference;
2098
+ ), D = L ** P;
2099
+ v = m.pixelSize.x * D, B = m.pixelSize.y * D, b = f.spatialReference;
2100
2100
  }
2101
2101
  const C = new ca({
2102
2102
  x: v,
@@ -2360,8 +2360,8 @@ async function Ns(t) {
2360
2360
  const { chartConfig: e, queryObject: i, queryConfig: a, returnFeaturesExtent: r, errorStrings: n, abortKey: s, abortSignal: o } = t, u = e.series[0];
2361
2361
  let c;
2362
2362
  const { x: l, y: d } = u;
2363
- a.groupByFieldsForStatistics = [l], l !== d && a.groupByFieldsForStatistics.push(d), a && r === !0 && !a.outStatistics?.some((f) => f.statisticType === D.EnvelopeAggregate) && a.outStatistics?.push({
2364
- statisticType: D.EnvelopeAggregate,
2363
+ a.groupByFieldsForStatistics = [l], l !== d && a.groupByFieldsForStatistics.push(d), a && r === !0 && !a.outStatistics?.some((f) => f.statisticType === O.EnvelopeAggregate) && a.outStatistics?.push({
2364
+ statisticType: O.EnvelopeAggregate,
2365
2365
  onStatisticField: "1"
2366
2366
  });
2367
2367
  try {
@@ -2659,7 +2659,7 @@ async function Is(t) {
2659
2659
  let N = Number.NaN, T = Number.NaN;
2660
2660
  const { expr: w } = Wt(C, h), { expr: L } = Wt(C, v), { expr: A } = Wt(C, B);
2661
2661
  w !== void 0 && Number.isFinite(C[w]) && (N = C[w]), L !== void 0 && Number.isFinite(C[L]) && (T = C[L]), A !== void 0 && Number.isFinite(C[A]) && (l = C[A]);
2662
- const { dataContextXMinField: I, dataContextXMaxField: P, dataContextYMinField: O, dataContextYMaxField: V } = x.scatterplotAggregationFields, $ = e.get(I) ?? Number.NaN, M = e.get(P) ?? Number.NaN, q = e.get(O) ?? Number.NaN, U = e.get(V) ?? Number.NaN, X = (M - $) / 100;
2662
+ const { dataContextXMinField: I, dataContextXMaxField: P, dataContextYMinField: D, dataContextYMaxField: V } = x.scatterplotAggregationFields, $ = e.get(I) ?? Number.NaN, M = e.get(P) ?? Number.NaN, q = e.get(D) ?? Number.NaN, U = e.get(V) ?? Number.NaN, X = (M - $) / 100;
2663
2663
  let H = $ - X, ae = Number.NaN;
2664
2664
  for (; !(ae >= q && ae <= U) && H <= M; )
2665
2665
  H += X, ae = N * H + T;
@@ -2962,13 +2962,13 @@ async function zs(t) {
2962
2962
  v[m] = b, v[x.xAxisField] = b, v[x.originalCategoryValue] = C, f.forEach((N) => {
2963
2963
  const T = N.query?.outStatistics?.[0];
2964
2964
  if (!T) {
2965
- const { name: O } = N;
2966
- v[O] = h[0][O];
2965
+ const { name: D } = N;
2966
+ v[D] = h[0][D];
2967
2967
  return;
2968
2968
  }
2969
2969
  let w = h;
2970
2970
  const L = N.query?.where;
2971
- L && (w = h.filter((O) => _s(O, L)));
2971
+ L && (w = h.filter((D) => _s(D, L)));
2972
2972
  const A = T.statisticType, I = T.onStatisticField, P = T.outStatisticFieldName;
2973
2973
  v[P] = js({
2974
2974
  features: w,
@@ -3487,8 +3487,8 @@ function ja(t) {
3487
3487
  queryObject: e,
3488
3488
  defaultGeometry: B ?? d,
3489
3489
  ignoreViewExtent: r
3490
- }), P.distance = b ?? f, P.units = C ?? m, P.objectIds = N ?? y, P.spatialRelationship = T ?? g, L?.outStatistics?.[0]?.statisticType === D.Count && (P.returnDistinctValues = L?.returnDistinctValues ?? !1), P?.outStatistics?.forEach((O) => {
3491
- mi(O) && !("statisticParameters" in O) && (O.statisticParameters = {
3490
+ }), P.distance = b ?? f, P.units = C ?? m, P.objectIds = N ?? y, P.spatialRelationship = T ?? g, L?.outStatistics?.[0]?.statisticType === O.Count && (P.returnDistinctValues = L?.returnDistinctValues ?? !1), P?.outStatistics?.forEach((D) => {
3491
+ mi(D) && !("statisticParameters" in D) && (D.statisticParameters = {
3492
3492
  value: W.defaultStatParameterValue
3493
3493
  });
3494
3494
  }), P;
@@ -3609,7 +3609,7 @@ function _t(t) {
3609
3609
  if (h.where = Y([h.where, u, v]), "returnDistinctValues" in h && (h.returnDistinctValues = y ?? !1), c !== void 0) {
3610
3610
  const C = pn(g);
3611
3611
  h.outStatistics = c.filter(
3612
- (N) => N.statisticType !== D.EnvelopeAggregate || C
3612
+ (N) => N.statisticType !== O.EnvelopeAggregate || C
3613
3613
  ).map((N) => Nr.fromJSON(N));
3614
3614
  }
3615
3615
  const b = ft(l);
@@ -3869,26 +3869,26 @@ function Ua(t) {
3869
3869
  return e;
3870
3870
  }
3871
3871
  async function No(t) {
3872
- const { queryObject: e, fieldName: i, queryConfig: a, errorStrings: r, abortKey: n, abortSignal: s } = t, o = z(e), { idField: u, isTraditionalTypeOID: c } = ve(o), l = c ? u : "*", d = `${D.Count}_${u}`, f = `${D.Count}_${i}`, m = `${D.Minimum}_${i}`, y = `${D.Maximum}_${i}`, g = {
3872
+ const { queryObject: e, fieldName: i, queryConfig: a, errorStrings: r, abortKey: n, abortSignal: s } = t, o = z(e), { idField: u, isTraditionalTypeOID: c } = ve(o), l = c ? u : "*", d = `${O.Count}_${u}`, f = `${O.Count}_${i}`, m = `${O.Minimum}_${i}`, y = `${O.Maximum}_${i}`, g = {
3873
3873
  ...a,
3874
3874
  outStatistics: [
3875
3875
  {
3876
- statisticType: D.Count,
3876
+ statisticType: O.Count,
3877
3877
  onStatisticField: l,
3878
3878
  outStatisticFieldName: d
3879
3879
  },
3880
3880
  {
3881
- statisticType: D.Count,
3881
+ statisticType: O.Count,
3882
3882
  onStatisticField: i,
3883
3883
  outStatisticFieldName: f
3884
3884
  },
3885
3885
  {
3886
- statisticType: D.Minimum,
3886
+ statisticType: O.Minimum,
3887
3887
  onStatisticField: i,
3888
3888
  outStatisticFieldName: m
3889
3889
  },
3890
3890
  {
3891
- statisticType: D.Maximum,
3891
+ statisticType: O.Maximum,
3892
3892
  onStatisticField: i,
3893
3893
  outStatisticFieldName: y
3894
3894
  }
@@ -4041,8 +4041,8 @@ async function Mo(t) {
4041
4041
  let I;
4042
4042
  try {
4043
4043
  I = await Cr(A);
4044
- } catch (O) {
4045
- throw new re(le.QueryFeaturesError, o.errors.queryError, O);
4044
+ } catch (D) {
4045
+ throw new re(le.QueryFeaturesError, o.errors.queryError, D);
4046
4046
  }
4047
4047
  const P = Po(n, r);
4048
4048
  d.data = {
@@ -4475,8 +4475,8 @@ function ko(t) {
4475
4475
  dataItem: d,
4476
4476
  chartSubType: F.BoxPlotMultiFieldsAndSplitBy,
4477
4477
  splitByValue: c,
4478
- meanPerField: n?.[ot(l, D.Average)],
4479
- stdDevPerField: n?.[ot(l, D.StandardDeviation)]
4478
+ meanPerField: n?.[ot(l, O.Average)],
4479
+ stdDevPerField: n?.[ot(l, O.StandardDeviation)]
4480
4480
  })), s.set(l, {
4481
4481
  ...s.get(l) ?? {},
4482
4482
  ...d
@@ -4492,8 +4492,8 @@ function Qo(t) {
4492
4492
  dataItem: s,
4493
4493
  chartSubType: F.BoxPlotMultiFieldsAndCategory,
4494
4494
  y: o,
4495
- meanPerField: r?.[ot(o, D.Average)],
4496
- stdDevPerField: r?.[ot(o, D.StandardDeviation)]
4495
+ meanPerField: r?.[ot(o, O.Average)],
4496
+ stdDevPerField: r?.[ot(o, O.StandardDeviation)]
4497
4497
  });
4498
4498
  });
4499
4499
  }), n;
@@ -4594,7 +4594,7 @@ function Za(t) {
4594
4594
  }
4595
4595
  function zo(t) {
4596
4596
  const { data: e, outlierDataItem: i, chartSubType: a, x: r, y: n, meanAndStdDevPerField: s, splitByField: o } = t;
4597
- let u = s?.[ot(n, D.Average)], c = s?.[ot(n, D.StandardDeviation)];
4597
+ let u = s?.[ot(n, O.Average)], c = s?.[ot(n, O.StandardDeviation)];
4598
4598
  if (u === void 0 && c === void 0)
4599
4599
  switch (a) {
4600
4600
  case F.BoxPlotMultiFields: {
@@ -4693,7 +4693,7 @@ async function Wo(t) {
4693
4693
  ...P?.[W.uniqueIdsName] ?? [],
4694
4694
  T[y]
4695
4695
  ], delete T[y], fr(c)) {
4696
- const O = K({
4696
+ const D = K({
4697
4697
  ...w,
4698
4698
  standardizeValues: !0
4699
4699
  }), { mean: V, stdDev: $ } = zo({
@@ -4705,7 +4705,7 @@ async function Wo(t) {
4705
4705
  splitByField: f,
4706
4706
  meanAndStdDevPerField: n
4707
4707
  });
4708
- V !== void 0 && $ !== void 0 && (T[O] = si({
4708
+ V !== void 0 && $ !== void 0 && (T[D] = si({
4709
4709
  value: A,
4710
4710
  mean: V,
4711
4711
  stdDev: $
@@ -4745,7 +4745,7 @@ async function Uo(t) {
4745
4745
  where: Y([a.where, w])
4746
4746
  };
4747
4747
  L.outStatistics !== void 0 && (L.outStatistics = L.outStatistics?.filter(
4748
- (A) => (A.statisticType === D.Minimum || A.statisticType === D.Maximum) && A.onStatisticField === C
4748
+ (A) => (A.statisticType === O.Minimum || A.statisticType === O.Maximum) && A.onStatisticField === C
4749
4749
  ).map((A) => ({
4750
4750
  ...A,
4751
4751
  outStatisticFieldName: `${A.outStatisticFieldName}${x.boxPlot.boxPlotOutliersSuffix}`
@@ -4787,14 +4787,14 @@ async function Go(t) {
4787
4787
  const p = d[g];
4788
4788
  m.push(
4789
4789
  {
4790
- statisticType: D.Average,
4790
+ statisticType: O.Average,
4791
4791
  onStatisticField: p,
4792
- outStatisticFieldName: `${D.Average}_${p}`
4792
+ outStatisticFieldName: `${O.Average}_${p}`
4793
4793
  },
4794
4794
  {
4795
- statisticType: D.StandardDeviation,
4795
+ statisticType: O.StandardDeviation,
4796
4796
  onStatisticField: p,
4797
- outStatisticFieldName: `${D.StandardDeviation}_${p}`
4797
+ outStatisticFieldName: `${O.StandardDeviation}_${p}`
4798
4798
  }
4799
4799
  );
4800
4800
  }
@@ -5168,15 +5168,15 @@ async function il(t) {
5168
5168
  async function _d(t) {
5169
5169
  const { queryObject: e, chartConfig: i, queryConfig: a, errorStrings: r } = t, { minimumFromField: n, maximumFromField: s } = i.axes[0], o = [];
5170
5170
  let u = "", c = "";
5171
- n !== void 0 && (typeof n == "string" ? (u = `${D.Minimum}_${n}`, o.push({
5172
- statisticType: D.Minimum,
5171
+ n !== void 0 && (typeof n == "string" ? (u = `${O.Minimum}_${n}`, o.push({
5172
+ statisticType: O.Minimum,
5173
5173
  onStatisticField: n,
5174
5174
  outStatisticFieldName: u
5175
5175
  })) : (u = `${n.statisticType}_${n.onStatisticField}`, o.push({
5176
5176
  ...n,
5177
5177
  outStatisticFieldName: u
5178
- }))), s !== void 0 && (typeof s == "string" ? (c = `${D.Maximum}_${s}`, o.push({
5179
- statisticType: D.Maximum,
5178
+ }))), s !== void 0 && (typeof s == "string" ? (c = `${O.Maximum}_${s}`, o.push({
5179
+ statisticType: O.Maximum,
5180
5180
  onStatisticField: s,
5181
5181
  outStatisticFieldName: c
5182
5182
  })) : (c = `${s.statisticType}_${s.onStatisticField}`, o.push({
@@ -5500,7 +5500,7 @@ async function cl(t) {
5500
5500
  if (r !== void 0 && r.length > 0) {
5501
5501
  const h = Re(a), { x: v } = h, B = "y" in h ? h.y : "", C = Ce(e).find((I) => I.name === v)?.type, N = [], T = r.reduce(
5502
5502
  (I, P) => {
5503
- const O = [];
5503
+ const D = [];
5504
5504
  if (W.uniqueIdsName in P)
5505
5505
  N.push(P[W.uniqueIdsName]);
5506
5506
  else {
@@ -5512,7 +5512,7 @@ async function cl(t) {
5512
5512
  Object.keys(P).forEach((U) => {
5513
5513
  if (U.includes(q)) {
5514
5514
  const J = U.replace(q, "");
5515
- J.trim() !== "" && O.push(qe(M, J));
5515
+ J.trim() !== "" && D.push(qe(M, J));
5516
5516
  }
5517
5517
  });
5518
5518
  break;
@@ -5524,7 +5524,7 @@ async function cl(t) {
5524
5524
  const M = `_${E.FirstQuartile}`, q = Object.keys(P).find((U) => U.includes(M));
5525
5525
  q !== void 0 && ($ = q.replace(M, ""));
5526
5526
  }
5527
- O.length === 0 && O.push(""), O.forEach((M) => {
5527
+ D.length === 0 && D.push(""), D.forEach((M) => {
5528
5528
  const q = tr({
5529
5529
  chartConfig: a,
5530
5530
  xAxisField: v,
@@ -5668,8 +5668,8 @@ async function dl(t) {
5668
5668
  }, b.count = 0;
5669
5669
  else {
5670
5670
  const { x: T } = h[0], w = C.map((I, P) => {
5671
- const { minValue: O, maxValue: V } = I, $ = P === C.length - 1 ? "<=" : "<";
5672
- return `${T} >= ${O} AND ${T} ${$} ${V}`;
5671
+ const { minValue: D, maxValue: V } = I, $ = P === C.length - 1 ? "<=" : "<";
5672
+ return `${T} >= ${D} AND ${T} ${$} ${V}`;
5673
5673
  }), L = Y(w, "OR"), A = { ...i };
5674
5674
  A.where = Y([A.where, L]), b = await Ga({
5675
5675
  queryObject: e,
@@ -6019,7 +6019,7 @@ async function yl(t) {
6019
6019
  }
6020
6020
  function gl(t, e) {
6021
6021
  const i = t, { series: a } = e;
6022
- if (xe(e) === S.CategoryAxisFormat && a[0].query?.outStatistics?.[0].statisticType === D.Count) {
6022
+ if (xe(e) === S.CategoryAxisFormat && a[0].query?.outStatistics?.[0].statisticType === O.Count) {
6023
6023
  const r = a.reduce(
6024
6024
  (n, s) => {
6025
6025
  const o = s.query?.outStatistics?.[0].outStatisticFieldName ?? [s.y].flat()[0];
@@ -6175,20 +6175,20 @@ function bl(t) {
6175
6175
  const s = e.filter((o) => Number.isFinite(o[a]));
6176
6176
  if (s.length > 0)
6177
6177
  switch (i) {
6178
- case D.Count:
6179
- case D.Sum:
6178
+ case O.Count:
6179
+ case O.Sum:
6180
6180
  n = bs(s, (o) => o[a]);
6181
6181
  break;
6182
- case D.Minimum:
6182
+ case O.Minimum:
6183
6183
  n = St(s, (o) => o[a]).min;
6184
6184
  break;
6185
- case D.Maximum:
6185
+ case O.Maximum:
6186
6186
  n = St(s, (o) => o[a]).max;
6187
6187
  break;
6188
- case D.Average:
6188
+ case O.Average:
6189
6189
  n = Fs(s, (o) => o[a]);
6190
6190
  break;
6191
- case D.ContinuousPercentile:
6191
+ case O.ContinuousPercentile:
6192
6192
  }
6193
6193
  return n;
6194
6194
  }
@@ -6216,11 +6216,11 @@ function xl(t) {
6216
6216
  Sl(v)
6217
6217
  );
6218
6218
  if (p = N, B = d === ee.End ? B = e[L - 1] : B = e[h], C > n && b < n || b < r && C > r || b >= r && C <= n) {
6219
- const A = e.slice(w, L).filter((O) => !(x.dateBinModel in O));
6220
- y.forEach((O) => {
6221
- B[O] = bl({ binsToRegroup: A, statisticType: g, y: O, nullPolicy: f });
6219
+ const A = e.slice(w, L).filter((D) => !(x.dateBinModel in D));
6220
+ y.forEach((D) => {
6221
+ B[D] = bl({ binsToRegroup: A, statisticType: g, y: D, nullPolicy: f });
6222
6222
  });
6223
- const I = A.map((O) => O[Oe]).filter((O) => O !== void 0), P = On(I);
6223
+ const I = A.map((D) => D[Oe]).filter((D) => D !== void 0), P = On(I);
6224
6224
  P !== void 0 && (B[Oe] = P), B[l] = b, B[x.xAxisField] = b, B[x.dateBinningRange] = [b, C], delete B[x.dateBinModel], s.push(B);
6225
6225
  } else N && d !== ee.End && s.length > 0 && (s[s.length - 1][x.dateBinningRange][1] = s[s.length - 1][x.dateBinningRange][1] + 1);
6226
6226
  h = T, v.binFirstOrLastIndex = T;
@@ -6336,17 +6336,17 @@ async function Bl(t) {
6336
6336
  ...i,
6337
6337
  outStatistics: [
6338
6338
  {
6339
- statisticType: D.Minimum,
6339
+ statisticType: O.Minimum,
6340
6340
  onStatisticField: a,
6341
6341
  outStatisticFieldName: s
6342
6342
  },
6343
6343
  {
6344
- statisticType: D.Maximum,
6344
+ statisticType: O.Maximum,
6345
6345
  onStatisticField: a,
6346
6346
  outStatisticFieldName: o
6347
6347
  },
6348
6348
  {
6349
- statisticType: D.Count,
6349
+ statisticType: O.Count,
6350
6350
  onStatisticField: a,
6351
6351
  outStatisticFieldName: u
6352
6352
  }
@@ -6431,8 +6431,8 @@ function* wl(t) {
6431
6431
  const u = i[o], { query: c, x: l, y: d } = u, m = [
6432
6432
  {
6433
6433
  onStatisticField: c?.outStatistics?.[0]?.onStatisticField ?? "",
6434
- outStatisticFieldName: D.ContinuousPercentile,
6435
- statisticType: D.ContinuousPercentile,
6434
+ outStatisticFieldName: O.ContinuousPercentile,
6435
+ statisticType: O.ContinuousPercentile,
6436
6436
  statisticParameters: { value: 0.5 }
6437
6437
  }
6438
6438
  ];
@@ -6467,7 +6467,7 @@ function* wl(t) {
6467
6467
  }
6468
6468
  async function Ll(t) {
6469
6469
  const { queryObject: e, data: i, seriesConfig: a, queryConfig: r, errorStrings: n, abortSignal: s } = t, o = i, { statisticType: u } = a[0].query?.outStatistics?.[0] ?? Zi;
6470
- if (u === D.ContinuousPercentile && o.length > 0) {
6470
+ if (u === O.ContinuousPercentile && o.length > 0) {
6471
6471
  const c = wl({
6472
6472
  queryObject: e,
6473
6473
  completeData: o,
@@ -6483,7 +6483,7 @@ async function Ll(t) {
6483
6483
  if (y !== void 0) {
6484
6484
  const [g, p] = y.split("|");
6485
6485
  if (p !== void 0) {
6486
- const h = m.attributes[D.ContinuousPercentile];
6486
+ const h = m.attributes[O.ContinuousPercentile];
6487
6487
  o[p][`${g}`] = h;
6488
6488
  }
6489
6489
  }
@@ -6520,22 +6520,22 @@ function Pl(t) {
6520
6520
  let P = A;
6521
6521
  if (I === G.DateOnly && (typeof A == "string" && A.length === 10 || typeof A == "number"))
6522
6522
  if (typeof A == "string") {
6523
- const O = A.split("-");
6524
- O.length === 3 && (P = me.local(Number(O[0]), Number(O[1]), Number(O[2])).valueOf());
6523
+ const D = A.split("-");
6524
+ D.length === 3 && (P = me.local(Number(D[0]), Number(D[1]), Number(D[2])).valueOf());
6525
6525
  } else
6526
6526
  P = new Date(A), P = new Date(P.valueOf() + P.getTimezoneOffset() * 6e4), P = me.local(P.getFullYear(), P.getMonth() + 1, P.getDate()).valueOf();
6527
- else typeof A == "string" && ["+", "-"].forEach((O) => {
6528
- O && A.lastIndexOf(O) === A.length - 6 && (P = new Date(A.slice(0, A.lastIndexOf(O))).valueOf());
6527
+ else typeof A == "string" && ["+", "-"].forEach((D) => {
6528
+ D && A.lastIndexOf(D) === A.length - 6 && (P = new Date(A.slice(0, A.lastIndexOf(D))).valueOf());
6529
6529
  });
6530
6530
  return P;
6531
6531
  };
6532
6532
  if (C = L(C, d), N = L(N, d), typeof C == "number" && typeof N == "number") {
6533
6533
  const A = { ...B };
6534
- A[x.originalServerBinningRange] = [T, w], A[n] = C, A[x.xAxisField] = C, A[x.dateBinningRange] = [C, N], delete A[c.lowerBoundaryAlias], delete A[c.upperBoundaryAlias], b && r && !oe(r) && a ? b.forEach((O) => {
6535
- const V = O[r];
6534
+ A[x.originalServerBinningRange] = [T, w], A[n] = C, A[x.xAxisField] = C, A[x.dateBinningRange] = [C, N], delete A[c.lowerBoundaryAlias], delete A[c.upperBoundaryAlias], b && r && !oe(r) && a ? b.forEach((D) => {
6535
+ const V = D[r];
6536
6536
  if (V === null || typeof V == "string" || typeof V == "number") {
6537
6537
  const $ = a?.get(V);
6538
- $ !== void 0 && (A[$] = O[W.outStatistics?.outStatisticFieldName ?? ""], Wi({ dataItem: A, statField: $, nullPolicy: o }));
6538
+ $ !== void 0 && (A[$] = D[W.outStatistics?.outStatisticFieldName ?? ""], Wi({ dataItem: A, statField: $, nullPolicy: o }));
6539
6539
  }
6540
6540
  }) : typeof s == "string" && Wi({ dataItem: A, statField: s, nullPolicy: o });
6541
6541
  const { featureExtent: I, featureExtentKey: P } = sr({
@@ -6662,10 +6662,10 @@ async function Yt(t) {
6662
6662
  groupByFieldsForStatistics: Array.from(new Set(l)),
6663
6663
  outStatistics: [
6664
6664
  {
6665
- statisticType: D.Count,
6665
+ statisticType: O.Count,
6666
6666
  onStatisticField: y,
6667
6667
  // Generating an out stat field name. Letting it to COUNT only can fail the query on arcObject layers
6668
- outStatisticFieldName: `${D.Count}_OBJECTID`
6668
+ outStatisticFieldName: `${O.Count}_OBJECTID`
6669
6669
  }
6670
6670
  ],
6671
6671
  orderByFields: void 0,
@@ -6834,7 +6834,7 @@ function Ul(t) {
6834
6834
  let s = !1;
6835
6835
  if (r && a && Number.isFinite(a) && !ir.includes(n))
6836
6836
  if ((n === F.BarAndLineFromFields || n === F.PieFromFields) && Object.keys(e).length > a)
6837
- Object.keys(e).filter((o) => o !== D.EnvelopeAggregate).forEach((o, u) => {
6837
+ Object.keys(e).filter((o) => o !== O.EnvelopeAggregate).forEach((o, u) => {
6838
6838
  u >= a && delete e[o];
6839
6839
  });
6840
6840
  else {
@@ -6879,10 +6879,10 @@ function or(t) {
6879
6879
  fieldList: l
6880
6880
  } = t, { series: d } = a, f = k(d), m = j(d), { x: y } = d[0], g = "y" in d[0] ? d[0].y : void 0, p = d[0].query?.outStatistics ?? [], h = we(a?.axes?.[0]?.valueFormat), { originalYCategoryValue: v, originalCategoryValue: B, originalDateValue: b } = x, C = ri(e, y), N = typeof g == "string" ? ri(e, g) : void 0, w = ro(l ?? []).includes(y), L = [];
6881
6881
  let A = 0;
6882
- const I = /* @__PURE__ */ new Set(), { maxCategoryCount: P } = ut(c), O = Wl({ queryResponse: i, chartConfig: a, maxCategoryCount: P });
6883
- for (let V = 0; O[V] && V < O.length && !(o !== void 0 && A >= o); V += 1) {
6882
+ const I = /* @__PURE__ */ new Set(), { maxCategoryCount: P } = ut(c), D = Wl({ queryResponse: i, chartConfig: a, maxCategoryCount: P });
6883
+ for (let V = 0; D[V] && V < D.length && !(o !== void 0 && A >= o); V += 1) {
6884
6884
  A += Hl(f, a);
6885
- const $ = O[V];
6885
+ const $ = D[V];
6886
6886
  let M = { ...$.attributes };
6887
6887
  if (Ul({ attributes: M, uniqueCategoryList: I, maxCategoryCount: P, x: y, chartSubType: f }))
6888
6888
  continue;
@@ -6973,7 +6973,7 @@ async function lr(t) {
6973
6973
  } = t, { series: u } = e, c = k(u), { x: l } = u[0], d = u.length;
6974
6974
  let f, m;
6975
6975
  if (c === F.BoxPlotMonoField || c === F.BoxPlotMonoFieldAndSplitBy ? (m = d, f = m) : c === F.BoxPlotMultiFields || c === F.BoxPlotMultiFieldsAndSplitBy ? (m = e.series[0].y.length, f = m) : c === F.PieFromFields || c === F.BarAndLineFromFields ? (m = u[0].query?.outStatistics?.filter(
6976
- (y) => y.statisticType !== D.EnvelopeAggregate
6976
+ (y) => y.statisticType !== O.EnvelopeAggregate
6977
6977
  ).length ?? 0, f = m) : f = await As({
6978
6978
  queryObject: i,
6979
6979
  x: l,
@@ -7021,7 +7021,7 @@ async function oi(t) {
7021
7021
  returnFeaturesExtent: d,
7022
7022
  chartLimits: f
7023
7023
  });
7024
- let { categoryOrDateCount: O, elementCount: V } = await lr({
7024
+ let { categoryOrDateCount: D, elementCount: V } = await lr({
7025
7025
  chartConfig: e,
7026
7026
  queryObject: r,
7027
7027
  queryConfig: i,
@@ -7061,7 +7061,7 @@ async function oi(t) {
7061
7061
  errorStrings: u,
7062
7062
  abortKey: n,
7063
7063
  abortSignal: c
7064
- }), f?.maxBoxPlotOutlierLimit !== void 0 && (M = (b.data.outliers ?? []).length <= f.maxBoxPlotOutlierLimit, N = !M)), $ && (O = C.length, V = ii(L) ? O * T.length : O, M = Ae({
7064
+ }), f?.maxBoxPlotOutlierLimit !== void 0 && (M = (b.data.outliers ?? []).length <= f.maxBoxPlotOutlierLimit, N = !M)), $ && (D = C.length, V = ii(L) ? D * T.length : D, M = Ae({
7065
7065
  count: V,
7066
7066
  seriesCount: T.length,
7067
7067
  chartType: A,
@@ -7086,7 +7086,7 @@ async function oi(t) {
7086
7086
  seriesData: C,
7087
7087
  chartConfig: e,
7088
7088
  queryConfig: i,
7089
- categoryOrDateCount: O,
7089
+ categoryOrDateCount: D,
7090
7090
  behaviorAfterLimit: v,
7091
7091
  errorStrings: u,
7092
7092
  abortKey: n,
@@ -7126,7 +7126,7 @@ function Zl(t) {
7126
7126
  return a && (e = Array.from({ length: a + (i === 0 ? 1 : 0) }, (r, n) => (n + (i ?? 1)).toString())), e;
7127
7127
  }
7128
7128
  function Xl(t) {
7129
- return t.hideEmptyRowsAndColumns === !0 && (t.nullPolicy !== Se.Zero || t.series[0].query?.outStatistics?.[0].statisticType === D.Count);
7129
+ return t.hideEmptyRowsAndColumns === !0 && (t.nullPolicy !== Se.Zero || t.series[0].query?.outStatistics?.[0].statisticType === O.Count);
7130
7130
  }
7131
7131
  function Jl(t) {
7132
7132
  const { dataItems: e, valueField: i, filterOutZero: a } = t, r = [null];
@@ -7193,7 +7193,7 @@ async function ur(t) {
7193
7193
  } = t, m = { valid: !0 };
7194
7194
  let y;
7195
7195
  if (We(e)) {
7196
- const { nullPolicy: g } = e, p = e.series[0], { x: h, y: v, query: B, xTemporalBinning: b, yTemporalBinning: C } = p, N = B?.outStatistics?.[0]?.outStatisticFieldName ?? "", T = B?.outStatistics?.[0]?.statisticType ?? D.Count, w = Xl(e), L = _.valueField, A = g === Se.Zero ? 0 : null;
7196
+ const { nullPolicy: g } = e, p = e.series[0], { x: h, y: v, query: B, xTemporalBinning: b, yTemporalBinning: C } = p, N = B?.outStatistics?.[0]?.outStatisticFieldName ?? "", T = B?.outStatistics?.[0]?.statisticType ?? O.Count, w = Xl(e), L = _.valueField, A = g === Se.Zero ? 0 : null;
7197
7197
  if (Io(e)) {
7198
7198
  const I = await Ns({
7199
7199
  chartConfig: e,
@@ -7223,7 +7223,7 @@ async function ur(t) {
7223
7223
  resultLimit: i.num,
7224
7224
  fieldList: P
7225
7225
  });
7226
- const O = await Yt({
7226
+ const D = await Yt({
7227
7227
  queryObject: a,
7228
7228
  queryConfig: i,
7229
7229
  category: h,
@@ -7238,11 +7238,11 @@ async function ur(t) {
7238
7238
  abortKey: d,
7239
7239
  abortSignal: f
7240
7240
  });
7241
- y.length !== O?.length * V?.length && (y = [
7241
+ y.length !== D?.length * V?.length && (y = [
7242
7242
  ...y,
7243
7243
  ...Kl({
7244
7244
  dataItems: y,
7245
- xUniqueValues: O,
7245
+ xUniqueValues: D,
7246
7246
  yUniqueValues: V,
7247
7247
  valueField: L,
7248
7248
  emptyCellValue: A,
@@ -7253,7 +7253,7 @@ async function ur(t) {
7253
7253
  ], w && (y = Jl({
7254
7254
  dataItems: y,
7255
7255
  valueField: L,
7256
- filterOutZero: T === D.Count
7256
+ filterOutZero: T === O.Count
7257
7257
  })));
7258
7258
  }
7259
7259
  } else {
@@ -7266,7 +7266,7 @@ async function ur(t) {
7266
7266
  errorStrings: n,
7267
7267
  abortSignal: f
7268
7268
  }), P = C ? Zl(C.unit) : await Yt({ queryObject: a, queryConfig: i, category: v, errorStrings: n, abortKey: d, abortSignal: f });
7269
- let O = 0;
7269
+ let D = 0;
7270
7270
  y = I?.features.flatMap((V) => {
7271
7271
  const $ = [], { attributes: M, stackedAttributes: q } = V, U = [];
7272
7272
  if (q?.forEach((J) => {
@@ -7294,9 +7294,9 @@ async function ur(t) {
7294
7294
  });
7295
7295
  });
7296
7296
  }
7297
- return O += $.length, $;
7297
+ return D += $.length, $;
7298
7298
  }), Ae({
7299
- count: O,
7299
+ count: D,
7300
7300
  seriesCount: 1,
7301
7301
  chartType: S.HeatSeries,
7302
7302
  chartLimits: o
@@ -7368,7 +7368,7 @@ async function xi(t) {
7368
7368
  R.Minute,
7369
7369
  R.Second
7370
7370
  ].includes(L.unit) && (L.unit = R.Day, L.size = 1), C.size = L.size, C.unit = L.unit);
7371
- const { uniqueQuery: O, mapToStatField: V } = yi({
7371
+ const { uniqueQuery: D, mapToStatField: V } = yi({
7372
7372
  chartConfig: e,
7373
7373
  queryConfig: i,
7374
7374
  queryObject: a,
@@ -7389,7 +7389,7 @@ async function xi(t) {
7389
7389
  queryObject: a,
7390
7390
  dateField: h,
7391
7391
  splitByField: v,
7392
- queryConfig: O,
7392
+ queryConfig: D,
7393
7393
  axisTimeZone: M,
7394
7394
  temporalBinning: C,
7395
7395
  errorStrings: o,
@@ -7430,7 +7430,7 @@ async function xi(t) {
7430
7430
  });
7431
7431
  w = M * g.length, w = ar(w, L.unit), b = await jt({
7432
7432
  queryObject: a,
7433
- uniqueQuery: O,
7433
+ uniqueQuery: D,
7434
7434
  chartConfig: e,
7435
7435
  mapToStatField: V,
7436
7436
  elementCount: w,
@@ -7541,12 +7541,12 @@ async function ru(t) {
7541
7541
  ...a,
7542
7542
  outStatistics: [
7543
7543
  {
7544
- statisticType: D.Count,
7544
+ statisticType: O.Count,
7545
7545
  outStatisticFieldName: l,
7546
7546
  onStatisticField: u
7547
7547
  },
7548
7548
  {
7549
- statisticType: D.Count,
7549
+ statisticType: O.Count,
7550
7550
  outStatisticFieldName: d,
7551
7551
  onStatisticField: c
7552
7552
  }
@@ -7640,38 +7640,38 @@ async function lu(t) {
7640
7640
  let v;
7641
7641
  const B = e?.get(f) ?? Number.NaN, b = e?.get(m) ?? Number.NaN, C = e?.get(p) ?? Number.NaN, N = e?.get(y) ?? B, T = e?.get(g) ?? b;
7642
7642
  if (B != null && N !== void 0 && N !== null && b !== void 0 && b !== null && T !== void 0 && T !== null && !Number.isNaN(B + b + N + T)) {
7643
- const w = z(a), { idField: L, isTraditionalTypeOID: A } = ve(w), I = A ? L : "*", P = e?.get(x.scatterplotAggregationFields.xStep), O = e?.get(x.scatterplotAggregationFields.yStep), V = e?.get(x.scatterplotAggregationFields.realGridSize), $ = e?.get(x.scatterplotAggregationFields.rowCount), M = e?.get(x.scatterplotAggregationFields.columnCount), q = /* @__PURE__ */ new Map(), U = Ce(a);
7643
+ const w = z(a), { idField: L, isTraditionalTypeOID: A } = ve(w), I = A ? L : "*", P = e?.get(x.scatterplotAggregationFields.xStep), D = e?.get(x.scatterplotAggregationFields.yStep), V = e?.get(x.scatterplotAggregationFields.realGridSize), $ = e?.get(x.scatterplotAggregationFields.rowCount), M = e?.get(x.scatterplotAggregationFields.columnCount), q = /* @__PURE__ */ new Map(), U = Ce(a);
7644
7644
  if (U?.forEach((H) => {
7645
7645
  Ft(H) && q.set(H.name, {
7646
7646
  onStatisticField: H.name,
7647
7647
  outStatisticFieldName: H.name,
7648
- statisticType: D.Maximum
7648
+ statisticType: O.Maximum
7649
7649
  });
7650
7650
  }), (U.filter((H) => c?.additionalTooltipFields?.includes(H.name)) ?? [])?.forEach((H) => {
7651
7651
  Ft(H) || q.set(H.name, {
7652
7652
  onStatisticField: H.name,
7653
7653
  outStatisticFieldName: H.name,
7654
- statisticType: D.Maximum
7654
+ statisticType: O.Maximum
7655
7655
  });
7656
7656
  }), (await Qa(w)).forEach((H) => {
7657
7657
  q.set(H, {
7658
7658
  onStatisticField: H,
7659
7659
  outStatisticFieldName: H,
7660
- statisticType: D.Maximum
7660
+ statisticType: O.Maximum
7661
7661
  });
7662
7662
  }), L !== "" && q.set(L, {
7663
7663
  onStatisticField: I,
7664
7664
  outStatisticFieldName: h,
7665
- statisticType: D.Count
7665
+ statisticType: O.Count
7666
7666
  }), q.set(l, {
7667
7667
  onStatisticField: l,
7668
7668
  outStatisticFieldName: l,
7669
- statisticType: D.Maximum
7669
+ statisticType: O.Maximum
7670
7670
  }).set(d, {
7671
7671
  onStatisticField: d,
7672
7672
  outStatisticFieldName: d,
7673
- statisticType: D.Maximum
7674
- }), P !== void 0 && O !== void 0) {
7673
+ statisticType: O.Maximum
7674
+ }), P !== void 0 && D !== void 0) {
7675
7675
  if (n) {
7676
7676
  const H = {
7677
7677
  ...r,
@@ -7685,7 +7685,7 @@ async function lu(t) {
7685
7685
  xMax: b,
7686
7686
  x: l,
7687
7687
  y: d,
7688
- yStep: O,
7688
+ yStep: D,
7689
7689
  errorStrings: s,
7690
7690
  abortSignal: u
7691
7691
  });
@@ -7702,10 +7702,10 @@ async function lu(t) {
7702
7702
  xValue: Xe,
7703
7703
  yValue: ke,
7704
7704
  xStep: P,
7705
- yStep: O,
7705
+ yStep: D,
7706
7706
  endOfRow: Ct === $,
7707
7707
  endOfColumn: zt === M
7708
- }), Xe < vt && (vt = Xe), Xe + P > Bt && (Bt = Xe + P), ke < Nt && (Nt = ke), ke + P > Tt && (Tt = ke + O), H += 1, H % Bi === 0 || H === V || H === C) {
7708
+ }), Xe < vt && (vt = Xe), Xe + P > Bt && (Bt = Xe + P), ke < Nt && (Nt = ke), ke + P > Tt && (Tt = ke + D), H += 1, H % Bi === 0 || H === V || H === C) {
7709
7709
  Je = `${Je} ${Ge.groupByCaseEnd}`;
7710
7710
  const pr = {
7711
7711
  ...r,
@@ -7727,7 +7727,7 @@ async function lu(t) {
7727
7727
  })
7728
7728
  ), vt = Number.MAX_SAFE_INTEGER, Bt = Number.MIN_SAFE_INTEGER, Nt = Number.MAX_SAFE_INTEGER, Tt = Number.MIN_SAFE_INTEGER, Je = "", H === V && (Ht = !1);
7729
7729
  }
7730
- ke += O, Ct += 1;
7730
+ ke += D, Ct += 1;
7731
7731
  }
7732
7732
  Xe += P, zt += 1;
7733
7733
  }
@@ -7748,29 +7748,29 @@ async function uu(t) {
7748
7748
  queryNumberOfFeatures: g
7749
7749
  } = x.scatterplotAggregationFields, { idField: p, isTraditionalTypeOID: h } = ve(z(a)), v = h ? p : "*", B = [
7750
7750
  {
7751
- statisticType: D.Count,
7751
+ statisticType: O.Count,
7752
7752
  onStatisticField: v,
7753
7753
  outStatisticFieldName: g
7754
7754
  },
7755
7755
  {
7756
- statisticType: D.Minimum,
7756
+ statisticType: O.Minimum,
7757
7757
  outStatisticFieldName: d,
7758
7758
  onStatisticField: u
7759
7759
  },
7760
7760
  {
7761
- statisticType: D.Maximum,
7761
+ statisticType: O.Maximum,
7762
7762
  outStatisticFieldName: f,
7763
7763
  onStatisticField: u
7764
7764
  }
7765
7765
  ];
7766
7766
  u !== c && B.push(
7767
7767
  {
7768
- statisticType: D.Minimum,
7768
+ statisticType: O.Minimum,
7769
7769
  outStatisticFieldName: m,
7770
7770
  onStatisticField: c
7771
7771
  },
7772
7772
  {
7773
- statisticType: D.Maximum,
7773
+ statisticType: O.Maximum,
7774
7774
  outStatisticFieldName: y,
7775
7775
  onStatisticField: c
7776
7776
  }
@@ -8067,8 +8067,8 @@ function Me(t, e) {
8067
8067
  return t === null && e === !0 || Number.isFinite(t);
8068
8068
  }
8069
8069
  function gu(t) {
8070
- const { dataItem: e, x: i, y: a, nullAsValid: r = !1, aggregationType: n = D.Count } = t, s = e[i], o = e[a];
8071
- return s !== void 0 && (typeof s != "number" || Number.isFinite(s)) && Me(o, r) && (n !== D.Count || o !== 0);
8070
+ const { dataItem: e, x: i, y: a, nullAsValid: r = !1, aggregationType: n } = t, s = e[i], o = e[a];
8071
+ return s !== void 0 && (typeof s != "number" || Number.isFinite(s)) && Me(o, r) && (n !== O.Count || o !== 0);
8072
8072
  }
8073
8073
  function zd(t) {
8074
8074
  const { chartConfig: e, nullAsValid: i = !1, dataSet: a } = t;
@@ -8575,12 +8575,12 @@ async function Yd(t) {
8575
8575
  });
8576
8576
  if (A !== void 0 && !Bn({ dataContext: A[0], chartConfig: e, chartLimits: c }))
8577
8577
  N = A.filter((P) => {
8578
- const O = P[W.uniqueIdsName];
8579
- return typeof O == "number" || typeof O == "string" ? C?.includes(O) : !1;
8578
+ const D = P[W.uniqueIdsName];
8579
+ return typeof D == "number" || typeof D == "string" ? C?.includes(D) : !1;
8580
8580
  });
8581
8581
  else if (C?.[0] !== void 0 && I !== void 0) {
8582
- const { maxOIDsPerSelectionQuery: P } = $t(), O = Math.ceil(C.length / P), V = te(e.series[0]?.query?.where), $ = await Bu({
8583
- numberOfQueries: O,
8582
+ const { maxOIDsPerSelectionQuery: P } = $t(), D = Math.ceil(C.length / P), V = te(e.series[0]?.query?.where), $ = await Bu({
8583
+ numberOfQueries: D,
8584
8584
  selectionOIDs: C,
8585
8585
  queryConfig: I,
8586
8586
  queryObject: s,
@@ -8597,7 +8597,7 @@ async function Yd(t) {
8597
8597
  });
8598
8598
  N = vu({
8599
8599
  dataFetchingResults: $,
8600
- numberOfQueries: O,
8600
+ numberOfQueries: D,
8601
8601
  series: B
8602
8602
  });
8603
8603
  }