@arcgis/charts-components 5.0.0-next.51 → 5.0.0-next.53

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 (288) hide show
  1. package/dist/cdn/{V72HAW3A.js → 22XKXG4D.js} +3 -3
  2. package/dist/cdn/{3DIKD6LL.js → 22XV76FC.js} +2 -2
  3. package/dist/cdn/{DWTTCDLX.js → 2GLCYT4A.js} +2 -2
  4. package/dist/cdn/{3HFCTYVJ.js → 2IOCTKMQ.js} +2 -2
  5. package/dist/cdn/{JF434MRT.js → 2IW5JBCK.js} +2 -2
  6. package/dist/cdn/{I4ZQSKBQ.js → 2JDHERCD.js} +2 -2
  7. package/dist/cdn/{6VOAZOMP.js → 2JK7N3BH.js} +2 -2
  8. package/dist/cdn/{5STK5WG7.js → 2PHYJELF.js} +2 -2
  9. package/dist/cdn/{J2QDUXJE.js → 3E7N77BW.js} +2 -2
  10. package/dist/cdn/{BUZQSBDL.js → 3L4GPMFP.js} +2 -2
  11. package/dist/cdn/{AV666V52.js → 3PIZXUG3.js} +2 -2
  12. package/dist/cdn/{CDKHTPGB.js → 3XVWSIMV.js} +2 -2
  13. package/dist/cdn/{DD5QV2AB.js → 4647LLWJ.js} +2 -2
  14. package/dist/cdn/{AQMC3HBD.js → 46SGMHRK.js} +2 -2
  15. package/dist/cdn/{3724OAQD.js → 475H3RS3.js} +2 -2
  16. package/dist/cdn/{TOOYVIAU.js → 4N7DHGMM.js} +2 -2
  17. package/dist/cdn/{O33DW7ZZ.js → 4OBS6CEJ.js} +2 -2
  18. package/dist/cdn/{DFRMI7OU.js → 4SP5XK6I.js} +2 -2
  19. package/dist/cdn/{3CWBUXCF.js → 4ZSK7F5K.js} +2 -2
  20. package/dist/cdn/{K6NXEBG6.js → 53VWWVCC.js} +2 -2
  21. package/dist/cdn/{F5FVJ5KN.js → 556RM2HS.js} +2 -2
  22. package/dist/cdn/{5CMEKYG2.js → 5GBKOX65.js} +2 -2
  23. package/dist/cdn/{L4ZMM5YJ.js → 5GBNQRJ3.js} +1 -1
  24. package/dist/cdn/{L2HTZCD6.js → 5MUM7KON.js} +2 -2
  25. package/dist/cdn/{HJWO74BA.js → 5N5C7DKP.js} +1 -1
  26. package/dist/cdn/{DPGLTVXD.js → 5R234A2A.js} +2 -2
  27. package/dist/cdn/{VVGO57XM.js → 5ZLF7JQZ.js} +2 -2
  28. package/dist/cdn/{LJKU5DOQ.js → 667ZUKDG.js} +2 -2
  29. package/dist/cdn/{BROOW6ZG.js → 6A5ADDA7.js} +1 -1
  30. package/dist/cdn/{GVYDJSRQ.js → 6CHHLGF6.js} +2 -2
  31. package/dist/cdn/{BY2IOI6P.js → 6H2JE7JK.js} +2 -2
  32. package/dist/cdn/{E7J3XVE5.js → 6KIPXDES.js} +2 -2
  33. package/dist/cdn/{EQHNGPEU.js → 6OLATD3E.js} +1 -1
  34. package/dist/cdn/{LSWDE26H.js → 7CAEOELW.js} +2 -2
  35. package/dist/cdn/{H2K4DW6T.js → 7CVXID5S.js} +2 -2
  36. package/dist/cdn/{CEGRP5PX.js → 7M3J3WZS.js} +1 -1
  37. package/dist/cdn/{KW6MJD4T.js → 7PVEGYFL.js} +2 -2
  38. package/dist/cdn/{L6Y3LN4B.js → 7QYX3NID.js} +1 -1
  39. package/dist/cdn/{KFAXAEHT.js → 7Z5LET4Y.js} +2 -2
  40. package/dist/cdn/{GTCDCUYC.js → A35PIA2J.js} +2 -2
  41. package/dist/cdn/{F2ZJALSA.js → AG6LTZHV.js} +2 -2
  42. package/dist/cdn/{NSAWUEOY.js → AL2FMIPY.js} +2 -2
  43. package/dist/cdn/{HDPN7SOH.js → ASQFN3P7.js} +2 -2
  44. package/dist/cdn/{IL5S5CW5.js → ATODSF4O.js} +2 -2
  45. package/dist/cdn/{N5SAD3IN.js → AZ5G6IJV.js} +2 -2
  46. package/dist/cdn/{TUFE5B5M.js → BG2ELZHD.js} +2 -2
  47. package/dist/cdn/{Q7I345O4.js → BNPIOXKL.js} +2 -2
  48. package/dist/cdn/{GCWZR5S3.js → BYGY7YHS.js} +2 -2
  49. package/dist/cdn/{54M2LS4C.js → CKCN3JHH.js} +1 -1
  50. package/dist/cdn/{FSYKVNJ3.js → CKXI42AF.js} +2 -2
  51. package/dist/cdn/{GN4PWMLK.js → CLG5MOV4.js} +2 -2
  52. package/dist/cdn/{USX3GUS7.js → CMHBZFT5.js} +2 -2
  53. package/dist/cdn/{TUOORNZN.js → CP3KJSL2.js} +2 -2
  54. package/dist/cdn/{2FFIX2UZ.js → CQDC3PO6.js} +2 -2
  55. package/dist/cdn/{LQTZDVTL.js → CQWZIIG7.js} +2 -2
  56. package/dist/cdn/{CYQNPKG2.js → CX62EGIU.js} +2 -2
  57. package/dist/cdn/{6SZCLOJV.js → CZZSM6ZJ.js} +2 -2
  58. package/dist/cdn/{GQ5UYMZ5.js → DALKBULT.js} +1 -1
  59. package/dist/cdn/{RLHL6HHH.js → DMKVFD2K.js} +2 -2
  60. package/dist/cdn/{5IT3DNJM.js → DUL42XKF.js} +2 -2
  61. package/dist/cdn/{Z6EEQTA7.js → DXNBRTBB.js} +2 -2
  62. package/dist/cdn/{KCRNKETG.js → DZ2CFN6U.js} +2 -2
  63. package/dist/cdn/{SQZQQKJZ.js → ES2ZDO57.js} +2 -2
  64. package/dist/cdn/{S4ZKKCVF.js → ESOTNKEA.js} +2 -2
  65. package/dist/cdn/{BIE445NL.js → EWHCIRYF.js} +2 -2
  66. package/dist/cdn/{VAVNAMP2.js → F4I637ID.js} +2 -2
  67. package/dist/cdn/{WBTRPWQM.js → F7YYAMUU.js} +2 -2
  68. package/dist/cdn/{WHHOEHEE.js → FHHDE2M2.js} +2 -2
  69. package/dist/cdn/{COKG2QN7.js → FIZFQTAQ.js} +2 -2
  70. package/dist/cdn/{ANVE7IP7.js → FO35PFUU.js} +2 -2
  71. package/dist/cdn/{QJOOCYFA.js → G5Y42E6G.js} +2 -2
  72. package/dist/cdn/{JOO7NCD3.js → GOMY2IJY.js} +2 -2
  73. package/dist/cdn/{W5HCONSX.js → GPVFP2NK.js} +2 -2
  74. package/dist/cdn/{TNF2MVZI.js → GUO7YXDR.js} +2 -2
  75. package/dist/cdn/{BDQRKBQJ.js → GVK3EJPW.js} +2 -2
  76. package/dist/cdn/{LWCVLRHQ.js → GYG54VKW.js} +2 -2
  77. package/dist/cdn/{ZGKD3DQA.js → GYMISDI2.js} +2 -2
  78. package/dist/cdn/{AKBINYLB.js → GYZNKHSZ.js} +2 -2
  79. package/dist/cdn/{YYRTXFKJ.js → GZ7P5V6E.js} +2 -2
  80. package/dist/cdn/{6ST76NPJ.js → H4SVCKNS.js} +2 -2
  81. package/dist/cdn/{TJH3I3LD.js → HC7BSBQM.js} +2 -2
  82. package/dist/cdn/{OSQESB3E.js → HGMBFB6Z.js} +2 -2
  83. package/dist/cdn/{SBVMIBUY.js → HQ4YDUBL.js} +2 -2
  84. package/dist/cdn/{JP7EO6BR.js → HRLQAVZY.js} +2 -2
  85. package/dist/cdn/{K44JZRLF.js → HSWLCEUB.js} +2 -2
  86. package/dist/cdn/{PNGCP7KC.js → I3GREGWK.js} +2 -2
  87. package/dist/cdn/{74ZE52UP.js → IDFRUCOW.js} +2 -2
  88. package/dist/cdn/{YSZYWYQW.js → IHGA27IJ.js} +2 -2
  89. package/dist/cdn/{BWF232OP.js → ILNEQOAX.js} +2 -2
  90. package/dist/cdn/{UUW55D6Y.js → IXBFZD2J.js} +2 -2
  91. package/dist/cdn/{SLS4K5UK.js → J2MAFP55.js} +2 -2
  92. package/dist/cdn/{GTDK7IDR.js → JBKTD2BL.js} +2 -2
  93. package/dist/cdn/{DF6EGSHT.js → JBQ4FYUC.js} +2 -2
  94. package/dist/cdn/{OW2XQCBR.js → JHIFJWP3.js} +2 -2
  95. package/dist/cdn/{RIWIFFMV.js → JLOZBX7U.js} +2 -2
  96. package/dist/cdn/{GH57K2DD.js → JQARI4LU.js} +2 -2
  97. package/dist/cdn/{BB23SUT3.js → JTJTGG2E.js} +2 -2
  98. package/dist/cdn/{JNVPCZNK.js → JTUUGWB3.js} +2 -2
  99. package/dist/cdn/{L3BQ5TWO.js → JUHK3HPP.js} +2 -2
  100. package/dist/cdn/{AA43CFU7.js → JWL3SQAO.js} +2 -2
  101. package/dist/cdn/{GNQYXO2A.js → K3EIIQ4F.js} +2 -2
  102. package/dist/cdn/{IQSSKC6N.js → KAFVVLGB.js} +2 -2
  103. package/dist/cdn/{AQ7MA75N.js → KAZFE6FS.js} +2 -2
  104. package/dist/cdn/{XJYGPXHP.js → KQOE3JLD.js} +2 -2
  105. package/dist/cdn/{CQ5PTW3D.js → KUUOANRI.js} +2 -2
  106. package/dist/cdn/{MXTVONY2.js → KYTQG7QD.js} +2 -2
  107. package/dist/cdn/{WGA4QOON.js → L3LNQPT5.js} +2 -2
  108. package/dist/cdn/{CTQ2SXIJ.js → L4DW72EP.js} +2 -2
  109. package/dist/cdn/{DS6NX7MU.js → L7FMUQRV.js} +2 -2
  110. package/dist/cdn/{NDBN3CYG.js → LIURMSOT.js} +2 -2
  111. package/dist/cdn/{UMSXJEYX.js → LIWPG4AG.js} +2 -2
  112. package/dist/cdn/{N6HOODDF.js → LJZ2DQIE.js} +2 -2
  113. package/dist/cdn/{AWJIP5SC.js → LKAPJTOG.js} +2 -2
  114. package/dist/cdn/{NVEWHE6O.js → LKIVCC6M.js} +2 -2
  115. package/dist/cdn/{NHBOJSGE.js → LOXTSCDL.js} +2 -2
  116. package/dist/cdn/{AU4OCCCR.js → MM422GVU.js} +2 -2
  117. package/dist/cdn/{M2KOHO26.js → MOSMBZVF.js} +2 -2
  118. package/dist/cdn/{MGSTGM2O.js → MXF3EMAW.js} +2 -2
  119. package/dist/cdn/{NJP4TOWP.js → N62FLX7R.js} +2 -2
  120. package/dist/cdn/{MQWIEP63.js → NNHNPVPO.js} +2 -2
  121. package/dist/cdn/{RSAVWV6P.js → NWUDV6HP.js} +2 -2
  122. package/dist/cdn/{XC6MMICH.js → NYYYYDVS.js} +2 -2
  123. package/dist/cdn/{AHGMA4MA.js → OSK3YMZH.js} +2 -2
  124. package/dist/cdn/{YWU6XQ2J.js → OSNNEH4D.js} +2 -2
  125. package/dist/cdn/{YKIBACTO.js → OVITXBR5.js} +2 -2
  126. package/dist/cdn/{QNM5RCZY.js → OVPFAZYL.js} +2 -2
  127. package/dist/cdn/{GP6WVWMP.js → OYYHDUAV.js} +2 -2
  128. package/dist/cdn/{NXTIHJ2P.js → P2SJIRS5.js} +2 -2
  129. package/dist/cdn/{H4WARRAC.js → PK6CHSAR.js} +19 -19
  130. package/dist/cdn/{O2NYFQCL.js → PLCJMVJA.js} +2 -2
  131. package/dist/cdn/{CN3THIJA.js → PWNIKZ5G.js} +2 -2
  132. package/dist/cdn/{XREVRW6Y.js → PXGIDPE6.js} +2 -2
  133. package/dist/cdn/{3GSG5A4P.js → PZ3FWVAY.js} +2 -2
  134. package/dist/cdn/{FDYMLFEA.js → Q2XOAXLO.js} +2 -2
  135. package/dist/cdn/{DAYOKYDA.js → Q4PONE7B.js} +2 -2
  136. package/dist/cdn/{WNCAET2Z.js → Q6BVWC65.js} +2 -2
  137. package/dist/cdn/{PXPLGJRU.js → QLDSQ5SE.js} +2 -2
  138. package/dist/cdn/{WLE7CQD4.js → QOIXRFGH.js} +2 -2
  139. package/dist/cdn/{ZYKH466J.js → QUJYXLVB.js} +2 -2
  140. package/dist/cdn/{3X2PUY3Z.js → R73WOWO3.js} +2 -2
  141. package/dist/cdn/{TETD6QHI.js → RSDUCZTJ.js} +2 -2
  142. package/dist/cdn/{ZROF5BBD.js → RUZA3LOU.js} +2 -2
  143. package/dist/cdn/{NS6ESVWF.js → RXJJWENO.js} +2 -2
  144. package/dist/cdn/{F4VY4N6L.js → S25EKTDK.js} +2 -2
  145. package/dist/cdn/{6SPUGQG4.js → SAR2JYEQ.js} +2 -2
  146. package/dist/cdn/{2O3KE45T.js → SGR43NIV.js} +2 -2
  147. package/dist/cdn/{GL7DYCIY.js → SH4427MT.js} +2 -2
  148. package/dist/cdn/{TI3G5ABA.js → SUPQAXXT.js} +2 -2
  149. package/dist/cdn/{IQ4BYS4D.js → T4UBFII4.js} +2 -2
  150. package/dist/cdn/{O7JUKN2Q.js → TAHOEKTQ.js} +2 -2
  151. package/dist/cdn/{XBC6GHB3.js → TUZ5QHO6.js} +2 -2
  152. package/dist/cdn/{PROYNBFN.js → TWAL6Y7B.js} +2 -2
  153. package/dist/cdn/{GRKP7BFO.js → TWI5FHTD.js} +2 -2
  154. package/dist/cdn/{AWCQUNZE.js → UBHQ3YR3.js} +2 -2
  155. package/dist/cdn/{H6BINBNX.js → UOM7XXHF.js} +2 -2
  156. package/dist/cdn/{4CFJ7WM7.js → UR3AVAN7.js} +2 -2
  157. package/dist/cdn/{WOBVOJFL.js → UT3A4ZJC.js} +2 -2
  158. package/dist/cdn/{C5RBVHQK.js → UURXDFYO.js} +2 -2
  159. package/dist/cdn/{5WU5MG6R.js → VQYIB2EB.js} +2 -2
  160. package/dist/cdn/{HTZD3B4O.js → VRIVNPS3.js} +2 -2
  161. package/dist/cdn/{H2RWX3DS.js → W3COIX6T.js} +2 -2
  162. package/dist/cdn/{RK7VELRG.js → WKNULV5Q.js} +2 -2
  163. package/dist/cdn/{YVH4TYHT.js → WNXRUPPO.js} +2 -2
  164. package/dist/cdn/{DL4FPPQS.js → WYIKRWNB.js} +2 -2
  165. package/dist/cdn/{RMREODR3.js → X4ORTVSR.js} +2 -2
  166. package/dist/cdn/{II2R3DSC.js → X57F5GLL.js} +2 -2
  167. package/dist/cdn/{DDPDZAFM.js → XB7XUYRB.js} +1 -1
  168. package/dist/cdn/{RWWWFCKQ.js → XC64VHVS.js} +2 -2
  169. package/dist/cdn/{COYMZGHI.js → Y32VQJRS.js} +2 -2
  170. package/dist/cdn/{FABFSBPK.js → Y3A3TWK7.js} +2 -2
  171. package/dist/cdn/{UAFOQ3XQ.js → YG6QMAG3.js} +2 -2
  172. package/dist/cdn/{Y6FYKIS7.js → YGDD5LIX.js} +2 -2
  173. package/dist/cdn/{M6HSAZI7.js → YKWXE4GN.js} +2 -2
  174. package/dist/cdn/{IOUPMTLG.js → YLNH74LS.js} +2 -2
  175. package/dist/cdn/{GYL522GH.js → YPVB7IJL.js} +2 -2
  176. package/dist/cdn/{IPIB5PCL.js → YTPQ2Z6Q.js} +2 -2
  177. package/dist/cdn/{4RBINONO.js → YUCCGT43.js} +2 -2
  178. package/dist/cdn/{TDILUAGE.js → Z5GCTUOD.js} +2 -2
  179. package/dist/cdn/{JQ3JBBOB.js → Z67YNT7U.js} +2 -2
  180. package/dist/cdn/{K6NSRQ6V.js → ZS33RT6R.js} +2 -2
  181. package/dist/cdn/index.js +2 -2
  182. package/dist/chart-rendering/common/axes/utils/axis-renderer/index.d.ts +18 -0
  183. package/dist/chart-rendering/next/chart-library-elements/axes/utils/axis-renderer/index.d.ts +3 -8
  184. package/dist/chart-rendering/stable/chart-library-elements/axes/utils/axis-renderer/index.d.ts +1 -18
  185. package/dist/chunks/action-bar-utils.js +1 -1
  186. package/dist/chunks/axis-model-wrapper.js +1 -1
  187. package/dist/chunks/bar-chart-model.js +1 -1
  188. package/dist/chunks/bar-chart-series.js +1 -1
  189. package/dist/chunks/baseline-stacking.js +1 -1
  190. package/dist/chunks/bg_BG.js +1 -1
  191. package/dist/chunks/bg_BG2.js +1 -1
  192. package/dist/chunks/box-plot-data.js +1 -1
  193. package/dist/chunks/box-plot-model.js +1 -1
  194. package/dist/chunks/chart-ui-utils.js +1 -1
  195. package/dist/chunks/chart-ui-utils2.js +1 -1
  196. package/dist/chunks/combo-bar-line-chart-model.js +1 -1
  197. package/dist/chunks/common.js +1 -1
  198. package/dist/chunks/config-update.js +1 -1
  199. package/dist/chunks/data.js +1 -1
  200. package/dist/chunks/default.js +1 -1
  201. package/dist/chunks/gauge-model.js +1 -1
  202. package/dist/chunks/heat-chart-model.js +1 -1
  203. package/dist/chunks/histogram-data.js +1 -1
  204. package/dist/chunks/histogram-model.js +1 -1
  205. package/dist/chunks/index.js +338 -338
  206. package/dist/chunks/index2.js +1 -1
  207. package/dist/chunks/index3.js +1 -1
  208. package/dist/chunks/index4.js +1 -1
  209. package/dist/chunks/interfaces.js +1 -1
  210. package/dist/chunks/line-chart-model.js +1 -1
  211. package/dist/chunks/model-with-baseline-stacking.js +1 -1
  212. package/dist/chunks/model-with-data-labels.js +1 -1
  213. package/dist/chunks/model-with-multi-axes.js +1 -1
  214. package/dist/chunks/model-with-rotation.js +1 -1
  215. package/dist/chunks/pie-chart-data.js +1 -1
  216. package/dist/chunks/pie-chart-model.js +1 -1
  217. package/dist/chunks/popover-ui-utils.js +1 -1
  218. package/dist/chunks/radar-chart-model.js +1 -1
  219. package/dist/chunks/resource.js +1 -1
  220. package/dist/chunks/rest-js-object-literals.js +1 -1
  221. package/dist/chunks/runtime.js +1 -1
  222. package/dist/chunks/scatterplot-model.js +1 -1
  223. package/dist/chunks/serial-chart-data.js +1 -1
  224. package/dist/chunks/serial-chart-model.js +1 -1
  225. package/dist/chunks/series-types.js +1 -1
  226. package/dist/chunks/series.js +1 -1
  227. package/dist/chunks/sk_SK.js +1 -1
  228. package/dist/chunks/store.js +1 -1
  229. package/dist/chunks/type-guards.js +1 -1
  230. package/dist/chunks/useT9n.js +1 -1
  231. package/dist/chunks/web-component-utils.js +1 -1
  232. package/dist/components/arcgis-chart/customElement.js +615 -616
  233. package/dist/components/arcgis-charts-action-bar/customElement.js +1 -1
  234. package/dist/components/arcgis-charts-config-axes/customElement.js +1 -1
  235. package/dist/components/arcgis-charts-config-axis/customElement.js +1 -1
  236. package/dist/components/arcgis-charts-config-bar-chart/customElement.js +1 -1
  237. package/dist/components/arcgis-charts-config-bar-chart-data/customElement.js +1 -1
  238. package/dist/components/arcgis-charts-config-bar-chart-popover/customElement.js +1 -1
  239. package/dist/components/arcgis-charts-config-bar-chart-series/customElement.js +1 -1
  240. package/dist/components/arcgis-charts-config-bar-chart-series-popover/customElement.js +1 -1
  241. package/dist/components/arcgis-charts-config-box-plot/customElement.js +1 -1
  242. package/dist/components/arcgis-charts-config-box-plot-data/customElement.js +1 -1
  243. package/dist/components/arcgis-charts-config-box-plot-popover/customElement.js +1 -1
  244. package/dist/components/arcgis-charts-config-box-plot-series/customElement.js +1 -1
  245. package/dist/components/arcgis-charts-config-box-plot-series-popover/customElement.js +1 -1
  246. package/dist/components/arcgis-charts-config-category-format/customElement.js +1 -1
  247. package/dist/components/arcgis-charts-config-chart-rename-popover/customElement.js +1 -1
  248. package/dist/components/arcgis-charts-config-color-style/customElement.js +1 -1
  249. package/dist/components/arcgis-charts-config-colors/customElement.js +1 -1
  250. package/dist/components/arcgis-charts-config-create-flow/customElement.js +1 -1
  251. package/dist/components/arcgis-charts-config-field-select/customElement.js +1 -1
  252. package/dist/components/arcgis-charts-config-font-style/customElement.js +1 -1
  253. package/dist/components/arcgis-charts-config-format/customElement.js +1 -1
  254. package/dist/components/arcgis-charts-config-format-popover/customElement.js +1 -1
  255. package/dist/components/arcgis-charts-config-general/customElement.js +1 -1
  256. package/dist/components/arcgis-charts-config-guide/customElement.js +1 -1
  257. package/dist/components/arcgis-charts-config-guide-popover/customElement.js +1 -1
  258. package/dist/components/arcgis-charts-config-guides/customElement.js +1 -1
  259. package/dist/components/arcgis-charts-config-guides-type-popover/customElement.js +1 -1
  260. package/dist/components/arcgis-charts-config-histogram/customElement.js +1 -1
  261. package/dist/components/arcgis-charts-config-histogram-data/customElement.js +1 -1
  262. package/dist/components/arcgis-charts-config-histogram-popover/customElement.js +1 -1
  263. package/dist/components/arcgis-charts-config-invalid-input-message/customElement.js +1 -1
  264. package/dist/components/arcgis-charts-config-line-chart/customElement.js +1 -1
  265. package/dist/components/arcgis-charts-config-line-chart-data/customElement.js +1 -1
  266. package/dist/components/arcgis-charts-config-line-chart-popover/customElement.js +1 -1
  267. package/dist/components/arcgis-charts-config-line-chart-series/customElement.js +1 -1
  268. package/dist/components/arcgis-charts-config-line-chart-series-popover/customElement.js +1 -1
  269. package/dist/components/arcgis-charts-config-line-style/customElement.js +1 -1
  270. package/dist/components/arcgis-charts-config-number-format/customElement.js +1 -1
  271. package/dist/components/arcgis-charts-config-pie-chart/customElement.js +1 -1
  272. package/dist/components/arcgis-charts-config-pie-chart-data/customElement.js +1 -1
  273. package/dist/components/arcgis-charts-config-pie-chart-popover/customElement.js +1 -1
  274. package/dist/components/arcgis-charts-config-pie-chart-slices/customElement.js +1 -1
  275. package/dist/components/arcgis-charts-config-pie-chart-slices-popover/customElement.js +1 -1
  276. package/dist/components/arcgis-charts-config-scatter-plot/customElement.js +1 -1
  277. package/dist/components/arcgis-charts-config-scatter-plot-data/customElement.js +1 -1
  278. package/dist/components/arcgis-charts-config-scatter-plot-popover/customElement.js +1 -1
  279. package/dist/components/arcgis-charts-config-select-chart-type-popover/customElement.js +1 -1
  280. package/dist/components/arcgis-charts-config-view-charts/customElement.js +1 -1
  281. package/dist/docs/api.json +2 -2
  282. package/dist/docs/docs.json +2 -2
  283. package/dist/docs/web-types.json +1 -1
  284. package/dist/index.js +1 -1
  285. package/dist/loader.js +1 -1
  286. package/dist/model.js +1 -1
  287. package/dist/utils/data/index.d.ts +2 -1
  288. package/package.json +3 -3
@@ -1,5 +1,5 @@
1
1
  import { c as Fm } from "../../chunks/runtime.js";
2
- import * as oi from "@arcgis/core/core/reactiveUtils.js";
2
+ import * as ai from "@arcgis/core/core/reactiveUtils.js";
3
3
  import { substitute as wa } from "@arcgis/core/intl.js";
4
4
  import il from "@arcgis/core/layers/FeatureLayer.js";
5
5
  import { LitElement as Am, createEvent as xt, safeClassMap as al } from "@arcgis/lumina";
@@ -8,14 +8,14 @@ import km from "jszip";
8
8
  import { html as Yo, css as Im } from "lit";
9
9
  import { createRef as $m, ref as ol } from "lit/directives/ref.js";
10
10
  import { cloneDeep as Be, debounce as Ee, isEqual as ro, isEmpty as Aa } from "lodash-es";
11
- import { p as Y, d6 as P, d as ni, dc as Ii, db as G, dd as da, ar as ai, cP as we, b2 as Zo, ak as Fo, de as A, df as ft, av as si, al as mn, dg as gn, dh as Cc, di as vc, dj as ri, cT as ye, m as Dm, l as $i, k as Di, ai as Oa, ad as Q, a4 as be, dk as wm, at as Ne, _, dl as li, dm as bt, cR as Lc, cw as mt, a8 as Ms, O as De, dn as qe, dp as Fc, cJ as Zt, cL as Ht, dq as ci, dr as Ns, cZ as Me, ds as lo, cN as Ac, q as Ea, dt as gi, du as vt, aF as Ps, aH as Tc, bC as Om, bD as Rm, aQ as Vs, aR as kc, aG as hn, cI as wi, dv as Lt, dw as Bt, dx as za, d7 as Pe, dy as co, cX as Ko, dz as Ic, dA as Ao, dB as Qi, dC as $c, dD as Qo, bf as Dc, c1 as wc, dE as Oc, dF as Oi, a6 as Ri, cp as Ws, bz as It, cj as xi, dG as Rc, ck as Ra, dH as Bc, bv as yi, dI as Mc, dJ as Nc, dK as Pc, dL as Jo, bI as Es, cD as Vc, dM as Wc, dN as zs, as as Hs, dO as To, a2 as Bi, ab as pn, aa as Bm, dP as Ec, dQ as Gs, a1 as Xs, dR as Mm, dS as nl, dT as Ha, dU as Ji, aC as ko, dV as Io, $ as Qn, dW as Ga, dX as Nm, a_ as zc, dY as Ys, aN as Us, a3 as uo, aP as Hc, aO as Gc, dZ as qs, d_ as Xc, a as Ta, ao as Yc, bH as Uc, d8 as bn, d$ as qc, e0 as jc, a9 as _c, Z as Si, e1 as Zc, e2 as Xa, e3 as Ci, e4 as ea, cE as yn, e5 as Kc, bw as ao, F as Pm, G as Qc, v as Jc, J as js, K as Vm, C as ed, L as Wm, M as Em, e6 as _s, w as zm, x as Hm, e7 as td, i as id, y as fs, e8 as Sn, e9 as Zs, bm as ad, au as Gm, ea as Xm, T as ms, a5 as Ym, c4 as Um, cz as od, eb as nd, ec as qm, D as jm, E as _m, cK as sl, H as Zm, I as Km, cO as Qm, r as Jm, B as eg, A as tg, ed as ig, N as ag, by as gs, cv as Vo, U as La, s as og, g as ng, ee as rl, cY as sg, X as rg, ef as lg, eg as cg, eh as dg, bS as ll, h as ug, cA as fg } from "../../chunks/index.js";
11
+ import { p as Y, d6 as P, d as oi, dc as Ii, db as G, dd as da, ar as ii, cP as we, b2 as Zo, ak as Fo, de as A, df as ft, av as ni, al as mn, dg as gn, dh as Cc, di as vc, dj as si, cT as ye, m as Dm, l as $i, k as Di, ai as Oa, ad as Q, a4 as be, dk as wm, at as Ne, _, dl as ri, dm as bt, cR as Lc, cw as mt, a8 as Ms, O as $e, dn as qe, dp as Fc, cJ as mi, cL as _t, dq as li, dr as Ns, cZ as Me, ds as lo, cN as Ac, q as Ea, dt as gi, du as vt, aF as Ps, aH as Tc, bC as Om, bD as Rm, aQ as Vs, aR as kc, aG as hn, cI as wi, dv as Lt, dw as Bt, dx as za, d7 as Pe, dy as co, cX as Ko, dz as Ic, dA as Ao, dB as Qi, dC as $c, dD as Qo, bf as Dc, c1 as wc, dE as Oc, dF as Oi, a6 as Ri, cp as Ws, bz as It, cj as xi, dG as Rc, ck as Ra, dH as Bc, bv as yi, dI as Mc, dJ as Nc, dK as Pc, dL as Jo, bI as Es, cD as Vc, dM as Wc, dN as zs, as as Hs, dO as To, a2 as Bi, ab as pn, dP as Ec, aa as Bm, dQ as Gs, a1 as Xs, dR as Mm, dS as nl, dT as Ha, dU as Ji, aC as ko, dV as Io, $ as Qn, dW as Ga, dX as Nm, a_ as zc, dY as Ys, aN as Us, a3 as uo, aP as Hc, aO as Gc, dZ as qs, d_ as Xc, a as Ta, ao as Yc, bH as Uc, d8 as bn, d$ as qc, e0 as jc, a9 as _c, Z as Si, e1 as Zc, e2 as Xa, e3 as Ci, e4 as ea, cE as yn, e5 as Kc, bw as ao, F as Pm, G as Qc, v as Jc, J as js, K as Vm, C as ed, L as Wm, M as Em, e6 as _s, w as zm, x as Hm, e7 as td, i as id, y as fs, e8 as Sn, e9 as Zs, bm as ad, au as Gm, ea as Xm, T as ms, a5 as Ym, c4 as Um, cz as od, eb as nd, ec as qm, D as jm, E as _m, cK as sl, H as Zm, I as Km, cO as Qm, r as Jm, B as eg, A as tg, ed as ig, N as ag, by as gs, cv as Vo, U as La, s as og, g as ng, ee as rl, cY as sg, X as rg, ef as lg, eg as cg, eh as dg, bS as ll, h as ug, cA as fg } from "../../chunks/index.js";
12
12
  import { color as fo, percent as pt, LinePattern as sd, RectanglePattern as mg, p50 as Te, p0 as Ke, p100 as ke, Label as vi, Rectangle as Ks, DateFormatter as gg, NumberFormatter as rd, Series as Qs, HeatLegend as ld, Container as Yi, Legend as Js, Scrollbar as hs, SerialChart as Ba, Tooltip as Ya, Template as Ua, Graphics as hi, Bullet as Mi, time as hg, RoundedRectangle as mo, Slice as Ma, Timezone as pg, DataItem as bg, Color as yg, Modal as Sg, addLicense as xg, registry as Cg, Root as vg } from "@amcharts/amcharts5";
13
- import { PieChart as _t, PieSeries as yt } from "@amcharts/amcharts5/percent.js";
14
- import { AxisRendererCircular as Kt, RadarCursor as er, ClockHand as ps, RadarChart as ji, AxisRendererRadial as Lg, RadarLineSeries as tr } from "@amcharts/amcharts5/radar.js";
13
+ import { PieChart as jt, PieSeries as yt } from "@amcharts/amcharts5/percent.js";
14
+ import { AxisRendererCircular as Zt, RadarCursor as er, ClockHand as ps, RadarChart as ji, AxisRendererRadial as Lg, RadarLineSeries as tr } from "@amcharts/amcharts5/radar.js";
15
15
  import { XYChart as Se, AxisRendererX as Dt, LineSeries as xe, XYCursor as cd, ColumnSeries as Xe, StepLineSeries as xn, CandlestickSeries as ua, DateAxis as je, ValueAxis as Fe, CategoryAxis as ut, XYSeries as ir, AxisRendererY as _i, AxisBullet as Fg } from "@amcharts/amcharts5/xy.js";
16
16
  import { unsafeGetElementDirection as ar } from "@arcgis/toolkit/dom";
17
17
  import { getElementLocale as Cn } from "@arcgis/toolkit/intl";
18
- import { d as X, W as b, u as E, l as dd, g as vn, e as $e, S as ud, a as Gt, j as Xt, i as Ce, r as Na, v as Ag, o as Ie, s as cl, m as fd, h as dl, q as ka, p as Tg } from "../../chunks/series-types.js";
18
+ import { d as X, W as b, u as E, l as dd, g as vn, e as De, S as ud, a as Ht, j as Gt, i as Ce, r as Na, v as Ag, o as Ie, s as cl, m as fd, h as dl, q as ka, p as Tg } from "../../chunks/series-types.js";
19
19
  import "@arcgis/core/geometry/support/jsonUtils.js";
20
20
  import "@arcgis/core/rest/support/AttributeBinsQuery.js";
21
21
  import "@arcgis/core/rest/support/Query.js";
@@ -24,7 +24,7 @@ import "@arcgis/core/time/TimeExtent.js";
24
24
  import "@arcgis/core/core/promiseUtils.js";
25
25
  import "@arcgis/core/request.js";
26
26
  import { range as kg } from "d3-array";
27
- import { d as ii, c as Qe, b as dt, R as K, i as Jn, e as le, f as J, a as Ig, j as es } from "../../chunks/rest-js-object-literals.js";
27
+ import { d as ti, c as Qe, b as dt, R as K, i as Jn, e as le, f as J, a as Ig, j as es } from "../../chunks/rest-js-object-literals.js";
28
28
  import "@arcgis/core/Graphic.js";
29
29
  import "@arcgis/core/renderers/support/jsonUtils.js";
30
30
  import "@arcgis/core/symbols/support/symbolUtils.js";
@@ -37,11 +37,11 @@ import { L as ae, t as ul, b as fl, D as $g, g as ml, m as Dg } from "../../chun
37
37
  import wg from "@amcharts/amcharts5/themes/Animated.js";
38
38
  import Og from "@amcharts/amcharts5/themes/Responsive.js";
39
39
  import { b as go, d as en, c as md, q as gd, s as ts, t as Rg, r as Bg, u as Ln, h as is } from "../../chunks/index3.js";
