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

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 (305) hide show
  1. package/dist/cdn/{ZPQJ4OHR.js → 24MJI7S7.js} +2 -2
  2. package/dist/cdn/{BXEYZKCK.js → 2C2HPKZ2.js} +2 -2
  3. package/dist/cdn/{B65MBETP.js → 2CHWKIPW.js} +2 -2
  4. package/dist/cdn/{AG5QFTCY.js → 2FJQJZ54.js} +2 -2
  5. package/dist/cdn/{I5YHSYQS.js → 2FRLIQU7.js} +2 -2
  6. package/dist/cdn/{6GTYZKJ5.js → 2GWYD5AM.js} +2 -2
  7. package/dist/cdn/{ZMTBJMWN.js → 2IMNWE2K.js} +2 -2
  8. package/dist/cdn/{2OXTTDB4.js → 2JTKMQJV.js} +2 -2
  9. package/dist/cdn/{DH2NSV4P.js → 2KVOFVEH.js} +2 -2
  10. package/dist/cdn/{L4K6PVG6.js → 2NCNXBCO.js} +1 -1
  11. package/dist/cdn/{7FTRD5WA.js → 2ST7WVDE.js} +2 -2
  12. package/dist/cdn/{XZ7YSCBL.js → 33R74LOR.js} +2 -2
  13. package/dist/cdn/{LNXCZDFF.js → 3VTJ57FO.js} +2 -2
  14. package/dist/cdn/{RAAO4LTQ.js → 3Y3MIM7I.js} +2 -2
  15. package/dist/cdn/{YPZWBASE.js → 3ZEY3GUA.js} +2 -2
  16. package/dist/cdn/{AYQOIEGG.js → 44DDGZRD.js} +2 -2
  17. package/dist/cdn/{K6YBXQFQ.js → 46AWIEWE.js} +2 -2
  18. package/dist/cdn/{OZXWI5SO.js → 4CNWB55C.js} +1 -1
  19. package/dist/cdn/{ETEJECER.js → 4KRA4TOH.js} +2 -2
  20. package/dist/cdn/{7YJIUSST.js → 4SIHXTT3.js} +2 -2
  21. package/dist/cdn/{SMLIAVED.js → 4SYLWQRB.js} +2 -2
  22. package/dist/cdn/{GUOEC2KW.js → 4YBO645G.js} +22 -22
  23. package/dist/cdn/{HCUYSWSJ.js → 5D5MJ6JB.js} +2 -2
  24. package/dist/cdn/{B7RYRRNX.js → 5RS2NW2T.js} +2 -2
  25. package/dist/cdn/{GHBELWWV.js → 5ZU63RY7.js} +2 -2
  26. package/dist/cdn/{ORZOPEOT.js → 64AKKTPO.js} +2 -2
  27. package/dist/cdn/{HPV6VPJO.js → 64MMISFF.js} +2 -2
  28. package/dist/cdn/{3W3TWGQH.js → 66GNVQXT.js} +2 -2
  29. package/dist/cdn/{VBPIBHRL.js → 6AKI7HMD.js} +2 -2
  30. package/dist/cdn/{AG63GBD4.js → 6BR6PSFP.js} +2 -2
  31. package/dist/cdn/{MKLHHQDW.js → 6CXCUFBB.js} +2 -2
  32. package/dist/cdn/{G2E7M5DL.js → 6MCARUMD.js} +2 -2
  33. package/dist/cdn/{65E6A2OO.js → 6RWN4DUY.js} +2 -2
  34. package/dist/cdn/{BVMXKDIA.js → 6YHSQHQG.js} +2 -2
  35. package/dist/cdn/{OVDBSOMI.js → 74LPYCC3.js} +2 -2
  36. package/dist/cdn/{SVGOJZWQ.js → 7CC7QUMQ.js} +2 -2
  37. package/dist/cdn/{RZJV3MLI.js → 7FIOIRY2.js} +2 -2
  38. package/dist/cdn/{HKAFIYXH.js → 7QZZNLYL.js} +2 -2
  39. package/dist/cdn/{F72SPKP6.js → 7T7KGW47.js} +2 -2
  40. package/dist/cdn/{RTDUUVHQ.js → 7ZMEVZG4.js} +2 -2
  41. package/dist/cdn/{JZ4MUN6S.js → A4BSXYBI.js} +2 -2
  42. package/dist/cdn/A6KT6GKZ.js +4 -0
  43. package/dist/cdn/AA25GRSO.js +4 -0
  44. package/dist/cdn/{BQK5ZYBJ.js → ACDSZAZY.js} +2 -2
  45. package/dist/cdn/{JC2EN7UR.js → ACW67Q5G.js} +2 -2
  46. package/dist/cdn/{UOPASKCG.js → AQ75LURI.js} +2 -2
  47. package/dist/cdn/{2S2W3AHP.js → AT6TOOEH.js} +2 -2
  48. package/dist/cdn/{DH4V3K32.js → AU2UZT7E.js} +2 -2
  49. package/dist/cdn/{RYVUHOFA.js → AXWUIKID.js} +2 -2
  50. package/dist/cdn/{SJCFW5C2.js → B5HCYGP5.js} +2 -2
  51. package/dist/cdn/{UJS6GFEO.js → BBR5CXKK.js} +2 -2
  52. package/dist/cdn/{NENCSBWP.js → BFICDIIE.js} +2 -2
  53. package/dist/cdn/{LL3DJZYY.js → BFTFGVOJ.js} +2 -2
  54. package/dist/cdn/{AKGFWH5D.js → BTJ4RVCU.js} +2 -2
  55. package/dist/cdn/{KMGG327W.js → BYRJVGII.js} +2 -2
  56. package/dist/cdn/{QTIKZWJY.js → C4SFDTPY.js} +2 -2
  57. package/dist/cdn/{TUGHNK3D.js → C4U6RP3E.js} +2 -2
  58. package/dist/cdn/{5I4UMBK4.js → CAEGCVMC.js} +2 -2
  59. package/dist/cdn/{VX7NI77V.js → CMQ4THXL.js} +2 -2
  60. package/dist/cdn/{TIFA2X4Z.js → COXCRQEI.js} +2 -2
  61. package/dist/cdn/{EHJ3WL66.js → CSNUGWE2.js} +2 -2
  62. package/dist/cdn/{22IB55EB.js → D4QBJAFY.js} +2 -2
  63. package/dist/cdn/{OXUH3KV5.js → DIG7JUOP.js} +2 -2
  64. package/dist/cdn/{OW2RBVIX.js → DJQ6IHYW.js} +2 -2
  65. package/dist/cdn/{TVVC65FJ.js → DQDX2DAA.js} +2 -2
  66. package/dist/cdn/{U4UMDYKQ.js → DV56YPAG.js} +2 -2
  67. package/dist/cdn/{ERIN6JQ5.js → E2RJD45X.js} +2 -2
  68. package/dist/cdn/{STNAE3OA.js → EE4TDMK2.js} +2 -2
  69. package/dist/cdn/{GN5UM7AR.js → ETQN6K3Z.js} +2 -2
  70. package/dist/cdn/{HNJC2DDD.js → EYEL3HCV.js} +2 -2
  71. package/dist/cdn/{OY3LIXLM.js → EZAP5ONH.js} +2 -2
  72. package/dist/cdn/{HVLM6CNI.js → EZMCFPNZ.js} +2 -2
  73. package/dist/cdn/{BI2C4GOI.js → F3ATFPLN.js} +2 -2
  74. package/dist/cdn/{VYLCP4LD.js → FGTMTH4H.js} +2 -2
  75. package/dist/cdn/{7Z2AGBY3.js → G54ZE57N.js} +2 -2
  76. package/dist/cdn/{C6A6MGAY.js → G5AJPP7A.js} +2 -2
  77. package/dist/cdn/{UL4KVAYS.js → GFGSRBD2.js} +2 -2
  78. package/dist/cdn/{YRC3SBCB.js → GQ7DC5FB.js} +2 -2
  79. package/dist/cdn/{7NQBB57M.js → HCEXZWTP.js} +2 -2
  80. package/dist/cdn/{KHZGJ6EJ.js → HFKGICVX.js} +2 -2
  81. package/dist/cdn/{YSICO7J3.js → HHGLENQO.js} +2 -2
  82. package/dist/cdn/{KS2XUMT7.js → HPMB6DB3.js} +2 -2
  83. package/dist/cdn/{74ZFZ6O2.js → HRZVDZMG.js} +2 -2
  84. package/dist/cdn/{EXHTMS6X.js → HYQR7ADL.js} +2 -2
  85. package/dist/cdn/{BSC3HMLF.js → I64IYKKH.js} +2 -2
  86. package/dist/cdn/{NJEE2YX3.js → IVXRPDLC.js} +1 -1
  87. package/dist/cdn/{HOFVTVUG.js → IWTJBTU7.js} +2 -2
  88. package/dist/cdn/{UXPU4Y2J.js → J5VNG2M5.js} +2 -2
  89. package/dist/cdn/{6QYVP6ES.js → JAZ44YVW.js} +2 -2
  90. package/dist/cdn/JN2BSP6G.js +4 -0
  91. package/dist/cdn/JQMTH3YW.js +6 -0
  92. package/dist/cdn/{KMGGRJY3.js → K73XLXBR.js} +2 -2
  93. package/dist/cdn/{HWTRDFNM.js → KJMRGLV2.js} +2 -2
  94. package/dist/cdn/{3JZ44T2W.js → KJU6JG2H.js} +2 -2
  95. package/dist/cdn/{4JIZKUME.js → KNPE6FRL.js} +2 -2
  96. package/dist/cdn/{IPO64FZF.js → KQYRV5PM.js} +2 -2
  97. package/dist/cdn/{JAQB6CAY.js → KRSHATLS.js} +2 -2
  98. package/dist/cdn/{H3EX6WII.js → KWBKU46N.js} +2 -2
  99. package/dist/cdn/{NGOKMUHU.js → KYD45MUA.js} +2 -2
  100. package/dist/cdn/{VAWSAPOU.js → L2Q4ABYM.js} +2 -2
  101. package/dist/cdn/{UMSRV2K4.js → L7DWE4OH.js} +2 -2
  102. package/dist/cdn/{DL463G3N.js → L7USUIEA.js} +1 -1
  103. package/dist/cdn/{EAYNJ5AO.js → LB3JZDFH.js} +2 -2
  104. package/dist/cdn/{NIC2FQFP.js → LC5JIM6W.js} +1 -1
  105. package/dist/cdn/{IZNICEPC.js → LLPOW5G6.js} +2 -2
  106. package/dist/cdn/{GR2YDGSB.js → LMIAB7BL.js} +2 -2
  107. package/dist/cdn/{56JQI4D2.js → LU6GJFV4.js} +2 -2
  108. package/dist/cdn/{OP5YQOKF.js → LU7U6APK.js} +2 -2
  109. package/dist/cdn/{GV4LDHU3.js → LXDRUVKW.js} +2 -2
  110. package/dist/cdn/{MAQ3BQBQ.js → LYKZOCUC.js} +2 -2
  111. package/dist/cdn/{LK4QUAWM.js → MF7VYHFR.js} +2 -2
  112. package/dist/cdn/{XLVY443C.js → MIIWU5CL.js} +2 -2
  113. package/dist/cdn/{5OLA4ZRE.js → MKKAYDU5.js} +2 -2
  114. package/dist/cdn/{XBJL7LFX.js → MRJF4QPU.js} +2 -2
  115. package/dist/cdn/{UD73TXFE.js → MTKPDQ2Z.js} +1 -1
  116. package/dist/cdn/{6H755NF6.js → MYZE5ODQ.js} +2 -2
  117. package/dist/cdn/{KTPQKBVU.js → NHX3SHEV.js} +2 -2
  118. package/dist/cdn/{NSR7MQVM.js → NJH4LV57.js} +2 -2
  119. package/dist/cdn/{3NIZ4BN4.js → NNELYOBA.js} +2 -2
  120. package/dist/cdn/{W6PGLPBY.js → NSUJDNWC.js} +2 -2
  121. package/dist/cdn/{XCCFBZWO.js → NUFCFRVZ.js} +1 -1
  122. package/dist/cdn/{ZDEWHMLB.js → NYRGZY4T.js} +2 -2
  123. package/dist/cdn/{3HDMN2HJ.js → O3OLJTFG.js} +2 -2
  124. package/dist/cdn/{2C3MKHKR.js → O7QTG4AT.js} +2 -2
  125. package/dist/cdn/{OK66ZTMY.js → OHNG7ZK4.js} +2 -2
  126. package/dist/cdn/{XMVL337M.js → OPISWIIZ.js} +2 -2
  127. package/dist/cdn/{AVUD3TS3.js → OU4XZNDM.js} +2 -2
  128. package/dist/cdn/{ZN2GO7FR.js → OV4O6VKY.js} +2 -2
  129. package/dist/cdn/{ZZUXTTIM.js → P7C2WOMX.js} +2 -2
  130. package/dist/cdn/{64T7WSPH.js → P7N6PUEA.js} +2 -2
  131. package/dist/cdn/{TCQRJQOM.js → PAN7MYXB.js} +2 -2
  132. package/dist/cdn/{5UWN34G6.js → PARXPXOS.js} +2 -2
  133. package/dist/cdn/{E27H2XY7.js → PAYFUXL6.js} +2 -2
  134. package/dist/cdn/{LNTBMXGZ.js → PUM3HXB5.js} +2 -2
  135. package/dist/cdn/{EECTIMWO.js → PZCIXLID.js} +2 -2
  136. package/dist/cdn/{A6RAU3DT.js → QEY3ZHQA.js} +2 -2
  137. package/dist/cdn/{JJVF47IJ.js → QRKAR46N.js} +2 -2
  138. package/dist/cdn/{JFJVRDN2.js → QSMMEJYZ.js} +2 -2
  139. package/dist/cdn/{C55MEH5I.js → QWORMXMF.js} +2 -2
  140. package/dist/cdn/{RPA6PPH2.js → QX2OSFHR.js} +2 -2
  141. package/dist/cdn/{6KG7OWXY.js → R4W3O2SA.js} +2 -2
  142. package/dist/cdn/{SOUD6I5A.js → R5IDFIKD.js} +2 -2
  143. package/dist/cdn/{5YSV2K7R.js → RHFRHUH7.js} +2 -2
  144. package/dist/cdn/{RLMD2QSH.js → RHME3KNC.js} +1 -1
  145. package/dist/cdn/{OQNIAWXM.js → RJUNOQ67.js} +2 -2
  146. package/dist/cdn/{OAI4TB6K.js → RLXBYZVW.js} +2 -2
  147. package/dist/cdn/{BSBBZAFU.js → RSNAAU43.js} +2 -2
  148. package/dist/cdn/{YKVUAVYM.js → S4A5BZYB.js} +2 -2
  149. package/dist/cdn/{64SVF7GP.js → SNEWASL4.js} +2 -2
  150. package/dist/cdn/{IREM73Z4.js → SQZB2247.js} +2 -2
  151. package/dist/cdn/{OEXIDIAB.js → SVNADTSJ.js} +2 -2
  152. package/dist/cdn/{VRFM5JOQ.js → TDTRBDTB.js} +2 -2
  153. package/dist/cdn/{QJDOU4OX.js → TUZHHMQL.js} +2 -2
  154. package/dist/cdn/{UKCTNQYO.js → U5AM3ZJR.js} +2 -2
  155. package/dist/cdn/{WO2Z2LJQ.js → U7V4J6ZH.js} +2 -2
  156. package/dist/cdn/{2SWDLR7G.js → UESEZ6XR.js} +2 -2
  157. package/dist/cdn/{OKM3TERJ.js → UH2YISXX.js} +2 -2
  158. package/dist/cdn/{JVXLHPIT.js → UONTDZXK.js} +2 -2
  159. package/dist/cdn/{BIONU7A4.js → UYGH4OUP.js} +2 -2
  160. package/dist/cdn/{GUTOSBOV.js → V3FQRTAU.js} +1 -1
  161. package/dist/cdn/VAMBXURM.js +4 -0
  162. package/dist/cdn/{FYZNX663.js → VDWAYZPZ.js} +2 -2
  163. package/dist/cdn/{ZQQSRS5N.js → VGHPMI2M.js} +2 -2
  164. package/dist/cdn/{BA3R2UGR.js → VKBJHYFR.js} +2 -2
  165. package/dist/cdn/VNZ4NKS6.js +4 -0
  166. package/dist/cdn/{VHZGCXHC.js → VO2GXPU4.js} +4 -4
  167. package/dist/cdn/{JNOAFULY.js → W67EQ72D.js} +2 -2
  168. package/dist/cdn/{5Z7UMLPL.js → WAWSQO47.js} +1 -1
  169. package/dist/cdn/{MYHIOBRJ.js → WLLC33CT.js} +2 -2
  170. package/dist/cdn/{M6JQULWR.js → XBCVZDAQ.js} +2 -2
  171. package/dist/cdn/{AADNTWG6.js → XGYZPB43.js} +2 -2
  172. package/dist/cdn/{BCL33Z7L.js → XHEDLERR.js} +2 -2
  173. package/dist/cdn/{SKAUGJF4.js → XIIDWJEC.js} +2 -2
  174. package/dist/cdn/{33GIYOKG.js → XSGQSK52.js} +2 -2
  175. package/dist/cdn/{EXEYTQUM.js → XWCCAMPY.js} +2 -2
  176. package/dist/cdn/{STMOAC2M.js → Y25ZSBK7.js} +2 -2
  177. package/dist/cdn/{VXDIAOEX.js → YPHC62Q2.js} +2 -2
  178. package/dist/cdn/{BOPXZV2B.js → YTKBCAXL.js} +2 -2
  179. package/dist/cdn/{EU4QSJBL.js → YTMKHXRW.js} +2 -2
  180. package/dist/cdn/{MJEZRDLA.js → Z3GRO7DM.js} +2 -2
  181. package/dist/cdn/{RVC7X533.js → ZJT3YMFR.js} +2 -2
  182. package/dist/cdn/{B7RB5ZSV.js → ZJYPT2UY.js} +2 -2
  183. package/dist/cdn/index.js +2 -2
  184. package/dist/chart-rendering/common/data/utils/misc/index.d.ts +0 -8
  185. package/dist/chart-rendering/common/defaults/interfaces.d.ts +3 -6
  186. package/dist/chart-rendering/common/symbols/utils/index.d.ts +9 -0
  187. package/dist/chart-rendering/next/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  188. package/dist/chart-rendering/stable/chart-library-elements/symbols/utils/property-map/index.d.ts +1 -9
  189. package/dist/chunks/action-bar-utils.js +9 -9
  190. package/dist/chunks/axis-model-wrapper.js +1 -1
  191. package/dist/chunks/bar-chart-model.js +2 -2
  192. package/dist/chunks/bar-chart-series.js +1 -1
  193. package/dist/chunks/baseline-stacking.js +2 -2
  194. package/dist/chunks/bg_BG.js +1 -1
  195. package/dist/chunks/bg_BG2.js +1 -1
  196. package/dist/chunks/box-plot-data.js +6 -6
  197. package/dist/chunks/box-plot-model.js +15 -15
  198. package/dist/chunks/chart-ui-utils.js +1 -1
  199. package/dist/chunks/chart-ui-utils2.js +12 -12
  200. package/dist/chunks/combo-bar-line-chart-model.js +2 -2
  201. package/dist/chunks/common.js +1 -1
  202. package/dist/chunks/config-update.js +710 -710
  203. package/dist/chunks/data.js +328 -328
  204. package/dist/chunks/default.js +1 -1
  205. package/dist/chunks/gauge-model.js +11 -11
  206. package/dist/chunks/heat-chart-model.js +131 -53
  207. package/dist/chunks/histogram-data.js +9 -9
  208. package/dist/chunks/histogram-model.js +2 -2
  209. package/dist/chunks/index.js +35 -35
  210. package/dist/chunks/index2.js +2 -2
  211. package/dist/chunks/index3.js +2 -2
  212. package/dist/chunks/index4.js +1 -1
  213. package/dist/chunks/index5.js +1 -1
  214. package/dist/chunks/interfaces.js +225 -221
  215. package/dist/chunks/interfaces2.js +1 -1
  216. package/dist/chunks/interfaces3.js +1 -1
  217. package/dist/chunks/interfaces4.js +6 -8
  218. package/dist/chunks/line-chart-model.js +6 -6
  219. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  220. package/dist/chunks/model-with-data-labels.js +2 -2
  221. package/dist/chunks/model-with-multi-axes.js +2 -2
  222. package/dist/chunks/model-with-rotation.js +2 -2
  223. package/dist/chunks/pie-chart-data.js +33 -33
  224. package/dist/chunks/pie-chart-model.js +25 -25
  225. package/dist/chunks/popover-ui-utils.js +1 -1
  226. package/dist/chunks/radar-chart-model.js +6 -6
  227. package/dist/chunks/resource.js +1 -1
  228. package/dist/chunks/rest-js-object-literals.js +1 -1
  229. package/dist/chunks/runtime.js +1 -1
  230. package/dist/chunks/scatterplot-model.js +2 -2
  231. package/dist/chunks/serial-chart-model.js +21 -19
  232. package/dist/chunks/series-types.js +1 -1
  233. package/dist/chunks/series.js +2 -2
  234. package/dist/chunks/sk_SK.js +1 -1
  235. package/dist/chunks/store.js +1 -1
  236. package/dist/chunks/type-guards.js +1 -1
  237. package/dist/chunks/useT9n.js +1 -1
  238. package/dist/chunks/web-component-utils.js +98 -98
  239. package/dist/components/arcgis-chart/customElement.d.ts +0 -2
  240. package/dist/components/arcgis-chart/customElement.js +3339 -3365
  241. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +2 -2
  245. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +2 -2
  246. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +2 -2
  247. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +2 -2
  248. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +2 -2
  249. package/dist/components/arcgis-charts-config-box-plot/customElement.js +2 -2
  250. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +2 -2
  251. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +2 -2
  252. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +2 -2
  253. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +2 -2
  254. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-create-flow/customElement.js +5 -5
  259. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-font-style/customElement.js +2 -2
  261. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-general/customElement.js +2 -2
  264. package/dist/components/arcgis-charts-config-guide/customElement.js +13 -13
  265. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-histogram/customElement.js +2 -2
  269. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +2 -2
  270. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +2 -2
  271. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-line-chart/customElement.js +2 -2
  273. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +2 -2
  274. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +2 -2
  275. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +2 -2
  276. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +2 -2
  277. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +2 -2
  280. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +5 -5
  281. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +2 -2
  282. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +6 -6
  283. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +2 -2
  284. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +2 -2
  285. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +6 -6
  286. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +2 -2
  287. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  288. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  289. package/dist/docs/api.json +5 -9
  290. package/dist/docs/docs.json +6 -10
  291. package/dist/docs/vscode.html-custom-data.json +1 -1
  292. package/dist/docs/web-types.json +2 -2
  293. package/dist/index.js +206 -205
  294. package/dist/loader.js +1 -1
  295. package/dist/model/heat-chart-model/heat-chart-model.d.ts +60 -5
  296. package/dist/model/heat-chart-model/utils/heat-chart-data.d.ts +24 -2
  297. package/dist/model.js +1 -1
  298. package/dist/utils/chart-config/utils/index.d.ts +7 -0
  299. package/package.json +4 -4
  300. package/dist/cdn/5E5Z2QMR.js +0 -4
  301. package/dist/cdn/BTW7QYPY.js +0 -4
  302. package/dist/cdn/DEIX6GIQ.js +0 -4
  303. package/dist/cdn/JDGI6HGG.js +0 -4
  304. package/dist/cdn/Q4J5F5KF.js +0 -4
  305. package/dist/cdn/YQAOOVTO.js +0 -6
@@ -1,35 +1,35 @@
1
- import { W as S, d as Ii, u as W, m as re, b as _, g as me, t as be, e as ke, a as P, n as G, i as j, S as zt, o as $i } from "./series-types.js";
1
+ 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 as P, n as G, i as j, S as zt, o as $i } from "./series-types.js";
2
2
  import "@arcgis/toolkit/intl";
3
- import { cloneDeep as Ie, isArray as vt, isEmpty as Ri, isEqual as Pe, sortBy as Ot } from "lodash-es";
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 { b5 as pt, cz as p, p as V, c8 as Gt, c4 as z, a5 as Ut, B as _t, d as ne, a as he, T as Y, cl as lt, b3 as $e, H as se, r as oe, q as ve, bc as We, aU as Re, a1 as nt, S as xe, cf as ht, cj as ee, l as ge, cq as Gi, c9 as qt, cb as Yt, N as I, k as K, F as U, a3 as k, cu as Kt, D as R, bU as Ui, I as Nt, bz as ye, bH as Q, E as _i, i as Me, z as je, cc as Vt, aV as Ue, m as Tt, b9 as Ne, c0 as Qe, a2 as Jt, cC as Yi, A as Xt, ce as Se, by as _e, bL as Ki, b_ as Ji, b6 as Et, R as Xi, bj as Zt, bw as Zi, bk as ea, bY as ta, bZ as ei, bs as ia, ck as mt, c2 as aa, b7 as na, bt as ra, U as sa, n as Fe, bN as ti, bA as oa, bn as ii, bB as la, bC as ca, cB as ae, Q as ua, P as It, bD as ai, bV as da, bv as fa, bh as ni, bu as ma, bx as ga, bf as ya, bi as pa, X as ri, b8 as ha } 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, b9 as Sa } 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 Sa from "@arcgis/core/request.js";
12
+ import Fa from "@arcgis/core/request.js";
13
13
  import "./runtime.js";
14
14
  import "@arcgis/toolkit/dom";
15
- import { b as Fa, R as rt, a as Ye, j as ie } from "./rest-js-object-literals.js";
15
+ import { b as ba, 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 ba from "@arcgis/core/renderers/support/jsonUtils.js";
17
+ import * as xa from "@arcgis/core/renderers/support/jsonUtils.js";
18
18
  import * as gt from "@arcgis/core/symbols/support/symbolUtils.js";
19
- import xa from "@arcgis/core/Graphic.js";
19
+ import Ca 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 Ca } from "./index3.js";
22
+ import { d as Ba } from "./index3.js";
23
23
  import $t from "@arcgis/core/layers/support/FeatureFilter.js";
24
- import Ba from "@arcgis/core/smartMapping/statistics/histogram.js";
24
+ import va from "@arcgis/core/smartMapping/statistics/histogram.js";
25
25
  import Rt from "@arcgis/core/smartMapping/statistics/summaryStatistics.js";
