@arcgis/charts-components 5.2.0-next.126 → 5.2.0-next.128

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 (152) hide show
  1. package/dist/cdn/{GZWV22RE.js → 252LEJ7U.js} +1 -1
  2. package/dist/cdn/{CW4JPG3J.js → 26WEYDNB.js} +1 -1
  3. package/dist/cdn/{WQQMTR5J.js → 2BLR6LKU.js} +1 -1
  4. package/dist/cdn/{6AKXJHB7.js → 2ISGHAUI.js} +1 -1
  5. package/dist/cdn/{E5JWMNIW.js → 2ISUP2EC.js} +1 -1
  6. package/dist/cdn/{JZ6V5FKE.js → 2Q2NNE2E.js} +1 -1
  7. package/dist/cdn/{4U3OAZA7.js → 2ZAC3R6J.js} +1 -1
  8. package/dist/cdn/{7OESRD4R.js → 334POAQ3.js} +1 -1
  9. package/dist/cdn/4F6DKNCU.js +3 -0
  10. package/dist/cdn/{TPTH224R.js → 4KJXVTKT.js} +1 -1
  11. package/dist/cdn/{YUN3KGXG.js → 4NRY2KO2.js} +1 -1
  12. package/dist/cdn/{YQDW3D4E.js → 56CO5V5Y.js} +1 -1
  13. package/dist/cdn/{UPEMQGFY.js → 5A75STHJ.js} +1 -1
  14. package/dist/cdn/{IJAURACW.js → 5DI4FWSJ.js} +1 -1
  15. package/dist/cdn/{Z5VGMG7G.js → 5J5N5EH4.js} +1 -1
  16. package/dist/cdn/{M2WD5JN6.js → 5Z5C5L7O.js} +1 -1
  17. package/dist/cdn/{KW4KLLTK.js → 6AUVDB2X.js} +1 -1
  18. package/dist/cdn/{6GTMALBB.js → 6K25LYBM.js} +1 -1
  19. package/dist/cdn/{PEHD5Y4I.js → 6SLQ6E2L.js} +1 -1
  20. package/dist/cdn/{ONKX4PWR.js → 6WUMG4P2.js} +1 -1
  21. package/dist/cdn/{RPMGP2UN.js → A6IGTXFA.js} +1 -1
  22. package/dist/cdn/{YSZKMYYU.js → AA7OBKIP.js} +1 -1
  23. package/dist/cdn/{VJG6ZEH4.js → ARWJ6M4M.js} +1 -1
  24. package/dist/cdn/{VSMUBBEN.js → C4SI4UTD.js} +1 -1
  25. package/dist/cdn/{5MDZB2JE.js → C7BCDEO7.js} +1 -1
  26. package/dist/cdn/{AMVJMEWD.js → CDTABNYS.js} +1 -1
  27. package/dist/cdn/{6MHADUGC.js → CFDZTXBV.js} +1 -1
  28. package/dist/cdn/{763Z5IGF.js → CHMEYQRU.js} +1 -1
  29. package/dist/cdn/{56LNZVTX.js → CTV66EX6.js} +1 -1
  30. package/dist/cdn/{4VFEZCIA.js → CYEBSDUO.js} +1 -1
  31. package/dist/cdn/{MRN3GTKF.js → D37G7ULI.js} +1 -1
  32. package/dist/cdn/{RBTEJMJT.js → DC4Z6SV3.js} +1 -1
  33. package/dist/cdn/{YHQ5JR63.js → E2M4D7OW.js} +1 -1
  34. package/dist/cdn/{HQMCT3VB.js → E346UZ4Y.js} +1 -1
  35. package/dist/cdn/{A5P6WB3G.js → E4HQCLE5.js} +1 -1
  36. package/dist/cdn/{AOKEN5ZO.js → EYH2BIAD.js} +1 -1
  37. package/dist/cdn/{KS4EBLYJ.js → FCA7RGLN.js} +19 -19
  38. package/dist/cdn/{HKFQANWN.js → G5YKCSBP.js} +1 -1
  39. package/dist/cdn/{2PJPH3IO.js → G65D4QU4.js} +1 -1
  40. package/dist/cdn/{AOO37P5T.js → GOTXZDTB.js} +1 -1
  41. package/dist/cdn/{B5VRC7DP.js → GQRUVGUK.js} +1 -1
  42. package/dist/cdn/{N75HEDSD.js → GZBPHJ7H.js} +1 -1
  43. package/dist/cdn/{5BNYRPXI.js → H56BSQEW.js} +1 -1
  44. package/dist/cdn/{SKRBORPC.js → HJE3XLSD.js} +1 -1
  45. package/dist/cdn/{W2QXMYBG.js → HQ47ZXN2.js} +1 -1
  46. package/dist/cdn/{UYFTXYBR.js → HTZY6BFK.js} +1 -1
  47. package/dist/cdn/{F3UFKEVT.js → ICZSZBA3.js} +1 -1
  48. package/dist/cdn/{2IW2QZFJ.js → IL2XQ7JA.js} +1 -1
  49. package/dist/cdn/JRLMTZJ6.js +3 -0
  50. package/dist/cdn/{4MAJ24GS.js → JTLT34BE.js} +1 -1
  51. package/dist/cdn/{UEAU7YQZ.js → KFTX2TQU.js} +1 -1
  52. package/dist/cdn/{EX2R2B4U.js → KVNHQH7O.js} +1 -1
  53. package/dist/cdn/{LV3GHN5L.js → KYQPEMTU.js} +1 -1
  54. package/dist/cdn/{SL3ZM7G5.js → LHIWT7XJ.js} +1 -1
  55. package/dist/cdn/{6QIL7VBD.js → LKYUP362.js} +1 -1
  56. package/dist/cdn/{QZHRLUXI.js → LZXH65ES.js} +1 -1
  57. package/dist/cdn/{WOENRIAM.js → MDNFAO3M.js} +1 -1
  58. package/dist/cdn/{ANSNUR3I.js → MLR6CWHN.js} +1 -1
  59. package/dist/cdn/{LHGIUJ6U.js → NFRZPT5W.js} +1 -1
  60. package/dist/cdn/{7KZO2XXD.js → NKSGWA4X.js} +1 -1
  61. package/dist/cdn/{YSLCFR5X.js → NLCAS2S3.js} +1 -1
  62. package/dist/cdn/{LE2B3JXK.js → NPSI5JGI.js} +1 -1
  63. package/dist/cdn/{VT2XOG5Y.js → NUM2NK7X.js} +1 -1
  64. package/dist/cdn/{3W4HHL2V.js → NWITMWCT.js} +1 -1
  65. package/dist/cdn/{6664UEHL.js → OOB4AL5B.js} +1 -1
  66. package/dist/cdn/{WG2TWSUV.js → PABVNO3N.js} +1 -1
  67. package/dist/cdn/{IYI6DUGL.js → PE74EWN6.js} +1 -1
  68. package/dist/cdn/{TCYUL3JC.js → PUGPG7TG.js} +1 -1
  69. package/dist/cdn/{UY4AKYFU.js → QSQ4WWNZ.js} +1 -1
  70. package/dist/cdn/{GMP2UWJG.js → RLBQSLCM.js} +1 -1
  71. package/dist/cdn/{DX7M2EXK.js → RYFKSZCM.js} +1 -1
  72. package/dist/cdn/{TRR5AXW7.js → RYPF3XVE.js} +1 -1
  73. package/dist/cdn/{RS2T6377.js → SCMJVUZF.js} +1 -1
  74. package/dist/cdn/{NNRSK2LV.js → TB7TL34T.js} +1 -1
  75. package/dist/cdn/{SYSQA3IG.js → TBWNZHUY.js} +1 -1
  76. package/dist/cdn/{T6RCABY5.js → TCKL6CRO.js} +2 -2
  77. package/dist/cdn/{V3HNAMD7.js → TFEXNOQT.js} +1 -1
  78. package/dist/cdn/{K3R6EK3N.js → TGVSWL53.js} +1 -1
  79. package/dist/cdn/{57SE2XVZ.js → TVN5AANS.js} +1 -1
  80. package/dist/cdn/{QELGEYXU.js → UKGGXTFF.js} +1 -1
  81. package/dist/cdn/{IS2A63E6.js → UUIPQQJC.js} +1 -1
  82. package/dist/cdn/{CD3XMKTK.js → UXUJZXY6.js} +1 -1
  83. package/dist/cdn/{IBLYUVF2.js → V5BQ7JEF.js} +1 -1
  84. package/dist/cdn/{G4MIOOVR.js → V6QPNC6H.js} +1 -1
  85. package/dist/cdn/{5BMODU2D.js → VQV4WP3Q.js} +1 -1
  86. package/dist/cdn/{TIVS64YH.js → VRAKXFLS.js} +1 -1
  87. package/dist/cdn/{DAB3SJBG.js → VTEYNOVM.js} +1 -1
  88. package/dist/cdn/{CRDOGPB7.js → W5RIMXON.js} +1 -1
  89. package/dist/cdn/{YRWKRJU4.js → W6ZTJ5F4.js} +1 -1
  90. package/dist/cdn/{FASMW7S2.js → WHLIG2UP.js} +1 -1
  91. package/dist/cdn/{EJXBVT5O.js → WYKOFBBC.js} +1 -1
  92. package/dist/cdn/{WW7WSQXS.js → XNTW3FJJ.js} +1 -1
  93. package/dist/cdn/{DXWP65HI.js → Y343Z32K.js} +1 -1
  94. package/dist/cdn/{JOEBZXL4.js → Y5OM2HDA.js} +1 -1
  95. package/dist/cdn/{JSUH5PFI.js → Y6IIGQGN.js} +1 -1
  96. package/dist/cdn/{5434ASC3.js → YNHYJOH7.js} +1 -1
  97. package/dist/cdn/{5R7ZWTMY.js → YRQUJSIP.js} +1 -1
  98. package/dist/cdn/{VFVOONAN.js → YWEEKBTH.js} +1 -1
  99. package/dist/cdn/index.js +1 -1
  100. package/dist/cdn/model/shared/setup-utils.js +1 -1
  101. package/dist/chunks/box-plot-data.js +1 -1
  102. package/dist/chunks/box-plot-model.js +2 -2
  103. package/dist/chunks/chart-ui-utils.js +5 -5
  104. package/dist/chunks/class-breaks.js +1 -1
  105. package/dist/chunks/combo-bar-line-chart-model.js +2 -1
  106. package/dist/chunks/data-labels-visibility.js +2 -4
  107. package/dist/chunks/data.js +2 -2
  108. package/dist/chunks/index.js +2125 -2088
  109. package/dist/chunks/index4.js +1 -1
  110. package/dist/chunks/model-setter.js +5 -5
  111. package/dist/chunks/negative-values-stacked-to-baseline.js +2 -2
  112. package/dist/chunks/rounded-corners.js +1 -1
  113. package/dist/chunks/scatterplot-model.js +1 -1
  114. package/dist/chunks/serial-chart-data.js +35 -35
  115. package/dist/chunks/serial-chart-model.js +7 -7
  116. package/dist/chunks/utils.js +10 -10
  117. package/dist/chunks/web-component-utils.js +1 -1
  118. package/dist/chunks/x-bounds.js +14 -14
  119. package/dist/components/arcgis-chart/customElement.d.ts +45 -12
  120. package/dist/components/arcgis-chart/customElement.js +2980 -2943
  121. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  122. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  123. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +3 -3
  124. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  125. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  126. package/dist/components/arcgis-charts-config-create-flow/customElement.js +6 -6
  127. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  128. package/dist/components/arcgis-charts-config-guide/customElement.js +6 -6
  129. package/dist/components/arcgis-charts-config-heat-chart/customElement.js +1 -1
  130. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  131. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  132. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  133. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  134. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +4 -4
  135. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  136. package/dist/docs/api.json +1 -1
  137. package/dist/docs/docs.json +1 -1
  138. package/dist/docs/vscode.html-custom-data.json +1 -1
  139. package/dist/docs/web-types.json +1 -1
  140. package/dist/index.js +251 -250
  141. package/dist/model/bar-chart-model/bar-chart-model.d.ts +2 -2
  142. package/dist/model/box-plot-model/box-plot-model.d.ts +1 -1
  143. package/dist/model/combo-bar-line-chart-model/combo-bar-line-chart-model.d.ts +3 -0
  144. package/dist/model/mixins/model-with-line-marker-styling.d.ts +1 -1
  145. package/dist/model/mixins/model-with-tooltips.d.ts +4 -8
  146. package/dist/model/properties/series/negative-values-stacked-to-baseline.d.ts +2 -2
  147. package/dist/utils/chart-config/converter/index.js +20 -20
  148. package/dist/utils/chart-config/utils/index.d.ts +12 -0
  149. package/package.json +5 -5
  150. package/dist/cdn/ASBXNQOS.js +0 -3
  151. package/dist/cdn/I3LNZVEA.js +0 -3
  152. /package/dist/cdn/{IJPD3GVL.js → UE4KTI5X.js} +0 -0