40
- import { LineSeriesDataItem as ta, DateAxis as ze, ValueAxis as Le, CategoryAxis as lt, CategoryAxisDataItem as Pa, DateAxisDataItem as Fn, XYChart as oe, PieChart as Ae, AxisFill as Mg, AxisFillCircular as Ng, LineSeries as me, ColumnSeries as Ye, PieSeries as Vt, GaugeChart as St, XYCursor as hd, XYSeries as Li, SerialChart as pd, Cursor as Pg, AxisLabel as or, ColumnSeriesDataItem as $o, CandlestickSeries as _e, StepLineSeries as Ct, LegendDataItem as ia, CandlestickSeriesDataItem as Vg, PieSeriesDataItem as di, Legend as Wg, Series as Eg, AxisRendererX as $t, AxisRendererCircular as An, AxisLabelCircular as nr, ValueAxisDataItem as sr, AxisRendererY as Va, ClockHand as zg } from "@amcharts/amcharts4/charts.js";
40
+ import { LineSeriesDataItem as ta, DateAxis as ze, ValueAxis as Le, CategoryAxis as lt, CategoryAxisDataItem as Pa, DateAxisDataItem as Fn, XYChart as oe, PieChart as Ae, AxisFill as Mg, AxisFillCircular as Ng, LineSeries as me, ColumnSeries as Ye, PieSeries as Vt, GaugeChart as St, XYCursor as hd, XYSeries as Li, SerialChart as pd, Cursor as Pg, AxisLabel as or, ColumnSeriesDataItem as $o, CandlestickSeries as _e, StepLineSeries as Ct, LegendDataItem as ia, CandlestickSeriesDataItem as Vg, PieSeriesDataItem as ci, Legend as Wg, Series as Eg, AxisRendererX as $t, AxisRendererCircular as An, AxisLabelCircular as nr, ValueAxisDataItem as sr, AxisRendererY as Va, ClockHand as zg } from "@amcharts/amcharts4/charts.js";
41
41
  import { Exporting as Hg } from "@amcharts/amcharts5/plugins/exporting.js";
42
42
  import { isLight as Gg } from "@amcharts/amcharts5/.internal/core/util/Utils.js";
43
43
  import { curveLinearClosed as Xg, curveLinear as Yg, curveCardinal as Ug, curveBumpY as qg, curveBumpX as jg } from "d3-shape";
44
- import { DateFormatter as bd, NumberFormatter as yd, Group as _g, Color as tn, percent as it, LinePattern as Sd, RectPattern as xd, color as Tn, MouseCursorStyle as Yt, Label as ho, DropShadowFilter as Zg, Sprite as rr, utils as Cd, Polygon as vd, Container as lr, Tooltip as Ld, RoundedRectangle as Kg, Percent as an, Slice as Fd, options as oo, useTheme as Qg, unuseTheme as Jg, create as cr } from "@amcharts/amcharts4/core.js";
44
+ import { DateFormatter as bd, NumberFormatter as yd, Group as _g, Color as tn, percent as it, LinePattern as Sd, RectPattern as xd, color as Tn, MouseCursorStyle as Xt, Label as ho, DropShadowFilter as Zg, Sprite as rr, utils as Cd, Polygon as vd, Container as lr, Tooltip as Ld, RoundedRectangle as Kg, Percent as an, Slice as Fd, options as oo, useTheme as Qg, unuseTheme as Jg, create as cr } from "@amcharts/amcharts4/core.js";
45
45
  import gl from "@amcharts/amcharts4/themes/animated.js";
46
46
  import "@amcharts/amcharts4/.internal/charts/axes/Axis.js";
47
47
  import { isLight as eh } from "@amcharts/amcharts4/.internal/core/utils/Colors.js";
@@ -56,7 +56,7 @@ import { n as yl } from "../../chunks/chart-ui-utils2.js";
56
56
  import { p as Sl, i as xl, r as rh } from "../../chunks/config-update.js";
57
57
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
58
58
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
59
- v5.0.0-next.51 */
59
+ v5.0.0-next.53 */
60
60
  var Eo = { exports: {} }, as, Cl;