26
- import { linearRegression as va, linearRegressionLine as Na, rSquared as Ta } from "simple-statistics";
27
- import { c as Aa } from "./index.js";
28
- import { h as Pa } from "./index4.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";
29
29
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
30
30
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
31
- v5.0.0-next.12 */
32
- async function La(i, e) {
31
+ v5.0.0-next.14 */
32
+ async function Ma(i, e) {
33
33
  const t = e.errors[i];
34
34
  throw new pt(e.modalHeaders.error, t ?? e.errors.simpleError);
35
35
  }
@@ -48,7 +48,7 @@ function lo(i) {
48
48
  function fe(i) {
49
49
  return i?.type === S.CategoryAxisFormat;
50
50
  }
51
- function Ae(i) {
51
+ function Pe(i) {
52
52
  return i?.type === S.DateAxisFormat;
53
53
  }
54
54
  function co(i) {
@@ -58,28 +58,28 @@ function co(i) {
58
58
  e.verticalAxisLabelsBehavior !== t.verticalAxisLabelsBehavior
59
59
  ];
60
60
  }
61
- function Ma(i) {
62
- return J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
63
- }
64
61
  function wa(i) {
65
62
  return J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
66
63
  }
67
64
  function Da(i) {
68
- return (fe(i?.[0]?.valueFormat) || Ae(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
65
+ return J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
69
66
  }
70
67
  function Oa(i) {
71
- return fe(i?.[0]?.valueFormat) && fe(i?.[1]?.valueFormat) || Ae(i?.[0]?.valueFormat) && fe(i?.[1]?.valueFormat) || Ae(i?.[0]?.valueFormat) && Ae(i?.[1]?.valueFormat);
68
+ return (fe(i?.[0]?.valueFormat) || Pe(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
72
69
  }
73
70
  function qa(i) {
74
- return (fe(i?.[0]?.valueFormat) || Ae(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat);
71
+ 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
+ }
73
+ function Ea(i) {
74
+ return (fe(i?.[0]?.valueFormat) || Pe(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat);
75
75
  }
76
76
  function Va(i) {
77
77
  return J(i?.[0]?.valueFormat) && J(i?.[1]?.valueFormat);
78
78
  }
79
- function Ea(i) {
79
+ function Ia(i) {
80
80
  return J(i?.[0]?.valueFormat) && J(i?.[1]?.valueFormat);
81
81
  }
82
- function Ia(i) {
82
+ function $a(i) {
83
83
  return J(i?.[0]?.valueFormat);
84
84
  }
85
85
  async function uo(i) {
@@ -87,33 +87,33 @@ async function uo(i) {
87
87
  let n, r;
88
88
  switch (e) {
89
89
  case S.GaugeSeries:
90
- n = Ia, r = "invalidValueFormatForGauge";
90
+ n = $a, r = "invalidValueFormatForGauge";
91
91
  break;
92
92
  case S.ScatterSeries:
93
93
  n = Va, r = "invalidValueFormatForScatterplot";
94
94
  break;
95
95
  case S.HistogramSeries:
96
- n = Ea, r = "invalidValueFormatForHistogram";
96
+ n = Ia, r = "invalidValueFormatForHistogram";
97
97
  break;
98
98
  case S.LineSeries:
99
- n = Ma, r = "invalidValueFormatForLineChart";
99
+ n = wa, r = "invalidValueFormatForLineChart";
100
100
  break;
101
101
  case S.BarSeries:
102
- n = wa, r = "invalidValueFormatForBarChart";
102
+ n = Da, r = "invalidValueFormatForBarChart";
103
103
  break;
104
104
  case S.ComboLineAndBarSeries:
105
- n = qa, r = "invalidValueFormatForComboBarLineChart";
105
+ n = Ea, r = "invalidValueFormatForComboBarLineChart";
106
106
  break;
107
107
  case S.BoxPlotSeries:
108
- n = Da, r = "invalidValueFormatForBoxPlot";
108
+ n = Oa, r = "invalidValueFormatForBoxPlot";
109
109
  break;
110
110
  case S.HeatSeries:
111
- n = Oa, r = "invalidValueFormatForHeatChart";
111
+ n = qa, r = "invalidValueFormatForHeatChart";
112
112
  break;
113
113
  }
114
- n !== void 0 && r !== void 0 && (n(t) || await La(r, a));
114
+ n !== void 0 && r !== void 0 && (n(t) || await Ma(r, a));
115
115
  }
116
- function $a(i) {
116
+ function Ra(i) {
117
117
  const { isXAxis: e, chartType: t, valueFormat: a, isAxisForHistogramOverlaySeries: n } = i;
118
118
  return e && (fe(a) || t === S.HistogramSeries && !n || t === S.BarSeries && J(a));
119
119
  }
@@ -189,7 +189,7 @@ const si = {
189
189
  emptyCells: {
190
190
  symbol: {
191
191
  type: rt.SFS,
192
- style: Fa.Solid,
192
+ style: ba.Solid,
193
193
  color: b.grayColor
194
194
  },
195
195
  text: "null"
@@ -200,10 +200,10 @@ const si = {
200
200
  },
201
201
  heatChartFirstDayOfWeek: 7
202
202
  };
203
- function Ra(i, e) {
203
+ function ka(i, e) {
204
204
  return i[0].dataTransformationType !== e[0].dataTransformationType;
205
205
  }
206
- function ka(i, e) {
206
+ function ja(i, e) {
207
207
  return i[0].binCount !== e[0].binCount;
208
208
  }
209
209
  function mo(i, e) {
@@ -217,7 +217,7 @@ function St(i, e) {
217
217
  function go(i) {
218
218
  const { chartConfig: e, queryObject: t, chartData: a } = i;
219
219
  let n = [];
220
- const r = V(e.series), s = Gt(e), o = z(t), c = e.chartRenderer ?? o?.renderer?.toJSON();
220
+ const r = E(e.series), s = Gt(e), o = z(t), c = e.chartRenderer ?? o?.renderer?.toJSON();
221
221
  return n = e.series.map((l, u) => {
222
222
  const d = W([l]);
223
223
  let f;
@@ -231,22 +231,22 @@ function go(i) {
231
231
  }).filter((l) => l !== void 0), n;
232
232
  }
233
233
  function Ft(i) {
234
- return i !== p.PieNoAggregation && i !== p.BarAndLineNoAggregation && i !== p.BarAndLineSplitByNoAggregation;
234
+ return i !== h.PieNoAggregation && i !== h.BarAndLineNoAggregation && i !== h.BarAndLineSplitByNoAggregation;
235
235
  }
236
- function ja(i) {
237
- const e = V(i.series);
238
- return e === p.BarAndLineFromFields || e === p.PieFromFields || e === p.BoxPlotMonoField || e === p.BoxPlotMultiFields || e === p.BoxPlotMonoFieldAndSplitBy || e === p.BoxPlotMultiFieldsAndSplitBy;
236
+ function Wa(i) {
237
+ const e = E(i.series);
238
+ return e === h.BarAndLineFromFields || e === h.PieFromFields || e === h.BoxPlotMonoField || e === h.BoxPlotMultiFields || e === h.BoxPlotMonoFieldAndSplitBy || e === h.BoxPlotMultiFieldsAndSplitBy;
239
239
  }
240
240
  function He(i) {
241
241
  return i && "showMean" in i && typeof i.showMean == "boolean" ? i.showMean : !1;
242
242
  }
243
- function Wa(i) {
243
+ function Qa(i) {
244
244
  return i && "showOutliers" in i && typeof i.showOutliers == "boolean" ? i.showOutliers : void 0;
245
245
  }
246
246
  function yo() {
247
247
  return `{name} {${b.originalCategoryValue}} {dateY} {valueX} {dateX} {valueY}`;
248
248
  }
249
- function Qa(i) {
249
+ function Ha(i) {
250
250
  let e;
251
251
  return i?.[0] !== void 0 && (e = i.reduce(
252
252
  (t, a) => ({
@@ -277,7 +277,7 @@ function ze(i) {
277
277
  }
278
278
  return c;
279
279
  }
280
- function Ha(i) {
280
+ function za(i) {
281
281
  return i?.[b.typeOrDomainIdValue] !== void 0 ? i?.[b.typeOrDomainIdValue] : i?.[b.originalCategoryValue];
282
282
  }
283
283
  function Ge(i) {
@@ -309,7 +309,7 @@ function Ge(i) {
309
309
  });
310
310
  }
311
311
  }
312
- function za(i) {
312
+ function Ga(i) {
313
313
  const { arrayToSort: e, orderBy: t, sortingField: a, fieldList: n, isByFieldsChart: r, preferLabel: s } = i;
314
314
  e !== void 0 && e.length > 1 && !ee(a) && t !== void 0 && t.length > 0 && e.sort((o, c) => {
315
315
  let l = o[a];
@@ -324,7 +324,7 @@ function za(i) {
324
324
  }
325
325
  function oi(i, e) {
326
326
  const t = i;
327
- if (e?.[0] !== void 0 && V(e) === p.PieFromFields) {
327
+ if (e?.[0] !== void 0 && E(e) === h.PieFromFields) {
328
328
  const { x: a, y: n } = e[0];
329
329
  (vt(i) ? t : t.dataItems).forEach((o) => (ne in o && a !== ne && (o[a] = o[a] !== void 0 ? o[a] : o[ne], delete o[ne]), he in o && n !== he && (o[n] = o[n] !== void 0 ? o[n] : o[he], delete o[he]), o));
330
330
  }
@@ -357,7 +357,7 @@ function bt(i) {
357
357
  const a = lt(e);
358
358
  return a.isInItem && delete e[a.expr ?? ""], e;
359
359
  }
360
- function Ga(i, e) {
360
+ function Ua(i, e) {
361
361
  let t = i;
362
362
  const a = W(e);
363
363
  let n = _t(t);
@@ -385,8 +385,8 @@ function Ga(i, e) {
385
385
  }
386
386
  function ci(i) {
387
387
  const { data: e, seriesConfig: t } = i;
388
- let a = Ie(e);
389
- return a !== void 0 && (a = li(a, t), a = Ga(a, t), a = oi(a, t)), a;
388
+ let a = Fe(e);
389
+ return a !== void 0 && (a = li(a, t), a = Ua(a, t), a = oi(a, t)), a;
390
390
  }
391
391
  function ui(i) {
392
392
  const { statsMap: e, dataContext: t, chartLimits: a } = i;
@@ -397,19 +397,19 @@ function ui(i) {
397
397
  } else t !== void 0 && (n = b.scatterplotAggregationFields.dataContextXMinField in t);
398
398
  return n;
399
399
  }
400
- function Ua(i) {
400
+ function _a(i) {
401
401
  let e = !0;
402
402
  const t = W(i.series);
403
403
  if (t === S.BarSeries || t === S.LineSeries || t === S.ComboLineAndBarSeries) {
404
- const a = V(i.series);
405
- e = a !== p.BarAndLineNoAggregation && a !== p.BarAndLineSplitByNoAggregation;
404
+ const a = E(i.series);
405
+ e = a !== h.BarAndLineNoAggregation && a !== h.BarAndLineSplitByNoAggregation;
406
406
  }
407
407
  return e;
408
408
  }
409
- function _a(i) {
410
- return V(i.series) !== p.PieNoAggregation;
411
- }
412
409
  function Ya(i) {
410
+ return E(i.series) !== h.PieNoAggregation;
411
+ }
412
+ function Ka(i) {
413
413
  const { dataContext: e, chartConfig: t, chartLimits: a } = i;
414
414
  let n = !0;
415
415
  if (t !== void 0)
@@ -417,18 +417,18 @@ function Ya(i) {
417
417
  case S.BarSeries:
418
418
  case S.LineSeries:
419
419
  case S.ComboLineAndBarSeries:
420
- n = Ua(t);
420
+ n = _a(t);
421
421
  break;
422
422
  case S.ScatterSeries:
423
423
  n = ui({ dataContext: e, chartLimits: a });
424
424
  break;
425
425
  case S.PieSeries:
426
- n = _a(t);
426
+ n = Ya(t);
427
427
  break;
428
428
  }
429
429
  return n;
430
430
  }
431
- function Ka(i, e) {
431
+ function Ja(i, e) {
432
432
  let t = i;
433
433
  switch (e) {
434
434
  case _.Log:
@@ -445,31 +445,31 @@ function Ve(i) {
445
445
  return Number.isNaN(e) || (e = new Intl.DateTimeFormat("en-US", b.dateFormatUTC).format(i).replace(",", "")), e;
446
446
  }
447
447
  function st(i) {
448
- const { dataToConvert: e, x: t, y: a, fieldList: n } = i, r = [], s = e[xe];
448
+ const { dataToConvert: e, x: t, y: a, fieldList: n } = i, r = [], s = e[Ce];
449
449
  return Object.entries(e).forEach(([o]) => {
450
- if (o !== "" && o !== xe && o in e) {
450
+ if (o !== "" && o !== Ce && o in e) {
451
451
  const c = {
452
452
  [t]: ht(n, o),
453
453
  [a]: e[o],
454
454
  [b.xAxisField]: o,
455
455
  [b.originalCategoryValue]: o
456
456
  };
457
- s !== void 0 && (c[xe] = s), e[`${b.rendererSymbolField}_${o}`] !== void 0 && (c[b.rendererSymbolField] = e[`${b.rendererSymbolField}_${o}`]), r.push(c);
457
+ s !== void 0 && (c[Ce] = s), e[`${b.rendererSymbolField}_${o}`] !== void 0 && (c[b.rendererSymbolField] = e[`${b.rendererSymbolField}_${o}`]), r.push(c);
458
458
  }
459
459
  }), r;
460
460
  }
461
- function Ja(i, e) {
461
+ function Xa(i, e) {
462
462
  return JSON.stringify(i.series[0]?.valueConversion) !== JSON.stringify(e.series[0]?.valueConversion);
463
463
  }
464
- function Xa(i, e) {
464
+ function Za(i, e) {
465
465
  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
466
  }
467
- function Za(i) {
467
+ function en(i) {
468
468
  const { oldConfig: e, newConfig: t, fieldList: a } = i, n = e.series[0], r = t.series[0];
469
469
  let s = !1;
470
470
  if (n.type === S.ScatterSeries && r.type === S.ScatterSeries && a && a.length > 0) {
471
471
  const o = new Set(n.additionalTooltipFields || []), c = new Set(r.additionalTooltipFields || []);
472
- if (!Pe(o, c)) {
472
+ if (!Le(o, c)) {
473
473
  const l = Array.from(c).filter((u) => !o.has(u));
474
474
  l.length > 0 && (s = a?.some((u) => l.includes(u.name) && !We(u)));
475
475
  }
@@ -490,12 +490,12 @@ function Fo(i) {
490
490
  let a = !1;
491
491
  const n = e.series[0], r = t.series[0], s = W(e.series), o = W(t.series);
492
492
  if (s === S.PieSeries && o === S.PieSeries) {
493
- const { slices: c, sliceGrouping: l } = n, { slices: u, sliceGrouping: d } = r, f = c?.map((h) => ({
494
- sliceId: h.sliceId,
495
- label: h.label
496
- })), m = u?.map((h) => ({
497
- sliceId: h.sliceId,
498
- label: h.label
493
+ const { slices: c, sliceGrouping: l } = n, { slices: u, sliceGrouping: d } = r, f = c?.map((p) => ({
494
+ sliceId: p.sliceId,
495
+ label: p.label
496
+ })), m = u?.map((p) => ({
497
+ sliceId: p.sliceId,
498
+ label: p.label
499
499
  })), g = l?.label, y = d?.label;
500
500
  a = JSON.stringify(f) !== JSON.stringify(m) || JSON.stringify(g) !== JSON.stringify(y);
501
501
  }
@@ -504,10 +504,10 @@ function Fo(i) {
504
504
  function kt(i, e) {
505
505
  return e.length !== i.length;
506
506
  }
507
- function en(i) {
507
+ function tn(i) {
508
508
  const { oldSeries: e, newConfig: t, oldTimeIntervalInfo: a, setTimeBinningInfoWhenNotProvided: n } = i, r = t.series?.[0];
509
509
  let s = !1, o = !1, c = !1;
510
- if (oe(r) && ve({
510
+ if (oe(r) && Ne({
511
511
  seriesConfig: r,
512
512
  xAxisValueFormatType: pe(t),
513
513
  setTimeBinningInfoWhenNotProvided: n
@@ -517,10 +517,10 @@ function en(i) {
517
517
  }
518
518
  return { timeBinningChanged: s, timeIntervalUnitChanged: o, newTimeBinningWillBeCalculated: c };
519
519
  }
520
- function tn(i) {
520
+ function an(i) {
521
521
  const { oldConfig: e, newConfig: t, behaviorAfterLimit: a } = i, n = e.series, r = t.series;
522
522
  let s = !1, o = !1;
523
- (a === $e.RenderUpToTheLimit || e.orderOptions?.data === void 0 || t.orderOptions?.data === void 0) && (o = !Pe(e.orderOptions?.orderByFields, t.orderOptions?.orderByFields));
523
+ (a === $e.RenderUpToTheLimit || e.orderOptions?.data === void 0 || t.orderOptions?.data === void 0) && (o = !Le(e.orderOptions?.orderByFields, t.orderOptions?.orderByFields));
524
524
  const c = Ot(
525
525
  n.map((u) => u.query),
526
526
  ["where", "outStatistics[0].outStatisticFieldName", "outStatistics[0].onStatisticField"]
@@ -528,9 +528,9 @@ function tn(i) {
528
528
  r.map((u) => u.query),
529
529
  ["where", "outStatistics[0].outStatisticFieldName", "outStatistics[0].onStatisticField"]
530
530
  );
531
- return s = !Pe(c, l), s || o;
531
+ return s = !Le(c, l), s || o;
532
532
  }
533
- function an(i, e) {
533
+ function nn(i, e) {
534
534
  let t = !1;
535
535
  if (e[0].x !== i[0].x)
536
536
  t = !0;
@@ -543,16 +543,13 @@ function an(i, e) {
543
543
  }
544
544
  return t;
545
545
  }
546
- function nn(i, e) {
546
+ function rn(i, e) {
547
547
  return (i ?? !1) !== (e?.filterBySelection ?? !1);
548
548
  }
549
549
  function di(i) {
550
550
  const { currentSelectionOIDs: e, options: t } = i;
551
551
  let a = !1;
552
- return t?.filterBySelection === !0 && (a = e?.length !== t?.selectionData?.selectionOIDs?.length || !Pe(e, t?.selectionData?.selectionOIDs)), a;
553
- }
554
- function rn(i, e) {
555
- return JSON.stringify(i.dataFilters) !== JSON.stringify(e.dataFilters);
552
+ return t?.filterBySelection === !0 && (a = e?.length !== t?.selectionData?.selectionOIDs?.length || !Le(e, t?.selectionData?.selectionOIDs)), a;
556
553
  }
557
554
  function sn(i, e) {
558
555
  return oe(i.series[0]) && oe(e.series[0]) && (i.series[0].binTemporalData ?? b.binTemporalData) !== (e.series[0].binTemporalData ?? b.binTemporalData);
@@ -571,7 +568,7 @@ function on(i, e) {
571
568
  return He(i) !== He(e);
572
569
  }
573
570
  function ln(i, e) {
574
- const t = i.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, n = V(e.series), r = n === p.BarAndLineNoAggregation || n === p.BarAndLineSplitByNoAggregation, s = t === S.DateAxisFormat && a === S.NumberAxisFormat, o = t === S.NumberAxisFormat && a === S.DateAxisFormat;
571
+ 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;
575
572
  return t !== a && (r || s || o);
576
573
  }
577
574
  function Co(i) {
@@ -610,11 +607,11 @@ function Co(i) {
610
607
  tooltipFieldsChanged: !1
611
608
  }
612
609
  };
613
- switch (y.common.queryChanged = tn({
610
+ switch (y.common.queryChanged = an({
614
611
  oldConfig: t,
615
612
  newConfig: a,
616
613
  behaviorAfterLimit: n?.chartLimits?.behaviorAfterLimit
617
- }), y.common.configFiltersChanged = rn(t, a), y.common.xOrYChanged = an(u, l), y.common.filterBySelectionChanged = nn(r, n), y.common.dataForFilterBySelectionChanged = di({
614
+ }), y.common.configFiltersChanged = Gi(t, a), y.common.xOrYChanged = nn(u, l), y.common.filterBySelectionChanged = rn(r, n), y.common.dataForFilterBySelectionChanged = di({
618
615
  currentSelectionOIDs: o,
619
616
  options: n
620
617
  }), y.common.binTemporalDataChanged = sn(t, a), y.common.valueFormatChangeRequiresNewData = ln(
@@ -622,15 +619,15 @@ function Co(i) {
622
619
  a
623
620
  ), y.common = {
624
621
  ...y.common,
625
- ...en({
622
+ ...tn({
626
623
  oldSeries: u,
627
624
  newConfig: a,
628
625
  oldTimeIntervalInfo: s,
629
626
  setTimeBinningInfoWhenNotProvided: n?.setTimeBinningInfoWhenNotProvided
630
627
  })
631
- }, m = Object.values(y.common).some((h) => h), d) {
628
+ }, m = Object.values(y.common).some((p) => p), d) {
632
629
  case S.HistogramSeries:
633
- y.histogram.dataPropsChanged = ka(u, l) || Ra(u, l);
630
+ y.histogram.dataPropsChanged = ja(u, l) || ka(u, l);
634
631
  break;
635
632
  case S.LineSeries:
636
633
  case S.BarSeries:
@@ -641,13 +638,13 @@ function Co(i) {
641
638
  y.common.numberOfSeriesChanged = kt(u, l), y.boxPlot.showMeanChanged = on(t, a);
642
639
  break;
643
640
  case S.GaugeSeries:
644
- y.gauge.valueConversionChanged = Ja(t, a);
641
+ y.gauge.valueConversionChanged = Xa(t, a);
645
642
  break;
646
643
  case S.HeatSeries:
647
- y.heatChart.binningChanged = Xa(t, a);
644
+ y.heatChart.binningChanged = Za(t, a);
648
645
  break;
649
646
  case S.ScatterSeries:
650
- y.scatterPlot.tooltipFieldsChanged = Za({
647
+ y.scatterPlot.tooltipFieldsChanged = en({
651
648
  oldConfig: t,
652
649
  newConfig: a,
653
650
  fieldList: c
@@ -665,7 +662,7 @@ function cn(i, e) {
665
662
  let a = 0, n = 0, r = 0;
666
663
  i.forEach((s) => {
667
664
  const o = s[e];
668
- !Gi(o) || o === 0 ? r += 1 : o > 0 ? a += 1 : n += 1;
665
+ !Ui(o) || o === 0 ? r += 1 : o > 0 ? a += 1 : n += 1;
669
666
  }), t = r === i.length || a >= 0 && n === 0 || a === 0 && n >= 0;
670
667
  }
671
668
  return t;
@@ -692,8 +689,8 @@ function fi(i, e) {
692
689
  maxLineThreePlusSeriesCountPerSeries: m,
693
690
  maxLineThreePlusSeriesCountTotal: g,
694
691
  maxPieChartSliceCountTotal: y,
695
- maxGaugeByFeaturesLimit: h
696
- } = Re(e), x = W(i.series), F = i.series.length === 0 ? 1 : i.series.length, C = V(i.series);
692
+ maxGaugeByFeaturesLimit: p
693
+ } = Re(e), x = W(i.series), F = i.series.length === 0 ? 1 : i.series.length, C = E(i.series);
697
694
  switch (x) {
698
695
  case S.ComboLineAndBarSeries:
699
696
  case S.BarSeries:
@@ -722,7 +719,7 @@ function fi(i, e) {
722
719
  t = y;
723
720
  break;
724
721
  case S.GaugeSeries:
725
- t = h;
722
+ t = p;
726
723
  break;
727
724
  case S.ScatterSeries:
728
725
  // handled through the aggregation feature
@@ -730,7 +727,7 @@ function fi(i, e) {
730
727
  // handled through the number of bins
731
728
  case S.BoxPlotSeries:
732
729
  }
733
- return (C === p.BarAndLineNoAggregation || C === p.BarAndLineMultiFields) && t !== void 0 && (t = Math.ceil(t / F)), t;
730
+ return (C === h.BarAndLineNoAggregation || C === h.BarAndLineMultiFields) && t !== void 0 && (t = Math.ceil(t / F)), t;
734
731
  }
735
732
  function jt(i, e) {
736
733
  let t = i;
@@ -808,7 +805,7 @@ function Mo(i) {
808
805
  const { data: e, seriesConfig: t, htmlContainer: a } = i;
809
806
  if (a) {
810
807
  const n = e;
811
- let r = Ie(e.selectionItems);
808
+ let r = Fe(e.selectionItems);
812
809
  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)));
813
810
  }
814
811
  }
@@ -838,11 +835,11 @@ function dn(i) {
838
835
  const { data: e, htmlContainer: t } = i;
839
836
  t && e && t.dispatchEvent(new window.CustomEvent(le.SeriesOrder, ce(e)));
840
837
  }
841
- function Vo(i, e) {
838
+ function Eo(i, e) {
842
839
  let t, a, n, r;
843
840
  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);
844
841
  }
845
- function Eo(i, e) {
842
+ function Vo(i, e) {
846
843
  return i.axes?.length === 3 && e.axes?.length === 2 || i.axes?.length === 2 && e.axes?.length === 3;
847
844
  }
848
845
  function Io(i, e) {
@@ -886,15 +883,15 @@ function Go(i, e) {
886
883
  return mn(i, e) || fn(i, e);
887
884
  }
888
885
  function gn(i) {
889
- const e = V(i.series);
886
+ const e = E(i.series);
890
887
  let t;
891
888
  if (i.orderOptions?.data !== void 0) {
892
- let a = i.orderOptions?.data?.orderType ?? be.Category, n = i.orderOptions?.data?.orderBy;
893
- if (a === be.Category)
889
+ let a = i.orderOptions?.data?.orderType ?? xe.Category, n = i.orderOptions?.data?.orderBy;
890
+ if (a === xe.Category)
894
891
  a = i.series[0].x;
895
892
  else {
896
- a === be.Mean ? a = I.Average : a === be.Median && (a = I.Median);
897
- const r = e === p.BoxPlotMultiFieldsAndCategory && typeof i.series[0].y == "string" ? i.series[0].y : void 0, s = K(i.series[0].query?.where), o = ge({
893
+ a === xe.Mean ? a = V.Average : a === xe.Median && (a = V.Median);
894
+ const r = e === h.BoxPlotMultiFieldsAndCategory && typeof i.series[0].y == "string" ? i.series[0].y : void 0, s = K(i.series[0].query?.where), o = ge({
898
895
  where: i.series[0].query?.where
899
896
  });
900
897
  a = U({
@@ -915,7 +912,7 @@ function gn(i) {
915
912
  }
916
913
  function yn(i) {
917
914
  let e;
918
- if (!mi(i) && i.series?.length > 0 && i.orderOptions?.data?.orderType === be.Category) {
915
+ if (!mi(i) && i.series?.length > 0 && i.orderOptions?.data?.orderType === xe.Category) {
919
916
  let a;
920
917
  fe(i.axes?.[0]?.valueFormat) ? a = k.xField : fe(i.axes?.[1]?.valueFormat) && (a = k.yField), a && (e = {
921
918
  sortingField: a,
@@ -925,10 +922,10 @@ function yn(i) {
925
922
  return e;
926
923
  }
927
924
  function pn(i) {
928
- const e = i.series[0], { x: t, y: a } = e, n = V(i.series) === p.PieFromFields, r = V(i.series) === p.BarAndLineFromFields;
925
+ const e = i.series[0], { x: t, y: a } = e, n = E(i.series) === h.PieFromFields, r = E(i.series) === h.BarAndLineFromFields;
929
926
  let s, o = "", c;
930
927
  if (i.orderOptions?.data !== void 0) {
931
- if (o = i.orderOptions?.data?.orderType ?? be.Category, c = i.orderOptions?.data?.orderBy, o === be.Category ? o = n ? ne : t : o = n ? he : [a].flat()[0], o !== void 0 && o !== "") {
928
+ if (o = i.orderOptions?.data?.orderType ?? xe.Category, c = i.orderOptions?.data?.orderBy, o === xe.Category ? o = n ? ne : t : o = n ? he : [a].flat()[0], o !== void 0 && o !== "") {
932
929
  const l = Yt(i);
933
930
  if (W(i.series) !== S.PieSeries && o !== t && i.series?.length > 1)
934
931
  switch (l) {
@@ -967,6 +964,7 @@ function xt(i) {
967
964
  break;
968
965
  case S.LineSeries:
969
966
  case S.BarSeries:
967
+ case S.RadarSeries:
970
968
  case S.PieSeries:
971
969
  e = pn(i);
972
970
  break;
@@ -974,9 +972,9 @@ function xt(i) {
974
972
  return e;
975
973
  }
976
974
  function Uo(i) {
977
- const { oldConfig: e, newConfig: t, dataUpdateNeeded: a } = i, n = V(t.series);
975
+ const { oldConfig: e, newConfig: t, dataUpdateNeeded: a } = i, n = E(t.series);
978
976
  let r = !1, s = !1;
979
- if (n !== p.BoxPlotMonoField && n !== p.BoxPlotMonoFieldAndSplitBy && t.orderOptions?.data !== void 0) {
977
+ if (n !== h.BoxPlotMonoField && n !== h.BoxPlotMonoFieldAndSplitBy && t.orderOptions?.data !== void 0) {
980
978
  const o = xt(e), c = xt(t);
981
979
  s = e.orderOptions?.data?.orderType !== t.orderOptions?.data?.orderType || o?.sortingField !== c?.sortingField || o?.orderBy !== c?.orderBy || (o?.preferLabel ?? !0) !== (c?.preferLabel ?? !0), r = s || a;
982
980
  }
@@ -995,13 +993,13 @@ function _o(i, e) {
995
993
  }), t;
996
994
  }
997
995
  function Yo(i, e) {
998
- const t = Ie(i);
996
+ const t = Fe(i);
999
997
  if (t && t.series.length > 1) {
1000
998
  const { preferLabel: a, orderBy: n } = t.orderOptions?.series ?? {};
1001
999
  if (n !== void 0) {
1002
1000
  let r;
1003
1001
  if (a === !1) {
1004
- const s = V(t.series);
1002
+ const s = E(t.series);
1005
1003
  r = Kt(s) ? "splitByValue" : "name";
1006
1004
  } else
1007
1005
  r = "name";
@@ -1031,22 +1029,22 @@ function ot(i) {
1031
1029
  switch (e.valid = !1, t) {
1032
1030
  case S.BarSeries:
1033
1031
  case S.ComboLineAndBarSeries:
1034
- e.invalidType = R.BarElementExceedsLimit;
1032
+ e.invalidType = $.BarElementExceedsLimit;
1035
1033
  break;
1036
1034
  case S.LineSeries:
1037
- e.invalidType = R.LineChartExceedsLimit;
1035
+ e.invalidType = $.LineChartExceedsLimit;
1038
1036
  break;
1039
1037
  case S.PieSeries:
1040
- e.invalidType = R.PieChartExceedsLimit;
1038
+ e.invalidType = $.PieChartExceedsLimit;
1041
1039
  break;
1042
1040
  case S.GaugeSeries:
1043
- e.invalidType = R.GaugeExceedsLimit;
1041
+ e.invalidType = $.GaugeExceedsLimit;
1044
1042
  break;
1045
1043
  case S.BoxPlotSeries:
1046
- a?.outlierLimit === !0 ? e.invalidType = R.BoxPlotOutliersExceedsLimit : e.invalidType = R.BoxPlotExceedsLimit;
1044
+ a?.outlierLimit === !0 ? e.invalidType = $.BoxPlotOutliersExceedsLimit : e.invalidType = $.BoxPlotExceedsLimit;
1047
1045
  break;
1048
1046
  case S.HeatSeries:
1049
- e.invalidType = R.HeatChartExceedsLimit;
1047
+ e.invalidType = $.HeatChartExceedsLimit;
1050
1048
  break;
1051
1049
  }
1052
1050
  }
@@ -1061,7 +1059,7 @@ async function Ko(i) {
1061
1059
  seriesCount: n,
1062
1060
  queryObject: r,
1063
1061
  filterBySelection: s,
1064
- formatLocale: o = Ca(document.documentElement),
1062
+ formatLocale: o = Ba(document.documentElement),
1065
1063
  isTemporalLineChart: c,
1066
1064
  errorStrings: l
1067
1065
  } = i;
@@ -1069,7 +1067,7 @@ async function Ko(i) {
1069
1067
  const f = new Intl.NumberFormat(o), m = Re(t), { maxCategoryCount: g } = m;
1070
1068
  let y = l.modalHeaders.invalidChart;
1071
1069
  switch (e) {
1072
- case R.BarElementExceedsLimit: {
1070
+ case $.BarElementExceedsLimit: {
1073
1071
  y = l.modalHeaders.tooManyFeatures;
1074
1072
  let x = Number.NaN, F = Number.NaN, C = "";
1075
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));
@@ -1085,7 +1083,7 @@ async function Ko(i) {
1085
1083
  };
1086
1084
  break;
1087
1085
  }
1088
- case R.LineChartExceedsLimit:
1086
+ case $.LineChartExceedsLimit:
1089
1087
  {
1090
1088
  y = l.modalHeaders.tooManyFeatures;
1091
1089
  let x = Number.NaN, F = Number.NaN, C = "";
@@ -1102,7 +1100,7 @@ async function Ko(i) {
1102
1100
  };
1103
1101
  }
1104
1102
  break;
1105
- case R.BoxPlotExceedsLimit:
1103
+ case $.BoxPlotExceedsLimit:
1106
1104
  {
1107
1105
  y = l.modalHeaders.tooManyFeatures;
1108
1106
  let x = Number.NaN, F = Number.NaN, C = "";
@@ -1119,7 +1117,7 @@ async function Ko(i) {
1119
1117
  };
1120
1118
  }
1121
1119
  break;
1122
- case R.BoxPlotOutliersExceedsLimit:
1120
+ case $.BoxPlotOutliersExceedsLimit:
1123
1121
  {
1124
1122
  y = l.modalHeaders.tooManyFeatures;
1125
1123
  const x = l.errors.boxSeriesOutlierCannotExceedLimit, F = m.maxBoxPlotOutlierLimit, C = f.format(F);
@@ -1128,7 +1126,7 @@ async function Ko(i) {
1128
1126
  }), d = { actualCount: a ?? Number.NaN, totalLimit: F };
1129
1127
  }
1130
1128
  break;
1131
- case R.HeatChartExceedsLimit:
1129
+ case $.HeatChartExceedsLimit:
1132
1130
  {
1133
1131
  y = l.modalHeaders.tooManyFeatures;
1134
1132
  const x = l.errors.heatChartCannotExceedLimit, F = m.maxHeatChartCellLimit, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
@@ -1141,7 +1139,7 @@ async function Ko(i) {
1141
1139
  };
1142
1140
  }
1143
1141
  break;
1144
- case R.PieChartExceedsLimit:
1142
+ case $.PieChartExceedsLimit:
1145
1143
  {
1146
1144
  y = l.modalHeaders.tooManyFeatures;
1147
1145
  const x = l.errors.pieChartSlicesCannotExceedLimit, F = m.maxPieChartSliceCountTotal, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
@@ -1154,7 +1152,7 @@ async function Ko(i) {
1154
1152
  };
1155
1153
  }
1156
1154
  break;
1157
- case R.GaugeExceedsLimit:
1155
+ case $.GaugeExceedsLimit:
1158
1156
  {
1159
1157
  y = l.modalHeaders.tooManyFeatures;
1160
1158
  const x = l.errors.gaugeCannotExceedLimit, F = m.maxGaugeByFeaturesLimit, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
@@ -1167,30 +1165,30 @@ async function Ko(i) {
1167
1165
  };
1168
1166
  }
1169
1167
  break;
1170
- case R.PieChartMixOfNegativePositiveSlices:
1168
+ case $.PieChartMixOfNegativePositiveSlices:
1171
1169
  y = l.modalHeaders.cannotCombineNegativeAndPositiveSlices, u = l.errors.pieChartCannotHaveMixtureOfPositiveAndNegativeSlices;
1172
1170
  break;
1173
- case R.NegativeValueInSqrtCalculation:
1171
+ case $.NegativeValueInSqrtCalculation:
1174
1172
  y = l.modalHeaders.invalidData, u = l.errors.negativeValueInDataForSqrtTransformation;
1175
1173
  break;
1176
- case R.NegativeValueInLogCalculation:
1174
+ case $.NegativeValueInLogCalculation:
1177
1175
  y = l.modalHeaders.invalidData, u = l.errors.negativeValueInDataForLogTransformation;
1178
1176
  break;
1179
- case R.HistogramEmptyField:
1177
+ case $.HistogramEmptyField:
1180
1178
  u = l.errors.histogramEmptyField;
1181
1179
  break;
1182
- case R.EmptyDataSet:
1183
- y = l.modalHeaders.noDataAvailable, s === !0 ? u = l.errors.noDataFBSMessage : Ui(r) ? u = l.errors.noDataFBEMessage : u = l.errors.noDataMessage;
1180
+ case $.EmptyDataSet:
1181
+ y = l.modalHeaders.noDataAvailable, s === !0 ? u = l.errors.noDataFBSMessage : _i(r) ? u = l.errors.noDataFBEMessage : u = l.errors.noDataMessage;
1184
1182
  break;
1185
- case R.NegativeValueInXAxisLogScale:
1183
+ case $.NegativeValueInXAxisLogScale:
1186
1184
  u = l.errors.logarithmicXAxisNotPossible;
1187
1185
  break;
1188
- case R.NegativeValueInYAxisLogScale:
1186
+ case $.NegativeValueInYAxisLogScale:
1189
1187
  u = l.errors.logarithmicYAxisNotPossible;
1190
1188
  break;
1191
- case R.BadData:
1189
+ case $.BadData:
1192
1190
  }
1193
- if (u === l.errors.defaultInvalidChart && (e === R.BarElementExceedsLimit || e === R.LineChartExceedsLimit || e === R.HeatChartExceedsLimit || e === R.PieChartExceedsLimit || e === R.GaugeExceedsLimit || e === R.BoxPlotExceedsLimit) && typeof a == "number" && typeof n == "number" && a / n > g) {
1191
+ 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) {
1194
1192
  const x = a / n;
1195
1193
  u = de(l.errors.categoryCountCannotExceedLimit, {
1196
1194
  categoryCount: f.format(x),
@@ -1198,13 +1196,13 @@ async function Ko(i) {
1198
1196
  });
1199
1197
  }
1200
1198
  return {
1201
- keyword: e ?? R.BadData,
1199
+ keyword: e ?? $.BadData,
1202
1200
  header: y,
1203
1201
  message: u,
1204
1202
  params: d
1205
1203
  };
1206
1204
  }
1207
- function Ee(i, e) {
1205
+ function Ie(i, e) {
1208
1206
  return `${e}_${i}`;
1209
1207
  }
1210
1208
  function Ct(i) {
@@ -1220,12 +1218,12 @@ function At(i) {
1220
1218
  };
1221
1219
  const l = U({
1222
1220
  ...c,
1223
- key: I.Average
1221
+ key: V.Average
1224
1222
  }), u = U({
1225
1223
  ...c,
1226
- key: I.StandardDeviation
1224
+ key: V.StandardDeviation
1227
1225
  }), d = r ?? Number(e[l]), f = s ?? Number(e[u]);
1228
- return Number.isFinite(d) && Number.isFinite(f) && Object.values(I).forEach((m) => {
1226
+ return Number.isFinite(d) && Number.isFinite(f) && Object.values(V).forEach((m) => {
1229
1227
  const g = U({
1230
1228
  key: m,
1231
1229
  y: a,
@@ -1233,8 +1231,8 @@ function At(i) {
1233
1231
  splitByValue: n
1234
1232
  }), y = e[g];
1235
1233
  if (y != null) {
1236
- let h = Number(y);
1237
- if (Number.isFinite(h)) {
1234
+ let p = Number(y);
1235
+ if (Number.isFinite(p)) {
1238
1236
  c = {
1239
1237
  ...c,
1240
1238
  key: m,
@@ -1242,7 +1240,7 @@ function At(i) {
1242
1240
  standardizeValues: !0
1243
1241
  };
1244
1242
  let x = U(c);
1245
- if (o[x] = Ct({ mean: d, stdDev: f, value: h }), m === I.Min || m === I.Max) {
1243
+ if (o[x] = Ct({ mean: d, stdDev: f, value: p }), m === V.Min || m === V.Max) {
1246
1244
  c = {
1247
1245
  ...c,
1248
1246
  key: m,
@@ -1254,10 +1252,10 @@ function At(i) {
1254
1252
  splitByValue: n
1255
1253
  };
1256
1254
  const F = U(c);
1257
- h = Number(e[F]), Number.isFinite(h) && (o[x] = Ct({
1255
+ p = Number(e[F]), Number.isFinite(p) && (o[x] = Ct({
1258
1256
  mean: d,
1259
1257
  stdDev: f,
1260
- value: h
1258
+ value: p
1261
1259
  }));
1262
1260
  }
1263
1261
  }
@@ -1271,7 +1269,7 @@ function Fn(i) {
1271
1269
  Object.keys(n).forEach((l) => {
1272
1270
  l.startsWith(o) ? c[l.replace(`${o}_`, "")] = n[l] : l.includes(b.rendererSymbolField) && (c[l] = n[l]), c[b.boxPlot.boxPlotCategory] = o, a && (c = At({
1273
1271
  dataItem: c,
1274
- chartSubType: p.BoxPlotMultiFields
1272
+ chartSubType: h.BoxPlotMultiFields
1275
1273
  }));
1276
1274
  }), r.set(o, c);
1277
1275
  }), Array.from(r.values());
@@ -1299,10 +1297,10 @@ function xn(i) {
1299
1297
  f.startsWith(`${u}_`) ? d[`${l}_${f.replace(`${u}_`, "")}`] = m : f.includes(b.rendererSymbolField) ? d[`${f}_${l}`] = m : f === b.boxPlot.boxPlotMeanLineMarkerId && (d[f] = c[f]);
1300
1298
  }), n && (d = At({
1301
1299
  dataItem: d,
1302
- chartSubType: p.BoxPlotMultiFieldsAndSplitBy,
1300
+ chartSubType: h.BoxPlotMultiFieldsAndSplitBy,
1303
1301
  splitByValue: l,
1304
- meanPerField: r?.[Ee(u, P.Average)],
1305
- stdDevPerField: r?.[Ee(u, P.StandardDeviation)]
1302
+ meanPerField: r?.[Ie(u, P.Average)],
1303
+ stdDevPerField: r?.[Ie(u, P.StandardDeviation)]
1306
1304
  })), s.set(u, {
1307
1305
  ...s.get(u) ?? {},
1308
1306
  ...d
@@ -1316,10 +1314,10 @@ function Cn(i) {
1316
1314
  t.forEach((o) => {
1317
1315
  At({
1318
1316
  dataItem: s,
1319
- chartSubType: p.BoxPlotMultiFieldsAndCategory,
1317
+ chartSubType: h.BoxPlotMultiFieldsAndCategory,
1320
1318
  y: o,
1321
- meanPerField: n?.[Ee(o, P.Average)],
1322
- stdDevPerField: n?.[Ee(o, P.StandardDeviation)]
1319
+ meanPerField: n?.[Ie(o, P.Average)],
1320
+ stdDevPerField: n?.[Ie(o, P.StandardDeviation)]
1323
1321
  });
1324
1322
  });
1325
1323
  }), r;
@@ -1344,8 +1342,8 @@ function Bn(i) {
1344
1342
  }), Array.from(n.values());
1345
1343
  }
1346
1344
  function vn(i, e) {
1347
- const { series: t } = i, a = t[0], { y: n } = a, r = V(i.series), s = {
1348
- y: r === p.BoxPlotMultiFieldsAndCategory ? n : void 0,
1345
+ const { series: t } = i, a = t[0], { y: n } = a, r = E(i.series), s = {
1346
+ y: r === h.BoxPlotMultiFieldsAndCategory ? n : void 0,
1349
1347
  chartSubType: r
1350
1348
  }, o = i.series.map((c) => {
1351
1349
  let l = ge({
@@ -1360,19 +1358,19 @@ function vn(i, e) {
1360
1358
  s.splitByValue = l;
1361
1359
  const u = U({
1362
1360
  ...s,
1363
- key: I.Min,
1361
+ key: V.Min,
1364
1362
  showOutliers: !0
1365
1363
  }), d = U({
1366
1364
  ...s,
1367
- key: I.Min,
1365
+ key: V.Min,
1368
1366
  showOutliers: !1
1369
1367
  }), f = U({
1370
1368
  ...s,
1371
- key: I.Max,
1369
+ key: V.Max,
1372
1370
  showOutliers: !0
1373
1371
  }), m = U({
1374
1372
  ...s,
1375
- key: I.Max,
1373
+ key: V.Max,
1376
1374
  showOutliers: !1
1377
1375
  });
1378
1376
  c[f] === void 0 && c[m] !== void 0 && (c[f] = c[m]), c[u] === void 0 && c[d] !== void 0 && (c[u] = c[d]);
@@ -1381,68 +1379,68 @@ function vn(i, e) {
1381
1379
  }
1382
1380
  function Nn(i, e) {
1383
1381
  let t, a;
1384
- const n = i[e[I.IQR]], r = i[e[I.FirstQuartile]], s = i[e[I.ThirdQuartile]];
1382
+ const n = i[e[V.IQR]], r = i[e[V.FirstQuartile]], s = i[e[V.ThirdQuartile]];
1385
1383
  return Number.isFinite(n) && Number.isFinite(r) && Number.isFinite(s) && (t = r - n * 1.5, a = s + n * 1.5), { outlierMinThreshold: t, outlierMaxThreshold: a };
1386
1384
  }
1387
1385
  function Wt(i) {
1388
1386
  const { yField: e, xField: t, xValue: a, splitByField: n, splitByValue: r, outlierMaxThreshold: s, outlierMinThreshold: o, target: c } = i;
1389
1387
  let l;
1390
1388
  if (t !== void 0 && a !== void 0) {
1391
- const m = typeof a != "string" ? a : `'${Vt(a)}'`;
1389
+ const m = typeof a != "string" ? a : `'${Et(a)}'`;
1392
1390
  l = `${t}=${m.toString()}`;
1393
1391
  }
1394
1392
  let u;
1395
1393
  if (n !== void 0 && r !== void 0) {
1396
- const m = typeof r != "string" ? r : `'${Vt(r)}'`;
1394
+ const m = typeof r != "string" ? r : `'${Et(r)}'`;
1397
1395
  u = `${n}=${m.toString()}`;
1398
1396
  }
1399
1397
  let d;
1400
1398
  return c === "outliers" && o !== s ? d = `(${e}<${o} OR ${e}>${s})` : c === "alternativeData" && (o === s ? d = `(${e}=${o})` : d = `(${e}>=${o} AND ${e}<=${s})`), [l, u, d].filter((m) => m !== void 0).join(" AND ");
1401
1399
  }
1402
1400
  function gi(i) {
1403
- const { data: e, yField: t, x: a, chartSubType: n, splitByField: r } = i, s = n === p.BoxPlotMonoField || n === p.BoxPlotMonoFieldAndCategory || n === p.BoxPlotMonoFieldAndSplitBy || n === p.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : t, o = je(s), c = [], l = [], { maxOperandsPerWhereClause: u } = Ue();
1401
+ 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();
1404
1402
  let d = [], f = [], m = 1;
1405
1403
  return e.forEach((g, y) => {
1406
- const { outlierMinThreshold: h, outlierMaxThreshold: x } = Nn(g, o);
1407
- if (typeof h == "number" && typeof x == "number") {
1404
+ const { outlierMinThreshold: p, outlierMaxThreshold: x } = Nn(g, o);
1405
+ if (typeof p == "number" && typeof x == "number") {
1408
1406
  const F = {
1409
1407
  yField: t,
1410
- outlierMinThreshold: h,
1408
+ outlierMinThreshold: p,
1411
1409
  outlierMaxThreshold: x
1412
1410
  };
1413
- (n === p.BoxPlotMonoFieldAndCategory || n === p.BoxPlotMultiFieldsAndCategory || n === p.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in g && (F.xField = a, F.xValue = ze({
1411
+ (n === h.BoxPlotMonoFieldAndCategory || n === h.BoxPlotMultiFieldsAndCategory || n === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in g && (F.xField = a, F.xValue = ze({
1414
1412
  value: g[a],
1415
1413
  dataContext: g,
1416
1414
  keepNullValues: !0,
1417
1415
  specificField: b.typeOrDomainIdValue
1418
- })), (n === p.BoxPlotMonoFieldAndSplitBy || n === p.BoxPlotMultiFieldsAndSplitBy || n === p.BoxPlotMonoFieldAndCategoryAndSplitBy) && r !== void 0 && r in g && (F.splitByField = r, F.splitByValue = g[r]), d.push(Wt({ ...F, target: "outliers" })), f.push(Wt({ ...F, target: "alternativeData" })), (m % u === 0 || y === e.length - 1) && (c.push(Q(d, "OR")), l.push(Q(f, "OR")), d = [], f = []);
1416
+ })), (n === h.BoxPlotMonoFieldAndSplitBy || n === h.BoxPlotMultiFieldsAndSplitBy || n === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && r !== void 0 && r in g && (F.splitByField = r, F.splitByValue = g[r]), d.push(Wt({ ...F, target: "outliers" })), f.push(Wt({ ...F, target: "alternativeData" })), (m % u === 0 || y === e.length - 1) && (c.push(Q(d, "OR")), l.push(Q(f, "OR")), d = [], f = []);
1419
1417
  }
1420
1418
  m += 1;
1421
1419
  }), { outliersFilterBatches: c, dataWithoutOutliersFilterBatches: l };
1422
1420
  }
1423
1421
  function Tn(i) {
1424
1422
  const { data: e, outlierDataItem: t, chartSubType: a, x: n, y: r, meanAndStdDevPerField: s, splitByField: o } = i;
1425
- let c = s?.[Ee(r, P.Average)], l = s?.[Ee(r, P.StandardDeviation)];
1423
+ let c = s?.[Ie(r, P.Average)], l = s?.[Ie(r, P.StandardDeviation)];
1426
1424
  if (c === void 0 && l === void 0)
1427
1425
  switch (a) {
1428
- case p.BoxPlotMultiFields: {
1426
+ case h.BoxPlotMultiFields: {
1429
1427
  const u = je(r), d = e[0];
1430
- c = Number(d[u[I.Average]]), l = Number(d[u[I.StandardDeviation]]);
1428
+ c = Number(d[u[V.Average]]), l = Number(d[u[V.StandardDeviation]]);
1431
1429
  break;
1432
1430
  }
1433
- case p.BoxPlotMultiFieldsAndCategory: {
1431
+ case h.BoxPlotMultiFieldsAndCategory: {
1434
1432
  const u = e.find((d) => d[n] === t[n]);
1435
1433
  if (u !== void 0) {
1436
1434
  const d = je(r);
1437
- c = Number(u[d[I.Average]]), l = Number(u[d[I.StandardDeviation]]);
1435
+ c = Number(u[d[V.Average]]), l = Number(u[d[V.StandardDeviation]]);
1438
1436
  }
1439
1437
  break;
1440
1438
  }
1441
- case p.BoxPlotMultiFieldsAndSplitBy: {
1439
+ case h.BoxPlotMultiFieldsAndSplitBy: {
1442
1440
  const u = e.find((d) => d[o] === t[o]);
1443
1441
  if (u !== void 0) {
1444
1442
  const d = je(r);
1445
- c = Number(u[d[I.Average]]), l = Number(u[d[I.StandardDeviation]]);
1443
+ c = Number(u[d[V.Average]]), l = Number(u[d[V.StandardDeviation]]);
1446
1444
  }
1447
1445
  break;
1448
1446
  }
@@ -1450,9 +1448,9 @@ function Tn(i) {
1450
1448
  return { mean: c, stdDev: l };
1451
1449
  }
1452
1450
  async function An(i) {
1453
- const { seriesConfig: e, data: t, uniqueQuery: a, queryObject: n, meanAndStdDevPerField: r, abortKey: s } = i, o = V(e), c = e[0], { x: l } = c, u = K(c.query?.where), d = z(n), f = se(e), m = [];
1454
- for (let h = 0; h < f.length; h += 1) {
1455
- const x = f[h], { outliersFilterBatches: F } = gi({
1451
+ 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
+ for (let p = 0; p < f.length; p += 1) {
1453
+ const x = f[p], { outliersFilterBatches: F } = gi({
1456
1454
  data: t,
1457
1455
  yField: x,
1458
1456
  x: l,
@@ -1486,26 +1484,26 @@ async function An(i) {
1486
1484
  }
1487
1485
  }
1488
1486
  const g = await Promise.all(m), y = /* @__PURE__ */ new Map();
1489
- for (let h = 0; h < g.length; h += 1) {
1490
- const x = g[h], F = f[h];
1487
+ for (let p = 0; p < g.length; p += 1) {
1488
+ const x = g[p], F = f[p];
1491
1489
  x.forEach((C) => {
1492
1490
  const B = { ...C.attributes };
1493
1491
  if (B[F] !== void 0) {
1494
1492
  l === b.boxPlot.boxPlotCategory && (B[b.boxPlot.boxPlotCategory] = F);
1495
1493
  let N = {
1496
- key: I.Outlier,
1494
+ key: V.Outlier,
1497
1495
  chartSubType: o
1498
1496
  };
1499
1497
  switch (o) {
1500
- case p.BoxPlotMonoFieldAndSplitBy:
1501
- case p.BoxPlotMultiFieldsAndSplitBy:
1502
- case p.BoxPlotMonoFieldAndCategoryAndSplitBy:
1498
+ case h.BoxPlotMonoFieldAndSplitBy:
1499
+ case h.BoxPlotMultiFieldsAndSplitBy:
1500
+ case h.BoxPlotMonoFieldAndCategoryAndSplitBy:
1503
1501
  N = {
1504
1502
  ...N,
1505
1503
  splitByValue: B[u]
1506
1504
  };
1507
1505
  break;
1508
- case p.BoxPlotMultiFieldsAndCategory:
1506
+ case h.BoxPlotMultiFieldsAndCategory:
1509
1507
  N = {
1510
1508
  ...N,
1511
1509
  y: F
@@ -1514,15 +1512,15 @@ async function An(i) {
1514
1512
  }
1515
1513
  const v = U(N), T = B[F];
1516
1514
  B[v] = T;
1517
- const D = `${B[l]}-${B[u]}-${T}`, M = y.get(D);
1515
+ const w = `${B[l]}-${B[u]}-${T}`, L = y.get(w);
1518
1516
  if (B[Y.uniqueIdsName] = [
1519
- ...M?.[Y.uniqueIdsName] ?? [],
1517
+ ...L?.[Y.uniqueIdsName] ?? [],
1520
1518
  B[d.objectIdField]
1521
- ], delete B[d.objectIdField], _i(o)) {
1522
- const w = U({
1519
+ ], delete B[d.objectIdField], Yi(o)) {
1520
+ const D = U({
1523
1521
  ...N,
1524
1522
  standardizeValues: !0
1525
- }), { mean: E, stdDev: L } = Tn({
1523
+ }), { mean: R, stdDev: M } = Tn({
1526
1524
  data: t,
1527
1525
  outlierDataItem: B,
1528
1526
  chartSubType: o,
@@ -1531,13 +1529,13 @@ async function An(i) {
1531
1529
  splitByField: u,
1532
1530
  meanAndStdDevPerField: r
1533
1531
  });
1534
- E !== void 0 && L !== void 0 && (B[w] = Ct({
1532
+ R !== void 0 && M !== void 0 && (B[D] = Ct({
1535
1533
  value: T,
1536
- mean: E,
1537
- stdDev: L
1534
+ mean: R,
1535
+ stdDev: M
1538
1536
  }));
1539
1537
  }
1540
- delete B[F], B[b.boxPlot.boxPlotOutlierId] = !0, y.set(D, B);
1538
+ delete B[F], B[b.boxPlot.boxPlotOutlierId] = !0, y.set(w, B);
1541
1539
  }
1542
1540
  });
1543
1541
  }
@@ -1546,7 +1544,7 @@ async function An(i) {
1546
1544
  async function Pn(i) {
1547
1545
  const { data: e, queryObject: t, uniqueQuery: a, elementCount: n, chartConfig: r, chartLimits: s, abortKey: o } = i;
1548
1546
  let c = [];
1549
- const { series: l, showMean: u } = r, d = Nt({ showMean: u, seriesConfig: l }), f = V(l), m = Me(r), { x: g } = m, y = K(m.query?.where), h = [];
1547
+ 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 = [];
1550
1548
  for (let F = 0; F < d.length; F += 1) {
1551
1549
  const C = d[F], { dataWithoutOutliersFilterBatches: B } = gi({
1552
1550
  data: e,
@@ -1561,11 +1559,11 @@ async function Pn(i) {
1561
1559
  where: Q([a.where, v])
1562
1560
  };
1563
1561
  T.outStatistics !== void 0 && (T.outStatistics = T.outStatistics?.filter(
1564
- (D) => (D.statisticType === P.Minimum || D.statisticType === P.Maximum) && D.onStatisticField === C
1565
- ).map((D) => ({
1566
- ...D,
1567
- outStatisticFieldName: `${D.outStatisticFieldName}${b.boxPlot.boxPlotOutliersSuffix}`
1568
- }))), h.push(
1562
+ (w) => (w.statisticType === P.Minimum || w.statisticType === P.Maximum) && w.onStatisticField === C
1563
+ ).map((w) => ({
1564
+ ...w,
1565
+ outStatisticFieldName: `${w.outStatisticFieldName}${b.boxPlot.boxPlotOutliersSuffix}`
1566
+ }))), p.push(
1569
1567
  ut({
1570
1568
  queryObject: t,
1571
1569
  uniqueQuery: T,
@@ -1579,10 +1577,10 @@ async function Pn(i) {
1579
1577
  );
1580
1578
  }
1581
1579
  }
1582
- const x = await Promise.all(h);
1580
+ const x = await Promise.all(p);
1583
1581
  for (let F = 0; F < x.length; F += 1)
1584
1582
  c.push(...x[F]);
1585
- return f !== p.BoxPlotMonoFieldAndCategoryAndSplitBy && (c = Lt({
1583
+ return f !== h.BoxPlotMonoFieldAndCategoryAndSplitBy && (c = Lt({
1586
1584
  data: c,
1587
1585
  x: y !== void 0 && y !== "" ? y : g
1588
1586
  })), c;
@@ -1590,8 +1588,8 @@ async function Pn(i) {
1590
1588
  async function Ln(i) {
1591
1589
  const { queryObject: e, uniqueQuery: t, chartConfig: a, abortKey: n } = i;
1592
1590
  let r;
1593
- const { series: s, showMean: o } = a, c = V(s);
1594
- if (c === p.BoxPlotMultiFieldsAndCategory || c === p.BoxPlotMultiFieldsAndSplitBy) {
1591
+ const { series: s, showMean: o } = a, c = E(s);
1592
+ if (c === h.BoxPlotMultiFieldsAndCategory || c === h.BoxPlotMultiFieldsAndSplitBy) {
1595
1593
  const l = Nt({ showMean: o, seriesConfig: s }), u = {
1596
1594
  ...t
1597
1595
  };
@@ -1634,22 +1632,22 @@ function Mn(i) {
1634
1632
  });
1635
1633
  }
1636
1634
  function yi(i) {
1637
- const { chartConfig: e, data: t, calculateZScore: a = !1, meanAndStdDevPerField: n } = i, { series: r, showMean: s } = e, o = Me(e), c = V(e.series), { x: l } = o, u = Nt({ showMean: s, seriesConfig: r });
1635
+ const { chartConfig: e, data: t, calculateZScore: a = !1, meanAndStdDevPerField: n } = i, { series: r, showMean: s } = e, o = we(e), c = E(e.series), { x: l } = o, u = Nt({ showMean: s, seriesConfig: r });
1638
1636
  let d = t;
1639
1637
  if ((o.type === S.LineSeries || o.type === S.BoxPlotSeries) && t?.[0] !== void 0) {
1640
1638
  const f = K(o.query?.where);
1641
1639
  switch (c) {
1642
- case p.BoxPlotMonoField:
1640
+ case h.BoxPlotMonoField:
1643
1641
  d[0][b.boxPlot.boxPlotCategory] = u[0];
1644
1642
  break;
1645
- case p.BoxPlotMultiFields:
1643
+ case h.BoxPlotMultiFields:
1646
1644
  d = Fn({
1647
1645
  data: t,
1648
1646
  yList: u,
1649
1647
  calculateZScore: a
1650
1648
  });
1651
1649
  break;
1652
- case p.BoxPlotMonoFieldAndSplitBy:
1650
+ case h.BoxPlotMonoFieldAndSplitBy:
1653
1651
  d = bn({
1654
1652
  data: t,
1655
1653
  splitByField: f,
@@ -1657,7 +1655,7 @@ function yi(i) {
1657
1655
  // there's only one `y` value for that query type
1658
1656
  });
1659
1657
  break;
1660
- case p.BoxPlotMultiFieldsAndSplitBy:
1658
+ case h.BoxPlotMultiFieldsAndSplitBy:
1661
1659
  d = xn({
1662
1660
  splitByField: f,
1663
1661
  data: t,
@@ -1666,7 +1664,7 @@ function yi(i) {
1666
1664
  calculateZScore: a
1667
1665
  });
1668
1666
  break;
1669
- case p.BoxPlotMultiFieldsAndCategory:
1667
+ case h.BoxPlotMultiFieldsAndCategory:
1670
1668
  d = Cn({
1671
1669
  data: t,
1672
1670
  yList: u,
@@ -1674,14 +1672,14 @@ function yi(i) {
1674
1672
  calculateZScore: a
1675
1673
  });
1676
1674
  break;
1677
- case p.BoxPlotMonoFieldAndCategoryAndSplitBy:
1675
+ case h.BoxPlotMonoFieldAndCategoryAndSplitBy:
1678
1676
  d = Bn({
1679
1677
  splitByField: f,
1680
1678
  x: l,
1681
1679
  data: t
1682
1680
  });
1683
1681
  break;
1684
- case p.BoxPlotMonoFieldAndCategory:
1682
+ case h.BoxPlotMonoFieldAndCategory:
1685
1683
  }
1686
1684
  }
1687
1685
  return vn(e, d), d;
@@ -1757,10 +1755,10 @@ function qn(i) {
1757
1755
  );
1758
1756
  e.groupByFieldsForStatistics = Array.from(new Set(n));
1759
1757
  }
1760
- function Vn(i) {
1758
+ function En(i) {
1761
1759
  return i.statisticType === P.ContinuousPercentile || i.statisticType === P.DiscretePercentile;
1762
1760
  }
1763
- function En(i) {
1761
+ function Vn(i) {
1764
1762
  const {
1765
1763
  uniqueQuery: e,
1766
1764
  y: t,
@@ -1772,11 +1770,11 @@ function En(i) {
1772
1770
  splitByField: c
1773
1771
  } = i, l = Y.outStatistics;
1774
1772
  if (e.outStatistics?.[0] !== void 0) {
1775
- r !== p.PieFromFields && r !== p.BarAndLineFromFields && (e.outStatistics[0].outStatisticFieldName = a ? l.outStatisticFieldName : [t].flat()[0]);
1773
+ r !== h.PieFromFields && r !== h.BarAndLineFromFields && (e.outStatistics[0].outStatisticFieldName = a ? l.outStatisticFieldName : [t].flat()[0]);
1776
1774
  const { outStatistics: u } = e;
1777
1775
  for (let d = 0; d < u.length; d += 1) {
1778
1776
  const f = e.outStatistics[d];
1779
- f !== void 0 && Vn(f) && (s && !Qe(n) ? (u[d].statisticType = P.Count, delete u[d].statisticParameters) : u[d] = {
1777
+ f !== void 0 && En(f) && (s && !Qe(n) ? (u[d].statisticType = P.Count, delete u[d].statisticParameters) : u[d] = {
1780
1778
  ...u[d],
1781
1779
  statisticParameters: u[d].statisticParameters ?? {
1782
1780
  value: b.defaultStatParameterValue
@@ -1798,28 +1796,28 @@ function En(i) {
1798
1796
  function In(i) {
1799
1797
  const { chartConfig: e, fetchFullBoxPlotData: t } = i, { series: a } = e, n = He(e);
1800
1798
  let r = [
1801
- { statisticType: P.Average, suffix: I.Average }
1799
+ { statisticType: P.Average, suffix: V.Average }
1802
1800
  ];
1803
1801
  t === !0 && (r = [
1804
1802
  ...r,
1805
- { statisticType: P.Minimum, suffix: I.Min },
1803
+ { statisticType: P.Minimum, suffix: V.Min },
1806
1804
  {
1807
1805
  statisticType: P.ContinuousPercentile,
1808
1806
  statisticParameters: { value: 0.25 },
1809
- suffix: I.FirstQuartile
1807
+ suffix: V.FirstQuartile
1810
1808
  },
1811
1809
  {
1812
1810
  statisticType: P.ContinuousPercentile,
1813
1811
  statisticParameters: { value: 0.5 },
1814
- suffix: I.Median
1812
+ suffix: V.Median
1815
1813
  },
1816
1814
  {
1817
1815
  statisticType: P.ContinuousPercentile,
1818
1816
  statisticParameters: { value: 0.75 },
1819
- suffix: I.ThirdQuartile
1817
+ suffix: V.ThirdQuartile
1820
1818
  },
1821
- { statisticType: P.Maximum, suffix: I.Max },
1822
- { statisticType: P.StandardDeviation, suffix: I.StandardDeviation }
1819
+ { statisticType: P.Maximum, suffix: V.Max },
1820
+ { statisticType: P.StandardDeviation, suffix: V.StandardDeviation }
1823
1821
  ]);
1824
1822
  const s = /* @__PURE__ */ new Set();
1825
1823
  return n && "y" in a[0] ? [a[0].y].flat().forEach((c) => s.add(c)) : a.forEach((c) => {
@@ -1844,8 +1842,8 @@ function $n(i, e) {
1844
1842
  function Rn(i) {
1845
1843
  const { uniqueQuery: e, x: t, splitByField: a, unit: n, chartSubType: r, objectIdField: s } = i;
1846
1844
  if (n !== void 0) {
1847
- const o = Yi(t, n);
1848
- e.orderByFields = o, e.groupByFieldsForStatistics = o, r === p.BarAndLineSplitBy && !ee(a) ? e.groupByFieldsForStatistics.push(a) : r === p.BarAndLineNoAggregation && (e.groupByFieldsForStatistics.push(s), e.outStatistics = [
1845
+ const o = Ki(t, n);
1846
+ e.orderByFields = o, e.groupByFieldsForStatistics = o, r === h.BarAndLineSplitBy && !ee(a) ? e.groupByFieldsForStatistics.push(a) : r === h.BarAndLineNoAggregation && (e.groupByFieldsForStatistics.push(s), e.outStatistics = [
1849
1847
  {
1850
1848
  onStatisticField: s,
1851
1849
  outStatisticFieldName: `COUNT_${s}`,
@@ -1859,8 +1857,8 @@ function pi(i) {
1859
1857
  if (t?.chartLimits?.behaviorAfterLimit === $e.RenderUpToTheLimit) {
1860
1858
  const n = fi(e, t?.chartLimits);
1861
1859
  if (n !== void 0) {
1862
- const r = V(e.series);
1863
- if (r === p.PieFromFields || r === p.BarAndLineFromFields) {
1860
+ const r = E(e.series);
1861
+ if (r === h.PieFromFields || r === h.BarAndLineFromFields) {
1864
1862
  if (a.outStatistics?.[0] !== void 0) {
1865
1863
  const s = (l, u) => l.statisticType === P.EnvelopeAggregate === u, o = a.outStatistics.filter((l) => s(l, !0)), c = a.outStatistics.filter((l) => s(l, !1));
1866
1864
  c.splice(n), a.outStatistics = [...c, ...o];
@@ -1871,49 +1869,49 @@ function pi(i) {
1871
1869
  }
1872
1870
  }
1873
1871
  async function ct(i) {
1874
- const { chartConfig: e, queryConfig: t, options: a, queryObject: n, timeIntervalInfo: r, fetchFullBoxPlotData: s } = i, { setTimeBinningInfoWhenNotProvided: o, returnFeaturesExtent: c } = a ?? {}, l = e.series, u = V(l), d = Me(e), { query: f, x: m } = d, g = "y" in d ? d.y : void 0, y = ve({
1872
+ const { chartConfig: e, queryConfig: t, options: a, queryObject: n, timeIntervalInfo: r, fetchFullBoxPlotData: s } = i, { setTimeBinningInfoWhenNotProvided: o, returnFeaturesExtent: c } = a ?? {}, l = e.series, u = E(l), d = we(e), { query: f, x: m } = d, g = "y" in d ? d.y : void 0, y = Ne({
1875
1873
  xAxisValueFormatType: pe(e),
1876
1874
  setTimeBinningInfoWhenNotProvided: o,
1877
1875
  seriesConfig: d
1878
1876
  });
1879
- let h = /* @__PURE__ */ new Map(), x = !1, F = !1, C = !1, B = !1, N = !1, v = {};
1877
+ let p = /* @__PURE__ */ new Map(), x = !1, F = !1, C = !1, B = !1, N = !1, v = {};
1880
1878
  if (f !== void 0) {
1881
- v = Ie(f);
1879
+ v = Fe(f);
1882
1880
  const O = K(f.where);
1883
1881
  let H = "";
1884
1882
  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) {
1885
- case p.BarAndLineSplitBy: {
1886
- h = On(l), B = !0, x = !0, F = !0;
1883
+ case h.BarAndLineSplitBy: {
1884
+ p = On(l), B = !0, x = !0, F = !0;
1887
1885
  break;
1888
1886
  }
1889
- case p.BarAndLineMultiFields:
1887
+ case h.BarAndLineMultiFields:
1890
1888
  $n(v, l), F = !0;
1891
1889
  break;
1892
- case p.PieFromFields:
1893
- case p.BarAndLineFromFields:
1890
+ case h.PieFromFields:
1891
+ case h.BarAndLineFromFields:
1894
1892
  H = "", C = !0, F = !0;
1895
1893
  break;
1896
- case p.BarAndLineMonoField:
1897
- case p.PieFromCategory:
1894
+ case h.BarAndLineMonoField:
1895
+ case h.PieFromCategory:
1898
1896
  F = !0;
1899
1897
  break;
1900
- case p.BoxPlotMonoField:
1901
- case p.BoxPlotMultiFields:
1898
+ case h.BoxPlotMonoField:
1899
+ case h.BoxPlotMultiFields:
1902
1900
  C = !0, N = !0;
1903
1901
  break;
1904
- case p.BoxPlotMonoFieldAndCategory:
1905
- case p.BoxPlotMultiFieldsAndCategory:
1906
- case p.BoxPlotMonoFieldAndSplitBy:
1907
- case p.BoxPlotMonoFieldAndCategoryAndSplitBy:
1908
- case p.BoxPlotMultiFieldsAndSplitBy: {
1902
+ case h.BoxPlotMonoFieldAndCategory:
1903
+ case h.BoxPlotMultiFieldsAndCategory:
1904
+ case h.BoxPlotMonoFieldAndSplitBy:
1905
+ case h.BoxPlotMonoFieldAndCategoryAndSplitBy:
1906
+ case h.BoxPlotMultiFieldsAndSplitBy: {
1909
1907
  N = !0, B = !0, C = !0;
1910
1908
  break;
1911
1909
  }
1912
- case p.PieNoAggregation:
1913
- case p.BarAndLineNoAggregation:
1914
- case p.BarAndLineSplitByNoAggregation:
1910
+ case h.PieNoAggregation:
1911
+ case h.BarAndLineNoAggregation:
1912
+ case h.BarAndLineSplitByNoAggregation:
1915
1913
  }
1916
- if (F && En({
1914
+ if (F && Vn({
1917
1915
  uniqueQuery: v,
1918
1916
  y: g,
1919
1917
  useGenericOutStatFieldName: x,
@@ -1923,24 +1921,24 @@ async function ct(i) {
1923
1921
  returnFeaturesExtent: c,
1924
1922
  splitByField: O
1925
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) => {
1926
- const $ = X.split(" ");
1927
- return !ee($[0]);
1924
+ const I = X.split(" ");
1925
+ return !ee(I[0]);
1928
1926
  })), y && oe(l[0])) {
1929
- const X = z(n), { objectIdField: $ } = X;
1930
- (await Ne(n)).find((te) => te.name === m)?.type !== Ye.DateOnly && Rn({
1927
+ const X = z(n), { objectIdField: I } = X;
1928
+ (await Te(n)).find((te) => te.name === m)?.type !== Ye.DateOnly && Rn({
1931
1929
  uniqueQuery: v,
1932
1930
  x: m,
1933
1931
  splitByField: K(f.where),
1934
1932
  unit: r?.unit ?? l[0].temporalBinning?.unit,
1935
1933
  chartSubType: u,
1936
- objectIdField: $
1934
+ objectIdField: I
1937
1935
  });
1938
1936
  }
1939
1937
  v.where = H;
1940
1938
  }
1941
1939
  pi({ chartConfig: e, options: a, uniqueQuery: v });
1942
- const { gdbVersion: T, geometry: D, distance: M, units: w, timeExtent: E, where: L, objectIds: q, spatialRelationship: A } = t;
1943
- return T !== void 0 && (v.gdbVersion = T), D !== void 0 && (v.geometry = D), M !== void 0 && (v.distance = M), w !== void 0 && (v.units = w), E !== void 0 && (v.timeExtent = E), q !== void 0 && (v.objectIds = q), A !== void 0 && (v.spatialRelationship = A), L !== void 0 && (v.where = Q([v.where, L])), { uniqueQuery: v, mapToStatField: h };
1940
+ const { gdbVersion: T, geometry: w, distance: L, units: D, timeExtent: R, where: M, objectIds: q, spatialRelationship: A } = t;
1941
+ 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 };
1944
1942
  }
1945
1943
  async function kn(i) {
1946
1944
  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({
@@ -2040,7 +2038,7 @@ function Wn(i = _.None, e) {
2040
2038
  }
2041
2039
  function hi(i, e) {
2042
2040
  const t = { valid: !1 };
2043
- return e === !0 ? t.invalidType = R.HistogramEmptyField : i === _.Log ? t.invalidType = R.NegativeValueInLogCalculation : i === _.Sqrt && (t.invalidType = R.NegativeValueInSqrtCalculation), t;
2041
+ return e === !0 ? t.invalidType = $.HistogramEmptyField : i === _.Log ? t.invalidType = $.NegativeValueInLogCalculation : i === _.Sqrt && (t.invalidType = $.NegativeValueInSqrtCalculation), t;
2044
2042
  }
2045
2043
  function Qn(i, e) {
2046
2044
  let t = i;
@@ -2105,8 +2103,8 @@ async function zn(i) {
2105
2103
  queryObject: e,
2106
2104
  queryConfig: d,
2107
2105
  abortKey: n
2108
- }), m = f.get(o) ?? Number.NaN, g = f.get(c) ?? Number.NaN, y = f.get(l) ?? Number.NaN, h = f.get(u) ?? Number.NaN;
2109
- return { countExcludingNulls: g, countIncludingNulls: m, min: y, max: h };
2106
+ }), 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
+ return { countExcludingNulls: g, countIncludingNulls: m, min: y, max: p };
2110
2108
  }
2111
2109
  async function Gn(i) {
2112
2110
  const { queryConfig: e, chartConfig: t, queryObject: a, abortKey: n } = i, r = t.series[0], { x: s, dataTransformationType: o } = r;
@@ -2152,7 +2150,7 @@ function Yn(i) {
2152
2150
  field: c,
2153
2151
  minValue: r,
2154
2152
  maxValue: s,
2155
- numBins: l ?? Xi,
2153
+ numBins: l ?? Zi,
2156
2154
  classificationMethod: "equal-interval",
2157
2155
  // excluding the filters like 1=tionMethod: "equal-interval",1 from the sqlWhere. It's causing query failures (see https://devtopia.esri.com/WebGIS/arcgis-charts/issues/6677)
2158
2156
  sqlWhere: Tt(o.where) ? void 0 : o.where,
@@ -2179,46 +2177,46 @@ async function Jn(i) {
2179
2177
  } = i, c = e.series[0], { dataTransformationType: l } = c;
2180
2178
  let u = { valid: !0 };
2181
2179
  if (a !== void 0) {
2182
- const d = z(a), m = Ki(t?.geometry)?.extent?.toJSON() !== void 0, g = s?.view, y = _n({
2180
+ const d = z(a), m = Ji(t?.geometry)?.extent?.toJSON() !== void 0, g = s?.view, y = _n({
2183
2181
  seriesConfig: c,
2184
2182
  layer: d,
2185
2183
  view: g,
2186
2184
  useFeaturesInView: m,
2187
2185
  queryConfig: t
2188
2186
  });
2189
- let h;
2190
- if (g !== void 0 && (h = new $t({
2187
+ let p;
2188
+ if (g !== void 0 && (p = new $t({
2191
2189
  geometry: g.extent
2192
- }), g.extent !== void 0 && Ji(d))) {
2193
- const { distance: M, units: w } = t;
2194
- M !== void 0 && (h.distance = M), w !== void 0 && (h.units = w);
2190
+ }), g.extent !== void 0 && Xi(d))) {
2191
+ const { distance: L, units: D } = t;
2192
+ L !== void 0 && (p.distance = L), D !== void 0 && (p.units = D);
2195
2193
  }
2196
2194
  if (t.timeExtent) {
2197
- const M = { start: t.timeExtent[0], end: t.timeExtent[1] };
2198
- h === void 0 ? h = new $t({ timeExtent: M }) : h.timeExtent = M;
2195
+ const L = { start: t.timeExtent[0], end: t.timeExtent[1] };
2196
+ p === void 0 ? p = new $t({ timeExtent: L }) : p.timeExtent = L;
2199
2197
  }
2200
- y.filter = h;
2198
+ y.filter = p;
2201
2199
  let x;
2202
2200
  y.outStatisticTypes = { exclude: ["median"] };
2203
2201
  try {
2204
2202
  x = await Rt(y);
2205
- } catch (M) {
2206
- throw new pt(Et.QueryFeaturesError, o.errors.queryError, M);
2203
+ } catch (L) {
2204
+ throw new pt(Vt.QueryFeaturesError, o.errors.queryError, L);
2207
2205
  }
2208
2206
  y.outStatisticTypes = { include: ["median"] };
2209
2207
  try {
2210
- const M = await Rt(y);
2211
- M?.median && (x.median = M.median);
2208
+ const L = await Rt(y);
2209
+ L?.median && (x.median = L.median);
2212
2210
  } catch {
2213
2211
  }
2214
2212
  x = Un(x);
2215
- const { avg: F, count: C, stddev: B, min: N, max: v, sum: T, median: D } = x;
2213
+ const { avg: F, count: C, stddev: B, min: N, max: v, sum: T, median: w } = x;
2216
2214
  if (C === 0)
2217
2215
  u = {
2218
2216
  ...hi(l)
2219
2217
  };
2220
2218
  else {
2221
- const M = Yn({
2219
+ const L = Yn({
2222
2220
  seriesConfig: c,
2223
2221
  layer: d,
2224
2222
  view: g,
@@ -2228,23 +2226,23 @@ async function Jn(i) {
2228
2226
  valueExpression: y.valueExpression,
2229
2227
  queryConfig: t
2230
2228
  });
2231
- M.filter = h;
2232
- let w;
2229
+ L.filter = p;
2230
+ let D;
2233
2231
  try {
2234
- w = await Ba(M);
2235
- } catch (L) {
2236
- throw new pt(Et.QueryFeaturesError, o.errors.queryError, L);
2232
+ D = await va(L);
2233
+ } catch (M) {
2234
+ throw new pt(Vt.QueryFeaturesError, o.errors.queryError, M);
2237
2235
  }
2238
- const E = Kn(r, n);
2236
+ const R = Kn(r, n);
2239
2237
  u.data = {
2240
2238
  mean: F,
2241
2239
  stddev: B,
2242
2240
  min: N,
2243
2241
  max: v,
2244
- median: Number(D),
2245
- bins: w?.bins,
2242
+ median: Number(w),
2243
+ bins: D?.bins,
2246
2244
  count: n,
2247
- nulls: E,
2245
+ nulls: R,
2248
2246
  sum: T ?? void 0
2249
2247
  }, u.data.bins.length > 0 && (u.data.bins[u.data.bins.length - 1].isLastBin = !0);
2250
2248
  }
@@ -2285,7 +2283,7 @@ async function Xn(i) {
2285
2283
  })) }
2286
2284
  };
2287
2285
  }
2288
- const Le = {
2286
+ const Me = {
2289
2287
  groupByCaseBegin: "CASE",
2290
2288
  groupByOutKeyword: "OUT",
2291
2289
  groupByCaseEnd: "ELSE 'OUT' END"
@@ -2323,21 +2321,21 @@ async function tr(i) {
2323
2321
  dataContextCountDistinctX: d,
2324
2322
  dataContextCountDistinctY: f
2325
2323
  } = b.scatterplotAggregationFields;
2326
- let m, g, y, h, x;
2324
+ let m, g, y, p, x;
2327
2325
  const F = e.get(o), C = e.get(c), B = e.get(l), N = e.get(u);
2328
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)) {
2329
- const { maxScatterPointsAfterAggregation: v } = Re(n?.chartLimits), D = Math.floor(Math.sqrt(v)), M = await er({
2327
+ const { maxScatterPointsAfterAggregation: v } = Re(n?.chartLimits), w = Math.floor(Math.sqrt(v)), L = await er({
2330
2328
  queryObject: a,
2331
2329
  chartConfig: t,
2332
2330
  queryConfig: r,
2333
2331
  abortKey: s
2334
2332
  });
2335
- y = Math.min(M.get(f) ?? Number.NaN, D), h = Math.min(M.get(d) ?? Number.NaN, D), x = h * y, m = C === F ? 0 : (C - F) / (h - 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, h), e.set(b.scatterplotAggregationFields.realGridSize, x);
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);
2336
2334
  }
2337
2335
  }
2338
2336
  function ir(i) {
2339
2337
  const { groupByFieldsForStatistics: e, x: t, y: a, xValue: n, yValue: r, xStep: s, yStep: o, endOfRow: c, endOfColumn: l } = i;
2340
- let u = e === "" ? Le.groupByCaseBegin : e;
2338
+ let u = e === "" ? Me.groupByCaseBegin : e;
2341
2339
  return u = de(Zn, {
2342
2340
  groupByFieldsForStatistics: u,
2343
2341
  x: t,
@@ -2374,33 +2372,33 @@ async function nr(i) {
2374
2372
  dataContextYMinField: m,
2375
2373
  dataContextYMaxField: g,
2376
2374
  queryNumberOfFeatures: y,
2377
- queryNumberOfAggregatedFeatures: h
2375
+ queryNumberOfAggregatedFeatures: p
2378
2376
  } = b.scatterplotAggregationFields;
2379
2377
  let x;
2380
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;
2381
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)) {
2382
- const T = z(a), { objectIdField: D } = T, M = e?.get(b.scatterplotAggregationFields.xStep), w = e?.get(b.scatterplotAggregationFields.yStep), E = e?.get(b.scatterplotAggregationFields.realGridSize), L = e?.get(b.scatterplotAggregationFields.rowCount), q = e?.get(b.scatterplotAggregationFields.columnCount), A = /* @__PURE__ */ new Map(), O = await Ne(a);
2383
- if (O?.forEach(($) => {
2384
- We($) && A.set($.name, {
2385
- onStatisticField: $.name,
2386
- outStatisticFieldName: $.name,
2380
+ 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
+ if (O?.forEach((I) => {
2382
+ We(I) && A.set(I.name, {
2383
+ onStatisticField: I.name,
2384
+ outStatisticFieldName: I.name,
2387
2385
  statisticType: P.Maximum
2388
2386
  });
2389
- }), (O.filter(($) => c?.additionalTooltipFields?.includes($.name)) ?? [])?.forEach(($) => {
2390
- We($) || A.set($.name, {
2391
- onStatisticField: $.name,
2392
- outStatisticFieldName: $.name,
2387
+ }), (O.filter((I) => c?.additionalTooltipFields?.includes(I.name)) ?? [])?.forEach((I) => {
2388
+ We(I) || A.set(I.name, {
2389
+ onStatisticField: I.name,
2390
+ outStatisticFieldName: I.name,
2393
2391
  statisticType: P.Maximum
2394
2392
  });
2395
- }), (await Zt(T)).forEach(($) => {
2396
- A.set($, {
2397
- onStatisticField: $,
2398
- outStatisticFieldName: $,
2393
+ }), (await Zt(T)).forEach((I) => {
2394
+ A.set(I, {
2395
+ onStatisticField: I,
2396
+ outStatisticFieldName: I,
2399
2397
  statisticType: P.Maximum
2400
2398
  });
2401
- }), A.set(D, {
2402
- onStatisticField: D,
2403
- outStatisticFieldName: h,
2399
+ }), A.set(w, {
2400
+ onStatisticField: w,
2401
+ outStatisticFieldName: p,
2404
2402
  statisticType: P.Count
2405
2403
  }).set(l, {
2406
2404
  onStatisticField: l,
@@ -2410,50 +2408,50 @@ async function nr(i) {
2410
2408
  onStatisticField: u,
2411
2409
  outStatisticFieldName: u,
2412
2410
  statisticType: P.Maximum
2413
- }), M !== void 0 && w !== void 0) {
2411
+ }), L !== void 0 && D !== void 0) {
2414
2412
  if (r) {
2415
- const $ = {
2413
+ const I = {
2416
2414
  ...n,
2417
2415
  outStatistics: [...A.values()]
2418
2416
  };
2419
- x = await Zi({
2417
+ x = await ea({
2420
2418
  queryObject: a,
2421
- queryConfig: $,
2422
- xStep: M,
2419
+ queryConfig: I,
2420
+ xStep: L,
2423
2421
  xMin: F,
2424
2422
  xMax: C,
2425
2423
  x: l,
2426
2424
  y: u,
2427
- yStep: w,
2425
+ yStep: D,
2428
2426
  errorStrings: s
2429
2427
  });
2430
- } else if (L !== void 0 && q !== void 0) {
2431
- let $ = 0;
2432
- const { maxScatterCellsPerQuery: Z, maxScatterCellsPerQueryForStandard: ue } = Ue(), we = await ea(T) ? ue : Z, Dt = [];
2433
- let dt = !0, De = F, Te = N, Oe = "", Je = 1, ft = 1, Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER;
2428
+ } else if (M !== void 0 && q !== void 0) {
2429
+ let I = 0;
2430
+ const { maxScatterCellsPerQuery: Z, maxScatterCellsPerQueryForStandard: ue } = Ue(), De = await ta(T) ? ue : Z, Dt = [];
2431
+ 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;
2434
2432
  for (; ft <= q && dt; ) {
2435
- for (Te = N, Je = 1; Je <= L && dt; ) {
2436
- if (Oe = ir({
2437
- groupByFieldsForStatistics: Oe,
2433
+ for (Ae = N, Je = 1; Je <= M && dt; ) {
2434
+ if (qe = ir({
2435
+ groupByFieldsForStatistics: qe,
2438
2436
  x: l,
2439
2437
  y: u,
2440
- xValue: De,
2441
- yValue: Te,
2442
- xStep: M,
2443
- yStep: w,
2444
- endOfRow: Je === L,
2438
+ xValue: Oe,
2439
+ yValue: Ae,
2440
+ xStep: L,
2441
+ yStep: D,
2442
+ endOfRow: Je === M,
2445
2443
  endOfColumn: ft === q
2446
- }), De < Xe && (Xe = De), De + M > Ze && (Ze = De + M), Te < et && (et = Te), Te + M > tt && (tt = Te + w), $ += 1, $ % we === 0 || $ === E || $ === B) {
2447
- Oe = `${Oe} ${Le.groupByCaseEnd}`;
2448
- const Ei = {
2444
+ }), Oe < Xe && (Xe = Oe), Oe + L > Ze && (Ze = Oe + L), Ae < et && (et = Ae), Ae + L > tt && (tt = Ae + D), I += 1, I % De === 0 || I === R || I === B) {
2445
+ qe = `${qe} ${Me.groupByCaseEnd}`;
2446
+ const Vi = {
2449
2447
  ...n,
2450
- groupByFieldsForStatistics: [Oe],
2448
+ groupByFieldsForStatistics: [qe],
2451
2449
  outStatistics: [...A.values()]
2452
2450
  };
2453
2451
  Dt.push(
2454
2452
  ar({
2455
2453
  chartConfig: t,
2456
- queryConfig: Ei,
2454
+ queryConfig: Vi,
2457
2455
  queryObject: a,
2458
2456
  xMin: Xe,
2459
2457
  xMax: Ze,
@@ -2461,11 +2459,11 @@ async function nr(i) {
2461
2459
  yMax: tt,
2462
2460
  abortKey: o
2463
2461
  })
2464
- ), Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER, Oe = "", $ === E && (dt = !1);
2462
+ ), Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER, qe = "", I === R && (dt = !1);
2465
2463
  }
2466
- Te += w, Je += 1;
2464
+ Ae += D, Je += 1;
2467
2465
  }
2468
- De += M, ft += 1;
2466
+ Oe += L, ft += 1;
2469
2467
  }
2470
2468
  x = (await Promise.all(Dt)).flat();
2471
2469
  }
@@ -2486,11 +2484,11 @@ const rr = {
2486
2484
  async function sr(i) {
2487
2485
  const { queryObject: e } = i;
2488
2486
  let t = !1;
2489
- const a = ta(e), n = z(e), r = ei(n);
2487
+ const a = ia(e), n = z(e), r = ei(n);
2490
2488
  if (a && r.url !== void 0 && r.url !== null) {
2491
2489
  const s = `${r.url}/${r.layerId}?f=json`;
2492
2490
  try {
2493
- const o = (await Sa(s)).data, c = o?.advancedQueryCapabilities?.supportsQueryAnalytic === !0, l = o?.sqlParserVersion === void 0 || r.version != null && r.version >= 10.91;
2491
+ const o = (await Fa(s)).data, c = o?.advancedQueryCapabilities?.supportsQueryAnalytic === !0, l = o?.sqlParserVersion === void 0 || r.version != null && r.version >= 10.91;
2494
2492
  t = c && l;
2495
2493
  } catch {
2496
2494
  }
@@ -2522,9 +2520,9 @@ async function cr(i) {
2522
2520
  typeValue: m,
2523
2521
  fieldValue: g,
2524
2522
  slopePropertyList: y,
2525
- interceptPropertyList: h,
2523
+ interceptPropertyList: p,
2526
2524
  r2PropertyList: x
2527
- } = rr, F = `[{"${f}": "${m}", "${g}":"${s},${o}"}]`, C = await ia({
2525
+ } = rr, F = `[{"${f}": "${m}", "${g}":"${s},${o}"}]`, C = await aa({
2528
2526
  queryObject: t,
2529
2527
  queryConfig: n,
2530
2528
  outputFormat: d,
@@ -2533,18 +2531,18 @@ async function cr(i) {
2533
2531
  });
2534
2532
  if (C !== void 0) {
2535
2533
  let B = Number.NaN, N = Number.NaN;
2536
- const { expr: v } = mt(C, y), { expr: T } = mt(C, h), { expr: D } = mt(C, x);
2537
- v !== void 0 && Number.isFinite(C[v]) && (B = C[v]), T !== void 0 && Number.isFinite(C[T]) && (N = C[T]), D !== void 0 && Number.isFinite(C[D]) && (c = C[D]);
2538
- const { dataContextXMinField: M, dataContextXMaxField: w, dataContextYMinField: E, dataContextYMaxField: L } = b.scatterplotAggregationFields, q = e.get(M) ?? Number.NaN, A = e.get(w) ?? Number.NaN, O = e.get(E) ?? Number.NaN, H = e.get(L) ?? Number.NaN, $ = (A - q) / 100;
2539
- let Z = q - $, ue = 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]);
2536
+ 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
+ let Z = q - I, ue = Number.NaN;
2540
2538
  for (; !(ue >= O && ue <= H) && Z <= A; )
2541
- Z += $, ue = B * Z + N;
2542
- let te = A + $, we = Number.NaN;
2543
- for (; !(we >= O && we <= H) && te >= q; )
2544
- te -= $, we = B * te + N;
2539
+ Z += I, ue = B * Z + N;
2540
+ let te = A + I, De = Number.NaN;
2541
+ for (; !(De >= O && De <= H) && te >= q; )
2542
+ te -= I, De = B * te + N;
2545
2543
  l = [
2546
2544
  { [s]: Z, [o]: ue },
2547
- { [s]: te, [o]: we }
2545
+ { [s]: te, [o]: De }
2548
2546
  ];
2549
2547
  }
2550
2548
  return { r2: c, trendLinePoints: l };
@@ -2554,8 +2552,8 @@ function bi(i) {
2554
2552
  let { r2: s, trendLinePoints: o } = b.scatterplotSeries;
2555
2553
  const c = lr({ data: e, x: n, y: r });
2556
2554
  if (c !== void 0) {
2557
- const l = va(c), u = Na(l);
2558
- s = Ta(c, u), o = or({ x: n, y: r, trendlineXToY: u, data: e });
2555
+ const l = Na(c), u = Ta(l);
2556
+ s = Aa(c, u), o = or({ x: n, y: r, trendlineXToY: u, data: e });
2559
2557
  }
2560
2558
  return { r2: s, trendLinePoints: o };
2561
2559
  }
@@ -2611,10 +2609,10 @@ async function dr(i) {
2611
2609
  onStatisticField: o
2612
2610
  }
2613
2611
  );
2614
- const h = { ...t };
2615
- return h.outStatistics = y, c = await _e({
2612
+ const p = { ...t };
2613
+ return p.outStatistics = y, c = await _e({
2616
2614
  queryObject: a,
2617
- queryConfig: h,
2615
+ queryConfig: p,
2618
2616
  abortKey: n
2619
2617
  }), s === o && (c.set(d, c.get(l) ?? Number.NaN), c.set(f, c.get(u) ?? Number.NaN)), c;
2620
2618
  }
@@ -2623,34 +2621,34 @@ function at(i) {
2623
2621
  return e === t || e === a ? e : Math.random() * (a - t) + t;
2624
2622
  }
2625
2623
  function fr(i) {
2626
- const { useQueryAttributeBins: e, graphic: t, x: a, y: n, yStep: r } = i, { groupByOutKeyword: s } = Le, { dataContextXMinField: o, dataContextXMaxField: c, dataContextYMinField: l, dataContextYMaxField: u } = b.scatterplotAggregationFields;
2624
+ 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;
2627
2625
  let d = [];
2628
2626
  if (e && "stackedAttributes" in t && t.stackedAttributes) {
2629
- const f = ra(a, n), m = t.attributes[f.lowerBoundaryAlias], g = t.attributes[f.upperBoundaryAlias];
2627
+ const f = sa(a, n), m = t.attributes[f.lowerBoundaryAlias], g = t.attributes[f.upperBoundaryAlias];
2630
2628
  t.stackedAttributes.forEach((y) => {
2631
- let h = y[f.stackAlias], x;
2632
- typeof h == "number" && typeof r == "number" && (h *= r), typeof h == "number" && typeof r == "number" && (x = h + r);
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);
2633
2631
  const F = y[a], C = y[n];
2634
- typeof h == "number" && typeof x == "number" && typeof F == "number" && typeof C == "number" && d.push({
2632
+ typeof p == "number" && typeof x == "number" && typeof F == "number" && typeof C == "number" && d.push({
2635
2633
  ...y,
2636
2634
  [a]: at({ value: F, valueMin: m, valueMax: g }),
2637
- [n]: at({ value: C, valueMin: h, valueMax: x }),
2635
+ [n]: at({ value: C, valueMin: p, valueMax: x }),
2638
2636
  [o]: Math.min(m, g),
2639
2637
  [c]: Math.max(m, g),
2640
- [l]: h,
2638
+ [l]: p,
2641
2639
  [u]: x
2642
2640
  });
2643
2641
  });
2644
2642
  } else {
2645
2643
  const { expr: f, isInItem: m } = lt(t.attributes);
2646
2644
  if (m && f && t.attributes[f] !== s) {
2647
- let [g, y, h, x] = t.attributes[f].split("|");
2648
- g = Math.min(g, y), y = Math.max(g, y), h = Math.min(h, x), x = Math.max(h, x);
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);
2649
2647
  const F = {
2650
2648
  ...t.attributes,
2651
2649
  [o]: g,
2652
2650
  [c]: y,
2653
- [l]: h,
2651
+ [l]: p,
2654
2652
  [u]: x
2655
2653
  };
2656
2654
  F[a] = at({
@@ -2659,7 +2657,7 @@ function fr(i) {
2659
2657
  valueMax: y
2660
2658
  }), F[n] = at({
2661
2659
  value: F[n],
2662
- valueMin: h,
2660
+ valueMin: p,
2663
2661
  valueMax: x
2664
2662
  }), d = [F];
2665
2663
  }
@@ -2680,20 +2678,20 @@ async function mr(i) {
2680
2678
  });
2681
2679
  return m = m?.filter((g) => {
2682
2680
  const { expr: y } = lt(g);
2683
- return Number.isFinite(g[c]) && Number.isFinite(g[l]) && (y === void 0 || g[y] !== Le.groupByOutKeyword);
2681
+ return Number.isFinite(g[c]) && Number.isFinite(g[l]) && (y === void 0 || g[y] !== Me.groupByOutKeyword);
2684
2682
  }), m ?? [];
2685
2683
  }
2686
2684
  async function gr(i) {
2687
2685
  const { queryObject: e, queryConfig: t, chartConfig: a, featureCount: n, abortKey: r } = i, s = a.series[0], { x: o, y: c } = s, l = z(e);
2688
2686
  let u = [];
2689
- const f = ((await Ne(e))?.filter((h) => We(h) && h.name !== o && h.name !== c) ?? []).map(
2690
- (h) => h.name
2687
+ const f = ((await Te(e))?.filter((p) => We(p) && p.name !== o && p.name !== c) ?? []).map(
2688
+ (p) => p.name
2691
2689
  ) ?? [], m = s?.additionalTooltipFields ?? [], g = Array.from(
2692
2690
  /* @__PURE__ */ new Set([o, c, l.objectIdField, ...f, ...m])
2693
2691
  );
2694
2692
  if (!ei(l).isTable) {
2695
- const { rendererField: h, rendererNormalizationField: x } = na(l?.renderer ?? void 0);
2696
- ee(h) || g.push(h), ee(x) || g.push(x);
2693
+ const { rendererField: p, rendererNormalizationField: x } = ra(l?.renderer ?? void 0);
2694
+ ee(p) || g.push(p), ee(x) || g.push(x);
2697
2695
  }
2698
2696
  const y = {
2699
2697
  ...t,
@@ -2746,7 +2744,7 @@ async function xi(i) {
2746
2744
  queryConfig: t,
2747
2745
  queryObject: a,
2748
2746
  abortKey: o
2749
- }), { queryNumberOfFeatures: l, yStep: u } = b.scatterplotAggregationFields, { maxScatterPointsBeforeAggregation: d } = Re(s?.chartLimits), f = c?.get(l) ?? Number.NaN, m = f >= d, g = aa(a);
2747
+ }), { queryNumberOfFeatures: l, yStep: u } = b.scatterplotAggregationFields, { maxScatterPointsBeforeAggregation: d } = Re(s?.chartLimits), f = c?.get(l) ?? Number.NaN, m = f >= d, g = na(a);
2750
2748
  m && await tr({
2751
2749
  statsMap: c,
2752
2750
  chartConfig: e,
@@ -2761,7 +2759,7 @@ async function xi(i) {
2761
2759
  numberOfFeatures: f,
2762
2760
  isAggregationMode: m,
2763
2761
  useQueryAttributeBins: g
2764
- }), h = await mr({
2762
+ }), p = await mr({
2765
2763
  queryObject: a,
2766
2764
  chartConfig: e,
2767
2765
  rawData: y,
@@ -2770,27 +2768,27 @@ async function xi(i) {
2770
2768
  useQueryAttributeBins: g
2771
2769
  });
2772
2770
  n !== !1 && Ge({
2773
- arrayToSort: h,
2771
+ arrayToSort: p,
2774
2772
  sortingField: e.series[0].x,
2775
2773
  orderBy: me.Ascending
2776
2774
  });
2777
2775
  const { r2: x, trendLinePoints: F } = r !== !1 ? await ur({
2778
- data: h,
2776
+ data: p,
2779
2777
  statsMap: c,
2780
2778
  queryConfig: t,
2781
2779
  options: s,
2782
2780
  queryObject: a,
2783
2781
  chartConfig: e
2784
2782
  }) : b.scatterplotSeries;
2785
- return { dataItems: h, r2: x, trendLinePoints: F, aggregated: m };
2783
+ return { dataItems: p, r2: x, trendLinePoints: F, aggregated: m };
2786
2784
  }
2787
2785
  function pr(i) {
2788
- const { itemsA: e, itemsB: t, isPieFromFields: a, x: n, y: r, outStatisticFieldName: s } = i;
2789
- let o = !1;
2790
- if (e === void 0 && t !== void 0 || e !== void 0 && t === void 0)
2791
- o = !0;
2786
+ const { itemsA: e, itemsB: t, isPieFromFields: a, x: n, y: r, outStatisticFieldName: s } = i, o = Fe(e), c = Fe(t);
2787
+ let l = !1;
2788
+ if (o === void 0 && c !== void 0 || o !== void 0 && c === void 0)
2789
+ l = !0;
2792
2790
  else if (!a) {
2793
- const c = [
2791
+ const u = [
2794
2792
  b.originalCategoryValue,
2795
2793
  b.originalDateValue,
2796
2794
  b.xAxisField,
@@ -2806,32 +2804,32 @@ function pr(i) {
2806
2804
  b.technicalFieldSplitByField,
2807
2805
  Y.uniqueIdsName,
2808
2806
  k.valueField,
2809
- ...sa
2810
- ], l = (m, g) => {
2811
- const y = g[b.typeOrDomainFieldName];
2812
- typeof y == "string" && g[y] !== void 0 && (g[y] = g[b.typeOrDomainIdValue]), n && g[k.xField] !== void 0 && (g[n] = g[k.xField], delete g[k.xField]), r && g[k.yField] !== void 0 && (g[r] = g[k.yField], delete g[k.yField]), s && g[k.valueField] !== void 0 && (g[s] = g[k.valueField], delete g[k.valueField]);
2813
- const h = {};
2814
- return Object.keys(g).forEach((x) => {
2815
- !c.includes(x) && !x.includes(b.rendererSymbolField) && (h[x] = g[x]);
2816
- }), m.push(h), m;
2817
- }, u = (m, g) => JSON.stringify(m).localeCompare(JSON.stringify(g)), d = e?.reduce(l, [])?.sort(u), f = t?.reduce(l, [])?.sort(u);
2818
- o = d?.length !== f?.length || !Pe(d, f);
2807
+ ...oa
2808
+ ], 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]);
2811
+ const F = {};
2812
+ return Object.keys(p).forEach((C) => {
2813
+ !u.includes(C) && !C.includes(b.rendererSymbolField) && (F[C] = p[C]);
2814
+ }), y.push(F), y;
2815
+ }, f = (y, p) => JSON.stringify(y).localeCompare(JSON.stringify(p)), m = o?.reduce(d, [])?.sort(f), g = c?.reduce(d, [])?.sort(f);
2816
+ l = m?.length !== g?.length || !Le(m, g);
2819
2817
  }
2820
- return o;
2818
+ return l;
2821
2819
  }
2822
2820
  function hr(i) {
2823
2821
  const { chartConfig: e, currentSelectionDataItems: t, options: a } = i, { selectionData: n } = a ?? {};
2824
2822
  let r = [];
2825
2823
  if (e !== void 0) {
2826
- const s = e.series, o = V(s), { selectionItems: c } = n ?? {};
2824
+ const s = e.series, o = E(s), { selectionItems: c } = n ?? {};
2827
2825
  if (c !== void 0 && pr({
2828
2826
  itemsA: c,
2829
2827
  itemsB: t,
2830
- isPieFromFields: V(e.series) === p.PieFromFields,
2828
+ isPieFromFields: E(e.series) === h.PieFromFields,
2831
2829
  x: e.series[0].x,
2832
2830
  y: "y" in e.series[0] ? e.series[0].y.toString() : void 0,
2833
2831
  outStatisticFieldName: e.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
2834
- }) ? r = c : r = t ?? [], s.length > 1 && o !== p.BarAndLineNoAggregation && o !== p.BarAndLineSplitByNoAggregation) {
2832
+ }) ? r = c : r = t ?? [], s.length > 1 && o !== h.BarAndLineNoAggregation && o !== h.BarAndLineSplitByNoAggregation) {
2835
2833
  const l = K(s[0].query?.where);
2836
2834
  r = Lt({ data: r, x: s[0].x, splitByField: l });
2837
2835
  }
@@ -2842,7 +2840,7 @@ function hr(i) {
2842
2840
  }
2843
2841
  return r ?? [];
2844
2842
  }
2845
- function Ce(i, e) {
2843
+ function Be(i, e) {
2846
2844
  let t = "";
2847
2845
  if (i.trim() !== "" && e !== void 0)
2848
2846
  if (e === null)
@@ -2865,8 +2863,8 @@ function Sr(i) {
2865
2863
  }
2866
2864
  } else
2867
2865
  r = Q([
2868
- Fe({ where: Ce(t, e[t]) }),
2869
- a !== void 0 ? Fe({ where: Ce(a, e[a]) }) : ""
2866
+ be({ where: Be(t, e[t]) }),
2867
+ a !== void 0 ? be({ where: Be(a, e[a]) }) : ""
2870
2868
  ]);
2871
2869
  return r;
2872
2870
  }
@@ -2899,29 +2897,29 @@ function vi(i) {
2899
2897
  keepNullValues: !0,
2900
2898
  specificField: b.typeOrDomainIdValue
2901
2899
  });
2902
- r === Ye.Double ? o = Bi(d, e) : (Ae(s.axes?.[0].valueFormat) && (d = Ve(d)), o = Fe({
2903
- where: Ce(e, d),
2900
+ r === Ye.Double ? o = Bi(d, e) : (Pe(s.axes?.[0].valueFormat) && (d = Ve(d)), o = be({
2901
+ where: Be(e, d),
2904
2902
  normalize: !1,
2905
2903
  escape: !0
2906
2904
  }));
2907
2905
  }
2908
- const c = Fe({ where: a ?? "", normalize: !1, escape: !0 });
2906
+ const c = be({ where: a ?? "", normalize: !1, escape: !0 });
2909
2907
  let l = "";
2910
- if (Wa(s) === !0) {
2911
- const d = V(s.series) === p.BoxPlotMultiFieldsAndCategory ? t : void 0, f = U({
2912
- key: I.Min,
2908
+ if (Qa(s) === !0) {
2909
+ const d = E(s.series) === h.BoxPlotMultiFieldsAndCategory ? t : void 0, f = U({
2910
+ key: V.Min,
2913
2911
  showOutliers: !0,
2914
2912
  splitBy: a,
2915
2913
  y: d
2916
2914
  }), m = U({
2917
- key: I.Max,
2915
+ key: V.Max,
2918
2916
  showOutliers: !0,
2919
2917
  splitBy: a,
2920
2918
  y: d
2921
2919
  }), g = e === b.boxPlot.boxPlotCategory ? n[e] : t;
2922
2920
  if (!ee(g)) {
2923
- const y = n[f], h = n[m];
2924
- Number.isFinite(y) && Number.isFinite(h) && (l = `${g?.toString()}>=${y?.toString()} AND ${g?.toString()}<=${h?.toString()}`);
2921
+ const y = n[f], p = n[m];
2922
+ Number.isFinite(y) && Number.isFinite(p) && (l = `${g?.toString()}>=${y?.toString()} AND ${g?.toString()}<=${p?.toString()}`);
2925
2923
  }
2926
2924
  }
2927
2925
  return Q([o, c, l]);
@@ -2931,27 +2929,27 @@ function Fr(i) {
2931
2929
  let s = "";
2932
2930
  if (b.dateBinningRange in a)
2933
2931
  s = Ci(e, a);
2934
- else if (V(r.series) !== p.BarAndLineFromFields) {
2932
+ else if (E(r.series) !== h.BarAndLineFromFields) {
2935
2933
  let l = ze({
2936
2934
  value: a[e],
2937
2935
  dataContext: a,
2938
2936
  keepNullValues: !0,
2939
2937
  specificField: b.typeOrDomainIdValue
2940
2938
  });
2941
- n === Ye.Double ? s = Bi(l, e) : (Ae(r.axes?.[0].valueFormat) && (l = Ve(l)), s = Fe({
2942
- where: Ce(e, l),
2939
+ n === Ye.Double ? s = Bi(l, e) : (Pe(r.axes?.[0].valueFormat) && (l = Ve(l)), s = be({
2940
+ where: Be(e, l),
2943
2941
  normalize: !1,
2944
2942
  escape: !0
2945
2943
  }));
2946
2944
  }
2947
- const o = Fe({ where: t ?? "", normalize: !1, escape: !0 });
2945
+ const o = be({ where: t ?? "", normalize: !1, escape: !0 });
2948
2946
  return Q([s, o]);
2949
2947
  }
2950
2948
  function br(i) {
2951
2949
  const { xAxisField: e, dataContext: t, chartConfig: a } = i;
2952
2950
  let n = b.typeOrDomainIdValue in t ? t[b.typeOrDomainIdValue] : t[b.originalCategoryValue];
2953
- return n === void 0 && (n = t[e]), V(a.series) === p.PieFromFields ? "" : Fe({
2954
- where: Ce(e, n),
2951
+ return n === void 0 && (n = t[e]), E(a.series) === h.PieFromFields ? "" : be({
2952
+ where: Be(e, n),
2955
2953
  normalize: !1,
2956
2954
  escape: !0
2957
2955
  });
@@ -2984,8 +2982,8 @@ function xr(i) {
2984
2982
  if (c.type === S.HeatSeries) {
2985
2983
  let u, d;
2986
2984
  const f = a[k.xField], m = a[k.yField], g = n.axes?.[0]?.valueFormat?.type, y = n.axes?.[1]?.valueFormat?.type;
2987
- g === S.CategoryAxisFormat ? u = Fe({
2988
- where: Ce(c.x, f),
2985
+ g === S.CategoryAxisFormat ? u = be({
2986
+ where: Be(c.x, f),
2989
2987
  normalize: !1,
2990
2988
  escape: !0
2991
2989
  }) : u = Qt({
@@ -2996,8 +2994,8 @@ function xr(i) {
2996
2994
  outTimeZone: r,
2997
2995
  dataTimeZone: s,
2998
2996
  runsOnClientQueryEngine: o
2999
- }), y === S.CategoryAxisFormat ? d = Fe({
3000
- where: Ce(c.y, m),
2997
+ }), y === S.CategoryAxisFormat ? d = be({
2998
+ where: Be(c.y, m),
3001
2999
  normalize: !1,
3002
3000
  escape: !0
3003
3001
  }) : d = Qt({
@@ -3014,7 +3012,7 @@ function Cr(i) {
3014
3012
  let n = "";
3015
3013
  const r = a.series[0], { minValue: s, maxValue: o } = t;
3016
3014
  if (Number.isFinite(s) && Number.isFinite(o) && r.type === S.HistogramSeries) {
3017
- const c = Ka(e, r.dataTransformationType), l = t.isLastBin ? "<=" : "<";
3015
+ const c = Ja(e, r.dataTransformationType), l = t.isLastBin ? "<=" : "<";
3018
3016
  n = Q([
3019
3017
  `${c}>=${s?.toString()}`,
3020
3018
  `${c}${l}${o?.toString()}`
@@ -3053,7 +3051,7 @@ function Xo(i) {
3053
3051
  async function Br(i) {
3054
3052
  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();
3055
3053
  for (let g = 0; g < e; g += 1) {
3056
- const y = g * f, h = (g + 1) * f - 1, x = t.slice(y === 0 ? 0 : y - 1, h), F = { ...n };
3054
+ const y = g * f, p = (g + 1) * f - 1, x = t.slice(y === 0 ? 0 : y - 1, p), F = { ...n };
3057
3055
  switch (F.objectIds = x, u) {
3058
3056
  case S.HeatSeries:
3059
3057
  d.push(
@@ -3073,7 +3071,7 @@ async function Br(i) {
3073
3071
  case S.LineSeries:
3074
3072
  case S.RadarSeries:
3075
3073
  case S.ComboLineAndBarSeries:
3076
- if (ve({
3074
+ if (Ne({
3077
3075
  xAxisValueFormatType: pe(a),
3078
3076
  setTimeBinningInfoWhenNotProvided: c,
3079
3077
  seriesConfig: l[0]
@@ -3138,7 +3136,7 @@ async function Br(i) {
3138
3136
  return await Promise.all(d);
3139
3137
  }
3140
3138
  function vr(i) {
3141
- const { dataFetchingResults: e, numberOfQueries: t, series: a } = i, n = W(a), r = V(a);
3139
+ const { dataFetchingResults: e, numberOfQueries: t, series: a } = i, n = W(a), r = E(a);
3142
3140
  let s = [];
3143
3141
  const o = /* @__PURE__ */ new Map();
3144
3142
  for (let c = 0; c < t; c += 1) {
@@ -3167,11 +3165,11 @@ function vr(i) {
3167
3165
  [f]: m[f]
3168
3166
  }))
3169
3167
  );
3170
- } else l.valid && (r === p.PieFromFields ? s = st({
3168
+ } else l.valid && (r === h.PieFromFields ? s = st({
3171
3169
  dataToConvert: u[0],
3172
3170
  x: ne,
3173
3171
  y: he
3174
- }) : r === p.BarAndLineFromFields ? s = st({
3172
+ }) : r === h.BarAndLineFromFields ? s = st({
3175
3173
  dataToConvert: u[0],
3176
3174
  x: a[0].x,
3177
3175
  y: a[0].y
@@ -3191,12 +3189,12 @@ async function Nr(i) {
3191
3189
  options: o,
3192
3190
  errorStrings: c
3193
3191
  } = i, { series: l } = e, { selectionData: u, viewExtentUpdated: d, returnSelectionOIDs: f, chartLimits: m } = o ?? {}, { selectionItems: g, selectionOIDs: y } = u ?? {};
3194
- let h;
3192
+ let p;
3195
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]);
3196
- if (d !== !0 && f !== !1 && y !== void 0 && y.length > 0 && (r === !0 || F || y.length !== n?.length || !Pe(y, n))) {
3194
+ if (d !== !0 && f !== !1 && y !== void 0 && y.length > 0 && (r === !0 || F || y.length !== n?.length || !Le(y, n))) {
3197
3195
  const B = _t(a);
3198
- if (B !== void 0 && !Ya({ dataContext: B[0], chartConfig: e, chartLimits: m }))
3199
- h = B.filter((N) => {
3196
+ if (B !== void 0 && !Ka({ dataContext: B[0], chartConfig: e, chartLimits: m }))
3197
+ p = B.filter((N) => {
3200
3198
  const v = N[Y.uniqueIdsName];
3201
3199
  return typeof v == "number" ? y?.includes(v) : !1;
3202
3200
  });
@@ -3210,20 +3208,20 @@ async function Nr(i) {
3210
3208
  errorStrings: c,
3211
3209
  chartConfig: e
3212
3210
  });
3213
- h = vr({
3211
+ p = vr({
3214
3212
  dataFetchingResults: T,
3215
3213
  numberOfQueries: v,
3216
3214
  series: l
3217
3215
  });
3218
3216
  }
3219
3217
  }
3220
- return h;
3218
+ return p;
3221
3219
  }
3222
3220
  function* Tr(i) {
3223
3221
  const { filterList: e, queryObject: t, queryConfig: a } = i;
3224
3222
  for (let n = 0; n < e.length; n += 1) {
3225
3223
  const r = { ...a };
3226
- r.where = Q([r.where, e[n]]), yield oa({
3224
+ r.where = Q([r.where, e[n]]), yield la({
3227
3225
  queryObject: t,
3228
3226
  queryConfig: r,
3229
3227
  uniqueFeature: !0
@@ -3250,54 +3248,56 @@ async function Zo(i) {
3250
3248
  return r;
3251
3249
  }
3252
3250
  async function Ar(i) {
3253
- const { queryObject: e, queryConfig: t, chartConfig: a, currentSelectionDataItems: n, options: r, errorStrings: s, abortKey: o } = i, c = V(a.series);
3251
+ const { queryObject: e, queryConfig: t, chartConfig: a, currentSelectionDataItems: n, options: r, errorStrings: s, abortKey: o } = i, c = E(a.series);
3254
3252
  let l = { valid: !0, data: { dataItems: [] } };
3255
3253
  if (n !== void 0 && n.length > 0) {
3256
- const u = Me(a), { x: d } = u, f = "y" in u ? u.y : "";
3254
+ const u = we(a), { x: d } = u, f = "y" in u ? u.y : "";
3257
3255
  let m;
3258
- e !== void 0 && (m = (await Ne(e)).find((B) => B.name === d)?.type);
3256
+ e !== void 0 && (m = (await Te(e)).find((B) => B.name === d)?.type);
3259
3257
  const g = [], y = n.reduce(
3260
3258
  (C, B) => {
3261
- let N = "";
3259
+ const N = [];
3262
3260
  if (Y.uniqueIdsName in B)
3263
3261
  g.push(B[Y.uniqueIdsName]);
3264
3262
  else {
3265
3263
  switch (c) {
3266
- case p.BoxPlotMonoFieldAndSplitBy:
3267
- case p.BoxPlotMultiFieldsAndSplitBy:
3268
- case p.BoxPlotMonoFieldAndCategoryAndSplitBy: {
3269
- N = u.query?.where ?? "";
3270
- const M = K(N);
3271
- let w = "";
3272
- const E = `_${I.Average}`;
3273
- Object.keys(B).forEach((L) => {
3274
- L.includes(E) && (w = L.replace(E, ""));
3275
- }), w.trim() !== "" && (N = Ce(M, w));
3264
+ case h.BoxPlotMonoFieldAndSplitBy:
3265
+ case h.BoxPlotMultiFieldsAndSplitBy:
3266
+ case h.BoxPlotMonoFieldAndCategoryAndSplitBy: {
3267
+ const w = K(u.query?.where ?? ""), L = `_${V.Average}`;
3268
+ Object.keys(B).forEach((D) => {
3269
+ if (D.includes(L)) {
3270
+ const R = D.replace(L, "");
3271
+ R.trim() !== "" && N.push(Be(w, R));
3272
+ }
3273
+ });
3276
3274
  break;
3277
3275
  }
3278
3276
  }
3279
3277
  const v = [f].flat();
3280
3278
  let T = v.length === 1 ? v[0] : "";
3281
- if (c === p.BoxPlotMultiFieldsAndCategory) {
3282
- const M = `_${I.FirstQuartile}`, w = Object.keys(B).find((E) => E.includes(M));
3283
- w !== void 0 && (T = w.replace(M, ""));
3279
+ if (c === h.BoxPlotMultiFieldsAndCategory) {
3280
+ const w = `_${V.FirstQuartile}`, L = Object.keys(B).find((D) => D.includes(w));
3281
+ L !== void 0 && (T = L.replace(w, ""));
3284
3282
  }
3285
- const D = vi({
3286
- chartConfig: a,
3287
- xAxisField: d,
3288
- yAxisField: T,
3289
- splitBy: N,
3290
- dataContext: B,
3291
- xAxisFieldType: m
3283
+ N.length === 0 && N.push(""), N.forEach((w) => {
3284
+ const L = vi({
3285
+ chartConfig: a,
3286
+ xAxisField: d,
3287
+ yAxisField: T,
3288
+ splitBy: w,
3289
+ dataContext: B,
3290
+ xAxisFieldType: m
3291
+ });
3292
+ C.push(L);
3292
3293
  });
3293
- C.push(D);
3294
3294
  }
3295
3295
  return C;
3296
3296
  },
3297
3297
  []
3298
- ), h = z(e);
3299
- if (h !== void 0 && g.length > 0) {
3300
- const { objectIdField: C } = h;
3298
+ ), p = z(e);
3299
+ if (p !== void 0 && g.length > 0) {
3300
+ const { objectIdField: C } = p;
3301
3301
  y.push(`${C} IN (${g.join(",")})`);
3302
3302
  }
3303
3303
  const x = y.join(" OR "), F = { ...t };
@@ -3341,10 +3341,10 @@ async function Pr(i) {
3341
3341
  m.data = { dataItems: g };
3342
3342
  break;
3343
3343
  case S.PieSeries:
3344
- if (V(a.series) === p.PieFromFields) {
3345
- const { x: h, y: x } = a.series[0], F = Ie(g);
3344
+ if (E(a.series) === h.PieFromFields) {
3345
+ const { x: p, y: x } = a.series[0], F = Fe(g);
3346
3346
  F.forEach((C) => {
3347
- h in C && (C[ne] = C[h], delete C[h]), x in C && (C[he] = C[x], delete C[x]);
3347
+ p in C && (C[ne] = C[p], delete C[p]), x in C && (C[he] = C[x], delete C[x]);
3348
3348
  }), m.data = { dataItems: F };
3349
3349
  } else
3350
3350
  m.data = { dataItems: g };
@@ -3357,23 +3357,23 @@ async function Pr(i) {
3357
3357
  case S.ComboLineAndBarSeries:
3358
3358
  case S.RadarSeries:
3359
3359
  case S.LineSeries:
3360
- if (g.length === 0 || !ve({
3360
+ if (g.length === 0 || !Ne({
3361
3361
  xAxisValueFormatType: f,
3362
3362
  setTimeBinningInfoWhenNotProvided: o?.setTimeBinningInfoWhenNotProvided,
3363
3363
  seriesConfig: u[0]
3364
3364
  }))
3365
3365
  m.data = { dataItems: g }, m.count = g.length * u.length, y = !0;
3366
3366
  else {
3367
- const h = { ...t };
3367
+ const p = { ...t };
3368
3368
  if (n !== void 0 && n.length > 0) {
3369
3369
  const F = n.map(
3370
3370
  (B) => Ci(u[0].x, B)
3371
3371
  ), C = Q(F, "OR");
3372
- h.where = Q([h.where, C]);
3372
+ p.where = Q([p.where, C]);
3373
3373
  }
3374
3374
  m = await wt({
3375
3375
  queryObject: e,
3376
- queryConfig: h,
3376
+ queryConfig: p,
3377
3377
  chartConfig: a,
3378
3378
  options: o
3379
3379
  });
@@ -3390,9 +3390,9 @@ async function Pr(i) {
3390
3390
  bins: []
3391
3391
  }, m.count = 0;
3392
3392
  else {
3393
- const { x: h } = u[0], x = g.map((B, N) => {
3394
- const { minValue: v, maxValue: T } = B, D = N === g.length - 1 ? "<=" : "<";
3395
- return `${h} >= ${v} AND ${h} ${D} ${T}`;
3393
+ const { x: p } = u[0], x = g.map((B, N) => {
3394
+ const { minValue: v, maxValue: T } = B, w = N === g.length - 1 ? "<=" : "<";
3395
+ return `${p} >= ${v} AND ${p} ${w} ${T}`;
3396
3396
  }), F = Q(x, "OR"), C = { ...t };
3397
3397
  C.where = Q([C.where, F]), m = await Fi({
3398
3398
  queryObject: e,
@@ -3407,14 +3407,14 @@ async function Pr(i) {
3407
3407
  }
3408
3408
  case S.ScatterSeries: {
3409
3409
  if (g.length === 0) {
3410
- const { r2: h, trendLinePoints: x } = b.scatterplotSeries;
3411
- m.data = { dataItems: [], r2: h, trendLinePoints: x, count: 0 }, m.count = 0;
3410
+ const { r2: p, trendLinePoints: x } = b.scatterplotSeries;
3411
+ m.data = { dataItems: [], r2: p, trendLinePoints: x, count: 0 }, m.count = 0;
3412
3412
  } else {
3413
- const { r2: h, trendLinePoints: x } = bi({
3413
+ const { r2: p, trendLinePoints: x } = bi({
3414
3414
  data: g,
3415
3415
  chartConfig: a
3416
3416
  });
3417
- m.data = { dataItems: g, r2: h, trendLinePoints: x }, m.count = g.length;
3417
+ m.data = { dataItems: g, r2: p, trendLinePoints: x }, m.count = g.length;
3418
3418
  }
3419
3419
  break;
3420
3420
  }
@@ -3478,7 +3478,7 @@ async function Lr(i) {
3478
3478
  abortKey: o,
3479
3479
  fieldList: c
3480
3480
  };
3481
- ve({
3481
+ Ne({
3482
3482
  xAxisValueFormatType: pe(t),
3483
3483
  setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
3484
3484
  seriesConfig: l[0]
@@ -3537,7 +3537,7 @@ async function el(i) {
3537
3537
  runtimeDataFilters: c?.runtimeDataFilters,
3538
3538
  ignoreViewExtent: c?.ignoreViewExtent
3539
3539
  });
3540
- return la(a), d = await Lr({
3540
+ return ca(a), d = await Lr({
3541
3541
  chartConfig: t,
3542
3542
  queryObject: e,
3543
3543
  queryConfig: f,
@@ -3564,8 +3564,8 @@ function Mr(i, e, t) {
3564
3564
  async function wr(i) {
3565
3565
  const { seriesData: e, chartConfig: t, queryConfig: a, queryObject: n, categoryOrDateCount: r, behaviorAfterLimit: s, abortKey: o } = i, { series: c } = t;
3566
3566
  let l = e;
3567
- const u = V(c), d = pe(t);
3568
- if (s !== $e.RenderUpToTheLimit && n !== void 0 && r !== void 0 && r > e.length && u !== p.BarAndLineFromFields && u !== p.BarAndLineNoAggregation && u !== p.PieNoAggregation && d === S.CategoryAxisFormat) {
3567
+ const u = E(c), d = pe(t);
3568
+ if (s !== $e.RenderUpToTheLimit && n !== void 0 && r !== void 0 && r > e.length && u !== h.BarAndLineFromFields && u !== h.BarAndLineNoAggregation && u !== h.PieNoAggregation && d === S.CategoryAxisFormat) {
3569
3569
  const { x: f } = c[0], m = {
3570
3570
  ...a,
3571
3571
  returnDistinctValues: !0,
@@ -3577,7 +3577,7 @@ async function wr(i) {
3577
3577
  queryConfig: m,
3578
3578
  featureCount: r,
3579
3579
  abortKey: o
3580
- })).map((h) => h.attributes[f]).filter((h) => h != null);
3580
+ })).map((p) => p.attributes[f]).filter((p) => p != null);
3581
3581
  y.length > e.length && (l = Mr(y, e, f));
3582
3582
  }
3583
3583
  return l;
@@ -3598,19 +3598,19 @@ function Dr(i, e) {
3598
3598
  return t;
3599
3599
  }
3600
3600
  const Ni = [
3601
- p.BarAndLineMonoField,
3602
- p.BarAndLineMultiFields,
3603
- p.PieNoAggregation,
3604
- p.PieFromCategory,
3605
- p.BoxPlotMonoFieldAndCategory,
3606
- p.BoxPlotMultiFieldsAndCategory,
3607
- p.BoxPlotMonoFieldAndCategoryAndSplitBy
3601
+ h.BarAndLineMonoField,
3602
+ h.BarAndLineMultiFields,
3603
+ h.PieNoAggregation,
3604
+ h.PieFromCategory,
3605
+ h.BoxPlotMonoFieldAndCategory,
3606
+ h.BoxPlotMultiFieldsAndCategory,
3607
+ h.BoxPlotMonoFieldAndCategoryAndSplitBy
3608
3608
  ], Or = 8e3;
3609
3609
  function Ti(i, e) {
3610
3610
  let t = i;
3611
3611
  return e === j.Week ? t /= 7 : e === j.Month ? t /= 30 : e === j.Year && (t /= 365), t = Math.ceil(t), t;
3612
3612
  }
3613
- function Be(i) {
3613
+ function ve(i) {
3614
3614
  const { date: e, unit: t, nextOrPrevious: a, size: n } = i;
3615
3615
  if (n !== void 0 && Number.isFinite(n)) {
3616
3616
  const r = a === "next" ? n : -n;
@@ -3635,7 +3635,7 @@ function Be(i) {
3635
3635
  function qr(i) {
3636
3636
  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
3637
  let l = e;
3638
- const u = Be({
3638
+ const u = ve({
3639
3639
  date: c,
3640
3640
  unit: r,
3641
3641
  size: o,
@@ -3647,7 +3647,7 @@ function qr(i) {
3647
3647
  const f = l + 1 >= t.length;
3648
3648
  let m = l;
3649
3649
  f && t[m] !== void 0 && (m += 1);
3650
- const g = f ? Be({
3650
+ const g = f ? ve({
3651
3651
  date: c,
3652
3652
  unit: r,
3653
3653
  size: o,
@@ -3662,10 +3662,10 @@ function qr(i) {
3662
3662
  sliceEndIndex: m
3663
3663
  };
3664
3664
  }
3665
- function Vr(i) {
3665
+ function Er(i) {
3666
3666
  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
3667
  let l = e;
3668
- const u = Be({
3668
+ const u = ve({
3669
3669
  date: c,
3670
3670
  unit: r,
3671
3671
  size: o,
@@ -3677,7 +3677,7 @@ function Vr(i) {
3677
3677
  const f = l - 1 <= 0;
3678
3678
  let m = e;
3679
3679
  return f && t[m] !== void 0 && (m -= 1), f && (l = 0), {
3680
- binStartDate: f ? Be({
3680
+ binStartDate: f ? ve({
3681
3681
  date: c,
3682
3682
  unit: r,
3683
3683
  size: o,
@@ -3690,7 +3690,7 @@ function Vr(i) {
3690
3690
  last: f
3691
3691
  };
3692
3692
  }
3693
- function Er(i) {
3693
+ function Vr(i) {
3694
3694
  const { binsToRegroup: e, statisticType: t, y: a, nullPolicy: n } = i;
3695
3695
  let r;
3696
3696
  n !== re.Interpolate && (r = n === re.Zero ? 0 : null);
@@ -3721,44 +3721,44 @@ function Ir(i) {
3721
3721
  let d, f;
3722
3722
  if (oe(l) && (f = l.temporalBinning?.nullPolicy, d = l.temporalBinning?.timeAggregationType), c > 1 || o === j.Week || o === j.Month || o === j.Year) {
3723
3723
  const { query: m } = t[0], g = se(t), { statisticType: y } = m?.outStatistics?.[0] ?? zt;
3724
- let h = !1, x = d === G.End ? e.length - 1 : 0;
3724
+ let p = !1, x = d === G.End ? e.length - 1 : 0;
3725
3725
  const F = {
3726
3726
  binFirstOrLastIndex: x,
3727
3727
  data: e,
3728
3728
  x: u,
3729
3729
  timeIntervalInfo: a
3730
3730
  };
3731
- for (; !h; ) {
3731
+ for (; !p; ) {
3732
3732
  let C = {};
3733
- const { binStartDate: B, binEndDate: N, last: v, nextBinFirstOrLastIndex: T, sliceStartIndex: D, sliceEndIndex: M } = d === G.End ? (
3733
+ const { binStartDate: B, binEndDate: N, last: v, nextBinFirstOrLastIndex: T, sliceStartIndex: w, sliceEndIndex: L } = d === G.End ? (
3734
3734
  // When grouping from the end we'll start from the last date and move backward to create the bins
3735
- Vr(F)
3735
+ Er(F)
3736
3736
  ) : (
3737
3737
  // When grouping from the start we'll start from the first date and move forward to create the bins
3738
3738
  qr(F)
3739
3739
  );
3740
- if (h = v, C = d === G.End ? C = e[M - 1] : C = e[x], N > r && B < r || B < n && N > n || B >= n && N <= r) {
3741
- const w = e.slice(D, M).filter((q) => !(b.dateBinModel in q));
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) {
3741
+ const D = e.slice(w, L).filter((q) => !(b.dateBinModel in q));
3742
3742
  g.forEach((q) => {
3743
- C[q] = Er({ binsToRegroup: w, statisticType: y, y: q, nullPolicy: f });
3743
+ C[q] = Vr({ binsToRegroup: D, statisticType: y, y: q, nullPolicy: f });
3744
3744
  });
3745
- const E = w.map((q) => q[xe]).filter((q) => q !== void 0), L = Qa(E);
3746
- L !== void 0 && (C[xe] = L), C[u] = B, C[b.xAxisField] = B, C[b.dateBinningRange] = [B, N], delete C[b.dateBinModel], s.push(C);
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);
3747
3747
  } else v && d !== G.End && s.length > 0 && (s[s.length - 1][b.dateBinningRange][1] = s[s.length - 1][b.dateBinningRange][1] + 1);
3748
3748
  x = T, F.binFirstOrLastIndex = T;
3749
3749
  }
3750
3750
  d === G.End && (s = s.reverse());
3751
3751
  } else c === 1 ? s = e.map((m, g) => {
3752
3752
  const y = m[u];
3753
- let h = e[g + 1]?.[u];
3754
- return h = typeof h == "number" ? h - 1 : Be({
3753
+ let p = e[g + 1]?.[u];
3754
+ return p = typeof p == "number" ? p - 1 : ve({
3755
3755
  date: y,
3756
3756
  unit: o,
3757
3757
  size: c,
3758
3758
  nextOrPrevious: "next"
3759
3759
  }), {
3760
3760
  ...m,
3761
- [b.dateBinningRange]: [y, h]
3761
+ [b.dateBinningRange]: [y, p]
3762
3762
  };
3763
3763
  }) : s = e;
3764
3764
  return s;
@@ -3818,31 +3818,31 @@ function $r(i) {
3818
3818
  c === j.Week && (g *= 7);
3819
3819
  const y = Pi(r);
3820
3820
  if (u === G.End) {
3821
- let h = n[0][l];
3821
+ let p = n[0][l];
3822
3822
  for (let x = 0; x < g; x += 1)
3823
- h = Be({
3824
- date: h,
3823
+ p = ve({
3824
+ date: p,
3825
3825
  unit: c,
3826
3826
  size: 1,
3827
3827
  nextOrPrevious: "previous"
3828
3828
  }), n.push({
3829
3829
  ...y,
3830
- [l]: h,
3831
- [b.xAxisField]: h
3830
+ [l]: p,
3831
+ [b.xAxisField]: p
3832
3832
  });
3833
3833
  g > 0 && (d = n[n.length - 1][l]);
3834
3834
  } else {
3835
- let h = n[n.length - 1][l];
3835
+ let p = n[n.length - 1][l];
3836
3836
  for (let x = 0; x < g; x += 1)
3837
- h = Be({
3838
- date: h,
3837
+ p = ve({
3838
+ date: p,
3839
3839
  unit: c,
3840
3840
  size: 1,
3841
3841
  nextOrPrevious: "next"
3842
3842
  }), n.push({
3843
3843
  ...y,
3844
- [l]: h,
3845
- [b.xAxisField]: h
3844
+ [l]: p,
3845
+ [b.xAxisField]: p
3846
3846
  });
3847
3847
  f = n[n.length - 1][l];
3848
3848
  }
@@ -3899,13 +3899,13 @@ function jr(i) {
3899
3899
  unit: c
3900
3900
  })) {
3901
3901
  const { x: d } = a[0], f = a[0].temporalBinning?.timeAggregationType, m = Pi(a);
3902
- let y = f === G.End ? t : e, h = f === G.End ? n.length - 1 : 0;
3903
- for (; h < n.length && (f === G.End && y > e || f !== G.End && y < t); )
3904
- y !== n[h][d] ? l.push({
3902
+ let y = f === G.End ? t : e, p = f === G.End ? n.length - 1 : 0;
3903
+ for (; p < n.length && (f === G.End && y > e || f !== G.End && y < t); )
3904
+ y !== n[p][d] ? l.push({
3905
3905
  ...m,
3906
3906
  [d]: y,
3907
3907
  [b.xAxisField]: y
3908
- }) : h = f === G.End ? h - 1 : h + 1, y = Be({
3908
+ }) : p = f === G.End ? p - 1 : p + 1, y = ve({
3909
3909
  date: y,
3910
3910
  unit: c === j.Month || c === j.Year ? j.Day : c,
3911
3911
  size: 1,
@@ -3933,8 +3933,8 @@ function Wr(i) {
3933
3933
  }
3934
3934
  function Qr(i) {
3935
3935
  const { groupByFieldsForStatistics: e, dateField: t, queryStartDate: a, queryEndDate: n, y: r, binIndex: s, lastBin: o } = i;
3936
- let c = e === "" ? Le.groupByCaseBegin : e;
3937
- return c = de(ua, {
3936
+ let c = e === "" ? Me.groupByCaseBegin : e;
3937
+ return c = de(da, {
3938
3938
  groupByFieldsForStatistics: c,
3939
3939
  dateField: t,
3940
3940
  startDate: `${a}`,
@@ -3956,9 +3956,9 @@ function* Hr(i) {
3956
3956
  statisticParameters: { value: 0.5 }
3957
3957
  }
3958
3958
  ];
3959
- let f = Le.groupByCaseBegin;
3959
+ let f = Me.groupByCaseBegin;
3960
3960
  for (let g = 0; g < n.length; g += 1) {
3961
- const y = n[g], [h, x] = y[b.dateBinningRange], F = Ve(h), C = Ve(x);
3961
+ const y = n[g], [p, x] = y[b.dateBinningRange], F = Ve(p), C = Ve(x);
3962
3962
  f = Qr({
3963
3963
  groupByFieldsForStatistics: f,
3964
3964
  queryStartDate: F,
@@ -3969,7 +3969,7 @@ function* Hr(i) {
3969
3969
  lastBin: g === n.length - 1
3970
3970
  });
3971
3971
  }
3972
- f = `${f} ${Le.groupByCaseEnd}`;
3972
+ f = `${f} ${Me.groupByCaseEnd}`;
3973
3973
  const m = {
3974
3974
  ...a,
3975
3975
  groupByFieldsForStatistics: [f],
@@ -4009,53 +4009,53 @@ async function zr(i) {
4009
4009
  return r;
4010
4010
  }
4011
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 = ca(r), d = (await Ne(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, h = "temporalBinning" in m ? m.temporalBinning?.timeAggregationType : !1;
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
4013
  return t.forEach((x, F) => {
4014
- if (!(y && (F === 0 && h === G.End || F === t.length - 1 && h === G.Start))) {
4014
+ if (!(y && (F === 0 && p === G.End || F === t.length - 1 && p === G.Start))) {
4015
4015
  const { attributes: B, stackedAttributes: N } = x;
4016
4016
  let v = B[l.lowerBoundaryAlias], T = B[l.upperBoundaryAlias];
4017
- const D = v, M = T, w = (L, q) => {
4018
- let A = L;
4019
- if (q === Ye.DateOnly && (typeof L == "string" && L.length === 10 || typeof L == "number"))
4020
- if (typeof L == "string") {
4021
- const O = L.split("-");
4017
+ const w = v, L = T, D = (M, q) => {
4018
+ let A = M;
4019
+ if (q === Ye.DateOnly && (typeof M == "string" && M.length === 10 || typeof M == "number"))
4020
+ if (typeof M == "string") {
4021
+ const O = M.split("-");
4022
4022
  O.length === 3 && (A = ae.local(Number(O[0]), Number(O[1]), Number(O[2])).valueOf());
4023
4023
  } else
4024
- A = new Date(L), A = new Date(A.valueOf() + A.getTimezoneOffset() * 6e4), A = ae.local(A.getFullYear(), A.getMonth() + 1, A.getDate()).valueOf();
4025
- else typeof L == "string" && ["+", "-"].forEach((O) => {
4026
- O && L.lastIndexOf(O) === L.length - 6 && (A = new Date(L.slice(0, L.lastIndexOf(O))).valueOf());
4024
+ A = new Date(M), A = new Date(A.valueOf() + A.getTimezoneOffset() * 6e4), A = ae.local(A.getFullYear(), A.getMonth() + 1, A.getDate()).valueOf();
4025
+ else typeof M == "string" && ["+", "-"].forEach((O) => {
4026
+ O && M.lastIndexOf(O) === M.length - 6 && (A = new Date(M.slice(0, M.lastIndexOf(O))).valueOf());
4027
4027
  });
4028
4028
  return A;
4029
4029
  };
4030
- v = w(v, d), T = w(T, d);
4031
- const E = (L, q) => {
4030
+ v = D(v, d), T = D(T, d);
4031
+ const R = (M, q) => {
4032
4032
  if (q)
4033
4033
  switch (!0) {
4034
- case (o === re.Zero && (L[q] === void 0 || L[q] === null)):
4035
- L[q] = 0;
4034
+ case (o === re.Zero && (M[q] === void 0 || M[q] === null)):
4035
+ M[q] = 0;
4036
4036
  break;
4037
- case (o === re.Null && L[q] === 0 && g === P.Count):
4038
- L[q] = null;
4037
+ case (o === re.Null && M[q] === 0 && g === P.Count):
4038
+ M[q] = null;
4039
4039
  break;
4040
- case (o === re.Interpolate && (L[q] === 0 || L[q] === void 0 || L[q] === null)):
4041
- delete L[q];
4040
+ case (o === re.Interpolate && (M[q] === 0 || M[q] === void 0 || M[q] === null)):
4041
+ delete M[q];
4042
4042
  break;
4043
4043
  }
4044
4044
  };
4045
4045
  if (typeof v == "number" && typeof T == "number") {
4046
- const L = { ...B };
4047
- L[b.originalServerBinningRange] = [D, M], L[r] = v, L[b.xAxisField] = v, L[b.dateBinningRange] = [v, T], delete L[l.lowerBoundaryAlias], delete L[l.upperBoundaryAlias], N && n && !ee(n) && a ? N.forEach((O) => {
4046
+ const M = { ...B };
4047
+ M[b.originalServerBinningRange] = [w, L], M[r] = v, M[b.xAxisField] = v, M[b.dateBinningRange] = [v, T], delete M[l.lowerBoundaryAlias], delete M[l.upperBoundaryAlias], N && n && !ee(n) && a ? N.forEach((O) => {
4048
4048
  const H = O[n];
4049
4049
  if (H === null || typeof H == "string" || typeof H == "number") {
4050
4050
  const X = a?.get(H);
4051
- X !== void 0 && (L[X] = O[Y.outStatistics?.outStatisticFieldName ?? ""], E(L, X));
4051
+ X !== void 0 && (M[X] = O[Y.outStatistics?.outStatisticFieldName ?? ""], R(M, X));
4052
4052
  }
4053
- }) : E(L, s);
4053
+ }) : R(M, s);
4054
4054
  const { featureExtent: q, featureExtentKey: A } = Li({
4055
4055
  feature: x,
4056
4056
  splitByField: n
4057
4057
  });
4058
- q && (L[A] = q), f.push(L);
4058
+ q && (M[A] = q), f.push(M);
4059
4059
  }
4060
4060
  }
4061
4061
  }), f;
@@ -4121,8 +4121,8 @@ function Yr(i) {
4121
4121
  ({ unit: a } = u);
4122
4122
  const m = c / d, g = f.findIndex(
4123
4123
  (x) => x >= m
4124
- ), y = f[g], h = g === 0 ? f[0] : f[g - 1];
4125
- n = y - m < m - h ? y : h;
4124
+ ), y = f[g], p = g === 0 ? f[0] : f[g - 1];
4125
+ n = y - m < m - p ? y : p;
4126
4126
  }
4127
4127
  return { size: n, unit: a };
4128
4128
  }
@@ -4155,8 +4155,8 @@ function Li(i) {
4155
4155
  let n;
4156
4156
  e.aggregateGeometries && "Extent" in e.aggregateGeometries ? n = e.aggregateGeometries.Extent : { extent: n } = e.aggregateGeometries ?? e.geometry ?? {};
4157
4157
  const r = n?.toJSON();
4158
- let s = xe;
4159
- return r !== void 0 && t !== void 0 && a !== void 0 && a === p.BarAndLineSplitBy && (s = e.attributes[t] !== void 0 ? `${xe}_${e.attributes[t]}` : xe), { featureExtent: r, featureExtentKey: s };
4158
+ let s = Ce;
4159
+ 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
4160
  }
4161
4161
  function Xr(i) {
4162
4162
  const { input: e, x: t, splitByField: a } = i;
@@ -4195,8 +4195,8 @@ function Zr(i, e) {
4195
4195
  function es(i, e) {
4196
4196
  const t = e, a = se(i), n = a.length === 1;
4197
4197
  return a.forEach((r) => {
4198
- const s = je(n ? void 0 : r), o = t[s[I.FirstQuartile]], c = t[s[I.ThirdQuartile]];
4199
- Number.isFinite(o) && Number.isFinite(c) && c >= o && (t[s[I.IQR]] = c - o);
4198
+ const s = je(n ? void 0 : r), o = t[s[V.FirstQuartile]], c = t[s[V.ThirdQuartile]];
4199
+ Number.isFinite(o) && Number.isFinite(c) && c >= o && (t[s[V.IQR]] = c - o);
4200
4200
  }), t;
4201
4201
  }
4202
4202
  function ts(i, e) {
@@ -4249,43 +4249,43 @@ function rs(i, e) {
4249
4249
  function ss(i, e) {
4250
4250
  let t = 1;
4251
4251
  switch (i) {
4252
- case p.BarAndLineFromFields:
4253
- case p.PieFromFields:
4252
+ case h.BarAndLineFromFields:
4253
+ case h.PieFromFields:
4254
4254
  t = e.series[0].query?.outStatistics?.length ?? 1;
4255
4255
  break;
4256
- case p.BoxPlotMultiFields:
4257
- case p.BoxPlotMultiFieldsAndSplitBy:
4256
+ case h.BoxPlotMultiFields:
4257
+ case h.BoxPlotMultiFieldsAndSplitBy:
4258
4258
  t = e.series[0].y.length;
4259
4259
  break;
4260
- case p.BarAndLineNoAggregation:
4261
- case p.BoxPlotMonoField:
4262
- case p.BoxPlotMonoFieldAndCategory:
4263
- case p.BoxPlotMultiFieldsAndCategory:
4264
- case p.BoxPlotMonoFieldAndSplitBy:
4265
- case p.BoxPlotMonoFieldAndCategoryAndSplitBy:
4266
- case p.PieFromCategory:
4267
- case p.BarAndLineSplitByNoAggregation:
4268
- case p.PieNoAggregation:
4269
- case p.BarAndLineSplitBy:
4270
- case p.BarAndLineMonoField:
4271
- case p.BarAndLineMultiFields:
4272
- case p.NonSpecific:
4260
+ case h.BarAndLineNoAggregation:
4261
+ case h.BoxPlotMonoField:
4262
+ case h.BoxPlotMonoFieldAndCategory:
4263
+ case h.BoxPlotMultiFieldsAndCategory:
4264
+ case h.BoxPlotMonoFieldAndSplitBy:
4265
+ case h.BoxPlotMonoFieldAndCategoryAndSplitBy:
4266
+ case h.PieFromCategory:
4267
+ case h.BarAndLineSplitByNoAggregation:
4268
+ case h.PieNoAggregation:
4269
+ case h.BarAndLineSplitBy:
4270
+ case h.BarAndLineMonoField:
4271
+ case h.BarAndLineMultiFields:
4272
+ case h.NonSpecific:
4273
4273
  }
4274
4274
  return t;
4275
4275
  }
4276
4276
  function os(i) {
4277
4277
  const { attributes: e, showMean: t, chartSubType: a } = i;
4278
- t && (a === p.BoxPlotMonoFieldAndSplitBy || a === p.BoxPlotMultiFieldsAndSplitBy || a === p.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[b.boxPlot.boxPlotMeanLineMarkerId] = !0);
4278
+ t && (a === h.BoxPlotMonoFieldAndSplitBy || a === h.BoxPlotMultiFieldsAndSplitBy || a === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[b.boxPlot.boxPlotMeanLineMarkerId] = !0);
4279
4279
  }
4280
4280
  function ls(i) {
4281
- const { queryResponse: e, chartConfig: t, maxCategoryCount: a } = i, n = V(t.series);
4281
+ const { queryResponse: e, chartConfig: t, maxCategoryCount: a } = i, n = E(t.series);
4282
4282
  return a && Number.isFinite(a) && a < e.length && Ni.includes(n) ? e.slice(0, a) : e;
4283
4283
  }
4284
4284
  function cs(i) {
4285
4285
  const { attributes: e, uniqueCategoryList: t, maxCategoryCount: a, x: n, chartSubType: r } = i;
4286
4286
  let s = !1;
4287
4287
  if (n && a && Number.isFinite(a) && !Ni.includes(r))
4288
- if ((r === p.BarAndLineFromFields || r === p.PieFromFields) && Object.keys(e).length > a)
4288
+ if ((r === h.BarAndLineFromFields || r === h.PieFromFields) && Object.keys(e).length > a)
4289
4289
  Object.keys(e).filter((o) => o !== P.EnvelopeAggregate).forEach((o, c) => {
4290
4290
  c >= a && delete e[o];
4291
4291
  });
@@ -4309,33 +4309,33 @@ function Mi(i) {
4309
4309
  showMean: u,
4310
4310
  chartLimits: d,
4311
4311
  fieldList: f
4312
- } = i, { series: m } = t, g = V(m), y = W(m), { x: h } = 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 = [];
4313
- let D = 0;
4314
- const M = /* @__PURE__ */ new Set(), { maxCategoryCount: w } = Re(d), E = ls({ queryResponse: e, chartConfig: t, maxCategoryCount: w });
4315
- for (let L = 0; E[L] && L < E.length && !(l !== void 0 && D >= l); L += 1) {
4316
- D += ss(g, t);
4317
- const q = E[L];
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 = [];
4313
+ let w = 0;
4314
+ const L = /* @__PURE__ */ new Set(), { maxCategoryCount: D } = Re(d), R = ls({ queryResponse: e, chartConfig: t, maxCategoryCount: D });
4315
+ for (let M = 0; R[M] && M < R.length && !(l !== void 0 && w >= l); M += 1) {
4316
+ w += ss(g, t);
4317
+ const q = R[M];
4318
4318
  let A = { ...q.attributes };
4319
- if (cs({ attributes: A, uniqueCategoryList: M, maxCategoryCount: w, x: h, chartSubType: g }))
4319
+ if (cs({ attributes: A, uniqueCategoryList: L, maxCategoryCount: D, x: p, chartSubType: g }))
4320
4320
  continue;
4321
- is(A, m), g === p.PieFromFields || g === p.BarAndLineFromFields ? A = as(A, F) : typeof x == "string" && g === p.BarAndLineSplitByNoAggregation ? ns({ dataItem: A, splitByField: n, y: x }) : x && (g === p.BoxPlotMonoField || g === p.BoxPlotMonoFieldAndCategory || g === p.BoxPlotMonoFieldAndSplitBy || g === p.BoxPlotMonoFieldAndCategoryAndSplitBy) && rs(
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(
4322
4322
  A,
4323
4323
  typeof x == "string" ? x : x[0]
4324
4324
  ), os({ attributes: A, showMean: u, chartSubType: g });
4325
- let O = A[h];
4326
- O === null && m[0]?.query?.fetchNullValues === !0 && g !== p.PieFromFields && (A[C] = null, O = b.nullValue), s && typeof O == "string" ? O = new Date(O).valueOf() : o && (O = Jr(A));
4327
- const { outStatisticFieldName: H } = Y.outStatistics ?? {}, { featureExtent: X, featureExtentKey: $ } = Li({ feature: q, splitByField: n, chartSubType: g });
4328
- if (X && (A[$] = X), g === p.BarAndLineSplitBy && H !== void 0) {
4325
+ 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));
4327
+ const { outStatisticFieldName: H } = Y.outStatistics ?? {}, { featureExtent: X, featureExtentKey: I } = Li({ feature: q, splitByField: n, chartSubType: g });
4328
+ if (X && (A[I] = X), g === h.BarAndLineSplitBy && H !== void 0) {
4329
4329
  const ue = A[n], te = a?.get(ue);
4330
4330
  te !== void 0 && (ue === n && (A[b.technicalFieldSplitByField] = A[te]), A[te] = A[H]), delete A[H];
4331
- } else (g === p.PieNoAggregation || g === p.BarAndLineNoAggregation || g === p.BarAndLineSplitByNoAggregation) && (s ? A[B] = O : O !== b.nullValue && (A[C] = O), $a({ isXAxis: !0, chartType: y, valueFormat: t.axes?.[0]?.valueFormat }) && (A[b.xAxisField] = `${O}-${L}`), A[Y.uniqueIdsName] = A[r]);
4332
- const Z = pa({
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]);
4332
+ const Z = ha({
4333
4333
  subtypeInfo: c,
4334
4334
  fieldList: f,
4335
- fieldName: h,
4335
+ fieldName: p,
4336
4336
  fieldValueToMatch: O
4337
4337
  });
4338
- Z !== void 0 && Z !== O && g !== p.PieFromFields && (A[C] = Z, A[N] = h, A[v] = O), y === S.BoxPlotSeries && (A = es(m, A)), y === S.PieSeries && typeof O == "number" && (A[C] === void 0 && (A[C] = A[h]), O = `${O}`), O !== void 0 && (A[C] === void 0 && (A[C] = A[h]), A[h] = Z ?? O, A[h] === null && (A[h] = b.nullValue), A[b.xAxisField] === void 0 && (A[b.xAxisField] = A[v] ?? A[h])), A = ts(A, t), T.push(A);
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);
4339
4339
  }
4340
4340
  return T;
4341
4341
  }
@@ -4351,14 +4351,14 @@ async function ut(i) {
4351
4351
  showMean: c,
4352
4352
  chartLimits: l,
4353
4353
  usePopupTemplateFieldsInfo: u
4354
- } = i, { series: d } = a, f = V(d);
4354
+ } = i, { series: d } = a, f = E(d);
4355
4355
  let m = [];
4356
- const g = f === p.BarAndLineSplitBy || f === p.BarAndLineSplitByNoAggregation ? K(d[0].query?.where) : "", y = await ye({
4356
+ const g = f === h.BarAndLineSplitBy || f === h.BarAndLineSplitByNoAggregation ? K(d[0].query?.where) : "", y = await ye({
4357
4357
  queryObject: e,
4358
4358
  queryConfig: t,
4359
4359
  featureCount: s,
4360
4360
  abortKey: r
4361
- }), h = await Ne(e, u), F = z(e).objectIdField, C = ya(h), { x: B } = d[0], N = C.includes(B), v = ni(e);
4361
+ }), p = await Te(e, u), F = z(e).objectIdField, C = pa(p), { x: B } = d[0], N = C.includes(B), v = ni(e);
4362
4362
  return m = Mi({
4363
4363
  queryResponse: y,
4364
4364
  chartConfig: a,
@@ -4368,22 +4368,22 @@ async function ut(i) {
4368
4368
  isDateField: N,
4369
4369
  isTimeBinningSeries: o,
4370
4370
  subtypeInfo: v,
4371
- fieldList: h,
4371
+ fieldList: p,
4372
4372
  resultLimit: t.num,
4373
4373
  showMean: c,
4374
4374
  chartLimits: l
4375
- }), f !== p.BarAndLineSplitByNoAggregation && f !== p.BarAndLineFromFields && (g !== "" && (m = Lt({ data: m, x: B, splitByField: g })), m = Zr(
4375
+ }), f !== h.BarAndLineSplitByNoAggregation && f !== h.BarAndLineFromFields && (g !== "" && (m = Lt({ data: m, x: B, splitByField: g })), m = Zr(
4376
4376
  m,
4377
4377
  d
4378
4378
  )), m;
4379
4379
  }
4380
4380
  async function wi(i) {
4381
- const { chartConfig: e, queryObject: t, queryConfig: a, numberMaxOfFeaturesToFetch: n, behaviorAfterLimit: r, isGaugeByFeature: s } = i, { series: o } = e, c = V(o), { x: l } = o[0], u = o.length;
4381
+ const { chartConfig: e, queryObject: t, queryConfig: a, numberMaxOfFeaturesToFetch: n, behaviorAfterLimit: r, isGaugeByFeature: s } = i, { series: o } = e, c = E(o), { x: l } = o[0], u = o.length;
4382
4382
  let d, f;
4383
- if (c === p.BoxPlotMonoField || c === p.BoxPlotMonoFieldAndSplitBy ? (f = u, d = f) : c === p.BoxPlotMultiFields || c === p.BoxPlotMultiFieldsAndSplitBy ? (f = e.series[0].y.length, d = f) : c === p.PieFromFields || c === p.BarAndLineFromFields ? (f = o[0].query?.outStatistics?.filter(
4383
+ if (c === h.BoxPlotMonoField || c === h.BoxPlotMonoFieldAndSplitBy ? (f = u, d = f) : c === h.BoxPlotMultiFields || c === h.BoxPlotMultiFieldsAndSplitBy ? (f = e.series[0].y.length, d = f) : c === h.PieFromFields || c === h.BarAndLineFromFields ? (f = o[0].query?.outStatistics?.filter(
4384
4384
  (m) => m.statisticType !== P.EnvelopeAggregate
4385
- ).length ?? 0, d = f) : d = await ga({ queryObject: t, x: l, chartSubType: c, queryConfig: a, isGaugeByFeature: s }), d !== void 0) {
4386
- const m = c === p.BoxPlotMonoField || c === p.BoxPlotMonoFieldAndCategory || c === p.BoxPlotMonoFieldAndSplitBy;
4385
+ ).length ?? 0, d = f) : d = await ya({ queryObject: t, x: l, chartSubType: c, queryConfig: a, isGaugeByFeature: s }), d !== void 0) {
4386
+ const m = c === h.BoxPlotMonoField || c === h.BoxPlotMonoFieldAndCategory || c === h.BoxPlotMonoFieldAndSplitBy;
4387
4387
  f = Ft(c) && !m ? d * u : d;
4388
4388
  }
4389
4389
  return r === $e.RenderUpToTheLimit && f !== void 0 && n !== void 0 && n < f && (f = n, d = Math.ceil(f / u)), { categoryOrDateCount: d, elementCount: f };
@@ -4391,7 +4391,7 @@ async function wi(i) {
4391
4391
  function Ke(i) {
4392
4392
  const { arrayToSort: e, chartConfig: t, fieldList: a, isTimeBinningSeries: n } = i;
4393
4393
  if (n !== !0) {
4394
- const { series: r } = t, s = V(r), o = W(r), c = pe(t), l = xt(t);
4394
+ const { series: r } = t, s = E(r), o = W(r), c = pe(t), l = xt(t);
4395
4395
  if (o === S.HeatSeries)
4396
4396
  l !== void 0 && Ge({
4397
4397
  arrayToSort: e,
@@ -4401,9 +4401,9 @@ function Ke(i) {
4401
4401
  else if (l !== void 0 && e !== void 0 && e.length > 1) {
4402
4402
  const { orderBy: u } = l;
4403
4403
  let { sortingField: d } = l;
4404
- const f = t.orderOptions?.data?.orderType === be.Category, m = l.preferLabel !== !1, g = s === p.BarAndLineFromFields || s === p.PieFromFields || s === p.BoxPlotMultiFields || s === p.BoxPlotMultiFieldsAndSplitBy, y = g || o === S.PieSeries, h = s === p.PieNoAggregation || s === p.BarAndLineNoAggregation || s === p.BarAndLineSplitByNoAggregation, x = g ? !1 : e?.length > 0 && e.some((F) => Object.hasOwn(F, b.typeOrDomainIdValue));
4405
- if (f && (!m || o === S.LineSeries && c === S.NumberAxisFormat) && (x ? d = b.typeOrDomainIdValue : y && (d = b.originalCategoryValue)), Array.isArray(u))
4406
- za({
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({
4407
4407
  arrayToSort: e,
4408
4408
  orderBy: u,
4409
4409
  sortingField: d,
@@ -4418,7 +4418,7 @@ function Ke(i) {
4418
4418
  orderBy: u,
4419
4419
  sortingField: d,
4420
4420
  forceAscendingOrder: F,
4421
- isNonAggregated: h,
4421
+ isNonAggregated: p,
4422
4422
  sortByCategory: f,
4423
4423
  preferLabel: m,
4424
4424
  isPieOrByFieldsChart: y
@@ -4430,9 +4430,9 @@ function Ke(i) {
4430
4430
  async function Bt(i) {
4431
4431
  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
4432
  let g, y = !1;
4433
- const h = e.series, x = h[0], F = V(e.series);
4433
+ const p = e.series, x = p[0], F = E(e.series);
4434
4434
  if (x !== void 0 && r !== void 0) {
4435
- const C = W(h), { uniqueQuery: B, mapToStatField: N } = await ct({
4435
+ const C = W(p), { uniqueQuery: B, mapToStatField: N } = await ct({
4436
4436
  chartConfig: e,
4437
4437
  queryObject: r,
4438
4438
  queryConfig: t,
@@ -4446,14 +4446,14 @@ async function Bt(i) {
4446
4446
  behaviorAfterLimit: f,
4447
4447
  numberMaxOfFeaturesToFetch: B.num
4448
4448
  });
4449
- const D = !Number.isFinite(T);
4450
- let M = D || Se({
4449
+ const w = !Number.isFinite(T);
4450
+ let L = w || Se({
4451
4451
  count: T ?? 0,
4452
- seriesCount: h.length,
4452
+ seriesCount: p.length,
4453
4453
  chartType: C,
4454
4454
  chartLimits: l
4455
4455
  });
4456
- if (M && (g = await ut({
4456
+ if (L && (g = await ut({
4457
4457
  queryObject: r,
4458
4458
  uniqueQuery: B,
4459
4459
  chartConfig: e,
@@ -4473,22 +4473,22 @@ async function Bt(i) {
4473
4473
  elementCount: T,
4474
4474
  chartLimits: l,
4475
4475
  abortKey: s
4476
- }), l?.maxBoxPlotOutlierLimit !== void 0 && (M = (m.data.outliers ?? []).length <= l.maxBoxPlotOutlierLimit, y = !M)), D && (v = g.length, T = Ft(F) ? v * h.length : v, M = Se({
4476
+ }), 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
4477
  count: T,
4478
- seriesCount: h.length,
4478
+ seriesCount: p.length,
4479
4479
  chartType: C,
4480
4480
  chartLimits: l
4481
- })), M)) {
4481
+ })), L)) {
4482
4482
  if (C === S.PieSeries) {
4483
- F === p.PieFromFields && (g = st({
4483
+ F === h.PieFromFields && (g = st({
4484
4484
  dataToConvert: g[0],
4485
4485
  x: ne,
4486
4486
  y: he,
4487
4487
  fieldList: o
4488
4488
  }));
4489
- let w = "";
4490
- F === p.PieFromFields ? w = he : "y" in x && typeof x.y == "string" && (w = x.y), cn(g, w) ? m.data = { dataItems: g } : Sn(m, R.PieChartMixOfNegativePositiveSlices);
4491
- } else if ((C === S.RadarSeries || C === S.BarSeries || C === S.LineSeries || C === S.ComboLineAndBarSeries) && (F === p.BarAndLineFromFields && "y" in x && typeof x.y == "string" ? g = st({
4489
+ 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({
4492
4492
  dataToConvert: g[0],
4493
4493
  x: x.x,
4494
4494
  y: x.y,
@@ -4501,22 +4501,22 @@ async function Bt(i) {
4501
4501
  categoryOrDateCount: v,
4502
4502
  behaviorAfterLimit: f,
4503
4503
  abortKey: s
4504
- }), T = Ft(F) ? g.length * h.length : g.length, M = Se({
4504
+ }), T = Ft(F) ? g.length * p.length : g.length, L = Se({
4505
4505
  count: T,
4506
- seriesCount: h.length,
4506
+ seriesCount: p.length,
4507
4507
  chartType: C,
4508
4508
  chartLimits: l
4509
- }), M)) {
4510
- d && (g = Dr(g, e)), Ke({ arrayToSort: g, chartConfig: e, fieldList: o });
4511
- let w = {};
4509
+ }), L)) {
4510
+ d && (g = Dr(g, e)), Ke({ arrayToSort: g, chartConfig: e, fieldList: o }), console.log("🚀CT: ~ fetchFinishedGenericChartData / data after:", Fe(g));
4511
+ let D = {};
4512
4512
  if (oe(x)) {
4513
- const { size: E, unit: L } = x.temporalBinning ?? {};
4514
- E !== void 0 && L !== void 0 && (w = { size: E, unit: L });
4513
+ const { size: R, unit: M } = x.temporalBinning ?? {};
4514
+ R !== void 0 && M !== void 0 && (D = { size: R, unit: M });
4515
4515
  }
4516
- m.data = { dataItems: g, timeIntervalInfo: w };
4516
+ m.data = { dataItems: g, timeIntervalInfo: D };
4517
4517
  }
4518
4518
  }
4519
- M || ot({ dataInfo: m, chartType: C, subError: { outlierLimit: y } }), m.count = T;
4519
+ L || ot({ dataInfo: m, chartType: C, subError: { outlierLimit: y } }), m.count = T;
4520
4520
  }
4521
4521
  return m;
4522
4522
  }
@@ -4538,9 +4538,9 @@ async function Di(i) {
4538
4538
  let l;
4539
4539
  const u = e.series[0], { nullPolicy: d } = "nullPolicy" in e ? e : {};
4540
4540
  if (u.type === S.HeatSeries) {
4541
- const { x: f, y: m, query: g, yTemporalBinning: y } = u, h = g?.outStatistics?.[0]?.outStatisticFieldName ?? "";
4541
+ const { x: f, y: m, query: g, yTemporalBinning: y } = u, p = g?.outStatistics?.[0]?.outStatisticFieldName ?? "";
4542
4542
  if (mi(e)) {
4543
- const x = await fa({
4543
+ const x = await ma({
4544
4544
  chartConfig: e,
4545
4545
  queryObject: a,
4546
4546
  queryConfig: t,
@@ -4556,7 +4556,7 @@ async function Di(i) {
4556
4556
  }))
4557
4557
  ot({ dataInfo: c, chartType: S.HeatSeries });
4558
4558
  else if (typeof x?.[0] == "object") {
4559
- const F = await Ne(a, s?.usePopupTemplateFieldsInfo), C = ni(a);
4559
+ const F = await Te(a, s?.usePopupTemplateFieldsInfo), C = ni(a);
4560
4560
  l = Mi({
4561
4561
  queryResponse: x,
4562
4562
  chartConfig: e,
@@ -4572,9 +4572,9 @@ async function Di(i) {
4572
4572
  const B = await yt({ queryObject: a, queryConfig: t, category: f, abortKey: o }), N = await yt({ queryObject: a, queryConfig: t, category: m, abortKey: o });
4573
4573
  if (l.length !== B?.length * N?.length) {
4574
4574
  const v = B.flatMap(
4575
- (T) => N.map((D) => ({
4575
+ (T) => N.map((w) => ({
4576
4576
  [k.xField]: T,
4577
- [k.yField]: D,
4577
+ [k.yField]: w,
4578
4578
  [k.valueField]: d === re.Zero ? 0 : null
4579
4579
  }))
4580
4580
  );
@@ -4582,14 +4582,14 @@ async function Di(i) {
4582
4582
  ...l,
4583
4583
  ...v.filter(
4584
4584
  (T) => !l.some(
4585
- (D) => `${D[k.xField]}${D[k.yField]}` == `${T[k.xField]}${T[k.yField]}`
4585
+ (w) => `${w[k.xField]}${w[k.yField]}` == `${T[k.xField]}${T[k.yField]}`
4586
4586
  )
4587
4587
  )
4588
4588
  ];
4589
4589
  }
4590
4590
  }
4591
4591
  } else {
4592
- const x = await ma({
4592
+ const x = await ga({
4593
4593
  chartConfig: e,
4594
4594
  queryObject: a,
4595
4595
  queryConfig: t,
@@ -4597,18 +4597,18 @@ async function Di(i) {
4597
4597
  }), F = y ? us(y.unit) : await yt({ queryObject: a, queryConfig: t, category: m, abortKey: o });
4598
4598
  let C = 0;
4599
4599
  l = x?.features.flatMap((B) => {
4600
- const N = [], { attributes: v, stackedAttributes: T } = B, D = [];
4601
- return T?.forEach((M) => {
4602
- const w = `${M[m]}`;
4603
- D.push(w), N.push({
4600
+ const N = [], { attributes: v, stackedAttributes: T } = B, w = [];
4601
+ return T?.forEach((L) => {
4602
+ const D = `${L[m]}`;
4603
+ w.push(D), N.push({
4604
4604
  [k.xField]: `${v.lowerBoundary}`,
4605
- [k.yField]: w,
4606
- [k.valueField]: M[h]
4605
+ [k.yField]: D,
4606
+ [k.valueField]: L[p]
4607
4607
  });
4608
- }), n && F && D.length !== F?.length && F.filter((w) => !D.includes(w.toString())).forEach((w) => {
4608
+ }), n && F && w.length !== F?.length && F.filter((D) => !w.includes(D.toString())).forEach((D) => {
4609
4609
  N.push({
4610
4610
  [k.xField]: `${v.lowerBoundary}`,
4611
- [k.yField]: w,
4611
+ [k.yField]: D,
4612
4612
  [k.valueField]: d === re.Zero ? 0 : null
4613
4613
  });
4614
4614
  }), C += N.length, N;
@@ -4653,9 +4653,9 @@ async function wt(i) {
4653
4653
  const { chartConfig: e, queryConfig: t, queryObject: a, abortKey: n, binnedServerData: r, options: s } = i, { chartLimits: o, usePopupTemplateFieldsInfo: c } = s ?? {}, { behaviorAfterLimit: l } = o ?? {}, u = e.series, d = u[0], { x: f } = d, m = K(d.query?.where), g = { valid: !0 };
4654
4654
  let y;
4655
4655
  if (oe(d)) {
4656
- const { temporalBinning: h } = d;
4657
- if (a && h) {
4658
- const { unit: x, size: F } = h;
4656
+ const { temporalBinning: p } = d;
4657
+ if (a && p) {
4658
+ const { unit: x, size: F } = p;
4659
4659
  let C = 1, B = { unit: x, size: F }, N = !1;
4660
4660
  const v = Kr({
4661
4661
  series: d,
@@ -4663,41 +4663,41 @@ async function wt(i) {
4663
4663
  setTimeBinningInfoWhenNotProvided: s?.setTimeBinningInfoWhenNotProvided
4664
4664
  });
4665
4665
  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 Ne(a)).find((q) => q.name === f)?.type === Ye.DateOnly && B.unit !== void 0 && [
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 && [
4667
4667
  j.Hour,
4668
4668
  j.Minute,
4669
4669
  j.Second
4670
- ].includes(B.unit) && (B.unit = j.Day, B.size = 1), h.size = B.size, h.unit = B.unit);
4671
- const { uniqueQuery: D, mapToStatField: M } = await ct({
4670
+ ].includes(B.unit) && (B.unit = j.Day, B.size = 1), p.size = B.size, p.unit = B.unit);
4671
+ const { uniqueQuery: w, mapToStatField: L } = await ct({
4672
4672
  chartConfig: e,
4673
4673
  queryConfig: t,
4674
4674
  queryObject: a,
4675
4675
  timeIntervalInfo: B,
4676
4676
  options: s
4677
4677
  });
4678
- let w = Se({
4678
+ let D = Se({
4679
4679
  count: C ?? 0,
4680
4680
  seriesCount: u.length,
4681
4681
  chartType: S.LineSeries,
4682
4682
  chartLimits: o
4683
4683
  });
4684
- if (w) {
4684
+ if (D) {
4685
4685
  if (Qe(a)) {
4686
- const E = await ai({
4686
+ const R = await ai({
4687
4687
  queryObject: a,
4688
4688
  dateField: f,
4689
4689
  splitByField: m,
4690
- queryConfig: D,
4691
- temporalBinning: h
4692
- }), L = "y" in d && typeof d.y == "string" ? d.y : void 0;
4690
+ queryConfig: w,
4691
+ temporalBinning: p
4692
+ }), M = "y" in d && typeof d.y == "string" ? d.y : void 0;
4693
4693
  if (y = await Gr({
4694
4694
  chartConfig: e,
4695
- queryResults: E,
4696
- mapToStatField: M,
4695
+ queryResults: R,
4696
+ mapToStatField: L,
4697
4697
  splitByField: m,
4698
4698
  x: f,
4699
- y: L,
4700
- nullPolicy: h.nullPolicy,
4699
+ y: M,
4700
+ nullPolicy: p.nullPolicy,
4701
4701
  queryObject: a
4702
4702
  }), !Se({
4703
4703
  count: y.length,
@@ -4713,25 +4713,25 @@ async function wt(i) {
4713
4713
  seriesCount: u.length,
4714
4714
  chartType: S.LineSeries,
4715
4715
  chartLimits: o
4716
- }) || (w = !1);
4716
+ }) || (D = !1);
4717
4717
  }
4718
4718
  } else if (T?.dateRange.dateMinTimestamp && T.dateRange.dateMaxTimestamp) {
4719
- const { numberOfFinalBinsWithinDataRange: E } = Ai({
4719
+ const { numberOfFinalBinsWithinDataRange: R } = Ai({
4720
4720
  dateMinTimestamp: T.dateRange.dateMinTimestamp,
4721
4721
  dateMaxTimestamp: T.dateRange.dateMaxTimestamp,
4722
4722
  timeIntervalInfo: B
4723
4723
  });
4724
- C = E * u.length, C = Ti(C, B.unit), y = r?.data ?? await ut({
4724
+ C = R * u.length, C = Ti(C, B.unit), y = r?.data ?? await ut({
4725
4725
  queryObject: a,
4726
- uniqueQuery: D,
4726
+ uniqueQuery: w,
4727
4727
  chartConfig: e,
4728
- mapToStatField: M,
4728
+ mapToStatField: L,
4729
4729
  elementCount: C,
4730
4730
  chartLimits: o,
4731
4731
  isTimeBinningSeries: !0,
4732
4732
  usePopupTemplateFieldsInfo: c,
4733
4733
  abortKey: n
4734
- }), g.binnedServerData = { data: Ie(y), timeBinningStats: T }, y = await Ur({
4734
+ }), g.binnedServerData = { data: Fe(y), timeBinningStats: T }, y = await Ur({
4735
4735
  queryObject: a,
4736
4736
  queryConfig: t,
4737
4737
  queryResults: y,
@@ -4741,9 +4741,9 @@ async function wt(i) {
4741
4741
  timeIntervalInfo: B
4742
4742
  });
4743
4743
  }
4744
- da(a) && y && y?.length === Or && (N = !0), l === $e.RenderUpToTheLimit && y && (y = ds({ chartConfig: e, options: s, data: y }));
4744
+ fa(a) && y && y?.length === Or && (N = !0), l === $e.RenderUpToTheLimit && y && (y = ds({ chartConfig: e, options: s, data: y }));
4745
4745
  }
4746
- w || (g.valid = !1, g.invalidType = R.LineChartExceedsLimit), y && y.length > 0 && (y[y.length - 1][b.lastTemporalBin] = !0), g.data = { dataItems: y, timeIntervalInfo: B, serverLimitReached: N }, g.count = C;
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;
4747
4747
  }
4748
4748
  }
4749
4749
  return g;
@@ -4751,7 +4751,7 @@ async function wt(i) {
4751
4751
  async function fs(i) {
4752
4752
  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
4753
  if (a !== void 0) {
4754
- const d = e.series, f = ve({
4754
+ const d = e.series, f = Ne({
4755
4755
  seriesConfig: d[0],
4756
4756
  xAxisValueFormatType: pe(e),
4757
4757
  setTimeBinningInfoWhenNotProvided: o
@@ -4797,7 +4797,7 @@ function tl(i, e) {
4797
4797
  const t = i.filter(
4798
4798
  (a) => !Oi(a)
4799
4799
  );
4800
- return !Pe(t, e);
4800
+ return !Le(t, e);
4801
4801
  }
4802
4802
  function gs(i, e) {
4803
4803
  let t = i.reduce((a, n) => {
@@ -4862,7 +4862,7 @@ function nl(i) {
4862
4862
  function Fs(i) {
4863
4863
  return i ? i.replace(/[A-Z]/gu, (e) => `-${e.toLowerCase()}`) : void 0;
4864
4864
  }
4865
- const qe = {
4865
+ const Ee = {
4866
4866
  ChartRenderer: 1,
4867
4867
  LayerRenderer: 2
4868
4868
  };
@@ -4872,24 +4872,24 @@ function rl(i) {
4872
4872
  if (e.chartRenderer)
4873
4873
  a = !0;
4874
4874
  else {
4875
- const { series: n } = e, r = W(n), s = V(n), o = Me(e), c = ve({
4875
+ const { series: n } = e, r = W(n), s = E(n), o = we(e), c = Ne({
4876
4876
  seriesConfig: o
4877
4877
  }), u = z(t)?.renderer;
4878
4878
  switch (u?.type) {
4879
4879
  case ie.Simple:
4880
- a = r === S.HistogramSeries || r === S.ScatterSeries || s === p.BarAndLineMonoField || s === p.BoxPlotMonoField || s === p.BoxPlotMultiFields || s === p.BoxPlotMonoFieldAndCategory || s === p.BarAndLineNoAggregation && n.length === 1 && !c;
4880
+ a = r === S.HistogramSeries || r === S.ScatterSeries || s === h.BarAndLineMonoField || s === h.BoxPlotMonoField || s === h.BoxPlotMultiFields || s === h.BoxPlotMonoFieldAndCategory || s === h.BarAndLineNoAggregation && n.length === 1 && !c;
4881
4881
  break;
4882
4882
  case ie.UniqueValue:
4883
4883
  {
4884
4884
  const f = u?.field, m = K(o.query?.where), { x: g } = o;
4885
- a = (s === p.BoxPlotMonoFieldAndSplitBy || s === p.BoxPlotMultiFieldsAndSplitBy || s === p.BoxPlotMonoFieldAndCategoryAndSplitBy || s === p.BarAndLineSplitByNoAggregation || s === p.BarAndLineSplitBy) && f === m || (s === p.BoxPlotMonoFieldAndCategory || s === p.PieFromCategory || s === p.BarAndLineMonoField) && f === g || s === p.BarAndLineNoAggregation || s === p.PieNoAggregation || r === S.ScatterSeries;
4885
+ a = (s === h.BoxPlotMonoFieldAndSplitBy || s === h.BoxPlotMultiFieldsAndSplitBy || s === h.BoxPlotMonoFieldAndCategoryAndSplitBy || s === h.BarAndLineSplitByNoAggregation || s === h.BarAndLineSplitBy) && f === m || (s === h.BoxPlotMonoFieldAndCategory || s === h.PieFromCategory || s === h.BarAndLineMonoField) && f === g || s === h.BarAndLineNoAggregation || s === h.PieNoAggregation || r === S.ScatterSeries;
4886
4886
  }
4887
4887
  break;
4888
4888
  case ie.PieChart:
4889
- a = s === p.PieFromFields || s === p.BarAndLineFromFields || s === p.BarAndLineMultiFields || s === p.BarAndLineMonoField || s === p.BoxPlotMonoField || s === p.BoxPlotMultiFields || s === p.BoxPlotMonoFieldAndCategory || s === p.BoxPlotMultiFieldsAndCategory;
4889
+ a = s === h.PieFromFields || s === h.BarAndLineFromFields || s === h.BarAndLineMultiFields || s === h.BarAndLineMonoField || s === h.BoxPlotMonoField || s === h.BoxPlotMultiFields || s === h.BoxPlotMonoFieldAndCategory || s === h.BoxPlotMultiFieldsAndCategory;
4890
4890
  break;
4891
4891
  case ie.ClassBreaks:
4892
- a = r === S.ScatterSeries || s === p.BarAndLineNoAggregation || s === p.PieNoAggregation;
4892
+ a = r === S.ScatterSeries || s === h.BarAndLineNoAggregation || s === h.PieNoAggregation;
4893
4893
  break;
4894
4894
  case ie.Dictionary:
4895
4895
  case ie.DotDensity:
@@ -4924,7 +4924,7 @@ function qi(i) {
4924
4924
  delete t[e];
4925
4925
  else {
4926
4926
  const s = { ...a };
4927
- s.color !== void 0 && n === qe.LayerRenderer && (s.color[3] = ri * 255), n === qe.LayerRenderer && (delete s.style, delete s.outline, delete s.label), t[e] = s, r = !0;
4927
+ s.color !== void 0 && n === Ee.LayerRenderer && (s.color[3] = ri * 255), n === Ee.LayerRenderer && (delete s.style, delete s.outline, delete s.label), t[e] = s, r = !0;
4928
4928
  }
4929
4929
  return r;
4930
4930
  }
@@ -4938,32 +4938,32 @@ function Bs(i) {
4938
4938
  const { color: m, label: g } = d;
4939
4939
  let y;
4940
4940
  Array.isArray(m) && m?.length === 4 ? y = m : m && "toRgba" in m && (y = m.toRgba());
4941
- let h = !1, x = !0;
4941
+ let p = !1, x = !0;
4942
4942
  switch (c) {
4943
4943
  case S.BarSeries:
4944
4944
  case S.LineSeries:
4945
4945
  case S.ComboLineAndBarSeries:
4946
4946
  case S.RadarSeries:
4947
- if (a !== p.BarAndLineFromFields) {
4947
+ if (a !== h.BarAndLineFromFields) {
4948
4948
  const F = t.find((C) => C.query?.outStatistics?.[0]?.onStatisticField === f);
4949
4949
  F !== void 0 && "y" in F ? f = [F.y].flat()[0] : f = "";
4950
4950
  }
4951
- h = a !== p.BarAndLineFromFields || f === n[b.originalCategoryValue];
4951
+ p = a !== h.BarAndLineFromFields || f === n[b.originalCategoryValue];
4952
4952
  break;
4953
4953
  case S.PieSeries:
4954
- h = a === p.PieFromFields && f === n[b.originalCategoryValue];
4954
+ p = a === h.PieFromFields && f === n[b.originalCategoryValue];
4955
4955
  break;
4956
4956
  case S.BoxPlotSeries:
4957
- a === p.BoxPlotMonoField || a === p.BoxPlotMonoFieldAndCategory ? h = f === t[0].y : f && (a === p.BoxPlotMultiFields || a === p.BoxPlotMultiFieldsAndCategory) && (h = t.map((C) => C.y).flat().includes(f)), x = !1;
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;
4958
4958
  break;
4959
4959
  }
4960
- h && y && (s = {
4960
+ p && y && (s = {
4961
4961
  type: rt.SMS,
4962
4962
  color: y,
4963
4963
  label: x && g ? g : void 0
4964
4964
  }, l != null && (s.outline = l), qi({
4965
4965
  dataItem: n,
4966
- symbolField: a === p.BarAndLineFromFields || a === p.PieFromFields ? b.rendererSymbolField : `${b.rendererSymbolField}_${f}`,
4966
+ symbolField: a === h.BarAndLineFromFields || a === h.PieFromFields ? b.rendererSymbolField : `${b.rendererSymbolField}_${f}`,
4967
4967
  rendererSymbol: s,
4968
4968
  rendererOrigin: r
4969
4969
  }) && (o = !0));
@@ -4978,24 +4978,24 @@ function vs(i) {
4978
4978
  const s = ge({
4979
4979
  where: e.query?.where
4980
4980
  });
4981
- s === null ? r = b.nullValue : t === p.BarAndLineSplitBy && typeof e.y == "string" ? r = e.y : t === p.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? r = `${e.y}_${s}` : r = `${s}`;
4981
+ s === null ? r = b.nullValue : t === h.BarAndLineSplitBy && typeof e.y == "string" ? r = e.y : t === h.BarAndLineSplitByNoAggregation && typeof e.y == "string" ? r = `${e.y}_${s}` : r = `${s}`;
4982
4982
  }
4983
4983
  } else if (a === ie.PieChart)
4984
4984
  switch (t) {
4985
- case p.BoxPlotMultiFields:
4985
+ case h.BoxPlotMultiFields:
4986
4986
  r = Array.isArray(e.y) ? e.y.flat() : e.y;
4987
4987
  break;
4988
- case p.BarAndLineMonoField:
4989
- case p.BarAndLineMultiFields:
4990
- case p.BoxPlotMonoField:
4991
- case p.BoxPlotMonoFieldAndCategory:
4992
- case p.BoxPlotMultiFieldsAndCategory:
4988
+ case h.BarAndLineMonoField:
4989
+ case h.BarAndLineMultiFields:
4990
+ case h.BoxPlotMonoField:
4991
+ case h.BoxPlotMonoFieldAndCategory:
4992
+ case h.BoxPlotMultiFieldsAndCategory:
4993
4993
  r = e.y;
4994
4994
  break;
4995
4995
  }
4996
4996
  return r;
4997
4997
  }
4998
- function Vi(i) {
4998
+ function Ei(i) {
4999
4999
  const { seriesConfig: e, chartSubType: t, rendererType: a, dataItem: n } = i;
5000
5000
  let r = vs({
5001
5001
  seriesConfig: e,
@@ -5009,9 +5009,9 @@ function Ns(i) {
5009
5009
  // 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
5010
  // eslint-disable-next-line @typescript-eslint/no-misused-spread
5011
5011
  ...z(t),
5012
- renderer: ba.fromJSON(e)
5012
+ renderer: xa.fromJSON(e)
5013
5013
  } : z(t);
5014
- return new xa({
5014
+ return new Ca({
5015
5015
  layer: a
5016
5016
  });
5017
5017
  }
@@ -5042,7 +5042,7 @@ async function Ts(i) {
5042
5042
  const { x: m } = e[0], g = /* @__PURE__ */ new Map();
5043
5043
  o && o.trim() !== "" ? e.forEach((y) => {
5044
5044
  if (y.type === S.BarSeries || y.type === S.LineSeries || y.type === S.BoxPlotSeries || y.type === S.RadarSeries) {
5045
- const h = Vi({
5045
+ const p = Ei({
5046
5046
  seriesConfig: y,
5047
5047
  chartSubType: s,
5048
5048
  rendererType: n,
@@ -5053,18 +5053,18 @@ async function Ts(i) {
5053
5053
  keepSurroundingQuotes: !1,
5054
5054
  escape: !1
5055
5055
  });
5056
- g.set(h, {
5056
+ g.set(p, {
5057
5057
  ...t,
5058
5058
  [o]: x
5059
5059
  });
5060
5060
  }
5061
5061
  }) : g.set(b.rendererSymbolField, {
5062
5062
  ...t,
5063
- [m]: Ha(t)
5063
+ [m]: za(t)
5064
5064
  });
5065
5065
  try {
5066
- const y = Array.from(g.entries()), h = c.clone();
5067
- h.layer = c.layer;
5066
+ const y = Array.from(g.entries()), p = c.clone();
5067
+ p.layer = c.layer;
5068
5068
  const x = a?.uniqueValueInfos;
5069
5069
  for (let F = 0; F < y.length; F += 1) {
5070
5070
  const [C, B] = y[F];
@@ -5075,12 +5075,12 @@ async function Ts(i) {
5075
5075
  attributes: B
5076
5076
  }), l && l.length > 0 && Object.keys(B).forEach((v) => {
5077
5077
  l.includes(v) || delete B[v];
5078
- }), h.attributes = B, u?.has(JSON.stringify(B)))
5078
+ }), p.attributes = B, u?.has(JSON.stringify(B)))
5079
5079
  d = u.get(JSON.stringify(B));
5080
5080
  else {
5081
- if (d = (await gt.getDisplayedSymbol(h))?.toJSON(), d != null) {
5082
- d.color === void 0 && (d.color = (await gt.getDisplayedColor(h))?.toJSON());
5083
- const v = await gt.getLegendLabel(h);
5081
+ if (d = (await gt.getDisplayedSymbol(p))?.toJSON(), d != null) {
5082
+ d.color === void 0 && (d.color = (await gt.getDisplayedColor(p))?.toJSON());
5083
+ const v = await gt.getLegendLabel(p);
5084
5084
  v != null && v !== "" && (d.label = v, d.uniqueValue = x?.find((T) => T.label === v)?.value ?? void 0);
5085
5085
  }
5086
5086
  u?.set(JSON.stringify(B), d);
@@ -5119,13 +5119,13 @@ async function sl(i) {
5119
5119
  const { data: e, queryObject: t, chartConfig: a, allowColorMatch: n } = i;
5120
5120
  let r = !1, s = [];
5121
5121
  if (n) {
5122
- const { series: o, chartRenderer: c } = a, l = As(c), u = l ? qe.ChartRenderer : qe.LayerRenderer, d = t ? z(t) : void 0, f = l ?? d?.renderer;
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;
5123
5123
  let m;
5124
- d && u === qe.LayerRenderer ? s = await Zt(d) : u === qe.ChartRenderer && (s = Ms(f));
5124
+ d && u === Ee.LayerRenderer ? s = await Zt(d) : u === Ee.ChartRenderer && (s = Ms(f));
5125
5125
  const g = bs(l, d?.renderer), y = Ns({
5126
5126
  chartRenderer: c,
5127
5127
  queryObject: t
5128
- }), h = V(o), x = Me(a), F = K(x.query?.where);
5128
+ }), p = E(o), x = we(a), F = K(x.query?.where);
5129
5129
  m = /* @__PURE__ */ new Map();
5130
5130
  for (let C = 0; C < e.length; C += 1) {
5131
5131
  const B = e[C], N = await Ts({
@@ -5134,7 +5134,7 @@ async function sl(i) {
5134
5134
  renderer: f,
5135
5135
  rendererType: g,
5136
5136
  rendererOrigin: u,
5137
- chartSubType: h,
5137
+ chartSubType: p,
5138
5138
  splitByField: F,
5139
5139
  graphicTemplate: y,
5140
5140
  mapAttributesToSymbol: m,
@@ -5149,7 +5149,7 @@ function Ps(i) {
5149
5149
  const { dataItem: e, seriesConfig: t, chartSubType: a, colorMatch: n, rendererType: r } = i;
5150
5150
  let s;
5151
5151
  if (n && e !== void 0) {
5152
- const o = Vi({
5152
+ const o = Ei({
5153
5153
  seriesConfig: t,
5154
5154
  chartSubType: a,
5155
5155
  rendererType: r,
@@ -5181,7 +5181,7 @@ function Ls(i) {
5181
5181
  function ll(i, e) {
5182
5182
  let t = !1;
5183
5183
  if (i && e && e.length > 0 && Gt(i)) {
5184
- const n = ja(i), r = Me(i);
5184
+ const n = Wa(i), r = we(i);
5185
5185
  n ? t = Ls(i).some((o) => e.includes(o)) : t = e.includes(r.x);
5186
5186
  }
5187
5187
  return t;
@@ -5215,18 +5215,18 @@ function dl(i) {
5215
5215
  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
5216
  }
5217
5217
  function fl(i, e) {
5218
- return e != null || Pa(i);
5218
+ return e != null || La(i);
5219
5219
  }
5220
5220
  async function ws(i) {
5221
5221
  const { queryObject: e, chartConfig: t, options: a, splitByField: n } = i;
5222
5222
  let r = [];
5223
- const s = t.series[0], o = await Aa(t, e), c = ii({
5223
+ const s = t.series[0], o = await Pa(t, e), c = ii({
5224
5224
  queryObject: e,
5225
5225
  chartConfig: o,
5226
5226
  runtimeDataFilters: a?.runtimeDataFilters,
5227
5227
  ignoreViewExtent: a?.ignoreViewExtent
5228
5228
  });
5229
- if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName = Y.outStatistics.outStatisticFieldName), oe(s) && ve({
5229
+ if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName = Y.outStatistics.outStatisticFieldName), oe(s) && Ne({
5230
5230
  xAxisValueFormatType: pe(o),
5231
5231
  setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided,
5232
5232
  seriesConfig: s
@@ -5318,9 +5318,9 @@ async function ml(i, e, t) {
5318
5318
  if (a !== void 0 && e !== void 0 && (e.series.length > 0 || n !== void 0) && a.addMissingSeries) {
5319
5319
  const r = e.series.length === 0;
5320
5320
  e.series.length === 0 && n !== void 0 && e.series.push(n);
5321
- const s = V(e.series);
5322
- if (s === p.BoxPlotMonoFieldAndSplitBy || s === p.BoxPlotMultiFieldsAndSplitBy || s === p.BoxPlotMonoFieldAndCategoryAndSplitBy || s === p.BarAndLineSplitBy || s === p.BarAndLineSplitByNoAggregation) {
5323
- const o = await ha({
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
5324
  chartConfig: e,
5325
5325
  layer: i.layer,
5326
5326
  view: i.view
@@ -5367,7 +5367,7 @@ export {
5367
5367
  Lt as F,
5368
5368
  yo as G,
5369
5369
  ys as H,
5370
- La as I,
5370
+ Ma as I,
5371
5371
  fo as J,
5372
5372
  Oo as K,
5373
5373
  ko as L,
@@ -5376,12 +5376,12 @@ export {
5376
5376
  lo as O,
5377
5377
  uo as P,
5378
5378
  fe as Q,
5379
- qe as R,
5379
+ Ee as R,
5380
5380
  Lo as S,
5381
5381
  jo as T,
5382
5382
  hn as U,
5383
5383
  al as V,
5384
- Ya as W,
5384
+ Ka as W,
5385
5385
  pe as X,
5386
5386
  Ko as Y,
5387
5387
  qo as Z,
@@ -5398,7 +5398,7 @@ export {
5398
5398
  po as a8,
5399
5399
  Ho as a9,
5400
5400
  zo as aa,
5401
- Vo as ab,
5401
+ Eo as ab,
5402
5402
  Uo as ac,
5403
5403
  ho as ad,
5404
5404
  So as ae,
@@ -5406,11 +5406,11 @@ export {
5406
5406
  _o as ag,
5407
5407
  Fo as ah,
5408
5408
  Ft as ai,
5409
- $a as aj,
5409
+ Ra as aj,
5410
5410
  ci as ak,
5411
5411
  To as al,
5412
5412
  tl as am,
5413
- Eo as an,
5413
+ Vo as an,
5414
5414
  Io as ao,
5415
5415
  Wo as ap,
5416
5416
  Qo as aq,
@@ -5428,11 +5428,11 @@ export {
5428
5428
  vo as e,
5429
5429
  He as f,
5430
5430
  ze as g,
5431
- Ha as h,
5431
+ za as h,
5432
5432
  Oi as i,
5433
5433
  ps as j,
5434
5434
  ll as k,
5435
- Ae as l,
5435
+ Pe as l,
5436
5436
  ol as m,
5437
5437
  Ao as n,
5438
5438
  J as o,
@@ -5446,5 +5446,5 @@ export {
5446
5446
  rl as w,
5447
5447
  Ts as x,
5448
5448
  wo as y,
5449
- Wa as z
5449
+ Qa as z
5450
5450
  };