@arcgis/charts-components 4.34.0-next.159 → 4.34.0-next.160

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 (289) hide show
  1. package/dist/cdn/{57I6EWU2.js → 24XBC7ZF.js} +2 -2
  2. package/dist/cdn/{3SB6DML5.js → 2AUBGMCH.js} +2 -2
  3. package/dist/cdn/{5OND4NQY.js → 2ELMSDWI.js} +2 -2
  4. package/dist/cdn/{ITCG6WR4.js → 2G5HADLO.js} +2 -2
  5. package/dist/cdn/{G5U6CZLS.js → 2HYVZ2A4.js} +2 -2
  6. package/dist/cdn/{MF5SZ73F.js → 2LHVSJDX.js} +1 -1
  7. package/dist/cdn/{B2WED4W7.js → 2P7EGEQQ.js} +2 -2
  8. package/dist/cdn/{LTZJVZSF.js → 2SX6EDVF.js} +2 -2
  9. package/dist/cdn/{GWTVPGNV.js → 3EBLWW7V.js} +2 -2
  10. package/dist/cdn/{YT5SO6MM.js → 3OT6GQCC.js} +2 -2
  11. package/dist/cdn/{W4NEW2DG.js → 3QANHSAW.js} +2 -2
  12. package/dist/cdn/{4KZ7VC3Q.js → 45HPYET2.js} +2 -2
  13. package/dist/cdn/{7XT2FDZ2.js → 4BXHNA3Z.js} +2 -2
  14. package/dist/cdn/{S4NRH7PF.js → 4N7AGCLJ.js} +2 -2
  15. package/dist/cdn/{S6EAOZ2S.js → 4Y2RCUI3.js} +2 -2
  16. package/dist/cdn/{AZ2DCAY3.js → 56CWKZHQ.js} +2 -2
  17. package/dist/cdn/{FOFLG5VG.js → 5B3A7U26.js} +2 -2
  18. package/dist/cdn/{ERFDJARP.js → 5RCDXHDG.js} +2 -2
  19. package/dist/cdn/{BNWOG3TS.js → 5SDGBUH4.js} +2 -2
  20. package/dist/cdn/{MS73ZUNL.js → 6FPD2OO6.js} +2 -2
  21. package/dist/cdn/{T6SOQIJD.js → 6J5V7WWS.js} +2 -2
  22. package/dist/cdn/{5VDLCC7Z.js → 6J7D54B6.js} +2 -2
  23. package/dist/cdn/{P4ILFZ22.js → 6KBGTWVK.js} +2 -2
  24. package/dist/cdn/{KLDIK6ZB.js → 6NMZKBAO.js} +1 -1
  25. package/dist/cdn/{VRMUB72M.js → 6ODBLT4Q.js} +2 -2
  26. package/dist/cdn/{MR52RKJH.js → 6R2NMJPV.js} +1 -1
  27. package/dist/cdn/{3PPVQT2T.js → 72XRJW4V.js} +2 -2
  28. package/dist/cdn/{DFQAQ4R6.js → 74ZGFAJY.js} +1 -1
  29. package/dist/cdn/{SOX2ELBY.js → 75LM5DLQ.js} +2 -2
  30. package/dist/cdn/{5GY7WFCN.js → 7GEHE2PO.js} +2 -2
  31. package/dist/cdn/{AGPEZHAP.js → 7YRWYOPE.js} +2 -2
  32. package/dist/cdn/{3UP5IG2T.js → A3422VM3.js} +2 -2
  33. package/dist/cdn/{PIXC57CQ.js → A5LDPQGY.js} +2 -2
  34. package/dist/cdn/{VFIP5WMA.js → AFDHXWNX.js} +2 -2
  35. package/dist/cdn/{FHQW2NQZ.js → AJBURLKI.js} +2 -2
  36. package/dist/cdn/{OQNKPXVY.js → ANMZQLSG.js} +2 -2
  37. package/dist/cdn/{OFK4KQQH.js → ASOC2CYN.js} +2 -2
  38. package/dist/cdn/{UI6WZYYU.js → AW5ZLWE4.js} +2 -2
  39. package/dist/cdn/{2D3V3L6M.js → B667IHUO.js} +2 -2
  40. package/dist/cdn/{4CKR3NH7.js → BENW7BCP.js} +2 -2
  41. package/dist/cdn/{FTZEPDYB.js → BGVOZTJ3.js} +2 -2
  42. package/dist/cdn/{6HVUDY2G.js → BH6LKGEH.js} +2 -2
  43. package/dist/cdn/{OX7PYCKM.js → BPPRRB6P.js} +2 -2
  44. package/dist/cdn/{NB32L24K.js → C4KC6RWP.js} +2 -2
  45. package/dist/cdn/{SS3BZLXI.js → CCH42UGM.js} +2 -2
  46. package/dist/cdn/{RE6DRV5W.js → CJ3SLWVK.js} +2 -2
  47. package/dist/cdn/{FYSAFFXD.js → CJBMT3E4.js} +2 -2
  48. package/dist/cdn/{LXZ4EAKW.js → CXMGIQJQ.js} +2 -2
  49. package/dist/cdn/{WHM6EBNZ.js → CZEXT2H3.js} +2 -2
  50. package/dist/cdn/{5ZQTL4VR.js → D2GUGDVX.js} +2 -2
  51. package/dist/cdn/{YWH5NP4W.js → D37XDESW.js} +2 -2
  52. package/dist/cdn/{AU3WYF4Y.js → DERAGGXU.js} +2 -2
  53. package/dist/cdn/{T2JQMNJJ.js → DHPWMLCE.js} +2 -2
  54. package/dist/cdn/{T2QYIP7P.js → DLG2BRF3.js} +2 -2
  55. package/dist/cdn/{RUHHLRKK.js → DNE7USH4.js} +2 -2
  56. package/dist/cdn/{RX6H2W7A.js → DR62QFXB.js} +2 -2
  57. package/dist/cdn/{C7H36HHI.js → DVNJIV2P.js} +2 -2
  58. package/dist/cdn/{S76ATLII.js → E2GIMSFX.js} +2 -2
  59. package/dist/cdn/{JWI7JIGN.js → E4ATVGXP.js} +2 -2
  60. package/dist/cdn/{FDUSXU4K.js → E6N7EI63.js} +2 -2
  61. package/dist/cdn/{OO6SDRMR.js → EAQIGSTJ.js} +2 -2
  62. package/dist/cdn/{4ZM7XKDN.js → ELZXLXO5.js} +2 -2
  63. package/dist/cdn/{QQRAA2PK.js → EWI6HMGX.js} +2 -2
  64. package/dist/cdn/{C3JXXA4J.js → EXUYNO2K.js} +2 -2
  65. package/dist/cdn/{6FND2ACJ.js → F2XIPODE.js} +2 -2
  66. package/dist/cdn/{R2UY5FBL.js → FBAJWNS5.js} +2 -2
  67. package/dist/cdn/{GONTDHBD.js → FBZPUHHV.js} +2 -2
  68. package/dist/cdn/{Y44VFHBM.js → FD3LUXY5.js} +2 -2
  69. package/dist/cdn/{ITQYXEKE.js → FRVRZGPW.js} +1 -1
  70. package/dist/cdn/{KIRB5KJA.js → G4YR4TAK.js} +2 -2
  71. package/dist/cdn/{UDXK7TVS.js → G7OFI5Q2.js} +2 -2
  72. package/dist/cdn/{6GRATQK4.js → GJSD4PKZ.js} +2 -2
  73. package/dist/cdn/{PJYLT6DT.js → H33NZSEC.js} +2 -2
  74. package/dist/cdn/{7MLDA2UH.js → HBUG3F2K.js} +2 -2
  75. package/dist/cdn/{VKE7U2XW.js → HNUXC4WA.js} +2 -2
  76. package/dist/cdn/{TKFU4VPO.js → IBJGJZUD.js} +2 -2
  77. package/dist/cdn/{6BUJZDQN.js → ID4MMDC6.js} +2 -2
  78. package/dist/cdn/{VA3RBCTF.js → IHLDC2D7.js} +2 -2
  79. package/dist/cdn/{I2OQB7W4.js → IUFADMRJ.js} +2 -2
  80. package/dist/cdn/{3D2SHU6O.js → J3RBLBY6.js} +2 -2
  81. package/dist/cdn/{5PIWA3BP.js → JA6JXXLZ.js} +2 -2
  82. package/dist/cdn/{2YDZZKQO.js → JBS7AJV5.js} +2 -2
  83. package/dist/cdn/{DWP6LQBS.js → JIVJDHNC.js} +2 -2
  84. package/dist/cdn/{ZSORK6H6.js → JKNB73RH.js} +2 -2
  85. package/dist/cdn/{HNKSMAHA.js → JKULIUOF.js} +1 -1
  86. package/dist/cdn/{BQ4JP3YU.js → JM2AJBTA.js} +2 -2
  87. package/dist/cdn/{BES2DCKY.js → JWUEG53L.js} +2 -2
  88. package/dist/cdn/{MZCHU744.js → KG3DDVWK.js} +2 -2
  89. package/dist/cdn/{GEDKTZTQ.js → KGZE3YCB.js} +2 -2
  90. package/dist/cdn/{NCE47T3A.js → KN2U6URI.js} +2 -2
  91. package/dist/cdn/{7673LHE3.js → KNN7JJB5.js} +2 -2
  92. package/dist/cdn/{TMY3QHAH.js → KNQ75NFS.js} +2 -2
  93. package/dist/cdn/{ZG7N3N76.js → KZ22DYVD.js} +2 -2
  94. package/dist/cdn/{2QFT34MA.js → LAMIFL65.js} +2 -2
  95. package/dist/cdn/{WWE3GZAL.js → LBIZMI7N.js} +2 -2
  96. package/dist/cdn/{V5C64RIB.js → LCW4BRT5.js} +2 -2
  97. package/dist/cdn/{ESO3JA6N.js → LEYC5KTG.js} +2 -2
  98. package/dist/cdn/{EGZO6OPF.js → LSJDSVPI.js} +2 -2
  99. package/dist/cdn/{MY45HOMW.js → MGCKTD5L.js} +2 -2
  100. package/dist/cdn/{DEEKFKVB.js → MKSVAHBF.js} +2 -2
  101. package/dist/cdn/{ERRVG6EX.js → MS26MQCR.js} +2 -2
  102. package/dist/cdn/{K53FHV6E.js → NGQKGOIL.js} +2 -2
  103. package/dist/cdn/{3V2R6EZK.js → NKWDJI5A.js} +2 -2
  104. package/dist/cdn/{356THV4C.js → NQCEYDLB.js} +2 -2
  105. package/dist/cdn/{ANDCTY22.js → O2SHLMPN.js} +2 -2
  106. package/dist/cdn/{OIIVTYPG.js → O47HTTQT.js} +2 -2
  107. package/dist/cdn/{H6OTKDK3.js → O4QYJFSA.js} +2 -2
  108. package/dist/cdn/{RAWENHB4.js → O5JIZP5P.js} +2 -2
  109. package/dist/cdn/{2EXR7F24.js → OJF2LV5Q.js} +2 -2
  110. package/dist/cdn/{MVVEBM6T.js → OKR4H2JR.js} +2 -2
  111. package/dist/cdn/{ANUADGCU.js → OTEQMMVW.js} +1 -1
  112. package/dist/cdn/{L4E6B5LU.js → OTWWMARA.js} +2 -2
  113. package/dist/cdn/{UDTTWW3B.js → OUGIHRF4.js} +2 -2
  114. package/dist/cdn/{OHAX3I5X.js → OWTR7NSN.js} +2 -2
  115. package/dist/cdn/{3JQ7Z5B7.js → PMG52S4K.js} +2 -2
  116. package/dist/cdn/{AYHKLKR3.js → PPWICDAX.js} +2 -2
  117. package/dist/cdn/{O6KL3S42.js → PTDD6LGQ.js} +2 -2
  118. package/dist/cdn/{BNL7SF7P.js → PVHDR4FL.js} +2 -2
  119. package/dist/cdn/{PFLSLYB7.js → PVMCNGHH.js} +2 -2
  120. package/dist/cdn/{KZSXI6P7.js → PWXCYICW.js} +2 -2
  121. package/dist/cdn/{AFIK4X6C.js → Q4NVO2CJ.js} +2 -2
  122. package/dist/cdn/{JY75NP75.js → QGHIIMYA.js} +1 -1
  123. package/dist/cdn/{3EOZQLLU.js → QKWTBSP5.js} +2 -2
  124. package/dist/cdn/{JG64JWYI.js → QPPUTYR6.js} +2 -2
  125. package/dist/cdn/{62O4YCG7.js → QYFGULNC.js} +2 -2
  126. package/dist/cdn/{7HOH4P2Q.js → R2YXTEZU.js} +2 -2
  127. package/dist/cdn/{GU6TGOYS.js → R5H32ROB.js} +2 -2
  128. package/dist/cdn/{N3QREAD2.js → R7Z52PWI.js} +2 -2
  129. package/dist/cdn/{2QSPDOZJ.js → RD3KKRU6.js} +2 -2
  130. package/dist/cdn/{QKNJABFT.js → RDNHS5P5.js} +2 -2
  131. package/dist/cdn/{N7MODF4Y.js → RTIXCAVR.js} +2 -2
  132. package/dist/cdn/{3B25G2NB.js → RYNWQAUV.js} +2 -2
  133. package/dist/cdn/{PUSFUMJN.js → S72XDW5B.js} +2 -2
  134. package/dist/cdn/{7LURIZNH.js → SD7IJN57.js} +2 -2
  135. package/dist/cdn/{Y4PQRMQK.js → SDGWH2RH.js} +2 -2
  136. package/dist/cdn/{EFCZPR3D.js → SM5YCNMH.js} +1 -1
  137. package/dist/cdn/{HF7ZAGEM.js → SNFGWD5N.js} +2 -2
  138. package/dist/cdn/{AWE7LJ6P.js → SQHRUVT5.js} +2 -2
  139. package/dist/cdn/{CWQHXOBK.js → SRLLFS2F.js} +2 -2
  140. package/dist/cdn/{6KUYN5Z3.js → SVNAM43K.js} +2 -2
  141. package/dist/cdn/{7IBYRMKK.js → SWILRFWF.js} +2 -2
  142. package/dist/cdn/{GDYHWCBL.js → TC3KJ5JM.js} +2 -2
  143. package/dist/cdn/{KLLWAXU6.js → TFUTQ73S.js} +2 -2
  144. package/dist/cdn/{AI7IIVI4.js → TLM2TV4E.js} +2 -2
  145. package/dist/cdn/{ZNTYQGY2.js → TMVW32TU.js} +1 -1
  146. package/dist/cdn/{3FJXV4JV.js → TTGYVAN5.js} +2 -2
  147. package/dist/cdn/{BGRUTPS6.js → TYZHOFHX.js} +2 -2
  148. package/dist/cdn/{3JAKNXDH.js → TZVFZPQA.js} +7 -7
  149. package/dist/cdn/{QPAYCI35.js → U4XO7ZWP.js} +2 -2
  150. package/dist/cdn/{TBZWKUBV.js → U5LPJ5GY.js} +2 -2
  151. package/dist/cdn/{45MWA3UP.js → U5SWQ4UA.js} +2 -2
  152. package/dist/cdn/{VBTMTJOM.js → UD4OAXAN.js} +2 -2
  153. package/dist/cdn/{QJBQYXKL.js → UI7XSCAS.js} +2 -2
  154. package/dist/cdn/{VSUTELWY.js → UNUES3VG.js} +2 -2
  155. package/dist/cdn/{YHEUTP7J.js → UOXBMQWF.js} +2 -2
  156. package/dist/cdn/{SYKEFP3T.js → UYMQACCO.js} +2 -2
  157. package/dist/cdn/{PGV4T3BS.js → V2YQB62I.js} +2 -2
  158. package/dist/cdn/{XKVDJWUB.js → VKBDACG3.js} +2 -2
  159. package/dist/cdn/{AORNJXSL.js → VLXSGBA3.js} +2 -2
  160. package/dist/cdn/{LQ62XAT7.js → VTSPY4SZ.js} +2 -2
  161. package/dist/cdn/{OYWKXFOM.js → VUDADXRU.js} +2 -2
  162. package/dist/cdn/{5OAETCF6.js → W2447IEP.js} +2 -2
  163. package/dist/cdn/{MR7SM3QA.js → W5LVBUVK.js} +2 -2
  164. package/dist/cdn/{BAOLMK3U.js → W7E6BK2W.js} +2 -2
  165. package/dist/cdn/{M7PBGEV3.js → W7QU4SFA.js} +2 -2
  166. package/dist/cdn/{ZI5YHBXQ.js → WABENOEY.js} +2 -2
  167. package/dist/cdn/{623NVQYV.js → WDXDPW3K.js} +2 -2
  168. package/dist/cdn/{VN3U6YSG.js → WOURNEMN.js} +2 -2
  169. package/dist/cdn/{XHAFQY5U.js → WUI3IDOF.js} +2 -2
  170. package/dist/cdn/{66VOXKLE.js → WY2OV2J2.js} +2 -2
  171. package/dist/cdn/{EW3DJZ5E.js → WZ33WPJ6.js} +2 -2
  172. package/dist/cdn/{5XVL7AIA.js → X4VLQXPR.js} +2 -2
  173. package/dist/cdn/{DRDUNOKD.js → X7QGJH24.js} +2 -2
  174. package/dist/cdn/{GRYE3FBI.js → XDK3DFHU.js} +2 -2
  175. package/dist/cdn/{KRSERDTB.js → XZ5WWF7Y.js} +2 -2
  176. package/dist/cdn/{V4F7Q5DN.js → Y2GFYUDL.js} +2 -2
  177. package/dist/cdn/{TN5WAN2H.js → Y3T5JX3Y.js} +2 -2
  178. package/dist/cdn/{PQBZHV4S.js → YKLI6WST.js} +2 -2
  179. package/dist/cdn/{3RKLHDJZ.js → Z3LUP7UQ.js} +2 -2
  180. package/dist/cdn/{CIPWOI3V.js → Z444GUNQ.js} +2 -2
  181. package/dist/cdn/{SD7TNXB5.js → ZANGZYAD.js} +2 -2
  182. package/dist/cdn/{QD55357L.js → ZIC5YHKY.js} +2 -2
  183. package/dist/cdn/index.js +2 -2
  184. package/dist/chunks/action-bar-utils.js +1 -1
  185. package/dist/chunks/axis-model-wrapper.js +1 -1
  186. package/dist/chunks/bar-chart-model.js +1 -1
  187. package/dist/chunks/bar-chart-series.js +1 -1
  188. package/dist/chunks/baseline-stacking.js +1 -1
  189. package/dist/chunks/bg_BG.js +1 -1
  190. package/dist/chunks/bg_BG2.js +1 -1
  191. package/dist/chunks/box-plot-data.js +1 -1
  192. package/dist/chunks/box-plot-model.js +1 -1
  193. package/dist/chunks/chart-ui-utils.js +1 -1
  194. package/dist/chunks/chart-ui-utils2.js +1 -1
  195. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  196. package/dist/chunks/common.js +1 -1
  197. package/dist/chunks/config-update.js +561 -562
  198. package/dist/chunks/data.js +1 -1
  199. package/dist/chunks/default.js +1 -1
  200. package/dist/chunks/gauge-model.js +1 -1
  201. package/dist/chunks/heat-chart-model.js +1 -1
  202. package/dist/chunks/histogram-data.js +1 -1
  203. package/dist/chunks/histogram-model.js +1 -1
  204. package/dist/chunks/index.js +1 -1
  205. package/dist/chunks/index2.js +1 -1
  206. package/dist/chunks/index3.js +1 -1
  207. package/dist/chunks/index4.js +1 -1
  208. package/dist/chunks/index5.js +1 -1
  209. package/dist/chunks/interfaces.js +1 -1
  210. package/dist/chunks/interfaces2.js +1 -1
  211. package/dist/chunks/interfaces3.js +1 -1
  212. package/dist/chunks/interfaces4.js +1 -1
  213. package/dist/chunks/line-chart-model.js +1 -1
  214. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  215. package/dist/chunks/model-with-data-labels.js +1 -1
  216. package/dist/chunks/model-with-multi-axes.js +1 -1
  217. package/dist/chunks/model-with-rotation.js +1 -1
  218. package/dist/chunks/pie-chart-data.js +1 -1
  219. package/dist/chunks/pie-chart-model.js +1 -1
  220. package/dist/chunks/popover-ui-utils.js +1 -1
  221. package/dist/chunks/radar-chart-model.js +1 -1
  222. package/dist/chunks/resource.js +1 -1
  223. package/dist/chunks/rest-js-object-literals.js +1 -1
  224. package/dist/chunks/runtime.js +1 -1
  225. package/dist/chunks/scatterplot-model.js +1 -1
  226. package/dist/chunks/serial-chart-model.js +1 -1
  227. package/dist/chunks/series-types.js +1 -1
  228. package/dist/chunks/series.js +1 -1
  229. package/dist/chunks/sk_SK.js +1 -1
  230. package/dist/chunks/store.js +1 -1
  231. package/dist/chunks/type-guards.js +1 -1
  232. package/dist/chunks/useT9n.js +1 -1
  233. package/dist/chunks/web-component-utils.js +1 -1
  234. package/dist/components/arcgis-chart/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  236. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  238. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  281. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  282. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  283. package/dist/docs/api.json +2 -2
  284. package/dist/docs/docs.json +2 -2
  285. package/dist/docs/web-types.json +1 -1
  286. package/dist/index.js +1 -1
  287. package/dist/loader.js +1 -1
  288. package/dist/model.js +1 -1
  289. package/package.json +3 -3
@@ -1,8 +1,8 @@
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 ne, b as _, g as fe, 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";
2
2
  import "@arcgis/toolkit/intl";
3
3
  import { cloneDeep as Ce, isArray as vt, isEmpty as Ri, isEqual as Le, sortBy as Ot } from "lodash-es";
4
4
  import { extent as ki, mean as ji, max as Wi, min as Qi, sum as Hi, rollup as zi } from "d3-array";
5
- import { b6 as pt, cA as h, p as E, c9 as Gt, c5 as z, a6 as Ut, s as Gi, E as _t, d as ne, a as he, U as Y, cm as lt, b4 as $e, I as se, r as oe, q as Ne, bd as We, aV as Re, a2 as nt, T as xe, 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 Fe, bO as ti, bB as la, bo as ii, bC as ca, bD as ua, cC as ae, R as da, Q as It, bE as ai, bW as fa, bw as ma, bi as ni, bv as ga, by as ya, bg as pa, bj as ha, Y as ri, b9 as Sa } from "./interfaces.js";
5
+ import { b6 as pt, cA as h, p as V, c9 as Gt, c5 as z, a6 as Ut, s as Gi, E as _t, d as ae, a as pe, U as Y, cm as lt, b4 as $e, I as re, r as se, q as Ne, bd as We, aV as Re, a2 as nt, T as xe, cg as ht, ck as Z, l as me, cr as Ui, ca as qt, cc as Yt, P as I, k as K, G as U, a4 as k, cv as Kt, D as R, bV as _i, J as Nt, bA as ge, 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 he, 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 Se, bO as ti, bB as la, bo as ii, bC as ca, bD as ua, cC as ie, 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";
@@ -12,13 +12,13 @@ import "@arcgis/core/core/promiseUtils.js";
12
12
  import Fa from "@arcgis/core/request.js";
13
13
  import "./runtime.js";
14
14
  import "@arcgis/toolkit/dom";
15
- import { b as ba, R as rt, a as Ye, j as ie } from "./rest-js-object-literals.js";
15
+ import { b as ba, R as rt, a as Ye, j as te } from "./rest-js-object-literals.js";
16
16
  import { C as b } from "./interfaces4.js";
17
17
  import * as xa from "@arcgis/core/renderers/support/jsonUtils.js";
18
18
  import * as gt from "@arcgis/core/symbols/support/symbolUtils.js";
19
19
  import Ca from "@arcgis/core/Graphic.js";
20
20
  import { u as yt } from "./index2.js";
21
- import { substitute as de } from "@arcgis/core/intl.js";
21
+ import { substitute as ue } from "@arcgis/core/intl.js";
22
22
  import { d as Ba } from "./index3.js";
23
23
  import $t from "@arcgis/core/layers/support/FeatureFilter.js";
24
24
  import va from "@arcgis/core/smartMapping/statistics/histogram.js";
@@ -28,12 +28,12 @@ import { c as Pa } from "./index.js";
28
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/4.34/esri/copyright.txt for details.
31
- v4.34.0-next.159 */
31
+ v4.34.0-next.160 */
32
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
  }