@@ -33,14 +33,14 @@ export class BarChartModel extends BarChartModelSuperclass {
33
33
  * Sets whether to hide oversized data labels of the side-by-side series based on the series index.
34
34
  *
35
35
  * @param hide - The value for hiding oversized data labels.
36
- * @param seriesIndex - The index of the series. If omitted, all the series will be updated.
36
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
37
37
  */
38
38
  setSeriesHideOversizedSideBySideLabels(hide: boolean | undefined, seriesIndex?: number): void;
39
39
  /**
40
40
  * Sets whether to hide oversized stacked labels of the series based on the series index.
41
41
  *
42
42
  * @param hide - The value for hiding oversized stacked labels.
43
- * @param seriesIndex - The index of the series. When not provided all the series will be updated.
43
+ * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
44
44
  */
45
45
  setSeriesHideOversizedStackedLabels(hide: boolean | undefined, seriesIndex?: number): void;
46
46
  /**
@@ -41,7 +41,7 @@ export class BoxPlotModel extends BoxPlotModelSuperclass {
41
41
  /**
42
42
  * The color of the boxes when showing mean lines.
43
43
  *
44
- * Only applicable when mean lines are shown.
44
+ * **Note**: Only applicable when mean lines are shown.
45
45
  */
46
46
  accessor meanLinesBoxColor: Color | undefined;
47
47
  /** The numeric fields array for the box plot. */
@@ -47,6 +47,7 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
47
47
  getSeriesLineWidth(seriesIndex: number): number | undefined;
48
48
  /**
49
49
  * Gets the marker color of the series based on the series index.
50
+ *
50
51
  * If the index is out of bounds, it will return `undefined`.
51
52
  *
52
53
  * @param seriesIndex - The index of the series.
@@ -146,6 +147,7 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
146
147
  setSeriesHideOversizedStackedLabels(hide: boolean | undefined, seriesIndex?: number): void;
147
148
  /**
148
149
  * Sets the line style of the series based on the series index.
150
+ *
149
151
  * **Note**: This method will only work if the series is a line chart series.
150
152
  *
151
153
  * @param newStyle - The new style for the series.
@@ -154,6 +156,7 @@ export class ComboBarLineChartModel extends ComboBarLineChartModelSuperclass {
154
156
  setSeriesLineStyle(newStyle: RESTSimpleLineSymbolStyle | undefined, seriesIndex?: number): void;
155
157
  /**
156
158
  * Sets the line width of the series based on the series index.
159
+ *
157
160
  * **Note**: This method will only work if the series is a line chart series.
158
161
  *
159
162
  * @param newWidth - The new width for the series.
@@ -84,7 +84,7 @@ export abstract class ModelWithLineMarkerStyling extends ChartModel {
84
84
  * Specify whether to connect the lines when there's a gap in the data.
85
85
  * **Note:** Can be overridden by the temporal data setting `nullPolicy`.
86
86
  *
87
- * @param connect - Whether to connect the gap in the data
87
+ * @param connect - Whether to connect the gap in the data.
88
88
  * @param seriesIndex - The index of the series. If omitted, all compatible series will be updated.
89
89
  */
90
90
  setConnectLines(connect: boolean | undefined, seriesIndex?: number): void;
@@ -3,34 +3,30 @@ import type { ChartModel } from "../chart-model/chart-model.js";
3
3
  export abstract class ModelWithTooltips extends ChartModel {
4
4
  /**
5
5
  * Gets the setting of the `dataTooltipReverseColor` property.
6
- * - If the `seriesIndex` is provided, the `dataTooltipReverseColor` for that series will be returned. Otherwise, the same property of the first series will be returned.
7
6
  * - If the `dataTooltipReverseColor` is not set on the series, the default value of `false` will be returned.
8
7
  *
9
- * @param seriesIndex - The index of the series.
8
+ * @param seriesIndex - The index of the series. If omitted, the first series will be used.
10
9
  */
11
10
  getDataTooltipReverseColor(seriesIndex?: number): boolean;
12
11
  /**
13
12
  * Gets the visibility of the data tooltips.
14
- * - If the `seriesIndex` is provided, the visibility for that series will be returned. Otherwise, the visibility of the first series will be returned.
15
13
  * - If the visibility is not set on the series, the default value of `true` will be returned.
16
14
  *
17
- * @param seriesIndex - The index of the series.
15
+ * @param seriesIndex - The index of the series. If omitted, the first series will be used.
18
16
  */
19
17
  getDataTooltipVisibility(seriesIndex?: number): boolean;
20
18
  /**
21
19
  * Sets the setting of the `dataTooltipReverseColor` property.
22
- * - If the `seriesIndex` is provided, the reverse color will be set for that series only. Otherwise, the reverse color will be set for all series.
23
20
  *
24
21
  * @param reverseColor - Indicator of whether to reverse the color.
25
- * @param seriesIndex - The index of the series to set the reverse color.
22
+ * @param seriesIndex - The index of the series to set the reverse color. If omitted, all compatible series will be updated.
26
23
  */
27
24
  setDataTooltipReverseColor(reverseColor: boolean, seriesIndex?: number): void;
28
25
  /**
29
26
  * Sets the visibility of the data tooltips.
30
- * - If the `seriesIndex` is provided, the visibility will be set for that series only. Otherwise, the visibility will be set for all series.
31
27
  *
32
28
  * @param visibility - The visibility of the data tooltips.
33
- * @param seriesIndex - The index of the series to set the visibility.
29
+ * @param seriesIndex - The index of the series to set the visibility. If omitted, all compatible series will be updated.
34
30
  */
35
31
  setDataTooltipVisibility(visibility: boolean, seriesIndex?: number): void;
36
32
  }
@@ -5,7 +5,7 @@ export abstract class WithNegativeValuesStackedToBaseline extends ChartModelBase
5
5
  /**
6
6
  * Specify how negative values are treated in stacked series.
7
7
  *
8
- * **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
8
+ * **Note:** If `true`, negative values will be stacked on the base line. If `false`, negative values will be stacked in relation to their previous values in the stack.
9
9
  *
10
10
  * @param seriesIndex - The index of the series.
11
11
  */
@@ -13,7 +13,7 @@ export abstract class WithNegativeValuesStackedToBaseline extends ChartModelBase
13
13
  /**
14
14
  * Specify how negative values are treated in stacked series.
15
15
  *
16
- * **Note:** If true, negative values will be stacked on the base line. If false, negative values will be stacked in relation to their previous values in the stack.
16
+ * **Note:** If `true`, negative values will be stacked on the base line. If `false`, negative values will be stacked in relation to their previous values in the stack.
17
17
  *
18
18
  * @param stackNegativeValuesToBaseline - `true` if negative values should be stacked on the base line, `false` otherwise.
19
19
  * @param seriesIndex - The index of the series.
@@ -2,7 +2,7 @@
2
2
  import { getElementLocale as $e } from "@arcgis/toolkit/intl/dom";
3
3
  import { cloneDeep as n, isEmpty as B } from "es-toolkit/compat";
4
4
  import { DateTime as Ye } from "luxon";
5
- import { q as Qe, cl as se, by as Je, W as ne, aP as ae, cm as Ke, bI as Xe, bJ as Ze, p as T, bk as Ue, cn as b, co as te, N as et, O as tt, w as Z, cp as rt, ci as it, cq as ot, Y as st } from "../../../chunks/index.js";
5
+ import { q as Qe, cm as se, by as Ke, W as ne, aP as ae, cn as Je, bJ as Xe, bK as Ze, p as T, bl as Ue, co as b, cp as te, N as et, O as tt, w as Z, cq as rt, cj as it, cr as ot, Y as st } from "../../../chunks/index.js";
6
6
  import { a8 as nt, p as at, l as lt, a5 as dt, s as ct } from "../../../chunks/index3.js";
7
7
  import { i as ut } from "../../../chunks/type-guards.js";
8
8
  import { a as u, D as k, i as le } from "../../../chunks/index2.js";
@@ -502,7 +502,7 @@ function _e(r) {
502
502
  type: c.CalendarDateParts
503
503
  }), e;
504
504
  }
505
- function ze(r) {
505
+ function je(r) {
506
506
  let e = n(r);
507
507
  return e = be(e), e;
508
508
  }
@@ -554,10 +554,10 @@ function G(r) {
554
554
  function _(r) {
555
555
  return ve(r);
556
556
  }
557
- function z(r) {
557
+ function j(r) {
558
558
  return qe(r);
559
559
  }
560
- function j(r) {
560
+ function z(r) {
561
561
  return Ne(r);
562
562
  }
563
563
  function H(r) {
@@ -574,11 +574,11 @@ function Q(r) {
574
574
  let e = n(r);
575
575
  return e = Ge(e), e;
576
576
  }
577
- function J(r) {
577
+ function K(r) {
578
578
  let e = n(r);
579
579
  return e = _e(e), e;
580
580
  }
581
- function K(r) {
581
+ function J(r) {
582
582
  let e = n(r);
583
583
  return e = Bt(e), e;
584
584
  }
@@ -586,10 +586,10 @@ function X(r) {
586
586
  let e = n(r);
587
587
  return h(e.series) === c.BarSeries && (e = Ce(e)), e;
588
588
  }
589
- function je(r) {
589
+ function ze(r) {
590
590
  const { versionsToConvert: e, configToUpdate: i } = r;
591
591
  let t = n(i);
592
- return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Ke) ? (t = ze(t), t = w(t), t = A(t), t = D(t), t = M(t), t = I(t), t = W(t), t = q(t), t = N(t), t = R(t), t = E(t), t = V(t), t = G(t), t = _(t), t = z(t), t = j(t), t = H(t), t = $(t), t = Y(t), t = Q(t), t = J(t), t = K(t), t = X(t)) : e.forEach((o) => {
592
+ return e.length > 0 && t !== void 0 && (t = Ie(t), e.includes(se) || e.includes(Je) ? (t = je(t), t = w(t), t = A(t), t = D(t), t = M(t), t = I(t), t = W(t), t = q(t), t = N(t), t = R(t), t = E(t), t = V(t), t = G(t), t = _(t), t = j(t), t = z(t), t = H(t), t = $(t), t = Y(t), t = Q(t), t = K(t), t = J(t), t = X(t)) : e.forEach((o) => {
593
593
  if (t !== void 0)
594
594
  switch (o) {
595
595
  case "1.0.1":
@@ -632,10 +632,10 @@ function je(r) {
632
632
  t = _(t);
633
633
  break;
634
634
  case "16.1.0":
635
- t = z(t);
635
+ t = j(t);
636
636
  break;
637
637
  case "18.1.3":
638
- t = j(t);
638
+ t = z(t);
639
639
  break;
640
640
  case "20.1.0":
641
641
  t = H(t);
@@ -650,10 +650,10 @@ function je(r) {
650
650
  t = Q(t);
651
651
  break;
652
652
  case "24.8.0":
653
- t = J(t);
653
+ t = K(t);
654
654
  break;
655
655
  case "25.0.0":
656
- t = K(t);
656
+ t = J(t);
657
657
  break;
658
658
  case "25.1.0":
659
659
  t = X(t);
@@ -666,8 +666,8 @@ async function Dt(r, e, i, t) {
666
666
  if (r) {
667
667
  const s = Qe(e);
668
668
  await s?.load({ signal: t }), o = await he({ configToUpdate: r, layer: s, chartContainer: i, abortSignal: t });
669
- const a = r.version ?? se, { versionStatus: f, versions: y } = Je(a);
670
- (f === re.Older || f === re.Unrecognized) && (o = je({
669
+ const a = r.version ?? se, { versionStatus: f, versions: y } = Ke(a);
670
+ (f === re.Older || f === re.Unrecognized) && (o = ze({
671
671
  versionsToConvert: y,
672
672
  configToUpdate: o
673
673
  }));
@@ -707,7 +707,7 @@ const Mt = {
707
707
  convertRESTStatisticTypeToWebChartStatisticType: Ee,
708
708
  renameChartSubtitle: Ve,
709
709
  applyMandatoryConversions: he,
710
- convertTo1x0x1: ze,
710
+ convertTo1x0x1: je,
711
711
  convertTo2x0x0: w,
712
712
  convertTo3x5x0: A,
713
713
  convertTo4x0x1: D,
@@ -721,18 +721,18 @@ const Mt = {
721
721
  convertTo12x0x0: V,
722
722
  convertTo15x0x0: G,
723
723
  convertTo16x1x0: _,
724
- convertTo16x1x1: z,
725
- convertTo19x0x0: j,
724
+ convertTo16x1x1: j,
725
+ convertTo19x0x0: z,
726
726
  convertTo20x2x0: H,
727
727
  convertTo21x1x0: $,
728
728
  convertTo23x3x0: Y,
729
729
  convertTo24x8x0: Q,
730
- convertTo25x0x0: J,
731
- convertTo25x1x0: K,
730
+ convertTo25x0x0: K,
731
+ convertTo25x1x0: J,
732
732
  convertTo25x2x0: X,
733
733
  convertTemporalBinningProps2: Ge,
734
734
  transformPropsInHeatChart: _e,
735
- applyConversions: je,
735
+ applyConversions: ze,
736
736
  convertDataSourceToILayer: ve,
737
737
  applyDefaultFirstDayOfWeek: de,
738
738
  convertWebChartNullCategoryProps: Ce
@@ -189,6 +189,18 @@ export function doesSeriesSupportTemporalBinning(series?: WebChartSeriesType): s
189
189
  */
190
190
  export function hasConfigFilterChanged(previousConfig: WebChart, newConfig: WebChart): boolean;
191
191
 
192
+ /**
193
+ * Compares two arrays of series and indicates if the properties `x` or `y` changed.
194
+ *
195
+ * When comparing the y values, we ignore the order of the series in the config.
196
+ * Regarding the `x`, only the first series is checked given they are similar among all the series.
197
+ *
198
+ * @param previousSeries
199
+ * @param newSeries
200
+ * @internal
201
+ */
202
+ export function hasXOrYChanged(previousSeries: WebChart["series"], newSeries: WebChart["series"]): boolean;
203
+
192
204
  /**
193
205
  * Compares two arrays of series and indicates whether the number of series is different.
194
206
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/charts-components",
3
- "version": "5.2.0-next.126",
3
+ "version": "5.2.0-next.128",
4
4
  "description": "Reusable ArcGIS charting Web Components.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -30,9 +30,9 @@
30
30
  "dependencies": {
31
31
  "@amcharts/amcharts4": "^4.10.31",
32
32
  "@amcharts/amcharts5": "~5.20.8",
33
- "@arcgis/lumina": "5.2.0-next.126",
34
- "@arcgis/toolkit": "5.2.0-next.126",
35
- "@esri/arcgis-html-sanitizer": "~4.1.0",
33
+ "@arcgis/lumina": "5.2.0-next.128",
34
+ "@arcgis/toolkit": "5.2.0-next.128",
35
+ "@esri/arcgis-html-sanitizer": "~4.2.0-next.2",
36
36
  "@lit/task": "^1.0.3",
37
37
  "@zumer/snapdom": "^2.24.1",
38
38
  "ajv": "6.12.6",
@@ -45,7 +45,7 @@
45
45
  "tslib": "^2.8.1"
46
46
  },
47
47
  "peerDependencies": {
48
- "@arcgis/core": "5.2.0-next.126",
48
+ "@arcgis/core": "5.2.0-next.128",
49
49
  "@esri/calcite-components": "^5.2.0-next.80"
50
50
  },
51
51
  "css.customData": [
@@ -1,3 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{A as M,Ba as pe,Da as he,b as ue,g as ce,i as fe,ka as K,o as de,xa as ge}from"./ZUN46CYQ.js";import{b as G,c as le,f as A}from"./KX7KGXKQ.js";import{q as ie}from"./NGXRBJKL.js";import{a as _}from"./QYRHZJH3.js";import{a as d,c as ae,e as ne,f as se,h as z,j as oe,k as L}from"./PWJBGZPW.js";var q=function(){return q=Object.assign||function(t){for(var r,i=1,a=arguments.length;i<a;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},q.apply(this,arguments)},J={exports:{}},g={},ee={exports:{}},O={};function ve(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function Xe(e,t,r){}function qe(e,t,r){}var je=/javascript\s*\:/img;function Qe(e,t){return je.test(t)?"":t}O.whiteList=ve();O.getDefaultWhiteList=ve;O.onAttr=Xe;O.onIgnoreAttr=qe;O.safeAttrValue=Qe;var Ye={indexOf:function(e,t){var r,i;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var i,a;if(Array.prototype.forEach)return e.forEach(t,r);for(i=0,a=e.length;i<a;i++)t.call(r,e[i],i,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},N=Ye;function Ze(e,t){e=N.trimRight(e),e[e.length-1]!==";"&&(e+=";");var r=e.length,i=!1,a=0,n=0,s="";function l(){if(!i){var u=N.trim(e.slice(a,n)),c=u.indexOf(":");if(c!==-1){var p=N.trim(u.slice(0,c)),h=N.trim(u.slice(c+1));if(p){var m=t(a,s.length,p,h,u);m&&(s+=m+"; ")}}}a=n+1}for(;n<r;n++){var o=e[n];if(o==="/"&&e[n+1]==="*"){var f=e.indexOf("*/",n+2);if(f===-1)break;n=f+1,a=n+1,i=!1}else o==="("?i=!0:o===")"?i=!1:o===";"?i||l():o===`
3
- `&&l()}return N.trim(s)}var Ke=Ze,$=O,Je=Ke;function me(e){return e==null}function et(e){var t={};for(var r in e)t[r]=e[r];return t}function xe(e){e=et(e||{}),e.whiteList=e.whiteList||$.whiteList,e.onAttr=e.onAttr||$.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||$.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||$.safeAttrValue,this.options=e}xe.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,i=r.whiteList,a=r.onAttr,n=r.onIgnoreAttr,s=r.safeAttrValue,l=Je(e,function(o,f,u,c,p){var h=i[u],m=!1;if(h===!0?m=h:typeof h=="function"?m=h(c):h instanceof RegExp&&(m=h.test(c)),m!==!0&&(m=!1),c=s(u,c),!!c){var y={position:f,sourcePosition:o,source:p,isWhite:m};if(m){var b=a(u,c,y);return me(b)?u+":"+c:b}else{var b=n(u,c,y);if(!me(b))return b}}});return l};var tt=xe;(function(e,t){var r=O,i=tt;function a(s,l){var o=new i(l);return o.process(s)}t=e.exports=a,t.FilterCSS=i;for(var n in r)t[n]=r[n]})(ee,ee.exports);var te=ee.exports,re={indexOf:function(e,t){var r,i;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,i=e.length;r<i;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var i,a;if(Array.prototype.forEach)return e.forEach(t,r);for(i=0,a=e.length;i<a;i++)t.call(r,e[i],i,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,r=t.exec(e);return r?r.index:-1}},rt=te.FilterCSS,it=te.getDefaultWhiteList,j=re;function Ae(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var Ce=new rt;function at(e,t,r){}function nt(e,t,r){}function st(e,t,r){}function ot(e,t,r){}function Te(e){return e.replace(ut,"&lt;").replace(ct,"&gt;")}function lt(e,t,r,i){if(r=Fe(r),t==="href"||t==="src"){if(r=j.trim(r),r==="#")return"#";if(!(r.substr(0,7)==="http://"||r.substr(0,8)==="https://"||r.substr(0,7)==="mailto:"||r.substr(0,4)==="tel:"||r.substr(0,11)==="data:image/"||r.substr(0,6)==="ftp://"||r.substr(0,2)==="./"||r.substr(0,3)==="../"||r[0]==="#"||r[0]==="/"))return""}else if(t==="background"){if(H.lastIndex=0,H.test(r))return""}else if(t==="style"){if(be.lastIndex=0,be.test(r)||(ye.lastIndex=0,ye.test(r)&&(H.lastIndex=0,H.test(r))))return"";i!==!1&&(i=i||Ce,r=i.process(r))}return r=Oe(r),r}var ut=/</g,ct=/>/g,ft=/"/g,dt=/&quot;/g,gt=/&#([a-zA-Z0-9]*);?/gim,pt=/&colon;?/gim,ht=/&newline;?/gim,H=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,be=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,ye=/u\s*r\s*l\s*\(.*/gi;function we(e){return e.replace(ft,"&quot;")}function Le(e){return e.replace(dt,'"')}function _e(e){return e.replace(gt,function(r,i){return i[0]==="x"||i[0]==="X"?String.fromCharCode(parseInt(i.substr(1),16)):String.fromCharCode(parseInt(i,10))})}function ke(e){return e.replace(pt,":").replace(ht," ")}function Pe(e){for(var t="",r=0,i=e.length;r<i;r++)t+=e.charCodeAt(r)<32?" ":e.charAt(r);return j.trim(t)}function Fe(e){return e=Le(e),e=_e(e),e=ke(e),e=Pe(e),e}function Oe(e){return e=we(e),e=Te(e),e}function mt(){return""}function bt(e,t){typeof t!="function"&&(t=function(){});var r=!Array.isArray(e);function i(s){return r?!0:j.indexOf(e,s)!==-1}var a=[],n=!1;return{onIgnoreTag:function(s,l,o){if(i(s))if(o.isClosing){var f="[/removed]",u=o.position+f.length;return a.push([n!==!1?n:o.position,u]),n=!1,f}else return n||(n=o.position),"[removed]";else return t(s,l,o)},remove:function(s){var l="",o=0;return j.forEach(a,function(f){l+=s.slice(o,f[0]),o=f[1]}),l+=s.slice(o),l}}}function yt(e){for(var t="",r=0;r<e.length;){var i=e.indexOf("<!--",r);if(i===-1){t+=e.slice(r);break}t+=e.slice(r,i);var a=e.indexOf("-->",i);if(a===-1)break;r=a+3}return t}function St(e){var t=e.split("");return t=t.filter(function(r){var i=r.charCodeAt(0);return i===127?!1:i<=31?i===10||i===13:!0}),t.join("")}g.whiteList=Ae();g.getDefaultWhiteList=Ae;g.onTag=at;g.onIgnoreTag=nt;g.onTagAttr=st;g.onIgnoreTagAttr=ot;g.safeAttrValue=lt;g.escapeHtml=Te;g.escapeQuote=we;g.unescapeQuote=Le;g.escapeHtmlEntities=_e;g.escapeDangerHtml5Entities=ke;g.clearNonPrintableCharacter=Pe;g.friendlyAttrValue=Fe;g.escapeAttrValue=Oe;g.onIgnoreTagStripAll=mt;g.StripTagBody=bt;g.stripCommentTag=yt;g.stripBlankChar=St;g.cssFilter=Ce;g.getDefaultCSSWhiteList=it;var Q={},k=re;function vt(e){var t=k.spaceIndex(e),r;return t===-1?r=e.slice(1,-1):r=e.slice(1,t+1),r=k.trim(r).toLowerCase(),r.slice(0,1)==="/"&&(r=r.slice(1)),r.slice(-1)==="/"&&(r=r.slice(0,-1)),r}function xt(e){return e.slice(0,2)==="</"}function At(e,t,r){var i="",a=0,n=!1,s=!1,l=0,o=e.length,f="",u="";e:for(l=0;l<o;l++){var c=e.charAt(l);if(n===!1){if(c==="<"){n=l;continue}}else if(s===!1){if(c==="<"){i+=r(e.slice(a,l)),n=l,a=l;continue}if(c===">"){i+=r(e.slice(a,n)),u=e.slice(n,l+1),f=vt(u),i+=t(n,i.length,f,u,xt(u)),a=l+1,n=!1;continue}if(c==='"'||c==="'")for(var p=1,h=e.charAt(l-p);h.trim()===""||h==="=";){if(h==="="){s=c;continue e}h=e.charAt(l-++p)}}else if(c===s){s=!1;continue}}return a<e.length&&(i+=r(e.substr(a))),i}var Ct=/[^a-zA-Z0-9\\_:.-]/gim;function Tt(e,t){var r=0,i=0,a=[],n=!1,s=e.length;function l(p,h){if(p=k.trim(p),p=p.replace(Ct,"").toLowerCase(),!(p.length<1)){var m=t(p,h||"");m&&a.push(m)}}for(var o=0;o<s;o++){var f=e.charAt(o),u,c;if(n===!1&&f==="="){n=e.slice(r,o),r=o+1,i=e.charAt(r)==='"'||e.charAt(r)==="'"?r:Lt(e,o+1);continue}if(n!==!1&&o===i){if(c=e.indexOf(f,o+1),c===-1)break;u=k.trim(e.slice(i+1,c)),l(n,u),n=!1,o=c,r=o+1;continue}if(/\s|\n|\t/.test(f))if(e=e.replace(/\s|\n|\t/g," "),n===!1)if(c=wt(e,o),c===-1){u=k.trim(e.slice(r,o)),l(u),n=!1,r=o+1;continue}else{o=c-1;continue}else if(c=_t(e,o-1),c===-1){u=k.trim(e.slice(r,o)),u=Se(u),l(n,u),n=!1,r=o+1;continue}else continue}return r<e.length&&(n===!1?l(e.slice(r)):l(n,Se(k.trim(e.slice(r))))),k.trim(a.join(" "))}function wt(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="="?t:-1}}function Lt(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="'"||r==='"'?t:-1}}function _t(e,t){for(;t>0;t--){var r=e[t];if(r!==" ")return r==="="?t:-1}}function kt(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function Se(e){return kt(e)?e.substr(1,e.length-2):e}Q.parseTag=At;Q.parseAttr=Tt;var Pt=te.FilterCSS,x=g,Be=Q,Ft=Be.parseTag,Ot=Be.parseAttr,X=re;function U(e){return e==null}function Bt(e){var t=X.spaceIndex(e);if(t===-1)return{html:"",closing:e[e.length-2]==="/"};e=X.trim(e.slice(t+1,-1));var r=e[e.length-1]==="/";return r&&(e=X.trim(e.slice(0,-1))),{html:e,closing:r}}function Rt(e){var t={};for(var r in e)t[r]=e[r];return t}function Mt(e){var t={};for(var r in e)Array.isArray(e[r])?t[r.toLowerCase()]=e[r].map(function(i){return i.toLowerCase()}):t[r.toLowerCase()]=e[r];return t}function Re(e){e=Rt(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=x.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=Mt(e.whiteList||e.allowList):e.whiteList=x.whiteList,e.onTag=e.onTag||x.onTag,e.onTagAttr=e.onTagAttr||x.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||x.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||x.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||x.safeAttrValue,e.escapeHtml=e.escapeHtml||x.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new Pt(e.css))}Re.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,i=r.whiteList,a=r.onTag,n=r.onIgnoreTag,s=r.onTagAttr,l=r.onIgnoreTagAttr,o=r.safeAttrValue,f=r.escapeHtml,u=t.cssFilter;r.stripBlankChar&&(e=x.stripBlankChar(e)),r.allowCommentTag||(e=x.stripCommentTag(e));var c=!1;r.stripIgnoreTagBody&&(c=x.StripTagBody(r.stripIgnoreTagBody,n),n=c.onIgnoreTag);var p=Ft(e,function(h,m,y,b,Y){var R={sourcePosition:h,position:m,isClosing:Y,isWhite:Object.prototype.hasOwnProperty.call(i,y)},P=a(y,b,R);if(!U(P))return P;if(R.isWhite){if(R.isClosing)return"</"+y+">";var W=Bt(b),Z=i[y],D=Ot(W.html,function(T,w){var E=X.indexOf(Z,T)!==-1,F=s(y,T,w,E);return U(F)?E?(w=o(y,T,w,u),w?T+'="'+w+'"':T):(F=l(y,T,w,E),U(F)?void 0:F):F});return b="<"+y,D&&(b+=" "+D),W.closing&&(b+=" /"),b+=">",b}else return P=n(y,b,R),U(P)?f(b):P},f);return c&&(p=c.remove(p)),p};var It=Re;(function(e,t){var r=g,i=Q,a=It;function n(l,o){var f=new a(o);return f.process(l)}t=e.exports=n,t.filterXSS=n,t.FilterXSS=a,(function(){for(var l in r)t[l]=r[l];for(var o in i)t[o]=i[o]})();function s(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}s()&&(self.filterXSS=e.exports)})(J,J.exports);var I=J.exports,Et=function(e){if(typeof e!="object"||e===null||Object.prototype.toString.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);if(t===null)return!0;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},Me=(function(){function e(t,r){var i=this;this.arcgisWhiteList={a:["href","style","target"],abbr:["title"],article:["style"],aside:["style"],audio:["autoplay","controls","loop","muted","preload"],b:[],blockquote:["style"],br:[],code:["style"],dd:["style"],del:["style"],details:["open","style"],div:["align","aria-hidden","aria-label","style"],dl:["style"],dt:["style"],em:[],figcaption:["style"],figure:["style"],font:["color","face","size","style"],footer:["style"],h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],header:["style"],hr:[],i:[],img:["alt","border","height","src","style","width"],li:[],main:["style"],mark:["style"],nav:["style"],ol:[],p:["style"],pre:["style"],section:["style"],source:["media","src","type"],span:["aria-hidden","aria-label","style"],strong:[],sub:["style"],summary:["style"],sup:["style"],table:["border","cellpadding","cellspacing","height","style","width"],tbody:[],tr:["align","height","style","valign"],td:["align","colspan","height","nowrap","rowspan","style","valign","width"],th:["align","colspan","height","nowrap","rowspan","style","valign","width"],time:["style"],u:[],ul:[],video:["autoplay","controls","height","loop","muted","poster","preload","width"]},this.arcgisCSSWhiteList=q(q({},I.getDefaultCSSWhiteList()),{"align-items":!0,"align-self":!0,flex:!0,"flex-basis":!0,"flex-direction":!0,"flex-flow":!0,"flex-grow":!0,"flex-shrink":!0,"flex-wrap":!0,float:!0,gap:!0,grid:!0,"grid-area":!0,"grid-auto-columns":!0,"grid-auto-flow":!0,"grid-auto-rows":!0,"grid-column":!0,"grid-column-end":!0,"grid-column-start":!0,"grid-row":!0,"grid-row-end":!0,"grid-row-start":!0,"grid-template":!0,"grid-template-areas":!0,"grid-template-columns":!0,"grid-template-rows":!0,"justify-content":!0,"justify-items":!0,"justify-self":!0,"line-height":!0,overflow:!0}),this.allowedProtocols=["http","https","mailto","iform","tel","flow","lfmobile","arcgis-navigator","arcgis-appstudio-player","arcgis-survey123","arcgis-collector","arcgis-workforce","arcgis-explorer","arcgis-trek2there","arcgis-quickcapture","mspbi","comgooglemaps","pdfefile","pdfehttp","pdfehttps","boxapp","boxemm","awb","awbs","gropen","radarscope"],this.arcgisFilterOptions={allowCommentTag:!0,safeAttrValue:function(n,s,l,o){return n==="a"&&s==="href"||(n==="img"||n==="source")&&s==="src"?i.sanitizeUrl(l):I.safeAttrValue(n,s,l,o)}},this._entityMap={"&":"&#x38;","<":"&#x3C;",">":"&#x3E;",'"':"&#x22;","'":"&#x27;","/":"&#x2F;"};var a;t&&!r?a=t:t&&r?(a=Object.create(this.arcgisFilterOptions),a.css={whiteList:this.arcgisCSSWhiteList},Object.keys(t).forEach(function(n){if(n==="whiteList")a.whiteList=i._extendObjectOfArrays([i.arcgisWhiteList,t.whiteList||{}]);else if(n==="css"){var s=t.css.whiteList;s!=null&&t.css instanceof Object&&Object.keys(s).forEach(function(l){return a.css.whiteList[l]=s[l]})}else a[n]=t[n]})):(a=Object.create(this.arcgisFilterOptions),a.whiteList=this.arcgisWhiteList,a.css={whiteList:this.arcgisCSSWhiteList}),this.xssFilterOptions=a,this._xssFilter=new I.FilterXSS(a)}return e.prototype.sanitize=function(t,r){switch(r===void 0&&(r={}),typeof t){case"number":return isNaN(t)||!isFinite(t)?null:t;case"boolean":return t;case"string":return this._xssFilter.process(t);case"object":return this._iterateOverObject(t,r);default:return r.allowUndefined&&typeof t>"u"?void 0:null}},e.prototype.sanitizeUrl=function(t,r){var i=(r??{}).isProtocolRequired,a=i===void 0?!0:i,n=this._trim(t.substring(0,t.indexOf(":"))),s=t==="/",l=/^#/.test(t),o=n&&this.allowedProtocols.indexOf(n.toLowerCase())>-1;return s||l||o?I.escapeAttrValue(t):!n&&!a?I.escapeAttrValue("https://".concat(t)):""},e.prototype.sanitizeHTMLAttribute=function(t,r,i,a){return typeof this.xssFilterOptions.safeAttrValue=="function"?this.xssFilterOptions.safeAttrValue(t,r,i,a):I.safeAttrValue(t,r,i,a)},e.prototype.validate=function(t,r){r===void 0&&(r={});var i=this.sanitize(t,r);return{isValid:t===i,sanitized:i}},e.prototype.encodeHTML=function(t){var r=this;return String(t).replace(/[&<>"'\/]/g,function(i){return r._entityMap[i]})},e.prototype.encodeAttrValue=function(t){var r=/^[a-zA-Z0-9]$/;return String(t).replace(/[\x00-\xFF]/g,function(i,a){return r.test(i)?i:"&#x".concat(Number(t.charCodeAt(a)).toString(16),";")})},e.prototype._extendObjectOfArrays=function(t){var r={};return t.forEach(function(i){Object.keys(i).forEach(function(a){Array.isArray(i[a])&&Array.isArray(r[a])?r[a]=r[a].concat(i[a]):r[a]=i[a]})}),r},e.prototype._iterateOverObject=function(t,r){var i=this;r===void 0&&(r={});try{var a=!1,n=void 0;if(Array.isArray(t))n=t.reduce(function(l,o){var f=i.validate(o,r);return f.isValid?l.concat([o]):(a=!0,l.concat([f.sanitized]))},[]);else if(Et(t)){var s=Object.keys(t);n=s.reduce(function(l,o){var f=t[o],u=i.validate(f,r);return u.isValid?l[o]=f:(a=!0,l[o]=u.sanitized),l},{})}else return r.allowUndefined&&typeof t>"u"?void 0:null;return a?n:t}catch{return null}},e.prototype._trim=function(t){return String.prototype.trim?t.trim():t.replace(/(^\s*)|(\s*$)/g,"")},e})();var zt={MonoSelection:"monoSelection",MultiSelection:"multiSelection",MultiSelectionWithCtrlKey:"multiSelectionWithCtrlKey",Zoom:"zoom",None:"none"},er={MultiAxes:"multi-axes",XAxis:"x-axis",YAxis:"y-axis"},Nt={aria:{defaultChartItemRole:"figure"},title:{marginBottom:8,wrap:!0},subtitle:{marginBottom:10,wrap:!0},rotated:!1,legendProperties:{legendLabels:{marginLeft:5,marginRight:5,truncate:!1,applyOnClones:!0,wrap:!0,maxWidth:200},valueLabels:{wrap:!0,maxWidth:200},legendTitle:{wrap:!0,maxWidth:220,marginLeft:10,marginRight:10,marginTop:10},legendMarkersSize:14,legendLabelReducedOpacity:.5,rectangleMarkerRadius:3,roundedMarkerRadius:12,legendPaddingRightWithScrollbarVisible:10,maxHeight:100,marginTop:2,marginBottom:2,marginLeft:0,marginRight:0,paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0,position:ne.Right},footer:{wrap:!0,horizontalCenter:"center",verticalCenter:"middle",align:"center"},axisLabel:{rotation:0,align:"center",horizontalCenter:"center",verticalCenter:"top",dy:5,paddingTop:5,paddingRight:5,paddingLeft:5,maxWidth:Number.NaN},axisTickLength:5,rotatedAxisLabel:{rotation:-45,horizontalCenter:"left",verticalCenter:"bottom",dy:6,paddingTop:5,paddingLeft:0,paddingRight:5},histogramAxisLabel:{rotation:0,horizontalCenter:"center",verticalCenter:"middle",dy:0,dx:0,paddingLeft:3,paddingRight:3},xAxisTitleLabel:{align:"center",valign:"middle",rotation:0,fontSize:10,wrap:!0},yAxisTitleLabel:{align:"center",valign:"middle",rotation:270,wrap:!0},titleLabel:{align:"center",wrap:!0},subtitleLabel:{align:"center",wrap:!0},horizontalSurfaceGuideLabels:{horizontalCenter:"right",align:"right",verticalCenter:"middle",wrap:!0},horizontalLineGuideLabels:{horizontalCenter:"right",align:"right",verticalCenter:"top",wrap:!0},verticalSurfaceGuideLabels:{horizontalCenter:"center",verticalCenter:"top",valign:"top"},verticalLineGuideLabels:{horizontalCenter:"right",verticalCenter:"bottom",valign:"top",wrap:!0,rotation:90},guideAbove:!1,guideLabelPadding:{paddingTop:0,paddingRight:10,paddingBottom:0,paddingLeft:10},cursorCrosshair:{style:{type:A.SLS,style:G.Dash,color:[0,0,0,102],width:1},horizontalLineVisible:!1,verticalLineVisible:!1},gauge:{innerRadius:80,radius:80,startAngle:-180,endAngle:180,innerLabelToInnerChartRatio:.5,axisLabelToInnerChartRatio:.13,innerLabelAutoMinFontSize:14,innerLabelAutoMaxFontSize:100,axisLabelAutoMinFontSize:14,axisLabelAutoMaxFontSize:40,gaugeMinGridDistance:1,axisMinimum:0,axisMaximum:100,numberOfLabelIntervals:5,numberOfTicksBetweenTwoLabels:4,maximumNumberOfLabelIntervals:24,paddingTop:10,paddingBottom:10,paddingRight:5,paddingLeft:5},gaugeTicksLength:7,gaugeInnerLabel:{horizontalCenter:"center",verticalCenter:"middle"},gaugeNeedle:{startWidth:10,endWidth:1,innerRadius:25,displayPin:!1},headerContainer:{layout:"vertical",width:"100%",paddingBottom:5},footerContainer:{layout:"vertical",width:"100%",paddingTop:5,paddingBottom:15},paddingMinSize:0,marginMinSize:0,chartPaddingMinSize:7,chartPaddingRightWhenLegendNotOnRight:15,chartAndLegendContainer:{paddingTop:0},chartContainer:{paddingBottom:0,paddingTop:15},chartContainerPaddingTopWhenRotated:5,dataLabelInitialize:{strokeWidth:0,applyOnClones:!0},dataLabel:{align:"center",horizontalCenter:"center",valign:"bottom",verticalCenter:"top",dy:-3},dataLabelRotated:{align:"right",horizontalCenter:"right",valign:"middle",verticalCenter:"middle",dx:2},dataLabelStackedRotated:{align:"center",horizontalCenter:"center",valign:"middle",verticalCenter:"middle"},dataLabelStackedNonRotated:{align:"center",horizontalCenter:"center",valign:"middle",verticalCenter:"middle"},dataLabelNegative:{paddingTop:5,paddingRight:5},rotatedChartPadding:{paddingTop:2,paddingRight:2},scatterplotSeries:{strokeOpacity:0,r2:Number.NaN,trendLinePoints:[{},{}]},histogramSeries:{normalDistribNumberOfPoints:100},lineSeries:{strokeWidth:2,lineSmoothed:!1,lineSmoothedKind:oe.Bezier,showArea:!1,areaOpacity:.25,markerVisible:!0,rotated:!1,stackedType:se.Side,stackNegativeValuesToBaseline:!0,marker:{markerBigSize:7,markerSizeThresholdForTooltipDisplay:9,markerStyle:le.Circle}},buffer:!1,treatZeroValueAs:1e-4,elementLimitForSmoothRendering:1e3,pieChart:{dataLabels:{maxWidth:100,wrap:!1},dataLabelsOffset:10,dataLabelsInside:!1,chartRadius:80,chartOptimizedRadius:70,innerRadius:he,min:-90,max:270,displayCategoryOnLegend:!0,displayCategoryOnTooltip:!0,displayCategoryOnDataLabel:!0,displayNumericValueOnLegend:!1,displayNumericValueOnDataLabel:!0,displayNumericValueOnTooltip:!0,displayPercentageOnLegend:!1,displayPercentageOnDataLabel:!1,displayPercentageOnTooltip:!0,sliceGrouping:{sliceId:de.defaultGroupOfSlicesId,percentageThreshold:0,fillSymbol:{type:A.SFS,color:[210,210,210,255*fe]}},defaultPadding:0,alignDataLabels:!1,ticksOpacity:1,minimumSize:20,technicalFieldSliceId:"arcgis_charts_slice_id",technicalFieldSlicePercent:"arcgis_charts_slice_percent",technicalFieldGroupedSlices:"arcgis_charts_grouped_slices"},pieSliceCustomLabelName:"customLabel",yAxisLabelMaxWidth:100,xAxisLabelMaxWidth:75,axisLabelPadding:1.5,categoryAxisLabelPadding:3,seriesSort:z.Ascending,technicalSortingFieldBySum:"arcgis_charts_category_sum",technicalSortingFieldByPercent:"arcgis_charts_category_first_series_percent",technicalFieldSplitByField:"arcgis_charts_split_by_field",color:[0,0,0,255],chartEllipsis:"...",backgroundColor:[255,255,255,255],grayColor:M,xAxisMinGridDistance:120,xCategoryAxisMinGridDistance:40,yAxisMinGridDistance:40,yCategoryAxisMinGridDistance:20,secondRotatedValueAxisMinGridDistance:80,staggerMinGridDistance:40,shortestMinGridDistance:20,maxNumberOfXAxisLabelsInWrapModeForDateAxis:15,maxNumberOfXAxisLabelsInWrapMode:20,lineWidth:1,loaderRotationSpeed:400,loaderIntervalTimeout:400,loaderLabelFontSize:20,selectionTheme:{selectedElementsTheme:{elementOutlineColor:[0,255,255,255],elementOutlineWidth:5}},columnTooltipPosition:"pointer",guideTooltipPosition:"pointer",markerTooltipPosition:"fixed",sliceTooltipPosition:"fixed",patternLineProperties:{width:5,height:5,strokeWidth:1,tileSize:50,diagonalTileSize:1200},patternRectProperties:{rectWidth:9,rectHeight:9,width:10,height:10,strokeWidth:.3,fillOpacity:0},originalXValue:"arcgis_charts_original_x_value",originalYCategoryValue:"arcgis_charts_original_category_y_value",dateBinningRange:"arcgis_charts_bin_range",originalServerBinningRange:"arcgis_charts_server_bin_range",dateBinModel:"arcgis_charts_bin_model",xAxisField:"arcgis_charts_x_axis_field",xAxisDisplayField:"arcgis_charts_x_axis_display_field",nullValue:"arcgis_charts_null",emptyStringValue:"arcgis_charts_empty",queryMaxFloatPrecision:10,dateFormatUTC:{timeZone:"UTC",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1},dayDefaultFormat:{day:"numeric",month:"short"},weekDefaultFormat:{day:"numeric",month:"short"},rendererOtherValue:"arcgisChartsrendererOtherValue",rendererSymbolField:"arcgis_charts_renderer_symbol",rendererSymbolFieldForHistogram:"symbol",scatterplotAggregationFields:{dataContextXMinField:"arcgis_charts_xmin",dataContextXMaxField:"arcgis_charts_xmax",dataContextYMinField:"arcgis_charts_ymin",dataContextYMaxField:"arcgis_charts_ymax",dataContextCountDistinctX:"distinctX",dataContextCountDistinctY:"distinctY",queryNumberOfFeatures:"numberOfFeatures",queryNumberOfAggregatedFeatures:"numberOfAggregatedFeatures",xStep:"xStep",yStep:"yStep",rowCount:"rowCount",columnCount:"columnCount",realGridSize:"realGridSize"},dataTooltipVisible:!0,dataTooltipStyle:{outline:{type:A.SLS,color:[255,255,255,255],width:1}},dataTooltipStyleReversed:{color:[255,255,255,255],outline:{type:A.SLS,width:3}},tooltipWidth:300,tooltipFontSize:14,axisLabelOveredOpacity:.5,generalFontSize:10,actionMode:zt.MultiSelectionWithCtrlKey,debounceTime:100,chartDefaultPaddingRight:0,htmlEmptyContent:"<p></p>",boxPlot:{boxPlotY:"arcgis_charts_box_plot_y",boxPlotCategory:"arcgis_charts_box_plot_category",boxPlotOutliersSuffix:"_with_outliers",boxPlotOutliersVisibility:!1,boxPlotStandardizeValuesVisibility:!1,boxPlotOutliersSize:4,boxPlotLineWidth:2,boxPlotOutlierId:"is_arcgis_charts_outlier",boxPlotMeanLineMarkerId:"is_arcgis_charts_mean_marker",boxPlotWhiskersColor:[153,153,153,178.5],boxPlotTooltipLabelWidth:250},binTemporalData:!0,lastTemporalBin:"is_arcgis_charts_last_bin",firstTemporalBin:"is_arcgis_charts_first_bin",options:{hideEmptySeries:!0,showEmptySeries:!1,replaceNoValueCategoryWithZero:!0,hideZeroCountCategories:!1,autoInverseDataLabelTextColor:!1},nullCategory:{text:"null",fillSymbol:{type:A.SFS,color:M,outline:{type:A.SLS,style:G.Solid,color:M,width:1}},markerSymbol:{type:A.SMS,color:M,outline:{type:A.SLS,style:G.Solid,color:M,width:1}}},classBreaks:{breaksCount:5}},B={NonSpecific:"nonSpecific",BarAndLineNoAggregation:"barAndLineNoAggregation",BarAndLineMonoField:"barAndLineMonoField",BarAndLineMultiFields:"barAndLineMultiFields",BarAndLineFromFields:"barAndLineFromFields",BarAndLineSplitBy:"barAndLineSplitBy",BarAndLineSplitByNoAggregation:"barAndLineSplitByNoAggregation",PieNoAggregation:"pieNoAggregation",PieFromCategory:"pieFromCategory",PieFromFields:"pieFromFields",BoxPlotC1MonoField:"boxPlotC1MonoField",BoxPlotC2MultiFields:"boxPlotC2MultiFields",BoxPlotC3MonoFieldAndCategory:"boxPlotC3MonoFieldAndCategory",BoxPlotC4MultiFieldsAndCategory:"boxPlotC4MultiFieldsAndCategory",BoxPlotC5MonoFieldAndSplitBy:"boxPlotC5MonoFieldAndSplitBy",BoxPlotC6MultiFieldsAndSplitBy:"boxPlotC6MultiFieldsAndSplitBy",BoxPlotC7MonoFieldAndCategoryAndSplitBy:"boxPlotC7MonoFieldAndCategoryAndSplitBy"},tr={SelectionByClick:"SelectionByClick",SelectionByRange:"SelectionByRange",ProgrammaticSelection:"ProgrammaticSelection",ClearSelection:"ClearSelection"},C={Mean:"Mean",Median:"Median",StdDev:"Standard Deviation",Normal:"Normal Distribution",Trendline:"Trendline"};function rr(e){return e?.colorMatch??!1}function ir(e){let t=K();if(e!==void 0){let r=_(e.series);(r===d.BarSeries||r===d.LineSeries||r===d.ComboLineAndBarSeries||r===d.BoxPlotSeries)&&(t=e.rotated??K())}return t}function ar(e){return e?.map(t=>t.type)??[]}function nr(e){let t=e?.stackedType;if(t===void 0&&e!==void 0){let r=_(e.series);(r===d.BarSeries||r===d.LineSeries||r===d.ComboLineAndBarSeries||r===d.RadarSeries)&&(t=pe())}return t}function Wt(e){let t=e;return t=t.replace(/'/gu,"''"),t=t.replace(/[/\\"|[\]\\]/gu,"\\$&"),t}function Dt(e){let t=!1;if(typeof e!="number"){let r=new Intl.Segmenter;t=Array.from(r.segment(e),i=>i.segment).some(i=>i.charCodeAt(0)>255)}return t}function sr(e){let t=e,r="";e.startsWith("'")&&e.endsWith("'")&&(t=e.slice(1,-1),r="'"),t=t.replace(/'/gu,"''");let i="";return Dt(t)&&(i="N"),`${i}${r}${t}${r}`}function or(e){let{value:t,keepSurroundingQuotes:r,escape:i}=e,a=t?.trim();if(!Ie(a)){let n="";a.startsWith("'")&&a.endsWith("'")&&(a=a.slice(1,-1),r&&(n="'")),i&&(a=Wt(a)),a=`${n}${a}${n}`}return a}function lr(e){let{count:t,seriesCount:r,chartType:i,chartLimits:a}=e,{behaviorAfterLimit:n}=a??{},s=!0;if(n!==ue.RenderUpToTheLimit){let{maxBarChartSeriesCount:l,maxBarUniqueSeriesCountTotal:o,maxBarTwoSeriesCountPerSeries:f,maxBarTwoSeriesCountTotal:u,maxBarThreePlusSeriesCountPerSeries:c,maxBarThreePlusSeriesCountTotal:p,maxLineChartSeriesCount:h,maxLineUniqueSeriesCountTotal:m,maxLineTwoSeriesCountPerSeries:y,maxLineTwoSeriesCountTotal:b,maxLineThreePlusSeriesCountPerSeries:Y,maxLineThreePlusSeriesCountTotal:R,maxRadarChartSeriesCount:P,maxRadarUniqueSeriesCountTotal:W,maxRadarTwoSeriesCountPerSeries:Z,maxRadarTwoSeriesCountTotal:D,maxRadarThreePlusSeriesCountPerSeries:T,maxRadarThreePlusSeriesCountTotal:w,maxPieChartSliceCountTotal:E,maxGaugeByFeaturesLimit:F,maxBoxPlotSeriesCount:Ee,maxBoxUniqueSeriesCountTotal:ze,maxBoxTwoSeriesCountTotal:Ne,maxBoxTwoSeriesCountPerSeries:We,maxBoxThreePlusSeriesCountTotal:De,maxBoxThreePlusSeriesCountPerSeries:Ve,maxHeatChartCellLimit:Ge,serialChart:{series:V,elements:S},heatChart:{cells:$e},pieChart:{slices:He},gauge:{features:Ue}}=ge(a);switch(i){case d.BarSeries:case d.ComboLineAndBarSeries:{let v=t/r;r<=(l??V)?r===0?s=!0:r===1?s=t<=(o??S):r===2?s=t<=(u??S)&&v<=f:r>2&&(s=t<=(p??S)&&v<=c):s=!1}break;case d.LineSeries:{let v=t/r;r<=(h??V)?r===0?s=!0:r===1?s=t<=(m??S):r===2?s=t<=(b??S)&&v<=y:r>2&&(s=t<=(R??S)&&v<=Y):s=!1}break;case d.RadarSeries:{let v=t/r;r<=(P??V)?r===0?s=!0:r===1?s=t<=(W??S):r===2?s=t<=(D??S)&&v<=Z:r>2&&(s=t<=(w??S)&&v<=T):s=!1}break;case d.PieSeries:s=t<=(E??He);break;case d.BoxPlotSeries:{let v=t/r;r<=(Ee??V)?r===0?s=!0:r===1?s=t<=(ze??S):r===2?s=t<=(Ne??S)&&v<=We:r>2&&(s=t<=(De??S)&&v<=Ve):s=!1}break;case d.HeatSeries:s=t<=(Ge??$e);break;case d.GaugeSeries:s=t<=(F??Ue);break}}return s}function ur(e=[],t){let r=e.find(i=>i.name===t)?.alias;return r!==""?r??t:t}function cr(e=[],t){let r=e.find(i=>i.alias===t)?.name;return r!==""?r??t:t}function fr(e){let t=!1;switch(_(e)){case d.HeatSeries:case d.PieSeries:t=!0;break;case d.BarSeries:case d.LineSeries:case d.RadarSeries:case d.ComboLineAndBarSeries:case d.BoxPlotSeries:t=e.length>1;break;case d.HistogramSeries:case d.ScatterSeries:{let r=e[0];t=r.overlays!==void 0&&Object.values(r.overlays).some(i=>i.created===!0);break}}return t}function Vt(e){let t=!0;return _(e.series)===d.ScatterSeries&&(t=e.series.length===1),t}function Gt(e){let t=!0;return _(e.series)===d.HistogramSeries&&(t=e.series.length<=1&&e.series[0].type===d.HistogramSeries&&(!("dataTransformationType"in e.series[0])||e.series[0].dataTransformationType!==void 0&&Object.values(ae).includes(e.series[0].dataTransformationType))),t}function $t(e){let t=!0;return _(e.series)===d.PieSeries&&(t=e.series.length<=1),t}function dr(e,t){let r=_(t?.series),i=r!==void 0&&e.includes(r);if(i&&t!==void 0)switch(r){case d.HistogramSeries:i=Gt(t);break;case d.ScatterSeries:i=Vt(t);break;case d.PieSeries:i=$t(t);break}return i}function Ie(e){return e==null||typeof e=="string"&&e.trim()===""}function Ht(e,t){let r=t.find(i=>i in e);return{isInItem:r!==void 0,expr:r}}function gr(e){return Ht(e,ce)}function pr(e,t){let r;switch(e){case L.Second:r=t.seconds??"";break;case L.Minute:r=t.minutes??"";break;case L.Hour:r=t.hours??"";break;case L.Day:r=t.days??"";break;case L.Week:r=t.weeks??"";break;case L.Month:r=t.months??"";break;case L.Year:r=t.years??"";break;default:r="";break}return r}function hr(e){let t;switch(e){case C.Mean:t=1;break;case C.Median:t=2;break;case C.StdDev:t=3;break;case C.Normal:default:t=0;break}return t}function mr(e,t){if(t!==void 0){let{seriesId:r,overlayType:i,visible:a}=e.detail,n;switch(i){case C.Mean:t.series[0].type===d.HistogramSeries&&(n=t.series[0].overlays?.mean);break;case C.Median:t.series[0].type===d.HistogramSeries&&(n=t.series[0].overlays?.median);break;case C.StdDev:t.series[0].type===d.HistogramSeries&&(n=t.series[0].overlays?.standardDeviation);break;case C.Normal:t.series[0].type===d.HistogramSeries&&(n=t.series[0].overlays?.comparisonDistribution);break;case C.Trendline:t.series[0].type===d.ScatterSeries&&(n=t.series[0].overlays?.trendLine);break;default:n=t.series.find(s=>s.id===r);break}n!==void 0&&(n.visible=a)}}function br(e){return new Me().sanitize(e)}function yr(e){return e!=null&&!Number.isNaN(e)&&Number.isFinite(e)}function Sr(e,t){let r={fieldToSort:""};if(!Ie(e)){let i=e.trim(),a=i.split(" ").at(-1)?.toUpperCase();a===z.Ascending||a===z.Descending?r={fieldToSort:i.substring(0,i.lastIndexOf(" ")),orderBy:a}:(r={fieldToSort:i},t!==!1&&(r.orderBy=z.Ascending))}return r}function vr(e){return e===B.BarAndLineSplitBy||e===B.BarAndLineSplitByNoAggregation||e===B.BoxPlotC5MonoFieldAndSplitBy||e===B.BoxPlotC6MultiFieldsAndSplitBy||e===B.BoxPlotC7MonoFieldAndCategoryAndSplitBy}function xr(e){return e?.selectionPixelTarget?ie(e.selectionPixelTarget.pixelRanges):e?.selectionOIDs===void 0||e.selectionOIDs.length===0}function Ar(e={arrayA:[],arrayB:[],getKey:t=>t}){let{arrayA:t,arrayB:r,getKey:i}=e;if(r.length===0||t.length===0)return t;let a=new Map;r.forEach((o,f)=>{let u=i(o);a.set(u,f)});let n=[],s=[];t.forEach((o,f)=>{let u=i(o);a.has(u)&&(n.push(f),s.push(o))}),s.sort((o,f)=>{let u=i(o),c=i(f);return a.get(u)-a.get(c)});let l=[...t];return n.forEach((o,f)=>{l[o]=s[f]}),l}function Cr(e,t){return(e===B.BarAndLineNoAggregation||e===B.BarAndLineSplitByNoAggregation)&&t!==void 0?t.x:Nt.xAxisField}function Tr(e){let{r:t,g:r,b:i,a=1}=e,n=Math.round((1-a)*255+a*t),s=Math.round((1-a)*255+a*r),l=Math.round((1-a)*255+a*i);return .299*n+.587*s+.114*l>128}export{zt as a,er as b,Nt as c,B as d,tr as e,C as f,rr as g,ir as h,ar as i,nr as j,sr as k,or as l,lr as m,ur as n,cr as o,fr as p,dr as q,Ie as r,Ht as s,gr as t,pr as u,hr as v,mr as w,br as x,yr as y,Sr as z,vr as A,xr as B,Ar as C,Cr as D,Tr as E};