mixdashboards 1.0.32 → 1.0.39

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 (413) hide show
  1. package/dist/CoordinateSystem-BMkAxlii.js +6 -0
  2. package/dist/CoordinateSystem-DWnjjFwb.cjs +1 -0
  3. package/dist/EChartComponentBase-BQOhWkz2.js +114 -0
  4. package/dist/EChartComponentBase-BaQpBzVC.cjs +1 -0
  5. package/dist/LegendVisualProvider-BDw4_0K3.cjs +1 -0
  6. package/dist/LegendVisualProvider-BP9kA8co.js +44 -0
  7. package/dist/MarkerView-BG_nYESR.cjs +1 -0
  8. package/dist/MarkerView-CtWJi5UZ.js +192 -0
  9. package/dist/RoamController--cgD3aNm.cjs +1 -0
  10. package/dist/RoamController-DmBIwcAZ.js +124 -0
  11. package/dist/UniverSheet-KlvmL1Yw.cjs +1 -0
  12. package/dist/UniverSheet-MSHzUXq0.js +180 -0
  13. package/dist/VisualMapping-D-MA7S0X.js +260 -0
  14. package/dist/VisualMapping-MilpZvD_.cjs +1 -0
  15. package/dist/accelerationChart-B1HPMmd2.js +577 -0
  16. package/dist/accelerationChart-DZj2V2vD.cjs +6 -0
  17. package/dist/actionItem-BYCPoQK7.cjs +1 -0
  18. package/dist/actionItem-Bb2xiYlY.js +686 -0
  19. package/dist/alarmLevelChart-Bb0mAbwQ.cjs +2 -0
  20. package/dist/alarmLevelChart-CCioESvL.js +182 -0
  21. package/dist/alertTable-CQwr8YYt.js +301 -0
  22. package/dist/alertTable-oaX5eJC0.cjs +1 -0
  23. package/dist/annualRainfallChart-C21jEMBe.js +185 -0
  24. package/dist/annualRainfallChart-pO8q6aUJ.cjs +1 -0
  25. package/dist/api-C0GhBpqd.js +125 -0
  26. package/dist/api-P_s372dW.cjs +1 -0
  27. package/dist/aqi-DlY2r7OA.cjs +3 -0
  28. package/dist/aqi-iLwQH4rc.js +145 -0
  29. package/dist/aqiIndass-BaIVBfdC.cjs +3 -0
  30. package/dist/aqiIndass-DBeVSBdy.js +301 -0
  31. package/dist/arrayCard-DNNUEPvW.js +93 -0
  32. package/dist/arrayCard-OlVAAsZq.cjs +1 -0
  33. package/dist/audio-CAP4D-J2.js +301 -0
  34. package/dist/audio-CThzVIDU.cjs +1 -0
  35. package/dist/axisAlignTicks-BqVUa467.js +481 -0
  36. package/dist/axisAlignTicks-CDNWKJRo.cjs +1 -0
  37. package/dist/bar-BjR566__.cjs +2 -0
  38. package/dist/bar-D8C06GO4.js +232 -0
  39. package/dist/bmp-Cjizh2x6.js +226 -0
  40. package/dist/bmp-DsmTzyce.cjs +1 -0
  41. package/dist/box-DqewT3MF.js +352 -0
  42. package/dist/box-qgu_67OD.cjs +1 -0
  43. package/dist/chartConfigPanel-BiQArCoQ.cjs +1 -0
  44. package/dist/chartConfigPanel-DwAUq3pf.js +408 -0
  45. package/dist/circleBar-CO89T7kj.cjs +4 -0
  46. package/dist/circleBar-DGHDWQih.js +196 -0
  47. package/dist/clock-32hGccm4.cjs +1 -0
  48. package/dist/clock-CT8YXEU3.js +274 -0
  49. package/dist/clt-5bP_g1O-.cjs +1 -0
  50. package/dist/clt-FfIEfGtn.js +293 -0
  51. package/dist/cmc-B2nQFZIS.js +269 -0
  52. package/dist/cmc-dbuLkE8o.cjs +1 -0
  53. package/dist/cmp-QQlYcnqo.js +378 -0
  54. package/dist/cmp-l3U9fIrz.cjs +6 -0
  55. package/dist/composite-CbsUYl-u.js +136 -0
  56. package/dist/composite-Cf24lSyN.cjs +1 -0
  57. package/dist/composite-DjhrBgG1.js +323 -0
  58. package/dist/composite-DlY2_x6P.cjs +3 -0
  59. package/dist/config-BLSroAzs.cjs +1 -0
  60. package/dist/config-Cc2W4vke.js +9 -0
  61. package/dist/controlList-BdF8xNAi.js +879 -0
  62. package/dist/controlList-De6PXdOc.cjs +1 -0
  63. package/dist/controlRecordList-CKpAr1ON.js +421 -0
  64. package/dist/controlRecordList-u5a7chIX.cjs +1 -0
  65. package/dist/crd-BVAf41oX.js +113 -0
  66. package/dist/crd-BoaXQhFQ.cjs +1 -0
  67. package/dist/createSeriesData-Cz83cqoZ.cjs +1 -0
  68. package/dist/createSeriesData-E53TTCAt.js +116 -0
  69. package/dist/createSeriesDataSimply-Bsly4zZA.js +14 -0
  70. package/dist/createSeriesDataSimply-CjfZL_jf.cjs +1 -0
  71. package/dist/ctrBtn-C9kQiqY1.cjs +1 -0
  72. package/dist/ctrBtn-ZPRYWE66.js +215 -0
  73. package/dist/ctrSet-C87dxLfQ.js +247 -0
  74. package/dist/ctrSet-CNCrnLSs.cjs +1 -0
  75. package/dist/ctrSwitch-CVEtbdfb.cjs +1 -0
  76. package/dist/ctrSwitch-CkC_Axtp.js +207 -0
  77. package/dist/cursorHelper-DE0KU4_J.js +29 -0
  78. package/dist/cursorHelper-DsTR8jVF.cjs +1 -0
  79. package/dist/customGraphicKeyframeAnimation-BJ_z0kB3.js +330 -0
  80. package/dist/customGraphicKeyframeAnimation-CEIvOjMs.cjs +1 -0
  81. package/dist/dataManagement-CjlNfeYq.js +672 -0
  82. package/dist/dataManagement-n711sd1g.cjs +1 -0
  83. package/dist/dataReport-BsVjW3p7.cjs +4 -0
  84. package/dist/dataReport-ByjswEqq.js +787 -0
  85. package/dist/dataSample-BXwc06Sb.js +114 -0
  86. package/dist/dataSample-D4ycwmll.cjs +1 -0
  87. package/dist/dataTable-DX500R1i.js +217 -0
  88. package/dist/dataTable-K7j4fhnq.cjs +1 -0
  89. package/dist/datetime-DVbJtALf.js +113 -0
  90. package/dist/datetime-DYXWKrXI.cjs +1 -0
  91. package/dist/deepClusterSlipSurface-B7nkEM9A.cjs +1 -0
  92. package/dist/deepClusterSlipSurface-CQUE05cK.js +372 -0
  93. package/dist/deepDataMatrix-DHZA0IAm.cjs +1 -0
  94. package/dist/deepDataMatrix-ai5rB6ET.js +238 -0
  95. package/dist/deepDisplacement3D-BFqKqSYg.cjs +4289 -0
  96. package/dist/deepDisplacement3D-BsUzvbQb.js +26052 -0
  97. package/dist/deepDisplacementChart-2JZNrhrw.cjs +5 -0
  98. package/dist/deepDisplacementChart-BCIuCMdK.js +585 -0
  99. package/dist/deepDisplacementChart-Ba67v6um.cjs +6 -0
  100. package/dist/deepDisplacementChart-igl4rW1K.js +340 -0
  101. package/dist/deepDisplacementView-BedWJsx7.js +231 -0
  102. package/dist/deepDisplacementView-wQxyKzB-.cjs +8 -0
  103. package/dist/deepNodeTemperatureChart-DLeb9jKp.js +347 -0
  104. package/dist/deepNodeTemperatureChart-albL8hKa.cjs +1 -0
  105. package/dist/deepTangentAngleChart-C6xOiITk.js +420 -0
  106. package/dist/deepTangentAngleChart-DukevXaM.cjs +1 -0
  107. package/dist/deepTemperatureField-B-y94GPV.js +398 -0
  108. package/dist/deepTemperatureField-De4xKoHw.cjs +1 -0
  109. package/dist/deepTrendChart-DCkV2HNv.js +345 -0
  110. package/dist/deepTrendChart-MmuYSXtu.cjs +1 -0
  111. package/dist/deviceOnlineStatus-B5cCjhNA.cjs +2 -0
  112. package/dist/deviceOnlineStatus-CFuCTx7_.js +178 -0
  113. package/dist/deviceStatus-B2ibBDSi.js +194 -0
  114. package/dist/deviceStatus-DsEtKiGo.cjs +1 -0
  115. package/dist/displacementDataTable-BDqG1IvI.js +256 -0
  116. package/dist/displacementDataTable-oLnUdafv.cjs +1 -0
  117. package/dist/displacementTrajectoryChart-CBhPwZhe.cjs +22 -0
  118. package/dist/displacementTrajectoryChart-Crf55oKi.js +597 -0
  119. package/dist/displacementTrendChart-10n_lC9j.js +364 -0
  120. package/dist/displacementTrendChart-CWihCuIJ.cjs +5 -0
  121. package/dist/dxf-D8zHpz5g.js +2768 -0
  122. package/dist/dxf-DDh_DcQy.cjs +1 -0
  123. package/dist/dzc-DLCdTCwW.js +144 -0
  124. package/dist/dzc-uNTDJqpi.cjs +2 -0
  125. package/dist/echarts-BB8O2KSA.cjs +21 -0
  126. package/dist/echarts-BVht3HHb.js +13787 -0
  127. package/dist/ele-aqi-icon-BMm9WgFH.cjs +1 -0
  128. package/dist/ele-aqi-icon-DsYfU5th.js +5 -0
  129. package/dist/ele-bar-icon-C-GiCs2a.js +5 -0
  130. package/dist/ele-bar-icon-V94clxg_.cjs +1 -0
  131. package/dist/ele-bmp-icon-BBI0-SX7.cjs +1 -0
  132. package/dist/ele-bmp-icon-Pdolk1J5.js +5 -0
  133. package/dist/ele-circleBar-icon-DNBUxt0A.js +5 -0
  134. package/dist/ele-circleBar-icon-Da0-L9sa.cjs +1 -0
  135. package/dist/ele-clt-icon-BEVOS7Tq.cjs +1 -0
  136. package/dist/ele-clt-icon-DuU4Q401.js +5 -0
  137. package/dist/ele-cmp-icon-CEP91RUe.js +5 -0
  138. package/dist/ele-cmp-icon-yUlU6c_Q.cjs +1 -0
  139. package/dist/ele-crd-icon-BXxB7P3T.js +5 -0
  140. package/dist/ele-crd-icon-BvNgAPKW.cjs +1 -0
  141. package/dist/ele-ctrSet-icon-BtKGrCid.js +5 -0
  142. package/dist/ele-ctrSet-icon-DCsPO0tL.cjs +1 -0
  143. package/dist/ele-dateTime-icon-BEGFlwID.js +5 -0
  144. package/dist/ele-dateTime-icon-BgZ2_KWW.cjs +1 -0
  145. package/dist/ele-dzc-icon-D6eVpaHp.js +5 -0
  146. package/dist/ele-dzc-icon-h5wOUHF0.cjs +1 -0
  147. package/dist/ele-evn-icon-DUQMS-9T.cjs +1 -0
  148. package/dist/ele-evn-icon-MWzAujnD.js +5 -0
  149. package/dist/ele-gag-icon-CB5dJeYF.js +5 -0
  150. package/dist/ele-gag-icon-Ce1hl9NI.cjs +1 -0
  151. package/dist/ele-glbModel-icon-ByACDCrv.cjs +1 -0
  152. package/dist/ele-glbModel-icon-l_SMi3ik.js +5 -0
  153. package/dist/ele-grd-icon-DR52zwGR.js +5 -0
  154. package/dist/ele-grd-icon-ZUb-megQ.cjs +1 -0
  155. package/dist/ele-gridview-icon-D3GcssP6.cjs +1 -0
  156. package/dist/ele-gridview-icon-cSd1oIDi.js +5 -0
  157. package/dist/ele-lin-icon-Dax-ZiWV.js +5 -0
  158. package/dist/ele-lin-icon-Dke_1AmT.cjs +1 -0
  159. package/dist/ele-lst-icon-CKpeRKmk.js +5 -0
  160. package/dist/ele-lst-icon-CrxnHZ-A.cjs +1 -0
  161. package/dist/ele-mxa-icon-CJWttkCK.js +5 -0
  162. package/dist/ele-mxa-icon-fgN0MLnh.cjs +1 -0
  163. package/dist/ele-rtn-icon-BrsJIU8J.cjs +1 -0
  164. package/dist/ele-rtn-icon-CqCKSHIw.js +5 -0
  165. package/dist/ele-textbox-icon-ClGaLi5p.js +5 -0
  166. package/dist/ele-textbox-icon-g_5kV8t6.cjs +1 -0
  167. package/dist/ele-vdo-icon-Bgp9gaT6.cjs +1 -0
  168. package/dist/ele-vdo-icon-DcWebTR5.js +5 -0
  169. package/dist/ele-vlu-icon-Bg6EHZdJ.js +5 -0
  170. package/dist/ele-vlu-icon-Dv-R7Xuc.cjs +1 -0
  171. package/dist/element-resize-detector-Bo5uDQAu.cjs +6 -0
  172. package/dist/element-resize-detector-DJcsrJ8s.js +1547 -0
  173. package/dist/evn-DuL5oVRl.cjs +1 -0
  174. package/dist/evn-YwCALVXj.js +116 -0
  175. package/dist/evolutionChart-4noZSdLX.js +406 -0
  176. package/dist/evolutionChart-AeL67MAt.cjs +1 -0
  177. package/dist/fileViewer-DiH3PM0r.js +415 -0
  178. package/dist/fileViewer-bsrjlJkC.cjs +1 -0
  179. package/dist/filterBar-CWEguwYc.js +394 -0
  180. package/dist/filterBar-Ct1BFhrS.cjs +1 -0
  181. package/dist/fireCombustionCurve-DYPC4zKJ.js +405 -0
  182. package/dist/fireCombustionCurve-DyiQn-WA.cjs +1 -0
  183. package/dist/fireFilterBar-Bdm2ljuO.cjs +1 -0
  184. package/dist/fireFilterBar-DGHPNTwF.js +221 -0
  185. package/dist/gag-HiNaL81R.cjs +1 -0
  186. package/dist/gag-kvkKzJuO.js +125 -0
  187. package/dist/glbModel-CUz6CyVF.js +2724 -0
  188. package/dist/glbModel-DtBI72ap.cjs +5 -0
  189. package/dist/gnssFilterBar-BQgY5x1W.cjs +1 -0
  190. package/dist/gnssFilterBar-TBtirXIB.js +310 -0
  191. package/dist/gnssHistoryTable-D1ZLJOgh.cjs +3 -0
  192. package/dist/gnssHistoryTable-U8O7nyO7.js +398 -0
  193. package/dist/gnssMapView-42zmAd9q.cjs +7 -0
  194. package/dist/gnssMapView-CaBfWeT1.js +699 -0
  195. package/dist/gnssTimeSeriesChart-BrXYvuh6.js +421 -0
  196. package/dist/gnssTimeSeriesChart-CV2w_Aik.cjs +1 -0
  197. package/dist/gnssXYTrajectory-BmzSYjQ_.cjs +5 -0
  198. package/dist/gnssXYTrajectory-D2DoYnze.js +304 -0
  199. package/dist/grd-B0GUjLm9.js +339 -0
  200. package/dist/grd-DW8cSFVR.cjs +1 -0
  201. package/dist/grdIndass-BeBXVsos.cjs +1 -0
  202. package/dist/grdIndass-DduUKZJm.js +216 -0
  203. package/dist/grg-CeX0pirQ.js +194 -0
  204. package/dist/grg-fnpcXtju.cjs +1 -0
  205. package/dist/gridview-BPwWXza9.js +183 -0
  206. package/dist/gridview-DpABhCIw.cjs +1 -0
  207. package/dist/groupCard-De1E15mW.js +132 -0
  208. package/dist/groupCard-WNE6gAAl.cjs +1 -0
  209. package/dist/headerBar-CZ3qcLHo.js +210 -0
  210. package/dist/headerBar-Qi1EXrr6.cjs +1 -0
  211. package/dist/{history-DigzRtjC.js → history-BkZhlpdY.js} +5 -3
  212. package/dist/history-DAmBl4_5.cjs +1 -0
  213. package/dist/index-ButoLLAe.js +8655 -0
  214. package/dist/index-Mh5Dw2sd.cjs +585 -0
  215. package/dist/index-kShjySl9.js +5313 -0
  216. package/dist/index-mAPVa0s4.cjs +11 -0
  217. package/dist/insarDeformChart-BGr2xe7w.cjs +1 -0
  218. package/dist/insarDeformChart-CnuSL1d9.js +216 -0
  219. package/dist/insarImageViewer-DRgGdQmN.cjs +1 -0
  220. package/dist/insarImageViewer-EmVThmVQ.js +268 -0
  221. package/dist/install-8XfFtnlL.js +853 -0
  222. package/dist/install-9_V0b6vf.js +497 -0
  223. package/dist/install-B0x4IqQr.js +1258 -0
  224. package/dist/install-B1IEhhn3.cjs +1 -0
  225. package/dist/install-B2TChEcT.js +895 -0
  226. package/dist/install-B65ZIqAx.cjs +1 -0
  227. package/dist/install-BBrAry2m.js +8 -0
  228. package/dist/install-BRjgycz_.cjs +1 -0
  229. package/dist/install-BUu5ESB7.js +447 -0
  230. package/dist/install-BamnGDPb.cjs +1 -0
  231. package/dist/install-BifpoHNI.js +1817 -0
  232. package/dist/install-BvOpNm0Y.cjs +1 -0
  233. package/dist/install-ByPD0oOh.cjs +1 -0
  234. package/dist/install-BzdOSCzO.js +785 -0
  235. package/dist/install-C8buXQPI.cjs +1 -0
  236. package/dist/install-C9Cdzkc6.js +265 -0
  237. package/dist/install-CBde4hAM.js +112 -0
  238. package/dist/install-CIT6k8Ga.cjs +1 -0
  239. package/dist/install-CYwVETsi.cjs +1 -0
  240. package/dist/install-C_3uGWLu.js +2328 -0
  241. package/dist/install-Ch5d8i37.cjs +1 -0
  242. package/dist/install-CltTFs4e.cjs +3 -0
  243. package/dist/install-Csxa7Kv7.cjs +18 -0
  244. package/dist/install-Cx1i_m0k.js +1168 -0
  245. package/dist/install-D1QM80AD.js +227 -0
  246. package/dist/install-D7znHb-b.js +604 -0
  247. package/dist/install-DHY9y86B.cjs +3 -0
  248. package/dist/install-DIlB2q7w.cjs +1 -0
  249. package/dist/install-DV5cEgNV.cjs +1 -0
  250. package/dist/install-DWm3j_D3.js +38 -0
  251. package/dist/install-FDYiy_gL.js +250 -0
  252. package/dist/install-LtoYukZU.cjs +1 -0
  253. package/dist/install-MS3ZY7fF.js +685 -0
  254. package/dist/install-hfre7yvV.js +727 -0
  255. package/dist/install-kGXY_57n.cjs +1 -0
  256. package/dist/install-nDY6w-GK.cjs +1 -0
  257. package/dist/install-oGjJ0_bF.js +588 -0
  258. package/dist/install-z6wShIZI.cjs +1 -0
  259. package/dist/installCanvasRenderer-CLT2hquJ.js +4260 -0
  260. package/dist/installCanvasRenderer-CyhM1Qpl.cjs +3 -0
  261. package/dist/installMarkArea-Cdg4iciO.js +206 -0
  262. package/dist/installMarkArea-CjyaJPLE.cjs +1 -0
  263. package/dist/installMarkLine-BgE0YACE.js +533 -0
  264. package/dist/installMarkLine-Bv53Iw9G.cjs +1 -0
  265. package/dist/installSimple-BWTCwMdY.js +586 -0
  266. package/dist/installSimple-c87Ufc4_.cjs +1 -0
  267. package/dist/kds-CpIQFgeY.js +1203 -0
  268. package/dist/kds-DTYWOq4K.cjs +3 -0
  269. package/dist/labelHelper-Cd8oB-sZ.js +26 -0
  270. package/dist/labelHelper-npJGYQ1j.cjs +1 -0
  271. package/dist/layerTabs-BATcBkTA.cjs +1 -0
  272. package/dist/layerTabs-uze6K91A.js +139 -0
  273. package/dist/lin-Ba6fHkYf.cjs +2 -0
  274. package/dist/lin-DU_EuPRg.js +239 -0
  275. package/dist/linIndass-XHKElG7L.js +273 -0
  276. package/dist/linIndass-urYe5inp.cjs +2 -0
  277. package/dist/lst-C7aee1cU.js +147 -0
  278. package/dist/lst-CpmoEQDY.cjs +1 -0
  279. package/dist/manualEntry-CJPiO5nh.cjs +1 -0
  280. package/dist/manualEntry-D9m_WPw3.js +662 -0
  281. package/dist/mapBackground-6g_71Fwa.js +6658 -0
  282. package/dist/mapBackground-CF_TqNBy.cjs +17 -0
  283. package/dist/mappingList-CR55Tq4t.cjs +1 -0
  284. package/dist/mappingList-luT5YE0d.js +917 -0
  285. package/dist/markdownViewer-CnguoUr8.js +261 -0
  286. package/dist/markdownViewer-D1hDk2Y7.cjs +3 -0
  287. package/dist/mix-control-modal-BDHAB4Tw.cjs +1 -0
  288. package/dist/mix-control-modal-CHiX3hQs.js +147 -0
  289. package/dist/mixDataPermission-BTA1jNd1.cjs +1 -0
  290. package/dist/mixDataPermission-BaqV0Z6N.js +760 -0
  291. package/dist/mixGrid-3BqQCvg8.cjs +1 -0
  292. package/dist/mixGrid-C0eEvwPy.js +180 -0
  293. package/dist/mixMap-7upgYwWk.js +258 -0
  294. package/dist/mixMap-Bw-We4Cm.cjs +1 -0
  295. package/dist/mixModel-BqE_Kd4c.js +245 -0
  296. package/dist/mixModel-CgV4XptM.cjs +3 -0
  297. package/dist/mixPie-9LfMCTQV.cjs +2 -0
  298. package/dist/mixPie-B-HeglUn.js +168 -0
  299. package/dist/mixdashboards.cjs +1 -1
  300. package/dist/mixdashboards.css +1 -1
  301. package/dist/mixdashboards.js +7 -7
  302. package/dist/mjpegCamera-Cfw3rzT5.js +158 -0
  303. package/dist/mjpegCamera-nxKfhobY.cjs +1 -0
  304. package/dist/monitorAlert-Bg5vzzyG.js +225 -0
  305. package/dist/monitorAlert-Bt0baNh4.cjs +1 -0
  306. package/dist/monitorData-BvAMeOrp.js +319 -0
  307. package/dist/monitorData-CzPVIk_4.cjs +1 -0
  308. package/dist/monitorSpeedChart-0bDuU3Kj.js +603 -0
  309. package/dist/monitorSpeedChart-C52QjA5K.cjs +16 -0
  310. package/dist/mxa-BW80xKCc.js +143 -0
  311. package/dist/mxa-eLAgZPMC.cjs +2 -0
  312. package/dist/no-image-icon-CPA7RKkF.cjs +1 -0
  313. package/dist/no-image-icon-n2ZlEjxS.js +1864 -0
  314. package/dist/objectList-Cf9GMyXN.js +1809 -0
  315. package/dist/objectList-CpqQxG8L.cjs +1 -0
  316. package/dist/params-3W3p8QeC.cjs +1 -0
  317. package/dist/params-DfgBemk0.js +75 -0
  318. package/dist/photo-BODEtaYh.cjs +1 -0
  319. package/dist/photo-BfLkWAo8.js +256 -0
  320. package/dist/pie-BDLg-Rls.js +199 -0
  321. package/dist/pie-DxoBrm0D.cjs +2 -0
  322. package/dist/points-DcRmizmA.cjs +1 -0
  323. package/dist/points-DkG9FRF9.js +277 -0
  324. package/dist/pressBtn-CXG1eSWC.js +242 -0
  325. package/dist/pressBtn-t0g4vk7s.cjs +1 -0
  326. package/dist/progressBar-BXaFKSCq.js +130 -0
  327. package/dist/progressBar-CJEWkZ42.cjs +1 -0
  328. package/dist/progressCircle-DpOI5D5z.js +168 -0
  329. package/dist/progressCircle-uQ7vaMKM.cjs +1 -0
  330. package/dist/qrcode-CX8aymYZ.js +814 -0
  331. package/dist/qrcode-DHCRfp0M.cjs +1 -0
  332. package/dist/raceBar-Cv0-0ogd.cjs +4 -0
  333. package/dist/raceBar-DFaH342G.js +197 -0
  334. package/dist/rad-CFswUTwi.cjs +1 -0
  335. package/dist/rad-NS2G_nMg.js +143 -0
  336. package/dist/rainfallFilterBar-BI45QvJm.cjs +1 -0
  337. package/dist/rainfallFilterBar-D_Ye_NeB.js +221 -0
  338. package/dist/rainfallTimeCurve-BHWqX47Q.js +443 -0
  339. package/dist/rainfallTimeCurve-Ke1JvSWq.cjs +1 -0
  340. package/dist/rangeLin-D6VZ2U3C.cjs +3 -0
  341. package/dist/rangeLin-GMYEgLeP.js +278 -0
  342. package/dist/request-BD0x5Hkt.js +75 -0
  343. package/dist/request-Bn100qAJ.cjs +1 -0
  344. package/dist/retainer1-D2XmjXYH.cjs +1 -0
  345. package/dist/retainer1-h-Whr2c9.js +290 -0
  346. package/dist/retainer2-ByQdiRjq.js +504 -0
  347. package/dist/retainer2-cF-trL2g.cjs +1 -0
  348. package/dist/riskRegionTable-CQxAkG7k.js +170 -0
  349. package/dist/riskRegionTable-cKnxra4_.cjs +1 -0
  350. package/dist/sankey-Bk1IcVJQ.js +171 -0
  351. package/dist/sankey-MRirEgU0.cjs +1 -0
  352. package/dist/sausage-DRCw7Qmr.cjs +1 -0
  353. package/dist/sausage-xU3hOdxD.js +30 -0
  354. package/dist/scd-BDRpzmsa.js +2577 -0
  355. package/dist/scd-J-mN3eI5.cjs +1 -0
  356. package/dist/sectorHelper-BFEnYqut.cjs +1 -0
  357. package/dist/sectorHelper-DIlWFMnU.js +18 -0
  358. package/dist/sideMenu-BgTMtnMq.js +225 -0
  359. package/dist/sideMenu-l8X2E00H.cjs +1 -0
  360. package/dist/slopeStability-BPf7m0fJ.cjs +1 -0
  361. package/dist/slopeStability-C5RqZ1im.js +331 -0
  362. package/dist/speedCurve-C3pK-zZy.js +394 -0
  363. package/dist/speedCurve-CluwNAZl.cjs +1 -0
  364. package/dist/staticLine-C6tGGXcN.cjs +1 -0
  365. package/dist/staticLine-DXWOLj15.js +362 -0
  366. package/dist/store-BJW2NQkK.cjs +5 -0
  367. package/dist/store-DzDtVfSX.js +1673 -0
  368. package/dist/swiper-DGqDoUkX.cjs +1 -0
  369. package/dist/swiper-IMlGje3t.js +128 -0
  370. package/dist/terminalConfigList-D6xDHsnb.cjs +1 -0
  371. package/dist/terminalConfigList-SAyXi-BK.js +1017 -0
  372. package/dist/terminalList-CjSHshiR.js +1211 -0
  373. package/dist/terminalList-ml2C18MY.cjs +1 -0
  374. package/dist/textbox-AQtCe25j.cjs +1 -0
  375. package/dist/textbox-BLV-SY8e.js +172 -0
  376. package/dist/three.module-DNVo041Q.cjs +3824 -0
  377. package/dist/three.module-DcOQNgKS.js +16561 -0
  378. package/dist/timeQueryBar-BeMu_DYr.js +155 -0
  379. package/dist/timeQueryBar-BuKakMy8.cjs +1 -0
  380. package/dist/timeSeries-DP5iZKVM.js +587 -0
  381. package/dist/timeSeries-DfGgFWiF.cjs +4 -0
  382. package/dist/timeSeriesCurve-B0Mw6eNK.cjs +1 -0
  383. package/dist/timeSeriesCurve-BSgtPqYw.js +463 -0
  384. package/dist/titleStyle-BT5GlpAb.js +49 -0
  385. package/dist/titleStyle-NSnz6cUg.cjs +1 -0
  386. package/dist/toggleBtn-Dh64vVWo.cjs +1 -0
  387. package/dist/toggleBtn-O2Y75Uen.js +249 -0
  388. package/dist/trajectoryConfigPanel--C1h3tK6.js +635 -0
  389. package/dist/trajectoryConfigPanel-P_Qa4omj.cjs +1 -0
  390. package/dist/trajectoryScatter-BbpbgNb8.cjs +1 -0
  391. package/dist/trajectoryScatter-VLrmImlq.js +525 -0
  392. package/dist/universalConfigPanel-C0lDSzOB.cjs +1 -0
  393. package/dist/universalConfigPanel-DBg76b4F.js +477 -0
  394. package/dist/universalTable-Bzq9VqzA.cjs +2 -0
  395. package/dist/universalTable-DGK02ywi.js +410 -0
  396. package/dist/universalTransition-Bv7ibBUh.js +988 -0
  397. package/dist/universalTransition-CIN_u2Cu.cjs +1 -0
  398. package/dist/video-CyRoSQf1.cjs +1 -0
  399. package/dist/video-DCzzaEmV.js +310 -0
  400. package/dist/videoMonitor-BjD-ZFS0.cjs +1 -0
  401. package/dist/videoMonitor-ByaQeIWR.js +241 -0
  402. package/dist/vlu-CYZjYHaV.cjs +1 -0
  403. package/dist/vlu-h-9twmCr.js +100 -0
  404. package/dist/vue-i18n-5Nahpzrm.js +2732 -0
  405. package/dist/vue-i18n-BvHMBi_b.cjs +5 -0
  406. package/dist/weather-B7B5E1EJ.cjs +1 -0
  407. package/dist/weather-C_aC0XJ1.js +94 -0
  408. package/dist/windLin-B7V4NUV8.js +1226 -0
  409. package/dist/windLin-DPNzX7JN.cjs +1 -0
  410. package/package.json +17 -10
  411. package/dist/history-fvcbbxGa.cjs +0 -1
  412. package/dist/index-B-aA7889.js +0 -154003
  413. package/dist/index-CdJ-j9Gj.cjs +0 -8893
@@ -0,0 +1,21 @@
1
+ "use strict";var as=function(e,t){return as=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},as(e,t)};function z(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");as(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Zp=(function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e})(),Kp=(function(){function e(){this.browser=new Zp,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window!="undefined"}return e})(),G=new Kp;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(G.wxa=!0,G.touchEventsSupported=!0):typeof document=="undefined"&&typeof self!="undefined"?G.worker=!0:!G.hasGlobalWindow||"Deno"in window?(G.node=!0,G.svgSupported=!0):Qp(navigator.userAgent,G);function Qp(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),i=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),a=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),i&&(r.ie=!0,r.version=i[1]),a&&(r.edge=!0,r.version=a[1],r.newEdge=+a[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect!="undefined",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document!="undefined";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}var eu=12,yh="sans-serif",Ut=eu+"px "+yh,Jp=20,jp=100,ed="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function td(e){var t={};if(typeof JSON=="undefined")return t;for(var r=0;r<e.length;r++){var n=String.fromCharCode(r+32),i=(e.charCodeAt(r)-Jp)/jp;t[n]=i}return t}var rd=td(ed),un={createCanvas:function(){return typeof document!="undefined"&&document.createElement("canvas")},measureText:(function(){var e,t;return function(r,n){if(!e){var i=un.createCanvas();e=i&&i.getContext("2d")}if(e)return t!==n&&(t=e.font=n||Ut),e.measureText(r);r=r||"",n=n||Ut;var a=/((?:\d+)?\.?\d*)px/.exec(n),o=a&&+a[1]||eu,s=0;if(n.indexOf("mono")>=0)s=o*r.length;else for(var u=0;u<r.length;u++){var l=rd[r[u]];s+=l==null?o:l*o}return{width:s}}})(),loadImage:function(e,t,r){var n=new Image;return n.onload=t,n.onerror=r,n.src=e,n}},_h=Mt(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(e,t){return e["[object "+t+"]"]=!0,e},{}),mh=Mt(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(e,t){return e["[object "+t+"Array]"]=!0,e},{}),ln=Object.prototype.toString,ba=Array.prototype,nd=ba.forEach,id=ba.filter,tu=ba.slice,ad=ba.map,Ju=function(){}.constructor,yi=Ju?Ju.prototype:null,ru="__proto__",od=2311;function Sh(){return od++}function Kn(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];typeof console!="undefined"&&console.error.apply(console,e)}function X(e){if(e==null||typeof e!="object")return e;var t=e,r=ln.call(e);if(r==="[object Array]"){if(!Vn(e)){t=[];for(var n=0,i=e.length;n<i;n++)t[n]=X(e[n])}}else if(mh[r]){if(!Vn(e)){var a=e.constructor;if(a.from)t=a.from(e);else{t=new a(e.length);for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}}}else if(!_h[r]&&!Vn(e)&&!Qn(e)){t={};for(var o in e)e.hasOwnProperty(o)&&o!==ru&&(t[o]=X(e[o]))}return t}function se(e,t,r){if(!O(t)||!O(e))return r?X(t):e;for(var n in t)if(t.hasOwnProperty(n)&&n!==ru){var i=e[n],a=t[n];O(a)&&O(i)&&!I(a)&&!I(i)&&!Qn(a)&&!Qn(i)&&!ju(a)&&!ju(i)&&!Vn(a)&&!Vn(i)?se(i,a,r):(r||!(n in e))&&(e[n]=X(t[n]))}return e}function sd(e,t){for(var r=e[0],n=1,i=e.length;n<i;n++)r=se(r,e[n],t);return r}function N(e,t){if(Object.assign)Object.assign(e,t);else for(var r in t)t.hasOwnProperty(r)&&r!==ru&&(e[r]=t[r]);return e}function pe(e,t,r){for(var n=ie(t),i=0,a=n.length;i<a;i++){var o=n[i];(r?t[o]!=null:e[o]==null)&&(e[o]=t[o])}return e}function ne(e,t){if(e){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r}return-1}function wh(e,t){var r=e.prototype;function n(){}n.prototype=t.prototype,e.prototype=new n;for(var i in r)r.hasOwnProperty(i)&&(e.prototype[i]=r[i]);e.prototype.constructor=e,e.superClass=t}function mt(e,t,r){if(e="prototype"in e?e.prototype:e,t="prototype"in t?t.prototype:t,Object.getOwnPropertyNames)for(var n=Object.getOwnPropertyNames(t),i=0;i<n.length;i++){var a=n[i];a!=="constructor"&&(r?t[a]!=null:e[a]==null)&&(e[a]=t[a])}else pe(e,t,r)}function Oe(e){return!e||typeof e=="string"?!1:typeof e.length=="number"}function D(e,t,r){if(e&&t)if(e.forEach&&e.forEach===nd)e.forEach(t,r);else if(e.length===+e.length)for(var n=0,i=e.length;n<i;n++)t.call(r,e[n],n,e);else for(var a in e)e.hasOwnProperty(a)&&t.call(r,e[a],a,e)}function Y(e,t,r){if(!e)return[];if(!t)return iu(e);if(e.map&&e.map===ad)return e.map(t,r);for(var n=[],i=0,a=e.length;i<a;i++)n.push(t.call(r,e[i],i,e));return n}function Mt(e,t,r,n){if(e&&t){for(var i=0,a=e.length;i<a;i++)r=t.call(n,r,e[i],i,e);return r}}function Qe(e,t,r){if(!e)return[];if(!t)return iu(e);if(e.filter&&e.filter===id)return e.filter(t,r);for(var n=[],i=0,a=e.length;i<a;i++)t.call(r,e[i],i,e)&&n.push(e[i]);return n}function ud(e,t,r){if(e&&t){for(var n=0,i=e.length;n<i;n++)if(t.call(r,e[n],n,e))return e[n]}}function ie(e){if(!e)return[];if(Object.keys)return Object.keys(e);var t=[];for(var r in e)e.hasOwnProperty(r)&&t.push(r);return t}function ld(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return function(){return e.apply(t,r.concat(tu.call(arguments)))}}var at=yi&&j(yi.bind)?yi.call.bind(yi.bind):ld;function Ca(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return function(){return e.apply(this,t.concat(tu.call(arguments)))}}function I(e){return Array.isArray?Array.isArray(e):ln.call(e)==="[object Array]"}function j(e){return typeof e=="function"}function V(e){return typeof e=="string"}function ea(e){return ln.call(e)==="[object String]"}function ae(e){return typeof e=="number"}function O(e){var t=typeof e;return t==="function"||!!e&&t==="object"}function ju(e){return!!_h[ln.call(e)]}function Me(e){return!!mh[ln.call(e)]}function Qn(e){return typeof e=="object"&&typeof e.nodeType=="number"&&typeof e.ownerDocument=="object"}function Da(e){return e.colorStops!=null}function fd(e){return e.image!=null}function Th(e){return ln.call(e)==="[object RegExp]"}function nu(e){return e!==e}function hd(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e.length;r<n;r++)if(e[r]!=null)return e[r]}function B(e,t){return e!=null?e:t}function Bn(e,t,r){return e!=null?e:t!=null?t:r}function iu(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return tu.apply(e,t)}function au(e){if(typeof e=="number")return[e,e,e,e];var t=e.length;return t===2?[e[0],e[1],e[0],e[1]]:t===3?[e[0],e[1],e[2],e[1]]:e}function k(e,t){if(!e)throw new Error(t)}function gt(e){return e==null?null:typeof e.trim=="function"?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var bh="__ec_primitive__";function ta(e){e[bh]=!0}function Vn(e){return e[bh]}var cd=(function(){function e(){this.data={}}return e.prototype.delete=function(t){var r=this.has(t);return r&&delete this.data[t],r},e.prototype.has=function(t){return this.data.hasOwnProperty(t)},e.prototype.get=function(t){return this.data[t]},e.prototype.set=function(t,r){return this.data[t]=r,this},e.prototype.keys=function(){return ie(this.data)},e.prototype.forEach=function(t){var r=this.data;for(var n in r)r.hasOwnProperty(n)&&t(r[n],n)},e})(),Ch=typeof Map=="function";function vd(){return Ch?new Map:new cd}var pd=(function(){function e(t){var r=I(t);this.data=vd();var n=this;t instanceof e?t.each(i):t&&D(t,i);function i(a,o){r?n.set(a,o):n.set(o,a)}}return e.prototype.hasKey=function(t){return this.data.has(t)},e.prototype.get=function(t){return this.data.get(t)},e.prototype.set=function(t,r){return this.data.set(t,r),r},e.prototype.each=function(t,r){this.data.forEach(function(n,i){t.call(r,n,i)})},e.prototype.keys=function(){var t=this.data.keys();return Ch?Array.from(t):t},e.prototype.removeKey=function(t){this.data.delete(t)},e})();function q(e){return new pd(e)}function Dh(e,t){for(var r=new e.constructor(e.length+t.length),n=0;n<e.length;n++)r[n]=e[n];for(var i=e.length,n=0;n<t.length;n++)r[n+i]=t[n];return r}function Ea(e,t){var r;if(Object.create)r=Object.create(e);else{var n=function(){};n.prototype=e,r=new n}return t&&N(r,t),r}function dd(e){var t=e.style;t.webkitUserSelect="none",t.userSelect="none",t.webkitTapHighlightColor="rgba(0,0,0,0)",t["-webkit-touch-callout"]="none"}function Gt(e,t){return e.hasOwnProperty(t)}function He(){}var Gi=180/Math.PI;function Ar(e,t){return e==null&&(e=0),t==null&&(t=0),[e,t]}function gd(e,t){return e[0]=t[0],e[1]=t[1],e}function Eh(e){return[e[0],e[1]]}function yd(e,t,r){return e[0]=t,e[1]=r,e}function el(e,t,r){return e[0]=t[0]+r[0],e[1]=t[1]+r[1],e}function _d(e,t,r,n){return e[0]=t[0]+r[0]*n,e[1]=t[1]+r[1]*n,e}function Mh(e,t,r){return e[0]=t[0]-r[0],e[1]=t[1]-r[1],e}function Ph(e){return Math.sqrt(md(e))}function md(e){return e[0]*e[0]+e[1]*e[1]}function Yi(e,t,r){return e[0]=t[0]*r,e[1]=t[1]*r,e}function Rh(e,t){var r=Ph(t);return r===0?(e[0]=0,e[1]=0):(e[0]=t[0]/r,e[1]=t[1]/r),e}function os(e,t){return Math.sqrt((e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1]))}var Ah=os;function Sd(e,t){return(e[0]-t[0])*(e[0]-t[0])+(e[1]-t[1])*(e[1]-t[1])}var wr=Sd;function wd(e,t,r,n){return e[0]=t[0]+n*(r[0]-t[0]),e[1]=t[1]+n*(r[1]-t[1]),e}function Tr(e,t,r){var n=t[0],i=t[1];return e[0]=r[0]*n+r[2]*i+r[4],e[1]=r[1]*n+r[3]*i+r[5],e}function dr(e,t,r){return e[0]=Math.min(t[0],r[0]),e[1]=Math.min(t[1],r[1]),e}function gr(e,t,r){return e[0]=Math.max(t[0],r[0]),e[1]=Math.max(t[1],r[1]),e}var Ir=(function(){function e(t,r){this.target=t,this.topTarget=r&&r.topTarget}return e})(),Td=(function(){function e(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return e.prototype._dragStart=function(t){for(var r=t.target;r&&!r.draggable;)r=r.parent||r.__hostTarget;r&&(this._draggingTarget=r,r.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new Ir(r,t),"dragstart",t.event))},e.prototype._drag=function(t){var r=this._draggingTarget;if(r){var n=t.offsetX,i=t.offsetY,a=n-this._x,o=i-this._y;this._x=n,this._y=i,r.drift(a,o,t),this.handler.dispatchToElement(new Ir(r,t),"drag",t.event);var s=this.handler.findHover(n,i,r).target,u=this._dropTarget;this._dropTarget=s,r!==s&&(u&&s!==u&&this.handler.dispatchToElement(new Ir(u,t),"dragleave",t.event),s&&s!==u&&this.handler.dispatchToElement(new Ir(s,t),"dragenter",t.event))}},e.prototype._dragEnd=function(t){var r=this._draggingTarget;r&&(r.dragging=!1),this.handler.dispatchToElement(new Ir(r,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new Ir(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},e})(),St=(function(){function e(t){t&&(this._$eventProcessor=t)}return e.prototype.on=function(t,r,n,i){this._$handlers||(this._$handlers={});var a=this._$handlers;if(typeof r=="function"&&(i=n,n=r,r=null),!n||!t)return this;var o=this._$eventProcessor;r!=null&&o&&o.normalizeQuery&&(r=o.normalizeQuery(r)),a[t]||(a[t]=[]);for(var s=0;s<a[t].length;s++)if(a[t][s].h===n)return this;var u={h:n,query:r,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=a[t].length-1,f=a[t][l];return f&&f.callAtLast?a[t].splice(l,0,u):a[t].push(u),this},e.prototype.isSilent=function(t){var r=this._$handlers;return!r||!r[t]||!r[t].length},e.prototype.off=function(t,r){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(r){if(n[t]){for(var i=[],a=0,o=n[t].length;a<o;a++)n[t][a].h!==r&&i.push(n[t][a]);n[t]=i}n[t]&&n[t].length===0&&delete n[t]}else delete n[t];return this},e.prototype.trigger=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],a=this._$eventProcessor;if(i)for(var o=r.length,s=i.length,u=0;u<s;u++){var l=i[u];if(!(a&&a.filter&&l.query!=null&&!a.filter(t,l.query)))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,r[0]);break;case 2:l.h.call(l.ctx,r[0],r[1]);break;default:l.h.apply(l.ctx,r);break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e.prototype.triggerWithContext=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],a=this._$eventProcessor;if(i)for(var o=r.length,s=r[o-1],u=i.length,l=0;l<u;l++){var f=i[l];if(!(a&&a.filter&&f.query!=null&&!a.filter(t,f.query)))switch(o){case 0:f.h.call(s);break;case 1:f.h.call(s,r[0]);break;case 2:f.h.call(s,r[0],r[1]);break;default:f.h.apply(s,r.slice(1,o-1));break}}return a&&a.afterTrigger&&a.afterTrigger(t),this},e})(),bd=Math.log(2);function ss(e,t,r,n,i,a){var o=n+"-"+i,s=e.length;if(a.hasOwnProperty(o))return a[o];if(t===1){var u=Math.round(Math.log((1<<s)-1&~i)/bd);return e[r][u]}for(var l=n|1<<r,f=r+1;n&1<<f;)f++;for(var h=0,v=0,c=0;v<s;v++){var p=1<<v;p&i||(h+=(c%2?-1:1)*e[r][v]*ss(e,t-1,f,l,i|p,a),c++)}return a[o]=h,h}function tl(e,t){var r=[[e[0],e[1],1,0,0,0,-t[0]*e[0],-t[0]*e[1]],[0,0,0,e[0],e[1],1,-t[1]*e[0],-t[1]*e[1]],[e[2],e[3],1,0,0,0,-t[2]*e[2],-t[2]*e[3]],[0,0,0,e[2],e[3],1,-t[3]*e[2],-t[3]*e[3]],[e[4],e[5],1,0,0,0,-t[4]*e[4],-t[4]*e[5]],[0,0,0,e[4],e[5],1,-t[5]*e[4],-t[5]*e[5]],[e[6],e[7],1,0,0,0,-t[6]*e[6],-t[6]*e[7]],[0,0,0,e[6],e[7],1,-t[7]*e[6],-t[7]*e[7]]],n={},i=ss(r,8,0,0,0,n);if(i!==0){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)a[s]==null&&(a[s]=0),a[s]+=((o+s)%2?-1:1)*ss(r,7,o===0?1:0,1<<o,1<<s,n)/i*t[o];return function(u,l,f){var h=l*a[6]+f*a[7]+1;u[0]=(l*a[0]+f*a[1]+a[2])/h,u[1]=(l*a[3]+f*a[4]+a[5])/h}}}var rl="___zrEVENTSAVED",io=[];function Cd(e,t,r,n,i){return us(io,t,n,i,!0)&&us(e,r,io[0],io[1])}function us(e,t,r,n,i){if(t.getBoundingClientRect&&G.domSupported&&!Nh(t)){var a=t[rl]||(t[rl]={}),o=Dd(t,a),s=Ed(o,a,i);if(s)return s(e,r,n),!0}return!1}function Dd(e,t){var r=t.markers;if(r)return r;r=t.markers=[];for(var n=["left","right"],i=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=o.style,u=a%2,l=(a>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[u]+":0",i[l]+":0",n[1-u]+":auto",i[1-l]+":auto",""].join("!important;"),e.appendChild(o),r.push(o)}return r}function Ed(e,t,r){for(var n=r?"invTrans":"trans",i=t[n],a=t.srcCoords,o=[],s=[],u=!0,l=0;l<4;l++){var f=e[l].getBoundingClientRect(),h=2*l,v=f.left,c=f.top;o.push(v,c),u=u&&a&&v===a[h]&&c===a[h+1],s.push(e[l].offsetLeft,e[l].offsetTop)}return u&&i?i:(t.srcCoords=o,t[n]=r?tl(s,o):tl(o,s))}function Nh(e){return e.nodeName.toUpperCase()==="CANVAS"}var Md=/([&<>"'])/g,Pd={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function Ne(e){return e==null?"":(e+"").replace(Md,function(t,r){return Pd[r]})}var Rd=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ao=[],Ad=G.browser.firefox&&+G.browser.version.split(".")[0]<39;function ls(e,t,r,n){return r=r||{},n?nl(e,t,r):Ad&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):nl(e,t,r),r}function nl(e,t,r){if(G.domSupported&&e.getBoundingClientRect){var n=t.clientX,i=t.clientY;if(Nh(e)){var a=e.getBoundingClientRect();r.zrX=n-a.left,r.zrY=i-a.top;return}else if(us(ao,e,n,i)){r.zrX=ao[0],r.zrY=ao[1];return}}r.zrX=r.zrY=0}function ou(e){return e||window.event}function $e(e,t,r){if(t=ou(t),t.zrX!=null)return t;var n=t.type,i=n&&n.indexOf("touch")>=0;if(i){var o=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&ls(e,o,t,r)}else{ls(e,t,t,r);var a=Nd(t);t.zrDelta=a?a/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&Rd.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function Nd(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,n=e.deltaY;if(r==null||n==null)return t;var i=Math.abs(n!==0?n:r),a=n>0?-1:n<0?1:r>0?-1:1;return 3*i*a}function xh(e,t,r,n){e.addEventListener(t,r,n)}function xd(e,t,r,n){e.removeEventListener(t,r,n)}var Lh=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function Ld(e){return e.which===2||e.which===3}var Id=(function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,n){return this._doTrack(t,r,n),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,n){var i=t.touches;if(i){for(var a={points:[],touches:[],target:r,event:t},o=0,s=i.length;o<s;o++){var u=i[o],l=ls(n,u,{});a.points.push([l.zrX,l.zrY]),a.touches.push(u)}this._track.push(a)}},e.prototype._recognize=function(t){for(var r in oo)if(oo.hasOwnProperty(r)){var n=oo[r](this._track,t);if(n)return n}},e})();function il(e){var t=e[1][0]-e[0][0],r=e[1][1]-e[0][1];return Math.sqrt(t*t+r*r)}function Od(e){return[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]}var oo={pinch:function(e,t){var r=e.length;if(r){var n=(e[r-1]||{}).points,i=(e[r-2]||{}).points||n;if(i&&i.length>1&&n&&n.length>1){var a=il(n)/il(i);!isFinite(a)&&(a=1),t.pinchScale=a;var o=Od(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function br(){return[1,0,0,1,0,0]}function su(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function uu(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function zn(e,t,r){var n=t[0]*r[0]+t[2]*r[1],i=t[1]*r[0]+t[3]*r[1],a=t[0]*r[2]+t[2]*r[3],o=t[1]*r[2]+t[3]*r[3],s=t[0]*r[4]+t[2]*r[5]+t[4],u=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=n,e[1]=i,e[2]=a,e[3]=o,e[4]=s,e[5]=u,e}function fs(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function Ih(e,t,r,n){n===void 0&&(n=[0,0]);var i=t[0],a=t[2],o=t[4],s=t[1],u=t[3],l=t[5],f=Math.sin(r),h=Math.cos(r);return e[0]=i*h+s*f,e[1]=-i*f+s*h,e[2]=a*h+u*f,e[3]=-a*f+h*u,e[4]=h*(o-n[0])+f*(l-n[1])+n[0],e[5]=h*(l-n[1])-f*(o-n[0])+n[1],e}function Oh(e,t,r){var n=r[0],i=r[1];return e[0]=t[0]*n,e[1]=t[1]*i,e[2]=t[2]*n,e[3]=t[3]*i,e[4]=t[4]*n,e[5]=t[5]*i,e}function lu(e,t){var r=t[0],n=t[2],i=t[4],a=t[1],o=t[3],s=t[5],u=r*o-a*n;return u?(u=1/u,e[0]=o*u,e[1]=-a*u,e[2]=-n*u,e[3]=r*u,e[4]=(n*s-o*i)*u,e[5]=(a*i-r*s)*u,e):null}function Fd(e){var t=br();return uu(t,e),t}var Z=(function(){function e(t,r){this.x=t||0,this.y=r||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,r){return this.x=t,this.y=r,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var r=this.x-t.x,n=this.y-t.y;return Math.sqrt(r*r+n*n)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,n=this.y-t.y;return r*r+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(t){var r=this.x,n=this.y;return this.x=t[0]*r+t[2]*n+t[4],this.y=t[1]*r+t[3]*n+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,r,n){t.x=r,t.y=n},e.copy=function(t,r){t.x=r.x,t.y=r.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,n){t.x=r.x+n.x,t.y=r.y+n.y},e.sub=function(t,r,n){t.x=r.x-n.x,t.y=r.y-n.y},e.scale=function(t,r,n){t.x=r.x*n,t.y=r.y*n},e.scaleAndAdd=function(t,r,n,i){t.x=r.x+n.x*i,t.y=r.y+n.y*i},e.lerp=function(t,r,n,i){var a=1-i;t.x=a*r.x+i*n.x,t.y=a*r.y+i*n.y},e})(),_i=Math.min,mi=Math.max,Zt=new Z,Kt=new Z,Qt=new Z,Jt=new Z,dn=new Z,gn=new Z,Q=(function(){function e(t,r,n,i){n<0&&(t=t+n,n=-n),i<0&&(r=r+i,i=-i),this.x=t,this.y=r,this.width=n,this.height=i}return e.prototype.union=function(t){var r=_i(t.x,this.x),n=_i(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mi(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=mi(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=r,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var r=this,n=t.width/r.width,i=t.height/r.height,a=br();return fs(a,a,[-r.x,-r.y]),Oh(a,a,[n,i]),fs(a,a,[t.x,t.y]),a},e.prototype.intersect=function(t,r){if(!t)return!1;t instanceof e||(t=e.create(t));var n=this,i=n.x,a=n.x+n.width,o=n.y,s=n.y+n.height,u=t.x,l=t.x+t.width,f=t.y,h=t.y+t.height,v=!(a<u||l<i||s<f||h<o);if(r){var c=1/0,p=0,y=Math.abs(a-u),d=Math.abs(l-i),g=Math.abs(s-f),_=Math.abs(h-o),m=Math.min(y,d),S=Math.min(g,_);a<u||l<i?m>p&&(p=m,y<d?Z.set(gn,-y,0):Z.set(gn,d,0)):m<c&&(c=m,y<d?Z.set(dn,y,0):Z.set(dn,-d,0)),s<f||h<o?S>p&&(p=S,g<_?Z.set(gn,0,-g):Z.set(gn,0,_)):m<c&&(c=m,g<_?Z.set(dn,0,g):Z.set(dn,0,-_))}return r&&Z.copy(r,v?dn:gn),v},e.prototype.contain=function(t,r){var n=this;return t>=n.x&&t<=n.x+n.width&&r>=n.y&&r<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,r){t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height},e.applyTransform=function(t,r,n){if(!n){t!==r&&e.copy(t,r);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var i=n[0],a=n[3],o=n[4],s=n[5];t.x=r.x*i+o,t.y=r.y*a+s,t.width=r.width*i,t.height=r.height*a,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Zt.x=Qt.x=r.x,Zt.y=Jt.y=r.y,Kt.x=Jt.x=r.x+r.width,Kt.y=Qt.y=r.y+r.height,Zt.transform(n),Jt.transform(n),Kt.transform(n),Qt.transform(n),t.x=_i(Zt.x,Kt.x,Qt.x,Jt.x),t.y=_i(Zt.y,Kt.y,Qt.y,Jt.y);var u=mi(Zt.x,Kt.x,Qt.x,Jt.x),l=mi(Zt.y,Kt.y,Qt.y,Jt.y);t.width=u-t.x,t.height=l-t.y},e})(),Fh="silent";function kd(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:Bd}}function Bd(){Lh(this.event)}var Vd=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t})(St),yn=(function(){function e(t,r){this.x=t,this.y=r}return e})(),zd=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],so=new Q(0,0,0,0),kh=(function(e){z(t,e);function t(r,n,i,a,o){var s=e.call(this)||this;return s._hovered=new yn(0,0),s.storage=r,s.painter=n,s.painterRoot=a,s._pointerSize=o,i=i||new Vd,s.proxy=null,s.setHandlerProxy(i),s._draggingMgr=new Td(s),s}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(D(zd,function(n){r.on&&r.on(n,this[n],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var n=r.zrX,i=r.zrY,a=Bh(this,n,i),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var u=this._hovered=a?new yn(n,i):this.findHover(n,i),l=u.target,f=this.proxy;f.setCursor&&f.setCursor(l?l.cursor:"default"),s&&l!==s&&this.dispatchToElement(o,"mouseout",r),this.dispatchToElement(u,"mousemove",r),l&&l!==s&&this.dispatchToElement(u,"mouseover",r)},t.prototype.mouseout=function(r){var n=r.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new yn(0,0)},t.prototype.dispatch=function(r,n){var i=this[r];i&&i.call(this,n)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var n=this.proxy;n.setCursor&&n.setCursor(r)},t.prototype.dispatchToElement=function(r,n,i){r=r||{};var a=r.target;if(!(a&&a.silent)){for(var o="on"+n,s=kd(n,r,i);a&&(a[o]&&(s.cancelBubble=!!a[o].call(a,s)),a.trigger(n,s),a=a.__hostTarget?a.__hostTarget:a.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(n,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(u){typeof u[o]=="function"&&u[o].call(u,s),u.trigger&&u.trigger(n,s)}))}},t.prototype.findHover=function(r,n,i){var a=this.storage.getDisplayList(),o=new yn(r,n);if(al(a,o,r,n,i),this._pointerSize&&!o.target){for(var s=[],u=this._pointerSize,l=u/2,f=new Q(r-l,n-l,u,u),h=a.length-1;h>=0;h--){var v=a[h];v!==i&&!v.ignore&&!v.ignoreCoarsePointer&&(!v.parent||!v.parent.ignoreCoarsePointer)&&(so.copy(v.getBoundingRect()),v.transform&&so.applyTransform(v.transform),so.intersect(f)&&s.push(v))}if(s.length)for(var c=4,p=Math.PI/12,y=Math.PI*2,d=0;d<l;d+=c)for(var g=0;g<y;g+=p){var _=r+d*Math.cos(g),m=n+d*Math.sin(g);if(al(s,o,_,m,i),o.target)return o}}return o},t.prototype.processGesture=function(r,n){this._gestureMgr||(this._gestureMgr=new Id);var i=this._gestureMgr;n==="start"&&i.clear();var a=i.recognize(r,this.findHover(r.zrX,r.zrY,null).target,this.proxy.dom);if(n==="end"&&i.clear(),a){var o=a.type;r.gestureEvent=o;var s=new yn;s.target=a.target,this.dispatchToElement(s,o,a.event)}},t})(St);D(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(e){kh.prototype[e]=function(t){var r=t.zrX,n=t.zrY,i=Bh(this,r,n),a,o;if((e!=="mouseup"||!i)&&(a=this.findHover(r,n),o=a.target),e==="mousedown")this._downEl=o,this._downPoint=[t.zrX,t.zrY],this._upEl=o;else if(e==="mouseup")this._upEl=o;else if(e==="click"){if(this._downEl!==this._upEl||!this._downPoint||Ah(this._downPoint,[t.zrX,t.zrY])>4)return;this._downPoint=null}this.dispatchToElement(a,e,t)}});function Hd(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var n=e,i=void 0,a=!1;n;){if(n.ignoreClip&&(a=!0),!a){var o=n.getClipPath();if(o&&!o.contain(t,r))return!1}n.silent&&(i=!0);var s=n.__hostTarget;n=s||n.parent}return i?Fh:!0}return!1}function al(e,t,r,n,i){for(var a=e.length-1;a>=0;a--){var o=e[a],s=void 0;if(o!==i&&!o.ignore&&(s=Hd(o,r,n))&&(!t.topTarget&&(t.topTarget=o),s!==Fh)){t.target=o;break}}}function Bh(e,t,r){var n=e.painter;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}var Vh=32,_n=7;function Ud(e){for(var t=0;e>=Vh;)t|=e&1,e>>=1;return e+t}function ol(e,t,r,n){var i=t+1;if(i===r)return 1;if(n(e[i++],e[t])<0){for(;i<r&&n(e[i],e[i-1])<0;)i++;Gd(e,t,i)}else for(;i<r&&n(e[i],e[i-1])>=0;)i++;return i-t}function Gd(e,t,r){for(r--;t<r;){var n=e[t];e[t++]=e[r],e[r--]=n}}function sl(e,t,r,n,i){for(n===t&&n++;n<r;n++){for(var a=e[n],o=t,s=n,u;o<s;)u=o+s>>>1,i(a,e[u])<0?s=u:o=u+1;var l=n-o;switch(l){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;l>0;)e[o+l]=e[o+l-1],l--}e[o]=a}}function uo(e,t,r,n,i,a){var o=0,s=0,u=1;if(a(e,t[r+i])>0){for(s=n-i;u<s&&a(e,t[r+i+u])>0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=i,u+=i}else{for(s=i+1;u<s&&a(e,t[r+i-u])<=0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s);var l=o;o=i-u,u=i-l}for(o++;o<u;){var f=o+(u-o>>>1);a(e,t[r+f])>0?o=f+1:u=f}return u}function lo(e,t,r,n,i,a){var o=0,s=0,u=1;if(a(e,t[r+i])<0){for(s=i+1;u<s&&a(e,t[r+i-u])<0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s);var l=o;o=i-u,u=i-l}else{for(s=n-i;u<s&&a(e,t[r+i+u])>=0;)o=u,u=(u<<1)+1,u<=0&&(u=s);u>s&&(u=s),o+=i,u+=i}for(o++;o<u;){var f=o+(u-o>>>1);a(e,t[r+f])<0?u=f:o=f+1}return u}function Yd(e,t){var r=_n,n,i,a=0,o=[];n=[],i=[];function s(c,p){n[a]=c,i[a]=p,a+=1}function u(){for(;a>1;){var c=a-2;if(c>=1&&i[c-1]<=i[c]+i[c+1]||c>=2&&i[c-2]<=i[c]+i[c-1])i[c-1]<i[c+1]&&c--;else if(i[c]>i[c+1])break;f(c)}}function l(){for(;a>1;){var c=a-2;c>0&&i[c-1]<i[c+1]&&c--,f(c)}}function f(c){var p=n[c],y=i[c],d=n[c+1],g=i[c+1];i[c]=y+g,c===a-3&&(n[c+1]=n[c+2],i[c+1]=i[c+2]),a--;var _=lo(e[d],e,p,y,0,t);p+=_,y-=_,y!==0&&(g=uo(e[p+y-1],e,d,g,g-1,t),g!==0&&(y<=g?h(p,y,d,g):v(p,y,d,g)))}function h(c,p,y,d){var g=0;for(g=0;g<p;g++)o[g]=e[c+g];var _=0,m=y,S=c;if(e[S++]=e[m++],--d===0){for(g=0;g<p;g++)e[S+g]=o[_+g];return}if(p===1){for(g=0;g<d;g++)e[S+g]=e[m+g];e[S+d]=o[_];return}for(var T=r,w,b,C;;){w=0,b=0,C=!1;do if(t(e[m],o[_])<0){if(e[S++]=e[m++],b++,w=0,--d===0){C=!0;break}}else if(e[S++]=o[_++],w++,b=0,--p===1){C=!0;break}while((w|b)<T);if(C)break;do{if(w=lo(e[m],o,_,p,0,t),w!==0){for(g=0;g<w;g++)e[S+g]=o[_+g];if(S+=w,_+=w,p-=w,p<=1){C=!0;break}}if(e[S++]=e[m++],--d===0){C=!0;break}if(b=uo(o[_],e,m,d,0,t),b!==0){for(g=0;g<b;g++)e[S+g]=e[m+g];if(S+=b,m+=b,d-=b,d===0){C=!0;break}}if(e[S++]=o[_++],--p===1){C=!0;break}T--}while(w>=_n||b>=_n);if(C)break;T<0&&(T=0),T+=2}if(r=T,r<1&&(r=1),p===1){for(g=0;g<d;g++)e[S+g]=e[m+g];e[S+d]=o[_]}else{if(p===0)throw new Error;for(g=0;g<p;g++)e[S+g]=o[_+g]}}function v(c,p,y,d){var g=0;for(g=0;g<d;g++)o[g]=e[y+g];var _=c+p-1,m=d-1,S=y+d-1,T=0,w=0;if(e[S--]=e[_--],--p===0){for(T=S-(d-1),g=0;g<d;g++)e[T+g]=o[g];return}if(d===1){for(S-=p,_-=p,w=S+1,T=_+1,g=p-1;g>=0;g--)e[w+g]=e[T+g];e[S]=o[m];return}for(var b=r;;){var C=0,E=0,P=!1;do if(t(o[m],e[_])<0){if(e[S--]=e[_--],C++,E=0,--p===0){P=!0;break}}else if(e[S--]=o[m--],E++,C=0,--d===1){P=!0;break}while((C|E)<b);if(P)break;do{if(C=p-lo(o[m],e,c,p,p-1,t),C!==0){for(S-=C,_-=C,p-=C,w=S+1,T=_+1,g=C-1;g>=0;g--)e[w+g]=e[T+g];if(p===0){P=!0;break}}if(e[S--]=o[m--],--d===1){P=!0;break}if(E=d-uo(e[_],o,0,d,d-1,t),E!==0){for(S-=E,m-=E,d-=E,w=S+1,T=m+1,g=0;g<E;g++)e[w+g]=o[T+g];if(d<=1){P=!0;break}}if(e[S--]=e[_--],--p===0){P=!0;break}b--}while(C>=_n||E>=_n);if(P)break;b<0&&(b=0),b+=2}if(r=b,r<1&&(r=1),d===1){for(S-=p,_-=p,w=S+1,T=_+1,g=p-1;g>=0;g--)e[w+g]=e[T+g];e[S]=o[m]}else{if(d===0)throw new Error;for(T=S-(d-1),g=0;g<d;g++)e[T+g]=o[g]}}return{mergeRuns:u,forceMergeRuns:l,pushRun:s}}function Wi(e,t,r,n){r||(r=0),n||(n=e.length);var i=n-r;if(!(i<2)){var a=0;if(i<Vh){a=ol(e,r,n,t),sl(e,r,n,r+a,t);return}var o=Yd(e,t),s=Ud(i);do{if(a=ol(e,r,n,t),a<s){var u=i;u>s&&(u=s),sl(e,r,r+u,r+a,t),a=u}o.pushRun(r,a),o.mergeRuns(),i-=a,r+=a}while(i!==0);o.forceMergeRuns()}}var ot=1,Rn=2,Xr=4,ul=!1;function fo(){ul||(ul=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function ll(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var Wd=(function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=ll}return e.prototype.traverse=function(t,r){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,r)},e.prototype.getDisplayList=function(t,r){r=r||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(r),n},e.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var r=this._roots,n=this._displayList,i=0,a=r.length;i<a;i++)this._updateAndAddDisplayable(r[i],null,t);n.length=this._displayListLen,Wi(n,ll)},e.prototype._updateAndAddDisplayable=function(t,r,n){if(!(t.ignore&&!n)){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)r=null;else if(i){r?r=r.slice():r=[];for(var a=i,o=t;a;)a.parent=o,a.updateTransform(),r.push(a),o=a,a=a.getClipPath()}if(t.childrenRef){for(var s=t.childrenRef(),u=0;u<s.length;u++){var l=s[u];t.__dirty&&(l.__dirty|=ot),this._updateAndAddDisplayable(l,r,n)}t.__dirty=0}else{var f=t;r&&r.length?f.__clipPaths=r:f.__clipPaths&&f.__clipPaths.length>0&&(f.__clipPaths=[]),isNaN(f.z)&&(fo(),f.z=0),isNaN(f.z2)&&(fo(),f.z2=0),isNaN(f.zlevel)&&(fo(),f.zlevel=0),this._displayList[this._displayListLen++]=f}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,r,n);var v=t.getTextGuideLine();v&&this._updateAndAddDisplayable(v,r,n);var c=t.getTextContent();c&&this._updateAndAddDisplayable(c,r,n)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var r=0,n=t.length;r<n;r++)this.delRoot(t[r]);return}var i=ne(this._roots,t);i>=0&&this._roots.splice(i,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e})();exports.requestAnimationFrame=void 0;exports.requestAnimationFrame=G.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var Hn={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)))},elasticOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-Hn.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?Hn.bounceIn(e*2)*.5:Hn.bounceOut(e*2-1)*.5+.5}},Si=Math.pow,Ht=Math.sqrt,ra=1e-8,zh=1e-4,fl=Ht(3),wi=1/3,dt=Ar(),Je=Ar(),Kr=Ar();function Vt(e){return e>-ra&&e<ra}function Hh(e){return e>ra||e<-ra}function ue(e,t,r,n,i){var a=1-i;return a*a*(a*e+3*i*t)+i*i*(i*n+3*a*r)}function hl(e,t,r,n,i){var a=1-i;return 3*(((t-e)*a+2*(r-t)*i)*a+(n-r)*i*i)}function fu(e,t,r,n,i,a){var o=n+3*(t-r)-e,s=3*(r-t*2+e),u=3*(t-e),l=e-i,f=s*s-3*o*u,h=s*u-9*o*l,v=u*u-3*s*l,c=0;if(Vt(f)&&Vt(h))if(Vt(s))a[0]=0;else{var p=-u/s;p>=0&&p<=1&&(a[c++]=p)}else{var y=h*h-4*f*v;if(Vt(y)){var d=h/f,p=-s/o+d,g=-d/2;p>=0&&p<=1&&(a[c++]=p),g>=0&&g<=1&&(a[c++]=g)}else if(y>0){var _=Ht(y),m=f*s+1.5*o*(-h+_),S=f*s+1.5*o*(-h-_);m<0?m=-Si(-m,wi):m=Si(m,wi),S<0?S=-Si(-S,wi):S=Si(S,wi);var p=(-s-(m+S))/(3*o);p>=0&&p<=1&&(a[c++]=p)}else{var T=(2*f*s-3*o*h)/(2*Ht(f*f*f)),w=Math.acos(T)/3,b=Ht(f),C=Math.cos(w),p=(-s-2*b*C)/(3*o),g=(-s+b*(C+fl*Math.sin(w)))/(3*o),E=(-s+b*(C-fl*Math.sin(w)))/(3*o);p>=0&&p<=1&&(a[c++]=p),g>=0&&g<=1&&(a[c++]=g),E>=0&&E<=1&&(a[c++]=E)}}return c}function Uh(e,t,r,n,i){var a=6*r-12*t+6*e,o=9*t+3*n-3*e-9*r,s=3*t-3*e,u=0;if(Vt(o)){if(Hh(a)){var l=-s/a;l>=0&&l<=1&&(i[u++]=l)}}else{var f=a*a-4*o*s;if(Vt(f))i[0]=-a/(2*o);else if(f>0){var h=Ht(f),l=(-a+h)/(2*o),v=(-a-h)/(2*o);l>=0&&l<=1&&(i[u++]=l),v>=0&&v<=1&&(i[u++]=v)}}return u}function Jn(e,t,r,n,i,a){var o=(t-e)*i+e,s=(r-t)*i+t,u=(n-r)*i+r,l=(s-o)*i+o,f=(u-s)*i+s,h=(f-l)*i+l;a[0]=e,a[1]=o,a[2]=l,a[3]=h,a[4]=h,a[5]=f,a[6]=u,a[7]=n}function Gh(e,t,r,n,i,a,o,s,u,l,f){var h,v=.005,c=1/0,p,y,d,g;dt[0]=u,dt[1]=l;for(var _=0;_<1;_+=.05)Je[0]=ue(e,r,i,o,_),Je[1]=ue(t,n,a,s,_),d=wr(dt,Je),d<c&&(h=_,c=d);c=1/0;for(var m=0;m<32&&!(v<zh);m++)p=h-v,y=h+v,Je[0]=ue(e,r,i,o,p),Je[1]=ue(t,n,a,s,p),d=wr(Je,dt),p>=0&&d<c?(h=p,c=d):(Kr[0]=ue(e,r,i,o,y),Kr[1]=ue(t,n,a,s,y),g=wr(Kr,dt),y<=1&&g<c?(h=y,c=g):v*=.5);return f&&(f[0]=ue(e,r,i,o,h),f[1]=ue(t,n,a,s,h)),Ht(c)}function Xd(e,t,r,n,i,a,o,s,u){for(var l=e,f=t,h=0,v=1/u,c=1;c<=u;c++){var p=c*v,y=ue(e,r,i,o,p),d=ue(t,n,a,s,p),g=y-l,_=d-f;h+=Math.sqrt(g*g+_*_),l=y,f=d}return h}function ce(e,t,r,n){var i=1-n;return i*(i*e+2*n*t)+n*n*r}function hs(e,t,r,n){return 2*((1-n)*(t-e)+n*(r-t))}function qd(e,t,r,n,i){var a=e-2*t+r,o=2*(t-e),s=e-n,u=0;if(Vt(a)){if(Hh(o)){var l=-s/o;l>=0&&l<=1&&(i[u++]=l)}}else{var f=o*o-4*a*s;if(Vt(f)){var l=-o/(2*a);l>=0&&l<=1&&(i[u++]=l)}else if(f>0){var h=Ht(f),l=(-o+h)/(2*a),v=(-o-h)/(2*a);l>=0&&l<=1&&(i[u++]=l),v>=0&&v<=1&&(i[u++]=v)}}return u}function Yh(e,t,r){var n=e+r-2*t;return n===0?.5:(e-t)/n}function jn(e,t,r,n,i){var a=(t-e)*n+e,o=(r-t)*n+t,s=(o-a)*n+a;i[0]=e,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=r}function Wh(e,t,r,n,i,a,o,s,u){var l,f=.005,h=1/0;dt[0]=o,dt[1]=s;for(var v=0;v<1;v+=.05){Je[0]=ce(e,r,i,v),Je[1]=ce(t,n,a,v);var c=wr(dt,Je);c<h&&(l=v,h=c)}h=1/0;for(var p=0;p<32&&!(f<zh);p++){var y=l-f,d=l+f;Je[0]=ce(e,r,i,y),Je[1]=ce(t,n,a,y);var c=wr(Je,dt);if(y>=0&&c<h)l=y,h=c;else{Kr[0]=ce(e,r,i,d),Kr[1]=ce(t,n,a,d);var g=wr(Kr,dt);d<=1&&g<h?(l=d,h=g):f*=.5}}return u&&(u[0]=ce(e,r,i,l),u[1]=ce(t,n,a,l)),Ht(h)}function $d(e,t,r,n,i,a,o){for(var s=e,u=t,l=0,f=1/o,h=1;h<=o;h++){var v=h*f,c=ce(e,r,i,v),p=ce(t,n,a,v),y=c-s,d=p-u;l+=Math.sqrt(y*y+d*d),s=c,u=p}return l}var Zd=/cubic-bezier\(([0-9,\.e ]+)\)/;function hu(e){var t=e&&Zd.exec(e);if(t){var r=t[1].split(","),n=+gt(r[0]),i=+gt(r[1]),a=+gt(r[2]),o=+gt(r[3]);if(isNaN(n+i+a+o))return;var s=[];return function(u){return u<=0?0:u>=1?1:fu(0,n,a,1,u,s)&&ue(0,i,o,1,s[0])}}}var Kd=(function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||He,this.ondestroy=t.ondestroy||He,this.onrestart=t.onrestart||He,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var n=this._life,i=t-this._startTime-this._pausedTime,a=i/n;a<0&&(a=0),a=Math.min(a,1);var o=this.easingFunc,s=o?o(a):a;if(this.onframe(s),a===1)if(this.loop){var u=i%n;this._startTime=t-u,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=j(t)?t:Hn[t]||hu(t)},e})(),Xh=(function(){function e(t){this.value=t}return e})(),Qd=(function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new Xh(t);return this.insertEntry(r),r},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var r=t.prev,n=t.next;r?r.next=n:this.head=n,n?n.prev=r:this.tail=r,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e})(),fn=(function(){function e(t){this._list=new Qd,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var n=this._list,i=this._map,a=null;if(i[t]==null){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var u=n.head;n.remove(u),delete i[u.key],a=u.value,this._lastRemovedEntry=u}s?s.value=r:s=new Xh(r),s.key=t,n.insertEntry(s),i[t]=s}return a},e.prototype.get=function(t){var r=this._map[t],n=this._list;if(r!=null)return r!==n.tail&&(n.remove(r),n.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e})(),cl={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function st(e){return e=Math.round(e),e<0?0:e>255?255:e}function Jd(e){return e=Math.round(e),e<0?0:e>360?360:e}function ei(e){return e<0?0:e>1?1:e}function ho(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?st(parseFloat(t)/100*255):st(parseInt(t,10))}function Cr(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?ei(parseFloat(t)/100):ei(parseFloat(t))}function co(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function zt(e,t,r){return e+(t-e)*r}function qe(e,t,r,n,i){return e[0]=t,e[1]=r,e[2]=n,e[3]=i,e}function cs(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var qh=new fn(20),Ti=null;function Or(e,t){Ti&&cs(Ti,t),Ti=qh.put(e,Ti||t.slice())}function et(e,t){if(e){t=t||[];var r=qh.get(e);if(r)return cs(t,r);e=e+"";var n=e.replace(/ /g,"").toLowerCase();if(n in cl)return cs(t,cl[n]),Or(e,t),t;var i=n.length;if(n.charAt(0)==="#"){if(i===4||i===5){var a=parseInt(n.slice(1,4),16);if(!(a>=0&&a<=4095)){qe(t,0,0,0,1);return}return qe(t,(a&3840)>>4|(a&3840)>>8,a&240|(a&240)>>4,a&15|(a&15)<<4,i===5?parseInt(n.slice(4),16)/15:1),Or(e,t),t}else if(i===7||i===9){var a=parseInt(n.slice(1,7),16);if(!(a>=0&&a<=16777215)){qe(t,0,0,0,1);return}return qe(t,(a&16711680)>>16,(a&65280)>>8,a&255,i===9?parseInt(n.slice(7),16)/255:1),Or(e,t),t}return}var o=n.indexOf("("),s=n.indexOf(")");if(o!==-1&&s+1===i){var u=n.substr(0,o),l=n.substr(o+1,s-(o+1)).split(","),f=1;switch(u){case"rgba":if(l.length!==4)return l.length===3?qe(t,+l[0],+l[1],+l[2],1):qe(t,0,0,0,1);f=Cr(l.pop());case"rgb":if(l.length>=3)return qe(t,ho(l[0]),ho(l[1]),ho(l[2]),l.length===3?f:Cr(l[3])),Or(e,t),t;qe(t,0,0,0,1);return;case"hsla":if(l.length!==4){qe(t,0,0,0,1);return}return l[3]=Cr(l[3]),vs(l,t),Or(e,t),t;case"hsl":if(l.length!==3){qe(t,0,0,0,1);return}return vs(l,t),Or(e,t),t;default:return}}qe(t,0,0,0,1)}}function vs(e,t){var r=(parseFloat(e[0])%360+360)%360/360,n=Cr(e[1]),i=Cr(e[2]),a=i<=.5?i*(n+1):i+n-i*n,o=i*2-a;return t=t||[],qe(t,st(co(o,a,r+1/3)*255),st(co(o,a,r)*255),st(co(o,a,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function jd(e){if(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,i=Math.min(t,r,n),a=Math.max(t,r,n),o=a-i,s=(a+i)/2,u,l;if(o===0)u=0,l=0;else{s<.5?l=o/(a+i):l=o/(2-a-i);var f=((a-t)/6+o/2)/o,h=((a-r)/6+o/2)/o,v=((a-n)/6+o/2)/o;t===a?u=v-h:r===a?u=1/3+f-v:n===a&&(u=2/3+h-f),u<0&&(u+=1),u>1&&(u-=1)}var c=[u*360,l,s];return e[3]!=null&&c.push(e[3]),c}}function ps(e,t){var r=et(e);if(r){for(var n=0;n<3;n++)t<0?r[n]=r[n]*(1-t)|0:r[n]=(255-r[n])*t+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return hn(r,r.length===4?"rgba":"rgb")}}function eg(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){r=r||[];var n=e*(t.length-1),i=Math.floor(n),a=Math.ceil(n),o=t[i],s=t[a],u=n-i;return r[0]=st(zt(o[0],s[0],u)),r[1]=st(zt(o[1],s[1],u)),r[2]=st(zt(o[2],s[2],u)),r[3]=ei(zt(o[3],s[3],u)),r}}function tg(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var n=e*(t.length-1),i=Math.floor(n),a=Math.ceil(n),o=et(t[i]),s=et(t[a]),u=n-i,l=hn([st(zt(o[0],s[0],u)),st(zt(o[1],s[1],u)),st(zt(o[2],s[2],u)),ei(zt(o[3],s[3],u))],"rgba");return r?{color:l,leftIndex:i,rightIndex:a,value:n}:l}}function rg(e,t,r,n){var i=et(e);if(e)return i=jd(i),t!=null&&(i[0]=Jd(t)),r!=null&&(i[1]=Cr(r)),n!=null&&(i[2]=Cr(n)),hn(vs(i),"rgba")}function ng(e,t){var r=et(e);if(r&&t!=null)return r[3]=ei(t),hn(r,"rgba")}function hn(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function na(e,t){var r=et(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}var vl=new fn(100);function ds(e){if(V(e)){var t=vl.get(e);return t||(t=ps(e,-.1),vl.put(e,t)),t}else if(Da(e)){var r=N({},e);return r.colorStops=Y(e.colorStops,function(n){return{offset:n.offset,color:ps(n.color,-.1)}}),r}return e}var ia=Math.round;function ig(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var r=et(e);r&&(e="rgb("+r[0]+","+r[1]+","+r[2]+")",t=r[3])}return{color:e,opacity:t==null?1:t}}var pl=1e-4;function ag(e){return e<pl&&e>-pl}function bi(e){return ia(e*1e3)/1e3}function gs(e){return ia(e*1e4)/1e4}function og(e){return"matrix("+bi(e[0])+","+bi(e[1])+","+bi(e[2])+","+bi(e[3])+","+gs(e[4])+","+gs(e[5])+")"}var sg={left:"start",right:"end",center:"middle",middle:"middle"};function ug(e,t,r){return r==="top"?e+=t/2:r==="bottom"&&(e-=t/2),e}function lg(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function fg(e){var t=e.style,r=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function $h(e){return e&&!!e.image}function hg(e){return e&&!!e.svgElement}function cg(e){return $h(e)||hg(e)}function Zh(e){return e.type==="linear"}function Kh(e){return e.type==="radial"}function vg(e){return e&&(e.type==="linear"||e.type==="radial")}function pg(e){return"url(#"+e+")"}function dg(e){var t=e.getGlobalScale(),r=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function gg(e){var t=e.x||0,r=e.y||0,n=(e.rotation||0)*Gi,i=B(e.scaleX,1),a=B(e.scaleY,1),o=e.skewX||0,s=e.skewY||0,u=[];return(t||r)&&u.push("translate("+t+"px,"+r+"px)"),n&&u.push("rotate("+n+")"),(i!==1||a!==1)&&u.push("scale("+i+","+a+")"),(o||s)&&u.push("skew("+ia(o*Gi)+"deg, "+ia(s*Gi)+"deg)"),u.join(" ")}var yg=(function(){return G.hasGlobalWindow&&j(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer!="undefined"?function(e){return Buffer.from(e).toString("base64")}:function(e){return process.env.NODE_ENV!=="production"&&Kn("Base64 isn't natively supported in the current environment."),null}})(),ys=Array.prototype.slice;function Dt(e,t,r){return(t-e)*r+e}function vo(e,t,r,n){for(var i=t.length,a=0;a<i;a++)e[a]=Dt(t[a],r[a],n);return e}function _g(e,t,r,n){for(var i=t.length,a=i&&t[0].length,o=0;o<i;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=Dt(t[o][s],r[o][s],n)}return e}function Ci(e,t,r,n){for(var i=t.length,a=0;a<i;a++)e[a]=t[a]+r[a]*n;return e}function dl(e,t,r,n){for(var i=t.length,a=i&&t[0].length,o=0;o<i;o++){e[o]||(e[o]=[]);for(var s=0;s<a;s++)e[o][s]=t[o][s]+r[o][s]*n}return e}function mg(e,t){for(var r=e.length,n=t.length,i=r>n?t:e,a=Math.min(r,n),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(r,n);s++)i.push({offset:o.offset,color:o.color.slice()})}function Sg(e,t,r){var n=e,i=t;if(!(!n.push||!i.push)){var a=n.length,o=i.length;if(a!==o){var s=a>o;if(s)n.length=o;else for(var u=a;u<o;u++)n.push(r===1?i[u]:ys.call(i[u]))}for(var l=n[0]&&n[0].length,u=0;u<n.length;u++)if(r===1)isNaN(n[u])&&(n[u]=i[u]);else for(var f=0;f<l;f++)isNaN(n[u][f])&&(n[u][f]=i[u][f])}}function Un(e){if(Oe(e)){var t=e.length;if(Oe(e[0])){for(var r=[],n=0;n<t;n++)r.push(ys.call(e[n]));return r}return ys.call(e)}return e}function Xi(e){return e[0]=Math.floor(e[0])||0,e[1]=Math.floor(e[1])||0,e[2]=Math.floor(e[2])||0,e[3]=e[3]==null?1:e[3],"rgba("+e.join(",")+")"}function wg(e){return Oe(e&&e[0])?2:1}var Di=0,qi=1,Qh=2,An=3,_s=4,ms=5,gl=6;function yl(e){return e===_s||e===ms}function Ei(e){return e===qi||e===Qh}var mn=[0,0,0,0],Tg=(function(){function e(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return e.prototype.isFinished=function(){return this._finished},e.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},e.prototype.needsAnimate=function(){return this.keyframes.length>=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,n){this._needsSort=!0;var i=this.keyframes,a=i.length,o=!1,s=gl,u=r;if(Oe(r)){var l=wg(r);s=l,(l===1&&!ae(r[0])||l===2&&!ae(r[0][0]))&&(o=!0)}else if(ae(r)&&!nu(r))s=Di;else if(V(r))if(!isNaN(+r))s=Di;else{var f=et(r);f&&(u=f,s=An)}else if(Da(r)){var h=N({},u);h.colorStops=Y(r.colorStops,function(c){return{offset:c.offset,color:et(c.color)}}),Zh(r)?s=_s:Kh(r)&&(s=ms),u=h}a===0?this.valType=s:(s!==this.valType||s===gl)&&(o=!0),this.discrete=this.discrete||o;var v={time:t,value:u,rawValue:r,percent:0};return n&&(v.easing=n,v.easingFunc=j(n)?n:Hn[n]||hu(n)),i.push(v),v},e.prototype.prepare=function(t,r){var n=this.keyframes;this._needsSort&&n.sort(function(y,d){return y.time-d.time});for(var i=this.valType,a=n.length,o=n[a-1],s=this.discrete,u=Ei(i),l=yl(i),f=0;f<a;f++){var h=n[f],v=h.value,c=o.value;h.percent=h.time/t,s||(u&&f!==a-1?Sg(v,c,i):l&&mg(v.colorStops,c.colorStops))}if(!s&&i!==ms&&r&&this.needsAnimate()&&r.needsAnimate()&&i===r.valType&&!r._finished){this._additiveTrack=r;for(var p=n[0].value,f=0;f<a;f++)i===Di?n[f].additiveValue=n[f].value-p:i===An?n[f].additiveValue=Ci([],n[f].value,p,-1):Ei(i)&&(n[f].additiveValue=i===qi?Ci([],n[f].value,p,-1):dl([],n[f].value,p,-1))}},e.prototype.step=function(t,r){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n=this._additiveTrack!=null,i=n?"additiveValue":"value",a=this.valType,o=this.keyframes,s=o.length,u=this.propName,l=a===An,f,h=this._lastFr,v=Math.min,c,p;if(s===1)c=p=o[0];else{if(r<0)f=0;else if(r<this._lastFrP){var y=v(h+1,s-1);for(f=y;f>=0&&!(o[f].percent<=r);f--);f=v(f,s-2)}else{for(f=h;f<s&&!(o[f].percent>r);f++);f=v(f-1,s-2)}p=o[f+1],c=o[f]}if(c&&p){this._lastFr=f,this._lastFrP=r;var d=p.percent-c.percent,g=d===0?1:v((r-c.percent)/d,1);p.easingFunc&&(g=p.easingFunc(g));var _=n?this._additiveValue:l?mn:t[u];if((Ei(a)||l)&&!_&&(_=this._additiveValue=[]),this.discrete)t[u]=g<1?c.rawValue:p.rawValue;else if(Ei(a))a===qi?vo(_,c[i],p[i],g):_g(_,c[i],p[i],g);else if(yl(a)){var m=c[i],S=p[i],T=a===_s;t[u]={type:T?"linear":"radial",x:Dt(m.x,S.x,g),y:Dt(m.y,S.y,g),colorStops:Y(m.colorStops,function(b,C){var E=S.colorStops[C];return{offset:Dt(b.offset,E.offset,g),color:Xi(vo([],b.color,E.color,g))}}),global:S.global},T?(t[u].x2=Dt(m.x2,S.x2,g),t[u].y2=Dt(m.y2,S.y2,g)):t[u].r=Dt(m.r,S.r,g)}else if(l)vo(_,c[i],p[i],g),n||(t[u]=Xi(_));else{var w=Dt(c[i],p[i],g);n?this._additiveValue=w:t[u]=w}n&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,n=this.propName,i=this._additiveValue;r===Di?t[n]=t[n]+i:r===An?(et(t[n],mn),Ci(mn,mn,i,1),t[n]=Xi(mn)):r===qi?Ci(t[n],t[n],i,1):r===Qh&&dl(t[n],t[n],i,1)},e})(),Ma=(function(){function e(t,r,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&i){Kn("Can' use additive animation on looped animation.");return}this._additiveAnimators=i,this._allowDiscrete=n}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r,n){return this.whenWithKeys(t,r,ie(r),n)},e.prototype.whenWithKeys=function(t,r,n,i){for(var a=this._tracks,o=0;o<n.length;o++){var s=n[o],u=a[s];if(!u){u=a[s]=new Tg(s);var l=void 0,f=this._getAdditiveTrack(s);if(f){var h=f.keyframes,v=h[h.length-1];l=v&&v.value,f.valType===An&&l&&(l=Xi(l))}else l=this._target[s];if(l==null)continue;t>0&&u.addKeyframe(0,Un(l),i),this._trackKeys.push(s)}u.addKeyframe(t,Un(r[s]),i)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,n=0;n<r;n++)t[n].call(this)},e.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,r=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,r)for(var n=0;n<r.length;n++)r[n].call(this)},e.prototype._setTracksFinished=function(){for(var t=this._tracks,r=this._trackKeys,n=0;n<r.length;n++)t[r[n]].setFinished()},e.prototype._getAdditiveTrack=function(t){var r,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var a=n[i].getTrack(t);a&&(r=a)}return r},e.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var r=this,n=[],i=this._maxTime||0,a=0;a<this._trackKeys.length;a++){var o=this._trackKeys[a],s=this._tracks[o],u=this._getAdditiveTrack(o),l=s.keyframes,f=l.length;if(s.prepare(i,u),s.needsAnimate())if(!this._allowDiscrete&&s.discrete){var h=l[f-1];h&&(r._target[s.propName]=h.rawValue),s.setFinished()}else n.push(s)}if(n.length||this._force){var v=new Kd({life:i,loop:this._loop,delay:this._delay||0,onframe:function(c){r._started=2;var p=r._additiveAnimators;if(p){for(var y=!1,d=0;d<p.length;d++)if(p[d]._clip){y=!0;break}y||(r._additiveAnimators=null)}for(var d=0;d<n.length;d++)n[d].step(r._target,c);var g=r._onframeCbs;if(g)for(var d=0;d<g.length;d++)g[d](r._target,c)},ondestroy:function(){r._doneCallback()}});this._clip=v,this.animation&&this.animation.addClip(v),t&&v.setEasing(t)}else this._doneCallback();return this}},e.prototype.stop=function(t){if(this._clip){var r=this._clip;t&&r.onframe(1),this._abortedCallback()}},e.prototype.delay=function(t){return this._delay=t,this},e.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},e.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},e.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},e.prototype.getClip=function(){return this._clip},e.prototype.getTrack=function(t){return this._tracks[t]},e.prototype.getTracks=function(){var t=this;return Y(this._trackKeys,function(r){return t._tracks[r]})},e.prototype.stopTracks=function(t,r){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,a=0;a<t.length;a++){var o=n[t[a]];o&&!o.isFinished()&&(r?o.step(this._target,1):this._started===1&&o.step(this._target,0),o.setFinished())}for(var s=!0,a=0;a<i.length;a++)if(!n[i[a]].isFinished()){s=!1;break}return s&&this._abortedCallback(),s},e.prototype.saveTo=function(t,r,n){if(t){r=r||this._trackKeys;for(var i=0;i<r.length;i++){var a=r[i],o=this._tracks[a];if(!(!o||o.isFinished())){var s=o.keyframes,u=s[n?0:s.length-1];u&&(t[a]=Un(u.rawValue))}}}},e.prototype.__changeFinalValue=function(t,r){r=r||ie(t);for(var n=0;n<r.length;n++){var i=r[n],a=this._tracks[i];if(a){var o=a.keyframes;if(o.length>1){var s=o.pop();a.addKeyframe(s.time,t[i]),a.prepare(this._maxTime,a.getAdditiveTrack())}}}},e})();function $r(){return new Date().getTime()}var bg=(function(e){z(t,e);function t(r){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,r=r||{},n.stage=r.stage||{},n}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var n=r.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(r){if(r.animation){var n=r.prev,i=r.next;n?n.next=i:this._head=i,i?i.prev=n:this._tail=n,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var n=r.getClip();n&&this.removeClip(n),r.animation=null},t.prototype.update=function(r){for(var n=$r()-this._pausedTime,i=n-this._time,a=this._head;a;){var o=a.next,s=a.step(n,i);s&&(a.ondestroy(),this.removeClip(a)),a=o}this._time=n,r||(this.trigger("frame",i),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&(exports.requestAnimationFrame(n),!r._paused&&r.update())}exports.requestAnimationFrame(n)},t.prototype.start=function(){this._running||(this._time=$r(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=$r(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=$r()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var n=r.next;r.prev=r.next=r.animation=null,r=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,n){n=n||{},this.start();var i=new Ma(r,n.loop);return this.addAnimator(i),i},t})(St),Cg=300,po=G.domSupported,go=(function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=Y(e,function(i){var a=i.replace("mouse","pointer");return r.hasOwnProperty(a)?a:i});return{mouse:e,touch:t,pointer:n}})(),_l={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},ml=!1;function Ss(e){var t=e.pointerType;return t==="pen"||t==="touch"}function Dg(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function yo(e){e&&(e.zrByTouch=!0)}function Eg(e,t){return $e(e.dom,new Mg(e,t),!0)}function Jh(e,t){for(var r=t,n=!1;r&&r.nodeType!==9&&!(n=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return n}var Mg=(function(){function e(t,r){this.stopPropagation=He,this.stopImmediatePropagation=He,this.preventDefault=He,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e})(),nt={mousedown:function(e){e=$e(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=$e(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=$e(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=$e(this.dom,e);var t=e.toElement||e.relatedTarget;Jh(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){ml=!0,e=$e(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){ml||(e=$e(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=$e(this.dom,e),yo(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),nt.mousemove.call(this,e),nt.mousedown.call(this,e)},touchmove:function(e){e=$e(this.dom,e),yo(e),this.handler.processGesture(e,"change"),nt.mousemove.call(this,e)},touchend:function(e){e=$e(this.dom,e),yo(e),this.handler.processGesture(e,"end"),nt.mouseup.call(this,e),+new Date-+this.__lastTouchMoment<Cg&&nt.click.call(this,e)},pointerdown:function(e){nt.mousedown.call(this,e)},pointermove:function(e){Ss(e)||nt.mousemove.call(this,e)},pointerup:function(e){nt.mouseup.call(this,e)},pointerout:function(e){Ss(e)||nt.mouseout.call(this,e)}};D(["click","dblclick","contextmenu"],function(e){nt[e]=function(t){t=$e(this.dom,t),this.trigger(e,t)}});var ws={pointermove:function(e){Ss(e)||ws.mousemove.call(this,e)},pointerup:function(e){ws.mouseup.call(this,e)},mousemove:function(e){this.trigger("mousemove",e)},mouseup:function(e){var t=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",e),t&&(e.zrEventControl="only_globalout",this.trigger("mouseout",e))}};function Pg(e,t){var r=t.domHandlers;G.pointerEventsSupported?D(go.pointer,function(n){$i(t,n,function(i){r[n].call(e,i)})}):(G.touchEventsSupported&&D(go.touch,function(n){$i(t,n,function(i){r[n].call(e,i),Dg(t)})}),D(go.mouse,function(n){$i(t,n,function(i){i=ou(i),t.touching||r[n].call(e,i)})}))}function Rg(e,t){G.pointerEventsSupported?D(_l.pointer,r):G.touchEventsSupported||D(_l.mouse,r);function r(n){function i(a){a=ou(a),Jh(e,a.target)||(a=Eg(e,a),t.domHandlers[n].call(e,a))}$i(t,n,i,{capture:!0})}}function $i(e,t,r,n){e.mounted[t]=r,e.listenerOpts[t]=n,xh(e.domTarget,t,r,n)}function _o(e){var t=e.mounted;for(var r in t)t.hasOwnProperty(r)&&xd(e.domTarget,r,t[r],e.listenerOpts[r]);e.mounted={}}var Sl=(function(){function e(t,r){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=r}return e})(),Ag=(function(e){z(t,e);function t(r,n){var i=e.call(this)||this;return i.__pointerCapturing=!1,i.dom=r,i.painterRoot=n,i._localHandlerScope=new Sl(r,nt),po&&(i._globalHandlerScope=new Sl(document,ws)),Pg(i,i._localHandlerScope),i}return t.prototype.dispose=function(){_o(this._localHandlerScope),po&&_o(this._globalHandlerScope)},t.prototype.setCursor=function(r){this.dom.style&&(this.dom.style.cursor=r||"default")},t.prototype.__togglePointerCapture=function(r){if(this.__mayPointerCapture=null,po&&+this.__pointerCapturing^+r){this.__pointerCapturing=r;var n=this._globalHandlerScope;r?Rg(this,n):_o(n)}},t})(St),jh=1;G.hasGlobalWindow&&(jh=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var Ts=jh,bs=.4,Cs="#333",Ds="#ccc",Ng="#eee",wl=su,Tl=5e-5;function jt(e){return e>Tl||e<-Tl}var er=[],Fr=[],mo=br(),So=Math.abs,Pa=(function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return jt(this.rotation)||jt(this.x)||jt(this.y)||jt(this.scaleX-1)||jt(this.scaleY-1)||jt(this.skewX)||jt(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||t)){n&&(wl(n),this.invTransform=null);return}n=n||br(),r?this.getLocalTransform(n):wl(n),t&&(r?zn(n,t,n):uu(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(er);var n=er[0]<0?-1:1,i=er[1]<0?-1:1,a=((er[0]-n)*r+n)/er[0]||0,o=((er[1]-i)*r+i)/er[1]||0;t[0]*=a,t[1]*=a,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||br(),lu(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(t){var r=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),a=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(a),r=Math.sqrt(r),this.skewX=a,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||br(),zn(Fr,t.invTransform,r),r=Fr);var n=this.originX,i=this.originY;(n||i)&&(mo[4]=n,mo[5]=i,zn(Fr,r,mo),Fr[4]-=n,Fr[5]-=i,r=Fr),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var n=[t,r],i=this.invTransform;return i&&Tr(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,r){var n=[t,r],i=this.transform;return i&&Tr(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&So(t[0]-1)>1e-10&&So(t[3]-1)>1e-10?Math.sqrt(So(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){ec(this,t)},e.getLocalTransform=function(t,r){r=r||[];var n=t.originX||0,i=t.originY||0,a=t.scaleX,o=t.scaleY,s=t.anchorX,u=t.anchorY,l=t.rotation||0,f=t.x,h=t.y,v=t.skewX?Math.tan(t.skewX):0,c=t.skewY?Math.tan(-t.skewY):0;if(n||i||s||u){var p=n+s,y=i+u;r[4]=-p*a-v*y*o,r[5]=-y*o-c*p*a}else r[4]=r[5]=0;return r[0]=a,r[3]=o,r[1]=c*a,r[2]=v*o,l&&Ih(r,r,l),r[4]+=n+f,r[5]+=i+h,r},e.initDefaultProps=(function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0})(),e})(),rn=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function ec(e,t){for(var r=0;r<rn.length;r++){var n=rn[r];e[n]=t[n]}}var bl={};function Ue(e,t){t=t||Ut;var r=bl[t];r||(r=bl[t]=new fn(500));var n=r.get(e);return n==null&&(n=un.measureText(e,t).width,r.put(e,n)),n}function Cl(e,t,r,n){var i=Ue(e,t),a=Ra(t),o=Nn(0,i,r),s=qr(0,a,n),u=new Q(o,s,i,a);return u}function tc(e,t,r,n){var i=((e||"")+"").split(`
2
+ `),a=i.length;if(a===1)return Cl(i[0],t,r,n);for(var o=new Q(0,0,0,0),s=0;s<i.length;s++){var u=Cl(i[s],t,r,n);s===0?o.copy(u):o.union(u)}return o}function Nn(e,t,r){return r==="right"?e-=t:r==="center"&&(e-=t/2),e}function qr(e,t,r){return r==="middle"?e-=t/2:r==="bottom"&&(e-=t),e}function Ra(e){return Ue("国",e)}function nn(e,t){return typeof e=="string"?e.lastIndexOf("%")>=0?parseFloat(e)/100*t:parseFloat(e):e}function cu(e,t,r){var n=t.position||"inside",i=t.distance!=null?t.distance:5,a=r.height,o=r.width,s=a/2,u=r.x,l=r.y,f="left",h="top";if(n instanceof Array)u+=nn(n[0],r.width),l+=nn(n[1],r.height),f=null,h=null;else switch(n){case"left":u-=i,l+=s,f="right",h="middle";break;case"right":u+=i+o,l+=s,h="middle";break;case"top":u+=o/2,l-=i,f="center",h="bottom";break;case"bottom":u+=o/2,l+=a+i,f="center";break;case"inside":u+=o/2,l+=s,f="center",h="middle";break;case"insideLeft":u+=i,l+=s,h="middle";break;case"insideRight":u+=o-i,l+=s,f="right",h="middle";break;case"insideTop":u+=o/2,l+=i,f="center";break;case"insideBottom":u+=o/2,l+=a-i,f="center",h="bottom";break;case"insideTopLeft":u+=i,l+=i;break;case"insideTopRight":u+=o-i,l+=i,f="right";break;case"insideBottomLeft":u+=i,l+=a-i,h="bottom";break;case"insideBottomRight":u+=o-i,l+=a-i,f="right",h="bottom";break}return e=e||{},e.x=u,e.y=l,e.align=f,e.verticalAlign=h,e}var wo="__zr_normal__",To=rn.concat(["ignore"]),xg=Mt(rn,function(e,t){return e[t]=!0,e},{ignore:!1}),kr={},Lg=new Q(0,0,0,0),Aa=(function(){function e(t){this.id=Sh(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,a=r.innerTransformable,o=void 0,s=void 0,u=!1;a.parent=i?this:null;var l=!1;if(a.copyTransform(r),n.position!=null){var f=Lg;n.layoutRect?f.copy(n.layoutRect):f.copy(this.getBoundingRect()),i||f.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(kr,n,f):cu(kr,n,f),a.x=kr.x,a.y=kr.y,o=kr.align,s=kr.verticalAlign;var h=n.origin;if(h&&n.rotation!=null){var v=void 0,c=void 0;h==="center"?(v=f.width*.5,c=f.height*.5):(v=nn(h[0],f.width),c=nn(h[1],f.height)),l=!0,a.originX=-a.x+v+(i?0:f.x),a.originY=-a.y+c+(i?0:f.y)}}n.rotation!=null&&(a.rotation=n.rotation);var p=n.offset;p&&(a.x+=p[0],a.y+=p[1],l||(a.originX=-p[0],a.originY=-p[1]));var y=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,d=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),g=void 0,_=void 0,m=void 0;y&&this.canBeInsideText()?(g=n.insideFill,_=n.insideStroke,(g==null||g==="auto")&&(g=this.getInsideTextFill()),(_==null||_==="auto")&&(_=this.getInsideTextStroke(g),m=!0)):(g=n.outsideFill,_=n.outsideStroke,(g==null||g==="auto")&&(g=this.getOutsideFill()),(_==null||_==="auto")&&(_=this.getOutsideStroke(g),m=!0)),g=g||"#000",(g!==d.fill||_!==d.stroke||m!==d.autoStroke||o!==d.align||s!==d.verticalAlign)&&(u=!0,d.fill=g,d.stroke=_,d.autoStroke=m,d.align=o,d.verticalAlign=s,r.setDefaultTextStyle(d)),r.__dirty|=ot,u&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?Ds:Cs},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&et(r);n||(n=[255,255,255,1]);for(var i=n[3],a=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(a?0:255)*(1-i);return n[3]=1,hn(n,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},N(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(O(t))for(var n=t,i=ie(n),a=0;a<i.length;a++){var o=i[a];this.attrKV(o,t[o])}return this.markRedraw(),this},e.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var r=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],a=i.__fromStateTransition;if(!(i.getLoop()||a&&a!==wo)){var o=i.targetName,s=o?r[o]:r;i.saveTo(s)}}},e.prototype._innerSaveToNormal=function(t){var r=this._normalState;r||(r=this._normalState={}),t.textConfig&&!r.textConfig&&(r.textConfig=this.textConfig),this._savePrimaryToNormal(t,r,To)},e.prototype._savePrimaryToNormal=function(t,r,n){for(var i=0;i<n.length;i++){var a=n[i];t[a]!=null&&!(a in r)&&(r[a]=this[a])}},e.prototype.hasState=function(){return this.currentStates.length>0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},e.prototype.clearStates=function(t){this.useState(wo,!1,t)},e.prototype.useState=function(t,r,n,i){var a=t===wo,o=this.hasState();if(!(!o&&a)){var s=this.currentStates,u=this.stateTransition;if(!(ne(s,t)>=0&&(r||s.length===1))){var l;if(this.stateProxy&&!a&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),!l&&!a){Kn("State "+t+" not exists.");return}a||this.saveCurrentToNormalState(l);var f=!!(l&&l.hoverLayer||i);f&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,r,!n&&!this.__inHover&&u&&u.duration>0,u);var h=this._textContent,v=this._textGuide;return h&&h.useState(t,r,n,f),v&&v.useState(t,r,n,f),a?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!f&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ot),l}}},e.prototype.useStates=function(t,r,n){if(!t.length)this.clearStates();else{var i=[],a=this.currentStates,o=t.length,s=o===a.length;if(s){for(var u=0;u<o;u++)if(t[u]!==a[u]){s=!1;break}}if(s)return;for(var u=0;u<o;u++){var l=t[u],f=void 0;this.stateProxy&&(f=this.stateProxy(l,t)),f||(f=this.states[l]),f&&i.push(f)}var h=i[o-1],v=!!(h&&h.hoverLayer||n);v&&this._toggleHoverLayerFlag(!0);var c=this._mergeStates(i),p=this.stateTransition;this.saveCurrentToNormalState(c),this._applyStateObj(t.join(","),c,this._normalState,!1,!r&&!this.__inHover&&p&&p.duration>0,p);var y=this._textContent,d=this._textGuide;y&&y.useStates(t,r,v),d&&d.useStates(t,r,v),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!v&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~ot)}},e.prototype.isSilent=function(){for(var t=this.silent,r=this.parent;!t&&r;){if(r.silent){t=!0;break}r=r.parent}return t},e.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var r=this.animators[t];r.targetName&&r.changeTarget(this[r.targetName])}},e.prototype.removeState=function(t){var r=ne(this.currentStates,t);if(r>=0){var n=this.currentStates.slice();n.splice(r,1),this.useStates(n)}},e.prototype.replaceState=function(t,r,n){var i=this.currentStates.slice(),a=ne(i,t),o=ne(i,r)>=0;a>=0?o?i.splice(a,1):i[a]=r:n&&!o&&i.push(r),this.useStates(i)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},n,i=0;i<t.length;i++){var a=t[i];N(r,a),a.textConfig&&(n=n||{},N(n,a.textConfig))}return n&&(r.textConfig=n),r},e.prototype._applyStateObj=function(t,r,n,i,a,o){var s=!(r&&i);r&&r.textConfig?(this.textConfig=N({},i?this.textConfig:n.textConfig),N(this.textConfig,r.textConfig)):s&&n.textConfig&&(this.textConfig=n.textConfig);for(var u={},l=!1,f=0;f<To.length;f++){var h=To[f],v=a&&xg[h];r&&r[h]!=null?v?(l=!0,u[h]=r[h]):this[h]=r[h]:s&&n[h]!=null&&(v?(l=!0,u[h]=n[h]):this[h]=n[h])}if(!a)for(var f=0;f<this.animators.length;f++){var c=this.animators[f],p=c.targetName;c.getLoop()||c.__changeFinalValue(p?(r||n)[p]:r||n)}l&&this._transitionState(t,u,o)},e.prototype._attachComponent=function(t){if(t.__zr&&!t.__hostTarget){if(process.env.NODE_ENV!=="production")throw new Error("Text element has been added to zrender.");return}if(t===this){if(process.env.NODE_ENV!=="production")throw new Error("Recursive component attachment.");return}var r=this.__zr;r&&t.addSelfToZr(r),t.__zr=r,t.__hostTarget=this},e.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},e.prototype.getClipPath=function(){return this._clipPath},e.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},e.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},e.prototype.getTextContent=function(){return this._textContent},e.prototype.setTextContent=function(t){var r=this._textContent;if(r!==t){if(r&&r!==t&&this.removeTextContent(),process.env.NODE_ENV!=="production"&&t.__zr&&!t.__hostTarget)throw new Error("Text element has been added to zrender.");t.innerTransformable=new Pa,this._attachComponent(t),this._textContent=t,this.markRedraw()}},e.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),N(this.textConfig,t),this.markRedraw()},e.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},e.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},e.prototype.getTextGuideLine=function(){return this._textGuide},e.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},e.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},e.prototype.markRedraw=function(){this.__dirty|=ot;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},e.prototype.dirty=function(){this.markRedraw()},e.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var r=this._textContent,n=this._textGuide;r&&(r.__inHover=t),n&&(n.__inHover=t)},e.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var r=this.animators;if(r)for(var n=0;n<r.length;n++)t.animation.addAnimator(r[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},e.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var r=this.animators;if(r)for(var n=0;n<r.length;n++)t.animation.removeAnimator(r[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},e.prototype.animate=function(t,r,n){var i=t?this[t]:this;if(process.env.NODE_ENV!=="production"&&!i){Kn('Property "'+t+'" is not existed in element '+this.id);return}var a=new Ma(i,r,n);return t&&(a.targetName=t),this.addAnimator(a,t),a},e.prototype.addAnimator=function(t,r){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(r)}).done(function(){var a=i.animators,o=ne(a,t);o>=0&&a.splice(o,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var n=this.animators,i=n.length,a=[],o=0;o<i;o++){var s=n[o];!t||t===s.scope?s.stop(r):a.push(s)}return this.animators=a,this},e.prototype.animateTo=function(t,r,n){bo(this,t,r,n)},e.prototype.animateFrom=function(t,r,n){bo(this,t,r,n,!0)},e.prototype._transitionState=function(t,r,n,i){for(var a=bo(this,r,n,i),o=0;o<a.length;o++)a[o].__fromStateTransition=t},e.prototype.getBoundingRect=function(){return null},e.prototype.getPaintRect=function(){return null},e.initDefaultProps=(function(){var t=e.prototype;t.type="element",t.name="",t.ignore=t.silent=t.isGroup=t.draggable=t.dragging=t.ignoreClip=t.__inHover=!1,t.__dirty=ot;var r={};function n(a,o,s){r[a+o+s]||(console.warn("DEPRECATED: '"+a+"' has been deprecated. use '"+o+"', '"+s+"' instead"),r[a+o+s]=!0)}function i(a,o,s,u){Object.defineProperty(t,a,{get:function(){if(process.env.NODE_ENV!=="production"&&n(a,s,u),!this[o]){var f=this[o]=[];l(this,f)}return this[o]},set:function(f){process.env.NODE_ENV!=="production"&&n(a,s,u),this[s]=f[0],this[u]=f[1],this[o]=f,l(this,f)}});function l(f,h){Object.defineProperty(h,0,{get:function(){return f[s]},set:function(v){f[s]=v}}),Object.defineProperty(h,1,{get:function(){return f[u]},set:function(v){f[u]=v}})}}Object.defineProperty&&(i("position","_legacyPos","x","y"),i("scale","_legacyScale","scaleX","scaleY"),i("origin","_legacyOrigin","originX","originY"))})(),e})();mt(Aa,St);mt(Aa,Pa);function bo(e,t,r,n,i){r=r||{};var a=[];rc(e,"",e,t,r,n,a,i);var o=a.length,s=!1,u=r.done,l=r.aborted,f=function(){s=!0,o--,o<=0&&(s?u&&u():l&&l())},h=function(){o--,o<=0&&(s?u&&u():l&&l())};o||u&&u(),a.length>0&&r.during&&a[0].during(function(p,y){r.during(y)});for(var v=0;v<a.length;v++){var c=a[v];f&&c.done(f),h&&c.aborted(h),r.force&&c.duration(r.duration),c.start(r.easing)}return a}function Co(e,t,r){for(var n=0;n<r;n++)e[n]=t[n]}function Ig(e){return Oe(e[0])}function Og(e,t,r){if(Oe(t[r]))if(Oe(e[r])||(e[r]=[]),Me(t[r])){var n=t[r].length;e[r].length!==n&&(e[r]=new t[r].constructor(n),Co(e[r],t[r],n))}else{var i=t[r],a=e[r],o=i.length;if(Ig(i))for(var s=i[0].length,u=0;u<o;u++)a[u]?Co(a[u],i[u],s):a[u]=Array.prototype.slice.call(i[u]);else Co(a,i,o);a.length=i.length}else e[r]=t[r]}function Fg(e,t){return e===t||Oe(e)&&Oe(t)&&kg(e,t)}function kg(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function rc(e,t,r,n,i,a,o,s){for(var u=ie(n),l=i.duration,f=i.delay,h=i.additive,v=i.setToFinal,c=!O(a),p=e.animators,y=[],d=0;d<u.length;d++){var g=u[d],_=n[g];if(_!=null&&r[g]!=null&&(c||a[g]))if(O(_)&&!Oe(_)&&!Da(_)){if(t){s||(r[g]=_,e.updateDuringAnimation(t));continue}rc(e,g,r[g],_,i,a&&a[g],o,s)}else y.push(g);else s||(r[g]=_,e.updateDuringAnimation(t),y.push(g))}var m=y.length;if(!h&&m)for(var S=0;S<p.length;S++){var T=p[S];if(T.targetName===t){var w=T.stopTracks(y);if(w){var b=ne(p,T);p.splice(b,1)}}}if(i.force||(y=Qe(y,function(M){return!Fg(n[M],r[M])}),m=y.length),m>0||i.force&&!o.length){var C=void 0,E=void 0,P=void 0;if(s){E={},v&&(C={});for(var S=0;S<m;S++){var g=y[S];E[g]=r[g],v?C[g]=n[g]:r[g]=n[g]}}else if(v){P={};for(var S=0;S<m;S++){var g=y[S];P[g]=Un(r[g]),Og(r,n,g)}}var T=new Ma(r,!1,!1,h?Qe(p,function(A){return A.targetName===t}):null);T.targetName=t,i.scope&&(T.scope=i.scope),v&&C&&T.whenWithKeys(0,C,y),P&&T.whenWithKeys(0,P,y),T.whenWithKeys(l==null?500:l,s?E:n,y).delay(f||0),e.addAnimator(T,t),o.push(T)}}var Nr=(function(e){z(t,e);function t(r){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(r){return this._children[r]},t.prototype.childOfName=function(r){for(var n=this._children,i=0;i<n.length;i++)if(n[i].name===r)return n[i]},t.prototype.childCount=function(){return this._children.length},t.prototype.add=function(r){if(r&&(r!==this&&r.parent!==this&&(this._children.push(r),this._doAdd(r)),process.env.NODE_ENV!=="production"&&r.__hostTarget))throw"This elemenet has been used as an attachment";return this},t.prototype.addBefore=function(r,n){if(r&&r!==this&&r.parent!==this&&n&&n.parent===this){var i=this._children,a=i.indexOf(n);a>=0&&(i.splice(a,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,n){var i=ne(this._children,r);return i>=0&&this.replaceAt(n,i),this},t.prototype.replaceAt=function(r,n){var i=this._children,a=i[n];if(r&&r!==this&&r.parent!==this&&r!==a){i[n]=r,a.parent=null;var o=this.__zr;o&&a.removeSelfFromZr(o),this._doAdd(r)}return this},t.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var n=this.__zr;n&&n!==r.__zr&&r.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(r){var n=this.__zr,i=this._children,a=ne(i,r);return a<0?this:(i.splice(a,1),r.parent=null,n&&r.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,n=this.__zr,i=0;i<r.length;i++){var a=r[i];n&&a.removeSelfFromZr(n),a.parent=null}return r.length=0,this},t.prototype.eachChild=function(r,n){for(var i=this._children,a=0;a<i.length;a++){var o=i[a];r.call(n,o,a)}return this},t.prototype.traverse=function(r,n){for(var i=0;i<this._children.length;i++){var a=this._children[i],o=r.call(n,a);a.isGroup&&!o&&a.traverse(r,n)}return this},t.prototype.addSelfToZr=function(r){e.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.addSelfToZr(r)}},t.prototype.removeSelfFromZr=function(r){e.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++){var i=this._children[n];i.removeSelfFromZr(r)}},t.prototype.getBoundingRect=function(r){for(var n=new Q(0,0,0,0),i=r||this._children,a=[],o=null,s=0;s<i.length;s++){var u=i[s];if(!(u.ignore||u.invisible)){var l=u.getBoundingRect(),f=u.getLocalTransform(a);f?(Q.applyTransform(n,l,f),o=o||n.clone(),o.union(n)):(o=o||l.clone(),o.union(l))}}return o||n},t})(Aa);Nr.prototype.type="group";var xn={},nc={};function Bg(e){delete nc[e]}function Vg(e){if(!e)return!1;if(typeof e=="string")return na(e,1)<bs;if(e.colorStops){for(var t=e.colorStops,r=0,n=t.length,i=0;i<n;i++)r+=na(t[i].color,1);return r/=n,r<bs}return!1}var zg=(function(){function e(t,r,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=r,this.id=t;var a=new Wd,o=n.renderer||"canvas";if(xn[o]||(o=ie(xn)[0]),process.env.NODE_ENV!=="production"&&!xn[o])throw new Error("Renderer '"+o+"' is not imported. Please import it first.");n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new xn[o](r,a,n,t),u=n.ssr||s.ssrOnly;this.storage=a,this.painter=s;var l=!G.node&&!G.worker&&!u?new Ag(s.getViewportRoot(),s.root):null,f=n.useCoarsePointer,h=f==null||f==="auto"?G.touchEventsSupported:!!f,v=44,c;h&&(c=B(n.pointerSize,v)),this.handler=new kh(a,s,l,s.root,c),this.animation=new bg({stage:{update:u?null:function(){return i._flush(!0)}}}),u||this.animation.start()}return e.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},e.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},e.prototype.configLayer=function(t,r){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,r),this.refresh())},e.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=Vg(t))},e.prototype.getBackgroundColor=function(){return this._backgroundColor},e.prototype.setDarkMode=function(t){this._darkMode=t},e.prototype.isDarkMode=function(){return this._darkMode},e.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},e.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},e.prototype.flush=function(){this._disposed||this._flush(!1)},e.prototype._flush=function(t){var r,n=$r();this._needsRefresh&&(r=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(r=!0,this.refreshHoverImmediately());var i=$r();r?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},e.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},e.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},e.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},e.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){if(!this._disposed)return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this._disposed||this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this._disposed||this.handler.off(t,r)},e.prototype.trigger=function(t,r){this._disposed||this.handler.trigger(t,r)},e.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),r=0;r<t.length;r++)t[r]instanceof Nr&&t[r].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},e.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,Bg(this.id))},e})();function Es(e,t){var r=new zg(Sh(),e,t);return nc[r.id]=r,r}function Hg(e,t){xn[e]=t}var Ms;function Ug(e){if(typeof Ms=="function")return Ms(e)}function Gg(e){Ms=e}var Dl=1e-4,ic=20;function Yg(e){return e.replace(/^\s+|\s+$/g,"")}function Wg(e,t,r,n){var i=t[0],a=t[1],o=r[0],s=r[1],u=a-i,l=s-o;if(u===0)return l===0?o:(o+s)/2;if(n)if(u>0){if(e<=i)return o;if(e>=a)return s}else{if(e>=i)return o;if(e<=a)return s}else{if(e===i)return o;if(e===a)return s}return(e-i)/u*l+o}function ze(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return V(e)?Yg(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function aa(e,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),ic),e=(+e).toFixed(t),r?e:+e}function Xg(e){return e.sort(function(t,r){return t-r}),e}function yr(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(e*t)/t===e)return r}return ac(e)}function ac(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),n=r>0?+t.slice(r+1):0,i=r>0?r:t.length,a=t.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-n)}function qg(e,t){var r=Math.log,n=Math.LN10,i=Math.floor(r(e[1]-e[0])/n),a=Math.round(r(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function $g(e,t){var r=Mt(e,function(c,p){return c+(isNaN(p)?0:p)},0);if(r===0)return[];for(var n=Math.pow(10,t),i=Y(e,function(c){return(isNaN(c)?0:c)/r*n*100}),a=n*100,o=Y(i,function(c){return Math.floor(c)}),s=Mt(o,function(c,p){return c+p},0),u=Y(i,function(c,p){return c-o[p]});s<a;){for(var l=Number.NEGATIVE_INFINITY,f=null,h=0,v=u.length;h<v;++h)u[h]>l&&(l=u[h],f=h);++o[f],u[f]=0,++s}return Y(o,function(c){return c/n})}function Zg(e,t){var r=Math.max(yr(e),yr(t)),n=e+t;return r>ic?n:aa(n,r)}var Kg=9007199254740991;function Qg(e){var t=Math.PI*2;return(e%t+t)%t}function Jg(e){return e>-Dl&&e<Dl}var jg=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Yt(e){if(e instanceof Date)return e;if(V(e)){var t=jg.exec(e);if(!t)return new Date(NaN);if(t[8]){var r=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(r-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,r,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(e==null)return new Date(NaN);return new Date(Math.round(e))}function e0(e){return Math.pow(10,vu(e))}function vu(e){if(e===0)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function t0(e,t){var r=vu(e),n=Math.pow(10,r),i=e/n,a;return i<1.5?a=1:i<2.5?a=2:i<4?a=3:i<7?a=5:a=10,e=a*n,r>=-20?+e.toFixed(r<0?-r:0):e}function r0(e,t){var r=(e.length-1)*t+1,n=Math.floor(r),i=+e[n-1],a=r-n;return a?i+a*(e[n]-i):i}function n0(e){e.sort(function(u,l){return s(u,l,0)?-1:1});for(var t=-1/0,r=1,n=0;n<e.length;){for(var i=e[n].interval,a=e[n].close,o=0;o<2;o++)i[o]<=t&&(i[o]=t,a[o]=o?1:1-r),t=i[o],r=a[o];i[0]===i[1]&&a[0]*a[1]!==1?e.splice(n,1):n++}return e;function s(u,l,f){return u.interval[f]<l.interval[f]||u.interval[f]===l.interval[f]&&(u.close[f]-l.close[f]===(f?-1:1)||!f&&s(u,l,1))}}function Pt(e){var t=parseFloat(e);return t==e&&(t!==0||!V(e)||e.indexOf("x")<=0)?t:NaN}function pu(e){return!isNaN(Pt(e))}function oc(){return Math.round(Math.random()*9)}function sc(e,t){return t===0?e:sc(t,e%t)}function El(e,t){return e==null?t:t==null?e:e*t/sc(e,t)}var i0="[ECharts] ",Ml={},a0=typeof console!="undefined"&&console.warn&&console.log;function Na(e,t,r){if(a0){if(r){if(Ml[t])return;Ml[t]=!0}console[e](i0+t)}}function o0(e,t){Na("log",e,t)}function je(e,t){Na("warn",e,t)}function ve(e,t){Na("error",e,t)}function lt(e){process.env.NODE_ENV!=="production"&&Na("warn","DEPRECATED: "+e,!0)}function re(e,t,r){process.env.NODE_ENV!=="production"&&lt((r?"["+r+"]":"")+(e+" is deprecated, use "+t+" instead."))}function ti(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r="";if(process.env.NODE_ENV!=="production"){var n=function(i){return i===void 0?"undefined":i===1/0?"Infinity":i===-1/0?"-Infinity":nu(i)?"NaN":i instanceof Date?"Date("+i.toISOString()+")":j(i)?"function () { ... }":Th(i)?i+"":null};r=Y(e,function(i){if(V(i))return i;var a=n(i);if(a!=null)return a;if(typeof JSON!="undefined"&&JSON.stringify)try{return JSON.stringify(i,function(o,s){var u=n(s);return u==null?s:u})}catch(o){return"?"}else return"?"}).join(" ")}return r}function Ce(e){throw new Error(e)}function Pl(e,t,r){return(t-e)*r+e}var uc="series\0",lc="\0_ec_\0";function me(e){return e instanceof Array?e:e==null?[]:[e]}function Ps(e,t,r){if(e){e[t]=e[t]||{},e.emphasis=e.emphasis||{},e.emphasis[t]=e.emphasis[t]||{};for(var n=0,i=r.length;n<i;n++){var a=r[n];!e.emphasis[t].hasOwnProperty(a)&&e[t].hasOwnProperty(a)&&(e.emphasis[t][a]=e[t][a])}}}var Rl=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function fi(e){return O(e)&&!I(e)&&!(e instanceof Date)?e.value:e}function s0(e){return O(e)&&!(e instanceof Array)}function fc(e,t,r){var n=r==="normalMerge",i=r==="replaceMerge",a=r==="replaceAll";e=e||[],t=(t||[]).slice();var o=q();D(t,function(u,l){if(!O(u)){t[l]=null;return}process.env.NODE_ENV!=="production"&&(u.id!=null&&!Nl(u.id)&&Al(u.id),u.name!=null&&!Nl(u.name)&&Al(u.name))});var s=u0(e,o,r);return(n||i)&&l0(s,e,o,t),n&&f0(s,t),n||i?h0(s,t,i):a&&c0(s,t),v0(s),s}function u0(e,t,r){var n=[];if(r==="replaceAll")return n;for(var i=0;i<e.length;i++){var a=e[i];a&&a.id!=null&&t.set(a.id,i),n.push({existing:r==="replaceMerge"||an(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return n}function l0(e,t,r,n){D(n,function(i,a){if(!(!i||i.id==null)){var o=Gn(i.id),s=r.get(o);if(s!=null){var u=e[s];k(!u.newOption,'Duplicated option on id "'+o+'".'),u.newOption=i,u.existing=t[s],n[a]=null}}})}function f0(e,t){D(t,function(r,n){if(!(!r||r.name==null))for(var i=0;i<e.length;i++){var a=e[i].existing;if(!e[i].newOption&&a&&(a.id==null||r.id==null)&&!an(r)&&!an(a)&&hc("name",a,r)){e[i].newOption=r,t[n]=null;return}}})}function h0(e,t,r){D(t,function(n){if(n){for(var i,a=0;(i=e[a])&&(i.newOption||an(i.existing)||i.existing&&n.id!=null&&!hc("id",n,i.existing));)a++;i?(i.newOption=n,i.brandNew=r):e.push({newOption:n,brandNew:r,existing:null,keyInfo:null}),a++}})}function c0(e,t){D(t,function(r){e.push({newOption:r,brandNew:!0,existing:null,keyInfo:null})})}function v0(e){var t=q();D(e,function(r){var n=r.existing;n&&t.set(n.id,r)}),D(e,function(r){var n=r.newOption;k(!n||n.id==null||!t.get(n.id)||t.get(n.id)===r,"id duplicates: "+(n&&n.id)),n&&n.id!=null&&t.set(n.id,r),!r.keyInfo&&(r.keyInfo={})}),D(e,function(r,n){var i=r.existing,a=r.newOption,o=r.keyInfo;if(O(a)){if(o.name=a.name!=null?Gn(a.name):i?i.name:uc+n,i)o.id=Gn(i.id);else if(a.id!=null)o.id=Gn(a.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(t.get(o.id))}t.set(o.id,r)}})}function hc(e,t,r){var n=Rt(t[e],null),i=Rt(r[e],null);return n!=null&&i!=null&&n===i}function Gn(e){if(process.env.NODE_ENV!=="production"&&e==null)throw new Error;return Rt(e,"")}function Rt(e,t){return e==null?t:V(e)?e:ae(e)||ea(e)?e+"":t}function Al(e){process.env.NODE_ENV!=="production"&&je("`"+e+"` is invalid id or name. Must be a string or number.")}function Nl(e){return ea(e)||pu(e)}function du(e){var t=e.name;return!!(t&&t.indexOf(uc))}function an(e){return e&&e.id!=null&&Gn(e.id).indexOf(lc)===0}function p0(e){return lc+e}function d0(e,t,r){D(e,function(n){var i=n.newOption;O(i)&&(n.keyInfo.mainType=t,n.keyInfo.subType=g0(t,i,n.existing,r))})}function g0(e,t,r,n){var i=t.type?t.type:r?r.subType:n.determineSubType(e,t);return i}function y0(e,t){var r={},n={};return i(e||[],r),i(t||[],n,r),[a(r),a(n)];function i(o,s,u){for(var l=0,f=o.length;l<f;l++){var h=Rt(o[l].seriesId,null);if(h==null)return;for(var v=me(o[l].dataIndex),c=u&&u[h],p=0,y=v.length;p<y;p++){var d=v[p];c&&c[d]?c[d]=null:(s[h]||(s[h]={}))[d]=1}}}function a(o,s){var u=[];for(var l in o)if(o.hasOwnProperty(l)&&o[l]!=null)if(s)u.push(+l);else{var f=a(o[l],!0);f.length&&u.push({seriesId:l,dataIndex:f})}return u}}function hi(e,t){if(t.dataIndexInside!=null)return t.dataIndexInside;if(t.dataIndex!=null)return I(t.dataIndex)?Y(t.dataIndex,function(r){return e.indexOfRawIndex(r)}):e.indexOfRawIndex(t.dataIndex);if(t.name!=null)return I(t.name)?Y(t.name,function(r){return e.indexOfName(r)}):e.indexOfName(t.name)}function Fe(){var e="__ec_inner_"+_0++;return function(t){return t[e]||(t[e]={})}}var _0=oc();function Zi(e,t,r){var n=gu(t,r),i=n.mainTypeSpecified,a=n.queryOptionMap,o=n.others,s=o,u=r?r.defaultMainType:null;return!i&&u&&a.set(u,{}),a.each(function(l,f){var h=ci(e,f,l,{useDefault:u===f,enableAll:r&&r.enableAll!=null?r.enableAll:!0,enableNone:r&&r.enableNone!=null?r.enableNone:!0});s[f+"Models"]=h.models,s[f+"Model"]=h.models[0]}),s}function gu(e,t){var r;if(V(e)){var n={};n[e+"Index"]=0,r=n}else r=e;var i=q(),a={},o=!1;return D(r,function(s,u){if(u==="dataIndex"||u==="dataIndexInside"){a[u]=s;return}var l=u.match(/^(\w+)(Index|Id|Name)$/)||[],f=l[1],h=(l[2]||"").toLowerCase();if(!(!f||!h||t&&t.includeMainTypes&&ne(t.includeMainTypes,f)<0)){o=o||!!f;var v=i.get(f)||i.set(f,{});v[h]=s}}),{mainTypeSpecified:o,queryOptionMap:i,others:a}}var xa={useDefault:!0,enableAll:!1,enableNone:!1},m0={useDefault:!1,enableAll:!0,enableNone:!0};function ci(e,t,r,n){n=n||xa;var i=r.index,a=r.id,o=r.name,s={models:null,specified:i!=null||a!=null||o!=null};if(!s.specified){var u=void 0;return s.models=n.useDefault&&(u=e.getComponent(t))?[u]:[],s}return i==="none"||i===!1?(k(n.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):(i==="all"&&(k(n.enableAll,'`"all"` is not a valid value on index option.'),i=a=o=null),s.models=e.queryComponents({mainType:t,index:i,id:a,name:o}),s)}function cc(e,t,r){e.setAttribute?e.setAttribute(t,r):e[t]=r}function S0(e,t){return e.getAttribute?e.getAttribute(t):e[t]}function w0(e){return e==="auto"?G.domSupported?"html":"richText":e||"html"}function T0(e,t){var r=q(),n=[];return D(e,function(i){var a=t(i);(r.get(a)||(n.push(a),r.set(a,[]))).push(i)}),{keys:n,buckets:r}}function vc(e,t,r,n,i){var a=t==null||t==="auto";if(n==null)return n;if(ae(n)){var o=Pl(r||0,n,i);return aa(o,a?Math.max(yr(r||0),yr(n)):t)}else{if(V(n))return i<1?r:n;for(var s=[],u=r,l=n,f=Math.max(u?u.length:0,l.length),h=0;h<f;++h){var v=e.getDimensionInfo(h);if(v&&v.type==="ordinal")s[h]=(i<1&&u?u:l)[h];else{var c=u&&u[h]?u[h]:0,p=l[h],o=Pl(c,p,i);s[h]=aa(o,a?Math.max(yr(c),yr(p)):t)}}return s}}var b0=".",tr="___EC__COMPONENT__CONTAINER___",pc="___EC__EXTENDED_CLASS___";function yt(e){var t={main:"",sub:""};if(e){var r=e.split(b0);t.main=r[0]||"",t.sub=r[1]||""}return t}function C0(e){k(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(e),'componentType "'+e+'" illegal')}function D0(e){return!!(e&&e[pc])}function yu(e,t){e.$constructor=e,e.extend=function(r){process.env.NODE_ENV!=="production"&&D(t,function(a){r[a]||console.warn("Method `"+a+"` should be implemented"+(r.type?" in "+r.type:"")+".")});var n=this,i;return E0(n)?i=(function(a){z(o,a);function o(){return a.apply(this,arguments)||this}return o})(n):(i=function(){(r.$constructor||n).apply(this,arguments)},wh(i,this)),N(i.prototype,r),i[pc]=!0,i.extend=this.extend,i.superCall=R0,i.superApply=A0,i.superClass=n,i}}function E0(e){return j(e)&&/^class\s/.test(Function.prototype.toString.call(e))}function dc(e,t){e.extend=t.extend}var M0=Math.round(Math.random()*10);function P0(e){var t=["__\0is_clz",M0++].join("_");e.prototype[t]=!0,process.env.NODE_ENV!=="production"&&k(!e.isInstance,'The method "is" can not be defined.'),e.isInstance=function(r){return!!(r&&r[t])}}function R0(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return this.superClass.prototype[t].apply(e,r)}function A0(e,t,r){return this.superClass.prototype[t].apply(e,r)}function La(e){var t={};e.registerClass=function(n){var i=n.type||n.prototype.type;if(i){C0(i),n.prototype.type=i;var a=yt(i);if(!a.sub)process.env.NODE_ENV!=="production"&&t[a.main]&&console.warn(a.main+" exists."),t[a.main]=n;else if(a.sub!==tr){var o=r(a);o[a.sub]=n}}return n},e.getClass=function(n,i,a){var o=t[n];if(o&&o[tr]&&(o=i?o[i]:null),a&&!o)throw new Error(i?"Component "+n+"."+(i||"")+" is used but not imported.":n+".type should be specified.");return o},e.getClassesByMainType=function(n){var i=yt(n),a=[],o=t[i.main];return o&&o[tr]?D(o,function(s,u){u!==tr&&a.push(s)}):a.push(o),a},e.hasClass=function(n){var i=yt(n);return!!t[i.main]},e.getAllClassMainTypes=function(){var n=[];return D(t,function(i,a){n.push(a)}),n},e.hasSubTypes=function(n){var i=yt(n),a=t[i.main];return a&&a[tr]};function r(n){var i=t[n.main];return(!i||!i[tr])&&(i=t[n.main]={},i[tr]=!0),i}}function on(e,t){for(var r=0;r<e.length;r++)e[r][1]||(e[r][1]=e[r][0]);return t=t||!1,function(n,i,a){for(var o={},s=0;s<e.length;s++){var u=e[s][1];if(!(i&&ne(i,u)>=0||a&&ne(a,u)<0)){var l=n.getShallow(u,t);l!=null&&(o[e[s][0]]=l)}}return o}}var N0=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],x0=on(N0),L0=(function(){function e(){}return e.prototype.getAreaStyle=function(t,r){return x0(this,t,r)},e})(),Rs=new fn(50);function I0(e){if(typeof e=="string"){var t=Rs.get(e);return t&&t.image}else return e}function _u(e,t,r,n,i){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var a=Rs.get(e),o={hostEl:r,cb:n,cbPayload:i};return a?(t=a.image,!Ia(t)&&a.pending.push(o)):(t=un.loadImage(e,xl,xl),t.__zrImageSrc=e,Rs.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function xl(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t<e.pending.length;t++){var r=e.pending[t],n=r.cb;n&&n(this,r.cbPayload),r.hostEl.dirty()}e.pending.length=0}function Ia(e){return e&&e.width&&e.height}var Do=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function O0(e,t,r,n,i,a){if(!r){e.text="",e.isTruncated=!1;return}var o=(t+"").split(`
3
+ `);a=gc(r,n,i,a);for(var s=!1,u={},l=0,f=o.length;l<f;l++)yc(u,o[l],a),o[l]=u.textLine,s=s||u.isTruncated;e.text=o.join(`
4
+ `),e.isTruncated=s}function gc(e,t,r,n){n=n||{};var i=N({},n);i.font=t,r=B(r,"..."),i.maxIterations=B(n.maxIterations,2);var a=i.minChar=B(n.minChar,0);i.cnCharWidth=Ue("国",t);var o=i.ascCharWidth=Ue("a",t);i.placeholder=B(n.placeholder,"");for(var s=e=Math.max(0,e-1),u=0;u<a&&s>=o;u++)s-=o;var l=Ue(r,t);return l>s&&(r="",l=0),s=e-l,i.ellipsis=r,i.ellipsisWidth=l,i.contentWidth=s,i.containerWidth=e,i}function yc(e,t,r){var n=r.containerWidth,i=r.font,a=r.contentWidth;if(!n){e.textLine="",e.isTruncated=!1;return}var o=Ue(t,i);if(o<=n){e.textLine=t,e.isTruncated=!1;return}for(var s=0;;s++){if(o<=a||s>=r.maxIterations){t+=r.ellipsis;break}var u=s===0?F0(t,a,r.ascCharWidth,r.cnCharWidth):o>0?Math.floor(t.length*a/o):0;t=t.substr(0,u),o=Ue(t,i)}t===""&&(t=r.placeholder),e.textLine=t,e.isTruncated=!0}function F0(e,t,r,n){for(var i=0,a=0,o=e.length;a<o&&i<t;a++){var s=e.charCodeAt(a);i+=0<=s&&s<=127?r:n}return a}function k0(e,t){e!=null&&(e+="");var r=t.overflow,n=t.padding,i=t.font,a=r==="truncate",o=Ra(i),s=B(t.lineHeight,o),u=!!t.backgroundColor,l=t.lineOverflow==="truncate",f=!1,h=t.width,v;h!=null&&(r==="break"||r==="breakAll")?v=e?_c(e,t.font,h,r==="breakAll",0).lines:[]:v=e?e.split(`
5
+ `):[];var c=v.length*s,p=B(t.height,c);if(c>p&&l){var y=Math.floor(p/s);f=f||v.length>y,v=v.slice(0,y)}if(e&&a&&h!=null)for(var d=gc(h,i,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g={},_=0;_<v.length;_++)yc(g,v[_],d),v[_]=g.textLine,f=f||g.isTruncated;for(var m=p,S=0,_=0;_<v.length;_++)S=Math.max(Ue(v[_],i),S);h==null&&(h=S);var T=S;return n&&(m+=n[0]+n[2],T+=n[1]+n[3],h+=n[1]+n[3]),u&&(T=h),{lines:v,height:p,outerWidth:T,outerHeight:m,lineHeight:s,calculatedLineHeight:o,contentWidth:S,contentHeight:c,width:h,isTruncated:f}}var B0=(function(){function e(){}return e})(),Ll=(function(){function e(t){this.tokens=[],t&&(this.tokens=t)}return e})(),V0=(function(){function e(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1}return e})();function z0(e,t){var r=new V0;if(e!=null&&(e+=""),!e)return r;for(var n=t.width,i=t.height,a=t.overflow,o=(a==="break"||a==="breakAll")&&n!=null?{width:n,accumWidth:0,breakAll:a==="breakAll"}:null,s=Do.lastIndex=0,u;(u=Do.exec(e))!=null;){var l=u.index;l>s&&Eo(r,e.substring(s,l),t,o),Eo(r,u[2],t,o,u[1]),s=Do.lastIndex}s<e.length&&Eo(r,e.substring(s,e.length),t,o);var f=[],h=0,v=0,c=t.padding,p=a==="truncate",y=t.lineOverflow==="truncate",d={};function g(ke,Se,ee){ke.width=Se,ke.lineHeight=ee,h+=ee,v=Math.max(v,Se)}e:for(var _=0;_<r.lines.length;_++){for(var m=r.lines[_],S=0,T=0,w=0;w<m.tokens.length;w++){var b=m.tokens[w],C=b.styleName&&t.rich[b.styleName]||{},E=b.textPadding=C.padding,P=E?E[1]+E[3]:0,M=b.font=C.font||t.font;b.contentHeight=Ra(M);var A=B(C.height,b.contentHeight);if(b.innerHeight=A,E&&(A+=E[0]+E[2]),b.height=A,b.lineHeight=Bn(C.lineHeight,t.lineHeight,A),b.align=C&&C.align||t.align,b.verticalAlign=C&&C.verticalAlign||"middle",y&&i!=null&&h+b.lineHeight>i){var F=r.lines.length;w>0?(m.tokens=m.tokens.slice(0,w),g(m,T,S),r.lines=r.lines.slice(0,_+1)):r.lines=r.lines.slice(0,_),r.isTruncated=r.isTruncated||r.lines.length<F;break e}var R=C.width,U=R==null||R==="auto";if(typeof R=="string"&&R.charAt(R.length-1)==="%")b.percentWidth=R,f.push(b),b.contentWidth=Ue(b.text,M);else{if(U){var x=C.backgroundColor,$=x&&x.image;$&&($=I0($),Ia($)&&(b.width=Math.max(b.width,$.width*A/$.height)))}var oe=p&&n!=null?n-T:null;oe!=null&&oe<b.width?!U||oe<P?(b.text="",b.width=b.contentWidth=0):(O0(d,b.text,oe-P,M,t.ellipsis,{minChar:t.truncateMinChar}),b.text=d.text,r.isTruncated=r.isTruncated||d.isTruncated,b.width=b.contentWidth=Ue(b.text,M)):b.contentWidth=Ue(b.text,M)}b.width+=P,T+=b.width,C&&(S=Math.max(S,b.lineHeight))}g(m,T,S)}r.outerWidth=r.width=B(n,v),r.outerHeight=r.height=B(i,h),r.contentHeight=h,r.contentWidth=v,c&&(r.outerWidth+=c[1]+c[3],r.outerHeight+=c[0]+c[2]);for(var _=0;_<f.length;_++){var b=f[_],le=b.percentWidth;b.width=parseInt(le,10)/100*r.width}return r}function Eo(e,t,r,n,i){var a=t==="",o=i&&r.rich[i]||{},s=e.lines,u=o.font||r.font,l=!1,f,h;if(n){var v=o.padding,c=v?v[1]+v[3]:0;if(o.width!=null&&o.width!=="auto"){var p=nn(o.width,n.width)+c;s.length>0&&p+n.accumWidth>n.width&&(f=t.split(`
6
+ `),l=!0),n.accumWidth=p}else{var y=_c(t,u,n.width,n.breakAll,n.accumWidth);n.accumWidth=y.accumWidth+c,h=y.linesWidths,f=y.lines}}else f=t.split(`
7
+ `);for(var d=0;d<f.length;d++){var g=f[d],_=new B0;if(_.styleName=i,_.text=g,_.isLineHolder=!g&&!a,typeof o.width=="number"?_.width=o.width:_.width=h?h[d]:Ue(g,u),!d&&!l){var m=(s[s.length-1]||(s[0]=new Ll)).tokens,S=m.length;S===1&&m[0].isLineHolder?m[0]=_:(g||!S||a)&&m.push(_)}else s.push(new Ll([_]))}}function H0(e){var t=e.charCodeAt(0);return t>=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var U0=Mt(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function G0(e){return H0(e)?!!U0[e]:!0}function _c(e,t,r,n,i){for(var a=[],o=[],s="",u="",l=0,f=0,h=0;h<e.length;h++){var v=e.charAt(h);if(v===`
8
+ `){u&&(s+=u,f+=l),a.push(s),o.push(f),s="",u="",l=0,f=0;continue}var c=Ue(v,t),p=n?!1:!G0(v);if(a.length?f+c>r:i+f+c>r){f?(s||u)&&(p?(s||(s=u,u="",l=0,f=l),a.push(s),o.push(f-l),u+=v,l+=c,s="",f=l):(u&&(s+=u,u="",l=0),a.push(s),o.push(f),s=v,f=c)):p?(a.push(u),o.push(l),u=v,l=c):(a.push(v),o.push(c));continue}f+=c,p?(u+=v,l+=c):(u&&(s+=u,u="",l=0),s+=v)}return!a.length&&!s&&(s=e,u="",l=0),u&&(s+=u),s&&(a.push(s),o.push(f)),a.length===1&&(f+=i),{accumWidth:f,lines:a,linesWidths:o}}var As="__zr_style_"+Math.round(Math.random()*10),Dr={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},Oa={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};Dr[As]=!0;var Il=["z","z2","invisible"],Y0=["invisible"],cn=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=ie(r),i=0;i<n.length;i++){var a=n[i];a==="style"?this.useStyle(r[a]):e.prototype.attrKV.call(this,a,r[a])}this.style||this.useStyle({})},t.prototype.beforeBrush=function(){},t.prototype.afterBrush=function(){},t.prototype.innerBeforeBrush=function(){},t.prototype.innerAfterBrush=function(){},t.prototype.shouldBePainted=function(r,n,i,a){var o=this.transform;if(this.ignore||this.invisible||this.style.opacity===0||this.culling&&W0(this,r,n)||o&&!o[0]&&!o[3])return!1;if(i&&this.__clipPaths){for(var s=0;s<this.__clipPaths.length;++s)if(this.__clipPaths[s].isZeroArea())return!1}if(a&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},t.prototype.contain=function(r,n){return this.rectContain(r,n)},t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.rectContain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();return a.contain(i[0],i[1])},t.prototype.getPaintRect=function(){var r=this._paintRect;if(!this._paintRect||this.__dirty){var n=this.transform,i=this.getBoundingRect(),a=this.style,o=a.shadowBlur||0,s=a.shadowOffsetX||0,u=a.shadowOffsetY||0;r=this._paintRect||(this._paintRect=new Q(0,0,0,0)),n?Q.applyTransform(r,i,n):r.copy(i),(o||s||u)&&(r.width+=o*2+Math.abs(s),r.height+=o*2+Math.abs(u),r.x=Math.min(r.x,r.x+s-o),r.y=Math.min(r.y,r.y+u-o));var l=this.dirtyRectTolerance;r.isZero()||(r.x=Math.floor(r.x-l),r.y=Math.floor(r.y-l),r.width=Math.ceil(r.width+1+l*2),r.height=Math.ceil(r.height+1+l*2))}return r},t.prototype.setPrevPaintRect=function(r){r?(this._prevPaintRect=this._prevPaintRect||new Q(0,0,0,0),this._prevPaintRect.copy(r)):this._prevPaintRect=null},t.prototype.getPrevPaintRect=function(){return this._prevPaintRect},t.prototype.animateStyle=function(r){return this.animate("style",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():this.markRedraw()},t.prototype.attrKV=function(r,n){r!=="style"?e.prototype.attrKV.call(this,r,n):this.style?this.setStyle(n):this.useStyle(n)},t.prototype.setStyle=function(r,n){return typeof r=="string"?this.style[r]=n:N(this.style,r),this.dirtyStyle(),this},t.prototype.dirtyStyle=function(r){r||this.markRedraw(),this.__dirty|=Rn,this._rect&&(this._rect=null)},t.prototype.dirty=function(){this.dirtyStyle()},t.prototype.styleChanged=function(){return!!(this.__dirty&Rn)},t.prototype.styleUpdated=function(){this.__dirty&=~Rn},t.prototype.createStyle=function(r){return Ea(Dr,r)},t.prototype.useStyle=function(r){r[As]||(r=this.createStyle(r)),this.__inHover?this.__hoverStyle=r:this.style=r,this.dirtyStyle()},t.prototype.isStyleObject=function(r){return r[As]},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(r,n,Il)},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.prototype._applyStateObj.call(this,r,n,i,a,o,s);var u=!(n&&a),l;if(n&&n.style?o?a?l=n.style:(l=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),a?this.style:i.style),this._mergeStyle(l,n.style)):u&&(l=i.style),l)if(o){var f=this.style;if(this.style=this.createStyle(u?{}:f),u)for(var h=ie(f),v=0;v<h.length;v++){var c=h[v];c in l&&(l[c]=l[c],this.style[c]=f[c])}for(var p=ie(l),v=0;v<p.length;v++){var c=p[v];this.style[c]=this.style[c]}this._transitionState(r,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l);for(var y=this.__inHover?Y0:Il,v=0;v<y.length;v++){var c=y[v];n&&n[c]!=null?this[c]=n[c]:u&&i[c]!=null&&(this[c]=i[c])}},t.prototype._mergeStates=function(r){for(var n=e.prototype._mergeStates.call(this,r),i,a=0;a<r.length;a++){var o=r[a];o.style&&(i=i||{},this._mergeStyle(i,o.style))}return i&&(n.style=i),n},t.prototype._mergeStyle=function(r,n){return N(r,n),r},t.prototype.getAnimationStyleProps=function(){return Oa},t.initDefaultProps=(function(){var r=t.prototype;r.type="displayable",r.invisible=!1,r.z=0,r.z2=0,r.zlevel=0,r.culling=!1,r.cursor="pointer",r.rectHover=!1,r.incremental=!1,r._rect=null,r.dirtyRectTolerance=0,r.__dirty=ot|Rn})(),t})(Aa),Mo=new Q(0,0,0,0),Po=new Q(0,0,0,0);function W0(e,t,r){return Mo.copy(e.getBoundingRect()),e.transform&&Mo.applyTransform(e.transform),Po.width=t,Po.height=r,!Mo.intersect(Po)}var xe=Math.min,Le=Math.max,Ro=Math.sin,Ao=Math.cos,rr=Math.PI*2,Mi=Ar(),Pi=Ar(),Ri=Ar();function X0(e,t,r){if(e.length!==0){for(var n=e[0],i=n[0],a=n[0],o=n[1],s=n[1],u=1;u<e.length;u++)n=e[u],i=xe(i,n[0]),a=Le(a,n[0]),o=xe(o,n[1]),s=Le(s,n[1]);t[0]=i,t[1]=o,r[0]=a,r[1]=s}}function Ol(e,t,r,n,i,a){i[0]=xe(e,r),i[1]=xe(t,n),a[0]=Le(e,r),a[1]=Le(t,n)}var Fl=[],kl=[];function q0(e,t,r,n,i,a,o,s,u,l){var f=Uh,h=ue,v=f(e,r,i,o,Fl);u[0]=1/0,u[1]=1/0,l[0]=-1/0,l[1]=-1/0;for(var c=0;c<v;c++){var p=h(e,r,i,o,Fl[c]);u[0]=xe(p,u[0]),l[0]=Le(p,l[0])}v=f(t,n,a,s,kl);for(var c=0;c<v;c++){var y=h(t,n,a,s,kl[c]);u[1]=xe(y,u[1]),l[1]=Le(y,l[1])}u[0]=xe(e,u[0]),l[0]=Le(e,l[0]),u[0]=xe(o,u[0]),l[0]=Le(o,l[0]),u[1]=xe(t,u[1]),l[1]=Le(t,l[1]),u[1]=xe(s,u[1]),l[1]=Le(s,l[1])}function $0(e,t,r,n,i,a,o,s){var u=Yh,l=ce,f=Le(xe(u(e,r,i),1),0),h=Le(xe(u(t,n,a),1),0),v=l(e,r,i,f),c=l(t,n,a,h);o[0]=xe(e,i,v),o[1]=xe(t,a,c),s[0]=Le(e,i,v),s[1]=Le(t,a,c)}function Z0(e,t,r,n,i,a,o,s,u){var l=dr,f=gr,h=Math.abs(i-a);if(h%rr<1e-4&&h>1e-4){s[0]=e-r,s[1]=t-n,u[0]=e+r,u[1]=t+n;return}if(Mi[0]=Ao(i)*r+e,Mi[1]=Ro(i)*n+t,Pi[0]=Ao(a)*r+e,Pi[1]=Ro(a)*n+t,l(s,Mi,Pi),f(u,Mi,Pi),i=i%rr,i<0&&(i=i+rr),a=a%rr,a<0&&(a=a+rr),i>a&&!o?a+=rr:i<a&&o&&(i+=rr),o){var v=a;a=i,i=v}for(var c=0;c<a;c+=Math.PI/2)c>i&&(Ri[0]=Ao(c)*r+e,Ri[1]=Ro(c)*n+t,l(s,Ri,s),f(u,Ri,u))}var W={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},nr=[],ir=[],ht=[],Lt=[],ct=[],vt=[],No=Math.min,xo=Math.max,ar=Math.cos,or=Math.sin,bt=Math.abs,Ns=Math.PI,kt=Ns*2,Lo=typeof Float32Array!="undefined",Sn=[];function Io(e){var t=Math.round(e/Ns*1e8)/1e8;return t%2*Ns}function mc(e,t){var r=Io(e[0]);r<0&&(r+=kt);var n=r-e[0],i=e[1];i+=n,!t&&i-r>=kt?i=r+kt:t&&r-i>=kt?i=r-kt:!t&&r>i?i=r+(kt-Io(r-i)):t&&r<i&&(i=r-(kt-Io(i-r))),e[0]=r,e[1]=i}var Mr=(function(){function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,r,n){n=n||0,n>0&&(this._ux=bt(n/Ts/t)||0,this._uy=bt(n/Ts/r)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(W.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},e.prototype.lineTo=function(t,r){var n=bt(t-this._xi),i=bt(r-this._yi),a=n>this._ux||i>this._uy;if(this.addData(W.L,t,r),this._ctx&&a&&this._ctx.lineTo(t,r),a)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,r,n,i,a,o){return this._drawPendingPt(),this.addData(W.C,t,r,n,i,a,o),this._ctx&&this._ctx.bezierCurveTo(t,r,n,i,a,o),this._xi=a,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,r,n,i){return this._drawPendingPt(),this.addData(W.Q,t,r,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,r,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,r,n,i,a,o){this._drawPendingPt(),Sn[0]=i,Sn[1]=a,mc(Sn,o),i=Sn[0],a=Sn[1];var s=a-i;return this.addData(W.A,t,r,n,n,i,s,0,o?0:1),this._ctx&&this._ctx.arc(t,r,n,i,a,o),this._xi=ar(a)*n+t,this._yi=or(a)*n+r,this},e.prototype.arcTo=function(t,r,n,i,a){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,n,i,a),this},e.prototype.rect=function(t,r,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,n,i),this.addData(W.R,t,r,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(W.Z);var t=this._ctx,r=this._x0,n=this._y0;return t&&t.closePath(),this._xi=r,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var r=t.length;!(this.data&&this.data.length===r)&&Lo&&(this.data=new Float32Array(r));for(var n=0;n<r;n++)this.data[n]=t[n];this._len=r},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var r=t.length,n=0,i=this._len,a=0;a<r;a++)n+=t[a].len();Lo&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var a=0;a<r;a++)for(var o=t[a].data,s=0;s<o.length;s++)this.data[i++]=o[s];this._len=i},e.prototype.addData=function(t,r,n,i,a,o,s,u,l){if(this._saveData){var f=this.data;this._len+arguments.length>f.length&&(this._expandData(),f=this.data);for(var h=0;h<arguments.length;h++)f[this._len++]=arguments[h]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r<this._len;r++)t[r]=this.data[r];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,Lo&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){ht[0]=ht[1]=ct[0]=ct[1]=Number.MAX_VALUE,Lt[0]=Lt[1]=vt[0]=vt[1]=-Number.MAX_VALUE;var t=this.data,r=0,n=0,i=0,a=0,o;for(o=0;o<this._len;){var s=t[o++],u=o===1;switch(u&&(r=t[o],n=t[o+1],i=r,a=n),s){case W.M:r=i=t[o++],n=a=t[o++],ct[0]=i,ct[1]=a,vt[0]=i,vt[1]=a;break;case W.L:Ol(r,n,t[o],t[o+1],ct,vt),r=t[o++],n=t[o++];break;case W.C:q0(r,n,t[o++],t[o++],t[o++],t[o++],t[o],t[o+1],ct,vt),r=t[o++],n=t[o++];break;case W.Q:$0(r,n,t[o++],t[o++],t[o],t[o+1],ct,vt),r=t[o++],n=t[o++];break;case W.A:var l=t[o++],f=t[o++],h=t[o++],v=t[o++],c=t[o++],p=t[o++]+c;o+=1;var y=!t[o++];u&&(i=ar(c)*h+l,a=or(c)*v+f),Z0(l,f,h,v,c,p,y,ct,vt),r=ar(p)*h+l,n=or(p)*v+f;break;case W.R:i=r=t[o++],a=n=t[o++];var d=t[o++],g=t[o++];Ol(i,a,i+d,a+g,ct,vt);break;case W.Z:r=i,n=a;break}dr(ht,ht,ct),gr(Lt,Lt,vt)}return o===0&&(ht[0]=ht[1]=Lt[0]=Lt[1]=0),new Q(ht[0],ht[1],Lt[0]-ht[0],Lt[1]-ht[1])},e.prototype._calculateLength=function(){var t=this.data,r=this._len,n=this._ux,i=this._uy,a=0,o=0,s=0,u=0;this._pathSegLen||(this._pathSegLen=[]);for(var l=this._pathSegLen,f=0,h=0,v=0;v<r;){var c=t[v++],p=v===1;p&&(a=t[v],o=t[v+1],s=a,u=o);var y=-1;switch(c){case W.M:a=s=t[v++],o=u=t[v++];break;case W.L:{var d=t[v++],g=t[v++],_=d-a,m=g-o;(bt(_)>n||bt(m)>i||v===r-1)&&(y=Math.sqrt(_*_+m*m),a=d,o=g);break}case W.C:{var S=t[v++],T=t[v++],d=t[v++],g=t[v++],w=t[v++],b=t[v++];y=Xd(a,o,S,T,d,g,w,b,10),a=w,o=b;break}case W.Q:{var S=t[v++],T=t[v++],d=t[v++],g=t[v++];y=$d(a,o,S,T,d,g,10),a=d,o=g;break}case W.A:var C=t[v++],E=t[v++],P=t[v++],M=t[v++],A=t[v++],F=t[v++],R=F+A;v+=1,p&&(s=ar(A)*P+C,u=or(A)*M+E),y=xo(P,M)*No(kt,Math.abs(F)),a=ar(R)*P+C,o=or(R)*M+E;break;case W.R:{s=a=t[v++],u=o=t[v++];var U=t[v++],x=t[v++];y=U*2+x*2;break}case W.Z:{var _=s-a,m=u-o;y=Math.sqrt(_*_+m*m),a=s,o=u;break}}y>=0&&(l[h++]=y,f+=y)}return this._pathLen=f,f},e.prototype.rebuildPath=function(t,r){var n=this.data,i=this._ux,a=this._uy,o=this._len,s,u,l,f,h,v,c=r<1,p,y,d=0,g=0,_,m=0,S,T;if(!(c&&(this._pathSegLen||this._calculateLength(),p=this._pathSegLen,y=this._pathLen,_=r*y,!_)))e:for(var w=0;w<o;){var b=n[w++],C=w===1;switch(C&&(l=n[w],f=n[w+1],s=l,u=f),b!==W.L&&m>0&&(t.lineTo(S,T),m=0),b){case W.M:s=l=n[w++],u=f=n[w++],t.moveTo(l,f);break;case W.L:{h=n[w++],v=n[w++];var E=bt(h-l),P=bt(v-f);if(E>i||P>a){if(c){var M=p[g++];if(d+M>_){var A=(_-d)/M;t.lineTo(l*(1-A)+h*A,f*(1-A)+v*A);break e}d+=M}t.lineTo(h,v),l=h,f=v,m=0}else{var F=E*E+P*P;F>m&&(S=h,T=v,m=F)}break}case W.C:{var R=n[w++],U=n[w++],x=n[w++],$=n[w++],oe=n[w++],le=n[w++];if(c){var M=p[g++];if(d+M>_){var A=(_-d)/M;Jn(l,R,x,oe,A,nr),Jn(f,U,$,le,A,ir),t.bezierCurveTo(nr[1],ir[1],nr[2],ir[2],nr[3],ir[3]);break e}d+=M}t.bezierCurveTo(R,U,x,$,oe,le),l=oe,f=le;break}case W.Q:{var R=n[w++],U=n[w++],x=n[w++],$=n[w++];if(c){var M=p[g++];if(d+M>_){var A=(_-d)/M;jn(l,R,x,A,nr),jn(f,U,$,A,ir),t.quadraticCurveTo(nr[1],ir[1],nr[2],ir[2]);break e}d+=M}t.quadraticCurveTo(R,U,x,$),l=x,f=$;break}case W.A:var ke=n[w++],Se=n[w++],ee=n[w++],Ge=n[w++],Ye=n[w++],xt=n[w++],Xt=n[w++],qt=!n[w++],Lr=ee>Ge?ee:Ge,Be=bt(ee-Ge)>.001,fe=Ye+xt,L=!1;if(c){var M=p[g++];d+M>_&&(fe=Ye+xt*(_-d)/M,L=!0),d+=M}if(Be&&t.ellipse?t.ellipse(ke,Se,ee,Ge,Xt,Ye,fe,qt):t.arc(ke,Se,Lr,Ye,fe,qt),L)break e;C&&(s=ar(Ye)*ee+ke,u=or(Ye)*Ge+Se),l=ar(fe)*ee+ke,f=or(fe)*Ge+Se;break;case W.R:s=l=n[w],u=f=n[w+1],h=n[w++],v=n[w++];var H=n[w++],$t=n[w++];if(c){var M=p[g++];if(d+M>_){var we=_-d;t.moveTo(h,v),t.lineTo(h+No(we,H),v),we-=H,we>0&&t.lineTo(h+H,v+No(we,$t)),we-=$t,we>0&&t.lineTo(h+xo(H-we,0),v+$t),we-=H,we>0&&t.lineTo(h,v+xo($t-we,0));break e}d+=M}t.rect(h,v,H,$t);break;case W.Z:if(c){var M=p[g++];if(d+M>_){var A=(_-d)/M;t.lineTo(l*(1-A)+s*A,f*(1-A)+u*A);break e}d+=M}t.closePath(),l=s,f=u}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=W,e.initDefaultProps=(function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0})(),e})();function pr(e,t,r,n,i,a,o){if(i===0)return!1;var s=i,u=0,l=e;if(o>t+s&&o>n+s||o<t-s&&o<n-s||a>e+s&&a>r+s||a<e-s&&a<r-s)return!1;if(e!==r)u=(t-n)/(e-r),l=(e*n-r*t)/(e-r);else return Math.abs(a-e)<=s/2;var f=u*a-o+l,h=f*f/(u*u+1);return h<=s/2*s/2}function K0(e,t,r,n,i,a,o,s,u,l,f){if(u===0)return!1;var h=u;if(f>t+h&&f>n+h&&f>a+h&&f>s+h||f<t-h&&f<n-h&&f<a-h&&f<s-h||l>e+h&&l>r+h&&l>i+h&&l>o+h||l<e-h&&l<r-h&&l<i-h&&l<o-h)return!1;var v=Gh(e,t,r,n,i,a,o,s,l,f,null);return v<=h/2}function Sc(e,t,r,n,i,a,o,s,u){if(o===0)return!1;var l=o;if(u>t+l&&u>n+l&&u>a+l||u<t-l&&u<n-l&&u<a-l||s>e+l&&s>r+l&&s>i+l||s<e-l&&s<r-l&&s<i-l)return!1;var f=Wh(e,t,r,n,i,a,s,u,null);return f<=l/2}var Bl=Math.PI*2;function Ln(e){return e%=Bl,e<0&&(e+=Bl),e}var wn=Math.PI*2;function Q0(e,t,r,n,i,a,o,s,u){if(o===0)return!1;var l=o;s-=e,u-=t;var f=Math.sqrt(s*s+u*u);if(f-l>r||f+l<r)return!1;if(Math.abs(n-i)%wn<1e-4)return!0;if(a){var h=n;n=Ln(i),i=Ln(h)}else n=Ln(n),i=Ln(i);n>i&&(i+=wn);var v=Math.atan2(u,s);return v<0&&(v+=wn),v>=n&&v<=i||v+wn>=n&&v+wn<=i}function Bt(e,t,r,n,i,a){if(a>t&&a>n||a<t&&a<n||n===t)return 0;var o=(a-t)/(n-t),s=n<t?1:-1;(o===1||o===0)&&(s=n<t?.5:-.5);var u=o*(r-e)+e;return u===i?1/0:u>i?s:0}var It=Mr.CMD,sr=Math.PI*2,J0=1e-4;function j0(e,t){return Math.abs(e-t)<J0}var Te=[-1,-1,-1],Ke=[-1,-1];function ey(){var e=Ke[0];Ke[0]=Ke[1],Ke[1]=e}function ty(e,t,r,n,i,a,o,s,u,l){if(l>t&&l>n&&l>a&&l>s||l<t&&l<n&&l<a&&l<s)return 0;var f=fu(t,n,a,s,l,Te);if(f===0)return 0;for(var h=0,v=-1,c=void 0,p=void 0,y=0;y<f;y++){var d=Te[y],g=d===0||d===1?.5:1,_=ue(e,r,i,o,d);_<u||(v<0&&(v=Uh(t,n,a,s,Ke),Ke[1]<Ke[0]&&v>1&&ey(),c=ue(t,n,a,s,Ke[0]),v>1&&(p=ue(t,n,a,s,Ke[1]))),v===2?d<Ke[0]?h+=c<t?g:-g:d<Ke[1]?h+=p<c?g:-g:h+=s<p?g:-g:d<Ke[0]?h+=c<t?g:-g:h+=s<c?g:-g)}return h}function ry(e,t,r,n,i,a,o,s){if(s>t&&s>n&&s>a||s<t&&s<n&&s<a)return 0;var u=qd(t,n,a,s,Te);if(u===0)return 0;var l=Yh(t,n,a);if(l>=0&&l<=1){for(var f=0,h=ce(t,n,a,l),v=0;v<u;v++){var c=Te[v]===0||Te[v]===1?.5:1,p=ce(e,r,i,Te[v]);p<o||(Te[v]<l?f+=h<t?c:-c:f+=a<h?c:-c)}return f}else{var c=Te[0]===0||Te[0]===1?.5:1,p=ce(e,r,i,Te[0]);return p<o?0:a<t?c:-c}}function ny(e,t,r,n,i,a,o,s){if(s-=t,s>r||s<-r)return 0;var u=Math.sqrt(r*r-s*s);Te[0]=-u,Te[1]=u;var l=Math.abs(n-i);if(l<1e-4)return 0;if(l>=sr-1e-4){n=0,i=sr;var f=a?1:-1;return o>=Te[0]+e&&o<=Te[1]+e?f:0}if(n>i){var h=n;n=i,i=h}n<0&&(n+=sr,i+=sr);for(var v=0,c=0;c<2;c++){var p=Te[c];if(p+e>o){var y=Math.atan2(s,p),f=a?1:-1;y<0&&(y=sr+y),(y>=n&&y<=i||y+sr>=n&&y+sr<=i)&&(y>Math.PI/2&&y<Math.PI*1.5&&(f=-f),v+=f)}}return v}function wc(e,t,r,n,i){for(var a=e.data,o=e.len(),s=0,u=0,l=0,f=0,h=0,v,c,p=0;p<o;){var y=a[p++],d=p===1;switch(y===It.M&&p>1&&(r||(s+=Bt(u,l,f,h,n,i))),d&&(u=a[p],l=a[p+1],f=u,h=l),y){case It.M:f=a[p++],h=a[p++],u=f,l=h;break;case It.L:if(r){if(pr(u,l,a[p],a[p+1],t,n,i))return!0}else s+=Bt(u,l,a[p],a[p+1],n,i)||0;u=a[p++],l=a[p++];break;case It.C:if(r){if(K0(u,l,a[p++],a[p++],a[p++],a[p++],a[p],a[p+1],t,n,i))return!0}else s+=ty(u,l,a[p++],a[p++],a[p++],a[p++],a[p],a[p+1],n,i)||0;u=a[p++],l=a[p++];break;case It.Q:if(r){if(Sc(u,l,a[p++],a[p++],a[p],a[p+1],t,n,i))return!0}else s+=ry(u,l,a[p++],a[p++],a[p],a[p+1],n,i)||0;u=a[p++],l=a[p++];break;case It.A:var g=a[p++],_=a[p++],m=a[p++],S=a[p++],T=a[p++],w=a[p++];p+=1;var b=!!(1-a[p++]);v=Math.cos(T)*m+g,c=Math.sin(T)*S+_,d?(f=v,h=c):s+=Bt(u,l,v,c,n,i);var C=(n-g)*S/m+g;if(r){if(Q0(g,_,S,T,T+w,b,t,C,i))return!0}else s+=ny(g,_,S,T,T+w,b,C,i);u=Math.cos(T+w)*m+g,l=Math.sin(T+w)*S+_;break;case It.R:f=u=a[p++],h=l=a[p++];var E=a[p++],P=a[p++];if(v=f+E,c=h+P,r){if(pr(f,h,v,h,t,n,i)||pr(v,h,v,c,t,n,i)||pr(v,c,f,c,t,n,i)||pr(f,c,f,h,t,n,i))return!0}else s+=Bt(v,h,v,c,n,i),s+=Bt(f,c,f,h,n,i);break;case It.Z:if(r){if(pr(u,l,f,h,t,n,i))return!0}else s+=Bt(u,l,f,h,n,i);u=f,l=h;break}}return!r&&!j0(l,h)&&(s+=Bt(u,l,f,h,n,i)||0),s!==0}function iy(e,t,r){return wc(e,0,!1,t,r)}function ay(e,t,r,n){return wc(e,t,!0,r,n)}var mu=pe({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},Dr),oy={style:pe({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},Oa.style)},Oo=rn.concat(["invisible","culling","z","z2","zlevel","parent"]),K=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.update=function(){var r=this;e.prototype.update.call(this);var n=this.style;if(n.decal){var i=this._decalEl=this._decalEl||new t;i.buildPath===t.prototype.buildPath&&(i.buildPath=function(u){r.buildPath(u,r.shape)}),i.silent=!0;var a=i.style;for(var o in n)a[o]!==n[o]&&(a[o]=n[o]);a.fill=n.fill?n.decal:null,a.decal=null,a.shadowColor=null,n.strokeFirst&&(a.stroke=null);for(var s=0;s<Oo.length;++s)i[Oo[s]]=this[Oo[s]];i.__dirty|=ot}else this._decalEl&&(this._decalEl=null)},t.prototype.getDecalElement=function(){return this._decalEl},t.prototype._init=function(r){var n=ie(r);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var a=0;a<n.length;a++){var o=n[a],s=r[o];o==="style"?this.style?N(this.style,s):this.useStyle(s):o==="shape"?N(this.shape,s):e.prototype.attrKV.call(this,o,s)}this.style||this.useStyle({})},t.prototype.getDefaultStyle=function(){return null},t.prototype.getDefaultShape=function(){return{}},t.prototype.canBeInsideText=function(){return this.hasFill()},t.prototype.getInsideTextFill=function(){var r=this.style.fill;if(r!=="none"){if(V(r)){var n=na(r,0);return n>.5?Cs:n>.2?Ng:Ds}else if(r)return Ds}return Cs},t.prototype.getInsideTextStroke=function(r){var n=this.style.fill;if(V(n)){var i=this.__zr,a=!!(i&&i.isDarkMode()),o=na(r,0)<bs;if(a===o)return n}},t.prototype.buildPath=function(r,n,i){},t.prototype.pathUpdated=function(){this.__dirty&=~Xr},t.prototype.getUpdatedPathProxy=function(r){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,r),this.path},t.prototype.createPathProxy=function(){this.path=new Mr(!1)},t.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return!(n==null||n==="none"||!(r.lineWidth>0))},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.getBoundingRect=function(){var r=this._rect,n=this.style,i=!r;if(i){var a=!1;this.path||(a=!0,this.createPathProxy());var o=this.path;(a||this.__dirty&Xr)&&(o.beginPath(),this.buildPath(o,this.shape,!1),this.pathUpdated()),r=o.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var s=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||i){s.copy(r);var u=n.strokeNoScale?this.getLineScale():1,l=n.lineWidth;if(!this.hasFill()){var f=this.strokeContainThreshold;l=Math.max(l,f==null?4:f)}u>1e-10&&(s.width+=l/u,s.height+=l/u,s.x-=l/u/2,s.y-=l/u/2)}return s}return r},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect(),o=this.style;if(r=i[0],n=i[1],a.contain(r,n)){var s=this.path;if(this.hasStroke()){var u=o.lineWidth,l=o.strokeNoScale?this.getLineScale():1;if(l>1e-10&&(this.hasFill()||(u=Math.max(u,this.strokeContainThreshold)),ay(s,u/l,r,n)))return!0}if(this.hasFill())return iy(s,r,n)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=Xr,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(r){return this.animate("shape",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(r,n){r==="shape"?this.setShape(n):e.prototype.attrKV.call(this,r,n)},t.prototype.setShape=function(r,n){var i=this.shape;return i||(i=this.shape={}),typeof r=="string"?i[r]=n:N(i,r),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&Xr)},t.prototype.createStyle=function(r){return Ea(mu,r)},t.prototype._innerSaveToNormal=function(r){e.prototype._innerSaveToNormal.call(this,r);var n=this._normalState;r.shape&&!n.shape&&(n.shape=N({},this.shape))},t.prototype._applyStateObj=function(r,n,i,a,o,s){e.prototype._applyStateObj.call(this,r,n,i,a,o,s);var u=!(n&&a),l;if(n&&n.shape?o?a?l=n.shape:(l=N({},i.shape),N(l,n.shape)):(l=N({},a?this.shape:i.shape),N(l,n.shape)):u&&(l=i.shape),l)if(o){this.shape=N({},this.shape);for(var f={},h=ie(l),v=0;v<h.length;v++){var c=h[v];typeof l[c]=="object"?this.shape[c]=l[c]:f[c]=l[c]}this._transitionState(r,{shape:f},s)}else this.shape=l,this.dirtyShape()},t.prototype._mergeStates=function(r){for(var n=e.prototype._mergeStates.call(this,r),i,a=0;a<r.length;a++){var o=r[a];o.shape&&(i=i||{},this._mergeStyle(i,o.shape))}return i&&(n.shape=i),n},t.prototype.getAnimationStyleProps=function(){return oy},t.prototype.isZeroArea=function(){return!1},t.extend=function(r){var n=(function(a){z(o,a);function o(s){var u=a.call(this,s)||this;return r.init&&r.init.call(u,s),u}return o.prototype.getDefaultStyle=function(){return X(r.style)},o.prototype.getDefaultShape=function(){return X(r.shape)},o})(t);for(var i in r)typeof r[i]=="function"&&(n.prototype[i]=r[i]);return n},t.initDefaultProps=(function(){var r=t.prototype;r.type="path",r.strokeContainThreshold=5,r.segmentIgnoreThreshold=0,r.subPixelOptimize=!1,r.autoBatch=!1,r.__dirty=ot|Rn|Xr})(),t})(cn),sy=pe({strokeFirst:!0,font:Ut,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},mu),ri=(function(e){z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.hasStroke=function(){var r=this.style,n=r.stroke;return n!=null&&n!=="none"&&r.lineWidth>0},t.prototype.hasFill=function(){var r=this.style,n=r.fill;return n!=null&&n!=="none"},t.prototype.createStyle=function(r){return Ea(sy,r)},t.prototype.setBoundingRect=function(r){this._rect=r},t.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var n=r.text;n!=null?n+="":n="";var i=tc(n,r.font,r.textAlign,r.textBaseline);if(i.x+=r.x||0,i.y+=r.y||0,this.hasStroke()){var a=r.lineWidth;i.x-=a/2,i.y-=a/2,i.width+=a,i.height+=a}this._rect=i}return this._rect},t.initDefaultProps=(function(){var r=t.prototype;r.dirtyRectTolerance=10})(),t})(cn);ri.prototype.type="tspan";var uy=pe({x:0,y:0},Dr),ly={style:pe({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},Oa.style)};function fy(e){return!!(e&&typeof e!="string"&&e.width&&e.height)}var Wt=(function(e){z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.createStyle=function(r){return Ea(uy,r)},t.prototype._getSize=function(r){var n=this.style,i=n[r];if(i!=null)return i;var a=fy(n.image)?n.image:this.__image;if(!a)return 0;var o=r==="width"?"height":"width",s=n[o];return s==null?a[r]:a[r]/a[o]*s},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return ly},t.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new Q(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},t})(cn);Wt.prototype.type="image";function hy(e,t){var r=t.x,n=t.y,i=t.width,a=t.height,o=t.r,s,u,l,f;i<0&&(r=r+i,i=-i),a<0&&(n=n+a,a=-a),typeof o=="number"?s=u=l=f=o:o instanceof Array?o.length===1?s=u=l=f=o[0]:o.length===2?(s=l=o[0],u=f=o[1]):o.length===3?(s=o[0],u=f=o[1],l=o[2]):(s=o[0],u=o[1],l=o[2],f=o[3]):s=u=l=f=0;var h;s+u>i&&(h=s+u,s*=i/h,u*=i/h),l+f>i&&(h=l+f,l*=i/h,f*=i/h),u+l>a&&(h=u+l,u*=a/h,l*=a/h),s+f>a&&(h=s+f,s*=a/h,f*=a/h),e.moveTo(r+s,n),e.lineTo(r+i-u,n),u!==0&&e.arc(r+i-u,n+u,u,-Math.PI/2,0),e.lineTo(r+i,n+a-l),l!==0&&e.arc(r+i-l,n+a-l,l,0,Math.PI/2),e.lineTo(r+f,n+a),f!==0&&e.arc(r+f,n+a-f,f,Math.PI/2,Math.PI),e.lineTo(r,n+s),s!==0&&e.arc(r+s,n+s,s,Math.PI,Math.PI*1.5)}var Zr=Math.round;function Tc(e,t,r){if(t){var n=t.x1,i=t.x2,a=t.y1,o=t.y2;e.x1=n,e.x2=i,e.y1=a,e.y2=o;var s=r&&r.lineWidth;return s&&(Zr(n*2)===Zr(i*2)&&(e.x1=e.x2=_r(n,s,!0)),Zr(a*2)===Zr(o*2)&&(e.y1=e.y2=_r(a,s,!0))),e}}function bc(e,t,r){if(t){var n=t.x,i=t.y,a=t.width,o=t.height;e.x=n,e.y=i,e.width=a,e.height=o;var s=r&&r.lineWidth;return s&&(e.x=_r(n,s,!0),e.y=_r(i,s,!0),e.width=Math.max(_r(n+a,s,!1)-e.x,a===0?0:1),e.height=Math.max(_r(i+o,s,!1)-e.y,o===0?0:1)),e}}function _r(e,t,r){if(!t)return e;var n=Zr(e*2);return(n+Zr(t))%2===0?n/2:(n+(r?1:-1))/2}var cy=(function(){function e(){this.x=0,this.y=0,this.width=0,this.height=0}return e})(),vy={},ut=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new cy},t.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var u=bc(vy,n,this.style);i=u.x,a=u.y,o=u.width,s=u.height,u.r=n.r,n=u}else i=n.x,a=n.y,o=n.width,s=n.height;n.r?hy(r,n):r.rect(i,a,o,s)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t})(K);ut.prototype.type="rect";var Vl={fill:"#000"},zl=2,py={style:pe({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},Oa.style)},Pr=(function(e){z(t,e);function t(r){var n=e.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Vl,n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){e.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r<this._children.length;r++){var n=this._children[r];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},t.prototype.updateTransform=function(){var r=this.innerTransformable;r?(r.updateTransform(),r.transform&&(this.transform=r.transform)):e.prototype.updateTransform.call(this)},t.prototype.getLocalTransform=function(r){var n=this.innerTransformable;return n?n.getLocalTransform(r):e.prototype.getLocalTransform.call(this,r)},t.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),e.prototype.getComputedTransform.call(this)},t.prototype._updateSubTexts=function(){this._childCursor=0,yy(this.style),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},t.prototype.addSelfToZr=function(r){e.prototype.addSelfToZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=r},t.prototype.removeSelfFromZr=function(r){e.prototype.removeSelfFromZr.call(this,r);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},t.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var r=new Q(0,0,0,0),n=this._children,i=[],a=null,o=0;o<n.length;o++){var s=n[o],u=s.getBoundingRect(),l=s.getLocalTransform(i);l?(r.copy(u),r.applyTransform(l),a=a||r.clone(),a.union(r)):(a=a||u.clone(),a.union(u))}this._rect=a||r}return this._rect},t.prototype.setDefaultTextStyle=function(r){this._defaultStyle=r||Vl},t.prototype.setTextContent=function(r){if(process.env.NODE_ENV!=="production")throw new Error("Can't attach text on another text")},t.prototype._mergeStyle=function(r,n){if(!n)return r;var i=n.rich,a=r.rich||i&&{};return N(r,n),i&&a?(this._mergeRich(a,i),r.rich=a):a&&(r.rich=a),r},t.prototype._mergeRich=function(r,n){for(var i=ie(n),a=0;a<i.length;a++){var o=i[a];r[o]=r[o]||{},N(r[o],n[o])}},t.prototype.getAnimationStyleProps=function(){return py},t.prototype._getOrCreateChild=function(r){var n=this._children[this._childCursor];return(!n||!(n instanceof r))&&(n=new r),this._children[this._childCursor++]=n,n.__zr=this.__zr,n.parent=this,n},t.prototype._updatePlainTexts=function(){var r=this.style,n=r.font||Ut,i=r.padding,a=ql(r),o=k0(a,r),s=Fo(r),u=!!r.backgroundColor,l=o.outerHeight,f=o.outerWidth,h=o.contentWidth,v=o.lines,c=o.lineHeight,p=this._defaultStyle;this.isTruncated=!!o.isTruncated;var y=r.x||0,d=r.y||0,g=r.align||p.align||"left",_=r.verticalAlign||p.verticalAlign||"top",m=y,S=qr(d,o.contentHeight,_);if(s||i){var T=Nn(y,f,g),w=qr(d,l,_);s&&this._renderBackground(r,r,T,w,f,l)}S+=c/2,i&&(m=Xl(y,g,i),_==="top"?S+=i[0]:_==="bottom"&&(S-=i[2]));for(var b=0,C=!1,E=Wl("fill"in r?r.fill:(C=!0,p.fill)),P=Yl("stroke"in r?r.stroke:!u&&(!p.autoStroke||C)?(b=zl,p.stroke):null),M=r.textShadowBlur>0,A=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),F=o.calculatedLineHeight,R=0;R<v.length;R++){var U=this._getOrCreateChild(ri),x=U.createStyle();U.useStyle(x),x.text=v[R],x.x=m,x.y=S,x.textAlign=g,x.textBaseline="middle",x.opacity=r.opacity,x.strokeFirst=!0,M&&(x.shadowBlur=r.textShadowBlur||0,x.shadowColor=r.textShadowColor||"transparent",x.shadowOffsetX=r.textShadowOffsetX||0,x.shadowOffsetY=r.textShadowOffsetY||0),x.stroke=P,x.fill=E,P&&(x.lineWidth=r.lineWidth||b,x.lineDash=r.lineDash,x.lineDashOffset=r.lineDashOffset||0),x.font=n,Ul(x,r),S+=c,A&&U.setBoundingRect(new Q(Nn(x.x,h,x.textAlign),qr(x.y,F,x.textBaseline),h,F))}},t.prototype._updateRichTexts=function(){var r=this.style,n=ql(r),i=z0(n,r),a=i.width,o=i.outerWidth,s=i.outerHeight,u=r.padding,l=r.x||0,f=r.y||0,h=this._defaultStyle,v=r.align||h.align,c=r.verticalAlign||h.verticalAlign;this.isTruncated=!!i.isTruncated;var p=Nn(l,o,v),y=qr(f,s,c),d=p,g=y;u&&(d+=u[3],g+=u[0]);var _=d+a;Fo(r)&&this._renderBackground(r,r,p,y,o,s);for(var m=!!r.backgroundColor,S=0;S<i.lines.length;S++){for(var T=i.lines[S],w=T.tokens,b=w.length,C=T.lineHeight,E=T.width,P=0,M=d,A=_,F=b-1,R=void 0;P<b&&(R=w[P],!R.align||R.align==="left");)this._placeToken(R,r,C,g,M,"left",m),E-=R.width,M+=R.width,P++;for(;F>=0&&(R=w[F],R.align==="right");)this._placeToken(R,r,C,g,A,"right",m),E-=R.width,A-=R.width,F--;for(M+=(a-(M-d)-(_-A)-E)/2;P<=F;)R=w[P],this._placeToken(R,r,C,g,M+R.width/2,"center",m),M+=R.width,P++;g+=C}},t.prototype._placeToken=function(r,n,i,a,o,s,u){var l=n.rich[r.styleName]||{};l.text=r.text;var f=r.verticalAlign,h=a+i/2;f==="top"?h=a+r.height/2:f==="bottom"&&(h=a+i-r.height/2);var v=!r.isLineHolder&&Fo(l);v&&this._renderBackground(l,n,s==="right"?o-r.width:s==="center"?o-r.width/2:o,h-r.height/2,r.width,r.height);var c=!!l.backgroundColor,p=r.textPadding;p&&(o=Xl(o,s,p),h-=r.height/2-p[0]-r.innerHeight/2);var y=this._getOrCreateChild(ri),d=y.createStyle();y.useStyle(d);var g=this._defaultStyle,_=!1,m=0,S=Wl("fill"in l?l.fill:"fill"in n?n.fill:(_=!0,g.fill)),T=Yl("stroke"in l?l.stroke:"stroke"in n?n.stroke:!c&&!u&&(!g.autoStroke||_)?(m=zl,g.stroke):null),w=l.textShadowBlur>0||n.textShadowBlur>0;d.text=r.text,d.x=o,d.y=h,w&&(d.shadowBlur=l.textShadowBlur||n.textShadowBlur||0,d.shadowColor=l.textShadowColor||n.textShadowColor||"transparent",d.shadowOffsetX=l.textShadowOffsetX||n.textShadowOffsetX||0,d.shadowOffsetY=l.textShadowOffsetY||n.textShadowOffsetY||0),d.textAlign=s,d.textBaseline="middle",d.font=r.font||Ut,d.opacity=Bn(l.opacity,n.opacity,1),Ul(d,l),T&&(d.lineWidth=Bn(l.lineWidth,n.lineWidth,m),d.lineDash=B(l.lineDash,n.lineDash),d.lineDashOffset=n.lineDashOffset||0,d.stroke=T),S&&(d.fill=S);var b=r.contentWidth,C=r.contentHeight;y.setBoundingRect(new Q(Nn(d.x,b,d.textAlign),qr(d.y,C,d.textBaseline),b,C))},t.prototype._renderBackground=function(r,n,i,a,o,s){var u=r.backgroundColor,l=r.borderWidth,f=r.borderColor,h=u&&u.image,v=u&&!h,c=r.borderRadius,p=this,y,d;if(v||r.lineHeight||l&&f){y=this._getOrCreateChild(ut),y.useStyle(y.createStyle()),y.style.fill=null;var g=y.shape;g.x=i,g.y=a,g.width=o,g.height=s,g.r=c,y.dirtyShape()}if(v){var _=y.style;_.fill=u||null,_.fillOpacity=B(r.fillOpacity,1)}else if(h){d=this._getOrCreateChild(Wt),d.onload=function(){p.dirtyStyle()};var m=d.style;m.image=u.image,m.x=i,m.y=a,m.width=o,m.height=s}if(l&&f){var _=y.style;_.lineWidth=l,_.stroke=f,_.strokeOpacity=B(r.strokeOpacity,1),_.lineDash=r.borderDash,_.lineDashOffset=r.borderDashOffset||0,y.strokeContainThreshold=0,y.hasFill()&&y.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var S=(y||d).style;S.shadowBlur=r.shadowBlur||0,S.shadowColor=r.shadowColor||"transparent",S.shadowOffsetX=r.shadowOffsetX||0,S.shadowOffsetY=r.shadowOffsetY||0,S.opacity=Bn(r.opacity,n.opacity,1)},t.makeFont=function(r){var n="";return Dc(r)&&(n=[r.fontStyle,r.fontWeight,Cc(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),n&&gt(n)||r.textFont||r.font},t})(cn),dy={left:!0,right:1,center:1},gy={top:1,bottom:1,middle:1},Hl=["fontStyle","fontWeight","fontSize","fontFamily"];function Cc(e){return typeof e=="string"&&(e.indexOf("px")!==-1||e.indexOf("rem")!==-1||e.indexOf("em")!==-1)?e:isNaN(+e)?eu+"px":e+"px"}function Ul(e,t){for(var r=0;r<Hl.length;r++){var n=Hl[r],i=t[n];i!=null&&(e[n]=i)}}function Dc(e){return e.fontSize!=null||e.fontFamily||e.fontWeight}function yy(e){return Gl(e),D(e.rich,Gl),e}function Gl(e){if(e){e.font=Pr.makeFont(e);var t=e.align;t==="middle"&&(t="center"),e.align=t==null||dy[t]?t:"left";var r=e.verticalAlign;r==="center"&&(r="middle"),e.verticalAlign=r==null||gy[r]?r:"top";var n=e.padding;n&&(e.padding=au(e.padding))}}function Yl(e,t){return e==null||t<=0||e==="transparent"||e==="none"?null:e.image||e.colorStops?"#000":e}function Wl(e){return e==null||e==="none"?null:e.image||e.colorStops?"#000":e}function Xl(e,t,r){return t==="right"?e-r[1]:t==="center"?e+r[3]/2-r[1]/2:e+r[3]}function ql(e){var t=e.text;return t!=null&&(t+=""),t}function Fo(e){return!!(e.backgroundColor||e.lineHeight||e.borderWidth&&e.borderColor)}var De=Fe(),_y=function(e,t,r,n){if(n){var i=De(n);i.dataIndex=r,i.dataType=t,i.seriesIndex=e,i.ssrType="chart",n.type==="group"&&n.traverse(function(a){var o=De(a);o.seriesIndex=e,o.dataIndex=r,o.dataType=t,o.ssrType="chart"})}},$l=1,Zl={},Ec=Fe(),Su=Fe(),wu=0,vi=1,Fa=2,At=["emphasis","blur","select"],xs=["normal","emphasis","blur","select"],Mc=10,my=9,Er="highlight",Ki="downplay",Yn="select",Qi="unselect",Wn="toggleSelect";function Br(e){return e!=null&&e!=="none"}function ka(e,t,r){e.onHoverStateChange&&(e.hoverState||0)!==r&&e.onHoverStateChange(t),e.hoverState=r}function Pc(e){ka(e,"emphasis",Fa)}function Rc(e){e.hoverState===Fa&&ka(e,"normal",wu)}function Tu(e){ka(e,"blur",vi)}function Ac(e){e.hoverState===vi&&ka(e,"normal",wu)}function Sy(e){e.selected=!0}function wy(e){e.selected=!1}function Kl(e,t,r){t(e,r)}function Nt(e,t,r){Kl(e,t,r),e.isGroup&&e.traverse(function(n){Kl(n,t,r)})}function Ty(e,t){switch(t){case"emphasis":e.hoverState=Fa;break;case"normal":e.hoverState=wu;break;case"blur":e.hoverState=vi;break;case"select":e.selected=!0}}function by(e,t,r,n){for(var i=e.style,a={},o=0;o<t.length;o++){var s=t[o],u=i[s];a[s]=u==null?n&&n[s]:u}for(var o=0;o<e.animators.length;o++){var l=e.animators[o];l.__fromStateTransition&&l.__fromStateTransition.indexOf(r)<0&&l.targetName==="style"&&l.saveTo(a,t)}return a}function Cy(e,t,r,n){var i=r&&ne(r,"select")>=0,a=!1;if(e instanceof K){var o=Ec(e),s=i&&o.selectFill||o.normalFill,u=i&&o.selectStroke||o.normalStroke;if(Br(s)||Br(u)){n=n||{};var l=n.style||{};l.fill==="inherit"?(a=!0,n=N({},n),l=N({},l),l.fill=s):!Br(l.fill)&&Br(s)?(a=!0,n=N({},n),l=N({},l),l.fill=ds(s)):!Br(l.stroke)&&Br(u)&&(a||(n=N({},n),l=N({},l)),l.stroke=ds(u)),n.style=l}}if(n&&n.z2==null){a||(n=N({},n));var f=e.z2EmphasisLift;n.z2=e.z2+(f!=null?f:Mc)}return n}function Dy(e,t,r){if(r&&r.z2==null){r=N({},r);var n=e.z2SelectLift;r.z2=e.z2+(n!=null?n:my)}return r}function Ey(e,t,r){var n=ne(e.currentStates,t)>=0,i=e.style.opacity,a=n?null:by(e,["opacity"],t,{opacity:1});r=r||{};var o=r.style||{};return o.opacity==null&&(r=N({},r),o=N({opacity:n?i:a.opacity*.1},o),r.style=o),r}function ko(e,t){var r=this.states[e];if(this.style){if(e==="emphasis")return Cy(this,e,t,r);if(e==="blur")return Ey(this,e,r);if(e==="select")return Dy(this,e,r)}return r}function Nc(e){e.stateProxy=ko;var t=e.getTextContent(),r=e.getTextGuideLine();t&&(t.stateProxy=ko),r&&(r.stateProxy=ko)}function Ql(e,t){!Oc(e,t)&&!e.__highByOuter&&Nt(e,Pc)}function Jl(e,t){!Oc(e,t)&&!e.__highByOuter&&Nt(e,Rc)}function oa(e,t){e.__highByOuter|=1<<(t||0),Nt(e,Pc)}function sa(e,t){!(e.__highByOuter&=~(1<<(t||0)))&&Nt(e,Rc)}function xc(e){Nt(e,Tu)}function bu(e){Nt(e,Ac)}function Lc(e){Nt(e,Sy)}function Ic(e){Nt(e,wy)}function Oc(e,t){return e.__highDownSilentOnTouch&&t.zrByTouch}function Fc(e){var t=e.getModel(),r=[],n=[];t.eachComponent(function(i,a){var o=Su(a),s=i==="series",u=s?e.getViewOfSeriesModel(a):e.getViewOfComponentModel(a);!s&&n.push(u),o.isBlured&&(u.group.traverse(function(l){Ac(l)}),s&&r.push(a)),o.isBlured=!1}),D(n,function(i){i&&i.toggleBlurSeries&&i.toggleBlurSeries(r,!1,t)})}function Ls(e,t,r,n){var i=n.getModel();r=r||"coordinateSystem";function a(l,f){for(var h=0;h<f.length;h++){var v=l.getItemGraphicEl(f[h]);v&&bu(v)}}if(e!=null&&!(!t||t==="none")){var o=i.getSeriesByIndex(e),s=o.coordinateSystem;s&&s.master&&(s=s.master);var u=[];i.eachSeries(function(l){var f=o===l,h=l.coordinateSystem;h&&h.master&&(h=h.master);var v=h&&s?h===s:f;if(!(r==="series"&&!f||r==="coordinateSystem"&&!v||t==="series"&&f)){var c=n.getViewOfSeriesModel(l);if(c.group.traverse(function(d){d.__highByOuter&&f&&t==="self"||Tu(d)}),Oe(t))a(l.getData(),t);else if(O(t))for(var p=ie(t),y=0;y<p.length;y++)a(l.getData(p[y]),t[p[y]]);u.push(l),Su(l).isBlured=!0}}),i.eachComponent(function(l,f){if(l!=="series"){var h=n.getViewOfComponentModel(f);h&&h.toggleBlurSeries&&h.toggleBlurSeries(u,!0,i)}})}}function Is(e,t,r){if(!(e==null||t==null)){var n=r.getModel().getComponent(e,t);if(n){Su(n).isBlured=!0;var i=r.getViewOfComponentModel(n);!i||!i.focusBlurEnabled||i.group.traverse(function(a){Tu(a)})}}}function My(e,t,r){var n=e.seriesIndex,i=e.getData(t.dataType);if(!i){process.env.NODE_ENV!=="production"&&ve("Unknown dataType "+t.dataType);return}var a=hi(i,t);a=(I(a)?a[0]:a)||0;var o=i.getItemGraphicEl(a);if(!o)for(var s=i.count(),u=0;!o&&u<s;)o=i.getItemGraphicEl(u++);if(o){var l=De(o);Ls(n,l.focus,l.blurScope,r)}else{var f=e.get(["emphasis","focus"]),h=e.get(["emphasis","blurScope"]);f!=null&&Ls(n,f,h,r)}}function Cu(e,t,r,n){var i={focusSelf:!1,dispatchers:null};if(e==null||e==="series"||t==null||r==null)return i;var a=n.getModel().getComponent(e,t);if(!a)return i;var o=n.getViewOfComponentModel(a);if(!o||!o.findHighDownDispatchers)return i;for(var s=o.findHighDownDispatchers(r),u,l=0;l<s.length;l++)if(process.env.NODE_ENV!=="production"&&!Rr(s[l])&&ve("param should be highDownDispatcher"),De(s[l]).focus==="self"){u=!0;break}return{focusSelf:u,dispatchers:s}}function Py(e,t,r){process.env.NODE_ENV!=="production"&&!Rr(e)&&ve("param should be highDownDispatcher");var n=De(e),i=Cu(n.componentMainType,n.componentIndex,n.componentHighDownName,r),a=i.dispatchers,o=i.focusSelf;a?(o&&Is(n.componentMainType,n.componentIndex,r),D(a,function(s){return Ql(s,t)})):(Ls(n.seriesIndex,n.focus,n.blurScope,r),n.focus==="self"&&Is(n.componentMainType,n.componentIndex,r),Ql(e,t))}function Ry(e,t,r){process.env.NODE_ENV!=="production"&&!Rr(e)&&ve("param should be highDownDispatcher"),Fc(r);var n=De(e),i=Cu(n.componentMainType,n.componentIndex,n.componentHighDownName,r).dispatchers;i?D(i,function(a){return Jl(a,t)}):Jl(e,t)}function Ay(e,t,r){if(Os(t)){var n=t.dataType,i=e.getData(n),a=hi(i,t);I(a)||(a=[a]),e[t.type===Wn?"toggleSelect":t.type===Yn?"select":"unselect"](a,n)}}function jl(e){var t=e.getAllData();D(t,function(r){var n=r.data,i=r.type;n.eachItemGraphicEl(function(a,o){e.isSelected(o,i)?Lc(a):Ic(a)})})}function Ny(e){var t=[];return e.eachSeries(function(r){var n=r.getAllData();D(n,function(i){i.data;var a=i.type,o=r.getSelectedDataIndices();if(o.length>0){var s={dataIndex:o,seriesIndex:r.seriesIndex};a!=null&&(s.dataType=a),t.push(s)}})}),t}function kc(e,t,r){Du(e,!0),Nt(e,Nc),Bc(e,t,r)}function xy(e){Du(e,!1)}function Ly(e,t,r,n){n?xy(e):kc(e,t,r)}function Bc(e,t,r){var n=De(e);t!=null?(n.focus=t,n.blurScope=r):n.focus&&(n.focus=null)}var ef=["emphasis","blur","select"],Iy={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function Oy(e,t,r,n){r=r||"itemStyle";for(var i=0;i<ef.length;i++){var a=ef[i],o=t.getModel([a,r]),s=e.ensureState(a);s.style=n?n(o):o[Iy[r]]()}}function Du(e,t){var r=t===!1,n=e;e.highDownSilentOnTouch&&(n.__highDownSilentOnTouch=e.highDownSilentOnTouch),(!r||n.__highDownDispatcher)&&(n.__highByOuter=n.__highByOuter||0,n.__highDownDispatcher=!r)}function Rr(e){return!!(e&&e.__highDownDispatcher)}function Fy(e,t,r){var n=De(e);n.componentMainType=t.mainType,n.componentIndex=t.componentIndex,n.componentHighDownName=r}function ky(e){var t=Zl[e];return t==null&&$l<=32&&(t=Zl[e]=$l++),t}function Os(e){var t=e.type;return t===Yn||t===Qi||t===Wn}function tf(e){var t=e.type;return t===Er||t===Ki}function By(e){var t=Ec(e);t.normalFill=e.style.fill,t.normalStroke=e.style.stroke;var r=e.states.select||{};t.selectFill=r.style&&r.style.fill||null,t.selectStroke=r.style&&r.style.stroke||null}var Vr=Mr.CMD,Vy=[[],[],[]],rf=Math.sqrt,zy=Math.atan2;function Vc(e,t){if(t){var r=e.data,n=e.len(),i,a,o,s,u,l,f=Vr.M,h=Vr.C,v=Vr.L,c=Vr.R,p=Vr.A,y=Vr.Q;for(o=0,s=0;o<n;){switch(i=r[o++],s=o,a=0,i){case f:a=1;break;case v:a=1;break;case h:a=3;break;case y:a=2;break;case p:var d=t[4],g=t[5],_=rf(t[0]*t[0]+t[1]*t[1]),m=rf(t[2]*t[2]+t[3]*t[3]),S=zy(-t[1]/m,t[0]/_);r[o]*=_,r[o++]+=d,r[o]*=m,r[o++]+=g,r[o++]*=_,r[o++]*=m,r[o++]+=S,r[o++]+=S,o+=2,s=o;break;case c:l[0]=r[o++],l[1]=r[o++],Tr(l,l,t),r[s++]=l[0],r[s++]=l[1],l[0]+=r[o++],l[1]+=r[o++],Tr(l,l,t),r[s++]=l[0],r[s++]=l[1]}for(u=0;u<a;u++){var T=Vy[u];T[0]=r[o++],T[1]=r[o++],Tr(T,T,t),r[s++]=T[0],r[s++]=T[1]}}e.increaseVersion()}}var Bo=Math.sqrt,Ai=Math.sin,Ni=Math.cos,Tn=Math.PI;function nf(e){return Math.sqrt(e[0]*e[0]+e[1]*e[1])}function Fs(e,t){return(e[0]*t[0]+e[1]*t[1])/(nf(e)*nf(t))}function af(e,t){return(e[0]*t[1]<e[1]*t[0]?-1:1)*Math.acos(Fs(e,t))}function of(e,t,r,n,i,a,o,s,u,l,f){var h=u*(Tn/180),v=Ni(h)*(e-r)/2+Ai(h)*(t-n)/2,c=-1*Ai(h)*(e-r)/2+Ni(h)*(t-n)/2,p=v*v/(o*o)+c*c/(s*s);p>1&&(o*=Bo(p),s*=Bo(p));var y=(i===a?-1:1)*Bo((o*o*(s*s)-o*o*(c*c)-s*s*(v*v))/(o*o*(c*c)+s*s*(v*v)))||0,d=y*o*c/s,g=y*-s*v/o,_=(e+r)/2+Ni(h)*d-Ai(h)*g,m=(t+n)/2+Ai(h)*d+Ni(h)*g,S=af([1,0],[(v-d)/o,(c-g)/s]),T=[(v-d)/o,(c-g)/s],w=[(-1*v-d)/o,(-1*c-g)/s],b=af(T,w);if(Fs(T,w)<=-1&&(b=Tn),Fs(T,w)>=1&&(b=0),b<0){var C=Math.round(b/Tn*1e6)/1e6;b=Tn*2+C%2*Tn}f.addData(l,_,m,o,s,S,b,h,a)}var Hy=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,Uy=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Gy(e){var t=new Mr;if(!e)return t;var r=0,n=0,i=r,a=n,o,s=Mr.CMD,u=e.match(Hy);if(!u)return t;for(var l=0;l<u.length;l++){for(var f=u[l],h=f.charAt(0),v=void 0,c=f.match(Uy)||[],p=c.length,y=0;y<p;y++)c[y]=parseFloat(c[y]);for(var d=0;d<p;){var g=void 0,_=void 0,m=void 0,S=void 0,T=void 0,w=void 0,b=void 0,C=r,E=n,P=void 0,M=void 0;switch(h){case"l":r+=c[d++],n+=c[d++],v=s.L,t.addData(v,r,n);break;case"L":r=c[d++],n=c[d++],v=s.L,t.addData(v,r,n);break;case"m":r+=c[d++],n+=c[d++],v=s.M,t.addData(v,r,n),i=r,a=n,h="l";break;case"M":r=c[d++],n=c[d++],v=s.M,t.addData(v,r,n),i=r,a=n,h="L";break;case"h":r+=c[d++],v=s.L,t.addData(v,r,n);break;case"H":r=c[d++],v=s.L,t.addData(v,r,n);break;case"v":n+=c[d++],v=s.L,t.addData(v,r,n);break;case"V":n=c[d++],v=s.L,t.addData(v,r,n);break;case"C":v=s.C,t.addData(v,c[d++],c[d++],c[d++],c[d++],c[d++],c[d++]),r=c[d-2],n=c[d-1];break;case"c":v=s.C,t.addData(v,c[d++]+r,c[d++]+n,c[d++]+r,c[d++]+n,c[d++]+r,c[d++]+n),r+=c[d-2],n+=c[d-1];break;case"S":g=r,_=n,P=t.len(),M=t.data,o===s.C&&(g+=r-M[P-4],_+=n-M[P-3]),v=s.C,C=c[d++],E=c[d++],r=c[d++],n=c[d++],t.addData(v,g,_,C,E,r,n);break;case"s":g=r,_=n,P=t.len(),M=t.data,o===s.C&&(g+=r-M[P-4],_+=n-M[P-3]),v=s.C,C=r+c[d++],E=n+c[d++],r+=c[d++],n+=c[d++],t.addData(v,g,_,C,E,r,n);break;case"Q":C=c[d++],E=c[d++],r=c[d++],n=c[d++],v=s.Q,t.addData(v,C,E,r,n);break;case"q":C=c[d++]+r,E=c[d++]+n,r+=c[d++],n+=c[d++],v=s.Q,t.addData(v,C,E,r,n);break;case"T":g=r,_=n,P=t.len(),M=t.data,o===s.Q&&(g+=r-M[P-4],_+=n-M[P-3]),r=c[d++],n=c[d++],v=s.Q,t.addData(v,g,_,r,n);break;case"t":g=r,_=n,P=t.len(),M=t.data,o===s.Q&&(g+=r-M[P-4],_+=n-M[P-3]),r+=c[d++],n+=c[d++],v=s.Q,t.addData(v,g,_,r,n);break;case"A":m=c[d++],S=c[d++],T=c[d++],w=c[d++],b=c[d++],C=r,E=n,r=c[d++],n=c[d++],v=s.A,of(C,E,r,n,w,b,m,S,T,v,t);break;case"a":m=c[d++],S=c[d++],T=c[d++],w=c[d++],b=c[d++],C=r,E=n,r+=c[d++],n+=c[d++],v=s.A,of(C,E,r,n,w,b,m,S,T,v,t);break}}(h==="z"||h==="Z")&&(v=s.Z,t.addData(v),r=i,n=a),o=v}return t.toStatic(),t}var zc=(function(e){z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.applyTransform=function(r){},t})(K);function Hc(e){return e.setData!=null}function Uc(e,t){var r=Gy(e),n=N({},t);return n.buildPath=function(i){if(Hc(i)){i.setData(r.data);var a=i.getContext();a&&i.rebuildPath(a,1)}else{var a=i;r.rebuildPath(a,1)}},n.applyTransform=function(i){Vc(r,i),this.dirtyShape()},n}function Gc(e,t){return new zc(Uc(e,t))}function Yy(e,t){var r=Uc(e,t),n=(function(i){z(a,i);function a(o){var s=i.call(this,o)||this;return s.applyTransform=r.applyTransform,s.buildPath=r.buildPath,s}return a})(zc);return n}function Wy(e,t){for(var r=[],n=e.length,i=0;i<n;i++){var a=e[i];r.push(a.getUpdatedPathProxy(!0))}var o=new K(t);return o.createPathProxy(),o.buildPath=function(s){if(Hc(s)){s.appendPath(r);var u=s.getContext();u&&s.rebuildPath(u,1)}},o}function Xy(e,t){t=t||{};var r=new K;return e.shape&&r.setShape(e.shape),r.setStyle(e.style),t.bakeTransform?Vc(r.path,e.getComputedTransform()):t.toLocal?r.setLocalTransform(e.getComputedTransform()):r.copyTransform(e),r.buildPath=e.buildPath,r.applyTransform=r.applyTransform,r.z=e.z,r.z2=e.z2,r.zlevel=e.zlevel,r}var qy=(function(){function e(){this.cx=0,this.cy=0,this.r=0}return e})(),pi=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new qy},t.prototype.buildPath=function(r,n){r.moveTo(n.cx+n.r,n.cy),r.arc(n.cx,n.cy,n.r,0,Math.PI*2)},t})(K);pi.prototype.type="circle";var $y=(function(){function e(){this.cx=0,this.cy=0,this.rx=0,this.ry=0}return e})(),Ba=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new $y},t.prototype.buildPath=function(r,n){var i=.5522848,a=n.cx,o=n.cy,s=n.rx,u=n.ry,l=s*i,f=u*i;r.moveTo(a-s,o),r.bezierCurveTo(a-s,o-f,a-l,o-u,a,o-u),r.bezierCurveTo(a+l,o-u,a+s,o-f,a+s,o),r.bezierCurveTo(a+s,o+f,a+l,o+u,a,o+u),r.bezierCurveTo(a-l,o+u,a-s,o+f,a-s,o),r.closePath()},t})(K);Ba.prototype.type="ellipse";var Yc=Math.PI,Vo=Yc*2,ur=Math.sin,zr=Math.cos,Zy=Math.acos,de=Math.atan2,sf=Math.abs,Xn=Math.sqrt,In=Math.max,pt=Math.min,rt=1e-4;function Ky(e,t,r,n,i,a,o,s){var u=r-e,l=n-t,f=o-i,h=s-a,v=h*u-f*l;if(!(v*v<rt))return v=(f*(t-a)-h*(e-i))/v,[e+v*u,t+v*l]}function xi(e,t,r,n,i,a,o){var s=e-r,u=t-n,l=(o?a:-a)/Xn(s*s+u*u),f=l*u,h=-l*s,v=e+f,c=t+h,p=r+f,y=n+h,d=(v+p)/2,g=(c+y)/2,_=p-v,m=y-c,S=_*_+m*m,T=i-a,w=v*y-p*c,b=(m<0?-1:1)*Xn(In(0,T*T*S-w*w)),C=(w*m-_*b)/S,E=(-w*_-m*b)/S,P=(w*m+_*b)/S,M=(-w*_+m*b)/S,A=C-d,F=E-g,R=P-d,U=M-g;return A*A+F*F>R*R+U*U&&(C=P,E=M),{cx:C,cy:E,x0:-f,y0:-h,x1:C*(i/T-1),y1:E*(i/T-1)}}function Qy(e){var t;if(I(e)){var r=e.length;if(!r)return e;r===1?t=[e[0],e[0],0,0]:r===2?t=[e[0],e[0],e[1],e[1]]:r===3?t=e.concat(e[2]):t=e}else t=[e,e,e,e];return t}function Jy(e,t){var r,n=In(t.r,0),i=In(t.r0||0,0),a=n>0,o=i>0;if(!(!a&&!o)){if(a||(n=i,i=0),i>n){var s=n;n=i,i=s}var u=t.startAngle,l=t.endAngle;if(!(isNaN(u)||isNaN(l))){var f=t.cx,h=t.cy,v=!!t.clockwise,c=sf(l-u),p=c>Vo&&c%Vo;if(p>rt&&(c=p),!(n>rt))e.moveTo(f,h);else if(c>Vo-rt)e.moveTo(f+n*zr(u),h+n*ur(u)),e.arc(f,h,n,u,l,!v),i>rt&&(e.moveTo(f+i*zr(l),h+i*ur(l)),e.arc(f,h,i,l,u,v));else{var y=void 0,d=void 0,g=void 0,_=void 0,m=void 0,S=void 0,T=void 0,w=void 0,b=void 0,C=void 0,E=void 0,P=void 0,M=void 0,A=void 0,F=void 0,R=void 0,U=n*zr(u),x=n*ur(u),$=i*zr(l),oe=i*ur(l),le=c>rt;if(le){var ke=t.cornerRadius;ke&&(r=Qy(ke),y=r[0],d=r[1],g=r[2],_=r[3]);var Se=sf(n-i)/2;if(m=pt(Se,g),S=pt(Se,_),T=pt(Se,y),w=pt(Se,d),E=b=In(m,S),P=C=In(T,w),(b>rt||C>rt)&&(M=n*zr(l),A=n*ur(l),F=i*zr(u),R=i*ur(u),c<Yc)){var ee=Ky(U,x,F,R,M,A,$,oe);if(ee){var Ge=U-ee[0],Ye=x-ee[1],xt=M-ee[0],Xt=A-ee[1],qt=1/ur(Zy((Ge*xt+Ye*Xt)/(Xn(Ge*Ge+Ye*Ye)*Xn(xt*xt+Xt*Xt)))/2),Lr=Xn(ee[0]*ee[0]+ee[1]*ee[1]);E=pt(b,(n-Lr)/(qt+1)),P=pt(C,(i-Lr)/(qt-1))}}}if(!le)e.moveTo(f+U,h+x);else if(E>rt){var Be=pt(g,E),fe=pt(_,E),L=xi(F,R,U,x,n,Be,v),H=xi(M,A,$,oe,n,fe,v);e.moveTo(f+L.cx+L.x0,h+L.cy+L.y0),E<b&&Be===fe?e.arc(f+L.cx,h+L.cy,E,de(L.y0,L.x0),de(H.y0,H.x0),!v):(Be>0&&e.arc(f+L.cx,h+L.cy,Be,de(L.y0,L.x0),de(L.y1,L.x1),!v),e.arc(f,h,n,de(L.cy+L.y1,L.cx+L.x1),de(H.cy+H.y1,H.cx+H.x1),!v),fe>0&&e.arc(f+H.cx,h+H.cy,fe,de(H.y1,H.x1),de(H.y0,H.x0),!v))}else e.moveTo(f+U,h+x),e.arc(f,h,n,u,l,!v);if(!(i>rt)||!le)e.lineTo(f+$,h+oe);else if(P>rt){var Be=pt(y,P),fe=pt(d,P),L=xi($,oe,M,A,i,-fe,v),H=xi(U,x,F,R,i,-Be,v);e.lineTo(f+L.cx+L.x0,h+L.cy+L.y0),P<C&&Be===fe?e.arc(f+L.cx,h+L.cy,P,de(L.y0,L.x0),de(H.y0,H.x0),!v):(fe>0&&e.arc(f+L.cx,h+L.cy,fe,de(L.y0,L.x0),de(L.y1,L.x1),!v),e.arc(f,h,i,de(L.cy+L.y1,L.cx+L.x1),de(H.cy+H.y1,H.cx+H.x1),v),Be>0&&e.arc(f+H.cx,h+H.cy,Be,de(H.y1,H.x1),de(H.y0,H.x0),!v))}else e.lineTo(f+$,h+oe),e.arc(f,h,i,l,u,v)}e.closePath()}}}var jy=(function(){function e(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0,this.cornerRadius=0}return e})(),Va=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new jy},t.prototype.buildPath=function(r,n){Jy(r,n)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t})(K);Va.prototype.type="sector";var e_=(function(){function e(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return e})(),za=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new e_},t.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.PI*2;r.moveTo(i+n.r,a),r.arc(i,a,n.r,0,o,!1),r.moveTo(i+n.r0,a),r.arc(i,a,n.r0,0,o,!0)},t})(K);za.prototype.type="ring";function t_(e,t,r,n){var i=[],a=[],o=[],s=[],u,l,f,h;if(n){f=[1/0,1/0],h=[-1/0,-1/0];for(var v=0,c=e.length;v<c;v++)dr(f,f,e[v]),gr(h,h,e[v]);dr(f,f,n[0]),gr(h,h,n[1])}for(var v=0,c=e.length;v<c;v++){var p=e[v];if(r)u=e[v?v-1:c-1],l=e[(v+1)%c];else if(v===0||v===c-1){i.push(Eh(e[v]));continue}else u=e[v-1],l=e[v+1];Mh(a,l,u),Yi(a,a,t);var y=os(p,u),d=os(p,l),g=y+d;g!==0&&(y/=g,d/=g),Yi(o,a,-y),Yi(s,a,d);var _=el([],p,o),m=el([],p,s);n&&(gr(_,_,f),dr(_,_,h),gr(m,m,f),dr(m,m,h)),i.push(_),i.push(m)}return r&&i.push(i.shift()),i}function Wc(e,t,r){var n=t.smooth,i=t.points;if(i&&i.length>=2){if(n){var a=t_(i,n,r,t.smoothConstraint);e.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(r?o:o-1);s++){var u=a[s*2],l=a[s*2+1],f=i[(s+1)%o];e.bezierCurveTo(u[0],u[1],l[0],l[1],f[0],f[1])}}else{e.moveTo(i[0][0],i[0][1]);for(var s=1,h=i.length;s<h;s++)e.lineTo(i[s][0],i[s][1])}r&&e.closePath()}}var r_=(function(){function e(){this.points=null,this.smooth=0,this.smoothConstraint=null}return e})(),Ha=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new r_},t.prototype.buildPath=function(r,n){Wc(r,n,!0)},t})(K);Ha.prototype.type="polygon";var n_=(function(){function e(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null}return e})(),Ua=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new n_},t.prototype.buildPath=function(r,n){Wc(r,n,!1)},t})(K);Ua.prototype.type="polyline";var i_={},a_=(function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1}return e})(),di=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new a_},t.prototype.buildPath=function(r,n){var i,a,o,s;if(this.subPixelOptimize){var u=Tc(i_,n,this.style);i=u.x1,a=u.y1,o=u.x2,s=u.y2}else i=n.x1,a=n.y1,o=n.x2,s=n.y2;var l=n.percent;l!==0&&(r.moveTo(i,a),l<1&&(o=i*(1-l)+o*l,s=a*(1-l)+s*l),r.lineTo(o,s))},t.prototype.pointAt=function(r){var n=this.shape;return[n.x1*(1-r)+n.x2*r,n.y1*(1-r)+n.y2*r]},t})(K);di.prototype.type="line";var Re=[],o_=(function(){function e(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1}return e})();function uf(e,t,r){var n=e.cpx2,i=e.cpy2;return n!=null||i!=null?[(r?hl:ue)(e.x1,e.cpx1,e.cpx2,e.x2,t),(r?hl:ue)(e.y1,e.cpy1,e.cpy2,e.y2,t)]:[(r?hs:ce)(e.x1,e.cpx1,e.x2,t),(r?hs:ce)(e.y1,e.cpy1,e.y2,t)]}var Ga=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new o_},t.prototype.buildPath=function(r,n){var i=n.x1,a=n.y1,o=n.x2,s=n.y2,u=n.cpx1,l=n.cpy1,f=n.cpx2,h=n.cpy2,v=n.percent;v!==0&&(r.moveTo(i,a),f==null||h==null?(v<1&&(jn(i,u,o,v,Re),u=Re[1],o=Re[2],jn(a,l,s,v,Re),l=Re[1],s=Re[2]),r.quadraticCurveTo(u,l,o,s)):(v<1&&(Jn(i,u,f,o,v,Re),u=Re[1],f=Re[2],o=Re[3],Jn(a,l,h,s,v,Re),l=Re[1],h=Re[2],s=Re[3]),r.bezierCurveTo(u,l,f,h,o,s)))},t.prototype.pointAt=function(r){return uf(this.shape,r,!1)},t.prototype.tangentAt=function(r){var n=uf(this.shape,r,!0);return Rh(n,n)},t})(K);Ga.prototype.type="bezier-curve";var s_=(function(){function e(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=Math.PI*2,this.clockwise=!0}return e})(),Ya=(function(e){z(t,e);function t(r){return e.call(this,r)||this}return t.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},t.prototype.getDefaultShape=function(){return new s_},t.prototype.buildPath=function(r,n){var i=n.cx,a=n.cy,o=Math.max(n.r,0),s=n.startAngle,u=n.endAngle,l=n.clockwise,f=Math.cos(s),h=Math.sin(s);r.moveTo(f*o+i,h*o+a),r.arc(i,a,o,s,u,!l)},t})(K);Ya.prototype.type="arc";var Xc=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.type="compound",r}return t.prototype._updatePathDirty=function(){for(var r=this.shape.paths,n=this.shapeChanged(),i=0;i<r.length;i++)n=n||r[i].shapeChanged();n&&this.dirtyShape()},t.prototype.beforeBrush=function(){this._updatePathDirty();for(var r=this.shape.paths||[],n=this.getGlobalScale(),i=0;i<r.length;i++)r[i].path||r[i].createPathProxy(),r[i].path.setScale(n[0],n[1],r[i].segmentIgnoreThreshold)},t.prototype.buildPath=function(r,n){for(var i=n.paths||[],a=0;a<i.length;a++)i[a].buildPath(r,i[a].shape,!0)},t.prototype.afterBrush=function(){for(var r=this.shape.paths||[],n=0;n<r.length;n++)r[n].pathUpdated()},t.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),K.prototype.getBoundingRect.call(this)},t})(K),qc=(function(){function e(t){this.colorStops=t||[]}return e.prototype.addColorStop=function(t,r){this.colorStops.push({offset:t,color:r})},e})(),$c=(function(e){z(t,e);function t(r,n,i,a,o,s){var u=e.call(this,o)||this;return u.x=r==null?0:r,u.y=n==null?0:n,u.x2=i==null?1:i,u.y2=a==null?0:a,u.type="linear",u.global=s||!1,u}return t})(qc),Zc=(function(e){z(t,e);function t(r,n,i,a,o){var s=e.call(this,a)||this;return s.x=r==null?.5:r,s.y=n==null?.5:n,s.r=i==null?.5:i,s.type="radial",s.global=o||!1,s}return t})(qc),lr=[0,0],fr=[0,0],Li=new Z,Ii=new Z,Kc=(function(){function e(t,r){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new Z;for(var n=0;n<2;n++)this._axes[n]=new Z;t&&this.fromBoundingRect(t,r)}return e.prototype.fromBoundingRect=function(t,r){var n=this._corners,i=this._axes,a=t.x,o=t.y,s=a+t.width,u=o+t.height;if(n[0].set(a,o),n[1].set(s,o),n[2].set(s,u),n[3].set(a,u),r)for(var l=0;l<4;l++)n[l].transform(r);Z.sub(i[0],n[1],n[0]),Z.sub(i[1],n[3],n[0]),i[0].normalize(),i[1].normalize();for(var l=0;l<2;l++)this._origin[l]=i[l].dot(n[0])},e.prototype.intersect=function(t,r){var n=!0,i=!r;return Li.set(1/0,1/0),Ii.set(0,0),!this._intersectCheckOneSide(this,t,Li,Ii,i,1)&&(n=!1,i)||!this._intersectCheckOneSide(t,this,Li,Ii,i,-1)&&(n=!1,i)||i||Z.copy(r,n?Li:Ii),n},e.prototype._intersectCheckOneSide=function(t,r,n,i,a,o){for(var s=!0,u=0;u<2;u++){var l=this._axes[u];if(this._getProjMinMaxOnAxis(u,t._corners,lr),this._getProjMinMaxOnAxis(u,r._corners,fr),lr[1]<fr[0]||lr[0]>fr[1]){if(s=!1,a)return s;var f=Math.abs(fr[0]-lr[1]),h=Math.abs(lr[0]-fr[1]);Math.min(f,h)>i.len()&&(f<h?Z.scale(i,l,-f*o):Z.scale(i,l,h*o))}else if(n){var f=Math.abs(fr[0]-lr[1]),h=Math.abs(lr[0]-fr[1]);Math.min(f,h)<n.len()&&(f<h?Z.scale(n,l,f*o):Z.scale(n,l,-h*o))}}return s},e.prototype._getProjMinMaxOnAxis=function(t,r,n){for(var i=this._axes[t],a=this._origin,o=r[0].dot(i)+a[t],s=o,u=o,l=1;l<r.length;l++){var f=r[l].dot(i)+a[t];s=Math.min(f,s),u=Math.max(f,u)}n[0]=s,n[1]=u},e})(),u_=[],l_=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.notClear=!0,r.incremental=!0,r._displayables=[],r._temporaryDisplayables=[],r._cursor=0,r}return t.prototype.traverse=function(r,n){r.call(n,this)},t.prototype.useStyle=function(){this.style={}},t.prototype.getCursor=function(){return this._cursor},t.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},t.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},t.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},t.prototype.addDisplayable=function(r,n){n?this._temporaryDisplayables.push(r):this._displayables.push(r),this.markRedraw()},t.prototype.addDisplayables=function(r,n){n=n||!1;for(var i=0;i<r.length;i++)this.addDisplayable(r[i],n)},t.prototype.getDisplayables=function(){return this._displayables},t.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},t.prototype.eachPendingDisplayable=function(r){for(var n=this._cursor;n<this._displayables.length;n++)r&&r(this._displayables[n]);for(var n=0;n<this._temporaryDisplayables.length;n++)r&&r(this._temporaryDisplayables[n])},t.prototype.update=function(){this.updateTransform();for(var r=this._cursor;r<this._displayables.length;r++){var n=this._displayables[r];n.parent=this,n.update(),n.parent=null}for(var r=0;r<this._temporaryDisplayables.length;r++){var n=this._temporaryDisplayables[r];n.parent=this,n.update(),n.parent=null}},t.prototype.getBoundingRect=function(){if(!this._rect){for(var r=new Q(1/0,1/0,-1/0,-1/0),n=0;n<this._displayables.length;n++){var i=this._displayables[n],a=i.getBoundingRect().clone();i.needLocalTransform()&&a.applyTransform(i.getLocalTransform(u_)),r.union(a)}this._rect=r}return this._rect},t.prototype.contain=function(r,n){var i=this.transformCoordToLocal(r,n),a=this.getBoundingRect();if(a.contain(i[0],i[1]))for(var o=0;o<this._displayables.length;o++){var s=this._displayables[o];if(s.contain(r,n))return!0}return!1},t})(cn),Qc=Fe();function Jc(e,t,r,n,i){var a;if(t&&t.ecModel){var o=t.ecModel.getUpdatePayload();a=o&&o.animation}var s=t&&t.isAnimationEnabled(),u=e==="update";if(s){var l=void 0,f=void 0,h=void 0;n?(l=B(n.duration,200),f=B(n.easing,"cubicOut"),h=0):(l=t.getShallow(u?"animationDurationUpdate":"animationDuration"),f=t.getShallow(u?"animationEasingUpdate":"animationEasing"),h=t.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(a.duration!=null&&(l=a.duration),a.easing!=null&&(f=a.easing),a.delay!=null&&(h=a.delay)),j(h)&&(h=h(r,i)),j(l)&&(l=l(r));var v={duration:l||0,delay:h,easing:f};return v}else return null}function Eu(e,t,r,n,i,a,o){var s=!1,u;j(i)?(o=a,a=i,i=null):O(i)&&(a=i.cb,o=i.during,s=i.isFrom,u=i.removeOpt,i=i.dataIndex);var l=e==="leave";l||t.stopAnimation("leave");var f=Jc(e,n,i,l?u||{}:null,n&&n.getAnimationDelayParams?n.getAnimationDelayParams(t,i):null);if(f&&f.duration>0){var h=f.duration,v=f.delay,c=f.easing,p={duration:h,delay:v||0,easing:c,done:a,force:!!a||!!o,setToFinal:!l,scope:e,during:o};s?t.animateFrom(r,p):t.animateTo(r,p)}else t.stopAnimation(),!s&&t.attr(r),o&&o(1),a&&a()}function Wa(e,t,r,n,i,a){Eu("update",e,t,r,n,i,a)}function Mu(e,t,r,n,i,a){Eu("enter",e,t,r,n,i,a)}function Qr(e){if(!e.__zr)return!0;for(var t=0;t<e.animators.length;t++){var r=e.animators[t];if(r.scope==="leave")return!0}return!1}function Pu(e,t,r,n,i,a){Qr(e)||Eu("leave",e,t,r,n,i,a)}function lf(e,t,r,n){e.removeTextContent(),e.removeTextGuideLine(),Pu(e,{style:{opacity:0}},t,r,n)}function jc(e,t,r){function n(){e.parent&&e.parent.remove(e)}e.isGroup?e.traverse(function(i){i.isGroup||lf(i,t,r,n)}):lf(e,t,r,n)}function f_(e){Qc(e).oldStyle=e.style}function h_(e){return Qc(e).oldStyle}var ua=Math.max,la=Math.min,ks={};function c_(e){return K.extend(e)}var v_=Yy;function p_(e,t){return v_(e,t)}function ft(e,t){ks[e]=t}function ev(e){if(ks.hasOwnProperty(e))return ks[e]}function Xa(e,t,r,n){var i=Gc(e,t);return r&&(n==="center"&&(r=rv(r,i.getBoundingRect())),iv(i,r)),i}function tv(e,t,r){var n=new Wt({style:{image:e,x:t.x,y:t.y,width:t.width,height:t.height},onload:function(i){if(r==="center"){var a={width:i.width,height:i.height};n.setStyle(rv(t,a))}}});return n}function rv(e,t){var r=t.width/t.height,n=e.height*r,i;n<=e.width?i=e.height:(n=e.width,i=n/r);var a=e.x+e.width/2,o=e.y+e.height/2;return{x:a-n/2,y:o-i/2,width:n,height:i}}var nv=Wy;function iv(e,t){if(e.applyTransform){var r=e.getBoundingRect(),n=r.calculateTransform(t);e.applyTransform(n)}}function av(e,t){return Tc(e,e,{lineWidth:t}),e}function d_(e){return bc(e.shape,e.shape,e.style),e}var ov=_r;function sv(e,t){for(var r=su([]);e&&e!==t;)zn(r,e.getLocalTransform(),r),e=e.parent;return r}function Ru(e,t,r){return t&&!Oe(t)&&(t=Pa.getLocalTransform(t)),r&&(t=lu([],t)),Tr([],e,t)}function uv(e,t,r){var n=t[4]===0||t[5]===0||t[0]===0?1:Math.abs(2*t[4]/t[0]),i=t[4]===0||t[5]===0||t[2]===0?1:Math.abs(2*t[4]/t[2]),a=[e==="left"?-n:e==="right"?n:0,e==="top"?-i:e==="bottom"?i:0];return a=Ru(a,t,r),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function ff(e){return!e.isGroup}function g_(e){return e.shape!=null}function lv(e,t,r){if(!e||!t)return;function n(o){var s={};return o.traverse(function(u){ff(u)&&u.anid&&(s[u.anid]=u)}),s}function i(o){var s={x:o.x,y:o.y,rotation:o.rotation};return g_(o)&&(s.shape=N({},o.shape)),s}var a=n(e);t.traverse(function(o){if(ff(o)&&o.anid){var s=a[o.anid];if(s){var u=i(o);o.attr(i(s)),Wa(o,u,r,De(o).dataIndex)}}})}function fv(e,t){return Y(e,function(r){var n=r[0];n=ua(n,t.x),n=la(n,t.x+t.width);var i=r[1];return i=ua(i,t.y),i=la(i,t.y+t.height),[n,i]})}function y_(e,t){var r=ua(e.x,t.x),n=la(e.x+e.width,t.x+t.width),i=ua(e.y,t.y),a=la(e.y+e.height,t.y+t.height);if(n>=r&&a>=i)return{x:r,y:i,width:n-r,height:a-i}}function hv(e,t,r){var n=N({rectHover:!0},t),i=n.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},e)return e.indexOf("image://")===0?(i.image=e.slice(8),pe(i,r),new Wt(n)):Xa(e.replace("path://",""),n,r,"center")}function cv(e,t,r,n,i){for(var a=0,o=i[i.length-1];a<i.length;a++){var s=i[a];if(vv(e,t,r,n,s[0],s[1],o[0],o[1]))return!0;o=s}}function vv(e,t,r,n,i,a,o,s){var u=r-e,l=n-t,f=o-i,h=s-a,v=zo(f,h,u,l);if(__(v))return!1;var c=e-i,p=t-a,y=zo(c,p,u,l)/v;if(y<0||y>1)return!1;var d=zo(c,p,f,h)/v;return!(d<0||d>1)}function zo(e,t,r,n){return e*n-r*t}function __(e){return e<=1e-6&&e>=-1e-6}function pv(e){var t=e.itemTooltipOption,r=e.componentModel,n=e.itemName,i=V(t)?{formatter:t}:t,a=r.mainType,o=r.componentIndex,s={componentType:a,name:n,$vars:["name"]};s[a+"Index"]=o;var u=e.formatterParamsExtra;u&&D(ie(u),function(f){Gt(s,f)||(s[f]=u[f],s.$vars.push(f))});var l=De(e.el);l.componentMainType=a,l.componentIndex=o,l.tooltipConfig={name:n,option:pe({content:n,encodeHTMLContent:!0,formatterParams:s},i)}}function hf(e,t){var r;e.isGroup&&(r=t(e)),r||e.traverse(t)}function Au(e,t){if(e)if(I(e))for(var r=0;r<e.length;r++)hf(e[r],t);else hf(e,t)}ft("circle",pi);ft("ellipse",Ba);ft("sector",Va);ft("ring",za);ft("polygon",Ha);ft("polyline",Ua);ft("rect",ut);ft("line",di);ft("bezierCurve",Ga);ft("arc",Ya);const m_=Object.freeze(Object.defineProperty({__proto__:null,Arc:Ya,BezierCurve:Ga,BoundingRect:Q,Circle:pi,CompoundPath:Xc,Ellipse:Ba,Group:Nr,Image:Wt,IncrementalDisplayable:l_,Line:di,LinearGradient:$c,OrientedBoundingRect:Kc,Path:K,Point:Z,Polygon:Ha,Polyline:Ua,RadialGradient:Zc,Rect:ut,Ring:za,Sector:Va,Text:Pr,applyTransform:Ru,clipPointsByRect:fv,clipRectByRect:y_,createIcon:hv,extendPath:p_,extendShape:c_,getShapeClass:ev,getTransform:sv,groupTransition:lv,initProps:Mu,isElementRemoved:Qr,lineLineIntersect:vv,linePolygonIntersect:cv,makeImage:tv,makePath:Xa,mergePath:nv,registerShape:ft,removeElement:Pu,removeElementWithFadeOut:jc,resizePath:iv,setTooltipConfig:pv,subPixelOptimize:ov,subPixelOptimizeLine:av,subPixelOptimizeRect:d_,transformDirection:uv,traverseElements:Au,updateProps:Wa},Symbol.toStringTag,{value:"Module"}));var qa={};function dv(e,t){for(var r=0;r<At.length;r++){var n=At[r],i=t[n],a=e.ensureState(n);a.style=a.style||{},a.style.text=i}var o=e.currentStates.slice();e.clearStates(!0),e.setStyle({text:t.normal}),e.useStates(o,!0)}function Bs(e,t,r){var n=e.labelFetcher,i=e.labelDataIndex,a=e.labelDimIndex,o=t.normal,s;n&&(s=n.getFormattedLabel(i,"normal",null,a,o&&o.get("formatter"),r!=null?{interpolatedValue:r}:null)),s==null&&(s=j(e.defaultText)?e.defaultText(i,e,r):e.defaultText);for(var u={normal:s},l=0;l<At.length;l++){var f=At[l],h=t[f];u[f]=B(n?n.getFormattedLabel(i,f,null,a,h&&h.get("formatter")):null,s)}return u}function S_(e,t,r,n){r=r||qa;for(var i=e instanceof Pr,a=!1,o=0;o<xs.length;o++){var s=t[xs[o]];if(s&&s.getShallow("show")){a=!0;break}}var u=i?e:e.getTextContent();if(a){i||(u||(u=new Pr,e.setTextContent(u)),e.stateProxy&&(u.stateProxy=e.stateProxy));var l=Bs(r,t),f=t.normal,h=!!f.getShallow("show"),v=Vs(f,n&&n.normal,r,!1,!i);v.text=l.normal,i||e.setTextConfig(zs(f,r,!1));for(var o=0;o<At.length;o++){var c=At[o],s=t[c];if(s){var p=u.ensureState(c),y=!!B(s.getShallow("show"),h);if(y!==h&&(p.ignore=!y),p.style=Vs(s,n&&n[c],r,!0,!i),p.style.text=l[c],!i){var d=e.ensureState(c);d.textConfig=zs(s,r,!0)}}}u.silent=!!f.getShallow("silent"),u.style.x!=null&&(v.x=u.style.x),u.style.y!=null&&(v.y=u.style.y),u.ignore=!h,u.useStyle(v),u.dirty(),r.enableTextSetter&&($a(u).setLabelText=function(g){var _=Bs(r,t,g);dv(u,_)})}else u&&(u.ignore=!0);e.dirty()}function w_(e,t){t=t||"label";for(var r={normal:e.getModel(t)},n=0;n<At.length;n++){var i=At[n];r[i]=e.getModel([i,t])}return r}function Vs(e,t,r,n,i){var a={};return T_(a,e,r,n,i),t&&N(a,t),a}function zs(e,t,r){t=t||{};var n={},i,a=e.getShallow("rotate"),o=B(e.getShallow("distance"),r?null:5),s=e.getShallow("offset");return i=e.getShallow("position")||(r?null:"inside"),i==="outside"&&(i=t.defaultOutsidePosition||"top"),i!=null&&(n.position=i),s!=null&&(n.offset=s),a!=null&&(a*=Math.PI/180,n.rotation=a),o!=null&&(n.distance=o),n.outsideFill=e.get("color")==="inherit"?t.inheritColor||null:"auto",n}function T_(e,t,r,n,i){r=r||qa;var a=t.ecModel,o=a&&a.option.textStyle,s=b_(t),u;if(s){u={};for(var l in s)if(s.hasOwnProperty(l)){var f=t.getModel(["rich",l]);df(u[l]={},f,o,r,n,i,!1,!0)}}u&&(e.rich=u);var h=t.get("overflow");h&&(e.overflow=h);var v=t.get("minMargin");v!=null&&(e.margin=v),df(e,t,o,r,n,i,!0,!1)}function b_(e){for(var t;e&&e!==e.ecModel;){var r=(e.option||qa).rich;if(r){t=t||{};for(var n=ie(r),i=0;i<n.length;i++){var a=n[i];t[a]=1}}e=e.parentModel}return t}var cf=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],vf=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],pf=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function df(e,t,r,n,i,a,o,s){r=!i&&r||qa;var u=n&&n.inheritColor,l=t.getShallow("color"),f=t.getShallow("textBorderColor"),h=B(t.getShallow("opacity"),r.opacity);(l==="inherit"||l==="auto")&&(process.env.NODE_ENV!=="production"&&l==="auto"&&re("color: 'auto'","color: 'inherit'"),u?l=u:l=null),(f==="inherit"||f==="auto")&&(process.env.NODE_ENV!=="production"&&f==="auto"&&re("color: 'auto'","color: 'inherit'"),u?f=u:f=null),a||(l=l||r.color,f=f||r.textBorderColor),l!=null&&(e.fill=l),f!=null&&(e.stroke=f);var v=B(t.getShallow("textBorderWidth"),r.textBorderWidth);v!=null&&(e.lineWidth=v);var c=B(t.getShallow("textBorderType"),r.textBorderType);c!=null&&(e.lineDash=c);var p=B(t.getShallow("textBorderDashOffset"),r.textBorderDashOffset);p!=null&&(e.lineDashOffset=p),!i&&h==null&&!s&&(h=n&&n.defaultOpacity),h!=null&&(e.opacity=h),!i&&!a&&e.fill==null&&n.inheritColor&&(e.fill=n.inheritColor);for(var y=0;y<cf.length;y++){var d=cf[y],g=B(t.getShallow(d),r[d]);g!=null&&(e[d]=g)}for(var y=0;y<vf.length;y++){var d=vf[y],g=t.getShallow(d);g!=null&&(e[d]=g)}if(e.verticalAlign==null){var _=t.getShallow("baseline");_!=null&&(e.verticalAlign=_)}if(!o||!n.disableBox){for(var y=0;y<pf.length;y++){var d=pf[y],g=t.getShallow(d);g!=null&&(e[d]=g)}var m=t.getShallow("borderType");m!=null&&(e.borderDash=m),(e.backgroundColor==="auto"||e.backgroundColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&e.backgroundColor==="auto"&&re("backgroundColor: 'auto'","backgroundColor: 'inherit'"),e.backgroundColor=u),(e.borderColor==="auto"||e.borderColor==="inherit")&&u&&(process.env.NODE_ENV!=="production"&&e.borderColor==="auto"&&re("borderColor: 'auto'","borderColor: 'inherit'"),e.borderColor=u)}}function gv(e,t){var r=t&&t.getModel("textStyle");return gt([e.fontStyle||r&&r.getShallow("fontStyle")||"",e.fontWeight||r&&r.getShallow("fontWeight")||"",(e.fontSize||r&&r.getShallow("fontSize")||12)+"px",e.fontFamily||r&&r.getShallow("fontFamily")||"sans-serif"].join(" "))}var $a=Fe();function C_(e,t,r,n){if(e){var i=$a(e);i.prevValue=i.value,i.value=r;var a=t.normal;i.valueAnimation=a.get("valueAnimation"),i.valueAnimation&&(i.precision=a.get("precision"),i.defaultInterpolatedText=n,i.statesModels=t)}}function D_(e,t,r,n,i){var a=$a(e);if(!a.valueAnimation||a.prevValue===a.value)return;var o=a.defaultInterpolatedText,s=B(a.interpolatedValue,a.prevValue),u=a.value;function l(f){var h=vc(r,a.precision,s,u,f);a.interpolatedValue=f===1?null:h;var v=Bs({labelDataIndex:t,labelFetcher:i,defaultText:o?o(h):h+""},a.statesModels,h);dv(e,v)}e.percent=0,(a.prevValue==null?Mu:Wa)(e,{percent:1},n,t,null,l)}var E_=["textStyle","color"],Ho=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],Uo=new Pr,M_=(function(){function e(){}return e.prototype.getTextColor=function(t){var r=this.ecModel;return this.getShallow("color")||(!t&&r?r.get(E_):null)},e.prototype.getFont=function(){return gv({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},e.prototype.getTextRect=function(t){for(var r={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<Ho.length;n++)r[Ho[n]]=this.getShallow(Ho[n]);return Uo.useStyle(r),Uo.update(),Uo.getBoundingRect()},e})(),yv=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],P_=on(yv),R_=(function(){function e(){}return e.prototype.getLineStyle=function(t){return P_(this,t)},e})(),_v=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],A_=on(_v),N_=(function(){function e(){}return e.prototype.getItemStyle=function(t,r){return A_(this,t,r)},e})(),Ee=(function(){function e(t,r,n){this.parentModel=r,this.ecModel=n,this.option=t}return e.prototype.init=function(t,r,n){},e.prototype.mergeOption=function(t,r){se(this.option,t,!0)},e.prototype.get=function(t,r){return t==null?this.option:this._doGet(this.parsePath(t),!r&&this.parentModel)},e.prototype.getShallow=function(t,r){var n=this.option,i=n==null?n:n[t];if(i==null&&!r){var a=this.parentModel;a&&(i=a.getShallow(t))}return i},e.prototype.getModel=function(t,r){var n=t!=null,i=n?this.parsePath(t):null,a=n?this._doGet(i):this.option;return r=r||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),new e(a,r,this.ecModel)},e.prototype.isEmpty=function(){return this.option==null},e.prototype.restoreData=function(){},e.prototype.clone=function(){var t=this.constructor;return new t(X(this.option))},e.prototype.parsePath=function(t){return typeof t=="string"?t.split("."):t},e.prototype.resolveParentPath=function(t){return t},e.prototype.isAnimationEnabled=function(){if(!G.node&&this.option){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},e.prototype._doGet=function(t,r){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&!(t[i]&&(n=n&&typeof n=="object"?n[t[i]]:null,n==null));i++);return n==null&&r&&(n=r._doGet(this.resolveParentPath(t),r.parentModel)),n},e})();yu(Ee);P0(Ee);mt(Ee,R_);mt(Ee,N_);mt(Ee,L0);mt(Ee,M_);var x_=Math.round(Math.random()*10);function gi(e){return[e||"",x_++].join("_")}function L_(e){var t={};e.registerSubTypeDefaulter=function(r,n){var i=yt(r);t[i.main]=n},e.determineSubType=function(r,n){var i=n.type;if(!i){var a=yt(r).main;e.hasSubTypes(r)&&t[a]&&(i=t[a](n))}return i}}function I_(e,t){e.topologicalTravel=function(a,o,s,u){if(!a.length)return;var l=r(o),f=l.graph,h=l.noEntryList,v={};for(D(a,function(_){v[_]=!0});h.length;){var c=h.pop(),p=f[c],y=!!v[c];y&&(s.call(u,c,p.originalDeps.slice()),delete v[c]),D(p.successor,y?g:d)}D(v,function(){var _="";throw process.env.NODE_ENV!=="production"&&(_=ti("Circular dependency may exists: ",v,a,o)),new Error(_)});function d(_){f[_].entryCount--,f[_].entryCount===0&&h.push(_)}function g(_){v[_]=!0,d(_)}};function r(a){var o={},s=[];return D(a,function(u){var l=n(o,u),f=l.originalDeps=t(u),h=i(f,a);l.entryCount=h.length,l.entryCount===0&&s.push(u),D(h,function(v){ne(l.predecessor,v)<0&&l.predecessor.push(v);var c=n(o,v);ne(c.successor,v)<0&&c.successor.push(u)})}),{graph:o,noEntryList:s}}function n(a,o){return a[o]||(a[o]={predecessor:[],successor:[]}),a[o]}function i(a,o){var s=[];return D(a,function(u){ne(o,u)>=0&&s.push(u)}),s}}function O_(e,t){return se(se({},e,!0),t,!0)}const F_={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},k_={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}};var fa="ZH",Nu="EN",Jr=Nu,Ji={},xu={},mv=G.domSupported?(function(){var e=(document.documentElement.lang||navigator.language||navigator.browserLanguage||Jr).toUpperCase();return e.indexOf(fa)>-1?fa:Jr})():Jr;function Sv(e,t){e=e.toUpperCase(),xu[e]=new Ee(t),Ji[e]=t}function B_(e){if(V(e)){var t=Ji[e.toUpperCase()]||{};return e===fa||e===Nu?X(t):se(X(t),X(Ji[Jr]),!1)}else return se(X(e),X(Ji[Jr]),!1)}function wv(e){return xu[e]}function V_(){return xu[Jr]}Sv(Nu,F_);Sv(fa,k_);var Tv=1e3,bv=Tv*60,Cv=bv*60,Dv=Cv*24,z_=Dv*365,On={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},Oi="{yyyy}-{MM}-{dd}",H_={year:"{yyyy}",month:"{yyyy}-{MM}",day:Oi,hour:Oi+" "+On.hour,minute:Oi+" "+On.minute,second:Oi+" "+On.second,millisecond:On.none},Go=["year","month","day","hour","minute","second","millisecond"],Ev=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function be(e,t){return e+="","0000".substr(0,t-e.length)+e}function Mv(e){switch(e){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return e}}function U_(e){return e===Mv(e)}function G_(e){switch(e){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Lu(e,t,r,n){var i=Yt(e),a=i[Iu(r)](),o=i[jr(r)]()+1,s=Math.floor((o-1)/3)+1,u=i[Za(r)](),l=i["get"+(r?"UTC":"")+"Day"](),f=i[ni(r)](),h=(f-1)%12+1,v=i[Ka(r)](),c=i[Qa(r)](),p=i[Ja(r)](),y=f>=12?"pm":"am",d=y.toUpperCase(),g=n instanceof Ee?n:wv(n||mv)||V_(),_=g.getModel("time"),m=_.get("month"),S=_.get("monthAbbr"),T=_.get("dayOfWeek"),w=_.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,y+"").replace(/{A}/g,d+"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,be(a%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,m[o-1]).replace(/{MMM}/g,S[o-1]).replace(/{MM}/g,be(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,be(u,2)).replace(/{d}/g,u+"").replace(/{eeee}/g,T[l]).replace(/{ee}/g,w[l]).replace(/{e}/g,l+"").replace(/{HH}/g,be(f,2)).replace(/{H}/g,f+"").replace(/{hh}/g,be(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,be(v,2)).replace(/{m}/g,v+"").replace(/{ss}/g,be(c,2)).replace(/{s}/g,c+"").replace(/{SSS}/g,be(p,3)).replace(/{S}/g,p+"")}function Y_(e,t,r,n,i){var a=null;if(V(r))a=r;else if(j(r))a=r(e.value,t,{level:e.level});else{var o=N({},On);if(e.level>0)for(var s=0;s<Go.length;++s)o[Go[s]]="{primary|"+o[Go[s]]+"}";var u=r?r.inherit===!1?r:pe(r,o):o,l=Pv(e.value,i);if(u[l])a=u[l];else if(u.inherit){for(var f=Ev.indexOf(l),s=f-1;s>=0;--s)if(u[l]){a=u[l];break}a=a||o.none}if(I(a)){var h=e.level==null?0:e.level>=0?e.level:a.length+e.level;h=Math.min(h,a.length-1),a=a[h]}}return Lu(new Date(e.value),a,i,n)}function Pv(e,t){var r=Yt(e),n=r[jr(t)]()+1,i=r[Za(t)](),a=r[ni(t)](),o=r[Ka(t)](),s=r[Qa(t)](),u=r[Ja(t)](),l=u===0,f=l&&s===0,h=f&&o===0,v=h&&a===0,c=v&&i===1,p=c&&n===1;return p?"year":c?"month":v?"day":h?"hour":f?"minute":l?"second":"millisecond"}function W_(e,t,r){var n=ae(e)?Yt(e):e;switch(t=t||Pv(e,r),t){case"year":return n[Iu(r)]();case"half-year":return n[jr(r)]()>=6?1:0;case"quarter":return Math.floor((n[jr(r)]()+1)/4);case"month":return n[jr(r)]();case"day":return n[Za(r)]();case"half-day":return n[ni(r)]()/24;case"hour":return n[ni(r)]();case"minute":return n[Ka(r)]();case"second":return n[Qa(r)]();case"millisecond":return n[Ja(r)]()}}function Iu(e){return e?"getUTCFullYear":"getFullYear"}function jr(e){return e?"getUTCMonth":"getMonth"}function Za(e){return e?"getUTCDate":"getDate"}function ni(e){return e?"getUTCHours":"getHours"}function Ka(e){return e?"getUTCMinutes":"getMinutes"}function Qa(e){return e?"getUTCSeconds":"getSeconds"}function Ja(e){return e?"getUTCMilliseconds":"getMilliseconds"}function X_(e){return e?"setUTCFullYear":"setFullYear"}function q_(e){return e?"setUTCMonth":"setMonth"}function $_(e){return e?"setUTCDate":"setDate"}function Z_(e){return e?"setUTCHours":"setHours"}function K_(e){return e?"setUTCMinutes":"setMinutes"}function Q_(e){return e?"setUTCSeconds":"setSeconds"}function J_(e){return e?"setUTCMilliseconds":"setMilliseconds"}function Rv(e){if(!pu(e))return V(e)?e:"-";var t=(e+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function j_(e,t){return e=(e||"").toLowerCase().replace(/-(.)/g,function(r,n){return n.toUpperCase()}),t&&e&&(e=e.charAt(0).toUpperCase()+e.slice(1)),e}var Ou=au;function Hs(e,t,r){var n="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function i(f){return f&&gt(f)?f:"-"}function a(f){return!!(f!=null&&!isNaN(f)&&isFinite(f))}var o=t==="time",s=e instanceof Date;if(o||s){var u=o?Yt(e):e;if(isNaN(+u)){if(s)return"-"}else return Lu(u,n,r)}if(t==="ordinal")return ea(e)?i(e):ae(e)&&a(e)?e+"":"-";var l=Pt(e);return a(l)?Rv(l):ea(e)?i(e):typeof e=="boolean"?e+"":"-"}var gf=["a","b","c","d","e","f","g"],Yo=function(e,t){return"{"+e+(t==null?"":t)+"}"};function Av(e,t,r){I(t)||(t=[t]);var n=t.length;if(!n)return"";for(var i=t[0].$vars||[],a=0;a<i.length;a++){var o=gf[a];e=e.replace(Yo(o),Yo(o,0))}for(var s=0;s<n;s++)for(var u=0;u<i.length;u++){var l=t[s][i[u]];e=e.replace(Yo(gf[u],s),r?Ne(l):l)}return e}function em(e,t,r){return D(t,function(n,i){e=e.replace("{"+i+"}",n)}),e}function Nv(e,t){var r=V(e)?{color:e,extraCssText:t}:e||{},n=r.color,i=r.type;t=r.extraCssText;var a=r.renderMode||"html";if(!n)return"";if(a==="html")return i==="subItem"?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+Ne(n)+";"+(t||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+Ne(n)+";"+(t||"")+'"></span>';var o=r.markerId||"markerX";return{renderMode:a,content:"{"+o+"|} ",style:i==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:n}:{width:10,height:10,borderRadius:5,backgroundColor:n}}}function tm(e,t,r){process.env.NODE_ENV!=="production"&&re("echarts.format.formatTime","echarts.time.format"),(e==="week"||e==="month"||e==="quarter"||e==="half-year"||e==="year")&&(e=`MM-dd
9
+ yyyy`);var n=Yt(t),i="get",a=n[i+"FullYear"](),o=n[i+"Month"]()+1,s=n[i+"Date"](),u=n[i+"Hours"](),l=n[i+"Minutes"](),f=n[i+"Seconds"](),h=n[i+"Milliseconds"]();return e=e.replace("MM",be(o,2)).replace("M",o).replace("yyyy",a).replace("yy",be(a%100+"",2)).replace("dd",be(s,2)).replace("d",s).replace("hh",be(u,2)).replace("h",u).replace("mm",be(l,2)).replace("m",l).replace("ss",be(f,2)).replace("s",f).replace("SSS",be(h,3)),e}function xv(e,t){return t=t||"transparent",V(e)?e:O(e)&&e.colorStops&&(e.colorStops[0]||{}).color||t}function rm(e,t){if(t==="_blank"||t==="blank"){var r=window.open();r.opener=null,r.location.href=e}else window.open(e,t)}var ji=D,Lv=["left","right","top","bottom","width","height"],mr=[["width","left","right"],["height","top","bottom"]];function Fu(e,t,r,n,i){var a=0,o=0;n==null&&(n=1/0),i==null&&(i=1/0);var s=0;t.eachChild(function(u,l){var f=u.getBoundingRect(),h=t.childAt(l+1),v=h&&h.getBoundingRect(),c,p;if(e==="horizontal"){var y=f.width+(v?-v.x+f.x:0);c=a+y,c>n||u.newline?(a=0,c=y,o+=s+r,s=f.height):s=Math.max(s,f.height)}else{var d=f.height+(v?-v.y+f.y:0);p=o+d,p>i||u.newline?(a+=s+r,o=0,p=d,s=f.width):s=Math.max(s,f.width)}u.newline||(u.x=a,u.y=o,u.markRedraw(),e==="horizontal"?a=c+r:o=p+r)})}var nm=Fu;Ca(Fu,"vertical");Ca(Fu,"horizontal");function im(e,t,r){var n=t.width,i=t.height,a=ze(e.left,n),o=ze(e.top,i),s=ze(e.right,n),u=ze(e.bottom,i);return(isNaN(a)||isNaN(parseFloat(e.left)))&&(a=0),(isNaN(s)||isNaN(parseFloat(e.right)))&&(s=n),(isNaN(o)||isNaN(parseFloat(e.top)))&&(o=0),(isNaN(u)||isNaN(parseFloat(e.bottom)))&&(u=i),r=Ou(r||0),{width:Math.max(s-a-r[1]-r[3],0),height:Math.max(u-o-r[0]-r[2],0)}}function Iv(e,t,r){r=Ou(r||0);var n=t.width,i=t.height,a=ze(e.left,n),o=ze(e.top,i),s=ze(e.right,n),u=ze(e.bottom,i),l=ze(e.width,n),f=ze(e.height,i),h=r[2]+r[0],v=r[1]+r[3],c=e.aspect;switch(isNaN(l)&&(l=n-s-v-a),isNaN(f)&&(f=i-u-h-o),c!=null&&(isNaN(l)&&isNaN(f)&&(c>n/i?l=n*.8:f=i*.8),isNaN(l)&&(l=c*f),isNaN(f)&&(f=l/c)),isNaN(a)&&(a=n-s-l-v),isNaN(o)&&(o=i-u-f-h),e.left||e.right){case"center":a=n/2-l/2-r[3];break;case"right":a=n-l-v;break}switch(e.top||e.bottom){case"middle":case"center":o=i/2-f/2-r[0];break;case"bottom":o=i-f-h;break}a=a||0,o=o||0,isNaN(l)&&(l=n-v-a-(s||0)),isNaN(f)&&(f=i-h-o-(u||0));var p=new Q(a+r[3],o+r[0],l,f);return p.margin=r,p}function am(e,t,r,n,i,a){var o=!i||!i.hv||i.hv[0],s=!i||!i.hv||i.hv[1],u=i&&i.boundingMode||"all";if(a=a||e,a.x=e.x,a.y=e.y,!o&&!s)return!1;var l;if(u==="raw")l=e.type==="group"?new Q(0,0,+t.width||0,+t.height||0):e.getBoundingRect();else if(l=e.getBoundingRect(),e.needLocalTransform()){var f=e.getLocalTransform();l=l.clone(),l.applyTransform(f)}var h=Iv(pe({width:l.width,height:l.height},t),r,n),v=o?h.x-l.x:0,c=s?h.y-l.y:0;return u==="raw"?(a.x=v,a.y=c):(a.x+=v,a.y+=c),a===e&&e.markRedraw(),!0}function om(e,t){return e[mr[t][0]]!=null||e[mr[t][1]]!=null&&e[mr[t][2]]!=null}function ii(e){var t=e.layoutMode||e.constructor.layoutMode;return O(t)?t:t?{type:t}:null}function ai(e,t,r){var n=r&&r.ignoreSize;!I(n)&&(n=[n,n]);var i=o(mr[0],0),a=o(mr[1],1);l(mr[0],e,i),l(mr[1],e,a);function o(f,h){var v={},c=0,p={},y=0,d=2;if(ji(f,function(m){p[m]=e[m]}),ji(f,function(m){s(t,m)&&(v[m]=p[m]=t[m]),u(v,m)&&c++,u(p,m)&&y++}),n[h])return u(t,f[1])?p[f[2]]=null:u(t,f[2])&&(p[f[1]]=null),p;if(y===d||!c)return p;if(c>=d)return v;for(var g=0;g<f.length;g++){var _=f[g];if(!s(v,_)&&s(e,_)){v[_]=e[_];break}}return v}function s(f,h){return f.hasOwnProperty(h)}function u(f,h){return f[h]!=null&&f[h]!=="auto"}function l(f,h,v){ji(f,function(c){h[c]=v[c]})}}function ku(e){return Ov({},e)}function Ov(e,t){return t&&e&&ji(Lv,function(r){t.hasOwnProperty(r)&&(e[r]=t[r])}),e}var sm=Fe(),J=(function(e){z(t,e);function t(r,n,i){var a=e.call(this,r,n,i)||this;return a.uid=gi("ec_cpt_model"),a}return t.prototype.init=function(r,n,i){this.mergeDefaultAndTheme(r,i)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=ii(this),a=i?ku(r):{},o=n.getTheme();se(r,o.get(this.mainType)),se(r,this.getDefaultOption()),i&&ai(r,a,i)},t.prototype.mergeOption=function(r,n){se(this.option,r,!0);var i=ii(this);i&&ai(this.option,r,i)},t.prototype.optionUpdated=function(r,n){},t.prototype.getDefaultOption=function(){var r=this.constructor;if(!D0(r))return r.defaultOption;var n=sm(this);if(!n.defaultOption){for(var i=[],a=r;a;){var o=a.prototype.defaultOption;o&&i.push(o),a=a.superClass}for(var s={},u=i.length-1;u>=0;u--)s=se(s,i[u],!0);n.defaultOption=s}return n.defaultOption},t.prototype.getReferringComponents=function(r,n){var i=r+"Index",a=r+"Id";return ci(this.ecModel,r,{index:this.get(i,!0),id:this.get(a,!0)},n)},t.prototype.getBoxLayoutParams=function(){var r=this;return{left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(r){this.option.zlevel=r},t.protoInitialize=(function(){var r=t.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0})(),t})(Ee);dc(J,Ee);La(J);L_(J);I_(J,um);function um(e){var t=[];return D(J.getClassesByMainType(e),function(r){t=t.concat(r.dependencies||r.prototype.dependencies||[])}),t=Y(t,function(r){return yt(r).main}),e!=="dataset"&&ne(t,"dataset")<=0&&t.unshift("dataset"),t}var Fv="";typeof navigator!="undefined"&&(Fv=navigator.platform||"");var Hr="rgba(0, 0, 0, 0.2)";const lm={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Hr,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Hr,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Hr,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Hr,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Hr,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Hr,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:Fv.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var fm=q(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),wt="original",Pe="arrayRows",tt="objectRows",Tt="keyedColumns",Et="typedArray",kv="unknown",_t="column",vn="row",he={Must:1,Might:2,Not:3},Bv=Fe();function hm(e){Bv(e).datasetMap=q()}function cm(e,t,r){var n={},i=Bu(t);if(!i||!e)return n;var a=[],o=[],s=t.ecModel,u=Bv(s).datasetMap,l=i.uid+"_"+r.seriesLayoutBy,f,h;e=e.slice(),D(e,function(y,d){var g=O(y)?y:e[d]={name:y};g.type==="ordinal"&&f==null&&(f=d,h=p(g)),n[g.name]=[]});var v=u.get(l)||u.set(l,{categoryWayDim:h,valueWayDim:0});D(e,function(y,d){var g=y.name,_=p(y);if(f==null){var m=v.valueWayDim;c(n[g],m,_),c(o,m,_),v.valueWayDim+=_}else if(f===d)c(n[g],0,_),c(a,0,_);else{var m=v.categoryWayDim;c(n[g],m,_),c(o,m,_),v.categoryWayDim+=_}});function c(y,d,g){for(var _=0;_<g;_++)y.push(d+_)}function p(y){var d=y.dimsDef;return d?d.length:1}return a.length&&(n.itemName=a),o.length&&(n.seriesName=o),n}function vm(e,t,r){var n={},i=Bu(e);if(!i)return n;var a=t.sourceFormat,o=t.dimensionsDefine,s;(a===tt||a===Tt)&&D(o,function(f,h){(O(f)?f.name:f)==="name"&&(s=h)});var u=(function(){for(var f={},h={},v=[],c=0,p=Math.min(5,r);c<p;c++){var y=zv(t.data,a,t.seriesLayoutBy,o,t.startIndex,c);v.push(y);var d=y===he.Not;if(d&&f.v==null&&c!==s&&(f.v=c),(f.n==null||f.n===f.v||!d&&v[f.n]===he.Not)&&(f.n=c),g(f)&&v[f.n]!==he.Not)return f;d||(y===he.Might&&h.v==null&&c!==s&&(h.v=c),(h.n==null||h.n===h.v)&&(h.n=c))}function g(_){return _.v!=null&&_.n!=null}return g(f)?f:g(h)?h:null})();if(u){n.value=[u.v];var l=s!=null?s:u.n;n.itemName=[l],n.seriesName=[l]}return n}function Bu(e){var t=e.get("data",!0);if(!t)return ci(e.ecModel,"dataset",{index:e.get("datasetIndex",!0),id:e.get("datasetId",!0)},xa).models[0]}function pm(e){return!e.get("transform",!0)&&!e.get("fromTransformResult",!0)?[]:ci(e.ecModel,"dataset",{index:e.get("fromDatasetIndex",!0),id:e.get("fromDatasetId",!0)},xa).models}function Vv(e,t){return zv(e.data,e.sourceFormat,e.seriesLayoutBy,e.dimensionsDefine,e.startIndex,t)}function zv(e,t,r,n,i,a){var o,s=5;if(Me(e))return he.Not;var u,l;if(n){var f=n[a];O(f)?(u=f.name,l=f.type):V(f)&&(u=f)}if(l!=null)return l==="ordinal"?he.Must:he.Not;if(t===Pe){var h=e;if(r===vn){for(var v=h[a],c=0;c<(v||[]).length&&c<s;c++)if((o=S(v[i+c]))!=null)return o}else for(var c=0;c<h.length&&c<s;c++){var p=h[i+c];if(p&&(o=S(p[a]))!=null)return o}}else if(t===tt){var y=e;if(!u)return he.Not;for(var c=0;c<y.length&&c<s;c++){var d=y[c];if(d&&(o=S(d[u]))!=null)return o}}else if(t===Tt){var g=e;if(!u)return he.Not;var v=g[u];if(!v||Me(v))return he.Not;for(var c=0;c<v.length&&c<s;c++)if((o=S(v[c]))!=null)return o}else if(t===wt)for(var _=e,c=0;c<_.length&&c<s;c++){var d=_[c],m=fi(d);if(!I(m))return he.Not;if((o=S(m[a]))!=null)return o}function S(T){var w=V(T);if(T!=null&&Number.isFinite(Number(T))&&T!=="")return w?he.Might:he.Not;if(w&&T!=="-")return he.Must}return he.Not}var Us=q();function dm(e,t){k(Us.get(e)==null&&t),Us.set(e,t)}function gm(e,t,r){var n=Us.get(t);if(!n)return r;var i=n(e);if(!i)return r;if(process.env.NODE_ENV!=="production")for(var a=0;a<i.length;a++)k(an(i[a]));return r.concat(i)}var yf=Fe(),ym=Fe(),Vu=(function(){function e(){}return e.prototype.getColorFromPalette=function(t,r,n){var i=me(this.get("color",!0)),a=this.get("colorLayer",!0);return Hv(this,yf,i,a,t,r,n)},e.prototype.clearColorPalette=function(){Sm(this,yf)},e})();function _m(e,t,r,n){var i=me(e.get(["aria","decal","decals"]));return Hv(e,ym,i,null,t,r,n)}function mm(e,t){for(var r=e.length,n=0;n<r;n++)if(e[n].length>t)return e[n];return e[r-1]}function Hv(e,t,r,n,i,a,o){a=a||e;var s=t(a),u=s.paletteIdx||0,l=s.paletteNameMap=s.paletteNameMap||{};if(l.hasOwnProperty(i))return l[i];var f=o==null||!n?r:mm(n,o);if(f=f||r,!(!f||!f.length)){var h=f[u];return i&&(l[i]=h),s.paletteIdx=(u+1)%f.length,h}}function Sm(e,t){t(e).paletteIdx=0,t(e).paletteNameMap={}}var Fi,bn,_f,Wo="\0_ec_inner",mf=1,wm={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},Tm={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},ha={};function bm(e){D(e,function(t,r){if(!J.hasClass(r)){var n=wm[r];n&&!ha[n]&&(ve("Component "+r+` is used but not imported.
10
+ import { `+n+` } from 'echarts/components';
11
+ echarts.use([`+n+"]);"),ha[n]=!0)}})}var zu=(function(e){z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.prototype.init=function(r,n,i,a,o,s){a=a||{},this.option=null,this._theme=new Ee(a),this._locale=new Ee(o),this._optionManager=s},t.prototype.setOption=function(r,n,i){process.env.NODE_ENV!=="production"&&(k(r!=null,"option is null/undefined"),k(r[Wo]!==mf,"please use chart.getOption()"));var a=Tf(n);this._optionManager.setOption(r,i,a),this._resetOption(null,a)},t.prototype.resetOption=function(r,n){return this._resetOption(r,Tf(n))},t.prototype._resetOption=function(r,n){var i=!1,a=this._optionManager;if(!r||r==="recreate"){var o=a.mountOption(r==="recreate");process.env.NODE_ENV!=="production"&&bm(o),!this.option||r==="recreate"?_f(this,o):(this.restoreData(),this._mergeOption(o,n)),i=!0}if((r==="timeline"||r==="media")&&this.restoreData(),!r||r==="recreate"||r==="timeline"){var s=a.getTimelineOption(this);s&&(i=!0,this._mergeOption(s,n))}if(!r||r==="recreate"||r==="media"){var u=a.getMediaOption(this);u.length&&D(u,function(l){i=!0,this._mergeOption(l,n)},this)}return i},t.prototype.mergeOption=function(r){this._mergeOption(r,null)},t.prototype._mergeOption=function(r,n){var i=this.option,a=this._componentsMap,o=this._componentsCount,s=[],u=q(),l=n&&n.replaceMergeMainTypeMap;hm(this),D(r,function(h,v){h!=null&&(J.hasClass(v)?v&&(s.push(v),u.set(v,!0)):i[v]=i[v]==null?X(h):se(i[v],h,!0))}),l&&l.each(function(h,v){J.hasClass(v)&&!u.get(v)&&(s.push(v),u.set(v,!0))}),J.topologicalTravel(s,J.getAllClassMainTypes(),f,this);function f(h){var v=gm(this,h,me(r[h])),c=a.get(h),p=c?l&&l.get(h)?"replaceMerge":"normalMerge":"replaceAll",y=fc(c,v,p);d0(y,h,J),i[h]=null,a.set(h,null),o.set(h,0);var d=[],g=[],_=0,m,S;D(y,function(T,w){var b=T.existing,C=T.newOption;if(!C)b&&(b.mergeOption({},this),b.optionUpdated({},!1));else{var E=h==="series",P=J.getClass(h,T.keyInfo.subType,!E);if(!P){if(process.env.NODE_ENV!=="production"){var M=T.keyInfo.subType,A=Tm[M];ha[M]||(ha[M]=!0,ve(A?"Series "+M+` is used but not imported.
12
+ import { `+A+` } from 'echarts/charts';
13
+ echarts.use([`+A+"]);":"Unknown series "+M))}return}if(h==="tooltip"){if(m){process.env.NODE_ENV!=="production"&&(S||(je("Currently only one tooltip component is allowed."),S=!0));return}m=!0}if(b&&b.constructor===P)b.name=T.keyInfo.name,b.mergeOption(C,this),b.optionUpdated(C,!1);else{var F=N({componentIndex:w},T.keyInfo);b=new P(C,this,this,F),N(b,F),T.brandNew&&(b.__requireNewView=!0),b.init(C,this,this),b.optionUpdated(null,!0)}}b?(d.push(b.option),g.push(b),_++):(d.push(void 0),g.push(void 0))},this),i[h]=d,a.set(h,g),o.set(h,_),h==="series"&&Fi(this)}this._seriesIndices||Fi(this)},t.prototype.getOption=function(){var r=X(this.option);return D(r,function(n,i){if(J.hasClass(i)){for(var a=me(n),o=a.length,s=!1,u=o-1;u>=0;u--)a[u]&&!an(a[u])?s=!0:(a[u]=null,!s&&o--);a.length=o,r[i]=a}}),delete r[Wo],r},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(r){this._payload=r},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(r,n){var i=this._componentsMap.get(r);if(i){var a=i[n||0];if(a)return a;if(n==null){for(var o=0;o<i.length;o++)if(i[o])return i[o]}}},t.prototype.queryComponents=function(r){var n=r.mainType;if(!n)return[];var i=r.index,a=r.id,o=r.name,s=this._componentsMap.get(n);if(!s||!s.length)return[];var u;return i!=null?(u=[],D(me(i),function(l){s[l]&&u.push(s[l])})):a!=null?u=Sf("id",a,s):o!=null?u=Sf("name",o,s):u=Qe(s,function(l){return!!l}),wf(u,r)},t.prototype.findComponents=function(r){var n=r.query,i=r.mainType,a=s(n),o=a?this.queryComponents(a):Qe(this._componentsMap.get(i),function(l){return!!l});return u(wf(o,r));function s(l){var f=i+"Index",h=i+"Id",v=i+"Name";return l&&(l[f]!=null||l[h]!=null||l[v]!=null)?{mainType:i,index:l[f],id:l[h],name:l[v]}:null}function u(l){return r.filter?Qe(l,r.filter):l}},t.prototype.eachComponent=function(r,n,i){var a=this._componentsMap;if(j(r)){var o=n,s=r;a.each(function(h,v){for(var c=0;h&&c<h.length;c++){var p=h[c];p&&s.call(o,v,p,p.componentIndex)}})}else for(var u=V(r)?a.get(r):O(r)?this.findComponents(r):null,l=0;u&&l<u.length;l++){var f=u[l];f&&n.call(i,f,f.componentIndex)}},t.prototype.getSeriesByName=function(r){var n=Rt(r,null);return Qe(this._componentsMap.get("series"),function(i){return!!i&&n!=null&&i.name===n})},t.prototype.getSeriesByIndex=function(r){return this._componentsMap.get("series")[r]},t.prototype.getSeriesByType=function(r){return Qe(this._componentsMap.get("series"),function(n){return!!n&&n.subType===r})},t.prototype.getSeries=function(){return Qe(this._componentsMap.get("series"),function(r){return!!r})},t.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},t.prototype.eachSeries=function(r,n){bn(this),D(this._seriesIndices,function(i){var a=this._componentsMap.get("series")[i];r.call(n,a,i)},this)},t.prototype.eachRawSeries=function(r,n){D(this._componentsMap.get("series"),function(i){i&&r.call(n,i,i.componentIndex)})},t.prototype.eachSeriesByType=function(r,n,i){bn(this),D(this._seriesIndices,function(a){var o=this._componentsMap.get("series")[a];o.subType===r&&n.call(i,o,a)},this)},t.prototype.eachRawSeriesByType=function(r,n,i){return D(this.getSeriesByType(r),n,i)},t.prototype.isSeriesFiltered=function(r){return bn(this),this._seriesIndicesMap.get(r.componentIndex)==null},t.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},t.prototype.filterSeries=function(r,n){bn(this);var i=[];D(this._seriesIndices,function(a){var o=this._componentsMap.get("series")[a];r.call(n,o,a)&&i.push(a)},this),this._seriesIndices=i,this._seriesIndicesMap=q(i)},t.prototype.restoreData=function(r){Fi(this);var n=this._componentsMap,i=[];n.each(function(a,o){J.hasClass(o)&&i.push(o)}),J.topologicalTravel(i,J.getAllClassMainTypes(),function(a){D(n.get(a),function(o){o&&(a!=="series"||!Cm(o,r))&&o.restoreData()})})},t.internalField=(function(){Fi=function(r){var n=r._seriesIndices=[];D(r._componentsMap.get("series"),function(i){i&&n.push(i.componentIndex)}),r._seriesIndicesMap=q(n)},bn=function(r){if(process.env.NODE_ENV!=="production"&&!r._seriesIndices)throw new Error("Option should contains series.")},_f=function(r,n){r.option={},r.option[Wo]=mf,r._componentsMap=q({series:[]}),r._componentsCount=q();var i=n.aria;O(i)&&i.enabled==null&&(i.enabled=!0),Dm(n,r._theme.option),se(n,lm,!1),r._mergeOption(n,null)}})(),t})(Ee);function Cm(e,t){if(t){var r=t.seriesIndex,n=t.seriesId,i=t.seriesName;return r!=null&&e.componentIndex!==r||n!=null&&e.id!==n||i!=null&&e.name!==i}}function Dm(e,t){var r=e.color&&!e.colorLayer;D(t,function(n,i){i==="colorLayer"&&r||J.hasClass(i)||(typeof n=="object"?e[i]=e[i]?se(e[i],n,!1):X(n):e[i]==null&&(e[i]=n))})}function Sf(e,t,r){if(I(t)){var n=q();return D(t,function(a){if(a!=null){var o=Rt(a,null);o!=null&&n.set(a,!0)}}),Qe(r,function(a){return a&&n.get(a[e])})}else{var i=Rt(t,null);return Qe(r,function(a){return a&&i!=null&&a[e]===i})}}function wf(e,t){return t.hasOwnProperty("subType")?Qe(e,function(r){return r&&r.subType===t.subType}):e}function Tf(e){var t=q();return e&&D(me(e.replaceMerge),function(r){process.env.NODE_ENV!=="production"&&k(J.hasClass(r),'"'+r+'" is not valid component main type in "replaceMerge"'),t.set(r,!0)}),{replaceMergeMainTypeMap:t}}mt(zu,Vu);var Em=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"],Uv=(function(){function e(t){D(Em,function(r){this[r]=at(t[r],t)},this)}return e})(),Xo={},ja=(function(){function e(){this._coordinateSystems=[]}return e.prototype.create=function(t,r){var n=[];D(Xo,function(i,a){var o=i.create(t,r);n=n.concat(o||[])}),this._coordinateSystems=n},e.prototype.update=function(t,r){D(this._coordinateSystems,function(n){n.update&&n.update(t,r)})},e.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},e.register=function(t,r){Xo[t]=r},e.get=function(t){return Xo[t]},e})(),Mm=/^(min|max)?(.+)$/,Pm=(function(){function e(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return e.prototype.setOption=function(t,r,n){t&&(D(me(t.series),function(o){o&&o.data&&Me(o.data)&&ta(o.data)}),D(me(t.dataset),function(o){o&&o.source&&Me(o.source)&&ta(o.source)})),t=X(t);var i=this._optionBackup,a=Rm(t,r,!i);this._newBaseOption=a.baseOption,i?(a.timelineOptions.length&&(i.timelineOptions=a.timelineOptions),a.mediaList.length&&(i.mediaList=a.mediaList),a.mediaDefault&&(i.mediaDefault=a.mediaDefault)):this._optionBackup=a},e.prototype.mountOption=function(t){var r=this._optionBackup;return this._timelineOptions=r.timelineOptions,this._mediaList=r.mediaList,this._mediaDefault=r.mediaDefault,this._currentMediaIndices=[],X(t?r.baseOption:this._newBaseOption)},e.prototype.getTimelineOption=function(t){var r,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(r=X(n[i.getCurrentIndex()]))}return r},e.prototype.getMediaOption=function(t){var r=this._api.getWidth(),n=this._api.getHeight(),i=this._mediaList,a=this._mediaDefault,o=[],s=[];if(!i.length&&!a)return s;for(var u=0,l=i.length;u<l;u++)Am(i[u].query,r,n)&&o.push(u);return!o.length&&a&&(o=[-1]),o.length&&!xm(o,this._currentMediaIndices)&&(s=Y(o,function(f){return X(f===-1?a.option:i[f].option)})),this._currentMediaIndices=o,s},e})();function Rm(e,t,r){var n=[],i,a,o=e.baseOption,s=e.timeline,u=e.options,l=e.media,f=!!e.media,h=!!(u||s||o&&o.timeline);o?(a=o,a.timeline||(a.timeline=s)):((h||f)&&(e.options=e.media=null),a=e),f&&(I(l)?D(l,function(c){process.env.NODE_ENV!=="production"&&c&&!c.option&&O(c.query)&&O(c.query.option)&&ve("Illegal media option. Must be like { media: [ { query: {}, option: {} } ] }"),c&&c.option&&(c.query?n.push(c):i||(i=c))}):process.env.NODE_ENV!=="production"&&ve("Illegal media option. Must be an array. Like { media: [ {...}, {...} ] }")),v(a),D(u,function(c){return v(c)}),D(n,function(c){return v(c.option)});function v(c){D(t,function(p){p(c,r)})}return{baseOption:a,timelineOptions:u||[],mediaDefault:i,mediaList:n}}function Am(e,t,r){var n={width:t,height:r,aspectratio:t/r},i=!0;return D(e,function(a,o){var s=o.match(Mm);if(!(!s||!s[1]||!s[2])){var u=s[1],l=s[2].toLowerCase();Nm(n[l],a,u)||(i=!1)}}),i}function Nm(e,t,r){return r==="min"?e>=t:r==="max"?e<=t:e===t}function xm(e,t){return e.join(",")===t.join(",")}var We=D,oi=O,bf=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function qo(e){var t=e&&e.itemStyle;if(t)for(var r=0,n=bf.length;r<n;r++){var i=bf[r],a=t.normal,o=t.emphasis;a&&a[i]&&(process.env.NODE_ENV!=="production"&&re("itemStyle.normal."+i,i),e[i]=e[i]||{},e[i].normal?se(e[i].normal,a[i]):e[i].normal=a[i],a[i]=null),o&&o[i]&&(process.env.NODE_ENV!=="production"&&re("itemStyle.emphasis."+i,"emphasis."+i),e[i]=e[i]||{},e[i].emphasis?se(e[i].emphasis,o[i]):e[i].emphasis=o[i],o[i]=null)}}function _e(e,t,r){if(e&&e[t]&&(e[t].normal||e[t].emphasis)){var n=e[t].normal,i=e[t].emphasis;n&&(process.env.NODE_ENV!=="production"&&lt("'normal' hierarchy in "+t+" has been removed since 4.0. All style properties are configured in "+t+" directly now."),r?(e[t].normal=e[t].emphasis=null,pe(e[t],n)):e[t]=n),i&&(process.env.NODE_ENV!=="production"&&lt(t+".emphasis has been changed to emphasis."+t+" since 4.0"),e.emphasis=e.emphasis||{},e.emphasis[t]=i,i.focus&&(e.emphasis.focus=i.focus),i.blurScope&&(e.emphasis.blurScope=i.blurScope))}}function Fn(e){_e(e,"itemStyle"),_e(e,"lineStyle"),_e(e,"areaStyle"),_e(e,"label"),_e(e,"labelLine"),_e(e,"upperLabel"),_e(e,"edgeLabel")}function te(e,t){var r=oi(e)&&e[t],n=oi(r)&&r.textStyle;if(n){process.env.NODE_ENV!=="production"&&lt("textStyle hierarchy in "+t+" has been removed since 4.0. All textStyle properties are configured in "+t+" directly now.");for(var i=0,a=Rl.length;i<a;i++){var o=Rl[i];n.hasOwnProperty(o)&&(r[o]=n[o])}}}function Ze(e){e&&(Fn(e),te(e,"label"),e.emphasis&&te(e.emphasis,"label"))}function Lm(e){if(oi(e)){qo(e),Fn(e),te(e,"label"),te(e,"upperLabel"),te(e,"edgeLabel"),e.emphasis&&(te(e.emphasis,"label"),te(e.emphasis,"upperLabel"),te(e.emphasis,"edgeLabel"));var t=e.markPoint;t&&(qo(t),Ze(t));var r=e.markLine;r&&(qo(r),Ze(r));var n=e.markArea;n&&Ze(n);var i=e.data;if(e.type==="graph"){i=i||e.nodes;var a=e.links||e.edges;if(a&&!Me(a))for(var o=0;o<a.length;o++)Ze(a[o]);D(e.categories,function(l){Fn(l)})}if(i&&!Me(i))for(var o=0;o<i.length;o++)Ze(i[o]);if(t=e.markPoint,t&&t.data)for(var s=t.data,o=0;o<s.length;o++)Ze(s[o]);if(r=e.markLine,r&&r.data)for(var u=r.data,o=0;o<u.length;o++)I(u[o])?(Ze(u[o][0]),Ze(u[o][1])):Ze(u[o]);e.type==="gauge"?(te(e,"axisLabel"),te(e,"title"),te(e,"detail")):e.type==="treemap"?(_e(e.breadcrumb,"itemStyle"),D(e.levels,function(l){Fn(l)})):e.type==="tree"&&Fn(e.leaves)}}function Ct(e){return I(e)?e:e?[e]:[]}function Cf(e){return(I(e)?e[0]:e)||{}}function Im(e,t){We(Ct(e.series),function(n){oi(n)&&Lm(n)});var r=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];t&&r.push("valueAxis","categoryAxis","logAxis","timeAxis"),We(r,function(n){We(Ct(e[n]),function(i){i&&(te(i,"axisLabel"),te(i.axisPointer,"label"))})}),We(Ct(e.parallel),function(n){var i=n&&n.parallelAxisDefault;te(i,"axisLabel"),te(i&&i.axisPointer,"label")}),We(Ct(e.calendar),function(n){_e(n,"itemStyle"),te(n,"dayLabel"),te(n,"monthLabel"),te(n,"yearLabel")}),We(Ct(e.radar),function(n){te(n,"name"),n.name&&n.axisName==null&&(n.axisName=n.name,delete n.name,process.env.NODE_ENV!=="production"&&lt("name property in radar component has been changed to axisName")),n.nameGap!=null&&n.axisNameGap==null&&(n.axisNameGap=n.nameGap,delete n.nameGap,process.env.NODE_ENV!=="production"&&lt("nameGap property in radar component has been changed to axisNameGap")),process.env.NODE_ENV!=="production"&&We(n.indicator,function(i){i.text&&re("text","name","radar.indicator")})}),We(Ct(e.geo),function(n){oi(n)&&(Ze(n),We(Ct(n.regions),function(i){Ze(i)}))}),We(Ct(e.timeline),function(n){Ze(n),_e(n,"label"),_e(n,"itemStyle"),_e(n,"controlStyle",!0);var i=n.data;I(i)&&D(i,function(a){O(a)&&(_e(a,"label"),_e(a,"itemStyle"))})}),We(Ct(e.toolbox),function(n){_e(n,"iconStyle"),We(n.feature,function(i){_e(i,"iconStyle")})}),te(Cf(e.axisPointer),"label"),te(Cf(e.tooltip).axisPointer,"label")}function Om(e,t){for(var r=t.split(","),n=e,i=0;i<r.length&&(n=n&&n[r[i]],n!=null);i++);return n}function Fm(e,t,r,n){for(var i=t.split(","),a=e,o,s=0;s<i.length-1;s++)o=i[s],a[o]==null&&(a[o]={}),a=a[o];a[i[s]]==null&&(a[i[s]]=r)}function Df(e){e&&D(km,function(t){t[0]in e&&!(t[1]in e)&&(e[t[1]]=e[t[0]])})}var km=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],Bm=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],$o=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function Cn(e){var t=e&&e.itemStyle;if(t)for(var r=0;r<$o.length;r++){var n=$o[r][1],i=$o[r][0];t[n]!=null&&(t[i]=t[n],process.env.NODE_ENV!=="production"&&re(n,i))}}function Ef(e){e&&e.alignTo==="edge"&&e.margin!=null&&e.edgeDistance==null&&(process.env.NODE_ENV!=="production"&&re("label.margin","label.edgeDistance","pie"),e.edgeDistance=e.margin)}function Mf(e){e&&e.downplay&&!e.blur&&(e.blur=e.downplay,process.env.NODE_ENV!=="production"&&re("downplay","blur","sunburst"))}function Vm(e){e&&e.focusNodeAdjacency!=null&&(e.emphasis=e.emphasis||{},e.emphasis.focus==null&&(process.env.NODE_ENV!=="production"&&re("focusNodeAdjacency","emphasis: { focus: 'adjacency'}","graph/sankey"),e.emphasis.focus="adjacency"))}function Gv(e,t){if(e)for(var r=0;r<e.length;r++)t(e[r]),e[r]&&Gv(e[r].children,t)}function Yv(e,t){Im(e,t),e.series=me(e.series),D(e.series,function(r){if(O(r)){var n=r.type;if(n==="line")r.clipOverflow!=null&&(r.clip=r.clipOverflow,process.env.NODE_ENV!=="production"&&re("clipOverflow","clip","line"));else if(n==="pie"||n==="gauge"){r.clockWise!=null&&(r.clockwise=r.clockWise,process.env.NODE_ENV!=="production"&&re("clockWise","clockwise")),Ef(r.label);var i=r.data;if(i&&!Me(i))for(var a=0;a<i.length;a++)Ef(i[a]);r.hoverOffset!=null&&(r.emphasis=r.emphasis||{},(r.emphasis.scaleSize=null)&&(process.env.NODE_ENV!=="production"&&re("hoverOffset","emphasis.scaleSize"),r.emphasis.scaleSize=r.hoverOffset))}else if(n==="gauge"){var o=Om(r,"pointer.color");o!=null&&Fm(r,"itemStyle.color",o)}else if(n==="bar"){Cn(r),Cn(r.backgroundStyle),Cn(r.emphasis);var i=r.data;if(i&&!Me(i))for(var a=0;a<i.length;a++)typeof i[a]=="object"&&(Cn(i[a]),Cn(i[a]&&i[a].emphasis))}else if(n==="sunburst"){var s=r.highlightPolicy;s&&(r.emphasis=r.emphasis||{},r.emphasis.focus||(r.emphasis.focus=s,process.env.NODE_ENV!=="production"&&re("highlightPolicy","emphasis.focus","sunburst"))),Mf(r),Gv(r.data,Mf)}else n==="graph"||n==="sankey"?Vm(r):n==="map"&&(r.mapType&&!r.map&&(process.env.NODE_ENV!=="production"&&re("mapType","map","map"),r.map=r.mapType),r.mapLocation&&(process.env.NODE_ENV!=="production"&&lt("`mapLocation` is not used anymore."),pe(r,r.mapLocation)));r.hoverAnimation!=null&&(r.emphasis=r.emphasis||{},r.emphasis&&r.emphasis.scale==null&&(process.env.NODE_ENV!=="production"&&re("hoverAnimation","emphasis.scale"),r.emphasis.scale=r.hoverAnimation)),Df(r)}}),e.dataRange&&(e.visualMap=e.dataRange),D(Bm,function(r){var n=e[r];n&&(I(n)||(n=[n]),D(n,function(i){Df(i)}))})}function zm(e){var t=q();e.eachSeries(function(r){var n=r.get("stack");if(n){var i=t.get(n)||t.set(n,[]),a=r.getData(),o={stackResultDimension:a.getCalculationInfo("stackResultDimension"),stackedOverDimension:a.getCalculationInfo("stackedOverDimension"),stackedDimension:a.getCalculationInfo("stackedDimension"),stackedByDimension:a.getCalculationInfo("stackedByDimension"),isStackedByIndex:a.getCalculationInfo("isStackedByIndex"),data:a,seriesModel:r};if(!o.stackedDimension||!(o.isStackedByIndex||o.stackedByDimension))return;i.length&&a.setCalculationInfo("stackedOnSeries",i[i.length-1].seriesModel),i.push(o)}}),t.each(Hm)}function Hm(e){D(e,function(t,r){var n=[],i=[NaN,NaN],a=[t.stackResultDimension,t.stackedOverDimension],o=t.data,s=t.isStackedByIndex,u=t.seriesModel.get("stackStrategy")||"samesign";o.modify(a,function(l,f,h){var v=o.get(t.stackedDimension,h);if(isNaN(v))return i;var c,p;s?p=o.getRawIndex(h):c=o.get(t.stackedByDimension,h);for(var y=NaN,d=r-1;d>=0;d--){var g=e[d];if(s||(p=g.data.rawIndexOf(g.stackedByDimension,c)),p>=0){var _=g.data.getByRawIndex(g.stackResultDimension,p);if(u==="all"||u==="positive"&&_>0||u==="negative"&&_<0||u==="samesign"&&v>=0&&_>0||u==="samesign"&&v<=0&&_<0){v=Zg(v,_),y=_;break}}}return n[0]=v,n[1]=y,n})})}var eo=(function(){function e(t){this.data=t.data||(t.sourceFormat===Tt?{}:[]),this.sourceFormat=t.sourceFormat||kv,this.seriesLayoutBy=t.seriesLayoutBy||_t,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var r=this.dimensionsDefine=t.dimensionsDefine;if(r)for(var n=0;n<r.length;n++){var i=r[n];i.type==null&&Vv(this,n)===he.Must&&(i.type="ordinal")}}return e})();function Wv(e){return e instanceof eo}function Gs(e,t,r){r=r||qv(e);var n=t.seriesLayoutBy,i=Gm(e,r,n,t.sourceHeader,t.dimensions),a=new eo({data:e,sourceFormat:r,seriesLayoutBy:n,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:X(t)});return a}function Xv(e){return new eo({data:e,sourceFormat:Me(e)?Et:wt})}function Um(e){return new eo({data:e.data,sourceFormat:e.sourceFormat,seriesLayoutBy:e.seriesLayoutBy,dimensionsDefine:X(e.dimensionsDefine),startIndex:e.startIndex,dimensionsDetectedCount:e.dimensionsDetectedCount})}function qv(e){var t=kv;if(Me(e))t=Et;else if(I(e)){e.length===0&&(t=Pe);for(var r=0,n=e.length;r<n;r++){var i=e[r];if(i!=null){if(I(i)||Me(i)){t=Pe;break}else if(O(i)){t=tt;break}}}}else if(O(e)){for(var a in e)if(Gt(e,a)&&Oe(e[a])){t=Tt;break}}return t}function Gm(e,t,r,n,i){var a,o;if(!e)return{dimensionsDefine:Pf(i),startIndex:o,dimensionsDetectedCount:a};if(t===Pe){var s=e;n==="auto"||n==null?Rf(function(l){l!=null&&l!=="-"&&(V(l)?o==null&&(o=1):o=0)},r,s,10):o=ae(n)?n:n?1:0,!i&&o===1&&(i=[],Rf(function(l,f){i[f]=l!=null?l+"":""},r,s,1/0)),a=i?i.length:r===vn?s.length:s[0]?s[0].length:null}else if(t===tt)i||(i=Ym(e));else if(t===Tt)i||(i=[],D(e,function(l,f){i.push(f)}));else if(t===wt){var u=fi(e[0]);a=I(u)&&u.length||1}else t===Et&&process.env.NODE_ENV!=="production"&&k(!!i,"dimensions must be given if data is TypedArray.");return{startIndex:o,dimensionsDefine:Pf(i),dimensionsDetectedCount:a}}function Ym(e){for(var t=0,r;t<e.length&&!(r=e[t++]););if(r)return ie(r)}function Pf(e){if(e){var t=q();return Y(e,function(r,n){r=O(r)?r:{name:r};var i={name:r.name,displayName:r.displayName,type:r.type};if(i.name==null)return i;i.name+="",i.displayName==null&&(i.displayName=i.name);var a=t.get(i.name);return a?i.name+="-"+a.count++:t.set(i.name,{count:1}),i})}}function Rf(e,t,r,n){if(t===vn)for(var i=0;i<r.length&&i<n;i++)e(r[i]?r[i][0]:null,i);else for(var a=r[0]||[],i=0;i<a.length&&i<n;i++)e(a[i],i)}function $v(e){var t=e.sourceFormat;return t===tt||t===Tt}var hr,cr,vr,Af,Nf,Zv=(function(){function e(t,r){var n=Wv(t)?t:Xv(t);this._source=n;var i=this._data=n.data;if(n.sourceFormat===Et){if(process.env.NODE_ENV!=="production"&&r==null)throw new Error("Typed array data must specify dimension size");this._offset=0,this._dimSize=r,this._data=i}Nf(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,r){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=(function(){var t=e.prototype;t.pure=!1,t.persistent=!0})(),e.internalField=(function(){var t;Nf=function(o,s,u){var l=u.sourceFormat,f=u.seriesLayoutBy,h=u.startIndex,v=u.dimensionsDefine,c=Af[Hu(l,f)];if(process.env.NODE_ENV!=="production"&&k(c,"Invalide sourceFormat: "+l),N(o,c),l===Et)o.getItem=r,o.count=i,o.fillStorage=n;else{var p=Kv(l,f);o.getItem=at(p,null,s,h,v);var y=Qv(l,f);o.count=at(y,null,s,h,v)}};var r=function(o,s){o=o-this._offset,s=s||[];for(var u=this._data,l=this._dimSize,f=l*o,h=0;h<l;h++)s[h]=u[f+h];return s},n=function(o,s,u,l){for(var f=this._data,h=this._dimSize,v=0;v<h;v++){for(var c=l[v],p=c[0]==null?1/0:c[0],y=c[1]==null?-1/0:c[1],d=s-o,g=u[v],_=0;_<d;_++){var m=f[_*h+v];g[o+_]=m,m<p&&(p=m),m>y&&(y=m)}c[0]=p,c[1]=y}},i=function(){return this._data?this._data.length/this._dimSize:0};Af=(t={},t[Pe+"_"+_t]={pure:!0,appendData:a},t[Pe+"_"+vn]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[tt]={pure:!0,appendData:a},t[Tt]={pure:!0,appendData:function(o){var s=this._data;D(o,function(u,l){for(var f=s[l]||(s[l]=[]),h=0;h<(u||[]).length;h++)f.push(u[h])})}},t[wt]={appendData:a},t[Et]={persistent:!1,pure:!0,appendData:function(o){process.env.NODE_ENV!=="production"&&k(Me(o),"Added data must be TypedArray if data in initialization is TypedArray"),this._data=o},clean:function(){this._offset+=this.count(),this._data=null}},t);function a(o){for(var s=0;s<o.length;s++)this._data.push(o[s])}})(),e})(),xf=function(e,t,r,n){return e[n]},Wm=(hr={},hr[Pe+"_"+_t]=function(e,t,r,n){return e[n+t]},hr[Pe+"_"+vn]=function(e,t,r,n,i){n+=t;for(var a=i||[],o=e,s=0;s<o.length;s++){var u=o[s];a[s]=u?u[n]:null}return a},hr[tt]=xf,hr[Tt]=function(e,t,r,n,i){for(var a=i||[],o=0;o<r.length;o++){var s=r[o].name;if(process.env.NODE_ENV!=="production"&&s==null)throw new Error;var u=e[s];a[o]=u?u[n]:null}return a},hr[wt]=xf,hr);function Kv(e,t){var r=Wm[Hu(e,t)];return process.env.NODE_ENV!=="production"&&k(r,'Do not support get item on "'+e+'", "'+t+'".'),r}var Lf=function(e,t,r){return e.length},Xm=(cr={},cr[Pe+"_"+_t]=function(e,t,r){return Math.max(0,e.length-t)},cr[Pe+"_"+vn]=function(e,t,r){var n=e[0];return n?Math.max(0,n.length-t):0},cr[tt]=Lf,cr[Tt]=function(e,t,r){var n=r[0].name;if(process.env.NODE_ENV!=="production"&&n==null)throw new Error;var i=e[n];return i?i.length:0},cr[wt]=Lf,cr);function Qv(e,t){var r=Xm[Hu(e,t)];return process.env.NODE_ENV!=="production"&&k(r,'Do not support count on "'+e+'", "'+t+'".'),r}var Zo=function(e,t,r){return e[t]},qm=(vr={},vr[Pe]=Zo,vr[tt]=function(e,t,r){return e[r]},vr[Tt]=Zo,vr[wt]=function(e,t,r){var n=fi(e);return n instanceof Array?n[t]:n},vr[Et]=Zo,vr);function Jv(e){var t=qm[e];return process.env.NODE_ENV!=="production"&&k(t,'Do not support get value on "'+e+'".'),t}function Hu(e,t){return e===Pe?e+"_"+t:e}function si(e,t,r){if(e){var n=e.getRawDataItem(t);if(n!=null){var i=e.getStore(),a=i.getSource().sourceFormat;if(r!=null){var o=e.getDimensionIndex(r),s=i.getDimensionProperty(o);return Jv(a)(n,o,s)}else{var u=n;return a===wt&&(u=fi(n)),u}}}}var $m=/\{@(.+?)\}/g,jv=(function(){function e(){}return e.prototype.getDataParams=function(t,r){var n=this.getData(r),i=this.getRawValue(t,r),a=n.getRawIndex(t),o=n.getName(t),s=n.getRawDataItem(t),u=n.getItemVisual(t,"style"),l=u&&u[n.getItemVisual(t,"drawType")||"fill"],f=u&&u.stroke,h=this.mainType,v=h==="series",c=n.userOutput&&n.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:v?this.subType:null,seriesIndex:this.seriesIndex,seriesId:v?this.id:null,seriesName:v?this.name:null,name:o,dataIndex:a,data:s,dataType:r,value:i,color:l,borderColor:f,dimensionNames:c?c.fullDimensions:null,encode:c?c.encode:null,$vars:["seriesName","name","value"]}},e.prototype.getFormattedLabel=function(t,r,n,i,a,o){r=r||"normal";var s=this.getData(n),u=this.getDataParams(t,n);if(o&&(u.value=o.interpolatedValue),i!=null&&I(u.value)&&(u.value=u.value[i]),!a){var l=s.getItemModel(t);a=l.get(r==="normal"?["label","formatter"]:[r,"label","formatter"])}if(j(a))return u.status=r,u.dimensionIndex=i,a(u);if(V(a)){var f=Av(a,u);return f.replace($m,function(h,v){var c=v.length,p=v;p.charAt(0)==="["&&p.charAt(c-1)==="]"&&(p=+p.slice(1,c-1),process.env.NODE_ENV!=="production"&&isNaN(p)&&ve("Invalide label formatter: @"+v+", only support @[0], @[1], @[2], ..."));var y=si(s,t,p);if(o&&I(o.interpolatedValue)){var d=s.getDimensionIndex(p);d>=0&&(y=o.interpolatedValue[d])}return y!=null?y+"":""})}},e.prototype.getRawValue=function(t,r){return si(this.getData(r),t)},e.prototype.formatTooltip=function(t,r,n){},e})();function Zm(e){var t,r;return O(e)?e.type?r=e:process.env.NODE_ENV!=="production"&&console.warn("The return type of `formatTooltip` is not supported: "+ti(e)):t=e,{text:t,frag:r}}function qn(e){return new Km(e)}var Km=(function(){function e(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return e.prototype.perform=function(t){var r=this._upstream,n=t&&t.skip;if(this._dirty&&r){var i=this.context;i.data=i.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var a;this._plan&&!n&&(a=this._plan(this.context));var o=f(this._modBy),s=this._modDataCount||0,u=f(t&&t.modBy),l=t&&t.modDataCount||0;(o!==u||s!==l)&&(a="reset");function f(_){return!(_>=1)&&(_=1),_}var h;(this._dirty||a==="reset")&&(this._dirty=!1,h=this._doReset(n)),this._modBy=u,this._modDataCount=l;var v=t&&t.step;if(r?(process.env.NODE_ENV!=="production"&&k(r._outputDueEnd!=null),this._dueEnd=r._outputDueEnd):(process.env.NODE_ENV!=="production"&&k(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var c=this._dueIndex,p=Math.min(v!=null?this._dueIndex+v:1/0,this._dueEnd);if(!n&&(h||c<p)){var y=this._progress;if(I(y))for(var d=0;d<y.length;d++)this._doProgress(y[d],c,p,u,l);else this._doProgress(y,c,p,u,l)}this._dueIndex=p;var g=this._settedOutputEnd!=null?this._settedOutputEnd:p;process.env.NODE_ENV!=="production"&&k(g>=this._outputDueEnd),this._outputDueEnd=g}else this._dueIndex=this._outputDueEnd=this._settedOutputEnd!=null?this._settedOutputEnd:this._dueEnd;return this.unfinished()},e.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},e.prototype._doProgress=function(t,r,n,i,a){If.reset(r,n,i,a),this._callingProgress=t,this._callingProgress({start:r,end:n,count:n-r,next:If.next},this.context)},e.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null;var r,n;!t&&this._reset&&(r=this._reset(this.context),r&&r.progress&&(n=r.forceFirstProgress,r=r.progress),I(r)&&!r.length&&(r=null)),this._progress=r,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},e.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},e.prototype.pipe=function(t){process.env.NODE_ENV!=="production"&&k(t&&!t._disposed&&t!==this),(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},e.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},e.prototype.getUpstream=function(){return this._upstream},e.prototype.getDownstream=function(){return this._downstream},e.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},e})(),If=(function(){var e,t,r,n,i,a={reset:function(u,l,f,h){t=u,e=l,r=f,n=h,i=Math.ceil(n/r),a.next=r>1&&n>0?s:o}};return a;function o(){return t<e?t++:null}function s(){var u=t%i*r+Math.ceil(t/i),l=t>=e?null:u<n?u:t;return t++,l}})();function $n(e,t){var r=t&&t.type;return r==="ordinal"?e:(r==="time"&&!ae(e)&&e!=null&&e!=="-"&&(e=+Yt(e)),e==null||e===""?NaN:Number(e))}var Qm=q({number:function(e){return parseFloat(e)},time:function(e){return+Yt(e)},trim:function(e){return V(e)?gt(e):e}});function Jm(e){return Qm.get(e)}var ep={lt:function(e,t){return e<t},lte:function(e,t){return e<=t},gt:function(e,t){return e>t},gte:function(e,t){return e>=t}},jm=(function(){function e(t,r){if(!ae(r)){var n="";process.env.NODE_ENV!=="production"&&(n='rvalue of "<", ">", "<=", ">=" can only be number in filter.'),Ce(n)}this._opFn=ep[t],this._rvalFloat=Pt(r)}return e.prototype.evaluate=function(t){return ae(t)?this._opFn(t,this._rvalFloat):this._opFn(Pt(t),this._rvalFloat)},e})(),tp=(function(){function e(t,r){var n=t==="desc";this._resultLT=n?1:-1,r==null&&(r=n?"min":"max"),this._incomparable=r==="min"?-1/0:1/0}return e.prototype.evaluate=function(t,r){var n=ae(t)?t:Pt(t),i=ae(r)?r:Pt(r),a=isNaN(n),o=isNaN(i);if(a&&(n=this._incomparable),o&&(i=this._incomparable),a&&o){var s=V(t),u=V(r);s&&(n=u?t:0),u&&(i=s?r:0)}return n<i?this._resultLT:n>i?-this._resultLT:0},e})(),e1=(function(){function e(t,r){this._rval=r,this._isEQ=t,this._rvalTypeof=typeof r,this._rvalFloat=Pt(r)}return e.prototype.evaluate=function(t){var r=t===this._rval;if(!r){var n=typeof t;n!==this._rvalTypeof&&(n==="number"||this._rvalTypeof==="number")&&(r=Pt(t)===this._rvalFloat)}return this._isEQ?r:!r},e})();function t1(e,t){return e==="eq"||e==="ne"?new e1(e==="eq",t):Gt(ep,e)?new jm(e,t):null}var r1=(function(){function e(){}return e.prototype.getRawData=function(){throw new Error("not supported")},e.prototype.getRawDataItem=function(t){throw new Error("not supported")},e.prototype.cloneRawData=function(){},e.prototype.getDimensionInfo=function(t){},e.prototype.cloneAllDimensionInfo=function(){},e.prototype.count=function(){},e.prototype.retrieveValue=function(t,r){},e.prototype.retrieveValueFromItem=function(t,r){},e.prototype.convertValue=function(t,r){return $n(t,r)},e})();function n1(e,t){var r=new r1,n=e.data,i=r.sourceFormat=e.sourceFormat,a=e.startIndex,o="";e.seriesLayoutBy!==_t&&(process.env.NODE_ENV!=="production"&&(o='`seriesLayoutBy` of upstream dataset can only be "column" in data transform.'),Ce(o));var s=[],u={},l=e.dimensionsDefine;if(l)D(l,function(y,d){var g=y.name,_={index:d,name:g,displayName:y.displayName};if(s.push(_),g!=null){var m="";Gt(u,g)&&(process.env.NODE_ENV!=="production"&&(m='dimension name "'+g+'" duplicated.'),Ce(m)),u[g]=_}});else for(var f=0;f<e.dimensionsDetectedCount;f++)s.push({index:f});var h=Kv(i,_t);t.__isBuiltIn&&(r.getRawDataItem=function(y){return h(n,a,s,y)},r.getRawData=at(i1,null,e)),r.cloneRawData=at(a1,null,e);var v=Qv(i,_t);r.count=at(v,null,n,a,s);var c=Jv(i);r.retrieveValue=function(y,d){var g=h(n,a,s,y);return p(g,d)};var p=r.retrieveValueFromItem=function(y,d){if(y!=null){var g=s[d];if(g)return c(y,d,g.name)}};return r.getDimensionInfo=at(o1,null,s,u),r.cloneAllDimensionInfo=at(s1,null,s),r}function i1(e){var t=e.sourceFormat;if(!Uu(t)){var r="";process.env.NODE_ENV!=="production"&&(r="`getRawData` is not supported in source format "+t),Ce(r)}return e.data}function a1(e){var t=e.sourceFormat,r=e.data;if(!Uu(t)){var n="";process.env.NODE_ENV!=="production"&&(n="`cloneRawData` is not supported in source format "+t),Ce(n)}if(t===Pe){for(var i=[],a=0,o=r.length;a<o;a++)i.push(r[a].slice());return i}else if(t===tt){for(var i=[],a=0,o=r.length;a<o;a++)i.push(N({},r[a]));return i}}function o1(e,t,r){if(r!=null){if(ae(r)||!isNaN(r)&&!Gt(t,r))return e[r];if(Gt(t,r))return t[r]}}function s1(e){return X(e)}var rp=q();function u1(e){e=X(e);var t=e.type,r="";t||(process.env.NODE_ENV!=="production"&&(r="Must have a `type` when `registerTransform`."),Ce(r));var n=t.split(":");n.length!==2&&(process.env.NODE_ENV!=="production"&&(r='Name must include namespace like "ns:regression".'),Ce(r));var i=!1;n[0]==="echarts"&&(t=n[1],i=!0),e.__isBuiltIn=i,rp.set(t,e)}function l1(e,t,r){var n=me(e),i=n.length,a="";i||(process.env.NODE_ENV!=="production"&&(a="If `transform` declared, it should at least contain one transform."),Ce(a));for(var o=0,s=i;o<s;o++){var u=n[o];t=f1(u,t,r,i===1?null:o),o!==s-1&&(t.length=Math.max(t.length,1))}return t}function f1(e,t,r,n){var i="";t.length||(process.env.NODE_ENV!=="production"&&(i="Must have at least one upstream dataset."),Ce(i)),O(e)||(process.env.NODE_ENV!=="production"&&(i="transform declaration must be an object rather than "+typeof e+"."),Ce(i));var a=e.type,o=rp.get(a);o||(process.env.NODE_ENV!=="production"&&(i='Can not find transform on type "'+a+'".'),Ce(i));var s=Y(t,function(f){return n1(f,o)}),u=me(o.transform({upstream:s[0],upstreamList:s,config:X(e.config)}));if(process.env.NODE_ENV!=="production"&&e.print){var l=Y(u,function(f){var h=n!=null?" === pipe index: "+n:"";return["=== dataset index: "+r.datasetIndex+h+" ===","- transform result data:",ti(f.data),"- transform result dimensions:",ti(f.dimensions)].join(`
14
+ `)}).join(`
15
+ `);o0(l)}return Y(u,function(f,h){var v="";O(f)||(process.env.NODE_ENV!=="production"&&(v="A transform should not return some empty results."),Ce(v)),f.data||(process.env.NODE_ENV!=="production"&&(v="Transform result data should be not be null or undefined"),Ce(v));var c=qv(f.data);Uu(c)||(process.env.NODE_ENV!=="production"&&(v="Transform result data should be array rows or object rows."),Ce(v));var p,y=t[0];if(y&&h===0&&!f.dimensions){var d=y.startIndex;d&&(f.data=y.data.slice(0,d).concat(f.data)),p={seriesLayoutBy:_t,sourceHeader:d,dimensions:y.metaRawOption.dimensions}}else p={seriesLayoutBy:_t,sourceHeader:0,dimensions:f.dimensions};return Gs(f.data,p,null)})}function Uu(e){return e===Pe||e===tt}var to="undefined",h1=typeof Uint32Array===to?Array:Uint32Array,c1=typeof Uint16Array===to?Array:Uint16Array,np=typeof Int32Array===to?Array:Int32Array,Of=typeof Float64Array===to?Array:Float64Array,ip={float:Of,int:np,ordinal:Array,number:Array,time:Of},Ko;function Ur(e){return e>65535?h1:c1}function Gr(){return[1/0,-1/0]}function v1(e){var t=e.constructor;return t===Array?e.slice():new t(e)}function Ff(e,t,r,n,i){var a=ip[r||"float"];if(i){var o=e[t],s=o&&o.length;if(s!==n){for(var u=new a(n),l=0;l<s;l++)u[l]=o[l];e[t]=u}}else e[t]=new a(n)}var ap=(function(){function e(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=q()}return e.prototype.initData=function(t,r,n){process.env.NODE_ENV!=="production"&&k(j(t.getItem)&&j(t.count),"Invalid data provider."),this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var i=t.getSource(),a=this.defaultDimValueGetter=Ko[i.sourceFormat];this._dimValueGetter=n||a,this._rawExtent=[];var o=$v(i);this._dimensions=Y(r,function(s){return process.env.NODE_ENV!=="production"&&o&&k(s.property!=null),{type:s.type,property:s.property}}),this._initDataFromProvider(0,t.count())},e.prototype.getProvider=function(){return this._provider},e.prototype.getSource=function(){return this._provider.getSource()},e.prototype.ensureCalculationDimension=function(t,r){var n=this._calcDimNameToIdx,i=this._dimensions,a=n.get(t);if(a!=null){if(i[a].type===r)return a}else a=i.length;return i[a]={type:r},n.set(t,a),this._chunks[a]=new ip[r||"float"](this._rawCount),this._rawExtent[a]=Gr(),a},e.prototype.collectOrdinalMeta=function(t,r){var n=this._chunks[t],i=this._dimensions[t],a=this._rawExtent,o=i.ordinalOffset||0,s=n.length;o===0&&(a[t]=Gr());for(var u=a[t],l=o;l<s;l++){var f=n[l]=r.parseAndCollect(n[l]);isNaN(f)||(u[0]=Math.min(f,u[0]),u[1]=Math.max(f,u[1]))}i.ordinalMeta=r,i.ordinalOffset=s,i.type="ordinal"},e.prototype.getOrdinalMeta=function(t){var r=this._dimensions[t],n=r.ordinalMeta;return n},e.prototype.getDimensionProperty=function(t){var r=this._dimensions[t];return r&&r.property},e.prototype.appendData=function(t){process.env.NODE_ENV!=="production"&&k(!this._indices,"appendData can only be called on raw data.");var r=this._provider,n=this.count();r.appendData(t);var i=r.count();return r.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},e.prototype.appendValues=function(t,r){for(var n=this._chunks,i=this._dimensions,a=i.length,o=this._rawExtent,s=this.count(),u=s+Math.max(t.length,r||0),l=0;l<a;l++){var f=i[l];Ff(n,l,f.type,u,!0)}for(var h=[],v=s;v<u;v++)for(var c=v-s,p=0;p<a;p++){var f=i[p],y=Ko.arrayRows.call(this,t[c]||h,f.property,c,p);n[p][v]=y;var d=o[p];y<d[0]&&(d[0]=y),y>d[1]&&(d[1]=y)}return this._rawCount=this._count=u,{start:s,end:u}},e.prototype._initDataFromProvider=function(t,r,n){for(var i=this._provider,a=this._chunks,o=this._dimensions,s=o.length,u=this._rawExtent,l=Y(o,function(_){return _.property}),f=0;f<s;f++){var h=o[f];u[f]||(u[f]=Gr()),Ff(a,f,h.type,r,n)}if(i.fillStorage)i.fillStorage(t,r,a,u);else for(var v=[],c=t;c<r;c++){v=i.getItem(c,v);for(var p=0;p<s;p++){var y=a[p],d=this._dimValueGetter(v,l[p],c,p);y[c]=d;var g=u[p];d<g[0]&&(g[0]=d),d>g[1]&&(g[1]=d)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=r,this._extent=[]},e.prototype.count=function(){return this._count},e.prototype.get=function(t,r){if(!(r>=0&&r<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(r)]:NaN},e.prototype.getValues=function(t,r){var n=[],i=[];if(r==null){r=t,t=[];for(var a=0;a<this._dimensions.length;a++)i.push(a)}else i=t;for(var a=0,o=i.length;a<o;a++)n.push(this.get(i[a],r));return n},e.prototype.getByRawIndex=function(t,r){if(!(r>=0&&r<this._rawCount))return NaN;var n=this._chunks[t];return n?n[r]:NaN},e.prototype.getSum=function(t){var r=this._chunks[t],n=0;if(r)for(var i=0,a=this.count();i<a;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},e.prototype.getMedian=function(t){var r=[];this.each([t],function(a){isNaN(a)||r.push(a)});var n=r.sort(function(a,o){return a-o}),i=this.count();return i===0?0:i%2===1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},e.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var r=this._indices,n=r[t];if(n!=null&&n<this._count&&n===t)return t;for(var i=0,a=this._count-1;i<=a;){var o=(i+a)/2|0;if(r[o]<t)i=o+1;else if(r[o]>t)a=o-1;else return o}return-1},e.prototype.indicesOfNearest=function(t,r,n){var i=this._chunks,a=i[t],o=[];if(!a)return o;n==null&&(n=1/0);for(var s=1/0,u=-1,l=0,f=0,h=this.count();f<h;f++){var v=this.getRawIndex(f),c=r-a[v],p=Math.abs(c);p<=n&&((p<s||p===s&&c>=0&&u<0)&&(s=p,u=c,l=0),c===u&&(o[l++]=f))}return o.length=l,o},e.prototype.getIndices=function(){var t,r=this._indices;if(r){var n=r.constructor,i=this._count;if(n===Array){t=new n(i);for(var a=0;a<i;a++)t[a]=r[a]}else t=new n(r.buffer,0,i)}else{var n=Ur(this._rawCount);t=new n(this.count());for(var a=0;a<t.length;a++)t[a]=a}return t},e.prototype.filter=function(t,r){if(!this._count)return this;for(var n=this.clone(),i=n.count(),a=Ur(n._rawCount),o=new a(i),s=[],u=t.length,l=0,f=t[0],h=n._chunks,v=0;v<i;v++){var c=void 0,p=n.getRawIndex(v);if(u===0)c=r(v);else if(u===1){var y=h[f][p];c=r(y,v)}else{for(var d=0;d<u;d++)s[d]=h[t[d]][p];s[d]=v,c=r.apply(null,s)}c&&(o[l++]=p)}return l<i&&(n._indices=o),n._count=l,n._extent=[],n._updateGetRawIdx(),n},e.prototype.selectRange=function(t){var r=this.clone(),n=r._count;if(!n)return this;var i=ie(t),a=i.length;if(!a)return this;var o=r.count(),s=Ur(r._rawCount),u=new s(o),l=0,f=i[0],h=t[f][0],v=t[f][1],c=r._chunks,p=!1;if(!r._indices){var y=0;if(a===1){for(var d=c[i[0]],g=0;g<n;g++){var _=d[g];(_>=h&&_<=v||isNaN(_))&&(u[l++]=y),y++}p=!0}else if(a===2){for(var d=c[i[0]],m=c[i[1]],S=t[i[1]][0],T=t[i[1]][1],g=0;g<n;g++){var _=d[g],w=m[g];(_>=h&&_<=v||isNaN(_))&&(w>=S&&w<=T||isNaN(w))&&(u[l++]=y),y++}p=!0}}if(!p)if(a===1)for(var g=0;g<o;g++){var b=r.getRawIndex(g),_=c[i[0]][b];(_>=h&&_<=v||isNaN(_))&&(u[l++]=b)}else for(var g=0;g<o;g++){for(var C=!0,b=r.getRawIndex(g),E=0;E<a;E++){var P=i[E],_=c[P][b];(_<t[P][0]||_>t[P][1])&&(C=!1)}C&&(u[l++]=r.getRawIndex(g))}return l<o&&(r._indices=u),r._count=l,r._extent=[],r._updateGetRawIdx(),r},e.prototype.map=function(t,r){var n=this.clone(t);return this._updateDims(n,t,r),n},e.prototype.modify=function(t,r){this._updateDims(this,t,r)},e.prototype._updateDims=function(t,r,n){for(var i=t._chunks,a=[],o=r.length,s=t.count(),u=[],l=t._rawExtent,f=0;f<r.length;f++)l[r[f]]=Gr();for(var h=0;h<s;h++){for(var v=t.getRawIndex(h),c=0;c<o;c++)u[c]=i[r[c]][v];u[o]=h;var p=n&&n.apply(null,u);if(p!=null){typeof p!="object"&&(a[0]=p,p=a);for(var f=0;f<p.length;f++){var y=r[f],d=p[f],g=l[y],_=i[y];_&&(_[v]=d),d<g[0]&&(g[0]=d),d>g[1]&&(g[1]=d)}}}},e.prototype.lttbDownSample=function(t,r){var n=this.clone([t],!0),i=n._chunks,a=i[t],o=this.count(),s=0,u=Math.floor(1/r),l=this.getRawIndex(0),f,h,v,c=new(Ur(this._rawCount))(Math.min((Math.ceil(o/u)+2)*2,o));c[s++]=l;for(var p=1;p<o-1;p+=u){for(var y=Math.min(p+u,o-1),d=Math.min(p+u*2,o),g=(d+y)/2,_=0,m=y;m<d;m++){var S=this.getRawIndex(m),T=a[S];isNaN(T)||(_+=T)}_/=d-y;var w=p,b=Math.min(p+u,o),C=p-1,E=a[l];f=-1,v=w;for(var P=-1,M=0,m=w;m<b;m++){var S=this.getRawIndex(m),T=a[S];if(isNaN(T)){M++,P<0&&(P=S);continue}h=Math.abs((C-g)*(T-E)-(C-m)*(_-E)),h>f&&(f=h,v=S)}M>0&&M<b-w&&(c[s++]=Math.min(P,v),v=Math.max(P,v)),c[s++]=v,l=v}return c[s++]=this.getRawIndex(o-1),n._count=s,n._indices=c,n.getRawIndex=this._getRawIdx,n},e.prototype.minmaxDownSample=function(t,r){for(var n=this.clone([t],!0),i=n._chunks,a=Math.floor(1/r),o=i[t],s=this.count(),u=new(Ur(this._rawCount))(Math.ceil(s/a)*2),l=0,f=0;f<s;f+=a){var h=f,v=o[this.getRawIndex(h)],c=f,p=o[this.getRawIndex(c)],y=a;f+a>s&&(y=s-f);for(var d=0;d<y;d++){var g=this.getRawIndex(f+d),_=o[g];_<v&&(v=_,h=f+d),_>p&&(p=_,c=f+d)}var m=this.getRawIndex(h),S=this.getRawIndex(c);h<c?(u[l++]=m,u[l++]=S):(u[l++]=S,u[l++]=m)}return n._count=l,n._indices=u,n._updateGetRawIdx(),n},e.prototype.downSample=function(t,r,n,i){for(var a=this.clone([t],!0),o=a._chunks,s=[],u=Math.floor(1/r),l=o[t],f=this.count(),h=a._rawExtent[t]=Gr(),v=new(Ur(this._rawCount))(Math.ceil(f/u)),c=0,p=0;p<f;p+=u){u>f-p&&(u=f-p,s.length=u);for(var y=0;y<u;y++){var d=this.getRawIndex(p+y);s[y]=l[d]}var g=n(s),_=this.getRawIndex(Math.min(p+i(s,g)||0,f-1));l[_]=g,g<h[0]&&(h[0]=g),g>h[1]&&(h[1]=g),v[c++]=_}return a._count=c,a._indices=v,a._updateGetRawIdx(),a},e.prototype.each=function(t,r){if(this._count)for(var n=t.length,i=this._chunks,a=0,o=this.count();a<o;a++){var s=this.getRawIndex(a);switch(n){case 0:r(a);break;case 1:r(i[t[0]][s],a);break;case 2:r(i[t[0]][s],i[t[1]][s],a);break;default:for(var u=0,l=[];u<n;u++)l[u]=i[t[u]][s];l[u]=a,r.apply(null,l)}}},e.prototype.getDataExtent=function(t){var r=this._chunks[t],n=Gr();if(!r)return n;var i=this.count(),a=!this._indices,o;if(a)return this._rawExtent[t].slice();if(o=this._extent[t],o)return o.slice();o=n;for(var s=o[0],u=o[1],l=0;l<i;l++){var f=this.getRawIndex(l),h=r[f];h<s&&(s=h),h>u&&(u=h)}return o=[s,u],this._extent[t]=o,o},e.prototype.getRawDataItem=function(t){var r=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(r);for(var n=[],i=this._chunks,a=0;a<i.length;a++)n.push(i[a][r]);return n},e.prototype.clone=function(t,r){var n=new e,i=this._chunks,a=t&&Mt(t,function(s,u){return s[u]=!0,s},{});if(a)for(var o=0;o<i.length;o++)n._chunks[o]=a[o]?v1(i[o]):i[o];else n._chunks=i;return this._copyCommonProps(n),r||(n._indices=this._cloneIndices()),n._updateGetRawIdx(),n},e.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=X(this._extent),t._rawExtent=X(this._rawExtent)},e.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,r=void 0;if(t===Array){var n=this._indices.length;r=new t(n);for(var i=0;i<n;i++)r[i]=this._indices[i]}else r=new t(this._indices);return r}return null},e.prototype._getRawIdxIdentity=function(t){return t},e.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},e.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},e.internalField=(function(){function t(r,n,i,a){return $n(r[a],this._dimensions[a])}Ko={arrayRows:t,objectRows:function(r,n,i,a){return $n(r[n],this._dimensions[a])},keyedColumns:t,original:function(r,n,i,a){var o=r&&(r.value==null?r:r.value);return $n(o instanceof Array?o[a]:o,this._dimensions[a])},typedArray:function(r,n,i,a){return r[a]}}})(),e})(),op=(function(){function e(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return e.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},e.prototype._setLocalSource=function(t,r){this._sourceList=t,this._upstreamSignList=r,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},e.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},e.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},e.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,r=this._getUpstreamSourceManagers(),n=!!r.length,i,a;if(Dn(t)){var o=t,s=void 0,u=void 0,l=void 0;if(n){var f=r[0];f.prepareSource(),l=f.getSource(),s=l.data,u=l.sourceFormat,a=[f._getVersionSign()]}else s=o.get("data",!0),u=Me(s)?Et:wt,a=[];var h=this._getSourceMetaRawOption()||{},v=l&&l.metaRawOption||{},c=B(h.seriesLayoutBy,v.seriesLayoutBy)||null,p=B(h.sourceHeader,v.sourceHeader),y=B(h.dimensions,v.dimensions),d=c!==v.seriesLayoutBy||!!p!=!!v.sourceHeader||y;i=d?[Gs(s,{seriesLayoutBy:c,sourceHeader:p,dimensions:y},u)]:[]}else{var g=t;if(n){var _=this._applyTransform(r);i=_.sourceList,a=_.upstreamSignList}else{var m=g.get("source",!0);i=[Gs(m,this._getSourceMetaRawOption(),null)],a=[]}}process.env.NODE_ENV!=="production"&&k(i&&a),this._setLocalSource(i,a)},e.prototype._applyTransform=function(t){var r=this._sourceHost,n=r.get("transform",!0),i=r.get("fromTransformResult",!0);if(process.env.NODE_ENV!=="production"&&k(i!=null||n!=null),i!=null){var a="";t.length!==1&&(process.env.NODE_ENV!=="production"&&(a="When using `fromTransformResult`, there should be only one upstream dataset"),kf(a))}var o,s=[],u=[];return D(t,function(l){l.prepareSource();var f=l.getSource(i||0),h="";i!=null&&!f&&(process.env.NODE_ENV!=="production"&&(h="Can not retrieve result by `fromTransformResult`: "+i),kf(h)),s.push(f),u.push(l._getVersionSign())}),n?o=l1(n,s,{datasetIndex:r.componentIndex}):i!=null&&(o=[Um(s[0])]),{sourceList:o,upstreamSignList:u}},e.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),r=0;r<t.length;r++){var n=t[r];if(n._isDirty()||this._upstreamSignList[r]!==n._getVersionSign())return!0}},e.prototype.getSource=function(t){t=t||0;var r=this._sourceList[t];if(!r){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return r},e.prototype.getSharedDataStore=function(t){process.env.NODE_ENV!=="production"&&k(Dn(this._sourceHost),"Can only call getDataStore on series source manager.");var r=t.makeStoreSchema();return this._innerGetDataStore(r.dimensions,t.source,r.hash)},e.prototype._innerGetDataStore=function(t,r,n){var i=0,a=this._storeList,o=a[i];o||(o=a[i]={});var s=o[n];if(!s){var u=this._getUpstreamSourceManagers()[0];Dn(this._sourceHost)&&u?s=u._innerGetDataStore(t,r,n):(s=new ap,s.initData(new Zv(r,t.length),t)),o[n]=s}return s},e.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(Dn(t)){var r=Bu(t);return r?[r.getSourceManager()]:[]}else return Y(pm(t),function(n){return n.getSourceManager()})},e.prototype._getSourceMetaRawOption=function(){var t=this._sourceHost,r,n,i;if(Dn(t))r=t.get("seriesLayoutBy",!0),n=t.get("sourceHeader",!0),i=t.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var a=t;r=a.get("seriesLayoutBy",!0),n=a.get("sourceHeader",!0),i=a.get("dimensions",!0)}return{seriesLayoutBy:r,sourceHeader:n,dimensions:i}},e})();function p1(e){var t=e.option.transform;t&&ta(e.option.transform)}function Dn(e){return e.mainType==="series"}function kf(e){throw new Error(e)}var d1="line-height:1";function sp(e){var t=e.lineHeight;return t==null?d1:"line-height:"+Ne(t+"")+"px"}function up(e,t){var r=e.color||"#6e7079",n=e.fontSize||12,i=e.fontWeight||"400",a=e.color||"#464646",o=e.fontSize||14,s=e.fontWeight||"900";return t==="html"?{nameStyle:"font-size:"+Ne(n+"")+"px;color:"+Ne(r)+";font-weight:"+Ne(i+""),valueStyle:"font-size:"+Ne(o+"")+"px;color:"+Ne(a)+";font-weight:"+Ne(s+"")}:{nameStyle:{fontSize:n,fill:r,fontWeight:i},valueStyle:{fontSize:o,fill:a,fontWeight:s}}}var g1=[0,10,20,30],y1=["",`
16
+ `,`
17
+
18
+ `,`
19
+
20
+
21
+ `];function ca(e,t){return t.type=e,t}function Ys(e){return e.type==="section"}function lp(e){return Ys(e)?_1:m1}function fp(e){if(Ys(e)){var t=0,r=e.blocks.length,n=r>1||r>0&&!e.noHeader;return D(e.blocks,function(i){var a=fp(i);a>=t&&(t=a+ +(n&&(!a||Ys(i)&&!i.noHeader)))}),t}return 0}function _1(e,t,r,n){var i=t.noHeader,a=w1(fp(t)),o=[],s=t.blocks||[];k(!s||I(s)),s=s||[];var u=e.orderMode;if(t.sortBlocks&&u){s=s.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(Gt(l,u)){var f=new tp(l[u],null);s.sort(function(y,d){return f.evaluate(y.sortParam,d.sortParam)})}else u==="seriesDesc"&&s.reverse()}D(s,function(y,d){var g=t.valueFormatter,_=lp(y)(g?N(N({},e),{valueFormatter:g}):e,y,d>0?a.html:0,n);_!=null&&o.push(_)});var h=e.renderMode==="richText"?o.join(a.richText):Ws(n,o.join(""),i?r:a.html);if(i)return h;var v=Hs(t.header,"ordinal",e.useUTC),c=up(n,e.renderMode).nameStyle,p=sp(n);return e.renderMode==="richText"?hp(e,v,c)+a.richText+h:Ws(n,'<div style="'+c+";"+p+';">'+Ne(v)+"</div>"+h,r)}function m1(e,t,r,n){var i=e.renderMode,a=t.noName,o=t.noValue,s=!t.markerType,u=t.name,l=e.useUTC,f=t.valueFormatter||e.valueFormatter||function(S){return S=I(S)?S:[S],Y(S,function(T,w){return Hs(T,I(c)?c[w]:c,l)})};if(!(a&&o)){var h=s?"":e.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",i),v=a?"":Hs(u,"ordinal",l),c=t.valueType,p=o?[]:f(t.value,t.dataIndex),y=!s||!a,d=!s&&a,g=up(n,i),_=g.nameStyle,m=g.valueStyle;return i==="richText"?(s?"":h)+(a?"":hp(e,v,_))+(o?"":C1(e,p,y,d,m)):Ws(n,(s?"":h)+(a?"":T1(v,!s,_))+(o?"":b1(p,y,d,m)),r)}}function S1(e,t,r,n,i,a){if(e){var o=lp(e),s={useUTC:i,renderMode:r,orderMode:n,markupStyleCreator:t,valueFormatter:e.valueFormatter};return o(s,e,0,a)}}function w1(e){return{html:g1[e],richText:y1[e]}}function Ws(e,t,r){var n='<div style="clear:both"></div>',i="margin: "+r+"px 0 0",a=sp(e);return'<div style="'+i+";"+a+';">'+t+n+"</div>"}function T1(e,t,r){var n=t?"margin-left:2px":"";return'<span style="'+r+";"+n+'">'+Ne(e)+"</span>"}function b1(e,t,r,n){var i=r?"10px":"20px",a=t?"float:right;margin-left:"+i:"";return e=I(e)?e:[e],'<span style="'+a+";"+n+'">'+Y(e,function(o){return Ne(o)}).join("&nbsp;&nbsp;")+"</span>"}function hp(e,t,r){return e.markupStyleCreator.wrapRichTextStyle(t,r)}function C1(e,t,r,n,i){var a=[i],o=n?10:20;return r&&a.push({padding:[0,0,0,o],align:"right"}),e.markupStyleCreator.wrapRichTextStyle(I(t)?t.join(" "):t,a)}function cp(e,t){var r=e.getData().getItemVisual(t,"style"),n=r[e.visualDrawType];return xv(n)}function D1(e,t){var r=e.get("padding");return r!=null?r:t==="richText"?[8,10]:10}var E1=(function(){function e(){this.richTextStyles={},this._nextStyleNameId=oc()}return e.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},e.prototype.makeTooltipMarker=function(t,r,n){var i=n==="richText"?this._generateStyleName():null,a=Nv({color:r,type:t,renderMode:n,markerId:i});return V(a)?a:(process.env.NODE_ENV!=="production"&&k(i),this.richTextStyles[i]=a.style,a.content)},e.prototype.wrapRichTextStyle=function(t,r){var n={};I(r)?D(r,function(a){return N(n,a)}):N(n,r);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},e})();function vp(e){var t=e.series,r=e.dataIndex,n=e.multipleSeries,i=t.getData(),a=i.mapDimensionsAll("defaultedTooltip"),o=a.length,s=t.getRawValue(r),u=I(s),l=cp(t,r),f,h,v,c;if(o>1||u&&!o){var p=M1(s,t,r,a,l);f=p.inlineValues,h=p.inlineValueTypes,v=p.blocks,c=p.inlineValues[0]}else if(o){var y=i.getDimensionInfo(a[0]);c=f=si(i,r,a[0]),h=y.type}else c=f=u?s[0]:s;var d=du(t),g=d&&t.name||"",_=i.getName(r),m=n?g:_;return ca("section",{header:g,noHeader:n||!d,sortParam:c,blocks:[ca("nameValue",{markerType:"item",markerColor:l,name:m,noName:!gt(m),value:f,valueType:h,dataIndex:r})].concat(v||[])})}function M1(e,t,r,n,i){var a=t.getData(),o=Mt(e,function(h,v,c){var p=a.getDimensionInfo(c);return h=h||p&&p.tooltip!==!1&&p.displayName!=null},!1),s=[],u=[],l=[];n.length?D(n,function(h){f(si(a,r,h),h)}):D(e,f);function f(h,v){var c=a.getDimensionInfo(v);!c||c.otherDims.tooltip===!1||(o?l.push(ca("nameValue",{markerType:"subItem",markerColor:i,name:c.displayName,value:h,valueType:c.type})):(s.push(h),u.push(c.type)))}return{inlineValues:s,inlineValueTypes:u,blocks:l}}var Ot=Fe();function ki(e,t){return e.getName(t)||e.getId(t)}var pp="__universalTransitionEnabled",sn=(function(e){z(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return t.prototype.init=function(r,n,i){this.seriesIndex=this.componentIndex,this.dataTask=qn({count:R1,reset:A1}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,i);var a=Ot(this).sourceManager=new op(this);a.prepareSource();var o=this.getInitialData(r,i);Vf(o,this),this.dataTask.context.data=o,process.env.NODE_ENV!=="production"&&k(o,"getInitialData returned invalid data."),Ot(this).dataBeforeProcessed=o,Bf(this),this._initSelectedMapFromData(o)},t.prototype.mergeDefaultAndTheme=function(r,n){var i=ii(this),a=i?ku(r):{},o=this.subType;J.hasClass(o)&&(o+="Series"),se(r,n.getTheme().get(this.subType)),se(r,this.getDefaultOption()),Ps(r,"label",["show"]),this.fillDataTextStyle(r.data),i&&ai(r,a,i)},t.prototype.mergeOption=function(r,n){r=se(this.option,r,!0),this.fillDataTextStyle(r.data);var i=ii(this);i&&ai(this.option,r,i);var a=Ot(this).sourceManager;a.dirty(),a.prepareSource();var o=this.getInitialData(r,n);Vf(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,Ot(this).dataBeforeProcessed=o,Bf(this),this._initSelectedMapFromData(o)},t.prototype.fillDataTextStyle=function(r){if(r&&!Me(r))for(var n=["show"],i=0;i<r.length;i++)r[i]&&r[i].label&&Ps(r[i],"label",n)},t.prototype.getInitialData=function(r,n){},t.prototype.appendData=function(r){var n=this.getRawData();n.appendData(r.data)},t.prototype.getData=function(r){var n=Xs(this);if(n){var i=n.context.data;return r==null||!i.getLinkedData?i:i.getLinkedData(r)}else return Ot(this).data},t.prototype.getAllData=function(){var r=this.getData();return r&&r.getLinkedDataAll?r.getLinkedDataAll():[{data:r}]},t.prototype.setData=function(r){var n=Xs(this);if(n){var i=n.context;i.outputData=r,n!==this.dataTask&&(i.data=r)}Ot(this).data=r},t.prototype.getEncode=function(){var r=this.get("encode",!0);if(r)return q(r)},t.prototype.getSourceManager=function(){return Ot(this).sourceManager},t.prototype.getSource=function(){return this.getSourceManager().getSource()},t.prototype.getRawData=function(){return Ot(this).dataBeforeProcessed},t.prototype.getColorBy=function(){var r=this.get("colorBy");return r||"series"},t.prototype.isColorBySeries=function(){return this.getColorBy()==="series"},t.prototype.getBaseAxis=function(){var r=this.coordinateSystem;return r&&r.getBaseAxis&&r.getBaseAxis()},t.prototype.formatTooltip=function(r,n,i){return vp({series:this,dataIndex:r,multipleSeries:n})},t.prototype.isAnimationEnabled=function(){var r=this.ecModel;if(G.node&&!(r&&r.ssr))return!1;var n=this.getShallow("animation");return n&&this.getData().count()>this.getShallow("animationThreshold")&&(n=!1),!!n},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(r,n,i){var a=this.ecModel,o=Vu.prototype.getColorFromPalette.call(this,r,n,i);return o||(o=a.getColorFromPalette(r,n,i)),o},t.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(r,n){this._innerSelect(this.getData(n),r)},t.prototype.unselect=function(r,n){var i=this.option.selectedMap;if(i){var a=this.option.selectedMode,o=this.getData(n);if(a==="series"||i==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var s=0;s<r.length;s++){var u=r[s],l=ki(o,u);i[l]=!1,this._selectedDataIndicesMap[l]=-1}}},t.prototype.toggleSelect=function(r,n){for(var i=[],a=0;a<r.length;a++)i[0]=r[a],this.isSelected(r[a],n)?this.unselect(i,n):this.select(i,n)},t.prototype.getSelectedDataIndices=function(){if(this.option.selectedMap==="all")return[].slice.call(this.getData().getIndices());for(var r=this._selectedDataIndicesMap,n=ie(r),i=[],a=0;a<n.length;a++){var o=r[n[a]];o>=0&&i.push(o)}return i},t.prototype.isSelected=function(r,n){var i=this.option.selectedMap;if(!i)return!1;var a=this.getData(n);return(i==="all"||i[ki(a,r)])&&!a.getItemModel(r).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[pp])return!0;var r=this.option.universalTransition;return r?r===!0?!0:r&&r.enabled:!1},t.prototype._innerSelect=function(r,n){var i,a,o=this.option,s=o.selectedMode,u=n.length;if(!(!s||!u)){if(s==="series")o.selectedMap="all";else if(s==="multiple"){O(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,f=0;f<u;f++){var h=n[f],v=ki(r,h);l[v]=!0,this._selectedDataIndicesMap[v]=r.getRawIndex(h)}}else if(s==="single"||s===!0){var c=n[u-1],v=ki(r,c);o.selectedMap=(i={},i[v]=!0,i),this._selectedDataIndicesMap=(a={},a[v]=r.getRawIndex(c),a)}}},t.prototype._initSelectedMapFromData=function(r){if(!this.option.selectedMap){var n=[];r.hasItemOption&&r.each(function(i){var a=r.getRawDataItem(i);a&&a.selected&&n.push(i)}),n.length>0&&this._innerSelect(r,n)}},t.registerClass=function(r){return J.registerClass(r)},t.protoInitialize=(function(){var r=t.prototype;r.type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",r.visualDrawType="fill"})(),t})(J);mt(sn,jv);mt(sn,Vu);dc(sn,J);function Bf(e){var t=e.name;du(e)||(e.name=P1(e)||t)}function P1(e){var t=e.getRawData(),r=t.mapDimensionsAll("seriesName"),n=[];return D(r,function(i){var a=t.getDimensionInfo(i);a.displayName&&n.push(a.displayName)}),n.join(" ")}function R1(e){return e.model.getRawData().count()}function A1(e){var t=e.model;return t.setData(t.getRawData().cloneShallow()),N1}function N1(e,t){t.outputData&&e.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function Vf(e,t){D(Dh(e.CHANGABLE_METHODS,e.DOWNSAMPLE_METHODS),function(r){e.wrapMethod(r,Ca(x1,t))})}function x1(e,t){var r=Xs(e);return r&&r.setOutputEnd((t||this).count()),t}function Xs(e){var t=(e.ecModel||{}).scheduler,r=t&&t.getPipeline(e.uid);if(r){var n=r.currentTask;if(n){var i=n.agentStubMap;i&&(n=i.get(e.uid))}return n}}var ro=(function(){function e(){this.group=new Nr,this.uid=gi("viewComponent")}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){},e.prototype.updateLayout=function(t,r,n,i){},e.prototype.updateVisual=function(t,r,n,i){},e.prototype.toggleBlurSeries=function(t,r,n){},e.prototype.eachRendered=function(t){var r=this.group;r&&r.traverse(t)},e})();yu(ro);La(ro);function dp(){var e=Fe();return function(t){var r=e(t),n=t.pipelineContext,i=!!r.large,a=!!r.progressiveRender,o=r.large=!!(n&&n.large),s=r.progressiveRender=!!(n&&n.progressiveRender);return(i!==o||a!==s)&&"reset"}}var gp=Fe(),L1=dp(),en=(function(){function e(){this.group=new Nr,this.uid=gi("viewChart"),this.renderTask=qn({plan:I1,reset:O1}),this.renderTask.context={view:this}}return e.prototype.init=function(t,r){},e.prototype.render=function(t,r,n,i){if(process.env.NODE_ENV!=="production")throw new Error("render method must been implemented")},e.prototype.highlight=function(t,r,n,i){var a=t.getData(i&&i.dataType);if(!a){process.env.NODE_ENV!=="production"&&ve("Unknown dataType "+i.dataType);return}Hf(a,i,"emphasis")},e.prototype.downplay=function(t,r,n,i){var a=t.getData(i&&i.dataType);if(!a){process.env.NODE_ENV!=="production"&&ve("Unknown dataType "+i.dataType);return}Hf(a,i,"normal")},e.prototype.remove=function(t,r){this.group.removeAll()},e.prototype.dispose=function(t,r){},e.prototype.updateView=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.updateLayout=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.updateVisual=function(t,r,n,i){this.render(t,r,n,i)},e.prototype.eachRendered=function(t){Au(this.group,t)},e.markUpdateMethod=function(t,r){gp(t).updateMethod=r},e.protoInitialize=(function(){var t=e.prototype;t.type="chart"})(),e})();function zf(e,t,r){e&&Rr(e)&&(t==="emphasis"?oa:sa)(e,r)}function Hf(e,t,r){var n=hi(e,t),i=t&&t.highlightKey!=null?ky(t.highlightKey):null;n!=null?D(me(n),function(a){zf(e.getItemGraphicEl(a),r,i)}):e.eachItemGraphicEl(function(a){zf(a,r,i)})}yu(en,["dispose"]);La(en);function I1(e){return L1(e.model)}function O1(e){var t=e.model,r=e.ecModel,n=e.api,i=e.payload,a=t.pipelineContext.progressiveRender,o=e.view,s=i&&gp(i).updateMethod,u=a?"incrementalPrepareRender":s&&o[s]?s:"render";return u!=="render"&&o[u](t,r,n,i),F1[u]}var F1={incrementalPrepareRender:{progress:function(e,t){t.view.incrementalRender(e,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(e,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}},va="\0__throttleOriginMethod",Uf="\0__throttleRate",Gf="\0__throttleType";function Gu(e,t,r){var n,i=0,a=0,o=null,s,u,l,f;t=t||0;function h(){a=new Date().getTime(),o=null,e.apply(u,l||[])}var v=function(){for(var c=[],p=0;p<arguments.length;p++)c[p]=arguments[p];n=new Date().getTime(),u=this,l=c;var y=f||t,d=f||r;f=null,s=n-(d?i:a)-y,clearTimeout(o),d?o=setTimeout(h,y):s>=0?h():o=setTimeout(h,-s),i=n};return v.clear=function(){o&&(clearTimeout(o),o=null)},v.debounceNextCall=function(c){f=c},v}function k1(e,t,r,n){var i=e[t];if(i){var a=i[va]||i,o=i[Gf],s=i[Uf];if(s!==r||o!==n){if(r==null||!n)return e[t]=a;i=e[t]=Gu(a,r,n==="debounce"),i[va]=a,i[Gf]=n,i[Uf]=r}return i}}function B1(e,t){var r=e[t];r&&r[va]&&(r.clear&&r.clear(),e[t]=r[va])}var Yf=Fe(),Wf={itemStyle:on(_v,!0),lineStyle:on(yv,!0)},V1={lineStyle:"stroke",itemStyle:"fill"};function yp(e,t){var r=e.visualStyleMapper||Wf[t];return r||(console.warn("Unknown style type '"+t+"'."),Wf.itemStyle)}function _p(e,t){var r=e.visualDrawType||V1[t];return r||(console.warn("Unknown style type '"+t+"'."),"fill")}var z1={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=e.getModel(n),a=yp(e,n),o=a(i),s=i.getShallow("decal");s&&(r.setVisual("decal",s),s.dirty=!0);var u=_p(e,n),l=o[u],f=j(l)?l:null,h=o.fill==="auto"||o.stroke==="auto";if(!o[u]||f||h){var v=e.getColorFromPalette(e.name,null,t.getSeriesCount());o[u]||(o[u]=v,r.setVisual("colorFromPalette",!0)),o.fill=o.fill==="auto"||j(o.fill)?v:o.fill,o.stroke=o.stroke==="auto"||j(o.stroke)?v:o.stroke}if(r.setVisual("style",o),r.setVisual("drawType",u),!t.isSeriesFiltered(e)&&f)return r.setVisual("colorFromPalette",!1),{dataEach:function(c,p){var y=e.getDataParams(p),d=N({},o);d[u]=f(y),c.setItemVisual(p,"style",d)}}}},En=new Ee,H1={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!(e.ignoreStyleOnData||t.isSeriesFiltered(e))){var r=e.getData(),n=e.visualStyleAccessPath||"itemStyle",i=yp(e,n),a=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(o,s){var u=o.getRawDataItem(s);if(u&&u[n]){En.option=u[n];var l=i(En),f=o.ensureUniqueItemVisual(s,"style");N(f,l),En.option.decal&&(o.setItemVisual(s,"decal",En.option.decal),En.option.decal.dirty=!0),a in l&&o.setItemVisual(s,"colorFromPalette",!1)}}:null}}}},U1={performRawSeries:!0,overallReset:function(e){var t=q();e.eachSeries(function(r){var n=r.getColorBy();if(!r.isColorBySeries()){var i=r.type+"-"+n,a=t.get(i);a||(a={},t.set(i,a)),Yf(r).scope=a}}),e.eachSeries(function(r){if(!(r.isColorBySeries()||e.isSeriesFiltered(r))){var n=r.getRawData(),i={},a=r.getData(),o=Yf(r).scope,s=r.visualStyleAccessPath||"itemStyle",u=_p(r,s);a.each(function(l){var f=a.getRawIndex(l);i[f]=l}),n.each(function(l){var f=i[l],h=a.getItemVisual(f,"colorFromPalette");if(h){var v=a.ensureUniqueItemVisual(f,"style"),c=n.getName(l)||l+"",p=n.count();v[u]=r.getColorFromPalette(c,o,p)}})}})}},Bi=Math.PI;function G1(e,t){t=t||{},pe(t,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var r=new Nr,n=new ut({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});r.add(n);var i=new Pr({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),a=new ut({style:{fill:"none"},textContent:i,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});r.add(a);var o;return t.showSpinner&&(o=new Ya({shape:{startAngle:-Bi/2,endAngle:-Bi/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),o.animateShape(!0).when(1e3,{endAngle:Bi*3/2}).start("circularInOut"),o.animateShape(!0).when(1e3,{startAngle:Bi*3/2}).delay(300).start("circularInOut"),r.add(o)),r.resize=function(){var s=i.getBoundingRect().width,u=t.showSpinner?t.spinnerRadius:0,l=(e.getWidth()-u*2-(t.showSpinner&&s?10:0)-s)/2-(t.showSpinner&&s?0:5+s/2)+(t.showSpinner?0:s/2)+(s?0:u),f=e.getHeight()/2;t.showSpinner&&o.setShape({cx:l,cy:f}),a.setShape({x:l-u,y:f-u,width:u*2,height:u*2}),n.setShape({x:0,y:0,width:e.getWidth(),height:e.getHeight()})},r.resize(),r}var mp=(function(){function e(t,r,n,i){this._stageTaskMap=q(),this.ecInstance=t,this.api=r,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return e.prototype.restoreData=function(t,r){t.restoreData(r),this._stageTaskMap.each(function(n){var i=n.overallTask;i&&i.dirty()})},e.prototype.getPerformArgs=function(t,r){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,a=!r&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=a?n.step:null,s=i&&i.modDataCount,u=s!=null?Math.ceil(s/o):null;return{step:o,modBy:u,modDataCount:s}}},e.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},e.prototype.updateStreamModes=function(t,r){var n=this._pipelineMap.get(t.uid),i=t.getData(),a=i.count(),o=n.progressiveEnabled&&r.incrementalPrepareRender&&a>=n.threshold,s=t.get("large")&&a>=t.get("largeThreshold"),u=t.get("progressiveChunkMode")==="mod"?a:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:u,large:s}},e.prototype.restorePipelines=function(t){var r=this,n=r._pipelineMap=q();t.eachSeries(function(i){var a=i.getProgressive(),o=i.uid;n.set(o,{id:o,head:null,tail:null,threshold:i.getProgressiveThreshold(),progressiveEnabled:a&&!(i.preventIncremental&&i.preventIncremental()),blockIndex:-1,step:Math.round(a||700),count:0}),r._pipe(i,i.dataTask)})},e.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,r=this.api.getModel(),n=this.api;D(this._allHandlers,function(i){var a=t.get(i.uid)||t.set(i.uid,{}),o="";process.env.NODE_ENV!=="production"&&(o='"reset" and "overallReset" must not be both specified.'),k(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,a,r,n),i.overallReset&&this._createOverallStageTask(i,a,r,n)},this)},e.prototype.prepareView=function(t,r,n,i){var a=t.renderTask,o=a.context;o.model=r,o.ecModel=n,o.api=i,a.__block=!t.incrementalPrepareRender,this._pipe(r,a)},e.prototype.performDataProcessorTasks=function(t,r){this._performStageTasks(this._dataProcessorHandlers,t,r,{block:!0})},e.prototype.performVisualTasks=function(t,r,n){this._performStageTasks(this._visualHandlers,t,r,n)},e.prototype._performStageTasks=function(t,r,n,i){i=i||{};var a=!1,o=this;D(t,function(u,l){if(!(i.visualType&&i.visualType!==u.visualType)){var f=o._stageTaskMap.get(u.uid),h=f.seriesTaskMap,v=f.overallTask;if(v){var c,p=v.agentStubMap;p.each(function(d){s(i,d)&&(d.dirty(),c=!0)}),c&&v.dirty(),o.updatePayload(v,n);var y=o.getPerformArgs(v,i.block);p.each(function(d){d.perform(y)}),v.perform(y)&&(a=!0)}else h&&h.each(function(d,g){s(i,d)&&d.dirty();var _=o.getPerformArgs(d,i.block);_.skip=!u.performRawSeries&&r.isSeriesFiltered(d.context.model),o.updatePayload(d,n),d.perform(_)&&(a=!0)})}});function s(u,l){return u.setDirty&&(!u.dirtyMap||u.dirtyMap.get(l.__pipeline.id))}this.unfinished=a||this.unfinished},e.prototype.performSeriesTasks=function(t){var r;t.eachSeries(function(n){r=n.dataTask.perform()||r}),this.unfinished=r||this.unfinished},e.prototype.plan=function(){this._pipelineMap.each(function(t){var r=t.tail;do{if(r.__block){t.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},e.prototype.updatePayload=function(t,r){r!=="remain"&&(t.context.payload=r)},e.prototype._createSeriesStageTask=function(t,r,n,i){var a=this,o=r.seriesTaskMap,s=r.seriesTaskMap=q(),u=t.seriesType,l=t.getTargetSeries;t.createOnAllSeries?n.eachRawSeries(f):u?n.eachRawSeriesByType(u,f):l&&l(n,i).each(f);function f(h){var v=h.uid,c=s.set(v,o&&o.get(v)||qn({plan:$1,reset:Z1,count:Q1}));c.context={model:h,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:a},a._pipe(h,c)}},e.prototype._createOverallStageTask=function(t,r,n,i){var a=this,o=r.overallTask=r.overallTask||qn({reset:Y1});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:a};var s=o.agentStubMap,u=o.agentStubMap=q(),l=t.seriesType,f=t.getTargetSeries,h=!0,v=!1,c="";process.env.NODE_ENV!=="production"&&(c='"createOnAllSeries" is not supported for "overallReset", because it will block all streams.'),k(!t.createOnAllSeries,c),l?n.eachRawSeriesByType(l,p):f?f(n,i).each(p):(h=!1,D(n.getSeries(),p));function p(y){var d=y.uid,g=u.set(d,s&&s.get(d)||(v=!0,qn({reset:W1,onDirty:q1})));g.context={model:y,overallProgress:h},g.agent=o,g.__block=h,a._pipe(y,g)}v&&o.dirty()},e.prototype._pipe=function(t,r){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=r),i.tail&&i.tail.pipe(r),i.tail=r,r.__idxInPipeline=i.count++,r.__pipeline=i},e.wrapStageHandler=function(t,r){return j(t)&&(t={overallReset:t,seriesType:J1(t)}),t.uid=gi("stageHandler"),r&&(t.visualType=r),t},e})();function Y1(e){e.overallReset(e.ecModel,e.api,e.payload)}function W1(e){return e.overallProgress&&X1}function X1(){this.agent.dirty(),this.getDownstream().dirty()}function q1(){this.agent&&this.agent.dirty()}function $1(e){return e.plan?e.plan(e.model,e.ecModel,e.api,e.payload):null}function Z1(e){e.useClearVisual&&e.data.clearAllVisual();var t=e.resetDefines=me(e.reset(e.model,e.ecModel,e.api,e.payload));return t.length>1?Y(t,function(r,n){return Sp(n)}):K1}var K1=Sp(0);function Sp(e){return function(t,r){var n=r.data,i=r.resetDefines[e];if(i&&i.dataEach)for(var a=t.start;a<t.end;a++)i.dataEach(n,a);else i&&i.progress&&i.progress(t,n)}}function Q1(e){return e.data.count()}function J1(e){pa=null;try{e(ui,wp)}catch(t){}return pa}var ui={},wp={},pa;Tp(ui,zu);Tp(wp,Uv);ui.eachSeriesByType=ui.eachRawSeriesByType=function(e){pa=e};ui.eachComponent=function(e){e.mainType==="series"&&e.subType&&(pa=e.subType)};function Tp(e,t){for(var r in t.prototype)e[r]=He}var Xf=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const j1={color:Xf,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],Xf]};var ye="#B9B8CE",qf="#100C2A",Vi=function(){return{axisLine:{lineStyle:{color:ye}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},$f=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],bp={darkMode:!0,color:$f,backgroundColor:qf,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:ye},pageTextStyle:{color:ye}},textStyle:{color:ye},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:ye}},dataZoom:{borderColor:"#71708A",textStyle:{color:ye},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:ye}},timeline:{lineStyle:{color:ye},label:{color:ye},controlStyle:{color:ye,borderColor:ye}},calendar:{itemStyle:{color:qf},dayLabel:{color:ye},monthLabel:{color:ye},yearLabel:{color:ye}},timeAxis:Vi(),logAxis:Vi(),valueAxis:Vi(),categoryAxis:Vi(),line:{symbol:"circle"},graph:{color:$f},gauge:{title:{color:ye},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:ye},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};bp.categoryAxis.splitLine.show=!1;var eS=(function(){function e(){}return e.prototype.normalizeQuery=function(t){var r={},n={},i={};if(V(t)){var a=yt(t);r.mainType=a.main||null,r.subType=a.sub||null}else{var o=["Index","Name","Id"],s={name:1,dataIndex:1,dataType:1};D(t,function(u,l){for(var f=!1,h=0;h<o.length;h++){var v=o[h],c=l.lastIndexOf(v);if(c>0&&c===l.length-v.length){var p=l.slice(0,c);p!=="data"&&(r.mainType=p,r[v.toLowerCase()]=u,f=!0)}}s.hasOwnProperty(l)&&(n[l]=u,f=!0),f||(i[l]=u)})}return{cptQuery:r,dataQuery:n,otherQuery:i}},e.prototype.filter=function(t,r){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,a=n.packedEvent,o=n.model,s=n.view;if(!o||!s)return!0;var u=r.cptQuery,l=r.dataQuery;return f(u,o,"mainType")&&f(u,o,"subType")&&f(u,o,"index","componentIndex")&&f(u,o,"name")&&f(u,o,"id")&&f(l,a,"name")&&f(l,a,"dataIndex")&&f(l,a,"dataType")&&(!s.filterForExposedEvent||s.filterForExposedEvent(t,r.otherQuery,i,a));function f(h,v,c,p){return h[c]==null||v[p||c]===h[c]}},e.prototype.afterTrigger=function(){this.eventInfo=null},e})(),qs=["symbol","symbolSize","symbolRotate","symbolOffset"],Zf=qs.concat(["symbolKeepAspect"]),tS={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){var r=e.getData();if(e.legendIcon&&r.setVisual("legendIcon",e.legendIcon),!e.hasSymbolVisual)return;for(var n={},i={},a=!1,o=0;o<qs.length;o++){var s=qs[o],u=e.get(s);j(u)?(a=!0,i[s]=u):n[s]=u}if(n.symbol=n.symbol||e.defaultSymbol,r.setVisual(N({legendIcon:e.legendIcon||n.symbol,symbolKeepAspect:e.get("symbolKeepAspect")},n)),t.isSeriesFiltered(e))return;var l=ie(i);function f(h,v){for(var c=e.getRawValue(v),p=e.getDataParams(v),y=0;y<l.length;y++){var d=l[y];h.setItemVisual(v,d,i[d](c,p))}}return{dataEach:a?f:null}}},rS={createOnAllSeries:!0,performRawSeries:!0,reset:function(e,t){if(!e.hasSymbolVisual||t.isSeriesFiltered(e))return;var r=e.getData();function n(i,a){for(var o=i.getItemModel(a),s=0;s<Zf.length;s++){var u=Zf[s],l=o.getShallow(u,!0);l!=null&&i.setItemVisual(a,u,l)}}return{dataEach:r.hasItemOption?n:null}}};function Cp(e,t,r){switch(r){case"color":var n=e.getItemVisual(t,"style");return n[e.getVisual("drawType")];case"opacity":return e.getItemVisual(t,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getItemVisual(t,r);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+r)}}function Dp(e,t){switch(t){case"color":var r=e.getVisual("style");return r[e.getVisual("drawType")];case"opacity":return e.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return e.getVisual(t);default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+t)}}function nS(e,t,r,n){switch(r){case"color":var i=e.ensureUniqueItemVisual(t,"style");i[e.getVisual("drawType")]=n,e.setItemVisual(t,"colorFromPalette",!1);break;case"opacity":e.ensureUniqueItemVisual(t,"style").opacity=n;break;case"symbol":case"symbolSize":case"liftZ":e.setItemVisual(t,r,n);break;default:process.env.NODE_ENV!=="production"&&console.warn("Unknown visual type "+r)}}function iS(e,t){function r(n,i){var a=[];return n.eachComponent({mainType:"series",subType:e,query:i},function(o){a.push(o.seriesIndex)}),a}D([[e+"ToggleSelect","toggleSelect"],[e+"Select","select"],[e+"UnSelect","unselect"]],function(n){t(n[0],function(i,a,o){i=N({},i),process.env.NODE_ENV!=="production"&&re(i.type,n[1]),o.dispatchAction(N(i,{type:n[1],seriesIndex:r(a,i)}))})})}function Yr(e,t,r,n,i){var a=e+t;r.isSilent(a)||(process.env.NODE_ENV!=="production"&&lt("event "+a+" is deprecated."),n.eachComponent({mainType:"series",subType:"pie"},function(o){for(var s=o.seriesIndex,u=o.option.selectedMap,l=i.selected,f=0;f<l.length;f++)if(l[f].seriesIndex===s){var h=o.getData(),v=hi(h,i.fromActionPayload);r.trigger(a,{type:a,seriesId:o.id,name:I(v)?h.getName(v[0]):h.getName(v),selected:V(u)?u:N({},u)})}}))}function aS(e,t,r){e.on("selectchanged",function(n){var i=r.getModel();n.isFromClick?(Yr("map","selectchanged",t,i,n),Yr("pie","selectchanged",t,i,n)):n.fromAction==="select"?(Yr("map","selected",t,i,n),Yr("pie","selected",t,i,n)):n.fromAction==="unselect"&&(Yr("map","unselected",t,i,n),Yr("pie","unselected",t,i,n))})}function kn(e,t,r){for(var n;e&&!(t(e)&&(n=e,r));)e=e.__hostTarget||e.parent;return n}var oS=Math.round(Math.random()*9),sS=typeof Object.defineProperty=="function",uS=(function(){function e(){this._id="__ec_inner_"+oS++}return e.prototype.get=function(t){return this._guard(t)[this._id]},e.prototype.set=function(t,r){var n=this._guard(t);return sS?Object.defineProperty(n,this._id,{value:r,enumerable:!1,configurable:!0}):n[this._id]=r,this},e.prototype.delete=function(t){return this.has(t)?(delete this._guard(t)[this._id],!0):!1},e.prototype.has=function(t){return!!this._guard(t)[this._id]},e.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},e})(),lS=K.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,n=t.cy,i=t.width/2,a=t.height/2;e.moveTo(r,n-a),e.lineTo(r+i,n+a),e.lineTo(r-i,n+a),e.closePath()}}),fS=K.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(e,t){var r=t.cx,n=t.cy,i=t.width/2,a=t.height/2;e.moveTo(r,n-a),e.lineTo(r+i,n),e.lineTo(r,n+a),e.lineTo(r-i,n),e.closePath()}}),hS=K.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=t.x,n=t.y,i=t.width/5*3,a=Math.max(i,t.height),o=i/2,s=o*o/(a-o),u=n-a+o+s,l=Math.asin(s/o),f=Math.cos(l)*o,h=Math.sin(l),v=Math.cos(l),c=o*.6,p=o*.7;e.moveTo(r-f,u+s),e.arc(r,u,o,Math.PI-l,Math.PI*2+l),e.bezierCurveTo(r+f-h*c,u+s+v*c,r,n-p,r,n),e.bezierCurveTo(r,n-p,r-f+h*c,u+s+v*c,r-f,u+s),e.closePath()}}),cS=K.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(e,t){var r=t.height,n=t.width,i=t.x,a=t.y,o=n/3*2;e.moveTo(i,a),e.lineTo(i+o,a+r),e.lineTo(i,a+r/4*3),e.lineTo(i-o,a+r),e.lineTo(i,a),e.closePath()}}),vS={line:di,rect:ut,roundRect:ut,square:ut,circle:pi,diamond:fS,pin:hS,arrow:cS,triangle:lS},pS={line:function(e,t,r,n,i){i.x1=e,i.y1=t+n/2,i.x2=e+r,i.y2=t+n/2},rect:function(e,t,r,n,i){i.x=e,i.y=t,i.width=r,i.height=n},roundRect:function(e,t,r,n,i){i.x=e,i.y=t,i.width=r,i.height=n,i.r=Math.min(r,n)/4},square:function(e,t,r,n,i){var a=Math.min(r,n);i.x=e,i.y=t,i.width=a,i.height=a},circle:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.r=Math.min(r,n)/2},diamond:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.width=r,i.height=n},pin:function(e,t,r,n,i){i.x=e+r/2,i.y=t+n/2,i.width=r,i.height=n},arrow:function(e,t,r,n,i){i.x=e+r/2,i.y=t+n/2,i.width=r,i.height=n},triangle:function(e,t,r,n,i){i.cx=e+r/2,i.cy=t+n/2,i.width=r,i.height=n}},da={};D(vS,function(e,t){da[t]=new e});var dS=K.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(e,t,r){var n=cu(e,t,r),i=this.shape;return i&&i.symbolType==="pin"&&t.position==="inside"&&(n.y=r.y+r.height*.4),n},buildPath:function(e,t,r){var n=t.symbolType;if(n!=="none"){var i=da[n];i||(n="rect",i=da[n]),pS[n](t.x,t.y,t.width,t.height,i.shape),i.buildPath(e,i.shape,r)}}});function gS(e,t){if(this.type!=="image"){var r=this.style;this.__isEmptyBrush?(r.stroke=e,r.fill=t||"#fff",r.lineWidth=2):this.shape.symbolType==="line"?r.stroke=e:r.fill=e,this.markRedraw()}}function Ep(e,t,r,n,i,a,o){var s=e.indexOf("empty")===0;s&&(e=e.substr(5,1).toLowerCase()+e.substr(6));var u;return e.indexOf("image://")===0?u=tv(e.slice(8),new Q(t,r,n,i),o?"center":"cover"):e.indexOf("path://")===0?u=Xa(e.slice(7),{},new Q(t,r,n,i),o?"center":"cover"):u=new dS({shape:{symbolType:e,x:t,y:r,width:n,height:i}}),u.__isEmptyBrush=s,u.setColor=gS,a&&u.setColor(a),u}function yS(e){return I(e)||(e=[+e,+e]),[e[0]||0,e[1]||0]}function _S(e,t){if(e!=null)return I(e)||(e=[e,e]),[ze(e[0],t[0])||0,ze(B(e[1],e[0]),t[1])||0]}function Sr(e){return isFinite(e)}function mS(e,t,r){var n=t.x==null?0:t.x,i=t.x2==null?1:t.x2,a=t.y==null?0:t.y,o=t.y2==null?0:t.y2;t.global||(n=n*r.width+r.x,i=i*r.width+r.x,a=a*r.height+r.y,o=o*r.height+r.y),n=Sr(n)?n:0,i=Sr(i)?i:1,a=Sr(a)?a:0,o=Sr(o)?o:0;var s=e.createLinearGradient(n,a,i,o);return s}function SS(e,t,r){var n=r.width,i=r.height,a=Math.min(n,i),o=t.x==null?.5:t.x,s=t.y==null?.5:t.y,u=t.r==null?.5:t.r;t.global||(o=o*n+r.x,s=s*i+r.y,u=u*a),o=Sr(o)?o:.5,s=Sr(s)?s:.5,u=u>=0&&Sr(u)?u:.5;var l=e.createRadialGradient(o,s,0,o,s,u);return l}function $s(e,t,r){for(var n=t.type==="radial"?SS(e,t,r):mS(e,t,r),i=t.colorStops,a=0;a<i.length;a++)n.addColorStop(i[a].offset,i[a].color);return n}function wS(e,t){if(e===t||!e&&!t)return!1;if(!e||!t||e.length!==t.length)return!0;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!0;return!1}function zi(e){return parseInt(e,10)}function TS(e,t,r){var n=["width","height"][t],i=["clientWidth","clientHeight"][t],a=["paddingLeft","paddingTop"][t],o=["paddingRight","paddingBottom"][t];if(r[n]!=null&&r[n]!=="auto")return parseFloat(r[n]);var s=document.defaultView.getComputedStyle(e);return(e[i]||zi(s[n])||zi(e.style[n]))-(zi(s[a])||0)-(zi(s[o])||0)|0}function bS(e,t){return!e||e==="solid"||!(t>0)?null:e==="dashed"?[4*t,2*t]:e==="dotted"?[t]:ae(e)?[e]:I(e)?e:null}function Yu(e){var t=e.style,r=t.lineDash&&t.lineWidth>0&&bS(t.lineDash,t.lineWidth),n=t.lineDashOffset;if(r){var i=t.strokeNoScale&&e.getLineScale?e.getLineScale():1;i&&i!==1&&(r=Y(r,function(a){return a/i}),n/=i)}return[r,n]}var CS=new Mr(!0);function ga(e){var t=e.stroke;return!(t==null||t==="none"||!(e.lineWidth>0))}function Kf(e){return typeof e=="string"&&e!=="none"}function ya(e){var t=e.fill;return t!=null&&t!=="none"}function Qf(e,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.fillOpacity*t.opacity,e.fill(),e.globalAlpha=r}else e.fill()}function Jf(e,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var r=e.globalAlpha;e.globalAlpha=t.strokeOpacity*t.opacity,e.stroke(),e.globalAlpha=r}else e.stroke()}function Zs(e,t,r){var n=_u(t.image,t.__image,r);if(Ia(n)){var i=e.createPattern(n,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(t.x||0,t.y||0),a.rotateSelf(0,0,(t.rotation||0)*Gi),a.scaleSelf(t.scaleX||1,t.scaleY||1),i.setTransform(a)}return i}}function DS(e,t,r,n){var i,a=ga(r),o=ya(r),s=r.strokePercent,u=s<1,l=!t.path;(!t.silent||u)&&l&&t.createPathProxy();var f=t.path||CS,h=t.__dirty;if(!n){var v=r.fill,c=r.stroke,p=o&&!!v.colorStops,y=a&&!!c.colorStops,d=o&&!!v.image,g=a&&!!c.image,_=void 0,m=void 0,S=void 0,T=void 0,w=void 0;(p||y)&&(w=t.getBoundingRect()),p&&(_=h?$s(e,v,w):t.__canvasFillGradient,t.__canvasFillGradient=_),y&&(m=h?$s(e,c,w):t.__canvasStrokeGradient,t.__canvasStrokeGradient=m),d&&(S=h||!t.__canvasFillPattern?Zs(e,v,t):t.__canvasFillPattern,t.__canvasFillPattern=S),g&&(T=h||!t.__canvasStrokePattern?Zs(e,c,t):t.__canvasStrokePattern,t.__canvasStrokePattern=S),p?e.fillStyle=_:d&&(S?e.fillStyle=S:o=!1),y?e.strokeStyle=m:g&&(T?e.strokeStyle=T:a=!1)}var b=t.getGlobalScale();f.setScale(b[0],b[1],t.segmentIgnoreThreshold);var C,E;e.setLineDash&&r.lineDash&&(i=Yu(t),C=i[0],E=i[1]);var P=!0;(l||h&Xr)&&(f.setDPR(e.dpr),u?f.setContext(null):(f.setContext(e),P=!1),f.reset(),t.buildPath(f,t.shape,n),f.toStatic(),t.pathUpdated()),P&&f.rebuildPath(e,u?s:1),C&&(e.setLineDash(C),e.lineDashOffset=E),n||(r.strokeFirst?(a&&Jf(e,r),o&&Qf(e,r)):(o&&Qf(e,r),a&&Jf(e,r))),C&&e.setLineDash([])}function ES(e,t,r){var n=t.__image=_u(r.image,t.__image,t,t.onload);if(!(!n||!Ia(n))){var i=r.x||0,a=r.y||0,o=t.getWidth(),s=t.getHeight(),u=n.width/n.height;if(o==null&&s!=null?o=s*u:s==null&&o!=null?s=o/u:o==null&&s==null&&(o=n.width,s=n.height),r.sWidth&&r.sHeight){var l=r.sx||0,f=r.sy||0;e.drawImage(n,l,f,r.sWidth,r.sHeight,i,a,o,s)}else if(r.sx&&r.sy){var l=r.sx,f=r.sy,h=o-l,v=s-f;e.drawImage(n,l,f,h,v,i,a,o,s)}else e.drawImage(n,i,a,o,s)}}function MS(e,t,r){var n,i=r.text;if(i!=null&&(i+=""),i){e.font=r.font||Ut,e.textAlign=r.textAlign,e.textBaseline=r.textBaseline;var a=void 0,o=void 0;e.setLineDash&&r.lineDash&&(n=Yu(t),a=n[0],o=n[1]),a&&(e.setLineDash(a),e.lineDashOffset=o),r.strokeFirst?(ga(r)&&e.strokeText(i,r.x,r.y),ya(r)&&e.fillText(i,r.x,r.y)):(ya(r)&&e.fillText(i,r.x,r.y),ga(r)&&e.strokeText(i,r.x,r.y)),a&&e.setLineDash([])}}var jf=["shadowBlur","shadowOffsetX","shadowOffsetY"],eh=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function Mp(e,t,r,n,i){var a=!1;if(!n&&(r=r||{},t===r))return!1;if(n||t.opacity!==r.opacity){Ie(e,i),a=!0;var o=Math.max(Math.min(t.opacity,1),0);e.globalAlpha=isNaN(o)?Dr.opacity:o}(n||t.blend!==r.blend)&&(a||(Ie(e,i),a=!0),e.globalCompositeOperation=t.blend||Dr.blend);for(var s=0;s<jf.length;s++){var u=jf[s];(n||t[u]!==r[u])&&(a||(Ie(e,i),a=!0),e[u]=e.dpr*(t[u]||0))}return(n||t.shadowColor!==r.shadowColor)&&(a||(Ie(e,i),a=!0),e.shadowColor=t.shadowColor||Dr.shadowColor),a}function th(e,t,r,n,i){var a=li(t,i.inHover),o=n?null:r&&li(r,i.inHover)||{};if(a===o)return!1;var s=Mp(e,a,o,n,i);if((n||a.fill!==o.fill)&&(s||(Ie(e,i),s=!0),Kf(a.fill)&&(e.fillStyle=a.fill)),(n||a.stroke!==o.stroke)&&(s||(Ie(e,i),s=!0),Kf(a.stroke)&&(e.strokeStyle=a.stroke)),(n||a.opacity!==o.opacity)&&(s||(Ie(e,i),s=!0),e.globalAlpha=a.opacity==null?1:a.opacity),t.hasStroke()){var u=a.lineWidth,l=u/(a.strokeNoScale&&t.getLineScale?t.getLineScale():1);e.lineWidth!==l&&(s||(Ie(e,i),s=!0),e.lineWidth=l)}for(var f=0;f<eh.length;f++){var h=eh[f],v=h[0];(n||a[v]!==o[v])&&(s||(Ie(e,i),s=!0),e[v]=a[v]||h[1])}return s}function PS(e,t,r,n,i){return Mp(e,li(t,i.inHover),r&&li(r,i.inHover),n,i)}function Pp(e,t){var r=t.transform,n=e.dpr||1;r?e.setTransform(n*r[0],n*r[1],n*r[2],n*r[3],n*r[4],n*r[5]):e.setTransform(n,0,0,n,0,0)}function RS(e,t,r){for(var n=!1,i=0;i<e.length;i++){var a=e[i];n=n||a.isZeroArea(),Pp(t,a),t.beginPath(),a.buildPath(t,a.shape),t.clip()}r.allClipped=n}function AS(e,t){return e&&t?e[0]!==t[0]||e[1]!==t[1]||e[2]!==t[2]||e[3]!==t[3]||e[4]!==t[4]||e[5]!==t[5]:!(!e&&!t)}var rh=1,nh=2,ih=3,ah=4;function NS(e){var t=ya(e),r=ga(e);return!(e.lineDash||!(+t^+r)||t&&typeof e.fill!="string"||r&&typeof e.stroke!="string"||e.strokePercent<1||e.strokeOpacity<1||e.fillOpacity<1)}function Ie(e,t){t.batchFill&&e.fill(),t.batchStroke&&e.stroke(),t.batchFill="",t.batchStroke=""}function li(e,t){return t&&e.__hoverStyle||e.style}function Rp(e,t){_a(e,t,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function _a(e,t,r,n){var i=t.transform;if(!t.shouldBePainted(r.viewWidth,r.viewHeight,!1,!1)){t.__dirty&=~ot,t.__isRendered=!1;return}var a=t.__clipPaths,o=r.prevElClipPaths,s=!1,u=!1;if((!o||wS(a,o))&&(o&&o.length&&(Ie(e,r),e.restore(),u=s=!0,r.prevElClipPaths=null,r.allClipped=!1,r.prevEl=null),a&&a.length&&(Ie(e,r),e.save(),RS(a,e,r),s=!0),r.prevElClipPaths=a),r.allClipped){t.__isRendered=!1;return}t.beforeBrush&&t.beforeBrush(),t.innerBeforeBrush();var l=r.prevEl;l||(u=s=!0);var f=t instanceof K&&t.autoBatch&&NS(t.style);s||AS(i,l.transform)?(Ie(e,r),Pp(e,t)):f||Ie(e,r);var h=li(t,r.inHover);t instanceof K?(r.lastDrawType!==rh&&(u=!0,r.lastDrawType=rh),th(e,t,l,u,r),(!f||!r.batchFill&&!r.batchStroke)&&e.beginPath(),DS(e,t,h,f),f&&(r.batchFill=h.fill||"",r.batchStroke=h.stroke||"")):t instanceof ri?(r.lastDrawType!==ih&&(u=!0,r.lastDrawType=ih),th(e,t,l,u,r),MS(e,t,h)):t instanceof Wt?(r.lastDrawType!==nh&&(u=!0,r.lastDrawType=nh),PS(e,t,l,u,r),ES(e,t,h)):t.getTemporalDisplayables&&(r.lastDrawType!==ah&&(u=!0,r.lastDrawType=ah),xS(e,t,r)),f&&n&&Ie(e,r),t.innerAfterBrush(),t.afterBrush&&t.afterBrush(),r.prevEl=t,t.__dirty=0,t.__isRendered=!0}function xS(e,t,r){var n=t.getDisplayables(),i=t.getTemporalDisplayables();e.save();var a={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:r.viewWidth,viewHeight:r.viewHeight,inHover:r.inHover},o,s;for(o=t.getCursor(),s=n.length;o<s;o++){var u=n[o];u.beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),_a(e,u,a,o===s-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),a.prevEl=u}for(var l=0,f=i.length;l<f;l++){var u=i[l];u.beforeBrush&&u.beforeBrush(),u.innerBeforeBrush(),_a(e,u,a,l===f-1),u.innerAfterBrush(),u.afterBrush&&u.afterBrush(),a.prevEl=u}t.clearTemporalDisplayables(),t.notClear=!0,e.restore()}var Qo=new uS,oh=new fn(100),sh=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function Ks(e,t){if(e==="none")return null;var r=t.getDevicePixelRatio(),n=t.getZr(),i=n.painter.type==="svg";e.dirty&&Qo.delete(e);var a=Qo.get(e);if(a)return a;var o=pe(e,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});o.backgroundColor==="none"&&(o.backgroundColor=null);var s={repeat:"repeat"};return u(s),s.rotation=o.rotation,s.scaleX=s.scaleY=i?1:1/r,Qo.set(e,s),e.dirty=!1,s;function u(l){for(var f=[r],h=!0,v=0;v<sh.length;++v){var c=o[sh[v]];if(c!=null&&!I(c)&&!V(c)&&!ae(c)&&typeof c!="boolean"){h=!1;break}f.push(c)}var p;if(h){p=f.join(",")+(i?"-svg":"");var y=oh.get(p);y&&(i?l.svgElement=y:l.image=y)}var d=Np(o.dashArrayX),g=LS(o.dashArrayY),_=Ap(o.symbol),m=IS(d),S=xp(g),T=!i&&un.createCanvas(),w=i&&{tag:"g",attrs:{},key:"dcl",children:[]},b=E(),C;T&&(T.width=b.width*r,T.height=b.height*r,C=T.getContext("2d")),P(),h&&oh.put(p,T||w),l.image=T,l.svgElement=w,l.svgWidth=b.width,l.svgHeight=b.height;function E(){for(var M=1,A=0,F=m.length;A<F;++A)M=El(M,m[A]);for(var R=1,A=0,F=_.length;A<F;++A)R=El(R,_[A].length);M*=R;var U=S*m.length*_.length;if(process.env.NODE_ENV!=="production"){var x=function($){console.warn("Calculated decal size is greater than "+$+" due to decal option settings so "+$+" is used for the decal size. Please consider changing the decal option to make a smaller decal or set "+$+" to be larger to avoid incontinuity.")};M>o.maxTileWidth&&x("maxTileWidth"),U>o.maxTileHeight&&x("maxTileHeight")}return{width:Math.max(1,Math.min(M,o.maxTileWidth)),height:Math.max(1,Math.min(U,o.maxTileHeight))}}function P(){C&&(C.clearRect(0,0,T.width,T.height),o.backgroundColor&&(C.fillStyle=o.backgroundColor,C.fillRect(0,0,T.width,T.height)));for(var M=0,A=0;A<g.length;++A)M+=g[A];if(M<=0)return;for(var F=-S,R=0,U=0,x=0;F<b.height;){if(R%2===0){for(var $=U/2%_.length,oe=0,le=0,ke=0;oe<b.width*2;){for(var Se=0,A=0;A<d[x].length;++A)Se+=d[x][A];if(Se<=0)break;if(le%2===0){var ee=(1-o.symbolSize)*.5,Ge=oe+d[x][le]*ee,Ye=F+g[R]*ee,xt=d[x][le]*o.symbolSize,Xt=g[R]*o.symbolSize,qt=ke/2%_[$].length;Lr(Ge,Ye,xt,Xt,_[$][qt])}oe+=d[x][le],++ke,++le,le===d[x].length&&(le=0)}++x,x===d.length&&(x=0)}F+=g[R],++U,++R,R===g.length&&(R=0)}function Lr(Be,fe,L,H,$t){var we=i?1:r,Ku=Ep($t,Be*we,fe*we,L*we,H*we,o.color,o.symbolKeepAspect);if(i){var Qu=n.painter.renderOneToVNode(Ku);Qu&&w.children.push(Qu)}else Rp(C,Ku)}}}}function Ap(e){if(!e||e.length===0)return[["rect"]];if(V(e))return[[e]];for(var t=!0,r=0;r<e.length;++r)if(!V(e[r])){t=!1;break}if(t)return Ap([e]);for(var n=[],r=0;r<e.length;++r)V(e[r])?n.push([e[r]]):n.push(e[r]);return n}function Np(e){if(!e||e.length===0)return[[0,0]];if(ae(e)){var t=Math.ceil(e);return[[t,t]]}for(var r=!0,n=0;n<e.length;++n)if(!ae(e[n])){r=!1;break}if(r)return Np([e]);for(var i=[],n=0;n<e.length;++n)if(ae(e[n])){var t=Math.ceil(e[n]);i.push([t,t])}else{var t=Y(e[n],function(s){return Math.ceil(s)});t.length%2===1?i.push(t.concat(t)):i.push(t)}return i}function LS(e){if(!e||typeof e=="object"&&e.length===0)return[0,0];if(ae(e)){var t=Math.ceil(e);return[t,t]}var r=Y(e,function(n){return Math.ceil(n)});return e.length%2?r.concat(r):r}function IS(e){return Y(e,function(t){return xp(t)})}function xp(e){for(var t=0,r=0;r<e.length;++r)t+=e[r];return e.length%2===1?t*2:t}function OS(e,t){e.eachRawSeries(function(r){if(!e.isSeriesFiltered(r)){var n=r.getData();n.hasItemVisual()&&n.each(function(o){var s=n.getItemVisual(o,"decal");if(s){var u=n.ensureUniqueItemVisual(o,"style");u.decal=Ks(s,t)}});var i=n.getVisual("decal");if(i){var a=n.getVisual("style");a.decal=Ks(i,t)}}})}var it=new St,ma={};function FS(e,t){process.env.NODE_ENV!=="production"&&ma[e]&&ve("Already has an implementation of "+e+"."),ma[e]=t}function Lp(e){return process.env.NODE_ENV!=="production"&&(ma[e]||ve("Implementation of "+e+" doesn't exists.")),ma[e]}var kS=1,BS=800,VS=900,zS=1e3,HS=2e3,US=5e3,Ip=1e3,GS=1100,Wu=2e3,Op=3e3,YS=4e3,no=4500,WS=4600,XS=5e3,qS=6e3,Fp=7e3,$S={PROCESSOR:{FILTER:zS,SERIES_FILTER:BS,STATISTIC:US},VISUAL:{LAYOUT:Ip,PROGRESSIVE_LAYOUT:GS,GLOBAL:Wu,CHART:Op,POST_CHART_LAYOUT:WS,COMPONENT:YS,BRUSH:XS,CHART_ITEM:no,ARIA:qS,DECAL:Fp}},ge="__flagInMainProcess",Ae="__pendingUpdate",Jo="__needsUpdateStatus",uh=/^[a-zA-Z0-9_]+$/,jo="__connectUpdateStatus",lh=0,ZS=1,KS=2;function kp(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(this.isDisposed()){Ve(this.id);return}return Vp(this,e,t)}}function Bp(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Vp(this,e,t)}}function Vp(e,t,r){return r[0]=r[0]&&r[0].toLowerCase(),St.prototype[t].apply(e,r)}var zp=(function(e){z(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t})(St),Hp=zp.prototype;Hp.on=Bp("on");Hp.off=Bp("off");var Wr,es,Hi,Ft,ts,rs,ns,Mn,Pn,fh,hh,is,ch,Ui,vh,Up,Xe,ph,Sa=(function(e){z(t,e);function t(r,n,i){var a=e.call(this,new eS)||this;a._chartsViews=[],a._chartsMap={},a._componentsViews=[],a._componentsMap={},a._pendingActions=[],i=i||{},V(n)&&(n=Gp[n]),a._dom=r;var o="canvas",s="auto",u=!1;if(process.env.NODE_ENV!=="production"){var l=G.hasGlobalWindow?window:global;l&&(o=B(l.__ECHARTS__DEFAULT__RENDERER__,o),s=B(l.__ECHARTS__DEFAULT__COARSE_POINTER,s),u=B(l.__ECHARTS__DEFAULT__USE_DIRTY_RECT__,u))}i.ssr&&Gg(function(c){var p=De(c),y=p.dataIndex;if(y!=null){var d=q();return d.set("series_index",p.seriesIndex),d.set("data_index",y),p.ssrType&&d.set("ssr_type",p.ssrType),d}});var f=a._zr=Es(r,{renderer:i.renderer||o,devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:B(i.useDirtyRect,u),useCoarsePointer:B(i.useCoarsePointer,s),pointerSize:i.pointerSize});a._ssr=i.ssr,a._throttledZrFlush=Gu(at(f.flush,f),17),n=X(n),n&&Yv(n,!0),a._theme=n,a._locale=B_(i.locale||mv),a._coordSysMgr=new ja;var h=a._api=vh(a);function v(c,p){return c.__prio-p.__prio}return Wi(Ta,v),Wi(Qs,v),a._scheduler=new mp(a,h,Qs,Ta),a._messageCenter=new zp,a._initEvents(),a.resize=at(a.resize,a),f.animation.on("frame",a._onframe,a),fh(f,a),hh(f,a),ta(a),a}return t.prototype._onframe=function(){if(!this._disposed){ph(this);var r=this._scheduler;if(this[Ae]){var n=this[Ae].silent;this[ge]=!0;try{Wr(this),Ft.update.call(this,null,this[Ae].updateParams)}catch(u){throw this[ge]=!1,this[Ae]=null,u}this._zr.flush(),this[ge]=!1,this[Ae]=null,Mn.call(this,n),Pn.call(this,n)}else if(r.unfinished){var i=kS,a=this._model,o=this._api;r.unfinished=!1;do{var s=+new Date;r.performSeriesTasks(a),r.performDataProcessorTasks(a),rs(this,a),r.performVisualTasks(a),Ui(this,this._model,o,"remain",{}),i-=+new Date-s}while(i>0&&r.unfinished);r.unfinished||this._zr.flush()}}},t.prototype.getDom=function(){return this._dom},t.prototype.getId=function(){return this.id},t.prototype.getZr=function(){return this._zr},t.prototype.isSSR=function(){return this._ssr},t.prototype.setOption=function(r,n,i){if(this[ge]){process.env.NODE_ENV!=="production"&&ve("`setOption` should not be called during main process.");return}if(this._disposed){Ve(this.id);return}var a,o,s;if(O(n)&&(i=n.lazyUpdate,a=n.silent,o=n.replaceMerge,s=n.transition,n=n.notMerge),this[ge]=!0,!this._model||n){var u=new Pm(this._api),l=this._theme,f=this._model=new zu;f.scheduler=this._scheduler,f.ssr=this._ssr,f.init(null,null,null,l,this._locale,u)}this._model.setOption(r,{replaceMerge:o},Js);var h={seriesTransition:s,optionChanged:!0};if(i)this[Ae]={silent:a,updateParams:h},this[ge]=!1,this.getZr().wakeUp();else{try{Wr(this),Ft.update.call(this,null,h)}catch(v){throw this[Ae]=null,this[ge]=!1,v}this._ssr||this._zr.flush(),this[Ae]=null,this[ge]=!1,Mn.call(this,a),Pn.call(this,a)}},t.prototype.setTheme=function(){lt("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},t.prototype.getModel=function(){return this._model},t.prototype.getOption=function(){return this._model&&this._model.getOption()},t.prototype.getWidth=function(){return this._zr.getWidth()},t.prototype.getHeight=function(){return this._zr.getHeight()},t.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||G.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(r){return process.env.NODE_ENV!=="production"&&re("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(r)},t.prototype.renderToCanvas=function(r){r=r||{};var n=this._zr.painter;if(process.env.NODE_ENV!=="production"&&n.type!=="canvas")throw new Error("renderToCanvas can only be used in the canvas renderer.");return n.getRenderedCanvas({backgroundColor:r.backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(r){r=r||{};var n=this._zr.painter;if(process.env.NODE_ENV!=="production"&&n.type!=="svg")throw new Error("renderToSVGString can only be used in the svg renderer.");return n.renderToString({useViewBox:r.useViewBox})},t.prototype.getSvgDataURL=function(){if(G.svgSupported){var r=this._zr,n=r.storage.getDisplayList();return D(n,function(i){i.stopAnimation(null,!0)}),r.painter.toDataURL()}},t.prototype.getDataURL=function(r){if(this._disposed){Ve(this.id);return}r=r||{};var n=r.excludeComponents,i=this._model,a=[],o=this;D(n,function(u){i.eachComponent({mainType:u},function(l){var f=o._componentsMap[l.__viewId];f.group.ignore||(a.push(f),f.group.ignore=!0)})});var s=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(r).toDataURL("image/"+(r&&r.type||"png"));return D(a,function(u){u.group.ignore=!1}),s},t.prototype.getConnectedDataURL=function(r){if(this._disposed){Ve(this.id);return}var n=r.type==="svg",i=this.group,a=Math.min,o=Math.max,s=1/0;if(dh[i]){var u=s,l=s,f=-s,h=-s,v=[],c=r&&r.pixelRatio||this.getDevicePixelRatio();D(tn,function(m,S){if(m.group===i){var T=n?m.getZr().painter.getSvgDom().innerHTML:m.renderToCanvas(X(r)),w=m.getDom().getBoundingClientRect();u=a(w.left,u),l=a(w.top,l),f=o(w.right,f),h=o(w.bottom,h),v.push({dom:T,left:w.left,top:w.top})}}),u*=c,l*=c,f*=c,h*=c;var p=f-u,y=h-l,d=un.createCanvas(),g=Es(d,{renderer:n?"svg":"canvas"});if(g.resize({width:p,height:y}),n){var _="";return D(v,function(m){var S=m.left-u,T=m.top-l;_+='<g transform="translate('+S+","+T+')">'+m.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=_,r.connectedBackgroundColor&&g.painter.setBackgroundColor(r.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}else return r.connectedBackgroundColor&&g.add(new ut({shape:{x:0,y:0,width:p,height:y},style:{fill:r.connectedBackgroundColor}})),D(v,function(m){var S=new Wt({style:{x:m.left*c-u,y:m.top*c-l,image:m.dom}});g.add(S)}),g.refreshImmediately(),d.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)},t.prototype.convertToPixel=function(r,n){return ts(this,"convertToPixel",r,n)},t.prototype.convertFromPixel=function(r,n){return ts(this,"convertFromPixel",r,n)},t.prototype.containPixel=function(r,n){if(this._disposed){Ve(this.id);return}var i=this._model,a,o=Zi(i,r);return D(o,function(s,u){u.indexOf("Models")>=0&&D(s,function(l){var f=l.coordinateSystem;if(f&&f.containPoint)a=a||!!f.containPoint(n);else if(u==="seriesModels"){var h=this._chartsMap[l.__viewId];h&&h.containPoint?a=a||h.containPoint(n,l):process.env.NODE_ENV!=="production"&&je(u+": "+(h?"The found component do not support containPoint.":"No view mapping to the found component."))}else process.env.NODE_ENV!=="production"&&je(u+": containPoint is not supported")},this)},this),!!a},t.prototype.getVisual=function(r,n){var i=this._model,a=Zi(i,r,{defaultMainType:"series"}),o=a.seriesModel;process.env.NODE_ENV!=="production"&&(o||je("There is no specified series model"));var s=o.getData(),u=a.hasOwnProperty("dataIndexInside")?a.dataIndexInside:a.hasOwnProperty("dataIndex")?s.indexOfRawIndex(a.dataIndex):null;return u!=null?Cp(s,u,n):Dp(s,n)},t.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},t.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},t.prototype._initEvents=function(){var r=this;D(QS,function(n){var i=function(a){var o=r.getModel(),s=a.target,u,l=n==="globalout";if(l?u={}:s&&kn(s,function(p){var y=De(p);if(y&&y.dataIndex!=null){var d=y.dataModel||o.getSeriesByIndex(y.seriesIndex);return u=d&&d.getDataParams(y.dataIndex,y.dataType,s)||{},!0}else if(y.eventData)return u=N({},y.eventData),!0},!0),u){var f=u.componentType,h=u.componentIndex;(f==="markLine"||f==="markPoint"||f==="markArea")&&(f="series",h=u.seriesIndex);var v=f&&h!=null&&o.getComponent(f,h),c=v&&r[v.mainType==="series"?"_chartsMap":"_componentsMap"][v.__viewId];process.env.NODE_ENV!=="production"&&!l&&!(v&&c)&&je("model or view can not be found by params"),u.event=a,u.type=n,r._$eventProcessor.eventInfo={targetEl:s,packedEvent:u,model:v,view:c},r.trigger(n,u)}};i.zrEventfulCallAtLast=!0,r._zr.on(n,i,r)}),D(Zn,function(n,i){r._messageCenter.on(i,function(a){this.trigger(i,a)},r)}),D(["selectchanged"],function(n){r._messageCenter.on(n,function(i){this.trigger(n,i)},r)}),aS(this._messageCenter,this,this._api)},t.prototype.isDisposed=function(){return this._disposed},t.prototype.clear=function(){if(this._disposed){Ve(this.id);return}this.setOption({series:[]},!0)},t.prototype.dispose=function(){if(this._disposed){Ve(this.id);return}this._disposed=!0;var r=this.getDom();r&&cc(this.getDom(),qu,"");var n=this,i=n._api,a=n._model;D(n._componentsViews,function(o){o.dispose(a,i)}),D(n._chartsViews,function(o){o.dispose(a,i)}),n._zr.dispose(),n._dom=n._model=n._chartsMap=n._componentsMap=n._chartsViews=n._componentsViews=n._scheduler=n._api=n._zr=n._throttledZrFlush=n._theme=n._coordSysMgr=n._messageCenter=null,delete tn[n.id]},t.prototype.resize=function(r){if(this[ge]){process.env.NODE_ENV!=="production"&&ve("`resize` should not be called during main process.");return}if(this._disposed){Ve(this.id);return}this._zr.resize(r);var n=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!n){var i=n.resetOption("media"),a=r&&r.silent;this[Ae]&&(a==null&&(a=this[Ae].silent),i=!0,this[Ae]=null),this[ge]=!0;try{i&&Wr(this),Ft.update.call(this,{type:"resize",animation:N({duration:0},r&&r.animation)})}catch(o){throw this[ge]=!1,o}this[ge]=!1,Mn.call(this,a),Pn.call(this,a)}},t.prototype.showLoading=function(r,n){if(this._disposed){Ve(this.id);return}if(O(r)&&(n=r,r=""),r=r||"default",this.hideLoading(),!js[r]){process.env.NODE_ENV!=="production"&&je("Loading effects "+r+" not exists.");return}var i=js[r](this._api,n),a=this._zr;this._loadingFX=i,a.add(i)},t.prototype.hideLoading=function(){if(this._disposed){Ve(this.id);return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(r){var n=N({},r);return n.type=Zn[r.type],n},t.prototype.dispatchAction=function(r,n){if(this._disposed){Ve(this.id);return}if(O(n)||(n={silent:!!n}),!!wa[r.type]&&this._model){if(this[ge]){this._pendingActions.push(r);return}var i=n.silent;ns.call(this,r,i);var a=n.flush;a?this._zr.flush():a!==!1&&G.browser.weChat&&this._throttledZrFlush(),Mn.call(this,i),Pn.call(this,i)}},t.prototype.updateLabelLayout=function(){it.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(r){if(this._disposed){Ve(this.id);return}var n=r.seriesIndex,i=this.getModel(),a=i.getSeriesByIndex(n);process.env.NODE_ENV!=="production"&&k(r.data&&a),a.appendData(r),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=(function(){Wr=function(h){var v=h._scheduler;v.restorePipelines(h._model),v.prepareStageTasks(),es(h,!0),es(h,!1),v.plan()},es=function(h,v){for(var c=h._model,p=h._scheduler,y=v?h._componentsViews:h._chartsViews,d=v?h._componentsMap:h._chartsMap,g=h._zr,_=h._api,m=0;m<y.length;m++)y[m].__alive=!1;v?c.eachComponent(function(w,b){w!=="series"&&S(b)}):c.eachSeries(S);function S(w){var b=w.__requireNewView;w.__requireNewView=!1;var C="_ec_"+w.id+"_"+w.type,E=!b&&d[C];if(!E){var P=yt(w.type),M=v?ro.getClass(P.main,P.sub):en.getClass(P.sub);process.env.NODE_ENV!=="production"&&k(M,P.sub+" does not exist."),E=new M,E.init(c,_),d[C]=E,y.push(E),g.add(E.group)}w.__viewId=E.__id=C,E.__alive=!0,E.__model=w,E.group.__ecComponentInfo={mainType:w.mainType,index:w.componentIndex},!v&&p.prepareView(E,w,c,_)}for(var m=0;m<y.length;){var T=y[m];T.__alive?m++:(!v&&T.renderTask.dispose(),g.remove(T.group),T.dispose(c,_),y.splice(m,1),d[T.__id]===T&&delete d[T.__id],T.__id=T.group.__ecComponentInfo=null)}},Hi=function(h,v,c,p,y){var d=h._model;if(d.setUpdatePayload(c),!p){D([].concat(h._componentsViews).concat(h._chartsViews),T);return}var g={};g[p+"Id"]=c[p+"Id"],g[p+"Index"]=c[p+"Index"],g[p+"Name"]=c[p+"Name"];var _={mainType:p,query:g};y&&(_.subType=y);var m=c.excludeSeriesId,S;m!=null&&(S=q(),D(me(m),function(w){var b=Rt(w,null);b!=null&&S.set(b,!0)})),d&&d.eachComponent(_,function(w){var b=S&&S.get(w.id)!=null;if(!b)if(tf(c))if(w instanceof sn)c.type===Er&&!c.notBlur&&!w.get(["emphasis","disabled"])&&My(w,c,h._api);else{var C=Cu(w.mainType,w.componentIndex,c.name,h._api),E=C.focusSelf,P=C.dispatchers;c.type===Er&&E&&!c.notBlur&&Is(w.mainType,w.componentIndex,h._api),P&&D(P,function(M){c.type===Er?oa(M):sa(M)})}else Os(c)&&w instanceof sn&&(Ay(w,c,h._api),jl(w),Xe(h))},h),d&&d.eachComponent(_,function(w){var b=S&&S.get(w.id)!=null;b||T(h[p==="series"?"_chartsMap":"_componentsMap"][w.__viewId])},h);function T(w){w&&w.__alive&&w[v]&&w[v](w.__model,d,h._api,c)}},Ft={prepareAndUpdate:function(h){Wr(this),Ft.update.call(this,h,{optionChanged:h.newOption!=null})},update:function(h,v){var c=this._model,p=this._api,y=this._zr,d=this._coordSysMgr,g=this._scheduler;if(c){c.setUpdatePayload(h),g.restoreData(c,h),g.performSeriesTasks(c),d.create(c,p),g.performDataProcessorTasks(c,h),rs(this,c),d.update(c,p),r(c),g.performVisualTasks(c,h),is(this,c,p,h,v);var _=c.get("backgroundColor")||"transparent",m=c.get("darkMode");y.setBackgroundColor(_),m!=null&&m!=="auto"&&y.setDarkMode(m),it.trigger("afterupdate",c,p)}},updateTransform:function(h){var v=this,c=this._model,p=this._api;if(c){c.setUpdatePayload(h);var y=[];c.eachComponent(function(g,_){if(g!=="series"){var m=v.getViewOfComponentModel(_);if(m&&m.__alive)if(m.updateTransform){var S=m.updateTransform(_,c,p,h);S&&S.update&&y.push(m)}else y.push(m)}});var d=q();c.eachSeries(function(g){var _=v._chartsMap[g.__viewId];if(_.updateTransform){var m=_.updateTransform(g,c,p,h);m&&m.update&&d.set(g.uid,1)}else d.set(g.uid,1)}),r(c),this._scheduler.performVisualTasks(c,h,{setDirty:!0,dirtyMap:d}),Ui(this,c,p,h,{},d),it.trigger("afterupdate",c,p)}},updateView:function(h){var v=this._model;v&&(v.setUpdatePayload(h),en.markUpdateMethod(h,"updateView"),r(v),this._scheduler.performVisualTasks(v,h,{setDirty:!0}),is(this,v,this._api,h,{}),it.trigger("afterupdate",v,this._api))},updateVisual:function(h){var v=this,c=this._model;c&&(c.setUpdatePayload(h),c.eachSeries(function(p){p.getData().clearAllVisual()}),en.markUpdateMethod(h,"updateVisual"),r(c),this._scheduler.performVisualTasks(c,h,{visualType:"visual",setDirty:!0}),c.eachComponent(function(p,y){if(p!=="series"){var d=v.getViewOfComponentModel(y);d&&d.__alive&&d.updateVisual(y,c,v._api,h)}}),c.eachSeries(function(p){var y=v._chartsMap[p.__viewId];y.updateVisual(p,c,v._api,h)}),it.trigger("afterupdate",c,this._api))},updateLayout:function(h){Ft.update.call(this,h)}},ts=function(h,v,c,p){if(h._disposed){Ve(h.id);return}for(var y=h._model,d=h._coordSysMgr.getCoordinateSystems(),g,_=Zi(y,c),m=0;m<d.length;m++){var S=d[m];if(S[v]&&(g=S[v](y,_,p))!=null)return g}process.env.NODE_ENV!=="production"&&je("No coordinate system that supports "+v+" found by the given finder.")},rs=function(h,v){var c=h._chartsMap,p=h._scheduler;v.eachSeries(function(y){p.updateStreamModes(y,c[y.__viewId])})},ns=function(h,v){var c=this,p=this.getModel(),y=h.type,d=h.escapeConnect,g=wa[y],_=g.actionInfo,m=(_.update||"update").split(":"),S=m.pop(),T=m[0]!=null&&yt(m[0]);this[ge]=!0;var w=[h],b=!1;h.batch&&(b=!0,w=Y(h.batch,function(R){return R=pe(N({},R),h),R.batch=null,R}));var C=[],E,P=Os(h),M=tf(h);if(M&&Fc(this._api),D(w,function(R){if(E=g.action(R,c._model,c._api),E=E||N({},R),E.type=_.event||E.type,C.push(E),M){var U=gu(h),x=U.queryOptionMap,$=U.mainTypeSpecified,oe=$?x.keys()[0]:"series";Hi(c,S,R,oe),Xe(c)}else P?(Hi(c,S,R,"series"),Xe(c)):T&&Hi(c,S,R,T.main,T.sub)}),S!=="none"&&!M&&!P&&!T)try{this[Ae]?(Wr(this),Ft.update.call(this,h),this[Ae]=null):Ft[S].call(this,h)}catch(R){throw this[ge]=!1,R}if(b?E={type:_.event||y,escapeConnect:d,batch:C}:E=C[0],this[ge]=!1,!v){var A=this._messageCenter;if(A.trigger(E.type,E),P){var F={type:"selectchanged",escapeConnect:d,selected:Ny(p),isFromClick:h.isFromClick||!1,fromAction:h.type,fromActionPayload:h};A.trigger(F.type,F)}}},Mn=function(h){for(var v=this._pendingActions;v.length;){var c=v.shift();ns.call(this,c,h)}},Pn=function(h){!h&&this.trigger("updated")},fh=function(h,v){h.on("rendered",function(c){v.trigger("rendered",c),h.animation.isFinished()&&!v[Ae]&&!v._scheduler.unfinished&&!v._pendingActions.length&&v.trigger("finished")})},hh=function(h,v){h.on("mouseover",function(c){var p=c.target,y=kn(p,Rr);y&&(Py(y,c,v._api),Xe(v))}).on("mouseout",function(c){var p=c.target,y=kn(p,Rr);y&&(Ry(y,c,v._api),Xe(v))}).on("click",function(c){var p=c.target,y=kn(p,function(_){return De(_).dataIndex!=null},!0);if(y){var d=y.selected?"unselect":"select",g=De(y);v._api.dispatchAction({type:d,dataType:g.dataType,dataIndexInside:g.dataIndex,seriesIndex:g.seriesIndex,isFromClick:!0})}})};function r(h){h.clearColorPalette(),h.eachSeries(function(v){v.clearColorPalette()})}function n(h){var v=[],c=[],p=!1;if(h.eachComponent(function(_,m){var S=m.get("zlevel")||0,T=m.get("z")||0,w=m.getZLevelKey();p=p||!!w,(_==="series"?c:v).push({zlevel:S,z:T,idx:m.componentIndex,type:_,key:w})}),p){var y=v.concat(c),d,g;Wi(y,function(_,m){return _.zlevel===m.zlevel?_.z-m.z:_.zlevel-m.zlevel}),D(y,function(_){var m=h.getComponent(_.type,_.idx),S=_.zlevel,T=_.key;d!=null&&(S=Math.max(d,S)),T?(S===d&&T!==g&&S++,g=T):g&&(S===d&&S++,g=""),d=S,m.setZLevel(S)})}}is=function(h,v,c,p,y){n(v),ch(h,v,c,p,y),D(h._chartsViews,function(d){d.__alive=!1}),Ui(h,v,c,p,y),D(h._chartsViews,function(d){d.__alive||d.remove(v,c)})},ch=function(h,v,c,p,y,d){D(d||h._componentsViews,function(g){var _=g.__model;l(_,g),g.render(_,v,c,p),s(_,g),f(_,g)})},Ui=function(h,v,c,p,y,d){var g=h._scheduler;y=N(y||{},{updatedSeries:v.getSeries()}),it.trigger("series:beforeupdate",v,c,y);var _=!1;v.eachSeries(function(m){var S=h._chartsMap[m.__viewId];S.__alive=!0;var T=S.renderTask;g.updatePayload(T,p),l(m,S),d&&d.get(m.uid)&&T.dirty(),T.perform(g.getPerformArgs(T))&&(_=!0),S.group.silent=!!m.get("silent"),o(m,S),jl(m)}),g.unfinished=_||g.unfinished,it.trigger("series:layoutlabels",v,c,y),it.trigger("series:transition",v,c,y),v.eachSeries(function(m){var S=h._chartsMap[m.__viewId];s(m,S),f(m,S)}),a(h,v),it.trigger("series:afterupdate",v,c,y)},Xe=function(h){h[Jo]=!0,h.getZr().wakeUp()},ph=function(h){h[Jo]&&(h.getZr().storage.traverse(function(v){Qr(v)||i(v)}),h[Jo]=!1)};function i(h){for(var v=[],c=h.currentStates,p=0;p<c.length;p++){var y=c[p];y==="emphasis"||y==="blur"||y==="select"||v.push(y)}h.selected&&h.states.select&&v.push("select"),h.hoverState===Fa&&h.states.emphasis?v.push("emphasis"):h.hoverState===vi&&h.states.blur&&v.push("blur"),h.useStates(v)}function a(h,v){var c=h._zr,p=c.storage,y=0;p.traverse(function(d){d.isGroup||y++}),y>v.get("hoverLayerThreshold")&&!G.node&&!G.worker&&v.eachSeries(function(d){if(!d.preventUsingHoverLayer){var g=h._chartsMap[d.__viewId];g.__alive&&g.eachRendered(function(_){_.states.emphasis&&(_.states.emphasis.hoverLayer=!0)})}})}function o(h,v){var c=h.get("blendMode")||null;v.eachRendered(function(p){p.isGroup||(p.style.blend=c)})}function s(h,v){if(!h.preventAutoZ){var c=h.get("z")||0,p=h.get("zlevel")||0;v.eachRendered(function(y){return u(y,c,p,-1/0),!0})}}function u(h,v,c,p){var y=h.getTextContent(),d=h.getTextGuideLine(),g=h.isGroup;if(g)for(var _=h.childrenRef(),m=0;m<_.length;m++)p=Math.max(u(_[m],v,c,p),p);else h.z=v,h.zlevel=c,p=Math.max(h.z2,p);if(y&&(y.z=v,y.zlevel=c,isFinite(p)&&(y.z2=p+2)),d){var S=h.textGuideLineConfig;d.z=v,d.zlevel=c,isFinite(p)&&(d.z2=p+(S&&S.showAbove?1:-1))}return p}function l(h,v){v.eachRendered(function(c){if(!Qr(c)){var p=c.getTextContent(),y=c.getTextGuideLine();c.stateTransition&&(c.stateTransition=null),p&&p.stateTransition&&(p.stateTransition=null),y&&y.stateTransition&&(y.stateTransition=null),c.hasState()?(c.prevStates=c.currentStates,c.clearStates()):c.prevStates&&(c.prevStates=null)}})}function f(h,v){var c=h.getModel("stateAnimation"),p=h.isAnimationEnabled(),y=c.get("duration"),d=y>0?{duration:y,delay:c.get("delay"),easing:c.get("easing")}:null;v.eachRendered(function(g){if(g.states&&g.states.emphasis){if(Qr(g))return;if(g instanceof K&&By(g),g.__dirty){var _=g.prevStates;_&&g.useStates(_)}if(p){g.stateTransition=d;var m=g.getTextContent(),S=g.getTextGuideLine();m&&(m.stateTransition=d),S&&(S.stateTransition=d)}g.__dirty&&i(g)}})}vh=function(h){return new((function(v){z(c,v);function c(){return v!==null&&v.apply(this,arguments)||this}return c.prototype.getCoordinateSystems=function(){return h._coordSysMgr.getCoordinateSystems()},c.prototype.getComponentByElement=function(p){for(;p;){var y=p.__ecComponentInfo;if(y!=null)return h._model.getComponent(y.mainType,y.index);p=p.parent}},c.prototype.enterEmphasis=function(p,y){oa(p,y),Xe(h)},c.prototype.leaveEmphasis=function(p,y){sa(p,y),Xe(h)},c.prototype.enterBlur=function(p){xc(p),Xe(h)},c.prototype.leaveBlur=function(p){bu(p),Xe(h)},c.prototype.enterSelect=function(p){Lc(p),Xe(h)},c.prototype.leaveSelect=function(p){Ic(p),Xe(h)},c.prototype.getModel=function(){return h.getModel()},c.prototype.getViewOfComponentModel=function(p){return h.getViewOfComponentModel(p)},c.prototype.getViewOfSeriesModel=function(p){return h.getViewOfSeriesModel(p)},c})(Uv))(h)},Up=function(h){function v(c,p){for(var y=0;y<c.length;y++){var d=c[y];d[jo]=p}}D(Zn,function(c,p){h._messageCenter.on(p,function(y){if(dh[h.group]&&h[jo]!==lh){if(y&&y.escapeConnect)return;var d=h.makeActionFromEvent(y),g=[];D(tn,function(_){_!==h&&_.group===h.group&&g.push(_)}),v(g,lh),D(g,function(_){_[jo]!==ZS&&_.dispatchAction(d)}),v(g,KS)}})})}})(),t})(St),Xu=Sa.prototype;Xu.on=kp("on");Xu.off=kp("off");Xu.one=function(e,t,r){var n=this;lt("ECharts#one is deprecated.");function i(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];t&&t.apply&&t.apply(this,a),n.off(e,i)}this.on.call(this,e,i,r)};var QS=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function Ve(e){process.env.NODE_ENV!=="production"&&je("Instance "+e+" has been disposed")}var wa={},Zn={},Qs=[],Js=[],Ta=[],Gp={},js={},tn={},dh={},JS=+new Date-0,qu="_echarts_instance_";function jS(e,t,r){{if(process.env.NODE_ENV!=="production"&&!e)throw new Error("Initialize failed: invalid dom.");var n=Yp(e);if(n)return process.env.NODE_ENV!=="production"&&je("There is a chart instance already initialized on the dom."),n;process.env.NODE_ENV!=="production"&&Qn(e)&&e.nodeName.toUpperCase()!=="CANVAS"&&(!e.clientWidth&&!r||!e.clientHeight&&!r)&&je("Can't get DOM width or height. Please check dom.clientWidth and dom.clientHeight. They should not be 0.For example, you may need to call this in the callback of window.onload.")}var i=new Sa(e,t,r);return i.id="ec_"+JS++,tn[i.id]=i,cc(e,qu,i.id),Up(i),it.trigger("afterinit",i),i}function ew(e){V(e)?e=tn[e]:e instanceof Sa||(e=Yp(e)),e instanceof Sa&&!e.isDisposed()&&e.dispose()}function Yp(e){return tn[S0(e,qu)]}function Wp(e,t){Gp[e]=t}function Xp(e){ne(Js,e)<0&&Js.push(e)}function qp(e,t){Zu(Qs,e,t,HS)}function tw(e){$u("afterinit",e)}function rw(e){$u("afterupdate",e)}function $u(e,t){it.on(e,t)}function pn(e,t,r){j(t)&&(r=t,t="");var n=O(e)?e.type:[e,e={event:t}][0];e.event=(e.event||n).toLowerCase(),t=e.event,!Zn[t]&&(k(uh.test(n)&&uh.test(t)),wa[n]||(wa[n]={action:r,actionInfo:e}),Zn[t]=n)}function nw(e,t){ja.register(e,t)}function iw(e){var t=ja.get(e);if(t)return t.getDimensionsInfo?t.getDimensionsInfo():t.dimensions.slice()}function aw(e,t){Zu(Ta,e,t,Ip,"layout")}function xr(e,t){Zu(Ta,e,t,Op,"visual")}var gh=[];function Zu(e,t,r,n,i){if((j(t)||O(t))&&(r=t,t=n),process.env.NODE_ENV!=="production"){if(isNaN(t)||t==null)throw new Error("Illegal priority");D(e,function(o){k(o.__raw!==r)})}if(!(ne(gh,r)>=0)){gh.push(r);var a=mp.wrapStageHandler(r,i);a.__prio=t,a.__raw=r,e.push(a)}}function $p(e,t){js[e]=t}function ow(e,t,r){var n=Lp("registerMap");n&&n(e,t,r)}function sw(e){var t=Lp("getMap");return t&&t(e)}var uw=u1;xr(Wu,z1);xr(no,H1);xr(no,U1);xr(Wu,tS);xr(no,rS);xr(Fp,OS);Xp(Yv);qp(VS,zm);$p("default",G1);pn({type:Er,event:Er,update:Er},He);pn({type:Ki,event:Ki,update:Ki},He);pn({type:Yn,event:Yn,update:Yn},He);pn({type:Qi,event:Qi,update:Qi},He);pn({type:Wn,event:Wn,update:Wn},He);Wp("light",j1);Wp("dark",bp);exports.Animator=Ma;exports.BE_ORDINAL=he;exports.BezierCurve=Ga;exports.BoundingRect=Q;exports.ChartView=en;exports.Circle=pi;exports.ComponentModel=J;exports.ComponentView=ro;exports.CompoundPath=Xc;exports.CoordinateSystemManager=ja;exports.CtorInt32Array=np;exports.DEFAULT_FONT=Ut;exports.DEFAULT_FONT_FAMILY=yh;exports.DEFAULT_PATH_STYLE=mu;exports.DISPLAY_STATES=xs;exports.DataFormatMixin=jv;exports.DataStore=ap;exports.DefaultDataProvider=Zv;exports.Displayable=cn;exports.Ellipse=Ba;exports.Eventful=St;exports.Group=Nr;exports.HOVER_STATE_BLUR=vi;exports.LOCATION_PARAMS=Lv;exports.LRU=fn;exports.Line=di;exports.LinearGradient=$c;exports.MAX_SAFE_INTEGER=Kg;exports.MULTIPLE_REFERRING=m0;exports.Model=Ee;exports.ONE_DAY=Dv;exports.ONE_HOUR=Cv;exports.ONE_MINUTE=bv;exports.ONE_SECOND=Tv;exports.ONE_YEAR=z_;exports.OrientedBoundingRect=Kc;exports.PRIORITY=$S;exports.Path=K;exports.PathProxy=Mr;exports.Point=Z;exports.Polygon=Ha;exports.Polyline=Ua;exports.REDRAW_BIT=ot;exports.RadialGradient=Zc;exports.Rect=ut;exports.Ring=za;exports.SERIES_LAYOUT_BY_COLUMN=_t;exports.SERIES_UNIVERSAL_TRANSITION_PROP=pp;exports.SINGLE_REFERRING=xa;exports.SOURCE_FORMAT_ARRAY_ROWS=Pe;exports.SOURCE_FORMAT_OBJECT_ROWS=tt;exports.SOURCE_FORMAT_ORIGINAL=wt;exports.SOURCE_FORMAT_TYPED_ARRAY=Et;exports.SPECIAL_STATES=At;exports.Sector=Va;exports.SeriesModel=sn;exports.SortOrderComparator=tp;exports.SourceManager=op;exports.TEXT_ALIGN_TO_ANCHOR=sg;exports.TRANSFORMABLE_PROPS=rn;exports.TSpan=ri;exports.TooltipMarkupStyleCreator=E1;exports.Transformable=Pa;exports.VISUAL_DIMENSIONS=fm;exports.Z2_EMPHASIS_LIFT=Mc;exports.ZRImage=Wt;exports.ZRText=Pr;exports.__extends=z;exports.addCommas=Rv;exports.addEventListener=xh;exports.adjustTextY=ug;exports.animateLabelValue=D_;exports.applyTransform=Tr;exports.applyTransform$1=Ru;exports.asc=Xg;exports.assert=k;exports.bind=at;exports.box=nm;exports.brush=_a;exports.brushSingle=Rp;exports.buildTooltipMarkup=S1;exports.calculateTextPosition=cu;exports.clear=B1;exports.clipPointsByRect=fv;exports.clone=X;exports.clone$1=Eh;exports.clone$2=Fd;exports.clonePath=Xy;exports.cloneValue=Un;exports.compressBatches=y0;exports.concatArray=Dh;exports.containStroke=pr;exports.containStroke$1=Sc;exports.convertOptionIdName=Rt;exports.convertToColorString=xv;exports.copy=gd;exports.copy$1=uu;exports.copyLayoutParams=Ov;exports.copyTransform=ec;exports.create=br;exports.create$1=Ar;exports.createCanvasPattern=Zs;exports.createCubicEasingFunc=hu;exports.createFilterComparator=t1;exports.createFromString=Gc;exports.createHashMap=q;exports.createIcon=hv;exports.createLegacyDataSelectAction=iS;exports.createOrUpdate=k1;exports.createOrUpdateImage=_u;exports.createOrUpdatePatternFromDecal=Ks;exports.createRenderPlanner=dp;exports.createSourceFromSeriesDataOption=Xv;exports.createSymbol=Ep;exports.createTextConfig=zs;exports.createTextStyle=Vs;exports.createTooltipMarkup=ca;exports.cubicAt=ue;exports.cubicProjectPoint=Gh;exports.cubicRootAt=fu;exports.cubicSubdivide=Jn;exports.curry=Ca;exports.dateGetterName=Za;exports.dateSetterName=$_;exports.defaultEmphasis=Ps;exports.defaultSeriesFormatTooltip=vp;exports.defaults=pe;exports.deprecateLog=lt;exports.deprecateReplaceLog=re;exports.devicePixelRatio=Ts;exports.disableTransformOptionMerge=p1;exports.disableUserSelect=dd;exports.dispose=ew;exports.dist=Ah;exports.distSquare=wr;exports.each=D;exports.enableClassManagement=La;exports.enableComponentHighDownFeatures=Fy;exports.enableHoverEmphasis=kc;exports.enableHoverFocus=Bc;exports.encodeBase64=yg;exports.encodeHTML=Ne;exports.enterBlur=xc;exports.enterEmphasis=oa;exports.env=G;exports.eqNaN=nu;exports.error=ve;exports.extend=N;exports.fastLerp=eg;exports.fetchLayoutMode=ii;exports.filter=Qe;exports.find=ud;exports.findEventDispatcher=kn;exports.format=Lu;exports.formatTime=tm;exports.formatTpl=Av;exports.formatTplSimple=em;exports.fromPoints=X0;exports.fullLeveledFormatter=H_;exports.fullYearGetterName=Iu;exports.fullYearSetterName=X_;exports.getAnimationConfig=Jc;exports.getAvailableSize=im;exports.getBoundingRect=tc;exports.getCanvasGradient=$s;exports.getCoordinateSystemDimensions=iw;exports.getDataItemValue=fi;exports.getDecalFromPalette=_m;exports.getDefaultFormatPrecisionOfInterval=G_;exports.getECData=De;exports.getElementSSRData=Ug;exports.getFont=gv;exports.getIdURL=pg;exports.getItemVisualFromData=Cp;exports.getLabelStatesModels=w_;exports.getLayoutParams=ku;exports.getLayoutRect=Iv;exports.getLineDash=Yu;exports.getLineHeight=Ra;exports.getLocaleModel=wv;exports.getMap=sw;exports.getMatrixStr=og;exports.getOldStyle=h_;exports.getPaddingFromTooltipModel=D1;exports.getPathPrecision=dg;exports.getPercentSeats=$g;exports.getPixelPrecision=qg;exports.getPrecision=yr;exports.getPrecisionSafe=ac;exports.getPrimaryTimeUnit=Mv;exports.getRawValueParser=Jm;exports.getSRTTransformString=gg;exports.getShadowKey=fg;exports.getShapeClass=ev;exports.getSize=TS;exports.getTooltipMarker=Nv;exports.getTooltipRenderMode=w0;exports.getTransform=sv;exports.getUID=gi;exports.getUnitValue=W_;exports.getVisualFromData=Dp;exports.graphic=m_;exports.groupData=T0;exports.groupTransition=lv;exports.guessOrdinal=Vv;exports.hasOwn=Gt;exports.hasSeparateFont=Dc;exports.hasShadow=lg;exports.hoursGetterName=ni;exports.hoursSetterName=Z_;exports.identity=su;exports.indexOf=ne;exports.inheritDefaultOption=O_;exports.inherits=wh;exports.init=jS;exports.init$1=Es;exports.initProps=Mu;exports.interpolateRawValues=vc;exports.invert=lu;exports.isAroundZero=ag;exports.isArray=I;exports.isArrayLike=Oe;exports.isDataItemOption=s0;exports.isDom=Qn;exports.isElementRemoved=Qr;exports.isFunction=j;exports.isGradient=vg;exports.isGradientObject=Da;exports.isHighDownDispatcher=Rr;exports.isImagePattern=$h;exports.isImagePatternObject=fd;exports.isLinearGradient=Zh;exports.isMiddleOrRightButtonOnMouseUpDown=Ld;exports.isNameSpecified=du;exports.isNumber=ae;exports.isNumeric=pu;exports.isObject=O;exports.isPattern=cg;exports.isPrimaryTimeUnit=U_;exports.isRadialGradient=Kh;exports.isRadianAroundZero=Jg;exports.isRegExp=Th;exports.isSourceInstance=Wv;exports.isString=V;exports.keys=ie;exports.labelInner=$a;exports.leaveBlur=bu;exports.leaveEmphasis=sa;exports.len=Ph;exports.lerp=tg;exports.lerp$1=wd;exports.leveledFormat=Y_;exports.lift=ps;exports.liftColor=ds;exports.linePolygonIntersect=cv;exports.linearMap=Wg;exports.logError=Kn;exports.makeInner=Fe;exports.makeInternalComponentId=p0;exports.makePath=Xa;exports.makePrintable=ti;exports.makeSeriesEncodeForAxisCoordSys=cm;exports.makeSeriesEncodeForNameBased=vm;exports.makeStyleMapper=on;exports.map=Y;exports.mappingToExists=fc;exports.max=gr;exports.merge=se;exports.mergeAll=sd;exports.mergeLayoutParam=ai;exports.mergePath=nv;exports.millisecondsGetterName=Ja;exports.millisecondsSetterName=J_;exports.min=dr;exports.minutesGetterName=Ka;exports.minutesSetterName=K_;exports.mixin=mt;exports.modifyAlpha=ng;exports.modifyHSL=rg;exports.monthGetterName=jr;exports.monthSetterName=q_;exports.mul=zn;exports.nice=t0;exports.noop=He;exports.normalize=Rh;exports.normalizeArcAngles=mc;exports.normalizeColor=ig;exports.normalizeCssArray=Ou;exports.normalizeCssArray$1=au;exports.normalizeEvent=$e;exports.normalizeRadian=Ln;exports.normalizeSymbolOffset=_S;exports.normalizeSymbolSize=yS;exports.normalizeToArray=me;exports.normalizeTooltipFormatResult=Zm;exports.numericToNumber=Pt;exports.parse=et;exports.parseDataValue=$n;exports.parseDate=Yt;exports.parseFinder=Zi;exports.parseFontSize=Cc;exports.parsePercent=ze;exports.parsePercent$1=nn;exports.platformApi=un;exports.positionElement=am;exports.preParseFinder=gu;exports.quadraticAt=ce;exports.quadraticDerivativeAt=hs;exports.quadraticProjectPoint=Wh;exports.quadraticSubdivide=jn;exports.quantile=r0;exports.quantity=e0;exports.quantityExponent=vu;exports.queryDataIndex=hi;exports.queryReferringComponents=ci;exports.reduce=Mt;exports.reformIntervals=n0;exports.registerAction=pn;exports.registerCoordinateSystem=nw;exports.registerImpl=FS;exports.registerInternalOptionCreator=dm;exports.registerLayout=aw;exports.registerLoading=$p;exports.registerMap=ow;exports.registerPainter=Hg;exports.registerPostInit=tw;exports.registerPostUpdate=rw;exports.registerPreprocessor=Xp;exports.registerProcessor=qp;exports.registerTransform=uw;exports.registerUpdateLifecycle=$u;exports.registerVisual=xr;exports.remRadian=Qg;exports.removeElement=Pu;exports.removeElementWithFadeOut=jc;exports.retrieve=hd;exports.retrieve2=B;exports.retrieve3=Bn;exports.retrieveRawValue=si;exports.retrieveVisualColorForTooltipMarker=cp;exports.rotate=Ih;exports.round=aa;exports.round4=gs;exports.saveOldStyle=f_;exports.scale=Oh;exports.scale$1=Yi;exports.scaleAndAdd=_d;exports.secondsGetterName=Qa;exports.secondsSetterName=Q_;exports.set=yd;exports.setAsHighDownDispatcher=Du;exports.setCommonECData=_y;exports.setDefaultStateProxy=Nc;exports.setItemVisualFromData=nS;exports.setLabelStyle=S_;exports.setLabelValueAnimation=C_;exports.setStatesFlag=Ty;exports.setStatesStylesFromModel=Oy;exports.setTooltipConfig=pv;exports.shouldRetrieveDataByName=$v;exports.sizeCalculable=om;exports.slice=iu;exports.stop=Lh;exports.stringify=hn;exports.sub=Mh;exports.subPixelOptimize=ov;exports.subPixelOptimizeLine=av;exports.symbolBuildProxies=da;exports.throttle=Gu;exports.throwError=Ce;exports.timeUnits=Ev;exports.toCamelCase=j_;exports.toggleHoverEmphasis=Ly;exports.transformDirection=uv;exports.transformLocalCoord=Cd;exports.translate=fs;exports.traverseElements=Au;exports.trim=gt;exports.updateProps=Wa;exports.warn=je;exports.windingLine=Bt;exports.windowOpen=rm;