@arcgis/charts-components 5.0.0-next.14 → 5.0.0-next.15

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 (302) hide show
  1. package/dist/cdn/{XWCCAMPY.js → 2HFDQNUJ.js} +2 -2
  2. package/dist/cdn/{YTKBCAXL.js → 2IHRS6XO.js} +2 -2
  3. package/dist/cdn/{U7V4J6ZH.js → 2QGYZBVC.js} +2 -2
  4. package/dist/cdn/{2ST7WVDE.js → 3ANPURTA.js} +2 -2
  5. package/dist/cdn/{VAMBXURM.js → 3OHMNCK2.js} +2 -2
  6. package/dist/cdn/{64MMISFF.js → 3SWCIBBB.js} +2 -2
  7. package/dist/cdn/{2CHWKIPW.js → 3TM24EQG.js} +2 -2
  8. package/dist/cdn/{66GNVQXT.js → 3VSMJUCU.js} +2 -2
  9. package/dist/cdn/{KJMRGLV2.js → 434U5CCN.js} +2 -2
  10. package/dist/cdn/{S4A5BZYB.js → 4ABZGR4R.js} +2 -2
  11. package/dist/cdn/{LU7U6APK.js → 4KDC6BC7.js} +2 -2
  12. package/dist/cdn/{WLLC33CT.js → 4V56AR7R.js} +2 -2
  13. package/dist/cdn/{C4U6RP3E.js → 55RT2PVM.js} +2 -2
  14. package/dist/cdn/{UONTDZXK.js → 5ONL44LQ.js} +2 -2
  15. package/dist/cdn/{4SIHXTT3.js → 5OYL6L6X.js} +2 -2
  16. package/dist/cdn/{6AKI7HMD.js → 5OZWJTGQ.js} +2 -2
  17. package/dist/cdn/{Y25ZSBK7.js → 5TXDR4IW.js} +2 -2
  18. package/dist/cdn/{QX2OSFHR.js → 67ZO6F2S.js} +2 -2
  19. package/dist/cdn/{AQ75LURI.js → 6HSQ4R6A.js} +2 -2
  20. package/dist/cdn/{SNEWASL4.js → 6UN56MTN.js} +2 -2
  21. package/dist/cdn/{AU2UZT7E.js → 6WUSSL77.js} +2 -2
  22. package/dist/cdn/{MYZE5ODQ.js → 7FEKKJ6O.js} +2 -2
  23. package/dist/cdn/{4YBO645G.js → 7GGYLQVR.js} +40 -40
  24. package/dist/cdn/{RHFRHUH7.js → 7S5NKGVS.js} +2 -2
  25. package/dist/cdn/{JQMTH3YW.js → 7XO4NEYB.js} +2 -2
  26. package/dist/cdn/{O3OLJTFG.js → ABHW5CE2.js} +2 -2
  27. package/dist/cdn/{BTJ4RVCU.js → ACIN5UVG.js} +2 -2
  28. package/dist/cdn/{QSMMEJYZ.js → AEU2HWYS.js} +2 -2
  29. package/dist/cdn/{XBCVZDAQ.js → AGN5CUWV.js} +2 -2
  30. package/dist/cdn/{2KVOFVEH.js → ASKPQLLK.js} +2 -2
  31. package/dist/cdn/B5YRLKHW.js +4 -0
  32. package/dist/cdn/{YPHC62Q2.js → BBDMNKC4.js} +2 -2
  33. package/dist/cdn/{RLXBYZVW.js → BBRHHOLU.js} +2 -2
  34. package/dist/cdn/{4CNWB55C.js → BJ26ADXK.js} +1 -1
  35. package/dist/cdn/{6MCARUMD.js → BN6SWWLW.js} +2 -2
  36. package/dist/cdn/{UYGH4OUP.js → BO52KAZU.js} +2 -2
  37. package/dist/cdn/{NJH4LV57.js → BOJMT6WM.js} +2 -2
  38. package/dist/cdn/{Z3GRO7DM.js → BQAEYXEP.js} +2 -2
  39. package/dist/cdn/{RHME3KNC.js → BXNZWDJR.js} +1 -1
  40. package/dist/cdn/{A6KT6GKZ.js → BZ4U4UIO.js} +2 -2
  41. package/dist/cdn/{5RS2NW2T.js → C6XJTUW3.js} +2 -2
  42. package/dist/cdn/{W67EQ72D.js → CCNMNFU4.js} +2 -2
  43. package/dist/cdn/{AXWUIKID.js → CFEF5PED.js} +2 -2
  44. package/dist/cdn/{E2RJD45X.js → CJNWHNUN.js} +2 -2
  45. package/dist/cdn/{XSGQSK52.js → CPJMPYBA.js} +2 -2
  46. package/dist/cdn/{UH2YISXX.js → CS2UZBIZ.js} +2 -2
  47. package/dist/cdn/{7QZZNLYL.js → D3B5BETN.js} +2 -2
  48. package/dist/cdn/{B5HCYGP5.js → D3S6VZYM.js} +2 -2
  49. package/dist/cdn/{4SYLWQRB.js → DCWMK4AG.js} +2 -2
  50. package/dist/cdn/{V3FQRTAU.js → DFX5P352.js} +1 -1
  51. package/dist/cdn/{ACDSZAZY.js → DRSYMOLS.js} +2 -2
  52. package/dist/cdn/{ZJYPT2UY.js → DYJIU22C.js} +2 -2
  53. package/dist/cdn/{AT6TOOEH.js → E2BIA6XS.js} +2 -2
  54. package/dist/cdn/{BBR5CXKK.js → EC2DBBVI.js} +2 -2
  55. package/dist/cdn/{CSNUGWE2.js → EC66UVAA.js} +2 -2
  56. package/dist/cdn/{QEY3ZHQA.js → ECKCFNKB.js} +2 -2
  57. package/dist/cdn/{SQZB2247.js → ECTTF3BJ.js} +2 -2
  58. package/dist/cdn/{QWORMXMF.js → EEZIP3OH.js} +2 -2
  59. package/dist/cdn/{MRJF4QPU.js → EQHZLZYP.js} +2 -2
  60. package/dist/cdn/{33R74LOR.js → FGGAHPDC.js} +2 -2
  61. package/dist/cdn/{7ZMEVZG4.js → FJSOMVMF.js} +2 -2
  62. package/dist/cdn/{KWBKU46N.js → FJXJFOKB.js} +2 -2
  63. package/dist/cdn/{MKKAYDU5.js → FK4QG67C.js} +2 -2
  64. package/dist/cdn/{LU6GJFV4.js → FM53MHU6.js} +2 -2
  65. package/dist/cdn/{DJQ6IHYW.js → FP2PG3PR.js} +2 -2
  66. package/dist/cdn/{UESEZ6XR.js → FTPOWQ2M.js} +2 -2
  67. package/dist/cdn/{BFICDIIE.js → G35MJO3E.js} +2 -2
  68. package/dist/cdn/{VGHPMI2M.js → GA62NEL6.js} +2 -2
  69. package/dist/cdn/{R4W3O2SA.js → GARNQKIY.js} +2 -2
  70. package/dist/cdn/{L2Q4ABYM.js → GL4TUFQJ.js} +2 -2
  71. package/dist/cdn/{VKBJHYFR.js → GMRJBBRH.js} +2 -2
  72. package/dist/cdn/{64AKKTPO.js → GOSVLWOK.js} +2 -2
  73. package/dist/cdn/GPCXBOIX.js +4 -0
  74. package/dist/cdn/{U5AM3ZJR.js → GQBA4C22.js} +2 -2
  75. package/dist/cdn/{2GWYD5AM.js → GVST4DZO.js} +2 -2
  76. package/dist/cdn/{3Y3MIM7I.js → HF3PGFD4.js} +2 -2
  77. package/dist/cdn/{KRSHATLS.js → HHD6BMFI.js} +2 -2
  78. package/dist/cdn/{O7QTG4AT.js → HJ4XZBJ3.js} +2 -2
  79. package/dist/cdn/{XHEDLERR.js → HP7IJBB7.js} +2 -2
  80. package/dist/cdn/{GFGSRBD2.js → HULKC4IF.js} +2 -2
  81. package/dist/cdn/{A4BSXYBI.js → HVQFWTR5.js} +2 -2
  82. package/dist/cdn/{ACW67Q5G.js → HX5IWCPE.js} +2 -2
  83. package/dist/cdn/{6RWN4DUY.js → HYSRH3IH.js} +2 -2
  84. package/dist/cdn/{R5IDFIKD.js → I2ENEH6I.js} +2 -2
  85. package/dist/cdn/{LXDRUVKW.js → I52DONAE.js} +2 -2
  86. package/dist/cdn/{JN2BSP6G.js → I5CJ47QO.js} +2 -2
  87. package/dist/cdn/{2NCNXBCO.js → IMMVGOCW.js} +1 -1
  88. package/dist/cdn/{RJUNOQ67.js → IP27FNZD.js} +2 -2
  89. package/dist/cdn/{WAWSQO47.js → IQIMCRWU.js} +1 -1
  90. package/dist/cdn/{MF7VYHFR.js → ITEKBAP7.js} +2 -2
  91. package/dist/cdn/{VDWAYZPZ.js → J4SXB67D.js} +2 -2
  92. package/dist/cdn/{G54ZE57N.js → JGUVK274.js} +2 -2
  93. package/dist/cdn/{DV56YPAG.js → JXEKDWPB.js} +2 -2
  94. package/dist/cdn/{KYD45MUA.js → KGZREVW2.js} +2 -2
  95. package/dist/cdn/{EZMCFPNZ.js → L4WTVQBU.js} +2 -2
  96. package/dist/cdn/{BYRJVGII.js → LIRCYPIK.js} +2 -2
  97. package/dist/cdn/{VO2GXPU4.js → LJ3BG6G7.js} +4 -4
  98. package/dist/cdn/{OHNG7ZK4.js → LKSAJIL6.js} +2 -2
  99. package/dist/cdn/{3ZEY3GUA.js → LKW4K6ZV.js} +2 -2
  100. package/dist/cdn/{EE4TDMK2.js → MA76GDKJ.js} +2 -2
  101. package/dist/cdn/{7T7KGW47.js → MNIOSGYH.js} +2 -2
  102. package/dist/cdn/{MTKPDQ2Z.js → MS4P4IKG.js} +1 -1
  103. package/dist/cdn/{NYRGZY4T.js → MTAFS22C.js} +2 -2
  104. package/dist/cdn/{2FRLIQU7.js → MX2AFGMT.js} +2 -2
  105. package/dist/cdn/{KQYRV5PM.js → MZGUXZRK.js} +2 -2
  106. package/dist/cdn/{DIG7JUOP.js → N32MD2IW.js} +2 -2
  107. package/dist/cdn/{LB3JZDFH.js → NKL2GWDP.js} +2 -2
  108. package/dist/cdn/{HYQR7ADL.js → NLFGUCP5.js} +2 -2
  109. package/dist/cdn/NUTIVT7T.js +4 -0
  110. package/dist/cdn/{NUFCFRVZ.js → NWE4IMRQ.js} +1 -1
  111. package/dist/cdn/{2JTKMQJV.js → NXCYGG55.js} +2 -2
  112. package/dist/cdn/{LC5JIM6W.js → NXKKC7KX.js} +1 -1
  113. package/dist/cdn/{OU4XZNDM.js → NXLUVAFE.js} +2 -2
  114. package/dist/cdn/{IVXRPDLC.js → NXNB6OOK.js} +1 -1
  115. package/dist/cdn/{XGYZPB43.js → NYH2YOLM.js} +2 -2
  116. package/dist/cdn/{HFKGICVX.js → O4IEPQH6.js} +2 -2
  117. package/dist/cdn/{QRKAR46N.js → OATQT3I4.js} +2 -2
  118. package/dist/cdn/{HCEXZWTP.js → OE44KX23.js} +2 -2
  119. package/dist/cdn/{JAZ44YVW.js → OFACCOMI.js} +2 -2
  120. package/dist/cdn/{DQDX2DAA.js → OGXRF57E.js} +2 -2
  121. package/dist/cdn/{P7N6PUEA.js → OIVFQGIS.js} +2 -2
  122. package/dist/cdn/{SVNADTSJ.js → OKU26SYR.js} +2 -2
  123. package/dist/cdn/{G5AJPP7A.js → OXUL6KKR.js} +2 -2
  124. package/dist/cdn/{P7C2WOMX.js → PCC7DRKD.js} +2 -2
  125. package/dist/cdn/{5ZU63RY7.js → PGGJPZLU.js} +2 -2
  126. package/dist/cdn/{7FIOIRY2.js → PLZX7KKU.js} +2 -2
  127. package/dist/cdn/{6YHSQHQG.js → Q2YGNKSP.js} +2 -2
  128. package/dist/cdn/{BFTFGVOJ.js → Q3G4E6BP.js} +2 -2
  129. package/dist/cdn/{2IMNWE2K.js → QCOONURH.js} +2 -2
  130. package/dist/cdn/{KNPE6FRL.js → QNA7AWUF.js} +2 -2
  131. package/dist/cdn/{44DDGZRD.js → QPBIH32T.js} +2 -2
  132. package/dist/cdn/{TDTRBDTB.js → R4YARP3S.js} +2 -2
  133. package/dist/cdn/{LMIAB7BL.js → RBUKMYCI.js} +2 -2
  134. package/dist/cdn/{GQ7DC5FB.js → RFKZEZM4.js} +2 -2
  135. package/dist/cdn/{I64IYKKH.js → RKHIFJZU.js} +2 -2
  136. package/dist/cdn/{MIIWU5CL.js → RTYRKL2Z.js} +2 -2
  137. package/dist/cdn/{46AWIEWE.js → S2C5BT6G.js} +2 -2
  138. package/dist/cdn/{PARXPXOS.js → S7QW2GIV.js} +2 -2
  139. package/dist/cdn/{COXCRQEI.js → SBTNRJH4.js} +2 -2
  140. package/dist/cdn/{L7USUIEA.js → SGQFASRN.js} +1 -1
  141. package/dist/cdn/{PZCIXLID.js → SQ4AJ7I2.js} +2 -2
  142. package/dist/cdn/{YTMKHXRW.js → T3R7X7UQ.js} +2 -2
  143. package/dist/cdn/{OV4O6VKY.js → TAZIP23C.js} +2 -2
  144. package/dist/cdn/{HPMB6DB3.js → TI2SXKKD.js} +2 -2
  145. package/dist/cdn/{HRZVDZMG.js → TUGGISIT.js} +2 -2
  146. package/dist/cdn/{PUM3HXB5.js → TUPRRUWH.js} +2 -2
  147. package/dist/cdn/{LLPOW5G6.js → ULG2BR6O.js} +2 -2
  148. package/dist/cdn/{74LPYCC3.js → UNTE33BC.js} +2 -2
  149. package/dist/cdn/{PAN7MYXB.js → USMEGZQC.js} +2 -2
  150. package/dist/cdn/{PAYFUXL6.js → UYOAOW6W.js} +2 -2
  151. package/dist/cdn/{ZJT3YMFR.js → UZAJV6LD.js} +2 -2
  152. package/dist/cdn/{LYKZOCUC.js → V43ECDTA.js} +2 -2
  153. package/dist/cdn/{D4QBJAFY.js → V55GOYAN.js} +2 -2
  154. package/dist/cdn/{XIIDWJEC.js → VA3OLXFX.js} +2 -2
  155. package/dist/cdn/{5D5MJ6JB.js → VCJ7DX64.js} +2 -2
  156. package/dist/cdn/{ETQN6K3Z.js → VH7AHW3J.js} +2 -2
  157. package/dist/cdn/{FGTMTH4H.js → VH7G4YIT.js} +2 -2
  158. package/dist/cdn/{EZAP5ONH.js → VQP3IDET.js} +2 -2
  159. package/dist/cdn/{J5VNG2M5.js → VVIXKCCI.js} +2 -2
  160. package/dist/cdn/{C4SFDTPY.js → VXAYZ72E.js} +2 -2
  161. package/dist/cdn/{CAEGCVMC.js → VZ5P2GFE.js} +2 -2
  162. package/dist/cdn/{7CC7QUMQ.js → WD5X74MH.js} +2 -2
  163. package/dist/cdn/{NHX3SHEV.js → WDNAMGNM.js} +2 -2
  164. package/dist/cdn/{OPISWIIZ.js → WERW5R5B.js} +2 -2
  165. package/dist/cdn/{RSNAAU43.js → WOGMJMBK.js} +2 -2
  166. package/dist/cdn/{24MJI7S7.js → X4HBQOFJ.js} +2 -2
  167. package/dist/cdn/{EYEL3HCV.js → X74G76ZE.js} +2 -2
  168. package/dist/cdn/{L7DWE4OH.js → XA6ZLYSX.js} +2 -2
  169. package/dist/cdn/{4KRA4TOH.js → XIKGBRO3.js} +2 -2
  170. package/dist/cdn/{TUZHHMQL.js → XRSKTIQQ.js} +2 -2
  171. package/dist/cdn/{NNELYOBA.js → XW3DX2TS.js} +2 -2
  172. package/dist/cdn/{2C2HPKZ2.js → XWBVISIK.js} +2 -2
  173. package/dist/cdn/{2FJQJZ54.js → Y3YARJKZ.js} +2 -2
  174. package/dist/cdn/{6CXCUFBB.js → YBU5U7G6.js} +2 -2
  175. package/dist/cdn/{KJU6JG2H.js → YFDFWFSZ.js} +2 -2
  176. package/dist/cdn/{3VTJ57FO.js → YRHF56BK.js} +2 -2
  177. package/dist/cdn/{IWTJBTU7.js → Z2ZST7C2.js} +2 -2
  178. package/dist/cdn/{K73XLXBR.js → Z3TLBJKK.js} +2 -2
  179. package/dist/cdn/{NSUJDNWC.js → ZACH5REB.js} +2 -2
  180. package/dist/cdn/{6BR6PSFP.js → ZLYKKNCA.js} +2 -2
  181. package/dist/cdn/{F3ATFPLN.js → ZSHQ5G7Y.js} +2 -2
  182. package/dist/cdn/{HHGLENQO.js → ZTGCTWNR.js} +2 -2
  183. package/dist/cdn/index.js +2 -2
  184. package/dist/chart-rendering/common/interfaces.d.ts +9 -5
  185. package/dist/chart-rendering/next/index.d.ts +2 -2
  186. package/dist/chart-rendering/stable/index.d.ts +5 -3
  187. package/dist/chart-rendering/stable/utils/error-modal/index.d.ts +5 -7
  188. package/dist/chunks/action-bar-utils.js +5 -5
  189. package/dist/chunks/axis-model-wrapper.js +1 -1
  190. package/dist/chunks/bar-chart-model.js +1 -1
  191. package/dist/chunks/bar-chart-series.js +1 -1
  192. package/dist/chunks/baseline-stacking.js +1 -1
  193. package/dist/chunks/bg_BG.js +1 -1
  194. package/dist/chunks/bg_BG2.js +1 -1
  195. package/dist/chunks/box-plot-data.js +2 -2
  196. package/dist/chunks/box-plot-model.js +1 -1
  197. package/dist/chunks/chart-ui-utils.js +1 -1
  198. package/dist/chunks/chart-ui-utils2.js +1 -1
  199. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  200. package/dist/chunks/common.js +1 -1
  201. package/dist/chunks/config-update.js +696 -704
  202. package/dist/chunks/data.js +2 -2
  203. package/dist/chunks/default.js +1 -1
  204. package/dist/chunks/gauge-model.js +1 -1
  205. package/dist/chunks/heat-chart-model.js +3 -3
  206. package/dist/chunks/histogram-data.js +2 -2
  207. package/dist/chunks/histogram-model.js +1 -1
  208. package/dist/chunks/index.js +1 -1
  209. package/dist/chunks/index2.js +1 -1
  210. package/dist/chunks/index3.js +1 -1
  211. package/dist/chunks/index4.js +1 -1
  212. package/dist/chunks/index5.js +1 -1
  213. package/dist/chunks/interfaces.js +23 -24
  214. package/dist/chunks/interfaces2.js +1 -1
  215. package/dist/chunks/interfaces3.js +1 -1
  216. package/dist/chunks/interfaces4.js +1 -1
  217. package/dist/chunks/line-chart-model.js +1 -1
  218. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  219. package/dist/chunks/model-with-data-labels.js +1 -1
  220. package/dist/chunks/model-with-multi-axes.js +1 -1
  221. package/dist/chunks/model-with-rotation.js +1 -1
  222. package/dist/chunks/pie-chart-data.js +2 -2
  223. package/dist/chunks/pie-chart-model.js +9 -9
  224. package/dist/chunks/popover-ui-utils.js +1 -1
  225. package/dist/chunks/radar-chart-model.js +1 -1
  226. package/dist/chunks/resource.js +1 -1
  227. package/dist/chunks/rest-js-object-literals.js +1 -1
  228. package/dist/chunks/runtime.js +1 -1
  229. package/dist/chunks/scatterplot-model.js +2 -2
  230. package/dist/chunks/serial-chart-model.js +2 -2
  231. package/dist/chunks/series-types.js +1 -1
  232. package/dist/chunks/series.js +1 -1
  233. package/dist/chunks/sk_SK.js +1 -1
  234. package/dist/chunks/store.js +1 -1
  235. package/dist/chunks/type-guards.js +1 -1
  236. package/dist/chunks/useT9n.js +1 -1
  237. package/dist/chunks/web-component-utils.js +1 -1
  238. package/dist/components/arcgis-chart/customElement.d.ts +7 -7
  239. package/dist/components/arcgis-chart/customElement.js +6581 -6512
  240. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-create-flow/customElement.js +2 -2
  258. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
  263. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  283. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  284. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  285. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  286. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  287. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  288. package/dist/docs/api.json +2 -2
  289. package/dist/docs/docs.json +2 -2
  290. package/dist/docs/web-types.json +1 -1
  291. package/dist/index.js +2 -2
  292. package/dist/loader.js +1 -1
  293. package/dist/model/heat-chart-model/heat-chart-model.d.ts +3 -8
  294. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +3 -3
  295. package/dist/model.js +1 -1
  296. package/dist/utils/chart-config/validator/index.d.ts +10 -10
  297. package/dist/utils/components/config-update.d.ts +11 -3
  298. package/dist/utils/layer/interfaces.d.ts +1 -0
  299. package/package.json +3 -3
  300. package/dist/cdn/AA25GRSO.js +0 -4
  301. package/dist/cdn/CMQ4THXL.js +0 -4
  302. package/dist/cdn/VNZ4NKS6.js +0 -4