36
- function pe(i) {
36
+ function ye(i) {
37
37
  return i.axes?.[0]?.valueFormat?.type;
38
38
  }
39
39
  function oo(i) {
@@ -45,7 +45,7 @@ function J(i) {
45
45
  function lo(i) {
46
46
  return J(i) && i.intlOptions?.style === "percent";
47
47
  }
48
- function fe(i) {
48
+ function de(i) {
49
49
  return i?.type === S.CategoryAxisFormat;
50
50
  }
51
51
  function Pe(i) {
@@ -65,13 +65,13 @@ function Da(i) {
65
65
  return J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
66
66
  }
67
67
  function Oa(i) {
68
- return (fe(i?.[0]?.valueFormat) || Pe(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
68
+ return (de(i?.[0]?.valueFormat) || Pe(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat) && (i?.[2]?.valueFormat === void 0 || J(i[2].valueFormat));
69
69
  }
70
70
  function qa(i) {
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);
71
+ return de(i?.[0]?.valueFormat) && de(i?.[1]?.valueFormat) || Pe(i?.[0]?.valueFormat) && de(i?.[1]?.valueFormat) || Pe(i?.[0]?.valueFormat) && Pe(i?.[1]?.valueFormat);
72
72
  }
73
73
  function Ea(i) {
74
- return (fe(i?.[0]?.valueFormat) || Pe(i?.[0]?.valueFormat)) && J(i?.[1]?.valueFormat);
74
+ return (de(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);
@@ -115,7 +115,7 @@ async function uo(i) {
115
115
  }
116
116
  function Ra(i) {
117
117
  const { isXAxis: e, chartType: t, valueFormat: a, isAxisForHistogramOverlaySeries: n } = i;
118
- return e && (fe(a) || t === S.HistogramSeries && !n || t === S.BarSeries && J(a));
118
+ return e && (de(a) || t === S.HistogramSeries && !n || t === S.BarSeries && J(a));
119
119
  }
120
120
  function fo(i) {
121
121
  const { chartConfig: e, isSecondValueAxis: t, seriesIds: a } = i;
@@ -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 = E(e.series), s = Gt(e), o = z(t), c = e.chartRenderer ?? o?.renderer?.toJSON();
220
+ const r = V(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;
@@ -234,7 +234,7 @@ function Ft(i) {
234
234
  return i !== h.PieNoAggregation && i !== h.BarAndLineNoAggregation && i !== h.BarAndLineSplitByNoAggregation;
235
235
  }
236
236
  function Wa(i) {
237
- const e = E(i.series);
237
+ const e = V(i.series);
238
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) {
@@ -273,7 +273,7 @@ function ze(i) {
273
273
  const { originalCategoryValue: l, originalDateValue: u, typeOrDomainIdValue: d } = b;
274
274
  if (t !== void 0) {
275
275
  const f = s ? xs(t) : void 0;
276
- a !== void 0 && t[a] !== void 0 ? c = t[a] : f !== void 0 ? c = f : n === !1 && t[d] !== void 0 ? c = t[d] : t[u] !== void 0 ? c = t[u] : t[l] !== void 0 ? c = t[l] : t[ne] !== void 0 && (c = t[ne]), !r && c === null && (c = "null", o?.series?.[0].type === S.BarSeries && (c = o.series?.[0]?.nullCategory?.text ?? si.nullCategory?.text ?? c));
276
+ a !== void 0 && t[a] !== void 0 ? c = t[a] : f !== void 0 ? c = f : n === !1 && t[d] !== void 0 ? c = t[d] : t[u] !== void 0 ? c = t[u] : t[l] !== void 0 ? c = t[l] : t[ae] !== void 0 && (c = t[ae]), !r && c === null && (c = "null", o?.series?.[0].type === S.BarSeries && (c = o.series?.[0]?.nullCategory?.text ?? si.nullCategory?.text ?? c));
277
277
  }
278
278
  return c;
279
279
  }
@@ -292,7 +292,7 @@ function Ge(i) {
292
292
  isPieOrByFieldsChart: c
293
293
  } = i;
294
294
  if (e !== void 0 && e.length > 1) {
295
- const l = t === me.Descending && n !== !0;
295
+ const l = t === fe.Descending && n !== !0;
296
296
  e.sort((u, d) => {
297
297
  let f = 0, m = u[a];
298
298
  s === !0 && !c && (m = ze({
@@ -311,7 +311,7 @@ function Ge(i) {
311
311
  }
312
312
  function Ga(i) {
313
313
  const { arrayToSort: e, orderBy: t, sortingField: a, fieldList: n, isByFieldsChart: r, preferLabel: s } = i;
314
- e !== void 0 && e.length > 1 && !ee(a) && t !== void 0 && t.length > 0 && e.sort((o, c) => {
314
+ e !== void 0 && e.length > 1 && !Z(a) && t !== void 0 && t.length > 0 && e.sort((o, c) => {
315
315
  let l = o[a];
316
316
  s && r && typeof l == "string" && (l = ht(n, l));
317
317
  let u = t.indexOf(l?.toString() ?? "");
@@ -324,9 +324,9 @@ function Ga(i) {
324
324
  }
325
325
  function oi(i, e) {
326
326
  const t = i;
327
- if (e?.[0] !== void 0 && E(e) === h.PieFromFields) {
327
+ if (e?.[0] !== void 0 && V(e) === h.PieFromFields) {
328
328
  const { x: a, y: n } = e[0];
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));
329
+ (vt(i) ? t : t.dataItems).forEach((o) => (ae in o && a !== ae && (o[a] = o[a] !== void 0 ? o[a] : o[ae], delete o[ae]), pe in o && n !== pe && (o[n] = o[n] !== void 0 ? o[n] : o[pe], delete o[pe]), o));
330
330
  }
331
331
  return t;
332
332
  }
@@ -401,13 +401,13 @@ 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 = E(i.series);
404
+ const a = V(i.series);
405
405
  e = a !== h.BarAndLineNoAggregation && a !== h.BarAndLineSplitByNoAggregation;
406
406
  }
407
407
  return e;
408
408
  }
409
409
  function Ya(i) {
410
- return E(i.series) !== h.PieNoAggregation;
410
+ return V(i.series) !== h.PieNoAggregation;
411
411
  }
412
412
  function Ka(i) {
413
413
  const { dataContext: e, chartConfig: t, chartLimits: a } = i;
@@ -462,7 +462,7 @@ function Xa(i, e) {
462
462
  return JSON.stringify(i.series[0]?.valueConversion) !== JSON.stringify(e.series[0]?.valueConversion);
463
463
  }
464
464
  function Za(i, e) {
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);
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 ?? ne.Null) !== (e.nullPolicy ?? ne.Null);
466
466
  }
467
467
  function en(i) {
468
468
  const { oldConfig: e, newConfig: t, fieldList: a } = i, n = e.series[0], r = t.series[0];
@@ -507,9 +507,9 @@ function kt(i, e) {
507
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) && Ne({
510
+ if (se(r) && Ne({
511
511
  seriesConfig: r,
512
- xAxisValueFormatType: pe(t),
512
+ xAxisValueFormatType: ye(t),
513
513
  setTimeBinningInfoWhenNotProvided: n
514
514
  })) {
515
515
  const l = e[0];
@@ -537,7 +537,7 @@ function nn(i, e) {
537
537
  else {
538
538
  const a = W(i);
539
539
  if (a !== S.HistogramSeries && a !== S.GaugeSeries) {
540
- const n = se(i).sort(), r = se(e).sort();
540
+ const n = re(i).sort(), r = re(e).sort();
541
541
  t = JSON.stringify(n) !== JSON.stringify(r);
542
542
  }
543
543
  }
@@ -552,23 +552,23 @@ function di(i) {
552
552
  return t?.filterBySelection === !0 && (a = e?.length !== t?.selectionData?.selectionOIDs?.length || !Le(e, t?.selectionData?.selectionOIDs)), a;
553
553
  }
554
554
  function sn(i, e) {
555
- return oe(i.series[0]) && oe(e.series[0]) && (i.series[0].binTemporalData ?? b.binTemporalData) !== (e.series[0].binTemporalData ?? b.binTemporalData);
555
+ return se(i.series[0]) && se(e.series[0]) && (i.series[0].binTemporalData ?? b.binTemporalData) !== (e.series[0].binTemporalData ?? b.binTemporalData);
556
556
  }
557
557
  function bo(i, e) {
558
558
  return i?.length !== e?.length || i?.some((t, a) => {
559
- const n = ge({ where: t?.query?.where }), r = ge({ where: e?.[a]?.query?.where });
559
+ const n = me({ where: t?.query?.where }), r = me({ where: e?.[a]?.query?.where });
560
560
  return n !== r;
561
561
  });
562
562
  }
563
563
  function xo(i, e) {
564
- const t = se(i), a = se(e);
564
+ const t = re(i), a = re(e);
565
565
  return JSON.stringify(t) !== JSON.stringify(a);
566
566
  }
567
567
  function on(i, e) {
568
568
  return He(i) !== He(e);
569
569
  }
570
570
  function ln(i, e) {
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;
571
+ const t = i.axes?.[0].valueFormat.type, a = e.axes?.[0].valueFormat.type, n = V(e.series), r = n === h.BarAndLineNoAggregation || n === h.BarAndLineSplitByNoAggregation, s = t === S.DateAxisFormat && a === S.NumberAxisFormat, o = t === S.NumberAxisFormat && a === S.DateAxisFormat;
572
572
  return t !== a && (r || s || o);
573
573
  }
574
574
  function Co(i) {
@@ -658,7 +658,7 @@ function Bo(i) {
658
658
  }
659
659
  function cn(i, e) {
660
660
  let t = !0;
661
- if (i !== void 0 && i.length > 1 && !ee(e)) {
661
+ if (i !== void 0 && i.length > 1 && !Z(e)) {
662
662
  let a = 0, n = 0, r = 0;
663
663
  i.forEach((s) => {
664
664
  const o = s[e];
@@ -690,8 +690,8 @@ function fi(i, e) {
690
690
  maxLineThreePlusSeriesCountTotal: g,
691
691
  maxPieChartSliceCountTotal: y,
692
692
  maxGaugeByFeaturesLimit: p
693
- } = Re(e), x = W(i.series), F = i.series.length === 0 ? 1 : i.series.length, C = E(i.series);
694
- switch (x) {
693
+ } = Re(e), C = W(i.series), F = i.series.length === 0 ? 1 : i.series.length, x = V(i.series);
694
+ switch (C) {
695
695
  case S.ComboLineAndBarSeries:
696
696
  case S.BarSeries:
697
697
  F <= a && (F === 1 ? t = n : F === 2 ? t = it({
@@ -727,7 +727,7 @@ function fi(i, e) {
727
727
  // handled through the number of bins
728
728
  case S.BoxPlotSeries:
729
729
  }
730
- return (C === h.BarAndLineNoAggregation || C === h.BarAndLineMultiFields) && t !== void 0 && (t = Math.ceil(t / F)), t;
730
+ return (x === h.BarAndLineNoAggregation || x === h.BarAndLineMultiFields) && t !== void 0 && (t = Math.ceil(t / F)), t;
731
731
  }
732
732
  function jt(i, e) {
733
733
  let t = i;
@@ -753,7 +753,7 @@ function vo(i) {
753
753
  }
754
754
  return e;
755
755
  }
756
- const le = {
756
+ const oe = {
757
757
  DataProcessComplete: "arcgisChartsJSDataProcessComplete",
758
758
  DataFetchComplete: "arcgisChartsJSDataFetchComplete",
759
759
  LegendItemVisibilityChange: "arcgisChartsJSLegendItemVisibilityChange",
@@ -766,7 +766,7 @@ const le = {
766
766
  BadDataWarningRaise: "arcgisChartsJSBadDataWarningRaise",
767
767
  SeriesOrder: "arcgisChartsJSSeriesOrder"
768
768
  };
769
- function ce(i) {
769
+ function le(i) {
770
770
  return {
771
771
  detail: i,
772
772
  composed: !0,
@@ -779,7 +779,7 @@ function No(i) {
779
779
  if (a && e) {
780
780
  const n = ci({ data: e, seriesConfig: t });
781
781
  a.dispatchEvent(
782
- new window.CustomEvent(le.DataProcessComplete, ce(n))
782
+ new window.CustomEvent(oe.DataProcessComplete, le(n))
783
783
  );
784
784
  }
785
785
  }
@@ -787,37 +787,37 @@ function To(i) {
787
787
  const { data: e, chartConfig: t, htmlContainer: a } = i;
788
788
  if (a && e) {
789
789
  const n = gs(e, t);
790
- a.dispatchEvent(new window.CustomEvent(le.DataFetchComplete, ce(n)));
790
+ a.dispatchEvent(new window.CustomEvent(oe.DataFetchComplete, le(n)));
791
791
  }
792
792
  }
793
793
  function Ao(i, e) {
794
794
  e && e.dispatchEvent(
795
- new window.CustomEvent(le.LegendItemVisibilityChange, ce(i))
795
+ new window.CustomEvent(oe.LegendItemVisibilityChange, le(i))
796
796
  );
797
797
  }
798
798
  function Po(i, e) {
799
- e && e.dispatchEvent(new window.CustomEvent(le.UpdateComplete, ce(i)));
799
+ e && e.dispatchEvent(new window.CustomEvent(oe.UpdateComplete, le(i)));
800
800
  }
801
801
  function Lo(i) {
802
- i && i.dispatchEvent(new window.CustomEvent(le.RenderingComplete, ce()));
802
+ i && i.dispatchEvent(new window.CustomEvent(oe.RenderingComplete, le()));
803
803
  }
804
804
  function Mo(i) {
805
805
  const { data: e, seriesConfig: t, htmlContainer: a } = i;
806
806
  if (a) {
807
807
  const n = e;
808
808
  let r = Ce(e.selectionItems);
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)));
809
+ r && (r = li(r, t), r = r.map(bt), r = oi(r, t), n.selectionItems = r), a.dispatchEvent(new window.CustomEvent(oe.SelectionComplete, le(n)));
810
810
  }
811
811
  }
812
812
  function wo(i) {
813
- i && i.dispatchEvent(new window.CustomEvent(le.TooManySelectedElements, ce()));
813
+ i && i.dispatchEvent(new window.CustomEvent(oe.TooManySelectedElements, le()));
814
814
  }
815
815
  function Do(i) {
816
816
  const { data: e, htmlContainer: t, chartId: a, colorMatchApplied: n } = i;
817
817
  t && t.dispatchEvent(
818
818
  new window.CustomEvent(
819
- le.SeriesColorsChange,
820
- ce({
819
+ oe.SeriesColorsChange,
820
+ le({
821
821
  chartId: a,
822
822
  data: e,
823
823
  colorMatchApplied: n
@@ -826,18 +826,18 @@ function Do(i) {
826
826
  );
827
827
  }
828
828
  function Oo(i, e) {
829
- e && e.dispatchEvent(new window.CustomEvent(le.AxesMinMaxChange, ce(i)));
829
+ e && e.dispatchEvent(new window.CustomEvent(oe.AxesMinMaxChange, le(i)));
830
830
  }
831
831
  function qo(i, e) {
832
- e && e.dispatchEvent(new window.CustomEvent(le.BadDataWarningRaise, ce(i)));
832
+ e && e.dispatchEvent(new window.CustomEvent(oe.BadDataWarningRaise, le(i)));
833
833
  }
834
834
  function dn(i) {
835
835
  const { data: e, htmlContainer: t } = i;
836
- t && e && t.dispatchEvent(new window.CustomEvent(le.SeriesOrder, ce(e)));
836
+ t && e && t.dispatchEvent(new window.CustomEvent(oe.SeriesOrder, le(e)));
837
837
  }
838
838
  function Eo(i, e) {
839
839
  let t, a, n, r;
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);
840
+ return se(i.series[0]) && (t = i.series[0].temporalBinning?.unit, n = i.series[0].temporalBinning?.size), se(e.series[0]) && (a = e.series[0].temporalBinning?.unit, r = e.series[0].temporalBinning?.size), St(t, n) && !St(a, r);
841
841
  }
842
842
  function Vo(i, e) {
843
843
  return i.axes?.length === 3 && e.axes?.length === 2 || i.axes?.length === 2 && e.axes?.length === 3;
@@ -876,22 +876,22 @@ function fn(i, e) {
876
876
  return i.series.map((t) => t.name).join() !== e.series.map((t) => t.name).join();
877
877
  }
878
878
  function mn(i, e) {
879
- const t = i.orderOptions?.series, a = e.orderOptions?.series, n = (t?.orderBy ?? me.Ascending) !== (a?.orderBy ?? me.Ascending), r = (t?.preferLabel ?? !0) !== (a?.preferLabel ?? !0);
879
+ const t = i.orderOptions?.series, a = e.orderOptions?.series, n = (t?.orderBy ?? fe.Ascending) !== (a?.orderBy ?? fe.Ascending), r = (t?.preferLabel ?? !0) !== (a?.preferLabel ?? !0);
880
880
  return n || r;
881
881
  }
882
882
  function Go(i, e) {
883
883
  return mn(i, e) || fn(i, e);
884
884
  }
885
885
  function gn(i) {
886
- const e = E(i.series);
886
+ const e = V(i.series);
887
887
  let t;
888
888
  if (i.orderOptions?.data !== void 0) {
889
889
  let a = i.orderOptions?.data?.orderType ?? be.Category, n = i.orderOptions?.data?.orderBy;
890
890
  if (a === be.Category)
891
891
  a = i.series[0].x;
892
892
  else {
893
- a === be.Mean ? a = V.Average : a === be.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({
893
+ a === be.Mean ? a = I.Average : a === be.Median && (a = I.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 = me({
895
895
  where: i.series[0].query?.where
896
896
  });
897
897
  a = U({
@@ -900,11 +900,11 @@ function gn(i) {
900
900
  chartSubType: e,
901
901
  splitBy: s,
902
902
  splitByValue: o
903
- }), Array.isArray(n) && (n = me.Ascending);
903
+ }), Array.isArray(n) && (n = fe.Ascending);
904
904
  }
905
905
  t = {
906
906
  sortingField: a,
907
- orderBy: n ?? me.Ascending,
907
+ orderBy: n ?? fe.Ascending,
908
908
  preferLabel: i.orderOptions.data.preferLabel ?? !0
909
909
  };
910
910
  }
@@ -914,18 +914,18 @@ function yn(i) {
914
914
  let e;
915
915
  if (!mi(i) && i.series?.length > 0 && i.orderOptions?.data?.orderType === be.Category) {
916
916
  let a;
917
- fe(i.axes?.[0]?.valueFormat) ? a = k.xField : fe(i.axes?.[1]?.valueFormat) && (a = k.yField), a && (e = {
917
+ de(i.axes?.[0]?.valueFormat) ? a = k.xField : de(i.axes?.[1]?.valueFormat) && (a = k.yField), a && (e = {
918
918
  sortingField: a,
919
- orderBy: i.orderOptions?.data?.orderBy ?? me.Ascending
919
+ orderBy: i.orderOptions?.data?.orderBy ?? fe.Ascending
920
920
  });
921
921
  }
922
922
  return e;
923
923
  }
924
924
  function pn(i) {
925
- const e = i.series[0], { x: t, y: a } = e, n = E(i.series) === h.PieFromFields, r = E(i.series) === h.BarAndLineFromFields;
925
+ const e = i.series[0], { x: t, y: a } = e, n = V(i.series) === h.PieFromFields, r = V(i.series) === h.BarAndLineFromFields;
926
926
  let s, o = "", c;
927
927
  if (i.orderOptions?.data !== void 0) {
928
- 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 ?? be.Category, c = i.orderOptions?.data?.orderBy, o === be.Category ? o = n ? ae : t : o = n ? pe : [a].flat()[0], o !== void 0 && o !== "") {
929
929
  const l = Yt(i);
930
930
  if (W(i.series) !== S.PieSeries && o !== t && i.series?.length > 1)
931
931
  switch (l) {
@@ -941,7 +941,7 @@ function pn(i) {
941
941
  }
942
942
  s = {
943
943
  sortingField: o,
944
- orderBy: c ?? me.Ascending,
944
+ orderBy: c ?? fe.Ascending,
945
945
  preferLabel: i.orderOptions.data.preferLabel ?? !0
946
946
  };
947
947
  }
@@ -971,7 +971,7 @@ function xt(i) {
971
971
  return e;
972
972
  }
973
973
  function Uo(i) {
974
- const { oldConfig: e, newConfig: t, dataUpdateNeeded: a } = i, n = E(t.series);
974
+ const { oldConfig: e, newConfig: t, dataUpdateNeeded: a } = i, n = V(t.series);
975
975
  let r = !1, s = !1;
976
976
  if (n !== h.BoxPlotMonoField && n !== h.BoxPlotMonoFieldAndSplitBy && t.orderOptions?.data !== void 0) {
977
977
  const o = xt(e), c = xt(t);
@@ -998,14 +998,14 @@ function Yo(i, e) {
998
998
  if (n !== void 0) {
999
999
  let r;
1000
1000
  if (a === !1) {
1001
- const s = E(t.series);
1001
+ const s = V(t.series);
1002
1002
  r = Kt(s) ? "splitByValue" : "name";
1003
1003
  } else
1004
1004
  r = "name";
1005
1005
  t.series.sort((s, o) => {
1006
1006
  let c, l;
1007
- r === "splitByValue" ? (c = ge({ where: s.query?.where }) ?? "", l = ge({ where: o.query?.where }) ?? "") : (c = s.name, l = o.name);
1008
- const [u, d] = n.toUpperCase() === me.Descending ? [l, c] : [c, l];
1007
+ r === "splitByValue" ? (c = me({ where: s.query?.where }) ?? "", l = me({ where: o.query?.where }) ?? "") : (c = s.name, l = o.name);
1008
+ const [u, d] = n.toUpperCase() === fe.Descending ? [l, c] : [c, l];
1009
1009
  return typeof u == "string" && typeof d == "string" ? u.localeCompare(d) : Number(u) - Number(d);
1010
1010
  });
1011
1011
  }
@@ -1021,29 +1021,29 @@ function hn(i) {
1021
1021
  }
1022
1022
  function mi(i) {
1023
1023
  let e = !1;
1024
- return i && (e = i.series[0].type === S.HeatSeries && fe(i.axes?.[0]?.valueFormat) && fe(i.axes?.[1]?.valueFormat)), e;
1024
+ return i && (e = i.series[0].type === S.HeatSeries && de(i.axes?.[0]?.valueFormat) && de(i.axes?.[1]?.valueFormat)), e;
1025
1025
  }
1026
1026
  function ot(i) {
1027
1027
  const { dataInfo: e, chartType: t, subError: a } = i;
1028
1028
  switch (e.valid = !1, t) {
1029
1029
  case S.BarSeries:
1030
1030
  case S.ComboLineAndBarSeries:
1031
- e.invalidType = $.BarElementExceedsLimit;
1031
+ e.invalidType = R.BarElementExceedsLimit;
1032
1032
  break;
1033
1033
  case S.LineSeries:
1034
- e.invalidType = $.LineChartExceedsLimit;
1034
+ e.invalidType = R.LineChartExceedsLimit;
1035
1035
  break;
1036
1036
  case S.PieSeries:
1037
- e.invalidType = $.PieChartExceedsLimit;
1037
+ e.invalidType = R.PieChartExceedsLimit;
1038
1038
  break;
1039
1039
  case S.GaugeSeries:
1040
- e.invalidType = $.GaugeExceedsLimit;
1040
+ e.invalidType = R.GaugeExceedsLimit;
1041
1041
  break;
1042
1042
  case S.BoxPlotSeries:
1043
- a?.outlierLimit === !0 ? e.invalidType = $.BoxPlotOutliersExceedsLimit : e.invalidType = $.BoxPlotExceedsLimit;
1043
+ a?.outlierLimit === !0 ? e.invalidType = R.BoxPlotOutliersExceedsLimit : e.invalidType = R.BoxPlotExceedsLimit;
1044
1044
  break;
1045
1045
  case S.HeatSeries:
1046
- e.invalidType = $.HeatChartExceedsLimit;
1046
+ e.invalidType = R.HeatChartExceedsLimit;
1047
1047
  break;
1048
1048
  }
1049
1049
  }
@@ -1066,136 +1066,136 @@ async function Ko(i) {
1066
1066
  const f = new Intl.NumberFormat(o), m = Re(t), { maxCategoryCount: g } = m;
1067
1067
  let y = l.modalHeaders.invalidChart;
1068
1068
  switch (e) {
1069
- case $.BarElementExceedsLimit: {
1069
+ case R.BarElementExceedsLimit: {
1070
1070
  y = l.modalHeaders.tooManyFeatures;
1071
- let x = Number.NaN, F = Number.NaN, C = "";
1072
- 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));
1073
- const B = f.format(x), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1074
- u = de(C, {
1071
+ let C = Number.NaN, F = Number.NaN, x = "";
1072
+ n !== void 0 && (n <= m.maxBarChartSeriesCount ? n === 1 ? (x = l.errors.uniqueSeriesBarCountCannotExceedLimit, C = m.maxBarUniqueSeriesCountTotal) : n === 2 ? (x = l.errors.twoSeriesBarCountCannotExceedLimit, C = m.maxBarTwoSeriesCountTotal, F = m.maxBarTwoSeriesCountPerSeries) : n > 2 && (x = l.errors.threePlusSeriesBarCountCannotExceedLimit, C = m.maxBarThreePlusSeriesCountTotal, F = m.maxBarThreePlusSeriesCountPerSeries) : (x = l.errors.barSeriesCountCannotExceedLimit, F = m.maxBarChartSeriesCount));
1073
+ const B = f.format(C), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1074
+ u = ue(x, {
1075
1075
  totalLimit: B,
1076
1076
  seriesLimit: N,
1077
1077
  elementCount: v
1078
1078
  }), d = {
1079
1079
  actualCount: a ?? Number.NaN,
1080
- totalLimit: x,
1080
+ totalLimit: C,
1081
1081
  seriesLimit: F
1082
1082
  };
1083
1083
  break;
1084
1084
  }
1085
- case $.LineChartExceedsLimit:
1085
+ case R.LineChartExceedsLimit:
1086
1086
  {
1087
1087
  y = l.modalHeaders.tooManyFeatures;
1088
- let x = Number.NaN, F = Number.NaN, C = "";
1089
- n !== void 0 && (n <= m.maxLineChartSeriesCount ? n === 1 ? (C = c ? l.errors.uniqueTemporalSeriesLineCountCannotExceedLimit : l.errors.uniqueSeriesLineCountCannotExceedLimit, x = m.maxLineUniqueSeriesCountTotal) : n === 2 ? (C = c ? l.errors.twoTemporalSeriesLineCountCannotExceedLimit : l.errors.twoSeriesLineCountCannotExceedLimit, x = m.maxLineTwoSeriesCountTotal, F = m.maxLineTwoSeriesCountPerSeries) : n > 2 && (C = c ? l.errors.threePlusTemporalSeriesLineCountCannotExceedLimit : l.errors.threePlusSeriesLineCountCannotExceedLimit, x = m.maxLineThreePlusSeriesCountTotal, F = m.maxLineThreePlusSeriesCountPerSeries) : (C = l.errors.lineSeriesCountCannotExceedLimit, F = m.maxLineChartSeriesCount));
1090
- const B = f.format(x), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1091
- u = de(C, {
1088
+ let C = Number.NaN, F = Number.NaN, x = "";
1089
+ n !== void 0 && (n <= m.maxLineChartSeriesCount ? n === 1 ? (x = c ? l.errors.uniqueTemporalSeriesLineCountCannotExceedLimit : l.errors.uniqueSeriesLineCountCannotExceedLimit, C = m.maxLineUniqueSeriesCountTotal) : n === 2 ? (x = c ? l.errors.twoTemporalSeriesLineCountCannotExceedLimit : l.errors.twoSeriesLineCountCannotExceedLimit, C = m.maxLineTwoSeriesCountTotal, F = m.maxLineTwoSeriesCountPerSeries) : n > 2 && (x = c ? l.errors.threePlusTemporalSeriesLineCountCannotExceedLimit : l.errors.threePlusSeriesLineCountCannotExceedLimit, C = m.maxLineThreePlusSeriesCountTotal, F = m.maxLineThreePlusSeriesCountPerSeries) : (x = l.errors.lineSeriesCountCannotExceedLimit, F = m.maxLineChartSeriesCount));
1090
+ const B = f.format(C), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1091
+ u = ue(x, {
1092
1092
  elementCount: v,
1093
1093
  seriesLimit: N,
1094
1094
  totalLimit: B
1095
1095
  }), d = {
1096
1096
  actualCount: a ?? Number.NaN,
1097
- totalLimit: x,
1097
+ totalLimit: C,
1098
1098
  seriesLimit: F
1099
1099
  };
1100
1100
  }
1101
1101
  break;
1102
- case $.BoxPlotExceedsLimit:
1102
+ case R.BoxPlotExceedsLimit:
1103
1103
  {
1104
1104
  y = l.modalHeaders.tooManyFeatures;
1105
- let x = Number.NaN, F = Number.NaN, C = "";
1106
- n !== void 0 && (n <= m.maxBoxPlotSeriesCount ? n === 1 ? (C = l.errors.uniqueSeriesBoxCountCannotExceedLimit, x = m.maxBoxUniqueSeriesCountTotal) : n === 2 ? (C = l.errors.twoSeriesBoxCountCannotExceedLimit, x = m.maxBoxTwoSeriesCountTotal, F = m.maxBoxTwoSeriesCountPerSeries) : n > 2 && (C = l.errors.threePlusBoxLineCountCannotExceedLimit, x = m.maxBoxThreePlusSeriesCountTotal, F = m.maxBoxThreePlusSeriesCountPerSeries) : (C = l.errors.boxSeriesCountCannotExceedLimit, F = m.maxBoxPlotSeriesCount));
1107
- const B = f.format(x), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1108
- u = de(C, {
1105
+ let C = Number.NaN, F = Number.NaN, x = "";
1106
+ n !== void 0 && (n <= m.maxBoxPlotSeriesCount ? n === 1 ? (x = l.errors.uniqueSeriesBoxCountCannotExceedLimit, C = m.maxBoxUniqueSeriesCountTotal) : n === 2 ? (x = l.errors.twoSeriesBoxCountCannotExceedLimit, C = m.maxBoxTwoSeriesCountTotal, F = m.maxBoxTwoSeriesCountPerSeries) : n > 2 && (x = l.errors.threePlusBoxLineCountCannotExceedLimit, C = m.maxBoxThreePlusSeriesCountTotal, F = m.maxBoxThreePlusSeriesCountPerSeries) : (x = l.errors.boxSeriesCountCannotExceedLimit, F = m.maxBoxPlotSeriesCount));
1107
+ const B = f.format(C), N = f.format(F), v = a !== void 0 ? f.format(a) : "";
1108
+ u = ue(x, {
1109
1109
  elementCount: v,
1110
1110
  seriesLimit: N,
1111
1111
  totalLimit: B
1112
1112
  }), d = {
1113
1113
  actualCount: a ?? Number.NaN,
1114
- totalLimit: x,
1114
+ totalLimit: C,
1115
1115
  seriesLimit: F
1116
1116
  };
1117
1117
  }
1118
1118
  break;
1119
- case $.BoxPlotOutliersExceedsLimit:
1119
+ case R.BoxPlotOutliersExceedsLimit:
1120
1120
  {
1121
1121
  y = l.modalHeaders.tooManyFeatures;
1122
- const x = l.errors.boxSeriesOutlierCannotExceedLimit, F = m.maxBoxPlotOutlierLimit, C = f.format(F);
1123
- u = de(x, {
1124
- totalLimit: C
1122
+ const C = l.errors.boxSeriesOutlierCannotExceedLimit, F = m.maxBoxPlotOutlierLimit, x = f.format(F);
1123
+ u = ue(C, {
1124
+ totalLimit: x
1125
1125
  }), d = { actualCount: a ?? Number.NaN, totalLimit: F };
1126
1126
  }
1127
1127
  break;
1128
- case $.HeatChartExceedsLimit:
1128
+ case R.HeatChartExceedsLimit:
1129
1129
  {
1130
1130
  y = l.modalHeaders.tooManyFeatures;
1131
- const x = l.errors.heatChartCannotExceedLimit, F = m.maxHeatChartCellLimit, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
1132
- u = de(x, {
1131
+ const C = l.errors.heatChartCannotExceedLimit, F = m.maxHeatChartCellLimit, x = f.format(F), B = a !== void 0 ? f.format(a) : "";
1132
+ u = ue(C, {
1133
1133
  featureCount: B,
1134
- totalLimit: C
1134
+ totalLimit: x
1135
1135
  }), d = {
1136
1136
  actualCount: a ?? Number.NaN,
1137
1137
  totalLimit: F
1138
1138
  };
1139
1139
  }
1140
1140
  break;
1141
- case $.PieChartExceedsLimit:
1141
+ case R.PieChartExceedsLimit:
1142
1142
  {
1143
1143
  y = l.modalHeaders.tooManyFeatures;
1144
- const x = l.errors.pieChartSlicesCannotExceedLimit, F = m.maxPieChartSliceCountTotal, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
1145
- u = de(x, {
1144
+ const C = l.errors.pieChartSlicesCannotExceedLimit, F = m.maxPieChartSliceCountTotal, x = f.format(F), B = a !== void 0 ? f.format(a) : "";
1145
+ u = ue(C, {
1146
1146
  sliceCount: B,
1147
- totalLimit: C
1147
+ totalLimit: x
1148
1148
  }), d = {
1149
1149
  actualCount: a ?? Number.NaN,
1150
1150
  totalLimit: F
1151
1151
  };
1152
1152
  }
1153
1153
  break;
1154
- case $.GaugeExceedsLimit:
1154
+ case R.GaugeExceedsLimit:
1155
1155
  {
1156
1156
  y = l.modalHeaders.tooManyFeatures;
1157
- const x = l.errors.gaugeCannotExceedLimit, F = m.maxGaugeByFeaturesLimit, C = f.format(F), B = a !== void 0 ? f.format(a) : "";
1158
- u = de(x, {
1157
+ const C = l.errors.gaugeCannotExceedLimit, F = m.maxGaugeByFeaturesLimit, x = f.format(F), B = a !== void 0 ? f.format(a) : "";
1158
+ u = ue(C, {
1159
1159
  featureCount: B,
1160
- totalLimit: C
1160
+ totalLimit: x
1161
1161
  }), d = {
1162
1162
  actualCount: a ?? Number.NaN,
1163
1163
  totalLimit: F
1164
1164
  };
1165
1165
  }
1166
1166
  break;
1167
- case $.PieChartMixOfNegativePositiveSlices:
1167
+ case R.PieChartMixOfNegativePositiveSlices:
1168
1168
  y = l.modalHeaders.cannotCombineNegativeAndPositiveSlices, u = l.errors.pieChartCannotHaveMixtureOfPositiveAndNegativeSlices;
1169
1169
  break;
1170
- case $.NegativeValueInSqrtCalculation:
1170
+ case R.NegativeValueInSqrtCalculation:
1171
1171
  y = l.modalHeaders.invalidData, u = l.errors.negativeValueInDataForSqrtTransformation;
1172
1172
  break;
1173
- case $.NegativeValueInLogCalculation:
1173
+ case R.NegativeValueInLogCalculation:
1174
1174
  y = l.modalHeaders.invalidData, u = l.errors.negativeValueInDataForLogTransformation;
1175
1175
  break;
1176
- case $.HistogramEmptyField:
1176
+ case R.HistogramEmptyField:
1177
1177
  u = l.errors.histogramEmptyField;
1178
1178
  break;
1179
- case $.EmptyDataSet:
1179
+ case R.EmptyDataSet:
1180
1180
  y = l.modalHeaders.noDataAvailable, s === !0 ? u = l.errors.noDataFBSMessage : _i(r) ? u = l.errors.noDataFBEMessage : u = l.errors.noDataMessage;
1181
1181
  break;
1182
- case $.NegativeValueInXAxisLogScale:
1182
+ case R.NegativeValueInXAxisLogScale:
1183
1183
  u = l.errors.logarithmicXAxisNotPossible;
1184
1184
  break;
1185
- case $.NegativeValueInYAxisLogScale:
1185
+ case R.NegativeValueInYAxisLogScale:
1186
1186
  u = l.errors.logarithmicYAxisNotPossible;
1187
1187
  break;
1188
- case $.BadData:
1188
+ case R.BadData:
1189
1189
  }
1190
- if (u === l.errors.defaultInvalidChart && (e === $.BarElementExceedsLimit || e === $.LineChartExceedsLimit || e === $.HeatChartExceedsLimit || e === $.PieChartExceedsLimit || e === $.GaugeExceedsLimit || e === $.BoxPlotExceedsLimit) && typeof a == "number" && typeof n == "number" && a / n > g) {
1191
- const x = a / n;
1192
- u = de(l.errors.categoryCountCannotExceedLimit, {
1193
- categoryCount: f.format(x),
1190
+ 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
+ const C = a / n;
1192
+ u = ue(l.errors.categoryCountCannotExceedLimit, {
1193
+ categoryCount: f.format(C),
1194
1194
  maxCategoryCount: f.format(g)
1195
1195
  });
1196
1196
  }
1197
1197
  return {
1198
- keyword: e ?? $.BadData,
1198
+ keyword: e ?? R.BadData,
1199
1199
  header: y,
1200
1200
  message: u,
1201
1201
  params: d
@@ -1217,12 +1217,12 @@ function At(i) {
1217
1217
  };
1218
1218
  const l = U({
1219
1219
  ...c,
1220
- key: V.Average
1220
+ key: I.Average
1221
1221
  }), u = U({
1222
1222
  ...c,
1223
- key: V.StandardDeviation
1223
+ key: I.StandardDeviation
1224
1224
  }), d = r ?? Number(e[l]), f = s ?? Number(e[u]);
1225
- return Number.isFinite(d) && Number.isFinite(f) && Object.values(V).forEach((m) => {
1225
+ return Number.isFinite(d) && Number.isFinite(f) && Object.values(I).forEach((m) => {
1226
1226
  const g = U({
1227
1227
  key: m,
1228
1228
  y: a,
@@ -1238,20 +1238,20 @@ function At(i) {
1238
1238
  showOutliers: !1,
1239
1239
  standardizeValues: !0
1240
1240
  };
1241
- let x = U(c);
1242
- if (o[x] = Ct({ mean: d, stdDev: f, value: p }), m === V.Min || m === V.Max) {
1241
+ let C = U(c);
1242
+ if (o[C] = Ct({ mean: d, stdDev: f, value: p }), m === I.Min || m === I.Max) {
1243
1243
  c = {
1244
1244
  ...c,
1245
1245
  key: m,
1246
1246
  showOutliers: !0,
1247
1247
  standardizeValues: !0
1248
- }, x = U(c), c = {
1248
+ }, C = U(c), c = {
1249
1249
  ...c,
1250
1250
  standardizeValues: !1,
1251
1251
  splitByValue: n
1252
1252
  };
1253
1253
  const F = U(c);
1254
- p = Number(e[F]), Number.isFinite(p) && (o[x] = Ct({
1254
+ p = Number(e[F]), Number.isFinite(p) && (o[C] = Ct({
1255
1255
  mean: d,
1256
1256
  stdDev: f,
1257
1257
  value: p
@@ -1341,11 +1341,11 @@ function Bn(i) {
1341
1341
  }), Array.from(n.values());
1342
1342
  }
1343
1343
  function vn(i, e) {
1344
- const { series: t } = i, a = t[0], { y: n } = a, r = E(i.series), s = {
1344
+ const { series: t } = i, a = t[0], { y: n } = a, r = V(i.series), s = {
1345
1345
  y: r === h.BoxPlotMultiFieldsAndCategory ? n : void 0,
1346
1346
  chartSubType: r
1347
1347
  }, o = i.series.map((c) => {
1348
- let l = ge({
1348
+ let l = me({
1349
1349
  where: c.query?.where,
1350
1350
  normalize: !1,
1351
1351
  escape: !0
@@ -1357,19 +1357,19 @@ function vn(i, e) {
1357
1357
  s.splitByValue = l;
1358
1358
  const u = U({
1359
1359
  ...s,
1360
- key: V.Min,
1360
+ key: I.Min,
1361
1361
  showOutliers: !0
1362
1362
  }), d = U({
1363
1363
  ...s,
1364
- key: V.Min,
1364
+ key: I.Min,
1365
1365
  showOutliers: !1
1366
1366
  }), f = U({
1367
1367
  ...s,
1368
- key: V.Max,
1368
+ key: I.Max,
1369
1369
  showOutliers: !0
1370
1370
  }), m = U({
1371
1371
  ...s,
1372
- key: V.Max,
1372
+ key: I.Max,
1373
1373
  showOutliers: !1
1374
1374
  });
1375
1375
  c[f] === void 0 && c[m] !== void 0 && (c[f] = c[m]), c[u] === void 0 && c[d] !== void 0 && (c[u] = c[d]);
@@ -1378,7 +1378,7 @@ function vn(i, e) {
1378
1378
  }
1379
1379
  function Nn(i, e) {
1380
1380
  let t, a;
1381
- const n = i[e[V.IQR]], r = i[e[V.FirstQuartile]], s = i[e[V.ThirdQuartile]];
1381
+ const n = i[e[I.IQR]], r = i[e[I.FirstQuartile]], s = i[e[I.ThirdQuartile]];
1382
1382
  return Number.isFinite(n) && Number.isFinite(r) && Number.isFinite(s) && (t = r - n * 1.5, a = s + n * 1.5), { outlierMinThreshold: t, outlierMaxThreshold: a };
1383
1383
  }
1384
1384
  function Wt(i) {
@@ -1400,12 +1400,12 @@ function gi(i) {
1400
1400
  const { data: e, yField: t, x: a, chartSubType: n, splitByField: r } = i, s = n === h.BoxPlotMonoField || n === h.BoxPlotMonoFieldAndCategory || n === h.BoxPlotMonoFieldAndSplitBy || n === h.BoxPlotMonoFieldAndCategoryAndSplitBy ? void 0 : t, o = je(s), c = [], l = [], { maxOperandsPerWhereClause: u } = Ue();
1401
1401
  let d = [], f = [], m = 1;
1402
1402
  return e.forEach((g, y) => {
1403
- const { outlierMinThreshold: p, outlierMaxThreshold: x } = Nn(g, o);
1404
- if (typeof p == "number" && typeof x == "number") {
1403
+ const { outlierMinThreshold: p, outlierMaxThreshold: C } = Nn(g, o);
1404
+ if (typeof p == "number" && typeof C == "number") {
1405
1405
  const F = {
1406
1406
  yField: t,
1407
1407
  outlierMinThreshold: p,
1408
- outlierMaxThreshold: x
1408
+ outlierMaxThreshold: C
1409
1409
  };
1410
1410
  (n === h.BoxPlotMonoFieldAndCategory || n === h.BoxPlotMultiFieldsAndCategory || n === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && a !== void 0 && a in g && (F.xField = a, F.xValue = ze({
1411
1411
  value: g[a],
@@ -1424,14 +1424,14 @@ function Tn(i) {
1424
1424
  switch (a) {
1425
1425
  case h.BoxPlotMultiFields: {
1426
1426
  const u = je(r), d = e[0];
1427
- c = Number(d[u[V.Average]]), l = Number(d[u[V.StandardDeviation]]);
1427
+ c = Number(d[u[I.Average]]), l = Number(d[u[I.StandardDeviation]]);
1428
1428
  break;
1429
1429
  }
1430
1430
  case h.BoxPlotMultiFieldsAndCategory: {
1431
1431
  const u = e.find((d) => d[n] === t[n]);
1432
1432
  if (u !== void 0) {
1433
1433
  const d = je(r);
1434
- c = Number(u[d[V.Average]]), l = Number(u[d[V.StandardDeviation]]);
1434
+ c = Number(u[d[I.Average]]), l = Number(u[d[I.StandardDeviation]]);
1435
1435
  }
1436
1436
  break;
1437
1437
  }
@@ -1439,7 +1439,7 @@ function Tn(i) {
1439
1439
  const u = e.find((d) => d[o] === t[o]);
1440
1440
  if (u !== void 0) {
1441
1441
  const d = je(r);
1442
- c = Number(u[d[V.Average]]), l = Number(u[d[V.StandardDeviation]]);
1442
+ c = Number(u[d[I.Average]]), l = Number(u[d[I.StandardDeviation]]);
1443
1443
  }
1444
1444
  break;
1445
1445
  }
@@ -1447,20 +1447,20 @@ function Tn(i) {
1447
1447
  return { mean: c, stdDev: l };
1448
1448
  }
1449
1449
  async function An(i) {
1450
- const { seriesConfig: e, data: t, uniqueQuery: a, queryObject: n, meanAndStdDevPerField: r, abortKey: s } = i, o = E(e), c = e[0], { x: l } = c, u = K(c.query?.where), d = z(n), f = se(e), m = [];
1450
+ 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 = re(e), m = [];
1451
1451
  for (let p = 0; p < f.length; p += 1) {
1452
- const x = f[p], { outliersFilterBatches: F } = gi({
1452
+ const C = f[p], { outliersFilterBatches: F } = gi({
1453
1453
  data: t,
1454
- yField: x,
1454
+ yField: C,
1455
1455
  x: l,
1456
1456
  chartSubType: o,
1457
1457
  splitByField: u
1458
1458
  });
1459
- for (let C = 0; C < F.length; C += 1) {
1460
- const B = F[C];
1459
+ for (let x = 0; x < F.length; x += 1) {
1460
+ const B = F[x];
1461
1461
  if (B !== "") {
1462
1462
  const N = [];
1463
- l !== b.boxPlot.boxPlotCategory && N.push(l), N.push(x), u !== "" && N.push(u), N.push(d.objectIdField);
1463
+ l !== b.boxPlot.boxPlotCategory && N.push(l), N.push(C), u !== "" && N.push(u), N.push(d.objectIdField);
1464
1464
  const v = {
1465
1465
  ...a,
1466
1466
  where: Q([a.where, B]),
@@ -1471,7 +1471,7 @@ async function An(i) {
1471
1471
  outFields: N
1472
1472
  };
1473
1473
  m.push(
1474
- ye({
1474
+ ge({
1475
1475
  queryObject: n,
1476
1476
  queryConfig: v,
1477
1477
  featureCount: 1,
@@ -1484,13 +1484,13 @@ async function An(i) {
1484
1484
  }
1485
1485
  const g = await Promise.all(m), y = /* @__PURE__ */ new Map();
1486
1486
  for (let p = 0; p < g.length; p += 1) {
1487
- const x = g[p], F = f[p];
1488
- x.forEach((C) => {
1489
- const B = { ...C.attributes };
1487
+ const C = g[p], F = f[p];
1488
+ C.forEach((x) => {
1489
+ const B = { ...x.attributes };
1490
1490
  if (B[F] !== void 0) {
1491
1491
  l === b.boxPlot.boxPlotCategory && (B[b.boxPlot.boxPlotCategory] = F);
1492
1492
  let N = {
1493
- key: V.Outlier,
1493
+ key: I.Outlier,
1494
1494
  chartSubType: o
1495
1495
  };
1496
1496
  switch (o) {
@@ -1509,9 +1509,9 @@ async function An(i) {
1509
1509
  };
1510
1510
  break;
1511
1511
  }
1512
- const v = U(N), T = B[F];
1513
- B[v] = T;
1514
- const w = `${B[l]}-${B[u]}-${T}`, L = y.get(w);
1512
+ const v = U(N), A = B[F];
1513
+ B[v] = A;
1514
+ const w = `${B[l]}-${B[u]}-${A}`, L = y.get(w);
1515
1515
  if (B[Y.uniqueIdsName] = [
1516
1516
  ...L?.[Y.uniqueIdsName] ?? [],
1517
1517
  B[d.objectIdField]
@@ -1519,7 +1519,7 @@ async function An(i) {
1519
1519
  const D = U({
1520
1520
  ...N,
1521
1521
  standardizeValues: !0
1522
- }), { mean: R, stdDev: M } = Tn({
1522
+ }), { mean: M, stdDev: O } = Tn({
1523
1523
  data: t,
1524
1524
  outlierDataItem: B,
1525
1525
  chartSubType: o,
@@ -1528,10 +1528,10 @@ async function An(i) {
1528
1528
  splitByField: u,
1529
1529
  meanAndStdDevPerField: r
1530
1530
  });
1531
- R !== void 0 && M !== void 0 && (B[D] = Ct({
1532
- value: T,
1533
- mean: R,
1534
- stdDev: M
1531
+ M !== void 0 && O !== void 0 && (B[D] = Ct({
1532
+ value: A,
1533
+ mean: M,
1534
+ stdDev: O
1535
1535
  }));
1536
1536
  }
1537
1537
  delete B[F], B[b.boxPlot.boxPlotOutlierId] = !0, y.set(w, B);
@@ -1543,29 +1543,29 @@ async function An(i) {
1543
1543
  async function Pn(i) {
1544
1544
  const { data: e, queryObject: t, uniqueQuery: a, elementCount: n, chartConfig: r, chartLimits: s, abortKey: o } = i;
1545
1545
  let c = [];
1546
- const { series: l, showMean: u } = r, d = Nt({ showMean: u, seriesConfig: l }), f = E(l), m = we(r), { x: g } = m, y = K(m.query?.where), p = [];
1546
+ const { series: l, showMean: u } = r, d = Nt({ showMean: u, seriesConfig: l }), f = V(l), m = we(r), { x: g } = m, y = K(m.query?.where), p = [];
1547
1547
  for (let F = 0; F < d.length; F += 1) {
1548
- const C = d[F], { dataWithoutOutliersFilterBatches: B } = gi({
1548
+ const x = d[F], { dataWithoutOutliersFilterBatches: B } = gi({
1549
1549
  data: e,
1550
- yField: C,
1550
+ yField: x,
1551
1551
  x: g,
1552
1552
  chartSubType: f,
1553
1553
  splitByField: y
1554
1554
  });
1555
1555
  for (let N = 0; N < B.length; N += 1) {
1556
- const v = B[N], T = {
1556
+ const v = B[N], A = {
1557
1557
  ...a,
1558
1558
  where: Q([a.where, v])
1559
1559
  };
1560
- T.outStatistics !== void 0 && (T.outStatistics = T.outStatistics?.filter(
1561
- (w) => (w.statisticType === P.Minimum || w.statisticType === P.Maximum) && w.onStatisticField === C
1560
+ A.outStatistics !== void 0 && (A.outStatistics = A.outStatistics?.filter(
1561
+ (w) => (w.statisticType === P.Minimum || w.statisticType === P.Maximum) && w.onStatisticField === x
1562
1562
  ).map((w) => ({
1563
1563
  ...w,
1564
1564
  outStatisticFieldName: `${w.outStatisticFieldName}${b.boxPlot.boxPlotOutliersSuffix}`
1565
1565
  }))), p.push(
1566
1566
  ut({
1567
1567
  queryObject: t,
1568
- uniqueQuery: T,
1568
+ uniqueQuery: A,
1569
1569
  chartConfig: r,
1570
1570
  elementCount: n,
1571
1571
  isTimeBinningSeries: !1,
@@ -1576,9 +1576,9 @@ async function Pn(i) {
1576
1576
  );
1577
1577
  }
1578
1578
  }
1579
- const x = await Promise.all(p);
1580
- for (let F = 0; F < x.length; F += 1)
1581
- c.push(...x[F]);
1579
+ const C = await Promise.all(p);
1580
+ for (let F = 0; F < C.length; F += 1)
1581
+ c.push(...C[F]);
1582
1582
  return f !== h.BoxPlotMonoFieldAndCategoryAndSplitBy && (c = Lt({
1583
1583
  data: c,
1584
1584
  x: y !== void 0 && y !== "" ? y : g
@@ -1587,7 +1587,7 @@ async function Pn(i) {
1587
1587
  async function Ln(i) {
1588
1588
  const { queryObject: e, uniqueQuery: t, chartConfig: a, abortKey: n } = i;
1589
1589
  let r;
1590
- const { series: s, showMean: o } = a, c = E(s);
1590
+ const { series: s, showMean: o } = a, c = V(s);
1591
1591
  if (c === h.BoxPlotMultiFieldsAndCategory || c === h.BoxPlotMultiFieldsAndSplitBy) {
1592
1592
  const l = Nt({ showMean: o, seriesConfig: s }), u = {
1593
1593
  ...t
@@ -1610,7 +1610,7 @@ async function Ln(i) {
1610
1610
  );
1611
1611
  }
1612
1612
  u.outStatistics = d;
1613
- const f = await ye({
1613
+ const f = await ge({
1614
1614
  queryObject: e,
1615
1615
  queryConfig: u,
1616
1616
  featureCount: 1,
@@ -1631,7 +1631,7 @@ function Mn(i) {
1631
1631
  });
1632
1632
  }
1633
1633
  function yi(i) {
1634
- 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 });
1634
+ const { chartConfig: e, data: t, calculateZScore: a = !1, meanAndStdDevPerField: n } = i, { series: r, showMean: s } = e, o = we(e), c = V(e.series), { x: l } = o, u = Nt({ showMean: s, seriesConfig: r });
1635
1635
  let d = t;
1636
1636
  if ((o.type === S.LineSeries || o.type === S.BoxPlotSeries) && t?.[0] !== void 0) {
1637
1637
  const f = K(o.query?.where);
@@ -1735,7 +1735,7 @@ function On(i) {
1735
1735
  for (let t = 0; t < i.length; t += 1) {
1736
1736
  const a = i[t], n = a.query?.where;
1737
1737
  if (n !== void 0 && "y" in a) {
1738
- const r = ge({ where: n, normalize: !0, escape: !1 });
1738
+ const r = me({ where: n, normalize: !0, escape: !1 });
1739
1739
  if (r !== "") {
1740
1740
  const s = Dn({
1741
1741
  whereValue: r,
@@ -1790,33 +1790,33 @@ function Vn(i) {
1790
1790
  }
1791
1791
  ];
1792
1792
  }
1793
- o === !0 && (!s || ee(c)) && e.outStatistics?.push({ statisticType: P.EnvelopeAggregate, onStatisticField: "1" });
1793
+ o === !0 && (!s || Z(c)) && e.outStatistics?.push({ statisticType: P.EnvelopeAggregate, onStatisticField: "1" });
1794
1794
  }
1795
1795
  function In(i) {
1796
1796
  const { chartConfig: e, fetchFullBoxPlotData: t } = i, { series: a } = e, n = He(e);
1797
1797
  let r = [
1798
- { statisticType: P.Average, suffix: V.Average }
1798
+ { statisticType: P.Average, suffix: I.Average }
1799
1799
  ];
1800
1800
  t === !0 && (r = [
1801
1801
  ...r,
1802
- { statisticType: P.Minimum, suffix: V.Min },
1802
+ { statisticType: P.Minimum, suffix: I.Min },
1803
1803
  {
1804
1804
  statisticType: P.ContinuousPercentile,
1805
1805
  statisticParameters: { value: 0.25 },
1806
- suffix: V.FirstQuartile
1806
+ suffix: I.FirstQuartile
1807
1807
  },
1808
1808
  {
1809
1809
  statisticType: P.ContinuousPercentile,
1810
1810
  statisticParameters: { value: 0.5 },
1811
- suffix: V.Median
1811
+ suffix: I.Median
1812
1812
  },
1813
1813
  {
1814
1814
  statisticType: P.ContinuousPercentile,
1815
1815
  statisticParameters: { value: 0.75 },
1816
- suffix: V.ThirdQuartile
1816
+ suffix: I.ThirdQuartile
1817
1817
  },
1818
- { statisticType: P.Maximum, suffix: V.Max },
1819
- { statisticType: P.StandardDeviation, suffix: V.StandardDeviation }
1818
+ { statisticType: P.Maximum, suffix: I.Max },
1819
+ { statisticType: P.StandardDeviation, suffix: I.StandardDeviation }
1820
1820
  ]);
1821
1821
  const s = /* @__PURE__ */ new Set();
1822
1822
  return n && "y" in a[0] ? [a[0].y].flat().forEach((c) => s.add(c)) : a.forEach((c) => {
@@ -1842,7 +1842,7 @@ function Rn(i) {
1842
1842
  const { uniqueQuery: e, x: t, splitByField: a, unit: n, chartSubType: r, objectIdField: s } = i;
1843
1843
  if (n !== void 0) {
1844
1844
  const o = Ki(t, n);
1845
- e.orderByFields = o, e.groupByFieldsForStatistics = o, r === h.BarAndLineSplitBy && !ee(a) ? e.groupByFieldsForStatistics.push(a) : r === h.BarAndLineNoAggregation && (e.groupByFieldsForStatistics.push(s), e.outStatistics = [
1845
+ e.orderByFields = o, e.groupByFieldsForStatistics = o, r === h.BarAndLineSplitBy && !Z(a) ? e.groupByFieldsForStatistics.push(a) : r === h.BarAndLineNoAggregation && (e.groupByFieldsForStatistics.push(s), e.outStatistics = [
1846
1846
  {
1847
1847
  onStatisticField: s,
1848
1848
  outStatisticFieldName: `COUNT_${s}`,
@@ -1856,7 +1856,7 @@ function pi(i) {
1856
1856
  if (t?.chartLimits?.behaviorAfterLimit === $e.RenderUpToTheLimit) {
1857
1857
  const n = fi(e, t?.chartLimits);
1858
1858
  if (n !== void 0) {
1859
- const r = E(e.series);
1859
+ const r = V(e.series);
1860
1860
  if (r === h.PieFromFields || r === h.BarAndLineFromFields) {
1861
1861
  if (a.outStatistics?.[0] !== void 0) {
1862
1862
  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));
@@ -1868,19 +1868,19 @@ function pi(i) {
1868
1868
  }
1869
1869
  }
1870
1870
  async function ct(i) {
1871
- 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({
1872
- xAxisValueFormatType: pe(e),
1871
+ 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 = we(e), { query: f, x: m } = d, g = "y" in d ? d.y : void 0, y = Ne({
1872
+ xAxisValueFormatType: ye(e),
1873
1873
  setTimeBinningInfoWhenNotProvided: o,
1874
1874
  seriesConfig: d
1875
1875
  });
1876
- let p = /* @__PURE__ */ new Map(), x = !1, F = !1, C = !1, B = !1, N = !1, v = {};
1876
+ let p = /* @__PURE__ */ new Map(), C = !1, F = !1, x = !1, B = !1, N = !1, v = {};
1877
1877
  if (f !== void 0) {
1878
1878
  v = Ce(f);
1879
- const O = K(f.where);
1879
+ const E = K(f.where);
1880
1880
  let H = "";
1881
- switch (t.fetchNullValues !== !0 && (m !== b.boxPlot.boxPlotCategory && (H = `${m} IS NOT NULL`), O.trim() !== "" && O !== m && !Tt(f.where) && (H = Q([H, `${O} IS NOT NULL`]))), u) {
1881
+ switch (t.fetchNullValues !== !0 && (m !== b.boxPlot.boxPlotCategory && (H = `${m} IS NOT NULL`), E.trim() !== "" && E !== m && !Tt(f.where) && (H = Q([H, `${E} IS NOT NULL`]))), u) {
1882
1882
  case h.BarAndLineSplitBy: {
1883
- p = On(l), B = !0, x = !0, F = !0;
1883
+ p = On(l), B = !0, C = !0, F = !0;
1884
1884
  break;
1885
1885
  }
1886
1886
  case h.BarAndLineMultiFields:
@@ -1888,7 +1888,7 @@ async function ct(i) {
1888
1888
  break;
1889
1889
  case h.PieFromFields:
1890
1890
  case h.BarAndLineFromFields:
1891
- H = "", C = !0, F = !0;
1891
+ H = "", x = !0, F = !0;
1892
1892
  break;
1893
1893
  case h.BarAndLineMonoField:
1894
1894
  case h.PieFromCategory:
@@ -1896,14 +1896,14 @@ async function ct(i) {
1896
1896
  break;
1897
1897
  case h.BoxPlotMonoField:
1898
1898
  case h.BoxPlotMultiFields:
1899
- C = !0, N = !0;
1899
+ x = !0, N = !0;
1900
1900
  break;
1901
1901
  case h.BoxPlotMonoFieldAndCategory:
1902
1902
  case h.BoxPlotMultiFieldsAndCategory:
1903
1903
  case h.BoxPlotMonoFieldAndSplitBy:
1904
1904
  case h.BoxPlotMonoFieldAndCategoryAndSplitBy:
1905
1905
  case h.BoxPlotMultiFieldsAndSplitBy: {
1906
- N = !0, B = !0, C = !0;
1906
+ N = !0, B = !0, x = !0;
1907
1907
  break;
1908
1908
  }
1909
1909
  case h.PieNoAggregation:
@@ -1913,34 +1913,34 @@ async function ct(i) {
1913
1913
  if (F && Vn({
1914
1914
  uniqueQuery: v,
1915
1915
  y: g,
1916
- useGenericOutStatFieldName: x,
1916
+ useGenericOutStatFieldName: C,
1917
1917
  queryObject: n,
1918
1918
  chartSubType: u,
1919
1919
  isTimeBinningSeries: y,
1920
1920
  returnFeaturesExtent: c,
1921
- splitByField: O
1922
- }), 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) => {
1923
- const I = X.split(" ");
1924
- return !ee(I[0]);
1925
- })), y && oe(l[0])) {
1926
- const X = z(n), { objectIdField: I } = X;
1927
- (await Te(n)).find((te) => te.name === m)?.type !== Ye.DateOnly && Rn({
1921
+ splitByField: E
1922
+ }), B && qn({ uniqueQuery: v, splitByField: E, x: m }), N && (v.outStatistics = In({ chartConfig: e, fetchFullBoxPlotData: s })), x ? delete v.orderByFields : t.orderByFields !== void 0 && (v.orderByFields = t.orderByFields.filter((Fe) => {
1923
+ const $ = Fe.split(" ");
1924
+ return !Z($[0]);
1925
+ })), y && se(l[0])) {
1926
+ const Fe = z(n), { objectIdField: $ } = Fe;
1927
+ (await Te(n)).find((ee) => ee.name === m)?.type !== Ye.DateOnly && Rn({
1928
1928
  uniqueQuery: v,
1929
1929
  x: m,
1930
1930
  splitByField: K(f.where),
1931
1931
  unit: r?.unit ?? l[0].temporalBinning?.unit,
1932
1932
  chartSubType: u,
1933
- objectIdField: I
1933
+ objectIdField: $
1934
1934
  });
1935
1935
  }
1936
1936
  v.where = H;
1937
1937
  }
1938
1938
  pi({ chartConfig: e, options: a, uniqueQuery: v });
1939
- const { gdbVersion: T, geometry: w, distance: L, units: D, timeExtent: R, where: M, objectIds: q, spatialRelationship: A } = t;
1940
- return T !== void 0 && (v.gdbVersion = T), w !== void 0 && (v.geometry = w), L !== void 0 && (v.distance = L), D !== void 0 && (v.units = D), R !== void 0 && (v.timeExtent = R), q !== void 0 && (v.objectIds = q), A !== void 0 && (v.spatialRelationship = A), M !== void 0 && (v.where = Q([v.where, M])), { uniqueQuery: v, mapToStatField: p };
1939
+ const { gdbVersion: A, geometry: w, distance: L, units: D, timeExtent: M, where: O, objectIds: q, spatialRelationship: T } = t;
1940
+ return A !== void 0 && (v.gdbVersion = A), w !== void 0 && (v.geometry = w), L !== void 0 && (v.distance = L), D !== void 0 && (v.units = D), M !== void 0 && (v.timeExtent = M), q !== void 0 && (v.objectIds = q), T !== void 0 && (v.spatialRelationship = T), O !== void 0 && (v.where = Q([v.where, O])), { uniqueQuery: v, mapToStatField: p };
1941
1941
  }
1942
1942
  async function kn(i) {
1943
- const { queryObject: e, queryConfig: t, chartConfig: a, abortKey: n } = i, r = a.series[0], { x: s, valueConversion: o } = r, c = Xt(a), l = await ye({
1943
+ const { queryObject: e, queryConfig: t, chartConfig: a, abortKey: n } = i, r = a.series[0], { x: s, valueConversion: o } = r, c = Xt(a), l = await ge({
1944
1944
  queryObject: e,
1945
1945
  queryConfig: t,
1946
1946
  featureCount: t.num ?? 1,
@@ -1972,7 +1972,7 @@ async function jn(i) {
1972
1972
  behaviorAfterLimit: c,
1973
1973
  numberMaxOfFeaturesToFetch: l,
1974
1974
  isGaugeByFeature: u
1975
- })).elementCount, n?.chartLimits?.behaviorAfterLimit !== $e.RenderUpToTheLimit && (d = Se({
1975
+ })).elementCount, n?.chartLimits?.behaviorAfterLimit !== $e.RenderUpToTheLimit && (d = he({
1976
1976
  count: f ?? 0,
1977
1977
  seriesCount: t.series.length,
1978
1978
  chartType: S.GaugeSeries,
@@ -2037,7 +2037,7 @@ function Wn(i = _.None, e) {
2037
2037
  }
2038
2038
  function hi(i, e) {
2039
2039
  const t = { valid: !1 };
2040
- return e === !0 ? t.invalidType = $.HistogramEmptyField : i === _.Log ? t.invalidType = $.NegativeValueInLogCalculation : i === _.Sqrt && (t.invalidType = $.NegativeValueInSqrtCalculation), t;
2040
+ return e === !0 ? t.invalidType = R.HistogramEmptyField : i === _.Log ? t.invalidType = R.NegativeValueInLogCalculation : i === _.Sqrt && (t.invalidType = R.NegativeValueInSqrtCalculation), t;
2041
2041
  }
2042
2042
  function Qn(i, e) {
2043
2043
  let t = i;
@@ -2195,22 +2195,22 @@ async function Jn(i) {
2195
2195
  p === void 0 ? p = new $t({ timeExtent: L }) : p.timeExtent = L;
2196
2196
  }
2197
2197
  y.filter = p;
2198
- let x;
2198
+ let C;
2199
2199
  y.outStatisticTypes = { exclude: ["median"] };
2200
2200
  try {
2201
- x = await Rt(y);
2201
+ C = await Rt(y);
2202
2202
  } catch (L) {
2203
2203
  throw new pt(Vt.QueryFeaturesError, o.errors.queryError, L);
2204
2204
  }
2205
2205
  y.outStatisticTypes = { include: ["median"] };
2206
2206
  try {
2207
2207
  const L = await Rt(y);
2208
- L?.median && (x.median = L.median);
2208
+ L?.median && (C.median = L.median);
2209
2209
  } catch {
2210
2210
  }
2211
- x = Un(x);
2212
- const { avg: F, count: C, stddev: B, min: N, max: v, sum: T, median: w } = x;
2213
- if (C === 0)
2211
+ C = Un(C);
2212
+ const { avg: F, count: x, stddev: B, min: N, max: v, sum: A, median: w } = C;
2213
+ if (x === 0)
2214
2214
  u = {
2215
2215
  ...hi(l)
2216
2216
  };
@@ -2229,10 +2229,10 @@ async function Jn(i) {
2229
2229
  let D;
2230
2230
  try {
2231
2231
  D = await va(L);
2232
- } catch (M) {
2233
- throw new pt(Vt.QueryFeaturesError, o.errors.queryError, M);
2232
+ } catch (O) {
2233
+ throw new pt(Vt.QueryFeaturesError, o.errors.queryError, O);
2234
2234
  }
2235
- const R = Kn(r, n);
2235
+ const M = Kn(r, n);
2236
2236
  u.data = {
2237
2237
  mean: F,
2238
2238
  stddev: B,
@@ -2241,8 +2241,8 @@ async function Jn(i) {
2241
2241
  median: Number(w),
2242
2242
  bins: D?.bins,
2243
2243
  count: n,
2244
- nulls: R,
2245
- sum: T ?? void 0
2244
+ nulls: M,
2245
+ sum: A ?? void 0
2246
2246
  }, u.data.bins.length > 0 && (u.data.bins[u.data.bins.length - 1].isLastBin = !0);
2247
2247
  }
2248
2248
  }
@@ -2274,7 +2274,7 @@ async function Xn(i) {
2274
2274
  };
2275
2275
  return {
2276
2276
  valid: !0,
2277
- data: { dataItems: (await ye({
2277
+ data: { dataItems: (await ge({
2278
2278
  queryObject: e,
2279
2279
  queryConfig: o
2280
2280
  })).map((u) => ({
@@ -2320,22 +2320,22 @@ async function tr(i) {
2320
2320
  dataContextCountDistinctX: d,
2321
2321
  dataContextCountDistinctY: f
2322
2322
  } = b.scatterplotAggregationFields;
2323
- let m, g, y, p, x;
2324
- const F = e.get(o), C = e.get(c), B = e.get(l), N = e.get(u);
2325
- if (F != null && B !== void 0 && B !== null && C !== void 0 && C !== null && N !== void 0 && N !== null && !Number.isNaN(F + C + B + N)) {
2323
+ let m, g, y, p, C;
2324
+ const F = e.get(o), x = e.get(c), B = e.get(l), N = e.get(u);
2325
+ if (F != null && B !== void 0 && B !== null && x !== void 0 && x !== null && N !== void 0 && N !== null && !Number.isNaN(F + x + B + N)) {
2326
2326
  const { maxScatterPointsAfterAggregation: v } = Re(n?.chartLimits), w = Math.floor(Math.sqrt(v)), L = await er({
2327
2327
  queryObject: a,
2328
2328
  chartConfig: t,
2329
2329
  queryConfig: r,
2330
2330
  abortKey: s
2331
2331
  });
2332
- y = Math.min(L.get(f) ?? Number.NaN, w), p = Math.min(L.get(d) ?? Number.NaN, w), x = p * y, m = C === F ? 0 : (C - F) / (p - 1), g = N === B ? 0 : (N - B) / (y - 1), e.set(b.scatterplotAggregationFields.xStep, m), e.set(b.scatterplotAggregationFields.yStep, g), e.set(b.scatterplotAggregationFields.rowCount, y), e.set(b.scatterplotAggregationFields.columnCount, p), e.set(b.scatterplotAggregationFields.realGridSize, x);
2332
+ y = Math.min(L.get(f) ?? Number.NaN, w), p = Math.min(L.get(d) ?? Number.NaN, w), C = p * y, m = x === F ? 0 : (x - F) / (p - 1), g = N === B ? 0 : (N - B) / (y - 1), e.set(b.scatterplotAggregationFields.xStep, m), e.set(b.scatterplotAggregationFields.yStep, g), e.set(b.scatterplotAggregationFields.rowCount, y), e.set(b.scatterplotAggregationFields.columnCount, p), e.set(b.scatterplotAggregationFields.realGridSize, C);
2333
2333
  }
2334
2334
  }
2335
2335
  function ir(i) {
2336
2336
  const { groupByFieldsForStatistics: e, x: t, y: a, xValue: n, yValue: r, xStep: s, yStep: o, endOfRow: c, endOfColumn: l } = i;
2337
2337
  let u = e === "" ? Me.groupByCaseBegin : e;
2338
- return u = de(Zn, {
2338
+ return u = ue(Zn, {
2339
2339
  groupByFieldsForStatistics: u,
2340
2340
  x: t,
2341
2341
  y: a,
@@ -2355,7 +2355,7 @@ function ir(i) {
2355
2355
  }
2356
2356
  async function ar(i) {
2357
2357
  const { chartConfig: e, queryConfig: t, queryObject: a, xMin: n, xMax: r, yMin: s, yMax: o, abortKey: c } = i, l = e.series[0], { x: u, y: d } = l, f = { ...t };
2358
- return f.where = Q([f.where, `${u}>=${n}`, `${u}<=${r}`]), u !== d && (f.where = Q([f.where, `${d}>=${s}`, `${d}<=${o}`])), await ye({
2358
+ return f.where = Q([f.where, `${u}>=${n}`, `${u}<=${r}`]), u !== d && (f.where = Q([f.where, `${d}>=${s}`, `${d}<=${o}`])), await ge({
2359
2359
  queryObject: a,
2360
2360
  queryConfig: f,
2361
2361
  noBatch: !0,
@@ -2373,29 +2373,29 @@ async function nr(i) {
2373
2373
  queryNumberOfFeatures: y,
2374
2374
  queryNumberOfAggregatedFeatures: p
2375
2375
  } = b.scatterplotAggregationFields;
2376
- let x;
2377
- 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;
2378
- if (F != null && N !== void 0 && N !== null && C !== void 0 && C !== null && v !== void 0 && v !== null && !Number.isNaN(F + C + N + v)) {
2379
- const T = z(a), { objectIdField: w } = T, L = e?.get(b.scatterplotAggregationFields.xStep), D = e?.get(b.scatterplotAggregationFields.yStep), R = e?.get(b.scatterplotAggregationFields.realGridSize), M = e?.get(b.scatterplotAggregationFields.rowCount), q = e?.get(b.scatterplotAggregationFields.columnCount), A = /* @__PURE__ */ new Map(), O = await Te(a);
2380
- if (O?.forEach((I) => {
2381
- We(I) && A.set(I.name, {
2382
- onStatisticField: I.name,
2383
- outStatisticFieldName: I.name,
2376
+ let C;
2377
+ const F = e?.get(d) ?? Number.NaN, x = e?.get(f) ?? Number.NaN, B = e?.get(y) ?? Number.NaN, N = e?.get(m) ?? F, v = e?.get(g) ?? x;
2378
+ if (F != null && N !== void 0 && N !== null && x !== void 0 && x !== null && v !== void 0 && v !== null && !Number.isNaN(F + x + N + v)) {
2379
+ const A = z(a), { objectIdField: w } = A, L = e?.get(b.scatterplotAggregationFields.xStep), D = e?.get(b.scatterplotAggregationFields.yStep), M = e?.get(b.scatterplotAggregationFields.realGridSize), O = e?.get(b.scatterplotAggregationFields.rowCount), q = e?.get(b.scatterplotAggregationFields.columnCount), T = /* @__PURE__ */ new Map(), E = await Te(a);
2380
+ if (E?.forEach(($) => {
2381
+ We($) && T.set($.name, {
2382
+ onStatisticField: $.name,
2383
+ outStatisticFieldName: $.name,
2384
2384
  statisticType: P.Maximum
2385
2385
  });
2386
- }), (O.filter((I) => c?.additionalTooltipFields?.includes(I.name)) ?? [])?.forEach((I) => {
2387
- We(I) || A.set(I.name, {
2388
- onStatisticField: I.name,
2389
- outStatisticFieldName: I.name,
2386
+ }), (E.filter(($) => c?.additionalTooltipFields?.includes($.name)) ?? [])?.forEach(($) => {
2387
+ We($) || T.set($.name, {
2388
+ onStatisticField: $.name,
2389
+ outStatisticFieldName: $.name,
2390
2390
  statisticType: P.Maximum
2391
2391
  });
2392
- }), (await Zt(T)).forEach((I) => {
2393
- A.set(I, {
2394
- onStatisticField: I,
2395
- outStatisticFieldName: I,
2392
+ }), (await Zt(A)).forEach(($) => {
2393
+ T.set($, {
2394
+ onStatisticField: $,
2395
+ outStatisticFieldName: $,
2396
2396
  statisticType: P.Maximum
2397
2397
  });
2398
- }), A.set(w, {
2398
+ }), T.set(w, {
2399
2399
  onStatisticField: w,
2400
2400
  outStatisticFieldName: p,
2401
2401
  statisticType: P.Count
@@ -2409,27 +2409,27 @@ async function nr(i) {
2409
2409
  statisticType: P.Maximum
2410
2410
  }), L !== void 0 && D !== void 0) {
2411
2411
  if (r) {
2412
- const I = {
2412
+ const $ = {
2413
2413
  ...n,
2414
- outStatistics: [...A.values()]
2414
+ outStatistics: [...T.values()]
2415
2415
  };
2416
- x = await ea({
2416
+ C = await ea({
2417
2417
  queryObject: a,
2418
- queryConfig: I,
2418
+ queryConfig: $,
2419
2419
  xStep: L,
2420
2420
  xMin: F,
2421
- xMax: C,
2421
+ xMax: x,
2422
2422
  x: l,
2423
2423
  y: u,
2424
2424
  yStep: D,
2425
2425
  errorStrings: s
2426
2426
  });
2427
- } else if (M !== void 0 && q !== void 0) {
2428
- let I = 0;
2429
- const { maxScatterCellsPerQuery: Z, maxScatterCellsPerQueryForStandard: ue } = Ue(), De = await ta(T) ? ue : Z, Dt = [];
2427
+ } else if (O !== void 0 && q !== void 0) {
2428
+ let $ = 0;
2429
+ const { maxScatterCellsPerQuery: X, maxScatterCellsPerQueryForStandard: ce } = Ue(), De = await ta(A) ? ce : X, Dt = [];
2430
2430
  let dt = !0, Oe = F, Ae = N, qe = "", Je = 1, ft = 1, Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER;
2431
2431
  for (; ft <= q && dt; ) {
2432
- for (Ae = N, Je = 1; Je <= M && dt; ) {
2432
+ for (Ae = N, Je = 1; Je <= O && dt; ) {
2433
2433
  if (qe = ir({
2434
2434
  groupByFieldsForStatistics: qe,
2435
2435
  x: l,
@@ -2438,14 +2438,14 @@ async function nr(i) {
2438
2438
  yValue: Ae,
2439
2439
  xStep: L,
2440
2440
  yStep: D,
2441
- endOfRow: Je === M,
2441
+ endOfRow: Je === O,
2442
2442
  endOfColumn: ft === q
2443
- }), 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) {
2443
+ }), Oe < Xe && (Xe = Oe), Oe + L > Ze && (Ze = Oe + L), Ae < et && (et = Ae), Ae + L > tt && (tt = Ae + D), $ += 1, $ % De === 0 || $ === M || $ === B) {
2444
2444
  qe = `${qe} ${Me.groupByCaseEnd}`;
2445
2445
  const Vi = {
2446
2446
  ...n,
2447
2447
  groupByFieldsForStatistics: [qe],
2448
- outStatistics: [...A.values()]
2448
+ outStatistics: [...T.values()]
2449
2449
  };
2450
2450
  Dt.push(
2451
2451
  ar({
@@ -2458,17 +2458,17 @@ async function nr(i) {
2458
2458
  yMax: tt,
2459
2459
  abortKey: o
2460
2460
  })
2461
- ), 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);
2461
+ ), Xe = Number.MAX_SAFE_INTEGER, Ze = Number.MIN_SAFE_INTEGER, et = Number.MAX_SAFE_INTEGER, tt = Number.MIN_SAFE_INTEGER, qe = "", $ === M && (dt = !1);
2462
2462
  }
2463
2463
  Ae += D, Je += 1;
2464
2464
  }
2465
2465
  Oe += L, ft += 1;
2466
2466
  }
2467
- x = (await Promise.all(Dt)).flat();
2467
+ C = (await Promise.all(Dt)).flat();
2468
2468
  }
2469
2469
  }
2470
2470
  }
2471
- return x;
2471
+ return C;
2472
2472
  }
2473
2473
  const rr = {
2474
2474
  dataFormat: "json",
@@ -2520,28 +2520,28 @@ async function cr(i) {
2520
2520
  fieldValue: g,
2521
2521
  slopePropertyList: y,
2522
2522
  interceptPropertyList: p,
2523
- r2PropertyList: x
2524
- } = rr, F = `[{"${f}": "${m}", "${g}":"${s},${o}"}]`, C = await aa({
2523
+ r2PropertyList: C
2524
+ } = rr, F = `[{"${f}": "${m}", "${g}":"${s},${o}"}]`, x = await aa({
2525
2525
  queryObject: t,
2526
2526
  queryConfig: n,
2527
2527
  outputFormat: d,
2528
2528
  dataFormat: u,
2529
2529
  outAnalytics: F
2530
2530
  });
2531
- if (C !== void 0) {
2531
+ if (x !== void 0) {
2532
2532
  let B = Number.NaN, N = Number.NaN;
2533
- const { expr: v } = mt(C, y), { expr: T } = mt(C, p), { expr: w } = mt(C, x);
2534
- 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]);
2535
- const { dataContextXMinField: L, dataContextXMaxField: D, dataContextYMinField: R, dataContextYMaxField: M } = b.scatterplotAggregationFields, q = e.get(L) ?? Number.NaN, A = e.get(D) ?? Number.NaN, O = e.get(R) ?? Number.NaN, H = e.get(M) ?? Number.NaN, I = (A - q) / 100;
2536
- let Z = q - I, ue = Number.NaN;
2537
- for (; !(ue >= O && ue <= H) && Z <= A; )
2538
- Z += I, ue = B * Z + N;
2539
- let te = A + I, De = Number.NaN;
2540
- for (; !(De >= O && De <= H) && te >= q; )
2541
- te -= I, De = B * te + N;
2533
+ const { expr: v } = mt(x, y), { expr: A } = mt(x, p), { expr: w } = mt(x, C);
2534
+ v !== void 0 && Number.isFinite(x[v]) && (B = x[v]), A !== void 0 && Number.isFinite(x[A]) && (N = x[A]), w !== void 0 && Number.isFinite(x[w]) && (c = x[w]);
2535
+ const { dataContextXMinField: L, dataContextXMaxField: D, dataContextYMinField: M, dataContextYMaxField: O } = b.scatterplotAggregationFields, q = e.get(L) ?? Number.NaN, T = e.get(D) ?? Number.NaN, E = e.get(M) ?? Number.NaN, H = e.get(O) ?? Number.NaN, $ = (T - q) / 100;
2536
+ let X = q - $, ce = Number.NaN;
2537
+ for (; !(ce >= E && ce <= H) && X <= T; )
2538
+ X += $, ce = B * X + N;
2539
+ let ee = T + $, De = Number.NaN;
2540
+ for (; !(De >= E && De <= H) && ee >= q; )
2541
+ ee -= $, De = B * ee + N;
2542
2542
  l = [
2543
- { [s]: Z, [o]: ue },
2544
- { [s]: te, [o]: De }
2543
+ { [s]: X, [o]: ce },
2544
+ { [s]: ee, [o]: De }
2545
2545
  ];
2546
2546
  }
2547
2547
  return { r2: c, trendLinePoints: l };
@@ -2625,30 +2625,30 @@ function fr(i) {
2625
2625
  if (e && "stackedAttributes" in t && t.stackedAttributes) {
2626
2626
  const f = sa(a, n), m = t.attributes[f.lowerBoundaryAlias], g = t.attributes[f.upperBoundaryAlias];
2627
2627
  t.stackedAttributes.forEach((y) => {
2628
- let p = y[f.stackAlias], x;
2629
- typeof p == "number" && typeof r == "number" && (p *= r), typeof p == "number" && typeof r == "number" && (x = p + r);
2630
- const F = y[a], C = y[n];
2631
- typeof p == "number" && typeof x == "number" && typeof F == "number" && typeof C == "number" && d.push({
2628
+ let p = y[f.stackAlias], C;
2629
+ typeof p == "number" && typeof r == "number" && (p *= r), typeof p == "number" && typeof r == "number" && (C = p + r);
2630
+ const F = y[a], x = y[n];
2631
+ typeof p == "number" && typeof C == "number" && typeof F == "number" && typeof x == "number" && d.push({
2632
2632
  ...y,
2633
2633
  [a]: at({ value: F, valueMin: m, valueMax: g }),
2634
- [n]: at({ value: C, valueMin: p, valueMax: x }),
2634
+ [n]: at({ value: x, valueMin: p, valueMax: C }),
2635
2635
  [o]: Math.min(m, g),
2636
2636
  [c]: Math.max(m, g),
2637
2637
  [l]: p,
2638
- [u]: x
2638
+ [u]: C
2639
2639
  });
2640
2640
  });
2641
2641
  } else {
2642
2642
  const { expr: f, isInItem: m } = lt(t.attributes);
2643
2643
  if (m && f && t.attributes[f] !== s) {
2644
- let [g, y, p, x] = t.attributes[f].split("|");
2645
- g = Math.min(g, y), y = Math.max(g, y), p = Math.min(p, x), x = Math.max(p, x);
2644
+ let [g, y, p, C] = t.attributes[f].split("|");
2645
+ g = Math.min(g, y), y = Math.max(g, y), p = Math.min(p, C), C = Math.max(p, C);
2646
2646
  const F = {
2647
2647
  ...t.attributes,
2648
2648
  [o]: g,
2649
2649
  [c]: y,
2650
2650
  [l]: p,
2651
- [u]: x
2651
+ [u]: C
2652
2652
  };
2653
2653
  F[a] = at({
2654
2654
  value: F[a],
@@ -2657,7 +2657,7 @@ function fr(i) {
2657
2657
  }), F[n] = at({
2658
2658
  value: F[n],
2659
2659
  valueMin: p,
2660
- valueMax: x
2660
+ valueMax: C
2661
2661
  }), d = [F];
2662
2662
  }
2663
2663
  }
@@ -2689,15 +2689,15 @@ async function gr(i) {
2689
2689
  /* @__PURE__ */ new Set([o, c, l.objectIdField, ...f, ...m])
2690
2690
  );
2691
2691
  if (!ei(l).isTable) {
2692
- const { rendererField: p, rendererNormalizationField: x } = ra(l?.renderer ?? void 0);
2693
- ee(p) || g.push(p), ee(x) || g.push(x);
2692
+ const { rendererField: p, rendererNormalizationField: C } = ra(l?.renderer ?? void 0);
2693
+ Z(p) || g.push(p), Z(C) || g.push(C);
2694
2694
  }
2695
2695
  const y = {
2696
2696
  ...t,
2697
- orderByFields: [`${o} ${me.Ascending}`],
2697
+ orderByFields: [`${o} ${fe.Ascending}`],
2698
2698
  outFields: g
2699
2699
  };
2700
- return u = await ye({
2700
+ return u = await ge({
2701
2701
  queryObject: e,
2702
2702
  queryConfig: y,
2703
2703
  featureCount: n,
@@ -2769,9 +2769,9 @@ async function xi(i) {
2769
2769
  n !== !1 && Ge({
2770
2770
  arrayToSort: p,
2771
2771
  sortingField: e.series[0].x,
2772
- orderBy: me.Ascending
2772
+ orderBy: fe.Ascending
2773
2773
  });
2774
- const { r2: x, trendLinePoints: F } = r !== !1 ? await ur({
2774
+ const { r2: C, trendLinePoints: F } = r !== !1 ? await ur({
2775
2775
  data: p,
2776
2776
  statsMap: c,
2777
2777
  queryConfig: t,
@@ -2779,7 +2779,7 @@ async function xi(i) {
2779
2779
  queryObject: a,
2780
2780
  chartConfig: e
2781
2781
  }) : b.scatterplotSeries;
2782
- return { dataItems: p, r2: x, trendLinePoints: F, aggregated: m };
2782
+ return { dataItems: p, r2: C, trendLinePoints: F, aggregated: m };
2783
2783
  }
2784
2784
  function pr(i) {
2785
2785
  const { itemsA: e, itemsB: t, isPieFromFields: a, x: n, y: r, outStatisticFieldName: s } = i, o = Ce(e), c = Ce(t);
@@ -2805,11 +2805,11 @@ function pr(i) {
2805
2805
  k.valueField,
2806
2806
  ...oa
2807
2807
  ], d = (y, p) => {
2808
- const x = p[b.typeOrDomainFieldName];
2809
- typeof x == "string" && p[x] !== void 0 && (p[x] = p[b.typeOrDomainIdValue]), n && p[k.xField] !== void 0 && (p[n] = p[k.xField], delete p[k.xField]), r && p[k.yField] !== void 0 && (p[r] = p[k.yField], delete p[k.yField]), s && p[k.valueField] !== void 0 && (p[s] = p[k.valueField], delete p[k.valueField]);
2808
+ const C = p[b.typeOrDomainFieldName];
2809
+ typeof C == "string" && p[C] !== void 0 && (p[C] = p[b.typeOrDomainIdValue]), n && p[k.xField] !== void 0 && (p[n] = p[k.xField], delete p[k.xField]), r && p[k.yField] !== void 0 && (p[r] = p[k.yField], delete p[k.yField]), s && p[k.valueField] !== void 0 && (p[s] = p[k.valueField], delete p[k.valueField]);
2810
2810
  const F = {};
2811
- return Object.keys(p).forEach((C) => {
2812
- !u.includes(C) && !C.includes(b.rendererSymbolField) && (F[C] = p[C]);
2811
+ return Object.keys(p).forEach((x) => {
2812
+ !u.includes(x) && !x.includes(b.rendererSymbolField) && (F[x] = p[x]);
2813
2813
  }), y.push(F), y;
2814
2814
  }, f = (y, p) => JSON.stringify(y).localeCompare(JSON.stringify(p)), m = o?.reduce(d, [])?.sort(f), g = c?.reduce(d, [])?.sort(f);
2815
2815
  l = m?.length !== g?.length || !Le(m, g);
@@ -2820,11 +2820,11 @@ function hr(i) {
2820
2820
  const { chartConfig: e, currentSelectionDataItems: t, options: a } = i, { selectionData: n } = a ?? {};
2821
2821
  let r = [];
2822
2822
  if (e !== void 0) {
2823
- const s = e.series, o = E(s), { selectionItems: c } = n ?? {};
2823
+ const s = e.series, o = V(s), { selectionItems: c } = n ?? {};
2824
2824
  if (c !== void 0 && pr({
2825
2825
  itemsA: c,
2826
2826
  itemsB: t,
2827
- isPieFromFields: E(e.series) === h.PieFromFields,
2827
+ isPieFromFields: V(e.series) === h.PieFromFields,
2828
2828
  x: e.series[0].x,
2829
2829
  y: "y" in e.series[0] ? e.series[0].y.toString() : void 0,
2830
2830
  outStatisticFieldName: e.series[0].query?.outStatistics?.[0]?.outStatisticFieldName
@@ -2862,8 +2862,8 @@ function Sr(i) {
2862
2862
  }
2863
2863
  } else
2864
2864
  r = Q([
2865
- Fe({ where: Be(t, e[t]) }),
2866
- a !== void 0 ? Fe({ where: Be(a, e[a]) }) : ""
2865
+ Se({ where: Be(t, e[t]) }),
2866
+ a !== void 0 ? Se({ where: Be(a, e[a]) }) : ""
2867
2867
  ]);
2868
2868
  return r;
2869
2869
  }
@@ -2896,27 +2896,27 @@ function vi(i) {
2896
2896
  keepNullValues: !0,
2897
2897
  specificField: b.typeOrDomainIdValue
2898
2898
  });
2899
- r === Ye.Double ? o = Bi(d, e) : (Pe(s.axes?.[0].valueFormat) && (d = Ve(d)), o = Fe({
2899
+ r === Ye.Double ? o = Bi(d, e) : (Pe(s.axes?.[0].valueFormat) && (d = Ve(d)), o = Se({
2900
2900
  where: Be(e, d),
2901
2901
  normalize: !1,
2902
2902
  escape: !0
2903
2903
  }));
2904
2904
  }
2905
- const c = Fe({ where: a ?? "", normalize: !1, escape: !0 });
2905
+ const c = Se({ where: a ?? "", normalize: !1, escape: !0 });
2906
2906
  let l = "";
2907
2907
  if (Qa(s) === !0) {
2908
- const d = E(s.series) === h.BoxPlotMultiFieldsAndCategory ? t : void 0, f = U({
2909
- key: V.Min,
2908
+ const d = V(s.series) === h.BoxPlotMultiFieldsAndCategory ? t : void 0, f = U({
2909
+ key: I.Min,
2910
2910
  showOutliers: !0,
2911
2911
  splitBy: a,
2912
2912
  y: d
2913
2913
  }), m = U({
2914
- key: V.Max,
2914
+ key: I.Max,
2915
2915
  showOutliers: !0,
2916
2916
  splitBy: a,
2917
2917
  y: d
2918
2918
  }), g = e === b.boxPlot.boxPlotCategory ? n[e] : t;
2919
- if (!ee(g)) {
2919
+ if (!Z(g)) {
2920
2920
  const y = n[f], p = n[m];
2921
2921
  Number.isFinite(y) && Number.isFinite(p) && (l = `${g?.toString()}>=${y?.toString()} AND ${g?.toString()}<=${p?.toString()}`);
2922
2922
  }
@@ -2928,26 +2928,26 @@ function Fr(i) {
2928
2928
  let s = "";
2929
2929
  if (b.dateBinningRange in a)
2930
2930
  s = Ci(e, a);
2931
- else if (E(r.series) !== h.BarAndLineFromFields) {
2931
+ else if (V(r.series) !== h.BarAndLineFromFields) {
2932
2932
  let l = ze({
2933
2933
  value: a[e],
2934
2934
  dataContext: a,
2935
2935
  keepNullValues: !0,
2936
2936
  specificField: b.typeOrDomainIdValue
2937
2937
  });
2938
- n === Ye.Double ? s = Bi(l, e) : (Pe(r.axes?.[0].valueFormat) && (l = Ve(l)), s = Fe({
2938
+ n === Ye.Double ? s = Bi(l, e) : (Pe(r.axes?.[0].valueFormat) && (l = Ve(l)), s = Se({
2939
2939
  where: Be(e, l),
2940
2940
  normalize: !1,
2941
2941
  escape: !0
2942
2942
  }));
2943
2943
  }
2944
- const o = Fe({ where: t ?? "", normalize: !1, escape: !0 });
2944
+ const o = Se({ where: t ?? "", normalize: !1, escape: !0 });
2945
2945
  return Q([s, o]);
2946
2946
  }
2947
2947
  function br(i) {
2948
2948
  const { xAxisField: e, dataContext: t, chartConfig: a } = i;
2949
2949
  let n = b.typeOrDomainIdValue in t ? t[b.typeOrDomainIdValue] : t[b.originalCategoryValue];
2950
- return n === void 0 && (n = t[e]), E(a.series) === h.PieFromFields ? "" : Fe({
2950
+ return n === void 0 && (n = t[e]), V(a.series) === h.PieFromFields ? "" : Se({
2951
2951
  where: Be(e, n),
2952
2952
  normalize: !1,
2953
2953
  escape: !0
@@ -2981,7 +2981,7 @@ function xr(i) {
2981
2981
  if (c.type === S.HeatSeries) {
2982
2982
  let u, d;
2983
2983
  const f = a[k.xField], m = a[k.yField], g = n.axes?.[0]?.valueFormat?.type, y = n.axes?.[1]?.valueFormat?.type;
2984
- g === S.CategoryAxisFormat ? u = Fe({
2984
+ g === S.CategoryAxisFormat ? u = Se({
2985
2985
  where: Be(c.x, f),
2986
2986
  normalize: !1,
2987
2987
  escape: !0
@@ -2993,7 +2993,7 @@ function xr(i) {
2993
2993
  outTimeZone: r,
2994
2994
  dataTimeZone: s,
2995
2995
  runsOnClientQueryEngine: o
2996
- }), y === S.CategoryAxisFormat ? d = Fe({
2996
+ }), y === S.CategoryAxisFormat ? d = Se({
2997
2997
  where: Be(c.y, m),
2998
2998
  normalize: !1,
2999
2999
  escape: !0
@@ -3050,8 +3050,8 @@ function Xo(i) {
3050
3050
  async function Br(i) {
3051
3051
  const { numberOfQueries: e, selectionOIDs: t, chartConfig: a, queryConfig: n, options: r, errorStrings: s, queryObject: o } = i, { setTimeBinningInfoWhenNotProvided: c } = r ?? {}, { series: l } = a, u = W(l), d = [], { maxOIDsPerSelectionQuery: f } = Ue();
3052
3052
  for (let g = 0; g < e; g += 1) {
3053
- const y = g * f, p = (g + 1) * f - 1, x = t.slice(y === 0 ? 0 : y - 1, p), F = { ...n };
3054
- switch (F.objectIds = x, u) {
3053
+ const y = g * f, p = (g + 1) * f - 1, C = t.slice(y === 0 ? 0 : y - 1, p), F = { ...n };
3054
+ switch (F.objectIds = C, u) {
3055
3055
  case S.HeatSeries:
3056
3056
  d.push(
3057
3057
  Di({
@@ -3071,14 +3071,14 @@ async function Br(i) {
3071
3071
  case S.RadarSeries:
3072
3072
  case S.ComboLineAndBarSeries:
3073
3073
  if (Ne({
3074
- xAxisValueFormatType: pe(a),
3074
+ xAxisValueFormatType: ye(a),
3075
3075
  setTimeBinningInfoWhenNotProvided: c,
3076
3076
  seriesConfig: l[0]
3077
3077
  })) {
3078
- const C = a;
3079
- "temporalBinning" in C.series[0] && C.series[0].temporalBinning && (C.series[0].temporalBinning.trimIncompleteTimeInterval = !1, Qe(o) && (delete C.series[0].temporalBinning.start, delete C.series[0].temporalBinning.end)), d.push(
3078
+ const x = a;
3079
+ "temporalBinning" in x.series[0] && x.series[0].temporalBinning && (x.series[0].temporalBinning.trimIncompleteTimeInterval = !1, Qe(o) && (delete x.series[0].temporalBinning.start, delete x.series[0].temporalBinning.end)), d.push(
3080
3080
  wt({
3081
- chartConfig: C,
3081
+ chartConfig: x,
3082
3082
  queryConfig: F,
3083
3083
  queryObject: o,
3084
3084
  options: r
@@ -3135,7 +3135,7 @@ async function Br(i) {
3135
3135
  return await Promise.all(d);
3136
3136
  }
3137
3137
  function vr(i) {
3138
- const { dataFetchingResults: e, numberOfQueries: t, series: a } = i, n = W(a), r = E(a);
3138
+ const { dataFetchingResults: e, numberOfQueries: t, series: a } = i, n = W(a), r = V(a);
3139
3139
  let s = [];
3140
3140
  const o = /* @__PURE__ */ new Map();
3141
3141
  for (let c = 0; c < t; c += 1) {
@@ -3166,8 +3166,8 @@ function vr(i) {
3166
3166
  );
3167
3167
  } else l.valid && (r === h.PieFromFields ? s = st({
3168
3168
  dataToConvert: u[0],
3169
- x: ne,
3170
- y: he
3169
+ x: ae,
3170
+ y: pe
3171
3171
  }) : r === h.BarAndLineFromFields ? s = st({
3172
3172
  dataToConvert: u[0],
3173
3173
  x: a[0].x,
@@ -3189,7 +3189,7 @@ async function Nr(i) {
3189
3189
  errorStrings: c
3190
3190
  } = i, { series: l } = e, { selectionData: u, viewExtentUpdated: d, returnSelectionOIDs: f, chartLimits: m } = o ?? {}, { selectionItems: g, selectionOIDs: y } = u ?? {};
3191
3191
  let p;
3192
- const x = W(l), F = x !== S.HistogramSeries && x !== S.HeatSeries && g !== void 0 && g.length > 0 && !(l[0].x in g[0]) && !(ne in g[0]) && !(b.boxPlot.boxPlotCategory in g[0]);
3192
+ const C = W(l), F = C !== S.HistogramSeries && C !== S.HeatSeries && g !== void 0 && g.length > 0 && !(l[0].x in g[0]) && !(ae in g[0]) && !(b.boxPlot.boxPlotCategory in g[0]);
3193
3193
  if (d !== !0 && f !== !1 && y !== void 0 && y.length > 0 && (r === !0 || F || y.length !== n?.length || !Le(y, n))) {
3194
3194
  const B = _t(a);
3195
3195
  if (B !== void 0 && !Ka({ dataContext: B[0], chartConfig: e, chartLimits: m }))
@@ -3198,7 +3198,7 @@ async function Nr(i) {
3198
3198
  return typeof v == "number" ? y?.includes(v) : !1;
3199
3199
  });
3200
3200
  else if (y?.[0] !== void 0 && t !== void 0) {
3201
- const { maxOIDsPerSelectionQuery: N } = Ue(), v = Math.ceil(y.length / N), T = await Br({
3201
+ const { maxOIDsPerSelectionQuery: N } = Ue(), v = Math.ceil(y.length / N), A = await Br({
3202
3202
  numberOfQueries: v,
3203
3203
  selectionOIDs: y,
3204
3204
  queryConfig: t,
@@ -3208,7 +3208,7 @@ async function Nr(i) {
3208
3208
  chartConfig: e
3209
3209
  });
3210
3210
  p = vr({
3211
- dataFetchingResults: T,
3211
+ dataFetchingResults: A,
3212
3212
  numberOfQueries: v,
3213
3213
  series: l
3214
3214
  });
@@ -3247,14 +3247,14 @@ async function Zo(i) {
3247
3247
  return r;
3248
3248
  }
3249
3249
  async function Ar(i) {
3250
- const { queryObject: e, queryConfig: t, chartConfig: a, currentSelectionDataItems: n, options: r, errorStrings: s, abortKey: o } = i, c = E(a.series);
3250
+ const { queryObject: e, queryConfig: t, chartConfig: a, currentSelectionDataItems: n, options: r, errorStrings: s, abortKey: o } = i, c = V(a.series);
3251
3251
  let l = { valid: !0, data: { dataItems: [] } };
3252
3252
  if (n !== void 0 && n.length > 0) {
3253
3253
  const u = we(a), { x: d } = u, f = "y" in u ? u.y : "";
3254
3254
  let m;
3255
3255
  e !== void 0 && (m = (await Te(e)).find((B) => B.name === d)?.type);
3256
3256
  const g = [], y = n.reduce(
3257
- (C, B) => {
3257
+ (x, B) => {
3258
3258
  const N = [];
3259
3259
  if (Y.uniqueIdsName in B)
3260
3260
  g.push(B[Y.uniqueIdsName]);
@@ -3263,44 +3263,44 @@ async function Ar(i) {
3263
3263
  case h.BoxPlotMonoFieldAndSplitBy:
3264
3264
  case h.BoxPlotMultiFieldsAndSplitBy:
3265
3265
  case h.BoxPlotMonoFieldAndCategoryAndSplitBy: {
3266
- const w = K(u.query?.where ?? ""), L = `_${V.Average}`;
3266
+ const w = K(u.query?.where ?? ""), L = `_${I.Average}`;
3267
3267
  Object.keys(B).forEach((D) => {
3268
3268
  if (D.includes(L)) {
3269
- const R = D.replace(L, "");
3270
- R.trim() !== "" && N.push(Be(w, R));
3269
+ const M = D.replace(L, "");
3270
+ M.trim() !== "" && N.push(Be(w, M));
3271
3271
  }
3272
3272
  });
3273
3273
  break;
3274
3274
  }
3275
3275
  }
3276
3276
  const v = [f].flat();
3277
- let T = v.length === 1 ? v[0] : "";
3277
+ let A = v.length === 1 ? v[0] : "";
3278
3278
  if (c === h.BoxPlotMultiFieldsAndCategory) {
3279
- const w = `_${V.FirstQuartile}`, L = Object.keys(B).find((D) => D.includes(w));
3280
- L !== void 0 && (T = L.replace(w, ""));
3279
+ const w = `_${I.FirstQuartile}`, L = Object.keys(B).find((D) => D.includes(w));
3280
+ L !== void 0 && (A = L.replace(w, ""));
3281
3281
  }
3282
3282
  N.length === 0 && N.push(""), N.forEach((w) => {
3283
3283
  const L = vi({
3284
3284
  chartConfig: a,
3285
3285
  xAxisField: d,
3286
- yAxisField: T,
3286
+ yAxisField: A,
3287
3287
  splitBy: w,
3288
3288
  dataContext: B,
3289
3289
  xAxisFieldType: m
3290
3290
  });
3291
- C.push(L);
3291
+ x.push(L);
3292
3292
  });
3293
3293
  }
3294
- return C;
3294
+ return x;
3295
3295
  },
3296
3296
  []
3297
3297
  ), p = z(e);
3298
3298
  if (p !== void 0 && g.length > 0) {
3299
- const { objectIdField: C } = p;
3300
- y.push(`${C} IN (${g.join(",")})`);
3299
+ const { objectIdField: x } = p;
3300
+ y.push(`${x} IN (${g.join(",")})`);
3301
3301
  }
3302
- const x = y.join(" OR "), F = { ...t };
3303
- F.where = Q([F.where, x]), l = await Pt({
3302
+ const C = y.join(" OR "), F = { ...t };
3303
+ F.where = Q([F.where, C]), l = await Pt({
3304
3304
  queryObject: e,
3305
3305
  chartConfig: a,
3306
3306
  queryConfig: F,
@@ -3322,7 +3322,7 @@ async function Pr(i) {
3322
3322
  options: o,
3323
3323
  errorStrings: c,
3324
3324
  abortKey: l
3325
- } = i, { series: u } = a, d = W(u), f = pe(a);
3325
+ } = i, { series: u } = a, d = W(u), f = ye(a);
3326
3326
  let m = { valid: !0 }, g;
3327
3327
  di({ currentSelectionOIDs: r, options: o }) ? g = await Nr({
3328
3328
  chartConfig: a,
@@ -3340,10 +3340,10 @@ async function Pr(i) {
3340
3340
  m.data = { dataItems: g };
3341
3341
  break;
3342
3342
  case S.PieSeries:
3343
- if (E(a.series) === h.PieFromFields) {
3344
- const { x: p, y: x } = a.series[0], F = Ce(g);
3345
- F.forEach((C) => {
3346
- p in C && (C[ne] = C[p], delete C[p]), x in C && (C[he] = C[x], delete C[x]);
3343
+ if (V(a.series) === h.PieFromFields) {
3344
+ const { x: p, y: C } = a.series[0], F = Ce(g);
3345
+ F.forEach((x) => {
3346
+ p in x && (x[ae] = x[p], delete x[p]), C in x && (x[pe] = x[C], delete x[C]);
3347
3347
  }), m.data = { dataItems: F };
3348
3348
  } else
3349
3349
  m.data = { dataItems: g };
@@ -3367,8 +3367,8 @@ async function Pr(i) {
3367
3367
  if (n !== void 0 && n.length > 0) {
3368
3368
  const F = n.map(
3369
3369
  (B) => Ci(u[0].x, B)
3370
- ), C = Q(F, "OR");
3371
- p.where = Q([p.where, C]);
3370
+ ), x = Q(F, "OR");
3371
+ p.where = Q([p.where, x]);
3372
3372
  }
3373
3373
  m = await wt({
3374
3374
  queryObject: e,
@@ -3389,14 +3389,14 @@ async function Pr(i) {
3389
3389
  bins: []
3390
3390
  }, m.count = 0;
3391
3391
  else {
3392
- const { x: p } = u[0], x = g.map((B, N) => {
3393
- const { minValue: v, maxValue: T } = B, w = N === g.length - 1 ? "<=" : "<";
3394
- return `${p} >= ${v} AND ${p} ${w} ${T}`;
3395
- }), F = Q(x, "OR"), C = { ...t };
3396
- C.where = Q([C.where, F]), m = await Fi({
3392
+ const { x: p } = u[0], C = g.map((B, N) => {
3393
+ const { minValue: v, maxValue: A } = B, w = N === g.length - 1 ? "<=" : "<";
3394
+ return `${p} >= ${v} AND ${p} ${w} ${A}`;
3395
+ }), F = Q(C, "OR"), x = { ...t };
3396
+ x.where = Q([x.where, F]), m = await Fi({
3397
3397
  queryObject: e,
3398
3398
  chartConfig: a,
3399
- queryConfig: C,
3399
+ queryConfig: x,
3400
3400
  options: o,
3401
3401
  errorStrings: c,
3402
3402
  abortKey: l
@@ -3406,14 +3406,14 @@ async function Pr(i) {
3406
3406
  }
3407
3407
  case S.ScatterSeries: {
3408
3408
  if (g.length === 0) {
3409
- const { r2: p, trendLinePoints: x } = b.scatterplotSeries;
3410
- m.data = { dataItems: [], r2: p, trendLinePoints: x, count: 0 }, m.count = 0;
3409
+ const { r2: p, trendLinePoints: C } = b.scatterplotSeries;
3410
+ m.data = { dataItems: [], r2: p, trendLinePoints: C, count: 0 }, m.count = 0;
3411
3411
  } else {
3412
- const { r2: p, trendLinePoints: x } = bi({
3412
+ const { r2: p, trendLinePoints: C } = bi({
3413
3413
  data: g,
3414
3414
  chartConfig: a
3415
3415
  });
3416
- m.data = { dataItems: g, r2: p, trendLinePoints: x }, m.count = g.length;
3416
+ m.data = { dataItems: g, r2: p, trendLinePoints: C }, m.count = g.length;
3417
3417
  }
3418
3418
  break;
3419
3419
  }
@@ -3478,7 +3478,7 @@ async function Lr(i) {
3478
3478
  fieldList: c
3479
3479
  };
3480
3480
  Ne({
3481
- xAxisValueFormatType: pe(t),
3481
+ xAxisValueFormatType: ye(t),
3482
3482
  setTimeBinningInfoWhenNotProvided: r?.setTimeBinningInfoWhenNotProvided,
3483
3483
  seriesConfig: l[0]
3484
3484
  }) ? (n !== void 0 && (m.binnedServerData = n), f = await wt(m)) : f = await Bt(m);
@@ -3563,7 +3563,7 @@ function Mr(i, e, t) {
3563
3563
  async function wr(i) {
3564
3564
  const { seriesData: e, chartConfig: t, queryConfig: a, queryObject: n, categoryOrDateCount: r, behaviorAfterLimit: s, abortKey: o } = i, { series: c } = t;
3565
3565
  let l = e;
3566
- const u = E(c), d = pe(t);
3566
+ const u = V(c), d = ye(t);
3567
3567
  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) {
3568
3568
  const { x: f } = c[0], m = {
3569
3569
  ...a,
@@ -3571,7 +3571,7 @@ async function wr(i) {
3571
3571
  outFields: [f]
3572
3572
  };
3573
3573
  delete m.outStatistics, delete m.orderByFields, delete m.groupByFieldsForStatistics;
3574
- const y = (await ye({
3574
+ const y = (await ge({
3575
3575
  queryObject: n,
3576
3576
  queryConfig: m,
3577
3577
  featureCount: r,
@@ -3583,7 +3583,7 @@ async function wr(i) {
3583
3583
  }
3584
3584
  function Dr(i, e) {
3585
3585
  const t = i, { series: a } = e;
3586
- if (pe(e) === S.CategoryAxisFormat && a[0].query?.outStatistics?.[0].statisticType === P.Count) {
3586
+ if (ye(e) === S.CategoryAxisFormat && a[0].query?.outStatistics?.[0].statisticType === P.Count) {
3587
3587
  const n = a.reduce(
3588
3588
  (r, s) => {
3589
3589
  const o = s.query?.outStatistics?.[0].outStatisticFieldName ?? [s.y].flat()[0];
@@ -3615,18 +3615,18 @@ function ve(i) {
3615
3615
  const r = a === "next" ? n : -n;
3616
3616
  switch (t) {
3617
3617
  case j.Second:
3618
- return ae.fromMillis(e).plus({ seconds: r }).valueOf();
3618
+ return ie.fromMillis(e).plus({ seconds: r }).valueOf();
3619
3619
  case j.Minute:
3620
- return ae.fromMillis(e).plus({ minutes: r }).valueOf();
3620
+ return ie.fromMillis(e).plus({ minutes: r }).valueOf();
3621
3621
  case j.Hour:
3622
- return ae.fromMillis(e).plus({ hours: r }).valueOf();
3622
+ return ie.fromMillis(e).plus({ hours: r }).valueOf();
3623
3623
  case j.Week:
3624
3624
  case j.Day:
3625
- return ae.fromMillis(e).plus({ days: r }).valueOf();
3625
+ return ie.fromMillis(e).plus({ days: r }).valueOf();
3626
3626
  case j.Month:
3627
- return ae.fromMillis(e).plus({ months: r }).valueOf();
3627
+ return ie.fromMillis(e).plus({ months: r }).valueOf();
3628
3628
  case j.Year:
3629
- return ae.fromMillis(e).plus({ years: r }).valueOf();
3629
+ return ie.fromMillis(e).plus({ years: r }).valueOf();
3630
3630
  }
3631
3631
  }
3632
3632
  return e;
@@ -3692,7 +3692,7 @@ function Er(i) {
3692
3692
  function Vr(i) {
3693
3693
  const { binsToRegroup: e, statisticType: t, y: a, nullPolicy: n } = i;
3694
3694
  let r;
3695
- n !== re.Interpolate && (r = n === re.Zero ? 0 : null);
3695
+ n !== ne.Interpolate && (r = n === ne.Zero ? 0 : null);
3696
3696
  const s = e.filter((o) => Number.isFinite(o[a]));
3697
3697
  if (s.length > 0)
3698
3698
  switch (t) {
@@ -3718,33 +3718,33 @@ function Ir(i) {
3718
3718
  let s = [];
3719
3719
  const { unit: o } = a, c = a.size ?? 1, l = t[0], { x: u } = l;
3720
3720
  let d, f;
3721
- if (oe(l) && (f = l.temporalBinning?.nullPolicy, d = l.temporalBinning?.timeAggregationType), c > 1 || o === j.Week || o === j.Month || o === j.Year) {
3722
- const { query: m } = t[0], g = se(t), { statisticType: y } = m?.outStatistics?.[0] ?? zt;
3723
- let p = !1, x = d === G.End ? e.length - 1 : 0;
3721
+ if (se(l) && (f = l.temporalBinning?.nullPolicy, d = l.temporalBinning?.timeAggregationType), c > 1 || o === j.Week || o === j.Month || o === j.Year) {
3722
+ const { query: m } = t[0], g = re(t), { statisticType: y } = m?.outStatistics?.[0] ?? zt;
3723
+ let p = !1, C = d === G.End ? e.length - 1 : 0;
3724
3724
  const F = {
3725
- binFirstOrLastIndex: x,
3725
+ binFirstOrLastIndex: C,
3726
3726
  data: e,
3727
3727
  x: u,
3728
3728
  timeIntervalInfo: a
3729
3729
  };
3730
3730
  for (; !p; ) {
3731
- let C = {};
3732
- const { binStartDate: B, binEndDate: N, last: v, nextBinFirstOrLastIndex: T, sliceStartIndex: w, sliceEndIndex: L } = d === G.End ? (
3731
+ let x = {};
3732
+ const { binStartDate: B, binEndDate: N, last: v, nextBinFirstOrLastIndex: A, sliceStartIndex: w, sliceEndIndex: L } = d === G.End ? (
3733
3733
  // When grouping from the end we'll start from the last date and move backward to create the bins
3734
3734
  Er(F)
3735
3735
  ) : (
3736
3736
  // When grouping from the start we'll start from the first date and move forward to create the bins
3737
3737
  qr(F)
3738
3738
  );
3739
- if (p = v, C = d === G.End ? C = e[L - 1] : C = e[x], N > r && B < r || B < n && N > n || B >= n && N <= r) {
3739
+ if (p = v, x = d === G.End ? x = e[L - 1] : x = e[C], N > r && B < r || B < n && N > n || B >= n && N <= r) {
3740
3740
  const D = e.slice(w, L).filter((q) => !(b.dateBinModel in q));
3741
3741
  g.forEach((q) => {
3742
- C[q] = Vr({ binsToRegroup: D, statisticType: y, y: q, nullPolicy: f });
3742
+ x[q] = Vr({ binsToRegroup: D, statisticType: y, y: q, nullPolicy: f });
3743
3743
  });
3744
- const R = D.map((q) => q[xe]).filter((q) => q !== void 0), M = Ha(R);
3745
- M !== void 0 && (C[xe] = M), C[u] = B, C[b.xAxisField] = B, C[b.dateBinningRange] = [B, N], delete C[b.dateBinModel], s.push(C);
3744
+ const M = D.map((q) => q[xe]).filter((q) => q !== void 0), O = Ha(M);
3745
+ O !== void 0 && (x[xe] = O), x[u] = B, x[b.xAxisField] = B, x[b.dateBinningRange] = [B, N], delete x[b.dateBinModel], s.push(x);
3746
3746
  } else v && d !== G.End && s.length > 0 && (s[s.length - 1][b.dateBinningRange][1] = s[s.length - 1][b.dateBinningRange][1] + 1);
3747
- x = T, F.binFirstOrLastIndex = T;
3747
+ C = A, F.binFirstOrLastIndex = A;
3748
3748
  }
3749
3749
  d === G.End && (s = s.reverse());
3750
3750
  } else c === 1 ? s = e.map((m, g) => {
@@ -3767,7 +3767,7 @@ function Ai(i) {
3767
3767
  let s = 0, o = 0;
3768
3768
  if (n !== void 0 && Number.isFinite(n) && Number.isFinite(e) && Number.isFinite(t)) {
3769
3769
  let c = -1;
3770
- const l = ae.fromMillis(e), u = ae.fromMillis(t);
3770
+ const l = ie.fromMillis(e), u = ie.fromMillis(t);
3771
3771
  switch (r) {
3772
3772
  case j.Second:
3773
3773
  c = u.diff(l, "seconds").get("seconds");
@@ -3797,7 +3797,7 @@ function Pi(i) {
3797
3797
  (a, n) => {
3798
3798
  a[b.dateBinModel] = void 0;
3799
3799
  const r = n.query?.outStatistics?.[0].outStatisticFieldName ?? [n.y].flat()[0];
3800
- return e !== re.Interpolate && (a[r] = e === re.Zero ? 0 : null), a;
3800
+ return e !== ne.Interpolate && (a[r] = e === ne.Zero ? 0 : null), a;
3801
3801
  },
3802
3802
  {}
3803
3803
  );
@@ -3818,7 +3818,7 @@ function $r(i) {
3818
3818
  const y = Pi(r);
3819
3819
  if (u === G.End) {
3820
3820
  let p = n[0][l];
3821
- for (let x = 0; x < g; x += 1)
3821
+ for (let C = 0; C < g; C += 1)
3822
3822
  p = ve({
3823
3823
  date: p,
3824
3824
  unit: c,
@@ -3832,7 +3832,7 @@ function $r(i) {
3832
3832
  g > 0 && (d = n[n.length - 1][l]);
3833
3833
  } else {
3834
3834
  let p = n[n.length - 1][l];
3835
- for (let x = 0; x < g; x += 1)
3835
+ for (let C = 0; C < g; C += 1)
3836
3836
  p = ve({
3837
3837
  date: p,
3838
3838
  unit: c,
@@ -3933,7 +3933,7 @@ function Wr(i) {
3933
3933
  function Qr(i) {
3934
3934
  const { groupByFieldsForStatistics: e, dateField: t, queryStartDate: a, queryEndDate: n, y: r, binIndex: s, lastBin: o } = i;
3935
3935
  let c = e === "" ? Me.groupByCaseBegin : e;
3936
- return c = de(da, {
3936
+ return c = ue(da, {
3937
3937
  groupByFieldsForStatistics: c,
3938
3938
  dateField: t,
3939
3939
  startDate: `${a}`,
@@ -3957,11 +3957,11 @@ function* Hr(i) {
3957
3957
  ];
3958
3958
  let f = Me.groupByCaseBegin;
3959
3959
  for (let g = 0; g < n.length; g += 1) {
3960
- const y = n[g], [p, x] = y[b.dateBinningRange], F = Ve(p), C = Ve(x);
3960
+ const y = n[g], [p, C] = y[b.dateBinningRange], F = Ve(p), x = Ve(C);
3961
3961
  f = Qr({
3962
3962
  groupByFieldsForStatistics: f,
3963
3963
  queryStartDate: F,
3964
- queryEndDate: C,
3964
+ queryEndDate: x,
3965
3965
  dateField: c,
3966
3966
  y: [l].flat()[0],
3967
3967
  binIndex: g,
@@ -3975,7 +3975,7 @@ function* Hr(i) {
3975
3975
  outStatistics: d,
3976
3976
  orderByFields: void 0
3977
3977
  };
3978
- yield ye({
3978
+ yield ge({
3979
3979
  queryObject: e,
3980
3980
  queryConfig: m,
3981
3981
  noBatch: !0
@@ -4008,53 +4008,52 @@ async function zr(i) {
4008
4008
  return r;
4009
4009
  }
4010
4010
  async function Gr(i) {
4011
- const { chartConfig: e, queryResults: t, mapToStatField: a, splitByField: n, x: r, y: s, nullPolicy: o, queryObject: c } = i, l = ua(r), d = (await Te(c)).find((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;
4012
- return t.forEach((x, F) => {
4013
- if (!(y && (F === 0 && p === G.End || F === t.length - 1 && p === G.Start))) {
4014
- const { attributes: B, stackedAttributes: N } = x;
4015
- let v = B[l.lowerBoundaryAlias], T = B[l.upperBoundaryAlias];
4016
- const w = v, L = T, D = (M, q) => {
4017
- let A = M;
4018
- if (q === Ye.DateOnly && (typeof M == "string" && M.length === 10 || typeof M == "number"))
4011
+ const { chartConfig: e, queryResults: t, mapToStatField: a, splitByField: n, x: r, y: s, nullPolicy: o, queryObject: c } = i, l = ua(r), d = (await Te(c)).find((p) => p.name === r)?.type, f = [], m = e.series[0], g = "temporalBinning" in m ? m.temporalBinning?.trimIncompleteTimeInterval : !1, y = "temporalBinning" in m ? m.temporalBinning?.timeAggregationType : !1;
4012
+ return t.forEach((p, C) => {
4013
+ if (!(g && (C === 0 && y === G.End || C === t.length - 1 && y === G.Start))) {
4014
+ const { attributes: x, stackedAttributes: B } = p;
4015
+ let N = x[l.lowerBoundaryAlias], v = x[l.upperBoundaryAlias];
4016
+ const A = N, w = v, L = (M, O) => {
4017
+ let q = M;
4018
+ if (O === Ye.DateOnly && (typeof M == "string" && M.length === 10 || typeof M == "number"))
4019
4019
  if (typeof M == "string") {
4020
- const O = M.split("-");
4021
- O.length === 3 && (A = ae.local(Number(O[0]), Number(O[1]), Number(O[2])).valueOf());
4020
+ const T = M.split("-");
4021
+ T.length === 3 && (q = ie.local(Number(T[0]), Number(T[1]), Number(T[2])).valueOf());
4022
4022
  } else
4023
- A = new Date(M), A = new Date(A.valueOf() + A.getTimezoneOffset() * 6e4), A = ae.local(A.getFullYear(), A.getMonth() + 1, A.getDate()).valueOf();
4024
- else typeof M == "string" && ["+", "-"].forEach((O) => {
4025
- O && M.lastIndexOf(O) === M.length - 6 && (A = new Date(M.slice(0, M.lastIndexOf(O))).valueOf());
4023
+ q = new Date(M), q = new Date(q.valueOf() + q.getTimezoneOffset() * 6e4), q = ie.local(q.getFullYear(), q.getMonth() + 1, q.getDate()).valueOf();
4024
+ else typeof M == "string" && ["+", "-"].forEach((T) => {
4025
+ T && M.lastIndexOf(T) === M.length - 6 && (q = new Date(M.slice(0, M.lastIndexOf(T))).valueOf());
4026
4026
  });
4027
- return A;
4027
+ return q;
4028
4028
  };
4029
- v = D(v, d), T = D(T, d);
4030
- const R = (M, q) => {
4031
- if (q)
4029
+ N = L(N, d), v = L(v, d);
4030
+ const D = (M, O) => {
4031
+ if (O)
4032
4032
  switch (!0) {
4033
- case (o === re.Zero && (M[q] === void 0 || M[q] === null)):
4034
- M[q] = 0;
4033
+ case (o === ne.Zero && (M[O] === void 0 || M[O] === null)):
4034
+ M[O] = 0;
4035
4035
  break;
4036
- case (o === re.Null && M[q] === 0 && g === P.Count):
4037
- M[q] = null;
4036
+ case o === ne.Null:
4038
4037
  break;
4039
- case (o === re.Interpolate && (M[q] === 0 || M[q] === void 0 || M[q] === null)):
4040
- delete M[q];
4038
+ case (o === ne.Interpolate && (M[O] === void 0 || M[O] === null)):
4039
+ delete M[O];
4041
4040
  break;
4042
4041
  }
4043
4042
  };
4044
- if (typeof v == "number" && typeof T == "number") {
4045
- const M = { ...B };
4046
- 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) => {
4047
- const H = O[n];
4048
- if (H === null || typeof H == "string" || typeof H == "number") {
4049
- const X = a?.get(H);
4050
- X !== void 0 && (M[X] = O[Y.outStatistics?.outStatisticFieldName ?? ""], R(M, X));
4043
+ if (typeof N == "number" && typeof v == "number") {
4044
+ const M = { ...x };
4045
+ M[b.originalServerBinningRange] = [A, w], M[r] = N, M[b.xAxisField] = N, M[b.dateBinningRange] = [N, v], delete M[l.lowerBoundaryAlias], delete M[l.upperBoundaryAlias], B && n && !Z(n) && a ? B.forEach((T) => {
4046
+ const E = T[n];
4047
+ if (E === null || typeof E == "string" || typeof E == "number") {
4048
+ const H = a?.get(E);
4049
+ H !== void 0 && (M[H] = T[Y.outStatistics?.outStatisticFieldName ?? ""], D(M, H));
4051
4050
  }
4052
- }) : R(M, s);
4053
- const { featureExtent: q, featureExtentKey: A } = Li({
4054
- feature: x,
4051
+ }) : D(M, s);
4052
+ const { featureExtent: O, featureExtentKey: q } = Li({
4053
+ feature: p,
4055
4054
  splitByField: n
4056
4055
  });
4057
- q && (M[A] = q), f.push(M);
4056
+ O && (M[q] = O), f.push(M);
4058
4057
  }
4059
4058
  }
4060
4059
  }), f;
@@ -4116,10 +4115,10 @@ function Yr(i) {
4116
4115
  let a, n, { dateMinTimestamp: r, dateMaxTimestamp: s } = e;
4117
4116
  if (r && s) {
4118
4117
  typeof r == "string" && (r = new Date(r).valueOf()), typeof s == "string" && (s = new Date(s).valueOf());
4119
- const o = _r(t), c = (s - r) / o, l = It.findIndex((x) => x.threshold > c), u = It[l], { unitMs: d, preferredIntervalSize: f } = u;
4118
+ const o = _r(t), c = (s - r) / o, l = It.findIndex((C) => C.threshold > c), u = It[l], { unitMs: d, preferredIntervalSize: f } = u;
4120
4119
  ({ unit: a } = u);
4121
4120
  const m = c / d, g = f.findIndex(
4122
- (x) => x >= m
4121
+ (C) => C >= m
4123
4122
  ), y = f[g], p = g === 0 ? f[0] : f[g - 1];
4124
4123
  n = y - m < m - p ? y : p;
4125
4124
  }
@@ -4128,7 +4127,7 @@ function Yr(i) {
4128
4127
  function Kr(i) {
4129
4128
  const { series: e, isTimeBinningSeries: t, setTimeBinningInfoWhenNotProvided: a } = i;
4130
4129
  let n = !1;
4131
- if (oe(e) && t) {
4130
+ if (se(e) && t) {
4132
4131
  const { unit: r, size: s } = e.temporalBinning ?? {};
4133
4132
  n = !St(r, s) && a === !0;
4134
4133
  }
@@ -4140,7 +4139,7 @@ function Jr(i) {
4140
4139
  const a = i[`EXPR_${t}`] ?? i[`Expr${t}`] ?? i[`expr${t}`] ?? i[`EXPR${t}`];
4141
4140
  a !== null && e.push(a);
4142
4141
  }
4143
- return ae.local(
4142
+ return ie.local(
4144
4143
  Number(e[0] ?? 1969),
4145
4144
  Number(e[1] ?? 1),
4146
4145
  Number(e[2] ?? 1),
@@ -4174,7 +4173,7 @@ function Lt(i) {
4174
4173
  function Zr(i, e) {
4175
4174
  const t = i, a = W(e);
4176
4175
  if (a !== S.PieSeries && a !== S.BoxPlotSeries) {
4177
- const n = se(e), r = e[0].y;
4176
+ const n = re(e), r = e[0].y;
4178
4177
  i.forEach((s) => {
4179
4178
  let o = 0;
4180
4179
  if (n.forEach((c) => {
@@ -4192,10 +4191,10 @@ function Zr(i, e) {
4192
4191
  return t;
4193
4192
  }
4194
4193
  function es(i, e) {
4195
- const t = e, a = se(i), n = a.length === 1;
4194
+ const t = e, a = re(i), n = a.length === 1;
4196
4195
  return a.forEach((r) => {
4197
- const s = je(n ? void 0 : r), o = t[s[V.FirstQuartile]], c = t[s[V.ThirdQuartile]];
4198
- Number.isFinite(o) && Number.isFinite(c) && c >= o && (t[s[V.IQR]] = c - o);
4196
+ const s = je(n ? void 0 : r), o = t[s[I.FirstQuartile]], c = t[s[I.ThirdQuartile]];
4197
+ Number.isFinite(o) && Number.isFinite(c) && c >= o && (t[s[I.IQR]] = c - o);
4199
4198
  }), t;
4200
4199
  }
4201
4200
  function ts(i, e) {
@@ -4232,7 +4231,7 @@ function as(i, e) {
4232
4231
  }
4233
4232
  function ns(i) {
4234
4233
  const { dataItem: e, splitByField: t, y: a } = i;
4235
- if (e !== void 0 && !ee(t) && !ee(a)) {
4234
+ if (e !== void 0 && !Z(t) && !Z(a)) {
4236
4235
  const n = e[t], r = `${a}_${n?.toString()}`;
4237
4236
  e[r] = e[a], delete e[a];
4238
4237
  }
@@ -4277,7 +4276,7 @@ function os(i) {
4277
4276
  t && (a === h.BoxPlotMonoFieldAndSplitBy || a === h.BoxPlotMultiFieldsAndSplitBy || a === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && (e[b.boxPlot.boxPlotMeanLineMarkerId] = !0);
4278
4277
  }
4279
4278
  function ls(i) {
4280
- const { queryResponse: e, chartConfig: t, maxCategoryCount: a } = i, n = E(t.series);
4279
+ const { queryResponse: e, chartConfig: t, maxCategoryCount: a } = i, n = V(t.series);
4281
4280
  return a && Number.isFinite(a) && a < e.length && Ni.includes(n) ? e.slice(0, a) : e;
4282
4281
  }
4283
4282
  function cs(i) {
@@ -4308,35 +4307,35 @@ function Mi(i) {
4308
4307
  showMean: u,
4309
4308
  chartLimits: d,
4310
4309
  fieldList: f
4311
- } = 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 = [];
4310
+ } = i, { series: m } = t, g = V(m), y = W(m), { x: p } = m[0], C = "y" in m[0] ? m[0].y : void 0, F = m[0].query?.outStatistics ?? [], { originalCategoryValue: x, originalDateValue: B, typeOrDomainFieldName: N, typeOrDomainIdValue: v } = b, A = [];
4312
4311
  let w = 0;
4313
- const L = /* @__PURE__ */ new Set(), { maxCategoryCount: D } = Re(d), R = ls({ queryResponse: e, chartConfig: t, maxCategoryCount: D });
4314
- for (let M = 0; R[M] && M < R.length && !(l !== void 0 && w >= l); M += 1) {
4312
+ const L = /* @__PURE__ */ new Set(), { maxCategoryCount: D } = Re(d), M = ls({ queryResponse: e, chartConfig: t, maxCategoryCount: D });
4313
+ for (let O = 0; M[O] && O < M.length && !(l !== void 0 && w >= l); O += 1) {
4315
4314
  w += ss(g, t);
4316
- const q = R[M];
4317
- let A = { ...q.attributes };
4318
- if (cs({ attributes: A, uniqueCategoryList: L, maxCategoryCount: D, x: p, chartSubType: g }))
4315
+ const q = M[O];
4316
+ let T = { ...q.attributes };
4317
+ if (cs({ attributes: T, uniqueCategoryList: L, maxCategoryCount: D, x: p, chartSubType: g }))
4319
4318
  continue;
4320
- 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(
4321
- A,
4322
- typeof x == "string" ? x : x[0]
4323
- ), os({ attributes: A, showMean: u, chartSubType: g });
4324
- let O = A[p];
4325
- 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));
4326
- const { outStatisticFieldName: H } = Y.outStatistics ?? {}, { featureExtent: X, featureExtentKey: I } = Li({ feature: q, splitByField: n, chartSubType: g });
4327
- if (X && (A[I] = X), g === h.BarAndLineSplitBy && H !== void 0) {
4328
- const ue = A[n], te = a?.get(ue);
4329
- te !== void 0 && (ue === n && (A[b.technicalFieldSplitByField] = A[te]), A[te] = A[H]), delete A[H];
4330
- } 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]);
4331
- const Z = ha({
4319
+ is(T, m), g === h.PieFromFields || g === h.BarAndLineFromFields ? T = as(T, F) : typeof C == "string" && g === h.BarAndLineSplitByNoAggregation ? ns({ dataItem: T, splitByField: n, y: C }) : C && (g === h.BoxPlotMonoField || g === h.BoxPlotMonoFieldAndCategory || g === h.BoxPlotMonoFieldAndSplitBy || g === h.BoxPlotMonoFieldAndCategoryAndSplitBy) && rs(
4320
+ T,
4321
+ typeof C == "string" ? C : C[0]
4322
+ ), os({ attributes: T, showMean: u, chartSubType: g });
4323
+ let E = T[p];
4324
+ E === null && m[0]?.query?.fetchNullValues === !0 && g !== h.PieFromFields && (T[x] = null, E = b.nullValue), s && typeof E == "string" ? E = new Date(E).valueOf() : o && (E = Jr(T));
4325
+ const { outStatisticFieldName: H } = Y.outStatistics ?? {}, { featureExtent: Fe, featureExtentKey: $ } = Li({ feature: q, splitByField: n, chartSubType: g });
4326
+ if (Fe && (T[$] = Fe), g === h.BarAndLineSplitBy && H !== void 0) {
4327
+ const ce = T[n], ee = a?.get(ce);
4328
+ ee !== void 0 && (ce === n && (T[b.technicalFieldSplitByField] = T[ee]), T[ee] = T[H]), delete T[H];
4329
+ } else (g === h.PieNoAggregation || g === h.BarAndLineNoAggregation || g === h.BarAndLineSplitByNoAggregation) && (s ? T[B] = E : E !== b.nullValue && (T[x] = E), Ra({ isXAxis: !0, chartType: y, valueFormat: t.axes?.[0]?.valueFormat }) && (T[b.xAxisField] = `${E}-${O}`), T[Y.uniqueIdsName] = T[r]);
4330
+ const X = ha({
4332
4331
  subtypeInfo: c,
4333
4332
  fieldList: f,
4334
4333
  fieldName: p,
4335
- fieldValueToMatch: O
4334
+ fieldValueToMatch: E
4336
4335
  });
4337
- 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);
4336
+ X !== void 0 && X !== E && g !== h.PieFromFields && (T[x] = X, T[N] = p, T[v] = E), y === S.BoxPlotSeries && (T = es(m, T)), y === S.PieSeries && typeof E == "number" && (T[x] === void 0 && (T[x] = T[p]), E = `${E}`), E !== void 0 && (T[x] === void 0 && (T[x] = T[p]), T[p] = X ?? E, T[p] === null && (T[p] = b.nullValue), T[b.xAxisField] === void 0 && (T[b.xAxisField] = T[v] ?? T[p])), T = ts(T, t), A.push(T);
4338
4337
  }
4339
- return T;
4338
+ return A;
4340
4339
  }
4341
4340
  async function ut(i) {
4342
4341
  const {
@@ -4350,14 +4349,14 @@ async function ut(i) {
4350
4349
  showMean: c,
4351
4350
  chartLimits: l,
4352
4351
  usePopupTemplateFieldsInfo: u
4353
- } = i, { series: d } = a, f = E(d);
4352
+ } = i, { series: d } = a, f = V(d);
4354
4353
  let m = [];
4355
- const g = f === h.BarAndLineSplitBy || f === h.BarAndLineSplitByNoAggregation ? K(d[0].query?.where) : "", y = await ye({
4354
+ const g = f === h.BarAndLineSplitBy || f === h.BarAndLineSplitByNoAggregation ? K(d[0].query?.where) : "", y = await ge({
4356
4355
  queryObject: e,
4357
4356
  queryConfig: t,
4358
4357
  featureCount: s,
4359
4358
  abortKey: r
4360
- }), p = await Te(e, u), F = z(e).objectIdField, C = pa(p), { x: B } = d[0], N = C.includes(B), v = ni(e);
4359
+ }), p = await Te(e, u), F = z(e).objectIdField, x = pa(p), { x: B } = d[0], N = x.includes(B), v = ni(e);
4361
4360
  return m = Mi({
4362
4361
  queryResponse: y,
4363
4362
  chartConfig: a,
@@ -4377,7 +4376,7 @@ async function ut(i) {
4377
4376
  )), m;
4378
4377
  }
4379
4378
  async function wi(i) {
4380
- 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;
4379
+ 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
4380
  let d, f;
4382
4381
  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(
4383
4382
  (m) => m.statisticType !== P.EnvelopeAggregate
@@ -4390,7 +4389,7 @@ async function wi(i) {
4390
4389
  function Ke(i) {
4391
4390
  const { arrayToSort: e, chartConfig: t, fieldList: a, isTimeBinningSeries: n } = i;
4392
4391
  if (n !== !0) {
4393
- const { series: r } = t, s = E(r), o = W(r), c = pe(t), l = xt(t);
4392
+ const { series: r } = t, s = V(r), o = W(r), c = ye(t), l = xt(t);
4394
4393
  if (o === S.HeatSeries)
4395
4394
  l !== void 0 && Ge({
4396
4395
  arrayToSort: e,
@@ -4400,8 +4399,8 @@ function Ke(i) {
4400
4399
  else if (l !== void 0 && e !== void 0 && e.length > 1) {
4401
4400
  const { orderBy: u } = l;
4402
4401
  let { sortingField: d } = l;
4403
- const f = t.orderOptions?.data?.orderType === be.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));
4404
- if (f && (!m || o === S.LineSeries && c === S.NumberAxisFormat) && (x ? d = b.typeOrDomainIdValue : y && (d = b.originalCategoryValue)), Array.isArray(u))
4402
+ const f = t.orderOptions?.data?.orderType === be.Category, m = l.preferLabel !== !1, g = s === h.BarAndLineFromFields || s === h.PieFromFields || s === h.BoxPlotMultiFields || s === h.BoxPlotMultiFieldsAndSplitBy, y = g || o === S.PieSeries, p = s === h.PieNoAggregation || s === h.BarAndLineNoAggregation || s === h.BarAndLineSplitByNoAggregation, C = g ? !1 : e?.length > 0 && e.some((F) => Object.hasOwn(F, b.typeOrDomainIdValue));
4403
+ if (f && (!m || o === S.LineSeries && c === S.NumberAxisFormat) && (C ? d = b.typeOrDomainIdValue : y && (d = b.originalCategoryValue)), Array.isArray(u))
4405
4404
  Ga({
4406
4405
  arrayToSort: e,
4407
4406
  orderBy: u,
@@ -4429,27 +4428,27 @@ function Ke(i) {
4429
4428
  async function Bt(i) {
4430
4429
  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 };
4431
4430
  let g, y = !1;
4432
- const p = e.series, x = p[0], F = E(e.series);
4433
- if (x !== void 0 && r !== void 0) {
4434
- const C = W(p), { uniqueQuery: B, mapToStatField: N } = await ct({
4431
+ const p = e.series, C = p[0], F = V(e.series);
4432
+ if (C !== void 0 && r !== void 0) {
4433
+ const x = W(p), { uniqueQuery: B, mapToStatField: N } = await ct({
4435
4434
  chartConfig: e,
4436
4435
  queryObject: r,
4437
4436
  queryConfig: t,
4438
4437
  fetchFullBoxPlotData: a,
4439
4438
  options: n
4440
4439
  });
4441
- let { categoryOrDateCount: v, elementCount: T } = await wi({
4440
+ let { categoryOrDateCount: v, elementCount: A } = await wi({
4442
4441
  chartConfig: e,
4443
4442
  queryObject: r,
4444
4443
  queryConfig: t,
4445
4444
  behaviorAfterLimit: f,
4446
4445
  numberMaxOfFeaturesToFetch: B.num
4447
4446
  });
4448
- const w = !Number.isFinite(T);
4449
- let L = w || Se({
4450
- count: T ?? 0,
4447
+ const w = !Number.isFinite(A);
4448
+ let L = w || he({
4449
+ count: A ?? 0,
4451
4450
  seriesCount: p.length,
4452
- chartType: C,
4451
+ chartType: x,
4453
4452
  chartLimits: l
4454
4453
  });
4455
4454
  if (L && (g = await ut({
@@ -4457,40 +4456,40 @@ async function Bt(i) {
4457
4456
  uniqueQuery: B,
4458
4457
  chartConfig: e,
4459
4458
  mapToStatField: N,
4460
- elementCount: T,
4459
+ elementCount: A,
4461
4460
  isTimeBinningSeries: !1,
4462
4461
  showMean: c,
4463
4462
  chartLimits: l,
4464
4463
  usePopupTemplateFieldsInfo: u,
4465
4464
  abortKey: s
4466
- }), C === S.BoxPlotSeries && (m.data = await wn({
4465
+ }), x === S.BoxPlotSeries && (m.data = await wn({
4467
4466
  data: g,
4468
4467
  queryObject: r,
4469
4468
  fetchFullBoxPlotData: a,
4470
4469
  uniqueQuery: B,
4471
4470
  chartConfig: e,
4472
- elementCount: T,
4471
+ elementCount: A,
4473
4472
  chartLimits: l,
4474
4473
  abortKey: s
4475
- }), l?.maxBoxPlotOutlierLimit !== void 0 && (L = (m.data.outliers ?? []).length <= l.maxBoxPlotOutlierLimit, y = !L)), w && (v = g.length, T = Ft(F) ? v * p.length : v, L = Se({
4476
- count: T,
4474
+ }), l?.maxBoxPlotOutlierLimit !== void 0 && (L = (m.data.outliers ?? []).length <= l.maxBoxPlotOutlierLimit, y = !L)), w && (v = g.length, A = Ft(F) ? v * p.length : v, L = he({
4475
+ count: A,
4477
4476
  seriesCount: p.length,
4478
- chartType: C,
4477
+ chartType: x,
4479
4478
  chartLimits: l
4480
4479
  })), L)) {
4481
- if (C === S.PieSeries) {
4480
+ if (x === S.PieSeries) {
4482
4481
  F === h.PieFromFields && (g = st({
4483
4482
  dataToConvert: g[0],
4484
- x: ne,
4485
- y: he,
4483
+ x: ae,
4484
+ y: pe,
4486
4485
  fieldList: o
4487
4486
  }));
4488
4487
  let D = "";
4489
- 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);
4490
- } 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({
4488
+ F === h.PieFromFields ? D = pe : "y" in C && typeof C.y == "string" && (D = C.y), cn(g, D) ? m.data = { dataItems: g } : Sn(m, R.PieChartMixOfNegativePositiveSlices);
4489
+ } else if ((x === S.RadarSeries || x === S.BarSeries || x === S.LineSeries || x === S.ComboLineAndBarSeries) && (F === h.BarAndLineFromFields && "y" in C && typeof C.y == "string" ? g = st({
4491
4490
  dataToConvert: g[0],
4492
- x: x.x,
4493
- y: x.y,
4491
+ x: C.x,
4492
+ y: C.y,
4494
4493
  fieldList: o
4495
4494
  }) : g = await wr({
4496
4495
  queryObject: r,
@@ -4500,22 +4499,22 @@ async function Bt(i) {
4500
4499
  categoryOrDateCount: v,
4501
4500
  behaviorAfterLimit: f,
4502
4501
  abortKey: s
4503
- }), T = Ft(F) ? g.length * p.length : g.length, L = Se({
4504
- count: T,
4502
+ }), A = Ft(F) ? g.length * p.length : g.length, L = he({
4503
+ count: A,
4505
4504
  seriesCount: p.length,
4506
- chartType: C,
4505
+ chartType: x,
4507
4506
  chartLimits: l
4508
4507
  }), L)) {
4509
4508
  d && (g = Dr(g, e)), Ke({ arrayToSort: g, chartConfig: e, fieldList: o });
4510
4509
  let D = {};
4511
- if (oe(x)) {
4512
- const { size: R, unit: M } = x.temporalBinning ?? {};
4513
- R !== void 0 && M !== void 0 && (D = { size: R, unit: M });
4510
+ if (se(C)) {
4511
+ const { size: M, unit: O } = C.temporalBinning ?? {};
4512
+ M !== void 0 && O !== void 0 && (D = { size: M, unit: O });
4514
4513
  }
4515
4514
  m.data = { dataItems: g, timeIntervalInfo: D };
4516
4515
  }
4517
4516
  }
4518
- L || ot({ dataInfo: m, chartType: C, subError: { outlierLimit: y } }), m.count = T;
4517
+ L || ot({ dataInfo: m, chartType: x, subError: { outlierLimit: y } }), m.count = A;
4519
4518
  }
4520
4519
  return m;
4521
4520
  }
@@ -4539,7 +4538,7 @@ async function Di(i) {
4539
4538
  if (u.type === S.HeatSeries) {
4540
4539
  const { x: f, y: m, query: g, yTemporalBinning: y } = u, p = g?.outStatistics?.[0]?.outStatisticFieldName ?? "";
4541
4540
  if (mi(e)) {
4542
- const x = await ma({
4541
+ const C = await ma({
4543
4542
  chartConfig: e,
4544
4543
  queryObject: a,
4545
4544
  queryConfig: t,
@@ -4547,17 +4546,17 @@ async function Di(i) {
4547
4546
  errorStrings: r,
4548
4547
  abortKey: o
4549
4548
  });
4550
- if (!Se({
4551
- count: x?.length ?? 0,
4549
+ if (!he({
4550
+ count: C?.length ?? 0,
4552
4551
  seriesCount: 1,
4553
4552
  chartType: S.HeatSeries,
4554
4553
  chartLimits: s?.chartLimits
4555
4554
  }))
4556
4555
  ot({ dataInfo: c, chartType: S.HeatSeries });
4557
- else if (typeof x?.[0] == "object") {
4558
- const F = await Te(a, s?.usePopupTemplateFieldsInfo), C = ni(a);
4556
+ else if (typeof C?.[0] == "object") {
4557
+ const F = await Te(a, s?.usePopupTemplateFieldsInfo), x = ni(a);
4559
4558
  l = Mi({
4560
- queryResponse: x,
4559
+ queryResponse: C,
4561
4560
  chartConfig: e,
4562
4561
  splitByField: "",
4563
4562
  fieldOID: z(a).objectIdField,
@@ -4565,39 +4564,39 @@ async function Di(i) {
4565
4564
  isTimeBinningSeries: !1,
4566
4565
  chartLimits: s?.chartLimits,
4567
4566
  resultLimit: t.num,
4568
- subtypeInfo: C,
4567
+ subtypeInfo: x,
4569
4568
  fieldList: F
4570
4569
  });
4571
4570
  const B = await yt({ queryObject: a, queryConfig: t, category: f, abortKey: o }), N = await yt({ queryObject: a, queryConfig: t, category: m, abortKey: o });
4572
4571
  if (l.length !== B?.length * N?.length) {
4573
4572
  const v = B.flatMap(
4574
- (T) => N.map((w) => ({
4575
- [k.xField]: T,
4573
+ (A) => N.map((w) => ({
4574
+ [k.xField]: A,
4576
4575
  [k.yField]: w,
4577
- [k.valueField]: d === re.Zero ? 0 : null
4576
+ [k.valueField]: d === ne.Zero ? 0 : null
4578
4577
  }))
4579
4578
  );
4580
4579
  l = [
4581
4580
  ...l,
4582
4581
  ...v.filter(
4583
- (T) => !l.some(
4584
- (w) => `${w[k.xField]}${w[k.yField]}` == `${T[k.xField]}${T[k.yField]}`
4582
+ (A) => !l.some(
4583
+ (w) => `${w[k.xField]}${w[k.yField]}` == `${A[k.xField]}${A[k.yField]}`
4585
4584
  )
4586
4585
  )
4587
4586
  ];
4588
4587
  }
4589
4588
  }
4590
4589
  } else {
4591
- const x = await ga({
4590
+ const C = await ga({
4592
4591
  chartConfig: e,
4593
4592
  queryObject: a,
4594
4593
  queryConfig: t,
4595
4594
  errorStrings: r
4596
4595
  }), F = y ? us(y.unit) : await yt({ queryObject: a, queryConfig: t, category: m, abortKey: o });
4597
- let C = 0;
4598
- l = x?.features.flatMap((B) => {
4599
- const N = [], { attributes: v, stackedAttributes: T } = B, w = [];
4600
- return T?.forEach((L) => {
4596
+ let x = 0;
4597
+ l = C?.features.flatMap((B) => {
4598
+ const N = [], { attributes: v, stackedAttributes: A } = B, w = [];
4599
+ return A?.forEach((L) => {
4601
4600
  const D = `${L[m]}`;
4602
4601
  w.push(D), N.push({
4603
4602
  [k.xField]: `${v.lowerBoundary}`,
@@ -4608,11 +4607,11 @@ async function Di(i) {
4608
4607
  N.push({
4609
4608
  [k.xField]: `${v.lowerBoundary}`,
4610
4609
  [k.yField]: D,
4611
- [k.valueField]: d === re.Zero ? 0 : null
4610
+ [k.valueField]: d === ne.Zero ? 0 : null
4612
4611
  });
4613
- }), C += N.length, N;
4614
- }), Se({
4615
- count: C,
4612
+ }), x += N.length, N;
4613
+ }), he({
4614
+ count: x,
4616
4615
  seriesCount: 1,
4617
4616
  chartType: S.HeatSeries,
4618
4617
  chartLimits: s?.chartLimits
@@ -4626,7 +4625,7 @@ function ds(i) {
4626
4625
  let r = a;
4627
4626
  const s = fi(e, t?.chartLimits);
4628
4627
  if (s !== void 0) {
4629
- const o = se(n);
4628
+ const o = re(n);
4630
4629
  if (o.length === 1)
4631
4630
  r = a.filter((c) => Number.isFinite(c[o[0]])).slice(0, s);
4632
4631
  else if (a.length * o.length > s) {
@@ -4651,18 +4650,18 @@ function ds(i) {
4651
4650
  async function wt(i) {
4652
4651
  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 };
4653
4652
  let y;
4654
- if (oe(d)) {
4653
+ if (se(d)) {
4655
4654
  const { temporalBinning: p } = d;
4656
4655
  if (a && p) {
4657
- const { unit: x, size: F } = p;
4658
- let C = 1, B = { unit: x, size: F }, N = !1;
4656
+ const { unit: C, size: F } = p;
4657
+ let x = 1, B = { unit: C, size: F }, N = !1;
4659
4658
  const v = Kr({
4660
4659
  series: d,
4661
4660
  isTimeBinningSeries: !0,
4662
4661
  setTimeBinningInfoWhenNotProvided: s?.setTimeBinningInfoWhenNotProvided
4663
4662
  });
4664
- let T = r?.timeBinningStats;
4665
- !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 && [
4663
+ let A = r?.timeBinningStats;
4664
+ !A && (!Qe(a) || v) && (A = await kr({ queryObject: a, queryConfig: t, x: f })), v && A && A.numberOfFeatures > 0 && A.dateRange.dateMaxTimestamp !== void 0 && A.dateRange.dateMinTimestamp !== void 0 && (B = Yr(A), (await Te(a)).find((q) => q.name === f)?.type === Ye.DateOnly && B.unit !== void 0 && [
4666
4665
  j.Hour,
4667
4666
  j.Minute,
4668
4667
  j.Second
@@ -4674,75 +4673,75 @@ async function wt(i) {
4674
4673
  timeIntervalInfo: B,
4675
4674
  options: s
4676
4675
  });
4677
- let D = Se({
4678
- count: C ?? 0,
4676
+ let D = he({
4677
+ count: x ?? 0,
4679
4678
  seriesCount: u.length,
4680
4679
  chartType: S.LineSeries,
4681
4680
  chartLimits: o
4682
4681
  });
4683
4682
  if (D) {
4684
4683
  if (Qe(a)) {
4685
- const R = await ai({
4684
+ const M = await ai({
4686
4685
  queryObject: a,
4687
4686
  dateField: f,
4688
4687
  splitByField: m,
4689
4688
  queryConfig: w,
4690
4689
  temporalBinning: p
4691
- }), M = "y" in d && typeof d.y == "string" ? d.y : void 0;
4690
+ }), O = "y" in d && typeof d.y == "string" ? d.y : void 0;
4692
4691
  if (y = await Gr({
4693
4692
  chartConfig: e,
4694
- queryResults: R,
4693
+ queryResults: M,
4695
4694
  mapToStatField: L,
4696
4695
  splitByField: m,
4697
4696
  x: f,
4698
- y: M,
4697
+ y: O,
4699
4698
  nullPolicy: p.nullPolicy,
4700
4699
  queryObject: a
4701
- }), !Se({
4700
+ }), !he({
4702
4701
  count: y.length,
4703
4702
  seriesCount: u.length,
4704
4703
  chartType: S.LineSeries,
4705
4704
  chartLimits: o
4706
4705
  })) {
4707
- const q = se(u), A = y.filter(
4708
- (O) => q.some((H) => H in O && Number.isFinite(O[H]))
4706
+ const q = re(u), T = y.filter(
4707
+ (E) => q.some((H) => H in E && Number.isFinite(E[H]))
4709
4708
  ).length;
4710
- Se({
4711
- count: A,
4709
+ he({
4710
+ count: T,
4712
4711
  seriesCount: u.length,
4713
4712
  chartType: S.LineSeries,
4714
4713
  chartLimits: o
4715
4714
  }) || (D = !1);
4716
4715
  }
4717
- } else if (T?.dateRange.dateMinTimestamp && T.dateRange.dateMaxTimestamp) {
4718
- const { numberOfFinalBinsWithinDataRange: R } = Ai({
4719
- dateMinTimestamp: T.dateRange.dateMinTimestamp,
4720
- dateMaxTimestamp: T.dateRange.dateMaxTimestamp,
4716
+ } else if (A?.dateRange.dateMinTimestamp && A.dateRange.dateMaxTimestamp) {
4717
+ const { numberOfFinalBinsWithinDataRange: M } = Ai({
4718
+ dateMinTimestamp: A.dateRange.dateMinTimestamp,
4719
+ dateMaxTimestamp: A.dateRange.dateMaxTimestamp,
4721
4720
  timeIntervalInfo: B
4722
4721
  });
4723
- C = R * u.length, C = Ti(C, B.unit), y = r?.data ?? await ut({
4722
+ x = M * u.length, x = Ti(x, B.unit), y = r?.data ?? await ut({
4724
4723
  queryObject: a,
4725
4724
  uniqueQuery: w,
4726
4725
  chartConfig: e,
4727
4726
  mapToStatField: L,
4728
- elementCount: C,
4727
+ elementCount: x,
4729
4728
  chartLimits: o,
4730
4729
  isTimeBinningSeries: !0,
4731
4730
  usePopupTemplateFieldsInfo: c,
4732
4731
  abortKey: n
4733
- }), g.binnedServerData = { data: Ce(y), timeBinningStats: T }, y = await Ur({
4732
+ }), g.binnedServerData = { data: Ce(y), timeBinningStats: A }, y = await Ur({
4734
4733
  queryObject: a,
4735
4734
  queryConfig: t,
4736
4735
  queryResults: y,
4737
4736
  x: f,
4738
4737
  seriesConfig: u,
4739
- dateRange: T.dateRange,
4738
+ dateRange: A.dateRange,
4740
4739
  timeIntervalInfo: B
4741
4740
  });
4742
4741
  }
4743
4742
  fa(a) && y && y?.length === Or && (N = !0), l === $e.RenderUpToTheLimit && y && (y = ds({ chartConfig: e, options: s, data: y }));
4744
4743
  }
4745
- D || (g.valid = !1, g.invalidType = $.LineChartExceedsLimit), y && y.length > 0 && (y[y.length - 1][b.lastTemporalBin] = !0), g.data = { dataItems: y, timeIntervalInfo: B, serverLimitReached: N }, g.count = C;
4744
+ D || (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 = x;
4746
4745
  }
4747
4746
  }
4748
4747
  return g;
@@ -4752,7 +4751,7 @@ async function fs(i) {
4752
4751
  if (a !== void 0) {
4753
4752
  const d = e.series, f = Ne({
4754
4753
  seriesConfig: d[0],
4755
- xAxisValueFormatType: pe(e),
4754
+ xAxisValueFormatType: ye(e),
4756
4755
  setTimeBinningInfoWhenNotProvided: o
4757
4756
  }), { uniqueQuery: m, mapToStatField: g } = await ct({
4758
4757
  chartConfig: e,
@@ -4828,7 +4827,7 @@ function il(i, e = ":") {
4828
4827
  function al(i) {
4829
4828
  return (t) => {
4830
4829
  let a = typeof t != "string" ? t?.toString() ?? "" : t;
4831
- return !ee(a) && a !== b.htmlEmptyContent && (a = ys({
4830
+ return !Z(a) && a !== b.htmlEmptyContent && (a = ys({
4832
4831
  stringToTruncate: a,
4833
4832
  characterLimit: i
4834
4833
  })), a;
@@ -4871,28 +4870,28 @@ function rl(i) {
4871
4870
  if (e.chartRenderer)
4872
4871
  a = !0;
4873
4872
  else {
4874
- const { series: n } = e, r = W(n), s = E(n), o = we(e), c = Ne({
4873
+ const { series: n } = e, r = W(n), s = V(n), o = we(e), c = Ne({
4875
4874
  seriesConfig: o
4876
4875
  }), u = z(t)?.renderer;
4877
4876
  switch (u?.type) {
4878
- case ie.Simple:
4877
+ case te.Simple:
4879
4878
  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;
4880
4879
  break;
4881
- case ie.UniqueValue:
4880
+ case te.UniqueValue:
4882
4881
  {
4883
4882
  const f = u?.field, m = K(o.query?.where), { x: g } = o;
4884
4883
  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;
4885
4884
  }
4886
4885
  break;
4887
- case ie.PieChart:
4886
+ case te.PieChart:
4888
4887
  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;
4889
4888
  break;
4890
- case ie.ClassBreaks:
4889
+ case te.ClassBreaks:
4891
4890
  a = r === S.ScatterSeries || s === h.BarAndLineNoAggregation || s === h.PieNoAggregation;
4892
4891
  break;
4893
- case ie.Dictionary:
4894
- case ie.DotDensity:
4895
- case ie.Heatmap:
4892
+ case te.Dictionary:
4893
+ case te.DotDensity:
4894
+ case te.Heatmap:
4896
4895
  break;
4897
4896
  }
4898
4897
  }
@@ -4937,14 +4936,14 @@ function Bs(i) {
4937
4936
  const { color: m, label: g } = d;
4938
4937
  let y;
4939
4938
  Array.isArray(m) && m?.length === 4 ? y = m : m && "toRgba" in m && (y = m.toRgba());
4940
- let p = !1, x = !0;
4939
+ let p = !1, C = !0;
4941
4940
  switch (c) {
4942
4941
  case S.BarSeries:
4943
4942
  case S.LineSeries:
4944
4943
  case S.ComboLineAndBarSeries:
4945
4944
  case S.RadarSeries:
4946
4945
  if (a !== h.BarAndLineFromFields) {
4947
- const F = t.find((C) => C.query?.outStatistics?.[0]?.onStatisticField === f);
4946
+ const F = t.find((x) => x.query?.outStatistics?.[0]?.onStatisticField === f);
4948
4947
  F !== void 0 && "y" in F ? f = [F.y].flat()[0] : f = "";
4949
4948
  }
4950
4949
  p = a !== h.BarAndLineFromFields || f === n[b.originalCategoryValue];
@@ -4953,13 +4952,13 @@ function Bs(i) {
4953
4952
  p = a === h.PieFromFields && f === n[b.originalCategoryValue];
4954
4953
  break;
4955
4954
  case S.BoxPlotSeries:
4956
- 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;
4955
+ a === h.BoxPlotMonoField || a === h.BoxPlotMonoFieldAndCategory ? p = f === t[0].y : f && (a === h.BoxPlotMultiFields || a === h.BoxPlotMultiFieldsAndCategory) && (p = t.map((x) => x.y).flat().includes(f)), C = !1;
4957
4956
  break;
4958
4957
  }
4959
4958
  p && y && (s = {
4960
4959
  type: rt.SMS,
4961
4960
  color: y,
4962
- label: x && g ? g : void 0
4961
+ label: C && g ? g : void 0
4963
4962
  }, l != null && (s.outline = l), qi({
4964
4963
  dataItem: n,
4965
4964
  symbolField: a === h.BarAndLineFromFields || a === h.PieFromFields ? b.rendererSymbolField : `${b.rendererSymbolField}_${f}`,
@@ -4972,14 +4971,14 @@ function Bs(i) {
4972
4971
  function vs(i) {
4973
4972
  const { seriesConfig: e, chartSubType: t, rendererType: a } = i;
4974
4973
  let r = b.rendererSymbolField;
4975
- if (a === ie.UniqueValue) {
4974
+ if (a === te.UniqueValue) {
4976
4975
  if (Kt(t)) {
4977
- const s = ge({
4976
+ const s = me({
4978
4977
  where: e.query?.where
4979
4978
  });
4980
4979
  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}`;
4981
4980
  }
4982
- } else if (a === ie.PieChart)
4981
+ } else if (a === te.PieChart)
4983
4982
  switch (t) {
4984
4983
  case h.BoxPlotMultiFields:
4985
4984
  r = Array.isArray(e.y) ? e.y.flat() : e.y;
@@ -5001,7 +5000,7 @@ function Ei(i) {
5001
5000
  chartSubType: t,
5002
5001
  rendererType: a
5003
5002
  });
5004
- return r instanceof Array && e.type === S.BoxPlotSeries && a === ie.PieChart && n !== void 0 && (r = r.find((s) => s === n[Jt]) ?? r[0]), r = r !== b.rendererSymbolField ? `${b.rendererSymbolField}_${r.toString()}` : r, r;
5003
+ return r instanceof Array && e.type === S.BoxPlotSeries && a === te.PieChart && n !== void 0 && (r = r.find((s) => s === n[Jt]) ?? r[0]), r = r !== b.rendererSymbolField ? `${b.rendererSymbolField}_${r.toString()}` : r, r;
5005
5004
  }
5006
5005
  function Ns(i) {
5007
5006
  const { chartRenderer: e, queryObject: t } = i, a = e !== void 0 ? {
@@ -5028,7 +5027,7 @@ async function Ts(i) {
5028
5027
  mapAttributesToSymbol: u
5029
5028
  } = i;
5030
5029
  let d, f = !1;
5031
- if (n === ie.PieChart) {
5030
+ if (n === te.PieChart) {
5032
5031
  const m = Bs({
5033
5032
  renderer: a,
5034
5033
  seriesConfig: e,
@@ -5046,7 +5045,7 @@ async function Ts(i) {
5046
5045
  chartSubType: s,
5047
5046
  rendererType: n,
5048
5047
  dataItem: t
5049
- }), x = ge({
5048
+ }), C = me({
5050
5049
  where: y.query?.where,
5051
5050
  normalize: !0,
5052
5051
  keepSurroundingQuotes: !1,
@@ -5054,7 +5053,7 @@ async function Ts(i) {
5054
5053
  });
5055
5054
  g.set(p, {
5056
5055
  ...t,
5057
- [o]: x
5056
+ [o]: C
5058
5057
  });
5059
5058
  }
5060
5059
  }) : g.set(b.rendererSymbolField, {
@@ -5064,9 +5063,9 @@ async function Ts(i) {
5064
5063
  try {
5065
5064
  const y = Array.from(g.entries()), p = c.clone();
5066
5065
  p.layer = c.layer;
5067
- const x = a?.uniqueValueInfos;
5066
+ const C = a?.uniqueValueInfos;
5068
5067
  for (let F = 0; F < y.length; F += 1) {
5069
- const [C, B] = y[F];
5068
+ const [x, B] = y[F];
5070
5069
  if (Ht({
5071
5070
  mode: "encode",
5072
5071
  x: m,
@@ -5080,7 +5079,7 @@ async function Ts(i) {
5080
5079
  if (d = (await gt.getDisplayedSymbol(p))?.toJSON(), d != null) {
5081
5080
  d.color === void 0 && (d.color = (await gt.getDisplayedColor(p))?.toJSON());
5082
5081
  const v = await gt.getLegendLabel(p);
5083
- v != null && v !== "" && (d.label = v, d.uniqueValue = x?.find((T) => T.label === v)?.value ?? void 0);
5082
+ v != null && v !== "" && (d.label = v, d.uniqueValue = C?.find((A) => A.label === v)?.value ?? void 0);
5084
5083
  }
5085
5084
  u?.set(JSON.stringify(B), d);
5086
5085
  }
@@ -5091,7 +5090,7 @@ async function Ts(i) {
5091
5090
  attributes: t
5092
5091
  }), qi({
5093
5092
  dataItem: t,
5094
- symbolField: C,
5093
+ symbolField: x,
5095
5094
  rendererSymbol: d,
5096
5095
  rendererOrigin: r
5097
5096
  }) && (f = !0);
@@ -5124,10 +5123,10 @@ async function sl(i) {
5124
5123
  const g = bs(l, d?.renderer), y = Ns({
5125
5124
  chartRenderer: c,
5126
5125
  queryObject: t
5127
- }), p = E(o), x = we(a), F = K(x.query?.where);
5126
+ }), p = V(o), C = we(a), F = K(C.query?.where);
5128
5127
  m = /* @__PURE__ */ new Map();
5129
- for (let C = 0; C < e.length; C += 1) {
5130
- const B = e[C], N = await Ts({
5128
+ for (let x = 0; x < e.length; x += 1) {
5129
+ const B = e[x], N = await Ts({
5131
5130
  seriesConfig: a.series,
5132
5131
  dataItem: B,
5133
5132
  renderer: f,
@@ -5175,7 +5174,7 @@ function ol(i) {
5175
5174
  }
5176
5175
  function Ls(i) {
5177
5176
  let e = [];
5178
- return i && (e = i.series.flatMap((t) => t.query?.outStatistics?.map((a) => a.onStatisticField)).filter((t) => t !== void 0), e.length === 0 && (e = se(i.series))), e;
5177
+ return i && (e = i.series.flatMap((t) => t.query?.outStatistics?.map((a) => a.onStatisticField)).filter((t) => t !== void 0), e.length === 0 && (e = re(i.series))), e;
5179
5178
  }
5180
5179
  function ll(i, e) {
5181
5180
  let t = !1;
@@ -5225,8 +5224,8 @@ async function ws(i) {
5225
5224
  runtimeDataFilters: a?.runtimeDataFilters,
5226
5225
  ignoreViewExtent: a?.ignoreViewExtent
5227
5226
  });
5228
- if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName = Y.outStatistics.outStatisticFieldName), oe(s) && Ne({
5229
- xAxisValueFormatType: pe(o),
5227
+ if (c.outStatistics?.[0]?.outStatisticFieldName && (c.outStatistics[0].outStatisticFieldName = Y.outStatistics.outStatisticFieldName), se(s) && Ne({
5228
+ xAxisValueFormatType: ye(o),
5230
5229
  setTimeBinningInfoWhenNotProvided: a?.setTimeBinningInfoWhenNotProvided,
5231
5230
  seriesConfig: s
5232
5231
  }) && Qe(e)) {
@@ -5252,7 +5251,7 @@ async function ws(i) {
5252
5251
  queryObject: e,
5253
5252
  queryConfig: c,
5254
5253
  options: a
5255
- }), u = await ye({
5254
+ }), u = await ge({
5256
5255
  queryObject: e,
5257
5256
  queryConfig: l,
5258
5257
  featureCount: 1
@@ -5268,7 +5267,7 @@ async function ws(i) {
5268
5267
  function Ds(i, e) {
5269
5268
  const t = /* @__PURE__ */ new Map();
5270
5269
  return i.series.forEach((a) => {
5271
- let n = ge({
5270
+ let n = me({
5272
5271
  where: a.query?.where,
5273
5272
  // normalize the value so it matches what we get from getAllValues()
5274
5273
  // Refer to https://devtopia.esri.com/WebGIS/arcgis-charts/issues/8127
@@ -5317,7 +5316,7 @@ async function ml(i, e, t) {
5317
5316
  if (a !== void 0 && e !== void 0 && (e.series.length > 0 || n !== void 0) && a.addMissingSeries) {
5318
5317
  const r = e.series.length === 0;
5319
5318
  e.series.length === 0 && n !== void 0 && e.series.push(n);
5320
- const s = E(e.series);
5319
+ const s = V(e.series);
5321
5320
  if (s === h.BoxPlotMonoFieldAndSplitBy || s === h.BoxPlotMultiFieldsAndSplitBy || s === h.BoxPlotMonoFieldAndCategoryAndSplitBy || s === h.BarAndLineSplitBy || s === h.BarAndLineSplitByNoAggregation) {
5322
5321
  const o = await Sa({
5323
5322
  chartConfig: e,
@@ -5340,12 +5339,12 @@ async function ml(i, e, t) {
5340
5339
  initialConfigWasEmpty: r
5341
5340
  });
5342
5341
  Array.from(g.keys()).forEach((y) => {
5343
- (g.get(y) ?? []).forEach((x) => {
5342
+ (g.get(y) ?? []).forEach((C) => {
5344
5343
  e.series.push(
5345
5344
  qs({
5346
5345
  chartConfig: e,
5347
5346
  seriesTemplate: n,
5348
- missingValue: x,
5347
+ missingValue: C,
5349
5348
  splitByField: c
5350
5349
  })
5351
5350
  );
@@ -5374,14 +5373,14 @@ export {
5374
5373
  jt as N,
5375
5374
  lo as O,
5376
5375
  uo as P,
5377
- fe as Q,
5376
+ de as Q,
5378
5377
  Ee as R,
5379
5378
  Lo as S,
5380
5379
  jo as T,
5381
5380
  hn as U,
5382
5381
  al as V,
5383
5382
  Ka as W,
5384
- pe as X,
5383
+ ye as X,
5385
5384
  Ko as Y,
5386
5385
  qo as Z,
5387
5386
  Yo as _,