@arcgis/charts-components 5.1.1 → 5.1.3

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 (125) hide show
  1. package/dist/cdn/{MNWBD3OA.js → 2I5SK53X.js} +1 -1
  2. package/dist/cdn/{MZHNYLPX.js → 2VORKMJP.js} +1 -1
  3. package/dist/cdn/{SO4T7SHP.js → 2Y22PMRJ.js} +1 -1
  4. package/dist/cdn/{RKVS4TH5.js → 37JRO33Y.js} +1 -1
  5. package/dist/cdn/{ZEDZGQSY.js → 3EFZRLIC.js} +1 -1
  6. package/dist/cdn/{NWRZGL2V.js → 3G6DJQ4I.js} +1 -1
  7. package/dist/cdn/{MHLSVWM2.js → 3OI3AZ2X.js} +1 -1
  8. package/dist/cdn/{TBWDUGLB.js → 3WD3F7XJ.js} +1 -1
  9. package/dist/cdn/{2O72YRTQ.js → 4J7NXFBO.js} +1 -1
  10. package/dist/cdn/{UASSPAWK.js → 4T7HXRHF.js} +1 -1
  11. package/dist/cdn/{AQENV2OK.js → 55HY3O3G.js} +1 -1
  12. package/dist/cdn/{3EL3F5BJ.js → 5D5W37TE.js} +1 -1
  13. package/dist/cdn/{VD4GDNMU.js → 5PFSNEUO.js} +1 -1
  14. package/dist/cdn/{FKOSHYHP.js → 62BJOWS5.js} +1 -1
  15. package/dist/cdn/{SMRST37W.js → 6BXL3DWS.js} +1 -1
  16. package/dist/cdn/6G5SQMIG.js +2 -0
  17. package/dist/cdn/6LWK26JA.js +2 -0
  18. package/dist/cdn/{5VWXFD4N.js → 6PE747G2.js} +1 -1
  19. package/dist/cdn/{Q4C23R24.js → 6SYRXDBU.js} +1 -1
  20. package/dist/cdn/{TPXTDU2N.js → 7HGJIAXH.js} +1 -1
  21. package/dist/cdn/{V3OCJ3YN.js → 7IYKY4HO.js} +1 -1
  22. package/dist/cdn/{JYZEDT5L.js → 7MOCVCHZ.js} +1 -1
  23. package/dist/cdn/{EGWX7725.js → A5OI4GRG.js} +1 -1
  24. package/dist/cdn/{E6J6XV56.js → AA7A24A4.js} +1 -1
  25. package/dist/cdn/{DXPYSVQO.js → AGUX5S6D.js} +1 -1
  26. package/dist/cdn/{ZOMWTN7W.js → AWFHVQ4C.js} +1 -1
  27. package/dist/cdn/{XYJJDRRZ.js → BHMPG4IV.js} +1 -1
  28. package/dist/cdn/{BXBK2LMB.js → BKMDQJY6.js} +1 -1
  29. package/dist/cdn/{Z3QU4QXL.js → BU67W3KJ.js} +1 -1
  30. package/dist/cdn/{F6G2AX7F.js → C3ELQOWG.js} +1 -1
  31. package/dist/cdn/{TY2WP3ZM.js → CGFQNAHX.js} +1 -1
  32. package/dist/cdn/COW63QH2.js +2 -0
  33. package/dist/cdn/{YBXRGFB3.js → CQR77GPW.js} +1 -1
  34. package/dist/cdn/{QUKWJS5G.js → CXABUNU5.js} +1 -1
  35. package/dist/cdn/{V7L5DBPI.js → D2EH6ONT.js} +1 -1
  36. package/dist/cdn/{I7P64URF.js → D7MKFOZN.js} +1 -1
  37. package/dist/cdn/{WBCPWDPR.js → DMONWSPY.js} +1 -1
  38. package/dist/cdn/{PAQZZE7A.js → EEUWGAPS.js} +1 -1
  39. package/dist/cdn/{MNXW6UGP.js → ENCDG6FM.js} +1 -1
  40. package/dist/cdn/{HXSR2GRV.js → FDTTRHRP.js} +1 -1
  41. package/dist/cdn/{VCUISYN4.js → FPUV2RAW.js} +1 -1
  42. package/dist/cdn/{75FTDTLY.js → FWEWN4I2.js} +1 -1
  43. package/dist/cdn/{J3GQDDD7.js → FY3AFT4C.js} +1 -1
  44. package/dist/cdn/{N5574IA3.js → GAO6N5DQ.js} +1 -1
  45. package/dist/cdn/{6BIA4CCW.js → GJAJ4U5M.js} +1 -1
  46. package/dist/cdn/{JWWRWZOA.js → GMPDEHNU.js} +19 -19
  47. package/dist/cdn/{UQR667YS.js → GPBRXXVW.js} +1 -1
  48. package/dist/cdn/{BWGRRAY2.js → GVR7ARJY.js} +1 -1
  49. package/dist/cdn/{2XFVXCGM.js → H34IOPWZ.js} +1 -1
  50. package/dist/cdn/{DIH43SPI.js → HAEAPXPK.js} +1 -1
  51. package/dist/cdn/{JNQF4MND.js → HMYTEW5B.js} +1 -1
  52. package/dist/cdn/{OAMDZWDZ.js → HV2WZZ2R.js} +1 -1
  53. package/dist/cdn/{UJH62UBV.js → HVFQPGMN.js} +1 -1
  54. package/dist/cdn/{NXH363BA.js → INTVGG6M.js} +1 -1
  55. package/dist/cdn/{EMWAI65U.js → IO53Q5WD.js} +1 -1
  56. package/dist/cdn/{OW4KQXUC.js → J2PKUF5F.js} +1 -1
  57. package/dist/cdn/{ME5RGTHR.js → JWEXM2O6.js} +1 -1
  58. package/dist/cdn/{HJHUFGMC.js → K54AVNQV.js} +1 -1
  59. package/dist/cdn/{HQOVPUSV.js → KDNFHAVZ.js} +1 -1
  60. package/dist/cdn/KFY6SEZU.js +2 -0
  61. package/dist/cdn/{A7CHVVKW.js → L2WSLIMW.js} +1 -1
  62. package/dist/cdn/MURHBYGC.js +2 -0
  63. package/dist/cdn/{LSK57NVU.js → MWFT5XT2.js} +1 -1
  64. package/dist/cdn/{CBL7ODB4.js → NXC7YT6Y.js} +1 -1
  65. package/dist/cdn/{DTVMYBN2.js → O5OI7ZFM.js} +1 -1
  66. package/dist/cdn/{VVJNYF6S.js → PAUMSI2Y.js} +1 -1
  67. package/dist/cdn/{AIYLX4ZD.js → PDD74AKL.js} +1 -1
  68. package/dist/cdn/{PRYQKWMX.js → PFFBGTMZ.js} +1 -1
  69. package/dist/cdn/{TO57FEMK.js → PG6IHFMC.js} +1 -1
  70. package/dist/cdn/{VPRAC4EI.js → POFKF33T.js} +1 -1
  71. package/dist/cdn/QI6SNQEH.js +2 -0
  72. package/dist/cdn/QJ4OVDBD.js +2 -0
  73. package/dist/cdn/{367YKXWB.js → QU5AAXED.js} +1 -1
  74. package/dist/cdn/{6SZUTGQR.js → QVDBUYN3.js} +1 -1
  75. package/dist/cdn/S7OB4ILP.js +3 -0
  76. package/dist/cdn/{U2Q4BITT.js → SSPQBR27.js} +1 -1
  77. package/dist/cdn/{3IWAH4DT.js → SWVQ5R5T.js} +1 -1
  78. package/dist/cdn/{JXSYZU73.js → T5JVQAZD.js} +1 -1
  79. package/dist/cdn/{F5RUYFCK.js → T7POIQNM.js} +1 -1
  80. package/dist/cdn/{SZOWWM4R.js → TSTVAPLA.js} +1 -1
  81. package/dist/cdn/{OGMBMPKZ.js → UHM22GXZ.js} +1 -1
  82. package/dist/cdn/{32SGYF75.js → UZW64U7F.js} +1 -1
  83. package/dist/cdn/{U642I5KG.js → VVYGCHEV.js} +1 -1
  84. package/dist/cdn/{GKTUYTL5.js → VXSKPIG5.js} +1 -1
  85. package/dist/cdn/{R2UHUORO.js → WF5TH5FA.js} +1 -1
  86. package/dist/cdn/{XZ3ARUXR.js → X3FPNPJ3.js} +1 -1
  87. package/dist/cdn/{PI2CILY3.js → XA4DLCWT.js} +1 -1
  88. package/dist/cdn/XFDEOFVM.js +2 -0
  89. package/dist/cdn/{Q33L7LOR.js → XSCGCWY2.js} +1 -1
  90. package/dist/cdn/{3YR34J27.js → YFJD7WZK.js} +1 -1
  91. package/dist/cdn/{4X746WEL.js → YONHYC4U.js} +1 -1
  92. package/dist/cdn/{UKVRQWWU.js → YRCCTEPG.js} +1 -1
  93. package/dist/cdn/{ASK7IPJI.js → YULNJRDC.js} +1 -1
  94. package/dist/cdn/{5R7JSUMU.js → YWG3JNZV.js} +1 -1
  95. package/dist/cdn/{LICVCZV3.js → ZMCI6OFQ.js} +1 -1
  96. package/dist/cdn/{K6WRNZNS.js → ZSDTIVLB.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/data.js +18 -18
  100. package/dist/chunks/heat-chart-model.js +1 -1
  101. package/dist/chunks/index2.js +279 -283
  102. package/dist/chunks/index4.js +1 -1
  103. package/dist/chunks/runtime.js +1 -1
  104. package/dist/chunks/serial-chart-data.js +584 -551
  105. package/dist/chunks/serial-chart-model.js +15 -16
  106. package/dist/chunks/web-component-utils.js +1 -1
  107. package/dist/components/arcgis-chart/customElement.js +1460 -1466
  108. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  109. package/dist/docs/api.json +1 -1
  110. package/dist/docs/docs.json +1 -1
  111. package/dist/docs/web-types.json +1 -1
  112. package/dist/utils/chart-config/converter/index.js +264 -264
  113. package/dist/utils/chart-config/utils/index.d.ts +0 -1
  114. package/package.json +3 -3
  115. package/dist/cdn/4YNNLXOR.js +0 -3
  116. package/dist/cdn/5V7AXRZE.js +0 -2
  117. package/dist/cdn/GLF6VQG2.js +0 -2
  118. package/dist/cdn/HKNCEFUZ.js +0 -2
  119. package/dist/cdn/I4RQGTPI.js +0 -2
  120. package/dist/cdn/IXSN6MY7.js +0 -2
  121. package/dist/cdn/M66MRAE3.js +0 -2
  122. package/dist/cdn/UJYCLRQL.js +0 -2
  123. package/dist/cdn/YAKN4VHT.js +0 -2
  124. package/dist/cdn/ZJ5I6C2W.js +0 -2
  125. package/dist/chunks/time-zone.js +0 -38
@@ -26,14 +26,14 @@ import Er from "@arcgis/core/AttributeBinsGraphic.js";
26
26
  import { substitute as Be } from "@arcgis/core/intl.js";
27
27
  import { g as Vt, L as lt, az as W, j as Q, r as ut, o as Oe, ax as Kt, am as ra, aB as na, aq as qr, s as Rt, ay as Vr, b as Rr, a as $r } from "./index.js";
28
28
  import { unsafeGetElementDirection as kr } from "@arcgis/toolkit/dom";
29
- import { fetchT9nStringsBundle as ft, getElementLocale as ze, supportedLocales as sa } from "@arcgis/toolkit/intl";
30
- import { i as oa, b as la, c as ie, a as mt, f as Qr, e as _r } from "./type-guards.js";
29
+ import { fetchT9nStringsBundle as mt, getElementLocale as ze, supportedLocales as sa } from "@arcgis/toolkit/intl";
30
+ import { i as oa, b as la, c as ie, a as yt, f as Qr, e as _r } from "./type-guards.js";
31
31
  import * as ua from "@arcgis/core/core/promiseUtils.js";
32
- import { g as yt } from "./runtime.js";
32
+ import { g as gt } from "./runtime.js";
33
33
  import { linearRegression as jr, linearRegressionLine as Hr, rSquared as zr } from "simple-statistics";
34
34
  import { sqlLiteral as Wr } from "@arcgis/core/core/sql.js";
35
35
  import { DateTime as me } from "luxon";
36
- import { computeStatisticsHistograms as Gr, computeRasterAttributeTable as Ur, getCurrentRasterInfo as bt, fetchPixelFeatureSet as Yr } from "@arcgis/core/applications/Components/imageryUtils.js";
36
+ import { computeStatisticsHistograms as Gr, computeRasterAttributeTable as Ur, getCurrentRasterInfo as ct, fetchPixelFeatureSet as Yr } from "@arcgis/core/applications/Components/imageryUtils.js";
37
37
  import Zr from "@arcgis/core/geometry/Extent.js";
38
38
  import ca from "@arcgis/core/geometry/Point.js";
39
39
  import Xr from "@arcgis/core/layers/ImageryLayer.js";
@@ -145,13 +145,10 @@ function We(t) {
145
145
  function de(t) {
146
146
  return _(t?.series) === h.BoxPlotSeries;
147
147
  }
148
- function cc(t) {
149
- return _(t?.series) === h.ComboLineAndBarSeries;
150
- }
151
148
  function dn(t) {
152
149
  return t !== void 0 && t !== Jt.Solid && t !== Jt.Null;
153
150
  }
154
- function dc(t, e) {
151
+ function cc(t, e) {
155
152
  let i = "";
156
153
  const n = (e ?? 0) / 2, s = 0 - n, o = 0 + n, u = 0 - n, c = 0 + n;
157
154
  switch (t) {
@@ -176,7 +173,7 @@ function dc(t, e) {
176
173
  }
177
174
  return i;
178
175
  }
179
- const ce = "arcgis_charts_pie_from_fields_name", Ne = "arcgis_charts_pie_from_fields_value", fc = "arcgis_charts_bar_line_from_fields_name", mc = "arcgis_charts_bar_line_from_fields_value", gt = {
176
+ const ce = "arcgis_charts_pie_from_fields_name", Ne = "arcgis_charts_pie_from_fields_value", dc = "arcgis_charts_bar_line_from_fields_name", fc = "arcgis_charts_bar_line_from_fields_value", pt = {
180
177
  ...C,
181
178
  titleAndSubtitlePaddingBottom: 5,
182
179
  chartPadding: 5,
@@ -283,22 +280,22 @@ function Ze(t) {
283
280
  bubbles: !0
284
281
  };
285
282
  }
286
- function yc(t, e) {
283
+ function mc(t, e) {
287
284
  e && e.dispatchEvent(
288
285
  new window.CustomEvent(Ye.LegendItemVisibilityChange, Ze(t))
289
286
  );
290
287
  }
291
- function gc(t) {
288
+ function yc(t) {
292
289
  t && t.dispatchEvent(new window.CustomEvent(Ye.RenderingComplete, Ze()));
293
290
  }
294
- function pc(t) {
291
+ function gc(t) {
295
292
  const { data: e, htmlContainer: i } = t;
296
293
  i && i.dispatchEvent(new window.CustomEvent(Ye.SelectionComplete, Ze(e)));
297
294
  }
298
- function hc(t) {
295
+ function pc(t) {
299
296
  t && t.dispatchEvent(new window.CustomEvent(Ye.TooManySelectedElements, Ze()));
300
297
  }
301
- function Sc(t) {
298
+ function hc(t) {
302
299
  const { data: e, htmlContainer: i, chartId: a, colorMatchApplied: r } = t;
303
300
  i && i.dispatchEvent(
304
301
  new window.CustomEvent(
@@ -311,7 +308,7 @@ function Sc(t) {
311
308
  )
312
309
  );
313
310
  }
314
- function Fc(t, e) {
311
+ function Sc(t, e) {
315
312
  e && e.dispatchEvent(new window.CustomEvent(Ye.AxesMinMaxChange, Ze(t)));
316
313
  }
317
314
  function fn(t) {
@@ -329,7 +326,7 @@ const E = {
329
326
  StandardDeviation: "stddev",
330
327
  Outlier: "outlier"
331
328
  };
332
- function bc(t) {
329
+ function Fc(t) {
333
330
  return t !== void 0 && (!("url" in t) || !t.url);
334
331
  }
335
332
  function Ee(t) {
@@ -338,7 +335,7 @@ function Ee(t) {
338
335
  function da(t) {
339
336
  return t !== void 0 && "type" in t && t.type === "feature";
340
337
  }
341
- function xc(t) {
338
+ function bc(t) {
342
339
  return t !== void 0 && "type" in t && t.type === "subtype-group";
343
340
  }
344
341
  function fa(t) {
@@ -356,7 +353,7 @@ function ma(t) {
356
353
  function yn(t) {
357
354
  return t?.capabilities?.queryAttributeBins?.supportsFixedInterval === !0 && t?.capabilities?.queryAttributeBins?.supportsStackBy;
358
355
  }
359
- function Cc(t) {
356
+ function xc(t) {
360
357
  const { chartConfig: e, queryObject: i, options: a } = t, r = _(e?.series), n = te(e?.series[0]?.query?.where);
361
358
  return !(r === h.HeatSeries || e && Pe({
362
359
  xAxisValueFormatType: xe(e),
@@ -368,7 +365,7 @@ function Cc(t) {
368
365
  function rt(t, e) {
369
366
  return e !== void 0 && (Ee(e) || !ie(e) && "capabilities" in e && e.capabilities?.queryAttributeBins?.supportsDate === !0 && (oe(t) || e.capabilities?.queryAttributeBins?.supportsStackBy));
370
367
  }
371
- function vc(t) {
368
+ function Cc(t) {
372
369
  return ge(
373
370
  z(t)
374
371
  )?.sourceJSON?.advancedQueryCapabilities.supportedOperationsWithCacheHint.includes("queryBins");
@@ -384,7 +381,7 @@ function gn(t) {
384
381
  }
385
382
  return e;
386
383
  }
387
- function Bc(t) {
384
+ function vc(t) {
388
385
  let e;
389
386
  return Ee(t) ? e = t.layer : e = t, e;
390
387
  }
@@ -397,7 +394,7 @@ function pn(t) {
397
394
  const i = ge(t)?.sourceJSON?.advancedQueryCapabilities?.supportedSpatialAggregationStatistics ?? [], a = t?.capabilities?.query.supportedSpatialAggregationStatistics ?? {};
398
395
  return e = i.includes("EnvelopeAggregate") || "envelope" in a && a.envelope === !0, e;
399
396
  }
400
- function Nc(t) {
397
+ function Bc(t) {
401
398
  const { chartConfig: e, queryObject: i } = t;
402
399
  let a;
403
400
  if (i) {
@@ -532,7 +529,7 @@ function Gt(t, e) {
532
529
  function bn(t) {
533
530
  return t !== void 0 ? /^([1-9]\d*|0)(\.(([1-9]\d*)|0)){2}$/u.test(t) : !1;
534
531
  }
535
- function Tc(t) {
532
+ function Nc(t) {
536
533
  let e = Ke.Same, i = [];
537
534
  if (bn(t) && t !== void 0) {
538
535
  Qe.sort(Gt);
@@ -556,7 +553,7 @@ function Re(t) {
556
553
  let a = ("showMean" in t ? t.showMean : !1) === !0 ? e.find((r) => r.type === h.LineSeries) : e[0];
557
554
  return a ??= e[0], a;
558
555
  }
559
- function Ac(t, e) {
556
+ function Tc(t, e) {
560
557
  const i = t !== null ? t.toString() : null, a = e != null ? e.toString() : null;
561
558
  return a !== null && a !== i ? _e.SFS : _e.SLS;
562
559
  }
@@ -751,7 +748,7 @@ function wn(t, e) {
751
748
  return (t.hideEmptyRowsAndColumns ?? !1) !== (e.hideEmptyRowsAndColumns ?? !1);
752
749
  }
753
750
  function Ln(t, e) {
754
- return (t.includeLeapDay ?? gt.heatChart.includeLeapDay) !== (e.includeLeapDay ?? gt.heatChart.includeLeapDay);
751
+ return (t.includeLeapDay ?? pt.heatChart.includeLeapDay) !== (e.includeLeapDay ?? pt.heatChart.includeLeapDay);
755
752
  }
756
753
  function Pn(t) {
757
754
  const { previousConfig: e, newConfig: i, fieldList: a } = t, r = e.series[0], n = i.series[0];
@@ -760,36 +757,36 @@ function Pn(t) {
760
757
  const o = new Set(r.additionalTooltipFields || []), u = new Set(n.additionalTooltipFields || []);
761
758
  if (!at(o, u)) {
762
759
  const c = Array.from(u).filter((l) => !o.has(l));
763
- c.length > 0 && (s = a?.some((l) => c.includes(l.name) && !St(l)));
760
+ c.length > 0 && (s = a?.some((l) => c.includes(l.name) && !Ft(l)));
764
761
  }
765
762
  }
766
763
  return s;
767
764
  }
768
- function wc(t, e) {
765
+ function Ac(t, e) {
769
766
  return (t?.colorMatch ?? !1) !== (e.colorMatch ?? !1);
770
767
  }
771
- function Lc(t, e) {
768
+ function wc(t, e) {
772
769
  return (t.stackedType ?? Te.Side) !== (e.stackedType ?? Te.Side);
773
770
  }
774
771
  function Pt(t) {
775
772
  const e = { ...t };
776
- return e.position === void 0 && (e.position = gt.heatChart.legend.position), e;
773
+ return e.position === void 0 && (e.position = pt.heatChart.legend.position), e;
777
774
  }
778
- function Pc(t, e) {
775
+ function Lc(t, e) {
779
776
  const i = t.legend ?? { type: h.Legend }, a = e.legend ?? { type: h.Legend }, r = Pt(i), n = Pt(a);
780
777
  return !at(r, n);
781
778
  }
782
- function Mc(t, e) {
779
+ function Pc(t, e) {
783
780
  const i = t.legend ?? { type: h.Legend }, a = e.legend ?? { type: h.Legend }, r = Pt(i), n = Pt(a);
784
781
  return r.position !== n.position;
785
782
  }
786
- function Dc(t, e) {
783
+ function Mc(t, e) {
787
784
  return JSON.stringify(t.series[0]?.gradientRules) !== JSON.stringify(e.series[0]?.gradientRules);
788
785
  }
789
- function Oc(t, e) {
786
+ function Dc(t, e) {
790
787
  return t.series[0].heatRulesType !== e.series[0].heatRulesType;
791
788
  }
792
- function Ic(t) {
789
+ function Oc(t) {
793
790
  const { oldConfig: e, newConfig: i } = t;
794
791
  let a = !1;
795
792
  const r = e?.series[0], n = i.series[0], s = _(e?.series), o = _(i.series);
@@ -810,47 +807,47 @@ function Mn(t) {
810
807
  let r = !1;
811
808
  return a === !0 && (r = e?.length !== i?.selectionOIDs?.length || !at(e, i?.selectionOIDs)), r;
812
809
  }
813
- function Ec(t, e) {
810
+ function Ic(t, e) {
814
811
  return t?.length !== e?.length || t?.some((i, a) => {
815
812
  const r = fe({ where: i?.query?.where }), n = fe({ where: e?.[a]?.query?.where });
816
813
  return r !== n;
817
814
  });
818
815
  }
819
- function qc(t, e) {
816
+ function Ec(t, e) {
820
817
  const i = ue(t), a = ue(e);
821
818
  return JSON.stringify(i) !== JSON.stringify(a);
822
819
  }
823
- function Vc(t, e) {
820
+ function qc(t, e) {
824
821
  let i, a, r, n;
825
822
  return be(t.series[0]) && (i = t.series[0].temporalBinning?.unit, r = t.series[0].temporalBinning?.size), be(e.series[0]) && (a = e.series[0].temporalBinning?.unit, n = e.series[0].temporalBinning?.size), ei(i, r) && !ei(a, n);
826
823
  }
827
- function Rc(t, e) {
824
+ function Vc(t, e) {
828
825
  return t.axes?.length === 3 && e.axes?.length === 2 || t.axes?.length === 2 && e.axes?.length === 3;
829
826
  }
830
- function $c(t, e) {
827
+ function Rc(t, e) {
831
828
  return JSON.stringify(t.series.map((i) => i.assignToSecondValueAxis ?? !1)) !== JSON.stringify(e.series.map((i) => i.assignToSecondValueAxis ?? !1));
832
829
  }
833
- function kc(t, e) {
830
+ function $c(t, e) {
834
831
  const i = t.axes?.map((r) => r?.guides?.map((n) => n?.above === !0)), a = e.axes?.map((r) => r?.guides?.map((n) => n?.above === !0));
835
832
  return JSON.stringify(i) !== JSON.stringify(a);
836
833
  }
837
- function Qc(t, e) {
834
+ function kc(t, e) {
838
835
  return Li(t) !== Li(e);
839
836
  }
840
- function _c(t, e) {
837
+ function Qc(t, e) {
841
838
  return (t.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility) !== (e.showOutliers ?? C.boxPlot.boxPlotOutliersVisibility);
842
839
  }
843
- function jc(t, e) {
840
+ function _c(t, e) {
844
841
  return (t.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility) !== (e.standardizeValues ?? C.boxPlot.boxPlotStandardizeValuesVisibility);
845
842
  }
846
- function Hc(t, e) {
843
+ function jc(t, e) {
847
844
  return JSON.stringify(t?.chartRenderer) !== JSON.stringify(e?.chartRenderer);
848
845
  }
849
- function zc(t, e) {
846
+ function Hc(t, e) {
850
847
  const i = t.axes?.[0].valueFormat.type === h.DateAxisFormat ? t.axes[0].valueFormat.intlOptions.timeZone : void 0, a = e.axes?.[0].valueFormat.type === h.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0;
851
848
  return i !== a;
852
849
  }
853
- function Wc(t, e) {
850
+ function zc(t, e) {
854
851
  let i = !1;
855
852
  const a = t.series[0], r = e.series[0];
856
853
  if (a.type === h.ScatterSeries && r.type === h.ScatterSeries) {
@@ -859,7 +856,7 @@ function Wc(t, e) {
859
856
  }
860
857
  return i;
861
858
  }
862
- function Gc(t, e) {
859
+ function Wc(t, e) {
863
860
  let i = !1;
864
861
  const a = t.series[0], r = e.series[0];
865
862
  if (a.type === h.ScatterSeries && r.type === h.ScatterSeries) {
@@ -868,7 +865,7 @@ function Gc(t, e) {
868
865
  }
869
866
  return i;
870
867
  }
871
- function Uc(t) {
868
+ function Gc(t) {
872
869
  const {
873
870
  previousConfig: e,
874
871
  newConfig: i,
@@ -964,7 +961,7 @@ function Uc(t) {
964
961
  }
965
962
  return p = Object.values(S.common).some((b) => b), (S.gauge.valueConversionChanged || S.histogram.dataPropsChanged || S.boxPlot.showMeanChanged || S.heatChart.binningChanged || S.heatChart.hideEmptyRowsAndColumnsChanged || S.heatChart.includeLeapDay || S.scatterPlot.tooltipFieldsChanged) && (g = !0), y = p || g, { dataUpdateNeeded: y, dataUpdateDetails: S };
966
963
  }
967
- function Yc(t, e) {
964
+ function Uc(t, e) {
968
965
  const i = He(t);
969
966
  if (i && i.series.length > 1) {
970
967
  const { preferLabel: a, orderBy: r } = i.orderOptions?.series ?? {};
@@ -1038,7 +1035,7 @@ function Na(t) {
1038
1035
  let s, o = "", u;
1039
1036
  if (t.orderOptions?.data !== void 0) {
1040
1037
  const c = t.orderOptions.data && "preferLabel" in t.orderOptions.data ? t.orderOptions.data.preferLabel : !0;
1041
- if (o = t.orderOptions?.data?.orderType ?? De.Category, u = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : void 0, o === De.Category ? r ? o = ce : o = c ? i : gt.originalCategoryValue : o = r ? Ne : [a].flat()[0], o !== void 0 && o !== "") {
1038
+ if (o = t.orderOptions?.data?.orderType ?? De.Category, u = t.orderOptions?.data && "orderBy" in t.orderOptions.data ? t.orderOptions.data.orderBy : void 0, o === De.Category ? r ? o = ce : o = c ? i : pt.originalCategoryValue : o = r ? Ne : [a].flat()[0], o !== void 0 && o !== "") {
1042
1039
  const l = ci(t);
1043
1040
  if (_(t.series) !== h.PieSeries && o !== i && t.series?.length > 1)
1044
1041
  switch (l) {
@@ -1059,7 +1056,7 @@ function Na(t) {
1059
1056
  };
1060
1057
  }
1061
1058
  } else (n || r) && t.series[0].query?.outStatistics && (u = t.series[0].query.outStatistics.map((c) => c.onStatisticField), u?.length > 1 && (s = {
1062
- sortingField: gt.originalCategoryValue,
1059
+ sortingField: pt.originalCategoryValue,
1063
1060
  orderBy: u,
1064
1061
  preferLabel: !1
1065
1062
  }));
@@ -1088,7 +1085,7 @@ function Mt(t) {
1088
1085
  }
1089
1086
  return e;
1090
1087
  }
1091
- function Zc(t) {
1088
+ function Yc(t) {
1092
1089
  const { oldConfig: e, newConfig: i, dataWasUpdated: a } = t, r = _(i.series), n = k(i.series);
1093
1090
  let s = !1, o = !1;
1094
1091
  if (n !== F.BoxPlotMonoField && n !== F.BoxPlotMonoFieldAndSplitBy && i.orderOptions?.data !== void 0) {
@@ -1103,7 +1100,7 @@ function Zc(t) {
1103
1100
  }
1104
1101
  return s;
1105
1102
  }
1106
- const Xc = {
1103
+ const Zc = {
1107
1104
  getPieChartChartSubType: ya,
1108
1105
  getBarLineChartSubType: ga,
1109
1106
  hasQueryChanged: ha,
@@ -1149,7 +1146,7 @@ function fi(t) {
1149
1146
  function In(t) {
1150
1147
  return t?.[C.originalCategoryValue];
1151
1148
  }
1152
- function pt(t) {
1149
+ function ht(t) {
1153
1150
  const {
1154
1151
  arrayToSort: e,
1155
1152
  orderBy: i,
@@ -1167,13 +1164,13 @@ function pt(t) {
1167
1164
  s === !0 && !u && (m = Mi({
1168
1165
  value: `${l[a]?.toString()}`,
1169
1166
  dataContext: l,
1170
- specificField: o ? C.xAxisField : void 0
1167
+ specificField: o ? C.xAxisField : C.originalCategoryValue
1171
1168
  }));
1172
1169
  let y = d[a];
1173
1170
  return s === !0 && !u && (y = Mi({
1174
1171
  value: `${d[a]?.toString()}`,
1175
1172
  dataContext: d,
1176
- specificField: o ? C.xAxisField : void 0
1173
+ specificField: o ? C.xAxisField : C.originalCategoryValue
1177
1174
  })), n === !0 && c && s === !0 && (m = Number.isNaN(Number.parseFloat(`${m?.toString()}`)) ? m : Number.parseFloat(m), y = Number.isNaN(Number.parseFloat(`${y?.toString()}`)) ? y : Number.parseFloat(y)), s === !0 && (l[C.originalCategoryValue] === null || m === null) || l[Kt.defaultGroupOfSlicesId] === !0 ? f = 1 : s === !0 && (d[C.originalCategoryValue] === null || y === null) || d[Kt.defaultGroupOfSlicesId] === !0 ? f = -1 : typeof m == "string" && typeof y == "string" ? (f = m.localeCompare(y, void 0, { numeric: !0 }), c && (f *= -1)) : m === void 0 ? f = c ? -1 : 1 : y === void 0 ? f = c ? 1 : -1 : m !== null && y !== null && (m > y ? f = c ? -1 : 1 : m < y && (f = c ? 1 : -1)), f;
1178
1175
  });
1179
1176
  }
@@ -1314,7 +1311,7 @@ function Rn(t) {
1314
1311
  }
1315
1312
  return e;
1316
1313
  }
1317
- function Jc(t) {
1314
+ function Xc(t) {
1318
1315
  let e;
1319
1316
  if (Rn(t)) {
1320
1317
  const i = /%(\d{1,3}(.\d+)?)$/u, a = /(\d{1,3}(.\d+)?)%$/u, r = t.replace(" ", ""), n = i.exec(r)?.[1] ?? a.exec(r)?.[1];
@@ -1327,7 +1324,7 @@ function Aa(t) {
1327
1324
  let r = e;
1328
1325
  return typeof i == "number" && Number.isFinite(i) && i > 0 && i < e.length && (r = e.slice(0, i), r = `${r}${a}`), r;
1329
1326
  }
1330
- function Kc(t) {
1327
+ function Jc(t) {
1331
1328
  const { input: e, charsPerLine: i } = t;
1332
1329
  let a = e;
1333
1330
  if (i > 0 && e.length > i) {
@@ -1341,10 +1338,10 @@ ${d}`;
1341
1338
  }
1342
1339
  return a;
1343
1340
  }
1344
- function ed(t, e = ":") {
1341
+ function Kc(t, e = ":") {
1345
1342
  return t ? `‏${e}` : `‎${e}`;
1346
1343
  }
1347
- function td(t) {
1344
+ function ed(t) {
1348
1345
  return (i) => {
1349
1346
  let a = typeof i != "string" ? i?.toString() ?? "" : i;
1350
1347
  return !oe(a) && a !== C.htmlEmptyContent && (a = Aa({
@@ -1365,7 +1362,7 @@ function Qn(t, e) {
1365
1362
  let i = "";
1366
1363
  return t === !0 && (i = `${e === "amChartsV5" ? "letterSpacing" : "letter-spacing"}:1px;`), i;
1367
1364
  }
1368
- function id(t) {
1365
+ function td(t) {
1369
1366
  const { textSymbol: e, placeholderString: i, format: a, axisLabelsBehavior: r, defaults: n } = t, s = kn(e?.font?.style, a), o = Qn(e?.kerning, a);
1370
1367
  let u = i ?? e?.text ?? "";
1371
1368
  if (a === "html") {
@@ -1380,18 +1377,18 @@ function id(t) {
1380
1377
  function _n(t) {
1381
1378
  return t ? t.replace(/[A-Z]/gu, (e) => `-${e.toLowerCase()}`) : void 0;
1382
1379
  }
1383
- const ad = [
1380
+ const id = [
1384
1381
  h.BarSeries,
1385
1382
  h.BoxPlotSeries,
1386
1383
  h.LineSeries,
1387
1384
  h.PieSeries,
1388
1385
  h.HistogramSeries,
1389
1386
  h.ScatterSeries
1390
- ], rd = 1, nd = { PNG: "png" }, tt = {
1387
+ ], ad = 1, rd = { PNG: "png" }, tt = {
1391
1388
  ChartRenderer: 1,
1392
1389
  LayerRenderer: 2
1393
1390
  };
1394
- function sd(t) {
1391
+ function nd(t) {
1395
1392
  const { chartConfig: e, queryObject: i } = t;
1396
1393
  let a = !1;
1397
1394
  if (e.chartRenderer)
@@ -1658,7 +1655,7 @@ function Zn(t) {
1658
1655
  }
1659
1656
  return s;
1660
1657
  }
1661
- function od(t) {
1658
+ function sd(t) {
1662
1659
  const { seriesSymbol: e, rendererSymbol: i, colorIndex: a } = t;
1663
1660
  let r = i?.color ?? e.color;
1664
1661
  r = r ?? ra({ colorIndex: a, opacity: na });
@@ -1677,7 +1674,7 @@ function Xn(t) {
1677
1674
  let e = [];
1678
1675
  return t && (e = t.series.flatMap((i) => i.query?.outStatistics?.map((a) => a.onStatisticField)).filter((i) => i !== void 0), e.length === 0 && (e = ue(t.series))), e;
1679
1676
  }
1680
- function ld(t, e) {
1677
+ function od(t, e) {
1681
1678
  let i = !1;
1682
1679
  if (t && e && e.length > 0 && aa(t)) {
1683
1680
  const r = ts(t), n = Re(t);
@@ -1710,7 +1707,7 @@ function Kn(t, e) {
1710
1707
  function es(t, e) {
1711
1708
  return t[0].binCount !== e[0].binCount;
1712
1709
  }
1713
- function ud(t, e) {
1710
+ function ld(t, e) {
1714
1711
  let i = !0;
1715
1712
  const a = _(t?.series), r = _(e?.series);
1716
1713
  return a && a !== r && (i = a === h.ComboLineAndBarSeries && (r === h.BarSeries || r === h.LineSeries) || r === h.ComboLineAndBarSeries && (a === h.BarSeries || a === h.LineSeries) || a === h.BarSeries && r === h.LineSeries || a === h.LineSeries && r === h.BarSeries), i;
@@ -1718,7 +1715,7 @@ function ud(t, e) {
1718
1715
  function ei(t, e) {
1719
1716
  return t !== void 0 && e !== void 0 && e > 0;
1720
1717
  }
1721
- function cd(t) {
1718
+ function ud(t) {
1722
1719
  const { chartConfig: e, queryObject: i, chartData: a } = t;
1723
1720
  let r = [];
1724
1721
  const n = k(e.series), s = aa(e), o = z(i), u = e.chartRenderer ?? o?.renderer?.toJSON();
@@ -1747,7 +1744,7 @@ function st(t) {
1747
1744
  function is(t) {
1748
1745
  return de(t) ? t?.showOutliers : void 0;
1749
1746
  }
1750
- function dd() {
1747
+ function cd() {
1751
1748
  return `{name} {${C.originalCategoryValue}} {dateY} {valueX} {dateX} {valueY}`;
1752
1749
  }
1753
1750
  function as(t, e) {
@@ -2028,10 +2025,10 @@ const le = {
2028
2025
  ChartDisposed: "ChartDisposeError",
2029
2026
  LayerFieldsNotFound: "layerFieldsNotFound",
2030
2027
  LayerNotSupported: "layerNotSupported"
2031
- }, Ge = /* @__PURE__ */ new Map(), fd = {
2028
+ }, Ge = /* @__PURE__ */ new Map(), dd = {
2032
2029
  NonNumericAggregation: "nonNumericAggregation",
2033
2030
  DuplicateSeriesID: "duplicateSeriesId"
2034
- }, md = {
2031
+ }, fd = {
2035
2032
  Required: "required",
2036
2033
  MinLength: "minLength",
2037
2034
  MinItems: "minItems",
@@ -2080,10 +2077,10 @@ async function ys(t) {
2080
2077
  if (!ie(f))
2081
2078
  throw new re(le.LayerNotSupported);
2082
2079
  f.loaded || await f.load({ signal: n });
2083
- const m = await ct(f, n);
2080
+ const m = await dt(f, n);
2084
2081
  if (!m)
2085
2082
  throw new Error("Raster info is not available for the layer.");
2086
- const y = dt(e.geometry) ?? f.fullExtent, p = m.bandCount === 1 ? 0 : m.bandInfos.findIndex((b) => b.name === c);
2083
+ const y = ft(e.geometry) ?? f.fullExtent, p = m.bandCount === 1 ? 0 : m.bandInfos.findIndex((b) => b.name === c);
2087
2084
  let g, S;
2088
2085
  if (s !== !0 && (l === void 0 || l === Z.None) && d && Array.isArray(m.histograms) && m.histograms.length > p && m.histograms[p].size % d === 0 && Array.isArray(m.statistics) && m?.statistics?.length > p)
2089
2086
  g = m.histograms[p], S = m.statistics[p];
@@ -2218,7 +2215,7 @@ function Ss(t) {
2218
2215
  pixelRanges: s
2219
2216
  } : void 0;
2220
2217
  }
2221
- function ht(t, e) {
2218
+ function St(t, e) {
2222
2219
  let i, a;
2223
2220
  const r = e ?? ((n) => n);
2224
2221
  for (const n of t) {
@@ -2248,7 +2245,7 @@ function bs(t, e) {
2248
2245
  }
2249
2246
  return i;
2250
2247
  }
2251
- function yd(t, e, i = 1) {
2248
+ function md(t, e, i = 1) {
2252
2249
  const a = Math.max(0, Math.ceil((e - t) / i)), r = new Array(a);
2253
2250
  for (let n = 0; n < a; n++)
2254
2251
  r[n] = t + n * i;
@@ -2293,7 +2290,7 @@ async function vs(t) {
2293
2290
  let m;
2294
2291
  const y = z(e), p = ge(y);
2295
2292
  if (p) {
2296
- const S = { where: Y([u, p.definitionExpression]) }, b = { query: S, signal: o }, v = dt(c)?.extent?.toJSON();
2293
+ const S = { where: Y([u, p.definitionExpression]) }, b = { query: S, signal: o }, v = ft(c)?.extent?.toJSON();
2297
2294
  if (v !== void 0) {
2298
2295
  const B = Cs(d), { xmin: N, ymin: T, xmax: w, ymax: L } = v;
2299
2296
  S.geometryType = "esriGeometryEnvelope", S.geometry = `${N},${T},${w},${L}`, l !== void 0 && (S.distance = l.toString()), B !== void 0 && (S.units = B, c?.spatialReference?.wkid != null && (S.inSR = c.spatialReference.wkid.toString()));
@@ -2303,9 +2300,9 @@ async function vs(t) {
2303
2300
  try {
2304
2301
  m = (await Lt(x, b)).data?.features?.[0]?.attributes;
2305
2302
  } catch (B) {
2306
- const N = s ?? (await ft(
2303
+ const N = s ?? (await mt(
2307
2304
  ze(document.documentElement).t9nLocale,
2308
- yt("./assets/common/t9n"),
2305
+ gt("./assets/common/t9n"),
2309
2306
  "messages."
2310
2307
  )).errorStrings;
2311
2308
  throw new re(le.QueryFeaturesError, N.errors.queryError, B);
@@ -2425,9 +2422,9 @@ async function xt(t) {
2425
2422
  });
2426
2423
  } catch (f) {
2427
2424
  if (!ua.isAbortError(f)) {
2428
- const m = r ?? (await ft(
2425
+ const m = r ?? (await mt(
2429
2426
  ze(document.documentElement).t9nLocale,
2430
- yt("./assets/common/t9n"),
2427
+ gt("./assets/common/t9n"),
2431
2428
  "messages."
2432
2429
  )).errorStrings;
2433
2430
  throw new re(le.QueryFeaturesError, m.errors.queryError, f);
@@ -2466,9 +2463,9 @@ async function Oa(t) {
2466
2463
  o = (await e.queryFeatures(d, { signal: c })).features;
2467
2464
  } catch (f) {
2468
2465
  if (!ua.isAbortError(f)) {
2469
- const m = n ?? (await ft(
2466
+ const m = n ?? (await mt(
2470
2467
  ze(document.documentElement).t9nLocale,
2471
- yt("./assets/common/t9n"),
2468
+ gt("./assets/common/t9n"),
2472
2469
  "messages."
2473
2470
  )).errorStrings;
2474
2471
  throw new re(le.QueryFeaturesError, m.errors.queryError, f);
@@ -2521,7 +2518,7 @@ async function Fe(t) {
2521
2518
  }));
2522
2519
  return c;
2523
2520
  }
2524
- async function gd(t) {
2521
+ async function yd(t) {
2525
2522
  const { queryObject: e, queryConfig: i, uniqueFeature: a, errorStrings: r, abortKey: n } = t, s = { ...i, returnDistinctValues: !0 };
2526
2523
  return await Fe({
2527
2524
  queryObject: e,
@@ -2576,18 +2573,18 @@ async function Ps(t) {
2576
2573
  d = (await e.queryAttributeBins(y, { signal: l })).features;
2577
2574
  }
2578
2575
  } catch (y) {
2579
- const p = o ?? (await ft(
2576
+ const p = o ?? (await mt(
2580
2577
  ze(document.documentElement).t9nLocale,
2581
- yt("./assets/common/t9n"),
2578
+ gt("./assets/common/t9n"),
2582
2579
  "messages."
2583
2580
  )).errorStrings;
2584
2581
  throw new re(le.QueryFeaturesError, p.errors.queryError, y);
2585
2582
  }
2586
2583
  }
2587
2584
  if (f === !1) {
2588
- const m = o ?? (await ft(
2585
+ const m = o ?? (await mt(
2589
2586
  ze(document.documentElement).t9nLocale,
2590
- yt("./assets/common/t9n"),
2587
+ gt("./assets/common/t9n"),
2591
2588
  "messages."
2592
2589
  )).errorStrings;
2593
2590
  throw new re(
@@ -2616,7 +2613,7 @@ async function Ms(t) {
2616
2613
  return a;
2617
2614
  }
2618
2615
  function Ds(t) {
2619
- const { x: e, y: i, trendlineXToY: a, data: r } = t, { min: n, max: s } = r ? ht(r, (u) => u[e]) : { min: Number.NaN, max: Number.NaN };
2616
+ const { x: e, y: i, trendlineXToY: a, data: r } = t, { min: n, max: s } = r ? St(r, (u) => u[e]) : { min: Number.NaN, max: Number.NaN };
2620
2617
  return [
2621
2618
  { [e]: n ?? Number.NaN, [i]: a(n ?? Number.NaN) },
2622
2619
  { [e]: s ?? Number.NaN, [i]: a(s ?? Number.NaN) }
@@ -2629,7 +2626,7 @@ function Os(t) {
2629
2626
  }
2630
2627
  async function Is(t) {
2631
2628
  const { statsMap: e, queryObject: i, chartConfig: a, queryConfig: r, errorStrings: n, abortSignal: s } = t, o = a.series[0], { x: u, y: c } = o;
2632
- mt(i);
2629
+ yt(i);
2633
2630
  let l = Number.NaN, d = [
2634
2631
  { [u]: Number.NaN, [c]: Number.NaN },
2635
2632
  { [u]: Number.NaN, [c]: Number.NaN }
@@ -2698,7 +2695,7 @@ const Es = 50, qs = 4194304;
2698
2695
  async function Vs(t) {
2699
2696
  const { layer: e, chartConfig: i, rawData: a } = t;
2700
2697
  let r;
2701
- const n = i.series[0], { x: s, y: o } = n, { idField: u } = ve(e), c = await ct(e);
2698
+ const n = i.series[0], { x: s, y: o } = n, { idField: u } = ve(e), c = await dt(e);
2702
2699
  if (c) {
2703
2700
  const l = c.bandInfos, d = l.length === 1, f = d ? l?.[0].name : "";
2704
2701
  r = a.map((m) => ({
@@ -2737,7 +2734,7 @@ async function $s(t) {
2737
2734
  chartConfig: e,
2738
2735
  rawData: u
2739
2736
  });
2740
- r !== !1 && pt({
2737
+ r !== !1 && ht({
2741
2738
  arrayToSort: c,
2742
2739
  sortingField: e.series[0].x,
2743
2740
  orderBy: ye.Ascending
@@ -2888,7 +2885,7 @@ function Ii(t, e) {
2888
2885
  async function Hs(t) {
2889
2886
  const { layer: e, geometry: i, filterByViewExtent: a, view: r, abortKey: n, abortSignal: s } = t;
2890
2887
  e.loaded || await e.load({ signal: s });
2891
- const o = await ct(e, s), u = dt(i) ?? e.fullExtent;
2888
+ const o = await dt(e, s), u = ft(i) ?? e.fullExtent;
2892
2889
  let c = o?.attributeTable;
2893
2890
  if (a) {
2894
2891
  const l = r ? new ca({
@@ -2973,8 +2970,8 @@ async function zs(t) {
2973
2970
  }
2974
2971
  return u;
2975
2972
  }
2976
- async function pd(t) {
2977
- const { layer: e, category: i, splitByField: a, fetchNullValues: r } = t, o = (await ct(e))?.attributeTable?.features, u = a ?? i;
2973
+ async function gd(t) {
2974
+ const { layer: e, category: i, splitByField: a, fetchNullValues: r } = t, o = (await dt(e))?.attributeTable?.features, u = a ?? i;
2978
2975
  return Array.from(
2979
2976
  new Set(
2980
2977
  o?.filter((l) => {
@@ -3006,7 +3003,7 @@ function Gs(t, e) {
3006
3003
  function Us(t) {
3007
3004
  const { chartConfig: e, layer: i, selectionDataItems: a } = t;
3008
3005
  let r;
3009
- const n = i.serviceRasterInfo?.attributeTable, s = e.series?.[0]?.x, o = n?.features, u = n?.fields?.find(({ name: c }) => c.toLowerCase() === "value")?.name;
3006
+ const n = i.serviceRasterInfo?.attributeTable ?? ct(i)?.attributeTable, s = e.series?.[0]?.x, o = n?.features, u = n?.fields?.find(({ name: c }) => c.toLowerCase() === "value")?.name;
3010
3007
  if (a.length > 0 && s && o && o.length > 0 && u) {
3011
3008
  const c = new Set(
3012
3009
  a.map((l) => l[s]).filter((l) => l !== void 0)
@@ -3034,13 +3031,13 @@ const ii = "PixelID", Ys = "Pixel ID", Zs = [
3034
3031
  h.HistogramSeries,
3035
3032
  h.ScatterSeries
3036
3033
  ];
3037
- async function hd(t) {
3034
+ async function pd(t) {
3038
3035
  let e = !1;
3039
3036
  const { config: i, layer: a, abortSignal: r } = t;
3040
3037
  if (Dr(Zs, i))
3041
3038
  switch (_(i?.series)) {
3042
3039
  case h.BarSeries:
3043
- a.loaded || await a.load({ signal: r }), e = !!(await ct(a, r))?.attributeTable;
3040
+ a.loaded || await a.load({ signal: r }), e = !!(await dt(a, r))?.attributeTable;
3044
3041
  break;
3045
3042
  case h.HistogramSeries:
3046
3043
  case h.ScatterSeries:
@@ -3073,7 +3070,7 @@ function Va(t) {
3073
3070
  if (!t.loaded)
3074
3071
  throw new Error("Raster layer must be loaded to get its ID field name");
3075
3072
  let e;
3076
- const i = bt(t);
3073
+ const i = ct(t);
3077
3074
  if (i?.attributeTable) {
3078
3075
  const a = i.attributeTable.fields, r = a.find((n) => n.type === "oid")?.name;
3079
3076
  r ? e = r : e = a.find((s) => s.name.toLowerCase() === "value")?.name;
@@ -3085,7 +3082,7 @@ function Ra(t) {
3085
3082
  const { layer: e, chartType: i, rasterInfo: a, popupTemplateFieldInfosEnabled: r } = t;
3086
3083
  if (!e.loaded)
3087
3084
  throw new Error("Raster layer must be loaded to get its fields info");
3088
- const n = a ?? bt(e);
3085
+ const n = a ?? ct(e);
3089
3086
  if (!n)
3090
3087
  throw new Error("Raster info must be provided or generated beforehand to get raster layer fields info");
3091
3088
  let s = [];
@@ -3095,7 +3092,7 @@ function Ei(t) {
3095
3092
  const { layer: e, rasterInfo: i, popupTemplateFieldInfosEnabled: a } = t;
3096
3093
  if (!e.loaded)
3097
3094
  throw new Error("Raster layer must be loaded to get its fields info");
3098
- const r = i ?? bt(e);
3095
+ const r = i ?? ct(e);
3099
3096
  if (!r)
3100
3097
  throw new Error("Raster info must be provided or generated beforehand to get raster layer fields info");
3101
3098
  let n;
@@ -3120,12 +3117,12 @@ function Ei(t) {
3120
3117
  }
3121
3118
  return n;
3122
3119
  }
3123
- async function ct(t, e) {
3124
- return t.loaded || await t.load({ signal: e }), Qr(t) ? bt(t) ?? void 0 : await t.generateRasterInfo(t.rasterFunction, { signal: e });
3120
+ async function dt(t, e) {
3121
+ return t.loaded || await t.load({ signal: e }), Qr(t) ? ct(t) ?? void 0 : await t.generateRasterInfo(t.rasterFunction, { signal: e });
3125
3122
  }
3126
- async function Sd(t, e) {
3123
+ async function hd(t, e) {
3127
3124
  t.loaded || await t.load();
3128
- const i = await ct(t);
3125
+ const i = await dt(t);
3129
3126
  return Ra({ layer: t, rasterInfo: i, popupTemplateFieldInfosEnabled: e });
3130
3127
  }
3131
3128
  const $a = Et(
@@ -3159,7 +3156,7 @@ const $a = Et(
3159
3156
  let i = -1;
3160
3157
  if (!t.loaded)
3161
3158
  throw new Error("Raster layer must be loaded to get its band ID by name");
3162
- const a = bt(t)?.bandInfos;
3159
+ const a = ct(t)?.bandInfos;
3163
3160
  if (a?.length === 1)
3164
3161
  i = 0;
3165
3162
  else if (e && a?.length) {
@@ -3167,7 +3164,7 @@ const $a = Et(
3167
3164
  n > -1 && (i = n);
3168
3165
  }
3169
3166
  return i;
3170
- }, Fd = (t) => {
3167
+ }, Sd = (t) => {
3171
3168
  const { chartConfig: e, layer: i, selectionDataItems: a } = t, r = _(e.series);
3172
3169
  let n;
3173
3170
  switch (r) {
@@ -3206,7 +3203,7 @@ async function eo(t) {
3206
3203
  const o = n && Ge.get(n)?.signal || void 0, u = z(e);
3207
3204
  u.loaded || await kt(u, o);
3208
3205
  const l = {
3209
- geometry: dt(i.geometry) ?? u.fullExtent,
3206
+ geometry: ft(i.geometry) ?? u.fullExtent,
3210
3207
  autoResample: !0,
3211
3208
  maxPixelCount: r,
3212
3209
  skipFactor: a
@@ -3279,7 +3276,7 @@ const gi = Et(
3279
3276
  (t) => JSON.stringify(t)
3280
3277
  // stringify with sorted keys
3281
3278
  );
3282
- async function bd(t, e) {
3279
+ async function Fd(t, e) {
3283
3280
  let i;
3284
3281
  switch (t?.layerType ?? "") {
3285
3282
  case "ArcGISFeatureLayer":
@@ -3299,7 +3296,7 @@ async function bd(t, e) {
3299
3296
  }
3300
3297
  return i;
3301
3298
  }
3302
- async function xd(t) {
3299
+ async function bd(t) {
3303
3300
  const { layer: e, view: i, chartConfig: a, filterByViewExtent: r, abortSignal: n } = t, s = ie(e) || _r(a);
3304
3301
  let o;
3305
3302
  if (s)
@@ -3328,7 +3325,7 @@ function Ce(t, e) {
3328
3325
  }
3329
3326
  return a;
3330
3327
  }
3331
- function Cd(t, e = []) {
3328
+ function xd(t, e = []) {
3332
3329
  return e.find((i) => i.name === t);
3333
3330
  }
3334
3331
  function $t(t) {
@@ -3351,7 +3348,7 @@ function ve(t) {
3351
3348
  }
3352
3349
  return { idField: e, isTraditionalTypeOID: i };
3353
3350
  }
3354
- function St(t) {
3351
+ function Ft(t) {
3355
3352
  const e = [
3356
3353
  U.Single,
3357
3354
  U.Double,
@@ -3364,13 +3361,13 @@ function St(t) {
3364
3361
  function ao(t) {
3365
3362
  return t?.type === U.Date || t?.type === U.DateOnly || t?.type === U.TimestampOffset;
3366
3363
  }
3367
- function vd(t) {
3364
+ function Cd(t) {
3368
3365
  return t?.type === U.String;
3369
3366
  }
3370
- function Bd(t) {
3367
+ function vd(t) {
3371
3368
  return t?.type === U.TimeOnly;
3372
3369
  }
3373
- function Nd(t) {
3370
+ function Bd(t) {
3374
3371
  const e = [
3375
3372
  U.SmallInteger,
3376
3373
  U.Integer,
@@ -3381,8 +3378,8 @@ function Nd(t) {
3381
3378
  function ro(t) {
3382
3379
  return t.filter((e) => ao(e)).map((e) => e.name);
3383
3380
  }
3384
- function Td(t) {
3385
- return t.filter((e) => St(e)).map((e) => e.name);
3381
+ function Nd(t) {
3382
+ return t.filter((e) => Ft(e)).map((e) => e.name);
3386
3383
  }
3387
3384
  function ri(t, e) {
3388
3385
  let i;
@@ -3480,7 +3477,7 @@ function ja(t) {
3480
3477
  });
3481
3478
  }), P;
3482
3479
  }
3483
- async function Ad(t) {
3480
+ async function Td(t) {
3484
3481
  let e = [];
3485
3482
  return t !== void 0 && (e = await co(t)), e;
3486
3483
  }
@@ -3517,7 +3514,7 @@ const fo = (t) => {
3517
3514
  }
3518
3515
  return e;
3519
3516
  };
3520
- function wd(t) {
3517
+ function Ad(t) {
3521
3518
  const { view: e, portalItemId: i } = t;
3522
3519
  let a;
3523
3520
  if (e && i) {
@@ -3528,7 +3525,7 @@ function wd(t) {
3528
3525
  }
3529
3526
  return a;
3530
3527
  }
3531
- const Ld = {
3528
+ const wd = {
3532
3529
  getServerRestInfo: _a
3533
3530
  };
3534
3531
  async function kt(t, e) {
@@ -3570,14 +3567,14 @@ function go(t) {
3570
3567
  }
3571
3568
  return r;
3572
3569
  }
3573
- function Pd(t) {
3570
+ function Ld(t) {
3574
3571
  let e;
3575
3572
  return t !== void 0 && (e = new Ji({
3576
3573
  start: new Date(t[0]),
3577
3574
  end: new Date(t[1])
3578
3575
  })), e;
3579
3576
  }
3580
- function dt(t) {
3577
+ function ft(t) {
3581
3578
  let e;
3582
3579
  return t !== void 0 && (e = Xi.fromJSON(t)), e;
3583
3580
  }
@@ -3599,7 +3596,7 @@ function Qt(t) {
3599
3596
  (N) => N.statisticType !== D.EnvelopeAggregate || B
3600
3597
  ).map((N) => Nr.fromJSON(N));
3601
3598
  }
3602
- const x = dt(l);
3599
+ const x = ft(l);
3603
3600
  return x !== void 0 && (S.geometry = x, a?.spatialRelationship && (S.spatialRelationship = a.spatialRelationship), ma(p) && (d !== void 0 && (S.distance = d), f !== void 0 && (S.units = f))), m && (S.timeExtent = new Ji({
3604
3601
  start: m?.[0],
3605
3602
  end: m?.[1]
@@ -3809,7 +3806,7 @@ function hi(t) {
3809
3806
  function xo(t) {
3810
3807
  return t && "sourceJSON" in t && t.sourceJSON?.advancedQueryCapabilities?.supportsMaxRecordCountFactor === !0 ? W.maxRecordCountFactor : void 0;
3811
3808
  }
3812
- const Md = {
3809
+ const Pd = {
3813
3810
  sanitizeOutFields: za
3814
3811
  };
3815
3812
  function Co(t = Z.None, e) {
@@ -3973,7 +3970,7 @@ async function Mo(t) {
3973
3970
  abortSignal: u
3974
3971
  } = t, c = e.series[0], { dataTransformationType: l } = c;
3975
3972
  let d = { valid: !0 };
3976
- const f = z(a), y = dt(i?.geometry)?.extent?.toJSON() !== void 0, p = s, g = wo({
3973
+ const f = z(a), y = ft(i?.geometry)?.extent?.toJSON() !== void 0, p = s, g = wo({
3977
3974
  seriesConfig: c,
3978
3975
  layer: f,
3979
3976
  view: p,
@@ -4105,14 +4102,14 @@ const Ri = {
4105
4102
  groupByOutKeyword: "OUT",
4106
4103
  groupByCaseEnd: "ELSE 'OUT' END"
4107
4104
  };
4108
- function Dd(t) {
4105
+ function Md(t) {
4109
4106
  return _(t.series) !== h.BoxPlotSeries ? C.xAxisField : t.series[0].x;
4110
4107
  }
4111
- function Od(t) {
4108
+ function Dd(t) {
4112
4109
  const e = ci(t);
4113
4110
  return e === Te.Stacked || e === Te.Stacked100;
4114
4111
  }
4115
- function Id(t, e) {
4112
+ function Od(t, e) {
4116
4113
  const i = [], a = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
4117
4114
  return t.forEach((n, s) => r.set(n.id, s)), e.forEach((n, s) => {
4118
4115
  let o = r.get(n.id);
@@ -4145,15 +4142,15 @@ const Eo = [
4145
4142
  "it-CH",
4146
4143
  "it-IT"
4147
4144
  ];
4148
- function Ed(t) {
4145
+ function Id(t) {
4149
4146
  const { t9nLocale: e } = ze(t ?? document.documentElement), i = Ya(t ?? document.documentElement), a = kr(t ?? document.documentElement) === "rtl";
4150
4147
  return { locale: e, formatLocale: i, rtl: a };
4151
4148
  }
4152
- function qd(t) {
4149
+ function Ed(t) {
4153
4150
  let e;
4154
4151
  return t === "unknown" ? e = "UTC" : t !== void 0 && t !== "system" && (e = t), e;
4155
4152
  }
4156
- function Vd(t, e) {
4153
+ function qd(t, e) {
4157
4154
  const i = {
4158
4155
  year: "numeric",
4159
4156
  month: "2-digit",
@@ -4162,7 +4159,7 @@ function Vd(t, e) {
4162
4159
  };
4163
4160
  return new Intl.DateTimeFormat("en-CA", i).format(t);
4164
4161
  }
4165
- function Rd(t, e) {
4162
+ function Vd(t, e) {
4166
4163
  const i = {
4167
4164
  hour: "2-digit",
4168
4165
  minute: "2-digit",
@@ -4171,7 +4168,7 @@ function Rd(t, e) {
4171
4168
  };
4172
4169
  return new Intl.DateTimeFormat("en-US", i).format(t);
4173
4170
  }
4174
- function $d(t, e) {
4171
+ function Rd(t, e) {
4175
4172
  const [, i, , , , a] = 1111.1.toLocaleString(e), r = t.replace(i, "").replace(a, ".");
4176
4173
  return Number.parseFloat(r);
4177
4174
  }
@@ -4210,7 +4207,7 @@ function Ot(t) {
4210
4207
  function Vo(t, e) {
4211
4208
  t.valid = !1, t.invalidType = e;
4212
4209
  }
4213
- function kd(t) {
4210
+ function $d(t) {
4214
4211
  const {
4215
4212
  invalidType: e,
4216
4213
  chartLimits: i,
@@ -4755,7 +4752,7 @@ async function Go(t) {
4755
4752
  const v = await Promise.all(b);
4756
4753
  for (let x = 0; x < v.length; x += 1)
4757
4754
  l.push(...v[x]);
4758
- return y !== F.BoxPlotMonoFieldAndCategoryAndSplitBy && y !== F.BoxPlotMonoField && (l = Ft({
4755
+ return y !== F.BoxPlotMonoFieldAndCategoryAndSplitBy && y !== F.BoxPlotMonoField && (l = bt({
4759
4756
  data: l,
4760
4757
  x: S !== void 0 && S !== "" ? S : g
4761
4758
  })), l;
@@ -5017,7 +5014,7 @@ function It(t) {
5017
5014
  });
5018
5015
  else {
5019
5016
  const S = u === h.DateAxisFormat && f;
5020
- pt({
5017
+ ht({
5021
5018
  arrayToSort: e,
5022
5019
  orderBy: l,
5023
5020
  sortingField: d,
@@ -5031,7 +5028,7 @@ function It(t) {
5031
5028
  }
5032
5029
  }
5033
5030
  }
5034
- function Qd(t) {
5031
+ function kd(t) {
5035
5032
  const { alteredConfig: e, dataInfo: i, fieldList: a, options: r, queryObject: n } = t, s = Ci(i.data);
5036
5033
  if (s && It({
5037
5034
  arrayToSort: s,
@@ -5058,7 +5055,7 @@ function el(t) {
5058
5055
  return { ...e, value: i };
5059
5056
  })), t;
5060
5057
  }
5061
- async function _d(t) {
5058
+ async function Qd(t) {
5062
5059
  const { data: e, queryObject: i, chartConfig: a, allowColorMatch: r } = t;
5063
5060
  let n = !1, s = [];
5064
5061
  if (r && !ie(i)) {
@@ -5152,7 +5149,7 @@ async function il(t) {
5152
5149
  });
5153
5150
  return u;
5154
5151
  }
5155
- async function jd(t) {
5152
+ async function _d(t) {
5156
5153
  const { queryObject: e, chartConfig: i, queryConfig: a, errorStrings: r } = t, { minimumFromField: n, maximumFromField: s } = i.axes[0], o = [];
5157
5154
  let u = "", c = "";
5158
5155
  n !== void 0 && (typeof n == "string" ? (u = `${D.Minimum}_${n}`, o.push({
@@ -5179,7 +5176,7 @@ async function jd(t) {
5179
5176
  fetchNullValues: void 0,
5180
5177
  num: void 0
5181
5178
  };
5182
- mt(e);
5179
+ yt(e);
5183
5180
  const d = await xt({
5184
5181
  queryObject: e,
5185
5182
  queryConfig: l,
@@ -5220,7 +5217,7 @@ function al(t) {
5220
5217
  }), p.push(v), p;
5221
5218
  }, f = (p, g) => JSON.stringify(p).localeCompare(JSON.stringify(g));
5222
5219
  let m = o?.reduce(d, [])?.sort(f), y = u?.reduce(d, [])?.sort(f);
5223
- m && y && r && m.length !== y.length && (m = Ft({ data: m, x: r }), y = Ft({ data: y, x: r })), c = m?.length !== y?.length || !at(m, y);
5220
+ m && y && r && m.length !== y.length && (m = bt({ data: m, x: r }), y = bt({ data: y, x: r })), c = m?.length !== y?.length || !at(m, y);
5224
5221
  }
5225
5222
  return c;
5226
5223
  }
@@ -5238,7 +5235,7 @@ function rl(t) {
5238
5235
  outStatisticFieldName: e.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
5239
5236
  }) ? r = o : r = i ?? [], n.length > 1 && s !== F.BarAndLineNoAggregation && s !== F.BarAndLineSplitByNoAggregation) {
5240
5237
  const u = te(n[0].query?.where);
5241
- r = Ft({ data: r, x: n[0].x, splitByField: u });
5238
+ r = bt({ data: r, x: n[0].x, splitByField: u });
5242
5239
  }
5243
5240
  It({
5244
5241
  arrayToSort: r,
@@ -5438,7 +5435,7 @@ function ul(t) {
5438
5435
  }
5439
5436
  return r;
5440
5437
  }
5441
- function Hd(t) {
5438
+ function jd(t) {
5442
5439
  const { chartConfig: e } = t, i = _(e.series);
5443
5440
  let a = "";
5444
5441
  switch (i) {
@@ -5569,7 +5566,7 @@ async function dl(t) {
5569
5566
  abortKey: p,
5570
5567
  abortSignal: g
5571
5568
  } = t;
5572
- mt(e);
5569
+ yt(e);
5573
5570
  const { series: S } = a, b = _(S), v = xe(a);
5574
5571
  let x = { valid: !0 }, B = s?.selectionItems ?? [];
5575
5572
  n || (B = rl({ chartConfig: a, currentSelectionDataItems: r, selectionData: s }));
@@ -5794,7 +5791,7 @@ async function fl(t) {
5794
5791
  else
5795
5792
  switch (T) {
5796
5793
  case h.HeatSeries:
5797
- mt(e), w = await ur({
5794
+ yt(e), w = await ur({
5798
5795
  chartConfig: i,
5799
5796
  queryConfig: a,
5800
5797
  queryObject: e,
@@ -5888,7 +5885,7 @@ async function fl(t) {
5888
5885
  });
5889
5886
  break;
5890
5887
  case h.GaugeSeries:
5891
- mt(e), w = await il({
5888
+ yt(e), w = await il({
5892
5889
  queryObject: e,
5893
5890
  chartConfig: i,
5894
5891
  queryConfig: a,
@@ -5901,7 +5898,7 @@ async function fl(t) {
5901
5898
  }
5902
5899
  return w;
5903
5900
  }
5904
- async function zd(t) {
5901
+ async function Hd(t) {
5905
5902
  const {
5906
5903
  queryObject: e,
5907
5904
  chartConfig: i,
@@ -6166,10 +6163,10 @@ function bl(t) {
6166
6163
  n = bs(s, (o) => o[a]);
6167
6164
  break;
6168
6165
  case D.Minimum:
6169
- n = ht(s, (o) => o[a]).min;
6166
+ n = St(s, (o) => o[a]).min;
6170
6167
  break;
6171
6168
  case D.Maximum:
6172
- n = ht(s, (o) => o[a]).max;
6169
+ n = St(s, (o) => o[a]).max;
6173
6170
  break;
6174
6171
  case D.Average:
6175
6172
  n = Fs(s, (o) => o[a]);
@@ -6549,7 +6546,7 @@ async function Ml(t) {
6549
6546
  const { dateMinTimestamp: d, dateMaxTimestamp: f } = s;
6550
6547
  if (d && f) {
6551
6548
  const m = i.length;
6552
- if (pt({
6549
+ if (ht({
6553
6550
  arrayToSort: l,
6554
6551
  sortingField: a
6555
6552
  }), m > 1) {
@@ -6573,7 +6570,7 @@ async function Ml(t) {
6573
6570
  initialNumberOfBins: m,
6574
6571
  numberOfSingleBinsWithinDataRange: p,
6575
6572
  timeIntervalInfo: o
6576
- }), pt({
6573
+ }), ht({
6577
6574
  arrayToSort: l,
6578
6575
  sortingField: a
6579
6576
  }), l = xl({
@@ -6693,7 +6690,7 @@ function ql(t) {
6693
6690
  const { input: e, x: i, splitByField: a } = t;
6694
6691
  return e.reduce((n, s) => (a !== void 0 && a !== i && !(C.technicalFieldSplitByField in s) && delete s[a], Object.assign(n, s)), {});
6695
6692
  }
6696
- function Ft(t) {
6693
+ function bt(t) {
6697
6694
  const { data: e, x: i, splitByField: a } = t;
6698
6695
  let r = e;
6699
6696
  if (e !== void 0 && e.length > 0) {
@@ -6942,7 +6939,7 @@ async function _t(t) {
6942
6939
  resultLimit: i.num,
6943
6940
  showMean: c,
6944
6941
  chartLimits: l
6945
- }), p !== F.BarAndLineSplitByNoAggregation && p !== F.BarAndLineFromFields && (S !== "" && (g = Ft({ data: g, x, splitByField: S })), g = Vl(
6942
+ }), p !== F.BarAndLineSplitByNoAggregation && p !== F.BarAndLineFromFields && (S !== "" && (g = bt({ data: g, x, splitByField: S })), g = Vl(
6946
6943
  g,
6947
6944
  y
6948
6945
  )), g;
@@ -7628,13 +7625,13 @@ async function lu(t) {
7628
7625
  if (v != null && N !== void 0 && N !== null && x !== void 0 && x !== null && T !== void 0 && T !== null && !Number.isNaN(v + x + N + T)) {
7629
7626
  const w = z(a), { idField: L, isTraditionalTypeOID: A } = ve(w), I = A ? L : "*", P = e?.get(C.scatterplotAggregationFields.xStep), O = e?.get(C.scatterplotAggregationFields.yStep), V = e?.get(C.scatterplotAggregationFields.realGridSize), $ = e?.get(C.scatterplotAggregationFields.rowCount), M = e?.get(C.scatterplotAggregationFields.columnCount), q = /* @__PURE__ */ new Map(), G = Ce(a);
7630
7627
  if (G?.forEach((H) => {
7631
- St(H) && q.set(H.name, {
7628
+ Ft(H) && q.set(H.name, {
7632
7629
  onStatisticField: H.name,
7633
7630
  outStatisticFieldName: H.name,
7634
7631
  statisticType: D.Maximum
7635
7632
  });
7636
7633
  }), (G.filter((H) => c?.additionalTooltipFields?.includes(H.name)) ?? [])?.forEach((H) => {
7637
- St(H) || q.set(H.name, {
7634
+ Ft(H) || q.set(H.name, {
7638
7635
  onStatisticField: H.name,
7639
7636
  outStatisticFieldName: H.name,
7640
7637
  statisticType: D.Maximum
@@ -7838,7 +7835,7 @@ function du(t) {
7838
7835
  async function fu(t) {
7839
7836
  const { queryObject: e, queryConfig: i, chartConfig: a, featureCount: r, errorStrings: n, abortKey: s, abortSignal: o } = t, u = a.series[0], { x: c, y: l } = u, d = z(e);
7840
7837
  let f = [];
7841
- const m = Ce(e), y = $t(d).idFields, p = (m?.filter((x) => St(x) && x.name !== c && x.name !== l) ?? []).map(
7838
+ const m = Ce(e), y = $t(d).idFields, p = (m?.filter((x) => Ft(x) && x.name !== c && x.name !== l) ?? []).map(
7842
7839
  (x) => x.name
7843
7840
  ) ?? [], g = u?.additionalTooltipFields ?? [], S = Array.from(
7844
7841
  /* @__PURE__ */ new Set([c, l, ...y ?? [], ...p, ...g])
@@ -7946,7 +7943,7 @@ async function cr(t) {
7946
7943
  yStep: d.get(m),
7947
7944
  useQueryAttributeBins: S
7948
7945
  });
7949
- r !== !1 && pt({
7946
+ r !== !1 && ht({
7950
7947
  arrayToSort: v,
7951
7948
  sortingField: e.series[0].x,
7952
7949
  orderBy: ye.Ascending
@@ -8056,7 +8053,7 @@ function gu(t) {
8056
8053
  const { dataItem: e, x: i, y: a, nullAsValid: r = !1, aggregationType: n = D.Count } = t, s = e[i], o = e[a];
8057
8054
  return s !== void 0 && (typeof s != "number" || Number.isFinite(s)) && Me(o, r) && (n !== D.Count || o !== 0);
8058
8055
  }
8059
- function Wd(t) {
8056
+ function zd(t) {
8060
8057
  const { chartConfig: e, nullAsValid: i = !1, dataSet: a } = t;
8061
8058
  let r = !0;
8062
8059
  if (e !== void 0) {
@@ -8183,7 +8180,7 @@ function Ui(t) {
8183
8180
  a = typeof d == "number" ? d : a, r = typeof f == "number" ? f : r;
8184
8181
  } else {
8185
8182
  const d = s.filter((m) => m[c] !== null);
8186
- if ({ min: a, max: r } = ht(d, (m) => m[c]), n.axes?.[0]?.valueFormat.type === h.DateAxisFormat && a !== void 0 && r !== void 0 && ([a, r] = [new Date(a).valueOf(), new Date(r).valueOf()]), l === h.BoxPlotSeries) {
8183
+ if ({ min: a, max: r } = St(d, (m) => m[c]), n.axes?.[0]?.valueFormat.type === h.DateAxisFormat && a !== void 0 && r !== void 0 && ([a, r] = [new Date(a).valueOf(), new Date(r).valueOf()]), l === h.BoxPlotSeries) {
8187
8184
  e = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER;
8188
8185
  const m = ue(u, o), y = k(u), p = "standardizeValues" in n ? n.standardizeValues === !0 : void 0, g = n.series.map(
8189
8186
  (S) => S.visible !== !1 ? fe({ where: S.query?.where }) : ""
@@ -8220,7 +8217,7 @@ function Ui(t) {
8220
8217
  case Te.Side:
8221
8218
  default: {
8222
8219
  e = Number.MAX_SAFE_INTEGER, i = Number.MIN_SAFE_INTEGER, ue(u, o).forEach((p) => {
8223
- const { min: g, max: S } = ht(
8220
+ const { min: g, max: S } = St(
8224
8221
  d,
8225
8222
  (b) => b[p]
8226
8223
  );
@@ -8277,7 +8274,7 @@ function gr(t) {
8277
8274
  }
8278
8275
  return r;
8279
8276
  }
8280
- function Gd(t) {
8277
+ function Wd(t) {
8281
8278
  const { chartConfig: e, axisConfigIndex: i, chartData: a } = t;
8282
8279
  let r = !0;
8283
8280
  const n = e?.axes?.[i];
@@ -8348,11 +8345,11 @@ function Cu(t, e) {
8348
8345
  }
8349
8346
  return i;
8350
8347
  }
8351
- const Ud = (t, e) => {
8348
+ const Gd = (t, e) => {
8352
8349
  const i = 10 ** e;
8353
8350
  return Math.round(t * i) / i;
8354
8351
  };
8355
- function Yd(t) {
8352
+ function Ud(t) {
8356
8353
  const { data: e, seriesConfig: i } = t;
8357
8354
  let a = He(e);
8358
8355
  return a !== void 0 && (a = xu(a, i), a = Cu(a, i), a = bu(a, i)), a;
@@ -8528,7 +8525,7 @@ async function Bu(t) {
8528
8525
  }
8529
8526
  return await Promise.all(S);
8530
8527
  }
8531
- async function Zd(t) {
8528
+ async function Yd(t) {
8532
8529
  const {
8533
8530
  chartConfig: e,
8534
8531
  chartData: i,
@@ -8590,7 +8587,7 @@ async function Zd(t) {
8590
8587
  }
8591
8588
  return N;
8592
8589
  }
8593
- const Xd = {
8590
+ const Zd = {
8594
8591
  shouldCheckDataMinMaxForLogScaleOnXAxis: yr,
8595
8592
  minMaxHasZeroOrNegativeValues: li,
8596
8593
  isChartWithZeroOrNegativeValues: gr
@@ -8599,7 +8596,7 @@ export {
8599
8596
  hu as $,
8600
8597
  re as A,
8601
8598
  E as B,
8602
- md as C,
8599
+ fd as C,
8603
8600
  j as D,
8604
8601
  le as E,
8605
8602
  zs as F,
@@ -8607,12 +8604,12 @@ export {
8607
8604
  $s as H,
8608
8605
  Ce as I,
8609
8606
  eo as J,
8610
- ct as K,
8611
- Sd as L,
8612
- Ac as M,
8607
+ dt as K,
8608
+ hd as L,
8609
+ Tc as M,
8613
8610
  oo as N,
8614
8611
  so as O,
8615
- wd as P,
8612
+ Ad as P,
8616
8613
  hn as Q,
8617
8614
  Fu as R,
8618
8615
  Eo as S,
@@ -8622,57 +8619,57 @@ export {
8622
8619
  K as W,
8623
8620
  pi as X,
8624
8621
  k as Y,
8625
- Tc as Z,
8622
+ Nc as Z,
8626
8623
  Ui as _,
8627
- fd as a,
8628
- qc as a$,
8624
+ dd as a,
8625
+ Ec as a$,
8629
8626
  Mt as a0,
8630
- Vd as a1,
8627
+ qd as a1,
8631
8628
  Ya as a2,
8632
8629
  gi as a3,
8633
8630
  ri as a4,
8634
8631
  ni as a5,
8635
8632
  qi as a6,
8636
- Cd as a7,
8637
- Ad as a8,
8633
+ xd as a7,
8634
+ Td as a8,
8638
8635
  Dn as a9,
8639
8636
  Xs as aA,
8640
8637
  Qs as aB,
8641
8638
  Qa as aC,
8642
8639
  io as aD,
8643
- Zd as aE,
8640
+ Yd as aE,
8644
8641
  Re as aF,
8645
8642
  te as aG,
8646
8643
  fe as aH,
8647
- Rd as aI,
8644
+ Vd as aI,
8648
8645
  Ks as aJ,
8649
8646
  ue as aK,
8650
8647
  hl as aL,
8651
8648
  Pn as aM,
8652
- kc as aN,
8653
- Hc as aO,
8654
- wc as aP,
8649
+ $c as aN,
8650
+ jc as aO,
8651
+ Ac as aP,
8655
8652
  Nn as aQ,
8656
8653
  Mn as aR,
8657
- Rc as aS,
8658
- Dc as aT,
8654
+ Vc as aS,
8655
+ Mc as aT,
8659
8656
  wn as aU,
8660
8657
  Ln as aV,
8661
- Pc as aW,
8662
- Mc as aX,
8663
- Oc as aY,
8664
- zc as aZ,
8658
+ Lc as aW,
8659
+ Pc as aX,
8660
+ Dc as aY,
8661
+ Hc as aZ,
8665
8662
  Pi as a_,
8666
8663
  $a as aa,
8667
8664
  ka as ab,
8668
- bd as ac,
8665
+ Fd as ac,
8669
8666
  ro as ad,
8670
- Bc as ae,
8667
+ vc as ae,
8671
8668
  z as af,
8672
- Td as ag,
8669
+ Nd as ag,
8673
8670
  pn as ah,
8674
8671
  $t as ai,
8675
- Ed as aj,
8672
+ Id as aj,
8676
8673
  ge as ak,
8677
8674
  xo as al,
8678
8675
  Ha as am,
@@ -8680,33 +8677,33 @@ export {
8680
8677
  Da as ao,
8681
8678
  Ia as ap,
8682
8679
  go as aq,
8683
- xd as ar,
8680
+ bd as ar,
8684
8681
  yo as as,
8685
8682
  ai as at,
8686
8683
  Us as au,
8687
8684
  Ss as av,
8688
8685
  Ra as aw,
8689
8686
  Va as ax,
8690
- Fd as ay,
8687
+ Sd as ay,
8691
8688
  to as az,
8692
8689
  Ge as b,
8693
- pd as b$,
8694
- _c as b0,
8695
- Qc as b1,
8696
- $c as b2,
8697
- Wc as b3,
8698
- Ic as b4,
8699
- Ec as b5,
8700
- Lc as b6,
8701
- jc as b7,
8702
- Vc as b8,
8690
+ gd as b$,
8691
+ Qc as b0,
8692
+ kc as b1,
8693
+ Rc as b2,
8694
+ zc as b3,
8695
+ Oc as b4,
8696
+ Ic as b5,
8697
+ wc as b6,
8698
+ _c as b7,
8699
+ qc as b8,
8703
8700
  Ie as b9,
8704
8701
  ho as bA,
8705
8702
  hi as bB,
8706
- dt as bC,
8707
- Pd as bD,
8703
+ ft as bC,
8704
+ Ld as bD,
8708
8705
  lo as bE,
8709
- Cc as bF,
8706
+ xc as bF,
8710
8707
  Pt as bG,
8711
8708
  Le as bH,
8712
8709
  Fe as bI,
@@ -8716,42 +8713,42 @@ export {
8716
8713
  Ps as bM,
8717
8714
  As as bN,
8718
8715
  Ns as bO,
8719
- Md as bP,
8716
+ Pd as bP,
8720
8717
  xt as bQ,
8721
- gd as bR,
8718
+ yd as bR,
8722
8719
  Cu as bS,
8723
8720
  Yi as bT,
8724
8721
  xu as bU,
8725
8722
  bu as bV,
8726
- Ud as bW,
8727
- Yd as bX,
8728
- Yc as bY,
8723
+ Gd as bW,
8724
+ Ud as bX,
8725
+ Uc as bY,
8729
8726
  Zs as bZ,
8730
8727
  zi as b_,
8731
8728
  Bn as ba,
8732
8729
  ao as bb,
8733
- Wd as bc,
8734
- bc as bd,
8730
+ zd as bc,
8731
+ Fc as bd,
8735
8732
  da as be,
8736
8733
  Ee as bf,
8737
8734
  dr as bg,
8738
- Nd as bh,
8735
+ Bd as bh,
8739
8736
  fr as bi,
8740
- Zc as bj,
8741
- St as bk,
8737
+ Yc as bj,
8738
+ Ft as bk,
8742
8739
  mo as bl,
8743
- hd as bm,
8740
+ pd as bm,
8744
8741
  pa as bn,
8745
8742
  Pe as bo,
8746
8743
  no as bp,
8747
- vd as bq,
8748
- xc as br,
8744
+ Cd as bq,
8745
+ bc as br,
8749
8746
  fa as bs,
8750
8747
  mn as bt,
8751
- Bd as bu,
8752
- Ld as bv,
8748
+ vd as bu,
8749
+ wd as bv,
8753
8750
  kt as bw,
8754
- $d as bx,
8751
+ Rd as bx,
8755
8752
  Fo as by,
8756
8753
  bo as bz,
8757
8754
  Ls as c,
@@ -8760,39 +8757,39 @@ export {
8760
8757
  Sn as c1,
8761
8758
  gu as c2,
8762
8759
  Fn as c3,
8763
- Gd as c4,
8764
- id as c5,
8765
- dc as c6,
8766
- od as c7,
8767
- _d as c8,
8768
- sd as c9,
8769
- Hd as cA,
8770
- Ft as cB,
8771
- al as cC,
8772
- Dd as cD,
8773
- Fc as cE,
8774
- Di as cF,
8775
- oc as cG,
8776
- gc as cH,
8777
- ud as cI,
8778
- lc as cJ,
8779
- Id as cK,
8780
- uc as cL,
8781
- cd as cM,
8782
- ti as cN,
8783
- gt as cO,
8784
- dn as cP,
8785
- Kc as cQ,
8786
- yd as cR,
8787
- We as cS,
8788
- Ri as cT,
8789
- Aa as cU,
8790
- Od as cV,
8791
- rd as cW,
8792
- zd as cX,
8793
- Jn as cY,
8794
- nd as cZ,
8795
- xe as c_,
8760
+ Wd as c4,
8761
+ td as c5,
8762
+ cc as c6,
8763
+ sd as c7,
8764
+ Qd as c8,
8765
+ nd as c9,
8766
+ bt as cA,
8767
+ al as cB,
8768
+ Md as cC,
8769
+ Sc as cD,
8770
+ Di as cE,
8771
+ oc as cF,
8772
+ yc as cG,
8773
+ ld as cH,
8774
+ lc as cI,
8775
+ Od as cJ,
8776
+ uc as cK,
8777
+ ud as cL,
8778
+ ti as cM,
8779
+ pt as cN,
8780
+ dn as cO,
8781
+ Jc as cP,
8782
+ md as cQ,
8783
+ We as cR,
8784
+ Ri as cS,
8785
+ Aa as cT,
8786
+ Dd as cU,
8787
+ ad as cV,
8788
+ Hd as cW,
8789
+ Jn as cX,
8790
+ rd as cY,
8791
+ xe as cZ,
8792
+ $d as c_,
8796
8793
  Zn as ca,
8797
8794
  It as cb,
8798
8795
  cn as cc,
@@ -8801,47 +8798,46 @@ export {
8801
8798
  we as cf,
8802
8799
  en as cg,
8803
8800
  sc as ch,
8804
- td as ci,
8801
+ ed as ci,
8805
8802
  Mi as cj,
8806
- ld as ck,
8803
+ od as ck,
8807
8804
  In as cl,
8808
8805
  st as cm,
8809
- Jc as cn,
8810
- dd as co,
8811
- cc as cp,
8812
- is as cq,
8813
- de as cr,
8814
- ed as cs,
8815
- $n as ct,
8816
- yc as cu,
8817
- jn as cv,
8818
- Sc as cw,
8819
- Oo as cx,
8806
+ Xc as cn,
8807
+ cd as co,
8808
+ is as cp,
8809
+ de as cq,
8810
+ Kc as cr,
8811
+ $n as cs,
8812
+ mc as ct,
8813
+ jn as cu,
8814
+ hc as cv,
8815
+ Oo as cw,
8816
+ gc as cx,
8820
8817
  pc as cy,
8821
- hc as cz,
8822
- Nc as d,
8823
- Qd as d0,
8824
- jd as d1,
8825
- Io as d2,
8826
- ad as d3,
8827
- Hn as d4,
8828
- yi as d5,
8829
- lr as d6,
8818
+ jd as cz,
8819
+ Bc as d,
8820
+ _d as d0,
8821
+ Io as d1,
8822
+ id as d2,
8823
+ Hn as d3,
8824
+ yi as d4,
8825
+ lr as d5,
8830
8826
  ja as e,
8831
- Xc as f,
8827
+ Zc as f,
8832
8828
  Qe as g,
8833
8829
  Y as h,
8834
- qd as i,
8835
- Xd as j,
8836
- fc as k,
8837
- mc as l,
8830
+ Ed as i,
8831
+ Zd as j,
8832
+ dc as k,
8833
+ fc as l,
8838
8834
  ce as m,
8839
8835
  Ne as n,
8840
- Gc as o,
8836
+ Wc as o,
8841
8837
  Yt as p,
8842
- Uc as q,
8838
+ Gc as q,
8843
8839
  ma as r,
8844
- vc as s,
8840
+ Cc as s,
8845
8841
  yn as t,
8846
8842
  gn as u,
8847
8843
  rt as v,