@@ -2,47 +2,46 @@ import { W as S, d as Ii, u as W, m as re, b as _, g as me, t as xe, e as ke, a
2
2
  import "@arcgis/toolkit/intl";
3
3
  import { cloneDeep as Fe, isArray as vt, isEmpty as Ri, isEqual as Le, sortBy as Ot } from "lodash-es";
4
4
  import { extent as ki, mean as ji, max as Wi, min as Qi, sum as Hi, rollup as zi } from "d3-array";
5
- import { b6 as pt, cA as h, p as E, c9 as Gt, c5 as z, a6 as Ut, s as Gi, E as _t, d as ne, a as he, U as Y, cm as lt, b4 as $e, I as se, r as oe, q as Ne, bd as We, aV as Re, a2 as nt, T as Ce, cg as ht, ck as ee, l as ge, cr as Ui, ca as qt, cc as Yt, P as V, k as K, G as U, a4 as k, cv as Kt, D as $, bV as _i, J as Nt, bA as ye, bI as Q, F as Yi, i as we, A as je, cd as Et, aW as Ue, m as Tt, ba as Te, c1 as Qe, a3 as Jt, cD as Ki, B as Xt, cf as Se, bz as _e, bM as Ji, b$ as Xi, b7 as Vt, S as Zi, bk as Zt, bx as ea, bl as ta, bZ as ia, b_ as ei, bt as aa, cl as mt, c3 as na, b8 as ra, bu as sa, V as oa, n as be, bO as ti, bB as la, bo as ii, bC as ca, bD as ua, cC as ae, R as da, Q as It, bE as ai, bW as fa, bw as ma, bi as ni, bv as ga, by as ya, bg as pa, bj as ha, Y as ri, b9 as Sa } from "./interfaces.js";
5
+ import { b6 as pt, cA as h, p as E, c9 as Gt, c5 as z, a6 as Ut, s as Gi, E as _t, d as ne, a as he, U as Y, cm as lt, b4 as $e, I as se, r as oe, q as Ne, bd as We, aV as Re, a2 as nt, T as Ce, cg as ht, ck as ee, l as ge, cr as Ui, ca as qt, cc as Yt, P as V, k as K, G as U, a4 as k, cv as Kt, D as $, bV as _i, J as Nt, bA as ye, bI as Q, F as Yi, i as we, A as je, cd as Et, aW as Ue, m as Tt, ba as Te, c1 as Qe, a3 as Jt, cD as Ki, B as Xt, cf as Se, bz as _e, bM as Ji, b$ as Xi, b7 as Vt, S as Zi, bk as Zt, bx as ea, bl as ta, bZ as ia, b_ as ei, bt as aa, cl as mt, c3 as na, b8 as ra, bu as sa, V as oa, n as be, bO as ti, bB as la, bo as ii, bC as ca, bD as ua, cC as ae, R as da, Q as It, bE as ai, bW as fa, bw as ma, bi as ni, bv as ga, by as ya, bg as pa, bj as ha, Y as ri } from "./interfaces.js";
6
6
  import "@arcgis/core/geometry/support/jsonUtils.js";
7
7
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
8
8
  import "@arcgis/core/rest/support/Query.js";
9
9
  import "@arcgis/core/rest/support/StatisticDefinition.js";
10
10
  import "@arcgis/core/time/TimeExtent.js";
11
11
  import "@arcgis/core/core/promiseUtils.js";
12
- import Fa from "@arcgis/core/request.js";
12
+ import Sa from "@arcgis/core/request.js";
13
13
  import "./runtime.js";
14
14
  import "@arcgis/toolkit/dom";
15
- import { b as ba, R as rt, a as Ye, j as ie } from "./rest-js-object-literals.js";
15
+ import { b as Fa, R as rt, a as Ye, j as ie } from "./rest-js-object-literals.js";
16
16
  import { C as b } from "./interfaces4.js";
17
- import * as xa from "@arcgis/core/renderers/support/jsonUtils.js";
17
+ import * as ba from "@arcgis/core/renderers/support/jsonUtils.js";
18
18
  import * as gt from "@arcgis/core/symbols/support/symbolUtils.js";
19
- import Ca from "@arcgis/core/Graphic.js";
19
+ import xa from "@arcgis/core/Graphic.js";
20
20
  import { u as yt } from "./index2.js";
21
21
  import { substitute as de } from "@arcgis/core/intl.js";
22
- import { d as Ba } from "./index3.js";
22
+ import { d as Ca } from "./index3.js";
23
23
  import $t from "@arcgis/core/layers/support/FeatureFilter.js";
24
- import va from "@arcgis/core/smartMapping/statistics/histogram.js";
24
+ import Ba from "@arcgis/core/smartMapping/statistics/histogram.js";
25
25
  import Rt from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
26
- import { linearRegression as Na, linearRegressionLine as Ta, rSquared as Aa } from "simple-statistics";
27
- import { c as Pa } from "./index.js";
28
- import { h as La } from "./index4.js";
26
+ import { linearRegression as va, linearRegressionLine as Na, rSquared as Ta } from "simple-statistics";
27
+ import { h as Aa } from "./index4.js";
29
28
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
30
29
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
31
- v5.0.0-next.14 */
32
- async function Ma(i, e) {
30
+ v5.0.0-next.15 */
31
+ async function Pa(i, e) {
33
32
  const t = e.errors[i];
34
33
  throw new pt(e.modalHeaders.error, t ?? e.errors.simpleError);
35
34
  }
36
35
  function pe(i) {
37
36
  return i.axes?.[0]?.valueFormat?.type;
38
37
  }
39
- function oo(i) {
38
+ function no(i) {
40
39
  return i.intlOptions;
41
40
  }
42
41
  function J(i) {
43
42
  return i?.type === S.NumberAxisFormat;
44
43
  }
45
- function lo(i) {
44
+ function ro(i) {
46
45
  return J(i) && i.intlOptions?.style === "percent";
47
46
  }
48
47
  function fe(i) {
@@ -51,73 +50,73 @@ function fe(i) {
51
50
  function Pe(i) {
52
51
  return i?.type === S.DateAxisFormat;
53
52
  }
54
- function co(i) {
53
+ function so(i) {
55
54
  const { oldConfig: e, newConfig: t, rotationChanged: a } = i;
56
55
  return a ? [!0, !0] : [
57
56
  e.horizontalAxisLabelsBehavior !== t.horizontalAxisLabelsBehavior,
58
57
  e.verticalAxisLabelsBehavior !== t.verticalAxisLabelsBehavior
59
58
  ];
60
59
  }
61
- function wa(i) {
60
+ function La(i) {
62
61
  return J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
63
62
  }
64
- function Da(i) {
63
+ function Ma(i) {
65
64
  return J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
66
65
  }
67
- function Oa(i) {
66
+ function wa(i) {
68
67
  return (fe(i?.[0]?.valueFormat) || Pe(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
69
68
  }
70
- function qa(i) {
69
+ function Da(i) {
71
70
  return fe(i?.[0]?.valueFormat) && fe(i?.[1]?.valueFormat) || Pe(i?.[0]?.valueFormat) && fe(i?.[1]?.valueFormat) || Pe(i?.[0]?.valueFormat) && Pe(i?.[1]?.valueFormat);
72
71
  }
73
- function Ea(i) {
72
+ function Oa(i) {
74
73
  return (fe(i?.[0]?.valueFormat) || Pe(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat);
75
74
  }
76
- function Va(i) {
75
+ function qa(i) {
77
76
  return J(i?.[0]?.valueFormat) && J(i?.[1]?.valueFormat);
78
77
  }
79
- function Ia(i) {
78
+ function Ea(i) {
80
79
  return J(i?.[0]?.valueFormat) && J(i?.[1]?.valueFormat);
81
80
  }
82
- function $a(i) {
81
+ function Va(i) {
83
82
  return J(i?.[0]?.valueFormat);
84
83
  }
85
- async function uo(i) {
84
+ async function oo(i) {
86
85
  const { chartType: e, axesConfig: t, errorStrings: a } = i;
87
86
  let n, r;
88
87
  switch (e) {
89
88
  case S.GaugeSeries:
90
- n = $a, r = "invalidValueFormatForGauge";
89
+ n = Va, r = "invalidValueFormatForGauge";
91
90
  break;
92
91
  case S.ScatterSeries:
93
- n = Va, r = "invalidValueFormatForScatterplot";
92
+ n = qa, r = "invalidValueFormatForScatterplot";
94
93
  break;
95
94
  case S.HistogramSeries:
96
- n = Ia, r = "invalidValueFormatForHistogram";
95
+ n = Ea, r = "invalidValueFormatForHistogram";
97
96
  break;
98
97
  case S.LineSeries:
99
- n = wa, r = "invalidValueFormatForLineChart";
98
+ n = La, r = "invalidValueFormatForLineChart";
100
99
  break;
101
100
  case S.BarSeries:
102
- n = Da, r = "invalidValueFormatForBarChart";
101
+ n = Ma, r = "invalidValueFormatForBarChart";
103
102
  break;
104
103
  case S.ComboLineAndBarSeries:
105
- n = Ea, r = "invalidValueFormatForComboBarLineChart";
104
+ n = Oa, r = "invalidValueFormatForComboBarLineChart";
106
105
  break;
107
106
  case S.BoxPlotSeries:
108
- n = Oa, r = "invalidValueFormatForBoxPlot";
107
+ n = wa, r = "invalidValueFormatForBoxPlot";
109
108
  break;
110
109
  case S.HeatSeries:
111
- n = qa, r = "invalidValueFormatForHeatChart";
110
+ n = Da, r = "invalidValueFormatForHeatChart";
112
111
  break;
113
112
  }
114
- n !== void 0 && r !== void 0 && (n(t) || await Ma(r, a));
113
+ n !== void 0 && r !== void 0 && (n(t) || await Pa(r, a));
115
114
  }
116
- function Ra(i) {
115
+ function Ia(i) {
117
116
  const { isXAxis: e, chartType: t, valueFormat: a, isAxisForHistogramOverlaySeries: n } = i;
118
117
  return e && (fe(a) || t === S.HistogramSeries && !n || t === S.BarSeries && J(a));
119
118
  }
120
- function fo(i) {
119
+ function lo(i) {
121
120
  const { chartConfig: e, isSecondValueAxis: t, seriesIds: a } = i;
122
121
  let n = a;
123
122
  return e.axes?.length === 3 && (n = e.series.map((r) => {
@@ -189,7 +188,7 @@ const si = {
189
188
  emptyCells: {
190
189
  symbol: {
191
190
  type: rt.SFS,
192
- style: ba.Solid,
191
+ style: Fa.Solid,
193
192
  color: b.grayColor
194
193
  },
195
194
  text: "null"
@@ -200,13 +199,13 @@ const si = {
200
199
  },
201
200
  heatChartFirstDayOfWeek: 7
202
201
  };
203
- function ka(i, e) {
202
+ function $a(i, e) {
204
203
  return i[0].dataTransformationType !== e[0].dataTransformationType;
205
204
  }
206
- function ja(i, e) {
205
+ function Ra(i, e) {
207
206
  return i[0].binCount !== e[0].binCount;
208
207
  }
209
- function mo(i, e) {
208
+ function co(i, e) {
210
209
  let t = !0;
211
210
  const a = W(i?.series), n = W(e?.series);
212
211
  return a !== n && (t = a === S.ComboLineAndBarSeries && (n === S.BarSeries || n === S.LineSeries) || n === S.ComboLineAndBarSeries && (a === S.BarSeries || a === S.LineSeries) || a === S.BarSeries && n === S.LineSeries || a === S.LineSeries && n === S.BarSeries), t;
@@ -214,14 +213,14 @@ function mo(i, e) {
214
213
  function St(i, e) {
215
214
  return i !== void 0 && e !== void 0 && e > 0;
216
215
  }
217
- function go(i) {
216
+ function uo(i) {
218
217
  const { chartConfig: e, queryObject: t, chartData: a } = i;
219
218
  let n = [];
220
219
  const r = E(e.series), s = Gt(e), o = z(t), c = e.chartRenderer ?? o?.renderer?.toJSON();
221
220
  return n = e.series.map((l, u) => {
222
221
  const d = W([l]);
223
222
  let f;
224
- return (d === S.BarSeries || d === S.LineSeries || d === S.RadarSeries) && (l.type === S.BarSeries ? f = l.fillSymbol?.color : (l.type === S.RadarSeries || l.type === S.LineSeries) && (f = l.lineSymbol?.color), s ? f = Ps({
223
+ return (d === S.BarSeries || d === S.LineSeries || d === S.RadarSeries) && (l.type === S.BarSeries ? f = l.fillSymbol?.color : (l.type === S.RadarSeries || l.type === S.LineSeries) && (f = l.lineSymbol?.color), s ? f = Ts({
225
224
  dataItem: a[0],
226
225
  seriesConfig: l,
227
226
  chartSubType: r,
@@ -233,20 +232,20 @@ function go(i) {
233
232
  function Ft(i) {
234
233
  return i !== h.PieNoAggregation && i !== h.BarAndLineNoAggregation && i !== h.BarAndLineSplitByNoAggregation;
235
234
  }
236
- function Wa(i) {
235
+ function ka(i) {
237
236
  const e = E(i.series);
238
237
  return e === h.BarAndLineFromFields || e === h.PieFromFields || e === h.BoxPlotMonoField || e === h.BoxPlotMultiFields || e === h.BoxPlotMonoFieldAndSplitBy || e === h.BoxPlotMultiFieldsAndSplitBy;
239
238
  }
240
239
  function He(i) {
241
240
  return i && "showMean" in i && typeof i.showMean == "boolean" ? i.showMean : !1;
242
241
  }
243
- function Qa(i) {
242
+ function ja(i) {
244
243
  return i && "showOutliers" in i && typeof i.showOutliers == "boolean" ? i.showOutliers : void 0;
245
244
  }
246
- function yo() {
245
+ function fo() {
247
246
  return `{name} {${b.originalCategoryValue}} {dateY} {valueX} {dateX} {valueY}`;
248
247
  }
249
- function Ha(i) {
248
+ function Wa(i) {
250
249
  let e;
251
250
  return i?.[0] !== void 0 && (e = i.reduce(
252
251
  (t, a) => ({
@@ -272,12 +271,12 @@ function ze(i) {
272
271
  let c = e;
273
272
  const { originalCategoryValue: l, originalDateValue: u, typeOrDomainIdValue: d } = b;
274
273
  if (t !== void 0) {
275
- const f = s ? xs(t) : void 0;
274
+ const f = s ? Fs(t) : void 0;
276
275
  a !== void 0 && t[a] !== void 0 ? c = t[a] : f !== void 0 ? c = f : n === !1 && t[d] !== void 0 ? c = t[d] : t[u] !== void 0 ? c = t[u] : t[l] !== void 0 ? c = t[l] : t[ne] !== void 0 && (c = t[ne]), !r && c === null && (c = "null", o?.series?.[0].type === S.BarSeries && (c = o.series?.[0]?.nullCategory?.text ?? si.nullCategory?.text ?? c));
277
276
  }
278
277
  return c;
279
278
  }
280
- function za(i) {
279
+ function Qa(i) {
281
280
  return i?.[b.typeOrDomainIdValue] !== void 0 ? i?.[b.typeOrDomainIdValue] : i?.[b.originalCategoryValue];
282
281
  }
283
282
  function Ge(i) {
@@ -309,7 +308,7 @@ function Ge(i) {
309
308
  });
310
309
  }
311
310
  }
312
- function Ga(i) {
311
+ function Ha(i) {
313
312
  const { arrayToSort: e, orderBy: t, sortingField: a, fieldList: n, isByFieldsChart: r, preferLabel: s } = i;
314
313
  e !== void 0 && e.length > 1 && !ee(a) && t !== void 0 && t.length > 0 && e.sort((o, c) => {
315
314
  let l = o[a];
@@ -357,7 +356,7 @@ function bt(i) {
357
356
  const a = lt(e);
358
357
  return a.isInItem && delete e[a.expr ?? ""], e;
359
358
  }
360
- function Ua(i, e) {
359
+ function za(i, e) {
361
360
  let t = i;
362
361
  const a = W(e);
363
362
  let n = _t(t);
@@ -386,7 +385,7 @@ function Ua(i, e) {
386
385
  function ci(i) {
387
386
  const { data: e, seriesConfig: t } = i;
388
387
  let a = Fe(e);
389
- return a !== void 0 && (a = li(a, t), a = Ua(a, t), a = oi(a, t)), a;
388
+ return a !== void 0 && (a = li(a, t), a = za(a, t), a = oi(a, t)), a;
390
389
  }
391
390
  function ui(i) {
392
391
  const { statsMap: e, dataContext: t, chartLimits: a } = i;
@@ -397,7 +396,7 @@ function ui(i) {
397
396
  } else t !== void 0 && (n = b.scatterplotAggregationFields.dataContextXMinField in t);
398
397
  return n;
399
398
  }
400
- function _a(i) {
399
+ function Ga(i) {
401
400
  let e = !0;
402
401
  const t = W(i.series);
403
402
  if (t === S.BarSeries || t === S.LineSeries || t === S.ComboLineAndBarSeries) {
@@ -406,10 +405,10 @@ function _a(i) {
406
405
  }
407
406
  return e;
408
407
  }
409
- function Ya(i) {
408
+ function Ua(i) {
410
409
  return E(i.series) !== h.PieNoAggregation;
411
410
  }
412
- function Ka(i) {
411
+ function _a(i) {
413
412
  const { dataContext: e, chartConfig: t, chartLimits: a } = i;
414
413
  let n = !0;
415
414
  if (t !== void 0)
@@ -417,18 +416,18 @@ function Ka(i) {
417
416
  case S.BarSeries:
418
417
  case S.LineSeries:
419
418
  case S.ComboLineAndBarSeries:
420
- n = _a(t);
419
+ n = Ga(t);
421
420
  break;
422
421
  case S.ScatterSeries:
423
422
  n = ui({ dataContext: e, chartLimits: a });
424
423
  break;
425
424
  case S.PieSeries:
426
- n = Ya(t);
425
+ n = Ua(t);
427
426
  break;
428
427
  }
429
428
  return n;
430
429
  }
431
- function Ja(i, e) {
430
+ function Ya(i, e) {
432
431
  let t = i;
433
432
  switch (e) {
434
433
  case _.Log:
@@ -458,13 +457,13 @@ function st(i) {
458
457
  }
459
458
  }), r;
460
459
  }
461
- function Xa(i, e) {
460
+ function Ka(i, e) {
462
461
  return JSON.stringify(i.series[0]?.valueConversion) !== JSON.stringify(e.series[0]?.valueConversion);
463
462
  }
464
- function Za(i, e) {
463
+ function Ja(i, e) {
465
464
  return JSON.stringify(i.series[0]?.xTemporalBinning) !== JSON.stringify(e.series[0]?.xTemporalBinning) || JSON.stringify(i.series[0]?.yTemporalBinning) !== JSON.stringify(e.series[0]?.yTemporalBinning) || (i.firstDayOfWeek ?? 7) !== (e.firstDayOfWeek ?? 7) || i.outTimeZone !== e.outTimeZone || (i.nullPolicy ?? re.Null) !== (e.nullPolicy ?? re.Null);
466
465
  }
467
- function en(i) {
466
+ function Xa(i) {
468
467
  const { oldConfig: e, newConfig: t, fieldList: a } = i, n = e.series[0], r = t.series[0];
469
468
  let s = !1;
470
469
  if (n.type === S.ScatterSeries && r.type === S.ScatterSeries && a && a.length > 0) {
@@ -476,16 +475,16 @@ function en(i) {
476
475
  }
477
476
  return s;
478
477
  }
479
- function po(i, e) {
478
+ function mo(i, e) {
480
479
  return (i.colorMatch ?? !1) !== (e.colorMatch ?? !1);
481
480
  }
482
- function ho(i, e) {
481
+ function go(i, e) {
483
482
  return (i.legend?.visible ?? !1) !== (e.legend?.visible ?? !1) || JSON.stringify(i.legend?.body) !== JSON.stringify(e.legend?.body);
484
483
  }
485
- function So(i, e) {
484
+ function yo(i, e) {
486
485
  return JSON.stringify(i.series[0]?.gradientRules) !== JSON.stringify(e.series[0]?.gradientRules);
487
486
  }
488
- function Fo(i) {
487
+ function po(i) {
489
488
  const { oldConfig: e, newConfig: t } = i;
490
489
  let a = !1;
491
490
  const n = e.series[0], r = t.series[0], s = W(e.series), o = W(t.series);
@@ -504,7 +503,7 @@ function Fo(i) {
504
503
  function kt(i, e) {
505
504
  return e.length !== i.length;
506
505
  }
507
- function tn(i) {
506
+ function Za(i) {
508
507
  const { oldSeries: e, newConfig: t, oldTimeIntervalInfo: a, setTimeBinningInfoWhenNotProvided: n } = i, r = t.series?.[0];
509
508
  let s = !1, o = !1, c = !1;
510
509
  if (oe(r) && Ne({
@@ -517,7 +516,7 @@ function tn(i) {
517
516
  }
518
517
  return { timeBinningChanged: s, timeIntervalUnitChanged: o, newTimeBinningWillBeCalculated: c };
519
518
  }
520
- function an(i) {
519
+ function en(i) {
521
520
  const { oldConfig: e, newConfig: t, behaviorAfterLimit: a } = i, n = e.series, r = t.series;
522
521
  let s = !1, o = !1;
523
522
  (a === $e.RenderUpToTheLimit || e.orderOptions?.data === void 0 || t.orderOptions?.data === void 0) && (o = !Le(e.orderOptions?.orderByFields, t.orderOptions?.orderByFields));
@@ -530,7 +529,7 @@ function an(i) {
530
529
  );
531
530
  return s = !Le(c, l), s || o;
532
531
  }
533
- function nn(i, e) {
532
+ function tn(i, e) {
534
533
  let t = !1;
535
534
  if (e[0].x !== i[0].x)
536
535
  t = !0;
@@ -543,7 +542,7 @@ function nn(i, e) {
543
542
  }
544
543
  return t;
545
544
  }
546
- function rn(i, e) {
545
+ function an(i, e) {
547
546
  return (i ?? !1) !== (e?.filterBySelection ?? !1);
548
547
  }
549
548
  function di(i) {
@@ -551,27 +550,27 @@ function di(i) {
551
550
  let a = !1;
552
551
  return t?.filterBySelection === !0 && (a = e?.length !== t?.selectionData?.selectionOIDs?.length || !Le(e, t?.selectionData?.selectionOIDs)), a;
553
552
  }
554
- function sn(i, e) {
553
+ function nn(i, e) {
555
554
  return oe(i.series[0]) && oe(e.series[0]) && (i.series[0].binTemporalData ?? b.binTemporalData) !== (e.series[0].binTemporalData ?? b.binTemporalData);
556
555
  }
557
- function bo(i, e) {
556
+ function ho(i, e) {
558
557
  return i?.length !== e?.length || i?.some((t, a) => {
559
558
  const n = ge({ where: t?.query?.where }), r = ge({ where: e?.[a]?.query?.where });
560
559
  return n !== r;
561
560
  });
562
561
  }
563
- function xo(i, e) {
562
+ function So(i, e) {
564
563
  const t = se(i), a = se(e);
565
564
  return JSON.stringify(t) !== JSON.stringify(a);
566
565
  }
567
- function on(i, e) {
566
+ function rn(i, e) {
568
567
  return He(i) !== He(e);
569
568
  }
570
- function ln(i, e) {
569
+ function sn(i, e) {
571
570
  const t = i.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, n = E(e.series), r = n === h.BarAndLineNoAggregation || n === h.BarAndLineSplitByNoAggregation, s = t === S.DateAxisFormat && a === S.NumberAxisFormat, o = t === S.NumberAxisFormat && a === S.DateAxisFormat;
572
571
  return t !== a && (r || s || o);
573
572
  }
574
- function Co(i) {
573
+ function Fo(i) {
575
574
  const {
576
575
  forceDataUpdate: e,
577
576
  oldConfig: t,
@@ -607,19 +606,19 @@ function Co(i) {
607
606
  tooltipFieldsChanged: !1
608
607
  }
609
608
  };
610
- switch (y.common.queryChanged = an({
609
+ switch (y.common.queryChanged = en({
611
610
  oldConfig: t,
612
611
  newConfig: a,
613
612
  behaviorAfterLimit: n?.chartLimits?.behaviorAfterLimit
614
- }), y.common.configFiltersChanged = Gi(t, a), y.common.xOrYChanged = nn(u, l), y.common.filterBySelectionChanged = rn(r, n), y.common.dataForFilterBySelectionChanged = di({
613
+ }), y.common.configFiltersChanged = Gi(t, a), y.common.xOrYChanged = tn(u, l), y.common.filterBySelectionChanged = an(r, n), y.common.dataForFilterBySelectionChanged = di({
615
614
  currentSelectionOIDs: o,
616
615
  options: n
617
- }), y.common.binTemporalDataChanged = sn(t, a), y.common.valueFormatChangeRequiresNewData = ln(
616
+ }), y.common.binTemporalDataChanged = nn(t, a), y.common.valueFormatChangeRequiresNewData = sn(
618
617
  t,
619
618
  a
620
619
  ), y.common = {
621
620
  ...y.common,
622
- ...tn({
621
+ ...Za({
623
622
  oldSeries: u,
624
623
  newConfig: a,
625
624
  oldTimeIntervalInfo: s,
@@ -627,7 +626,7 @@ function Co(i) {
627
626
  })
628
627
  }, m = Object.values(y.common).some((p) => p), d) {
629
628
  case S.HistogramSeries:
630
- y.histogram.dataPropsChanged = ja(u, l) || ka(u, l);
629
+ y.histogram.dataPropsChanged = Ra(u, l) || $a(u, l);
631
630
  break;
632
631
  case S.LineSeries:
633
632
  case S.BarSeries:
@@ -635,16 +634,16 @@ function Co(i) {
635
634
  y.common.numberOfSeriesChanged = kt(u, l);
636
635
  break;
637
636
  case S.BoxPlotSeries:
638
- y.common.numberOfSeriesChanged = kt(u, l), y.boxPlot.showMeanChanged = on(t, a);
637
+ y.common.numberOfSeriesChanged = kt(u, l), y.boxPlot.showMeanChanged = rn(t, a);
639
638
  break;
640
639
  case S.GaugeSeries:
641
- y.gauge.valueConversionChanged = Xa(t, a);
640
+ y.gauge.valueConversionChanged = Ka(t, a);
642
641
  break;
643
642
  case S.HeatSeries:
644
- y.heatChart.binningChanged = Za(t, a);
643
+ y.heatChart.binningChanged = Ja(t, a);
645
644
  break;
646
645
  case S.ScatterSeries:
647
- y.scatterPlot.tooltipFieldsChanged = en({
646
+ y.scatterPlot.tooltipFieldsChanged = Xa({
648
647
  oldConfig: t,
649
648
  newConfig: a,
650
649
  fieldList: c
@@ -653,10 +652,10 @@ function Co(i) {
653
652
  }
654
653
  return (y.gauge.valueConversionChanged || y.histogram.dataPropsChanged || y.common.numberOfSeriesChanged || y.common.binTemporalDataChanged || y.boxPlot.showMeanChanged || y.heatChart.binningChanged || y.scatterPlot.tooltipFieldsChanged) && (g = !0), f = e === !0 || m || g, { dataUpdateNeeded: f, updateNeededDetails: y };
655
654
  }
656
- function Bo(i) {
655
+ function bo(i) {
657
656
  return i.common.timeIntervalUnitChanged || i.common.newTimeBinningWillBeCalculated || i.common.dataForFilterBySelectionChanged || i.common.filterBySelectionChanged || i.common.configFiltersChanged || i.common.numberOfSeriesChanged || i.common.queryChanged || i.common.xOrYChanged;
658
657
  }
659
- function cn(i, e) {
658
+ function on(i, e) {
660
659
  let t = !0;
661
660
  if (i !== void 0 && i.length > 1 && !ee(e)) {
662
661
  let a = 0, n = 0, r = 0;
@@ -690,8 +689,8 @@ function fi(i, e) {
690
689
  maxLineThreePlusSeriesCountTotal: g,
691
690
  maxPieChartSliceCountTotal: y,
692
691
  maxGaugeByFeaturesLimit: p
693
- } = Re(e), x = W(i.series), F = i.series.length === 0 ? 1 : i.series.length, C = E(i.series);
694
- switch (x) {
692
+ } = Re(e), C = W(i.series), F = i.series.length === 0 ? 1 : i.series.length, x = E(i.series);
693
+ switch (C) {
695
694
  case S.ComboLineAndBarSeries:
696
695
  case S.BarSeries:
697
696
  F <= a && (F === 1 ? t = n : F === 2 ? t = it({
@@ -727,7 +726,7 @@ function fi(i, e) {
727
726
  // handled through the number of bins
728
727
  case S.BoxPlotSeries:
729
728
  }
730
- return (C === h.BarAndLineNoAggregation || C === h.BarAndLineMultiFields) && t !== void 0 && (t = Math.ceil(t / F)), t;
729
+ return (x === h.BarAndLineNoAggregation || x === h.BarAndLineMultiFields) && t !== void 0 && (t = Math.ceil(t / F)), t;
731
730
  }
732
731
  function jt(i, e) {
733
732
  let t = i;
@@ -737,7 +736,7 @@ function jt(i, e) {
737
736
  }
738
737
  return t;
739
738
  }
740
- function un(i) {
739
+ function ln(i) {
741
740
  let e = !1;
742
741
  if (i !== void 0) {
743
742
  const t = i.replace(" ", ""), a = /^%(0*100{1,1}\.?((?:\.)0*)?$)|(^%0*\d{0,2}\.?((?:\.)\d*)?)$/u, n = /^(0*100{1,1}\.?((?:\.)0*)?%$)|(^0*\d{0,2}\.?((?:\.)\d*)?%)$/u;
@@ -745,9 +744,9 @@ function un(i) {
745
744
  }
746
745
  return e;
747
746
  }
748
- function vo(i) {
747
+ function xo(i) {
749
748
  let e;
750
- if (un(i)) {
749
+ if (ln(i)) {
751
750
  const t = /%(\d{1,3}(.\d+)?)$/u, a = /(\d{1,3}(.\d+)?)%$/u, n = i.replace(" ", ""), r = t.exec(n)?.[1] ?? a.exec(n)?.[1];
752
751
  r !== void 0 && (e = Number(r));
753
752
  }
@@ -774,7 +773,7 @@ function ce(i) {
774
773
  bubbles: !0
775
774
  };
776
775
  }
777
- function No(i) {
776
+ function Co(i) {
778
777
  const { data: e, seriesConfig: t, htmlContainer: a } = i;
779
778
  if (a && e) {
780
779
  const n = ci({ data: e, seriesConfig: t });
@@ -783,25 +782,25 @@ function No(i) {
783
782
  );
784
783
  }
785
784
  }
786
- function To(i) {
785
+ function Bo(i) {
787
786
  const { data: e, chartConfig: t, htmlContainer: a } = i;
788
787
  if (a && e) {
789
- const n = gs(e, t);
788
+ const n = fs(e, t);
790
789
  a.dispatchEvent(new window.CustomEvent(le.DataFetchComplete, ce(n)));
791
790
  }
792
791
  }
793
- function Ao(i, e) {
792
+ function vo(i, e) {
794
793
  e && e.dispatchEvent(
795
794
  new window.CustomEvent(le.LegendItemVisibilityChange, ce(i))
796
795
  );
797
796
  }
798
- function Po(i, e) {
797
+ function No(i, e) {
799
798
  e && e.dispatchEvent(new window.CustomEvent(le.UpdateComplete, ce(i)));
800
799
  }
801
- function Lo(i) {
800
+ function To(i) {
802
801
  i && i.dispatchEvent(new window.CustomEvent(le.RenderingComplete, ce()));
803
802
  }
804
- function Mo(i) {
803
+ function Ao(i) {
805
804
  const { data: e, seriesConfig: t, htmlContainer: a } = i;
806
805
  if (a) {
807
806
  const n = e;
@@ -809,10 +808,10 @@ function Mo(i) {
809
808
  r && (r = li(r, t), r = r.map(bt), r = oi(r, t), n.selectionItems = r), a.dispatchEvent(new window.CustomEvent(le.SelectionComplete, ce(n)));
810
809
  }
811
810
  }
812
- function wo(i) {
811
+ function Po(i) {
813
812
  i && i.dispatchEvent(new window.CustomEvent(le.TooManySelectedElements, ce()));
814
813
  }
815
- function Do(i) {
814
+ function Lo(i) {
816
815
  const { data: e, htmlContainer: t, chartId: a, colorMatchApplied: n } = i;
817
816
  t && t.dispatchEvent(
818
817
  new window.CustomEvent(
@@ -825,64 +824,64 @@ function Do(i) {
825
824
  )
826
825
  );
827
826
  }
828
- function Oo(i, e) {
827
+ function Mo(i, e) {
829
828
  e && e.dispatchEvent(new window.CustomEvent(le.AxesMinMaxChange, ce(i)));
830
829
  }
831
- function qo(i, e) {
830
+ function wo(i, e) {
832
831
  e && e.dispatchEvent(new window.CustomEvent(le.BadDataWarningRaise, ce(i)));
833
832
  }
834
- function dn(i) {
833
+ function cn(i) {
835
834
  const { data: e, htmlContainer: t } = i;
836
835
  t && e && t.dispatchEvent(new window.CustomEvent(le.SeriesOrder, ce(e)));
837
836
  }
838
- function Eo(i, e) {
837
+ function Do(i, e) {
839
838
  let t, a, n, r;
840
839
  return oe(i.series[0]) && (t = i.series[0].temporalBinning?.unit, n = i.series[0].temporalBinning?.size), oe(e.series[0]) && (a = e.series[0].temporalBinning?.unit, r = e.series[0].temporalBinning?.size), St(t, n) && !St(a, r);
841
840
  }
842
- function Vo(i, e) {
841
+ function Oo(i, e) {
843
842
  return i.axes?.length === 3 && e.axes?.length === 2 || i.axes?.length === 2 && e.axes?.length === 3;
844
843
  }
845
- function Io(i, e) {
844
+ function qo(i, e) {
846
845
  return JSON.stringify(i.series.map((t) => t.assignToSecondValueAxis ?? !1)) !== JSON.stringify(e.series.map((t) => t.assignToSecondValueAxis ?? !1));
847
846
  }
848
- function $o(i, e) {
847
+ function Eo(i, e) {
849
848
  const t = i.axes?.map((n) => n?.guides?.map((r) => r?.above === !0)), a = e.axes?.map((n) => n?.guides?.map((r) => r?.above === !0));
850
849
  return JSON.stringify(t) !== JSON.stringify(a);
851
850
  }
852
- function Ro(i, e) {
851
+ function Vo(i, e) {
853
852
  return qt(i) !== qt(e);
854
853
  }
855
- function ko(i) {
854
+ function Io(i) {
856
855
  return W(i.series) !== S.BoxPlotSeries ? b.xAxisField : i.series[0].x;
857
856
  }
858
- function jo(i) {
857
+ function $o(i) {
859
858
  const e = Yt(i);
860
859
  return e === ke.Stacked || e === ke.Stacked100;
861
860
  }
862
- function Wo(i, e) {
861
+ function Ro(i, e) {
863
862
  return (i.showOutliers ?? b.boxPlot.boxPlotOutliersVisibility) !== (e.showOutliers ?? b.boxPlot.boxPlotOutliersVisibility);
864
863
  }
865
- function Qo(i, e) {
864
+ function ko(i, e) {
866
865
  return (i.standardizeValues ?? b.boxPlot.boxPlotStandardizeValuesVisibility) !== (e.standardizeValues ?? b.boxPlot.boxPlotStandardizeValuesVisibility);
867
866
  }
868
- function Ho(i, e) {
867
+ function jo(i, e) {
869
868
  return JSON.stringify(i.chartRenderer) !== JSON.stringify(e.chartRenderer);
870
869
  }
871
- function zo(i, e) {
870
+ function Wo(i, e) {
872
871
  const t = i.axes?.[0].valueFormat.type === S.DateAxisFormat ? i.axes[0].valueFormat.intlOptions.timeZone : void 0, a = e.axes?.[0].valueFormat.type === S.DateAxisFormat ? e.axes[0].valueFormat.intlOptions.timeZone : void 0;
873
872
  return t !== a;
874
873
  }
875
- function fn(i, e) {
874
+ function un(i, e) {
876
875
  return i.series.map((t) => t.name).join() !== e.series.map((t) => t.name).join();
877
876
  }
878
- function mn(i, e) {
877
+ function dn(i, e) {
879
878
  const t = i.orderOptions?.series, a = e.orderOptions?.series, n = (t?.orderBy ?? me.Ascending) !== (a?.orderBy ?? me.Ascending), r = (t?.preferLabel ?? !0) !== (a?.preferLabel ?? !0);
880
879
  return n || r;
881
880
  }
882
- function Go(i, e) {
883
- return mn(i, e) || fn(i, e);
881
+ function Qo(i, e) {
882
+ return dn(i, e) || un(i, e);
884
883
  }
885
- function gn(i) {
884
+ function fn(i) {
886
885
  const e = E(i.series);
887
886
  let t;
888
887
  if (i.orderOptions?.data !== void 0) {
@@ -910,7 +909,7 @@ function gn(i) {
910
909
  }
911
910
  return t;
912
911
  }
913
- function yn(i) {
912
+ function mn(i) {
914
913
  let e;
915
914
  if (!mi(i) && i.series?.length > 0 && i.orderOptions?.data?.orderType === xe.Category) {
916
915
  let a;
@@ -921,7 +920,7 @@ function yn(i) {
921
920
  }
922
921
  return e;
923
922
  }
924
- function pn(i) {
923
+ function gn(i) {
925
924
  const e = i.series[0], { x: t, y: a } = e, n = E(i.series) === h.PieFromFields, r = E(i.series) === h.BarAndLineFromFields;
926
925
  let s, o = "", c;
927
926
  if (i.orderOptions?.data !== void 0) {
@@ -956,22 +955,22 @@ function xt(i) {
956
955
  let e;
957
956
  const t = W(i.series);
958
957
  if (t === S.HeatSeries)
959
- e = yn(i);
958
+ e = mn(i);
960
959
  else if (i.series?.length > 0)
961
960
  switch (t) {
962
961
  case S.BoxPlotSeries:
963
- e = gn(i);
962
+ e = fn(i);
964
963
  break;
965
964
  case S.LineSeries:
966
965
  case S.BarSeries:
967
966
  case S.RadarSeries:
968
967
  case S.PieSeries:
969
- e = pn(i);
968
+ e = gn(i);
970
969
  break;
971
970
  }
972
971
  return e;
973
972
  }
974
- function Uo(i) {
973
+ function Ho(i) {
975
974
  const { oldConfig: e, newConfig: t, dataUpdateNeeded: a } = i, n = E(t.series);
976
975
  let r = !1, s = !1;
977
976
  if (n !== h.BoxPlotMonoField && n !== h.BoxPlotMonoFieldAndSplitBy && t.orderOptions?.data !== void 0) {
@@ -980,7 +979,7 @@ function Uo(i) {
980
979
  }
981
980
  return r;
982
981
  }
983
- function _o(i, e) {
982
+ function zo(i, e) {
984
983
  const t = [], a = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
985
984
  return i.forEach((r, s) => n.set(r.id, s)), e.forEach((r, s) => {
986
985
  let o = n.get(r.id);
@@ -992,7 +991,7 @@ function _o(i, e) {
992
991
  }
993
992
  }), t;
994
993
  }
995
- function Yo(i, e) {
994
+ function Go(i, e) {
996
995
  const t = Fe(i);
997
996
  if (t && t.series.length > 1) {
998
997
  const { preferLabel: a, orderBy: n } = t.orderOptions?.series ?? {};
@@ -1011,12 +1010,12 @@ function Yo(i, e) {
1011
1010
  });
1012
1011
  }
1013
1012
  }
1014
- return dn({
1013
+ return cn({
1015
1014
  data: t?.series.map((a) => a.id),
1016
1015
  htmlContainer: e
1017
1016
  }), t;
1018
1017
  }
1019
- function hn(i) {
1018
+ function yn(i) {
1020
1019
  const e = { ...i };
1021
1020
  return i.showMean === !0 && (e.series = [e.series[0]], e.series[0].query?.where !== void 0 && delete e.series[0].query.where), e;
1022
1021
  }
@@ -1048,10 +1047,10 @@ function ot(i) {
1048
1047
  break;
1049
1048
  }
1050
1049
  }
1051
- function Sn(i, e) {
1050
+ function pn(i, e) {
1052
1051
  i.valid = !1, i.invalidType = e;
1053
1052
  }
1054
- async function Ko(i) {
1053
+ async function Uo(i) {
1055
1054
  const {
1056
1055
  invalidType: e,
1057
1056
  chartLimits: t,
@@ -1059,7 +1058,7 @@ async function Ko(i) {
1059
1058
  seriesCount: n,
1060
1059
  queryObject: r,
1061
1060
  filterBySelection: s,
1062
- formatLocale: o = Ba(document.documentElement),
1061
+ formatLocale: o = Ca(document.documentElement),
1063
1062
  isTemporalLineChart: c,
1064
1063
  errorStrings: l
1065
1064
  } = i;
@@ -1069,16 +1068,16 @@ async function Ko(i) {
1069
1068
  switch (e) {
1070
1069
  case $.BarElementExceedsLimit: {
1071
1070
  y = l.modalHeaders.tooManyFeatures;
1072
- let x = Number.NaN, F = Number.NaN, C = "";
1073
- n !== void 0 && (n <= m.maxBarChartSeriesCount ? n === 1 ? (C = l.errors.uniqueSeriesBarCountCannotExceedLimit, x = m.maxBarUniqueSeriesCountTotal) : n === 2 ? (C = l.errors.twoSeriesBarCountCannotExceedLimit, x = m.maxBarTwoSeriesCountTotal, F = m.maxBarTwoSeriesCountPerSeries) : n > 2 && (C = l.errors.threePlusSeriesBarCountCannotExceedLimit, x = m.maxBarThreePlusSeriesCountTotal, F = m.maxBarThreePlusSeriesCountPerSeries) : (C = l.errors.barSeriesCountCannotExceedLimit, F = m.maxBarChartSeriesCount));
1074
- const B = f.format(x), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1075
- u = de(C, {
1071
+ let C = Number.NaN, F = Number.NaN, x = "";
1072
+ n !== void 0 && (n <= m.maxBarChartSeriesCount ? n === 1 ? (x = l.errors.uniqueSeriesBarCountCannotExceedLimit, C = m.maxBarUniqueSeriesCountTotal) : n === 2 ? (x = l.errors.twoSeriesBarCountCannotExceedLimit, C = m.maxBarTwoSeriesCountTotal, F = m.maxBarTwoSeriesCountPerSeries) : n > 2 && (x = l.errors.threePlusSeriesBarCountCannotExceedLimit, C = m.maxBarThreePlusSeriesCountTotal, F = m.maxBarThreePlusSeriesCountPerSeries) : (x = l.errors.barSeriesCountCannotExceedLimit, F = m.maxBarChartSeriesCount));
1073
+ const B = f.format(C), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1074
+ u = de(x, {
1076
1075
  totalLimit: B,
1077
1076
  seriesLimit: N,
1078
1077
  elementCount: v
1079
1078
  }), d = {
1080
1079
  actualCount: a ?? Number.NaN,
1081
- totalLimit: x,
1080
+ totalLimit: C,
1082
1081
  seriesLimit: F
1083
1082
  };
1084
1083
  break;
@@ -1086,16 +1085,16 @@ async function Ko(i) {
1086
1085
  case $.LineChartExceedsLimit:
1087
1086
  {
1088
1087
  y = l.modalHeaders.tooManyFeatures;
1089
- let x = Number.NaN, F = Number.NaN, C = "";
1090
- n !== void 0 && (n <= m.maxLineChartSeriesCount ? n === 1 ? (C = c ? l.errors.uniqueTemporalSeriesLineCountCannotExceedLimit : l.errors.uniqueSeriesLineCountCannotExceedLimit, x = m.maxLineUniqueSeriesCountTotal) : n === 2 ? (C = c ? l.errors.twoTemporalSeriesLineCountCannotExceedLimit : l.errors.twoSeriesLineCountCannotExceedLimit, x = m.maxLineTwoSeriesCountTotal, F = m.maxLineTwoSeriesCountPerSeries) : n > 2 && (C = c ? l.errors.threePlusTemporalSeriesLineCountCannotExceedLimit : l.errors.threePlusSeriesLineCountCannotExceedLimit, x = m.maxLineThreePlusSeriesCountTotal, F = m.maxLineThreePlusSeriesCountPerSeries) : (C = l.errors.lineSeriesCountCannotExceedLimit, F = m.maxLineChartSeriesCount));
1091
- const B = f.format(x), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1092
- u = de(C, {
1088
+ let C = Number.NaN, F = Number.NaN, x = "";
1089
+ n !== void 0 && (n <= m.maxLineChartSeriesCount ? n === 1 ? (x = c ? l.errors.uniqueTemporalSeriesLineCountCannotExceedLimit : l.errors.uniqueSeriesLineCountCannotExceedLimit, C = m.maxLineUniqueSeriesCountTotal) : n === 2 ? (x = c ? l.errors.twoTemporalSeriesLineCountCannotExceedLimit : l.errors.twoSeriesLineCountCannotExceedLimit, C = m.maxLineTwoSeriesCountTotal, F = m.maxLineTwoSeriesCountPerSeries) : n > 2 && (x = c ? l.errors.threePlusTemporalSeriesLineCountCannotExceedLimit : l.errors.threePlusSeriesLineCountCannotExceedLimit, C = m.maxLineThreePlusSeriesCountTotal, F = m.maxLineThreePlusSeriesCountPerSeries) : (x = l.errors.lineSeriesCountCannotExceedLimit, F = m.maxLineChartSeriesCount));
1090
+ const B = f.format(C), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1091
+ u = de(x, {
1093
1092
  elementCount: v,
1094
1093
  seriesLimit: N,
1095
1094
  totalLimit: B
1096
1095
  }), d = {
1097
1096
  actualCount: a ?? Number.NaN,
1098
- totalLimit: x,
1097
+ totalLimit: C,
1099
1098
  seriesLimit: F
1100
1099
  };
1101
1100
  }
@@ -1103,16 +1102,16 @@ async function Ko(i) {
1103
1102
  case $.BoxPlotExceedsLimit:
1104
1103
  {
1105
1104
  y = l.modalHeaders.tooManyFeatures;
1106
- let x = Number.NaN, F = Number.NaN, C = "";
1107
- n !== void 0 && (n <= m.maxBoxPlotSeriesCount ? n === 1 ? (C = l.errors.uniqueSeriesBoxCountCannotExceedLimit, x = m.maxBoxUniqueSeriesCountTotal) : n === 2 ? (C = l.errors.twoSeriesBoxCountCannotExceedLimit, x = m.maxBoxTwoSeriesCountTotal, F = m.maxBoxTwoSeriesCountPerSeries) : n > 2 && (C = l.errors.threePlusBoxLineCountCannotExceedLimit, x = m.maxBoxThreePlusSeriesCountTotal, F = m.maxBoxThreePlusSeriesCountPerSeries) : (C = l.errors.boxSeriesCountCannotExceedLimit, F = m.maxBoxPlotSeriesCount));
1108
- const B = f.format(x), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1109
- u = de(C, {
1105
+ let C = Number.NaN, F = Number.NaN, x = "";
1106
+ n !== void 0 && (n <= m.maxBoxPlotSeriesCount ? n === 1 ? (x = l.errors.uniqueSeriesBoxCountCannotExceedLimit, C = m.maxBoxUniqueSeriesCountTotal) : n === 2 ? (x = l.errors.twoSeriesBoxCountCannotExceedLimit, C = m.maxBoxTwoSeriesCountTotal, F = m.maxBoxTwoSeriesCountPerSeries) : n > 2 && (x = l.errors.threePlusBoxLineCountCannotExceedLimit, C = m.maxBoxThreePlusSeriesCountTotal, F = m.maxBoxThreePlusSeriesCountPerSeries) : (x = l.errors.boxSeriesCountCannotExceedLimit, F = m.maxBoxPlotSeriesCount));
1107
+ const B = f.format(C), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1108
+ u = de(x, {
1110
1109
  elementCount: v,
1111
1110
  seriesLimit: N,
1112
1111
  totalLimit: B
1113
1112
  }), d = {
1114
1113
  actualCount: a ?? Number.NaN,
1115
- totalLimit: x,
1114
+ totalLimit: C,
1116
1115
  seriesLimit: F
1117
1116
  };
1118
1117
  }
@@ -1120,19 +1119,19 @@ async function Ko(i) {
1120
1119
  case $.BoxPlotOutliersExceedsLimit:
1121
1120
  {
1122
1121
  y = l.modalHeaders.tooManyFeatures;
1123
- const x = l.errors.boxSeriesOutlierCannotExceedLimit, F = m.maxBoxPlotOutlierLimit, C = f.format(F);
1124
- u = de(x, {
1125
- totalLimit: C
1122
+ const C = l.errors.boxSeriesOutlierCannotExceedLimit, F = m.maxBoxPlotOutlierLimit, x = f.format(F);
1123
+ u = de(C, {
1124
+ totalLimit: x
1126
1125
  }), d = { actualCount: a ?? Number.NaN, totalLimit: F };
1127
1126
  }
1128
1127
  break;
1129
1128
  case $.HeatChartExceedsLimit:
1130
1129
  {
1131
1130
  y = l.modalHeaders.tooManyFeatures;
1132
- const x = l.errors.heatChartCannotExceedLimit, F = m.maxHeatChartCellLimit, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
1133
- u = de(x, {
1131
+ const C = l.errors.heatChartCannotExceedLimit, F = m.maxHeatChartCellLimit, x = f.format(F), B = a !== void 0 ? f.format(a) : "";
1132
+ u = de(C, {
1134
1133
  featureCount: B,
1135
- totalLimit: C
1134
+ totalLimit: x
1136
1135
  }), d = {
1137
1136
  actualCount: a ?? Number.NaN,
1138
1137
  totalLimit: F
@@ -1142,10 +1141,10 @@ async function Ko(i) {
1142
1141
  case $.PieChartExceedsLimit:
1143
1142
  {
1144
1143
  y = l.modalHeaders.tooManyFeatures;
1145
- const x = l.errors.pieChartSlicesCannotExceedLimit, F = m.maxPieChartSliceCountTotal, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
1146
- u = de(x, {
1144
+ const C = l.errors.pieChartSlicesCannotExceedLimit, F = m.maxPieChartSliceCountTotal, x = f.format(F), B = a !== void 0 ? f.format(a) : "";
1145
+ u = de(C, {
1147
1146
  sliceCount: B,
1148
- totalLimit: C
1147
+ totalLimit: x
1149
1148
  }), d = {
1150
1149
  actualCount: a ?? Number.NaN,
1151
1150
  totalLimit: F
@@ -1155,10 +1154,10 @@ async function Ko(i) {
1155
1154
  case $.GaugeExceedsLimit:
1156
1155
  {
1157
1156
  y = l.modalHeaders.tooManyFeatures;
1158
- const x = l.errors.gaugeCannotExceedLimit, F = m.maxGaugeByFeaturesLimit, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
1159
- u = de(x, {
1157
+ const C = l.errors.gaugeCannotExceedLimit, F = m.maxGaugeByFeaturesLimit, x = f.format(F), B = a !== void 0 ? f.format(a) : "";
1158
+ u = de(C, {
1160
1159
  featureCount: B,
1161
- totalLimit: C
1160
+ totalLimit: x
1162
1161
  }), d = {
1163
1162
  actualCount: a ?? Number.NaN,
1164
1163
  totalLimit: F
@@ -1189,9 +1188,9 @@ async function Ko(i) {
1189
1188
  case $.BadData:
1190
1189
  }
1191
1190
  if (u === l.errors.defaultInvalidChart && (e === $.BarElementExceedsLimit || e === $.LineChartExceedsLimit || e === $.HeatChartExceedsLimit || e === $.PieChartExceedsLimit || e === $.GaugeExceedsLimit || e === $.BoxPlotExceedsLimit) && typeof a == "number" && typeof n == "number" && a / n > g) {
1192
- const x = a / n;
1191
+ const C = a / n;
1193
1192
  u = de(l.errors.categoryCountCannotExceedLimit, {
1194
- categoryCount: f.format(x),
1193
+ categoryCount: f.format(C),
1195
1194
  maxCategoryCount: f.format(g)
1196
1195
  });
1197
1196
  }
@@ -1239,20 +1238,20 @@ function At(i) {
1239
1238
  showOutliers: !1,
1240
1239
  standardizeValues: !0
1241
1240
  };
1242
- let x = U(c);
1243
- if (o[x] = Ct({ mean: d, stdDev: f, value: p }), m === V.Min || m === V.Max) {
1241
+ let C = U(c);
1242
+ if (o[C] = Ct({ mean: d, stdDev: f, value: p }), m === V.Min || m === V.Max) {
1244
1243
  c = {
1245
1244
  ...c,
1246
1245
  key: m,
1247
1246
  showOutliers: !0,
1248
1247
  standardizeValues: !0
1249
- }, x = U(c), c = {
1248
+ }, C = U(c), c = {
1250
1249
  ...c,
1251
1250
  standardizeValues: !1,
1252
1251
  splitByValue: n
1253
1252
  };
1254
1253
  const F = U(c);
1255
- p = Number(e[F]), Number.isFinite(p) && (o[x] = Ct({
1254
+ p = Number(e[F]), Number.isFinite(p) && (o[C] = Ct({
1256
1255
  mean: d,
1257
1256
  stdDev: f,
1258
1257
  value: p
@@ -1262,7 +1261,7 @@ function At(i) {
1262
1261
  }
1263
1262
  }), o;
1264
1263
  }
1265
- function Fn(i) {
1264
+ function hn(i) {
1266
1265
  const { data: e, yList: t, calculateZScore: a = !1 } = i, n = e[0], r = /* @__PURE__ */ new Map();
1267
1266
  return t.forEach((o) => {
1268
1267
  let c = {};
@@ -1274,7 +1273,7 @@ function Fn(i) {
1274
1273
  }), r.set(o, c);
1275
1274
  }), Array.from(r.values());
1276
1275
  }
1277
- function bn(i) {
1276
+ function Sn(i) {
1278
1277
  const { data: e, splitByField: t, y: a } = i, n = {
1279
1278
  [b.boxPlot.boxPlotCategory]: a
1280
1279
  };
@@ -1285,7 +1284,7 @@ function bn(i) {
1285
1284
  });
1286
1285
  }), [n];
1287
1286
  }
1288
- function xn(i) {
1287
+ function Fn(i) {
1289
1288
  const { splitByField: e, data: t, yList: a, calculateZScore: n = !1, meanAndStdDevPerField: r } = i, s = /* @__PURE__ */ new Map();
1290
1289
  return t.forEach((c) => {
1291
1290
  const l = c[e];
@@ -1308,7 +1307,7 @@ function xn(i) {
1308
1307
  });
1309
1308
  }), Array.from(s.values());
1310
1309
  }
1311
- function Cn(i) {
1310
+ function bn(i) {
1312
1311
  const { data: e, yList: t, calculateZScore: a = !1, meanAndStdDevPerField: n } = i, r = e;
1313
1312
  return a && r.forEach((s) => {
1314
1313
  t.forEach((o) => {
@@ -1322,7 +1321,7 @@ function Cn(i) {
1322
1321
  });
1323
1322
  }), r;
1324
1323
  }
1325
- function Bn(i) {
1324
+ function xn(i) {
1326
1325
  const { splitByField: e, x: t, data: a } = i, n = /* @__PURE__ */ new Map();
1327
1326
  return a.forEach((s) => {
1328
1327
  const o = s[t], c = { [t]: o }, l = s[e];
@@ -1341,7 +1340,7 @@ function Bn(i) {
1341
1340
  });
1342
1341
  }), Array.from(n.values());
1343
1342
  }
1344
- function vn(i, e) {
1343
+ function Cn(i, e) {
1345
1344
  const { series: t } = i, a = t[0], { y: n } = a, r = E(i.series), s = {
1346
1345
  y: r === h.BoxPlotMultiFieldsAndCategory ? n : void 0,
1347
1346
  chartSubType: r
@@ -1377,7 +1376,7 @@ function vn(i, e) {
1377
1376
  });
1378
1377
  });
1379
1378
  }
1380
- function Nn(i, e) {
1379
+ function Bn(i, e) {
1381
1380
  let t, a;
1382
1381
  const n = i[e[V.IQR]], r = i[e[V.FirstQuartile]], s = i[e[V.ThirdQuartile]];
1383
1382
  return Number.isFinite(n) && Number.isFinite(r) && Number.isFinite(s) && (t = r - n * 1.5, a = s + n * 1.5), { outlierMinThreshold: t, outlierMaxThreshold: a };
@@ -1401,12 +1400,12 @@ function gi(i) {
1401
1400
  const { data: e, yField: t, x: a, chartSubType: n, splitByField: r } = i, s = n === h.BoxPlotMonoField || n === h.BoxPlotMonoFieldAndCategory || n === h.BoxPlotMonoFieldAndSplitBy || n === h.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : t, o = je(s), c = [], l = [], { maxOperandsPerWhereClause: u } = Ue();
1402
1401
  let d = [], f = [], m = 1;
1403
1402
  return e.forEach((g, y) => {
1404
- const { outlierMinThreshold: p, outlierMaxThreshold: x } = Nn(g, o);
1405
- if (typeof p == "number" && typeof x == "number") {
1403
+ const { outlierMinThreshold: p, outlierMaxThreshold: C } = Bn(g, o);
1404
+ if (typeof p == "number" && typeof C == "number") {
1406
1405
  const F = {
1407
1406
  yField: t,
1408
1407
  outlierMinThreshold: p,
1409
- outlierMaxThreshold: x
1408
+ outlierMaxThreshold: C
1410
1409
  };
1411
1410
  (n === h.BoxPlotMonoFieldAndCategory || n === h.BoxPlotMultiFieldsAndCategory || n === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in g && (F.xField = a, F.xValue = ze({
1412
1411
  value: g[a],
@@ -1418,7 +1417,7 @@ function gi(i) {
1418
1417
  m += 1;
1419
1418
  }), { outliersFilterBatches: c, dataWithoutOutliersFilterBatches: l };
1420
1419
  }
1421
- function Tn(i) {
1420
+ function vn(i) {
1422
1421
  const { data: e, outlierDataItem: t, chartSubType: a, x: n, y: r, meanAndStdDevPerField: s, splitByField: o } = i;
1423
1422
  let c = s?.[Ie(r, P.Average)], l = s?.[Ie(r, P.StandardDeviation)];
1424
1423
  if (c === void 0 && l === void 0)
@@ -1447,21 +1446,21 @@ function Tn(i) {
1447
1446
  }
1448
1447
  return { mean: c, stdDev: l };
1449
1448
  }
1450
- async function An(i) {
1449
+ async function Nn(i) {
1451
1450
  const { seriesConfig: e, data: t, uniqueQuery: a, queryObject: n, meanAndStdDevPerField: r, abortKey: s } = i, o = E(e), c = e[0], { x: l } = c, u = K(c.query?.where), d = z(n), f = se(e), m = [];
1452
1451
  for (let p = 0; p < f.length; p += 1) {
1453
- const x = f[p], { outliersFilterBatches: F } = gi({
1452
+ const C = f[p], { outliersFilterBatches: F } = gi({
1454
1453
  data: t,
1455
- yField: x,
1454
+ yField: C,
1456
1455
  x: l,
1457
1456
  chartSubType: o,
1458
1457
  splitByField: u
1459
1458
  });
1460
- for (let C = 0; C < F.length; C += 1) {
1461
- const B = F[C];
1459
+ for (let x = 0; x < F.length; x += 1) {
1460
+ const B = F[x];
1462
1461
  if (B !== "") {
1463
1462
  const N = [];
1464
- l !== b.boxPlot.boxPlotCategory && N.push(l), N.push(x), u !== "" && N.push(u), N.push(d.objectIdField);
1463
+ l !== b.boxPlot.boxPlotCategory && N.push(l), N.push(C), u !== "" && N.push(u), N.push(d.objectIdField);
1465
1464
  const v = {
1466
1465
  ...a,
1467
1466
  where: Q([a.where, B]),
@@ -1485,9 +1484,9 @@ async function An(i) {
1485
1484
  }
1486
1485
  const g = await Promise.all(m), y = /* @__PURE__ */ new Map();
1487
1486
  for (let p = 0; p < g.length; p += 1) {
1488
- const x = g[p], F = f[p];
1489
- x.forEach((C) => {
1490
- const B = { ...C.attributes };
1487
+ const C = g[p], F = f[p];
1488
+ C.forEach((x) => {
1489
+ const B = { ...x.attributes };
1491
1490
  if (B[F] !== void 0) {
1492
1491
  l === b.boxPlot.boxPlotCategory && (B[b.boxPlot.boxPlotCategory] = F);
1493
1492
  let N = {
@@ -1520,7 +1519,7 @@ async function An(i) {
1520
1519
  const D = U({
1521
1520
  ...N,
1522
1521
  standardizeValues: !0
1523
- }), { mean: R, stdDev: M } = Tn({
1522
+ }), { mean: R, stdDev: M } = vn({
1524
1523
  data: t,
1525
1524
  outlierDataItem: B,
1526
1525
  chartSubType: o,
@@ -1541,14 +1540,14 @@ async function An(i) {
1541
1540
  }
1542
1541
  return Array.from(y.values());
1543
1542
  }
1544
- async function Pn(i) {
1543
+ async function Tn(i) {
1545
1544
  const { data: e, queryObject: t, uniqueQuery: a, elementCount: n, chartConfig: r, chartLimits: s, abortKey: o } = i;
1546
1545
  let c = [];
1547
1546
  const { series: l, showMean: u } = r, d = Nt({ showMean: u, seriesConfig: l }), f = E(l), m = we(r), { x: g } = m, y = K(m.query?.where), p = [];
1548
1547
  for (let F = 0; F < d.length; F += 1) {
1549
- const C = d[F], { dataWithoutOutliersFilterBatches: B } = gi({
1548
+ const x = d[F], { dataWithoutOutliersFilterBatches: B } = gi({
1550
1549
  data: e,
1551
- yField: C,
1550
+ yField: x,
1552
1551
  x: g,
1553
1552
  chartSubType: f,
1554
1553
  splitByField: y
@@ -1559,7 +1558,7 @@ async function Pn(i) {
1559
1558
  where: Q([a.where, v])
1560
1559
  };
1561
1560
  T.outStatistics !== void 0 && (T.outStatistics = T.outStatistics?.filter(
1562
- (w) => (w.statisticType === P.Minimum || w.statisticType === P.Maximum) && w.onStatisticField === C
1561
+ (w) => (w.statisticType === P.Minimum || w.statisticType === P.Maximum) && w.onStatisticField === x
1563
1562
  ).map((w) => ({
1564
1563
  ...w,
1565
1564
  outStatisticFieldName: `${w.outStatisticFieldName}${b.boxPlot.boxPlotOutliersSuffix}`
@@ -1577,15 +1576,15 @@ async function Pn(i) {
1577
1576
  );
1578
1577
  }
1579
1578
  }
1580
- const x = await Promise.all(p);
1581
- for (let F = 0; F < x.length; F += 1)
1582
- c.push(...x[F]);
1579
+ const C = await Promise.all(p);
1580
+ for (let F = 0; F < C.length; F += 1)
1581
+ c.push(...C[F]);
1583
1582
  return f !== h.BoxPlotMonoFieldAndCategoryAndSplitBy && (c = Lt({
1584
1583
  data: c,
1585
1584
  x: y !== void 0 && y !== "" ? y : g
1586
1585
  })), c;
1587
1586
  }
1588
- async function Ln(i) {
1587
+ async function An(i) {
1589
1588
  const { queryObject: e, uniqueQuery: t, chartConfig: a, abortKey: n } = i;
1590
1589
  let r;
1591
1590
  const { series: s, showMean: o } = a, c = E(s);
@@ -1621,7 +1620,7 @@ async function Ln(i) {
1621
1620
  }
1622
1621
  return r;
1623
1622
  }
1624
- function Mn(i) {
1623
+ function Pn(i) {
1625
1624
  const { data: e, additionalData: t, chartConfig: a } = i, n = a.series[0], { x: r } = n, s = K(n.query?.where);
1626
1625
  return e.map((o) => {
1627
1626
  let c = o;
@@ -1641,14 +1640,14 @@ function yi(i) {
1641
1640
  d[0][b.boxPlot.boxPlotCategory] = u[0];
1642
1641
  break;
1643
1642
  case h.BoxPlotMultiFields:
1644
- d = Fn({
1643
+ d = hn({
1645
1644
  data: t,
1646
1645
  yList: u,
1647
1646
  calculateZScore: a
1648
1647
  });
1649
1648
  break;
1650
1649
  case h.BoxPlotMonoFieldAndSplitBy:
1651
- d = bn({
1650
+ d = Sn({
1652
1651
  data: t,
1653
1652
  splitByField: f,
1654
1653
  y: u[0]
@@ -1656,7 +1655,7 @@ function yi(i) {
1656
1655
  });
1657
1656
  break;
1658
1657
  case h.BoxPlotMultiFieldsAndSplitBy:
1659
- d = xn({
1658
+ d = Fn({
1660
1659
  splitByField: f,
1661
1660
  data: t,
1662
1661
  yList: u,
@@ -1665,7 +1664,7 @@ function yi(i) {
1665
1664
  });
1666
1665
  break;
1667
1666
  case h.BoxPlotMultiFieldsAndCategory:
1668
- d = Cn({
1667
+ d = bn({
1669
1668
  data: t,
1670
1669
  yList: u,
1671
1670
  meanAndStdDevPerField: n,
@@ -1673,7 +1672,7 @@ function yi(i) {
1673
1672
  });
1674
1673
  break;
1675
1674
  case h.BoxPlotMonoFieldAndCategoryAndSplitBy:
1676
- d = Bn({
1675
+ d = xn({
1677
1676
  splitByField: f,
1678
1677
  x: l,
1679
1678
  data: t
@@ -1682,27 +1681,27 @@ function yi(i) {
1682
1681
  case h.BoxPlotMonoFieldAndCategory:
1683
1682
  }
1684
1683
  }
1685
- return vn(e, d), d;
1684
+ return Cn(e, d), d;
1686
1685
  }
1687
- async function wn(i) {
1686
+ async function Ln(i) {
1688
1687
  const { data: e, queryObject: t, uniqueQuery: a, fetchFullBoxPlotData: n, chartConfig: r, elementCount: s, chartLimits: o, abortKey: c } = i;
1689
1688
  let l = e, u = [];
1690
1689
  if (l !== void 0) {
1691
- const { series: d } = r, f = await Ln({
1690
+ const { series: d } = r, f = await An({
1692
1691
  queryObject: t,
1693
1692
  uniqueQuery: a,
1694
1693
  chartConfig: r,
1695
1694
  abortKey: c
1696
1695
  });
1697
1696
  if (n !== !1) {
1698
- u = await An({
1697
+ u = await Nn({
1699
1698
  queryObject: t,
1700
1699
  uniqueQuery: a,
1701
1700
  seriesConfig: d,
1702
1701
  data: l,
1703
1702
  abortKey: c
1704
1703
  });
1705
- const m = await Pn({
1704
+ const m = await Tn({
1706
1705
  queryObject: t,
1707
1706
  uniqueQuery: a,
1708
1707
  elementCount: s,
@@ -1711,7 +1710,7 @@ async function wn(i) {
1711
1710
  chartLimits: o,
1712
1711
  abortKey: c
1713
1712
  });
1714
- l = Mn({
1713
+ l = Pn({
1715
1714
  data: l,
1716
1715
  additionalData: m,
1717
1716
  chartConfig: r
@@ -1726,19 +1725,19 @@ async function wn(i) {
1726
1725
  }
1727
1726
  return { dataItems: l, outliers: u };
1728
1727
  }
1729
- function Dn(i) {
1728
+ function Mn(i) {
1730
1729
  const { whereValue: e, outStatistics: t, y: a } = i;
1731
1730
  let n = Y.outStatistics.outStatisticFieldName ?? "";
1732
1731
  return t?.outStatisticFieldName !== void 0 ? n = t.outStatisticFieldName : t?.onStatisticField !== void 0 && t.statisticType !== void 0 ? n = `${t.statisticType}_${t.onStatisticField}_${e}` : a !== void 0 && (n = [a].flat()[0]), n;
1733
1732
  }
1734
- function On(i) {
1733
+ function wn(i) {
1735
1734
  const e = /* @__PURE__ */ new Map();
1736
1735
  for (let t = 0; t < i.length; t += 1) {
1737
1736
  const a = i[t], n = a.query?.where;
1738
1737
  if (n !== void 0 && "y" in a) {
1739
1738
  const r = ge({ where: n, normalize: !0, escape: !1 });
1740
1739
  if (r !== "") {
1741
- const s = Dn({
1740
+ const s = Mn({
1742
1741
  whereValue: r,
1743
1742
  outStatistics: a.query?.outStatistics?.[0],
1744
1743
  y: a.y
@@ -1749,16 +1748,16 @@ function On(i) {
1749
1748
  }
1750
1749
  return e;
1751
1750
  }
1752
- function qn(i) {
1751
+ function Dn(i) {
1753
1752
  const { uniqueQuery: e, splitByField: t, x: a } = i, n = [...e.groupByFieldsForStatistics ?? [], a, t].filter(
1754
1753
  (r) => r !== void 0 && r.trim() !== "" && r !== Jt
1755
1754
  );
1756
1755
  e.groupByFieldsForStatistics = Array.from(new Set(n));
1757
1756
  }
1758
- function En(i) {
1757
+ function On(i) {
1759
1758
  return i.statisticType === P.ContinuousPercentile || i.statisticType === P.DiscretePercentile;
1760
1759
  }
1761
- function Vn(i) {
1760
+ function qn(i) {
1762
1761
  const {
1763
1762
  uniqueQuery: e,
1764
1763
  y: t,
@@ -1774,7 +1773,7 @@ function Vn(i) {
1774
1773
  const { outStatistics: u } = e;
1775
1774
  for (let d = 0; d < u.length; d += 1) {
1776
1775
  const f = e.outStatistics[d];
1777
- f !== void 0 && En(f) && (s && !Qe(n) ? (u[d].statisticType = P.Count, delete u[d].statisticParameters) : u[d] = {
1776
+ f !== void 0 && On(f) && (s && !Qe(n) ? (u[d].statisticType = P.Count, delete u[d].statisticParameters) : u[d] = {
1778
1777
  ...u[d],
1779
1778
  statisticParameters: u[d].statisticParameters ?? {
1780
1779
  value: b.defaultStatParameterValue
@@ -1793,7 +1792,7 @@ function Vn(i) {
1793
1792
  }
1794
1793
  o === !0 && (!s || ee(c)) && e.outStatistics?.push({ statisticType: P.EnvelopeAggregate, onStatisticField: "1" });
1795
1794
  }
1796
- function In(i) {
1795
+ function En(i) {
1797
1796
  const { chartConfig: e, fetchFullBoxPlotData: t } = i, { series: a } = e, n = He(e);
1798
1797
  let r = [
1799
1798
  { statisticType: P.Average, suffix: V.Average }
@@ -1833,13 +1832,13 @@ function In(i) {
1833
1832
  })
1834
1833
  );
1835
1834
  }
1836
- function $n(i, e) {
1835
+ function Vn(i, e) {
1837
1836
  for (let t = 1; t < e.length; t += 1) {
1838
1837
  const a = { ...e[t].query?.outStatistics?.[0] };
1839
1838
  a !== void 0 && i.outStatistics !== void 0 && i.outStatistics.push(a);
1840
1839
  }
1841
1840
  }
1842
- function Rn(i) {
1841
+ function In(i) {
1843
1842
  const { uniqueQuery: e, x: t, splitByField: a, unit: n, chartSubType: r, objectIdField: s } = i;
1844
1843
  if (n !== void 0) {
1845
1844
  const o = Ki(t, n);
@@ -1874,22 +1873,22 @@ async function ct(i) {
1874
1873
  setTimeBinningInfoWhenNotProvided: o,
1875
1874
  seriesConfig: d
1876
1875
  });
1877
- let p = /* @__PURE__ */ new Map(), x = !1, F = !1, C = !1, B = !1, N = !1, v = {};
1876
+ let p = /* @__PURE__ */ new Map(), C = !1, F = !1, x = !1, B = !1, N = !1, v = {};
1878
1877
  if (f !== void 0) {
1879
1878
  v = Fe(f);
1880
1879
  const O = K(f.where);
1881
1880
  let H = "";
1882
1881
  switch (t.fetchNullValues !== !0 && (m !== b.boxPlot.boxPlotCategory && (H = `${m} IS NOT NULL`), O.trim() !== "" && O !== m && !Tt(f.where) && (H = Q([H, `${O} IS NOT NULL`]))), u) {
1883
1882
  case h.BarAndLineSplitBy: {
1884
- p = On(l), B = !0, x = !0, F = !0;
1883
+ p = wn(l), B = !0, C = !0, F = !0;
1885
1884
  break;
1886
1885
  }
1887
1886
  case h.BarAndLineMultiFields:
1888
- $n(v, l), F = !0;
1887
+ Vn(v, l), F = !0;
1889
1888
  break;
1890
1889
  case h.PieFromFields:
1891
1890
  case h.BarAndLineFromFields:
1892
- H = "", C = !0, F = !0;
1891
+ H = "", x = !0, F = !0;
1893
1892
  break;
1894
1893
  case h.BarAndLineMonoField:
1895
1894
  case h.PieFromCategory:
@@ -1897,35 +1896,35 @@ async function ct(i) {
1897
1896
  break;
1898
1897
  case h.BoxPlotMonoField:
1899
1898
  case h.BoxPlotMultiFields:
1900
- C = !0, N = !0;
1899
+ x = !0, N = !0;
1901
1900
  break;
1902
1901
  case h.BoxPlotMonoFieldAndCategory:
1903
1902
  case h.BoxPlotMultiFieldsAndCategory:
1904
1903
  case h.BoxPlotMonoFieldAndSplitBy:
1905
1904
  case h.BoxPlotMonoFieldAndCategoryAndSplitBy:
1906
1905
  case h.BoxPlotMultiFieldsAndSplitBy: {
1907
- N = !0, B = !0, C = !0;
1906
+ N = !0, B = !0, x = !0;
1908
1907
  break;
1909
1908
  }
1910
1909
  case h.PieNoAggregation:
1911
1910
  case h.BarAndLineNoAggregation:
1912
1911
  case h.BarAndLineSplitByNoAggregation:
1913
1912
  }
1914
- if (F && Vn({
1913
+ if (F && qn({
1915
1914
  uniqueQuery: v,
1916
1915
  y: g,
1917
- useGenericOutStatFieldName: x,
1916
+ useGenericOutStatFieldName: C,
1918
1917
  queryObject: n,
1919
1918
  chartSubType: u,
1920
1919
  isTimeBinningSeries: y,
1921
1920
  returnFeaturesExtent: c,
1922
1921
  splitByField: O
1923
- }), B && qn({ uniqueQuery: v, splitByField: O, x: m }), N && (v.outStatistics = In({ chartConfig: e, fetchFullBoxPlotData: s })), C ? delete v.orderByFields : t.orderByFields !== void 0 && (v.orderByFields = t.orderByFields.filter((X) => {
1922
+ }), B && Dn({ uniqueQuery: v, splitByField: O, x: m }), N && (v.outStatistics = En({ chartConfig: e, fetchFullBoxPlotData: s })), x ? delete v.orderByFields : t.orderByFields !== void 0 && (v.orderByFields = t.orderByFields.filter((X) => {
1924
1923
  const I = X.split(" ");
1925
1924
  return !ee(I[0]);
1926
1925
  })), y && oe(l[0])) {
1927
1926
  const X = z(n), { objectIdField: I } = X;
1928
- (await Te(n)).find((te) => te.name === m)?.type !== Ye.DateOnly && Rn({
1927
+ (await Te(n)).find((te) => te.name === m)?.type !== Ye.DateOnly && In({
1929
1928
  uniqueQuery: v,
1930
1929
  x: m,
1931
1930
  splitByField: K(f.where),
@@ -1940,7 +1939,7 @@ async function ct(i) {
1940
1939
  const { gdbVersion: T, geometry: w, distance: L, units: D, timeExtent: R, where: M, objectIds: q, spatialRelationship: A } = t;
1941
1940
  return T !== void 0 && (v.gdbVersion = T), w !== void 0 && (v.geometry = w), L !== void 0 && (v.distance = L), D !== void 0 && (v.units = D), R !== void 0 && (v.timeExtent = R), q !== void 0 && (v.objectIds = q), A !== void 0 && (v.spatialRelationship = A), M !== void 0 && (v.where = Q([v.where, M])), { uniqueQuery: v, mapToStatField: p };
1942
1941
  }
1943
- async function kn(i) {
1942
+ async function $n(i) {
1944
1943
  const { queryObject: e, queryConfig: t, chartConfig: a, abortKey: n } = i, r = a.series[0], { x: s, valueConversion: o } = r, c = Xt(a), l = await ye({
1945
1944
  queryObject: e,
1946
1945
  queryConfig: t,
@@ -1961,7 +1960,7 @@ async function kn(i) {
1961
1960
  }
1962
1961
  return u;
1963
1962
  }
1964
- async function jn(i) {
1963
+ async function Rn(i) {
1965
1964
  const { queryObject: e, chartConfig: t, queryConfig: a, options: n, abortKey: r } = i, { chartLimits: s } = n ?? {}, o = { valid: !0 };
1966
1965
  if (e !== void 0) {
1967
1966
  const { behaviorAfterLimit: c, maxGaugeByFeaturesLimit: l } = s ?? {}, u = Xt(t);
@@ -1986,7 +1985,7 @@ async function jn(i) {
1986
1985
  }), pi({ chartConfig: t, options: n, uniqueQuery: a });
1987
1986
  }
1988
1987
  if (Number.isNaN(d) || d) {
1989
- const m = await kn({
1988
+ const m = await $n({
1990
1989
  queryObject: e,
1991
1990
  chartConfig: t,
1992
1991
  queryConfig: a,
@@ -2001,7 +2000,7 @@ async function jn(i) {
2001
2000
  }
2002
2001
  return o;
2003
2002
  }
2004
- async function Jo(i) {
2003
+ async function _o(i) {
2005
2004
  const { queryObject: e, chartConfig: t, queryConfig: a } = i, { minimumFromField: n, maximumFromField: r } = t.axes[0], s = [];
2006
2005
  let o = "", c = "";
2007
2006
  n !== void 0 && (typeof n == "string" ? (o = `${P.Minimum}_${n}`, s.push({
@@ -2033,14 +2032,14 @@ async function Jo(i) {
2033
2032
  }), d = u.get(o), f = u.get(c);
2034
2033
  return { minimumFromData: d, maximumFromData: f };
2035
2034
  }
2036
- function Wn(i = _.None, e) {
2035
+ function kn(i = _.None, e) {
2037
2036
  return i === _.None || i === _.Log && e > 0 || i === _.Sqrt && e >= 0;
2038
2037
  }
2039
2038
  function hi(i, e) {
2040
2039
  const t = { valid: !1 };
2041
2040
  return e === !0 ? t.invalidType = $.HistogramEmptyField : i === _.Log ? t.invalidType = $.NegativeValueInLogCalculation : i === _.Sqrt && (t.invalidType = $.NegativeValueInSqrtCalculation), t;
2042
2041
  }
2043
- function Qn(i, e) {
2042
+ function jn(i, e) {
2044
2043
  let t = i;
2045
2044
  switch (e) {
2046
2045
  case _.Log:
@@ -2052,7 +2051,7 @@ function Qn(i, e) {
2052
2051
  }
2053
2052
  return t;
2054
2053
  }
2055
- function Hn(i) {
2054
+ function Wn(i) {
2056
2055
  let e = i;
2057
2056
  const t = i.toString().split(".");
2058
2057
  if (t[1] !== void 0) {
@@ -2074,7 +2073,7 @@ function Si(i) {
2074
2073
  }
2075
2074
  return e;
2076
2075
  }
2077
- async function zn(i) {
2076
+ async function Qn(i) {
2078
2077
  const { queryObject: e, fieldName: t, queryConfig: a, abortKey: n } = i, r = z(e), { objectIdField: s } = r, o = `${P.Count}_${s}`, c = `${P.Count}_${t}`, l = `${P.Minimum}_${t}`, u = `${P.Maximum}_${t}`, d = {
2079
2078
  ...a,
2080
2079
  outStatistics: [
@@ -2106,15 +2105,15 @@ async function zn(i) {
2106
2105
  }), m = f.get(o) ?? Number.NaN, g = f.get(c) ?? Number.NaN, y = f.get(l) ?? Number.NaN, p = f.get(u) ?? Number.NaN;
2107
2106
  return { countExcludingNulls: g, countIncludingNulls: m, min: y, max: p };
2108
2107
  }
2109
- async function Gn(i) {
2108
+ async function Hn(i) {
2110
2109
  const { queryConfig: e, chartConfig: t, queryObject: a, abortKey: n } = i, r = t.series[0], { x: s, dataTransformationType: o } = r;
2111
2110
  let c = [];
2112
- const { countIncludingNulls: l, countExcludingNulls: u, min: d, max: f } = await zn({
2111
+ const { countIncludingNulls: l, countExcludingNulls: u, min: d, max: f } = await Qn({
2113
2112
  queryObject: a,
2114
2113
  queryConfig: e,
2115
2114
  fieldName: s,
2116
2115
  abortKey: n
2117
- }), m = Wn(o, d), g = u < 2 || d === f, y = { ...e };
2116
+ }), m = kn(o, d), g = u < 2 || d === f, y = { ...e };
2118
2117
  return y.where = Q([y.where, `${s} is not null`]), {
2119
2118
  rawData: c,
2120
2119
  dataCompatibleWithTransformation: m,
@@ -2123,11 +2122,11 @@ async function Gn(i) {
2123
2122
  countIncludingNulls: l
2124
2123
  };
2125
2124
  }
2126
- function Un(i) {
2125
+ function zn(i) {
2127
2126
  const e = { ...i };
2128
2127
  return e.avg = e.avg ?? Number.NaN, e.count = e.count ?? Number.NaN, e.max = e.max ?? Number.NaN, e.min = e.min ?? Number.NaN, e.stddev = e.stddev ?? Number.NaN, e.sum = e.sum ?? Number.NaN, e.variance = e.variance ?? Number.NaN, e.median = e.median ?? Number.NaN, e;
2129
2128
  }
2130
- function _n(i) {
2129
+ function Gn(i) {
2131
2130
  const { seriesConfig: e, layer: t, useFeaturesInView: a, view: n, queryConfig: r } = i, { x: s, dataTransformationType: o } = e;
2132
2131
  let c = {
2133
2132
  layer: t,
@@ -2142,7 +2141,7 @@ function _n(i) {
2142
2141
  normalizationType: Si(o)
2143
2142
  }), c;
2144
2143
  }
2145
- function Yn(i) {
2144
+ function Un(i) {
2146
2145
  const { seriesConfig: e, layer: t, useFeaturesInView: a, view: n, minValue: r, maxValue: s, queryConfig: o } = i, { x: c, binCount: l, dataTransformationType: u } = e;
2147
2146
  let d = {
2148
2147
  layer: t,
@@ -2161,11 +2160,11 @@ function Yn(i) {
2161
2160
  normalizationType: Si(u)
2162
2161
  }), d;
2163
2162
  }
2164
- function Kn(i, e) {
2163
+ function _n(i, e) {
2165
2164
  let t = Number.NaN;
2166
2165
  return i !== void 0 && e !== void 0 && (t = i - e), t;
2167
2166
  }
2168
- async function Jn(i) {
2167
+ async function Yn(i) {
2169
2168
  const {
2170
2169
  chartConfig: e,
2171
2170
  queryConfig: t,
@@ -2177,7 +2176,7 @@ async function Jn(i) {
2177
2176
  } = i, c = e.series[0], { dataTransformationType: l } = c;
2178
2177
  let u = { valid: !0 };
2179
2178
  if (a !== void 0) {
2180
- const d = z(a), m = Ji(t?.geometry)?.extent?.toJSON() !== void 0, g = s?.view, y = _n({
2179
+ const d = z(a), m = Ji(t?.geometry)?.extent?.toJSON() !== void 0, g = s?.view, y = Gn({
2181
2180
  seriesConfig: c,
2182
2181
  layer: d,
2183
2182
  view: g,
@@ -2196,32 +2195,32 @@ async function Jn(i) {
2196
2195
  p === void 0 ? p = new $t({ timeExtent: L }) : p.timeExtent = L;
2197
2196
  }
2198
2197
  y.filter = p;
2199
- let x;
2198
+ let C;
2200
2199
  y.outStatisticTypes = { exclude: ["median"] };
2201
2200
  try {
2202
- x = await Rt(y);
2201
+ C = await Rt(y);
2203
2202
  } catch (L) {
2204
2203
  throw new pt(Vt.QueryFeaturesError, o.errors.queryError, L);
2205
2204
  }
2206
2205
  y.outStatisticTypes = { include: ["median"] };
2207
2206
  try {
2208
2207
  const L = await Rt(y);
2209
- L?.median && (x.median = L.median);
2208
+ L?.median && (C.median = L.median);
2210
2209
  } catch {
2211
2210
  }
2212
- x = Un(x);
2213
- const { avg: F, count: C, stddev: B, min: N, max: v, sum: T, median: w } = x;
2214
- if (C === 0)
2211
+ C = zn(C);
2212
+ const { avg: F, count: x, stddev: B, min: N, max: v, sum: T, median: w } = C;
2213
+ if (x === 0)
2215
2214
  u = {
2216
2215
  ...hi(l)
2217
2216
  };
2218
2217
  else {
2219
- const L = Yn({
2218
+ const L = Un({
2220
2219
  seriesConfig: c,
2221
2220
  layer: d,
2222
2221
  view: g,
2223
2222
  useFeaturesInView: m,
2224
- minValue: Hn(N),
2223
+ minValue: Wn(N),
2225
2224
  maxValue: v,
2226
2225
  valueExpression: y.valueExpression,
2227
2226
  queryConfig: t
@@ -2229,11 +2228,11 @@ async function Jn(i) {
2229
2228
  L.filter = p;
2230
2229
  let D;
2231
2230
  try {
2232
- D = await va(L);
2231
+ D = await Ba(L);
2233
2232
  } catch (M) {
2234
2233
  throw new pt(Vt.QueryFeaturesError, o.errors.queryError, M);
2235
2234
  }
2236
- const R = Kn(r, n);
2235
+ const R = _n(r, n);
2237
2236
  u.data = {
2238
2237
  mean: F,
2239
2238
  stddev: B,
@@ -2250,14 +2249,14 @@ async function Jn(i) {
2250
2249
  return u;
2251
2250
  }
2252
2251
  async function Fi(i) {
2253
- const { chartConfig: e, queryConfig: t, queryObject: a, options: n, abortKey: r, errorStrings: s } = i, { series: o } = e, c = o[0], { rawData: l, dataCompatibleWithTransformation: u, dataCountIncompatible: d, countIncludingNulls: f, countExcludingNulls: m } = await Gn({
2252
+ const { chartConfig: e, queryConfig: t, queryObject: a, options: n, abortKey: r, errorStrings: s } = i, { series: o } = e, c = o[0], { rawData: l, dataCompatibleWithTransformation: u, dataCountIncompatible: d, countIncludingNulls: f, countExcludingNulls: m } = await Hn({
2254
2253
  queryObject: a,
2255
2254
  chartConfig: e,
2256
2255
  queryConfig: t,
2257
2256
  abortKey: r
2258
2257
  });
2259
2258
  let g = { valid: !0 };
2260
- return !u || d ? g = hi(c.dataTransformationType, d) : g = await Jn({
2259
+ return !u || d ? g = hi(c.dataTransformationType, d) : g = await Yn({
2261
2260
  chartConfig: e,
2262
2261
  queryObject: a,
2263
2262
  queryConfig: t,
@@ -2267,7 +2266,7 @@ async function Fi(i) {
2267
2266
  errorStrings: s
2268
2267
  }), g;
2269
2268
  }
2270
- async function Xn(i) {
2269
+ async function Kn(i) {
2271
2270
  const { queryObject: e, queryConfig: t, chartConfig: a, x: n } = i, { series: r } = a, { dataTransformationType: s } = r[0], o = {
2272
2271
  ...t,
2273
2272
  orderByFields: [n],
@@ -2279,7 +2278,7 @@ async function Xn(i) {
2279
2278
  queryObject: e,
2280
2279
  queryConfig: o
2281
2280
  })).map((u) => ({
2282
- [n]: Qn(u.attributes[n], s)
2281
+ [n]: jn(u.attributes[n], s)
2283
2282
  })) }
2284
2283
  };
2285
2284
  }
@@ -2287,8 +2286,8 @@ const Me = {
2287
2286
  groupByCaseBegin: "CASE",
2288
2287
  groupByOutKeyword: "OUT",
2289
2288
  groupByCaseEnd: "ELSE 'OUT' END"
2290
- }, Zn = "{ groupByFieldsForStatistics } WHEN ({ y } { yMinOperand } { yValue } AND { y } { yMaxOperand } { yValuePlusStep } AND { x } { xMinOperand } { xValue } AND { x } { xMaxOperand } { xValuePlusStep }) THEN '{ xValue }|{ xValuePlusStep}|{ yValue }|{ yValuePlusStep }'";
2291
- async function er(i) {
2289
+ }, Jn = "{ groupByFieldsForStatistics } WHEN ({ y } { yMinOperand } { yValue } AND { y } { yMaxOperand } { yValuePlusStep } AND { x } { xMinOperand } { xValue } AND { x } { xMaxOperand } { xValuePlusStep }) THEN '{ xValue }|{ xValuePlusStep}|{ yValue }|{ yValuePlusStep }'";
2290
+ async function Xn(i) {
2292
2291
  const { chartConfig: e, queryObject: t, queryConfig: a, abortKey: n } = i, r = e.series[0], { x: s, y: o } = r, { dataContextCountDistinctX: c, dataContextCountDistinctY: l } = b.scatterplotAggregationFields, u = {
2293
2292
  ...a,
2294
2293
  outStatistics: [
@@ -2312,7 +2311,7 @@ async function er(i) {
2312
2311
  abortKey: n
2313
2312
  });
2314
2313
  }
2315
- async function tr(i) {
2314
+ async function Zn(i) {
2316
2315
  const { statsMap: e, chartConfig: t, queryObject: a, options: n, queryConfig: r, abortKey: s } = i, {
2317
2316
  dataContextXMinField: o,
2318
2317
  dataContextXMaxField: c,
@@ -2321,22 +2320,22 @@ async function tr(i) {
2321
2320
  dataContextCountDistinctX: d,
2322
2321
  dataContextCountDistinctY: f
2323
2322
  } = b.scatterplotAggregationFields;
2324
- let m, g, y, p, x;
2325
- const F = e.get(o), C = e.get(c), B = e.get(l), N = e.get(u);
2326
- if (F != null && B !== void 0 && B !== null && C !== void 0 && C !== null && N !== void 0 && N !== null && !Number.isNaN(F + C + B + N)) {
2327
- const { maxScatterPointsAfterAggregation: v } = Re(n?.chartLimits), w = Math.floor(Math.sqrt(v)), L = await er({
2323
+ let m, g, y, p, C;
2324
+ const F = e.get(o), x = e.get(c), B = e.get(l), N = e.get(u);
2325
+ if (F != null && B !== void 0 && B !== null && x !== void 0 && x !== null && N !== void 0 && N !== null && !Number.isNaN(F + x + B + N)) {
2326
+ const { maxScatterPointsAfterAggregation: v } = Re(n?.chartLimits), w = Math.floor(Math.sqrt(v)), L = await Xn({
2328
2327
  queryObject: a,
2329
2328
  chartConfig: t,
2330
2329
  queryConfig: r,
2331
2330
  abortKey: s
2332
2331
  });
2333
- y = Math.min(L.get(f) ?? Number.NaN, w), p = Math.min(L.get(d) ?? Number.NaN, w), x = p * y, m = C === F ? 0 : (C - F) / (p - 1), g = N === B ? 0 : (N - B) / (y - 1), e.set(b.scatterplotAggregationFields.xStep, m), e.set(b.scatterplotAggregationFields.yStep, g), e.set(b.scatterplotAggregationFields.rowCount, y), e.set(b.scatterplotAggregationFields.columnCount, p), e.set(b.scatterplotAggregationFields.realGridSize, x);
2332
+ y = Math.min(L.get(f) ?? Number.NaN, w), p = Math.min(L.get(d) ?? Number.NaN, w), C = p * y, m = x === F ? 0 : (x - F) / (p - 1), g = N === B ? 0 : (N - B) / (y - 1), e.set(b.scatterplotAggregationFields.xStep, m), e.set(b.scatterplotAggregationFields.yStep, g), e.set(b.scatterplotAggregationFields.rowCount, y), e.set(b.scatterplotAggregationFields.columnCount, p), e.set(b.scatterplotAggregationFields.realGridSize, C);
2334
2333
  }
2335
2334
  }
2336
- function ir(i) {
2335
+ function er(i) {
2337
2336
  const { groupByFieldsForStatistics: e, x: t, y: a, xValue: n, yValue: r, xStep: s, yStep: o, endOfRow: c, endOfColumn: l } = i;
2338
2337
  let u = e === "" ? Me.groupByCaseBegin : e;
2339
- return u = de(Zn, {
2338
+ return u = de(Jn, {
2340
2339
  groupByFieldsForStatistics: u,
2341
2340
  x: t,
2342
2341
  y: a,
@@ -2354,7 +2353,7 @@ function ir(i) {
2354
2353
  // we use = to catch the last value of the line, < otherwise
2355
2354
  }), u;
2356
2355
  }
2357
- async function ar(i) {
2356
+ async function tr(i) {
2358
2357
  const { chartConfig: e, queryConfig: t, queryObject: a, xMin: n, xMax: r, yMin: s, yMax: o, abortKey: c } = i, l = e.series[0], { x: u, y: d } = l, f = { ...t };
2359
2358
  return f.where = Q([f.where, `${u}>=${n}`, `${u}<=${r}`]), u !== d && (f.where = Q([f.where, `${d}>=${s}`, `${d}<=${o}`])), await ye({
2360
2359
  queryObject: a,
@@ -2365,7 +2364,7 @@ async function ar(i) {
2365
2364
  abortKey: c
2366
2365
  });
2367
2366
  }
2368
- async function nr(i) {
2367
+ async function ir(i) {
2369
2368
  const { statsMap: e, chartConfig: t, queryObject: a, queryConfig: n, useQueryAttributeBins: r, errorStrings: s, abortKey: o } = i, c = t.series[0], { x: l, y: u } = c, {
2370
2369
  dataContextXMinField: d,
2371
2370
  dataContextXMaxField: f,
@@ -2374,9 +2373,9 @@ async function nr(i) {
2374
2373
  queryNumberOfFeatures: y,
2375
2374
  queryNumberOfAggregatedFeatures: p
2376
2375
  } = b.scatterplotAggregationFields;
2377
- let x;
2378
- const F = e?.get(d) ?? Number.NaN, C = e?.get(f) ?? Number.NaN, B = e?.get(y) ?? Number.NaN, N = e?.get(m) ?? F, v = e?.get(g) ?? C;
2379
- if (F != null && N !== void 0 && N !== null && C !== void 0 && C !== null && v !== void 0 && v !== null && !Number.isNaN(F + C + N + v)) {
2376
+ let C;
2377
+ const F = e?.get(d) ?? Number.NaN, x = e?.get(f) ?? Number.NaN, B = e?.get(y) ?? Number.NaN, N = e?.get(m) ?? F, v = e?.get(g) ?? x;
2378
+ if (F != null && N !== void 0 && N !== null && x !== void 0 && x !== null && v !== void 0 && v !== null && !Number.isNaN(F + x + N + v)) {
2380
2379
  const T = z(a), { objectIdField: w } = T, L = e?.get(b.scatterplotAggregationFields.xStep), D = e?.get(b.scatterplotAggregationFields.yStep), R = e?.get(b.scatterplotAggregationFields.realGridSize), M = e?.get(b.scatterplotAggregationFields.rowCount), q = e?.get(b.scatterplotAggregationFields.columnCount), A = /* @__PURE__ */ new Map(), O = await Te(a);
2381
2380
  if (O?.forEach((I) => {
2382
2381
  We(I) && A.set(I.name, {
@@ -2414,12 +2413,12 @@ async function nr(i) {
2414
2413
  ...n,
2415
2414
  outStatistics: [...A.values()]
2416
2415
  };
2417
- x = await ea({
2416
+ C = await ea({
2418
2417
  queryObject: a,
2419
2418
  queryConfig: I,
2420
2419
  xStep: L,
2421
2420
  xMin: F,
2422
- xMax: C,
2421
+ xMax: x,
2423
2422
  x: l,
2424
2423
  y: u,
2425
2424
  yStep: D,
@@ -2431,7 +2430,7 @@ async function nr(i) {
2431
2430
  let dt = !0, Oe = F, Ae = N, qe = "", Je = 1, ft = 1, Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER;
2432
2431
  for (; ft <= q && dt; ) {
2433
2432
  for (Ae = N, Je = 1; Je <= M && dt; ) {
2434
- if (qe = ir({
2433
+ if (qe = er({
2435
2434
  groupByFieldsForStatistics: qe,
2436
2435
  x: l,
2437
2436
  y: u,
@@ -2449,7 +2448,7 @@ async function nr(i) {
2449
2448
  outStatistics: [...A.values()]
2450
2449
  };
2451
2450
  Dt.push(
2452
- ar({
2451
+ tr({
2453
2452
  chartConfig: t,
2454
2453
  queryConfig: Vi,
2455
2454
  queryObject: a,
@@ -2465,13 +2464,13 @@ async function nr(i) {
2465
2464
  }
2466
2465
  Oe += L, ft += 1;
2467
2466
  }
2468
- x = (await Promise.all(Dt)).flat();
2467
+ C = (await Promise.all(Dt)).flat();
2469
2468
  }
2470
2469
  }
2471
2470
  }
2472
- return x;
2471
+ return C;
2473
2472
  }
2474
- const rr = {
2473
+ const ar = {
2475
2474
  dataFormat: "json",
2476
2475
  outputFormat: "json",
2477
2476
  typeKey: "analyticType",
@@ -2481,33 +2480,33 @@ const rr = {
2481
2480
  interceptPropertyList: ["Intercept", "INTERCEPT", "intercept"],
2482
2481
  r2PropertyList: ["R2", "r2"]
2483
2482
  };
2484
- async function sr(i) {
2483
+ async function nr(i) {
2485
2484
  const { queryObject: e } = i;
2486
2485
  let t = !1;
2487
2486
  const a = ia(e), n = z(e), r = ei(n);
2488
2487
  if (a && r.url !== void 0 && r.url !== null) {
2489
2488
  const s = `${r.url}/${r.layerId}?f=json`;
2490
2489
  try {
2491
- const o = (await Fa(s)).data, c = o?.advancedQueryCapabilities?.supportsQueryAnalytic === !0, l = o?.sqlParserVersion === void 0 || r.version != null && r.version >= 10.91;
2490
+ const o = (await Sa(s)).data, c = o?.advancedQueryCapabilities?.supportsQueryAnalytic === !0, l = o?.sqlParserVersion === void 0 || r.version != null && r.version >= 10.91;
2492
2491
  t = c && l;
2493
2492
  } catch {
2494
2493
  }
2495
2494
  }
2496
2495
  return t;
2497
2496
  }
2498
- function or(i) {
2497
+ function rr(i) {
2499
2498
  const { x: e, y: t, trendlineXToY: a, data: n } = i, [r, s] = n ? ki(n, (c) => c[e]) : [Number.NaN, Number.NaN];
2500
2499
  return [
2501
2500
  { [e]: r ?? Number.NaN, [t]: a(r ?? Number.NaN) },
2502
2501
  { [e]: s ?? Number.NaN, [t]: a(s ?? Number.NaN) }
2503
2502
  ];
2504
2503
  }
2505
- function lr(i) {
2504
+ function sr(i) {
2506
2505
  const { data: e, x: t, y: a } = i;
2507
2506
  let n = [];
2508
2507
  return e !== void 0 && (n = e.filter((r) => Number.isFinite(r[t]) && Number.isFinite(r[a])).map((r) => [r[t], r[a]])), n;
2509
2508
  }
2510
- async function cr(i) {
2509
+ async function or(i) {
2511
2510
  const { statsMap: e, queryObject: t, chartConfig: a, queryConfig: n } = i, r = a.series[0], { x: s, y: o } = r;
2512
2511
  let c = Number.NaN, l = [
2513
2512
  { [s]: Number.NaN, [o]: Number.NaN },
@@ -2521,18 +2520,18 @@ async function cr(i) {
2521
2520
  fieldValue: g,
2522
2521
  slopePropertyList: y,
2523
2522
  interceptPropertyList: p,
2524
- r2PropertyList: x
2525
- } = rr, F = `[{"${f}": "${m}", "${g}":"${s},${o}"}]`, C = await aa({
2523
+ r2PropertyList: C
2524
+ } = ar, F = `[{"${f}": "${m}", "${g}":"${s},${o}"}]`, x = await aa({
2526
2525
  queryObject: t,
2527
2526
  queryConfig: n,
2528
2527
  outputFormat: d,
2529
2528
  dataFormat: u,
2530
2529
  outAnalytics: F
2531
2530
  });
2532
- if (C !== void 0) {
2531
+ if (x !== void 0) {
2533
2532
  let B = Number.NaN, N = Number.NaN;
2534
- const { expr: v } = mt(C, y), { expr: T } = mt(C, p), { expr: w } = mt(C, x);
2535
- v !== void 0 && Number.isFinite(C[v]) && (B = C[v]), T !== void 0 && Number.isFinite(C[T]) && (N = C[T]), w !== void 0 && Number.isFinite(C[w]) && (c = C[w]);
2533
+ const { expr: v } = mt(x, y), { expr: T } = mt(x, p), { expr: w } = mt(x, C);
2534
+ v !== void 0 && Number.isFinite(x[v]) && (B = x[v]), T !== void 0 && Number.isFinite(x[T]) && (N = x[T]), w !== void 0 && Number.isFinite(x[w]) && (c = x[w]);
2536
2535
  const { dataContextXMinField: L, dataContextXMaxField: D, dataContextYMinField: R, dataContextYMaxField: M } = b.scatterplotAggregationFields, q = e.get(L) ?? Number.NaN, A = e.get(D) ?? Number.NaN, O = e.get(R) ?? Number.NaN, H = e.get(M) ?? Number.NaN, I = (A - q) / 100;
2537
2536
  let Z = q - I, ue = Number.NaN;
2538
2537
  for (; !(ue >= O && ue <= H) && Z <= A; )
@@ -2550,28 +2549,28 @@ async function cr(i) {
2550
2549
  function bi(i) {
2551
2550
  const { data: e, chartConfig: t } = i, a = t.series[0], { x: n, y: r } = a;
2552
2551
  let { r2: s, trendLinePoints: o } = b.scatterplotSeries;
2553
- const c = lr({ data: e, x: n, y: r });
2552
+ const c = sr({ data: e, x: n, y: r });
2554
2553
  if (c !== void 0) {
2555
- const l = Na(c), u = Ta(l);
2556
- s = Aa(c, u), o = or({ x: n, y: r, trendlineXToY: u, data: e });
2554
+ const l = va(c), u = Na(l);
2555
+ s = Ta(c, u), o = rr({ x: n, y: r, trendlineXToY: u, data: e });
2557
2556
  }
2558
2557
  return { r2: s, trendLinePoints: o };
2559
2558
  }
2560
- async function ur(i) {
2561
- const e = await sr(i), { chartConfig: t } = i, a = t.series[0], { x: n, y: r } = a, { r2: s } = b.scatterplotSeries, o = [
2559
+ async function lr(i) {
2560
+ const e = await nr(i), { chartConfig: t } = i, a = t.series[0], { x: n, y: r } = a, { r2: s } = b.scatterplotSeries, o = [
2562
2561
  { [n]: Number.NaN, [r]: Number.NaN },
2563
2562
  { [n]: Number.NaN, [r]: Number.NaN }
2564
2563
  ];
2565
2564
  let c = { r2: s, trendLinePoints: o }, l = !1;
2566
2565
  if (e)
2567
2566
  try {
2568
- c = await cr(i);
2567
+ c = await or(i);
2569
2568
  } catch {
2570
2569
  l = !0;
2571
2570
  }
2572
2571
  return (!e || l) && (c = bi(i)), c;
2573
2572
  }
2574
- async function dr(i) {
2573
+ async function cr(i) {
2575
2574
  const { chartConfig: e, queryConfig: t, queryObject: a, abortKey: n } = i, r = e.series[0], { x: s, y: o } = r;
2576
2575
  let c = /* @__PURE__ */ new Map();
2577
2576
  const {
@@ -2620,36 +2619,36 @@ function at(i) {
2620
2619
  const { value: e, valueMin: t, valueMax: a } = i;
2621
2620
  return e === t || e === a ? e : Math.random() * (a - t) + t;
2622
2621
  }
2623
- function fr(i) {
2622
+ function ur(i) {
2624
2623
  const { useQueryAttributeBins: e, graphic: t, x: a, y: n, yStep: r } = i, { groupByOutKeyword: s } = Me, { dataContextXMinField: o, dataContextXMaxField: c, dataContextYMinField: l, dataContextYMaxField: u } = b.scatterplotAggregationFields;
2625
2624
  let d = [];
2626
2625
  if (e && "stackedAttributes" in t && t.stackedAttributes) {
2627
2626
  const f = sa(a, n), m = t.attributes[f.lowerBoundaryAlias], g = t.attributes[f.upperBoundaryAlias];
2628
2627
  t.stackedAttributes.forEach((y) => {
2629
- let p = y[f.stackAlias], x;
2630
- typeof p == "number" && typeof r == "number" && (p *= r), typeof p == "number" && typeof r == "number" && (x = p + r);
2631
- const F = y[a], C = y[n];
2632
- typeof p == "number" && typeof x == "number" && typeof F == "number" && typeof C == "number" && d.push({
2628
+ let p = y[f.stackAlias], C;
2629
+ typeof p == "number" && typeof r == "number" && (p *= r), typeof p == "number" && typeof r == "number" && (C = p + r);
2630
+ const F = y[a], x = y[n];
2631
+ typeof p == "number" && typeof C == "number" && typeof F == "number" && typeof x == "number" && d.push({
2633
2632
  ...y,
2634
2633
  [a]: at({ value: F, valueMin: m, valueMax: g }),
2635
- [n]: at({ value: C, valueMin: p, valueMax: x }),
2634
+ [n]: at({ value: x, valueMin: p, valueMax: C }),
2636
2635
  [o]: Math.min(m, g),
2637
2636
  [c]: Math.max(m, g),
2638
2637
  [l]: p,
2639
- [u]: x
2638
+ [u]: C
2640
2639
  });
2641
2640
  });
2642
2641
  } else {
2643
2642
  const { expr: f, isInItem: m } = lt(t.attributes);
2644
2643
  if (m && f && t.attributes[f] !== s) {
2645
- let [g, y, p, x] = t.attributes[f].split("|");
2646
- g = Math.min(g, y), y = Math.max(g, y), p = Math.min(p, x), x = Math.max(p, x);
2644
+ let [g, y, p, C] = t.attributes[f].split("|");
2645
+ g = Math.min(g, y), y = Math.max(g, y), p = Math.min(p, C), C = Math.max(p, C);
2647
2646
  const F = {
2648
2647
  ...t.attributes,
2649
2648
  [o]: g,
2650
2649
  [c]: y,
2651
2650
  [l]: p,
2652
- [u]: x
2651
+ [u]: C
2653
2652
  };
2654
2653
  F[a] = at({
2655
2654
  value: F[a],
@@ -2658,17 +2657,17 @@ function fr(i) {
2658
2657
  }), F[n] = at({
2659
2658
  value: F[n],
2660
2659
  valueMin: p,
2661
- valueMax: x
2660
+ valueMax: C
2662
2661
  }), d = [F];
2663
2662
  }
2664
2663
  }
2665
2664
  return d;
2666
2665
  }
2667
- async function mr(i) {
2666
+ async function dr(i) {
2668
2667
  const { queryObject: e, chartConfig: t, rawData: a, isAggregationMode: n, yStep: r, useQueryAttributeBins: s } = i, o = t.series[0], { x: c, y: l } = o, d = z(e).objectIdField;
2669
2668
  let m = (Array.isArray(a) ? a : a?.features)?.flatMap((g) => {
2670
2669
  let y = [{ ...g.attributes }];
2671
- return Mt(y[0], [c, l]), n ? y = fr({
2670
+ return Mt(y[0], [c, l]), n ? y = ur({
2672
2671
  useQueryAttributeBins: s,
2673
2672
  graphic: g,
2674
2673
  x: c,
@@ -2681,7 +2680,7 @@ async function mr(i) {
2681
2680
  return Number.isFinite(g[c]) && Number.isFinite(g[l]) && (y === void 0 || g[y] !== Me.groupByOutKeyword);
2682
2681
  }), m ?? [];
2683
2682
  }
2684
- async function gr(i) {
2683
+ async function fr(i) {
2685
2684
  const { queryObject: e, queryConfig: t, chartConfig: a, featureCount: n, abortKey: r } = i, s = a.series[0], { x: o, y: c } = s, l = z(e);
2686
2685
  let u = [];
2687
2686
  const f = ((await Te(e))?.filter((p) => We(p) && p.name !== o && p.name !== c) ?? []).map(
@@ -2690,8 +2689,8 @@ async function gr(i) {
2690
2689
  /* @__PURE__ */ new Set([o, c, l.objectIdField, ...f, ...m])
2691
2690
  );
2692
2691
  if (!ei(l).isTable) {
2693
- const { rendererField: p, rendererNormalizationField: x } = ra(l?.renderer ?? void 0);
2694
- ee(p) || g.push(p), ee(x) || g.push(x);
2692
+ const { rendererField: p, rendererNormalizationField: C } = ra(l?.renderer ?? void 0);
2693
+ ee(p) || g.push(p), ee(C) || g.push(C);
2695
2694
  }
2696
2695
  const y = {
2697
2696
  ...t,
@@ -2705,7 +2704,7 @@ async function gr(i) {
2705
2704
  abortKey: r
2706
2705
  }), u;
2707
2706
  }
2708
- async function yr(i) {
2707
+ async function mr(i) {
2709
2708
  let e;
2710
2709
  const {
2711
2710
  chartConfig: t,
@@ -2720,7 +2719,7 @@ async function yr(i) {
2720
2719
  } = i, d = t.series[0], { x: f, y: m } = d;
2721
2720
  if (!Number.isNaN(s) && s > 0) {
2722
2721
  const g = { ...a };
2723
- g.where = Q([g.where, `${f} IS NOT NULL`, `${m} IS NOT NULL`]), o ? e = await nr({
2722
+ g.where = Q([g.where, `${f} IS NOT NULL`, `${m} IS NOT NULL`]), o ? e = await ir({
2724
2723
  chartConfig: t,
2725
2724
  queryObject: n,
2726
2725
  queryConfig: g,
@@ -2728,7 +2727,7 @@ async function yr(i) {
2728
2727
  useQueryAttributeBins: c,
2729
2728
  errorStrings: l,
2730
2729
  abortKey: u
2731
- }) : e = await gr({
2730
+ }) : e = await fr({
2732
2731
  queryObject: n,
2733
2732
  chartConfig: t,
2734
2733
  queryConfig: g,
@@ -2739,13 +2738,13 @@ async function yr(i) {
2739
2738
  return e;
2740
2739
  }
2741
2740
  async function xi(i) {
2742
- const { chartConfig: e, queryConfig: t, queryObject: a, sortData: n, calculateTrendLine: r, options: s, abortKey: o } = i, c = await dr({
2741
+ const { chartConfig: e, queryConfig: t, queryObject: a, sortData: n, calculateTrendLine: r, options: s, abortKey: o } = i, c = await cr({
2743
2742
  chartConfig: e,
2744
2743
  queryConfig: t,
2745
2744
  queryObject: a,
2746
2745
  abortKey: o
2747
2746
  }), { queryNumberOfFeatures: l, yStep: u } = b.scatterplotAggregationFields, { maxScatterPointsBeforeAggregation: d } = Re(s?.chartLimits), f = c?.get(l) ?? Number.NaN, m = f >= d, g = na(a);
2748
- m && await tr({
2747
+ m && await Zn({
2749
2748
  statsMap: c,
2750
2749
  chartConfig: e,
2751
2750
  queryObject: a,
@@ -2753,13 +2752,13 @@ async function xi(i) {
2753
2752
  queryConfig: t,
2754
2753
  abortKey: o
2755
2754
  });
2756
- const y = await yr({
2755
+ const y = await mr({
2757
2756
  ...i,
2758
2757
  statsMap: c,
2759
2758
  numberOfFeatures: f,
2760
2759
  isAggregationMode: m,
2761
2760
  useQueryAttributeBins: g
2762
- }), p = await mr({
2761
+ }), p = await dr({
2763
2762
  queryObject: a,
2764
2763
  chartConfig: e,
2765
2764
  rawData: y,
@@ -2772,7 +2771,7 @@ async function xi(i) {
2772
2771
  sortingField: e.series[0].x,
2773
2772
  orderBy: me.Ascending
2774
2773
  });
2775
- const { r2: x, trendLinePoints: F } = r !== !1 ? await ur({
2774
+ const { r2: C, trendLinePoints: F } = r !== !1 ? await lr({
2776
2775
  data: p,
2777
2776
  statsMap: c,
2778
2777
  queryConfig: t,
@@ -2780,9 +2779,9 @@ async function xi(i) {
2780
2779
  queryObject: a,
2781
2780
  chartConfig: e
2782
2781
  }) : b.scatterplotSeries;
2783
- return { dataItems: p, r2: x, trendLinePoints: F, aggregated: m };
2782
+ return { dataItems: p, r2: C, trendLinePoints: F, aggregated: m };
2784
2783
  }
2785
- function pr(i) {
2784
+ function gr(i) {
2786
2785
  const { itemsA: e, itemsB: t, isPieFromFields: a, x: n, y: r, outStatisticFieldName: s } = i, o = Fe(e), c = Fe(t);
2787
2786
  let l = !1;
2788
2787
  if (o === void 0 && c !== void 0 || o !== void 0 && c === void 0)
@@ -2806,23 +2805,23 @@ function pr(i) {
2806
2805
  k.valueField,
2807
2806
  ...oa
2808
2807
  ], d = (y, p) => {
2809
- const x = p[b.typeOrDomainFieldName];
2810
- typeof x == "string" && p[x] !== void 0 && (p[x] = p[b.typeOrDomainIdValue]), n && p[k.xField] !== void 0 && (p[n] = p[k.xField], delete p[k.xField]), r && p[k.yField] !== void 0 && (p[r] = p[k.yField], delete p[k.yField]), s && p[k.valueField] !== void 0 && (p[s] = p[k.valueField], delete p[k.valueField]);
2808
+ const C = p[b.typeOrDomainFieldName];
2809
+ typeof C == "string" && p[C] !== void 0 && (p[C] = p[b.typeOrDomainIdValue]), n && p[k.xField] !== void 0 && (p[n] = p[k.xField], delete p[k.xField]), r && p[k.yField] !== void 0 && (p[r] = p[k.yField], delete p[k.yField]), s && p[k.valueField] !== void 0 && (p[s] = p[k.valueField], delete p[k.valueField]);
2811
2810
  const F = {};
2812
- return Object.keys(p).forEach((C) => {
2813
- !u.includes(C) && !C.includes(b.rendererSymbolField) && (F[C] = p[C]);
2811
+ return Object.keys(p).forEach((x) => {
2812
+ !u.includes(x) && !x.includes(b.rendererSymbolField) && (F[x] = p[x]);
2814
2813
  }), y.push(F), y;
2815
2814
  }, f = (y, p) => JSON.stringify(y).localeCompare(JSON.stringify(p)), m = o?.reduce(d, [])?.sort(f), g = c?.reduce(d, [])?.sort(f);
2816
2815
  l = m?.length !== g?.length || !Le(m, g);
2817
2816
  }
2818
2817
  return l;
2819
2818
  }
2820
- function hr(i) {
2819
+ function yr(i) {
2821
2820
  const { chartConfig: e, currentSelectionDataItems: t, options: a } = i, { selectionData: n } = a ?? {};
2822
2821
  let r = [];
2823
2822
  if (e !== void 0) {
2824
2823
  const s = e.series, o = E(s), { selectionItems: c } = n ?? {};
2825
- if (c !== void 0 && pr({
2824
+ if (c !== void 0 && gr({
2826
2825
  itemsA: c,
2827
2826
  itemsB: t,
2828
2827
  isPieFromFields: E(e.series) === h.PieFromFields,
@@ -2851,7 +2850,7 @@ function Be(i, e) {
2851
2850
  }
2852
2851
  return t;
2853
2852
  }
2854
- function Sr(i) {
2853
+ function pr(i) {
2855
2854
  const { dataContext: e, xAxisField: t, yAxisField: a, options: n } = i;
2856
2855
  let r = "";
2857
2856
  const { dataContextXMinField: s, dataContextXMaxField: o, dataContextYMinField: c, dataContextYMaxField: l } = b.scatterplotAggregationFields;
@@ -2905,7 +2904,7 @@ function vi(i) {
2905
2904
  }
2906
2905
  const c = be({ where: a ?? "", normalize: !1, escape: !0 });
2907
2906
  let l = "";
2908
- if (Qa(s) === !0) {
2907
+ if (ja(s) === !0) {
2909
2908
  const d = E(s.series) === h.BoxPlotMultiFieldsAndCategory ? t : void 0, f = U({
2910
2909
  key: V.Min,
2911
2910
  showOutliers: !0,
@@ -2924,7 +2923,7 @@ function vi(i) {
2924
2923
  }
2925
2924
  return Q([o, c, l]);
2926
2925
  }
2927
- function Fr(i) {
2926
+ function hr(i) {
2928
2927
  const { xAxisField: e, splitBy: t, dataContext: a, xAxisFieldType: n, chartConfig: r } = i;
2929
2928
  let s = "";
2930
2929
  if (b.dateBinningRange in a)
@@ -2945,7 +2944,7 @@ function Fr(i) {
2945
2944
  const o = be({ where: t ?? "", normalize: !1, escape: !0 });
2946
2945
  return Q([s, o]);
2947
2946
  }
2948
- function br(i) {
2947
+ function Sr(i) {
2949
2948
  const { xAxisField: e, dataContext: t, chartConfig: a } = i;
2950
2949
  let n = b.typeOrDomainIdValue in t ? t[b.typeOrDomainIdValue] : t[b.originalCategoryValue];
2951
2950
  return n === void 0 && (n = t[e]), E(a.series) === h.PieFromFields ? "" : be({
@@ -2968,7 +2967,7 @@ function Qt(i) {
2968
2967
  });
2969
2968
  return l && (c = `${l}=${a}`), c;
2970
2969
  }
2971
- function xr(i) {
2970
+ function Fr(i) {
2972
2971
  const {
2973
2972
  xAxisFieldType: e,
2974
2973
  yAxisFieldType: t,
@@ -3007,12 +3006,12 @@ function xr(i) {
3007
3006
  }
3008
3007
  return l;
3009
3008
  }
3010
- function Cr(i) {
3009
+ function br(i) {
3011
3010
  const { xAxisField: e, dataContext: t, chartConfig: a } = i;
3012
3011
  let n = "";
3013
3012
  const r = a.series[0], { minValue: s, maxValue: o } = t;
3014
3013
  if (Number.isFinite(s) && Number.isFinite(o) && r.type === S.HistogramSeries) {
3015
- const c = Ja(e, r.dataTransformationType), l = t.isLastBin ? "<=" : "<";
3014
+ const c = Ya(e, r.dataTransformationType), l = t.isLastBin ? "<=" : "<";
3016
3015
  n = Q([
3017
3016
  `${c}>=${s?.toString()}`,
3018
3017
  `${c}${l}${o?.toString()}`
@@ -3020,39 +3019,39 @@ function Cr(i) {
3020
3019
  }
3021
3020
  return n;
3022
3021
  }
3023
- function Xo(i) {
3022
+ function Yo(i) {
3024
3023
  const { chartConfig: e } = i, t = W(e.series);
3025
3024
  let a = "";
3026
3025
  switch (t) {
3027
3026
  case S.ScatterSeries:
3028
- a = Sr(i);
3027
+ a = pr(i);
3029
3028
  break;
3030
3029
  case S.HeatSeries:
3031
- a = xr(i);
3030
+ a = Fr(i);
3032
3031
  break;
3033
3032
  case S.RadarSeries:
3034
3033
  case S.BarSeries:
3035
3034
  case S.LineSeries:
3036
3035
  case S.ComboLineAndBarSeries:
3037
- a = Fr(i);
3036
+ a = hr(i);
3038
3037
  break;
3039
3038
  case S.BoxPlotSeries:
3040
3039
  a = vi(i);
3041
3040
  break;
3042
3041
  case S.HistogramSeries:
3043
- a = Cr(i);
3042
+ a = br(i);
3044
3043
  break;
3045
3044
  case S.PieSeries:
3046
- a = br(i);
3045
+ a = Sr(i);
3047
3046
  break;
3048
3047
  }
3049
3048
  return a;
3050
3049
  }
3051
- async function Br(i) {
3050
+ async function xr(i) {
3052
3051
  const { numberOfQueries: e, selectionOIDs: t, chartConfig: a, queryConfig: n, options: r, errorStrings: s, queryObject: o } = i, { setTimeBinningInfoWhenNotProvided: c } = r ?? {}, { series: l } = a, u = W(l), d = [], { maxOIDsPerSelectionQuery: f } = Ue();
3053
3052
  for (let g = 0; g < e; g += 1) {
3054
- const y = g * f, p = (g + 1) * f - 1, x = t.slice(y === 0 ? 0 : y - 1, p), F = { ...n };
3055
- switch (F.objectIds = x, u) {
3053
+ const y = g * f, p = (g + 1) * f - 1, C = t.slice(y === 0 ? 0 : y - 1, p), F = { ...n };
3054
+ switch (F.objectIds = C, u) {
3056
3055
  case S.HeatSeries:
3057
3056
  d.push(
3058
3057
  Di({
@@ -3076,10 +3075,10 @@ async function Br(i) {
3076
3075
  setTimeBinningInfoWhenNotProvided: c,
3077
3076
  seriesConfig: l[0]
3078
3077
  })) {
3079
- const C = a;
3080
- "temporalBinning" in C.series[0] && C.series[0].temporalBinning && (C.series[0].temporalBinning.trimIncompleteTimeInterval = !1, Qe(o) && (delete C.series[0].temporalBinning.start, delete C.series[0].temporalBinning.end)), d.push(
3078
+ const x = a;
3079
+ "temporalBinning" in x.series[0] && x.series[0].temporalBinning && (x.series[0].temporalBinning.trimIncompleteTimeInterval = !1, Qe(o) && (delete x.series[0].temporalBinning.start, delete x.series[0].temporalBinning.end)), d.push(
3081
3080
  wt({
3082
- chartConfig: C,
3081
+ chartConfig: x,
3083
3082
  queryConfig: F,
3084
3083
  queryObject: o,
3085
3084
  options: r
@@ -3087,7 +3086,7 @@ async function Br(i) {
3087
3086
  );
3088
3087
  } else
3089
3088
  d.push(
3090
- fs({
3089
+ us({
3091
3090
  queryObject: o,
3092
3091
  chartConfig: a,
3093
3092
  options: r,
@@ -3097,7 +3096,7 @@ async function Br(i) {
3097
3096
  break;
3098
3097
  case S.BoxPlotSeries:
3099
3098
  d.push(
3100
- ms({
3099
+ ds({
3101
3100
  queryObject: o,
3102
3101
  chartConfig: a,
3103
3102
  options: r,
@@ -3123,7 +3122,7 @@ async function Br(i) {
3123
3122
  break;
3124
3123
  case S.HistogramSeries:
3125
3124
  d.push(
3126
- Xn({
3125
+ Kn({
3127
3126
  queryObject: o,
3128
3127
  queryConfig: F,
3129
3128
  chartConfig: a,
@@ -3135,7 +3134,7 @@ async function Br(i) {
3135
3134
  }
3136
3135
  return await Promise.all(d);
3137
3136
  }
3138
- function vr(i) {
3137
+ function Cr(i) {
3139
3138
  const { dataFetchingResults: e, numberOfQueries: t, series: a } = i, n = W(a), r = E(a);
3140
3139
  let s = [];
3141
3140
  const o = /* @__PURE__ */ new Map();
@@ -3178,7 +3177,7 @@ function vr(i) {
3178
3177
  }
3179
3178
  return o.size > 0 && (s = Array.from(o.values())), s;
3180
3179
  }
3181
- async function Nr(i) {
3180
+ async function Br(i) {
3182
3181
  const {
3183
3182
  chartConfig: e,
3184
3183
  queryConfig: t,
@@ -3190,16 +3189,16 @@ async function Nr(i) {
3190
3189
  errorStrings: c
3191
3190
  } = i, { series: l } = e, { selectionData: u, viewExtentUpdated: d, returnSelectionOIDs: f, chartLimits: m } = o ?? {}, { selectionItems: g, selectionOIDs: y } = u ?? {};
3192
3191
  let p;
3193
- const x = W(l), F = x !== S.HistogramSeries && x !== S.HeatSeries && g !== void 0 && g.length > 0 && !(l[0].x in g[0]) && !(ne in g[0]) && !(b.boxPlot.boxPlotCategory in g[0]);
3192
+ const C = W(l), F = C !== S.HistogramSeries && C !== S.HeatSeries && g !== void 0 && g.length > 0 && !(l[0].x in g[0]) && !(ne in g[0]) && !(b.boxPlot.boxPlotCategory in g[0]);
3194
3193
  if (d !== !0 && f !== !1 && y !== void 0 && y.length > 0 && (r === !0 || F || y.length !== n?.length || !Le(y, n))) {
3195
3194
  const B = _t(a);
3196
- if (B !== void 0 && !Ka({ dataContext: B[0], chartConfig: e, chartLimits: m }))
3195
+ if (B !== void 0 && !_a({ dataContext: B[0], chartConfig: e, chartLimits: m }))
3197
3196
  p = B.filter((N) => {
3198
3197
  const v = N[Y.uniqueIdsName];
3199
3198
  return typeof v == "number" ? y?.includes(v) : !1;
3200
3199
  });
3201
3200
  else if (y?.[0] !== void 0 && t !== void 0) {
3202
- const { maxOIDsPerSelectionQuery: N } = Ue(), v = Math.ceil(y.length / N), T = await Br({
3201
+ const { maxOIDsPerSelectionQuery: N } = Ue(), v = Math.ceil(y.length / N), T = await xr({
3203
3202
  numberOfQueries: v,
3204
3203
  selectionOIDs: y,
3205
3204
  queryConfig: t,
@@ -3208,7 +3207,7 @@ async function Nr(i) {
3208
3207
  errorStrings: c,
3209
3208
  chartConfig: e
3210
3209
  });
3211
- p = vr({
3210
+ p = Cr({
3212
3211
  dataFetchingResults: T,
3213
3212
  numberOfQueries: v,
3214
3213
  series: l
@@ -3217,7 +3216,7 @@ async function Nr(i) {
3217
3216
  }
3218
3217
  return p;
3219
3218
  }
3220
- function* Tr(i) {
3219
+ function* vr(i) {
3221
3220
  const { filterList: e, queryObject: t, queryConfig: a } = i;
3222
3221
  for (let n = 0; n < e.length; n += 1) {
3223
3222
  const r = { ...a };
@@ -3228,7 +3227,7 @@ function* Tr(i) {
3228
3227
  });
3229
3228
  }
3230
3229
  }
3231
- async function Zo(i) {
3230
+ async function Ko(i) {
3232
3231
  const { whereList: e, queryObject: t, queryFilter: a, queryConfig: n } = i;
3233
3232
  let r = [];
3234
3233
  if (e.length > 0) {
@@ -3238,7 +3237,7 @@ async function Zo(i) {
3238
3237
  let g = Q(m, "OR");
3239
3238
  g = Q([a, g]), o.push(g);
3240
3239
  }
3241
- const l = Tr({
3240
+ const l = vr({
3242
3241
  filterList: o,
3243
3242
  queryObject: t,
3244
3243
  queryConfig: n
@@ -3247,7 +3246,7 @@ async function Zo(i) {
3247
3246
  }
3248
3247
  return r;
3249
3248
  }
3250
- async function Ar(i) {
3249
+ async function Nr(i) {
3251
3250
  const { queryObject: e, queryConfig: t, chartConfig: a, currentSelectionDataItems: n, options: r, errorStrings: s, abortKey: o } = i, c = E(a.series);
3252
3251
  let l = { valid: !0, data: { dataItems: [] } };
3253
3252
  if (n !== void 0 && n.length > 0) {
@@ -3255,7 +3254,7 @@ async function Ar(i) {
3255
3254
  let m;
3256
3255
  e !== void 0 && (m = (await Te(e)).find((B) => B.name === d)?.type);
3257
3256
  const g = [], y = n.reduce(
3258
- (C, B) => {
3257
+ (x, B) => {
3259
3258
  const N = [];
3260
3259
  if (Y.uniqueIdsName in B)
3261
3260
  g.push(B[Y.uniqueIdsName]);
@@ -3289,19 +3288,19 @@ async function Ar(i) {
3289
3288
  dataContext: B,
3290
3289
  xAxisFieldType: m
3291
3290
  });
3292
- C.push(L);
3291
+ x.push(L);
3293
3292
  });
3294
3293
  }
3295
- return C;
3294
+ return x;
3296
3295
  },
3297
3296
  []
3298
3297
  ), p = z(e);
3299
3298
  if (p !== void 0 && g.length > 0) {
3300
- const { objectIdField: C } = p;
3301
- y.push(`${C} IN (${g.join(",")})`);
3299
+ const { objectIdField: x } = p;
3300
+ y.push(`${x} IN (${g.join(",")})`);
3302
3301
  }
3303
- const x = y.join(" OR "), F = { ...t };
3304
- F.where = Q([F.where, x]), l = await Pt({
3302
+ const C = y.join(" OR "), F = { ...t };
3303
+ F.where = Q([F.where, C]), l = await Pt({
3305
3304
  queryObject: e,
3306
3305
  chartConfig: a,
3307
3306
  queryConfig: F,
@@ -3312,7 +3311,7 @@ async function Ar(i) {
3312
3311
  }
3313
3312
  return l;
3314
3313
  }
3315
- async function Pr(i) {
3314
+ async function Tr(i) {
3316
3315
  const {
3317
3316
  queryObject: e,
3318
3317
  queryConfig: t,
@@ -3325,7 +3324,7 @@ async function Pr(i) {
3325
3324
  abortKey: l
3326
3325
  } = i, { series: u } = a, d = W(u), f = pe(a);
3327
3326
  let m = { valid: !0 }, g;
3328
- di({ currentSelectionOIDs: r, options: o }) ? g = await Nr({
3327
+ di({ currentSelectionOIDs: r, options: o }) ? g = await Br({
3329
3328
  chartConfig: a,
3330
3329
  queryConfig: t,
3331
3330
  chartData: s,
@@ -3334,7 +3333,7 @@ async function Pr(i) {
3334
3333
  queryObject: e,
3335
3334
  options: o,
3336
3335
  errorStrings: c
3337
- }) ?? [] : g = hr({ chartConfig: a, currentSelectionDataItems: n, options: o });
3336
+ }) ?? [] : g = yr({ chartConfig: a, currentSelectionDataItems: n, options: o });
3338
3337
  let y = !1;
3339
3338
  switch (d) {
3340
3339
  case S.HeatSeries:
@@ -3342,16 +3341,16 @@ async function Pr(i) {
3342
3341
  break;
3343
3342
  case S.PieSeries:
3344
3343
  if (E(a.series) === h.PieFromFields) {
3345
- const { x: p, y: x } = a.series[0], F = Fe(g);
3346
- F.forEach((C) => {
3347
- p in C && (C[ne] = C[p], delete C[p]), x in C && (C[he] = C[x], delete C[x]);
3344
+ const { x: p, y: C } = a.series[0], F = Fe(g);
3345
+ F.forEach((x) => {
3346
+ p in x && (x[ne] = x[p], delete x[p]), C in x && (x[he] = x[C], delete x[C]);
3348
3347
  }), m.data = { dataItems: F };
3349
3348
  } else
3350
3349
  m.data = { dataItems: g };
3351
3350
  m.count = g.length, y = !0;
3352
3351
  break;
3353
3352
  case S.BoxPlotSeries:
3354
- m = await Ar(i);
3353
+ m = await Nr(i);
3355
3354
  break;
3356
3355
  case S.BarSeries:
3357
3356
  case S.ComboLineAndBarSeries:
@@ -3368,8 +3367,8 @@ async function Pr(i) {
3368
3367
  if (n !== void 0 && n.length > 0) {
3369
3368
  const F = n.map(
3370
3369
  (B) => Ci(u[0].x, B)
3371
- ), C = Q(F, "OR");
3372
- p.where = Q([p.where, C]);
3370
+ ), x = Q(F, "OR");
3371
+ p.where = Q([p.where, x]);
3373
3372
  }
3374
3373
  m = await wt({
3375
3374
  queryObject: e,
@@ -3390,14 +3389,14 @@ async function Pr(i) {
3390
3389
  bins: []
3391
3390
  }, m.count = 0;
3392
3391
  else {
3393
- const { x: p } = u[0], x = g.map((B, N) => {
3392
+ const { x: p } = u[0], C = g.map((B, N) => {
3394
3393
  const { minValue: v, maxValue: T } = B, w = N === g.length - 1 ? "<=" : "<";
3395
3394
  return `${p} >= ${v} AND ${p} ${w} ${T}`;
3396
- }), F = Q(x, "OR"), C = { ...t };
3397
- C.where = Q([C.where, F]), m = await Fi({
3395
+ }), F = Q(C, "OR"), x = { ...t };
3396
+ x.where = Q([x.where, F]), m = await Fi({
3398
3397
  queryObject: e,
3399
3398
  chartConfig: a,
3400
- queryConfig: C,
3399
+ queryConfig: x,
3401
3400
  options: o,
3402
3401
  errorStrings: c,
3403
3402
  abortKey: l
@@ -3407,14 +3406,14 @@ async function Pr(i) {
3407
3406
  }
3408
3407
  case S.ScatterSeries: {
3409
3408
  if (g.length === 0) {
3410
- const { r2: p, trendLinePoints: x } = b.scatterplotSeries;
3411
- m.data = { dataItems: [], r2: p, trendLinePoints: x, count: 0 }, m.count = 0;
3409
+ const { r2: p, trendLinePoints: C } = b.scatterplotSeries;
3410
+ m.data = { dataItems: [], r2: p, trendLinePoints: C, count: 0 }, m.count = 0;
3412
3411
  } else {
3413
- const { r2: p, trendLinePoints: x } = bi({
3412
+ const { r2: p, trendLinePoints: C } = bi({
3414
3413
  data: g,
3415
3414
  chartConfig: a
3416
3415
  });
3417
- m.data = { dataItems: g, r2: p, trendLinePoints: x }, m.count = g.length;
3416
+ m.data = { dataItems: g, r2: p, trendLinePoints: C }, m.count = g.length;
3418
3417
  }
3419
3418
  break;
3420
3419
  }
@@ -3440,7 +3439,7 @@ async function Pt(i) {
3440
3439
  else {
3441
3440
  const u = { dataItems: [] };
3442
3441
  u.meanLines = l.data.dataItems;
3443
- const d = hn(t), f = (await Bt({
3442
+ const d = yn(t), f = (await Bt({
3444
3443
  queryObject: e,
3445
3444
  queryConfig: a,
3446
3445
  fetchFullBoxPlotData: !0,
@@ -3452,11 +3451,11 @@ async function Pt(i) {
3452
3451
  }
3453
3452
  return o;
3454
3453
  }
3455
- async function Lr(i) {
3454
+ async function Ar(i) {
3456
3455
  const { queryObject: e, chartConfig: t, queryConfig: a, binnedServerData: n, options: r, errorStrings: s, abortKey: o, fieldList: c } = i, { series: l } = t, { filterBySelection: u } = r ?? {}, d = W(l);
3457
3456
  let f = { valid: !0 };
3458
3457
  if (u === !0)
3459
- f = await Pr(i);
3458
+ f = await Tr(i);
3460
3459
  else
3461
3460
  switch (d) {
3462
3461
  case S.HeatSeries:
@@ -3506,7 +3505,7 @@ async function Lr(i) {
3506
3505
  });
3507
3506
  break;
3508
3507
  case S.GaugeSeries:
3509
- f = await jn({
3508
+ f = await Rn({
3510
3509
  queryObject: e,
3511
3510
  chartConfig: t,
3512
3511
  queryConfig: a,
@@ -3517,7 +3516,7 @@ async function Lr(i) {
3517
3516
  }
3518
3517
  return f;
3519
3518
  }
3520
- async function el(i) {
3519
+ async function Jo(i) {
3521
3520
  const {
3522
3521
  queryObject: e,
3523
3522
  chartConfig: t,
@@ -3537,7 +3536,7 @@ async function el(i) {
3537
3536
  runtimeDataFilters: c?.runtimeDataFilters,
3538
3537
  ignoreViewExtent: c?.ignoreViewExtent
3539
3538
  });
3540
- return ca(a), d = await Lr({
3539
+ return ca(a), d = await Ar({
3541
3540
  chartConfig: t,
3542
3541
  queryObject: e,
3543
3542
  queryConfig: f,
@@ -3551,7 +3550,7 @@ async function el(i) {
3551
3550
  fieldList: u
3552
3551
  }), d.queryConfig = f, d;
3553
3552
  }
3554
- function Mr(i, e, t) {
3553
+ function Pr(i, e, t) {
3555
3554
  const a = /* @__PURE__ */ new Map();
3556
3555
  for (let r = 0; r < i.length; r += 1)
3557
3556
  a.set(i[r], { [t]: i[r] });
@@ -3561,7 +3560,7 @@ function Mr(i, e, t) {
3561
3560
  }
3562
3561
  return [...a.values()];
3563
3562
  }
3564
- async function wr(i) {
3563
+ async function Lr(i) {
3565
3564
  const { seriesData: e, chartConfig: t, queryConfig: a, queryObject: n, categoryOrDateCount: r, behaviorAfterLimit: s, abortKey: o } = i, { series: c } = t;
3566
3565
  let l = e;
3567
3566
  const u = E(c), d = pe(t);
@@ -3578,11 +3577,11 @@ async function wr(i) {
3578
3577
  featureCount: r,
3579
3578
  abortKey: o
3580
3579
  })).map((p) => p.attributes[f]).filter((p) => p != null);
3581
- y.length > e.length && (l = Mr(y, e, f));
3580
+ y.length > e.length && (l = Pr(y, e, f));
3582
3581
  }
3583
3582
  return l;
3584
3583
  }
3585
- function Dr(i, e) {
3584
+ function Mr(i, e) {
3586
3585
  const t = i, { series: a } = e;
3587
3586
  if (pe(e) === S.CategoryAxisFormat && a[0].query?.outStatistics?.[0].statisticType === P.Count) {
3588
3587
  const n = a.reduce(
@@ -3605,7 +3604,7 @@ const Ni = [
3605
3604
  h.BoxPlotMonoFieldAndCategory,
3606
3605
  h.BoxPlotMultiFieldsAndCategory,
3607
3606
  h.BoxPlotMonoFieldAndCategoryAndSplitBy
3608
- ], Or = 8e3;
3607
+ ], wr = 8e3;
3609
3608
  function Ti(i, e) {
3610
3609
  let t = i;
3611
3610
  return e === j.Week ? t /= 7 : e === j.Month ? t /= 30 : e === j.Year && (t /= 365), t = Math.ceil(t), t;
@@ -3632,7 +3631,7 @@ function ve(i) {
3632
3631
  }
3633
3632
  return e;
3634
3633
  }
3635
- function qr(i) {
3634
+ function Dr(i) {
3636
3635
  const { binFirstOrLastIndex: e, data: t, x: a, timeIntervalInfo: n } = i, { unit: r, size: s } = n, o = r === j.Week ? (s ?? 1) * 7 : s, c = t[e][a];
3637
3636
  let l = e;
3638
3637
  const u = ve({
@@ -3662,7 +3661,7 @@ function qr(i) {
3662
3661
  sliceEndIndex: m
3663
3662
  };
3664
3663
  }
3665
- function Er(i) {
3664
+ function Or(i) {
3666
3665
  const { binFirstOrLastIndex: e, data: t, x: a, timeIntervalInfo: n } = i, { unit: r, size: s } = n, o = r === j.Week ? (s ?? 1) * 7 : s, c = t[e][a];
3667
3666
  let l = e;
3668
3667
  const u = ve({
@@ -3690,7 +3689,7 @@ function Er(i) {
3690
3689
  last: f
3691
3690
  };
3692
3691
  }
3693
- function Vr(i) {
3692
+ function qr(i) {
3694
3693
  const { binsToRegroup: e, statisticType: t, y: a, nullPolicy: n } = i;
3695
3694
  let r;
3696
3695
  n !== re.Interpolate && (r = n === re.Zero ? 0 : null);
@@ -3714,38 +3713,38 @@ function Vr(i) {
3714
3713
  }
3715
3714
  return r;
3716
3715
  }
3717
- function Ir(i) {
3716
+ function Er(i) {
3718
3717
  const { data: e, seriesConfig: t, timeIntervalInfo: a, dateMinTimestamp: n, dateMaxTimestamp: r } = i;
3719
3718
  let s = [];
3720
3719
  const { unit: o } = a, c = a.size ?? 1, l = t[0], { x: u } = l;
3721
3720
  let d, f;
3722
3721
  if (oe(l) && (f = l.temporalBinning?.nullPolicy, d = l.temporalBinning?.timeAggregationType), c > 1 || o === j.Week || o === j.Month || o === j.Year) {
3723
3722
  const { query: m } = t[0], g = se(t), { statisticType: y } = m?.outStatistics?.[0] ?? zt;
3724
- let p = !1, x = d === G.End ? e.length - 1 : 0;
3723
+ let p = !1, C = d === G.End ? e.length - 1 : 0;
3725
3724
  const F = {
3726
- binFirstOrLastIndex: x,
3725
+ binFirstOrLastIndex: C,
3727
3726
  data: e,
3728
3727
  x: u,
3729
3728
  timeIntervalInfo: a
3730
3729
  };
3731
3730
  for (; !p; ) {
3732
- let C = {};
3731
+ let x = {};
3733
3732
  const { binStartDate: B, binEndDate: N, last: v, nextBinFirstOrLastIndex: T, sliceStartIndex: w, sliceEndIndex: L } = d === G.End ? (
3734
3733
  // When grouping from the end we'll start from the last date and move backward to create the bins
3735
- Er(F)
3734
+ Or(F)
3736
3735
  ) : (
3737
3736
  // When grouping from the start we'll start from the first date and move forward to create the bins
3738
- qr(F)
3737
+ Dr(F)
3739
3738
  );
3740
- if (p = v, C = d === G.End ? C = e[L - 1] : C = e[x], N > r && B < r || B < n && N > n || B >= n && N <= r) {
3739
+ if (p = v, x = d === G.End ? x = e[L - 1] : x = e[C], N > r && B < r || B < n && N > n || B >= n && N <= r) {
3741
3740
  const D = e.slice(w, L).filter((q) => !(b.dateBinModel in q));
3742
3741
  g.forEach((q) => {
3743
- C[q] = Vr({ binsToRegroup: D, statisticType: y, y: q, nullPolicy: f });
3742
+ x[q] = qr({ binsToRegroup: D, statisticType: y, y: q, nullPolicy: f });
3744
3743
  });
3745
- const R = D.map((q) => q[Ce]).filter((q) => q !== void 0), M = Ha(R);
3746
- M !== void 0 && (C[Ce] = M), C[u] = B, C[b.xAxisField] = B, C[b.dateBinningRange] = [B, N], delete C[b.dateBinModel], s.push(C);
3744
+ const R = D.map((q) => q[Ce]).filter((q) => q !== void 0), M = Wa(R);
3745
+ M !== void 0 && (x[Ce] = M), x[u] = B, x[b.xAxisField] = B, x[b.dateBinningRange] = [B, N], delete x[b.dateBinModel], s.push(x);
3747
3746
  } else v && d !== G.End && s.length > 0 && (s[s.length - 1][b.dateBinningRange][1] = s[s.length - 1][b.dateBinningRange][1] + 1);
3748
- x = T, F.binFirstOrLastIndex = T;
3747
+ C = T, F.binFirstOrLastIndex = T;
3749
3748
  }
3750
3749
  d === G.End && (s = s.reverse());
3751
3750
  } else c === 1 ? s = e.map((m, g) => {
@@ -3803,7 +3802,7 @@ function Pi(i) {
3803
3802
  {}
3804
3803
  );
3805
3804
  }
3806
- function $r(i) {
3805
+ function Vr(i) {
3807
3806
  const {
3808
3807
  dateMaxTimestamp: e,
3809
3808
  numberOfFinalBinsWithinDataRange: t,
@@ -3819,7 +3818,7 @@ function $r(i) {
3819
3818
  const y = Pi(r);
3820
3819
  if (u === G.End) {
3821
3820
  let p = n[0][l];
3822
- for (let x = 0; x < g; x += 1)
3821
+ for (let C = 0; C < g; C += 1)
3823
3822
  p = ve({
3824
3823
  date: p,
3825
3824
  unit: c,
@@ -3833,7 +3832,7 @@ function $r(i) {
3833
3832
  g > 0 && (d = n[n.length - 1][l]);
3834
3833
  } else {
3835
3834
  let p = n[n.length - 1][l];
3836
- for (let x = 0; x < g; x += 1)
3835
+ for (let C = 0; C < g; C += 1)
3837
3836
  p = ve({
3838
3837
  date: p,
3839
3838
  unit: c,
@@ -3849,11 +3848,11 @@ function $r(i) {
3849
3848
  }
3850
3849
  return { newDateMin: d, newDateMax: f };
3851
3850
  }
3852
- function Rr(i) {
3851
+ function Ir(i) {
3853
3852
  const { numberOfSingleBinsWithinDataRange: e, dataLength: t, unit: a } = i;
3854
3853
  return Ti(t, a) >= e;
3855
3854
  }
3856
- async function kr(i) {
3855
+ async function $r(i) {
3857
3856
  const { queryObject: e, queryConfig: t, x: a } = i, n = `MIN_${a}`, r = `MAX_${a}`, s = `COUNT_${a}`, o = {
3858
3857
  ...t,
3859
3858
  outStatistics: [
@@ -3883,7 +3882,7 @@ async function kr(i) {
3883
3882
  const d = c.get(s);
3884
3883
  return typeof l == "string" && (l = new Date(l).valueOf()), typeof u == "string" && (u = new Date(u).valueOf()), { dateRange: { dateMinTimestamp: l, dateMaxTimestamp: u }, numberOfFeatures: d };
3885
3884
  }
3886
- function jr(i) {
3885
+ function Rr(i) {
3887
3886
  const {
3888
3887
  newDateMin: e,
3889
3888
  newDateMax: t,
@@ -3893,7 +3892,7 @@ function jr(i) {
3893
3892
  initialNumberOfBins: s,
3894
3893
  timeIntervalInfo: o
3895
3894
  } = i, { unit: c } = o, l = n;
3896
- if (!Rr({
3895
+ if (!Ir({
3897
3896
  numberOfSingleBinsWithinDataRange: r,
3898
3897
  dataLength: s,
3899
3898
  unit: c
@@ -3914,7 +3913,7 @@ function jr(i) {
3914
3913
  }
3915
3914
  return l;
3916
3915
  }
3917
- function Wr(i) {
3916
+ function kr(i) {
3918
3917
  const { data: e, seriesConfig: t, dateMinTimestamp: a, dateMaxTimestamp: n } = i, r = e;
3919
3918
  if (t[0].temporalBinning?.trimIncompleteTimeInterval !== !1) {
3920
3919
  const { timeAggregationType: s } = t[0].temporalBinning ?? {}, o = e[0]?.[b.dateBinningRange]?.[0], c = e[e.length - 1]?.[b.dateBinningRange]?.[1];
@@ -3931,7 +3930,7 @@ function Wr(i) {
3931
3930
  }
3932
3931
  return r;
3933
3932
  }
3934
- function Qr(i) {
3933
+ function jr(i) {
3935
3934
  const { groupByFieldsForStatistics: e, dateField: t, queryStartDate: a, queryEndDate: n, y: r, binIndex: s, lastBin: o } = i;
3936
3935
  let c = e === "" ? Me.groupByCaseBegin : e;
3937
3936
  return c = de(da, {
@@ -3945,7 +3944,7 @@ function Qr(i) {
3945
3944
  // we use <= to catch the last bin's value, < otherwise
3946
3945
  }), c;
3947
3946
  }
3948
- function* Hr(i) {
3947
+ function* Wr(i) {
3949
3948
  const { queryObject: e, seriesConfig: t, queryConfig: a, completeData: n } = i;
3950
3949
  for (let r = 0; r < t.length; r += 1) {
3951
3950
  const s = t[r], { query: o, x: c, y: l } = s, d = [
@@ -3958,11 +3957,11 @@ function* Hr(i) {
3958
3957
  ];
3959
3958
  let f = Me.groupByCaseBegin;
3960
3959
  for (let g = 0; g < n.length; g += 1) {
3961
- const y = n[g], [p, x] = y[b.dateBinningRange], F = Ve(p), C = Ve(x);
3962
- f = Qr({
3960
+ const y = n[g], [p, C] = y[b.dateBinningRange], F = Ve(p), x = Ve(C);
3961
+ f = jr({
3963
3962
  groupByFieldsForStatistics: f,
3964
3963
  queryStartDate: F,
3965
- queryEndDate: C,
3964
+ queryEndDate: x,
3966
3965
  dateField: c,
3967
3966
  y: [l].flat()[0],
3968
3967
  binIndex: g,
@@ -3983,10 +3982,10 @@ function* Hr(i) {
3983
3982
  });
3984
3983
  }
3985
3984
  }
3986
- async function zr(i) {
3985
+ async function Qr(i) {
3987
3986
  const { queryObject: e, data: t, seriesConfig: a, queryConfig: n } = i, r = t, { statisticType: s } = a[0].query?.outStatistics?.[0] ?? zt;
3988
3987
  if (s === P.ContinuousPercentile && r.length > 0) {
3989
- const o = Hr({
3988
+ const o = Wr({
3990
3989
  queryObject: e,
3991
3990
  completeData: r,
3992
3991
  seriesConfig: a,
@@ -4008,11 +4007,11 @@ async function zr(i) {
4008
4007
  }
4009
4008
  return r;
4010
4009
  }
4011
- async function Gr(i) {
4012
- const { chartConfig: e, queryResults: t, mapToStatField: a, splitByField: n, x: r, y: s, nullPolicy: o, queryObject: c } = i, l = ua(r), d = (await Te(c)).find((x) => x.name === r)?.type, f = [], m = e.series[0], g = m.query?.outStatistics?.[0]?.statisticType, y = "temporalBinning" in m ? m.temporalBinning?.trimIncompleteTimeInterval : !1, p = "temporalBinning" in m ? m.temporalBinning?.timeAggregationType : !1;
4013
- return t.forEach((x, F) => {
4010
+ async function Hr(i) {
4011
+ const { chartConfig: e, queryResults: t, mapToStatField: a, splitByField: n, x: r, y: s, nullPolicy: o, queryObject: c } = i, l = ua(r), d = (await Te(c)).find((C) => C.name === r)?.type, f = [], m = e.series[0], g = m.query?.outStatistics?.[0]?.statisticType, y = "temporalBinning" in m ? m.temporalBinning?.trimIncompleteTimeInterval : !1, p = "temporalBinning" in m ? m.temporalBinning?.timeAggregationType : !1;
4012
+ return t.forEach((C, F) => {
4014
4013
  if (!(y && (F === 0 && p === G.End || F === t.length - 1 && p === G.Start))) {
4015
- const { attributes: B, stackedAttributes: N } = x;
4014
+ const { attributes: B, stackedAttributes: N } = C;
4016
4015
  let v = B[l.lowerBoundaryAlias], T = B[l.upperBoundaryAlias];
4017
4016
  const w = v, L = T, D = (M, q) => {
4018
4017
  let A = M;
@@ -4052,7 +4051,7 @@ async function Gr(i) {
4052
4051
  }
4053
4052
  }) : R(M, s);
4054
4053
  const { featureExtent: q, featureExtentKey: A } = Li({
4055
- feature: x,
4054
+ feature: C,
4056
4055
  splitByField: n
4057
4056
  });
4058
4057
  q && (M[A] = q), f.push(M);
@@ -4060,7 +4059,7 @@ async function Gr(i) {
4060
4059
  }
4061
4060
  }), f;
4062
4061
  }
4063
- async function Ur(i) {
4062
+ async function zr(i) {
4064
4063
  const { queryObject: e, queryResults: t, x: a, queryConfig: n, seriesConfig: r, dateRange: s, timeIntervalInfo: o } = i;
4065
4064
  let c = t;
4066
4065
  const { dateMinTimestamp: l, dateMaxTimestamp: u } = s;
@@ -4074,7 +4073,7 @@ async function Ur(i) {
4074
4073
  dateMinTimestamp: l,
4075
4074
  dateMaxTimestamp: u,
4076
4075
  timeIntervalInfo: o
4077
- }), { newDateMin: g, newDateMax: y } = $r({
4076
+ }), { newDateMin: g, newDateMax: y } = Vr({
4078
4077
  dateMaxTimestamp: u,
4079
4078
  data: c,
4080
4079
  numberOfFinalBinsWithinDataRange: f,
@@ -4082,7 +4081,7 @@ async function Ur(i) {
4082
4081
  seriesConfig: r,
4083
4082
  timeIntervalInfo: o
4084
4083
  });
4085
- c = jr({
4084
+ c = Rr({
4086
4085
  newDateMin: g,
4087
4086
  newDateMax: y,
4088
4087
  seriesConfig: r,
@@ -4093,40 +4092,40 @@ async function Ur(i) {
4093
4092
  }), Ge({
4094
4093
  arrayToSort: c,
4095
4094
  sortingField: a
4096
- }), c = Ir({
4095
+ }), c = Er({
4097
4096
  data: c,
4098
4097
  seriesConfig: r,
4099
4098
  dateMinTimestamp: l,
4100
4099
  dateMaxTimestamp: u,
4101
4100
  timeIntervalInfo: o
4102
- }), c = Wr({
4101
+ }), c = kr({
4103
4102
  data: c,
4104
4103
  seriesConfig: r,
4105
4104
  dateMinTimestamp: l,
4106
4105
  dateMaxTimestamp: u
4107
- }), c = await zr({ queryObject: e, data: c, seriesConfig: r, queryConfig: n });
4106
+ }), c = await Qr({ queryObject: e, data: c, seriesConfig: r, queryConfig: n });
4108
4107
  }
4109
4108
  }
4110
4109
  return c;
4111
4110
  }
4112
- function _r(i) {
4111
+ function Gr(i) {
4113
4112
  return Math.floor(Math.min(Math.max(8, Math.sqrt(i ?? 8)), 128) + 0.5);
4114
4113
  }
4115
- function Yr(i) {
4114
+ function Ur(i) {
4116
4115
  const { dateRange: e, numberOfFeatures: t } = i;
4117
4116
  let a, n, { dateMinTimestamp: r, dateMaxTimestamp: s } = e;
4118
4117
  if (r && s) {
4119
4118
  typeof r == "string" && (r = new Date(r).valueOf()), typeof s == "string" && (s = new Date(s).valueOf());
4120
- const o = _r(t), c = (s - r) / o, l = It.findIndex((x) => x.threshold > c), u = It[l], { unitMs: d, preferredIntervalSize: f } = u;
4119
+ const o = Gr(t), c = (s - r) / o, l = It.findIndex((C) => C.threshold > c), u = It[l], { unitMs: d, preferredIntervalSize: f } = u;
4121
4120
  ({ unit: a } = u);
4122
4121
  const m = c / d, g = f.findIndex(
4123
- (x) => x >= m
4122
+ (C) => C >= m
4124
4123
  ), y = f[g], p = g === 0 ? f[0] : f[g - 1];
4125
4124
  n = y - m < m - p ? y : p;
4126
4125
  }
4127
4126
  return { size: n, unit: a };
4128
4127
  }
4129
- function Kr(i) {
4128
+ function _r(i) {
4130
4129
  const { series: e, isTimeBinningSeries: t, setTimeBinningInfoWhenNotProvided: a } = i;
4131
4130
  let n = !1;
4132
4131
  if (oe(e) && t) {
@@ -4135,7 +4134,7 @@ function Kr(i) {
4135
4134
  }
4136
4135
  return n;
4137
4136
  }
4138
- function Jr(i) {
4137
+ function Yr(i) {
4139
4138
  const e = [];
4140
4139
  for (let t = 1; t <= 6; t += 1) {
4141
4140
  const a = i[`EXPR_${t}`] ?? i[`Expr${t}`] ?? i[`expr${t}`] ?? i[`EXPR${t}`];
@@ -4158,7 +4157,7 @@ function Li(i) {
4158
4157
  let s = Ce;
4159
4158
  return r !== void 0 && t !== void 0 && a !== void 0 && a === h.BarAndLineSplitBy && (s = e.attributes[t] !== void 0 ? `${Ce}_${e.attributes[t]}` : Ce), { featureExtent: r, featureExtentKey: s };
4160
4159
  }
4161
- function Xr(i) {
4160
+ function Kr(i) {
4162
4161
  const { input: e, x: t, splitByField: a } = i;
4163
4162
  return e.reduce((r, s) => (a !== void 0 && a !== t && !(b.technicalFieldSplitByField in s) && delete s[a], Object.assign(r, s)), {});
4164
4163
  }
@@ -4167,12 +4166,12 @@ function Lt(i) {
4167
4166
  let n = e;
4168
4167
  return e !== void 0 && e.length > 0 && (n = [...zi(
4169
4168
  e,
4170
- (s) => Xr({ input: s, x: t, splitByField: a }),
4169
+ (s) => Kr({ input: s, x: t, splitByField: a }),
4171
4170
  (s) => s[t]
4172
4171
  // the field used to regroup the stats (ex: 'Year' category)
4173
4172
  ).values()]), n;
4174
4173
  }
4175
- function Zr(i, e) {
4174
+ function Jr(i, e) {
4176
4175
  const t = i, a = W(e);
4177
4176
  if (a !== S.PieSeries && a !== S.BoxPlotSeries) {
4178
4177
  const n = se(e), r = e[0].y;
@@ -4192,14 +4191,14 @@ function Zr(i, e) {
4192
4191
  }
4193
4192
  return t;
4194
4193
  }
4195
- function es(i, e) {
4194
+ function Xr(i, e) {
4196
4195
  const t = e, a = se(i), n = a.length === 1;
4197
4196
  return a.forEach((r) => {
4198
4197
  const s = je(n ? void 0 : r), o = t[s[V.FirstQuartile]], c = t[s[V.ThirdQuartile]];
4199
4198
  Number.isFinite(o) && Number.isFinite(c) && c >= o && (t[s[V.IQR]] = c - o);
4200
4199
  }), t;
4201
4200
  }
4202
- function ts(i, e) {
4201
+ function Zr(i, e) {
4203
4202
  const t = e.series[0], a = i;
4204
4203
  if (t.type === S.HeatSeries) {
4205
4204
  const { x: n, y: r } = t;
@@ -4214,7 +4213,7 @@ function Mt(i, e) {
4214
4213
  t && (i[t] === void 0 && (i[t] = i[t.toUpperCase()] !== void 0 ? i[t.toUpperCase()] : i[t.toLowerCase()]), i[t] !== void 0 ? (t !== t.toUpperCase() && delete i[t.toUpperCase()], t !== t.toLowerCase() && delete i[t.toLowerCase()]) : delete i[t]);
4215
4214
  });
4216
4215
  }
4217
- function is(i, e) {
4216
+ function es(i, e) {
4218
4217
  const t = Array.from(
4219
4218
  new Set(
4220
4219
  e.flatMap((a) => a.query?.outStatistics?.map((n) => n.outStatisticFieldName))
@@ -4222,7 +4221,7 @@ function is(i, e) {
4222
4221
  );
4223
4222
  t.push(Y.outStatistics.outStatisticFieldName), Mt(i, t);
4224
4223
  }
4225
- function as(i, e) {
4224
+ function ts(i, e) {
4226
4225
  let t = { ...i };
4227
4226
  return i !== void 0 && e[0] !== void 0 && (t = Object.keys(i).reduce((a, n) => {
4228
4227
  const r = e.find(
@@ -4231,14 +4230,14 @@ function as(i, e) {
4231
4230
  return r !== void 0 && i[n] !== void 0 && r !== n ? a[r] = i[n] : a[n] = i[n], a;
4232
4231
  }, {})), t;
4233
4232
  }
4234
- function ns(i) {
4233
+ function is(i) {
4235
4234
  const { dataItem: e, splitByField: t, y: a } = i;
4236
4235
  if (e !== void 0 && !ee(t) && !ee(a)) {
4237
4236
  const n = e[t], r = `${a}_${n?.toString()}`;
4238
4237
  e[r] = e[a], delete e[a];
4239
4238
  }
4240
4239
  }
4241
- function rs(i, e) {
4240
+ function as(i, e) {
4242
4241
  Object.keys(i).forEach((a) => {
4243
4242
  if (a.startsWith(`${e}_`)) {
4244
4243
  const n = a.slice(e.length + 1);
@@ -4246,7 +4245,7 @@ function rs(i, e) {
4246
4245
  }
4247
4246
  });
4248
4247
  }
4249
- function ss(i, e) {
4248
+ function ns(i, e) {
4250
4249
  let t = 1;
4251
4250
  switch (i) {
4252
4251
  case h.BarAndLineFromFields:
@@ -4273,15 +4272,15 @@ function ss(i, e) {
4273
4272
  }
4274
4273
  return t;
4275
4274
  }
4276
- function os(i) {
4275
+ function rs(i) {
4277
4276
  const { attributes: e, showMean: t, chartSubType: a } = i;
4278
4277
  t && (a === h.BoxPlotMonoFieldAndSplitBy || a === h.BoxPlotMultiFieldsAndSplitBy || a === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[b.boxPlot.boxPlotMeanLineMarkerId] = !0);
4279
4278
  }
4280
- function ls(i) {
4279
+ function ss(i) {
4281
4280
  const { queryResponse: e, chartConfig: t, maxCategoryCount: a } = i, n = E(t.series);
4282
4281
  return a && Number.isFinite(a) && a < e.length && Ni.includes(n) ? e.slice(0, a) : e;
4283
4282
  }
4284
- function cs(i) {
4283
+ function os(i) {
4285
4284
  const { attributes: e, uniqueCategoryList: t, maxCategoryCount: a, x: n, chartSubType: r } = i;
4286
4285
  let s = !1;
4287
4286
  if (n && a && Number.isFinite(a) && !Ni.includes(r))
@@ -4309,33 +4308,33 @@ function Mi(i) {
4309
4308
  showMean: u,
4310
4309
  chartLimits: d,
4311
4310
  fieldList: f
4312
- } = i, { series: m } = t, g = E(m), y = W(m), { x: p } = m[0], x = "y" in m[0] ? m[0].y : void 0, F = m[0].query?.outStatistics ?? [], { originalCategoryValue: C, originalDateValue: B, typeOrDomainFieldName: N, typeOrDomainIdValue: v } = b, T = [];
4311
+ } = i, { series: m } = t, g = E(m), y = W(m), { x: p } = m[0], C = "y" in m[0] ? m[0].y : void 0, F = m[0].query?.outStatistics ?? [], { originalCategoryValue: x, originalDateValue: B, typeOrDomainFieldName: N, typeOrDomainIdValue: v } = b, T = [];
4313
4312
  let w = 0;
4314
- const L = /* @__PURE__ */ new Set(), { maxCategoryCount: D } = Re(d), R = ls({ queryResponse: e, chartConfig: t, maxCategoryCount: D });
4313
+ const L = /* @__PURE__ */ new Set(), { maxCategoryCount: D } = Re(d), R = ss({ queryResponse: e, chartConfig: t, maxCategoryCount: D });
4315
4314
  for (let M = 0; R[M] && M < R.length && !(l !== void 0 && w >= l); M += 1) {
4316
- w += ss(g, t);
4315
+ w += ns(g, t);
4317
4316
  const q = R[M];
4318
4317
  let A = { ...q.attributes };
4319
- if (cs({ attributes: A, uniqueCategoryList: L, maxCategoryCount: D, x: p, chartSubType: g }))
4318
+ if (os({ attributes: A, uniqueCategoryList: L, maxCategoryCount: D, x: p, chartSubType: g }))
4320
4319
  continue;
4321
- is(A, m), g === h.PieFromFields || g === h.BarAndLineFromFields ? A = as(A, F) : typeof x == "string" && g === h.BarAndLineSplitByNoAggregation ? ns({ dataItem: A, splitByField: n, y: x }) : x && (g === h.BoxPlotMonoField || g === h.BoxPlotMonoFieldAndCategory || g === h.BoxPlotMonoFieldAndSplitBy || g === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && rs(
4320
+ es(A, m), g === h.PieFromFields || g === h.BarAndLineFromFields ? A = ts(A, F) : typeof C == "string" && g === h.BarAndLineSplitByNoAggregation ? is({ dataItem: A, splitByField: n, y: C }) : C && (g === h.BoxPlotMonoField || g === h.BoxPlotMonoFieldAndCategory || g === h.BoxPlotMonoFieldAndSplitBy || g === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && as(
4322
4321
  A,
4323
- typeof x == "string" ? x : x[0]
4324
- ), os({ attributes: A, showMean: u, chartSubType: g });
4322
+ typeof C == "string" ? C : C[0]
4323
+ ), rs({ attributes: A, showMean: u, chartSubType: g });
4325
4324
  let O = A[p];
4326
- O === null && m[0]?.query?.fetchNullValues === !0 && g !== h.PieFromFields && (A[C] = null, O = b.nullValue), s && typeof O == "string" ? O = new Date(O).valueOf() : o && (O = Jr(A));
4325
+ O === null && m[0]?.query?.fetchNullValues === !0 && g !== h.PieFromFields && (A[x] = null, O = b.nullValue), s && typeof O == "string" ? O = new Date(O).valueOf() : o && (O = Yr(A));
4327
4326
  const { outStatisticFieldName: H } = Y.outStatistics ?? {}, { featureExtent: X, featureExtentKey: I } = Li({ feature: q, splitByField: n, chartSubType: g });
4328
4327
  if (X && (A[I] = X), g === h.BarAndLineSplitBy && H !== void 0) {
4329
4328
  const ue = A[n], te = a?.get(ue);
4330
4329
  te !== void 0 && (ue === n && (A[b.technicalFieldSplitByField] = A[te]), A[te] = A[H]), delete A[H];
4331
- } else (g === h.PieNoAggregation || g === h.BarAndLineNoAggregation || g === h.BarAndLineSplitByNoAggregation) && (s ? A[B] = O : O !== b.nullValue && (A[C] = O), Ra({ isXAxis: !0, chartType: y, valueFormat: t.axes?.[0]?.valueFormat }) && (A[b.xAxisField] = `${O}-${M}`), A[Y.uniqueIdsName] = A[r]);
4330
+ } else (g === h.PieNoAggregation || g === h.BarAndLineNoAggregation || g === h.BarAndLineSplitByNoAggregation) && (s ? A[B] = O : O !== b.nullValue && (A[x] = O), Ia({ isXAxis: !0, chartType: y, valueFormat: t.axes?.[0]?.valueFormat }) && (A[b.xAxisField] = `${O}-${M}`), A[Y.uniqueIdsName] = A[r]);
4332
4331
  const Z = ha({
4333
4332
  subtypeInfo: c,
4334
4333
  fieldList: f,
4335
4334
  fieldName: p,
4336
4335
  fieldValueToMatch: O
4337
4336
  });
4338
- Z !== void 0 && Z !== O && g !== h.PieFromFields && (A[C] = Z, A[N] = p, A[v] = O), y === S.BoxPlotSeries && (A = es(m, A)), y === S.PieSeries && typeof O == "number" && (A[C] === void 0 && (A[C] = A[p]), O = `${O}`), O !== void 0 && (A[C] === void 0 && (A[C] = A[p]), A[p] = Z ?? O, A[p] === null && (A[p] = b.nullValue), A[b.xAxisField] === void 0 && (A[b.xAxisField] = A[v] ?? A[p])), A = ts(A, t), T.push(A);
4337
+ Z !== void 0 && Z !== O && g !== h.PieFromFields && (A[x] = Z, A[N] = p, A[v] = O), y === S.BoxPlotSeries && (A = Xr(m, A)), y === S.PieSeries && typeof O == "number" && (A[x] === void 0 && (A[x] = A[p]), O = `${O}`), O !== void 0 && (A[x] === void 0 && (A[x] = A[p]), A[p] = Z ?? O, A[p] === null && (A[p] = b.nullValue), A[b.xAxisField] === void 0 && (A[b.xAxisField] = A[v] ?? A[p])), A = Zr(A, t), T.push(A);
4339
4338
  }
4340
4339
  return T;
4341
4340
  }
@@ -4358,7 +4357,7 @@ async function ut(i) {
4358
4357
  queryConfig: t,
4359
4358
  featureCount: s,
4360
4359
  abortKey: r
4361
- }), p = await Te(e, u), F = z(e).objectIdField, C = pa(p), { x: B } = d[0], N = C.includes(B), v = ni(e);
4360
+ }), p = await Te(e, u), F = z(e).objectIdField, x = pa(p), { x: B } = d[0], N = x.includes(B), v = ni(e);
4362
4361
  return m = Mi({
4363
4362
  queryResponse: y,
4364
4363
  chartConfig: a,
@@ -4372,7 +4371,7 @@ async function ut(i) {
4372
4371
  resultLimit: t.num,
4373
4372
  showMean: c,
4374
4373
  chartLimits: l
4375
- }), f !== h.BarAndLineSplitByNoAggregation && f !== h.BarAndLineFromFields && (g !== "" && (m = Lt({ data: m, x: B, splitByField: g })), m = Zr(
4374
+ }), f !== h.BarAndLineSplitByNoAggregation && f !== h.BarAndLineFromFields && (g !== "" && (m = Lt({ data: m, x: B, splitByField: g })), m = Jr(
4376
4375
  m,
4377
4376
  d
4378
4377
  )), m;
@@ -4401,9 +4400,9 @@ function Ke(i) {
4401
4400
  else if (l !== void 0 && e !== void 0 && e.length > 1) {
4402
4401
  const { orderBy: u } = l;
4403
4402
  let { sortingField: d } = l;
4404
- const f = t.orderOptions?.data?.orderType === xe.Category, m = l.preferLabel !== !1, g = s === h.BarAndLineFromFields || s === h.PieFromFields || s === h.BoxPlotMultiFields || s === h.BoxPlotMultiFieldsAndSplitBy, y = g || o === S.PieSeries, p = s === h.PieNoAggregation || s === h.BarAndLineNoAggregation || s === h.BarAndLineSplitByNoAggregation, x = g ? !1 : e?.length > 0 && e.some((F) => Object.hasOwn(F, b.typeOrDomainIdValue));
4405
- if (f && (!m || (o === S.LineSeries || o === S.RadarSeries) && c === S.NumberAxisFormat) && (x ? d = b.typeOrDomainIdValue : y && (d = b.originalCategoryValue)), Array.isArray(u))
4406
- Ga({
4403
+ const f = t.orderOptions?.data?.orderType === xe.Category, m = l.preferLabel !== !1, g = s === h.BarAndLineFromFields || s === h.PieFromFields || s === h.BoxPlotMultiFields || s === h.BoxPlotMultiFieldsAndSplitBy, y = g || o === S.PieSeries, p = s === h.PieNoAggregation || s === h.BarAndLineNoAggregation || s === h.BarAndLineSplitByNoAggregation, C = g ? !1 : e?.length > 0 && e.some((F) => Object.hasOwn(F, b.typeOrDomainIdValue));
4404
+ if (f && (!m || (o === S.LineSeries || o === S.RadarSeries) && c === S.NumberAxisFormat) && (C ? d = b.typeOrDomainIdValue : y && (d = b.originalCategoryValue)), Array.isArray(u))
4405
+ Ha({
4407
4406
  arrayToSort: e,
4408
4407
  orderBy: u,
4409
4408
  sortingField: d,
@@ -4430,9 +4429,9 @@ function Ke(i) {
4430
4429
  async function Bt(i) {
4431
4430
  const { chartConfig: e, queryConfig: t, fetchFullBoxPlotData: a, options: n, queryObject: r, abortKey: s, fieldList: o } = i, c = "showMean" in e && typeof e.showMean == "boolean" ? e.showMean : !1, { chartLimits: l, usePopupTemplateFieldsInfo: u } = n ?? {}, d = n?.replaceNoValueCategoryWithZero ?? b.options.replaceNoValueCategoryWithZero, { behaviorAfterLimit: f } = l ?? {}, m = { valid: !0 };
4432
4431
  let g, y = !1;
4433
- const p = e.series, x = p[0], F = E(e.series);
4434
- if (x !== void 0 && r !== void 0) {
4435
- const C = W(p), { uniqueQuery: B, mapToStatField: N } = await ct({
4432
+ const p = e.series, C = p[0], F = E(e.series);
4433
+ if (C !== void 0 && r !== void 0) {
4434
+ const x = W(p), { uniqueQuery: B, mapToStatField: N } = await ct({
4436
4435
  chartConfig: e,
4437
4436
  queryObject: r,
4438
4437
  queryConfig: t,
@@ -4450,7 +4449,7 @@ async function Bt(i) {
4450
4449
  let L = w || Se({
4451
4450
  count: T ?? 0,
4452
4451
  seriesCount: p.length,
4453
- chartType: C,
4452
+ chartType: x,
4454
4453
  chartLimits: l
4455
4454
  });
4456
4455
  if (L && (g = await ut({
@@ -4464,7 +4463,7 @@ async function Bt(i) {
4464
4463
  chartLimits: l,
4465
4464
  usePopupTemplateFieldsInfo: u,
4466
4465
  abortKey: s
4467
- }), C === S.BoxPlotSeries && (m.data = await wn({
4466
+ }), x === S.BoxPlotSeries && (m.data = await Ln({
4468
4467
  data: g,
4469
4468
  queryObject: r,
4470
4469
  fetchFullBoxPlotData: a,
@@ -4476,10 +4475,10 @@ async function Bt(i) {
4476
4475
  }), l?.maxBoxPlotOutlierLimit !== void 0 && (L = (m.data.outliers ?? []).length <= l.maxBoxPlotOutlierLimit, y = !L)), w && (v = g.length, T = Ft(F) ? v * p.length : v, L = Se({
4477
4476
  count: T,
4478
4477
  seriesCount: p.length,
4479
- chartType: C,
4478
+ chartType: x,
4480
4479
  chartLimits: l
4481
4480
  })), L)) {
4482
- if (C === S.PieSeries) {
4481
+ if (x === S.PieSeries) {
4483
4482
  F === h.PieFromFields && (g = st({
4484
4483
  dataToConvert: g[0],
4485
4484
  x: ne,
@@ -4487,13 +4486,13 @@ async function Bt(i) {
4487
4486
  fieldList: o
4488
4487
  }));
4489
4488
  let D = "";
4490
- F === h.PieFromFields ? D = he : "y" in x && typeof x.y == "string" && (D = x.y), cn(g, D) ? m.data = { dataItems: g } : Sn(m, $.PieChartMixOfNegativePositiveSlices);
4491
- } else if ((C === S.RadarSeries || C === S.BarSeries || C === S.LineSeries || C === S.ComboLineAndBarSeries) && (F === h.BarAndLineFromFields && "y" in x && typeof x.y == "string" ? g = st({
4489
+ F === h.PieFromFields ? D = he : "y" in C && typeof C.y == "string" && (D = C.y), on(g, D) ? m.data = { dataItems: g } : pn(m, $.PieChartMixOfNegativePositiveSlices);
4490
+ } else if ((x === S.RadarSeries || x === S.BarSeries || x === S.LineSeries || x === S.ComboLineAndBarSeries) && (F === h.BarAndLineFromFields && "y" in C && typeof C.y == "string" ? g = st({
4492
4491
  dataToConvert: g[0],
4493
- x: x.x,
4494
- y: x.y,
4492
+ x: C.x,
4493
+ y: C.y,
4495
4494
  fieldList: o
4496
- }) : g = await wr({
4495
+ }) : g = await Lr({
4497
4496
  queryObject: r,
4498
4497
  seriesData: g,
4499
4498
  chartConfig: e,
@@ -4504,23 +4503,23 @@ async function Bt(i) {
4504
4503
  }), T = Ft(F) ? g.length * p.length : g.length, L = Se({
4505
4504
  count: T,
4506
4505
  seriesCount: p.length,
4507
- chartType: C,
4506
+ chartType: x,
4508
4507
  chartLimits: l
4509
4508
  }), L)) {
4510
- d && (g = Dr(g, e)), Ke({ arrayToSort: g, chartConfig: e, fieldList: o }), console.log("🚀CT: ~ fetchFinishedGenericChartData / data after:", Fe(g));
4509
+ d && (g = Mr(g, e)), Ke({ arrayToSort: g, chartConfig: e, fieldList: o }), console.log("🚀CT: ~ fetchFinishedGenericChartData / data after:", Fe(g));
4511
4510
  let D = {};
4512
- if (oe(x)) {
4513
- const { size: R, unit: M } = x.temporalBinning ?? {};
4511
+ if (oe(C)) {
4512
+ const { size: R, unit: M } = C.temporalBinning ?? {};
4514
4513
  R !== void 0 && M !== void 0 && (D = { size: R, unit: M });
4515
4514
  }
4516
4515
  m.data = { dataItems: g, timeIntervalInfo: D };
4517
4516
  }
4518
4517
  }
4519
- L || ot({ dataInfo: m, chartType: C, subError: { outlierLimit: y } }), m.count = T;
4518
+ L || ot({ dataInfo: m, chartType: x, subError: { outlierLimit: y } }), m.count = T;
4520
4519
  }
4521
4520
  return m;
4522
4521
  }
4523
- function us(i) {
4522
+ function ls(i) {
4524
4523
  let e;
4525
4524
  const { start: t, end: a } = ti({ field: "", unit: i, addIntervalStatement: !1 });
4526
4525
  return a && (e = Array.from({ length: a + (t === 0 ? 1 : 0) }, (n, r) => (r + (t ?? 1)).toString())), e;
@@ -4540,7 +4539,7 @@ async function Di(i) {
4540
4539
  if (u.type === S.HeatSeries) {
4541
4540
  const { x: f, y: m, query: g, yTemporalBinning: y } = u, p = g?.outStatistics?.[0]?.outStatisticFieldName ?? "";
4542
4541
  if (mi(e)) {
4543
- const x = await ma({
4542
+ const C = await ma({
4544
4543
  chartConfig: e,
4545
4544
  queryObject: a,
4546
4545
  queryConfig: t,
@@ -4549,16 +4548,16 @@ async function Di(i) {
4549
4548
  abortKey: o
4550
4549
  });
4551
4550
  if (!Se({
4552
- count: x?.length ?? 0,
4551
+ count: C?.length ?? 0,
4553
4552
  seriesCount: 1,
4554
4553
  chartType: S.HeatSeries,
4555
4554
  chartLimits: s?.chartLimits
4556
4555
  }))
4557
4556
  ot({ dataInfo: c, chartType: S.HeatSeries });
4558
- else if (typeof x?.[0] == "object") {
4559
- const F = await Te(a, s?.usePopupTemplateFieldsInfo), C = ni(a);
4557
+ else if (typeof C?.[0] == "object") {
4558
+ const F = await Te(a, s?.usePopupTemplateFieldsInfo), x = ni(a);
4560
4559
  l = Mi({
4561
- queryResponse: x,
4560
+ queryResponse: C,
4562
4561
  chartConfig: e,
4563
4562
  splitByField: "",
4564
4563
  fieldOID: z(a).objectIdField,
@@ -4566,7 +4565,7 @@ async function Di(i) {
4566
4565
  isTimeBinningSeries: !1,
4567
4566
  chartLimits: s?.chartLimits,
4568
4567
  resultLimit: t.num,
4569
- subtypeInfo: C,
4568
+ subtypeInfo: x,
4570
4569
  fieldList: F
4571
4570
  });
4572
4571
  const B = await yt({ queryObject: a, queryConfig: t, category: f, abortKey: o }), N = await yt({ queryObject: a, queryConfig: t, category: m, abortKey: o });
@@ -4589,14 +4588,14 @@ async function Di(i) {
4589
4588
  }
4590
4589
  }
4591
4590
  } else {
4592
- const x = await ga({
4591
+ const C = await ga({
4593
4592
  chartConfig: e,
4594
4593
  queryObject: a,
4595
4594
  queryConfig: t,
4596
4595
  errorStrings: r
4597
- }), F = y ? us(y.unit) : await yt({ queryObject: a, queryConfig: t, category: m, abortKey: o });
4598
- let C = 0;
4599
- l = x?.features.flatMap((B) => {
4596
+ }), F = y ? ls(y.unit) : await yt({ queryObject: a, queryConfig: t, category: m, abortKey: o });
4597
+ let x = 0;
4598
+ l = C?.features.flatMap((B) => {
4600
4599
  const N = [], { attributes: v, stackedAttributes: T } = B, w = [];
4601
4600
  return T?.forEach((L) => {
4602
4601
  const D = `${L[m]}`;
@@ -4611,9 +4610,9 @@ async function Di(i) {
4611
4610
  [k.yField]: D,
4612
4611
  [k.valueField]: d === re.Zero ? 0 : null
4613
4612
  });
4614
- }), C += N.length, N;
4613
+ }), x += N.length, N;
4615
4614
  }), Se({
4616
- count: C,
4615
+ count: x,
4617
4616
  seriesCount: 1,
4618
4617
  chartType: S.HeatSeries,
4619
4618
  chartLimits: s?.chartLimits
@@ -4622,7 +4621,7 @@ async function Di(i) {
4622
4621
  }
4623
4622
  return l && (c.data = { dataItems: l }), c;
4624
4623
  }
4625
- function ds(i) {
4624
+ function cs(i) {
4626
4625
  const { chartConfig: e, options: t, data: a } = i, n = e.series;
4627
4626
  let r = a;
4628
4627
  const s = fi(e, t?.chartLimits);
@@ -4655,15 +4654,15 @@ async function wt(i) {
4655
4654
  if (oe(d)) {
4656
4655
  const { temporalBinning: p } = d;
4657
4656
  if (a && p) {
4658
- const { unit: x, size: F } = p;
4659
- let C = 1, B = { unit: x, size: F }, N = !1;
4660
- const v = Kr({
4657
+ const { unit: C, size: F } = p;
4658
+ let x = 1, B = { unit: C, size: F }, N = !1;
4659
+ const v = _r({
4661
4660
  series: d,
4662
4661
  isTimeBinningSeries: !0,
4663
4662
  setTimeBinningInfoWhenNotProvided: s?.setTimeBinningInfoWhenNotProvided
4664
4663
  });
4665
4664
  let T = r?.timeBinningStats;
4666
- !T && (!Qe(a) || v) && (T = await kr({ queryObject: a, queryConfig: t, x: f })), v && T && T.numberOfFeatures > 0 && T.dateRange.dateMaxTimestamp !== void 0 && T.dateRange.dateMinTimestamp !== void 0 && (B = Yr(T), (await Te(a)).find((q) => q.name === f)?.type === Ye.DateOnly && B.unit !== void 0 && [
4665
+ !T && (!Qe(a) || v) && (T = await $r({ queryObject: a, queryConfig: t, x: f })), v && T && T.numberOfFeatures > 0 && T.dateRange.dateMaxTimestamp !== void 0 && T.dateRange.dateMinTimestamp !== void 0 && (B = Ur(T), (await Te(a)).find((q) => q.name === f)?.type === Ye.DateOnly && B.unit !== void 0 && [
4667
4666
  j.Hour,
4668
4667
  j.Minute,
4669
4668
  j.Second
@@ -4676,7 +4675,7 @@ async function wt(i) {
4676
4675
  options: s
4677
4676
  });
4678
4677
  let D = Se({
4679
- count: C ?? 0,
4678
+ count: x ?? 0,
4680
4679
  seriesCount: u.length,
4681
4680
  chartType: S.LineSeries,
4682
4681
  chartLimits: o
@@ -4690,7 +4689,7 @@ async function wt(i) {
4690
4689
  queryConfig: w,
4691
4690
  temporalBinning: p
4692
4691
  }), M = "y" in d && typeof d.y == "string" ? d.y : void 0;
4693
- if (y = await Gr({
4692
+ if (y = await Hr({
4694
4693
  chartConfig: e,
4695
4694
  queryResults: R,
4696
4695
  mapToStatField: L,
@@ -4721,17 +4720,17 @@ async function wt(i) {
4721
4720
  dateMaxTimestamp: T.dateRange.dateMaxTimestamp,
4722
4721
  timeIntervalInfo: B
4723
4722
  });
4724
- C = R * u.length, C = Ti(C, B.unit), y = r?.data ?? await ut({
4723
+ x = R * u.length, x = Ti(x, B.unit), y = r?.data ?? await ut({
4725
4724
  queryObject: a,
4726
4725
  uniqueQuery: w,
4727
4726
  chartConfig: e,
4728
4727
  mapToStatField: L,
4729
- elementCount: C,
4728
+ elementCount: x,
4730
4729
  chartLimits: o,
4731
4730
  isTimeBinningSeries: !0,
4732
4731
  usePopupTemplateFieldsInfo: c,
4733
4732
  abortKey: n
4734
- }), g.binnedServerData = { data: Fe(y), timeBinningStats: T }, y = await Ur({
4733
+ }), g.binnedServerData = { data: Fe(y), timeBinningStats: T }, y = await zr({
4735
4734
  queryObject: a,
4736
4735
  queryConfig: t,
4737
4736
  queryResults: y,
@@ -4741,14 +4740,14 @@ async function wt(i) {
4741
4740
  timeIntervalInfo: B
4742
4741
  });
4743
4742
  }
4744
- fa(a) && y && y?.length === Or && (N = !0), l === $e.RenderUpToTheLimit && y && (y = ds({ chartConfig: e, options: s, data: y }));
4743
+ fa(a) && y && y?.length === wr && (N = !0), l === $e.RenderUpToTheLimit && y && (y = cs({ chartConfig: e, options: s, data: y }));
4745
4744
  }
4746
- D || (g.valid = !1, g.invalidType = $.LineChartExceedsLimit), y && y.length > 0 && (y[y.length - 1][b.lastTemporalBin] = !0), g.data = { dataItems: y, timeIntervalInfo: B, serverLimitReached: N }, g.count = C;
4745
+ D || (g.valid = !1, g.invalidType = $.LineChartExceedsLimit), y && y.length > 0 && (y[y.length - 1][b.lastTemporalBin] = !0), g.data = { dataItems: y, timeIntervalInfo: B, serverLimitReached: N }, g.count = x;
4747
4746
  }
4748
4747
  }
4749
4748
  return g;
4750
4749
  }
4751
- async function fs(i) {
4750
+ async function us(i) {
4752
4751
  const { chartConfig: e, queryConfig: t, queryObject: a, abortKey: n, options: r } = i, s = He(e), { setTimeBinningInfoWhenNotProvided: o, chartLimits: c, usePopupTemplateFieldsInfo: l } = r ?? {}, u = { valid: !0 };
4753
4752
  if (a !== void 0) {
4754
4753
  const d = e.series, f = Ne({
@@ -4779,7 +4778,7 @@ async function fs(i) {
4779
4778
  }
4780
4779
  return u;
4781
4780
  }
4782
- async function ms(i) {
4781
+ async function ds(i) {
4783
4782
  const { chartConfig: e, queryConfig: t, queryObject: a, abortKey: n, options: r, errorStrings: s } = i, o = "showMean" in e ? e.showMean : !1, c = await Pt({
4784
4783
  queryObject: a,
4785
4784
  chartConfig: e,
@@ -4793,13 +4792,13 @@ async function ms(i) {
4793
4792
  function Oi(i) {
4794
4793
  return i?.[nt.defaultGroupOfSlicesId] === !0;
4795
4794
  }
4796
- function tl(i, e) {
4795
+ function Xo(i, e) {
4797
4796
  const t = i.filter(
4798
4797
  (a) => !Oi(a)
4799
4798
  );
4800
4799
  return !Le(t, e);
4801
4800
  }
4802
- function gs(i, e) {
4801
+ function fs(i, e) {
4803
4802
  let t = i.reduce((a, n) => {
4804
4803
  if (n[nt.defaultGroupOfSlicesId] === !0) {
4805
4804
  const r = n[b.pieChart.technicalFieldGroupedSlices];
@@ -4818,37 +4817,37 @@ function gs(i, e) {
4818
4817
  seriesConfig: e.series
4819
4818
  })?.dataItems ?? [], t;
4820
4819
  }
4821
- function ys(i) {
4820
+ function ms(i) {
4822
4821
  const { stringToTruncate: e, characterLimit: t, ellipsis: a = b.chartEllipsis } = i;
4823
4822
  let n = e;
4824
4823
  return typeof t == "number" && Number.isFinite(t) && t > 0 && t < e.length && (n = e.slice(0, t), n = `${n}${a}`), n;
4825
4824
  }
4826
- function il(i, e = ":") {
4825
+ function Zo(i, e = ":") {
4827
4826
  return i ? `‏${e}` : `‎${e}`;
4828
4827
  }
4829
- function al(i) {
4828
+ function el(i) {
4830
4829
  return (t) => {
4831
4830
  let a = typeof t != "string" ? t?.toString() ?? "" : t;
4832
- return !ee(a) && a !== b.htmlEmptyContent && (a = ys({
4831
+ return !ee(a) && a !== b.htmlEmptyContent && (a = ms({
4833
4832
  stringToTruncate: a,
4834
4833
  characterLimit: i
4835
4834
  })), a;
4836
4835
  };
4837
4836
  }
4838
- function ps(i) {
4837
+ function gs(i) {
4839
4838
  const e = /[[]/gu, t = /[\]]/gu, a = /[{]/gu, n = /[}]/gu, r = /[']/gu;
4840
4839
  return i = i.replace(e, "[["), i = i.replace(t, "]]"), i = i.replace(a, "{{"), i = i.replace(n, "}}"), i = i.replace(r, "''"), i;
4841
4840
  }
4842
- function hs(i, e) {
4841
+ function ys(i, e) {
4843
4842
  let t = "";
4844
4843
  return i !== void 0 && (t = `${e === "amChartsV5" ? "fontStyle" : "font-style"}:${i};`), t;
4845
4844
  }
4846
- function Ss(i, e) {
4845
+ function ps(i, e) {
4847
4846
  let t = "";
4848
4847
  return i === !0 && (t = `${e === "amChartsV5" ? "letterSpacing" : "letter-spacing"}:1px;`), t;
4849
4848
  }
4850
- function nl(i) {
4851
- const { textSymbol: e, placeholderString: t, format: a, axisLabelsBehavior: n, defaults: r } = i, s = hs(e?.font?.style, a), o = Ss(e?.kerning, a);
4849
+ function tl(i) {
4850
+ const { textSymbol: e, placeholderString: t, format: a, axisLabelsBehavior: n, defaults: r } = i, s = ys(e?.font?.style, a), o = ps(e?.kerning, a);
4852
4851
  let c = t ?? e?.text ?? "";
4853
4852
  if (a === "html") {
4854
4853
  let { wrap: l, maxWidth: u } = r ?? {};
@@ -4856,17 +4855,17 @@ function nl(i) {
4856
4855
  const d = l === !0 && Number.isFinite(u) ? `max-width: ${u}px; word-break: break-word;` : "";
4857
4856
  c = `<p style="margin:0;${s}${o}${d}">${c}</p>`;
4858
4857
  } else
4859
- c = ps(c), (s !== "" || o !== "") && (c = `[${s}${o}]${c}[/]`);
4858
+ c = gs(c), (s !== "" || o !== "") && (c = `[${s}${o}]${c}[/]`);
4860
4859
  return c;
4861
4860
  }
4862
- function Fs(i) {
4861
+ function hs(i) {
4863
4862
  return i ? i.replace(/[A-Z]/gu, (e) => `-${e.toLowerCase()}`) : void 0;
4864
4863
  }
4865
4864
  const Ee = {
4866
4865
  ChartRenderer: 1,
4867
4866
  LayerRenderer: 2
4868
4867
  };
4869
- function rl(i) {
4868
+ function il(i) {
4870
4869
  const { chartConfig: e, queryObject: t } = i;
4871
4870
  let a = !1;
4872
4871
  if (e.chartRenderer)
@@ -4899,10 +4898,10 @@ function rl(i) {
4899
4898
  }
4900
4899
  return a;
4901
4900
  }
4902
- function bs(i, e) {
4903
- return Fs(i?.type) ?? e?.type;
4901
+ function Ss(i, e) {
4902
+ return hs(i?.type) ?? e?.type;
4904
4903
  }
4905
- function xs(i) {
4904
+ function Fs(i) {
4906
4905
  const e = b.rendererSymbolField;
4907
4906
  let t = e in i ? e : void 0;
4908
4907
  if (!t) {
@@ -4914,13 +4913,13 @@ function xs(i) {
4914
4913
  }
4915
4914
  return i[t]?.label;
4916
4915
  }
4917
- function Cs(i) {
4916
+ function bs(i) {
4918
4917
  return i?.type !== void 0 && (i.color !== void 0 || i.label !== void 0 || i.style !== void 0 || i.outline !== void 0);
4919
4918
  }
4920
4919
  function qi(i) {
4921
4920
  const { symbolField: e, dataItem: t, rendererSymbol: a, rendererOrigin: n } = i;
4922
4921
  let r = !1;
4923
- if (!Cs(a))
4922
+ if (!bs(a))
4924
4923
  delete t[e];
4925
4924
  else {
4926
4925
  const s = { ...a };
@@ -4928,7 +4927,7 @@ function qi(i) {
4928
4927
  }
4929
4928
  return r;
4930
4929
  }
4931
- function Bs(i) {
4930
+ function xs(i) {
4932
4931
  const { renderer: e, seriesConfig: t, chartSubType: a, dataItem: n, rendererOrigin: r } = i;
4933
4932
  let s, o = !1;
4934
4933
  const c = W(t), { outline: l, attributes: u } = e;
@@ -4938,14 +4937,14 @@ function Bs(i) {
4938
4937
  const { color: m, label: g } = d;
4939
4938
  let y;
4940
4939
  Array.isArray(m) && m?.length === 4 ? y = m : m && "toRgba" in m && (y = m.toRgba());
4941
- let p = !1, x = !0;
4940
+ let p = !1, C = !0;
4942
4941
  switch (c) {
4943
4942
  case S.BarSeries:
4944
4943
  case S.LineSeries:
4945
4944
  case S.ComboLineAndBarSeries:
4946
4945
  case S.RadarSeries:
4947
4946
  if (a !== h.BarAndLineFromFields) {
4948
- const F = t.find((C) => C.query?.outStatistics?.[0]?.onStatisticField === f);
4947
+ const F = t.find((x) => x.query?.outStatistics?.[0]?.onStatisticField === f);
4949
4948
  F !== void 0 && "y" in F ? f = [F.y].flat()[0] : f = "";
4950
4949
  }
4951
4950
  p = a !== h.BarAndLineFromFields || f === n[b.originalCategoryValue];
@@ -4954,13 +4953,13 @@ function Bs(i) {
4954
4953
  p = a === h.PieFromFields && f === n[b.originalCategoryValue];
4955
4954
  break;
4956
4955
  case S.BoxPlotSeries:
4957
- a === h.BoxPlotMonoField || a === h.BoxPlotMonoFieldAndCategory ? p = f === t[0].y : f && (a === h.BoxPlotMultiFields || a === h.BoxPlotMultiFieldsAndCategory) && (p = t.map((C) => C.y).flat().includes(f)), x = !1;
4956
+ a === h.BoxPlotMonoField || a === h.BoxPlotMonoFieldAndCategory ? p = f === t[0].y : f && (a === h.BoxPlotMultiFields || a === h.BoxPlotMultiFieldsAndCategory) && (p = t.map((x) => x.y).flat().includes(f)), C = !1;
4958
4957
  break;
4959
4958
  }
4960
4959
  p && y && (s = {
4961
4960
  type: rt.SMS,
4962
4961
  color: y,
4963
- label: x && g ? g : void 0
4962
+ label: C && g ? g : void 0
4964
4963
  }, l != null && (s.outline = l), qi({
4965
4964
  dataItem: n,
4966
4965
  symbolField: a === h.BarAndLineFromFields || a === h.PieFromFields ? b.rendererSymbolField : `${b.rendererSymbolField}_${f}`,
@@ -4970,7 +4969,7 @@ function Bs(i) {
4970
4969
  }
4971
4970
  ), { rendererSymbol: s, colorMatchApplied: o };
4972
4971
  }
4973
- function vs(i) {
4972
+ function Cs(i) {
4974
4973
  const { seriesConfig: e, chartSubType: t, rendererType: a } = i;
4975
4974
  let r = b.rendererSymbolField;
4976
4975
  if (a === ie.UniqueValue) {
@@ -4997,25 +4996,25 @@ function vs(i) {
4997
4996
  }
4998
4997
  function Ei(i) {
4999
4998
  const { seriesConfig: e, chartSubType: t, rendererType: a, dataItem: n } = i;
5000
- let r = vs({
4999
+ let r = Cs({
5001
5000
  seriesConfig: e,
5002
5001
  chartSubType: t,
5003
5002
  rendererType: a
5004
5003
  });
5005
5004
  return r instanceof Array && e.type === S.BoxPlotSeries && a === ie.PieChart && n !== void 0 && (r = r.find((s) => s === n[Jt]) ?? r[0]), r = r !== b.rendererSymbolField ? `${b.rendererSymbolField}_${r.toString()}` : r, r;
5006
5005
  }
5007
- function Ns(i) {
5006
+ function Bs(i) {
5008
5007
  const { chartRenderer: e, queryObject: t } = i, a = e !== void 0 ? {
5009
5008
  // TODO: find a better way to copy the layer. For now it's all right as the information we need are not lost with the spread operator
5010
5009
  // eslint-disable-next-line @typescript-eslint/no-misused-spread
5011
5010
  ...z(t),
5012
- renderer: xa.fromJSON(e)
5011
+ renderer: ba.fromJSON(e)
5013
5012
  } : z(t);
5014
- return new Ca({
5013
+ return new xa({
5015
5014
  layer: a
5016
5015
  });
5017
5016
  }
5018
- async function Ts(i) {
5017
+ async function vs(i) {
5019
5018
  const {
5020
5019
  seriesConfig: e,
5021
5020
  dataItem: t,
@@ -5030,7 +5029,7 @@ async function Ts(i) {
5030
5029
  } = i;
5031
5030
  let d, f = !1;
5032
5031
  if (n === ie.PieChart) {
5033
- const m = Bs({
5032
+ const m = xs({
5034
5033
  renderer: a,
5035
5034
  seriesConfig: e,
5036
5035
  chartSubType: s,
@@ -5047,7 +5046,7 @@ async function Ts(i) {
5047
5046
  chartSubType: s,
5048
5047
  rendererType: n,
5049
5048
  dataItem: t
5050
- }), x = ge({
5049
+ }), C = ge({
5051
5050
  where: y.query?.where,
5052
5051
  normalize: !0,
5053
5052
  keepSurroundingQuotes: !1,
@@ -5055,19 +5054,19 @@ async function Ts(i) {
5055
5054
  });
5056
5055
  g.set(p, {
5057
5056
  ...t,
5058
- [o]: x
5057
+ [o]: C
5059
5058
  });
5060
5059
  }
5061
5060
  }) : g.set(b.rendererSymbolField, {
5062
5061
  ...t,
5063
- [m]: za(t)
5062
+ [m]: Qa(t)
5064
5063
  });
5065
5064
  try {
5066
5065
  const y = Array.from(g.entries()), p = c.clone();
5067
5066
  p.layer = c.layer;
5068
- const x = a?.uniqueValueInfos;
5067
+ const C = a?.uniqueValueInfos;
5069
5068
  for (let F = 0; F < y.length; F += 1) {
5070
- const [C, B] = y[F];
5069
+ const [x, B] = y[F];
5071
5070
  if (Ht({
5072
5071
  mode: "encode",
5073
5072
  x: m,
@@ -5081,7 +5080,7 @@ async function Ts(i) {
5081
5080
  if (d = (await gt.getDisplayedSymbol(p))?.toJSON(), d != null) {
5082
5081
  d.color === void 0 && (d.color = (await gt.getDisplayedColor(p))?.toJSON());
5083
5082
  const v = await gt.getLegendLabel(p);
5084
- v != null && v !== "" && (d.label = v, d.uniqueValue = x?.find((T) => T.label === v)?.value ?? void 0);
5083
+ v != null && v !== "" && (d.label = v, d.uniqueValue = C?.find((T) => T.label === v)?.value ?? void 0);
5085
5084
  }
5086
5085
  u?.set(JSON.stringify(B), d);
5087
5086
  }
@@ -5092,7 +5091,7 @@ async function Ts(i) {
5092
5091
  attributes: t
5093
5092
  }), qi({
5094
5093
  dataItem: t,
5095
- symbolField: C,
5094
+ symbolField: x,
5096
5095
  rendererSymbol: d,
5097
5096
  rendererOrigin: r
5098
5097
  }) && (f = !0);
@@ -5102,7 +5101,7 @@ async function Ts(i) {
5102
5101
  }
5103
5102
  return { rendererSymbol: d, colorMatchApplied: f };
5104
5103
  }
5105
- function As(i) {
5104
+ function Ns(i) {
5106
5105
  const e = i;
5107
5106
  return i?.type === "uniqueValue" && (i.uniqueValueInfos = i.uniqueValueInfos.map((t) => {
5108
5107
  const a = t.value === null ? b.nullValue : t.value;
@@ -5115,20 +5114,20 @@ function Ht(i) {
5115
5114
  t[r] === (n === "encode" ? null : b.nullValue) && (t[r] = n === "encode" ? b.nullValue : null);
5116
5115
  });
5117
5116
  }
5118
- async function sl(i) {
5117
+ async function al(i) {
5119
5118
  const { data: e, queryObject: t, chartConfig: a, allowColorMatch: n } = i;
5120
5119
  let r = !1, s = [];
5121
5120
  if (n) {
5122
- const { series: o, chartRenderer: c } = a, l = As(c), u = l ? Ee.ChartRenderer : Ee.LayerRenderer, d = t ? z(t) : void 0, f = l ?? d?.renderer;
5121
+ const { series: o, chartRenderer: c } = a, l = Ns(c), u = l ? Ee.ChartRenderer : Ee.LayerRenderer, d = t ? z(t) : void 0, f = l ?? d?.renderer;
5123
5122
  let m;
5124
- d && u === Ee.LayerRenderer ? s = await Zt(d) : u === Ee.ChartRenderer && (s = Ms(f));
5125
- const g = bs(l, d?.renderer), y = Ns({
5123
+ d && u === Ee.LayerRenderer ? s = await Zt(d) : u === Ee.ChartRenderer && (s = Ps(f));
5124
+ const g = Ss(l, d?.renderer), y = Bs({
5126
5125
  chartRenderer: c,
5127
5126
  queryObject: t
5128
- }), p = E(o), x = we(a), F = K(x.query?.where);
5127
+ }), p = E(o), C = we(a), F = K(C.query?.where);
5129
5128
  m = /* @__PURE__ */ new Map();
5130
- for (let C = 0; C < e.length; C += 1) {
5131
- const B = e[C], N = await Ts({
5129
+ for (let x = 0; x < e.length; x += 1) {
5130
+ const B = e[x], N = await vs({
5132
5131
  seriesConfig: a.series,
5133
5132
  dataItem: B,
5134
5133
  renderer: f,
@@ -5145,7 +5144,7 @@ async function sl(i) {
5145
5144
  }
5146
5145
  return { dataItems: e, colorMatchApplied: r, rendererFieldNames: s };
5147
5146
  }
5148
- function Ps(i) {
5147
+ function Ts(i) {
5149
5148
  const { dataItem: e, seriesConfig: t, chartSubType: a, colorMatch: n, rendererType: r } = i;
5150
5149
  let s;
5151
5150
  if (n && e !== void 0) {
@@ -5159,7 +5158,7 @@ function Ps(i) {
5159
5158
  }
5160
5159
  return s;
5161
5160
  }
5162
- function ol(i) {
5161
+ function nl(i) {
5163
5162
  const { seriesSymbol: e, rendererSymbol: t, colorIndex: a, preferSeriesSymbolOverRendererSymbol: n } = i;
5164
5163
  let r = t?.color ?? e.color;
5165
5164
  n && (r = e.color ?? t?.color), r = r ?? Ut({ colorIndex: a, opacity: ri });
@@ -5174,19 +5173,19 @@ function ol(i) {
5174
5173
  color: t?.outline?.color ?? s.outline?.color ?? t?.color
5175
5174
  }), s;
5176
5175
  }
5177
- function Ls(i) {
5176
+ function As(i) {
5178
5177
  let e = [];
5179
5178
  return i && (e = i.series.flatMap((t) => t.query?.outStatistics?.map((a) => a.onStatisticField)).filter((t) => t !== void 0), e.length === 0 && (e = se(i.series))), e;
5180
5179
  }
5181
- function ll(i, e) {
5180
+ function rl(i, e) {
5182
5181
  let t = !1;
5183
5182
  if (i && e && e.length > 0 && Gt(i)) {
5184
- const n = Wa(i), r = we(i);
5185
- n ? t = Ls(i).some((o) => e.includes(o)) : t = e.includes(r.x);
5183
+ const n = ka(i), r = we(i);
5184
+ n ? t = As(i).some((o) => e.includes(o)) : t = e.includes(r.x);
5186
5185
  }
5187
5186
  return t;
5188
5187
  }
5189
- function Ms(i) {
5188
+ function Ps(i) {
5190
5189
  let e = [];
5191
5190
  if (i && "type" in i && typeof i.type == "string")
5192
5191
  switch (i.type) {
@@ -5202,71 +5201,71 @@ function Ms(i) {
5202
5201
  }
5203
5202
  return e;
5204
5203
  }
5205
- function cl(i, e) {
5204
+ function sl(i, e) {
5206
5205
  let t;
5207
5206
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.position = i)), t;
5208
5207
  }
5209
- function ul(i, e) {
5208
+ function ol(i, e) {
5210
5209
  let t;
5211
5210
  return e !== void 0 && (t = { ...e }, t.legend !== void 0 && (t.legend.visible = i)), t;
5212
5211
  }
5213
- function dl(i) {
5212
+ function ll(i) {
5214
5213
  let e;
5215
5214
  return i !== void 0 && (e = { ...i }, delete e.axes?.[0]?.minimum, delete e.axes?.[0]?.maximum, delete e.axes?.[1]?.minimum, delete e.axes?.[1]?.maximum), e;
5216
5215
  }
5217
- function fl(i, e) {
5218
- return e != null || La(i);
5216
+ function cl(i, e) {
5217
+ return e != null || Aa(i);
5219
5218
  }
5220
- async function ws(i) {
5219
+ async function Ls(i) {
5221
5220
  const { queryObject: e, chartConfig: t, options: a, splitByField: n } = i;
5222
5221
  let r = [];
5223
- const s = t.series[0], o = await Pa(t, e), c = ii({
5222
+ const s = t.series[0], o = ii({
5224
5223
  queryObject: e,
5225
- chartConfig: o,
5224
+ chartConfig: t,
5226
5225
  runtimeDataFilters: a?.runtimeDataFilters,
5227
5226
  ignoreViewExtent: a?.ignoreViewExtent
5228
5227
  });
5229
- if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName = Y.outStatistics.outStatisticFieldName), oe(s) && Ne({
5230
- xAxisValueFormatType: pe(o),
5228
+ if (o.outStatistics?.[0]?.outStatisticFieldName && (o.outStatistics[0].outStatisticFieldName = Y.outStatistics.outStatisticFieldName), oe(s) && Ne({
5229
+ xAxisValueFormatType: pe(t),
5231
5230
  setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided,
5232
5231
  seriesConfig: s
5233
5232
  }) && Qe(e)) {
5234
- const { temporalBinning: l, x: u } = s, d = await ai({
5233
+ const { temporalBinning: c, x: l } = s, u = await ai({
5235
5234
  queryObject: e,
5236
- dateField: u,
5235
+ dateField: l,
5237
5236
  splitByField: n,
5238
- queryConfig: c,
5239
- temporalBinning: l
5237
+ queryConfig: o,
5238
+ temporalBinning: c
5240
5239
  });
5241
5240
  r = Array.from(
5242
5241
  new Set(
5243
- d.flatMap((f) => {
5244
- const { stackedAttributes: m } = f;
5245
- let g = [];
5246
- return m && (g = m.map((y) => y[n]).filter((y) => y !== void 0)), g;
5242
+ u.flatMap((d) => {
5243
+ const { stackedAttributes: f } = d;
5244
+ let m = [];
5245
+ return f && (m = f.map((g) => g[n]).filter((g) => g !== void 0)), m;
5247
5246
  })
5248
5247
  ).values()
5249
5248
  );
5250
5249
  } else {
5251
- const { uniqueQuery: l } = await ct({
5252
- chartConfig: o,
5250
+ const { uniqueQuery: c } = await ct({
5251
+ chartConfig: t,
5253
5252
  queryObject: e,
5254
- queryConfig: c,
5253
+ queryConfig: o,
5255
5254
  options: a
5256
- }), u = await ye({
5255
+ }), l = await ye({
5257
5256
  queryObject: e,
5258
- queryConfig: l,
5257
+ queryConfig: c,
5259
5258
  featureCount: 1
5260
5259
  });
5261
5260
  r = Array.from(
5262
5261
  new Set(
5263
- u.map((d) => d.attributes[n]).filter((d) => d !== void 0)
5262
+ l.map((u) => u.attributes[n]).filter((u) => u !== void 0)
5264
5263
  ).values()
5265
5264
  );
5266
5265
  }
5267
5266
  return r;
5268
5267
  }
5269
- function Ds(i, e) {
5268
+ function Ms(i, e) {
5270
5269
  const t = /* @__PURE__ */ new Map();
5271
5270
  return i.series.forEach((a) => {
5272
5271
  let n = ge({
@@ -5286,7 +5285,7 @@ function Ds(i, e) {
5286
5285
  ]);
5287
5286
  }), t;
5288
5287
  }
5289
- function Os(i) {
5288
+ function ws(i) {
5290
5289
  const { allValues: e, configUniqueValuesPerSeriesType: t, initialConfigWasEmpty: a } = i, n = /* @__PURE__ */ new Map();
5291
5290
  return Array.from(t.keys()).forEach((r) => {
5292
5291
  const s = t.get(r) ?? [];
@@ -5296,7 +5295,7 @@ function Os(i) {
5296
5295
  }), n.set(r, o);
5297
5296
  }), n;
5298
5297
  }
5299
- function qs(i) {
5298
+ function Ds(i) {
5300
5299
  const { chartConfig: e, missingValue: t, splitByField: a, seriesTemplate: n } = i, r = JSON.parse(
5301
5300
  JSON.stringify({
5302
5301
  ...e.series[0],
@@ -5313,138 +5312,131 @@ function qs(i) {
5313
5312
  }
5314
5313
  return r;
5315
5314
  }
5316
- async function ml(i, e, t) {
5317
- const { updateSplitBySeries: a } = i, { seriesTemplate: n } = a ?? {};
5318
- if (a !== void 0 && e !== void 0 && (e.series.length > 0 || n !== void 0) && a.addMissingSeries) {
5319
- const r = e.series.length === 0;
5320
- e.series.length === 0 && n !== void 0 && e.series.push(n);
5321
- const s = E(e.series);
5322
- if (s === h.BoxPlotMonoFieldAndSplitBy || s === h.BoxPlotMultiFieldsAndSplitBy || s === h.BoxPlotMonoFieldAndCategoryAndSplitBy || s === h.BarAndLineSplitBy || s === h.BarAndLineSplitByNoAggregation) {
5323
- const o = await Sa({
5324
- chartConfig: e,
5325
- layer: i.layer,
5326
- view: i.view
5315
+ async function ul(i) {
5316
+ const { component: e, config: t, options: a, queryObject: n } = i, { updateSplitBySeries: r } = e, { seriesTemplate: s } = r ?? {};
5317
+ if (r !== void 0 && t !== void 0 && (t.series.length > 0 || s !== void 0) && r.addMissingSeries) {
5318
+ const o = t.series.length === 0;
5319
+ t.series.length === 0 && s !== void 0 && t.series.push(s);
5320
+ const c = E(t.series);
5321
+ if ((c === h.BoxPlotMonoFieldAndSplitBy || c === h.BoxPlotMultiFieldsAndSplitBy || c === h.BoxPlotMonoFieldAndCategoryAndSplitBy || c === h.BarAndLineSplitBy || c === h.BarAndLineSplitByNoAggregation) && n !== void 0) {
5322
+ const l = K(t.series[0]?.query?.where), u = z(n);
5323
+ await u.load();
5324
+ const d = u.getField(l)?.toJSON(), f = We(d), m = await Ls({
5325
+ queryObject: n,
5326
+ chartConfig: t,
5327
+ splitByField: l,
5328
+ options: a
5327
5329
  });
5328
- if (o !== void 0) {
5329
- const c = K(e.series[0]?.query?.where), l = z(o);
5330
- await l.load();
5331
- const u = l.getField(c)?.toJSON(), d = We(u), f = await ws({
5332
- queryObject: o,
5333
- chartConfig: e,
5334
- splitByField: c,
5335
- options: t
5330
+ if (m.length > 0) {
5331
+ const g = Ms(t, f), y = ws({
5332
+ allValues: m,
5333
+ configUniqueValuesPerSeriesType: g,
5334
+ initialConfigWasEmpty: o
5335
+ });
5336
+ Array.from(y.keys()).forEach((p) => {
5337
+ (y.get(p) ?? []).forEach((F) => {
5338
+ t.series.push(
5339
+ Ds({
5340
+ chartConfig: t,
5341
+ seriesTemplate: s,
5342
+ missingValue: F,
5343
+ splitByField: l
5344
+ })
5345
+ );
5346
+ }), o && t.series.shift();
5336
5347
  });
5337
- if (f.length > 0) {
5338
- const m = Ds(e, d), g = Os({
5339
- allValues: f,
5340
- configUniqueValuesPerSeriesType: m,
5341
- initialConfigWasEmpty: r
5342
- });
5343
- Array.from(g.keys()).forEach((y) => {
5344
- (g.get(y) ?? []).forEach((x) => {
5345
- e.series.push(
5346
- qs({
5347
- chartConfig: e,
5348
- seriesTemplate: n,
5349
- missingValue: x,
5350
- splitByField: c
5351
- })
5352
- );
5353
- }), r && e.series.shift();
5354
- });
5355
- }
5356
5348
  }
5357
5349
  }
5358
5350
  }
5359
5351
  }
5360
5352
  export {
5361
- el as $,
5362
- Xo as A,
5363
- Zo as B,
5353
+ Jo as $,
5354
+ Yo as A,
5355
+ Ko as B,
5364
5356
  si as C,
5365
- Nr as D,
5366
- pr as E,
5357
+ Br as D,
5358
+ gr as E,
5367
5359
  Lt as F,
5368
- yo as G,
5369
- ys as H,
5370
- Ma as I,
5371
- fo as J,
5372
- Oo as K,
5373
- ko as L,
5374
- Jo as M,
5360
+ fo as G,
5361
+ ms as H,
5362
+ Pa as I,
5363
+ lo as J,
5364
+ Mo as K,
5365
+ Io as L,
5366
+ _o as M,
5375
5367
  jt as N,
5376
- lo as O,
5377
- uo as P,
5368
+ ro as O,
5369
+ oo as P,
5378
5370
  fe as Q,
5379
5371
  Ee as R,
5380
- Lo as S,
5381
- jo as T,
5382
- hn as U,
5383
- al as V,
5384
- Ka as W,
5372
+ To as S,
5373
+ $o as T,
5374
+ yn as U,
5375
+ el as V,
5376
+ _a as W,
5385
5377
  pe as X,
5386
- Ko as Y,
5387
- qo as Z,
5388
- Yo as _,
5389
- nl as a,
5390
- sl as a0,
5391
- No as a1,
5392
- Po as a2,
5393
- mo as a3,
5394
- Go as a4,
5395
- Co as a5,
5396
- $o as a6,
5397
- Ro as a7,
5398
- po as a8,
5399
- Ho as a9,
5400
- zo as aa,
5401
- Eo as ab,
5402
- Uo as ac,
5403
- ho as ad,
5404
- So as ae,
5405
- co as af,
5406
- _o as ag,
5407
- Fo as ah,
5378
+ Uo as Y,
5379
+ wo as Z,
5380
+ Go as _,
5381
+ tl as a,
5382
+ al as a0,
5383
+ Co as a1,
5384
+ No as a2,
5385
+ co as a3,
5386
+ Qo as a4,
5387
+ Fo as a5,
5388
+ Eo as a6,
5389
+ Vo as a7,
5390
+ mo as a8,
5391
+ jo as a9,
5392
+ Wo as aa,
5393
+ Do as ab,
5394
+ Ho as ac,
5395
+ go as ad,
5396
+ yo as ae,
5397
+ so as af,
5398
+ zo as ag,
5399
+ po as ah,
5408
5400
  Ft as ai,
5409
- Ra as aj,
5401
+ Ia as aj,
5410
5402
  ci as ak,
5411
- To as al,
5412
- tl as am,
5413
- Vo as an,
5414
- Io as ao,
5415
- Wo as ap,
5416
- Qo as aq,
5417
- Bo as ar,
5418
- xo as as,
5419
- bo as at,
5420
- go as au,
5421
- ml as av,
5422
- fl as aw,
5423
- cl as ax,
5424
- ul as ay,
5403
+ Bo as al,
5404
+ Xo as am,
5405
+ Oo as an,
5406
+ qo as ao,
5407
+ Ro as ap,
5408
+ ko as aq,
5409
+ bo as ar,
5410
+ So as as,
5411
+ ho as at,
5412
+ uo as au,
5413
+ ul as av,
5414
+ cl as aw,
5415
+ sl as ax,
5416
+ ol as ay,
5425
5417
  ui as b,
5426
- oo as c,
5427
- il as d,
5428
- vo as e,
5418
+ no as c,
5419
+ Zo as d,
5420
+ xo as e,
5429
5421
  He as f,
5430
5422
  ze as g,
5431
- za as h,
5423
+ Qa as h,
5432
5424
  Oi as i,
5433
- ps as j,
5434
- ll as k,
5425
+ gs as j,
5426
+ rl as k,
5435
5427
  Pe as l,
5436
- ol as m,
5437
- Ao as n,
5428
+ nl as m,
5429
+ vo as n,
5438
5430
  J as o,
5439
- Ps as p,
5440
- Do as q,
5441
- dl as r,
5431
+ Ts as p,
5432
+ Lo as q,
5433
+ ll as r,
5442
5434
  Ke as s,
5443
- Mo as t,
5444
- Ns as u,
5445
- bs as v,
5446
- rl as w,
5447
- Ts as x,
5448
- wo as y,
5449
- Qa as z
5435
+ Ao as t,
5436
+ Bs as u,
5437
+ Ss as v,
5438
+ il as w,
5439
+ vs as x,
5440
+ Po as y,
5441
+ ja as z
5450
5442
  };