61
61
  function lh() {
62
62
  if (Cl) return as;
@@ -99,8 +99,8 @@ function ch() {
99
99
  getQueue: S,
100
100
  unshift: L,
101
101
  empty: i,
102
- kill: k,
103
- killAndDrain: I,
102
+ kill: I,
103
+ killAndDrain: k,
104
104
  error: O
105
105
  };
106
106
  return g;
@@ -143,10 +143,10 @@ function ch() {
143
143
  var R = c;
144
144
  R ? g.paused ? u-- : (d === c && (d = null), c = R.next, R.next = null, s.call(n, R.value, R.worked), d === null && g.empty()) : --u === 0 && g.drain();
145
145
  }
146
- function k() {
146
+ function I() {
147
147
  c = null, d = null, g.drain = i;
148
148
  }
149
- function I() {
149
+ function k() {
150
150
  c = null, d = null, g.drain(), g.drain = i;
151
151
  }
152
152
  function O(w) {
@@ -217,7 +217,7 @@ const Hi = {
217
217
  };
218
218
  function uh(t) {
219
219
  const { dataContext: e, dataIndex: i, objectIdField: a } = t;
220
- return `${ai.sliceIdPrefix}-${e[a ?? ""]?.toString() ?? i}`;
220
+ return `${ii.sliceIdPrefix}-${e[a ?? ""]?.toString() ?? i}`;
221
221
  }
222
222
  function fh(t) {
223
223
  const { chartConfig: e, chartData: i, fieldList: a } = t, o = Y(e.series) === P.PieFromFields;
@@ -239,7 +239,7 @@ function fh(t) {
239
239
  }
240
240
  }
241
241
  function kn(t) {
242
- const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Y(i.series) === P.PieFromFields ? ni : n.x;
242
+ const { data: e, newChartConfig: i, pieSlicesSymbols: a, fieldList: o } = t, n = i.series[0], s = Y(i.series) === P.PieFromFields ? oi : n.x;
243
243
  e.forEach((r) => {
244
244
  const l = Ii(r), c = r[G.pieChart.technicalFieldSliceId], d = l ? n.sliceGrouping?.label : on(a?.slices, c)?.label;
245
245
  mh({ dataContext: r, x: s, newLabel: d });
@@ -256,11 +256,11 @@ function on(t, e) {
256
256
  function Ad(t) {
257
257
  const { dataContext: e, isNonAggregatedChart: i, x: a, dataIndex: o, objectIdField: n, isPieFromFields: s } = t;
258
258
  let r = "";
259
- return s === !0 ? r = e[G.originalCategoryValue] ?? e[ni] : i ? r = uh({
259
+ return s === !0 ? r = e[G.originalCategoryValue] ?? e[oi] : i ? r = uh({
260
260
  dataContext: e,
261
261
  dataIndex: o,
262
262
  objectIdField: n
263
- }) : (r = e[G.typeOrDomainIdValue] ?? e[G.originalCategoryValue], r === "" ? r = ai.emptySliceId : r === null && (r = ai.nullSliceId), r = r ?? e[a]), r === void 0 && (r = ai.undefinedSliceId), r.toString();
263
+ }) : (r = e[G.typeOrDomainIdValue] ?? e[G.originalCategoryValue], r === "" ? r = ii.emptySliceId : r === null && (r = ii.nullSliceId), r = r ?? e[a]), r === void 0 && (r = ii.undefinedSliceId), r.toString();
264
264
  }
265
265
  function Td(t) {
266
266
  const {
@@ -275,7 +275,7 @@ function Td(t) {
275
275
  utilsStrings: c
276
276
  } = t, { sliceGrouping: d } = o;
277
277
  let { x: u } = o;
278
- s && (u = ni);
278
+ s && (u = oi);
279
279
  const f = e[u] ?? e[G.originalCategoryValue], g = e[G.originalCategoryValue] ?? f;
280
280
  let h = f;
281
281
  if (r) {
@@ -297,7 +297,7 @@ function kd(t, e) {
297
297
  }
298
298
  function Do(t) {
299
299
  const { groupOfSlicesDataContext: e, chartData: i } = t;
300
- return (e ?? i?.find((n) => n[ai.defaultGroupOfSlicesId] === !0))?.[G.pieChart.technicalFieldGroupedSlices];
300
+ return (e ?? i?.find((n) => n[ii.defaultGroupOfSlicesId] === !0))?.[G.pieChart.technicalFieldGroupedSlices];
301
301
  }
302
302
  function dr(t) {
303
303
  const { dataContext: e, pieSlicesSymbols: i, seriesConfig: a } = t;
@@ -397,10 +397,10 @@ function Re(t, e) {
397
397
  e === !1 && (!("isHiding" in t) || !t.isHiding()) ? (t.set("visible", !1), "hide" in t && t.hide()) : e !== !1 && (!("isShowing" in t) || !t.isShowing()) && (t.set("visible", !0), "show" in t && t.show());
398
398
  }
399
399
  function ve(t) {
400
- const { childId: e, parent: i, useChildId: a } = t, o = a ? e : Ut(e, i.uid);
400
+ const { childId: e, parent: i, useChildId: a } = t, o = a ? e : Yt(e, i.uid);
401
401
  return i.children.values.find((n) => n.get("id") === o);
402
402
  }
403
- function Ut(t, e) {
403
+ function Yt(t, e) {
404
404
  return `${t}${e}`;
405
405
  }
406
406
  function ja(t, e = 100) {
@@ -410,22 +410,22 @@ function Id(t, e) {
410
410
  let i = "";
411
411
  const n = (e ?? 0) / 2, s = 0 - n, r = 0 + n, l = 0 - n, c = 0 + n;
412
412
  switch (t) {
413
- case ii.Circle:
413
+ case ti.Circle:
414
414
  i = `M ${s},0 a ${n},${n} 0 1,0 ${n * 2},0 a ${n},${n} 0 1,0 ${-n * 2},0`;
415
415
  break;
416
- case ii.Cross:
416
+ case ti.Cross:
417
417
  i = `M ${s},0 L ${r},0 M 0,${l} L 0,${c} E`;
418
418
  break;
419
- case ii.Diamond:
419
+ case ti.Diamond:
420
420
  i = `M ${s},0 L 0,${l} L ${r},0 L 0,${c} L ${s},0 Z`;
421
421
  break;
422
- case ii.Square:
422
+ case ti.Square:
423
423
  i = `M ${s},${c} L ${s},${l} L ${r},${l} L ${r},${c} L ${s},${c} Z`;
424
424
  break;
425
- case ii.Triangle:
425
+ case ti.Triangle:
426
426
  i = `M ${s},${c} L 0,${l} L ${r},${c} L ${s},${c} Z`;
427
427
  break;
428
- case ii.X:
428
+ case ti.X:
429
429
  i = `M ${s},${c} L ${r},${l} M ${s},${l} L ${r},${c} E`;
430
430
  break;
431
431
  }
@@ -541,7 +541,7 @@ function Th(t, e) {
541
541
  function kh(t) {
542
542
  const { color: e, style: i, size: a, outline: o, xoffset: n, yoffset: s, angle: r } = t, l = $d(r), c = i !== void 0 ? Id(i, a) : "", d = ne(e);
543
543
  let u = o;
544
- return i !== ii.Cross && i !== ii.X && a !== void 0 && a <= A.lineSeries.marker.markerSizeThresholdForTooltipDisplay && (o?.width === void 0 || o.width === 0) && (u = {
544
+ return i !== ti.Cross && i !== ti.X && a !== void 0 && a <= A.lineSeries.marker.markerSizeThresholdForTooltipDisplay && (o?.width === void 0 || o.width === 0) && (u = {
545
545
  type: K.SLS,
546
546
  style: o?.style ?? Qe.Solid,
547
547
  color: [0, 0, 0, 0],
@@ -611,9 +611,9 @@ function fr(t) {
611
611
  let s;
612
612
  if (a === !0) {
613
613
  const r = n ? mn : Fo;
614
- if (i.color = i.color ?? si({ colorIndex: o, opacity: r }), go(i) || en(i)) {
614
+ if (i.color = i.color ?? ni({ colorIndex: o, opacity: r }), go(i) || en(i)) {
615
615
  const { outline: l } = i;
616
- l !== void 0 && (l.color = l?.color ?? si({ colorIndex: o }), i.outline = { ...l });
616
+ l !== void 0 && (l.color = l?.color ?? ni({ colorIndex: o }), i.outline = { ...l });
617
617
  }
618
618
  }
619
619
  return md(i) ? s = Dd(i, !0) : en(i) ? (i.style ??= A.lineSeries.marker.markerStyle, i.size ??= A.lineSeries.marker.markerBigSize, s = kh(i)) : go(i) && (s = Th(i, e)), s;
@@ -887,7 +887,7 @@ function Bh(t) {
887
887
  if (a.label !== void 0) {
888
888
  const s = e.get("renderer") instanceof Dt;
889
889
  let r;
890
- e instanceof Kt || (s ? o === K.SFS ? r = A.verticalSurfaceGuideLabels : r = A.verticalLineGuideLabels : o === K.SFS ? r = A.horizontalSurfaceGuideLabels : r = A.horizontalLineGuideLabels), ur(n.uid, { guideLabelConfig: a.label });
890
+ e instanceof Zt || (s ? o === K.SFS ? r = A.verticalSurfaceGuideLabels : r = A.verticalLineGuideLabels : o === K.SFS ? r = A.horizontalSurfaceGuideLabels : r = A.horizontalLineGuideLabels), ur(n.uid, { guideLabelConfig: a.label });
891
891
  const l = {
892
892
  type: b.Text,
893
893
  visible: a.visible,
@@ -965,7 +965,7 @@ function oa(t) {
965
965
  pattern: c.pattern
966
966
  }), sn(i, c.outline))), l || Re(i, o)), c;
967
967
  }
968
- function qt(t) {
968
+ function Ut(t) {
969
969
  const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
970
970
  let s;
971
971
  return e !== void 0 && !e.isDisposed() && (i !== void 0 && (s = fr({
@@ -999,7 +999,7 @@ function ht(t) {
999
999
  }, f = c ?? { ...o };
1000
1000
  switch (o.type) {
1001
1001
  case K.SLS:
1002
- d = qt({
1002
+ d = Ut({
1003
1003
  ...u,
1004
1004
  lineSymbol: f
1005
1005
  });
@@ -1279,7 +1279,7 @@ function Gh(t) {
1279
1279
  selectedMaxFieldWithOutliers: x,
1280
1280
  selectedMinFieldWithOutliers: C,
1281
1281
  iqrField: v
1282
- } = Hh({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }), L = l[g], T = u[g], k = l[y], I = l[h], O = u[S] ?? u[C], w = u[p] ?? u[x];
1282
+ } = Hh({ chartSubType: s, yAxisField: n, splitBy: o, showOutliers: r }), L = l[g], T = u[g], I = l[y], k = l[h], O = u[S] ?? u[C], w = u[p] ?? u[x];
1283
1283
  let R = zh({ oneSelectedItem: u, dataContext: l, xAxisField: a });
1284
1284
  if (R)
1285
1285
  switch (Nh(u, L)) {
@@ -1287,7 +1287,7 @@ function Gh(t) {
1287
1287
  R = Ph({ oneSelectedItem: u, dataContext: l, selectedOutlierKey: g });
1288
1288
  break;
1289
1289
  case Xi.OutlierToBox:
1290
- R = Vh({ elementMin: k, elementMax: I, selectedOutlierValue: T });
1290
+ R = Vh({ elementMin: I, elementMax: k, selectedOutlierValue: T });
1291
1291
  break;
1292
1292
  case Xi.BoxToOutlier:
1293
1293
  R = Wh({
@@ -1302,9 +1302,9 @@ function Gh(t) {
1302
1302
  R = Eh({
1303
1303
  selectedMin: O,
1304
1304
  selectedMax: w,
1305
- elementMin: k,
1305
+ elementMin: I,
1306
1306
  oneSelectedItem: u,
1307
- elementMax: I,
1307
+ elementMax: k,
1308
1308
  iqrField: v
1309
1309
  });
1310
1310
  break;
@@ -1322,9 +1322,9 @@ function mr(t) {
1322
1322
  n = a[e]?.toString() === i[e]?.toString();
1323
1323
  else {
1324
1324
  let s = i[G.typeOrDomainIdValue];
1325
- s === void 0 && (s = i[G.originalCategoryValue]), s === void 0 && (s = i[o]), s === void 0 && (s = i[ni]);
1325
+ s === void 0 && (s = i[G.originalCategoryValue]), s === void 0 && (s = i[o]), s === void 0 && (s = i[oi]);
1326
1326
  let r = a[G.typeOrDomainIdValue];
1327
- r === void 0 && (r = a[G.originalCategoryValue]), r === void 0 && (r = a[o]), r === void 0 && (r = a[ni]), n = s !== void 0 && r !== void 0 && s === r;
1327
+ r === void 0 && (r = a[G.originalCategoryValue]), r === void 0 && (r = a[o]), r === void 0 && (r = a[oi]), n = s !== void 0 && r !== void 0 && s === r;
1328
1328
  }
1329
1329
  return n;
1330
1330
  }
@@ -1367,12 +1367,12 @@ function In(t) {
1367
1367
  else if (C !== void 0 && C in S && C in p)
1368
1368
  x = S[C] === p[C];
1369
1369
  else if (G.dateBinningRange in p && typeof S[n] == "number") {
1370
- const v = S[n], L = S[G.dateBinningRange], T = Array.isArray(L) && Number.isFinite(L[0]) && Number.isFinite(L[1]), [k, I] = T ? L : [0, 0], [O, w] = p[G.dateBinningRange], R = p[G.lastTemporalBin] === !0 ? v <= w : v < w;
1371
- x = (T ? k < w && O < I : v >= O && R) && s in S && Number.isFinite(S[s]);
1370
+ const v = S[n], L = S[G.dateBinningRange], T = Array.isArray(L) && Number.isFinite(L[0]) && Number.isFinite(L[1]), [I, k] = T ? L : [0, 0], [O, w] = p[G.dateBinningRange], R = p[G.lastTemporalBin] === !0 ? v <= w : v < w;
1371
+ x = (T ? I < w && O < k : v >= O && R) && s in S && Number.isFinite(S[s]);
1372
1372
  } else {
1373
- const v = (k) => {
1374
- let I = k[G.typeOrDomainIdValue];
1375
- return I === void 0 && (I = k[d]), I === void 0 && (I = k[n]), I = I === null ? G.nullValue : I, I;
1373
+ const v = (I) => {
1374
+ let k = I[G.typeOrDomainIdValue];
1375
+ return k === void 0 && (k = I[d]), k === void 0 && (k = I[n]), k = k === null ? G.nullValue : k, k;
1376
1376
  }, L = v(p);
1377
1377
  x = v(S) === L && s in S;
1378
1378
  }
@@ -1395,12 +1395,12 @@ function In(t) {
1395
1395
  return o !== void 0 && o in p && o in S ? x = S[o] === p[o] : x = S[n] === p[n] && S[s] === p[s], x;
1396
1396
  };
1397
1397
  else {
1398
- const { dataContextXMinField: S, dataContextXMaxField: x, dataContextYMinField: C, dataContextYMaxField: v } = G.scatterplotAggregationFields, { [S]: L, [x]: T } = p, k = n !== s ? p[C] : L, I = n !== s ? p[v] : T, O = (R) => {
1398
+ const { dataContextXMinField: S, dataContextXMaxField: x, dataContextYMinField: C, dataContextYMaxField: v } = G.scatterplotAggregationFields, { [S]: L, [x]: T } = p, I = n !== s ? p[C] : L, k = n !== s ? p[v] : T, O = (R) => {
1399
1399
  const B = R[n] ?? Number.NaN, N = L ?? Number.NaN, V = T ?? Number.NaN;
1400
1400
  return L === T ? B === N : (B ?? Number.NaN) >= N && (B ?? Number.NaN) < V;
1401
1401
  }, w = (R) => {
1402
- const B = R[s] ?? Number.NaN, N = k ?? Number.NaN, V = I ?? Number.NaN;
1403
- return k === I ? B === N : B >= N && B < V;
1402
+ const B = R[s] ?? Number.NaN, N = I ?? Number.NaN, V = k ?? Number.NaN;
1403
+ return I === k ? B === N : B >= N && B < V;
1404
1404
  };
1405
1405
  f = (R) => O(R) && w(R);
1406
1406
  }
@@ -1454,7 +1454,7 @@ function Ai(t) {
1454
1454
  r !== b.PieSeries && (e || l !== P.BarAndLineNoAggregation && l !== P.BarAndLineSplitByNoAggregation) && o.forEach((f) => {
1455
1455
  f !== a && delete d[f];
1456
1456
  });
1457
- const u = ri({
1457
+ const u = si({
1458
1458
  value: i[n],
1459
1459
  dataContext: i,
1460
1460
  keepNullValues: !0
@@ -1511,7 +1511,7 @@ const nt = {
1511
1511
  };
1512
1512
  function Gd(t) {
1513
1513
  let e = !1, i;
1514
- if (t.target.dataItem?.component instanceof Qs ? { chart: i } = t.target.dataItem.component : (t.target instanceof cd || t.target instanceof er) && ({ chart: i } = t.target), i instanceof Se || i instanceof _t) {
1514
+ if (t.target.dataItem?.component instanceof Qs ? { chart: i } = t.target.dataItem.component : (t.target instanceof cd || t.target instanceof er) && ({ chart: i } = t.target), i instanceof Se || i instanceof jt) {
1515
1515
  const a = D(i.uid, "actionMode");
1516
1516
  if (a !== void 0) {
1517
1517
  const { originalEvent: o } = t;
@@ -1535,7 +1535,7 @@ function Xh(t, e) {
1535
1535
  const i = D(e.chart?.uid ?? Number.NaN, "actionMode"), a = Gd(t);
1536
1536
  return i === _.MonoSelection || i === _.MultiSelectionWithCtrlKey && !a;
1537
1537
  }
1538
- function Qt(t, e) {
1538
+ function Kt(t, e) {
1539
1539
  const { selectedElementsTheme: i, nonSelectedElementsTheme: a } = e ?? A.selectionTheme ?? {}, o = t.states.create(nt.CustomActive, {}), n = t.states.create(nt.CustomInactive, {});
1540
1540
  Al(o, i), Al(n, a);
1541
1541
  }
@@ -1564,7 +1564,7 @@ function Wa(t) {
1564
1564
  formatLocale: a,
1565
1565
  root: o
1566
1566
  });
1567
- return typeof e == "number" && i.type === b.NumberAxisFormat ? n = s.format(e, li(i)) : (typeof e == "number" || e instanceof Date) && i.type === b.DateAxisFormat && (n = s.format(e, li(i))), n;
1567
+ return typeof e == "number" && i.type === b.NumberAxisFormat ? n = s.format(e, ri(i)) : (typeof e == "number" || e instanceof Date) && i.type === b.DateAxisFormat && (n = s.format(e, ri(i))), n;
1568
1568
  }
1569
1569
  async function Uh(t) {
1570
1570
  const { root: e, exportOptions: i } = t, { format: a, quality: o = 1, ...n } = i, s = o < 0 || o > 1 ? 1 : o, l = await Hg.new(e, {}).exportImage(a, {
@@ -2032,7 +2032,7 @@ function au(t) {
2032
2032
  ph(e.uid, {
2033
2033
  pieChartLegendValueLabelsFormatter: C
2034
2034
  });
2035
- const L = D(n?.uid ?? 0, "config")?.legend?.position ?? A.legendProperties.position, T = a?.valueLabelMaxWidth, k = Kh(e, L), I = {
2035
+ const L = D(n?.uid ?? 0, "config")?.legend?.position ?? A.legendProperties.position, T = a?.valueLabelMaxWidth, I = Kh(e, L), k = {
2036
2036
  type: b.Text,
2037
2037
  visible: s,
2038
2038
  content: {
@@ -2041,12 +2041,12 @@ function au(t) {
2041
2041
  text: ".",
2042
2042
  verticalAlignment: J.Middle,
2043
2043
  // The horizontalAlignment value needs to be consistent with the one set by `handleValueLabelsRightAlignment()`. It avoids flickering the labels.
2044
- horizontalAlignment: k ? le.Right : le.Center
2044
+ horizontalAlignment: I ? le.Right : le.Center
2045
2045
  }
2046
2046
  };
2047
2047
  Wt({
2048
2048
  label: e.valueLabels.template,
2049
- labelConfig: I,
2049
+ labelConfig: k,
2050
2050
  defaults: A.legendProperties.valueLabels
2051
2051
  });
2052
2052
  const O = D(n?.uid ?? 0, "rtl") ?? !1, w = T !== void 0 && !Number.isNaN(T);
@@ -2190,16 +2190,16 @@ function rp(t) {
2190
2190
  const u = a.series[0].type === b.HistogramSeries ? a.series[0].overlays : void 0, f = pe(c.uid, "type");
2191
2191
  let g;
2192
2192
  switch (f) {
2193
- case De.Mean:
2193
+ case $e.Mean:
2194
2194
  g = u?.mean?.created;
2195
2195
  break;
2196
- case De.Median:
2196
+ case $e.Median:
2197
2197
  g = u?.median?.created;
2198
2198
  break;
2199
- case De.Normal:
2199
+ case $e.Normal:
2200
2200
  g = u?.comparisonDistribution?.created;
2201
2201
  break;
2202
- case De.StdDev:
2202
+ case $e.StdDev:
2203
2203
  g = u?.standardDeviation?.created;
2204
2204
  break;
2205
2205
  }
@@ -2267,27 +2267,27 @@ function io(t, e) {
2267
2267
  const o = D(t.uid, "config"), n = D(t.uid, "rtl"), s = o?.title ? o.title.visible ?? !0 : !1, r = o?.subtitle ? o.subtitle.visible ?? !0 : !1, l = o?.footer ? o.footer.visible ?? !0 : !1, c = o?.legend ? o.legend.visible ?? !0 : !1, d = o?.legend?.title ? o.legend.title.visible ?? !0 : !1, u = ve({ childId: $n, parent: t }), f = u instanceof Yi && s ? u.height() : 0, g = ve({ childId: gr, parent: t }), h = g instanceof Yi && r ? g.height() : 0, y = ve({ childId: Dn, parent: t }), p = y instanceof Yi && l ? y.height() : 0, S = ve({ childId: ga, parent: a }), x = S instanceof vi && c && d ? S?.height() : 0, C = o?.legend?.position ?? A.legendProperties.position;
2268
2268
  let v;
2269
2269
  const L = e.get("verticalScrollbar");
2270
- let T = Te, k = Te, I = i.verticalLayout, O = Te, w = Te, R = Te, B = Te, N = 0, V;
2270
+ let T = Te, I = Te, k = i.verticalLayout, O = Te, w = Te, R = Te, B = Te, N = 0, V;
2271
2271
  const z = e.height() + x;
2272
2272
  let H = 0, ee = 0, de = 0, te = 0, q, ue;
2273
2273
  switch (C) {
2274
2274
  case X.Left:
2275
- I = i.verticalLayout, O = Ke, R = Ke, w = Ke, B = Ke, V = void 0, T = Ke, k = Ke, H = a.width(), N = f + h, z < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - z / 2), v = kl(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + A.scrollbarPadding), n && (q = ke, ue = v);
2275
+ k = i.verticalLayout, O = Ke, R = Ke, w = Ke, B = Ke, V = void 0, T = Ke, I = Ke, H = a.width(), N = f + h, z < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - z / 2), v = kl(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + A.scrollbarPadding), n && (q = ke, ue = v);
2276
2276
  break;
2277
2277
  case X.Right:
2278
- I = i.verticalLayout, O = ke, R = ke, w = Ke, B = Ke, V = void 0, T = Ke, k = Ke, ee = a.width(), N = f + h, z < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - z / 2), v = kl(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + A.scrollbarPadding), n && (q = ke, ue = v);
2278
+ k = i.verticalLayout, O = ke, R = ke, w = Ke, B = Ke, V = void 0, T = Ke, I = Ke, ee = a.width(), N = f + h, z < t.seriesContainer.height() && (N += t.seriesContainer.height() / 2 - z / 2), v = kl(e), L?.width() !== void 0 && v && L.isVisible() && (v += L.width() + A.scrollbarPadding), n && (q = ke, ue = v);
2279
2279
  break;
2280
2280
  case X.Top:
2281
- I = i.gridLayout, O = Te, R = Te, w = Ke, B = Ke, V = ke, T = Te, k = Te, de += z, N += f + h, v = void 0, n && (q = void 0);
2281
+ k = i.gridLayout, O = Te, R = Te, w = Ke, B = Ke, V = ke, T = Te, I = Te, de += z, N += f + h, v = void 0, n && (q = void 0);
2282
2282
  break;
2283
2283
  case X.Bottom:
2284
- I = i.gridLayout, O = Te, R = Te, w = ke, B = ke, V = ke, T = Te, k = Te, te = z, N = -te - p, v = void 0, n && (q = void 0);
2284
+ k = i.gridLayout, O = Te, R = Te, w = ke, B = ke, V = ke, T = Te, I = Te, te = z, N = -te - p, v = void 0, n && (q = void 0);
2285
2285
  break;
2286
2286
  }
2287
2287
  (v === void 0 || v > 0) && (e.setPrivate("width", v), n && e.itemContainers.template.setAll({
2288
2288
  centerX: q,
2289
2289
  dx: ue
2290
- })), e.setAll({ layout: I, x: T, centerX: k }), a.setAll({
2290
+ })), e.setAll({ layout: k, x: T, centerX: I }), a.setAll({
2291
2291
  x: O,
2292
2292
  y: w,
2293
2293
  centerX: R,
@@ -2300,7 +2300,7 @@ function io(t, e) {
2300
2300
  paddingTop: de,
2301
2301
  paddingLeft: H,
2302
2302
  paddingRight: ee
2303
- }), V === void 0 && (a.setPrivate("width", void 0), a.markDirty()), t instanceof _t && nu(e, C);
2303
+ }), V === void 0 && (a.setPrivate("width", void 0), a.markDirty()), t instanceof jt && nu(e, C);
2304
2304
  }
2305
2305
  }
2306
2306
  function lp(t) {
@@ -2322,7 +2322,7 @@ function lu(t, e) {
2322
2322
  root: e.root,
2323
2323
  parent: e,
2324
2324
  index: 0,
2325
- id: Ut(ga, e.uid)
2325
+ id: Yt(ga, e.uid)
2326
2326
  });
2327
2327
  return i.set("paddingTop", 10), yo({
2328
2328
  chart: t,
@@ -2376,9 +2376,9 @@ function fp(t) {
2376
2376
  function mp(t) {
2377
2377
  let e = "";
2378
2378
  if (t instanceof Se) {
2379
- const i = D(t.uid, "config"), a = Zt(i), o = a ? m.Rotated : m.NonRotated, n = Ht(i);
2379
+ const i = D(t.uid, "config"), a = mi(i), o = a ? m.Rotated : m.NonRotated, n = _t(i);
2380
2380
  let s = m.SideBySide;
2381
- n === $e.Stacked ? s = m.Stacked : n === $e.Stacked100 && (s = m.Stacked100);
2381
+ n === De.Stacked ? s = m.Stacked : n === De.Stacked100 && (s = m.Stacked100);
2382
2382
  const r = D(t.uid, "rtl") ? m.RTL : m.LTR;
2383
2383
  let l;
2384
2384
  switch (i?.legend?.position) {
@@ -2486,14 +2486,14 @@ function Il(t, e) {
2486
2486
  a = _h(t);
2487
2487
  else {
2488
2488
  const o = Yi.new(i, {
2489
- id: Ut(Ni, t.uid),
2489
+ id: Yt(Ni, t.uid),
2490
2490
  layout: i.verticalLayout
2491
2491
  }), n = e?.[0].type === b.HeatSeries ? {
2492
2492
  nameField: Ia.nameField,
2493
2493
  fillField: Ia.fillField,
2494
2494
  strokeField: Ia.strokeField
2495
2495
  } : {};
2496
- a = Js.new(i, { ...n, verticalScrollbar: hs.new(i, { orientation: "vertical" }) }), t instanceof _t ? Jh(a) : a.valueLabels.template.setAll({ forceHidden: !0, textAlign: "left" }), cp(t, a), lu(t, o), np(a), sp(a, t), lp({ chart: t, legend: a, legendContainer: o }), dp(a, t), up(a, t, E(e)), o.children.push(a), t.children.push(o);
2496
+ a = Js.new(i, { ...n, verticalScrollbar: hs.new(i, { orientation: "vertical" }) }), t instanceof jt ? Jh(a) : a.valueLabels.template.setAll({ forceHidden: !0, textAlign: "left" }), cp(t, a), lu(t, o), np(a), sp(a, t), lp({ chart: t, legend: a, legendContainer: o }), dp(a, t), up(a, t, E(e)), o.children.push(a), t.children.push(o);
2497
2497
  }
2498
2498
  return a;
2499
2499
  }
@@ -2529,7 +2529,7 @@ function du(t) {
2529
2529
  chart: e
2530
2530
  }), cu(a, e, E(c)), rp({ chart: e, legend: a, chartConfig: i, hideEmptySeries: n, queryObject: r }), hp(e, l), io(e, a);
2531
2531
  const f = D(e.uid, "options");
2532
- yp(a, f?.disableTogglingLegendItems), e instanceof _t && ap({ legend: a, chart: e, seriesConfig: s, legendConfig: l });
2532
+ yp(a, f?.disableTogglingLegendItems), e instanceof jt && ap({ legend: a, chart: e, seriesConfig: s, legendConfig: l });
2533
2533
  }
2534
2534
  }
2535
2535
  }
@@ -2561,45 +2561,45 @@ function uu(t) {
2561
2561
  }
2562
2562
  }
2563
2563
  }
2564
- function ui(t, e) {
2564
+ function di(t, e) {
2565
2565
  return e != null && e !== "" ? e : t;
2566
2566
  }
2567
2567
  function fu(t, e) {
2568
2568
  let i;
2569
2569
  switch (t) {
2570
- case Gt.Average: {
2570
+ case Ht.Average: {
2571
2571
  i = e.statistics.mean;
2572
2572
  break;
2573
2573
  }
2574
- case Gt.ContinuousPercentile: {
2574
+ case Ht.ContinuousPercentile: {
2575
2575
  i = e.statistics.median;
2576
2576
  break;
2577
2577
  }
2578
- case Gt.Sum: {
2578
+ case Ht.Sum: {
2579
2579
  i = e.statistics.sum;
2580
2580
  break;
2581
2581
  }
2582
- case Gt.Minimum: {
2582
+ case Ht.Minimum: {
2583
2583
  i = e.statistics.minimum;
2584
2584
  break;
2585
2585
  }
2586
- case Gt.Maximum: {
2586
+ case Ht.Maximum: {
2587
2587
  i = e.statistics.maximum;
2588
2588
  break;
2589
2589
  }
2590
- case Gt.Variance: {
2590
+ case Ht.Variance: {
2591
2591
  i = e.statistics.variance;
2592
2592
  break;
2593
2593
  }
2594
- case Gt.DiscretePercentile: {
2594
+ case Ht.DiscretePercentile: {
2595
2595
  i = e.statistics.discretePercentile;
2596
2596
  break;
2597
2597
  }
2598
- case Gt.NoAggregation: {
2598
+ case Ht.NoAggregation: {
2599
2599
  i = e.statistics.noAggregation;
2600
2600
  break;
2601
2601
  }
2602
- case Gt.Count:
2602
+ case Ht.Count:
2603
2603
  default: {
2604
2604
  i = e.statistics.count;
2605
2605
  break;
@@ -2618,10 +2618,10 @@ function mu(t) {
2618
2618
  const { config: e, fieldList: i, objectIdField: a, seriesIndex: o, isStacked100: n, utilsStrings: s } = t;
2619
2619
  let r = "";
2620
2620
  const l = e.series[o].name, c = e.series[o], d = [c.y].flat()[0], u = e.axes, f = Y(e.series), g = a ?? Oa.outStatistics.onStatisticField, h = c.query?.outStatistics?.[0].onStatisticField ?? g, y = we(i, h), p = c.query?.outStatistics?.[0].statisticType ?? ud.statisticType, S = fu(p, s);
2621
- return f === P.BarAndLineNoAggregation ? r = l ?? we(i, d) : f === P.BarAndLineSplitByNoAggregation ? r = we(i, d) : (r = p === Gt.Count && h === g ? s.statistics.count : wa(s.statistics.aggregation, {
2621
+ return f === P.BarAndLineNoAggregation ? r = l ?? we(i, d) : f === P.BarAndLineSplitByNoAggregation ? r = we(i, d) : (r = p === Ht.Count && h === g ? s.statistics.count : wa(s.statistics.aggregation, {
2622
2622
  statistics: S,
2623
2623
  fieldName: y ?? l
2624
- }), f === P.BarAndLineMonoField && !n && (r = ui(r, u[1].title?.content?.text))), r;
2624
+ }), f === P.BarAndLineMonoField && !n && (r = di(r, u[1].title?.content?.text))), r;
2625
2625
  }
2626
2626
  function wn(t) {
2627
2627
  return t != null && !t.isDisposed();
@@ -2650,7 +2650,7 @@ function vp(t) {
2650
2650
  let r;
2651
2651
  const l = D(a.chart?.uid ?? 0, "rtl") ?? !1, c = bt(l);
2652
2652
  return s === !1 ? r = (d, u, f) => "" : r = (d, u, f) => {
2653
- const g = we(o, i.x), h = ui(g, e?.[0].title?.content?.text), y = ui(n?.statistics.count ?? "", e?.[1]?.title?.content?.text ?? ""), p = pe(
2653
+ const g = we(o, i.x), h = di(g, e?.[0].title?.content?.text), y = di(n?.statistics.count ?? "", e?.[1]?.title?.content?.text ?? ""), p = pe(
2654
2654
  a.uid,
2655
2655
  "tooltipValueXNumberFormatCallback"
2656
2656
  ), S = pe(
@@ -2760,7 +2760,7 @@ function kp(t) {
2760
2760
  const l = i.dataItem;
2761
2761
  if (l !== void 0) {
2762
2762
  const c = l, d = c.get("category") ?? "", u = l.dataContext;
2763
- let f = ci(u);
2763
+ let f = li(u);
2764
2764
  f === void 0 && (f = d);
2765
2765
  const g = c.get("value"), h = c.get("valuePercentTotal");
2766
2766
  typeof g == "number" && g !== 0 && n?.series?.[0]?.dataTooltipVisible !== !1 ? (i.set("disabled", !1), Tp(c.get("slice")), a = r(d, g, h, f)) : i.set("disabled", !0);
@@ -2801,7 +2801,7 @@ function $l(t) {
2801
2801
  const { value: e, formatLocale: i, unit: a, config: o, utilsStrings: n } = t;
2802
2802
  let s = { label: "", value: e.toString() };
2803
2803
  switch (a) {
2804
- case Xt.DayOfWeek:
2804
+ case Gt.DayOfWeek:
2805
2805
  s = {
2806
2806
  label: n.dayOfWeek,
2807
2807
  value: Nd({
@@ -2811,7 +2811,7 @@ function $l(t) {
2811
2811
  })
2812
2812
  };
2813
2813
  break;
2814
- case Xt.MonthOfYear:
2814
+ case Gt.MonthOfYear:
2815
2815
  s = {
2816
2816
  label: n.monthOfYear,
2817
2817
  value: Pd({
@@ -2820,7 +2820,7 @@ function $l(t) {
2820
2820
  })
2821
2821
  };
2822
2822
  break;
2823
- case Xt.HourOfDay:
2823
+ case Gt.HourOfDay:
2824
2824
  s = {
2825
2825
  label: n.hourOfDay,
2826
2826
  value: Md({
@@ -2829,31 +2829,31 @@ function $l(t) {
2829
2829
  })
2830
2830
  };
2831
2831
  break;
2832
- case Xt.DayOfMonth:
2832
+ case Gt.DayOfMonth:
2833
2833
  s = {
2834
2834
  label: n.dayOfMonth,
2835
2835
  value: typeof e == "string" ? e : e?.toString() ?? ""
2836
2836
  };
2837
2837
  break;
2838
- case Xt.DayOfYear:
2838
+ case Gt.DayOfYear:
2839
2839
  s = {
2840
2840
  label: n?.dayOfYear,
2841
2841
  value: typeof e == "string" ? e : e?.toString() ?? ""
2842
2842
  };
2843
2843
  break;
2844
- case Xt.MinuteOfDay:
2844
+ case Gt.MinuteOfDay:
2845
2845
  s = {
2846
2846
  label: n?.minuteOfDay,
2847
2847
  value: typeof e == "string" ? e : e?.toString() ?? ""
2848
2848
  };
2849
2849
  break;
2850
- case Xt.WeekOfYear:
2850
+ case Gt.WeekOfYear:
2851
2851
  s = {
2852
2852
  label: n?.weekOfYear,
2853
2853
  value: typeof e == "string" ? e : e?.toString() ?? ""
2854
2854
  };
2855
2855
  break;
2856
- case Xt.QuarterOfYear:
2856
+ case Gt.QuarterOfYear:
2857
2857
  s = {
2858
2858
  label: n?.quarterOfYear,
2859
2859
  value: typeof e == "string" ? e : e?.toString() ?? ""
@@ -3047,12 +3047,12 @@ function Op(t) {
3047
3047
  const r = s.get("valueX"), l = s.get("valueY"), c = s.get("valueXTotalPercent"), d = s.get("valueYTotalPercent"), u = o ? r : l;
3048
3048
  let f;
3049
3049
  o && typeof c == "number" ? f = c : !o && typeof d == "number" && (f = d), f && (f /= 100);
3050
- const g = s.dataContext ?? {}, h = D(i.chart?.uid ?? 0, "config"), y = D(i.chart?.uid ?? 0, "rendererFieldNames"), p = ri({
3050
+ const g = s.dataContext ?? {}, h = D(i.chart?.uid ?? 0, "config"), y = D(i.chart?.uid ?? 0, "rendererFieldNames"), p = si({
3051
3051
  value: g[e.x],
3052
3052
  dataContext: g,
3053
3053
  useRendererLabel: lo(h, y)
3054
3054
  });
3055
- let S = ci(g);
3055
+ let S = li(g);
3056
3056
  S === void 0 && (S = p);
3057
3057
  const x = g[A.dateBinningRange];
3058
3058
  if (S !== void 0 || u !== void 0 || f !== void 0 || x !== void 0)
@@ -3263,7 +3263,7 @@ function Np(t) {
3263
3263
  if (g !== void 0) {
3264
3264
  const { dataTooltipVisible: h } = n, y = o instanceof xe ? n.markerVisible : void 0;
3265
3265
  if (h !== !1 && y !== !1) {
3266
- const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = Ht(g) === $e.Stacked100, L = mt(a)?.objectIdField, T = we(i, n.x), k = ui(T, p[0].title?.content.text), I = mu({
3266
+ const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = _t(g) === De.Stacked100, L = mt(a)?.objectIdField, T = we(i, n.x), I = di(T, p[0].title?.content.text), k = mu({
3267
3267
  config: g,
3268
3268
  fieldList: i,
3269
3269
  objectIdField: L,
@@ -3289,7 +3289,7 @@ function Np(t) {
3289
3289
  series: o,
3290
3290
  statValue: N,
3291
3291
  percentValue: V
3292
- }), te = [`[bold]${k}${w} [/]${H}`];
3292
+ }), te = [`[bold]${I}${w} [/]${H}`];
3293
3293
  switch (C) {
3294
3294
  case P.BarAndLineFromFields: {
3295
3295
  te.pop();
@@ -3304,7 +3304,7 @@ function Np(t) {
3304
3304
  case P.BarAndLineMonoField:
3305
3305
  case P.BarAndLineNoAggregation:
3306
3306
  case P.BarAndLineMultiFields:
3307
- te.push(`[bold]${I}${w} [/]${ee}`);
3307
+ te.push(`[bold]${k}${w} [/]${ee}`);
3308
3308
  break;
3309
3309
  case P.BarAndLineSplitByNoAggregation:
3310
3310
  case P.BarAndLineSplitBy:
@@ -3314,7 +3314,7 @@ function Np(t) {
3314
3314
  });
3315
3315
  te.push(
3316
3316
  `[bold]${ue}${w} [/]${B}
3317
- [bold]${I}${w} [/]${ee}`
3317
+ [bold]${k}${w} [/]${ee}`
3318
3318
  );
3319
3319
  }
3320
3320
  break;
@@ -3393,12 +3393,12 @@ function Vp(t) {
3393
3393
  let T = `[bold]${y}${c} [/]${C}
3394
3394
  [bold]${S}${c} [/]${L}`;
3395
3395
  if (f !== void 0 && i.sizePolicy?.field !== void 0) {
3396
- const k = we(o, i.sizePolicy?.field), I = v ? v(f) : f;
3396
+ const I = we(o, i.sizePolicy?.field), k = v ? v(f) : f;
3397
3397
  T += `
3398
- [bold]${k}${c} [/]${I}`;
3398
+ [bold]${I}${c} [/]${k}`;
3399
3399
  }
3400
- return i.additionalTooltipFields?.forEach((k) => {
3401
- const I = we(o, k), O = o?.find((B) => B.name === k), w = g?.[k];
3400
+ return i.additionalTooltipFields?.forEach((I) => {
3401
+ const k = we(o, I), O = o?.find((B) => B.name === I), w = g?.[I];
3402
3402
  let R = "";
3403
3403
  if (w != null && w !== void 0 && O)
3404
3404
  if (Om(O) && typeof w == "number")
@@ -3408,8 +3408,8 @@ function Vp(t) {
3408
3408
  R = new Intl.DateTimeFormat(N, {}).format(B);
3409
3409
  } else O.type === Ig.String && typeof w == "string" && (R = w);
3410
3410
  T += l ? `
3411
- ${R}[bold]${I}${c} [/]` : `
3412
- [bold]${I}${c} [/]${R}`;
3411
+ ${R}[bold]${k}${c} [/]` : `
3412
+ [bold]${k}${c} [/]${R}`;
3413
3413
  }), T;
3414
3414
  }, s;
3415
3415
  }
@@ -3497,7 +3497,7 @@ function Xp(t) {
3497
3497
  layer: A.zIndexes.scatterplotTrendLine
3498
3498
  });
3499
3499
  return r.set("id", A.overlayId.scatterplotTrendLine), Ve(r.uid, {
3500
- type: De.Trendline
3500
+ type: $e.Trendline
3501
3501
  }), r;
3502
3502
  }
3503
3503
  function Yp(t, e) {
@@ -3512,7 +3512,7 @@ function Yp(t, e) {
3512
3512
  },
3513
3513
  i
3514
3514
  );
3515
- return Qt(o, e?.selectionTheme), Jt(o, t), Ru(o, t), Mi.new(a, {
3515
+ return Kt(o, e?.selectionTheme), Qt(o, t), Ru(o, t), Mi.new(a, {
3516
3516
  sprite: o
3517
3517
  });
3518
3518
  });
@@ -3567,7 +3567,7 @@ function qp(t) {
3567
3567
  }) : void 0, C = x !== void 0 ? `R² = ${x}` : r;
3568
3568
  i.set("name", C);
3569
3569
  }
3570
- f.color === void 0 && (f.color = si({ colorIndex: 1 })), qt({
3570
+ f.color === void 0 && (f.color = ni({ colorIndex: 1 })), Ut({
3571
3571
  element: i,
3572
3572
  lineSymbol: f,
3573
3573
  visible: g
@@ -3717,7 +3717,7 @@ function Lu(t) {
3717
3717
  const e = t?.selection.width();
3718
3718
  return e !== void 0 && e > 0 && e !== 2e7;
3719
3719
  }
3720
- function Jt(t, e) {
3720
+ function Qt(t, e) {
3721
3721
  t.events.on(se.PointerUp, async (i) => {
3722
3722
  const { chart: a } = e;
3723
3723
  if (a) {
@@ -3751,7 +3751,7 @@ function Jt(t, e) {
3751
3751
  function Rl(t, e) {
3752
3752
  let i = Number.NaN, a = Number.NaN;
3753
3753
  if (t instanceof er) {
3754
- const o = e.get("renderer") instanceof Kt, n = t.getPrivate(o ? "downPositionX" : "downPositionY"), s = t.getPrivate(o ? "positionX" : "positionY");
3754
+ const o = e.get("renderer") instanceof Zt, n = t.getPrivate(o ? "downPositionX" : "downPositionY"), s = t.getPrivate(o ? "positionX" : "positionY");
3755
3755
  if (n !== void 0 && s !== void 0)
3756
3756
  if (e instanceof ut)
3757
3757
  i = e.axisPositionToIndex(e.toAxisPosition(n)), a = e.axisPositionToIndex(e.toAxisPosition(s));
@@ -3849,7 +3849,7 @@ function ab(t) {
3849
3849
  function Fu(t) {
3850
3850
  const { numberFormatter: e, dataLabelsConfigContent: i, stackedType: a, externalDataLabelFormatter: o } = t;
3851
3851
  return (n, s) => {
3852
- let r = a === $e.Stacked100 && s !== void 0 ? s : n;
3852
+ let r = a === De.Stacked100 && s !== void 0 ? s : n;
3853
3853
  return e.get("numberFormat").style === "percent" && (r /= 100), ft({
3854
3854
  textSymbol: {
3855
3855
  ...i,
@@ -4221,16 +4221,16 @@ function wo(t) {
4221
4221
  function mb(t) {
4222
4222
  let e = "";
4223
4223
  switch (t) {
4224
- case De.Mean:
4224
+ case $e.Mean:
4225
4225
  e = A.overlayId.histogramMean;
4226
4226
  break;
4227
- case De.Median:
4227
+ case $e.Median:
4228
4228
  e = A.overlayId.histogramMedian;
4229
4229
  break;
4230
- case De.StdDev:
4230
+ case $e.StdDev:
4231
4231
  e = A.overlayId.histogramStdDev;
4232
4232
  break;
4233
- case De.Normal:
4233
+ case $e.Normal:
4234
4234
  e = A.overlayId.histogramNormalDistribution;
4235
4235
  break;
4236
4236
  }
@@ -4273,7 +4273,7 @@ function zo(t) {
4273
4273
  yAxis: a,
4274
4274
  visible: !1
4275
4275
  });
4276
- return o === De.Normal && Ka(s, n.overlays.normal), Ve(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s.appear(), s;
4276
+ return o === $e.Normal && Ka(s, n.overlays.normal), Ve(s.uid, { isOverlay: !0, type: o }), s.set("connect", !1), s.appear(), s;
4277
4277
  }
4278
4278
  function pb(t) {
4279
4279
  const { root: e, seriesConfig: i, xAxis: a, yAxis: o, options: n, chartConfig: s } = t, { id: r, name: l } = i, c = Xe.new(e, {
@@ -4285,7 +4285,7 @@ function pb(t) {
4285
4285
  valueYField: co.Count,
4286
4286
  maskBullets: !1
4287
4287
  });
4288
- return Qt(c.columns.template, n?.selectionTheme), Jt(c.columns.template, c), c.columns.template.setAll({
4288
+ return Kt(c.columns.template, n?.selectionTheme), Qt(c.columns.template, c), c.columns.template.setAll({
4289
4289
  width: ke
4290
4290
  }), Du({
4291
4291
  yAxisValueFormat: s.axes?.[1]?.valueFormat,
@@ -4303,7 +4303,7 @@ function bb(t) {
4303
4303
  root: e,
4304
4304
  xAxis: o,
4305
4305
  yAxis: n,
4306
- type: De.Mean,
4306
+ type: $e.Mean,
4307
4307
  utilsStrings: s
4308
4308
  })
4309
4309
  ), c.push(
@@ -4311,7 +4311,7 @@ function bb(t) {
4311
4311
  root: e,
4312
4312
  xAxis: o,
4313
4313
  yAxis: n,
4314
- type: De.Median,
4314
+ type: $e.Median,
4315
4315
  utilsStrings: s
4316
4316
  })
4317
4317
  ), c.push(
@@ -4319,7 +4319,7 @@ function bb(t) {
4319
4319
  root: e,
4320
4320
  xAxis: o,
4321
4321
  yAxis: n,
4322
- type: De.StdDev,
4322
+ type: $e.StdDev,
4323
4323
  utilsStrings: s
4324
4324
  })
4325
4325
  ), c.push(
@@ -4327,7 +4327,7 @@ function bb(t) {
4327
4327
  root: e,
4328
4328
  xAxis: o,
4329
4329
  yAxis: n,
4330
- type: De.Normal,
4330
+ type: $e.Normal,
4331
4331
  utilsStrings: s
4332
4332
  })
4333
4333
  )), c;
@@ -4338,10 +4338,10 @@ function yb(t) {
4338
4338
  Re(e, !1);
4339
4339
  else {
4340
4340
  const { symbol: n, created: s, visible: r } = i, l = pe(e.uid, "type"), c = n ?? { type: K.SLS };
4341
- if (i.symbol?.color === void 0 && (c.color = si({
4341
+ if (i.symbol?.color === void 0 && (c.color = ni({
4342
4342
  colorIndex: Ko(l),
4343
4343
  histogramOverlays: !0
4344
- })), qt({
4344
+ })), Ut({
4345
4345
  element: e,
4346
4346
  lineSymbol: c,
4347
4347
  visible: s === !0 && r !== !1
@@ -4349,19 +4349,19 @@ function yb(t) {
4349
4349
  const f = a.bins.map((v) => v.count), g = Math.max(...f), { mean: h, stddev: y, median: p } = a, S = h - y, x = h + y;
4350
4350
  let C = [];
4351
4351
  switch (l) {
4352
- case De.Mean:
4352
+ case $e.Mean:
4353
4353
  C = [
4354
4354
  { x: h, y: 0 },
4355
4355
  { x: h, y: g }
4356
4356
  ];
4357
4357
  break;
4358
- case De.Median:
4358
+ case $e.Median:
4359
4359
  C = [
4360
4360
  { x: p, y: 0 },
4361
4361
  { x: p, y: g }
4362
4362
  ];
4363
4363
  break;
4364
- case De.StdDev:
4364
+ case $e.StdDev:
4365
4365
  C = [
4366
4366
  { x: S, y: 0 },
4367
4367
  { x: S, y: g },
@@ -4375,16 +4375,16 @@ function yb(t) {
4375
4375
  e.data.setAll(C);
4376
4376
  }
4377
4377
  let u = e.data.getIndex(0)?.x;
4378
- if (l === De.StdDev && (u = a?.stddev ?? pe(e.uid, "stddev"), Ve(e.uid, { stddev: u })), typeof u == "number") {
4378
+ if (l === $e.StdDev && (u = a?.stddev ?? pe(e.uid, "stddev"), Ve(e.uid, { stddev: u })), typeof u == "number") {
4379
4379
  let f = l;
4380
4380
  switch (l) {
4381
- case De.Mean:
4381
+ case $e.Mean:
4382
4382
  f = o.overlays.mean;
4383
4383
  break;
4384
- case De.Median:
4384
+ case $e.Median:
4385
4385
  f = o.overlays.median;
4386
4386
  break;
4387
- case De.StdDev:
4387
+ case $e.StdDev:
4388
4388
  f = o.overlays.stdDev;
4389
4389
  break;
4390
4390
  }
@@ -4404,10 +4404,10 @@ function Sb(t) {
4404
4404
  Re(e, !1);
4405
4405
  else {
4406
4406
  const { symbol: n, created: s, visible: r } = i, l = n ?? { type: K.SLS };
4407
- if (i?.symbol?.color === void 0 && (l.color = si({
4408
- colorIndex: Ko(De.Normal),
4407
+ if (i?.symbol?.color === void 0 && (l.color = ni({
4408
+ colorIndex: Ko($e.Normal),
4409
4409
  histogramOverlays: !0
4410
- })), qt({
4410
+ })), Ut({
4411
4411
  element: e,
4412
4412
  lineSymbol: l,
4413
4413
  visible: s === !0 && r !== !1
@@ -4491,7 +4491,7 @@ async function Cb(t) {
4491
4491
  const f = e[u];
4492
4492
  if (f instanceof xe && pe(f.uid, "isOverlay")) {
4493
4493
  const g = pe(f.uid, "type");
4494
- if (g === De.Normal)
4494
+ if (g === $e.Normal)
4495
4495
  Sb({
4496
4496
  lineSeries: f,
4497
4497
  overlayConfig: i.overlays?.comparisonDistribution,
@@ -4500,13 +4500,13 @@ async function Cb(t) {
4500
4500
  else {
4501
4501
  let h;
4502
4502
  switch (g) {
4503
- case De.Mean:
4503
+ case $e.Mean:
4504
4504
  h = i.overlays?.mean;
4505
4505
  break;
4506
- case De.Median:
4506
+ case $e.Median:
4507
4507
  h = i.overlays?.median;
4508
4508
  break;
4509
- case De.StdDev:
4509
+ case $e.StdDev:
4510
4510
  h = i.overlays?.standardDeviation;
4511
4511
  break;
4512
4512
  }
@@ -4665,7 +4665,7 @@ function $b(t) {
4665
4665
  if (h.push(v), y.push(C), v?.dataItem instanceof ta && L !== void 0)
4666
4666
  p.push(L);
4667
4667
  else {
4668
- const k = /* @__PURE__ */ new Set();
4668
+ const I = /* @__PURE__ */ new Set();
4669
4669
  d === b.PieSeries && Ii(L) ? (Do({
4670
4670
  groupOfSlicesDataContext: L
4671
4671
  }) ?? []).forEach((O) => {
@@ -4675,11 +4675,11 @@ function $b(t) {
4675
4675
  sliceDataContext: O,
4676
4676
  selectionDataContext: w,
4677
4677
  xAxisField: r
4678
- }) && k.add(O);
4678
+ }) && I.add(O);
4679
4679
  });
4680
- }) : k.add(L), Array.from(k)?.forEach((I) => {
4680
+ }) : I.add(L), Array.from(I)?.forEach((k) => {
4681
4681
  const O = Ai({
4682
- dataContext: I,
4682
+ dataContext: k,
4683
4683
  yAxisField: l,
4684
4684
  yList: S,
4685
4685
  xAxisField: r,
@@ -4713,23 +4713,23 @@ function Db(t) {
4713
4713
  if (u instanceof Ba) {
4714
4714
  const f = D(u.uid, "options"), { filterBySelection: g, selectionData: h, returnSelectionIndexes: y, returnSelectionOIDs: p } = f ?? {}, { selectionIndexes: S } = h ?? {}, x = D(u.uid, "config"), C = qe(x), v = E(x?.series), L = Y(x?.series), T = kb(e);
4715
4715
  if (g !== !0 && x !== void 0) {
4716
- let k;
4717
- a !== void 0 && (k = mt(a).objectIdField);
4718
- const I = D(
4716
+ let I;
4717
+ a !== void 0 && (I = mt(a).objectIdField);
4718
+ const k = D(
4719
4719
  u.uid,
4720
4720
  "currentSelectionDataItems"
4721
4721
  );
4722
4722
  let O = !1, w = !1, R, B = !1;
4723
4723
  if (T?.[0] !== void 0) {
4724
4724
  if (f?.viewExtentUpdated !== !0) {
4725
- R = f?.selectionData?.selectionItems ?? I;
4725
+ R = f?.selectionData?.selectionItems ?? k;
4726
4726
  const N = D(
4727
4727
  u.uid,
4728
4728
  "currentSelectionIndexes"
4729
4729
  );
4730
4730
  B = Nc({
4731
4731
  itemsA: R,
4732
- itemsB: I,
4732
+ itemsB: k,
4733
4733
  isPieFromFields: L === P.PieFromFields,
4734
4734
  x: r,
4735
4735
  y: l,
@@ -4751,7 +4751,7 @@ function Db(t) {
4751
4751
  options: f,
4752
4752
  elementsToApplySelectionTo: T,
4753
4753
  selectionDataItems: R,
4754
- layerOidField: k,
4754
+ layerOidField: I,
4755
4755
  xAxisField: r,
4756
4756
  yAxisField: l,
4757
4757
  splitBy: c
@@ -4777,8 +4777,8 @@ function Db(t) {
4777
4777
  return In({
4778
4778
  elementDataContext: W,
4779
4779
  options: f,
4780
- selectionDataItems: R ?? I ?? [],
4781
- layerOidField: k,
4780
+ selectionDataItems: R ?? k ?? [],
4781
+ layerOidField: I,
4782
4782
  xAxisField: r,
4783
4783
  yAxisField: l,
4784
4784
  chartType: v,
@@ -4854,8 +4854,8 @@ async function xr(t, e) {
4854
4854
  try {
4855
4855
  const p = /* @__PURE__ */ new Set(), S = [], x = /* @__PURE__ */ new Map(), C = [];
4856
4856
  let v = [], L = 0;
4857
- if (t.series.each((T, k) => {
4858
- const { seriesConfig: I } = Rn(T, i), O = I?.query?.where ?? "", w = I?.type === b.BoxPlotSeries ? I.y.toString() : Oo(T);
4857
+ if (t.series.each((T, I) => {
4858
+ const { seriesConfig: k } = Rn(T, i), O = k?.query?.where ?? "", w = k?.type === b.BoxPlotSeries ? k.y.toString() : Oo(T);
4859
4859
  let R;
4860
4860
  T instanceof xe ? R = T.dataItems : T instanceof Xe ? R = T.columns.values : T instanceof yt && (R = T.slices.values), R?.forEach((B, N) => {
4861
4861
  const V = B instanceof mo || B instanceof Ma ? B : B.bullets?.[0]?.get("sprite");
@@ -4874,8 +4874,8 @@ async function xr(t, e) {
4874
4874
  showOutliers: r,
4875
4875
  isFeatureCollectionLayer: xi(a)
4876
4876
  }), p.has(JSON.stringify(W)) || (p.add(JSON.stringify(W)), S.push(W)), N !== void 0) {
4877
- const H = x.get(k)?.indexesToSelect ?? [];
4878
- H.push(N), x.set(k, {
4877
+ const H = x.get(I)?.indexesToSelect ?? [];
4878
+ H.push(N), x.set(I, {
4879
4879
  indexesToSelect: Array.from(new Set(H))
4880
4880
  });
4881
4881
  }
@@ -4904,12 +4904,12 @@ async function xr(t, e) {
4904
4904
  Ki({ chart: t, selectionSource: e });
4905
4905
  else {
4906
4906
  if (o?.returnSelectionOIDs !== !1 && a !== void 0 && C.length > 0) {
4907
- const I = { ...D(t.uid, "queryConfig") };
4908
- delete I.groupByFieldsForStatistics, delete I.orderByFields, delete I.outStatistics;
4907
+ const k = { ...D(t.uid, "queryConfig") };
4908
+ delete k.groupByFieldsForStatistics, delete k.orderByFields, delete k.outStatistics;
4909
4909
  const O = await Bc({
4910
4910
  whereList: C,
4911
4911
  queryObject: a,
4912
- queryConfig: I
4912
+ queryConfig: k
4913
4913
  });
4914
4914
  if (C.length === L)
4915
4915
  v = O;
@@ -5031,9 +5031,9 @@ function Rb(t) {
5031
5031
  return t && t.series.length > 0 && (e = t.series.values.map((i) => i.get("visible") !== !1 ? `${i.get("id")}` : "").filter((i) => i !== "")), e;
5032
5032
  }
5033
5033
  function Cr(t) {
5034
- const { series: e, chartConfig: i, isRotated: a } = t, o = Ht(i), n = i.series[0], s = e.chart?.xAxes.getIndex(0), r = e.chart?.yAxes.getIndex(0), l = a && (o === $e.Stacked || o === $e.Stacked100) ? r : s;
5034
+ const { series: e, chartConfig: i, isRotated: a } = t, o = _t(i), n = i.series[0], s = e.chart?.xAxes.getIndex(0), r = e.chart?.yAxes.getIndex(0), l = a && (o === De.Stacked || o === De.Stacked100) ? r : s;
5035
5035
  switch (o) {
5036
- case $e.Stacked: {
5036
+ case De.Stacked: {
5037
5037
  e.setAll({
5038
5038
  stacked: !0,
5039
5039
  valueYShow: "valueYWorking",
@@ -5045,11 +5045,11 @@ function Cr(t) {
5045
5045
  );
5046
5046
  break;
5047
5047
  }
5048
- case $e.Stacked100: {
5048
+ case De.Stacked100: {
5049
5049
  e.setAll({ stacked: !0, baseAxis: l }), a === !0 ? (e.setAll({ valueXShow: "valueXTotalPercent" }), s instanceof Fe && s.set("calculateTotals", !0)) : (e.setAll({ valueYShow: "valueYTotalPercent" }), r instanceof Fe && r.set("calculateTotals", !0));
5050
5050
  break;
5051
5051
  }
5052
- case $e.Side:
5052
+ case De.Side:
5053
5053
  default: {
5054
5054
  e.setAll({
5055
5055
  stacked: !1,
@@ -5222,7 +5222,7 @@ function Eb(t) {
5222
5222
  if (d && s !== void 0 && s !== "") {
5223
5223
  if (a.type === b.DateAxisFormat && a.intlOptions)
5224
5224
  switch (d.unit) {
5225
- case Xt.DayOfWeek:
5225
+ case Gt.DayOfWeek:
5226
5226
  r = Nd({
5227
5227
  weekdayNumber: Number(s),
5228
5228
  format: a.intlOptions,
@@ -5230,14 +5230,14 @@ function Eb(t) {
5230
5230
  locale: l
5231
5231
  });
5232
5232
  break;
5233
- case Xt.MonthOfYear:
5233
+ case Gt.MonthOfYear:
5234
5234
  r = Pd({
5235
5235
  monthNumber: Number(s),
5236
5236
  format: a.intlOptions,
5237
5237
  locale: l
5238
5238
  });
5239
5239
  break;
5240
- case Xt.HourOfDay:
5240
+ case Gt.HourOfDay:
5241
5241
  r = Md({
5242
5242
  hour: Number(s),
5243
5243
  format: a.intlOptions,
@@ -5263,7 +5263,7 @@ function Eb(t) {
5263
5263
  };
5264
5264
  }
5265
5265
  function zb(t, e) {
5266
- const i = { ...li(e) }, a = [
5266
+ const i = { ...ri(e) }, a = [
5267
5267
  "year",
5268
5268
  "month",
5269
5269
  "day",
@@ -5288,7 +5288,7 @@ function Bl(t) {
5288
5288
  }
5289
5289
  function Mu(t) {
5290
5290
  const { dataContext: e, defaultValue: i, chartUID: a } = t;
5291
- let o = ci(e);
5291
+ let o = li(e);
5292
5292
  const n = D(a, "config"), s = D(a, "rendererFieldNames"), r = E(n?.series), l = Y(n?.series);
5293
5293
  if (r === b.BoxPlotSeries && (l === P.BoxPlotMonoField || l === P.BoxPlotMultiFields || l === P.BoxPlotMonoFieldAndSplitBy || l === P.BoxPlotMultiFieldsAndSplitBy))
5294
5294
  o = e?.[Hs];
@@ -5296,18 +5296,18 @@ function Mu(t) {
5296
5296
  o = e?.[co.Start];
5297
5297
  else if (r === b.BarSeries && n !== void 0) {
5298
5298
  const c = n.series?.[0]?.nullCategory;
5299
- o = o === null && c?.text !== void 0 ? c.text : ri({
5299
+ o = o === null && c?.text !== void 0 ? c.text : si({
5300
5300
  value: i ?? "",
5301
5301
  dataContext: e,
5302
5302
  useRendererLabel: lo(n, s)
5303
5303
  });
5304
5304
  } else
5305
- o = ri({
5305
+ o = si({
5306
5306
  value: i ?? "",
5307
5307
  dataContext: e,
5308
5308
  useRendererLabel: lo(n, s)
5309
5309
  });
5310
- return { labelValue: o, originalLabelValue: ci(e) };
5310
+ return { labelValue: o, originalLabelValue: li(e) };
5311
5311
  }
5312
5312
  function Hb(t, e) {
5313
5313
  const { chart: i } = t;
@@ -5425,7 +5425,7 @@ function Yb(t) {
5425
5425
  return r || s?.[0] || s?.[1] || y || p;
5426
5426
  }
5427
5427
  function Ti(t, e) {
5428
- return t instanceof Dt && e !== !0 || t instanceof _i && e === !0 || t instanceof Kt;
5428
+ return t instanceof Dt && e !== !0 || t instanceof _i && e === !0 || t instanceof Zt;
5429
5429
  }
5430
5430
  function Bn(t) {
5431
5431
  return t instanceof Dt;
@@ -5438,12 +5438,12 @@ function qb(t) {
5438
5438
  if (t !== void 0) {
5439
5439
  const i = D(t.uid, "config");
5440
5440
  if (i !== void 0) {
5441
- const a = To({ chartConfig: i }), { stackedMinY: o, stackedMaxY: n } = Bm({
5441
+ const a = To({ chartConfig: i });
5442
+ e = Bm({
5442
5443
  seriesConfig: i.series,
5443
5444
  filteredData: t.series.getIndex(0)?.data.values ?? [],
5444
5445
  filteredSeriesIds: a
5445
- });
5446
- e = o < 0 || n < 0;
5446
+ }).dataHasNegativeValues;
5447
5447
  }
5448
5448
  }
5449
5449
  return e;
@@ -5471,14 +5471,14 @@ function Nu(t) {
5471
5471
  return n;
5472
5472
  }
5473
5473
  function jb(t) {
5474
- const { axis: e, isLogarithmic: i, isSecondValueAxis: a } = t;
5474
+ const { axis: e, isLogarithmic: i, isSecondValueAxis: a } = t, o = i === !0 && Nu({ axis: e, isSecondValueAxis: a });
5475
5475
  (e instanceof je || e instanceof Fe) && e.setAll({
5476
- logarithmic: i === !0 && Nu({ axis: e, isSecondValueAxis: a }),
5476
+ logarithmic: o,
5477
5477
  // zero values could mess up log calculations
5478
5478
  // https://www.amcharts.com/docs/v5/charts/xy-chart/axes/value-axis/#Avoiding_zero_values
5479
- treatZeroAs: i === !0 ? A.treatZeroValueAs : 0,
5479
+ treatZeroAs: o ? A.treatZeroValueAs : 0,
5480
5480
  // don't allow decimals in log scale
5481
- maxPrecision: i === !0 ? 0 : void 0
5481
+ maxPrecision: o ? 0 : void 0
5482
5482
  });
5483
5483
  }
5484
5484
  function _b(t, e) {
@@ -5551,94 +5551,93 @@ function Jb(t, e) {
5551
5551
  return t instanceof Fe && !(t instanceof je) && (i = Qb(t, e), t.set("strictMinMax", i)), i;
5552
5552
  }
5553
5553
  function Ml(t, e) {
5554
- let i;
5555
- if (!t || t <= 0)
5556
- i = A.treatZeroValueAs;
5557
- else {
5554
+ let i = t;
5555
+ if (t) {
5558
5556
  const o = (e ? Math.ceil : Math.floor)(Math.log10(t));
5559
5557
  i = Math.pow(10, o);
5560
5558
  }
5561
5559
  return i;
5562
5560
  }
5563
5561
  function ey(t) {
5564
- const { axis: e, minimumFromConfig: i, maximumFromConfig: a, data: o, isSecondValueAxis: n } = t;
5565
- let s = i, r = a;
5566
- const { chart: l } = e;
5567
- if (l !== void 0) {
5568
- const c = D(l.uid, "config"), d = c?.rotated;
5569
- if (l instanceof Se && c !== void 0) {
5570
- const u = E(c?.series), f = Ht(c), g = Ti(e.get("renderer"), d), h = Rb(l), y = To({ chartConfig: c, isSecondValueAxis: n, seriesIds: h }), p = Bi(o), S = pn({
5571
- chartConfig: c,
5572
- // using either the provided data (at creation or after a data update) or the current series data
5573
- chartData: p ?? l.series.getIndex(0)?.data.values ?? [],
5574
- filteredSeriesIds: y
5575
- }), { minX: x, maxX: C, minY: v, maxY: L } = S, [T, k] = g ? [x ?? Number.NaN, C ?? Number.NaN] : [v, L];
5576
- u === b.BarSeries || u === b.HistogramSeries && !g || u === b.ComboLineAndBarSeries || (u === b.LineSeries || u === b.RadarSeries) && f === $e.Stacked && !g ? (s = Math.min(T, A.treatZeroValueAs), r = Math.max(k, A.treatZeroValueAs)) : (s = T, r = k);
5562
+ const { axis: e, data: i, minimumFromConfig: a, maximumFromConfig: o, isLogarithmic: n, isSecondValueAxis: s } = t;
5563
+ let r = a, l = o;
5564
+ const { chart: c } = e;
5565
+ if (c !== void 0) {
5566
+ const d = D(c.uid, "config"), u = d?.rotated;
5567
+ if (c instanceof Se && d !== void 0) {
5568
+ const f = E(d?.series), g = _t(d), h = qb(c), y = Ti(e.get("renderer"), u);
5569
+ if ((f === b.BarSeries || f === b.LineSeries || f === b.ComboLineAndBarSeries || f === b.RadarSeries) && g === De.Stacked100 && !h && n !== !0 && e instanceof Fe && !y)
5570
+ r = r ?? 0, l = l ?? 100;
5571
+ else {
5572
+ const p = Rb(c), S = To({ chartConfig: d, isSecondValueAxis: s, seriesIds: p }), x = Bi(i), C = pn({
5573
+ chartConfig: d,
5574
+ // using either the provided data (at creation or after a data update) or the current series data
5575
+ chartData: x ?? c.series.getIndex(0)?.data.values ?? [],
5576
+ filteredSeriesIds: S
5577
+ }), { minX: v, maxX: L, minY: T, maxY: I } = C, [k, O] = y ? [v ?? Number.NaN, L ?? Number.NaN] : [T, I];
5578
+ f === b.BarSeries || f === b.HistogramSeries && !y || f === b.ComboLineAndBarSeries || (f === b.LineSeries || f === b.RadarSeries) && g === De.Stacked && !y ? (r = Math.min(k, 0), l = Math.max(O, 0)) : (r = k, l = O);
5579
+ }
5580
+ r = a ?? r, l = o ?? l;
5577
5581
  }
5578
- s = i ?? s, r = a ?? r;
5582
+ n && r !== void 0 && r !== null && (r = Number.isNaN(r) || r === 0 ? A.treatZeroValueAs : r);
5579
5583
  }
5580
- return { min: s, max: r };
5584
+ return { min: r, max: l };
5581
5585
  }
5582
5586
  function ty(t) {
5583
5587
  const { axis: e, axisConfig: i, minimumFromConfig: a, maximumFromConfig: o, isLogarithmic: n, chartType: s, data: r, isSecondValueAxis: l } = t;
5584
5588
  if (e instanceof Fe || e instanceof je)
5585
5589
  if (Jb(e, i)) {
5586
- let d = Number.isNaN(a) ? void 0 : a, u = Number.isNaN(o) ? void 0 : o;
5587
- if (
5588
- // If both the min and max from the config are valid, we directly assign them.
5589
- // Otherwise, if strictMinMax is true, we add some logic to consider the chart's data
5590
- !Number.isFinite(a) || !Number.isFinite(o)
5591
- ) {
5590
+ let d = a, u = o;
5591
+ if (a != null && a <= 0 && n === !0 || !Number.isFinite(a) || !Number.isFinite(o)) {
5592
5592
  const f = ey({
5593
5593
  axis: e,
5594
5594
  data: r,
5595
5595
  minimumFromConfig: d,
5596
5596
  maximumFromConfig: u,
5597
+ isLogarithmic: n,
5597
5598
  isSecondValueAxis: l
5598
5599
  });
5599
- d = !n || Number.isFinite(a) ? f.min : Ml(f.min, !1) ?? Number.NaN, u = !n || Number.isFinite(o) ? f.max : Ml(f.max, !0) ?? Number.NaN;
5600
+ d = !n || Number.isFinite(a) ? f.min : Ml(f.min, !1), u = !n || Number.isFinite(o) ? f.max : Ml(f.max, !0);
5600
5601
  }
5601
- d = d ?? Number.NaN, u = u ?? Number.NaN, Number.isNaN(d) || Number.isNaN(u) || d < u ? e.setAll({ min: d, max: u }) : e.setAll({ min: Number.NaN, max: Number.NaN }), s === b.GaugeSeries && e.markDirty();
5602
+ u = u ?? Number.NaN, d = d ?? Number.NaN, Number.isNaN(d) || Number.isNaN(u) || d < u ? e.setAll({ min: d, max: u }) : e.setAll({ min: Number.NaN, max: Number.NaN }), s === b.GaugeSeries && e.markDirty();
5602
5603
  } else
5603
5604
  e.setAll({ min: Number.NaN, max: Number.NaN });
5604
5605
  }
5605
5606
  function rn(t, e) {
5606
5607
  if (t !== void 0) {
5607
- const i = D(t.uid, "config"), a = Ht(i), o = qb(t);
5608
- if (i !== void 0 && (a !== $e.Stacked100 || o)) {
5609
- const n = E(i?.series), s = t.xAxes.getIndex(0), r = i.axes?.[0], l = i.axes?.[1], c = i.axes?.[2], d = t.yAxes.getIndex(0), u = t.xAxes.getIndex(1) ?? t.yAxes.getIndex(1);
5608
+ const i = D(t.uid, "config");
5609
+ if (i !== void 0) {
5610
+ const a = E(i?.series), o = t.xAxes.getIndex(0), n = i.axes?.[0], s = i.axes?.[1], r = i.axes?.[2], l = t.yAxes.getIndex(0), c = t.xAxes.getIndex(1) ?? t.yAxes.getIndex(1);
5610
5611
  [
5611
- { axis: s, axisConfig: r },
5612
- { axis: d, axisConfig: l },
5612
+ { axis: o, axisConfig: n },
5613
+ { axis: l, axisConfig: s },
5613
5614
  {
5614
- axis: u,
5615
- axisConfig: n === b.HistogramSeries ? r : c,
5616
- isSecondValueAxis: n !== b.HistogramSeries
5615
+ axis: c,
5616
+ axisConfig: a === b.HistogramSeries ? n : r,
5617
+ isSecondValueAxis: a !== b.HistogramSeries
5617
5618
  }
5618
- ].forEach((f) => {
5619
- const { axis: g, axisConfig: h, isSecondValueAxis: y } = f;
5620
- if (g !== void 0) {
5619
+ ].forEach((d) => {
5620
+ const { axis: u, axisConfig: f, isSecondValueAxis: g } = d;
5621
+ if (u !== void 0) {
5621
5622
  const {
5622
- minimum: p,
5623
- maximum: S,
5624
- buffer: x,
5625
- isLogarithmic: C
5626
- } = h ?? {};
5623
+ minimum: h,
5624
+ maximum: y,
5625
+ buffer: p,
5626
+ isLogarithmic: S
5627
+ } = f ?? {};
5627
5628
  ty({
5628
- axis: g,
5629
- axisConfig: h,
5629
+ axis: u,
5630
+ axisConfig: f,
5630
5631
  data: e,
5631
- chartType: n,
5632
- minimumFromConfig: p,
5633
- maximumFromConfig: S,
5634
- isLogarithmic: C,
5635
- isSecondValueAxis: y
5632
+ chartType: a,
5633
+ minimumFromConfig: h,
5634
+ maximumFromConfig: y,
5635
+ isLogarithmic: S,
5636
+ isSecondValueAxis: g
5636
5637
  });
5637
5638
  }
5638
5639
  });
5639
- } else a === $e.Stacked100 && (Zt(i) ? t.xAxes : t.yAxes).each((r) => {
5640
- r instanceof Fe && r.setAll({ min: 0, max: 100 });
5641
- });
5640
+ }
5642
5641
  }
5643
5642
  }
5644
5643
  function iy(t) {
@@ -5678,7 +5677,7 @@ function Nl(t, e) {
5678
5677
  if (i) {
5679
5678
  const a = D(i.uid, "isRotated"), o = D(i.uid, "config"), n = E(o?.series), s = [], r = (l, c) => {
5680
5679
  if (l instanceof Fe) {
5681
- const d = l.get("renderer") instanceof Kt;
5680
+ const d = l.get("renderer") instanceof Zt;
5682
5681
  s.push({
5683
5682
  isXAxis: Ti(l.get("renderer"), a),
5684
5683
  isSecondValueAxis: c === 1 && n !== b.HistogramSeries,
@@ -5723,7 +5722,7 @@ function ny(t) {
5723
5722
  s.adapters.add("tooltipText", (c, d) => {
5724
5723
  let u = c;
5725
5724
  const { dataItem: f } = d;
5726
- if (!(e.get("renderer") instanceof Kt)) {
5725
+ if (!(e.get("renderer") instanceof Zt)) {
5727
5726
  const g = Zi(
5728
5727
  e.uid,
5729
5728
  "guideTooltipFormatter"
@@ -5785,14 +5784,14 @@ function sy(t, e) {
5785
5784
  // intlOptions,
5786
5785
  formatLocale: T
5787
5786
  });
5788
- const k = c?.axes?.[0]?.valueFormat?.type === b.DateAxisFormat ? c.axes[0].valueFormat.intlOptions : void 0;
5789
- y = L.format(o, k), n !== void 0 && (p = L.format(n, k));
5787
+ const I = c?.axes?.[0]?.valueFormat?.type === b.DateAxisFormat ? c.axes[0].valueFormat.intlOptions : void 0;
5788
+ y = L.format(o, I), n !== void 0 && (p = L.format(n, I));
5790
5789
  }
5791
5790
  } else if (t instanceof Fe && !(o instanceof Date) && !(n instanceof Date)) {
5792
- const L = h?.find((O) => O.name === a), { start: T, end: k } = Wu(t, L);
5793
- Number.isFinite(T) && (y = T), Number.isFinite(k) && (p = k);
5794
- const I = Zi(t.uid, "numberFormatter") ?? ((O) => rd.new(r, {}).format(O));
5795
- y = I(y), p !== void 0 && (p = I(p));
5791
+ const L = h?.find((O) => O.name === a), { start: T, end: I } = Wu(t, L);
5792
+ Number.isFinite(T) && (y = T), Number.isFinite(I) && (p = I);
5793
+ const k = Zi(t.uid, "numberFormatter") ?? ((O) => rd.new(r, {}).format(O));
5794
+ y = k(y), p !== void 0 && (p = k(p));
5796
5795
  } else t instanceof ut && (y = o, p = n);
5797
5796
  const S = y.toString(), x = p?.toString() ?? "";
5798
5797
  !ye(x) && S !== x ? l = wa(e.guideTooltipLabel, {
@@ -6010,7 +6009,7 @@ function yy(t) {
6010
6009
  if (typeof n == "number" && Number.isFinite(n))
6011
6010
  l = n;
6012
6011
  else if (i !== b.RadarSeries)
6013
- if (r instanceof Kt)
6012
+ if (r instanceof Zt)
6014
6013
  l = A.gauge.gaugeMinGridDistance;
6015
6014
  else if (e instanceof Fe)
6016
6015
  l = r instanceof Dt ? A.xAxisMinGridDistance : A.yAxisMinGridDistance;
@@ -6116,7 +6115,7 @@ function vy(t) {
6116
6115
  labelConfig: n,
6117
6116
  chartType: s
6118
6117
  } = t, r = e.get("renderer");
6119
- if (!(r instanceof Kt))
6118
+ if (!(r instanceof Zt))
6120
6119
  if (Bn(r) && o?.[0] === !0)
6121
6120
  switch (s === b.HistogramSeries && i === void 0 ? Ie.Hide : i) {
6122
6121
  case Ie.Hide:
@@ -6158,7 +6157,7 @@ function Fy(t) {
6158
6157
  axisLabelsBehaviorChanged: n,
6159
6158
  chartType: s
6160
6159
  } = t, r = { ...i }, l = e.get("renderer"), c = l?.get("opposite");
6161
- Bn(l) ? (r.content.horizontalAlignment = le.Center, r.content.verticalAlignment = c ? J.Bottom : J.Top) : (r.content.horizontalAlignment = c ? le.Left : le.Right, r.content.verticalAlignment = J.Middle), l instanceof Kt ? Ly({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"), Wt({
6160
+ Bn(l) ? (r.content.horizontalAlignment = le.Center, r.content.verticalAlignment = c ? J.Bottom : J.Top) : (r.content.horizontalAlignment = c ? le.Left : le.Right, r.content.verticalAlignment = J.Middle), l instanceof Zt ? Ly({ renderer: l, axisConfig: t.axisConfig, labelConfig: i }) : r.content.angle = r.content.angle ?? l.labels.template.get("rotation"), Wt({
6162
6161
  label: l.labels.template,
6163
6162
  labelConfig: r
6164
6163
  }), vy({
@@ -6328,7 +6327,7 @@ function By(t, e) {
6328
6327
  }
6329
6328
  async function My(t) {
6330
6329
  const { chart: e, chartConfig: i, data: a, queryObject: o, xAxisLabelFormatter: n, utilsStrings: s, errorStrings: r } = t, { axes: l, series: c } = i, d = Xs(i), { featureIndex: u, x: f } = c[0], g = l?.[0], h = e.xAxes.getIndex(0), y = { ...g };
6331
- if (h instanceof Fe && h.get("renderer") instanceof Kt && y !== void 0 && a && "dataItems" in a) {
6330
+ if (h instanceof Fe && h.get("renderer") instanceof Zt && y !== void 0 && a && "dataItems" in a) {
6332
6331
  const { valueFormat: p, needle: S } = y;
6333
6332
  Ry(e, i), By(e, i);
6334
6333
  const x = await Gu({
@@ -6375,7 +6374,7 @@ function Ny(t) {
6375
6374
  Fe.new(o, {
6376
6375
  min: 0,
6377
6376
  max: 100,
6378
- renderer: Kt.new(o, {})
6377
+ renderer: Zt.new(o, {})
6379
6378
  })
6380
6379
  );
6381
6380
  wy(n), Vu(n);
@@ -6460,7 +6459,7 @@ function Xu(t, e) {
6460
6459
  return e ? `${Tl}_x_${t.uid}` : `${Tl}_y_${t.uid}`;
6461
6460
  }
6462
6461
  function vs(t, e) {
6463
- const i = D(t.chart?.uid ?? Number.NaN, "config"), a = Zt(i) ? 1 : 0, o = i?.axes?.[a]?.title?.content?.verticalAlignment, n = ay(t);
6462
+ const i = D(t.chart?.uid ?? Number.NaN, "config"), a = mi(i) ? 1 : 0, o = i?.axes?.[a]?.title?.content?.verticalAlignment, n = ay(t);
6464
6463
  let s = n;
6465
6464
  switch (o) {
6466
6465
  case J.Baseline:
@@ -6596,31 +6595,31 @@ function Tr(t) {
6596
6595
  lineSymbol: v,
6597
6596
  title: L,
6598
6597
  labels: T,
6599
- isLogarithmic: k,
6600
- grid: I,
6598
+ isLogarithmic: I,
6599
+ grid: k,
6601
6600
  displayCursorTooltip: O,
6602
6601
  displayZeroLine: w,
6603
6602
  valueFormat: R,
6604
6603
  guides: B,
6605
6604
  tickSpacing: N,
6606
6605
  dateBaseInterval: V
6607
- } = s, { root: W } = e, z = E(h.series), H = Ht(h), ee = h.rotated, de = e.get("renderer");
6606
+ } = s, { root: W } = e, z = E(h.series), H = _t(h), ee = h.rotated, de = e.get("renderer");
6608
6607
  qa(e.uid, {
6609
- zeroGridLine: { displayZeroLine: w, strokeWidth: I?.width ?? A.lineWidth, visible: I !== void 0 }
6610
- }), jb({ axis: e, isLogarithmic: k, isSecondValueAxis: g }), Xb({
6608
+ zeroGridLine: { displayZeroLine: w, strokeWidth: k?.width ?? A.lineWidth, visible: k !== void 0 }
6609
+ }), jb({ axis: e, isLogarithmic: I, isSecondValueAxis: g }), Xb({
6611
6610
  axis: e,
6612
6611
  isXAxis: Ti(e.get("renderer"), ee),
6613
6612
  chartType: z,
6614
6613
  formatOptions: R,
6615
6614
  isNonAggregatedChart: f,
6616
- overridePercentMultiplication: H === $e.Stacked100,
6615
+ overridePercentMultiplication: H === De.Stacked100,
6617
6616
  externalAxisLabelFormatter: y,
6618
6617
  errorStrings: x
6619
- }), Gb({ axis: e, isRotated: ee, chartConfig: h }), Kb({ axis: e, timeIntervalInfo: r, dateBaseInterval: V }), qt({
6618
+ }), Gb({ axis: e, isRotated: ee, chartConfig: h }), Kb({ axis: e, timeIntervalInfo: r, dateBaseInterval: V }), Ut({
6620
6619
  element: de,
6621
6620
  lineSymbol: { color: [...A.color], ...v ?? ko() },
6622
6621
  visible: C
6623
- }), qt({ element: de.ticks.template, lineSymbol: v, visible: C }), qt({ element: de.grid.template, lineSymbol: I, visible: C }), I === void 0 && (e.get("renderer").grid.template.set("strokeWidth", A.lineWidth), e.markDirtyValues()), Fy({
6622
+ }), Ut({ element: de.ticks.template, lineSymbol: v, visible: C }), Ut({ element: de.grid.template, lineSymbol: k, visible: C }), k === void 0 && (e.get("renderer").grid.template.set("strokeWidth", A.lineWidth), e.markDirtyValues()), Fy({
6624
6623
  axis: e,
6625
6624
  axisConfig: s,
6626
6625
  chartType: z,
@@ -6678,7 +6677,7 @@ function Xy(t) {
6678
6677
  ...c,
6679
6678
  axes: e.xAxes,
6680
6679
  valueFormat: r.valueFormat,
6681
- axisRenderer: Kt.new(s, {}),
6680
+ axisRenderer: Zt.new(s, {}),
6682
6681
  isXAxis: !0,
6683
6682
  x: o
6684
6683
  }), Ui({
@@ -6735,7 +6734,7 @@ function Yy(t) {
6735
6734
  verticalAxisLabelsBehavior: S,
6736
6735
  axes: x,
6737
6736
  rotated: C
6738
- } = i, v = E(i.series), L = D(e.uid, "isNonAggregatedChart"), T = e.xAxes.getIndex(0), k = e.yAxes.getIndex(0), I = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
6737
+ } = i, v = E(i.series), L = D(e.uid, "isNonAggregatedChart"), T = e.xAxes.getIndex(0), I = e.yAxes.getIndex(0), k = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1);
6739
6738
  Ji({ chartType: v, axesConfig: x, errorStrings: y });
6740
6739
  const O = x?.[C === !0 ? 1 : 0], w = x?.[C === !0 ? 0 : 1];
6741
6740
  [
@@ -6745,12 +6744,12 @@ function Yy(t) {
6745
6744
  externalAxisLabelFormatter: C !== !0 ? d : u
6746
6745
  },
6747
6746
  {
6748
- axis: k,
6747
+ axis: I,
6749
6748
  axisConfig: w,
6750
6749
  externalAxisLabelFormatter: C !== !0 ? u : d
6751
6750
  },
6752
6751
  {
6753
- axis: I,
6752
+ axis: k,
6754
6753
  axisConfig: x?.[2],
6755
6754
  axisLabelFormatter: f,
6756
6755
  isSecondValueAxis: !0
@@ -6833,7 +6832,7 @@ function qy(t, e) {
6833
6832
  color: e?.color ?? i.color,
6834
6833
  width: e?.width ?? i.width
6835
6834
  }, o = t.get("cursor")?.lineX, n = t.get("cursor")?.lineY;
6836
- qt({ element: o, lineSymbol: a }), qt({ element: n, lineSymbol: a });
6835
+ Ut({ element: o, lineSymbol: a }), Ut({ element: n, lineSymbol: a });
6837
6836
  }
6838
6837
  function Zu(t) {
6839
6838
  const { root: e, chart: i, config: a } = t;
@@ -6915,24 +6914,24 @@ function Ky(t, e) {
6915
6914
  root: t,
6916
6915
  defaults: A.headerContainer,
6917
6916
  parent: e,
6918
- id: Ut($n, e.uid),
6917
+ id: Yt($n, e.uid),
6919
6918
  index: 0
6920
6919
  }), a = Ls({
6921
6920
  root: t,
6922
6921
  defaults: A.headerContainer,
6923
6922
  parent: e,
6924
- id: Ut(gr, e.uid),
6923
+ id: Yt(gr, e.uid),
6925
6924
  index: 1
6926
6925
  }), o = bo({
6927
6926
  root: t,
6928
6927
  parent: i,
6929
6928
  defaults: A.titleLabel,
6930
- id: Ut(Ud, i.uid)
6929
+ id: Yt(Ud, i.uid)
6931
6930
  }), n = bo({
6932
6931
  root: t,
6933
6932
  parent: a,
6934
6933
  defaults: A.subtitleLabel,
6935
- id: Ut(qd, a.uid)
6934
+ id: Yt(qd, a.uid)
6936
6935
  });
6937
6936
  yo({
6938
6937
  chart: e,
@@ -6980,11 +6979,11 @@ function Qy(t) {
6980
6979
  root: e,
6981
6980
  defaults: A.footerContainer,
6982
6981
  parent: t,
6983
- id: Ut(Dn, t.uid)
6982
+ id: Yt(Dn, t.uid)
6984
6983
  }), a = bo({
6985
6984
  root: e,
6986
6985
  parent: i,
6987
- id: Ut(jd, i.uid)
6986
+ id: Yt(jd, i.uid)
6988
6987
  });
6989
6988
  yo({
6990
6989
  chart: t,
@@ -7013,7 +7012,7 @@ function ef(t) {
7013
7012
  }
7014
7013
  function Jy(t) {
7015
7014
  const { root: e, parent: i, curtainColor: a } = t, o = ne(a ?? A.backgroundColor), n = Yi.new(e, {
7016
- id: Ut(_d, i.uid),
7015
+ id: Yt(_d, i.uid),
7017
7016
  width: ke,
7018
7017
  height: ke,
7019
7018
  interactive: !0,
@@ -7029,7 +7028,7 @@ function Jy(t) {
7029
7028
  }
7030
7029
  function eS(t) {
7031
7030
  const { root: e, parent: i, spinnerColor: a } = t, o = ne(a ?? A.loaderSpinnerColor), n = hi.new(e, {
7032
- id: Ut(Zd, i.uid),
7031
+ id: Yt(Zd, i.uid),
7033
7032
  centerX: Te,
7034
7033
  centerY: Te,
7035
7034
  x: Te,
@@ -7190,9 +7189,9 @@ function uS(t) {
7190
7189
  [f]: d,
7191
7190
  maskBullets: !1
7192
7191
  });
7193
- Qt(h.columns.template, s?.selectionTheme);
7192
+ Kt(h.columns.template, s?.selectionTheme);
7194
7193
  const y = Ua.new({});
7195
- return Ve(h.uid, { bulletTemplate: y }), Jt(h.columns.template, h), h.bullets.push((p) => {
7194
+ return Ve(h.uid, { bulletTemplate: y }), Qt(h.columns.template, h), h.bullets.push((p) => {
7196
7195
  const S = hi.new(p, {}, y);
7197
7196
  return Mi.new(p, {
7198
7197
  sprite: S
@@ -7381,7 +7380,7 @@ function hS(t) {
7381
7380
  });
7382
7381
  }
7383
7382
  function pS(t) {
7384
- const { chartConfig: e, seriesConfig: i } = t, a = Zt(e), o = e.showOutliers, n = e.standardizeValues, s = qe(e), { y: r } = i, l = Ys(e), c = Y(l.series), d = s ? void 0 : i?.query?.where, u = {
7383
+ const { chartConfig: e, seriesConfig: i } = t, a = mi(e), o = e.showOutliers, n = e.standardizeValues, s = qe(e), { y: r } = i, l = Ys(e), c = Y(l.series), d = s ? void 0 : i?.query?.where, u = {
7385
7384
  y: c === P.BoxPlotMultiFieldsAndCategory && typeof r == "string" ? r : void 0,
7386
7385
  chartSubType: c,
7387
7386
  splitBy: d,
@@ -7488,7 +7487,7 @@ function xS(t) {
7488
7487
  [c.dataFields.high]: c.properties.high,
7489
7488
  [c.dataFields.value]: c.properties.value,
7490
7489
  [c.dataFields.category]: c.properties.category
7491
- }), l.columns.template.setAll({ themeTags: [], width: pt(80) }), Qt(l.columns.template, s?.selectionTheme), Jt(l.columns.template, l);
7490
+ }), l.columns.template.setAll({ themeTags: [], width: pt(80) }), Kt(l.columns.template, s?.selectionTheme), Qt(l.columns.template, l);
7492
7491
  }
7493
7492
  return l;
7494
7493
  }
@@ -7546,7 +7545,7 @@ function FS(t) {
7546
7545
  ), g = Mi.new(u, {
7547
7546
  sprite: f
7548
7547
  });
7549
- return Qt(f, s?.selectionTheme), l && Jt(f, l), g;
7548
+ return Kt(f, s?.selectionTheme), l && Qt(f, l), g;
7550
7549
  }), Ve(l.uid, { isBoxPlotMeanLineSeries: !0 });
7551
7550
  }
7552
7551
  return l;
@@ -7574,7 +7573,7 @@ function $S(t) {
7574
7573
  if (pe(e.uid, "bulletTemplate") && a.type === b.BoxPlotSeries) {
7575
7574
  const l = a.fillSymbol, c = {
7576
7575
  type: K.SMS,
7577
- style: ii.Circle,
7576
+ style: ti.Circle,
7578
7577
  color: l?.color,
7579
7578
  size: A.boxPlot.boxPlotOutliersSize
7580
7579
  };
@@ -7641,7 +7640,7 @@ function wS(t) {
7641
7640
  ), g = Mi.new(u, {
7642
7641
  sprite: f
7643
7642
  });
7644
- return Qt(f, s?.selectionTheme), l && Jt(f, l), PS({ outlierSeries: l, bullet: g, seriesConfigId: r.id }), g;
7643
+ return Kt(f, s?.selectionTheme), l && Qt(f, l), PS({ outlierSeries: l, bullet: g, seriesConfigId: r.id }), g;
7645
7644
  }), Ve(l.uid, { isBoxPlotOutliersSeries: !0 }), l.appear();
7646
7645
  }
7647
7646
  return l;
@@ -7727,12 +7726,12 @@ function ns(t) {
7727
7726
  noRisers: !0,
7728
7727
  [d.dataFields.value]: d.properties.value,
7729
7728
  [d.dataFields.category]: d.properties.category
7730
- }), Qt(c.strokes.template, r?.selectionTheme), Jt(c.strokes.template, c);
7729
+ }), Kt(c.strokes.template, r?.selectionTheme), Qt(c.strokes.template, c);
7731
7730
  }
7732
7731
  return c;
7733
7732
  }
7734
7733
  function Mn(t) {
7735
- const { chartConfig: e, seriesConfig: i, key: a } = t, o = Zt(e), n = e.showOutliers, s = e.standardizeValues, r = qe(e), l = Y(e.series), { x: c, y: d } = i, u = r ? void 0 : i?.query?.where, f = {
7734
+ const { chartConfig: e, seriesConfig: i, key: a } = t, o = mi(e), n = e.showOutliers, s = e.standardizeValues, r = qe(e), l = Y(e.series), { x: c, y: d } = i, u = r ? void 0 : i?.query?.where, f = {
7736
7735
  y: l === P.BoxPlotMultiFieldsAndCategory && typeof d == "string" ? d : void 0,
7737
7736
  chartSubType: l,
7738
7737
  splitBy: u,
@@ -7774,7 +7773,7 @@ function rf(t) {
7774
7773
  let o, n;
7775
7774
  const s = D(e.uid, "config");
7776
7775
  if (s) {
7777
- const r = Zt(s), l = qe(s), c = r ? e.yAxes.getIndex(0)?.get("renderer") : e.xAxes.getIndex(0)?.get("renderer"), d = c?.get("cellStartLocation"), u = c?.get("cellEndLocation");
7776
+ const r = mi(s), l = qe(s), c = r ? e.yAxes.getIndex(0)?.get("renderer") : e.xAxes.getIndex(0)?.get("renderer"), d = c?.get("cellStartLocation"), u = c?.get("cellEndLocation");
7778
7777
  if (d && u) {
7779
7778
  const f = d / (l ? 1 : s.series.length);
7780
7779
  o = d + i / a * (u - d) + f, n = d + (i + 1) / a * (u - d) - f;
@@ -7808,7 +7807,7 @@ function PS(t) {
7808
7807
  function VS(t) {
7809
7808
  const e = D(t.uid, "config");
7810
7809
  if (e) {
7811
- const i = Y(e.series), a = e.series.length, n = Zt(e) ? t.yAxes.getIndex(0)?.get("renderer") : t.xAxes.getIndex(0)?.get("renderer"), s = n?.get("cellStartLocation"), r = n?.get("cellEndLocation");
7810
+ const i = Y(e.series), a = e.series.length, n = mi(e) ? t.yAxes.getIndex(0)?.get("renderer") : t.xAxes.getIndex(0)?.get("renderer"), s = n?.get("cellStartLocation"), r = n?.get("cellEndLocation");
7812
7811
  if (s && r) {
7813
7812
  const l = t.series.values.filter((c) => c instanceof ua);
7814
7813
  l.forEach((c, d) => {
@@ -7986,7 +7985,7 @@ y: {${Ne.yField}}
7986
7985
  Value: {${Ne.valueField}}`,
7987
7986
  width: ke,
7988
7987
  height: ke
7989
- }), bu(s, o?.tooltipFormatter), Qa(s, n), Qt(s.columns.template, o?.selectionTheme), Jt(s.columns.template, s), s;
7988
+ }), bu(s, o?.tooltipFormatter), Qa(s, n), Kt(s.columns.template, o?.selectionTheme), Qt(s.columns.template, s), s;
7990
7989
  }
7991
7990
  function US(t) {
7992
7991
  const { columnSeries: e, data: i, loaderHandle: a } = t;
@@ -8001,27 +8000,27 @@ function qS(t) {
8001
8000
  target: e.columns.template,
8002
8001
  dataField: "value",
8003
8002
  key: "fill",
8004
- customFunction: (v, L, T, k) => {
8005
- const I = v.dataItem?.dataContext;
8003
+ customFunction: (v, L, T, I) => {
8004
+ const k = v.dataItem?.dataContext;
8006
8005
  if (v instanceof hi) {
8007
8006
  let O, w, R;
8008
- if (!Number.isFinite(k) && r)
8007
+ if (!Number.isFinite(I) && r)
8009
8008
  R = Be(r), !r.outline && s && (R.outline = s);
8010
8009
  else if (n === dd.Renderer) {
8011
- const B = I?.[G.rendererSymbolField];
8010
+ const B = k?.[G.rendererSymbolField];
8012
8011
  go(B) && (R = Be(B), !B.outline && s && (R.outline = s));
8013
8012
  }
8014
8013
  R ? oa({
8015
8014
  element: v,
8016
8015
  fillSymbol: R
8017
- }) : (typeof f == "number" && k < f ? { color: O, opacity: w } = x : typeof g == "number" && k > g ? { color: O, opacity: w } = C : (O = yg.interpolate((k - L) / (T - L), h, p, "rgb"), w = y + (k - L) / (T - L) * (S - y)), O && v.set("fill", O), w !== void 0 && v.set("fillOpacity", w));
8016
+ }) : (typeof f == "number" && I < f ? { color: O, opacity: w } = x : typeof g == "number" && I > g ? { color: O, opacity: w } = C : (O = yg.interpolate((I - L) / (T - L), h, p, "rgb"), w = y + (I - L) / (T - L) * (S - y)), O && v.set("fill", O), w !== void 0 && v.set("fillOpacity", w));
8018
8017
  }
8019
8018
  }
8020
8019
  }
8021
8020
  ]);
8022
8021
  }
8023
8022
  function jS(t, e) {
8024
- e ? qt({ element: t.columns.template, lineSymbol: e }) : t.columns.template.setAll({
8023
+ e ? Ut({ element: t.columns.template, lineSymbol: e }) : t.columns.template.setAll({
8025
8024
  strokeOpacity: 0,
8026
8025
  strokeWidth: 0
8027
8026
  });
@@ -8237,7 +8236,7 @@ function tx(t) {
8237
8236
  },
8238
8237
  h
8239
8238
  );
8240
- return Qt(p, s?.selectionTheme), Jt(p, g), Ru(p, g), Mi.new(y, { sprite: p });
8239
+ return Kt(p, s?.selectionTheme), Qt(p, g), Ru(p, g), Mi.new(y, { sprite: p });
8241
8240
  }), Lr(g), Qa(g, i), g;
8242
8241
  }
8243
8242
  function ix(t) {
@@ -8423,15 +8422,15 @@ function cx(t, e) {
8423
8422
  );
8424
8423
  g = (S, x, C) => {
8425
8424
  const v = h(S, x, C), T = n ?? A.pieChart.displayCategoryOnDataLabel ? y(S) : "";
8426
- let k = ye(T) ? "" : `${T}${p}`;
8427
- return k = `${k}${v}`, e.dataLabels?.content !== void 0 && (k = ft({
8428
- textSymbol: { ...e.dataLabels.content, text: k },
8425
+ let I = ye(T) ? "" : `${T}${p}`;
8426
+ return I = `${I}${v}`, e.dataLabels?.content !== void 0 && (I = ft({
8427
+ textSymbol: { ...e.dataLabels.content, text: I },
8429
8428
  format: "amChartsV5",
8430
8429
  defaults: {
8431
8430
  ...A.pieChart.dataLabels,
8432
8431
  wrap: e.optimizeDataLabelsOverlapping ?? A.pieChart.dataLabels.wrap
8433
8432
  }
8434
- })), k;
8433
+ })), I;
8435
8434
  };
8436
8435
  }
8437
8436
  return g;
@@ -8573,7 +8572,7 @@ function fx(t, e) {
8573
8572
  crisp: !1
8574
8573
  });
8575
8574
  const o = i?.lineSymbol ?? ko({ color: Yc });
8576
- a && (o.width = 0), qt({
8575
+ a && (o.width = 0), Ut({
8577
8576
  element: t.ticks.template,
8578
8577
  lineSymbol: o,
8579
8578
  visible: !a
@@ -8607,7 +8606,7 @@ function gx(t) {
8607
8606
  loaderHandle: r,
8608
8607
  labelUpdateNeeded: l,
8609
8608
  groupOfSlicesUpdateNeeded: c
8610
- } = t, { x: d, y: u } = a, f = Y([a]), g = f === P.PieFromFields ? ni : d;
8609
+ } = t, { x: d, y: u } = a, f = Y([a]), g = f === P.PieFromFields ? oi : d;
8611
8610
  if (i && (o === !0 || s === !0 || n === !0 || c === !0))
8612
8611
  e.setAll({
8613
8612
  categoryField: g,
@@ -8638,7 +8637,7 @@ function bx(t) {
8638
8637
  const { root: e, seriesConfig: i, options: a, chart: o } = t, { id: n, name: s, x: r, y: l } = i, c = Y([i]), d = yt.new(e, {
8639
8638
  id: n,
8640
8639
  name: s,
8641
- categoryField: c === P.PieFromFields ? ni : r,
8640
+ categoryField: c === P.PieFromFields ? oi : r,
8642
8641
  valueField: c === P.PieFromFields ? Ta : l
8643
8642
  });
8644
8643
  return lx(d, a?.dataLabelFormatter), pu(d, a?.tooltipFormatter), d.slices.template.states.create("hover", {
@@ -8646,7 +8645,7 @@ function bx(t) {
8646
8645
  // Prevent scaling on hover
8647
8646
  stateAnimationDuration: 0
8648
8647
  // Remove animation
8649
- }), Qt(d.slices.template, a?.selectionTheme), Jt(d.slices.template, d), d.appear(), o instanceof _t && uf(o, d), d;
8648
+ }), Kt(d.slices.template, a?.selectionTheme), Qt(d.slices.template, d), d.appear(), o instanceof jt && uf(o, d), d;
8650
8649
  }
8651
8650
  function yx(t) {
8652
8651
  const {
@@ -8688,7 +8687,7 @@ function yx(t) {
8688
8687
  tooltipFormatter: g
8689
8688
  });
8690
8689
  const { chart: h } = e;
8691
- h instanceof _t && uf(h, e);
8690
+ h instanceof jt && uf(h, e);
8692
8691
  }
8693
8692
  function uf(t, e) {
8694
8693
  if (!t.isDisposed()) {
@@ -8709,12 +8708,12 @@ function uf(t, e) {
8709
8708
  dataLabelsInside: h
8710
8709
  } = c[0];
8711
8710
  if (g?.visible === !0 && u === !0 && d === !0 && h !== !0) {
8712
- const S = A.pieChart.chartOptimizedRadius / 100, x = 500, C = 150, v = 0.6, L = 0.5, T = 1, k = t.seriesContainer.width() - f * 2, I = Math.max(k - C, 0) / (x - C), O = I < 1 ? (
8711
+ const S = A.pieChart.chartOptimizedRadius / 100, x = 500, C = 150, v = 0.6, L = 0.5, T = 1, I = t.seriesContainer.width() - f * 2, k = Math.max(I - C, 0) / (x - C), O = k < 1 ? (
8713
8712
  // case 1: the container width is less than the radiusContainerWidthBreakpoint - we want to scale the radius down.
8714
- Math.max(I ** T * v, 0.4)
8713
+ Math.max(k ** T * v, 0.4)
8715
8714
  ) : (
8716
8715
  // case 2: the container width is at or more than the radiusContainerWidthBreakpoint - ramp up radius to the max radius
8717
- Math.min(I ** L * v, S)
8716
+ Math.min(k ** L * v, S)
8718
8717
  );
8719
8718
  n = pt(O * 100);
8720
8719
  } else
@@ -8789,7 +8788,7 @@ function Cx(t) {
8789
8788
  },
8790
8789
  h
8791
8790
  );
8792
- return Qt(p, s?.selectionTheme), Jt(p, g), Mi.new(y, { sprite: p });
8791
+ return Kt(p, s?.selectionTheme), Qt(p, g), Mi.new(y, { sprite: p });
8793
8792
  }), Lr(g), Qa(g, i), g;
8794
8793
  }
8795
8794
  function vx(t) {
@@ -8999,7 +8998,7 @@ async function Nn(t) {
8999
8998
  errorStrings: x,
9000
8999
  groupOfSlicesUpdateNeeded: C,
9001
9000
  labelUpdateNeeded: v
9002
- } = t, { chartRenderer: L } = i, { root: T } = e, { series: k } = i, I = E(i.series), O = Y(i.series), w = e.series.values, R = wi(i), B = i.series.length, N = /* @__PURE__ */ new Map(), V = Uc(y), W = await It(y, a?.usePopupTemplateFieldsInfo), z = mt(y), H = Ao(L, z.renderer), ee = l || s || r || c, de = {
9001
+ } = t, { chartRenderer: L } = i, { root: T } = e, { series: I } = i, k = E(i.series), O = Y(i.series), w = e.series.values, R = wi(i), B = i.series.length, N = /* @__PURE__ */ new Map(), V = Uc(y), W = await It(y, a?.usePopupTemplateFieldsInfo), z = mt(y), H = Ao(L, z.renderer), ee = l || s || r || c, de = {
9003
9002
  root: T,
9004
9003
  chartConfig: i,
9005
9004
  queryObject: y,
@@ -9026,12 +9025,12 @@ async function Nn(t) {
9026
9025
  seriesSymbolMapForEvent: N,
9027
9026
  timeZoneChanged: f
9028
9027
  };
9029
- for (let q = 0; q < k.length; q++) {
9030
- const ue = k[q];
9028
+ for (let q = 0; q < I.length; q++) {
9029
+ const ue = I[q];
9031
9030
  let ie = w[q];
9032
9031
  const gt = ue.type;
9033
9032
  switch (!0) {
9034
- case I === b.HeatSeries: {
9033
+ case k === b.HeatSeries: {
9035
9034
  ie instanceof Xe && e instanceof Se && ue.type === b.HeatSeries && _S({
9036
9035
  ...te,
9037
9036
  series: ie,
@@ -9040,7 +9039,7 @@ async function Nn(t) {
9040
9039
  });
9041
9040
  break;
9042
9041
  }
9043
- case I === b.BoxPlotSeries: {
9042
+ case k === b.BoxPlotSeries: {
9044
9043
  ie = w.find((Mt) => Mt.get("id") === ue.id), e instanceof Se && (ie instanceof ua || ie instanceof xe) && (gt === b.BoxPlotSeries || gt === b.LineSeries) && ES({
9045
9044
  ...te,
9046
9045
  chart: e,
@@ -9068,7 +9067,7 @@ async function Nn(t) {
9068
9067
  break;
9069
9068
  }
9070
9069
  case gt === b.PieSeries: {
9071
- ie instanceof yt && e instanceof _t && ts(o) && yx({
9070
+ ie instanceof yt && e instanceof jt && ts(o) && yx({
9072
9071
  ...de,
9073
9072
  series: ie,
9074
9073
  seriesConfig: ue,
@@ -9081,7 +9080,7 @@ async function Nn(t) {
9081
9080
  });
9082
9081
  break;
9083
9082
  }
9084
- case (I === b.ComboLineAndBarSeries || I === b.BarSeries || I === b.LineSeries):
9083
+ case (k === b.ComboLineAndBarSeries || k === b.BarSeries || k === b.LineSeries):
9085
9084
  e instanceof Se && ts(o) && (gt === b.BarSeries && ie instanceof Xe ? hS({
9086
9085
  ...te,
9087
9086
  series: ie,
@@ -9121,7 +9120,7 @@ async function Nn(t) {
9121
9120
  break;
9122
9121
  }
9123
9122
  }
9124
- ee && I && ie && Pp({ chartType: I, series: ie, tooltipFormatter: a?.tooltipFormatter });
9123
+ ee && k && ie && Pp({ chartType: k, series: ie, tooltipFormatter: a?.tooltipFormatter });
9125
9124
  }
9126
9125
  await wb({
9127
9126
  chart: e,
@@ -9139,20 +9138,20 @@ function $r(t) {
9139
9138
  return Number.isFinite(y) || (y = 0), y + g;
9140
9139
  }, 0), s = o?.sliceGrouping?.percentageThreshold ?? 0, r = [];
9141
9140
  let l, c = 0;
9142
- const d = e?.find((g) => g[ai.defaultGroupOfSlicesId] === !0)?.[G.pieChart.technicalFieldGroupedSlices] ?? [], f = [...e, ...d].filter((g) => {
9141
+ const d = e?.find((g) => g[ii.defaultGroupOfSlicesId] === !0)?.[G.pieChart.technicalFieldGroupedSlices] ?? [], f = [...e, ...d].filter((g) => {
9143
9142
  let h = !0;
9144
9143
  const y = g[Ta] ?? g[o.y];
9145
9144
  if (Number.isFinite(y)) {
9146
9145
  const p = y / n * 100;
9147
- g[G.pieChart.technicalFieldSlicePercent] = p, p <= s && g[ai.defaultGroupOfSlicesId] !== !0 && (c += y, r.push(g), h = !1);
9148
- } else g[ai.defaultGroupOfSlicesId] !== !0 && (r.push(g), h = s === 0 || s === void 0);
9149
- return g[ai.defaultGroupOfSlicesId] === !0 && (l = g, h = !1), h;
9146
+ g[G.pieChart.technicalFieldSlicePercent] = p, p <= s && g[ii.defaultGroupOfSlicesId] !== !0 && (c += y, r.push(g), h = !1);
9147
+ } else g[ii.defaultGroupOfSlicesId] !== !0 && (r.push(g), h = s === 0 || s === void 0);
9148
+ return g[ii.defaultGroupOfSlicesId] === !0 && (l = g, h = !1), h;
9150
9149
  });
9151
9150
  if (s > 0 && r.length > 0) {
9152
9151
  const g = c / n * 100, h = Y(i) === P.PieFromFields, y = {
9153
9152
  ...l,
9154
- [ai.defaultGroupOfSlicesId]: !0,
9155
- [h ? ni : o.x]: o.sliceGrouping?.label ?? a?.pieChart.defaultSliceGroupingLabel,
9153
+ [ii.defaultGroupOfSlicesId]: !0,
9154
+ [h ? oi : o.x]: o.sliceGrouping?.label ?? a?.pieChart.defaultSliceGroupingLabel,
9156
9155
  [h ? Ta : o.y]: c,
9157
9156
  [G.pieChart.technicalFieldSlicePercent]: g,
9158
9157
  [G.pieChart.technicalFieldGroupedSlices]: r
@@ -9433,7 +9432,7 @@ function Wx(t, e) {
9433
9432
  a = ji;
9434
9433
  break;
9435
9434
  case b.PieSeries:
9436
- a = _t;
9435
+ a = jt;
9437
9436
  break;
9438
9437
  default:
9439
9438
  a = Se;
@@ -9543,26 +9542,26 @@ async function zx(t) {
9543
9542
  errorStrings: L
9544
9543
  } = t;
9545
9544
  let { axisLabelsBehaviorChanged: T } = t;
9546
- const k = Yb({
9545
+ const I = Yb({
9547
9546
  chart: e,
9548
9547
  chartConfig: i,
9549
9548
  rotationChanged: f,
9550
9549
  axisLabelsBehaviorChanged: T,
9551
9550
  timeIntervalInfoWasReset: p
9552
- }), I = k || Mb({
9551
+ }), k = I || Mb({
9553
9552
  chartSeriesLength: e.series.length,
9554
9553
  chartConfig: i,
9555
9554
  dataUpdateDetails: s,
9556
9555
  seriesFilteredOut: l,
9557
9556
  sizePolicyChangesRequireSeriesReinit: x
9558
9557
  });
9559
- k && (Yu({ chart: e, chartConfig: i, errorStrings: L }), T = [!0, !0]), I && (e.series.clear(), await Ir({ chart: e, chartConfig: i, options: d, utilsStrings: v })), await Uu({
9558
+ I && (Yu({ chart: e, chartConfig: i, errorStrings: L }), T = [!0, !0]), k && (e.series.clear(), await Ir({ chart: e, chartConfig: i, options: d, utilsStrings: v })), await Uu({
9560
9559
  chart: e,
9561
9560
  chartConfig: i,
9562
9561
  queryObject: u,
9563
9562
  data: a,
9564
9563
  dataWasUpdated: n,
9565
- axesInitializationNeeded: k,
9564
+ axesInitializationNeeded: I,
9566
9565
  sortChanged: c,
9567
9566
  timeIntervalInfo: a?.timeIntervalInfo ?? D(e.uid, "timeIntervalInfo"),
9568
9567
  axisLabelsBehaviorChanged: T,
@@ -9582,7 +9581,7 @@ async function zx(t) {
9582
9581
  dataWasUpdated: n,
9583
9582
  sortChanged: c,
9584
9583
  seriesIndexMapper: r,
9585
- seriesWereReinitialized: I,
9584
+ seriesWereReinitialized: k,
9586
9585
  rotationChanged: f,
9587
9586
  colorMatchChanged: g,
9588
9587
  seriesStyleChanged: h,
@@ -9616,12 +9615,12 @@ async function Hx(t) {
9616
9615
  if (e.isDisposed() || L === !1 || !Kc(v, C))
9617
9616
  throw new yi(ao.ChartDisposed);
9618
9617
  if (v ??= C, fe(e.uid, { queryObject: f }), s.valid) {
9619
- const T = Y(C.series), k = E(C.series), I = Zt(C), O = D(e.uid, "seriesFilteredOut"), w = D(e.uid, "unfilteredConfig");
9618
+ const T = Y(C.series), I = E(C.series), k = mi(C), O = D(e.uid, "seriesFilteredOut"), w = D(e.uid, "unfilteredConfig");
9620
9619
  fe(e.uid, {
9621
9620
  config: Be(C),
9622
9621
  options: l,
9623
9622
  isNonAggregatedChart: !Sn(T),
9624
- isRotated: I,
9623
+ isRotated: k,
9625
9624
  filterBySelection: l?.filterBySelection
9626
9625
  }), oS({ chart: e, updateOptions: l, chartModal: a });
9627
9626
  const R = await It(f, x), B = Pm(v, C), N = Qc(v, C), V = Jc(v, C), W = Rx(v, C), z = js(v, C), H = Vm(v, C), ee = ed(v, C), de = Wm(v, C), te = Em(v, C), q = _s({
@@ -9653,7 +9652,7 @@ async function Hx(t) {
9653
9652
  }), o.hideLoader());
9654
9653
  }
9655
9654
  e instanceof Ba && Bx({ chartSeries: e.series, oldSeries: gt, newSeries: Mt });
9656
- const re = g?.data ?? D(e.uid, "data"), bi = Bi(re), va = e instanceof _t ? kd(
9655
+ const re = g?.data ?? D(e.uid, "data"), bi = Bi(re), va = e instanceof jt ? kd(
9657
9656
  gt,
9658
9657
  Mt
9659
9658
  ) : !1;
@@ -9666,7 +9665,7 @@ async function Hx(t) {
9666
9665
  xAxisValueFormatType: bn(r),
9667
9666
  setTimeBinningInfoWhenNotProvided: l?.setTimeBinningInfoWhenNotProvided
9668
9667
  })
9669
- }), k === b.BoxPlotSeries && lf({
9668
+ }), I === b.BoxPlotSeries && lf({
9670
9669
  chart: e,
9671
9670
  chartData: c ? bi : re,
9672
9671
  chartConfig: C
@@ -9700,7 +9699,7 @@ async function Hx(t) {
9700
9699
  config: C
9701
9700
  }), E(C.series)) {
9702
9701
  case b.PieSeries: {
9703
- e instanceof _t && await Ex({
9702
+ e instanceof jt && await Ex({
9704
9703
  chart: e,
9705
9704
  chartConfig: C,
9706
9705
  options: l,
@@ -9884,7 +9883,7 @@ async function Yx(t) {
9884
9883
  const L = aS({ root: x, chart: C, options: o }), T = wx(x);
9885
9884
  if (Ch(x, n?.useAnimatedCharts), i.valid && S && !C.isDisposed()) {
9886
9885
  L.showLoader(o?.hideLoaderAnimation !== !0);
9887
- const I = L.hideLoader, O = Y(S.series), w = Zt(S);
9886
+ const k = L.hideLoader, O = Y(S.series), w = mi(S);
9888
9887
  fe(C.uid, {
9889
9888
  options: o,
9890
9889
  filterBySelection: o?.filterBySelection,
@@ -9948,7 +9947,7 @@ async function Yx(t) {
9948
9947
  chart: C,
9949
9948
  chartData: z,
9950
9949
  chartConfig: S
9951
- })), Ci({ data: f, seriesConfig: S.series, htmlContainer: e }), nS(x, I), C instanceof Se ? await Xx({
9950
+ })), Ci({ data: f, seriesConfig: S.series, htmlContainer: e }), nS(x, k), C instanceof Se ? await Xx({
9952
9951
  chart: C,
9953
9952
  data: {
9954
9953
  ...f,
@@ -9962,7 +9961,7 @@ async function Yx(t) {
9962
9961
  loaderHandle: L,
9963
9962
  utilsStrings: d,
9964
9963
  errorStrings: c
9965
- }) : C instanceof _t && await Gx({
9964
+ }) : C instanceof jt && await Gx({
9966
9965
  chart: C,
9967
9966
  data: f,
9968
9967
  chartConfig: S,
@@ -9990,20 +9989,20 @@ async function Yx(t) {
9990
9989
  errorStrings: c
9991
9990
  });
9992
9991
  ea(i, x.dom);
9993
- function k() {
9992
+ function I() {
9994
9993
  oy(C);
9995
9994
  }
9996
9995
  return {
9997
- update: async (I) => {
9998
- v === void 0 && (v = Il(C, I.newChartConfig.series)), await Hx({ chart: C, legend: v, chartModal: T, loaderHandle: L, updateProps: I });
9996
+ update: async (k) => {
9997
+ v === void 0 && (v = Il(C, k.newChartConfig.series)), await Hx({ chart: C, legend: v, chartModal: T, loaderHandle: L, updateProps: k });
9999
9998
  },
10000
9999
  dispose: () => Nx(x),
10001
- notify: (I, O, w) => Ox({ chartModal: T, chart: C, message: I, heading: O, options: w }),
10002
- resetZoom: k,
10000
+ notify: (k, O, w) => Ox({ chartModal: T, chart: C, message: k, heading: O, options: w }),
10001
+ resetZoom: I,
10003
10002
  clearSelection: () => Ki({ chart: C }),
10004
10003
  switchSelection: async () => await Dx(C),
10005
- exportImage: async (I) => await Uh({ root: x, exportOptions: I }),
10006
- setActionMode: (I, O) => As({ chart: C, actionMode: I, cursorRange: O })
10004
+ exportImage: async (k) => await Uh({ root: x, exportOptions: k }),
10005
+ setActionMode: (k, O) => As({ chart: C, actionMode: k, cursorRange: O })
10007
10006
  };
10008
10007
  }
10009
10008
  const ln = /* @__PURE__ */ new Map();
@@ -10056,7 +10055,7 @@ function Kx(t, e) {
10056
10055
  function Ue(t, e) {
10057
10056
  return ba(t, e);
10058
10057
  }
10059
- function fi(t, e) {
10058
+ function ui(t, e) {
10060
10059
  pa(t, e);
10061
10060
  }
10062
10061
  const F = {
@@ -10224,7 +10223,7 @@ function bf(t) {
10224
10223
  const n = at(e.uid, "categoryFormatter"), s = at(e.uid, "numberFormatter");
10225
10224
  if ((s !== void 0 || n !== void 0) && a instanceof Pa) {
10226
10225
  const r = $(e.chart.uid, "config"), l = $(e.chart.uid, "rendererFieldNames");
10227
- let c = ri({
10226
+ let c = si({
10228
10227
  value: a.category,
10229
10228
  dataContext: a.dataContext,
10230
10229
  useRendererLabel: lo(r, l),
@@ -10244,7 +10243,7 @@ function bf(t) {
10244
10243
  const g = $(e.chart.uid, "fieldList");
10245
10244
  c = we(g, c);
10246
10245
  }
10247
- let f = ci(a.dataContext);
10246
+ let f = li(a.dataContext);
10248
10247
  f === void 0 && (f = c), o = n(c, f);
10249
10248
  }
10250
10249
  }
@@ -10298,7 +10297,7 @@ function nC(t) {
10298
10297
  e.renderer.labels.template.adapter.isEnabled("htmlOutput") && (e.renderer.labels.template.adapter.disableKey("htmlOutput"), e.renderer.labels.each((s) => {
10299
10298
  s.element instanceof _g && s.element.removeChildren();
10300
10299
  }));
10301
- const o = { ...li(i) }, n = [
10300
+ const o = { ...ri(i) }, n = [
10302
10301
  "year",
10303
10302
  "month",
10304
10303
  "day",
@@ -10330,7 +10329,7 @@ function sC(t, e, i, a) {
10330
10329
  };
10331
10330
  }
10332
10331
  function _l(t) {
10333
- const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = li(i), s = $(e.chart.uid, "formatLocale");
10332
+ const { axis: e, formatOptions: i, overridePercentMultiplication: a, valueAxisFormatter: o } = t, n = ri(i), s = $(e.chart.uid, "formatLocale");
10334
10333
  tt(e.uid, {
10335
10334
  numberFormatter: o ?? sC(
10336
10335
  n,
@@ -10643,9 +10642,9 @@ function Rr(t) {
10643
10642
  let s;
10644
10643
  if (i === !0) {
10645
10644
  const r = o ? mn : Fo;
10646
- if (e.color = e.color ?? si({ colorIndex: a, opacity: r }), go(e) || en(e)) {
10645
+ if (e.color = e.color ?? ni({ colorIndex: a, opacity: r }), go(e) || en(e)) {
10647
10646
  const { outline: l } = e;
10648
- l !== void 0 && (l.color = l?.color ?? si({ colorIndex: a }), e.outline = { ...l });
10647
+ l !== void 0 && (l.color = l?.color ?? ni({ colorIndex: a }), e.outline = { ...l });
10649
10648
  }
10650
10649
  }
10651
10650
  return md(e) ? s = Lf(e, !0) : en(e) ? (e.style ??= F.lineSeries.marker.markerStyle, e.size ??= F.lineSeries.marker.markerBigSize, s = SC(e)) : go(e) && (s = yC(e, n)), s;
@@ -10691,7 +10690,7 @@ function Br(t) {
10691
10690
  colorRampIndex: n
10692
10691
  }), s !== void 0 && (e.path = s.path, e.rotation = s.angle, e.dx = s.xOffset, e.dy = s.yOffset, Af(e, s.fill), $a(e, s.outline)), Z(e, a), e.disabled = a === !1) : e.disabled = !0, s;
10693
10692
  }
10694
- function jt(t) {
10693
+ function qt(t) {
10695
10694
  const { element: e, lineSymbol: i, visible: a, defaultToColorFromRamp: o, colorRampIndex: n } = t;
10696
10695
  let s;
10697
10696
  return i !== void 0 ? (s = Rr({
@@ -10735,7 +10734,7 @@ function ki(t) {
10735
10734
  }, u = l ?? { ...o };
10736
10735
  switch (o.type) {
10737
10736
  case K.SLS:
10738
- c = jt({
10737
+ c = qt({
10739
10738
  ...d,
10740
10739
  lineSymbol: u
10741
10740
  });
@@ -10769,7 +10768,7 @@ function xC(t, e) {
10769
10768
  color: e.color ?? i.color,
10770
10769
  width: e.width ?? i.width
10771
10770
  };
10772
- jt({ element: t.cursor.lineX, lineSymbol: a }), jt({ element: t.cursor.lineY, lineSymbol: a });
10771
+ qt({ element: t.cursor.lineX, lineSymbol: a }), qt({ element: t.cursor.lineY, lineSymbol: a });
10773
10772
  }
10774
10773
  function Tf(t) {
10775
10774
  !(t instanceof St) && !(t instanceof Ae) && (t.cursor = new hd());
@@ -10792,7 +10791,7 @@ function ks(t, e) {
10792
10791
  });
10793
10792
  }
10794
10793
  function vC(t) {
10795
- const { chart: e, chartType: i, showMean: a, enabled: o } = t, n = o ? Yt.pointer : Yt.default;
10794
+ const { chart: e, chartType: i, showMean: a, enabled: o } = t, n = o ? Xt.pointer : Xt.default;
10796
10795
  switch (i) {
10797
10796
  case b.HistogramSeries:
10798
10797
  case b.ComboLineAndBarSeries:
@@ -10808,11 +10807,11 @@ function vC(t) {
10808
10807
  let r = n;
10809
10808
  if (s instanceof me) {
10810
10809
  const l = Oe(s);
10811
- l !== void 0 && (a && j(s.uid, "isBoxPlotOutliersSeries") && (r = Yt.default), l.cursorOverStyle = r, l.clones.each((c) => {
10810
+ l !== void 0 && (a && j(s.uid, "isBoxPlotOutliersSeries") && (r = Xt.default), l.cursorOverStyle = r, l.clones.each((c) => {
10812
10811
  c.cursorOverStyle = r;
10813
10812
  }));
10814
10813
  } else
10815
- s.cursorOverStyle = a ? Yt.default : n;
10814
+ s.cursorOverStyle = a ? Xt.default : n;
10816
10815
  });
10817
10816
  break;
10818
10817
  case b.LineSeries:
@@ -10880,12 +10879,12 @@ function sa(t) {
10880
10879
  iLocale: a,
10881
10880
  formatLocale: o
10882
10881
  });
10883
- return typeof e == "number" && i.type === b.NumberAxisFormat ? n = s.format(e, li(i)) : (typeof e == "number" || e instanceof Date) && i.type === b.DateAxisFormat && (n = s.format(e, li(i))), n;
10882
+ return typeof e == "number" && i.type === b.NumberAxisFormat ? n = s.format(e, ri(i)) : (typeof e == "number" || e instanceof Date) && i.type === b.DateAxisFormat && (n = s.format(e, ri(i))), n;
10884
10883
  }
10885
10884
  function Rt(t) {
10886
10885
  const { chart: e, config: i } = t;
10887
10886
  let a = i;
10888
- return i === void 0 && e !== void 0 && (a = $(e.uid, "config")), Zt(a);
10887
+ return i === void 0 && e !== void 0 && (a = $(e.uid, "config")), mi(a);
10889
10888
  }
10890
10889
  function FC(t) {
10891
10890
  t instanceof pd && t.series.each((e) => {
@@ -10985,7 +10984,7 @@ function Is(t) {
10985
10984
  function $s(t) {
10986
10985
  const { dataValue: e, series: i, seriesType: a, stackedType: o, axisMin: n } = t;
10987
10986
  let s = e === void 0;
10988
- return e !== void 0 && (n !== void 0 && e < n ? s = !0 : i instanceof Ye && (a === b.BarSeries || a === b.ComboLineAndBarSeries) && (s = e === 0 && o !== void 0 && o !== $e.Side)), s;
10987
+ return e !== void 0 && (n !== void 0 && e < n ? s = !0 : i instanceof Ye && (a === b.BarSeries || a === b.ComboLineAndBarSeries) && (s = e === 0 && o !== void 0 && o !== De.Side)), s;
10989
10988
  }
10990
10989
  function vo(t, e) {
10991
10990
  let i;
@@ -11023,7 +11022,7 @@ function Ds(t, e) {
11023
11022
  function Of(t) {
11024
11023
  const { numberFormatter: e, dataLabelsConfigContent: i, stackedType: a } = t;
11025
11024
  return (o, n) => {
11026
- let s = a === $e.Stacked100 && n !== void 0 ? n : o;
11025
+ let s = a === De.Stacked100 && n !== void 0 ? n : o;
11027
11026
  return e.numberFormat.style === "percent" && (s /= 100), ft({
11028
11027
  textSymbol: {
11029
11028
  ...i,
@@ -11098,7 +11097,7 @@ function Rf(t, e) {
11098
11097
  let i;
11099
11098
  return t instanceof ze ? i = e === !0 ? "dateY" : "dateX" : t instanceof lt ? i = e === !0 ? "categoryY" : "categoryX" : i = e === !0 ? "valueY" : "valueX", i;
11100
11099
  }
11101
- function ei(t, e) {
11100
+ function Jt(t, e) {
11102
11101
  t.name = e;
11103
11102
  }
11104
11103
  function Bf(t) {
@@ -11131,15 +11130,15 @@ function zn(t) {
11131
11130
  function Pr(t) {
11132
11131
  const { series: e, seriesConfig: i, rotationChanged: a, stackedType: o, isRotated: n } = t;
11133
11132
  switch (o) {
11134
- case $e.Stacked: {
11133
+ case De.Stacked: {
11135
11134
  e.stacked = !0, e instanceof me && (e.stackToNegative = i.stackNegativeValuesToBaseline ?? F.lineSeries.stackNegativeValuesToBaseline), a === n ? e.dataFields.valueYShow = void 0 : e.dataFields.valueXShow = void 0, e.updateStacking();
11136
11135
  break;
11137
11136
  }
11138
- case $e.Stacked100: {
11137
+ case De.Stacked100: {
11139
11138
  e.stacked = !0, n ? e.dataFields.valueXShow = "totalPercent" : e.dataFields.valueYShow = "totalPercent", e.updateStacking();
11140
11139
  break;
11141
11140
  }
11142
- case $e.Side:
11141
+ case De.Side:
11143
11142
  default: {
11144
11143
  e.stacked = !1, a === n ? e.dataFields.valueYShow = void 0 : e.dataFields.valueXShow = void 0;
11145
11144
  break;
@@ -11534,15 +11533,15 @@ async function Wf(t) {
11534
11533
  let C;
11535
11534
  f instanceof Ye || f instanceof _e ? (C = f.columns?.values, y === b.HistogramSeries && (x.xAxisField = S)) : f instanceof Ct ? C = f.segments.values : f instanceof me && (C = Oe(f)?.clones?.values, x.uniqueFeature = !0), C !== void 0 && (c = [...c, ...C], C.forEach((v, L) => {
11536
11535
  if (!(v.dataItem instanceof ia)) {
11537
- const T = v.isActive, k = v === n || NC(v, i);
11538
- k && (d = !1);
11539
- let I = !1;
11540
- T ? k ? I = o !== Pe.SelectionByClick : I = a === !0 : I = k, I && l.push({
11536
+ const T = v.isActive, I = v === n || NC(v, i);
11537
+ I && (d = !1);
11538
+ let k = !1;
11539
+ T ? I ? k = o !== Pe.SelectionByClick : k = a === !0 : k = I, k && l.push({
11541
11540
  ...x,
11542
11541
  element: v,
11543
11542
  elementDataContext: v.dataItem?.dataContext,
11544
11543
  elementIndex: L
11545
- }), zt({ element: v, selected: I });
11544
+ }), zt({ element: v, selected: k });
11546
11545
  }
11547
11546
  }));
11548
11547
  }
@@ -11641,7 +11640,7 @@ function HC(t) {
11641
11640
  e !== void 0 && (e.slices.template.clickable = !0, e.slices.template.togglable = !0, e.slices.template.events.enableType(M.Hit), e.slices.template.events.enableType(M.DoubleHit), e.labels.template.clickable = !0, e.labels.template.togglable = !0, e.labels.template.events.enableType(M.Hit), e.labels.template.events.enableType(M.DoubleHit));
11642
11641
  } else t instanceof oe && (t.xAxes.each((e) => un(e, !1)), t.yAxes.each((e) => un(e, !1)), t.events.enableType(M.Up));
11643
11642
  }
11644
- function mi(t) {
11643
+ function fi(t) {
11645
11644
  const { element: e, stylingInfo: i, stateKey: a = "default" } = t;
11646
11645
  if (e !== void 0 && i !== void 0) {
11647
11646
  const o = e.states.getKey(a)?.properties ?? e.defaultState.properties;
@@ -11702,7 +11701,7 @@ function _C(t, e) {
11702
11701
  function Ro(t) {
11703
11702
  return t.values.every((i) => i.isReady());
11704
11703
  }
11705
- function ti(t, e) {
11704
+ function ei(t, e) {
11706
11705
  t.events.on(M.Ready, () => {
11707
11706
  const { chart: i } = t;
11708
11707
  i !== void 0 && Ro(t.chart.series) && (MC(i), e(), Ga(t.chart.htmlContainer));
@@ -11762,12 +11761,12 @@ function zf(t, e) {
11762
11761
  if (d !== void 0) {
11763
11762
  const u = Rt({ config: s }), f = u ? c.valueX : c.valueY, g = (u ? c.values.valueX.totalPercent : c.values.valueY.totalPercent) / 100, h = c.dataContext ?? {};
11764
11763
  if (h !== void 0) {
11765
- const y = $(n.uid, "rendererFieldNames"), p = ri({
11764
+ const y = $(n.uid, "rendererFieldNames"), p = si({
11766
11765
  value: h[d.x],
11767
11766
  dataContext: h,
11768
11767
  useRendererLabel: lo(s, y)
11769
11768
  });
11770
- let S = ci(h);
11769
+ let S = li(h);
11771
11770
  S === void 0 && (S = p);
11772
11771
  const x = h[F.dateBinningRange];
11773
11772
  o = l({
@@ -11923,7 +11922,7 @@ function ev(t) {
11923
11922
  if (h === !1 || y === !1)
11924
11923
  u = () => "";
11925
11924
  else {
11926
- const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = Ht(g) === $e.Stacked100, L = mt(a)?.objectIdField, T = we(i, s.x), k = ui(T, p[0].title?.content.text), I = mu({
11925
+ const p = g.axes, S = p[0].valueFormat, x = p[1].valueFormat, C = Y(g.series), v = _t(g) === De.Stacked100, L = mt(a)?.objectIdField, T = we(i, s.x), I = di(T, p[0].title?.content.text), k = mu({
11927
11926
  config: g,
11928
11927
  fieldList: i,
11929
11928
  objectIdField: L,
@@ -11949,7 +11948,7 @@ function ev(t) {
11949
11948
  series: e,
11950
11949
  statValue: R,
11951
11950
  percentValue: B
11952
- }), ee = [`<b>${k}${O} </b>${W}`];
11951
+ }), ee = [`<b>${I}${O} </b>${W}`];
11953
11952
  switch (C) {
11954
11953
  case P.BarAndLineFromFields: {
11955
11954
  ee.pop();
@@ -11964,7 +11963,7 @@ function ev(t) {
11964
11963
  case P.BarAndLineMonoField:
11965
11964
  case P.BarAndLineNoAggregation:
11966
11965
  case P.BarAndLineMultiFields:
11967
- ee.push(`<b>${I}${O} </b>${z}`);
11966
+ ee.push(`<b>${k}${O} </b>${z}`);
11968
11967
  break;
11969
11968
  case P.BarAndLineSplitByNoAggregation:
11970
11969
  case P.BarAndLineSplitBy:
@@ -11973,7 +11972,7 @@ function ev(t) {
11973
11972
  value: we(i, de)
11974
11973
  });
11975
11974
  ee.push(
11976
- `<b>${te}${O} </b>${e.name}<br /><b>${I}${O} </b>${z}`
11975
+ `<b>${te}${O} </b>${e.name}<br /><b>${k}${O} </b>${z}`
11977
11976
  );
11978
11977
  }
11979
11978
  break;
@@ -12030,12 +12029,12 @@ function tv(t) {
12030
12029
  if (c !== void 0) {
12031
12030
  const d = l?.dataContext ?? {};
12032
12031
  if (d !== void 0) {
12033
- const u = ri({
12032
+ const u = si({
12034
12033
  value: d[c.x],
12035
12034
  dataContext: d,
12036
12035
  useRendererLabel: wi(a)
12037
12036
  });
12038
- let f = ci(d);
12037
+ let f = li(d);
12039
12038
  f === void 0 && (f = u), r = s({
12040
12039
  seriesName: n.name,
12041
12040
  xValue: u,
@@ -12059,12 +12058,12 @@ function iv(t) {
12059
12058
  if (l !== void 0) {
12060
12059
  const c = r.dataContext ?? {};
12061
12060
  if (c !== void 0) {
12062
- const d = ri({
12061
+ const d = si({
12063
12062
  value: c[l.x],
12064
12063
  dataContext: c,
12065
12064
  useRendererLabel: wi(a)
12066
12065
  });
12067
- let u = ci(c);
12066
+ let u = li(c);
12068
12067
  u === void 0 && (u = d), s = n({
12069
12068
  seriesName: o.name,
12070
12069
  xValue: d,
@@ -12089,12 +12088,12 @@ function av(t) {
12089
12088
  if (l !== void 0) {
12090
12089
  const c = r.dataContext ?? {};
12091
12090
  if (c !== void 0) {
12092
- const d = ri({
12091
+ const d = si({
12093
12092
  value: c[l.x],
12094
12093
  dataContext: c,
12095
12094
  useRendererLabel: wi(a)
12096
12095
  });
12097
- let u = ci(c);
12096
+ let u = li(c);
12098
12097
  u === void 0 && (u = d), s = n({
12099
12098
  seriesName: o.name,
12100
12099
  xValue: d,
@@ -12206,7 +12205,7 @@ function lv(t) {
12206
12205
  escape: !1
12207
12206
  }), p = we(i, a.x);
12208
12207
  let S;
12209
- a.x !== Hs && (S = ui(p, c?.[0].title?.content.text));
12208
+ a.x !== Hs && (S = di(p, c?.[0].title?.content.text));
12210
12209
  const x = bt(r.rtl);
12211
12210
  s = (C) => {
12212
12211
  const { dataContext: v, xValue: L } = C, T = Hf({
@@ -12214,15 +12213,15 @@ function lv(t) {
12214
12213
  xAxisValueFormat: d,
12215
12214
  series: e,
12216
12215
  xValue: L
12217
- }), k = [], I = T !== void 0 && !Aa(T) ? we(i, T) : "", O = u === !0 ? [l.series[0].y].flat()[0] : [a.y].flat()[0], w = we(i, O);
12216
+ }), I = [], k = T !== void 0 && !Aa(T) ? we(i, T) : "", O = u === !0 ? [l.series[0].y].flat()[0] : [a.y].flat()[0], w = we(i, O);
12218
12217
  switch (f) {
12219
12218
  case P.BoxPlotMonoField:
12220
12219
  case P.BoxPlotMultiFields:
12221
12220
  case P.BoxPlotMonoFieldAndSplitBy:
12222
12221
  case P.BoxPlotMultiFieldsAndSplitBy: {
12223
12222
  if (T !== void 0 && !Aa(T)) {
12224
- const z = f === P.BoxPlotMonoField ? a.name ?? I : I;
12225
- k.push(
12223
+ const z = f === P.BoxPlotMonoField ? a.name ?? k : k;
12224
+ I.push(
12226
12225
  Gi({
12227
12226
  label: o.field,
12228
12227
  strongColon: x,
@@ -12230,7 +12229,7 @@ function lv(t) {
12230
12229
  })
12231
12230
  );
12232
12231
  }
12233
- ye(h) || k.push(
12232
+ ye(h) || I.push(
12234
12233
  Gi({
12235
12234
  label: h,
12236
12235
  strongColon: x,
@@ -12241,35 +12240,35 @@ function lv(t) {
12241
12240
  }
12242
12241
  case P.BoxPlotMonoFieldAndCategory:
12243
12242
  case P.BoxPlotMultiFieldsAndCategory: {
12244
- k.push(
12243
+ I.push(
12245
12244
  Gi({
12246
12245
  label: o.field,
12247
12246
  strongColon: x,
12248
12247
  value: a.name ?? w
12249
12248
  })
12250
- ), T !== void 0 && !Aa(T) && k.push(
12249
+ ), T !== void 0 && !Aa(T) && I.push(
12251
12250
  Gi({
12252
12251
  label: S,
12253
12252
  strongColon: x,
12254
- value: I
12253
+ value: k
12255
12254
  })
12256
12255
  );
12257
12256
  break;
12258
12257
  }
12259
12258
  case P.BoxPlotMonoFieldAndCategoryAndSplitBy:
12260
- k.push(
12259
+ I.push(
12261
12260
  Gi({
12262
12261
  label: o.field,
12263
12262
  strongColon: x,
12264
12263
  value: w
12265
12264
  })
12266
- ), T !== void 0 && !Aa(T) && k.push(
12265
+ ), T !== void 0 && !Aa(T) && I.push(
12267
12266
  Gi({
12268
12267
  label: S,
12269
12268
  strongColon: x,
12270
- value: I
12269
+ value: k
12271
12270
  })
12272
- ), ye(h) || k.push(
12271
+ ), ye(h) || I.push(
12273
12272
  Gi({
12274
12273
  label: h,
12275
12274
  strongColon: x,
@@ -12278,7 +12277,7 @@ function lv(t) {
12278
12277
  );
12279
12278
  break;
12280
12279
  }
12281
- const R = [P.BoxPlotMultiFieldsAndCategory], B = v[F.boxPlot.boxPlotMeanLineMarkerId] !== void 0, N = k.length > 0 && !B, V = rv({
12280
+ const R = [P.BoxPlotMultiFieldsAndCategory], B = v[F.boxPlot.boxPlotMeanLineMarkerId] !== void 0, N = I.length > 0 && !B, V = rv({
12282
12281
  dataContext: v,
12283
12282
  series: e,
12284
12283
  dataTooltipValueFormat: n,
@@ -12287,7 +12286,7 @@ function lv(t) {
12287
12286
  utilsStrings: o,
12288
12287
  useTable: N
12289
12288
  });
12290
- return N ? `${k.join("<br>")}<table>${V.join("")}</table>` : `${k.join("<br>")}${V.join("<br>")}`;
12289
+ return N ? `${I.join("<br>")}<table>${V.join("")}</table>` : `${I.join("<br>")}${V.join("<br>")}`;
12291
12290
  };
12292
12291
  }
12293
12292
  }
@@ -12301,7 +12300,7 @@ function cv(t) {
12301
12300
  }
12302
12301
  function dv(t) {
12303
12302
  const e = Et(F.dataLabelInitialize);
12304
- return fi(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Nr(e), Mr(b.LineSeries, e), wf(b.LineSeries, e), Ds(e, t), e.html = "{valueX}", e;
12303
+ return ui(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Nr(e), Mr(b.LineSeries, e), wf(b.LineSeries, e), Ds(e, t), e.html = "{valueX}", e;
12305
12304
  }
12306
12305
  function uv(t) {
12307
12306
  const { series: e } = t, i = vo(e, "bullets");
@@ -12417,7 +12416,7 @@ function yv(t) {
12417
12416
  });
12418
12417
  }
12419
12418
  function Sv(t) {
12420
- fi(t.valueLabels.template.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapter.add("htmlOutput", (e, i) => {
12419
+ ui(t.valueLabels.template.uid, { isLegendValueLabel: !0 }), t.valueLabels.template.adapter.add("htmlOutput", (e, i) => {
12421
12420
  let a = e;
12422
12421
  const o = jx(
12423
12422
  t.uid,
@@ -12453,7 +12452,7 @@ function xv(t) {
12453
12452
  const { numericValueFormat: u, percentValueFormat: f, valuePrefix: g, valueSuffix: h, percentagePrefix: y, percentageSuffix: p } = i[0], S = c ?? F.pieChart.displayCategoryOnLegend, x = r ?? F.pieChart.displayNumericValueOnLegend, C = l ?? F.pieChart.displayPercentageOnLegend;
12454
12453
  let v = o;
12455
12454
  if (o === void 0) {
12456
- const k = Er({
12455
+ const I = Er({
12457
12456
  iLocale: e.language.locale,
12458
12457
  pieChart: e.baseSprite,
12459
12458
  valueIntlOptions: u?.intlOptions,
@@ -12465,7 +12464,7 @@ function xv(t) {
12465
12464
  percentagePrefix: y,
12466
12465
  percentageSuffix: p
12467
12466
  });
12468
- v = (I, O) => k("", I, O);
12467
+ v = (k, O) => I("", k, O);
12469
12468
  }
12470
12469
  _x(e.uid, {
12471
12470
  pieChartLegendValueLabelsFormatter: v
@@ -12491,7 +12490,7 @@ function xv(t) {
12491
12490
  }
12492
12491
  function Cv(t) {
12493
12492
  const { dataContext: e } = t.target.dataItem ?? {};
12494
- if (e instanceof di) {
12493
+ if (e instanceof ci) {
12495
12494
  const { component: i } = e;
12496
12495
  i instanceof Vt && i.showTooltip();
12497
12496
  }
@@ -12575,9 +12574,9 @@ function Av(t) {
12575
12574
  const e = t.baseSprite;
12576
12575
  let i = "";
12577
12576
  if (e instanceof oe) {
12578
- const a = $(e.uid, "config"), o = Zt(a), n = o ? m.Rotated : m.NonRotated, s = Ht(a);
12577
+ const a = $(e.uid, "config"), o = mi(a), n = o ? m.Rotated : m.NonRotated, s = _t(a);
12579
12578
  let r = m.SideBySide;
12580
- s === $e.Stacked ? r = m.Stacked : s === $e.Stacked100 && (r = m.Stacked100);
12579
+ s === De.Stacked ? r = m.Stacked : s === De.Stacked100 && (r = m.Stacked100);
12581
12580
  const l = e.rtl ? m.RTL : m.LTR;
12582
12581
  let c;
12583
12582
  switch (a?.legend?.position) {
@@ -12640,7 +12639,7 @@ function Iv(t, e) {
12640
12639
  const { dataContext: o } = i, n = { visible: a };
12641
12640
  if (j(o.uid, "isOverlay") === !0)
12642
12641
  n.overlayType = j(o.uid, "type");
12643
- else if (o instanceof di)
12642
+ else if (o instanceof ci)
12644
12643
  $(e.uid, "isNonAggregatedChart") === !0 ? n.sliceData = o.dataContext : n.sliceId = o.category;
12645
12644
  else if (o instanceof _e) {
12646
12645
  const r = o.id, l = Mo(e, r);
@@ -12655,7 +12654,7 @@ function Iv(t, e) {
12655
12654
  c !== void 0 && Z(c, a), d !== void 0 && Z(d, a), u !== void 0 && Z(u, a), n.seriesId = o.id;
12656
12655
  } else
12657
12656
  n.seriesId = o.id;
12658
- const s = o instanceof di ? o.component : o;
12657
+ const s = o instanceof ci ? o.component : o;
12659
12658
  (s instanceof Li || s instanceof Vt) && j(s.uid, "isOverlay") !== !0 && s.events.once(M.Validated, () => {
12660
12659
  s instanceof Li && (cm(s), s.events.dispatchImmediately(M.Validated, {
12661
12660
  type: M.Validated,
@@ -12746,7 +12745,7 @@ function Rv(t) {
12746
12745
  if (s !== void 0) {
12747
12746
  const { series: l } = s;
12748
12747
  if (E(l) === b.PieSeries) {
12749
- const d = Y(l) === P.PieFromFields ? ni : l[0].x, u = a.dataItem?.dataContext?.[d];
12748
+ const d = Y(l) === P.PieFromFields ? oi : l[0].x, u = a.dataItem?.dataContext?.[d];
12750
12749
  typeof u == "string" ? n = u : u && typeof u != "object" && (n = u.toString());
12751
12750
  } else a.dataItem?.component instanceof Eg && (n = a.dataItem.component.name);
12752
12751
  }
@@ -12767,7 +12766,7 @@ function Go(t, e) {
12767
12766
  let a = i;
12768
12767
  const o = t.dataItem?.dataContext;
12769
12768
  if (o !== void 0) {
12770
- const n = o instanceof di ? o.component?.chart : o.chart;
12769
+ const n = o instanceof ci ? o.component?.chart : o.chart;
12771
12770
  if (n !== void 0) {
12772
12771
  const s = $(n.uid, "config"), { rectangleMarkerRadius: r, roundedMarkerRadius: l } = F.legendProperties;
12773
12772
  a = s?.legend?.roundMarkers === !0 ? l : r;
@@ -12830,8 +12829,8 @@ function zv(t, e) {
12830
12829
  e === X.Right || e === X.Left ? t.width = Number.NaN : t.maxWidth = Number.MAX_SAFE_INTEGER;
12831
12830
  }
12832
12831
  function _f(t, e) {
12833
- let i = Yt.pointer;
12834
- e === !0 ? (t.itemContainers.template.clickable = !1, t.itemContainers.template.focusable = !1, i = Yt.default) : (t.itemContainers.template.clickable = !0, t.itemContainers.template.focusable = !0), t.itemContainers.values.forEach((a) => {
12832
+ let i = Xt.pointer;
12833
+ e === !0 ? (t.itemContainers.template.clickable = !1, t.itemContainers.template.focusable = !1, i = Xt.default) : (t.itemContainers.template.clickable = !0, t.itemContainers.template.focusable = !0), t.itemContainers.values.forEach((a) => {
12835
12834
  a.cursorOverStyle = i;
12836
12835
  });
12837
12836
  }
@@ -12870,7 +12869,7 @@ function Gv(t) {
12870
12869
  selectionTheme: r,
12871
12870
  ignoreSmoothRenderingLimit: l
12872
12871
  } = t, c = i.series.length, { rotated: d } = i, u = i.series[a], { y: f, name: g, id: h, assignToSecondValueAxis: y } = u, p = new me();
12873
- p.id = h, ti(p, s), ei(p, g);
12872
+ p.id = h, ei(p, s), Jt(p, g);
12874
12873
  let S, x;
12875
12874
  d !== !0 ? (S = o[0], x = y === !0 && o[2] ? o[2] : o[1]) : (S = y === !0 && o[2] ? o[2] : o[0], x = o[1]), S !== void 0 && (p.xAxis = S), x !== void 0 && (p.yAxis = x);
12876
12875
  const C = Rt({ chart: e }), v = Y(i.series), L = v === P.BarAndLineSplitByNoAggregation ? `${f.toString()}_${$i({ where: u.query?.where, keepSurroundingQuotes: !1, escape: !1 })}` : [f].flat()[0];
@@ -12881,22 +12880,22 @@ function Gv(t) {
12881
12880
  p.dataFields[O] = F.xAxisField;
12882
12881
  }
12883
12882
  p.dataFields.customValue = u?.query?.where;
12884
- const k = mt(n);
12883
+ const I = mt(n);
12885
12884
  Zf({
12886
12885
  series: p,
12887
12886
  seriesConfig: u,
12888
12887
  seriesIndex: a,
12889
12888
  chartSubType: v,
12890
12889
  colorMatch: i.colorMatch === !0,
12891
- rendererType: Ao(i.chartRenderer, k?.renderer)
12890
+ rendererType: Ao(i.chartRenderer, I?.renderer)
12892
12891
  }), Kf(u, p);
12893
- const I = zn({ chart: e, lineSeries: p, applyPropertiesToClones: !1 });
12894
- return zf(I, p), dv(p), zi({ element: I, customSelectionTheme: r }), Sa(e, I), Mf({
12892
+ const k = zn({ chart: e, lineSeries: p, applyPropertiesToClones: !1 });
12893
+ return zf(k, p), dv(p), zi({ element: k, customSelectionTheme: r }), Sa(e, k), Mf({
12895
12894
  chart: e,
12896
12895
  numberOfChartSeries: c,
12897
12896
  series: p,
12898
12897
  seriesType: b.LineSeries,
12899
- marker: I,
12898
+ marker: k,
12900
12899
  ignoreSmoothRenderingLimit: l
12901
12900
  }), Bo(p), Ei(p), p;
12902
12901
  }
@@ -12927,9 +12926,9 @@ function Xv(t) {
12927
12926
  colorMatch: n,
12928
12927
  rendererSymbol: p
12929
12928
  });
12930
- d = S.symbolWithColorInfo, g = S.stylingInfo, mi({ element: h, stylingInfo: g }), f.add(JSON.stringify(g));
12929
+ d = S.symbolWithColorInfo, g = S.stylingInfo, fi({ element: h, stylingInfo: g }), f.add(JSON.stringify(g));
12931
12930
  }
12932
- }), c = f.size > 1, c || mi({ element: l, stylingInfo: g });
12931
+ }), c = f.size > 1, c || fi({ element: l, stylingInfo: g });
12933
12932
  }
12934
12933
  return c ? void 0 : d;
12935
12934
  }
@@ -13027,7 +13026,7 @@ function qv(t) {
13027
13026
  fieldList: r,
13028
13027
  fieldName: Di(C),
13029
13028
  fieldValueToMatch: x
13030
- }) ?? x), ei(i, x), oc(i, e), Pr({ series: i, seriesConfig: e, rotationChanged: o, stackedType: l, isRotated: p }), oc(i, e), ra({
13029
+ }) ?? x), Jt(i, x), oc(i, e), Pr({ series: i, seriesConfig: e, rotationChanged: o, stackedType: l, isRotated: p }), oc(i, e), ra({
13031
13030
  // TODO: Remove the type assertion and correct the typings
13032
13031
  styleCallback: Qf,
13033
13032
  callbackProps: t,
@@ -13070,21 +13069,21 @@ function Hr(t, e) {
13070
13069
  }
13071
13070
  function jv(t) {
13072
13071
  const { chart: e, axisList: i = [], chartConfig: a, seriesIndex: o, hideLoaderHandle: n, selectionTheme: s } = t, r = qe(a), l = a.series[o], [c, d] = i, u = new _e();
13073
- return u.hoverable = !0, ti(u, n), r || (zi({
13072
+ return u.hoverable = !0, ei(u, n), r || (zi({
13074
13073
  element: u.columns.template,
13075
13074
  customSelectionTheme: s
13076
- }), Sa(e, u.columns.template)), u.id = l.id, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0, u.columns.template.applyOnClones = !0, u.riseFromOpenState.reset(), u.riseFromPreviousState.reset(), u.dropFromOpenState.reset(), u.dropFromPreviousState.reset(), ei(u, l.name), Ei(u), u;
13075
+ }), Sa(e, u.columns.template)), u.id = l.id, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0, u.columns.template.applyOnClones = !0, u.riseFromOpenState.reset(), u.riseFromPreviousState.reset(), u.dropFromOpenState.reset(), u.dropFromPreviousState.reset(), Jt(u, l.name), Ei(u), u;
13077
13076
  }
13078
13077
  function cs(t) {
13079
13078
  const { axisList: e = [], chartConfig: i, seriesIndex: a, type: o, hideLoaderHandle: n, selectionTheme: s } = t, r = i.series[a], [l, c] = e, d = new Ct();
13080
- return d.hoverable = !0, ti(d, n), d.id = `${r.id}_${o}`, l !== void 0 && (d.xAxis = l), c !== void 0 && (d.yAxis = c), d.noRisers = !0, d.simplifiedProcessing = !0, zi({
13079
+ return d.hoverable = !0, ei(d, n), d.id = `${r.id}_${o}`, l !== void 0 && (d.xAxis = l), c !== void 0 && (d.yAxis = c), d.noRisers = !0, d.simplifiedProcessing = !0, zi({
13081
13080
  element: d.segments.template,
13082
13081
  customSelectionTheme: s
13083
13082
  }), d.hiddenInLegend = !0, Ei(d), d;
13084
13083
  }
13085
13084
  function _v(t) {
13086
13085
  const { chart: e, axisList: i = [], chartConfig: a, hideLoaderHandle: o, seriesIndex: n, selectionTheme: s } = t, r = a.series[n], l = qe(a), [c, d] = i, u = new me();
13087
- He(u.uid, { isBoxPlotOutliersSeries: !0 }), ti(u, o), u.id = `${r.id}_${he.Outliers}`, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0, u.hiddenInLegend = !0, u.strokeOpacity = 0;
13086
+ He(u.uid, { isBoxPlotOutliersSeries: !0 }), ei(u, o), u.id = `${r.id}_${he.Outliers}`, c !== void 0 && (u.xAxis = c), d !== void 0 && (u.yAxis = d), u.simplifiedProcessing = !0, u.hiddenInLegend = !0, u.strokeOpacity = 0;
13088
13087
  const f = zn({ chart: e, lineSeries: u });
13089
13088
  return l || (zi({
13090
13089
  element: f,
@@ -13119,12 +13118,12 @@ function eo(t) {
13119
13118
  });
13120
13119
  T ? (a.dataFields.valueX = V, a.dataFields.categoryY = g) : (a.dataFields.valueY = V, a.dataFields.categoryX = g), a.dataFields.customValue = N;
13121
13120
  }
13122
- const k = Ys(e), I = Y(k.series), O = L === !0 ? void 0 : i?.query?.where, w = {
13123
- y: I === P.BoxPlotMultiFieldsAndCategory ? h : void 0,
13124
- chartSubType: I,
13121
+ const I = Ys(e), k = Y(I.series), O = L === !0 ? void 0 : i?.query?.where, w = {
13122
+ y: k === P.BoxPlotMultiFieldsAndCategory ? h : void 0,
13123
+ chartSubType: k,
13125
13124
  splitBy: O,
13126
13125
  showOutliers: C,
13127
- standardizeValues: uo(I) ? v : !1
13126
+ standardizeValues: uo(k) ? v : !1
13128
13127
  };
13129
13128
  if (p) {
13130
13129
  if (o instanceof _e) {
@@ -13170,7 +13169,7 @@ function eo(t) {
13170
13169
  }
13171
13170
  function Zv(t) {
13172
13171
  const { chart: e, axisList: i = [], chartConfig: a, hideLoaderHandle: o, seriesIndex: n, selectionTheme: s } = t, r = a.series[n], [l, c] = i, d = new me();
13173
- He(d.uid, { isBoxPlotMeanLineSeries: !0 }), ti(d, o), d.id = r.id, l !== void 0 && (d.xAxis = l), c !== void 0 && (d.yAxis = c), d.simplifiedProcessing = !0;
13172
+ He(d.uid, { isBoxPlotMeanLineSeries: !0 }), ei(d, o), d.id = r.id, l !== void 0 && (d.xAxis = l), c !== void 0 && (d.yAxis = c), d.simplifiedProcessing = !0;
13174
13173
  const u = zn({ chart: e, lineSeries: d });
13175
13174
  return zi({ element: u, customSelectionTheme: s }), Sa(e, u), Ei(d), sv(d), eo({
13176
13175
  chartConfig: a,
@@ -13260,7 +13259,7 @@ function Jv(t) {
13260
13259
  if (s !== void 0) {
13261
13260
  const r = Hr(a, i.visible), l = {
13262
13261
  type: K.SMS,
13263
- style: ii.Circle,
13262
+ style: ti.Circle,
13264
13263
  color: o.color,
13265
13264
  size: F.boxPlot.boxPlotOutliersSize
13266
13265
  };
@@ -13312,8 +13311,8 @@ function eL(t) {
13312
13311
  }), c = u.symbolWithColorInfo, d = u.stylingInfo, f.add(JSON.stringify(c));
13313
13312
  }), g = f.size > 1, o > 1) {
13314
13313
  const y = e.legendDataItem?.marker.children.getIndex(0);
13315
- y !== void 0 ? mi({ element: y, stylingInfo: d }) : e.chart.legend.events.once(M.Validated, () => {
13316
- mi({
13314
+ y !== void 0 ? fi({ element: y, stylingInfo: d }) : e.chart.legend.events.once(M.Validated, () => {
13315
+ fi({
13317
13316
  element: e.legendDataItem?.marker.children.getIndex(0),
13318
13317
  stylingInfo: d
13319
13318
  }), e.chart.legend.invalidate();
@@ -13455,7 +13454,7 @@ function sL(t) {
13455
13454
  outliersVisibilityChanged: c,
13456
13455
  standardizeValuesVisibilityChanged: d
13457
13456
  } = t;
13458
- ei(e, i?.name), eo({
13457
+ Jt(e, i?.name), eo({
13459
13458
  chartConfig: l,
13460
13459
  seriesConfig: i,
13461
13460
  meanLineSeries: e,
@@ -13480,7 +13479,7 @@ function rL(t) {
13480
13479
  outliersVisibilityChanged: n,
13481
13480
  standardizeValuesVisibilityChanged: s
13482
13481
  } = t;
13483
- ei(e, a?.name), e.hiddenInLegend = qe(i), eo({
13482
+ Jt(e, a?.name), e.hiddenInLegend = qe(i), eo({
13484
13483
  chartConfig: i,
13485
13484
  seriesConfig: a,
13486
13485
  candleStickSeries: e,
@@ -13725,18 +13724,18 @@ function hL(t) {
13725
13724
  const T = /* @__PURE__ */ new Set();
13726
13725
  d === b.PieSeries && Ii(v) ? (Do({
13727
13726
  groupOfSlicesDataContext: v
13728
- }) ?? []).forEach((I) => {
13727
+ }) ?? []).forEach((k) => {
13729
13728
  s.forEach((O) => {
13730
13729
  mr({
13731
13730
  layerOidField: r,
13732
- sliceDataContext: I,
13731
+ sliceDataContext: k,
13733
13732
  selectionDataContext: O,
13734
13733
  xAxisField: l
13735
- }) && T.add(I);
13734
+ }) && T.add(k);
13736
13735
  });
13737
- }) : T.add(v), Array.from(T)?.forEach((k) => {
13738
- const I = Ai({
13739
- dataContext: k,
13736
+ }) : T.add(v), Array.from(T)?.forEach((I) => {
13737
+ const k = Ai({
13738
+ dataContext: I,
13740
13739
  yAxisField: c,
13741
13740
  yList: S,
13742
13741
  xAxisField: l,
@@ -13746,7 +13745,7 @@ function hL(t) {
13746
13745
  showOutliers: f,
13747
13746
  isFeatureCollectionLayer: xi(g)
13748
13747
  });
13749
- I !== void 0 && p.push(I);
13748
+ k !== void 0 && p.push(k);
13750
13749
  });
13751
13750
  }
13752
13751
  else
@@ -13856,23 +13855,23 @@ function yL(t) {
13856
13855
  chartType: v,
13857
13856
  showMean: C
13858
13857
  }), T = Y(S?.series);
13859
- let k;
13860
- a !== void 0 && (k = mt(a).objectIdField);
13861
- const I = $(
13858
+ let I;
13859
+ a !== void 0 && (I = mt(a).objectIdField);
13860
+ const k = $(
13862
13861
  p.uid,
13863
13862
  "currentSelectionDataItems"
13864
13863
  );
13865
13864
  let O = !1, w = !1, R, B = !1;
13866
13865
  if (L?.[0] !== void 0) {
13867
13866
  if (o?.viewExtentUpdated !== !0) {
13868
- R = o?.selectionData?.selectionItems ?? I;
13867
+ R = o?.selectionData?.selectionItems ?? k;
13869
13868
  const N = $(
13870
13869
  p.uid,
13871
13870
  "currentSelectionIndexes"
13872
13871
  );
13873
13872
  B = Nc({
13874
13873
  itemsA: R,
13875
- itemsB: I,
13874
+ itemsB: k,
13876
13875
  isPieFromFields: T === P.PieFromFields
13877
13876
  });
13878
13877
  const V = y?.keys.length !== N?.keys.length || !ro(y, N);
@@ -13892,7 +13891,7 @@ function yL(t) {
13892
13891
  series: e,
13893
13892
  elementsToApplySelectionTo: L,
13894
13893
  selectionDataItems: R,
13895
- layerOidField: k,
13894
+ layerOidField: I,
13896
13895
  xAxisField: l,
13897
13896
  yAxisField: c
13898
13897
  });
@@ -13929,8 +13928,8 @@ function yL(t) {
13929
13928
  })), In({
13930
13929
  elementDataContext: H,
13931
13930
  options: o,
13932
- selectionDataItems: R ?? I ?? [],
13933
- layerOidField: k,
13931
+ selectionDataItems: R ?? k ?? [],
13932
+ layerOidField: I,
13934
13933
  xAxisField: l,
13935
13934
  yAxisField: c,
13936
13935
  chartType: v,
@@ -14054,10 +14053,10 @@ async function No(t) {
14054
14053
  isFeatureCollectionLayer: xi(s)
14055
14054
  });
14056
14055
  T !== void 0 && c.push(T);
14057
- const { seriesIndex: k, elementIndex: I } = x;
14058
- if (I !== void 0) {
14059
- const O = u.get(k)?.indexesToSelect ?? [];
14060
- O.push(I), u.set(k, {
14056
+ const { seriesIndex: I, elementIndex: k } = x;
14057
+ if (k !== void 0) {
14058
+ const O = u.get(I)?.indexesToSelect ?? [];
14059
+ O.push(k), u.set(I, {
14061
14060
  indexesToSelect: Array.from(new Set(O))
14062
14061
  });
14063
14062
  }
@@ -14171,17 +14170,17 @@ function vL(t) {
14171
14170
  t.renderer.labels.template.events.on(M.Hit, async (a) => {
14172
14171
  t.renderer.labels.template.events.isEnabled(M.Hit) && await CL(a);
14173
14172
  });
14174
- const i = $(t.chart.uid, "filterBySelection") === !0 ? Yt.default : Yt.pointer;
14173
+ const i = $(t.chart.uid, "filterBySelection") === !0 ? Xt.default : Xt.pointer;
14175
14174
  ks(t, i);
14176
14175
  }
14177
14176
  }
14178
14177
  function un(t, e) {
14179
14178
  if (Tt(t?.renderer?.labels?.template) && (t instanceof lt || t instanceof ze))
14180
14179
  if (e)
14181
- t.renderer.labels.template.events.disableType(M.Hit), ks(t, Yt.default);
14180
+ t.renderer.labels.template.events.disableType(M.Hit), ks(t, Xt.default);
14182
14181
  else {
14183
14182
  t.renderer.labels.template.events.enableType(M.Hit);
14184
- const a = $(t.chart.uid, "filterBySelection") === !0 ? Yt.default : Yt.pointer;
14183
+ const a = $(t.chart.uid, "filterBySelection") === !0 ? Xt.default : Xt.pointer;
14185
14184
  ks(t, a);
14186
14185
  }
14187
14186
  }
@@ -14224,7 +14223,7 @@ function LL(t, e) {
14224
14223
  }
14225
14224
  function FL(t, e) {
14226
14225
  const i = t.renderer instanceof An ? new nr() : new or();
14227
- return i.disabled = !0, i.axis = t, Wn(i), fi(i.uid, { isGuide: e }), Lo({ chart: t.chart, label: i, labelType: ae.GuideLabel }), e && LL(t, i), i;
14226
+ return i.disabled = !0, i.axis = t, Wn(i), ui(i.uid, { isGuide: e }), Lo({ chart: t.chart, label: i, labelType: ae.GuideLabel }), e && LL(t, i), i;
14228
14227
  }
14229
14228
  function AL(t) {
14230
14229
  const { label: e, labelConfig: i, guideType: a } = t, o = e.axis.renderer instanceof $t;
@@ -14286,7 +14285,7 @@ function kL(t, e) {
14286
14285
  } else if (t instanceof Le && !(o instanceof Date) && !(n instanceof Date)) {
14287
14286
  const { start: v, end: L } = Gr(t, h?.[s]);
14288
14287
  Number.isFinite(v) && (y = v), Number.isFinite(L) && (p = L);
14289
- const T = at(t.uid, "numberFormatter") ?? ((k) => new yd().format(k));
14288
+ const T = at(t.uid, "numberFormatter") ?? ((I) => new yd().format(I));
14290
14289
  y = T(y), p !== void 0 && (p = T(p));
14291
14290
  } else t instanceof lt && (y = o, p = n);
14292
14291
  const S = y.toString(), x = p?.toString() ?? "";
@@ -14511,7 +14510,7 @@ function WL(t) {
14511
14510
  }
14512
14511
  function EL(t) {
14513
14512
  const { axisTick: e, value: i, axisConfig: a, numberFormatter: o } = t;
14514
- e.value = i, a.labels.content.text = o.format(i), jt({
14513
+ e.value = i, a.labels.content.text = o.format(i), qt({
14515
14514
  element: e.tick,
14516
14515
  lineSymbol: a.lineSymbol,
14517
14516
  visible: a.visible
@@ -14528,7 +14527,7 @@ function HL(t) {
14528
14527
  iLocale: e.chart.language.locale,
14529
14528
  formatLocale: o
14530
14529
  });
14531
- if (n.numberFormat = li(i.valueFormat), a !== void 0) {
14530
+ if (n.numberFormat = ri(i.valueFormat), a !== void 0) {
14532
14531
  const s = Ze(e, ce.Ticks);
14533
14532
  for (let r = 0; r < a.length; r += 1) {
14534
14533
  const l = s[r];
@@ -14789,7 +14788,7 @@ function n0(t) {
14789
14788
  }
14790
14789
  }
14791
14790
  function Xr(t) {
14792
- return (t ?? ad()) === $e.Side;
14791
+ return (t ?? ad()) === De.Side;
14793
14792
  }
14794
14793
  function sm(t, e) {
14795
14794
  let i, a;
@@ -14802,9 +14801,9 @@ function s0(t, e = !0) {
14802
14801
  function r0(t, e) {
14803
14802
  let i, a;
14804
14803
  const o = Et(F.dataLabelInitialize);
14805
- fi(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
14804
+ ui(o.uid, { isDataLabel: !0 }), t.bullets.push(o);
14806
14805
  const n = Et(F.dataLabelInitialize, t.columns.template);
14807
- return fi(n.uid, { isDataLabel: !0 }), Ds(n, t), Ds(o, t), t.events.on(
14806
+ return ui(n.uid, { isDataLabel: !0 }), Ds(n, t), Ds(o, t), t.events.on(
14808
14807
  M.Validated,
14809
14808
  Ee(() => {
14810
14809
  xo(n) && n.clones.each((s) => {
@@ -14839,6 +14838,10 @@ function c0(t) {
14839
14838
  })), Me(o);
14840
14839
  }), e.label.html = F.htmlEmptyContent);
14841
14840
  }
14841
+ function d0(t) {
14842
+ let e = t;
14843
+ return t >= 1 ? e = 10 ** (t.toFixed(0).length - 1) : t < 1 && t > 0 && (e = 10 ** -Math.abs(Math.floor(Math.log10(t)))), e;
14844
+ }
14842
14845
  function ws(t) {
14843
14846
  const { axis: e, start: i, end: a } = t;
14844
14847
  e.zoom({ start: i ?? 0, end: a ?? 1 });
@@ -14852,7 +14855,7 @@ function Yr(t) {
14852
14855
  function xa(t, e) {
14853
14856
  return t instanceof $t && e !== !0 || t instanceof Va && e === !0;
14854
14857
  }
14855
- function d0(t) {
14858
+ function u0(t) {
14856
14859
  Tt(t.labels.template) && (t.labels.template.events.on(M.Over, (e) => {
14857
14860
  const { axisLabelOveredOpacity: i } = F;
14858
14861
  e.target.fillOpacity = (e.target.fillOpacity ?? 1) * i;
@@ -14861,9 +14864,9 @@ function d0(t) {
14861
14864
  e.target.fillOpacity = (e.target.fillOpacity ?? 0.5) / i;
14862
14865
  }));
14863
14866
  }
14864
- function u0(t) {
14867
+ function f0(t) {
14865
14868
  const { axis: e, valueFormat: i, axisRenderer: a, chartType: o } = t;
14866
- a.grid.template.applyOnClones = !0, a.ticks.template.applyOnClones = !0, a.labels.template.applyOnClones = !0, a.hoverable = !0, a.line.strokeOpacity = 1, a.grid.template.strokeOpacity = 1, a.ticks.template.strokeOpacity = 1, Wn(a.labels.template, F.axisLabel), a.ticks.template.disabled = !1, a.labels.template.disabled = !0, c0(e), Io(i) && (d0(a), vL(e)), Lo({
14869
+ a.grid.template.applyOnClones = !0, a.ticks.template.applyOnClones = !0, a.labels.template.applyOnClones = !0, a.hoverable = !0, a.line.strokeOpacity = 1, a.grid.template.strokeOpacity = 1, a.ticks.template.strokeOpacity = 1, Wn(a.labels.template, F.axisLabel), a.ticks.template.disabled = !1, a.labels.template.disabled = !0, c0(e), Io(i) && (u0(a), vL(e)), Lo({
14867
14870
  chart: e.chart,
14868
14871
  label: e.title,
14869
14872
  labelType: e.renderer instanceof $t ? ae.XAxisTitle : ae.YAxisTitle
@@ -14874,7 +14877,7 @@ function u0(t) {
14874
14877
  }, F.debounceTime)
14875
14878
  );
14876
14879
  }
14877
- function f0(t) {
14880
+ function m0(t) {
14878
14881
  const e = t.target, i = $(e.chart.uid, "isRotated");
14879
14882
  let a = [];
14880
14883
  if (e instanceof Le) {
@@ -14908,10 +14911,10 @@ function f0(t) {
14908
14911
  a.length > 0 && a.every((o) => Number.isFinite(o.minimum) && Number.isFinite(o.maximum)) && Ec(a, e.chart.htmlContainer);
14909
14912
  }
14910
14913
  }
14911
- function m0(t) {
14912
- t.events.on(M.Validated, Ee(f0, F.debounceTime));
14913
- }
14914
14914
  function g0(t) {
14915
+ t.events.on(M.Validated, Ee(m0, F.debounceTime));
14916
+ }
14917
+ function h0(t) {
14915
14918
  const { axis: e, isNonAggregatedChart: i } = t;
14916
14919
  let a, o, n;
14917
14920
  const s = e.dataItems.values, r = e.axisRanges.values;
@@ -14922,7 +14925,7 @@ function g0(t) {
14922
14925
  if (c instanceof Pa && c.visible)
14923
14926
  for (let y = 0; y < s.length; y += 1) {
14924
14927
  let p;
14925
- i === !0 ? p = ri({
14928
+ i === !0 ? p = si({
14926
14929
  value: s[y].category,
14927
14930
  dataContext: s[y].dataContext
14928
14931
  }) : p = s[y].category.toString(), d === p && (o = !0), u === p && (n = !0);
@@ -14939,15 +14942,15 @@ function cc(t) {
14939
14942
  const g = n[f], { value: h, endValue: y, axisFill: p, grid: S, label: x } = g;
14940
14943
  if (Ue(x?.uid, "isGuide") === !0) {
14941
14944
  if (o = g.visible, o && g instanceof sr) {
14942
- const { start: v, end: L } = Gr(e, u?.[f]), T = Math.min(h, y, v ?? h, L ?? y), k = Math.max(h, y, v ?? h, L ?? y);
14943
- T < i && k < i || T > a && k > a ? o = !1 : (g.value = T < i ? i : T, g.endValue = k > a ? a : k);
14945
+ const { start: v, end: L } = Gr(e, u?.[f]), T = Math.min(h, y, v ?? h, L ?? y), I = Math.max(h, y, v ?? h, L ?? y);
14946
+ T < i && I < i || T > a && I > a ? o = !1 : (g.value = T < i ? i : T, g.endValue = I > a ? a : I);
14944
14947
  }
14945
14948
  Z(p, o), Z(S, o), Z(x, o);
14946
14949
  }
14947
14950
  }
14948
14951
  }
14949
14952
  }
14950
- function h0(t) {
14953
+ function p0(t) {
14951
14954
  t instanceof Le ? (t.adapter.add("min", (e) => (cc({
14952
14955
  axis: t,
14953
14956
  axisMinimum: e,
@@ -14958,7 +14961,7 @@ function h0(t) {
14958
14961
  axisMaximum: e
14959
14962
  }), e))) : t instanceof lt && t.events.on(M.Validated, () => {
14960
14963
  const e = $(t.chart.uid, "isNonAggregatedChart");
14961
- g0({ axis: t, isNonAggregatedChart: e });
14964
+ h0({ axis: t, isNonAggregatedChart: e });
14962
14965
  });
14963
14966
  }
14964
14967
  function so(t) {
@@ -14975,14 +14978,14 @@ function so(t) {
14975
14978
  type: b.NumberAxisFormat,
14976
14979
  iLocale: s.chart.language.locale,
14977
14980
  formatLocale: r
14978
- }), s.numberFormatter.numberFormat = "#", i ? (s.renderer.opposite = !0, s.renderer.grid.template.disabled = !0) : m0(s);
14981
+ }), s.numberFormatter.numberFormat = "#", i ? (s.renderer.opposite = !0, s.renderer.grid.template.disabled = !0) : g0(s);
14979
14982
  }
14980
- s !== void 0 && (oC(s), u0({
14983
+ s !== void 0 && (oC(s), f0({
14981
14984
  axis: s,
14982
14985
  valueFormat: o,
14983
14986
  axisRenderer: s.renderer,
14984
14987
  chartType: n
14985
- }), h0(s));
14988
+ }), p0(s));
14986
14989
  }
14987
14990
  function Yn(t) {
14988
14991
  const { chart: e, axesConfig: i, isRotated: a, chartType: o } = t;
@@ -15031,22 +15034,18 @@ function rm(t, e) {
15031
15034
  }
15032
15035
  return a;
15033
15036
  }
15034
- function p0(t) {
15035
- const { axis: e, isLogarithmic: i, isSecondValueAxis: a } = t;
15036
- (e instanceof ze || e instanceof Le) && (e.logarithmic = i === !0 && rm(e, a), e.treatZeroAs = i === !0 ? F.treatZeroValueAs : 0);
15037
+ function b0(t) {
15038
+ const { axis: e, isLogarithmic: i, isSecondValueAxis: a } = t, o = i === !0 && rm(e, a);
15039
+ (e instanceof ze || e instanceof Le) && (e.logarithmic = o, e.treatZeroAs = o ? F.treatZeroValueAs : 0);
15037
15040
  }
15038
- function b0(t, e) {
15041
+ function y0(t, e) {
15039
15042
  const { minimum: i, maximum: a, isLogarithmic: o } = e ?? {};
15040
15043
  let { buffer: n } = e ?? {};
15041
15044
  return n ??= F.buffer, t instanceof Le && !(t instanceof ze) && !n && (o !== !0 || a != null || i != null);
15042
15045
  }
15043
- function y0(t, e) {
15046
+ function S0(t, e) {
15044
15047
  let i = !1;
15045
- return t instanceof Le && !(t instanceof ze) && (i = b0(t, e), t.strictMinMax = i), i;
15046
- }
15047
- function S0(t) {
15048
- let e;
15049
- return t >= 1 ? e = 10 ** (t.toFixed(0).length - 1) : t < 1 && t > 0 && (e = 10 ** -Math.abs(Math.floor(Math.log10(t)))), e;
15048
+ return t instanceof Le && !(t instanceof ze) && (i = y0(t, e), t.strictMinMax = i), i;
15050
15049
  }
15051
15050
  function x0(t) {
15052
15051
  const { axis: e, axisConfig: i, chartType: a, isSecondValueAxis: o } = t, n = i?.minimum, s = i?.maximum, r = i?.isLogarithmic ?? !1;
@@ -15054,7 +15053,7 @@ function x0(t) {
15054
15053
  const { chart: d } = e, u = $(d.uid, "isRotated"), f = $(d.uid, "config");
15055
15054
  let g = 0;
15056
15055
  if (d instanceof oe && f !== void 0) {
15057
- const h = Ht(f), y = xa(e.renderer, u), p = DC(d), S = To({
15056
+ const h = _t(f), y = xa(e.renderer, u), p = DC(d), S = To({
15058
15057
  chartConfig: f,
15059
15058
  isSecondValueAxis: o,
15060
15059
  seriesIds: p
@@ -15062,15 +15061,15 @@ function x0(t) {
15062
15061
  chartConfig: f,
15063
15062
  chartData: d.data,
15064
15063
  filteredSeriesIds: S
15065
- }), { minX: C, maxX: v, minY: L, maxY: T } = x, [k, I] = y ? [C ?? Number.NaN, v ?? Number.NaN] : [L, T];
15066
- g = k, a === b.BarSeries || a === b.HistogramSeries || a === b.ComboLineAndBarSeries || a === b.LineSeries && h === $e.Stacked && !y ? (l = Math.min(k, F.treatZeroValueAs), c = Math.max(I, F.treatZeroValueAs)) : (l = k, c = I);
15064
+ }), { minX: C, maxX: v, minY: L, maxY: T } = x, [I, k] = y ? [C ?? Number.NaN, v ?? Number.NaN] : [L, T];
15065
+ g = I, a === b.BarSeries || a === b.HistogramSeries || a === b.ComboLineAndBarSeries || a === b.LineSeries && h === De.Stacked && !y ? (l = Math.min(I, 0), c = Math.max(k, 0)) : (l = I, c = k);
15067
15066
  }
15068
- return l = n ?? l, c = s ?? c, r && l !== void 0 && l !== null && l <= 0 && (l = S0(g)), { min: l, max: c };
15067
+ return l = n ?? l, c = s ?? c, r && l !== void 0 && l !== null && l <= 0 && (l = d0(g)), { min: l, max: c };
15069
15068
  }
15070
15069
  function lm(t) {
15071
15070
  const { axis: e, axisConfig: i, chartType: a, isSecondValueAxis: o } = t, { minimum: n, maximum: s, isLogarithmic: r } = i ?? {};
15072
15071
  if (e instanceof Le || e instanceof ze)
15073
- if (y0(e, i)) {
15072
+ if (S0(e, i)) {
15074
15073
  let c = n, d = s;
15075
15074
  if (
15076
15075
  // If both the min and max from the config are valid, we directly assign them.
@@ -15162,7 +15161,7 @@ function cm(t) {
15162
15161
  const o = E(a?.series);
15163
15162
  if (A0(t, o)) {
15164
15163
  const n = $(i.uid, "isRotated"), s = j(t.uid, "stackedType");
15165
- s === $e.Stacked100 && !t.visible && Z(t, !1);
15164
+ s === De.Stacked100 && !t.visible && Z(t, !1);
15166
15165
  const l = i.xAxes.getIndex(0), c = i.yAxes.getIndex(0), d = i.yAxes.getIndex(1), u = n === !0 ? 1 : 0, f = a.axes?.[u], g = n === !0 ? 0 : 1, h = a.axes?.[g], y = a.axes?.[2];
15167
15166
  [
15168
15167
  { axis: l, axisConfig: f, updateLabels: !1 },
@@ -15221,23 +15220,23 @@ function _o(t) {
15221
15220
  labels: v,
15222
15221
  guides: L,
15223
15222
  valueFormat: T,
15224
- displayZeroLine: k,
15225
- displayCursorTooltip: I,
15223
+ displayZeroLine: I,
15224
+ displayCursorTooltip: k,
15226
15225
  tickSpacing: O,
15227
15226
  dateBaseInterval: w
15228
15227
  } = i;
15229
- C0({ axis: e, timeIntervalInfo: a, dateBaseInterval: w }), jt({
15228
+ C0({ axis: e, timeIntervalInfo: a, dateBaseInterval: w }), qt({
15230
15229
  element: e.renderer.grid.template,
15231
15230
  lineSymbol: x,
15232
15231
  visible: y
15233
- }), jt({
15232
+ }), qt({
15234
15233
  element: e.renderer.line,
15235
15234
  lineSymbol: {
15236
15235
  color: [...F.color],
15237
15236
  ...C ?? ko()
15238
15237
  },
15239
15238
  visible: y
15240
- }), jt({
15239
+ }), qt({
15241
15240
  element: e.renderer.ticks.template,
15242
15241
  lineSymbol: C,
15243
15242
  visible: y
@@ -15261,7 +15260,7 @@ function _o(t) {
15261
15260
  chartType: o,
15262
15261
  labelsTextSymbol: i.labels.content,
15263
15262
  formatOptions: T,
15264
- overridePercentMultiplication: c === $e.Stacked100,
15263
+ overridePercentMultiplication: c === De.Stacked100,
15265
15264
  axisValueFormatter: d,
15266
15265
  errorStrings: h
15267
15266
  }), lm({
@@ -15269,7 +15268,7 @@ function _o(t) {
15269
15268
  axisConfig: i,
15270
15269
  chartType: o,
15271
15270
  isSecondValueAxis: u
15272
- }), p0({ axis: e, isLogarithmic: p, isSecondValueAxis: u }), F0(e, S), L0(e, I), u !== !0 && (VL({ axis: e, guides: L, guideTooltipFormatter: l, utilsStrings: g }), v0(e, k));
15271
+ }), b0({ axis: e, isLogarithmic: p, isSecondValueAxis: u }), F0(e, S), L0(e, k), u !== !0 && (VL({ axis: e, guides: L, guideTooltipFormatter: l, utilsStrings: g }), v0(e, I));
15273
15272
  }
15274
15273
  function Ur(t) {
15275
15274
  const {
@@ -15288,8 +15287,8 @@ function Ur(t) {
15288
15287
  errorStrings: g
15289
15288
  } = t;
15290
15289
  let { axisLabelsBehaviorChanged: h } = t;
15291
- const y = $(e.uid, "config"), { horizontalAxisLabelsBehavior: p, verticalAxisLabelsBehavior: S } = y, x = E(y.series), C = Ht(y), v = o === !0 ? 1 : 0, L = o === !0 ? 0 : 1, T = i?.[v], k = i?.[L];
15292
- let I = e.xAxes.getIndex(0);
15290
+ const y = $(e.uid, "config"), { horizontalAxisLabelsBehavior: p, verticalAxisLabelsBehavior: S } = y, x = E(y.series), C = _t(y), v = o === !0 ? 1 : 0, L = o === !0 ? 0 : 1, T = i?.[v], I = i?.[L];
15291
+ let k = e.xAxes.getIndex(0);
15293
15292
  dm({
15294
15293
  chart: e,
15295
15294
  dualAxisChanged: n,
@@ -15301,8 +15300,8 @@ function Ur(t) {
15301
15300
  axesConfig: i,
15302
15301
  isRotated: o,
15303
15302
  chartType: x
15304
- }), h = [!0, !0]), I = e.xAxes.getIndex(0);
15305
- const O = e.yAxes.getIndex(0), w = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1), R = I?.start, B = I?.end, N = O?.start, V = O?.end, W = w?.start, z = w?.end, H = {
15303
+ }), h = [!0, !0]), k = e.xAxes.getIndex(0);
15304
+ const O = e.yAxes.getIndex(0), w = e.xAxes.getIndex(1) ?? e.yAxes.getIndex(1), R = k?.start, B = k?.end, N = O?.start, V = O?.end, W = w?.start, z = w?.end, H = {
15306
15305
  timeIntervalInfo: r,
15307
15306
  chartType: x,
15308
15307
  horizontalAxisLabelsBehavior: p,
@@ -15314,15 +15313,15 @@ function Ur(t) {
15314
15313
  utilsStrings: f,
15315
15314
  errorStrings: g
15316
15315
  };
15317
- I !== void 0 && T !== void 0 && _o({
15316
+ k !== void 0 && T !== void 0 && _o({
15318
15317
  ...H,
15319
- axis: I,
15318
+ axis: k,
15320
15319
  axisConfig: T,
15321
15320
  axisValueFormatter: v === 0 ? c : d
15322
- }), O !== void 0 && k !== void 0 && _o({
15321
+ }), O !== void 0 && I !== void 0 && _o({
15323
15322
  ...H,
15324
15323
  axis: O,
15325
- axisConfig: k,
15324
+ axisConfig: I,
15326
15325
  axisValueFormatter: L === 1 ? d : c
15327
15326
  }), w !== void 0 && i?.[2] !== void 0 && _o({
15328
15327
  ...H,
@@ -15331,7 +15330,7 @@ function Ur(t) {
15331
15330
  axisValueFormatter: u,
15332
15331
  isSecondValueAxis: !0
15333
15332
  }), a === !0 && [
15334
- { axis: I, start: R, end: B },
15333
+ { axis: k, start: R, end: B },
15335
15334
  { axis: O, start: N, end: V },
15336
15335
  { axis: w, start: W, end: z }
15337
15336
  ].forEach((ee) => {
@@ -15339,7 +15338,7 @@ function Ur(t) {
15339
15338
  de !== void 0 && de.events.once(M.Validated, () => {
15340
15339
  ws({ axis: de, start: te, end: q });
15341
15340
  });
15342
- }), I !== void 0 && I.ghostLabel.setPropertyValue("disabled", !0), O !== void 0 && O.ghostLabel.setPropertyValue("disabled", !0), w !== void 0 && w.ghostLabel.setPropertyValue("disabled", !0);
15341
+ }), k !== void 0 && k.ghostLabel.setPropertyValue("disabled", !0), O !== void 0 && O.ghostLabel.setPropertyValue("disabled", !0), w !== void 0 && w.ghostLabel.setPropertyValue("disabled", !0);
15343
15342
  }
15344
15343
  function dm(t) {
15345
15344
  const { chart: e, dualAxisChanged: i, rotationChanged: a, timeIntervalInfoWasReset: o, axisLabelsBehaviorChanged: n } = t, s = $(e.uid, "config"), { rotated: r, series: l } = s, c = s.axes, d = E(l), u = r === !0 ? 1 : 0, f = r === !0 ? 0 : 1, g = c?.[u]?.valueFormat, h = c?.[f]?.valueFormat, y = e.xAxes.getIndex(0), p = e.yAxes.getIndex(0), S = y === void 0 || a || g !== void 0 && Ts({
@@ -15372,7 +15371,7 @@ function I0(t) {
15372
15371
  secondaryYAxisLabelFormatter: f,
15373
15372
  utilsStrings: g,
15374
15373
  errorStrings: h
15375
- } = t, y = i.axes, p = Ht(i);
15374
+ } = t, y = i.axes, p = _t(i);
15376
15375
  Ur({
15377
15376
  chart: e,
15378
15377
  axesConfig: y,
@@ -15395,11 +15394,11 @@ function I0(t) {
15395
15394
  const v = S.renderer, L = v.grid.template;
15396
15395
  L.location = 0, v.cellStartLocation = 0.1, v.cellEndLocation = 0.9;
15397
15396
  const T = i.orderOptions?.data?.orderBy === vn.Descending;
15398
- let k = n === !0;
15399
- T && S instanceof ze && (k = !k), v.inversed = k;
15397
+ let I = n === !0;
15398
+ T && S instanceof ze && (I = !I), v.inversed = I;
15400
15399
  }
15401
15400
  const x = n === !0 ? e.xAxes.getIndex(0) : e.yAxes.getIndex(0), C = n === !0 ? e.xAxes.getIndex(1) : e.yAxes.getIndex(1);
15402
- p === $e.Stacked100 ? (x instanceof Le && (x.calculateTotals = !0), C instanceof Le && (C.calculateTotals = !0)) : (x instanceof Le && (x.calculateTotals = !1), C instanceof Le && (C.calculateTotals = !1));
15401
+ p === De.Stacked100 ? (x instanceof Le && (x.calculateTotals = !0), C instanceof Le && (C.calculateTotals = !0)) : (x instanceof Le && (x.calculateTotals = !1), C instanceof Le && (C.calculateTotals = !1));
15403
15402
  }
15404
15403
  const et = {
15405
15404
  InnerLabel: 0,
@@ -15559,7 +15558,7 @@ function O0(t) {
15559
15558
  axisConfig: i
15560
15559
  });
15561
15560
  Number.isFinite(d) && d > 0 && r.forEach((u) => {
15562
- fi(u.uid, {
15561
+ ui(u.uid, {
15563
15562
  originalWidth: u.measuredWidth / u.scale,
15564
15563
  originalHeight: u.measuredHeight / u.scale
15565
15564
  }), u.scale = d;
@@ -15618,7 +15617,7 @@ function Rs(t, e) {
15618
15617
  const c = (s.bbox.width + 5) * s.scale, d = (r.bbox.height + 5) * r.scale, u = typeof i.renderer.labels.template.radius == "number" ? i.renderer.labels.template.radius : i.renderer.labels.template.radius.value, f = (c + u) * 2 + t.radarContainer.measuredWidth + Ho(t.paddingLeft) + Ho(t.paddingRight), g = 80, h = 170, y = t.htmlContainer?.clientHeight ?? 0, p = Math.max(
15619
15618
  0,
15620
15619
  Math.min(1, (y - g) / (h - g))
15621
- ), S = t.radarContainer.measuredHeight + (d + u * p) * 2 + Ho(t.paddingTop) + Ho(t.paddingBottom), x = t.measuredWidth, C = t.measuredHeight, v = x / f, L = C / S, T = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, k = Number((T * v).toFixed(2)), I = Number((T * L).toFixed(2)), O = k / T, w = I / T, R = t.radarContainer.measuredWidth * O, B = t.radarContainer.measuredWidth * w, [N, V] = R < B ? [k, O] : [I, w];
15620
+ ), S = t.radarContainer.measuredHeight + (d + u * p) * 2 + Ho(t.paddingTop) + Ho(t.paddingBottom), x = t.measuredWidth, C = t.measuredHeight, v = x / f, L = C / S, T = (typeof t.radius == "number" ? t.radius : t.radius.value) * 100, I = Number((T * v).toFixed(2)), k = Number((T * L).toFixed(2)), O = I / T, w = k / T, R = t.radarContainer.measuredWidth * O, B = t.radarContainer.measuredWidth * w, [N, V] = R < B ? [I, O] : [k, w];
15622
15621
  Number.isFinite(N) && N >= 10 && N <= F.gauge.radius && (V < 0.98 || V > 1.02) && (t.radius = new an(N));
15623
15622
  }
15624
15623
  }
@@ -15671,7 +15670,7 @@ function N0(t) {
15671
15670
  }
15672
15671
  function P0(t) {
15673
15672
  const e = Et(void 0, t.radarContainer);
15674
- e.isMeasured = !1, fi(e.uid, { isGaugeAxisInnerLabel: !0 }), w0(t, e);
15673
+ e.isMeasured = !1, ui(e.uid, { isGaugeAxisInnerLabel: !0 }), w0(t, e);
15675
15674
  }
15676
15675
  function V0(t) {
15677
15676
  const { chart: e, innerLabelConfig: i, valueFormat: a, gaugeValue: o, gaugeInnerLabelFormatter: n } = t, s = e.radarContainer.children.values.find(
@@ -15696,7 +15695,7 @@ function W0(t) {
15696
15695
  }
15697
15696
  function E0(t) {
15698
15697
  const e = new nr();
15699
- return e.disabled = !0, e.axis = t, Wn(e), e.padding(10, 10, 10, 10), fi(e.uid, { isGaugeAxisLabel: !0 }), e;
15698
+ return e.disabled = !0, e.axis = t, Wn(e), e.padding(10, 10, 10, 10), ui(e.uid, { isGaugeAxisLabel: !0 }), e;
15700
15699
  }
15701
15700
  function z0(t) {
15702
15701
  const { axis: e, min: i, max: a, labelsIncrement: o, numberOfIntervals: n, valueFormat: s } = t, r = Ha(s);
@@ -15830,7 +15829,7 @@ function _0(t) {
15830
15829
  if (s !== void 0)
15831
15830
  r = s(n);
15832
15831
  else {
15833
- const l = li(e), c = Ot({
15832
+ const l = ri(e), c = Ot({
15834
15833
  type: b.NumberAxisFormat,
15835
15834
  iLocale: i,
15836
15835
  formatLocale: a
@@ -15853,7 +15852,7 @@ function fm(t) {
15853
15852
  if (s !== void 0)
15854
15853
  r = s(n);
15855
15854
  else {
15856
- const l = li(e), c = Ot({
15855
+ const l = ri(e), c = Ot({
15857
15856
  type: b.NumberAxisFormat,
15858
15857
  iLocale: i,
15859
15858
  formatLocale: a
@@ -15891,19 +15890,19 @@ async function Z0(t) {
15891
15890
  queryConfig: $(e.uid, "queryConfig")
15892
15891
  });
15893
15892
  S.minimum = T.minimum, S.maximum = T.maximum;
15894
- const { min: k, max: I, labelsIncrement: O, numberOfIntervals: w } = zu(S);
15893
+ const { min: I, max: k, labelsIncrement: O, numberOfIntervals: w } = zu(S);
15895
15894
  Iy({
15896
15895
  oldConfig: $(p.chart.uid, "config"),
15897
15896
  axisMax: p.max,
15898
- min: k,
15899
- max: I,
15897
+ min: I,
15898
+ max: k,
15900
15899
  labelsIncrement: O,
15901
15900
  numberOfIntervals: w,
15902
15901
  valueFormat: x
15903
15902
  }) && z0({
15904
15903
  axis: p,
15905
- min: k,
15906
- max: I,
15904
+ min: I,
15905
+ max: k,
15907
15906
  labelsIncrement: O,
15908
15907
  numberOfIntervals: w,
15909
15908
  valueFormat: x
@@ -15913,7 +15912,7 @@ async function Z0(t) {
15913
15912
  axisConfig: B,
15914
15913
  axisMin: S.minimum,
15915
15914
  axisMax: S.maximum
15916
- })) : (B.minimum = k, B.maximum = I), Y0(B), _o({
15915
+ })) : (B.minimum = I, B.maximum = k), Y0(B), _o({
15917
15916
  axis: p,
15918
15917
  axisConfig: B,
15919
15918
  chartType: b.GaugeSeries,
@@ -16173,7 +16172,7 @@ function mF(t, e) {
16173
16172
  }
16174
16173
  function gF(t, e) {
16175
16174
  t.chart.legend.events.once(M.Validated, () => {
16176
- mi({
16175
+ fi({
16177
16176
  element: t.legendDataItem?.marker.children.getIndex(0),
16178
16177
  stylingInfo: e
16179
16178
  }), t.chart.legend.invalidate();
@@ -16215,14 +16214,14 @@ function hF(t) {
16215
16214
  seriesSymbol: L,
16216
16215
  element: S,
16217
16216
  rendererSymbol: C
16218
- }), mi({ element: S, stylingInfo: h.stylingInfo }), v || (d.add(JSON.stringify(h.symbolWithColorInfo)), y = h);
16217
+ }), fi({ element: S, stylingInfo: h.stylingInfo }), v || (d.add(JSON.stringify(h.symbolWithColorInfo)), y = h);
16219
16218
  }
16220
16219
  }), o > 1) {
16221
16220
  const S = e.chart.legend.markers.values;
16222
16221
  S.length !== 0 ? S.forEach((x) => {
16223
16222
  if (x.dataItem instanceof ia) {
16224
16223
  const C = x.dataItem.marker.children.getIndex(0);
16225
- C !== void 0 && C.baseSprite?.parent instanceof Ye ? mi({
16224
+ C !== void 0 && C.baseSprite?.parent instanceof Ye ? fi({
16226
16225
  element: C,
16227
16226
  stylingInfo: y.stylingInfo
16228
16227
  }) : c = !0;
@@ -16270,7 +16269,7 @@ function hm(t) {
16270
16269
  fieldList: c,
16271
16270
  fieldName: Di(S),
16272
16271
  fieldValueToMatch: p
16273
- }) ?? p), ei(i, p), Pr({
16272
+ }) ?? p), Jt(i, p), Pr({
16274
16273
  series: i,
16275
16274
  seriesConfig: e,
16276
16275
  rotationChanged: o,
@@ -16305,7 +16304,7 @@ function bF(t) {
16305
16304
  }
16306
16305
  function yF(t) {
16307
16306
  const { chart: e, chartConfig: i, seriesIndex: a, axisList: o = [], hideLoaderHandle: n, selectionTheme: s } = t, { rotated: r } = i, l = i.series[a], { y: c, assignToSecondValueAxis: d } = l, u = new Ye();
16308
- ti(u, n), u.id = l.id;
16307
+ ei(u, n), u.id = l.id;
16309
16308
  let f, g;
16310
16309
  r !== !0 ? (f = o[0], g = d === !0 && o[2] ? o[2] : o[1]) : (f = d === !0 && o[2] ? o[2] : o[0], g = o[1]), f !== void 0 && (u.xAxis = f), g !== void 0 && (u.yAxis = g);
16311
16310
  const h = e instanceof oe ? Rt({ chart: e }) : !1, p = Y(i.series) !== P.BarAndLineSplitByNoAggregation ? c : `${c}_${$i({ where: l.query?.where, keepSurroundingQuotes: !1, escape: !1 })}`;
@@ -16378,7 +16377,7 @@ function xF(t, e) {
16378
16377
  }
16379
16378
  function CF(t) {
16380
16379
  const e = Et(F.dataLabelInitialize);
16381
- return fi(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Nr(e), Mr(b.HistogramSeries, e), xF(e, t), e.html = "{valueX}", e;
16380
+ return ui(e.uid, { isDataLabel: !0 }), t.bullets.push(e), Nr(e), Mr(b.HistogramSeries, e), xF(e, t), e.html = "{valueX}", e;
16382
16381
  }
16383
16382
  function vF(t) {
16384
16383
  const { numberFormatter: e, dataLabelsConfigContent: i } = t;
@@ -16404,7 +16403,7 @@ function FF(t) {
16404
16403
  let r;
16405
16404
  const l = bt(a.rtl);
16406
16405
  return s === !1 ? r = (c, d, u) => "" : r = (c, d, u) => {
16407
- const f = we(o, i.x), g = ui(f, e?.[0].title?.content?.text), h = ui(n.statistics.count, e?.[1].title?.content?.text), y = Da({
16406
+ const f = we(o, i.x), g = di(f, e?.[0].title?.content?.text), h = di(n.statistics.count, e?.[1].title?.content?.text), y = Da({
16408
16407
  series: a,
16409
16408
  callbackName: "tooltipValueYNumberFormatCallback",
16410
16409
  value: c
@@ -16465,7 +16464,7 @@ const ds = {
16465
16464
  };
16466
16465
  function Xo(t) {
16467
16466
  const { xAxis: e, yAxis: i, type: a, hideLoaderHandle: o } = t, n = new me();
16468
- return n.id = a, ti(n, o), He(n.uid, { isOverlay: !0, type: a }), n.dataFields.valueX = "x", n.dataFields.valueY = "y", e !== void 0 && (n.xAxis = e), i !== void 0 && (n.yAxis = i), n.hidden = !0, n;
16467
+ return n.id = a, ei(n, o), He(n.uid, { isOverlay: !0, type: a }), n.dataFields.valueX = "x", n.dataFields.valueY = "y", e !== void 0 && (n.xAxis = e), i !== void 0 && (n.yAxis = i), n.hidden = !0, n;
16469
16468
  }
16470
16469
  function kF(t) {
16471
16470
  const { lineSeries: e, valueFormat: i, overlay: a, chartData: o, utilsStrings: n } = t;
@@ -16473,12 +16472,12 @@ function kF(t) {
16473
16472
  Z(e, !1), e.hiddenInLegend = !0;
16474
16473
  else {
16475
16474
  const { symbol: s, created: r, visible: l } = a, c = r === !0 && l !== !1, d = j(e.uid, "type"), u = j(e.uid, "upper");
16476
- if (jt({
16475
+ if (qt({
16477
16476
  element: e,
16478
16477
  lineSymbol: s,
16479
16478
  visible: c
16480
16479
  }), e.hiddenInLegend = r !== !0 || u === !0, o && "bins" in o) {
16481
- const g = o.bins.map((k) => k.count), h = Math.max(...g), { mean: y, stddev: p, median: S } = o, x = y - p, C = y + p;
16480
+ const g = o.bins.map((I) => I.count), h = Math.max(...g), { mean: y, stddev: p, median: S } = o, x = y - p, C = y + p;
16482
16481
  let v = { x: Number.NaN, y: Number.NaN }, L = { x: Number.NaN, y: Number.NaN };
16483
16482
  switch (d) {
16484
16483
  case Je.Mean:
@@ -16514,7 +16513,7 @@ function kF(t) {
16514
16513
  break;
16515
16514
  }
16516
16515
  const h = $(e.chart.uid, "formatLocale");
16517
- ei(
16516
+ Jt(
16518
16517
  e,
16519
16518
  `${g}: ${sa({
16520
16519
  value: f,
@@ -16531,7 +16530,7 @@ function IF(t, e, i) {
16531
16530
  return He(a.uid, {
16532
16531
  isOverlay: !0,
16533
16532
  type: Je.Normal
16534
- }), a.xAxis = t, a.yAxis = e, a.dataFields.valueX = "x", a.dataFields.valueY = "y", ei(a, i.overlays.normal), a.hidden = !0, a.id = Je.Normal, a;
16533
+ }), a.xAxis = t, a.yAxis = e, a.dataFields.valueX = "x", a.dataFields.valueY = "y", Jt(a, i.overlays.normal), a.hidden = !0, a.id = Je.Normal, a;
16535
16534
  }
16536
16535
  function $F(t) {
16537
16536
  const { lineSeries: e, overlay: i, seriesData: a, numberOfPoints: o } = t;
@@ -16539,7 +16538,7 @@ function $F(t) {
16539
16538
  Z(e, !1), e.hiddenInLegend = !0;
16540
16539
  else {
16541
16540
  const { symbol: n, created: s, visible: r } = i;
16542
- if (jt({
16541
+ if (qt({
16543
16542
  element: e,
16544
16543
  lineSymbol: n,
16545
16544
  visible: s === !0 && r !== !1
@@ -16561,7 +16560,7 @@ function $F(t) {
16561
16560
  }
16562
16561
  function DF(t) {
16563
16562
  const { chart: e, seriesConfig: i, axisList: a = [], hideLoaderHandle: o, utilsStrings: n, selectionTheme: s } = t, r = [], l = new Ye();
16564
- ti(l, o), l.id = i.id, l.hiddenInLegend = !0;
16563
+ ei(l, o), l.id = i.id, l.hiddenInLegend = !0;
16565
16564
  const [c, d] = a;
16566
16565
  if (c !== void 0 && (l.xAxis = c), d !== void 0 && (l.yAxis = d), AF(l), CF(l), l.dataItems.template.locations.valueX = 1, l.dataItems.template.locations.openValueX = 0, l.dataFields.openValueX = ds.Start, l.dataFields.valueX = ds.End, l.dataFields.valueY = ds.Count, l.dataFields.customValue = i.x, Ei(l), zi({
16567
16566
  element: l.columns.template,
@@ -16621,7 +16620,7 @@ function wF(t) {
16621
16620
  });
16622
16621
  n = l.symbolWithColorInfo;
16623
16622
  const c = l.stylingInfo;
16624
- mi({ element: r, stylingInfo: c });
16623
+ fi({ element: r, stylingInfo: c });
16625
16624
  }), n !== void 0) {
16626
16625
  const r = /* @__PURE__ */ new Map();
16627
16626
  r.set(0, n), Bt({
@@ -16656,7 +16655,7 @@ async function OF(t) {
16656
16655
  };
16657
16656
  h.comparisonDistribution.symbol = {
16658
16657
  ...C,
16659
- color: si({
16658
+ color: ni({
16660
16659
  colorIndex: x,
16661
16660
  histogramOverlays: !0
16662
16661
  })
@@ -16683,7 +16682,7 @@ async function OF(t) {
16683
16682
  if (x && x.symbol?.color === void 0) {
16684
16683
  x.symbol = { ...x.symbol, type: K.SLS };
16685
16684
  const C = Ko(S);
16686
- x.symbol.color = si({
16685
+ x.symbol.color = ni({
16687
16686
  colorIndex: C,
16688
16687
  histogramOverlays: !0
16689
16688
  });
@@ -16703,7 +16702,7 @@ async function OF(t) {
16703
16702
  });
16704
16703
  });
16705
16704
  } else if (p instanceof Ye) {
16706
- p.id = i.id, Z(p, i.visible), ei(p, i.name);
16705
+ p.id = i.id, Z(p, i.visible), Jt(p, i.name);
16707
16706
  const S = mt(l), x = Ic({
16708
16707
  chartRenderer: c,
16709
16708
  queryObject: l
@@ -16759,7 +16758,7 @@ function RF(t) {
16759
16758
  );
16760
16759
  let o = e ?? "";
16761
16760
  const { dataItem: n } = i;
16762
- if (n instanceof di) {
16761
+ if (n instanceof ci) {
16763
16762
  const { slice: s } = n;
16764
16763
  if (s !== void 0 && !xo(s))
16765
16764
  o = "";
@@ -16778,7 +16777,7 @@ function BF(t) {
16778
16777
  const e = t.labels.template;
16779
16778
  e.maxWidth = F.pieChart.dataLabels.maxWidth ?? Number.NaN, e.wrap = F.pieChart.dataLabels.wrap ?? !0, e.events.on(M.Over, (i) => {
16780
16779
  const { dataItem: a } = i.target ?? {};
16781
- a instanceof di && a.slice.showTooltip();
16780
+ a instanceof ci && a.slice.showTooltip();
16782
16781
  }), RF(t);
16783
16782
  }
16784
16783
  function MF(t, e) {
@@ -16892,9 +16891,9 @@ function WF(t) {
16892
16891
  );
16893
16892
  if (l !== void 0) {
16894
16893
  const { dataItem: c } = a;
16895
- if (c instanceof di) {
16894
+ if (c instanceof ci) {
16896
16895
  const d = c.properties.category ?? "", u = c.dataContext;
16897
- let f = ci(u);
16896
+ let f = li(u);
16898
16897
  f === void 0 && (f = d);
16899
16898
  const g = c.values?.value?.value, h = c.values?.value?.percent;
16900
16899
  typeof g == "number" && g !== 0 && s?.series?.[0]?.dataTooltipVisible !== !1 ? (a.tooltip.disabled = !1, VF(a), o = l(`${d}`, g, h, f)) : a.tooltip.disabled = !0;
@@ -16930,7 +16929,7 @@ function HF(t) {
16930
16929
  }
16931
16930
  function GF(t) {
16932
16931
  const { seriesConfig: e, hideLoaderHandle: i, selectionTheme: a } = t, { x: o, y: n, id: s, visible: r } = e, l = new Vt();
16933
- l.id = s, ti(l, i), l.dataFields.value = n, l.dataFields.category = o;
16932
+ l.id = s, ei(l, i), l.dataFields.value = n, l.dataFields.category = o;
16934
16933
  const c = F.pieChart;
16935
16934
  l.startAngle = c.min, l.endAngle = 360 + l.startAngle, zF(l), WF(l), BF(l);
16936
16935
  const d = a !== void 0 && a.selectedElementsTheme?.transformation?.opacity === void 0 ? {
@@ -16963,7 +16962,7 @@ function XF(t) {
16963
16962
  colorRampIndex: s,
16964
16963
  isChartFillSymbol: !0
16965
16964
  });
16966
- o !== void 0 && o.selectedElementsTheme === void 0 && mi({
16965
+ o !== void 0 && o.selectedElementsTheme === void 0 && fi({
16967
16966
  element: n,
16968
16967
  stylingInfo: c,
16969
16968
  stateKey: nt.Active
@@ -17078,18 +17077,18 @@ function uc(t, e) {
17078
17077
  labelUpdateNeeded: l,
17079
17078
  colorMatch: c,
17080
17079
  utilsStrings: u
17081
- }), k = {
17080
+ }), I = {
17082
17081
  sliceId: x,
17083
17082
  label: T,
17084
17083
  fillSymbol: L
17085
17084
  };
17086
- k.originalLabel = C?.originalLabel ?? (p?.[F.originalCategoryValue] !== void 0 ? p?.[F.originalCategoryValue] : k.label), v ? (h = p[F.pieChart.technicalFieldGroupedSlices], s.sliceGrouping !== void 0 && (g = {
17085
+ I.originalLabel = C?.originalLabel ?? (p?.[F.originalCategoryValue] !== void 0 ? p?.[F.originalCategoryValue] : I.label), v ? (h = p[F.pieChart.technicalFieldGroupedSlices], s.sliceGrouping !== void 0 && (g = {
17087
17086
  sliceId: s.sliceGrouping.sliceId,
17088
17087
  percentageThreshold: s.sliceGrouping.percentageThreshold,
17089
17088
  label: T,
17090
17089
  originalLabel: s.sliceGrouping.originalLabel ?? T,
17091
17090
  fillSymbol: L
17092
- })) : f.push(k);
17091
+ })) : f.push(I);
17093
17092
  }), { slices: f, groupOfSlicesSymbols: g, groupOfSlices: h };
17094
17093
  }
17095
17094
  async function jr(t) {
@@ -17107,7 +17106,7 @@ function jF(t, e) {
17107
17106
  const { ticks: i } = e, a = i?.visible === !1 || e.dataLabelsInside === !0 || e.dataLabels === void 0 || e.dataLabels?.visible === !1 || e.dataLabelsOffset !== void 0 && e.dataLabelsOffset <= 0;
17108
17107
  t.ticks.template.disabled = a, t.ticks.template.strokeOpacity = F.pieChart.ticksOpacity;
17109
17108
  const o = i?.lineSymbol ?? ko({ color: Yc });
17110
- a && (o.width = 0), jt({
17109
+ a && (o.width = 0), qt({
17111
17110
  element: t.ticks.template,
17112
17111
  lineSymbol: o,
17113
17112
  visible: !a
@@ -17117,7 +17116,7 @@ function _F(t) {
17117
17116
  const { chart: e, seriesConfig: i, series: a, pieSlicesSymbols: o, options: n, utilsStrings: s } = t, { tooltipFormatter: r, dataLabelFormatter: l } = n ?? {}, { x: c, y: d, id: u, innerRadius: f, startAngle: g, endAngle: h } = i;
17118
17117
  a.id = u;
17119
17118
  const y = Y([i]), p = F.pieChart;
17120
- a.dataFields.value = y !== P.PieFromFields ? d : Ta, a.dataFields.category = y !== P.PieFromFields ? c : ni;
17119
+ a.dataFields.value = y !== P.PieFromFields ? d : Ta, a.dataFields.category = y !== P.PieFromFields ? c : oi;
17121
17120
  const S = e.radius instanceof an ? e.radius.value : e.radius;
17122
17121
  e.innerRadius = it((f ?? p.innerRadius) * S), a.startAngle = g ?? p.min, a.endAngle = h ?? 360 + a.startAngle, NF({
17123
17122
  pieSeries: a,
@@ -17175,7 +17174,7 @@ function ZF(t, e) {
17175
17174
  }
17176
17175
  function KF(t) {
17177
17176
  const e = Et(F.dataLabelInitialize);
17178
- return fi(e.uid, { isDataLabel: !0 }), t.bullets.push(e), ZF(e, t), e.html = "{valueX} - {valueY}", e;
17177
+ return ui(e.uid, { isDataLabel: !0 }), t.bullets.push(e), ZF(e, t), e.html = "{valueX} - {valueY}", e;
17179
17178
  }
17180
17179
  function QF(t) {
17181
17180
  const { numberFormatter: e, dataLabelsConfigContent: i } = t;
@@ -17201,7 +17200,7 @@ function eA(t) {
17201
17200
  let s;
17202
17201
  const r = bt(a.rtl);
17203
17202
  return n === !1 ? s = (l, c, d) => "" : s = (l, c, d) => {
17204
- const u = we(o, i.x), f = ui(u, e?.[0].title?.content?.text), g = we(o, i.y), h = ui(g, e?.[1].title?.content?.text), y = Da({
17203
+ const u = we(o, i.x), f = di(u, e?.[0].title?.content?.text), g = we(o, i.y), h = di(g, e?.[1].title?.content?.text), y = Da({
17205
17204
  series: a,
17206
17205
  callbackName: "tooltipValueXNumberFormatCallback",
17207
17206
  value: l
@@ -17289,7 +17288,7 @@ function nA(t) {
17289
17288
  }
17290
17289
  function sA(t) {
17291
17290
  const { xAxis: e, yAxis: i, x: a, y: o, name: n, hideLoaderHandle: s } = t, r = new me();
17292
- return ei(r, n), ti(r, s), r.ignoreMinMax = !0, He(r.uid, {
17291
+ return Jt(r, n), ei(r, s), r.ignoreMinMax = !0, He(r.uid, {
17293
17292
  isOverlay: !0,
17294
17293
  type: Je.Trendline
17295
17294
  }), r.dataFields.valueX = a, r.dataFields.valueY = o, r.xAxis = e, r.yAxis = i, r.hidden = !0, r;
@@ -17304,13 +17303,13 @@ function rA(t) {
17304
17303
  iLocale: e.chart.language.locale,
17305
17304
  formatLocale: c
17306
17305
  }) : void 0, u = d !== void 0 ? `R² = ${d}` : n;
17307
- ei(e, u);
17306
+ Jt(e, u);
17308
17307
  }
17309
17308
  e.hiddenInLegend = i.overlays?.trendLine?.created !== !0;
17310
17309
  const r = i.overlays?.trendLine?.created === !0 && i.overlays.trendLine.visible !== !1, l = i.overlays?.trendLine?.symbol ?? {
17311
17310
  type: K.SLS
17312
17311
  };
17313
- l.color === void 0 && (l.color = si({ colorIndex: 1 })), jt({
17312
+ l.color === void 0 && (l.color = ni({ colorIndex: 1 })), qt({
17314
17313
  element: e,
17315
17314
  lineSymbol: l ?? ko(),
17316
17315
  visible: r
@@ -17318,7 +17317,7 @@ function rA(t) {
17318
17317
  }
17319
17318
  function lA(t) {
17320
17319
  const { chart: e, seriesConfig: i, axisList: a = [], hideLoaderHandle: o, selectionTheme: n, ignoreSmoothRenderingLimit: s } = t, r = F.scatterplotSeries, [l, c] = a, { x: d, y: u, overlays: f, name: g, id: h } = i, y = [], p = new me();
17321
- He(p.uid, { type: b.ScatterSeries }), p.id = h, ti(p, o), p.hiddenInLegend = !0, p.dataFields.valueX = d, p.dataFields.valueY = u, l !== void 0 && (p.xAxis = l), c !== void 0 && (p.yAxis = c);
17320
+ He(p.uid, { type: b.ScatterSeries }), p.id = h, ei(p, o), p.hiddenInLegend = !0, p.dataFields.valueX = d, p.dataFields.valueY = u, l !== void 0 && (p.xAxis = l), c !== void 0 && (p.yAxis = c);
17322
17321
  const S = zn({ chart: e, lineSeries: p });
17323
17322
  tA(S, p), KF(p), p.strokeOpacity = r.strokeOpacity, p.minDistance *= Math.ceil(p.data.length / 1e4), p.hidden = !0, zi({ element: S, customSelectionTheme: n }), Sa(e, S), Mf({
17324
17323
  chart: e,
@@ -17356,7 +17355,7 @@ function cA(t) {
17356
17355
  colorMatch: a,
17357
17356
  rendererSymbol: h
17358
17357
  });
17359
- l = y.symbolWithColorInfo, c = y.stylingInfo, mi({ element: g, stylingInfo: c }), u.add(JSON.stringify(c));
17358
+ l = y.symbolWithColorInfo, c = y.stylingInfo, fi({ element: g, stylingInfo: c }), u.add(JSON.stringify(c));
17360
17359
  }), l = u.size > 1 ? void 0 : l;
17361
17360
  const f = /* @__PURE__ */ new Map();
17362
17361
  f.set(0, l), Bt({
@@ -17415,7 +17414,7 @@ function dA(t) {
17415
17414
  }));
17416
17415
  }
17417
17416
  function uA(t) {
17418
- const e = t.isHover, i = t.dataItem instanceof di ? t.dataItem?.label?.isHover : !1;
17417
+ const e = t.isHover, i = t.dataItem instanceof ci ? t.dataItem?.label?.isHover : !1;
17419
17418
  return e || i;
17420
17419
  }
17421
17420
  async function fA(t) {
@@ -17433,7 +17432,7 @@ async function fc(t) {
17433
17432
  chartConfig: n
17434
17433
  };
17435
17434
  s.slices.each((u, f) => {
17436
- u.isActive && (u === i || a || u.dataItem instanceof di && u.dataItem.label.isHover) ? Ii(u.dataItem?.dataContext) ? (Do({
17435
+ u.isActive && (u === i || a || u.dataItem instanceof ci && u.dataItem.label.isHover) ? Ii(u.dataItem?.dataContext) ? (Do({
17437
17436
  groupOfSlicesDataContext: u.dataItem?.dataContext
17438
17437
  }) ?? []).forEach((p) => {
17439
17438
  o.push({
@@ -17473,7 +17472,7 @@ function mA(t) {
17473
17472
  await fc({ chart: t, multiSelect: s, hitSlice: n });
17474
17473
  else if (n instanceof ho) {
17475
17474
  const r = n.dataItem;
17476
- if (r instanceof di) {
17475
+ if (r instanceof ci) {
17477
17476
  const { slice: l } = r;
17478
17477
  l.isActive = !l.isActive, await fc({ chart: t, multiSelect: s, hitSlice: l });
17479
17478
  }
@@ -17543,14 +17542,14 @@ function bm(t) {
17543
17542
  dataLabelsInside: f
17544
17543
  } = s[0];
17545
17544
  if (u?.visible === !0 && c === !0 && l === !0 && f !== !0) {
17546
- const p = F.pieChart.chartOptimizedRadius / 100, S = 500, x = 150, C = 0.6, v = 0.5, L = 1, T = t.chartContainer.measuredWidth - d * 2, k = Math.max(T - x, 0) / (S - x), I = k < 1 ? (
17545
+ const p = F.pieChart.chartOptimizedRadius / 100, S = 500, x = 150, C = 0.6, v = 0.5, L = 1, T = t.chartContainer.measuredWidth - d * 2, I = Math.max(T - x, 0) / (S - x), k = I < 1 ? (
17547
17546
  // case 1: the container width is less than the radiusContainerWidthBreakpoint - we want to scale the radius down.
17548
- Math.max(k ** L * C, 0.4)
17547
+ Math.max(I ** L * C, 0.4)
17549
17548
  ) : (
17550
17549
  // case 2: the container width is at or more than the radiusContainerWidthBreakpoint - ramp up radius to the max radius
17551
- Math.min(k ** v * C, p)
17550
+ Math.min(I ** v * C, p)
17552
17551
  );
17553
- o = it(I * 100);
17552
+ o = it(k * 100);
17554
17553
  } else
17555
17554
  o = it(F.pieChart.chartRadius);
17556
17555
  a.value.toFixed(1) !== o.value.toFixed(1) && (U(t.uid, { pieChartRadius: o.percent }), t.radius = o, t.innerRadius = it((r ?? F.pieChart.innerRadius) * o.value));
@@ -17577,7 +17576,7 @@ function ym(t) {
17577
17576
  chartContainer: r
17578
17577
  } = F, l = a?.series, c = E(l), d = Rt({ config: a }), u = l?.[0]?.dataLabels?.visible ?? !0;
17579
17578
  let f = F.chartDefaultPaddingRight;
17580
- if (d && u && (c === b.LineSeries || c === b.ComboLineAndBarSeries || c === b.BarSeries && (a?.stackedType ?? ad()) === $e.Side)) {
17579
+ if (d && u && (c === b.LineSeries || c === b.ComboLineAndBarSeries || c === b.BarSeries && (a?.stackedType ?? ad()) === De.Side)) {
17581
17580
  let h = 0;
17582
17581
  const y = (p) => Ue(p.uid, "isDataLabel") ?? !1;
17583
17582
  t.series.each((p) => {
@@ -18044,14 +18043,14 @@ async function Jr(t) {
18044
18043
  pieSlicesSymbols: S,
18045
18044
  utilsStrings: x,
18046
18045
  errorStrings: C
18047
- } = t, v = e.series.values, L = /* @__PURE__ */ new Map(), T = i.series.length, k = E(a), I = wi(i), O = Ht(i), w = Uc(f), R = await It(f, g?.usePopupTemplateFieldsInfo), B = mt(f), N = Ao(n, B.renderer);
18046
+ } = t, v = e.series.values, L = /* @__PURE__ */ new Map(), T = i.series.length, I = E(a), k = wi(i), O = _t(i), w = Uc(f), R = await It(f, g?.usePopupTemplateFieldsInfo), B = mt(f), N = Ao(n, B.renderer);
18048
18047
  for (const [V, W] of a.entries()) {
18049
18048
  const z = E([W]), H = v[V], ee = {
18050
18049
  numberOfSeries: T,
18051
18050
  series: H,
18052
18051
  seriesConfig: W,
18053
18052
  seriesIndex: V,
18054
- colorMatch: I,
18053
+ colorMatch: k,
18055
18054
  queryObject: f,
18056
18055
  rendererType: N,
18057
18056
  options: g,
@@ -18066,7 +18065,7 @@ async function Jr(t) {
18066
18065
  seriesIndexMapper: s
18067
18066
  };
18068
18067
  let te = H;
18069
- if (e instanceof oe && (z === b.BoxPlotSeries || z === b.LineSeries && k === b.BoxPlotSeries)) {
18068
+ if (e instanceof oe && (z === b.BoxPlotSeries || z === b.LineSeries && I === b.BoxPlotSeries)) {
18070
18069
  if (te = v.find((q) => q.id === W.id), H !== void 0 && (te instanceof _e || te instanceof me)) {
18071
18070
  const q = qe(i);
18072
18071
  cL({
@@ -18157,16 +18156,16 @@ async function el(t) {
18157
18156
  secondaryYAxisLabelFormatter: S,
18158
18157
  gaugeInnerLabelFormatter: x,
18159
18158
  usePopupTemplateFieldsInfo: C
18160
- } = a ?? {}, { valid: v, invalidType: L, data: T, count: k, queryConfig: I } = l ?? {};
18159
+ } = a ?? {}, { valid: v, invalidType: L, data: T, count: I, queryConfig: k } = l ?? {};
18161
18160
  let O, w, R, B;
18162
18161
  const { loaderElements: N, loaderHandle: V } = jC(i, a);
18163
18162
  V.showLoader(c !== !0);
18164
18163
  const W = E(e.series), z = await It(n, C);
18165
18164
  U(i.uid, { fieldList: z }), U(i.uid, {
18166
18165
  options: a,
18167
- elementCount: k,
18166
+ elementCount: I,
18168
18167
  initialized: v,
18169
- queryConfig: I,
18168
+ queryConfig: k,
18170
18169
  boxPlotMeanLinesData: T?.meanLines,
18171
18170
  timeIntervalInfo: T?.timeIntervalInfo,
18172
18171
  serverLimitReached: T?.serverLimitReached,
@@ -18200,7 +18199,7 @@ async function el(t) {
18200
18199
  ca({
18201
18200
  chart: i,
18202
18201
  invalidType: L,
18203
- elementCount: k,
18202
+ elementCount: I,
18204
18203
  seriesCount: e.series.length,
18205
18204
  chartConfig: e,
18206
18205
  errorStrings: r
@@ -18454,8 +18453,8 @@ async function AA(t) {
18454
18453
  a.loaderHandle.showLoader(l?.hideLoaderAnimation !== !0);
18455
18454
  const p = $(i.uid, "seriesFilteredOut"), S = $(i.uid, "unfilteredConfig"), x = $(i.uid, "config"), C = x?.series, v = e.series, L = E(v), T = Rt({ config: e });
18456
18455
  U(i.uid, { config: Be(e), isRotated: T }), U(i.uid, { filterBySelection: l?.filterBySelection }), Zn({ chart: i, actionMode: l?.actionMode, cursorRange: l?.cursorRange });
18457
- const { xOrYChanged: k } = s?.common ?? {};
18458
- let { numberOfSeriesChanged: I } = s?.common ?? {};
18456
+ const { xOrYChanged: I } = s?.common ?? {};
18457
+ let { numberOfSeriesChanged: k } = s?.common ?? {};
18459
18458
  const O = ed(x, e), w = Qc(x, e), R = jm(x, e), B = _m(x, e), N = JSON.stringify(sl(C)) !== JSON.stringify(sl(v)), V = Zm(x, e), W = Km(x, e), z = js(x, e), H = _s({
18460
18459
  oldConfig: p ? S : x,
18461
18460
  newConfig: e,
@@ -18570,7 +18569,7 @@ async function AA(t) {
18570
18569
  config: e,
18571
18570
  hideEmptySeries: l?.hideEmptySeries ?? F.options.hideEmptySeries
18572
18571
  });
18573
- if (e = Ge.updatedConfig, I = Ge.seriesFilteredOut, (n || z) && L !== b.HistogramSeries) {
18572
+ if (e = Ge.updatedConfig, k = Ge.seriesFilteredOut, (n || z) && L !== b.HistogramSeries) {
18574
18573
  const ct = qe(e), kt = q && ct && "meanLines" in q ? q.meanLines : ue ?? i.data, { colorMatchApplied: Po, rendererFieldNames: ot } = await Xa({
18575
18574
  data: kt,
18576
18575
  queryObject: c,
@@ -18596,7 +18595,7 @@ async function AA(t) {
18596
18595
  errorStrings: u
18597
18596
  });
18598
18597
  const Nt = L === b.BoxPlotSeries && (eg(v, C) || tg(v, C));
18599
- (i.series === void 0 || i.series.length === 0 || k || I || Ge.seriesFilteredOut || N || (L === b.BarSeries || L === b.LineSeries || L === b.RadarSeries || L === b.ComboLineAndBarSeries) && i.series.length !== e.series.length || L !== b.HistogramSeries && de || B || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
18598
+ (i.series === void 0 || i.series.length === 0 || I || k || Ge.seriesFilteredOut || N || (L === b.BarSeries || L === b.LineSeries || L === b.RadarSeries || L === b.ComboLineAndBarSeries) && i.series.length !== e.series.length || L !== b.HistogramSeries && de || B || // NOTE: This fix is here to resolve the issue: https://devtopia.esri.com/webgis/arcgis-charts/issues/6537
18600
18599
  // TODO: find a better way to order legends for box plot with split by field rather than re-initializing the series in the future.
18601
18600
  Nt || s?.boxPlot.showMeanChanged) && (!n && (w || Nt || de) && i.invalidateData(), xm({
18602
18601
  chart: i,
@@ -18663,10 +18662,10 @@ async function TA(t) {
18663
18662
  U(e.uid, { filterBySelection: r?.filterBySelection, config: Be(n) });
18664
18663
  let S = !0, x, C, v = !1;
18665
18664
  if (o) {
18666
- const { count: L, valid: T, invalidType: k, data: I, queryConfig: O } = l ?? {};
18667
- x = I, U(e.uid, { elementCount: L, queryConfig: O, initialized: T }), S = T === !0, C = Bi(x), S ? C !== void 0 && qm(e.data, C) && (e.data = C, v = !0) : (ca({
18665
+ const { count: L, valid: T, invalidType: I, data: k, queryConfig: O } = l ?? {};
18666
+ x = k, U(e.uid, { elementCount: L, queryConfig: O, initialized: T }), S = T === !0, C = Bi(x), S ? C !== void 0 && qm(e.data, C) && (e.data = C, v = !0) : (ca({
18668
18667
  chart: e,
18669
- invalidType: k,
18668
+ invalidType: I,
18670
18669
  elementCount: L,
18671
18670
  seriesCount: h.length,
18672
18671
  errorStrings: d
@@ -18691,12 +18690,12 @@ async function TA(t) {
18691
18690
  chartConfig: n,
18692
18691
  fieldList: $(e.uid, "fieldList")
18693
18692
  }), e.validateData());
18694
- const T = fs({ oldConfig: f, newConfig: n }), k = Jc(f, n);
18695
- let I = await jr({
18693
+ const T = fs({ oldConfig: f, newConfig: n }), I = Jc(f, n);
18694
+ let k = await jr({
18696
18695
  chart: e,
18697
18696
  chartConfig: n,
18698
18697
  queryObject: s,
18699
- labelUpdateNeeded: v || T || y || k,
18698
+ labelUpdateNeeded: v || T || y || I,
18700
18699
  usePopupTemplateFieldsInfo: r?.usePopupTemplateFieldsInfo,
18701
18700
  utilsStrings: c
18702
18701
  });
@@ -18713,7 +18712,7 @@ async function TA(t) {
18713
18712
  chart: e,
18714
18713
  data: { dataItems: e.data },
18715
18714
  chartConfig: n,
18716
- pieSlicesSymbols: I,
18715
+ pieSlicesSymbols: k,
18717
18716
  queryObject: s,
18718
18717
  options: r,
18719
18718
  currentValidationStatus: a,
@@ -18722,18 +18721,18 @@ async function TA(t) {
18722
18721
  });
18723
18722
  u = O.newValidationStatus ?? a;
18724
18723
  const { alteredPieSlicesSymbols: w, alteredConfig: R } = O;
18725
- I = w;
18724
+ k = w;
18726
18725
  const B = fs({
18727
18726
  oldConfig: n,
18728
18727
  newConfig: R
18729
18728
  });
18730
- (v || T || B || y || k) && kn({
18729
+ (v || T || B || y || I) && kn({
18731
18730
  data: e.data,
18732
18731
  newChartConfig: R,
18733
- pieSlicesSymbols: I,
18732
+ pieSlicesSymbols: k,
18734
18733
  fieldList: $(e.uid, "fieldList")
18735
18734
  }), Bt({
18736
- data: I,
18735
+ data: k,
18737
18736
  htmlContainer: e.htmlContainer,
18738
18737
  chartId: e.id,
18739
18738
  colorMatchApplied: ya(e, R)
@@ -18748,7 +18747,7 @@ async function TA(t) {
18748
18747
  sortChanged: p,
18749
18748
  chartData: x,
18750
18749
  groupOfSlicesWasUpdated: L,
18751
- pieSlicesSymbols: I,
18750
+ pieSlicesSymbols: k,
18752
18751
  utilsStrings: c,
18753
18752
  errorStrings: d
18754
18753
  }), jn(i.headerElements, {
@@ -18792,14 +18791,14 @@ async function kA(t) {
18792
18791
  const S = o.series, x = E(S);
18793
18792
  let C;
18794
18793
  if (r) {
18795
- const { count: T, valid: k, invalidType: I, data: O, queryConfig: w } = s ?? {};
18794
+ const { count: T, valid: I, invalidType: k, data: O, queryConfig: w } = s ?? {};
18796
18795
  C = O, C?.dataItems !== void 0 && (e.data = C.dataItems), Ci({
18797
18796
  data: { dataItems: e.data },
18798
18797
  seriesConfig: o.series,
18799
18798
  htmlContainer: e.htmlContainer
18800
- }), U(e.uid, { elementCount: T, queryConfig: w, initialized: k }), k || (ca({
18799
+ }), U(e.uid, { elementCount: T, queryConfig: w, initialized: I }), I || (ca({
18801
18800
  chart: e,
18802
- invalidType: I,
18801
+ invalidType: k,
18803
18802
  elementCount: T,
18804
18803
  seriesCount: 1,
18805
18804
  errorStrings: d
@@ -18830,8 +18829,8 @@ async function kA(t) {
18830
18829
  utilsStrings: c,
18831
18830
  errorStrings: d
18832
18831
  });
18833
- const T = F.gauge, k = Number.isFinite(L?.innerRadius) ? L.innerRadius : T.innerRadius, I = Number.isFinite(L?.startAngle) ? L.startAngle : T.startAngle, O = Number.isFinite(L?.endAngle) ? L.endAngle : T.endAngle;
18834
- e.innerRadius = it(k), e.startAngle = I, e.endAngle = O, jn(i.headerElements, {
18832
+ const T = F.gauge, I = Number.isFinite(L?.innerRadius) ? L.innerRadius : T.innerRadius, k = Number.isFinite(L?.startAngle) ? L.startAngle : T.startAngle, O = Number.isFinite(L?.endAngle) ? L.endAngle : T.endAngle;
18833
+ e.innerRadius = it(I), e.startAngle = k, e.endAngle = O, jn(i.headerElements, {
18835
18834
  title: L.title,
18836
18835
  subtitle: L.subtitle
18837
18836
  }), _n(i.footerElements, L.footer), qn(e, L.background), U(e.uid, { config: Be(L) }), i.loaderHandle.hideLoader(), Ga(e.htmlContainer);
@@ -18926,16 +18925,16 @@ async function $A(t) {
18926
18925
  }
18927
18926
  async function S(T) {
18928
18927
  const {
18929
- newConfig: k,
18930
- dataWasUpdated: I,
18928
+ newConfig: I,
18929
+ dataWasUpdated: k,
18931
18930
  dataUpdateDetails: O,
18932
18931
  queryObject: w,
18933
18932
  updateOptions: R,
18934
18933
  utilsStrings: B,
18935
18934
  configValidationStatus: N,
18936
18935
  dataInfo: V
18937
- } = T, W = $(h.uid, "initialized"), z = $(h.uid, "config"), H = k?.series, ee = H !== void 0 ? E(H) : void 0;
18938
- if (h.isDisposed() || y === void 0 || W === !1 || !Kc(z, k))
18936
+ } = T, W = $(h.uid, "initialized"), z = $(h.uid, "config"), H = I?.series, ee = H !== void 0 ? E(H) : void 0;
18937
+ if (h.isDisposed() || y === void 0 || W === !1 || !Kc(z, I))
18939
18938
  throw new yi(ao.ChartDisposed);
18940
18939
  switch (ee) {
18941
18940
  case b.BoxPlotSeries:
@@ -18949,10 +18948,10 @@ async function $A(t) {
18949
18948
  chartElements: y,
18950
18949
  queryObject: w,
18951
18950
  configValidationStatus: N,
18952
- dataWasUpdated: I,
18951
+ dataWasUpdated: k,
18953
18952
  dataUpdateDetails: O,
18954
18953
  dataInfo: V,
18955
- newConfig: k,
18954
+ newConfig: I,
18956
18955
  options: R,
18957
18956
  utilsStrings: B,
18958
18957
  errorStrings: d
@@ -18964,9 +18963,9 @@ async function $A(t) {
18964
18963
  chartElements: y,
18965
18964
  queryObject: w,
18966
18965
  configValidationStatus: N,
18967
- dataWasUpdated: I,
18966
+ dataWasUpdated: k,
18968
18967
  dataInfo: V,
18969
- newConfig: k,
18968
+ newConfig: I,
18970
18969
  options: R,
18971
18970
  utilsStrings: B,
18972
18971
  errorStrings: d
@@ -18976,10 +18975,10 @@ async function $A(t) {
18976
18975
  await kA({
18977
18976
  chart: h,
18978
18977
  chartElements: y,
18979
- newConfig: k,
18978
+ newConfig: I,
18980
18979
  queryObject: w,
18981
18980
  configValidationStatus: N,
18982
- dataWasUpdated: I,
18981
+ dataWasUpdated: k,
18983
18982
  dataInfo: V,
18984
18983
  options: R,
18985
18984
  utilsStrings: B,
@@ -18990,8 +18989,8 @@ async function $A(t) {
18990
18989
  }
18991
18990
  async function x(T) {
18992
18991
  const {
18993
- newChartConfig: k,
18994
- updateOptions: I,
18992
+ newChartConfig: I,
18993
+ updateOptions: k,
18995
18994
  dataWasUpdated: O,
18996
18995
  dataUpdateDetails: w,
18997
18996
  updateGlobalOptions: R,
@@ -19002,19 +19001,19 @@ async function $A(t) {
19002
19001
  } = T, { errorStrings: z, utilsStrings: H } = B, ee = !mc(e), de = await It(N, s?.usePopupTemplateFieldsInfo);
19003
19002
  U(h.uid, {
19004
19003
  chartWasUpdatedWhileHidden: ee,
19005
- options: I,
19004
+ options: k,
19006
19005
  fieldList: de,
19007
19006
  queryObject: N
19008
19007
  }), await S({
19009
- newConfig: k,
19010
- updateOptions: I,
19008
+ newConfig: I,
19009
+ updateOptions: k,
19011
19010
  dataWasUpdated: O,
19012
19011
  dataUpdateDetails: w,
19013
19012
  utilsStrings: H,
19014
19013
  configValidationStatus: V,
19015
19014
  queryObject: N,
19016
19015
  dataInfo: W
19017
- }), hc({ chart: h, chartConfig: k, errorStrings: z }), pc(h, z);
19016
+ }), hc({ chart: h, chartConfig: I, errorStrings: z }), pc(h, z);
19018
19017
  }
19019
19018
  async function C() {
19020
19019
  if (Tt(h) && (h instanceof oe || h instanceof Ae)) {
@@ -19022,11 +19021,11 @@ async function $A(t) {
19022
19021
  T !== _.MonoSelection && T !== _.None && await zC(h);
19023
19022
  }
19024
19023
  }
19025
- function v(T, k, I) {
19026
- h.modal !== void 0 && !h.isDisposed() && (h.modal.closable = I?.closable ?? !1, T !== void 0 ? (h.modal.events.once(M.Opened, () => {
19024
+ function v(T, I, k) {
19025
+ h.modal !== void 0 && !h.isDisposed() && (h.modal.closable = k?.closable ?? !1, T !== void 0 ? (h.modal.events.once(M.Opened, () => {
19027
19026
  const O = h.modal?.elements?.title?.parentElement;
19028
19027
  O instanceof HTMLElement && h.modal?.elements?.title?.innerText.length === 0 && (O.style.visibility = "hidden");
19029
- }), h.openModal(T, k)) : h.closeModal());
19028
+ }), h.openModal(T, I)) : h.closeModal());
19030
19029
  }
19031
19030
  function L() {
19032
19031
  Yr(h);
@@ -19039,7 +19038,7 @@ async function $A(t) {
19039
19038
  clearSelection: () => to({ chart: h }),
19040
19039
  switchSelection: C,
19041
19040
  exportImage: async (T) => await AC({ chart: h, exportOptions: T }),
19042
- setActionMode: (T, k) => Zn({ chart: h, actionMode: T, cursorRange: k })
19041
+ setActionMode: (T, I) => Zn({ chart: h, actionMode: T, cursorRange: I })
19043
19042
  };
19044
19043
  }
19045
19044
  function DA(t) {
@@ -19101,7 +19100,7 @@ function bc(t) {
19101
19100
  let i;
19102
19101
  if (e !== void 0 && t.layerFilterChangePolicy === bs.Refresh) {
19103
19102
  const a = mt(e), o = Ws(a);
19104
- i = oi.watch(
19103
+ i = ai.watch(
19105
19104
  () => o.definitionExpression,
19106
19105
  () => {
19107
19106
  t.refresh({ updateData: !0, resetAxesBounds: !0 });
@@ -19115,7 +19114,7 @@ function yc(t) {
19115
19114
  let o;
19116
19115
  if (e !== void 0 && t.layerRendererChangePolicy === ys.Refresh) {
19117
19116
  const n = mt(e);
19118
- o = oi.watch(
19117
+ o = ai.watch(
19119
19118
  () => n.renderer,
19120
19119
  () => {
19121
19120
  if (wi(a)) {
@@ -19133,11 +19132,11 @@ async function RA(t) {
19133
19132
  if (e !== void 0 && n !== void 0) {
19134
19133
  const r = await gs({ chartConfig: n, view: e, layer: i, filterByExtent: o });
19135
19134
  if (Ra(r)) {
19136
- await oi.whenOnce(() => !r.updating);
19135
+ await ai.whenOnce(() => !r.updating);
19137
19136
  const l = async () => {
19138
- t.filterByExtent && e.stationary && (r.updating && await oi.whenOnce(() => !r.updating), await t.refresh({ updateData: !0, resetAxesBounds: !0 }));
19137
+ t.filterByExtent && e.stationary && (r.updating && await ai.whenOnce(() => !r.updating), await t.refresh({ updateData: !0, resetAxesBounds: !0 }));
19139
19138
  };
19140
- s = [], s.push(oi.when(() => e.stationary, l)), s.push(oi.when(() => !r.dataUpdating, l)), await l();
19139
+ s = [], s.push(ai.when(() => e.stationary, l)), s.push(ai.when(() => !r.dataUpdating, l)), await l();
19141
19140
  }
19142
19141
  }
19143
19142
  return s;
@@ -19145,7 +19144,7 @@ async function RA(t) {
19145
19144
  function BA(t) {
19146
19145
  const { view: e, model: i } = t, a = po(i) ? i.config : i, o = E(a?.series);
19147
19146
  let n;
19148
- return e !== void 0 && t.viewTimeExtentChangePolicy === qo.Refresh && o !== b.HistogramSeries && (n = oi.watch(
19147
+ return e !== void 0 && t.viewTimeExtentChangePolicy === qo.Refresh && o !== b.HistogramSeries && (n = ai.watch(
19149
19148
  () => e.timeExtent,
19150
19149
  () => {
19151
19150
  t.refresh({ updateData: !0 });
@@ -19157,7 +19156,7 @@ function Sc(t) {
19157
19156
  let i;
19158
19157
  if (e !== void 0 && t.layerFieldsChangePolicy === Ss.Refresh) {
19159
19158
  const a = mt(e), o = Ws(a);
19160
- i = oi.watch(
19159
+ i = ai.watch(
19161
19160
  /**
19162
19161
  * array objects need to be passed in as an array to watch. it's a requirement from the watch function's design.
19163
19162
  * https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html#watch
@@ -19173,7 +19172,7 @@ function Sc(t) {
19173
19172
  function xc(t) {
19174
19173
  const { view: e } = t;
19175
19174
  let i;
19176
- return e !== void 0 && "selectionManager" in e && "selections" in e.selectionManager && (i = oi.watch(
19175
+ return e !== void 0 && "selectionManager" in e && "selections" in e.selectionManager && (i = ai.watch(
19177
19176
  // TODO: remove the as any -> @arcgis/core issue - https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/62859#issuecomment-5394936
19178
19177
  () => e.selectionManager.selections,
19179
19178
  (a) => {
@@ -19382,7 +19381,7 @@ class PA extends Am {
19382
19381
  allowUsingObjectIdStat: o?.allowUsingObjectIdStat
19383
19382
  });
19384
19383
  let g;
19385
- s && f.valid && (Ra(i) && await oi.whenOnce(() => !i.updating), g = await rl({
19384
+ s && f.valid && (Ra(i) && await ai.whenOnce(() => !i.updating), g = await rl({
19386
19385
  chartConfig: d,
19387
19386
  queryObject: i,
19388
19387
  options: l,
@@ -19474,7 +19473,7 @@ class PA extends Am {
19474
19473
  closable: !1
19475
19474
  }) : i.warnings.length > 0 && i.warnings.some((n) => n.keyword === rg.NonNumericAggregation) && this.notify(a?.validateAggregationTypeMsg, a?.missingNumericFields, {
19476
19475
  closable: !1
19477
- })), (ih(this._model) || ah(this._model)) && this._model.aggregationType === Gt.NoAggregation && this._model.numericFields.length === 1 && this.layer) {
19476
+ })), (ih(this._model) || ah(this._model)) && this._model.aggregationType === Ht.NoAggregation && this._model.numericFields.length === 1 && this.layer) {
19478
19477
  const o = Vo(this.layer).objectIdField;
19479
19478
  this._model.numericFields.includes(o) && this.notify(a?.noAggregationRequiresNumericFields, a?.missingNumericFields, {
19480
19479
  closable: !1